ultracart_rest_api_v2_typescript 4.0.93-RC → 4.0.94-RC

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.93-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.94-RC
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.93-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.94-RC --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.94-RC | 12/08/2022 | communications - expose the rebuild percentage |
57
58
  | 4.0.93-RC | 12/06/2022 | convo - add session_start_dts to webchat context, cart - add customer_profile.signup_dts |
58
59
  | 4.0.92-RC | 12/06/2022 | customer api - expose edi information and editor values |
59
60
  | 4.0.91-RC | 12/02/2022 | conversations - customer last unresponded dts |
@@ -88,6 +88,12 @@ export interface EmailSegment {
88
88
  * @memberof EmailSegment
89
89
  */
90
90
  rank_json?: string;
91
+ /**
92
+ * Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display.
93
+ * @type {number}
94
+ * @memberof EmailSegment
95
+ */
96
+ rebuild_percentage?: number;
91
97
  /**
92
98
  * True if a rebuild is required because some part of the segment has changed
93
99
  * @type {boolean}
@@ -37,6 +37,7 @@ function EmailSegmentFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
38
38
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
39
39
  'rank_json': !(0, runtime_1.exists)(json, 'rank_json') ? undefined : json['rank_json'],
40
+ 'rebuild_percentage': !(0, runtime_1.exists)(json, 'rebuild_percentage') ? undefined : json['rebuild_percentage'],
40
41
  'rebuild_required': !(0, runtime_1.exists)(json, 'rebuild_required') ? undefined : json['rebuild_required'],
41
42
  'storefront_oid': !(0, runtime_1.exists)(json, 'storefront_oid') ? undefined : json['storefront_oid'],
42
43
  'thirdparty_join_add_tags': !(0, runtime_1.exists)(json, 'thirdparty_join_add_tags') ? undefined : json['thirdparty_join_add_tags'],
@@ -69,6 +70,7 @@ function EmailSegmentToJSON(value) {
69
70
  'merchant_id': value.merchant_id,
70
71
  'name': value.name,
71
72
  'rank_json': value.rank_json,
73
+ 'rebuild_percentage': value.rebuild_percentage,
72
74
  'rebuild_required': value.rebuild_required,
73
75
  'storefront_oid': value.storefront_oid,
74
76
  'thirdparty_join_add_tags': value.thirdparty_join_add_tags,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.93-RC",
3
+ "version": "4.0.94-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -98,6 +98,12 @@ export interface EmailSegment {
98
98
  * @memberof EmailSegment
99
99
  */
100
100
  rank_json?: string;
101
+ /**
102
+ * Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display.
103
+ * @type {number}
104
+ * @memberof EmailSegment
105
+ */
106
+ rebuild_percentage?: number;
101
107
  /**
102
108
  * True if a rebuild is required because some part of the segment has changed
103
109
  * @type {boolean}
@@ -176,6 +182,7 @@ export function EmailSegmentFromJSONTyped(json: any, ignoreDiscriminator: boolea
176
182
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
177
183
  'name': !exists(json, 'name') ? undefined : json['name'],
178
184
  'rank_json': !exists(json, 'rank_json') ? undefined : json['rank_json'],
185
+ 'rebuild_percentage': !exists(json, 'rebuild_percentage') ? undefined : json['rebuild_percentage'],
179
186
  'rebuild_required': !exists(json, 'rebuild_required') ? undefined : json['rebuild_required'],
180
187
  'storefront_oid': !exists(json, 'storefront_oid') ? undefined : json['storefront_oid'],
181
188
  'thirdparty_join_add_tags': !exists(json, 'thirdparty_join_add_tags') ? undefined : json['thirdparty_join_add_tags'],
@@ -209,6 +216,7 @@ export function EmailSegmentToJSON(value?: EmailSegment | null): any {
209
216
  'merchant_id': value.merchant_id,
210
217
  'name': value.name,
211
218
  'rank_json': value.rank_json,
219
+ 'rebuild_percentage': value.rebuild_percentage,
212
220
  'rebuild_required': value.rebuild_required,
213
221
  'storefront_oid': value.storefront_oid,
214
222
  'thirdparty_join_add_tags': value.thirdparty_join_add_tags,