ultracart_rest_api_v2_typescript 4.0.184 → 4.0.185
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 +3 -2
- package/dist/models/Customer.d.ts +6 -0
- package/dist/models/Customer.js +2 -0
- package/package.json +1 -1
- package/src/models/Customer.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.185
|
|
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.185 --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.185 | 11/01/2023 | customer - do_no_send_mail flag added |
|
|
57
58
|
| 4.0.184 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
|
|
58
59
|
| 4.0.183 | 10/27/2023 | workflow task object model refinement |
|
|
59
60
|
| 4.0.182 | 10/23/2023 | workflow tasks api |
|
|
@@ -147,6 +147,12 @@ export interface Customer {
|
|
|
147
147
|
* @memberof Customer
|
|
148
148
|
*/
|
|
149
149
|
dhl_duty_account_number?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Do not send mail (null will not update)
|
|
152
|
+
* @type {boolean}
|
|
153
|
+
* @memberof Customer
|
|
154
|
+
*/
|
|
155
|
+
do_not_send_mail?: boolean;
|
|
150
156
|
/**
|
|
151
157
|
*
|
|
152
158
|
* @type {CustomerEDI}
|
package/dist/models/Customer.js
CHANGED
|
@@ -61,6 +61,7 @@ function CustomerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'customer_profile_oid': !(0, runtime_1.exists)(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
62
62
|
'dhl_account_number': !(0, runtime_1.exists)(json, 'dhl_account_number') ? undefined : json['dhl_account_number'],
|
|
63
63
|
'dhl_duty_account_number': !(0, runtime_1.exists)(json, 'dhl_duty_account_number') ? undefined : json['dhl_duty_account_number'],
|
|
64
|
+
'do_not_send_mail': !(0, runtime_1.exists)(json, 'do_not_send_mail') ? undefined : json['do_not_send_mail'],
|
|
64
65
|
'edi': !(0, runtime_1.exists)(json, 'edi') ? undefined : (0, CustomerEDI_1.CustomerEDIFromJSON)(json['edi']),
|
|
65
66
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
66
67
|
'exempt_shipping_handling_charge': !(0, runtime_1.exists)(json, 'exempt_shipping_handling_charge') ? undefined : json['exempt_shipping_handling_charge'],
|
|
@@ -135,6 +136,7 @@ function CustomerToJSON(value) {
|
|
|
135
136
|
'customer_profile_oid': value.customer_profile_oid,
|
|
136
137
|
'dhl_account_number': value.dhl_account_number,
|
|
137
138
|
'dhl_duty_account_number': value.dhl_duty_account_number,
|
|
139
|
+
'do_not_send_mail': value.do_not_send_mail,
|
|
138
140
|
'edi': (0, CustomerEDI_1.CustomerEDIToJSON)(value.edi),
|
|
139
141
|
'email': value.email,
|
|
140
142
|
'exempt_shipping_handling_charge': value.exempt_shipping_handling_charge,
|
package/package.json
CHANGED
package/src/models/Customer.ts
CHANGED
|
@@ -242,6 +242,12 @@ export interface Customer {
|
|
|
242
242
|
* @memberof Customer
|
|
243
243
|
*/
|
|
244
244
|
dhl_duty_account_number?: string;
|
|
245
|
+
/**
|
|
246
|
+
* Do not send mail (null will not update)
|
|
247
|
+
* @type {boolean}
|
|
248
|
+
* @memberof Customer
|
|
249
|
+
*/
|
|
250
|
+
do_not_send_mail?: boolean;
|
|
245
251
|
/**
|
|
246
252
|
*
|
|
247
253
|
* @type {CustomerEDI}
|
|
@@ -537,6 +543,7 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
537
543
|
'customer_profile_oid': !exists(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
538
544
|
'dhl_account_number': !exists(json, 'dhl_account_number') ? undefined : json['dhl_account_number'],
|
|
539
545
|
'dhl_duty_account_number': !exists(json, 'dhl_duty_account_number') ? undefined : json['dhl_duty_account_number'],
|
|
546
|
+
'do_not_send_mail': !exists(json, 'do_not_send_mail') ? undefined : json['do_not_send_mail'],
|
|
540
547
|
'edi': !exists(json, 'edi') ? undefined : CustomerEDIFromJSON(json['edi']),
|
|
541
548
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
542
549
|
'exempt_shipping_handling_charge': !exists(json, 'exempt_shipping_handling_charge') ? undefined : json['exempt_shipping_handling_charge'],
|
|
@@ -612,6 +619,7 @@ export function CustomerToJSON(value?: Customer | null): any {
|
|
|
612
619
|
'customer_profile_oid': value.customer_profile_oid,
|
|
613
620
|
'dhl_account_number': value.dhl_account_number,
|
|
614
621
|
'dhl_duty_account_number': value.dhl_duty_account_number,
|
|
622
|
+
'do_not_send_mail': value.do_not_send_mail,
|
|
615
623
|
'edi': CustomerEDIToJSON(value.edi),
|
|
616
624
|
'email': value.email,
|
|
617
625
|
'exempt_shipping_handling_charge': value.exempt_shipping_handling_charge,
|