@product-live/api-sdk 2.3.1 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/apis/DataFactoryFileApi.ts +19 -19
  2. package/apis/JobApi.ts +38 -42
  3. package/apis/JobExecutionApi.ts +22 -22
  4. package/apis/TaskApi.ts +38 -38
  5. package/apis/TaskExecutionApi.ts +15 -15
  6. package/apis/VariableApi.ts +86 -28
  7. package/dist/apis/DataFactoryFileApi.d.ts +7 -7
  8. package/dist/apis/DataFactoryFileApi.js +8 -8
  9. package/dist/apis/DataFactoryFileApi.js.map +1 -1
  10. package/dist/apis/JobApi.d.ts +17 -17
  11. package/dist/apis/JobApi.js +25 -28
  12. package/dist/apis/JobApi.js.map +1 -1
  13. package/dist/apis/JobExecutionApi.d.ts +10 -10
  14. package/dist/apis/JobExecutionApi.js +12 -12
  15. package/dist/apis/JobExecutionApi.js.map +1 -1
  16. package/dist/apis/TaskApi.d.ts +19 -19
  17. package/dist/apis/TaskApi.js +25 -25
  18. package/dist/apis/TaskApi.js.map +1 -1
  19. package/dist/apis/TaskExecutionApi.d.ts +6 -6
  20. package/dist/apis/TaskExecutionApi.js +9 -9
  21. package/dist/apis/TaskExecutionApi.js.map +1 -1
  22. package/dist/apis/VariableApi.d.ts +20 -13
  23. package/dist/apis/VariableApi.js +53 -17
  24. package/dist/apis/VariableApi.js.map +1 -1
  25. package/dist/models/CreateJobDto.d.ts +13 -8
  26. package/dist/models/CreateJobDto.js +16 -12
  27. package/dist/models/CreateJobDto.js.map +1 -1
  28. package/dist/models/CreateJobExecutionDto.d.ts +1 -3
  29. package/dist/models/CreateJobExecutionDto.js +2 -5
  30. package/dist/models/CreateJobExecutionDto.js.map +1 -1
  31. package/dist/models/CreateTaskDto.d.ts +3 -4
  32. package/dist/models/CreateTaskDto.js +7 -8
  33. package/dist/models/CreateTaskDto.js.map +1 -1
  34. package/dist/models/CreateVariableDto.d.ts +8 -1
  35. package/dist/models/CreateVariableDto.js +8 -1
  36. package/dist/models/CreateVariableDto.js.map +1 -1
  37. package/dist/models/FileDto.d.ts +5 -1
  38. package/dist/models/FileDto.js +4 -1
  39. package/dist/models/FileDto.js.map +1 -1
  40. package/dist/models/FindVariablesRequest.d.ts +7 -0
  41. package/dist/models/FindVariablesRequest.js +37 -0
  42. package/dist/models/FindVariablesRequest.js.map +1 -0
  43. package/dist/models/GetFiles200Response.d.ts +14 -0
  44. package/dist/models/GetFiles200Response.js +43 -0
  45. package/dist/models/GetFiles200Response.js.map +1 -0
  46. package/dist/models/GetJobExecutionById400Response.d.ts +7 -0
  47. package/dist/models/GetJobExecutionById400Response.js +35 -0
  48. package/dist/models/GetJobExecutionById400Response.js.map +1 -0
  49. package/dist/models/GetJobExecutions200Response.d.ts +14 -0
  50. package/dist/models/GetJobExecutions200Response.js +43 -0
  51. package/dist/models/GetJobExecutions200Response.js.map +1 -0
  52. package/dist/models/GetJobs200Response.d.ts +14 -0
  53. package/dist/models/GetJobs200Response.js +43 -0
  54. package/dist/models/GetJobs200Response.js.map +1 -0
  55. package/dist/models/GetTasks200Response.d.ts +14 -0
  56. package/dist/models/GetTasks200Response.js +43 -0
  57. package/dist/models/GetTasks200Response.js.map +1 -0
  58. package/dist/models/GetVariables200Response.d.ts +14 -0
  59. package/dist/models/GetVariables200Response.js +43 -0
  60. package/dist/models/GetVariables200Response.js.map +1 -0
  61. package/dist/models/HighOrderQuery.d.ts +14 -0
  62. package/dist/models/HighOrderQuery.js +42 -0
  63. package/dist/models/HighOrderQuery.js.map +1 -0
  64. package/dist/models/JobDto.d.ts +18 -9
  65. package/dist/models/JobDto.js +19 -12
  66. package/dist/models/JobDto.js.map +1 -1
  67. package/dist/models/JobExecutionDto.d.ts +7 -4
  68. package/dist/models/JobExecutionDto.js +9 -6
  69. package/dist/models/JobExecutionDto.js.map +1 -1
  70. package/dist/models/LowOrderQuery.d.ts +23 -0
  71. package/dist/models/LowOrderQuery.js +54 -0
  72. package/dist/models/LowOrderQuery.js.map +1 -0
  73. package/dist/models/PatchTaskExecutionDto.d.ts +6 -1
  74. package/dist/models/PatchTaskExecutionDto.js +5 -1
  75. package/dist/models/PatchTaskExecutionDto.js.map +1 -1
  76. package/dist/models/Query.d.ts +21 -0
  77. package/dist/models/Query.js +48 -0
  78. package/dist/models/Query.js.map +1 -0
  79. package/dist/models/TaskDto.d.ts +8 -5
  80. package/dist/models/TaskDto.js +11 -9
  81. package/dist/models/TaskDto.js.map +1 -1
  82. package/dist/models/TaskExecutionDto.d.ts +14 -2
  83. package/dist/models/TaskExecutionDto.js +11 -1
  84. package/dist/models/TaskExecutionDto.js.map +1 -1
  85. package/dist/models/UpdateJobDto.d.ts +13 -8
  86. package/dist/models/UpdateJobDto.js +16 -12
  87. package/dist/models/UpdateJobDto.js.map +1 -1
  88. package/dist/models/UpdateTaskDto.d.ts +3 -4
  89. package/dist/models/UpdateTaskDto.js +7 -8
  90. package/dist/models/UpdateTaskDto.js.map +1 -1
  91. package/dist/models/UpdateVariableDto.d.ts +8 -1
  92. package/dist/models/UpdateVariableDto.js +8 -1
  93. package/dist/models/UpdateVariableDto.js.map +1 -1
  94. package/dist/models/VariableDto.d.ts +8 -1
  95. package/dist/models/VariableDto.js +8 -1
  96. package/dist/models/VariableDto.js.map +1 -1
  97. package/dist/models/index.d.ts +10 -11
  98. package/dist/models/index.js +10 -11
  99. package/dist/models/index.js.map +1 -1
  100. package/models/CreateJobDto.ts +33 -38
  101. package/models/CreateJobExecutionDto.ts +5 -20
  102. package/models/CreateTaskDto.ts +13 -20
  103. package/models/CreateVariableDto.ts +23 -3
  104. package/models/FileControllerGetFiles200Response.ts +1 -1
  105. package/models/FileDto.ts +13 -3
  106. package/models/FindVariablesRequest.ts +75 -0
  107. package/models/GetFiles200Response.ts +98 -0
  108. package/models/GetJobExecutionById400Response.ts +65 -0
  109. package/models/GetJobExecutions200Response.ts +98 -0
  110. package/models/GetJobs200Response.ts +98 -0
  111. package/models/GetTasks200Response.ts +98 -0
  112. package/models/GetVariables200Response.ts +98 -0
  113. package/models/HighOrderQuery.ts +91 -0
  114. package/models/JobControllerList200Response.ts +1 -1
  115. package/models/JobDto.ts +43 -40
  116. package/models/JobExecutionControllerGetOne400Response.ts +1 -1
  117. package/models/JobExecutionControllerList200Response.ts +1 -1
  118. package/models/JobExecutionDto.ts +26 -22
  119. package/models/LowOrderQuery.ts +115 -0
  120. package/models/PatchTaskExecutionDto.ts +13 -2
  121. package/models/Query.ts +85 -0
  122. package/models/TaskControllerList200Response.ts +1 -1
  123. package/models/TaskDto.ts +25 -22
  124. package/models/TaskExecutionDto.ts +26 -4
  125. package/models/UpdateJobDto.ts +33 -38
  126. package/models/UpdateTaskDto.ts +13 -20
  127. package/models/UpdateVariableDto.ts +23 -3
  128. package/models/VariableControllerList200Response.ts +1 -1
  129. package/models/VariableDto.ts +21 -3
  130. package/models/index.ts +10 -11
  131. package/package.json +2 -2
  132. package/runtime.ts +1 -1
