@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
@@ -0,0 +1,92 @@
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 CreateVariableDto
20
+ */
21
+ export interface CreateVariableDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateVariableDto
26
+ */
27
+ key: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CreateVariableDto
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {object}
37
+ * @memberof CreateVariableDto
38
+ */
39
+ status?: object;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof CreateVariableDto
44
+ */
45
+ value: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the CreateVariableDto interface.
50
+ */
51
+ export function instanceOfCreateVariableDto(value: object): boolean {
52
+ let isInstance = true;
53
+ isInstance = isInstance && "key" in value;
54
+ isInstance = isInstance && "name" in value;
55
+ isInstance = isInstance && "value" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function CreateVariableDtoFromJSON(json: any): CreateVariableDto {
61
+ return CreateVariableDtoFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function CreateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVariableDto {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'key': json['key'],
71
+ 'name': json['name'],
72
+ 'status': !exists(json, 'status') ? undefined : json['status'],
73
+ 'value': json['value'],
74
+ };
75
+ }
76
+
77
+ export function CreateVariableDtoToJSON(value?: CreateVariableDto | null): any {
78
+ if (value === undefined) {
79
+ return undefined;
80
+ }
81
+ if (value === null) {
82
+ return null;
83
+ }
84
+ return {
85
+
86
+ 'key': value.key,
87
+ 'name': value.name,
88
+ 'status': value.status,
89
+ 'value': value.value,
90
+ };
91
+ }
92
+
@@ -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 { FileDto } from './FileDto';
17
+ import {
18
+ FileDtoFromJSON,
19
+ FileDtoFromJSONTyped,
20
+ FileDtoToJSON,
21
+ } from './FileDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface FileControllerGetFiles200Response
27
+ */
28
+ export interface FileControllerGetFiles200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof FileControllerGetFiles200Response
33
+ */
34
+ object?: FileControllerGetFiles200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof FileControllerGetFiles200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<FileDto>}
44
+ * @memberof FileControllerGetFiles200Response
45
+ */
46
+ data?: Array<FileDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const FileControllerGetFiles200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type FileControllerGetFiles200ResponseObjectEnum = typeof FileControllerGetFiles200ResponseObjectEnum[keyof typeof FileControllerGetFiles200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the FileControllerGetFiles200Response interface.
61
+ */
62
+ export function instanceOfFileControllerGetFiles200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function FileControllerGetFiles200ResponseFromJSON(json: any): FileControllerGetFiles200Response {
69
+ return FileControllerGetFiles200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function FileControllerGetFiles200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileControllerGetFiles200Response {
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(FileDtoFromJSON)),
81
+ };
82
+ }
83
+
84
+ export function FileControllerGetFiles200ResponseToJSON(value?: FileControllerGetFiles200Response | 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(FileDtoToJSON)),
96
+ };
97
+ }
98
+
@@ -0,0 +1,111 @@
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 FileDto
20
+ */
21
+ export interface FileDto {
22
+ /**
23
+ *
24
+ * @type {object}
25
+ * @memberof FileDto
26
+ */
27
+ object: object;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof FileDto
32
+ */
33
+ id: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof FileDto
38
+ */
39
+ createdAt: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof FileDto
44
+ */
45
+ updatedAt: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof FileDto
50
+ */
51
+ url: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof FileDto
56
+ */
57
+ filename: string;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the FileDto interface.
62
+ */
63
+ export function instanceOfFileDto(value: object): boolean {
64
+ let isInstance = true;
65
+ isInstance = isInstance && "object" in value;
66
+ isInstance = isInstance && "id" in value;
67
+ isInstance = isInstance && "createdAt" in value;
68
+ isInstance = isInstance && "updatedAt" in value;
69
+ isInstance = isInstance && "url" in value;
70
+ isInstance = isInstance && "filename" in value;
71
+
72
+ return isInstance;
73
+ }
74
+
75
+ export function FileDtoFromJSON(json: any): FileDto {
76
+ return FileDtoFromJSONTyped(json, false);
77
+ }
78
+
79
+ export function FileDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileDto {
80
+ if ((json === undefined) || (json === null)) {
81
+ return json;
82
+ }
83
+ return {
84
+
85
+ 'object': json['object'],
86
+ 'id': json['id'],
87
+ 'createdAt': json['createdAt'],
88
+ 'updatedAt': json['updatedAt'],
89
+ 'url': json['url'],
90
+ 'filename': json['filename'],
91
+ };
92
+ }
93
+
94
+ export function FileDtoToJSON(value?: FileDto | null): any {
95
+ if (value === undefined) {
96
+ return undefined;
97
+ }
98
+ if (value === null) {
99
+ return null;
100
+ }
101
+ return {
102
+
103
+ 'object': value.object,
104
+ 'id': value.id,
105
+ 'createdAt': value.createdAt,
106
+ 'updatedAt': value.updatedAt,
107
+ 'url': value.url,
108
+ 'filename': value.filename,
109
+ };
110
+ }
111
+
@@ -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 { JobDto } from './JobDto';
17
+ import {
18
+ JobDtoFromJSON,
19
+ JobDtoFromJSONTyped,
20
+ JobDtoToJSON,
21
+ } from './JobDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface JobControllerList200Response
27
+ */
28
+ export interface JobControllerList200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof JobControllerList200Response
33
+ */
34
+ object?: JobControllerList200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof JobControllerList200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<JobDto>}
44
+ * @memberof JobControllerList200Response
45
+ */
46
+ data?: Array<JobDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const JobControllerList200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type JobControllerList200ResponseObjectEnum = typeof JobControllerList200ResponseObjectEnum[keyof typeof JobControllerList200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the JobControllerList200Response interface.
61
+ */
62
+ export function instanceOfJobControllerList200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function JobControllerList200ResponseFromJSON(json: any): JobControllerList200Response {
69
+ return JobControllerList200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function JobControllerList200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobControllerList200Response {
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(JobDtoFromJSON)),
81
+ };
82
+ }
83
+
84
+ export function JobControllerList200ResponseToJSON(value?: JobControllerList200Response | 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(JobDtoToJSON)),
96
+ };
97
+ }
98
+
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: 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,18 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { JobDtoPeriodicitiesInner } from './JobDtoPeriodicitiesInner';
16
+ import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
17
17
  import {
18
- JobDtoPeriodicitiesInnerFromJSON,
19
- JobDtoPeriodicitiesInnerFromJSONTyped,
20
- JobDtoPeriodicitiesInnerToJSON,
21
- } from './JobDtoPeriodicitiesInner';
22
- import type { JobDtoProject } from './JobDtoProject';
23
- import {
24
- JobDtoProjectFromJSON,
25
- JobDtoProjectFromJSONTyped,
26
- JobDtoProjectToJSON,
27
- } from './JobDtoProject';
18
+ JobDtoPeriodicityInnerFromJSON,
19
+ JobDtoPeriodicityInnerFromJSONTyped,
20
+ JobDtoPeriodicityInnerToJSON,
21
+ } from './JobDtoPeriodicityInner';
28
22
  import type { JobDtoTasksInner } from './JobDtoTasksInner';
