@product-live/api-sdk 2.2.0-dev → 2.3.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 (140) hide show
  1. package/apis/DataFactoryFileApi.ts +38 -35
  2. package/apis/JobApi.ts +76 -62
  3. package/apis/JobExecutionApi.ts +78 -28
  4. package/apis/TaskApi.ts +92 -78
  5. package/apis/TaskExecutionApi.ts +32 -32
  6. package/apis/VariableApi.ts +160 -19
  7. package/dist/apis/DataFactoryFileApi.d.ts +20 -0
  8. package/dist/apis/DataFactoryFileApi.js +122 -0
  9. package/dist/apis/DataFactoryFileApi.js.map +1 -0
  10. package/dist/apis/JobApi.d.ts +32 -0
  11. package/dist/apis/JobApi.js +191 -0
  12. package/dist/apis/JobApi.js.map +1 -0
  13. package/dist/apis/JobExecutionApi.d.ts +20 -0
  14. package/dist/apis/JobExecutionApi.js +107 -0
  15. package/dist/apis/JobExecutionApi.js.map +1 -0
  16. package/dist/apis/TaskApi.d.ts +36 -0
  17. package/dist/apis/TaskApi.js +196 -0
  18. package/dist/apis/TaskApi.js.map +1 -0
  19. package/dist/apis/TaskExecutionApi.d.ts +15 -0
  20. package/dist/apis/TaskExecutionApi.js +79 -0
  21. package/dist/apis/TaskExecutionApi.js.map +1 -0
  22. package/dist/apis/VariableApi.d.ts +26 -0
  23. package/dist/apis/VariableApi.js +140 -0
  24. package/dist/apis/VariableApi.js.map +1 -0
  25. package/dist/apis/index.d.ts +6 -0
  26. package/dist/apis/index.js +23 -0
  27. package/dist/apis/index.js.map +1 -0
  28. package/dist/index.d.ts +3 -0
  29. package/dist/index.js +20 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/models/CreateJobDto.d.ts +22 -0
  32. package/dist/models/CreateJobDto.js +63 -0
  33. package/dist/models/CreateJobDto.js.map +1 -0
  34. package/dist/models/CreateJobExecutionDto.d.ts +13 -0
  35. package/dist/models/CreateJobExecutionDto.js +44 -0
  36. package/dist/models/CreateJobExecutionDto.js.map +1 -0
  37. package/dist/models/CreateTaskDto.d.ts +12 -0
  38. package/dist/models/CreateTaskDto.js +48 -0
  39. package/dist/models/CreateTaskDto.js.map +1 -0
  40. package/dist/models/CreateVariableDto.d.ts +10 -0
  41. package/dist/models/CreateVariableDto.js +44 -0
  42. package/dist/models/CreateVariableDto.js.map +1 -0
  43. package/dist/models/FileControllerGetFiles200Response.d.ts +14 -0
  44. package/dist/models/FileControllerGetFiles200Response.js +43 -0
  45. package/dist/models/FileControllerGetFiles200Response.js.map +1 -0
  46. package/dist/models/FileDto.d.ts +12 -0
  47. package/dist/models/FileDto.js +50 -0
  48. package/dist/models/FileDto.js.map +1 -0
  49. package/dist/models/JobControllerList200Response.d.ts +14 -0
  50. package/dist/models/JobControllerList200Response.js +43 -0
  51. package/dist/models/JobControllerList200Response.js.map +1 -0
  52. package/dist/models/JobDto.d.ts +26 -0
  53. package/dist/models/JobDto.js +75 -0
  54. package/dist/models/JobDto.js.map +1 -0
  55. package/dist/models/JobDtoPeriodicityInner.d.ts +8 -0
  56. package/dist/models/JobDtoPeriodicityInner.js +37 -0
  57. package/dist/models/JobDtoPeriodicityInner.js.map +1 -0
  58. package/dist/models/JobDtoTasksInner.d.ts +14 -0
  59. package/dist/models/JobDtoTasksInner.js +45 -0
  60. package/dist/models/JobDtoTasksInner.js.map +1 -0
  61. package/dist/models/JobDtoTitleLocal.d.ts +8 -0
  62. package/dist/models/JobDtoTitleLocal.js +37 -0
  63. package/dist/models/JobDtoTitleLocal.js.map +1 -0
  64. package/dist/models/JobExecutionControllerGetOne400Response.d.ts +7 -0
  65. package/dist/models/JobExecutionControllerGetOne400Response.js +35 -0
  66. package/dist/models/JobExecutionControllerGetOne400Response.js.map +1 -0
  67. package/dist/models/JobExecutionControllerList200Response.d.ts +14 -0
  68. package/dist/models/JobExecutionControllerList200Response.js +43 -0
  69. package/dist/models/JobExecutionControllerList200Response.js.map +1 -0
  70. package/dist/models/JobExecutionDto.d.ts +23 -0
  71. package/dist/models/JobExecutionDto.js +68 -0
  72. package/dist/models/JobExecutionDto.js.map +1 -0
  73. package/dist/models/JobExecutionDtoInfo.d.ts +7 -0
  74. package/dist/models/JobExecutionDtoInfo.js +35 -0
  75. package/dist/models/JobExecutionDtoInfo.js.map +1 -0
  76. package/dist/models/PatchTaskExecutionDto.d.ts +11 -0
  77. package/dist/models/PatchTaskExecutionDto.js +41 -0
  78. package/dist/models/PatchTaskExecutionDto.js.map +1 -0
  79. package/dist/models/TaskControllerList200Response.d.ts +14 -0
  80. package/dist/models/TaskControllerList200Response.js +43 -0
  81. package/dist/models/TaskControllerList200Response.js.map +1 -0
  82. package/dist/models/TaskDto.d.ts +16 -0
  83. package/dist/models/TaskDto.js +60 -0
  84. package/dist/models/TaskDto.js.map +1 -0
  85. package/dist/models/TaskDtoInputKeysInner.d.ts +8 -0
  86. package/dist/models/TaskDtoInputKeysInner.js +37 -0
  87. package/dist/models/TaskDtoInputKeysInner.js.map +1 -0
  88. package/dist/models/TaskExecutionDto.d.ts +18 -0
  89. package/dist/models/TaskExecutionDto.js +56 -0
  90. package/dist/models/TaskExecutionDto.js.map +1 -0
  91. package/dist/models/UpdateJobDto.d.ts +23 -0
  92. package/dist/models/UpdateJobDto.js +66 -0
  93. package/dist/models/UpdateJobDto.js.map +1 -0
  94. package/dist/models/UpdateTaskDto.d.ts +13 -0
  95. package/dist/models/UpdateTaskDto.js +51 -0
  96. package/dist/models/UpdateTaskDto.js.map +1 -0
  97. package/dist/models/UpdateVariableDto.d.ts +11 -0
  98. package/dist/models/UpdateVariableDto.js +47 -0
  99. package/dist/models/UpdateVariableDto.js.map +1 -0
  100. package/dist/models/VariableControllerList200Response.d.ts +14 -0
  101. package/dist/models/VariableControllerList200Response.js +43 -0
  102. package/dist/models/VariableControllerList200Response.js.map +1 -0
  103. package/dist/models/VariableDto.d.ts +18 -0
  104. package/dist/models/VariableDto.js +59 -0
  105. package/dist/models/VariableDto.js.map +1 -0
  106. package/dist/models/index.d.ts +25 -0
  107. package/dist/models/index.js +42 -0
  108. package/dist/models/index.js.map +1 -0
  109. package/dist/runtime.d.ts +154 -0
  110. package/dist/runtime.js +306 -0
  111. package/dist/runtime.js.map +1 -0
  112. package/models/CreateJobDto.ts +169 -0
  113. package/models/CreateJobExecutionDto.ts +98 -0
  114. package/models/CreateTaskDto.ts +109 -0
  115. package/models/CreateVariableDto.ts +92 -0
  116. package/models/FileControllerGetFiles200Response.ts +98 -0
  117. package/models/FileDto.ts +111 -0
  118. package/models/JobControllerList200Response.ts +98 -0
  119. package/models/JobDto.ts +50 -86
  120. package/models/JobDtoPeriodicityInner.ts +1 -1
  121. package/models/JobDtoTasksInner.ts +9 -1
  122. package/models/JobDtoTitleLocal.ts +1 -1
  123. package/models/JobExecutionControllerGetOne400Response.ts +65 -0
  124. package/models/JobExecutionControllerList200Response.ts +98 -0
  125. package/models/JobExecutionDto.ts +35 -67
  126. package/models/JobExecutionDtoInfo.ts +65 -0
  127. package/models/PatchTaskExecutionDto.ts +83 -0
  128. package/models/TaskControllerList200Response.ts +98 -0
  129. package/models/TaskDto.ts +28 -28
  130. package/models/TaskDtoInputKeysInner.ts +1 -1
  131. package/models/TaskExecutionDto.ts +129 -0
  132. package/models/UpdateJobDto.ts +178 -0
  133. package/models/UpdateTaskDto.ts +118 -0
  134. package/models/UpdateVariableDto.ts +101 -0
  135. package/models/VariableControllerList200Response.ts +98 -0
  136. package/models/VariableDto.ts +33 -24
  137. package/models/index.ts +18 -11
  138. package/package.json +11 -5
  139. package/runtime.ts +19 -1
  140. package/.openapi-generator-ignore +0 -23
