ultracart_rest_api_v2_typescript 4.0.157 → 4.0.158
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.158
|
|
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.158 --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.158 | 06/08/2023 | customer profile qb tax exempt reason code field |
|
|
57
58
|
| 4.0.157 | 06/06/2023 | auto order add_ons |
|
|
58
59
|
| 4.0.156 | 05/25/2023 | added venmo constants for payment type |
|
|
59
60
|
| 4.0.155 | 05/18/2023 | dw bi - send back the executed SQL |
|
|
@@ -284,6 +284,12 @@ export interface Customer {
|
|
|
284
284
|
* @memberof Customer
|
|
285
285
|
*/
|
|
286
286
|
qb_code?: string;
|
|
287
|
+
/**
|
|
288
|
+
* QuickBooks tax exemption reason code
|
|
289
|
+
* @type {number}
|
|
290
|
+
* @memberof Customer
|
|
291
|
+
*/
|
|
292
|
+
qb_tax_exemption_reason_code?: number;
|
|
287
293
|
/**
|
|
288
294
|
* Quotes associated with this customer profile
|
|
289
295
|
* @type {Array<Order>}
|
package/dist/models/Customer.js
CHANGED
|
@@ -83,6 +83,7 @@ function CustomerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
83
83
|
'privacy': !(0, runtime_1.exists)(json, 'privacy') ? undefined : (0, CustomerPrivacy_1.CustomerPrivacyFromJSON)(json['privacy']),
|
|
84
84
|
'qb_class': !(0, runtime_1.exists)(json, 'qb_class') ? undefined : json['qb_class'],
|
|
85
85
|
'qb_code': !(0, runtime_1.exists)(json, 'qb_code') ? undefined : json['qb_code'],
|
|
86
|
+
'qb_tax_exemption_reason_code': !(0, runtime_1.exists)(json, 'qb_tax_exemption_reason_code') ? undefined : json['qb_tax_exemption_reason_code'],
|
|
86
87
|
'quotes': !(0, runtime_1.exists)(json, 'quotes') ? undefined : (json['quotes'].map(Order_1.OrderFromJSON)),
|
|
87
88
|
'quotes_summary': !(0, runtime_1.exists)(json, 'quotes_summary') ? undefined : (0, CustomerQuotesSummary_1.CustomerQuotesSummaryFromJSON)(json['quotes_summary']),
|
|
88
89
|
'referral_source': !(0, runtime_1.exists)(json, 'referral_source') ? undefined : json['referral_source'],
|
|
@@ -155,6 +156,7 @@ function CustomerToJSON(value) {
|
|
|
155
156
|
'privacy': (0, CustomerPrivacy_1.CustomerPrivacyToJSON)(value.privacy),
|
|
156
157
|
'qb_class': value.qb_class,
|
|
157
158
|
'qb_code': value.qb_code,
|
|
159
|
+
'qb_tax_exemption_reason_code': value.qb_tax_exemption_reason_code,
|
|
158
160
|
'quotes': value.quotes === undefined ? undefined : (value.quotes.map(Order_1.OrderToJSON)),
|
|
159
161
|
'quotes_summary': (0, CustomerQuotesSummary_1.CustomerQuotesSummaryToJSON)(value.quotes_summary),
|
|
160
162
|
'referral_source': value.referral_source,
|
package/package.json
CHANGED
package/src/models/Customer.ts
CHANGED
|
@@ -374,6 +374,12 @@ export interface Customer {
|
|
|
374
374
|
* @memberof Customer
|
|
375
375
|
*/
|
|
376
376
|
qb_code?: string;
|
|
377
|
+
/**
|
|
378
|
+
* QuickBooks tax exemption reason code
|
|
379
|
+
* @type {number}
|
|
380
|
+
* @memberof Customer
|
|
381
|
+
*/
|
|
382
|
+
qb_tax_exemption_reason_code?: number;
|
|
377
383
|
/**
|
|
378
384
|
* Quotes associated with this customer profile
|
|
379
385
|
* @type {Array<Order>}
|
|
@@ -542,6 +548,7 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
542
548
|
'privacy': !exists(json, 'privacy') ? undefined : CustomerPrivacyFromJSON(json['privacy']),
|
|
543
549
|
'qb_class': !exists(json, 'qb_class') ? undefined : json['qb_class'],
|
|
544
550
|
'qb_code': !exists(json, 'qb_code') ? undefined : json['qb_code'],
|
|
551
|
+
'qb_tax_exemption_reason_code': !exists(json, 'qb_tax_exemption_reason_code') ? undefined : json['qb_tax_exemption_reason_code'],
|
|
545
552
|
'quotes': !exists(json, 'quotes') ? undefined : ((json['quotes'] as Array<any>).map(OrderFromJSON)),
|
|
546
553
|
'quotes_summary': !exists(json, 'quotes_summary') ? undefined : CustomerQuotesSummaryFromJSON(json['quotes_summary']),
|
|
547
554
|
'referral_source': !exists(json, 'referral_source') ? undefined : json['referral_source'],
|
|
@@ -615,6 +622,7 @@ export function CustomerToJSON(value?: Customer | null): any {
|
|
|
615
622
|
'privacy': CustomerPrivacyToJSON(value.privacy),
|
|
616
623
|
'qb_class': value.qb_class,
|
|
617
624
|
'qb_code': value.qb_code,
|
|
625
|
+
'qb_tax_exemption_reason_code': value.qb_tax_exemption_reason_code,
|
|
618
626
|
'quotes': value.quotes === undefined ? undefined : ((value.quotes as Array<any>).map(OrderToJSON)),
|
|
619
627
|
'quotes_summary': CustomerQuotesSummaryToJSON(value.quotes_summary),
|
|
620
628
|
'referral_source': value.referral_source,
|