29
23
  import {
30
24
  JobDtoTasksInnerFromJSON,
@@ -37,12 +31,6 @@ import {
37
31
  JobDtoTitleLocalFromJSONTyped,
38
32
  JobDtoTitleLocalToJSON,
39
33
  } from './JobDtoTitleLocal';
40
- import type { JobExecutionDtoJob } from './JobExecutionDtoJob';
41
- import {
42
- JobExecutionDtoJobFromJSON,
43
- JobExecutionDtoJobFromJSONTyped,
44
- JobExecutionDtoJobToJSON,
45
- } from './JobExecutionDtoJob';
46
34
 
47
35
  /**
48
36
  *
@@ -55,103 +43,91 @@ export interface JobDto {
55
43
  * @type {string}
56
44
  * @memberof JobDto
57
45
  */
58
- id: string;
46
+ key: string;
59
47
  /**
60
48
  *
61
- * @type {string}
49
+ * @type {Array<JobDtoPeriodicityInner>}
62
50
  * @memberof JobDto
63
51
  */
64
- object: string;
52
+ periodicity?: Array<JobDtoPeriodicityInner>;
65
53
  /**
66
54
  *
67
55
  * @type {string}
68
56
  * @memberof JobDto
69
57
  */
70
- key: string;
58
+ pipelineId: string;
71
59
  /**
72
60
  *
73
61
  * @type {string}
74
62
  * @memberof JobDto
75
63
  */
76
- createdAt: string;
64
+ projectId: string;
77
65
  /**
78
66
  *
79
- * @type {string}
67
+ * @type {object}
80
68
  * @memberof JobDto
81
69
  */
82
- updatedAt: string;
70
+ status: object;
83
71
  /**
84
72
  *
85
73
  * @type {string}
86
74
  * @memberof JobDto
87
75
  */
88
- pipelineId: string;
76
+ title: string;
89
77
  /**
90
78
  *
91
- * @type {string}
79
+ * @type {JobDtoTitleLocal}
92
80
  * @memberof JobDto
93
81
  */
94
- projectId: string;
82
+ titleLocal?: JobDtoTitleLocal;
95
83
  /**
96
84
  *
97
- * @type {Array<JobDtoPeriodicitiesInner>}
85
+ * @type {string}
98
86
  * @memberof JobDto
99
87
  */
100
- periodicities: Array<JobDtoPeriodicitiesInner>;
88
+ description?: string;
101
89
  /**
102
90
  *
103
- * @type {JobExecutionDtoJob}
91
+ * @type {JobDtoTitleLocal}
104
92
  * @memberof JobDto
105
93
  */
106
- pipeline: JobExecutionDtoJob;
94
+ descriptionLocal?: JobDtoTitleLocal;
107
95
  /**
108
96
  *
109
- * @type {JobDtoProject}
97
+ * @type {{ [key: string]: any; }}
110
98
  * @memberof JobDto
111
99
  */
112
- project: JobDtoProject;
100
+ output?: { [key: string]: any; };
113
101
  /**
114
102
  *
115
- * @type {string}
103
+ * @type {Array<JobDtoTasksInner>}
116
104
  * @memberof JobDto
117
105
  */
118
- status: string;
106
+ tasks?: Array<JobDtoTasksInner>;
119
107
  /**
120
108
  *
121
109
  * @type {string}
122
110
  * @memberof JobDto
123
111
  */
124
- title: string;
112
+ id: string;
125
113
  /**
126
114
  *
127
- * @type {JobDtoTitleLocal}
115
+ * @type {object}
128
116
  * @memberof JobDto
129
117
  */
130
- titleLocal: JobDtoTitleLocal;
118
+ object: object;
131
119
  /**
132
120
  *
133
121
  * @type {string}
134
122
  * @memberof JobDto
135
123
  */
136
- description: string;
137
- /**
138
- *
139
- * @type {JobDtoTitleLocal}
140
- * @memberof JobDto
141
- */
142
- descriptionLocal: JobDtoTitleLocal;
143
- /**
144
- *
145
- * @type {{ [key: string]: any; }}
146
- * @memberof JobDto
147
- */
148
- output: { [key: string]: any; };
124
+ createdAt: string;
149
125
  /**
150
126
  *
151
- * @type {Array<JobDtoTasksInner>}
127
+ * @type {string}
152
128
  * @memberof JobDto
153
129
  */
154
- tasks: Array<JobDtoTasksInner>;
130
+ updatedAt: string;
155
131
  }
