ultracart_rest_api_v2_typescript 4.0.215 → 4.0.217
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 +4 -2
- package/dist/models/CartCheckout.d.ts +6 -0
- package/dist/models/CartCheckout.js +2 -0
- package/dist/models/ConversationPbxTimeBased.d.ts +4 -4
- package/dist/models/ConversationPbxTimeBased.js +8 -8
- package/package.json +1 -1
- package/src/models/CartCheckout.ts +8 -0
- package/src/models/ConversationPbxTimeBased.ts +12 -12
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.217
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.217 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.217 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
|
58
|
+
| 4.0.216 | 05/13/2024 | conversation pbx - allow nullable day of week in time range |
|
|
57
59
|
| 4.0.215 | 05/08/2024 | added echeck fields to channel partner order import |
|
|
58
60
|
| 4.0.214 | 05/02/2024 | conversation - new method to load pbx audio usage |
|
|
59
61
|
| 4.0.213 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
|
@@ -21,6 +21,12 @@ export interface CartCheckout {
|
|
|
21
21
|
* @memberof CartCheckout
|
|
22
22
|
*/
|
|
23
23
|
comments?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Current step of the checkout (read only)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CartCheckout
|
|
28
|
+
*/
|
|
29
|
+
current_step?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Custom field 1
|
|
26
32
|
* @type {string}
|
|
@@ -25,6 +25,7 @@ function CartCheckoutFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
|
|
28
|
+
'current_step': !(0, runtime_1.exists)(json, 'current_step') ? undefined : json['current_step'],
|
|
28
29
|
'custom_field1': !(0, runtime_1.exists)(json, 'custom_field1') ? undefined : json['custom_field1'],
|
|
29
30
|
'custom_field10': !(0, runtime_1.exists)(json, 'custom_field10') ? undefined : json['custom_field10'],
|
|
30
31
|
'custom_field2': !(0, runtime_1.exists)(json, 'custom_field2') ? undefined : json['custom_field2'],
|
|
@@ -53,6 +54,7 @@ function CartCheckoutToJSON(value) {
|
|
|
53
54
|
}
|
|
54
55
|
return {
|
|
55
56
|
'comments': value.comments,
|
|
57
|
+
'current_step': value.current_step,
|
|
56
58
|
'custom_field1': value.custom_field1,
|
|
57
59
|
'custom_field10': value.custom_field10,
|
|
58
60
|
'custom_field2': value.custom_field2,
|
|
@@ -21,25 +21,25 @@ export interface ConversationPbxTimeBased {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ConversationPbxTimeBased
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
conversation_pbx_time_based_uuid?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {ConversationPbxTimeBasedMappingConfig}
|
|
28
28
|
* @memberof ConversationPbxTimeBased
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
mapping_config?: ConversationPbxTimeBasedMappingConfig;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof ConversationPbxTimeBased
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
merchant_id?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof ConversationPbxTimeBased
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
time_based_name?: string;
|
|
43
43
|
}
|
|
44
44
|
export declare function ConversationPbxTimeBasedFromJSON(json: any): ConversationPbxTimeBased;
|
|
45
45
|
export declare function ConversationPbxTimeBasedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxTimeBased;
|
|
@@ -25,10 +25,10 @@ function ConversationPbxTimeBasedFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
28
|
+
'conversation_pbx_time_based_uuid': !(0, runtime_1.exists)(json, 'conversation_pbx_time_based_uuid') ? undefined : json['conversation_pbx_time_based_uuid'],
|
|
29
|
+
'mapping_config': !(0, runtime_1.exists)(json, 'mapping_config') ? undefined : (0, ConversationPbxTimeBasedMappingConfig_1.ConversationPbxTimeBasedMappingConfigFromJSON)(json['mapping_config']),
|
|
30
|
+
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
31
|
+
'time_based_name': !(0, runtime_1.exists)(json, 'time_based_name') ? undefined : json['time_based_name'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
exports.ConversationPbxTimeBasedFromJSONTyped = ConversationPbxTimeBasedFromJSONTyped;
|
|
@@ -40,10 +40,10 @@ function ConversationPbxTimeBasedToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
43
|
+
'conversation_pbx_time_based_uuid': value.conversation_pbx_time_based_uuid,
|
|
44
|
+
'mapping_config': (0, ConversationPbxTimeBasedMappingConfig_1.ConversationPbxTimeBasedMappingConfigToJSON)(value.mapping_config),
|
|
45
|
+
'merchant_id': value.merchant_id,
|
|
46
|
+
'time_based_name': value.time_based_name,
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
exports.ConversationPbxTimeBasedToJSON = ConversationPbxTimeBasedToJSON;
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface CartCheckout {
|
|
|
25
25
|
* @memberof CartCheckout
|
|
26
26
|
*/
|
|
27
27
|
comments?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Current step of the checkout (read only)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CartCheckout
|
|
32
|
+
*/
|
|
33
|
+
current_step?: string;
|
|
28
34
|
/**
|
|
29
35
|
* Custom field 1
|
|
30
36
|
* @type {string}
|
|
@@ -134,6 +140,7 @@ export function CartCheckoutFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
134
140
|
return {
|
|
135
141
|
|
|
136
142
|
'comments': !exists(json, 'comments') ? undefined : json['comments'],
|
|
143
|
+
'current_step': !exists(json, 'current_step') ? undefined : json['current_step'],
|
|
137
144
|
'custom_field1': !exists(json, 'custom_field1') ? undefined : json['custom_field1'],
|
|
138
145
|
'custom_field10': !exists(json, 'custom_field10') ? undefined : json['custom_field10'],
|
|
139
146
|
'custom_field2': !exists(json, 'custom_field2') ? undefined : json['custom_field2'],
|
|
@@ -163,6 +170,7 @@ export function CartCheckoutToJSON(value?: CartCheckout | null): any {
|
|
|
163
170
|
return {
|
|
164
171
|
|
|
165
172
|
'comments': value.comments,
|
|
173
|
+
'current_step': value.current_step,
|
|
166
174
|
'custom_field1': value.custom_field1,
|
|
167
175
|
'custom_field10': value.custom_field10,
|
|
168
176
|
'custom_field2': value.custom_field2,
|
|
@@ -31,25 +31,25 @@ export interface ConversationPbxTimeBased {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof ConversationPbxTimeBased
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
conversation_pbx_time_based_uuid?: string;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {ConversationPbxTimeBasedMappingConfig}
|
|
38
38
|
* @memberof ConversationPbxTimeBased
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
mapping_config?: ConversationPbxTimeBasedMappingConfig;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof ConversationPbxTimeBased
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
merchant_id?: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof ConversationPbxTimeBased
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
time_based_name?: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export function ConversationPbxTimeBasedFromJSON(json: any): ConversationPbxTimeBased {
|
|
@@ -62,10 +62,10 @@ export function ConversationPbxTimeBasedFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
62
62
|
}
|
|
63
63
|
return {
|
|
64
64
|
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
65
|
+
'conversation_pbx_time_based_uuid': !exists(json, 'conversation_pbx_time_based_uuid') ? undefined : json['conversation_pbx_time_based_uuid'],
|
|
66
|
+
'mapping_config': !exists(json, 'mapping_config') ? undefined : ConversationPbxTimeBasedMappingConfigFromJSON(json['mapping_config']),
|
|
67
|
+
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
68
|
+
'time_based_name': !exists(json, 'time_based_name') ? undefined : json['time_based_name'],
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -78,10 +78,10 @@ export function ConversationPbxTimeBasedToJSON(value?: ConversationPbxTimeBased
|
|
|
78
78
|
}
|
|
79
79
|
return {
|
|
80
80
|
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
81
|
+
'conversation_pbx_time_based_uuid': value.conversation_pbx_time_based_uuid,
|
|
82
|
+
'mapping_config': ConversationPbxTimeBasedMappingConfigToJSON(value.mapping_config),
|
|
83
|
+
'merchant_id': value.merchant_id,
|
|
84
|
+
'time_based_name': value.time_based_name,
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|