ultracart_rest_api_v2_typescript 4.1.128 → 4.1.129
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/ChannelPartnerOrder.d.ts +6 -0
- package/dist/models/ChannelPartnerOrder.js +2 -0
- package/dist/models/OrderChannelPartner.d.ts +6 -0
- package/dist/models/OrderChannelPartner.js +2 -0
- package/package.json +1 -1
- package/src/models/ChannelPartnerOrder.ts +8 -0
- package/src/models/OrderChannelPartner.ts +8 -0
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# UltraCart Typescript SDK
|
|
2
|
-
## ultracart_rest_api_v2_typescript@4.1.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.129
|
|
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.
|
|
9
|
+
npm install ultracart_rest_api_v2_typescript@4.1.129 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -85,6 +85,7 @@ Not every change is committed to every SDK.
|
|
|
85
85
|
|
|
86
86
|
| Version | Date | Comments |
|
|
87
87
|
| --: | :-: | --- |
|
|
88
|
+
| 4.1.129 | 08/13/2026 | ChannelPartnerOrder and OrderChannelPartner were missing a property |
|
|
88
89
|
| 4.1.128 | 08/13/2026 | channel partner - added arbitrary discount to ChannelPartnerOrder |
|
|
89
90
|
| 4.1.127 | 08/13/2026 | added arbitrary discounts to order creation for historical imports |
|
|
90
91
|
| 4.1.126 | 08/10/2026 | oauth - add /oauth/me method to assist application in indentifying the connected account |
|
|
@@ -533,6 +533,12 @@ export interface ChannelPartnerOrder {
|
|
|
533
533
|
* @memberof ChannelPartnerOrder
|
|
534
534
|
*/
|
|
535
535
|
shipto_title?: string;
|
|
536
|
+
/**
|
|
537
|
+
* If true the setup of the auto order record is skipped
|
|
538
|
+
* @type {boolean}
|
|
539
|
+
* @memberof ChannelPartnerOrder
|
|
540
|
+
*/
|
|
541
|
+
skip_auto_order_setup?: boolean;
|
|
536
542
|
/**
|
|
537
543
|
* If true the order is placed directly into the shipping department
|
|
538
544
|
* @type {boolean}
|
|
@@ -152,6 +152,7 @@ function ChannelPartnerOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
152
152
|
'shipto_postal_code': !(0, runtime_1.exists)(json, 'shipto_postal_code') ? undefined : json['shipto_postal_code'],
|
|
153
153
|
'shipto_state_region': !(0, runtime_1.exists)(json, 'shipto_state_region') ? undefined : json['shipto_state_region'],
|
|
154
154
|
'shipto_title': !(0, runtime_1.exists)(json, 'shipto_title') ? undefined : json['shipto_title'],
|
|
155
|
+
'skip_auto_order_setup': !(0, runtime_1.exists)(json, 'skip_auto_order_setup') ? undefined : json['skip_auto_order_setup'],
|
|
155
156
|
'skip_payment_processing': !(0, runtime_1.exists)(json, 'skip_payment_processing') ? undefined : json['skip_payment_processing'],
|
|
156
157
|
'special_instructions': !(0, runtime_1.exists)(json, 'special_instructions') ? undefined : json['special_instructions'],
|
|
157
158
|
'store_completed': !(0, runtime_1.exists)(json, 'store_completed') ? undefined : json['store_completed'],
|
|
@@ -259,6 +260,7 @@ function ChannelPartnerOrderToJSON(value) {
|
|
|
259
260
|
'shipto_postal_code': value.shipto_postal_code,
|
|
260
261
|
'shipto_state_region': value.shipto_state_region,
|
|
261
262
|
'shipto_title': value.shipto_title,
|
|
263
|
+
'skip_auto_order_setup': value.skip_auto_order_setup,
|
|
262
264
|
'skip_payment_processing': value.skip_payment_processing,
|
|
263
265
|
'special_instructions': value.special_instructions,
|
|
264
266
|
'store_completed': value.store_completed,
|
|
@@ -57,6 +57,12 @@ export interface OrderChannelPartner {
|
|
|
57
57
|
* @memberof OrderChannelPartner
|
|
58
58
|
*/
|
|
59
59
|
no_realtime_payment_processing?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Instructs UltraCart to skip auto order setup. Only applicable on inserting orders.
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof OrderChannelPartner
|
|
64
|
+
*/
|
|
65
|
+
skip_auto_order_setup?: boolean;
|
|
60
66
|
/**
|
|
61
67
|
* Indicates this order was already paid for via a channel purchase and no payment collection should be attempted
|
|
62
68
|
* @type {boolean}
|
|
@@ -39,6 +39,7 @@ function OrderChannelPartnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'channel_partner_order_id': !(0, runtime_1.exists)(json, 'channel_partner_order_id') ? undefined : json['channel_partner_order_id'],
|
|
40
40
|
'ignore_invalid_shipping_method': !(0, runtime_1.exists)(json, 'ignore_invalid_shipping_method') ? undefined : json['ignore_invalid_shipping_method'],
|
|
41
41
|
'no_realtime_payment_processing': !(0, runtime_1.exists)(json, 'no_realtime_payment_processing') ? undefined : json['no_realtime_payment_processing'],
|
|
42
|
+
'skip_auto_order_setup': !(0, runtime_1.exists)(json, 'skip_auto_order_setup') ? undefined : json['skip_auto_order_setup'],
|
|
42
43
|
'skip_payment_processing': !(0, runtime_1.exists)(json, 'skip_payment_processing') ? undefined : json['skip_payment_processing'],
|
|
43
44
|
'store_completed': !(0, runtime_1.exists)(json, 'store_completed') ? undefined : json['store_completed'],
|
|
44
45
|
'store_if_payment_declines': !(0, runtime_1.exists)(json, 'store_if_payment_declines') ? undefined : json['store_if_payment_declines'],
|
|
@@ -61,6 +62,7 @@ function OrderChannelPartnerToJSON(value) {
|
|
|
61
62
|
'channel_partner_order_id': value.channel_partner_order_id,
|
|
62
63
|
'ignore_invalid_shipping_method': value.ignore_invalid_shipping_method,
|
|
63
64
|
'no_realtime_payment_processing': value.no_realtime_payment_processing,
|
|
65
|
+
'skip_auto_order_setup': value.skip_auto_order_setup,
|
|
64
66
|
'skip_payment_processing': value.skip_payment_processing,
|
|
65
67
|
'store_completed': value.store_completed,
|
|
66
68
|
'store_if_payment_declines': value.store_if_payment_declines,
|
package/package.json
CHANGED
|
@@ -548,6 +548,12 @@ export interface ChannelPartnerOrder {
|
|
|
548
548
|
* @memberof ChannelPartnerOrder
|
|
549
549
|
*/
|
|
550
550
|
shipto_title?: string;
|
|
551
|
+
/**
|
|
552
|
+
* If true the setup of the auto order record is skipped
|
|
553
|
+
* @type {boolean}
|
|
554
|
+
* @memberof ChannelPartnerOrder
|
|
555
|
+
*/
|
|
556
|
+
skip_auto_order_setup?: boolean;
|
|
551
557
|
/**
|
|
552
558
|
* If true the order is placed directly into the shipping department
|
|
553
559
|
* @type {boolean}
|
|
@@ -756,6 +762,7 @@ export function ChannelPartnerOrderFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
756
762
|
'shipto_postal_code': !exists(json, 'shipto_postal_code') ? undefined : json['shipto_postal_code'],
|
|
757
763
|
'shipto_state_region': !exists(json, 'shipto_state_region') ? undefined : json['shipto_state_region'],
|
|
758
764
|
'shipto_title': !exists(json, 'shipto_title') ? undefined : json['shipto_title'],
|
|
765
|
+
'skip_auto_order_setup': !exists(json, 'skip_auto_order_setup') ? undefined : json['skip_auto_order_setup'],
|
|
759
766
|
'skip_payment_processing': !exists(json, 'skip_payment_processing') ? undefined : json['skip_payment_processing'],
|
|
760
767
|
'special_instructions': !exists(json, 'special_instructions') ? undefined : json['special_instructions'],
|
|
761
768
|
'store_completed': !exists(json, 'store_completed') ? undefined : json['store_completed'],
|
|
@@ -864,6 +871,7 @@ export function ChannelPartnerOrderToJSON(value?: ChannelPartnerOrder | null): a
|
|
|
864
871
|
'shipto_postal_code': value.shipto_postal_code,
|
|
865
872
|
'shipto_state_region': value.shipto_state_region,
|
|
866
873
|
'shipto_title': value.shipto_title,
|
|
874
|
+
'skip_auto_order_setup': value.skip_auto_order_setup,
|
|
867
875
|
'skip_payment_processing': value.skip_payment_processing,
|
|
868
876
|
'special_instructions': value.special_instructions,
|
|
869
877
|
'store_completed': value.store_completed,
|
|
@@ -61,6 +61,12 @@ export interface OrderChannelPartner {
|
|
|
61
61
|
* @memberof OrderChannelPartner
|
|
62
62
|
*/
|
|
63
63
|
no_realtime_payment_processing?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Instructs UltraCart to skip auto order setup. Only applicable on inserting orders.
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof OrderChannelPartner
|
|
68
|
+
*/
|
|
69
|
+
skip_auto_order_setup?: boolean;
|
|
64
70
|
/**
|
|
65
71
|
* Indicates this order was already paid for via a channel purchase and no payment collection should be attempted
|
|
66
72
|
* @type {boolean}
|
|
@@ -115,6 +121,7 @@ export function OrderChannelPartnerFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
115
121
|
'channel_partner_order_id': !exists(json, 'channel_partner_order_id') ? undefined : json['channel_partner_order_id'],
|
|
116
122
|
'ignore_invalid_shipping_method': !exists(json, 'ignore_invalid_shipping_method') ? undefined : json['ignore_invalid_shipping_method'],
|
|
117
123
|
'no_realtime_payment_processing': !exists(json, 'no_realtime_payment_processing') ? undefined : json['no_realtime_payment_processing'],
|
|
124
|
+
'skip_auto_order_setup': !exists(json, 'skip_auto_order_setup') ? undefined : json['skip_auto_order_setup'],
|
|
118
125
|
'skip_payment_processing': !exists(json, 'skip_payment_processing') ? undefined : json['skip_payment_processing'],
|
|
119
126
|
'store_completed': !exists(json, 'store_completed') ? undefined : json['store_completed'],
|
|
120
127
|
'store_if_payment_declines': !exists(json, 'store_if_payment_declines') ? undefined : json['store_if_payment_declines'],
|
|
@@ -138,6 +145,7 @@ export function OrderChannelPartnerToJSON(value?: OrderChannelPartner | null): a
|
|
|
138
145
|
'channel_partner_order_id': value.channel_partner_order_id,
|
|
139
146
|
'ignore_invalid_shipping_method': value.ignore_invalid_shipping_method,
|
|
140
147
|
'no_realtime_payment_processing': value.no_realtime_payment_processing,
|
|
148
|
+
'skip_auto_order_setup': value.skip_auto_order_setup,
|
|
141
149
|
'skip_payment_processing': value.skip_payment_processing,
|
|
142
150
|
'store_completed': value.store_completed,
|
|
143
151
|
'store_if_payment_declines': value.store_if_payment_declines,
|