celitech-sdk 1.3.57 → 1.3.59
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 +41 -52
- package/dist/index.d.ts +144 -365
- package/dist/index.js +544 -1141
- package/dist/index.mjs +544 -1141
- package/package.json +3 -2
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Celitech TypeScript SDK 1.3.
|
1
|
+
# Celitech TypeScript SDK 1.3.59
|
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.59`
|
10
|
+
- SDK version: `1.3.59`
|
11
11
|
|
12
12
|
## About the API
|
13
13
|
|
@@ -37,12 +37,18 @@ This SDK is compatible with the following versions: `TypeScript >= 4.8.4`
|
|
37
37
|
|
38
38
|
## Installation
|
39
39
|
|
40
|
-
To get started with the SDK, we recommend installing using `npm`:
|
40
|
+
To get started with the SDK, we recommend installing using `npm` or `yarn`:
|
41
41
|
|
42
42
|
```bash
|
43
43
|
npm install celitech-sdk
|
44
44
|
```
|
45
45
|
|
46
|
+
or
|
47
|
+
|
48
|
+
```bash
|
49
|
+
yarn add celitech-sdk
|
50
|
+
```
|
51
|
+
|
46
52
|
## Authentication
|
47
53
|
|
48
54
|
### OAuth Authentication
|
@@ -112,11 +118,11 @@ The SDK provides various services to interact with the API.
|
|
112
118
|
|
113
119
|
| Name |
|
114
120
|
| :------------------------------------------------------------------- |
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
| DestinationsService |
|
122
|
+
| PackagesService |
|
123
|
+
| PurchasesService |
|
124
|
+
| ESimService |
|
125
|
+
| IFrameService |
|
120
126
|
|
121
127
|
</details>
|
122
128
|
|
@@ -129,49 +135,32 @@ The SDK includes several models that represent the data structures used in API r
|
|
129
135
|
|
130
136
|
| Name | Description |
|
131
137
|
| :------------------------------------------------------------------------------------------- | :---------- |
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
| [\_14](documentation/models/_14.md) | |
|
159
|
-
| [\_15](documentation/models/_15.md) | |
|
160
|
-
| [GetEsimOkResponse](documentation/models/GetEsimOkResponse.md) | |
|
161
|
-
| [\_16](documentation/models/_16.md) | |
|
162
|
-
| [\_17](documentation/models/_17.md) | |
|
163
|
-
| [GetEsimDeviceOkResponse](documentation/models/GetEsimDeviceOkResponse.md) | |
|
164
|
-
| [\_18](documentation/models/_18.md) | |
|
165
|
-
| [\_19](documentation/models/_19.md) | |
|
166
|
-
| [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
|
-
| [TokenOkResponse](documentation/models/TokenOkResponse.md) | |
|
173
|
-
| [\_24](documentation/models/_24.md) | |
|
174
|
-
| [\_25](documentation/models/_25.md) | |
|
138
|
+
| ListDestinationsOkResponse | |
|
139
|
+
| BadRequest | |
|
140
|
+
| Unauthorized | |
|
141
|
+
| ListPackagesOkResponse | |
|
142
|
+
| BadRequest | |
|
143
|
+
| Unauthorized | |
|
144
|
+
| CreatePurchaseV2Request | |
|
145
|
+
| CreatePurchaseV2OkResponse | |
|
146
|
+
| BadRequest | |
|
147
|
+
| Unauthorized | |
|
148
|
+
| ListPurchasesOkResponse | |
|
149
|
+
| CreatePurchaseRequest | |
|
150
|
+
| CreatePurchaseOkResponse | |
|
151
|
+
| TopUpEsimRequest | |
|
152
|
+
| TopUpEsimOkResponse | |
|
153
|
+
| EditPurchaseRequest | |
|
154
|
+
| EditPurchaseOkResponse | |
|
155
|
+
| GetPurchaseConsumptionOkResponse | |
|
156
|
+
| GetEsimOkResponse | |
|
157
|
+
| BadRequest | |
|
158
|
+
| Unauthorized | |
|
159
|
+
| GetEsimDeviceOkResponse | |
|
160
|
+
| GetEsimHistoryOkResponse | |
|
161
|
+
| TokenOkResponse | |
|
162
|
+
| BadRequest | |
|
163
|
+
| Unauthorized | |
|
175
164
|
|
176
165
|
</details>
|
177
166
|
|