@@ -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: 1.88.0
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,6 +25,12 @@ export interface JobDtoTasksInner {
25
25
  * @memberof JobDtoTasksInner
26
26
  */
27
27
  name?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof JobDtoTasksInner
32
+ */
33
+ taskReferenceName?: string;
28
34
  /**
29
35
  *
30
36
  * @type {boolean}
@@ -71,6 +77,7 @@ export function JobDtoTasksInnerFromJSONTyped(json: any, ignoreDiscriminator: bo
71
77
  return {
72
78
 
73
79
  'name': !exists(json, 'name') ? undefined : json['name'],
80
+ 'taskReferenceName': !exists(json, 'taskReferenceName') ? undefined : json['taskReferenceName'],
74
81
  'optional': !exists(json, 'optional') ? undefined : json['optional'],
75
82
  'type': !exists(json, 'type') ? undefined : json['type'],
76
83
  'description': !exists(json, 'description') ? undefined : json['description'],
@@ -88,6 +95,7 @@ export function JobDtoTasksInnerToJSON(value?: JobDtoTasksInner | null): any {
88
95
  return {
89
96
 
90
97
  'name': value.name,
98
+ 'taskReferenceName': value.taskReferenceName,
91
99
  'optional': value.optional,
92
100
  'type': value.type,
93
101
  'description': value.description,
@@ -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: 1.88.0
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,65 @@
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.1.0
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 JobExecutionControllerGetOne400Response
20
+ */
21
+ export interface JobExecutionControllerGetOne400Response {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof JobExecutionControllerGetOne400Response
26
+ */
27
+ message?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the JobExecutionControllerGetOne400Response interface.
32
+ */
33
+ export function instanceOfJobExecutionControllerGetOne400Response(value: object): boolean {
34
+ let isInstance = true;
35
+
36
+ return isInstance;
37
+ }
38
+
39
+ export function JobExecutionControllerGetOne400ResponseFromJSON(json: any): JobExecutionControllerGetOne400Response {
40
+ return JobExecutionControllerGetOne400ResponseFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function JobExecutionControllerGetOne400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobExecutionControllerGetOne400Response {
44
+ if ((json === undefined) || (json === null)) {
45
+ return json;
46
+ }
47
+ return {
48
+
49
+ 'message': !exists(json, 'message') ? undefined : json['message'],
50
+ };
51
+ }
52
+
53
+ export function JobExecutionControllerGetOne400ResponseToJSON(value?: JobExecutionControllerGetOne400Response | null): any {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+
62
+ 'message': value.message,
63
+ };
64
+ }
65
+
@@ -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.1.0
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 { JobExecutionDto } from './JobExecutionDto';
17
+ import {
18
+ JobExecutionDtoFromJSON,
19
+ JobExecutionDtoFromJSONTyped,
20
+ JobExecutionDtoToJSON,
21
+ } from './JobExecutionDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface JobExecutionControllerList200Response
27
+ */
28
+ export interface JobExecutionControllerList200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof JobExecutionControllerList200Response
33
+ */
34
+ object?: JobExecutionControllerList200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof JobExecutionControllerList200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<JobExecutionDto>}
44
+ * @memberof JobExecutionControllerList200Response
45
+ */
46
+ data?: Array<JobExecutionDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const JobExecutionControllerList200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type JobExecutionControllerList200ResponseObjectEnum = typeof JobExecutionControllerList200ResponseObjectEnum[keyof typeof JobExecutionControllerList200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the JobExecutionControllerList200Response interface.
61
+ */
62
+ export function instanceOfJobExecutionControllerList200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function JobExecutionControllerList200ResponseFromJSON(json: any): JobExecutionControllerList200Response {
69
+ return JobExecutionControllerList200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function JobExecutionControllerList200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobExecutionControllerList200Response {
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(JobExecutionDtoFromJSON)),
81
+ };
82
+ }
83
+
84
+ export function JobExecutionControllerList200ResponseToJSON(value?: JobExecutionControllerList200Response | 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(JobExecutionDtoToJSON)),
96
+ };
97
+ }
98
+
@@ -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: 1.88.0
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,24 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { ExecuteJobDtoInfo } from './ExecuteJobDtoInfo';
16
+ import type { JobExecutionDtoInfo } from './JobExecutionDtoInfo';
17
17
  import {
18
- ExecuteJobDtoInfoFromJSON,
19
- ExecuteJobDtoInfoFromJSONTyped,
20
- ExecuteJobDtoInfoToJSON,
21
- } from './ExecuteJobDtoInfo';
22
- import type { JobExecutionDtoEventsInner } from './JobExecutionDtoEventsInner';
23
- import {
24
- JobExecutionDtoEventsInnerFromJSON,
25
- JobExecutionDtoEventsInnerFromJSONTyped,
26
- JobExecutionDtoEventsInnerToJSON,
27
- } from './JobExecutionDtoEventsInner';
28
- import type { JobExecutionDtoJob } from './JobExecutionDtoJob';
29
- import {
30
- JobExecutionDtoJobFromJSON,
31
- JobExecutionDtoJobFromJSONTyped,
32
- JobExecutionDtoJobToJSON,
33
- } from './JobExecutionDtoJob';
18
+ JobExecutionDtoInfoFromJSON,
19
+ JobExecutionDtoInfoFromJSONTyped,
20
+ JobExecutionDtoInfoToJSON,
21
+ } from './JobExecutionDtoInfo';
34
22
 
