celitech-sdk 1.1.51 → 1.1.54

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.51
1
+ # Celitech Typescript SDK 1.1.54
2
2
 
3
3
  The Typescript SDK for Celitech.
4
4
 
5
- - API version: 1.1.51
6
- - SDK version: 1.1.51
5
+ - API version: 1.1.54
6
+ - SDK version: 1.1.54
7
7
 
8
8
  ## Table of Contents
9
9
 
@@ -153,7 +153,7 @@ Optional parameters are passed as part of the last parameter to the method. Ex.
153
153
 
154
154
  | Name | Type | Description |
155
155
  | :---------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
156
- | destination | string | ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory. |
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
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. |
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. |
@@ -94,7 +94,7 @@ class HTTPLibrary {
94
94
  return response;
95
95
  }
96
96
  getUserAgentHeader() {
97
- const userAgentBase = 'Celitech/1.1.51';
97
+ const userAgentBase = 'Celitech/1.1.54';
98
98
  let userAgent = '';
99
99
  if (typeof window !== 'undefined') {
100
100
  return {};
@@ -6,7 +6,7 @@ export declare class PackagesService extends BaseService {
6
6
  * @description List of available packages
7
7
 
8
8
  * @param optionalParams - Optional parameters
9
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
@@ -14,7 +14,7 @@ class PackagesService extends BaseService_1.default {
14
14
  * @description List of available packages
15
15
 
16
16
  * @param optionalParams - Optional parameters
17
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
@@ -89,7 +89,7 @@ export default class HTTPLibrary {
89
89
  return response;
90
90
  }
91
91
  getUserAgentHeader() {
92
- const userAgentBase = 'Celitech/1.1.51';
92
+ const userAgentBase = 'Celitech/1.1.54';
93
93
  let userAgent = '';
94
94
  if (typeof window !== 'undefined') {
95
95
  return {};
@@ -6,7 +6,7 @@ export declare class PackagesService extends BaseService {
6
6
  * @description List of available packages
7
7
 
8
8
  * @param optionalParams - Optional parameters
9
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
@@ -8,7 +8,7 @@ export class PackagesService extends BaseService {
8
8
  * @description List of available packages
9
9
 
10
10
  * @param optionalParams - Optional parameters
11
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
@@ -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.51';
106
+ const userAgentBase = 'Celitech/1.1.54';
107
107
  let userAgent = '';
108
108
  if (typeof window !== 'undefined') {
109
109
  return {};
@@ -6,7 +6,7 @@ export declare class PackagesService extends BaseService {
6
6
  * @description List of available packages
7
7
 
8
8
  * @param optionalParams - Optional parameters
9
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  * @description List of available packages
24
24
 
25
25
  * @param optionalParams - Optional parameters
26
- * @param optionalParams.destination - ISO representation of the package's destination. Optional, unless startDate and endDate are used, then it becomes mandatory.
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
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.
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.
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.51",
51
+ "version": "1.1.54",
52
52
  "author": "Celitech",
53
53
  "dependencies": {
54
54
  "axios": "^1.0.0"