@platformatic/watt-extra 0.1.0

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 (95) hide show
  1. package/README.md +87 -0
  2. package/app.js +124 -0
  3. package/cli.js +141 -0
  4. package/clients/compliance/compliance-types.d.ts +887 -0
  5. package/clients/compliance/compliance.mjs +1049 -0
  6. package/clients/compliance/compliance.openapi.json +6127 -0
  7. package/clients/control-plane/control-plane-types.d.ts +2696 -0
  8. package/clients/control-plane/control-plane.mjs +3051 -0
  9. package/clients/control-plane/control-plane.openapi.json +13693 -0
  10. package/clients/cron/cron-types.d.ts +1479 -0
  11. package/clients/cron/cron.mjs +872 -0
  12. package/clients/cron/cron.openapi.json +9330 -0
  13. package/compliance/index.js +21 -0
  14. package/compliance/rules/dependencies.js +76 -0
  15. package/compliance/rules/utils.js +12 -0
  16. package/eslint.config.js +11 -0
  17. package/help/start.txt +12 -0
  18. package/help/watt-extra.txt +12 -0
  19. package/index.js +45 -0
  20. package/lib/banner.js +22 -0
  21. package/lib/errors.js +34 -0
  22. package/lib/utils.js +34 -0
  23. package/lib/wattpro.js +580 -0
  24. package/package.json +50 -0
  25. package/plugins/alerts.js +115 -0
  26. package/plugins/auth.js +89 -0
  27. package/plugins/compliancy.js +70 -0
  28. package/plugins/env.js +58 -0
  29. package/plugins/flamegraphs.js +100 -0
  30. package/plugins/init.js +70 -0
  31. package/plugins/metadata.js +84 -0
  32. package/plugins/scheduler.js +48 -0
  33. package/plugins/update.js +128 -0
  34. package/renovate.json +6 -0
  35. package/test/alerts.test.js +607 -0
  36. package/test/auth.test.js +128 -0
  37. package/test/auto-cache.test.js +401 -0
  38. package/test/cli.test.js +75 -0
  39. package/test/compliancy.test.js +87 -0
  40. package/test/fixtures/runtime-domains/alpha/package.json +5 -0
  41. package/test/fixtures/runtime-domains/alpha/platformatic.json +6 -0
  42. package/test/fixtures/runtime-domains/alpha/plugin.js +16 -0
  43. package/test/fixtures/runtime-domains/beta/package.json +5 -0
  44. package/test/fixtures/runtime-domains/beta/platformatic.json +6 -0
  45. package/test/fixtures/runtime-domains/beta/plugin.js +7 -0
  46. package/test/fixtures/runtime-domains/composer/package.json +5 -0
  47. package/test/fixtures/runtime-domains/composer/platformatic.json +19 -0
  48. package/test/fixtures/runtime-domains/package.json +1 -0
  49. package/test/fixtures/runtime-domains/platformatic.json +27 -0
  50. package/test/fixtures/runtime-health/package.json +20 -0
  51. package/test/fixtures/runtime-health/platformatic.json +16 -0
  52. package/test/fixtures/runtime-health/services/service-1/package.json +17 -0
  53. package/test/fixtures/runtime-health/services/service-1/platformatic.json +16 -0
  54. package/test/fixtures/runtime-health/services/service-1/plugins/example.js +6 -0
  55. package/test/fixtures/runtime-health/services/service-1/routes/root.cjs +8 -0
  56. package/test/fixtures/runtime-health/services/service-2/package.json +17 -0
  57. package/test/fixtures/runtime-health/services/service-2/platformatic.json +16 -0
  58. package/test/fixtures/runtime-health/services/service-2/plugins/example.js +6 -0
  59. package/test/fixtures/runtime-health/services/service-2/routes/root.cjs +8 -0
  60. package/test/fixtures/runtime-next/package.json +5 -0
  61. package/test/fixtures/runtime-next/platformatic.json +9 -0
  62. package/test/fixtures/runtime-next/web/next/next.config.js +2 -0
  63. package/test/fixtures/runtime-next/web/next/package.json +7 -0
  64. package/test/fixtures/runtime-next/web/next/platformatic.json +9 -0
  65. package/test/fixtures/runtime-next/web/next/src/app/direct/route.js +3 -0
  66. package/test/fixtures/runtime-next/web/next/src/app/layout.jsx +7 -0
  67. package/test/fixtures/runtime-next/web/next/src/app/page.jsx +3 -0
  68. package/test/fixtures/runtime-scheduler/main/package.json +5 -0
  69. package/test/fixtures/runtime-scheduler/main/platformatic.json +9 -0
  70. package/test/fixtures/runtime-scheduler/main/routes/root.cjs +11 -0
  71. package/test/fixtures/runtime-scheduler/package.json +1 -0
  72. package/test/fixtures/runtime-scheduler/platformatic.json +27 -0
  73. package/test/fixtures/runtime-service/main/package.json +5 -0
  74. package/test/fixtures/runtime-service/main/platformatic.json +12 -0
  75. package/test/fixtures/runtime-service/main/routes/root.cjs +11 -0
  76. package/test/fixtures/runtime-service/package.json +1 -0
  77. package/test/fixtures/runtime-service/platformatic.json +19 -0
  78. package/test/fixtures/service-1/package.json +7 -0
  79. package/test/fixtures/service-1/platformatic.json +18 -0
  80. package/test/fixtures/service-1/routes/root.cjs +48 -0
  81. package/test/fixtures/service-2/platformatic.json +21 -0
  82. package/test/fixtures/service-2/routes/root.cjs +5 -0
  83. package/test/fixtures/service-3/package.json +5 -0
  84. package/test/fixtures/service-3/platformatic.json +21 -0
  85. package/test/fixtures/service-3/routes/root.cjs +8 -0
  86. package/test/health.test.js +44 -0
  87. package/test/helper.js +274 -0
  88. package/test/init.test.js +243 -0
  89. package/test/patch-config.test.js +434 -0
  90. package/test/scheduler.test.js +71 -0
  91. package/test/send-to-icc-retry.test.js +138 -0
  92. package/test/shared-context.test.js +82 -0
  93. package/test/spawn.test.js +110 -0
  94. package/test/trigger-flamegraphs.test.js +226 -0
  95. package/test/update.test.js +519 -0
