ultracart_rest_api_v2_typescript 4.0.132 → 4.0.134

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.
@@ -629,6 +629,7 @@ src/models/OrderTokenResponse.ts
629
629
  src/models/OrderTrackingNumberDetail.ts
630
630
  src/models/OrderTrackingNumberDetails.ts
631
631
  src/models/OrderTransactionalMerchantNote.ts
632
+ src/models/OrderUtm.ts
632
633
  src/models/OrdersResponse.ts
633
634
  src/models/Permission.ts
634
635
  src/models/PointOfSaleLocation.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.132
1
+ ## ultracart_rest_api_v2_typescript@4.0.134
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.132 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.134 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 4.0.134 | 02/15/2023 | added auto order sorting by next_shipment_dts |
58
+ | 4.0.133 | 02/10/2023 | convo - add storefront_host_name to search request |
57
59
  | 4.0.132 | 02/07/2023 | convo - new event for when a customer joins a queue |
58
60
  | 4.0.131 | 02/07/2023 | convo - new event for when a customer joins a queue |
59
61
  | 4.0.130 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
@@ -27,6 +27,12 @@ export interface CartCheckout {
27
27
  * @memberof CartCheckout
28
28
  */
29
29
  custom_field1?: string;
30
+ /**
31
+ * Custom field 10
32
+ * @type {string}
33
+ * @memberof CartCheckout
34
+ */
35
+ custom_field10?: string;
30
36
  /**
31
37
  * Custom field 2
32
38
  * @type {string}
@@ -63,6 +69,18 @@ export interface CartCheckout {
63
69
  * @memberof CartCheckout
64
70
  */
65
71
  custom_field7?: string;
72
+ /**
73
+ * Custom field 8
74
+ * @type {string}
75
+ * @memberof CartCheckout
76
+ */
77
+ custom_field8?: string;
78
+ /**
79
+ * Custom field 9
80
+ * @type {string}
81
+ * @memberof CartCheckout
82
+ */
83
+ custom_field9?: string;
66
84
  /**
67
85
  * IP Address (read only unless non-browser key authenticated)
68
86
  * @type {string}
@@ -26,12 +26,15 @@ function CartCheckoutFromJSONTyped(json, ignoreDiscriminator) {
26
26
  return {
27
27
  'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
28
28
  'custom_field1': !(0, runtime_1.exists)(json, 'custom_field1') ? undefined : json['custom_field1'],
29
+ 'custom_field10': !(0, runtime_1.exists)(json, 'custom_field10') ? undefined : json['custom_field10'],
29
30
  'custom_field2': !(0, runtime_1.exists)(json, 'custom_field2') ? undefined : json['custom_field2'],
30
31
  'custom_field3': !(0, runtime_1.exists)(json, 'custom_field3') ? undefined : json['custom_field3'],
31
32
  'custom_field4': !(0, runtime_1.exists)(json, 'custom_field4') ? undefined : json['custom_field4'],
32
33
  'custom_field5': !(0, runtime_1.exists)(json, 'custom_field5') ? undefined : json['custom_field5'],
33
34
  'custom_field6': !(0, runtime_1.exists)(json, 'custom_field6') ? undefined : json['custom_field6'],
34
35
  'custom_field7': !(0, runtime_1.exists)(json, 'custom_field7') ? undefined : json['custom_field7'],
36
+ 'custom_field8': !(0, runtime_1.exists)(json, 'custom_field8') ? undefined : json['custom_field8'],
37
+ 'custom_field9': !(0, runtime_1.exists)(json, 'custom_field9') ? undefined : json['custom_field9'],
35
38
  'ip_address': !(0, runtime_1.exists)(json, 'ip_address') ? undefined : json['ip_address'],
36
39
  'return_code': !(0, runtime_1.exists)(json, 'return_code') ? undefined : json['return_code'],
37
40
  'return_url': !(0, runtime_1.exists)(json, 'return_url') ? undefined : json['return_url'],
@@ -51,12 +54,15 @@ function CartCheckoutToJSON(value) {
51
54
  return {
52
55
  'comments': value.comments,
53
56
  'custom_field1': value.custom_field1,
57
+ 'custom_field10': value.custom_field10,
54
58
  'custom_field2': value.custom_field2,
55
59
  'custom_field3': value.custom_field3,
56
60
  'custom_field4': value.custom_field4,
57
61
  'custom_field5': value.custom_field5,
58
62
  'custom_field6': value.custom_field6,
59
63
  'custom_field7': value.custom_field7,
64
+ 'custom_field8': value.custom_field8,
65
+ 'custom_field9': value.custom_field9,
60
66
  'ip_address': value.ip_address,
61
67
  'return_code': value.return_code,
62
68
  'return_url': value.return_url,
@@ -33,6 +33,12 @@ export interface LookupRequest {
33
33
  * @memberof LookupRequest
34
34
  */
35
35
  max_hits?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof LookupRequest
40
+ */
41
+ storefront_host_name?: string;
36
42
  /**
37
43
  *
38
44
  * @type {number}
@@ -27,6 +27,7 @@ function LookupRequestFromJSONTyped(json, ignoreDiscriminator) {
27
27
  'category': !(0, runtime_1.exists)(json, 'category') ? undefined : json['category'],
28
28
  'matches': !(0, runtime_1.exists)(json, 'matches') ? undefined : json['matches'],
29
29
  'max_hits': !(0, runtime_1.exists)(json, 'max_hits') ? undefined : json['max_hits'],
30
+ 'storefront_host_name': !(0, runtime_1.exists)(json, 'storefront_host_name') ? undefined : json['storefront_host_name'],
30
31
  'storefront_oid': !(0, runtime_1.exists)(json, 'storefront_oid') ? undefined : json['storefront_oid'],
31
32
  'subcategory': !(0, runtime_1.exists)(json, 'subcategory') ? undefined : json['subcategory'],
32
33
  };
@@ -43,6 +44,7 @@ function LookupRequestToJSON(value) {
43
44
  'category': value.category,
44
45
  'matches': value.matches,
45
46
  'max_hits': value.max_hits,
47
+ 'storefront_host_name': value.storefront_host_name,
46
48
  'storefront_oid': value.storefront_oid,
47
49
  'subcategory': value.subcategory,
48
50
  };
@@ -35,6 +35,7 @@ import { OrderShipping } from './OrderShipping';
35
35
  import { OrderSummary } from './OrderSummary';
36
36
  import { OrderTag } from './OrderTag';
37
37
  import { OrderTaxes } from './OrderTaxes';
38
+ import { OrderUtm } from './OrderUtm';
38
39
  /**
39
40
  *
40
41
  * @export
@@ -251,6 +252,12 @@ export interface Order {
251
252
  * @memberof Order
252
253
  */
253
254
  taxes?: OrderTaxes;
255
+ /**
256
+ * UTM clicks. The zero index is the most recent (last) UTM click
257
+ * @type {Array<OrderUtm>}
258
+ * @memberof Order
259
+ */
260
+ utms?: Array<OrderUtm>;
254
261
  }
