@product-live/api-sdk 2.3.1 → 2.4.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 (74) hide show
  1. package/apis/DataFactoryFileApi.ts +1 -1
  2. package/apis/JobApi.ts +12 -7
  3. package/apis/JobExecutionApi.ts +1 -1
  4. package/apis/TaskApi.ts +1 -1
  5. package/apis/TaskExecutionApi.ts +1 -1
  6. package/apis/VariableApi.ts +1 -1
  7. package/dist/apis/JobApi.d.ts +2 -1
  8. package/dist/apis/JobApi.js +8 -5
  9. package/dist/apis/JobApi.js.map +1 -1
  10. package/dist/models/CreateJobDto.d.ts +13 -8
  11. package/dist/models/CreateJobDto.js +16 -12
  12. package/dist/models/CreateJobDto.js.map +1 -1
  13. package/dist/models/CreateJobExecutionDto.d.ts +1 -2
  14. package/dist/models/CreateJobExecutionDto.js +2 -3
  15. package/dist/models/CreateJobExecutionDto.js.map +1 -1
  16. package/dist/models/CreateTaskDto.d.ts +3 -4
  17. package/dist/models/CreateTaskDto.js +7 -8
  18. package/dist/models/CreateTaskDto.js.map +1 -1
  19. package/dist/models/CreateVariableDto.d.ts +8 -1
  20. package/dist/models/CreateVariableDto.js +8 -1
  21. package/dist/models/CreateVariableDto.js.map +1 -1
  22. package/dist/models/JobDto.d.ts +13 -8
  23. package/dist/models/JobDto.js +16 -12
  24. package/dist/models/JobDto.js.map +1 -1
  25. package/dist/models/JobExecutionDto.d.ts +18 -3
  26. package/dist/models/JobExecutionDto.js +18 -4
  27. package/dist/models/JobExecutionDto.js.map +1 -1
  28. package/dist/models/PatchTaskExecutionDto.d.ts +6 -1
  29. package/dist/models/PatchTaskExecutionDto.js +5 -1
  30. package/dist/models/PatchTaskExecutionDto.js.map +1 -1
  31. package/dist/models/TaskDto.d.ts +3 -4
  32. package/dist/models/TaskDto.js +7 -8
  33. package/dist/models/TaskDto.js.map +1 -1
  34. package/dist/models/TaskExecutionDto.d.ts +9 -1
  35. package/dist/models/TaskExecutionDto.js +8 -1
  36. package/dist/models/TaskExecutionDto.js.map +1 -1
  37. package/dist/models/UpdateJobDto.d.ts +13 -8
  38. package/dist/models/UpdateJobDto.js +16 -12
  39. package/dist/models/UpdateJobDto.js.map +1 -1
  40. package/dist/models/UpdateTaskDto.d.ts +3 -4
  41. package/dist/models/UpdateTaskDto.js +7 -8
  42. package/dist/models/UpdateTaskDto.js.map +1 -1
  43. package/dist/models/UpdateVariableDto.d.ts +8 -1
  44. package/dist/models/UpdateVariableDto.js +8 -1
  45. package/dist/models/UpdateVariableDto.js.map +1 -1
  46. package/dist/models/VariableDto.d.ts +8 -5
  47. package/dist/models/VariableDto.js +7 -3
  48. package/dist/models/VariableDto.js.map +1 -1
  49. package/dist/models/index.d.ts +0 -5
  50. package/dist/models/index.js +0 -5
  51. package/dist/models/index.js.map +1 -1
  52. package/models/CreateJobDto.ts +33 -38
  53. package/models/CreateJobExecutionDto.ts +5 -12
  54. package/models/CreateTaskDto.ts +13 -20
  55. package/models/CreateVariableDto.ts +23 -3
  56. package/models/FileControllerGetFiles200Response.ts +1 -1
  57. package/models/FileDto.ts +1 -1
  58. package/models/JobControllerList200Response.ts +1 -1
  59. package/models/JobDto.ts +33 -38
  60. package/models/JobExecutionControllerGetOne400Response.ts +1 -1
  61. package/models/JobExecutionControllerList200Response.ts +1 -1
  62. package/models/JobExecutionDto.ts +29 -14
  63. package/models/PatchTaskExecutionDto.ts +13 -2
  64. package/models/TaskControllerList200Response.ts +1 -1
  65. package/models/TaskDto.ts +13 -20
  66. package/models/TaskExecutionDto.ts +16 -2
  67. package/models/UpdateJobDto.ts +33 -38
  68. package/models/UpdateTaskDto.ts +13 -20
  69. package/models/UpdateVariableDto.ts +23 -3
  70. package/models/VariableControllerList200Response.ts +1 -1
  71. package/models/VariableDto.ts +18 -8
  72. package/models/index.ts +0 -5
  73. package/package.json +2 -2
  74. package/runtime.ts +1 -1
