@cdktn/cli-core 0.24.0-pre.9 → 0.24.0-pre.90

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 (71) hide show
  1. package/.spec.swcrc +22 -0
  2. package/LICENSE +355 -0
  3. package/build/lib/cdktf-config.d.ts +2 -1
  4. package/build/lib/cdktf-config.d.ts.map +1 -1
  5. package/build/lib/cdktf-config.js +10 -1
  6. package/build/lib/cdktf-stack.d.ts +6 -1
  7. package/build/lib/cdktf-stack.d.ts.map +1 -1
  8. package/build/lib/cdktf-stack.js +18 -1
  9. package/build/lib/dependencies/dependency-manager.d.ts.map +1 -1
  10. package/build/lib/dependencies/dependency-manager.js +6 -3
  11. package/build/lib/dependencies/package-manager.d.ts.map +1 -1
  12. package/build/lib/dependencies/package-manager.js +145 -42
  13. package/build/lib/dependencies/prebuilt-providers.d.ts.map +1 -1
  14. package/build/lib/dependencies/prebuilt-providers.js +7 -12
  15. package/build/lib/dependencies/registry-api.d.ts.map +1 -1
  16. package/build/lib/dependencies/registry-api.js +5 -12
  17. package/build/lib/get.d.ts.map +1 -1
  18. package/build/lib/get.js +2 -1
  19. package/build/lib/helpers/stack-helpers.js +3 -6
  20. package/build/lib/init.d.ts +1 -1
  21. package/build/lib/init.d.ts.map +1 -1
  22. package/build/lib/init.js +22 -4
  23. package/build/lib/installed-binary-check.d.ts +12 -0
  24. package/build/lib/installed-binary-check.d.ts.map +1 -0
  25. package/build/lib/installed-binary-check.js +62 -0
  26. package/build/lib/local-provider-constraints.d.ts +1 -7
  27. package/build/lib/local-provider-constraints.d.ts.map +1 -1
  28. package/build/lib/local-provider-constraints.js +2 -2
  29. package/build/lib/models/deploy-machine.d.ts +10 -0
  30. package/build/lib/models/deploy-machine.d.ts.map +1 -1
  31. package/build/lib/models/deploy-machine.js +42 -7
  32. package/build/lib/models/interactive-process.d.ts.map +1 -1
  33. package/build/lib/models/interactive-process.js +3 -5
  34. package/build/lib/models/schema.d.ts +151 -2093
  35. package/build/lib/models/schema.d.ts.map +1 -1
  36. package/build/lib/models/schema.js +3 -3
  37. package/build/lib/models/terraform-cli.d.ts +0 -1
  38. package/build/lib/models/terraform-cli.d.ts.map +1 -1
  39. package/build/lib/models/terraform.d.ts +1 -0
  40. package/build/lib/models/terraform.d.ts.map +1 -1
  41. package/build/lib/models/terraform.js +1 -1
  42. package/build/lib/output.js +2 -2
  43. package/build/lib/synth-stack.d.ts +0 -1
  44. package/build/lib/synth-stack.d.ts.map +1 -1
  45. package/build/lib/terraform-json.d.ts +21 -981
  46. package/build/lib/terraform-json.d.ts.map +1 -1
  47. package/build/lib/terraform-json.js +25 -17
  48. package/build/lib/watch.d.ts +0 -1
  49. package/build/lib/watch.d.ts.map +1 -1
  50. package/jest.config.js +24 -11
  51. package/package.json +36 -38
  52. package/templates/csharp/TestProgram.cs +1 -1
  53. package/templates/csharp/cdktf.json +4 -0
  54. package/templates/csharp/help +9 -9
  55. package/templates/go/cdktf.json +4 -0
  56. package/templates/go/help +3 -3
  57. package/templates/go/main_test.go +1 -1
  58. package/templates/java/cdktf.json +4 -0
  59. package/templates/java/gradlew +0 -0
  60. package/templates/java/help +4 -4
  61. package/templates/java/src/test/java/com/company/app/MainTest.java +1 -1
  62. package/templates/python/cdktf.json +4 -0
  63. package/templates/python/help +3 -3
  64. package/templates/python/main-test.py +1 -1
  65. package/templates/python-pip/cdktf.json +4 -0
  66. package/templates/python-pip/help +3 -3
  67. package/templates/python-pip/main-test.py +1 -1
  68. package/templates/typescript/__tests__/main-test.ts +1 -1
  69. package/templates/typescript/cdktf.json +4 -0
  70. package/templates/typescript/help +2 -2
  71. package/templates/typescript/package.json +1 -1
@@ -1,144 +1,32 @@
1
1
  import * as z from "zod";