255
262
  /**
256
263
  * @export
@@ -41,6 +41,7 @@ var OrderShipping_1 = require("./OrderShipping");
41
41
  var OrderSummary_1 = require("./OrderSummary");
42
42
  var OrderTag_1 = require("./OrderTag");
43
43
  var OrderTaxes_1 = require("./OrderTaxes");
44
+ var OrderUtm_1 = require("./OrderUtm");
44
45
  /**
45
46
  * @export
46
47
  */
@@ -102,6 +103,7 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
102
103
  'summary': !(0, runtime_1.exists)(json, 'summary') ? undefined : (0, OrderSummary_1.OrderSummaryFromJSON)(json['summary']),
103
104
  'Tags': !(0, runtime_1.exists)(json, 'Tags') ? undefined : (json['Tags'].map(OrderTag_1.OrderTagFromJSON)),
104
105
  'taxes': !(0, runtime_1.exists)(json, 'taxes') ? undefined : (0, OrderTaxes_1.OrderTaxesFromJSON)(json['taxes']),
106
+ 'utms': !(0, runtime_1.exists)(json, 'utms') ? undefined : (json['utms'].map(OrderUtm_1.OrderUtmFromJSON)),
105
107
  };
106
108
  }
107
109
  exports.OrderFromJSONTyped = OrderFromJSONTyped;
@@ -148,6 +150,7 @@ function OrderToJSON(value) {
148
150
  'summary': (0, OrderSummary_1.OrderSummaryToJSON)(value.summary),
149
151
  'Tags': value.Tags === undefined ? undefined : (value.Tags.map(OrderTag_1.OrderTagToJSON)),
150
152
  'taxes': (0, OrderTaxes_1.OrderTaxesToJSON)(value.taxes),
153
+ 'utms': value.utms === undefined ? undefined : (value.utms.map(OrderUtm_1.OrderUtmToJSON)),
151
154
  };
152
155
  }
153
156
  exports.OrderToJSON = OrderToJSON;