@@ -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).
@@ -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 CreateJobDto {
46
27
  key: string;
47
28
  /**
48
29
  *
49
- * @type {Array<JobDtoPeriodicityInner>}
30
+ * @type {Array<object>}
50
31
  * @memberof CreateJobDto
51
32
  */
52
- periodicity?: Array<JobDtoPeriodicityInner>;
33
+ periodicity?: Array<object>;
53
34
  /**
54
35
  *
55
36
  * @type {string}
@@ -64,10 +45,10 @@ export interface CreateJobDto {
64
45
  projectId: string;
65
46
  /**
66
47
  *
67
- * @type {object}
48
+ * @type {string}
68
49
  * @memberof CreateJobDto
69
50
  */
70
- status: object;
51
+ status: CreateJobDtoStatusEnum;
71
52
  /**
72
53
  *
73
54
  * @type {string}
@@ -76,10 +57,10 @@ export interface CreateJobDto {
76
57
  title: string;
77
58
  /**
78
59
  *
79
- * @type {JobDtoTitleLocal}
60
+ * @type {object}
80
61
  * @memberof CreateJobDto
81
62
  */
82
- titleLocal?: JobDtoTitleLocal;
63
+ titleLocal?: object;
83
64
  /**
84
65
  *
85
66
  * @type {string}
@@ -88,10 +69,10 @@ export interface CreateJobDto {
88
69
  description?: string;
89
70
  /**
90
71
  *
91
- * @type {JobDtoTitleLocal}
72
+ * @type {object}
92
73
  * @memberof CreateJobDto
93
74
  */
94
- descriptionLocal?: JobDtoTitleLocal;
75
+ descriptionLocal?: object;
95
76
  /**
96
77
  *
97
78
  * @type {{ [key: string]: any; }}
@@ -100,12 +81,26 @@ export interface CreateJobDto {
100
81
  output?: { [key: string]: any; };
101
82
  /**
102
83
  *
103
- * @type {Array<JobDtoTasksInner>}
84
+ * @type {Array<object>}
104
85
  * @memberof CreateJobDto
105
86
  */
106
- tasks?: Array<JobDtoTasksInner>;
87
+ tasks?: Array<object>;
107
88
  }
108
89
 
90
+
91
+ /**
92
+ * @export
93
+ */
94
+ export const CreateJobDtoStatusEnum = {
95
+ Draft: 'DRAFT',
96
+ Production: 'PRODUCTION',
97
+ Deprecated: 'DEPRECATED',
98
+ Archived: 'ARCHIVED',
99
+ Removed: 'REMOVED'
100
+ } as const;
101
+ export type CreateJobDtoStatusEnum = typeof CreateJobDtoStatusEnum[keyof typeof CreateJobDtoStatusEnum];
102
+
103
+
109
104
  /**
110
105
  * Check if a given object implements the CreateJobDto interface.
111
106
  */
@@ -131,16 +126,16 @@ export function CreateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolea
131
126
  return {
132
127
 
133
128
  'key': json['key'],
134
- 'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
129
+ 'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
135
130
  'pipelineId': json['pipelineId'],
136
131
  'projectId': json['projectId'],
137
132
  'status': json['status'],
138
133
  'title': json['title'],
139
- 'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
134
+ 'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
140
135
  'description': !exists(json, 'description') ? undefined : json['description'],
141
- 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
136
+ 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
142
137
  'output': !exists(json, 'output') ? undefined : json['output'],
143
- 'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
138
+ 'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
144
139
  };
145
140
  }
146
141
 
@@ -154,16 +149,16 @@ export function CreateJobDtoToJSON(value?: CreateJobDto | null): any {
154
149
  return {
155
150
 
156
151
  'key': value.key,
157
- 'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
152
+ 'periodicity': value.periodicity,
158
153
  'pipelineId': value.pipelineId,
159
154
  'projectId': value.projectId,
160
155
  'status': value.status,
161
156
  'title': value.title,
162
- 'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
157
+ 'titleLocal': value.titleLocal,
163
158
  'description': value.description,
164
- 'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
159
+ 'descriptionLocal': value.descriptionLocal,
165
160
  'output': value.output,
166
- 'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
161
+ 'tasks': value.tasks,
167
162
  };
168
163
  }
