@oore/client 0.10.0 → 0.12.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 +36 -12
- package/dist/generated/@tanstack/react-query.gen.js +41 -10
- package/dist/generated/msw.gen.d.ts +15 -1
- package/dist/generated/msw.gen.js +23 -0
- package/dist/generated/sdk.gen.d.ts +16 -6
- package/dist/generated/sdk.gen.js +23 -4
- package/dist/generated/types.gen.d.ts +145 -11
- package/dist/generated/valibot/v-approval-policy.d.ts +1 -0
- package/dist/generated/valibot/v-approval-policy.js +1 -0
- package/dist/generated/valibot/v-create-local-git-integration-response.d.ts +2 -0
- package/dist/generated/valibot/v-create-local-git-integration-response2.d.ts +2 -0
- package/dist/generated/valibot/v-create-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-create-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-request.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-response2.d.ts +1 -0
- package/dist/generated/valibot/v-delete-instance-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-instance-secret-query.js +5 -0
- package/dist/generated/valibot/v-delete-pipeline-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-pipeline-secret-query.js +5 -0
- package/dist/generated/valibot/v-delete-project-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-project-secret-query.js +5 -0
- package/dist/generated/valibot/v-get-integration-response.d.ts +2 -0
- package/dist/generated/valibot/v-get-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-get-pipeline-google-play-publish-response.d.ts +8 -0
- package/dist/generated/valibot/v-get-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-git-hub-app-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-git-lab-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-github-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-gitlab-start-response.d.ts +2 -0
- package/dist/generated/valibot/v-google-play-credentials-test-request.d.ts +5 -0
- package/dist/generated/valibot/v-google-play-credentials-test-request.js +6 -0
- package/dist/generated/valibot/v-google-play-credentials-test-response.d.ts +9 -0
- package/dist/generated/valibot/v-google-play-credentials-test-response.js +14 -0
- package/dist/generated/valibot/v-integration-detail-response.d.ts +2 -0
- package/dist/generated/valibot/v-integration.d.ts +2 -0
- package/dist/generated/valibot/v-integration.js +6 -0
- package/dist/generated/valibot/v-list-builds-query.d.ts +2 -0
- package/dist/generated/valibot/v-list-builds-query.js +2 -0
- package/dist/generated/valibot/v-list-integrations-response.d.ts +2 -0
- package/dist/generated/valibot/v-list-integrations-response2.d.ts +2 -0
- package/dist/generated/valibot/v-list-local-git-integrations-response.d.ts +2 -0
- package/dist/generated/valibot/v-list-notification-channels-response.d.ts +9 -0
- package/dist/generated/valibot/v-list-notification-channels-response2.d.ts +9 -0
- package/dist/generated/valibot/v-list-pipelines-response.d.ts +1 -0
- package/dist/generated/valibot/v-list-pipelines-response2.d.ts +1 -0
- package/dist/generated/valibot/v-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-notification-channel.d.ts +9 -0
- package/dist/generated/valibot/v-notification-channel.js +4 -1
- package/dist/generated/valibot/v-pipeline-detail-response.d.ts +1 -0
- package/dist/generated/valibot/v-pipeline-google-play-publish-response.d.ts +8 -0
- package/dist/generated/valibot/v-pipeline-google-play-publish-response.js +2 -0
- package/dist/generated/valibot/v-pipeline.d.ts +1 -0
- package/dist/generated/valibot/v-smtp-config-summary.d.ts +9 -0
- package/dist/generated/valibot/v-smtp-config-summary.js +11 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-body.d.ts +5 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-body.js +3 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-path.d.ts +4 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-path.js +5 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-response.d.ts +9 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-response.js +3 -0
- package/dist/generated/valibot/v-update-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-update-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-update-pipeline-google-play-publish-response.d.ts +8 -0
- package/dist/generated/valibot/v-update-pipeline-request.d.ts +1 -0
- package/dist/generated/valibot/v-update-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-validate-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-validate-pipeline-request.d.ts +1 -0
- 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 +12 -3
- package/dist/valibot.js +12 -3
- package/openapi/openapi.json +307 -13
- package/package.json +1 -1
|
@@ -121,6 +121,11 @@ export type ApprovalPolicy = {
|
|
|
121
121
|
* `tag_push`, `manual` or `schedule`. Empty means every build.
|
|
122
122
|
*/
|
|
123
123
|
events?: Array<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Hours a build waits for a decision before it is canceled. Defaults
|
|
126
|
+
* to 168 (7 days).
|
|
127
|
+
*/
|
|
128
|
+
expires_after_hours?: number | null;
|
|
124
129
|
required: boolean;
|
|
125
130
|
};
|
|
126
131
|
export type Artifact = {
|
|
@@ -808,6 +813,45 @@ export type GitLabStartRequest = {
|
|
|
808
813
|
client_secret?: string | null;
|
|
809
814
|
host_url: string;
|
|
810
815
|
};
|
|
816
|
+
/**
|
|
817
|
+
* Which service account key to check against Google Play. The values come
|
|
818
|
+
* from the form, so a key can be checked before the settings are saved.
|
|
819
|
+
*/
|
|
820
|
+
export type GooglePlayCredentialsTestRequest = {
|
|
821
|
+
/**
|
|
822
|
+
* The app to open. When omitted, the saved expected package is used,
|
|
823
|
+
* then the package of the pipeline's latest Google Play release.
|
|
824
|
+
*/
|
|
825
|
+
package_name?: string | null;
|
|
826
|
+
/**
|
|
827
|
+
* Name of the secret holding the service account JSON key.
|
|
828
|
+
*/
|
|
829
|
+
service_account_secret: string;
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* Outcome of a Google Play credentials check. A failed check is a normal
|
|
833
|
+
* answer, with Google's reason in `message`, not an HTTP error.
|
|
834
|
+
*/
|
|
835
|
+
export type GooglePlayCredentialsTestResponse = {
|
|
836
|
+
checked_at: number;
|
|
837
|
+
/**
|
|
838
|
+
* What passed, or the exact failure.
|
|
839
|
+
*/
|
|
840
|
+
message: string;
|
|
841
|
+
ok: boolean;
|
|
842
|
+
/**
|
|
843
|
+
* The app the check opened, when one was known.
|
|
844
|
+
*/
|
|
845
|
+
package_name?: string | null;
|
|
846
|
+
/**
|
|
847
|
+
* The key's `client_email`, when the secret is a service account key.
|
|
848
|
+
*/
|
|
849
|
+
service_account_email?: string | null;
|
|
850
|
+
/**
|
|
851
|
+
* The secret that was checked.
|
|
852
|
+
*/
|
|
853
|
+
service_account_secret: string;
|
|
854
|
+
};
|
|
811
855
|
/**
|
|
812
856
|
* Per-pipeline Google Play upload settings. Credentials are referenced by
|
|
813
857
|
* secret name and never stored here.
|
|
@@ -880,6 +924,15 @@ export type Integration = {
|
|
|
880
924
|
id: string;
|
|
881
925
|
provider: ScmProvider;
|
|
882
926
|
status: string;
|
|
927
|
+
/**
|
|
928
|
+
* When Oore last checked the source's credentials.
|
|
929
|
+
*/
|
|
930
|
+
status_checked_at?: number | null;
|
|
931
|
+
/**
|
|
932
|
+
* Why the source has its current status: `expired`, `rejected` or
|
|
933
|
+
* `refresh_failed` when credentials stopped working.
|
|
934
|
+
*/
|
|
935
|
+
status_reason?: string | null;
|
|
883
936
|
updated_at: number;
|
|
884
937
|
};
|
|
885
938
|
export type IntegrationAuthMode = 'github_app' | 'oauth_app' | 'personal_token' | 'local_path';
|
|
@@ -1108,7 +1161,14 @@ export type NotificationChannel = {
|
|
|
1108
1161
|
* offline.
|
|
1109
1162
|
*/
|
|
1110
1163
|
project_id?: string | null;
|
|
1164
|
+
smtp_summary?: null | SmtpConfigSummary;
|
|
1111
1165
|
updated_at: number;
|
|
1166
|
+
/**
|
|
1167
|
+
* Host of the configured URL, so operators can tell which endpoint
|
|
1168
|
+
* receives alerts. The full URL can carry a token and is never exposed.
|
|
1169
|
+
* Returned when reading one channel.
|
|
1170
|
+
*/
|
|
1171
|
+
url_host?: string | null;
|
|
1112
1172
|
};
|
|
1113
1173
|
export type NotificationChannelResponse = {
|
|
1114
1174
|
channel: NotificationChannel;
|
|
@@ -1239,6 +1299,7 @@ export type PipelineExecutionConfig = {
|
|
|
1239
1299
|
};
|
|
1240
1300
|
export type PipelineGooglePlayPublishResponse = {
|
|
1241
1301
|
config?: null | GooglePlayPublishConfig;
|
|
1302
|
+
last_credentials_check?: null | GooglePlayCredentialsTestResponse;
|
|
1242
1303
|
pipeline_id: string;
|
|
1243
1304
|
/**
|
|
1244
1305
|
* Whether the referenced service account secret exists in a visible scope.
|
|
@@ -1965,6 +2026,18 @@ export type SmtpConfig = {
|
|
|
1965
2026
|
tls_mode: SmtpTlsMode;
|
|
1966
2027
|
username: string;
|
|
1967
2028
|
};
|
|
2029
|
+
/**
|
|
2030
|
+
* The SMTP settings an operator can read back. The password is never
|
|
2031
|
+
* returned.
|
|
2032
|
+
*/
|
|
2033
|
+
export type SmtpConfigSummary = {
|
|
2034
|
+
from_address: string;
|
|
2035
|
+
host: string;
|
|
2036
|
+
port: number;
|
|
2037
|
+
recipients: Array<string>;
|
|
2038
|
+
tls_mode: SmtpTlsMode;
|
|
2039
|
+
username: string;
|
|
2040
|
+
};
|
|
1968
2041
|
export type SmtpTlsMode = 'none' | 'start_tls' | 'tls';
|
|
1969
2042
|
export type SourceRepository = IntegrationRepository & {
|
|
1970
2043
|
host_url: string;
|
|
@@ -3234,6 +3307,14 @@ export type ListBuildsData = {
|
|
|
3234
3307
|
* Filter by one status or up to 9 comma-separated statuses
|
|
3235
3308
|
*/
|
|
3236
3309
|
status?: string;
|
|
3310
|
+
/**
|
|
3311
|
+
* Filter by exact branch name
|
|
3312
|
+
*/
|
|
3313
|
+
branch?: string;
|
|
3314
|
+
/**
|
|
3315
|
+
* Search builds, case-insensitively, by build number (with or without #), part of the branch, the start of the commit SHA, or part of the pipeline or project name. At most 200 characters.
|
|
3316
|
+
*/
|
|
3317
|
+
q?: string;
|
|
3237
3318
|
/**
|
|
3238
3319
|
* Sort by created_at, status, project_name, pipeline_name, or branch
|
|
3239
3320
|
*/
|
|
@@ -4667,6 +4748,39 @@ export type UpdatePipelineGooglePlayPublishResponses = {
|
|
|
4667
4748
|
200: PipelineGooglePlayPublishResponse;
|
|
4668
4749
|
};
|
|
4669
4750
|
export type UpdatePipelineGooglePlayPublishResponse = UpdatePipelineGooglePlayPublishResponses[keyof UpdatePipelineGooglePlayPublishResponses];
|
|
4751
|
+
export type TestPipelineGooglePlayCredentialsData = {
|
|
4752
|
+
body: GooglePlayCredentialsTestRequest;
|
|
4753
|
+
path: {
|
|
4754
|
+
/**
|
|
4755
|
+
* Pipeline ID
|
|
4756
|
+
*/
|
|
4757
|
+
pipeline_id: string;
|
|
4758
|
+
};
|
|
4759
|
+
query?: never;
|
|
4760
|
+
url: '/v1/pipelines/{pipeline_id}/publish/google-play/test-credentials';
|
|
4761
|
+
};
|
|
4762
|
+
export type TestPipelineGooglePlayCredentialsErrors = {
|
|
4763
|
+
/**
|
|
4764
|
+
* Invalid request
|
|
4765
|
+
*/
|
|
4766
|
+
400: ApiError;
|
|
4767
|
+
/**
|
|
4768
|
+
* Permission denied
|
|
4769
|
+
*/
|
|
4770
|
+
403: ApiError;
|
|
4771
|
+
/**
|
|
4772
|
+
* Pipeline not found
|
|
4773
|
+
*/
|
|
4774
|
+
404: ApiError;
|
|
4775
|
+
};
|
|
4776
|
+
export type TestPipelineGooglePlayCredentialsError = TestPipelineGooglePlayCredentialsErrors[keyof TestPipelineGooglePlayCredentialsErrors];
|
|
4777
|
+
export type TestPipelineGooglePlayCredentialsResponses = {
|
|
4778
|
+
/**
|
|
4779
|
+
* Check result
|
|
4780
|
+
*/
|
|
4781
|
+
200: GooglePlayCredentialsTestResponse;
|
|
4782
|
+
};
|
|
4783
|
+
export type TestPipelineGooglePlayCredentialsResponse = TestPipelineGooglePlayCredentialsResponses[keyof TestPipelineGooglePlayCredentialsResponses];
|
|
4670
4784
|
export type ListPipelineSecretsData = {
|
|
4671
4785
|
body?: never;
|
|
4672
4786
|
path: {
|
|
@@ -4737,7 +4851,12 @@ export type DeletePipelineSecretData = {
|
|
|
4737
4851
|
*/
|
|
4738
4852
|
name: string;
|
|
4739
4853
|
};
|
|
4740
|
-
query?:
|
|
4854
|
+
query?: {
|
|
4855
|
+
/**
|
|
4856
|
+
* Delete even when Google Play publishing uses the secret
|
|
4857
|
+
*/
|
|
4858
|
+
force?: boolean;
|
|
4859
|
+
};
|
|
4741
4860
|
url: '/v1/pipelines/{pipeline_id}/secrets/{name}';
|
|
4742
4861
|
};
|
|
4743
4862
|
export type DeletePipelineSecretErrors = {
|
|
@@ -4749,6 +4868,10 @@ export type DeletePipelineSecretErrors = {
|
|
|
4749
4868
|
* Secret not found
|
|
4750
4869
|
*/
|
|
4751
4870
|
404: ApiError;
|
|
4871
|
+
/**
|
|
4872
|
+
* A pipeline uses the secret as its Google Play service account
|
|
4873
|
+
*/
|
|
4874
|
+
409: ApiError;
|
|
4752
4875
|
};
|
|
4753
4876
|
export type DeletePipelineSecretError = DeletePipelineSecretErrors[keyof DeletePipelineSecretErrors];
|
|
4754
4877
|
export type DeletePipelineSecretResponses = {
|
|
@@ -4986,7 +5109,7 @@ export type CreateBuildErrors = {
|
|
|
4986
5109
|
*/
|
|
4987
5110
|
404: ApiError;
|
|
4988
5111
|
/**
|
|
4989
|
-
* Project source is not configured or resolvable
|
|
5112
|
+
* Project source is not configured or resolvable, or the Google Play service account secret is missing
|
|
4990
5113
|
*/
|
|
4991
5114
|
409: ApiError;
|
|
4992
5115
|
};
|
|
@@ -5426,7 +5549,12 @@ export type DeleteProjectSecretData = {
|
|
|
5426
5549
|
*/
|
|
5427
5550
|
name: string;
|
|
5428
5551
|
};
|
|
5429
|
-
query?:
|
|
5552
|
+
query?: {
|
|
5553
|
+
/**
|
|
5554
|
+
* Delete even when Google Play publishing uses the secret
|
|
5555
|
+
*/
|
|
5556
|
+
force?: boolean;
|
|
5557
|
+
};
|
|
5430
5558
|
url: '/v1/projects/{project_id}/secrets/{name}';
|
|
5431
5559
|
};
|
|
5432
5560
|
export type DeleteProjectSecretErrors = {
|
|
@@ -5438,6 +5566,10 @@ export type DeleteProjectSecretErrors = {
|
|
|
5438
5566
|
* Secret not found
|
|
5439
5567
|
*/
|
|
5440
5568
|
404: ApiError;
|
|
5569
|
+
/**
|
|
5570
|
+
* A pipeline uses the secret as its Google Play service account
|
|
5571
|
+
*/
|
|
5572
|
+
409: ApiError;
|
|
5441
5573
|
};
|
|
5442
5574
|
export type DeleteProjectSecretError = DeleteProjectSecretErrors[keyof DeleteProjectSecretErrors];
|
|
5443
5575
|
export type DeleteProjectSecretResponses = {
|
|
@@ -6651,7 +6783,12 @@ export type DeleteInstanceSecretData = {
|
|
|
6651
6783
|
*/
|
|
6652
6784
|
name: string;
|
|
6653
6785
|
};
|
|
6654
|
-
query?:
|
|
6786
|
+
query?: {
|
|
6787
|
+
/**
|
|
6788
|
+
* Delete even when Google Play publishing uses the secret
|
|
6789
|
+
*/
|
|
6790
|
+
force?: boolean;
|
|
6791
|
+
};
|
|
6655
6792
|
url: '/v1/secrets/{name}';
|
|
6656
6793
|
};
|
|
6657
6794
|
export type DeleteInstanceSecretErrors = {
|
|
@@ -6663,6 +6800,10 @@ export type DeleteInstanceSecretErrors = {
|
|
|
6663
6800
|
* Secret not found
|
|
6664
6801
|
*/
|
|
6665
6802
|
404: ApiError;
|
|
6803
|
+
/**
|
|
6804
|
+
* A pipeline uses the secret as its Google Play service account
|
|
6805
|
+
*/
|
|
6806
|
+
409: ApiError;
|
|
6666
6807
|
};
|
|
6667
6808
|
export type DeleteInstanceSecretError = DeleteInstanceSecretErrors[keyof DeleteInstanceSecretErrors];
|
|
6668
6809
|
export type DeleteInstanceSecretResponses = {
|
|
@@ -7508,13 +7649,6 @@ export type RefreshStoreVitalsData = {
|
|
|
7508
7649
|
query?: never;
|
|
7509
7650
|
url: '/v1/store-vitals/refresh';
|
|
7510
7651
|
};
|
|
7511
|
-
export type RefreshStoreVitalsErrors = {
|
|
7512
|
-
/**
|
|
7513
|
-
* A refresh is running or just ran
|
|
7514
|
-
*/
|
|
7515
|
-
429: ApiError;
|
|
7516
|
-
};
|
|
7517
|
-
export type RefreshStoreVitalsError = RefreshStoreVitalsErrors[keyof RefreshStoreVitalsErrors];
|
|
7518
7652
|
export type RefreshStoreVitalsResponses = {
|
|
7519
7653
|
/**
|
|
7520
7654
|
* Store vitals after the refresh
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vApprovalPolicy: v.StrictObjectSchema<{
|
|
3
3
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
4
5
|
readonly required: v.BooleanSchema<undefined>;
|
|
5
6
|
}, undefined>;
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
export const vApprovalPolicy = v.strictObject({
|
|
4
4
|
events: v.optional(v.array(v.string())),
|
|
5
|
+
expires_after_hours: v.nullish(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(2147483647, 'Invalid value: Expected int32 to be <= 2147483647'))),
|
|
5
6
|
required: v.boolean()
|
|
6
7
|
});
|
|
@@ -11,6 +11,8 @@ export declare const vCreateLocalGitIntegrationResponse: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
readonly repository: v.ObjectSchema<{
|
|
@@ -11,6 +11,8 @@ export declare const vCreateLocalGitIntegrationResponse2: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
readonly repository: v.ObjectSchema<{
|
|
@@ -12,6 +12,15 @@ export declare const vCreateNotificationChannelResponse: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly name: v.StringSchema<undefined>;
|
|
14
14
|
readonly project_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly smtp_summary: v.NullishSchema<v.ObjectSchema<{
|
|
16
|
+
readonly from_address: v.StringSchema<undefined>;
|
|
17
|
+
readonly host: v.StringSchema<undefined>;
|
|
18
|
+
readonly port: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>;
|
|
19
|
+
readonly recipients: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly tls_mode: v.PicklistSchema<["none", "start_tls", "tls"], undefined>;
|
|
21
|
+
readonly username: v.StringSchema<undefined>;
|
|
22
|
+
}, undefined>, undefined>;
|
|
15
23
|
readonly updated_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">]>;
|
|
24
|
+
readonly url_host: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
16
25
|
}, undefined>;
|
|
17
26
|
}, undefined>;
|
|
@@ -2,6 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const vCreatePipelineBody: v.ObjectSchema<{
|
|
3
3
|
readonly approval: v.NullishSchema<v.StrictObjectSchema<{
|
|
4
4
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
5
6
|
readonly required: v.BooleanSchema<undefined>;
|
|
6
7
|
}, undefined>, undefined>;
|
|
7
8
|
readonly concurrency: v.NullishSchema<v.ObjectSchema<{
|
|
@@ -2,6 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const vCreatePipelineRequest: v.ObjectSchema<{
|
|
3
3
|
readonly approval: v.NullishSchema<v.StrictObjectSchema<{
|
|
4
4
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
5
6
|
readonly required: v.BooleanSchema<undefined>;
|
|
6
7
|
}, undefined>, undefined>;
|
|
7
8
|
readonly concurrency: v.NullishSchema<v.ObjectSchema<{
|
|
@@ -3,6 +3,7 @@ export declare const vCreatePipelineResponse: v.ObjectSchema<{
|
|
|
3
3
|
readonly pipeline: v.ObjectSchema<{
|
|
4
4
|
readonly approval: v.StrictObjectSchema<{
|
|
5
5
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
6
7
|
readonly required: v.BooleanSchema<undefined>;
|
|
7
8
|
}, undefined>;
|
|
8
9
|
readonly concurrency: v.ObjectSchema<{
|
|
@@ -3,6 +3,7 @@ export declare const vCreatePipelineResponse2: v.ObjectSchema<{
|
|
|
3
3
|
readonly pipeline: v.ObjectSchema<{
|
|
4
4
|
readonly approval: v.StrictObjectSchema<{
|
|
5
5
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
6
7
|
readonly required: v.BooleanSchema<undefined>;
|
|
7
8
|
}, undefined>;
|
|
8
9
|
readonly concurrency: v.ObjectSchema<{
|
|
@@ -12,6 +12,8 @@ export declare const vGetIntegrationResponse: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
14
14
|
readonly status: v.StringSchema<undefined>;
|
|
15
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
16
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
17
|
readonly updated_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">]>;
|
|
16
18
|
}, undefined>;
|
|
17
19
|
readonly last_webhook_at: v.NullishSchema<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">]>, undefined>;
|
|
@@ -12,6 +12,15 @@ export declare const vGetNotificationChannelResponse: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly name: v.StringSchema<undefined>;
|
|
14
14
|
readonly project_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly smtp_summary: v.NullishSchema<v.ObjectSchema<{
|
|
16
|
+
readonly from_address: v.StringSchema<undefined>;
|
|
17
|
+
readonly host: v.StringSchema<undefined>;
|
|
18
|
+
readonly port: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>;
|
|
19
|
+
readonly recipients: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly tls_mode: v.PicklistSchema<["none", "start_tls", "tls"], undefined>;
|
|
21
|
+
readonly username: v.StringSchema<undefined>;
|
|
22
|
+
}, undefined>, undefined>;
|
|
15
23
|
readonly updated_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">]>;
|
|
24
|
+
readonly url_host: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
16
25
|
}, undefined>;
|
|
17
26
|
}, undefined>;
|
|
@@ -19,6 +19,14 @@ export declare const vGetPipelineGooglePlayPublishResponse: v.ObjectSchema<{
|
|
|
19
19
|
readonly track: v.StringSchema<undefined>;
|
|
20
20
|
readonly upload_mapping: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
21
21
|
}, undefined>, undefined>;
|
|
22
|
+
readonly last_credentials_check: v.NullishSchema<v.ObjectSchema<{
|
|
23
|
+
readonly checked_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">]>;
|
|
24
|
+
readonly message: v.StringSchema<undefined>;
|
|
25
|
+
readonly ok: v.BooleanSchema<undefined>;
|
|
26
|
+
readonly package_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
readonly service_account_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly service_account_secret: v.StringSchema<undefined>;
|
|
29
|
+
}, undefined>, undefined>;
|
|
22
30
|
readonly pipeline_id: v.StringSchema<undefined>;
|
|
23
31
|
readonly service_account_secret_present: v.BooleanSchema<undefined>;
|
|
24
32
|
readonly updated_at: v.NullishSchema<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">]>, undefined>;
|
|
@@ -4,6 +4,7 @@ export declare const vGetPipelineResponse: v.ObjectSchema<{
|
|
|
4
4
|
readonly pipeline: v.ObjectSchema<{
|
|
5
5
|
readonly approval: v.StrictObjectSchema<{
|
|
6
6
|
readonly events: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7
|
+
readonly expires_after_hours: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
7
8
|
readonly required: v.BooleanSchema<undefined>;
|
|
8
9
|
}, undefined>;
|
|
9
10
|
readonly concurrency: v.ObjectSchema<{
|
|
@@ -11,6 +11,8 @@ export declare const vGitHubAppCompleteResponse: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
}, undefined>;
|
|
@@ -11,6 +11,8 @@ export declare const vGitLabCompleteResponse: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
}, undefined>;
|
|
@@ -11,6 +11,8 @@ export declare const vGithubCompleteResponse: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
}, undefined>;
|
|
@@ -11,6 +11,8 @@ export declare const vGitlabStartResponse: v.ObjectSchema<{
|
|
|
11
11
|
readonly id: v.StringSchema<undefined>;
|
|
12
12
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
13
13
|
readonly status: v.StringSchema<undefined>;
|
|
14
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
15
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
16
|
readonly updated_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">]>;
|
|
15
17
|
}, undefined>;
|
|
16
18
|
}, undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vGooglePlayCredentialsTestResponse: v.ObjectSchema<{
|
|
3
|
+
readonly checked_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">]>;
|
|
4
|
+
readonly message: v.StringSchema<undefined>;
|
|
5
|
+
readonly ok: v.BooleanSchema<undefined>;
|
|
6
|
+
readonly package_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly service_account_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly service_account_secret: v.StringSchema<undefined>;
|
|
9
|
+
}, undefined>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export const vGooglePlayCredentialsTestResponse = v.object({
|
|
4
|
+
checked_at: v.pipe(v.union([
|
|
5
|
+
v.number(),
|
|
6
|
+
v.string(),
|
|
7
|
+
v.bigint()
|
|
8
|
+
]), 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')),
|
|
9
|
+
message: v.string(),
|
|
10
|
+
ok: v.boolean(),
|
|
11
|
+
package_name: v.nullish(v.string()),
|
|
12
|
+
service_account_email: v.nullish(v.string()),
|
|
13
|
+
service_account_secret: v.string()
|
|
14
|
+
});
|
|
@@ -12,6 +12,8 @@ export declare const vIntegrationDetailResponse: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
14
14
|
readonly status: v.StringSchema<undefined>;
|
|
15
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
16
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
17
|
readonly updated_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">]>;
|
|
16
18
|
}, undefined>;
|
|
17
19
|
readonly last_webhook_at: v.NullishSchema<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">]>, undefined>;
|
|
@@ -10,5 +10,7 @@ export declare const vIntegration: v.ObjectSchema<{
|
|
|
10
10
|
readonly id: v.StringSchema<undefined>;
|
|
11
11
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
12
12
|
readonly status: v.StringSchema<undefined>;
|
|
13
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
14
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
15
|
readonly updated_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">]>;
|
|
14
16
|
}, undefined>;
|
|
@@ -16,6 +16,12 @@ export const vIntegration = v.object({
|
|
|
16
16
|
id: v.string(),
|
|
17
17
|
provider: vScmProvider,
|
|
18
18
|
status: v.string(),
|
|
19
|
+
status_checked_at: v.nullish(v.pipe(v.union([
|
|
20
|
+
v.number(),
|
|
21
|
+
v.string(),
|
|
22
|
+
v.bigint()
|
|
23
|
+
]), 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'))),
|
|
24
|
+
status_reason: v.nullish(v.string()),
|
|
19
25
|
updated_at: v.pipe(v.union([
|
|
20
26
|
v.number(),
|
|
21
27
|
v.string(),
|
|
@@ -5,6 +5,8 @@ export declare const vListBuildsQuery: v.ObjectSchema<{
|
|
|
5
5
|
readonly project_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6
6
|
readonly pipeline_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly q: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8
10
|
readonly sort: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
11
|
readonly direction: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
12
|
}, undefined>;
|
|
@@ -14,6 +14,8 @@ export const vListBuildsQuery = v.object({
|
|
|
14
14
|
project_id: v.optional(v.string()),
|
|
15
15
|
pipeline_id: v.optional(v.string()),
|
|
16
16
|
status: v.optional(v.string()),
|
|
17
|
+
branch: v.optional(v.string()),
|
|
18
|
+
q: v.optional(v.string()),
|
|
17
19
|
sort: v.optional(v.string()),
|
|
18
20
|
direction: v.optional(v.string())
|
|
19
21
|
});
|
|
@@ -12,6 +12,8 @@ export declare const vListIntegrationsResponse: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
14
14
|
readonly status: v.StringSchema<undefined>;
|
|
15
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
16
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
17
|
readonly updated_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">]>;
|
|
16
18
|
}, undefined>, undefined>;
|
|
17
19
|
readonly total: 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">]>;
|
|
@@ -12,6 +12,8 @@ export declare const vListIntegrationsResponse2: v.ObjectSchema<{
|
|
|
12
12
|
readonly id: v.StringSchema<undefined>;
|
|
13
13
|
readonly provider: v.PicklistSchema<["github", "gitlab", "local_git"], undefined>;
|
|
14
14
|
readonly status: v.StringSchema<undefined>;
|
|
15
|
+
readonly status_checked_at: v.NullishSchema<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">]>, undefined>;
|
|
16
|
+
readonly status_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
17
|
readonly updated_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">]>;
|
|
16
18
|
}, undefined>, undefined>;
|
|
17
19
|
readonly total: 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">]>;
|