ultracart_rest_api_v2_typescript 4.0.168 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.168
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.168 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.169 --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.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
57
58
  | 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
58
59
  | 4.0.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
59
60
  | 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
@@ -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
  /**
@@ -47,7 +47,9 @@ exports.OrderPaymentPaymentMethodEnum = {
47
47
  Walmart: 'Walmart',
48
48
  ShopCom: 'Shop.com',
49
49
  Sezzle: 'Sezzle',
50
- Venmo: 'Venmo'
50
+ Venmo: 'Venmo',
51
+ ApplePay: 'Apple Pay',
52
+ GooglePay: 'Google Pay'
51
53
  };
52
54
  /**
53
55
  * @export
@@ -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);
@@ -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
@@ -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;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.168",
3
+ "version": "4.0.169",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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,