ultracart_rest_api_v2_typescript 4.0.70-RC → 4.0.71-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.70-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.71-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.70-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.71-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.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
57
58
  | 4.0.70-RC | 09/29/2022 | page_paths search category for search2 method |
58
59
  | 4.0.69-RC | 09/29/2022 | storefront file mgr calls tweaks |
59
60
  | 4.0.68-RC | 09/29/2022 | storefront methods for file manager ui |
@@ -33,6 +33,18 @@ export interface CartBilling {
33
33
  * @memberof CartBilling
34
34
  */
35
35
  cc_emails?: Array<string>;
36
+ /**
37
+ * Cell phone
38
+ * @type {string}
39
+ * @memberof CartBilling
40
+ */
41
+ cell_phone?: string;
42
+ /**
43
+ * Cell phone (E164 format)
44
+ * @type {string}
45
+ * @memberof CartBilling
46
+ */
47
+ cell_phone_e164?: string;
36
48
  /**
37
49
  * City
38
50
  * @type {string}
@@ -27,6 +27,8 @@ function CartBillingFromJSONTyped(json, ignoreDiscriminator) {
27
27
  'address1': !(0, runtime_1.exists)(json, 'address1') ? undefined : json['address1'],
28
28
  'address2': !(0, runtime_1.exists)(json, 'address2') ? undefined : json['address2'],
29
29
  'cc_emails': !(0, runtime_1.exists)(json, 'cc_emails') ? undefined : json['cc_emails'],
30
+ 'cell_phone': !(0, runtime_1.exists)(json, 'cell_phone') ? undefined : json['cell_phone'],
31
+ 'cell_phone_e164': !(0, runtime_1.exists)(json, 'cell_phone_e164') ? undefined : json['cell_phone_e164'],
30
32
  'city': !(0, runtime_1.exists)(json, 'city') ? undefined : json['city'],
31
33
  'company': !(0, runtime_1.exists)(json, 'company') ? undefined : json['company'],
32
34
  'country_code': !(0, runtime_1.exists)(json, 'country_code') ? undefined : json['country_code'],
@@ -53,6 +55,8 @@ function CartBillingToJSON(value) {
53
55
  'address1': value.address1,
54
56
  'address2': value.address2,
55
57
  'cc_emails': value.cc_emails,
58
+ 'cell_phone': value.cell_phone,
59
+ 'cell_phone_e164': value.cell_phone_e164,
56
60
  'city': value.city,
57
61
  'company': value.company,
58
62
  'country_code': value.country_code,
@@ -42,6 +42,12 @@ export interface FileManagerUploadUrlResponse {
42
42
  * @memberof FileManagerUploadUrlResponse
43
43
  */
44
44
  success?: boolean;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof FileManagerUploadUrlResponse
49
+ */
50
+ url?: string;
45
51
  /**
46
52
  *
47
53
  * @type {Warning}
@@ -31,6 +31,7 @@ function FileManagerUploadUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'key': !(0, runtime_1.exists)(json, 'key') ? undefined : json['key'],
32
32
  'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : (0, ResponseMetadata_1.ResponseMetadataFromJSON)(json['metadata']),
33
33
  'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
34
+ 'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
34
35
  'warning': !(0, runtime_1.exists)(json, 'warning') ? undefined : (0, Warning_1.WarningFromJSON)(json['warning']),
35
36
  };
36
37
  }
@@ -47,6 +48,7 @@ function FileManagerUploadUrlResponseToJSON(value) {
47
48
  'key': value.key,
48
49
  'metadata': (0, ResponseMetadata_1.ResponseMetadataToJSON)(value.metadata),
49
50
  'success': value.success,
51
+ 'url': value.url,
50
52
  'warning': (0, Warning_1.WarningToJSON)(value.warning),
51
53
  };
52
54
  }
@@ -260,6 +260,7 @@ export declare const OrderCurrentStageEnum: {
260
260
  readonly LeastCostRouting: "Least Cost Routing";
261
261
  readonly Unknown: "Unknown";
262
262
  readonly PreOrdered: "Pre-ordered";
263
+ readonly AdvancedOrderRouting: "Advanced Order Routing";
263
264
  };
264
265
  export declare type OrderCurrentStageEnum = typeof OrderCurrentStageEnum[keyof typeof OrderCurrentStageEnum];
265
266
  export declare function OrderFromJSON(json: any): Order;
@@ -54,7 +54,8 @@ exports.OrderCurrentStageEnum = {
54
54
  QuoteSent: 'Quote Sent',
55
55
  LeastCostRouting: 'Least Cost Routing',
56
56
  Unknown: 'Unknown',
57
- PreOrdered: 'Pre-ordered'
57
+ PreOrdered: 'Pre-ordered',
58
+ AdvancedOrderRouting: 'Advanced Order Routing'
58
59
  };
59
60
  function OrderFromJSON(json) {
60
61
  return OrderFromJSONTyped(json, false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.70-RC",
3
+ "version": "4.0.71-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -37,6 +37,18 @@ export interface CartBilling {
37
37
  * @memberof CartBilling
38
38
  */
39
39
  cc_emails?: Array<string>;
40
+ /**
41
+ * Cell phone
42
+ * @type {string}
43
+ * @memberof CartBilling
44
+ */
45
+ cell_phone?: string;
46
+ /**
47
+ * Cell phone (E164 format)
48
+ * @type {string}
49
+ * @memberof CartBilling
50
+ */
51
+ cell_phone_e164?: string;
40
52
  /**
41
53
  * City
42
54
  * @type {string}
@@ -124,6 +136,8 @@ export function CartBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean
124
136
  'address1': !exists(json, 'address1') ? undefined : json['address1'],
125
137
  'address2': !exists(json, 'address2') ? undefined : json['address2'],
126
138
  'cc_emails': !exists(json, 'cc_emails') ? undefined : json['cc_emails'],
139
+ 'cell_phone': !exists(json, 'cell_phone') ? undefined : json['cell_phone'],
140
+ 'cell_phone_e164': !exists(json, 'cell_phone_e164') ? undefined : json['cell_phone_e164'],
127
141
  'city': !exists(json, 'city') ? undefined : json['city'],
128
142
  'company': !exists(json, 'company') ? undefined : json['company'],
129
143
  'country_code': !exists(json, 'country_code') ? undefined : json['country_code'],
@@ -151,6 +165,8 @@ export function CartBillingToJSON(value?: CartBilling | null): any {
151
165
  'address1': value.address1,
152
166
  'address2': value.address2,
153
167
  'cc_emails': value.cc_emails,
168
+ 'cell_phone': value.cell_phone,
169
+ 'cell_phone_e164': value.cell_phone_e164,
154
170
  'city': value.city,
155
171
  'company': value.company,
156
172
  'country_code': value.country_code,
@@ -62,6 +62,12 @@ export interface FileManagerUploadUrlResponse {
62
62
  * @memberof FileManagerUploadUrlResponse
63
63
  */
64
64
  success?: boolean;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof FileManagerUploadUrlResponse
69
+ */
70
+ url?: string;
65
71
  /**
66
72
  *
67
73
  * @type {Warning}
@@ -84,6 +90,7 @@ export function FileManagerUploadUrlResponseFromJSONTyped(json: any, ignoreDiscr
84
90
  'key': !exists(json, 'key') ? undefined : json['key'],
85
91
  'metadata': !exists(json, 'metadata') ? undefined : ResponseMetadataFromJSON(json['metadata']),
86
92
  'success': !exists(json, 'success') ? undefined : json['success'],
93
+ 'url': !exists(json, 'url') ? undefined : json['url'],
87
94
  'warning': !exists(json, 'warning') ? undefined : WarningFromJSON(json['warning']),
88
95
  };
89
96
  }
@@ -101,6 +108,7 @@ export function FileManagerUploadUrlResponseToJSON(value?: FileManagerUploadUrlR
101
108
  'key': value.key,
102
109
  'metadata': ResponseMetadataToJSON(value.metadata),
103
110
  'success': value.success,
111
+ 'url': value.url,
104
112
  'warning': WarningToJSON(value.warning),
105
113
  };
106
114
  }
@@ -391,7 +391,8 @@ export const OrderCurrentStageEnum = {
391
391
  QuoteSent: 'Quote Sent',
392
392
  LeastCostRouting: 'Least Cost Routing',
393
393
  Unknown: 'Unknown',
394
- PreOrdered: 'Pre-ordered'
394
+ PreOrdered: 'Pre-ordered',
395
+ AdvancedOrderRouting: 'Advanced Order Routing'
395
396
  } as const;
396
397
  export type OrderCurrentStageEnum = typeof OrderCurrentStageEnum[keyof typeof OrderCurrentStageEnum];
397
398