@apollo-deploy/schemas 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/artifacts/domain.schema.d.ts +2 -2
- package/dist/definitions/artifacts/request.schema.d.ts +4 -4
- package/dist/definitions/artifacts/response.schema.d.ts +9 -9
- package/dist/definitions/audit-log/domain.schema.d.ts +13 -13
- package/dist/definitions/audit-log/request.schema.d.ts +23 -23
- package/dist/definitions/audit-log/response.schema.d.ts +6 -6
- package/dist/definitions/auth/domain.schema.d.ts +2 -2
- package/dist/definitions/billing/domain.schema.d.ts +5 -5
- package/dist/definitions/billing/request.schema.d.ts +3 -3
- package/dist/definitions/billing/response.schema.d.ts +4 -4
- package/dist/definitions/index.d.ts +10 -3
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +20 -5
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/api.schema.d.ts +72 -72
- package/dist/definitions/integrations/api.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/api.schema.js +37 -37
- package/dist/definitions/integrations/api.schema.js.map +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +88 -111
- package/dist/definitions/integrations/domain.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/domain.schema.js +55 -78
- package/dist/definitions/integrations/domain.schema.js.map +1 -1
- package/dist/definitions/integrations/index.d.ts +5 -8
- package/dist/definitions/integrations/index.d.ts.map +1 -1
- package/dist/definitions/integrations/index.js +5 -31
- package/dist/definitions/integrations/index.js.map +1 -1
- package/dist/definitions/integrations/integrations-request.schema.d.ts +86 -0
- package/dist/definitions/integrations/integrations-request.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/integrations-request.schema.js +82 -0
- package/dist/definitions/integrations/integrations-request.schema.js.map +1 -0
- package/dist/definitions/integrations/integrations-response.schema.d.ts +212 -0
- package/dist/definitions/integrations/integrations-response.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/integrations-response.schema.js +139 -0
- package/dist/definitions/integrations/integrations-response.schema.js.map +1 -0
- package/dist/definitions/integrations/integrations.schema.d.ts +99 -0
- package/dist/definitions/integrations/integrations.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/integrations.schema.js +62 -0
- package/dist/definitions/integrations/integrations.schema.js.map +1 -0
- package/dist/definitions/integrations/marketplace-request.schema.d.ts +2 -2
- package/dist/definitions/integrations/marketplace-response.schema.d.ts +6 -6
- package/dist/definitions/integrations/marketplace.schema.d.ts +8 -8
- package/dist/definitions/integrations/request.schema.d.ts +74 -129
- package/dist/definitions/integrations/request.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/request.schema.js +71 -125
- package/dist/definitions/integrations/request.schema.js.map +1 -1
- package/dist/definitions/integrations/response.schema.d.ts +191 -121
- package/dist/definitions/integrations/response.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/response.schema.js +132 -48
- package/dist/definitions/integrations/response.schema.js.map +1 -1
- package/dist/definitions/marketplace/domain.schema.d.ts +285 -0
- package/dist/definitions/marketplace/domain.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/domain.schema.js +123 -0
- package/dist/definitions/marketplace/domain.schema.js.map +1 -0
- package/dist/definitions/marketplace/index.d.ts +9 -0
- package/dist/definitions/marketplace/index.d.ts.map +1 -0
- package/dist/definitions/marketplace/index.js +9 -0
- package/dist/definitions/marketplace/index.js.map +1 -0
- package/dist/definitions/marketplace/marketplace-request.schema.d.ts +107 -0
- package/dist/definitions/marketplace/marketplace-request.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/marketplace-request.schema.js +86 -0
- package/dist/definitions/marketplace/marketplace-request.schema.js.map +1 -0
- package/dist/definitions/marketplace/marketplace-response.schema.d.ts +378 -0
- package/dist/definitions/marketplace/marketplace-response.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/marketplace-response.schema.js +81 -0
- package/dist/definitions/marketplace/marketplace-response.schema.js.map +1 -0
- package/dist/definitions/marketplace/marketplace.schema.d.ts +285 -0
- package/dist/definitions/marketplace/marketplace.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/marketplace.schema.js +123 -0
- package/dist/definitions/marketplace/marketplace.schema.js.map +1 -0
- package/dist/definitions/marketplace/request.schema.d.ts +107 -0
- package/dist/definitions/marketplace/request.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/request.schema.js +86 -0
- package/dist/definitions/marketplace/request.schema.js.map +1 -0
- package/dist/definitions/marketplace/response.schema.d.ts +378 -0
- package/dist/definitions/marketplace/response.schema.d.ts.map +1 -0
- package/dist/definitions/marketplace/response.schema.js +81 -0
- package/dist/definitions/marketplace/response.schema.js.map +1 -0
- package/dist/definitions/orgs/domain.schema.d.ts +2 -2
- package/dist/definitions/service-accounts/domain.schema.d.ts +2 -2
- package/dist/definitions/service-accounts/response.schema.d.ts +2 -2
- package/dist/definitions/share-links/request.schema.d.ts +1 -1
- package/dist/definitions/teams/request.schema.d.ts +1 -1
- package/package.json +5 -1
|
@@ -35,9 +35,9 @@ export type ArtifactType = z.infer<typeof ArtifactTypeSchema>;
|
|
|
35
35
|
* Artifact platform
|
|
36
36
|
*/
|
|
37
37
|
export declare const ArtifactPlatformSchema: z.ZodEnum<{
|
|
38
|
-
web: "web";
|
|
39
38
|
android: "android";
|
|
40
39
|
ios: "ios";
|
|
40
|
+
web: "web";
|
|
41
41
|
desktop: "desktop";
|
|
42
42
|
}>;
|
|
43
43
|
export type ArtifactPlatform = z.infer<typeof ArtifactPlatformSchema>;
|
|
@@ -298,9 +298,9 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
298
298
|
isSystemCreated: z.ZodBoolean;
|
|
299
299
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
300
300
|
platform: z.ZodEnum<{
|
|
301
|
-
web: "web";
|
|
302
301
|
android: "android";
|
|
303
302
|
ios: "ios";
|
|
303
|
+
web: "web";
|
|
304
304
|
desktop: "desktop";
|
|
305
305
|
}>;
|
|
306
306
|
artifactType: z.ZodEnum<{
|
|
@@ -20,9 +20,9 @@ export declare const CreateArtifactSchema: z.ZodObject<{
|
|
|
20
20
|
sizeBytes: z.ZodNumber;
|
|
21
21
|
sha256: z.ZodString;
|
|
22
22
|
platform: z.ZodEnum<{
|
|
23
|
-
web: "web";
|
|
24
23
|
android: "android";
|
|
25
24
|
ios: "ios";
|
|
25
|
+
web: "web";
|
|
26
26
|
desktop: "desktop";
|
|
27
27
|
}>;
|
|
28
28
|
artifactType: z.ZodEnum<{
|
|
@@ -527,9 +527,9 @@ export declare const ArtifactFiltersSchema: z.ZodObject<{
|
|
|
527
527
|
manual: "manual";
|
|
528
528
|
}>>;
|
|
529
529
|
platform: z.ZodOptional<z.ZodEnum<{
|
|
530
|
-
web: "web";
|
|
531
530
|
android: "android";
|
|
532
531
|
ios: "ios";
|
|
532
|
+
web: "web";
|
|
533
533
|
desktop: "desktop";
|
|
534
534
|
}>>;
|
|
535
535
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -582,9 +582,9 @@ export declare const ListArtifactsQuerySchema: z.ZodObject<{
|
|
|
582
582
|
manual: "manual";
|
|
583
583
|
}>>;
|
|
584
584
|
platform: z.ZodOptional<z.ZodEnum<{
|
|
585
|
-
web: "web";
|
|
586
585
|
android: "android";
|
|
587
586
|
ios: "ios";
|
|
587
|
+
web: "web";
|
|
588
588
|
desktop: "desktop";
|
|
589
589
|
}>>;
|
|
590
590
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -642,9 +642,9 @@ export declare const BulkCreateArtifactsSchema: z.ZodObject<{
|
|
|
642
642
|
sizeBytes: z.ZodNumber;
|
|
643
643
|
sha256: z.ZodString;
|
|
644
644
|
platform: z.ZodEnum<{
|
|
645
|
-
web: "web";
|
|
646
645
|
android: "android";
|
|
647
646
|
ios: "ios";
|
|
647
|
+
web: "web";
|
|
648
648
|
desktop: "desktop";
|
|
649
649
|
}>;
|
|
650
650
|
artifactType: z.ZodEnum<{
|
|
@@ -35,9 +35,9 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
35
35
|
image: z.ZodNullable<z.ZodString>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
platform: z.ZodEnum<{
|
|
38
|
-
web: "web";
|
|
39
38
|
android: "android";
|
|
40
39
|
ios: "ios";
|
|
40
|
+
web: "web";
|
|
41
41
|
desktop: "desktop";
|
|
42
42
|
}>;
|
|
43
43
|
artifactType: z.ZodEnum<{
|
|
@@ -314,9 +314,9 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
314
314
|
image: z.ZodNullable<z.ZodString>;
|
|
315
315
|
}, z.core.$strip>>;
|
|
316
316
|
platform: z.ZodEnum<{
|
|
317
|
-
web: "web";
|
|
318
317
|
android: "android";
|
|
319
318
|
ios: "ios";
|
|
319
|
+
web: "web";
|
|
320
320
|
desktop: "desktop";
|
|
321
321
|
}>;
|
|
322
322
|
artifactType: z.ZodEnum<{
|
|
@@ -622,9 +622,9 @@ export declare const EnhancedArtifactListItemSchema: z.ZodObject<{
|
|
|
622
622
|
image: z.ZodNullable<z.ZodString>;
|
|
623
623
|
}, z.core.$strip>>;
|
|
624
624
|
platform: z.ZodEnum<{
|
|
625
|
-
web: "web";
|
|
626
625
|
android: "android";
|
|
627
626
|
ios: "ios";
|
|
627
|
+
web: "web";
|
|
628
628
|
desktop: "desktop";
|
|
629
629
|
}>;
|
|
630
630
|
artifactType: z.ZodEnum<{
|
|
@@ -917,9 +917,9 @@ export declare const EnhancedArtifactListResponseSchema: z.ZodObject<{
|
|
|
917
917
|
image: z.ZodNullable<z.ZodString>;
|
|
918
918
|
}, z.core.$strip>>;
|
|
919
919
|
platform: z.ZodEnum<{
|
|
920
|
-
web: "web";
|
|
921
920
|
android: "android";
|
|
922
921
|
ios: "ios";
|
|
922
|
+
web: "web";
|
|
923
923
|
desktop: "desktop";
|
|
924
924
|
}>;
|
|
925
925
|
artifactType: z.ZodEnum<{
|
|
@@ -1220,9 +1220,9 @@ export declare const BatchResultSchema: z.ZodObject<{
|
|
|
1220
1220
|
image: z.ZodNullable<z.ZodString>;
|
|
1221
1221
|
}, z.core.$strip>>;
|
|
1222
1222
|
platform: z.ZodEnum<{
|
|
1223
|
-
web: "web";
|
|
1224
1223
|
android: "android";
|
|
1225
1224
|
ios: "ios";
|
|
1225
|
+
web: "web";
|
|
1226
1226
|
desktop: "desktop";
|
|
1227
1227
|
}>;
|
|
1228
1228
|
artifactType: z.ZodEnum<{
|
|
@@ -1742,9 +1742,9 @@ export declare const EnhancedArtifactResponseSchema: z.ZodObject<{
|
|
|
1742
1742
|
image: z.ZodNullable<z.ZodString>;
|
|
1743
1743
|
}, z.core.$strip>>;
|
|
1744
1744
|
platform: z.ZodEnum<{
|
|
1745
|
-
web: "web";
|
|
1746
1745
|
android: "android";
|
|
1747
1746
|
ios: "ios";
|
|
1747
|
+
web: "web";
|
|
1748
1748
|
desktop: "desktop";
|
|
1749
1749
|
}>;
|
|
1750
1750
|
artifactType: z.ZodEnum<{
|
|
@@ -2400,9 +2400,9 @@ export declare const PrepareUploadItemSchema: z.ZodObject<{
|
|
|
2400
2400
|
bundle: "bundle";
|
|
2401
2401
|
}>;
|
|
2402
2402
|
platform: z.ZodEnum<{
|
|
2403
|
-
web: "web";
|
|
2404
2403
|
android: "android";
|
|
2405
2404
|
ios: "ios";
|
|
2405
|
+
web: "web";
|
|
2406
2406
|
desktop: "desktop";
|
|
2407
2407
|
}>;
|
|
2408
2408
|
uploadType: z.ZodEnum<{
|
|
@@ -2439,9 +2439,9 @@ export declare const PrepareUploadResponseSchema: z.ZodObject<{
|
|
|
2439
2439
|
bundle: "bundle";
|
|
2440
2440
|
}>;
|
|
2441
2441
|
platform: z.ZodEnum<{
|
|
2442
|
-
web: "web";
|
|
2443
2442
|
android: "android";
|
|
2444
2443
|
ios: "ios";
|
|
2444
|
+
web: "web";
|
|
2445
2445
|
desktop: "desktop";
|
|
2446
2446
|
}>;
|
|
2447
2447
|
uploadType: z.ZodEnum<{
|
|
@@ -2493,9 +2493,9 @@ export declare const FinalizeUploadResponseSchema: z.ZodObject<{
|
|
|
2493
2493
|
image: z.ZodNullable<z.ZodString>;
|
|
2494
2494
|
}, z.core.$strip>>;
|
|
2495
2495
|
platform: z.ZodEnum<{
|
|
2496
|
-
web: "web";
|
|
2497
2496
|
android: "android";
|
|
2498
2497
|
ios: "ios";
|
|
2498
|
+
web: "web";
|
|
2499
2499
|
desktop: "desktop";
|
|
2500
2500
|
}>;
|
|
2501
2501
|
artifactType: z.ZodEnum<{
|
|
@@ -27,9 +27,9 @@ export type RiskLevel = z.infer<typeof RiskLevelSchema>;
|
|
|
27
27
|
* Actor Type Schema
|
|
28
28
|
*/
|
|
29
29
|
export declare const ActorTypeSchema: z.ZodEnum<{
|
|
30
|
+
user: "user";
|
|
30
31
|
webhook: "webhook";
|
|
31
32
|
integration: "integration";
|
|
32
|
-
user: "user";
|
|
33
33
|
system: "system";
|
|
34
34
|
api_key: "api_key";
|
|
35
35
|
scheduled_job: "scheduled_job";
|
|
@@ -39,14 +39,17 @@ export type ActorType = z.infer<typeof ActorTypeSchema>;
|
|
|
39
39
|
* Audit Log Module Schema - comprehensive list of all modules
|
|
40
40
|
*/
|
|
41
41
|
export declare const AuditLogModuleSchema: z.ZodEnum<{
|
|
42
|
+
email: "email";
|
|
43
|
+
member: "member";
|
|
44
|
+
user: "user";
|
|
45
|
+
team: "team";
|
|
46
|
+
version: "version";
|
|
42
47
|
app: "app";
|
|
43
48
|
release: "release";
|
|
44
49
|
artifact: "artifact";
|
|
45
50
|
credential: "credential";
|
|
46
51
|
webhook: "webhook";
|
|
47
52
|
organization: "organization";
|
|
48
|
-
team: "team";
|
|
49
|
-
member: "member";
|
|
50
53
|
billing: "billing";
|
|
51
54
|
analytics: "analytics";
|
|
52
55
|
integration: "integration";
|
|
@@ -54,9 +57,6 @@ export declare const AuditLogModuleSchema: z.ZodEnum<{
|
|
|
54
57
|
audit_log: "audit_log";
|
|
55
58
|
session: "session";
|
|
56
59
|
role: "role";
|
|
57
|
-
user: "user";
|
|
58
|
-
email: "email";
|
|
59
|
-
version: "version";
|
|
60
60
|
system: "system";
|
|
61
61
|
api_key: "api_key";
|
|
62
62
|
usage: "usage";
|
|
@@ -92,9 +92,9 @@ export type AuditLogModule = z.infer<typeof AuditLogModuleSchema>;
|
|
|
92
92
|
* Action Category Schema - groups actions by type
|
|
93
93
|
*/
|
|
94
94
|
export declare const ActionCategorySchema: z.ZodEnum<{
|
|
95
|
+
admin: "admin";
|
|
95
96
|
billing: "billing";
|
|
96
97
|
integration: "integration";
|
|
97
|
-
admin: "admin";
|
|
98
98
|
system: "system";
|
|
99
99
|
security: "security";
|
|
100
100
|
export: "export";
|
|
@@ -251,24 +251,24 @@ export type AuditLogAction = z.infer<typeof AuditLogActionSchema>;
|
|
|
251
251
|
* Audit Log Resource Type Schema
|
|
252
252
|
*/
|
|
253
253
|
export declare const AuditLogResourceTypeSchema: z.ZodEnum<{
|
|
254
|
+
member: "member";
|
|
255
|
+
user: "user";
|
|
256
|
+
team: "team";
|
|
257
|
+
version: "version";
|
|
254
258
|
app: "app";
|
|
255
259
|
release: "release";
|
|
256
260
|
artifact: "artifact";
|
|
257
261
|
credential: "credential";
|
|
258
262
|
webhook: "webhook";
|
|
259
263
|
organization: "organization";
|
|
260
|
-
team: "team";
|
|
261
|
-
member: "member";
|
|
262
264
|
integration: "integration";
|
|
263
265
|
store: "store";
|
|
264
266
|
audit_log: "audit_log";
|
|
265
267
|
session: "session";
|
|
266
268
|
role: "role";
|
|
267
|
-
user: "user";
|
|
268
269
|
password: "password";
|
|
269
270
|
refresh_token: "refresh_token";
|
|
270
271
|
access_token: "access_token";
|
|
271
|
-
version: "version";
|
|
272
272
|
api_key: "api_key";
|
|
273
273
|
subscription: "subscription";
|
|
274
274
|
plan: "plan";
|
|
@@ -361,9 +361,9 @@ export type DeviceInfo = z.infer<typeof DeviceInfoSchema>;
|
|
|
361
361
|
export declare const ActorInfoSchema: z.ZodObject<{
|
|
362
362
|
id: z.ZodString;
|
|
363
363
|
type: z.ZodEnum<{
|
|
364
|
+
user: "user";
|
|
364
365
|
webhook: "webhook";
|
|
365
366
|
integration: "integration";
|
|
366
|
-
user: "user";
|
|
367
367
|
system: "system";
|
|
368
368
|
api_key: "api_key";
|
|
369
369
|
scheduled_job: "scheduled_job";
|
|
@@ -430,9 +430,9 @@ export declare const AuditLogResponseSchema: z.ZodObject<{
|
|
|
430
430
|
actor: z.ZodNullable<z.ZodObject<{
|
|
431
431
|
id: z.ZodString;
|
|
432
432
|
type: z.ZodEnum<{
|
|
433
|
+
user: "user";
|
|
433
434
|
webhook: "webhook";
|
|
434
435
|
integration: "integration";
|
|
435
|
-
user: "user";
|
|
436
436
|
system: "system";
|
|
437
437
|
api_key: "api_key";
|
|
438
438
|
scheduled_job: "scheduled_job";
|
|
@@ -13,9 +13,9 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
13
13
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
14
14
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
15
15
|
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
timestamp: "timestamp";
|
|
16
17
|
createdAt: "createdAt";
|
|
17
18
|
riskLevel: "riskLevel";
|
|
18
|
-
timestamp: "timestamp";
|
|
19
19
|
action: "action";
|
|
20
20
|
module: "module";
|
|
21
21
|
}>>;
|
|
@@ -24,14 +24,17 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
24
24
|
desc: "desc";
|
|
25
25
|
}>>;
|
|
26
26
|
module: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
email: "email";
|
|
28
|
+
member: "member";
|
|
29
|
+
user: "user";
|
|
30
|
+
team: "team";
|
|
31
|
+
version: "version";
|
|
27
32
|
app: "app";
|
|
28
33
|
release: "release";
|
|
29
34
|
artifact: "artifact";
|
|
30
35
|
credential: "credential";
|
|
31
36
|
webhook: "webhook";
|
|
32
37
|
organization: "organization";
|
|
33
|
-
team: "team";
|
|
34
|
-
member: "member";
|
|
35
38
|
billing: "billing";
|
|
36
39
|
analytics: "analytics";
|
|
37
40
|
integration: "integration";
|
|
@@ -39,9 +42,6 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
39
42
|
audit_log: "audit_log";
|
|
40
43
|
session: "session";
|
|
41
44
|
role: "role";
|
|
42
|
-
user: "user";
|
|
43
|
-
email: "email";
|
|
44
|
-
version: "version";
|
|
45
45
|
system: "system";
|
|
46
46
|
api_key: "api_key";
|
|
47
47
|
usage: "usage";
|
|
@@ -214,9 +214,9 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
214
214
|
notification_update: "notification_update";
|
|
215
215
|
}>>;
|
|
216
216
|
actionCategory: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
admin: "admin";
|
|
217
218
|
billing: "billing";
|
|
218
219
|
integration: "integration";
|
|
219
|
-
admin: "admin";
|
|
220
220
|
system: "system";
|
|
221
221
|
security: "security";
|
|
222
222
|
export: "export";
|
|
@@ -224,24 +224,24 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
224
224
|
data_modification: "data_modification";
|
|
225
225
|
}>>;
|
|
226
226
|
resourceType: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
member: "member";
|
|
228
|
+
user: "user";
|
|
229
|
+
team: "team";
|
|
230
|
+
version: "version";
|
|
227
231
|
app: "app";
|
|
228
232
|
release: "release";
|
|
229
233
|
artifact: "artifact";
|
|
230
234
|
credential: "credential";
|
|
231
235
|
webhook: "webhook";
|
|
232
236
|
organization: "organization";
|
|
233
|
-
team: "team";
|
|
234
|
-
member: "member";
|
|
235
237
|
integration: "integration";
|
|
236
238
|
store: "store";
|
|
237
239
|
audit_log: "audit_log";
|
|
238
240
|
session: "session";
|
|
239
241
|
role: "role";
|
|
240
|
-
user: "user";
|
|
241
242
|
password: "password";
|
|
242
243
|
refresh_token: "refresh_token";
|
|
243
244
|
access_token: "access_token";
|
|
244
|
-
version: "version";
|
|
245
245
|
api_key: "api_key";
|
|
246
246
|
subscription: "subscription";
|
|
247
247
|
plan: "plan";
|
|
@@ -290,9 +290,9 @@ export declare const AuditLogFilterQuerySchema: z.ZodObject<{
|
|
|
290
290
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
291
291
|
userId: z.ZodOptional<z.ZodString>;
|
|
292
292
|
actorType: z.ZodOptional<z.ZodEnum<{
|
|
293
|
+
user: "user";
|
|
293
294
|
webhook: "webhook";
|
|
294
295
|
integration: "integration";
|
|
295
|
-
user: "user";
|
|
296
296
|
system: "system";
|
|
297
297
|
api_key: "api_key";
|
|
298
298
|
scheduled_job: "scheduled_job";
|
|
@@ -332,14 +332,17 @@ export declare const AuditLogExportSchema: z.ZodObject<{
|
|
|
332
332
|
pdf: "pdf";
|
|
333
333
|
}>;
|
|
334
334
|
module: z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
email: "email";
|
|
336
|
+
member: "member";
|
|
337
|
+
user: "user";
|
|
338
|
+
team: "team";
|
|
339
|
+
version: "version";
|
|
335
340
|
app: "app";
|
|
336
341
|
release: "release";
|
|
337
342
|
artifact: "artifact";
|
|
338
343
|
credential: "credential";
|
|
339
344
|
webhook: "webhook";
|
|
340
345
|
organization: "organization";
|
|
341
|
-
team: "team";
|
|
342
|
-
member: "member";
|
|
343
346
|
billing: "billing";
|
|
344
347
|
analytics: "analytics";
|
|
345
348
|
integration: "integration";
|
|
@@ -347,9 +350,6 @@ export declare const AuditLogExportSchema: z.ZodObject<{
|
|
|
347
350
|
audit_log: "audit_log";
|
|
348
351
|
session: "session";
|
|
349
352
|
role: "role";
|
|
350
|
-
user: "user";
|
|
351
|
-
email: "email";
|
|
352
|
-
version: "version";
|
|
353
353
|
system: "system";
|
|
354
354
|
api_key: "api_key";
|
|
355
355
|
usage: "usage";
|
|
@@ -522,9 +522,9 @@ export declare const AuditLogExportSchema: z.ZodObject<{
|
|
|
522
522
|
notification_update: "notification_update";
|
|
523
523
|
}>>;
|
|
524
524
|
actionCategory: z.ZodOptional<z.ZodEnum<{
|
|
525
|
+
admin: "admin";
|
|
525
526
|
billing: "billing";
|
|
526
527
|
integration: "integration";
|
|
527
|
-
admin: "admin";
|
|
528
528
|
system: "system";
|
|
529
529
|
security: "security";
|
|
530
530
|
export: "export";
|
|
@@ -532,24 +532,24 @@ export declare const AuditLogExportSchema: z.ZodObject<{
|
|
|
532
532
|
data_modification: "data_modification";
|
|
533
533
|
}>>;
|
|
534
534
|
resourceType: z.ZodOptional<z.ZodEnum<{
|
|
535
|
+
member: "member";
|
|
536
|
+
user: "user";
|
|
537
|
+
team: "team";
|
|
538
|
+
version: "version";
|
|
535
539
|
app: "app";
|
|
536
540
|
release: "release";
|
|
537
541
|
artifact: "artifact";
|
|
538
542
|
credential: "credential";
|
|
539
543
|
webhook: "webhook";
|
|
540
544
|
organization: "organization";
|
|
541
|
-
team: "team";
|
|
542
|
-
member: "member";
|
|
543
545
|
integration: "integration";
|
|
544
546
|
store: "store";
|
|
545
547
|
audit_log: "audit_log";
|
|
546
548
|
session: "session";
|
|
547
549
|
role: "role";
|
|
548
|
-
user: "user";
|
|
549
550
|
password: "password";
|
|
550
551
|
refresh_token: "refresh_token";
|
|
551
552
|
access_token: "access_token";
|
|
552
|
-
version: "version";
|
|
553
553
|
api_key: "api_key";
|
|
554
554
|
subscription: "subscription";
|
|
555
555
|
plan: "plan";
|
|
@@ -598,9 +598,9 @@ export declare const AuditLogExportSchema: z.ZodObject<{
|
|
|
598
598
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
599
599
|
userId: z.ZodOptional<z.ZodString>;
|
|
600
600
|
actorType: z.ZodOptional<z.ZodEnum<{
|
|
601
|
+
user: "user";
|
|
601
602
|
webhook: "webhook";
|
|
602
603
|
integration: "integration";
|
|
603
|
-
user: "user";
|
|
604
604
|
system: "system";
|
|
605
605
|
api_key: "api_key";
|
|
606
606
|
scheduled_job: "scheduled_job";
|
|
@@ -36,9 +36,9 @@ export declare const AuditLogListResponseSchema: z.ZodObject<{
|
|
|
36
36
|
actor: z.ZodNullable<z.ZodObject<{
|
|
37
37
|
id: z.ZodString;
|
|
38
38
|
type: z.ZodEnum<{
|
|
39
|
+
user: "user";
|
|
39
40
|
webhook: "webhook";
|
|
40
41
|
integration: "integration";
|
|
41
|
-
user: "user";
|
|
42
42
|
system: "system";
|
|
43
43
|
api_key: "api_key";
|
|
44
44
|
scheduled_job: "scheduled_job";
|
|
@@ -179,9 +179,9 @@ export declare const ActivitySummaryResponseSchema: z.ZodObject<{
|
|
|
179
179
|
actor: z.ZodNullable<z.ZodObject<{
|
|
180
180
|
id: z.ZodString;
|
|
181
181
|
type: z.ZodEnum<{
|
|
182
|
+
user: "user";
|
|
182
183
|
webhook: "webhook";
|
|
183
184
|
integration: "integration";
|
|
184
|
-
user: "user";
|
|
185
185
|
system: "system";
|
|
186
186
|
api_key: "api_key";
|
|
187
187
|
scheduled_job: "scheduled_job";
|
|
@@ -313,9 +313,9 @@ export declare const UserActivityTimelineResponseSchema: z.ZodObject<{
|
|
|
313
313
|
actor: z.ZodNullable<z.ZodObject<{
|
|
314
314
|
id: z.ZodString;
|
|
315
315
|
type: z.ZodEnum<{
|
|
316
|
+
user: "user";
|
|
316
317
|
webhook: "webhook";
|
|
317
318
|
integration: "integration";
|
|
318
|
-
user: "user";
|
|
319
319
|
system: "system";
|
|
320
320
|
api_key: "api_key";
|
|
321
321
|
scheduled_job: "scheduled_job";
|
|
@@ -440,9 +440,9 @@ export declare const ResourceHistoryResponseSchema: z.ZodObject<{
|
|
|
440
440
|
actor: z.ZodNullable<z.ZodObject<{
|
|
441
441
|
id: z.ZodString;
|
|
442
442
|
type: z.ZodEnum<{
|
|
443
|
+
user: "user";
|
|
443
444
|
webhook: "webhook";
|
|
444
445
|
integration: "integration";
|
|
445
|
-
user: "user";
|
|
446
446
|
system: "system";
|
|
447
447
|
api_key: "api_key";
|
|
448
448
|
scheduled_job: "scheduled_job";
|
|
@@ -554,9 +554,9 @@ export declare const SecurityInsightsResponseSchema: z.ZodObject<{
|
|
|
554
554
|
actor: z.ZodNullable<z.ZodObject<{
|
|
555
555
|
id: z.ZodString;
|
|
556
556
|
type: z.ZodEnum<{
|
|
557
|
+
user: "user";
|
|
557
558
|
webhook: "webhook";
|
|
558
559
|
integration: "integration";
|
|
559
|
-
user: "user";
|
|
560
560
|
system: "system";
|
|
561
561
|
api_key: "api_key";
|
|
562
562
|
scheduled_job: "scheduled_job";
|
|
@@ -667,9 +667,9 @@ export declare const SecurityInsightsResponseSchema: z.ZodObject<{
|
|
|
667
667
|
actor: z.ZodNullable<z.ZodObject<{
|
|
668
668
|
id: z.ZodString;
|
|
669
669
|
type: z.ZodEnum<{
|
|
670
|
+
user: "user";
|
|
670
671
|
webhook: "webhook";
|
|
671
672
|
integration: "integration";
|
|
672
|
-
user: "user";
|
|
673
673
|
system: "system";
|
|
674
674
|
api_key: "api_key";
|
|
675
675
|
scheduled_job: "scheduled_job";
|
|
@@ -21,14 +21,14 @@ export declare const PermissionActionSchema: z.ZodEnum<{
|
|
|
21
21
|
* Defines the available resource types for permissions.
|
|
22
22
|
*/
|
|
23
23
|
export declare const PermissionResourceSchema: z.ZodEnum<{
|
|
24
|
+
member: "member";
|
|
25
|
+
team: "team";
|
|
24
26
|
app: "app";
|
|
25
27
|
release: "release";
|
|
26
28
|
artifact: "artifact";
|
|
27
29
|
credential: "credential";
|
|
28
30
|
webhook: "webhook";
|
|
29
31
|
organization: "organization";
|
|
30
|
-
team: "team";
|
|
31
|
-
member: "member";
|
|
32
32
|
billing: "billing";
|
|
33
33
|
analytics: "analytics";
|
|
34
34
|
product: "product";
|
|
@@ -10,9 +10,9 @@ import { z } from 'zod';
|
|
|
10
10
|
* Re-exports the common SubscriptionTierSchema for billing-specific usage.
|
|
11
11
|
*/
|
|
12
12
|
export declare const PlanIdSchema: z.ZodEnum<{
|
|
13
|
-
team: "team";
|
|
14
13
|
free: "free";
|
|
15
14
|
pro: "pro";
|
|
15
|
+
team: "team";
|
|
16
16
|
enterprise: "enterprise";
|
|
17
17
|
}>;
|
|
18
18
|
/**
|
|
@@ -105,9 +105,9 @@ export declare const SeatCountsSchema: z.ZodObject<{
|
|
|
105
105
|
*/
|
|
106
106
|
export declare const PlanInfoSchema: z.ZodObject<{
|
|
107
107
|
id: z.ZodEnum<{
|
|
108
|
-
team: "team";
|
|
109
108
|
free: "free";
|
|
110
109
|
pro: "pro";
|
|
110
|
+
team: "team";
|
|
111
111
|
enterprise: "enterprise";
|
|
112
112
|
}>;
|
|
113
113
|
name: z.ZodString;
|
|
@@ -280,9 +280,9 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
280
280
|
id: z.ZodString;
|
|
281
281
|
orgId: z.ZodString;
|
|
282
282
|
planId: z.ZodEnum<{
|
|
283
|
-
team: "team";
|
|
284
283
|
free: "free";
|
|
285
284
|
pro: "pro";
|
|
285
|
+
team: "team";
|
|
286
286
|
enterprise: "enterprise";
|
|
287
287
|
}>;
|
|
288
288
|
status: z.ZodEnum<{
|
|
@@ -307,9 +307,9 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
307
307
|
*/
|
|
308
308
|
export declare const PlanSchema: z.ZodObject<{
|
|
309
309
|
id: z.ZodEnum<{
|
|
310
|
-
team: "team";
|
|
311
310
|
free: "free";
|
|
312
311
|
pro: "pro";
|
|
312
|
+
team: "team";
|
|
313
313
|
enterprise: "enterprise";
|
|
314
314
|
}>;
|
|
315
315
|
name: z.ZodString;
|
|
@@ -361,9 +361,9 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
361
361
|
*/
|
|
362
362
|
export declare const EntitlementSchema: z.ZodObject<{
|
|
363
363
|
planId: z.ZodEnum<{
|
|
364
|
-
team: "team";
|
|
365
364
|
free: "free";
|
|
366
365
|
pro: "pro";
|
|
366
|
+
team: "team";
|
|
367
367
|
enterprise: "enterprise";
|
|
368
368
|
}>;
|
|
369
369
|
limits: z.ZodObject<{
|
|
@@ -11,9 +11,9 @@ import { z } from 'zod';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const CreateSubscriptionSchema: z.ZodObject<{
|
|
13
13
|
planId: z.ZodEnum<{
|
|
14
|
-
team: "team";
|
|
15
14
|
free: "free";
|
|
16
15
|
pro: "pro";
|
|
16
|
+
team: "team";
|
|
17
17
|
enterprise: "enterprise";
|
|
18
18
|
}>;
|
|
19
19
|
billingEmail: z.ZodOptional<z.ZodString>;
|
|
@@ -26,9 +26,9 @@ export declare const CreateSubscriptionSchema: z.ZodObject<{
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const UpdateSubscriptionSchema: z.ZodObject<{
|
|
28
28
|
planId: z.ZodOptional<z.ZodEnum<{
|
|
29
|
-
team: "team";
|
|
30
29
|
free: "free";
|
|
31
30
|
pro: "pro";
|
|
31
|
+
team: "team";
|
|
32
32
|
enterprise: "enterprise";
|
|
33
33
|
}>>;
|
|
34
34
|
billingEmail: z.ZodOptional<z.ZodString>;
|
|
@@ -80,8 +80,8 @@ export declare const OrderIdParamSchema: z.ZodObject<{
|
|
|
80
80
|
*/
|
|
81
81
|
export declare const CreateCheckoutSessionSchema: z.ZodObject<{
|
|
82
82
|
productSlug: z.ZodEnum<{
|
|
83
|
-
team: "team";
|
|
84
83
|
pro: "pro";
|
|
84
|
+
team: "team";
|
|
85
85
|
enterprise: "enterprise";
|
|
86
86
|
}>;
|
|
87
87
|
successUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -12,9 +12,9 @@ import { z } from 'zod';
|
|
|
12
12
|
export declare const BillingOverviewResponseSchema: z.ZodObject<{
|
|
13
13
|
plan: z.ZodObject<{
|
|
14
14
|
id: z.ZodEnum<{
|
|
15
|
-
team: "team";
|
|
16
15
|
free: "free";
|
|
17
16
|
pro: "pro";
|
|
17
|
+
team: "team";
|
|
18
18
|
enterprise: "enterprise";
|
|
19
19
|
}>;
|
|
20
20
|
name: z.ZodString;
|
|
@@ -94,9 +94,9 @@ export declare const BillingOverviewResponseSchema: z.ZodObject<{
|
|
|
94
94
|
*/
|
|
95
95
|
export declare const EntitlementsResponseSchema: z.ZodObject<{
|
|
96
96
|
planId: z.ZodEnum<{
|
|
97
|
-
team: "team";
|
|
98
97
|
free: "free";
|
|
99
98
|
pro: "pro";
|
|
99
|
+
team: "team";
|
|
100
100
|
enterprise: "enterprise";
|
|
101
101
|
}>;
|
|
102
102
|
limits: z.ZodObject<{
|
|
@@ -171,9 +171,9 @@ export declare const SubscriptionResponseSchema: z.ZodObject<{
|
|
|
171
171
|
id: z.ZodString;
|
|
172
172
|
orgId: z.ZodString;
|
|
173
173
|
planId: z.ZodEnum<{
|
|
174
|
-
team: "team";
|
|
175
174
|
free: "free";
|
|
176
175
|
pro: "pro";
|
|
176
|
+
team: "team";
|
|
177
177
|
enterprise: "enterprise";
|
|
178
178
|
}>;
|
|
179
179
|
status: z.ZodEnum<{
|
|
@@ -198,9 +198,9 @@ export declare const SubscriptionResponseSchema: z.ZodObject<{
|
|
|
198
198
|
*/
|
|
199
199
|
export declare const PlanResponseSchema: z.ZodObject<{
|
|
200
200
|
id: z.ZodEnum<{
|
|
201
|
-
team: "team";
|
|
202
201
|
free: "free";
|
|
203
202
|
pro: "pro";
|
|
203
|
+
team: "team";
|
|
204
204
|
enterprise: "enterprise";
|
|
205
205
|
}>;
|
|
206
206
|
name: z.ZodString;
|