@fabrika/provider-zerops 0.9.0-dev.1 → 0.9.0-dev.3

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 (93) hide show
  1. package/package.json +15 -14
  2. package/src/execution.ts +45 -8
  3. package/types/src/api/client.d.ts +5 -0
  4. package/types/src/api/errors.d.ts +24 -0
  5. package/types/src/api/polling.d.ts +41 -0
  6. package/types/src/api/readers.d.ts +977 -0
  7. package/types/src/api/service-env-limit.d.ts +17 -0
  8. package/types/src/api/service-env-response.d.ts +23 -0
  9. package/types/src/api/types.d.ts +638 -0
  10. package/types/src/api.d.ts +6 -0
  11. package/types/src/authoring.d.ts +9 -0
  12. package/types/src/cli-args.d.ts +19 -0
  13. package/types/src/cli.d.ts +10 -0
  14. package/types/src/collaborators.d.ts +18 -0
  15. package/types/src/compile.d.ts +91 -0
  16. package/types/src/control.d.ts +41 -0
  17. package/types/src/database-budget.d.ts +38 -0
  18. package/types/src/descriptor.d.ts +28 -0
  19. package/types/src/execution.d.ts +137 -0
  20. package/types/src/exposure.d.ts +47 -0
  21. package/types/src/index.d.ts +31 -0
  22. package/types/src/installation/admin-options.d.ts +24 -0
  23. package/types/src/installation/admin.d.ts +35 -0
  24. package/types/src/installation/checker-release.d.ts +12 -0
  25. package/types/src/installation/deploy-options.d.ts +37 -0
  26. package/types/src/installation/deploy.d.ts +96 -0
  27. package/types/src/installation/generated/platform-console-schema.d.ts +2 -0
  28. package/types/src/installation/generated/platform-proxy-manifest.d.ts +2 -0
  29. package/types/src/installation/hosts.d.ts +38 -0
  30. package/types/src/installation/index.d.ts +9 -0
  31. package/types/src/installation/init-options.d.ts +38 -0
  32. package/types/src/installation/init.d.ts +60 -0
  33. package/types/src/installation/install-collaborators.d.ts +24 -0
  34. package/types/src/installation/install-environment.d.ts +70 -0
  35. package/types/src/installation/install-options.d.ts +49 -0
  36. package/types/src/installation/install-project.d.ts +13 -0
  37. package/types/src/installation/install-provisioning.d.ts +58 -0
  38. package/types/src/installation/install-secrets.d.ts +30 -0
  39. package/types/src/installation/install-token.d.ts +10 -0
  40. package/types/src/installation/install.d.ts +23 -0
  41. package/types/src/installation/installation-source.d.ts +8 -0
  42. package/types/src/installation/log.d.ts +44 -0
  43. package/types/src/installation/machine-key.d.ts +19 -0
  44. package/types/src/installation/mcp.d.ts +18 -0
  45. package/types/src/installation/placement-options.d.ts +11 -0
  46. package/types/src/installation/platform-archive.d.ts +7 -0
  47. package/types/src/installation/platform-source.d.ts +8 -0
  48. package/types/src/installation/platform-upload.d.ts +3 -0
  49. package/types/src/installation/proxy-manifest.d.ts +105 -0
  50. package/types/src/installation/secrets.d.ts +17 -0
  51. package/types/src/installation/sidecar.d.ts +51 -0
  52. package/types/src/installation/source-options.d.ts +1 -0
  53. package/types/src/installation/topology/artifacts.d.ts +8 -0
  54. package/types/src/installation/topology/index.d.ts +5 -0
  55. package/types/src/installation/topology/installation-schemas.d.ts +2242 -0
  56. package/types/src/installation/topology/invariants.d.ts +23 -0
  57. package/types/src/installation/topology/setups.d.ts +58 -0
  58. package/types/src/installation/topology/topology.d.ts +148 -0
  59. package/types/src/installation/topology/validate.d.ts +11 -0
  60. package/types/src/installation/upgrade-options.d.ts +26 -0
  61. package/types/src/installation/upgrade-output.d.ts +6 -0
  62. package/types/src/installation/upgrade.d.ts +88 -0
  63. package/types/src/managed-env.d.ts +57 -0
  64. package/types/src/manifest.d.ts +206 -0
  65. package/types/src/namespace/claims.d.ts +3 -0
  66. package/types/src/namespace/codec.d.ts +334 -0
  67. package/types/src/namespace/constants.d.ts +25 -0
  68. package/types/src/namespace/errors.d.ts +15 -0
  69. package/types/src/namespace/manifest.d.ts +4 -0
  70. package/types/src/namespace/operator.d.ts +12 -0
  71. package/types/src/namespace/provisioning.d.ts +4 -0
  72. package/types/src/namespace/proxy-attempt.d.ts +36 -0
  73. package/types/src/namespace/proxy-reads.d.ts +33 -0
  74. package/types/src/namespace/proxy-secrets.d.ts +8 -0
  75. package/types/src/namespace/proxy-source.d.ts +74 -0
  76. package/types/src/namespace/topology.d.ts +9 -0
  77. package/types/src/namespace/types.d.ts +99 -0
  78. package/types/src/namespace/update.d.ts +6 -0
  79. package/types/src/namespace/validation.d.ts +12 -0
  80. package/types/src/namespace.d.ts +9 -0
  81. package/types/src/plan.d.ts +12 -0
  82. package/types/src/provider.d.ts +65 -0
  83. package/types/src/proxy-manifest-carrier.d.ts +16 -0
  84. package/types/src/schema.generated.d.ts +376 -0
  85. package/types/src/service-names.d.ts +4 -0
  86. package/types/src/service-references.d.ts +13 -0
  87. package/types/src/source/constants.d.ts +6 -0
  88. package/types/src/source/port.d.ts +60 -0
  89. package/types/src/source/types.d.ts +4 -0
  90. package/types/src/source/validation.d.ts +19 -0
  91. package/types/src/source.d.ts +2 -0
  92. package/types/src/types.d.ts +121 -0
  93. package/types/src/version-attempt.d.ts +8 -0
