ultracart_rest_api_v2_typescript 4.0.167 → 4.0.169
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/OrderPayment.d.ts +2 -0
- package/dist/models/OrderPayment.js +3 -1
- package/dist/models/OrderQuery.d.ts +3 -0
- package/dist/models/OrderQuery.js +4 -1
- package/dist/models/Report.d.ts +6 -0
- package/dist/models/Report.js +2 -0
- package/dist/models/ReportFilterConnection.d.ts +6 -0
- package/dist/models/ReportFilterConnection.js +2 -0
- package/dist/models/ReportPage.d.ts +6 -0
- package/dist/models/ReportPage.js +2 -0
- package/package.json +1 -1
- package/src/models/OrderPayment.ts +3 -1
- package/src/models/OrderQuery.ts +4 -1
- package/src/models/Report.ts +8 -0
- package/src/models/ReportFilterConnection.ts +8 -0
- package/src/models/ReportPage.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.169
|
|
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.169 --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.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
|
|
58
|
+
| 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
|
57
59
|
| 4.0.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
|
|
58
60
|
| 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
|
59
61
|
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
|
@@ -157,6 +157,8 @@ export declare const OrderPaymentPaymentMethodEnum: {
|
|
|
157
157
|
readonly ShopCom: "Shop.com";
|
|
158
158
|
readonly Sezzle: "Sezzle";
|
|
159
159
|
readonly Venmo: "Venmo";
|
|
160
|
+
readonly ApplePay: "Apple Pay";
|
|
161
|
+
readonly GooglePay: "Google Pay";
|
|
160
162
|
};
|
|
161
163
|
export type OrderPaymentPaymentMethodEnum = typeof OrderPaymentPaymentMethodEnum[keyof typeof OrderPaymentPaymentMethodEnum];
|
|
162
164
|
/**
|
|
@@ -285,6 +285,9 @@ export declare const OrderQueryPaymentMethodEnum: {
|
|
|
285
285
|
readonly QuoteRequest: "Quote Request";
|
|
286
286
|
readonly Unknown: "Unknown";
|
|
287
287
|
readonly WireTransfer: "Wire Transfer";
|
|
288
|
+
readonly Venmo: "Venmo";
|
|
289
|
+
readonly ApplePay: "Apple Pay";
|
|
290
|
+
readonly GooglePay: " Google Pay";
|
|
288
291
|
};
|
|
289
292
|
export type OrderQueryPaymentMethodEnum = typeof OrderQueryPaymentMethodEnum[keyof typeof OrderQueryPaymentMethodEnum];
|
|
290
293
|
export declare function OrderQueryFromJSON(json: any): OrderQuery;
|
|
@@ -48,7 +48,10 @@ exports.OrderQueryPaymentMethodEnum = {
|
|
|
48
48
|
PurchaseOrder: 'Purchase Order',
|
|
49
49
|
QuoteRequest: 'Quote Request',
|
|
50
50
|
Unknown: 'Unknown',
|
|
51
|
-
WireTransfer: 'Wire Transfer'
|
|
51
|
+
WireTransfer: 'Wire Transfer',
|
|
52
|
+
Venmo: 'Venmo',
|
|
53
|
+
ApplePay: 'Apple Pay',
|
|
54
|
+
GooglePay: ' Google Pay'
|
|
52
55
|
};
|
|
53
56
|
function OrderQueryFromJSON(json) {
|
|
54
57
|
return OrderQueryFromJSONTyped(json, false);
|
package/dist/models/Report.d.ts
CHANGED
|
@@ -78,6 +78,12 @@ export interface Report {
|
|
|
78
78
|
* @memberof Report
|
|
79
79
|
*/
|
|
80
80
|
security_level?: ReportSecurityLevelEnum;
|
|
81
|
+
/**
|
|
82
|
+
* A JSON representation of the settings for this report
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof Report
|
|
85
|
+
*/
|
|
86
|
+
settings?: string;
|
|
81
87
|
}
|
|
82
88
|
/**
|
|
83
89
|
* @export
|
package/dist/models/Report.js
CHANGED
|
@@ -46,6 +46,7 @@ function ReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'pages': !(0, runtime_1.exists)(json, 'pages') ? undefined : (json['pages'].map(ReportPage_1.ReportPageFromJSON)),
|
|
47
47
|
'report_oid': !(0, runtime_1.exists)(json, 'report_oid') ? undefined : json['report_oid'],
|
|
48
48
|
'security_level': !(0, runtime_1.exists)(json, 'security_level') ? undefined : json['security_level'],
|
|
49
|
+
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
exports.ReportFromJSONTyped = ReportFromJSONTyped;
|
|
@@ -67,6 +68,7 @@ function ReportToJSON(value) {
|
|
|
67
68
|
'pages': value.pages === undefined ? undefined : (value.pages.map(ReportPage_1.ReportPageToJSON)),
|
|
68
69
|
'report_oid': value.report_oid,
|
|
69
70
|
'security_level': value.security_level,
|
|
71
|
+
'settings': value.settings,
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
74
|
exports.ReportToJSON = ReportToJSON;
|
|
@@ -27,6 +27,12 @@ export interface ReportFilterConnection {
|
|
|
27
27
|
* @memberof ReportFilterConnection
|
|
28
28
|
*/
|
|
29
29
|
data_source_name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A unique identifier assigned to the data source.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReportFilterConnection
|
|
34
|
+
*/
|
|
35
|
+
data_source_uuid?: string;
|
|
30
36
|
}
|
|
31
37
|
export declare function ReportFilterConnectionFromJSON(json: any): ReportFilterConnection;
|
|
32
38
|
export declare function ReportFilterConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportFilterConnection;
|
|
@@ -26,6 +26,7 @@ function ReportFilterConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'column': !(0, runtime_1.exists)(json, 'column') ? undefined : json['column'],
|
|
28
28
|
'data_source_name': !(0, runtime_1.exists)(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
29
|
+
'data_source_uuid': !(0, runtime_1.exists)(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
exports.ReportFilterConnectionFromJSONTyped = ReportFilterConnectionFromJSONTyped;
|
|
@@ -39,6 +40,7 @@ function ReportFilterConnectionToJSON(value) {
|
|
|
39
40
|
return {
|
|
40
41
|
'column': value.column,
|
|
41
42
|
'data_source_name': value.data_source_name,
|
|
43
|
+
'data_source_uuid': value.data_source_uuid,
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
exports.ReportFilterConnectionToJSON = ReportFilterConnectionToJSON;
|
|
@@ -29,6 +29,12 @@ export interface ReportPage {
|
|
|
29
29
|
* @memberof ReportPage
|
|
30
30
|
*/
|
|
31
31
|
height?: number;
|
|
32
|
+
/**
|
|
33
|
+
* A JSON representation of the settings for this report
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ReportPage
|
|
36
|
+
*/
|
|
37
|
+
settings?: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {string}
|
|
@@ -28,6 +28,7 @@ function ReportPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
return {
|
|
29
29
|
'filters': !(0, runtime_1.exists)(json, 'filters') ? undefined : (json['filters'].map(ReportPageFilter_1.ReportPageFilterFromJSON)),
|
|
30
30
|
'height': !(0, runtime_1.exists)(json, 'height') ? undefined : json['height'],
|
|
31
|
+
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
31
32
|
'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
|
|
32
33
|
'visualizations': !(0, runtime_1.exists)(json, 'visualizations') ? undefined : (json['visualizations'].map(ReportPageVisualization_1.ReportPageVisualizationFromJSON)),
|
|
33
34
|
'width': !(0, runtime_1.exists)(json, 'width') ? undefined : json['width'],
|
|
@@ -44,6 +45,7 @@ function ReportPageToJSON(value) {
|
|
|
44
45
|
return {
|
|
45
46
|
'filters': value.filters === undefined ? undefined : (value.filters.map(ReportPageFilter_1.ReportPageFilterToJSON)),
|
|
46
47
|
'height': value.height,
|
|
48
|
+
'settings': value.settings,
|
|
47
49
|
'title': value.title,
|
|
48
50
|
'visualizations': value.visualizations === undefined ? undefined : (value.visualizations.map(ReportPageVisualization_1.ReportPageVisualizationToJSON)),
|
|
49
51
|
'width': value.width,
|
package/package.json
CHANGED
|
@@ -198,7 +198,9 @@ export const OrderPaymentPaymentMethodEnum = {
|
|
|
198
198
|
Walmart: 'Walmart',
|
|
199
199
|
ShopCom: 'Shop.com',
|
|
200
200
|
Sezzle: 'Sezzle',
|
|
201
|
-
Venmo: 'Venmo'
|
|
201
|
+
Venmo: 'Venmo',
|
|
202
|
+
ApplePay: 'Apple Pay',
|
|
203
|
+
GooglePay: 'Google Pay'
|
|
202
204
|
} as const;
|
|
203
205
|
export type OrderPaymentPaymentMethodEnum = typeof OrderPaymentPaymentMethodEnum[keyof typeof OrderPaymentPaymentMethodEnum];
|
|
204
206
|
|
package/src/models/OrderQuery.ts
CHANGED
|
@@ -291,7 +291,10 @@ export const OrderQueryPaymentMethodEnum = {
|
|
|
291
291
|
PurchaseOrder: 'Purchase Order',
|
|
292
292
|
QuoteRequest: 'Quote Request',
|
|
293
293
|
Unknown: 'Unknown',
|
|
294
|
-
WireTransfer: 'Wire Transfer'
|
|
294
|
+
WireTransfer: 'Wire Transfer',
|
|
295
|
+
Venmo: 'Venmo',
|
|
296
|
+
ApplePay: 'Apple Pay',
|
|
297
|
+
GooglePay: ' Google Pay'
|
|
295
298
|
} as const;
|
|
296
299
|
export type OrderQueryPaymentMethodEnum = typeof OrderQueryPaymentMethodEnum[keyof typeof OrderQueryPaymentMethodEnum];
|
|
297
300
|
|
package/src/models/Report.ts
CHANGED
|
@@ -98,6 +98,12 @@ export interface Report {
|
|
|
98
98
|
* @memberof Report
|
|
99
99
|
*/
|
|
100
100
|
security_level?: ReportSecurityLevelEnum;
|
|
101
|
+
/**
|
|
102
|
+
* A JSON representation of the settings for this report
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof Report
|
|
105
|
+
*/
|
|
106
|
+
settings?: string;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
|
|
@@ -133,6 +139,7 @@ export function ReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Re
|
|
|
133
139
|
'pages': !exists(json, 'pages') ? undefined : ((json['pages'] as Array<any>).map(ReportPageFromJSON)),
|
|
134
140
|
'report_oid': !exists(json, 'report_oid') ? undefined : json['report_oid'],
|
|
135
141
|
'security_level': !exists(json, 'security_level') ? undefined : json['security_level'],
|
|
142
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
136
143
|
};
|
|
137
144
|
}
|
|
138
145
|
|
|
@@ -155,6 +162,7 @@ export function ReportToJSON(value?: Report | null): any {
|
|
|
155
162
|
'pages': value.pages === undefined ? undefined : ((value.pages as Array<any>).map(ReportPageToJSON)),
|
|
156
163
|
'report_oid': value.report_oid,
|
|
157
164
|
'security_level': value.security_level,
|
|
165
|
+
'settings': value.settings,
|
|
158
166
|
};
|
|
159
167
|
}
|
|
160
168
|
|
|
@@ -31,6 +31,12 @@ export interface ReportFilterConnection {
|
|
|
31
31
|
* @memberof ReportFilterConnection
|
|
32
32
|
*/
|
|
33
33
|
data_source_name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A unique identifier assigned to the data source.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ReportFilterConnection
|
|
38
|
+
*/
|
|
39
|
+
data_source_uuid?: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
export function ReportFilterConnectionFromJSON(json: any): ReportFilterConnection {
|
|
@@ -45,6 +51,7 @@ export function ReportFilterConnectionFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
45
51
|
|
|
46
52
|
'column': !exists(json, 'column') ? undefined : json['column'],
|
|
47
53
|
'data_source_name': !exists(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
54
|
+
'data_source_uuid': !exists(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -59,6 +66,7 @@ export function ReportFilterConnectionToJSON(value?: ReportFilterConnection | nu
|
|
|
59
66
|
|
|
60
67
|
'column': value.column,
|
|
61
68
|
'data_source_name': value.data_source_name,
|
|
69
|
+
'data_source_uuid': value.data_source_uuid,
|
|
62
70
|
};
|
|
63
71
|
}
|
|
64
72
|
|
package/src/models/ReportPage.ts
CHANGED
|
@@ -44,6 +44,12 @@ export interface ReportPage {
|
|
|
44
44
|
* @memberof ReportPage
|
|
45
45
|
*/
|
|
46
46
|
height?: number;
|
|
47
|
+
/**
|
|
48
|
+
* A JSON representation of the settings for this report
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ReportPage
|
|
51
|
+
*/
|
|
52
|
+
settings?: string;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -76,6 +82,7 @@ export function ReportPageFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
76
82
|
|
|
77
83
|
'filters': !exists(json, 'filters') ? undefined : ((json['filters'] as Array<any>).map(ReportPageFilterFromJSON)),
|
|
78
84
|
'height': !exists(json, 'height') ? undefined : json['height'],
|
|
85
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
79
86
|
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
80
87
|
'visualizations': !exists(json, 'visualizations') ? undefined : ((json['visualizations'] as Array<any>).map(ReportPageVisualizationFromJSON)),
|
|
81
88
|
'width': !exists(json, 'width') ? undefined : json['width'],
|
|
@@ -93,6 +100,7 @@ export function ReportPageToJSON(value?: ReportPage | null): any {
|
|
|
93
100
|
|
|
94
101
|
'filters': value.filters === undefined ? undefined : ((value.filters as Array<any>).map(ReportPageFilterToJSON)),
|
|
95
102
|
'height': value.height,
|
|
103
|
+
'settings': value.settings,
|
|
96
104
|
'title': value.title,
|
|
97
105
|
'visualizations': value.visualizations === undefined ? undefined : ((value.visualizations as Array<any>).map(ReportPageVisualizationToJSON)),
|
|
98
106
|
'width': value.width,
|