ultracart_rest_api_v2_typescript 4.0.149 → 4.0.151

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.149
1
+ ## ultracart_rest_api_v2_typescript@4.0.151
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.149 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.151 --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.151 | 04/24/2023 | internal development - data warehouse |
58
+ | 4.0.150 | 04/21/2023 | internal development - data warehouse |
57
59
  | 4.0.149 | 04/19/2023 | internal development - data warehouse |
58
60
  | 4.0.148 | 04/19/2023 | internal dev - data warehouse |
59
61
  | 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
@@ -72,7 +72,7 @@ export interface ReportDataSet {
72
72
  */
73
73
  merchant_id?: string;
74
74
  /**
75
- * The size of the pages
75
+ * The total number of pages in the result set
76
76
  * @type {number}
77
77
  * @memberof ReportDataSet
78
78
  */
@@ -15,12 +15,42 @@
15
15
  * @interface ReportDataSetColumn
16
16
  */
17
17
  export interface ReportDataSetColumn {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof ReportDataSetColumn
22
+ */
23
+ _in?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReportDataSetColumn
28
+ */
29
+ n?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ReportDataSetColumn
34
+ */
35
+ vd?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ReportDataSetColumn
40
+ */
41
+ vdt?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ReportDataSetColumn
46
+ */
47
+ vn?: number;
18
48
  /**
19
49
  *
20
50
  * @type {string}
21
51
  * @memberof ReportDataSetColumn
22
52
  */
23
- name?: string;
53
+ vs?: string;
24
54
  }
25
55
  export declare function ReportDataSetColumnFromJSON(json: any): ReportDataSetColumn;
26
56
  export declare function ReportDataSetColumnFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportDataSetColumn;
@@ -24,7 +24,12 @@ function ReportDataSetColumnFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
27
+ '_in': !(0, runtime_1.exists)(json, 'in') ? undefined : json['in'],
28
+ 'n': !(0, runtime_1.exists)(json, 'n') ? undefined : json['n'],
29
+ 'vd': !(0, runtime_1.exists)(json, 'vd') ? undefined : json['vd'],
30
+ 'vdt': !(0, runtime_1.exists)(json, 'vdt') ? undefined : json['vdt'],
31
+ 'vn': !(0, runtime_1.exists)(json, 'vn') ? undefined : json['vn'],
32
+ 'vs': !(0, runtime_1.exists)(json, 'vs') ? undefined : json['vs'],
28
33
  };
29
34
  }
30
35
  exports.ReportDataSetColumnFromJSONTyped = ReportDataSetColumnFromJSONTyped;
@@ -36,7 +41,12 @@ function ReportDataSetColumnToJSON(value) {
36
41
  return null;
37
42
  }
38
43
  return {
39
- 'name': value.name,
44
+ 'in': value._in,
45
+ 'n': value.n,
46
+ 'vd': value.vd,
47
+ 'vdt': value.vdt,
48
+ 'vn': value.vn,
49
+ 'vs': value.vs,
40
50
  };
41
51
  }
42
52
  exports.ReportDataSetColumnToJSON = ReportDataSetColumnToJSON;
@@ -21,7 +21,7 @@ export interface ReportDataSetRow {
21
21
  * @type {Array<ReportDataSetColumn>}
22
22
  * @memberof ReportDataSetRow
23
23
  */
24
- columns?: Array<ReportDataSetColumn>;
24
+ c?: Array<ReportDataSetColumn>;
25
25
  }
26
26
  export declare function ReportDataSetRowFromJSON(json: any): ReportDataSetRow;
27
27
  export declare function ReportDataSetRowFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportDataSetRow;
@@ -25,7 +25,7 @@ function ReportDataSetRowFromJSONTyped(json, ignoreDiscriminator) {
25
25
  return json;
26
26
  }
27
27
  return {
28
- 'columns': !(0, runtime_1.exists)(json, 'columns') ? undefined : (json['columns'].map(ReportDataSetColumn_1.ReportDataSetColumnFromJSON)),
28
+ 'c': !(0, runtime_1.exists)(json, 'c') ? undefined : (json['c'].map(ReportDataSetColumn_1.ReportDataSetColumnFromJSON)),
29
29
  };
30
30
  }
31
31
  exports.ReportDataSetRowFromJSONTyped = ReportDataSetRowFromJSONTyped;