35
23
  /**
36
24
  *
@@ -43,85 +31,73 @@ export interface JobExecutionDto {
43
31
  * @type {string}
44
32
  * @memberof JobExecutionDto
45
33
  */
46
- id: string;
34
+ jobId: string;
47
35
  /**
48
36
  *
49
- * @type {string}
37
+ * @type {JobExecutionDtoInfo}
50
38
  * @memberof JobExecutionDto
51
39
  */
52
- object: string;
40
+ info: JobExecutionDtoInfo;
53
41
  /**
54
42
  *
55
43
  * @type {string}
56
44
  * @memberof JobExecutionDto
57
45
  */
58
- createdAt: string;
46
+ pipelineId?: string;
59
47
  /**
60
48
  *
61
- * @type {string}
62
- * @memberof JobExecutionDto
63
- */
64
- updatedAt: string;
65
- /**
66
- *
67
- * @type {string}
49
+ * @type {{ [key: string]: any; }}
68
50
  * @memberof JobExecutionDto
69
51
  */
70
- endedAt: string;
52
+ input?: { [key: string]: any; };
71
53
  /**
72
54
  *
73
55
  * @type {string}
74
56
  * @memberof JobExecutionDto
75
57
  */
76
- startedAt: string;
58
+ id: string;
77
59
  /**
78
60
  *
79
61
  * @type {object}
80
62
  * @memberof JobExecutionDto
81
63
  */