@@ -2,24 +2,23 @@ export * from './CreateJobDto';
2
2
  export * from './CreateJobExecutionDto';
3
3
  export * from './CreateTaskDto';
4
4
  export * from './CreateVariableDto';
5
- export * from './FileControllerGetFiles200Response';
6
5
  export * from './FileDto';
7
- export * from './JobControllerList200Response';
6
+ export * from './FindVariablesRequest';
7
+ export * from './GetFiles200Response';
8
+ export * from './GetJobExecutionById400Response';
9
+ export * from './GetJobExecutions200Response';
10
+ export * from './GetJobs200Response';
11
+ export * from './GetTasks200Response';
12
+ export * from './GetVariables200Response';
13
+ export * from './HighOrderQuery';
8
14
  export * from './JobDto';
9
- export * from './JobDtoPeriodicityInner';
10
- export * from './JobDtoTasksInner';
11
- export * from './JobDtoTitleLocal';
12
- export * from './JobExecutionControllerGetOne400Response';
13
- export * from './JobExecutionControllerList200Response';
14
15
  export * from './JobExecutionDto';
15
- export * from './JobExecutionDtoInfo';
16
+ export * from './LowOrderQuery';
16
17
  export * from './PatchTaskExecutionDto';
17
- export * from './TaskControllerList200Response';
18
+ export * from './Query';
18
19
  export * from './TaskDto';