@@ -37,7 +37,7 @@ function ReportDataSetRowToJSON(value) {
37
37
  return null;
38
38
  }
39
39
  return {
40
- 'columns': value.columns === undefined ? undefined : (value.columns.map(ReportDataSetColumn_1.ReportDataSetColumnToJSON)),
40
+ 'c': value.c === undefined ? undefined : (value.c.map(ReportDataSetColumn_1.ReportDataSetColumnToJSON)),
41
41
  };
42
42
  }
43
43
  exports.ReportDataSetRowToJSON = ReportDataSetRowToJSON;
@@ -15,6 +15,12 @@
15
15
  * @interface ReportDataSetSchema
16
16
  */
17
17
  export interface ReportDataSetSchema {
18
+ /**
19
+ * A JSON representation of the configuration for this visualization
20
+ * @type {string}
21
+ * @memberof ReportDataSetSchema
22
+ */
23
+ config?: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -40,6 +40,7 @@ function ReportDataSetSchemaFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
+ 'config': !(0, runtime_1.exists)(json, 'config') ? undefined : json['config'],
43
44
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
44
45
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
45
46
  };
@@ -53,6 +54,7 @@ function ReportDataSetSchemaToJSON(value) {
53
54
  return null;
54
55
  }
55
56
  return {
57
+ 'config': value.config,
56
58
  'name': value.name,
57
59
  'type': value.type,
58
60
  };
@@ -15,6 +15,12 @@
15
15
  * @interface ReportDataSourceSchema
16
16
  */
17
17
  export interface ReportDataSourceSchema {
18
+ /**
19
+ * A JSON representation of the configuration for this visualization
20
+ * @type {string}
21
+ * @memberof ReportDataSourceSchema
22
+ */
23
+ config?: string;
18
24
  /**
19
25
  * Whether or not this column can be used as a dimension within a visualization
20
26
  * @type {boolean}
@@ -40,6 +40,7 @@ function ReportDataSourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
+ 'config': !(0, runtime_1.exists)(json, 'config') ? undefined : json['config'],
43
44
  'dimension': !(0, runtime_1.exists)(json, 'dimension') ? undefined : json['dimension'],
44
45
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
45
46
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
@@ -54,6 +55,7 @@ function ReportDataSourceSchemaToJSON(value) {
54
55
  return null;
55
56
  }
56
57
  return {
58
+ 'config': value.config,
57
59
  'dimension': value.dimension,
58
60
  'name': value.name,
59
61
  'type': value.type,
@@ -16,12 +16,6 @@ import { ReportFilterConnection } from './ReportFilterConnection';
16
16
  * @interface ReportFilter
17
17
  */
18
18
  export interface ReportFilter {
19
- /**
20
- * A JSON representation of the configuration for this visualization
21
- * @type {string}
22
- * @memberof ReportFilter
23
- */
24
- config?: string;
25
19
  /**
26
20
  * How this filter connects to the data sources and columns
27
21
  * @type {Array<ReportFilterConnection>}
@@ -34,12 +28,6 @@ export interface ReportFilter {
34
28
  * @memberof ReportFilter
35
29
  */
36
30
  name?: string;
37
- /**
38
- * A JSON representation of the style configuration for this visualization
39
- * @type {string}
40
- * @memberof ReportFilter
41
- */
42
- styles?: string;
43
31
  /**
44
32
  * The timezone that the date range is querying on.
45
33
  * @type {string}
@@ -34,10 +34,8 @@ function ReportFilterFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
- 'config': !(0, runtime_1.exists)(json, 'config') ? undefined : json['config'],
38
37
  'connections': !(0, runtime_1.exists)(json, 'connections') ? undefined : (json['connections'].map(ReportFilterConnection_1.ReportFilterConnectionFromJSON)),
39
38
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
40
- 'styles': !(0, runtime_1.exists)(json, 'styles') ? undefined : json['styles'],
41
39
  'timezone': !(0, runtime_1.exists)(json, 'timezone') ? undefined : json['timezone'],
42
40
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
43
41
  'uuid': !(0, runtime_1.exists)(json, 'uuid') ? undefined : json['uuid'],
@@ -53,10 +51,8 @@ function ReportFilterToJSON(value) {
53
51
  return null;
54
52
  }
55
53
  return {
56
- 'config': value.config,
57
54
  'connections': value.connections === undefined ? undefined : (value.connections.map(ReportFilterConnection_1.ReportFilterConnectionToJSON)),
58
55
  'name': value.name,
59
- 'styles': value.styles,
60
56
  'timezone': value.timezone,
61
57
  'type': value.type,
62
58
  'uuid': value.uuid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.149",
3
+ "version": "4.0.151",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -87,7 +87,7 @@ export interface ReportDataSet {
87
87
  */
88
88
  merchant_id?: string;
89
89
  /**
90
- * The size of the pages
90
+ * The total number of pages in the result set
91
91
  * @type {number}
92
92
  * @memberof ReportDataSet
93
93
  */
@@ -19,12 +19,42 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface ReportDataSetColumn
20
20
  */
21
21
  export interface ReportDataSetColumn {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ReportDataSetColumn
26
+ */
27
+ _in?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ReportDataSetColumn
32
+ */
33
+ n?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ReportDataSetColumn
38
+ */
39
+ vd?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ReportDataSetColumn
44
+ */
45
+ vdt?: string;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof ReportDataSetColumn
50
+ */
51
+ vn?: number;
22
52
  /**
23
53
  *
24
54
  * @type {string}
25
55
  * @memberof ReportDataSetColumn
26
56
  */
27
- name?: string;
57
+ vs?: string;
28
58
  }
29
59
 
30
60
  export function ReportDataSetColumnFromJSON(json: any): ReportDataSetColumn {
@@ -37,7 +67,12 @@ export function ReportDataSetColumnFromJSONTyped(json: any, ignoreDiscriminator:
37
67
  }
38
68
  return {
39
69
 
40
- 'name': !exists(json, 'name') ? undefined : json['name'],
70
+ '_in': !exists(json, 'in') ? undefined : json['in'],
71
+ 'n': !exists(json, 'n') ? undefined : json['n'],
72
+ 'vd': !exists(json, 'vd') ? undefined : json['vd'],
73
+ 'vdt': !exists(json, 'vdt') ? undefined : json['vdt'],
74
+ 'vn': !exists(json, 'vn') ? undefined : json['vn'],
75
+ 'vs': !exists(json, 'vs') ? undefined : json['vs'],
41
76
  };
42
77
  }
43
78
 
@@ -50,7 +85,12 @@ export function ReportDataSetColumnToJSON(value?: ReportDataSetColumn | null): a
50
85
  }
51
86
  return {
52
87
 
53
- 'name': value.name,
88
+ 'in': value._in,
89
+ 'n': value.n,
90
+ 'vd': value.vd,
91
+ 'vdt': value.vdt,
92
+ 'vn': value.vn,
93
+ 'vs': value.vs,
54
94
  };
55
95
  }
