@product-live/api-sdk 2.4.1 → 2.5.1

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.
Files changed (105) hide show
  1. package/apis/DataFactoryFileApi.ts +19 -19
  2. package/apis/JobApi.ts +34 -43
  3. package/apis/JobExecutionApi.ts +22 -22
  4. package/apis/TaskApi.ts +38 -38
  5. package/apis/TaskExecutionApi.ts +15 -15
  6. package/apis/VariableApi.ts +86 -28
  7. package/dist/apis/DataFactoryFileApi.d.ts +7 -7
  8. package/dist/apis/DataFactoryFileApi.js +8 -8
  9. package/dist/apis/DataFactoryFileApi.js.map +1 -1
  10. package/dist/apis/JobApi.d.ts +16 -17
  11. package/dist/apis/JobApi.js +22 -28
  12. package/dist/apis/JobApi.js.map +1 -1
  13. package/dist/apis/JobExecutionApi.d.ts +10 -10
  14. package/dist/apis/JobExecutionApi.js +12 -12
  15. package/dist/apis/JobExecutionApi.js.map +1 -1
  16. package/dist/apis/TaskApi.d.ts +19 -19
  17. package/dist/apis/TaskApi.js +25 -25
  18. package/dist/apis/TaskApi.js.map +1 -1
  19. package/dist/apis/TaskExecutionApi.d.ts +6 -6
  20. package/dist/apis/TaskExecutionApi.js +9 -9
  21. package/dist/apis/TaskExecutionApi.js.map +1 -1
  22. package/dist/apis/VariableApi.d.ts +20 -13
  23. package/dist/apis/VariableApi.js +53 -17
  24. package/dist/apis/VariableApi.js.map +1 -1
  25. package/dist/models/CreateJobExecutionDto.d.ts +0 -1
  26. package/dist/models/CreateJobExecutionDto.js +0 -2
  27. package/dist/models/CreateJobExecutionDto.js.map +1 -1
  28. package/dist/models/FileDto.d.ts +5 -1
  29. package/dist/models/FileDto.js +4 -1
  30. package/dist/models/FileDto.js.map +1 -1
  31. package/dist/models/FindVariablesRequest.d.ts +7 -0
  32. package/dist/models/FindVariablesRequest.js +37 -0
  33. package/dist/models/FindVariablesRequest.js.map +1 -0
  34. package/dist/models/GetFiles200Response.d.ts +14 -0
  35. package/dist/models/GetFiles200Response.js +43 -0
  36. package/dist/models/GetFiles200Response.js.map +1 -0
  37. package/dist/models/GetJobExecutionById400Response.d.ts +7 -0
  38. package/dist/models/GetJobExecutionById400Response.js +35 -0
  39. package/dist/models/GetJobExecutionById400Response.js.map +1 -0
  40. package/dist/models/GetJobExecutions200Response.d.ts +14 -0
  41. package/dist/models/GetJobExecutions200Response.js +43 -0
  42. package/dist/models/GetJobExecutions200Response.js.map +1 -0
  43. package/dist/models/GetJobs200Response.d.ts +14 -0
  44. package/dist/models/GetJobs200Response.js +43 -0
  45. package/dist/models/GetJobs200Response.js.map +1 -0
  46. package/dist/models/GetTasks200Response.d.ts +14 -0
  47. package/dist/models/GetTasks200Response.js +43 -0
  48. package/dist/models/GetTasks200Response.js.map +1 -0
  49. package/dist/models/GetVariables200Response.d.ts +14 -0
  50. package/dist/models/GetVariables200Response.js +43 -0
  51. package/dist/models/GetVariables200Response.js.map +1 -0
  52. package/dist/models/HighOrderQuery.d.ts +14 -0
  53. package/dist/models/HighOrderQuery.js +42 -0
  54. package/dist/models/HighOrderQuery.js.map +1 -0
  55. package/dist/models/JobDto.d.ts +5 -1
  56. package/dist/models/JobDto.js +4 -1
  57. package/dist/models/JobDto.js.map +1 -1
  58. package/dist/models/JobExecutionDto.d.ts +6 -18
  59. package/dist/models/JobExecutionDto.js +6 -17
  60. package/dist/models/JobExecutionDto.js.map +1 -1
  61. package/dist/models/LowOrderQuery.d.ts +23 -0
  62. package/dist/models/LowOrderQuery.js +54 -0
  63. package/dist/models/LowOrderQuery.js.map +1 -0
  64. package/dist/models/Query.d.ts +21 -0
  65. package/dist/models/Query.js +48 -0
  66. package/dist/models/Query.js.map +1 -0
  67. package/dist/models/TaskDto.d.ts +5 -1
  68. package/dist/models/TaskDto.js +4 -1
  69. package/dist/models/TaskDto.js.map +1 -1
  70. package/dist/models/TaskExecutionDto.d.ts +5 -1
  71. package/dist/models/TaskExecutionDto.js +4 -1
  72. package/dist/models/TaskExecutionDto.js.map +1 -1
  73. package/dist/models/VariableDto.d.ts +5 -1
  74. package/dist/models/VariableDto.js +4 -1
  75. package/dist/models/VariableDto.js.map +1 -1
  76. package/dist/models/index.d.ts +10 -6
  77. package/dist/models/index.js +10 -6
  78. package/dist/models/index.js.map +1 -1
  79. package/models/CreateJobDto.ts +1 -1
  80. package/models/CreateJobExecutionDto.ts +1 -9
  81. package/models/CreateTaskDto.ts +1 -1
  82. package/models/CreateVariableDto.ts +1 -1
  83. package/models/FileDto.ts +13 -3
  84. package/models/FindVariablesRequest.ts +75 -0
  85. package/models/GetFiles200Response.ts +98 -0
  86. package/models/GetJobExecutionById400Response.ts +65 -0
  87. package/models/GetJobExecutions200Response.ts +98 -0
  88. package/models/GetJobs200Response.ts +98 -0
  89. package/models/GetTasks200Response.ts +98 -0
  90. package/models/GetVariables200Response.ts +98 -0
  91. package/models/HighOrderQuery.ts +91 -0
  92. package/models/JobDto.ts +11 -3
  93. package/models/JobExecutionDto.ts +16 -27
  94. package/models/LowOrderQuery.ts +115 -0
  95. package/models/PatchTaskExecutionDto.ts +1 -1
  96. package/models/Query.ts +85 -0
  97. package/models/TaskDto.ts +13 -3
  98. package/models/TaskExecutionDto.ts +11 -3
  99. package/models/UpdateJobDto.ts +1 -1
  100. package/models/UpdateTaskDto.ts +1 -1
  101. package/models/UpdateVariableDto.ts +1 -1
  102. package/models/VariableDto.ts +11 -3
  103. package/models/index.ts +10 -6
  104. package/package.json +2 -2
  105. package/runtime.ts +1 -1
