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,46 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import {
|
3
|
+
getEsimMacOkResponseEsim,
|
4
|
+
getEsimMacOkResponseEsimRequest,
|
5
|
+
getEsimMacOkResponseEsimResponse,
|
6
|
+
} from './get-esim-mac-ok-response-esim';
|
7
|
+
|
8
|
+
/**
|
9
|
+
* The shape of the model inside the application code - what the users use
|
10
|
+
*/
|
11
|
+
export const getEsimMacOkResponse: any = z.lazy(() => {
|
12
|
+
return z.object({
|
13
|
+
esim: getEsimMacOkResponseEsim.optional(),
|
14
|
+
});
|
15
|
+
});
|
16
|
+
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @typedef {GetEsimMacOkResponse} getEsimMacOkResponse
|
20
|
+
* @property {GetEsimMacOkResponseEsim}
|
21
|
+
*/
|
22
|
+
export type GetEsimMacOkResponse = z.infer<typeof getEsimMacOkResponse>;
|
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 getEsimMacOkResponseResponse: any = z.lazy(() => {
|
29
|
+
return z
|
30
|
+
.object({
|
31
|
+
esim: getEsimMacOkResponseEsimResponse.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 getEsimMacOkResponseRequest: any = z.lazy(() => {
|
43
|
+
return z.object({ esim: getEsimMacOkResponseEsimRequest.nullish() }).transform((data) => ({
|
44
|
+
esim: data['esim'],
|
45
|
+
}));
|
46
|
+
});
|
@@ -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 getEsimOkResponseEsim: 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
|
+
status: z.string().optional(),
|
12
|
+
});
|
13
|
+
});
|
14
|
+
|
15
|
+
/**
|
16
|
+
*
|
17
|
+
* @typedef {GetEsimOkResponseEsim} getEsimOkResponseEsim
|
18
|
+
* @property {string} - ID of the eSIM
|
19
|
+
* @property {string} - SM-DP+ Address
|
20
|
+
* @property {string} - The manual activation code
|
21
|
+
* @property {string} - Status of the eSIM, possible values are 'RELEASED', 'DOWNLOADED', 'INSTALLED', 'ENABLED', 'DELETED', or 'ERROR'
|
22
|
+
*/
|
23
|
+
export type GetEsimOkResponseEsim = z.infer<typeof getEsimOkResponseEsim>;
|
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 getEsimOkResponseEsimResponse: any = z.lazy(() => {
|
30
|
+
return z
|
31
|
+
.object({
|
32
|
+
iccid: z.string().min(18).max(22).optional(),
|
33
|
+
smdpAddress: z.string().optional(),
|
34
|
+
manualActivationCode: z.string().optional(),
|
35
|
+
status: z.string().optional(),
|
36
|
+
})
|
37
|
+
.transform((data) => ({
|
38
|
+
iccid: data['iccid'],
|
39
|
+
smdpAddress: data['smdpAddress'],
|
40
|
+
manualActivationCode: data['manualActivationCode'],
|
41
|
+
status: data['status'],
|
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 getEsimOkResponseEsimRequest: any = z.lazy(() => {
|
50
|
+
return z
|
51
|
+
.object({
|
52
|
+
iccid: z.string().nullish(),
|
53
|
+
smdpAddress: z.string().nullish(),
|
54
|
+
manualActivationCode: z.string().nullish(),
|
55
|
+
status: z.string().nullish(),
|
56
|
+
})
|
57
|
+
.transform((data) => ({
|
58
|
+
iccid: data['iccid'],
|
59
|
+
smdpAddress: data['smdpAddress'],
|
60
|
+
manualActivationCode: data['manualActivationCode'],
|
61
|
+
status: data['status'],
|
62
|
+
}));
|
63
|
+
});
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import {
|
3
|
+
getEsimOkResponseEsim,
|
4
|
+
getEsimOkResponseEsimRequest,
|
5
|
+
getEsimOkResponseEsimResponse,
|
6
|
+
} from './get-esim-ok-response-esim';
|
7
|
+
|
8
|
+
/**
|
9
|
+
* The shape of the model inside the application code - what the users use
|
10
|
+
*/
|
11
|
+
export const getEsimOkResponse: any = z.lazy(() => {
|
12
|
+
return z.object({
|
13
|
+
esim: getEsimOkResponseEsim.optional(),
|
14
|
+
});
|
15
|
+
});
|
16
|
+
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @typedef {GetEsimOkResponse} getEsimOkResponse
|
20
|
+
* @property {GetEsimOkResponseEsim}
|
21
|
+
*/
|
22
|
+
export type GetEsimOkResponse = z.infer<typeof getEsimOkResponse>;
|
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 getEsimOkResponseResponse: any = z.lazy(() => {
|
29
|
+
return z
|
30
|
+
.object({
|
31
|
+
esim: getEsimOkResponseEsimResponse.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 getEsimOkResponseRequest: any = z.lazy(() => {
|
43
|
+
return z.object({ esim: getEsimOkResponseEsimRequest.nullish() }).transform((data) => ({
|
44
|
+
esim: data['esim'],
|
45
|
+
}));
|
46
|
+
});
|
@@ -0,0 +1,53 @@
|
|
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 history: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
status: z.string().optional(),
|
9
|
+
statusDate: z.string().optional(),
|
10
|
+
date: z.number().optional(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {History} history
|
17
|
+
* @property {string} - The status of the eSIM at a given time, possible values are 'RELEASED', 'DOWNLOADED', 'INSTALLED', 'ENABLED', 'DELETED', or 'ERROR'
|
18
|
+
* @property {string} - The date when the eSIM status changed in the format 'yyyy-MM-ddThh:mm:ssZZ'
|
19
|
+
* @property {number} - Epoch value representing the date when the eSIM status changed
|
20
|
+
*/
|
21
|
+
export type History = z.infer<typeof history>;
|
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 historyResponse: any = z.lazy(() => {
|
28
|
+
return z
|
29
|
+
.object({
|
30
|
+
status: z.string().optional(),
|
31
|
+
statusDate: z.string().optional(),
|
32
|
+
date: z.number().optional(),
|
33
|
+
})
|
34
|
+
.transform((data) => ({
|
35
|
+
status: data['status'],
|
36
|
+
statusDate: data['statusDate'],
|
37
|
+
date: data['date'],
|
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 historyRequest: any = z.lazy(() => {
|
46
|
+
return z
|
47
|
+
.object({ status: z.string().nullish(), statusDate: z.string().nullish(), date: z.number().nullish() })
|
48
|
+
.transform((data) => ({
|
49
|
+
status: data['status'],
|
50
|
+
statusDate: data['statusDate'],
|
51
|
+
date: data['date'],
|
52
|
+
}));
|
53
|
+
});
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export * from './get-esim-ok-response';
|
2
|
+
export * from './get-esim-device-ok-response';
|
3
|
+
export * from './get-esim-history-ok-response';
|
4
|
+
export * from './get-esim-mac-ok-response';
|
5
|
+
export * from './get-esim-ok-response-esim';
|
6
|
+
export * from './device';
|
7
|
+
export * from './get-esim-history-ok-response-esim';
|
8
|
+
export * from './history';
|
9
|
+
export * from './get-esim-mac-ok-response-esim';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './packages';
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { packages, packagesRequest, packagesResponse } from './packages';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* The shape of the model inside the application code - what the users use
|
6
|
+
*/
|
7
|
+
export const listPackagesOkResponse: any = z.lazy(() => {
|
8
|
+
return z.object({
|
9
|
+
packages: z.array(packages).optional(),
|
10
|
+
afterCursor: z.string().optional().nullable(),
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @typedef {ListPackagesOkResponse} listPackagesOkResponse
|
17
|
+
* @property {Packages[]}
|
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 ListPackagesOkResponse = z.infer<typeof listPackagesOkResponse>;
|
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 listPackagesOkResponseResponse: any = z.lazy(() => {
|
27
|
+
return z
|
28
|
+
.object({
|
29
|
+
packages: z.array(packagesResponse).optional(),
|
30
|
+
afterCursor: z.string().optional().nullable(),
|
31
|
+
})
|
32
|
+
.transform((data) => ({
|
33
|
+
packages: data['packages'],
|
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 listPackagesOkResponseRequest: any = z.lazy(() => {
|
43
|
+
return z
|
44
|
+
.object({ packages: z.array(packagesRequest).nullish(), afterCursor: z.string().nullish() })
|
45
|
+
.transform((data) => ({
|
46
|
+
packages: data['packages'],
|
47
|
+
afterCursor: data['afterCursor'],
|
48
|
+
}));
|
49
|
+
});
|
@@ -0,0 +1,75 @@
|
|
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 packages: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
id: z.string().optional(),
|
9
|
+
destination: z.string().optional(),
|
10
|
+
dataLimitInBytes: z.number().optional(),
|
11
|
+
minDays: z.number().optional(),
|
12
|
+
maxDays: z.number().optional(),
|
13
|
+
priceInCents: z.number().optional(),
|
14
|
+
});
|
15
|
+
});
|
16
|
+
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @typedef {Packages} packages
|
20
|
+
* @property {string} - ID of the package
|
21
|
+
* @property {string} - ISO representation of the package's destination
|
22
|
+
* @property {number} - Size of the package in Bytes
|
23
|
+
* @property {number} - Min number of days for the package
|
24
|
+
* @property {number} - Max number of days for the package
|
25
|
+
* @property {number} - Price of the package in cents
|
26
|
+
*/
|
27
|
+
export type Packages = z.infer<typeof packages>;
|
28
|
+
|
29
|
+
/**
|
30
|
+
* The shape of the model mapping from the api schema into the application shape.
|
31
|
+
* Is equal to application shape if all property names match the api schema
|
32
|
+
*/
|
33
|
+
export const packagesResponse: any = z.lazy(() => {
|
34
|
+
return z
|
35
|
+
.object({
|
36
|
+
id: z.string().optional(),
|
37
|
+
destination: z.string().optional(),
|
38
|
+
dataLimitInBytes: z.number().optional(),
|
39
|
+
minDays: z.number().optional(),
|
40
|
+
maxDays: z.number().optional(),
|
41
|
+
priceInCents: z.number().optional(),
|
42
|
+
})
|
43
|
+
.transform((data) => ({
|
44
|
+
id: data['id'],
|
45
|
+
destination: data['destination'],
|
46
|
+
dataLimitInBytes: data['dataLimitInBytes'],
|
47
|
+
minDays: data['minDays'],
|
48
|
+
maxDays: data['maxDays'],
|
49
|
+
priceInCents: data['priceInCents'],
|
50
|
+
}));
|
51
|
+
});
|
52
|
+
|
53
|
+
/**
|
54
|
+
* The shape of the model mapping from the application shape into the api schema.
|
55
|
+
* Is equal to application shape if all property names match the api schema
|
56
|
+
*/
|
57
|
+
export const packagesRequest: any = z.lazy(() => {
|
58
|
+
return z
|
59
|
+
.object({
|
60
|
+
id: z.string().nullish(),
|
61
|
+
destination: z.string().nullish(),
|
62
|
+
dataLimitInBytes: z.number().nullish(),
|
63
|
+
minDays: z.number().nullish(),
|
64
|
+
maxDays: z.number().nullish(),
|
65
|
+
priceInCents: z.number().nullish(),
|
66
|
+
})
|
67
|
+
.transform((data) => ({
|
68
|
+
id: data['id'],
|
69
|
+
destination: data['destination'],
|
70
|
+
dataLimitInBytes: data['dataLimitInBytes'],
|
71
|
+
minDays: data['minDays'],
|
72
|
+
maxDays: data['maxDays'],
|
73
|
+
priceInCents: data['priceInCents'],
|
74
|
+
}));
|
75
|
+
});
|
@@ -0,0 +1,46 @@
|
|
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 { ListPackagesOkResponse, listPackagesOkResponseResponse } from './models/list-packages-ok-response';
|
7
|
+
import { ListPackagesParams } from './request-params';
|
8
|
+
|
9
|
+
export class PackagesService extends BaseService {
|
10
|
+
/**
|
11
|
+
* List Packages
|
12
|
+
* @param {string} [destination] - ISO representation of the package's destination.
|
13
|
+
* @param {string} [startDate] - 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.
|
14
|
+
* @param {string} [endDate] - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
|
15
|
+
* @param {string} [afterCursor] - To get the next batch of results, use this parameter. It tells the API where to start fetching data after the last item you received. It helps you avoid repeats and efficiently browse through large sets of data.
|
16
|
+
* @param {number} [limit] - Maximum number of packages to be returned in the response. The value must be greater than 0 and less than or equal to 160. If not provided, the default value is 20
|
17
|
+
* @param {number} [startTime] - 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
|
18
|
+
* @param {number} [endTime] - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
|
19
|
+
* @param {number} [duration] - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
|
20
|
+
* @returns {Promise<HttpResponse<ListPackagesOkResponse>>} Successful Response
|
21
|
+
*/
|
22
|
+
async listPackages(
|
23
|
+
params?: ListPackagesParams,
|
24
|
+
requestConfig?: RequestConfig,
|
25
|
+
): Promise<HttpResponse<ListPackagesOkResponse>> {
|
26
|
+
const request = new Request({
|
27
|
+
method: 'GET',
|
28
|
+
path: '/packages',
|
29
|
+
config: this.config,
|
30
|
+
responseSchema: listPackagesOkResponseResponse,
|
31
|
+
requestSchema: z.any(),
|
32
|
+
requestContentType: ContentType.Json,
|
33
|
+
responseContentType: ContentType.Json,
|
34
|
+
requestConfig,
|
35
|
+
});
|
36
|
+
request.addQueryParam('destination', params?.destination);
|
37
|
+
request.addQueryParam('startDate', params?.startDate);
|
38
|
+
request.addQueryParam('endDate', params?.endDate);
|
39
|
+
request.addQueryParam('afterCursor', params?.afterCursor);
|
40
|
+
request.addQueryParam('limit', params?.limit);
|
41
|
+
request.addQueryParam('startTime', params?.startTime);
|
42
|
+
request.addQueryParam('endTime', params?.endTime);
|
43
|
+
request.addQueryParam('duration', params?.duration);
|
44
|
+
return this.client.call<ListPackagesOkResponse>(request);
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './purchases';
|
@@ -0,0 +1,46 @@
|
|
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 createPurchaseOkResponseProfile: any = z.lazy(() => {
|
7
|
+
return z.object({
|
8
|
+
iccid: z.string().min(18).max(22).optional(),
|
9
|
+
activationCode: z.string().min(1000).max(8000).optional(),
|
10
|
+
});
|
11
|
+
});
|
12
|
+
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @typedef {CreatePurchaseOkResponseProfile} createPurchaseOkResponseProfile
|
16
|
+
* @property {string} - ID of the eSIM
|
17
|
+
* @property {string} - QR Code of the eSIM as base64
|
18
|
+
*/
|
19
|
+
export type CreatePurchaseOkResponseProfile = z.infer<typeof createPurchaseOkResponseProfile>;
|
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 createPurchaseOkResponseProfileResponse: any = z.lazy(() => {
|
26
|
+
return z
|
27
|
+
.object({
|
28
|
+
iccid: z.string().min(18).max(22).optional(),
|
29
|
+
activationCode: z.string().min(1000).max(8000).optional(),
|
30
|
+
})
|
31
|
+
.transform((data) => ({
|
32
|
+
iccid: data['iccid'],
|
33
|
+
activationCode: data['activationCode'],
|
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 createPurchaseOkResponseProfileRequest: any = z.lazy(() => {
|
42
|
+
return z.object({ iccid: z.string().nullish(), activationCode: z.string().nullish() }).transform((data) => ({
|
43
|
+
iccid: data['iccid'],
|
44
|
+
activationCode: data['activationCode'],
|
45
|
+
}));
|
46
|
+
});
|
@@ -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 createPurchaseOkResponsePurchase: 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 {CreatePurchaseOkResponsePurchase} createPurchaseOkResponsePurchase
|
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 CreatePurchaseOkResponsePurchase = z.infer<typeof createPurchaseOkResponsePurchase>;
|
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 createPurchaseOkResponsePurchaseResponse: 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 createPurchaseOkResponsePurchaseRequest: 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
|
+
});
|
@@ -0,0 +1,61 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import {
|
3
|
+
createPurchaseOkResponsePurchase,
|
4
|
+
createPurchaseOkResponsePurchaseRequest,
|
5
|
+
createPurchaseOkResponsePurchaseResponse,
|
6
|
+
} from './create-purchase-ok-response-purchase';
|
7
|
+
import {
|
8
|
+
createPurchaseOkResponseProfile,
|
9
|
+
createPurchaseOkResponseProfileRequest,
|
10
|
+
createPurchaseOkResponseProfileResponse,
|
11
|
+
} from './create-purchase-ok-response-profile';
|
12
|
+
|
13
|
+
/**
|
14
|
+
* The shape of the model inside the application code - what the users use
|
15
|
+
*/
|
16
|
+
export const createPurchaseOkResponse: any = z.lazy(() => {
|
17
|
+
return z.object({
|
18
|
+
purchase: createPurchaseOkResponsePurchase.optional(),
|
19
|
+
profile: createPurchaseOkResponseProfile.optional(),
|
20
|
+
});
|
21
|
+
});
|
22
|
+
|
23
|
+
/**
|
24
|
+
*
|
25
|
+
* @typedef {CreatePurchaseOkResponse} createPurchaseOkResponse
|
26
|
+
* @property {CreatePurchaseOkResponsePurchase}
|
27
|
+
* @property {CreatePurchaseOkResponseProfile}
|
28
|
+
*/
|
29
|
+
export type CreatePurchaseOkResponse = z.infer<typeof createPurchaseOkResponse>;
|
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 createPurchaseOkResponseResponse: any = z.lazy(() => {
|
36
|
+
return z
|
37
|
+
.object({
|
38
|
+
purchase: createPurchaseOkResponsePurchaseResponse.optional(),
|
39
|
+
profile: createPurchaseOkResponseProfileResponse.optional(),
|
40
|
+
})
|
41
|
+
.transform((data) => ({
|
42
|
+
purchase: data['purchase'],
|
43
|
+
profile: data['profile'],
|
44
|
+
}));
|
45
|
+
});
|
46
|
+
|
47
|
+
/**
|
48
|
+
* The shape of the model mapping from the application shape into the api schema.
|
49
|
+
* Is equal to application shape if all property names match the api schema
|
50
|
+
*/
|
51
|
+
export const createPurchaseOkResponseRequest: any = z.lazy(() => {
|
52
|
+
return z
|
53
|
+
.object({
|
54
|
+
purchase: createPurchaseOkResponsePurchaseRequest.nullish(),
|
55
|
+
profile: createPurchaseOkResponseProfileRequest.nullish(),
|
56
|
+
})
|
57
|
+
.transform((data) => ({
|
58
|
+
purchase: data['purchase'],
|
59
|
+
profile: data['profile'],
|
60
|
+
}));
|
61
|
+
});
|