169
164
 
@@ -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).
@@ -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,10 +27,10 @@ export interface CreateJobExecutionDto {
34
27
  jobId: string;
35
28
  /**
36
29
  *
37
- * @type {JobExecutionDtoInfo}
30
+ * @type {object}
38
31
  * @memberof CreateJobExecutionDto
39
32
  */
40
- info: JobExecutionDtoInfo;
33
+ info: object;
41
34
  /**
42
35
  *
43
36
  * @type {string}
@@ -74,7 +67,7 @@ export function CreateJobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminato
74
67
  return {
75
68
 
76
69
  'jobId': json['jobId'],
77
- 'info': JobExecutionDtoInfoFromJSON(json['info']),
70
+ 'info': json['info'],
78
71
  'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
79
72
  'input': !exists(json, 'input') ? undefined : json['input'],
80
73
  };
@@ -90,7 +83,7 @@ export function CreateJobExecutionDtoToJSON(value?: CreateJobExecutionDto | null
90
83
  return {
91
84
 
92
85
  'jobId': value.jobId,
93
- 'info': JobExecutionDtoInfoToJSON(value.info),
86
+ 'info': value.info,
94
87
  'pipelineId': value.pipelineId,
95
88
  'input': value.input,
96
89
  };
@@ -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).
@@ -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 CreateTaskDto {
31
24
  * @type {string}
32
25
  * @memberof CreateTaskDto
33
26
  */
34
- name: string;
27
+ key: string;
35
28
  /**
36
29
  *
37
30
  * @type {string}
@@ -46,16 +39,16 @@ export interface CreateTaskDto {
46
39
  retryCount: number;
47
40
  /**
48
41
  *
49
- * @type {Array<TaskDtoInputKeysInner>}
42
+ * @type {Array<object>}
50
43
  * @memberof CreateTaskDto
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 CreateTaskDto
57
50
  */
58
- outputKeys: Array<TaskDtoInputKeysInner>;
51
+ outputKeys: Array<object>;
59
52
  }
60
53
 
61
54
  /**
@@ -63,7 +56,7 @@ export interface CreateTaskDto {
63
56
  */
64
57
  export function instanceOfCreateTaskDto(value: object): boolean {
65
58
  let isInstance = true;
66
- isInstance = isInstance && "name" in value;
59
+ isInstance = isInstance && "key" in value;
67
60
  isInstance = isInstance && "description" in value;
68
61
  isInstance = isInstance && "retryCount" in value;
69
62
  isInstance = isInstance && "inputKeys" in value;
@@ -82,11 +75,11 @@ export function CreateTaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
82
75
  }