156
132
 
157
133
  /**
@@ -159,23 +135,15 @@ export interface JobDto {
159
135
  */
160
136
  export function instanceOfJobDto(value: object): boolean {
161
137
  let isInstance = true;
162
- isInstance = isInstance && "id" in value;
163
- isInstance = isInstance && "object" in value;
164
138
  isInstance = isInstance && "key" in value;
165
- isInstance = isInstance && "createdAt" in value;
166
- isInstance = isInstance && "updatedAt" in value;
167
139
  isInstance = isInstance && "pipelineId" in value;
168
140
  isInstance = isInstance && "projectId" in value;
169
- isInstance = isInstance && "periodicities" in value;
170
- isInstance = isInstance && "pipeline" in value;
171
- isInstance = isInstance && "project" in value;
172
141
  isInstance = isInstance && "status" in value;
173
142
  isInstance = isInstance && "title" in value;
174
- isInstance = isInstance && "titleLocal" in value;
175
- isInstance = isInstance && "description" in value;
176
- isInstance = isInstance && "descriptionLocal" in value;
177
- isInstance = isInstance && "output" in value;
178
- isInstance = isInstance && "tasks" in value;
143
+ isInstance = isInstance && "id" in value;
144
+ isInstance = isInstance && "object" in value;
145
+ isInstance = isInstance && "createdAt" in value;
146
+ isInstance = isInstance && "updatedAt" in value;
179
147
 
180
148
  return isInstance;
181
149
  }
