{"_rev":"3-79078bf5d602b39baca0c34c8c6da731","time":{"created":"2023-12-04T06:59:20.219Z","0.0.1":"2023-11-30T11:58:49.620Z","modified":"2023-12-04T06:59:20.903Z","0.0.3":"2023-12-04T06:59:20.578Z"},"_id":"@1testorg2/test","name":"@1testorg2/test","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"version":"0.0.3","license":"MIT","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"peerDependencies":{},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@1testorg2/test","description":"Simple calculator API hosted on APIMATIC","author":{"name":"aaaa"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.5.0","typescript":"^4.9.5"},"dependencies":{"@apimatic/authentication-adapters":"^0.5.0","@apimatic/axios-client-adapter":"^0.2.0","@apimatic/core":"^0.10.0","@apimatic/schema":"^0.7.0"},"bugs":{"email":"support@apimatic.io"},"keywords":[],"contributors":[],"_id":"@1testorg2/test@0.0.3","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-k/MWSjie4CX3SDwVyEov/J2gAAggkBdXFobJAwRgRsdIWR/T1ypMlpGuTMsvotCtJCfAQYC0wsGR8iPmJlVmww==","shasum":"a4053dd28bd51fb08279b50166f3fe94c35ea202","tarball":"https://registry.npmjs.org/@1testorg2/test/-/test-0.0.3.tgz","fileCount":75,"unpackedSize":50664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvPrHFVn9R9RIb6vkL1TZlvrHnm+bshh8jT2IlGlXbyAiEA162qw7+ElkBnDFAJI/e/JomM6k9mFfXy2JxefmbuCzg="}]},"_npmUser":{"name":"gitfudge","email":"piyush.awr@gmail.com"},"directories":{},"maintainers":[{"name":"gitfudge","email":"piyush.awr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test_0.0.3_1701673160379_0.12501529501551834"},"_hasShrinkwrap":false}},"maintainers":[{"name":"gitfudge","email":"piyush.awr@gmail.com"}],"description":"Simple calculator API hosted on APIMATIC","keywords":[],"contributors":[],"author":{"name":"aaaa"},"bugs":{"email":"support@apimatic.io"},"license":"MIT","readme":"\n# Getting Started with APIMATIC Calculator\n\n## Introduction\n\nSimple calculator API hosted on APIMATIC\n\n## Install the Package\n\nRun the following command from your project directory to install the package from npm:\n\n```ts\nnpm install @1testorg2/test@0.0.3\n```\n\nFor additional package details, see the [Npm page for the @1testorg2/test@0.0.3 npm](https://www.npmjs.com/package/@1testorg2/test/v/0.0.3).\n\n## Initialize the API Client\n\n**_Note:_** Documentation for the client can be found [here.](doc/client.md)\n\nThe following parameters are configurable for the API Client:\n\n| Parameter | Type | Description |\n|  --- | --- | --- |\n| `environment` | Environment | The API environment. <br> **Default: `Environment.Production`** |\n| `timeout` | `number` | Timeout for API calls.<br>*Default*: `0` |\n| `httpClientOptions` | `Partial<HttpClientOptions>` | Stable configurable http client options. |\n| `unstableHttpClientOptions` | `any` | Unstable configurable http client options. |\n\n### HttpClientOptions\n\n| Parameter | Type | Description |\n|  --- | --- | --- |\n| `timeout` | `number` | Timeout in milliseconds. |\n| `httpAgent` | `any` | Custom http agent to be used when performing http requests. |\n| `httpsAgent` | `any` | Custom https agent to be used when performing http requests. |\n| `retryConfig` | `Partial<RetryConfiguration>` | Configurations to retry requests. |\n\n### RetryConfiguration\n\n| Parameter | Type | Description |\n|  --- | --- | --- |\n| `maxNumberOfRetries` | `number` | Maximum number of retries. <br> *Default*: `0` |\n| `retryOnTimeout` | `boolean` | Whether to retry on request timeout. <br> *Default*: `true` |\n| `retryInterval` | `number` | Interval before next retry. Used in calculation of wait time for next request in case of failure. <br> *Default*: `1` |\n| `maximumRetryWaitTime` | `number` | Overall wait time for the requests getting retried. <br> *Default*: `0` |\n| `backoffFactor` | `number` | Used in calculation of wait time for next request in case of failure. <br> *Default*: `2` |\n| `httpStatusCodesToRetry` | `number[]` | Http status codes to retry against. <br> *Default*: `[408, 413, 429, 500, 502, 503, 504, 521, 522, 524]` |\n| `httpMethodsToRetry` | `HttpMethod[]` | Http methods to retry against. <br> *Default*: `['GET', 'PUT']` |\n\nThe API client can be initialized as follows:\n\n```ts\nconst client = new Client({\n  timeout: 0,\n  environment: Environment.Production,\n});\n```\n\n## List of APIs\n\n* [Simple Calculator](doc/controllers/simple-calculator.md)\n\n## Classes Documentation\n\n* [ApiResponse](doc/api-response.md)\n* [ApiError](doc/api-error.md)\n\n","readmeFilename":"README.md"}