82
- status: object;
64
+ object: object;
83
65
  /**
84
66
  *
85
- * @type {object}
67
+ * @type {string}
86
68
  * @memberof JobExecutionDto
87
69
  */
88
- message: object;
70
+ createdAt: string;
89
71
  /**
90
72
  *
91
- * @type {{ [key: string]: any; }}
73
+ * @type {string}
92
74
  * @memberof JobExecutionDto
93
75
  */
94
- output: { [key: string]: any; };
76
+ updatedAt: string;
95
77
  /**
96
78
  *
97
- * @type {JobExecutionDtoJob}
79
+ * @type {string}
98
80
  * @memberof JobExecutionDto
99
81
  */
100
- job: JobExecutionDtoJob;
82
+ endedAt: string;
101
83
  /**
102
84
  *
103
- * @type {ExecuteJobDtoInfo}
85
+ * @type {string}
104
86
  * @memberof JobExecutionDto
105
87
  */
106
- info: ExecuteJobDtoInfo;
88
+ startedAt: string;
107
89
  /**
108
90
  *
109
- * @type {JobExecutionDtoJob}
91
+ * @type {object}
110
92
  * @memberof JobExecutionDto
111
93
  */
112
- pipeline: JobExecutionDtoJob;
94
+ status: object;
113
95
  /**
114
96
  *
115
97
  * @type {{ [key: string]: any; }}
116
98
  * @memberof JobExecutionDto
117
99
  */