56
96
 
@@ -31,7 +31,7 @@ export interface ReportDataSetRow {
31
31
  * @type {Array<ReportDataSetColumn>}
32
32
  * @memberof ReportDataSetRow
33
33
  */
34
- columns?: Array<ReportDataSetColumn>;
34
+ c?: Array<ReportDataSetColumn>;
35
35
  }
36
36
 
37
37
  export function ReportDataSetRowFromJSON(json: any): ReportDataSetRow {
@@ -44,7 +44,7 @@ export function ReportDataSetRowFromJSONTyped(json: any, ignoreDiscriminator: bo
44
44
  }
45
45
  return {
46
46
 
47
- 'columns': !exists(json, 'columns') ? undefined : ((json['columns'] as Array<any>).map(ReportDataSetColumnFromJSON)),
47
+ 'c': !exists(json, 'c') ? undefined : ((json['c'] as Array<any>).map(ReportDataSetColumnFromJSON)),
48
48
  };
49
49
  }
50
50
 
@@ -57,7 +57,7 @@ export function ReportDataSetRowToJSON(value?: ReportDataSetRow | null): any {
57
57
  }
58
58
  return {
59
59
 
60
- 'columns': value.columns === undefined ? undefined : ((value.columns as Array<any>).map(ReportDataSetColumnToJSON)),
60
+ 'c': value.c === undefined ? undefined : ((value.c as Array<any>).map(ReportDataSetColumnToJSON)),
61
61
  };
62
62
  }
63
63
 
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface ReportDataSetSchema
20
20
  */