@@ -0,0 +1,977 @@
1
+ import { z } from 'zod';
2
+ import type { ZeropsImportResult, ZeropsProcess, ZeropsService, ZeropsServiceAutoscaling } from './types';
3
+ export declare const appVersionSchema: z.ZodObject<{
4
+ id: z.ZodEffects<z.ZodString, string, string>;
5
+ status: z.ZodCatch<z.ZodOptional<z.ZodEnum<["UPLOADING", "WAITING_TO_BUILD", "BUILDING", "BUILD_FAILED", "BUILD_VALIDATION_FAILED", "WAITING_TO_DEPLOY", "DEPLOYING", "DEPLOY_FAILED", "PREPARING_RUNTIME", "PREPARING_RUNTIME_FAILED", "ACTIVE", "BACKUP", "CANCELLED"]>>>;
6
+ serviceStackId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
7
+ projectId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
8
+ sequence: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
9
+ build: z.ZodCatch<z.ZodOptional<z.ZodObject<{
10
+ startDate: z.ZodCatch<z.ZodOptional<z.ZodString>>;
11
+ endDate: z.ZodCatch<z.ZodOptional<z.ZodString>>;
12
+ pipelineStart: z.ZodCatch<z.ZodOptional<z.ZodString>>;
13
+ pipelineFinish: z.ZodCatch<z.ZodOptional<z.ZodString>>;
14
+ pipelineFailed: z.ZodCatch<z.ZodOptional<z.ZodString>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ startDate?: string | undefined;
17
+ endDate?: string | undefined;
18
+ pipelineStart?: string | undefined;
19
+ pipelineFinish?: string | undefined;
20
+ pipelineFailed?: string | undefined;
21
+ }, {
22
+ startDate?: unknown;
23
+ endDate?: unknown;
24
+ pipelineStart?: unknown;
25
+ pipelineFinish?: unknown;
26
+ pipelineFailed?: unknown;
27
+ }>>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ id: string;
30
+ status?: "UPLOADING" | "WAITING_TO_BUILD" | "BUILDING" | "BUILD_FAILED" | "BUILD_VALIDATION_FAILED" | "WAITING_TO_DEPLOY" | "DEPLOYING" | "DEPLOY_FAILED" | "PREPARING_RUNTIME" | "PREPARING_RUNTIME_FAILED" | "ACTIVE" | "BACKUP" | "CANCELLED" | undefined;
31
+ build?: {
32
+ startDate?: string | undefined;
33
+ endDate?: string | undefined;
34
+ pipelineStart?: string | undefined;
35
+ pipelineFinish?: string | undefined;
36
+ pipelineFailed?: string | undefined;
37
+ } | undefined;
38
+ serviceStackId?: string | undefined;
39
+ projectId?: string | undefined;
40
+ sequence?: number | undefined;
41
+ }, {
42
+ id: string;
43
+ status?: unknown;
44
+ build?: unknown;
45
+ serviceStackId?: unknown;
46
+ projectId?: unknown;
47
+ sequence?: unknown;
48
+ }>;
49
+ export declare const processSchema: z.ZodEffects<z.ZodObject<{
50
+ id: z.ZodEffects<z.ZodString, string, string>;
51
+ status: z.ZodCatch<z.ZodOptional<z.ZodString>>;
52
+ actionName: z.ZodCatch<z.ZodOptional<z.ZodString>>;
53
+ serviceStackId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
54
+ appVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
+ id: z.ZodEffects<z.ZodString, string, string>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ id: string;
58
+ }, {
59
+ id: string;
60
+ }>>>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ id: string;
63
+ status?: string | undefined;
64
+ serviceStackId?: string | undefined;
65
+ actionName?: string | undefined;
66
+ appVersion?: {
67
+ id: string;
68
+ } | null | undefined;
69
+ }, {
70
+ id: string;
71
+ status?: unknown;
72
+ serviceStackId?: unknown;
73
+ actionName?: unknown;
74
+ appVersion?: {
75
+ id: string;
76
+ } | null | undefined;
77
+ }>, ZeropsProcess, {
78
+ id: string;
79
+ status?: unknown;
80
+ serviceStackId?: unknown;
81
+ actionName?: unknown;
82
+ appVersion?: {
83
+ id: string;
84
+ } | null | undefined;
85
+ }>;
86
+ export declare const serviceSchema: z.ZodEffects<z.ZodObject<{
87
+ id: z.ZodEffects<z.ZodString, string, string>;
88
+ name: z.ZodString;
89
+ projectId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
90
+ status: z.ZodCatch<z.ZodOptional<z.ZodEnum<["NEW", "CREATING", "ACTIVE", "STOPPING", "STOPPED", "STARTING", "RESTARTING", "RELOADING", "DELETING", "DELETED", "FAILED", "ACTION_FAILED", "UPGRADING", "READY_TO_DEPLOY", "SERVICE_CREATING", "SERVICE_ACTIVE", "SERVICE_STOPPING", "SERVICE_STOPPED", "SERVICE_STARTING", "SERVICE_RESTARTING", "SERVICE_RELOADING", "SERVICE_DELETING", "SERVICE_DELETED", "SERVICE_FAILED", "SERVICE_ACTION_FAILED", "SERVICE_REPAIRING", "SERVICE_CONTAINER_FAILED", "SERVICE_MOVING_CONTAINER", "SERVICE_UPGRADING", "SERVICE_SCALING", "SERVICE_REPAIR_FAILED", "REPAIRING", "CONTAINER_FAILED", "MOVING_CONTAINER", "SCALING", "REPAIR_FAILED"]>>>;
91
+ base: z.ZodCatch<z.ZodOptional<z.ZodString>>;
92
+ activeAppVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
93
+ id: z.ZodEffects<z.ZodString, string, string>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ id: string;
96
+ }, {
97
+ id: string;
98
+ }>>>;
99
+ subdomainAccess: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
100
+ autoscalingProfileId: z.ZodCatch<z.ZodOptional<z.ZodString>>;
101
+ customAutoscaling: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodObject<{
102
+ verticalAutoscaling: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
103
+ cpuMode: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEnum<["DEDICATED", "SHARED"]>>>, "DEDICATED" | "SHARED" | null, "DEDICATED" | "SHARED" | null | undefined>;
104
+ minResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
106
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
107
+ diskGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ cpuCoreCount: number | null;
110
+ memoryGBytes: number | null;
111
+ diskGBytes: number | null;
112
+ }, {
113
+ cpuCoreCount?: number | null | undefined;
114
+ memoryGBytes?: number | null | undefined;
115
+ diskGBytes?: number | null | undefined;
116
+ }>>>, {
117
+ cpuCoreCount: number | null;
118
+ memoryGBytes: number | null;
119
+ diskGBytes: number | null;
120
+ }, {
121
+ cpuCoreCount?: number | null | undefined;
122
+ memoryGBytes?: number | null | undefined;
123
+ diskGBytes?: number | null | undefined;
124
+ } | null | undefined>;
125
+ maxResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
126
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
127
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
128
+ diskGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ cpuCoreCount: number | null;
131
+ memoryGBytes: number | null;
132
+ diskGBytes: number | null;
133
+ }, {
134
+ cpuCoreCount?: number | null | undefined;
135
+ memoryGBytes?: number | null | undefined;
136
+ diskGBytes?: number | null | undefined;
137
+ }>>>, {
138
+ cpuCoreCount: number | null;
139
+ memoryGBytes: number | null;
140
+ diskGBytes: number | null;
141
+ }, {
142
+ cpuCoreCount?: number | null | undefined;
143
+ memoryGBytes?: number | null | undefined;
144
+ diskGBytes?: number | null | undefined;
145
+ } | null | undefined>;
146
+ minFreeResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
147
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
148
+ cpuCorePercent: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
149
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
150
+ memoryPercent: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ cpuCoreCount: number | null;
153
+ memoryGBytes: number | null;
154
+ cpuCorePercent: number | null;
155
+ memoryPercent: number | null;
156
+ }, {
157
+ cpuCoreCount?: number | null | undefined;
158
+ memoryGBytes?: number | null | undefined;
159
+ cpuCorePercent?: number | null | undefined;
160
+ memoryPercent?: number | null | undefined;
161
+ }>>>, {
162
+ cpuCoreCount: number | null;
163
+ memoryGBytes: number | null;
164
+ cpuCorePercent: number | null;
165
+ memoryPercent: number | null;
166
+ }, {
167
+ cpuCoreCount?: number | null | undefined;
168
+ memoryGBytes?: number | null | undefined;
169
+ cpuCorePercent?: number | null | undefined;
170
+ memoryPercent?: number | null | undefined;
171
+ } | null | undefined>;
172
+ startCpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
173
+ swapEnabled: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, boolean | null, boolean | null | undefined>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ cpuMode: "DEDICATED" | "SHARED" | null;
176
+ minResource: {
177
+ cpuCoreCount: number | null;
178
+ memoryGBytes: number | null;
179
+ diskGBytes: number | null;
180
+ };
181
+ maxResource: {
182
+ cpuCoreCount: number | null;
183
+ memoryGBytes: number | null;
184
+ diskGBytes: number | null;
185
+ };
186
+ minFreeResource: {
187
+ cpuCoreCount: number | null;
188
+ memoryGBytes: number | null;
189
+ cpuCorePercent: number | null;
190
+ memoryPercent: number | null;
191
+ };
192
+ startCpuCoreCount: number | null;
193
+ swapEnabled: boolean | null;
194
+ }, {
195
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
196
+ minResource?: {
197
+ cpuCoreCount?: number | null | undefined;
198
+ memoryGBytes?: number | null | undefined;
199
+ diskGBytes?: number | null | undefined;
200
+ } | null | undefined;
201
+ maxResource?: {
202
+ cpuCoreCount?: number | null | undefined;
203
+ memoryGBytes?: number | null | undefined;
204
+ diskGBytes?: number | null | undefined;
205
+ } | null | undefined;
206
+ minFreeResource?: {
207
+ cpuCoreCount?: number | null | undefined;
208
+ memoryGBytes?: number | null | undefined;
209
+ cpuCorePercent?: number | null | undefined;
210
+ memoryPercent?: number | null | undefined;
211
+ } | null | undefined;
212
+ startCpuCoreCount?: number | null | undefined;
213
+ swapEnabled?: boolean | null | undefined;
214
+ }>>>, {
215
+ cpuMode: "DEDICATED" | "SHARED" | null;
216
+ minResource: {
217
+ cpuCoreCount: number | null;
218
+ memoryGBytes: number | null;
219
+ diskGBytes: number | null;
220
+ };
221
+ maxResource: {
222
+ cpuCoreCount: number | null;
223
+ memoryGBytes: number | null;
224
+ diskGBytes: number | null;
225
+ };
226
+ minFreeResource: {
227
+ cpuCoreCount: number | null;
228
+ memoryGBytes: number | null;
229
+ cpuCorePercent: number | null;
230
+ memoryPercent: number | null;
231
+ };
232
+ startCpuCoreCount: number | null;
233
+ swapEnabled: boolean | null;
234
+ }, {
235
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
236
+ minResource?: {
237
+ cpuCoreCount?: number | null | undefined;
238
+ memoryGBytes?: number | null | undefined;
239
+ diskGBytes?: number | null | undefined;
240
+ } | null | undefined;
241
+ maxResource?: {
242
+ cpuCoreCount?: number | null | undefined;
243
+ memoryGBytes?: number | null | undefined;
244
+ diskGBytes?: number | null | undefined;
245
+ } | null | undefined;
246
+ minFreeResource?: {
247
+ cpuCoreCount?: number | null | undefined;
248
+ memoryGBytes?: number | null | undefined;
249
+ cpuCorePercent?: number | null | undefined;
250
+ memoryPercent?: number | null | undefined;
251
+ } | null | undefined;
252
+ startCpuCoreCount?: number | null | undefined;
253
+ swapEnabled?: boolean | null | undefined;
254
+ } | null | undefined>;
255
+ horizontalAutoscaling: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
256
+ minContainerCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
257
+ maxContainerCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ minContainerCount: number | null;
260
+ maxContainerCount: number | null;
261
+ }, {
262
+ minContainerCount?: number | null | undefined;
263
+ maxContainerCount?: number | null | undefined;
264
+ }>>>, {
265
+ minContainerCount: number | null;
266
+ maxContainerCount: number | null;
267
+ }, {
268
+ minContainerCount?: number | null | undefined;
269
+ maxContainerCount?: number | null | undefined;
270
+ } | null | undefined>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ verticalAutoscaling: {
273
+ cpuMode: "DEDICATED" | "SHARED" | null;
274
+ minResource: {
275
+ cpuCoreCount: number | null;
276
+ memoryGBytes: number | null;
277
+ diskGBytes: number | null;
278
+ };
279
+ maxResource: {
280
+ cpuCoreCount: number | null;
281
+ memoryGBytes: number | null;
282
+ diskGBytes: number | null;
283
+ };
284
+ minFreeResource: {
285
+ cpuCoreCount: number | null;
286
+ memoryGBytes: number | null;
287
+ cpuCorePercent: number | null;
288
+ memoryPercent: number | null;
289
+ };
290
+ startCpuCoreCount: number | null;
291
+ swapEnabled: boolean | null;
292
+ };
293
+ horizontalAutoscaling: {
294
+ minContainerCount: number | null;
295
+ maxContainerCount: number | null;
296
+ };
297
+ }, {
298
+ verticalAutoscaling?: {
299
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
300
+ minResource?: {
301
+ cpuCoreCount?: number | null | undefined;
302
+ memoryGBytes?: number | null | undefined;
303
+ diskGBytes?: number | null | undefined;
304
+ } | null | undefined;
305
+ maxResource?: {
306
+ cpuCoreCount?: number | null | undefined;
307
+ memoryGBytes?: number | null | undefined;
308
+ diskGBytes?: number | null | undefined;
309
+ } | null | undefined;
310
+ minFreeResource?: {
311
+ cpuCoreCount?: number | null | undefined;
312
+ memoryGBytes?: number | null | undefined;
313
+ cpuCorePercent?: number | null | undefined;
314
+ memoryPercent?: number | null | undefined;
315
+ } | null | undefined;
316
+ startCpuCoreCount?: number | null | undefined;
317
+ swapEnabled?: boolean | null | undefined;
318
+ } | null | undefined;
319
+ horizontalAutoscaling?: {
320
+ minContainerCount?: number | null | undefined;
321
+ maxContainerCount?: number | null | undefined;
322
+ } | null | undefined;
323
+ }>, ZeropsServiceAutoscaling, {
324
+ verticalAutoscaling?: {
325
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
326
+ minResource?: {
327
+ cpuCoreCount?: number | null | undefined;
328
+ memoryGBytes?: number | null | undefined;
329
+ diskGBytes?: number | null | undefined;
330
+ } | null | undefined;
331
+ maxResource?: {
332
+ cpuCoreCount?: number | null | undefined;
333
+ memoryGBytes?: number | null | undefined;
334
+ diskGBytes?: number | null | undefined;
335
+ } | null | undefined;
336
+ minFreeResource?: {
337
+ cpuCoreCount?: number | null | undefined;
338
+ memoryGBytes?: number | null | undefined;
339
+ cpuCorePercent?: number | null | undefined;
340
+ memoryPercent?: number | null | undefined;
341
+ } | null | undefined;
342
+ startCpuCoreCount?: number | null | undefined;
343
+ swapEnabled?: boolean | null | undefined;
344
+ } | null | undefined;
345
+ horizontalAutoscaling?: {
346
+ minContainerCount?: number | null | undefined;
347
+ maxContainerCount?: number | null | undefined;
348
+ } | null | undefined;
349
+ }>>>;
350
+ currentAutoscaling: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodObject<{
351
+ verticalAutoscaling: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
352
+ cpuMode: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEnum<["DEDICATED", "SHARED"]>>>, "DEDICATED" | "SHARED" | null, "DEDICATED" | "SHARED" | null | undefined>;
353
+ minResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
354
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
355
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
356
+ diskGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ cpuCoreCount: number | null;
359
+ memoryGBytes: number | null;
360
+ diskGBytes: number | null;
361
+ }, {
362
+ cpuCoreCount?: number | null | undefined;
363
+ memoryGBytes?: number | null | undefined;
364
+ diskGBytes?: number | null | undefined;
365
+ }>>>, {
366
+ cpuCoreCount: number | null;
367
+ memoryGBytes: number | null;
368
+ diskGBytes: number | null;
369
+ }, {
370
+ cpuCoreCount?: number | null | undefined;
371
+ memoryGBytes?: number | null | undefined;
372
+ diskGBytes?: number | null | undefined;
373
+ } | null | undefined>;
374
+ maxResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
375
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
376
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
377
+ diskGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ cpuCoreCount: number | null;
380
+ memoryGBytes: number | null;
381
+ diskGBytes: number | null;
382
+ }, {
383
+ cpuCoreCount?: number | null | undefined;
384
+ memoryGBytes?: number | null | undefined;
385
+ diskGBytes?: number | null | undefined;
386
+ }>>>, {
387
+ cpuCoreCount: number | null;
388
+ memoryGBytes: number | null;
389
+ diskGBytes: number | null;
390
+ }, {
391
+ cpuCoreCount?: number | null | undefined;
392
+ memoryGBytes?: number | null | undefined;
393
+ diskGBytes?: number | null | undefined;
394
+ } | null | undefined>;
395
+ minFreeResource: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
396
+ cpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
397
+ cpuCorePercent: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
398
+ memoryGBytes: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
399
+ memoryPercent: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ cpuCoreCount: number | null;
402
+ memoryGBytes: number | null;
403
+ cpuCorePercent: number | null;
404
+ memoryPercent: number | null;
405
+ }, {
406
+ cpuCoreCount?: number | null | undefined;
407
+ memoryGBytes?: number | null | undefined;
408
+ cpuCorePercent?: number | null | undefined;
409
+ memoryPercent?: number | null | undefined;
410
+ }>>>, {
411
+ cpuCoreCount: number | null;
412
+ memoryGBytes: number | null;
413
+ cpuCorePercent: number | null;
414
+ memoryPercent: number | null;
415
+ }, {
416
+ cpuCoreCount?: number | null | undefined;
417
+ memoryGBytes?: number | null | undefined;
418
+ cpuCorePercent?: number | null | undefined;
419
+ memoryPercent?: number | null | undefined;
420
+ } | null | undefined>;
421
+ startCpuCoreCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
422
+ swapEnabled: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, boolean | null, boolean | null | undefined>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ cpuMode: "DEDICATED" | "SHARED" | null;
425
+ minResource: {
426
+ cpuCoreCount: number | null;
427
+ memoryGBytes: number | null;
428
+ diskGBytes: number | null;
429
+ };
430
+ maxResource: {
431
+ cpuCoreCount: number | null;
432
+ memoryGBytes: number | null;
433
+ diskGBytes: number | null;
434
+ };
435
+ minFreeResource: {
436
+ cpuCoreCount: number | null;
437
+ memoryGBytes: number | null;
438
+ cpuCorePercent: number | null;
439
+ memoryPercent: number | null;
440
+ };
441
+ startCpuCoreCount: number | null;
442
+ swapEnabled: boolean | null;
443
+ }, {
444
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
445
+ minResource?: {
446
+ cpuCoreCount?: number | null | undefined;
447
+ memoryGBytes?: number | null | undefined;
448
+ diskGBytes?: number | null | undefined;
449
+ } | null | undefined;
450
+ maxResource?: {
451
+ cpuCoreCount?: number | null | undefined;
452
+ memoryGBytes?: number | null | undefined;
453
+ diskGBytes?: number | null | undefined;
454
+ } | null | undefined;
455
+ minFreeResource?: {
456
+ cpuCoreCount?: number | null | undefined;
457
+ memoryGBytes?: number | null | undefined;
458
+ cpuCorePercent?: number | null | undefined;
459
+ memoryPercent?: number | null | undefined;
460
+ } | null | undefined;
461
+ startCpuCoreCount?: number | null | undefined;
462
+ swapEnabled?: boolean | null | undefined;
463
+ }>>>, {
464
+ cpuMode: "DEDICATED" | "SHARED" | null;
465
+ minResource: {
466
+ cpuCoreCount: number | null;
467
+ memoryGBytes: number | null;
468
+ diskGBytes: number | null;
469
+ };
470
+ maxResource: {
471
+ cpuCoreCount: number | null;
472
+ memoryGBytes: number | null;
473
+ diskGBytes: number | null;
474
+ };
475
+ minFreeResource: {
476
+ cpuCoreCount: number | null;
477
+ memoryGBytes: number | null;
478
+ cpuCorePercent: number | null;
479
+ memoryPercent: number | null;
480
+ };
481
+ startCpuCoreCount: number | null;
482
+ swapEnabled: boolean | null;
483
+ }, {
484
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
485
+ minResource?: {
486
+ cpuCoreCount?: number | null | undefined;
487
+ memoryGBytes?: number | null | undefined;
488
+ diskGBytes?: number | null | undefined;
489
+ } | null | undefined;
490
+ maxResource?: {
491
+ cpuCoreCount?: number | null | undefined;
492
+ memoryGBytes?: number | null | undefined;
493
+ diskGBytes?: number | null | undefined;
494
+ } | null | undefined;
495
+ minFreeResource?: {
496
+ cpuCoreCount?: number | null | undefined;
497
+ memoryGBytes?: number | null | undefined;
498
+ cpuCorePercent?: number | null | undefined;
499
+ memoryPercent?: number | null | undefined;
500
+ } | null | undefined;
501
+ startCpuCoreCount?: number | null | undefined;
502
+ swapEnabled?: boolean | null | undefined;
503
+ } | null | undefined>;
504
+ horizontalAutoscaling: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodObject<{
505
+ minContainerCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
506
+ maxContainerCount: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null, number | null | undefined>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ minContainerCount: number | null;
509
+ maxContainerCount: number | null;
510
+ }, {
511
+ minContainerCount?: number | null | undefined;
512
+ maxContainerCount?: number | null | undefined;
513
+ }>>>, {
514
+ minContainerCount: number | null;
515
+ maxContainerCount: number | null;
516
+ }, {
517
+ minContainerCount?: number | null | undefined;
518
+ maxContainerCount?: number | null | undefined;
519
+ } | null | undefined>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ verticalAutoscaling: {
522
+ cpuMode: "DEDICATED" | "SHARED" | null;
523
+ minResource: {
524
+ cpuCoreCount: number | null;
525
+ memoryGBytes: number | null;
526
+ diskGBytes: number | null;
527
+ };
528
+ maxResource: {
529
+ cpuCoreCount: number | null;
530
+ memoryGBytes: number | null;
531
+ diskGBytes: number | null;
532
+ };
533
+ minFreeResource: {
534
+ cpuCoreCount: number | null;
535
+ memoryGBytes: number | null;
536
+ cpuCorePercent: number | null;
537
+ memoryPercent: number | null;
538
+ };
539
+ startCpuCoreCount: number | null;
540
+ swapEnabled: boolean | null;
541
+ };
542
+ horizontalAutoscaling: {
543
+ minContainerCount: number | null;
544
+ maxContainerCount: number | null;
545
+ };
546
+ }, {
547
+ verticalAutoscaling?: {
548
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
549
+ minResource?: {
550
+ cpuCoreCount?: number | null | undefined;
551
+ memoryGBytes?: number | null | undefined;
552
+ diskGBytes?: number | null | undefined;
553
+ } | null | undefined;
554
+ maxResource?: {
555
+ cpuCoreCount?: number | null | undefined;
556
+ memoryGBytes?: number | null | undefined;
557
+ diskGBytes?: number | null | undefined;
558
+ } | null | undefined;
559
+ minFreeResource?: {
560
+ cpuCoreCount?: number | null | undefined;
561
+ memoryGBytes?: number | null | undefined;
562
+ cpuCorePercent?: number | null | undefined;
563
+ memoryPercent?: number | null | undefined;
564
+ } | null | undefined;
565
+ startCpuCoreCount?: number | null | undefined;
566
+ swapEnabled?: boolean | null | undefined;
567
+ } | null | undefined;
568
+ horizontalAutoscaling?: {
569
+ minContainerCount?: number | null | undefined;
570
+ maxContainerCount?: number | null | undefined;
571
+ } | null | undefined;
572
+ }>, ZeropsServiceAutoscaling, {
573
+ verticalAutoscaling?: {
574
+ cpuMode?: "DEDICATED" | "SHARED" | null | undefined;
575
+ minResource?: {
576
+ cpuCoreCount?: number | null | undefined;
577
+ memoryGBytes?: number | null | undefined;
578
+ diskGBytes?: number | null | undefined;
579
+ } | null | undefined;
580
+ maxResource?: {
581
+ cpuCoreCount?: number | null | undefined;
582
+ memoryGBytes?: number | null | undefined;
583
+ diskGBytes?: number | null | undefined;
584
+ } | null | undefined;
585
+ minFreeResource?: {
586
+ cpuCoreCount?: number | null | undefined;
587
+ memoryGBytes?: number | null | undefined;
588
+ cpuCorePercent?: number | null | undefined;
589
+ memoryPercent?: number | null | undefined;
590
+ } | null | undefined;
591
+ startCpuCoreCount?: number | null | undefined;
592
+ swapEnabled?: boolean | null | undefined;
593
+ } | null | undefined;
594
+ horizontalAutoscaling?: {
595
+ minContainerCount?: number | null | undefined;
596
+ maxContainerCount?: number | null | undefined;
597
+ } | null | undefined;
598
+ }>>>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ name: string;
601
+ id: string;
602
+ status?: "ACTIVE" | "FAILED" | "NEW" | "CREATING" | "DELETING" | "STOPPING" | "STOPPED" | "STARTING" | "RESTARTING" | "RELOADING" | "DELETED" | "ACTION_FAILED" | "UPGRADING" | "READY_TO_DEPLOY" | "SERVICE_CREATING" | "SERVICE_ACTIVE" | "SERVICE_STOPPING" | "SERVICE_STOPPED" | "SERVICE_STARTING" | "SERVICE_RESTARTING" | "SERVICE_RELOADING" | "SERVICE_DELETING" | "SERVICE_DELETED" | "SERVICE_FAILED" | "SERVICE_ACTION_FAILED" | "SERVICE_REPAIRING" | "SERVICE_CONTAINER_FAILED" | "SERVICE_MOVING_CONTAINER" | "SERVICE_UPGRADING" | "SERVICE_SCALING" | "SERVICE_REPAIR_FAILED" | "REPAIRING" | "CONTAINER_FAILED" | "MOVING_CONTAINER" | "SCALING" | "REPAIR_FAILED" | undefined;
603
+ base?: string | undefined;
604
+ projectId?: string | undefined;
605
+ activeAppVersion?: {
606
+ id: string;
607
+ } | null | undefined;
608
+ subdomainAccess?: boolean | undefined;
609
+ autoscalingProfileId?: string | undefined;
610
+ customAutoscaling?: ZeropsServiceAutoscaling | undefined;
611
+ currentAutoscaling?: ZeropsServiceAutoscaling | undefined;
612
+ }, {
613
+ name: string;
614
+ id: string;
615
+ status?: unknown;
616
+ base?: unknown;
617
+ projectId?: unknown;
618
+ activeAppVersion?: {
619
+ id: string;
620
+ } | null | undefined;
621
+ subdomainAccess?: unknown;
622
+ autoscalingProfileId?: unknown;
623
+ customAutoscaling?: unknown;
624
+ currentAutoscaling?: unknown;
625
+ }>, ZeropsService, {
626
+ name: string;
627
+ id: string;
628
+ status?: unknown;
629
+ base?: unknown;
630
+ projectId?: unknown;
631
+ activeAppVersion?: {
632
+ id: string;
633
+ } | null | undefined;
634
+ subdomainAccess?: unknown;
635
+ autoscalingProfileId?: unknown;
636
+ customAutoscaling?: unknown;
637
+ currentAutoscaling?: unknown;
638
+ }>;
639
+ export declare const projectSchema: z.ZodObject<{
640
+ id: z.ZodEffects<z.ZodString, string, string>;
641
+ name: z.ZodString;
642
+ status: z.ZodCatch<z.ZodOptional<z.ZodEnum<["NEW", "CREATING", "ACTIVE", "DELETING", "FAILED", "STOPPING", "STOPPED", "STARTING"]>>>;
643
+ mode: z.ZodCatch<z.ZodOptional<z.ZodEnum<["LIGHT", "SERIOUS"]>>>;
644
+ description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
645
+ tagList: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ name: string;
648
+ id: string;
649
+ status?: "ACTIVE" | "FAILED" | "NEW" | "CREATING" | "DELETING" | "STOPPING" | "STOPPED" | "STARTING" | undefined;
650
+ description?: string | undefined;
651
+ mode?: "LIGHT" | "SERIOUS" | undefined;
652
+ tagList?: string[] | undefined;
653
+ }, {
654
+ name: string;
655
+ id: string;
656
+ status?: unknown;
657
+ description?: unknown;
658
+ mode?: unknown;
659
+ tagList?: unknown;
660
+ }>;
661
+ export declare const integrationTokenSchema: z.ZodObject<{
662
+ id: z.ZodEffects<z.ZodString, string, string>;
663
+ name: z.ZodString;
664
+ token: z.ZodEffects<z.ZodString, string, string>;
665
+ projects: z.ZodArray<z.ZodObject<{
666
+ projectId: z.ZodEffects<z.ZodString, string, string>;
667
+ roleCode: z.ZodCatch<z.ZodOptional<z.ZodEnum<["OWNER", "ADMIN", "BASIC_USER", "READ_ONLY", "NO_ACCESS"]>>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ projectId: string;
670
+ roleCode?: "OWNER" | "ADMIN" | "BASIC_USER" | "READ_ONLY" | "NO_ACCESS" | undefined;
671
+ }, {
672
+ projectId: string;
673
+ roleCode?: unknown;
674
+ }>, "many">;
675
+ roleCode: z.ZodCatch<z.ZodOptional<z.ZodEnum<["OWNER", "ADMIN", "BASIC_USER", "READ_ONLY", "NO_ACCESS"]>>>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ name: string;
678
+ token: string;
679
+ id: string;
680
+ projects: {
681
+ projectId: string;
682
+ roleCode?: "OWNER" | "ADMIN" | "BASIC_USER" | "READ_ONLY" | "NO_ACCESS" | undefined;
683
+ }[];
684
+ roleCode?: "OWNER" | "ADMIN" | "BASIC_USER" | "READ_ONLY" | "NO_ACCESS" | undefined;
685
+ }, {
686
+ name: string;
687
+ token: string;
688
+ id: string;
689
+ projects: {
690
+ projectId: string;
691
+ roleCode?: unknown;
692
+ }[];
693
+ roleCode?: unknown;
694
+ }>;
695
+ export declare const userInfoSchema: z.ZodObject<{
696
+ id: z.ZodEffects<z.ZodString, string, string>;
697
+ email: z.ZodString;
698
+ }, "strip", z.ZodTypeAny, {
699
+ email: string;
700
+ id: string;
701
+ }, {
702
+ email: string;
703
+ id: string;
704
+ }>;
705
+ export declare const serviceEnvSchema: z.ZodEffects<z.ZodObject<{
706
+ id: z.ZodEffects<z.ZodString, string, string>;
707
+ key: z.ZodEffects<z.ZodString, string, string>;
708
+ content: z.ZodString;
709
+ serviceStackId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
710
+ type: z.ZodCatch<z.ZodOptional<z.ZodString>>;
711
+ sensitive: z.ZodBoolean;
712
+ }, "strip", z.ZodTypeAny, {
713
+ key: string;
714
+ id: string;
715
+ sensitive: boolean;
716
+ content: string;
717
+ type?: string | undefined;
718
+ serviceStackId?: string | undefined;
719
+ }, {
720
+ key: string;
721
+ id: string;
722
+ sensitive: boolean;
723
+ content: string;
724
+ type?: unknown;
725
+ serviceStackId?: unknown;
726
+ }>, (import("./types").ZeropsServiceEnvRecord & {
727
+ sensitive: false;
728
+ content: string;
729
+ }) | (import("./types").ZeropsServiceEnvRecord & {
730
+ sensitive: true;
731
+ }), {
732
+ key: string;
733
+ id: string;
734
+ sensitive: boolean;
735
+ content: string;
736
+ type?: unknown;
737
+ serviceStackId?: unknown;
738
+ }>;
739
+ export declare const importResultSchema: z.ZodEffects<z.ZodObject<{
740
+ projectId: z.ZodEffects<z.ZodString, string, string>;
741
+ projectName: z.ZodCatch<z.ZodOptional<z.ZodString>>;
742
+ serviceStacks: z.ZodArray<z.ZodObject<{
743
+ id: z.ZodEffects<z.ZodString, string, string>;
744
+ name: z.ZodString;
745
+ processes: z.ZodArray<z.ZodEffects<z.ZodObject<{
746
+ id: z.ZodEffects<z.ZodString, string, string>;
747
+ status: z.ZodCatch<z.ZodOptional<z.ZodString>>;
748
+ actionName: z.ZodCatch<z.ZodOptional<z.ZodString>>;
749
+ serviceStackId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
750
+ appVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
751
+ id: z.ZodEffects<z.ZodString, string, string>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ id: string;
754
+ }, {
755
+ id: string;
756
+ }>>>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ id: string;
759
+ status?: string | undefined;
760
+ serviceStackId?: string | undefined;
761
+ actionName?: string | undefined;
762
+ appVersion?: {
763
+ id: string;
764
+ } | null | undefined;
765
+ }, {
766
+ id: string;
767
+ status?: unknown;
768
+ serviceStackId?: unknown;
769
+ actionName?: unknown;
770
+ appVersion?: {
771
+ id: string;
772
+ } | null | undefined;
773
+ }>, ZeropsProcess, {
774
+ id: string;
775
+ status?: unknown;
776
+ serviceStackId?: unknown;
777
+ actionName?: unknown;
778
+ appVersion?: {
779
+ id: string;
780
+ } | null | undefined;
781
+ }>, "many">;
782
+ }, "strip", z.ZodTypeAny, {
783
+ name: string;
784
+ id: string;
785
+ processes: ZeropsProcess[];
786
+ }, {
787
+ name: string;
788
+ id: string;
789
+ processes: {
790
+ id: string;
791
+ status?: unknown;
792
+ serviceStackId?: unknown;
793
+ actionName?: unknown;
794
+ appVersion?: {
795
+ id: string;
796
+ } | null | undefined;
797
+ }[];
798
+ }>, "many">;
799
+ }, "strip", z.ZodTypeAny, {
800
+ projectId: string;
801
+ serviceStacks: {
802
+ name: string;
803
+ id: string;
804
+ processes: ZeropsProcess[];
805
+ }[];
806
+ projectName?: string | undefined;
807
+ }, {
808
+ projectId: string;
809
+ serviceStacks: {
810
+ name: string;
811
+ id: string;
812
+ processes: {
813
+ id: string;
814
+ status?: unknown;
815
+ serviceStackId?: unknown;
816
+ actionName?: unknown;
817
+ appVersion?: {
818
+ id: string;
819
+ } | null | undefined;
820
+ }[];
821
+ }[];
822
+ projectName?: unknown;
823
+ }>, ZeropsImportResult, {
824
+ projectId: string;
825
+ serviceStacks: {
826
+ name: string;
827
+ id: string;
828
+ processes: {
829
+ id: string;
830
+ status?: unknown;
831
+ serviceStackId?: unknown;
832
+ actionName?: unknown;
833
+ appVersion?: {
834
+ id: string;
835
+ } | null | undefined;
836
+ }[];
837
+ }[];
838
+ projectName?: unknown;
839
+ }>;
840
+ export declare const logAccessSchema: z.ZodObject<{
841
+ url: z.ZodString;
842
+ urlPlain: z.ZodString;
843
+ urlInfo: z.ZodString;
844
+ urlUi: z.ZodString;
845
+ accessToken: z.ZodString;
846
+ expiration: z.ZodString;
847
+ }, "strip", z.ZodTypeAny, {
848
+ url: string;
849
+ urlPlain: string;
850
+ urlInfo: string;
851
+ urlUi: string;
852
+ accessToken: string;
853
+ expiration: string;
854
+ }, {
855
+ url: string;
856
+ urlPlain: string;
857
+ urlInfo: string;
858
+ urlUi: string;
859
+ accessToken: string;
860
+ expiration: string;
861
+ }>;
862
+ /** Parse a response, never echoing it: an issue can quote the value it rejected, and these carry credentials. */
863
+ export declare const readResponse: <Output>(label: string, schema: z.ZodType<Output, z.ZodTypeDef, unknown>, value: unknown) => Output;
864
+ export declare const appVersionListSchema: z.ZodObject<{
865
+ list: z.ZodArray<z.ZodObject<{
866
+ id: z.ZodEffects<z.ZodString, string, string>;
867
+ status: z.ZodCatch<z.ZodOptional<z.ZodEnum<["UPLOADING", "WAITING_TO_BUILD", "BUILDING", "BUILD_FAILED", "BUILD_VALIDATION_FAILED", "WAITING_TO_DEPLOY", "DEPLOYING", "DEPLOY_FAILED", "PREPARING_RUNTIME", "PREPARING_RUNTIME_FAILED", "ACTIVE", "BACKUP", "CANCELLED"]>>>;
868
+ serviceStackId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
869
+ projectId: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
870
+ sequence: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
871
+ build: z.ZodCatch<z.ZodOptional<z.ZodObject<{
872
+ startDate: z.ZodCatch<z.ZodOptional<z.ZodString>>;
873
+ endDate: z.ZodCatch<z.ZodOptional<z.ZodString>>;
874
+ pipelineStart: z.ZodCatch<z.ZodOptional<z.ZodString>>;
875
+ pipelineFinish: z.ZodCatch<z.ZodOptional<z.ZodString>>;
876
+ pipelineFailed: z.ZodCatch<z.ZodOptional<z.ZodString>>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ startDate?: string | undefined;
879
+ endDate?: string | undefined;
880
+ pipelineStart?: string | undefined;
881
+ pipelineFinish?: string | undefined;
882
+ pipelineFailed?: string | undefined;
883
+ }, {
884
+ startDate?: unknown;
885
+ endDate?: unknown;
886
+ pipelineStart?: unknown;
887
+ pipelineFinish?: unknown;
888
+ pipelineFailed?: unknown;
889
+ }>>>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ id: string;
892
+ status?: "UPLOADING" | "WAITING_TO_BUILD" | "BUILDING" | "BUILD_FAILED" | "BUILD_VALIDATION_FAILED" | "WAITING_TO_DEPLOY" | "DEPLOYING" | "DEPLOY_FAILED" | "PREPARING_RUNTIME" | "PREPARING_RUNTIME_FAILED" | "ACTIVE" | "BACKUP" | "CANCELLED" | undefined;
893
+ build?: {
894
+ startDate?: string | undefined;
895
+ endDate?: string | undefined;
896
+ pipelineStart?: string | undefined;
897
+ pipelineFinish?: string | undefined;
898
+ pipelineFailed?: string | undefined;
899
+ } | undefined;
900
+ serviceStackId?: string | undefined;
901
+ projectId?: string | undefined;
902
+ sequence?: number | undefined;
903
+ }, {
904
+ id: string;
905
+ status?: unknown;
906
+ build?: unknown;
907
+ serviceStackId?: unknown;
908
+ projectId?: unknown;
909
+ sequence?: unknown;
910
+ }>, "many">;
911
+ }, "strip", z.ZodTypeAny, {
912
+ list: {
913
+ id: string;
914
+ status?: "UPLOADING" | "WAITING_TO_BUILD" | "BUILDING" | "BUILD_FAILED" | "BUILD_VALIDATION_FAILED" | "WAITING_TO_DEPLOY" | "DEPLOYING" | "DEPLOY_FAILED" | "PREPARING_RUNTIME" | "PREPARING_RUNTIME_FAILED" | "ACTIVE" | "BACKUP" | "CANCELLED" | undefined;
915
+ build?: {
916
+ startDate?: string | undefined;
917
+ endDate?: string | undefined;
918
+ pipelineStart?: string | undefined;
919
+ pipelineFinish?: string | undefined;
920
+ pipelineFailed?: string | undefined;
921
+ } | undefined;
922
+ serviceStackId?: string | undefined;
923
+ projectId?: string | undefined;
924
+ sequence?: number | undefined;
925
+ }[];
926
+ }, {
927
+ list: {
928
+ id: string;
929
+ status?: unknown;
930
+ build?: unknown;
931
+ serviceStackId?: unknown;
932
+ projectId?: unknown;
933
+ sequence?: unknown;
934
+ }[];
935
+ }>;
936
+ export declare const projectMatchesSchema: z.ZodObject<{
937
+ projects: z.ZodArray<z.ZodObject<{
938
+ id: z.ZodEffects<z.ZodString, string, string>;
939
+ name: z.ZodString;
940
+ status: z.ZodCatch<z.ZodOptional<z.ZodEnum<["NEW", "CREATING", "ACTIVE", "DELETING", "FAILED", "STOPPING", "STOPPED", "STARTING"]>>>;
941
+ mode: z.ZodCatch<z.ZodOptional<z.ZodEnum<["LIGHT", "SERIOUS"]>>>;
942
+ description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
943
+ tagList: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ name: string;
946
+ id: string;
947
+ status?: "ACTIVE" | "FAILED" | "NEW" | "CREATING" | "DELETING" | "STOPPING" | "STOPPED" | "STARTING" | undefined;
948
+ description?: string | undefined;
949
+ mode?: "LIGHT" | "SERIOUS" | undefined;
950
+ tagList?: string[] | undefined;
951
+ }, {
952
+ name: string;
953
+ id: string;
954
+ status?: unknown;
955
+ description?: unknown;
956
+ mode?: unknown;
957
+ tagList?: unknown;
958
+ }>, "many">;
959
+ }, "strip", z.ZodTypeAny, {
960
+ projects: {
961
+ name: string;
962
+ id: string;
963
+ status?: "ACTIVE" | "FAILED" | "NEW" | "CREATING" | "DELETING" | "STOPPING" | "STOPPED" | "STARTING" | undefined;
964
+ description?: string | undefined;
965
+ mode?: "LIGHT" | "SERIOUS" | undefined;
966
+ tagList?: string[] | undefined;
967
+ }[];
968
+ }, {
969
+ projects: {
970
+ name: string;
971
+ id: string;
972
+ status?: unknown;
973
+ description?: unknown;
974
+ mode?: unknown;
975
+ tagList?: unknown;
976
+ }[];
977
+ }>;