@product-live/api-sdk 2.4.1 → 2.8.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 (264) hide show
  1. package/DataFactoryFileApi.md +182 -0
  2. package/JobApi.md +333 -0
  3. package/JobExecutionApi.md +185 -0
  4. package/README.md +80 -0
  5. package/TaskApi.md +375 -0
  6. package/TaskExecutionApi.md +130 -0
  7. package/VariableApi.md +315 -0
  8. package/apis/DataFactoryFileApi.ts +252 -133
  9. package/apis/JobApi.ts +412 -208
  10. package/apis/JobExecutionApi.ts +237 -121
  11. package/apis/TaskApi.ts +458 -213
  12. package/apis/TaskExecutionApi.ts +174 -90
  13. package/apis/VariableApi.ts +418 -149
  14. package/apis/baseapi.ts +37 -0
  15. package/apis/exception.ts +15 -0
  16. package/auth/auth.ts +107 -0
  17. package/configuration.ts +82 -0
  18. package/dist/apis/DataFactoryFileApi.d.ts +14 -19
  19. package/dist/apis/DataFactoryFileApi.js +340 -103
  20. package/dist/apis/DataFactoryFileApi.js.map +1 -1
  21. package/dist/apis/JobApi.d.ts +19 -31
  22. package/dist/apis/JobApi.js +524 -171
  23. package/dist/apis/JobApi.js.map +1 -1
  24. package/dist/apis/JobExecutionApi.d.ts +14 -18
  25. package/dist/apis/JobExecutionApi.js +320 -88
  26. package/dist/apis/JobExecutionApi.js.map +1 -1
  27. package/dist/apis/TaskApi.d.ts +22 -34
  28. package/dist/apis/TaskApi.js +584 -171
  29. package/dist/apis/TaskApi.js.map +1 -1
  30. package/dist/apis/TaskExecutionApi.d.ts +11 -13
  31. package/dist/apis/TaskExecutionApi.js +242 -62
  32. package/dist/apis/TaskExecutionApi.js.map +1 -1
  33. package/dist/apis/VariableApi.d.ts +20 -24
  34. package/dist/apis/VariableApi.js +508 -119
  35. package/dist/apis/VariableApi.js.map +1 -1
  36. package/dist/apis/baseapi.d.ts +18 -0
  37. package/dist/apis/baseapi.js +46 -0
  38. package/dist/apis/baseapi.js.map +1 -0
  39. package/dist/apis/exception.d.ts +10 -0
  40. package/dist/apis/exception.js +32 -0
  41. package/dist/apis/exception.js.map +1 -0
  42. package/dist/auth/auth.d.ts +42 -0
  43. package/dist/auth/auth.js +45 -0
  44. package/dist/auth/auth.js.map +1 -0
  45. package/dist/configuration.d.ts +18 -0
  46. package/dist/configuration.js +22 -0
  47. package/dist/configuration.js.map +1 -0
  48. package/dist/http/http.d.ts +82 -0
  49. package/dist/http/http.js +229 -0
  50. package/dist/http/http.js.map +1 -0
  51. package/dist/http/isomorphic-fetch.d.ts +5 -0
  52. package/dist/http/isomorphic-fetch.js +34 -0
  53. package/dist/http/isomorphic-fetch.js.map +1 -0
  54. package/dist/index.d.ts +10 -3
  55. package/dist/index.js +17 -3
  56. package/dist/index.js.map +1 -1
  57. package/dist/middleware.d.ts +16 -0
  58. package/dist/middleware.js +18 -0
  59. package/dist/middleware.js.map +1 -0
  60. package/dist/models/CreateJobDto.d.ts +27 -24
  61. package/dist/models/CreateJobDto.js +77 -62
  62. package/dist/models/CreateJobDto.js.map +1 -1
  63. package/dist/models/CreateJobExecutionDto.d.ts +18 -9
  64. package/dist/models/CreateJobExecutionDto.js +29 -38
  65. package/dist/models/CreateJobExecutionDto.js.map +1 -1
  66. package/dist/models/CreateTaskDto.d.ts +20 -10
  67. package/dist/models/CreateTaskDto.js +41 -42
  68. package/dist/models/CreateTaskDto.js.map +1 -1
  69. package/dist/models/CreateVariableDto.d.ts +21 -16
  70. package/dist/models/CreateVariableDto.js +41 -46
  71. package/dist/models/CreateVariableDto.js.map +1 -1
  72. package/dist/models/FileDto.d.ts +22 -11
  73. package/dist/models/FileDto.js +47 -45
  74. package/dist/models/FileDto.js.map +1 -1
  75. package/dist/models/FindVariablesRequest.d.ts +24 -0
  76. package/dist/models/FindVariablesRequest.js +46 -0
  77. package/dist/models/FindVariablesRequest.js.map +1 -0
  78. package/dist/models/GetFiles200Response.d.ts +21 -0
  79. package/dist/models/GetFiles200Response.js +34 -0
  80. package/dist/models/GetFiles200Response.js.map +1 -0
  81. package/dist/models/GetJobExecutionById400Response.d.ts +17 -0
  82. package/dist/models/GetJobExecutionById400Response.js +22 -0
  83. package/dist/models/GetJobExecutionById400Response.js.map +1 -0
  84. package/dist/models/GetJobExecutions200Response.d.ts +21 -0
  85. package/dist/models/GetJobExecutions200Response.js +34 -0
  86. package/dist/models/GetJobExecutions200Response.js.map +1 -0
  87. package/dist/models/GetJobs200Response.d.ts +21 -0
  88. package/dist/models/GetJobs200Response.js +34 -0
  89. package/dist/models/GetJobs200Response.js.map +1 -0
  90. package/dist/models/GetTasks200Response.d.ts +21 -0
  91. package/dist/models/GetTasks200Response.js +34 -0
  92. package/dist/models/GetTasks200Response.js.map +1 -0
  93. package/dist/models/GetVariables200Response.d.ts +21 -0
  94. package/dist/models/GetVariables200Response.js +34 -0
  95. package/dist/models/GetVariables200Response.js.map +1 -0
  96. package/dist/models/HighOrderQuery.d.ts +20 -0
  97. package/dist/models/HighOrderQuery.js +28 -0
  98. package/dist/models/HighOrderQuery.js.map +1 -0
  99. package/dist/models/JobDto.d.ts +32 -28
  100. package/dist/models/JobDto.js +101 -74
  101. package/dist/models/JobDto.js.map +1 -1
  102. package/dist/models/JobExecutionDto.d.ts +28 -33
  103. package/dist/models/JobExecutionDto.js +83 -77
  104. package/dist/models/JobExecutionDto.js.map +1 -1
  105. package/dist/models/LowOrderQuery.d.ts +22 -0
  106. package/dist/models/LowOrderQuery.js +40 -0
  107. package/dist/models/LowOrderQuery.js.map +1 -0
  108. package/dist/models/LowOrderQueryValue.d.ts +16 -0
  109. package/dist/models/LowOrderQueryValue.js +15 -0
  110. package/dist/models/LowOrderQueryValue.js.map +1 -0
  111. package/dist/models/ObjectSerializer.d.ts +34 -0
  112. package/dist/models/ObjectSerializer.js +313 -0
  113. package/dist/models/ObjectSerializer.js.map +1 -0
  114. package/dist/models/PatchTaskExecutionDto.d.ts +19 -13
  115. package/dist/models/PatchTaskExecutionDto.js +29 -40
  116. package/dist/models/PatchTaskExecutionDto.js.map +1 -1
  117. package/dist/models/Query.d.ts +18 -0
  118. package/dist/models/Query.js +22 -0
  119. package/dist/models/Query.js.map +1 -0
  120. package/dist/models/TaskDto.d.ts +25 -14
  121. package/dist/models/TaskDto.js +65 -54
  122. package/dist/models/TaskDto.js.map +1 -1
  123. package/dist/models/TaskExecutionDto.d.ts +25 -21
  124. package/dist/models/TaskExecutionDto.js +59 -58
  125. package/dist/models/TaskExecutionDto.js.map +1 -1
  126. package/dist/models/UpdateJobDto.d.ts +28 -25
  127. package/dist/models/UpdateJobDto.js +83 -65
  128. package/dist/models/UpdateJobDto.js.map +1 -1
  129. package/dist/models/UpdateTaskDto.d.ts +21 -11
  130. package/dist/models/UpdateTaskDto.js +47 -45
  131. package/dist/models/UpdateTaskDto.js.map +1 -1
  132. package/dist/models/UpdateVariableDto.d.ts +22 -17
  133. package/dist/models/UpdateVariableDto.js +47 -49
  134. package/dist/models/UpdateVariableDto.js.map +1 -1
  135. package/dist/models/VariableDto.d.ts +26 -20
  136. package/dist/models/VariableDto.js +65 -58
  137. package/dist/models/VariableDto.js.map +1 -1
  138. package/dist/models/all.d.ts +25 -0
  139. package/dist/models/all.js +42 -0
  140. package/dist/models/all.js.map +1 -0
  141. package/dist/rxjsStub.d.ts +10 -0
  142. package/dist/rxjsStub.js +33 -0
  143. package/dist/rxjsStub.js.map +1 -0
  144. package/dist/servers.d.ts +17 -0
  145. package/dist/servers.js +32 -0
  146. package/dist/servers.js.map +1 -0
  147. package/dist/types/ObjectParamAPI.d.ts +160 -0
  148. package/dist/types/ObjectParamAPI.js +129 -0
  149. package/dist/types/ObjectParamAPI.js.map +1 -0
  150. package/dist/types/ObservableAPI.d.ts +89 -0
  151. package/dist/types/ObservableAPI.js +642 -0
  152. package/dist/types/ObservableAPI.js.map +1 -0
  153. package/dist/types/PromiseAPI.d.ts +76 -0
  154. package/dist/types/PromiseAPI.js +148 -0
  155. package/dist/types/PromiseAPI.js.map +1 -0
  156. package/dist/util.d.ts +2 -0
  157. package/dist/util.js +29 -0
  158. package/dist/util.js.map +1 -0
  159. package/git_push.sh +51 -0
  160. package/http/http.ts +229 -0
  161. package/http/isomorphic-fetch.ts +32 -0
  162. package/index.ts +12 -5
  163. package/middleware.ts +66 -0
  164. package/models/CreateJobDto.ts +88 -144
  165. package/models/CreateJobExecutionDto.ts +29 -71
  166. package/models/CreateTaskDto.ts +43 -82
  167. package/models/CreateVariableDto.ts +46 -92
  168. package/models/FileDto.ts +53 -91
  169. package/models/FindVariablesRequest.ts +70 -0
  170. package/models/GetFiles200Response.ts +53 -0
  171. package/models/GetJobExecutionById400Response.ts +35 -0
  172. package/models/GetJobExecutions200Response.ts +53 -0
  173. package/models/GetJobs200Response.ts +53 -0
  174. package/models/GetTasks200Response.ts +53 -0
  175. package/models/GetVariables200Response.ts +53 -0
  176. package/models/HighOrderQuery.ts +46 -0
  177. package/models/JobDto.ts +117 -180
  178. package/models/JobExecutionDto.ts +95 -165
  179. package/models/LowOrderQuery.ts +60 -0
  180. package/models/LowOrderQueryValue.ts +29 -0
  181. package/models/ObjectSerializer.ts +324 -0
  182. package/models/PatchTaskExecutionDto.ts +36 -78
  183. package/models/Query.ts +38 -0
  184. package/models/TaskDto.ts +74 -118
  185. package/models/TaskExecutionDto.ts +68 -123
  186. package/models/UpdateJobDto.ts +95 -153
  187. package/models/UpdateTaskDto.ts +50 -91
  188. package/models/UpdateVariableDto.ts +53 -101
  189. package/models/VariableDto.ts +75 -128
  190. package/models/all.ts +25 -0
  191. package/package.json +35 -10
  192. package/rxjsStub.ts +27 -0
  193. package/servers.ts +55 -0
  194. package/types/ObjectParamAPI.ts +580 -0
  195. package/types/ObservableAPI.ts +701 -0
  196. package/types/PromiseAPI.ts +370 -0
  197. package/util.ts +37 -0
  198. package/apis/index.ts +0 -8
  199. package/dist/apis/index.d.ts +0 -6
  200. package/dist/apis/index.js +0 -23
  201. package/dist/apis/index.js.map +0 -1
  202. package/dist/models/FileControllerGetFiles200Response.d.ts +0 -14
  203. package/dist/models/FileControllerGetFiles200Response.js +0 -43
  204. package/dist/models/FileControllerGetFiles200Response.js.map +0 -1
  205. package/dist/models/JobControllerList200Response.d.ts +0 -14
  206. package/dist/models/JobControllerList200Response.js +0 -43
  207. package/dist/models/JobControllerList200Response.js.map +0 -1
  208. package/dist/models/JobDtoPeriodicityInner.d.ts +0 -8
  209. package/dist/models/JobDtoPeriodicityInner.js +0 -37
  210. package/dist/models/JobDtoPeriodicityInner.js.map +0 -1
  211. package/dist/models/JobDtoTasksInner.d.ts +0 -14
  212. package/dist/models/JobDtoTasksInner.js +0 -45
  213. package/dist/models/JobDtoTasksInner.js.map +0 -1
  214. package/dist/models/JobDtoTitleLocal.d.ts +0 -8
  215. package/dist/models/JobDtoTitleLocal.js +0 -37
  216. package/dist/models/JobDtoTitleLocal.js.map +0 -1
  217. package/dist/models/JobExecutionControllerGetOne400Response.d.ts +0 -7
  218. package/dist/models/JobExecutionControllerGetOne400Response.js +0 -35
  219. package/dist/models/JobExecutionControllerGetOne400Response.js.map +0 -1
  220. package/dist/models/JobExecutionControllerList200Response.d.ts +0 -14
  221. package/dist/models/JobExecutionControllerList200Response.js +0 -43
  222. package/dist/models/JobExecutionControllerList200Response.js.map +0 -1
  223. package/dist/models/JobExecutionDtoInfo.d.ts +0 -7
  224. package/dist/models/JobExecutionDtoInfo.js +0 -35
  225. package/dist/models/JobExecutionDtoInfo.js.map +0 -1
  226. package/dist/models/TaskControllerList200Response.d.ts +0 -14
  227. package/dist/models/TaskControllerList200Response.js +0 -43
  228. package/dist/models/TaskControllerList200Response.js.map +0 -1
  229. package/dist/models/TaskDtoInputKeysInner.d.ts +0 -8
  230. package/dist/models/TaskDtoInputKeysInner.js +0 -37
  231. package/dist/models/TaskDtoInputKeysInner.js.map +0 -1
  232. package/dist/models/VariableControllerList200Response.d.ts +0 -14
  233. package/dist/models/VariableControllerList200Response.js +0 -43
  234. package/dist/models/VariableControllerList200Response.js.map +0 -1
  235. package/dist/models/index.d.ts +0 -20
  236. package/dist/models/index.js +0 -37
  237. package/dist/models/index.js.map +0 -1
  238. package/dist/runtime.d.ts +0 -154
  239. package/dist/runtime.js +0 -306
  240. package/dist/runtime.js.map +0 -1
  241. package/models/ExecuteJob400Response.ts +0 -65
  242. package/models/ExecuteJobDto.ts +0 -97
  243. package/models/ExecuteJobDtoInfo.ts +0 -65
  244. package/models/ExecuteJobDtoJob.ts +0 -81
  245. package/models/FileControllerGetFiles200Response.ts +0 -98
  246. package/models/FileCreatedDto.ts +0 -111
  247. package/models/JobControllerList200Response.ts +0 -98
  248. package/models/JobDtoPeriodicitiesInner.ts +0 -73
  249. package/models/JobDtoPeriodicityInner.ts +0 -73
  250. package/models/JobDtoProject.ts +0 -73
  251. package/models/JobDtoTasksInner.ts +0 -105
  252. package/models/JobDtoTitleLocal.ts +0 -73
  253. package/models/JobExecutionControllerGetOne400Response.ts +0 -65
  254. package/models/JobExecutionControllerList200Response.ts +0 -98
  255. package/models/JobExecutionDtoEventsInner.ts +0 -89
  256. package/models/JobExecutionDtoInfo.ts +0 -65
  257. package/models/JobExecutionDtoJob.ts +0 -81
  258. package/models/TaskControllerList200Response.ts +0 -98
  259. package/models/TaskDtoInputKeysInner.ts +0 -73
  260. package/models/TaskInstanceDto.ts +0 -143
  261. package/models/TaskInstanceUpdateDto.ts +0 -107
  262. package/models/VariableControllerList200Response.ts +0 -98
  263. package/models/index.ts +0 -22
  264. package/runtime.ts +0 -425
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Product-Live API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 2.8.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { Query } from '../models/Query';
14
+ import { HttpFile } from '../http/http';
15
+
16
+ export class HighOrderQuery {
17
+ 'queries'?: Query;
18
+ 'type'?: HighOrderQueryTypeEnum;
19
+
20
+ static readonly discriminator: string | undefined = undefined;
21
+
22
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
23
+ {
24
+ "name": "queries",
25
+ "baseName": "queries",
26
+ "type": "Query",
27
+ "format": ""
28
+ },
29
+ {
30
+ "name": "type",
31
+ "baseName": "type",
32
+ "type": "HighOrderQueryTypeEnum",
33
+ "format": ""
34
+ } ];
35
+
36
+ static getAttributeTypeMap() {
37
+ return HighOrderQuery.attributeTypeMap;
38
+ }
39
+
40
+ public constructor() {
41
+ }
42
+ }
43
+
44
+
45
+ export type HighOrderQueryTypeEnum = "and" | "or" ;
46
+
package/models/JobDto.ts CHANGED
@@ -1,10 +1,8 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
1
  /**
4
2
  * Product-Live API
5
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
4
  *
7
- * The version of the OpenAPI document: 2.4.1
5
+ * OpenAPI spec version: 2.8.1
8
6
  *
9
7
  *
10
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,189 +10,128 @@
12
10
  * Do not edit the class manually.
13
11
  */
