ultracart_rest_api_v2_typescript 4.0.170 → 4.0.171
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.171
|
|
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.171 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.171 | 08/14/2023 | esp - add require_order_within_last to the settings object |
|
|
57
58
|
| 4.0.170 | 08/14/2023 | esp - expose rate limiter values in settings object |
|
|
58
59
|
| 4.0.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
|
|
59
60
|
| 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
|
@@ -87,6 +87,12 @@ export interface EmailSettings {
|
|
|
87
87
|
* @memberof EmailSettings
|
|
88
88
|
*/
|
|
89
89
|
postcard_from_state?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Require order within last
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof EmailSettings
|
|
94
|
+
*/
|
|
95
|
+
require_order_within_last?: number;
|
|
90
96
|
/**
|
|
91
97
|
* True if the Reviews.io integration is configured
|
|
92
98
|
* @type {boolean}
|
|
@@ -36,6 +36,7 @@ function EmailSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'postcard_from_name': !(0, runtime_1.exists)(json, 'postcard_from_name') ? undefined : json['postcard_from_name'],
|
|
37
37
|
'postcard_from_postal_code': !(0, runtime_1.exists)(json, 'postcard_from_postal_code') ? undefined : json['postcard_from_postal_code'],
|
|
38
38
|
'postcard_from_state': !(0, runtime_1.exists)(json, 'postcard_from_state') ? undefined : json['postcard_from_state'],
|
|
39
|
+
'require_order_within_last': !(0, runtime_1.exists)(json, 'require_order_within_last') ? undefined : json['require_order_within_last'],
|
|
39
40
|
'reviews_io_configured': !(0, runtime_1.exists)(json, 'reviews_io_configured') ? undefined : json['reviews_io_configured'],
|
|
40
41
|
'sms_esp_twilio_uuid': !(0, runtime_1.exists)(json, 'sms_esp_twilio_uuid') ? undefined : json['sms_esp_twilio_uuid'],
|
|
41
42
|
'sms_phone_number': !(0, runtime_1.exists)(json, 'sms_phone_number') ? undefined : json['sms_phone_number'],
|
|
@@ -65,6 +66,7 @@ function EmailSettingsToJSON(value) {
|
|
|
65
66
|
'postcard_from_name': value.postcard_from_name,
|
|
66
67
|
'postcard_from_postal_code': value.postcard_from_postal_code,
|
|
67
68
|
'postcard_from_state': value.postcard_from_state,
|
|
69
|
+
'require_order_within_last': value.require_order_within_last,
|
|
68
70
|
'reviews_io_configured': value.reviews_io_configured,
|
|
69
71
|
'sms_esp_twilio_uuid': value.sms_esp_twilio_uuid,
|
|
70
72
|
'sms_phone_number': value.sms_phone_number,
|
package/package.json
CHANGED
|
@@ -91,6 +91,12 @@ export interface EmailSettings {
|
|
|
91
91
|
* @memberof EmailSettings
|
|
92
92
|
*/
|
|
93
93
|
postcard_from_state?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Require order within last
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof EmailSettings
|
|
98
|
+
*/
|
|
99
|
+
require_order_within_last?: number;
|
|
94
100
|
/**
|
|
95
101
|
* True if the Reviews.io integration is configured
|
|
96
102
|
* @type {boolean}
|
|
@@ -151,6 +157,7 @@ export function EmailSettingsFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
151
157
|
'postcard_from_name': !exists(json, 'postcard_from_name') ? undefined : json['postcard_from_name'],
|
|
152
158
|
'postcard_from_postal_code': !exists(json, 'postcard_from_postal_code') ? undefined : json['postcard_from_postal_code'],
|
|
153
159
|
'postcard_from_state': !exists(json, 'postcard_from_state') ? undefined : json['postcard_from_state'],
|
|
160
|
+
'require_order_within_last': !exists(json, 'require_order_within_last') ? undefined : json['require_order_within_last'],
|
|
154
161
|
'reviews_io_configured': !exists(json, 'reviews_io_configured') ? undefined : json['reviews_io_configured'],
|
|
155
162
|
'sms_esp_twilio_uuid': !exists(json, 'sms_esp_twilio_uuid') ? undefined : json['sms_esp_twilio_uuid'],
|
|
156
163
|
'sms_phone_number': !exists(json, 'sms_phone_number') ? undefined : json['sms_phone_number'],
|
|
@@ -181,6 +188,7 @@ export function EmailSettingsToJSON(value?: EmailSettings | null): any {
|
|
|
181
188
|
'postcard_from_name': value.postcard_from_name,
|
|
182
189
|
'postcard_from_postal_code': value.postcard_from_postal_code,
|
|
183
190
|
'postcard_from_state': value.postcard_from_state,
|
|
191
|
+
'require_order_within_last': value.require_order_within_last,
|
|
184
192
|
'reviews_io_configured': value.reviews_io_configured,
|
|
185
193
|
'sms_esp_twilio_uuid': value.sms_esp_twilio_uuid,
|
|
186
194
|
'sms_phone_number': value.sms_phone_number,
|