@apollo-deploy/schemas 0.4.7 → 0.5.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/approvals/domain.schema.d.ts +23 -12
- package/dist/definitions/approvals/domain.schema.d.ts.map +1 -1
- package/dist/definitions/approvals/domain.schema.js +4 -8
- package/dist/definitions/approvals/domain.schema.js.map +1 -1
- package/dist/definitions/approvals/request.schema.d.ts +8 -8
- package/dist/definitions/approvals/response.schema.d.ts +48 -32
- package/dist/definitions/approvals/response.schema.d.ts.map +1 -1
- package/dist/definitions/apps/response.schema.d.ts +1 -1
- package/dist/definitions/artifacts/domain.schema.d.ts +6 -6
- package/dist/definitions/artifacts/request.schema.d.ts +16 -16
- package/dist/definitions/artifacts/response.schema.d.ts +75 -47
- package/dist/definitions/artifacts/response.schema.d.ts.map +1 -1
- package/dist/definitions/artifacts/response.schema.js +2 -3
- package/dist/definitions/artifacts/response.schema.js.map +1 -1
- package/dist/definitions/audit-log/domain.schema.d.ts +27 -22
- package/dist/definitions/audit-log/domain.schema.d.ts.map +1 -1
- package/dist/definitions/audit-log/domain.schema.js +2 -2
- package/dist/definitions/audit-log/domain.schema.js.map +1 -1
- package/dist/definitions/audit-log/request.schema.d.ts +39 -39
- package/dist/definitions/audit-log/response.schema.d.ts +66 -15
- package/dist/definitions/audit-log/response.schema.d.ts.map +1 -1
- package/dist/definitions/audit-log/response.schema.js +6 -10
- package/dist/definitions/audit-log/response.schema.js.map +1 -1
- package/dist/definitions/auth/domain.schema.d.ts +11 -11
- package/dist/definitions/auth/request.schema.d.ts +11 -11
- package/dist/definitions/billing/domain.schema.d.ts +13 -13
- package/dist/definitions/billing/domain.schema.d.ts.map +1 -1
- package/dist/definitions/billing/domain.schema.js +4 -4
- package/dist/definitions/billing/domain.schema.js.map +1 -1
- package/dist/definitions/billing/request.schema.d.ts +3 -3
- package/dist/definitions/billing/response.schema.d.ts +7 -7
- package/dist/definitions/common.d.ts +31 -3
- package/dist/definitions/common.d.ts.map +1 -1
- package/dist/definitions/common.js +21 -0
- package/dist/definitions/common.js.map +1 -1
- package/dist/definitions/credentials/domain.schema.d.ts +4 -7
- package/dist/definitions/credentials/domain.schema.d.ts.map +1 -1
- package/dist/definitions/credentials/domain.schema.js +0 -3
- package/dist/definitions/credentials/domain.schema.js.map +1 -1
- package/dist/definitions/credentials/request.schema.d.ts +2 -4
- package/dist/definitions/credentials/request.schema.d.ts.map +1 -1
- package/dist/definitions/credentials/request.schema.js +0 -2
- package/dist/definitions/credentials/request.schema.js.map +1 -1
- package/dist/definitions/credentials/response.schema.d.ts +4 -10
- package/dist/definitions/credentials/response.schema.d.ts.map +1 -1
- package/dist/definitions/cve-scanner/domain.schema.d.ts +6 -6
- package/dist/definitions/cve-scanner/response.schema.d.ts +15 -15
- package/dist/definitions/deployments/domain.schema.d.ts +3 -3
- package/dist/definitions/deployments/request.schema.d.ts +1 -1
- package/dist/definitions/deployments/response.schema.d.ts +2 -2
- package/dist/definitions/index.d.ts +2 -9
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +6 -9
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/api.schema.d.ts +290 -0
- package/dist/definitions/integrations/api.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/api.schema.js +209 -0
- package/dist/definitions/integrations/api.schema.js.map +1 -0
- package/dist/definitions/integrations/index.d.ts +4 -3
- package/dist/definitions/integrations/index.d.ts.map +1 -1
- package/dist/definitions/integrations/index.js +17 -3
- package/dist/definitions/integrations/index.js.map +1 -1
- package/dist/definitions/integrations/marketplace-request.schema.d.ts +16 -40
- package/dist/definitions/integrations/marketplace-request.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace-request.schema.js +12 -36
- package/dist/definitions/integrations/marketplace-request.schema.js.map +1 -1
- package/dist/definitions/integrations/marketplace-response.schema.d.ts +28 -56
- package/dist/definitions/integrations/marketplace-response.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace-response.schema.js +19 -47
- package/dist/definitions/integrations/marketplace-response.schema.js.map +1 -1
- package/dist/definitions/integrations/marketplace.schema.d.ts +30 -58
- package/dist/definitions/integrations/marketplace.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/marketplace.schema.js +25 -48
- package/dist/definitions/integrations/marketplace.schema.js.map +1 -1
- package/dist/definitions/orgs/domain.schema.d.ts +2 -2
- package/dist/definitions/orgs/request.schema.d.ts +2 -2
- package/dist/definitions/orgs/response.schema.d.ts +2 -2
- package/dist/definitions/policies/domain.schema.d.ts +8 -8
- package/dist/definitions/policies/request.schema.d.ts +8 -8
- package/dist/definitions/policies/response.schema.d.ts +18 -18
- package/dist/definitions/release-risk/domain.schema.d.ts +2 -2
- package/dist/definitions/release-risk/request.schema.d.ts +1 -1
- package/dist/definitions/release-risk/response.schema.d.ts +5 -5
- package/dist/definitions/releases/domain.schema.d.ts +17 -12
- package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
- package/dist/definitions/releases/domain.schema.js +4 -4
- package/dist/definitions/releases/domain.schema.js.map +1 -1
- package/dist/definitions/releases/request.schema.d.ts +2 -2
- package/dist/definitions/releases/response.schema.d.ts +20 -10
- package/dist/definitions/releases/response.schema.d.ts.map +1 -1
- package/dist/definitions/service-accounts/domain.schema.d.ts +9 -9
- package/dist/definitions/service-accounts/request.schema.d.ts +2 -2
- package/dist/definitions/service-accounts/response.schema.d.ts +7 -7
- package/dist/definitions/share-links/domain.schema.d.ts +6 -1
- package/dist/definitions/share-links/domain.schema.d.ts.map +1 -1
- package/dist/definitions/share-links/domain.schema.js +2 -2
- package/dist/definitions/share-links/domain.schema.js.map +1 -1
- package/dist/definitions/share-links/request.schema.d.ts +1 -1
- package/dist/definitions/share-links/response.schema.d.ts +12 -2
- package/dist/definitions/share-links/response.schema.d.ts.map +1 -1
- package/dist/definitions/teams/domain.schema.d.ts +7 -2
- package/dist/definitions/teams/domain.schema.d.ts.map +1 -1
- package/dist/definitions/teams/domain.schema.js +2 -2
- package/dist/definitions/teams/domain.schema.js.map +1 -1
- package/dist/definitions/teams/request.schema.d.ts +1 -1
- package/dist/definitions/teams/response.schema.d.ts +14 -4
- package/dist/definitions/teams/response.schema.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +0 -122
- package/dist/definitions/integrations/domain.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/domain.schema.js +0 -85
- package/dist/definitions/integrations/domain.schema.js.map +0 -1
- package/dist/definitions/integrations/request.schema.d.ts +0 -141
- package/dist/definitions/integrations/request.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/request.schema.js +0 -136
- package/dist/definitions/integrations/request.schema.js.map +0 -1
- package/dist/definitions/integrations/response.schema.d.ts +0 -142
- package/dist/definitions/integrations/response.schema.d.ts.map +0 -1
- package/dist/definitions/integrations/response.schema.js +0 -55
- package/dist/definitions/integrations/response.schema.js.map +0 -1
|
@@ -13,10 +13,10 @@ import { z } from 'zod';
|
|
|
13
13
|
* - 'store': Background jobs fetching builds from app stores
|
|
14
14
|
*/
|
|
15
15
|
export declare const ArtifactSourceSchema: z.ZodEnum<{
|
|
16
|
+
store: "store";
|
|
16
17
|
upload: "upload";
|
|
17
18
|
ci: "ci";
|
|
18
19
|
manual: "manual";
|
|
19
|
-
store: "store";
|
|
20
20
|
}>;
|
|
21
21
|
export type ArtifactSource = z.infer<typeof ArtifactSourceSchema>;
|
|
22
22
|
/**
|
|
@@ -37,18 +37,18 @@ export type ArtifactType = z.infer<typeof ArtifactTypeSchema>;
|
|
|
37
37
|
export declare const ArtifactPlatformSchema: z.ZodEnum<{
|
|
38
38
|
android: "android";
|
|
39
39
|
ios: "ios";
|
|
40
|
-
desktop: "desktop";
|
|
41
40
|
web: "web";
|
|
41
|
+
desktop: "desktop";
|
|
42
42
|
}>;
|
|
43
43
|
export type ArtifactPlatform = z.infer<typeof ArtifactPlatformSchema>;
|
|
44
44
|
/**
|
|
45
45
|
* Artifact processing status
|
|
46
46
|
*/
|
|
47
47
|
export declare const ArtifactStatusSchema: z.ZodEnum<{
|
|
48
|
+
failed: "failed";
|
|
48
49
|
uploading: "uploading";
|
|
49
50
|
processing: "processing";
|
|
50
51
|
ready: "ready";
|
|
51
|
-
failed: "failed";
|
|
52
52
|
}>;
|
|
53
53
|
export type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
|
|
54
54
|
/**
|
|
@@ -300,8 +300,8 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
300
300
|
platform: z.ZodEnum<{
|
|
301
301
|
android: "android";
|
|
302
302
|
ios: "ios";
|
|
303
|
-
desktop: "desktop";
|
|
304
303
|
web: "web";
|
|
304
|
+
desktop: "desktop";
|
|
305
305
|
}>;
|
|
306
306
|
artifactType: z.ZodEnum<{
|
|
307
307
|
apk: "apk";
|
|
@@ -319,16 +319,16 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
319
319
|
version: z.ZodNullable<z.ZodString>;
|
|
320
320
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
321
321
|
status: z.ZodEnum<{
|
|
322
|
+
failed: "failed";
|
|
322
323
|
uploading: "uploading";
|
|
323
324
|
processing: "processing";
|
|
324
325
|
ready: "ready";
|
|
325
|
-
failed: "failed";
|
|
326
326
|
}>;
|
|
327
327
|
source: z.ZodEnum<{
|
|
328
|
+
store: "store";
|
|
328
329
|
upload: "upload";
|
|
329
330
|
ci: "ci";
|
|
330
331
|
manual: "manual";
|
|
331
|
-
store: "store";
|
|
332
332
|
}>;
|
|
333
333
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
334
334
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -22,8 +22,8 @@ export declare const CreateArtifactSchema: z.ZodObject<{
|
|
|
22
22
|
platform: z.ZodEnum<{
|
|
23
23
|
android: "android";
|
|
24
24
|
ios: "ios";
|
|
25
|
-
desktop: "desktop";
|
|
26
25
|
web: "web";
|
|
26
|
+
desktop: "desktop";
|
|
27
27
|
}>;
|
|
28
28
|
artifactType: z.ZodEnum<{
|
|
29
29
|
apk: "apk";
|
|
@@ -37,10 +37,10 @@ export declare const CreateArtifactSchema: z.ZodObject<{
|
|
|
37
37
|
version: z.ZodOptional<z.ZodString>;
|
|
38
38
|
versionCode: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
source: z.ZodDefault<z.ZodEnum<{
|
|
40
|
+
store: "store";
|
|
40
41
|
upload: "upload";
|
|
41
42
|
ci: "ci";
|
|
42
43
|
manual: "manual";
|
|
43
|
-
store: "store";
|
|
44
44
|
}>>;
|
|
45
45
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
46
46
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -275,10 +275,10 @@ export declare const CreateArtifactSchema: z.ZodObject<{
|
|
|
275
275
|
*/
|
|
276
276
|
export declare const UpdateArtifactSchema: z.ZodObject<{
|
|
277
277
|
status: z.ZodOptional<z.ZodEnum<{
|
|
278
|
+
failed: "failed";
|
|
278
279
|
uploading: "uploading";
|
|
279
280
|
processing: "processing";
|
|
280
281
|
ready: "ready";
|
|
281
|
-
failed: "failed";
|
|
282
282
|
}>>;
|
|
283
283
|
sha256: z.ZodOptional<z.ZodString>;
|
|
284
284
|
contentType: z.ZodOptional<z.ZodString>;
|
|
@@ -521,22 +521,22 @@ export declare const UpdateArtifactSchema: z.ZodObject<{
|
|
|
521
521
|
export declare const ArtifactFiltersSchema: z.ZodObject<{
|
|
522
522
|
appId: z.ZodOptional<z.ZodString>;
|
|
523
523
|
source: z.ZodOptional<z.ZodEnum<{
|
|
524
|
+
store: "store";
|
|
524
525
|
upload: "upload";
|
|
525
526
|
ci: "ci";
|
|
526
527
|
manual: "manual";
|
|
527
|
-
store: "store";
|
|
528
528
|
}>>;
|
|
529
529
|
platform: z.ZodOptional<z.ZodEnum<{
|
|
530
530
|
android: "android";
|
|
531
531
|
ios: "ios";
|
|
532
|
-
desktop: "desktop";
|
|
533
532
|
web: "web";
|
|
533
|
+
desktop: "desktop";
|
|
534
534
|
}>>;
|
|
535
535
|
status: z.ZodOptional<z.ZodEnum<{
|
|
536
|
+
failed: "failed";
|
|
536
537
|
uploading: "uploading";
|
|
537
538
|
processing: "processing";
|
|
538
539
|
ready: "ready";
|
|
539
|
-
failed: "failed";
|
|
540
540
|
}>>;
|
|
541
541
|
search: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
542
542
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -567,8 +567,8 @@ export declare const ListArtifactsQuerySchema: z.ZodObject<{
|
|
|
567
567
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
568
568
|
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
569
569
|
createdAt: "createdAt";
|
|
570
|
-
originalFilename: "originalFilename";
|
|
571
570
|
sizeBytes: "sizeBytes";
|
|
571
|
+
originalFilename: "originalFilename";
|
|
572
572
|
}>>;
|
|
573
573
|
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
574
574
|
asc: "asc";
|
|
@@ -576,22 +576,22 @@ export declare const ListArtifactsQuerySchema: z.ZodObject<{
|
|
|
576
576
|
}>>;
|
|
577
577
|
appId: z.ZodOptional<z.ZodString>;
|
|
578
578
|
source: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
store: "store";
|
|
579
580
|
upload: "upload";
|
|
580
581
|
ci: "ci";
|
|
581
582
|
manual: "manual";
|
|
582
|
-
store: "store";
|
|
583
583
|
}>>;
|
|
584
584
|
platform: z.ZodOptional<z.ZodEnum<{
|
|
585
585
|
android: "android";
|
|
586
586
|
ios: "ios";
|
|
587
|
-
desktop: "desktop";
|
|
588
587
|
web: "web";
|
|
588
|
+
desktop: "desktop";
|
|
589
589
|
}>>;
|
|
590
590
|
status: z.ZodOptional<z.ZodEnum<{
|
|
591
|
+
failed: "failed";
|
|
591
592
|
uploading: "uploading";
|
|
592
593
|
processing: "processing";
|
|
593
594
|
ready: "ready";
|
|
594
|
-
failed: "failed";
|
|
595
595
|
}>>;
|
|
596
596
|
search: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
597
597
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -644,8 +644,8 @@ export declare const BulkCreateArtifactsSchema: z.ZodObject<{
|
|
|
644
644
|
platform: z.ZodEnum<{
|
|
645
645
|
android: "android";
|
|
646
646
|
ios: "ios";
|
|
647
|
-
desktop: "desktop";
|
|
648
647
|
web: "web";
|
|
648
|
+
desktop: "desktop";
|
|
649
649
|
}>;
|
|
650
650
|
artifactType: z.ZodEnum<{
|
|
651
651
|
apk: "apk";
|
|
@@ -659,10 +659,10 @@ export declare const BulkCreateArtifactsSchema: z.ZodObject<{
|
|
|
659
659
|
version: z.ZodOptional<z.ZodString>;
|
|
660
660
|
versionCode: z.ZodOptional<z.ZodNumber>;
|
|
661
661
|
source: z.ZodDefault<z.ZodEnum<{
|
|
662
|
+
store: "store";
|
|
662
663
|
upload: "upload";
|
|
663
664
|
ci: "ci";
|
|
664
665
|
manual: "manual";
|
|
665
|
-
store: "store";
|
|
666
666
|
}>>;
|
|
667
667
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
668
668
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -894,11 +894,11 @@ export declare const BulkCreateArtifactsSchema: z.ZodObject<{
|
|
|
894
894
|
* Compare artifacts category filter
|
|
895
895
|
*/
|
|
896
896
|
export declare const CompareArtifactsCategorySchema: z.ZodEnum<{
|
|
897
|
-
other: "other";
|
|
898
|
-
dex: "dex";
|
|
899
897
|
native: "native";
|
|
898
|
+
dex: "dex";
|
|
900
899
|
resources: "resources";
|
|
901
900
|
assets: "assets";
|
|
901
|
+
other: "other";
|
|
902
902
|
}>;
|
|
903
903
|
/**
|
|
904
904
|
* Compare artifacts query schema
|
|
@@ -913,11 +913,11 @@ export declare const CompareArtifactsQuerySchema: z.ZodObject<{
|
|
|
913
913
|
sortByDiff: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
914
914
|
breakdown: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
915
915
|
category: z.ZodOptional<z.ZodEnum<{
|
|
916
|
-
other: "other";
|
|
917
|
-
dex: "dex";
|
|
918
916
|
native: "native";
|
|
917
|
+
dex: "dex";
|
|
919
918
|
resources: "resources";
|
|
920
919
|
assets: "assets";
|
|
920
|
+
other: "other";
|
|
921
921
|
}>>;
|
|
922
922
|
addedOnly: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
923
923
|
removedOnly: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
@@ -28,12 +28,17 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
28
28
|
appId: z.ZodString;
|
|
29
29
|
orgId: z.ZodString;
|
|
30
30
|
isSystemCreated: z.ZodBoolean;
|
|
31
|
-
|
|
31
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
email: z.ZodString;
|
|
35
|
+
image: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
32
37
|
platform: z.ZodEnum<{
|
|
33
38
|
android: "android";
|
|
34
39
|
ios: "ios";
|
|
35
|
-
desktop: "desktop";
|
|
36
40
|
web: "web";
|
|
41
|
+
desktop: "desktop";
|
|
37
42
|
}>;
|
|
38
43
|
artifactType: z.ZodEnum<{
|
|
39
44
|
apk: "apk";
|
|
@@ -51,16 +56,16 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
51
56
|
version: z.ZodNullable<z.ZodString>;
|
|
52
57
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
53
58
|
status: z.ZodEnum<{
|
|
59
|
+
failed: "failed";
|
|
54
60
|
uploading: "uploading";
|
|
55
61
|
processing: "processing";
|
|
56
62
|
ready: "ready";
|
|
57
|
-
failed: "failed";
|
|
58
63
|
}>;
|
|
59
64
|
source: z.ZodEnum<{
|
|
65
|
+
store: "store";
|
|
60
66
|
upload: "upload";
|
|
61
67
|
ci: "ci";
|
|
62
68
|
manual: "manual";
|
|
63
|
-
store: "store";
|
|
64
69
|
}>;
|
|
65
70
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
66
71
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -289,7 +294,6 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
289
294
|
updatedAt: z.ZodString;
|
|
290
295
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
291
296
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
292
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
293
297
|
}, z.core.$strip>;
|
|
294
298
|
/**
|
|
295
299
|
* Artifact list response schema
|
|
@@ -303,12 +307,17 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
303
307
|
appId: z.ZodString;
|
|
304
308
|
orgId: z.ZodString;
|
|
305
309
|
isSystemCreated: z.ZodBoolean;
|
|
306
|
-
|
|
310
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
311
|
+
id: z.ZodString;
|
|
312
|
+
name: z.ZodNullable<z.ZodString>;
|
|
313
|
+
email: z.ZodString;
|
|
314
|
+
image: z.ZodNullable<z.ZodString>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
307
316
|
platform: z.ZodEnum<{
|
|
308
317
|
android: "android";
|
|
309
318
|
ios: "ios";
|
|
310
|
-
desktop: "desktop";
|
|
311
319
|
web: "web";
|
|
320
|
+
desktop: "desktop";
|
|
312
321
|
}>;
|
|
313
322
|
artifactType: z.ZodEnum<{
|
|
314
323
|
apk: "apk";
|
|
@@ -326,16 +335,16 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
326
335
|
version: z.ZodNullable<z.ZodString>;
|
|
327
336
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
328
337
|
status: z.ZodEnum<{
|
|
338
|
+
failed: "failed";
|
|
329
339
|
uploading: "uploading";
|
|
330
340
|
processing: "processing";
|
|
331
341
|
ready: "ready";
|
|
332
|
-
failed: "failed";
|
|
333
342
|
}>;
|
|
334
343
|
source: z.ZodEnum<{
|
|
344
|
+
store: "store";
|
|
335
345
|
upload: "upload";
|
|
336
346
|
ci: "ci";
|
|
337
347
|
manual: "manual";
|
|
338
|
-
store: "store";
|
|
339
348
|
}>;
|
|
340
349
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
341
350
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -564,7 +573,6 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
564
573
|
updatedAt: z.ZodString;
|
|
565
574
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
566
575
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
567
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
568
576
|
}, z.core.$strip>>;
|
|
569
577
|
page: z.ZodObject<{
|
|
570
578
|
size: z.ZodNumber;
|
|
@@ -607,12 +615,17 @@ export declare const EnhancedArtifactListItemSchema: z.ZodObject<{
|
|
|
607
615
|
appId: z.ZodString;
|
|
608
616
|
orgId: z.ZodString;
|
|
609
617
|
isSystemCreated: z.ZodBoolean;
|
|
610
|
-
|
|
618
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
619
|
+
id: z.ZodString;
|
|
620
|
+
name: z.ZodNullable<z.ZodString>;
|
|
621
|
+
email: z.ZodString;
|
|
622
|
+
image: z.ZodNullable<z.ZodString>;
|
|
623
|
+
}, z.core.$strip>>;
|
|
611
624
|
platform: z.ZodEnum<{
|
|
612
625
|
android: "android";
|
|
613
626
|
ios: "ios";
|
|
614
|
-
desktop: "desktop";
|
|
615
627
|
web: "web";
|
|
628
|
+
desktop: "desktop";
|
|
616
629
|
}>;
|
|
617
630
|
artifactType: z.ZodEnum<{
|
|
618
631
|
apk: "apk";
|
|
@@ -630,16 +643,16 @@ export declare const EnhancedArtifactListItemSchema: z.ZodObject<{
|
|
|
630
643
|
version: z.ZodNullable<z.ZodString>;
|
|
631
644
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
632
645
|
status: z.ZodEnum<{
|
|
646
|
+
failed: "failed";
|
|
633
647
|
uploading: "uploading";
|
|
634
648
|
processing: "processing";
|
|
635
649
|
ready: "ready";
|
|
636
|
-
failed: "failed";
|
|
637
650
|
}>;
|
|
638
651
|
source: z.ZodEnum<{
|
|
652
|
+
store: "store";
|
|
639
653
|
upload: "upload";
|
|
640
654
|
ci: "ci";
|
|
641
655
|
manual: "manual";
|
|
642
|
-
store: "store";
|
|
643
656
|
}>;
|
|
644
657
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
645
658
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -868,7 +881,6 @@ export declare const EnhancedArtifactListItemSchema: z.ZodObject<{
|
|
|
868
881
|
updatedAt: z.ZodString;
|
|
869
882
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
870
883
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
871
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
872
884
|
buildMaturity: z.ZodNullable<z.ZodObject<{
|
|
873
885
|
score: z.ZodNumber;
|
|
874
886
|
level: z.ZodEnum<{
|
|
@@ -898,12 +910,17 @@ export declare const EnhancedArtifactListResponseSchema: z.ZodObject<{
|
|
|
898
910
|
appId: z.ZodString;
|
|
899
911
|
orgId: z.ZodString;
|
|
900
912
|
isSystemCreated: z.ZodBoolean;
|
|
901
|
-
|
|
913
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
914
|
+
id: z.ZodString;
|
|
915
|
+
name: z.ZodNullable<z.ZodString>;
|
|
916
|
+
email: z.ZodString;
|
|
917
|
+
image: z.ZodNullable<z.ZodString>;
|
|
918
|
+
}, z.core.$strip>>;
|
|
902
919
|
platform: z.ZodEnum<{
|
|
903
920
|
android: "android";
|
|
904
921
|
ios: "ios";
|
|
905
|
-
desktop: "desktop";
|
|
906
922
|
web: "web";
|
|
923
|
+
desktop: "desktop";
|
|
907
924
|
}>;
|
|
908
925
|
artifactType: z.ZodEnum<{
|
|
909
926
|
apk: "apk";
|
|
@@ -921,16 +938,16 @@ export declare const EnhancedArtifactListResponseSchema: z.ZodObject<{
|
|
|
921
938
|
version: z.ZodNullable<z.ZodString>;
|
|
922
939
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
923
940
|
status: z.ZodEnum<{
|
|
941
|
+
failed: "failed";
|
|
924
942
|
uploading: "uploading";
|
|
925
943
|
processing: "processing";
|
|
926
944
|
ready: "ready";
|
|
927
|
-
failed: "failed";
|
|
928
945
|
}>;
|
|
929
946
|
source: z.ZodEnum<{
|
|
947
|
+
store: "store";
|
|
930
948
|
upload: "upload";
|
|
931
949
|
ci: "ci";
|
|
932
950
|
manual: "manual";
|
|
933
|
-
store: "store";
|
|
934
951
|
}>;
|
|
935
952
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
936
953
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1159,7 +1176,6 @@ export declare const EnhancedArtifactListResponseSchema: z.ZodObject<{
|
|
|
1159
1176
|
updatedAt: z.ZodString;
|
|
1160
1177
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1161
1178
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
1162
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
1163
1179
|
buildMaturity: z.ZodNullable<z.ZodObject<{
|
|
1164
1180
|
score: z.ZodNumber;
|
|
1165
1181
|
level: z.ZodEnum<{
|
|
@@ -1197,12 +1213,17 @@ export declare const BatchResultSchema: z.ZodObject<{
|
|
|
1197
1213
|
appId: z.ZodString;
|
|
1198
1214
|
orgId: z.ZodString;
|
|
1199
1215
|
isSystemCreated: z.ZodBoolean;
|
|
1200
|
-
|
|
1216
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
1217
|
+
id: z.ZodString;
|
|
1218
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1219
|
+
email: z.ZodString;
|
|
1220
|
+
image: z.ZodNullable<z.ZodString>;
|
|
1221
|
+
}, z.core.$strip>>;
|
|
1201
1222
|
platform: z.ZodEnum<{
|
|
1202
1223
|
android: "android";
|
|
1203
1224
|
ios: "ios";
|
|
1204
|
-
desktop: "desktop";
|
|
1205
1225
|
web: "web";
|
|
1226
|
+
desktop: "desktop";
|
|
1206
1227
|
}>;
|
|
1207
1228
|
artifactType: z.ZodEnum<{
|
|
1208
1229
|
apk: "apk";
|
|
@@ -1220,16 +1241,16 @@ export declare const BatchResultSchema: z.ZodObject<{
|
|
|
1220
1241
|
version: z.ZodNullable<z.ZodString>;
|
|
1221
1242
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
1222
1243
|
status: z.ZodEnum<{
|
|
1244
|
+
failed: "failed";
|
|
1223
1245
|
uploading: "uploading";
|
|
1224
1246
|
processing: "processing";
|
|
1225
1247
|
ready: "ready";
|
|
1226
|
-
failed: "failed";
|
|
1227
1248
|
}>;
|
|
1228
1249
|
source: z.ZodEnum<{
|
|
1250
|
+
store: "store";
|
|
1229
1251
|
upload: "upload";
|
|
1230
1252
|
ci: "ci";
|
|
1231
1253
|
manual: "manual";
|
|
1232
|
-
store: "store";
|
|
1233
1254
|
}>;
|
|
1234
1255
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
1235
1256
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1458,7 +1479,6 @@ export declare const BatchResultSchema: z.ZodObject<{
|
|
|
1458
1479
|
updatedAt: z.ZodString;
|
|
1459
1480
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1460
1481
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
1461
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
1462
1482
|
}, z.core.$strip>>;
|
|
1463
1483
|
failed: z.ZodArray<z.ZodObject<{
|
|
1464
1484
|
index: z.ZodNumber;
|
|
@@ -1715,12 +1735,17 @@ export declare const EnhancedArtifactResponseSchema: z.ZodObject<{
|
|
|
1715
1735
|
appId: z.ZodString;
|
|
1716
1736
|
orgId: z.ZodString;
|
|
1717
1737
|
isSystemCreated: z.ZodBoolean;
|
|
1718
|
-
|
|
1738
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
1739
|
+
id: z.ZodString;
|
|
1740
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1741
|
+
email: z.ZodString;
|
|
1742
|
+
image: z.ZodNullable<z.ZodString>;
|
|
1743
|
+
}, z.core.$strip>>;
|
|
1719
1744
|
platform: z.ZodEnum<{
|
|
1720
1745
|
android: "android";
|
|
1721
1746
|
ios: "ios";
|
|
1722
|
-
desktop: "desktop";
|
|
1723
1747
|
web: "web";
|
|
1748
|
+
desktop: "desktop";
|
|
1724
1749
|
}>;
|
|
1725
1750
|
artifactType: z.ZodEnum<{
|
|
1726
1751
|
apk: "apk";
|
|
@@ -1738,16 +1763,16 @@ export declare const EnhancedArtifactResponseSchema: z.ZodObject<{
|
|
|
1738
1763
|
version: z.ZodNullable<z.ZodString>;
|
|
1739
1764
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
1740
1765
|
status: z.ZodEnum<{
|
|
1766
|
+
failed: "failed";
|
|
1741
1767
|
uploading: "uploading";
|
|
1742
1768
|
processing: "processing";
|
|
1743
1769
|
ready: "ready";
|
|
1744
|
-
failed: "failed";
|
|
1745
1770
|
}>;
|
|
1746
1771
|
source: z.ZodEnum<{
|
|
1772
|
+
store: "store";
|
|
1747
1773
|
upload: "upload";
|
|
1748
1774
|
ci: "ci";
|
|
1749
1775
|
manual: "manual";
|
|
1750
|
-
store: "store";
|
|
1751
1776
|
}>;
|
|
1752
1777
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
1753
1778
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1976,7 +2001,6 @@ export declare const EnhancedArtifactResponseSchema: z.ZodObject<{
|
|
|
1976
2001
|
updatedAt: z.ZodString;
|
|
1977
2002
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1978
2003
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
1979
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
1980
2004
|
buildMaturity: z.ZodNullable<z.ZodObject<{
|
|
1981
2005
|
score: z.ZodNumber;
|
|
1982
2006
|
level: z.ZodEnum<{
|
|
@@ -2244,10 +2268,10 @@ export type ResourceInflationAnalysis = z.infer<typeof ResourceInflationAnalysis
|
|
|
2244
2268
|
* Upload progress stage schema
|
|
2245
2269
|
*/
|
|
2246
2270
|
export declare const UploadProgressStageSchema: z.ZodEnum<{
|
|
2271
|
+
pending: "pending";
|
|
2272
|
+
failed: "failed";
|
|
2247
2273
|
uploading: "uploading";
|
|
2248
2274
|
processing: "processing";
|
|
2249
|
-
failed: "failed";
|
|
2250
|
-
pending: "pending";
|
|
2251
2275
|
complete: "complete";
|
|
2252
2276
|
}>;
|
|
2253
2277
|
/**
|
|
@@ -2255,10 +2279,10 @@ export declare const UploadProgressStageSchema: z.ZodEnum<{
|
|
|
2255
2279
|
*/
|
|
2256
2280
|
export declare const UploadProgressSchema: z.ZodObject<{
|
|
2257
2281
|
stage: z.ZodEnum<{
|
|
2282
|
+
pending: "pending";
|
|
2283
|
+
failed: "failed";
|
|
2258
2284
|
uploading: "uploading";
|
|
2259
2285
|
processing: "processing";
|
|
2260
|
-
failed: "failed";
|
|
2261
|
-
pending: "pending";
|
|
2262
2286
|
complete: "complete";
|
|
2263
2287
|
}>;
|
|
2264
2288
|
message: z.ZodString;
|
|
@@ -2272,19 +2296,19 @@ export declare const UploadProgressSchema: z.ZodObject<{
|
|
|
2272
2296
|
export declare const UploadStatusResponseSchema: z.ZodObject<{
|
|
2273
2297
|
artifactId: z.ZodString;
|
|
2274
2298
|
status: z.ZodEnum<{
|
|
2299
|
+
failed: "failed";
|
|
2275
2300
|
uploading: "uploading";
|
|
2276
2301
|
processing: "processing";
|
|
2277
2302
|
ready: "ready";
|
|
2278
|
-
failed: "failed";
|
|
2279
2303
|
}>;
|
|
2280
2304
|
filename: z.ZodNullable<z.ZodString>;
|
|
2281
2305
|
sizeBytes: z.ZodNumber;
|
|
2282
2306
|
progress: z.ZodObject<{
|
|
2283
2307
|
stage: z.ZodEnum<{
|
|
2308
|
+
pending: "pending";
|
|
2309
|
+
failed: "failed";
|
|
2284
2310
|
uploading: "uploading";
|
|
2285
2311
|
processing: "processing";
|
|
2286
|
-
failed: "failed";
|
|
2287
|
-
pending: "pending";
|
|
2288
2312
|
complete: "complete";
|
|
2289
2313
|
}>;
|
|
2290
2314
|
message: z.ZodString;
|
|
@@ -2313,19 +2337,19 @@ export declare const BatchUploadStatusResponseSchema: z.ZodObject<{
|
|
|
2313
2337
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
2314
2338
|
artifactId: z.ZodString;
|
|
2315
2339
|
status: z.ZodEnum<{
|
|
2340
|
+
failed: "failed";
|
|
2316
2341
|
uploading: "uploading";
|
|
2317
2342
|
processing: "processing";
|
|
2318
2343
|
ready: "ready";
|
|
2319
|
-
failed: "failed";
|
|
2320
2344
|
}>;
|
|
2321
2345
|
filename: z.ZodNullable<z.ZodString>;
|
|
2322
2346
|
sizeBytes: z.ZodNumber;
|
|
2323
2347
|
progress: z.ZodObject<{
|
|
2324
2348
|
stage: z.ZodEnum<{
|
|
2349
|
+
pending: "pending";
|
|
2350
|
+
failed: "failed";
|
|
2325
2351
|
uploading: "uploading";
|
|
2326
2352
|
processing: "processing";
|
|
2327
|
-
failed: "failed";
|
|
2328
|
-
pending: "pending";
|
|
2329
2353
|
complete: "complete";
|
|
2330
2354
|
}>;
|
|
2331
2355
|
message: z.ZodString;
|
|
@@ -2374,8 +2398,8 @@ export declare const PrepareUploadItemSchema: z.ZodObject<{
|
|
|
2374
2398
|
platform: z.ZodEnum<{
|
|
2375
2399
|
android: "android";
|
|
2376
2400
|
ios: "ios";
|
|
2377
|
-
desktop: "desktop";
|
|
2378
2401
|
web: "web";
|
|
2402
|
+
desktop: "desktop";
|
|
2379
2403
|
}>;
|
|
2380
2404
|
uploadType: z.ZodEnum<{
|
|
2381
2405
|
simple: "simple";
|
|
@@ -2413,8 +2437,8 @@ export declare const PrepareUploadResponseSchema: z.ZodObject<{
|
|
|
2413
2437
|
platform: z.ZodEnum<{
|
|
2414
2438
|
android: "android";
|
|
2415
2439
|
ios: "ios";
|
|
2416
|
-
desktop: "desktop";
|
|
2417
2440
|
web: "web";
|
|
2441
|
+
desktop: "desktop";
|
|
2418
2442
|
}>;
|
|
2419
2443
|
uploadType: z.ZodEnum<{
|
|
2420
2444
|
simple: "simple";
|
|
@@ -2458,12 +2482,17 @@ export declare const FinalizeUploadResponseSchema: z.ZodObject<{
|
|
|
2458
2482
|
appId: z.ZodString;
|
|
2459
2483
|
orgId: z.ZodString;
|
|
2460
2484
|
isSystemCreated: z.ZodBoolean;
|
|
2461
|
-
|
|
2485
|
+
createdByUser: z.ZodNullable<z.ZodObject<{
|
|
2486
|
+
id: z.ZodString;
|
|
2487
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2488
|
+
email: z.ZodString;
|
|
2489
|
+
image: z.ZodNullable<z.ZodString>;
|
|
2490
|
+
}, z.core.$strip>>;
|
|
2462
2491
|
platform: z.ZodEnum<{
|
|
2463
2492
|
android: "android";
|
|
2464
2493
|
ios: "ios";
|
|
2465
|
-
desktop: "desktop";
|
|
2466
2494
|
web: "web";
|
|
2495
|
+
desktop: "desktop";
|
|
2467
2496
|
}>;
|
|
2468
2497
|
artifactType: z.ZodEnum<{
|
|
2469
2498
|
apk: "apk";
|
|
@@ -2481,16 +2510,16 @@ export declare const FinalizeUploadResponseSchema: z.ZodObject<{
|
|
|
2481
2510
|
version: z.ZodNullable<z.ZodString>;
|
|
2482
2511
|
versionCode: z.ZodNullable<z.ZodNumber>;
|
|
2483
2512
|
status: z.ZodEnum<{
|
|
2513
|
+
failed: "failed";
|
|
2484
2514
|
uploading: "uploading";
|
|
2485
2515
|
processing: "processing";
|
|
2486
2516
|
ready: "ready";
|
|
2487
|
-
failed: "failed";
|
|
2488
2517
|
}>;
|
|
2489
2518
|
source: z.ZodEnum<{
|
|
2519
|
+
store: "store";
|
|
2490
2520
|
upload: "upload";
|
|
2491
2521
|
ci: "ci";
|
|
2492
2522
|
manual: "manual";
|
|
2493
|
-
store: "store";
|
|
2494
2523
|
}>;
|
|
2495
2524
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
2496
2525
|
artifactType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2719,7 +2748,6 @@ export declare const FinalizeUploadResponseSchema: z.ZodObject<{
|
|
|
2719
2748
|
updatedAt: z.ZodString;
|
|
2720
2749
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2721
2750
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
2722
|
-
verifiedBy: z.ZodNullable<z.ZodString>;
|
|
2723
2751
|
}, z.core.$strip>>;
|
|
2724
2752
|
failed: z.ZodArray<z.ZodObject<{
|
|
2725
2753
|
artifactId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/artifacts/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/artifacts/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB;;;;;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AC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Zod schemas for artifacts API response formatting.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { IdentifierSchema, createPaginatedResponseSchema, IsoDateStringSchema, NullableIsoDateStringSchema } from '../common.js';
|
|
7
|
+
import { IdentifierSchema, createPaginatedResponseSchema, IsoDateStringSchema, NullableIsoDateStringSchema, UserInfoSchema } from '../common.js';
|
|
8
8
|
import { ArtifactSourceSchema, ArtifactTypeSchema, ArtifactPlatformSchema, ArtifactStatusSchema, ArtifactMetadataSchema, } from './domain.schema.js';
|
|
9
9
|
/**
|
|
10
10
|
* Artifact response schema
|
|
@@ -32,7 +32,7 @@ export const ArtifactResponseSchema = z.object({
|
|
|
32
32
|
orgId: IdentifierSchema,
|
|
33
33
|
// Identity management (Requirement 10.1)
|
|
34
34
|
isSystemCreated: z.boolean(),
|
|
35
|
-
|
|
35
|
+
createdByUser: UserInfoSchema.nullable(), // NULL for system-created artifacts
|
|
36
36
|
// Storage & identity
|
|
37
37
|
platform: ArtifactPlatformSchema,
|
|
38
38
|
artifactType: ArtifactTypeSchema,
|
|
@@ -56,7 +56,6 @@ export const ArtifactResponseSchema = z.object({
|
|
|
56
56
|
expiresAt: NullableIsoDateStringSchema, // Requirement 10.8
|
|
57
57
|
// Verification (Requirements 10.6, 10.7)
|
|
58
58
|
verifiedAt: NullableIsoDateStringSchema,
|
|
59
|
-
verifiedBy: z.string().nullable(),
|
|
60
59
|
});
|
|
61
60
|
/**
|
|
62
61
|
* Artifact list response schema
|