@product-live/api-sdk 2.3.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 (132) hide show
  1. package/apis/DataFactoryFileApi.ts +19 -19
  2. package/apis/JobApi.ts +38 -42
  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 +17 -17
  11. package/dist/apis/JobApi.js +25 -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/CreateJobDto.d.ts +13 -8
  26. package/dist/models/CreateJobDto.js +16 -12
  27. package/dist/models/CreateJobDto.js.map +1 -1
  28. package/dist/models/CreateJobExecutionDto.d.ts +1 -3
  29. package/dist/models/CreateJobExecutionDto.js +2 -5
  30. package/dist/models/CreateJobExecutionDto.js.map +1 -1
  31. package/dist/models/CreateTaskDto.d.ts +3 -4
  32. package/dist/models/CreateTaskDto.js +7 -8
  33. package/dist/models/CreateTaskDto.js.map +1 -1
  34. package/dist/models/CreateVariableDto.d.ts +8 -1
  35. package/dist/models/CreateVariableDto.js +8 -1
  36. package/dist/models/CreateVariableDto.js.map +1 -1
  37. package/dist/models/FileDto.d.ts +5 -1
  38. package/dist/models/FileDto.js +4 -1
  39. package/dist/models/FileDto.js.map +1 -1
  40. package/dist/models/FindVariablesRequest.d.ts +7 -0
  41. package/dist/models/FindVariablesRequest.js +37 -0
  42. package/dist/models/FindVariablesRequest.js.map +1 -0
  43. package/dist/models/GetFiles200Response.d.ts +14 -0
  44. package/dist/models/GetFiles200Response.js +43 -0
  45. package/dist/models/GetFiles200Response.js.map +1 -0
  46. package/dist/models/GetJobExecutionById400Response.d.ts +7 -0
  47. package/dist/models/GetJobExecutionById400Response.js +35 -0
  48. package/dist/models/GetJobExecutionById400Response.js.map +1 -0
  49. package/dist/models/GetJobExecutions200Response.d.ts +14 -0
  50. package/dist/models/GetJobExecutions200Response.js +43 -0
  51. package/dist/models/GetJobExecutions200Response.js.map +1 -0
  52. package/dist/models/GetJobs200Response.d.ts +14 -0
  53. package/dist/models/GetJobs200Response.js +43 -0
  54. package/dist/models/GetJobs200Response.js.map +1 -0
  55. package/dist/models/GetTasks200Response.d.ts +14 -0
  56. package/dist/models/GetTasks200Response.js +43 -0
  57. package/dist/models/GetTasks200Response.js.map +1 -0
  58. package/dist/models/GetVariables200Response.d.ts +14 -0
  59. package/dist/models/GetVariables200Response.js +43 -0
  60. package/dist/models/GetVariables200Response.js.map +1 -0
  61. package/dist/models/HighOrderQuery.d.ts +14 -0
  62. package/dist/models/HighOrderQuery.js +42 -0
  63. package/dist/models/HighOrderQuery.js.map +1 -0
  64. package/dist/models/JobDto.d.ts +18 -9
  65. package/dist/models/JobDto.js +19 -12
  66. package/dist/models/JobDto.js.map +1 -1
  67. package/dist/models/JobExecutionDto.d.ts +7 -4
  68. package/dist/models/JobExecutionDto.js +9 -6
  69. package/dist/models/JobExecutionDto.js.map +1 -1
  70. package/dist/models/LowOrderQuery.d.ts +23 -0
  71. package/dist/models/LowOrderQuery.js +54 -0
  72. package/dist/models/LowOrderQuery.js.map +1 -0
  73. package/dist/models/PatchTaskExecutionDto.d.ts +6 -1
  74. package/dist/models/PatchTaskExecutionDto.js +5 -1
  75. package/dist/models/PatchTaskExecutionDto.js.map +1 -1
  76. package/dist/models/Query.d.ts +21 -0
  77. package/dist/models/Query.js +48 -0
  78. package/dist/models/Query.js.map +1 -0
  79. package/dist/models/TaskDto.d.ts +8 -5
  80. package/dist/models/TaskDto.js +11 -9
  81. package/dist/models/TaskDto.js.map +1 -1
  82. package/dist/models/TaskExecutionDto.d.ts +14 -2
  83. package/dist/models/TaskExecutionDto.js +11 -1
  84. package/dist/models/TaskExecutionDto.js.map +1 -1
  85. package/dist/models/UpdateJobDto.d.ts +13 -8
  86. package/dist/models/UpdateJobDto.js +16 -12
  87. package/dist/models/UpdateJobDto.js.map +1 -1
  88. package/dist/models/UpdateTaskDto.d.ts +3 -4
  89. package/dist/models/UpdateTaskDto.js +7 -8
  90. package/dist/models/UpdateTaskDto.js.map +1 -1
  91. package/dist/models/UpdateVariableDto.d.ts +8 -1
  92. package/dist/models/UpdateVariableDto.js +8 -1
  93. package/dist/models/UpdateVariableDto.js.map +1 -1
  94. package/dist/models/VariableDto.d.ts +8 -1
  95. package/dist/models/VariableDto.js +8 -1
  96. package/dist/models/VariableDto.js.map +1 -1
  97. package/dist/models/index.d.ts +10 -11
  98. package/dist/models/index.js +10 -11
  99. package/dist/models/index.js.map +1 -1
  100. package/models/CreateJobDto.ts +33 -38
  101. package/models/CreateJobExecutionDto.ts +5 -20
  102. package/models/CreateTaskDto.ts +13 -20
  103. package/models/CreateVariableDto.ts +23 -3
  104. package/models/FileControllerGetFiles200Response.ts +1 -1
  105. package/models/FileDto.ts +13 -3
  106. package/models/FindVariablesRequest.ts +75 -0
  107. package/models/GetFiles200Response.ts +98 -0
  108. package/models/GetJobExecutionById400Response.ts +65 -0
  109. package/models/GetJobExecutions200Response.ts +98 -0
  110. package/models/GetJobs200Response.ts +98 -0
  111. package/models/GetTasks200Response.ts +98 -0
  112. package/models/GetVariables200Response.ts +98 -0
  113. package/models/HighOrderQuery.ts +91 -0
  114. package/models/JobControllerList200Response.ts +1 -1
  115. package/models/JobDto.ts +43 -40
  116. package/models/JobExecutionControllerGetOne400Response.ts +1 -1
  117. package/models/JobExecutionControllerList200Response.ts +1 -1
  118. package/models/JobExecutionDto.ts +26 -22
  119. package/models/LowOrderQuery.ts +115 -0
  120. package/models/PatchTaskExecutionDto.ts +13 -2
  121. package/models/Query.ts +85 -0
  122. package/models/TaskControllerList200Response.ts +1 -1
  123. package/models/TaskDto.ts +25 -22
  124. package/models/TaskExecutionDto.ts +26 -4
  125. package/models/UpdateJobDto.ts +33 -38
  126. package/models/UpdateTaskDto.ts +13 -20
  127. package/models/UpdateVariableDto.ts +23 -3
  128. package/models/VariableControllerList200Response.ts +1 -1
  129. package/models/VariableDto.ts +21 -3
  130. package/models/index.ts +10 -11
  131. package/package.json +2 -2
  132. package/runtime.ts +1 -1
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.1.0
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).
@@ -13,25 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
17
- import {
18
- JobDtoPeriodicityInnerFromJSON,
19
- JobDtoPeriodicityInnerFromJSONTyped,
20
- JobDtoPeriodicityInnerToJSON,
21
- } from './JobDtoPeriodicityInner';
22
- import type { JobDtoTasksInner } from './JobDtoTasksInner';
23
- import {
24
- JobDtoTasksInnerFromJSON,
25
- JobDtoTasksInnerFromJSONTyped,
26
- JobDtoTasksInnerToJSON,
27
- } from './JobDtoTasksInner';
28
- import type { JobDtoTitleLocal } from './JobDtoTitleLocal';
29
- import {
30
- JobDtoTitleLocalFromJSON,
31
- JobDtoTitleLocalFromJSONTyped,
32
- JobDtoTitleLocalToJSON,
33
- } from './JobDtoTitleLocal';
34
-
35
16
  /**
36
17
  *
37
18
  * @export
@@ -46,10 +27,10 @@ export interface JobDto {
46
27
  key: string;
47
28
  /**
48
29
  *
49
- * @type {Array<JobDtoPeriodicityInner>}
30
+ * @type {Array<object>}
50
31
  * @memberof JobDto
51
32
  */