83
76
  return {
84
77
 
85
- 'name': json['name'],
78
+ 'key': json['key'],
86
79
  'description': json['description'],
87
80
  'retryCount': json['retryCount'],
88
- 'inputKeys': ((json['inputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
89
- 'outputKeys': ((json['outputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
81
+ 'inputKeys': json['inputKeys'],
82
+ 'outputKeys': json['outputKeys'],
90
83
  };
91
84
  }
92
85
 
@@ -99,11 +92,11 @@ export function CreateTaskDtoToJSON(value?: CreateTaskDto | null): any {
99
92
  }
100
93
  return {
101
94
 
102
- 'name': value.name,
95
+ 'key': value.key,
103
96
  'description': value.description,
104
97
  'retryCount': value.retryCount,
105
- 'inputKeys': ((value.inputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
106
- 'outputKeys': ((value.outputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
98
+ 'inputKeys': value.inputKeys,
99
+ 'outputKeys': value.outputKeys,
107
100
  };
108
101
  }
109
102
 
@@ -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).
@@ -33,18 +33,36 @@ export interface CreateVariableDto {
33
33
  name: string;
34
34
  /**
35
35
  *
36
- * @type {object}
36
+ * @type {string}
37
37
  * @memberof CreateVariableDto
38
38
  */
39
- status?: object;
39
+ status?: CreateVariableDtoStatusEnum;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof CreateVariableDto
44
44
  */
45
45
  value: string;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof CreateVariableDto
50
+ */
51
+ secret?: boolean;
46
52
  }
47
53
 
54
+
55
+ /**
56
+ * @export
57
+ */
58
+ export const CreateVariableDtoStatusEnum = {
59
+ Active: 'ACTIVE',
60
+ Archived: 'ARCHIVED',
61
+ Deleted: 'DELETED'
62
+ } as const;
63
+ export type CreateVariableDtoStatusEnum = typeof CreateVariableDtoStatusEnum[keyof typeof CreateVariableDtoStatusEnum];
64
+
65
+
48
66
  /**
49
67
  * Check if a given object implements the CreateVariableDto interface.
50
68
  */
@@ -71,6 +89,7 @@ export function CreateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: b
71
89
  'name': json['name'],
72
90
  'status': !exists(json, 'status') ? undefined : json['status'],
73
91
  'value': json['value'],
92
+ 'secret': !exists(json, 'secret') ? undefined : json['secret'],
74
93
  };
75
94
  }
76
95
 
@@ -87,6 +106,7 @@ export function CreateVariableDtoToJSON(value?: CreateVariableDto | null): any {
87
106
  'name': value.name,
88
107
  'status': value.status,
89
108
  'value': value.value,
109
+ 'secret': value.secret,
90
110
  };
91
111
  }
92
112
 
@@ -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/FileDto.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.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).
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.4.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}
@@ -130,6 +111,20 @@ 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
+
133
128
  /**
134
129
  * Check if a given object implements the JobDto interface.
135
130
  */
@@ -159,16 +154,16 @@ export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Jo
159
154
  return {
160
155
 
161
156
  'key': json['key'],
162
- 'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
157
+ 'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
163
158
  'pipelineId': json['pipelineId'],
164
159
  'projectId': json['projectId'],
165
160
  'status': json['status'],
166
161
  'title': json['title'],
167
- 'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
162
+ 'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
168
163
  'description': !exists(json, 'description') ? undefined : json['description'],
169
- 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
164
+ 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
170
165
  'output': !exists(json, 'output') ? undefined : json['output'],
171
- 'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
166
+ 'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
172
167
  'id': json['id'],
173
168
  'object': json['object'],
174
169
  'createdAt': json['createdAt'],
@@ -186,16 +181,16 @@ export function JobDtoToJSON(value?: JobDto | null): any {
186
181
  return {
187
182
 
188
183
  'key': value.key,
189
- 'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
184
+ 'periodicity': value.periodicity,
190
185
  'pipelineId': value.pipelineId,
191
186
  'projectId': value.projectId,
192
187
  'status': value.status,
193
188
  'title': value.title,
194
- 'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
189
+ 'titleLocal': value.titleLocal,
195
190
  'description': value.description,
196
- 'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
191
+ 'descriptionLocal': value.descriptionLocal,
197
192
  'output': value.output,
198
- 'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
193
+ 'tasks': value.tasks,
199
194
  'id': value.id,
200
195
  'object': value.object,
201
196
  '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.4.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,10 +27,10 @@ export interface JobExecutionDto {
34
27
  jobId: string;
35
28
  /**
36
29
  *
37
- * @type {JobExecutionDtoInfo}
30
+ * @type {object}
38
31
  * @memberof JobExecutionDto
39
32
  */
40
- info: JobExecutionDtoInfo;
33
+ info: object;
41
34
  /**
42
35
  *
43
36
  * @type {string}
@@ -88,10 +81,10 @@ export interface JobExecutionDto {
88
81
  startedAt: string;
89
82
  /**
90
83
  *
91
- * @type {object}
84
+ * @type {string}
92
85
  * @memberof JobExecutionDto
93
86
  */
94
- status: object;
87
+ status: JobExecutionDtoStatusEnum;
95
88
  /**
96
89
  *
97
90
  * @type {{ [key: string]: any; }}
@@ -100,6 +93,28 @@ export interface JobExecutionDto {
100
93
  output: { [key: string]: any; };
101
94
  }
102
95
 
96
+
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
+
117
+
103
118
  /**
104
119
  * Check if a given object implements the JobExecutionDto interface.
105
120
  */
@@ -130,7 +145,7 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
130
145
  return {
131
146
 
132
147
  'jobId': json['jobId'],
133
- 'info': JobExecutionDtoInfoFromJSON(json['info']),
148
+ 'info': json['info'],
134
149
  'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
135
150
  'input': !exists(json, 'input') ? undefined : json['input'],
136
151
  'id': json['id'],
@@ -154,7 +169,7 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
154
169
  return {
155
170
 
156
171
  'jobId': value.jobId,
157
- 'info': JobExecutionDtoInfoToJSON(value.info),
172
+ 'info': value.info,
158
173
  'pipelineId': value.pipelineId,
159
174
  'input': value.input,
160
175
  'id': value.id,