ultracart_rest_api_v2_typescript 4.0.114-RC → 4.0.116-RC
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 +4 -2
- package/dist/models/ChannelPartnerShipToPreference.d.ts +6 -0
- package/dist/models/ChannelPartnerShipToPreference.js +2 -0
- package/dist/models/ConversationWebsocketMessage.d.ts +1 -1
- package/dist/models/ConversationWebsocketMessage.js +1 -1
- package/package.json +1 -1
- package/src/models/ChannelPartnerShipToPreference.ts +8 -0
- package/src/models/ConversationWebsocketMessage.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.116-RC
|
|
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.116-RC --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.116-RC | 01/18/2023 | channel partner ship to pref desc field |
|
|
58
|
+
| 4.0.115-RC | 01/17/2023 | changed convo webchat constant |
|
|
57
59
|
| 4.0.114-RC | 01/17/2023 | support for checkout item properties |
|
|
58
60
|
| 4.0.113-RC | 01/14/2023 | add external_id to the point of sale location object |
|
|
59
61
|
| 4.0.112-RC | 01/13/2023 | channel - ops to manage ship to prefs |
|
|
@@ -33,6 +33,12 @@ export interface ChannelPartnerShipToPreference {
|
|
|
33
33
|
* @memberof ChannelPartnerShipToPreference
|
|
34
34
|
*/
|
|
35
35
|
channel_partner_ship_to_preference_oid?: number;
|
|
36
|
+
/**
|
|
37
|
+
* A description that is meaningful to the merchant.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ChannelPartnerShipToPreference
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
36
42
|
/**
|
|
37
43
|
* The merchant id that owns the channel partner
|
|
38
44
|
* @type {string}
|
|
@@ -27,6 +27,7 @@ function ChannelPartnerShipToPreferenceFromJSONTyped(json, ignoreDiscriminator)
|
|
|
27
27
|
'additional_kit_component_item_ids': !(0, runtime_1.exists)(json, 'additional_kit_component_item_ids') ? undefined : json['additional_kit_component_item_ids'],
|
|
28
28
|
'channel_partner_oid': !(0, runtime_1.exists)(json, 'channel_partner_oid') ? undefined : json['channel_partner_oid'],
|
|
29
29
|
'channel_partner_ship_to_preference_oid': !(0, runtime_1.exists)(json, 'channel_partner_ship_to_preference_oid') ? undefined : json['channel_partner_ship_to_preference_oid'],
|
|
30
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
30
31
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
31
32
|
'return_policy': !(0, runtime_1.exists)(json, 'return_policy') ? undefined : json['return_policy'],
|
|
32
33
|
'ship_to_edi_code': !(0, runtime_1.exists)(json, 'ship_to_edi_code') ? undefined : json['ship_to_edi_code'],
|
|
@@ -44,6 +45,7 @@ function ChannelPartnerShipToPreferenceToJSON(value) {
|
|
|
44
45
|
'additional_kit_component_item_ids': value.additional_kit_component_item_ids,
|
|
45
46
|
'channel_partner_oid': value.channel_partner_oid,
|
|
46
47
|
'channel_partner_ship_to_preference_oid': value.channel_partner_ship_to_preference_oid,
|
|
48
|
+
'description': value.description,
|
|
47
49
|
'merchant_id': value.merchant_id,
|
|
48
50
|
'return_policy': value.return_policy,
|
|
49
51
|
'ship_to_edi_code': value.ship_to_edi_code,
|
|
@@ -167,7 +167,7 @@ export declare const ConversationWebsocketMessageEventTypeEnum: {
|
|
|
167
167
|
readonly Rrweb: "rrweb";
|
|
168
168
|
readonly ParticipantUpdate: "participant update";
|
|
169
169
|
readonly ParticipantJoin: "participant join";
|
|
170
|
-
readonly
|
|
170
|
+
readonly ParticipantLeft: "participant left";
|
|
171
171
|
readonly ReadMessage: "read message";
|
|
172
172
|
readonly Typing: "typing";
|
|
173
173
|
readonly AddCoupon: "add coupon";
|
|
@@ -40,7 +40,7 @@ exports.ConversationWebsocketMessageEventTypeEnum = {
|
|
|
40
40
|
Rrweb: 'rrweb',
|
|
41
41
|
ParticipantUpdate: 'participant update',
|
|
42
42
|
ParticipantJoin: 'participant join',
|
|
43
|
-
|
|
43
|
+
ParticipantLeft: 'participant left',
|
|
44
44
|
ReadMessage: 'read message',
|
|
45
45
|
Typing: 'typing',
|
|
46
46
|
AddCoupon: 'add coupon',
|
package/package.json
CHANGED
|
@@ -37,6 +37,12 @@ export interface ChannelPartnerShipToPreference {
|
|
|
37
37
|
* @memberof ChannelPartnerShipToPreference
|
|
38
38
|
*/
|
|
39
39
|
channel_partner_ship_to_preference_oid?: number;
|
|
40
|
+
/**
|
|
41
|
+
* A description that is meaningful to the merchant.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ChannelPartnerShipToPreference
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
40
46
|
/**
|
|
41
47
|
* The merchant id that owns the channel partner
|
|
42
48
|
* @type {string}
|
|
@@ -70,6 +76,7 @@ export function ChannelPartnerShipToPreferenceFromJSONTyped(json: any, ignoreDis
|
|
|
70
76
|
'additional_kit_component_item_ids': !exists(json, 'additional_kit_component_item_ids') ? undefined : json['additional_kit_component_item_ids'],
|
|
71
77
|
'channel_partner_oid': !exists(json, 'channel_partner_oid') ? undefined : json['channel_partner_oid'],
|
|
72
78
|
'channel_partner_ship_to_preference_oid': !exists(json, 'channel_partner_ship_to_preference_oid') ? undefined : json['channel_partner_ship_to_preference_oid'],
|
|
79
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
73
80
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
74
81
|
'return_policy': !exists(json, 'return_policy') ? undefined : json['return_policy'],
|
|
75
82
|
'ship_to_edi_code': !exists(json, 'ship_to_edi_code') ? undefined : json['ship_to_edi_code'],
|
|
@@ -88,6 +95,7 @@ export function ChannelPartnerShipToPreferenceToJSON(value?: ChannelPartnerShipT
|
|
|
88
95
|
'additional_kit_component_item_ids': value.additional_kit_component_item_ids,
|
|
89
96
|
'channel_partner_oid': value.channel_partner_oid,
|
|
90
97
|
'channel_partner_ship_to_preference_oid': value.channel_partner_ship_to_preference_oid,
|
|
98
|
+
'description': value.description,
|
|
91
99
|
'merchant_id': value.merchant_id,
|
|
92
100
|
'return_policy': value.return_policy,
|
|
93
101
|
'ship_to_edi_code': value.ship_to_edi_code,
|
|
@@ -229,7 +229,7 @@ export const ConversationWebsocketMessageEventTypeEnum = {
|
|
|
229
229
|
Rrweb: 'rrweb',
|
|
230
230
|
ParticipantUpdate: 'participant update',
|
|
231
231
|
ParticipantJoin: 'participant join',
|
|
232
|
-
|
|
232
|
+
ParticipantLeft: 'participant left',
|
|
233
233
|
ReadMessage: 'read message',
|
|
234
234
|
Typing: 'typing',
|
|
235
235
|
AddCoupon: 'add coupon',
|