@@ -0,0 +1,2696 @@
1
+ export interface FullResponse<T, U extends number> {
2
+ 'statusCode': U;
3
+ 'headers': object;
4
+ 'body': T;
5
+ }
6
+
7
+ export type GetGenerationsRequest = {
8
+ /**
9
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
10
+ */
11
+ 'limit'?: number;
12
+ 'offset'?: number;
13
+ 'totalCount'?: boolean;
14
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
15
+ 'where.createdAt.eq'?: string;
16
+ 'where.createdAt.neq'?: string;
17
+ 'where.createdAt.gt'?: string;
18
+ 'where.createdAt.gte'?: string;
19
+ 'where.createdAt.lt'?: string;
20
+ 'where.createdAt.lte'?: string;
21
+ 'where.createdAt.like'?: string;
22
+ 'where.createdAt.ilike'?: string;
23
+ 'where.createdAt.in'?: string;
24
+ 'where.createdAt.nin'?: string;
25
+ 'where.createdAt.contains'?: string;
26
+ 'where.createdAt.contained'?: string;
27
+ 'where.createdAt.overlaps'?: string;
28
+ 'where.id.eq'?: string;
29
+ 'where.id.neq'?: string;
30
+ 'where.id.gt'?: string;
31
+ 'where.id.gte'?: string;
32
+ 'where.id.lt'?: string;
33
+ 'where.id.lte'?: string;
34
+ 'where.id.like'?: string;
35
+ 'where.id.ilike'?: string;
36
+ 'where.id.in'?: string;
37
+ 'where.id.nin'?: string;
38
+ 'where.id.contains'?: string;
39
+ 'where.id.contained'?: string;
40
+ 'where.id.overlaps'?: string;
41
+ 'where.version.eq'?: number;
42
+ 'where.version.neq'?: number;
43
+ 'where.version.gt'?: number;
44
+ 'where.version.gte'?: number;
45
+ 'where.version.lt'?: number;
46
+ 'where.version.lte'?: number;
47
+ 'where.version.like'?: number;
48
+ 'where.version.ilike'?: number;
49
+ 'where.version.in'?: string;
50
+ 'where.version.nin'?: string;
51
+ 'where.version.contains'?: string;
52
+ 'where.version.contained'?: string;
53
+ 'where.version.overlaps'?: string;
54
+ 'where.or'?: Array<string>;
55
+ 'orderby.createdAt'?: 'asc' | 'desc';
56
+ 'orderby.id'?: 'asc' | 'desc';
57
+ 'orderby.version'?: 'asc' | 'desc';
58
+ }
59
+
60
+ /**
61
+ * Default Response
62
+ */
63
+ export type GetGenerationsResponseOK = Array<{ 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }>
64
+ export type GetGenerationsResponses =
65
+ GetGenerationsResponseOK
66
+
67
+ export type CreateGenerationRequest = {
68
+ 'id'?: string;
69
+ 'version': number;
70
+ 'createdAt'?: string | null;
71
+ }
72
+
73
+ /**
74
+ * A Generation
75
+ */
76
+ export type CreateGenerationResponseOK = { 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }
77
+ export type CreateGenerationResponses =
78
+ CreateGenerationResponseOK
79
+
80
+ export type UpdateGenerationsRequest = {
81
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
82
+ 'where.createdAt.eq'?: string;
83
+ 'where.createdAt.neq'?: string;
84
+ 'where.createdAt.gt'?: string;
85
+ 'where.createdAt.gte'?: string;
86
+ 'where.createdAt.lt'?: string;
87
+ 'where.createdAt.lte'?: string;
88
+ 'where.createdAt.like'?: string;
89
+ 'where.createdAt.ilike'?: string;
90
+ 'where.createdAt.in'?: string;
91
+ 'where.createdAt.nin'?: string;
92
+ 'where.createdAt.contains'?: string;
93
+ 'where.createdAt.contained'?: string;
94
+ 'where.createdAt.overlaps'?: string;
95
+ 'where.id.eq'?: string;
96
+ 'where.id.neq'?: string;
97
+ 'where.id.gt'?: string;
98
+ 'where.id.gte'?: string;
99
+ 'where.id.lt'?: string;
100
+ 'where.id.lte'?: string;
101
+ 'where.id.like'?: string;
102
+ 'where.id.ilike'?: string;
103
+ 'where.id.in'?: string;
104
+ 'where.id.nin'?: string;
105
+ 'where.id.contains'?: string;
106
+ 'where.id.contained'?: string;
107
+ 'where.id.overlaps'?: string;
108
+ 'where.version.eq'?: number;
109
+ 'where.version.neq'?: number;
110
+ 'where.version.gt'?: number;
111
+ 'where.version.gte'?: number;
112
+ 'where.version.lt'?: number;
113
+ 'where.version.lte'?: number;
114
+ 'where.version.like'?: number;
115
+ 'where.version.ilike'?: number;
116
+ 'where.version.in'?: string;
117
+ 'where.version.nin'?: string;
118
+ 'where.version.contains'?: string;
119
+ 'where.version.contained'?: string;
120
+ 'where.version.overlaps'?: string;
121
+ 'where.or'?: Array<string>;
122
+ 'id'?: string;
123
+ 'version': number;
124
+ 'createdAt'?: string | null;
125
+ }
126
+
127
+ /**
128
+ * Default Response
129
+ */
130
+ export type UpdateGenerationsResponseOK = Array<{ 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }>
131
+ export type UpdateGenerationsResponses =
132
+ UpdateGenerationsResponseOK
133
+
134
+ export type GetGenerationByIdRequest = {
135
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
136
+ 'id': string;
137
+ }
138
+
139
+ /**
140
+ * A Generation
141
+ */
142
+ export type GetGenerationByIdResponseOK = { 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }
143
+ export type GetGenerationByIdResponses =
144
+ GetGenerationByIdResponseOK
145
+
146
+ export type UpdateGenerationRequest = {
147
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
148
+ 'id': string;
149
+ 'version': number;
150
+ 'createdAt'?: string | null;
151
+ }
152
+
153
+ /**
154
+ * A Generation
155
+ */
156
+ export type UpdateGenerationResponseOK = { 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }
157
+ export type UpdateGenerationResponses =
158
+ UpdateGenerationResponseOK
159
+
160
+ export type DeleteGenerationsRequest = {
161
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
162
+ 'id': string;
163
+ }
164
+
165
+ /**
166
+ * A Generation
167
+ */
168
+ export type DeleteGenerationsResponseOK = { 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }
169
+ export type DeleteGenerationsResponses =
170
+ DeleteGenerationsResponseOK
171
+
172
+ export type GetGraphsForGenerationRequest = {
173
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
174
+ 'id': string;
175
+ }
176
+
177
+ /**
178
+ * Default Response
179
+ */
180
+ export type GetGraphsForGenerationResponseOK = Array<{ 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }>
181
+ export type GetGraphsForGenerationResponses =
182
+ GetGraphsForGenerationResponseOK
183
+
184
+ export type GetGenerationsDeploymentsForGenerationRequest = {
185
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
186
+ 'id': string;
187
+ }
188
+
189
+ /**
190
+ * Default Response
191
+ */
192
+ export type GetGenerationsDeploymentsForGenerationResponseOK = Array<{ 'generationId'?: string | null; 'deploymentId'?: string | null }>
193
+ export type GetGenerationsDeploymentsForGenerationResponses =
194
+ GetGenerationsDeploymentsForGenerationResponseOK
195
+
196
+ export type GetGenerationsApplicationsConfigsForGenerationRequest = {
197
+ 'fields'?: Array<'configId' | 'generationId'>;
198
+ 'id': string;
199
+ }
200
+
201
+ /**
202
+ * Default Response
203
+ */
204
+ export type GetGenerationsApplicationsConfigsForGenerationResponseOK = Array<{ 'generationId'?: string | null; 'configId'?: string | null }>
205
+ export type GetGenerationsApplicationsConfigsForGenerationResponses =
206
+ GetGenerationsApplicationsConfigsForGenerationResponseOK
207
+
208
+ export type GetGraphsRequest = {
209
+ /**
210
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
211
+ */
212
+ 'limit'?: number;
213
+ 'offset'?: number;
214
+ 'totalCount'?: boolean;
215
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
216
+ 'where.createdAt.eq'?: string;
217
+ 'where.createdAt.neq'?: string;
218
+ 'where.createdAt.gt'?: string;
219
+ 'where.createdAt.gte'?: string;
220
+ 'where.createdAt.lt'?: string;
221
+ 'where.createdAt.lte'?: string;
222
+ 'where.createdAt.like'?: string;
223
+ 'where.createdAt.ilike'?: string;
224
+ 'where.createdAt.in'?: string;
225
+ 'where.createdAt.nin'?: string;
226
+ 'where.createdAt.contains'?: string;
227
+ 'where.createdAt.contained'?: string;
228
+ 'where.createdAt.overlaps'?: string;
229
+ 'where.generationId.eq'?: string;
230
+ 'where.generationId.neq'?: string;
231
+ 'where.generationId.gt'?: string;
232
+ 'where.generationId.gte'?: string;
233
+ 'where.generationId.lt'?: string;
234
+ 'where.generationId.lte'?: string;
235
+ 'where.generationId.like'?: string;
236
+ 'where.generationId.ilike'?: string;
237
+ 'where.generationId.in'?: string;
238
+ 'where.generationId.nin'?: string;
239
+ 'where.generationId.contains'?: string;
240
+ 'where.generationId.contained'?: string;
241
+ 'where.generationId.overlaps'?: string;
242
+ 'where.graph.eq'?: string;
243
+ 'where.graph.neq'?: string;
244
+ 'where.graph.gt'?: string;
245
+ 'where.graph.gte'?: string;
246
+ 'where.graph.lt'?: string;
247
+ 'where.graph.lte'?: string;
248
+ 'where.graph.like'?: string;
249
+ 'where.graph.ilike'?: string;
250
+ 'where.graph.in'?: string;
251
+ 'where.graph.nin'?: string;
252
+ 'where.graph.contains'?: string;
253
+ 'where.graph.contained'?: string;
254
+ 'where.graph.overlaps'?: string;
255
+ 'where.id.eq'?: string;
256
+ 'where.id.neq'?: string;
257
+ 'where.id.gt'?: string;
258
+ 'where.id.gte'?: string;
259
+ 'where.id.lt'?: string;
260
+ 'where.id.lte'?: string;
261
+ 'where.id.like'?: string;
262
+ 'where.id.ilike'?: string;
263
+ 'where.id.in'?: string;
264
+ 'where.id.nin'?: string;
265
+ 'where.id.contains'?: string;
266
+ 'where.id.contained'?: string;
267
+ 'where.id.overlaps'?: string;
268
+ 'where.or'?: Array<string>;
269
+ 'orderby.createdAt'?: 'asc' | 'desc';
270
+ 'orderby.generationId'?: 'asc' | 'desc';
271
+ 'orderby.graph'?: 'asc' | 'desc';
272
+ 'orderby.id'?: 'asc' | 'desc';
273
+ }
274
+
275
+ /**
276
+ * Default Response
277
+ */
278
+ export type GetGraphsResponseOK = Array<{ 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }>
279
+ export type GetGraphsResponses =
280
+ GetGraphsResponseOK
281
+
282
+ export type CreateGraphRequest = {
283
+ 'id'?: string;
284
+ 'generationId': string;
285
+ 'graph': object;
286
+ 'createdAt'?: string | null;
287
+ }
288
+
289
+ /**
290
+ * A Graph
291
+ */
292
+ export type CreateGraphResponseOK = { 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }
293
+ export type CreateGraphResponses =
294
+ CreateGraphResponseOK
295
+
296
+ export type UpdateGraphsRequest = {
297
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
298
+ 'where.createdAt.eq'?: string;
299
+ 'where.createdAt.neq'?: string;
300
+ 'where.createdAt.gt'?: string;
301
+ 'where.createdAt.gte'?: string;
302
+ 'where.createdAt.lt'?: string;
303
+ 'where.createdAt.lte'?: string;
304
+ 'where.createdAt.like'?: string;
305
+ 'where.createdAt.ilike'?: string;
306
+ 'where.createdAt.in'?: string;
307
+ 'where.createdAt.nin'?: string;
308
+ 'where.createdAt.contains'?: string;
309
+ 'where.createdAt.contained'?: string;
310
+ 'where.createdAt.overlaps'?: string;
311
+ 'where.generationId.eq'?: string;
312
+ 'where.generationId.neq'?: string;
313
+ 'where.generationId.gt'?: string;
314
+ 'where.generationId.gte'?: string;
315
+ 'where.generationId.lt'?: string;
316
+ 'where.generationId.lte'?: string;
317
+ 'where.generationId.like'?: string;
318
+ 'where.generationId.ilike'?: string;
319
+ 'where.generationId.in'?: string;
320
+ 'where.generationId.nin'?: string;
321
+ 'where.generationId.contains'?: string;
322
+ 'where.generationId.contained'?: string;
323
+ 'where.generationId.overlaps'?: string;
324
+ 'where.graph.eq'?: string;
325
+ 'where.graph.neq'?: string;
326
+ 'where.graph.gt'?: string;
327
+ 'where.graph.gte'?: string;
328
+ 'where.graph.lt'?: string;
329
+ 'where.graph.lte'?: string;
330
+ 'where.graph.like'?: string;
331
+ 'where.graph.ilike'?: string;
332
+ 'where.graph.in'?: string;
333
+ 'where.graph.nin'?: string;
334
+ 'where.graph.contains'?: string;
335
+ 'where.graph.contained'?: string;
336
+ 'where.graph.overlaps'?: string;
337
+ 'where.id.eq'?: string;
338
+ 'where.id.neq'?: string;
339
+ 'where.id.gt'?: string;
340
+ 'where.id.gte'?: string;
341
+ 'where.id.lt'?: string;
342
+ 'where.id.lte'?: string;
343
+ 'where.id.like'?: string;
344
+ 'where.id.ilike'?: string;
345
+ 'where.id.in'?: string;
346
+ 'where.id.nin'?: string;
347
+ 'where.id.contains'?: string;
348
+ 'where.id.contained'?: string;
349
+ 'where.id.overlaps'?: string;
350
+ 'where.or'?: Array<string>;
351
+ 'id'?: string;
352
+ 'generationId': string;
353
+ 'graph': object;
354
+ 'createdAt'?: string | null;
355
+ }
356
+
357
+ /**
358
+ * Default Response
359
+ */
360
+ export type UpdateGraphsResponseOK = Array<{ 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }>
361
+ export type UpdateGraphsResponses =
362
+ UpdateGraphsResponseOK
363
+
364
+ export type GetGraphByIdRequest = {
365
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
366
+ 'id': string;
367
+ }
368
+
369
+ /**
370
+ * A Graph
371
+ */
372
+ export type GetGraphByIdResponseOK = { 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }
373
+ export type GetGraphByIdResponses =
374
+ GetGraphByIdResponseOK
375
+
376
+ export type UpdateGraphRequest = {
377
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
378
+ 'id': string;
379
+ 'generationId': string;
380
+ 'graph': object;
381
+ 'createdAt'?: string | null;
382
+ }
383
+
384
+ /**
385
+ * A Graph
386
+ */
387
+ export type UpdateGraphResponseOK = { 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }
388
+ export type UpdateGraphResponses =
389
+ UpdateGraphResponseOK
390
+
391
+ export type DeleteGraphsRequest = {
392
+ 'fields'?: Array<'createdAt' | 'generationId' | 'graph' | 'id'>;
393
+ 'id': string;
394
+ }
395
+
396
+ /**
397
+ * A Graph
398
+ */
399
+ export type DeleteGraphsResponseOK = { 'id'?: string | null; 'generationId'?: string | null; 'graph'?: object | null; 'createdAt'?: string | null }
400
+ export type DeleteGraphsResponses =
401
+ DeleteGraphsResponseOK
402
+
403
+ export type GetGenerationForGraphRequest = {
404
+ 'fields'?: Array<'createdAt' | 'id' | 'version'>;
405
+ 'id': string;
406
+ }
407
+
408
+ /**
409
+ * A Generation
410
+ */
411
+ export type GetGenerationForGraphResponseOK = { 'id'?: string | null; 'version'?: number | null; 'createdAt'?: string | null }
412
+ export type GetGenerationForGraphResponses =
413
+ GetGenerationForGraphResponseOK
414
+
415
+ export type GetApplicationsRequest = {
416
+ /**
417
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
418
+ */
419
+ 'limit'?: number;
420
+ 'offset'?: number;
421
+ 'totalCount'?: boolean;
422
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
423
+ 'where.createdAt.eq'?: string;
424
+ 'where.createdAt.neq'?: string;
425
+ 'where.createdAt.gt'?: string;
426
+ 'where.createdAt.gte'?: string;
427
+ 'where.createdAt.lt'?: string;
428
+ 'where.createdAt.lte'?: string;
429
+ 'where.createdAt.like'?: string;
430
+ 'where.createdAt.ilike'?: string;
431
+ 'where.createdAt.in'?: string;
432
+ 'where.createdAt.nin'?: string;
433
+ 'where.createdAt.contains'?: string;
434
+ 'where.createdAt.contained'?: string;
435
+ 'where.createdAt.overlaps'?: string;
436
+ 'where.id.eq'?: string;
437
+ 'where.id.neq'?: string;
438
+ 'where.id.gt'?: string;
439
+ 'where.id.gte'?: string;
440
+ 'where.id.lt'?: string;
441
+ 'where.id.lte'?: string;
442
+ 'where.id.like'?: string;
443
+ 'where.id.ilike'?: string;
444
+ 'where.id.in'?: string;
445
+ 'where.id.nin'?: string;
446
+ 'where.id.contains'?: string;
447
+ 'where.id.contained'?: string;
448
+ 'where.id.overlaps'?: string;
449
+ 'where.name.eq'?: string;
450
+ 'where.name.neq'?: string;
451
+ 'where.name.gt'?: string;
452
+ 'where.name.gte'?: string;
453
+ 'where.name.lt'?: string;
454
+ 'where.name.lte'?: string;
455
+ 'where.name.like'?: string;
456
+ 'where.name.ilike'?: string;
457
+ 'where.name.in'?: string;
458
+ 'where.name.nin'?: string;
459
+ 'where.name.contains'?: string;
460
+ 'where.name.contained'?: string;
461
+ 'where.name.overlaps'?: string;
462
+ 'where.or'?: Array<string>;
463
+ 'orderby.createdAt'?: 'asc' | 'desc';
464
+ 'orderby.id'?: 'asc' | 'desc';
465
+ 'orderby.name'?: 'asc' | 'desc';
466
+ }
467
+
468
+ /**
469
+ * Default Response
470
+ */
471
+ export type GetApplicationsResponseOK = Array<{ 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }>
472
+ export type GetApplicationsResponses =
473
+ GetApplicationsResponseOK
474
+
475
+ export type CreateApplicationRequest = {
476
+ 'id'?: string;
477
+ 'name': string;
478
+ 'createdAt'?: string | null;
479
+ }
480
+
481
+ /**
482
+ * A Application
483
+ */
484
+ export type CreateApplicationResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
485
+ export type CreateApplicationResponses =
486
+ CreateApplicationResponseOK
487
+
488
+ export type UpdateApplicationsRequest = {
489
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
490
+ 'where.createdAt.eq'?: string;
491
+ 'where.createdAt.neq'?: string;
492
+ 'where.createdAt.gt'?: string;
493
+ 'where.createdAt.gte'?: string;
494
+ 'where.createdAt.lt'?: string;
495
+ 'where.createdAt.lte'?: string;
496
+ 'where.createdAt.like'?: string;
497
+ 'where.createdAt.ilike'?: string;
498
+ 'where.createdAt.in'?: string;
499
+ 'where.createdAt.nin'?: string;
500
+ 'where.createdAt.contains'?: string;
501
+ 'where.createdAt.contained'?: string;
502
+ 'where.createdAt.overlaps'?: string;
503
+ 'where.id.eq'?: string;
504
+ 'where.id.neq'?: string;
505
+ 'where.id.gt'?: string;
506
+ 'where.id.gte'?: string;
507
+ 'where.id.lt'?: string;
508
+ 'where.id.lte'?: string;
509
+ 'where.id.like'?: string;
510
+ 'where.id.ilike'?: string;
511
+ 'where.id.in'?: string;
512
+ 'where.id.nin'?: string;
513
+ 'where.id.contains'?: string;
514
+ 'where.id.contained'?: string;
515
+ 'where.id.overlaps'?: string;
516
+ 'where.name.eq'?: string;
517
+ 'where.name.neq'?: string;
518
+ 'where.name.gt'?: string;
519
+ 'where.name.gte'?: string;
520
+ 'where.name.lt'?: string;
521
+ 'where.name.lte'?: string;
522
+ 'where.name.like'?: string;
523
+ 'where.name.ilike'?: string;
524
+ 'where.name.in'?: string;
525
+ 'where.name.nin'?: string;
526
+ 'where.name.contains'?: string;
527
+ 'where.name.contained'?: string;
528
+ 'where.name.overlaps'?: string;
529
+ 'where.or'?: Array<string>;
530
+ 'id'?: string;
531
+ 'name': string;
532
+ 'createdAt'?: string | null;
533
+ }
534
+
535
+ /**
536
+ * Default Response
537
+ */
538
+ export type UpdateApplicationsResponseOK = Array<{ 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }>
539
+ export type UpdateApplicationsResponses =
540
+ UpdateApplicationsResponseOK
541
+
542
+ export type GetApplicationByIdRequest = {
543
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
544
+ 'id': string;
545
+ }
546
+
547
+ /**
548
+ * A Application
549
+ */
550
+ export type GetApplicationByIdResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
551
+ export type GetApplicationByIdResponses =
552
+ GetApplicationByIdResponseOK
553
+
554
+ export type UpdateApplicationRequest = {
555
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
556
+ 'id': string;
557
+ 'name': string;
558
+ 'createdAt'?: string | null;
559
+ }
560
+
561
+ /**
562
+ * A Application
563
+ */
564
+ export type UpdateApplicationResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
565
+ export type UpdateApplicationResponses =
566
+ UpdateApplicationResponseOK
567
+
568
+ export type DeleteApplicationsRequest = {
569
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
570
+ 'id': string;
571
+ }
572
+
573
+ /**
574
+ * A Application
575
+ */
576
+ export type DeleteApplicationsResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
577
+ export type DeleteApplicationsResponses =
578
+ DeleteApplicationsResponseOK
579
+
580
+ export type GetApplicationsConfigsForApplicationRequest = {
581
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
582
+ 'id': string;
583
+ }
584
+
585
+ /**
586
+ * Default Response
587
+ */
588
+ export type GetApplicationsConfigsForApplicationResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }>
589
+ export type GetApplicationsConfigsForApplicationResponses =
590
+ GetApplicationsConfigsForApplicationResponseOK
591
+
592
+ export type GetApplicationStatesForApplicationRequest = {
593
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
594
+ 'id': string;
595
+ }
596
+
597
+ /**
598
+ * Default Response
599
+ */
600
+ export type GetApplicationStatesForApplicationResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }>
601
+ export type GetApplicationStatesForApplicationResponses =
602
+ GetApplicationStatesForApplicationResponseOK
603
+
604
+ export type GetDeploymentsForApplicationRequest = {
605
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
606
+ 'id': string;
607
+ }
608
+
609
+ /**
610
+ * Default Response
611
+ */
612
+ export type GetDeploymentsForApplicationResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }>
613
+ export type GetDeploymentsForApplicationResponses =
614
+ GetDeploymentsForApplicationResponseOK
615
+
616
+ export type GetDetectedPodsForApplicationRequest = {
617
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
618
+ 'id': string;
619
+ }
620
+
621
+ /**
622
+ * Default Response
623
+ */
624
+ export type GetDetectedPodsForApplicationResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }>
625
+ export type GetDetectedPodsForApplicationResponses =
626
+ GetDetectedPodsForApplicationResponseOK
627
+
628
+ export type GetApplicationsConfigsRequest = {
629
+ /**
630
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
631
+ */
632
+ 'limit'?: number;
633
+ 'offset'?: number;
634
+ 'totalCount'?: boolean;
635
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
636
+ 'where.applicationId.eq'?: string;
637
+ 'where.applicationId.neq'?: string;
638
+ 'where.applicationId.gt'?: string;
639
+ 'where.applicationId.gte'?: string;
640
+ 'where.applicationId.lt'?: string;
641
+ 'where.applicationId.lte'?: string;
642
+ 'where.applicationId.like'?: string;
643
+ 'where.applicationId.ilike'?: string;
644
+ 'where.applicationId.in'?: string;
645
+ 'where.applicationId.nin'?: string;
646
+ 'where.applicationId.contains'?: string;
647
+ 'where.applicationId.contained'?: string;
648
+ 'where.applicationId.overlaps'?: string;
649
+ 'where.createdAt.eq'?: string;
650
+ 'where.createdAt.neq'?: string;
651
+ 'where.createdAt.gt'?: string;
652
+ 'where.createdAt.gte'?: string;
653
+ 'where.createdAt.lt'?: string;
654
+ 'where.createdAt.lte'?: string;
655
+ 'where.createdAt.like'?: string;
656
+ 'where.createdAt.ilike'?: string;
657
+ 'where.createdAt.in'?: string;
658
+ 'where.createdAt.nin'?: string;
659
+ 'where.createdAt.contains'?: string;
660
+ 'where.createdAt.contained'?: string;
661
+ 'where.createdAt.overlaps'?: string;
662
+ 'where.id.eq'?: string;
663
+ 'where.id.neq'?: string;
664
+ 'where.id.gt'?: string;
665
+ 'where.id.gte'?: string;
666
+ 'where.id.lt'?: string;
667
+ 'where.id.lte'?: string;
668
+ 'where.id.like'?: string;
669
+ 'where.id.ilike'?: string;
670
+ 'where.id.in'?: string;
671
+ 'where.id.nin'?: string;
672
+ 'where.id.contains'?: string;
673
+ 'where.id.contained'?: string;
674
+ 'where.id.overlaps'?: string;
675
+ 'where.resources.eq'?: string;
676
+ 'where.resources.neq'?: string;
677
+ 'where.resources.gt'?: string;
678
+ 'where.resources.gte'?: string;
679
+ 'where.resources.lt'?: string;
680
+ 'where.resources.lte'?: string;
681
+ 'where.resources.like'?: string;
682
+ 'where.resources.ilike'?: string;
683
+ 'where.resources.in'?: string;
684
+ 'where.resources.nin'?: string;
685
+ 'where.resources.contains'?: string;
686
+ 'where.resources.contained'?: string;
687
+ 'where.resources.overlaps'?: string;
688
+ 'where.version.eq'?: number;
689
+ 'where.version.neq'?: number;
690
+ 'where.version.gt'?: number;
691
+ 'where.version.gte'?: number;
692
+ 'where.version.lt'?: number;
693
+ 'where.version.lte'?: number;
694
+ 'where.version.like'?: number;
695
+ 'where.version.ilike'?: number;
696
+ 'where.version.in'?: string;
697
+ 'where.version.nin'?: string;
698
+ 'where.version.contains'?: string;
699
+ 'where.version.contained'?: string;
700
+ 'where.version.overlaps'?: string;
701
+ 'where.or'?: Array<string>;
702
+ 'orderby.applicationId'?: 'asc' | 'desc';
703
+ 'orderby.createdAt'?: 'asc' | 'desc';
704
+ 'orderby.id'?: 'asc' | 'desc';
705
+ 'orderby.resources'?: 'asc' | 'desc';
706
+ 'orderby.version'?: 'asc' | 'desc';
707
+ }
708
+
709
+ /**
710
+ * Default Response
711
+ */
712
+ export type GetApplicationsConfigsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }>
713
+ export type GetApplicationsConfigsResponses =
714
+ GetApplicationsConfigsResponseOK
715
+
716
+ export type CreateApplicationsConfigRequest = {
717
+ 'id'?: string;
718
+ 'applicationId': string;
719
+ 'version': number;
720
+ 'resources': object;
721
+ 'createdAt'?: string | null;
722
+ }
723
+
724
+ /**
725
+ * A ApplicationsConfig
726
+ */
727
+ export type CreateApplicationsConfigResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }
728
+ export type CreateApplicationsConfigResponses =
729
+ CreateApplicationsConfigResponseOK
730
+
731
+ export type UpdateApplicationsConfigsRequest = {
732
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
733
+ 'where.applicationId.eq'?: string;
734
+ 'where.applicationId.neq'?: string;
735
+ 'where.applicationId.gt'?: string;
736
+ 'where.applicationId.gte'?: string;
737
+ 'where.applicationId.lt'?: string;
738
+ 'where.applicationId.lte'?: string;
739
+ 'where.applicationId.like'?: string;
740
+ 'where.applicationId.ilike'?: string;
741
+ 'where.applicationId.in'?: string;
742
+ 'where.applicationId.nin'?: string;
743
+ 'where.applicationId.contains'?: string;
744
+ 'where.applicationId.contained'?: string;
745
+ 'where.applicationId.overlaps'?: string;
746
+ 'where.createdAt.eq'?: string;
747
+ 'where.createdAt.neq'?: string;
748
+ 'where.createdAt.gt'?: string;
749
+ 'where.createdAt.gte'?: string;
750
+ 'where.createdAt.lt'?: string;
751
+ 'where.createdAt.lte'?: string;
752
+ 'where.createdAt.like'?: string;
753
+ 'where.createdAt.ilike'?: string;
754
+ 'where.createdAt.in'?: string;
755
+ 'where.createdAt.nin'?: string;
756
+ 'where.createdAt.contains'?: string;
757
+ 'where.createdAt.contained'?: string;
758
+ 'where.createdAt.overlaps'?: string;
759
+ 'where.id.eq'?: string;
760
+ 'where.id.neq'?: string;
761
+ 'where.id.gt'?: string;
762
+ 'where.id.gte'?: string;
763
+ 'where.id.lt'?: string;
764
+ 'where.id.lte'?: string;
765
+ 'where.id.like'?: string;
766
+ 'where.id.ilike'?: string;
767
+ 'where.id.in'?: string;
768
+ 'where.id.nin'?: string;
769
+ 'where.id.contains'?: string;
770
+ 'where.id.contained'?: string;
771
+ 'where.id.overlaps'?: string;
772
+ 'where.resources.eq'?: string;
773
+ 'where.resources.neq'?: string;
774
+ 'where.resources.gt'?: string;
775
+ 'where.resources.gte'?: string;
776
+ 'where.resources.lt'?: string;
777
+ 'where.resources.lte'?: string;
778
+ 'where.resources.like'?: string;
779
+ 'where.resources.ilike'?: string;
780
+ 'where.resources.in'?: string;
781
+ 'where.resources.nin'?: string;
782
+ 'where.resources.contains'?: string;
783
+ 'where.resources.contained'?: string;
784
+ 'where.resources.overlaps'?: string;
785
+ 'where.version.eq'?: number;
786
+ 'where.version.neq'?: number;
787
+ 'where.version.gt'?: number;
788
+ 'where.version.gte'?: number;
789
+ 'where.version.lt'?: number;
790
+ 'where.version.lte'?: number;
791
+ 'where.version.like'?: number;
792
+ 'where.version.ilike'?: number;
793
+ 'where.version.in'?: string;
794
+ 'where.version.nin'?: string;
795
+ 'where.version.contains'?: string;
796
+ 'where.version.contained'?: string;
797
+ 'where.version.overlaps'?: string;
798
+ 'where.or'?: Array<string>;
799
+ 'id'?: string;
800
+ 'applicationId': string;
801
+ 'version': number;
802
+ 'resources': object;
803
+ 'createdAt'?: string | null;
804
+ }
805
+
806
+ /**
807
+ * Default Response
808
+ */
809
+ export type UpdateApplicationsConfigsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }>
810
+ export type UpdateApplicationsConfigsResponses =
811
+ UpdateApplicationsConfigsResponseOK
812
+
813
+ export type GetApplicationsConfigByIdRequest = {
814
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
815
+ 'id': string;
816
+ }
817
+
818
+ /**
819
+ * A ApplicationsConfig
820
+ */
821
+ export type GetApplicationsConfigByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }
822
+ export type GetApplicationsConfigByIdResponses =
823
+ GetApplicationsConfigByIdResponseOK
824
+
825
+ export type UpdateApplicationsConfigRequest = {
826
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
827
+ 'id': string;
828
+ 'applicationId': string;
829
+ 'version': number;
830
+ 'resources': object;
831
+ 'createdAt'?: string | null;
832
+ }
833
+
834
+ /**
835
+ * A ApplicationsConfig
836
+ */
837
+ export type UpdateApplicationsConfigResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }
838
+ export type UpdateApplicationsConfigResponses =
839
+ UpdateApplicationsConfigResponseOK
840
+
841
+ export type DeleteApplicationsConfigsRequest = {
842
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'resources' | 'version'>;
843
+ 'id': string;
844
+ }
845
+
846
+ /**
847
+ * A ApplicationsConfig
848
+ */
849
+ export type DeleteApplicationsConfigsResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'version'?: number | null; 'resources'?: object | null; 'createdAt'?: string | null }
850
+ export type DeleteApplicationsConfigsResponses =
851
+ DeleteApplicationsConfigsResponseOK
852
+
853
+ export type GetGenerationsApplicationsConfigsForApplicationsConfigRequest = {
854
+ 'fields'?: Array<'configId' | 'generationId'>;
855
+ 'id': string;
856
+ }
857
+
858
+ /**
859
+ * Default Response
860
+ */
861
+ export type GetGenerationsApplicationsConfigsForApplicationsConfigResponseOK = Array<{ 'generationId'?: string | null; 'configId'?: string | null }>
862
+ export type GetGenerationsApplicationsConfigsForApplicationsConfigResponses =
863
+ GetGenerationsApplicationsConfigsForApplicationsConfigResponseOK
864
+
865
+ export type GetApplicationForApplicationsConfigRequest = {
866
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
867
+ 'id': string;
868
+ }
869
+
870
+ /**
871
+ * A Application
872
+ */
873
+ export type GetApplicationForApplicationsConfigResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
874
+ export type GetApplicationForApplicationsConfigResponses =
875
+ GetApplicationForApplicationsConfigResponseOK
876
+
877
+ export type GetApplicationStatesRequest = {
878
+ /**
879
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
880
+ */
881
+ 'limit'?: number;
882
+ 'offset'?: number;
883
+ 'totalCount'?: boolean;
884
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
885
+ 'where.applicationId.eq'?: string;
886
+ 'where.applicationId.neq'?: string;
887
+ 'where.applicationId.gt'?: string;
888
+ 'where.applicationId.gte'?: string;
889
+ 'where.applicationId.lt'?: string;
890
+ 'where.applicationId.lte'?: string;
891
+ 'where.applicationId.like'?: string;
892
+ 'where.applicationId.ilike'?: string;
893
+ 'where.applicationId.in'?: string;
894
+ 'where.applicationId.nin'?: string;
895
+ 'where.applicationId.contains'?: string;
896
+ 'where.applicationId.contained'?: string;
897
+ 'where.applicationId.overlaps'?: string;
898
+ 'where.createdAt.eq'?: string;
899
+ 'where.createdAt.neq'?: string;
900
+ 'where.createdAt.gt'?: string;
901
+ 'where.createdAt.gte'?: string;
902
+ 'where.createdAt.lt'?: string;
903
+ 'where.createdAt.lte'?: string;
904
+ 'where.createdAt.like'?: string;
905
+ 'where.createdAt.ilike'?: string;
906
+ 'where.createdAt.in'?: string;
907
+ 'where.createdAt.nin'?: string;
908
+ 'where.createdAt.contains'?: string;
909
+ 'where.createdAt.contained'?: string;
910
+ 'where.createdAt.overlaps'?: string;
911
+ 'where.id.eq'?: string;
912
+ 'where.id.neq'?: string;
913
+ 'where.id.gt'?: string;
914
+ 'where.id.gte'?: string;
915
+ 'where.id.lt'?: string;
916
+ 'where.id.lte'?: string;
917
+ 'where.id.like'?: string;
918
+ 'where.id.ilike'?: string;
919
+ 'where.id.in'?: string;
920
+ 'where.id.nin'?: string;
921
+ 'where.id.contains'?: string;
922
+ 'where.id.contained'?: string;
923
+ 'where.id.overlaps'?: string;
924
+ 'where.pltVersion.eq'?: string;
925
+ 'where.pltVersion.neq'?: string;
926
+ 'where.pltVersion.gt'?: string;
927
+ 'where.pltVersion.gte'?: string;
928
+ 'where.pltVersion.lt'?: string;
929
+ 'where.pltVersion.lte'?: string;
930
+ 'where.pltVersion.like'?: string;
931
+ 'where.pltVersion.ilike'?: string;
932
+ 'where.pltVersion.in'?: string;
933
+ 'where.pltVersion.nin'?: string;
934
+ 'where.pltVersion.contains'?: string;
935
+ 'where.pltVersion.contained'?: string;
936
+ 'where.pltVersion.overlaps'?: string;
937
+ 'where.state.eq'?: string;
938
+ 'where.state.neq'?: string;
939
+ 'where.state.gt'?: string;
940
+ 'where.state.gte'?: string;
941
+ 'where.state.lt'?: string;
942
+ 'where.state.lte'?: string;
943
+ 'where.state.like'?: string;
944
+ 'where.state.ilike'?: string;
945
+ 'where.state.in'?: string;
946
+ 'where.state.nin'?: string;
947
+ 'where.state.contains'?: string;
948
+ 'where.state.contained'?: string;
949
+ 'where.state.overlaps'?: string;
950
+ 'where.or'?: Array<string>;
951
+ 'orderby.applicationId'?: 'asc' | 'desc';
952
+ 'orderby.createdAt'?: 'asc' | 'desc';
953
+ 'orderby.id'?: 'asc' | 'desc';
954
+ 'orderby.pltVersion'?: 'asc' | 'desc';
955
+ 'orderby.state'?: 'asc' | 'desc';
956
+ }
957
+
958
+ /**
959
+ * Default Response
960
+ */
961
+ export type GetApplicationStatesResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }>
962
+ export type GetApplicationStatesResponses =
963
+ GetApplicationStatesResponseOK
964
+
965
+ export type CreateApplicationStateRequest = {
966
+ 'id'?: string;
967
+ 'applicationId': string;
968
+ 'pltVersion': string;
969
+ 'state': object;
970
+ 'createdAt'?: string | null;
971
+ }
972
+
973
+ /**
974
+ * A ApplicationState
975
+ */
976
+ export type CreateApplicationStateResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }
977
+ export type CreateApplicationStateResponses =
978
+ CreateApplicationStateResponseOK
979
+
980
+ export type UpdateApplicationStatesRequest = {
981
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
982
+ 'where.applicationId.eq'?: string;
983
+ 'where.applicationId.neq'?: string;
984
+ 'where.applicationId.gt'?: string;
985
+ 'where.applicationId.gte'?: string;
986
+ 'where.applicationId.lt'?: string;
987
+ 'where.applicationId.lte'?: string;
988
+ 'where.applicationId.like'?: string;
989
+ 'where.applicationId.ilike'?: string;
990
+ 'where.applicationId.in'?: string;
991
+ 'where.applicationId.nin'?: string;
992
+ 'where.applicationId.contains'?: string;
993
+ 'where.applicationId.contained'?: string;
994
+ 'where.applicationId.overlaps'?: string;
995
+ 'where.createdAt.eq'?: string;
996
+ 'where.createdAt.neq'?: string;
997
+ 'where.createdAt.gt'?: string;
998
+ 'where.createdAt.gte'?: string;
999
+ 'where.createdAt.lt'?: string;
1000
+ 'where.createdAt.lte'?: string;
1001
+ 'where.createdAt.like'?: string;
1002
+ 'where.createdAt.ilike'?: string;
1003
+ 'where.createdAt.in'?: string;
1004
+ 'where.createdAt.nin'?: string;
1005
+ 'where.createdAt.contains'?: string;
1006
+ 'where.createdAt.contained'?: string;
1007
+ 'where.createdAt.overlaps'?: string;
1008
+ 'where.id.eq'?: string;
1009
+ 'where.id.neq'?: string;
1010
+ 'where.id.gt'?: string;
1011
+ 'where.id.gte'?: string;
1012
+ 'where.id.lt'?: string;
1013
+ 'where.id.lte'?: string;
1014
+ 'where.id.like'?: string;
1015
+ 'where.id.ilike'?: string;
1016
+ 'where.id.in'?: string;
1017
+ 'where.id.nin'?: string;
1018
+ 'where.id.contains'?: string;
1019
+ 'where.id.contained'?: string;
1020
+ 'where.id.overlaps'?: string;
1021
+ 'where.pltVersion.eq'?: string;
1022
+ 'where.pltVersion.neq'?: string;
1023
+ 'where.pltVersion.gt'?: string;
1024
+ 'where.pltVersion.gte'?: string;
1025
+ 'where.pltVersion.lt'?: string;
1026
+ 'where.pltVersion.lte'?: string;
1027
+ 'where.pltVersion.like'?: string;
1028
+ 'where.pltVersion.ilike'?: string;
1029
+ 'where.pltVersion.in'?: string;
1030
+ 'where.pltVersion.nin'?: string;
1031
+ 'where.pltVersion.contains'?: string;
1032
+ 'where.pltVersion.contained'?: string;
1033
+ 'where.pltVersion.overlaps'?: string;
1034
+ 'where.state.eq'?: string;
1035
+ 'where.state.neq'?: string;
1036
+ 'where.state.gt'?: string;
1037
+ 'where.state.gte'?: string;
1038
+ 'where.state.lt'?: string;
1039
+ 'where.state.lte'?: string;
1040
+ 'where.state.like'?: string;
1041
+ 'where.state.ilike'?: string;
1042
+ 'where.state.in'?: string;
1043
+ 'where.state.nin'?: string;
1044
+ 'where.state.contains'?: string;
1045
+ 'where.state.contained'?: string;
1046
+ 'where.state.overlaps'?: string;
1047
+ 'where.or'?: Array<string>;
1048
+ 'id'?: string;
1049
+ 'applicationId': string;
1050
+ 'pltVersion': string;
1051
+ 'state': object;
1052
+ 'createdAt'?: string | null;
1053
+ }
1054
+
1055
+ /**
1056
+ * Default Response
1057
+ */
1058
+ export type UpdateApplicationStatesResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }>
1059
+ export type UpdateApplicationStatesResponses =
1060
+ UpdateApplicationStatesResponseOK
1061
+
1062
+ export type GetApplicationStateByIdRequest = {
1063
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
1064
+ 'id': string;
1065
+ }
1066
+
1067
+ /**
1068
+ * A ApplicationState
1069
+ */
1070
+ export type GetApplicationStateByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }
1071
+ export type GetApplicationStateByIdResponses =
1072
+ GetApplicationStateByIdResponseOK
1073
+
1074
+ export type UpdateApplicationStateRequest = {
1075
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
1076
+ 'id': string;
1077
+ 'applicationId': string;
1078
+ 'pltVersion': string;
1079
+ 'state': object;
1080
+ 'createdAt'?: string | null;
1081
+ }
1082
+
1083
+ /**
1084
+ * A ApplicationState
1085
+ */
1086
+ export type UpdateApplicationStateResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }
1087
+ export type UpdateApplicationStateResponses =
1088
+ UpdateApplicationStateResponseOK
1089
+
1090
+ export type DeleteApplicationStatesRequest = {
1091
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
1092
+ 'id': string;
1093
+ }
1094
+
1095
+ /**
1096
+ * A ApplicationState
1097
+ */
1098
+ export type DeleteApplicationStatesResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }
1099
+ export type DeleteApplicationStatesResponses =
1100
+ DeleteApplicationStatesResponseOK
1101
+
1102
+ export type GetDeploymentsForApplicationStateRequest = {
1103
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1104
+ 'id': string;
1105
+ }
1106
+
1107
+ /**
1108
+ * Default Response
1109
+ */
1110
+ export type GetDeploymentsForApplicationStateResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }>
1111
+ export type GetDeploymentsForApplicationStateResponses =
1112
+ GetDeploymentsForApplicationStateResponseOK
1113
+
1114
+ export type GetApplicationForApplicationStateRequest = {
1115
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
1116
+ 'id': string;
1117
+ }
1118
+
1119
+ /**
1120
+ * A Application
1121
+ */
1122
+ export type GetApplicationForApplicationStateResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
1123
+ export type GetApplicationForApplicationStateResponses =
1124
+ GetApplicationForApplicationStateResponseOK
1125
+
1126
+ export type GetDeploymentsRequest = {
1127
+ /**
1128
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
1129
+ */
1130
+ 'limit'?: number;
1131
+ 'offset'?: number;
1132
+ 'totalCount'?: boolean;
1133
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1134
+ 'where.applicationId.eq'?: string;
1135
+ 'where.applicationId.neq'?: string;
1136
+ 'where.applicationId.gt'?: string;
1137
+ 'where.applicationId.gte'?: string;
1138
+ 'where.applicationId.lt'?: string;
1139
+ 'where.applicationId.lte'?: string;
1140
+ 'where.applicationId.like'?: string;
1141
+ 'where.applicationId.ilike'?: string;
1142
+ 'where.applicationId.in'?: string;
1143
+ 'where.applicationId.nin'?: string;
1144
+ 'where.applicationId.contains'?: string;
1145
+ 'where.applicationId.contained'?: string;
1146
+ 'where.applicationId.overlaps'?: string;
1147
+ 'where.applicationStateId.eq'?: string;
1148
+ 'where.applicationStateId.neq'?: string;
1149
+ 'where.applicationStateId.gt'?: string;
1150
+ 'where.applicationStateId.gte'?: string;
1151
+ 'where.applicationStateId.lt'?: string;
1152
+ 'where.applicationStateId.lte'?: string;
1153
+ 'where.applicationStateId.like'?: string;
1154
+ 'where.applicationStateId.ilike'?: string;
1155
+ 'where.applicationStateId.in'?: string;
1156
+ 'where.applicationStateId.nin'?: string;
1157
+ 'where.applicationStateId.contains'?: string;
1158
+ 'where.applicationStateId.contained'?: string;
1159
+ 'where.applicationStateId.overlaps'?: string;
1160
+ 'where.createdAt.eq'?: string;
1161
+ 'where.createdAt.neq'?: string;
1162
+ 'where.createdAt.gt'?: string;
1163
+ 'where.createdAt.gte'?: string;
1164
+ 'where.createdAt.lt'?: string;
1165
+ 'where.createdAt.lte'?: string;
1166
+ 'where.createdAt.like'?: string;
1167
+ 'where.createdAt.ilike'?: string;
1168
+ 'where.createdAt.in'?: string;
1169
+ 'where.createdAt.nin'?: string;
1170
+ 'where.createdAt.contains'?: string;
1171
+ 'where.createdAt.contained'?: string;
1172
+ 'where.createdAt.overlaps'?: string;
1173
+ 'where.id.eq'?: string;
1174
+ 'where.id.neq'?: string;
1175
+ 'where.id.gt'?: string;
1176
+ 'where.id.gte'?: string;
1177
+ 'where.id.lt'?: string;
1178
+ 'where.id.lte'?: string;
1179
+ 'where.id.like'?: string;
1180
+ 'where.id.ilike'?: string;
1181
+ 'where.id.in'?: string;
1182
+ 'where.id.nin'?: string;
1183
+ 'where.id.contains'?: string;
1184
+ 'where.id.contained'?: string;
1185
+ 'where.id.overlaps'?: string;
1186
+ 'where.imageId.eq'?: string;
1187
+ 'where.imageId.neq'?: string;
1188
+ 'where.imageId.gt'?: string;
1189
+ 'where.imageId.gte'?: string;
1190
+ 'where.imageId.lt'?: string;
1191
+ 'where.imageId.lte'?: string;
1192
+ 'where.imageId.like'?: string;
1193
+ 'where.imageId.ilike'?: string;
1194
+ 'where.imageId.in'?: string;
1195
+ 'where.imageId.nin'?: string;
1196
+ 'where.imageId.contains'?: string;
1197
+ 'where.imageId.contained'?: string;
1198
+ 'where.imageId.overlaps'?: string;
1199
+ 'where.status.eq'?: 'failed' | 'started' | 'starting';
1200
+ 'where.status.neq'?: 'failed' | 'started' | 'starting';
1201
+ 'where.status.gt'?: 'failed' | 'started' | 'starting';
1202
+ 'where.status.gte'?: 'failed' | 'started' | 'starting';
1203
+ 'where.status.lt'?: 'failed' | 'started' | 'starting';
1204
+ 'where.status.lte'?: 'failed' | 'started' | 'starting';
1205
+ 'where.status.like'?: 'failed' | 'started' | 'starting';
1206
+ 'where.status.ilike'?: 'failed' | 'started' | 'starting';
1207
+ 'where.status.in'?: string;
1208
+ 'where.status.nin'?: string;
1209
+ 'where.status.contains'?: string;
1210
+ 'where.status.contained'?: string;
1211
+ 'where.status.overlaps'?: string;
1212
+ 'where.or'?: Array<string>;
1213
+ 'orderby.applicationId'?: 'asc' | 'desc';
1214
+ 'orderby.applicationStateId'?: 'asc' | 'desc';
1215
+ 'orderby.createdAt'?: 'asc' | 'desc';
1216
+ 'orderby.id'?: 'asc' | 'desc';
1217
+ 'orderby.imageId'?: 'asc' | 'desc';
1218
+ 'orderby.status'?: 'asc' | 'desc';
1219
+ }
1220
+
1221
+ /**
1222
+ * Default Response
1223
+ */
1224
+ export type GetDeploymentsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }>
1225
+ export type GetDeploymentsResponses =
1226
+ GetDeploymentsResponseOK
1227
+
1228
+ export type CreateDeploymentRequest = {
1229
+ 'id'?: string;
1230
+ 'applicationId': string;
1231
+ 'applicationStateId'?: string | null;
1232
+ 'status': 'failed' | 'started' | 'starting';
1233
+ 'imageId': string;
1234
+ 'createdAt'?: string | null;
1235
+ }
1236
+
1237
+ /**
1238
+ * A Deployment
1239
+ */
1240
+ export type CreateDeploymentResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }
1241
+ export type CreateDeploymentResponses =
1242
+ CreateDeploymentResponseOK
1243
+
1244
+ export type UpdateDeploymentsRequest = {
1245
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1246
+ 'where.applicationId.eq'?: string;
1247
+ 'where.applicationId.neq'?: string;
1248
+ 'where.applicationId.gt'?: string;
1249
+ 'where.applicationId.gte'?: string;
1250
+ 'where.applicationId.lt'?: string;
1251
+ 'where.applicationId.lte'?: string;
1252
+ 'where.applicationId.like'?: string;
1253
+ 'where.applicationId.ilike'?: string;
1254
+ 'where.applicationId.in'?: string;
1255
+ 'where.applicationId.nin'?: string;
1256
+ 'where.applicationId.contains'?: string;
1257
+ 'where.applicationId.contained'?: string;
1258
+ 'where.applicationId.overlaps'?: string;
1259
+ 'where.applicationStateId.eq'?: string;
1260
+ 'where.applicationStateId.neq'?: string;
1261
+ 'where.applicationStateId.gt'?: string;
1262
+ 'where.applicationStateId.gte'?: string;
1263
+ 'where.applicationStateId.lt'?: string;
1264
+ 'where.applicationStateId.lte'?: string;
1265
+ 'where.applicationStateId.like'?: string;
1266
+ 'where.applicationStateId.ilike'?: string;
1267
+ 'where.applicationStateId.in'?: string;
1268
+ 'where.applicationStateId.nin'?: string;
1269
+ 'where.applicationStateId.contains'?: string;
1270
+ 'where.applicationStateId.contained'?: string;
1271
+ 'where.applicationStateId.overlaps'?: string;
1272
+ 'where.createdAt.eq'?: string;
1273
+ 'where.createdAt.neq'?: string;
1274
+ 'where.createdAt.gt'?: string;
1275
+ 'where.createdAt.gte'?: string;
1276
+ 'where.createdAt.lt'?: string;
1277
+ 'where.createdAt.lte'?: string;
1278
+ 'where.createdAt.like'?: string;
1279
+ 'where.createdAt.ilike'?: string;
1280
+ 'where.createdAt.in'?: string;
1281
+ 'where.createdAt.nin'?: string;
1282
+ 'where.createdAt.contains'?: string;
1283
+ 'where.createdAt.contained'?: string;
1284
+ 'where.createdAt.overlaps'?: string;
1285
+ 'where.id.eq'?: string;
1286
+ 'where.id.neq'?: string;
1287
+ 'where.id.gt'?: string;
1288
+ 'where.id.gte'?: string;
1289
+ 'where.id.lt'?: string;
1290
+ 'where.id.lte'?: string;
1291
+ 'where.id.like'?: string;
1292
+ 'where.id.ilike'?: string;
1293
+ 'where.id.in'?: string;
1294
+ 'where.id.nin'?: string;
1295
+ 'where.id.contains'?: string;
1296
+ 'where.id.contained'?: string;
1297
+ 'where.id.overlaps'?: string;
1298
+ 'where.imageId.eq'?: string;
1299
+ 'where.imageId.neq'?: string;
1300
+ 'where.imageId.gt'?: string;
1301
+ 'where.imageId.gte'?: string;
1302
+ 'where.imageId.lt'?: string;
1303
+ 'where.imageId.lte'?: string;
1304
+ 'where.imageId.like'?: string;
1305
+ 'where.imageId.ilike'?: string;
1306
+ 'where.imageId.in'?: string;
1307
+ 'where.imageId.nin'?: string;
1308
+ 'where.imageId.contains'?: string;
1309
+ 'where.imageId.contained'?: string;
1310
+ 'where.imageId.overlaps'?: string;
1311
+ 'where.status.eq'?: 'failed' | 'started' | 'starting';
1312
+ 'where.status.neq'?: 'failed' | 'started' | 'starting';
1313
+ 'where.status.gt'?: 'failed' | 'started' | 'starting';
1314
+ 'where.status.gte'?: 'failed' | 'started' | 'starting';
1315
+ 'where.status.lt'?: 'failed' | 'started' | 'starting';
1316
+ 'where.status.lte'?: 'failed' | 'started' | 'starting';
1317
+ 'where.status.like'?: 'failed' | 'started' | 'starting';
1318
+ 'where.status.ilike'?: 'failed' | 'started' | 'starting';
1319
+ 'where.status.in'?: string;
1320
+ 'where.status.nin'?: string;
1321
+ 'where.status.contains'?: string;
1322
+ 'where.status.contained'?: string;
1323
+ 'where.status.overlaps'?: string;
1324
+ 'where.or'?: Array<string>;
1325
+ 'id'?: string;
1326
+ 'applicationId': string;
1327
+ 'applicationStateId'?: string | null;
1328
+ 'status': 'failed' | 'started' | 'starting';
1329
+ 'imageId': string;
1330
+ 'createdAt'?: string | null;
1331
+ }
1332
+
1333
+ /**
1334
+ * Default Response
1335
+ */
1336
+ export type UpdateDeploymentsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }>
1337
+ export type UpdateDeploymentsResponses =
1338
+ UpdateDeploymentsResponseOK
1339
+
1340
+ export type GetDeploymentByIdRequest = {
1341
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1342
+ 'id': string;
1343
+ }
1344
+
1345
+ /**
1346
+ * A Deployment
1347
+ */
1348
+ export type GetDeploymentByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }
1349
+ export type GetDeploymentByIdResponses =
1350
+ GetDeploymentByIdResponseOK
1351
+
1352
+ export type UpdateDeploymentRequest = {
1353
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1354
+ 'id': string;
1355
+ 'applicationId': string;
1356
+ 'applicationStateId'?: string | null;
1357
+ 'status': 'failed' | 'started' | 'starting';
1358
+ 'imageId': string;
1359
+ 'createdAt'?: string | null;
1360
+ }
1361
+
1362
+ /**
1363
+ * A Deployment
1364
+ */
1365
+ export type UpdateDeploymentResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }
1366
+ export type UpdateDeploymentResponses =
1367
+ UpdateDeploymentResponseOK
1368
+
1369
+ export type DeleteDeploymentsRequest = {
1370
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1371
+ 'id': string;
1372
+ }
1373
+
1374
+ /**
1375
+ * A Deployment
1376
+ */
1377
+ export type DeleteDeploymentsResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }
1378
+ export type DeleteDeploymentsResponses =
1379
+ DeleteDeploymentsResponseOK
1380
+
1381
+ export type GetDetectedPodsForDeploymentRequest = {
1382
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1383
+ 'id': string;
1384
+ }
1385
+
1386
+ /**
1387
+ * Default Response
1388
+ */
1389
+ export type GetDetectedPodsForDeploymentResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }>
1390
+ export type GetDetectedPodsForDeploymentResponses =
1391
+ GetDetectedPodsForDeploymentResponseOK
1392
+
1393
+ export type GetGenerationsDeploymentsForDeploymentRequest = {
1394
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1395
+ 'id': string;
1396
+ }
1397
+
1398
+ /**
1399
+ * Default Response
1400
+ */
1401
+ export type GetGenerationsDeploymentsForDeploymentResponseOK = Array<{ 'generationId'?: string | null; 'deploymentId'?: string | null }>
1402
+ export type GetGenerationsDeploymentsForDeploymentResponses =
1403
+ GetGenerationsDeploymentsForDeploymentResponseOK
1404
+
1405
+ export type GetApplicationForDeploymentRequest = {
1406
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
1407
+ 'id': string;
1408
+ }
1409
+
1410
+ /**
1411
+ * A Application
1412
+ */
1413
+ export type GetApplicationForDeploymentResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
1414
+ export type GetApplicationForDeploymentResponses =
1415
+ GetApplicationForDeploymentResponseOK
1416
+
1417
+ export type GetApplicationStateForDeploymentRequest = {
1418
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'pltVersion' | 'state'>;
1419
+ 'id': string;
1420
+ }
1421
+
1422
+ /**
1423
+ * A ApplicationState
1424
+ */
1425
+ export type GetApplicationStateForDeploymentResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'pltVersion'?: string | null; 'state'?: object | null; 'createdAt'?: string | null }
1426
+ export type GetApplicationStateForDeploymentResponses =
1427
+ GetApplicationStateForDeploymentResponseOK
1428
+
1429
+ export type GetDetectedPodsRequest = {
1430
+ /**
1431
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
1432
+ */
1433
+ 'limit'?: number;
1434
+ 'offset'?: number;
1435
+ 'totalCount'?: boolean;
1436
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1437
+ 'where.applicationId.eq'?: string;
1438
+ 'where.applicationId.neq'?: string;
1439
+ 'where.applicationId.gt'?: string;
1440
+ 'where.applicationId.gte'?: string;
1441
+ 'where.applicationId.lt'?: string;
1442
+ 'where.applicationId.lte'?: string;
1443
+ 'where.applicationId.like'?: string;
1444
+ 'where.applicationId.ilike'?: string;
1445
+ 'where.applicationId.in'?: string;
1446
+ 'where.applicationId.nin'?: string;
1447
+ 'where.applicationId.contains'?: string;
1448
+ 'where.applicationId.contained'?: string;
1449
+ 'where.applicationId.overlaps'?: string;
1450
+ 'where.createdAt.eq'?: string;
1451
+ 'where.createdAt.neq'?: string;
1452
+ 'where.createdAt.gt'?: string;
1453
+ 'where.createdAt.gte'?: string;
1454
+ 'where.createdAt.lt'?: string;
1455
+ 'where.createdAt.lte'?: string;
1456
+ 'where.createdAt.like'?: string;
1457
+ 'where.createdAt.ilike'?: string;
1458
+ 'where.createdAt.in'?: string;
1459
+ 'where.createdAt.nin'?: string;
1460
+ 'where.createdAt.contains'?: string;
1461
+ 'where.createdAt.contained'?: string;
1462
+ 'where.createdAt.overlaps'?: string;
1463
+ 'where.deploymentId.eq'?: string;
1464
+ 'where.deploymentId.neq'?: string;
1465
+ 'where.deploymentId.gt'?: string;
1466
+ 'where.deploymentId.gte'?: string;
1467
+ 'where.deploymentId.lt'?: string;
1468
+ 'where.deploymentId.lte'?: string;
1469
+ 'where.deploymentId.like'?: string;
1470
+ 'where.deploymentId.ilike'?: string;
1471
+ 'where.deploymentId.in'?: string;
1472
+ 'where.deploymentId.nin'?: string;
1473
+ 'where.deploymentId.contains'?: string;
1474
+ 'where.deploymentId.contained'?: string;
1475
+ 'where.deploymentId.overlaps'?: string;
1476
+ 'where.id.eq'?: string;
1477
+ 'where.id.neq'?: string;
1478
+ 'where.id.gt'?: string;
1479
+ 'where.id.gte'?: string;
1480
+ 'where.id.lt'?: string;
1481
+ 'where.id.lte'?: string;
1482
+ 'where.id.like'?: string;
1483
+ 'where.id.ilike'?: string;
1484
+ 'where.id.in'?: string;
1485
+ 'where.id.nin'?: string;
1486
+ 'where.id.contains'?: string;
1487
+ 'where.id.contained'?: string;
1488
+ 'where.id.overlaps'?: string;
1489
+ 'where.podId.eq'?: string;
1490
+ 'where.podId.neq'?: string;
1491
+ 'where.podId.gt'?: string;
1492
+ 'where.podId.gte'?: string;
1493
+ 'where.podId.lt'?: string;
1494
+ 'where.podId.lte'?: string;
1495
+ 'where.podId.like'?: string;
1496
+ 'where.podId.ilike'?: string;
1497
+ 'where.podId.in'?: string;
1498
+ 'where.podId.nin'?: string;
1499
+ 'where.podId.contains'?: string;
1500
+ 'where.podId.contained'?: string;
1501
+ 'where.podId.overlaps'?: string;
1502
+ 'where.status.eq'?: 'failed' | 'started' | 'starting';
1503
+ 'where.status.neq'?: 'failed' | 'started' | 'starting';
1504
+ 'where.status.gt'?: 'failed' | 'started' | 'starting';
1505
+ 'where.status.gte'?: 'failed' | 'started' | 'starting';
1506
+ 'where.status.lt'?: 'failed' | 'started' | 'starting';
1507
+ 'where.status.lte'?: 'failed' | 'started' | 'starting';
1508
+ 'where.status.like'?: 'failed' | 'started' | 'starting';
1509
+ 'where.status.ilike'?: 'failed' | 'started' | 'starting';
1510
+ 'where.status.in'?: string;
1511
+ 'where.status.nin'?: string;
1512
+ 'where.status.contains'?: string;
1513
+ 'where.status.contained'?: string;
1514
+ 'where.status.overlaps'?: string;
1515
+ 'where.or'?: Array<string>;
1516
+ 'orderby.applicationId'?: 'asc' | 'desc';
1517
+ 'orderby.createdAt'?: 'asc' | 'desc';
1518
+ 'orderby.deploymentId'?: 'asc' | 'desc';
1519
+ 'orderby.id'?: 'asc' | 'desc';
1520
+ 'orderby.podId'?: 'asc' | 'desc';
1521
+ 'orderby.status'?: 'asc' | 'desc';
1522
+ }
1523
+
1524
+ /**
1525
+ * Default Response
1526
+ */
1527
+ export type GetDetectedPodsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }>
1528
+ export type GetDetectedPodsResponses =
1529
+ GetDetectedPodsResponseOK
1530
+
1531
+ export type CreateDetectedPodRequest = {
1532
+ 'id'?: string;
1533
+ 'applicationId': string;
1534
+ 'deploymentId'?: string | null;
1535
+ 'podId': string;
1536
+ 'status': 'failed' | 'started' | 'starting';
1537
+ 'createdAt'?: string | null;
1538
+ }
1539
+
1540
+ /**
1541
+ * A DetectedPod
1542
+ */
1543
+ export type CreateDetectedPodResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }
1544
+ export type CreateDetectedPodResponses =
1545
+ CreateDetectedPodResponseOK
1546
+
1547
+ export type UpdateDetectedPodsRequest = {
1548
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1549
+ 'where.applicationId.eq'?: string;
1550
+ 'where.applicationId.neq'?: string;
1551
+ 'where.applicationId.gt'?: string;
1552
+ 'where.applicationId.gte'?: string;
1553
+ 'where.applicationId.lt'?: string;
1554
+ 'where.applicationId.lte'?: string;
1555
+ 'where.applicationId.like'?: string;
1556
+ 'where.applicationId.ilike'?: string;
1557
+ 'where.applicationId.in'?: string;
1558
+ 'where.applicationId.nin'?: string;
1559
+ 'where.applicationId.contains'?: string;
1560
+ 'where.applicationId.contained'?: string;
1561
+ 'where.applicationId.overlaps'?: string;
1562
+ 'where.createdAt.eq'?: string;
1563
+ 'where.createdAt.neq'?: string;
1564
+ 'where.createdAt.gt'?: string;
1565
+ 'where.createdAt.gte'?: string;
1566
+ 'where.createdAt.lt'?: string;
1567
+ 'where.createdAt.lte'?: string;
1568
+ 'where.createdAt.like'?: string;
1569
+ 'where.createdAt.ilike'?: string;
1570
+ 'where.createdAt.in'?: string;
1571
+ 'where.createdAt.nin'?: string;
1572
+ 'where.createdAt.contains'?: string;
1573
+ 'where.createdAt.contained'?: string;
1574
+ 'where.createdAt.overlaps'?: string;
1575
+ 'where.deploymentId.eq'?: string;
1576
+ 'where.deploymentId.neq'?: string;
1577
+ 'where.deploymentId.gt'?: string;
1578
+ 'where.deploymentId.gte'?: string;
1579
+ 'where.deploymentId.lt'?: string;
1580
+ 'where.deploymentId.lte'?: string;
1581
+ 'where.deploymentId.like'?: string;
1582
+ 'where.deploymentId.ilike'?: string;
1583
+ 'where.deploymentId.in'?: string;
1584
+ 'where.deploymentId.nin'?: string;
1585
+ 'where.deploymentId.contains'?: string;
1586
+ 'where.deploymentId.contained'?: string;
1587
+ 'where.deploymentId.overlaps'?: string;
1588
+ 'where.id.eq'?: string;
1589
+ 'where.id.neq'?: string;
1590
+ 'where.id.gt'?: string;
1591
+ 'where.id.gte'?: string;
1592
+ 'where.id.lt'?: string;
1593
+ 'where.id.lte'?: string;
1594
+ 'where.id.like'?: string;
1595
+ 'where.id.ilike'?: string;
1596
+ 'where.id.in'?: string;
1597
+ 'where.id.nin'?: string;
1598
+ 'where.id.contains'?: string;
1599
+ 'where.id.contained'?: string;
1600
+ 'where.id.overlaps'?: string;
1601
+ 'where.podId.eq'?: string;
1602
+ 'where.podId.neq'?: string;
1603
+ 'where.podId.gt'?: string;
1604
+ 'where.podId.gte'?: string;
1605
+ 'where.podId.lt'?: string;
1606
+ 'where.podId.lte'?: string;
1607
+ 'where.podId.like'?: string;
1608
+ 'where.podId.ilike'?: string;
1609
+ 'where.podId.in'?: string;
1610
+ 'where.podId.nin'?: string;
1611
+ 'where.podId.contains'?: string;
1612
+ 'where.podId.contained'?: string;
1613
+ 'where.podId.overlaps'?: string;
1614
+ 'where.status.eq'?: 'failed' | 'started' | 'starting';
1615
+ 'where.status.neq'?: 'failed' | 'started' | 'starting';
1616
+ 'where.status.gt'?: 'failed' | 'started' | 'starting';
1617
+ 'where.status.gte'?: 'failed' | 'started' | 'starting';
1618
+ 'where.status.lt'?: 'failed' | 'started' | 'starting';
1619
+ 'where.status.lte'?: 'failed' | 'started' | 'starting';
1620
+ 'where.status.like'?: 'failed' | 'started' | 'starting';
1621
+ 'where.status.ilike'?: 'failed' | 'started' | 'starting';
1622
+ 'where.status.in'?: string;
1623
+ 'where.status.nin'?: string;
1624
+ 'where.status.contains'?: string;
1625
+ 'where.status.contained'?: string;
1626
+ 'where.status.overlaps'?: string;
1627
+ 'where.or'?: Array<string>;
1628
+ 'id'?: string;
1629
+ 'applicationId': string;
1630
+ 'deploymentId'?: string | null;
1631
+ 'podId': string;
1632
+ 'status': 'failed' | 'started' | 'starting';
1633
+ 'createdAt'?: string | null;
1634
+ }
1635
+
1636
+ /**
1637
+ * Default Response
1638
+ */
1639
+ export type UpdateDetectedPodsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }>
1640
+ export type UpdateDetectedPodsResponses =
1641
+ UpdateDetectedPodsResponseOK
1642
+
1643
+ export type GetDetectedPodByIdRequest = {
1644
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1645
+ 'id': string;
1646
+ }
1647
+
1648
+ /**
1649
+ * A DetectedPod
1650
+ */
1651
+ export type GetDetectedPodByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }
1652
+ export type GetDetectedPodByIdResponses =
1653
+ GetDetectedPodByIdResponseOK
1654
+
1655
+ export type UpdateDetectedPodRequest = {
1656
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1657
+ 'id': string;
1658
+ 'applicationId': string;
1659
+ 'deploymentId'?: string | null;
1660
+ 'podId': string;
1661
+ 'status': 'failed' | 'started' | 'starting';
1662
+ 'createdAt'?: string | null;
1663
+ }
1664
+
1665
+ /**
1666
+ * A DetectedPod
1667
+ */
1668
+ export type UpdateDetectedPodResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }
1669
+ export type UpdateDetectedPodResponses =
1670
+ UpdateDetectedPodResponseOK
1671
+
1672
+ export type DeleteDetectedPodsRequest = {
1673
+ 'fields'?: Array<'applicationId' | 'createdAt' | 'deploymentId' | 'id' | 'podId' | 'status'>;
1674
+ 'id': string;
1675
+ }
1676
+
1677
+ /**
1678
+ * A DetectedPod
1679
+ */
1680
+ export type DeleteDetectedPodsResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'deploymentId'?: string | null; 'podId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'createdAt'?: string | null }
1681
+ export type DeleteDetectedPodsResponses =
1682
+ DeleteDetectedPodsResponseOK
1683
+
1684
+ export type GetApplicationForDetectedPodRequest = {
1685
+ 'fields'?: Array<'createdAt' | 'id' | 'name'>;
1686
+ 'id': string;
1687
+ }
1688
+
1689
+ /**
1690
+ * A Application
1691
+ */
1692
+ export type GetApplicationForDetectedPodResponseOK = { 'id'?: string | null; 'name'?: string | null; 'createdAt'?: string | null }
1693
+ export type GetApplicationForDetectedPodResponses =
1694
+ GetApplicationForDetectedPodResponseOK
1695
+
1696
+ export type GetDeploymentForDetectedPodRequest = {
1697
+ 'fields'?: Array<'applicationId' | 'applicationStateId' | 'createdAt' | 'id' | 'imageId' | 'status'>;
1698
+ 'id': string;
1699
+ }
1700
+
1701
+ /**
1702
+ * A Deployment
1703
+ */
1704
+ export type GetDeploymentForDetectedPodResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'applicationStateId'?: string | null; 'status'?: 'failed' | 'started' | 'starting' | null; 'imageId'?: string | null; 'createdAt'?: string | null }
1705
+ export type GetDeploymentForDetectedPodResponses =
1706
+ GetDeploymentForDetectedPodResponseOK
1707
+
1708
+ export type GetGenerationsDeploymentsRequest = {
1709
+ /**
1710
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
1711
+ */
1712
+ 'limit'?: number;
1713
+ 'offset'?: number;
1714
+ 'totalCount'?: boolean;
1715
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1716
+ 'where.deploymentId.eq'?: string;
1717
+ 'where.deploymentId.neq'?: string;
1718
+ 'where.deploymentId.gt'?: string;
1719
+ 'where.deploymentId.gte'?: string;
1720
+ 'where.deploymentId.lt'?: string;
1721
+ 'where.deploymentId.lte'?: string;
1722
+ 'where.deploymentId.like'?: string;
1723
+ 'where.deploymentId.ilike'?: string;
1724
+ 'where.deploymentId.in'?: string;
1725
+ 'where.deploymentId.nin'?: string;
1726
+ 'where.deploymentId.contains'?: string;
1727
+ 'where.deploymentId.contained'?: string;
1728
+ 'where.deploymentId.overlaps'?: string;
1729
+ 'where.generationId.eq'?: string;
1730
+ 'where.generationId.neq'?: string;
1731
+ 'where.generationId.gt'?: string;
1732
+ 'where.generationId.gte'?: string;
1733
+ 'where.generationId.lt'?: string;
1734
+ 'where.generationId.lte'?: string;
1735
+ 'where.generationId.like'?: string;
1736
+ 'where.generationId.ilike'?: string;
1737
+ 'where.generationId.in'?: string;
1738
+ 'where.generationId.nin'?: string;
1739
+ 'where.generationId.contains'?: string;
1740
+ 'where.generationId.contained'?: string;
1741
+ 'where.generationId.overlaps'?: string;
1742
+ 'where.or'?: Array<string>;
1743
+ 'orderby.deploymentId'?: 'asc' | 'desc';
1744
+ 'orderby.generationId'?: 'asc' | 'desc';
1745
+ }
1746
+
1747
+ /**
1748
+ * Default Response
1749
+ */
1750
+ export type GetGenerationsDeploymentsResponseOK = Array<{ 'generationId'?: string | null; 'deploymentId'?: string | null }>
1751
+ export type GetGenerationsDeploymentsResponses =
1752
+ GetGenerationsDeploymentsResponseOK
1753
+
1754
+ export type CreateGenerationsDeploymentRequest = {
1755
+ 'generationId': string;
1756
+ 'deploymentId': string;
1757
+ }
1758
+
1759
+ /**
1760
+ * A GenerationsDeployment
1761
+ */
1762
+ export type CreateGenerationsDeploymentResponseOK = { 'generationId'?: string | null; 'deploymentId'?: string | null }
1763
+ export type CreateGenerationsDeploymentResponses =
1764
+ CreateGenerationsDeploymentResponseOK
1765
+
1766
+ export type UpdateGenerationsDeploymentsRequest = {
1767
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1768
+ 'where.deploymentId.eq'?: string;
1769
+ 'where.deploymentId.neq'?: string;
1770
+ 'where.deploymentId.gt'?: string;
1771
+ 'where.deploymentId.gte'?: string;
1772
+ 'where.deploymentId.lt'?: string;
1773
+ 'where.deploymentId.lte'?: string;
1774
+ 'where.deploymentId.like'?: string;
1775
+ 'where.deploymentId.ilike'?: string;
1776
+ 'where.deploymentId.in'?: string;
1777
+ 'where.deploymentId.nin'?: string;
1778
+ 'where.deploymentId.contains'?: string;
1779
+ 'where.deploymentId.contained'?: string;
1780
+ 'where.deploymentId.overlaps'?: string;
1781
+ 'where.generationId.eq'?: string;
1782
+ 'where.generationId.neq'?: string;
1783
+ 'where.generationId.gt'?: string;
1784
+ 'where.generationId.gte'?: string;
1785
+ 'where.generationId.lt'?: string;
1786
+ 'where.generationId.lte'?: string;
1787
+ 'where.generationId.like'?: string;
1788
+ 'where.generationId.ilike'?: string;
1789
+ 'where.generationId.in'?: string;
1790
+ 'where.generationId.nin'?: string;
1791
+ 'where.generationId.contains'?: string;
1792
+ 'where.generationId.contained'?: string;
1793
+ 'where.generationId.overlaps'?: string;
1794
+ 'where.or'?: Array<string>;
1795
+ 'generationId': string;
1796
+ 'deploymentId': string;
1797
+ }
1798
+
1799
+ /**
1800
+ * Default Response
1801
+ */
1802
+ export type UpdateGenerationsDeploymentsResponseOK = Array<{ 'generationId'?: string | null; 'deploymentId'?: string | null }>
1803
+ export type UpdateGenerationsDeploymentsResponses =
1804
+ UpdateGenerationsDeploymentsResponseOK
1805
+
1806
+ export type GetGenerationsDeploymentByGenerationIdAndDeploymentIdRequest = {
1807
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1808
+ 'generationId': string;
1809
+ 'deploymentId': string;
1810
+ }
1811
+
1812
+ /**
1813
+ * A GenerationsDeployment
1814
+ */
1815
+ export type GetGenerationsDeploymentByGenerationIdAndDeploymentIdResponseOK = { 'generationId'?: string | null; 'deploymentId'?: string | null }
1816
+ export type GetGenerationsDeploymentByGenerationIdAndDeploymentIdResponses =
1817
+ GetGenerationsDeploymentByGenerationIdAndDeploymentIdResponseOK
1818
+
1819
+ export type PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest = {
1820
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1821
+ 'generationId': string;
1822
+ 'deploymentId': string;
1823
+ }
1824
+
1825
+ /**
1826
+ * A GenerationsDeployment
1827
+ */
1828
+ export type PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK = { 'generationId'?: string | null; 'deploymentId'?: string | null }
1829
+ export type PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses =
1830
+ PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK
1831
+
1832
+ export type PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest = {
1833
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1834
+ 'generationId': string;
1835
+ 'deploymentId': string;
1836
+ }
1837
+
1838
+ /**
1839
+ * A GenerationsDeployment
1840
+ */
1841
+ export type PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK = { 'generationId'?: string | null; 'deploymentId'?: string | null }
1842
+ export type PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses =
1843
+ PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK
1844
+
1845
+ export type DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest = {
1846
+ 'fields'?: Array<'deploymentId' | 'generationId'>;
1847
+ 'generationId': string;
1848
+ 'deploymentId': string;
1849
+ }
1850
+
1851
+ /**
1852
+ * A GenerationsDeployment
1853
+ */
1854
+ export type DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK = { 'generationId'?: string | null; 'deploymentId'?: string | null }
1855
+ export type DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses =
1856
+ DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponseOK
1857
+
1858
+ export type GetGenerationsApplicationsConfigsRequest = {
1859
+ /**
1860
+ * Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
1861
+ */
1862
+ 'limit'?: number;
1863
+ 'offset'?: number;
1864
+ 'totalCount'?: boolean;
1865
+ 'fields'?: Array<'configId' | 'generationId'>;
1866
+ 'where.configId.eq'?: string;
1867
+ 'where.configId.neq'?: string;
1868
+ 'where.configId.gt'?: string;
1869
+ 'where.configId.gte'?: string;
1870
+ 'where.configId.lt'?: string;
1871
+ 'where.configId.lte'?: string;
1872
+ 'where.configId.like'?: string;
1873
+ 'where.configId.ilike'?: string;
1874
+ 'where.configId.in'?: string;
1875
+ 'where.configId.nin'?: string;
1876
+ 'where.configId.contains'?: string;
1877
+ 'where.configId.contained'?: string;
1878
+ 'where.configId.overlaps'?: string;
1879
+ 'where.generationId.eq'?: string;
1880
+ 'where.generationId.neq'?: string;
1881
+ 'where.generationId.gt'?: string;
1882
+ 'where.generationId.gte'?: string;
1883
+ 'where.generationId.lt'?: string;
1884
+ 'where.generationId.lte'?: string;
1885
+ 'where.generationId.like'?: string;
1886
+ 'where.generationId.ilike'?: string;
1887
+ 'where.generationId.in'?: string;
1888
+ 'where.generationId.nin'?: string;
1889
+ 'where.generationId.contains'?: string;
1890
+ 'where.generationId.contained'?: string;
1891
+ 'where.generationId.overlaps'?: string;
1892
+ 'where.or'?: Array<string>;
1893
+ 'orderby.configId'?: 'asc' | 'desc';
1894
+ 'orderby.generationId'?: 'asc' | 'desc';
1895
+ }
1896
+
1897
+ /**
1898
+ * Default Response
1899
+ */
1900
+ export type GetGenerationsApplicationsConfigsResponseOK = Array<{ 'generationId'?: string | null; 'configId'?: string | null }>
1901
+ export type GetGenerationsApplicationsConfigsResponses =
1902
+ GetGenerationsApplicationsConfigsResponseOK
1903
+
1904
+ export type CreateGenerationsApplicationsConfigRequest = {
1905
+ 'generationId': string;
1906
+ 'configId': string;
1907
+ }
1908
+
1909
+ /**
1910
+ * A GenerationsApplicationsConfig
1911
+ */
1912
+ export type CreateGenerationsApplicationsConfigResponseOK = { 'generationId'?: string | null; 'configId'?: string | null }
1913
+ export type CreateGenerationsApplicationsConfigResponses =
1914
+ CreateGenerationsApplicationsConfigResponseOK
1915
+
1916
+ export type UpdateGenerationsApplicationsConfigsRequest = {
1917
+ 'fields'?: Array<'configId' | 'generationId'>;
1918
+ 'where.configId.eq'?: string;
1919
+ 'where.configId.neq'?: string;
1920
+ 'where.configId.gt'?: string;
1921
+ 'where.configId.gte'?: string;
1922
+ 'where.configId.lt'?: string;
1923
+ 'where.configId.lte'?: string;
1924
+ 'where.configId.like'?: string;
1925
+ 'where.configId.ilike'?: string;
1926
+ 'where.configId.in'?: string;
1927
+ 'where.configId.nin'?: string;
1928
+ 'where.configId.contains'?: string;
1929
+ 'where.configId.contained'?: string;
1930
+ 'where.configId.overlaps'?: string;
1931
+ 'where.generationId.eq'?: string;
1932
+ 'where.generationId.neq'?: string;
1933
+ 'where.generationId.gt'?: string;
1934
+ 'where.generationId.gte'?: string;
1935
+ 'where.generationId.lt'?: string;
1936
+ 'where.generationId.lte'?: string;
1937
+ 'where.generationId.like'?: string;
1938
+ 'where.generationId.ilike'?: string;
1939
+ 'where.generationId.in'?: string;
1940
+ 'where.generationId.nin'?: string;
1941
+ 'where.generationId.contains'?: string;
1942
+ 'where.generationId.contained'?: string;
1943
+ 'where.generationId.overlaps'?: string;
1944
+ 'where.or'?: Array<string>;
1945
+ 'generationId': string;
1946
+ 'configId': string;
1947
+ }
1948
+
1949
+ /**
1950
+ * Default Response
1951
+ */
1952
+ export type UpdateGenerationsApplicationsConfigsResponseOK = Array<{ 'generationId'?: string | null; 'configId'?: string | null }>
1953
+ export type UpdateGenerationsApplicationsConfigsResponses =
1954
+ UpdateGenerationsApplicationsConfigsResponseOK
1955
+
1956
+ export type GetGenerationsApplicationsConfigByGenerationIdAndConfigIdRequest = {
1957
+ 'fields'?: Array<'configId' | 'generationId'>;
1958
+ 'generationId': string;
1959
+ 'configId': string;
1960
+ }
1961
+
1962
+ /**
1963
+ * A GenerationsApplicationsConfig
1964
+ */
1965
+ export type GetGenerationsApplicationsConfigByGenerationIdAndConfigIdResponseOK = { 'generationId'?: string | null; 'configId'?: string | null }
1966
+ export type GetGenerationsApplicationsConfigByGenerationIdAndConfigIdResponses =
1967
+ GetGenerationsApplicationsConfigByGenerationIdAndConfigIdResponseOK
1968
+
1969
+ export type PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest = {
1970
+ 'fields'?: Array<'configId' | 'generationId'>;
1971
+ 'generationId': string;
1972
+ 'configId': string;
1973
+ }
1974
+
1975
+ /**
1976
+ * A GenerationsApplicationsConfig
1977
+ */
1978
+ export type PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK = { 'generationId'?: string | null; 'configId'?: string | null }
1979
+ export type PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses =
1980
+ PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK
1981
+
1982
+ export type PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest = {
1983
+ 'fields'?: Array<'configId' | 'generationId'>;
1984
+ 'generationId': string;
1985
+ 'configId': string;
1986
+ }
1987
+
1988
+ /**
1989
+ * A GenerationsApplicationsConfig
1990
+ */
1991
+ export type PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK = { 'generationId'?: string | null; 'configId'?: string | null }
1992
+ export type PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses =
1993
+ PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK
1994
+
1995
+ export type DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest = {
1996
+ 'fields'?: Array<'configId' | 'generationId'>;
1997
+ 'generationId': string;
1998
+ 'configId': string;
1999
+ }
2000
+
2001
+ /**
2002
+ * A GenerationsApplicationsConfig
2003
+ */
2004
+ export type DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK = { 'generationId'?: string | null; 'configId'?: string | null }
2005
+ export type DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses =
2006
+ DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponseOK
2007
+
2008
+ export type GetGenerationGraphRequest = {
2009
+ 'generationId'?: string;
2010
+ }
2011
+
2012
+ /**
2013
+ * Default Response
2014
+ */
2015
+ export type GetGenerationGraphResponseOK = { 'applications': Array<{ 'id': string; 'name': string; 'services': Array<object> }>; 'links': Array<{ 'source': { 'applicationId': string | null; 'serviceId': string | null; 'telemetryId': string }; 'target': { 'applicationId': string | null; 'serviceId': string | null; 'telemetryId': string }; 'requestsAmount': string; 'responseTime': string }> }
2016
+ export type GetGenerationGraphResponses =
2017
+ GetGenerationGraphResponseOK
2018
+
2019
+ export type InitApplicationInstanceRequest = {
2020
+ 'podId': string;
2021
+ 'applicationName': string;
2022
+ 'imageId': string;
2023
+ }
2024
+
2025
+ /**
2026
+ * Default Response
2027
+ */
2028
+ export type InitApplicationInstanceResponseOK = { 'applicationId': string; 'config': { 'version': number; 'resources'?: { 'threads'?: number; 'heap'?: number; 'services'?: Array<{ 'name'?: string; 'heap'?: number; 'threads'?: number }> } }; 'httpCache': { 'clientOpts'?: { 'host': string; 'port': number; 'username': string; 'password': string; 'keyPrefix': string } }; 'iccServices': Record<string, { 'url': string }> }
2029
+ export type InitApplicationInstanceResponses =
2030
+ InitApplicationInstanceResponseOK
2031
+
2032
+ export type SaveApplicationInstanceStatusRequest = {
2033
+ 'id': string;
2034
+ 'status': string;
2035
+ }
2036
+
2037
+ export type SaveApplicationInstanceStatusResponseOK = unknown
2038
+ export type SaveApplicationInstanceStatusResponses =
2039
+ FullResponse<SaveApplicationInstanceStatusResponseOK, 200>
2040
+
2041
+ export type SaveApplicationInstanceStateRequest = {
2042
+ 'id': string;
2043
+ 'metadata': { 'platformaticVersion': string };
2044
+ 'services': Array<object>;
2045
+ }
2046
+
2047
+ /**
2048
+ * Default Response
2049
+ */
2050
+ export type SaveApplicationInstanceStateResponseOK = object
2051
+ export type SaveApplicationInstanceStateResponses =
2052
+ SaveApplicationInstanceStateResponseOK
2053
+
2054
+ export type SetApplicationResourcesRequest = {
2055
+ 'id': string;
2056
+ 'threads': number;
2057
+ 'heap': number;
2058
+ 'services': Array<{ 'name'?: string; 'heap'?: number; 'threads'?: number }>;
2059
+ }
2060
+
2061
+ /**
2062
+ * Default Response
2063
+ */
2064
+ export type SetApplicationResourcesResponseOK = object
2065
+ export type SetApplicationResourcesResponses =
2066
+ SetApplicationResourcesResponseOK
2067
+
2068
+
2069
+
2070
+ export interface ControlPlane {
2071
+ setBaseUrl(newUrl: string): void;
2072
+ setDefaultHeaders(headers: object): void;
2073
+ setDefaultFetchParams(fetchParams: RequestInit): void;
2074
+ /**
2075
+ * Get generations.
2076
+ *
2077
+ * Fetch generations from the database.
2078
+ * @param req - request parameters object
2079
+ * @returns the API response body
2080
+ */
2081
+ getGenerations(req: GetGenerationsRequest): Promise<GetGenerationsResponses>;
2082
+ /**
2083
+ * Create generation.
2084
+ *
2085
+ * Add new generation to the database.
2086
+ * @param req - request parameters object
2087
+ * @returns the API response body
2088
+ */
2089
+ createGeneration(req: CreateGenerationRequest): Promise<CreateGenerationResponses>;
2090
+ /**
2091
+ * Update generations.
2092
+ *
2093
+ * Update one or more generations in the database.
2094
+ * @param req - request parameters object
2095
+ * @returns the API response body
2096
+ */
2097
+ updateGenerations(req: UpdateGenerationsRequest): Promise<UpdateGenerationsResponses>;
2098
+ /**
2099
+ * Get Generation by id.
2100
+ *
2101
+ * Fetch Generation using its id from the database.
2102
+ * @param req - request parameters object
2103
+ * @returns the API response body
2104
+ */
2105
+ getGenerationById(req: GetGenerationByIdRequest): Promise<GetGenerationByIdResponses>;
2106
+ /**
2107
+ * Update generation.
2108
+ *
2109
+ * Update generation in the database.
2110
+ * @param req - request parameters object
2111
+ * @returns the API response body
2112
+ */
2113
+ updateGeneration(req: UpdateGenerationRequest): Promise<UpdateGenerationResponses>;
2114
+ /**
2115
+ * Delete generations.
2116
+ *
2117
+ * Delete one or more generations from the Database.
2118
+ * @param req - request parameters object
2119
+ * @returns the API response body
2120
+ */
2121
+ deleteGenerations(req: DeleteGenerationsRequest): Promise<DeleteGenerationsResponses>;
2122
+ /**
2123
+ * Get graphs for generation.
2124
+ *
2125
+ * Fetch all the graphs for generation from the database.
2126
+ * @param req - request parameters object
2127
+ * @returns the API response body
2128
+ */
2129
+ getGraphsForGeneration(req: GetGraphsForGenerationRequest): Promise<GetGraphsForGenerationResponses>;
2130
+ /**
2131
+ * Get generationsDeployments for generation.
2132
+ *
2133
+ * Fetch all the generationsDeployments for generation from the database.
2134
+ * @param req - request parameters object
2135
+ * @returns the API response body
2136
+ */
2137
+ getGenerationsDeploymentsForGeneration(req: GetGenerationsDeploymentsForGenerationRequest): Promise<GetGenerationsDeploymentsForGenerationResponses>;
2138
+ /**
2139
+ * Get generationsApplicationsConfigs for generation.
2140
+ *
2141
+ * Fetch all the generationsApplicationsConfigs for generation from the database.
2142
+ * @param req - request parameters object
2143
+ * @returns the API response body
2144
+ */
2145
+ getGenerationsApplicationsConfigsForGeneration(req: GetGenerationsApplicationsConfigsForGenerationRequest): Promise<GetGenerationsApplicationsConfigsForGenerationResponses>;
2146
+ /**
2147
+ * Get graphs.
2148
+ *
2149
+ * Fetch graphs from the database.
2150
+ * @param req - request parameters object
2151
+ * @returns the API response body
2152
+ */
2153
+ getGraphs(req: GetGraphsRequest): Promise<GetGraphsResponses>;
2154
+ /**
2155
+ * Create graph.
2156
+ *
2157
+ * Add new graph to the database.
2158
+ * @param req - request parameters object
2159
+ * @returns the API response body
2160
+ */
2161
+ createGraph(req: CreateGraphRequest): Promise<CreateGraphResponses>;
2162
+ /**
2163
+ * Update graphs.
2164
+ *
2165
+ * Update one or more graphs in the database.
2166
+ * @param req - request parameters object
2167
+ * @returns the API response body
2168
+ */
2169
+ updateGraphs(req: UpdateGraphsRequest): Promise<UpdateGraphsResponses>;
2170
+ /**
2171
+ * Get Graph by id.
2172
+ *
2173
+ * Fetch Graph using its id from the database.
2174
+ * @param req - request parameters object
2175
+ * @returns the API response body
2176
+ */
2177
+ getGraphById(req: GetGraphByIdRequest): Promise<GetGraphByIdResponses>;
2178
+ /**
2179
+ * Update graph.
2180
+ *
2181
+ * Update graph in the database.
2182
+ * @param req - request parameters object
2183
+ * @returns the API response body
2184
+ */
2185
+ updateGraph(req: UpdateGraphRequest): Promise<UpdateGraphResponses>;
2186
+ /**
2187
+ * Delete graphs.
2188
+ *
2189
+ * Delete one or more graphs from the Database.
2190
+ * @param req - request parameters object
2191
+ * @returns the API response body
2192
+ */
2193
+ deleteGraphs(req: DeleteGraphsRequest): Promise<DeleteGraphsResponses>;
2194
+ /**
2195
+ * Get generation for graph.
2196
+ *
2197
+ * Fetch the generation for graph from the database.
2198
+ * @param req - request parameters object
2199
+ * @returns the API response body
2200
+ */
2201
+ getGenerationForGraph(req: GetGenerationForGraphRequest): Promise<GetGenerationForGraphResponses>;
2202
+ /**
2203
+ * Get applications.
2204
+ *
2205
+ * Fetch applications from the database.
2206
+ * @param req - request parameters object
2207
+ * @returns the API response body
2208
+ */
2209
+ getApplications(req: GetApplicationsRequest): Promise<GetApplicationsResponses>;
2210
+ /**
2211
+ * Create application.
2212
+ *
2213
+ * Add new application to the database.
2214
+ * @param req - request parameters object
2215
+ * @returns the API response body
2216
+ */
2217
+ createApplication(req: CreateApplicationRequest): Promise<CreateApplicationResponses>;
2218
+ /**
2219
+ * Update applications.
2220
+ *
2221
+ * Update one or more applications in the database.
2222
+ * @param req - request parameters object
2223
+ * @returns the API response body
2224
+ */
2225
+ updateApplications(req: UpdateApplicationsRequest): Promise<UpdateApplicationsResponses>;
2226
+ /**
2227
+ * Get Application by id.
2228
+ *
2229
+ * Fetch Application using its id from the database.
2230
+ * @param req - request parameters object
2231
+ * @returns the API response body
2232
+ */
2233
+ getApplicationById(req: GetApplicationByIdRequest): Promise<GetApplicationByIdResponses>;
2234
+ /**
2235
+ * Update application.
2236
+ *
2237
+ * Update application in the database.
2238
+ * @param req - request parameters object
2239
+ * @returns the API response body
2240
+ */
2241
+ updateApplication(req: UpdateApplicationRequest): Promise<UpdateApplicationResponses>;
2242
+ /**
2243
+ * Delete applications.
2244
+ *
2245
+ * Delete one or more applications from the Database.
2246
+ * @param req - request parameters object
2247
+ * @returns the API response body
2248
+ */
2249
+ deleteApplications(req: DeleteApplicationsRequest): Promise<DeleteApplicationsResponses>;
2250
+ /**
2251
+ * Get applicationsConfigs for application.
2252
+ *
2253
+ * Fetch all the applicationsConfigs for application from the database.
2254
+ * @param req - request parameters object
2255
+ * @returns the API response body
2256
+ */
2257
+ getApplicationsConfigsForApplication(req: GetApplicationsConfigsForApplicationRequest): Promise<GetApplicationsConfigsForApplicationResponses>;
2258
+ /**
2259
+ * Get applicationStates for application.
2260
+ *
2261
+ * Fetch all the applicationStates for application from the database.
2262
+ * @param req - request parameters object
2263
+ * @returns the API response body
2264
+ */
2265
+ getApplicationStatesForApplication(req: GetApplicationStatesForApplicationRequest): Promise<GetApplicationStatesForApplicationResponses>;
2266
+ /**
2267
+ * Get deployments for application.
2268
+ *
2269
+ * Fetch all the deployments for application from the database.
2270
+ * @param req - request parameters object
2271
+ * @returns the API response body
2272
+ */
2273
+ getDeploymentsForApplication(req: GetDeploymentsForApplicationRequest): Promise<GetDeploymentsForApplicationResponses>;
2274
+ /**
2275
+ * Get detectedPods for application.
2276
+ *
2277
+ * Fetch all the detectedPods for application from the database.
2278
+ * @param req - request parameters object
2279
+ * @returns the API response body
2280
+ */
2281
+ getDetectedPodsForApplication(req: GetDetectedPodsForApplicationRequest): Promise<GetDetectedPodsForApplicationResponses>;
2282
+ /**
2283
+ * Get applicationsConfigs.
2284
+ *
2285
+ * Fetch applicationsConfigs from the database.
2286
+ * @param req - request parameters object
2287
+ * @returns the API response body
2288
+ */
2289
+ getApplicationsConfigs(req: GetApplicationsConfigsRequest): Promise<GetApplicationsConfigsResponses>;
2290
+ /**
2291
+ * Create applicationsConfig.
2292
+ *
2293
+ * Add new applicationsConfig to the database.
2294
+ * @param req - request parameters object
2295
+ * @returns the API response body
2296
+ */
2297
+ createApplicationsConfig(req: CreateApplicationsConfigRequest): Promise<CreateApplicationsConfigResponses>;
2298
+ /**
2299
+ * Update applicationsConfigs.
2300
+ *
2301
+ * Update one or more applicationsConfigs in the database.
2302
+ * @param req - request parameters object
2303
+ * @returns the API response body
2304
+ */
2305
+ updateApplicationsConfigs(req: UpdateApplicationsConfigsRequest): Promise<UpdateApplicationsConfigsResponses>;
2306
+ /**
2307
+ * Get ApplicationsConfig by id.
2308
+ *
2309
+ * Fetch ApplicationsConfig using its id from the database.
2310
+ * @param req - request parameters object
2311
+ * @returns the API response body
2312
+ */
2313
+ getApplicationsConfigById(req: GetApplicationsConfigByIdRequest): Promise<GetApplicationsConfigByIdResponses>;
2314
+ /**
2315
+ * Update applicationsConfig.
2316
+ *
2317
+ * Update applicationsConfig in the database.
2318
+ * @param req - request parameters object
2319
+ * @returns the API response body
2320
+ */
2321
+ updateApplicationsConfig(req: UpdateApplicationsConfigRequest): Promise<UpdateApplicationsConfigResponses>;
2322
+ /**
2323
+ * Delete applicationsConfigs.
2324
+ *
2325
+ * Delete one or more applicationsConfigs from the Database.
2326
+ * @param req - request parameters object
2327
+ * @returns the API response body
2328
+ */
2329
+ deleteApplicationsConfigs(req: DeleteApplicationsConfigsRequest): Promise<DeleteApplicationsConfigsResponses>;
2330
+ /**
2331
+ * Get generationsApplicationsConfigs for applicationsConfig.
2332
+ *
2333
+ * Fetch all the generationsApplicationsConfigs for applicationsConfig from the database.
2334
+ * @param req - request parameters object
2335
+ * @returns the API response body
2336
+ */
2337
+ getGenerationsApplicationsConfigsForApplicationsConfig(req: GetGenerationsApplicationsConfigsForApplicationsConfigRequest): Promise<GetGenerationsApplicationsConfigsForApplicationsConfigResponses>;
2338
+ /**
2339
+ * Get application for applicationsConfig.
2340
+ *
2341
+ * Fetch the application for applicationsConfig from the database.
2342
+ * @param req - request parameters object
2343
+ * @returns the API response body
2344
+ */
2345
+ getApplicationForApplicationsConfig(req: GetApplicationForApplicationsConfigRequest): Promise<GetApplicationForApplicationsConfigResponses>;
2346
+ /**
2347
+ * Get applicationStates.
2348
+ *
2349
+ * Fetch applicationStates from the database.
2350
+ * @param req - request parameters object
2351
+ * @returns the API response body
2352
+ */
2353
+ getApplicationStates(req: GetApplicationStatesRequest): Promise<GetApplicationStatesResponses>;
2354
+ /**
2355
+ * Create applicationState.
2356
+ *
2357
+ * Add new applicationState to the database.
2358
+ * @param req - request parameters object
2359
+ * @returns the API response body
2360
+ */
2361
+ createApplicationState(req: CreateApplicationStateRequest): Promise<CreateApplicationStateResponses>;
2362
+ /**
2363
+ * Update applicationStates.
2364
+ *
2365
+ * Update one or more applicationStates in the database.
2366
+ * @param req - request parameters object
2367
+ * @returns the API response body
2368
+ */
2369
+ updateApplicationStates(req: UpdateApplicationStatesRequest): Promise<UpdateApplicationStatesResponses>;
2370
+ /**
2371
+ * Get ApplicationState by id.
2372
+ *
2373
+ * Fetch ApplicationState using its id from the database.
2374
+ * @param req - request parameters object
2375
+ * @returns the API response body
2376
+ */
2377
+ getApplicationStateById(req: GetApplicationStateByIdRequest): Promise<GetApplicationStateByIdResponses>;
2378
+ /**
2379
+ * Update applicationState.
2380
+ *
2381
+ * Update applicationState in the database.
2382
+ * @param req - request parameters object
2383
+ * @returns the API response body
2384
+ */
2385
+ updateApplicationState(req: UpdateApplicationStateRequest): Promise<UpdateApplicationStateResponses>;
2386
+ /**
2387
+ * Delete applicationStates.
2388
+ *
2389
+ * Delete one or more applicationStates from the Database.
2390
+ * @param req - request parameters object
2391
+ * @returns the API response body
2392
+ */
2393
+ deleteApplicationStates(req: DeleteApplicationStatesRequest): Promise<DeleteApplicationStatesResponses>;
2394
+ /**
2395
+ * Get deployments for applicationState.
2396
+ *
2397
+ * Fetch all the deployments for applicationState from the database.
2398
+ * @param req - request parameters object
2399
+ * @returns the API response body
2400
+ */
2401
+ getDeploymentsForApplicationState(req: GetDeploymentsForApplicationStateRequest): Promise<GetDeploymentsForApplicationStateResponses>;
2402
+ /**
2403
+ * Get application for applicationState.
2404
+ *
2405
+ * Fetch the application for applicationState from the database.
2406
+ * @param req - request parameters object
2407
+ * @returns the API response body
2408
+ */
2409
+ getApplicationForApplicationState(req: GetApplicationForApplicationStateRequest): Promise<GetApplicationForApplicationStateResponses>;
2410
+ /**
2411
+ * Get deployments.
2412
+ *
2413
+ * Fetch deployments from the database.
2414
+ * @param req - request parameters object
2415
+ * @returns the API response body
2416
+ */
2417
+ getDeployments(req: GetDeploymentsRequest): Promise<GetDeploymentsResponses>;
2418
+ /**
2419
+ * Create deployment.
2420
+ *
2421
+ * Add new deployment to the database.
2422
+ * @param req - request parameters object
2423
+ * @returns the API response body
2424
+ */
2425
+ createDeployment(req: CreateDeploymentRequest): Promise<CreateDeploymentResponses>;
2426
+ /**
2427
+ * Update deployments.
2428
+ *
2429
+ * Update one or more deployments in the database.
2430
+ * @param req - request parameters object
2431
+ * @returns the API response body
2432
+ */
2433
+ updateDeployments(req: UpdateDeploymentsRequest): Promise<UpdateDeploymentsResponses>;
2434
+ /**
2435
+ * Get Deployment by id.
2436
+ *
2437
+ * Fetch Deployment using its id from the database.
2438
+ * @param req - request parameters object
2439
+ * @returns the API response body
2440
+ */
2441
+ getDeploymentById(req: GetDeploymentByIdRequest): Promise<GetDeploymentByIdResponses>;
2442
+ /**
2443
+ * Update deployment.
2444
+ *
2445
+ * Update deployment in the database.
2446
+ * @param req - request parameters object
2447
+ * @returns the API response body
2448
+ */
2449
+ updateDeployment(req: UpdateDeploymentRequest): Promise<UpdateDeploymentResponses>;
2450
+ /**
2451
+ * Delete deployments.
2452
+ *
2453
+ * Delete one or more deployments from the Database.
2454
+ * @param req - request parameters object
2455
+ * @returns the API response body
2456
+ */
2457
+ deleteDeployments(req: DeleteDeploymentsRequest): Promise<DeleteDeploymentsResponses>;
2458
+ /**
2459
+ * Get detectedPods for deployment.
2460
+ *
2461
+ * Fetch all the detectedPods for deployment from the database.
2462
+ * @param req - request parameters object
2463
+ * @returns the API response body
2464
+ */
2465
+ getDetectedPodsForDeployment(req: GetDetectedPodsForDeploymentRequest): Promise<GetDetectedPodsForDeploymentResponses>;
2466
+ /**
2467
+ * Get generationsDeployments for deployment.
2468
+ *
2469
+ * Fetch all the generationsDeployments for deployment from the database.
2470
+ * @param req - request parameters object
2471
+ * @returns the API response body
2472
+ */
2473
+ getGenerationsDeploymentsForDeployment(req: GetGenerationsDeploymentsForDeploymentRequest): Promise<GetGenerationsDeploymentsForDeploymentResponses>;
2474
+ /**
2475
+ * Get application for deployment.
2476
+ *
2477
+ * Fetch the application for deployment from the database.
2478
+ * @param req - request parameters object
2479
+ * @returns the API response body
2480
+ */
2481
+ getApplicationForDeployment(req: GetApplicationForDeploymentRequest): Promise<GetApplicationForDeploymentResponses>;
2482
+ /**
2483
+ * Get applicationState for deployment.
2484
+ *
2485
+ * Fetch the applicationState for deployment from the database.
2486
+ * @param req - request parameters object
2487
+ * @returns the API response body
2488
+ */
2489
+ getApplicationStateForDeployment(req: GetApplicationStateForDeploymentRequest): Promise<GetApplicationStateForDeploymentResponses>;
2490
+ /**
2491
+ * Get detectedPods.
2492
+ *
2493
+ * Fetch detectedPods from the database.
2494
+ * @param req - request parameters object
2495
+ * @returns the API response body
2496
+ */
2497
+ getDetectedPods(req: GetDetectedPodsRequest): Promise<GetDetectedPodsResponses>;
2498
+ /**
2499
+ * Create detectedPod.
2500
+ *
2501
+ * Add new detectedPod to the database.
2502
+ * @param req - request parameters object
2503
+ * @returns the API response body
2504
+ */
2505
+ createDetectedPod(req: CreateDetectedPodRequest): Promise<CreateDetectedPodResponses>;
2506
+ /**
2507
+ * Update detectedPods.
2508
+ *
2509
+ * Update one or more detectedPods in the database.
2510
+ * @param req - request parameters object
2511
+ * @returns the API response body
2512
+ */
2513
+ updateDetectedPods(req: UpdateDetectedPodsRequest): Promise<UpdateDetectedPodsResponses>;
2514
+ /**
2515
+ * Get DetectedPod by id.
2516
+ *
2517
+ * Fetch DetectedPod using its id from the database.
2518
+ * @param req - request parameters object
2519
+ * @returns the API response body
2520
+ */
2521
+ getDetectedPodById(req: GetDetectedPodByIdRequest): Promise<GetDetectedPodByIdResponses>;
2522
+ /**
2523
+ * Update detectedPod.
2524
+ *
2525
+ * Update detectedPod in the database.
2526
+ * @param req - request parameters object
2527
+ * @returns the API response body
2528
+ */
2529
+ updateDetectedPod(req: UpdateDetectedPodRequest): Promise<UpdateDetectedPodResponses>;
2530
+ /**
2531
+ * Delete detectedPods.
2532
+ *
2533
+ * Delete one or more detectedPods from the Database.
2534
+ * @param req - request parameters object
2535
+ * @returns the API response body
2536
+ */
2537
+ deleteDetectedPods(req: DeleteDetectedPodsRequest): Promise<DeleteDetectedPodsResponses>;
2538
+ /**
2539
+ * Get application for detectedPod.
2540
+ *
2541
+ * Fetch the application for detectedPod from the database.
2542
+ * @param req - request parameters object
2543
+ * @returns the API response body
2544
+ */
2545
+ getApplicationForDetectedPod(req: GetApplicationForDetectedPodRequest): Promise<GetApplicationForDetectedPodResponses>;
2546
+ /**
2547
+ * Get deployment for detectedPod.
2548
+ *
2549
+ * Fetch the deployment for detectedPod from the database.
2550
+ * @param req - request parameters object
2551
+ * @returns the API response body
2552
+ */
2553
+ getDeploymentForDetectedPod(req: GetDeploymentForDetectedPodRequest): Promise<GetDeploymentForDetectedPodResponses>;
2554
+ /**
2555
+ * Get generationsDeployments.
2556
+ *
2557
+ * Fetch generationsDeployments from the database.
2558
+ * @param req - request parameters object
2559
+ * @returns the API response body
2560
+ */
2561
+ getGenerationsDeployments(req: GetGenerationsDeploymentsRequest): Promise<GetGenerationsDeploymentsResponses>;
2562
+ /**
2563
+ * Create generationsDeployment.
2564
+ *
2565
+ * Add new generationsDeployment to the database.
2566
+ * @param req - request parameters object
2567
+ * @returns the API response body
2568
+ */
2569
+ createGenerationsDeployment(req: CreateGenerationsDeploymentRequest): Promise<CreateGenerationsDeploymentResponses>;
2570
+ /**
2571
+ * Update generationsDeployments.
2572
+ *
2573
+ * Update one or more generationsDeployments in the database.
2574
+ * @param req - request parameters object
2575
+ * @returns the API response body
2576
+ */
2577
+ updateGenerationsDeployments(req: UpdateGenerationsDeploymentsRequest): Promise<UpdateGenerationsDeploymentsResponses>;
2578
+ /**
2579
+ * Get GenerationsDeployment by GenerationIdAndDeploymentId.
2580
+ *
2581
+ * Fetch GenerationsDeployment by GenerationIdAndDeploymentId from the database.
2582
+ * @param req - request parameters object
2583
+ * @returns the API response body
2584
+ */
2585
+ getGenerationsDeploymentByGenerationIdAndDeploymentId(req: GetGenerationsDeploymentByGenerationIdAndDeploymentIdRequest): Promise<GetGenerationsDeploymentByGenerationIdAndDeploymentIdResponses>;
2586
+ /**
2587
+ * Update GenerationsDeployment by GenerationIdAndDeploymentId.
2588
+ *
2589
+ * Update GenerationsDeployment by GenerationIdAndDeploymentId in the database.
2590
+ * @param req - request parameters object
2591
+ * @returns the API response body
2592
+ */
2593
+ postGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentId(req: PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest): Promise<PostGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses>;
2594
+ /**
2595
+ * Update GenerationsDeployment by GenerationIdAndDeploymentId.
2596
+ *
2597
+ * Update GenerationsDeployment by GenerationIdAndDeploymentId in the database.
2598
+ * @param req - request parameters object
2599
+ * @returns the API response body
2600
+ */
2601
+ putGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentId(req: PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest): Promise<PutGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses>;
2602
+ /**
2603
+ * Delete GenerationsDeployment by GenerationIdAndDeploymentId.
2604
+ *
2605
+ * Delete GenerationsDeployment by GenerationIdAndDeploymentId from the database.
2606
+ * @param req - request parameters object
2607
+ * @returns the API response body
2608
+ */
2609
+ deleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentId(req: DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdRequest): Promise<DeleteGenerationsDeploymentsGenerationGenerationIdDeploymentDeploymentIdResponses>;
2610
+ /**
2611
+ * Get generationsApplicationsConfigs.
2612
+ *
2613
+ * Fetch generationsApplicationsConfigs from the database.
2614
+ * @param req - request parameters object
2615
+ * @returns the API response body
2616
+ */
2617
+ getGenerationsApplicationsConfigs(req: GetGenerationsApplicationsConfigsRequest): Promise<GetGenerationsApplicationsConfigsResponses>;
2618
+ /**
2619
+ * Create generationsApplicationsConfig.
2620
+ *
2621
+ * Add new generationsApplicationsConfig to the database.
2622
+ * @param req - request parameters object
2623
+ * @returns the API response body
2624
+ */
2625
+ createGenerationsApplicationsConfig(req: CreateGenerationsApplicationsConfigRequest): Promise<CreateGenerationsApplicationsConfigResponses>;
2626
+ /**
2627
+ * Update generationsApplicationsConfigs.
2628
+ *
2629
+ * Update one or more generationsApplicationsConfigs in the database.
2630
+ * @param req - request parameters object
2631
+ * @returns the API response body
2632
+ */
2633
+ updateGenerationsApplicationsConfigs(req: UpdateGenerationsApplicationsConfigsRequest): Promise<UpdateGenerationsApplicationsConfigsResponses>;
2634
+ /**
2635
+ * Get GenerationsApplicationsConfig by GenerationIdAndConfigId.
2636
+ *
2637
+ * Fetch GenerationsApplicationsConfig by GenerationIdAndConfigId from the database.
2638
+ * @param req - request parameters object
2639
+ * @returns the API response body
2640
+ */
2641
+ getGenerationsApplicationsConfigByGenerationIdAndConfigId(req: GetGenerationsApplicationsConfigByGenerationIdAndConfigIdRequest): Promise<GetGenerationsApplicationsConfigByGenerationIdAndConfigIdResponses>;
2642
+ /**
2643
+ * Update GenerationsApplicationsConfig by GenerationIdAndConfigId.
2644
+ *
2645
+ * Update GenerationsApplicationsConfig by GenerationIdAndConfigId in the database.
2646
+ * @param req - request parameters object
2647
+ * @returns the API response body
2648
+ */
2649
+ postGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigId(req: PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest): Promise<PostGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses>;
2650
+ /**
2651
+ * Update GenerationsApplicationsConfig by GenerationIdAndConfigId.
2652
+ *
2653
+ * Update GenerationsApplicationsConfig by GenerationIdAndConfigId in the database.
2654
+ * @param req - request parameters object
2655
+ * @returns the API response body
2656
+ */
2657
+ putGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigId(req: PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest): Promise<PutGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses>;
2658
+ /**
2659
+ * Delete GenerationsApplicationsConfig by GenerationIdAndConfigId.
2660
+ *
2661
+ * Delete GenerationsApplicationsConfig by GenerationIdAndConfigId from the database.
2662
+ * @param req - request parameters object
2663
+ * @returns the API response body
2664
+ */
2665
+ deleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigId(req: DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdRequest): Promise<DeleteGenerationsApplicationsConfigsGenerationGenerationIdApplicationsConfigConfigIdResponses>;
2666
+ /**
2667
+ * @param req - request parameters object
2668
+ * @returns the API response body
2669
+ */
2670
+ getGenerationGraph(req: GetGenerationGraphRequest): Promise<GetGenerationGraphResponses>;
2671
+ /**
2672
+ * @param req - request parameters object
2673
+ * @returns the API response body
2674
+ */
2675
+ initApplicationInstance(req: InitApplicationInstanceRequest): Promise<InitApplicationInstanceResponses>;
2676
+ /**
2677
+ * @param req - request parameters object
2678
+ * @returns the API response body
2679
+ */
2680
+ saveApplicationInstanceStatus(req: SaveApplicationInstanceStatusRequest): Promise<SaveApplicationInstanceStatusResponses>;
2681
+ /**
2682
+ * @param req - request parameters object
2683
+ * @returns the API response body
2684
+ */
2685
+ saveApplicationInstanceState(req: SaveApplicationInstanceStateRequest): Promise<SaveApplicationInstanceStateResponses>;
2686
+ /**
2687
+ * @param req - request parameters object
2688
+ * @returns the API response body
2689
+ */
2690
+ setApplicationResources(req: SetApplicationResourcesRequest): Promise<SetApplicationResourcesResponses>;
2691
+ }
2692
+ type PlatformaticFrontendClient = Omit<ControlPlane, 'setBaseUrl'>
2693
+ type BuildOptions = {
2694
+ headers?: object
2695
+ }
2696
+ export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient