@apollo-deploy/schemas 0.4.4 → 0.4.5
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.
- package/dist/definitions/approvals/domain.schema.d.ts +5 -5
- package/dist/definitions/approvals/request.schema.d.ts +8 -8
- package/dist/definitions/approvals/response.schema.d.ts +6 -6
- package/dist/definitions/apps/request.schema.d.ts +2 -2
- package/dist/definitions/apps/response.schema.d.ts +6 -6
- package/dist/definitions/artifacts/domain.schema.d.ts +2 -2
- package/dist/definitions/artifacts/request.schema.d.ts +6 -6
- package/dist/definitions/artifacts/response.schema.d.ts +13 -13
- package/dist/definitions/audit-log/domain.schema.d.ts +11 -11
- package/dist/definitions/audit-log/request.schema.d.ts +17 -17
- package/dist/definitions/audit-log/response.schema.d.ts +6 -6
- package/dist/definitions/auth/index.d.ts +3 -2
- package/dist/definitions/auth/index.d.ts.map +1 -1
- package/dist/definitions/auth/index.js +4 -2
- package/dist/definitions/auth/index.js.map +1 -1
- package/dist/definitions/auth/request.schema.d.ts +361 -0
- package/dist/definitions/auth/request.schema.d.ts.map +1 -1
- package/dist/definitions/auth/request.schema.js +218 -0
- package/dist/definitions/auth/request.schema.js.map +1 -1
- package/dist/definitions/auth/response.schema.d.ts +136 -0
- package/dist/definitions/auth/response.schema.d.ts.map +1 -1
- package/dist/definitions/auth/response.schema.js +111 -0
- package/dist/definitions/auth/response.schema.js.map +1 -1
- package/dist/definitions/billing/domain.schema.d.ts +6 -6
- package/dist/definitions/billing/response.schema.d.ts +5 -5
- package/dist/definitions/index.d.ts +1 -1
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +2 -2
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/marketplace-request.schema.d.ts +3 -3
- package/dist/definitions/integrations/marketplace-response.schema.d.ts +18 -18
- package/dist/definitions/policies/request.schema.d.ts +4 -4
- package/dist/definitions/releases/domain.schema.d.ts +6 -6
- package/dist/definitions/releases/request.schema.d.ts +1 -1
- package/dist/definitions/releases/response.schema.d.ts +4 -4
- package/dist/definitions/service-accounts/domain.schema.d.ts +1 -1
- package/dist/definitions/service-accounts/response.schema.d.ts +1 -1
- package/dist/definitions/settings/domain.schema.d.ts +5 -5
- package/dist/definitions/settings/response.schema.d.ts +8 -8
- package/dist/definitions/webhooks/domain.schema.d.ts +4 -4
- package/dist/definitions/webhooks/request.schema.d.ts +1 -1
- package/dist/definitions/webhooks/response.schema.d.ts +5 -5
- package/dist/definitions/workflows/domain.schema.d.ts +3 -3
- package/dist/definitions/workflows/response.schema.d.ts +1 -1
- package/package.json +1 -1
|
@@ -34,9 +34,9 @@ export declare const CatalogListQuerySchema: z.ZodObject<{
|
|
|
34
34
|
monitoring: "monitoring";
|
|
35
35
|
}>>;
|
|
36
36
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
team: "team";
|
|
37
38
|
free: "free";
|
|
38
39
|
pro: "pro";
|
|
39
|
-
team: "team";
|
|
40
40
|
enterprise: "enterprise";
|
|
41
41
|
}>>;
|
|
42
42
|
isBeta: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<boolean, string | undefined>>;
|
|
@@ -50,8 +50,8 @@ export declare const InstallationListQueryV2Schema: z.ZodObject<{
|
|
|
50
50
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
51
51
|
status: z.ZodOptional<z.ZodEnum<{
|
|
52
52
|
error: "error";
|
|
53
|
-
installed: "installed";
|
|
54
53
|
disabled: "disabled";
|
|
54
|
+
installed: "installed";
|
|
55
55
|
}>>;
|
|
56
56
|
errorCode: z.ZodOptional<z.ZodString>;
|
|
57
57
|
updatedAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -118,9 +118,9 @@ export declare const UpdateCatalogEntryRequestSchema: z.ZodObject<{
|
|
|
118
118
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
119
119
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
120
120
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
team: "team";
|
|
121
122
|
free: "free";
|
|
122
123
|
pro: "pro";
|
|
123
|
-
team: "team";
|
|
124
124
|
enterprise: "enterprise";
|
|
125
125
|
}>>;
|
|
126
126
|
isBeta: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29,9 +29,9 @@ export declare const CatalogListResponseSchema: z.ZodObject<{
|
|
|
29
29
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
30
30
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
31
31
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
team: "team";
|
|
32
33
|
free: "free";
|
|
33
34
|
pro: "pro";
|
|
34
|
-
team: "team";
|
|
35
35
|
enterprise: "enterprise";
|
|
36
36
|
}>>;
|
|
37
37
|
isBeta: z.ZodBoolean;
|
|
@@ -47,8 +47,8 @@ export declare const CatalogListResponseSchema: z.ZodObject<{
|
|
|
47
47
|
}, z.core.$strip>>;
|
|
48
48
|
}, z.core.$strip>;
|
|
49
49
|
providerType: z.ZodEnum<{
|
|
50
|
-
store: "store";
|
|
51
50
|
integration: "integration";
|
|
51
|
+
store: "store";
|
|
52
52
|
}>;
|
|
53
53
|
}, z.core.$strip>>;
|
|
54
54
|
pagination: z.ZodObject<{
|
|
@@ -74,9 +74,9 @@ export declare const EnrichedCatalogListResponseSchema: z.ZodObject<{
|
|
|
74
74
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
75
75
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
76
76
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
team: "team";
|
|
77
78
|
free: "free";
|
|
78
79
|
pro: "pro";
|
|
79
|
-
team: "team";
|
|
80
80
|
enterprise: "enterprise";
|
|
81
81
|
}>>;
|
|
82
82
|
isBeta: z.ZodBoolean;
|
|
@@ -92,14 +92,14 @@ export declare const EnrichedCatalogListResponseSchema: z.ZodObject<{
|
|
|
92
92
|
}, z.core.$strip>>;
|
|
93
93
|
}, z.core.$strip>;
|
|
94
94
|
providerType: z.ZodEnum<{
|
|
95
|
-
store: "store";
|
|
96
95
|
integration: "integration";
|
|
96
|
+
store: "store";
|
|
97
97
|
}>;
|
|
98
98
|
installed: z.ZodBoolean;
|
|
99
99
|
status: z.ZodOptional<z.ZodEnum<{
|
|
100
100
|
error: "error";
|
|
101
|
-
installed: "installed";
|
|
102
101
|
disabled: "disabled";
|
|
102
|
+
installed: "installed";
|
|
103
103
|
}>>;
|
|
104
104
|
locked: z.ZodBoolean;
|
|
105
105
|
lockReason: z.ZodOptional<z.ZodString>;
|
|
@@ -126,9 +126,9 @@ export declare const CatalogEntryResponseSchema: z.ZodObject<{
|
|
|
126
126
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
127
127
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
128
128
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
team: "team";
|
|
129
130
|
free: "free";
|
|
130
131
|
pro: "pro";
|
|
131
|
-
team: "team";
|
|
132
132
|
enterprise: "enterprise";
|
|
133
133
|
}>>;
|
|
134
134
|
isBeta: z.ZodBoolean;
|
|
@@ -144,8 +144,8 @@ export declare const CatalogEntryResponseSchema: z.ZodObject<{
|
|
|
144
144
|
}, z.core.$strip>>;
|
|
145
145
|
}, z.core.$strip>;
|
|
146
146
|
providerType: z.ZodEnum<{
|
|
147
|
-
store: "store";
|
|
148
147
|
integration: "integration";
|
|
148
|
+
store: "store";
|
|
149
149
|
}>;
|
|
150
150
|
}, z.core.$strip>;
|
|
151
151
|
/**
|
|
@@ -163,9 +163,9 @@ export declare const EnrichedIntegrationResponseSchema: z.ZodObject<{
|
|
|
163
163
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
164
164
|
docsUrl: z.ZodOptional<z.ZodString>;
|
|
165
165
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
166
|
+
team: "team";
|
|
166
167
|
free: "free";
|
|
167
168
|
pro: "pro";
|
|
168
|
-
team: "team";
|
|
169
169
|
enterprise: "enterprise";
|
|
170
170
|
}>>;
|
|
171
171
|
isBeta: z.ZodBoolean;
|
|
@@ -181,14 +181,14 @@ export declare const EnrichedIntegrationResponseSchema: z.ZodObject<{
|
|
|
181
181
|
}, z.core.$strip>>;
|
|
182
182
|
}, z.core.$strip>;
|
|
183
183
|
providerType: z.ZodEnum<{
|
|
184
|
-
store: "store";
|
|
185
184
|
integration: "integration";
|
|
185
|
+
store: "store";
|
|
186
186
|
}>;
|
|
187
187
|
installed: z.ZodBoolean;
|
|
188
188
|
status: z.ZodOptional<z.ZodEnum<{
|
|
189
189
|
error: "error";
|
|
190
|
-
installed: "installed";
|
|
191
190
|
disabled: "disabled";
|
|
191
|
+
installed: "installed";
|
|
192
192
|
}>>;
|
|
193
193
|
locked: z.ZodBoolean;
|
|
194
194
|
lockReason: z.ZodOptional<z.ZodString>;
|
|
@@ -203,8 +203,8 @@ export declare const InstallationListResponseV2Schema: z.ZodObject<{
|
|
|
203
203
|
integrationKey: z.ZodString;
|
|
204
204
|
status: z.ZodEnum<{
|
|
205
205
|
error: "error";
|
|
206
|
-
installed: "installed";
|
|
207
206
|
disabled: "disabled";
|
|
207
|
+
installed: "installed";
|
|
208
208
|
}>;
|
|
209
209
|
installedAt: z.ZodString;
|
|
210
210
|
updatedAt: z.ZodString;
|
|
@@ -232,8 +232,8 @@ export declare const InstallResultResponseSchema: z.ZodObject<{
|
|
|
232
232
|
integrationKey: z.ZodString;
|
|
233
233
|
status: z.ZodEnum<{
|
|
234
234
|
error: "error";
|
|
235
|
-
installed: "installed";
|
|
236
235
|
disabled: "disabled";
|
|
236
|
+
installed: "installed";
|
|
237
237
|
}>;
|
|
238
238
|
installedAt: z.ZodString;
|
|
239
239
|
updatedAt: z.ZodString;
|
|
@@ -252,17 +252,17 @@ export declare const InstallResultResponseSchema: z.ZodObject<{
|
|
|
252
252
|
export declare const EffectiveEntitlementsResponseSchema: z.ZodObject<{
|
|
253
253
|
orgId: z.ZodString;
|
|
254
254
|
plan: z.ZodEnum<{
|
|
255
|
+
team: "team";
|
|
255
256
|
free: "free";
|
|
256
257
|
pro: "pro";
|
|
257
|
-
team: "team";
|
|
258
258
|
enterprise: "enterprise";
|
|
259
259
|
}>;
|
|
260
260
|
integrations: z.ZodArray<z.ZodObject<{
|
|
261
261
|
key: z.ZodString;
|
|
262
262
|
requiredPlan: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
team: "team";
|
|
263
264
|
free: "free";
|
|
264
265
|
pro: "pro";
|
|
265
|
-
team: "team";
|
|
266
266
|
enterprise: "enterprise";
|
|
267
267
|
}>>;
|
|
268
268
|
allowed: z.ZodBoolean;
|
|
@@ -308,8 +308,8 @@ export declare const RevalidationResultSchema: z.ZodObject<{
|
|
|
308
308
|
integrationKey: z.ZodString;
|
|
309
309
|
status: z.ZodEnum<{
|
|
310
310
|
error: "error";
|
|
311
|
-
installed: "installed";
|
|
312
311
|
disabled: "disabled";
|
|
312
|
+
installed: "installed";
|
|
313
313
|
}>;
|
|
314
314
|
installedAt: z.ZodString;
|
|
315
315
|
updatedAt: z.ZodString;
|
|
@@ -332,10 +332,10 @@ export declare const RevalidationResultSchema: z.ZodObject<{
|
|
|
332
332
|
export declare const TriggerSyncResultSchema: z.ZodObject<{
|
|
333
333
|
jobId: z.ZodString;
|
|
334
334
|
status: z.ZodEnum<{
|
|
335
|
+
failed: "failed";
|
|
335
336
|
queued: "queued";
|
|
336
337
|
running: "running";
|
|
337
338
|
completed: "completed";
|
|
338
|
-
failed: "failed";
|
|
339
339
|
}>;
|
|
340
340
|
triggeredAt: z.ZodString;
|
|
341
341
|
}, z.core.$strip>;
|
|
@@ -353,8 +353,8 @@ export declare const AuditEntryResponseSchema: z.ZodObject<{
|
|
|
353
353
|
id: z.ZodString;
|
|
354
354
|
timestamp: z.ZodString;
|
|
355
355
|
actorType: z.ZodEnum<{
|
|
356
|
-
user: "user";
|
|
357
356
|
admin: "admin";
|
|
357
|
+
user: "user";
|
|
358
358
|
system: "system";
|
|
359
359
|
}>;
|
|
360
360
|
actorId: z.ZodString;
|
|
@@ -376,8 +376,8 @@ export declare const AuditSearchResponseSchema: z.ZodObject<{
|
|
|
376
376
|
id: z.ZodString;
|
|
377
377
|
timestamp: z.ZodString;
|
|
378
378
|
actorType: z.ZodEnum<{
|
|
379
|
-
user: "user";
|
|
380
379
|
admin: "admin";
|
|
380
|
+
user: "user";
|
|
381
381
|
system: "system";
|
|
382
382
|
}>;
|
|
383
383
|
actorId: z.ZodString;
|
|
@@ -24,9 +24,9 @@ export declare const CreateRuleRequestSchema: z.ZodObject<{
|
|
|
24
24
|
critical: "critical";
|
|
25
25
|
}>;
|
|
26
26
|
outcome: z.ZodEnum<{
|
|
27
|
+
fail: "fail";
|
|
27
28
|
pass: "pass";
|
|
28
29
|
warn: "warn";
|
|
29
|
-
fail: "fail";
|
|
30
30
|
}>;
|
|
31
31
|
storeImpact: z.ZodEnum<{
|
|
32
32
|
allowed: "allowed";
|
|
@@ -72,9 +72,9 @@ export declare const UpdateRuleRequestSchema: z.ZodObject<{
|
|
|
72
72
|
critical: "critical";
|
|
73
73
|
}>>;
|
|
74
74
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
fail: "fail";
|
|
75
76
|
pass: "pass";
|
|
76
77
|
warn: "warn";
|
|
77
|
-
fail: "fail";
|
|
78
78
|
}>>;
|
|
79
79
|
storeImpact: z.ZodOptional<z.ZodEnum<{
|
|
80
80
|
allowed: "allowed";
|
|
@@ -172,9 +172,9 @@ export declare const SerializedRuleSchema: z.ZodObject<{
|
|
|
172
172
|
critical: "critical";
|
|
173
173
|
}>;
|
|
174
174
|
outcome: z.ZodEnum<{
|
|
175
|
+
fail: "fail";
|
|
175
176
|
pass: "pass";
|
|
176
177
|
warn: "warn";
|
|
177
|
-
fail: "fail";
|
|
178
178
|
}>;
|
|
179
179
|
storeImpact: z.ZodEnum<{
|
|
180
180
|
allowed: "allowed";
|
|
@@ -215,9 +215,9 @@ export declare const RuleImportRequestSchema: z.ZodObject<{
|
|
|
215
215
|
critical: "critical";
|
|
216
216
|
}>;
|
|
217
217
|
outcome: z.ZodEnum<{
|
|
218
|
+
fail: "fail";
|
|
218
219
|
pass: "pass";
|
|
219
220
|
warn: "warn";
|
|
220
|
-
fail: "fail";
|
|
221
221
|
}>;
|
|
222
222
|
storeImpact: z.ZodEnum<{
|
|
223
223
|
allowed: "allowed";
|
|
@@ -17,10 +17,10 @@ export declare const ReleasePlatformSchema: z.ZodEnum<{
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const ReleaseStatusSchema: z.ZodEnum<{
|
|
19
19
|
draft: "draft";
|
|
20
|
+
failed: "failed";
|
|
20
21
|
internal: "internal";
|
|
21
22
|
beta: "beta";
|
|
22
23
|
production: "production";
|
|
23
|
-
failed: "failed";
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
26
|
* Release pipeline gate type schema
|
|
@@ -451,10 +451,10 @@ export declare const ReleaseVariantSchema: z.ZodObject<{
|
|
|
451
451
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
452
452
|
status: z.ZodEnum<{
|
|
453
453
|
draft: "draft";
|
|
454
|
+
failed: "failed";
|
|
454
455
|
internal: "internal";
|
|
455
456
|
beta: "beta";
|
|
456
457
|
production: "production";
|
|
457
|
-
failed: "failed";
|
|
458
458
|
}>;
|
|
459
459
|
rolloutPercentage: z.ZodNullable<z.ZodNumber>;
|
|
460
460
|
rolloutStartAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -473,10 +473,10 @@ export declare const ReleaseSchema: z.ZodObject<{
|
|
|
473
473
|
versionName: z.ZodString;
|
|
474
474
|
status: z.ZodEnum<{
|
|
475
475
|
draft: "draft";
|
|
476
|
+
failed: "failed";
|
|
476
477
|
internal: "internal";
|
|
477
478
|
beta: "beta";
|
|
478
479
|
production: "production";
|
|
479
|
-
failed: "failed";
|
|
480
480
|
}>;
|
|
481
481
|
notes: z.ZodNullable<z.ZodString>;
|
|
482
482
|
scheduledAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -498,10 +498,10 @@ export declare const ReleaseSchema: z.ZodObject<{
|
|
|
498
498
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
499
499
|
status: z.ZodEnum<{
|
|
500
500
|
draft: "draft";
|
|
501
|
+
failed: "failed";
|
|
501
502
|
internal: "internal";
|
|
502
503
|
beta: "beta";
|
|
503
504
|
production: "production";
|
|
504
|
-
failed: "failed";
|
|
505
505
|
}>;
|
|
506
506
|
rolloutPercentage: z.ZodNullable<z.ZodNumber>;
|
|
507
507
|
rolloutStartAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -518,10 +518,10 @@ export declare const ReleaseEventSchema: z.ZodObject<{
|
|
|
518
518
|
id: z.ZodString;
|
|
519
519
|
releaseId: z.ZodString;
|
|
520
520
|
type: z.ZodEnum<{
|
|
521
|
-
failed: "failed";
|
|
522
521
|
created: "created";
|
|
523
|
-
updated: "updated";
|
|
524
522
|
scheduled: "scheduled";
|
|
523
|
+
failed: "failed";
|
|
524
|
+
updated: "updated";
|
|
525
525
|
submitted: "submitted";
|
|
526
526
|
published: "published";
|
|
527
527
|
rolled_back: "rolled_back";
|
|
@@ -48,10 +48,10 @@ export declare const ReleaseListQuerySchema: z.ZodObject<{
|
|
|
48
48
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
49
49
|
status: z.ZodOptional<z.ZodEnum<{
|
|
50
50
|
draft: "draft";
|
|
51
|
+
failed: "failed";
|
|
51
52
|
internal: "internal";
|
|
52
53
|
beta: "beta";
|
|
53
54
|
production: "production";
|
|
54
|
-
failed: "failed";
|
|
55
55
|
}>>;
|
|
56
56
|
sortBy: z.ZodOptional<z.ZodString>;
|
|
57
57
|
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
@@ -17,10 +17,10 @@ export declare const ReleaseResponseSchema: z.ZodObject<{
|
|
|
17
17
|
versionName: z.ZodString;
|
|
18
18
|
status: z.ZodEnum<{
|
|
19
19
|
draft: "draft";
|
|
20
|
+
failed: "failed";
|
|
20
21
|
internal: "internal";
|
|
21
22
|
beta: "beta";
|
|
22
23
|
production: "production";
|
|
23
|
-
failed: "failed";
|
|
24
24
|
}>;
|
|
25
25
|
notes: z.ZodNullable<z.ZodString>;
|
|
26
26
|
scheduledAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -42,10 +42,10 @@ export declare const ReleaseResponseSchema: z.ZodObject<{
|
|
|
42
42
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
43
43
|
status: z.ZodEnum<{
|
|
44
44
|
draft: "draft";
|
|
45
|
+
failed: "failed";
|
|
45
46
|
internal: "internal";
|
|
46
47
|
beta: "beta";
|
|
47
48
|
production: "production";
|
|
48
|
-
failed: "failed";
|
|
49
49
|
}>;
|
|
50
50
|
rolloutPercentage: z.ZodNullable<z.ZodNumber>;
|
|
51
51
|
rolloutStartAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -68,10 +68,10 @@ export declare const ReleaseListEnvelopeSchema: z.ZodObject<{
|
|
|
68
68
|
versionName: z.ZodString;
|
|
69
69
|
status: z.ZodEnum<{
|
|
70
70
|
draft: "draft";
|
|
71
|
+
failed: "failed";
|
|
71
72
|
internal: "internal";
|
|
72
73
|
beta: "beta";
|
|
73
74
|
production: "production";
|
|
74
|
-
failed: "failed";
|
|
75
75
|
}>;
|
|
76
76
|
notes: z.ZodNullable<z.ZodString>;
|
|
77
77
|
scheduledAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -93,10 +93,10 @@ export declare const ReleaseListEnvelopeSchema: z.ZodObject<{
|
|
|
93
93
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
94
94
|
status: z.ZodEnum<{
|
|
95
95
|
draft: "draft";
|
|
96
|
+
failed: "failed";
|
|
96
97
|
internal: "internal";
|
|
97
98
|
beta: "beta";
|
|
98
99
|
production: "production";
|
|
99
|
-
failed: "failed";
|
|
100
100
|
}>;
|
|
101
101
|
rolloutPercentage: z.ZodNullable<z.ZodNumber>;
|
|
102
102
|
rolloutStartAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -91,13 +91,13 @@ export declare const ServiceAccountResponseSchema: z.ZodObject<{
|
|
|
91
91
|
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodString]>;
|
|
92
92
|
name: z.ZodString;
|
|
93
93
|
createdBy: z.ZodString;
|
|
94
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
94
95
|
status: z.ZodEnum<{
|
|
95
96
|
active: "active";
|
|
96
97
|
inactive: "inactive";
|
|
97
98
|
deleted: "deleted";
|
|
98
99
|
suspended: "suspended";
|
|
99
100
|
}>;
|
|
100
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
101
101
|
description: z.ZodNullable<z.ZodString>;
|
|
102
102
|
organizationId: z.ZodString;
|
|
103
103
|
lastActivityAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -36,13 +36,13 @@ export declare const ServiceAccountListResponseSchema: z.ZodObject<{
|
|
|
36
36
|
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodString]>;
|
|
37
37
|
name: z.ZodString;
|
|
38
38
|
createdBy: z.ZodString;
|
|
39
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
39
40
|
status: z.ZodEnum<{
|
|
40
41
|
active: "active";
|
|
41
42
|
inactive: "inactive";
|
|
42
43
|
deleted: "deleted";
|
|
43
44
|
suspended: "suspended";
|
|
44
45
|
}>;
|
|
45
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
46
46
|
description: z.ZodNullable<z.ZodString>;
|
|
47
47
|
organizationId: z.ZodString;
|
|
48
48
|
lastActivityAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>>;
|
|
@@ -3,8 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
* Settings Domain Schemas
|
|
4
4
|
*/
|
|
5
5
|
export declare const SettingScopeSchema: z.ZodEnum<{
|
|
6
|
-
org: "org";
|
|
7
6
|
user: "user";
|
|
7
|
+
org: "org";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const SettingTypeSchema: z.ZodEnum<{
|
|
10
10
|
string: "string";
|
|
@@ -14,20 +14,20 @@ export declare const SettingTypeSchema: z.ZodEnum<{
|
|
|
14
14
|
json: "json";
|
|
15
15
|
}>;
|
|
16
16
|
export declare const SettingSourceSchema: z.ZodEnum<{
|
|
17
|
-
org: "org";
|
|
18
17
|
user: "user";
|
|
18
|
+
org: "org";
|
|
19
19
|
system_default: "system_default";
|
|
20
20
|
}>;
|
|
21
21
|
export declare const SettingValueSchema: z.ZodObject<{
|
|
22
22
|
key: z.ZodString;
|
|
23
23
|
value: z.ZodUnknown;
|
|
24
24
|
scope: z.ZodEnum<{
|
|
25
|
-
org: "org";
|
|
26
25
|
user: "user";
|
|
26
|
+
org: "org";
|
|
27
27
|
}>;
|
|
28
28
|
source: z.ZodEnum<{
|
|
29
|
-
org: "org";
|
|
30
29
|
user: "user";
|
|
30
|
+
org: "org";
|
|
31
31
|
system_default: "system_default";
|
|
32
32
|
}>;
|
|
33
33
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -36,8 +36,8 @@ export declare const SettingValueSchema: z.ZodObject<{
|
|
|
36
36
|
export declare const SettingDefinitionSchema: z.ZodObject<{
|
|
37
37
|
key: z.ZodString;
|
|
38
38
|
scope: z.ZodEnum<{
|
|
39
|
-
org: "org";
|
|
40
39
|
user: "user";
|
|
40
|
+
org: "org";
|
|
41
41
|
}>;
|
|
42
42
|
type: z.ZodEnum<{
|
|
43
43
|
string: "string";
|
|
@@ -6,12 +6,12 @@ export declare const SettingResponseSchema: z.ZodObject<{
|
|
|
6
6
|
key: z.ZodString;
|
|
7
7
|
value: z.ZodUnknown;
|
|
8
8
|
scope: z.ZodEnum<{
|
|
9
|
-
org: "org";
|
|
10
9
|
user: "user";
|
|
10
|
+
org: "org";
|
|
11
11
|
}>;
|
|
12
12
|
source: z.ZodEnum<{
|
|
13
|
-
org: "org";
|
|
14
13
|
user: "user";
|
|
14
|
+
org: "org";
|
|
15
15
|
system_default: "system_default";
|
|
16
16
|
}>;
|
|
17
17
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -22,12 +22,12 @@ export declare const SettingsListResponseSchema: z.ZodObject<{
|
|
|
22
22
|
key: z.ZodString;
|
|
23
23
|
value: z.ZodUnknown;
|
|
24
24
|
scope: z.ZodEnum<{
|
|
25
|
-
org: "org";
|
|
26
25
|
user: "user";
|
|
26
|
+
org: "org";
|
|
27
27
|
}>;
|
|
28
28
|
source: z.ZodEnum<{
|
|
29
|
-
org: "org";
|
|
30
29
|
user: "user";
|
|
30
|
+
org: "org";
|
|
31
31
|
system_default: "system_default";
|
|
32
32
|
}>;
|
|
33
33
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -43,12 +43,12 @@ export declare const CombinedSettingsResponseSchema: z.ZodObject<{
|
|
|
43
43
|
key: z.ZodString;
|
|
44
44
|
value: z.ZodUnknown;
|
|
45
45
|
scope: z.ZodEnum<{
|
|
46
|
-
org: "org";
|
|
47
46
|
user: "user";
|
|
47
|
+
org: "org";
|
|
48
48
|
}>;
|
|
49
49
|
source: z.ZodEnum<{
|
|
50
|
-
org: "org";
|
|
51
50
|
user: "user";
|
|
51
|
+
org: "org";
|
|
52
52
|
system_default: "system_default";
|
|
53
53
|
}>;
|
|
54
54
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -58,12 +58,12 @@ export declare const CombinedSettingsResponseSchema: z.ZodObject<{
|
|
|
58
58
|
key: z.ZodString;
|
|
59
59
|
value: z.ZodUnknown;
|
|
60
60
|
scope: z.ZodEnum<{
|
|
61
|
-
org: "org";
|
|
62
61
|
user: "user";
|
|
62
|
+
org: "org";
|
|
63
63
|
}>;
|
|
64
64
|
source: z.ZodEnum<{
|
|
65
|
-
org: "org";
|
|
66
65
|
user: "user";
|
|
66
|
+
org: "org";
|
|
67
67
|
system_default: "system_default";
|
|
68
68
|
}>;
|
|
69
69
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -16,8 +16,8 @@ export declare const WebhookSubscriptionStatusSchema: z.ZodEnum<{
|
|
|
16
16
|
}>;
|
|
17
17
|
export type WebhookSubscriptionStatus = z.infer<typeof WebhookSubscriptionStatusSchema>;
|
|
18
18
|
export declare const WebhookDeliveryStatusSchema: z.ZodEnum<{
|
|
19
|
-
failed: "failed";
|
|
20
19
|
pending: "pending";
|
|
20
|
+
failed: "failed";
|
|
21
21
|
delivered: "delivered";
|
|
22
22
|
retried: "retried";
|
|
23
23
|
}>;
|
|
@@ -58,8 +58,8 @@ export type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
|
|
|
58
58
|
export declare const WebhookDeliverySummarySchema: z.ZodObject<{
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
status: z.ZodEnum<{
|
|
61
|
-
failed: "failed";
|
|
62
61
|
pending: "pending";
|
|
62
|
+
failed: "failed";
|
|
63
63
|
delivered: "delivered";
|
|
64
64
|
retried: "retried";
|
|
65
65
|
}>;
|
|
@@ -90,8 +90,8 @@ export declare const WebhookSubscriptionSchema: z.ZodObject<{
|
|
|
90
90
|
lastDelivery: z.ZodNullable<z.ZodObject<{
|
|
91
91
|
id: z.ZodString;
|
|
92
92
|
status: z.ZodEnum<{
|
|
93
|
-
failed: "failed";
|
|
94
93
|
pending: "pending";
|
|
94
|
+
failed: "failed";
|
|
95
95
|
delivered: "delivered";
|
|
96
96
|
retried: "retried";
|
|
97
97
|
}>;
|
|
@@ -116,8 +116,8 @@ export declare const WebhookDeliverySchema: z.ZodObject<{
|
|
|
116
116
|
responseBody: z.ZodNullable<z.ZodString>;
|
|
117
117
|
attemptNumber: z.ZodNumber;
|
|
118
118
|
status: z.ZodEnum<{
|
|
119
|
-
failed: "failed";
|
|
120
119
|
pending: "pending";
|
|
120
|
+
failed: "failed";
|
|
121
121
|
delivered: "delivered";
|
|
122
122
|
retried: "retried";
|
|
123
123
|
}>;
|
|
@@ -70,8 +70,8 @@ export declare const WebhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
70
70
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
71
71
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
72
72
|
status: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
failed: "failed";
|
|
74
73
|
pending: "pending";
|
|
74
|
+
failed: "failed";
|
|
75
75
|
delivered: "delivered";
|
|
76
76
|
retried: "retried";
|
|
77
77
|
}>>;
|
|
@@ -91,8 +91,8 @@ export declare const WebhookSubscriptionResponseSchema: z.ZodObject<{
|
|
|
91
91
|
lastDelivery: z.ZodNullable<z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
93
93
|
status: z.ZodEnum<{
|
|
94
|
-
failed: "failed";
|
|
95
94
|
pending: "pending";
|
|
95
|
+
failed: "failed";
|
|
96
96
|
delivered: "delivered";
|
|
97
97
|
retried: "retried";
|
|
98
98
|
}>;
|
|
@@ -126,8 +126,8 @@ export declare const WebhookSubscriptionListResponseSchema: z.ZodObject<{
|
|
|
126
126
|
lastDelivery: z.ZodNullable<z.ZodObject<{
|
|
127
127
|
id: z.ZodString;
|
|
128
128
|
status: z.ZodEnum<{
|
|
129
|
-
failed: "failed";
|
|
130
129
|
pending: "pending";
|
|
130
|
+
failed: "failed";
|
|
131
131
|
delivered: "delivered";
|
|
132
132
|
retried: "retried";
|
|
133
133
|
}>;
|
|
@@ -158,8 +158,8 @@ export declare const WebhookDeliveryResponseSchema: z.ZodObject<{
|
|
|
158
158
|
responseBody: z.ZodNullable<z.ZodString>;
|
|
159
159
|
attemptNumber: z.ZodNumber;
|
|
160
160
|
status: z.ZodEnum<{
|
|
161
|
-
failed: "failed";
|
|
162
161
|
pending: "pending";
|
|
162
|
+
failed: "failed";
|
|
163
163
|
delivered: "delivered";
|
|
164
164
|
retried: "retried";
|
|
165
165
|
}>;
|
|
@@ -180,8 +180,8 @@ export declare const WebhookDeliveryListResponseSchema: z.ZodObject<{
|
|
|
180
180
|
responseBody: z.ZodNullable<z.ZodString>;
|
|
181
181
|
attemptNumber: z.ZodNumber;
|
|
182
182
|
status: z.ZodEnum<{
|
|
183
|
-
failed: "failed";
|
|
184
183
|
pending: "pending";
|
|
184
|
+
failed: "failed";
|
|
185
185
|
delivered: "delivered";
|
|
186
186
|
retried: "retried";
|
|
187
187
|
}>;
|
|
@@ -236,8 +236,8 @@ export declare const ReplayWebhookResponseSchema: z.ZodObject<{
|
|
|
236
236
|
responseBody: z.ZodNullable<z.ZodString>;
|
|
237
237
|
attemptNumber: z.ZodNumber;
|
|
238
238
|
status: z.ZodEnum<{
|
|
239
|
-
failed: "failed";
|
|
240
239
|
pending: "pending";
|
|
240
|
+
failed: "failed";
|
|
241
241
|
delivered: "delivered";
|
|
242
242
|
retried: "retried";
|
|
243
243
|
}>;
|
|
@@ -35,8 +35,8 @@ export type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
|
|
|
35
35
|
* Execution log status
|
|
36
36
|
*/
|
|
37
37
|
export declare const ExecutionLogStatusSchema: z.ZodEnum<{
|
|
38
|
-
failed: "failed";
|
|
39
38
|
pending: "pending";
|
|
39
|
+
failed: "failed";
|
|
40
40
|
running: "running";
|
|
41
41
|
completed: "completed";
|
|
42
42
|
skipped: "skipped";
|
|
@@ -116,8 +116,8 @@ export declare const WorkflowExecutionLogSchema: z.ZodObject<{
|
|
|
116
116
|
executionId: z.ZodString;
|
|
117
117
|
nodeId: z.ZodString;
|
|
118
118
|
status: z.ZodEnum<{
|
|
119
|
-
failed: "failed";
|
|
120
119
|
pending: "pending";
|
|
120
|
+
failed: "failed";
|
|
121
121
|
running: "running";
|
|
122
122
|
completed: "completed";
|
|
123
123
|
skipped: "skipped";
|
|
@@ -208,8 +208,8 @@ export declare const ExecutionWithLogsSchema: z.ZodObject<{
|
|
|
208
208
|
executionId: z.ZodString;
|
|
209
209
|
nodeId: z.ZodString;
|
|
210
210
|
status: z.ZodEnum<{
|
|
211
|
-
failed: "failed";
|
|
212
211
|
pending: "pending";
|
|
212
|
+
failed: "failed";
|
|
213
213
|
running: "running";
|
|
214
214
|
completed: "completed";
|
|
215
215
|
skipped: "skipped";
|
|
@@ -199,8 +199,8 @@ export declare const ExecutionWithLogsResponseSchema: z.ZodObject<{
|
|
|
199
199
|
executionId: z.ZodString;
|
|
200
200
|
nodeId: z.ZodString;
|
|
201
201
|
status: z.ZodEnum<{
|
|
202
|
-
failed: "failed";
|
|
203
202
|
pending: "pending";
|
|
203
|
+
failed: "failed";
|
|
204
204
|
running: "running";
|
|
205
205
|
completed: "completed";
|
|
206
206
|
skipped: "skipped";
|