celitech-sdk 1.1.85 → 1.1.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. package/README.md +4 -18
  2. package/dist/index.d.ts +1503 -12
  3. package/dist/index.js +2140 -76
  4. package/dist/index.mjs +2102 -0
  5. package/package.json +22 -5
  6. package/.devcontainer/devcontainer.json +0 -24
  7. package/.github/workflows/publish_npmjs.yml +0 -32
  8. package/.manifest.json +0 -256
  9. package/dist/http/client.d.ts +0 -14
  10. package/dist/http/client.d.ts.map +0 -1
  11. package/dist/http/client.js +0 -36
  12. package/dist/http/client.js.map +0 -1
  13. package/dist/http/environment.d.ts +0 -4
  14. package/dist/http/environment.d.ts.map +0 -1
  15. package/dist/http/environment.js +0 -8
  16. package/dist/http/environment.js.map +0 -1
  17. package/dist/http/error.d.ts +0 -7
  18. package/dist/http/error.d.ts.map +0 -1
  19. package/dist/http/error.js +0 -12
  20. package/dist/http/error.js.map +0 -1
  21. package/dist/http/handlers/handler-chain.d.ts +0 -8
  22. package/dist/http/handlers/handler-chain.d.ts.map +0 -1
  23. package/dist/http/handlers/handler-chain.js +0 -34
  24. package/dist/http/handlers/handler-chain.js.map +0 -1
  25. package/dist/http/handlers/hook-handler.d.ts +0 -12
  26. package/dist/http/handlers/hook-handler.d.ts.map +0 -1
  27. package/dist/http/handlers/hook-handler.js +0 -49
  28. package/dist/http/handlers/hook-handler.js.map +0 -1
  29. package/dist/http/handlers/request-validation-handler.d.ts +0 -9
  30. package/dist/http/handlers/request-validation-handler.d.ts.map +0 -1
  31. package/dist/http/handlers/request-validation-handler.js +0 -78
  32. package/dist/http/handlers/request-validation-handler.js.map +0 -1
  33. package/dist/http/handlers/response-validation-handler.d.ts +0 -11
  34. package/dist/http/handlers/response-validation-handler.d.ts.map +0 -1
  35. package/dist/http/handlers/response-validation-handler.js +0 -89
  36. package/dist/http/handlers/response-validation-handler.js.map +0 -1
  37. package/dist/http/handlers/retry-handler.d.ts +0 -9
  38. package/dist/http/handlers/retry-handler.d.ts.map +0 -1
  39. package/dist/http/handlers/retry-handler.js +0 -47
  40. package/dist/http/handlers/retry-handler.js.map +0 -1
  41. package/dist/http/handlers/terminating-handler.d.ts +0 -8
  42. package/dist/http/handlers/terminating-handler.d.ts.map +0 -1
  43. package/dist/http/handlers/terminating-handler.js +0 -45
  44. package/dist/http/handlers/terminating-handler.js.map +0 -1
  45. package/dist/http/hooks/custom-hook.d.ts +0 -8
  46. package/dist/http/hooks/custom-hook.d.ts.map +0 -1
  47. package/dist/http/hooks/custom-hook.js +0 -37
  48. package/dist/http/hooks/custom-hook.js.map +0 -1
  49. package/dist/http/hooks/hook.d.ts +0 -31
  50. package/dist/http/hooks/hook.d.ts.map +0 -1
  51. package/dist/http/hooks/hook.js +0 -3
  52. package/dist/http/hooks/hook.js.map +0 -1
  53. package/dist/http/serializer.d.ts +0 -13
  54. package/dist/http/serializer.d.ts.map +0 -1
  55. package/dist/http/serializer.js +0 -150
  56. package/dist/http/serializer.js.map +0 -1
  57. package/dist/http/transport/request-builder.d.ts +0 -24
  58. package/dist/http/transport/request-builder.d.ts.map +0 -1
  59. package/dist/http/transport/request-builder.js +0 -130
  60. package/dist/http/transport/request-builder.js.map +0 -1
  61. package/dist/http/transport/request.d.ts +0 -53
  62. package/dist/http/transport/request.d.ts.map +0 -1
  63. package/dist/http/transport/request.js +0 -116
  64. package/dist/http/transport/request.js.map +0 -1
  65. package/dist/http/types.d.ts +0 -60
  66. package/dist/http/types.d.ts.map +0 -1
  67. package/dist/http/types.js +0 -16
  68. package/dist/http/types.js.map +0 -1
  69. package/dist/index.d.ts.map +0 -1
  70. package/dist/index.js.map +0 -1
  71. package/dist/services/base-service.d.ts +0 -14
  72. package/dist/services/base-service.d.ts.map +0 -1
  73. package/dist/services/base-service.js +0 -27
  74. package/dist/services/base-service.js.map +0 -1
  75. package/dist/services/destinations/destinations.d.ts +0 -11
  76. package/dist/services/destinations/destinations.d.ts.map +0 -1
  77. package/dist/services/destinations/destinations.js +0 -43
  78. package/dist/services/destinations/destinations.js.map +0 -1
  79. package/dist/services/destinations/index.d.ts +0 -3
  80. package/dist/services/destinations/index.d.ts.map +0 -1
  81. package/dist/services/destinations/index.js +0 -21
  82. package/dist/services/destinations/index.js.map +0 -1
  83. package/dist/services/destinations/models/destinations.d.ts +0 -76
  84. package/dist/services/destinations/models/destinations.d.ts.map +0 -1
  85. package/dist/services/destinations/models/destinations.js +0 -49
  86. package/dist/services/destinations/models/destinations.js.map +0 -1
  87. package/dist/services/destinations/models/index.d.ts +0 -3
  88. package/dist/services/destinations/models/index.d.ts.map +0 -1
  89. package/dist/services/destinations/models/index.js +0 -3
  90. package/dist/services/destinations/models/index.js.map +0 -1
  91. package/dist/services/destinations/models/list-destinations-ok-response.d.ts +0 -140
  92. package/dist/services/destinations/models/list-destinations-ok-response.d.ts.map +0 -1
  93. package/dist/services/destinations/models/list-destinations-ok-response.js +0 -36
  94. package/dist/services/destinations/models/list-destinations-ok-response.js.map +0 -1
  95. package/dist/services/e-sim/e-sim.d.ts +0 -34
  96. package/dist/services/e-sim/e-sim.d.ts.map +0 -1
  97. package/dist/services/e-sim/e-sim.js +0 -120
  98. package/dist/services/e-sim/e-sim.js.map +0 -1
  99. package/dist/services/e-sim/index.d.ts +0 -3
  100. package/dist/services/e-sim/index.d.ts.map +0 -1
  101. package/dist/services/e-sim/index.js +0 -21
  102. package/dist/services/e-sim/index.js.map +0 -1
  103. package/dist/services/e-sim/models/device.d.ts +0 -90
  104. package/dist/services/e-sim/models/device.d.ts.map +0 -1
  105. package/dist/services/e-sim/models/device.js +0 -54
  106. package/dist/services/e-sim/models/device.js.map +0 -1
  107. package/dist/services/e-sim/models/get-esim-device-ok-response.d.ts +0 -163
  108. package/dist/services/e-sim/models/get-esim-device-ok-response.d.ts.map +0 -1
  109. package/dist/services/e-sim/models/get-esim-device-ok-response.js +0 -36
  110. package/dist/services/e-sim/models/get-esim-device-ok-response.js.map +0 -1
  111. package/dist/services/e-sim/models/get-esim-history-ok-response-esim.d.ts +0 -154
  112. package/dist/services/e-sim/models/get-esim-history-ok-response-esim.d.ts.map +0 -1
  113. package/dist/services/e-sim/models/get-esim-history-ok-response-esim.js +0 -40
  114. package/dist/services/e-sim/models/get-esim-history-ok-response-esim.js.map +0 -1
  115. package/dist/services/e-sim/models/get-esim-history-ok-response.d.ts +0 -249
  116. package/dist/services/e-sim/models/get-esim-history-ok-response.d.ts.map +0 -1
  117. package/dist/services/e-sim/models/get-esim-history-ok-response.js +0 -36
  118. package/dist/services/e-sim/models/get-esim-history-ok-response.js.map +0 -1
  119. package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.d.ts +0 -76
  120. package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.d.ts.map +0 -1
  121. package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.js +0 -49
  122. package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.js.map +0 -1
  123. package/dist/services/e-sim/models/get-esim-mac-ok-response.d.ts +0 -140
  124. package/dist/services/e-sim/models/get-esim-mac-ok-response.d.ts.map +0 -1
  125. package/dist/services/e-sim/models/get-esim-mac-ok-response.js +0 -36
  126. package/dist/services/e-sim/models/get-esim-mac-ok-response.js.map +0 -1
  127. package/dist/services/e-sim/models/get-esim-ok-response-esim.d.ts +0 -90
  128. package/dist/services/e-sim/models/get-esim-ok-response-esim.d.ts.map +0 -1
  129. package/dist/services/e-sim/models/get-esim-ok-response-esim.js +0 -54
  130. package/dist/services/e-sim/models/get-esim-ok-response-esim.js.map +0 -1
  131. package/dist/services/e-sim/models/get-esim-ok-response.d.ts +0 -163
  132. package/dist/services/e-sim/models/get-esim-ok-response.d.ts.map +0 -1
  133. package/dist/services/e-sim/models/get-esim-ok-response.js +0 -36
  134. package/dist/services/e-sim/models/get-esim-ok-response.js.map +0 -1
  135. package/dist/services/e-sim/models/history.d.ts +0 -76
  136. package/dist/services/e-sim/models/history.d.ts.map +0 -1
  137. package/dist/services/e-sim/models/history.js +0 -45
  138. package/dist/services/e-sim/models/history.js.map +0 -1
  139. package/dist/services/e-sim/models/index.d.ts +0 -10
  140. package/dist/services/e-sim/models/index.d.ts.map +0 -1
  141. package/dist/services/e-sim/models/index.js +0 -3
  142. package/dist/services/e-sim/models/index.js.map +0 -1
  143. package/dist/services/e-sim/request-params.d.ts +0 -4
  144. package/dist/services/e-sim/request-params.d.ts.map +0 -1
  145. package/dist/services/e-sim/request-params.js +0 -3
  146. package/dist/services/e-sim/request-params.js.map +0 -1
  147. package/dist/services/packages/index.d.ts +0 -3
  148. package/dist/services/packages/index.d.ts.map +0 -1
  149. package/dist/services/packages/index.js +0 -21
  150. package/dist/services/packages/index.js.map +0 -1
  151. package/dist/services/packages/models/index.d.ts +0 -3
  152. package/dist/services/packages/models/index.d.ts.map +0 -1
  153. package/dist/services/packages/models/index.js +0 -3
  154. package/dist/services/packages/models/index.js.map +0 -1
  155. package/dist/services/packages/models/list-packages-ok-response.d.ts +0 -223
  156. package/dist/services/packages/models/list-packages-ok-response.d.ts.map +0 -1
  157. package/dist/services/packages/models/list-packages-ok-response.js +0 -42
  158. package/dist/services/packages/models/list-packages-ok-response.js.map +0 -1
  159. package/dist/services/packages/models/packages.d.ts +0 -118
  160. package/dist/services/packages/models/packages.d.ts.map +0 -1
  161. package/dist/services/packages/models/packages.js +0 -64
  162. package/dist/services/packages/models/packages.js.map +0 -1
  163. package/dist/services/packages/packages.d.ts +0 -20
  164. package/dist/services/packages/packages.d.ts.map +0 -1
  165. package/dist/services/packages/packages.js +0 -59
  166. package/dist/services/packages/packages.js.map +0 -1
  167. package/dist/services/packages/request-params.d.ts +0 -11
  168. package/dist/services/packages/request-params.d.ts.map +0 -1
  169. package/dist/services/packages/request-params.js +0 -3
  170. package/dist/services/packages/request-params.js.map +0 -1
  171. package/dist/services/purchases/index.d.ts +0 -3
  172. package/dist/services/purchases/index.d.ts.map +0 -1
  173. package/dist/services/purchases/index.js +0 -21
  174. package/dist/services/purchases/index.js.map +0 -1
  175. package/dist/services/purchases/models/create-purchase-ok-response-profile.d.ts +0 -62
  176. package/dist/services/purchases/models/create-purchase-ok-response-profile.d.ts.map +0 -1
  177. package/dist/services/purchases/models/create-purchase-ok-response-profile.js +0 -39
  178. package/dist/services/purchases/models/create-purchase-ok-response-profile.js.map +0 -1
  179. package/dist/services/purchases/models/create-purchase-ok-response-purchase.d.ts +0 -132
  180. package/dist/services/purchases/models/create-purchase-ok-response-purchase.d.ts.map +0 -1
  181. package/dist/services/purchases/models/create-purchase-ok-response-purchase.js +0 -69
  182. package/dist/services/purchases/models/create-purchase-ok-response-purchase.js.map +0 -1
  183. package/dist/services/purchases/models/create-purchase-ok-response.d.ts +0 -315
  184. package/dist/services/purchases/models/create-purchase-ok-response.d.ts.map +0 -1
  185. package/dist/services/purchases/models/create-purchase-ok-response.js +0 -46
  186. package/dist/services/purchases/models/create-purchase-ok-response.js.map +0 -1
  187. package/dist/services/purchases/models/create-purchase-request.d.ts +0 -160
  188. package/dist/services/purchases/models/create-purchase-request.d.ts.map +0 -1
  189. package/dist/services/purchases/models/create-purchase-request.js +0 -79
  190. package/dist/services/purchases/models/create-purchase-request.js.map +0 -1
  191. package/dist/services/purchases/models/edit-purchase-ok-response.d.ts +0 -104
  192. package/dist/services/purchases/models/edit-purchase-ok-response.d.ts.map +0 -1
  193. package/dist/services/purchases/models/edit-purchase-ok-response.js +0 -59
  194. package/dist/services/purchases/models/edit-purchase-ok-response.js.map +0 -1
  195. package/dist/services/purchases/models/edit-purchase-request.d.ts +0 -104
  196. package/dist/services/purchases/models/edit-purchase-request.d.ts.map +0 -1
  197. package/dist/services/purchases/models/edit-purchase-request.js +0 -59
  198. package/dist/services/purchases/models/edit-purchase-request.js.map +0 -1
  199. package/dist/services/purchases/models/get-purchase-consumption-ok-response.d.ts +0 -62
  200. package/dist/services/purchases/models/get-purchase-consumption-ok-response.d.ts.map +0 -1
  201. package/dist/services/purchases/models/get-purchase-consumption-ok-response.js +0 -41
  202. package/dist/services/purchases/models/get-purchase-consumption-ok-response.js.map +0 -1
  203. package/dist/services/purchases/models/index.d.ts +0 -16
  204. package/dist/services/purchases/models/index.d.ts.map +0 -1
  205. package/dist/services/purchases/models/index.js +0 -3
  206. package/dist/services/purchases/models/index.js.map +0 -1
  207. package/dist/services/purchases/models/list-purchases-ok-response.d.ts +0 -622
  208. package/dist/services/purchases/models/list-purchases-ok-response.d.ts.map +0 -1
  209. package/dist/services/purchases/models/list-purchases-ok-response.js +0 -42
  210. package/dist/services/purchases/models/list-purchases-ok-response.js.map +0 -1
  211. package/dist/services/purchases/models/package_.d.ts +0 -104
  212. package/dist/services/purchases/models/package_.d.ts.map +0 -1
  213. package/dist/services/purchases/models/package_.js +0 -59
  214. package/dist/services/purchases/models/package_.js.map +0 -1
  215. package/dist/services/purchases/models/purchases-esim.d.ts +0 -48
  216. package/dist/services/purchases/models/purchases-esim.d.ts.map +0 -1
  217. package/dist/services/purchases/models/purchases-esim.js +0 -35
  218. package/dist/services/purchases/models/purchases-esim.js.map +0 -1
  219. package/dist/services/purchases/models/purchases.d.ts +0 -372
  220. package/dist/services/purchases/models/purchases.d.ts.map +0 -1
  221. package/dist/services/purchases/models/purchases.js +0 -91
  222. package/dist/services/purchases/models/purchases.js.map +0 -1
  223. package/dist/services/purchases/models/top-up-esim-ok-response-profile.d.ts +0 -48
  224. package/dist/services/purchases/models/top-up-esim-ok-response-profile.d.ts.map +0 -1
  225. package/dist/services/purchases/models/top-up-esim-ok-response-profile.js +0 -35
  226. package/dist/services/purchases/models/top-up-esim-ok-response-profile.js.map +0 -1
  227. package/dist/services/purchases/models/top-up-esim-ok-response-purchase.d.ts +0 -132
  228. package/dist/services/purchases/models/top-up-esim-ok-response-purchase.d.ts.map +0 -1
  229. package/dist/services/purchases/models/top-up-esim-ok-response-purchase.js +0 -69
  230. package/dist/services/purchases/models/top-up-esim-ok-response-purchase.js.map +0 -1
  231. package/dist/services/purchases/models/top-up-esim-ok-response.d.ts +0 -292
  232. package/dist/services/purchases/models/top-up-esim-ok-response.d.ts.map +0 -1
  233. package/dist/services/purchases/models/top-up-esim-ok-response.js +0 -46
  234. package/dist/services/purchases/models/top-up-esim-ok-response.js.map +0 -1
  235. package/dist/services/purchases/models/top-up-esim-request.d.ts +0 -146
  236. package/dist/services/purchases/models/top-up-esim-request.d.ts.map +0 -1
  237. package/dist/services/purchases/models/top-up-esim-request.js +0 -74
  238. package/dist/services/purchases/models/top-up-esim-request.js.map +0 -1
  239. package/dist/services/purchases/purchases.d.ts +0 -48
  240. package/dist/services/purchases/purchases.d.ts.map +0 -1
  241. package/dist/services/purchases/purchases.js +0 -162
  242. package/dist/services/purchases/purchases.js.map +0 -1
  243. package/dist/services/purchases/request-params.d.ts +0 -11
  244. package/dist/services/purchases/request-params.d.ts.map +0 -1
  245. package/dist/services/purchases/request-params.js +0 -3
  246. package/dist/services/purchases/request-params.js.map +0 -1
  247. package/documentation/models/CreatePurchaseOkResponse.md +0 -31
  248. package/documentation/models/CreatePurchaseRequest.md +0 -15
  249. package/documentation/models/EditPurchaseOkResponse.md +0 -11
  250. package/documentation/models/EditPurchaseRequest.md +0 -11
  251. package/documentation/models/GetEsimDeviceOkResponse.md +0 -18
  252. package/documentation/models/GetEsimHistoryOkResponse.md +0 -26
  253. package/documentation/models/GetEsimMacOkResponse.md +0 -17
  254. package/documentation/models/GetEsimOkResponse.md +0 -18
  255. package/documentation/models/GetPurchaseConsumptionOkResponse.md +0 -8
  256. package/documentation/models/ListDestinationsOkResponse.md +0 -17
  257. package/documentation/models/ListPackagesOkResponse.md +0 -21
  258. package/documentation/models/ListPurchasesOkResponse.md +0 -46
  259. package/documentation/models/TopUpEsimOkResponse.md +0 -30
  260. package/documentation/models/TopUpEsimRequest.md +0 -14
  261. package/documentation/services/DestinationsService.md +0 -35
  262. package/documentation/services/ESimService.md +0 -148
  263. package/documentation/services/PackagesService.md +0 -48
  264. package/documentation/services/PurchasesService.md +0 -222
  265. package/documentation/snippets/destinations-get.md +0 -14
  266. package/documentation/snippets/esim-get.md +0 -16
  267. package/documentation/snippets/esim-{iccid}-device-get.md +0 -14
  268. package/documentation/snippets/esim-{iccid}-history-get.md +0 -14
  269. package/documentation/snippets/esim-{iccid}-mac-get.md +0 -14
  270. package/documentation/snippets/packages-get.md +0 -14
  271. package/documentation/snippets/purchases-edit-post.md +0 -23
  272. package/documentation/snippets/purchases-get.md +0 -14
  273. package/documentation/snippets/purchases-post.md +0 -27
  274. package/documentation/snippets/purchases-topup-post.md +0 -26
  275. package/documentation/snippets/purchases-{purchaseId}-consumption-get.md +0 -14
  276. package/examples/README.md +0 -27
  277. package/examples/package.json +0 -18
  278. package/examples/src/index.ts +0 -12
  279. package/examples/tsconfig.json +0 -22
  280. package/src/http/client.ts +0 -46
  281. package/src/http/environment.ts +0 -3
  282. package/src/http/error.ts +0 -12
  283. package/src/http/handlers/handler-chain.ts +0 -22
  284. package/src/http/handlers/hook-handler.ts +0 -47
  285. package/src/http/handlers/request-validation-handler.ts +0 -72
  286. package/src/http/handlers/response-validation-handler.ts +0 -106
  287. package/src/http/handlers/retry-handler.ts +0 -40
  288. package/src/http/handlers/terminating-handler.ts +0 -38
  289. package/src/http/hooks/custom-hook.ts +0 -32
  290. package/src/http/hooks/hook.ts +0 -40
  291. package/src/http/serializer.ts +0 -183
  292. package/src/http/transport/request-builder.ts +0 -145
  293. package/src/http/transport/request.ts +0 -178
  294. package/src/http/types.ts +0 -70
  295. package/src/index.ts +0 -73
  296. package/src/services/base-service.ts +0 -29
  297. package/src/services/destinations/destinations.ts +0 -28
  298. package/src/services/destinations/index.ts +0 -2
  299. package/src/services/destinations/models/destinations.ts +0 -57
  300. package/src/services/destinations/models/index.ts +0 -2
  301. package/src/services/destinations/models/list-destinations-ok-response.ts +0 -42
  302. package/src/services/e-sim/e-sim.ts +0 -103
  303. package/src/services/e-sim/index.ts +0 -2
  304. package/src/services/e-sim/models/device.ts +0 -63
  305. package/src/services/e-sim/models/get-esim-device-ok-response.ts +0 -42
  306. package/src/services/e-sim/models/get-esim-history-ok-response-esim.ts +0 -47
  307. package/src/services/e-sim/models/get-esim-history-ok-response.ts +0 -46
  308. package/src/services/e-sim/models/get-esim-mac-ok-response-esim.ts +0 -57
  309. package/src/services/e-sim/models/get-esim-mac-ok-response.ts +0 -46
  310. package/src/services/e-sim/models/get-esim-ok-response-esim.ts +0 -63
  311. package/src/services/e-sim/models/get-esim-ok-response.ts +0 -46
  312. package/src/services/e-sim/models/history.ts +0 -53
  313. package/src/services/e-sim/models/index.ts +0 -9
  314. package/src/services/e-sim/request-params.ts +0 -3
  315. package/src/services/packages/index.ts +0 -2
  316. package/src/services/packages/models/index.ts +0 -2
  317. package/src/services/packages/models/list-packages-ok-response.ts +0 -49
  318. package/src/services/packages/models/packages.ts +0 -75
  319. package/src/services/packages/packages.ts +0 -48
  320. package/src/services/packages/request-params.ts +0 -10
  321. package/src/services/purchases/index.ts +0 -2
  322. package/src/services/purchases/models/create-purchase-ok-response-profile.ts +0 -46
  323. package/src/services/purchases/models/create-purchase-ok-response-purchase.ts +0 -81
  324. package/src/services/purchases/models/create-purchase-ok-response.ts +0 -61
  325. package/src/services/purchases/models/create-purchase-request.ts +0 -93
  326. package/src/services/purchases/models/edit-purchase-ok-response.ts +0 -69
  327. package/src/services/purchases/models/edit-purchase-request.ts +0 -69
  328. package/src/services/purchases/models/get-purchase-consumption-ok-response.ts +0 -48
  329. package/src/services/purchases/models/index.ts +0 -15
  330. package/src/services/purchases/models/list-purchases-ok-response.ts +0 -49
  331. package/src/services/purchases/models/package_.ts +0 -69
  332. package/src/services/purchases/models/purchases-esim.ts +0 -41
  333. package/src/services/purchases/models/purchases.ts +0 -107
  334. package/src/services/purchases/models/top-up-esim-ok-response-profile.ts +0 -41
  335. package/src/services/purchases/models/top-up-esim-ok-response-purchase.ts +0 -81
  336. package/src/services/purchases/models/top-up-esim-ok-response.ts +0 -61
  337. package/src/services/purchases/models/top-up-esim-request.ts +0 -87
  338. package/src/services/purchases/purchases.ts +0 -159
  339. package/src/services/purchases/request-params.ts +0 -10
  340. package/tsconfig.json +0 -22