118
- payload: { [key: string]: any; };
119
- /**
120
- *
121
- * @type {Array<JobExecutionDtoEventsInner>}
122
- * @memberof JobExecutionDto
123
- */
124
- events: Array<JobExecutionDtoEventsInner>;
100
+ output: { [key: string]: any; };
125
101
  }
126
102
 
127
103
  /**
@@ -129,6 +105,8 @@ export interface JobExecutionDto {
129
105
  */
130
106
  export function instanceOfJobExecutionDto(value: object): boolean {
131
107
  let isInstance = true;
108
+ isInstance = isInstance && "jobId" in value;
109
+ isInstance = isInstance && "info" in value;
132
110
  isInstance = isInstance && "id" in value;
133
111
  isInstance = isInstance && "object" in value;
134
112
  isInstance = isInstance && "createdAt" in value;
@@ -136,13 +114,7 @@ export function instanceOfJobExecutionDto(value: object): boolean {
136
114
  isInstance = isInstance && "endedAt" in value;
137
115
  isInstance = isInstance && "startedAt" in value;
138
116
  isInstance = isInstance && "status" in value;
139
- isInstance = isInstance && "message" in value;
140
117
  isInstance = isInstance && "output" in value;
141
- isInstance = isInstance && "job" in value;
142
- isInstance = isInstance && "info" in value;
143
- isInstance = isInstance && "pipeline" in value;
144
- isInstance = isInstance && "payload" in value;
145
- isInstance = isInstance && "events" in value;
146
118
 
147
119
  return isInstance;
148
120
  }
@@ -157,6 +129,10 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
157
129
  }
158
130
  return {
159
131
 
132
+ 'jobId': json['jobId'],
133
+ 'info': JobExecutionDtoInfoFromJSON(json['info']),
134
+ 'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
135
+ 'input': !exists(json, 'input') ? undefined : json['input'],
160
136
  'id': json['id'],
161
137
  'object': json['object'],
162
138
  'createdAt': json['createdAt'],
@@ -164,13 +140,7 @@ export function JobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
164
140
  'endedAt': json['endedAt'],
165
141
  'startedAt': json['startedAt'],
166
142
  'status': json['status'],
167
- 'message': json['message'],
168
143
  'output': json['output'],
169
- 'job': JobExecutionDtoJobFromJSON(json['job']),
170
- 'info': ExecuteJobDtoInfoFromJSON(json['info']),
171
- 'pipeline': JobExecutionDtoJobFromJSON(json['pipeline']),
172
- 'payload': json['payload'],
173
- 'events': ((json['events'] as Array<any>).map(JobExecutionDtoEventsInnerFromJSON)),
174
144
  };
175
145
  }
176
146
 
@@ -183,6 +153,10 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
183
153
  }