2
- declare const action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
3
- export declare const schema: z.ZodUnion<[z.ZodObject<{
4
- "@level": z.ZodEnum<["info", "error", "warn"]>;
5
- "@message": z.ZodString;
6
- "@module": z.ZodString;
7
- "@timestamp": z.ZodString;
8
- } & {
9
- type: z.ZodLiteral<"version">;
10
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11
- "@level": z.ZodEnum<["info", "error", "warn"]>;
12
- "@message": z.ZodString;
13
- "@module": z.ZodString;
14
- "@timestamp": z.ZodString;
15
- } & {
16
- type: z.ZodLiteral<"version">;
17
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2
+ declare const action: z.ZodEnum<{
3
+ create: "create";
4
+ update: "update";
5
+ delete: "delete";
6
+ read: "read";
7
+ noop: "noop";
8
+ }>;
9
+ export declare const schema: z.ZodUnion<readonly [z.ZodObject<{
10
+ "@level": z.ZodEnum<{
11
+ error: "error";
12
+ info: "info";
13
+ warn: "warn";
14
+ }>;
19
15
  "@message": z.ZodString;
20
16
  "@module": z.ZodString;
21
17
  "@timestamp": z.ZodString;
22
- } & {
23
18
  type: z.ZodLiteral<"version">;
24
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25
- "@level": z.ZodEnum<["info", "error", "warn"]>;
26
- "@message": z.ZodString;
27
- "@module": z.ZodString;
28
- "@timestamp": z.ZodString;
29
- } & {
30
- type: z.ZodLiteral<"planned_change">;
31
- change: z.ZodUnion<[z.ZodObject<{
32
- resource: z.ZodObject<{
33
- addr: z.ZodString;
34
- module: z.ZodString;
35
- resource: z.ZodString;
36
- implied_provider: z.ZodString;
37
- resource_type: z.ZodString;
38
- resource_name: z.ZodString;
39
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
- }, "strip", z.ZodTypeAny, {
41
- module: string;
42
- resource: string;
43
- addr: string;
44
- implied_provider: string;
45
- resource_type: string;
46
- resource_name: string;
47
- resource_key?: string | null | undefined;
48
- }, {
49
- module: string;
50
- resource: string;
51
- addr: string;
52
- implied_provider: string;
53
- resource_type: string;
54
- resource_name: string;
55
- resource_key?: string | null | undefined;
56
- }>;
57
- } & {
58
- action: z.ZodLiteral<"replace">;
59
- reason: z.ZodEnum<["tainted", "requested", "cannot_update"]>;
60
- }, "strip", z.ZodTypeAny, {
61
- resource: {
62
- module: string;
63
- resource: string;
64
- addr: string;
65
- implied_provider: string;
66
- resource_type: string;
67
- resource_name: string;
68
- resource_key?: string | null | undefined;
69
- };
70
- action: "replace";
71
- reason: "tainted" | "requested" | "cannot_update";
72
- }, {
73
- resource: {
74
- module: string;
75
- resource: string;
76
- addr: string;
77
- implied_provider: string;
78
- resource_type: string;
79
- resource_name: string;
80
- resource_key?: string | null | undefined;
81
- };
82
- action: "replace";
83
- reason: "tainted" | "requested" | "cannot_update";
84
- }>, z.ZodObject<{
85
- resource: z.ZodObject<{
86
- addr: z.ZodString;
87
- module: z.ZodString;
88
- resource: z.ZodString;
89
- implied_provider: z.ZodString;
90
- resource_type: z.ZodString;
91
- resource_name: z.ZodString;
92
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
- }, "strip", z.ZodTypeAny, {
94
- module: string;
95
- resource: string;
96
- addr: string;
97
- implied_provider: string;
98
- resource_type: string;
99
- resource_name: string;
100
- resource_key?: string | null | undefined;
101
- }, {
102
- module: string;
103
- resource: string;
104
- addr: string;
105
- implied_provider: string;
106
- resource_type: string;
107
- resource_name: string;
108
- resource_key?: string | null | undefined;
109
- }>;
110
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
111
- }, "strip", z.ZodTypeAny, {
112
- resource: {
113
- module: string;
114
- resource: string;
115
- addr: string;
116
- implied_provider: string;
117
- resource_type: string;
118
- resource_name: string;
119
- resource_key?: string | null | undefined;
120
- };
121
- action: "create" | "update" | "delete" | "read" | "noop";
122
- }, {
123
- resource: {
124
- module: string;
125
- resource: string;
126
- addr: string;
127
- implied_provider: string;
128
- resource_type: string;
129
- resource_name: string;
130
- resource_key?: string | null | undefined;
131
- };
132
- action: "create" | "update" | "delete" | "read" | "noop";
133
- }>]>;
134
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
135
- "@level": z.ZodEnum<["info", "error", "warn"]>;
19
+ }, z.core.$loose>, z.ZodObject<{
20
+ "@level": z.ZodEnum<{
21
+ error: "error";
22
+ info: "info";
23
+ warn: "warn";
24
+ }>;
136
25
  "@message": z.ZodString;
137
26
  "@module": z.ZodString;
138
27
  "@timestamp": z.ZodString;
139
- } & {
140
28
  type: z.ZodLiteral<"planned_change">;
141
- change: z.ZodUnion<[z.ZodObject<{
29
+ change: z.ZodUnion<readonly [z.ZodObject<{
142
30
  resource: z.ZodObject<{
143
31
  addr: z.ZodString;
144
32
  module: z.ZodString;
@@ -147,108 +35,14 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
147
35
  resource_type: z.ZodString;
148
36
  resource_name: z.ZodString;
149
37
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
- }, "strip", z.ZodTypeAny, {
151
- module: string;
152
- resource: string;
153
- addr: string;
154
- implied_provider: string;
155
- resource_type: string;
156
- resource_name: string;
157
- resource_key?: string | null | undefined;
158
- }, {
159
- module: string;
160
- resource: string;
161
- addr: string;
162
- implied_provider: string;
163
- resource_type: string;
164
- resource_name: string;
165
- resource_key?: string | null | undefined;
166
- }>;
167
- } & {
38
+ }, z.core.$strip>;
168
39
  action: z.ZodLiteral<"replace">;
169
- reason: z.ZodEnum<["tainted", "requested", "cannot_update"]>;
170
- }, "strip", z.ZodTypeAny, {
171
- resource: {
172
- module: string;
173
- resource: string;
174
- addr: string;
175
- implied_provider: string;
176
- resource_type: string;
177
- resource_name: string;
178
- resource_key?: string | null | undefined;
179
- };
180
- action: "replace";
181
- reason: "tainted" | "requested" | "cannot_update";
182
- }, {
183
- resource: {
184
- module: string;
185
- resource: string;
186
- addr: string;
187
- implied_provider: string;
188
- resource_type: string;
189
- resource_name: string;
190
- resource_key?: string | null | undefined;
191
- };
192
- action: "replace";
193
- reason: "tainted" | "requested" | "cannot_update";
194
- }>, z.ZodObject<{
195
- resource: z.ZodObject<{
196
- addr: z.ZodString;
197
- module: z.ZodString;
198
- resource: z.ZodString;
199
- implied_provider: z.ZodString;
200
- resource_type: z.ZodString;
201
- resource_name: z.ZodString;
202
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
203
- }, "strip", z.ZodTypeAny, {
204
- module: string;
205
- resource: string;
206
- addr: string;
207
- implied_provider: string;
208
- resource_type: string;
209
- resource_name: string;
210
- resource_key?: string | null | undefined;
211
- }, {
212
- module: string;
213
- resource: string;
214
- addr: string;
215
- implied_provider: string;
216
- resource_type: string;
217
- resource_name: string;
218
- resource_key?: string | null | undefined;
40
+ reason: z.ZodEnum<{
41
+ tainted: "tainted";
42
+ requested: "requested";
43
+ cannot_update: "cannot_update";
219
44
  }>;
220
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
221
- }, "strip", z.ZodTypeAny, {
222
- resource: {
223
- module: string;
224
- resource: string;
225
- addr: string;
226
- implied_provider: string;
227
- resource_type: string;
228
- resource_name: string;
229
- resource_key?: string | null | undefined;
230
- };
231
- action: "create" | "update" | "delete" | "read" | "noop";
232
- }, {
233
- resource: {
234
- module: string;
235
- resource: string;
236
- addr: string;
237
- implied_provider: string;
238
- resource_type: string;
239
- resource_name: string;
240
- resource_key?: string | null | undefined;
241
- };
242
- action: "create" | "update" | "delete" | "read" | "noop";
243
- }>]>;
244
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
245
- "@level": z.ZodEnum<["info", "error", "warn"]>;
246
- "@message": z.ZodString;
247
- "@module": z.ZodString;
248
- "@timestamp": z.ZodString;
249
- } & {
250
- type: z.ZodLiteral<"planned_change">;
251
- change: z.ZodUnion<[z.ZodObject<{
45
+ }, z.core.$strip>, z.ZodObject<{
252
46
  resource: z.ZodObject<{
253
47
  addr: z.ZodString;
254
48
  module: z.ZodString;
@@ -257,361 +51,59 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
257
51
  resource_type: z.ZodString;
258
52
  resource_name: z.ZodString;
259
53
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
260
- }, "strip", z.ZodTypeAny, {
261
- module: string;
262
- resource: string;
263
- addr: string;
264
- implied_provider: string;
265
- resource_type: string;
266
- resource_name: string;
267
- resource_key?: string | null | undefined;
268
- }, {
269
- module: string;
270
- resource: string;
271
- addr: string;
272
- implied_provider: string;
273
- resource_type: string;
274
- resource_name: string;
275
- resource_key?: string | null | undefined;
54
+ }, z.core.$strip>;
55
+ action: z.ZodEnum<{
56
+ create: "create";
57
+ update: "update";
58
+ delete: "delete";
59
+ read: "read";
60
+ noop: "noop";
276
61
  }>;
277
- } & {
278
- action: z.ZodLiteral<"replace">;
279
- reason: z.ZodEnum<["tainted", "requested", "cannot_update"]>;
280
- }, "strip", z.ZodTypeAny, {
281
- resource: {
282
- module: string;
283
- resource: string;
284
- addr: string;
285
- implied_provider: string;
286
- resource_type: string;
287
- resource_name: string;
288
- resource_key?: string | null | undefined;
289
- };
290
- action: "replace";
291
- reason: "tainted" | "requested" | "cannot_update";
292
- }, {
293
- resource: {
294
- module: string;
295
- resource: string;
296
- addr: string;
297
- implied_provider: string;
298
- resource_type: string;
299
- resource_name: string;
300
- resource_key?: string | null | undefined;
301
- };
302
- action: "replace";
303
- reason: "tainted" | "requested" | "cannot_update";
304
- }>, z.ZodObject<{
305
- resource: z.ZodObject<{
306
- addr: z.ZodString;
307
- module: z.ZodString;
308
- resource: z.ZodString;
309
- implied_provider: z.ZodString;
310
- resource_type: z.ZodString;
311
- resource_name: z.ZodString;
312
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
313
- }, "strip", z.ZodTypeAny, {
314
- module: string;
315
- resource: string;
316
- addr: string;
317
- implied_provider: string;
318
- resource_type: string;
319
- resource_name: string;
320
- resource_key?: string | null | undefined;
321
- }, {
322
- module: string;
323
- resource: string;
324
- addr: string;
325
- implied_provider: string;
326
- resource_type: string;
327
- resource_name: string;
328
- resource_key?: string | null | undefined;
329
- }>;
330
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
331
- }, "strip", z.ZodTypeAny, {
332
- resource: {
333
- module: string;
334
- resource: string;
335
- addr: string;
336
- implied_provider: string;
337
- resource_type: string;
338
- resource_name: string;
339
- resource_key?: string | null | undefined;
340
- };
341
- action: "create" | "update" | "delete" | "read" | "noop";
342
- }, {
343
- resource: {
344
- module: string;
345
- resource: string;
346
- addr: string;
347
- implied_provider: string;
348
- resource_type: string;
349
- resource_name: string;
350
- resource_key?: string | null | undefined;
351
- };
352
- action: "create" | "update" | "delete" | "read" | "noop";
353
- }>]>;
354
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
355
- "@level": z.ZodEnum<["info", "error", "warn"]>;
356
- "@message": z.ZodString;
357
- "@module": z.ZodString;
358
- "@timestamp": z.ZodString;
359
- } & {
360
- type: z.ZodLiteral<"change_summary">;
361
- changes: z.ZodObject<{
362
- add: z.ZodNumber;
363
- change: z.ZodNumber;
364
- remove: z.ZodNumber;
365
- operation: z.ZodEnum<["plan", "apply", "deploy"]>;
366
- }, "strip", z.ZodTypeAny, {
367
- change: number;
368
- add: number;
369
- remove: number;
370
- operation: "plan" | "apply" | "deploy";
371
- }, {
372
- change: number;
373
- add: number;
374
- remove: number;
375
- operation: "plan" | "apply" | "deploy";
62
+ }, z.core.$strip>]>;
63
+ }, z.core.$loose>, z.ZodObject<{
64
+ "@level": z.ZodEnum<{
65
+ error: "error";
66
+ info: "info";
67
+ warn: "warn";
376
68
  }>;
377
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
378
- "@level": z.ZodEnum<["info", "error", "warn"]>;
379
69
  "@message": z.ZodString;
380
70
  "@module": z.ZodString;
381
71
  "@timestamp": z.ZodString;
382
- } & {
383
72
  type: z.ZodLiteral<"change_summary">;
384
73
  changes: z.ZodObject<{
385
74
  add: z.ZodNumber;
386
75
  change: z.ZodNumber;
387
76
  remove: z.ZodNumber;
388
- operation: z.ZodEnum<["plan", "apply", "deploy"]>;
389
- }, "strip", z.ZodTypeAny, {
390
- change: number;
391
- add: number;
392
- remove: number;
393
- operation: "plan" | "apply" | "deploy";
394
- }, {
395
- change: number;
396
- add: number;
397
- remove: number;
398
- operation: "plan" | "apply" | "deploy";
399
- }>;
400
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
401
- "@level": z.ZodEnum<["info", "error", "warn"]>;
402
- "@message": z.ZodString;
403
- "@module": z.ZodString;
404
- "@timestamp": z.ZodString;
405
- } & {
406
- type: z.ZodLiteral<"change_summary">;
407
- changes: z.ZodObject<{
408
- add: z.ZodNumber;
409
- change: z.ZodNumber;
410
- remove: z.ZodNumber;
411
- operation: z.ZodEnum<["plan", "apply", "deploy"]>;
412
- }, "strip", z.ZodTypeAny, {
413
- change: number;
414
- add: number;
415
- remove: number;
416
- operation: "plan" | "apply" | "deploy";
417
- }, {
418
- change: number;
419
- add: number;
420
- remove: number;
421
- operation: "plan" | "apply" | "deploy";
77
+ operation: z.ZodEnum<{
78
+ plan: "plan";
79
+ apply: "apply";
80
+ deploy: "deploy";
81
+ }>;
82
+ }, z.core.$strip>;
83
+ }, z.core.$loose>, z.ZodObject<{
84
+ "@level": z.ZodEnum<{
85
+ error: "error";
86
+ info: "info";
87
+ warn: "warn";
422
88
  }>;
423
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
424
- "@level": z.ZodEnum<["info", "error", "warn"]>;
425
- "@message": z.ZodString;
426
- "@module": z.ZodString;
427
- "@timestamp": z.ZodString;
428
- } & {
429
- type: z.ZodLiteral<"outputs">;
430
- outputs: z.ZodRecord<z.ZodString, z.ZodObject<{
431
- sensitive: z.ZodBoolean;
432
- type: z.ZodString;
433
- value: z.ZodString;
434
- }, "strip", z.ZodTypeAny, {
435
- value: string;
436
- type: string;
437
- sensitive: boolean;
438
- }, {
439
- value: string;
440
- type: string;
441
- sensitive: boolean;
442
- }>>;
443
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
- "@level": z.ZodEnum<["info", "error", "warn"]>;
445
89
  "@message": z.ZodString;
446
90
  "@module": z.ZodString;
447
91
  "@timestamp": z.ZodString;
448
- } & {
449
92
  type: z.ZodLiteral<"outputs">;
450
93
  outputs: z.ZodRecord<z.ZodString, z.ZodObject<{
451
94
  sensitive: z.ZodBoolean;
452
95
  type: z.ZodString;
453
96
  value: z.ZodString;
454
- }, "strip", z.ZodTypeAny, {
455
- value: string;
456
- type: string;
457
- sensitive: boolean;
458
- }, {
459
- value: string;
460
- type: string;
461
- sensitive: boolean;
462
- }>>;
463
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
464
- "@level": z.ZodEnum<["info", "error", "warn"]>;
465
- "@message": z.ZodString;
466
- "@module": z.ZodString;
467
- "@timestamp": z.ZodString;
468
- } & {
469
- type: z.ZodLiteral<"outputs">;
470
- outputs: z.ZodRecord<z.ZodString, z.ZodObject<{
471
- sensitive: z.ZodBoolean;
472
- type: z.ZodString;
473
- value: z.ZodString;
474
- }, "strip", z.ZodTypeAny, {
475
- value: string;
476
- type: string;
477
- sensitive: boolean;
478
- }, {
479
- value: string;
480
- type: string;
481
- sensitive: boolean;
482
- }>>;
483
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
484
- "@level": z.ZodEnum<["info", "error", "warn"]>;
485
- "@message": z.ZodString;
486
- "@module": z.ZodString;
487
- "@timestamp": z.ZodString;
488
- } & {
489
- type: z.ZodLiteral<"apply_start">;
490
- hook: z.ZodObject<{
491
- resource: z.ZodObject<{
492
- addr: z.ZodString;
493
- module: z.ZodString;
494
- resource: z.ZodString;
495
- implied_provider: z.ZodString;
496
- resource_type: z.ZodString;
497
- resource_name: z.ZodString;
498
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
499
- }, "strip", z.ZodTypeAny, {
500
- module: string;
501
- resource: string;
502
- addr: string;
503
- implied_provider: string;
504
- resource_type: string;
505
- resource_name: string;
506
- resource_key?: string | null | undefined;
507
- }, {
508
- module: string;
509
- resource: string;
510
- addr: string;
511
- implied_provider: string;
512
- resource_type: string;
513
- resource_name: string;
514
- resource_key?: string | null | undefined;
515
- }>;
516
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
517
- id_key: z.ZodOptional<z.ZodString>;
518
- id_value: z.ZodOptional<z.ZodString>;
519
- }, "strip", z.ZodTypeAny, {
520
- resource: {
521
- module: string;
522
- resource: string;
523
- addr: string;
524
- implied_provider: string;
525
- resource_type: string;
526
- resource_name: string;
527
- resource_key?: string | null | undefined;
528
- };
529
- action: "create" | "update" | "delete" | "read" | "noop";
530
- id_key?: string | undefined;
531
- id_value?: string | undefined;
532
- }, {
533
- resource: {
534
- module: string;
535
- resource: string;
536
- addr: string;
537
- implied_provider: string;
538
- resource_type: string;
539
- resource_name: string;
540
- resource_key?: string | null | undefined;
541
- };
542
- action: "create" | "update" | "delete" | "read" | "noop";
543
- id_key?: string | undefined;
544
- id_value?: string | undefined;
545
- }>;
546
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
547
- "@level": z.ZodEnum<["info", "error", "warn"]>;
548
- "@message": z.ZodString;
549
- "@module": z.ZodString;
550
- "@timestamp": z.ZodString;
551
- } & {
552
- type: z.ZodLiteral<"apply_start">;
553
- hook: z.ZodObject<{
554
- resource: z.ZodObject<{
555
- addr: z.ZodString;
556
- module: z.ZodString;
557
- resource: z.ZodString;
558
- implied_provider: z.ZodString;
559
- resource_type: z.ZodString;
560
- resource_name: z.ZodString;
561
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
562
- }, "strip", z.ZodTypeAny, {
563
- module: string;
564
- resource: string;
565
- addr: string;
566
- implied_provider: string;
567
- resource_type: string;
568
- resource_name: string;
569
- resource_key?: string | null | undefined;
570
- }, {
571
- module: string;
572
- resource: string;
573
- addr: string;
574
- implied_provider: string;
575
- resource_type: string;
576
- resource_name: string;
577
- resource_key?: string | null | undefined;
578
- }>;
579
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
580
- id_key: z.ZodOptional<z.ZodString>;
581
- id_value: z.ZodOptional<z.ZodString>;
582
- }, "strip", z.ZodTypeAny, {
583
- resource: {
584
- module: string;
585
- resource: string;
586
- addr: string;
587
- implied_provider: string;
588
- resource_type: string;
589
- resource_name: string;
590
- resource_key?: string | null | undefined;
591
- };
592
- action: "create" | "update" | "delete" | "read" | "noop";
593
- id_key?: string | undefined;
594
- id_value?: string | undefined;
595
- }, {
596
- resource: {
597
- module: string;
598
- resource: string;
599
- addr: string;
600
- implied_provider: string;
601
- resource_type: string;
602
- resource_name: string;
603
- resource_key?: string | null | undefined;
604
- };
605
- action: "create" | "update" | "delete" | "read" | "noop";
606
- id_key?: string | undefined;
607
- id_value?: string | undefined;
97
+ }, z.core.$strip>>;
98
+ }, z.core.$loose>, z.ZodObject<{
99
+ "@level": z.ZodEnum<{
100
+ error: "error";
101
+ info: "info";
102
+ warn: "warn";
608
103
  }>;
609
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
610
- "@level": z.ZodEnum<["info", "error", "warn"]>;
611
104
  "@message": z.ZodString;
612
105
  "@module": z.ZodString;
613
106
  "@timestamp": z.ZodString;
614
- } & {
615
107
  type: z.ZodLiteral<"apply_start">;
616
108
  hook: z.ZodObject<{
617
109
  resource: z.ZodObject<{
@@ -622,59 +114,26 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
622
114
  resource_type: z.ZodString;
623
115
  resource_name: z.ZodString;
624
116
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
625
- }, "strip", z.ZodTypeAny, {
626
- module: string;
627
- resource: string;
628
- addr: string;
629
- implied_provider: string;
630
- resource_type: string;
631
- resource_name: string;
632
- resource_key?: string | null | undefined;
633
- }, {
634
- module: string;
635
- resource: string;
636
- addr: string;
637
- implied_provider: string;
638
- resource_type: string;
639
- resource_name: string;
640
- resource_key?: string | null | undefined;
117
+ }, z.core.$strip>;
118
+ action: z.ZodEnum<{
119
+ create: "create";
120
+ update: "update";
121
+ delete: "delete";
122
+ read: "read";
123
+ noop: "noop";
641
124
  }>;
642
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
643
125
  id_key: z.ZodOptional<z.ZodString>;
644
126
  id_value: z.ZodOptional<z.ZodString>;
645
- }, "strip", z.ZodTypeAny, {
646
- resource: {
647
- module: string;
648
- resource: string;
649
- addr: string;
650
- implied_provider: string;
651
- resource_type: string;
652
- resource_name: string;
653
- resource_key?: string | null | undefined;
654
- };
655
- action: "create" | "update" | "delete" | "read" | "noop";
656
- id_key?: string | undefined;
657
- id_value?: string | undefined;
658
- }, {
659
- resource: {
660
- module: string;
661
- resource: string;
662
- addr: string;
663
- implied_provider: string;
664
- resource_type: string;
665
- resource_name: string;
666
- resource_key?: string | null | undefined;
667
- };
668
- action: "create" | "update" | "delete" | "read" | "noop";
669
- id_key?: string | undefined;
670
- id_value?: string | undefined;
127
+ }, z.core.$strip>;
128
+ }, z.core.$loose>, z.ZodObject<{
129
+ "@level": z.ZodEnum<{
130
+ error: "error";
131
+ info: "info";
132
+ warn: "warn";
671
133
  }>;
672
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
673
- "@level": z.ZodEnum<["info", "error", "warn"]>;
674
134
  "@message": z.ZodString;
675
135
  "@module": z.ZodString;
676
136
  "@timestamp": z.ZodString;
677
- } & {
678
137
  type: z.ZodLiteral<"apply_progress">;
679
138
  hook: z.ZodObject<{
680
139
  resource: z.ZodObject<{
@@ -685,176 +144,25 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
685
144
  resource_type: z.ZodString;
686
145
  resource_name: z.ZodString;
687
146
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
688
- }, "strip", z.ZodTypeAny, {
689
- module: string;
690
- resource: string;
691
- addr: string;
692
- implied_provider: string;
693
- resource_type: string;
694
- resource_name: string;
695
- resource_key?: string | null | undefined;
696
- }, {
697
- module: string;
698
- resource: string;
699
- addr: string;
700
- implied_provider: string;
701
- resource_type: string;
702
- resource_name: string;
703
- resource_key?: string | null | undefined;
147
+ }, z.core.$strip>;
148
+ action: z.ZodEnum<{
149
+ create: "create";
150
+ update: "update";
151
+ delete: "delete";
152
+ read: "read";
153
+ noop: "noop";
704
154
  }>;
705
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
706
155
  elapsed_seconds: z.ZodNumber;
707
- }, "strip", z.ZodTypeAny, {
708
- resource: {
709
- module: string;
710
- resource: string;
711
- addr: string;
712
- implied_provider: string;
713
- resource_type: string;
714
- resource_name: string;
715
- resource_key?: string | null | undefined;
716
- };
717
- action: "create" | "update" | "delete" | "read" | "noop";
718
- elapsed_seconds: number;
719
- }, {
720
- resource: {
721
- module: string;
722
- resource: string;
723
- addr: string;
724
- implied_provider: string;
725
- resource_type: string;
726
- resource_name: string;
727
- resource_key?: string | null | undefined;
728
- };
729
- action: "create" | "update" | "delete" | "read" | "noop";
730
- elapsed_seconds: number;
156
+ }, z.core.$strip>;
157
+ }, z.core.$loose>, z.ZodObject<{
158
+ "@level": z.ZodEnum<{
159
+ error: "error";
160
+ info: "info";
161
+ warn: "warn";
731
162
  }>;
732
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
733
- "@level": z.ZodEnum<["info", "error", "warn"]>;
734
163
  "@message": z.ZodString;
735
164
  "@module": z.ZodString;
736
165
  "@timestamp": z.ZodString;
737
- } & {
738
- type: z.ZodLiteral<"apply_progress">;
739
- hook: z.ZodObject<{
740
- resource: z.ZodObject<{
741
- addr: z.ZodString;
742
- module: z.ZodString;
743
- resource: z.ZodString;
744
- implied_provider: z.ZodString;
745
- resource_type: z.ZodString;
746
- resource_name: z.ZodString;
747
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
748
- }, "strip", z.ZodTypeAny, {
749
- module: string;
750
- resource: string;
751
- addr: string;
752
- implied_provider: string;
753
- resource_type: string;
754
- resource_name: string;
755
- resource_key?: string | null | undefined;
756
- }, {
757
- module: string;
758
- resource: string;
759
- addr: string;
760
- implied_provider: string;
761
- resource_type: string;
762
- resource_name: string;
763
- resource_key?: string | null | undefined;
764
- }>;
765
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
766
- elapsed_seconds: z.ZodNumber;
767
- }, "strip", z.ZodTypeAny, {
768
- resource: {
769
- module: string;
770
- resource: string;
771
- addr: string;
772
- implied_provider: string;
773
- resource_type: string;
774
- resource_name: string;
775
- resource_key?: string | null | undefined;
776
- };
777
- action: "create" | "update" | "delete" | "read" | "noop";
778
- elapsed_seconds: number;
779
- }, {
780
- resource: {
781
- module: string;
782
- resource: string;
783
- addr: string;
784
- implied_provider: string;
785
- resource_type: string;
786
- resource_name: string;
787
- resource_key?: string | null | undefined;
788
- };
789
- action: "create" | "update" | "delete" | "read" | "noop";
790
- elapsed_seconds: number;
791
- }>;
792
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
793
- "@level": z.ZodEnum<["info", "error", "warn"]>;
794
- "@message": z.ZodString;
795
- "@module": z.ZodString;
796
- "@timestamp": z.ZodString;
797
- } & {
798
- type: z.ZodLiteral<"apply_progress">;
799
- hook: z.ZodObject<{
800
- resource: z.ZodObject<{
801
- addr: z.ZodString;
802
- module: z.ZodString;
803
- resource: z.ZodString;
804
- implied_provider: z.ZodString;
805
- resource_type: z.ZodString;
806
- resource_name: z.ZodString;
807
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
808
- }, "strip", z.ZodTypeAny, {
809
- module: string;
810
- resource: string;
811
- addr: string;
812
- implied_provider: string;
813
- resource_type: string;
814
- resource_name: string;
815
- resource_key?: string | null | undefined;
816
- }, {
817
- module: string;
818
- resource: string;
819
- addr: string;
820
- implied_provider: string;
821
- resource_type: string;
822
- resource_name: string;
823
- resource_key?: string | null | undefined;
824
- }>;
825
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
826
- elapsed_seconds: z.ZodNumber;
827
- }, "strip", z.ZodTypeAny, {
828
- resource: {
829
- module: string;
830
- resource: string;
831
- addr: string;
832
- implied_provider: string;
833
- resource_type: string;
834
- resource_name: string;
835
- resource_key?: string | null | undefined;
836
- };
837
- action: "create" | "update" | "delete" | "read" | "noop";
838
- elapsed_seconds: number;
839
- }, {
840
- resource: {
841
- module: string;
842
- resource: string;
843
- addr: string;
844
- implied_provider: string;
845
- resource_type: string;
846
- resource_name: string;
847
- resource_key?: string | null | undefined;
848
- };
849
- action: "create" | "update" | "delete" | "read" | "noop";
850
- elapsed_seconds: number;
851
- }>;
852
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
853
- "@level": z.ZodEnum<["info", "error", "warn"]>;
854
- "@message": z.ZodString;
855
- "@module": z.ZodString;
856
- "@timestamp": z.ZodString;
857
- } & {
858
166
  type: z.ZodLiteral<"apply_complete">;
859
167
  hook: z.ZodObject<{
860
168
  resource: z.ZodObject<{
@@ -865,194 +173,27 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
865
173
  resource_type: z.ZodString;
866
174
  resource_name: z.ZodString;
867
175
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
868
- }, "strip", z.ZodTypeAny, {
869
- module: string;
870
- resource: string;
871
- addr: string;
872
- implied_provider: string;
873
- resource_type: string;
874
- resource_name: string;
875
- resource_key?: string | null | undefined;
876
- }, {
877
- module: string;
878
- resource: string;
879
- addr: string;
880
- implied_provider: string;
881
- resource_type: string;
882
- resource_name: string;
883
- resource_key?: string | null | undefined;
176
+ }, z.core.$strip>;
177
+ action: z.ZodEnum<{
178
+ create: "create";
179
+ update: "update";
180
+ delete: "delete";
181
+ read: "read";
182
+ noop: "noop";
884
183
  }>;
885
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
886
184
  id_key: z.ZodOptional<z.ZodString>;
887
185
  id_value: z.ZodOptional<z.ZodString>;
888
186
  elapsed_seconds: z.ZodNumber;
889
- }, "strip", z.ZodTypeAny, {
890
- resource: {
891
- module: string;
892
- resource: string;
893
- addr: string;
894
- implied_provider: string;
895
- resource_type: string;
896
- resource_name: string;
897
- resource_key?: string | null | undefined;
898
- };
899
- action: "create" | "update" | "delete" | "read" | "noop";
900
- elapsed_seconds: number;
901
- id_key?: string | undefined;
902
- id_value?: string | undefined;
903
- }, {
904
- resource: {
905
- module: string;
906
- resource: string;
907
- addr: string;
908
- implied_provider: string;
909
- resource_type: string;
910
- resource_name: string;
911
- resource_key?: string | null | undefined;
912
- };
913
- action: "create" | "update" | "delete" | "read" | "noop";
914
- elapsed_seconds: number;
915
- id_key?: string | undefined;
916
- id_value?: string | undefined;
187
+ }, z.core.$strip>;
188
+ }, z.core.$loose>, z.ZodObject<{
189
+ "@level": z.ZodEnum<{
190
+ error: "error";
191
+ info: "info";
192
+ warn: "warn";
917
193
  }>;
918
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
919
- "@level": z.ZodEnum<["info", "error", "warn"]>;
920
194
  "@message": z.ZodString;
921
195
  "@module": z.ZodString;
922
196
  "@timestamp": z.ZodString;
923
- } & {
924
- type: z.ZodLiteral<"apply_complete">;
925
- hook: z.ZodObject<{
926
- resource: z.ZodObject<{
927
- addr: z.ZodString;
928
- module: z.ZodString;
929
- resource: z.ZodString;
930
- implied_provider: z.ZodString;
931
- resource_type: z.ZodString;
932
- resource_name: z.ZodString;
933
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
934
- }, "strip", z.ZodTypeAny, {
935
- module: string;
936
- resource: string;
937
- addr: string;
938
- implied_provider: string;
939
- resource_type: string;
940
- resource_name: string;
941
- resource_key?: string | null | undefined;
942
- }, {
943
- module: string;
944
- resource: string;
945
- addr: string;
946
- implied_provider: string;
947
- resource_type: string;
948
- resource_name: string;
949
- resource_key?: string | null | undefined;
950
- }>;
951
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
952
- id_key: z.ZodOptional<z.ZodString>;
953
- id_value: z.ZodOptional<z.ZodString>;
954
- elapsed_seconds: z.ZodNumber;
955
- }, "strip", z.ZodTypeAny, {
956
- resource: {
957
- module: string;
958
- resource: string;
959
- addr: string;
960
- implied_provider: string;
961
- resource_type: string;
962
- resource_name: string;
963
- resource_key?: string | null | undefined;
964
- };
965
- action: "create" | "update" | "delete" | "read" | "noop";
966
- elapsed_seconds: number;
967
- id_key?: string | undefined;
968
- id_value?: string | undefined;
969
- }, {
970
- resource: {
971
- module: string;
972
- resource: string;
973
- addr: string;
974
- implied_provider: string;
975
- resource_type: string;
976
- resource_name: string;
977
- resource_key?: string | null | undefined;
978
- };
979
- action: "create" | "update" | "delete" | "read" | "noop";
980
- elapsed_seconds: number;
981
- id_key?: string | undefined;
982
- id_value?: string | undefined;
983
- }>;
984
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
985
- "@level": z.ZodEnum<["info", "error", "warn"]>;
986
- "@message": z.ZodString;
987
- "@module": z.ZodString;
988
- "@timestamp": z.ZodString;
989
- } & {
990
- type: z.ZodLiteral<"apply_complete">;
991
- hook: z.ZodObject<{
992
- resource: z.ZodObject<{
993
- addr: z.ZodString;
994
- module: z.ZodString;
995
- resource: z.ZodString;
996
- implied_provider: z.ZodString;
997
- resource_type: z.ZodString;
998
- resource_name: z.ZodString;
999
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
- }, "strip", z.ZodTypeAny, {
1001
- module: string;
1002
- resource: string;
1003
- addr: string;
1004
- implied_provider: string;
1005
- resource_type: string;
1006
- resource_name: string;
1007
- resource_key?: string | null | undefined;
1008
- }, {
1009
- module: string;
1010
- resource: string;
1011
- addr: string;
1012
- implied_provider: string;
1013
- resource_type: string;
1014
- resource_name: string;
1015
- resource_key?: string | null | undefined;
1016
- }>;
1017
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
1018
- id_key: z.ZodOptional<z.ZodString>;
1019
- id_value: z.ZodOptional<z.ZodString>;
1020
- elapsed_seconds: z.ZodNumber;
1021
- }, "strip", z.ZodTypeAny, {
1022
- resource: {
1023
- module: string;
1024
- resource: string;
1025
- addr: string;
1026
- implied_provider: string;
1027
- resource_type: string;
1028
- resource_name: string;
1029
- resource_key?: string | null | undefined;
1030
- };
1031
- action: "create" | "update" | "delete" | "read" | "noop";
1032
- elapsed_seconds: number;
1033
- id_key?: string | undefined;
1034
- id_value?: string | undefined;
1035
- }, {
1036
- resource: {
1037
- module: string;
1038
- resource: string;
1039
- addr: string;
1040
- implied_provider: string;
1041
- resource_type: string;
1042
- resource_name: string;
1043
- resource_key?: string | null | undefined;
1044
- };
1045
- action: "create" | "update" | "delete" | "read" | "noop";
1046
- elapsed_seconds: number;
1047
- id_key?: string | undefined;
1048
- id_value?: string | undefined;
1049
- }>;
1050
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1051
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1052
- "@message": z.ZodString;
1053
- "@module": z.ZodString;
1054
- "@timestamp": z.ZodString;
1055
- } & {
1056
197
  type: z.ZodLiteral<"apply_errored">;
1057
198
  hook: z.ZodObject<{
1058
199
  resource: z.ZodObject<{
@@ -1063,233 +204,25 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
1063
204
  resource_type: z.ZodString;
1064
205
  resource_name: z.ZodString;
1065
206
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1066
- }, "strip", z.ZodTypeAny, {
1067
- module: string;
1068
- resource: string;
1069
- addr: string;
1070
- implied_provider: string;
1071
- resource_type: string;
1072
- resource_name: string;
1073
- resource_key?: string | null | undefined;
1074
- }, {
1075
- module: string;
1076
- resource: string;
1077
- addr: string;
1078
- implied_provider: string;
1079
- resource_type: string;
1080
- resource_name: string;
1081
- resource_key?: string | null | undefined;
207
+ }, z.core.$strip>;
208
+ action: z.ZodEnum<{
209
+ create: "create";
210
+ update: "update";
211
+ delete: "delete";
212
+ read: "read";
213
+ noop: "noop";
1082
214
  }>;
1083
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
1084
215
  elapsed_seconds: z.ZodNumber;
1085
- }, "strip", z.ZodTypeAny, {
1086
- resource: {
1087
- module: string;
1088
- resource: string;
1089
- addr: string;
1090
- implied_provider: string;
1091
- resource_type: string;
1092
- resource_name: string;
1093
- resource_key?: string | null | undefined;
1094
- };
1095
- action: "create" | "update" | "delete" | "read" | "noop";
1096
- elapsed_seconds: number;
1097
- }, {
1098
- resource: {
1099
- module: string;
1100
- resource: string;
1101
- addr: string;
1102
- implied_provider: string;
1103
- resource_type: string;
1104
- resource_name: string;
1105
- resource_key?: string | null | undefined;
1106
- };
1107
- action: "create" | "update" | "delete" | "read" | "noop";
1108
- elapsed_seconds: number;
216
+ }, z.core.$strip>;
217
+ }, z.core.$loose>, z.ZodObject<{
218
+ "@level": z.ZodEnum<{
219
+ error: "error";
220
+ info: "info";
221
+ warn: "warn";
1109
222
  }>;
1110
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1111
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1112
223
  "@message": z.ZodString;
1113
224
  "@module": z.ZodString;
1114
225
  "@timestamp": z.ZodString;
1115
- } & {
1116
- type: z.ZodLiteral<"apply_errored">;
1117
- hook: z.ZodObject<{
1118
- resource: z.ZodObject<{
1119
- addr: z.ZodString;
1120
- module: z.ZodString;
1121
- resource: z.ZodString;
1122
- implied_provider: z.ZodString;
1123
- resource_type: z.ZodString;
1124
- resource_name: z.ZodString;
1125
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- module: string;
1128
- resource: string;
1129
- addr: string;
1130
- implied_provider: string;
1131
- resource_type: string;
1132
- resource_name: string;
1133
- resource_key?: string | null | undefined;
1134
- }, {
1135
- module: string;
1136
- resource: string;
1137
- addr: string;
1138
- implied_provider: string;
1139
- resource_type: string;
1140
- resource_name: string;
1141
- resource_key?: string | null | undefined;
1142
- }>;
1143
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
1144
- elapsed_seconds: z.ZodNumber;
1145
- }, "strip", z.ZodTypeAny, {
1146
- resource: {
1147
- module: string;
1148
- resource: string;
1149
- addr: string;
1150
- implied_provider: string;
1151
- resource_type: string;
1152
- resource_name: string;
1153
- resource_key?: string | null | undefined;
1154
- };
1155
- action: "create" | "update" | "delete" | "read" | "noop";
1156
- elapsed_seconds: number;
1157
- }, {
1158
- resource: {
1159
- module: string;
1160
- resource: string;
1161
- addr: string;
1162
- implied_provider: string;
1163
- resource_type: string;
1164
- resource_name: string;
1165
- resource_key?: string | null | undefined;
1166
- };
1167
- action: "create" | "update" | "delete" | "read" | "noop";
1168
- elapsed_seconds: number;
1169
- }>;
1170
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1171
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1172
- "@message": z.ZodString;
1173
- "@module": z.ZodString;
1174
- "@timestamp": z.ZodString;
1175
- } & {
1176
- type: z.ZodLiteral<"apply_errored">;
1177
- hook: z.ZodObject<{
1178
- resource: z.ZodObject<{
1179
- addr: z.ZodString;
1180
- module: z.ZodString;
1181
- resource: z.ZodString;
1182
- implied_provider: z.ZodString;
1183
- resource_type: z.ZodString;
1184
- resource_name: z.ZodString;
1185
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1186
- }, "strip", z.ZodTypeAny, {
1187
- module: string;
1188
- resource: string;
1189
- addr: string;
1190
- implied_provider: string;
1191
- resource_type: string;
1192
- resource_name: string;
1193
- resource_key?: string | null | undefined;
1194
- }, {
1195
- module: string;
1196
- resource: string;
1197
- addr: string;
1198
- implied_provider: string;
1199
- resource_type: string;
1200
- resource_name: string;
1201
- resource_key?: string | null | undefined;
1202
- }>;
1203
- action: z.ZodEnum<["noop", "create", "read", "update", "delete"]>;
1204
- elapsed_seconds: z.ZodNumber;
1205
- }, "strip", z.ZodTypeAny, {
1206
- resource: {
1207
- module: string;
1208
- resource: string;
1209
- addr: string;
1210
- implied_provider: string;
1211
- resource_type: string;
1212
- resource_name: string;
1213
- resource_key?: string | null | undefined;
1214
- };
1215
- action: "create" | "update" | "delete" | "read" | "noop";
1216
- elapsed_seconds: number;
1217
- }, {
1218
- resource: {
1219
- module: string;
1220
- resource: string;
1221
- addr: string;
1222
- implied_provider: string;
1223
- resource_type: string;
1224
- resource_name: string;
1225
- resource_key?: string | null | undefined;
1226
- };
1227
- action: "create" | "update" | "delete" | "read" | "noop";
1228
- elapsed_seconds: number;
1229
- }>;
1230
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1231
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1232
- "@message": z.ZodString;
1233
- "@module": z.ZodString;
1234
- "@timestamp": z.ZodString;
1235
- } & {
1236
- type: z.ZodLiteral<"provision_start">;
1237
- hook: z.ZodObject<{
1238
- resource: z.ZodObject<{
1239
- addr: z.ZodString;
1240
- module: z.ZodString;
1241
- resource: z.ZodString;
1242
- implied_provider: z.ZodString;
1243
- resource_type: z.ZodString;
1244
- resource_name: z.ZodString;
1245
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1246
- }, "strip", z.ZodTypeAny, {
1247
- module: string;
1248
- resource: string;
1249
- addr: string;
1250
- implied_provider: string;
1251
- resource_type: string;
1252
- resource_name: string;
1253
- resource_key?: string | null | undefined;
1254
- }, {
1255
- module: string;
1256
- resource: string;
1257
- addr: string;
1258
- implied_provider: string;
1259
- resource_type: string;
1260
- resource_name: string;
1261
- resource_key?: string | null | undefined;
1262
- }>;
1263
- provisioner: z.ZodString;
1264
- }, "strip", z.ZodTypeAny, {
1265
- resource: {
1266
- module: string;
1267
- resource: string;
1268
- addr: string;
1269
- implied_provider: string;
1270
- resource_type: string;
1271
- resource_name: string;
1272
- resource_key?: string | null | undefined;
1273
- };
1274
- provisioner: string;
1275
- }, {
1276
- resource: {
1277
- module: string;
1278
- resource: string;
1279
- addr: string;
1280
- implied_provider: string;
1281
- resource_type: string;
1282
- resource_name: string;
1283
- resource_key?: string | null | undefined;
1284
- };
1285
- provisioner: string;
1286
- }>;
1287
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1288
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1289
- "@message": z.ZodString;
1290
- "@module": z.ZodString;
1291
- "@timestamp": z.ZodString;
1292
- } & {
1293
226
  type: z.ZodLiteral<"provision_start">;
1294
227
  hook: z.ZodObject<{
1295
228
  resource: z.ZodObject<{
@@ -1300,110 +233,18 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
1300
233
  resource_type: z.ZodString;
1301
234
  resource_name: z.ZodString;
1302
235
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1303
- }, "strip", z.ZodTypeAny, {
1304
- module: string;
1305
- resource: string;
1306
- addr: string;
1307
- implied_provider: string;
1308
- resource_type: string;
1309
- resource_name: string;
1310
- resource_key?: string | null | undefined;
1311
- }, {
1312
- module: string;
1313
- resource: string;
1314
- addr: string;
1315
- implied_provider: string;
1316
- resource_type: string;
1317
- resource_name: string;
1318
- resource_key?: string | null | undefined;
1319
- }>;
236
+ }, z.core.$strip>;
1320
237
  provisioner: z.ZodString;
1321
- }, "strip", z.ZodTypeAny, {
1322
- resource: {
1323
- module: string;
1324
- resource: string;
1325
- addr: string;
1326
- implied_provider: string;
1327
- resource_type: string;
1328
- resource_name: string;
1329
- resource_key?: string | null | undefined;
1330
- };
1331
- provisioner: string;
1332
- }, {
1333
- resource: {
1334
- module: string;
1335
- resource: string;
1336
- addr: string;
1337
- implied_provider: string;
1338
- resource_type: string;
1339
- resource_name: string;
1340
- resource_key?: string | null | undefined;
1341
- };
1342
- provisioner: string;
238
+ }, z.core.$strip>;
239
+ }, z.core.$loose>, z.ZodObject<{
240
+ "@level": z.ZodEnum<{
241
+ error: "error";
242
+ info: "info";
243
+ warn: "warn";
1343
244
  }>;
1344
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1345
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1346
245
  "@message": z.ZodString;
1347
246
  "@module": z.ZodString;
1348
247
  "@timestamp": z.ZodString;
1349
- } & {
1350
- type: z.ZodLiteral<"provision_start">;
1351
- hook: z.ZodObject<{
1352
- resource: z.ZodObject<{
1353
- addr: z.ZodString;
1354
- module: z.ZodString;
1355
- resource: z.ZodString;
1356
- implied_provider: z.ZodString;
1357
- resource_type: z.ZodString;
1358
- resource_name: z.ZodString;
1359
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1360
- }, "strip", z.ZodTypeAny, {
1361
- module: string;
1362
- resource: string;
1363
- addr: string;
1364
- implied_provider: string;
1365
- resource_type: string;
1366
- resource_name: string;
1367
- resource_key?: string | null | undefined;
1368
- }, {
1369
- module: string;
1370
- resource: string;
1371
- addr: string;
1372
- implied_provider: string;
1373
- resource_type: string;
1374
- resource_name: string;
1375
- resource_key?: string | null | undefined;
1376
- }>;
1377
- provisioner: z.ZodString;
1378
- }, "strip", z.ZodTypeAny, {
1379
- resource: {
1380
- module: string;
1381
- resource: string;
1382
- addr: string;
1383
- implied_provider: string;
1384
- resource_type: string;
1385
- resource_name: string;
1386
- resource_key?: string | null | undefined;
1387
- };
1388
- provisioner: string;
1389
- }, {
1390
- resource: {
1391
- module: string;
1392
- resource: string;
1393
- addr: string;
1394
- implied_provider: string;
1395
- resource_type: string;
1396
- resource_name: string;
1397
- resource_key?: string | null | undefined;
1398
- };
1399
- provisioner: string;
1400
- }>;
1401
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1402
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1403
- "@message": z.ZodString;
1404
- "@module": z.ZodString;
1405
- "@timestamp": z.ZodString;
1406
- } & {
1407
248
  type: z.ZodLiteral<"provision_progress">;
1408
249
  hook: z.ZodObject<{
1409
250
  resource: z.ZodObject<{
@@ -1414,233 +255,19 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
1414
255
  resource_type: z.ZodString;
1415
256
  resource_name: z.ZodString;
1416
257
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1417
- }, "strip", z.ZodTypeAny, {
1418
- module: string;
1419
- resource: string;
1420
- addr: string;
1421
- implied_provider: string;
1422
- resource_type: string;
1423
- resource_name: string;
1424
- resource_key?: string | null | undefined;
1425
- }, {
1426
- module: string;
1427
- resource: string;
1428
- addr: string;
1429
- implied_provider: string;
1430
- resource_type: string;
1431
- resource_name: string;
1432
- resource_key?: string | null | undefined;
1433
- }>;
258
+ }, z.core.$strip>;
1434
259
  provisioner: z.ZodString;
1435
260
  output: z.ZodString;
1436
- }, "strip", z.ZodTypeAny, {
1437
- resource: {
1438
- module: string;
1439
- resource: string;
1440
- addr: string;
1441
- implied_provider: string;
1442
- resource_type: string;
1443
- resource_name: string;
1444
- resource_key?: string | null | undefined;
1445
- };
1446
- output: string;
1447
- provisioner: string;
1448
- }, {
1449
- resource: {
1450
- module: string;
1451
- resource: string;
1452
- addr: string;
1453
- implied_provider: string;
1454
- resource_type: string;
1455
- resource_name: string;
1456
- resource_key?: string | null | undefined;
1457
- };
1458
- output: string;
1459
- provisioner: string;
261
+ }, z.core.$strip>;
262
+ }, z.core.$loose>, z.ZodObject<{
263
+ "@level": z.ZodEnum<{
264
+ error: "error";
265
+ info: "info";
266
+ warn: "warn";
1460
267
  }>;
1461
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1462
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1463
268
  "@message": z.ZodString;
1464
269
  "@module": z.ZodString;
1465
270
  "@timestamp": z.ZodString;
1466
- } & {
1467
- type: z.ZodLiteral<"provision_progress">;
1468
- hook: z.ZodObject<{
1469
- resource: z.ZodObject<{
1470
- addr: z.ZodString;
1471
- module: z.ZodString;
1472
- resource: z.ZodString;
1473
- implied_provider: z.ZodString;
1474
- resource_type: z.ZodString;
1475
- resource_name: z.ZodString;
1476
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1477
- }, "strip", z.ZodTypeAny, {
1478
- module: string;
1479
- resource: string;
1480
- addr: string;
1481
- implied_provider: string;
1482
- resource_type: string;
1483
- resource_name: string;
1484
- resource_key?: string | null | undefined;
1485
- }, {
1486
- module: string;
1487
- resource: string;
1488
- addr: string;
1489
- implied_provider: string;
1490
- resource_type: string;
1491
- resource_name: string;
1492
- resource_key?: string | null | undefined;
1493
- }>;
1494
- provisioner: z.ZodString;
1495
- output: z.ZodString;
1496
- }, "strip", z.ZodTypeAny, {
1497
- resource: {
1498
- module: string;
1499
- resource: string;
1500
- addr: string;
1501
- implied_provider: string;
1502
- resource_type: string;
1503
- resource_name: string;
1504
- resource_key?: string | null | undefined;
1505
- };
1506
- output: string;
1507
- provisioner: string;
1508
- }, {
1509
- resource: {
1510
- module: string;
1511
- resource: string;
1512
- addr: string;
1513
- implied_provider: string;
1514
- resource_type: string;
1515
- resource_name: string;
1516
- resource_key?: string | null | undefined;
1517
- };
1518
- output: string;
1519
- provisioner: string;
1520
- }>;
1521
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1522
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1523
- "@message": z.ZodString;
1524
- "@module": z.ZodString;
1525
- "@timestamp": z.ZodString;
1526
- } & {
1527
- type: z.ZodLiteral<"provision_progress">;
1528
- hook: z.ZodObject<{
1529
- resource: z.ZodObject<{
1530
- addr: z.ZodString;
1531
- module: z.ZodString;
1532
- resource: z.ZodString;
1533
- implied_provider: z.ZodString;
1534
- resource_type: z.ZodString;
1535
- resource_name: z.ZodString;
1536
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1537
- }, "strip", z.ZodTypeAny, {
1538
- module: string;
1539
- resource: string;
1540
- addr: string;
1541
- implied_provider: string;
1542
- resource_type: string;
1543
- resource_name: string;
1544
- resource_key?: string | null | undefined;
1545
- }, {
1546
- module: string;
1547
- resource: string;
1548
- addr: string;
1549
- implied_provider: string;
1550
- resource_type: string;
1551
- resource_name: string;
1552
- resource_key?: string | null | undefined;
1553
- }>;
1554
- provisioner: z.ZodString;
1555
- output: z.ZodString;
1556
- }, "strip", z.ZodTypeAny, {
1557
- resource: {
1558
- module: string;
1559
- resource: string;
1560
- addr: string;
1561
- implied_provider: string;
1562
- resource_type: string;
1563
- resource_name: string;
1564
- resource_key?: string | null | undefined;
1565
- };
1566
- output: string;
1567
- provisioner: string;
1568
- }, {
1569
- resource: {
1570
- module: string;
1571
- resource: string;
1572
- addr: string;
1573
- implied_provider: string;
1574
- resource_type: string;
1575
- resource_name: string;
1576
- resource_key?: string | null | undefined;
1577
- };
1578
- output: string;
1579
- provisioner: string;
1580
- }>;
1581
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1582
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1583
- "@message": z.ZodString;
1584
- "@module": z.ZodString;
1585
- "@timestamp": z.ZodString;
1586
- } & {
1587
- type: z.ZodLiteral<"provision_complete">;
1588
- hook: z.ZodObject<{
1589
- resource: z.ZodObject<{
1590
- addr: z.ZodString;
1591
- module: z.ZodString;
1592
- resource: z.ZodString;
1593
- implied_provider: z.ZodString;
1594
- resource_type: z.ZodString;
1595
- resource_name: z.ZodString;
1596
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1597
- }, "strip", z.ZodTypeAny, {
1598
- module: string;
1599
- resource: string;
1600
- addr: string;
1601
- implied_provider: string;
1602
- resource_type: string;
1603
- resource_name: string;
1604
- resource_key?: string | null | undefined;
1605
- }, {
1606
- module: string;
1607
- resource: string;
1608
- addr: string;
1609
- implied_provider: string;
1610
- resource_type: string;
1611
- resource_name: string;
1612
- resource_key?: string | null | undefined;
1613
- }>;
1614
- provisioner: z.ZodString;
1615
- }, "strip", z.ZodTypeAny, {
1616
- resource: {
1617
- module: string;
1618
- resource: string;
1619
- addr: string;
1620
- implied_provider: string;
1621
- resource_type: string;
1622
- resource_name: string;
1623
- resource_key?: string | null | undefined;
1624
- };
1625
- provisioner: string;
1626
- }, {
1627
- resource: {
1628
- module: string;
1629
- resource: string;
1630
- addr: string;
1631
- implied_provider: string;
1632
- resource_type: string;
1633
- resource_name: string;
1634
- resource_key?: string | null | undefined;
1635
- };
1636
- provisioner: string;
1637
- }>;
1638
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1639
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1640
- "@message": z.ZodString;
1641
- "@module": z.ZodString;
1642
- "@timestamp": z.ZodString;
1643
- } & {
1644
271
  type: z.ZodLiteral<"provision_complete">;
1645
272
  hook: z.ZodObject<{
1646
273
  resource: z.ZodObject<{
@@ -1651,110 +278,18 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
1651
278
  resource_type: z.ZodString;
1652
279
  resource_name: z.ZodString;
1653
280
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1654
- }, "strip", z.ZodTypeAny, {
1655
- module: string;
1656
- resource: string;
1657
- addr: string;
1658
- implied_provider: string;
1659
- resource_type: string;
1660
- resource_name: string;
1661
- resource_key?: string | null | undefined;
1662
- }, {
1663
- module: string;
1664
- resource: string;
1665
- addr: string;
1666
- implied_provider: string;
1667
- resource_type: string;
1668
- resource_name: string;
1669
- resource_key?: string | null | undefined;
1670
- }>;
281
+ }, z.core.$strip>;
1671
282
  provisioner: z.ZodString;
1672
- }, "strip", z.ZodTypeAny, {
1673
- resource: {
1674
- module: string;
1675
- resource: string;
1676
- addr: string;
1677
- implied_provider: string;
1678
- resource_type: string;
1679
- resource_name: string;
1680
- resource_key?: string | null | undefined;
1681
- };
1682
- provisioner: string;
1683
- }, {
1684
- resource: {
1685
- module: string;
1686
- resource: string;
1687
- addr: string;
1688
- implied_provider: string;
1689
- resource_type: string;
1690
- resource_name: string;
1691
- resource_key?: string | null | undefined;
1692
- };
1693
- provisioner: string;
283
+ }, z.core.$strip>;
284
+ }, z.core.$loose>, z.ZodObject<{
285
+ "@level": z.ZodEnum<{
286
+ error: "error";
287
+ info: "info";
288
+ warn: "warn";
1694
289
  }>;
1695
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1696
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1697
290
  "@message": z.ZodString;
1698
291
  "@module": z.ZodString;
1699
292
  "@timestamp": z.ZodString;
1700
- } & {
1701
- type: z.ZodLiteral<"provision_complete">;
1702
- hook: z.ZodObject<{
1703
- resource: z.ZodObject<{
1704
- addr: z.ZodString;
1705
- module: z.ZodString;
1706
- resource: z.ZodString;
1707
- implied_provider: z.ZodString;
1708
- resource_type: z.ZodString;
1709
- resource_name: z.ZodString;
1710
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1711
- }, "strip", z.ZodTypeAny, {
1712
- module: string;
1713
- resource: string;
1714
- addr: string;
1715
- implied_provider: string;
1716
- resource_type: string;
1717
- resource_name: string;
1718
- resource_key?: string | null | undefined;
1719
- }, {
1720
- module: string;
1721
- resource: string;
1722
- addr: string;
1723
- implied_provider: string;
1724
- resource_type: string;
1725
- resource_name: string;
1726
- resource_key?: string | null | undefined;
1727
- }>;
1728
- provisioner: z.ZodString;
1729
- }, "strip", z.ZodTypeAny, {
1730
- resource: {
1731
- module: string;
1732
- resource: string;
1733
- addr: string;
1734
- implied_provider: string;
1735
- resource_type: string;
1736
- resource_name: string;
1737
- resource_key?: string | null | undefined;
1738
- };
1739
- provisioner: string;
1740
- }, {
1741
- resource: {
1742
- module: string;
1743
- resource: string;
1744
- addr: string;
1745
- implied_provider: string;
1746
- resource_type: string;
1747
- resource_name: string;
1748
- resource_key?: string | null | undefined;
1749
- };
1750
- provisioner: string;
1751
- }>;
1752
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1753
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1754
- "@message": z.ZodString;
1755
- "@module": z.ZodString;
1756
- "@timestamp": z.ZodString;
1757
- } & {
1758
293
  type: z.ZodLiteral<"provision_errored">;
1759
294
  hook: z.ZodObject<{
1760
295
  resource: z.ZodObject<{
@@ -1765,287 +300,18 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
1765
300
  resource_type: z.ZodString;
1766
301
  resource_name: z.ZodString;
1767
302
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1768
- }, "strip", z.ZodTypeAny, {
1769
- module: string;
1770
- resource: string;
1771
- addr: string;
1772
- implied_provider: string;
1773
- resource_type: string;
1774
- resource_name: string;
1775
- resource_key?: string | null | undefined;
1776
- }, {
1777
- module: string;
1778
- resource: string;
1779
- addr: string;
1780
- implied_provider: string;
1781
- resource_type: string;
1782
- resource_name: string;
1783
- resource_key?: string | null | undefined;
1784
- }>;
303
+ }, z.core.$strip>;
1785
304
  provisioner: z.ZodString;
1786
- }, "strip", z.ZodTypeAny, {
1787
- resource: {
1788
- module: string;
1789
- resource: string;
1790
- addr: string;
1791
- implied_provider: string;
1792
- resource_type: string;
1793
- resource_name: string;
1794
- resource_key?: string | null | undefined;
1795
- };
1796
- provisioner: string;
1797
- }, {
1798
- resource: {
1799
- module: string;
1800
- resource: string;
1801
- addr: string;
1802
- implied_provider: string;
1803
- resource_type: string;
1804
- resource_name: string;
1805
- resource_key?: string | null | undefined;
1806
- };
1807
- provisioner: string;
305
+ }, z.core.$strip>;
306
+ }, z.core.$loose>, z.ZodObject<{
307
+ "@level": z.ZodEnum<{
308
+ error: "error";
309
+ info: "info";
310
+ warn: "warn";
1808
311
  }>;
1809
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1810
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1811
312
  "@message": z.ZodString;
1812
313
  "@module": z.ZodString;
1813
314
  "@timestamp": z.ZodString;
1814
- } & {
1815
- type: z.ZodLiteral<"provision_errored">;
1816
- hook: z.ZodObject<{
1817
- resource: z.ZodObject<{
1818
- addr: z.ZodString;
1819
- module: z.ZodString;
1820
- resource: z.ZodString;
1821
- implied_provider: z.ZodString;
1822
- resource_type: z.ZodString;
1823
- resource_name: z.ZodString;
1824
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1825
- }, "strip", z.ZodTypeAny, {
1826
- module: string;
1827
- resource: string;
1828
- addr: string;
1829
- implied_provider: string;
1830
- resource_type: string;
1831
- resource_name: string;
1832
- resource_key?: string | null | undefined;
1833
- }, {
1834
- module: string;
1835
- resource: string;
1836
- addr: string;
1837
- implied_provider: string;
1838
- resource_type: string;
1839
- resource_name: string;
1840
- resource_key?: string | null | undefined;
1841
- }>;
1842
- provisioner: z.ZodString;
1843
- }, "strip", z.ZodTypeAny, {
1844
- resource: {
1845
- module: string;
1846
- resource: string;
1847
- addr: string;
1848
- implied_provider: string;
1849
- resource_type: string;
1850
- resource_name: string;
1851
- resource_key?: string | null | undefined;
1852
- };
1853
- provisioner: string;
1854
- }, {
1855
- resource: {
1856
- module: string;
1857
- resource: string;
1858
- addr: string;
1859
- implied_provider: string;
1860
- resource_type: string;
1861
- resource_name: string;
1862
- resource_key?: string | null | undefined;
1863
- };
1864
- provisioner: string;
1865
- }>;
1866
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1867
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1868
- "@message": z.ZodString;
1869
- "@module": z.ZodString;
1870
- "@timestamp": z.ZodString;
1871
- } & {
1872
- type: z.ZodLiteral<"provision_errored">;
1873
- hook: z.ZodObject<{
1874
- resource: z.ZodObject<{
1875
- addr: z.ZodString;
1876
- module: z.ZodString;
1877
- resource: z.ZodString;
1878
- implied_provider: z.ZodString;
1879
- resource_type: z.ZodString;
1880
- resource_name: z.ZodString;
1881
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1882
- }, "strip", z.ZodTypeAny, {
1883
- module: string;
1884
- resource: string;
1885
- addr: string;
1886
- implied_provider: string;
1887
- resource_type: string;
1888
- resource_name: string;
1889
- resource_key?: string | null | undefined;
1890
- }, {
1891
- module: string;
1892
- resource: string;
1893
- addr: string;
1894
- implied_provider: string;
1895
- resource_type: string;
1896
- resource_name: string;
1897
- resource_key?: string | null | undefined;
1898
- }>;
1899
- provisioner: z.ZodString;
1900
- }, "strip", z.ZodTypeAny, {
1901
- resource: {
1902
- module: string;
1903
- resource: string;
1904
- addr: string;
1905
- implied_provider: string;
1906
- resource_type: string;
1907
- resource_name: string;
1908
- resource_key?: string | null | undefined;
1909
- };
1910
- provisioner: string;
1911
- }, {
1912
- resource: {
1913
- module: string;
1914
- resource: string;
1915
- addr: string;
1916
- implied_provider: string;
1917
- resource_type: string;
1918
- resource_name: string;
1919
- resource_key?: string | null | undefined;
1920
- };
1921
- provisioner: string;
1922
- }>;
1923
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1924
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1925
- "@message": z.ZodString;
1926
- "@module": z.ZodString;
1927
- "@timestamp": z.ZodString;
1928
- } & {
1929
- type: z.ZodLiteral<"refresh_start">;
1930
- hook: z.ZodObject<{
1931
- resource: z.ZodObject<{
1932
- addr: z.ZodString;
1933
- module: z.ZodString;
1934
- resource: z.ZodString;
1935
- implied_provider: z.ZodString;
1936
- resource_type: z.ZodString;
1937
- resource_name: z.ZodString;
1938
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1939
- }, "strip", z.ZodTypeAny, {
1940
- module: string;
1941
- resource: string;
1942
- addr: string;
1943
- implied_provider: string;
1944
- resource_type: string;
1945
- resource_name: string;
1946
- resource_key?: string | null | undefined;
1947
- }, {
1948
- module: string;
1949
- resource: string;
1950
- addr: string;
1951
- implied_provider: string;
1952
- resource_type: string;
1953
- resource_name: string;
1954
- resource_key?: string | null | undefined;
1955
- }>;
1956
- id_key: z.ZodOptional<z.ZodString>;
1957
- id_value: z.ZodOptional<z.ZodString>;
1958
- }, "strip", z.ZodTypeAny, {
1959
- resource: {
1960
- module: string;
1961
- resource: string;
1962
- addr: string;
1963
- implied_provider: string;
1964
- resource_type: string;
1965
- resource_name: string;
1966
- resource_key?: string | null | undefined;
1967
- };
1968
- id_key?: string | undefined;
1969
- id_value?: string | undefined;
1970
- }, {
1971
- resource: {
1972
- module: string;
1973
- resource: string;
1974
- addr: string;
1975
- implied_provider: string;
1976
- resource_type: string;
1977
- resource_name: string;
1978
- resource_key?: string | null | undefined;
1979
- };
1980
- id_key?: string | undefined;
1981
- id_value?: string | undefined;
1982
- }>;
1983
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1984
- "@level": z.ZodEnum<["info", "error", "warn"]>;
1985
- "@message": z.ZodString;
1986
- "@module": z.ZodString;
1987
- "@timestamp": z.ZodString;
1988
- } & {
1989
- type: z.ZodLiteral<"refresh_start">;
1990
- hook: z.ZodObject<{
1991
- resource: z.ZodObject<{
1992
- addr: z.ZodString;
1993
- module: z.ZodString;
1994
- resource: z.ZodString;
1995
- implied_provider: z.ZodString;
1996
- resource_type: z.ZodString;
1997
- resource_name: z.ZodString;
1998
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1999
- }, "strip", z.ZodTypeAny, {
2000
- module: string;
2001
- resource: string;
2002
- addr: string;
2003
- implied_provider: string;
2004
- resource_type: string;
2005
- resource_name: string;
2006
- resource_key?: string | null | undefined;
2007
- }, {
2008
- module: string;
2009
- resource: string;
2010
- addr: string;
2011
- implied_provider: string;
2012
- resource_type: string;
2013
- resource_name: string;
2014
- resource_key?: string | null | undefined;
2015
- }>;
2016
- id_key: z.ZodOptional<z.ZodString>;
2017
- id_value: z.ZodOptional<z.ZodString>;
2018
- }, "strip", z.ZodTypeAny, {
2019
- resource: {
2020
- module: string;
2021
- resource: string;
2022
- addr: string;
2023
- implied_provider: string;
2024
- resource_type: string;
2025
- resource_name: string;
2026
- resource_key?: string | null | undefined;
2027
- };
2028
- id_key?: string | undefined;
2029
- id_value?: string | undefined;
2030
- }, {
2031
- resource: {
2032
- module: string;
2033
- resource: string;
2034
- addr: string;
2035
- implied_provider: string;
2036
- resource_type: string;
2037
- resource_name: string;
2038
- resource_key?: string | null | undefined;
2039
- };
2040
- id_key?: string | undefined;
2041
- id_value?: string | undefined;
2042
- }>;
2043
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2044
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2045
- "@message": z.ZodString;
2046
- "@module": z.ZodString;
2047
- "@timestamp": z.ZodString;
2048
- } & {
2049
315
  type: z.ZodLiteral<"refresh_start">;
2050
316
  hook: z.ZodObject<{
2051
317
  resource: z.ZodObject<{
@@ -2056,116 +322,19 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
2056
322
  resource_type: z.ZodString;
2057
323
  resource_name: z.ZodString;
2058
324
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2059
- }, "strip", z.ZodTypeAny, {
2060
- module: string;
2061
- resource: string;
2062
- addr: string;
2063
- implied_provider: string;
2064
- resource_type: string;
2065
- resource_name: string;
2066
- resource_key?: string | null | undefined;
2067
- }, {
2068
- module: string;
2069
- resource: string;
2070
- addr: string;
2071
- implied_provider: string;
2072
- resource_type: string;
2073
- resource_name: string;
2074
- resource_key?: string | null | undefined;
2075
- }>;
2076
- id_key: z.ZodOptional<z.ZodString>;
2077
- id_value: z.ZodOptional<z.ZodString>;
2078
- }, "strip", z.ZodTypeAny, {
2079
- resource: {
2080
- module: string;
2081
- resource: string;
2082
- addr: string;
2083
- implied_provider: string;
2084
- resource_type: string;
2085
- resource_name: string;
2086
- resource_key?: string | null | undefined;
2087
- };
2088
- id_key?: string | undefined;
2089
- id_value?: string | undefined;
2090
- }, {
2091
- resource: {
2092
- module: string;
2093
- resource: string;
2094
- addr: string;
2095
- implied_provider: string;
2096
- resource_type: string;
2097
- resource_name: string;
2098
- resource_key?: string | null | undefined;
2099
- };
2100
- id_key?: string | undefined;
2101
- id_value?: string | undefined;
2102
- }>;
2103
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2104
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2105
- "@message": z.ZodString;
2106
- "@module": z.ZodString;
2107
- "@timestamp": z.ZodString;
2108
- } & {
2109
- type: z.ZodLiteral<"refresh_complete">;
2110
- hook: z.ZodObject<{
2111
- resource: z.ZodObject<{
2112
- addr: z.ZodString;
2113
- module: z.ZodString;
2114
- resource: z.ZodString;
2115
- implied_provider: z.ZodString;
2116
- resource_type: z.ZodString;
2117
- resource_name: z.ZodString;
2118
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2119
- }, "strip", z.ZodTypeAny, {
2120
- module: string;
2121
- resource: string;
2122
- addr: string;
2123
- implied_provider: string;
2124
- resource_type: string;
2125
- resource_name: string;
2126
- resource_key?: string | null | undefined;
2127
- }, {
2128
- module: string;
2129
- resource: string;
2130
- addr: string;
2131
- implied_provider: string;
2132
- resource_type: string;
2133
- resource_name: string;
2134
- resource_key?: string | null | undefined;
2135
- }>;
325
+ }, z.core.$strip>;
2136
326
  id_key: z.ZodOptional<z.ZodString>;
2137
327
  id_value: z.ZodOptional<z.ZodString>;
2138
- }, "strip", z.ZodTypeAny, {
2139
- resource: {
2140
- module: string;
2141
- resource: string;
2142
- addr: string;
2143
- implied_provider: string;
2144
- resource_type: string;
2145
- resource_name: string;
2146
- resource_key?: string | null | undefined;
2147
- };
2148
- id_key?: string | undefined;
2149
- id_value?: string | undefined;
2150
- }, {
2151
- resource: {
2152
- module: string;
2153
- resource: string;
2154
- addr: string;
2155
- implied_provider: string;
2156
- resource_type: string;
2157
- resource_name: string;
2158
- resource_key?: string | null | undefined;
2159
- };
2160
- id_key?: string | undefined;
2161
- id_value?: string | undefined;
328
+ }, z.core.$strip>;
329
+ }, z.core.$loose>, z.ZodObject<{
330
+ "@level": z.ZodEnum<{
331
+ error: "error";
332
+ info: "info";
333
+ warn: "warn";
2162
334
  }>;
2163
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2164
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2165
335
  "@message": z.ZodString;
2166
336
  "@module": z.ZodString;
2167
337
  "@timestamp": z.ZodString;
2168
- } & {
2169
338
  type: z.ZodLiteral<"refresh_complete">;
2170
339
  hook: z.ZodObject<{
2171
340
  resource: z.ZodObject<{
@@ -2176,132 +345,21 @@ export declare const schema: z.ZodUnion<[z.ZodObject<{
2176
345
  resource_type: z.ZodString;
2177
346
  resource_name: z.ZodString;
2178
347
  resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2179
- }, "strip", z.ZodTypeAny, {
2180
- module: string;
2181
- resource: string;
2182
- addr: string;
2183
- implied_provider: string;
2184
- resource_type: string;
2185
- resource_name: string;
2186
- resource_key?: string | null | undefined;
2187
- }, {
2188
- module: string;
2189
- resource: string;
2190
- addr: string;
2191
- implied_provider: string;
2192
- resource_type: string;
2193
- resource_name: string;
2194
- resource_key?: string | null | undefined;
2195
- }>;
348
+ }, z.core.$strip>;
2196
349
  id_key: z.ZodOptional<z.ZodString>;
2197
350
  id_value: z.ZodOptional<z.ZodString>;
2198
- }, "strip", z.ZodTypeAny, {
2199
- resource: {
2200
- module: string;
2201
- resource: string;
2202
- addr: string;
2203
- implied_provider: string;
2204
- resource_type: string;
2205
- resource_name: string;
2206
- resource_key?: string | null | undefined;
2207
- };
2208
- id_key?: string | undefined;
2209
- id_value?: string | undefined;
2210
- }, {
2211
- resource: {
2212
- module: string;
2213
- resource: string;
2214
- addr: string;
2215
- implied_provider: string;
2216
- resource_type: string;
2217
- resource_name: string;
2218
- resource_key?: string | null | undefined;
2219
- };
2220
- id_key?: string | undefined;
2221
- id_value?: string | undefined;
351
+ }, z.core.$strip>;
352
+ }, z.core.$loose>, z.ZodObject<{
353
+ "@level": z.ZodEnum<{
354
+ error: "error";
355
+ info: "info";
356
+ warn: "warn";
2222
357
  }>;
2223
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2224
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2225
- "@message": z.ZodString;
2226
- "@module": z.ZodString;
2227
- "@timestamp": z.ZodString;
2228
- } & {
2229
- type: z.ZodLiteral<"refresh_complete">;
2230
- hook: z.ZodObject<{
2231
- resource: z.ZodObject<{
2232
- addr: z.ZodString;
2233
- module: z.ZodString;
2234
- resource: z.ZodString;
2235
- implied_provider: z.ZodString;
2236
- resource_type: z.ZodString;
2237
- resource_name: z.ZodString;
2238
- resource_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2239
- }, "strip", z.ZodTypeAny, {
2240
- module: string;
2241
- resource: string;
2242
- addr: string;
2243
- implied_provider: string;
2244
- resource_type: string;
2245
- resource_name: string;
2246
- resource_key?: string | null | undefined;
2247
- }, {
2248
- module: string;
2249
- resource: string;
2250
- addr: string;
2251
- implied_provider: string;
2252
- resource_type: string;
2253
- resource_name: string;
2254
- resource_key?: string | null | undefined;
2255
- }>;
2256
- id_key: z.ZodOptional<z.ZodString>;
2257
- id_value: z.ZodOptional<z.ZodString>;
2258
- }, "strip", z.ZodTypeAny, {
2259
- resource: {
2260
- module: string;
2261
- resource: string;
2262
- addr: string;
2263
- implied_provider: string;
2264
- resource_type: string;
2265
- resource_name: string;
2266
- resource_key?: string | null | undefined;
2267
- };
2268
- id_key?: string | undefined;
2269
- id_value?: string | undefined;
2270
- }, {
2271
- resource: {
2272
- module: string;
2273
- resource: string;
2274
- addr: string;
2275
- implied_provider: string;
2276
- resource_type: string;
2277
- resource_name: string;
2278
- resource_key?: string | null | undefined;
2279
- };
2280
- id_key?: string | undefined;
2281
- id_value?: string | undefined;
2282
- }>;
2283
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2284
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2285
- "@message": z.ZodString;
2286
- "@module": z.ZodString;
2287
- "@timestamp": z.ZodString;
2288
- } & {
2289
- type: z.ZodLiteral<"log">;
2290
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2291
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2292
- "@message": z.ZodString;
2293
- "@module": z.ZodString;
2294
- "@timestamp": z.ZodString;
2295
- } & {
2296
- type: z.ZodLiteral<"log">;
2297
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2298
- "@level": z.ZodEnum<["info", "error", "warn"]>;
2299
358
  "@message": z.ZodString;
2300
359
  "@module": z.ZodString;
2301
360
  "@timestamp": z.ZodString;
2302
- } & {
2303
361
  type: z.ZodLiteral<"log">;
2304
- }, z.ZodTypeAny, "passthrough">>]>;
362
+ }, z.core.$loose>]>;
2305
363
  export type ActionTypes = z.infer<typeof action>;
2306
364
  export {};
2307
365
  //# sourceMappingURL=schema.d.ts.map