celitech-sdk 1.1.66 → 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,93 @@
|
|
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 createPurchaseRequest: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
destination: z.string(),
|
9
|
+
dataLimitInGb: z.number(),
|
10
|
+
startDate: z.string(),
|
11
|
+
endDate: z.string(),
|
12
|
+
email: z.string().optional(),
|
13
|
+
referenceId: z.string().optional(),
|
14
|
+
networkBrand: z.string().optional(),
|
15
|
+
startTime: z.number().optional(),
|
16
|
+
endTime: z.number().optional(),
|
17
|
+
});
|
18
|
+
});
|
19
|
+
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @typedef {CreatePurchaseRequest} createPurchaseRequest
|
23
|
+
* @property {string} - ISO representation of the package's destination
|
24
|
+
* @property {number} - Size of the package in GB. The available options are 1, 2, 3, 5, 8, 20GB
|
25
|
+
* @property {string} - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
|
26
|
+
* @property {string} - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
|
27
|
+
* @property {string} - Email address where the purchase confirmation email will be sent (including QR Code & activation steps)
|
28
|
+
* @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
|
29
|
+
* @property {string} - Customize the network brand of the issued eSIM. This parameter is accessible to platforms with Diamond tier and requires an alphanumeric string of up to 15 characters
|
30
|
+
* @property {number} - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months.
|
31
|
+
* @property {number} - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
|
32
|
+
*/
|
33
|
+
export type CreatePurchaseRequest = z.infer<typeof createPurchaseRequest>;
|
34
|
+
|
35
|
+
/**
|
36
|
+
* The shape of the model mapping from the api schema into the application shape.
|
37
|
+
* Is equal to application shape if all property names match the api schema
|
38
|
+
*/
|
39
|
+
export const createPurchaseRequestResponse: any = z.lazy(() => {
|
40
|
+
return z
|
41
|
+
.object({
|
42
|
+
destination: z.string(),
|
43
|
+
dataLimitInGB: z.number(),
|
44
|
+
startDate: z.string(),
|
45
|
+
endDate: z.string(),
|
46
|
+
email: z.string().optional(),
|
47
|
+
referenceId: z.string().optional(),
|
48
|
+
networkBrand: z.string().optional(),
|
49
|
+
startTime: z.number().optional(),
|
50
|
+
endTime: z.number().optional(),
|
51
|
+
})
|
52
|
+
.transform((data) => ({
|
53
|
+
destination: data['destination'],
|
54
|
+
dataLimitInGb: data['dataLimitInGB'],
|
55
|
+
startDate: data['startDate'],
|
56
|
+
endDate: data['endDate'],
|
57
|
+
email: data['email'],
|
58
|
+
referenceId: data['referenceId'],
|
59
|
+
networkBrand: data['networkBrand'],
|
60
|
+
startTime: data['startTime'],
|
61
|
+
endTime: data['endTime'],
|
62
|
+
}));
|
63
|
+
});
|
64
|
+
|
65
|
+
/**
|
66
|
+
* The shape of the model mapping from the application shape into the api schema.
|
67
|
+
* Is equal to application shape if all property names match the api schema
|
68
|
+
*/
|
69
|
+
export const createPurchaseRequestRequest: any = z.lazy(() => {
|
70
|
+
return z
|
71
|
+
.object({
|
72
|
+
destination: z.string().nullish(),
|
73
|
+
dataLimitInGb: z.number().nullish(),
|
74
|
+
startDate: z.string().nullish(),
|
75
|
+
endDate: z.string().nullish(),
|
76
|
+
email: z.string().nullish(),
|
77
|
+
referenceId: z.string().nullish(),
|
78
|
+
networkBrand: z.string().nullish(),
|
79
|
+
startTime: z.number().nullish(),
|
80
|
+
endTime: z.number().nullish(),
|
81
|
+
})
|
82
|
+
.transform((data) => ({
|
83
|
+
destination: data['destination'],
|
84
|
+
dataLimitInGB: data['dataLimitInGb'],
|
85
|
+
startDate: data['startDate'],
|
86
|
+
endDate: data['endDate'],
|
87
|
+
email: data['email'],
|
88
|
+
referenceId: data['referenceId'],
|
89
|
+
networkBrand: data['networkBrand'],
|
90
|
+
startTime: data['startTime'],
|
91
|
+
endTime: data['endTime'],
|
92
|
+
}));
|
93
|
+
});
|
@@ -0,0 +1,69 @@
|
|
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 editPurchaseOkResponse: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
purchaseId: z.string().optional(),
|
9
|
+
newStartDate: z.string().optional(),
|
10
|
+
newEndDate: z.string().optional(),
|
11
|
+
newStartTime: z.number().optional(),
|
12
|
+
newEndTime: z.number().optional(),
|
13
|
+
});
|
14
|
+
});
|
15
|
+
|
16
|
+
/**
|
17
|
+
*
|
18
|
+
* @typedef {EditPurchaseOkResponse} editPurchaseOkResponse
|
19
|
+
* @property {string} - ID of the purchase
|
20
|
+
* @property {string} - Start date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
21
|
+
* @property {string} - End date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
22
|
+
* @property {number} - Epoch value representing the new start time of the package's validity
|
23
|
+
* @property {number} - Epoch value representing the new end time of the package's validity
|
24
|
+
*/
|
25
|
+
export type EditPurchaseOkResponse = z.infer<typeof editPurchaseOkResponse>;
|
26
|
+
|
27
|
+
/**
|
28
|
+
* The shape of the model mapping from the api schema into the application shape.
|
29
|
+
* Is equal to application shape if all property names match the api schema
|
30
|
+
*/
|
31
|
+
export const editPurchaseOkResponseResponse: any = z.lazy(() => {
|
32
|
+
return z
|
33
|
+
.object({
|
34
|
+
purchaseId: z.string().optional(),
|
35
|
+
newStartDate: z.string().optional(),
|
36
|
+
newEndDate: z.string().optional(),
|
37
|
+
newStartTime: z.number().optional(),
|
38
|
+
newEndTime: z.number().optional(),
|
39
|
+
})
|
40
|
+
.transform((data) => ({
|
41
|
+
purchaseId: data['purchaseId'],
|
42
|
+
newStartDate: data['newStartDate'],
|
43
|
+
newEndDate: data['newEndDate'],
|
44
|
+
newStartTime: data['newStartTime'],
|
45
|
+
newEndTime: data['newEndTime'],
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
|
49
|
+
/**
|
50
|
+
* The shape of the model mapping from the application shape into the api schema.
|
51
|
+
* Is equal to application shape if all property names match the api schema
|
52
|
+
*/
|
53
|
+
export const editPurchaseOkResponseRequest: any = z.lazy(() => {
|
54
|
+
return z
|
55
|
+
.object({
|
56
|
+
purchaseId: z.string().nullish(),
|
57
|
+
newStartDate: z.string().nullish(),
|
58
|
+
newEndDate: z.string().nullish(),
|
59
|
+
newStartTime: z.number().nullish(),
|
60
|
+
newEndTime: z.number().nullish(),
|
61
|
+
})
|
62
|
+
.transform((data) => ({
|
63
|
+
purchaseId: data['purchaseId'],
|
64
|
+
newStartDate: data['newStartDate'],
|
65
|
+
newEndDate: data['newEndDate'],
|
66
|
+
newStartTime: data['newStartTime'],
|
67
|
+
newEndTime: data['newEndTime'],
|
68
|
+
}));
|
69
|
+
});
|
@@ -0,0 +1,69 @@
|
|
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 editPurchaseRequest: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
purchaseId: z.string(),
|
9
|
+
startDate: z.string(),
|
10
|
+
endDate: z.string(),
|
11
|
+
startTime: z.number().optional(),
|
12
|
+
endTime: z.number().optional(),
|
13
|
+
});
|
14
|
+
});
|
15
|
+
|
16
|
+
/**
|
17
|
+
*
|
18
|
+
* @typedef {EditPurchaseRequest} editPurchaseRequest
|
19
|
+
* @property {string} - ID of the purchase
|
20
|
+
* @property {string} - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
|
21
|
+
* @property {string} - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
|
22
|
+
* @property {number} - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months.
|
23
|
+
* @property {number} - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
|
24
|
+
*/
|
25
|
+
export type EditPurchaseRequest = z.infer<typeof editPurchaseRequest>;
|
26
|
+
|
27
|
+
/**
|
28
|
+
* The shape of the model mapping from the api schema into the application shape.
|
29
|
+
* Is equal to application shape if all property names match the api schema
|
30
|
+
*/
|
31
|
+
export const editPurchaseRequestResponse: any = z.lazy(() => {
|
32
|
+
return z
|
33
|
+
.object({
|
34
|
+
purchaseId: z.string(),
|
35
|
+
startDate: z.string(),
|
36
|
+
endDate: z.string(),
|
37
|
+
startTime: z.number().optional(),
|
38
|
+
endTime: z.number().optional(),
|
39
|
+
})
|
40
|
+
.transform((data) => ({
|
41
|
+
purchaseId: data['purchaseId'],
|
42
|
+
startDate: data['startDate'],
|
43
|
+
endDate: data['endDate'],
|
44
|
+
startTime: data['startTime'],
|
45
|
+
endTime: data['endTime'],
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
|
49
|
+
/**
|
50
|
+
* The shape of the model mapping from the application shape into the api schema.
|
51
|
+
* Is equal to application shape if all property names match the api schema
|
52
|
+
*/
|
53
|
+
export const editPurchaseRequestRequest: any = z.lazy(() => {
|
54
|
+
return z
|
55
|
+
.object({
|
56
|
+
purchaseId: z.string().nullish(),
|
57
|
+
startDate: z.string().nullish(),
|
58
|
+
endDate: z.string().nullish(),
|
59
|
+
startTime: z.number().nullish(),
|
60
|
+
endTime: z.number().nullish(),
|
61
|
+
})
|
62
|
+
.transform((data) => ({
|
63
|
+
purchaseId: data['purchaseId'],
|
64
|
+
startDate: data['startDate'],
|
65
|
+
endDate: data['endDate'],
|
66
|
+
startTime: data['startTime'],
|
67
|
+
endTime: data['endTime'],
|
68
|
+
}));
|
69
|
+
});
|
@@ -0,0 +1,48 @@
|
|
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 getPurchaseConsumptionOkResponse: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
dataUsageRemainingInBytes: z.number().optional(),
|
9
|
+
status: z.string().optional(),
|
10
|
+
});
|
11
|
+
});
|
12
|
+
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @typedef {GetPurchaseConsumptionOkResponse} getPurchaseConsumptionOkResponse
|
16
|
+
* @property {number} - Remaining balance of the package in bytes
|
17
|
+
* @property {string} - Status of the connectivity, possible values are 'ACTIVE' or 'NOT_ACTIVE'
|
18
|
+
*/
|
19
|
+
export type GetPurchaseConsumptionOkResponse = z.infer<typeof getPurchaseConsumptionOkResponse>;
|
20
|
+
|
21
|
+
/**
|
22
|
+
* The shape of the model mapping from the api schema into the application shape.
|
23
|
+
* Is equal to application shape if all property names match the api schema
|
24
|
+
*/
|
25
|
+
export const getPurchaseConsumptionOkResponseResponse: any = z.lazy(() => {
|
26
|
+
return z
|
27
|
+
.object({
|
28
|
+
dataUsageRemainingInBytes: z.number().optional(),
|
29
|
+
status: z.string().optional(),
|
30
|
+
})
|
31
|
+
.transform((data) => ({
|
32
|
+
dataUsageRemainingInBytes: data['dataUsageRemainingInBytes'],
|
33
|
+
status: data['status'],
|
34
|
+
}));
|
35
|
+
});
|
36
|
+
|
37
|
+
/**
|
38
|
+
* The shape of the model mapping from the application shape into the api schema.
|
39
|
+
* Is equal to application shape if all property names match the api schema
|
40
|
+
*/
|
41
|
+
export const getPurchaseConsumptionOkResponseRequest: any = z.lazy(() => {
|
42
|
+
return z
|
43
|
+
.object({ dataUsageRemainingInBytes: z.number().nullish(), status: z.string().nullish() })
|
44
|
+
.transform((data) => ({
|
45
|
+
dataUsageRemainingInBytes: data['dataUsageRemainingInBytes'],
|
46
|
+
status: data['status'],
|
47
|
+
}));
|
48
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export * from './list-purchases-ok-response';
|
2
|
+
export * from './create-purchase-request';
|
3
|
+
export * from './create-purchase-ok-response';
|
4
|
+
export * from './top-up-esim-request';
|
5
|
+
export * from './top-up-esim-ok-response';
|
6
|
+
export * from './edit-purchase-request';
|
7
|
+
export * from './edit-purchase-ok-response';
|
8
|
+
export * from './get-purchase-consumption-ok-response';
|
9
|
+
export * from './purchases';
|
10
|
+
export * from './package_';
|
11
|
+
export * from './purchases-esim';
|
12
|
+
export * from './create-purchase-ok-response-purchase';
|
13
|
+
export * from './create-purchase-ok-response-profile';
|
14
|
+
export * from './top-up-esim-ok-response-purchase';
|
15
|
+
export * from './top-up-esim-ok-response-profile';
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { purchases, purchasesRequest, purchasesResponse } from './purchases';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* The shape of the model inside the application code - what the users use
|
6
|
+
*/
|
7
|
+
export const listPurchasesOkResponse: any = z.lazy(() => {
|
8
|
+
return z.object({
|
9
|
+
purchases: z.array(purchases).optional(),
|
10
|
+
afterCursor: z.string().optional().nullable(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {ListPurchasesOkResponse} listPurchasesOkResponse
|
17
|
+
* @property {Purchases[]}
|
18
|
+
* @property {string} - The cursor value representing the end of the current page of results. Use this cursor value as the "afterCursor" parameter in your next request to retrieve the subsequent page of results. It ensures that you continue fetching data from where you left off, facilitating smooth pagination.
|
19
|
+
*/
|
20
|
+
export type ListPurchasesOkResponse = z.infer<typeof listPurchasesOkResponse>;
|
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 listPurchasesOkResponseResponse: any = z.lazy(() => {
|
27
|
+
return z
|
28
|
+
.object({
|
29
|
+
purchases: z.array(purchasesResponse).optional(),
|
30
|
+
afterCursor: z.string().optional().nullable(),
|
31
|
+
})
|
32
|
+
.transform((data) => ({
|
33
|
+
purchases: data['purchases'],
|
34
|
+
afterCursor: data['afterCursor'],
|
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 listPurchasesOkResponseRequest: any = z.lazy(() => {
|
43
|
+
return z
|
44
|
+
.object({ purchases: z.array(purchasesRequest).nullish(), afterCursor: z.string().nullish() })
|
45
|
+
.transform((data) => ({
|
46
|
+
purchases: data['purchases'],
|
47
|
+
afterCursor: data['afterCursor'],
|
48
|
+
}));
|
49
|
+
});
|
@@ -0,0 +1,69 @@
|
|
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 package_: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
id: z.string().optional(),
|
9
|
+
dataLimitInBytes: z.number().optional(),
|
10
|
+
destination: z.string().optional(),
|
11
|
+
destinationName: z.string().optional(),
|
12
|
+
priceInCents: z.number().optional(),
|
13
|
+
});
|
14
|
+
});
|
15
|
+
|
16
|
+
/**
|
17
|
+
*
|
18
|
+
* @typedef {Package_} package_
|
19
|
+
* @property {string} - ID of the package
|
20
|
+
* @property {number} - Size of the package in Bytes
|
21
|
+
* @property {string} - ISO representation of the package's destination
|
22
|
+
* @property {string} - Name of the package's destination
|
23
|
+
* @property {number} - Price of the package in cents
|
24
|
+
*/
|
25
|
+
export type Package_ = z.infer<typeof package_>;
|
26
|
+
|
27
|
+
/**
|
28
|
+
* The shape of the model mapping from the api schema into the application shape.
|
29
|
+
* Is equal to application shape if all property names match the api schema
|
30
|
+
*/
|
31
|
+
export const packageResponse: any = z.lazy(() => {
|
32
|
+
return z
|
33
|
+
.object({
|
34
|
+
id: z.string().optional(),
|
35
|
+
dataLimitInBytes: z.number().optional(),
|
36
|
+
destination: z.string().optional(),
|
37
|
+
destinationName: z.string().optional(),
|
38
|
+
priceInCents: z.number().optional(),
|
39
|
+
})
|
40
|
+
.transform((data) => ({
|
41
|
+
id: data['id'],
|
42
|
+
dataLimitInBytes: data['dataLimitInBytes'],
|
43
|
+
destination: data['destination'],
|
44
|
+
destinationName: data['destinationName'],
|
45
|
+
priceInCents: data['priceInCents'],
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
|
49
|
+
/**
|
50
|
+
* The shape of the model mapping from the application shape into the api schema.
|
51
|
+
* Is equal to application shape if all property names match the api schema
|
52
|
+
*/
|
53
|
+
export const packageRequest: any = z.lazy(() => {
|
54
|
+
return z
|
55
|
+
.object({
|
56
|
+
id: z.string().nullish(),
|
57
|
+
dataLimitInBytes: z.number().nullish(),
|
58
|
+
destination: z.string().nullish(),
|
59
|
+
destinationName: z.string().nullish(),
|
60
|
+
priceInCents: z.number().nullish(),
|
61
|
+
})
|
62
|
+
.transform((data) => ({
|
63
|
+
id: data['id'],
|
64
|
+
dataLimitInBytes: data['dataLimitInBytes'],
|
65
|
+
destination: data['destination'],
|
66
|
+
destinationName: data['destinationName'],
|
67
|
+
priceInCents: data['priceInCents'],
|
68
|
+
}));
|
69
|
+
});
|
@@ -0,0 +1,41 @@
|
|
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 purchasesEsim: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
iccid: z.string().min(18).max(22).optional(),
|
9
|
+
});
|
10
|
+
});
|
11
|
+
|
12
|
+
/**
|
13
|
+
*
|
14
|
+
* @typedef {PurchasesEsim} purchasesEsim
|
15
|
+
* @property {string} - ID of the eSIM
|
16
|
+
*/
|
17
|
+
export type PurchasesEsim = z.infer<typeof purchasesEsim>;
|
18
|
+
|
19
|
+
/**
|
20
|
+
* The shape of the model mapping from the api schema into the application shape.
|
21
|
+
* Is equal to application shape if all property names match the api schema
|
22
|
+
*/
|
23
|
+
export const purchasesEsimResponse: any = z.lazy(() => {
|
24
|
+
return z
|
25
|
+
.object({
|
26
|
+
iccid: z.string().min(18).max(22).optional(),
|
27
|
+
})
|
28
|
+
.transform((data) => ({
|
29
|
+
iccid: data['iccid'],
|
30
|
+
}));
|
31
|
+
});
|
32
|
+
|
33
|
+
/**
|
34
|
+
* The shape of the model mapping from the application shape into the api schema.
|
35
|
+
* Is equal to application shape if all property names match the api schema
|
36
|
+
*/
|
37
|
+
export const purchasesEsimRequest: any = z.lazy(() => {
|
38
|
+
return z.object({ iccid: z.string().nullish() }).transform((data) => ({
|
39
|
+
iccid: data['iccid'],
|
40
|
+
}));
|
41
|
+
});
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { packageRequest, packageResponse, package_ } from './package_';
|
3
|
+
import { purchasesEsim, purchasesEsimRequest, purchasesEsimResponse } from './purchases-esim';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* The shape of the model inside the application code - what the users use
|
7
|
+
*/
|
8
|
+
export const purchases: any = z.lazy(() => {
|
9
|
+
return z.object({
|
10
|
+
id: z.string().optional(),
|
11
|
+
startDate: z.string().optional(),
|
12
|
+
endDate: z.string().optional(),
|
13
|
+
createdDate: z.string().optional(),
|
14
|
+
startTime: z.number().optional(),
|
15
|
+
endTime: z.number().optional(),
|
16
|
+
createdAt: z.number().optional(),
|
17
|
+
package: package_.optional(),
|
18
|
+
esim: purchasesEsim.optional(),
|
19
|
+
source: z.string().optional(),
|
20
|
+
referenceId: z.string().optional(),
|
21
|
+
});
|
22
|
+
});
|
23
|
+
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @typedef {Purchases} purchases
|
27
|
+
* @property {string} - ID of the purchase
|
28
|
+
* @property {string} - Start date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
29
|
+
* @property {string} - End date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
30
|
+
* @property {string} - Creation date of the purchase in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
31
|
+
* @property {number} - Epoch value representing the start time of the package's validity
|
32
|
+
* @property {number} - Epoch value representing the end time of the package's validity
|
33
|
+
* @property {number} - Epoch value representing the date of creation of the purchase
|
34
|
+
* @property {Package_}
|
35
|
+
* @property {PurchasesEsim}
|
36
|
+
* @property {string} - The source indicates where the eSIM was purchased, which can be from the API, dashboard, landing-page or promo-page. For purchases made before September 8, 2023, the value will be displayed as 'Not available'.
|
37
|
+
* @property {string} - The referenceId that was provided by the partner during the purchase or topup flow. This identifier can be used for analytics and debugging purposes.
|
38
|
+
*/
|
39
|
+
export type Purchases = z.infer<typeof purchases>;
|
40
|
+
|
41
|
+
/**
|
42
|
+
* The shape of the model mapping from the api schema into the application shape.
|
43
|
+
* Is equal to application shape if all property names match the api schema
|
44
|
+
*/
|
45
|
+
export const purchasesResponse: any = z.lazy(() => {
|
46
|
+
return z
|
47
|
+
.object({
|
48
|
+
id: z.string().optional(),
|
49
|
+
startDate: z.string().optional(),
|
50
|
+
endDate: z.string().optional(),
|
51
|
+
createdDate: z.string().optional(),
|
52
|
+
startTime: z.number().optional(),
|
53
|
+
endTime: z.number().optional(),
|
54
|
+
createdAt: z.number().optional(),
|
55
|
+
package: packageResponse.optional(),
|
56
|
+
esim: purchasesEsimResponse.optional(),
|
57
|
+
source: z.string().optional(),
|
58
|
+
referenceId: z.string().optional(),
|
59
|
+
})
|
60
|
+
.transform((data) => ({
|
61
|
+
id: data['id'],
|
62
|
+
startDate: data['startDate'],
|
63
|
+
endDate: data['endDate'],
|
64
|
+
createdDate: data['createdDate'],
|
65
|
+
startTime: data['startTime'],
|
66
|
+
endTime: data['endTime'],
|
67
|
+
createdAt: data['createdAt'],
|
68
|
+
package: data['package'],
|
69
|
+
esim: data['esim'],
|
70
|
+
source: data['source'],
|
71
|
+
referenceId: data['referenceId'],
|
72
|
+
}));
|
73
|
+
});
|
74
|
+
|
75
|
+
/**
|
76
|
+
* The shape of the model mapping from the application shape into the api schema.
|
77
|
+
* Is equal to application shape if all property names match the api schema
|
78
|
+
*/
|
79
|
+
export const purchasesRequest: any = z.lazy(() => {
|
80
|
+
return z
|
81
|
+
.object({
|
82
|
+
id: z.string().nullish(),
|
83
|
+
startDate: z.string().nullish(),
|
84
|
+
endDate: z.string().nullish(),
|
85
|
+
createdDate: z.string().nullish(),
|
86
|
+
startTime: z.number().nullish(),
|
87
|
+
endTime: z.number().nullish(),
|
88
|
+
createdAt: z.number().nullish(),
|
89
|
+
package: packageRequest.nullish(),
|
90
|
+
esim: purchasesEsimRequest.nullish(),
|
91
|
+
source: z.string().nullish(),
|
92
|
+
referenceId: z.string().nullish(),
|
93
|
+
})
|
94
|
+
.transform((data) => ({
|
95
|
+
id: data['id'],
|
96
|
+
startDate: data['startDate'],
|
97
|
+
endDate: data['endDate'],
|
98
|
+
createdDate: data['createdDate'],
|
99
|
+
startTime: data['startTime'],
|
100
|
+
endTime: data['endTime'],
|
101
|
+
createdAt: data['createdAt'],
|
102
|
+
package: data['package'],
|
103
|
+
esim: data['esim'],
|
104
|
+
source: data['source'],
|
105
|
+
referenceId: data['referenceId'],
|
106
|
+
}));
|
107
|
+
});
|
@@ -0,0 +1,41 @@
|
|
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 topUpEsimOkResponseProfile: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
iccid: z.string().min(18).max(22).optional(),
|
9
|
+
});
|
10
|
+
});
|
11
|
+
|
12
|
+
/**
|
13
|
+
*
|
14
|
+
* @typedef {TopUpEsimOkResponseProfile} topUpEsimOkResponseProfile
|
15
|
+
* @property {string} - ID of the eSIM
|
16
|
+
*/
|
17
|
+
export type TopUpEsimOkResponseProfile = z.infer<typeof topUpEsimOkResponseProfile>;
|
18
|
+
|
19
|
+
/**
|
20
|
+
* The shape of the model mapping from the api schema into the application shape.
|
21
|
+
* Is equal to application shape if all property names match the api schema
|
22
|
+
*/
|
23
|
+
export const topUpEsimOkResponseProfileResponse: any = z.lazy(() => {
|
24
|
+
return z
|
25
|
+
.object({
|
26
|
+
iccid: z.string().min(18).max(22).optional(),
|
27
|
+
})
|
28
|
+
.transform((data) => ({
|
29
|
+
iccid: data['iccid'],
|
30
|
+
}));
|
31
|
+
});
|
32
|
+
|
33
|
+
/**
|
34
|
+
* The shape of the model mapping from the application shape into the api schema.
|
35
|
+
* Is equal to application shape if all property names match the api schema
|
36
|
+
*/
|
37
|
+
export const topUpEsimOkResponseProfileRequest: any = z.lazy(() => {
|
38
|
+
return z.object({ iccid: z.string().nullish() }).transform((data) => ({
|
39
|
+
iccid: data['iccid'],
|
40
|
+
}));
|
41
|
+
});
|
@@ -0,0 +1,81 @@
|
|
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 topUpEsimOkResponsePurchase: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
id: z.string().optional(),
|
9
|
+
packageId: z.string().optional(),
|
10
|
+
startDate: z.string().optional(),
|
11
|
+
endDate: z.string().optional(),
|
12
|
+
createdDate: z.string().optional(),
|
13
|
+
startTime: z.number().optional(),
|
14
|
+
endTime: z.number().optional(),
|
15
|
+
});
|
16
|
+
});
|
17
|
+
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @typedef {TopUpEsimOkResponsePurchase} topUpEsimOkResponsePurchase
|
21
|
+
* @property {string} - ID of the purchase
|
22
|
+
* @property {string} - ID of the package
|
23
|
+
* @property {string} - Start date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
24
|
+
* @property {string} - End date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
25
|
+
* @property {string} - Creation date of the purchase in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
26
|
+
* @property {number} - Epoch value representing the start time of the package's validity
|
27
|
+
* @property {number} - Epoch value representing the end time of the package's validity
|
28
|
+
*/
|
29
|
+
export type TopUpEsimOkResponsePurchase = z.infer<typeof topUpEsimOkResponsePurchase>;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* The shape of the model mapping from the api schema into the application shape.
|
33
|
+
* Is equal to application shape if all property names match the api schema
|
34
|
+
*/
|
35
|
+
export const topUpEsimOkResponsePurchaseResponse: any = z.lazy(() => {
|
36
|
+
return z
|
37
|
+
.object({
|
38
|
+
id: z.string().optional(),
|
39
|
+
packageId: z.string().optional(),
|
40
|
+
startDate: z.string().optional(),
|
41
|
+
endDate: z.string().optional(),
|
42
|
+
createdDate: z.string().optional(),
|
43
|
+
startTime: z.number().optional(),
|
44
|
+
endTime: z.number().optional(),
|
45
|
+
})
|
46
|
+
.transform((data) => ({
|
47
|
+
id: data['id'],
|
48
|
+
packageId: data['packageId'],
|
49
|
+
startDate: data['startDate'],
|
50
|
+
endDate: data['endDate'],
|
51
|
+
createdDate: data['createdDate'],
|
52
|
+
startTime: data['startTime'],
|
53
|
+
endTime: data['endTime'],
|
54
|
+
}));
|
55
|
+
});
|
56
|
+
|
57
|
+
/**
|
58
|
+
* The shape of the model mapping from the application shape into the api schema.
|
59
|
+
* Is equal to application shape if all property names match the api schema
|
60
|
+
*/
|
61
|
+
export const topUpEsimOkResponsePurchaseRequest: any = z.lazy(() => {
|
62
|
+
return z
|
63
|
+
.object({
|
64
|
+
id: z.string().nullish(),
|
65
|
+
packageId: z.string().nullish(),
|
66
|
+
startDate: z.string().nullish(),
|
67
|
+
endDate: z.string().nullish(),
|
68
|
+
createdDate: z.string().nullish(),
|
69
|
+
startTime: z.number().nullish(),
|
70
|
+
endTime: z.number().nullish(),
|
71
|
+
})
|
72
|
+
.transform((data) => ({
|
73
|
+
id: data['id'],
|
74
|
+
packageId: data['packageId'],
|
75
|
+
startDate: data['startDate'],
|
76
|
+
endDate: data['endDate'],
|
77
|
+
createdDate: data['createdDate'],
|
78
|
+
startTime: data['startTime'],
|
79
|
+
endTime: data['endTime'],
|
80
|
+
}));
|
81
|
+
});
|