21
21
  export interface ReportDataSetSchema {
22
+ /**
23
+ * A JSON representation of the configuration for this visualization
24
+ * @type {string}
25
+ * @memberof ReportDataSetSchema
26
+ */
27
+ config?: string;
22
28
  /**
23
29
  *
24
30
  * @type {string}
@@ -63,6 +69,7 @@ export function ReportDataSetSchemaFromJSONTyped(json: any, ignoreDiscriminator:
63
69
  }
64
70
  return {
65
71
 
72
+ 'config': !exists(json, 'config') ? undefined : json['config'],
66
73
  'name': !exists(json, 'name') ? undefined : json['name'],
67
74
  'type': !exists(json, 'type') ? undefined : json['type'],
68
75
  };
@@ -77,6 +84,7 @@ export function ReportDataSetSchemaToJSON(value?: ReportDataSetSchema | null): a
77
84
  }
78
85
  return {
79
86
 
87
+ 'config': value.config,
80
88
  'name': value.name,
81
89
  'type': value.type,
82
90
  };
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface ReportDataSourceSchema
20
20
  */
21
21
  export interface ReportDataSourceSchema {
22
+ /**
23
+ * A JSON representation of the configuration for this visualization
24
+ * @type {string}
25
+ * @memberof ReportDataSourceSchema
26
+ */
27
+ config?: string;
22
28
  /**
23
29
  * Whether or not this column can be used as a dimension within a visualization
24
30
  * @type {boolean}
@@ -69,6 +75,7 @@ export function ReportDataSourceSchemaFromJSONTyped(json: any, ignoreDiscriminat
69
75
  }
70
76
  return {
71
77
 
78
+ 'config': !exists(json, 'config') ? undefined : json['config'],
72
79
  'dimension': !exists(json, 'dimension') ? undefined : json['dimension'],
73
80
  'name': !exists(json, 'name') ? undefined : json['name'],
74
81
  'type': !exists(json, 'type') ? undefined : json['type'],
@@ -84,6 +91,7 @@ export function ReportDataSourceSchemaToJSON(value?: ReportDataSourceSchema | nu
84
91
  }
85
92
  return {
86
93
 
94
+ 'config': value.config,
87
95
  'dimension': value.dimension,
88
96
  'name': value.name,
89
97
  'type': value.type,
@@ -26,12 +26,6 @@ import {
26
26
  * @interface ReportFilter
27
27
  */
28
28
  export interface ReportFilter {
29
- /**
30
- * A JSON representation of the configuration for this visualization
31
- * @type {string}
32
- * @memberof ReportFilter
33
- */
34
- config?: string;
35
29
  /**
36
30
  * How this filter connects to the data sources and columns
37
31
  * @type {Array<ReportFilterConnection>}
@@ -44,12 +38,6 @@ export interface ReportFilter {
44
38
  * @memberof ReportFilter
45
39
  */
46
40
  name?: string;
47
- /**
48
- * A JSON representation of the style configuration for this visualization
49
- * @type {string}
50
- * @memberof ReportFilter
51
- */
52
- styles?: string;
53
41
  /**
54
42
  * The timezone that the date range is querying on.
55
43
  * @type {string}
@@ -99,10 +87,8 @@ export function ReportFilterFromJSONTyped(json: any, ignoreDiscriminator: boolea
99
87
  }
100
88
  return {
101
89
 
102
- 'config': !exists(json, 'config') ? undefined : json['config'],
103
90
  'connections': !exists(json, 'connections') ? undefined : ((json['connections'] as Array<any>).map(ReportFilterConnectionFromJSON)),
104
91
  'name': !exists(json, 'name') ? undefined : json['name'],
105
- 'styles': !exists(json, 'styles') ? undefined : json['styles'],
106
92
  'timezone': !exists(json, 'timezone') ? undefined : json['timezone'],
107
93
  'type': !exists(json, 'type') ? undefined : json['type'],
108
94
  'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
@@ -119,10 +105,8 @@ export function ReportFilterToJSON(value?: ReportFilter | null): any {
119
105
  }
120
106
  return {
121
107
 
122
- 'config': value.config,
123
108
  'connections': value.connections === undefined ? undefined : ((value.connections as Array<any>).map(ReportFilterConnectionToJSON)),
124
109
  'name': value.name,
125
- 'styles': value.styles,
126
110
  'timezone': value.timezone,
127
111
  'type': value.type,
128
112
  'uuid': value.uuid,