celitech-sdk 1.1.68 → 1.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.PackagesService = void 0;
7
- const BaseService_1 = __importDefault(require("../../BaseService"));
8
- const CustomHook_1 = __importDefault(require("../../hooks/CustomHook"));
9
- const QuerySerializer_1 = require("../../http/QuerySerializer");
10
- const hook = new CustomHook_1.default();
11
- class PackagesService extends BaseService_1.default {
12
- /**
13
- * @summary List Packages
14
- * @description List Packages
15
-
16
- * @param optionalParams - Optional parameters
17
- * @param optionalParams.destination - ISO representation of the package's destination.
18
- * @param optionalParams.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.
19
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
20
- * @param optionalParams.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.
21
- * @param optionalParams.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
22
- * @param optionalParams.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
23
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
24
- * @param optionalParams.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
25
- * @returns {Promise<ListPackagesResponse>} - The promise with the result
26
- */
27
- async listPackages(optionalParams = {}) {
28
- const { destination, startDate, endDate, afterCursor, limit, startTime, endTime, duration } = optionalParams;
29
- const queryParams = [];
30
- const headers = {};
31
- if (destination) {
32
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'destination', destination));
33
- }
34
- if (startDate) {
35
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'startDate', startDate));
36
- }
37
- if (endDate) {
38
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'endDate', endDate));
39
- }
40
- if (afterCursor) {
41
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'afterCursor', afterCursor));
42
- }
43
- if (limit) {
44
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'limit', limit));
45
- }
46
- if (startTime) {
47
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'startTime', startTime));
48
- }
49
- if (endTime) {
50
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'endTime', endTime));
51
- }
52
- if (duration) {
53
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'duration', duration));
54
- }
55
- const urlEndpoint = '/packages';
56
- const urlParams = queryParams.length > 0 ? `?${queryParams.join('&')}` : '';
57
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}${urlParams}`);
58
- const request = { method: 'GET', url: finalUrl, headers };
59
- await hook.beforeRequest(request);
60
- const response = await this.httpClient.get(request.url, {}, {
61
- ...request.headers,
62
- }, true);
63
- await hook.afterResponse({ method: 'GET', url: request.url, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
64
- const responseModel = response.data;
65
- return responseModel;
66
- }
67
- }
68
- exports.PackagesService = PackagesService;
69
- //# sourceMappingURL=Packages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Packages.js","sourceRoot":"","sources":["../../../../src/services/packages/Packages.ts"],"names":[],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- export type { ListPackagesResponse } from './models/ListPackagesResponse';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/packages/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/packages/index.ts"],"names":[],"mappings":""}
@@ -1,30 +0,0 @@
1
- export interface ListPackagesResponse {
2
- packages?: {
3
- /**
4
- * ID of the package
5
- */
6
- id?: string;
7
- /**
8
- * ISO representation of the package's destination
9
- */
10
- destination?: string;
11
- /**
12
- * Size of the package in Bytes
13
- */
14
- dataLimitInBytes?: number;
15
- /**
16
- * Min number of days for the package
17
- */
18
- minDays?: number;
19
- /**
20
- * Max number of days for the package
21
- */
22
- maxDays?: number;
23
- /**
24
- * Price of the package in cents
25
- */
26
- priceInCents?: number;
27
- }[];
28
- afterCursor?: string | null;
29
- }
30
- //# sourceMappingURL=ListPackagesResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListPackagesResponse.d.ts","sourceRoot":"","sources":["../../../../../src/services/packages/models/ListPackagesResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;IACJ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ListPackagesResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListPackagesResponse.js","sourceRoot":"","sources":["../../../../../src/services/packages/models/ListPackagesResponse.ts"],"names":[],"mappings":""}
@@ -1,66 +0,0 @@
1
- import BaseService from '../../BaseService';
2
- import { ListPurchasesResponse } from './models/ListPurchasesResponse';
3
- import { CreatePurchaseResponse } from './models/CreatePurchaseResponse';
4
- import { CreatePurchaseRequest } from './models/CreatePurchaseRequest';
5
- import { TopUpEsimResponse } from './models/TopUpEsimResponse';
6
- import { TopUpEsimRequest } from './models/TopUpEsimRequest';
7
- import { EditPurchaseResponse } from './models/EditPurchaseResponse';
8
- import { EditPurchaseRequest } from './models/EditPurchaseRequest';
9
- import { GetPurchaseConsumptionResponse } from './models/GetPurchaseConsumptionResponse';
10
- export declare class PurchasesService extends BaseService {
11
- /**
12
- * @summary List Purchases
13
- * @description This endpoint can be used to list all the successful purchases made between a given interval.
14
-
15
- * @param optionalParams - Optional parameters
16
- * @param optionalParams.iccid - ID of the eSIM
17
- * @param optionalParams.afterDate - Start date of the interval for filtering purchases in the format 'yyyy-MM-dd'
18
- * @param optionalParams.beforeDate - End date of the interval for filtering purchases in the format 'yyyy-MM-dd'
19
- * @param optionalParams.referenceId - The referenceId that was provided by the partner during the purchase or topup flow.
20
- * @param optionalParams.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.
21
- * @param optionalParams.limit - Maximum number of purchases to be returned in the response. The value must be greater than 0 and less than or equal to 100. If not provided, the default value is 20
22
- * @param optionalParams.after - Epoch value representing the start of the time interval for filtering purchases
23
- * @param optionalParams.before - Epoch value representing the end of the time interval for filtering purchases
24
- * @returns {Promise<ListPurchasesResponse>} - The promise with the result
25
- */
26
- listPurchases(optionalParams?: {
27
- iccid?: string;
28
- afterDate?: string;
29
- beforeDate?: string;
30
- referenceId?: string;
31
- afterCursor?: string;
32
- limit?: number;
33
- after?: number;
34
- before?: number;
35
- }): Promise<ListPurchasesResponse>;
36
- /**
37
- * @summary Create Purchase
38
- * @description This endpoint is used to purchase a new eSIM by providing the package details.
39
-
40
- * @returns {Promise<CreatePurchaseResponse>} - The promise with the result
41
- */
42
- createPurchase(input: CreatePurchaseRequest): Promise<CreatePurchaseResponse>;
43
- /**
44
- * @summary Top-up eSIM
45
- * @description This endpoint is used to top-up an eSIM with the previously associated destination by providing an existing ICCID and the package details. The top-up is not feasible for eSIMs in "DELETED" or "ERROR" state.
46
-
47
- * @returns {Promise<TopUpEsimResponse>} - The promise with the result
48
- */
49
- topUpEsim(input: TopUpEsimRequest): Promise<TopUpEsimResponse>;
50
- /**
51
- * @summary Edit Purchase
52
- * @description This endpoint allows you to modify the dates of an existing package with a future activation start time. Editing can only be performed for packages that have not been activated, and it cannot change the package size. The modification must not change the package duration category to ensure pricing consistency.
53
-
54
- * @returns {Promise<EditPurchaseResponse>} - The promise with the result
55
- */
56
- editPurchase(input: EditPurchaseRequest): Promise<EditPurchaseResponse>;
57
- /**
58
- * @summary Get Purchase Consumption
59
- * @description This endpoint can be called for consumption notifications (e.g. every 1 hour or when the user clicks a button). It returns the data balance (consumption) of purchased packages.
60
-
61
- * @param purchaseId ID of the purchase
62
- * @returns {Promise<GetPurchaseConsumptionResponse>} - The promise with the result
63
- */
64
- getPurchaseConsumption(purchaseId: string): Promise<GetPurchaseConsumptionResponse>;
65
- }
66
- //# sourceMappingURL=Purchases.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Purchases.d.ts","sourceRoot":"","sources":["../../../../src/services/purchases/Purchases.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAK5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAMzF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;OAcG;IACG,aAAa,CACjB,cAAc,GAAE;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACZ,GACL,OAAO,CAAC,qBAAqB,CAAC;IAmDjC;;;;;OAKG;IACG,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAsBnF;;;;;OAKG;IACG,SAAS,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAsBpE;;;;;OAKG;IACG,YAAY,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAsB7E;;;;;;OAMG;IACG,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC;CA4B1F"}
@@ -1,150 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.PurchasesService = void 0;
7
- const BaseService_1 = __importDefault(require("../../BaseService"));
8
- const CustomHook_1 = __importDefault(require("../../hooks/CustomHook"));
9
- const QuerySerializer_1 = require("../../http/QuerySerializer");
10
- const hook = new CustomHook_1.default();
11
- class PurchasesService extends BaseService_1.default {
12
- /**
13
- * @summary List Purchases
14
- * @description This endpoint can be used to list all the successful purchases made between a given interval.
15
-
16
- * @param optionalParams - Optional parameters
17
- * @param optionalParams.iccid - ID of the eSIM
18
- * @param optionalParams.afterDate - Start date of the interval for filtering purchases in the format 'yyyy-MM-dd'
19
- * @param optionalParams.beforeDate - End date of the interval for filtering purchases in the format 'yyyy-MM-dd'
20
- * @param optionalParams.referenceId - The referenceId that was provided by the partner during the purchase or topup flow.
21
- * @param optionalParams.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.
22
- * @param optionalParams.limit - Maximum number of purchases to be returned in the response. The value must be greater than 0 and less than or equal to 100. If not provided, the default value is 20
23
- * @param optionalParams.after - Epoch value representing the start of the time interval for filtering purchases
24
- * @param optionalParams.before - Epoch value representing the end of the time interval for filtering purchases
25
- * @returns {Promise<ListPurchasesResponse>} - The promise with the result
26
- */
27
- async listPurchases(optionalParams = {}) {
28
- const { iccid, afterDate, beforeDate, referenceId, afterCursor, limit, after, before } = optionalParams;
29
- const queryParams = [];
30
- const headers = {};
31
- if (iccid) {
32
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'iccid', iccid));
33
- }
34
- if (afterDate) {
35
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'afterDate', afterDate));
36
- }
37
- if (beforeDate) {
38
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'beforeDate', beforeDate));
39
- }
40
- if (referenceId) {
41
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'referenceId', referenceId));
42
- }
43
- if (afterCursor) {
44
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'afterCursor', afterCursor));
45
- }
46
- if (limit) {
47
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'limit', limit));
48
- }
49
- if (after) {
50
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'after', after));
51
- }
52
- if (before) {
53
- queryParams.push((0, QuerySerializer_1.serializeQuery)('form', true, 'before', before));
54
- }
55
- const urlEndpoint = '/purchases';
56
- const urlParams = queryParams.length > 0 ? `?${queryParams.join('&')}` : '';
57
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}${urlParams}`);
58
- const request = { method: 'GET', url: finalUrl, headers };
59
- await hook.beforeRequest(request);
60
- const response = await this.httpClient.get(request.url, {}, {
61
- ...request.headers,
62
- }, true);
63
- await hook.afterResponse({ method: 'GET', url: request.url, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
64
- const responseModel = response.data;
65
- return responseModel;
66
- }
67
- /**
68
- * @summary Create Purchase
69
- * @description This endpoint is used to purchase a new eSIM by providing the package details.
70
-
71
- * @returns {Promise<CreatePurchaseResponse>} - The promise with the result
72
- */
73
- async createPurchase(input) {
74
- const headers = { 'Content-Type': 'application/json' };
75
- const urlEndpoint = '/purchases';
76
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}`);
77
- const request = { method: 'POST', url: finalUrl, input, headers };
78
- await hook.beforeRequest(request);
79
- const response = await this.httpClient.post(request.url, request.input, {
80
- ...request.headers,
81
- }, true);
82
- await hook.afterResponse({ method: 'POST', url: request.url, input: request.input, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
83
- const responseModel = response.data;
84
- return responseModel;
85
- }
86
- /**
87
- * @summary Top-up eSIM
88
- * @description This endpoint is used to top-up an eSIM with the previously associated destination by providing an existing ICCID and the package details. The top-up is not feasible for eSIMs in "DELETED" or "ERROR" state.
89
-
90
- * @returns {Promise<TopUpEsimResponse>} - The promise with the result
91
- */
92
- async topUpEsim(input) {
93
- const headers = { 'Content-Type': 'application/json' };
94
- const urlEndpoint = '/purchases/topup';
95
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}`);
96
- const request = { method: 'POST', url: finalUrl, input, headers };
97
- await hook.beforeRequest(request);
98
- const response = await this.httpClient.post(request.url, request.input, {
99
- ...request.headers,
100
- }, true);
101
- await hook.afterResponse({ method: 'POST', url: request.url, input: request.input, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
102
- const responseModel = response.data;
103
- return responseModel;
104
- }
105
- /**
106
- * @summary Edit Purchase
107
- * @description This endpoint allows you to modify the dates of an existing package with a future activation start time. Editing can only be performed for packages that have not been activated, and it cannot change the package size. The modification must not change the package duration category to ensure pricing consistency.
108
-
109
- * @returns {Promise<EditPurchaseResponse>} - The promise with the result
110
- */
111
- async editPurchase(input) {
112
- const headers = { 'Content-Type': 'application/json' };
113
- const urlEndpoint = '/purchases/edit';
114
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}`);
115
- const request = { method: 'POST', url: finalUrl, input, headers };
116
- await hook.beforeRequest(request);
117
- const response = await this.httpClient.post(request.url, request.input, {
118
- ...request.headers,
119
- }, true);
120
- await hook.afterResponse({ method: 'POST', url: request.url, input: request.input, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
121
- const responseModel = response.data;
122
- return responseModel;
123
- }
124
- /**
125
- * @summary Get Purchase Consumption
126
- * @description This endpoint can be called for consumption notifications (e.g. every 1 hour or when the user clicks a button). It returns the data balance (consumption) of purchased packages.
127
-
128
- * @param purchaseId ID of the purchase
129
- * @returns {Promise<GetPurchaseConsumptionResponse>} - The promise with the result
130
- */
131
- async getPurchaseConsumption(purchaseId) {
132
- if (purchaseId === undefined) {
133
- throw new Error('The following parameter is required: purchaseId, cannot be empty or blank');
134
- }
135
- const headers = {};
136
- let urlEndpoint = '/purchases/{purchaseId}/consumption';
137
- urlEndpoint = urlEndpoint.replace('{purchaseId}', (0, QuerySerializer_1.serializePath)('simple', false, purchaseId, undefined));
138
- const finalUrl = encodeURI(`${this.baseUrl + urlEndpoint}`);
139
- const request = { method: 'GET', url: finalUrl, headers };
140
- await hook.beforeRequest(request);
141
- const response = await this.httpClient.get(request.url, {}, {
142
- ...request.headers,
143
- }, true);
144
- await hook.afterResponse({ method: 'GET', url: request.url, headers: request.headers }, { data: response.data, headers: response.headers, status: response.status });
145
- const responseModel = response.data;
146
- return responseModel;
147
- }
148
- }
149
- exports.PurchasesService = PurchasesService;
150
- //# sourceMappingURL=Purchases.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Purchases.js","sourceRoot":"","sources":["../../../../src/services/purchases/Purchases.ts"],"names":[],"mappings":"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"}
@@ -1,9 +0,0 @@
1
- export type { CreatePurchaseRequest } from './models/CreatePurchaseRequest';
2
- export type { CreatePurchaseResponse } from './models/CreatePurchaseResponse';
3
- export type { EditPurchaseRequest } from './models/EditPurchaseRequest';
4
- export type { EditPurchaseResponse } from './models/EditPurchaseResponse';
5
- export type { GetPurchaseConsumptionResponse } from './models/GetPurchaseConsumptionResponse';
6
- export type { ListPurchasesResponse } from './models/ListPurchasesResponse';
7
- export type { TopUpEsimRequest } from './models/TopUpEsimRequest';
8
- export type { TopUpEsimResponse } from './models/TopUpEsimResponse';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/purchases/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,YAAY,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/purchases/index.ts"],"names":[],"mappings":""}
@@ -1,41 +0,0 @@
1
- export interface CreatePurchaseRequest {
2
- /**
3
- * ISO representation of the package's destination
4
- */
5
- destination: string;
6
- /**
7
- * Size of the package in GB. The available options are 1, 2, 3, 5, 8, 20GB
8
- */
9
- dataLimitInGB: number;
10
- /**
11
- * 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.
12
- */
13
- startDate: string;
14
- /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
- */
17
- endDate: string;
18
- /**
19
- * Email address where the purchase confirmation email will be sent (including QR Code & activation steps)
20
- */
21
- email?: string;
22
- /**
23
- * An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
24
- */
25
- referenceId?: string;
26
- /**
27
- * Customize the network brand of the issued eSIM. This parameter is accessible to platforms with Diamond tier and requires an alphanumeric string of up to 15 characters
28
- */
29
- networkBrand?: string;
30
- /**
31
- * @deprecated
32
- * 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.
33
- */
34
- startTime?: number;
35
- /**
36
- * @deprecated
37
- * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
38
- */
39
- endTime?: number;
40
- }
41
- //# sourceMappingURL=CreatePurchaseRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePurchaseRequest.d.ts","sourceRoot":"","sources":["../../../../../src/services/purchases/models/CreatePurchaseRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CreatePurchaseRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePurchaseRequest.js","sourceRoot":"","sources":["../../../../../src/services/purchases/models/CreatePurchaseRequest.ts"],"names":[],"mappings":""}
@@ -1,48 +0,0 @@
1
- export interface CreatePurchaseResponse {
2
- purchase?: Purchase;
3
- profile?: Profile;
4
- }
5
- interface Purchase {
6
- /**
7
- * ID of the purchase
8
- */
9
- id?: string;
10
- /**
11
- * ID of the package
12
- */
13
- packageId?: string;
14
- /**
15
- * Start date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
16
- */
17
- startDate?: string;
18
- /**
19
- * End date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
20
- */
21
- endDate?: string;
22
- /**
23
- * Creation date of the purchase in the format 'yyyy-MM-ddThh:mm:ssZZ'
24
- */
25
- createdDate?: string;
26
- /**
27
- * @deprecated
28
- * Epoch value representing the start time of the package's validity
29
- */
30
- startTime?: number;
31
- /**
32
- * @deprecated
33
- * Epoch value representing the end time of the package's validity
34
- */
35
- endTime?: number;
36
- }
37
- interface Profile {
38
- /**
39
- * ID of the eSIM
40
- */
41
- iccid?: string;
42
- /**
43
- * QR Code of the eSIM as base64
44
- */
45
- activationCode?: string;
46
- }
47
- export {};
48
- //# sourceMappingURL=CreatePurchaseResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePurchaseResponse.d.ts","sourceRoot":"","sources":["../../../../../src/services/purchases/models/CreatePurchaseResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AACD,UAAU,QAAQ;IAChB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,UAAU,OAAO;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CreatePurchaseResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePurchaseResponse.js","sourceRoot":"","sources":["../../../../../src/services/purchases/models/CreatePurchaseResponse.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- export interface EditPurchaseRequest {
2
- /**
3
- * ID of the purchase
4
- */
5
- purchaseId: string;
6
- /**
7
- * 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.
8
- */
9
- startDate: string;
10
- /**
11
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
- */
13
- endDate: string;
14
- /**
15
- * @deprecated
16
- * 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.
17
- */
18
- startTime?: number;
19
- /**
20
- * @deprecated
21
- * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
22
- */
23
- endTime?: number;
24
- }
25
- //# sourceMappingURL=EditPurchaseRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditPurchaseRequest.d.ts","sourceRoot":"","sources":["../../../../../src/services/purchases/models/EditPurchaseRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=EditPurchaseRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditPurchaseRequest.js","sourceRoot":"","sources":["../../../../../src/services/purchases/models/EditPurchaseRequest.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- export interface EditPurchaseResponse {
2
- /**
3
- * ID of the purchase
4
- */
5
- purchaseId?: string;
6
- /**
7
- * Start date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
8
- */
9
- newStartDate?: string;
10
- /**
11
- * End date of the package's validity in the format 'yyyy-MM-ddThh:mm:ssZZ'
12
- */
13
- newEndDate?: string;
14
- /**
15
- * @deprecated
16
- * Epoch value representing the new start time of the package's validity
17
- */
18
- newStartTime?: number;
19
- /**
20
- * @deprecated
21
- * Epoch value representing the new end time of the package's validity
22
- */
23
- newEndTime?: number;
24
- }
25
- //# sourceMappingURL=EditPurchaseResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditPurchaseResponse.d.ts","sourceRoot":"","sources":["../../../../../src/services/purchases/models/EditPurchaseResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=EditPurchaseResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditPurchaseResponse.js","sourceRoot":"","sources":["../../../../../src/services/purchases/models/EditPurchaseResponse.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export interface GetPurchaseConsumptionResponse {
2
- /**
3
- * Remaining balance of the package in bytes
4
- */
5
- dataUsageRemainingInBytes?: number;
6
- /**
7
- * Status of the connectivity, possible values are 'ACTIVE' or 'NOT_ACTIVE'
8
- */
9
- status?: string;
10
- }
11
- //# sourceMappingURL=GetPurchaseConsumptionResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetPurchaseConsumptionResponse.d.ts","sourceRoot":"","sources":["../../../../../src/services/purchases/models/GetPurchaseConsumptionResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=GetPurchaseConsumptionResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetPurchaseConsumptionResponse.js","sourceRoot":"","sources":["../../../../../src/services/purchases/models/GetPurchaseConsumptionResponse.ts"],"names":[],"mappings":""}