52
- periodicity?: Array<JobDtoPeriodicityInner>;
33
+ periodicity?: Array<object>;
53
34
  /**
54
35
  *
55
36
  * @type {string}
@@ -64,10 +45,10 @@ export interface JobDto {
64
45
  projectId: string;
65
46
  /**
66
47
  *
67
- * @type {object}
48
+ * @type {string}
68
49
  * @memberof JobDto
69
50
  */
70
- status: object;
51
+ status: JobDtoStatusEnum;
71
52
  /**
72
53
  *
73
54
  * @type {string}
@@ -76,10 +57,10 @@ export interface JobDto {
76
57
  title: string;
77
58
  /**
78
59
  *
79
- * @type {JobDtoTitleLocal}
60
+ * @type {object}
80
61
  * @memberof JobDto
81
62
  */
82
- titleLocal?: JobDtoTitleLocal;
63
+ titleLocal?: object;
83
64
  /**
84
65
  *
85
66
  * @type {string}
@@ -88,10 +69,10 @@ export interface JobDto {
88
69
  description?: string;
89
70
  /**
90
71
  *
91
- * @type {JobDtoTitleLocal}
72
+ * @type {object}
92
73
  * @memberof JobDto
93
74
  */
94
- descriptionLocal?: JobDtoTitleLocal;
75
+ descriptionLocal?: object;
95
76
  /**
96
77
  *
97
78
  * @type {{ [key: string]: any; }}
@@ -100,10 +81,10 @@ export interface JobDto {
100
81
  output?: { [key: string]: any; };
101
82
  /**
102
83
  *
103
- * @type {Array<JobDtoTasksInner>}
84
+ * @type {Array<object>}
104
85
  * @memberof JobDto
105
86
  */
