celitech-sdk 1.3.57 → 1.3.58
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 +13 -30
- package/dist/index.d.ts +36 -257
- package/dist/index.js +544 -1141
- package/dist/index.mjs +544 -1141
- 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.58
|
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.58`
|
10
|
+
- SDK version: `1.3.58`
|
11
11
|
|
12
12
|
## About the API
|
13
13
|
|
@@ -130,48 +130,31 @@ The SDK includes several models that represent the data structures used in API r
|
|
130
130
|
| Name | Description |
|
131
131
|
| :------------------------------------------------------------------------------------------- | :---------- |
|
132
132
|
| [ListDestinationsOkResponse](documentation/models/ListDestinationsOkResponse.md) | |
|
133
|
-
| [
|
134
|
-
| [
|
133
|
+
| [BadRequest](documentation/models/BadRequest.md) | |
|
134
|
+
| [Unauthorized](documentation/models/Unauthorized.md) | |
|
135
135
|
| [ListPackagesOkResponse](documentation/models/ListPackagesOkResponse.md) | |
|
136
|
-
| [
|
137
|
-
| [
|
136
|
+
| [BadRequest](documentation/models/BadRequest.md) | |
|
137
|
+
| [Unauthorized](documentation/models/Unauthorized.md) | |
|
138
138
|
| [CreatePurchaseV2Request](documentation/models/CreatePurchaseV2Request.md) | |
|
139
139
|
| [CreatePurchaseV2OkResponse](documentation/models/CreatePurchaseV2OkResponse.md) | |
|
140
|
-
| [
|
141
|
-
| [
|
140
|
+
| [BadRequest](documentation/models/BadRequest.md) | |
|
141
|
+
| [Unauthorized](documentation/models/Unauthorized.md) | |
|
142
142
|
| [ListPurchasesOkResponse](documentation/models/ListPurchasesOkResponse.md) | |
|
143
|
-
| [\_6](documentation/models/_6.md) | |
|
144
|
-
| [\_7](documentation/models/_7.md) | |
|
145
143
|
| [CreatePurchaseRequest](documentation/models/CreatePurchaseRequest.md) | |
|
146
144
|
| [CreatePurchaseOkResponse](documentation/models/CreatePurchaseOkResponse.md) | |
|
147
|
-
| [\_8](documentation/models/_8.md) | |
|
148
|
-
| [\_9](documentation/models/_9.md) | |
|
149
145
|
| [TopUpEsimRequest](documentation/models/TopUpEsimRequest.md) | |
|
150
146
|
| [TopUpEsimOkResponse](documentation/models/TopUpEsimOkResponse.md) | |
|
151
|
-
| [\_10](documentation/models/_10.md) | |
|
152
|
-
| [\_11](documentation/models/_11.md) | |
|
153
147
|
| [EditPurchaseRequest](documentation/models/EditPurchaseRequest.md) | |
|
154
148
|
| [EditPurchaseOkResponse](documentation/models/EditPurchaseOkResponse.md) | |
|
155
|
-
| [\_12](documentation/models/_12.md) | |
|
156
|
-
| [\_13](documentation/models/_13.md) | |
|
157
149
|
| [GetPurchaseConsumptionOkResponse](documentation/models/GetPurchaseConsumptionOkResponse.md) | |
|
158
|
-
| [\_14](documentation/models/_14.md) | |
|
159
|
-
| [\_15](documentation/models/_15.md) | |
|
160
150
|
| [GetEsimOkResponse](documentation/models/GetEsimOkResponse.md) | |
|
161
|
-
| [
|
162
|
-
| [
|
151
|
+
| [BadRequest](documentation/models/BadRequest.md) | |
|
152
|
+
| [Unauthorized](documentation/models/Unauthorized.md) | |
|
163
153
|
| [GetEsimDeviceOkResponse](documentation/models/GetEsimDeviceOkResponse.md) | |
|
164
|
-
| [\_18](documentation/models/_18.md) | |
|
165
|
-
| [\_19](documentation/models/_19.md) | |
|
166
154
|
| [GetEsimHistoryOkResponse](documentation/models/GetEsimHistoryOkResponse.md) | |
|
167
|
-
| [\_20](documentation/models/_20.md) | |
|
168
|
-
| [\_21](documentation/models/_21.md) | |
|
169
|
-
| [GetEsimMacOkResponse](documentation/models/GetEsimMacOkResponse.md) | |
|
170
|
-
| [\_22](documentation/models/_22.md) | |
|
171
|
-
| [\_23](documentation/models/_23.md) | |
|
172
155
|
| [TokenOkResponse](documentation/models/TokenOkResponse.md) | |
|
173
|
-
| [
|
174
|
-
| [
|
156
|
+
| [BadRequest](documentation/models/BadRequest.md) | |
|
157
|
+
| [Unauthorized](documentation/models/Unauthorized.md) | |
|
175
158
|
|
176
159
|
</details>
|
177
160
|
|
package/dist/index.d.ts
CHANGED
@@ -323,20 +323,6 @@ declare const destinations: z.ZodLazy<z.ZodObject<{
|
|
323
323
|
*/
|
324
324
|
type Destinations = z.infer<typeof destinations>;
|
325
325
|
|
326
|
-
declare class __ extends ThrowableError {
|
327
|
-
message: string;
|
328
|
-
protected response?: unknown;
|
329
|
-
constructor(message: string, response?: unknown);
|
330
|
-
throw(): void;
|
331
|
-
}
|
332
|
-
|
333
|
-
declare class _1 extends ThrowableError {
|
334
|
-
message: string;
|
335
|
-
protected response?: unknown;
|
336
|
-
constructor(message: string, response?: unknown);
|
337
|
-
throw(): void;
|
338
|
-
}
|
339
|
-
|
340
326
|
/**
|
341
327
|
* The shape of the model inside the application code - what the users use
|
342
328
|
*/
|
@@ -467,20 +453,6 @@ declare const packages: z.ZodLazy<z.ZodObject<{
|
|
467
453
|
*/
|
468
454
|
type Packages = z.infer<typeof packages>;
|
469
455
|
|
470
|
-
declare class _2 extends ThrowableError {
|
471
|
-
message: string;
|
472
|
-
protected response?: unknown;
|
473
|
-
constructor(message: string, response?: unknown);
|
474
|
-
throw(): void;
|
475
|
-
}
|
476
|
-
|
477
|
-
declare class _3 extends ThrowableError {
|
478
|
-
message: string;
|
479
|
-
protected response?: unknown;
|
480
|
-
constructor(message: string, response?: unknown);
|
481
|
-
throw(): void;
|
482
|
-
}
|
483
|
-
|
484
456
|
/**
|
485
457
|
* The shape of the model inside the application code - what the users use
|
486
458
|
*/
|
@@ -1128,10 +1100,17 @@ declare class PurchasesService extends BaseService {
|
|
1128
1100
|
*/
|
1129
1101
|
topUpEsim(body: TopUpEsimRequest, requestConfig?: RequestConfig): Promise<HttpResponse<TopUpEsimOkResponse>>;
|
1130
1102
|
/**
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1103
|
+
* This endpoint allows you to modify the validity dates of an existing purchase.
|
1104
|
+
**Behavior:**
|
1105
|
+
- If the purchase has **not yet been activated**, both the start and end dates can be updated.
|
1106
|
+
- If the purchase is **already active**, only the **end date** can be updated, while the **start date must remain unchanged** (and should be passed as originally set).
|
1107
|
+
- Updates must comply with the same pricing structure; the modification cannot alter the package size or change its duration category.
|
1108
|
+
|
1109
|
+
The end date can be extended or shortened as long as it adheres to the same pricing category and does not exceed the allowed duration limits.
|
1110
|
+
|
1111
|
+
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
1112
|
+
* @returns {Promise<HttpResponse<EditPurchaseOkResponse>>} Successful Response
|
1113
|
+
*/
|
1135
1114
|
editPurchase(body: EditPurchaseRequest, requestConfig?: RequestConfig): Promise<HttpResponse<EditPurchaseOkResponse>>;
|
1136
1115
|
/**
|
1137
1116
|
* This endpoint can be called for consumption notifications (e.g. every 1 hour or when the user clicks a button). It returns the data balance (consumption) of purchased packages.
|
@@ -1476,90 +1455,6 @@ declare const topUpEsimOkResponseProfile: z.ZodLazy<z.ZodObject<{
|
|
1476
1455
|
*/
|
1477
1456
|
type TopUpEsimOkResponseProfile = z.infer<typeof topUpEsimOkResponseProfile>;
|
1478
1457
|
|
1479
|
-
declare class _4 extends ThrowableError {
|
1480
|
-
message: string;
|
1481
|
-
protected response?: unknown;
|
1482
|
-
constructor(message: string, response?: unknown);
|
1483
|
-
throw(): void;
|
1484
|
-
}
|
1485
|
-
|
1486
|
-
declare class _5 extends ThrowableError {
|
1487
|
-
message: string;
|
1488
|
-
protected response?: unknown;
|
1489
|
-
constructor(message: string, response?: unknown);
|
1490
|
-
throw(): void;
|
1491
|
-
}
|
1492
|
-
|
1493
|
-
declare class _6 extends ThrowableError {
|
1494
|
-
message: string;
|
1495
|
-
protected response?: unknown;
|
1496
|
-
constructor(message: string, response?: unknown);
|
1497
|
-
throw(): void;
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
declare class _7 extends ThrowableError {
|
1501
|
-
message: string;
|
1502
|
-
protected response?: unknown;
|
1503
|
-
constructor(message: string, response?: unknown);
|
1504
|
-
throw(): void;
|
1505
|
-
}
|
1506
|
-
|
1507
|
-
declare class _8 extends ThrowableError {
|
1508
|
-
message: string;
|
1509
|
-
protected response?: unknown;
|
1510
|
-
constructor(message: string, response?: unknown);
|
1511
|
-
throw(): void;
|
1512
|
-
}
|
1513
|
-
|
1514
|
-
declare class _9 extends ThrowableError {
|
1515
|
-
message: string;
|
1516
|
-
protected response?: unknown;
|
1517
|
-
constructor(message: string, response?: unknown);
|
1518
|
-
throw(): void;
|
1519
|
-
}
|
1520
|
-
|
1521
|
-
declare class _10 extends ThrowableError {
|
1522
|
-
message: string;
|
1523
|
-
protected response?: unknown;
|
1524
|
-
constructor(message: string, response?: unknown);
|
1525
|
-
throw(): void;
|
1526
|
-
}
|
1527
|
-
|
1528
|
-
declare class _11 extends ThrowableError {
|
1529
|
-
message: string;
|
1530
|
-
protected response?: unknown;
|
1531
|
-
constructor(message: string, response?: unknown);
|
1532
|
-
throw(): void;
|
1533
|
-
}
|
1534
|
-
|
1535
|
-
declare class _12 extends ThrowableError {
|
1536
|
-
message: string;
|
1537
|
-
protected response?: unknown;
|
1538
|
-
constructor(message: string, response?: unknown);
|
1539
|
-
throw(): void;
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
declare class _13 extends ThrowableError {
|
1543
|
-
message: string;
|
1544
|
-
protected response?: unknown;
|
1545
|
-
constructor(message: string, response?: unknown);
|
1546
|
-
throw(): void;
|
1547
|
-
}
|
1548
|
-
|
1549
|
-
declare class _14 extends ThrowableError {
|
1550
|
-
message: string;
|
1551
|
-
protected response?: unknown;
|
1552
|
-
constructor(message: string, response?: unknown);
|
1553
|
-
throw(): void;
|
1554
|
-
}
|
1555
|
-
|
1556
|
-
declare class _15 extends ThrowableError {
|
1557
|
-
message: string;
|
1558
|
-
protected response?: unknown;
|
1559
|
-
constructor(message: string, response?: unknown);
|
1560
|
-
throw(): void;
|
1561
|
-
}
|
1562
|
-
|
1563
1458
|
/**
|
1564
1459
|
* The shape of the model inside the application code - what the users use
|
1565
1460
|
*/
|
@@ -1567,18 +1462,21 @@ declare const getEsimOkResponse: z.ZodLazy<z.ZodObject<{
|
|
1567
1462
|
esim: z.ZodLazy<z.ZodObject<{
|
1568
1463
|
iccid: z.ZodString;
|
1569
1464
|
smdpAddress: z.ZodString;
|
1465
|
+
activationCode: z.ZodString;
|
1570
1466
|
manualActivationCode: z.ZodString;
|
1571
1467
|
status: z.ZodString;
|
1572
1468
|
isTopUpAllowed: z.ZodBoolean;
|
1573
1469
|
}, "strip", z.ZodTypeAny, {
|
1574
1470
|
status: string;
|
1575
1471
|
iccid: string;
|
1472
|
+
activationCode: string;
|
1576
1473
|
manualActivationCode: string;
|
1577
1474
|
smdpAddress: string;
|
1578
1475
|
isTopUpAllowed: boolean;
|
1579
1476
|
}, {
|
1580
1477
|
status: string;
|
1581
1478
|
iccid: string;
|
1479
|
+
activationCode: string;
|
1582
1480
|
manualActivationCode: string;
|
1583
1481
|
smdpAddress: string;
|
1584
1482
|
isTopUpAllowed: boolean;
|
@@ -1587,6 +1485,7 @@ declare const getEsimOkResponse: z.ZodLazy<z.ZodObject<{
|
|
1587
1485
|
esim: {
|
1588
1486
|
status: string;
|
1589
1487
|
iccid: string;
|
1488
|
+
activationCode: string;
|
1590
1489
|
manualActivationCode: string;
|
1591
1490
|
smdpAddress: string;
|
1592
1491
|
isTopUpAllowed: boolean;
|
@@ -1595,6 +1494,7 @@ declare const getEsimOkResponse: z.ZodLazy<z.ZodObject<{
|
|
1595
1494
|
esim: {
|
1596
1495
|
status: string;
|
1597
1496
|
iccid: string;
|
1497
|
+
activationCode: string;
|
1598
1498
|
manualActivationCode: string;
|
1599
1499
|
smdpAddress: string;
|
1600
1500
|
isTopUpAllowed: boolean;
|
@@ -1713,46 +1613,9 @@ declare const getEsimHistoryOkResponse: z.ZodLazy<z.ZodObject<{
|
|
1713
1613
|
*/
|
1714
1614
|
type GetEsimHistoryOkResponse = z.infer<typeof getEsimHistoryOkResponse>;
|
1715
1615
|
|
1716
|
-
/**
|
1717
|
-
* The shape of the model inside the application code - what the users use
|
1718
|
-
*/
|
1719
|
-
declare const getEsimMacOkResponse: z.ZodLazy<z.ZodObject<{
|
1720
|
-
esim: z.ZodLazy<z.ZodObject<{
|
1721
|
-
iccid: z.ZodString;
|
1722
|
-
smdpAddress: z.ZodString;
|
1723
|
-
manualActivationCode: z.ZodString;
|
1724
|
-
}, "strip", z.ZodTypeAny, {
|
1725
|
-
iccid: string;
|
1726
|
-
manualActivationCode: string;
|
1727
|
-
smdpAddress: string;
|
1728
|
-
}, {
|
1729
|
-
iccid: string;
|
1730
|
-
manualActivationCode: string;
|
1731
|
-
smdpAddress: string;
|
1732
|
-
}>>;
|
1733
|
-
}, "strip", z.ZodTypeAny, {
|
1734
|
-
esim: {
|
1735
|
-
iccid: string;
|
1736
|
-
manualActivationCode: string;
|
1737
|
-
smdpAddress: string;
|
1738
|
-
};
|
1739
|
-
}, {
|
1740
|
-
esim: {
|
1741
|
-
iccid: string;
|
1742
|
-
manualActivationCode: string;
|
1743
|
-
smdpAddress: string;
|
1744
|
-
};
|
1745
|
-
}>>;
|
1746
|
-
/**
|
1747
|
-
*
|
1748
|
-
* @typedef {GetEsimMacOkResponse} getEsimMacOkResponse
|
1749
|
-
* @property {GetEsimMacOkResponseEsim}
|
1750
|
-
*/
|
1751
|
-
type GetEsimMacOkResponse = z.infer<typeof getEsimMacOkResponse>;
|
1752
|
-
|
1753
1616
|
declare class ESimService extends BaseService {
|
1754
1617
|
/**
|
1755
|
-
* Get eSIM
|
1618
|
+
* Get eSIM
|
1756
1619
|
* @param {string} iccid - ID of the eSIM
|
1757
1620
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
1758
1621
|
* @returns {Promise<HttpResponse<GetEsimOkResponse>>} Successful Response
|
@@ -1772,13 +1635,6 @@ declare class ESimService extends BaseService {
|
|
1772
1635
|
* @returns {Promise<HttpResponse<GetEsimHistoryOkResponse>>} Successful Response
|
1773
1636
|
*/
|
1774
1637
|
getEsimHistory(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimHistoryOkResponse>>;
|
1775
|
-
/**
|
1776
|
-
* Get eSIM MAC
|
1777
|
-
* @param {string} iccid - ID of the eSIM
|
1778
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
1779
|
-
* @returns {Promise<HttpResponse<GetEsimMacOkResponse>>} Successful Response
|
1780
|
-
*/
|
1781
|
-
getEsimMac(iccid: string, requestConfig?: RequestConfig): Promise<HttpResponse<GetEsimMacOkResponse>>;
|
1782
1638
|
}
|
1783
1639
|
|
1784
1640
|
/**
|
@@ -1787,18 +1643,21 @@ declare class ESimService extends BaseService {
|
|
1787
1643
|
declare const getEsimOkResponseEsim: z.ZodLazy<z.ZodObject<{
|
1788
1644
|
iccid: z.ZodString;
|
1789
1645
|
smdpAddress: z.ZodString;
|
1646
|
+
activationCode: z.ZodString;
|
1790
1647
|
manualActivationCode: z.ZodString;
|
1791
1648
|
status: z.ZodString;
|
1792
1649
|
isTopUpAllowed: z.ZodBoolean;
|
1793
1650
|
}, "strip", z.ZodTypeAny, {
|
1794
1651
|
status: string;
|
1795
1652
|
iccid: string;
|
1653
|
+
activationCode: string;
|
1796
1654
|
manualActivationCode: string;
|
1797
1655
|
smdpAddress: string;
|
1798
1656
|
isTopUpAllowed: boolean;
|
1799
1657
|
}, {
|
1800
1658
|
status: string;
|
1801
1659
|
iccid: string;
|
1660
|
+
activationCode: string;
|
1802
1661
|
manualActivationCode: string;
|
1803
1662
|
smdpAddress: string;
|
1804
1663
|
isTopUpAllowed: boolean;
|
@@ -1808,6 +1667,7 @@ declare const getEsimOkResponseEsim: z.ZodLazy<z.ZodObject<{
|
|
1808
1667
|
* @typedef {GetEsimOkResponseEsim} getEsimOkResponseEsim
|
1809
1668
|
* @property {string} - ID of the eSIM
|
1810
1669
|
* @property {string} - SM-DP+ Address
|
1670
|
+
* @property {string} - QR Code of the eSIM as base64
|
1811
1671
|
* @property {string} - The manual activation code
|
1812
1672
|
* @property {string} - Status of the eSIM, possible values are 'RELEASED', 'DOWNLOADED', 'INSTALLED', 'ENABLED', 'DELETED', or 'ERROR'
|
1813
1673
|
* @property {boolean} - Indicates whether the eSIM is currently eligible for a top-up. This flag should be checked before attempting a top-up request.
|
@@ -1909,87 +1769,6 @@ declare const history: z.ZodLazy<z.ZodObject<{
|
|
1909
1769
|
*/
|
1910
1770
|
type History = z.infer<typeof history>;
|
1911
1771
|
|
1912
|
-
/**
|
1913
|
-
* The shape of the model inside the application code - what the users use
|
1914
|
-
*/
|
1915
|
-
declare const getEsimMacOkResponseEsim: z.ZodLazy<z.ZodObject<{
|
1916
|
-
iccid: z.ZodString;
|
1917
|
-
smdpAddress: z.ZodString;
|
1918
|
-
manualActivationCode: z.ZodString;
|
1919
|
-
}, "strip", z.ZodTypeAny, {
|
1920
|
-
iccid: string;
|
1921
|
-
manualActivationCode: string;
|
1922
|
-
smdpAddress: string;
|
1923
|
-
}, {
|
1924
|
-
iccid: string;
|
1925
|
-
manualActivationCode: string;
|
1926
|
-
smdpAddress: string;
|
1927
|
-
}>>;
|
1928
|
-
/**
|
1929
|
-
*
|
1930
|
-
* @typedef {GetEsimMacOkResponseEsim} getEsimMacOkResponseEsim
|
1931
|
-
* @property {string} - ID of the eSIM
|
1932
|
-
* @property {string} - SM-DP+ Address
|
1933
|
-
* @property {string} - The manual activation code
|
1934
|
-
*/
|
1935
|
-
type GetEsimMacOkResponseEsim = z.infer<typeof getEsimMacOkResponseEsim>;
|
1936
|
-
|
1937
|
-
declare class _16 extends ThrowableError {
|
1938
|
-
message: string;
|
1939
|
-
protected response?: unknown;
|
1940
|
-
constructor(message: string, response?: unknown);
|
1941
|
-
throw(): void;
|
1942
|
-
}
|
1943
|
-
|
1944
|
-
declare class _17 extends ThrowableError {
|
1945
|
-
message: string;
|
1946
|
-
protected response?: unknown;
|
1947
|
-
constructor(message: string, response?: unknown);
|
1948
|
-
throw(): void;
|
1949
|
-
}
|
1950
|
-
|
1951
|
-
declare class _18 extends ThrowableError {
|
1952
|
-
message: string;
|
1953
|
-
protected response?: unknown;
|
1954
|
-
constructor(message: string, response?: unknown);
|
1955
|
-
throw(): void;
|
1956
|
-
}
|
1957
|
-
|
1958
|
-
declare class _19 extends ThrowableError {
|
1959
|
-
message: string;
|
1960
|
-
protected response?: unknown;
|
1961
|
-
constructor(message: string, response?: unknown);
|
1962
|
-
throw(): void;
|
1963
|
-
}
|
1964
|
-
|
1965
|
-
declare class _20 extends ThrowableError {
|
1966
|
-
message: string;
|
1967
|
-
protected response?: unknown;
|
1968
|
-
constructor(message: string, response?: unknown);
|
1969
|
-
throw(): void;
|
1970
|
-
}
|
1971
|
-
|
1972
|
-
declare class _21 extends ThrowableError {
|
1973
|
-
message: string;
|
1974
|
-
protected response?: unknown;
|
1975
|
-
constructor(message: string, response?: unknown);
|
1976
|
-
throw(): void;
|
1977
|
-
}
|
1978
|
-
|
1979
|
-
declare class _22 extends ThrowableError {
|
1980
|
-
message: string;
|
1981
|
-
protected response?: unknown;
|
1982
|
-
constructor(message: string, response?: unknown);
|
1983
|
-
throw(): void;
|
1984
|
-
}
|
1985
|
-
|
1986
|
-
declare class _23 extends ThrowableError {
|
1987
|
-
message: string;
|
1988
|
-
protected response?: unknown;
|
1989
|
-
constructor(message: string, response?: unknown);
|
1990
|
-
throw(): void;
|
1991
|
-
}
|
1992
|
-
|
1993
1772
|
/**
|
1994
1773
|
* The shape of the model inside the application code - what the users use
|
1995
1774
|
*/
|
@@ -2016,20 +1795,6 @@ declare class IFrameService extends BaseService {
|
|
2016
1795
|
token(requestConfig?: RequestConfig): Promise<HttpResponse<TokenOkResponse>>;
|
2017
1796
|
}
|
2018
1797
|
|
2019
|
-
declare class _24 extends ThrowableError {
|
2020
|
-
message: string;
|
2021
|
-
protected response?: unknown;
|
2022
|
-
constructor(message: string, response?: unknown);
|
2023
|
-
throw(): void;
|
2024
|
-
}
|
2025
|
-
|
2026
|
-
declare class _25 extends ThrowableError {
|
2027
|
-
message: string;
|
2028
|
-
protected response?: unknown;
|
2029
|
-
constructor(message: string, response?: unknown);
|
2030
|
-
throw(): void;
|
2031
|
-
}
|
2032
|
-
|
2033
1798
|
/**
|
2034
1799
|
* The shape of the model inside the application code - what the users use
|
2035
1800
|
*/
|
@@ -2093,6 +1858,20 @@ declare enum GrantType {
|
|
2093
1858
|
CLIENT_CREDENTIALS = "client_credentials"
|
2094
1859
|
}
|
2095
1860
|
|
1861
|
+
declare class BadRequest extends ThrowableError {
|
1862
|
+
message: string;
|
1863
|
+
protected response?: unknown;
|
1864
|
+
constructor(message: string, response?: unknown);
|
1865
|
+
throw(): void;
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
declare class Unauthorized extends ThrowableError {
|
1869
|
+
message: string;
|
1870
|
+
protected response?: unknown;
|
1871
|
+
constructor(message: string, response?: unknown);
|
1872
|
+
throw(): void;
|
1873
|
+
}
|
1874
|
+
|
2096
1875
|
declare class Celitech {
|
2097
1876
|
config: SdkConfig;
|
2098
1877
|
readonly destinations: DestinationsService;
|
@@ -2111,4 +1890,4 @@ declare class Celitech {
|
|
2111
1890
|
set accessToken(accessToken: string);
|
2112
1891
|
}
|
2113
1892
|
|
2114
|
-
export { Celitech, CreatePurchaseOkResponse, CreatePurchaseOkResponseProfile, CreatePurchaseOkResponsePurchase, CreatePurchaseRequest, CreatePurchaseV2OkResponse, CreatePurchaseV2OkResponseProfile, CreatePurchaseV2OkResponsePurchase, CreatePurchaseV2Request, Destinations, DestinationsService, Device, ESimService, EditPurchaseOkResponse, EditPurchaseRequest, Environment, GetAccessTokenOkResponse, GetAccessTokenRequest, GetEsimDeviceOkResponse, GetEsimHistoryOkResponse, GetEsimHistoryOkResponseEsim,
|
1893
|
+
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 };
|