@@ -34,6 +34,12 @@ export interface OrderCheckout {
34
34
  * @memberof OrderCheckout
35
35
  */
36
36
  custom_field1?: string;
37
+ /**
38
+ * Custom field 10
39
+ * @type {string}
40
+ * @memberof OrderCheckout
41
+ */
42
+ custom_field10?: string;
37
43
  /**
38
44
  * Custom field 2
39
45
  * @type {string}
@@ -70,6 +76,18 @@ export interface OrderCheckout {
70
76
  * @memberof OrderCheckout
71
77
  */
72
78
  custom_field7?: string;
79
+ /**
80
+ * Custom field 8
81
+ * @type {string}
82
+ * @memberof OrderCheckout
83
+ */
84
+ custom_field8?: string;
85
+ /**
86
+ * Custom field 9
87
+ * @type {string}
88
+ * @memberof OrderCheckout
89
+ */
90
+ custom_field9?: string;
73
91
  /**
74
92
  * IP address of the customer when placing the order
75
93
  * @type {string}
@@ -28,12 +28,15 @@ function OrderCheckoutFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'browser': !(0, runtime_1.exists)(json, 'browser') ? undefined : (0, Browser_1.BrowserFromJSON)(json['browser']),
29
29
  'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
30
30
  'custom_field1': !(0, runtime_1.exists)(json, 'custom_field1') ? undefined : json['custom_field1'],
31
+ 'custom_field10': !(0, runtime_1.exists)(json, 'custom_field10') ? undefined : json['custom_field10'],
31
32
  'custom_field2': !(0, runtime_1.exists)(json, 'custom_field2') ? undefined : json['custom_field2'],
32
33
  'custom_field3': !(0, runtime_1.exists)(json, 'custom_field3') ? undefined : json['custom_field3'],
33
34
  'custom_field4': !(0, runtime_1.exists)(json, 'custom_field4') ? undefined : json['custom_field4'],
34
35
  'custom_field5': !(0, runtime_1.exists)(json, 'custom_field5') ? undefined : json['custom_field5'],
35
36
  'custom_field6': !(0, runtime_1.exists)(json, 'custom_field6') ? undefined : json['custom_field6'],
36
37
  'custom_field7': !(0, runtime_1.exists)(json, 'custom_field7') ? undefined : json['custom_field7'],
38
+ 'custom_field8': !(0, runtime_1.exists)(json, 'custom_field8') ? undefined : json['custom_field8'],
39
+ 'custom_field9': !(0, runtime_1.exists)(json, 'custom_field9') ? undefined : json['custom_field9'],
37
40
  'customer_ip_address': !(0, runtime_1.exists)(json, 'customer_ip_address') ? undefined : json['customer_ip_address'],
38
41
  'screen_branding_theme_code': !(0, runtime_1.exists)(json, 'screen_branding_theme_code') ? undefined : json['screen_branding_theme_code'],
39
42
  'screen_size': !(0, runtime_1.exists)(json, 'screen_size') ? undefined : json['screen_size'],
@@ -53,12 +56,15 @@ function OrderCheckoutToJSON(value) {
53
56
  'browser': (0, Browser_1.BrowserToJSON)(value.browser),
54
57
  'comments': value.comments,
55
58
  'custom_field1': value.custom_field1,
59
+ 'custom_field10': value.custom_field10,
56
60
  'custom_field2': value.custom_field2,
57
61
  'custom_field3': value.custom_field3,
58
62
  'custom_field4': value.custom_field4,
59
63
  'custom_field5': value.custom_field5,
60
64
  'custom_field6': value.custom_field6,
61
65
  'custom_field7': value.custom_field7,
66
+ 'custom_field8': value.custom_field8,
67
+ 'custom_field9': value.custom_field9,
62
68
  'customer_ip_address': value.customer_ip_address,
63
69
  'screen_branding_theme_code': value.screen_branding_theme_code,
64
70
  'screen_size': value.screen_size,
@@ -0,0 +1,165 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OrderUtm
16
+ */
17
+ export interface OrderUtm {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof OrderUtm
22
+ */
23
+ attribution_first_click_subtotal?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof OrderUtm
28
+ */
29
+ attribution_first_click_total?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof OrderUtm
34
+ */
35
+ attribution_last_click_subtotal?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof OrderUtm
40
+ */
41
+ attribution_last_click_total?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof OrderUtm
46
+ */
47
+ attribution_linear_subtotal?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof OrderUtm
52
+ */
53
+ attribution_linear_total?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof OrderUtm
58
+ */
59
+ attribution_position_based_subtotal?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof OrderUtm
64
+ */
65
+ attribution_position_based_total?: number;
66
+ /**
67
+ * Date/time that the click happened
68
+ * @type {string}
69
+ * @memberof OrderUtm
70
+ */
71
+ click_dts?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof OrderUtm
76
+ */
77
+ facebook_ad_id?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof OrderUtm
82
+ */
83
+ fbclid?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof OrderUtm
88
+ */
89
+ gbraid?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof OrderUtm
94
+ */
95
+ glcid?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof OrderUtm
100
+ */
101
+ msclkid?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof OrderUtm
106
+ */
107
+ ttclid?: string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof OrderUtm
112
+ */
113
+ uc_message_id?: string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof OrderUtm
118
+ */
119
+ utm_campaign?: string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof OrderUtm
124
+ */
125
+ utm_content?: string;
126
+ /**
127
+ *
128
+ * @type {string}
129
+ * @memberof OrderUtm
130
+ */
131
+ utm_id?: string;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof OrderUtm
136
+ */
137
+ utm_medium?: string;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof OrderUtm
142
+ */
143
+ utm_source?: string;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof OrderUtm
148
+ */
149
+ utm_term?: string;
150
+ /**
151
+ *
152
+ * @type {string}
153
+ * @memberof OrderUtm
154
+ */
155
+ vmcid?: string;
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof OrderUtm
160
+ */
161
+ wbraid?: string;
162
+ }
163
+ export declare function OrderUtmFromJSON(json: any): OrderUtm;
164
+ export declare function OrderUtmFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderUtm;
165
+ export declare function OrderUtmToJSON(value?: OrderUtm | null): any;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.OrderUtmToJSON = exports.OrderUtmFromJSONTyped = exports.OrderUtmFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ function OrderUtmFromJSON(json) {
19
+ return OrderUtmFromJSONTyped(json, false);
20
+ }
21
+ exports.OrderUtmFromJSON = OrderUtmFromJSON;
22
+ function OrderUtmFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'attribution_first_click_subtotal': !(0, runtime_1.exists)(json, 'attribution_first_click_subtotal') ? undefined : json['attribution_first_click_subtotal'],
28
+ 'attribution_first_click_total': !(0, runtime_1.exists)(json, 'attribution_first_click_total') ? undefined : json['attribution_first_click_total'],
29
+ 'attribution_last_click_subtotal': !(0, runtime_1.exists)(json, 'attribution_last_click_subtotal') ? undefined : json['attribution_last_click_subtotal'],
30
+ 'attribution_last_click_total': !(0, runtime_1.exists)(json, 'attribution_last_click_total') ? undefined : json['attribution_last_click_total'],
31
+ 'attribution_linear_subtotal': !(0, runtime_1.exists)(json, 'attribution_linear_subtotal') ? undefined : json['attribution_linear_subtotal'],
32
+ 'attribution_linear_total': !(0, runtime_1.exists)(json, 'attribution_linear_total') ? undefined : json['attribution_linear_total'],
33
+ 'attribution_position_based_subtotal': !(0, runtime_1.exists)(json, 'attribution_position_based_subtotal') ? undefined : json['attribution_position_based_subtotal'],
34
+ 'attribution_position_based_total': !(0, runtime_1.exists)(json, 'attribution_position_based_total') ? undefined : json['attribution_position_based_total'],
35
+ 'click_dts': !(0, runtime_1.exists)(json, 'click_dts') ? undefined : json['click_dts'],
36
+ 'facebook_ad_id': !(0, runtime_1.exists)(json, 'facebook_ad_id') ? undefined : json['facebook_ad_id'],
37
+ 'fbclid': !(0, runtime_1.exists)(json, 'fbclid') ? undefined : json['fbclid'],
38
+ 'gbraid': !(0, runtime_1.exists)(json, 'gbraid') ? undefined : json['gbraid'],
39
+ 'glcid': !(0, runtime_1.exists)(json, 'glcid') ? undefined : json['glcid'],
40
+ 'msclkid': !(0, runtime_1.exists)(json, 'msclkid') ? undefined : json['msclkid'],
41
+ 'ttclid': !(0, runtime_1.exists)(json, 'ttclid') ? undefined : json['ttclid'],
42
+ 'uc_message_id': !(0, runtime_1.exists)(json, 'uc_message_id') ? undefined : json['uc_message_id'],
43
+ 'utm_campaign': !(0, runtime_1.exists)(json, 'utm_campaign') ? undefined : json['utm_campaign'],
44
+ 'utm_content': !(0, runtime_1.exists)(json, 'utm_content') ? undefined : json['utm_content'],
45
+ 'utm_id': !(0, runtime_1.exists)(json, 'utm_id') ? undefined : json['utm_id'],
46
+ 'utm_medium': !(0, runtime_1.exists)(json, 'utm_medium') ? undefined : json['utm_medium'],
47
+ 'utm_source': !(0, runtime_1.exists)(json, 'utm_source') ? undefined : json['utm_source'],
48
+ 'utm_term': !(0, runtime_1.exists)(json, 'utm_term') ? undefined : json['utm_term'],
49
+ 'vmcid': !(0, runtime_1.exists)(json, 'vmcid') ? undefined : json['vmcid'],
50
+ 'wbraid': !(0, runtime_1.exists)(json, 'wbraid') ? undefined : json['wbraid'],
51
+ };
52
+ }
53
+ exports.OrderUtmFromJSONTyped = OrderUtmFromJSONTyped;
54
+ function OrderUtmToJSON(value) {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+ 'attribution_first_click_subtotal': value.attribution_first_click_subtotal,
63
+ 'attribution_first_click_total': value.attribution_first_click_total,
64
+ 'attribution_last_click_subtotal': value.attribution_last_click_subtotal,
65
+ 'attribution_last_click_total': value.attribution_last_click_total,
66
+ 'attribution_linear_subtotal': value.attribution_linear_subtotal,
67
+ 'attribution_linear_total': value.attribution_linear_total,
68
+ 'attribution_position_based_subtotal': value.attribution_position_based_subtotal,
69
+ 'attribution_position_based_total': value.attribution_position_based_total,
70
+ 'click_dts': value.click_dts,
71
+ 'facebook_ad_id': value.facebook_ad_id,
72
+ 'fbclid': value.fbclid,
73
+ 'gbraid': value.gbraid,
74
+ 'glcid': value.glcid,
75
+ 'msclkid': value.msclkid,
76
+ 'ttclid': value.ttclid,
77
+ 'uc_message_id': value.uc_message_id,
78
+ 'utm_campaign': value.utm_campaign,
79
+ 'utm_content': value.utm_content,
80
+ 'utm_id': value.utm_id,
81
+ 'utm_medium': value.utm_medium,
82
+ 'utm_source': value.utm_source,
83
+ 'utm_term': value.utm_term,
84
+ 'vmcid': value.vmcid,
85
+ 'wbraid': value.wbraid,
86
+ };
87
+ }
88
+ exports.OrderUtmToJSON = OrderUtmToJSON;
@@ -178,6 +178,12 @@ export interface PricingTier {
178
178
  * @memberof PricingTier
179
179
  */
180
180
  realtime_percentage_discount?: number;
181
+ /**
182
+ * Restrict inventory to this distribution center oid
183
+ * @type {number}
184
+ * @memberof PricingTier
185
+ */
186
+ restrict_to_distribution_center_oid?: number;
181
187
  /**
182
188
  *
183
189
  * @type {PricingTierNotification}
@@ -52,6 +52,7 @@ function PricingTierFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'not_valid_when_coupon_present': !(0, runtime_1.exists)(json, 'not_valid_when_coupon_present') ? undefined : json['not_valid_when_coupon_present'],
53
53
  'pricing_tier_oid': !(0, runtime_1.exists)(json, 'pricing_tier_oid') ? undefined : json['pricing_tier_oid'],
54
54
  'realtime_percentage_discount': !(0, runtime_1.exists)(json, 'realtime_percentage_discount') ? undefined : json['realtime_percentage_discount'],
55
+ 'restrict_to_distribution_center_oid': !(0, runtime_1.exists)(json, 'restrict_to_distribution_center_oid') ? undefined : json['restrict_to_distribution_center_oid'],
55
56
  'signup_notification': !(0, runtime_1.exists)(json, 'signup_notification') ? undefined : (0, PricingTierNotification_1.PricingTierNotificationFromJSON)(json['signup_notification']),
56
57
  'suppress_buysafe': !(0, runtime_1.exists)(json, 'suppress_buysafe') ? undefined : json['suppress_buysafe'],
57
58
  'suppress_mailing_list': !(0, runtime_1.exists)(json, 'suppress_mailing_list') ? undefined : json['suppress_mailing_list'],
@@ -95,6 +96,7 @@ function PricingTierToJSON(value) {
95
96
  'not_valid_when_coupon_present': value.not_valid_when_coupon_present,
96
97
  'pricing_tier_oid': value.pricing_tier_oid,
97
98
  'realtime_percentage_discount': value.realtime_percentage_discount,
99
+ 'restrict_to_distribution_center_oid': value.restrict_to_distribution_center_oid,
98
100
  'signup_notification': (0, PricingTierNotification_1.PricingTierNotificationToJSON)(value.signup_notification),
99
101
  'suppress_buysafe': value.suppress_buysafe,
100
102
  'suppress_mailing_list': value.suppress_mailing_list,
@@ -604,6 +604,7 @@ export * from './OrderTokenResponse';
604
604
  export * from './OrderTrackingNumberDetail';
605
605
  export * from './OrderTrackingNumberDetails';
606
606
  export * from './OrderTransactionalMerchantNote';
607
+ export * from './OrderUtm';
607
608
  export * from './OrdersResponse';
608
609
  export * from './Permission';
609
610
  export * from './PointOfSaleLocation';
@@ -622,6 +622,7 @@ __exportStar(require("./OrderTokenResponse"), exports);
622
622
  __exportStar(require("./OrderTrackingNumberDetail"), exports);
623
623
  __exportStar(require("./OrderTrackingNumberDetails"), exports);
624
624
  __exportStar(require("./OrderTransactionalMerchantNote"), exports);
625
+ __exportStar(require("./OrderUtm"), exports);
625
626
  __exportStar(require("./OrdersResponse"), exports);
626
627
  __exportStar(require("./Permission"), exports);
627
628
  __exportStar(require("./PointOfSaleLocation"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.132",
3
+ "version": "4.0.134",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -31,6 +31,12 @@ export interface CartCheckout {
31
31
  * @memberof CartCheckout
32
32
  */
33
33
  custom_field1?: string;
34
+ /**
35
+ * Custom field 10
36
+ * @type {string}
37
+ * @memberof CartCheckout
38
+ */
39
+ custom_field10?: string;
34
40
  /**
35
41
  * Custom field 2
36
42
  * @type {string}
@@ -67,6 +73,18 @@ export interface CartCheckout {
67
73
  * @memberof CartCheckout
68
74
  */
69
75
  custom_field7?: string;
76
+ /**
77
+ * Custom field 8
78
+ * @type {string}
79
+ * @memberof CartCheckout
80
+ */
81
+ custom_field8?: string;
82
+ /**
83
+ * Custom field 9
84
+ * @type {string}
85
+ * @memberof CartCheckout
86
+ */
87
+ custom_field9?: string;
70
88
  /**
71
89
  * IP Address (read only unless non-browser key authenticated)
72
90
  * @type {string}
@@ -117,12 +135,15 @@ export function CartCheckoutFromJSONTyped(json: any, ignoreDiscriminator: boolea
117
135
 
118
136
  'comments': !exists(json, 'comments') ? undefined : json['comments'],
119
137
  'custom_field1': !exists(json, 'custom_field1') ? undefined : json['custom_field1'],
138
+ 'custom_field10': !exists(json, 'custom_field10') ? undefined : json['custom_field10'],
120
139
  'custom_field2': !exists(json, 'custom_field2') ? undefined : json['custom_field2'],
121
140
  'custom_field3': !exists(json, 'custom_field3') ? undefined : json['custom_field3'],
122
141
  'custom_field4': !exists(json, 'custom_field4') ? undefined : json['custom_field4'],
123
142
  'custom_field5': !exists(json, 'custom_field5') ? undefined : json['custom_field5'],
124
143
  'custom_field6': !exists(json, 'custom_field6') ? undefined : json['custom_field6'],
125
144
  'custom_field7': !exists(json, 'custom_field7') ? undefined : json['custom_field7'],
145
+ 'custom_field8': !exists(json, 'custom_field8') ? undefined : json['custom_field8'],
146
+ 'custom_field9': !exists(json, 'custom_field9') ? undefined : json['custom_field9'],
126
147
  'ip_address': !exists(json, 'ip_address') ? undefined : json['ip_address'],
127
148
  'return_code': !exists(json, 'return_code') ? undefined : json['return_code'],
128
149
  'return_url': !exists(json, 'return_url') ? undefined : json['return_url'],
@@ -143,12 +164,15 @@ export function CartCheckoutToJSON(value?: CartCheckout | null): any {
143
164
 
144
165
  'comments': value.comments,
145
166
  'custom_field1': value.custom_field1,
167
+ 'custom_field10': value.custom_field10,
146
168
  'custom_field2': value.custom_field2,
147
169
  'custom_field3': value.custom_field3,
148
170
  'custom_field4': value.custom_field4,
149
171
  'custom_field5': value.custom_field5,
150
172
  'custom_field6': value.custom_field6,
151
173
  'custom_field7': value.custom_field7,
174
+ 'custom_field8': value.custom_field8,
175
+ 'custom_field9': value.custom_field9,
152
176
  'ip_address': value.ip_address,
153
177
  'return_code': value.return_code,
154
178
  'return_url': value.return_url,
@@ -37,6 +37,12 @@ export interface LookupRequest {
37
37
  * @memberof LookupRequest
38
38
  */
39
39
  max_hits?: number;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof LookupRequest
44
+ */
45
+ storefront_host_name?: string;
40
46
  /**
41
47
  *
42
48
  * @type {number}
@@ -64,6 +70,7 @@ export function LookupRequestFromJSONTyped(json: any, ignoreDiscriminator: boole
64
70
  'category': !exists(json, 'category') ? undefined : json['category'],
65
71
  'matches': !exists(json, 'matches') ? undefined : json['matches'],
66
72
  'max_hits': !exists(json, 'max_hits') ? undefined : json['max_hits'],
73
+ 'storefront_host_name': !exists(json, 'storefront_host_name') ? undefined : json['storefront_host_name'],
67
74
  'storefront_oid': !exists(json, 'storefront_oid') ? undefined : json['storefront_oid'],
68
75
  'subcategory': !exists(json, 'subcategory') ? undefined : json['subcategory'],
69
76
  };
@@ -81,6 +88,7 @@ export function LookupRequestToJSON(value?: LookupRequest | null): any {
81
88
  'category': value.category,
82
89
  'matches': value.matches,
83
90
  'max_hits': value.max_hits,
91
+ 'storefront_host_name': value.storefront_host_name,
84
92
  'storefront_oid': value.storefront_oid,
85
93
  'subcategory': value.subcategory,
86
94
  };
@@ -169,6 +169,12 @@ import {
169
169
  OrderTaxesFromJSONTyped,
170
170
  OrderTaxesToJSON,
171
171
  } from './OrderTaxes';
172
+ import {
173
+ OrderUtm,
174
+ OrderUtmFromJSON,
175
+ OrderUtmFromJSONTyped,
176
+ OrderUtmToJSON,
177
+ } from './OrderUtm';
172
178
 
173
179
  /**
174
180
  *
@@ -386,6 +392,12 @@ export interface Order {
386
392
  * @memberof Order
387
393
  */
388
394
  taxes?: OrderTaxes;
395
+ /**
396
+ * UTM clicks. The zero index is the most recent (last) UTM click
397
+ * @type {Array<OrderUtm>}
398
+ * @memberof Order
399
+ */
400
+ utms?: Array<OrderUtm>;
389
401
  }
