@n8n/api-types 1.40.1 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/agents/types.d.ts +2 -0
  2. package/dist/agents/types.js.map +1 -1
  3. package/dist/build.tsbuildinfo +1 -1
  4. package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
  5. package/dist/dto/credentials/create-credential.dto.js +2 -0
  6. package/dist/dto/credentials/create-credential.dto.js.map +1 -1
  7. package/dist/dto/credentials/credential-public.dto.d.ts +26 -2
  8. package/dist/dto/credentials/credential-public.dto.js +31 -2
  9. package/dist/dto/credentials/credential-public.dto.js.map +1 -1
  10. package/dist/dto/executions/compare-execution-list-items.d.ts +7 -0
  11. package/dist/dto/executions/compare-execution-list-items.js +20 -0
  12. package/dist/dto/executions/compare-execution-list-items.js.map +1 -0
  13. package/dist/dto/executions/execution-list-pagination.d.ts +9 -0
  14. package/dist/dto/executions/execution-list-pagination.js +3 -0
  15. package/dist/dto/executions/execution-list-pagination.js.map +1 -0
  16. package/dist/dto/folders/folder-public.dto.d.ts +421 -0
  17. package/dist/dto/folders/folder-public.dto.js +75 -0
  18. package/dist/dto/folders/folder-public.dto.js.map +1 -0
  19. package/dist/dto/folders/folder-public.openapi.d.ts +82 -0
  20. package/dist/dto/folders/folder-public.openapi.js +56 -0
  21. package/dist/dto/folders/folder-public.openapi.js.map +1 -0
  22. package/dist/dto/folders/list-folder-query.dto.d.ts +11 -0
  23. package/dist/dto/folders/list-folder-query.dto.js +14 -18
  24. package/dist/dto/folders/list-folder-query.dto.js.map +1 -1
  25. package/dist/dto/index.d.ts +19 -16
  26. package/dist/dto/index.js +46 -20
  27. package/dist/dto/index.js.map +1 -1
  28. package/dist/dto/insights/insights-summary-public.dto.d.ts +109 -0
  29. package/dist/dto/insights/insights-summary-public.dto.js +33 -0
  30. package/dist/dto/insights/insights-summary-public.dto.js.map +1 -0
  31. package/dist/dto/insights/insights-summary-public.openapi.d.ts +12 -0
  32. package/dist/dto/insights/insights-summary-public.openapi.js +12 -0
  33. package/dist/dto/insights/insights-summary-public.openapi.js.map +1 -0
  34. package/dist/dto/promotions/promotable-resource.dto.d.ts +101 -0
  35. package/dist/dto/promotions/promotable-resource.dto.js +8 -1
  36. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  37. package/dist/dto/promotions/promotion-binding-preflight.dto.d.ts +3842 -0
  38. package/dist/dto/promotions/promotion-binding-preflight.dto.js +120 -0
  39. package/dist/dto/promotions/promotion-binding-preflight.dto.js.map +1 -0
  40. package/dist/dto/promotions/promotion-config.dto.d.ts +360 -0
  41. package/dist/dto/promotions/promotion-config.dto.js +16 -1
  42. package/dist/dto/promotions/promotion-config.dto.js.map +1 -1
  43. package/dist/dto/promotions/promotion-connection.dto.d.ts +442 -12
  44. package/dist/dto/promotions/promotion-connection.dto.js +5 -2
  45. package/dist/dto/promotions/promotion-connection.dto.js.map +1 -1
  46. package/dist/dto/promotions/promotion-operations.dto.d.ts +4893 -285
  47. package/dist/dto/promotions/promotion-operations.dto.js +33 -6
  48. package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
  49. package/dist/dto/tag/tag-public.dto.d.ts +26 -0
  50. package/dist/dto/tag/tag-public.dto.js +14 -3
  51. package/dist/dto/tag/tag-public.dto.js.map +1 -1
  52. package/dist/dto/type-availability-policies/create-policy-document.dto.js.map +1 -0
  53. package/dist/dto/type-availability-policies/node-type-policy-public.dto.d.ts +565 -0
  54. package/dist/dto/type-availability-policies/node-type-policy-public.dto.js +70 -0
  55. package/dist/dto/type-availability-policies/node-type-policy-public.dto.js.map +1 -0
  56. package/dist/dto/type-availability-policies/policy-rule.schema.js.map +1 -0
  57. package/dist/dto/type-availability-policies/policy-rule.types.js.map +1 -0
  58. package/dist/dto/type-availability-policies/policy-selector.schema.js.map +1 -0
  59. package/dist/dto/type-availability-policies/put-instance-policy.dto.js.map +1 -0
  60. package/dist/dto/type-availability-policies/put-project-policy.dto.js.map +1 -0
  61. package/dist/dto/type-availability-policies/replace-attachments.dto.js.map +1 -0
  62. package/dist/dto/type-availability-policies/update-policy-document.dto.js.map +1 -0
  63. package/dist/dto/user/user-update-request.dto.d.ts +0 -6
  64. package/dist/dto/user/user-update-request.dto.js +0 -3
  65. package/dist/dto/user/user-update-request.dto.js.map +1 -1
  66. package/dist/frontend-settings.d.ts +1 -0
  67. package/dist/index.d.ts +12 -8
  68. package/dist/index.js +36 -8
  69. package/dist/index.js.map +1 -1
  70. package/dist/push/agents.d.ts +2 -0
  71. package/dist/schemas/agent-run-reducer.js +7 -1
  72. package/dist/schemas/agent-run-reducer.js.map +1 -1
  73. package/dist/schemas/ai-preference.schema.d.ts +4 -0
  74. package/dist/schemas/ai-preference.schema.js +5 -2
  75. package/dist/schemas/ai-preference.schema.js.map +1 -1
  76. package/dist/schemas/credential-description.schema.d.ts +3 -0
  77. package/dist/schemas/credential-description.schema.js +14 -0
  78. package/dist/schemas/credential-description.schema.js.map +1 -0
  79. package/dist/schemas/instance-ai-approval.schema.d.ts +380 -0
  80. package/dist/schemas/instance-ai-approval.schema.js +77 -0
  81. package/dist/schemas/instance-ai-approval.schema.js.map +1 -0
  82. package/dist/schemas/instance-ai.schema.d.ts +1766 -121
  83. package/dist/schemas/instance-ai.schema.js +171 -14
  84. package/dist/schemas/instance-ai.schema.js.map +1 -1
  85. package/dist/schemas/llm-step-display.d.ts +1 -0
  86. package/dist/schemas/llm-step-display.js +16 -5
  87. package/dist/schemas/llm-step-display.js.map +1 -1
  88. package/dist/schemas/mcp.schema.d.ts +1 -2
  89. package/dist/schemas/mcp.schema.js +3 -2
  90. package/dist/schemas/mcp.schema.js.map +1 -1
  91. package/dist/schemas/public-api-path-params.schema.d.ts +4 -0
  92. package/dist/schemas/public-api-path-params.schema.js +10 -4
  93. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  94. package/package.json +3 -3
  95. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.d.ts +0 -15
  96. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.js +0 -28
  97. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.js.map +0 -1
  98. package/dist/dto/node-type-policies/create-policy-document.dto.js.map +0 -1
  99. package/dist/dto/node-type-policies/node-type-policy-public.dto.d.ts +0 -146
  100. package/dist/dto/node-type-policies/node-type-policy-public.dto.js +0 -27
  101. package/dist/dto/node-type-policies/node-type-policy-public.dto.js.map +0 -1
  102. package/dist/dto/node-type-policies/policy-rule.schema.js.map +0 -1
  103. package/dist/dto/node-type-policies/policy-rule.types.js.map +0 -1
  104. package/dist/dto/node-type-policies/policy-selector.schema.js.map +0 -1
  105. package/dist/dto/node-type-policies/put-instance-policy.dto.js.map +0 -1
  106. package/dist/dto/node-type-policies/put-project-policy.dto.js.map +0 -1
  107. package/dist/dto/node-type-policies/replace-attachments.dto.js.map +0 -1
  108. package/dist/dto/node-type-policies/update-policy-document.dto.js.map +0 -1
  109. /package/dist/dto/{node-type-policies → type-availability-policies}/create-policy-document.dto.d.ts +0 -0
  110. /package/dist/dto/{node-type-policies → type-availability-policies}/create-policy-document.dto.js +0 -0
  111. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.schema.d.ts +0 -0
  112. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.schema.js +0 -0
  113. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.types.d.ts +0 -0
  114. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.types.js +0 -0
  115. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-selector.schema.d.ts +0 -0
  116. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-selector.schema.js +0 -0
  117. /package/dist/dto/{node-type-policies → type-availability-policies}/put-instance-policy.dto.d.ts +0 -0
  118. /package/dist/dto/{node-type-policies → type-availability-policies}/put-instance-policy.dto.js +0 -0
  119. /package/dist/dto/{node-type-policies → type-availability-policies}/put-project-policy.dto.d.ts +0 -0
  120. /package/dist/dto/{node-type-policies → type-availability-policies}/put-project-policy.dto.js +0 -0
  121. /package/dist/dto/{node-type-policies → type-availability-policies}/replace-attachments.dto.d.ts +0 -0
  122. /package/dist/dto/{node-type-policies → type-availability-policies}/replace-attachments.dto.js +0 -0
  123. /package/dist/dto/{node-type-policies → type-availability-policies}/update-policy-document.dto.d.ts +0 -0
  124. /package/dist/dto/{node-type-policies → type-availability-policies}/update-policy-document.dto.js +0 -0
