ultracart_rest_api_v2_typescript 4.0.178 → 4.0.179
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/ExperimentVariationStat.d.ts +6 -0
- package/dist/models/ExperimentVariationStat.js +2 -0
- package/dist/models/ReportPageVisualizationMetric.d.ts +1 -0
- package/dist/models/ReportPageVisualizationMetric.js +2 -1
- package/package.json +1 -1
- package/src/models/ExperimentVariationStat.ts +8 -0
- package/src/models/ReportPageVisualizationMetric.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.179
|
|
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.179 --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.179 | 09/28/2023 | dw bi - add aggregation constant of none |
|
|
57
58
|
| 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
|
58
59
|
| 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
|
|
59
60
|
| 4.0.176 | 09/12/2023 | added oids to customer properties |
|
|
@@ -51,6 +51,12 @@ export interface ExperimentVariationStat {
|
|
|
51
51
|
* @memberof ExperimentVariationStat
|
|
52
52
|
*/
|
|
53
53
|
order_count?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Order ID thats converted on this variation
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof ExperimentVariationStat
|
|
58
|
+
*/
|
|
59
|
+
order_ids?: Array<string>;
|
|
54
60
|
/**
|
|
55
61
|
* Total order item count for this variation
|
|
56
62
|
* @type {number}
|
|
@@ -30,6 +30,7 @@ function ExperimentVariationStatFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'event_count': !(0, runtime_1.exists)(json, 'event_count') ? undefined : json['event_count'],
|
|
31
31
|
'initiate_checkout_count': !(0, runtime_1.exists)(json, 'initiate_checkout_count') ? undefined : json['initiate_checkout_count'],
|
|
32
32
|
'order_count': !(0, runtime_1.exists)(json, 'order_count') ? undefined : json['order_count'],
|
|
33
|
+
'order_ids': !(0, runtime_1.exists)(json, 'order_ids') ? undefined : json['order_ids'],
|
|
33
34
|
'order_item_count': !(0, runtime_1.exists)(json, 'order_item_count') ? undefined : json['order_item_count'],
|
|
34
35
|
'page_view_count': !(0, runtime_1.exists)(json, 'page_view_count') ? undefined : json['page_view_count'],
|
|
35
36
|
'revenue': !(0, runtime_1.exists)(json, 'revenue') ? undefined : json['revenue'],
|
|
@@ -53,6 +54,7 @@ function ExperimentVariationStatToJSON(value) {
|
|
|
53
54
|
'event_count': value.event_count,
|
|
54
55
|
'initiate_checkout_count': value.initiate_checkout_count,
|
|
55
56
|
'order_count': value.order_count,
|
|
57
|
+
'order_ids': value.order_ids,
|
|
56
58
|
'order_item_count': value.order_item_count,
|
|
57
59
|
'page_view_count': value.page_view_count,
|
|
58
60
|
'revenue': value.revenue,
|
|
@@ -49,6 +49,7 @@ export declare const ReportPageVisualizationMetricAggregationEnum: {
|
|
|
49
49
|
readonly Min: "min";
|
|
50
50
|
readonly Max: "max";
|
|
51
51
|
readonly Avg: "avg";
|
|
52
|
+
readonly None: "none";
|
|
52
53
|
};
|
|
53
54
|
export type ReportPageVisualizationMetricAggregationEnum = typeof ReportPageVisualizationMetricAggregationEnum[keyof typeof ReportPageVisualizationMetricAggregationEnum];
|
|
54
55
|
export declare function ReportPageVisualizationMetricFromJSON(json: any): ReportPageVisualizationMetric;
|
|
@@ -23,7 +23,8 @@ exports.ReportPageVisualizationMetricAggregationEnum = {
|
|
|
23
23
|
Count: 'count',
|
|
24
24
|
Min: 'min',
|
|
25
25
|
Max: 'max',
|
|
26
|
-
Avg: 'avg'
|
|
26
|
+
Avg: 'avg',
|
|
27
|
+
None: 'none'
|
|
27
28
|
};
|
|
28
29
|
function ReportPageVisualizationMetricFromJSON(json) {
|
|
29
30
|
return ReportPageVisualizationMetricFromJSONTyped(json, false);
|
package/package.json
CHANGED
|
@@ -55,6 +55,12 @@ export interface ExperimentVariationStat {
|
|
|
55
55
|
* @memberof ExperimentVariationStat
|
|
56
56
|
*/
|
|
57
57
|
order_count?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Order ID thats converted on this variation
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof ExperimentVariationStat
|
|
62
|
+
*/
|
|
63
|
+
order_ids?: Array<string>;
|
|
58
64
|
/**
|
|
59
65
|
* Total order item count for this variation
|
|
60
66
|
* @type {number}
|
|
@@ -109,6 +115,7 @@ export function ExperimentVariationStatFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
109
115
|
'event_count': !exists(json, 'event_count') ? undefined : json['event_count'],
|
|
110
116
|
'initiate_checkout_count': !exists(json, 'initiate_checkout_count') ? undefined : json['initiate_checkout_count'],
|
|
111
117
|
'order_count': !exists(json, 'order_count') ? undefined : json['order_count'],
|
|
118
|
+
'order_ids': !exists(json, 'order_ids') ? undefined : json['order_ids'],
|
|
112
119
|
'order_item_count': !exists(json, 'order_item_count') ? undefined : json['order_item_count'],
|
|
113
120
|
'page_view_count': !exists(json, 'page_view_count') ? undefined : json['page_view_count'],
|
|
114
121
|
'revenue': !exists(json, 'revenue') ? undefined : json['revenue'],
|
|
@@ -133,6 +140,7 @@ export function ExperimentVariationStatToJSON(value?: ExperimentVariationStat |
|
|
|
133
140
|
'event_count': value.event_count,
|
|
134
141
|
'initiate_checkout_count': value.initiate_checkout_count,
|
|
135
142
|
'order_count': value.order_count,
|
|
143
|
+
'order_ids': value.order_ids,
|
|
136
144
|
'order_item_count': value.order_item_count,
|
|
137
145
|
'page_view_count': value.page_view_count,
|
|
138
146
|
'revenue': value.revenue,
|
|
@@ -54,7 +54,8 @@ export const ReportPageVisualizationMetricAggregationEnum = {
|
|
|
54
54
|
Count: 'count',
|
|
55
55
|
Min: 'min',
|
|
56
56
|
Max: 'max',
|
|
57
|
-
Avg: 'avg'
|
|
57
|
+
Avg: 'avg',
|
|
58
|
+
None: 'none'
|
|
58
59
|
} as const;
|
|
59
60
|
export type ReportPageVisualizationMetricAggregationEnum = typeof ReportPageVisualizationMetricAggregationEnum[keyof typeof ReportPageVisualizationMetricAggregationEnum];
|
|
60
61
|
|