@@ -0,0 +1,98 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { VariableDto } from './VariableDto';
17
+ import {
18
+ VariableDtoFromJSON,
19
+ VariableDtoFromJSONTyped,
20
+ VariableDtoToJSON,
21
+ } from './VariableDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface GetVariables200Response
27
+ */
28
+ export interface GetVariables200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof GetVariables200Response
33
+ */
34
+ object?: GetVariables200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof GetVariables200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<VariableDto>}
44
+ * @memberof GetVariables200Response
45
+ */
46
+ data?: Array<VariableDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const GetVariables200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type GetVariables200ResponseObjectEnum = typeof GetVariables200ResponseObjectEnum[keyof typeof GetVariables200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the GetVariables200Response interface.
61
+ */
62
+ export function instanceOfGetVariables200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function GetVariables200ResponseFromJSON(json: any): GetVariables200Response {
69
+ return GetVariables200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function GetVariables200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVariables200Response {
73
+ if ((json === undefined) || (json === null)) {
74
+ return json;
75
+ }
76
+ return {
77
+
78
+ 'object': !exists(json, 'object') ? undefined : json['object'],
79
+ 'totalElements': !exists(json, 'totalElements') ? undefined : json['totalElements'],
80
+ 'data': !exists(json, 'data') ? undefined : ((json['data'] as Array<any>).map(VariableDtoFromJSON)),
81
+ };
82
+ }
83
+
84
+ export function GetVariables200ResponseToJSON(value?: GetVariables200Response | null): any {
85
+ if (value === undefined) {
86
+ return undefined;
87
+ }
88
+ if (value === null) {
89
+ return null;
90
+ }
91
+ return {
92
+
93
+ 'object': value.object,
94
+ 'totalElements': value.totalElements,
95
+ 'data': value.data === undefined ? undefined : ((value.data as Array<any>).map(VariableDtoToJSON)),
96
+ };
97
+ }
98
+
@@ -0,0 +1,91 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { Query } from './Query';
17
+ import {
18
+ QueryFromJSON,
19
+ QueryFromJSONTyped,
20
+ QueryToJSON,
21
+ } from './Query';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface HighOrderQuery
27
+ */
28
+ export interface HighOrderQuery {
29
+ /**
30
+ *
31
+ * @type {Query}
32
+ * @memberof HighOrderQuery
33
+ */
34
+ queries?: Query;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof HighOrderQuery
39
+ */
40
+ type?: HighOrderQueryTypeEnum;
41
+ }
42
+
43
+
44
+ /**
45
+ * @export
46
+ */
47
+ export const HighOrderQueryTypeEnum = {
48
+ And: 'and',
49
+ Or: 'or'
50
+ } as const;
51
+ export type HighOrderQueryTypeEnum = typeof HighOrderQueryTypeEnum[keyof typeof HighOrderQueryTypeEnum];
52
+
53
+
54
+ /**
55
+ * Check if a given object implements the HighOrderQuery interface.
56
+ */
57
+ export function instanceOfHighOrderQuery(value: object): boolean {
58
+ let isInstance = true;
59
+
60
+ return isInstance;
61
+ }
62
+
63
+ export function HighOrderQueryFromJSON(json: any): HighOrderQuery {
64
+ return HighOrderQueryFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function HighOrderQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): HighOrderQuery {
68
+ if ((json === undefined) || (json === null)) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'queries': !exists(json, 'queries') ? undefined : QueryFromJSON(json['queries']),
74
+ 'type': !exists(json, 'type') ? undefined : json['type'],
75
+ };
76
+ }
77
+
78
+ export function HighOrderQueryToJSON(value?: HighOrderQuery | null): any {
79
+ if (value === undefined) {
80
+ return undefined;
81
+ }
82
+ if (value === null) {
83
+ return null;
84
+ }
85
+ return {
86
+
87
+ 'queries': QueryToJSON(value.queries),
88
+ 'type': value.type,
89
+ };
90
+ }
91
+
package/models/JobDto.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -93,10 +93,10 @@ export interface JobDto {
93
93
  id: string;
94
94
  /**
95
95
  *
96
- * @type {object}
96
+ * @type {string}
97
97
  * @memberof JobDto
98
98
  */
99
- object: object;
99
+ object: JobDtoObjectEnum;
100
100
  /**
101
101
  *
102
102
  * @type {string}
@@ -124,6 +124,14 @@ export const JobDtoStatusEnum = {
124
124
  } as const;
125
125
  export type JobDtoStatusEnum = typeof JobDtoStatusEnum[keyof typeof JobDtoStatusEnum];
126
126
 
127
+ /**
128
+ * @export
129
+ */
130
+ export const JobDtoObjectEnum = {
131
+ Job: 'job'
132
+ } as const;
133
+ export type JobDtoObjectEnum = typeof JobDtoObjectEnum[keyof typeof JobDtoObjectEnum];
134
+
127
135
 
128
136
  /**
129
137
  * Check if a given object implements the JobDto interface.
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,12 +31,6 @@ export interface JobExecutionDto {
31
31
  * @memberof JobExecutionDto
32
32
  */
33
33
  info: object;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof JobExecutionDto
38
- */
39
- pipelineId?: string;
40
34
  /**
41
35
  *
42
36
  * @type {{ [key: string]: any; }}
@@ -51,10 +45,10 @@ export interface JobExecutionDto {
51
45
  id: string;
52
46
  /**
53
47
  *
54
- * @type {object}
48
+ * @type {string}
55
49
  * @memberof JobExecutionDto
56
50
  */
57
- object: object;
51
+ object: JobExecutionDtoObjectEnum;
58
52
  /**
59
53
  *
60
54
  * @type {string}
@@ -84,7 +78,13 @@ export interface JobExecutionDto {
84
78
  * @type {string}
85
79
  * @memberof JobExecutionDto
86
80
  */
87
- status: JobExecutionDtoStatusEnum;
81
+ pipelineId: string;
82
+ /**
83
+ *
84
+ * @type {object}
85
+ * @memberof JobExecutionDto
86
+ */
87
+ status: object;
88
88
  /**
89
89
  *
90
90
  * @type {{ [key: string]: any; }}
@@ -97,22 +97,10 @@ export interface JobExecutionDto {
97
97
  /**
98
98
  * @export
99
99
  */
100
- export const JobExecutionDtoStatusEnum = {
101
- Running: 'RUNNING',
102
- Completed: 'COMPLETED',
103
- CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
104
- TimedOut: 'TIMED_OUT',
105
- Failed: 'FAILED',
106
- Pending: 'PENDING',
107
- Scheduled: 'SCHEDULED',
108
- Terminated: 'TERMINATED',
109
- Unknown: 'UNKNOWN',
110
- Removed: 'REMOVED',
111
- Queued: 'QUEUED',
112
- Paused: 'PAUSED',
113
- UserError: 'USER_ERROR'
100
+ export const JobExecutionDtoObjectEnum = {
101
+ JobExecution: 'job_execution'
114
102
  } as const;
115
- export type JobExecutionDtoStatusEnum = typeof JobExecutionDtoStatusEnum[keyof typeof JobExecutionDtoStatusEnum];
103
+ export type JobExecutionDtoObjectEnum = typeof JobExecutionDtoObjectEnum[keyof typeof JobExecutionDtoObjectEnum];
116
104
 
117
105
 
118
106
  /**
@@ -128,6 +116,7 @@ export function instanceOfJobExecutionDto(value: object): boolean {
128
116
  isInstance = isInstance && "updatedAt" in value;
129
117
  isInstance = isInstance && "endedAt" in value;
130
118
  isInstance = isInstance && "startedAt" in value;
119
+ isInstance = isInstance && "pipelineId" in value;
131
120
  isInstance = isInstance && "status" in value;
132
121
  isInstance = isInstance && "output" in value;
133
122
 
@@ -146,7 +135,6 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
146
135
 
147
136
  'jobId': json['jobId'],
148
137
  'info': json['info'],
149
- 'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
150
138
  'input': !exists(json, 'input') ? undefined : json['input'],
151
139
  'id': json['id'],
152
140
  'object': json['object'],
@@ -154,6 +142,7 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
154
142
  'updatedAt': json['updatedAt'],
155
143
  'endedAt': json['endedAt'],
156
144
  'startedAt': json['startedAt'],
145
+ 'pipelineId': json['pipelineId'],
157
146
  'status': json['status'],
158
147
  'output': json['output'],
159
148
  };
@@ -170,7 +159,6 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
170
159
 
171
160
  'jobId': value.jobId,
172
161
  'info': value.info,
173
- 'pipelineId': value.pipelineId,
174
162
  'input': value.input,
175
163
  'id': value.id,
176
164
  'object': value.object,
@@ -178,6 +166,7 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
178
166
  'updatedAt': value.updatedAt,
179
167
  'endedAt': value.endedAt,
180
168
  'startedAt': value.startedAt,
169
+ 'pipelineId': value.pipelineId,
181
170
  'status': value.status,
182
171
  'output': value.output,
183
172
  };
@@ -0,0 +1,115 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { Any } from './Any';
17
+ import {
18
+ AnyFromJSON,
19
+ AnyFromJSONTyped,
20
+ AnyToJSON,
21
+ } from './Any';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface LowOrderQuery
27
+ */
28
+ export interface LowOrderQuery {
29
+ /**
30
+ *
31
+ * @type {Any}
32
+ * @memberof LowOrderQuery
33
+ */
34
+ value?: Any;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof LowOrderQuery
39
+ */
40
+ field?: string;
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof LowOrderQuery
45
+ */
46
+ caseSensitive?: boolean;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof LowOrderQuery
51
+ */
52
+ type?: LowOrderQueryTypeEnum;
53
+ }
54
+
55
+
56
+ /**
57
+ * @export
58
+ */
59
+ export const LowOrderQueryTypeEnum = {
60
+ Eq: 'eq',
61
+ Eq: 'eq',
62
+ Search: 'search',
63
+ In: 'in',
64
+ True: 'true',
65
+ False: 'false',
66
+ Greater: 'greater',
67
+ GreaterOrEqual: 'greaterOrEqual',
68
+ Lower: 'lower',
69
+ LowerOrEqual: 'lowerOrEqual'
70
+ } as const;
71
+ export type LowOrderQueryTypeEnum = typeof LowOrderQueryTypeEnum[keyof typeof LowOrderQueryTypeEnum];
72
+
73
+
74
+ /**
75
+ * Check if a given object implements the LowOrderQuery interface.
76
+ */
77
+ export function instanceOfLowOrderQuery(value: object): boolean {
78
+ let isInstance = true;
79
+
80
+ return isInstance;
81
+ }
82
+
83
+ export function LowOrderQueryFromJSON(json: any): LowOrderQuery {
84
+ return LowOrderQueryFromJSONTyped(json, false);
85
+ }
86
+
87
+ export function LowOrderQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): LowOrderQuery {
88
+ if ((json === undefined) || (json === null)) {
89
+ return json;
90
+ }
91
+ return {
92
+
93
+ 'value': !exists(json, 'value') ? undefined : AnyFromJSON(json['value']),
94
+ 'field': !exists(json, 'field') ? undefined : json['field'],
95
+ 'caseSensitive': !exists(json, 'caseSensitive') ? undefined : json['caseSensitive'],
96
+ 'type': !exists(json, 'type') ? undefined : json['type'],
97
+ };
98
+ }
99
+
100
+ export function LowOrderQueryToJSON(value?: LowOrderQuery | null): any {
101
+ if (value === undefined) {
102
+ return undefined;
103
+ }
104
+ if (value === null) {
105
+ return null;
106
+ }
107
+ return {
108
+
109
+ 'value': AnyToJSON(value.value),
110
+ 'field': value.field,
111
+ 'caseSensitive': value.caseSensitive,
112
+ 'type': value.type,
113
+ };
114
+ }
115
+
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Query
20
+ */
21
+ export interface Query {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Query
26
+ */
27
+ type?: QueryTypeEnum;
28
+ }
29
+
30
+
31
+ /**
32
+ * @export
33
+ */
34
+ export const QueryTypeEnum = {
35
+ Eq: 'eq',
36
+ Search: 'search',
37
+ And: 'and',
38
+ Or: 'or',
39
+ In: 'in',
40
+ True: 'true',
41
+ False: 'false',
42
+ Greater: 'greater',
43
+ GreaterOrEqual: 'greaterOrEqual',
44
+ Lower: 'lower',
45
+ LowerOrEqual: 'lowerOrEqual'
46
+ } as const;
47
+ export type QueryTypeEnum = typeof QueryTypeEnum[keyof typeof QueryTypeEnum];
48
+
49
+
50
+ /**
51
+ * Check if a given object implements the Query interface.
52
+ */
53
+ export function instanceOfQuery(value: object): boolean {
54
+ let isInstance = true;
55
+
56
+ return isInstance;
57
+ }
58
+
59
+ export function QueryFromJSON(json: any): Query {
60
+ return QueryFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function QueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Query {
64
+ if ((json === undefined) || (json === null)) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'type': !exists(json, 'type') ? undefined : json['type'],
70
+ };
71
+ }
72
+
73
+ export function QueryToJSON(value?: Query | null): any {
74
+ if (value === undefined) {
75
+ return undefined;
76
+ }
77
+ if (value === null) {
78
+ return null;
79
+ }
80
+ return {
81
+
82
+ 'type': value.type,
83
+ };
84
+ }
85
+
package/models/TaskDto.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -57,10 +57,10 @@ export interface TaskDto {
57
57
  id: string;
58
58
  /**
59
59
  *
60
- * @type {object}
60
+ * @type {string}
61
61
  * @memberof TaskDto
62
62
  */
63
- object: object;
63
+ object: TaskDtoObjectEnum;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -75,6 +75,16 @@ export interface TaskDto {
75
75
  updatedAt: string;
76
76
  }
77
77
 
78
+
79
+ /**
80
+ * @export
81
+ */
82
+ export const TaskDtoObjectEnum = {
83
+ Task: 'task'
84
+ } as const;
85
+ export type TaskDtoObjectEnum = typeof TaskDtoObjectEnum[keyof typeof TaskDtoObjectEnum];
86
+
87
+
78
88
  /**
79
89
  * Check if a given object implements the TaskDto interface.
80
90
  */
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,10 +27,10 @@ export interface TaskExecutionDto {
27
27
  id: string;
28
28
  /**
29
29
  *
30
- * @type {object}
30
+ * @type {string}
31
31
  * @memberof TaskExecutionDto
32
32
  */
33
- object: object;
33
+ object: TaskExecutionDtoObjectEnum;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -70,6 +70,14 @@ export interface TaskExecutionDto {
70
70
  }
71
71
 
72
72
 
73
+ /**
74
+ * @export
75
+ */
76
+ export const TaskExecutionDtoObjectEnum = {
77
+ TaskExecution: 'task_execution'
78
+ } as const;
79
+ export type TaskExecutionDtoObjectEnum = typeof TaskExecutionDtoObjectEnum[keyof typeof TaskExecutionDtoObjectEnum];
80
+
73
81
  /**
74
82
  * @export
75
83
  */
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.4.1
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -57,10 +57,10 @@ export interface VariableDto {
57
57
  id: string;
58
58
  /**
59
59
  *
60
- * @type {object}
60
+ * @type {string}
61
61
  * @memberof VariableDto
62
62
  */
63
- object: object;
63
+ object: VariableDtoObjectEnum;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -86,6 +86,14 @@ export const VariableDtoStatusEnum = {
86
86
  } as const;
87
87
  export type VariableDtoStatusEnum = typeof VariableDtoStatusEnum[keyof typeof VariableDtoStatusEnum];
88
88
 
89
+ /**
90
+ * @export
91
+ */
92
+ export const VariableDtoObjectEnum = {
93
+ Variable: 'variable'
94
+ } as const;
95
+ export type VariableDtoObjectEnum = typeof VariableDtoObjectEnum[keyof typeof VariableDtoObjectEnum];
96
+
89
97
 
90
98
  /**
91
99
  * Check if a given object implements the VariableDto interface.