184
154
  return {
185
155
 
156
+ 'jobId': value.jobId,
157
+ 'info': JobExecutionDtoInfoToJSON(value.info),
158
+ 'pipelineId': value.pipelineId,
159
+ 'input': value.input,
186
160
  'id': value.id,
187
161
  'object': value.object,
188
162
  'createdAt': value.createdAt,
@@ -190,13 +164,7 @@ export function JobExecutionDtoToJSON(value?: JobExecutionDto | null): any {
190
164
  'endedAt': value.endedAt,
191
165
  'startedAt': value.startedAt,
192
166
  'status': value.status,
193
- 'message': value.message,
194
167
  'output': value.output,
195
- 'job': JobExecutionDtoJobToJSON(value.job),
196
- 'info': ExecuteJobDtoInfoToJSON(value.info),
197
- 'pipeline': JobExecutionDtoJobToJSON(value.pipeline),
198
- 'payload': value.payload,
199
- 'events': ((value.events as Array<any>).map(JobExecutionDtoEventsInnerToJSON)),
200
168
  };
201
169
  }
202
170
 
@@ -0,0 +1,65 @@
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.1.0
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 JobExecutionDtoInfo
20
+ */
21
+ export interface JobExecutionDtoInfo {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof JobExecutionDtoInfo
26
+ */
27
+ title?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the JobExecutionDtoInfo interface.
32
+ */
33
+ export function instanceOfJobExecutionDtoInfo(value: object): boolean {
34
+ let isInstance = true;
35
+
36
+ return isInstance;
37
+ }
38
+
39
+ export function JobExecutionDtoInfoFromJSON(json: any): JobExecutionDtoInfo {
40
+ return JobExecutionDtoInfoFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function JobExecutionDtoInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobExecutionDtoInfo {
44
+ if ((json === undefined) || (json === null)) {
45
+ return json;
46
+ }
47
+ return {
48
+
49
+ 'title': !exists(json, 'title') ? undefined : json['title'],
50
+ };
51
+ }
52
+
53
+ export function JobExecutionDtoInfoToJSON(value?: JobExecutionDtoInfo | null): any {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+
62
+ 'title': value.title,
63
+ };
64
+ }
65
+
@@ -0,0 +1,83 @@
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.1.0
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 PatchTaskExecutionDto
20
+ */
21
+ export interface PatchTaskExecutionDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PatchTaskExecutionDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchTaskExecutionDto
32
+ */
33
+ status: string;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any; }}
37
+ * @memberof PatchTaskExecutionDto
38
+ */
39
+ output?: { [key: string]: any; };
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PatchTaskExecutionDto interface.
44
+ */
45
+ export function instanceOfPatchTaskExecutionDto(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "id" in value;
48
+ isInstance = isInstance && "status" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function PatchTaskExecutionDtoFromJSON(json: any): PatchTaskExecutionDto {
54
+ return PatchTaskExecutionDtoFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function PatchTaskExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchTaskExecutionDto {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'id': json['id'],
64
+ 'status': json['status'],
65
+ 'output': !exists(json, 'output') ? undefined : json['output'],
66
+ };
67
+ }
68
+
69
+ export function PatchTaskExecutionDtoToJSON(value?: PatchTaskExecutionDto | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'id': value.id,
79
+ 'status': value.status,
80
+ 'output': value.output,
81
+ };
82
+ }
83
+
@@ -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.1.0
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 { TaskDto } from './TaskDto';
17
+ import {
18
+ TaskDtoFromJSON,
19
+ TaskDtoFromJSONTyped,
20
+ TaskDtoToJSON,
21
+ } from './TaskDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface TaskControllerList200Response
27
+ */
28
+ export interface TaskControllerList200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof TaskControllerList200Response
33
+ */
34
+ object?: TaskControllerList200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof TaskControllerList200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<TaskDto>}
44
+ * @memberof TaskControllerList200Response
45
+ */
46
+ data?: Array<TaskDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const TaskControllerList200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type TaskControllerList200ResponseObjectEnum = typeof TaskControllerList200ResponseObjectEnum[keyof typeof TaskControllerList200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the TaskControllerList200Response interface.
61
+ */
62
+ export function instanceOfTaskControllerList200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function TaskControllerList200ResponseFromJSON(json: any): TaskControllerList200Response {
69
+ return TaskControllerList200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function TaskControllerList200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskControllerList200Response {
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(TaskDtoFromJSON)),
81
+ };
82
+ }
83
+
84
+ export function TaskControllerList200ResponseToJSON(value?: TaskControllerList200Response | 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(TaskDtoToJSON)),
96
+ };
97
+ }
98
+