@oore/client 0.10.0 → 0.11.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 +140 -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-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 +8 -0
- package/dist/generated/valibot/v-google-play-credentials-test-response.js +13 -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.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 +8 -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-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 +291 -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,41 @@ 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
|
+
};
|
|
811
851
|
/**
|
|
812
852
|
* Per-pipeline Google Play upload settings. Credentials are referenced by
|
|
813
853
|
* secret name and never stored here.
|
|
@@ -880,6 +920,15 @@ export type Integration = {
|
|
|
880
920
|
id: string;
|
|
881
921
|
provider: ScmProvider;
|
|
882
922
|
status: string;
|
|
923
|
+
/**
|
|
924
|
+
* When Oore last checked the source's credentials.
|
|
925
|
+
*/
|
|
926
|
+
status_checked_at?: number | null;
|
|
927
|
+
/**
|
|
928
|
+
* Why the source has its current status: `expired`, `rejected` or
|
|
929
|
+
* `refresh_failed` when credentials stopped working.
|
|
930
|
+
*/
|
|
931
|
+
status_reason?: string | null;
|
|
883
932
|
updated_at: number;
|
|
884
933
|
};
|
|
885
934
|
export type IntegrationAuthMode = 'github_app' | 'oauth_app' | 'personal_token' | 'local_path';
|
|
@@ -1108,7 +1157,14 @@ export type NotificationChannel = {
|
|
|
1108
1157
|
* offline.
|
|
1109
1158
|
*/
|
|
1110
1159
|
project_id?: string | null;
|
|
1160
|
+
smtp_summary?: null | SmtpConfigSummary;
|
|
1111
1161
|
updated_at: number;
|
|
1162
|
+
/**
|
|
1163
|
+
* Host of the configured URL, so operators can tell which endpoint
|
|
1164
|
+
* receives alerts. The full URL can carry a token and is never exposed.
|
|
1165
|
+
* Returned when reading one channel.
|
|
1166
|
+
*/
|
|
1167
|
+
url_host?: string | null;
|
|
1112
1168
|
};
|
|
1113
1169
|
export type NotificationChannelResponse = {
|
|
1114
1170
|
channel: NotificationChannel;
|
|
@@ -1965,6 +2021,18 @@ export type SmtpConfig = {
|
|
|
1965
2021
|
tls_mode: SmtpTlsMode;
|
|
1966
2022
|
username: string;
|
|
1967
2023
|
};
|
|
2024
|
+
/**
|
|
2025
|
+
* The SMTP settings an operator can read back. The password is never
|
|
2026
|
+
* returned.
|
|
2027
|
+
*/
|
|
2028
|
+
export type SmtpConfigSummary = {
|
|
2029
|
+
from_address: string;
|
|
2030
|
+
host: string;
|
|
2031
|
+
port: number;
|
|
2032
|
+
recipients: Array<string>;
|
|
2033
|
+
tls_mode: SmtpTlsMode;
|
|
2034
|
+
username: string;
|
|
2035
|
+
};
|
|
1968
2036
|
export type SmtpTlsMode = 'none' | 'start_tls' | 'tls';
|
|
1969
2037
|
export type SourceRepository = IntegrationRepository & {
|
|
1970
2038
|
host_url: string;
|
|
@@ -3234,6 +3302,14 @@ export type ListBuildsData = {
|
|
|
3234
3302
|
* Filter by one status or up to 9 comma-separated statuses
|
|
3235
3303
|
*/
|
|
3236
3304
|
status?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* Filter by exact branch name
|
|
3307
|
+
*/
|
|
3308
|
+
branch?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
* 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.
|
|
3311
|
+
*/
|
|
3312
|
+
q?: string;
|
|
3237
3313
|
/**
|
|
3238
3314
|
* Sort by created_at, status, project_name, pipeline_name, or branch
|
|
3239
3315
|
*/
|
|
@@ -4667,6 +4743,39 @@ export type UpdatePipelineGooglePlayPublishResponses = {
|
|
|
4667
4743
|
200: PipelineGooglePlayPublishResponse;
|
|
4668
4744
|
};
|
|
4669
4745
|
export type UpdatePipelineGooglePlayPublishResponse = UpdatePipelineGooglePlayPublishResponses[keyof UpdatePipelineGooglePlayPublishResponses];
|
|
4746
|
+
export type TestPipelineGooglePlayCredentialsData = {
|
|
4747
|
+
body: GooglePlayCredentialsTestRequest;
|
|
4748
|
+
path: {
|
|
4749
|
+
/**
|
|
4750
|
+
* Pipeline ID
|
|
4751
|
+
*/
|
|
4752
|
+
pipeline_id: string;
|
|
4753
|
+
};
|
|
4754
|
+
query?: never;
|
|
4755
|
+
url: '/v1/pipelines/{pipeline_id}/publish/google-play/test-credentials';
|
|
4756
|
+
};
|
|
4757
|
+
export type TestPipelineGooglePlayCredentialsErrors = {
|
|
4758
|
+
/**
|
|
4759
|
+
* Invalid request
|
|
4760
|
+
*/
|
|
4761
|
+
400: ApiError;
|
|
4762
|
+
/**
|
|
4763
|
+
* Permission denied
|
|
4764
|
+
*/
|
|
4765
|
+
403: ApiError;
|
|
4766
|
+
/**
|
|
4767
|
+
* Pipeline not found
|
|
4768
|
+
*/
|
|
4769
|
+
404: ApiError;
|
|
4770
|
+
};
|
|
4771
|
+
export type TestPipelineGooglePlayCredentialsError = TestPipelineGooglePlayCredentialsErrors[keyof TestPipelineGooglePlayCredentialsErrors];
|
|
4772
|
+
export type TestPipelineGooglePlayCredentialsResponses = {
|
|
4773
|
+
/**
|
|
4774
|
+
* Check result
|
|
4775
|
+
*/
|
|
4776
|
+
200: GooglePlayCredentialsTestResponse;
|
|
4777
|
+
};
|
|
4778
|
+
export type TestPipelineGooglePlayCredentialsResponse = TestPipelineGooglePlayCredentialsResponses[keyof TestPipelineGooglePlayCredentialsResponses];
|
|
4670
4779
|
export type ListPipelineSecretsData = {
|
|
4671
4780
|
body?: never;
|
|
4672
4781
|
path: {
|
|
@@ -4737,7 +4846,12 @@ export type DeletePipelineSecretData = {
|
|
|
4737
4846
|
*/
|
|
4738
4847
|
name: string;
|
|
4739
4848
|
};
|
|
4740
|
-
query?:
|
|
4849
|
+
query?: {
|
|
4850
|
+
/**
|
|
4851
|
+
* Delete even when Google Play publishing uses the secret
|
|
4852
|
+
*/
|
|
4853
|
+
force?: boolean;
|
|
4854
|
+
};
|
|
4741
4855
|
url: '/v1/pipelines/{pipeline_id}/secrets/{name}';
|
|
4742
4856
|
};
|
|
4743
4857
|
export type DeletePipelineSecretErrors = {
|
|
@@ -4749,6 +4863,10 @@ export type DeletePipelineSecretErrors = {
|
|
|
4749
4863
|
* Secret not found
|
|
4750
4864
|
*/
|
|
4751
4865
|
404: ApiError;
|
|
4866
|
+
/**
|
|
4867
|
+
* A pipeline uses the secret as its Google Play service account
|
|
4868
|
+
*/
|
|
4869
|
+
409: ApiError;
|
|
4752
4870
|
};
|
|
4753
4871
|
export type DeletePipelineSecretError = DeletePipelineSecretErrors[keyof DeletePipelineSecretErrors];
|
|
4754
4872
|
export type DeletePipelineSecretResponses = {
|
|
@@ -4986,7 +5104,7 @@ export type CreateBuildErrors = {
|
|
|
4986
5104
|
*/
|
|
4987
5105
|
404: ApiError;
|
|
4988
5106
|
/**
|
|
4989
|
-
* Project source is not configured or resolvable
|
|
5107
|
+
* Project source is not configured or resolvable, or the Google Play service account secret is missing
|
|
4990
5108
|
*/
|
|
4991
5109
|
409: ApiError;
|
|
4992
5110
|
};
|
|
@@ -5426,7 +5544,12 @@ export type DeleteProjectSecretData = {
|
|
|
5426
5544
|
*/
|
|
5427
5545
|
name: string;
|
|
5428
5546
|
};
|
|
5429
|
-
query?:
|
|
5547
|
+
query?: {
|
|
5548
|
+
/**
|
|
5549
|
+
* Delete even when Google Play publishing uses the secret
|
|
5550
|
+
*/
|
|
5551
|
+
force?: boolean;
|
|
5552
|
+
};
|
|
5430
5553
|
url: '/v1/projects/{project_id}/secrets/{name}';
|
|
5431
5554
|
};
|
|
5432
5555
|
export type DeleteProjectSecretErrors = {
|
|
@@ -5438,6 +5561,10 @@ export type DeleteProjectSecretErrors = {
|
|
|
5438
5561
|
* Secret not found
|
|
5439
5562
|
*/
|
|
5440
5563
|
404: ApiError;
|
|
5564
|
+
/**
|
|
5565
|
+
* A pipeline uses the secret as its Google Play service account
|
|
5566
|
+
*/
|
|
5567
|
+
409: ApiError;
|
|
5441
5568
|
};
|
|
5442
5569
|
export type DeleteProjectSecretError = DeleteProjectSecretErrors[keyof DeleteProjectSecretErrors];
|
|
5443
5570
|
export type DeleteProjectSecretResponses = {
|
|
@@ -6651,7 +6778,12 @@ export type DeleteInstanceSecretData = {
|
|
|
6651
6778
|
*/
|
|
6652
6779
|
name: string;
|
|
6653
6780
|
};
|
|
6654
|
-
query?:
|
|
6781
|
+
query?: {
|
|
6782
|
+
/**
|
|
6783
|
+
* Delete even when Google Play publishing uses the secret
|
|
6784
|
+
*/
|
|
6785
|
+
force?: boolean;
|
|
6786
|
+
};
|
|
6655
6787
|
url: '/v1/secrets/{name}';
|
|
6656
6788
|
};
|
|
6657
6789
|
export type DeleteInstanceSecretErrors = {
|
|
@@ -6663,6 +6795,10 @@ export type DeleteInstanceSecretErrors = {
|
|
|
6663
6795
|
* Secret not found
|
|
6664
6796
|
*/
|
|
6665
6797
|
404: ApiError;
|
|
6798
|
+
/**
|
|
6799
|
+
* A pipeline uses the secret as its Google Play service account
|
|
6800
|
+
*/
|
|
6801
|
+
409: ApiError;
|
|
6666
6802
|
};
|
|
6667
6803
|
export type DeleteInstanceSecretError = DeleteInstanceSecretErrors[keyof DeleteInstanceSecretErrors];
|
|
6668
6804
|
export type DeleteInstanceSecretResponses = {
|
|
@@ -7508,13 +7644,6 @@ export type RefreshStoreVitalsData = {
|
|
|
7508
7644
|
query?: never;
|
|
7509
7645
|
url: '/v1/store-vitals/refresh';
|
|
7510
7646
|
};
|
|
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
7647
|
export type RefreshStoreVitalsResponses = {
|
|
7519
7648
|
/**
|
|
7520
7649
|
* 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>;
|
|
@@ -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,8 @@
|
|
|
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
|
+
}, undefined>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
});
|
|
@@ -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">]>;
|
|
@@ -12,6 +12,8 @@ export declare const vListLocalGitIntegrationsResponse: 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,7 +12,16 @@ export declare const vListNotificationChannelsResponse: 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>, undefined>;
|
|
17
26
|
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">]>;
|
|
18
27
|
}, undefined>;
|