@planecloud/validation 1.0.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.
@@ -0,0 +1,672 @@
1
+ import { z } from "zod";
2
+ export declare const ConnectionConfigSchema: z.ZodObject<{
3
+ host: z.ZodString;
4
+ port: z.ZodNumber;
5
+ username: z.ZodOptional<z.ZodString>;
6
+ database: z.ZodOptional<z.ZodString>;
7
+ ssl: z.ZodBoolean;
8
+ password: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ host: string;
11
+ port: number;
12
+ ssl: boolean;
13
+ password?: string | undefined;
14
+ username?: string | undefined;
15
+ database?: string | undefined;
16
+ }, {
17
+ host: string;
18
+ port: number;
19
+ ssl: boolean;
20
+ password?: string | undefined;
21
+ username?: string | undefined;
22
+ database?: string | undefined;
23
+ }>;
24
+ export declare const InstanceMetadataSchema: z.ZodObject<{
25
+ version: z.ZodString;
26
+ configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
27
+ healthCheckUrl: z.ZodOptional<z.ZodString>;
28
+ deployedBy: z.ZodString;
29
+ deployedAt: z.ZodDate;
30
+ lastHealthCheck: z.ZodOptional<z.ZodDate>;
31
+ provider: z.ZodObject<{
32
+ name: z.ZodString;
33
+ vmId: z.ZodOptional<z.ZodString>;
34
+ regionId: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ name: string;
37
+ regionId: string;
38
+ vmId?: string | undefined;
39
+ }, {
40
+ name: string;
41
+ regionId: string;
42
+ vmId?: string | undefined;
43
+ }>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ provider: {
46
+ name: string;
47
+ regionId: string;
48
+ vmId?: string | undefined;
49
+ };
50
+ version: string;
51
+ configuration: Record<string, any>;
52
+ deployedBy: string;
53
+ deployedAt: Date;
54
+ healthCheckUrl?: string | undefined;
55
+ lastHealthCheck?: Date | undefined;
56
+ }, {
57
+ provider: {
58
+ name: string;
59
+ regionId: string;
60
+ vmId?: string | undefined;
61
+ };
62
+ version: string;
63
+ configuration: Record<string, any>;
64
+ deployedBy: string;
65
+ deployedAt: Date;
66
+ healthCheckUrl?: string | undefined;
67
+ lastHealthCheck?: Date | undefined;
68
+ }>;
69
+ export declare const InstanceSchema: z.ZodObject<{
70
+ id: z.ZodString;
71
+ createdAt: z.ZodDate;
72
+ updatedAt: z.ZodDate;
73
+ } & {
74
+ organizationId: z.ZodString;
75
+ name: z.ZodString;
76
+ slug: z.ZodString;
77
+ type: z.ZodEnum<["DATABASE", "APPLICATION", "CACHE", "QUEUE"]>;
78
+ status: z.ZodEnum<["NONE", "PROVISIONING", "RUNNING", "RECONFIGURING", "SUSPENDED", "DELETING", "TERMINATED", "ERROR"]>;
79
+ specification: z.ZodObject<{
80
+ cpu: z.ZodNumber;
81
+ ram: z.ZodNumber;
82
+ storage: z.ZodNumber;
83
+ }, "strip", z.ZodTypeAny, {
84
+ cpu: number;
85
+ ram: number;
86
+ storage: number;
87
+ }, {
88
+ cpu: number;
89
+ ram: number;
90
+ storage: number;
91
+ }>;
92
+ region: z.ZodObject<{
93
+ id: z.ZodString;
94
+ name: z.ZodString;
95
+ code: z.ZodString;
96
+ provider: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ id: string;
99
+ code: string;
100
+ name: string;
101
+ provider: string;
102
+ }, {
103
+ id: string;
104
+ code: string;
105
+ name: string;
106
+ provider: string;
107
+ }>;
108
+ connectionConfig: z.ZodObject<{
109
+ host: z.ZodString;
110
+ port: z.ZodNumber;
111
+ username: z.ZodOptional<z.ZodString>;
112
+ database: z.ZodOptional<z.ZodString>;
113
+ ssl: z.ZodBoolean;
114
+ password: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ host: string;
117
+ port: number;
118
+ ssl: boolean;
119
+ password?: string | undefined;
120
+ username?: string | undefined;
121
+ database?: string | undefined;
122
+ }, {
123
+ host: string;
124
+ port: number;
125
+ ssl: boolean;
126
+ password?: string | undefined;
127
+ username?: string | undefined;
128
+ database?: string | undefined;
129
+ }>;
130
+ virtualMachineId: z.ZodOptional<z.ZodString>;
131
+ version: z.ZodString;
132
+ tags: z.ZodRecord<z.ZodString, z.ZodString>;
133
+ metadata: z.ZodObject<{
134
+ version: z.ZodString;
135
+ configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
136
+ healthCheckUrl: z.ZodOptional<z.ZodString>;
137
+ deployedBy: z.ZodString;
138
+ deployedAt: z.ZodDate;
139
+ lastHealthCheck: z.ZodOptional<z.ZodDate>;
140
+ provider: z.ZodObject<{
141
+ name: z.ZodString;
142
+ vmId: z.ZodOptional<z.ZodString>;
143
+ regionId: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ name: string;
146
+ regionId: string;
147
+ vmId?: string | undefined;
148
+ }, {
149
+ name: string;
150
+ regionId: string;
151
+ vmId?: string | undefined;
152
+ }>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ provider: {
155
+ name: string;
156
+ regionId: string;
157
+ vmId?: string | undefined;
158
+ };
159
+ version: string;
160
+ configuration: Record<string, any>;
161
+ deployedBy: string;
162
+ deployedAt: Date;
163
+ healthCheckUrl?: string | undefined;
164
+ lastHealthCheck?: Date | undefined;
165
+ }, {
166
+ provider: {
167
+ name: string;
168
+ regionId: string;
169
+ vmId?: string | undefined;
170
+ };
171
+ version: string;
172
+ configuration: Record<string, any>;
173
+ deployedBy: string;
174
+ deployedAt: Date;
175
+ healthCheckUrl?: string | undefined;
176
+ lastHealthCheck?: Date | undefined;
177
+ }>;
178
+ billingAccountId: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ id: string;
181
+ createdAt: Date;
182
+ updatedAt: Date;
183
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
184
+ status: "NONE" | "PROVISIONING" | "RUNNING" | "RECONFIGURING" | "SUSPENDED" | "DELETING" | "TERMINATED" | "ERROR";
185
+ name: string;
186
+ slug: string;
187
+ billingAccountId: string;
188
+ organizationId: string;
189
+ version: string;
190
+ specification: {
191
+ cpu: number;
192
+ ram: number;
193
+ storage: number;
194
+ };
195
+ region: {
196
+ id: string;
197
+ code: string;
198
+ name: string;
199
+ provider: string;
200
+ };
201
+ connectionConfig: {
202
+ host: string;
203
+ port: number;
204
+ ssl: boolean;
205
+ password?: string | undefined;
206
+ username?: string | undefined;
207
+ database?: string | undefined;
208
+ };
209
+ tags: Record<string, string>;
210
+ metadata: {
211
+ provider: {
212
+ name: string;
213
+ regionId: string;
214
+ vmId?: string | undefined;
215
+ };
216
+ version: string;
217
+ configuration: Record<string, any>;
218
+ deployedBy: string;
219
+ deployedAt: Date;
220
+ healthCheckUrl?: string | undefined;
221
+ lastHealthCheck?: Date | undefined;
222
+ };
223
+ virtualMachineId?: string | undefined;
224
+ }, {
225
+ id: string;
226
+ createdAt: Date;
227
+ updatedAt: Date;
228
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
229
+ status: "NONE" | "PROVISIONING" | "RUNNING" | "RECONFIGURING" | "SUSPENDED" | "DELETING" | "TERMINATED" | "ERROR";
230
+ name: string;
231
+ slug: string;
232
+ billingAccountId: string;
233
+ organizationId: string;
234
+ version: string;
235
+ specification: {
236
+ cpu: number;
237
+ ram: number;
238
+ storage: number;
239
+ };
240
+ region: {
241
+ id: string;
242
+ code: string;
243
+ name: string;
244
+ provider: string;
245
+ };
246
+ connectionConfig: {
247
+ host: string;
248
+ port: number;
249
+ ssl: boolean;
250
+ password?: string | undefined;
251
+ username?: string | undefined;
252
+ database?: string | undefined;
253
+ };
254
+ tags: Record<string, string>;
255
+ metadata: {
256
+ provider: {
257
+ name: string;
258
+ regionId: string;
259
+ vmId?: string | undefined;
260
+ };
261
+ version: string;
262
+ configuration: Record<string, any>;
263
+ deployedBy: string;
264
+ deployedAt: Date;
265
+ healthCheckUrl?: string | undefined;
266
+ lastHealthCheck?: Date | undefined;
267
+ };
268
+ virtualMachineId?: string | undefined;
269
+ }>;
270
+ export declare const CreateInstanceSchema: z.ZodObject<{
271
+ name: z.ZodString;
272
+ slug: z.ZodString;
273
+ type: z.ZodEnum<["DATABASE", "APPLICATION", "CACHE", "QUEUE"]>;
274
+ specification: z.ZodObject<{
275
+ cpu: z.ZodNumber;
276
+ ram: z.ZodNumber;
277
+ storage: z.ZodNumber;
278
+ }, "strip", z.ZodTypeAny, {
279
+ cpu: number;
280
+ ram: number;
281
+ storage: number;
282
+ }, {
283
+ cpu: number;
284
+ ram: number;
285
+ storage: number;
286
+ }>;
287
+ regionId: z.ZodString;
288
+ connectionConfig: z.ZodObject<Omit<{
289
+ host: z.ZodString;
290
+ port: z.ZodNumber;
291
+ username: z.ZodOptional<z.ZodString>;
292
+ database: z.ZodOptional<z.ZodString>;
293
+ ssl: z.ZodBoolean;
294
+ password: z.ZodOptional<z.ZodString>;
295
+ }, "host">, "strip", z.ZodTypeAny, {
296
+ port: number;
297
+ ssl: boolean;
298
+ password?: string | undefined;
299
+ username?: string | undefined;
300
+ database?: string | undefined;
301
+ }, {
302
+ port: number;
303
+ ssl: boolean;
304
+ password?: string | undefined;
305
+ username?: string | undefined;
306
+ database?: string | undefined;
307
+ }>;
308
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
309
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
312
+ name: string;
313
+ slug: string;
314
+ regionId: string;
315
+ specification: {
316
+ cpu: number;
317
+ ram: number;
318
+ storage: number;
319
+ };
320
+ connectionConfig: {
321
+ port: number;
322
+ ssl: boolean;
323
+ password?: string | undefined;
324
+ username?: string | undefined;
325
+ database?: string | undefined;
326
+ };
327
+ configuration?: Record<string, any> | undefined;
328
+ tags?: Record<string, string> | undefined;
329
+ }, {
330
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
331
+ name: string;
332
+ slug: string;
333
+ regionId: string;
334
+ specification: {
335
+ cpu: number;
336
+ ram: number;
337
+ storage: number;
338
+ };
339
+ connectionConfig: {
340
+ port: number;
341
+ ssl: boolean;
342
+ password?: string | undefined;
343
+ username?: string | undefined;
344
+ database?: string | undefined;
345
+ };
346
+ configuration?: Record<string, any> | undefined;
347
+ tags?: Record<string, string> | undefined;
348
+ }>;
349
+ export declare const UpdateInstanceSchema: z.ZodObject<{
350
+ name: z.ZodOptional<z.ZodString>;
351
+ specification: z.ZodOptional<z.ZodObject<{
352
+ cpu: z.ZodNumber;
353
+ ram: z.ZodNumber;
354
+ storage: z.ZodNumber;
355
+ }, "strip", z.ZodTypeAny, {
356
+ cpu: number;
357
+ ram: number;
358
+ storage: number;
359
+ }, {
360
+ cpu: number;
361
+ ram: number;
362
+ storage: number;
363
+ }>>;
364
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
365
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ name?: string | undefined;
368
+ configuration?: Record<string, any> | undefined;
369
+ specification?: {
370
+ cpu: number;
371
+ ram: number;
372
+ storage: number;
373
+ } | undefined;
374
+ tags?: Record<string, string> | undefined;
375
+ }, {
376
+ name?: string | undefined;
377
+ configuration?: Record<string, any> | undefined;
378
+ specification?: {
379
+ cpu: number;
380
+ ram: number;
381
+ storage: number;
382
+ } | undefined;
383
+ tags?: Record<string, string> | undefined;
384
+ }>;
385
+ export declare const VirtualMachineSchema: z.ZodObject<{
386
+ id: z.ZodString;
387
+ createdAt: z.ZodDate;
388
+ updatedAt: z.ZodDate;
389
+ } & {
390
+ provider: z.ZodString;
391
+ providerId: z.ZodString;
392
+ name: z.ZodString;
393
+ specification: z.ZodObject<{
394
+ cpu: z.ZodNumber;
395
+ ram: z.ZodNumber;
396
+ storage: z.ZodNumber;
397
+ }, "strip", z.ZodTypeAny, {
398
+ cpu: number;
399
+ ram: number;
400
+ storage: number;
401
+ }, {
402
+ cpu: number;
403
+ ram: number;
404
+ storage: number;
405
+ }>;
406
+ region: z.ZodObject<{
407
+ id: z.ZodString;
408
+ name: z.ZodString;
409
+ code: z.ZodString;
410
+ provider: z.ZodString;
411
+ }, "strip", z.ZodTypeAny, {
412
+ id: string;
413
+ code: string;
414
+ name: string;
415
+ provider: string;
416
+ }, {
417
+ id: string;
418
+ code: string;
419
+ name: string;
420
+ provider: string;
421
+ }>;
422
+ ipAddress: z.ZodString;
423
+ privateIpAddress: z.ZodOptional<z.ZodString>;
424
+ status: z.ZodEnum<["PENDING", "RUNNING", "STOPPING", "STOPPED", "TERMINATED", "ERROR"]>;
425
+ sshKeyId: z.ZodOptional<z.ZodString>;
426
+ tags: z.ZodRecord<z.ZodString, z.ZodString>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ id: string;
429
+ createdAt: Date;
430
+ updatedAt: Date;
431
+ status: "RUNNING" | "TERMINATED" | "ERROR" | "PENDING" | "STOPPING" | "STOPPED";
432
+ name: string;
433
+ provider: string;
434
+ ipAddress: string;
435
+ specification: {
436
+ cpu: number;
437
+ ram: number;
438
+ storage: number;
439
+ };
440
+ region: {
441
+ id: string;
442
+ code: string;
443
+ name: string;
444
+ provider: string;
445
+ };
446
+ tags: Record<string, string>;
447
+ providerId: string;
448
+ privateIpAddress?: string | undefined;
449
+ sshKeyId?: string | undefined;
450
+ }, {
451
+ id: string;
452
+ createdAt: Date;
453
+ updatedAt: Date;
454
+ status: "RUNNING" | "TERMINATED" | "ERROR" | "PENDING" | "STOPPING" | "STOPPED";
455
+ name: string;
456
+ provider: string;
457
+ ipAddress: string;
458
+ specification: {
459
+ cpu: number;
460
+ ram: number;
461
+ storage: number;
462
+ };
463
+ region: {
464
+ id: string;
465
+ code: string;
466
+ name: string;
467
+ provider: string;
468
+ };
469
+ tags: Record<string, string>;
470
+ providerId: string;
471
+ privateIpAddress?: string | undefined;
472
+ sshKeyId?: string | undefined;
473
+ }>;
474
+ export declare const InstanceTemplateSchema: z.ZodObject<{
475
+ id: z.ZodString;
476
+ createdAt: z.ZodDate;
477
+ updatedAt: z.ZodDate;
478
+ } & {
479
+ organizationId: z.ZodString;
480
+ name: z.ZodString;
481
+ type: z.ZodEnum<["DATABASE", "APPLICATION", "CACHE", "QUEUE"]>;
482
+ specification: z.ZodObject<{
483
+ cpu: z.ZodNumber;
484
+ ram: z.ZodNumber;
485
+ storage: z.ZodNumber;
486
+ }, "strip", z.ZodTypeAny, {
487
+ cpu: number;
488
+ ram: number;
489
+ storage: number;
490
+ }, {
491
+ cpu: number;
492
+ ram: number;
493
+ storage: number;
494
+ }>;
495
+ configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
496
+ tags: z.ZodRecord<z.ZodString, z.ZodString>;
497
+ isActive: z.ZodBoolean;
498
+ }, "strip", z.ZodTypeAny, {
499
+ id: string;
500
+ createdAt: Date;
501
+ updatedAt: Date;
502
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
503
+ name: string;
504
+ organizationId: string;
505
+ isActive: boolean;
506
+ configuration: Record<string, any>;
507
+ specification: {
508
+ cpu: number;
509
+ ram: number;
510
+ storage: number;
511
+ };
512
+ tags: Record<string, string>;
513
+ }, {
514
+ id: string;
515
+ createdAt: Date;
516
+ updatedAt: Date;
517
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
518
+ name: string;
519
+ organizationId: string;
520
+ isActive: boolean;
521
+ configuration: Record<string, any>;
522
+ specification: {
523
+ cpu: number;
524
+ ram: number;
525
+ storage: number;
526
+ };
527
+ tags: Record<string, string>;
528
+ }>;
529
+ export declare const CreateInstanceTemplateSchema: z.ZodObject<{
530
+ name: z.ZodString;
531
+ type: z.ZodEnum<["DATABASE", "APPLICATION", "CACHE", "QUEUE"]>;
532
+ specification: z.ZodObject<{
533
+ cpu: z.ZodNumber;
534
+ ram: z.ZodNumber;
535
+ storage: z.ZodNumber;
536
+ }, "strip", z.ZodTypeAny, {
537
+ cpu: number;
538
+ ram: number;
539
+ storage: number;
540
+ }, {
541
+ cpu: number;
542
+ ram: number;
543
+ storage: number;
544
+ }>;
545
+ configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
546
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
549
+ name: string;
550
+ configuration: Record<string, any>;
551
+ specification: {
552
+ cpu: number;
553
+ ram: number;
554
+ storage: number;
555
+ };
556
+ tags?: Record<string, string> | undefined;
557
+ }, {
558
+ type: "DATABASE" | "APPLICATION" | "CACHE" | "QUEUE";
559
+ name: string;
560
+ configuration: Record<string, any>;
561
+ specification: {
562
+ cpu: number;
563
+ ram: number;
564
+ storage: number;
565
+ };
566
+ tags?: Record<string, string> | undefined;
567
+ }>;
568
+ export declare const OrchestrationWorkflowSchema: z.ZodObject<{
569
+ id: z.ZodString;
570
+ createdAt: z.ZodDate;
571
+ updatedAt: z.ZodDate;
572
+ } & {
573
+ instanceId: z.ZodString;
574
+ workflowId: z.ZodString;
575
+ type: z.ZodEnum<["PROVISION", "RECONFIGURE", "SUSPEND", "RESUME", "DELETE", "BACKUP", "RESTORE"]>;
576
+ status: z.ZodEnum<["RUNNING", "COMPLETED", "FAILED", "CANCELLED"]>;
577
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
578
+ output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
579
+ error: z.ZodOptional<z.ZodString>;
580
+ startedAt: z.ZodDate;
581
+ completedAt: z.ZodOptional<z.ZodDate>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ id: string;
584
+ createdAt: Date;
585
+ updatedAt: Date;
586
+ type: "PROVISION" | "RECONFIGURE" | "SUSPEND" | "RESUME" | "DELETE" | "BACKUP" | "RESTORE";
587
+ status: "RUNNING" | "FAILED" | "COMPLETED" | "CANCELLED";
588
+ instanceId: string;
589
+ workflowId: string;
590
+ input: Record<string, any>;
591
+ startedAt: Date;
592
+ error?: string | undefined;
593
+ output?: Record<string, any> | undefined;
594
+ completedAt?: Date | undefined;
595
+ }, {
596
+ id: string;
597
+ createdAt: Date;
598
+ updatedAt: Date;
599
+ type: "PROVISION" | "RECONFIGURE" | "SUSPEND" | "RESUME" | "DELETE" | "BACKUP" | "RESTORE";
600
+ status: "RUNNING" | "FAILED" | "COMPLETED" | "CANCELLED";
601
+ instanceId: string;
602
+ workflowId: string;
603
+ input: Record<string, any>;
604
+ startedAt: Date;
605
+ error?: string | undefined;
606
+ output?: Record<string, any> | undefined;
607
+ completedAt?: Date | undefined;
608
+ }>;
609
+ export declare const StartProvisioningSchema: z.ZodObject<{
610
+ instanceId: z.ZodString;
611
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ instanceId: string;
614
+ configuration?: Record<string, any> | undefined;
615
+ }, {
616
+ instanceId: string;
617
+ configuration?: Record<string, any> | undefined;
618
+ }>;
619
+ export declare const ResizeInstanceSchema: z.ZodObject<{
620
+ instanceId: z.ZodString;
621
+ specification: z.ZodObject<{
622
+ cpu: z.ZodNumber;
623
+ ram: z.ZodNumber;
624
+ storage: z.ZodNumber;
625
+ }, "strip", z.ZodTypeAny, {
626
+ cpu: number;
627
+ ram: number;
628
+ storage: number;
629
+ }, {
630
+ cpu: number;
631
+ ram: number;
632
+ storage: number;
633
+ }>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ specification: {
636
+ cpu: number;
637
+ ram: number;
638
+ storage: number;
639
+ };
640
+ instanceId: string;
641
+ }, {
642
+ specification: {
643
+ cpu: number;
644
+ ram: number;
645
+ storage: number;
646
+ };
647
+ instanceId: string;
648
+ }>;
649
+ export declare const SuspendInstanceSchema: z.ZodObject<{
650
+ instanceId: z.ZodString;
651
+ reason: z.ZodOptional<z.ZodString>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ instanceId: string;
654
+ reason?: string | undefined;
655
+ }, {
656
+ instanceId: string;
657
+ reason?: string | undefined;
658
+ }>;
659
+ export declare const DeleteInstanceSchema: z.ZodObject<{
660
+ instanceId: z.ZodString;
661
+ force: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
662
+ backupBeforeDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ instanceId: string;
665
+ force: boolean;
666
+ backupBeforeDelete: boolean;
667
+ }, {
668
+ instanceId: string;
669
+ force?: boolean | undefined;
670
+ backupBeforeDelete?: boolean | undefined;
671
+ }>;
672
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/provisioning/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB/B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBtC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC"}