ultracart_rest_api_v2_typescript 4.0.112-RC → 4.0.113-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.112-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.113-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.112-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.113-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.113-RC | 01/14/2023 | add external_id to the point of sale location object |
57
58
  | 4.0.112-RC | 01/13/2023 | channel - ops to manage ship to prefs |
58
59
  | 4.0.111-RC | 01/11/2023 | conversations - adjust search results to return multiple convo summaries |
59
60
  | 4.0.110-RC | 01/10/2023 | add method to query integration log record by oid |
@@ -45,6 +45,12 @@ export interface PointOfSaleLocation {
45
45
  * @memberof PointOfSaleLocation
46
46
  */
47
47
  distribution_center_code?: string;
48
+ /**
49
+ * External Id useful for syncing with a remote filesystem, this may be an MD5 hash or whatever suits your needs.
50
+ * @type {string}
51
+ * @memberof PointOfSaleLocation
52
+ */
53
+ external_id?: string;
48
54
  /**
49
55
  * Merchant ID that owns this location
50
56
  * @type {string}
@@ -29,6 +29,7 @@ function PointOfSaleLocationFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'city': !(0, runtime_1.exists)(json, 'city') ? undefined : json['city'],
30
30
  'country': !(0, runtime_1.exists)(json, 'country') ? undefined : json['country'],
31
31
  'distribution_center_code': !(0, runtime_1.exists)(json, 'distribution_center_code') ? undefined : json['distribution_center_code'],
32
+ 'external_id': !(0, runtime_1.exists)(json, 'external_id') ? undefined : json['external_id'],
32
33
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
33
34
  'pos_location_oid': !(0, runtime_1.exists)(json, 'pos_location_oid') ? undefined : json['pos_location_oid'],
34
35
  'postal_code': !(0, runtime_1.exists)(json, 'postal_code') ? undefined : json['postal_code'],
@@ -49,6 +50,7 @@ function PointOfSaleLocationToJSON(value) {
49
50
  'city': value.city,
50
51
  'country': value.country,
51
52
  'distribution_center_code': value.distribution_center_code,
53
+ 'external_id': value.external_id,
52
54
  'merchant_id': value.merchant_id,
53
55
  'pos_location_oid': value.pos_location_oid,
54
56
  'postal_code': value.postal_code,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.112-RC",
3
+ "version": "4.0.113-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -49,6 +49,12 @@ export interface PointOfSaleLocation {
49
49
  * @memberof PointOfSaleLocation
50
50
  */
51
51
  distribution_center_code?: string;
52
+ /**
53
+ * External Id useful for syncing with a remote filesystem, this may be an MD5 hash or whatever suits your needs.
54
+ * @type {string}
55
+ * @memberof PointOfSaleLocation
56
+ */
57
+ external_id?: string;
52
58
  /**
53
59
  * Merchant ID that owns this location
54
60
  * @type {string}
@@ -90,6 +96,7 @@ export function PointOfSaleLocationFromJSONTyped(json: any, ignoreDiscriminator:
90
96
  'city': !exists(json, 'city') ? undefined : json['city'],
91
97
  'country': !exists(json, 'country') ? undefined : json['country'],
92
98
  'distribution_center_code': !exists(json, 'distribution_center_code') ? undefined : json['distribution_center_code'],
99
+ 'external_id': !exists(json, 'external_id') ? undefined : json['external_id'],
93
100
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
94
101
  'pos_location_oid': !exists(json, 'pos_location_oid') ? undefined : json['pos_location_oid'],
95
102
  'postal_code': !exists(json, 'postal_code') ? undefined : json['postal_code'],
@@ -111,6 +118,7 @@ export function PointOfSaleLocationToJSON(value?: PointOfSaleLocation | null): a
111
118
  'city': value.city,
112
119
  'country': value.country,
113
120
  'distribution_center_code': value.distribution_center_code,
121
+ 'external_id': value.external_id,
114
122
  'merchant_id': value.merchant_id,
115
123
  'pos_location_oid': value.pos_location_oid,
116
124
  'postal_code': value.postal_code,