19
- export * from './TaskDtoInputKeysInner';
20
20
  export * from './TaskExecutionDto';
21
21
  export * from './UpdateJobDto';
22
22
  export * from './UpdateTaskDto';
23
23
  export * from './UpdateVariableDto';
24
- export * from './VariableControllerList200Response';
25
24
  export * from './VariableDto';
@@ -18,25 +18,24 @@ __exportStar(require("./CreateJobDto"), exports);
18
18
  __exportStar(require("./CreateJobExecutionDto"), exports);
19
19
  __exportStar(require("./CreateTaskDto"), exports);
20
20
  __exportStar(require("./CreateVariableDto"), exports);
21
- __exportStar(require("./FileControllerGetFiles200Response"), exports);
22
21
  __exportStar(require("./FileDto"), exports);
23
- __exportStar(require("./JobControllerList200Response"), exports);
22
+ __exportStar(require("./FindVariablesRequest"), exports);
23
+ __exportStar(require("./GetFiles200Response"), exports);
24
+ __exportStar(require("./GetJobExecutionById400Response"), exports);
25
+ __exportStar(require("./GetJobExecutions200Response"), exports);
26
+ __exportStar(require("./GetJobs200Response"), exports);
27
+ __exportStar(require("./GetTasks200Response"), exports);
28
+ __exportStar(require("./GetVariables200Response"), exports);
29
+ __exportStar(require("./HighOrderQuery"), exports);
24
30
  __exportStar(require("./JobDto"), exports);
25
- __exportStar(require("./JobDtoPeriodicityInner"), exports);
26
- __exportStar(require("./JobDtoTasksInner"), exports);
27
- __exportStar(require("./JobDtoTitleLocal"), exports);
28
- __exportStar(require("./JobExecutionControllerGetOne400Response"), exports);
29
- __exportStar(require("./JobExecutionControllerList200Response"), exports);
30
31
  __exportStar(require("./JobExecutionDto"), exports);
31
- __exportStar(require("./JobExecutionDtoInfo"), exports);
32
+ __exportStar(require("./LowOrderQuery"), exports);
32
33
  __exportStar(require("./PatchTaskExecutionDto"), exports);
33
- __exportStar(require("./TaskControllerList200Response"), exports);
34
+ __exportStar(require("./Query"), exports);
34
35
  __exportStar(require("./TaskDto"), exports);
35
- __exportStar(require("./TaskDtoInputKeysInner"), exports);
36
36
  __exportStar(require("./TaskExecutionDto"), exports);
37
37
  __exportStar(require("./UpdateJobDto"), exports);
38
38
  __exportStar(require("./UpdateTaskDto"), exports);
39
39
  __exportStar(require("./UpdateVariableDto"), exports);
40
- __exportStar(require("./VariableControllerList200Response"), exports);
41
40
  __exportStar(require("./VariableDto"), exports);