@@ -0,0 +1,3842 @@
1
+ import '../../openapi-extend';
2
+ import { z } from 'zod';
3
+ export declare const promotionBindingProjectSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ id: string;
8
+ name: string;
9
+ }, {
10
+ id: string;
11
+ name: string;
12
+ }>;
13
+ export declare const promotionBindingConsumerSchema: z.ZodObject<{
14
+ project: z.ZodObject<{
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ id: string;
19
+ name: string;
20
+ }, {
21
+ id: string;
22
+ name: string;
23
+ }>;
24
+ workflows: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: string;
29
+ name: string;
30
+ }, {
31
+ id: string;
32
+ name: string;
33
+ }>, "many">;
34
+ }, "strip", z.ZodTypeAny, {
35
+ project: {
36
+ id: string;
37
+ name: string;
38
+ };
39
+ workflows: {
40
+ id: string;
41
+ name: string;
42
+ }[];
43
+ }, {
44
+ project: {
45
+ id: string;
46
+ name: string;
47
+ };
48
+ workflows: {
49
+ id: string;
50
+ name: string;
51
+ }[];
52
+ }>;
53
+ export declare const promotionVariableScopeSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
54
+ kind: z.ZodLiteral<"global">;
55
+ }, "strip", z.ZodTypeAny, {
56
+ kind: "global";
57
+ }, {
58
+ kind: "global";
59
+ }>, z.ZodObject<{
60
+ kind: z.ZodLiteral<"project">;
61
+ project: z.ZodObject<{
62
+ id: z.ZodString;
63
+ name: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ id: string;
66
+ name: string;
67
+ }, {
68
+ id: string;
69
+ name: string;
70
+ }>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ kind: "project";
73
+ project: {
74
+ id: string;
75
+ name: string;
76
+ };
77
+ }, {
78
+ kind: "project";
79
+ project: {
80
+ id: string;
81
+ name: string;
82
+ };
83
+ }>]>;
84
+ export type PromotionCredentialExpressionValue = string | PromotionCredentialExpressionValue[] | {
85
+ [key: string]: PromotionCredentialExpressionValue;
86
+ };
87
+ export declare const promotionCredentialExpressionDataSchema: z.ZodRecord<z.ZodString, z.ZodType<PromotionCredentialExpressionValue, z.ZodTypeDef, PromotionCredentialExpressionValue>>;
88
+ export declare const promotionMissingCredentialBindingSchema: z.ZodObject<{
89
+ kind: z.ZodLiteral<"credential">;
90
+ sourceId: z.ZodString;
91
+ name: z.ZodString;
92
+ credentialType: z.ZodString;
93
+ consumers: z.ZodArray<z.ZodObject<{
94
+ project: z.ZodObject<{
95
+ id: z.ZodString;
96
+ name: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ id: string;
99
+ name: string;
100
+ }, {
101
+ id: string;
102
+ name: string;
103
+ }>;
104
+ workflows: z.ZodArray<z.ZodObject<{
105
+ id: z.ZodString;
106
+ name: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ id: string;
109
+ name: string;
110
+ }, {
111
+ id: string;
112
+ name: string;
113
+ }>, "many">;
114
+ }, "strip", z.ZodTypeAny, {
115
+ project: {
116
+ id: string;
117
+ name: string;
118
+ };
119
+ workflows: {
120
+ id: string;
121
+ name: string;
122
+ }[];
123
+ }, {
124
+ project: {
125
+ id: string;
126
+ name: string;
127
+ };
128
+ workflows: {
129
+ id: string;
130
+ name: string;
131
+ }[];
132
+ }>, "many">;
133
+ } & {
134
+ ownerProject: z.ZodObject<{
135
+ id: z.ZodString;
136
+ name: z.ZodString;
137
+ }, "strip", z.ZodTypeAny, {
138
+ id: string;
139
+ name: string;
140
+ }, {
141
+ id: string;
142
+ name: string;
143
+ }>;
144
+ expressionData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<PromotionCredentialExpressionValue, z.ZodTypeDef, PromotionCredentialExpressionValue>>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ kind: "credential";
147
+ sourceId: string;
148
+ name: string;
149
+ credentialType: string;
150
+ consumers: {
151
+ project: {
152
+ id: string;
153
+ name: string;
154
+ };
155
+ workflows: {
156
+ id: string;
157
+ name: string;
158
+ }[];
159
+ }[];
160
+ ownerProject: {
161
+ id: string;
162
+ name: string;
163
+ };
164
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
165
+ }, {
166
+ kind: "credential";
167
+ sourceId: string;
168
+ name: string;
169
+ credentialType: string;
170
+ consumers: {
171
+ project: {
172
+ id: string;
173
+ name: string;
174
+ };
175
+ workflows: {
176
+ id: string;
177
+ name: string;
178
+ }[];
179
+ }[];
180
+ ownerProject: {
181
+ id: string;
182
+ name: string;
183
+ };
184
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
185
+ }>;
186
+ export declare const promotionMissingVariableBindingSchema: z.ZodObject<{
187
+ kind: z.ZodLiteral<"variable">;
188
+ name: z.ZodString;
189
+ variableType: z.ZodDefault<z.ZodEnum<["string"]>>;
190
+ scope: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
191
+ kind: z.ZodLiteral<"global">;
192
+ }, "strip", z.ZodTypeAny, {
193
+ kind: "global";
194
+ }, {
195
+ kind: "global";
196
+ }>, z.ZodObject<{
197
+ kind: z.ZodLiteral<"project">;
198
+ project: z.ZodObject<{
199
+ id: z.ZodString;
200
+ name: z.ZodString;
201
+ }, "strip", z.ZodTypeAny, {
202
+ id: string;
203
+ name: string;
204
+ }, {
205
+ id: string;
206
+ name: string;
207
+ }>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ kind: "project";
210
+ project: {
211
+ id: string;
212
+ name: string;
213
+ };
214
+ }, {
215
+ kind: "project";
216
+ project: {
217
+ id: string;
218
+ name: string;
219
+ };
220
+ }>]>;
221
+ sourceValue: z.ZodOptional<z.ZodString>;
222
+ consumers: z.ZodArray<z.ZodObject<{
223
+ project: z.ZodObject<{
224
+ id: z.ZodString;
225
+ name: z.ZodString;
226
+ }, "strip", z.ZodTypeAny, {
227
+ id: string;
228
+ name: string;
229
+ }, {
230
+ id: string;
231
+ name: string;
232
+ }>;
233
+ workflows: z.ZodArray<z.ZodObject<{
234
+ id: z.ZodString;
235
+ name: z.ZodString;
236
+ }, "strip", z.ZodTypeAny, {
237
+ id: string;
238
+ name: string;
239
+ }, {
240
+ id: string;
241
+ name: string;
242
+ }>, "many">;
243
+ }, "strip", z.ZodTypeAny, {
244
+ project: {
245
+ id: string;
246
+ name: string;
247
+ };
248
+ workflows: {
249
+ id: string;
250
+ name: string;
251
+ }[];
252
+ }, {
253
+ project: {
254
+ id: string;
255
+ name: string;
256
+ };
257
+ workflows: {
258
+ id: string;
259
+ name: string;
260
+ }[];
261
+ }>, "many">;
262
+ }, "strip", z.ZodTypeAny, {
263
+ kind: "variable";
264
+ name: string;
265
+ variableType: "string";
266
+ scope: {
267
+ kind: "global";
268
+ } | {
269
+ kind: "project";
270
+ project: {
271
+ id: string;
272
+ name: string;
273
+ };
274
+ };
275
+ sourceValue?: string | undefined;
276
+ consumers: {
277
+ project: {
278
+ id: string;
279
+ name: string;
280
+ };
281
+ workflows: {
282
+ id: string;
283
+ name: string;
284
+ }[];
285
+ }[];
286
+ }, {
287
+ kind: "variable";
288
+ name: string;
289
+ variableType?: "string" | undefined;
290
+ scope: {
291
+ kind: "global";
292
+ } | {
293
+ kind: "project";
294
+ project: {
295
+ id: string;
296
+ name: string;
297
+ };
298
+ };
299
+ sourceValue?: string | undefined;
300
+ consumers: {
301
+ project: {
302
+ id: string;
303
+ name: string;
304
+ };
305
+ workflows: {
306
+ id: string;
307
+ name: string;
308
+ }[];
309
+ }[];
310
+ }>;
311
+ export declare const promotionBindingAccessRequirementSchema: z.ZodObject<{
312
+ kind: z.ZodLiteral<"credential">;
313
+ sourceId: z.ZodString;
314
+ name: z.ZodString;
315
+ credentialType: z.ZodString;
316
+ consumers: z.ZodArray<z.ZodObject<{
317
+ project: z.ZodObject<{
318
+ id: z.ZodString;
319
+ name: z.ZodString;
320
+ }, "strip", z.ZodTypeAny, {
321
+ id: string;
322
+ name: string;
323
+ }, {
324
+ id: string;
325
+ name: string;
326
+ }>;
327
+ workflows: z.ZodArray<z.ZodObject<{
328
+ id: z.ZodString;
329
+ name: z.ZodString;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ name: string;
333
+ }, {
334
+ id: string;
335
+ name: string;
336
+ }>, "many">;
337
+ }, "strip", z.ZodTypeAny, {
338
+ project: {
339
+ id: string;
340
+ name: string;
341
+ };
342
+ workflows: {
343
+ id: string;
344
+ name: string;
345
+ }[];
346
+ }, {
347
+ project: {
348
+ id: string;
349
+ name: string;
350
+ };
351
+ workflows: {
352
+ id: string;
353
+ name: string;
354
+ }[];
355
+ }>, "many">;
356
+ } & {
357
+ code: z.ZodLiteral<"access-required">;
358
+ }, "strip", z.ZodTypeAny, {
359
+ kind: "credential";
360
+ sourceId: string;
361
+ name: string;
362
+ credentialType: string;
363
+ consumers: {
364
+ project: {
365
+ id: string;
366
+ name: string;
367
+ };
368
+ workflows: {
369
+ id: string;
370
+ name: string;
371
+ }[];
372
+ }[];
373
+ code: "access-required";
374
+ }, {
375
+ kind: "credential";
376
+ sourceId: string;
377
+ name: string;
378
+ credentialType: string;
379
+ consumers: {
380
+ project: {
381
+ id: string;
382
+ name: string;
383
+ };
384
+ workflows: {
385
+ id: string;
386
+ name: string;
387
+ }[];
388
+ }[];
389
+ code: "access-required";
390
+ }>;
391
+ export declare const promotionBindingConflictSchema: z.ZodDiscriminatedUnion<"code", [z.ZodObject<{
392
+ kind: z.ZodLiteral<"credential">;
393
+ sourceId: z.ZodNullable<z.ZodString>;
394
+ name: z.ZodString;
395
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
396
+ filePath: z.ZodOptional<z.ZodString>;
397
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
398
+ consumers: z.ZodArray<z.ZodObject<{
399
+ project: z.ZodObject<{
400
+ id: z.ZodString;
401
+ name: z.ZodString;
402
+ }, "strip", z.ZodTypeAny, {
403
+ id: string;
404
+ name: string;
405
+ }, {
406
+ id: string;
407
+ name: string;
408
+ }>;
409
+ workflows: z.ZodArray<z.ZodObject<{
410
+ id: z.ZodString;
411
+ name: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ id: string;
414
+ name: string;
415
+ }, {
416
+ id: string;
417
+ name: string;
418
+ }>, "many">;
419
+ }, "strip", z.ZodTypeAny, {
420
+ project: {
421
+ id: string;
422
+ name: string;
423
+ };
424
+ workflows: {
425
+ id: string;
426
+ name: string;
427
+ }[];
428
+ }, {
429
+ project: {
430
+ id: string;
431
+ name: string;
432
+ };
433
+ workflows: {
434
+ id: string;
435
+ name: string;
436
+ }[];
437
+ }>, "many">;
438
+ } & {
439
+ code: z.ZodLiteral<"missing-id">;
440
+ }, "strip", z.ZodTypeAny, {
441
+ kind: "credential";
442
+ sourceId: string | null;
443
+ name: string;
444
+ expectedTypes: string[];
445
+ filePath?: string | undefined;
446
+ referenceFiles: string[];
447
+ consumers: {
448
+ project: {
449
+ id: string;
450
+ name: string;
451
+ };
452
+ workflows: {
453
+ id: string;
454
+ name: string;
455
+ }[];
456
+ }[];
457
+ code: "missing-id";
458
+ }, {
459
+ kind: "credential";
460
+ sourceId: string | null;
461
+ name: string;
462
+ expectedTypes: string[];
463
+ filePath?: string | undefined;
464
+ referenceFiles: string[];
465
+ consumers: {
466
+ project: {
467
+ id: string;
468
+ name: string;
469
+ };
470
+ workflows: {
471
+ id: string;
472
+ name: string;
473
+ }[];
474
+ }[];
475
+ code: "missing-id";
476
+ }>, z.ZodObject<{
477
+ kind: z.ZodLiteral<"credential">;
478
+ sourceId: z.ZodNullable<z.ZodString>;
479
+ name: z.ZodString;
480
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
481
+ filePath: z.ZodOptional<z.ZodString>;
482
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
483
+ consumers: z.ZodArray<z.ZodObject<{
484
+ project: z.ZodObject<{
485
+ id: z.ZodString;
486
+ name: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ id: string;
489
+ name: string;
490
+ }, {
491
+ id: string;
492
+ name: string;
493
+ }>;
494
+ workflows: z.ZodArray<z.ZodObject<{
495
+ id: z.ZodString;
496
+ name: z.ZodString;
497
+ }, "strip", z.ZodTypeAny, {
498
+ id: string;
499
+ name: string;
500
+ }, {
501
+ id: string;
502
+ name: string;
503
+ }>, "many">;
504
+ }, "strip", z.ZodTypeAny, {
505
+ project: {
506
+ id: string;
507
+ name: string;
508
+ };
509
+ workflows: {
510
+ id: string;
511
+ name: string;
512
+ }[];
513
+ }, {
514
+ project: {
515
+ id: string;
516
+ name: string;
517
+ };
518
+ workflows: {
519
+ id: string;
520
+ name: string;
521
+ }[];
522
+ }>, "many">;
523
+ } & {
524
+ code: z.ZodLiteral<"conflicting-types">;
525
+ }, "strip", z.ZodTypeAny, {
526
+ kind: "credential";
527
+ sourceId: string | null;
528
+ name: string;
529
+ expectedTypes: string[];
530
+ filePath?: string | undefined;
531
+ referenceFiles: string[];
532
+ consumers: {
533
+ project: {
534
+ id: string;
535
+ name: string;
536
+ };
537
+ workflows: {
538
+ id: string;
539
+ name: string;
540
+ }[];
541
+ }[];
542
+ code: "conflicting-types";
543
+ }, {
544
+ kind: "credential";
545
+ sourceId: string | null;
546
+ name: string;
547
+ expectedTypes: string[];
548
+ filePath?: string | undefined;
549
+ referenceFiles: string[];
550
+ consumers: {
551
+ project: {
552
+ id: string;
553
+ name: string;
554
+ };
555
+ workflows: {
556
+ id: string;
557
+ name: string;
558
+ }[];
559
+ }[];
560
+ code: "conflicting-types";
561
+ }>, z.ZodObject<{
562
+ kind: z.ZodLiteral<"credential">;
563
+ sourceId: z.ZodNullable<z.ZodString>;
564
+ name: z.ZodString;
565
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
566
+ filePath: z.ZodOptional<z.ZodString>;
567
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
568
+ consumers: z.ZodArray<z.ZodObject<{
569
+ project: z.ZodObject<{
570
+ id: z.ZodString;
571
+ name: z.ZodString;
572
+ }, "strip", z.ZodTypeAny, {
573
+ id: string;
574
+ name: string;
575
+ }, {
576
+ id: string;
577
+ name: string;
578
+ }>;
579
+ workflows: z.ZodArray<z.ZodObject<{
580
+ id: z.ZodString;
581
+ name: z.ZodString;
582
+ }, "strip", z.ZodTypeAny, {
583
+ id: string;
584
+ name: string;
585
+ }, {
586
+ id: string;
587
+ name: string;
588
+ }>, "many">;
589
+ }, "strip", z.ZodTypeAny, {
590
+ project: {
591
+ id: string;
592
+ name: string;
593
+ };
594
+ workflows: {
595
+ id: string;
596
+ name: string;
597
+ }[];
598
+ }, {
599
+ project: {
600
+ id: string;
601
+ name: string;
602
+ };
603
+ workflows: {
604
+ id: string;
605
+ name: string;
606
+ }[];
607
+ }>, "many">;
608
+ } & {
609
+ code: z.ZodLiteral<"unknown-type">;
610
+ }, "strip", z.ZodTypeAny, {
611
+ kind: "credential";
612
+ sourceId: string | null;
613
+ name: string;
614
+ expectedTypes: string[];
615
+ filePath?: string | undefined;
616
+ referenceFiles: string[];
617
+ consumers: {
618
+ project: {
619
+ id: string;
620
+ name: string;
621
+ };
622
+ workflows: {
623
+ id: string;
624
+ name: string;
625
+ }[];
626
+ }[];
627
+ code: "unknown-type";
628
+ }, {
629
+ kind: "credential";
630
+ sourceId: string | null;
631
+ name: string;
632
+ expectedTypes: string[];
633
+ filePath?: string | undefined;
634
+ referenceFiles: string[];
635
+ consumers: {
636
+ project: {
637
+ id: string;
638
+ name: string;
639
+ };
640
+ workflows: {
641
+ id: string;
642
+ name: string;
643
+ }[];
644
+ }[];
645
+ code: "unknown-type";
646
+ }>, z.ZodObject<{
647
+ kind: z.ZodLiteral<"credential">;
648
+ sourceId: z.ZodNullable<z.ZodString>;
649
+ name: z.ZodString;
650
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
651
+ filePath: z.ZodOptional<z.ZodString>;
652
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
653
+ consumers: z.ZodArray<z.ZodObject<{
654
+ project: z.ZodObject<{
655
+ id: z.ZodString;
656
+ name: z.ZodString;
657
+ }, "strip", z.ZodTypeAny, {
658
+ id: string;
659
+ name: string;
660
+ }, {
661
+ id: string;
662
+ name: string;
663
+ }>;
664
+ workflows: z.ZodArray<z.ZodObject<{
665
+ id: z.ZodString;
666
+ name: z.ZodString;
667
+ }, "strip", z.ZodTypeAny, {
668
+ id: string;
669
+ name: string;
670
+ }, {
671
+ id: string;
672
+ name: string;
673
+ }>, "many">;
674
+ }, "strip", z.ZodTypeAny, {
675
+ project: {
676
+ id: string;
677
+ name: string;
678
+ };
679
+ workflows: {
680
+ id: string;
681
+ name: string;
682
+ }[];
683
+ }, {
684
+ project: {
685
+ id: string;
686
+ name: string;
687
+ };
688
+ workflows: {
689
+ id: string;
690
+ name: string;
691
+ }[];
692
+ }>, "many">;
693
+ } & {
694
+ code: z.ZodLiteral<"unknown-owner">;
695
+ }, "strip", z.ZodTypeAny, {
696
+ kind: "credential";
697
+ sourceId: string | null;
698
+ name: string;
699
+ expectedTypes: string[];
700
+ filePath?: string | undefined;
701
+ referenceFiles: string[];
702
+ consumers: {
703
+ project: {
704
+ id: string;
705
+ name: string;
706
+ };
707
+ workflows: {
708
+ id: string;
709
+ name: string;
710
+ }[];
711
+ }[];
712
+ code: "unknown-owner";
713
+ }, {
714
+ kind: "credential";
715
+ sourceId: string | null;
716
+ name: string;
717
+ expectedTypes: string[];
718
+ filePath?: string | undefined;
719
+ referenceFiles: string[];
720
+ consumers: {
721
+ project: {
722
+ id: string;
723
+ name: string;
724
+ };
725
+ workflows: {
726
+ id: string;
727
+ name: string;
728
+ }[];
729
+ }[];
730
+ code: "unknown-owner";
731
+ }>, z.ZodObject<{
732
+ kind: z.ZodLiteral<"credential">;
733
+ sourceId: z.ZodNullable<z.ZodString>;
734
+ name: z.ZodString;
735
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
736
+ filePath: z.ZodOptional<z.ZodString>;
737
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
738
+ consumers: z.ZodArray<z.ZodObject<{
739
+ project: z.ZodObject<{
740
+ id: z.ZodString;
741
+ name: z.ZodString;
742
+ }, "strip", z.ZodTypeAny, {
743
+ id: string;
744
+ name: string;
745
+ }, {
746
+ id: string;
747
+ name: string;
748
+ }>;
749
+ workflows: z.ZodArray<z.ZodObject<{
750
+ id: z.ZodString;
751
+ name: z.ZodString;
752
+ }, "strip", z.ZodTypeAny, {
753
+ id: string;
754
+ name: string;
755
+ }, {
756
+ id: string;
757
+ name: string;
758
+ }>, "many">;
759
+ }, "strip", z.ZodTypeAny, {
760
+ project: {
761
+ id: string;
762
+ name: string;
763
+ };
764
+ workflows: {
765
+ id: string;
766
+ name: string;
767
+ }[];
768
+ }, {
769
+ project: {
770
+ id: string;
771
+ name: string;
772
+ };
773
+ workflows: {
774
+ id: string;
775
+ name: string;
776
+ }[];
777
+ }>, "many">;
778
+ } & {
779
+ code: z.ZodLiteral<"type-mismatch">;
780
+ targetType: z.ZodString;
781
+ }, "strip", z.ZodTypeAny, {
782
+ kind: "credential";
783
+ sourceId: string | null;
784
+ name: string;
785
+ expectedTypes: string[];
786
+ filePath?: string | undefined;
787
+ referenceFiles: string[];
788
+ consumers: {
789
+ project: {
790
+ id: string;
791
+ name: string;
792
+ };
793
+ workflows: {
794
+ id: string;
795
+ name: string;
796
+ }[];
797
+ }[];
798
+ code: "type-mismatch";
799
+ targetType: string;
800
+ }, {
801
+ kind: "credential";
802
+ sourceId: string | null;
803
+ name: string;
804
+ expectedTypes: string[];
805
+ filePath?: string | undefined;
806
+ referenceFiles: string[];
807
+ consumers: {
808
+ project: {
809
+ id: string;
810
+ name: string;
811
+ };
812
+ workflows: {
813
+ id: string;
814
+ name: string;
815
+ }[];
816
+ }[];
817
+ code: "type-mismatch";
818
+ targetType: string;
819
+ }>, z.ZodObject<{
820
+ kind: z.ZodLiteral<"credential">;
821
+ sourceId: z.ZodNullable<z.ZodString>;
822
+ name: z.ZodString;
823
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
824
+ filePath: z.ZodOptional<z.ZodString>;
825
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
826
+ consumers: z.ZodArray<z.ZodObject<{
827
+ project: z.ZodObject<{
828
+ id: z.ZodString;
829
+ name: z.ZodString;
830
+ }, "strip", z.ZodTypeAny, {
831
+ id: string;
832
+ name: string;
833
+ }, {
834
+ id: string;
835
+ name: string;
836
+ }>;
837
+ workflows: z.ZodArray<z.ZodObject<{
838
+ id: z.ZodString;
839
+ name: z.ZodString;
840
+ }, "strip", z.ZodTypeAny, {
841
+ id: string;
842
+ name: string;
843
+ }, {
844
+ id: string;
845
+ name: string;
846
+ }>, "many">;
847
+ }, "strip", z.ZodTypeAny, {
848
+ project: {
849
+ id: string;
850
+ name: string;
851
+ };
852
+ workflows: {
853
+ id: string;
854
+ name: string;
855
+ }[];
856
+ }, {
857
+ project: {
858
+ id: string;
859
+ name: string;
860
+ };
861
+ workflows: {
862
+ id: string;
863
+ name: string;
864
+ }[];
865
+ }>, "many">;
866
+ } & {
867
+ code: z.ZodLiteral<"incompatible-usage-scope">;
868
+ usageScope: z.ZodString;
869
+ }, "strip", z.ZodTypeAny, {
870
+ kind: "credential";
871
+ sourceId: string | null;
872
+ name: string;
873
+ expectedTypes: string[];
874
+ filePath?: string | undefined;
875
+ referenceFiles: string[];
876
+ consumers: {
877
+ project: {
878
+ id: string;
879
+ name: string;
880
+ };
881
+ workflows: {
882
+ id: string;
883
+ name: string;
884
+ }[];
885
+ }[];
886
+ code: "incompatible-usage-scope";
887
+ usageScope: string;
888
+ }, {
889
+ kind: "credential";
890
+ sourceId: string | null;
891
+ name: string;
892
+ expectedTypes: string[];
893
+ filePath?: string | undefined;
894
+ referenceFiles: string[];
895
+ consumers: {
896
+ project: {
897
+ id: string;
898
+ name: string;
899
+ };
900
+ workflows: {
901
+ id: string;
902
+ name: string;
903
+ }[];
904
+ }[];
905
+ code: "incompatible-usage-scope";
906
+ usageScope: string;
907
+ }>, z.ZodObject<{
908
+ kind: z.ZodLiteral<"variable">;
909
+ code: z.ZodLiteral<"missing-definition">;
910
+ name: z.ZodString;
911
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
912
+ consumers: z.ZodArray<z.ZodObject<{
913
+ project: z.ZodObject<{
914
+ id: z.ZodString;
915
+ name: z.ZodString;
916
+ }, "strip", z.ZodTypeAny, {
917
+ id: string;
918
+ name: string;
919
+ }, {
920
+ id: string;
921
+ name: string;
922
+ }>;
923
+ workflows: z.ZodArray<z.ZodObject<{
924
+ id: z.ZodString;
925
+ name: z.ZodString;
926
+ }, "strip", z.ZodTypeAny, {
927
+ id: string;
928
+ name: string;
929
+ }, {
930
+ id: string;
931
+ name: string;
932
+ }>, "many">;
933
+ }, "strip", z.ZodTypeAny, {
934
+ project: {
935
+ id: string;
936
+ name: string;
937
+ };
938
+ workflows: {
939
+ id: string;
940
+ name: string;
941
+ }[];
942
+ }, {
943
+ project: {
944
+ id: string;
945
+ name: string;
946
+ };
947
+ workflows: {
948
+ id: string;
949
+ name: string;
950
+ }[];
951
+ }>, "many">;
952
+ }, "strip", z.ZodTypeAny, {
953
+ kind: "variable";
954
+ code: "missing-definition";
955
+ name: string;
956
+ referenceFiles: string[];
957
+ consumers: {
958
+ project: {
959
+ id: string;
960
+ name: string;
961
+ };
962
+ workflows: {
963
+ id: string;
964
+ name: string;
965
+ }[];
966
+ }[];
967
+ }, {
968
+ kind: "variable";
969
+ code: "missing-definition";
970
+ name: string;
971
+ referenceFiles: string[];
972
+ consumers: {
973
+ project: {
974
+ id: string;
975
+ name: string;
976
+ };
977
+ workflows: {
978
+ id: string;
979
+ name: string;
980
+ }[];
981
+ }[];
982
+ }>, z.ZodObject<{
983
+ kind: z.ZodLiteral<"project">;
984
+ code: z.ZodLiteral<"project-not-team">;
985
+ project: z.ZodObject<{
986
+ id: z.ZodString;
987
+ name: z.ZodString;
988
+ }, "strip", z.ZodTypeAny, {
989
+ id: string;
990
+ name: string;
991
+ }, {
992
+ id: string;
993
+ name: string;
994
+ }>;
995
+ filePath: z.ZodString;
996
+ workflows: z.ZodArray<z.ZodObject<{
997
+ id: z.ZodString;
998
+ name: z.ZodString;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ id: string;
1001
+ name: string;
1002
+ }, {
1003
+ id: string;
1004
+ name: string;
1005
+ }>, "many">;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ kind: "project";
1008
+ code: "project-not-team";
1009
+ project: {
1010
+ id: string;
1011
+ name: string;
1012
+ };
1013
+ filePath: string;
1014
+ workflows: {
1015
+ id: string;
1016
+ name: string;
1017
+ }[];
1018
+ }, {
1019
+ kind: "project";
1020
+ code: "project-not-team";
1021
+ project: {
1022
+ id: string;
1023
+ name: string;
1024
+ };
1025
+ filePath: string;
1026
+ workflows: {
1027
+ id: string;
1028
+ name: string;
1029
+ }[];
1030
+ }>]>;
1031
+ export declare const promotionBindingWarningSchema: z.ZodObject<{
1032
+ kind: z.ZodLiteral<"variable">;
1033
+ code: z.ZodLiteral<"variable-shadowed">;
1034
+ name: z.ZodString;
1035
+ scope: z.ZodObject<{
1036
+ kind: z.ZodLiteral<"global">;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ kind: "global";
1039
+ }, {
1040
+ kind: "global";
1041
+ }>;
1042
+ consumers: z.ZodArray<z.ZodObject<{
1043
+ project: z.ZodObject<{
1044
+ id: z.ZodString;
1045
+ name: z.ZodString;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ id: string;
1048
+ name: string;
1049
+ }, {
1050
+ id: string;
1051
+ name: string;
1052
+ }>;
1053
+ workflows: z.ZodArray<z.ZodObject<{
1054
+ id: z.ZodString;
1055
+ name: z.ZodString;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ id: string;
1058
+ name: string;
1059
+ }, {
1060
+ id: string;
1061
+ name: string;
1062
+ }>, "many">;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ project: {
1065
+ id: string;
1066
+ name: string;
1067
+ };
1068
+ workflows: {
1069
+ id: string;
1070
+ name: string;
1071
+ }[];
1072
+ }, {
1073
+ project: {
1074
+ id: string;
1075
+ name: string;
1076
+ };
1077
+ workflows: {
1078
+ id: string;
1079
+ name: string;
1080
+ }[];
1081
+ }>, "many">;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ kind: "variable";
1084
+ code: "variable-shadowed";
1085
+ name: string;
1086
+ scope: {
1087
+ kind: "global";
1088
+ };
1089
+ consumers: {
1090
+ project: {
1091
+ id: string;
1092
+ name: string;
1093
+ };
1094
+ workflows: {
1095
+ id: string;
1096
+ name: string;
1097
+ }[];
1098
+ }[];
1099
+ }, {
1100
+ kind: "variable";
1101
+ code: "variable-shadowed";
1102
+ name: string;
1103
+ scope: {
1104
+ kind: "global";
1105
+ };
1106
+ consumers: {
1107
+ project: {
1108
+ id: string;
1109
+ name: string;
1110
+ };
1111
+ workflows: {
1112
+ id: string;
1113
+ name: string;
1114
+ }[];
1115
+ }[];
1116
+ }>;
1117
+ export declare const promotionBindingPreflightResultSchema: z.ZodObject<{
1118
+ missingBindings: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1119
+ kind: z.ZodLiteral<"credential">;
1120
+ sourceId: z.ZodString;
1121
+ name: z.ZodString;
1122
+ credentialType: z.ZodString;
1123
+ consumers: z.ZodArray<z.ZodObject<{
1124
+ project: z.ZodObject<{
1125
+ id: z.ZodString;
1126
+ name: z.ZodString;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ id: string;
1129
+ name: string;
1130
+ }, {
1131
+ id: string;
1132
+ name: string;
1133
+ }>;
1134
+ workflows: z.ZodArray<z.ZodObject<{
1135
+ id: z.ZodString;
1136
+ name: z.ZodString;
1137
+ }, "strip", z.ZodTypeAny, {
1138
+ id: string;
1139
+ name: string;
1140
+ }, {
1141
+ id: string;
1142
+ name: string;
1143
+ }>, "many">;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ project: {
1146
+ id: string;
1147
+ name: string;
1148
+ };
1149
+ workflows: {
1150
+ id: string;
1151
+ name: string;
1152
+ }[];
1153
+ }, {
1154
+ project: {
1155
+ id: string;
1156
+ name: string;
1157
+ };
1158
+ workflows: {
1159
+ id: string;
1160
+ name: string;
1161
+ }[];
1162
+ }>, "many">;
1163
+ } & {
1164
+ ownerProject: z.ZodObject<{
1165
+ id: z.ZodString;
1166
+ name: z.ZodString;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ id: string;
1169
+ name: string;
1170
+ }, {
1171
+ id: string;
1172
+ name: string;
1173
+ }>;
1174
+ expressionData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<PromotionCredentialExpressionValue, z.ZodTypeDef, PromotionCredentialExpressionValue>>>;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ kind: "credential";
1177
+ sourceId: string;
1178
+ name: string;
1179
+ credentialType: string;
1180
+ consumers: {
1181
+ project: {
1182
+ id: string;
1183
+ name: string;
1184
+ };
1185
+ workflows: {
1186
+ id: string;
1187
+ name: string;
1188
+ }[];
1189
+ }[];
1190
+ ownerProject: {
1191
+ id: string;
1192
+ name: string;
1193
+ };
1194
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
1195
+ }, {
1196
+ kind: "credential";
1197
+ sourceId: string;
1198
+ name: string;
1199
+ credentialType: string;
1200
+ consumers: {
1201
+ project: {
1202
+ id: string;
1203
+ name: string;
1204
+ };
1205
+ workflows: {
1206
+ id: string;
1207
+ name: string;
1208
+ }[];
1209
+ }[];
1210
+ ownerProject: {
1211
+ id: string;
1212
+ name: string;
1213
+ };
1214
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
1215
+ }>, z.ZodObject<{
1216
+ kind: z.ZodLiteral<"variable">;
1217
+ name: z.ZodString;
1218
+ variableType: z.ZodDefault<z.ZodEnum<["string"]>>;
1219
+ scope: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1220
+ kind: z.ZodLiteral<"global">;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ kind: "global";
1223
+ }, {
1224
+ kind: "global";
1225
+ }>, z.ZodObject<{
1226
+ kind: z.ZodLiteral<"project">;
1227
+ project: z.ZodObject<{
1228
+ id: z.ZodString;
1229
+ name: z.ZodString;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ id: string;
1232
+ name: string;
1233
+ }, {
1234
+ id: string;
1235
+ name: string;
1236
+ }>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ kind: "project";
1239
+ project: {
1240
+ id: string;
1241
+ name: string;
1242
+ };
1243
+ }, {
1244
+ kind: "project";
1245
+ project: {
1246
+ id: string;
1247
+ name: string;
1248
+ };
1249
+ }>]>;
1250
+ sourceValue: z.ZodOptional<z.ZodString>;
1251
+ consumers: z.ZodArray<z.ZodObject<{
1252
+ project: z.ZodObject<{
1253
+ id: z.ZodString;
1254
+ name: z.ZodString;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ id: string;
1257
+ name: string;
1258
+ }, {
1259
+ id: string;
1260
+ name: string;
1261
+ }>;
1262
+ workflows: z.ZodArray<z.ZodObject<{
1263
+ id: z.ZodString;
1264
+ name: z.ZodString;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ id: string;
1267
+ name: string;
1268
+ }, {
1269
+ id: string;
1270
+ name: string;
1271
+ }>, "many">;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ project: {
1274
+ id: string;
1275
+ name: string;
1276
+ };
1277
+ workflows: {
1278
+ id: string;
1279
+ name: string;
1280
+ }[];
1281
+ }, {
1282
+ project: {
1283
+ id: string;
1284
+ name: string;
1285
+ };
1286
+ workflows: {
1287
+ id: string;
1288
+ name: string;
1289
+ }[];
1290
+ }>, "many">;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ kind: "variable";
1293
+ name: string;
1294
+ variableType: "string";
1295
+ scope: {
1296
+ kind: "global";
1297
+ } | {
1298
+ kind: "project";
1299
+ project: {
1300
+ id: string;
1301
+ name: string;
1302
+ };
1303
+ };
1304
+ sourceValue?: string | undefined;
1305
+ consumers: {
1306
+ project: {
1307
+ id: string;
1308
+ name: string;
1309
+ };
1310
+ workflows: {
1311
+ id: string;
1312
+ name: string;
1313
+ }[];
1314
+ }[];
1315
+ }, {
1316
+ kind: "variable";
1317
+ name: string;
1318
+ variableType?: "string" | undefined;
1319
+ scope: {
1320
+ kind: "global";
1321
+ } | {
1322
+ kind: "project";
1323
+ project: {
1324
+ id: string;
1325
+ name: string;
1326
+ };
1327
+ };
1328
+ sourceValue?: string | undefined;
1329
+ consumers: {
1330
+ project: {
1331
+ id: string;
1332
+ name: string;
1333
+ };
1334
+ workflows: {
1335
+ id: string;
1336
+ name: string;
1337
+ }[];
1338
+ }[];
1339
+ }>]>, "many">;
1340
+ accessRequirements: z.ZodArray<z.ZodObject<{
1341
+ kind: z.ZodLiteral<"credential">;
1342
+ sourceId: z.ZodString;
1343
+ name: z.ZodString;
1344
+ credentialType: z.ZodString;
1345
+ consumers: z.ZodArray<z.ZodObject<{
1346
+ project: z.ZodObject<{
1347
+ id: z.ZodString;
1348
+ name: z.ZodString;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ id: string;
1351
+ name: string;
1352
+ }, {
1353
+ id: string;
1354
+ name: string;
1355
+ }>;
1356
+ workflows: z.ZodArray<z.ZodObject<{
1357
+ id: z.ZodString;
1358
+ name: z.ZodString;
1359
+ }, "strip", z.ZodTypeAny, {
1360
+ id: string;
1361
+ name: string;
1362
+ }, {
1363
+ id: string;
1364
+ name: string;
1365
+ }>, "many">;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ project: {
1368
+ id: string;
1369
+ name: string;
1370
+ };
1371
+ workflows: {
1372
+ id: string;
1373
+ name: string;
1374
+ }[];
1375
+ }, {
1376
+ project: {
1377
+ id: string;
1378
+ name: string;
1379
+ };
1380
+ workflows: {
1381
+ id: string;
1382
+ name: string;
1383
+ }[];
1384
+ }>, "many">;
1385
+ } & {
1386
+ code: z.ZodLiteral<"access-required">;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ kind: "credential";
1389
+ sourceId: string;
1390
+ name: string;
1391
+ credentialType: string;
1392
+ consumers: {
1393
+ project: {
1394
+ id: string;
1395
+ name: string;
1396
+ };
1397
+ workflows: {
1398
+ id: string;
1399
+ name: string;
1400
+ }[];
1401
+ }[];
1402
+ code: "access-required";
1403
+ }, {
1404
+ kind: "credential";
1405
+ sourceId: string;
1406
+ name: string;
1407
+ credentialType: string;
1408
+ consumers: {
1409
+ project: {
1410
+ id: string;
1411
+ name: string;
1412
+ };
1413
+ workflows: {
1414
+ id: string;
1415
+ name: string;
1416
+ }[];
1417
+ }[];
1418
+ code: "access-required";
1419
+ }>, "many">;
1420
+ conflicts: z.ZodArray<z.ZodDiscriminatedUnion<"code", [z.ZodObject<{
1421
+ kind: z.ZodLiteral<"credential">;
1422
+ sourceId: z.ZodNullable<z.ZodString>;
1423
+ name: z.ZodString;
1424
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1425
+ filePath: z.ZodOptional<z.ZodString>;
1426
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1427
+ consumers: z.ZodArray<z.ZodObject<{
1428
+ project: z.ZodObject<{
1429
+ id: z.ZodString;
1430
+ name: z.ZodString;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ id: string;
1433
+ name: string;
1434
+ }, {
1435
+ id: string;
1436
+ name: string;
1437
+ }>;
1438
+ workflows: z.ZodArray<z.ZodObject<{
1439
+ id: z.ZodString;
1440
+ name: z.ZodString;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ id: string;
1443
+ name: string;
1444
+ }, {
1445
+ id: string;
1446
+ name: string;
1447
+ }>, "many">;
1448
+ }, "strip", z.ZodTypeAny, {
1449
+ project: {
1450
+ id: string;
1451
+ name: string;
1452
+ };
1453
+ workflows: {
1454
+ id: string;
1455
+ name: string;
1456
+ }[];
1457
+ }, {
1458
+ project: {
1459
+ id: string;
1460
+ name: string;
1461
+ };
1462
+ workflows: {
1463
+ id: string;
1464
+ name: string;
1465
+ }[];
1466
+ }>, "many">;
1467
+ } & {
1468
+ code: z.ZodLiteral<"missing-id">;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ kind: "credential";
1471
+ sourceId: string | null;
1472
+ name: string;
1473
+ expectedTypes: string[];
1474
+ filePath?: string | undefined;
1475
+ referenceFiles: string[];
1476
+ consumers: {
1477
+ project: {
1478
+ id: string;
1479
+ name: string;
1480
+ };
1481
+ workflows: {
1482
+ id: string;
1483
+ name: string;
1484
+ }[];
1485
+ }[];
1486
+ code: "missing-id";
1487
+ }, {
1488
+ kind: "credential";
1489
+ sourceId: string | null;
1490
+ name: string;
1491
+ expectedTypes: string[];
1492
+ filePath?: string | undefined;
1493
+ referenceFiles: string[];
1494
+ consumers: {
1495
+ project: {
1496
+ id: string;
1497
+ name: string;
1498
+ };
1499
+ workflows: {
1500
+ id: string;
1501
+ name: string;
1502
+ }[];
1503
+ }[];
1504
+ code: "missing-id";
1505
+ }>, z.ZodObject<{
1506
+ kind: z.ZodLiteral<"credential">;
1507
+ sourceId: z.ZodNullable<z.ZodString>;
1508
+ name: z.ZodString;
1509
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1510
+ filePath: z.ZodOptional<z.ZodString>;
1511
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1512
+ consumers: z.ZodArray<z.ZodObject<{
1513
+ project: z.ZodObject<{
1514
+ id: z.ZodString;
1515
+ name: z.ZodString;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ id: string;
1518
+ name: string;
1519
+ }, {
1520
+ id: string;
1521
+ name: string;
1522
+ }>;
1523
+ workflows: z.ZodArray<z.ZodObject<{
1524
+ id: z.ZodString;
1525
+ name: z.ZodString;
1526
+ }, "strip", z.ZodTypeAny, {
1527
+ id: string;
1528
+ name: string;
1529
+ }, {
1530
+ id: string;
1531
+ name: string;
1532
+ }>, "many">;
1533
+ }, "strip", z.ZodTypeAny, {
1534
+ project: {
1535
+ id: string;
1536
+ name: string;
1537
+ };
1538
+ workflows: {
1539
+ id: string;
1540
+ name: string;
1541
+ }[];
1542
+ }, {
1543
+ project: {
1544
+ id: string;
1545
+ name: string;
1546
+ };
1547
+ workflows: {
1548
+ id: string;
1549
+ name: string;
1550
+ }[];
1551
+ }>, "many">;
1552
+ } & {
1553
+ code: z.ZodLiteral<"conflicting-types">;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ kind: "credential";
1556
+ sourceId: string | null;
1557
+ name: string;
1558
+ expectedTypes: string[];
1559
+ filePath?: string | undefined;
1560
+ referenceFiles: string[];
1561
+ consumers: {
1562
+ project: {
1563
+ id: string;
1564
+ name: string;
1565
+ };
1566
+ workflows: {
1567
+ id: string;
1568
+ name: string;
1569
+ }[];
1570
+ }[];
1571
+ code: "conflicting-types";
1572
+ }, {
1573
+ kind: "credential";
1574
+ sourceId: string | null;
1575
+ name: string;
1576
+ expectedTypes: string[];
1577
+ filePath?: string | undefined;
1578
+ referenceFiles: string[];
1579
+ consumers: {
1580
+ project: {
1581
+ id: string;
1582
+ name: string;
1583
+ };
1584
+ workflows: {
1585
+ id: string;
1586
+ name: string;
1587
+ }[];
1588
+ }[];
1589
+ code: "conflicting-types";
1590
+ }>, z.ZodObject<{
1591
+ kind: z.ZodLiteral<"credential">;
1592
+ sourceId: z.ZodNullable<z.ZodString>;
1593
+ name: z.ZodString;
1594
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1595
+ filePath: z.ZodOptional<z.ZodString>;
1596
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1597
+ consumers: z.ZodArray<z.ZodObject<{
1598
+ project: z.ZodObject<{
1599
+ id: z.ZodString;
1600
+ name: z.ZodString;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ id: string;
1603
+ name: string;
1604
+ }, {
1605
+ id: string;
1606
+ name: string;
1607
+ }>;
1608
+ workflows: z.ZodArray<z.ZodObject<{
1609
+ id: z.ZodString;
1610
+ name: z.ZodString;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ id: string;
1613
+ name: string;
1614
+ }, {
1615
+ id: string;
1616
+ name: string;
1617
+ }>, "many">;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ project: {
1620
+ id: string;
1621
+ name: string;
1622
+ };
1623
+ workflows: {
1624
+ id: string;
1625
+ name: string;
1626
+ }[];
1627
+ }, {
1628
+ project: {
1629
+ id: string;
1630
+ name: string;
1631
+ };
1632
+ workflows: {
1633
+ id: string;
1634
+ name: string;
1635
+ }[];
1636
+ }>, "many">;
1637
+ } & {
1638
+ code: z.ZodLiteral<"unknown-type">;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ kind: "credential";
1641
+ sourceId: string | null;
1642
+ name: string;
1643
+ expectedTypes: string[];
1644
+ filePath?: string | undefined;
1645
+ referenceFiles: string[];
1646
+ consumers: {
1647
+ project: {
1648
+ id: string;
1649
+ name: string;
1650
+ };
1651
+ workflows: {
1652
+ id: string;
1653
+ name: string;
1654
+ }[];
1655
+ }[];
1656
+ code: "unknown-type";
1657
+ }, {
1658
+ kind: "credential";
1659
+ sourceId: string | null;
1660
+ name: string;
1661
+ expectedTypes: string[];
1662
+ filePath?: string | undefined;
1663
+ referenceFiles: string[];
1664
+ consumers: {
1665
+ project: {
1666
+ id: string;
1667
+ name: string;
1668
+ };
1669
+ workflows: {
1670
+ id: string;
1671
+ name: string;
1672
+ }[];
1673
+ }[];
1674
+ code: "unknown-type";
1675
+ }>, z.ZodObject<{
1676
+ kind: z.ZodLiteral<"credential">;
1677
+ sourceId: z.ZodNullable<z.ZodString>;
1678
+ name: z.ZodString;
1679
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1680
+ filePath: z.ZodOptional<z.ZodString>;
1681
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1682
+ consumers: z.ZodArray<z.ZodObject<{
1683
+ project: z.ZodObject<{
1684
+ id: z.ZodString;
1685
+ name: z.ZodString;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ id: string;
1688
+ name: string;
1689
+ }, {
1690
+ id: string;
1691
+ name: string;
1692
+ }>;
1693
+ workflows: z.ZodArray<z.ZodObject<{
1694
+ id: z.ZodString;
1695
+ name: z.ZodString;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ id: string;
1698
+ name: string;
1699
+ }, {
1700
+ id: string;
1701
+ name: string;
1702
+ }>, "many">;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ project: {
1705
+ id: string;
1706
+ name: string;
1707
+ };
1708
+ workflows: {
1709
+ id: string;
1710
+ name: string;
1711
+ }[];
1712
+ }, {
1713
+ project: {
1714
+ id: string;
1715
+ name: string;
1716
+ };
1717
+ workflows: {
1718
+ id: string;
1719
+ name: string;
1720
+ }[];
1721
+ }>, "many">;
1722
+ } & {
1723
+ code: z.ZodLiteral<"unknown-owner">;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ kind: "credential";
1726
+ sourceId: string | null;
1727
+ name: string;
1728
+ expectedTypes: string[];
1729
+ filePath?: string | undefined;
1730
+ referenceFiles: string[];
1731
+ consumers: {
1732
+ project: {
1733
+ id: string;
1734
+ name: string;
1735
+ };
1736
+ workflows: {
1737
+ id: string;
1738
+ name: string;
1739
+ }[];
1740
+ }[];
1741
+ code: "unknown-owner";
1742
+ }, {
1743
+ kind: "credential";
1744
+ sourceId: string | null;
1745
+ name: string;
1746
+ expectedTypes: string[];
1747
+ filePath?: string | undefined;
1748
+ referenceFiles: string[];
1749
+ consumers: {
1750
+ project: {
1751
+ id: string;
1752
+ name: string;
1753
+ };
1754
+ workflows: {
1755
+ id: string;
1756
+ name: string;
1757
+ }[];
1758
+ }[];
1759
+ code: "unknown-owner";
1760
+ }>, z.ZodObject<{
1761
+ kind: z.ZodLiteral<"credential">;
1762
+ sourceId: z.ZodNullable<z.ZodString>;
1763
+ name: z.ZodString;
1764
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1765
+ filePath: z.ZodOptional<z.ZodString>;
1766
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1767
+ consumers: z.ZodArray<z.ZodObject<{
1768
+ project: z.ZodObject<{
1769
+ id: z.ZodString;
1770
+ name: z.ZodString;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ id: string;
1773
+ name: string;
1774
+ }, {
1775
+ id: string;
1776
+ name: string;
1777
+ }>;
1778
+ workflows: z.ZodArray<z.ZodObject<{
1779
+ id: z.ZodString;
1780
+ name: z.ZodString;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ id: string;
1783
+ name: string;
1784
+ }, {
1785
+ id: string;
1786
+ name: string;
1787
+ }>, "many">;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ project: {
1790
+ id: string;
1791
+ name: string;
1792
+ };
1793
+ workflows: {
1794
+ id: string;
1795
+ name: string;
1796
+ }[];
1797
+ }, {
1798
+ project: {
1799
+ id: string;
1800
+ name: string;
1801
+ };
1802
+ workflows: {
1803
+ id: string;
1804
+ name: string;
1805
+ }[];
1806
+ }>, "many">;
1807
+ } & {
1808
+ code: z.ZodLiteral<"type-mismatch">;
1809
+ targetType: z.ZodString;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ kind: "credential";
1812
+ sourceId: string | null;
1813
+ name: string;
1814
+ expectedTypes: string[];
1815
+ filePath?: string | undefined;
1816
+ referenceFiles: string[];
1817
+ consumers: {
1818
+ project: {
1819
+ id: string;
1820
+ name: string;
1821
+ };
1822
+ workflows: {
1823
+ id: string;
1824
+ name: string;
1825
+ }[];
1826
+ }[];
1827
+ code: "type-mismatch";
1828
+ targetType: string;
1829
+ }, {
1830
+ kind: "credential";
1831
+ sourceId: string | null;
1832
+ name: string;
1833
+ expectedTypes: string[];
1834
+ filePath?: string | undefined;
1835
+ referenceFiles: string[];
1836
+ consumers: {
1837
+ project: {
1838
+ id: string;
1839
+ name: string;
1840
+ };
1841
+ workflows: {
1842
+ id: string;
1843
+ name: string;
1844
+ }[];
1845
+ }[];
1846
+ code: "type-mismatch";
1847
+ targetType: string;
1848
+ }>, z.ZodObject<{
1849
+ kind: z.ZodLiteral<"credential">;
1850
+ sourceId: z.ZodNullable<z.ZodString>;
1851
+ name: z.ZodString;
1852
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
1853
+ filePath: z.ZodOptional<z.ZodString>;
1854
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1855
+ consumers: z.ZodArray<z.ZodObject<{
1856
+ project: z.ZodObject<{
1857
+ id: z.ZodString;
1858
+ name: z.ZodString;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ id: string;
1861
+ name: string;
1862
+ }, {
1863
+ id: string;
1864
+ name: string;
1865
+ }>;
1866
+ workflows: z.ZodArray<z.ZodObject<{
1867
+ id: z.ZodString;
1868
+ name: z.ZodString;
1869
+ }, "strip", z.ZodTypeAny, {
1870
+ id: string;
1871
+ name: string;
1872
+ }, {
1873
+ id: string;
1874
+ name: string;
1875
+ }>, "many">;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ project: {
1878
+ id: string;
1879
+ name: string;
1880
+ };
1881
+ workflows: {
1882
+ id: string;
1883
+ name: string;
1884
+ }[];
1885
+ }, {
1886
+ project: {
1887
+ id: string;
1888
+ name: string;
1889
+ };
1890
+ workflows: {
1891
+ id: string;
1892
+ name: string;
1893
+ }[];
1894
+ }>, "many">;
1895
+ } & {
1896
+ code: z.ZodLiteral<"incompatible-usage-scope">;
1897
+ usageScope: z.ZodString;
1898
+ }, "strip", z.ZodTypeAny, {
1899
+ kind: "credential";
1900
+ sourceId: string | null;
1901
+ name: string;
1902
+ expectedTypes: string[];
1903
+ filePath?: string | undefined;
1904
+ referenceFiles: string[];
1905
+ consumers: {
1906
+ project: {
1907
+ id: string;
1908
+ name: string;
1909
+ };
1910
+ workflows: {
1911
+ id: string;
1912
+ name: string;
1913
+ }[];
1914
+ }[];
1915
+ code: "incompatible-usage-scope";
1916
+ usageScope: string;
1917
+ }, {
1918
+ kind: "credential";
1919
+ sourceId: string | null;
1920
+ name: string;
1921
+ expectedTypes: string[];
1922
+ filePath?: string | undefined;
1923
+ referenceFiles: string[];
1924
+ consumers: {
1925
+ project: {
1926
+ id: string;
1927
+ name: string;
1928
+ };
1929
+ workflows: {
1930
+ id: string;
1931
+ name: string;
1932
+ }[];
1933
+ }[];
1934
+ code: "incompatible-usage-scope";
1935
+ usageScope: string;
1936
+ }>, z.ZodObject<{
1937
+ kind: z.ZodLiteral<"variable">;
1938
+ code: z.ZodLiteral<"missing-definition">;
1939
+ name: z.ZodString;
1940
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
1941
+ consumers: z.ZodArray<z.ZodObject<{
1942
+ project: z.ZodObject<{
1943
+ id: z.ZodString;
1944
+ name: z.ZodString;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ id: string;
1947
+ name: string;
1948
+ }, {
1949
+ id: string;
1950
+ name: string;
1951
+ }>;
1952
+ workflows: z.ZodArray<z.ZodObject<{
1953
+ id: z.ZodString;
1954
+ name: z.ZodString;
1955
+ }, "strip", z.ZodTypeAny, {
1956
+ id: string;
1957
+ name: string;
1958
+ }, {
1959
+ id: string;
1960
+ name: string;
1961
+ }>, "many">;
1962
+ }, "strip", z.ZodTypeAny, {
1963
+ project: {
1964
+ id: string;
1965
+ name: string;
1966
+ };
1967
+ workflows: {
1968
+ id: string;
1969
+ name: string;
1970
+ }[];
1971
+ }, {
1972
+ project: {
1973
+ id: string;
1974
+ name: string;
1975
+ };
1976
+ workflows: {
1977
+ id: string;
1978
+ name: string;
1979
+ }[];
1980
+ }>, "many">;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ kind: "variable";
1983
+ code: "missing-definition";
1984
+ name: string;
1985
+ referenceFiles: string[];
1986
+ consumers: {
1987
+ project: {
1988
+ id: string;
1989
+ name: string;
1990
+ };
1991
+ workflows: {
1992
+ id: string;
1993
+ name: string;
1994
+ }[];
1995
+ }[];
1996
+ }, {
1997
+ kind: "variable";
1998
+ code: "missing-definition";
1999
+ name: string;
2000
+ referenceFiles: string[];
2001
+ consumers: {
2002
+ project: {
2003
+ id: string;
2004
+ name: string;
2005
+ };
2006
+ workflows: {
2007
+ id: string;
2008
+ name: string;
2009
+ }[];
2010
+ }[];
2011
+ }>, z.ZodObject<{
2012
+ kind: z.ZodLiteral<"project">;
2013
+ code: z.ZodLiteral<"project-not-team">;
2014
+ project: z.ZodObject<{
2015
+ id: z.ZodString;
2016
+ name: z.ZodString;
2017
+ }, "strip", z.ZodTypeAny, {
2018
+ id: string;
2019
+ name: string;
2020
+ }, {
2021
+ id: string;
2022
+ name: string;
2023
+ }>;
2024
+ filePath: z.ZodString;
2025
+ workflows: z.ZodArray<z.ZodObject<{
2026
+ id: z.ZodString;
2027
+ name: z.ZodString;
2028
+ }, "strip", z.ZodTypeAny, {
2029
+ id: string;
2030
+ name: string;
2031
+ }, {
2032
+ id: string;
2033
+ name: string;
2034
+ }>, "many">;
2035
+ }, "strip", z.ZodTypeAny, {
2036
+ kind: "project";
2037
+ code: "project-not-team";
2038
+ project: {
2039
+ id: string;
2040
+ name: string;
2041
+ };
2042
+ filePath: string;
2043
+ workflows: {
2044
+ id: string;
2045
+ name: string;
2046
+ }[];
2047
+ }, {
2048
+ kind: "project";
2049
+ code: "project-not-team";
2050
+ project: {
2051
+ id: string;
2052
+ name: string;
2053
+ };
2054
+ filePath: string;
2055
+ workflows: {
2056
+ id: string;
2057
+ name: string;
2058
+ }[];
2059
+ }>]>, "many">;
2060
+ warnings: z.ZodArray<z.ZodObject<{
2061
+ kind: z.ZodLiteral<"variable">;
2062
+ code: z.ZodLiteral<"variable-shadowed">;
2063
+ name: z.ZodString;
2064
+ scope: z.ZodObject<{
2065
+ kind: z.ZodLiteral<"global">;
2066
+ }, "strip", z.ZodTypeAny, {
2067
+ kind: "global";
2068
+ }, {
2069
+ kind: "global";
2070
+ }>;
2071
+ consumers: z.ZodArray<z.ZodObject<{
2072
+ project: z.ZodObject<{
2073
+ id: z.ZodString;
2074
+ name: z.ZodString;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ id: string;
2077
+ name: string;
2078
+ }, {
2079
+ id: string;
2080
+ name: string;
2081
+ }>;
2082
+ workflows: z.ZodArray<z.ZodObject<{
2083
+ id: z.ZodString;
2084
+ name: z.ZodString;
2085
+ }, "strip", z.ZodTypeAny, {
2086
+ id: string;
2087
+ name: string;
2088
+ }, {
2089
+ id: string;
2090
+ name: string;
2091
+ }>, "many">;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ project: {
2094
+ id: string;
2095
+ name: string;
2096
+ };
2097
+ workflows: {
2098
+ id: string;
2099
+ name: string;
2100
+ }[];
2101
+ }, {
2102
+ project: {
2103
+ id: string;
2104
+ name: string;
2105
+ };
2106
+ workflows: {
2107
+ id: string;
2108
+ name: string;
2109
+ }[];
2110
+ }>, "many">;
2111
+ }, "strip", z.ZodTypeAny, {
2112
+ kind: "variable";
2113
+ code: "variable-shadowed";
2114
+ name: string;
2115
+ scope: {
2116
+ kind: "global";
2117
+ };
2118
+ consumers: {
2119
+ project: {
2120
+ id: string;
2121
+ name: string;
2122
+ };
2123
+ workflows: {
2124
+ id: string;
2125
+ name: string;
2126
+ }[];
2127
+ }[];
2128
+ }, {
2129
+ kind: "variable";
2130
+ code: "variable-shadowed";
2131
+ name: string;
2132
+ scope: {
2133
+ kind: "global";
2134
+ };
2135
+ consumers: {
2136
+ project: {
2137
+ id: string;
2138
+ name: string;
2139
+ };
2140
+ workflows: {
2141
+ id: string;
2142
+ name: string;
2143
+ }[];
2144
+ }[];
2145
+ }>, "many">;
2146
+ }, "strip", z.ZodTypeAny, {
2147
+ missingBindings: ({
2148
+ kind: "credential";
2149
+ sourceId: string;
2150
+ name: string;
2151
+ credentialType: string;
2152
+ consumers: {
2153
+ project: {
2154
+ id: string;
2155
+ name: string;
2156
+ };
2157
+ workflows: {
2158
+ id: string;
2159
+ name: string;
2160
+ }[];
2161
+ }[];
2162
+ ownerProject: {
2163
+ id: string;
2164
+ name: string;
2165
+ };
2166
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
2167
+ } | {
2168
+ kind: "variable";
2169
+ name: string;
2170
+ variableType: "string";
2171
+ scope: {
2172
+ kind: "global";
2173
+ } | {
2174
+ kind: "project";
2175
+ project: {
2176
+ id: string;
2177
+ name: string;
2178
+ };
2179
+ };
2180
+ sourceValue?: string | undefined;
2181
+ consumers: {
2182
+ project: {
2183
+ id: string;
2184
+ name: string;
2185
+ };
2186
+ workflows: {
2187
+ id: string;
2188
+ name: string;
2189
+ }[];
2190
+ }[];
2191
+ })[];
2192
+ accessRequirements: {
2193
+ kind: "credential";
2194
+ sourceId: string;
2195
+ name: string;
2196
+ credentialType: string;
2197
+ consumers: {
2198
+ project: {
2199
+ id: string;
2200
+ name: string;
2201
+ };
2202
+ workflows: {
2203
+ id: string;
2204
+ name: string;
2205
+ }[];
2206
+ }[];
2207
+ code: "access-required";
2208
+ }[];
2209
+ conflicts: ({
2210
+ kind: "credential";
2211
+ sourceId: string | null;
2212
+ name: string;
2213
+ expectedTypes: string[];
2214
+ filePath?: string | undefined;
2215
+ referenceFiles: string[];
2216
+ consumers: {
2217
+ project: {
2218
+ id: string;
2219
+ name: string;
2220
+ };
2221
+ workflows: {
2222
+ id: string;
2223
+ name: string;
2224
+ }[];
2225
+ }[];
2226
+ code: "missing-id";
2227
+ } | {
2228
+ kind: "credential";
2229
+ sourceId: string | null;
2230
+ name: string;
2231
+ expectedTypes: string[];
2232
+ filePath?: string | undefined;
2233
+ referenceFiles: string[];
2234
+ consumers: {
2235
+ project: {
2236
+ id: string;
2237
+ name: string;
2238
+ };
2239
+ workflows: {
2240
+ id: string;
2241
+ name: string;
2242
+ }[];
2243
+ }[];
2244
+ code: "conflicting-types";
2245
+ } | {
2246
+ kind: "credential";
2247
+ sourceId: string | null;
2248
+ name: string;
2249
+ expectedTypes: string[];
2250
+ filePath?: string | undefined;
2251
+ referenceFiles: string[];
2252
+ consumers: {
2253
+ project: {
2254
+ id: string;
2255
+ name: string;
2256
+ };
2257
+ workflows: {
2258
+ id: string;
2259
+ name: string;
2260
+ }[];
2261
+ }[];
2262
+ code: "unknown-type";
2263
+ } | {
2264
+ kind: "credential";
2265
+ sourceId: string | null;
2266
+ name: string;
2267
+ expectedTypes: string[];
2268
+ filePath?: string | undefined;
2269
+ referenceFiles: string[];
2270
+ consumers: {
2271
+ project: {
2272
+ id: string;
2273
+ name: string;
2274
+ };
2275
+ workflows: {
2276
+ id: string;
2277
+ name: string;
2278
+ }[];
2279
+ }[];
2280
+ code: "unknown-owner";
2281
+ } | {
2282
+ kind: "credential";
2283
+ sourceId: string | null;
2284
+ name: string;
2285
+ expectedTypes: string[];
2286
+ filePath?: string | undefined;
2287
+ referenceFiles: string[];
2288
+ consumers: {
2289
+ project: {
2290
+ id: string;
2291
+ name: string;
2292
+ };
2293
+ workflows: {
2294
+ id: string;
2295
+ name: string;
2296
+ }[];
2297
+ }[];
2298
+ code: "type-mismatch";
2299
+ targetType: string;
2300
+ } | {
2301
+ kind: "credential";
2302
+ sourceId: string | null;
2303
+ name: string;
2304
+ expectedTypes: string[];
2305
+ filePath?: string | undefined;
2306
+ referenceFiles: string[];
2307
+ consumers: {
2308
+ project: {
2309
+ id: string;
2310
+ name: string;
2311
+ };
2312
+ workflows: {
2313
+ id: string;
2314
+ name: string;
2315
+ }[];
2316
+ }[];
2317
+ code: "incompatible-usage-scope";
2318
+ usageScope: string;
2319
+ } | {
2320
+ kind: "variable";
2321
+ code: "missing-definition";
2322
+ name: string;
2323
+ referenceFiles: string[];
2324
+ consumers: {
2325
+ project: {
2326
+ id: string;
2327
+ name: string;
2328
+ };
2329
+ workflows: {
2330
+ id: string;
2331
+ name: string;
2332
+ }[];
2333
+ }[];
2334
+ } | {
2335
+ kind: "project";
2336
+ code: "project-not-team";
2337
+ project: {
2338
+ id: string;
2339
+ name: string;
2340
+ };
2341
+ filePath: string;
2342
+ workflows: {
2343
+ id: string;
2344
+ name: string;
2345
+ }[];
2346
+ })[];
2347
+ warnings: {
2348
+ kind: "variable";
2349
+ code: "variable-shadowed";
2350
+ name: string;
2351
+ scope: {
2352
+ kind: "global";
2353
+ };
2354
+ consumers: {
2355
+ project: {
2356
+ id: string;
2357
+ name: string;
2358
+ };
2359
+ workflows: {
2360
+ id: string;
2361
+ name: string;
2362
+ }[];
2363
+ }[];
2364
+ }[];
2365
+ }, {
2366
+ missingBindings: ({
2367
+ kind: "credential";
2368
+ sourceId: string;
2369
+ name: string;
2370
+ credentialType: string;
2371
+ consumers: {
2372
+ project: {
2373
+ id: string;
2374
+ name: string;
2375
+ };
2376
+ workflows: {
2377
+ id: string;
2378
+ name: string;
2379
+ }[];
2380
+ }[];
2381
+ ownerProject: {
2382
+ id: string;
2383
+ name: string;
2384
+ };
2385
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
2386
+ } | {
2387
+ kind: "variable";
2388
+ name: string;
2389
+ variableType?: "string" | undefined;
2390
+ scope: {
2391
+ kind: "global";
2392
+ } | {
2393
+ kind: "project";
2394
+ project: {
2395
+ id: string;
2396
+ name: string;
2397
+ };
2398
+ };
2399
+ sourceValue?: string | undefined;
2400
+ consumers: {
2401
+ project: {
2402
+ id: string;
2403
+ name: string;
2404
+ };
2405
+ workflows: {
2406
+ id: string;
2407
+ name: string;
2408
+ }[];
2409
+ }[];
2410
+ })[];
2411
+ accessRequirements: {
2412
+ kind: "credential";
2413
+ sourceId: string;
2414
+ name: string;
2415
+ credentialType: string;
2416
+ consumers: {
2417
+ project: {
2418
+ id: string;
2419
+ name: string;
2420
+ };
2421
+ workflows: {
2422
+ id: string;
2423
+ name: string;
2424
+ }[];
2425
+ }[];
2426
+ code: "access-required";
2427
+ }[];
2428
+ conflicts: ({
2429
+ kind: "credential";
2430
+ sourceId: string | null;
2431
+ name: string;
2432
+ expectedTypes: string[];
2433
+ filePath?: string | undefined;
2434
+ referenceFiles: string[];
2435
+ consumers: {
2436
+ project: {
2437
+ id: string;
2438
+ name: string;
2439
+ };
2440
+ workflows: {
2441
+ id: string;
2442
+ name: string;
2443
+ }[];
2444
+ }[];
2445
+ code: "missing-id";
2446
+ } | {
2447
+ kind: "credential";
2448
+ sourceId: string | null;
2449
+ name: string;
2450
+ expectedTypes: string[];
2451
+ filePath?: string | undefined;
2452
+ referenceFiles: string[];
2453
+ consumers: {
2454
+ project: {
2455
+ id: string;
2456
+ name: string;
2457
+ };
2458
+ workflows: {
2459
+ id: string;
2460
+ name: string;
2461
+ }[];
2462
+ }[];
2463
+ code: "conflicting-types";
2464
+ } | {
2465
+ kind: "credential";
2466
+ sourceId: string | null;
2467
+ name: string;
2468
+ expectedTypes: string[];
2469
+ filePath?: string | undefined;
2470
+ referenceFiles: string[];
2471
+ consumers: {
2472
+ project: {
2473
+ id: string;
2474
+ name: string;
2475
+ };
2476
+ workflows: {
2477
+ id: string;
2478
+ name: string;
2479
+ }[];
2480
+ }[];
2481
+ code: "unknown-type";
2482
+ } | {
2483
+ kind: "credential";
2484
+ sourceId: string | null;
2485
+ name: string;
2486
+ expectedTypes: string[];
2487
+ filePath?: string | undefined;
2488
+ referenceFiles: string[];
2489
+ consumers: {
2490
+ project: {
2491
+ id: string;
2492
+ name: string;
2493
+ };
2494
+ workflows: {
2495
+ id: string;
2496
+ name: string;
2497
+ }[];
2498
+ }[];
2499
+ code: "unknown-owner";
2500
+ } | {
2501
+ kind: "credential";
2502
+ sourceId: string | null;
2503
+ name: string;
2504
+ expectedTypes: string[];
2505
+ filePath?: string | undefined;
2506
+ referenceFiles: string[];
2507
+ consumers: {
2508
+ project: {
2509
+ id: string;
2510
+ name: string;
2511
+ };
2512
+ workflows: {
2513
+ id: string;
2514
+ name: string;
2515
+ }[];
2516
+ }[];
2517
+ code: "type-mismatch";
2518
+ targetType: string;
2519
+ } | {
2520
+ kind: "credential";
2521
+ sourceId: string | null;
2522
+ name: string;
2523
+ expectedTypes: string[];
2524
+ filePath?: string | undefined;
2525
+ referenceFiles: string[];
2526
+ consumers: {
2527
+ project: {
2528
+ id: string;
2529
+ name: string;
2530
+ };
2531
+ workflows: {
2532
+ id: string;
2533
+ name: string;
2534
+ }[];
2535
+ }[];
2536
+ code: "incompatible-usage-scope";
2537
+ usageScope: string;
2538
+ } | {
2539
+ kind: "variable";
2540
+ code: "missing-definition";
2541
+ name: string;
2542
+ referenceFiles: string[];
2543
+ consumers: {
2544
+ project: {
2545
+ id: string;
2546
+ name: string;
2547
+ };
2548
+ workflows: {
2549
+ id: string;
2550
+ name: string;
2551
+ }[];
2552
+ }[];
2553
+ } | {
2554
+ kind: "project";
2555
+ code: "project-not-team";
2556
+ project: {
2557
+ id: string;
2558
+ name: string;
2559
+ };
2560
+ filePath: string;
2561
+ workflows: {
2562
+ id: string;
2563
+ name: string;
2564
+ }[];
2565
+ })[];
2566
+ warnings: {
2567
+ kind: "variable";
2568
+ code: "variable-shadowed";
2569
+ name: string;
2570
+ scope: {
2571
+ kind: "global";
2572
+ };
2573
+ consumers: {
2574
+ project: {
2575
+ id: string;
2576
+ name: string;
2577
+ };
2578
+ workflows: {
2579
+ id: string;
2580
+ name: string;
2581
+ }[];
2582
+ }[];
2583
+ }[];
2584
+ }>;
2585
+ declare const PromotionBindingPreflightResultDto_base: import("../../zod-class").ZodClass<{
2586
+ missingBindings: ({
2587
+ kind: "credential";
2588
+ sourceId: string;
2589
+ name: string;
2590
+ credentialType: string;
2591
+ consumers: {
2592
+ project: {
2593
+ id: string;
2594
+ name: string;
2595
+ };
2596
+ workflows: {
2597
+ id: string;
2598
+ name: string;
2599
+ }[];
2600
+ }[];
2601
+ ownerProject: {
2602
+ id: string;
2603
+ name: string;
2604
+ };
2605
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
2606
+ } | {
2607
+ kind: "variable";
2608
+ name: string;
2609
+ variableType: "string";
2610
+ scope: {
2611
+ kind: "global";
2612
+ } | {
2613
+ kind: "project";
2614
+ project: {
2615
+ id: string;
2616
+ name: string;
2617
+ };
2618
+ };
2619
+ sourceValue?: string | undefined;
2620
+ consumers: {
2621
+ project: {
2622
+ id: string;
2623
+ name: string;
2624
+ };
2625
+ workflows: {
2626
+ id: string;
2627
+ name: string;
2628
+ }[];
2629
+ }[];
2630
+ })[];
2631
+ accessRequirements: {
2632
+ kind: "credential";
2633
+ sourceId: string;
2634
+ name: string;
2635
+ credentialType: string;
2636
+ consumers: {
2637
+ project: {
2638
+ id: string;
2639
+ name: string;
2640
+ };
2641
+ workflows: {
2642
+ id: string;
2643
+ name: string;
2644
+ }[];
2645
+ }[];
2646
+ code: "access-required";
2647
+ }[];
2648
+ conflicts: ({
2649
+ kind: "credential";
2650
+ sourceId: string | null;
2651
+ name: string;
2652
+ expectedTypes: string[];
2653
+ filePath?: string | undefined;
2654
+ referenceFiles: string[];
2655
+ consumers: {
2656
+ project: {
2657
+ id: string;
2658
+ name: string;
2659
+ };
2660
+ workflows: {
2661
+ id: string;
2662
+ name: string;
2663
+ }[];
2664
+ }[];
2665
+ code: "missing-id";
2666
+ } | {
2667
+ kind: "credential";
2668
+ sourceId: string | null;
2669
+ name: string;
2670
+ expectedTypes: string[];
2671
+ filePath?: string | undefined;
2672
+ referenceFiles: string[];
2673
+ consumers: {
2674
+ project: {
2675
+ id: string;
2676
+ name: string;
2677
+ };
2678
+ workflows: {
2679
+ id: string;
2680
+ name: string;
2681
+ }[];
2682
+ }[];
2683
+ code: "conflicting-types";
2684
+ } | {
2685
+ kind: "credential";
2686
+ sourceId: string | null;
2687
+ name: string;
2688
+ expectedTypes: string[];
2689
+ filePath?: string | undefined;
2690
+ referenceFiles: string[];
2691
+ consumers: {
2692
+ project: {
2693
+ id: string;
2694
+ name: string;
2695
+ };
2696
+ workflows: {
2697
+ id: string;
2698
+ name: string;
2699
+ }[];
2700
+ }[];
2701
+ code: "unknown-type";
2702
+ } | {
2703
+ kind: "credential";
2704
+ sourceId: string | null;
2705
+ name: string;
2706
+ expectedTypes: string[];
2707
+ filePath?: string | undefined;
2708
+ referenceFiles: string[];
2709
+ consumers: {
2710
+ project: {
2711
+ id: string;
2712
+ name: string;
2713
+ };
2714
+ workflows: {
2715
+ id: string;
2716
+ name: string;
2717
+ }[];
2718
+ }[];
2719
+ code: "unknown-owner";
2720
+ } | {
2721
+ kind: "credential";
2722
+ sourceId: string | null;
2723
+ name: string;
2724
+ expectedTypes: string[];
2725
+ filePath?: string | undefined;
2726
+ referenceFiles: string[];
2727
+ consumers: {
2728
+ project: {
2729
+ id: string;
2730
+ name: string;
2731
+ };
2732
+ workflows: {
2733
+ id: string;
2734
+ name: string;
2735
+ }[];
2736
+ }[];
2737
+ code: "type-mismatch";
2738
+ targetType: string;
2739
+ } | {
2740
+ kind: "credential";
2741
+ sourceId: string | null;
2742
+ name: string;
2743
+ expectedTypes: string[];
2744
+ filePath?: string | undefined;
2745
+ referenceFiles: string[];
2746
+ consumers: {
2747
+ project: {
2748
+ id: string;
2749
+ name: string;
2750
+ };
2751
+ workflows: {
2752
+ id: string;
2753
+ name: string;
2754
+ }[];
2755
+ }[];
2756
+ code: "incompatible-usage-scope";
2757
+ usageScope: string;
2758
+ } | {
2759
+ kind: "variable";
2760
+ code: "missing-definition";
2761
+ name: string;
2762
+ referenceFiles: string[];
2763
+ consumers: {
2764
+ project: {
2765
+ id: string;
2766
+ name: string;
2767
+ };
2768
+ workflows: {
2769
+ id: string;
2770
+ name: string;
2771
+ }[];
2772
+ }[];
2773
+ } | {
2774
+ kind: "project";
2775
+ code: "project-not-team";
2776
+ project: {
2777
+ id: string;
2778
+ name: string;
2779
+ };
2780
+ filePath: string;
2781
+ workflows: {
2782
+ id: string;
2783
+ name: string;
2784
+ }[];
2785
+ })[];
2786
+ warnings: {
2787
+ kind: "variable";
2788
+ code: "variable-shadowed";
2789
+ name: string;
2790
+ scope: {
2791
+ kind: "global";
2792
+ };
2793
+ consumers: {
2794
+ project: {
2795
+ id: string;
2796
+ name: string;
2797
+ };
2798
+ workflows: {
2799
+ id: string;
2800
+ name: string;
2801
+ }[];
2802
+ }[];
2803
+ }[];
2804
+ }, {
2805
+ missingBindings: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2806
+ kind: z.ZodLiteral<"credential">;
2807
+ sourceId: z.ZodString;
2808
+ name: z.ZodString;
2809
+ credentialType: z.ZodString;
2810
+ consumers: z.ZodArray<z.ZodObject<{
2811
+ project: z.ZodObject<{
2812
+ id: z.ZodString;
2813
+ name: z.ZodString;
2814
+ }, "strip", z.ZodTypeAny, {
2815
+ id: string;
2816
+ name: string;
2817
+ }, {
2818
+ id: string;
2819
+ name: string;
2820
+ }>;
2821
+ workflows: z.ZodArray<z.ZodObject<{
2822
+ id: z.ZodString;
2823
+ name: z.ZodString;
2824
+ }, "strip", z.ZodTypeAny, {
2825
+ id: string;
2826
+ name: string;
2827
+ }, {
2828
+ id: string;
2829
+ name: string;
2830
+ }>, "many">;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ project: {
2833
+ id: string;
2834
+ name: string;
2835
+ };
2836
+ workflows: {
2837
+ id: string;
2838
+ name: string;
2839
+ }[];
2840
+ }, {
2841
+ project: {
2842
+ id: string;
2843
+ name: string;
2844
+ };
2845
+ workflows: {
2846
+ id: string;
2847
+ name: string;
2848
+ }[];
2849
+ }>, "many">;
2850
+ } & {
2851
+ ownerProject: z.ZodObject<{
2852
+ id: z.ZodString;
2853
+ name: z.ZodString;
2854
+ }, "strip", z.ZodTypeAny, {
2855
+ id: string;
2856
+ name: string;
2857
+ }, {
2858
+ id: string;
2859
+ name: string;
2860
+ }>;
2861
+ expressionData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<PromotionCredentialExpressionValue, z.ZodTypeDef, PromotionCredentialExpressionValue>>>;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ kind: "credential";
2864
+ sourceId: string;
2865
+ name: string;
2866
+ credentialType: string;
2867
+ consumers: {
2868
+ project: {
2869
+ id: string;
2870
+ name: string;
2871
+ };
2872
+ workflows: {
2873
+ id: string;
2874
+ name: string;
2875
+ }[];
2876
+ }[];
2877
+ ownerProject: {
2878
+ id: string;
2879
+ name: string;
2880
+ };
2881
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
2882
+ }, {
2883
+ kind: "credential";
2884
+ sourceId: string;
2885
+ name: string;
2886
+ credentialType: string;
2887
+ consumers: {
2888
+ project: {
2889
+ id: string;
2890
+ name: string;
2891
+ };
2892
+ workflows: {
2893
+ id: string;
2894
+ name: string;
2895
+ }[];
2896
+ }[];
2897
+ ownerProject: {
2898
+ id: string;
2899
+ name: string;
2900
+ };
2901
+ expressionData?: Record<string, PromotionCredentialExpressionValue> | undefined;
2902
+ }>, z.ZodObject<{
2903
+ kind: z.ZodLiteral<"variable">;
2904
+ name: z.ZodString;
2905
+ variableType: z.ZodDefault<z.ZodEnum<["string"]>>;
2906
+ scope: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2907
+ kind: z.ZodLiteral<"global">;
2908
+ }, "strip", z.ZodTypeAny, {
2909
+ kind: "global";
2910
+ }, {
2911
+ kind: "global";
2912
+ }>, z.ZodObject<{
2913
+ kind: z.ZodLiteral<"project">;
2914
+ project: z.ZodObject<{
2915
+ id: z.ZodString;
2916
+ name: z.ZodString;
2917
+ }, "strip", z.ZodTypeAny, {
2918
+ id: string;
2919
+ name: string;
2920
+ }, {
2921
+ id: string;
2922
+ name: string;
2923
+ }>;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ kind: "project";
2926
+ project: {
2927
+ id: string;
2928
+ name: string;
2929
+ };
2930
+ }, {
2931
+ kind: "project";
2932
+ project: {
2933
+ id: string;
2934
+ name: string;
2935
+ };
2936
+ }>]>;
2937
+ sourceValue: z.ZodOptional<z.ZodString>;
2938
+ consumers: z.ZodArray<z.ZodObject<{
2939
+ project: z.ZodObject<{
2940
+ id: z.ZodString;
2941
+ name: z.ZodString;
2942
+ }, "strip", z.ZodTypeAny, {
2943
+ id: string;
2944
+ name: string;
2945
+ }, {
2946
+ id: string;
2947
+ name: string;
2948
+ }>;
2949
+ workflows: z.ZodArray<z.ZodObject<{
2950
+ id: z.ZodString;
2951
+ name: z.ZodString;
2952
+ }, "strip", z.ZodTypeAny, {
2953
+ id: string;
2954
+ name: string;
2955
+ }, {
2956
+ id: string;
2957
+ name: string;
2958
+ }>, "many">;
2959
+ }, "strip", z.ZodTypeAny, {
2960
+ project: {
2961
+ id: string;
2962
+ name: string;
2963
+ };
2964
+ workflows: {
2965
+ id: string;
2966
+ name: string;
2967
+ }[];
2968
+ }, {
2969
+ project: {
2970
+ id: string;
2971
+ name: string;
2972
+ };
2973
+ workflows: {
2974
+ id: string;
2975
+ name: string;
2976
+ }[];
2977
+ }>, "many">;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ kind: "variable";
2980
+ name: string;
2981
+ variableType: "string";
2982
+ scope: {
2983
+ kind: "global";
2984
+ } | {
2985
+ kind: "project";
2986
+ project: {
2987
+ id: string;
2988
+ name: string;
2989
+ };
2990
+ };
2991
+ sourceValue?: string | undefined;
2992
+ consumers: {
2993
+ project: {
2994
+ id: string;
2995
+ name: string;
2996
+ };
2997
+ workflows: {
2998
+ id: string;
2999
+ name: string;
3000
+ }[];
3001
+ }[];
3002
+ }, {
3003
+ kind: "variable";
3004
+ name: string;
3005
+ variableType?: "string" | undefined;
3006
+ scope: {
3007
+ kind: "global";
3008
+ } | {
3009
+ kind: "project";
3010
+ project: {
3011
+ id: string;
3012
+ name: string;
3013
+ };
3014
+ };
3015
+ sourceValue?: string | undefined;
3016
+ consumers: {
3017
+ project: {
3018
+ id: string;
3019
+ name: string;
3020
+ };
3021
+ workflows: {
3022
+ id: string;
3023
+ name: string;
3024
+ }[];
3025
+ }[];
3026
+ }>]>, "many">;
3027
+ accessRequirements: z.ZodArray<z.ZodObject<{
3028
+ kind: z.ZodLiteral<"credential">;
3029
+ sourceId: z.ZodString;
3030
+ name: z.ZodString;
3031
+ credentialType: z.ZodString;
3032
+ consumers: z.ZodArray<z.ZodObject<{
3033
+ project: z.ZodObject<{
3034
+ id: z.ZodString;
3035
+ name: z.ZodString;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ id: string;
3038
+ name: string;
3039
+ }, {
3040
+ id: string;
3041
+ name: string;
3042
+ }>;
3043
+ workflows: z.ZodArray<z.ZodObject<{
3044
+ id: z.ZodString;
3045
+ name: z.ZodString;
3046
+ }, "strip", z.ZodTypeAny, {
3047
+ id: string;
3048
+ name: string;
3049
+ }, {
3050
+ id: string;
3051
+ name: string;
3052
+ }>, "many">;
3053
+ }, "strip", z.ZodTypeAny, {
3054
+ project: {
3055
+ id: string;
3056
+ name: string;
3057
+ };
3058
+ workflows: {
3059
+ id: string;
3060
+ name: string;
3061
+ }[];
3062
+ }, {
3063
+ project: {
3064
+ id: string;
3065
+ name: string;
3066
+ };
3067
+ workflows: {
3068
+ id: string;
3069
+ name: string;
3070
+ }[];
3071
+ }>, "many">;
3072
+ } & {
3073
+ code: z.ZodLiteral<"access-required">;
3074
+ }, "strip", z.ZodTypeAny, {
3075
+ kind: "credential";
3076
+ sourceId: string;
3077
+ name: string;
3078
+ credentialType: string;
3079
+ consumers: {
3080
+ project: {
3081
+ id: string;
3082
+ name: string;
3083
+ };
3084
+ workflows: {
3085
+ id: string;
3086
+ name: string;
3087
+ }[];
3088
+ }[];
3089
+ code: "access-required";
3090
+ }, {
3091
+ kind: "credential";
3092
+ sourceId: string;
3093
+ name: string;
3094
+ credentialType: string;
3095
+ consumers: {
3096
+ project: {
3097
+ id: string;
3098
+ name: string;
3099
+ };
3100
+ workflows: {
3101
+ id: string;
3102
+ name: string;
3103
+ }[];
3104
+ }[];
3105
+ code: "access-required";
3106
+ }>, "many">;
3107
+ conflicts: z.ZodArray<z.ZodDiscriminatedUnion<"code", [z.ZodObject<{
3108
+ kind: z.ZodLiteral<"credential">;
3109
+ sourceId: z.ZodNullable<z.ZodString>;
3110
+ name: z.ZodString;
3111
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3112
+ filePath: z.ZodOptional<z.ZodString>;
3113
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3114
+ consumers: z.ZodArray<z.ZodObject<{
3115
+ project: z.ZodObject<{
3116
+ id: z.ZodString;
3117
+ name: z.ZodString;
3118
+ }, "strip", z.ZodTypeAny, {
3119
+ id: string;
3120
+ name: string;
3121
+ }, {
3122
+ id: string;
3123
+ name: string;
3124
+ }>;
3125
+ workflows: z.ZodArray<z.ZodObject<{
3126
+ id: z.ZodString;
3127
+ name: z.ZodString;
3128
+ }, "strip", z.ZodTypeAny, {
3129
+ id: string;
3130
+ name: string;
3131
+ }, {
3132
+ id: string;
3133
+ name: string;
3134
+ }>, "many">;
3135
+ }, "strip", z.ZodTypeAny, {
3136
+ project: {
3137
+ id: string;
3138
+ name: string;
3139
+ };
3140
+ workflows: {
3141
+ id: string;
3142
+ name: string;
3143
+ }[];
3144
+ }, {
3145
+ project: {
3146
+ id: string;
3147
+ name: string;
3148
+ };
3149
+ workflows: {
3150
+ id: string;
3151
+ name: string;
3152
+ }[];
3153
+ }>, "many">;
3154
+ } & {
3155
+ code: z.ZodLiteral<"missing-id">;
3156
+ }, "strip", z.ZodTypeAny, {
3157
+ kind: "credential";
3158
+ sourceId: string | null;
3159
+ name: string;
3160
+ expectedTypes: string[];
3161
+ filePath?: string | undefined;
3162
+ referenceFiles: string[];
3163
+ consumers: {
3164
+ project: {
3165
+ id: string;
3166
+ name: string;
3167
+ };
3168
+ workflows: {
3169
+ id: string;
3170
+ name: string;
3171
+ }[];
3172
+ }[];
3173
+ code: "missing-id";
3174
+ }, {
3175
+ kind: "credential";
3176
+ sourceId: string | null;
3177
+ name: string;
3178
+ expectedTypes: string[];
3179
+ filePath?: string | undefined;
3180
+ referenceFiles: string[];
3181
+ consumers: {
3182
+ project: {
3183
+ id: string;
3184
+ name: string;
3185
+ };
3186
+ workflows: {
3187
+ id: string;
3188
+ name: string;
3189
+ }[];
3190
+ }[];
3191
+ code: "missing-id";
3192
+ }>, z.ZodObject<{
3193
+ kind: z.ZodLiteral<"credential">;
3194
+ sourceId: z.ZodNullable<z.ZodString>;
3195
+ name: z.ZodString;
3196
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3197
+ filePath: z.ZodOptional<z.ZodString>;
3198
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3199
+ consumers: z.ZodArray<z.ZodObject<{
3200
+ project: z.ZodObject<{
3201
+ id: z.ZodString;
3202
+ name: z.ZodString;
3203
+ }, "strip", z.ZodTypeAny, {
3204
+ id: string;
3205
+ name: string;
3206
+ }, {
3207
+ id: string;
3208
+ name: string;
3209
+ }>;
3210
+ workflows: z.ZodArray<z.ZodObject<{
3211
+ id: z.ZodString;
3212
+ name: z.ZodString;
3213
+ }, "strip", z.ZodTypeAny, {
3214
+ id: string;
3215
+ name: string;
3216
+ }, {
3217
+ id: string;
3218
+ name: string;
3219
+ }>, "many">;
3220
+ }, "strip", z.ZodTypeAny, {
3221
+ project: {
3222
+ id: string;
3223
+ name: string;
3224
+ };
3225
+ workflows: {
3226
+ id: string;
3227
+ name: string;
3228
+ }[];
3229
+ }, {
3230
+ project: {
3231
+ id: string;
3232
+ name: string;
3233
+ };
3234
+ workflows: {
3235
+ id: string;
3236
+ name: string;
3237
+ }[];
3238
+ }>, "many">;
3239
+ } & {
3240
+ code: z.ZodLiteral<"conflicting-types">;
3241
+ }, "strip", z.ZodTypeAny, {
3242
+ kind: "credential";
3243
+ sourceId: string | null;
3244
+ name: string;
3245
+ expectedTypes: string[];
3246
+ filePath?: string | undefined;
3247
+ referenceFiles: string[];
3248
+ consumers: {
3249
+ project: {
3250
+ id: string;
3251
+ name: string;
3252
+ };
3253
+ workflows: {
3254
+ id: string;
3255
+ name: string;
3256
+ }[];
3257
+ }[];
3258
+ code: "conflicting-types";
3259
+ }, {
3260
+ kind: "credential";
3261
+ sourceId: string | null;
3262
+ name: string;
3263
+ expectedTypes: string[];
3264
+ filePath?: string | undefined;
3265
+ referenceFiles: string[];
3266
+ consumers: {
3267
+ project: {
3268
+ id: string;
3269
+ name: string;
3270
+ };
3271
+ workflows: {
3272
+ id: string;
3273
+ name: string;
3274
+ }[];
3275
+ }[];
3276
+ code: "conflicting-types";
3277
+ }>, z.ZodObject<{
3278
+ kind: z.ZodLiteral<"credential">;
3279
+ sourceId: z.ZodNullable<z.ZodString>;
3280
+ name: z.ZodString;
3281
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3282
+ filePath: z.ZodOptional<z.ZodString>;
3283
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3284
+ consumers: z.ZodArray<z.ZodObject<{
3285
+ project: z.ZodObject<{
3286
+ id: z.ZodString;
3287
+ name: z.ZodString;
3288
+ }, "strip", z.ZodTypeAny, {
3289
+ id: string;
3290
+ name: string;
3291
+ }, {
3292
+ id: string;
3293
+ name: string;
3294
+ }>;
3295
+ workflows: z.ZodArray<z.ZodObject<{
3296
+ id: z.ZodString;
3297
+ name: z.ZodString;
3298
+ }, "strip", z.ZodTypeAny, {
3299
+ id: string;
3300
+ name: string;
3301
+ }, {
3302
+ id: string;
3303
+ name: string;
3304
+ }>, "many">;
3305
+ }, "strip", z.ZodTypeAny, {
3306
+ project: {
3307
+ id: string;
3308
+ name: string;
3309
+ };
3310
+ workflows: {
3311
+ id: string;
3312
+ name: string;
3313
+ }[];
3314
+ }, {
3315
+ project: {
3316
+ id: string;
3317
+ name: string;
3318
+ };
3319
+ workflows: {
3320
+ id: string;
3321
+ name: string;
3322
+ }[];
3323
+ }>, "many">;
3324
+ } & {
3325
+ code: z.ZodLiteral<"unknown-type">;
3326
+ }, "strip", z.ZodTypeAny, {
3327
+ kind: "credential";
3328
+ sourceId: string | null;
3329
+ name: string;
3330
+ expectedTypes: string[];
3331
+ filePath?: string | undefined;
3332
+ referenceFiles: string[];
3333
+ consumers: {
3334
+ project: {
3335
+ id: string;
3336
+ name: string;
3337
+ };
3338
+ workflows: {
3339
+ id: string;
3340
+ name: string;
3341
+ }[];
3342
+ }[];
3343
+ code: "unknown-type";
3344
+ }, {
3345
+ kind: "credential";
3346
+ sourceId: string | null;
3347
+ name: string;
3348
+ expectedTypes: string[];
3349
+ filePath?: string | undefined;
3350
+ referenceFiles: string[];
3351
+ consumers: {
3352
+ project: {
3353
+ id: string;
3354
+ name: string;
3355
+ };
3356
+ workflows: {
3357
+ id: string;
3358
+ name: string;
3359
+ }[];
3360
+ }[];
3361
+ code: "unknown-type";
3362
+ }>, z.ZodObject<{
3363
+ kind: z.ZodLiteral<"credential">;
3364
+ sourceId: z.ZodNullable<z.ZodString>;
3365
+ name: z.ZodString;
3366
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3367
+ filePath: z.ZodOptional<z.ZodString>;
3368
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3369
+ consumers: z.ZodArray<z.ZodObject<{
3370
+ project: z.ZodObject<{
3371
+ id: z.ZodString;
3372
+ name: z.ZodString;
3373
+ }, "strip", z.ZodTypeAny, {
3374
+ id: string;
3375
+ name: string;
3376
+ }, {
3377
+ id: string;
3378
+ name: string;
3379
+ }>;
3380
+ workflows: z.ZodArray<z.ZodObject<{
3381
+ id: z.ZodString;
3382
+ name: z.ZodString;
3383
+ }, "strip", z.ZodTypeAny, {
3384
+ id: string;
3385
+ name: string;
3386
+ }, {
3387
+ id: string;
3388
+ name: string;
3389
+ }>, "many">;
3390
+ }, "strip", z.ZodTypeAny, {
3391
+ project: {
3392
+ id: string;
3393
+ name: string;
3394
+ };
3395
+ workflows: {
3396
+ id: string;
3397
+ name: string;
3398
+ }[];
3399
+ }, {
3400
+ project: {
3401
+ id: string;
3402
+ name: string;
3403
+ };
3404
+ workflows: {
3405
+ id: string;
3406
+ name: string;
3407
+ }[];
3408
+ }>, "many">;
3409
+ } & {
3410
+ code: z.ZodLiteral<"unknown-owner">;
3411
+ }, "strip", z.ZodTypeAny, {
3412
+ kind: "credential";
3413
+ sourceId: string | null;
3414
+ name: string;
3415
+ expectedTypes: string[];
3416
+ filePath?: string | undefined;
3417
+ referenceFiles: string[];
3418
+ consumers: {
3419
+ project: {
3420
+ id: string;
3421
+ name: string;
3422
+ };
3423
+ workflows: {
3424
+ id: string;
3425
+ name: string;
3426
+ }[];
3427
+ }[];
3428
+ code: "unknown-owner";
3429
+ }, {
3430
+ kind: "credential";
3431
+ sourceId: string | null;
3432
+ name: string;
3433
+ expectedTypes: string[];
3434
+ filePath?: string | undefined;
3435
+ referenceFiles: string[];
3436
+ consumers: {
3437
+ project: {
3438
+ id: string;
3439
+ name: string;
3440
+ };
3441
+ workflows: {
3442
+ id: string;
3443
+ name: string;
3444
+ }[];
3445
+ }[];
3446
+ code: "unknown-owner";
3447
+ }>, z.ZodObject<{
3448
+ kind: z.ZodLiteral<"credential">;
3449
+ sourceId: z.ZodNullable<z.ZodString>;
3450
+ name: z.ZodString;
3451
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3452
+ filePath: z.ZodOptional<z.ZodString>;
3453
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3454
+ consumers: z.ZodArray<z.ZodObject<{
3455
+ project: z.ZodObject<{
3456
+ id: z.ZodString;
3457
+ name: z.ZodString;
3458
+ }, "strip", z.ZodTypeAny, {
3459
+ id: string;
3460
+ name: string;
3461
+ }, {
3462
+ id: string;
3463
+ name: string;
3464
+ }>;
3465
+ workflows: z.ZodArray<z.ZodObject<{
3466
+ id: z.ZodString;
3467
+ name: z.ZodString;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ id: string;
3470
+ name: string;
3471
+ }, {
3472
+ id: string;
3473
+ name: string;
3474
+ }>, "many">;
3475
+ }, "strip", z.ZodTypeAny, {
3476
+ project: {
3477
+ id: string;
3478
+ name: string;
3479
+ };
3480
+ workflows: {
3481
+ id: string;
3482
+ name: string;
3483
+ }[];
3484
+ }, {
3485
+ project: {
3486
+ id: string;
3487
+ name: string;
3488
+ };
3489
+ workflows: {
3490
+ id: string;
3491
+ name: string;
3492
+ }[];
3493
+ }>, "many">;
3494
+ } & {
3495
+ code: z.ZodLiteral<"type-mismatch">;
3496
+ targetType: z.ZodString;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ kind: "credential";
3499
+ sourceId: string | null;
3500
+ name: string;
3501
+ expectedTypes: string[];
3502
+ filePath?: string | undefined;
3503
+ referenceFiles: string[];
3504
+ consumers: {
3505
+ project: {
3506
+ id: string;
3507
+ name: string;
3508
+ };
3509
+ workflows: {
3510
+ id: string;
3511
+ name: string;
3512
+ }[];
3513
+ }[];
3514
+ code: "type-mismatch";
3515
+ targetType: string;
3516
+ }, {
3517
+ kind: "credential";
3518
+ sourceId: string | null;
3519
+ name: string;
3520
+ expectedTypes: string[];
3521
+ filePath?: string | undefined;
3522
+ referenceFiles: string[];
3523
+ consumers: {
3524
+ project: {
3525
+ id: string;
3526
+ name: string;
3527
+ };
3528
+ workflows: {
3529
+ id: string;
3530
+ name: string;
3531
+ }[];
3532
+ }[];
3533
+ code: "type-mismatch";
3534
+ targetType: string;
3535
+ }>, z.ZodObject<{
3536
+ kind: z.ZodLiteral<"credential">;
3537
+ sourceId: z.ZodNullable<z.ZodString>;
3538
+ name: z.ZodString;
3539
+ expectedTypes: z.ZodArray<z.ZodString, "many">;
3540
+ filePath: z.ZodOptional<z.ZodString>;
3541
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3542
+ consumers: z.ZodArray<z.ZodObject<{
3543
+ project: z.ZodObject<{
3544
+ id: z.ZodString;
3545
+ name: z.ZodString;
3546
+ }, "strip", z.ZodTypeAny, {
3547
+ id: string;
3548
+ name: string;
3549
+ }, {
3550
+ id: string;
3551
+ name: string;
3552
+ }>;
3553
+ workflows: z.ZodArray<z.ZodObject<{
3554
+ id: z.ZodString;
3555
+ name: z.ZodString;
3556
+ }, "strip", z.ZodTypeAny, {
3557
+ id: string;
3558
+ name: string;
3559
+ }, {
3560
+ id: string;
3561
+ name: string;
3562
+ }>, "many">;
3563
+ }, "strip", z.ZodTypeAny, {
3564
+ project: {
3565
+ id: string;
3566
+ name: string;
3567
+ };
3568
+ workflows: {
3569
+ id: string;
3570
+ name: string;
3571
+ }[];
3572
+ }, {
3573
+ project: {
3574
+ id: string;
3575
+ name: string;
3576
+ };
3577
+ workflows: {
3578
+ id: string;
3579
+ name: string;
3580
+ }[];
3581
+ }>, "many">;
3582
+ } & {
3583
+ code: z.ZodLiteral<"incompatible-usage-scope">;
3584
+ usageScope: z.ZodString;
3585
+ }, "strip", z.ZodTypeAny, {
3586
+ kind: "credential";
3587
+ sourceId: string | null;
3588
+ name: string;
3589
+ expectedTypes: string[];
3590
+ filePath?: string | undefined;
3591
+ referenceFiles: string[];
3592
+ consumers: {
3593
+ project: {
3594
+ id: string;
3595
+ name: string;
3596
+ };
3597
+ workflows: {
3598
+ id: string;
3599
+ name: string;
3600
+ }[];
3601
+ }[];
3602
+ code: "incompatible-usage-scope";
3603
+ usageScope: string;
3604
+ }, {
3605
+ kind: "credential";
3606
+ sourceId: string | null;
3607
+ name: string;
3608
+ expectedTypes: string[];
3609
+ filePath?: string | undefined;
3610
+ referenceFiles: string[];
3611
+ consumers: {
3612
+ project: {
3613
+ id: string;
3614
+ name: string;
3615
+ };
3616
+ workflows: {
3617
+ id: string;
3618
+ name: string;
3619
+ }[];
3620
+ }[];
3621
+ code: "incompatible-usage-scope";
3622
+ usageScope: string;
3623
+ }>, z.ZodObject<{
3624
+ kind: z.ZodLiteral<"variable">;
3625
+ code: z.ZodLiteral<"missing-definition">;
3626
+ name: z.ZodString;
3627
+ referenceFiles: z.ZodArray<z.ZodString, "many">;
3628
+ consumers: z.ZodArray<z.ZodObject<{
3629
+ project: z.ZodObject<{
3630
+ id: z.ZodString;
3631
+ name: z.ZodString;
3632
+ }, "strip", z.ZodTypeAny, {
3633
+ id: string;
3634
+ name: string;
3635
+ }, {
3636
+ id: string;
3637
+ name: string;
3638
+ }>;
3639
+ workflows: z.ZodArray<z.ZodObject<{
3640
+ id: z.ZodString;
3641
+ name: z.ZodString;
3642
+ }, "strip", z.ZodTypeAny, {
3643
+ id: string;
3644
+ name: string;
3645
+ }, {
3646
+ id: string;
3647
+ name: string;
3648
+ }>, "many">;
3649
+ }, "strip", z.ZodTypeAny, {
3650
+ project: {
3651
+ id: string;
3652
+ name: string;
3653
+ };
3654
+ workflows: {
3655
+ id: string;
3656
+ name: string;
3657
+ }[];
3658
+ }, {
3659
+ project: {
3660
+ id: string;
3661
+ name: string;
3662
+ };
3663
+ workflows: {
3664
+ id: string;
3665
+ name: string;
3666
+ }[];
3667
+ }>, "many">;
3668
+ }, "strip", z.ZodTypeAny, {
3669
+ kind: "variable";
3670
+ code: "missing-definition";
3671
+ name: string;
3672
+ referenceFiles: string[];
3673
+ consumers: {
3674
+ project: {
3675
+ id: string;
3676
+ name: string;
3677
+ };
3678
+ workflows: {
3679
+ id: string;
3680
+ name: string;
3681
+ }[];
3682
+ }[];
3683
+ }, {
3684
+ kind: "variable";
3685
+ code: "missing-definition";
3686
+ name: string;
3687
+ referenceFiles: string[];
3688
+ consumers: {
3689
+ project: {
3690
+ id: string;
3691
+ name: string;
3692
+ };
3693
+ workflows: {
3694
+ id: string;
3695
+ name: string;
3696
+ }[];
3697
+ }[];
3698
+ }>, z.ZodObject<{
3699
+ kind: z.ZodLiteral<"project">;
3700
+ code: z.ZodLiteral<"project-not-team">;
3701
+ project: z.ZodObject<{
3702
+ id: z.ZodString;
3703
+ name: z.ZodString;
3704
+ }, "strip", z.ZodTypeAny, {
3705
+ id: string;
3706
+ name: string;
3707
+ }, {
3708
+ id: string;
3709
+ name: string;
3710
+ }>;
3711
+ filePath: z.ZodString;
3712
+ workflows: z.ZodArray<z.ZodObject<{
3713
+ id: z.ZodString;
3714
+ name: z.ZodString;
3715
+ }, "strip", z.ZodTypeAny, {
3716
+ id: string;
3717
+ name: string;
3718
+ }, {
3719
+ id: string;
3720
+ name: string;
3721
+ }>, "many">;
3722
+ }, "strip", z.ZodTypeAny, {
3723
+ kind: "project";
3724
+ code: "project-not-team";
3725
+ project: {
3726
+ id: string;
3727
+ name: string;
3728
+ };
3729
+ filePath: string;
3730
+ workflows: {
3731
+ id: string;
3732
+ name: string;
3733
+ }[];
3734
+ }, {
3735
+ kind: "project";
3736
+ code: "project-not-team";
3737
+ project: {
3738
+ id: string;
3739
+ name: string;
3740
+ };
3741
+ filePath: string;
3742
+ workflows: {
3743
+ id: string;
3744
+ name: string;
3745
+ }[];
3746
+ }>]>, "many">;
3747
+ warnings: z.ZodArray<z.ZodObject<{
3748
+ kind: z.ZodLiteral<"variable">;
3749
+ code: z.ZodLiteral<"variable-shadowed">;
3750
+ name: z.ZodString;
3751
+ scope: z.ZodObject<{
3752
+ kind: z.ZodLiteral<"global">;
3753
+ }, "strip", z.ZodTypeAny, {
3754
+ kind: "global";
3755
+ }, {
3756
+ kind: "global";
3757
+ }>;
3758
+ consumers: z.ZodArray<z.ZodObject<{
3759
+ project: z.ZodObject<{
3760
+ id: z.ZodString;
3761
+ name: z.ZodString;
3762
+ }, "strip", z.ZodTypeAny, {
3763
+ id: string;
3764
+ name: string;
3765
+ }, {
3766
+ id: string;
3767
+ name: string;
3768
+ }>;
3769
+ workflows: z.ZodArray<z.ZodObject<{
3770
+ id: z.ZodString;
3771
+ name: z.ZodString;
3772
+ }, "strip", z.ZodTypeAny, {
3773
+ id: string;
3774
+ name: string;
3775
+ }, {
3776
+ id: string;
3777
+ name: string;
3778
+ }>, "many">;
3779
+ }, "strip", z.ZodTypeAny, {
3780
+ project: {
3781
+ id: string;
3782
+ name: string;
3783
+ };
3784
+ workflows: {
3785
+ id: string;
3786
+ name: string;
3787
+ }[];
3788
+ }, {
3789
+ project: {
3790
+ id: string;
3791
+ name: string;
3792
+ };
3793
+ workflows: {
3794
+ id: string;
3795
+ name: string;
3796
+ }[];
3797
+ }>, "many">;
3798
+ }, "strip", z.ZodTypeAny, {
3799
+ kind: "variable";
3800
+ code: "variable-shadowed";
3801
+ name: string;
3802
+ scope: {
3803
+ kind: "global";
3804
+ };
3805
+ consumers: {
3806
+ project: {
3807
+ id: string;
3808
+ name: string;
3809
+ };
3810
+ workflows: {
3811
+ id: string;
3812
+ name: string;
3813
+ }[];
3814
+ }[];
3815
+ }, {
3816
+ kind: "variable";
3817
+ code: "variable-shadowed";
3818
+ name: string;
3819
+ scope: {
3820
+ kind: "global";
3821
+ };
3822
+ consumers: {
3823
+ project: {
3824
+ id: string;
3825
+ name: string;
3826
+ };
3827
+ workflows: {
3828
+ id: string;
3829
+ name: string;
3830
+ }[];
3831
+ }[];
3832
+ }>, "many">;
3833
+ }>;
3834
+ export declare class PromotionBindingPreflightResultDto extends PromotionBindingPreflightResultDto_base {
3835
+ }
3836
+ export type PromotionBindingProject = z.infer<typeof promotionBindingProjectSchema>;
3837
+ export type PromotionBindingConsumer = z.infer<typeof promotionBindingConsumerSchema>;
3838
+ export type PromotionVariableScope = z.infer<typeof promotionVariableScopeSchema>;
3839
+ export type PromotionCredentialExpressionData = z.infer<typeof promotionCredentialExpressionDataSchema>;
3840
+ export type PromotionBindingConflict = z.infer<typeof promotionBindingConflictSchema>;
3841
+ export type PromotionBindingPreflightResult = z.infer<typeof promotionBindingPreflightResultSchema>;
3842
+ export {};