@oore/client 0.14.0 → 0.16.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/generated/@tanstack/react-query.gen.d.ts +93 -1
- package/dist/generated/@tanstack/react-query.gen.js +80 -1
- package/dist/generated/msw.gen.d.ts +44 -1
- package/dist/generated/msw.gen.js +69 -0
- package/dist/generated/sdk.gen.d.ts +26 -1
- package/dist/generated/sdk.gen.js +44 -0
- package/dist/generated/types.gen.d.ts +160 -1
- package/dist/generated/valibot/v-abort-artifact-response.d.ts +1 -1
- package/dist/generated/valibot/v-artifact-type.d.ts +1 -1
- package/dist/generated/valibot/v-artifact-type.js +1 -0
- package/dist/generated/valibot/v-artifact.d.ts +1 -1
- package/dist/generated/valibot/v-build-feedback.d.ts +14 -0
- package/dist/generated/valibot/v-build-feedback.js +19 -0
- package/dist/generated/valibot/v-complete-artifact-response.d.ts +1 -1
- package/dist/generated/valibot/v-complete-artifact-response2.d.ts +1 -1
- package/dist/generated/valibot/v-create-artifact-response.d.ts +1 -1
- package/dist/generated/valibot/v-create-artifact-response2.d.ts +1 -1
- package/dist/generated/valibot/v-create-build-feedback-body.d.ts +9 -0
- package/dist/generated/valibot/v-create-build-feedback-body.js +3 -0
- package/dist/generated/valibot/v-create-build-feedback-path.d.ts +4 -0
- package/dist/generated/valibot/v-create-build-feedback-path.js +5 -0
- package/dist/generated/valibot/v-create-build-feedback-request.d.ts +9 -0
- package/dist/generated/valibot/v-create-build-feedback-request.js +10 -0
- package/dist/generated/valibot/v-create-build-feedback-response.d.ts +14 -0
- package/dist/generated/valibot/v-create-build-feedback-response.js +3 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-path.d.ts +5 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-path.js +6 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-response.d.ts +2 -0
- package/dist/generated/valibot/v-get-build-feedback-screenshot-response.js +3 -0
- package/dist/generated/valibot/v-list-artifacts-response.d.ts +1 -1
- package/dist/generated/valibot/v-list-artifacts-response2.d.ts +1 -1
- package/dist/generated/valibot/v-list-build-artifacts-response.d.ts +1 -1
- package/dist/generated/valibot/v-list-build-feedback-path.d.ts +4 -0
- package/dist/generated/valibot/v-list-build-feedback-path.js +5 -0
- package/dist/generated/valibot/v-list-build-feedback-response.d.ts +16 -0
- package/dist/generated/valibot/v-list-build-feedback-response.js +6 -0
- package/dist/generated/valibot/v-list-build-feedback-response2.d.ts +16 -0
- package/dist/generated/valibot/v-list-build-feedback-response2.js +3 -0
- package/dist/generated/valibot/v-list-project-artifacts-response.d.ts +1 -1
- package/dist/msw.d.ts +2 -2
- package/dist/msw.js +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/react-query.js +1 -1
- package/dist/valibot.d.ts +10 -0
- package/dist/valibot.js +10 -0
- package/openapi/openapi.json +358 -0
- package/package.json +1 -1
|
@@ -186,7 +186,7 @@ export type ArtifactStorageSettingsResponse = {
|
|
|
186
186
|
settings: ArtifactStorageSettings;
|
|
187
187
|
};
|
|
188
188
|
export type ArtifactStorageSource = 'database' | 'environment' | 'default';
|
|
189
|
-
export type ArtifactType = 'apk' | 'ipa' | 'app' | 'generic';
|
|
189
|
+
export type ArtifactType = 'apk' | 'ipa' | 'app' | 'aab' | 'generic';
|
|
190
190
|
export type AuditLogEntry = {
|
|
191
191
|
action: string;
|
|
192
192
|
actor_email?: string | null;
|
|
@@ -313,6 +313,25 @@ export type BuildEvent = {
|
|
|
313
313
|
reason?: string | null;
|
|
314
314
|
to_status: string;
|
|
315
315
|
};
|
|
316
|
+
export type BuildFeedback = {
|
|
317
|
+
app_version?: string | null;
|
|
318
|
+
artifact_id?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* Email of the person who sent it.
|
|
321
|
+
*/
|
|
322
|
+
author_email: string;
|
|
323
|
+
author_name?: string | null;
|
|
324
|
+
build_id: string;
|
|
325
|
+
created_at: number;
|
|
326
|
+
device?: string | null;
|
|
327
|
+
/**
|
|
328
|
+
* Fetch it from `GET /v1/builds/{build_id}/feedback/{feedback_id}/screenshot`.
|
|
329
|
+
*/
|
|
330
|
+
has_screenshot: boolean;
|
|
331
|
+
id: string;
|
|
332
|
+
message: string;
|
|
333
|
+
os_version?: string | null;
|
|
334
|
+
};
|
|
316
335
|
/**
|
|
317
336
|
* One day of finished builds, in the caller's UTC offset.
|
|
318
337
|
*/
|
|
@@ -553,6 +572,33 @@ export type CreateArtifactResponse = {
|
|
|
553
572
|
artifact: Artifact;
|
|
554
573
|
upload_url: string;
|
|
555
574
|
};
|
|
575
|
+
export type CreateBuildFeedbackRequest = {
|
|
576
|
+
/**
|
|
577
|
+
* App version the tester installed, such as `2.4.0+118`.
|
|
578
|
+
*/
|
|
579
|
+
app_version?: string | null;
|
|
580
|
+
/**
|
|
581
|
+
* The build's artifact the tester installed. Must belong to this build.
|
|
582
|
+
*/
|
|
583
|
+
artifact_id?: string | null;
|
|
584
|
+
/**
|
|
585
|
+
* Device model, such as `Pixel 8` or `iPhone`.
|
|
586
|
+
*/
|
|
587
|
+
device?: string | null;
|
|
588
|
+
/**
|
|
589
|
+
* What the tester saw. 1 to 4000 characters.
|
|
590
|
+
*/
|
|
591
|
+
message: string;
|
|
592
|
+
/**
|
|
593
|
+
* Operating system and version, such as `Android 15` or `iOS 18.1`.
|
|
594
|
+
*/
|
|
595
|
+
os_version?: string | null;
|
|
596
|
+
/**
|
|
597
|
+
* Optional PNG, JPEG or WebP screenshot, base64 encoded, at most 5 MiB
|
|
598
|
+
* decoded. Requires artifact storage.
|
|
599
|
+
*/
|
|
600
|
+
screenshot_base64?: string | null;
|
|
601
|
+
};
|
|
556
602
|
export type CreateBuildRequest = {
|
|
557
603
|
branch?: string | null;
|
|
558
604
|
changelog?: string | null;
|
|
@@ -1038,6 +1084,12 @@ export type ListBuildActorsResponse = {
|
|
|
1038
1084
|
export type ListBuildArtifactsRequest = {
|
|
1039
1085
|
build_ids: Array<string>;
|
|
1040
1086
|
};
|
|
1087
|
+
export type ListBuildFeedbackResponse = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Oldest first.
|
|
1090
|
+
*/
|
|
1091
|
+
feedback: Array<BuildFeedback>;
|
|
1092
|
+
};
|
|
1041
1093
|
export type ListBuildsResponse = {
|
|
1042
1094
|
builds: Array<Build>;
|
|
1043
1095
|
total: number;
|
|
@@ -3566,6 +3618,113 @@ export type CancelBuildResponses = {
|
|
|
3566
3618
|
200: CancelBuildResponse;
|
|
3567
3619
|
};
|
|
3568
3620
|
export type CancelBuildResponse2 = CancelBuildResponses[keyof CancelBuildResponses];
|
|
3621
|
+
export type ListBuildFeedbackData = {
|
|
3622
|
+
body?: never;
|
|
3623
|
+
path: {
|
|
3624
|
+
/**
|
|
3625
|
+
* Build ID
|
|
3626
|
+
*/
|
|
3627
|
+
build_id: string;
|
|
3628
|
+
};
|
|
3629
|
+
query?: never;
|
|
3630
|
+
url: '/v1/builds/{build_id}/feedback';
|
|
3631
|
+
};
|
|
3632
|
+
export type ListBuildFeedbackErrors = {
|
|
3633
|
+
/**
|
|
3634
|
+
* Build not found
|
|
3635
|
+
*/
|
|
3636
|
+
404: ApiError;
|
|
3637
|
+
};
|
|
3638
|
+
export type ListBuildFeedbackError = ListBuildFeedbackErrors[keyof ListBuildFeedbackErrors];
|
|
3639
|
+
export type ListBuildFeedbackResponses = {
|
|
3640
|
+
/**
|
|
3641
|
+
* Feedback for the build
|
|
3642
|
+
*/
|
|
3643
|
+
200: ListBuildFeedbackResponse;
|
|
3644
|
+
};
|
|
3645
|
+
export type ListBuildFeedbackResponse2 = ListBuildFeedbackResponses[keyof ListBuildFeedbackResponses];
|
|
3646
|
+
export type CreateBuildFeedbackData = {
|
|
3647
|
+
body: CreateBuildFeedbackRequest;
|
|
3648
|
+
path: {
|
|
3649
|
+
/**
|
|
3650
|
+
* Build ID
|
|
3651
|
+
*/
|
|
3652
|
+
build_id: string;
|
|
3653
|
+
};
|
|
3654
|
+
query?: never;
|
|
3655
|
+
url: '/v1/builds/{build_id}/feedback';
|
|
3656
|
+
};
|
|
3657
|
+
export type CreateBuildFeedbackErrors = {
|
|
3658
|
+
/**
|
|
3659
|
+
* Missing message, a field too long, or an artifact from another build
|
|
3660
|
+
*/
|
|
3661
|
+
400: ApiError;
|
|
3662
|
+
/**
|
|
3663
|
+
* Permission denied
|
|
3664
|
+
*/
|
|
3665
|
+
403: ApiError;
|
|
3666
|
+
/**
|
|
3667
|
+
* Build not found
|
|
3668
|
+
*/
|
|
3669
|
+
404: ApiError;
|
|
3670
|
+
/**
|
|
3671
|
+
* A screenshot was attached but artifact storage is not configured
|
|
3672
|
+
*/
|
|
3673
|
+
409: ApiError;
|
|
3674
|
+
/**
|
|
3675
|
+
* Screenshot larger than 5 MiB
|
|
3676
|
+
*/
|
|
3677
|
+
413: ApiError;
|
|
3678
|
+
/**
|
|
3679
|
+
* Screenshot is not a PNG, JPEG or WebP image
|
|
3680
|
+
*/
|
|
3681
|
+
415: ApiError;
|
|
3682
|
+
/**
|
|
3683
|
+
* Too much feedback sent recently
|
|
3684
|
+
*/
|
|
3685
|
+
429: ApiError;
|
|
3686
|
+
};
|
|
3687
|
+
export type CreateBuildFeedbackError = CreateBuildFeedbackErrors[keyof CreateBuildFeedbackErrors];
|
|
3688
|
+
export type CreateBuildFeedbackResponses = {
|
|
3689
|
+
/**
|
|
3690
|
+
* Feedback recorded
|
|
3691
|
+
*/
|
|
3692
|
+
201: BuildFeedback;
|
|
3693
|
+
};
|
|
3694
|
+
export type CreateBuildFeedbackResponse = CreateBuildFeedbackResponses[keyof CreateBuildFeedbackResponses];
|
|
3695
|
+
export type GetBuildFeedbackScreenshotData = {
|
|
3696
|
+
body?: never;
|
|
3697
|
+
path: {
|
|
3698
|
+
/**
|
|
3699
|
+
* Build ID
|
|
3700
|
+
*/
|
|
3701
|
+
build_id: string;
|
|
3702
|
+
/**
|
|
3703
|
+
* Feedback ID
|
|
3704
|
+
*/
|
|
3705
|
+
feedback_id: string;
|
|
3706
|
+
};
|
|
3707
|
+
query?: never;
|
|
3708
|
+
url: '/v1/builds/{build_id}/feedback/{feedback_id}/screenshot';
|
|
3709
|
+
};
|
|
3710
|
+
export type GetBuildFeedbackScreenshotErrors = {
|
|
3711
|
+
/**
|
|
3712
|
+
* Build, feedback or screenshot not found
|
|
3713
|
+
*/
|
|
3714
|
+
404: ApiError;
|
|
3715
|
+
/**
|
|
3716
|
+
* The screenshot could not be read from artifact storage
|
|
3717
|
+
*/
|
|
3718
|
+
500: ApiError;
|
|
3719
|
+
};
|
|
3720
|
+
export type GetBuildFeedbackScreenshotError = GetBuildFeedbackScreenshotErrors[keyof GetBuildFeedbackScreenshotErrors];
|
|
3721
|
+
export type GetBuildFeedbackScreenshotResponses = {
|
|
3722
|
+
/**
|
|
3723
|
+
* Screenshot image
|
|
3724
|
+
*/
|
|
3725
|
+
200: BinaryPayload;
|
|
3726
|
+
};
|
|
3727
|
+
export type GetBuildFeedbackScreenshotResponse = GetBuildFeedbackScreenshotResponses[keyof GetBuildFeedbackScreenshotResponses];
|
|
3569
3728
|
export type GetBuildLogsData = {
|
|
3570
3729
|
body?: never;
|
|
3571
3730
|
path: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vAbortArtifactResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifact: v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const vArtifactType: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
2
|
+
export declare const vArtifactType: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vArtifact: v.ObjectSchema<{
|
|
3
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
3
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
4
4
|
readonly build_id: v.StringSchema<undefined>;
|
|
5
5
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
6
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vBuildFeedback: v.ObjectSchema<{
|
|
3
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly author_email: v.StringSchema<undefined>;
|
|
6
|
+
readonly author_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
8
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
9
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly has_screenshot: v.BooleanSchema<undefined>;
|
|
11
|
+
readonly id: v.StringSchema<undefined>;
|
|
12
|
+
readonly message: v.StringSchema<undefined>;
|
|
13
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export const vBuildFeedback = v.object({
|
|
4
|
+
app_version: v.nullish(v.string()),
|
|
5
|
+
artifact_id: v.nullish(v.string()),
|
|
6
|
+
author_email: v.string(),
|
|
7
|
+
author_name: v.nullish(v.string()),
|
|
8
|
+
build_id: v.string(),
|
|
9
|
+
created_at: v.pipe(v.union([
|
|
10
|
+
v.number(),
|
|
11
|
+
v.string(),
|
|
12
|
+
v.bigint()
|
|
13
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807')),
|
|
14
|
+
device: v.nullish(v.string()),
|
|
15
|
+
has_screenshot: v.boolean(),
|
|
16
|
+
id: v.string(),
|
|
17
|
+
message: v.string(),
|
|
18
|
+
os_version: v.nullish(v.string())
|
|
19
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCompleteArtifactResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifact: v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCompleteArtifactResponse2: v.ObjectSchema<{
|
|
3
3
|
readonly artifact: v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCreateArtifactResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifact: v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCreateArtifactResponse2: v.ObjectSchema<{
|
|
3
3
|
readonly artifact: v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateBuildFeedbackBody: v.ObjectSchema<{
|
|
3
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly message: v.StringSchema<undefined>;
|
|
7
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly screenshot_base64: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
}, undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateBuildFeedbackRequest: v.ObjectSchema<{
|
|
3
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly message: v.StringSchema<undefined>;
|
|
7
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly screenshot_base64: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
}, undefined>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export const vCreateBuildFeedbackRequest = v.object({
|
|
4
|
+
app_version: v.nullish(v.string()),
|
|
5
|
+
artifact_id: v.nullish(v.string()),
|
|
6
|
+
device: v.nullish(v.string()),
|
|
7
|
+
message: v.string(),
|
|
8
|
+
os_version: v.nullish(v.string()),
|
|
9
|
+
screenshot_base64: v.nullish(v.string())
|
|
10
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateBuildFeedbackResponse: v.ObjectSchema<{
|
|
3
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly author_email: v.StringSchema<undefined>;
|
|
6
|
+
readonly author_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
8
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
9
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly has_screenshot: v.BooleanSchema<undefined>;
|
|
11
|
+
readonly id: v.StringSchema<undefined>;
|
|
12
|
+
readonly message: v.StringSchema<undefined>;
|
|
13
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vListArtifactsResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vListArtifactsResponse2: v.ObjectSchema<{
|
|
3
3
|
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vListBuildArtifactsResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vListBuildFeedbackResponse: v.ObjectSchema<{
|
|
3
|
+
readonly feedback: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly author_email: v.StringSchema<undefined>;
|
|
7
|
+
readonly author_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
9
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
10
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
readonly has_screenshot: v.BooleanSchema<undefined>;
|
|
12
|
+
readonly id: v.StringSchema<undefined>;
|
|
13
|
+
readonly message: v.StringSchema<undefined>;
|
|
14
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
}, undefined>, undefined>;
|
|
16
|
+
}, undefined>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vListBuildFeedbackResponse2: v.ObjectSchema<{
|
|
3
|
+
readonly feedback: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
+
readonly app_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly author_email: v.StringSchema<undefined>;
|
|
7
|
+
readonly author_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
9
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
10
|
+
readonly device: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
readonly has_screenshot: v.BooleanSchema<undefined>;
|
|
12
|
+
readonly id: v.StringSchema<undefined>;
|
|
13
|
+
readonly message: v.StringSchema<undefined>;
|
|
14
|
+
readonly os_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
}, undefined>, undefined>;
|
|
16
|
+
}, undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vListProjectArtifactsResponse: v.ObjectSchema<{
|
|
3
3
|
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
-
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "generic"], undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
5
|
readonly build_id: v.StringSchema<undefined>;
|
|
6
6
|
readonly checksum: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|