106
- tasks?: Array<JobDtoTasksInner>;
87
+ tasks?: Array<object>;
107
88
  /**
108
89
  *
109
90
  * @type {string}
@@ -112,10 +93,10 @@ export interface JobDto {
112
93
  id: string;
113
94
  /**
114
95
  *
115
- * @type {object}
96
+ * @type {string}
116
97
  * @memberof JobDto
117
98
  */
118
- object: object;
99
+ object: JobDtoObjectEnum;
119
100
  /**
120
101
  *
121
102
  * @type {string}
@@ -130,6 +111,28 @@ export interface JobDto {
130
111
  updatedAt: string;
131
112
  }
132
113
 
114
+
115
+ /**
116
+ * @export
117
+ */
118
+ export const JobDtoStatusEnum = {
119
+ Draft: 'DRAFT',
120
+ Production: 'PRODUCTION',
121
+ Deprecated: 'DEPRECATED',
122
+ Archived: 'ARCHIVED',
123
+ Removed: 'REMOVED'
124
+ } as const;
125
+ export type JobDtoStatusEnum = typeof JobDtoStatusEnum[keyof typeof JobDtoStatusEnum];
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
+
135
+
133
136
  /**
134
137
  * Check if a given object implements the JobDto interface.
135
138
  */
@@ -159,16 +162,16 @@ export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Jo
159
162
  return {
160
163
 
161
164
  'key': json['key'],
162
- 'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
165
+ 'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
163
166
  'pipelineId': json['pipelineId'],
164
167
  'projectId': json['projectId'],
165
168
  'status': json['status'],
166
169
  'title': json['title'],
167
- 'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
170
+ 'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
168
171
  'description': !exists(json, 'description') ? undefined : json['description'],
169
- 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
172
+ 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
170
173
  'output': !exists(json, 'output') ? undefined : json['output'],
171
- 'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
174
+ 'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
172
175
  'id': json['id'],
173
176
  'object': json['object'],
174
177
  'createdAt': json['createdAt'],
@@ -186,16 +189,16 @@ export function JobDtoToJSON(value?: JobDto | null): any {
186
189
  return {
187
190
 
188
191
  'key': value.key,
189
- 'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
192
+ 'periodicity': value.periodicity,
190
193
  'pipelineId': value.pipelineId,
191
194
  'projectId': value.projectId,
192
195
  'status': value.status,
193
196
  'title': value.title,
194
- 'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
197
+ 'titleLocal': value.titleLocal,
195
198
  'description': value.description,
196
- 'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
199
+ 'descriptionLocal': value.descriptionLocal,
197
200
  'output': value.output,
198
- 'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
201
+ 'tasks': value.tasks,
199
202
  'id': value.id,
200
203
  'object': value.object,
201
204
  'createdAt': value.createdAt,
@@ -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.1.0
7
+ * The version of the OpenAPI document: 2.4.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.1.0
7
+ * The version of the OpenAPI document: 2.4.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.1.0
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).
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { JobExecutionDtoInfo } from './JobExecutionDtoInfo';
17
- import {
18
- JobExecutionDtoInfoFromJSON,
19
- JobExecutionDtoInfoFromJSONTyped,
20
- JobExecutionDtoInfoToJSON,
21
- } from './JobExecutionDtoInfo';
22
-
23
16
  /**
24
17
  *
25
18
  * @export
@@ -34,16 +27,10 @@ export interface JobExecutionDto {
34
27
  jobId: string;
35
28
  /**
36
29
  *
37
- * @type {JobExecutionDtoInfo}
38
- * @memberof JobExecutionDto
39
- */
40
- info: JobExecutionDtoInfo;
41
- /**
42
- *
43
- * @type {string}
30
+ * @type {object}
44
31
  * @memberof JobExecutionDto
45
32
  */
46
- pipelineId?: string;
33
+ info: object;
47
34
  /**
48
35
  *
49
36
  * @type {{ [key: string]: any; }}
@@ -58,10 +45,10 @@ export interface JobExecutionDto {
58
45
  id: string;
59
46
  /**
60
47
  *
61
- * @type {object}
48
+ * @type {string}
62
49
  * @memberof JobExecutionDto
63
50
  */
64
- object: object;
51
+ object: JobExecutionDtoObjectEnum;
65
52
  /**
66
53
  *
67
54
  * @type {string}
@@ -86,6 +73,12 @@ export interface JobExecutionDto {
86
73
  * @memberof JobExecutionDto
87
74
  */
88
75
  startedAt: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof JobExecutionDto
80
+ */
81
+ pipelineId: string;
89
82
  /**
90
83
  *
91
84
  * @type {object}
@@ -100,6 +93,16 @@ export interface JobExecutionDto {
100
93
  output: { [key: string]: any; };
101
94
  }
102
95
 
96
+
97
+ /**
98
+ * @export
99
+ */
100
+ export const JobExecutionDtoObjectEnum = {
101
+ JobExecution: 'job_execution'
102
+ } as const;
103
+ export type JobExecutionDtoObjectEnum = typeof JobExecutionDtoObjectEnum[keyof typeof JobExecutionDtoObjectEnum];
104
+
105
+
103
106
  /**
104
107
  * Check if a given object implements the JobExecutionDto interface.
105
108
  */
@@ -113,6 +116,7 @@ export function instanceOfJobExecutionDto(value: object): boolean {
113
116
  isInstance = isInstance && "updatedAt" in value;
114
117
  isInstance = isInstance && "endedAt" in value;
115
118
  isInstance = isInstance && "startedAt" in value;
119
+ isInstance = isInstance && "pipelineId" in value;
116
120
  isInstance = isInstance && "status" in value;
117
121
  isInstance = isInstance && "output" in value;
118
122
 
@@ -130,8 +134,7 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
130
134
  return {
131
135
 
132
136
  'jobId': json['jobId'],
133
- 'info': JobExecutionDtoInfoFromJSON(json['info']),
134
- 'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
137
+ 'info': json['info'],
135
138
  'input': !exists(json, 'input') ? undefined : json['input'],
136
139
  'id': json['id'],
137
140
  'object': json['object'],
@@ -139,6 +142,7 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
139
142
  'updatedAt': json['updatedAt'],
140
143
  'endedAt': json['endedAt'],
141
144
  'startedAt': json['startedAt'],
145
+ 'pipelineId': json['pipelineId'],
142
146
  'status': json['status'],
143
147
  'output': json['output'],
144
148
  };
@@ -154,8 +158,7 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
154
158
  return {
155
159
 
156
160
  'jobId': value.jobId,
157
- 'info': JobExecutionDtoInfoToJSON(value.info),
158
- 'pipelineId': value.pipelineId,
161
+ 'info': value.info,
159
162
  'input': value.input,
160
163
  'id': value.id,
161
164
  'object': value.object,
@@ -163,6 +166,7 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
163
166
  'updatedAt': value.updatedAt,
164
167
  'endedAt': value.endedAt,
165
168
  'startedAt': value.startedAt,
169
+ 'pipelineId': value.pipelineId,
166
170
  'status': value.status,
167
171
  'output': value.output,
168
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.1.0
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).
@@ -30,7 +30,7 @@ export interface PatchTaskExecutionDto {
30
30
  * @type {string}
31
31
  * @memberof PatchTaskExecutionDto
32
32
  */
33
- status: string;
33
+ status: PatchTaskExecutionDtoStatusEnum;
34
34
  /**
35
35
  *
36
36
  * @type {{ [key: string]: any; }}
@@ -39,6 +39,17 @@ export interface PatchTaskExecutionDto {
39
39
  output?: { [key: string]: any; };
40
40
  }
41
41
 
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const PatchTaskExecutionDtoStatusEnum = {
47
+ Failed: 'FAILED',
48
+ Completed: 'COMPLETED'
49
+ } as const;
50
+ export type PatchTaskExecutionDtoStatusEnum = typeof PatchTaskExecutionDtoStatusEnum[keyof typeof PatchTaskExecutionDtoStatusEnum];
51
+
52
+
42
53
  /**
43
54
  * Check if a given object implements the PatchTaskExecutionDto interface.
44
55
  */
@@ -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
+
@@ -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.1.0
7
+ * The version of the OpenAPI document: 2.4.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.1.0
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).
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { TaskDtoInputKeysInner } from './TaskDtoInputKeysInner';
17
- import {
18
- TaskDtoInputKeysInnerFromJSON,
19
- TaskDtoInputKeysInnerFromJSONTyped,
20
- TaskDtoInputKeysInnerToJSON,
21
- } from './TaskDtoInputKeysInner';
22
-
23
16
  /**
24
17
  *
25
18
  * @export
@@ -31,7 +24,7 @@ export interface TaskDto {
31
24
  * @type {string}
32
25
  * @memberof TaskDto
33
26
  */
34
- name: string;
27
+ key: string;
35
28
  /**
36
29
  *
37
30
  * @type {string}
@@ -46,16 +39,16 @@ export interface TaskDto {
46
39
  retryCount: number;
47
40
  /**
48
41
  *
49
- * @type {Array<TaskDtoInputKeysInner>}
42
+ * @type {Array<object>}
50
43
  * @memberof TaskDto
51
44
  */
52
- inputKeys: Array<TaskDtoInputKeysInner>;
45
+ inputKeys: Array<object>;
53
46
  /**
54
47
  *
55
- * @type {Array<TaskDtoInputKeysInner>}
48
+ * @type {Array<object>}
56
49
  * @memberof TaskDto
57
50
  */
58
- outputKeys: Array<TaskDtoInputKeysInner>;
51
+ outputKeys: Array<object>;
59
52
  /**
60
53
  *
61
54
  * @type {string}
@@ -64,10 +57,10 @@ export interface TaskDto {
64
57
  id: string;
65
58
  /**
66
59
  *
67
- * @type {object}
60
+ * @type {string}
68
61
  * @memberof TaskDto
69
62
  */
70
- object: object;
63
+ object: TaskDtoObjectEnum;
71
64
  /**
72
65
  *
73
66
  * @type {string}
@@ -82,12 +75,22 @@ export interface TaskDto {
82
75
  updatedAt: string;
83
76
  }
84
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
+
85
88
  /**
86
89
  * Check if a given object implements the TaskDto interface.
87
90
  */
88
91
  export function instanceOfTaskDto(value: object): boolean {
89
92
  let isInstance = true;
90
- isInstance = isInstance && "name" in value;
93
+ isInstance = isInstance && "key" in value;
91
94
  isInstance = isInstance && "description" in value;
92
95
  isInstance = isInstance && "retryCount" in value;
93
96
  isInstance = isInstance && "inputKeys" in value;
@@ -110,11 +113,11 @@ export function TaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): T
110
113
  }
111
114
  return {
112
115
 
113
- 'name': json['name'],
116
+ 'key': json['key'],
114
117
  'description': json['description'],
115
118
  'retryCount': json['retryCount'],
116
- 'inputKeys': ((json['inputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
117
- 'outputKeys': ((json['outputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
119
+ 'inputKeys': json['inputKeys'],
120
+ 'outputKeys': json['outputKeys'],
118
121
  'id': json['id'],
119
122
  'object': json['object'],
120
123
  'createdAt': json['createdAt'],
@@ -131,11 +134,11 @@ export function TaskDtoToJSON(value?: TaskDto | null): any {
131
134
  }
132
135
  return {
133
136
 
134
- 'name': value.name,
137
+ 'key': value.key,
135
138
  'description': value.description,
136
139
  'retryCount': value.retryCount,
137
- 'inputKeys': ((value.inputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
138
- 'outputKeys': ((value.outputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
140
+ 'inputKeys': value.inputKeys,
141
+ 'outputKeys': value.outputKeys,
139
142
  'id': value.id,
140
143
  'object': value.object,
141
144
  'createdAt': value.createdAt,