ultracart_rest_api_v2_typescript 4.0.115-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
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,7 @@ 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 |
|
|
57
58
|
| 4.0.115-RC | 01/17/2023 | changed convo webchat constant |
|
|
58
59
|
| 4.0.114-RC | 01/17/2023 | support for checkout item properties |
|
|
59
60
|
| 4.0.113-RC | 01/14/2023 | add external_id to the point of sale location object |
|
|
@@ -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,
|
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,
|