42
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,iDAA+B;AAC/B,0DAAwC;AACxC,kDAAgC;AAChC,sDAAoC;AACpC,sEAAoD;AACpD,4CAA0B;AAC1B,iEAA+C;AAC/C,2CAAyB;AACzB,2DAAyC;AACzC,qDAAmC;AACnC,qDAAmC;AACnC,4EAA0D;AAC1D,0EAAwD;AACxD,oDAAkC;AAClC,wDAAsC;AACtC,0DAAwC;AACxC,kEAAgD;AAChD,4CAA0B;AAC1B,0DAAwC;AACxC,qDAAmC;AACnC,iDAA+B;AAC/B,kDAAgC;AAChC,sDAAoC;AACpC,sEAAoD;AACpD,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,iDAA+B;AAC/B,0DAAwC;AACxC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,yDAAuC;AACvC,wDAAsC;AACtC,mEAAiD;AACjD,gEAA8C;AAC9C,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,mDAAiC;AACjC,2CAAyB;AACzB,oDAAkC;AAClC,kDAAgC;AAChC,0DAAwC;AACxC,0CAAwB;AACxB,4CAA0B;AAC1B,qDAAmC;AACnC,iDAA+B;AAC/B,kDAAgC;AAChC,sDAAoC;AACpC,gDAA8B"}
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.1.0
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,25 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
17
- import {
18
- JobDtoPeriodicityInnerFromJSON,
19
- JobDtoPeriodicityInnerFromJSONTyped,
20
- JobDtoPeriodicityInnerToJSON,
21
- } from './JobDtoPeriodicityInner';
22
- import type { JobDtoTasksInner } from './JobDtoTasksInner';
23
- import {
24
- JobDtoTasksInnerFromJSON,
25
- JobDtoTasksInnerFromJSONTyped,
26
- JobDtoTasksInnerToJSON,
27
- } from './JobDtoTasksInner';
28
- import type { JobDtoTitleLocal } from './JobDtoTitleLocal';
29
- import {
30
- JobDtoTitleLocalFromJSON,
31
- JobDtoTitleLocalFromJSONTyped,
32
- JobDtoTitleLocalToJSON,
33
- } from './JobDtoTitleLocal';
34
-
35
16
  /**
36
17
  *
37
18
  * @export
@@ -46,10 +27,10 @@ export interface 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.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { JobExecutionDtoInfo } from './JobExecutionDtoInfo';
17
- import {
18
- JobExecutionDtoInfoFromJSON,
19
- JobExecutionDtoInfoFromJSONTyped,
20
- JobExecutionDtoInfoToJSON,
21
- } from './JobExecutionDtoInfo';
22
-
23
16
  /**
24
17
  *
25
18
  * @export
@@ -34,16 +27,10 @@ export interface CreateJobExecutionDto {
34
27
  jobId: string;
35
28
  /**
36
29
  *
37
- * @type {JobExecutionDtoInfo}
38
- * @memberof CreateJobExecutionDto
39
- */
40
- info: JobExecutionDtoInfo;
41
- /**
42
- *
43
- * @type {string}
30
+ * @type {object}
44
31
  * @memberof CreateJobExecutionDto
45
32
  */
46
- pipelineId?: string;
33
+ info: object;
47
34
  /**
48
35
  *
49
36
  * @type {{ [key: string]: any; }}
@@ -74,8 +61,7 @@ export function CreateJobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminato
74
61
  return {
75
62
 
76
63
  'jobId': json['jobId'],
77
- 'info': JobExecutionDtoInfoFromJSON(json['info']),
78
- 'pipelineId': !exists(json, 'pipelineId') ? undefined : json['pipelineId'],
64
+ 'info': json['info'],
79
65
  'input': !exists(json, 'input') ? undefined : json['input'],
80
66
  };
81
67
  }
@@ -90,8 +76,7 @@ export function CreateJobExecutionDtoToJSON(value?: CreateJobExecutionDto | null
90
76
  return {
91
77
 
92
78
  'jobId': value.jobId,
93
- 'info': JobExecutionDtoInfoToJSON(value.info),
94
- 'pipelineId': value.pipelineId,
79
+ 'info': value.info,
95
80
  'input': value.input,
96
81
  };
97
82
  }
@@ -4,7 +4,7 @@
4
4
  * Product-Live API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 2.1.0
7
+ * The version of the OpenAPI document: 2.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { TaskDtoInputKeysInner } from './TaskDtoInputKeysInner';
17
- import {
18
- TaskDtoInputKeysInnerFromJSON,
19
- TaskDtoInputKeysInnerFromJSONTyped,
20
- TaskDtoInputKeysInnerToJSON,
21
- } from './TaskDtoInputKeysInner';
22
-
23
16
  /**
24
17
  *
25
18
  * @export
@@ -31,7 +24,7 @@ export interface 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.5.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.5.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,10 +21,10 @@ import { exists, mapValues } from '../runtime';
21
21
  export interface FileDto {
22
22
  /**
23
23
  *
24
- * @type {object}
24
+ * @type {string}
25
25
  * @memberof FileDto
26
26
  */