14
12
 
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface JobDto
20
- */
21
- export interface JobDto {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof JobDto
26
- */
27
- key: string;
28
- /**
29
- *
30
- * @type {Array<object>}
31
- * @memberof JobDto
32
- */
33
- periodicity?: Array<object>;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof JobDto
38
- */
39
- pipelineId: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof JobDto
44
- */
45
- projectId: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof JobDto
50
- */
51
- status: JobDtoStatusEnum;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof JobDto
56
- */
57
- title: string;
58
- /**
59
- *
60
- * @type {object}
61
- * @memberof JobDto
62
- */
63
- titleLocal?: object;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof JobDto
68
- */
69
- description?: string;
70
- /**
71
- *
72
- * @type {object}
73
- * @memberof JobDto
74
- */
75
- descriptionLocal?: object;
76
- /**
77
- *
78
- * @type {{ [key: string]: any; }}
79
- * @memberof JobDto
80
- */
81
- output?: { [key: string]: any; };
82
- /**
83
- *
84
- * @type {Array<object>}
85
- * @memberof JobDto
86
- */
87
- tasks?: Array<object>;
88
- /**
89
- *
90
- * @type {string}
91
- * @memberof JobDto
92
- */
93
- id: string;
94
- /**
95
- *
96
- * @type {object}
97
- * @memberof JobDto
98
- */
99
- object: object;
100
- /**
101
- *
102
- * @type {string}
103
- * @memberof JobDto
104
- */
105
- createdAt: string;
106
- /**
107
- *
108
- * @type {string}
109
- * @memberof JobDto
110
- */
111
- updatedAt: string;
112
- }
13
+ import { HttpFile } from '../http/http';
113
14
 
