celitech-sdk 1.3.43 → 1.3.46
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 +7 -10
- package/dist/index.d.ts +143 -169
- package/dist/index.js +72 -75
- package/dist/index.mjs +72 -75
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1139,14 +1139,14 @@ var RequestBuilder = class {
|
|
1139
1139
|
baseUrl: "https://api.celitech.net/v1" /* DEFAULT */,
|
1140
1140
|
method: "GET",
|
1141
1141
|
path: "",
|
1142
|
-
config: {
|
1142
|
+
config: {},
|
1143
1143
|
responses: [],
|
1144
1144
|
errors: [],
|
1145
1145
|
requestSchema: import_zod3.default.any(),
|
1146
1146
|
requestContentType: "json" /* Json */,
|
1147
1147
|
retry: {
|
1148
|
-
attempts:
|
1149
|
-
delayMs:
|
1148
|
+
attempts: 3,
|
1149
|
+
delayMs: 150
|
1150
1150
|
},
|
1151
1151
|
validation: {
|
1152
1152
|
responseValidation: true
|
@@ -1755,13 +1755,6 @@ var PackagesService = class extends BaseService {
|
|
1755
1755
|
* @param {string} [params.destination] - ISO representation of the package's destination.
|
1756
1756
|
* @param {string} [params.startDate] - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
|
1757
1757
|
* @param {string} [params.endDate] - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
|
1758
|
-
* @param {number} [params.dataLimitInGb] - Size of the package in GB.
|
1759
|
-
|
1760
|
-
For **limited packages**, the available options are: **0.5, 1, 2, 3, 5, 8, 20GB**.
|
1761
|
-
|
1762
|
-
For **unlimited packages** (available to Region-3), please use **-1** as an identifier.
|
1763
|
-
|
1764
|
-
* @param {boolean} [params.includeUnlimited] - A boolean flag to include the **unlimited packages** in the response. The flag is false by default.
|
1765
1758
|
* @param {string} [params.afterCursor] - To get the next batch of results, use this parameter. It tells the API where to start fetching data after the last item you received. It helps you avoid repeats and efficiently browse through large sets of data.
|
1766
1759
|
* @param {number} [params.limit] - Maximum number of packages to be returned in the response. The value must be greater than 0 and less than or equal to 160. If not provided, the default value is 20
|
1767
1760
|
* @param {number} [params.startTime] - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months
|
@@ -1792,12 +1785,6 @@ var PackagesService = class extends BaseService {
|
|
1792
1785
|
}).addQueryParam({
|
1793
1786
|
key: "endDate",
|
1794
1787
|
value: params == null ? void 0 : params.endDate
|
1795
|
-
}).addQueryParam({
|
1796
|
-
key: "dataLimitInGB",
|
1797
|
-
value: params == null ? void 0 : params.dataLimitInGb
|
1798
|
-
}).addQueryParam({
|
1799
|
-
key: "includeUnlimited",
|
1800
|
-
value: params == null ? void 0 : params.includeUnlimited
|
1801
1788
|
}).addQueryParam({
|
1802
1789
|
key: "afterCursor",
|
1803
1790
|
value: params == null ? void 0 : params.afterCursor
|
@@ -1827,6 +1814,8 @@ var createPurchaseV2Request = import_zod16.z.lazy(() => {
|
|
1827
1814
|
return import_zod16.z.object({
|
1828
1815
|
destination: import_zod16.z.string(),
|
1829
1816
|
dataLimitInGb: import_zod16.z.number(),
|
1817
|
+
startDate: import_zod16.z.string(),
|
1818
|
+
endDate: import_zod16.z.string(),
|
1830
1819
|
quantity: import_zod16.z.number().gte(1).lte(5),
|
1831
1820
|
email: import_zod16.z.string().optional(),
|
1832
1821
|
referenceId: import_zod16.z.string().optional(),
|
@@ -1838,6 +1827,8 @@ var createPurchaseV2RequestResponse = import_zod16.z.lazy(() => {
|
|
1838
1827
|
return import_zod16.z.object({
|
1839
1828
|
destination: import_zod16.z.string(),
|
1840
1829
|
dataLimitInGB: import_zod16.z.number(),
|
1830
|
+
startDate: import_zod16.z.string(),
|
1831
|
+
endDate: import_zod16.z.string(),
|
1841
1832
|
quantity: import_zod16.z.number().gte(1).lte(5),
|
1842
1833
|
email: import_zod16.z.string().optional(),
|
1843
1834
|
referenceId: import_zod16.z.string().optional(),
|
@@ -1846,6 +1837,8 @@ var createPurchaseV2RequestResponse = import_zod16.z.lazy(() => {
|
|
1846
1837
|
}).transform((data) => ({
|
1847
1838
|
destination: data["destination"],
|
1848
1839
|
dataLimitInGb: data["dataLimitInGB"],
|
1840
|
+
startDate: data["startDate"],
|
1841
|
+
endDate: data["endDate"],
|
1849
1842
|
quantity: data["quantity"],
|
1850
1843
|
email: data["email"],
|
1851
1844
|
referenceId: data["referenceId"],
|
@@ -1857,6 +1850,8 @@ var createPurchaseV2RequestRequest = import_zod16.z.lazy(() => {
|
|
1857
1850
|
return import_zod16.z.object({
|
1858
1851
|
destination: import_zod16.z.string(),
|
1859
1852
|
dataLimitInGb: import_zod16.z.number(),
|
1853
|
+
startDate: import_zod16.z.string(),
|
1854
|
+
endDate: import_zod16.z.string(),
|
1860
1855
|
quantity: import_zod16.z.number().gte(1).lte(5),
|
1861
1856
|
email: import_zod16.z.string().optional(),
|
1862
1857
|
referenceId: import_zod16.z.string().optional(),
|
@@ -1865,6 +1860,8 @@ var createPurchaseV2RequestRequest = import_zod16.z.lazy(() => {
|
|
1865
1860
|
}).transform((data) => ({
|
1866
1861
|
destination: data["destination"],
|
1867
1862
|
dataLimitInGB: data["dataLimitInGb"],
|
1863
|
+
startDate: data["startDate"],
|
1864
|
+
endDate: data["endDate"],
|
1868
1865
|
quantity: data["quantity"],
|
1869
1866
|
email: data["email"],
|
1870
1867
|
referenceId: data["referenceId"],
|
@@ -2084,12 +2081,11 @@ var purchasesEsimRequest = import_zod23.z.lazy(() => {
|
|
2084
2081
|
var purchases = import_zod24.z.lazy(() => {
|
2085
2082
|
return import_zod24.z.object({
|
2086
2083
|
id: import_zod24.z.string().optional(),
|
2087
|
-
startDate: import_zod24.z.string().optional()
|
2088
|
-
endDate: import_zod24.z.string().optional()
|
2089
|
-
duration: import_zod24.z.number().optional().nullable(),
|
2084
|
+
startDate: import_zod24.z.string().optional(),
|
2085
|
+
endDate: import_zod24.z.string().optional(),
|
2090
2086
|
createdDate: import_zod24.z.string().optional(),
|
2091
|
-
startTime: import_zod24.z.number().optional()
|
2092
|
-
endTime: import_zod24.z.number().optional()
|
2087
|
+
startTime: import_zod24.z.number().optional(),
|
2088
|
+
endTime: import_zod24.z.number().optional(),
|
2093
2089
|
createdAt: import_zod24.z.number().optional(),
|
2094
2090
|
package: package_.optional(),
|
2095
2091
|
esim: purchasesEsim.optional(),
|
@@ -2101,12 +2097,11 @@ var purchases = import_zod24.z.lazy(() => {
|
|
2101
2097
|
var purchasesResponse = import_zod24.z.lazy(() => {
|
2102
2098
|
return import_zod24.z.object({
|
2103
2099
|
id: import_zod24.z.string().optional(),
|
2104
|
-
startDate: import_zod24.z.string().optional()
|
2105
|
-
endDate: import_zod24.z.string().optional()
|
2106
|
-
duration: import_zod24.z.number().optional().nullable(),
|
2100
|
+
startDate: import_zod24.z.string().optional(),
|
2101
|
+
endDate: import_zod24.z.string().optional(),
|
2107
2102
|
createdDate: import_zod24.z.string().optional(),
|
2108
|
-
startTime: import_zod24.z.number().optional()
|
2109
|
-
endTime: import_zod24.z.number().optional()
|
2103
|
+
startTime: import_zod24.z.number().optional(),
|
2104
|
+
endTime: import_zod24.z.number().optional(),
|
2110
2105
|
createdAt: import_zod24.z.number().optional(),
|
2111
2106
|
package: packageResponse.optional(),
|
2112
2107
|
esim: purchasesEsimResponse.optional(),
|
@@ -2117,7 +2112,6 @@ var purchasesResponse = import_zod24.z.lazy(() => {
|
|
2117
2112
|
id: data["id"],
|
2118
2113
|
startDate: data["startDate"],
|
2119
2114
|
endDate: data["endDate"],
|
2120
|
-
duration: data["duration"],
|
2121
2115
|
createdDate: data["createdDate"],
|
2122
2116
|
startTime: data["startTime"],
|
2123
2117
|
endTime: data["endTime"],
|
@@ -2132,12 +2126,11 @@ var purchasesResponse = import_zod24.z.lazy(() => {
|
|
2132
2126
|
var purchasesRequest = import_zod24.z.lazy(() => {
|
2133
2127
|
return import_zod24.z.object({
|
2134
2128
|
id: import_zod24.z.string().optional(),
|
2135
|
-
startDate: import_zod24.z.string().optional()
|
2136
|
-
endDate: import_zod24.z.string().optional()
|
2137
|
-
duration: import_zod24.z.number().optional().nullable(),
|
2129
|
+
startDate: import_zod24.z.string().optional(),
|
2130
|
+
endDate: import_zod24.z.string().optional(),
|
2138
2131
|
createdDate: import_zod24.z.string().optional(),
|
2139
|
-
startTime: import_zod24.z.number().optional()
|
2140
|
-
endTime: import_zod24.z.number().optional()
|
2132
|
+
startTime: import_zod24.z.number().optional(),
|
2133
|
+
endTime: import_zod24.z.number().optional(),
|
2141
2134
|
createdAt: import_zod24.z.number().optional(),
|
2142
2135
|
package: packageRequest.optional(),
|
2143
2136
|
esim: purchasesEsimRequest.optional(),
|
@@ -2148,7 +2141,6 @@ var purchasesRequest = import_zod24.z.lazy(() => {
|
|
2148
2141
|
id: data["id"],
|
2149
2142
|
startDate: data["startDate"],
|
2150
2143
|
endDate: data["endDate"],
|
2151
|
-
duration: data["duration"],
|
2152
2144
|
createdDate: data["createdDate"],
|
2153
2145
|
startTime: data["startTime"],
|
2154
2146
|
endTime: data["endTime"],
|
@@ -2307,22 +2299,22 @@ var createPurchaseOkResponsePurchase = import_zod29.z.lazy(() => {
|
|
2307
2299
|
return import_zod29.z.object({
|
2308
2300
|
id: import_zod29.z.string().optional(),
|
2309
2301
|
packageId: import_zod29.z.string().optional(),
|
2310
|
-
startDate: import_zod29.z.string().optional()
|
2311
|
-
endDate: import_zod29.z.string().optional()
|
2302
|
+
startDate: import_zod29.z.string().optional(),
|
2303
|
+
endDate: import_zod29.z.string().optional(),
|
2312
2304
|
createdDate: import_zod29.z.string().optional(),
|
2313
|
-
startTime: import_zod29.z.number().optional()
|
2314
|
-
endTime: import_zod29.z.number().optional()
|
2305
|
+
startTime: import_zod29.z.number().optional(),
|
2306
|
+
endTime: import_zod29.z.number().optional()
|
2315
2307
|
});
|
2316
2308
|
});
|
2317
2309
|
var createPurchaseOkResponsePurchaseResponse = import_zod29.z.lazy(() => {
|
2318
2310
|
return import_zod29.z.object({
|
2319
2311
|
id: import_zod29.z.string().optional(),
|
2320
2312
|
packageId: import_zod29.z.string().optional(),
|
2321
|
-
startDate: import_zod29.z.string().optional()
|
2322
|
-
endDate: import_zod29.z.string().optional()
|
2313
|
+
startDate: import_zod29.z.string().optional(),
|
2314
|
+
endDate: import_zod29.z.string().optional(),
|
2323
2315
|
createdDate: import_zod29.z.string().optional(),
|
2324
|
-
startTime: import_zod29.z.number().optional()
|
2325
|
-
endTime: import_zod29.z.number().optional()
|
2316
|
+
startTime: import_zod29.z.number().optional(),
|
2317
|
+
endTime: import_zod29.z.number().optional()
|
2326
2318
|
}).transform((data) => ({
|
2327
2319
|
id: data["id"],
|
2328
2320
|
packageId: data["packageId"],
|
@@ -2337,11 +2329,11 @@ var createPurchaseOkResponsePurchaseRequest = import_zod29.z.lazy(() => {
|
|
2337
2329
|
return import_zod29.z.object({
|
2338
2330
|
id: import_zod29.z.string().optional(),
|
2339
2331
|
packageId: import_zod29.z.string().optional(),
|
2340
|
-
startDate: import_zod29.z.string().optional()
|
2341
|
-
endDate: import_zod29.z.string().optional()
|
2332
|
+
startDate: import_zod29.z.string().optional(),
|
2333
|
+
endDate: import_zod29.z.string().optional(),
|
2342
2334
|
createdDate: import_zod29.z.string().optional(),
|
2343
|
-
startTime: import_zod29.z.number().optional()
|
2344
|
-
endTime: import_zod29.z.number().optional()
|
2335
|
+
startTime: import_zod29.z.number().optional(),
|
2336
|
+
endTime: import_zod29.z.number().optional()
|
2345
2337
|
}).transform((data) => ({
|
2346
2338
|
id: data["id"],
|
2347
2339
|
packageId: data["packageId"],
|
@@ -2461,6 +2453,8 @@ var topUpEsimRequest = import_zod34.z.lazy(() => {
|
|
2461
2453
|
return import_zod34.z.object({
|
2462
2454
|
iccid: import_zod34.z.string().min(18).max(22),
|
2463
2455
|
dataLimitInGb: import_zod34.z.number(),
|
2456
|
+
startDate: import_zod34.z.string(),
|
2457
|
+
endDate: import_zod34.z.string(),
|
2464
2458
|
email: import_zod34.z.string().optional(),
|
2465
2459
|
referenceId: import_zod34.z.string().optional(),
|
2466
2460
|
emailBrand: import_zod34.z.string().optional(),
|
@@ -2472,6 +2466,8 @@ var topUpEsimRequestResponse = import_zod34.z.lazy(() => {
|
|
2472
2466
|
return import_zod34.z.object({
|
2473
2467
|
iccid: import_zod34.z.string().min(18).max(22),
|
2474
2468
|
dataLimitInGB: import_zod34.z.number(),
|
2469
|
+
startDate: import_zod34.z.string(),
|
2470
|
+
endDate: import_zod34.z.string(),
|
2475
2471
|
email: import_zod34.z.string().optional(),
|
2476
2472
|
referenceId: import_zod34.z.string().optional(),
|
2477
2473
|
emailBrand: import_zod34.z.string().optional(),
|
@@ -2480,6 +2476,8 @@ var topUpEsimRequestResponse = import_zod34.z.lazy(() => {
|
|
2480
2476
|
}).transform((data) => ({
|
2481
2477
|
iccid: data["iccid"],
|
2482
2478
|
dataLimitInGb: data["dataLimitInGB"],
|
2479
|
+
startDate: data["startDate"],
|
2480
|
+
endDate: data["endDate"],
|
2483
2481
|
email: data["email"],
|
2484
2482
|
referenceId: data["referenceId"],
|
2485
2483
|
emailBrand: data["emailBrand"],
|
@@ -2491,6 +2489,8 @@ var topUpEsimRequestRequest = import_zod34.z.lazy(() => {
|
|
2491
2489
|
return import_zod34.z.object({
|
2492
2490
|
iccid: import_zod34.z.string().min(18).max(22),
|
2493
2491
|
dataLimitInGb: import_zod34.z.number(),
|
2492
|
+
startDate: import_zod34.z.string(),
|
2493
|
+
endDate: import_zod34.z.string(),
|
2494
2494
|
email: import_zod34.z.string().optional(),
|
2495
2495
|
referenceId: import_zod34.z.string().optional(),
|
2496
2496
|
emailBrand: import_zod34.z.string().optional(),
|
@@ -2499,6 +2499,8 @@ var topUpEsimRequestRequest = import_zod34.z.lazy(() => {
|
|
2499
2499
|
}).transform((data) => ({
|
2500
2500
|
iccid: data["iccid"],
|
2501
2501
|
dataLimitInGB: data["dataLimitInGb"],
|
2502
|
+
startDate: data["startDate"],
|
2503
|
+
endDate: data["endDate"],
|
2502
2504
|
email: data["email"],
|
2503
2505
|
referenceId: data["referenceId"],
|
2504
2506
|
emailBrand: data["emailBrand"],
|
@@ -2516,30 +2518,27 @@ var topUpEsimOkResponsePurchase = import_zod35.z.lazy(() => {
|
|
2516
2518
|
return import_zod35.z.object({
|
2517
2519
|
id: import_zod35.z.string().optional(),
|
2518
2520
|
packageId: import_zod35.z.string().optional(),
|
2519
|
-
startDate: import_zod35.z.string().optional()
|
2520
|
-
endDate: import_zod35.z.string().optional()
|
2521
|
-
duration: import_zod35.z.number().optional().nullable(),
|
2521
|
+
startDate: import_zod35.z.string().optional(),
|
2522
|
+
endDate: import_zod35.z.string().optional(),
|
2522
2523
|
createdDate: import_zod35.z.string().optional(),
|
2523
|
-
startTime: import_zod35.z.number().optional()
|
2524
|
-
endTime: import_zod35.z.number().optional()
|
2524
|
+
startTime: import_zod35.z.number().optional(),
|
2525
|
+
endTime: import_zod35.z.number().optional()
|
2525
2526
|
});
|
2526
2527
|
});
|
2527
2528
|
var topUpEsimOkResponsePurchaseResponse = import_zod35.z.lazy(() => {
|
2528
2529
|
return import_zod35.z.object({
|
2529
2530
|
id: import_zod35.z.string().optional(),
|
2530
2531
|
packageId: import_zod35.z.string().optional(),
|
2531
|
-
startDate: import_zod35.z.string().optional()
|
2532
|
-
endDate: import_zod35.z.string().optional()
|
2533
|
-
duration: import_zod35.z.number().optional().nullable(),
|
2532
|
+
startDate: import_zod35.z.string().optional(),
|
2533
|
+
endDate: import_zod35.z.string().optional(),
|
2534
2534
|
createdDate: import_zod35.z.string().optional(),
|
2535
|
-
startTime: import_zod35.z.number().optional()
|
2536
|
-
endTime: import_zod35.z.number().optional()
|
2535
|
+
startTime: import_zod35.z.number().optional(),
|
2536
|
+
endTime: import_zod35.z.number().optional()
|
2537
2537
|
}).transform((data) => ({
|
2538
2538
|
id: data["id"],
|
2539
2539
|
packageId: data["packageId"],
|
2540
2540
|
startDate: data["startDate"],
|
2541
2541
|
endDate: data["endDate"],
|
2542
|
-
duration: data["duration"],
|
2543
2542
|
createdDate: data["createdDate"],
|
2544
2543
|
startTime: data["startTime"],
|
2545
2544
|
endTime: data["endTime"]
|
@@ -2549,18 +2548,16 @@ var topUpEsimOkResponsePurchaseRequest = import_zod35.z.lazy(() => {
|
|
2549
2548
|
return import_zod35.z.object({
|
2550
2549
|
id: import_zod35.z.string().optional(),
|
2551
2550
|
packageId: import_zod35.z.string().optional(),
|
2552
|
-
startDate: import_zod35.z.string().optional()
|
2553
|
-
endDate: import_zod35.z.string().optional()
|
2554
|
-
duration: import_zod35.z.number().optional().nullable(),
|
2551
|
+
startDate: import_zod35.z.string().optional(),
|
2552
|
+
endDate: import_zod35.z.string().optional(),
|
2555
2553
|
createdDate: import_zod35.z.string().optional(),
|
2556
|
-
startTime: import_zod35.z.number().optional()
|
2557
|
-
endTime: import_zod35.z.number().optional()
|
2554
|
+
startTime: import_zod35.z.number().optional(),
|
2555
|
+
endTime: import_zod35.z.number().optional()
|
2558
2556
|
}).transform((data) => ({
|
2559
2557
|
id: data["id"],
|
2560
2558
|
packageId: data["packageId"],
|
2561
2559
|
startDate: data["startDate"],
|
2562
2560
|
endDate: data["endDate"],
|
2563
|
-
duration: data["duration"],
|
2564
2561
|
createdDate: data["createdDate"],
|
2565
2562
|
startTime: data["startTime"],
|
2566
2563
|
endTime: data["endTime"]
|
@@ -2706,19 +2703,19 @@ var import_zod41 = require("zod");
|
|
2706
2703
|
var editPurchaseOkResponse = import_zod41.z.lazy(() => {
|
2707
2704
|
return import_zod41.z.object({
|
2708
2705
|
purchaseId: import_zod41.z.string().optional(),
|
2709
|
-
newStartDate: import_zod41.z.string().optional()
|
2710
|
-
newEndDate: import_zod41.z.string().optional()
|
2711
|
-
newStartTime: import_zod41.z.number().optional()
|
2712
|
-
newEndTime: import_zod41.z.number().optional()
|
2706
|
+
newStartDate: import_zod41.z.string().optional(),
|
2707
|
+
newEndDate: import_zod41.z.string().optional(),
|
2708
|
+
newStartTime: import_zod41.z.number().optional(),
|
2709
|
+
newEndTime: import_zod41.z.number().optional()
|
2713
2710
|
});
|
2714
2711
|
});
|
2715
2712
|
var editPurchaseOkResponseResponse = import_zod41.z.lazy(() => {
|
2716
2713
|
return import_zod41.z.object({
|
2717
2714
|
purchaseId: import_zod41.z.string().optional(),
|
2718
|
-
newStartDate: import_zod41.z.string().optional()
|
2719
|
-
newEndDate: import_zod41.z.string().optional()
|
2720
|
-
newStartTime: import_zod41.z.number().optional()
|
2721
|
-
newEndTime: import_zod41.z.number().optional()
|
2715
|
+
newStartDate: import_zod41.z.string().optional(),
|
2716
|
+
newEndDate: import_zod41.z.string().optional(),
|
2717
|
+
newStartTime: import_zod41.z.number().optional(),
|
2718
|
+
newEndTime: import_zod41.z.number().optional()
|
2722
2719
|
}).transform((data) => ({
|
2723
2720
|
purchaseId: data["purchaseId"],
|
2724
2721
|
newStartDate: data["newStartDate"],
|
@@ -2730,10 +2727,10 @@ var editPurchaseOkResponseResponse = import_zod41.z.lazy(() => {
|
|
2730
2727
|
var editPurchaseOkResponseRequest = import_zod41.z.lazy(() => {
|
2731
2728
|
return import_zod41.z.object({
|
2732
2729
|
purchaseId: import_zod41.z.string().optional(),
|
2733
|
-
newStartDate: import_zod41.z.string().optional()
|
2734
|
-
newEndDate: import_zod41.z.string().optional()
|
2735
|
-
newStartTime: import_zod41.z.number().optional()
|
2736
|
-
newEndTime: import_zod41.z.number().optional()
|
2730
|
+
newStartDate: import_zod41.z.string().optional(),
|
2731
|
+
newEndDate: import_zod41.z.string().optional(),
|
2732
|
+
newStartTime: import_zod41.z.number().optional(),
|
2733
|
+
newEndTime: import_zod41.z.number().optional()
|
2737
2734
|
}).transform((data) => ({
|
2738
2735
|
purchaseId: data["purchaseId"],
|
2739
2736
|
newStartDate: data["newStartDate"],
|
@@ -2977,7 +2974,7 @@ var PurchasesService = class extends BaseService {
|
|
2977
2974
|
return this.client.call(request);
|
2978
2975
|
}
|
2979
2976
|
/**
|
2980
|
-
* This endpoint allows you to modify the dates of an existing package with a future activation start time. Editing can only be performed for packages that have not been activated, and it cannot change the package size. The modification must not change the package duration category to ensure pricing consistency.
|
2977
|
+
* This endpoint allows you to modify the dates of an existing package with a future activation start time. Editing can only be performed for packages that have not been activated, and it cannot change the package size. The modification must not change the package duration category to ensure pricing consistency.
|
2981
2978
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
2982
2979
|
* @returns {Promise<HttpResponse<EditPurchaseOkResponse>>} Successful Response
|
2983
2980
|
*/
|