27
- object: object;
27
+ object: FileDtoObjectEnum;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -57,6 +57,16 @@ export interface FileDto {
57
57
  filename: string;
58
58
  }
59
59
 
60
+
61
+ /**
62
+ * @export
63
+ */
64
+ export const FileDtoObjectEnum = {
65
+ DataFactoryFile: 'data_factory_file'
66
+ } as const;
67
+ export type FileDtoObjectEnum = typeof FileDtoObjectEnum[keyof typeof FileDtoObjectEnum];
68
+
69
+
60
70
  /**
61
71
  * Check if a given object implements the FileDto interface.
62
72
  */
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import {
16
+ HighOrderQuery,
17
+ instanceOfHighOrderQuery,
18
+ HighOrderQueryFromJSON,
19
+ HighOrderQueryFromJSONTyped,
20
+ HighOrderQueryToJSON,
21
+ } from './HighOrderQuery';
22
+ import {
23
+ LowOrderQuery,
24
+ instanceOfLowOrderQuery,
25
+ LowOrderQueryFromJSON,
26
+ LowOrderQueryFromJSONTyped,
27
+ LowOrderQueryToJSON,
28
+ } from './LowOrderQuery';
29
+ import {
30
+ Query,
31
+ instanceOfQuery,
32
+ QueryFromJSON,
33
+ QueryFromJSONTyped,
34
+ QueryToJSON,
35
+ } from './Query';
36
+
37
+ /**
38
+ * @type FindVariablesRequest
39
+ *
40
+ * @export
41
+ */
42
+ export type FindVariablesRequest = HighOrderQuery | LowOrderQuery | Query;
43
+
44
+ export function FindVariablesRequestFromJSON(json: any): FindVariablesRequest {
45
+ return FindVariablesRequestFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function FindVariablesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FindVariablesRequest {
49
+ if ((json === undefined) || (json === null)) {
50
+ return json;
51
+ }
52
+ return { ...HighOrderQueryFromJSONTyped(json, true), ...LowOrderQueryFromJSONTyped(json, true), ...QueryFromJSONTyped(json, true) };
53
+ }
54
+
55
+ export function FindVariablesRequestToJSON(value?: FindVariablesRequest | null): any {
56
+ if (value === undefined) {
57
+ return undefined;
58
+ }
59
+ if (value === null) {
60
+ return null;
61
+ }
62
+
63
+ if (instanceOfHighOrderQuery(value)) {
64
+ return HighOrderQueryToJSON(value as HighOrderQuery);
65
+ }
66
+ if (instanceOfLowOrderQuery(value)) {
67
+ return LowOrderQueryToJSON(value as LowOrderQuery);
68
+ }
69
+ if (instanceOfQuery(value)) {
70
+ return QueryToJSON(value as Query);
71
+ }
72
+
73
+ return {};
74
+ }
75
+
@@ -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.5.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { FileDto } from './FileDto';
17
+ import {
18
+ FileDtoFromJSON,
19
+ FileDtoFromJSONTyped,
20
+ FileDtoToJSON,
21
+ } from './FileDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface GetFiles200Response
27
+ */
28
+ export interface GetFiles200Response {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof GetFiles200Response
33
+ */
34
+ object?: GetFiles200ResponseObjectEnum;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof GetFiles200Response
39
+ */
40
+ totalElements?: number;
41
+ /**
42
+ *
43
+ * @type {Array<FileDto>}
44
+ * @memberof GetFiles200Response
45
+ */
46
+ data?: Array<FileDto>;
47
+ }
48
+
49
+
50
+ /**
51
+ * @export
52
+ */
53
+ export const GetFiles200ResponseObjectEnum = {
54
+ List: 'list'
55
+ } as const;
56
+ export type GetFiles200ResponseObjectEnum = typeof GetFiles200ResponseObjectEnum[keyof typeof GetFiles200ResponseObjectEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the GetFiles200Response interface.
61
+ */
62
+ export function instanceOfGetFiles200Response(value: object): boolean {
63
+ let isInstance = true;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function GetFiles200ResponseFromJSON(json: any): GetFiles200Response {
69
+ return GetFiles200ResponseFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function GetFiles200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFiles200Response {
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 GetFiles200ResponseToJSON(value?: GetFiles200Response | 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
+