15
+ export class JobDto {
16
+ 'key': string;
17
+ 'periodicity'?: Array<any>;
18
+ 'pipelineId': string;
19
+ 'projectId': string;
20
+ 'status': JobDtoStatusEnum;
21
+ 'title': string;
22
+ 'titleLocal'?: any;
23
+ 'description'?: string;
24
+ 'descriptionLocal'?: any;
25
+ 'output'?: { [key: string]: any; };
26
+ 'tasks'?: Array<any>;
27
+ 'id': string;
28
+ 'object': JobDtoObjectEnum;
29
+ 'createdAt': string;
30
+ 'updatedAt': string;
114
31
 
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
-
32
+ static readonly discriminator: string | undefined = undefined;
127
33
 
128
- /**
129
- * Check if a given object implements the JobDto interface.
130
- */
131
- export function instanceOfJobDto(value: object): boolean {
132
- let isInstance = true;
133
- isInstance = isInstance && "key" in value;
134
- isInstance = isInstance && "pipelineId" in value;
135
- isInstance = isInstance && "projectId" in value;
136
- isInstance = isInstance && "status" in value;
137
- isInstance = isInstance && "title" in value;
138
- isInstance = isInstance && "id" in value;
139
- isInstance = isInstance && "object" in value;
140
- isInstance = isInstance && "createdAt" in value;
141
- isInstance = isInstance && "updatedAt" in value;
34
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
35
+ {
36
+ "name": "key",
37
+ "baseName": "key",
38
+ "type": "string",
39
+ "format": ""
40
+ },
41
+ {
42
+ "name": "periodicity",
43
+ "baseName": "periodicity",
44
+ "type": "Array<any>",
45
+ "format": ""
46
+ },
47
+ {
48
+ "name": "pipelineId",
49
+ "baseName": "pipelineId",
50
+ "type": "string",
51
+ "format": ""
52
+ },
53
+ {
54
+ "name": "projectId",
55
+ "baseName": "projectId",
56
+ "type": "string",
57
+ "format": ""
58
+ },
59
+ {
60
+ "name": "status",
61
+ "baseName": "status",
62
+ "type": "JobDtoStatusEnum",
63
+ "format": ""
64
+ },
65
+ {
66
+ "name": "title",
67
+ "baseName": "title",
68
+ "type": "string",
69
+ "format": ""
70
+ },
71
+ {
72
+ "name": "titleLocal",
73
+ "baseName": "titleLocal",
74
+ "type": "any",
75
+ "format": ""
76
+ },
77
+ {
78
+ "name": "description",
79
+ "baseName": "description",
80
+ "type": "string",
81
+ "format": ""
82
+ },
83
+ {
84
+ "name": "descriptionLocal",
85
+ "baseName": "descriptionLocal",
86
+ "type": "any",
87
+ "format": ""
88
+ },
89
+ {
90
+ "name": "output",
91
+ "baseName": "output",
92
+ "type": "{ [key: string]: any; }",
93
+ "format": ""
94
+ },
95
+ {
96
+ "name": "tasks",
97
+ "baseName": "tasks",
98
+ "type": "Array<any>",
99
+ "format": ""
100
+ },
101
+ {
102
+ "name": "id",
103
+ "baseName": "id",
104
+ "type": "string",
105
+ "format": ""
106
+ },
107
+ {
108
+ "name": "object",
109
+ "baseName": "object",
110
+ "type": "JobDtoObjectEnum",
111
+ "format": ""
112
+ },
113
+ {
114
+ "name": "createdAt",
115
+ "baseName": "createdAt",
116
+ "type": "string",
117
+ "format": ""
118
+ },
119
+ {
120
+ "name": "updatedAt",
121
+ "baseName": "updatedAt",
122
+ "type": "string",
123
+ "format": ""
124
+ } ];
142
125
 
143
- return isInstance;
144
- }
145
-
146
- export function JobDtoFromJSON(json: any): JobDto {
147
- return JobDtoFromJSONTyped(json, false);
148
- }
149
-
150
- export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDto {
151
- if ((json === undefined) || (json === null)) {
152
- return json;
126
+ static getAttributeTypeMap() {
127
+ return JobDto.attributeTypeMap;
153
128
  }
154
- return {
155
-
156
- 'key': json['key'],
157
- 'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
158
- 'pipelineId': json['pipelineId'],
159
- 'projectId': json['projectId'],
160
- 'status': json['status'],
161
- 'title': json['title'],
162
- 'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
163
- 'description': !exists(json, 'description') ? undefined : json['description'],
164
- 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
165
- 'output': !exists(json, 'output') ? undefined : json['output'],
166
- 'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
167
- 'id': json['id'],
168
- 'object': json['object'],
169
- 'createdAt': json['createdAt'],
170
- 'updatedAt': json['updatedAt'],
171
- };
172
- }
173
129
 
174
- export function JobDtoToJSON(value?: JobDto | null): any {
175
- if (value === undefined) {
176
- return undefined;
177
- }
178
- if (value === null) {
179
- return null;
130
+ public constructor() {
180
131
  }
181
- return {
182
-
183
- 'key': value.key,
184
- 'periodicity': value.periodicity,
185
- 'pipelineId': value.pipelineId,
186
- 'projectId': value.projectId,
187
- 'status': value.status,
188
- 'title': value.title,
189
- 'titleLocal': value.titleLocal,
190
- 'description': value.description,
191
- 'descriptionLocal': value.descriptionLocal,
192
- 'output': value.output,
193
- 'tasks': value.tasks,
194
- 'id': value.id,
195
- 'object': value.object,
196
- 'createdAt': value.createdAt,
197
- 'updatedAt': value.updatedAt,
198
- };
199
132
  }
200
133
 
134
+
135
+ export type JobDtoStatusEnum = "DRAFT" | "PRODUCTION" | "DEPRECATED" | "ARCHIVED" | "REMOVED" ;
136
+ export type JobDtoObjectEnum = "job" ;
137
+
@@ -1,10 +1,8 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
1
  /**
4
2
  * Product-Live API
5
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
4
  *
7
- * The version of the OpenAPI document: 2.4.1
5
+ * OpenAPI spec version: 2.8.1
8
6
  *
9
7
  *
10
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,174 +10,106 @@
12
10
  * Do not edit the class manually.
13
11
  */
14
12
 
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface JobExecutionDto
20
- */
21
- export interface JobExecutionDto {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof JobExecutionDto
26
- */
27
- jobId: string;
28
- /**
29
- *
30
- * @type {object}
31
- * @memberof JobExecutionDto
32
- */
33
- info: object;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof JobExecutionDto
38
- */
39
- pipelineId?: string;
40
- /**
41
- *
42
- * @type {{ [key: string]: any; }}
43
- * @memberof JobExecutionDto
44
- */
45
- input?: { [key: string]: any; };
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof JobExecutionDto
50
- */
51
- id: string;
52
- /**
53
- *
54
- * @type {object}
55
- * @memberof JobExecutionDto
56
- */
57
- object: object;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof JobExecutionDto
62
- */
63
- createdAt: string;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof JobExecutionDto
68
- */
69
- updatedAt: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof JobExecutionDto
74
- */
75
- endedAt: string;
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof JobExecutionDto
80
- */
81
- startedAt: string;
82
- /**
83
- *
84
- * @type {string}
85
- * @memberof JobExecutionDto
86
- */
87
- status: JobExecutionDtoStatusEnum;
88
- /**
89
- *
90
- * @type {{ [key: string]: any; }}
91
- * @memberof JobExecutionDto
92
- */
93
- output: { [key: string]: any; };
94
- }
13
+ import { HttpFile } from '../http/http';
95
14
 
15
+ export class JobExecutionDto {
16
+ 'jobId': string;
17
+ 'info': any;
18
+ 'input'?: { [key: string]: any; };
19
+ 'id': string;
20
+ 'object': JobExecutionDtoObjectEnum;
21
+ 'createdAt': string;
22
+ 'updatedAt': string;
23
+ 'endedAt': string;
24
+ 'startedAt': string;
25
+ 'pipelineId': string;
26
+ 'status': any;
27
+ 'output': { [key: string]: any; };
96
28
 
97
- /**
98
- * @export
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'
114
- } as const;
115
- export type JobExecutionDtoStatusEnum = typeof JobExecutionDtoStatusEnum[keyof typeof JobExecutionDtoStatusEnum];
116
-
29
+ static readonly discriminator: string | undefined = undefined;
117
30
 
118
- /**
119
- * Check if a given object implements the JobExecutionDto interface.
120
- */
121
- export function instanceOfJobExecutionDto(value: object): boolean {
122
- let isInstance = true;
123
- isInstance = isInstance && "jobId" in value;
124
- isInstance = isInstance && "info" in value;
125
- isInstance = isInstance && "id" in value;
126
- isInstance = isInstance && "object" in value;
127
- isInstance = isInstance && "createdAt" in value;
128
- isInstance = isInstance && "updatedAt" in value;
129
- isInstance = isInstance && "endedAt" in value;
130
- isInstance = isInstance && "startedAt" in value;
131
- isInstance = isInstance && "status" in value;
132
- isInstance = isInstance && "output" in value;
31
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32
+ {
33
+ "name": "jobId",
34
+ "baseName": "jobId",
35
+ "type": "string",
36
+ "format": ""
37
+ },
38
+ {
39
+ "name": "info",
40
+ "baseName": "info",
41
+ "type": "any",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "input",
46
+ "baseName": "input",
47
+ "type": "{ [key: string]: any; }",
48
+ "format": ""
49
+ },
50
+ {
51
+ "name": "id",
52
+ "baseName": "id",
53
+ "type": "string",
54
+ "format": ""
55
+ },
56
+ {
57
+ "name": "object",
58
+ "baseName": "object",
59
+ "type": "JobExecutionDtoObjectEnum",
60
+ "format": ""
61
+ },
62
+ {
63
+ "name": "createdAt",
64
+ "baseName": "createdAt",
65
+ "type": "string",
66
+ "format": ""
67
+ },
68
+ {
69
+ "name": "updatedAt",
70
+ "baseName": "updatedAt",
71
+ "type": "string",
72
+ "format": ""
73
+ },
74
+ {
75
+ "name": "endedAt",
76
+ "baseName": "endedAt",
77
+ "type": "string",
78
+ "format": ""
79
+ },
80
+ {
81
+ "name": "startedAt",
82
+ "baseName": "startedAt",
83
+ "type": "string",
84
+ "format": ""
85
+ },
86
+ {
87
+ "name": "pipelineId",
88
+ "baseName": "pipelineId",
89
+ "type": "string",
90
+ "format": ""
91
+ },
92
+ {
93
+ "name": "status",
94
+ "baseName": "status",
95
+ "type": "any",
96
+ "format": ""
97
+ },
98
+ {
99
+ "name": "output",
100
+ "baseName": "output",
101
+ "type": "{ [key: string]: any; }",
102
+ "format": ""
103
+ } ];
133
104
 
134
- return isInstance;
135
- }
136
-
137
- export function JobExecutionDtoFromJSON(json: any): JobExecutionDto {
138
- return JobExecutionDtoFromJSONTyped(json, false);
139
- }
140
-
141
- export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobExecutionDto {
142
- if ((json === undefined) || (json === null)) {
143
- return json;
105
+ static getAttributeTypeMap() {
106
+ return JobExecutionDto.attributeTypeMap;
144
107
  }
145
- return {
146
-
147
- 'jobId': json['jobId'],
148
- 'info': json['info'],
149
- 'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
150
- 'input': !exists(json, 'input') ? undefined : json['input'],
151
- 'id': json['id'],
152
- 'object': json['object'],
153
- 'createdAt': json['createdAt'],
154
- 'updatedAt': json['updatedAt'],
155
- 'endedAt': json['endedAt'],
156
- 'startedAt': json['startedAt'],
157
- 'status': json['status'],
158
- 'output': json['output'],
159
- };
160
- }
161
108
 
162
- export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
163
- if (value === undefined) {
164
- return undefined;
165
- }
166
- if (value === null) {
167
- return null;
109
+ public constructor() {
168
110
  }
169
- return {
170
-
171
- 'jobId': value.jobId,
172
- 'info': value.info,
173
- 'pipelineId': value.pipelineId,
174
- 'input': value.input,
175
- 'id': value.id,
176
- 'object': value.object,
177
- 'createdAt': value.createdAt,
178
- 'updatedAt': value.updatedAt,
179
- 'endedAt': value.endedAt,
180
- 'startedAt': value.startedAt,
181
- 'status': value.status,
182
- 'output': value.output,
183
- };
184
111
  }
185
112
 
113
+
114
+ export type JobExecutionDtoObjectEnum = "job_execution" ;
115
+
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Product-Live API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 2.8.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { LowOrderQueryValue } from '../models/LowOrderQueryValue';
14
+ import { HttpFile } from '../http/http';
15
+
16
+ export class LowOrderQuery {
17
+ 'value'?: LowOrderQueryValue;
18
+ 'field'?: string;
19
+ 'caseSensitive'?: boolean;
20
+ 'type'?: LowOrderQueryTypeEnum;
21
+
22
+ static readonly discriminator: string | undefined = undefined;
23
+
24
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
25
+ {
26
+ "name": "value",
27
+ "baseName": "value",
28
+ "type": "LowOrderQueryValue",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "field",
33
+ "baseName": "field",
34
+ "type": "string",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "caseSensitive",
39
+ "baseName": "caseSensitive",
40
+ "type": "boolean",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "type",
45
+ "baseName": "type",
46
+ "type": "LowOrderQueryTypeEnum",
47
+ "format": ""
48
+ } ];
49
+
50
+ static getAttributeTypeMap() {
51
+ return LowOrderQuery.attributeTypeMap;
52
+ }
53
+
54
+ public constructor() {
55
+ }
56
+ }
57
+
58
+
59
+ export type LowOrderQueryTypeEnum = "eq" | "eq" | "search" | "in" | "true" | "false" | "greater" | "greaterOrEqual" | "lower" | "lowerOrEqual" ;
60
+