ultracart_rest_api_v2_typescript 4.0.165 → 4.0.166
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 +3 -2
- package/dist/models/ChannelPartner.d.ts +6 -0
- package/dist/models/ChannelPartner.js +2 -0
- package/dist/models/ReportDataSource.d.ts +6 -0
- package/dist/models/ReportDataSource.js +2 -0
- package/package.json +1 -1
- package/src/models/ChannelPartner.ts +8 -0
- package/src/models/ReportDataSource.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.166
|
|
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.166 --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.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
|
57
58
|
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
|
58
59
|
| 4.0.164 | 06/23/2023 | gauge constant for page visualization library |
|
|
59
60
|
| 4.0.163 | 06/20/2023 | auto order - establishAutoOrderByReferenceOrderId method added |
|
|
@@ -33,6 +33,12 @@ export interface ChannelPartner {
|
|
|
33
33
|
* @memberof ChannelPartner
|
|
34
34
|
*/
|
|
35
35
|
communication_method?: string;
|
|
36
|
+
/**
|
|
37
|
+
* True if shipments should immediately process for this channel partner.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ChannelPartner
|
|
40
|
+
*/
|
|
41
|
+
dont_hold_shipment?: boolean;
|
|
36
42
|
/**
|
|
37
43
|
* True if the channel partner is inactive
|
|
38
44
|
* @type {boolean}
|
|
@@ -27,6 +27,7 @@ function ChannelPartnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'channel_partner_oid': !(0, runtime_1.exists)(json, 'channel_partner_oid') ? undefined : json['channel_partner_oid'],
|
|
28
28
|
'code': !(0, runtime_1.exists)(json, 'code') ? undefined : json['code'],
|
|
29
29
|
'communication_method': !(0, runtime_1.exists)(json, 'communication_method') ? undefined : json['communication_method'],
|
|
30
|
+
'dont_hold_shipment': !(0, runtime_1.exists)(json, 'dont_hold_shipment') ? undefined : json['dont_hold_shipment'],
|
|
30
31
|
'inactive': !(0, runtime_1.exists)(json, 'inactive') ? undefined : json['inactive'],
|
|
31
32
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
32
33
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
@@ -45,6 +46,7 @@ function ChannelPartnerToJSON(value) {
|
|
|
45
46
|
'channel_partner_oid': value.channel_partner_oid,
|
|
46
47
|
'code': value.code,
|
|
47
48
|
'communication_method': value.communication_method,
|
|
49
|
+
'dont_hold_shipment': value.dont_hold_shipment,
|
|
48
50
|
'inactive': value.inactive,
|
|
49
51
|
'merchant_id': value.merchant_id,
|
|
50
52
|
'name': value.name,
|
|
@@ -16,6 +16,12 @@ import { ReportDataSourceSchema } from './ReportDataSourceSchema';
|
|
|
16
16
|
* @interface ReportDataSource
|
|
17
17
|
*/
|
|
18
18
|
export interface ReportDataSource {
|
|
19
|
+
/**
|
|
20
|
+
* A unique identifier assigned to the data source.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ReportDataSource
|
|
23
|
+
*/
|
|
24
|
+
data_source_uuid?: string;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -25,6 +25,7 @@ function ReportDataSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'data_source_uuid': !(0, runtime_1.exists)(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
28
29
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
30
|
'partition_date_column': !(0, runtime_1.exists)(json, 'partition_date_column') ? undefined : json['partition_date_column'],
|
|
30
31
|
'partition_date_safety_days': !(0, runtime_1.exists)(json, 'partition_date_safety_days') ? undefined : json['partition_date_safety_days'],
|
|
@@ -42,6 +43,7 @@ function ReportDataSourceToJSON(value) {
|
|
|
42
43
|
return null;
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
46
|
+
'data_source_uuid': value.data_source_uuid,
|
|
45
47
|
'name': value.name,
|
|
46
48
|
'partition_date_column': value.partition_date_column,
|
|
47
49
|
'partition_date_safety_days': value.partition_date_safety_days,
|
package/package.json
CHANGED
|
@@ -37,6 +37,12 @@ export interface ChannelPartner {
|
|
|
37
37
|
* @memberof ChannelPartner
|
|
38
38
|
*/
|
|
39
39
|
communication_method?: string;
|
|
40
|
+
/**
|
|
41
|
+
* True if shipments should immediately process for this channel partner.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof ChannelPartner
|
|
44
|
+
*/
|
|
45
|
+
dont_hold_shipment?: boolean;
|
|
40
46
|
/**
|
|
41
47
|
* True if the channel partner is inactive
|
|
42
48
|
* @type {boolean}
|
|
@@ -76,6 +82,7 @@ export function ChannelPartnerFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
76
82
|
'channel_partner_oid': !exists(json, 'channel_partner_oid') ? undefined : json['channel_partner_oid'],
|
|
77
83
|
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
78
84
|
'communication_method': !exists(json, 'communication_method') ? undefined : json['communication_method'],
|
|
85
|
+
'dont_hold_shipment': !exists(json, 'dont_hold_shipment') ? undefined : json['dont_hold_shipment'],
|
|
79
86
|
'inactive': !exists(json, 'inactive') ? undefined : json['inactive'],
|
|
80
87
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
81
88
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
@@ -95,6 +102,7 @@ export function ChannelPartnerToJSON(value?: ChannelPartner | null): any {
|
|
|
95
102
|
'channel_partner_oid': value.channel_partner_oid,
|
|
96
103
|
'code': value.code,
|
|
97
104
|
'communication_method': value.communication_method,
|
|
105
|
+
'dont_hold_shipment': value.dont_hold_shipment,
|
|
98
106
|
'inactive': value.inactive,
|
|
99
107
|
'merchant_id': value.merchant_id,
|
|
100
108
|
'name': value.name,
|
|
@@ -26,6 +26,12 @@ import {
|
|
|
26
26
|
* @interface ReportDataSource
|
|
27
27
|
*/
|
|
28
28
|
export interface ReportDataSource {
|
|
29
|
+
/**
|
|
30
|
+
* A unique identifier assigned to the data source.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ReportDataSource
|
|
33
|
+
*/
|
|
34
|
+
data_source_uuid?: string;
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
31
37
|
* @type {string}
|
|
@@ -74,6 +80,7 @@ export function ReportDataSourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
74
80
|
}
|
|
75
81
|
return {
|
|
76
82
|
|
|
83
|
+
'data_source_uuid': !exists(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
77
84
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
78
85
|
'partition_date_column': !exists(json, 'partition_date_column') ? undefined : json['partition_date_column'],
|
|
79
86
|
'partition_date_safety_days': !exists(json, 'partition_date_safety_days') ? undefined : json['partition_date_safety_days'],
|
|
@@ -92,6 +99,7 @@ export function ReportDataSourceToJSON(value?: ReportDataSource | null): any {
|
|
|
92
99
|
}
|
|
93
100
|
return {
|
|
94
101
|
|
|
102
|
+
'data_source_uuid': value.data_source_uuid,
|
|
95
103
|
'name': value.name,
|
|
96
104
|
'partition_date_column': value.partition_date_column,
|
|
97
105
|
'partition_date_safety_days': value.partition_date_safety_days,
|