celitech-sdk 1.1.68 → 1.1.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (966) hide show
  1. package/.devcontainer/devcontainer.json +24 -0
  2. package/.github/PROTECTED_BRANCHES.txt +1 -0
  3. package/.github/workflows/publish_npmjs.yml +31 -0
  4. package/.manifest.json +245 -0
  5. package/LICENSE +9 -7
  6. package/README.md +86 -459
  7. package/documentation/models/CreatePurchaseOkResponse.md +31 -0
  8. package/documentation/models/CreatePurchaseRequest.md +15 -0
  9. package/documentation/models/EditPurchaseOkResponse.md +11 -0
  10. package/documentation/models/EditPurchaseRequest.md +11 -0
  11. package/documentation/models/GetEsimDeviceOkResponse.md +18 -0
  12. package/documentation/models/GetEsimHistoryOkResponse.md +26 -0
  13. package/documentation/models/GetEsimMacOkResponse.md +17 -0
  14. package/documentation/models/GetEsimOkResponse.md +18 -0
  15. package/documentation/models/GetPurchaseConsumptionOkResponse.md +8 -0
  16. package/documentation/models/ListDestinationsOkResponse.md +17 -0
  17. package/documentation/models/ListPackagesOkResponse.md +21 -0
  18. package/documentation/models/ListPurchasesOkResponse.md +46 -0
  19. package/documentation/models/TopUpEsimOkResponse.md +30 -0
  20. package/documentation/models/TopUpEsimRequest.md +14 -0
  21. package/documentation/services/DestinationsService.md +35 -0
  22. package/documentation/services/ESimService.md +148 -0
  23. package/documentation/services/PackagesService.md +48 -0
  24. package/documentation/services/PurchasesService.md +219 -0
  25. package/examples/README.md +27 -0
  26. package/examples/package.json +18 -0
  27. package/examples/src/index.ts +12 -0
  28. package/examples/tsconfig.json +22 -0
  29. package/package.json +17 -50
  30. package/src/http/client.ts +46 -0
  31. package/src/http/environment.ts +3 -0
  32. package/src/http/error.ts +12 -0
  33. package/src/http/handlers/handler-chain.ts +22 -0
  34. package/src/http/handlers/hook-handler.ts +45 -0
  35. package/src/http/handlers/request-validation-handler.ts +72 -0
  36. package/src/http/handlers/response-validation-handler.ts +106 -0
  37. package/src/http/handlers/retry-handler.ts +37 -0
  38. package/src/http/handlers/terminating-handler.ts +38 -0
  39. package/src/http/hooks/custom-hook.ts +87 -0
  40. package/src/http/hooks/hook.ts +39 -0
  41. package/src/http/index.ts +4 -0
  42. package/src/http/serializer.ts +180 -0
  43. package/src/http/transport/request.ts +169 -0
  44. package/src/http/types.ts +70 -0
  45. package/src/index.ts +68 -0
  46. package/src/services/base-service.ts +29 -0
  47. package/src/services/destinations/destinations.ts +26 -0
  48. package/src/services/destinations/index.ts +1 -0
  49. package/src/services/destinations/models/destinations.ts +57 -0
  50. package/src/services/destinations/models/index.ts +2 -0
  51. package/src/services/destinations/models/list-destinations-ok-response.ts +42 -0
  52. package/src/services/e-sim/e-sim.ts +92 -0
  53. package/src/services/e-sim/index.ts +1 -0
  54. package/src/services/e-sim/models/device.ts +63 -0
  55. package/src/services/e-sim/models/get-esim-device-ok-response.ts +42 -0
  56. package/src/services/e-sim/models/get-esim-history-ok-response-esim.ts +47 -0
  57. package/src/services/e-sim/models/get-esim-history-ok-response.ts +46 -0
  58. package/src/services/e-sim/models/get-esim-mac-ok-response-esim.ts +57 -0
  59. package/src/services/e-sim/models/get-esim-mac-ok-response.ts +46 -0
  60. package/src/services/e-sim/models/get-esim-ok-response-esim.ts +63 -0
  61. package/src/services/e-sim/models/get-esim-ok-response.ts +46 -0
  62. package/src/services/e-sim/models/history.ts +53 -0
  63. package/src/services/e-sim/models/index.ts +9 -0
  64. package/src/services/e-sim/request-params.ts +3 -0
  65. package/src/services/packages/index.ts +1 -0
  66. package/src/services/packages/models/index.ts +2 -0
  67. package/src/services/packages/models/list-packages-ok-response.ts +49 -0
  68. package/src/services/packages/models/packages.ts +75 -0
  69. package/src/services/packages/packages.ts +46 -0
  70. package/src/services/packages/request-params.ts +10 -0
  71. package/src/services/purchases/index.ts +1 -0
  72. package/src/services/purchases/models/create-purchase-ok-response-profile.ts +46 -0
  73. package/src/services/purchases/models/create-purchase-ok-response-purchase.ts +81 -0
  74. package/src/services/purchases/models/create-purchase-ok-response.ts +61 -0
  75. package/src/services/purchases/models/create-purchase-request.ts +93 -0
  76. package/src/services/purchases/models/edit-purchase-ok-response.ts +69 -0
  77. package/src/services/purchases/models/edit-purchase-request.ts +69 -0
  78. package/src/services/purchases/models/get-purchase-consumption-ok-response.ts +48 -0
  79. package/src/services/purchases/models/index.ts +15 -0
  80. package/src/services/purchases/models/list-purchases-ok-response.ts +49 -0
  81. package/src/services/purchases/models/package_.ts +69 -0
  82. package/src/services/purchases/models/purchases-esim.ts +41 -0
  83. package/src/services/purchases/models/purchases.ts +107 -0
  84. package/src/services/purchases/models/top-up-esim-ok-response-profile.ts +41 -0
  85. package/src/services/purchases/models/top-up-esim-ok-response-purchase.ts +81 -0
  86. package/src/services/purchases/models/top-up-esim-ok-response.ts +61 -0
  87. package/src/services/purchases/models/top-up-esim-request.ts +87 -0
  88. package/src/services/purchases/purchases.ts +145 -0
  89. package/src/services/purchases/request-params.ts +10 -0
  90. package/tsconfig.json +22 -0
  91. package/dist/commonjs/BaseService.d.ts +0 -11
  92. package/dist/commonjs/BaseService.d.ts.map +0 -1
  93. package/dist/commonjs/BaseService.js +0 -30
  94. package/dist/commonjs/BaseService.js.map +0 -1
  95. package/dist/commonjs/hooks/CustomHook.d.ts +0 -59
  96. package/dist/commonjs/hooks/CustomHook.d.ts.map +0 -1
  97. package/dist/commonjs/hooks/CustomHook.js +0 -74
  98. package/dist/commonjs/hooks/CustomHook.js.map +0 -1
  99. package/dist/commonjs/hooks/Hook.d.ts +0 -24
  100. package/dist/commonjs/hooks/Hook.d.ts.map +0 -1
  101. package/dist/commonjs/hooks/Hook.js +0 -3
  102. package/dist/commonjs/hooks/Hook.js.map +0 -1
  103. package/dist/commonjs/http/Environment.d.ts +0 -4
  104. package/dist/commonjs/http/Environment.d.ts.map +0 -1
  105. package/dist/commonjs/http/Environment.js +0 -8
  106. package/dist/commonjs/http/Environment.js.map +0 -1
  107. package/dist/commonjs/http/HTTPClient.d.ts +0 -13
  108. package/dist/commonjs/http/HTTPClient.d.ts.map +0 -1
  109. package/dist/commonjs/http/HTTPClient.js +0 -3
  110. package/dist/commonjs/http/HTTPClient.js.map +0 -1
  111. package/dist/commonjs/http/HTTPLibrary.d.ts +0 -23
  112. package/dist/commonjs/http/HTTPLibrary.d.ts.map +0 -1
  113. package/dist/commonjs/http/HTTPLibrary.js +0 -143
  114. package/dist/commonjs/http/HTTPLibrary.js.map +0 -1
  115. package/dist/commonjs/http/QuerySerializer.d.ts +0 -6
  116. package/dist/commonjs/http/QuerySerializer.d.ts.map +0 -1
  117. package/dist/commonjs/http/QuerySerializer.js +0 -70
  118. package/dist/commonjs/http/QuerySerializer.js.map +0 -1
  119. package/dist/commonjs/http/errors/BadGateway.d.ts +0 -7
  120. package/dist/commonjs/http/errors/BadGateway.d.ts.map +0 -1
  121. package/dist/commonjs/http/errors/BadGateway.js +0 -12
  122. package/dist/commonjs/http/errors/BadGateway.js.map +0 -1
  123. package/dist/commonjs/http/errors/BadRequest.d.ts +0 -7
  124. package/dist/commonjs/http/errors/BadRequest.d.ts.map +0 -1
  125. package/dist/commonjs/http/errors/BadRequest.js +0 -12
  126. package/dist/commonjs/http/errors/BadRequest.js.map +0 -1
  127. package/dist/commonjs/http/errors/Conflict.d.ts +0 -7
  128. package/dist/commonjs/http/errors/Conflict.d.ts.map +0 -1
  129. package/dist/commonjs/http/errors/Conflict.js +0 -12
  130. package/dist/commonjs/http/errors/Conflict.js.map +0 -1
  131. package/dist/commonjs/http/errors/ExpectationFailed.d.ts +0 -7
  132. package/dist/commonjs/http/errors/ExpectationFailed.d.ts.map +0 -1
  133. package/dist/commonjs/http/errors/ExpectationFailed.js +0 -12
  134. package/dist/commonjs/http/errors/ExpectationFailed.js.map +0 -1
  135. package/dist/commonjs/http/errors/FailedDependency.d.ts +0 -7
  136. package/dist/commonjs/http/errors/FailedDependency.d.ts.map +0 -1
  137. package/dist/commonjs/http/errors/FailedDependency.js +0 -12
  138. package/dist/commonjs/http/errors/FailedDependency.js.map +0 -1
  139. package/dist/commonjs/http/errors/Forbidden.d.ts +0 -7
  140. package/dist/commonjs/http/errors/Forbidden.d.ts.map +0 -1
  141. package/dist/commonjs/http/errors/Forbidden.js +0 -12
  142. package/dist/commonjs/http/errors/Forbidden.js.map +0 -1
  143. package/dist/commonjs/http/errors/GatewayTimeout.d.ts +0 -7
  144. package/dist/commonjs/http/errors/GatewayTimeout.d.ts.map +0 -1
  145. package/dist/commonjs/http/errors/GatewayTimeout.js +0 -12
  146. package/dist/commonjs/http/errors/GatewayTimeout.js.map +0 -1
  147. package/dist/commonjs/http/errors/Gone.d.ts +0 -7
  148. package/dist/commonjs/http/errors/Gone.d.ts.map +0 -1
  149. package/dist/commonjs/http/errors/Gone.js +0 -12
  150. package/dist/commonjs/http/errors/Gone.js.map +0 -1
  151. package/dist/commonjs/http/errors/HttpVersionNotSupported.d.ts +0 -7
  152. package/dist/commonjs/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
  153. package/dist/commonjs/http/errors/HttpVersionNotSupported.js +0 -12
  154. package/dist/commonjs/http/errors/HttpVersionNotSupported.js.map +0 -1
  155. package/dist/commonjs/http/errors/InternalServerError.d.ts +0 -7
  156. package/dist/commonjs/http/errors/InternalServerError.d.ts.map +0 -1
  157. package/dist/commonjs/http/errors/InternalServerError.js +0 -12
  158. package/dist/commonjs/http/errors/InternalServerError.js.map +0 -1
  159. package/dist/commonjs/http/errors/LengthRequired.d.ts +0 -7
  160. package/dist/commonjs/http/errors/LengthRequired.d.ts.map +0 -1
  161. package/dist/commonjs/http/errors/LengthRequired.js +0 -12
  162. package/dist/commonjs/http/errors/LengthRequired.js.map +0 -1
  163. package/dist/commonjs/http/errors/Locked.d.ts +0 -7
  164. package/dist/commonjs/http/errors/Locked.d.ts.map +0 -1
  165. package/dist/commonjs/http/errors/Locked.js +0 -12
  166. package/dist/commonjs/http/errors/Locked.js.map +0 -1
  167. package/dist/commonjs/http/errors/LoopDetected.d.ts +0 -7
  168. package/dist/commonjs/http/errors/LoopDetected.d.ts.map +0 -1
  169. package/dist/commonjs/http/errors/LoopDetected.js +0 -12
  170. package/dist/commonjs/http/errors/LoopDetected.js.map +0 -1
  171. package/dist/commonjs/http/errors/MethodNotAllowed.d.ts +0 -8
  172. package/dist/commonjs/http/errors/MethodNotAllowed.d.ts.map +0 -1
  173. package/dist/commonjs/http/errors/MethodNotAllowed.js +0 -13
  174. package/dist/commonjs/http/errors/MethodNotAllowed.js.map +0 -1
  175. package/dist/commonjs/http/errors/MisdirectedRequest.d.ts +0 -7
  176. package/dist/commonjs/http/errors/MisdirectedRequest.d.ts.map +0 -1
  177. package/dist/commonjs/http/errors/MisdirectedRequest.js +0 -12
  178. package/dist/commonjs/http/errors/MisdirectedRequest.js.map +0 -1
  179. package/dist/commonjs/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
  180. package/dist/commonjs/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
  181. package/dist/commonjs/http/errors/NetworkAuthenticationRequired.js +0 -12
  182. package/dist/commonjs/http/errors/NetworkAuthenticationRequired.js.map +0 -1
  183. package/dist/commonjs/http/errors/NotAcceptable.d.ts +0 -7
  184. package/dist/commonjs/http/errors/NotAcceptable.d.ts.map +0 -1
  185. package/dist/commonjs/http/errors/NotAcceptable.js +0 -12
  186. package/dist/commonjs/http/errors/NotAcceptable.js.map +0 -1
  187. package/dist/commonjs/http/errors/NotExtended.d.ts +0 -7
  188. package/dist/commonjs/http/errors/NotExtended.d.ts.map +0 -1
  189. package/dist/commonjs/http/errors/NotExtended.js +0 -12
  190. package/dist/commonjs/http/errors/NotExtended.js.map +0 -1
  191. package/dist/commonjs/http/errors/NotFound.d.ts +0 -7
  192. package/dist/commonjs/http/errors/NotFound.d.ts.map +0 -1
  193. package/dist/commonjs/http/errors/NotFound.js +0 -12
  194. package/dist/commonjs/http/errors/NotFound.js.map +0 -1
  195. package/dist/commonjs/http/errors/NotImplemented.d.ts +0 -7
  196. package/dist/commonjs/http/errors/NotImplemented.d.ts.map +0 -1
  197. package/dist/commonjs/http/errors/NotImplemented.js +0 -12
  198. package/dist/commonjs/http/errors/NotImplemented.js.map +0 -1
  199. package/dist/commonjs/http/errors/PayloadTooLarge.d.ts +0 -8
  200. package/dist/commonjs/http/errors/PayloadTooLarge.d.ts.map +0 -1
  201. package/dist/commonjs/http/errors/PayloadTooLarge.js +0 -13
  202. package/dist/commonjs/http/errors/PayloadTooLarge.js.map +0 -1
  203. package/dist/commonjs/http/errors/PaymentRequired.d.ts +0 -7
  204. package/dist/commonjs/http/errors/PaymentRequired.d.ts.map +0 -1
  205. package/dist/commonjs/http/errors/PaymentRequired.js +0 -12
  206. package/dist/commonjs/http/errors/PaymentRequired.js.map +0 -1
  207. package/dist/commonjs/http/errors/PreconditionFailed.d.ts +0 -7
  208. package/dist/commonjs/http/errors/PreconditionFailed.d.ts.map +0 -1
  209. package/dist/commonjs/http/errors/PreconditionFailed.js +0 -12
  210. package/dist/commonjs/http/errors/PreconditionFailed.js.map +0 -1
  211. package/dist/commonjs/http/errors/PreconditionRequired.d.ts +0 -7
  212. package/dist/commonjs/http/errors/PreconditionRequired.d.ts.map +0 -1
  213. package/dist/commonjs/http/errors/PreconditionRequired.js +0 -12
  214. package/dist/commonjs/http/errors/PreconditionRequired.js.map +0 -1
  215. package/dist/commonjs/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
  216. package/dist/commonjs/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
  217. package/dist/commonjs/http/errors/ProxyAuthenticationRequired.js +0 -13
  218. package/dist/commonjs/http/errors/ProxyAuthenticationRequired.js.map +0 -1
  219. package/dist/commonjs/http/errors/RangeNotSatisfiable.d.ts +0 -7
  220. package/dist/commonjs/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
  221. package/dist/commonjs/http/errors/RangeNotSatisfiable.js +0 -12
  222. package/dist/commonjs/http/errors/RangeNotSatisfiable.js.map +0 -1
  223. package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
  224. package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
  225. package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.js +0 -12
  226. package/dist/commonjs/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
  227. package/dist/commonjs/http/errors/RequestTimeout.d.ts +0 -7
  228. package/dist/commonjs/http/errors/RequestTimeout.d.ts.map +0 -1
  229. package/dist/commonjs/http/errors/RequestTimeout.js +0 -12
  230. package/dist/commonjs/http/errors/RequestTimeout.js.map +0 -1
  231. package/dist/commonjs/http/errors/ServiceUnavailable.d.ts +0 -8
  232. package/dist/commonjs/http/errors/ServiceUnavailable.d.ts.map +0 -1
  233. package/dist/commonjs/http/errors/ServiceUnavailable.js +0 -13
  234. package/dist/commonjs/http/errors/ServiceUnavailable.js.map +0 -1
  235. package/dist/commonjs/http/errors/TooEarly.d.ts +0 -7
  236. package/dist/commonjs/http/errors/TooEarly.d.ts.map +0 -1
  237. package/dist/commonjs/http/errors/TooEarly.js +0 -12
  238. package/dist/commonjs/http/errors/TooEarly.js.map +0 -1
  239. package/dist/commonjs/http/errors/TooManyRequests.d.ts +0 -8
  240. package/dist/commonjs/http/errors/TooManyRequests.d.ts.map +0 -1
  241. package/dist/commonjs/http/errors/TooManyRequests.js +0 -13
  242. package/dist/commonjs/http/errors/TooManyRequests.js.map +0 -1
  243. package/dist/commonjs/http/errors/Unauthorized.d.ts +0 -8
  244. package/dist/commonjs/http/errors/Unauthorized.d.ts.map +0 -1
  245. package/dist/commonjs/http/errors/Unauthorized.js +0 -13
  246. package/dist/commonjs/http/errors/Unauthorized.js.map +0 -1
  247. package/dist/commonjs/http/errors/UnavailableForLegalReasons.d.ts +0 -7
  248. package/dist/commonjs/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
  249. package/dist/commonjs/http/errors/UnavailableForLegalReasons.js +0 -12
  250. package/dist/commonjs/http/errors/UnavailableForLegalReasons.js.map +0 -1
  251. package/dist/commonjs/http/errors/UnprocessableEntity.d.ts +0 -7
  252. package/dist/commonjs/http/errors/UnprocessableEntity.d.ts.map +0 -1
  253. package/dist/commonjs/http/errors/UnprocessableEntity.js +0 -12
  254. package/dist/commonjs/http/errors/UnprocessableEntity.js.map +0 -1
  255. package/dist/commonjs/http/errors/UnsufficientStorage.d.ts +0 -7
  256. package/dist/commonjs/http/errors/UnsufficientStorage.d.ts.map +0 -1
  257. package/dist/commonjs/http/errors/UnsufficientStorage.js +0 -12
  258. package/dist/commonjs/http/errors/UnsufficientStorage.js.map +0 -1
  259. package/dist/commonjs/http/errors/UnsupportedMediaType.d.ts +0 -7
  260. package/dist/commonjs/http/errors/UnsupportedMediaType.d.ts.map +0 -1
  261. package/dist/commonjs/http/errors/UnsupportedMediaType.js +0 -12
  262. package/dist/commonjs/http/errors/UnsupportedMediaType.js.map +0 -1
  263. package/dist/commonjs/http/errors/UpgradeRequired.d.ts +0 -7
  264. package/dist/commonjs/http/errors/UpgradeRequired.d.ts.map +0 -1
  265. package/dist/commonjs/http/errors/UpgradeRequired.js +0 -12
  266. package/dist/commonjs/http/errors/UpgradeRequired.js.map +0 -1
  267. package/dist/commonjs/http/errors/UriTooLong.d.ts +0 -7
  268. package/dist/commonjs/http/errors/UriTooLong.d.ts.map +0 -1
  269. package/dist/commonjs/http/errors/UriTooLong.js +0 -12
  270. package/dist/commonjs/http/errors/UriTooLong.js.map +0 -1
  271. package/dist/commonjs/http/errors/VariantAlsoNegotiates.d.ts +0 -7
  272. package/dist/commonjs/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
  273. package/dist/commonjs/http/errors/VariantAlsoNegotiates.js +0 -12
  274. package/dist/commonjs/http/errors/VariantAlsoNegotiates.js.map +0 -1
  275. package/dist/commonjs/http/errors/base.d.ts +0 -23
  276. package/dist/commonjs/http/errors/base.d.ts.map +0 -1
  277. package/dist/commonjs/http/errors/base.js +0 -36
  278. package/dist/commonjs/http/errors/base.js.map +0 -1
  279. package/dist/commonjs/http/errors/index.d.ts +0 -42
  280. package/dist/commonjs/http/errors/index.d.ts.map +0 -1
  281. package/dist/commonjs/http/errors/index.js +0 -87
  282. package/dist/commonjs/http/errors/index.js.map +0 -1
  283. package/dist/commonjs/http/httpExceptions.d.ts +0 -14
  284. package/dist/commonjs/http/httpExceptions.d.ts.map +0 -1
  285. package/dist/commonjs/http/httpExceptions.js +0 -92
  286. package/dist/commonjs/http/httpExceptions.js.map +0 -1
  287. package/dist/commonjs/index.d.ts +0 -26
  288. package/dist/commonjs/index.d.ts.map +0 -1
  289. package/dist/commonjs/index.js +0 -63
  290. package/dist/commonjs/index.js.map +0 -1
  291. package/dist/commonjs/models.d.ts +0 -15
  292. package/dist/commonjs/models.d.ts.map +0 -1
  293. package/dist/commonjs/models.js +0 -3
  294. package/dist/commonjs/models.js.map +0 -1
  295. package/dist/commonjs/services/destinations/Destinations.d.ts +0 -12
  296. package/dist/commonjs/services/destinations/Destinations.d.ts.map +0 -1
  297. package/dist/commonjs/services/destinations/Destinations.js +0 -32
  298. package/dist/commonjs/services/destinations/Destinations.js.map +0 -1
  299. package/dist/commonjs/services/destinations/index.d.ts +0 -2
  300. package/dist/commonjs/services/destinations/index.d.ts.map +0 -1
  301. package/dist/commonjs/services/destinations/index.js +0 -3
  302. package/dist/commonjs/services/destinations/index.js.map +0 -1
  303. package/dist/commonjs/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
  304. package/dist/commonjs/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
  305. package/dist/commonjs/services/destinations/models/ListDestinationsResponse.js +0 -3
  306. package/dist/commonjs/services/destinations/models/ListDestinationsResponse.js.map +0 -1
  307. package/dist/commonjs/services/eSim/ESim.d.ts +0 -40
  308. package/dist/commonjs/services/eSim/ESim.d.ts.map +0 -1
  309. package/dist/commonjs/services/eSim/ESim.js +0 -113
  310. package/dist/commonjs/services/eSim/ESim.js.map +0 -1
  311. package/dist/commonjs/services/eSim/index.d.ts +0 -5
  312. package/dist/commonjs/services/eSim/index.d.ts.map +0 -1
  313. package/dist/commonjs/services/eSim/index.js +0 -3
  314. package/dist/commonjs/services/eSim/index.js.map +0 -1
  315. package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
  316. package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
  317. package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.js +0 -3
  318. package/dist/commonjs/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
  319. package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
  320. package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
  321. package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.js +0 -3
  322. package/dist/commonjs/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
  323. package/dist/commonjs/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
  324. package/dist/commonjs/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
  325. package/dist/commonjs/services/eSim/models/GetEsimMacResponse.js +0 -3
  326. package/dist/commonjs/services/eSim/models/GetEsimMacResponse.js.map +0 -1
  327. package/dist/commonjs/services/eSim/models/GetEsimResponse.d.ts +0 -23
  328. package/dist/commonjs/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
  329. package/dist/commonjs/services/eSim/models/GetEsimResponse.js +0 -3
  330. package/dist/commonjs/services/eSim/models/GetEsimResponse.js.map +0 -1
  331. package/dist/commonjs/services/packages/Packages.d.ts +0 -30
  332. package/dist/commonjs/services/packages/Packages.d.ts.map +0 -1
  333. package/dist/commonjs/services/packages/Packages.js +0 -69
  334. package/dist/commonjs/services/packages/Packages.js.map +0 -1
  335. package/dist/commonjs/services/packages/index.d.ts +0 -2
  336. package/dist/commonjs/services/packages/index.d.ts.map +0 -1
  337. package/dist/commonjs/services/packages/index.js +0 -3
  338. package/dist/commonjs/services/packages/index.js.map +0 -1
  339. package/dist/commonjs/services/packages/models/ListPackagesResponse.d.ts +0 -30
  340. package/dist/commonjs/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
  341. package/dist/commonjs/services/packages/models/ListPackagesResponse.js +0 -3
  342. package/dist/commonjs/services/packages/models/ListPackagesResponse.js.map +0 -1
  343. package/dist/commonjs/services/purchases/Purchases.d.ts +0 -66
  344. package/dist/commonjs/services/purchases/Purchases.d.ts.map +0 -1
  345. package/dist/commonjs/services/purchases/Purchases.js +0 -150
  346. package/dist/commonjs/services/purchases/Purchases.js.map +0 -1
  347. package/dist/commonjs/services/purchases/index.d.ts +0 -9
  348. package/dist/commonjs/services/purchases/index.d.ts.map +0 -1
  349. package/dist/commonjs/services/purchases/index.js +0 -3
  350. package/dist/commonjs/services/purchases/index.js.map +0 -1
  351. package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
  352. package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
  353. package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.js +0 -3
  354. package/dist/commonjs/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
  355. package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
  356. package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
  357. package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.js +0 -3
  358. package/dist/commonjs/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
  359. package/dist/commonjs/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
  360. package/dist/commonjs/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
  361. package/dist/commonjs/services/purchases/models/EditPurchaseRequest.js +0 -3
  362. package/dist/commonjs/services/purchases/models/EditPurchaseRequest.js.map +0 -1
  363. package/dist/commonjs/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
  364. package/dist/commonjs/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
  365. package/dist/commonjs/services/purchases/models/EditPurchaseResponse.js +0 -3
  366. package/dist/commonjs/services/purchases/models/EditPurchaseResponse.js.map +0 -1
  367. package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
  368. package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
  369. package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -3
  370. package/dist/commonjs/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
  371. package/dist/commonjs/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
  372. package/dist/commonjs/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
  373. package/dist/commonjs/services/purchases/models/ListPurchasesResponse.js +0 -3
  374. package/dist/commonjs/services/purchases/models/ListPurchasesResponse.js.map +0 -1
  375. package/dist/commonjs/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
  376. package/dist/commonjs/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
  377. package/dist/commonjs/services/purchases/models/TopUpEsimRequest.js +0 -3
  378. package/dist/commonjs/services/purchases/models/TopUpEsimRequest.js.map +0 -1
  379. package/dist/commonjs/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
  380. package/dist/commonjs/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
  381. package/dist/commonjs/services/purchases/models/TopUpEsimResponse.js +0 -3
  382. package/dist/commonjs/services/purchases/models/TopUpEsimResponse.js.map +0 -1
  383. package/dist/esm/BaseService.d.ts +0 -11
  384. package/dist/esm/BaseService.d.ts.map +0 -1
  385. package/dist/esm/BaseService.js +0 -24
  386. package/dist/esm/BaseService.js.map +0 -1
  387. package/dist/esm/hooks/CustomHook.d.ts +0 -59
  388. package/dist/esm/hooks/CustomHook.d.ts.map +0 -1
  389. package/dist/esm/hooks/CustomHook.js +0 -68
  390. package/dist/esm/hooks/CustomHook.js.map +0 -1
  391. package/dist/esm/hooks/Hook.d.ts +0 -24
  392. package/dist/esm/hooks/Hook.d.ts.map +0 -1
  393. package/dist/esm/hooks/Hook.js +0 -2
  394. package/dist/esm/hooks/Hook.js.map +0 -1
  395. package/dist/esm/http/Environment.d.ts +0 -4
  396. package/dist/esm/http/Environment.d.ts.map +0 -1
  397. package/dist/esm/http/Environment.js +0 -5
  398. package/dist/esm/http/Environment.js.map +0 -1
  399. package/dist/esm/http/HTTPClient.d.ts +0 -13
  400. package/dist/esm/http/HTTPClient.d.ts.map +0 -1
  401. package/dist/esm/http/HTTPClient.js +0 -2
  402. package/dist/esm/http/HTTPClient.js.map +0 -1
  403. package/dist/esm/http/HTTPLibrary.d.ts +0 -23
  404. package/dist/esm/http/HTTPLibrary.d.ts.map +0 -1
  405. package/dist/esm/http/HTTPLibrary.js +0 -137
  406. package/dist/esm/http/HTTPLibrary.js.map +0 -1
  407. package/dist/esm/http/QuerySerializer.d.ts +0 -6
  408. package/dist/esm/http/QuerySerializer.d.ts.map +0 -1
  409. package/dist/esm/http/QuerySerializer.js +0 -65
  410. package/dist/esm/http/QuerySerializer.js.map +0 -1
  411. package/dist/esm/http/errors/BadGateway.d.ts +0 -7
  412. package/dist/esm/http/errors/BadGateway.d.ts.map +0 -1
  413. package/dist/esm/http/errors/BadGateway.js +0 -9
  414. package/dist/esm/http/errors/BadGateway.js.map +0 -1
  415. package/dist/esm/http/errors/BadRequest.d.ts +0 -7
  416. package/dist/esm/http/errors/BadRequest.d.ts.map +0 -1
  417. package/dist/esm/http/errors/BadRequest.js +0 -9
  418. package/dist/esm/http/errors/BadRequest.js.map +0 -1
  419. package/dist/esm/http/errors/Conflict.d.ts +0 -7
  420. package/dist/esm/http/errors/Conflict.d.ts.map +0 -1
  421. package/dist/esm/http/errors/Conflict.js +0 -9
  422. package/dist/esm/http/errors/Conflict.js.map +0 -1
  423. package/dist/esm/http/errors/ExpectationFailed.d.ts +0 -7
  424. package/dist/esm/http/errors/ExpectationFailed.d.ts.map +0 -1
  425. package/dist/esm/http/errors/ExpectationFailed.js +0 -9
  426. package/dist/esm/http/errors/ExpectationFailed.js.map +0 -1
  427. package/dist/esm/http/errors/FailedDependency.d.ts +0 -7
  428. package/dist/esm/http/errors/FailedDependency.d.ts.map +0 -1
  429. package/dist/esm/http/errors/FailedDependency.js +0 -9
  430. package/dist/esm/http/errors/FailedDependency.js.map +0 -1
  431. package/dist/esm/http/errors/Forbidden.d.ts +0 -7
  432. package/dist/esm/http/errors/Forbidden.d.ts.map +0 -1
  433. package/dist/esm/http/errors/Forbidden.js +0 -9
  434. package/dist/esm/http/errors/Forbidden.js.map +0 -1
  435. package/dist/esm/http/errors/GatewayTimeout.d.ts +0 -7
  436. package/dist/esm/http/errors/GatewayTimeout.d.ts.map +0 -1
  437. package/dist/esm/http/errors/GatewayTimeout.js +0 -9
  438. package/dist/esm/http/errors/GatewayTimeout.js.map +0 -1
  439. package/dist/esm/http/errors/Gone.d.ts +0 -7
  440. package/dist/esm/http/errors/Gone.d.ts.map +0 -1
  441. package/dist/esm/http/errors/Gone.js +0 -9
  442. package/dist/esm/http/errors/Gone.js.map +0 -1
  443. package/dist/esm/http/errors/HttpVersionNotSupported.d.ts +0 -7
  444. package/dist/esm/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
  445. package/dist/esm/http/errors/HttpVersionNotSupported.js +0 -9
  446. package/dist/esm/http/errors/HttpVersionNotSupported.js.map +0 -1
  447. package/dist/esm/http/errors/InternalServerError.d.ts +0 -7
  448. package/dist/esm/http/errors/InternalServerError.d.ts.map +0 -1
  449. package/dist/esm/http/errors/InternalServerError.js +0 -9
  450. package/dist/esm/http/errors/InternalServerError.js.map +0 -1
  451. package/dist/esm/http/errors/LengthRequired.d.ts +0 -7
  452. package/dist/esm/http/errors/LengthRequired.d.ts.map +0 -1
  453. package/dist/esm/http/errors/LengthRequired.js +0 -9
  454. package/dist/esm/http/errors/LengthRequired.js.map +0 -1
  455. package/dist/esm/http/errors/Locked.d.ts +0 -7
  456. package/dist/esm/http/errors/Locked.d.ts.map +0 -1
  457. package/dist/esm/http/errors/Locked.js +0 -9
  458. package/dist/esm/http/errors/Locked.js.map +0 -1
  459. package/dist/esm/http/errors/LoopDetected.d.ts +0 -7
  460. package/dist/esm/http/errors/LoopDetected.d.ts.map +0 -1
  461. package/dist/esm/http/errors/LoopDetected.js +0 -9
  462. package/dist/esm/http/errors/LoopDetected.js.map +0 -1
  463. package/dist/esm/http/errors/MethodNotAllowed.d.ts +0 -8
  464. package/dist/esm/http/errors/MethodNotAllowed.d.ts.map +0 -1
  465. package/dist/esm/http/errors/MethodNotAllowed.js +0 -10
  466. package/dist/esm/http/errors/MethodNotAllowed.js.map +0 -1
  467. package/dist/esm/http/errors/MisdirectedRequest.d.ts +0 -7
  468. package/dist/esm/http/errors/MisdirectedRequest.d.ts.map +0 -1
  469. package/dist/esm/http/errors/MisdirectedRequest.js +0 -9
  470. package/dist/esm/http/errors/MisdirectedRequest.js.map +0 -1
  471. package/dist/esm/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
  472. package/dist/esm/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
  473. package/dist/esm/http/errors/NetworkAuthenticationRequired.js +0 -9
  474. package/dist/esm/http/errors/NetworkAuthenticationRequired.js.map +0 -1
  475. package/dist/esm/http/errors/NotAcceptable.d.ts +0 -7
  476. package/dist/esm/http/errors/NotAcceptable.d.ts.map +0 -1
  477. package/dist/esm/http/errors/NotAcceptable.js +0 -9
  478. package/dist/esm/http/errors/NotAcceptable.js.map +0 -1
  479. package/dist/esm/http/errors/NotExtended.d.ts +0 -7
  480. package/dist/esm/http/errors/NotExtended.d.ts.map +0 -1
  481. package/dist/esm/http/errors/NotExtended.js +0 -9
  482. package/dist/esm/http/errors/NotExtended.js.map +0 -1
  483. package/dist/esm/http/errors/NotFound.d.ts +0 -7
  484. package/dist/esm/http/errors/NotFound.d.ts.map +0 -1
  485. package/dist/esm/http/errors/NotFound.js +0 -9
  486. package/dist/esm/http/errors/NotFound.js.map +0 -1
  487. package/dist/esm/http/errors/NotImplemented.d.ts +0 -7
  488. package/dist/esm/http/errors/NotImplemented.d.ts.map +0 -1
  489. package/dist/esm/http/errors/NotImplemented.js +0 -9
  490. package/dist/esm/http/errors/NotImplemented.js.map +0 -1
  491. package/dist/esm/http/errors/PayloadTooLarge.d.ts +0 -8
  492. package/dist/esm/http/errors/PayloadTooLarge.d.ts.map +0 -1
  493. package/dist/esm/http/errors/PayloadTooLarge.js +0 -10
  494. package/dist/esm/http/errors/PayloadTooLarge.js.map +0 -1
  495. package/dist/esm/http/errors/PaymentRequired.d.ts +0 -7
  496. package/dist/esm/http/errors/PaymentRequired.d.ts.map +0 -1
  497. package/dist/esm/http/errors/PaymentRequired.js +0 -9
  498. package/dist/esm/http/errors/PaymentRequired.js.map +0 -1
  499. package/dist/esm/http/errors/PreconditionFailed.d.ts +0 -7
  500. package/dist/esm/http/errors/PreconditionFailed.d.ts.map +0 -1
  501. package/dist/esm/http/errors/PreconditionFailed.js +0 -9
  502. package/dist/esm/http/errors/PreconditionFailed.js.map +0 -1
  503. package/dist/esm/http/errors/PreconditionRequired.d.ts +0 -7
  504. package/dist/esm/http/errors/PreconditionRequired.d.ts.map +0 -1
  505. package/dist/esm/http/errors/PreconditionRequired.js +0 -9
  506. package/dist/esm/http/errors/PreconditionRequired.js.map +0 -1
  507. package/dist/esm/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
  508. package/dist/esm/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
  509. package/dist/esm/http/errors/ProxyAuthenticationRequired.js +0 -10
  510. package/dist/esm/http/errors/ProxyAuthenticationRequired.js.map +0 -1
  511. package/dist/esm/http/errors/RangeNotSatisfiable.d.ts +0 -7
  512. package/dist/esm/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
  513. package/dist/esm/http/errors/RangeNotSatisfiable.js +0 -9
  514. package/dist/esm/http/errors/RangeNotSatisfiable.js.map +0 -1
  515. package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
  516. package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
  517. package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.js +0 -9
  518. package/dist/esm/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
  519. package/dist/esm/http/errors/RequestTimeout.d.ts +0 -7
  520. package/dist/esm/http/errors/RequestTimeout.d.ts.map +0 -1
  521. package/dist/esm/http/errors/RequestTimeout.js +0 -9
  522. package/dist/esm/http/errors/RequestTimeout.js.map +0 -1
  523. package/dist/esm/http/errors/ServiceUnavailable.d.ts +0 -8
  524. package/dist/esm/http/errors/ServiceUnavailable.d.ts.map +0 -1
  525. package/dist/esm/http/errors/ServiceUnavailable.js +0 -10
  526. package/dist/esm/http/errors/ServiceUnavailable.js.map +0 -1
  527. package/dist/esm/http/errors/TooEarly.d.ts +0 -7
  528. package/dist/esm/http/errors/TooEarly.d.ts.map +0 -1
  529. package/dist/esm/http/errors/TooEarly.js +0 -9
  530. package/dist/esm/http/errors/TooEarly.js.map +0 -1
  531. package/dist/esm/http/errors/TooManyRequests.d.ts +0 -8
  532. package/dist/esm/http/errors/TooManyRequests.d.ts.map +0 -1
  533. package/dist/esm/http/errors/TooManyRequests.js +0 -10
  534. package/dist/esm/http/errors/TooManyRequests.js.map +0 -1
  535. package/dist/esm/http/errors/Unauthorized.d.ts +0 -8
  536. package/dist/esm/http/errors/Unauthorized.d.ts.map +0 -1
  537. package/dist/esm/http/errors/Unauthorized.js +0 -10
  538. package/dist/esm/http/errors/Unauthorized.js.map +0 -1
  539. package/dist/esm/http/errors/UnavailableForLegalReasons.d.ts +0 -7
  540. package/dist/esm/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
  541. package/dist/esm/http/errors/UnavailableForLegalReasons.js +0 -9
  542. package/dist/esm/http/errors/UnavailableForLegalReasons.js.map +0 -1
  543. package/dist/esm/http/errors/UnprocessableEntity.d.ts +0 -7
  544. package/dist/esm/http/errors/UnprocessableEntity.d.ts.map +0 -1
  545. package/dist/esm/http/errors/UnprocessableEntity.js +0 -9
  546. package/dist/esm/http/errors/UnprocessableEntity.js.map +0 -1
  547. package/dist/esm/http/errors/UnsufficientStorage.d.ts +0 -7
  548. package/dist/esm/http/errors/UnsufficientStorage.d.ts.map +0 -1
  549. package/dist/esm/http/errors/UnsufficientStorage.js +0 -9
  550. package/dist/esm/http/errors/UnsufficientStorage.js.map +0 -1
  551. package/dist/esm/http/errors/UnsupportedMediaType.d.ts +0 -7
  552. package/dist/esm/http/errors/UnsupportedMediaType.d.ts.map +0 -1
  553. package/dist/esm/http/errors/UnsupportedMediaType.js +0 -9
  554. package/dist/esm/http/errors/UnsupportedMediaType.js.map +0 -1
  555. package/dist/esm/http/errors/UpgradeRequired.d.ts +0 -7
  556. package/dist/esm/http/errors/UpgradeRequired.d.ts.map +0 -1
  557. package/dist/esm/http/errors/UpgradeRequired.js +0 -9
  558. package/dist/esm/http/errors/UpgradeRequired.js.map +0 -1
  559. package/dist/esm/http/errors/UriTooLong.d.ts +0 -7
  560. package/dist/esm/http/errors/UriTooLong.d.ts.map +0 -1
  561. package/dist/esm/http/errors/UriTooLong.js +0 -9
  562. package/dist/esm/http/errors/UriTooLong.js.map +0 -1
  563. package/dist/esm/http/errors/VariantAlsoNegotiates.d.ts +0 -7
  564. package/dist/esm/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
  565. package/dist/esm/http/errors/VariantAlsoNegotiates.js +0 -9
  566. package/dist/esm/http/errors/VariantAlsoNegotiates.js.map +0 -1
  567. package/dist/esm/http/errors/base.d.ts +0 -23
  568. package/dist/esm/http/errors/base.d.ts.map +0 -1
  569. package/dist/esm/http/errors/base.js +0 -28
  570. package/dist/esm/http/errors/base.js.map +0 -1
  571. package/dist/esm/http/errors/index.d.ts +0 -42
  572. package/dist/esm/http/errors/index.d.ts.map +0 -1
  573. package/dist/esm/http/errors/index.js +0 -42
  574. package/dist/esm/http/errors/index.js.map +0 -1
  575. package/dist/esm/http/httpExceptions.d.ts +0 -14
  576. package/dist/esm/http/httpExceptions.d.ts.map +0 -1
  577. package/dist/esm/http/httpExceptions.js +0 -86
  578. package/dist/esm/http/httpExceptions.js.map +0 -1
  579. package/dist/esm/index.d.ts +0 -26
  580. package/dist/esm/index.d.ts.map +0 -1
  581. package/dist/esm/index.js +0 -33
  582. package/dist/esm/index.js.map +0 -1
  583. package/dist/esm/models.d.ts +0 -15
  584. package/dist/esm/models.d.ts.map +0 -1
  585. package/dist/esm/models.js +0 -2
  586. package/dist/esm/models.js.map +0 -1
  587. package/dist/esm/services/destinations/Destinations.d.ts +0 -12
  588. package/dist/esm/services/destinations/Destinations.d.ts.map +0 -1
  589. package/dist/esm/services/destinations/Destinations.js +0 -25
  590. package/dist/esm/services/destinations/Destinations.js.map +0 -1
  591. package/dist/esm/services/destinations/index.d.ts +0 -2
  592. package/dist/esm/services/destinations/index.d.ts.map +0 -1
  593. package/dist/esm/services/destinations/index.js +0 -2
  594. package/dist/esm/services/destinations/index.js.map +0 -1
  595. package/dist/esm/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
  596. package/dist/esm/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
  597. package/dist/esm/services/destinations/models/ListDestinationsResponse.js +0 -2
  598. package/dist/esm/services/destinations/models/ListDestinationsResponse.js.map +0 -1
  599. package/dist/esm/services/eSim/ESim.d.ts +0 -40
  600. package/dist/esm/services/eSim/ESim.d.ts.map +0 -1
  601. package/dist/esm/services/eSim/ESim.js +0 -106
  602. package/dist/esm/services/eSim/ESim.js.map +0 -1
  603. package/dist/esm/services/eSim/index.d.ts +0 -5
  604. package/dist/esm/services/eSim/index.d.ts.map +0 -1
  605. package/dist/esm/services/eSim/index.js +0 -2
  606. package/dist/esm/services/eSim/index.js.map +0 -1
  607. package/dist/esm/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
  608. package/dist/esm/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
  609. package/dist/esm/services/eSim/models/GetEsimDeviceResponse.js +0 -2
  610. package/dist/esm/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
  611. package/dist/esm/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
  612. package/dist/esm/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
  613. package/dist/esm/services/eSim/models/GetEsimHistoryResponse.js +0 -2
  614. package/dist/esm/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
  615. package/dist/esm/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
  616. package/dist/esm/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
  617. package/dist/esm/services/eSim/models/GetEsimMacResponse.js +0 -2
  618. package/dist/esm/services/eSim/models/GetEsimMacResponse.js.map +0 -1
  619. package/dist/esm/services/eSim/models/GetEsimResponse.d.ts +0 -23
  620. package/dist/esm/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
  621. package/dist/esm/services/eSim/models/GetEsimResponse.js +0 -2
  622. package/dist/esm/services/eSim/models/GetEsimResponse.js.map +0 -1
  623. package/dist/esm/services/packages/Packages.d.ts +0 -30
  624. package/dist/esm/services/packages/Packages.d.ts.map +0 -1
  625. package/dist/esm/services/packages/Packages.js +0 -62
  626. package/dist/esm/services/packages/Packages.js.map +0 -1
  627. package/dist/esm/services/packages/index.d.ts +0 -2
  628. package/dist/esm/services/packages/index.d.ts.map +0 -1
  629. package/dist/esm/services/packages/index.js +0 -2
  630. package/dist/esm/services/packages/index.js.map +0 -1
  631. package/dist/esm/services/packages/models/ListPackagesResponse.d.ts +0 -30
  632. package/dist/esm/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
  633. package/dist/esm/services/packages/models/ListPackagesResponse.js +0 -2
  634. package/dist/esm/services/packages/models/ListPackagesResponse.js.map +0 -1
  635. package/dist/esm/services/purchases/Purchases.d.ts +0 -66
  636. package/dist/esm/services/purchases/Purchases.d.ts.map +0 -1
  637. package/dist/esm/services/purchases/Purchases.js +0 -143
  638. package/dist/esm/services/purchases/Purchases.js.map +0 -1
  639. package/dist/esm/services/purchases/index.d.ts +0 -9
  640. package/dist/esm/services/purchases/index.d.ts.map +0 -1
  641. package/dist/esm/services/purchases/index.js +0 -2
  642. package/dist/esm/services/purchases/index.js.map +0 -1
  643. package/dist/esm/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
  644. package/dist/esm/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
  645. package/dist/esm/services/purchases/models/CreatePurchaseRequest.js +0 -2
  646. package/dist/esm/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
  647. package/dist/esm/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
  648. package/dist/esm/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
  649. package/dist/esm/services/purchases/models/CreatePurchaseResponse.js +0 -2
  650. package/dist/esm/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
  651. package/dist/esm/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
  652. package/dist/esm/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
  653. package/dist/esm/services/purchases/models/EditPurchaseRequest.js +0 -2
  654. package/dist/esm/services/purchases/models/EditPurchaseRequest.js.map +0 -1
  655. package/dist/esm/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
  656. package/dist/esm/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
  657. package/dist/esm/services/purchases/models/EditPurchaseResponse.js +0 -2
  658. package/dist/esm/services/purchases/models/EditPurchaseResponse.js.map +0 -1
  659. package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
  660. package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
  661. package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -2
  662. package/dist/esm/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
  663. package/dist/esm/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
  664. package/dist/esm/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
  665. package/dist/esm/services/purchases/models/ListPurchasesResponse.js +0 -2
  666. package/dist/esm/services/purchases/models/ListPurchasesResponse.js.map +0 -1
  667. package/dist/esm/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
  668. package/dist/esm/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
  669. package/dist/esm/services/purchases/models/TopUpEsimRequest.js +0 -2
  670. package/dist/esm/services/purchases/models/TopUpEsimRequest.js.map +0 -1
  671. package/dist/esm/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
  672. package/dist/esm/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
  673. package/dist/esm/services/purchases/models/TopUpEsimResponse.js +0 -2
  674. package/dist/esm/services/purchases/models/TopUpEsimResponse.js.map +0 -1
  675. package/dist/umd/BaseService.d.ts +0 -11
  676. package/dist/umd/BaseService.d.ts.map +0 -1
  677. package/dist/umd/BaseService.js +0 -40
  678. package/dist/umd/BaseService.js.map +0 -1
  679. package/dist/umd/hooks/CustomHook.d.ts +0 -59
  680. package/dist/umd/hooks/CustomHook.d.ts.map +0 -1
  681. package/dist/umd/hooks/CustomHook.js +0 -84
  682. package/dist/umd/hooks/CustomHook.js.map +0 -1
  683. package/dist/umd/hooks/Hook.d.ts +0 -24
  684. package/dist/umd/hooks/Hook.d.ts.map +0 -1
  685. package/dist/umd/hooks/Hook.js +0 -13
  686. package/dist/umd/hooks/Hook.js.map +0 -1
  687. package/dist/umd/http/Environment.d.ts +0 -4
  688. package/dist/umd/http/Environment.d.ts.map +0 -1
  689. package/dist/umd/http/Environment.js +0 -18
  690. package/dist/umd/http/Environment.js.map +0 -1
  691. package/dist/umd/http/HTTPClient.d.ts +0 -13
  692. package/dist/umd/http/HTTPClient.d.ts.map +0 -1
  693. package/dist/umd/http/HTTPClient.js +0 -13
  694. package/dist/umd/http/HTTPClient.js.map +0 -1
  695. package/dist/umd/http/HTTPLibrary.d.ts +0 -23
  696. package/dist/umd/http/HTTPLibrary.d.ts.map +0 -1
  697. package/dist/umd/http/HTTPLibrary.js +0 -153
  698. package/dist/umd/http/HTTPLibrary.js.map +0 -1
  699. package/dist/umd/http/QuerySerializer.d.ts +0 -6
  700. package/dist/umd/http/QuerySerializer.d.ts.map +0 -1
  701. package/dist/umd/http/QuerySerializer.js +0 -80
  702. package/dist/umd/http/QuerySerializer.js.map +0 -1
  703. package/dist/umd/http/errors/BadGateway.d.ts +0 -7
  704. package/dist/umd/http/errors/BadGateway.d.ts.map +0 -1
  705. package/dist/umd/http/errors/BadGateway.js +0 -22
  706. package/dist/umd/http/errors/BadGateway.js.map +0 -1
  707. package/dist/umd/http/errors/BadRequest.d.ts +0 -7
  708. package/dist/umd/http/errors/BadRequest.d.ts.map +0 -1
  709. package/dist/umd/http/errors/BadRequest.js +0 -22
  710. package/dist/umd/http/errors/BadRequest.js.map +0 -1
  711. package/dist/umd/http/errors/Conflict.d.ts +0 -7
  712. package/dist/umd/http/errors/Conflict.d.ts.map +0 -1
  713. package/dist/umd/http/errors/Conflict.js +0 -22
  714. package/dist/umd/http/errors/Conflict.js.map +0 -1
  715. package/dist/umd/http/errors/ExpectationFailed.d.ts +0 -7
  716. package/dist/umd/http/errors/ExpectationFailed.d.ts.map +0 -1
  717. package/dist/umd/http/errors/ExpectationFailed.js +0 -22
  718. package/dist/umd/http/errors/ExpectationFailed.js.map +0 -1
  719. package/dist/umd/http/errors/FailedDependency.d.ts +0 -7
  720. package/dist/umd/http/errors/FailedDependency.d.ts.map +0 -1
  721. package/dist/umd/http/errors/FailedDependency.js +0 -22
  722. package/dist/umd/http/errors/FailedDependency.js.map +0 -1
  723. package/dist/umd/http/errors/Forbidden.d.ts +0 -7
  724. package/dist/umd/http/errors/Forbidden.d.ts.map +0 -1
  725. package/dist/umd/http/errors/Forbidden.js +0 -22
  726. package/dist/umd/http/errors/Forbidden.js.map +0 -1
  727. package/dist/umd/http/errors/GatewayTimeout.d.ts +0 -7
  728. package/dist/umd/http/errors/GatewayTimeout.d.ts.map +0 -1
  729. package/dist/umd/http/errors/GatewayTimeout.js +0 -22
  730. package/dist/umd/http/errors/GatewayTimeout.js.map +0 -1
  731. package/dist/umd/http/errors/Gone.d.ts +0 -7
  732. package/dist/umd/http/errors/Gone.d.ts.map +0 -1
  733. package/dist/umd/http/errors/Gone.js +0 -22
  734. package/dist/umd/http/errors/Gone.js.map +0 -1
  735. package/dist/umd/http/errors/HttpVersionNotSupported.d.ts +0 -7
  736. package/dist/umd/http/errors/HttpVersionNotSupported.d.ts.map +0 -1
  737. package/dist/umd/http/errors/HttpVersionNotSupported.js +0 -22
  738. package/dist/umd/http/errors/HttpVersionNotSupported.js.map +0 -1
  739. package/dist/umd/http/errors/InternalServerError.d.ts +0 -7
  740. package/dist/umd/http/errors/InternalServerError.d.ts.map +0 -1
  741. package/dist/umd/http/errors/InternalServerError.js +0 -22
  742. package/dist/umd/http/errors/InternalServerError.js.map +0 -1
  743. package/dist/umd/http/errors/LengthRequired.d.ts +0 -7
  744. package/dist/umd/http/errors/LengthRequired.d.ts.map +0 -1
  745. package/dist/umd/http/errors/LengthRequired.js +0 -22
  746. package/dist/umd/http/errors/LengthRequired.js.map +0 -1
  747. package/dist/umd/http/errors/Locked.d.ts +0 -7
  748. package/dist/umd/http/errors/Locked.d.ts.map +0 -1
  749. package/dist/umd/http/errors/Locked.js +0 -22
  750. package/dist/umd/http/errors/Locked.js.map +0 -1
  751. package/dist/umd/http/errors/LoopDetected.d.ts +0 -7
  752. package/dist/umd/http/errors/LoopDetected.d.ts.map +0 -1
  753. package/dist/umd/http/errors/LoopDetected.js +0 -22
  754. package/dist/umd/http/errors/LoopDetected.js.map +0 -1
  755. package/dist/umd/http/errors/MethodNotAllowed.d.ts +0 -8
  756. package/dist/umd/http/errors/MethodNotAllowed.d.ts.map +0 -1
  757. package/dist/umd/http/errors/MethodNotAllowed.js +0 -23
  758. package/dist/umd/http/errors/MethodNotAllowed.js.map +0 -1
  759. package/dist/umd/http/errors/MisdirectedRequest.d.ts +0 -7
  760. package/dist/umd/http/errors/MisdirectedRequest.d.ts.map +0 -1
  761. package/dist/umd/http/errors/MisdirectedRequest.js +0 -22
  762. package/dist/umd/http/errors/MisdirectedRequest.js.map +0 -1
  763. package/dist/umd/http/errors/NetworkAuthenticationRequired.d.ts +0 -7
  764. package/dist/umd/http/errors/NetworkAuthenticationRequired.d.ts.map +0 -1
  765. package/dist/umd/http/errors/NetworkAuthenticationRequired.js +0 -22
  766. package/dist/umd/http/errors/NetworkAuthenticationRequired.js.map +0 -1
  767. package/dist/umd/http/errors/NotAcceptable.d.ts +0 -7
  768. package/dist/umd/http/errors/NotAcceptable.d.ts.map +0 -1
  769. package/dist/umd/http/errors/NotAcceptable.js +0 -22
  770. package/dist/umd/http/errors/NotAcceptable.js.map +0 -1
  771. package/dist/umd/http/errors/NotExtended.d.ts +0 -7
  772. package/dist/umd/http/errors/NotExtended.d.ts.map +0 -1
  773. package/dist/umd/http/errors/NotExtended.js +0 -22
  774. package/dist/umd/http/errors/NotExtended.js.map +0 -1
  775. package/dist/umd/http/errors/NotFound.d.ts +0 -7
  776. package/dist/umd/http/errors/NotFound.d.ts.map +0 -1
  777. package/dist/umd/http/errors/NotFound.js +0 -22
  778. package/dist/umd/http/errors/NotFound.js.map +0 -1
  779. package/dist/umd/http/errors/NotImplemented.d.ts +0 -7
  780. package/dist/umd/http/errors/NotImplemented.d.ts.map +0 -1
  781. package/dist/umd/http/errors/NotImplemented.js +0 -22
  782. package/dist/umd/http/errors/NotImplemented.js.map +0 -1
  783. package/dist/umd/http/errors/PayloadTooLarge.d.ts +0 -8
  784. package/dist/umd/http/errors/PayloadTooLarge.d.ts.map +0 -1
  785. package/dist/umd/http/errors/PayloadTooLarge.js +0 -23
  786. package/dist/umd/http/errors/PayloadTooLarge.js.map +0 -1
  787. package/dist/umd/http/errors/PaymentRequired.d.ts +0 -7
  788. package/dist/umd/http/errors/PaymentRequired.d.ts.map +0 -1
  789. package/dist/umd/http/errors/PaymentRequired.js +0 -22
  790. package/dist/umd/http/errors/PaymentRequired.js.map +0 -1
  791. package/dist/umd/http/errors/PreconditionFailed.d.ts +0 -7
  792. package/dist/umd/http/errors/PreconditionFailed.d.ts.map +0 -1
  793. package/dist/umd/http/errors/PreconditionFailed.js +0 -22
  794. package/dist/umd/http/errors/PreconditionFailed.js.map +0 -1
  795. package/dist/umd/http/errors/PreconditionRequired.d.ts +0 -7
  796. package/dist/umd/http/errors/PreconditionRequired.d.ts.map +0 -1
  797. package/dist/umd/http/errors/PreconditionRequired.js +0 -22
  798. package/dist/umd/http/errors/PreconditionRequired.js.map +0 -1
  799. package/dist/umd/http/errors/ProxyAuthenticationRequired.d.ts +0 -8
  800. package/dist/umd/http/errors/ProxyAuthenticationRequired.d.ts.map +0 -1
  801. package/dist/umd/http/errors/ProxyAuthenticationRequired.js +0 -23
  802. package/dist/umd/http/errors/ProxyAuthenticationRequired.js.map +0 -1
  803. package/dist/umd/http/errors/RangeNotSatisfiable.d.ts +0 -7
  804. package/dist/umd/http/errors/RangeNotSatisfiable.d.ts.map +0 -1
  805. package/dist/umd/http/errors/RangeNotSatisfiable.js +0 -22
  806. package/dist/umd/http/errors/RangeNotSatisfiable.js.map +0 -1
  807. package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.d.ts +0 -7
  808. package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.d.ts.map +0 -1
  809. package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.js +0 -22
  810. package/dist/umd/http/errors/RequestHeaderFieldsTooLarge.js.map +0 -1
  811. package/dist/umd/http/errors/RequestTimeout.d.ts +0 -7
  812. package/dist/umd/http/errors/RequestTimeout.d.ts.map +0 -1
  813. package/dist/umd/http/errors/RequestTimeout.js +0 -22
  814. package/dist/umd/http/errors/RequestTimeout.js.map +0 -1
  815. package/dist/umd/http/errors/ServiceUnavailable.d.ts +0 -8
  816. package/dist/umd/http/errors/ServiceUnavailable.d.ts.map +0 -1
  817. package/dist/umd/http/errors/ServiceUnavailable.js +0 -23
  818. package/dist/umd/http/errors/ServiceUnavailable.js.map +0 -1
  819. package/dist/umd/http/errors/TooEarly.d.ts +0 -7
  820. package/dist/umd/http/errors/TooEarly.d.ts.map +0 -1
  821. package/dist/umd/http/errors/TooEarly.js +0 -22
  822. package/dist/umd/http/errors/TooEarly.js.map +0 -1
  823. package/dist/umd/http/errors/TooManyRequests.d.ts +0 -8
  824. package/dist/umd/http/errors/TooManyRequests.d.ts.map +0 -1
  825. package/dist/umd/http/errors/TooManyRequests.js +0 -23
  826. package/dist/umd/http/errors/TooManyRequests.js.map +0 -1
  827. package/dist/umd/http/errors/Unauthorized.d.ts +0 -8
  828. package/dist/umd/http/errors/Unauthorized.d.ts.map +0 -1
  829. package/dist/umd/http/errors/Unauthorized.js +0 -23
  830. package/dist/umd/http/errors/Unauthorized.js.map +0 -1
  831. package/dist/umd/http/errors/UnavailableForLegalReasons.d.ts +0 -7
  832. package/dist/umd/http/errors/UnavailableForLegalReasons.d.ts.map +0 -1
  833. package/dist/umd/http/errors/UnavailableForLegalReasons.js +0 -22
  834. package/dist/umd/http/errors/UnavailableForLegalReasons.js.map +0 -1
  835. package/dist/umd/http/errors/UnprocessableEntity.d.ts +0 -7
  836. package/dist/umd/http/errors/UnprocessableEntity.d.ts.map +0 -1
  837. package/dist/umd/http/errors/UnprocessableEntity.js +0 -22
  838. package/dist/umd/http/errors/UnprocessableEntity.js.map +0 -1
  839. package/dist/umd/http/errors/UnsufficientStorage.d.ts +0 -7
  840. package/dist/umd/http/errors/UnsufficientStorage.d.ts.map +0 -1
  841. package/dist/umd/http/errors/UnsufficientStorage.js +0 -22
  842. package/dist/umd/http/errors/UnsufficientStorage.js.map +0 -1
  843. package/dist/umd/http/errors/UnsupportedMediaType.d.ts +0 -7
  844. package/dist/umd/http/errors/UnsupportedMediaType.d.ts.map +0 -1
  845. package/dist/umd/http/errors/UnsupportedMediaType.js +0 -22
  846. package/dist/umd/http/errors/UnsupportedMediaType.js.map +0 -1
  847. package/dist/umd/http/errors/UpgradeRequired.d.ts +0 -7
  848. package/dist/umd/http/errors/UpgradeRequired.d.ts.map +0 -1
  849. package/dist/umd/http/errors/UpgradeRequired.js +0 -22
  850. package/dist/umd/http/errors/UpgradeRequired.js.map +0 -1
  851. package/dist/umd/http/errors/UriTooLong.d.ts +0 -7
  852. package/dist/umd/http/errors/UriTooLong.d.ts.map +0 -1
  853. package/dist/umd/http/errors/UriTooLong.js +0 -22
  854. package/dist/umd/http/errors/UriTooLong.js.map +0 -1
  855. package/dist/umd/http/errors/VariantAlsoNegotiates.d.ts +0 -7
  856. package/dist/umd/http/errors/VariantAlsoNegotiates.d.ts.map +0 -1
  857. package/dist/umd/http/errors/VariantAlsoNegotiates.js +0 -22
  858. package/dist/umd/http/errors/VariantAlsoNegotiates.js.map +0 -1
  859. package/dist/umd/http/errors/base.d.ts +0 -23
  860. package/dist/umd/http/errors/base.d.ts.map +0 -1
  861. package/dist/umd/http/errors/base.js +0 -46
  862. package/dist/umd/http/errors/base.js.map +0 -1
  863. package/dist/umd/http/errors/index.d.ts +0 -42
  864. package/dist/umd/http/errors/index.d.ts.map +0 -1
  865. package/dist/umd/http/errors/index.js +0 -97
  866. package/dist/umd/http/errors/index.js.map +0 -1
  867. package/dist/umd/http/httpExceptions.d.ts +0 -14
  868. package/dist/umd/http/httpExceptions.d.ts.map +0 -1
  869. package/dist/umd/http/httpExceptions.js +0 -102
  870. package/dist/umd/http/httpExceptions.js.map +0 -1
  871. package/dist/umd/index.d.ts +0 -26
  872. package/dist/umd/index.d.ts.map +0 -1
  873. package/dist/umd/index.js +0 -73
  874. package/dist/umd/index.js.map +0 -1
  875. package/dist/umd/models.d.ts +0 -15
  876. package/dist/umd/models.d.ts.map +0 -1
  877. package/dist/umd/models.js +0 -13
  878. package/dist/umd/models.js.map +0 -1
  879. package/dist/umd/services/destinations/Destinations.d.ts +0 -12
  880. package/dist/umd/services/destinations/Destinations.d.ts.map +0 -1
  881. package/dist/umd/services/destinations/Destinations.js +0 -42
  882. package/dist/umd/services/destinations/Destinations.js.map +0 -1
  883. package/dist/umd/services/destinations/index.d.ts +0 -2
  884. package/dist/umd/services/destinations/index.d.ts.map +0 -1
  885. package/dist/umd/services/destinations/index.js +0 -13
  886. package/dist/umd/services/destinations/index.js.map +0 -1
  887. package/dist/umd/services/destinations/models/ListDestinationsResponse.d.ts +0 -17
  888. package/dist/umd/services/destinations/models/ListDestinationsResponse.d.ts.map +0 -1
  889. package/dist/umd/services/destinations/models/ListDestinationsResponse.js +0 -13
  890. package/dist/umd/services/destinations/models/ListDestinationsResponse.js.map +0 -1
  891. package/dist/umd/services/eSim/ESim.d.ts +0 -40
  892. package/dist/umd/services/eSim/ESim.d.ts.map +0 -1
  893. package/dist/umd/services/eSim/ESim.js +0 -123
  894. package/dist/umd/services/eSim/ESim.js.map +0 -1
  895. package/dist/umd/services/eSim/index.d.ts +0 -5
  896. package/dist/umd/services/eSim/index.d.ts.map +0 -1
  897. package/dist/umd/services/eSim/index.js +0 -13
  898. package/dist/umd/services/eSim/index.js.map +0 -1
  899. package/dist/umd/services/eSim/models/GetEsimDeviceResponse.d.ts +0 -23
  900. package/dist/umd/services/eSim/models/GetEsimDeviceResponse.d.ts.map +0 -1
  901. package/dist/umd/services/eSim/models/GetEsimDeviceResponse.js +0 -13
  902. package/dist/umd/services/eSim/models/GetEsimDeviceResponse.js.map +0 -1
  903. package/dist/umd/services/eSim/models/GetEsimHistoryResponse.d.ts +0 -26
  904. package/dist/umd/services/eSim/models/GetEsimHistoryResponse.d.ts.map +0 -1
  905. package/dist/umd/services/eSim/models/GetEsimHistoryResponse.js +0 -13
  906. package/dist/umd/services/eSim/models/GetEsimHistoryResponse.js.map +0 -1
  907. package/dist/umd/services/eSim/models/GetEsimMacResponse.d.ts +0 -19
  908. package/dist/umd/services/eSim/models/GetEsimMacResponse.d.ts.map +0 -1
  909. package/dist/umd/services/eSim/models/GetEsimMacResponse.js +0 -13
  910. package/dist/umd/services/eSim/models/GetEsimMacResponse.js.map +0 -1
  911. package/dist/umd/services/eSim/models/GetEsimResponse.d.ts +0 -23
  912. package/dist/umd/services/eSim/models/GetEsimResponse.d.ts.map +0 -1
  913. package/dist/umd/services/eSim/models/GetEsimResponse.js +0 -13
  914. package/dist/umd/services/eSim/models/GetEsimResponse.js.map +0 -1
  915. package/dist/umd/services/packages/Packages.d.ts +0 -30
  916. package/dist/umd/services/packages/Packages.d.ts.map +0 -1
  917. package/dist/umd/services/packages/Packages.js +0 -79
  918. package/dist/umd/services/packages/Packages.js.map +0 -1
  919. package/dist/umd/services/packages/index.d.ts +0 -2
  920. package/dist/umd/services/packages/index.d.ts.map +0 -1
  921. package/dist/umd/services/packages/index.js +0 -13
  922. package/dist/umd/services/packages/index.js.map +0 -1
  923. package/dist/umd/services/packages/models/ListPackagesResponse.d.ts +0 -30
  924. package/dist/umd/services/packages/models/ListPackagesResponse.d.ts.map +0 -1
  925. package/dist/umd/services/packages/models/ListPackagesResponse.js +0 -13
  926. package/dist/umd/services/packages/models/ListPackagesResponse.js.map +0 -1
  927. package/dist/umd/services/purchases/Purchases.d.ts +0 -66
  928. package/dist/umd/services/purchases/Purchases.d.ts.map +0 -1
  929. package/dist/umd/services/purchases/Purchases.js +0 -160
  930. package/dist/umd/services/purchases/Purchases.js.map +0 -1
  931. package/dist/umd/services/purchases/index.d.ts +0 -9
  932. package/dist/umd/services/purchases/index.d.ts.map +0 -1
  933. package/dist/umd/services/purchases/index.js +0 -13
  934. package/dist/umd/services/purchases/index.js.map +0 -1
  935. package/dist/umd/services/purchases/models/CreatePurchaseRequest.d.ts +0 -41
  936. package/dist/umd/services/purchases/models/CreatePurchaseRequest.d.ts.map +0 -1
  937. package/dist/umd/services/purchases/models/CreatePurchaseRequest.js +0 -13
  938. package/dist/umd/services/purchases/models/CreatePurchaseRequest.js.map +0 -1
  939. package/dist/umd/services/purchases/models/CreatePurchaseResponse.d.ts +0 -48
  940. package/dist/umd/services/purchases/models/CreatePurchaseResponse.d.ts.map +0 -1
  941. package/dist/umd/services/purchases/models/CreatePurchaseResponse.js +0 -13
  942. package/dist/umd/services/purchases/models/CreatePurchaseResponse.js.map +0 -1
  943. package/dist/umd/services/purchases/models/EditPurchaseRequest.d.ts +0 -25
  944. package/dist/umd/services/purchases/models/EditPurchaseRequest.d.ts.map +0 -1
  945. package/dist/umd/services/purchases/models/EditPurchaseRequest.js +0 -13
  946. package/dist/umd/services/purchases/models/EditPurchaseRequest.js.map +0 -1
  947. package/dist/umd/services/purchases/models/EditPurchaseResponse.d.ts +0 -25
  948. package/dist/umd/services/purchases/models/EditPurchaseResponse.d.ts.map +0 -1
  949. package/dist/umd/services/purchases/models/EditPurchaseResponse.js +0 -13
  950. package/dist/umd/services/purchases/models/EditPurchaseResponse.js.map +0 -1
  951. package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.d.ts +0 -11
  952. package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.d.ts.map +0 -1
  953. package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.js +0 -13
  954. package/dist/umd/services/purchases/models/GetPurchaseConsumptionResponse.js.map +0 -1
  955. package/dist/umd/services/purchases/models/ListPurchasesResponse.d.ts +0 -76
  956. package/dist/umd/services/purchases/models/ListPurchasesResponse.d.ts.map +0 -1
  957. package/dist/umd/services/purchases/models/ListPurchasesResponse.js +0 -13
  958. package/dist/umd/services/purchases/models/ListPurchasesResponse.js.map +0 -1
  959. package/dist/umd/services/purchases/models/TopUpEsimRequest.d.ts +0 -37
  960. package/dist/umd/services/purchases/models/TopUpEsimRequest.d.ts.map +0 -1
  961. package/dist/umd/services/purchases/models/TopUpEsimRequest.js +0 -13
  962. package/dist/umd/services/purchases/models/TopUpEsimRequest.js.map +0 -1
  963. package/dist/umd/services/purchases/models/TopUpEsimResponse.d.ts +0 -44
  964. package/dist/umd/services/purchases/models/TopUpEsimResponse.d.ts.map +0 -1
  965. package/dist/umd/services/purchases/models/TopUpEsimResponse.js +0 -13
  966. package/dist/umd/services/purchases/models/TopUpEsimResponse.js.map +0 -1
