celitech-sdk 1.1.57 → 1.1.59

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # Celitech Typescript SDK 1.1.57
1
+ # Celitech Typescript SDK 1.1.59
2
2
 
3
3
  The Typescript SDK for Celitech.
4
4
 
5
- - API version: 1.1.57
6
- - SDK version: 1.1.57
5
+ - API version: 1.1.59
6
+ - SDK version: 1.1.59
7
7
 
8
8
  ## Table of Contents
9
9
 
@@ -155,12 +155,12 @@ Optional parameters are passed as part of the last parameter to the method. Ex.
155
155
  | :---------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
156
156
  | destination | string | ISO representation of the package's destination. |
157
157
  | startDate | string | 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. |
158
- | endDate | string | End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date. |
158
+ | endDate | string | End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date. |
159
159
  | afterCursor | string | 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. |
160
160
  | limit | number | 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 |
161
161
  | startTime | 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 |
162
- | endTime | number | Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time |
163
- | duration | number | Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days |
162
+ | endTime | number | Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time |
163
+ | duration | number | Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days |
164
164
 
165
165
  **Return Type**
166
166
 
@@ -94,7 +94,7 @@ class HTTPLibrary {
94
94
  return response;
95
95
  }
96
96
  getUserAgentHeader() {
97
- const userAgentBase = 'Celitech/1.1.57';
97
+ const userAgentBase = 'Celitech/1.1.59';
98
98
  let userAgent = '';
99
99
  if (typeof window !== 'undefined') {
100
100
  return {};
@@ -8,12 +8,12 @@ export declare class PackagesService extends BaseService {
8
8
  * @param optionalParams - Optional parameters
9
9
  * @param optionalParams.destination - ISO representation of the package's destination.
10
10
  * @param optionalParams.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.
11
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  * @param optionalParams.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.
13
13
  * @param optionalParams.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
14
14
  * @param optionalParams.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
15
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
16
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
15
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
16
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
17
17
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
18
18
  */
19
19
  listPackages(optionalParams?: {
@@ -16,12 +16,12 @@ class PackagesService extends BaseService_1.default {
16
16
  * @param optionalParams - Optional parameters
17
17
  * @param optionalParams.destination - ISO representation of the package's destination.
18
18
  * @param optionalParams.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.
19
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
19
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
20
20
  * @param optionalParams.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.
21
21
  * @param optionalParams.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
22
22
  * @param optionalParams.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
23
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
24
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
23
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
24
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
25
25
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
26
26
  */
27
27
  async listPackages(optionalParams = {}) {
@@ -12,7 +12,7 @@ export interface CreatePurchaseRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -30,7 +30,7 @@ export interface CreatePurchaseRequest {
30
30
  startTime?: number;
31
31
  /**
32
32
  * @deprecated
33
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
33
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
34
34
  */
35
35
  endTime?: number;
36
36
  }
@@ -8,7 +8,7 @@ export interface EditPurchaseRequest {
8
8
  */
9
9
  startDate: string;
10
10
  /**
11
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  */
13
13
  endDate: string;
14
14
  /**
@@ -18,7 +18,7 @@ export interface EditPurchaseRequest {
18
18
  startTime?: number;
19
19
  /**
20
20
  * @deprecated
21
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
21
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
22
22
  */
23
23
  endTime?: number;
24
24
  }
@@ -12,7 +12,7 @@ export interface TopUpEsimRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -26,7 +26,7 @@ export interface TopUpEsimRequest {
26
26
  startTime?: number;
27
27
  /**
28
28
  * @deprecated
29
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
29
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
30
30
  */
31
31
  endTime?: number;
32
32
  }
@@ -89,7 +89,7 @@ export default class HTTPLibrary {
89
89
  return response;
90
90
  }
91
91
  getUserAgentHeader() {
92
- const userAgentBase = 'Celitech/1.1.57';
92
+ const userAgentBase = 'Celitech/1.1.59';
93
93
  let userAgent = '';
94
94
  if (typeof window !== 'undefined') {
95
95
  return {};
@@ -8,12 +8,12 @@ export declare class PackagesService extends BaseService {
8
8
  * @param optionalParams - Optional parameters
9
9
  * @param optionalParams.destination - ISO representation of the package's destination.
10
10
  * @param optionalParams.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.
11
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  * @param optionalParams.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.
13
13
  * @param optionalParams.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
14
14
  * @param optionalParams.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
15
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
16
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
15
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
16
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
17
17
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
18
18
  */
19
19
  listPackages(optionalParams?: {
@@ -10,12 +10,12 @@ export class PackagesService extends BaseService {
10
10
  * @param optionalParams - Optional parameters
11
11
  * @param optionalParams.destination - ISO representation of the package's destination.
12
12
  * @param optionalParams.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.
13
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
13
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
14
14
  * @param optionalParams.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.
15
15
  * @param optionalParams.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
16
16
  * @param optionalParams.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
17
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
18
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
17
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
18
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
19
19
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
20
20
  */
21
21
  async listPackages(optionalParams = {}) {
@@ -12,7 +12,7 @@ export interface CreatePurchaseRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -30,7 +30,7 @@ export interface CreatePurchaseRequest {
30
30
  startTime?: number;
31
31
  /**
32
32
  * @deprecated
33
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
33
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
34
34
  */
35
35
  endTime?: number;
36
36
  }
@@ -8,7 +8,7 @@ export interface EditPurchaseRequest {
8
8
  */
9
9
  startDate: string;
10
10
  /**
11
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  */
13
13
  endDate: string;
14
14
  /**
@@ -18,7 +18,7 @@ export interface EditPurchaseRequest {
18
18
  startTime?: number;
19
19
  /**
20
20
  * @deprecated
21
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
21
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
22
22
  */
23
23
  endTime?: number;
24
24
  }
@@ -12,7 +12,7 @@ export interface TopUpEsimRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -26,7 +26,7 @@ export interface TopUpEsimRequest {
26
26
  startTime?: number;
27
27
  /**
28
28
  * @deprecated
29
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
29
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
30
30
  */
31
31
  endTime?: number;
32
32
  }
@@ -103,7 +103,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
103
103
  return response;
104
104
  }
105
105
  getUserAgentHeader() {
106
- const userAgentBase = 'Celitech/1.1.57';
106
+ const userAgentBase = 'Celitech/1.1.59';
107
107
  let userAgent = '';
108
108
  if (typeof window !== 'undefined') {
109
109
  return {};
@@ -8,12 +8,12 @@ export declare class PackagesService extends BaseService {
8
8
  * @param optionalParams - Optional parameters
9
9
  * @param optionalParams.destination - ISO representation of the package's destination.
10
10
  * @param optionalParams.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.
11
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  * @param optionalParams.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.
13
13
  * @param optionalParams.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
14
14
  * @param optionalParams.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
15
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
16
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
15
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
16
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
17
17
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
18
18
  */
19
19
  listPackages(optionalParams?: {
@@ -25,12 +25,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  * @param optionalParams - Optional parameters
26
26
  * @param optionalParams.destination - ISO representation of the package's destination.
27
27
  * @param optionalParams.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.
28
- * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
28
+ * @param optionalParams.endDate - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
29
29
  * @param optionalParams.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.
30
30
  * @param optionalParams.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
31
31
  * @param optionalParams.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
32
- * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time
33
- * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 60 days
32
+ * @param optionalParams.endTime - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time
33
+ * @param optionalParams.duration - Duration in seconds for the package's validity. If this parameter is present, it will override the startTime and endTime parameters. The maximum duration for a package's validity period is 90 days
34
34
  * @returns {Promise<ListPackagesResponse>} - The promise with the result
35
35
  */
36
36
  async listPackages(optionalParams = {}) {
@@ -12,7 +12,7 @@ export interface CreatePurchaseRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -30,7 +30,7 @@ export interface CreatePurchaseRequest {
30
30
  startTime?: number;
31
31
  /**
32
32
  * @deprecated
33
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
33
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
34
34
  */
35
35
  endTime?: number;
36
36
  }
@@ -8,7 +8,7 @@ export interface EditPurchaseRequest {
8
8
  */
9
9
  startDate: string;
10
10
  /**
11
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
11
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
12
12
  */
13
13
  endDate: string;
14
14
  /**
@@ -18,7 +18,7 @@ export interface EditPurchaseRequest {
18
18
  startTime?: number;
19
19
  /**
20
20
  * @deprecated
21
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
21
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
22
22
  */
23
23
  endTime?: number;
24
24
  }
@@ -12,7 +12,7 @@ export interface TopUpEsimRequest {
12
12
  */
13
13
  startDate: string;
14
14
  /**
15
- * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 60 days after Start date.
15
+ * End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
16
16
  */
17
17
  endDate: string;
18
18
  /**
@@ -26,7 +26,7 @@ export interface TopUpEsimRequest {
26
26
  startTime?: number;
27
27
  /**
28
28
  * @deprecated
29
- * Epoch value representing the end time of the package's validity. End time can be maximum 60 days after Start time.
29
+ * Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
30
30
  */
31
31
  endTime?: number;
32
32
  }
package/package.json CHANGED
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "name": "celitech-sdk",
50
50
  "description": "Celitech - 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/) ",
51
- "version": "1.1.57",
51
+ "version": "1.1.59",
52
52
  "author": "Celitech",
53
53
  "dependencies": {
54
54
  "axios": "^1.0.0"