celitech-sdk 1.1.72 → 1.1.73
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/publish_npmjs.yml +1 -0
- package/.manifest.json +9 -9
- package/README.md +2 -2
- package/dist/http/client.d.ts +14 -0
- package/dist/http/client.d.ts.map +1 -0
- package/dist/http/client.js +36 -0
- package/dist/http/client.js.map +1 -0
- package/dist/http/environment.d.ts +4 -0
- package/dist/http/environment.d.ts.map +1 -0
- package/dist/http/environment.js +8 -0
- package/dist/http/environment.js.map +1 -0
- package/dist/http/error.d.ts +7 -0
- package/dist/http/error.d.ts.map +1 -0
- package/dist/http/error.js +12 -0
- package/dist/http/error.js.map +1 -0
- package/dist/http/handlers/handler-chain.d.ts +8 -0
- package/dist/http/handlers/handler-chain.d.ts.map +1 -0
- package/dist/http/handlers/handler-chain.js +34 -0
- package/dist/http/handlers/handler-chain.js.map +1 -0
- package/dist/http/handlers/hook-handler.d.ts +12 -0
- package/dist/http/handlers/hook-handler.d.ts.map +1 -0
- package/dist/http/handlers/hook-handler.js +49 -0
- package/dist/http/handlers/hook-handler.js.map +1 -0
- package/dist/http/handlers/request-validation-handler.d.ts +9 -0
- package/dist/http/handlers/request-validation-handler.d.ts.map +1 -0
- package/dist/http/handlers/request-validation-handler.js +78 -0
- package/dist/http/handlers/request-validation-handler.js.map +1 -0
- package/dist/http/handlers/response-validation-handler.d.ts +11 -0
- package/dist/http/handlers/response-validation-handler.d.ts.map +1 -0
- package/dist/http/handlers/response-validation-handler.js +89 -0
- package/dist/http/handlers/response-validation-handler.js.map +1 -0
- package/dist/http/handlers/retry-handler.d.ts +9 -0
- package/dist/http/handlers/retry-handler.d.ts.map +1 -0
- package/dist/http/handlers/retry-handler.js +47 -0
- package/dist/http/handlers/retry-handler.js.map +1 -0
- package/dist/http/handlers/terminating-handler.d.ts +8 -0
- package/dist/http/handlers/terminating-handler.d.ts.map +1 -0
- package/dist/http/handlers/terminating-handler.js +45 -0
- package/dist/http/handlers/terminating-handler.js.map +1 -0
- package/dist/http/hooks/custom-hook.d.ts +9 -0
- package/dist/http/hooks/custom-hook.d.ts.map +1 -0
- package/dist/http/hooks/custom-hook.js +84 -0
- package/dist/http/hooks/custom-hook.js.map +1 -0
- package/dist/http/hooks/hook.d.ts +31 -0
- package/dist/http/hooks/hook.d.ts.map +1 -0
- package/dist/http/hooks/hook.js +3 -0
- package/dist/http/hooks/hook.js.map +1 -0
- package/dist/http/index.d.ts +5 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/index.js +21 -0
- package/dist/http/index.js.map +1 -0
- package/dist/http/serializer.d.ts +13 -0
- package/dist/http/serializer.d.ts.map +1 -0
- package/dist/http/serializer.js +150 -0
- package/dist/http/serializer.js.map +1 -0
- package/dist/http/transport/request-builder.d.ts +24 -0
- package/dist/http/transport/request-builder.d.ts.map +1 -0
- package/dist/http/transport/request-builder.js +130 -0
- package/dist/http/transport/request-builder.js.map +1 -0
- package/dist/http/transport/request.d.ts +53 -0
- package/dist/http/transport/request.d.ts.map +1 -0
- package/dist/http/transport/request.js +116 -0
- package/dist/http/transport/request.js.map +1 -0
- package/dist/http/types.d.ts +60 -0
- package/dist/http/types.d.ts.map +1 -0
- package/dist/http/types.js +16 -0
- package/dist/http/types.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -0
- package/dist/services/base-service.d.ts +14 -0
- package/dist/services/base-service.d.ts.map +1 -0
- package/dist/services/base-service.js +27 -0
- package/dist/services/base-service.js.map +1 -0
- package/dist/services/destinations/destinations.d.ts +12 -0
- package/dist/services/destinations/destinations.d.ts.map +1 -0
- package/dist/services/destinations/destinations.js +43 -0
- package/dist/services/destinations/destinations.js.map +1 -0
- package/dist/services/destinations/index.d.ts +2 -0
- package/dist/services/destinations/index.d.ts.map +1 -0
- package/dist/services/destinations/index.js +18 -0
- package/dist/services/destinations/index.js.map +1 -0
- package/dist/services/destinations/models/destinations.d.ts +76 -0
- package/dist/services/destinations/models/destinations.d.ts.map +1 -0
- package/dist/services/destinations/models/destinations.js +49 -0
- package/dist/services/destinations/models/destinations.js.map +1 -0
- package/dist/services/destinations/models/index.d.ts +3 -0
- package/dist/services/destinations/models/index.d.ts.map +1 -0
- package/dist/services/destinations/models/index.js +19 -0
- package/dist/services/destinations/models/index.js.map +1 -0
- package/dist/services/destinations/models/list-destinations-ok-response.d.ts +140 -0
- package/dist/services/destinations/models/list-destinations-ok-response.d.ts.map +1 -0
- package/dist/services/destinations/models/list-destinations-ok-response.js +36 -0
- package/dist/services/destinations/models/list-destinations-ok-response.js.map +1 -0
- package/dist/services/e-sim/e-sim.d.ts +35 -0
- package/dist/services/e-sim/e-sim.d.ts.map +1 -0
- package/dist/services/e-sim/e-sim.js +120 -0
- package/dist/services/e-sim/e-sim.js.map +1 -0
- package/dist/services/e-sim/index.d.ts +2 -0
- package/dist/services/e-sim/index.d.ts.map +1 -0
- package/dist/services/e-sim/index.js +18 -0
- package/dist/services/e-sim/index.js.map +1 -0
- package/dist/services/e-sim/models/device.d.ts +90 -0
- package/dist/services/e-sim/models/device.d.ts.map +1 -0
- package/dist/services/e-sim/models/device.js +54 -0
- package/dist/services/e-sim/models/device.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-device-ok-response.d.ts +163 -0
- package/dist/services/e-sim/models/get-esim-device-ok-response.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-device-ok-response.js +36 -0
- package/dist/services/e-sim/models/get-esim-device-ok-response.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response-esim.d.ts +154 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response-esim.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response-esim.js +40 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response-esim.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response.d.ts +249 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response.js +36 -0
- package/dist/services/e-sim/models/get-esim-history-ok-response.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.d.ts +76 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.js +49 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response-esim.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response.d.ts +140 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response.js +36 -0
- package/dist/services/e-sim/models/get-esim-mac-ok-response.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-ok-response-esim.d.ts +90 -0
- package/dist/services/e-sim/models/get-esim-ok-response-esim.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-ok-response-esim.js +54 -0
- package/dist/services/e-sim/models/get-esim-ok-response-esim.js.map +1 -0
- package/dist/services/e-sim/models/get-esim-ok-response.d.ts +163 -0
- package/dist/services/e-sim/models/get-esim-ok-response.d.ts.map +1 -0
- package/dist/services/e-sim/models/get-esim-ok-response.js +36 -0
- package/dist/services/e-sim/models/get-esim-ok-response.js.map +1 -0
- package/dist/services/e-sim/models/history.d.ts +76 -0
- package/dist/services/e-sim/models/history.d.ts.map +1 -0
- package/dist/services/e-sim/models/history.js +45 -0
- package/dist/services/e-sim/models/history.js.map +1 -0
- package/dist/services/e-sim/models/index.d.ts +10 -0
- package/dist/services/e-sim/models/index.d.ts.map +1 -0
- package/dist/services/e-sim/models/index.js +26 -0
- package/dist/services/e-sim/models/index.js.map +1 -0
- package/dist/services/e-sim/request-params.d.ts +4 -0
- package/dist/services/e-sim/request-params.d.ts.map +1 -0
- package/dist/services/e-sim/request-params.js +3 -0
- package/dist/services/e-sim/request-params.js.map +1 -0
- package/dist/services/packages/index.d.ts +2 -0
- package/dist/services/packages/index.d.ts.map +1 -0
- package/dist/services/packages/index.js +18 -0
- package/dist/services/packages/index.js.map +1 -0
- package/dist/services/packages/models/index.d.ts +3 -0
- package/dist/services/packages/models/index.d.ts.map +1 -0
- package/dist/services/packages/models/index.js +19 -0
- package/dist/services/packages/models/index.js.map +1 -0
- package/dist/services/packages/models/list-packages-ok-response.d.ts +223 -0
- package/dist/services/packages/models/list-packages-ok-response.d.ts.map +1 -0
- package/dist/services/packages/models/list-packages-ok-response.js +42 -0
- package/dist/services/packages/models/list-packages-ok-response.js.map +1 -0
- package/dist/services/packages/models/packages.d.ts +118 -0
- package/dist/services/packages/models/packages.d.ts.map +1 -0
- package/dist/services/packages/models/packages.js +64 -0
- package/dist/services/packages/models/packages.js.map +1 -0
- package/dist/services/packages/packages.d.ts +21 -0
- package/dist/services/packages/packages.d.ts.map +1 -0
- package/dist/services/packages/packages.js +59 -0
- package/dist/services/packages/packages.js.map +1 -0
- package/dist/services/packages/request-params.d.ts +11 -0
- package/dist/services/packages/request-params.d.ts.map +1 -0
- package/dist/services/packages/request-params.js +3 -0
- package/dist/services/packages/request-params.js.map +1 -0
- package/dist/services/purchases/index.d.ts +2 -0
- package/dist/services/purchases/index.d.ts.map +1 -0
- package/dist/services/purchases/index.js +18 -0
- package/dist/services/purchases/index.js.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response-profile.d.ts +62 -0
- package/dist/services/purchases/models/create-purchase-ok-response-profile.d.ts.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response-profile.js +39 -0
- package/dist/services/purchases/models/create-purchase-ok-response-profile.js.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response-purchase.d.ts +132 -0
- package/dist/services/purchases/models/create-purchase-ok-response-purchase.d.ts.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response-purchase.js +69 -0
- package/dist/services/purchases/models/create-purchase-ok-response-purchase.js.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response.d.ts +315 -0
- package/dist/services/purchases/models/create-purchase-ok-response.d.ts.map +1 -0
- package/dist/services/purchases/models/create-purchase-ok-response.js +46 -0
- package/dist/services/purchases/models/create-purchase-ok-response.js.map +1 -0
- package/dist/services/purchases/models/create-purchase-request.d.ts +160 -0
- package/dist/services/purchases/models/create-purchase-request.d.ts.map +1 -0
- package/dist/services/purchases/models/create-purchase-request.js +79 -0
- package/dist/services/purchases/models/create-purchase-request.js.map +1 -0
- package/dist/services/purchases/models/edit-purchase-ok-response.d.ts +104 -0
- package/dist/services/purchases/models/edit-purchase-ok-response.d.ts.map +1 -0
- package/dist/services/purchases/models/edit-purchase-ok-response.js +59 -0
- package/dist/services/purchases/models/edit-purchase-ok-response.js.map +1 -0
- package/dist/services/purchases/models/edit-purchase-request.d.ts +104 -0
- package/dist/services/purchases/models/edit-purchase-request.d.ts.map +1 -0
- package/dist/services/purchases/models/edit-purchase-request.js +59 -0
- package/dist/services/purchases/models/edit-purchase-request.js.map +1 -0
- package/dist/services/purchases/models/get-purchase-consumption-ok-response.d.ts +62 -0
- package/dist/services/purchases/models/get-purchase-consumption-ok-response.d.ts.map +1 -0
- package/dist/services/purchases/models/get-purchase-consumption-ok-response.js +41 -0
- package/dist/services/purchases/models/get-purchase-consumption-ok-response.js.map +1 -0
- package/dist/services/purchases/models/index.d.ts +16 -0
- package/dist/services/purchases/models/index.d.ts.map +1 -0
- package/dist/services/purchases/models/index.js +32 -0
- package/dist/services/purchases/models/index.js.map +1 -0
- package/dist/services/purchases/models/list-purchases-ok-response.d.ts +622 -0
- package/dist/services/purchases/models/list-purchases-ok-response.d.ts.map +1 -0
- package/dist/services/purchases/models/list-purchases-ok-response.js +42 -0
- package/dist/services/purchases/models/list-purchases-ok-response.js.map +1 -0
- package/dist/services/purchases/models/package_.d.ts +104 -0
- package/dist/services/purchases/models/package_.d.ts.map +1 -0
- package/dist/services/purchases/models/package_.js +59 -0
- package/dist/services/purchases/models/package_.js.map +1 -0
- package/dist/services/purchases/models/purchases-esim.d.ts +48 -0
- package/dist/services/purchases/models/purchases-esim.d.ts.map +1 -0
- package/dist/services/purchases/models/purchases-esim.js +35 -0
- package/dist/services/purchases/models/purchases-esim.js.map +1 -0
- package/dist/services/purchases/models/purchases.d.ts +372 -0
- package/dist/services/purchases/models/purchases.d.ts.map +1 -0
- package/dist/services/purchases/models/purchases.js +91 -0
- package/dist/services/purchases/models/purchases.js.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-profile.d.ts +48 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-profile.d.ts.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-profile.js +35 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-profile.js.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-purchase.d.ts +132 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-purchase.d.ts.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-purchase.js +69 -0
- package/dist/services/purchases/models/top-up-esim-ok-response-purchase.js.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response.d.ts +292 -0
- package/dist/services/purchases/models/top-up-esim-ok-response.d.ts.map +1 -0
- package/dist/services/purchases/models/top-up-esim-ok-response.js +46 -0
- package/dist/services/purchases/models/top-up-esim-ok-response.js.map +1 -0
- package/dist/services/purchases/models/top-up-esim-request.d.ts +146 -0
- package/dist/services/purchases/models/top-up-esim-request.d.ts.map +1 -0
- package/dist/services/purchases/models/top-up-esim-request.js +74 -0
- package/dist/services/purchases/models/top-up-esim-request.js.map +1 -0
- package/dist/services/purchases/purchases.d.ts +49 -0
- package/dist/services/purchases/purchases.d.ts.map +1 -0
- package/dist/services/purchases/purchases.js +162 -0
- package/dist/services/purchases/purchases.js.map +1 -0
- package/dist/services/purchases/request-params.d.ts +11 -0
- package/dist/services/purchases/request-params.d.ts.map +1 -0
- package/dist/services/purchases/request-params.js +3 -0
- package/dist/services/purchases/request-params.js.map +1 -0
- package/documentation/services/PurchasesService.md +6 -6
- package/examples/package.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getEsimHistoryOkResponseRequest = exports.getEsimHistoryOkResponseResponse = exports.getEsimHistoryOkResponse = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const get_esim_history_ok_response_esim_1 = require("./get-esim-history-ok-response-esim");
|
6
|
+
/**
|
7
|
+
* The shape of the model inside the application code - what the users use
|
8
|
+
*/
|
9
|
+
exports.getEsimHistoryOkResponse = zod_1.z.lazy(() => {
|
10
|
+
return zod_1.z.object({
|
11
|
+
esim: get_esim_history_ok_response_esim_1.getEsimHistoryOkResponseEsim.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.getEsimHistoryOkResponseResponse = zod_1.z.lazy(() => {
|
19
|
+
return zod_1.z
|
20
|
+
.object({
|
21
|
+
esim: get_esim_history_ok_response_esim_1.getEsimHistoryOkResponseEsimResponse.optional(),
|
22
|
+
})
|
23
|
+
.transform((data) => ({
|
24
|
+
esim: data['esim'],
|
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.getEsimHistoryOkResponseRequest = zod_1.z.lazy(() => {
|
32
|
+
return zod_1.z.object({ esim: get_esim_history_ok_response_esim_1.getEsimHistoryOkResponseEsimRequest.nullish() }).transform((data) => ({
|
33
|
+
esim: data['esim'],
|
34
|
+
}));
|
35
|
+
});
|
36
|
+
//# sourceMappingURL=get-esim-history-ok-response.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-history-ok-response.js","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-history-ok-response.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2FAI6C;AAE7C;;GAEG;AACU,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAClD,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,gEAA4B,CAAC,QAAQ,EAAE;KAC9C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH;;;GAGG;AACU,QAAA,gCAAgC,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC1D,OAAO,OAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,wEAAoC,CAAC,QAAQ,EAAE;KACtD,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,+BAA+B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACzD,OAAO,OAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,uEAAmC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC5F,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,76 @@
|
|
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 getEsimMacOkResponseEsim: z.ZodLazy<z.ZodObject<{
|
6
|
+
iccid: z.ZodOptional<z.ZodString>;
|
7
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
8
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
iccid?: string | undefined;
|
11
|
+
smdpAddress?: string | undefined;
|
12
|
+
manualActivationCode?: string | undefined;
|
13
|
+
}, {
|
14
|
+
iccid?: string | undefined;
|
15
|
+
smdpAddress?: string | undefined;
|
16
|
+
manualActivationCode?: string | undefined;
|
17
|
+
}>>;
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @typedef {GetEsimMacOkResponseEsim} getEsimMacOkResponseEsim
|
21
|
+
* @property {string} - ID of the eSIM
|
22
|
+
* @property {string} - SM-DP+ Address
|
23
|
+
* @property {string} - The manual activation code
|
24
|
+
*/
|
25
|
+
export type GetEsimMacOkResponseEsim = z.infer<typeof getEsimMacOkResponseEsim>;
|
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 getEsimMacOkResponseEsimResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
31
|
+
iccid: z.ZodOptional<z.ZodString>;
|
32
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
33
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
35
|
+
iccid?: string | undefined;
|
36
|
+
smdpAddress?: string | undefined;
|
37
|
+
manualActivationCode?: string | undefined;
|
38
|
+
}, {
|
39
|
+
iccid?: string | undefined;
|
40
|
+
smdpAddress?: string | undefined;
|
41
|
+
manualActivationCode?: string | undefined;
|
42
|
+
}>, {
|
43
|
+
iccid: string | undefined;
|
44
|
+
smdpAddress: string | undefined;
|
45
|
+
manualActivationCode: string | undefined;
|
46
|
+
}, {
|
47
|
+
iccid?: string | undefined;
|
48
|
+
smdpAddress?: string | undefined;
|
49
|
+
manualActivationCode?: 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 getEsimMacOkResponseEsimRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
56
|
+
iccid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
57
|
+
smdpAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
58
|
+
manualActivationCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
60
|
+
iccid?: string | null | undefined;
|
61
|
+
smdpAddress?: string | null | undefined;
|
62
|
+
manualActivationCode?: string | null | undefined;
|
63
|
+
}, {
|
64
|
+
iccid?: string | null | undefined;
|
65
|
+
smdpAddress?: string | null | undefined;
|
66
|
+
manualActivationCode?: string | null | undefined;
|
67
|
+
}>, {
|
68
|
+
iccid: string | null | undefined;
|
69
|
+
smdpAddress: string | null | undefined;
|
70
|
+
manualActivationCode: string | null | undefined;
|
71
|
+
}, {
|
72
|
+
iccid?: string | null | undefined;
|
73
|
+
smdpAddress?: string | null | undefined;
|
74
|
+
manualActivationCode?: string | null | undefined;
|
75
|
+
}>>;
|
76
|
+
//# sourceMappingURL=get-esim-mac-ok-response-esim.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-mac-ok-response-esim.d.ts","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-mac-ok-response-esim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;GAMnC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;GAY3C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;GAY1C,CAAC"}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getEsimMacOkResponseEsimRequest = exports.getEsimMacOkResponseEsimResponse = exports.getEsimMacOkResponseEsim = 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.getEsimMacOkResponseEsim = zod_1.z.lazy(() => {
|
9
|
+
return zod_1.z.object({
|
10
|
+
iccid: zod_1.z.string().min(18).max(22).optional(),
|
11
|
+
smdpAddress: zod_1.z.string().optional(),
|
12
|
+
manualActivationCode: 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.getEsimMacOkResponseEsimResponse = zod_1.z.lazy(() => {
|
20
|
+
return zod_1.z
|
21
|
+
.object({
|
22
|
+
iccid: zod_1.z.string().min(18).max(22).optional(),
|
23
|
+
smdpAddress: zod_1.z.string().optional(),
|
24
|
+
manualActivationCode: zod_1.z.string().optional(),
|
25
|
+
})
|
26
|
+
.transform((data) => ({
|
27
|
+
iccid: data['iccid'],
|
28
|
+
smdpAddress: data['smdpAddress'],
|
29
|
+
manualActivationCode: data['manualActivationCode'],
|
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.getEsimMacOkResponseEsimRequest = zod_1.z.lazy(() => {
|
37
|
+
return zod_1.z
|
38
|
+
.object({
|
39
|
+
iccid: zod_1.z.string().nullish(),
|
40
|
+
smdpAddress: zod_1.z.string().nullish(),
|
41
|
+
manualActivationCode: zod_1.z.string().nullish(),
|
42
|
+
})
|
43
|
+
.transform((data) => ({
|
44
|
+
iccid: data['iccid'],
|
45
|
+
smdpAddress: data['smdpAddress'],
|
46
|
+
manualActivationCode: data['manualActivationCode'],
|
47
|
+
}));
|
48
|
+
});
|
49
|
+
//# sourceMappingURL=get-esim-mac-ok-response-esim.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-mac-ok-response-esim.js","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-mac-ok-response-esim.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB;;GAEG;AACU,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAClD,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC5C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH;;;GAGG;AACU,QAAA,gCAAgC,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC1D,OAAO,OAAC;SACL,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC5C,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,oBAAoB,EAAE,IAAI,CAAC,sBAAsB,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,+BAA+B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACzD,OAAO,OAAC;SACL,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QACjC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3C,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,oBAAoB,EAAE,IAAI,CAAC,sBAAsB,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,140 @@
|
|
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 getEsimMacOkResponse: z.ZodLazy<z.ZodObject<{
|
6
|
+
esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
7
|
+
iccid: z.ZodOptional<z.ZodString>;
|
8
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
9
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
iccid?: string | undefined;
|
12
|
+
smdpAddress?: string | undefined;
|
13
|
+
manualActivationCode?: string | undefined;
|
14
|
+
}, {
|
15
|
+
iccid?: string | undefined;
|
16
|
+
smdpAddress?: string | undefined;
|
17
|
+
manualActivationCode?: string | undefined;
|
18
|
+
}>>>;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
esim?: {
|
21
|
+
iccid?: string | undefined;
|
22
|
+
smdpAddress?: string | undefined;
|
23
|
+
manualActivationCode?: string | undefined;
|
24
|
+
} | undefined;
|
25
|
+
}, {
|
26
|
+
esim?: {
|
27
|
+
iccid?: string | undefined;
|
28
|
+
smdpAddress?: string | undefined;
|
29
|
+
manualActivationCode?: string | undefined;
|
30
|
+
} | undefined;
|
31
|
+
}>>;
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @typedef {GetEsimMacOkResponse} getEsimMacOkResponse
|
35
|
+
* @property {GetEsimMacOkResponseEsim}
|
36
|
+
*/
|
37
|
+
export type GetEsimMacOkResponse = z.infer<typeof getEsimMacOkResponse>;
|
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 getEsimMacOkResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
43
|
+
esim: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
44
|
+
iccid: z.ZodOptional<z.ZodString>;
|
45
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
46
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
iccid?: string | undefined;
|
49
|
+
smdpAddress?: string | undefined;
|
50
|
+
manualActivationCode?: string | undefined;
|
51
|
+
}, {
|
52
|
+
iccid?: string | undefined;
|
53
|
+
smdpAddress?: string | undefined;
|
54
|
+
manualActivationCode?: string | undefined;
|
55
|
+
}>, {
|
56
|
+
iccid: string | undefined;
|
57
|
+
smdpAddress: string | undefined;
|
58
|
+
manualActivationCode: string | undefined;
|
59
|
+
}, {
|
60
|
+
iccid?: string | undefined;
|
61
|
+
smdpAddress?: string | undefined;
|
62
|
+
manualActivationCode?: string | undefined;
|
63
|
+
}>>>;
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
65
|
+
esim?: {
|
66
|
+
iccid: string | undefined;
|
67
|
+
smdpAddress: string | undefined;
|
68
|
+
manualActivationCode: string | undefined;
|
69
|
+
} | undefined;
|
70
|
+
}, {
|
71
|
+
esim?: {
|
72
|
+
iccid?: string | undefined;
|
73
|
+
smdpAddress?: string | undefined;
|
74
|
+
manualActivationCode?: string | undefined;
|
75
|
+
} | undefined;
|
76
|
+
}>, {
|
77
|
+
esim: {
|
78
|
+
iccid: string | undefined;
|
79
|
+
smdpAddress: string | undefined;
|
80
|
+
manualActivationCode: string | undefined;
|
81
|
+
} | undefined;
|
82
|
+
}, {
|
83
|
+
esim?: {
|
84
|
+
iccid?: string | undefined;
|
85
|
+
smdpAddress?: string | undefined;
|
86
|
+
manualActivationCode?: 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 getEsimMacOkResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
94
|
+
esim: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
95
|
+
iccid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
|
+
smdpAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
|
+
manualActivationCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
99
|
+
iccid?: string | null | undefined;
|
100
|
+
smdpAddress?: string | null | undefined;
|
101
|
+
manualActivationCode?: string | null | undefined;
|
102
|
+
}, {
|
103
|
+
iccid?: string | null | undefined;
|
104
|
+
smdpAddress?: string | null | undefined;
|
105
|
+
manualActivationCode?: string | null | undefined;
|
106
|
+
}>, {
|
107
|
+
iccid: string | null | undefined;
|
108
|
+
smdpAddress: string | null | undefined;
|
109
|
+
manualActivationCode: string | null | undefined;
|
110
|
+
}, {
|
111
|
+
iccid?: string | null | undefined;
|
112
|
+
smdpAddress?: string | null | undefined;
|
113
|
+
manualActivationCode?: string | null | undefined;
|
114
|
+
}>>>>;
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
116
|
+
esim?: {
|
117
|
+
iccid: string | null | undefined;
|
118
|
+
smdpAddress: string | null | undefined;
|
119
|
+
manualActivationCode: string | null | undefined;
|
120
|
+
} | null | undefined;
|
121
|
+
}, {
|
122
|
+
esim?: {
|
123
|
+
iccid?: string | null | undefined;
|
124
|
+
smdpAddress?: string | null | undefined;
|
125
|
+
manualActivationCode?: string | null | undefined;
|
126
|
+
} | null | undefined;
|
127
|
+
}>, {
|
128
|
+
esim: {
|
129
|
+
iccid: string | null | undefined;
|
130
|
+
smdpAddress: string | null | undefined;
|
131
|
+
manualActivationCode: string | null | undefined;
|
132
|
+
} | null | undefined;
|
133
|
+
}, {
|
134
|
+
esim?: {
|
135
|
+
iccid?: string | null | undefined;
|
136
|
+
smdpAddress?: string | null | undefined;
|
137
|
+
manualActivationCode?: string | null | undefined;
|
138
|
+
} | null | undefined;
|
139
|
+
}>>;
|
140
|
+
//# sourceMappingURL=get-esim-mac-ok-response.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-mac-ok-response.d.ts","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-mac-ok-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;GAI/B,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQvC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAItC,CAAC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getEsimMacOkResponseRequest = exports.getEsimMacOkResponseResponse = exports.getEsimMacOkResponse = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const get_esim_mac_ok_response_esim_1 = require("./get-esim-mac-ok-response-esim");
|
6
|
+
/**
|
7
|
+
* The shape of the model inside the application code - what the users use
|
8
|
+
*/
|
9
|
+
exports.getEsimMacOkResponse = zod_1.z.lazy(() => {
|
10
|
+
return zod_1.z.object({
|
11
|
+
esim: get_esim_mac_ok_response_esim_1.getEsimMacOkResponseEsim.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.getEsimMacOkResponseResponse = zod_1.z.lazy(() => {
|
19
|
+
return zod_1.z
|
20
|
+
.object({
|
21
|
+
esim: get_esim_mac_ok_response_esim_1.getEsimMacOkResponseEsimResponse.optional(),
|
22
|
+
})
|
23
|
+
.transform((data) => ({
|
24
|
+
esim: data['esim'],
|
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.getEsimMacOkResponseRequest = zod_1.z.lazy(() => {
|
32
|
+
return zod_1.z.object({ esim: get_esim_mac_ok_response_esim_1.getEsimMacOkResponseEsimRequest.nullish() }).transform((data) => ({
|
33
|
+
esim: data['esim'],
|
34
|
+
}));
|
35
|
+
});
|
36
|
+
//# sourceMappingURL=get-esim-mac-ok-response.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-mac-ok-response.js","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-mac-ok-response.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mFAIyC;AAEzC;;GAEG;AACU,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC9C,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,wDAAwB,CAAC,QAAQ,EAAE;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH;;;GAGG;AACU,QAAA,4BAA4B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACtD,OAAO,OAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,gEAAgC,CAAC,QAAQ,EAAE;KAClD,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,2BAA2B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACrD,OAAO,OAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,+DAA+B,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACxF,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,90 @@
|
|
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 getEsimOkResponseEsim: z.ZodLazy<z.ZodObject<{
|
6
|
+
iccid: z.ZodOptional<z.ZodString>;
|
7
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
8
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
9
|
+
status: z.ZodOptional<z.ZodString>;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
iccid?: string | undefined;
|
12
|
+
smdpAddress?: string | undefined;
|
13
|
+
manualActivationCode?: string | undefined;
|
14
|
+
status?: string | undefined;
|
15
|
+
}, {
|
16
|
+
iccid?: string | undefined;
|
17
|
+
smdpAddress?: string | undefined;
|
18
|
+
manualActivationCode?: string | undefined;
|
19
|
+
status?: string | undefined;
|
20
|
+
}>>;
|
21
|
+
/**
|
22
|
+
*
|
23
|
+
* @typedef {GetEsimOkResponseEsim} getEsimOkResponseEsim
|
24
|
+
* @property {string} - ID of the eSIM
|
25
|
+
* @property {string} - SM-DP+ Address
|
26
|
+
* @property {string} - The manual activation code
|
27
|
+
* @property {string} - Status of the eSIM, possible values are 'RELEASED', 'DOWNLOADED', 'INSTALLED', 'ENABLED', 'DELETED', or 'ERROR'
|
28
|
+
*/
|
29
|
+
export type GetEsimOkResponseEsim = z.infer<typeof getEsimOkResponseEsim>;
|
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 getEsimOkResponseEsimResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
35
|
+
iccid: z.ZodOptional<z.ZodString>;
|
36
|
+
smdpAddress: z.ZodOptional<z.ZodString>;
|
37
|
+
manualActivationCode: z.ZodOptional<z.ZodString>;
|
38
|
+
status: z.ZodOptional<z.ZodString>;
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
40
|
+
iccid?: string | undefined;
|
41
|
+
smdpAddress?: string | undefined;
|
42
|
+
manualActivationCode?: string | undefined;
|
43
|
+
status?: string | undefined;
|
44
|
+
}, {
|
45
|
+
iccid?: string | undefined;
|
46
|
+
smdpAddress?: string | undefined;
|
47
|
+
manualActivationCode?: string | undefined;
|
48
|
+
status?: string | undefined;
|
49
|
+
}>, {
|
50
|
+
iccid: string | undefined;
|
51
|
+
smdpAddress: string | undefined;
|
52
|
+
manualActivationCode: string | undefined;
|
53
|
+
status: string | undefined;
|
54
|
+
}, {
|
55
|
+
iccid?: string | undefined;
|
56
|
+
smdpAddress?: string | undefined;
|
57
|
+
manualActivationCode?: string | undefined;
|
58
|
+
status?: 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 getEsimOkResponseEsimRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
65
|
+
iccid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
66
|
+
smdpAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
67
|
+
manualActivationCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
68
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
iccid?: string | null | undefined;
|
71
|
+
smdpAddress?: string | null | undefined;
|
72
|
+
manualActivationCode?: string | null | undefined;
|
73
|
+
status?: string | null | undefined;
|
74
|
+
}, {
|
75
|
+
iccid?: string | null | undefined;
|
76
|
+
smdpAddress?: string | null | undefined;
|
77
|
+
manualActivationCode?: string | null | undefined;
|
78
|
+
status?: string | null | undefined;
|
79
|
+
}>, {
|
80
|
+
iccid: string | null | undefined;
|
81
|
+
smdpAddress: string | null | undefined;
|
82
|
+
manualActivationCode: string | null | undefined;
|
83
|
+
status: string | null | undefined;
|
84
|
+
}, {
|
85
|
+
iccid?: string | null | undefined;
|
86
|
+
smdpAddress?: string | null | undefined;
|
87
|
+
manualActivationCode?: string | null | undefined;
|
88
|
+
status?: string | null | undefined;
|
89
|
+
}>>;
|
90
|
+
//# sourceMappingURL=get-esim-ok-response-esim.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-ok-response-esim.d.ts","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-ok-response-esim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;GAOhC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;GAcxC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;GAcvC,CAAC"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getEsimOkResponseEsimRequest = exports.getEsimOkResponseEsimResponse = exports.getEsimOkResponseEsim = 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.getEsimOkResponseEsim = zod_1.z.lazy(() => {
|
9
|
+
return zod_1.z.object({
|
10
|
+
iccid: zod_1.z.string().min(18).max(22).optional(),
|
11
|
+
smdpAddress: zod_1.z.string().optional(),
|
12
|
+
manualActivationCode: zod_1.z.string().optional(),
|
13
|
+
status: zod_1.z.string().optional(),
|
14
|
+
});
|
15
|
+
});
|
16
|
+
/**
|
17
|
+
* The shape of the model mapping from the api schema into the application shape.
|
18
|
+
* Is equal to application shape if all property names match the api schema
|
19
|
+
*/
|
20
|
+
exports.getEsimOkResponseEsimResponse = zod_1.z.lazy(() => {
|
21
|
+
return zod_1.z
|
22
|
+
.object({
|
23
|
+
iccid: zod_1.z.string().min(18).max(22).optional(),
|
24
|
+
smdpAddress: zod_1.z.string().optional(),
|
25
|
+
manualActivationCode: zod_1.z.string().optional(),
|
26
|
+
status: zod_1.z.string().optional(),
|
27
|
+
})
|
28
|
+
.transform((data) => ({
|
29
|
+
iccid: data['iccid'],
|
30
|
+
smdpAddress: data['smdpAddress'],
|
31
|
+
manualActivationCode: data['manualActivationCode'],
|
32
|
+
status: data['status'],
|
33
|
+
}));
|
34
|
+
});
|
35
|
+
/**
|
36
|
+
* The shape of the model mapping from the application shape into the api schema.
|
37
|
+
* Is equal to application shape if all property names match the api schema
|
38
|
+
*/
|
39
|
+
exports.getEsimOkResponseEsimRequest = zod_1.z.lazy(() => {
|
40
|
+
return zod_1.z
|
41
|
+
.object({
|
42
|
+
iccid: zod_1.z.string().nullish(),
|
43
|
+
smdpAddress: zod_1.z.string().nullish(),
|
44
|
+
manualActivationCode: zod_1.z.string().nullish(),
|
45
|
+
status: zod_1.z.string().nullish(),
|
46
|
+
})
|
47
|
+
.transform((data) => ({
|
48
|
+
iccid: data['iccid'],
|
49
|
+
smdpAddress: data['smdpAddress'],
|
50
|
+
manualActivationCode: data['manualActivationCode'],
|
51
|
+
status: data['status'],
|
52
|
+
}));
|
53
|
+
});
|
54
|
+
//# sourceMappingURL=get-esim-ok-response-esim.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-esim-ok-response-esim.js","sourceRoot":"","sources":["../../../../src/services/e-sim/models/get-esim-ok-response-esim.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB;;GAEG;AACU,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC/C,OAAO,OAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAYH;;;GAGG;AACU,QAAA,6BAA6B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACvD,OAAO,OAAC;SACL,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,oBAAoB,EAAE,IAAI,CAAC,sBAAsB,CAAC;QAClD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;KACvB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,4BAA4B,GAAG,OAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACtD,OAAO,OAAC;SACL,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QACjC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAC1C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC7B,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,oBAAoB,EAAE,IAAI,CAAC,sBAAsB,CAAC;QAClD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;KACvB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
|