390
402
 
391
403
 
@@ -454,6 +466,7 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord
454
466
  'summary': !exists(json, 'summary') ? undefined : OrderSummaryFromJSON(json['summary']),
455
467
  'Tags': !exists(json, 'Tags') ? undefined : ((json['Tags'] as Array<any>).map(OrderTagFromJSON)),
456
468
  'taxes': !exists(json, 'taxes') ? undefined : OrderTaxesFromJSON(json['taxes']),
469
+ 'utms': !exists(json, 'utms') ? undefined : ((json['utms'] as Array<any>).map(OrderUtmFromJSON)),
457
470
  };
458
471
  }
459
472
 
@@ -501,6 +514,7 @@ export function OrderToJSON(value?: Order | null): any {
501
514
  'summary': OrderSummaryToJSON(value.summary),
502
515
  'Tags': value.Tags === undefined ? undefined : ((value.Tags as Array<any>).map(OrderTagToJSON)),
503
516
  'taxes': OrderTaxesToJSON(value.taxes),
517
+ 'utms': value.utms === undefined ? undefined : ((value.utms as Array<any>).map(OrderUtmToJSON)),
504
518
  };
505
519
  }
506
520
 
@@ -44,6 +44,12 @@ export interface OrderCheckout {
44
44
  * @memberof OrderCheckout
45
45
  */
46
46
  custom_field1?: string;
47
+ /**
48
+ * Custom field 10
49
+ * @type {string}
50
+ * @memberof OrderCheckout
51
+ */
52
+ custom_field10?: string;
47
53
  /**
48
54
  * Custom field 2
49
55
  * @type {string}
@@ -80,6 +86,18 @@ export interface OrderCheckout {
80
86
  * @memberof OrderCheckout
81
87
  */
82
88
  custom_field7?: string;
89
+ /**
90
+ * Custom field 8
91
+ * @type {string}
92
+ * @memberof OrderCheckout
93
+ */
94
+ custom_field8?: string;
95
+ /**
96
+ * Custom field 9
97
+ * @type {string}
98
+ * @memberof OrderCheckout
99
+ */
100
+ custom_field9?: string;
83
101
  /**
84
102
  * IP address of the customer when placing the order
85
103
  * @type {string}
@@ -125,12 +143,15 @@ export function OrderCheckoutFromJSONTyped(json: any, ignoreDiscriminator: boole
125
143
  'browser': !exists(json, 'browser') ? undefined : BrowserFromJSON(json['browser']),
126
144
  'comments': !exists(json, 'comments') ? undefined : json['comments'],
127
145
  'custom_field1': !exists(json, 'custom_field1') ? undefined : json['custom_field1'],
146
+ 'custom_field10': !exists(json, 'custom_field10') ? undefined : json['custom_field10'],
128
147
  'custom_field2': !exists(json, 'custom_field2') ? undefined : json['custom_field2'],
129
148
  'custom_field3': !exists(json, 'custom_field3') ? undefined : json['custom_field3'],
130
149
  'custom_field4': !exists(json, 'custom_field4') ? undefined : json['custom_field4'],
131
150
  'custom_field5': !exists(json, 'custom_field5') ? undefined : json['custom_field5'],
132
151
  'custom_field6': !exists(json, 'custom_field6') ? undefined : json['custom_field6'],
133
152
  'custom_field7': !exists(json, 'custom_field7') ? undefined : json['custom_field7'],
153
+ 'custom_field8': !exists(json, 'custom_field8') ? undefined : json['custom_field8'],
154
+ 'custom_field9': !exists(json, 'custom_field9') ? undefined : json['custom_field9'],
134
155
  'customer_ip_address': !exists(json, 'customer_ip_address') ? undefined : json['customer_ip_address'],
135
156
  'screen_branding_theme_code': !exists(json, 'screen_branding_theme_code') ? undefined : json['screen_branding_theme_code'],
136
157
  'screen_size': !exists(json, 'screen_size') ? undefined : json['screen_size'],
@@ -151,12 +172,15 @@ export function OrderCheckoutToJSON(value?: OrderCheckout | null): any {
151
172
  'browser': BrowserToJSON(value.browser),
152
173
  'comments': value.comments,
153
174
  'custom_field1': value.custom_field1,
175
+ 'custom_field10': value.custom_field10,
154
176
  'custom_field2': value.custom_field2,
155
177
  'custom_field3': value.custom_field3,
156
178
  'custom_field4': value.custom_field4,
157
179
  'custom_field5': value.custom_field5,
158
180
  'custom_field6': value.custom_field6,
159
181
  'custom_field7': value.custom_field7,
182
+ 'custom_field8': value.custom_field8,
183
+ 'custom_field9': value.custom_field9,
160
184
  'customer_ip_address': value.customer_ip_address,
161
185
  'screen_branding_theme_code': value.screen_branding_theme_code,
162
186
  'screen_size': value.screen_size,
@@ -0,0 +1,240 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * UltraCart Rest API V2
5
+ * UltraCart REST API Version 2
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@ultracart.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OrderUtm
20
+ */
21
+ export interface OrderUtm {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof OrderUtm
26
+ */
27
+ attribution_first_click_subtotal?: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof OrderUtm
32
+ */
33
+ attribution_first_click_total?: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof OrderUtm
38
+ */
39
+ attribution_last_click_subtotal?: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof OrderUtm
44
+ */
45
+ attribution_last_click_total?: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof OrderUtm
50
+ */
51
+ attribution_linear_subtotal?: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof OrderUtm
56
+ */
57
+ attribution_linear_total?: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof OrderUtm
62
+ */
63
+ attribution_position_based_subtotal?: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof OrderUtm
68
+ */
69
+ attribution_position_based_total?: number;
70
+ /**
71
+ * Date/time that the click happened
72
+ * @type {string}
73
+ * @memberof OrderUtm
74
+ */
75
+ click_dts?: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof OrderUtm
80
+ */
81
+ facebook_ad_id?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof OrderUtm
86
+ */
87
+ fbclid?: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof OrderUtm
92
+ */
93
+ gbraid?: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof OrderUtm
98
+ */
99
+ glcid?: string;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof OrderUtm
104
+ */
105
+ msclkid?: string;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof OrderUtm
110
+ */
111
+ ttclid?: string;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof OrderUtm
116
+ */
117
+ uc_message_id?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof OrderUtm
122
+ */
123
+ utm_campaign?: string;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof OrderUtm
128
+ */
129
+ utm_content?: string;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof OrderUtm
134
+ */
135
+ utm_id?: string;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof OrderUtm
140
+ */
141
+ utm_medium?: string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof OrderUtm
146
+ */
147
+ utm_source?: string;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof OrderUtm
152
+ */
153
+ utm_term?: string;
154
+ /**
155
+ *
156
+ * @type {string}
157
+ * @memberof OrderUtm
158
+ */
159
+ vmcid?: string;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof OrderUtm
164
+ */
165
+ wbraid?: string;
166
+ }
167
+
168
+ export function OrderUtmFromJSON(json: any): OrderUtm {
169
+ return OrderUtmFromJSONTyped(json, false);
170
+ }
171
+
172
+ export function OrderUtmFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderUtm {
173
+ if ((json === undefined) || (json === null)) {
174
+ return json;
175
+ }
176
+ return {
177
+
178
+ 'attribution_first_click_subtotal': !exists(json, 'attribution_first_click_subtotal') ? undefined : json['attribution_first_click_subtotal'],
179
+ 'attribution_first_click_total': !exists(json, 'attribution_first_click_total') ? undefined : json['attribution_first_click_total'],
180
+ 'attribution_last_click_subtotal': !exists(json, 'attribution_last_click_subtotal') ? undefined : json['attribution_last_click_subtotal'],
181
+ 'attribution_last_click_total': !exists(json, 'attribution_last_click_total') ? undefined : json['attribution_last_click_total'],
182
+ 'attribution_linear_subtotal': !exists(json, 'attribution_linear_subtotal') ? undefined : json['attribution_linear_subtotal'],
183
+ 'attribution_linear_total': !exists(json, 'attribution_linear_total') ? undefined : json['attribution_linear_total'],
184
+ 'attribution_position_based_subtotal': !exists(json, 'attribution_position_based_subtotal') ? undefined : json['attribution_position_based_subtotal'],
185
+ 'attribution_position_based_total': !exists(json, 'attribution_position_based_total') ? undefined : json['attribution_position_based_total'],
186
+ 'click_dts': !exists(json, 'click_dts') ? undefined : json['click_dts'],
187
+ 'facebook_ad_id': !exists(json, 'facebook_ad_id') ? undefined : json['facebook_ad_id'],
188
+ 'fbclid': !exists(json, 'fbclid') ? undefined : json['fbclid'],
189
+ 'gbraid': !exists(json, 'gbraid') ? undefined : json['gbraid'],
190
+ 'glcid': !exists(json, 'glcid') ? undefined : json['glcid'],
191
+ 'msclkid': !exists(json, 'msclkid') ? undefined : json['msclkid'],
192
+ 'ttclid': !exists(json, 'ttclid') ? undefined : json['ttclid'],
193
+ 'uc_message_id': !exists(json, 'uc_message_id') ? undefined : json['uc_message_id'],
194
+ 'utm_campaign': !exists(json, 'utm_campaign') ? undefined : json['utm_campaign'],
195
+ 'utm_content': !exists(json, 'utm_content') ? undefined : json['utm_content'],
196
+ 'utm_id': !exists(json, 'utm_id') ? undefined : json['utm_id'],
197
+ 'utm_medium': !exists(json, 'utm_medium') ? undefined : json['utm_medium'],
198
+ 'utm_source': !exists(json, 'utm_source') ? undefined : json['utm_source'],
199
+ 'utm_term': !exists(json, 'utm_term') ? undefined : json['utm_term'],
200
+ 'vmcid': !exists(json, 'vmcid') ? undefined : json['vmcid'],
201
+ 'wbraid': !exists(json, 'wbraid') ? undefined : json['wbraid'],
202
+ };
203
+ }
204
+
205
+ export function OrderUtmToJSON(value?: OrderUtm | null): any {
206
+ if (value === undefined) {
207
+ return undefined;
208
+ }
209
+ if (value === null) {
210
+ return null;
211
+ }
212
+ return {
213
+
214
+ 'attribution_first_click_subtotal': value.attribution_first_click_subtotal,
215
+ 'attribution_first_click_total': value.attribution_first_click_total,
216
+ 'attribution_last_click_subtotal': value.attribution_last_click_subtotal,
217
+ 'attribution_last_click_total': value.attribution_last_click_total,
218
+ 'attribution_linear_subtotal': value.attribution_linear_subtotal,
219
+ 'attribution_linear_total': value.attribution_linear_total,
220
+ 'attribution_position_based_subtotal': value.attribution_position_based_subtotal,
221
+ 'attribution_position_based_total': value.attribution_position_based_total,
222
+ 'click_dts': value.click_dts,
223
+ 'facebook_ad_id': value.facebook_ad_id,
224
+ 'fbclid': value.fbclid,
225
+ 'gbraid': value.gbraid,
226
+ 'glcid': value.glcid,
227
+ 'msclkid': value.msclkid,
228
+ 'ttclid': value.ttclid,
229
+ 'uc_message_id': value.uc_message_id,
230
+ 'utm_campaign': value.utm_campaign,
231
+ 'utm_content': value.utm_content,
232
+ 'utm_id': value.utm_id,
233
+ 'utm_medium': value.utm_medium,
234
+ 'utm_source': value.utm_source,
235
+ 'utm_term': value.utm_term,
236
+ 'vmcid': value.vmcid,
237
+ 'wbraid': value.wbraid,
238
+ };
239
+ }
240
+
@@ -188,6 +188,12 @@ export interface PricingTier {
188
188
  * @memberof PricingTier
189
189
  */
190
190
  realtime_percentage_discount?: number;
191
+ /**
192
+ * Restrict inventory to this distribution center oid
193
+ * @type {number}
194
+ * @memberof PricingTier
195
+ */
196
+ restrict_to_distribution_center_oid?: number;
191
197
  /**
192
198
  *
193
199
  * @type {PricingTierNotification}
@@ -257,6 +263,7 @@ export function PricingTierFromJSONTyped(json: any, ignoreDiscriminator: boolean
257
263
  'not_valid_when_coupon_present': !exists(json, 'not_valid_when_coupon_present') ? undefined : json['not_valid_when_coupon_present'],
258
264
  'pricing_tier_oid': !exists(json, 'pricing_tier_oid') ? undefined : json['pricing_tier_oid'],
259
265
  'realtime_percentage_discount': !exists(json, 'realtime_percentage_discount') ? undefined : json['realtime_percentage_discount'],
266
+ 'restrict_to_distribution_center_oid': !exists(json, 'restrict_to_distribution_center_oid') ? undefined : json['restrict_to_distribution_center_oid'],
260
267
  'signup_notification': !exists(json, 'signup_notification') ? undefined : PricingTierNotificationFromJSON(json['signup_notification']),
261
268
  'suppress_buysafe': !exists(json, 'suppress_buysafe') ? undefined : json['suppress_buysafe'],
262
269
  'suppress_mailing_list': !exists(json, 'suppress_mailing_list') ? undefined : json['suppress_mailing_list'],
@@ -301,6 +308,7 @@ export function PricingTierToJSON(value?: PricingTier | null): any {
301
308
  'not_valid_when_coupon_present': value.not_valid_when_coupon_present,
302
309
  'pricing_tier_oid': value.pricing_tier_oid,
303
310
  'realtime_percentage_discount': value.realtime_percentage_discount,
311
+ 'restrict_to_distribution_center_oid': value.restrict_to_distribution_center_oid,
304
312
  'signup_notification': PricingTierNotificationToJSON(value.signup_notification),
305
313
  'suppress_buysafe': value.suppress_buysafe,
306
314
  'suppress_mailing_list': value.suppress_mailing_list,
@@ -606,6 +606,7 @@ export * from './OrderTokenResponse';
606
606
  export * from './OrderTrackingNumberDetail';
607
607
  export * from './OrderTrackingNumberDetails';
608
608
  export * from './OrderTransactionalMerchantNote';
609
+ export * from './OrderUtm';
609
610
  export * from './OrdersResponse';
610
611
  export * from './Permission';
611
612
  export * from './PointOfSaleLocation';