ultracart_rest_api_v2_typescript 4.0.164 → 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 +4 -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/dist/models/ReportPageVisualization.d.ts +1 -0
- package/dist/models/ReportPageVisualization.js +2 -1
- package/package.json +1 -1
- package/src/models/ChannelPartner.ts +8 -0
- package/src/models/ReportDataSource.ts +8 -0
- package/src/models/ReportPageVisualization.ts +2 -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.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,8 @@ 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 |
|
|
58
|
+
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
|
57
59
|
| 4.0.164 | 06/23/2023 | gauge constant for page visualization library |
|
|
58
60
|
| 4.0.163 | 06/20/2023 | auto order - establishAutoOrderByReferenceOrderId method added |
|
|
59
61
|
| 4.0.162 | 06/20/2023 | coupon add allowed values for usable_by and new OncePerNewCustomerForItem flag |
|
|
@@ -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,
|
|
@@ -82,6 +82,7 @@ export declare const ReportPageVisualizationTypeEnum: {
|
|
|
82
82
|
readonly Text: "text";
|
|
83
83
|
readonly Table: "table";
|
|
84
84
|
readonly Gauge: "gauge";
|
|
85
|
+
readonly PieChart: "pie chart";
|
|
85
86
|
};
|
|
86
87
|
export type ReportPageVisualizationTypeEnum = typeof ReportPageVisualizationTypeEnum[keyof typeof ReportPageVisualizationTypeEnum];
|
|
87
88
|
export declare function ReportPageVisualizationFromJSON(json: any): ReportPageVisualization;
|
|
@@ -26,7 +26,8 @@ exports.ReportPageVisualizationTypeEnum = {
|
|
|
26
26
|
BarChart: 'bar chart',
|
|
27
27
|
Text: 'text',
|
|
28
28
|
Table: 'table',
|
|
29
|
-
Gauge: 'gauge'
|
|
29
|
+
Gauge: 'gauge',
|
|
30
|
+
PieChart: 'pie chart'
|
|
30
31
|
};
|
|
31
32
|
function ReportPageVisualizationFromJSON(json) {
|
|
32
33
|
return ReportPageVisualizationFromJSONTyped(json, false);
|
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,
|
|
@@ -98,7 +98,8 @@ export const ReportPageVisualizationTypeEnum = {
|
|
|
98
98
|
BarChart: 'bar chart',
|
|
99
99
|
Text: 'text',
|
|
100
100
|
Table: 'table',
|
|
101
|
-
Gauge: 'gauge'
|
|
101
|
+
Gauge: 'gauge',
|
|
102
|
+
PieChart: 'pie chart'
|
|
102
103
|
} as const;
|
|
103
104
|
export type ReportPageVisualizationTypeEnum = typeof ReportPageVisualizationTypeEnum[keyof typeof ReportPageVisualizationTypeEnum];
|
|
104
105
|
|