celitech-sdk 1.1.68 → 1.1.71
Sign up to get free protection for your applications and to get access to all the features.
- package/.devcontainer/devcontainer.json +24 -0
- package/.github/PROTECTED_BRANCHES.txt +1 -0
- package/.github/workflows/publish_npmjs.yml +31 -0
- package/.manifest.json +245 -0
- package/LICENSE +9 -7
- package/README.md +86 -459
- package/documentation/models/CreatePurchaseOkResponse.md +31 -0
- package/documentation/models/CreatePurchaseRequest.md +15 -0
- package/documentation/models/EditPurchaseOkResponse.md +11 -0
- package/documentation/models/EditPurchaseRequest.md +11 -0
- package/documentation/models/GetEsimDeviceOkResponse.md +18 -0
- package/documentation/models/GetEsimHistoryOkResponse.md +26 -0
- package/documentation/models/GetEsimMacOkResponse.md +17 -0
- package/documentation/models/GetEsimOkResponse.md +18 -0
- package/documentation/models/GetPurchaseConsumptionOkResponse.md +8 -0
- package/documentation/models/ListDestinationsOkResponse.md +17 -0
- package/documentation/models/ListPackagesOkResponse.md +21 -0
- package/documentation/models/ListPurchasesOkResponse.md +46 -0
- package/documentation/models/TopUpEsimOkResponse.md +30 -0
- package/documentation/models/TopUpEsimRequest.md +14 -0
- package/documentation/services/DestinationsService.md +35 -0
- package/documentation/services/ESimService.md +148 -0
- package/documentation/services/PackagesService.md +48 -0
- package/documentation/services/PurchasesService.md +219 -0
- package/examples/README.md +27 -0
- package/examples/package.json +18 -0
- package/examples/src/index.ts +12 -0
- package/examples/tsconfig.json +22 -0
- package/package.json +17 -50
- package/src/http/client.ts +46 -0
- package/src/http/environment.ts +3 -0
- package/src/http/error.ts +12 -0
- package/src/http/handlers/handler-chain.ts +22 -0
- package/src/http/handlers/hook-handler.ts +45 -0
- package/src/http/handlers/request-validation-handler.ts +72 -0
- package/src/http/handlers/response-validation-handler.ts +106 -0
- package/src/http/handlers/retry-handler.ts +37 -0
- package/src/http/handlers/terminating-handler.ts +38 -0
- package/src/http/hooks/custom-hook.ts +87 -0
- package/src/http/hooks/hook.ts +39 -0
- package/src/http/index.ts +4 -0
- package/src/http/serializer.ts +180 -0
- package/src/http/transport/request.ts +169 -0
- package/src/http/types.ts +70 -0
- package/src/index.ts +68 -0
- package/src/services/base-service.ts +29 -0
- package/src/services/destinations/destinations.ts +26 -0
- package/src/services/destinations/index.ts +1 -0
- package/src/services/destinations/models/destinations.ts +57 -0
- package/src/services/destinations/models/index.ts +2 -0
- package/src/services/destinations/models/list-destinations-ok-response.ts +42 -0
- package/src/services/e-sim/e-sim.ts +92 -0
- package/src/services/e-sim/index.ts +1 -0
- package/src/services/e-sim/models/device.ts +63 -0
- package/src/services/e-sim/models/get-esim-device-ok-response.ts +42 -0
- package/src/services/e-sim/models/get-esim-history-ok-response-esim.ts +47 -0
- package/src/services/e-sim/models/get-esim-history-ok-response.ts +46 -0
- package/src/services/e-sim/models/get-esim-mac-ok-response-esim.ts +57 -0
- package/src/services/e-sim/models/get-esim-mac-ok-response.ts +46 -0
- package/src/services/e-sim/models/get-esim-ok-response-esim.ts +63 -0
- package/src/services/e-sim/models/get-esim-ok-response.ts +46 -0
- package/src/services/e-sim/models/history.ts +53 -0
- package/src/services/e-sim/models/index.ts +9 -0
- package/src/services/e-sim/request-params.ts +3 -0
- package/src/services/packages/index.ts +1 -0
- package/src/services/packages/models/index.ts +2 -0
- package/src/services/packages/models/list-packages-ok-response.ts +49 -0
- package/src/services/packages/models/packages.ts +75 -0
- package/src/services/packages/packages.ts +46 -0
- package/src/services/packages/request-params.ts +10 -0
- package/src/services/purchases/index.ts +1 -0
- package/src/services/purchases/models/create-purchase-ok-response-profile.ts +46 -0
- package/src/services/purchases/models/create-purchase-ok-response-purchase.ts +81 -0
- package/src/services/purchases/models/create-purchase-ok-response.ts +61 -0
- package/src/services/purchases/models/create-purchase-request.ts +93 -0
- package/src/services/purchases/models/edit-purchase-ok-response.ts +69 -0
- package/src/services/purchases/models/edit-purchase-request.ts +69 -0
- package/src/services/purchases/models/get-purchase-consumption-ok-response.ts +48 -0
- package/src/services/purchases/models/index.ts +15 -0
- package/src/services/purchases/models/list-purchases-ok-response.ts +49 -0
- package/src/services/purchases/models/package_.ts +69 -0
- package/src/services/purchases/models/purchases-esim.ts +41 -0
- package/src/services/purchases/models/purchases.ts +107 -0
- package/src/services/purchases/models/top-up-esim-ok-response-profile.ts +41 -0
- package/src/services/purchases/models/top-up-esim-ok-response-purchase.ts +81 -0
- package/src/services/purchases/models/top-up-esim-ok-response.ts +61 -0
- package/src/services/purchases/models/top-up-esim-request.ts +87 -0
- package/src/services/purchases/purchases.ts +145 -0
- package/src/services/purchases/request-params.ts +10 -0
- package/tsconfig.json +22 -0
- package/dist/commonjs/BaseService.d.ts +0 -11
- package/dist/commonjs/BaseService.d.ts.map +0 -1
- package/dist/commonjs/BaseService.js +0 -30
- package/dist/commonjs/BaseService.js.map +0 -1
- package/dist/commonjs/hooks/CustomHook.d.ts +0 -59
- package/dist/commonjs/hooks/CustomHook.d.ts.map +0 -1
- package/dist/commonjs/hooks/CustomHook.js +0 -74
- package/dist/commonjs/hooks/CustomHook.js.map +0 -1
- package/dist/commonjs/hooks/Hook.d.ts +0 -24
- package/dist/commonjs/hooks/Hook.d.ts.map +0 -1
- package/dist/commonjs/hooks/Hook.js +0 -3
- package/dist/commonjs/hooks/Hook.js.map +0 -1
- package/dist/commonjs/http/Environment.d.ts +0 -4
- package/dist/commonjs/http/Environment.d.ts.map +0 -1
- package/dist/commonjs/http/Environment.js +0 -8
- package/dist/commonjs/http/Environment.js.map +0 -1
- package/dist/commonjs/http/HTTPClient.d.ts +0 -13
- package/dist/commonjs/http/HTTPClient.d.ts.map +0 -1
- package/dist/commonjs/http/HTTPClient.js +0 -3
- package/dist/commonjs/http/HTTPClient.js.map +0 -1
- package/dist/commonjs/http/HTTPLibrary.d.ts +0 -23
- package/dist/commonjs/http/HTTPLibrary.d.ts.map +0 -1
- package/dist/commonjs/http/HTTPLibrary.js +0 -143
- package/dist/commonjs/http/HTTPLibrary.js.map +0 -1
- package/dist/commonjs/http/QuerySerializer.d.ts +0 -6
- package/dist/commonjs/http/QuerySerializer.d.ts.map +0 -1
- package/dist/commonjs/http/QuerySerializer.js +0 -70
- package/dist/commonjs/http/QuerySerializer.js.map +0 -1
- package/dist/commonjs/http/errors/BadGateway.d.ts +0 -7
- package/dist/commonjs/http/errors/BadGateway.d.ts.map +0 -1
- package/dist/commonjs/http/errors/BadGateway.js +0 -12
- package/dist/commonjs/http/errors/BadGateway.js.map +0 -1
- package/dist/commonjs/http/errors/BadRequest.d.ts +0 -7
- package/dist/commonjs/http/errors/BadRequest.d.ts.map +0 -1
- package/dist/commonjs/http/errors/BadRequest.js +0 -12
- package/dist/commonjs/http/errors/BadRequest.js.map +0 -1
- package/dist/commonjs/http/errors/Conflict.d.ts +0 -7
- package/dist/commonjs/http/errors/Conflict.d.ts.map +0 -1
- package/dist/commonjs/http/errors/Conflict.js +0 -12
- package/dist/commonjs/http/errors/Conflict.js.map +0 -1
- package/dist/commonjs/http/errors/ExpectationFailed.d.ts +0 -7
- package/dist/commonjs/http/errors/ExpectationFailed.d.ts.map +0 -1
- package/dist/commonjs/http/errors/ExpectationFailed.js +0 -12
- package/dist/commonjs/http/errors/ExpectationFailed.js.map +0 -1
- package/dist/commonjs/http/errors/FailedDependency.d.ts +0 -7
- package/dist/commonjs/http/errors/FailedDependency.d.ts.map +0 -1
- package/dist/commonjs/http/errors/FailedDependency.js +0 -12
- package/dist/commonjs/http/errors/FailedDependency.js.map +0 -1
- package/dist/commonjs/http/errors/Forbidden.d.ts +0 -7
- package/dist/commonjs/http/errors/Forbidden.d.ts.map +0 -1
- package/dist/commonjs/http/errors/Forbidden.js +0 -12
- package/dist/commonjs/http/errors/Forbidden.js.map +0 -1
- package/dist/commonjs/http/errors/GatewayTimeout.d.ts +0 -7
- package/dist/commonjs/http/errors/GatewayTimeout.d.ts.map +0 -1
- package/dist/commonjs/http/errors/GatewayTimeout.js +0 -12
- package/dist/commonjs/http/errors/GatewayTimeout.js.map +0 -1
- package/dist/commonjs/http/errors/Gone.d.ts +0 -7
- package/dist/commonjs/http/errors/Gone.d.ts.map +0 -1
- package/dist/commonjs/http/errors/Gone.js +0 -12
- package/dist/commonjs/http/errors/Gone.js.map +0 -1
- package/dist/commonjs/http/errors/HttpVersionNotSupported.d.ts +0 -7
- package/dist/commonjs/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
- package/dist/commonjs/http/errors/HttpVersionNotSupported.js +0 -12
- package/dist/commonjs/http/errors/HttpVersionNotSupported.js.map +0 -1
- package/dist/commonjs/http/errors/InternalServerError.d.ts +0 -7
- package/dist/commonjs/http/errors/InternalServerError.d.ts.map +0 -1
- package/dist/commonjs/http/errors/InternalServerError.js +0 -12
- package/dist/commonjs/http/errors/InternalServerError.js.map +0 -1
- package/dist/commonjs/http/errors/LengthRequired.d.ts +0 -7
- package/dist/commonjs/http/errors/LengthRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/LengthRequired.js +0 -12
- package/dist/commonjs/http/errors/LengthRequired.js.map +0 -1
- package/dist/commonjs/http/errors/Locked.d.ts +0 -7
- package/dist/commonjs/http/errors/Locked.d.ts.map +0 -1
- package/dist/commonjs/http/errors/Locked.js +0 -12
- package/dist/commonjs/http/errors/Locked.js.map +0 -1
- package/dist/commonjs/http/errors/LoopDetected.d.ts +0 -7
- package/dist/commonjs/http/errors/LoopDetected.d.ts.map +0 -1
- package/dist/commonjs/http/errors/LoopDetected.js +0 -12
- package/dist/commonjs/http/errors/LoopDetected.js.map +0 -1
- package/dist/commonjs/http/errors/MethodNotAllowed.d.ts +0 -8
- package/dist/commonjs/http/errors/MethodNotAllowed.d.ts.map +0 -1
- package/dist/commonjs/http/errors/MethodNotAllowed.js +0 -13
- package/dist/commonjs/http/errors/MethodNotAllowed.js.map +0 -1
- package/dist/commonjs/http/errors/MisdirectedRequest.d.ts +0 -7
- package/dist/commonjs/http/errors/MisdirectedRequest.d.ts.map +0 -1
- package/dist/commonjs/http/errors/MisdirectedRequest.js +0 -12
- package/dist/commonjs/http/errors/MisdirectedRequest.js.map +0 -1
- package/dist/commonjs/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
- package/dist/commonjs/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/NetworkAuthenticationRequired.js +0 -12
- package/dist/commonjs/http/errors/NetworkAuthenticationRequired.js.map +0 -1
- package/dist/commonjs/http/errors/NotAcceptable.d.ts +0 -7
- package/dist/commonjs/http/errors/NotAcceptable.d.ts.map +0 -1
- package/dist/commonjs/http/errors/NotAcceptable.js +0 -12
- package/dist/commonjs/http/errors/NotAcceptable.js.map +0 -1
- package/dist/commonjs/http/errors/NotExtended.d.ts +0 -7
- package/dist/commonjs/http/errors/NotExtended.d.ts.map +0 -1
- package/dist/commonjs/http/errors/NotExtended.js +0 -12
- package/dist/commonjs/http/errors/NotExtended.js.map +0 -1
- package/dist/commonjs/http/errors/NotFound.d.ts +0 -7
- package/dist/commonjs/http/errors/NotFound.d.ts.map +0 -1
- package/dist/commonjs/http/errors/NotFound.js +0 -12
- package/dist/commonjs/http/errors/NotFound.js.map +0 -1
- package/dist/commonjs/http/errors/NotImplemented.d.ts +0 -7
- package/dist/commonjs/http/errors/NotImplemented.d.ts.map +0 -1
- package/dist/commonjs/http/errors/NotImplemented.js +0 -12
- package/dist/commonjs/http/errors/NotImplemented.js.map +0 -1
- package/dist/commonjs/http/errors/PayloadTooLarge.d.ts +0 -8
- package/dist/commonjs/http/errors/PayloadTooLarge.d.ts.map +0 -1
- package/dist/commonjs/http/errors/PayloadTooLarge.js +0 -13
- package/dist/commonjs/http/errors/PayloadTooLarge.js.map +0 -1
- package/dist/commonjs/http/errors/PaymentRequired.d.ts +0 -7
- package/dist/commonjs/http/errors/PaymentRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/PaymentRequired.js +0 -12
- package/dist/commonjs/http/errors/PaymentRequired.js.map +0 -1
- package/dist/commonjs/http/errors/PreconditionFailed.d.ts +0 -7
- package/dist/commonjs/http/errors/PreconditionFailed.d.ts.map +0 -1
- package/dist/commonjs/http/errors/PreconditionFailed.js +0 -12
- package/dist/commonjs/http/errors/PreconditionFailed.js.map +0 -1
- package/dist/commonjs/http/errors/PreconditionRequired.d.ts +0 -7
- package/dist/commonjs/http/errors/PreconditionRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/PreconditionRequired.js +0 -12
- package/dist/commonjs/http/errors/PreconditionRequired.js.map +0 -1
- package/dist/commonjs/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
- package/dist/commonjs/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/ProxyAuthenticationRequired.js +0 -13
- package/dist/commonjs/http/errors/ProxyAuthenticationRequired.js.map +0 -1
- package/dist/commonjs/http/errors/RangeNotSatisfiable.d.ts +0 -7
- package/dist/commonjs/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
- package/dist/commonjs/http/errors/RangeNotSatisfiable.js +0 -12
- package/dist/commonjs/http/errors/RangeNotSatisfiable.js.map +0 -1
- package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
- package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
- package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.js +0 -12
- package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
- package/dist/commonjs/http/errors/RequestTimeout.d.ts +0 -7
- package/dist/commonjs/http/errors/RequestTimeout.d.ts.map +0 -1
- package/dist/commonjs/http/errors/RequestTimeout.js +0 -12
- package/dist/commonjs/http/errors/RequestTimeout.js.map +0 -1
- package/dist/commonjs/http/errors/ServiceUnavailable.d.ts +0 -8
- package/dist/commonjs/http/errors/ServiceUnavailable.d.ts.map +0 -1
- package/dist/commonjs/http/errors/ServiceUnavailable.js +0 -13
- package/dist/commonjs/http/errors/ServiceUnavailable.js.map +0 -1
- package/dist/commonjs/http/errors/TooEarly.d.ts +0 -7
- package/dist/commonjs/http/errors/TooEarly.d.ts.map +0 -1
- package/dist/commonjs/http/errors/TooEarly.js +0 -12
- package/dist/commonjs/http/errors/TooEarly.js.map +0 -1
- package/dist/commonjs/http/errors/TooManyRequests.d.ts +0 -8
- package/dist/commonjs/http/errors/TooManyRequests.d.ts.map +0 -1
- package/dist/commonjs/http/errors/TooManyRequests.js +0 -13
- package/dist/commonjs/http/errors/TooManyRequests.js.map +0 -1
- package/dist/commonjs/http/errors/Unauthorized.d.ts +0 -8
- package/dist/commonjs/http/errors/Unauthorized.d.ts.map +0 -1
- package/dist/commonjs/http/errors/Unauthorized.js +0 -13
- package/dist/commonjs/http/errors/Unauthorized.js.map +0 -1
- package/dist/commonjs/http/errors/UnavailableForLegalReasons.d.ts +0 -7
- package/dist/commonjs/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UnavailableForLegalReasons.js +0 -12
- package/dist/commonjs/http/errors/UnavailableForLegalReasons.js.map +0 -1
- package/dist/commonjs/http/errors/UnprocessableEntity.d.ts +0 -7
- package/dist/commonjs/http/errors/UnprocessableEntity.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UnprocessableEntity.js +0 -12
- package/dist/commonjs/http/errors/UnprocessableEntity.js.map +0 -1
- package/dist/commonjs/http/errors/UnsufficientStorage.d.ts +0 -7
- package/dist/commonjs/http/errors/UnsufficientStorage.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UnsufficientStorage.js +0 -12
- package/dist/commonjs/http/errors/UnsufficientStorage.js.map +0 -1
- package/dist/commonjs/http/errors/UnsupportedMediaType.d.ts +0 -7
- package/dist/commonjs/http/errors/UnsupportedMediaType.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UnsupportedMediaType.js +0 -12
- package/dist/commonjs/http/errors/UnsupportedMediaType.js.map +0 -1
- package/dist/commonjs/http/errors/UpgradeRequired.d.ts +0 -7
- package/dist/commonjs/http/errors/UpgradeRequired.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UpgradeRequired.js +0 -12
- package/dist/commonjs/http/errors/UpgradeRequired.js.map +0 -1
- package/dist/commonjs/http/errors/UriTooLong.d.ts +0 -7
- package/dist/commonjs/http/errors/UriTooLong.d.ts.map +0 -1
- package/dist/commonjs/http/errors/UriTooLong.js +0 -12
- package/dist/commonjs/http/errors/UriTooLong.js.map +0 -1
- package/dist/commonjs/http/errors/VariantAlsoNegotiates.d.ts +0 -7
- package/dist/commonjs/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
- package/dist/commonjs/http/errors/VariantAlsoNegotiates.js +0 -12
- package/dist/commonjs/http/errors/VariantAlsoNegotiates.js.map +0 -1
- package/dist/commonjs/http/errors/base.d.ts +0 -23
- package/dist/commonjs/http/errors/base.d.ts.map +0 -1
- package/dist/commonjs/http/errors/base.js +0 -36
- package/dist/commonjs/http/errors/base.js.map +0 -1
- package/dist/commonjs/http/errors/index.d.ts +0 -42
- package/dist/commonjs/http/errors/index.d.ts.map +0 -1
- package/dist/commonjs/http/errors/index.js +0 -87
- package/dist/commonjs/http/errors/index.js.map +0 -1
- package/dist/commonjs/http/httpExceptions.d.ts +0 -14
- package/dist/commonjs/http/httpExceptions.d.ts.map +0 -1
- package/dist/commonjs/http/httpExceptions.js +0 -92
- package/dist/commonjs/http/httpExceptions.js.map +0 -1
- package/dist/commonjs/index.d.ts +0 -26
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/index.js +0 -63
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/models.d.ts +0 -15
- package/dist/commonjs/models.d.ts.map +0 -1
- package/dist/commonjs/models.js +0 -3
- package/dist/commonjs/models.js.map +0 -1
- package/dist/commonjs/services/destinations/Destinations.d.ts +0 -12
- package/dist/commonjs/services/destinations/Destinations.d.ts.map +0 -1
- package/dist/commonjs/services/destinations/Destinations.js +0 -32
- package/dist/commonjs/services/destinations/Destinations.js.map +0 -1
- package/dist/commonjs/services/destinations/index.d.ts +0 -2
- package/dist/commonjs/services/destinations/index.d.ts.map +0 -1
- package/dist/commonjs/services/destinations/index.js +0 -3
- package/dist/commonjs/services/destinations/index.js.map +0 -1
- package/dist/commonjs/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
- package/dist/commonjs/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
- package/dist/commonjs/services/destinations/models/ListDestinationsResponse.js +0 -3
- package/dist/commonjs/services/destinations/models/ListDestinationsResponse.js.map +0 -1
- package/dist/commonjs/services/eSim/ESim.d.ts +0 -40
- package/dist/commonjs/services/eSim/ESim.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/ESim.js +0 -113
- package/dist/commonjs/services/eSim/ESim.js.map +0 -1
- package/dist/commonjs/services/eSim/index.d.ts +0 -5
- package/dist/commonjs/services/eSim/index.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/index.js +0 -3
- package/dist/commonjs/services/eSim/index.js.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
- package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.js +0 -3
- package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
- package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.js +0 -3
- package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
- package/dist/commonjs/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimMacResponse.js +0 -3
- package/dist/commonjs/services/eSim/models/GetEsimMacResponse.js.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimResponse.d.ts +0 -23
- package/dist/commonjs/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
- package/dist/commonjs/services/eSim/models/GetEsimResponse.js +0 -3
- package/dist/commonjs/services/eSim/models/GetEsimResponse.js.map +0 -1
- package/dist/commonjs/services/packages/Packages.d.ts +0 -30
- package/dist/commonjs/services/packages/Packages.d.ts.map +0 -1
- package/dist/commonjs/services/packages/Packages.js +0 -69
- package/dist/commonjs/services/packages/Packages.js.map +0 -1
- package/dist/commonjs/services/packages/index.d.ts +0 -2
- package/dist/commonjs/services/packages/index.d.ts.map +0 -1
- package/dist/commonjs/services/packages/index.js +0 -3
- package/dist/commonjs/services/packages/index.js.map +0 -1
- package/dist/commonjs/services/packages/models/ListPackagesResponse.d.ts +0 -30
- package/dist/commonjs/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
- package/dist/commonjs/services/packages/models/ListPackagesResponse.js +0 -3
- package/dist/commonjs/services/packages/models/ListPackagesResponse.js.map +0 -1
- package/dist/commonjs/services/purchases/Purchases.d.ts +0 -66
- package/dist/commonjs/services/purchases/Purchases.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/Purchases.js +0 -150
- package/dist/commonjs/services/purchases/Purchases.js.map +0 -1
- package/dist/commonjs/services/purchases/index.d.ts +0 -9
- package/dist/commonjs/services/purchases/index.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/index.js +0 -3
- package/dist/commonjs/services/purchases/index.js.map +0 -1
- package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
- package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.js +0 -3
- package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
- package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
- package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.js +0 -3
- package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
- package/dist/commonjs/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
- package/dist/commonjs/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/EditPurchaseRequest.js +0 -3
- package/dist/commonjs/services/purchases/models/EditPurchaseRequest.js.map +0 -1
- package/dist/commonjs/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
- package/dist/commonjs/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/EditPurchaseResponse.js +0 -3
- package/dist/commonjs/services/purchases/models/EditPurchaseResponse.js.map +0 -1
- package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
- package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -3
- package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
- package/dist/commonjs/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
- package/dist/commonjs/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/ListPurchasesResponse.js +0 -3
- package/dist/commonjs/services/purchases/models/ListPurchasesResponse.js.map +0 -1
- package/dist/commonjs/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
- package/dist/commonjs/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/TopUpEsimRequest.js +0 -3
- package/dist/commonjs/services/purchases/models/TopUpEsimRequest.js.map +0 -1
- package/dist/commonjs/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
- package/dist/commonjs/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
- package/dist/commonjs/services/purchases/models/TopUpEsimResponse.js +0 -3
- package/dist/commonjs/services/purchases/models/TopUpEsimResponse.js.map +0 -1
- package/dist/esm/BaseService.d.ts +0 -11
- package/dist/esm/BaseService.d.ts.map +0 -1
- package/dist/esm/BaseService.js +0 -24
- package/dist/esm/BaseService.js.map +0 -1
- package/dist/esm/hooks/CustomHook.d.ts +0 -59
- package/dist/esm/hooks/CustomHook.d.ts.map +0 -1
- package/dist/esm/hooks/CustomHook.js +0 -68
- package/dist/esm/hooks/CustomHook.js.map +0 -1
- package/dist/esm/hooks/Hook.d.ts +0 -24
- package/dist/esm/hooks/Hook.d.ts.map +0 -1
- package/dist/esm/hooks/Hook.js +0 -2
- package/dist/esm/hooks/Hook.js.map +0 -1
- package/dist/esm/http/Environment.d.ts +0 -4
- package/dist/esm/http/Environment.d.ts.map +0 -1
- package/dist/esm/http/Environment.js +0 -5
- package/dist/esm/http/Environment.js.map +0 -1
- package/dist/esm/http/HTTPClient.d.ts +0 -13
- package/dist/esm/http/HTTPClient.d.ts.map +0 -1
- package/dist/esm/http/HTTPClient.js +0 -2
- package/dist/esm/http/HTTPClient.js.map +0 -1
- package/dist/esm/http/HTTPLibrary.d.ts +0 -23
- package/dist/esm/http/HTTPLibrary.d.ts.map +0 -1
- package/dist/esm/http/HTTPLibrary.js +0 -137
- package/dist/esm/http/HTTPLibrary.js.map +0 -1
- package/dist/esm/http/QuerySerializer.d.ts +0 -6
- package/dist/esm/http/QuerySerializer.d.ts.map +0 -1
- package/dist/esm/http/QuerySerializer.js +0 -65
- package/dist/esm/http/QuerySerializer.js.map +0 -1
- package/dist/esm/http/errors/BadGateway.d.ts +0 -7
- package/dist/esm/http/errors/BadGateway.d.ts.map +0 -1
- package/dist/esm/http/errors/BadGateway.js +0 -9
- package/dist/esm/http/errors/BadGateway.js.map +0 -1
- package/dist/esm/http/errors/BadRequest.d.ts +0 -7
- package/dist/esm/http/errors/BadRequest.d.ts.map +0 -1
- package/dist/esm/http/errors/BadRequest.js +0 -9
- package/dist/esm/http/errors/BadRequest.js.map +0 -1
- package/dist/esm/http/errors/Conflict.d.ts +0 -7
- package/dist/esm/http/errors/Conflict.d.ts.map +0 -1
- package/dist/esm/http/errors/Conflict.js +0 -9
- package/dist/esm/http/errors/Conflict.js.map +0 -1
- package/dist/esm/http/errors/ExpectationFailed.d.ts +0 -7
- package/dist/esm/http/errors/ExpectationFailed.d.ts.map +0 -1
- package/dist/esm/http/errors/ExpectationFailed.js +0 -9
- package/dist/esm/http/errors/ExpectationFailed.js.map +0 -1
- package/dist/esm/http/errors/FailedDependency.d.ts +0 -7
- package/dist/esm/http/errors/FailedDependency.d.ts.map +0 -1
- package/dist/esm/http/errors/FailedDependency.js +0 -9
- package/dist/esm/http/errors/FailedDependency.js.map +0 -1
- package/dist/esm/http/errors/Forbidden.d.ts +0 -7
- package/dist/esm/http/errors/Forbidden.d.ts.map +0 -1
- package/dist/esm/http/errors/Forbidden.js +0 -9
- package/dist/esm/http/errors/Forbidden.js.map +0 -1
- package/dist/esm/http/errors/GatewayTimeout.d.ts +0 -7
- package/dist/esm/http/errors/GatewayTimeout.d.ts.map +0 -1
- package/dist/esm/http/errors/GatewayTimeout.js +0 -9
- package/dist/esm/http/errors/GatewayTimeout.js.map +0 -1
- package/dist/esm/http/errors/Gone.d.ts +0 -7
- package/dist/esm/http/errors/Gone.d.ts.map +0 -1
- package/dist/esm/http/errors/Gone.js +0 -9
- package/dist/esm/http/errors/Gone.js.map +0 -1
- package/dist/esm/http/errors/HttpVersionNotSupported.d.ts +0 -7
- package/dist/esm/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
- package/dist/esm/http/errors/HttpVersionNotSupported.js +0 -9
- package/dist/esm/http/errors/HttpVersionNotSupported.js.map +0 -1
- package/dist/esm/http/errors/InternalServerError.d.ts +0 -7
- package/dist/esm/http/errors/InternalServerError.d.ts.map +0 -1
- package/dist/esm/http/errors/InternalServerError.js +0 -9
- package/dist/esm/http/errors/InternalServerError.js.map +0 -1
- package/dist/esm/http/errors/LengthRequired.d.ts +0 -7
- package/dist/esm/http/errors/LengthRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/LengthRequired.js +0 -9
- package/dist/esm/http/errors/LengthRequired.js.map +0 -1
- package/dist/esm/http/errors/Locked.d.ts +0 -7
- package/dist/esm/http/errors/Locked.d.ts.map +0 -1
- package/dist/esm/http/errors/Locked.js +0 -9
- package/dist/esm/http/errors/Locked.js.map +0 -1
- package/dist/esm/http/errors/LoopDetected.d.ts +0 -7
- package/dist/esm/http/errors/LoopDetected.d.ts.map +0 -1
- package/dist/esm/http/errors/LoopDetected.js +0 -9
- package/dist/esm/http/errors/LoopDetected.js.map +0 -1
- package/dist/esm/http/errors/MethodNotAllowed.d.ts +0 -8
- package/dist/esm/http/errors/MethodNotAllowed.d.ts.map +0 -1
- package/dist/esm/http/errors/MethodNotAllowed.js +0 -10
- package/dist/esm/http/errors/MethodNotAllowed.js.map +0 -1
- package/dist/esm/http/errors/MisdirectedRequest.d.ts +0 -7
- package/dist/esm/http/errors/MisdirectedRequest.d.ts.map +0 -1
- package/dist/esm/http/errors/MisdirectedRequest.js +0 -9
- package/dist/esm/http/errors/MisdirectedRequest.js.map +0 -1
- package/dist/esm/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
- package/dist/esm/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/NetworkAuthenticationRequired.js +0 -9
- package/dist/esm/http/errors/NetworkAuthenticationRequired.js.map +0 -1
- package/dist/esm/http/errors/NotAcceptable.d.ts +0 -7
- package/dist/esm/http/errors/NotAcceptable.d.ts.map +0 -1
- package/dist/esm/http/errors/NotAcceptable.js +0 -9
- package/dist/esm/http/errors/NotAcceptable.js.map +0 -1
- package/dist/esm/http/errors/NotExtended.d.ts +0 -7
- package/dist/esm/http/errors/NotExtended.d.ts.map +0 -1
- package/dist/esm/http/errors/NotExtended.js +0 -9
- package/dist/esm/http/errors/NotExtended.js.map +0 -1
- package/dist/esm/http/errors/NotFound.d.ts +0 -7
- package/dist/esm/http/errors/NotFound.d.ts.map +0 -1
- package/dist/esm/http/errors/NotFound.js +0 -9
- package/dist/esm/http/errors/NotFound.js.map +0 -1
- package/dist/esm/http/errors/NotImplemented.d.ts +0 -7
- package/dist/esm/http/errors/NotImplemented.d.ts.map +0 -1
- package/dist/esm/http/errors/NotImplemented.js +0 -9
- package/dist/esm/http/errors/NotImplemented.js.map +0 -1
- package/dist/esm/http/errors/PayloadTooLarge.d.ts +0 -8
- package/dist/esm/http/errors/PayloadTooLarge.d.ts.map +0 -1
- package/dist/esm/http/errors/PayloadTooLarge.js +0 -10
- package/dist/esm/http/errors/PayloadTooLarge.js.map +0 -1
- package/dist/esm/http/errors/PaymentRequired.d.ts +0 -7
- package/dist/esm/http/errors/PaymentRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/PaymentRequired.js +0 -9
- package/dist/esm/http/errors/PaymentRequired.js.map +0 -1
- package/dist/esm/http/errors/PreconditionFailed.d.ts +0 -7
- package/dist/esm/http/errors/PreconditionFailed.d.ts.map +0 -1
- package/dist/esm/http/errors/PreconditionFailed.js +0 -9
- package/dist/esm/http/errors/PreconditionFailed.js.map +0 -1
- package/dist/esm/http/errors/PreconditionRequired.d.ts +0 -7
- package/dist/esm/http/errors/PreconditionRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/PreconditionRequired.js +0 -9
- package/dist/esm/http/errors/PreconditionRequired.js.map +0 -1
- package/dist/esm/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
- package/dist/esm/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/ProxyAuthenticationRequired.js +0 -10
- package/dist/esm/http/errors/ProxyAuthenticationRequired.js.map +0 -1
- package/dist/esm/http/errors/RangeNotSatisfiable.d.ts +0 -7
- package/dist/esm/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
- package/dist/esm/http/errors/RangeNotSatisfiable.js +0 -9
- package/dist/esm/http/errors/RangeNotSatisfiable.js.map +0 -1
- package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
- package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
- package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.js +0 -9
- package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
- package/dist/esm/http/errors/RequestTimeout.d.ts +0 -7
- package/dist/esm/http/errors/RequestTimeout.d.ts.map +0 -1
- package/dist/esm/http/errors/RequestTimeout.js +0 -9
- package/dist/esm/http/errors/RequestTimeout.js.map +0 -1
- package/dist/esm/http/errors/ServiceUnavailable.d.ts +0 -8
- package/dist/esm/http/errors/ServiceUnavailable.d.ts.map +0 -1
- package/dist/esm/http/errors/ServiceUnavailable.js +0 -10
- package/dist/esm/http/errors/ServiceUnavailable.js.map +0 -1
- package/dist/esm/http/errors/TooEarly.d.ts +0 -7
- package/dist/esm/http/errors/TooEarly.d.ts.map +0 -1
- package/dist/esm/http/errors/TooEarly.js +0 -9
- package/dist/esm/http/errors/TooEarly.js.map +0 -1
- package/dist/esm/http/errors/TooManyRequests.d.ts +0 -8
- package/dist/esm/http/errors/TooManyRequests.d.ts.map +0 -1
- package/dist/esm/http/errors/TooManyRequests.js +0 -10
- package/dist/esm/http/errors/TooManyRequests.js.map +0 -1
- package/dist/esm/http/errors/Unauthorized.d.ts +0 -8
- package/dist/esm/http/errors/Unauthorized.d.ts.map +0 -1
- package/dist/esm/http/errors/Unauthorized.js +0 -10
- package/dist/esm/http/errors/Unauthorized.js.map +0 -1
- package/dist/esm/http/errors/UnavailableForLegalReasons.d.ts +0 -7
- package/dist/esm/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
- package/dist/esm/http/errors/UnavailableForLegalReasons.js +0 -9
- package/dist/esm/http/errors/UnavailableForLegalReasons.js.map +0 -1
- package/dist/esm/http/errors/UnprocessableEntity.d.ts +0 -7
- package/dist/esm/http/errors/UnprocessableEntity.d.ts.map +0 -1
- package/dist/esm/http/errors/UnprocessableEntity.js +0 -9
- package/dist/esm/http/errors/UnprocessableEntity.js.map +0 -1
- package/dist/esm/http/errors/UnsufficientStorage.d.ts +0 -7
- package/dist/esm/http/errors/UnsufficientStorage.d.ts.map +0 -1
- package/dist/esm/http/errors/UnsufficientStorage.js +0 -9
- package/dist/esm/http/errors/UnsufficientStorage.js.map +0 -1
- package/dist/esm/http/errors/UnsupportedMediaType.d.ts +0 -7
- package/dist/esm/http/errors/UnsupportedMediaType.d.ts.map +0 -1
- package/dist/esm/http/errors/UnsupportedMediaType.js +0 -9
- package/dist/esm/http/errors/UnsupportedMediaType.js.map +0 -1
- package/dist/esm/http/errors/UpgradeRequired.d.ts +0 -7
- package/dist/esm/http/errors/UpgradeRequired.d.ts.map +0 -1
- package/dist/esm/http/errors/UpgradeRequired.js +0 -9
- package/dist/esm/http/errors/UpgradeRequired.js.map +0 -1
- package/dist/esm/http/errors/UriTooLong.d.ts +0 -7
- package/dist/esm/http/errors/UriTooLong.d.ts.map +0 -1
- package/dist/esm/http/errors/UriTooLong.js +0 -9
- package/dist/esm/http/errors/UriTooLong.js.map +0 -1
- package/dist/esm/http/errors/VariantAlsoNegotiates.d.ts +0 -7
- package/dist/esm/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
- package/dist/esm/http/errors/VariantAlsoNegotiates.js +0 -9
- package/dist/esm/http/errors/VariantAlsoNegotiates.js.map +0 -1
- package/dist/esm/http/errors/base.d.ts +0 -23
- package/dist/esm/http/errors/base.d.ts.map +0 -1
- package/dist/esm/http/errors/base.js +0 -28
- package/dist/esm/http/errors/base.js.map +0 -1
- package/dist/esm/http/errors/index.d.ts +0 -42
- package/dist/esm/http/errors/index.d.ts.map +0 -1
- package/dist/esm/http/errors/index.js +0 -42
- package/dist/esm/http/errors/index.js.map +0 -1
- package/dist/esm/http/httpExceptions.d.ts +0 -14
- package/dist/esm/http/httpExceptions.d.ts.map +0 -1
- package/dist/esm/http/httpExceptions.js +0 -86
- package/dist/esm/http/httpExceptions.js.map +0 -1
- package/dist/esm/index.d.ts +0 -26
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -33
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/models.d.ts +0 -15
- package/dist/esm/models.d.ts.map +0 -1
- package/dist/esm/models.js +0 -2
- package/dist/esm/models.js.map +0 -1
- package/dist/esm/services/destinations/Destinations.d.ts +0 -12
- package/dist/esm/services/destinations/Destinations.d.ts.map +0 -1
- package/dist/esm/services/destinations/Destinations.js +0 -25
- package/dist/esm/services/destinations/Destinations.js.map +0 -1
- package/dist/esm/services/destinations/index.d.ts +0 -2
- package/dist/esm/services/destinations/index.d.ts.map +0 -1
- package/dist/esm/services/destinations/index.js +0 -2
- package/dist/esm/services/destinations/index.js.map +0 -1
- package/dist/esm/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
- package/dist/esm/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
- package/dist/esm/services/destinations/models/ListDestinationsResponse.js +0 -2
- package/dist/esm/services/destinations/models/ListDestinationsResponse.js.map +0 -1
- package/dist/esm/services/eSim/ESim.d.ts +0 -40
- package/dist/esm/services/eSim/ESim.d.ts.map +0 -1
- package/dist/esm/services/eSim/ESim.js +0 -106
- package/dist/esm/services/eSim/ESim.js.map +0 -1
- package/dist/esm/services/eSim/index.d.ts +0 -5
- package/dist/esm/services/eSim/index.d.ts.map +0 -1
- package/dist/esm/services/eSim/index.js +0 -2
- package/dist/esm/services/eSim/index.js.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
- package/dist/esm/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimDeviceResponse.js +0 -2
- package/dist/esm/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
- package/dist/esm/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimHistoryResponse.js +0 -2
- package/dist/esm/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
- package/dist/esm/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimMacResponse.js +0 -2
- package/dist/esm/services/eSim/models/GetEsimMacResponse.js.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimResponse.d.ts +0 -23
- package/dist/esm/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
- package/dist/esm/services/eSim/models/GetEsimResponse.js +0 -2
- package/dist/esm/services/eSim/models/GetEsimResponse.js.map +0 -1
- package/dist/esm/services/packages/Packages.d.ts +0 -30
- package/dist/esm/services/packages/Packages.d.ts.map +0 -1
- package/dist/esm/services/packages/Packages.js +0 -62
- package/dist/esm/services/packages/Packages.js.map +0 -1
- package/dist/esm/services/packages/index.d.ts +0 -2
- package/dist/esm/services/packages/index.d.ts.map +0 -1
- package/dist/esm/services/packages/index.js +0 -2
- package/dist/esm/services/packages/index.js.map +0 -1
- package/dist/esm/services/packages/models/ListPackagesResponse.d.ts +0 -30
- package/dist/esm/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
- package/dist/esm/services/packages/models/ListPackagesResponse.js +0 -2
- package/dist/esm/services/packages/models/ListPackagesResponse.js.map +0 -1
- package/dist/esm/services/purchases/Purchases.d.ts +0 -66
- package/dist/esm/services/purchases/Purchases.d.ts.map +0 -1
- package/dist/esm/services/purchases/Purchases.js +0 -143
- package/dist/esm/services/purchases/Purchases.js.map +0 -1
- package/dist/esm/services/purchases/index.d.ts +0 -9
- package/dist/esm/services/purchases/index.d.ts.map +0 -1
- package/dist/esm/services/purchases/index.js +0 -2
- package/dist/esm/services/purchases/index.js.map +0 -1
- package/dist/esm/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
- package/dist/esm/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/CreatePurchaseRequest.js +0 -2
- package/dist/esm/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
- package/dist/esm/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
- package/dist/esm/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/CreatePurchaseResponse.js +0 -2
- package/dist/esm/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
- package/dist/esm/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
- package/dist/esm/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/EditPurchaseRequest.js +0 -2
- package/dist/esm/services/purchases/models/EditPurchaseRequest.js.map +0 -1
- package/dist/esm/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
- package/dist/esm/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/EditPurchaseResponse.js +0 -2
- package/dist/esm/services/purchases/models/EditPurchaseResponse.js.map +0 -1
- package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
- package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -2
- package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
- package/dist/esm/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
- package/dist/esm/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/ListPurchasesResponse.js +0 -2
- package/dist/esm/services/purchases/models/ListPurchasesResponse.js.map +0 -1
- package/dist/esm/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
- package/dist/esm/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/TopUpEsimRequest.js +0 -2
- package/dist/esm/services/purchases/models/TopUpEsimRequest.js.map +0 -1
- package/dist/esm/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
- package/dist/esm/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
- package/dist/esm/services/purchases/models/TopUpEsimResponse.js +0 -2
- package/dist/esm/services/purchases/models/TopUpEsimResponse.js.map +0 -1
- package/dist/umd/BaseService.d.ts +0 -11
- package/dist/umd/BaseService.d.ts.map +0 -1
- package/dist/umd/BaseService.js +0 -40
- package/dist/umd/BaseService.js.map +0 -1
- package/dist/umd/hooks/CustomHook.d.ts +0 -59
- package/dist/umd/hooks/CustomHook.d.ts.map +0 -1
- package/dist/umd/hooks/CustomHook.js +0 -84
- package/dist/umd/hooks/CustomHook.js.map +0 -1
- package/dist/umd/hooks/Hook.d.ts +0 -24
- package/dist/umd/hooks/Hook.d.ts.map +0 -1
- package/dist/umd/hooks/Hook.js +0 -13
- package/dist/umd/hooks/Hook.js.map +0 -1
- package/dist/umd/http/Environment.d.ts +0 -4
- package/dist/umd/http/Environment.d.ts.map +0 -1
- package/dist/umd/http/Environment.js +0 -18
- package/dist/umd/http/Environment.js.map +0 -1
- package/dist/umd/http/HTTPClient.d.ts +0 -13
- package/dist/umd/http/HTTPClient.d.ts.map +0 -1
- package/dist/umd/http/HTTPClient.js +0 -13
- package/dist/umd/http/HTTPClient.js.map +0 -1
- package/dist/umd/http/HTTPLibrary.d.ts +0 -23
- package/dist/umd/http/HTTPLibrary.d.ts.map +0 -1
- package/dist/umd/http/HTTPLibrary.js +0 -153
- package/dist/umd/http/HTTPLibrary.js.map +0 -1
- package/dist/umd/http/QuerySerializer.d.ts +0 -6
- package/dist/umd/http/QuerySerializer.d.ts.map +0 -1
- package/dist/umd/http/QuerySerializer.js +0 -80
- package/dist/umd/http/QuerySerializer.js.map +0 -1
- package/dist/umd/http/errors/BadGateway.d.ts +0 -7
- package/dist/umd/http/errors/BadGateway.d.ts.map +0 -1
- package/dist/umd/http/errors/BadGateway.js +0 -22
- package/dist/umd/http/errors/BadGateway.js.map +0 -1
- package/dist/umd/http/errors/BadRequest.d.ts +0 -7
- package/dist/umd/http/errors/BadRequest.d.ts.map +0 -1
- package/dist/umd/http/errors/BadRequest.js +0 -22
- package/dist/umd/http/errors/BadRequest.js.map +0 -1
- package/dist/umd/http/errors/Conflict.d.ts +0 -7
- package/dist/umd/http/errors/Conflict.d.ts.map +0 -1
- package/dist/umd/http/errors/Conflict.js +0 -22
- package/dist/umd/http/errors/Conflict.js.map +0 -1
- package/dist/umd/http/errors/ExpectationFailed.d.ts +0 -7
- package/dist/umd/http/errors/ExpectationFailed.d.ts.map +0 -1
- package/dist/umd/http/errors/ExpectationFailed.js +0 -22
- package/dist/umd/http/errors/ExpectationFailed.js.map +0 -1
- package/dist/umd/http/errors/FailedDependency.d.ts +0 -7
- package/dist/umd/http/errors/FailedDependency.d.ts.map +0 -1
- package/dist/umd/http/errors/FailedDependency.js +0 -22
- package/dist/umd/http/errors/FailedDependency.js.map +0 -1
- package/dist/umd/http/errors/Forbidden.d.ts +0 -7
- package/dist/umd/http/errors/Forbidden.d.ts.map +0 -1
- package/dist/umd/http/errors/Forbidden.js +0 -22
- package/dist/umd/http/errors/Forbidden.js.map +0 -1
- package/dist/umd/http/errors/GatewayTimeout.d.ts +0 -7
- package/dist/umd/http/errors/GatewayTimeout.d.ts.map +0 -1
- package/dist/umd/http/errors/GatewayTimeout.js +0 -22
- package/dist/umd/http/errors/GatewayTimeout.js.map +0 -1
- package/dist/umd/http/errors/Gone.d.ts +0 -7
- package/dist/umd/http/errors/Gone.d.ts.map +0 -1
- package/dist/umd/http/errors/Gone.js +0 -22
- package/dist/umd/http/errors/Gone.js.map +0 -1
- package/dist/umd/http/errors/HttpVersionNotSupported.d.ts +0 -7
- package/dist/umd/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
- package/dist/umd/http/errors/HttpVersionNotSupported.js +0 -22
- package/dist/umd/http/errors/HttpVersionNotSupported.js.map +0 -1
- package/dist/umd/http/errors/InternalServerError.d.ts +0 -7
- package/dist/umd/http/errors/InternalServerError.d.ts.map +0 -1
- package/dist/umd/http/errors/InternalServerError.js +0 -22
- package/dist/umd/http/errors/InternalServerError.js.map +0 -1
- package/dist/umd/http/errors/LengthRequired.d.ts +0 -7
- package/dist/umd/http/errors/LengthRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/LengthRequired.js +0 -22
- package/dist/umd/http/errors/LengthRequired.js.map +0 -1
- package/dist/umd/http/errors/Locked.d.ts +0 -7
- package/dist/umd/http/errors/Locked.d.ts.map +0 -1
- package/dist/umd/http/errors/Locked.js +0 -22
- package/dist/umd/http/errors/Locked.js.map +0 -1
- package/dist/umd/http/errors/LoopDetected.d.ts +0 -7
- package/dist/umd/http/errors/LoopDetected.d.ts.map +0 -1
- package/dist/umd/http/errors/LoopDetected.js +0 -22
- package/dist/umd/http/errors/LoopDetected.js.map +0 -1
- package/dist/umd/http/errors/MethodNotAllowed.d.ts +0 -8
- package/dist/umd/http/errors/MethodNotAllowed.d.ts.map +0 -1
- package/dist/umd/http/errors/MethodNotAllowed.js +0 -23
- package/dist/umd/http/errors/MethodNotAllowed.js.map +0 -1
- package/dist/umd/http/errors/MisdirectedRequest.d.ts +0 -7
- package/dist/umd/http/errors/MisdirectedRequest.d.ts.map +0 -1
- package/dist/umd/http/errors/MisdirectedRequest.js +0 -22
- package/dist/umd/http/errors/MisdirectedRequest.js.map +0 -1
- package/dist/umd/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
- package/dist/umd/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/NetworkAuthenticationRequired.js +0 -22
- package/dist/umd/http/errors/NetworkAuthenticationRequired.js.map +0 -1
- package/dist/umd/http/errors/NotAcceptable.d.ts +0 -7
- package/dist/umd/http/errors/NotAcceptable.d.ts.map +0 -1
- package/dist/umd/http/errors/NotAcceptable.js +0 -22
- package/dist/umd/http/errors/NotAcceptable.js.map +0 -1
- package/dist/umd/http/errors/NotExtended.d.ts +0 -7
- package/dist/umd/http/errors/NotExtended.d.ts.map +0 -1
- package/dist/umd/http/errors/NotExtended.js +0 -22
- package/dist/umd/http/errors/NotExtended.js.map +0 -1
- package/dist/umd/http/errors/NotFound.d.ts +0 -7
- package/dist/umd/http/errors/NotFound.d.ts.map +0 -1
- package/dist/umd/http/errors/NotFound.js +0 -22
- package/dist/umd/http/errors/NotFound.js.map +0 -1
- package/dist/umd/http/errors/NotImplemented.d.ts +0 -7
- package/dist/umd/http/errors/NotImplemented.d.ts.map +0 -1
- package/dist/umd/http/errors/NotImplemented.js +0 -22
- package/dist/umd/http/errors/NotImplemented.js.map +0 -1
- package/dist/umd/http/errors/PayloadTooLarge.d.ts +0 -8
- package/dist/umd/http/errors/PayloadTooLarge.d.ts.map +0 -1
- package/dist/umd/http/errors/PayloadTooLarge.js +0 -23
- package/dist/umd/http/errors/PayloadTooLarge.js.map +0 -1
- package/dist/umd/http/errors/PaymentRequired.d.ts +0 -7
- package/dist/umd/http/errors/PaymentRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/PaymentRequired.js +0 -22
- package/dist/umd/http/errors/PaymentRequired.js.map +0 -1
- package/dist/umd/http/errors/PreconditionFailed.d.ts +0 -7
- package/dist/umd/http/errors/PreconditionFailed.d.ts.map +0 -1
- package/dist/umd/http/errors/PreconditionFailed.js +0 -22
- package/dist/umd/http/errors/PreconditionFailed.js.map +0 -1
- package/dist/umd/http/errors/PreconditionRequired.d.ts +0 -7
- package/dist/umd/http/errors/PreconditionRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/PreconditionRequired.js +0 -22
- package/dist/umd/http/errors/PreconditionRequired.js.map +0 -1
- package/dist/umd/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
- package/dist/umd/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/ProxyAuthenticationRequired.js +0 -23
- package/dist/umd/http/errors/ProxyAuthenticationRequired.js.map +0 -1
- package/dist/umd/http/errors/RangeNotSatisfiable.d.ts +0 -7
- package/dist/umd/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
- package/dist/umd/http/errors/RangeNotSatisfiable.js +0 -22
- package/dist/umd/http/errors/RangeNotSatisfiable.js.map +0 -1
- package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
- package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
- package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.js +0 -22
- package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
- package/dist/umd/http/errors/RequestTimeout.d.ts +0 -7
- package/dist/umd/http/errors/RequestTimeout.d.ts.map +0 -1
- package/dist/umd/http/errors/RequestTimeout.js +0 -22
- package/dist/umd/http/errors/RequestTimeout.js.map +0 -1
- package/dist/umd/http/errors/ServiceUnavailable.d.ts +0 -8
- package/dist/umd/http/errors/ServiceUnavailable.d.ts.map +0 -1
- package/dist/umd/http/errors/ServiceUnavailable.js +0 -23
- package/dist/umd/http/errors/ServiceUnavailable.js.map +0 -1
- package/dist/umd/http/errors/TooEarly.d.ts +0 -7
- package/dist/umd/http/errors/TooEarly.d.ts.map +0 -1
- package/dist/umd/http/errors/TooEarly.js +0 -22
- package/dist/umd/http/errors/TooEarly.js.map +0 -1
- package/dist/umd/http/errors/TooManyRequests.d.ts +0 -8
- package/dist/umd/http/errors/TooManyRequests.d.ts.map +0 -1
- package/dist/umd/http/errors/TooManyRequests.js +0 -23
- package/dist/umd/http/errors/TooManyRequests.js.map +0 -1
- package/dist/umd/http/errors/Unauthorized.d.ts +0 -8
- package/dist/umd/http/errors/Unauthorized.d.ts.map +0 -1
- package/dist/umd/http/errors/Unauthorized.js +0 -23
- package/dist/umd/http/errors/Unauthorized.js.map +0 -1
- package/dist/umd/http/errors/UnavailableForLegalReasons.d.ts +0 -7
- package/dist/umd/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
- package/dist/umd/http/errors/UnavailableForLegalReasons.js +0 -22
- package/dist/umd/http/errors/UnavailableForLegalReasons.js.map +0 -1
- package/dist/umd/http/errors/UnprocessableEntity.d.ts +0 -7
- package/dist/umd/http/errors/UnprocessableEntity.d.ts.map +0 -1
- package/dist/umd/http/errors/UnprocessableEntity.js +0 -22
- package/dist/umd/http/errors/UnprocessableEntity.js.map +0 -1
- package/dist/umd/http/errors/UnsufficientStorage.d.ts +0 -7
- package/dist/umd/http/errors/UnsufficientStorage.d.ts.map +0 -1
- package/dist/umd/http/errors/UnsufficientStorage.js +0 -22
- package/dist/umd/http/errors/UnsufficientStorage.js.map +0 -1
- package/dist/umd/http/errors/UnsupportedMediaType.d.ts +0 -7
- package/dist/umd/http/errors/UnsupportedMediaType.d.ts.map +0 -1
- package/dist/umd/http/errors/UnsupportedMediaType.js +0 -22
- package/dist/umd/http/errors/UnsupportedMediaType.js.map +0 -1
- package/dist/umd/http/errors/UpgradeRequired.d.ts +0 -7
- package/dist/umd/http/errors/UpgradeRequired.d.ts.map +0 -1
- package/dist/umd/http/errors/UpgradeRequired.js +0 -22
- package/dist/umd/http/errors/UpgradeRequired.js.map +0 -1
- package/dist/umd/http/errors/UriTooLong.d.ts +0 -7
- package/dist/umd/http/errors/UriTooLong.d.ts.map +0 -1
- package/dist/umd/http/errors/UriTooLong.js +0 -22
- package/dist/umd/http/errors/UriTooLong.js.map +0 -1
- package/dist/umd/http/errors/VariantAlsoNegotiates.d.ts +0 -7
- package/dist/umd/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
- package/dist/umd/http/errors/VariantAlsoNegotiates.js +0 -22
- package/dist/umd/http/errors/VariantAlsoNegotiates.js.map +0 -1
- package/dist/umd/http/errors/base.d.ts +0 -23
- package/dist/umd/http/errors/base.d.ts.map +0 -1
- package/dist/umd/http/errors/base.js +0 -46
- package/dist/umd/http/errors/base.js.map +0 -1
- package/dist/umd/http/errors/index.d.ts +0 -42
- package/dist/umd/http/errors/index.d.ts.map +0 -1
- package/dist/umd/http/errors/index.js +0 -97
- package/dist/umd/http/errors/index.js.map +0 -1
- package/dist/umd/http/httpExceptions.d.ts +0 -14
- package/dist/umd/http/httpExceptions.d.ts.map +0 -1
- package/dist/umd/http/httpExceptions.js +0 -102
- package/dist/umd/http/httpExceptions.js.map +0 -1
- package/dist/umd/index.d.ts +0 -26
- package/dist/umd/index.d.ts.map +0 -1
- package/dist/umd/index.js +0 -73
- package/dist/umd/index.js.map +0 -1
- package/dist/umd/models.d.ts +0 -15
- package/dist/umd/models.d.ts.map +0 -1
- package/dist/umd/models.js +0 -13
- package/dist/umd/models.js.map +0 -1
- package/dist/umd/services/destinations/Destinations.d.ts +0 -12
- package/dist/umd/services/destinations/Destinations.d.ts.map +0 -1
- package/dist/umd/services/destinations/Destinations.js +0 -42
- package/dist/umd/services/destinations/Destinations.js.map +0 -1
- package/dist/umd/services/destinations/index.d.ts +0 -2
- package/dist/umd/services/destinations/index.d.ts.map +0 -1
- package/dist/umd/services/destinations/index.js +0 -13
- package/dist/umd/services/destinations/index.js.map +0 -1
- package/dist/umd/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
- package/dist/umd/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
- package/dist/umd/services/destinations/models/ListDestinationsResponse.js +0 -13
- package/dist/umd/services/destinations/models/ListDestinationsResponse.js.map +0 -1
- package/dist/umd/services/eSim/ESim.d.ts +0 -40
- package/dist/umd/services/eSim/ESim.d.ts.map +0 -1
- package/dist/umd/services/eSim/ESim.js +0 -123
- package/dist/umd/services/eSim/ESim.js.map +0 -1
- package/dist/umd/services/eSim/index.d.ts +0 -5
- package/dist/umd/services/eSim/index.d.ts.map +0 -1
- package/dist/umd/services/eSim/index.js +0 -13
- package/dist/umd/services/eSim/index.js.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
- package/dist/umd/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimDeviceResponse.js +0 -13
- package/dist/umd/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
- package/dist/umd/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimHistoryResponse.js +0 -13
- package/dist/umd/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
- package/dist/umd/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimMacResponse.js +0 -13
- package/dist/umd/services/eSim/models/GetEsimMacResponse.js.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimResponse.d.ts +0 -23
- package/dist/umd/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
- package/dist/umd/services/eSim/models/GetEsimResponse.js +0 -13
- package/dist/umd/services/eSim/models/GetEsimResponse.js.map +0 -1
- package/dist/umd/services/packages/Packages.d.ts +0 -30
- package/dist/umd/services/packages/Packages.d.ts.map +0 -1
- package/dist/umd/services/packages/Packages.js +0 -79
- package/dist/umd/services/packages/Packages.js.map +0 -1
- package/dist/umd/services/packages/index.d.ts +0 -2
- package/dist/umd/services/packages/index.d.ts.map +0 -1
- package/dist/umd/services/packages/index.js +0 -13
- package/dist/umd/services/packages/index.js.map +0 -1
- package/dist/umd/services/packages/models/ListPackagesResponse.d.ts +0 -30
- package/dist/umd/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
- package/dist/umd/services/packages/models/ListPackagesResponse.js +0 -13
- package/dist/umd/services/packages/models/ListPackagesResponse.js.map +0 -1
- package/dist/umd/services/purchases/Purchases.d.ts +0 -66
- package/dist/umd/services/purchases/Purchases.d.ts.map +0 -1
- package/dist/umd/services/purchases/Purchases.js +0 -160
- package/dist/umd/services/purchases/Purchases.js.map +0 -1
- package/dist/umd/services/purchases/index.d.ts +0 -9
- package/dist/umd/services/purchases/index.d.ts.map +0 -1
- package/dist/umd/services/purchases/index.js +0 -13
- package/dist/umd/services/purchases/index.js.map +0 -1
- package/dist/umd/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
- package/dist/umd/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/CreatePurchaseRequest.js +0 -13
- package/dist/umd/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
- package/dist/umd/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
- package/dist/umd/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/CreatePurchaseResponse.js +0 -13
- package/dist/umd/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
- package/dist/umd/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
- package/dist/umd/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/EditPurchaseRequest.js +0 -13
- package/dist/umd/services/purchases/models/EditPurchaseRequest.js.map +0 -1
- package/dist/umd/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
- package/dist/umd/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/EditPurchaseResponse.js +0 -13
- package/dist/umd/services/purchases/models/EditPurchaseResponse.js.map +0 -1
- package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
- package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -13
- package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
- package/dist/umd/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
- package/dist/umd/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/ListPurchasesResponse.js +0 -13
- package/dist/umd/services/purchases/models/ListPurchasesResponse.js.map +0 -1
- package/dist/umd/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
- package/dist/umd/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/TopUpEsimRequest.js +0 -13
- package/dist/umd/services/purchases/models/TopUpEsimRequest.js.map +0 -1
- package/dist/umd/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
- package/dist/umd/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
- package/dist/umd/services/purchases/models/TopUpEsimResponse.js +0 -13
- package/dist/umd/services/purchases/models/TopUpEsimResponse.js.map +0 -1
@@ -0,0 +1,70 @@
|
|
1
|
+
import { ZodType } from 'zod';
|
2
|
+
import { Environment } from './environment';
|
3
|
+
import { Request } from './transport/request';
|
4
|
+
|
5
|
+
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
6
|
+
|
7
|
+
export interface SdkConfig {
|
8
|
+
baseUrl?: string;
|
9
|
+
environment?: Environment;
|
10
|
+
timeout?: number;
|
11
|
+
clientId?: string;
|
12
|
+
clientSecret?: string;
|
13
|
+
retry?: RetryOptions;
|
14
|
+
validation?: ValidationOptions;
|
15
|
+
}
|
16
|
+
|
17
|
+
export interface HttpMetadata {
|
18
|
+
status: number;
|
19
|
+
statusText: string;
|
20
|
+
headers: Record<string, string>;
|
21
|
+
}
|
22
|
+
|
23
|
+
export interface HttpResponse<T> {
|
24
|
+
data?: T;
|
25
|
+
metadata: HttpMetadata;
|
26
|
+
raw: ArrayBuffer;
|
27
|
+
}
|
28
|
+
|
29
|
+
export interface RequestHandler {
|
30
|
+
next?: RequestHandler;
|
31
|
+
|
32
|
+
handle<T>(request: Request<T>): Promise<HttpResponse<T>>;
|
33
|
+
}
|
34
|
+
|
35
|
+
export enum ContentType {
|
36
|
+
Json = 'json',
|
37
|
+
Xml = 'xml',
|
38
|
+
Pdf = 'pdf',
|
39
|
+
Image = 'image',
|
40
|
+
File = 'file',
|
41
|
+
Binary = 'binary',
|
42
|
+
FormUrlEncoded = 'form',
|
43
|
+
Text = 'text',
|
44
|
+
MultipartFormData = 'multipartFormData',
|
45
|
+
}
|
46
|
+
|
47
|
+
export interface Options<T> {
|
48
|
+
responseSchema: ZodType<T, any, any>;
|
49
|
+
requestSchema?: ZodType;
|
50
|
+
body?: any;
|
51
|
+
requestContentType?: ContentType;
|
52
|
+
responseContentType?: ContentType;
|
53
|
+
abortSignal?: AbortSignal;
|
54
|
+
queryParams?: Record<string, unknown>;
|
55
|
+
retry?: RetryOptions;
|
56
|
+
}
|
57
|
+
|
58
|
+
export interface RequestConfig {
|
59
|
+
retry?: RetryOptions;
|
60
|
+
validation?: ValidationOptions;
|
61
|
+
}
|
62
|
+
|
63
|
+
export interface RetryOptions {
|
64
|
+
attempts: number;
|
65
|
+
delayMs?: number;
|
66
|
+
}
|
67
|
+
|
68
|
+
export interface ValidationOptions {
|
69
|
+
responseValidation?: boolean;
|
70
|
+
}
|
package/src/index.ts
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
import { Environment } from './http/environment';
|
2
|
+
import { SdkConfig } from './http/types';
|
3
|
+
import { DestinationsService } from './services/destinations';
|
4
|
+
import { PackagesService } from './services/packages';
|
5
|
+
import { PurchasesService } from './services/purchases';
|
6
|
+
import { ESimService } from './services/e-sim';
|
7
|
+
|
8
|
+
export class Celitech {
|
9
|
+
public readonly destinations: DestinationsService;
|
10
|
+
|
11
|
+
public readonly packages: PackagesService;
|
12
|
+
|
13
|
+
public readonly purchases: PurchasesService;
|
14
|
+
|
15
|
+
public readonly eSim: ESimService;
|
16
|
+
|
17
|
+
constructor(public config: SdkConfig) {
|
18
|
+
const baseUrl = config.environment || config.baseUrl || Environment.DEFAULT;
|
19
|
+
this.config = {
|
20
|
+
...config,
|
21
|
+
baseUrl,
|
22
|
+
};
|
23
|
+
this.destinations = new DestinationsService(this.config);
|
24
|
+
|
25
|
+
this.packages = new PackagesService(this.config);
|
26
|
+
|
27
|
+
this.purchases = new PurchasesService(this.config);
|
28
|
+
|
29
|
+
this.eSim = new ESimService(this.config);
|
30
|
+
}
|
31
|
+
|
32
|
+
set baseUrl(baseUrl: string) {
|
33
|
+
this.destinations.baseUrl = baseUrl;
|
34
|
+
this.packages.baseUrl = baseUrl;
|
35
|
+
this.purchases.baseUrl = baseUrl;
|
36
|
+
this.eSim.baseUrl = baseUrl;
|
37
|
+
}
|
38
|
+
|
39
|
+
set environment(environment: Environment) {
|
40
|
+
this.destinations.baseUrl = environment;
|
41
|
+
this.packages.baseUrl = environment;
|
42
|
+
this.purchases.baseUrl = environment;
|
43
|
+
this.eSim.baseUrl = environment;
|
44
|
+
}
|
45
|
+
|
46
|
+
set timeout(timeout: number) {
|
47
|
+
this.destinations.timeout = timeout;
|
48
|
+
this.packages.timeout = timeout;
|
49
|
+
this.purchases.timeout = timeout;
|
50
|
+
this.eSim.timeout = timeout;
|
51
|
+
}
|
52
|
+
|
53
|
+
set clientId(clientId: string) {
|
54
|
+
this.destinations.clientId = clientId;
|
55
|
+
this.packages.clientId = clientId;
|
56
|
+
this.purchases.clientId = clientId;
|
57
|
+
this.eSim.clientId = clientId;
|
58
|
+
}
|
59
|
+
|
60
|
+
set clientSecret(clientSecret: string) {
|
61
|
+
this.destinations.clientSecret = clientSecret;
|
62
|
+
this.packages.clientSecret = clientSecret;
|
63
|
+
this.purchases.clientSecret = clientSecret;
|
64
|
+
this.eSim.clientSecret = clientSecret;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
// c029837e0e474b76bc487506e8799df5e3335891efe4fb02bda7a1441840310c
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { Environment } from '../http/environment';
|
2
|
+
import { HttpClient } from '../http';
|
3
|
+
import { SdkConfig } from '../http/types';
|
4
|
+
|
5
|
+
export class BaseService {
|
6
|
+
public client: HttpClient = new HttpClient(this.config);
|
7
|
+
|
8
|
+
constructor(public config: SdkConfig) {}
|
9
|
+
|
10
|
+
set baseUrl(baseUrl: string) {
|
11
|
+
this.config.baseUrl = baseUrl;
|
12
|
+
}
|
13
|
+
|
14
|
+
set environment(environment: Environment) {
|
15
|
+
this.config.environment = environment;
|
16
|
+
}
|
17
|
+
|
18
|
+
set timeout(timeout: number) {
|
19
|
+
this.config.timeout = timeout;
|
20
|
+
}
|
21
|
+
|
22
|
+
set clientId(clientId: string) {
|
23
|
+
this.config.clientId = clientId;
|
24
|
+
}
|
25
|
+
|
26
|
+
set clientSecret(clientSecret: string) {
|
27
|
+
this.config.clientSecret = clientSecret;
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { BaseService } from '../base-service';
|
3
|
+
import { ContentType, HttpResponse } from '../../http';
|
4
|
+
import { RequestConfig } from '../../http/types';
|
5
|
+
import { Request } from '../../http/transport/request';
|
6
|
+
import { ListDestinationsOkResponse, listDestinationsOkResponseResponse } from './models/list-destinations-ok-response';
|
7
|
+
|
8
|
+
export class DestinationsService extends BaseService {
|
9
|
+
/**
|
10
|
+
* List Destinations
|
11
|
+
* @returns {Promise<HttpResponse<ListDestinationsOkResponse>>} Successful Response
|
12
|
+
*/
|
13
|
+
async listDestinations(requestConfig?: RequestConfig): Promise<HttpResponse<ListDestinationsOkResponse>> {
|
14
|
+
const request = new Request({
|
15
|
+
method: 'GET',
|
16
|
+
path: '/destinations',
|
17
|
+
config: this.config,
|
18
|
+
responseSchema: listDestinationsOkResponseResponse,
|
19
|
+
requestSchema: z.any(),
|
20
|
+
requestContentType: ContentType.Json,
|
21
|
+
responseContentType: ContentType.Json,
|
22
|
+
requestConfig,
|
23
|
+
});
|
24
|
+
return this.client.call<ListDestinationsOkResponse>(request);
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './destinations';
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The shape of the model inside the application code - what the users use
|
5
|
+
*/
|
6
|
+
export const destinations: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
name: z.string().optional(),
|
9
|
+
destination: z.string().optional(),
|
10
|
+
supportedCountries: z.array(z.string()).optional(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {Destinations} destinations
|
17
|
+
* @property {string} - Name of the destination
|
18
|
+
* @property {string} - ISO representation of the destination
|
19
|
+
* @property {string[]} - This array indicates the geographical area covered by a specific destination. If the destination represents a single country, the array will include that country. However, if the destination represents a broader regional scope, the array will be populated with the names of the countries belonging to that region.
|
20
|
+
*/
|
21
|
+
export type Destinations = z.infer<typeof destinations>;
|
22
|
+
|
23
|
+
/**
|
24
|
+
* The shape of the model mapping from the api schema into the application shape.
|
25
|
+
* Is equal to application shape if all property names match the api schema
|
26
|
+
*/
|
27
|
+
export const destinationsResponse: any = z.lazy(() => {
|
28
|
+
return z
|
29
|
+
.object({
|
30
|
+
name: z.string().optional(),
|
31
|
+
destination: z.string().optional(),
|
32
|
+
supportedCountries: z.array(z.string()).optional(),
|
33
|
+
})
|
34
|
+
.transform((data) => ({
|
35
|
+
name: data['name'],
|
36
|
+
destination: data['destination'],
|
37
|
+
supportedCountries: data['supportedCountries'],
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
|
41
|
+
/**
|
42
|
+
* The shape of the model mapping from the application shape into the api schema.
|
43
|
+
* Is equal to application shape if all property names match the api schema
|
44
|
+
*/
|
45
|
+
export const destinationsRequest: any = z.lazy(() => {
|
46
|
+
return z
|
47
|
+
.object({
|
48
|
+
name: z.string().nullish(),
|
49
|
+
destination: z.string().nullish(),
|
50
|
+
supportedCountries: z.array(z.string()).nullish(),
|
51
|
+
})
|
52
|
+
.transform((data) => ({
|
53
|
+
name: data['name'],
|
54
|
+
destination: data['destination'],
|
55
|
+
supportedCountries: data['supportedCountries'],
|
56
|
+
}));
|
57
|
+
});
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { destinations, destinationsRequest, destinationsResponse } from './destinations';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* The shape of the model inside the application code - what the users use
|
6
|
+
*/
|
7
|
+
export const listDestinationsOkResponse: any = z.lazy(() => {
|
8
|
+
return z.object({
|
9
|
+
destinations: z.array(destinations).optional(),
|
10
|
+
});
|
11
|
+
});
|
12
|
+
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @typedef {ListDestinationsOkResponse} listDestinationsOkResponse
|
16
|
+
* @property {Destinations[]}
|
17
|
+
*/
|
18
|
+
export type ListDestinationsOkResponse = z.infer<typeof listDestinationsOkResponse>;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* The shape of the model mapping from the api schema into the application shape.
|
22
|
+
* Is equal to application shape if all property names match the api schema
|
23
|
+
*/
|
24
|
+
export const listDestinationsOkResponseResponse: any = z.lazy(() => {
|
25
|
+
return z
|
26
|
+
.object({
|
27
|
+
destinations: z.array(destinationsResponse).optional(),
|
28
|
+
})
|
29
|
+
.transform((data) => ({
|
30
|
+
destinations: data['destinations'],
|
31
|
+
}));
|
32
|
+
});
|
33
|
+
|
34
|
+
/**
|
35
|
+
* The shape of the model mapping from the application shape into the api schema.
|
36
|
+
* Is equal to application shape if all property names match the api schema
|
37
|
+
*/
|
38
|
+
export const listDestinationsOkResponseRequest: any = z.lazy(() => {
|
39
|
+
return z.object({ destinations: z.array(destinationsRequest).nullish() }).transform((data) => ({
|
40
|
+
destinations: data['destinations'],
|
41
|
+
}));
|
42
|
+
});
|
@@ -0,0 +1,92 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { BaseService } from '../base-service';
|
3
|
+
import { ContentType, HttpResponse } from '../../http';
|
4
|
+
import { RequestConfig } from '../../http/types';
|
5
|
+
import { Request } from '../../http/transport/request';
|
6
|
+
import { GetEsimOkResponse, getEsimOkResponseResponse } from './models/get-esim-ok-response';
|
7
|
+
import { GetEsimParams } from './request-params';
|
8
|
+
import { GetEsimDeviceOkResponse, getEsimDeviceOkResponseResponse } from './models/get-esim-device-ok-response';
|
9
|
+
import { GetEsimHistoryOkResponse, getEsimHistoryOkResponseResponse } from './models/get-esim-history-ok-response';
|
10
|
+
import { GetEsimMacOkResponse, getEsimMacOkResponseResponse } from './models/get-esim-mac-ok-response';
|
11
|
+
|
12
|
+
export class ESimService extends BaseService {
|
13
|
+
/**
|
14
|
+
* Get eSIM Status
|
15
|
+
* @param {string} iccid - ID of the eSIM
|
16
|
+
* @returns {Promise<HttpResponse<GetEsimOkResponse>>} Successful Response
|
17
|
+
*/
|
18
|
+
async getEsim(params: GetEsimParams, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimOkResponse>> {
|
19
|
+
const request = new Request({
|
20
|
+
method: 'GET',
|
21
|
+
path: '/esim',
|
22
|
+
config: this.config,
|
23
|
+
responseSchema: getEsimOkResponseResponse,
|
24
|
+
requestSchema: z.any(),
|
25
|
+
requestContentType: ContentType.Json,
|
26
|
+
responseContentType: ContentType.Json,
|
27
|
+
requestConfig,
|
28
|
+
});
|
29
|
+
request.addQueryParam('iccid', params?.iccid);
|
30
|
+
return this.client.call<GetEsimOkResponse>(request);
|
31
|
+
}
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Get eSIM Device
|
35
|
+
* @param {string} iccid - ID of the eSIM
|
36
|
+
* @returns {Promise<HttpResponse<GetEsimDeviceOkResponse>>} Successful Response
|
37
|
+
*/
|
38
|
+
async getEsimDevice(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimDeviceOkResponse>> {
|
39
|
+
const request = new Request({
|
40
|
+
method: 'GET',
|
41
|
+
path: '/esim/{iccid}/device',
|
42
|
+
config: this.config,
|
43
|
+
responseSchema: getEsimDeviceOkResponseResponse,
|
44
|
+
requestSchema: z.any(),
|
45
|
+
requestContentType: ContentType.Json,
|
46
|
+
responseContentType: ContentType.Json,
|
47
|
+
requestConfig,
|
48
|
+
});
|
49
|
+
request.addPathParam('iccid', iccid);
|
50
|
+
return this.client.call<GetEsimDeviceOkResponse>(request);
|
51
|
+
}
|
52
|
+
|
53
|
+
/**
|
54
|
+
* Get eSIM History
|
55
|
+
* @param {string} iccid - ID of the eSIM
|
56
|
+
* @returns {Promise<HttpResponse<GetEsimHistoryOkResponse>>} Successful Response
|
57
|
+
*/
|
58
|
+
async getEsimHistory(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimHistoryOkResponse>> {
|
59
|
+
const request = new Request({
|
60
|
+
method: 'GET',
|
61
|
+
path: '/esim/{iccid}/history',
|
62
|
+
config: this.config,
|
63
|
+
responseSchema: getEsimHistoryOkResponseResponse,
|
64
|
+
requestSchema: z.any(),
|
65
|
+
requestContentType: ContentType.Json,
|
66
|
+
responseContentType: ContentType.Json,
|
67
|
+
requestConfig,
|
68
|
+
});
|
69
|
+
request.addPathParam('iccid', iccid);
|
70
|
+
return this.client.call<GetEsimHistoryOkResponse>(request);
|
71
|
+
}
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Get eSIM MAC
|
75
|
+
* @param {string} iccid - ID of the eSIM
|
76
|
+
* @returns {Promise<HttpResponse<GetEsimMacOkResponse>>} Successful Response
|
77
|
+
*/
|
78
|
+
async getEsimMac(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimMacOkResponse>> {
|
79
|
+
const request = new Request({
|
80
|
+
method: 'GET',
|
81
|
+
path: '/esim/{iccid}/mac',
|
82
|
+
config: this.config,
|
83
|
+
responseSchema: getEsimMacOkResponseResponse,
|
84
|
+
requestSchema: z.any(),
|
85
|
+
requestContentType: ContentType.Json,
|
86
|
+
responseContentType: ContentType.Json,
|
87
|
+
requestConfig,
|
88
|
+
});
|
89
|
+
request.addPathParam('iccid', iccid);
|
90
|
+
return this.client.call<GetEsimMacOkResponse>(request);
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './e-sim';
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The shape of the model inside the application code - what the users use
|
5
|
+
*/
|
6
|
+
export const device: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
oem: z.string().optional(),
|
9
|
+
hardwareName: z.string().optional(),
|
10
|
+
hardwareModel: z.string().optional(),
|
11
|
+
eid: z.string().optional(),
|
12
|
+
});
|
13
|
+
});
|
14
|
+
|
15
|
+
/**
|
16
|
+
*
|
17
|
+
* @typedef {Device} device
|
18
|
+
* @property {string} - Name of the OEM
|
19
|
+
* @property {string} - Name of the Device
|
20
|
+
* @property {string} - Model of the Device
|
21
|
+
* @property {string} - Serial Number of the eSIM
|
22
|
+
*/
|
23
|
+
export type Device = z.infer<typeof device>;
|
24
|
+
|
25
|
+
/**
|
26
|
+
* The shape of the model mapping from the api schema into the application shape.
|
27
|
+
* Is equal to application shape if all property names match the api schema
|
28
|
+
*/
|
29
|
+
export const deviceResponse: any = z.lazy(() => {
|
30
|
+
return z
|
31
|
+
.object({
|
32
|
+
oem: z.string().optional(),
|
33
|
+
hardwareName: z.string().optional(),
|
34
|
+
hardwareModel: z.string().optional(),
|
35
|
+
eid: z.string().optional(),
|
36
|
+
})
|
37
|
+
.transform((data) => ({
|
38
|
+
oem: data['oem'],
|
39
|
+
hardwareName: data['hardwareName'],
|
40
|
+
hardwareModel: data['hardwareModel'],
|
41
|
+
eid: data['eid'],
|
42
|
+
}));
|
43
|
+
});
|
44
|
+
|
45
|
+
/**
|
46
|
+
* The shape of the model mapping from the application shape into the api schema.
|
47
|
+
* Is equal to application shape if all property names match the api schema
|
48
|
+
*/
|
49
|
+
export const deviceRequest: any = z.lazy(() => {
|
50
|
+
return z
|
51
|
+
.object({
|
52
|
+
oem: z.string().nullish(),
|
53
|
+
hardwareName: z.string().nullish(),
|
54
|
+
hardwareModel: z.string().nullish(),
|
55
|
+
eid: z.string().nullish(),
|
56
|
+
})
|
57
|
+
.transform((data) => ({
|
58
|
+
oem: data['oem'],
|
59
|
+
hardwareName: data['hardwareName'],
|
60
|
+
hardwareModel: data['hardwareModel'],
|
61
|
+
eid: data['eid'],
|
62
|
+
}));
|
63
|
+
});
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { device, deviceRequest, deviceResponse } from './device';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* The shape of the model inside the application code - what the users use
|
6
|
+
*/
|
7
|
+
export const getEsimDeviceOkResponse: any = z.lazy(() => {
|
8
|
+
return z.object({
|
9
|
+
device: device.optional(),
|
10
|
+
});
|
11
|
+
});
|
12
|
+
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @typedef {GetEsimDeviceOkResponse} getEsimDeviceOkResponse
|
16
|
+
* @property {Device}
|
17
|
+
*/
|
18
|
+
export type GetEsimDeviceOkResponse = z.infer<typeof getEsimDeviceOkResponse>;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* The shape of the model mapping from the api schema into the application shape.
|
22
|
+
* Is equal to application shape if all property names match the api schema
|
23
|
+
*/
|
24
|
+
export const getEsimDeviceOkResponseResponse: any = z.lazy(() => {
|
25
|
+
return z
|
26
|
+
.object({
|
27
|
+
device: deviceResponse.optional(),
|
28
|
+
})
|
29
|
+
.transform((data) => ({
|
30
|
+
device: data['device'],
|
31
|
+
}));
|
32
|
+
});
|
33
|
+
|
34
|
+
/**
|
35
|
+
* The shape of the model mapping from the application shape into the api schema.
|
36
|
+
* Is equal to application shape if all property names match the api schema
|
37
|
+
*/
|
38
|
+
export const getEsimDeviceOkResponseRequest: any = z.lazy(() => {
|
39
|
+
return z.object({ device: deviceRequest.nullish() }).transform((data) => ({
|
40
|
+
device: data['device'],
|
41
|
+
}));
|
42
|
+
});
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { history, historyRequest, historyResponse } from './history';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* The shape of the model inside the application code - what the users use
|
6
|
+
*/
|
7
|
+
export const getEsimHistoryOkResponseEsim: any = z.lazy(() => {
|
8
|
+
return z.object({
|
9
|
+
iccid: z.string().min(18).max(22).optional(),
|
10
|
+
history: z.array(history).optional(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {GetEsimHistoryOkResponseEsim} getEsimHistoryOkResponseEsim
|
17
|
+
* @property {string} - ID of the eSIM
|
18
|
+
* @property {History[]}
|
19
|
+
*/
|
20
|
+
export type GetEsimHistoryOkResponseEsim = z.infer<typeof getEsimHistoryOkResponseEsim>;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* The shape of the model mapping from the api schema into the application shape.
|
24
|
+
* Is equal to application shape if all property names match the api schema
|
25
|
+
*/
|
26
|
+
export const getEsimHistoryOkResponseEsimResponse: any = z.lazy(() => {
|
27
|
+
return z
|
28
|
+
.object({
|
29
|
+
iccid: z.string().min(18).max(22).optional(),
|
30
|
+
history: z.array(historyResponse).optional(),
|
31
|
+
})
|
32
|
+
.transform((data) => ({
|
33
|
+
iccid: data['iccid'],
|
34
|
+
history: data['history'],
|
35
|
+
}));
|
36
|
+
});
|
37
|
+
|
38
|
+
/**
|
39
|
+
* The shape of the model mapping from the application shape into the api schema.
|
40
|
+
* Is equal to application shape if all property names match the api schema
|
41
|
+
*/
|
42
|
+
export const getEsimHistoryOkResponseEsimRequest: any = z.lazy(() => {
|
43
|
+
return z.object({ iccid: z.string().nullish(), history: z.array(historyRequest).nullish() }).transform((data) => ({
|
44
|
+
iccid: data['iccid'],
|
45
|
+
history: data['history'],
|
46
|
+
}));
|
47
|
+
});
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import {
|
3
|
+
getEsimHistoryOkResponseEsim,
|
4
|
+
getEsimHistoryOkResponseEsimRequest,
|
5
|
+
getEsimHistoryOkResponseEsimResponse,
|
6
|
+
} from './get-esim-history-ok-response-esim';
|
7
|
+
|
8
|
+
/**
|
9
|
+
* The shape of the model inside the application code - what the users use
|
10
|
+
*/
|
11
|
+
export const getEsimHistoryOkResponse: any = z.lazy(() => {
|
12
|
+
return z.object({
|
13
|
+
esim: getEsimHistoryOkResponseEsim.optional(),
|
14
|
+
});
|
15
|
+
});
|
16
|
+
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @typedef {GetEsimHistoryOkResponse} getEsimHistoryOkResponse
|
20
|
+
* @property {GetEsimHistoryOkResponseEsim}
|
21
|
+
*/
|
22
|
+
export type GetEsimHistoryOkResponse = z.infer<typeof getEsimHistoryOkResponse>;
|
23
|
+
|
24
|
+
/**
|
25
|
+
* The shape of the model mapping from the api schema into the application shape.
|
26
|
+
* Is equal to application shape if all property names match the api schema
|
27
|
+
*/
|
28
|
+
export const getEsimHistoryOkResponseResponse: any = z.lazy(() => {
|
29
|
+
return z
|
30
|
+
.object({
|
31
|
+
esim: getEsimHistoryOkResponseEsimResponse.optional(),
|
32
|
+
})
|
33
|
+
.transform((data) => ({
|
34
|
+
esim: data['esim'],
|
35
|
+
}));
|
36
|
+
});
|
37
|
+
|
38
|
+
/**
|
39
|
+
* The shape of the model mapping from the application shape into the api schema.
|
40
|
+
* Is equal to application shape if all property names match the api schema
|
41
|
+
*/
|
42
|
+
export const getEsimHistoryOkResponseRequest: any = z.lazy(() => {
|
43
|
+
return z.object({ esim: getEsimHistoryOkResponseEsimRequest.nullish() }).transform((data) => ({
|
44
|
+
esim: data['esim'],
|
45
|
+
}));
|
46
|
+
});
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The shape of the model inside the application code - what the users use
|
5
|
+
*/
|
6
|
+
export const getEsimMacOkResponseEsim: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
iccid: z.string().min(18).max(22).optional(),
|
9
|
+
smdpAddress: z.string().optional(),
|
10
|
+
manualActivationCode: z.string().optional(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {GetEsimMacOkResponseEsim} getEsimMacOkResponseEsim
|
17
|
+
* @property {string} - ID of the eSIM
|
18
|
+
* @property {string} - SM-DP+ Address
|
19
|
+
* @property {string} - The manual activation code
|
20
|
+
*/
|
21
|
+
export type GetEsimMacOkResponseEsim = z.infer<typeof getEsimMacOkResponseEsim>;
|
22
|
+
|
23
|
+
/**
|
24
|
+
* The shape of the model mapping from the api schema into the application shape.
|
25
|
+
* Is equal to application shape if all property names match the api schema
|
26
|
+
*/
|
27
|
+
export const getEsimMacOkResponseEsimResponse: any = z.lazy(() => {
|
28
|
+
return z
|
29
|
+
.object({
|
30
|
+
iccid: z.string().min(18).max(22).optional(),
|
31
|
+
smdpAddress: z.string().optional(),
|
32
|
+
manualActivationCode: z.string().optional(),
|
33
|
+
})
|
34
|
+
.transform((data) => ({
|
35
|
+
iccid: data['iccid'],
|
36
|
+
smdpAddress: data['smdpAddress'],
|
37
|
+
manualActivationCode: data['manualActivationCode'],
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
|
41
|
+
/**
|
42
|
+
* The shape of the model mapping from the application shape into the api schema.
|
43
|
+
* Is equal to application shape if all property names match the api schema
|
44
|
+
*/
|
45
|
+
export const getEsimMacOkResponseEsimRequest: any = z.lazy(() => {
|
46
|
+
return z
|
47
|
+
.object({
|
48
|
+
iccid: z.string().nullish(),
|
49
|
+
smdpAddress: z.string().nullish(),
|
50
|
+
manualActivationCode: z.string().nullish(),
|
51
|
+
})
|
52
|
+
.transform((data) => ({
|
53
|
+
iccid: data['iccid'],
|
54
|
+
smdpAddress: data['smdpAddress'],
|
55
|
+
manualActivationCode: data['manualActivationCode'],
|
56
|
+
}));
|
57
|
+
});
|