ultracart_rest_api_v2_typescript 4.1.113 → 4.1.115

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,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.113
2
+ ## ultracart_rest_api_v2_typescript@4.1.115
3
3
 
4
4
  Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
5
5
 
6
6
  Installation
7
7
 
8
8
  ```
9
- npm install ultracart_rest_api_v2_typescript@4.1.113 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.115 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -85,6 +85,8 @@ Not every change is committed to every SDK.
85
85
 
86
86
  | Version | Date | Comments |
87
87
  | --: | :-: | --- |
88
+ | 4.1.115 | 07/10/2026 | customer profile birthday |
89
+ | 4.1.114 | 07/08/2026 | tax - anrok tax provider |
88
90
  | 4.1.113 | 07/08/2026 | tax - anrok tax provider |
89
91
  | 4.1.112 | 07/08/2026 | tax - added anrok tax provider |
90
92
  | 4.1.111 | 07/08/2026 | storefront - additional email dispatch log methods |
@@ -39,6 +39,12 @@ export interface AnrokConfig {
39
39
  * @memberof AnrokConfig
40
40
  */
41
41
  last_test_dts?: string;
42
+ /**
43
+ * Anrok Product ID used to classify shipping/handling charges; must be created in Anrok and mapped to the Shipping cost tax category
44
+ * @type {string}
45
+ * @memberof AnrokConfig
46
+ */
47
+ shipping_product_id?: string;
42
48
  /**
43
49
  * Test results of the last connection test to Anrok
44
50
  * @type {string}
@@ -36,6 +36,7 @@ function AnrokConfigFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'default_product_id': !(0, runtime_1.exists)(json, 'default_product_id') ? undefined : json['default_product_id'],
37
37
  'estimate_only': !(0, runtime_1.exists)(json, 'estimate_only') ? undefined : json['estimate_only'],
38
38
  'last_test_dts': !(0, runtime_1.exists)(json, 'last_test_dts') ? undefined : json['last_test_dts'],
39
+ 'shipping_product_id': !(0, runtime_1.exists)(json, 'shipping_product_id') ? undefined : json['shipping_product_id'],
39
40
  'test_results': !(0, runtime_1.exists)(json, 'test_results') ? undefined : json['test_results'],
40
41
  };
41
42
  }
@@ -52,6 +53,7 @@ function AnrokConfigToJSON(value) {
52
53
  'default_product_id': value.default_product_id,
53
54
  'estimate_only': value.estimate_only,
54
55
  'last_test_dts': value.last_test_dts,
56
+ 'shipping_product_id': value.shipping_product_id,
55
57
  'test_results': value.test_results,
56
58
  };
57
59
  }
@@ -111,6 +111,12 @@ export interface Customer {
111
111
  * @memberof Customer
112
112
  */
113
113
  billing?: Array<CustomerBilling>;
114
+ /**
115
+ * Customer birthday
116
+ * @type {string}
117
+ * @memberof Customer
118
+ */
119
+ birth_date?: string;
114
120
  /**
115
121
  * Business notes (internally visible only)
116
122
  * @type {string}
@@ -309,6 +315,12 @@ export interface Customer {
309
315
  * @memberof Customer
310
316
  */
311
317
  qb_tax_exemption_reason_code?: number;
318
+ /**
319
+ * QuickBooks Online customer ID used to lock this customer 1:1 with QuickBooks Online
320
+ * @type {string}
321
+ * @memberof Customer
322
+ */
323
+ quickbooks_online_customer_id?: string;
312
324
  /**
313
325
  * Quotes associated with this customer profile
314
326
  * @type {Array<Order>}
@@ -63,6 +63,7 @@ function CustomerFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'auto_approve_purchase_order': !(0, runtime_1.exists)(json, 'auto_approve_purchase_order') ? undefined : json['auto_approve_purchase_order'],
64
64
  'automatic_merchant_notes': !(0, runtime_1.exists)(json, 'automatic_merchant_notes') ? undefined : json['automatic_merchant_notes'],
65
65
  'billing': !(0, runtime_1.exists)(json, 'billing') ? undefined : (json['billing'].map(CustomerBilling_1.CustomerBillingFromJSON)),
66
+ 'birth_date': !(0, runtime_1.exists)(json, 'birth_date') ? undefined : json['birth_date'],
66
67
  'business_notes': !(0, runtime_1.exists)(json, 'business_notes') ? undefined : json['business_notes'],
67
68
  'cards': !(0, runtime_1.exists)(json, 'cards') ? undefined : (json['cards'].map(CustomerCard_1.CustomerCardFromJSON)),
68
69
  'cc_emails': !(0, runtime_1.exists)(json, 'cc_emails') ? undefined : (json['cc_emails'].map(CustomerEmail_1.CustomerEmailFromJSON)),
@@ -96,6 +97,7 @@ function CustomerFromJSONTyped(json, ignoreDiscriminator) {
96
97
  'qb_class': !(0, runtime_1.exists)(json, 'qb_class') ? undefined : json['qb_class'],
97
98
  'qb_code': !(0, runtime_1.exists)(json, 'qb_code') ? undefined : json['qb_code'],
98
99
  'qb_tax_exemption_reason_code': !(0, runtime_1.exists)(json, 'qb_tax_exemption_reason_code') ? undefined : json['qb_tax_exemption_reason_code'],
100
+ 'quickbooks_online_customer_id': !(0, runtime_1.exists)(json, 'quickbooks_online_customer_id') ? undefined : json['quickbooks_online_customer_id'],
99
101
  'quotes': !(0, runtime_1.exists)(json, 'quotes') ? undefined : (json['quotes'].map(Order_1.OrderFromJSON)),
100
102
  'quotes_summary': !(0, runtime_1.exists)(json, 'quotes_summary') ? undefined : (0, CustomerQuotesSummary_1.CustomerQuotesSummaryFromJSON)(json['quotes_summary']),
101
103
  'referral_source': !(0, runtime_1.exists)(json, 'referral_source') ? undefined : json['referral_source'],
@@ -139,6 +141,7 @@ function CustomerToJSON(value) {
139
141
  'auto_approve_purchase_order': value.auto_approve_purchase_order,
140
142
  'automatic_merchant_notes': value.automatic_merchant_notes,
141
143
  'billing': value.billing === undefined ? undefined : (value.billing.map(CustomerBilling_1.CustomerBillingToJSON)),
144
+ 'birth_date': value.birth_date,
142
145
  'business_notes': value.business_notes,
143
146
  'cards': value.cards === undefined ? undefined : (value.cards.map(CustomerCard_1.CustomerCardToJSON)),
144
147
  'cc_emails': value.cc_emails === undefined ? undefined : (value.cc_emails.map(CustomerEmail_1.CustomerEmailToJSON)),
@@ -172,6 +175,7 @@ function CustomerToJSON(value) {
172
175
  'qb_class': value.qb_class,
173
176
  'qb_code': value.qb_code,
174
177
  'qb_tax_exemption_reason_code': value.qb_tax_exemption_reason_code,
178
+ 'quickbooks_online_customer_id': value.quickbooks_online_customer_id,
175
179
  'quotes': value.quotes === undefined ? undefined : (value.quotes.map(Order_1.OrderToJSON)),
176
180
  'quotes_summary': (0, CustomerQuotesSummary_1.CustomerQuotesSummaryToJSON)(value.quotes_summary),
177
181
  'referral_source': value.referral_source,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.113",
3
+ "version": "4.1.115",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -43,6 +43,12 @@ export interface AnrokConfig {
43
43
  * @memberof AnrokConfig
44
44
  */
45
45
  last_test_dts?: string;
46
+ /**
47
+ * Anrok Product ID used to classify shipping/handling charges; must be created in Anrok and mapped to the Shipping cost tax category
48
+ * @type {string}
49
+ * @memberof AnrokConfig
50
+ */
51
+ shipping_product_id?: string;
46
52
  /**
47
53
  * Test results of the last connection test to Anrok
48
54
  * @type {string}
@@ -76,6 +82,7 @@ export function AnrokConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean
76
82
  'default_product_id': !exists(json, 'default_product_id') ? undefined : json['default_product_id'],
77
83
  'estimate_only': !exists(json, 'estimate_only') ? undefined : json['estimate_only'],
78
84
  'last_test_dts': !exists(json, 'last_test_dts') ? undefined : json['last_test_dts'],
85
+ 'shipping_product_id': !exists(json, 'shipping_product_id') ? undefined : json['shipping_product_id'],
79
86
  'test_results': !exists(json, 'test_results') ? undefined : json['test_results'],
80
87
  };
81
88
  }
@@ -93,6 +100,7 @@ export function AnrokConfigToJSON(value?: AnrokConfig | null): any {
93
100
  'default_product_id': value.default_product_id,
94
101
  'estimate_only': value.estimate_only,
95
102
  'last_test_dts': value.last_test_dts,
103
+ 'shipping_product_id': value.shipping_product_id,
96
104
  'test_results': value.test_results,
97
105
  };
98
106
  }
@@ -206,6 +206,12 @@ export interface Customer {
206
206
  * @memberof Customer
207
207
  */
208
208
  billing?: Array<CustomerBilling>;
209
+ /**
210
+ * Customer birthday
211
+ * @type {string}
212
+ * @memberof Customer
213
+ */
214
+ birth_date?: string;
209
215
  /**
210
216
  * Business notes (internally visible only)
211
217
  * @type {string}
@@ -404,6 +410,12 @@ export interface Customer {
404
410
  * @memberof Customer
405
411
  */
406
412
  qb_tax_exemption_reason_code?: number;
413
+ /**
414
+ * QuickBooks Online customer ID used to lock this customer 1:1 with QuickBooks Online
415
+ * @type {string}
416
+ * @memberof Customer
417
+ */
418
+ quickbooks_online_customer_id?: string;
407
419
  /**
408
420
  * Quotes associated with this customer profile
409
421
  * @type {Array<Order>}
@@ -554,6 +566,7 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
554
566
  'auto_approve_purchase_order': !exists(json, 'auto_approve_purchase_order') ? undefined : json['auto_approve_purchase_order'],
555
567
  'automatic_merchant_notes': !exists(json, 'automatic_merchant_notes') ? undefined : json['automatic_merchant_notes'],
556
568
  'billing': !exists(json, 'billing') ? undefined : ((json['billing'] as Array<any>).map(CustomerBillingFromJSON)),
569
+ 'birth_date': !exists(json, 'birth_date') ? undefined : json['birth_date'],
557
570
  'business_notes': !exists(json, 'business_notes') ? undefined : json['business_notes'],
558
571
  'cards': !exists(json, 'cards') ? undefined : ((json['cards'] as Array<any>).map(CustomerCardFromJSON)),
559
572
  'cc_emails': !exists(json, 'cc_emails') ? undefined : ((json['cc_emails'] as Array<any>).map(CustomerEmailFromJSON)),
@@ -587,6 +600,7 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
587
600
  'qb_class': !exists(json, 'qb_class') ? undefined : json['qb_class'],
588
601
  'qb_code': !exists(json, 'qb_code') ? undefined : json['qb_code'],
589
602
  'qb_tax_exemption_reason_code': !exists(json, 'qb_tax_exemption_reason_code') ? undefined : json['qb_tax_exemption_reason_code'],
603
+ 'quickbooks_online_customer_id': !exists(json, 'quickbooks_online_customer_id') ? undefined : json['quickbooks_online_customer_id'],
590
604
  'quotes': !exists(json, 'quotes') ? undefined : ((json['quotes'] as Array<any>).map(OrderFromJSON)),
591
605
  'quotes_summary': !exists(json, 'quotes_summary') ? undefined : CustomerQuotesSummaryFromJSON(json['quotes_summary']),
592
606
  'referral_source': !exists(json, 'referral_source') ? undefined : json['referral_source'],
@@ -631,6 +645,7 @@ export function CustomerToJSON(value?: Customer | null): any {
631
645
  'auto_approve_purchase_order': value.auto_approve_purchase_order,
632
646
  'automatic_merchant_notes': value.automatic_merchant_notes,
633
647
  'billing': value.billing === undefined ? undefined : ((value.billing as Array<any>).map(CustomerBillingToJSON)),
648
+ 'birth_date': value.birth_date,
634
649
  'business_notes': value.business_notes,
635
650
  'cards': value.cards === undefined ? undefined : ((value.cards as Array<any>).map(CustomerCardToJSON)),
636
651
  'cc_emails': value.cc_emails === undefined ? undefined : ((value.cc_emails as Array<any>).map(CustomerEmailToJSON)),
@@ -664,6 +679,7 @@ export function CustomerToJSON(value?: Customer | null): any {
664
679
  'qb_class': value.qb_class,
665
680
  'qb_code': value.qb_code,
666
681
  'qb_tax_exemption_reason_code': value.qb_tax_exemption_reason_code,
682
+ 'quickbooks_online_customer_id': value.quickbooks_online_customer_id,
667
683
  'quotes': value.quotes === undefined ? undefined : ((value.quotes as Array<any>).map(OrderToJSON)),
668
684
  'quotes_summary': CustomerQuotesSummaryToJSON(value.quotes_summary),
669
685
  'referral_source': value.referral_source,