celitech-sdk 1.3.63 → 1.3.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.d.ts +25 -1
- package/dist/index.js +39 -5
- package/dist/index.mjs +37 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Celitech TypeScript SDK 1.3.
|
|
1
|
+
# Celitech TypeScript SDK 1.3.64
|
|
2
2
|
|
|
3
3
|
Welcome to the Celitech SDK documentation. This guide will help you get started with integrating and using the Celitech SDK in your project.
|
|
4
4
|
|
|
@@ -6,8 +6,8 @@ Welcome to the Celitech SDK documentation. This guide will help you get started
|
|
|
6
6
|
|
|
7
7
|
## Versions
|
|
8
8
|
|
|
9
|
-
- API version: `1.3.
|
|
10
|
-
- SDK version: `1.3.
|
|
9
|
+
- API version: `1.3.64`
|
|
10
|
+
- SDK version: `1.3.64`
|
|
11
11
|
|
|
12
12
|
## About the API
|
|
13
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -903,6 +903,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
|
|
|
903
903
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
904
904
|
networkBrand: z.ZodOptional<z.ZodString>;
|
|
905
905
|
emailBrand: z.ZodOptional<z.ZodString>;
|
|
906
|
+
language: z.ZodOptional<z.ZodString>;
|
|
906
907
|
}, "strip", z.ZodTypeAny, {
|
|
907
908
|
destination: string;
|
|
908
909
|
dataLimitInGb: number;
|
|
@@ -914,6 +915,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
|
|
|
914
915
|
referenceId?: string | undefined;
|
|
915
916
|
networkBrand?: string | undefined;
|
|
916
917
|
emailBrand?: string | undefined;
|
|
918
|
+
language?: string | undefined;
|
|
917
919
|
}, {
|
|
918
920
|
destination: string;
|
|
919
921
|
dataLimitInGb: number;
|
|
@@ -925,6 +927,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
|
|
|
925
927
|
referenceId?: string | undefined;
|
|
926
928
|
networkBrand?: string | undefined;
|
|
927
929
|
emailBrand?: string | undefined;
|
|
930
|
+
language?: string | undefined;
|
|
928
931
|
}>>;
|
|
929
932
|
/**
|
|
930
933
|
*
|
|
@@ -939,6 +942,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
|
|
|
939
942
|
* @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
|
|
940
943
|
* @property {string} - Customize the network brand of the issued eSIM. The `networkBrand` parameter cannot exceed 15 characters in length and must contain only letters, numbers, dots (.), ampersands (&), and spaces. This feature is available to platforms with Diamond tier only.
|
|
941
944
|
* @property {string} - Customize the email subject brand. The `emailBrand` parameter cannot exceed 25 characters in length and must contain only letters, numbers, and spaces. This feature is available to platforms with Diamond tier only.
|
|
945
|
+
* @property {CreatePurchaseV2RequestLanguage} - Language of the confirmation email sent to the customer.
|
|
942
946
|
*/
|
|
943
947
|
type CreatePurchaseV2Request = z.infer<typeof createPurchaseV2Request>;
|
|
944
948
|
|
|
@@ -1205,6 +1209,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
|
|
|
1205
1209
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
1206
1210
|
networkBrand: z.ZodOptional<z.ZodString>;
|
|
1207
1211
|
emailBrand: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1208
1213
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
1209
1214
|
endTime: z.ZodOptional<z.ZodNumber>;
|
|
1210
1215
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1216,6 +1221,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
|
|
|
1216
1221
|
referenceId?: string | undefined;
|
|
1217
1222
|
networkBrand?: string | undefined;
|
|
1218
1223
|
emailBrand?: string | undefined;
|
|
1224
|
+
language?: string | undefined;
|
|
1219
1225
|
startTime?: number | undefined;
|
|
1220
1226
|
endTime?: number | undefined;
|
|
1221
1227
|
}, {
|
|
@@ -1227,6 +1233,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
|
|
|
1227
1233
|
referenceId?: string | undefined;
|
|
1228
1234
|
networkBrand?: string | undefined;
|
|
1229
1235
|
emailBrand?: string | undefined;
|
|
1236
|
+
language?: string | undefined;
|
|
1230
1237
|
startTime?: number | undefined;
|
|
1231
1238
|
endTime?: number | undefined;
|
|
1232
1239
|
}>>;
|
|
@@ -1241,6 +1248,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
|
|
|
1241
1248
|
* @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
|
|
1242
1249
|
* @property {string} - Customize the network brand of the issued eSIM. The `networkBrand` parameter cannot exceed 15 characters in length and must contain only letters, numbers, dots (.), ampersands (&), and spaces. This feature is available to platforms with Diamond tier only.
|
|
1243
1250
|
* @property {string} - Customize the email subject brand. The `emailBrand` parameter cannot exceed 25 characters in length and must contain only letters, numbers, and spaces. This feature is available to platforms with Diamond tier only.
|
|
1251
|
+
* @property {CreatePurchaseRequestLanguage} - Language of the confirmation email sent to the customer.
|
|
1244
1252
|
* @property {number} - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months.
|
|
1245
1253
|
* @property {number} - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
|
|
1246
1254
|
*/
|
|
@@ -1678,6 +1686,14 @@ declare const createPurchaseV2OkResponseProfile: z.ZodLazy<z.ZodObject<{
|
|
|
1678
1686
|
*/
|
|
1679
1687
|
type CreatePurchaseV2OkResponseProfile = z.infer<typeof createPurchaseV2OkResponseProfile>;
|
|
1680
1688
|
|
|
1689
|
+
declare enum CreatePurchaseV2RequestLanguage {
|
|
1690
|
+
EN = "en",
|
|
1691
|
+
ES = "es",
|
|
1692
|
+
FR = "fr",
|
|
1693
|
+
DE = "de",
|
|
1694
|
+
PT_BR = "pt-br"
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1681
1697
|
/**
|
|
1682
1698
|
* Zod schema for the Purchases model.
|
|
1683
1699
|
* Defines the structure and validation rules for this data type.
|
|
@@ -1927,6 +1943,14 @@ declare const createPurchaseOkResponseProfile: z.ZodLazy<z.ZodObject<{
|
|
|
1927
1943
|
*/
|
|
1928
1944
|
type CreatePurchaseOkResponseProfile = z.infer<typeof createPurchaseOkResponseProfile>;
|
|
1929
1945
|
|
|
1946
|
+
declare enum CreatePurchaseRequestLanguage {
|
|
1947
|
+
EN = "en",
|
|
1948
|
+
ES = "es",
|
|
1949
|
+
FR = "fr",
|
|
1950
|
+
DE = "de",
|
|
1951
|
+
PT_BR = "pt-br"
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1930
1954
|
/**
|
|
1931
1955
|
* Zod schema for the TopUpEsimOkResponsePurchase model.
|
|
1932
1956
|
* Defines the structure and validation rules for this data type.
|
|
@@ -2468,4 +2492,4 @@ declare class Celitech {
|
|
|
2468
2492
|
set accessToken(accessToken: string);
|
|
2469
2493
|
}
|
|
2470
2494
|
|
|
2471
|
-
export { BadRequest, Celitech, CreatePurchaseOkResponse, CreatePurchaseOkResponseProfile, CreatePurchaseOkResponsePurchase, CreatePurchaseRequest, CreatePurchaseV2OkResponse, CreatePurchaseV2OkResponseProfile, CreatePurchaseV2OkResponsePurchase, CreatePurchaseV2Request, Destinations, DestinationsService, Device, ESimService, EditPurchaseOkResponse, EditPurchaseRequest, Environment, GetAccessTokenOkResponse, GetAccessTokenRequest, GetEsimDeviceOkResponse, GetEsimHistoryOkResponse, GetEsimHistoryOkResponseEsim, GetEsimOkResponse, GetEsimOkResponseEsim, GetPurchaseConsumptionOkResponse, GrantType, History, HttpError, HttpMetadata, HttpMethod, HttpResponse, IFrameService, ListDestinationsOkResponse, ListPackagesOkResponse, ListPurchasesOkResponse, OAuthService, Package_, Packages, PackagesService, Purchases, PurchasesEsim, PurchasesService, RequestConfig, RetryOptions, SdkConfig, TokenOkResponse, TopUpEsimOkResponse, TopUpEsimOkResponseProfile, TopUpEsimOkResponsePurchase, TopUpEsimRequest, Unauthorized, ValidationOptions };
|
|
2495
|
+
export { BadRequest, Celitech, CreatePurchaseOkResponse, CreatePurchaseOkResponseProfile, CreatePurchaseOkResponsePurchase, CreatePurchaseRequest, CreatePurchaseRequestLanguage, CreatePurchaseV2OkResponse, CreatePurchaseV2OkResponseProfile, CreatePurchaseV2OkResponsePurchase, CreatePurchaseV2Request, CreatePurchaseV2RequestLanguage, Destinations, DestinationsService, Device, ESimService, EditPurchaseOkResponse, EditPurchaseRequest, Environment, GetAccessTokenOkResponse, GetAccessTokenRequest, GetEsimDeviceOkResponse, GetEsimHistoryOkResponse, GetEsimHistoryOkResponseEsim, GetEsimOkResponse, GetEsimOkResponseEsim, GetPurchaseConsumptionOkResponse, GrantType, History, HttpError, HttpMetadata, HttpMethod, HttpResponse, IFrameService, ListDestinationsOkResponse, ListPackagesOkResponse, ListPurchasesOkResponse, OAuthService, Package_, Packages, PackagesService, Purchases, PurchasesEsim, PurchasesService, RequestConfig, RetryOptions, SdkConfig, TokenOkResponse, TopUpEsimOkResponse, TopUpEsimOkResponseProfile, TopUpEsimOkResponsePurchase, TopUpEsimRequest, Unauthorized, ValidationOptions };
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var src_exports = {};
|
|
32
32
|
__export(src_exports, {
|
|
33
33
|
Celitech: () => Celitech,
|
|
34
|
+
CreatePurchaseRequestLanguage: () => CreatePurchaseRequestLanguage,
|
|
35
|
+
CreatePurchaseV2RequestLanguage: () => CreatePurchaseV2RequestLanguage,
|
|
34
36
|
DestinationsService: () => DestinationsService,
|
|
35
37
|
ESimService: () => ESimService,
|
|
36
38
|
Environment: () => Environment,
|
|
@@ -2505,7 +2507,8 @@ var createPurchaseV2Request = import_zod14.z.lazy(() => {
|
|
|
2505
2507
|
email: import_zod14.z.string().optional(),
|
|
2506
2508
|
referenceId: import_zod14.z.string().optional(),
|
|
2507
2509
|
networkBrand: import_zod14.z.string().optional(),
|
|
2508
|
-
emailBrand: import_zod14.z.string().optional()
|
|
2510
|
+
emailBrand: import_zod14.z.string().optional(),
|
|
2511
|
+
language: import_zod14.z.string().optional()
|
|
2509
2512
|
});
|
|
2510
2513
|
});
|
|
2511
2514
|
var createPurchaseV2RequestResponse = import_zod14.z.lazy(() => {
|
|
@@ -2519,7 +2522,8 @@ var createPurchaseV2RequestResponse = import_zod14.z.lazy(() => {
|
|
|
2519
2522
|
email: import_zod14.z.string().optional(),
|
|
2520
2523
|
referenceId: import_zod14.z.string().optional(),
|
|
2521
2524
|
networkBrand: import_zod14.z.string().optional(),
|
|
2522
|
-
emailBrand: import_zod14.z.string().optional()
|
|
2525
|
+
emailBrand: import_zod14.z.string().optional(),
|
|
2526
|
+
language: import_zod14.z.string().optional()
|
|
2523
2527
|
}).transform((data) => ({
|
|
2524
2528
|
destination: data["destination"],
|
|
2525
2529
|
dataLimitInGb: data["dataLimitInGB"],
|
|
@@ -2530,7 +2534,8 @@ var createPurchaseV2RequestResponse = import_zod14.z.lazy(() => {
|
|
|
2530
2534
|
email: data["email"],
|
|
2531
2535
|
referenceId: data["referenceId"],
|
|
2532
2536
|
networkBrand: data["networkBrand"],
|
|
2533
|
-
emailBrand: data["emailBrand"]
|
|
2537
|
+
emailBrand: data["emailBrand"],
|
|
2538
|
+
language: data["language"]
|
|
2534
2539
|
}));
|
|
2535
2540
|
});
|
|
2536
2541
|
var createPurchaseV2RequestRequest = import_zod14.z.lazy(() => {
|
|
@@ -2544,7 +2549,8 @@ var createPurchaseV2RequestRequest = import_zod14.z.lazy(() => {
|
|
|
2544
2549
|
email: import_zod14.z.string().optional(),
|
|
2545
2550
|
referenceId: import_zod14.z.string().optional(),
|
|
2546
2551
|
networkBrand: import_zod14.z.string().optional(),
|
|
2547
|
-
emailBrand: import_zod14.z.string().optional()
|
|
2552
|
+
emailBrand: import_zod14.z.string().optional(),
|
|
2553
|
+
language: import_zod14.z.string().optional()
|
|
2548
2554
|
}).transform((data) => ({
|
|
2549
2555
|
destination: data["destination"],
|
|
2550
2556
|
dataLimitInGB: data["dataLimitInGb"],
|
|
@@ -2555,7 +2561,8 @@ var createPurchaseV2RequestRequest = import_zod14.z.lazy(() => {
|
|
|
2555
2561
|
email: data["email"],
|
|
2556
2562
|
referenceId: data["referenceId"],
|
|
2557
2563
|
networkBrand: data["networkBrand"],
|
|
2558
|
-
emailBrand: data["emailBrand"]
|
|
2564
|
+
emailBrand: data["emailBrand"],
|
|
2565
|
+
language: data["language"]
|
|
2559
2566
|
}));
|
|
2560
2567
|
});
|
|
2561
2568
|
|
|
@@ -2861,6 +2868,7 @@ var createPurchaseRequest = import_zod22.z.lazy(() => {
|
|
|
2861
2868
|
referenceId: import_zod22.z.string().optional(),
|
|
2862
2869
|
networkBrand: import_zod22.z.string().optional(),
|
|
2863
2870
|
emailBrand: import_zod22.z.string().optional(),
|
|
2871
|
+
language: import_zod22.z.string().optional(),
|
|
2864
2872
|
startTime: import_zod22.z.number().optional(),
|
|
2865
2873
|
endTime: import_zod22.z.number().optional()
|
|
2866
2874
|
});
|
|
@@ -2875,6 +2883,7 @@ var createPurchaseRequestResponse = import_zod22.z.lazy(() => {
|
|
|
2875
2883
|
referenceId: import_zod22.z.string().optional(),
|
|
2876
2884
|
networkBrand: import_zod22.z.string().optional(),
|
|
2877
2885
|
emailBrand: import_zod22.z.string().optional(),
|
|
2886
|
+
language: import_zod22.z.string().optional(),
|
|
2878
2887
|
startTime: import_zod22.z.number().optional(),
|
|
2879
2888
|
endTime: import_zod22.z.number().optional()
|
|
2880
2889
|
}).transform((data) => ({
|
|
@@ -2886,6 +2895,7 @@ var createPurchaseRequestResponse = import_zod22.z.lazy(() => {
|
|
|
2886
2895
|
referenceId: data["referenceId"],
|
|
2887
2896
|
networkBrand: data["networkBrand"],
|
|
2888
2897
|
emailBrand: data["emailBrand"],
|
|
2898
|
+
language: data["language"],
|
|
2889
2899
|
startTime: data["startTime"],
|
|
2890
2900
|
endTime: data["endTime"]
|
|
2891
2901
|
}));
|
|
@@ -2900,6 +2910,7 @@ var createPurchaseRequestRequest = import_zod22.z.lazy(() => {
|
|
|
2900
2910
|
referenceId: import_zod22.z.string().optional(),
|
|
2901
2911
|
networkBrand: import_zod22.z.string().optional(),
|
|
2902
2912
|
emailBrand: import_zod22.z.string().optional(),
|
|
2913
|
+
language: import_zod22.z.string().optional(),
|
|
2903
2914
|
startTime: import_zod22.z.number().optional(),
|
|
2904
2915
|
endTime: import_zod22.z.number().optional()
|
|
2905
2916
|
}).transform((data) => ({
|
|
@@ -2911,6 +2922,7 @@ var createPurchaseRequestRequest = import_zod22.z.lazy(() => {
|
|
|
2911
2922
|
referenceId: data["referenceId"],
|
|
2912
2923
|
networkBrand: data["networkBrand"],
|
|
2913
2924
|
emailBrand: data["emailBrand"],
|
|
2925
|
+
language: data["language"],
|
|
2914
2926
|
startTime: data["startTime"],
|
|
2915
2927
|
endTime: data["endTime"]
|
|
2916
2928
|
}));
|
|
@@ -3496,6 +3508,26 @@ var PurchasesService = class extends BaseService {
|
|
|
3496
3508
|
}
|
|
3497
3509
|
};
|
|
3498
3510
|
|
|
3511
|
+
// src/services/purchases/models/create-purchase-v2-request-language.ts
|
|
3512
|
+
var CreatePurchaseV2RequestLanguage = /* @__PURE__ */ ((CreatePurchaseV2RequestLanguage2) => {
|
|
3513
|
+
CreatePurchaseV2RequestLanguage2["EN"] = "en";
|
|
3514
|
+
CreatePurchaseV2RequestLanguage2["ES"] = "es";
|
|
3515
|
+
CreatePurchaseV2RequestLanguage2["FR"] = "fr";
|
|
3516
|
+
CreatePurchaseV2RequestLanguage2["DE"] = "de";
|
|
3517
|
+
CreatePurchaseV2RequestLanguage2["PT_BR"] = "pt-br";
|
|
3518
|
+
return CreatePurchaseV2RequestLanguage2;
|
|
3519
|
+
})(CreatePurchaseV2RequestLanguage || {});
|
|
3520
|
+
|
|
3521
|
+
// src/services/purchases/models/create-purchase-request-language.ts
|
|
3522
|
+
var CreatePurchaseRequestLanguage = /* @__PURE__ */ ((CreatePurchaseRequestLanguage2) => {
|
|
3523
|
+
CreatePurchaseRequestLanguage2["EN"] = "en";
|
|
3524
|
+
CreatePurchaseRequestLanguage2["ES"] = "es";
|
|
3525
|
+
CreatePurchaseRequestLanguage2["FR"] = "fr";
|
|
3526
|
+
CreatePurchaseRequestLanguage2["DE"] = "de";
|
|
3527
|
+
CreatePurchaseRequestLanguage2["PT_BR"] = "pt-br";
|
|
3528
|
+
return CreatePurchaseRequestLanguage2;
|
|
3529
|
+
})(CreatePurchaseRequestLanguage || {});
|
|
3530
|
+
|
|
3499
3531
|
// src/services/e-sim/e-sim-service.ts
|
|
3500
3532
|
var import_zod41 = require("zod");
|
|
3501
3533
|
|
|
@@ -3914,6 +3946,8 @@ var Celitech = class {
|
|
|
3914
3946
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3915
3947
|
0 && (module.exports = {
|
|
3916
3948
|
Celitech,
|
|
3949
|
+
CreatePurchaseRequestLanguage,
|
|
3950
|
+
CreatePurchaseV2RequestLanguage,
|
|
3917
3951
|
DestinationsService,
|
|
3918
3952
|
ESimService,
|
|
3919
3953
|
Environment,
|
package/dist/index.mjs
CHANGED
|
@@ -2461,7 +2461,8 @@ var createPurchaseV2Request = z12.lazy(() => {
|
|
|
2461
2461
|
email: z12.string().optional(),
|
|
2462
2462
|
referenceId: z12.string().optional(),
|
|
2463
2463
|
networkBrand: z12.string().optional(),
|
|
2464
|
-
emailBrand: z12.string().optional()
|
|
2464
|
+
emailBrand: z12.string().optional(),
|
|
2465
|
+
language: z12.string().optional()
|
|
2465
2466
|
});
|
|
2466
2467
|
});
|
|
2467
2468
|
var createPurchaseV2RequestResponse = z12.lazy(() => {
|
|
@@ -2475,7 +2476,8 @@ var createPurchaseV2RequestResponse = z12.lazy(() => {
|
|
|
2475
2476
|
email: z12.string().optional(),
|
|
2476
2477
|
referenceId: z12.string().optional(),
|
|
2477
2478
|
networkBrand: z12.string().optional(),
|
|
2478
|
-
emailBrand: z12.string().optional()
|
|
2479
|
+
emailBrand: z12.string().optional(),
|
|
2480
|
+
language: z12.string().optional()
|
|
2479
2481
|
}).transform((data) => ({
|
|
2480
2482
|
destination: data["destination"],
|
|
2481
2483
|
dataLimitInGb: data["dataLimitInGB"],
|
|
@@ -2486,7 +2488,8 @@ var createPurchaseV2RequestResponse = z12.lazy(() => {
|
|
|
2486
2488
|
email: data["email"],
|
|
2487
2489
|
referenceId: data["referenceId"],
|
|
2488
2490
|
networkBrand: data["networkBrand"],
|
|
2489
|
-
emailBrand: data["emailBrand"]
|
|
2491
|
+
emailBrand: data["emailBrand"],
|
|
2492
|
+
language: data["language"]
|
|
2490
2493
|
}));
|
|
2491
2494
|
});
|
|
2492
2495
|
var createPurchaseV2RequestRequest = z12.lazy(() => {
|
|
@@ -2500,7 +2503,8 @@ var createPurchaseV2RequestRequest = z12.lazy(() => {
|
|
|
2500
2503
|
email: z12.string().optional(),
|
|
2501
2504
|
referenceId: z12.string().optional(),
|
|
2502
2505
|
networkBrand: z12.string().optional(),
|
|
2503
|
-
emailBrand: z12.string().optional()
|
|
2506
|
+
emailBrand: z12.string().optional(),
|
|
2507
|
+
language: z12.string().optional()
|
|
2504
2508
|
}).transform((data) => ({
|
|
2505
2509
|
destination: data["destination"],
|
|
2506
2510
|
dataLimitInGB: data["dataLimitInGb"],
|
|
@@ -2511,7 +2515,8 @@ var createPurchaseV2RequestRequest = z12.lazy(() => {
|
|
|
2511
2515
|
email: data["email"],
|
|
2512
2516
|
referenceId: data["referenceId"],
|
|
2513
2517
|
networkBrand: data["networkBrand"],
|
|
2514
|
-
emailBrand: data["emailBrand"]
|
|
2518
|
+
emailBrand: data["emailBrand"],
|
|
2519
|
+
language: data["language"]
|
|
2515
2520
|
}));
|
|
2516
2521
|
});
|
|
2517
2522
|
|
|
@@ -2817,6 +2822,7 @@ var createPurchaseRequest = z20.lazy(() => {
|
|
|
2817
2822
|
referenceId: z20.string().optional(),
|
|
2818
2823
|
networkBrand: z20.string().optional(),
|
|
2819
2824
|
emailBrand: z20.string().optional(),
|
|
2825
|
+
language: z20.string().optional(),
|
|
2820
2826
|
startTime: z20.number().optional(),
|
|
2821
2827
|
endTime: z20.number().optional()
|
|
2822
2828
|
});
|
|
@@ -2831,6 +2837,7 @@ var createPurchaseRequestResponse = z20.lazy(() => {
|
|
|
2831
2837
|
referenceId: z20.string().optional(),
|
|
2832
2838
|
networkBrand: z20.string().optional(),
|
|
2833
2839
|
emailBrand: z20.string().optional(),
|
|
2840
|
+
language: z20.string().optional(),
|
|
2834
2841
|
startTime: z20.number().optional(),
|
|
2835
2842
|
endTime: z20.number().optional()
|
|
2836
2843
|
}).transform((data) => ({
|
|
@@ -2842,6 +2849,7 @@ var createPurchaseRequestResponse = z20.lazy(() => {
|
|
|
2842
2849
|
referenceId: data["referenceId"],
|
|
2843
2850
|
networkBrand: data["networkBrand"],
|
|
2844
2851
|
emailBrand: data["emailBrand"],
|
|
2852
|
+
language: data["language"],
|
|
2845
2853
|
startTime: data["startTime"],
|
|
2846
2854
|
endTime: data["endTime"]
|
|
2847
2855
|
}));
|
|
@@ -2856,6 +2864,7 @@ var createPurchaseRequestRequest = z20.lazy(() => {
|
|
|
2856
2864
|
referenceId: z20.string().optional(),
|
|
2857
2865
|
networkBrand: z20.string().optional(),
|
|
2858
2866
|
emailBrand: z20.string().optional(),
|
|
2867
|
+
language: z20.string().optional(),
|
|
2859
2868
|
startTime: z20.number().optional(),
|
|
2860
2869
|
endTime: z20.number().optional()
|
|
2861
2870
|
}).transform((data) => ({
|
|
@@ -2867,6 +2876,7 @@ var createPurchaseRequestRequest = z20.lazy(() => {
|
|
|
2867
2876
|
referenceId: data["referenceId"],
|
|
2868
2877
|
networkBrand: data["networkBrand"],
|
|
2869
2878
|
emailBrand: data["emailBrand"],
|
|
2879
|
+
language: data["language"],
|
|
2870
2880
|
startTime: data["startTime"],
|
|
2871
2881
|
endTime: data["endTime"]
|
|
2872
2882
|
}));
|
|
@@ -3452,6 +3462,26 @@ var PurchasesService = class extends BaseService {
|
|
|
3452
3462
|
}
|
|
3453
3463
|
};
|
|
3454
3464
|
|
|
3465
|
+
// src/services/purchases/models/create-purchase-v2-request-language.ts
|
|
3466
|
+
var CreatePurchaseV2RequestLanguage = /* @__PURE__ */ ((CreatePurchaseV2RequestLanguage2) => {
|
|
3467
|
+
CreatePurchaseV2RequestLanguage2["EN"] = "en";
|
|
3468
|
+
CreatePurchaseV2RequestLanguage2["ES"] = "es";
|
|
3469
|
+
CreatePurchaseV2RequestLanguage2["FR"] = "fr";
|
|
3470
|
+
CreatePurchaseV2RequestLanguage2["DE"] = "de";
|
|
3471
|
+
CreatePurchaseV2RequestLanguage2["PT_BR"] = "pt-br";
|
|
3472
|
+
return CreatePurchaseV2RequestLanguage2;
|
|
3473
|
+
})(CreatePurchaseV2RequestLanguage || {});
|
|
3474
|
+
|
|
3475
|
+
// src/services/purchases/models/create-purchase-request-language.ts
|
|
3476
|
+
var CreatePurchaseRequestLanguage = /* @__PURE__ */ ((CreatePurchaseRequestLanguage2) => {
|
|
3477
|
+
CreatePurchaseRequestLanguage2["EN"] = "en";
|
|
3478
|
+
CreatePurchaseRequestLanguage2["ES"] = "es";
|
|
3479
|
+
CreatePurchaseRequestLanguage2["FR"] = "fr";
|
|
3480
|
+
CreatePurchaseRequestLanguage2["DE"] = "de";
|
|
3481
|
+
CreatePurchaseRequestLanguage2["PT_BR"] = "pt-br";
|
|
3482
|
+
return CreatePurchaseRequestLanguage2;
|
|
3483
|
+
})(CreatePurchaseRequestLanguage || {});
|
|
3484
|
+
|
|
3455
3485
|
// src/services/e-sim/e-sim-service.ts
|
|
3456
3486
|
import { z as z39 } from "zod";
|
|
3457
3487
|
|
|
@@ -3869,6 +3899,8 @@ var Celitech = class {
|
|
|
3869
3899
|
};
|
|
3870
3900
|
export {
|
|
3871
3901
|
Celitech,
|
|
3902
|
+
CreatePurchaseRequestLanguage,
|
|
3903
|
+
CreatePurchaseV2RequestLanguage,
|
|
3872
3904
|
DestinationsService,
|
|
3873
3905
|
ESimService,
|
|
3874
3906
|
Environment,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "celitech-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.64",
|
|
4
4
|
"description": "Welcome to the CELITECH API documentation! Useful links: [Homepage](https://www.celitech.com) | [Support email](mailto:support@celitech.com) | [Blog](https://www.celitech.com/blog/)",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./dist/index.js",
|