@@ -190,23 +158,21 @@ export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Jo
190
158
  }
191
159
  return {
192
160
 
193
- 'id': json['id'],
194
- 'object': json['object'],
195
161
  'key': json['key'],
196
- 'createdAt': json['createdAt'],
197
- 'updatedAt': json['updatedAt'],
162
+ 'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
198
163
  'pipelineId': json['pipelineId'],
199
164
  'projectId': json['projectId'],
200
- 'periodicities': ((json['periodicities'] as Array<any>).map(JobDtoPeriodicitiesInnerFromJSON)),
201
- 'pipeline': JobExecutionDtoJobFromJSON(json['pipeline']),
202
- 'project': JobDtoProjectFromJSON(json['project']),
203
165
  'status': json['status'],
204
166
  'title': json['title'],
205
- 'titleLocal': JobDtoTitleLocalFromJSON(json['titleLocal']),
206
- 'description': json['description'],
207
- 'descriptionLocal': JobDtoTitleLocalFromJSON(json['descriptionLocal']),
208
- 'output': json['output'],
209
- 'tasks': ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
167
+ 'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
168
+ 'description': !exists(json, 'description') ? undefined : json['description'],
169
+ 'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
170
+ 'output': !exists(json, 'output') ? undefined : json['output'],
171
+ 'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
172
+ 'id': json['id'],
173
+ 'object': json['object'],
174
+ 'createdAt': json['createdAt'],
175
+ 'updatedAt': json['updatedAt'],
210
176
  };
211
177
  }
212
178
 
@@ -219,23 +185,21 @@ export function JobDtoToJSON(value?: JobDto | null): any {
219
185
  }
220
186
  return {
221
187
 
222
- 'id': value.id,
223
- 'object': value.object,
224
188
  'key': value.key,
225
- 'createdAt': value.createdAt,
226
- 'updatedAt': value.updatedAt,
189
+ 'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
227
190
  'pipelineId': value.pipelineId,
228
191
  'projectId': value.projectId,
229
- 'periodicities': ((value.periodicities as Array<any>).map(JobDtoPeriodicitiesInnerToJSON)),
230
- 'pipeline': JobExecutionDtoJobToJSON(value.pipeline),
231
- 'project': JobDtoProjectToJSON(value.project),
232
192
  'status': value.status,
233
193
  'title': value.title,
234
194
  'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
235
195
  'description': value.description,
236
196
  'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
237
197
  'output': value.output,
238
- 'tasks': ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
198
+ 'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
199
+ 'id': value.id,
200
+ 'object': value.object,
201
+ 'createdAt': value.createdAt,
202
+ 'updatedAt': value.updatedAt,
239
203
  };
240
204
  }
241
205
 
@@ -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.87.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).