@@ -0,0 +1,70 @@
1
+ import { ZodType } from 'zod';
2
+ import { Environment } from './environment';
3
+ import { Request } from './transport/request';
4
+
5
+ export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
6
+
7
+ export interface SdkConfig {
8
+ baseUrl?: string;
9
+ environment?: Environment;
10
+ timeout?: number;
11
+ clientId?: string;
12
+ clientSecret?: string;
13
+ retry?: RetryOptions;
14
+ validation?: ValidationOptions;
15
+ }
16
+
17
+ export interface HttpMetadata {
18
+ status: number;
19
+ statusText: string;
20
+ headers: Record<string, string>;
21
+ }
22
+
23
+ export interface HttpResponse<T> {
24
+ data?: T;
25
+ metadata: HttpMetadata;
26
+ raw: ArrayBuffer;
27
+ }
28
+
29
+ export interface RequestHandler {
30
+ next?: RequestHandler;
31
+
32
+ handle<T>(request: Request<T>): Promise<HttpResponse<T>>;
33
+ }
34
+
35
+ export enum ContentType {
36
+ Json = 'json',
37
+ Xml = 'xml',
38
+ Pdf = 'pdf',
39
+ Image = 'image',
40
+ File = 'file',
41
+ Binary = 'binary',
42
+ FormUrlEncoded = 'form',
43
+ Text = 'text',
44
+ MultipartFormData = 'multipartFormData',
45
+ }
46
+
47
+ export interface Options<T> {
48
+ responseSchema: ZodType<T, any, any>;
49
+ requestSchema?: ZodType;
50
+ body?: any;
51
+ requestContentType?: ContentType;
52
+ responseContentType?: ContentType;
53
+ abortSignal?: AbortSignal;
54
+ queryParams?: Record<string, unknown>;
55
+ retry?: RetryOptions;
56
+ }
57
+
58
+ export interface RequestConfig {
59
+ retry?: RetryOptions;
60
+ validation?: ValidationOptions;
61
+ }
62
+
63
+ export interface RetryOptions {
64
+ attempts: number;
65
+ delayMs?: number;
66
+ }
67
+
68
+ export interface ValidationOptions {
69
+ responseValidation?: boolean;
70
+ }
package/src/index.ts ADDED
@@ -0,0 +1,68 @@
1
+ import { Environment } from './http/environment';
2
+ import { SdkConfig } from './http/types';
3
+ import { DestinationsService } from './services/destinations';
4
+ import { PackagesService } from './services/packages';
5
+ import { PurchasesService } from './services/purchases';
6
+ import { ESimService } from './services/e-sim';
7
+
8
+ export class Celitech {
9
+ public readonly destinations: DestinationsService;
10
+
11
+ public readonly packages: PackagesService;
12
+
13
+ public readonly purchases: PurchasesService;
14
+
15
+ public readonly eSim: ESimService;
16
+
17
+ constructor(public config: SdkConfig) {
18
+ const baseUrl = config.environment || config.baseUrl || Environment.DEFAULT;
19
+ this.config = {
20
+ ...config,
21
+ baseUrl,
22
+ };
23
+ this.destinations = new DestinationsService(this.config);
24
+
25
+ this.packages = new PackagesService(this.config);
26
+
27
+ this.purchases = new PurchasesService(this.config);
28
+
29
+ this.eSim = new ESimService(this.config);
30
+ }
31
+
32
+ set baseUrl(baseUrl: string) {
33
+ this.destinations.baseUrl = baseUrl;
34
+ this.packages.baseUrl = baseUrl;
35
+ this.purchases.baseUrl = baseUrl;
36
+ this.eSim.baseUrl = baseUrl;
37
+ }
38
+
39
+ set environment(environment: Environment) {
40
+ this.destinations.baseUrl = environment;
41
+ this.packages.baseUrl = environment;
42
+ this.purchases.baseUrl = environment;
43
+ this.eSim.baseUrl = environment;
44
+ }
45
+
46
+ set timeout(timeout: number) {
47
+ this.destinations.timeout = timeout;
48
+ this.packages.timeout = timeout;
49
+ this.purchases.timeout = timeout;
50
+ this.eSim.timeout = timeout;
51
+ }
52
+
53
+ set clientId(clientId: string) {
54
+ this.destinations.clientId = clientId;
55
+ this.packages.clientId = clientId;
56
+ this.purchases.clientId = clientId;
57
+ this.eSim.clientId = clientId;
58
+ }
59
+
60
+ set clientSecret(clientSecret: string) {
61
+ this.destinations.clientSecret = clientSecret;
62
+ this.packages.clientSecret = clientSecret;
63
+ this.purchases.clientSecret = clientSecret;
64
+ this.eSim.clientSecret = clientSecret;
65
+ }
66
+ }
67
+
68
+ // c029837e0e474b76bc487506e8799df5e3335891efe4fb02bda7a1441840310c
@@ -0,0 +1,29 @@
1
+ import { Environment } from '../http/environment';
2
+ import { HttpClient } from '../http';
3
+ import { SdkConfig } from '../http/types';
4
+
5
+ export class BaseService {
6
+ public client: HttpClient = new HttpClient(this.config);
7
+
8
+ constructor(public config: SdkConfig) {}
9
+
10
+ set baseUrl(baseUrl: string) {
11
+ this.config.baseUrl = baseUrl;
12
+ }
13
+
14
+ set environment(environment: Environment) {
15
+ this.config.environment = environment;
16
+ }
17
+
18
+ set timeout(timeout: number) {
19
+ this.config.timeout = timeout;
20
+ }
21
+
22
+ set clientId(clientId: string) {
23
+ this.config.clientId = clientId;
24
+ }
25
+
26
+ set clientSecret(clientSecret: string) {
27
+ this.config.clientSecret = clientSecret;
28
+ }
29
+ }
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ import { BaseService } from '../base-service';
3
+ import { ContentType, HttpResponse } from '../../http';
4
+ import { RequestConfig } from '../../http/types';
5
+ import { Request } from '../../http/transport/request';
6
+ import { ListDestinationsOkResponse, listDestinationsOkResponseResponse } from './models/list-destinations-ok-response';
7
+
8
+ export class DestinationsService extends BaseService {
9
+ /**
10
+ * List Destinations
11
+ * @returns {Promise<HttpResponse<ListDestinationsOkResponse>>} Successful Response
12
+ */
13
+ async listDestinations(requestConfig?: RequestConfig): Promise<HttpResponse<ListDestinationsOkResponse>> {
14
+ const request = new Request({
15
+ method: 'GET',
16
+ path: '/destinations',
17
+ config: this.config,
18
+ responseSchema: listDestinationsOkResponseResponse,
19
+ requestSchema: z.any(),
20
+ requestContentType: ContentType.Json,
21
+ responseContentType: ContentType.Json,
22
+ requestConfig,
23
+ });
24
+ return this.client.call<ListDestinationsOkResponse>(request);
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ export * from './destinations';
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * The shape of the model inside the application code - what the users use
5
+ */
6
+ export const destinations: any = z.lazy(() => {
7
+ return z.object({
8
+ name: z.string().optional(),
9
+ destination: z.string().optional(),
10
+ supportedCountries: z.array(z.string()).optional(),
11
+ });
12
+ });
13
+
14
+ /**
15
+ *
16
+ * @typedef {Destinations} destinations
17
+ * @property {string} - Name of the destination
18
+ * @property {string} - ISO representation of the destination
19
+ * @property {string[]} - This array indicates the geographical area covered by a specific destination. If the destination represents a single country, the array will include that country. However, if the destination represents a broader regional scope, the array will be populated with the names of the countries belonging to that region.
20
+ */
21
+ export type Destinations = z.infer<typeof destinations>;
22
+
23
+ /**
24
+ * The shape of the model mapping from the api schema into the application shape.
25
+ * Is equal to application shape if all property names match the api schema
26
+ */
27
+ export const destinationsResponse: any = z.lazy(() => {
28
+ return z
29
+ .object({
30
+ name: z.string().optional(),
31
+ destination: z.string().optional(),
32
+ supportedCountries: z.array(z.string()).optional(),
33
+ })
34
+ .transform((data) => ({
35
+ name: data['name'],
36
+ destination: data['destination'],
37
+ supportedCountries: data['supportedCountries'],
38
+ }));
39
+ });
40
+
41
+ /**
42
+ * The shape of the model mapping from the application shape into the api schema.
43
+ * Is equal to application shape if all property names match the api schema
44
+ */
45
+ export const destinationsRequest: any = z.lazy(() => {
46
+ return z
47
+ .object({
48
+ name: z.string().nullish(),
49
+ destination: z.string().nullish(),
50
+ supportedCountries: z.array(z.string()).nullish(),
51
+ })
52
+ .transform((data) => ({
53
+ name: data['name'],
54
+ destination: data['destination'],
55
+ supportedCountries: data['supportedCountries'],
56
+ }));
57
+ });
@@ -0,0 +1,2 @@
1
+ export * from './list-destinations-ok-response';
2
+ export * from './destinations';
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ import { destinations, destinationsRequest, destinationsResponse } from './destinations';
3
+
4
+ /**
5
+ * The shape of the model inside the application code - what the users use
6
+ */
7
+ export const listDestinationsOkResponse: any = z.lazy(() => {
8
+ return z.object({
9
+ destinations: z.array(destinations).optional(),
10
+ });
11
+ });
12
+
13
+ /**
14
+ *
15
+ * @typedef {ListDestinationsOkResponse} listDestinationsOkResponse
16
+ * @property {Destinations[]}
17
+ */
18
+ export type ListDestinationsOkResponse = z.infer<typeof listDestinationsOkResponse>;
19
+
20
+ /**
21
+ * The shape of the model mapping from the api schema into the application shape.
22
+ * Is equal to application shape if all property names match the api schema
23
+ */
24
+ export const listDestinationsOkResponseResponse: any = z.lazy(() => {
25
+ return z
26
+ .object({
27
+ destinations: z.array(destinationsResponse).optional(),
28
+ })
29
+ .transform((data) => ({
30
+ destinations: data['destinations'],
31
+ }));
32
+ });
33
+
34
+ /**
35
+ * The shape of the model mapping from the application shape into the api schema.
36
+ * Is equal to application shape if all property names match the api schema
37
+ */
38
+ export const listDestinationsOkResponseRequest: any = z.lazy(() => {
39
+ return z.object({ destinations: z.array(destinationsRequest).nullish() }).transform((data) => ({
40
+ destinations: data['destinations'],
41
+ }));
42
+ });
@@ -0,0 +1,92 @@
1
+ import { z } from 'zod';
2
+ import { BaseService } from '../base-service';
3
+ import { ContentType, HttpResponse } from '../../http';
4
+ import { RequestConfig } from '../../http/types';
5
+ import { Request } from '../../http/transport/request';
6
+ import { GetEsimOkResponse, getEsimOkResponseResponse } from './models/get-esim-ok-response';
7
+ import { GetEsimParams } from './request-params';
8
+ import { GetEsimDeviceOkResponse, getEsimDeviceOkResponseResponse } from './models/get-esim-device-ok-response';
9
+ import { GetEsimHistoryOkResponse, getEsimHistoryOkResponseResponse } from './models/get-esim-history-ok-response';
10
+ import { GetEsimMacOkResponse, getEsimMacOkResponseResponse } from './models/get-esim-mac-ok-response';
11
+
12
+ export class ESimService extends BaseService {
13
+ /**
14
+ * Get eSIM Status
15
+ * @param {string} iccid - ID of the eSIM
16
+ * @returns {Promise<HttpResponse<GetEsimOkResponse>>} Successful Response
17
+ */
18
+ async getEsim(params: GetEsimParams, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimOkResponse>> {
19
+ const request = new Request({
20
+ method: 'GET',
21
+ path: '/esim',
22
+ config: this.config,
23
+ responseSchema: getEsimOkResponseResponse,
24
+ requestSchema: z.any(),
25
+ requestContentType: ContentType.Json,
26
+ responseContentType: ContentType.Json,
27
+ requestConfig,
28
+ });
29
+ request.addQueryParam('iccid', params?.iccid);
30
+ return this.client.call<GetEsimOkResponse>(request);
31
+ }
32
+
33
+ /**
34
+ * Get eSIM Device
35
+ * @param {string} iccid - ID of the eSIM
36
+ * @returns {Promise<HttpResponse<GetEsimDeviceOkResponse>>} Successful Response
37
+ */
38
+ async getEsimDevice(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimDeviceOkResponse>> {
39
+ const request = new Request({
40
+ method: 'GET',
41
+ path: '/esim/{iccid}/device',
42
+ config: this.config,
43
+ responseSchema: getEsimDeviceOkResponseResponse,
44
+ requestSchema: z.any(),
45
+ requestContentType: ContentType.Json,
46
+ responseContentType: ContentType.Json,
47
+ requestConfig,
48
+ });
49
+ request.addPathParam('iccid', iccid);
50
+ return this.client.call<GetEsimDeviceOkResponse>(request);
51
+ }
52
+
53
+ /**
54
+ * Get eSIM History
55
+ * @param {string} iccid - ID of the eSIM
56
+ * @returns {Promise<HttpResponse<GetEsimHistoryOkResponse>>} Successful Response
57
+ */
58
+ async getEsimHistory(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimHistoryOkResponse>> {
59
+ const request = new Request({
60
+ method: 'GET',
61
+ path: '/esim/{iccid}/history',
62
+ config: this.config,
63
+ responseSchema: getEsimHistoryOkResponseResponse,
64
+ requestSchema: z.any(),
65
+ requestContentType: ContentType.Json,
66
+ responseContentType: ContentType.Json,
67
+ requestConfig,
68
+ });
69
+ request.addPathParam('iccid', iccid);
70
+ return this.client.call<GetEsimHistoryOkResponse>(request);
71
+ }
72
+
73
+ /**
74
+ * Get eSIM MAC
75
+ * @param {string} iccid - ID of the eSIM
76
+ * @returns {Promise<HttpResponse<GetEsimMacOkResponse>>} Successful Response
77
+ */
78
+ async getEsimMac(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimMacOkResponse>> {
79
+ const request = new Request({
80
+ method: 'GET',
81
+ path: '/esim/{iccid}/mac',
82
+ config: this.config,
83
+ responseSchema: getEsimMacOkResponseResponse,
84
+ requestSchema: z.any(),
85
+ requestContentType: ContentType.Json,
86
+ responseContentType: ContentType.Json,
87
+ requestConfig,
88
+ });
89
+ request.addPathParam('iccid', iccid);
90
+ return this.client.call<GetEsimMacOkResponse>(request);
91
+ }
92
+ }
@@ -0,0 +1 @@
1
+ export * from './e-sim';
@@ -0,0 +1,63 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * The shape of the model inside the application code - what the users use
5
+ */
6
+ export const device: any = z.lazy(() => {
7
+ return z.object({
8
+ oem: z.string().optional(),
9
+ hardwareName: z.string().optional(),
10
+ hardwareModel: z.string().optional(),
11
+ eid: z.string().optional(),
12
+ });
13
+ });
14
+
15
+ /**
16
+ *
17
+ * @typedef {Device} device
18
+ * @property {string} - Name of the OEM
19
+ * @property {string} - Name of the Device
20
+ * @property {string} - Model of the Device
21
+ * @property {string} - Serial Number of the eSIM
22
+ */
23
+ export type Device = z.infer<typeof device>;
24
+
25
+ /**
26
+ * The shape of the model mapping from the api schema into the application shape.
27
+ * Is equal to application shape if all property names match the api schema
28
+ */
29
+ export const deviceResponse: any = z.lazy(() => {
30
+ return z
31
+ .object({
32
+ oem: z.string().optional(),
33
+ hardwareName: z.string().optional(),
34
+ hardwareModel: z.string().optional(),
35
+ eid: z.string().optional(),
36
+ })
37
+ .transform((data) => ({
38
+ oem: data['oem'],
39
+ hardwareName: data['hardwareName'],
40
+ hardwareModel: data['hardwareModel'],
41
+ eid: data['eid'],
42
+ }));
43
+ });
44
+
45
+ /**
46
+ * The shape of the model mapping from the application shape into the api schema.
47
+ * Is equal to application shape if all property names match the api schema
48
+ */
49
+ export const deviceRequest: any = z.lazy(() => {
50
+ return z
51
+ .object({
52
+ oem: z.string().nullish(),
53
+ hardwareName: z.string().nullish(),
54
+ hardwareModel: z.string().nullish(),
55
+ eid: z.string().nullish(),
56
+ })
57
+ .transform((data) => ({
58
+ oem: data['oem'],
59
+ hardwareName: data['hardwareName'],
60
+ hardwareModel: data['hardwareModel'],
61
+ eid: data['eid'],
62
+ }));
63
+ });
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ import { device, deviceRequest, deviceResponse } from './device';
3
+
4
+ /**
5
+ * The shape of the model inside the application code - what the users use
6
+ */
7
+ export const getEsimDeviceOkResponse: any = z.lazy(() => {
8
+ return z.object({
9
+ device: device.optional(),
10
+ });
11
+ });
12
+
13
+ /**
14
+ *
15
+ * @typedef {GetEsimDeviceOkResponse} getEsimDeviceOkResponse
16
+ * @property {Device}
17
+ */
18
+ export type GetEsimDeviceOkResponse = z.infer<typeof getEsimDeviceOkResponse>;
19
+
20
+ /**
21
+ * The shape of the model mapping from the api schema into the application shape.
22
+ * Is equal to application shape if all property names match the api schema
23
+ */
24
+ export const getEsimDeviceOkResponseResponse: any = z.lazy(() => {
25
+ return z
26
+ .object({
27
+ device: deviceResponse.optional(),
28
+ })
29
+ .transform((data) => ({
30
+ device: data['device'],
31
+ }));
32
+ });
33
+
34
+ /**
35
+ * The shape of the model mapping from the application shape into the api schema.
36
+ * Is equal to application shape if all property names match the api schema
37
+ */
38
+ export const getEsimDeviceOkResponseRequest: any = z.lazy(() => {
39
+ return z.object({ device: deviceRequest.nullish() }).transform((data) => ({
40
+ device: data['device'],
41
+ }));
42
+ });
@@ -0,0 +1,47 @@
1
+ import { z } from 'zod';
2
+ import { history, historyRequest, historyResponse } from './history';
3
+
4
+ /**
5
+ * The shape of the model inside the application code - what the users use
6
+ */
7
+ export const getEsimHistoryOkResponseEsim: any = z.lazy(() => {
8
+ return z.object({
9
+ iccid: z.string().min(18).max(22).optional(),
10
+ history: z.array(history).optional(),
11
+ });
12
+ });
13
+
14
+ /**
15
+ *
16
+ * @typedef {GetEsimHistoryOkResponseEsim} getEsimHistoryOkResponseEsim
17
+ * @property {string} - ID of the eSIM
18
+ * @property {History[]}
19
+ */
20
+ export type GetEsimHistoryOkResponseEsim = z.infer<typeof getEsimHistoryOkResponseEsim>;
21
+
22
+ /**
23
+ * The shape of the model mapping from the api schema into the application shape.
24
+ * Is equal to application shape if all property names match the api schema
25
+ */
26
+ export const getEsimHistoryOkResponseEsimResponse: any = z.lazy(() => {
27
+ return z
28
+ .object({
29
+ iccid: z.string().min(18).max(22).optional(),
30
+ history: z.array(historyResponse).optional(),
31
+ })
32
+ .transform((data) => ({
33
+ iccid: data['iccid'],
34
+ history: data['history'],
35
+ }));
36
+ });
37
+
38
+ /**
39
+ * The shape of the model mapping from the application shape into the api schema.
40
+ * Is equal to application shape if all property names match the api schema
41
+ */
42
+ export const getEsimHistoryOkResponseEsimRequest: any = z.lazy(() => {
43
+ return z.object({ iccid: z.string().nullish(), history: z.array(historyRequest).nullish() }).transform((data) => ({
44
+ iccid: data['iccid'],
45
+ history: data['history'],
46
+ }));
47
+ });
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod';
2
+ import {
3
+ getEsimHistoryOkResponseEsim,
4
+ getEsimHistoryOkResponseEsimRequest,
5
+ getEsimHistoryOkResponseEsimResponse,
6
+ } from './get-esim-history-ok-response-esim';
7
+
8
+ /**
9
+ * The shape of the model inside the application code - what the users use
10
+ */
11
+ export const getEsimHistoryOkResponse: any = z.lazy(() => {
12
+ return z.object({
13
+ esim: getEsimHistoryOkResponseEsim.optional(),
14
+ });
15
+ });
16
+
17
+ /**
18
+ *
19
+ * @typedef {GetEsimHistoryOkResponse} getEsimHistoryOkResponse
20
+ * @property {GetEsimHistoryOkResponseEsim}
21
+ */
22
+ export type GetEsimHistoryOkResponse = z.infer<typeof getEsimHistoryOkResponse>;
23
+
24
+ /**
25
+ * The shape of the model mapping from the api schema into the application shape.
26
+ * Is equal to application shape if all property names match the api schema
27
+ */
28
+ export const getEsimHistoryOkResponseResponse: any = z.lazy(() => {
29
+ return z
30
+ .object({
31
+ esim: getEsimHistoryOkResponseEsimResponse.optional(),
32
+ })
33
+ .transform((data) => ({
34
+ esim: data['esim'],
35
+ }));
36
+ });
37
+
38
+ /**
39
+ * The shape of the model mapping from the application shape into the api schema.
40
+ * Is equal to application shape if all property names match the api schema
41
+ */
42
+ export const getEsimHistoryOkResponseRequest: any = z.lazy(() => {
43
+ return z.object({ esim: getEsimHistoryOkResponseEsimRequest.nullish() }).transform((data) => ({
44
+ esim: data['esim'],
45
+ }));
46
+ });
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * The shape of the model inside the application code - what the users use
5
+ */
6
+ export const getEsimMacOkResponseEsim: any = z.lazy(() => {
7
+ return z.object({
8
+ iccid: z.string().min(18).max(22).optional(),
9
+ smdpAddress: z.string().optional(),
10
+ manualActivationCode: z.string().optional(),
11
+ });
12
+ });
13
+
14
+ /**
15
+ *
16
+ * @typedef {GetEsimMacOkResponseEsim} getEsimMacOkResponseEsim
17
+ * @property {string} - ID of the eSIM
18
+ * @property {string} - SM-DP+ Address
19
+ * @property {string} - The manual activation code
20
+ */
21
+ export type GetEsimMacOkResponseEsim = z.infer<typeof getEsimMacOkResponseEsim>;
22
+
23
+ /**
24
+ * The shape of the model mapping from the api schema into the application shape.
25
+ * Is equal to application shape if all property names match the api schema
26
+ */
27
+ export const getEsimMacOkResponseEsimResponse: any = z.lazy(() => {
28
+ return z
29
+ .object({
30
+ iccid: z.string().min(18).max(22).optional(),
31
+ smdpAddress: z.string().optional(),
32
+ manualActivationCode: z.string().optional(),
33
+ })
34
+ .transform((data) => ({
35
+ iccid: data['iccid'],
36
+ smdpAddress: data['smdpAddress'],
37
+ manualActivationCode: data['manualActivationCode'],
38
+ }));
39
+ });
40
+
41
+ /**
42
+ * The shape of the model mapping from the application shape into the api schema.
43
+ * Is equal to application shape if all property names match the api schema
44
+ */
45
+ export const getEsimMacOkResponseEsimRequest: any = z.lazy(() => {
46
+ return z
47
+ .object({
48
+ iccid: z.string().nullish(),
49
+ smdpAddress: z.string().nullish(),
50
+ manualActivationCode: z.string().nullish(),
51
+ })
52
+ .transform((data) => ({
53
+ iccid: data['iccid'],
54
+ smdpAddress: data['smdpAddress'],
55
+ manualActivationCode: data['manualActivationCode'],
56
+ }));
57
+ });