celitech-sdk
Advanced tools
Comparing version 1.3.34 to 1.3.38
@@ -1618,2 +1618,27 @@ import { ZodType, z } from 'zod'; | ||
/** | ||
* The shape of the model inside the application code - what the users use | ||
*/ | ||
declare const tokenOkResponse: z.ZodLazy<z.ZodObject<{ | ||
token: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
token?: string | undefined; | ||
}, { | ||
token?: string | undefined; | ||
}>>; | ||
/** | ||
* | ||
* @typedef {TokenOkResponse} tokenOkResponse | ||
* @property {string} - The generated token | ||
*/ | ||
type TokenOkResponse = z.infer<typeof tokenOkResponse>; | ||
declare class IFrameService extends BaseService { | ||
/** | ||
* Generate a new token to be used in the iFrame | ||
* @returns {Promise<HttpResponse<TokenOkResponse>>} Successful Response | ||
*/ | ||
token(requestConfig?: RequestConfig): Promise<HttpResponse<TokenOkResponse>>; | ||
} | ||
declare class Celitech { | ||
@@ -1626,2 +1651,3 @@ config: SdkConfig; | ||
readonly eSim: ESimService; | ||
readonly iFrame: IFrameService; | ||
protected tokenManager: OAuthTokenManager; | ||
@@ -1637,2 +1663,2 @@ constructor(config: SdkConfig); | ||
export { Celitech, CreatePurchaseOkResponse, CreatePurchaseOkResponseProfile, CreatePurchaseOkResponsePurchase, CreatePurchaseRequest, Destinations, DestinationsService, Device, ESimService, EditPurchaseOkResponse, EditPurchaseRequest, Environment, GetAccessTokenOkResponse, GetAccessTokenRequest, GetEsimDeviceOkResponse, GetEsimHistoryOkResponse, GetEsimHistoryOkResponseEsim, GetEsimMacOkResponse, GetEsimMacOkResponseEsim, GetEsimOkResponse, GetEsimOkResponseEsim, GetPurchaseConsumptionOkResponse, GrantType, History, HttpError, HttpMetadata, HttpMethod, HttpResponse, ListDestinationsOkResponse, ListPackagesOkResponse, ListPurchasesOkResponse, OAuthService, Package_, Packages, PackagesService, Purchases, PurchasesEsim, PurchasesService, RequestConfig, RetryOptions, SdkConfig, TopUpEsimOkResponse, TopUpEsimOkResponseProfile, TopUpEsimOkResponsePurchase, TopUpEsimRequest, ValidationOptions }; | ||
export { Celitech, CreatePurchaseOkResponse, CreatePurchaseOkResponseProfile, CreatePurchaseOkResponsePurchase, CreatePurchaseRequest, Destinations, DestinationsService, Device, ESimService, EditPurchaseOkResponse, EditPurchaseRequest, Environment, GetAccessTokenOkResponse, GetAccessTokenRequest, GetEsimDeviceOkResponse, GetEsimHistoryOkResponse, GetEsimHistoryOkResponseEsim, GetEsimMacOkResponse, GetEsimMacOkResponseEsim, 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, ValidationOptions }; |
{ | ||
"name": "celitech-sdk", | ||
"version": "1.3.34", | ||
"version": "1.3.38", | ||
"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,0 +5,0 @@ "source": "./src/index.ts", |
@@ -1,2 +0,2 @@ | ||
# Celitech TypeScript SDK 1.3.34 | ||
# Celitech TypeScript SDK 1.3.38 | ||
@@ -10,8 +10,10 @@ Welcome to the Celitech SDK documentation. This guide will help you get started with integrating and using the Celitech SDK in your project. | ||
- API version: `1.1.0` | ||
- SDK version: `1.3.34` | ||
- SDK version: `1.3.38` | ||
## About the API | ||
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/) | ||
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/) | ||
## Table of Contents | ||
@@ -54,3 +56,3 @@ | ||
```ts | ||
const sdk = new Celitech({ clientSecret: 'CLIENT_SECRET', clientId: 'CLIENT_ID' }); | ||
const sdk = new Celitech({ clientId: 'CLIENT_ID', clientSecret: 'CLIENT_SECRET' }); | ||
``` | ||
@@ -120,2 +122,3 @@ | ||
| [ESimService](documentation/services/ESimService.md) | | ||
| [IFrameService](documentation/services/IFrameService.md) | | ||
@@ -149,2 +152,3 @@ </details> | ||
| [GetEsimMacOkResponse](documentation/models/GetEsimMacOkResponse.md) | | | ||
| [TokenOkResponse](documentation/models/TokenOkResponse.md) | | | ||
@@ -151,0 +155,0 @@ </details> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
262604
6786
158