ultracart_rest_api_v2_typescript 4.0.178 → 4.0.180

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.178
1
+ ## ultracart_rest_api_v2_typescript@4.0.180
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.178 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.180 --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.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
58
+ | 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
57
59
  | 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
58
60
  | 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
59
61
  | 4.0.176 | 09/12/2023 | added oids to customer properties |
@@ -21,6 +21,12 @@ export interface CartSettingsPaymentCreditCard {
21
21
  * @memberof CartSettingsPaymentCreditCard
22
22
  */
23
23
  collect_credit_card_verification_number?: boolean;
24
+ /**
25
+ * If this field is null or the total is greater than or equal to this value then collect the CVV2.
26
+ * @type {number}
27
+ * @memberof CartSettingsPaymentCreditCard
28
+ */
29
+ collect_credit_card_verification_number_minimum?: number;
24
30
  /**
25
31
  * Available credit card types
26
32
  * @type {Array<string>}
@@ -25,6 +25,7 @@ function CartSettingsPaymentCreditCardFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'collect_credit_card_verification_number': !(0, runtime_1.exists)(json, 'collect_credit_card_verification_number') ? undefined : json['collect_credit_card_verification_number'],
28
+ 'collect_credit_card_verification_number_minimum': !(0, runtime_1.exists)(json, 'collect_credit_card_verification_number_minimum') ? undefined : json['collect_credit_card_verification_number_minimum'],
28
29
  'credit_card_types': !(0, runtime_1.exists)(json, 'credit_card_types') ? undefined : json['credit_card_types'],
29
30
  'hosted_fields_shopping_cart_token': !(0, runtime_1.exists)(json, 'hosted_fields_shopping_cart_token') ? undefined : json['hosted_fields_shopping_cart_token'],
30
31
  };
@@ -39,6 +40,7 @@ function CartSettingsPaymentCreditCardToJSON(value) {
39
40
  }
40
41
  return {
41
42
  'collect_credit_card_verification_number': value.collect_credit_card_verification_number,
43
+ 'collect_credit_card_verification_number_minimum': value.collect_credit_card_verification_number_minimum,
42
44
  'credit_card_types': value.credit_card_types,
43
45
  'hosted_fields_shopping_cart_token': value.hosted_fields_shopping_cart_token,
44
46
  };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.178",
3
+ "version": "4.0.180",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -25,6 +25,12 @@ export interface CartSettingsPaymentCreditCard {
25
25
  * @memberof CartSettingsPaymentCreditCard
26
26
  */
27
27
  collect_credit_card_verification_number?: boolean;
28
+ /**
29
+ * If this field is null or the total is greater than or equal to this value then collect the CVV2.
30
+ * @type {number}
31
+ * @memberof CartSettingsPaymentCreditCard
32
+ */
33
+ collect_credit_card_verification_number_minimum?: number;
28
34
  /**
29
35
  * Available credit card types
30
36
  * @type {Array<string>}
@@ -50,6 +56,7 @@ export function CartSettingsPaymentCreditCardFromJSONTyped(json: any, ignoreDisc
50
56
  return {
51
57
 
52
58
  'collect_credit_card_verification_number': !exists(json, 'collect_credit_card_verification_number') ? undefined : json['collect_credit_card_verification_number'],
59
+ 'collect_credit_card_verification_number_minimum': !exists(json, 'collect_credit_card_verification_number_minimum') ? undefined : json['collect_credit_card_verification_number_minimum'],
53
60
  'credit_card_types': !exists(json, 'credit_card_types') ? undefined : json['credit_card_types'],
54
61
  'hosted_fields_shopping_cart_token': !exists(json, 'hosted_fields_shopping_cart_token') ? undefined : json['hosted_fields_shopping_cart_token'],
55
62
  };
@@ -65,6 +72,7 @@ export function CartSettingsPaymentCreditCardToJSON(value?: CartSettingsPaymentC
65
72
  return {
66
73
 
67
74
  'collect_credit_card_verification_number': value.collect_credit_card_verification_number,
75
+ 'collect_credit_card_verification_number_minimum': value.collect_credit_card_verification_number_minimum,
68
76
  'credit_card_types': value.credit_card_types,
69
77
  'hosted_fields_shopping_cart_token': value.hosted_fields_shopping_cart_token,
70
78
  };
@@ -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