@@ -1,76 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * The shape of the model inside the application code - what the users use
4
- */
5
- export declare const destinations: z.ZodLazy<z.ZodObject<{
6
- name: z.ZodOptional<z.ZodString>;
7
- destination: z.ZodOptional<z.ZodString>;
8
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
- }, "strip", z.ZodTypeAny, {
10
- name?: string | undefined;
11
- destination?: string | undefined;
12
- supportedCountries?: string[] | undefined;
13
- }, {
14
- name?: string | undefined;
15
- destination?: string | undefined;
16
- supportedCountries?: string[] | undefined;
17
- }>>;
18
- /**
19
- *
20
- * @typedef {Destinations} destinations
21
- * @property {string} - Name of the destination
22
- * @property {string} - ISO representation of the destination
23
- * @property {string[]} - This array indicates the geographical area covered by a specific destination. If the destination represents a single country, the array will include that country. However, if the destination represents a broader regional scope, the array will be populated with the names of the countries belonging to that region.
24
- */
25
- export type Destinations = z.infer<typeof destinations>;
26
- /**
27
- * The shape of the model mapping from the api schema into the application shape.
28
- * Is equal to application shape if all property names match the api schema
29
- */
30
- export declare const destinationsResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
31
- name: z.ZodOptional<z.ZodString>;
32
- destination: z.ZodOptional<z.ZodString>;
33
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
- }, "strip", z.ZodTypeAny, {
35
- name?: string | undefined;
36
- destination?: string | undefined;
37
- supportedCountries?: string[] | undefined;
38
- }, {
39
- name?: string | undefined;
40
- destination?: string | undefined;
41
- supportedCountries?: string[] | undefined;
42
- }>, {
43
- name: string | undefined;
44
- destination: string | undefined;
45
- supportedCountries: string[] | undefined;
46
- }, {
47
- name?: string | undefined;
48
- destination?: string | undefined;
49
- supportedCountries?: string[] | undefined;
50
- }>>;
51
- /**
52
- * The shape of the model mapping from the application shape into the api schema.
53
- * Is equal to application shape if all property names match the api schema
54
- */
55
- export declare const destinationsRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
56
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- destination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- supportedCountries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
59
- }, "strip", z.ZodTypeAny, {
60
- name?: string | null | undefined;
61
- destination?: string | null | undefined;
62
- supportedCountries?: string[] | null | undefined;
63
- }, {
64
- name?: string | null | undefined;
65
- destination?: string | null | undefined;
66
- supportedCountries?: string[] | null | undefined;
67
- }>, {
68
- name: string | null | undefined;
69
- destination: string | null | undefined;
70
- supportedCountries: string[] | null | undefined;
71
- }, {
72
- name?: string | null | undefined;
73
- destination?: string | null | undefined;
74
- supportedCountries?: string[] | null | undefined;
75
- }>>;
76
- //# sourceMappingURL=destinations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../../../../src/services/destinations/models/destinations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;GAMvB,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;GAY/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;GAY9B,CAAC"}
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.destinationsRequest = exports.destinationsResponse = exports.destinations = void 0;
4
- const zod_1 = require("zod");
5
- /**
6
- * The shape of the model inside the application code - what the users use
7
- */
8
- exports.destinations = zod_1.z.lazy(() => {
9
- return zod_1.z.object({
10
- name: zod_1.z.string().optional(),
11
- destination: zod_1.z.string().optional(),
12
- supportedCountries: zod_1.z.array(zod_1.z.string()).optional(),
13
- });
14
- });
15
- /**
16
- * The shape of the model mapping from the api schema into the application shape.
17
- * Is equal to application shape if all property names match the api schema
18
- */
19
- exports.destinationsResponse = zod_1.z.lazy(() => {
20
- return zod_1.z
21
- .object({
22
- name: zod_1.z.string().optional(),
23
- destination: zod_1.z.string().optional(),
24
- supportedCountries: zod_1.z.array(zod_1.z.string()).optional(),
25
- })
26
- .transform((data) => ({
27
- name: data['name'],
28
- destination: data['destination'],
29
- supportedCountries: data['supportedCountries'],
30
- }));
31
- });
32
- /**
33
- * The shape of the model mapping from the application shape into the api schema.
34
- * Is equal to application shape if all property names match the api schema
35
- */
36
- exports.destinationsRequest = zod_1.z.lazy(() => {
37
- return zod_1.z
38
- .object({
39
- name: zod_1.z.string().nullish(),
40
- destination: zod_1.z.string().nullish(),
41
- supportedCountries: zod_1.z.array(zod_1.z.string()).nullish(),
42
- })
43
- .transform((data) => ({
44
- name: data['name'],
45
- destination: data['destination'],
46
- supportedCountries: data['supportedCountries'],
47
- }));
48
- });
49
- //# sourceMappingURL=destinations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../src/services/destinations/models/destinations.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB;;GAEG;AACU,QAAA,YAAY,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACtC,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH;;;GAGG;AACU,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC9C,OAAO,OAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACnD,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;KAC/C,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,mBAAmB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC7C,OAAO,OAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAC1B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QACjC,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;KAClD,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;KAC/C,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- export type { ListDestinationsOkResponse } from './list-destinations-ok-response';
2
- export type { Destinations } from './destinations';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/destinations/models/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,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/destinations/models/index.ts"],"names":[],"mappings":""}
@@ -1,140 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * The shape of the model inside the application code - what the users use
4
- */
5
- export declare const listDestinationsOkResponse: z.ZodLazy<z.ZodObject<{
6
- destinations: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
7
- name: z.ZodOptional<z.ZodString>;
8
- destination: z.ZodOptional<z.ZodString>;
9
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- }, "strip", z.ZodTypeAny, {
11
- name?: string | undefined;
12
- destination?: string | undefined;
13
- supportedCountries?: string[] | undefined;
14
- }, {
15
- name?: string | undefined;
16
- destination?: string | undefined;
17
- supportedCountries?: string[] | undefined;
18
- }>>, "many">>;
19
- }, "strip", z.ZodTypeAny, {
20
- destinations?: {
21
- name?: string | undefined;
22
- destination?: string | undefined;
23
- supportedCountries?: string[] | undefined;
24
- }[] | undefined;
25
- }, {
26
- destinations?: {
27
- name?: string | undefined;
28
- destination?: string | undefined;
29
- supportedCountries?: string[] | undefined;
30
- }[] | undefined;
31
- }>>;
32
- /**
33
- *
34
- * @typedef {ListDestinationsOkResponse} listDestinationsOkResponse
35
- * @property {Destinations[]}
36
- */
37
- export type ListDestinationsOkResponse = z.infer<typeof listDestinationsOkResponse>;
38
- /**
39
- * The shape of the model mapping from the api schema into the application shape.
40
- * Is equal to application shape if all property names match the api schema
41
- */
42
- export declare const listDestinationsOkResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
43
- destinations: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEffects<z.ZodObject<{
44
- name: z.ZodOptional<z.ZodString>;
45
- destination: z.ZodOptional<z.ZodString>;
46
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47
- }, "strip", z.ZodTypeAny, {
48
- name?: string | undefined;
49
- destination?: string | undefined;
50
- supportedCountries?: string[] | undefined;
51
- }, {
52
- name?: string | undefined;
53
- destination?: string | undefined;
54
- supportedCountries?: string[] | undefined;
55
- }>, {
56
- name: string | undefined;
57
- destination: string | undefined;
58
- supportedCountries: string[] | undefined;
59
- }, {
60
- name?: string | undefined;
61
- destination?: string | undefined;
62
- supportedCountries?: string[] | undefined;
63
- }>>, "many">>;
64
- }, "strip", z.ZodTypeAny, {
65
- destinations?: {
66
- name: string | undefined;
67
- destination: string | undefined;
68
- supportedCountries: string[] | undefined;
69
- }[] | undefined;
70
- }, {
71
- destinations?: {
72
- name?: string | undefined;
73
- destination?: string | undefined;
74
- supportedCountries?: string[] | undefined;
75
- }[] | undefined;
76
- }>, {
77
- destinations: {
78
- name: string | undefined;
79
- destination: string | undefined;
80
- supportedCountries: string[] | undefined;
81
- }[] | undefined;
82
- }, {
83
- destinations?: {
84
- name?: string | undefined;
85
- destination?: string | undefined;
86
- supportedCountries?: string[] | undefined;
87
- }[] | undefined;
88
- }>>;
89
- /**
90
- * The shape of the model mapping from the application shape into the api schema.
91
- * Is equal to application shape if all property names match the api schema
92
- */
93
- export declare const listDestinationsOkResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
94
- destinations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodEffects<z.ZodObject<{
95
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- destination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
- supportedCountries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
98
- }, "strip", z.ZodTypeAny, {
99
- name?: string | null | undefined;
100
- destination?: string | null | undefined;
101
- supportedCountries?: string[] | null | undefined;
102
- }, {
103
- name?: string | null | undefined;
104
- destination?: string | null | undefined;
105
- supportedCountries?: string[] | null | undefined;
106
- }>, {
107
- name: string | null | undefined;
108
- destination: string | null | undefined;
109
- supportedCountries: string[] | null | undefined;
110
- }, {
111
- name?: string | null | undefined;
112
- destination?: string | null | undefined;
113
- supportedCountries?: string[] | null | undefined;
114
- }>>, "many">>>;
115
- }, "strip", z.ZodTypeAny, {
116
- destinations?: {
117
- name: string | null | undefined;
118
- destination: string | null | undefined;
119
- supportedCountries: string[] | null | undefined;
120
- }[] | null | undefined;
121
- }, {
122
- destinations?: {
123
- name?: string | null | undefined;
124
- destination?: string | null | undefined;
125
- supportedCountries?: string[] | null | undefined;
126
- }[] | null | undefined;
127
- }>, {
128
- destinations: {
129
- name: string | null | undefined;
130
- destination: string | null | undefined;
131
- supportedCountries: string[] | null | undefined;
132
- }[] | null | undefined;
133
- }, {
134
- destinations?: {
135
- name?: string | null | undefined;
136
- destination?: string | null | undefined;
137
- supportedCountries?: string[] | null | undefined;
138
- }[] | null | undefined;
139
- }>>;
140
- //# sourceMappingURL=list-destinations-ok-response.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-destinations-ok-response.d.ts","sourceRoot":"","sources":["../../../../src/services/destinations/models/list-destinations-ok-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;GAIrC,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ7C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI5C,CAAC"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listDestinationsOkResponseRequest = exports.listDestinationsOkResponseResponse = exports.listDestinationsOkResponse = void 0;
4
- const zod_1 = require("zod");
5
- const destinations_1 = require("./destinations");
6
- /**
7
- * The shape of the model inside the application code - what the users use
8
- */
9
- exports.listDestinationsOkResponse = zod_1.z.lazy(() => {
10
- return zod_1.z.object({
11
- destinations: zod_1.z.array(destinations_1.destinations).optional(),
12
- });
13
- });
14
- /**
15
- * The shape of the model mapping from the api schema into the application shape.
16
- * Is equal to application shape if all property names match the api schema
17
- */
18
- exports.listDestinationsOkResponseResponse = zod_1.z.lazy(() => {
19
- return zod_1.z
20
- .object({
21
- destinations: zod_1.z.array(destinations_1.destinationsResponse).optional(),
22
- })
23
- .transform((data) => ({
24
- destinations: data['destinations'],
25
- }));
26
- });
27
- /**
28
- * The shape of the model mapping from the application shape into the api schema.
29
- * Is equal to application shape if all property names match the api schema
30
- */
31
- exports.listDestinationsOkResponseRequest = zod_1.z.lazy(() => {
32
- return zod_1.z.object({ destinations: zod_1.z.array(destinations_1.destinationsRequest).nullish() }).transform((data) => ({
33
- destinations: data['destinations'],
34
- }));
35
- });
36
- //# sourceMappingURL=list-destinations-ok-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-destinations-ok-response.js","sourceRoot":"","sources":["../../../../src/services/destinations/models/list-destinations-ok-response.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAyF;AAEzF;;GAEG;AACU,QAAA,0BAA0B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACpD,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAY,CAAC,CAAC,QAAQ,EAAE;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH;;;GAGG;AACU,QAAA,kCAAkC,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC5D,OAAO,OAAC;SACL,MAAM,CAAC;QACN,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,mCAAoB,CAAC,CAAC,QAAQ,EAAE;KACvD,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;KACnC,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,iCAAiC,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC3D,OAAO,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,kCAAmB,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC7F,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;KACnC,CAAC,CAAC,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -1,34 +0,0 @@
1
- import { BaseService } from '../base-service';
2
- import { HttpResponse, RequestConfig } from '../../http/types';
3
- import { GetEsimOkResponse } from './models/get-esim-ok-response';
4
- import { GetEsimParams } from './request-params';
5
- import { GetEsimDeviceOkResponse } from './models/get-esim-device-ok-response';
6
- import { GetEsimHistoryOkResponse } from './models/get-esim-history-ok-response';
7
- import { GetEsimMacOkResponse } from './models/get-esim-mac-ok-response';
8
- export declare class ESimService extends BaseService {
9
- /**
10
- * Get eSIM Status
11
- * @param {string} iccid - ID of the eSIM
12
- * @returns {Promise<HttpResponse<GetEsimOkResponse>>} Successful Response
13
- */
14
- getEsim(params: GetEsimParams, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimOkResponse>>;
15
- /**
16
- * Get eSIM Device
17
- * @param {string} iccid - ID of the eSIM
18
- * @returns {Promise<HttpResponse<GetEsimDeviceOkResponse>>} Successful Response
19
- */
20
- getEsimDevice(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimDeviceOkResponse>>;
21
- /**
22
- * Get eSIM History
23
- * @param {string} iccid - ID of the eSIM
24
- * @returns {Promise<HttpResponse<GetEsimHistoryOkResponse>>} Successful Response
25
- */
26
- getEsimHistory(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimHistoryOkResponse>>;
27
- /**
28
- * Get eSIM MAC
29
- * @param {string} iccid - ID of the eSIM
30
- * @returns {Promise<HttpResponse<GetEsimMacOkResponse>>} Successful Response
31
- */
32
- getEsimMac(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimMacOkResponse>>;
33
- }
34
- //# sourceMappingURL=e-sim.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"e-sim.d.ts","sourceRoot":"","sources":["../../../src/services/e-sim/e-sim.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAe,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAA6B,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAmC,MAAM,sCAAsC,CAAC;AAChH,OAAO,EAAE,wBAAwB,EAAoC,MAAM,uCAAuC,CAAC;AACnH,OAAO,EAAE,oBAAoB,EAAgC,MAAM,mCAAmC,CAAC;AAEvG,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACG,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAkB7G;;;;OAIG;IACG,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;IAkBjH;;;;OAIG;IACG,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC;IAkBnH;;;;OAIG;IACG,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;CAiB5G"}
@@ -1,120 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ESimService = void 0;
13
- const zod_1 = require("zod");
14
- const base_service_1 = require("../base-service");
15
- const types_1 = require("../../http/types");
16
- const request_builder_1 = require("../../http/transport/request-builder");
17
- const get_esim_ok_response_1 = require("./models/get-esim-ok-response");
18
- const get_esim_device_ok_response_1 = require("./models/get-esim-device-ok-response");
19
- const get_esim_history_ok_response_1 = require("./models/get-esim-history-ok-response");
20
- const get_esim_mac_ok_response_1 = require("./models/get-esim-mac-ok-response");
21
- class ESimService extends base_service_1.BaseService {
22
- /**
23
- * Get eSIM Status
24
- * @param {string} iccid - ID of the eSIM
25
- * @returns {Promise<HttpResponse<GetEsimOkResponse>>} Successful Response
26
- */
27
- getEsim(params, requestConfig) {
28
- return __awaiter(this, void 0, void 0, function* () {
29
- const request = new request_builder_1.RequestBuilder()
30
- .setConfig(this.config)
31
- .setBaseUrl(this.config)
32
- .setMethod('GET')
33
- .setPath('/esim')
34
- .setRequestSchema(zod_1.z.any())
35
- .setResponseSchema(get_esim_ok_response_1.getEsimOkResponseResponse)
36
- .setRequestContentType(types_1.ContentType.Json)
37
- .setResponseContentType(types_1.ContentType.Json)
38
- .setRetryAttempts(this.config, requestConfig)
39
- .setRetryDelayMs(this.config, requestConfig)
40
- .setResponseValidation(this.config, requestConfig)
41
- .addQueryParam('iccid', params === null || params === void 0 ? void 0 : params.iccid)
42
- .build();
43
- return this.client.call(request);
44
- });
45
- }
46
- /**
47
- * Get eSIM Device
48
- * @param {string} iccid - ID of the eSIM
49
- * @returns {Promise<HttpResponse<GetEsimDeviceOkResponse>>} Successful Response
50
- */
51
- getEsimDevice(iccid, requestConfig) {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- const request = new request_builder_1.RequestBuilder()
54
- .setConfig(this.config)
55
- .setBaseUrl(this.config)
56
- .setMethod('GET')
57
- .setPath('/esim/{iccid}/device')
58
- .setRequestSchema(zod_1.z.any())
59
- .setResponseSchema(get_esim_device_ok_response_1.getEsimDeviceOkResponseResponse)
60
- .setRequestContentType(types_1.ContentType.Json)
61
- .setResponseContentType(types_1.ContentType.Json)
62
- .setRetryAttempts(this.config, requestConfig)
63
- .setRetryDelayMs(this.config, requestConfig)
64
- .setResponseValidation(this.config, requestConfig)
65
- .addPathParam('iccid', iccid)
66
- .build();
67
- return this.client.call(request);
68
- });
69
- }
70
- /**
71
- * Get eSIM History
72
- * @param {string} iccid - ID of the eSIM
73
- * @returns {Promise<HttpResponse<GetEsimHistoryOkResponse>>} Successful Response
74
- */
75
- getEsimHistory(iccid, requestConfig) {
76
- return __awaiter(this, void 0, void 0, function* () {
77
- const request = new request_builder_1.RequestBuilder()
78
- .setConfig(this.config)
79
- .setBaseUrl(this.config)
80
- .setMethod('GET')
81
- .setPath('/esim/{iccid}/history')
82
- .setRequestSchema(zod_1.z.any())
83
- .setResponseSchema(get_esim_history_ok_response_1.getEsimHistoryOkResponseResponse)
84
- .setRequestContentType(types_1.ContentType.Json)
85
- .setResponseContentType(types_1.ContentType.Json)
86
- .setRetryAttempts(this.config, requestConfig)
87
- .setRetryDelayMs(this.config, requestConfig)
88
- .setResponseValidation(this.config, requestConfig)
89
- .addPathParam('iccid', iccid)
90
- .build();
91
- return this.client.call(request);
92
- });
93
- }
94
- /**
95
- * Get eSIM MAC
96
- * @param {string} iccid - ID of the eSIM
97
- * @returns {Promise<HttpResponse<GetEsimMacOkResponse>>} Successful Response
98
- */
99
- getEsimMac(iccid, requestConfig) {
100
- return __awaiter(this, void 0, void 0, function* () {
101
- const request = new request_builder_1.RequestBuilder()
102
- .setConfig(this.config)
103
- .setBaseUrl(this.config)
104
- .setMethod('GET')
105
- .setPath('/esim/{iccid}/mac')
106
- .setRequestSchema(zod_1.z.any())
107
- .setResponseSchema(get_esim_mac_ok_response_1.getEsimMacOkResponseResponse)
108
- .setRequestContentType(types_1.ContentType.Json)
109
- .setResponseContentType(types_1.ContentType.Json)
110
- .setRetryAttempts(this.config, requestConfig)
111
- .setRetryDelayMs(this.config, requestConfig)
112
- .setResponseValidation(this.config, requestConfig)
113
- .addPathParam('iccid', iccid)
114
- .build();
115
- return this.client.call(request);
116
- });
117
- }
118
- }
119
- exports.ESimService = ESimService;
120
- //# sourceMappingURL=e-sim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"e-sim.js","sourceRoot":"","sources":["../../../src/services/e-sim/e-sim.ts"],"names":[],"mappings":"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"}
@@ -1,3 +0,0 @@
1
- export { ESimService } from './e-sim';
2
- export * from './models';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/e-sim/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,cAAc,UAAU,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ESimService = void 0;
18
- var e_sim_1 = require("./e-sim");
19
- Object.defineProperty(exports, "ESimService", { enumerable: true, get: function () { return e_sim_1.ESimService; } });
20
- __exportStar(require("./models"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/e-sim/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iCAAsC;AAA7B,oGAAA,WAAW,OAAA;AACpB,2CAAyB"}
@@ -1,90 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * The shape of the model inside the application code - what the users use
4
- */
5
- export declare const device: z.ZodLazy<z.ZodObject<{
6
- oem: z.ZodOptional<z.ZodString>;
7
- hardwareName: z.ZodOptional<z.ZodString>;
8
- hardwareModel: z.ZodOptional<z.ZodString>;
9
- eid: z.ZodOptional<z.ZodString>;
10
- }, "strip", z.ZodTypeAny, {
11
- oem?: string | undefined;
12
- hardwareName?: string | undefined;
13
- hardwareModel?: string | undefined;
14
- eid?: string | undefined;
15
- }, {
16
- oem?: string | undefined;
17
- hardwareName?: string | undefined;
18
- hardwareModel?: string | undefined;
19
- eid?: string | undefined;
20
- }>>;
21
- /**
22
- *
23
- * @typedef {Device} device
24
- * @property {string} - Name of the OEM
25
- * @property {string} - Name of the Device
26
- * @property {string} - Model of the Device
27
- * @property {string} - Serial Number of the eSIM
28
- */
29
- export type Device = z.infer<typeof device>;
30
- /**
31
- * The shape of the model mapping from the api schema into the application shape.
32
- * Is equal to application shape if all property names match the api schema
33
- */
34
- export declare const deviceResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
35
- oem: z.ZodOptional<z.ZodString>;
36
- hardwareName: z.ZodOptional<z.ZodString>;
37
- hardwareModel: z.ZodOptional<z.ZodString>;
38
- eid: z.ZodOptional<z.ZodString>;
39
- }, "strip", z.ZodTypeAny, {
40
- oem?: string | undefined;
41
- hardwareName?: string | undefined;
42
- hardwareModel?: string | undefined;
43
- eid?: string | undefined;
44
- }, {
45
- oem?: string | undefined;
46
- hardwareName?: string | undefined;
47
- hardwareModel?: string | undefined;
48
- eid?: string | undefined;
49
- }>, {
50
- oem: string | undefined;
51
- hardwareName: string | undefined;
52
- hardwareModel: string | undefined;
53
- eid: string | undefined;
54
- }, {
55
- oem?: string | undefined;
56
- hardwareName?: string | undefined;
57
- hardwareModel?: string | undefined;
58
- eid?: string | undefined;
59
- }>>;
60
- /**
61
- * The shape of the model mapping from the application shape into the api schema.
62
- * Is equal to application shape if all property names match the api schema
63
- */
64
- export declare const deviceRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
65
- oem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- hardwareName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- hardwareModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- eid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- }, "strip", z.ZodTypeAny, {
70
- oem?: string | null | undefined;
71
- hardwareName?: string | null | undefined;
72
- hardwareModel?: string | null | undefined;
73
- eid?: string | null | undefined;
74
- }, {
75
- oem?: string | null | undefined;
76
- hardwareName?: string | null | undefined;
77
- hardwareModel?: string | null | undefined;
78
- eid?: string | null | undefined;
79
- }>, {
80
- oem: string | null | undefined;
81
- hardwareName: string | null | undefined;
82
- hardwareModel: string | null | undefined;
83
- eid: string | null | undefined;
84
- }, {
85
- oem?: string | null | undefined;
86
- hardwareName?: string | null | undefined;
87
- hardwareModel?: string | null | undefined;
88
- eid?: string | null | undefined;
89
- }>>;
90
- //# sourceMappingURL=device.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../src/services/e-sim/models/device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;GAOjB,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;GAczB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;GAcxB,CAAC"}