ultracart_rest_api_v2_typescript 4.1.90 → 4.1.91

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.90
2
+ ## ultracart_rest_api_v2_typescript@4.1.91
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.90 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.91 --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.91 | 05/18/2026 | ChannelPartner - support creation_dts on import of a store_completed (historical) order |
88
89
  | 4.1.90 | 05/13/2026 | webhook rest api - new method getWebhookEventCategories |
89
90
  | 4.1.89 | 05/11/2026 | auto order item level webhooks - cancel scheduled, cancel, pause, reactive, and unpause |
90
91
  | 4.1.88 | 05/08/2026 | order page view history |
@@ -167,6 +167,12 @@ export interface ChannelPartnerOrder {
167
167
  * @memberof ChannelPartnerOrder
168
168
  */
169
169
  coupons?: Array<string>;
170
+ /**
171
+ * Date/time the original order was placed on the channel partner's system, in ISO8601 format. Only honored when store_completed is true (historical order imports). Rejected on live orders.
172
+ * @type {string}
173
+ * @memberof ChannelPartnerOrder
174
+ */
175
+ creation_dts?: string;
170
176
  /**
171
177
  * The amount authorized externally
172
178
  * @type {number}
@@ -91,6 +91,7 @@ function ChannelPartnerOrderFromJSONTyped(json, ignoreDiscriminator) {
91
91
  'channel_partner_order_id': !(0, runtime_1.exists)(json, 'channel_partner_order_id') ? undefined : json['channel_partner_order_id'],
92
92
  'consider_recurring': !(0, runtime_1.exists)(json, 'consider_recurring') ? undefined : json['consider_recurring'],
93
93
  'coupons': !(0, runtime_1.exists)(json, 'coupons') ? undefined : json['coupons'],
94
+ 'creation_dts': !(0, runtime_1.exists)(json, 'creation_dts') ? undefined : json['creation_dts'],
94
95
  'credit_card_authorization_amount': !(0, runtime_1.exists)(json, 'credit_card_authorization_amount') ? undefined : json['credit_card_authorization_amount'],
95
96
  'credit_card_authorization_dts': !(0, runtime_1.exists)(json, 'credit_card_authorization_dts') ? undefined : json['credit_card_authorization_dts'],
96
97
  'credit_card_authorization_number': !(0, runtime_1.exists)(json, 'credit_card_authorization_number') ? undefined : json['credit_card_authorization_number'],
@@ -195,6 +196,7 @@ function ChannelPartnerOrderToJSON(value) {
195
196
  'channel_partner_order_id': value.channel_partner_order_id,
196
197
  'consider_recurring': value.consider_recurring,
197
198
  'coupons': value.coupons,
199
+ 'creation_dts': value.creation_dts,
198
200
  'credit_card_authorization_amount': value.credit_card_authorization_amount,
199
201
  'credit_card_authorization_dts': value.credit_card_authorization_dts,
200
202
  'credit_card_authorization_number': value.credit_card_authorization_number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.90",
3
+ "version": "4.1.91",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -182,6 +182,12 @@ export interface ChannelPartnerOrder {
182
182
  * @memberof ChannelPartnerOrder
183
183
  */
184
184
  coupons?: Array<string>;
185
+ /**
186
+ * Date/time the original order was placed on the channel partner's system, in ISO8601 format. Only honored when store_completed is true (historical order imports). Rejected on live orders.
187
+ * @type {string}
188
+ * @memberof ChannelPartnerOrder
189
+ */
190
+ creation_dts?: string;
185
191
  /**
186
192
  * The amount authorized externally
187
193
  * @type {number}
@@ -677,6 +683,7 @@ export function ChannelPartnerOrderFromJSONTyped(json: any, ignoreDiscriminator:
677
683
  'channel_partner_order_id': !exists(json, 'channel_partner_order_id') ? undefined : json['channel_partner_order_id'],
678
684
  'consider_recurring': !exists(json, 'consider_recurring') ? undefined : json['consider_recurring'],
679
685
  'coupons': !exists(json, 'coupons') ? undefined : json['coupons'],
686
+ 'creation_dts': !exists(json, 'creation_dts') ? undefined : json['creation_dts'],
680
687
  'credit_card_authorization_amount': !exists(json, 'credit_card_authorization_amount') ? undefined : json['credit_card_authorization_amount'],
681
688
  'credit_card_authorization_dts': !exists(json, 'credit_card_authorization_dts') ? undefined : json['credit_card_authorization_dts'],
682
689
  'credit_card_authorization_number': !exists(json, 'credit_card_authorization_number') ? undefined : json['credit_card_authorization_number'],
@@ -782,6 +789,7 @@ export function ChannelPartnerOrderToJSON(value?: ChannelPartnerOrder | null): a
782
789
  'channel_partner_order_id': value.channel_partner_order_id,
783
790
  'consider_recurring': value.consider_recurring,
784
791
  'coupons': value.coupons,
792
+ 'creation_dts': value.creation_dts,
785
793
  'credit_card_authorization_amount': value.credit_card_authorization_amount,
786
794
  'credit_card_authorization_dts': value.credit_card_authorization_dts,
787
795
  'credit_card_authorization_number': value.credit_card_authorization_number,