@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.5
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/lib/credentials.d.ts +21 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +40 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +80 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +50 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +69 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +54 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +47 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/access_groups.d.ts +459 -0
- package/lib/services/access_groups.d.ts.map +1 -0
- package/lib/services/access_groups.js +453 -0
- package/lib/services/access_groups.js.map +1 -0
- package/lib/services/ai_gateway.d.ts +124 -0
- package/lib/services/ai_gateway.d.ts.map +1 -0
- package/lib/services/ai_gateway.js +126 -0
- package/lib/services/ai_gateway.js.map +1 -0
- package/lib/services/aliases.d.ts +591 -0
- package/lib/services/aliases.d.ts.map +1 -0
- package/lib/services/aliases.js +508 -0
- package/lib/services/aliases.js.map +1 -0
- package/lib/services/artifacts.d.ts +228 -0
- package/lib/services/artifacts.d.ts.map +1 -0
- package/lib/services/artifacts.js +216 -0
- package/lib/services/artifacts.js.map +1 -0
- package/lib/services/authentication.d.ts +373 -0
- package/lib/services/authentication.d.ts.map +1 -0
- package/lib/services/authentication.js +310 -0
- package/lib/services/authentication.js.map +1 -0
- package/lib/services/billing.d.ts +792 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +616 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bulk_redirects.d.ts +308 -0
- package/lib/services/bulk_redirects.d.ts.map +1 -0
- package/lib/services/bulk_redirects.js +306 -0
- package/lib/services/bulk_redirects.js.map +1 -0
- package/lib/services/certs.d.ts +171 -0
- package/lib/services/certs.d.ts.map +1 -0
- package/lib/services/certs.js +165 -0
- package/lib/services/certs.js.map +1 -0
- package/lib/services/checks_v2.d.ts +1162 -0
- package/lib/services/checks_v2.d.ts.map +1 -0
- package/lib/services/checks_v2.js +1252 -0
- package/lib/services/checks_v2.js.map +1 -0
- package/lib/services/connect.d.ts +1034 -0
- package/lib/services/connect.d.ts.map +1 -0
- package/lib/services/connect.js +993 -0
- package/lib/services/connect.js.map +1 -0
- package/lib/services/deployments.d.ts +9111 -0
- package/lib/services/deployments.d.ts.map +1 -0
- package/lib/services/deployments.js +8664 -0
- package/lib/services/deployments.js.map +1 -0
- package/lib/services/dns.d.ts +279 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +282 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/domains.d.ts +539 -0
- package/lib/services/domains.d.ts.map +1 -0
- package/lib/services/domains.js +464 -0
- package/lib/services/domains.js.map +1 -0
- package/lib/services/domains_registrar.d.ts +798 -0
- package/lib/services/domains_registrar.d.ts.map +1 -0
- package/lib/services/domains_registrar.js +968 -0
- package/lib/services/domains_registrar.js.map +1 -0
- package/lib/services/drains.d.ts +2263 -0
- package/lib/services/drains.d.ts.map +1 -0
- package/lib/services/drains.js +2406 -0
- package/lib/services/drains.js.map +1 -0
- package/lib/services/edge_cache.d.ts +125 -0
- package/lib/services/edge_cache.d.ts.map +1 -0
- package/lib/services/edge_cache.js +140 -0
- package/lib/services/edge_cache.js.map +1 -0
- package/lib/services/environment.d.ts +1020 -0
- package/lib/services/environment.d.ts.map +1 -0
- package/lib/services/environment.js +842 -0
- package/lib/services/environment.js.map +1 -0
- package/lib/services/feature_flags.d.ts +3109 -0
- package/lib/services/feature_flags.d.ts.map +1 -0
- package/lib/services/feature_flags.js +3074 -0
- package/lib/services/feature_flags.js.map +1 -0
- package/lib/services/global_config.d.ts +618 -0
- package/lib/services/global_config.d.ts.map +1 -0
- package/lib/services/global_config.js +716 -0
- package/lib/services/global_config.js.map +1 -0
- package/lib/services/index.d.ts +39 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +40 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/integrations.d.ts +2987 -0
- package/lib/services/integrations.d.ts.map +1 -0
- package/lib/services/integrations.js +2903 -0
- package/lib/services/integrations.js.map +1 -0
- package/lib/services/log_drains.d.ts +848 -0
- package/lib/services/log_drains.d.ts.map +1 -0
- package/lib/services/log_drains.js +866 -0
- package/lib/services/log_drains.js.map +1 -0
- package/lib/services/logs.d.ts +40 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +43 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/marketplace.d.ts +991 -0
- package/lib/services/marketplace.d.ts.map +1 -0
- package/lib/services/marketplace.js +1044 -0
- package/lib/services/marketplace.js.map +1 -0
- package/lib/services/microfrontends.d.ts +3210 -0
- package/lib/services/microfrontends.d.ts.map +1 -0
- package/lib/services/microfrontends.js +3300 -0
- package/lib/services/microfrontends.js.map +1 -0
- package/lib/services/networking.d.ts +239 -0
- package/lib/services/networking.d.ts.map +1 -0
- package/lib/services/networking.js +224 -0
- package/lib/services/networking.js.map +1 -0
- package/lib/services/observability.d.ts +168 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +191 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/project_members.d.ts +142 -0
- package/lib/services/project_members.d.ts.map +1 -0
- package/lib/services/project_members.js +139 -0
- package/lib/services/project_members.js.map +1 -0
- package/lib/services/project_routes.d.ts +1990 -0
- package/lib/services/project_routes.d.ts.map +1 -0
- package/lib/services/project_routes.js +2026 -0
- package/lib/services/project_routes.js.map +1 -0
- package/lib/services/projects.d.ts +23449 -0
- package/lib/services/projects.d.ts.map +1 -0
- package/lib/services/projects.js +23570 -0
- package/lib/services/projects.js.map +1 -0
- package/lib/services/rolling_release.d.ts +764 -0
- package/lib/services/rolling_release.d.ts.map +1 -0
- package/lib/services/rolling_release.js +630 -0
- package/lib/services/rolling_release.js.map +1 -0
- package/lib/services/sandboxes.d.ts +2183 -0
- package/lib/services/sandboxes.d.ts.map +1 -0
- package/lib/services/sandboxes.js +1756 -0
- package/lib/services/sandboxes.js.map +1 -0
- package/lib/services/security.d.ts +3932 -0
- package/lib/services/security.d.ts.map +1 -0
- package/lib/services/security.js +4411 -0
- package/lib/services/security.js.map +1 -0
- package/lib/services/storage.d.ts +251 -0
- package/lib/services/storage.d.ts.map +1 -0
- package/lib/services/storage.js +270 -0
- package/lib/services/storage.js.map +1 -0
- package/lib/services/teams.d.ts +1577 -0
- package/lib/services/teams.d.ts.map +1 -0
- package/lib/services/teams.js +1359 -0
- package/lib/services/teams.js.map +1 -0
- package/lib/services/user.d.ts +7972 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +7093 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vcr.d.ts +793 -0
- package/lib/services/vcr.d.ts.map +1 -0
- package/lib/services/vcr.js +882 -0
- package/lib/services/vcr.js.map +1 -0
- package/lib/services/web_analytics.d.ts +694 -0
- package/lib/services/web_analytics.d.ts.map +1 -0
- package/lib/services/web_analytics.js +695 -0
- package/lib/services/web_analytics.js.map +1 -0
- package/lib/services/webhooks.d.ts +207 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +171 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +10 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -7
- package/src/credentials.ts +70 -0
- package/src/errors.ts +93 -0
- package/src/index.ts +18 -0
- package/src/protocol.ts +98 -0
- package/src/retry.ts +78 -0
- package/src/services/access_groups.ts +1165 -0
- package/src/services/ai_gateway.ts +272 -0
- package/src/services/aliases.ts +1323 -0
- package/src/services/artifacts.ts +542 -0
- package/src/services/authentication.ts +829 -0
- package/src/services/billing.ts +1776 -0
- package/src/services/bulk_redirects.ts +748 -0
- package/src/services/certs.ts +377 -0
- package/src/services/checks_v2.ts +3136 -0
- package/src/services/connect.ts +2607 -0
- package/src/services/deployments.ts +23682 -0
- package/src/services/dns.ts +718 -0
- package/src/services/domains.ts +1209 -0
- package/src/services/domains_registrar.ts +2290 -0
- package/src/services/drains.ts +5989 -0
- package/src/services/edge_cache.ts +303 -0
- package/src/services/environment.ts +2388 -0
- package/src/services/feature_flags.ts +8302 -0
- package/src/services/global_config.ts +1668 -0
- package/src/services/index.ts +39 -0
- package/src/services/integrations.ts +8846 -0
- package/src/services/log_drains.ts +2413 -0
- package/src/services/logs.ts +78 -0
- package/src/services/marketplace.ts +2626 -0
- package/src/services/microfrontends.ts +9650 -0
- package/src/services/networking.ts +530 -0
- package/src/services/observability.ts +436 -0
- package/src/services/project_members.ts +328 -0
- package/src/services/project_routes.ts +5259 -0
- package/src/services/projects.ts +67377 -0
- package/src/services/rolling_release.ts +1869 -0
- package/src/services/sandboxes.ts +5259 -0
- package/src/services/security.ts +12408 -0
- package/src/services/storage.ts +849 -0
- package/src/services/teams.ts +3995 -0
- package/src/services/user.ts +21687 -0
- package/src/services/vcr.ts +2165 -0
- package/src/services/web_analytics.ts +1570 -0
- package/src/services/webhooks.ts +1073 -0
- package/src/traits.ts +44 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,1252 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as C from "@distilled.cloud/core/category";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { VercelProtocol, } from "../protocol.js";
|
|
7
|
+
import * as Retry from "../retry.js";
|
|
8
|
+
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
9
|
+
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
10
|
+
code: S.Number,
|
|
11
|
+
message: S.String,
|
|
12
|
+
}).pipe(C.withBadRequestError), [{ status: 400 }]) {
|
|
13
|
+
}
|
|
14
|
+
export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
15
|
+
/*@__PURE__*/ S.TaggedError()("Forbidden", {
|
|
16
|
+
code: S.Number,
|
|
17
|
+
message: S.String,
|
|
18
|
+
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
19
|
+
}
|
|
20
|
+
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
21
|
+
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
22
|
+
code: S.Number,
|
|
23
|
+
message: S.String,
|
|
24
|
+
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
25
|
+
}
|
|
26
|
+
export const CreateDeploymentCheckRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
deploymentId: S.String.pipe(T.Label()),
|
|
28
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
29
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
30
|
+
checkId: S.String,
|
|
31
|
+
}).pipe(T.Http({
|
|
32
|
+
method: "POST",
|
|
33
|
+
uri: "/v2/deployments/{deploymentId}/check-runs",
|
|
34
|
+
code: 200,
|
|
35
|
+
}))).annotate({
|
|
36
|
+
identifier: "CreateDeploymentCheckRunRequest",
|
|
37
|
+
});
|
|
38
|
+
export const CreateDeploymentCheckRunResponseBodyCase0Requires =
|
|
39
|
+
/*@__PURE__*/ S.String;
|
|
40
|
+
export const CreateDeploymentCheckRunResponseBodyCase0Blocks =
|
|
41
|
+
/*@__PURE__*/ S.String;
|
|
42
|
+
export const CreateDeploymentCheckRunResponseBodyCase0TargetsList =
|
|
43
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
44
|
+
export const CreateDeploymentCheckRunResponseBodyCase0Status =
|
|
45
|
+
/*@__PURE__*/ S.String;
|
|
46
|
+
export const CreateDeploymentCheckRunResponseBodyCase0Conclusion =
|
|
47
|
+
/*@__PURE__*/ S.String;
|
|
48
|
+
export const CreateDeploymentCheckRunResponseBodyCase0OutputMap =
|
|
49
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
50
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase0Kind =
|
|
51
|
+
/*@__PURE__*/ S.String;
|
|
52
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase0 =
|
|
53
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
54
|
+
kind: CreateDeploymentCheckRunResponseBodyCase0SourceCase0Kind,
|
|
55
|
+
integrationId: S.String,
|
|
56
|
+
integrationConfigurationId: S.String,
|
|
57
|
+
resourceId: S.optional(S.String),
|
|
58
|
+
externalResourceId: S.optional(S.String),
|
|
59
|
+
})).annotate({
|
|
60
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase0SourceCase0",
|
|
61
|
+
});
|
|
62
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase1Kind =
|
|
63
|
+
/*@__PURE__*/ S.String;
|
|
64
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase1 =
|
|
65
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
66
|
+
kind: CreateDeploymentCheckRunResponseBodyCase0SourceCase1Kind,
|
|
67
|
+
webhookId: S.optional(S.String),
|
|
68
|
+
})).annotate({
|
|
69
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase0SourceCase1",
|
|
70
|
+
});
|
|
71
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase2Kind =
|
|
72
|
+
/*@__PURE__*/ S.String;
|
|
73
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase2Provider =
|
|
74
|
+
/*@__PURE__*/ S.String;
|
|
75
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase2 =
|
|
76
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
77
|
+
kind: CreateDeploymentCheckRunResponseBodyCase0SourceCase2Kind,
|
|
78
|
+
provider: CreateDeploymentCheckRunResponseBodyCase0SourceCase2Provider,
|
|
79
|
+
externalCheckName: S.String,
|
|
80
|
+
})).annotate({
|
|
81
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase0SourceCase2",
|
|
82
|
+
});
|
|
83
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase3SubKind =
|
|
84
|
+
/*@__PURE__*/ S.String;
|
|
85
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase3Origin =
|
|
86
|
+
/*@__PURE__*/ S.String;
|
|
87
|
+
export const CreateDeploymentCheckRunResponseBodyCase0SourceCase3 =
|
|
88
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
|
+
subKind: S.optional(CreateDeploymentCheckRunResponseBodyCase0SourceCase3SubKind),
|
|
90
|
+
origin: S.optional(CreateDeploymentCheckRunResponseBodyCase0SourceCase3Origin),
|
|
91
|
+
})).annotate({
|
|
92
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase0SourceCase3",
|
|
93
|
+
});
|
|
94
|
+
export const CreateDeploymentCheckRunResponseBodyCase0Source =
|
|
95
|
+
/*@__PURE__*/ S.Unknown;
|
|
96
|
+
export const CreateDeploymentCheckRunResponseBodyCase0 =
|
|
97
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
98
|
+
id: S.String,
|
|
99
|
+
name: S.String,
|
|
100
|
+
ownerId: S.String,
|
|
101
|
+
deploymentId: S.String,
|
|
102
|
+
projectId: S.optional(S.String),
|
|
103
|
+
requires: S.optional(CreateDeploymentCheckRunResponseBodyCase0Requires),
|
|
104
|
+
blocks: S.optional(CreateDeploymentCheckRunResponseBodyCase0Blocks),
|
|
105
|
+
targets: S.optional(CreateDeploymentCheckRunResponseBodyCase0TargetsList),
|
|
106
|
+
status: CreateDeploymentCheckRunResponseBodyCase0Status,
|
|
107
|
+
conclusion: S.optional(CreateDeploymentCheckRunResponseBodyCase0Conclusion),
|
|
108
|
+
conclusionText: S.optional(S.String),
|
|
109
|
+
externalId: S.optional(S.String),
|
|
110
|
+
externalUrl: S.optional(S.String),
|
|
111
|
+
output: S.optional(CreateDeploymentCheckRunResponseBodyCase0OutputMap),
|
|
112
|
+
timeout: S.Number,
|
|
113
|
+
createdAt: S.Number,
|
|
114
|
+
updatedAt: S.Number,
|
|
115
|
+
completedAt: S.optional(S.Number),
|
|
116
|
+
checkId: S.String,
|
|
117
|
+
source: CreateDeploymentCheckRunResponseBodyCase0Source,
|
|
118
|
+
})).annotate({
|
|
119
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase0",
|
|
120
|
+
});
|
|
121
|
+
export const CreateDeploymentCheckRunResponseBodyCase1Requires =
|
|
122
|
+
/*@__PURE__*/ S.String;
|
|
123
|
+
export const CreateDeploymentCheckRunResponseBodyCase1Blocks =
|
|
124
|
+
/*@__PURE__*/ S.String;
|
|
125
|
+
export const CreateDeploymentCheckRunResponseBodyCase1TargetsList =
|
|
126
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
127
|
+
export const CreateDeploymentCheckRunResponseBodyCase1Status =
|
|
128
|
+
/*@__PURE__*/ S.String;
|
|
129
|
+
export const CreateDeploymentCheckRunResponseBodyCase1Conclusion =
|
|
130
|
+
/*@__PURE__*/ S.String;
|
|
131
|
+
export const CreateDeploymentCheckRunResponseBodyCase1OutputMap =
|
|
132
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
133
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase0SubKind =
|
|
134
|
+
/*@__PURE__*/ S.String;
|
|
135
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase0Origin =
|
|
136
|
+
/*@__PURE__*/ S.String;
|
|
137
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase0 =
|
|
138
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
139
|
+
subKind: CreateDeploymentCheckRunResponseBodyCase1SourceCase0SubKind,
|
|
140
|
+
origin: CreateDeploymentCheckRunResponseBodyCase1SourceCase0Origin,
|
|
141
|
+
invocationId: S.String,
|
|
142
|
+
jobDefinitionId: S.String,
|
|
143
|
+
})).annotate({
|
|
144
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase1SourceCase0",
|
|
145
|
+
});
|
|
146
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase1SubKind =
|
|
147
|
+
/*@__PURE__*/ S.String;
|
|
148
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase1Origin =
|
|
149
|
+
/*@__PURE__*/ S.String;
|
|
150
|
+
export const CreateDeploymentCheckRunResponseBodyCase1SourceCase1 =
|
|
151
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
152
|
+
subKind: CreateDeploymentCheckRunResponseBodyCase1SourceCase1SubKind,
|
|
153
|
+
origin: CreateDeploymentCheckRunResponseBodyCase1SourceCase1Origin,
|
|
154
|
+
})).annotate({
|
|
155
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase1SourceCase1",
|
|
156
|
+
});
|
|
157
|
+
export const CreateDeploymentCheckRunResponseBodyCase1Source =
|
|
158
|
+
/*@__PURE__*/ S.Unknown;
|
|
159
|
+
export const CreateDeploymentCheckRunResponseBodyCase1 =
|
|
160
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
161
|
+
id: S.String,
|
|
162
|
+
name: S.String,
|
|
163
|
+
ownerId: S.String,
|
|
164
|
+
deploymentId: S.String,
|
|
165
|
+
projectId: S.optional(S.String),
|
|
166
|
+
requires: S.optional(CreateDeploymentCheckRunResponseBodyCase1Requires),
|
|
167
|
+
blocks: S.optional(CreateDeploymentCheckRunResponseBodyCase1Blocks),
|
|
168
|
+
targets: S.optional(CreateDeploymentCheckRunResponseBodyCase1TargetsList),
|
|
169
|
+
status: CreateDeploymentCheckRunResponseBodyCase1Status,
|
|
170
|
+
conclusion: S.optional(CreateDeploymentCheckRunResponseBodyCase1Conclusion),
|
|
171
|
+
conclusionText: S.optional(S.String),
|
|
172
|
+
externalId: S.optional(S.String),
|
|
173
|
+
externalUrl: S.optional(S.String),
|
|
174
|
+
output: S.optional(CreateDeploymentCheckRunResponseBodyCase1OutputMap),
|
|
175
|
+
timeout: S.Number,
|
|
176
|
+
createdAt: S.Number,
|
|
177
|
+
updatedAt: S.Number,
|
|
178
|
+
completedAt: S.optional(S.Number),
|
|
179
|
+
source: CreateDeploymentCheckRunResponseBodyCase1Source,
|
|
180
|
+
})).annotate({
|
|
181
|
+
identifier: "CreateDeploymentCheckRunResponseBodyCase1",
|
|
182
|
+
});
|
|
183
|
+
export const CreateDeploymentCheckRunResponseBody =
|
|
184
|
+
/*@__PURE__*/ S.Unknown;
|
|
185
|
+
export const CreateDeploymentCheckRunResponse = /*@__PURE__*/ S.suspend(() => CreateDeploymentCheckRunResponseBody.pipe(T.RawResponseRoot())).annotate({
|
|
186
|
+
identifier: "CreateDeploymentCheckRunResponse",
|
|
187
|
+
});
|
|
188
|
+
export const CreateProjectCheckRequestRequires = /*@__PURE__*/ S.String;
|
|
189
|
+
export const CreateProjectCheckRequestTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
190
|
+
export const CreateProjectCheckRequestBlocks = /*@__PURE__*/ S.String;
|
|
191
|
+
export const CreateProjectCheckRequestSourceCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
192
|
+
kind: S.optional(S.String),
|
|
193
|
+
externalResourceId: S.optional(S.String),
|
|
194
|
+
})).annotate({
|
|
195
|
+
identifier: "CreateProjectCheckRequestSourceCase0",
|
|
196
|
+
});
|
|
197
|
+
export const CreateProjectCheckRequestSourceCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
198
|
+
kind: S.String,
|
|
199
|
+
webhookId: S.optional(S.String),
|
|
200
|
+
})).annotate({
|
|
201
|
+
identifier: "CreateProjectCheckRequestSourceCase1",
|
|
202
|
+
});
|
|
203
|
+
export const CreateProjectCheckRequestSourceCase2Provider =
|
|
204
|
+
/*@__PURE__*/ S.String;
|
|
205
|
+
export const CreateProjectCheckRequestSourceCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
206
|
+
kind: S.String,
|
|
207
|
+
externalCheckName: S.String,
|
|
208
|
+
provider: CreateProjectCheckRequestSourceCase2Provider,
|
|
209
|
+
})).annotate({
|
|
210
|
+
identifier: "CreateProjectCheckRequestSourceCase2",
|
|
211
|
+
});
|
|
212
|
+
export const CreateProjectCheckRequestSource =
|
|
213
|
+
/*@__PURE__*/ S.Unknown;
|
|
214
|
+
export const CreateProjectCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
215
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
216
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
217
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
218
|
+
name: S.String,
|
|
219
|
+
isRerequestable: S.optional(S.Boolean),
|
|
220
|
+
requires: CreateProjectCheckRequestRequires,
|
|
221
|
+
targets: S.optional(CreateProjectCheckRequestTargetsList),
|
|
222
|
+
blocks: S.optional(CreateProjectCheckRequestBlocks),
|
|
223
|
+
source: S.optional(CreateProjectCheckRequestSource),
|
|
224
|
+
timeout: S.optional(S.Number),
|
|
225
|
+
}).pipe(T.Http({
|
|
226
|
+
method: "POST",
|
|
227
|
+
uri: "/v2/projects/{projectIdOrName}/checks",
|
|
228
|
+
code: 200,
|
|
229
|
+
}))).annotate({
|
|
230
|
+
identifier: "CreateProjectCheckRequest",
|
|
231
|
+
});
|
|
232
|
+
export const CreateProjectCheckResponseRequires = /*@__PURE__*/ S.String;
|
|
233
|
+
export const CreateProjectCheckResponseSourceCase0Kind = /*@__PURE__*/ S.String;
|
|
234
|
+
export const CreateProjectCheckResponseSourceCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
235
|
+
kind: CreateProjectCheckResponseSourceCase0Kind,
|
|
236
|
+
integrationId: S.String,
|
|
237
|
+
integrationConfigurationId: S.String,
|
|
238
|
+
resourceId: S.optional(S.String),
|
|
239
|
+
externalResourceId: S.optional(S.String),
|
|
240
|
+
})).annotate({
|
|
241
|
+
identifier: "CreateProjectCheckResponseSourceCase0",
|
|
242
|
+
});
|
|
243
|
+
export const CreateProjectCheckResponseSourceCase1Kind = /*@__PURE__*/ S.String;
|
|
244
|
+
export const CreateProjectCheckResponseSourceCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
|
+
kind: CreateProjectCheckResponseSourceCase1Kind,
|
|
246
|
+
webhookId: S.optional(S.String),
|
|
247
|
+
})).annotate({
|
|
248
|
+
identifier: "CreateProjectCheckResponseSourceCase1",
|
|
249
|
+
});
|
|
250
|
+
export const CreateProjectCheckResponseSourceCase2Kind = /*@__PURE__*/ S.String;
|
|
251
|
+
export const CreateProjectCheckResponseSourceCase2Provider =
|
|
252
|
+
/*@__PURE__*/ S.String;
|
|
253
|
+
export const CreateProjectCheckResponseSourceCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
254
|
+
kind: CreateProjectCheckResponseSourceCase2Kind,
|
|
255
|
+
provider: CreateProjectCheckResponseSourceCase2Provider,
|
|
256
|
+
externalCheckName: S.String,
|
|
257
|
+
})).annotate({
|
|
258
|
+
identifier: "CreateProjectCheckResponseSourceCase2",
|
|
259
|
+
});
|
|
260
|
+
export const CreateProjectCheckResponseSource =
|
|
261
|
+
/*@__PURE__*/ S.Unknown;
|
|
262
|
+
export const CreateProjectCheckResponseBlocks = /*@__PURE__*/ S.String;
|
|
263
|
+
export const CreateProjectCheckResponseTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
264
|
+
export const CreateProjectCheckResponseSourceKind = /*@__PURE__*/ S.String;
|
|
265
|
+
export const CreateProjectCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
266
|
+
id: S.String,
|
|
267
|
+
name: S.String,
|
|
268
|
+
ownerId: S.String,
|
|
269
|
+
projectId: S.String,
|
|
270
|
+
isRerequestable: S.Boolean,
|
|
271
|
+
requires: CreateProjectCheckResponseRequires,
|
|
272
|
+
source: CreateProjectCheckResponseSource,
|
|
273
|
+
blocks: CreateProjectCheckResponseBlocks,
|
|
274
|
+
targets: CreateProjectCheckResponseTargetsList,
|
|
275
|
+
sourceKind: CreateProjectCheckResponseSourceKind,
|
|
276
|
+
sourceIntegrationConfigurationId: S.optional(S.String),
|
|
277
|
+
timeout: S.Number,
|
|
278
|
+
createdAt: S.Number,
|
|
279
|
+
updatedAt: S.Number,
|
|
280
|
+
deletedAt: S.optional(S.Number),
|
|
281
|
+
})).annotate({
|
|
282
|
+
identifier: "CreateProjectCheckResponse",
|
|
283
|
+
});
|
|
284
|
+
export const DeleteProjectCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
286
|
+
checkId: S.String.pipe(T.Label()),
|
|
287
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
288
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
289
|
+
}).pipe(T.Http({
|
|
290
|
+
method: "DELETE",
|
|
291
|
+
uri: "/v2/projects/{projectIdOrName}/checks/{checkId}",
|
|
292
|
+
code: 200,
|
|
293
|
+
}))).annotate({
|
|
294
|
+
identifier: "DeleteProjectCheckRequest",
|
|
295
|
+
});
|
|
296
|
+
export const DeleteProjectCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
297
|
+
success: S.Boolean,
|
|
298
|
+
})).annotate({
|
|
299
|
+
identifier: "DeleteProjectCheckResponse",
|
|
300
|
+
});
|
|
301
|
+
export const GetDeploymentCheckRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
302
|
+
deploymentId: S.String.pipe(T.Label()),
|
|
303
|
+
checkRunId: S.String.pipe(T.Label()),
|
|
304
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
305
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
306
|
+
}).pipe(T.Http({
|
|
307
|
+
method: "GET",
|
|
308
|
+
uri: "/v2/deployments/{deploymentId}/check-runs/{checkRunId}",
|
|
309
|
+
code: 200,
|
|
310
|
+
}))).annotate({
|
|
311
|
+
identifier: "GetDeploymentCheckRunRequest",
|
|
312
|
+
});
|
|
313
|
+
export const GetDeploymentCheckRunResponseBodyCase0Requires =
|
|
314
|
+
/*@__PURE__*/ S.String;
|
|
315
|
+
export const GetDeploymentCheckRunResponseBodyCase0Blocks =
|
|
316
|
+
/*@__PURE__*/ S.String;
|
|
317
|
+
export const GetDeploymentCheckRunResponseBodyCase0TargetsList =
|
|
318
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
319
|
+
export const GetDeploymentCheckRunResponseBodyCase0Status =
|
|
320
|
+
/*@__PURE__*/ S.String;
|
|
321
|
+
export const GetDeploymentCheckRunResponseBodyCase0Conclusion =
|
|
322
|
+
/*@__PURE__*/ S.String;
|
|
323
|
+
export const GetDeploymentCheckRunResponseBodyCase0OutputMap =
|
|
324
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
325
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase0Kind =
|
|
326
|
+
/*@__PURE__*/ S.String;
|
|
327
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase0 =
|
|
328
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
329
|
+
kind: GetDeploymentCheckRunResponseBodyCase0SourceCase0Kind,
|
|
330
|
+
integrationId: S.String,
|
|
331
|
+
integrationConfigurationId: S.String,
|
|
332
|
+
resourceId: S.optional(S.String),
|
|
333
|
+
externalResourceId: S.optional(S.String),
|
|
334
|
+
})).annotate({
|
|
335
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase0SourceCase0",
|
|
336
|
+
});
|
|
337
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase1Kind =
|
|
338
|
+
/*@__PURE__*/ S.String;
|
|
339
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase1 =
|
|
340
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
341
|
+
kind: GetDeploymentCheckRunResponseBodyCase0SourceCase1Kind,
|
|
342
|
+
webhookId: S.optional(S.String),
|
|
343
|
+
})).annotate({
|
|
344
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase0SourceCase1",
|
|
345
|
+
});
|
|
346
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase2Kind =
|
|
347
|
+
/*@__PURE__*/ S.String;
|
|
348
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase2Provider =
|
|
349
|
+
/*@__PURE__*/ S.String;
|
|
350
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase2 =
|
|
351
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
352
|
+
kind: GetDeploymentCheckRunResponseBodyCase0SourceCase2Kind,
|
|
353
|
+
provider: GetDeploymentCheckRunResponseBodyCase0SourceCase2Provider,
|
|
354
|
+
externalCheckName: S.String,
|
|
355
|
+
})).annotate({
|
|
356
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase0SourceCase2",
|
|
357
|
+
});
|
|
358
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase3SubKind =
|
|
359
|
+
/*@__PURE__*/ S.String;
|
|
360
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase3Origin =
|
|
361
|
+
/*@__PURE__*/ S.String;
|
|
362
|
+
export const GetDeploymentCheckRunResponseBodyCase0SourceCase3 =
|
|
363
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
364
|
+
subKind: S.optional(GetDeploymentCheckRunResponseBodyCase0SourceCase3SubKind),
|
|
365
|
+
origin: S.optional(GetDeploymentCheckRunResponseBodyCase0SourceCase3Origin),
|
|
366
|
+
})).annotate({
|
|
367
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase0SourceCase3",
|
|
368
|
+
});
|
|
369
|
+
export const GetDeploymentCheckRunResponseBodyCase0Source =
|
|
370
|
+
/*@__PURE__*/ S.Unknown;
|
|
371
|
+
export const GetDeploymentCheckRunResponseBodyCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
372
|
+
id: S.String,
|
|
373
|
+
name: S.String,
|
|
374
|
+
ownerId: S.String,
|
|
375
|
+
deploymentId: S.String,
|
|
376
|
+
projectId: S.optional(S.String),
|
|
377
|
+
requires: S.optional(GetDeploymentCheckRunResponseBodyCase0Requires),
|
|
378
|
+
blocks: S.optional(GetDeploymentCheckRunResponseBodyCase0Blocks),
|
|
379
|
+
targets: S.optional(GetDeploymentCheckRunResponseBodyCase0TargetsList),
|
|
380
|
+
status: GetDeploymentCheckRunResponseBodyCase0Status,
|
|
381
|
+
conclusion: S.optional(GetDeploymentCheckRunResponseBodyCase0Conclusion),
|
|
382
|
+
conclusionText: S.optional(S.String),
|
|
383
|
+
externalId: S.optional(S.String),
|
|
384
|
+
externalUrl: S.optional(S.String),
|
|
385
|
+
output: S.optional(GetDeploymentCheckRunResponseBodyCase0OutputMap),
|
|
386
|
+
timeout: S.Number,
|
|
387
|
+
createdAt: S.Number,
|
|
388
|
+
updatedAt: S.Number,
|
|
389
|
+
completedAt: S.optional(S.Number),
|
|
390
|
+
checkId: S.String,
|
|
391
|
+
source: GetDeploymentCheckRunResponseBodyCase0Source,
|
|
392
|
+
})).annotate({
|
|
393
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase0",
|
|
394
|
+
});
|
|
395
|
+
export const GetDeploymentCheckRunResponseBodyCase1Requires =
|
|
396
|
+
/*@__PURE__*/ S.String;
|
|
397
|
+
export const GetDeploymentCheckRunResponseBodyCase1Blocks =
|
|
398
|
+
/*@__PURE__*/ S.String;
|
|
399
|
+
export const GetDeploymentCheckRunResponseBodyCase1TargetsList =
|
|
400
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
401
|
+
export const GetDeploymentCheckRunResponseBodyCase1Status =
|
|
402
|
+
/*@__PURE__*/ S.String;
|
|
403
|
+
export const GetDeploymentCheckRunResponseBodyCase1Conclusion =
|
|
404
|
+
/*@__PURE__*/ S.String;
|
|
405
|
+
export const GetDeploymentCheckRunResponseBodyCase1OutputMap =
|
|
406
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
407
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase0SubKind =
|
|
408
|
+
/*@__PURE__*/ S.String;
|
|
409
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase0Origin =
|
|
410
|
+
/*@__PURE__*/ S.String;
|
|
411
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase0 =
|
|
412
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
413
|
+
subKind: GetDeploymentCheckRunResponseBodyCase1SourceCase0SubKind,
|
|
414
|
+
origin: GetDeploymentCheckRunResponseBodyCase1SourceCase0Origin,
|
|
415
|
+
invocationId: S.String,
|
|
416
|
+
jobDefinitionId: S.String,
|
|
417
|
+
})).annotate({
|
|
418
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase1SourceCase0",
|
|
419
|
+
});
|
|
420
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase1SubKind =
|
|
421
|
+
/*@__PURE__*/ S.String;
|
|
422
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase1Origin =
|
|
423
|
+
/*@__PURE__*/ S.String;
|
|
424
|
+
export const GetDeploymentCheckRunResponseBodyCase1SourceCase1 =
|
|
425
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
426
|
+
subKind: GetDeploymentCheckRunResponseBodyCase1SourceCase1SubKind,
|
|
427
|
+
origin: GetDeploymentCheckRunResponseBodyCase1SourceCase1Origin,
|
|
428
|
+
})).annotate({
|
|
429
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase1SourceCase1",
|
|
430
|
+
});
|
|
431
|
+
export const GetDeploymentCheckRunResponseBodyCase1Source =
|
|
432
|
+
/*@__PURE__*/ S.Unknown;
|
|
433
|
+
export const GetDeploymentCheckRunResponseBodyCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
434
|
+
id: S.String,
|
|
435
|
+
name: S.String,
|
|
436
|
+
ownerId: S.String,
|
|
437
|
+
deploymentId: S.String,
|
|
438
|
+
projectId: S.optional(S.String),
|
|
439
|
+
requires: S.optional(GetDeploymentCheckRunResponseBodyCase1Requires),
|
|
440
|
+
blocks: S.optional(GetDeploymentCheckRunResponseBodyCase1Blocks),
|
|
441
|
+
targets: S.optional(GetDeploymentCheckRunResponseBodyCase1TargetsList),
|
|
442
|
+
status: GetDeploymentCheckRunResponseBodyCase1Status,
|
|
443
|
+
conclusion: S.optional(GetDeploymentCheckRunResponseBodyCase1Conclusion),
|
|
444
|
+
conclusionText: S.optional(S.String),
|
|
445
|
+
externalId: S.optional(S.String),
|
|
446
|
+
externalUrl: S.optional(S.String),
|
|
447
|
+
output: S.optional(GetDeploymentCheckRunResponseBodyCase1OutputMap),
|
|
448
|
+
timeout: S.Number,
|
|
449
|
+
createdAt: S.Number,
|
|
450
|
+
updatedAt: S.Number,
|
|
451
|
+
completedAt: S.optional(S.Number),
|
|
452
|
+
source: GetDeploymentCheckRunResponseBodyCase1Source,
|
|
453
|
+
})).annotate({
|
|
454
|
+
identifier: "GetDeploymentCheckRunResponseBodyCase1",
|
|
455
|
+
});
|
|
456
|
+
export const GetDeploymentCheckRunResponseBody =
|
|
457
|
+
/*@__PURE__*/ S.Unknown;
|
|
458
|
+
export const GetDeploymentCheckRunResponse = /*@__PURE__*/ S.suspend(() => GetDeploymentCheckRunResponseBody.pipe(T.RawResponseRoot())).annotate({
|
|
459
|
+
identifier: "GetDeploymentCheckRunResponse",
|
|
460
|
+
});
|
|
461
|
+
export const GetProjectCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
462
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
463
|
+
checkId: S.String.pipe(T.Label()),
|
|
464
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
465
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
466
|
+
}).pipe(T.Http({
|
|
467
|
+
method: "GET",
|
|
468
|
+
uri: "/v2/projects/{projectIdOrName}/checks/{checkId}",
|
|
469
|
+
code: 200,
|
|
470
|
+
}))).annotate({
|
|
471
|
+
identifier: "GetProjectCheckRequest",
|
|
472
|
+
});
|
|
473
|
+
export const GetProjectCheckResponseRequires = /*@__PURE__*/ S.String;
|
|
474
|
+
export const GetProjectCheckResponseSourceCase0Kind = /*@__PURE__*/ S.String;
|
|
475
|
+
export const GetProjectCheckResponseSourceCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
476
|
+
kind: GetProjectCheckResponseSourceCase0Kind,
|
|
477
|
+
integrationId: S.String,
|
|
478
|
+
integrationConfigurationId: S.String,
|
|
479
|
+
resourceId: S.optional(S.String),
|
|
480
|
+
externalResourceId: S.optional(S.String),
|
|
481
|
+
})).annotate({
|
|
482
|
+
identifier: "GetProjectCheckResponseSourceCase0",
|
|
483
|
+
});
|
|
484
|
+
export const GetProjectCheckResponseSourceCase1Kind = /*@__PURE__*/ S.String;
|
|
485
|
+
export const GetProjectCheckResponseSourceCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
486
|
+
kind: GetProjectCheckResponseSourceCase1Kind,
|
|
487
|
+
webhookId: S.optional(S.String),
|
|
488
|
+
})).annotate({
|
|
489
|
+
identifier: "GetProjectCheckResponseSourceCase1",
|
|
490
|
+
});
|
|
491
|
+
export const GetProjectCheckResponseSourceCase2Kind = /*@__PURE__*/ S.String;
|
|
492
|
+
export const GetProjectCheckResponseSourceCase2Provider =
|
|
493
|
+
/*@__PURE__*/ S.String;
|
|
494
|
+
export const GetProjectCheckResponseSourceCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
495
|
+
kind: GetProjectCheckResponseSourceCase2Kind,
|
|
496
|
+
provider: GetProjectCheckResponseSourceCase2Provider,
|
|
497
|
+
externalCheckName: S.String,
|
|
498
|
+
})).annotate({
|
|
499
|
+
identifier: "GetProjectCheckResponseSourceCase2",
|
|
500
|
+
});
|
|
501
|
+
export const GetProjectCheckResponseSource =
|
|
502
|
+
/*@__PURE__*/ S.Unknown;
|
|
503
|
+
export const GetProjectCheckResponseBlocks = /*@__PURE__*/ S.String;
|
|
504
|
+
export const GetProjectCheckResponseTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
505
|
+
export const GetProjectCheckResponseSourceKind = /*@__PURE__*/ S.String;
|
|
506
|
+
export const GetProjectCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
507
|
+
id: S.String,
|
|
508
|
+
name: S.String,
|
|
509
|
+
ownerId: S.String,
|
|
510
|
+
projectId: S.String,
|
|
511
|
+
isRerequestable: S.Boolean,
|
|
512
|
+
requires: GetProjectCheckResponseRequires,
|
|
513
|
+
source: GetProjectCheckResponseSource,
|
|
514
|
+
blocks: GetProjectCheckResponseBlocks,
|
|
515
|
+
targets: GetProjectCheckResponseTargetsList,
|
|
516
|
+
sourceKind: GetProjectCheckResponseSourceKind,
|
|
517
|
+
sourceIntegrationConfigurationId: S.optional(S.String),
|
|
518
|
+
timeout: S.Number,
|
|
519
|
+
createdAt: S.Number,
|
|
520
|
+
updatedAt: S.Number,
|
|
521
|
+
deletedAt: S.optional(S.Number),
|
|
522
|
+
})).annotate({
|
|
523
|
+
identifier: "GetProjectCheckResponse",
|
|
524
|
+
});
|
|
525
|
+
export const ListCheckRunsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
526
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
527
|
+
checkId: S.String.pipe(T.Label()),
|
|
528
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
529
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
530
|
+
}).pipe(T.Http({
|
|
531
|
+
method: "GET",
|
|
532
|
+
uri: "/v2/projects/{projectIdOrName}/checks/{checkId}/runs",
|
|
533
|
+
code: 200,
|
|
534
|
+
}))).annotate({
|
|
535
|
+
identifier: "ListCheckRunsRequest",
|
|
536
|
+
});
|
|
537
|
+
export const ListCheckRunsResponseRunsItemCase0Requires =
|
|
538
|
+
/*@__PURE__*/ S.String;
|
|
539
|
+
export const ListCheckRunsResponseRunsItemCase0Blocks = /*@__PURE__*/ S.String;
|
|
540
|
+
export const ListCheckRunsResponseRunsItemCase0TargetsList =
|
|
541
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
542
|
+
export const ListCheckRunsResponseRunsItemCase0Status = /*@__PURE__*/ S.String;
|
|
543
|
+
export const ListCheckRunsResponseRunsItemCase0Conclusion =
|
|
544
|
+
/*@__PURE__*/ S.String;
|
|
545
|
+
export const ListCheckRunsResponseRunsItemCase0OutputMap =
|
|
546
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
547
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase0Kind =
|
|
548
|
+
/*@__PURE__*/ S.String;
|
|
549
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase0 =
|
|
550
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
551
|
+
kind: ListCheckRunsResponseRunsItemCase0SourceCase0Kind,
|
|
552
|
+
integrationId: S.String,
|
|
553
|
+
integrationConfigurationId: S.String,
|
|
554
|
+
resourceId: S.optional(S.String),
|
|
555
|
+
externalResourceId: S.optional(S.String),
|
|
556
|
+
})).annotate({
|
|
557
|
+
identifier: "ListCheckRunsResponseRunsItemCase0SourceCase0",
|
|
558
|
+
});
|
|
559
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase1Kind =
|
|
560
|
+
/*@__PURE__*/ S.String;
|
|
561
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase1 =
|
|
562
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
563
|
+
kind: ListCheckRunsResponseRunsItemCase0SourceCase1Kind,
|
|
564
|
+
webhookId: S.optional(S.String),
|
|
565
|
+
})).annotate({
|
|
566
|
+
identifier: "ListCheckRunsResponseRunsItemCase0SourceCase1",
|
|
567
|
+
});
|
|
568
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase2Kind =
|
|
569
|
+
/*@__PURE__*/ S.String;
|
|
570
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase2Provider =
|
|
571
|
+
/*@__PURE__*/ S.String;
|
|
572
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase2 =
|
|
573
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
574
|
+
kind: ListCheckRunsResponseRunsItemCase0SourceCase2Kind,
|
|
575
|
+
provider: ListCheckRunsResponseRunsItemCase0SourceCase2Provider,
|
|
576
|
+
externalCheckName: S.String,
|
|
577
|
+
})).annotate({
|
|
578
|
+
identifier: "ListCheckRunsResponseRunsItemCase0SourceCase2",
|
|
579
|
+
});
|
|
580
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase3SubKind =
|
|
581
|
+
/*@__PURE__*/ S.String;
|
|
582
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase3Origin =
|
|
583
|
+
/*@__PURE__*/ S.String;
|
|
584
|
+
export const ListCheckRunsResponseRunsItemCase0SourceCase3 =
|
|
585
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
586
|
+
subKind: S.optional(ListCheckRunsResponseRunsItemCase0SourceCase3SubKind),
|
|
587
|
+
origin: S.optional(ListCheckRunsResponseRunsItemCase0SourceCase3Origin),
|
|
588
|
+
})).annotate({
|
|
589
|
+
identifier: "ListCheckRunsResponseRunsItemCase0SourceCase3",
|
|
590
|
+
});
|
|
591
|
+
export const ListCheckRunsResponseRunsItemCase0Source =
|
|
592
|
+
/*@__PURE__*/ S.Unknown;
|
|
593
|
+
export const ListCheckRunsResponseRunsItemCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
594
|
+
id: S.String,
|
|
595
|
+
name: S.String,
|
|
596
|
+
ownerId: S.String,
|
|
597
|
+
deploymentId: S.String,
|
|
598
|
+
projectId: S.optional(S.String),
|
|
599
|
+
requires: S.optional(ListCheckRunsResponseRunsItemCase0Requires),
|
|
600
|
+
blocks: S.optional(ListCheckRunsResponseRunsItemCase0Blocks),
|
|
601
|
+
targets: S.optional(ListCheckRunsResponseRunsItemCase0TargetsList),
|
|
602
|
+
status: ListCheckRunsResponseRunsItemCase0Status,
|
|
603
|
+
conclusion: S.optional(ListCheckRunsResponseRunsItemCase0Conclusion),
|
|
604
|
+
conclusionText: S.optional(S.String),
|
|
605
|
+
externalId: S.optional(S.String),
|
|
606
|
+
externalUrl: S.optional(S.String),
|
|
607
|
+
output: S.optional(ListCheckRunsResponseRunsItemCase0OutputMap),
|
|
608
|
+
timeout: S.Number,
|
|
609
|
+
createdAt: S.Number,
|
|
610
|
+
updatedAt: S.Number,
|
|
611
|
+
completedAt: S.optional(S.Number),
|
|
612
|
+
checkId: S.String,
|
|
613
|
+
source: ListCheckRunsResponseRunsItemCase0Source,
|
|
614
|
+
})).annotate({
|
|
615
|
+
identifier: "ListCheckRunsResponseRunsItemCase0",
|
|
616
|
+
});
|
|
617
|
+
export const ListCheckRunsResponseRunsItemCase1Requires =
|
|
618
|
+
/*@__PURE__*/ S.String;
|
|
619
|
+
export const ListCheckRunsResponseRunsItemCase1Blocks = /*@__PURE__*/ S.String;
|
|
620
|
+
export const ListCheckRunsResponseRunsItemCase1TargetsList =
|
|
621
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
622
|
+
export const ListCheckRunsResponseRunsItemCase1Status = /*@__PURE__*/ S.String;
|
|
623
|
+
export const ListCheckRunsResponseRunsItemCase1Conclusion =
|
|
624
|
+
/*@__PURE__*/ S.String;
|
|
625
|
+
export const ListCheckRunsResponseRunsItemCase1OutputMap =
|
|
626
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
627
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase0SubKind =
|
|
628
|
+
/*@__PURE__*/ S.String;
|
|
629
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase0Origin =
|
|
630
|
+
/*@__PURE__*/ S.String;
|
|
631
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase0 =
|
|
632
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
633
|
+
subKind: ListCheckRunsResponseRunsItemCase1SourceCase0SubKind,
|
|
634
|
+
origin: ListCheckRunsResponseRunsItemCase1SourceCase0Origin,
|
|
635
|
+
invocationId: S.String,
|
|
636
|
+
jobDefinitionId: S.String,
|
|
637
|
+
})).annotate({
|
|
638
|
+
identifier: "ListCheckRunsResponseRunsItemCase1SourceCase0",
|
|
639
|
+
});
|
|
640
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase1SubKind =
|
|
641
|
+
/*@__PURE__*/ S.String;
|
|
642
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase1Origin =
|
|
643
|
+
/*@__PURE__*/ S.String;
|
|
644
|
+
export const ListCheckRunsResponseRunsItemCase1SourceCase1 =
|
|
645
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
646
|
+
subKind: ListCheckRunsResponseRunsItemCase1SourceCase1SubKind,
|
|
647
|
+
origin: ListCheckRunsResponseRunsItemCase1SourceCase1Origin,
|
|
648
|
+
})).annotate({
|
|
649
|
+
identifier: "ListCheckRunsResponseRunsItemCase1SourceCase1",
|
|
650
|
+
});
|
|
651
|
+
export const ListCheckRunsResponseRunsItemCase1Source =
|
|
652
|
+
/*@__PURE__*/ S.Unknown;
|
|
653
|
+
export const ListCheckRunsResponseRunsItemCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
654
|
+
id: S.String,
|
|
655
|
+
name: S.String,
|
|
656
|
+
ownerId: S.String,
|
|
657
|
+
deploymentId: S.String,
|
|
658
|
+
projectId: S.optional(S.String),
|
|
659
|
+
requires: S.optional(ListCheckRunsResponseRunsItemCase1Requires),
|
|
660
|
+
blocks: S.optional(ListCheckRunsResponseRunsItemCase1Blocks),
|
|
661
|
+
targets: S.optional(ListCheckRunsResponseRunsItemCase1TargetsList),
|
|
662
|
+
status: ListCheckRunsResponseRunsItemCase1Status,
|
|
663
|
+
conclusion: S.optional(ListCheckRunsResponseRunsItemCase1Conclusion),
|
|
664
|
+
conclusionText: S.optional(S.String),
|
|
665
|
+
externalId: S.optional(S.String),
|
|
666
|
+
externalUrl: S.optional(S.String),
|
|
667
|
+
output: S.optional(ListCheckRunsResponseRunsItemCase1OutputMap),
|
|
668
|
+
timeout: S.Number,
|
|
669
|
+
createdAt: S.Number,
|
|
670
|
+
updatedAt: S.Number,
|
|
671
|
+
completedAt: S.optional(S.Number),
|
|
672
|
+
source: ListCheckRunsResponseRunsItemCase1Source,
|
|
673
|
+
})).annotate({
|
|
674
|
+
identifier: "ListCheckRunsResponseRunsItemCase1",
|
|
675
|
+
});
|
|
676
|
+
export const ListCheckRunsResponseRunsItem =
|
|
677
|
+
/*@__PURE__*/ S.Unknown;
|
|
678
|
+
export const ListCheckRunsResponseRunsList = /*@__PURE__*/ S.Array(ListCheckRunsResponseRunsItem);
|
|
679
|
+
export const ListCheckRunsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
680
|
+
runs: ListCheckRunsResponseRunsList,
|
|
681
|
+
})).annotate({
|
|
682
|
+
identifier: "ListCheckRunsResponse",
|
|
683
|
+
});
|
|
684
|
+
export const ListDeploymentCheckRunsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
685
|
+
deploymentId: S.String.pipe(T.Label()),
|
|
686
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
687
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
688
|
+
}).pipe(T.Http({
|
|
689
|
+
method: "GET",
|
|
690
|
+
uri: "/v2/deployments/{deploymentId}/check-runs",
|
|
691
|
+
code: 200,
|
|
692
|
+
}))).annotate({
|
|
693
|
+
identifier: "ListDeploymentCheckRunsRequest",
|
|
694
|
+
});
|
|
695
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0Requires =
|
|
696
|
+
/*@__PURE__*/ S.String;
|
|
697
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0Blocks =
|
|
698
|
+
/*@__PURE__*/ S.String;
|
|
699
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0TargetsList =
|
|
700
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
701
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0Status =
|
|
702
|
+
/*@__PURE__*/ S.String;
|
|
703
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0Conclusion =
|
|
704
|
+
/*@__PURE__*/ S.String;
|
|
705
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0OutputMap =
|
|
706
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
707
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase0Kind =
|
|
708
|
+
/*@__PURE__*/ S.String;
|
|
709
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase0 =
|
|
710
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
711
|
+
kind: ListDeploymentCheckRunsResponseRunsItemCase0SourceCase0Kind,
|
|
712
|
+
integrationId: S.String,
|
|
713
|
+
integrationConfigurationId: S.String,
|
|
714
|
+
resourceId: S.optional(S.String),
|
|
715
|
+
externalResourceId: S.optional(S.String),
|
|
716
|
+
})).annotate({
|
|
717
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase0SourceCase0",
|
|
718
|
+
});
|
|
719
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase1Kind =
|
|
720
|
+
/*@__PURE__*/ S.String;
|
|
721
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase1 =
|
|
722
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
723
|
+
kind: ListDeploymentCheckRunsResponseRunsItemCase0SourceCase1Kind,
|
|
724
|
+
webhookId: S.optional(S.String),
|
|
725
|
+
})).annotate({
|
|
726
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase0SourceCase1",
|
|
727
|
+
});
|
|
728
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2Kind =
|
|
729
|
+
/*@__PURE__*/ S.String;
|
|
730
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2Provider =
|
|
731
|
+
/*@__PURE__*/ S.String;
|
|
732
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2 =
|
|
733
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
734
|
+
kind: ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2Kind,
|
|
735
|
+
provider: ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2Provider,
|
|
736
|
+
externalCheckName: S.String,
|
|
737
|
+
})).annotate({
|
|
738
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase0SourceCase2",
|
|
739
|
+
});
|
|
740
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3SubKind =
|
|
741
|
+
/*@__PURE__*/ S.String;
|
|
742
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3Origin =
|
|
743
|
+
/*@__PURE__*/ S.String;
|
|
744
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3 =
|
|
745
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
746
|
+
subKind: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3SubKind),
|
|
747
|
+
origin: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3Origin),
|
|
748
|
+
})).annotate({
|
|
749
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase0SourceCase3",
|
|
750
|
+
});
|
|
751
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0Source =
|
|
752
|
+
/*@__PURE__*/ S.Unknown;
|
|
753
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase0 =
|
|
754
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
755
|
+
id: S.String,
|
|
756
|
+
name: S.String,
|
|
757
|
+
ownerId: S.String,
|
|
758
|
+
deploymentId: S.String,
|
|
759
|
+
projectId: S.optional(S.String),
|
|
760
|
+
requires: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0Requires),
|
|
761
|
+
blocks: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0Blocks),
|
|
762
|
+
targets: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0TargetsList),
|
|
763
|
+
status: ListDeploymentCheckRunsResponseRunsItemCase0Status,
|
|
764
|
+
conclusion: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0Conclusion),
|
|
765
|
+
conclusionText: S.optional(S.String),
|
|
766
|
+
externalId: S.optional(S.String),
|
|
767
|
+
externalUrl: S.optional(S.String),
|
|
768
|
+
output: S.optional(ListDeploymentCheckRunsResponseRunsItemCase0OutputMap),
|
|
769
|
+
timeout: S.Number,
|
|
770
|
+
createdAt: S.Number,
|
|
771
|
+
updatedAt: S.Number,
|
|
772
|
+
completedAt: S.optional(S.Number),
|
|
773
|
+
checkId: S.String,
|
|
774
|
+
source: ListDeploymentCheckRunsResponseRunsItemCase0Source,
|
|
775
|
+
})).annotate({
|
|
776
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase0",
|
|
777
|
+
});
|
|
778
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1Requires =
|
|
779
|
+
/*@__PURE__*/ S.String;
|
|
780
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1Blocks =
|
|
781
|
+
/*@__PURE__*/ S.String;
|
|
782
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1TargetsList =
|
|
783
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
784
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1Status =
|
|
785
|
+
/*@__PURE__*/ S.String;
|
|
786
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1Conclusion =
|
|
787
|
+
/*@__PURE__*/ S.String;
|
|
788
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1OutputMap =
|
|
789
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
790
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0SubKind =
|
|
791
|
+
/*@__PURE__*/ S.String;
|
|
792
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0Origin =
|
|
793
|
+
/*@__PURE__*/ S.String;
|
|
794
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0 =
|
|
795
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
796
|
+
subKind: ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0SubKind,
|
|
797
|
+
origin: ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0Origin,
|
|
798
|
+
invocationId: S.String,
|
|
799
|
+
jobDefinitionId: S.String,
|
|
800
|
+
})).annotate({
|
|
801
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase1SourceCase0",
|
|
802
|
+
});
|
|
803
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1SubKind =
|
|
804
|
+
/*@__PURE__*/ S.String;
|
|
805
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1Origin =
|
|
806
|
+
/*@__PURE__*/ S.String;
|
|
807
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1 =
|
|
808
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
809
|
+
subKind: ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1SubKind,
|
|
810
|
+
origin: ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1Origin,
|
|
811
|
+
})).annotate({
|
|
812
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase1SourceCase1",
|
|
813
|
+
});
|
|
814
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1Source =
|
|
815
|
+
/*@__PURE__*/ S.Unknown;
|
|
816
|
+
export const ListDeploymentCheckRunsResponseRunsItemCase1 =
|
|
817
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
818
|
+
id: S.String,
|
|
819
|
+
name: S.String,
|
|
820
|
+
ownerId: S.String,
|
|
821
|
+
deploymentId: S.String,
|
|
822
|
+
projectId: S.optional(S.String),
|
|
823
|
+
requires: S.optional(ListDeploymentCheckRunsResponseRunsItemCase1Requires),
|
|
824
|
+
blocks: S.optional(ListDeploymentCheckRunsResponseRunsItemCase1Blocks),
|
|
825
|
+
targets: S.optional(ListDeploymentCheckRunsResponseRunsItemCase1TargetsList),
|
|
826
|
+
status: ListDeploymentCheckRunsResponseRunsItemCase1Status,
|
|
827
|
+
conclusion: S.optional(ListDeploymentCheckRunsResponseRunsItemCase1Conclusion),
|
|
828
|
+
conclusionText: S.optional(S.String),
|
|
829
|
+
externalId: S.optional(S.String),
|
|
830
|
+
externalUrl: S.optional(S.String),
|
|
831
|
+
output: S.optional(ListDeploymentCheckRunsResponseRunsItemCase1OutputMap),
|
|
832
|
+
timeout: S.Number,
|
|
833
|
+
createdAt: S.Number,
|
|
834
|
+
updatedAt: S.Number,
|
|
835
|
+
completedAt: S.optional(S.Number),
|
|
836
|
+
source: ListDeploymentCheckRunsResponseRunsItemCase1Source,
|
|
837
|
+
})).annotate({
|
|
838
|
+
identifier: "ListDeploymentCheckRunsResponseRunsItemCase1",
|
|
839
|
+
});
|
|
840
|
+
export const ListDeploymentCheckRunsResponseRunsItem =
|
|
841
|
+
/*@__PURE__*/ S.Unknown;
|
|
842
|
+
export const ListDeploymentCheckRunsResponseRunsList = /*@__PURE__*/ S.Array(ListDeploymentCheckRunsResponseRunsItem);
|
|
843
|
+
export const ListDeploymentCheckRunsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
844
|
+
runs: ListDeploymentCheckRunsResponseRunsList,
|
|
845
|
+
})).annotate({
|
|
846
|
+
identifier: "ListDeploymentCheckRunsResponse",
|
|
847
|
+
});
|
|
848
|
+
export const ListProjectChecksRequestBlocks = /*@__PURE__*/ S.String;
|
|
849
|
+
export const ListProjectChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
850
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
851
|
+
blocks: S.optional(ListProjectChecksRequestBlocks.pipe(T.Query())),
|
|
852
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
853
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
854
|
+
}).pipe(T.Http({
|
|
855
|
+
method: "GET",
|
|
856
|
+
uri: "/v2/projects/{projectIdOrName}/checks",
|
|
857
|
+
code: 200,
|
|
858
|
+
}))).annotate({
|
|
859
|
+
identifier: "ListProjectChecksRequest",
|
|
860
|
+
});
|
|
861
|
+
export const ListProjectChecksResponseChecksItemRequires =
|
|
862
|
+
/*@__PURE__*/ S.String;
|
|
863
|
+
export const ListProjectChecksResponseChecksItemSourceCase0Kind =
|
|
864
|
+
/*@__PURE__*/ S.String;
|
|
865
|
+
export const ListProjectChecksResponseChecksItemSourceCase0 =
|
|
866
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
867
|
+
kind: ListProjectChecksResponseChecksItemSourceCase0Kind,
|
|
868
|
+
integrationId: S.String,
|
|
869
|
+
integrationConfigurationId: S.String,
|
|
870
|
+
resourceId: S.optional(S.String),
|
|
871
|
+
externalResourceId: S.optional(S.String),
|
|
872
|
+
})).annotate({
|
|
873
|
+
identifier: "ListProjectChecksResponseChecksItemSourceCase0",
|
|
874
|
+
});
|
|
875
|
+
export const ListProjectChecksResponseChecksItemSourceCase1Kind =
|
|
876
|
+
/*@__PURE__*/ S.String;
|
|
877
|
+
export const ListProjectChecksResponseChecksItemSourceCase1 =
|
|
878
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
879
|
+
kind: ListProjectChecksResponseChecksItemSourceCase1Kind,
|
|
880
|
+
webhookId: S.optional(S.String),
|
|
881
|
+
})).annotate({
|
|
882
|
+
identifier: "ListProjectChecksResponseChecksItemSourceCase1",
|
|
883
|
+
});
|
|
884
|
+
export const ListProjectChecksResponseChecksItemSourceCase2Kind =
|
|
885
|
+
/*@__PURE__*/ S.String;
|
|
886
|
+
export const ListProjectChecksResponseChecksItemSourceCase2Provider =
|
|
887
|
+
/*@__PURE__*/ S.String;
|
|
888
|
+
export const ListProjectChecksResponseChecksItemSourceCase2 =
|
|
889
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
890
|
+
kind: ListProjectChecksResponseChecksItemSourceCase2Kind,
|
|
891
|
+
provider: ListProjectChecksResponseChecksItemSourceCase2Provider,
|
|
892
|
+
externalCheckName: S.String,
|
|
893
|
+
})).annotate({
|
|
894
|
+
identifier: "ListProjectChecksResponseChecksItemSourceCase2",
|
|
895
|
+
});
|
|
896
|
+
export const ListProjectChecksResponseChecksItemSource =
|
|
897
|
+
/*@__PURE__*/ S.Unknown;
|
|
898
|
+
export const ListProjectChecksResponseChecksItemBlocks = /*@__PURE__*/ S.String;
|
|
899
|
+
export const ListProjectChecksResponseChecksItemTargetsList =
|
|
900
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
901
|
+
export const ListProjectChecksResponseChecksItemSourceKind =
|
|
902
|
+
/*@__PURE__*/ S.String;
|
|
903
|
+
export const ListProjectChecksResponseChecksItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
904
|
+
id: S.String,
|
|
905
|
+
name: S.String,
|
|
906
|
+
ownerId: S.String,
|
|
907
|
+
projectId: S.String,
|
|
908
|
+
isRerequestable: S.Boolean,
|
|
909
|
+
requires: ListProjectChecksResponseChecksItemRequires,
|
|
910
|
+
source: ListProjectChecksResponseChecksItemSource,
|
|
911
|
+
blocks: ListProjectChecksResponseChecksItemBlocks,
|
|
912
|
+
targets: ListProjectChecksResponseChecksItemTargetsList,
|
|
913
|
+
sourceKind: ListProjectChecksResponseChecksItemSourceKind,
|
|
914
|
+
sourceIntegrationConfigurationId: S.optional(S.String),
|
|
915
|
+
timeout: S.Number,
|
|
916
|
+
createdAt: S.Number,
|
|
917
|
+
updatedAt: S.Number,
|
|
918
|
+
deletedAt: S.optional(S.Number),
|
|
919
|
+
})).annotate({
|
|
920
|
+
identifier: "ListProjectChecksResponseChecksItem",
|
|
921
|
+
});
|
|
922
|
+
export const ListProjectChecksResponseChecksList = /*@__PURE__*/ S.Array(ListProjectChecksResponseChecksItem);
|
|
923
|
+
export const ListProjectChecksResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
924
|
+
checks: ListProjectChecksResponseChecksList,
|
|
925
|
+
})).annotate({
|
|
926
|
+
identifier: "ListProjectChecksResponse",
|
|
927
|
+
});
|
|
928
|
+
export const UpdateDeploymentCheckRunRequestStatus = /*@__PURE__*/ S.String;
|
|
929
|
+
export const UpdateDeploymentCheckRunRequestConclusion = /*@__PURE__*/ S.String;
|
|
930
|
+
export const UpdateDeploymentCheckRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
931
|
+
deploymentId: S.String.pipe(T.Label()),
|
|
932
|
+
checkRunId: S.String.pipe(T.Label()),
|
|
933
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
934
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
935
|
+
externalId: S.optional(S.String),
|
|
936
|
+
externalUrl: S.optional(S.String),
|
|
937
|
+
status: S.optional(UpdateDeploymentCheckRunRequestStatus),
|
|
938
|
+
output: S.optional(S.Unknown),
|
|
939
|
+
completedAt: S.optional(S.Number),
|
|
940
|
+
conclusion: S.optional(UpdateDeploymentCheckRunRequestConclusion),
|
|
941
|
+
conclusionText: S.optional(S.String),
|
|
942
|
+
}).pipe(T.Http({
|
|
943
|
+
method: "PATCH",
|
|
944
|
+
uri: "/v2/deployments/{deploymentId}/check-runs/{checkRunId}",
|
|
945
|
+
code: 200,
|
|
946
|
+
}))).annotate({
|
|
947
|
+
identifier: "UpdateDeploymentCheckRunRequest",
|
|
948
|
+
});
|
|
949
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0Requires =
|
|
950
|
+
/*@__PURE__*/ S.String;
|
|
951
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0Blocks =
|
|
952
|
+
/*@__PURE__*/ S.String;
|
|
953
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0TargetsList =
|
|
954
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
955
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0Status =
|
|
956
|
+
/*@__PURE__*/ S.String;
|
|
957
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0Conclusion =
|
|
958
|
+
/*@__PURE__*/ S.String;
|
|
959
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0OutputMap =
|
|
960
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
961
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase0Kind =
|
|
962
|
+
/*@__PURE__*/ S.String;
|
|
963
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase0 =
|
|
964
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
965
|
+
kind: UpdateDeploymentCheckRunResponseBodyCase0SourceCase0Kind,
|
|
966
|
+
integrationId: S.String,
|
|
967
|
+
integrationConfigurationId: S.String,
|
|
968
|
+
resourceId: S.optional(S.String),
|
|
969
|
+
externalResourceId: S.optional(S.String),
|
|
970
|
+
})).annotate({
|
|
971
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase0SourceCase0",
|
|
972
|
+
});
|
|
973
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase1Kind =
|
|
974
|
+
/*@__PURE__*/ S.String;
|
|
975
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase1 =
|
|
976
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
977
|
+
kind: UpdateDeploymentCheckRunResponseBodyCase0SourceCase1Kind,
|
|
978
|
+
webhookId: S.optional(S.String),
|
|
979
|
+
})).annotate({
|
|
980
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase0SourceCase1",
|
|
981
|
+
});
|
|
982
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase2Kind =
|
|
983
|
+
/*@__PURE__*/ S.String;
|
|
984
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase2Provider =
|
|
985
|
+
/*@__PURE__*/ S.String;
|
|
986
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase2 =
|
|
987
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
988
|
+
kind: UpdateDeploymentCheckRunResponseBodyCase0SourceCase2Kind,
|
|
989
|
+
provider: UpdateDeploymentCheckRunResponseBodyCase0SourceCase2Provider,
|
|
990
|
+
externalCheckName: S.String,
|
|
991
|
+
})).annotate({
|
|
992
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase0SourceCase2",
|
|
993
|
+
});
|
|
994
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase3SubKind =
|
|
995
|
+
/*@__PURE__*/ S.String;
|
|
996
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase3Origin =
|
|
997
|
+
/*@__PURE__*/ S.String;
|
|
998
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0SourceCase3 =
|
|
999
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1000
|
+
subKind: S.optional(UpdateDeploymentCheckRunResponseBodyCase0SourceCase3SubKind),
|
|
1001
|
+
origin: S.optional(UpdateDeploymentCheckRunResponseBodyCase0SourceCase3Origin),
|
|
1002
|
+
})).annotate({
|
|
1003
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase0SourceCase3",
|
|
1004
|
+
});
|
|
1005
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0Source =
|
|
1006
|
+
/*@__PURE__*/ S.Unknown;
|
|
1007
|
+
export const UpdateDeploymentCheckRunResponseBodyCase0 =
|
|
1008
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1009
|
+
id: S.String,
|
|
1010
|
+
name: S.String,
|
|
1011
|
+
ownerId: S.String,
|
|
1012
|
+
deploymentId: S.String,
|
|
1013
|
+
projectId: S.optional(S.String),
|
|
1014
|
+
requires: S.optional(UpdateDeploymentCheckRunResponseBodyCase0Requires),
|
|
1015
|
+
blocks: S.optional(UpdateDeploymentCheckRunResponseBodyCase0Blocks),
|
|
1016
|
+
targets: S.optional(UpdateDeploymentCheckRunResponseBodyCase0TargetsList),
|
|
1017
|
+
status: UpdateDeploymentCheckRunResponseBodyCase0Status,
|
|
1018
|
+
conclusion: S.optional(UpdateDeploymentCheckRunResponseBodyCase0Conclusion),
|
|
1019
|
+
conclusionText: S.optional(S.String),
|
|
1020
|
+
externalId: S.optional(S.String),
|
|
1021
|
+
externalUrl: S.optional(S.String),
|
|
1022
|
+
output: S.optional(UpdateDeploymentCheckRunResponseBodyCase0OutputMap),
|
|
1023
|
+
timeout: S.Number,
|
|
1024
|
+
createdAt: S.Number,
|
|
1025
|
+
updatedAt: S.Number,
|
|
1026
|
+
completedAt: S.optional(S.Number),
|
|
1027
|
+
checkId: S.String,
|
|
1028
|
+
source: UpdateDeploymentCheckRunResponseBodyCase0Source,
|
|
1029
|
+
})).annotate({
|
|
1030
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase0",
|
|
1031
|
+
});
|
|
1032
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1Requires =
|
|
1033
|
+
/*@__PURE__*/ S.String;
|
|
1034
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1Blocks =
|
|
1035
|
+
/*@__PURE__*/ S.String;
|
|
1036
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1TargetsList =
|
|
1037
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1038
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1Status =
|
|
1039
|
+
/*@__PURE__*/ S.String;
|
|
1040
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1Conclusion =
|
|
1041
|
+
/*@__PURE__*/ S.String;
|
|
1042
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1OutputMap =
|
|
1043
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
1044
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase0SubKind =
|
|
1045
|
+
/*@__PURE__*/ S.String;
|
|
1046
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase0Origin =
|
|
1047
|
+
/*@__PURE__*/ S.String;
|
|
1048
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase0 =
|
|
1049
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1050
|
+
subKind: UpdateDeploymentCheckRunResponseBodyCase1SourceCase0SubKind,
|
|
1051
|
+
origin: UpdateDeploymentCheckRunResponseBodyCase1SourceCase0Origin,
|
|
1052
|
+
invocationId: S.String,
|
|
1053
|
+
jobDefinitionId: S.String,
|
|
1054
|
+
})).annotate({
|
|
1055
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase1SourceCase0",
|
|
1056
|
+
});
|
|
1057
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase1SubKind =
|
|
1058
|
+
/*@__PURE__*/ S.String;
|
|
1059
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase1Origin =
|
|
1060
|
+
/*@__PURE__*/ S.String;
|
|
1061
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1SourceCase1 =
|
|
1062
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1063
|
+
subKind: UpdateDeploymentCheckRunResponseBodyCase1SourceCase1SubKind,
|
|
1064
|
+
origin: UpdateDeploymentCheckRunResponseBodyCase1SourceCase1Origin,
|
|
1065
|
+
})).annotate({
|
|
1066
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase1SourceCase1",
|
|
1067
|
+
});
|
|
1068
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1Source =
|
|
1069
|
+
/*@__PURE__*/ S.Unknown;
|
|
1070
|
+
export const UpdateDeploymentCheckRunResponseBodyCase1 =
|
|
1071
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1072
|
+
id: S.String,
|
|
1073
|
+
name: S.String,
|
|
1074
|
+
ownerId: S.String,
|
|
1075
|
+
deploymentId: S.String,
|
|
1076
|
+
projectId: S.optional(S.String),
|
|
1077
|
+
requires: S.optional(UpdateDeploymentCheckRunResponseBodyCase1Requires),
|
|
1078
|
+
blocks: S.optional(UpdateDeploymentCheckRunResponseBodyCase1Blocks),
|
|
1079
|
+
targets: S.optional(UpdateDeploymentCheckRunResponseBodyCase1TargetsList),
|
|
1080
|
+
status: UpdateDeploymentCheckRunResponseBodyCase1Status,
|
|
1081
|
+
conclusion: S.optional(UpdateDeploymentCheckRunResponseBodyCase1Conclusion),
|
|
1082
|
+
conclusionText: S.optional(S.String),
|
|
1083
|
+
externalId: S.optional(S.String),
|
|
1084
|
+
externalUrl: S.optional(S.String),
|
|
1085
|
+
output: S.optional(UpdateDeploymentCheckRunResponseBodyCase1OutputMap),
|
|
1086
|
+
timeout: S.Number,
|
|
1087
|
+
createdAt: S.Number,
|
|
1088
|
+
updatedAt: S.Number,
|
|
1089
|
+
completedAt: S.optional(S.Number),
|
|
1090
|
+
source: UpdateDeploymentCheckRunResponseBodyCase1Source,
|
|
1091
|
+
})).annotate({
|
|
1092
|
+
identifier: "UpdateDeploymentCheckRunResponseBodyCase1",
|
|
1093
|
+
});
|
|
1094
|
+
export const UpdateDeploymentCheckRunResponseBody =
|
|
1095
|
+
/*@__PURE__*/ S.Unknown;
|
|
1096
|
+
export const UpdateDeploymentCheckRunResponse = /*@__PURE__*/ S.suspend(() => UpdateDeploymentCheckRunResponseBody.pipe(T.RawResponseRoot())).annotate({
|
|
1097
|
+
identifier: "UpdateDeploymentCheckRunResponse",
|
|
1098
|
+
});
|
|
1099
|
+
export const UpdateProjectCheckRequestRequires = /*@__PURE__*/ S.String;
|
|
1100
|
+
export const UpdateProjectCheckRequestTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1101
|
+
export const UpdateProjectCheckRequestBlocks = /*@__PURE__*/ S.String;
|
|
1102
|
+
export const UpdateProjectCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1103
|
+
projectIdOrName: S.String.pipe(T.Label()),
|
|
1104
|
+
checkId: S.String.pipe(T.Label()),
|
|
1105
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
1106
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
1107
|
+
name: S.optional(S.String),
|
|
1108
|
+
isRerequestable: S.optional(S.Boolean),
|
|
1109
|
+
requires: S.optional(UpdateProjectCheckRequestRequires),
|
|
1110
|
+
targets: S.optional(UpdateProjectCheckRequestTargetsList),
|
|
1111
|
+
blocks: S.optional(UpdateProjectCheckRequestBlocks),
|
|
1112
|
+
timeout: S.optional(S.Number),
|
|
1113
|
+
}).pipe(T.Http({
|
|
1114
|
+
method: "PATCH",
|
|
1115
|
+
uri: "/v2/projects/{projectIdOrName}/checks/{checkId}",
|
|
1116
|
+
code: 200,
|
|
1117
|
+
}))).annotate({
|
|
1118
|
+
identifier: "UpdateProjectCheckRequest",
|
|
1119
|
+
});
|
|
1120
|
+
export const UpdateProjectCheckResponseRequires = /*@__PURE__*/ S.String;
|
|
1121
|
+
export const UpdateProjectCheckResponseSourceCase0Kind = /*@__PURE__*/ S.String;
|
|
1122
|
+
export const UpdateProjectCheckResponseSourceCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1123
|
+
kind: UpdateProjectCheckResponseSourceCase0Kind,
|
|
1124
|
+
integrationId: S.String,
|
|
1125
|
+
integrationConfigurationId: S.String,
|
|
1126
|
+
resourceId: S.optional(S.String),
|
|
1127
|
+
externalResourceId: S.optional(S.String),
|
|
1128
|
+
})).annotate({
|
|
1129
|
+
identifier: "UpdateProjectCheckResponseSourceCase0",
|
|
1130
|
+
});
|
|
1131
|
+
export const UpdateProjectCheckResponseSourceCase1Kind = /*@__PURE__*/ S.String;
|
|
1132
|
+
export const UpdateProjectCheckResponseSourceCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1133
|
+
kind: UpdateProjectCheckResponseSourceCase1Kind,
|
|
1134
|
+
webhookId: S.optional(S.String),
|
|
1135
|
+
})).annotate({
|
|
1136
|
+
identifier: "UpdateProjectCheckResponseSourceCase1",
|
|
1137
|
+
});
|
|
1138
|
+
export const UpdateProjectCheckResponseSourceCase2Kind = /*@__PURE__*/ S.String;
|
|
1139
|
+
export const UpdateProjectCheckResponseSourceCase2Provider =
|
|
1140
|
+
/*@__PURE__*/ S.String;
|
|
1141
|
+
export const UpdateProjectCheckResponseSourceCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1142
|
+
kind: UpdateProjectCheckResponseSourceCase2Kind,
|
|
1143
|
+
provider: UpdateProjectCheckResponseSourceCase2Provider,
|
|
1144
|
+
externalCheckName: S.String,
|
|
1145
|
+
})).annotate({
|
|
1146
|
+
identifier: "UpdateProjectCheckResponseSourceCase2",
|
|
1147
|
+
});
|
|
1148
|
+
export const UpdateProjectCheckResponseSource =
|
|
1149
|
+
/*@__PURE__*/ S.Unknown;
|
|
1150
|
+
export const UpdateProjectCheckResponseBlocks = /*@__PURE__*/ S.String;
|
|
1151
|
+
export const UpdateProjectCheckResponseTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1152
|
+
export const UpdateProjectCheckResponseSourceKind = /*@__PURE__*/ S.String;
|
|
1153
|
+
export const UpdateProjectCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1154
|
+
id: S.String,
|
|
1155
|
+
name: S.String,
|
|
1156
|
+
ownerId: S.String,
|
|
1157
|
+
projectId: S.String,
|
|
1158
|
+
isRerequestable: S.Boolean,
|
|
1159
|
+
requires: UpdateProjectCheckResponseRequires,
|
|
1160
|
+
source: UpdateProjectCheckResponseSource,
|
|
1161
|
+
blocks: UpdateProjectCheckResponseBlocks,
|
|
1162
|
+
targets: UpdateProjectCheckResponseTargetsList,
|
|
1163
|
+
sourceKind: UpdateProjectCheckResponseSourceKind,
|
|
1164
|
+
sourceIntegrationConfigurationId: S.optional(S.String),
|
|
1165
|
+
timeout: S.Number,
|
|
1166
|
+
createdAt: S.Number,
|
|
1167
|
+
updatedAt: S.Number,
|
|
1168
|
+
deletedAt: S.optional(S.Number),
|
|
1169
|
+
})).annotate({
|
|
1170
|
+
identifier: "UpdateProjectCheckResponse",
|
|
1171
|
+
});
|
|
1172
|
+
/** Create a check run Creates a new check run for a deployment. */
|
|
1173
|
+
export const createDeploymentCheckRun = /*@__PURE__*/ API.make(() => ({
|
|
1174
|
+
input: CreateDeploymentCheckRunRequest,
|
|
1175
|
+
output: CreateDeploymentCheckRunResponse,
|
|
1176
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1177
|
+
protocol: VercelProtocol,
|
|
1178
|
+
retry: Retry.Retry,
|
|
1179
|
+
}));
|
|
1180
|
+
/** Create a check Creates a new check for a project. */
|
|
1181
|
+
export const createProjectCheck = /*@__PURE__*/ API.make(() => ({
|
|
1182
|
+
input: CreateProjectCheckRequest,
|
|
1183
|
+
output: CreateProjectCheckResponse,
|
|
1184
|
+
errors: [BadRequest, Forbidden],
|
|
1185
|
+
protocol: VercelProtocol,
|
|
1186
|
+
retry: Retry.Retry,
|
|
1187
|
+
}));
|
|
1188
|
+
/** Delete a check Delete an existing check and all of its runs. */
|
|
1189
|
+
export const deleteProjectCheck = /*@__PURE__*/ API.make(() => ({
|
|
1190
|
+
input: DeleteProjectCheckRequest,
|
|
1191
|
+
output: DeleteProjectCheckResponse,
|
|
1192
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1193
|
+
protocol: VercelProtocol,
|
|
1194
|
+
retry: Retry.Retry,
|
|
1195
|
+
}));
|
|
1196
|
+
/** Get a check run Return a detailed response for a single check run. */
|
|
1197
|
+
export const getDeploymentCheckRun = /*@__PURE__*/ API.make(() => ({
|
|
1198
|
+
input: GetDeploymentCheckRunRequest,
|
|
1199
|
+
output: GetDeploymentCheckRunResponse,
|
|
1200
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1201
|
+
protocol: VercelProtocol,
|
|
1202
|
+
retry: Retry.Retry,
|
|
1203
|
+
}));
|
|
1204
|
+
/** Get a check Return a detailed response for a single check. */
|
|
1205
|
+
export const getProjectCheck = /*@__PURE__*/ API.make(() => ({
|
|
1206
|
+
input: GetProjectCheckRequest,
|
|
1207
|
+
output: GetProjectCheckResponse,
|
|
1208
|
+
errors: [BadRequest, Forbidden],
|
|
1209
|
+
protocol: VercelProtocol,
|
|
1210
|
+
retry: Retry.Retry,
|
|
1211
|
+
}));
|
|
1212
|
+
/** List runs for a check List all runs associated with a given check. */
|
|
1213
|
+
export const listCheckRuns = /*@__PURE__*/ API.make(() => ({
|
|
1214
|
+
input: ListCheckRunsRequest,
|
|
1215
|
+
output: ListCheckRunsResponse,
|
|
1216
|
+
errors: [BadRequest, Forbidden],
|
|
1217
|
+
protocol: VercelProtocol,
|
|
1218
|
+
retry: Retry.Retry,
|
|
1219
|
+
}));
|
|
1220
|
+
/** List check runs for a deployment List all check runs for a deployment. */
|
|
1221
|
+
export const listDeploymentCheckRuns = /*@__PURE__*/ API.make(() => ({
|
|
1222
|
+
input: ListDeploymentCheckRunsRequest,
|
|
1223
|
+
output: ListDeploymentCheckRunsResponse,
|
|
1224
|
+
errors: [BadRequest, Forbidden],
|
|
1225
|
+
protocol: VercelProtocol,
|
|
1226
|
+
retry: Retry.Retry,
|
|
1227
|
+
}));
|
|
1228
|
+
/** List all checks for a project List all checks for a project, optionally filtered by target. */
|
|
1229
|
+
export const listProjectChecks = /*@__PURE__*/ API.make(() => ({
|
|
1230
|
+
input: ListProjectChecksRequest,
|
|
1231
|
+
output: ListProjectChecksResponse,
|
|
1232
|
+
errors: [BadRequest, Forbidden],
|
|
1233
|
+
protocol: VercelProtocol,
|
|
1234
|
+
retry: Retry.Retry,
|
|
1235
|
+
}));
|
|
1236
|
+
/** Update a check run Update an existing check run for a deployment. */
|
|
1237
|
+
export const updateDeploymentCheckRun = /*@__PURE__*/ API.make(() => ({
|
|
1238
|
+
input: UpdateDeploymentCheckRunRequest,
|
|
1239
|
+
output: UpdateDeploymentCheckRunResponse,
|
|
1240
|
+
errors: [BadRequest, Forbidden],
|
|
1241
|
+
protocol: VercelProtocol,
|
|
1242
|
+
retry: Retry.Retry,
|
|
1243
|
+
}));
|
|
1244
|
+
/** Update a check Update an existing check. */
|
|
1245
|
+
export const updateProjectCheck = /*@__PURE__*/ API.make(() => ({
|
|
1246
|
+
input: UpdateProjectCheckRequest,
|
|
1247
|
+
output: UpdateProjectCheckResponse,
|
|
1248
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
1249
|
+
protocol: VercelProtocol,
|
|
1250
|
+
retry: Retry.Retry,
|
|
1251
|
+
}));
|
|
1252
|
+
//# sourceMappingURL=checks_v2.js.map
|