@distilled.cloud/xata 1.0.0-rc.19 → 1.0.0-rc.21
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/README.md +0 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +9 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/errors.d.ts +12 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.lazy.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +9 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/xata.d.ts +122 -5
- package/lib/services/xata.d.ts.map +1 -1
- package/lib/services/xata.js +111 -110
- package/lib/services/xata.js.map +1 -1
- package/lib/services.lazy/xata.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/credentials.ts +24 -18
- package/src/errors.ts +13 -5
- package/src/protocol.ts +14 -29
- package/src/services/xata.ts +812 -487
package/src/services/xata.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import type * as Redacted from "effect/Redacted";
|
|
7
|
-
import {
|
|
7
|
+
import { XataServiceErrors } from "../errors.ts";
|
|
8
8
|
import { XataProtocol, type XataOpError, type XataOpContext } from "../protocol.ts";
|
|
9
9
|
import * as Retry from "../retry.ts";
|
|
10
10
|
import * as T from "../traits.ts";
|
|
@@ -31,36 +31,111 @@ export class BadRequest
|
|
|
31
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
32
32
|
code: S.Number,
|
|
33
33
|
message: S.String,
|
|
34
|
+
body: /*@__PURE__*/ S.optional(
|
|
35
|
+
/*@__PURE__*/ S.Union([
|
|
36
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
37
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
38
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
39
|
+
/*@__PURE__*/ S.suspend(() => __S(6, __c0, 6)),
|
|
40
|
+
S.String,
|
|
41
|
+
]),
|
|
42
|
+
),
|
|
43
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
44
|
}).pipe(C.withBadRequestError),
|
|
35
45
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
46
|
+
)
|
|
47
|
+
{
|
|
48
|
+
declare readonly body?: Error400Body | VercelError | ResourceError | ErrorResponse | string;
|
|
49
|
+
}
|
|
37
50
|
|
|
38
51
|
export class Conflict
|
|
39
52
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
40
53
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
54
|
code: S.Number,
|
|
42
55
|
message: S.String,
|
|
56
|
+
body: /*@__PURE__*/ S.optional(
|
|
57
|
+
/*@__PURE__*/ S.Union([
|
|
58
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
59
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
60
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
61
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
62
|
+
/*@__PURE__*/ S.suspend(() => __S(6, __c0, 6)),
|
|
63
|
+
S.String,
|
|
64
|
+
]),
|
|
65
|
+
),
|
|
66
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
67
|
}).pipe(C.withConflictError),
|
|
44
68
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
69
|
+
)
|
|
70
|
+
{
|
|
71
|
+
declare readonly body?:
|
|
72
|
+
| AuthErrorResponse
|
|
73
|
+
| Error400Body
|
|
74
|
+
| VercelError
|
|
75
|
+
| ResourceError
|
|
76
|
+
| ErrorResponse
|
|
77
|
+
| string;
|
|
78
|
+
}
|
|
46
79
|
|
|
47
80
|
export class Forbidden
|
|
48
81
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
82
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
50
83
|
code: S.Number,
|
|
51
84
|
message: S.String,
|
|
85
|
+
body: /*@__PURE__*/ S.optional(
|
|
86
|
+
/*@__PURE__*/ S.Union([
|
|
87
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
88
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
89
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
90
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
91
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
92
|
+
/*@__PURE__*/ S.suspend(() => __S(6, __c0, 6)),
|
|
93
|
+
S.String,
|
|
94
|
+
]),
|
|
95
|
+
),
|
|
96
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
97
|
}).pipe(C.withAuthError),
|
|
53
98
|
[{ status: 403 }],
|
|
54
|
-
)
|
|
99
|
+
)
|
|
100
|
+
{
|
|
101
|
+
declare readonly body?:
|
|
102
|
+
| AuthErrorResponse
|
|
103
|
+
| Error401Body
|
|
104
|
+
| VercelError
|
|
105
|
+
| ResourceError
|
|
106
|
+
| Error401Body2
|
|
107
|
+
| ErrorResponse
|
|
108
|
+
| string;
|
|
109
|
+
}
|
|
55
110
|
|
|
56
111
|
export class NotFound
|
|
57
112
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
58
113
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
59
114
|
code: S.Number,
|
|
60
115
|
message: S.String,
|
|
116
|
+
body: /*@__PURE__*/ S.optional(
|
|
117
|
+
/*@__PURE__*/ S.Union([
|
|
118
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
119
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
120
|
+
/*@__PURE__*/ S.suspend(() => __S(5, __c0, 5)),
|
|
121
|
+
/*@__PURE__*/ S.suspend(() => __S(6, __c0, 6)),
|
|
122
|
+
/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
|
|
123
|
+
S.String,
|
|
124
|
+
]),
|
|
125
|
+
),
|
|
126
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
61
127
|
}).pipe(C.withBadRequestError),
|
|
62
128
|
[{ status: 404 }],
|
|
63
|
-
)
|
|
129
|
+
)
|
|
130
|
+
{
|
|
131
|
+
declare readonly body?:
|
|
132
|
+
| Error400Body
|
|
133
|
+
| ResourceError
|
|
134
|
+
| VercelError
|
|
135
|
+
| ErrorResponse
|
|
136
|
+
| AuthErrorResponse
|
|
137
|
+
| string;
|
|
138
|
+
}
|
|
64
139
|
|
|
65
140
|
/** Log attribute to filter on. */
|
|
66
141
|
export type LogFilterField = "instance" | "level" | "process" | "body";
|
|
@@ -284,6 +359,8 @@ export interface BranchShortMetadata {
|
|
|
284
359
|
region: string;
|
|
285
360
|
/** Whether the branch allows public access without authentication */
|
|
286
361
|
publicAccess: boolean;
|
|
362
|
+
/** Whether backups are enabled for the newly created branch. Only set in responses to branch creation. */
|
|
363
|
+
backupsEnabled?: boolean | undefined;
|
|
287
364
|
}
|
|
288
365
|
export interface CreateGithubAppInstallationRequest {
|
|
289
366
|
/** Unique identifier of the organization */
|
|
@@ -414,7 +491,7 @@ export interface FullAPIKey {
|
|
|
414
491
|
/** Timestamp of the last time the key was used (null if never) */
|
|
415
492
|
last_used: string | null;
|
|
416
493
|
/** The actual API key token */
|
|
417
|
-
token: string
|
|
494
|
+
token: string | Redacted.Redacted<string>;
|
|
418
495
|
/** ID of the user that created this API key */
|
|
419
496
|
created_by?: string | null | undefined;
|
|
420
497
|
/** ID of the API key that created this API key */
|
|
@@ -711,7 +788,7 @@ export interface BranchMetadata {
|
|
|
711
788
|
connectionString: string | Redacted.Redacted<string> | null;
|
|
712
789
|
/** Whether the branch allows public access without authentication */
|
|
713
790
|
publicAccess: boolean;
|
|
714
|
-
/** Whether
|
|
791
|
+
/** Whether backups are enabled for this branch */
|
|
715
792
|
backupsEnabled: boolean;
|
|
716
793
|
scaleToZero: ScaleToZeroConfiguration;
|
|
717
794
|
configuration: ClusterConfiguration;
|
|
@@ -1178,7 +1255,7 @@ export interface BranchListMetadata {
|
|
|
1178
1255
|
region: string;
|
|
1179
1256
|
/** Whether the branch allows public access without authentication */
|
|
1180
1257
|
publicAccess: boolean;
|
|
1181
|
-
/** Whether the branch
|
|
1258
|
+
/** Whether the branch's region supports backups. A branch can still have backups disabled; see the branch details for its actual state. */
|
|
1182
1259
|
backupsEnabled: boolean;
|
|
1183
1260
|
}
|
|
1184
1261
|
/** Array of branch objects with their metadata */
|
|
@@ -1447,7 +1524,7 @@ export interface Secret {
|
|
|
1447
1524
|
/** Environment variable name. */
|
|
1448
1525
|
name: string;
|
|
1449
1526
|
/** Default value, used when no per-environment override applies. */
|
|
1450
|
-
value: string
|
|
1527
|
+
value: string | Redacted.Redacted<string>;
|
|
1451
1528
|
/** Per-environment values that override value for that Vercel environment. */
|
|
1452
1529
|
environmentOverrides?: SecretEnvironmentOverrides | undefined;
|
|
1453
1530
|
}
|
|
@@ -1799,6 +1876,109 @@ export interface VerifyOrganizationSSODomainRequest {
|
|
|
1799
1876
|
}
|
|
1800
1877
|
export interface WebsocketRequest {}
|
|
1801
1878
|
export interface WebsocketResponse {}
|
|
1879
|
+
export interface Error400Body {
|
|
1880
|
+
/** Error identifier for tracking and debugging */
|
|
1881
|
+
id?: string | undefined;
|
|
1882
|
+
/** Human-readable error message explaining the issue */
|
|
1883
|
+
message: string;
|
|
1884
|
+
}
|
|
1885
|
+
/** User-facing error details, if applicable. */
|
|
1886
|
+
export interface VercelErrorErrorUser {
|
|
1887
|
+
/** User-facing error message. */
|
|
1888
|
+
message?: string | undefined;
|
|
1889
|
+
/** URL to a help article or dashboard page for resolution. */
|
|
1890
|
+
url?: string | undefined;
|
|
1891
|
+
}
|
|
1892
|
+
export interface VercelErrorErrorFieldsItem {
|
|
1893
|
+
key: string;
|
|
1894
|
+
message?: string | undefined;
|
|
1895
|
+
}
|
|
1896
|
+
/** Offending fields, for validation errors. */
|
|
1897
|
+
export type VercelErrorErrorFieldsList = Array<VercelErrorErrorFieldsItem>;
|
|
1898
|
+
export interface VercelErrorError {
|
|
1899
|
+
/** Machine-readable error code (e.g. validation_error, conflict). */
|
|
1900
|
+
code: string;
|
|
1901
|
+
/** Human-readable (system) error message. */
|
|
1902
|
+
message: string;
|
|
1903
|
+
/** User-facing error details, if applicable. */
|
|
1904
|
+
user?: VercelErrorErrorUser | undefined;
|
|
1905
|
+
/** Offending fields, for validation errors. */
|
|
1906
|
+
fields?: VercelErrorErrorFieldsList | undefined;
|
|
1907
|
+
}
|
|
1908
|
+
/** Vercel Partner API error envelope. */
|
|
1909
|
+
export interface VercelError {
|
|
1910
|
+
error: VercelErrorError;
|
|
1911
|
+
}
|
|
1912
|
+
/** User-facing error details, if applicable. */
|
|
1913
|
+
export type ResourceErrorErrorUser = VercelErrorErrorUser;
|
|
1914
|
+
export interface ResourceErrorErrorFieldsItem {
|
|
1915
|
+
/** The metadata field the error applies to. */
|
|
1916
|
+
key: string;
|
|
1917
|
+
/** Validation message for this field. */
|
|
1918
|
+
message?: string | undefined;
|
|
1919
|
+
}
|
|
1920
|
+
/** Field-level validation errors, for 400 responses. */
|
|
1921
|
+
export type ResourceErrorErrorFieldsList = Array<ResourceErrorErrorFieldsItem>;
|
|
1922
|
+
export interface ResourceErrorError {
|
|
1923
|
+
/** Machine-readable error code (e.g. validation_error, conflict). */
|
|
1924
|
+
code: string;
|
|
1925
|
+
/** Human-readable (system) error message. */
|
|
1926
|
+
message: string;
|
|
1927
|
+
/** User-facing error details, if applicable. */
|
|
1928
|
+
user?: VercelErrorErrorUser | undefined;
|
|
1929
|
+
/** Field-level validation errors, for 400 responses. */
|
|
1930
|
+
fields?: ResourceErrorErrorFieldsList | undefined;
|
|
1931
|
+
}
|
|
1932
|
+
/** Vercel Partner API error envelope. */
|
|
1933
|
+
export interface ResourceError {
|
|
1934
|
+
error: ResourceErrorError;
|
|
1935
|
+
}
|
|
1936
|
+
/** Error response with PostgreSQL error fields. */
|
|
1937
|
+
export interface ErrorResponse {
|
|
1938
|
+
/** Human-readable error message. */
|
|
1939
|
+
message: string;
|
|
1940
|
+
/** PostgreSQL error code (SQLSTATE) or application error code. */
|
|
1941
|
+
code?: string | undefined;
|
|
1942
|
+
/** PostgreSQL error severity (e.g. `ERROR`, `FATAL`). */
|
|
1943
|
+
severity?: string | undefined;
|
|
1944
|
+
/** Optional detail message. */
|
|
1945
|
+
detail?: string | undefined;
|
|
1946
|
+
/** Optional hint for resolving the error. */
|
|
1947
|
+
hint?: string | undefined;
|
|
1948
|
+
/** Character position in the query where the error occurred. */
|
|
1949
|
+
position?: string | undefined;
|
|
1950
|
+
/** Position in an internally-generated query. */
|
|
1951
|
+
internalPosition?: string | undefined;
|
|
1952
|
+
/** Text of the internally-generated query. */
|
|
1953
|
+
internalQuery?: string | undefined;
|
|
1954
|
+
/** Context in which the error occurred. */
|
|
1955
|
+
where?: string | undefined;
|
|
1956
|
+
/** Schema name related to the error. */
|
|
1957
|
+
schema?: string | undefined;
|
|
1958
|
+
/** Table name related to the error. */
|
|
1959
|
+
table?: string | undefined;
|
|
1960
|
+
/** Column name related to the error. */
|
|
1961
|
+
column?: string | undefined;
|
|
1962
|
+
/** Data type name related to the error. */
|
|
1963
|
+
dataType?: string | undefined;
|
|
1964
|
+
/** Constraint name related to the error. */
|
|
1965
|
+
constraint?: string | undefined;
|
|
1966
|
+
/** Source file where the error was reported (server-side). */
|
|
1967
|
+
file?: string | undefined;
|
|
1968
|
+
/** Source line where the error was reported (server-side). */
|
|
1969
|
+
line?: string | undefined;
|
|
1970
|
+
/** Source routine where the error was reported (server-side). */
|
|
1971
|
+
routine?: string | undefined;
|
|
1972
|
+
}
|
|
1973
|
+
/** Error response */
|
|
1974
|
+
export type AuthErrorResponse = Error400Body;
|
|
1975
|
+
export type Error401Body = Error400Body;
|
|
1976
|
+
export interface Error401Body2 {
|
|
1977
|
+
/** Error identifier for tracking and debugging */
|
|
1978
|
+
id?: string | undefined;
|
|
1979
|
+
/** Human-readable error message explaining the authentication or authorization issue */
|
|
1980
|
+
message: string;
|
|
1981
|
+
}
|
|
1802
1982
|
export type BranchLogs2Error = BadRequest | NotFound | XataOpError;
|
|
1803
1983
|
/** Retrieve branch logs */
|
|
1804
1984
|
export const branchLogs2: API.OperationMethod<
|
|
@@ -1807,9 +1987,10 @@ export const branchLogs2: API.OperationMethod<
|
|
|
1807
1987
|
BranchLogs2Error,
|
|
1808
1988
|
XataOpContext
|
|
1809
1989
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1810
|
-
input: __S(
|
|
1811
|
-
output: __S(
|
|
1812
|
-
errors: [BadRequest, NotFound
|
|
1990
|
+
input: __S(706, __c44, 2) as any as S.Schema<BranchLogsRequest>,
|
|
1991
|
+
output: __S(709, __c44, 5) as any as S.Schema<BranchLogs>,
|
|
1992
|
+
errors: [BadRequest, NotFound],
|
|
1993
|
+
serviceErrors: XataServiceErrors,
|
|
1813
1994
|
protocol: XataProtocol,
|
|
1814
1995
|
retry: Retry.Retry,
|
|
1815
1996
|
telemetry: TELEMETRY,
|
|
@@ -1824,9 +2005,10 @@ export const branchMetrics2: API.OperationMethod<
|
|
|
1824
2005
|
BranchMetrics2Error,
|
|
1825
2006
|
XataOpContext
|
|
1826
2007
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1827
|
-
input: __S(
|
|
1828
|
-
output: __S(
|
|
1829
|
-
errors: [BadRequest, NotFound
|
|
2008
|
+
input: __S(913, __c57, 1) as any as S.Schema<BranchMetricsRequest>,
|
|
2009
|
+
output: __S(920, __c57, 8) as any as S.Schema<BranchMetrics>,
|
|
2010
|
+
errors: [BadRequest, NotFound],
|
|
2011
|
+
serviceErrors: XataServiceErrors,
|
|
1830
2012
|
protocol: XataProtocol,
|
|
1831
2013
|
retry: Retry.Retry,
|
|
1832
2014
|
telemetry: TELEMETRY,
|
|
@@ -1841,9 +2023,10 @@ export const claimOrganizationSSODomain: API.OperationMethod<
|
|
|
1841
2023
|
ClaimOrganizationSSODomainError,
|
|
1842
2024
|
XataOpContext
|
|
1843
2025
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1844
|
-
input: __S(
|
|
1845
|
-
output: __S(
|
|
1846
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
2026
|
+
input: __S(1104, __c69, 0) as any as S.Schema<ClaimOrganizationSSODomainRequest>,
|
|
2027
|
+
output: __S(1121, __c70, 1) as any as S.Schema<OrganizationSSODomain>,
|
|
2028
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
2029
|
+
serviceErrors: XataServiceErrors,
|
|
1847
2030
|
protocol: XataProtocol,
|
|
1848
2031
|
retry: Retry.Retry,
|
|
1849
2032
|
telemetry: TELEMETRY,
|
|
@@ -1858,9 +2041,10 @@ export const createBillingCheckoutSession: API.OperationMethod<
|
|
|
1858
2041
|
CreateBillingCheckoutSessionError,
|
|
1859
2042
|
XataOpContext
|
|
1860
2043
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1861
|
-
input: __S(
|
|
1862
|
-
output: __S(
|
|
1863
|
-
errors: [BadRequest, Forbidden
|
|
2044
|
+
input: __S(1296, __c81, 0) as any as S.Schema<CreateBillingCheckoutSessionRequest>,
|
|
2045
|
+
output: __S(1312, __c82, 0) as any as S.Schema<BillingCheckoutSessionResponse>,
|
|
2046
|
+
errors: [BadRequest, Forbidden],
|
|
2047
|
+
serviceErrors: XataServiceErrors,
|
|
1864
2048
|
protocol: XataProtocol,
|
|
1865
2049
|
retry: Retry.Retry,
|
|
1866
2050
|
telemetry: TELEMETRY,
|
|
@@ -1875,9 +2059,10 @@ export const createBillingPaymentMethodSession: API.OperationMethod<
|
|
|
1875
2059
|
CreateBillingPaymentMethodSessionError,
|
|
1876
2060
|
XataOpContext
|
|
1877
2061
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1878
|
-
input: __S(
|
|
1879
|
-
output: __S(
|
|
1880
|
-
errors: [BadRequest, Forbidden
|
|
2062
|
+
input: __S(1488, __c93, 0) as any as S.Schema<CreateBillingPaymentMethodSessionRequest>,
|
|
2063
|
+
output: __S(1312, __c82, 0) as any as S.Schema<BillingPaymentMethodSessionResponse>,
|
|
2064
|
+
errors: [BadRequest, Forbidden],
|
|
2065
|
+
serviceErrors: XataServiceErrors,
|
|
1881
2066
|
protocol: XataProtocol,
|
|
1882
2067
|
retry: Retry.Retry,
|
|
1883
2068
|
telemetry: TELEMETRY,
|
|
@@ -1892,9 +2077,10 @@ export const createBranch: API.OperationMethod<
|
|
|
1892
2077
|
CreateBranchError,
|
|
1893
2078
|
XataOpContext
|
|
1894
2079
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1895
|
-
input: __S(
|
|
1896
|
-
output: __S(
|
|
1897
|
-
errors: [BadRequest, NotFound
|
|
2080
|
+
input: __S(1568, __c98, 0) as any as S.Schema<CreateBranchRequest>,
|
|
2081
|
+
output: __S(1616, __c101, 0) as any as S.Schema<BranchShortMetadata>,
|
|
2082
|
+
errors: [BadRequest, NotFound],
|
|
2083
|
+
serviceErrors: XataServiceErrors,
|
|
1898
2084
|
protocol: XataProtocol,
|
|
1899
2085
|
retry: Retry.Retry,
|
|
1900
2086
|
telemetry: TELEMETRY,
|
|
@@ -1909,9 +2095,10 @@ export const createGithubAppInstallation: API.OperationMethod<
|
|
|
1909
2095
|
CreateGithubAppInstallationError,
|
|
1910
2096
|
XataOpContext
|
|
1911
2097
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1912
|
-
input: __S(
|
|
1913
|
-
output: __S(
|
|
1914
|
-
errors: [BadRequest, Conflict
|
|
2098
|
+
input: __S(16, __c1, 0) as any as S.Schema<CreateGithubAppInstallationRequest>,
|
|
2099
|
+
output: __S(32, __c2, 0) as any as S.Schema<GithubInstallation>,
|
|
2100
|
+
errors: [BadRequest, Conflict],
|
|
2101
|
+
serviceErrors: XataServiceErrors,
|
|
1915
2102
|
protocol: XataProtocol,
|
|
1916
2103
|
retry: Retry.Retry,
|
|
1917
2104
|
telemetry: TELEMETRY,
|
|
@@ -1926,9 +2113,10 @@ export const createGithubRepository: API.OperationMethod<
|
|
|
1926
2113
|
CreateGithubRepositoryError,
|
|
1927
2114
|
XataOpContext
|
|
1928
2115
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1929
|
-
input: __S(
|
|
1930
|
-
output: __S(
|
|
1931
|
-
errors: [BadRequest, Conflict
|
|
2116
|
+
input: __S(48, __c3, 0) as any as S.Schema<CreateGithubRepositoryRequest>,
|
|
2117
|
+
output: __S(64, __c4, 0) as any as S.Schema<GithubRepository>,
|
|
2118
|
+
errors: [BadRequest, Conflict],
|
|
2119
|
+
serviceErrors: XataServiceErrors,
|
|
1932
2120
|
protocol: XataProtocol,
|
|
1933
2121
|
retry: Retry.Retry,
|
|
1934
2122
|
telemetry: TELEMETRY,
|
|
@@ -1943,9 +2131,10 @@ export const createOrganization: API.OperationMethod<
|
|
|
1943
2131
|
CreateOrganizationError,
|
|
1944
2132
|
XataOpContext
|
|
1945
2133
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1946
|
-
input: __S(
|
|
1947
|
-
output: __S(
|
|
1948
|
-
errors: [BadRequest, NotFound
|
|
2134
|
+
input: __S(80, __c5, 0) as any as S.Schema<CreateOrganizationRequest>,
|
|
2135
|
+
output: __S(112, __c7, 0) as any as S.Schema<Organization>,
|
|
2136
|
+
errors: [BadRequest, NotFound],
|
|
2137
|
+
serviceErrors: XataServiceErrors,
|
|
1949
2138
|
protocol: XataProtocol,
|
|
1950
2139
|
retry: Retry.Retry,
|
|
1951
2140
|
telemetry: TELEMETRY,
|
|
@@ -1960,9 +2149,10 @@ export const createOrganizationAPIKey: API.OperationMethod<
|
|
|
1960
2149
|
CreateOrganizationAPIKeyError,
|
|
1961
2150
|
XataOpContext
|
|
1962
2151
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1963
|
-
input: __S(
|
|
1964
|
-
output: __S(
|
|
1965
|
-
errors: [BadRequest
|
|
2152
|
+
input: __S(128, __c8, 0) as any as S.Schema<CreateOrganizationAPIKeyRequest>,
|
|
2153
|
+
output: __S(145, __c9, 1) as any as S.Schema<CreateOrganizationAPIKeyResponse>,
|
|
2154
|
+
errors: [BadRequest],
|
|
2155
|
+
serviceErrors: XataServiceErrors,
|
|
1966
2156
|
protocol: XataProtocol,
|
|
1967
2157
|
retry: Retry.Retry,
|
|
1968
2158
|
telemetry: TELEMETRY,
|
|
@@ -1982,9 +2172,10 @@ export const createOrganizationInvitation: API.OperationMethod<
|
|
|
1982
2172
|
CreateOrganizationInvitationError,
|
|
1983
2173
|
XataOpContext
|
|
1984
2174
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1985
|
-
input: __S(
|
|
1986
|
-
output: __S(
|
|
1987
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
2175
|
+
input: __S(160, __c10, 0) as any as S.Schema<CreateOrganizationInvitationRequest>,
|
|
2176
|
+
output: __S(176, __c11, 0) as any as S.Schema<CreateOrganizationInvitationResponse>,
|
|
2177
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
2178
|
+
serviceErrors: XataServiceErrors,
|
|
1988
2179
|
protocol: XataProtocol,
|
|
1989
2180
|
retry: Retry.Retry,
|
|
1990
2181
|
telemetry: TELEMETRY,
|
|
@@ -1999,9 +2190,10 @@ export const createOrganizationSSOProvider: API.OperationMethod<
|
|
|
1999
2190
|
CreateOrganizationSSOProviderError,
|
|
2000
2191
|
XataOpContext
|
|
2001
2192
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2002
|
-
input: __S(
|
|
2003
|
-
output: __S(
|
|
2004
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
2193
|
+
input: __S(192, __c12, 0) as any as S.Schema<CreateOrganizationSSOProviderRequest>,
|
|
2194
|
+
output: __S(208, __c13, 0) as any as S.Schema<OrganizationSSOProvider>,
|
|
2195
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
2196
|
+
serviceErrors: XataServiceErrors,
|
|
2005
2197
|
protocol: XataProtocol,
|
|
2006
2198
|
retry: Retry.Retry,
|
|
2007
2199
|
telemetry: TELEMETRY,
|
|
@@ -2016,9 +2208,10 @@ export const createProject: API.OperationMethod<
|
|
|
2016
2208
|
CreateProjectError,
|
|
2017
2209
|
XataOpContext
|
|
2018
2210
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2019
|
-
input: __S(
|
|
2020
|
-
output: __S(
|
|
2021
|
-
errors: [BadRequest
|
|
2211
|
+
input: __S(224, __c14, 0) as any as S.Schema<CreateProjectRequest>,
|
|
2212
|
+
output: __S(245, __c15, 5) as any as S.Schema<Project>,
|
|
2213
|
+
errors: [BadRequest],
|
|
2214
|
+
serviceErrors: XataServiceErrors,
|
|
2022
2215
|
protocol: XataProtocol,
|
|
2023
2216
|
retry: Retry.Retry,
|
|
2024
2217
|
telemetry: TELEMETRY,
|
|
@@ -2033,9 +2226,10 @@ export const createUserAPIKey: API.OperationMethod<
|
|
|
2033
2226
|
CreateUserAPIKeyError,
|
|
2034
2227
|
XataOpContext
|
|
2035
2228
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2036
|
-
input: __S(
|
|
2037
|
-
output: __S(
|
|
2038
|
-
errors: [BadRequest
|
|
2229
|
+
input: __S(256, __c16, 0) as any as S.Schema<CreateUserAPIKeyRequest>,
|
|
2230
|
+
output: __S(145, __c9, 1) as any as S.Schema<CreateUserAPIKeyResponse>,
|
|
2231
|
+
errors: [BadRequest],
|
|
2232
|
+
serviceErrors: XataServiceErrors,
|
|
2039
2233
|
protocol: XataProtocol,
|
|
2040
2234
|
retry: Retry.Retry,
|
|
2041
2235
|
telemetry: TELEMETRY,
|
|
@@ -2050,9 +2244,10 @@ export const deleteBranch: API.OperationMethod<
|
|
|
2050
2244
|
DeleteBranchError,
|
|
2051
2245
|
XataOpContext
|
|
2052
2246
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2053
|
-
input: __S(
|
|
2054
|
-
output: __S(
|
|
2055
|
-
errors: [BadRequest, NotFound
|
|
2247
|
+
input: __S(272, __c17, 0) as any as S.Schema<DeleteBranchRequest>,
|
|
2248
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteBranchResponse>,
|
|
2249
|
+
errors: [BadRequest, NotFound],
|
|
2250
|
+
serviceErrors: XataServiceErrors,
|
|
2056
2251
|
protocol: XataProtocol,
|
|
2057
2252
|
retry: Retry.Retry,
|
|
2058
2253
|
telemetry: TELEMETRY,
|
|
@@ -2067,9 +2262,10 @@ export const deleteGithubRepository: API.OperationMethod<
|
|
|
2067
2262
|
DeleteGithubRepositoryError,
|
|
2068
2263
|
XataOpContext
|
|
2069
2264
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2070
|
-
input: __S(
|
|
2071
|
-
output: __S(
|
|
2072
|
-
errors: [BadRequest, NotFound
|
|
2265
|
+
input: __S(288, __c18, 0) as any as S.Schema<DeleteGithubRepositoryRequest>,
|
|
2266
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteGithubRepositoryResponse>,
|
|
2267
|
+
errors: [BadRequest, NotFound],
|
|
2268
|
+
serviceErrors: XataServiceErrors,
|
|
2073
2269
|
protocol: XataProtocol,
|
|
2074
2270
|
retry: Retry.Retry,
|
|
2075
2271
|
telemetry: TELEMETRY,
|
|
@@ -2084,9 +2280,10 @@ export const deleteInstallation: API.OperationMethod<
|
|
|
2084
2280
|
DeleteInstallationError,
|
|
2085
2281
|
XataOpContext
|
|
2086
2282
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2087
|
-
input: __S(
|
|
2088
|
-
output: __S(
|
|
2089
|
-
errors: [Forbidden, Conflict
|
|
2283
|
+
input: __S(304, __c19, 0) as any as S.Schema<DeleteInstallationRequest>,
|
|
2284
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteInstallationResponse>,
|
|
2285
|
+
errors: [Forbidden, Conflict],
|
|
2286
|
+
serviceErrors: XataServiceErrors,
|
|
2090
2287
|
protocol: XataProtocol,
|
|
2091
2288
|
retry: Retry.Retry,
|
|
2092
2289
|
telemetry: TELEMETRY,
|
|
@@ -2101,9 +2298,10 @@ export const deleteOrganization: API.OperationMethod<
|
|
|
2101
2298
|
DeleteOrganizationError,
|
|
2102
2299
|
XataOpContext
|
|
2103
2300
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2104
|
-
input: __S(
|
|
2105
|
-
output: __S(
|
|
2106
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2301
|
+
input: __S(320, __c20, 0) as any as S.Schema<DeleteOrganizationRequest>,
|
|
2302
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteOrganizationResponse>,
|
|
2303
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2304
|
+
serviceErrors: XataServiceErrors,
|
|
2107
2305
|
protocol: XataProtocol,
|
|
2108
2306
|
retry: Retry.Retry,
|
|
2109
2307
|
telemetry: TELEMETRY,
|
|
@@ -2118,9 +2316,10 @@ export const deleteOrganizationAPIKeys: API.OperationMethod<
|
|
|
2118
2316
|
DeleteOrganizationAPIKeysError,
|
|
2119
2317
|
XataOpContext
|
|
2120
2318
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2121
|
-
input: __S(
|
|
2122
|
-
output: __S(
|
|
2123
|
-
errors: [BadRequest, NotFound
|
|
2319
|
+
input: __S(336, __c21, 0) as any as S.Schema<DeleteOrganizationAPIKeysRequest>,
|
|
2320
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteOrganizationAPIKeysResponse>,
|
|
2321
|
+
errors: [BadRequest, NotFound],
|
|
2322
|
+
serviceErrors: XataServiceErrors,
|
|
2124
2323
|
protocol: XataProtocol,
|
|
2125
2324
|
retry: Retry.Retry,
|
|
2126
2325
|
telemetry: TELEMETRY,
|
|
@@ -2135,9 +2334,10 @@ export const deleteOrganizationInvitation: API.OperationMethod<
|
|
|
2135
2334
|
DeleteOrganizationInvitationError,
|
|
2136
2335
|
XataOpContext
|
|
2137
2336
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2138
|
-
input: __S(
|
|
2139
|
-
output: __S(
|
|
2140
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2337
|
+
input: __S(352, __c22, 0) as any as S.Schema<DeleteOrganizationInvitationRequest>,
|
|
2338
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteOrganizationInvitationResponse>,
|
|
2339
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2340
|
+
serviceErrors: XataServiceErrors,
|
|
2141
2341
|
protocol: XataProtocol,
|
|
2142
2342
|
retry: Retry.Retry,
|
|
2143
2343
|
telemetry: TELEMETRY,
|
|
@@ -2152,9 +2352,10 @@ export const deleteOrganizationSSODomain: API.OperationMethod<
|
|
|
2152
2352
|
DeleteOrganizationSSODomainError,
|
|
2153
2353
|
XataOpContext
|
|
2154
2354
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2155
|
-
input: __S(
|
|
2156
|
-
output: __S(
|
|
2157
|
-
errors: [Forbidden, Conflict
|
|
2355
|
+
input: __S(368, __c23, 0) as any as S.Schema<DeleteOrganizationSSODomainRequest>,
|
|
2356
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteOrganizationSSODomainResponse>,
|
|
2357
|
+
errors: [Forbidden, Conflict],
|
|
2358
|
+
serviceErrors: XataServiceErrors,
|
|
2158
2359
|
protocol: XataProtocol,
|
|
2159
2360
|
retry: Retry.Retry,
|
|
2160
2361
|
telemetry: TELEMETRY,
|
|
@@ -2169,9 +2370,10 @@ export const deleteOrganizationSSOProvider: API.OperationMethod<
|
|
|
2169
2370
|
DeleteOrganizationSSOProviderError,
|
|
2170
2371
|
XataOpContext
|
|
2171
2372
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2172
|
-
input: __S(
|
|
2173
|
-
output: __S(
|
|
2174
|
-
errors: [Forbidden
|
|
2373
|
+
input: __S(384, __c24, 0) as any as S.Schema<DeleteOrganizationSSOProviderRequest>,
|
|
2374
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteOrganizationSSOProviderResponse>,
|
|
2375
|
+
errors: [Forbidden],
|
|
2376
|
+
serviceErrors: XataServiceErrors,
|
|
2175
2377
|
protocol: XataProtocol,
|
|
2176
2378
|
retry: Retry.Retry,
|
|
2177
2379
|
telemetry: TELEMETRY,
|
|
@@ -2186,9 +2388,10 @@ export const deleteProject: API.OperationMethod<
|
|
|
2186
2388
|
DeleteProjectError,
|
|
2187
2389
|
XataOpContext
|
|
2188
2390
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2189
|
-
input: __S(
|
|
2190
|
-
output: __S(
|
|
2191
|
-
errors: [BadRequest, NotFound
|
|
2391
|
+
input: __S(400, __c25, 0) as any as S.Schema<DeleteProjectRequest>,
|
|
2392
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteProjectResponse>,
|
|
2393
|
+
errors: [BadRequest, NotFound],
|
|
2394
|
+
serviceErrors: XataServiceErrors,
|
|
2192
2395
|
protocol: XataProtocol,
|
|
2193
2396
|
retry: Retry.Retry,
|
|
2194
2397
|
telemetry: TELEMETRY,
|
|
@@ -2203,9 +2406,10 @@ export const deleteResource: API.OperationMethod<
|
|
|
2203
2406
|
DeleteResourceError,
|
|
2204
2407
|
XataOpContext
|
|
2205
2408
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2206
|
-
input: __S(
|
|
2207
|
-
output: __S(
|
|
2208
|
-
errors: [Forbidden, NotFound
|
|
2409
|
+
input: __S(416, __c26, 0) as any as S.Schema<DeleteResourceRequest>,
|
|
2410
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteResourceResponse>,
|
|
2411
|
+
errors: [Forbidden, NotFound],
|
|
2412
|
+
serviceErrors: XataServiceErrors,
|
|
2209
2413
|
protocol: XataProtocol,
|
|
2210
2414
|
retry: Retry.Retry,
|
|
2211
2415
|
telemetry: TELEMETRY,
|
|
@@ -2220,9 +2424,10 @@ export const deleteUserAPIKeys: API.OperationMethod<
|
|
|
2220
2424
|
DeleteUserAPIKeysError,
|
|
2221
2425
|
XataOpContext
|
|
2222
2426
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2223
|
-
input: __S(
|
|
2224
|
-
output: __S(
|
|
2225
|
-
errors: [BadRequest, NotFound
|
|
2427
|
+
input: __S(432, __c27, 0) as any as S.Schema<DeleteUserAPIKeysRequest>,
|
|
2428
|
+
output: __S(176, __c11, 0) as any as S.Schema<DeleteUserAPIKeysResponse>,
|
|
2429
|
+
errors: [BadRequest, NotFound],
|
|
2430
|
+
serviceErrors: XataServiceErrors,
|
|
2226
2431
|
protocol: XataProtocol,
|
|
2227
2432
|
retry: Retry.Retry,
|
|
2228
2433
|
telemetry: TELEMETRY,
|
|
@@ -2237,9 +2442,10 @@ export const describeBranch: API.OperationMethod<
|
|
|
2237
2442
|
DescribeBranchError,
|
|
2238
2443
|
XataOpContext
|
|
2239
2444
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2240
|
-
input: __S(
|
|
2241
|
-
output: __S(
|
|
2242
|
-
errors: [BadRequest, NotFound
|
|
2445
|
+
input: __S(448, __c28, 0) as any as S.Schema<DescribeBranchRequest>,
|
|
2446
|
+
output: __S(453, __c28, 5) as any as S.Schema<BranchMetadata>,
|
|
2447
|
+
errors: [BadRequest, NotFound],
|
|
2448
|
+
serviceErrors: XataServiceErrors,
|
|
2243
2449
|
protocol: XataProtocol,
|
|
2244
2450
|
retry: Retry.Retry,
|
|
2245
2451
|
telemetry: TELEMETRY,
|
|
@@ -2254,9 +2460,10 @@ export const getBackup: API.OperationMethod<
|
|
|
2254
2460
|
GetBackupError,
|
|
2255
2461
|
XataOpContext
|
|
2256
2462
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2257
|
-
input: __S(
|
|
2258
|
-
output: __S(
|
|
2259
|
-
errors: [BadRequest, NotFound
|
|
2463
|
+
input: __S(496, __c31, 0) as any as S.Schema<GetBackupRequest>,
|
|
2464
|
+
output: __S(512, __c32, 0) as any as S.Schema<BackupMetadata>,
|
|
2465
|
+
errors: [BadRequest, NotFound],
|
|
2466
|
+
serviceErrors: XataServiceErrors,
|
|
2260
2467
|
protocol: XataProtocol,
|
|
2261
2468
|
retry: Retry.Retry,
|
|
2262
2469
|
telemetry: TELEMETRY,
|
|
@@ -2271,9 +2478,10 @@ export const getBillingCustomer: API.OperationMethod<
|
|
|
2271
2478
|
GetBillingCustomerError,
|
|
2272
2479
|
XataOpContext
|
|
2273
2480
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2274
|
-
input: __S(
|
|
2275
|
-
output: __S(
|
|
2276
|
-
errors: [Forbidden, NotFound
|
|
2481
|
+
input: __S(528, __c33, 0) as any as S.Schema<GetBillingCustomerRequest>,
|
|
2482
|
+
output: __S(549, __c34, 5) as any as S.Schema<BillingCustomerResponse>,
|
|
2483
|
+
errors: [Forbidden, NotFound],
|
|
2484
|
+
serviceErrors: XataServiceErrors,
|
|
2277
2485
|
protocol: XataProtocol,
|
|
2278
2486
|
retry: Retry.Retry,
|
|
2279
2487
|
telemetry: TELEMETRY,
|
|
@@ -2288,9 +2496,10 @@ export const getBillingInvoices: API.OperationMethod<
|
|
|
2288
2496
|
GetBillingInvoicesError,
|
|
2289
2497
|
XataOpContext
|
|
2290
2498
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2291
|
-
input: __S(
|
|
2292
|
-
output: __S(
|
|
2293
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2499
|
+
input: __S(560, __c35, 0) as any as S.Schema<GetBillingInvoicesRequest>,
|
|
2500
|
+
output: __S(564, __c35, 4) as any as S.Schema<BillingInvoicesResponse>,
|
|
2501
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2502
|
+
serviceErrors: XataServiceErrors,
|
|
2294
2503
|
protocol: XataProtocol,
|
|
2295
2504
|
retry: Retry.Retry,
|
|
2296
2505
|
telemetry: TELEMETRY,
|
|
@@ -2305,9 +2514,10 @@ export const getBillingUpcomingInvoice: API.OperationMethod<
|
|
|
2305
2514
|
GetBillingUpcomingInvoiceError,
|
|
2306
2515
|
XataOpContext
|
|
2307
2516
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2308
|
-
input: __S(
|
|
2309
|
-
output: __S(
|
|
2310
|
-
errors: [Forbidden, NotFound
|
|
2517
|
+
input: __S(576, __c36, 0) as any as S.Schema<GetBillingUpcomingInvoiceRequest>,
|
|
2518
|
+
output: __S(577, __c36, 1) as any as S.Schema<BillingUpcomingInvoiceResponse>,
|
|
2519
|
+
errors: [Forbidden, NotFound],
|
|
2520
|
+
serviceErrors: XataServiceErrors,
|
|
2311
2521
|
protocol: XataProtocol,
|
|
2312
2522
|
retry: Retry.Retry,
|
|
2313
2523
|
telemetry: TELEMETRY,
|
|
@@ -2322,9 +2532,10 @@ export const getBranchCredentials: API.OperationMethod<
|
|
|
2322
2532
|
GetBranchCredentialsError,
|
|
2323
2533
|
XataOpContext
|
|
2324
2534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2325
|
-
input: __S(
|
|
2326
|
-
output: __S(
|
|
2327
|
-
errors: [BadRequest, NotFound
|
|
2535
|
+
input: __S(592, __c37, 0) as any as S.Schema<GetBranchCredentialsRequest>,
|
|
2536
|
+
output: __S(593, __c37, 1) as any as S.Schema<BranchCredentials>,
|
|
2537
|
+
errors: [BadRequest, NotFound],
|
|
2538
|
+
serviceErrors: XataServiceErrors,
|
|
2328
2539
|
protocol: XataProtocol,
|
|
2329
2540
|
retry: Retry.Retry,
|
|
2330
2541
|
telemetry: TELEMETRY,
|
|
@@ -2339,9 +2550,10 @@ export const getBranchPostgresConfig: API.OperationMethod<
|
|
|
2339
2550
|
GetBranchPostgresConfigError,
|
|
2340
2551
|
XataOpContext
|
|
2341
2552
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2342
|
-
input: __S(
|
|
2343
|
-
output: __S(
|
|
2344
|
-
errors: [BadRequest, NotFound
|
|
2553
|
+
input: __S(608, __c38, 0) as any as S.Schema<GetBranchPostgresConfigRequest>,
|
|
2554
|
+
output: __S(612, __c38, 4) as any as S.Schema<PostgresConfigDetails>,
|
|
2555
|
+
errors: [BadRequest, NotFound],
|
|
2556
|
+
serviceErrors: XataServiceErrors,
|
|
2345
2557
|
protocol: XataProtocol,
|
|
2346
2558
|
retry: Retry.Retry,
|
|
2347
2559
|
telemetry: TELEMETRY,
|
|
@@ -2356,9 +2568,10 @@ export const getGithubRepository: API.OperationMethod<
|
|
|
2356
2568
|
GetGithubRepositoryError,
|
|
2357
2569
|
XataOpContext
|
|
2358
2570
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2359
|
-
input: __S(
|
|
2360
|
-
output: __S(
|
|
2361
|
-
errors: [BadRequest
|
|
2571
|
+
input: __S(624, __c39, 0) as any as S.Schema<GetGithubRepositoryRequest>,
|
|
2572
|
+
output: __S(625, __c39, 1) as any as S.Schema<GetGithubRepositoryResponse>,
|
|
2573
|
+
errors: [BadRequest],
|
|
2574
|
+
serviceErrors: XataServiceErrors,
|
|
2362
2575
|
protocol: XataProtocol,
|
|
2363
2576
|
retry: Retry.Retry,
|
|
2364
2577
|
telemetry: TELEMETRY,
|
|
@@ -2373,9 +2586,10 @@ export const getOrganization: API.OperationMethod<
|
|
|
2373
2586
|
GetOrganizationError,
|
|
2374
2587
|
XataOpContext
|
|
2375
2588
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2376
|
-
input: __S(
|
|
2377
|
-
output: __S(
|
|
2378
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2589
|
+
input: __S(640, __c40, 0) as any as S.Schema<GetOrganizationRequest>,
|
|
2590
|
+
output: __S(112, __c7, 0) as any as S.Schema<Organization>,
|
|
2591
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2592
|
+
serviceErrors: XataServiceErrors,
|
|
2379
2593
|
protocol: XataProtocol,
|
|
2380
2594
|
retry: Retry.Retry,
|
|
2381
2595
|
telemetry: TELEMETRY,
|
|
@@ -2390,9 +2604,10 @@ export const getOrganizationInvitation: API.OperationMethod<
|
|
|
2390
2604
|
GetOrganizationInvitationError,
|
|
2391
2605
|
XataOpContext
|
|
2392
2606
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2393
|
-
input: __S(
|
|
2394
|
-
output: __S(
|
|
2395
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2607
|
+
input: __S(656, __c41, 0) as any as S.Schema<GetOrganizationInvitationRequest>,
|
|
2608
|
+
output: __S(672, __c42, 0) as any as S.Schema<OrganizationInvitation>,
|
|
2609
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2610
|
+
serviceErrors: XataServiceErrors,
|
|
2396
2611
|
protocol: XataProtocol,
|
|
2397
2612
|
retry: Retry.Retry,
|
|
2398
2613
|
telemetry: TELEMETRY,
|
|
@@ -2407,9 +2622,10 @@ export const getOrganizationLimits: API.OperationMethod<
|
|
|
2407
2622
|
GetOrganizationLimitsError,
|
|
2408
2623
|
XataOpContext
|
|
2409
2624
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2410
|
-
input: __S(
|
|
2411
|
-
output: __S(
|
|
2412
|
-
errors: [Forbidden
|
|
2625
|
+
input: __S(688, __c43, 0) as any as S.Schema<GetOrganizationLimitsRequest>,
|
|
2626
|
+
output: __S(689, __c43, 1) as any as S.Schema<GetOrganizationLimitsResponse>,
|
|
2627
|
+
errors: [Forbidden],
|
|
2628
|
+
serviceErrors: XataServiceErrors,
|
|
2413
2629
|
protocol: XataProtocol,
|
|
2414
2630
|
retry: Retry.Retry,
|
|
2415
2631
|
telemetry: TELEMETRY,
|
|
@@ -2424,9 +2640,10 @@ export const getOrganizationMembershipLimits: API.OperationMethod<
|
|
|
2424
2640
|
GetOrganizationMembershipLimitsError,
|
|
2425
2641
|
XataOpContext
|
|
2426
2642
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2427
|
-
input: __S(
|
|
2428
|
-
output: __S(
|
|
2429
|
-
errors: [Forbidden
|
|
2643
|
+
input: __S(736, __c46, 0) as any as S.Schema<GetOrganizationMembershipLimitsRequest>,
|
|
2644
|
+
output: __S(737, __c46, 1) as any as S.Schema<OrganizationMembershipLimits>,
|
|
2645
|
+
errors: [Forbidden],
|
|
2646
|
+
serviceErrors: XataServiceErrors,
|
|
2430
2647
|
protocol: XataProtocol,
|
|
2431
2648
|
retry: Retry.Retry,
|
|
2432
2649
|
telemetry: TELEMETRY,
|
|
@@ -2441,9 +2658,10 @@ export const getOrganizationsList: API.OperationMethod<
|
|
|
2441
2658
|
GetOrganizationsListError,
|
|
2442
2659
|
XataOpContext
|
|
2443
2660
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2444
|
-
input: __S(
|
|
2445
|
-
output: __S(
|
|
2446
|
-
errors: [BadRequest, NotFound
|
|
2661
|
+
input: __S(752, __c47, 0) as any as S.Schema<GetOrganizationsListRequest>,
|
|
2662
|
+
output: __S(755, __c47, 3) as any as S.Schema<GetOrganizationsListResponse>,
|
|
2663
|
+
errors: [BadRequest, NotFound],
|
|
2664
|
+
serviceErrors: XataServiceErrors,
|
|
2447
2665
|
protocol: XataProtocol,
|
|
2448
2666
|
retry: Retry.Retry,
|
|
2449
2667
|
telemetry: TELEMETRY,
|
|
@@ -2458,9 +2676,10 @@ export const getOrganizationSSO: API.OperationMethod<
|
|
|
2458
2676
|
GetOrganizationSSOError,
|
|
2459
2677
|
XataOpContext
|
|
2460
2678
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2461
|
-
input: __S(
|
|
2462
|
-
output: __S(
|
|
2463
|
-
errors: [Forbidden
|
|
2679
|
+
input: __S(768, __c48, 0) as any as S.Schema<GetOrganizationSSORequest>,
|
|
2680
|
+
output: __S(771, __c48, 3) as any as S.Schema<OrganizationSSO>,
|
|
2681
|
+
errors: [Forbidden],
|
|
2682
|
+
serviceErrors: XataServiceErrors,
|
|
2464
2683
|
protocol: XataProtocol,
|
|
2465
2684
|
retry: Retry.Retry,
|
|
2466
2685
|
telemetry: TELEMETRY,
|
|
@@ -2475,9 +2694,10 @@ export const getProject: API.OperationMethod<
|
|
|
2475
2694
|
GetProjectError,
|
|
2476
2695
|
XataOpContext
|
|
2477
2696
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2478
|
-
input: __S(
|
|
2479
|
-
output: __S(
|
|
2480
|
-
errors: [BadRequest, NotFound
|
|
2697
|
+
input: __S(784, __c49, 0) as any as S.Schema<GetProjectRequest>,
|
|
2698
|
+
output: __S(245, __c15, 5) as any as S.Schema<Project>,
|
|
2699
|
+
errors: [BadRequest, NotFound],
|
|
2700
|
+
serviceErrors: XataServiceErrors,
|
|
2481
2701
|
protocol: XataProtocol,
|
|
2482
2702
|
retry: Retry.Retry,
|
|
2483
2703
|
telemetry: TELEMETRY,
|
|
@@ -2492,9 +2712,10 @@ export const getProjectLimits: API.OperationMethod<
|
|
|
2492
2712
|
GetProjectLimitsError,
|
|
2493
2713
|
XataOpContext
|
|
2494
2714
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2495
|
-
input: __S(
|
|
2496
|
-
output: __S(
|
|
2497
|
-
errors: [
|
|
2715
|
+
input: __S(800, __c50, 0) as any as S.Schema<GetProjectLimitsRequest>,
|
|
2716
|
+
output: __S(801, __c50, 1) as any as S.Schema<EffectiveProjectLimits>,
|
|
2717
|
+
errors: [],
|
|
2718
|
+
serviceErrors: XataServiceErrors,
|
|
2498
2719
|
protocol: XataProtocol,
|
|
2499
2720
|
retry: Retry.Retry,
|
|
2500
2721
|
telemetry: TELEMETRY,
|
|
@@ -2509,9 +2730,10 @@ export const getResource: API.OperationMethod<
|
|
|
2509
2730
|
GetResourceError,
|
|
2510
2731
|
XataOpContext
|
|
2511
2732
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2512
|
-
input: __S(
|
|
2513
|
-
output: __S(
|
|
2514
|
-
errors: [Forbidden, NotFound
|
|
2733
|
+
input: __S(816, __c51, 0) as any as S.Schema<GetResourceRequest>,
|
|
2734
|
+
output: __S(817, __c51, 1) as any as S.Schema<Resource>,
|
|
2735
|
+
errors: [Forbidden, NotFound],
|
|
2736
|
+
serviceErrors: XataServiceErrors,
|
|
2515
2737
|
protocol: XataProtocol,
|
|
2516
2738
|
retry: Retry.Retry,
|
|
2517
2739
|
telemetry: TELEMETRY,
|
|
@@ -2526,9 +2748,10 @@ export const githubWebhook: API.OperationMethod<
|
|
|
2526
2748
|
GithubWebhookError,
|
|
2527
2749
|
XataOpContext
|
|
2528
2750
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2529
|
-
input: __S(
|
|
2530
|
-
output: __S(
|
|
2531
|
-
errors: [BadRequest
|
|
2751
|
+
input: __S(848, __c53, 0) as any as S.Schema<GithubWebhookRequest>,
|
|
2752
|
+
output: __S(176, __c11, 0) as any as S.Schema<GithubWebhookResponse>,
|
|
2753
|
+
errors: [BadRequest],
|
|
2754
|
+
serviceErrors: XataServiceErrors,
|
|
2532
2755
|
protocol: XataProtocol,
|
|
2533
2756
|
retry: Retry.Retry,
|
|
2534
2757
|
telemetry: TELEMETRY,
|
|
@@ -2543,9 +2766,10 @@ export const listBackups: API.OperationMethod<
|
|
|
2543
2766
|
ListBackupsError,
|
|
2544
2767
|
XataOpContext
|
|
2545
2768
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2546
|
-
input: __S(
|
|
2547
|
-
output: __S(
|
|
2548
|
-
errors: [BadRequest, NotFound
|
|
2769
|
+
input: __S(864, __c54, 0) as any as S.Schema<ListBackupsRequest>,
|
|
2770
|
+
output: __S(866, __c54, 2) as any as S.Schema<ListBackupsResponse>,
|
|
2771
|
+
errors: [BadRequest, NotFound],
|
|
2772
|
+
serviceErrors: XataServiceErrors,
|
|
2549
2773
|
protocol: XataProtocol,
|
|
2550
2774
|
retry: Retry.Retry,
|
|
2551
2775
|
telemetry: TELEMETRY,
|
|
@@ -2560,9 +2784,10 @@ export const listBillingPlansForProduct: API.OperationMethod<
|
|
|
2560
2784
|
ListBillingPlansForProductError,
|
|
2561
2785
|
XataOpContext
|
|
2562
2786
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2563
|
-
input: __S(
|
|
2564
|
-
output: __S(
|
|
2565
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2787
|
+
input: __S(880, __c55, 0) as any as S.Schema<ListBillingPlansForProductRequest>,
|
|
2788
|
+
output: __S(887, __c55, 7) as any as S.Schema<ListBillingPlansResponse>,
|
|
2789
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2790
|
+
serviceErrors: XataServiceErrors,
|
|
2566
2791
|
protocol: XataProtocol,
|
|
2567
2792
|
retry: Retry.Retry,
|
|
2568
2793
|
telemetry: TELEMETRY,
|
|
@@ -2577,9 +2802,10 @@ export const listBranches: API.OperationMethod<
|
|
|
2577
2802
|
ListBranchesError,
|
|
2578
2803
|
XataOpContext
|
|
2579
2804
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2580
|
-
input: __S(
|
|
2581
|
-
output: __S(
|
|
2582
|
-
errors: [BadRequest, NotFound
|
|
2805
|
+
input: __S(896, __c56, 0) as any as S.Schema<ListBranchesRequest>,
|
|
2806
|
+
output: __S(899, __c56, 3) as any as S.Schema<ListBranchesResponse>,
|
|
2807
|
+
errors: [BadRequest, NotFound],
|
|
2808
|
+
serviceErrors: XataServiceErrors,
|
|
2583
2809
|
protocol: XataProtocol,
|
|
2584
2810
|
retry: Retry.Retry,
|
|
2585
2811
|
telemetry: TELEMETRY,
|
|
@@ -2594,9 +2820,10 @@ export const listExtensions: API.OperationMethod<
|
|
|
2594
2820
|
ListExtensionsError,
|
|
2595
2821
|
XataOpContext
|
|
2596
2822
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2597
|
-
input: __S(
|
|
2598
|
-
output: __S(
|
|
2599
|
-
errors: [BadRequest
|
|
2823
|
+
input: __S(928, __c58, 0) as any as S.Schema<ListExtensionsRequest>,
|
|
2824
|
+
output: __S(931, __c58, 3) as any as S.Schema<ListExtensionsResponse>,
|
|
2825
|
+
errors: [BadRequest],
|
|
2826
|
+
serviceErrors: XataServiceErrors,
|
|
2600
2827
|
protocol: XataProtocol,
|
|
2601
2828
|
retry: Retry.Retry,
|
|
2602
2829
|
telemetry: TELEMETRY,
|
|
@@ -2611,9 +2838,10 @@ export const listGithubAppInstallations: API.OperationMethod<
|
|
|
2611
2838
|
ListGithubAppInstallationsError,
|
|
2612
2839
|
XataOpContext
|
|
2613
2840
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2614
|
-
input: __S(
|
|
2615
|
-
output: __S(
|
|
2616
|
-
errors: [BadRequest
|
|
2841
|
+
input: __S(944, __c59, 0) as any as S.Schema<ListGithubAppInstallationsRequest>,
|
|
2842
|
+
output: __S(946, __c59, 2) as any as S.Schema<ListGithubAppInstallationsResponse>,
|
|
2843
|
+
errors: [BadRequest],
|
|
2844
|
+
serviceErrors: XataServiceErrors,
|
|
2617
2845
|
protocol: XataProtocol,
|
|
2618
2846
|
retry: Retry.Retry,
|
|
2619
2847
|
telemetry: TELEMETRY,
|
|
@@ -2628,9 +2856,10 @@ export const listImages: API.OperationMethod<
|
|
|
2628
2856
|
ListImagesError,
|
|
2629
2857
|
XataOpContext
|
|
2630
2858
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2631
|
-
input: __S(
|
|
2632
|
-
output: __S(
|
|
2633
|
-
errors: [BadRequest
|
|
2859
|
+
input: __S(960, __c60, 0) as any as S.Schema<ListImagesRequest>,
|
|
2860
|
+
output: __S(963, __c60, 3) as any as S.Schema<ListImagesResponse>,
|
|
2861
|
+
errors: [BadRequest],
|
|
2862
|
+
serviceErrors: XataServiceErrors,
|
|
2634
2863
|
protocol: XataProtocol,
|
|
2635
2864
|
retry: Retry.Retry,
|
|
2636
2865
|
telemetry: TELEMETRY,
|
|
@@ -2645,9 +2874,10 @@ export const listInstanceTypes: API.OperationMethod<
|
|
|
2645
2874
|
ListInstanceTypesError,
|
|
2646
2875
|
XataOpContext
|
|
2647
2876
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2648
|
-
input: __S(
|
|
2649
|
-
output: __S(
|
|
2650
|
-
errors: [BadRequest
|
|
2877
|
+
input: __S(976, __c61, 0) as any as S.Schema<ListInstanceTypesRequest>,
|
|
2878
|
+
output: __S(979, __c61, 3) as any as S.Schema<ListInstanceTypesResponse>,
|
|
2879
|
+
errors: [BadRequest],
|
|
2880
|
+
serviceErrors: XataServiceErrors,
|
|
2651
2881
|
protocol: XataProtocol,
|
|
2652
2882
|
retry: Retry.Retry,
|
|
2653
2883
|
telemetry: TELEMETRY,
|
|
@@ -2662,9 +2892,10 @@ export const listOrganizationAPIKeys: API.OperationMethod<
|
|
|
2662
2892
|
ListOrganizationAPIKeysError,
|
|
2663
2893
|
XataOpContext
|
|
2664
2894
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2665
|
-
input: __S(
|
|
2666
|
-
output: __S(
|
|
2667
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2895
|
+
input: __S(992, __c62, 0) as any as S.Schema<ListOrganizationAPIKeysRequest>,
|
|
2896
|
+
output: __S(1010, __c63, 2) as any as S.Schema<ListOrganizationAPIKeysResponse>,
|
|
2897
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2898
|
+
serviceErrors: XataServiceErrors,
|
|
2668
2899
|
protocol: XataProtocol,
|
|
2669
2900
|
retry: Retry.Retry,
|
|
2670
2901
|
telemetry: TELEMETRY,
|
|
@@ -2679,9 +2910,10 @@ export const listOrganizationInvitations: API.OperationMethod<
|
|
|
2679
2910
|
ListOrganizationInvitationsError,
|
|
2680
2911
|
XataOpContext
|
|
2681
2912
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2682
|
-
input: __S(
|
|
2683
|
-
output: __S(
|
|
2684
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
2913
|
+
input: __S(1024, __c64, 0) as any as S.Schema<ListOrganizationInvitationsRequest>,
|
|
2914
|
+
output: __S(1026, __c64, 2) as any as S.Schema<ListOrganizationInvitationsResponse>,
|
|
2915
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
2916
|
+
serviceErrors: XataServiceErrors,
|
|
2685
2917
|
protocol: XataProtocol,
|
|
2686
2918
|
retry: Retry.Retry,
|
|
2687
2919
|
telemetry: TELEMETRY,
|
|
@@ -2696,9 +2928,10 @@ export const listOrganizationMembers: API.OperationMethod<
|
|
|
2696
2928
|
ListOrganizationMembersError,
|
|
2697
2929
|
XataOpContext
|
|
2698
2930
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2699
|
-
input: __S(
|
|
2700
|
-
output: __S(
|
|
2701
|
-
errors: [
|
|
2931
|
+
input: __S(1040, __c65, 0) as any as S.Schema<ListOrganizationMembersRequest>,
|
|
2932
|
+
output: __S(1043, __c65, 3) as any as S.Schema<ListOrganizationMembersResponse>,
|
|
2933
|
+
errors: [],
|
|
2934
|
+
serviceErrors: XataServiceErrors,
|
|
2702
2935
|
protocol: XataProtocol,
|
|
2703
2936
|
retry: Retry.Retry,
|
|
2704
2937
|
telemetry: TELEMETRY,
|
|
@@ -2713,9 +2946,10 @@ export const listOrganizationRoles: API.OperationMethod<
|
|
|
2713
2946
|
ListOrganizationRolesError,
|
|
2714
2947
|
XataOpContext
|
|
2715
2948
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2716
|
-
input: __S(
|
|
2717
|
-
output: __S(
|
|
2718
|
-
errors: [Forbidden, NotFound
|
|
2949
|
+
input: __S(1056, __c66, 0) as any as S.Schema<ListOrganizationRolesRequest>,
|
|
2950
|
+
output: __S(1059, __c66, 3) as any as S.Schema<ListOrganizationRolesResponse>,
|
|
2951
|
+
errors: [Forbidden, NotFound],
|
|
2952
|
+
serviceErrors: XataServiceErrors,
|
|
2719
2953
|
protocol: XataProtocol,
|
|
2720
2954
|
retry: Retry.Retry,
|
|
2721
2955
|
telemetry: TELEMETRY,
|
|
@@ -2730,9 +2964,10 @@ export const listProjects: API.OperationMethod<
|
|
|
2730
2964
|
ListProjectsError,
|
|
2731
2965
|
XataOpContext
|
|
2732
2966
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2733
|
-
input: __S(
|
|
2734
|
-
output: __S(
|
|
2735
|
-
errors: [BadRequest
|
|
2967
|
+
input: __S(1072, __c67, 0) as any as S.Schema<ListProjectsRequest>,
|
|
2968
|
+
output: __S(1074, __c67, 2) as any as S.Schema<ListProjectsResponse>,
|
|
2969
|
+
errors: [BadRequest],
|
|
2970
|
+
serviceErrors: XataServiceErrors,
|
|
2736
2971
|
protocol: XataProtocol,
|
|
2737
2972
|
retry: Retry.Retry,
|
|
2738
2973
|
telemetry: TELEMETRY,
|
|
@@ -2747,9 +2982,10 @@ export const listRegions: API.OperationMethod<
|
|
|
2747
2982
|
ListRegionsError,
|
|
2748
2983
|
XataOpContext
|
|
2749
2984
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2750
|
-
input: __S(
|
|
2751
|
-
output: __S(
|
|
2752
|
-
errors: [BadRequest
|
|
2985
|
+
input: __S(1088, __c68, 0) as any as S.Schema<ListRegionsRequest>,
|
|
2986
|
+
output: __S(1091, __c68, 3) as any as S.Schema<ListRegionsResponse>,
|
|
2987
|
+
errors: [BadRequest],
|
|
2988
|
+
serviceErrors: XataServiceErrors,
|
|
2753
2989
|
protocol: XataProtocol,
|
|
2754
2990
|
retry: Retry.Retry,
|
|
2755
2991
|
telemetry: TELEMETRY,
|
|
@@ -2764,9 +3000,10 @@ export const listUserAPIKeys: API.OperationMethod<
|
|
|
2764
3000
|
ListUserAPIKeysError,
|
|
2765
3001
|
XataOpContext
|
|
2766
3002
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2767
|
-
input: __S(
|
|
2768
|
-
output: __S(
|
|
2769
|
-
errors: [BadRequest
|
|
3003
|
+
input: __S(1136, __c71, 0) as any as S.Schema<ListUserAPIKeysRequest>,
|
|
3004
|
+
output: __S(1010, __c63, 2) as any as S.Schema<ListUserAPIKeysResponse>,
|
|
3005
|
+
errors: [BadRequest],
|
|
3006
|
+
serviceErrors: XataServiceErrors,
|
|
2770
3007
|
protocol: XataProtocol,
|
|
2771
3008
|
retry: Retry.Retry,
|
|
2772
3009
|
telemetry: TELEMETRY,
|
|
@@ -2781,9 +3018,10 @@ export const orbWebhook: API.OperationMethod<
|
|
|
2781
3018
|
OrbWebhookError,
|
|
2782
3019
|
XataOpContext
|
|
2783
3020
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2784
|
-
input: __S(
|
|
2785
|
-
output: __S(
|
|
2786
|
-
errors: [BadRequest
|
|
3021
|
+
input: __S(1152, __c72, 0) as any as S.Schema<OrbWebhookRequest>,
|
|
3022
|
+
output: __S(176, __c11, 0) as any as S.Schema<OrbWebhookResponse>,
|
|
3023
|
+
errors: [BadRequest],
|
|
3024
|
+
serviceErrors: XataServiceErrors,
|
|
2787
3025
|
protocol: XataProtocol,
|
|
2788
3026
|
retry: Retry.Retry,
|
|
2789
3027
|
telemetry: TELEMETRY,
|
|
@@ -2798,9 +3036,10 @@ export const provisionResource: API.OperationMethod<
|
|
|
2798
3036
|
ProvisionResourceError,
|
|
2799
3037
|
XataOpContext
|
|
2800
3038
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2801
|
-
input: __S(
|
|
2802
|
-
output: __S(
|
|
2803
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
3039
|
+
input: __S(1168, __c73, 0) as any as S.Schema<ProvisionResourceRequest>,
|
|
3040
|
+
output: __S(1172, __c73, 4) as any as S.Schema<ProvisionedResource>,
|
|
3041
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
3042
|
+
serviceErrors: XataServiceErrors,
|
|
2804
3043
|
protocol: XataProtocol,
|
|
2805
3044
|
retry: Retry.Retry,
|
|
2806
3045
|
telemetry: TELEMETRY,
|
|
@@ -2811,9 +3050,10 @@ export type QueryError = BadRequest | Forbidden | NotFound | Conflict | XataOpEr
|
|
|
2811
3050
|
/** Execute SQL query Execute a single SQL query or a batch of queries against a PostgreSQL branch. **Authentication:** send the branch's PostgreSQL connection string in the `Connection-String` header. The control-plane API key (Bearer token) is **not** accepted on the gateway host. **Routing:** the target branch, region, and endpoint type are taken from the hostname embedded in the connection string, which must match the request host. See the `Connection-String` security scheme for the host format. **Single query:** provide `query` (and optional `params`) at the top level. **Batch:** provide `queries` as an array of query objects, or send the request body as a JSON array. Batch queries execute within a single transaction. **Errors:** PostgreSQL errors return 400 with their SQLSTATE in `code` and their diagnostic fields. A 503 means the gateway could not reach the database: `08001` when a connection cannot be established and `08006` when an established connection fails. A 503 does not guarantee that replaying a write is safe: a connection failure can leave its outcome unknown. */
|
|
2812
3051
|
export const query: API.OperationMethod<QueryRequest, QueryResponse, QueryError, XataOpContext> =
|
|
2813
3052
|
/*@__PURE__*/ API.make(() => ({
|
|
2814
|
-
input: __S(
|
|
2815
|
-
output: __S(
|
|
2816
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
3053
|
+
input: __S(1187, __c74, 3) as any as S.Schema<QueryRequest>,
|
|
3054
|
+
output: __S(1188, __c74, 4) as any as S.Schema<QueryResponse>,
|
|
3055
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
3056
|
+
serviceErrors: XataServiceErrors,
|
|
2817
3057
|
protocol: XataProtocol,
|
|
2818
3058
|
retry: Retry.Retry,
|
|
2819
3059
|
telemetry: TELEMETRY,
|
|
@@ -2828,9 +3068,10 @@ export const registerMarketplace: API.OperationMethod<
|
|
|
2828
3068
|
RegisterMarketplaceError,
|
|
2829
3069
|
XataOpContext
|
|
2830
3070
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2831
|
-
input: __S(
|
|
2832
|
-
output: __S(
|
|
2833
|
-
errors: [BadRequest, Conflict
|
|
3071
|
+
input: __S(1201, __c75, 1) as any as S.Schema<RegisterMarketplaceRequest>,
|
|
3072
|
+
output: __S(176, __c11, 0) as any as S.Schema<RegisterMarketplaceResponse>,
|
|
3073
|
+
errors: [BadRequest, Conflict],
|
|
3074
|
+
serviceErrors: XataServiceErrors,
|
|
2834
3075
|
protocol: XataProtocol,
|
|
2835
3076
|
retry: Retry.Retry,
|
|
2836
3077
|
telemetry: TELEMETRY,
|
|
@@ -2845,9 +3086,10 @@ export const removeOrganizationMember: API.OperationMethod<
|
|
|
2845
3086
|
RemoveOrganizationMemberError,
|
|
2846
3087
|
XataOpContext
|
|
2847
3088
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2848
|
-
input: __S(
|
|
2849
|
-
output: __S(
|
|
2850
|
-
errors: [BadRequest, Conflict
|
|
3089
|
+
input: __S(1216, __c76, 0) as any as S.Schema<RemoveOrganizationMemberRequest>,
|
|
3090
|
+
output: __S(176, __c11, 0) as any as S.Schema<RemoveOrganizationMemberResponse>,
|
|
3091
|
+
errors: [BadRequest, Conflict],
|
|
3092
|
+
serviceErrors: XataServiceErrors,
|
|
2851
3093
|
protocol: XataProtocol,
|
|
2852
3094
|
retry: Retry.Retry,
|
|
2853
3095
|
telemetry: TELEMETRY,
|
|
@@ -2862,9 +3104,10 @@ export const requestOrganizationDeletion: API.OperationMethod<
|
|
|
2862
3104
|
RequestOrganizationDeletionError,
|
|
2863
3105
|
XataOpContext
|
|
2864
3106
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2865
|
-
input: __S(
|
|
2866
|
-
output: __S(
|
|
2867
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
3107
|
+
input: __S(1232, __c77, 0) as any as S.Schema<RequestOrganizationDeletionRequest>,
|
|
3108
|
+
output: __S(176, __c11, 0) as any as S.Schema<RequestOrganizationDeletionResponse>,
|
|
3109
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
3110
|
+
serviceErrors: XataServiceErrors,
|
|
2868
3111
|
protocol: XataProtocol,
|
|
2869
3112
|
retry: Retry.Retry,
|
|
2870
3113
|
telemetry: TELEMETRY,
|
|
@@ -2879,9 +3122,10 @@ export const resendOrganizationInvitation: API.OperationMethod<
|
|
|
2879
3122
|
ResendOrganizationInvitationError,
|
|
2880
3123
|
XataOpContext
|
|
2881
3124
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2882
|
-
input: __S(
|
|
2883
|
-
output: __S(
|
|
2884
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
3125
|
+
input: __S(1248, __c78, 0) as any as S.Schema<ResendOrganizationInvitationRequest>,
|
|
3126
|
+
output: __S(176, __c11, 0) as any as S.Schema<ResendOrganizationInvitationResponse>,
|
|
3127
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
3128
|
+
serviceErrors: XataServiceErrors,
|
|
2885
3129
|
protocol: XataProtocol,
|
|
2886
3130
|
retry: Retry.Retry,
|
|
2887
3131
|
telemetry: TELEMETRY,
|
|
@@ -2889,16 +3133,17 @@ export const resendOrganizationInvitation: API.OperationMethod<
|
|
|
2889
3133
|
}));
|
|
2890
3134
|
|
|
2891
3135
|
export type RestoreFromBackupError = BadRequest | NotFound | XataOpError;
|
|
2892
|
-
/** Create a new branch from a backup of another branch Creates a new branch from the continuous backup of the source branch. The source branch does not change. The new branch is created in the region and cell of the source branch, and its parentID is the source branch. */
|
|
3136
|
+
/** Create a new branch from a backup of another branch Creates a new branch from the continuous backup of the source branch. The source branch does not change. The new branch is created in the region and cell of the source branch, and its parentID is the source branch. Returns 412 if the backups of the source branch cannot be restored to a new branch. */
|
|
2893
3137
|
export const restoreFromBackup: API.OperationMethod<
|
|
2894
3138
|
RestoreFromBackupRequest,
|
|
2895
3139
|
BranchShortMetadata,
|
|
2896
3140
|
RestoreFromBackupError,
|
|
2897
3141
|
XataOpContext
|
|
2898
3142
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2899
|
-
input: __S(
|
|
2900
|
-
output: __S(
|
|
2901
|
-
errors: [BadRequest, NotFound
|
|
3143
|
+
input: __S(1264, __c79, 0) as any as S.Schema<RestoreFromBackupRequest>,
|
|
3144
|
+
output: __S(1616, __c101, 0) as any as S.Schema<BranchShortMetadata>,
|
|
3145
|
+
errors: [BadRequest, NotFound],
|
|
3146
|
+
serviceErrors: XataServiceErrors,
|
|
2902
3147
|
protocol: XataProtocol,
|
|
2903
3148
|
retry: Retry.Retry,
|
|
2904
3149
|
telemetry: TELEMETRY,
|
|
@@ -2913,9 +3158,10 @@ export const rotateBranchCredentials: API.OperationMethod<
|
|
|
2913
3158
|
RotateBranchCredentialsError,
|
|
2914
3159
|
XataOpContext
|
|
2915
3160
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2916
|
-
input: __S(
|
|
2917
|
-
output: __S(
|
|
2918
|
-
errors: [BadRequest, NotFound
|
|
3161
|
+
input: __S(1280, __c80, 0) as any as S.Schema<RotateBranchCredentialsRequest>,
|
|
3162
|
+
output: __S(176, __c11, 0) as any as S.Schema<RotateBranchCredentialsResponse>,
|
|
3163
|
+
errors: [BadRequest, NotFound],
|
|
3164
|
+
serviceErrors: XataServiceErrors,
|
|
2919
3165
|
protocol: XataProtocol,
|
|
2920
3166
|
retry: Retry.Retry,
|
|
2921
3167
|
telemetry: TELEMETRY,
|
|
@@ -2930,9 +3176,10 @@ export const sendMcpRequest: API.OperationMethod<
|
|
|
2930
3176
|
SendMcpRequestError,
|
|
2931
3177
|
XataOpContext
|
|
2932
3178
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2933
|
-
input: __S(
|
|
2934
|
-
output: __S(
|
|
2935
|
-
errors: [BadRequest
|
|
3179
|
+
input: __S(1328, __c83, 0) as any as S.Schema<SendMcpRequestRequest>,
|
|
3180
|
+
output: __S(1330, __c83, 2) as any as S.Schema<JSONRPCResponse>,
|
|
3181
|
+
errors: [BadRequest],
|
|
3182
|
+
serviceErrors: XataServiceErrors,
|
|
2936
3183
|
protocol: XataProtocol,
|
|
2937
3184
|
retry: Retry.Retry,
|
|
2938
3185
|
telemetry: TELEMETRY,
|
|
@@ -2952,9 +3199,10 @@ export const setOrganizationMemberRole: API.OperationMethod<
|
|
|
2952
3199
|
SetOrganizationMemberRoleError,
|
|
2953
3200
|
XataOpContext
|
|
2954
3201
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2955
|
-
input: __S(
|
|
2956
|
-
output: __S(
|
|
2957
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
3202
|
+
input: __S(1344, __c84, 0) as any as S.Schema<SetOrganizationMemberRoleRequest>,
|
|
3203
|
+
output: __S(176, __c11, 0) as any as S.Schema<SetOrganizationMemberRoleResponse>,
|
|
3204
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
3205
|
+
serviceErrors: XataServiceErrors,
|
|
2958
3206
|
protocol: XataProtocol,
|
|
2959
3207
|
retry: Retry.Retry,
|
|
2960
3208
|
telemetry: TELEMETRY,
|
|
@@ -2973,9 +3221,10 @@ export const setOrganizationSSOProviderEnforcement: API.OperationMethod<
|
|
|
2973
3221
|
SetOrganizationSSOProviderEnforcementError,
|
|
2974
3222
|
XataOpContext
|
|
2975
3223
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2976
|
-
input: __S(
|
|
2977
|
-
output: __S(
|
|
2978
|
-
errors: [Forbidden, NotFound, Conflict
|
|
3224
|
+
input: __S(1360, __c85, 0) as any as S.Schema<SetOrganizationSSOProviderEnforcementRequest>,
|
|
3225
|
+
output: __S(208, __c13, 0) as any as S.Schema<OrganizationSSOProvider>,
|
|
3226
|
+
errors: [Forbidden, NotFound, Conflict],
|
|
3227
|
+
serviceErrors: XataServiceErrors,
|
|
2979
3228
|
protocol: XataProtocol,
|
|
2980
3229
|
retry: Retry.Retry,
|
|
2981
3230
|
telemetry: TELEMETRY,
|
|
@@ -2990,9 +3239,10 @@ export const stripeWebhook: API.OperationMethod<
|
|
|
2990
3239
|
StripeWebhookError,
|
|
2991
3240
|
XataOpContext
|
|
2992
3241
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2993
|
-
input: __S(
|
|
2994
|
-
output: __S(
|
|
2995
|
-
errors: [BadRequest
|
|
3242
|
+
input: __S(1376, __c86, 0) as any as S.Schema<StripeWebhookRequest>,
|
|
3243
|
+
output: __S(176, __c11, 0) as any as S.Schema<StripeWebhookResponse>,
|
|
3244
|
+
errors: [BadRequest],
|
|
3245
|
+
serviceErrors: XataServiceErrors,
|
|
2996
3246
|
protocol: XataProtocol,
|
|
2997
3247
|
retry: Retry.Retry,
|
|
2998
3248
|
telemetry: TELEMETRY,
|
|
@@ -3007,9 +3257,10 @@ export const updateBillingCustomer: API.OperationMethod<
|
|
|
3007
3257
|
UpdateBillingCustomerError,
|
|
3008
3258
|
XataOpContext
|
|
3009
3259
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3010
|
-
input: __S(
|
|
3011
|
-
output: __S(
|
|
3012
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
3260
|
+
input: __S(1392, __c87, 0) as any as S.Schema<UpdateBillingCustomerRequest>,
|
|
3261
|
+
output: __S(549, __c34, 5) as any as S.Schema<BillingCustomerResponse>,
|
|
3262
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
3263
|
+
serviceErrors: XataServiceErrors,
|
|
3013
3264
|
protocol: XataProtocol,
|
|
3014
3265
|
retry: Retry.Retry,
|
|
3015
3266
|
telemetry: TELEMETRY,
|
|
@@ -3024,9 +3275,10 @@ export const updateBranch: API.OperationMethod<
|
|
|
3024
3275
|
UpdateBranchError,
|
|
3025
3276
|
XataOpContext
|
|
3026
3277
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3027
|
-
input: __S(
|
|
3028
|
-
output: __S(
|
|
3029
|
-
errors: [BadRequest, NotFound
|
|
3278
|
+
input: __S(1408, __c88, 0) as any as S.Schema<UpdateBranchRequest>,
|
|
3279
|
+
output: __S(1616, __c101, 0) as any as S.Schema<BranchShortMetadata>,
|
|
3280
|
+
errors: [BadRequest, NotFound],
|
|
3281
|
+
serviceErrors: XataServiceErrors,
|
|
3030
3282
|
protocol: XataProtocol,
|
|
3031
3283
|
retry: Retry.Retry,
|
|
3032
3284
|
telemetry: TELEMETRY,
|
|
@@ -3041,9 +3293,10 @@ export const updateGithubAppInstallation: API.OperationMethod<
|
|
|
3041
3293
|
UpdateGithubAppInstallationError,
|
|
3042
3294
|
XataOpContext
|
|
3043
3295
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3044
|
-
input: __S(
|
|
3045
|
-
output: __S(
|
|
3046
|
-
errors: [BadRequest, NotFound, Conflict
|
|
3296
|
+
input: __S(1424, __c89, 0) as any as S.Schema<UpdateGithubAppInstallationRequest>,
|
|
3297
|
+
output: __S(32, __c2, 0) as any as S.Schema<GithubInstallation>,
|
|
3298
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
3299
|
+
serviceErrors: XataServiceErrors,
|
|
3047
3300
|
protocol: XataProtocol,
|
|
3048
3301
|
retry: Retry.Retry,
|
|
3049
3302
|
telemetry: TELEMETRY,
|
|
@@ -3058,9 +3311,10 @@ export const updateGithubRepository: API.OperationMethod<
|
|
|
3058
3311
|
UpdateGithubRepositoryError,
|
|
3059
3312
|
XataOpContext
|
|
3060
3313
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3061
|
-
input: __S(
|
|
3062
|
-
output: __S(
|
|
3063
|
-
errors: [BadRequest, NotFound
|
|
3314
|
+
input: __S(1440, __c90, 0) as any as S.Schema<UpdateGithubRepositoryRequest>,
|
|
3315
|
+
output: __S(64, __c4, 0) as any as S.Schema<GithubRepository>,
|
|
3316
|
+
errors: [BadRequest, NotFound],
|
|
3317
|
+
serviceErrors: XataServiceErrors,
|
|
3064
3318
|
protocol: XataProtocol,
|
|
3065
3319
|
retry: Retry.Retry,
|
|
3066
3320
|
telemetry: TELEMETRY,
|
|
@@ -3075,9 +3329,10 @@ export const updateOrganization: API.OperationMethod<
|
|
|
3075
3329
|
UpdateOrganizationError,
|
|
3076
3330
|
XataOpContext
|
|
3077
3331
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3078
|
-
input: __S(
|
|
3079
|
-
output: __S(
|
|
3080
|
-
errors: [BadRequest, Forbidden, NotFound
|
|
3332
|
+
input: __S(1456, __c91, 0) as any as S.Schema<UpdateOrganizationRequest>,
|
|
3333
|
+
output: __S(112, __c7, 0) as any as S.Schema<Organization>,
|
|
3334
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
3335
|
+
serviceErrors: XataServiceErrors,
|
|
3081
3336
|
protocol: XataProtocol,
|
|
3082
3337
|
retry: Retry.Retry,
|
|
3083
3338
|
telemetry: TELEMETRY,
|
|
@@ -3097,9 +3352,10 @@ export const updateOrganizationSSOProvider: API.OperationMethod<
|
|
|
3097
3352
|
UpdateOrganizationSSOProviderError,
|
|
3098
3353
|
XataOpContext
|
|
3099
3354
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3100
|
-
input: __S(
|
|
3101
|
-
output: __S(
|
|
3102
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict
|
|
3355
|
+
input: __S(1472, __c92, 0) as any as S.Schema<UpdateOrganizationSSOProviderRequest>,
|
|
3356
|
+
output: __S(208, __c13, 0) as any as S.Schema<OrganizationSSOProvider>,
|
|
3357
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
3358
|
+
serviceErrors: XataServiceErrors,
|
|
3103
3359
|
protocol: XataProtocol,
|
|
3104
3360
|
retry: Retry.Retry,
|
|
3105
3361
|
telemetry: TELEMETRY,
|
|
@@ -3114,9 +3370,10 @@ export const updateProject: API.OperationMethod<
|
|
|
3114
3370
|
UpdateProjectError,
|
|
3115
3371
|
XataOpContext
|
|
3116
3372
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3117
|
-
input: __S(
|
|
3118
|
-
output: __S(
|
|
3119
|
-
errors: [BadRequest, NotFound
|
|
3373
|
+
input: __S(1505, __c94, 1) as any as S.Schema<UpdateProjectRequest>,
|
|
3374
|
+
output: __S(245, __c15, 5) as any as S.Schema<Project>,
|
|
3375
|
+
errors: [BadRequest, NotFound],
|
|
3376
|
+
serviceErrors: XataServiceErrors,
|
|
3120
3377
|
protocol: XataProtocol,
|
|
3121
3378
|
retry: Retry.Retry,
|
|
3122
3379
|
telemetry: TELEMETRY,
|
|
@@ -3131,9 +3388,10 @@ export const upsertInstallation: API.OperationMethod<
|
|
|
3131
3388
|
UpsertInstallationError,
|
|
3132
3389
|
XataOpContext
|
|
3133
3390
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3134
|
-
input: __S(
|
|
3135
|
-
output: __S(
|
|
3136
|
-
errors: [BadRequest, Forbidden, Conflict
|
|
3391
|
+
input: __S(1523, __c95, 3) as any as S.Schema<UpsertInstallationRequest>,
|
|
3392
|
+
output: __S(176, __c11, 0) as any as S.Schema<UpsertInstallationResponse>,
|
|
3393
|
+
errors: [BadRequest, Forbidden, Conflict],
|
|
3394
|
+
serviceErrors: XataServiceErrors,
|
|
3137
3395
|
protocol: XataProtocol,
|
|
3138
3396
|
retry: Retry.Retry,
|
|
3139
3397
|
telemetry: TELEMETRY,
|
|
@@ -3148,9 +3406,10 @@ export const verifyOrganizationSSODomain: API.OperationMethod<
|
|
|
3148
3406
|
VerifyOrganizationSSODomainError,
|
|
3149
3407
|
XataOpContext
|
|
3150
3408
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3151
|
-
input: __S(
|
|
3152
|
-
output: __S(
|
|
3153
|
-
errors: [Forbidden, NotFound, Conflict
|
|
3409
|
+
input: __S(1536, __c96, 0) as any as S.Schema<VerifyOrganizationSSODomainRequest>,
|
|
3410
|
+
output: __S(1121, __c70, 1) as any as S.Schema<OrganizationSSODomain>,
|
|
3411
|
+
errors: [Forbidden, NotFound, Conflict],
|
|
3412
|
+
serviceErrors: XataServiceErrors,
|
|
3154
3413
|
protocol: XataProtocol,
|
|
3155
3414
|
retry: Retry.Retry,
|
|
3156
3415
|
telemetry: TELEMETRY,
|
|
@@ -3165,9 +3424,10 @@ export const websocket: API.OperationMethod<
|
|
|
3165
3424
|
WebsocketError,
|
|
3166
3425
|
XataOpContext
|
|
3167
3426
|
> = /*@__PURE__*/ API.make(() => ({
|
|
3168
|
-
input: __S(
|
|
3169
|
-
output: __S(
|
|
3170
|
-
errors: [BadRequest
|
|
3427
|
+
input: __S(1552, __c97, 0) as any as S.Schema<WebsocketRequest>,
|
|
3428
|
+
output: __S(176, __c11, 0) as any as S.Schema<WebsocketResponse>,
|
|
3429
|
+
errors: [BadRequest],
|
|
3430
|
+
serviceErrors: XataServiceErrors,
|
|
3171
3431
|
protocol: XataProtocol,
|
|
3172
3432
|
retry: Retry.Retry,
|
|
3173
3433
|
telemetry: TELEMETRY,
|
|
@@ -3176,6 +3436,70 @@ export const websocket: API.OperationMethod<
|
|
|
3176
3436
|
|
|
3177
3437
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
3178
3438
|
function __c0(j: number): any {
|
|
3439
|
+
switch (j) {
|
|
3440
|
+
case 0:
|
|
3441
|
+
return S.suspend(() =>
|
|
3442
|
+
S.Struct({
|
|
3443
|
+
id: S.optional(S.String),
|
|
3444
|
+
message: S.String,
|
|
3445
|
+
}),
|
|
3446
|
+
).annotate({ identifier: "Error400Body" });
|
|
3447
|
+
case 1:
|
|
3448
|
+
return S.suspend(() =>
|
|
3449
|
+
S.Struct({
|
|
3450
|
+
message: S.optional(S.String),
|
|
3451
|
+
url: S.optional(S.String),
|
|
3452
|
+
}),
|
|
3453
|
+
).annotate({ identifier: "VercelErrorErrorUser" });
|
|
3454
|
+
case 2:
|
|
3455
|
+
return S.suspend(() =>
|
|
3456
|
+
S.Struct({
|
|
3457
|
+
key: S.String,
|
|
3458
|
+
message: S.optional(S.String),
|
|
3459
|
+
}),
|
|
3460
|
+
).annotate({ identifier: "VercelErrorErrorFieldsItem" });
|
|
3461
|
+
case 3:
|
|
3462
|
+
return S.Array(__S(2, __c0, 2));
|
|
3463
|
+
case 4:
|
|
3464
|
+
return S.suspend(() =>
|
|
3465
|
+
S.Struct({
|
|
3466
|
+
code: S.String,
|
|
3467
|
+
message: S.String,
|
|
3468
|
+
user: S.optional(__S(1, __c0, 1)),
|
|
3469
|
+
fields: S.optional(__S(3, __c0, 3)),
|
|
3470
|
+
}),
|
|
3471
|
+
).annotate({ identifier: "VercelErrorError" });
|
|
3472
|
+
case 5:
|
|
3473
|
+
return S.suspend(() =>
|
|
3474
|
+
S.Struct({
|
|
3475
|
+
error: __S(4, __c0, 4),
|
|
3476
|
+
}),
|
|
3477
|
+
).annotate({ identifier: "VercelError" });
|
|
3478
|
+
case 6:
|
|
3479
|
+
return S.suspend(() =>
|
|
3480
|
+
S.Struct({
|
|
3481
|
+
message: S.String,
|
|
3482
|
+
code: S.optional(S.String),
|
|
3483
|
+
severity: S.optional(S.String),
|
|
3484
|
+
detail: S.optional(S.String),
|
|
3485
|
+
hint: S.optional(S.String),
|
|
3486
|
+
position: S.optional(S.String),
|
|
3487
|
+
internalPosition: S.optional(S.String),
|
|
3488
|
+
internalQuery: S.optional(S.String),
|
|
3489
|
+
where: S.optional(S.String),
|
|
3490
|
+
schema: S.optional(S.String),
|
|
3491
|
+
table: S.optional(S.String),
|
|
3492
|
+
column: S.optional(S.String),
|
|
3493
|
+
dataType: S.optional(S.String),
|
|
3494
|
+
constraint: S.optional(S.String),
|
|
3495
|
+
file: S.optional(S.String),
|
|
3496
|
+
line: S.optional(S.String),
|
|
3497
|
+
routine: S.optional(S.String),
|
|
3498
|
+
}),
|
|
3499
|
+
).annotate({ identifier: "ErrorResponse" });
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
function __c1(j: number): any {
|
|
3179
3503
|
switch (j) {
|
|
3180
3504
|
case 0:
|
|
3181
3505
|
return S.suspend(() =>
|
|
@@ -3192,7 +3516,7 @@ function __c0(j: number): any {
|
|
|
3192
3516
|
).annotate({ identifier: "CreateGithubAppInstallationRequest" });
|
|
3193
3517
|
}
|
|
3194
3518
|
}
|
|
3195
|
-
function
|
|
3519
|
+
function __c2(j: number): any {
|
|
3196
3520
|
switch (j) {
|
|
3197
3521
|
case 0:
|
|
3198
3522
|
return S.suspend(() =>
|
|
@@ -3206,7 +3530,7 @@ function __c1(j: number): any {
|
|
|
3206
3530
|
).annotate({ identifier: "GithubInstallation" });
|
|
3207
3531
|
}
|
|
3208
3532
|
}
|
|
3209
|
-
function
|
|
3533
|
+
function __c3(j: number): any {
|
|
3210
3534
|
switch (j) {
|
|
3211
3535
|
case 0:
|
|
3212
3536
|
return S.suspend(() =>
|
|
@@ -3225,7 +3549,7 @@ function __c2(j: number): any {
|
|
|
3225
3549
|
).annotate({ identifier: "CreateGithubRepositoryRequest" });
|
|
3226
3550
|
}
|
|
3227
3551
|
}
|
|
3228
|
-
function
|
|
3552
|
+
function __c4(j: number): any {
|
|
3229
3553
|
switch (j) {
|
|
3230
3554
|
case 0:
|
|
3231
3555
|
return S.suspend(() =>
|
|
@@ -3240,7 +3564,7 @@ function __c3(j: number): any {
|
|
|
3240
3564
|
).annotate({ identifier: "GithubRepository" });
|
|
3241
3565
|
}
|
|
3242
3566
|
}
|
|
3243
|
-
function
|
|
3567
|
+
function __c5(j: number): any {
|
|
3244
3568
|
switch (j) {
|
|
3245
3569
|
case 0:
|
|
3246
3570
|
return S.suspend(() =>
|
|
@@ -3250,7 +3574,7 @@ function __c4(j: number): any {
|
|
|
3250
3574
|
).annotate({ identifier: "CreateOrganizationRequest" });
|
|
3251
3575
|
}
|
|
3252
3576
|
}
|
|
3253
|
-
function
|
|
3577
|
+
function __c6(j: number): any {
|
|
3254
3578
|
switch (j) {
|
|
3255
3579
|
case 0:
|
|
3256
3580
|
return S.suspend(() =>
|
|
@@ -3267,20 +3591,20 @@ function __c5(j: number): any {
|
|
|
3267
3591
|
).annotate({ identifier: "OrganizationStatus" });
|
|
3268
3592
|
}
|
|
3269
3593
|
}
|
|
3270
|
-
function
|
|
3594
|
+
function __c7(j: number): any {
|
|
3271
3595
|
switch (j) {
|
|
3272
3596
|
case 0:
|
|
3273
3597
|
return S.suspend(() =>
|
|
3274
3598
|
S.Struct({
|
|
3275
3599
|
id: S.String,
|
|
3276
3600
|
name: S.String,
|
|
3277
|
-
status: __S(
|
|
3601
|
+
status: __S(96, __c6, 0),
|
|
3278
3602
|
marketplace: S.optional(S.NullOr(S.String)),
|
|
3279
3603
|
}),
|
|
3280
3604
|
).annotate({ identifier: "Organization" });
|
|
3281
3605
|
}
|
|
3282
3606
|
}
|
|
3283
|
-
function
|
|
3607
|
+
function __c8(j: number): any {
|
|
3284
3608
|
switch (j) {
|
|
3285
3609
|
case 0:
|
|
3286
3610
|
return S.suspend(() =>
|
|
@@ -3288,16 +3612,16 @@ function __c7(j: number): any {
|
|
|
3288
3612
|
organizationID: S.String.pipe(T.Label()),
|
|
3289
3613
|
name: S.String,
|
|
3290
3614
|
expiry: S.optional(S.NullOr(S.String)),
|
|
3291
|
-
scopes: S.optional(__S(
|
|
3292
|
-
projects: S.optional(__S(
|
|
3293
|
-
branches: S.optional(__S(
|
|
3615
|
+
scopes: S.optional(__S(720, __c45, 0)),
|
|
3616
|
+
projects: S.optional(__S(720, __c45, 0)),
|
|
3617
|
+
branches: S.optional(__S(720, __c45, 0)),
|
|
3294
3618
|
}).pipe(
|
|
3295
3619
|
T.Http({ method: "POST", uri: "/organizations/{organizationID}/api-keys", code: 200 }),
|
|
3296
3620
|
),
|
|
3297
3621
|
).annotate({ identifier: "CreateOrganizationAPIKeyRequest" });
|
|
3298
3622
|
}
|
|
3299
3623
|
}
|
|
3300
|
-
function
|
|
3624
|
+
function __c9(j: number): any {
|
|
3301
3625
|
switch (j) {
|
|
3302
3626
|
case 0:
|
|
3303
3627
|
return S.suspend(() =>
|
|
@@ -3305,13 +3629,13 @@ function __c8(j: number): any {
|
|
|
3305
3629
|
id: S.String,
|
|
3306
3630
|
name: S.String,
|
|
3307
3631
|
preview: S.String,
|
|
3308
|
-
scopes: __S(
|
|
3309
|
-
projects: __S(
|
|
3310
|
-
branches: __S(
|
|
3632
|
+
scopes: __S(720, __c45, 0),
|
|
3633
|
+
projects: __S(720, __c45, 0),
|
|
3634
|
+
branches: __S(720, __c45, 0),
|
|
3311
3635
|
created_at: S.String,
|
|
3312
3636
|
expiry: S.NullOr(S.String),
|
|
3313
3637
|
last_used: S.NullOr(S.String),
|
|
3314
|
-
token: S.String,
|
|
3638
|
+
token: S.String.pipe(T.SensitiveValue({})),
|
|
3315
3639
|
created_by: S.optional(S.NullOr(S.String)),
|
|
3316
3640
|
created_by_key: S.optional(S.NullOr(S.String)),
|
|
3317
3641
|
}),
|
|
@@ -3319,12 +3643,12 @@ function __c8(j: number): any {
|
|
|
3319
3643
|
case 1:
|
|
3320
3644
|
return S.suspend(() =>
|
|
3321
3645
|
S.Struct({
|
|
3322
|
-
key: __S(
|
|
3646
|
+
key: __S(144, __c9, 0),
|
|
3323
3647
|
}),
|
|
3324
3648
|
).annotate({ identifier: "CreateOrganizationAPIKeyResponse" });
|
|
3325
3649
|
}
|
|
3326
3650
|
}
|
|
3327
|
-
function
|
|
3651
|
+
function __c10(j: number): any {
|
|
3328
3652
|
switch (j) {
|
|
3329
3653
|
case 0:
|
|
3330
3654
|
return S.suspend(() =>
|
|
@@ -3338,7 +3662,7 @@ function __c9(j: number): any {
|
|
|
3338
3662
|
).annotate({ identifier: "CreateOrganizationInvitationRequest" });
|
|
3339
3663
|
}
|
|
3340
3664
|
}
|
|
3341
|
-
function
|
|
3665
|
+
function __c11(j: number): any {
|
|
3342
3666
|
switch (j) {
|
|
3343
3667
|
case 0:
|
|
3344
3668
|
return S.suspend(() => S.Struct({})).annotate({
|
|
@@ -3346,7 +3670,7 @@ function __c10(j: number): any {
|
|
|
3346
3670
|
});
|
|
3347
3671
|
}
|
|
3348
3672
|
}
|
|
3349
|
-
function
|
|
3673
|
+
function __c12(j: number): any {
|
|
3350
3674
|
switch (j) {
|
|
3351
3675
|
case 0:
|
|
3352
3676
|
return S.suspend(() =>
|
|
@@ -3367,7 +3691,7 @@ function __c11(j: number): any {
|
|
|
3367
3691
|
).annotate({ identifier: "CreateOrganizationSSOProviderRequest" });
|
|
3368
3692
|
}
|
|
3369
3693
|
}
|
|
3370
|
-
function
|
|
3694
|
+
function __c13(j: number): any {
|
|
3371
3695
|
switch (j) {
|
|
3372
3696
|
case 0:
|
|
3373
3697
|
return S.suspend(() =>
|
|
@@ -3383,27 +3707,27 @@ function __c12(j: number): any {
|
|
|
3383
3707
|
).annotate({ identifier: "OrganizationSSOProvider" });
|
|
3384
3708
|
}
|
|
3385
3709
|
}
|
|
3386
|
-
function
|
|
3710
|
+
function __c14(j: number): any {
|
|
3387
3711
|
switch (j) {
|
|
3388
3712
|
case 0:
|
|
3389
3713
|
return S.suspend(() =>
|
|
3390
3714
|
S.Struct({
|
|
3391
3715
|
organizationID: S.String.pipe(T.Label()),
|
|
3392
3716
|
name: S.String,
|
|
3393
|
-
configuration: S.optional(__S(
|
|
3717
|
+
configuration: S.optional(__S(244, __c15, 4)),
|
|
3394
3718
|
}).pipe(
|
|
3395
3719
|
T.Http({ method: "POST", uri: "/organizations/{organizationID}/projects", code: 200 }),
|
|
3396
3720
|
),
|
|
3397
3721
|
).annotate({ identifier: "CreateProjectRequest" });
|
|
3398
3722
|
}
|
|
3399
3723
|
}
|
|
3400
|
-
function
|
|
3724
|
+
function __c15(j: number): any {
|
|
3401
3725
|
switch (j) {
|
|
3402
3726
|
case 0:
|
|
3403
3727
|
return S.suspend(() =>
|
|
3404
3728
|
S.Struct({
|
|
3405
|
-
baseBranches: __S(
|
|
3406
|
-
childBranches: __S(
|
|
3729
|
+
baseBranches: __S(1584, __c99, 0),
|
|
3730
|
+
childBranches: __S(1584, __c99, 0),
|
|
3407
3731
|
}),
|
|
3408
3732
|
).annotate({ identifier: "ProjectScaleToZeroConfiguration" });
|
|
3409
3733
|
case 1:
|
|
@@ -3414,19 +3738,19 @@ function __c14(j: number): any {
|
|
|
3414
3738
|
}),
|
|
3415
3739
|
).annotate({ identifier: "CidrEntry" });
|
|
3416
3740
|
case 2:
|
|
3417
|
-
return S.Array(__S(
|
|
3741
|
+
return S.Array(__S(241, __c15, 1));
|
|
3418
3742
|
case 3:
|
|
3419
3743
|
return S.suspend(() =>
|
|
3420
3744
|
S.Struct({
|
|
3421
3745
|
enabled: S.Boolean,
|
|
3422
|
-
cidr: __S(
|
|
3746
|
+
cidr: __S(242, __c15, 2),
|
|
3423
3747
|
}),
|
|
3424
3748
|
).annotate({ identifier: "IPFilteringConfiguration" });
|
|
3425
3749
|
case 4:
|
|
3426
3750
|
return S.suspend(() =>
|
|
3427
3751
|
S.Struct({
|
|
3428
|
-
scaleToZero: __S(
|
|
3429
|
-
ipFiltering: S.optional(__S(
|
|
3752
|
+
scaleToZero: __S(240, __c15, 0),
|
|
3753
|
+
ipFiltering: S.optional(__S(243, __c15, 3)),
|
|
3430
3754
|
}),
|
|
3431
3755
|
).annotate({ identifier: "ProjectConfiguration" });
|
|
3432
3756
|
case 5:
|
|
@@ -3436,26 +3760,26 @@ function __c14(j: number): any {
|
|
|
3436
3760
|
name: S.String,
|
|
3437
3761
|
createdAt: S.String,
|
|
3438
3762
|
updatedAt: S.String,
|
|
3439
|
-
configuration: __S(
|
|
3763
|
+
configuration: __S(244, __c15, 4),
|
|
3440
3764
|
}),
|
|
3441
3765
|
).annotate({ identifier: "Project" });
|
|
3442
3766
|
}
|
|
3443
3767
|
}
|
|
3444
|
-
function
|
|
3768
|
+
function __c16(j: number): any {
|
|
3445
3769
|
switch (j) {
|
|
3446
3770
|
case 0:
|
|
3447
3771
|
return S.suspend(() =>
|
|
3448
3772
|
S.Struct({
|
|
3449
3773
|
name: S.String,
|
|
3450
3774
|
expiry: S.optional(S.NullOr(S.String)),
|
|
3451
|
-
scopes: S.optional(__S(
|
|
3452
|
-
projects: S.optional(__S(
|
|
3453
|
-
branches: S.optional(__S(
|
|
3775
|
+
scopes: S.optional(__S(720, __c45, 0)),
|
|
3776
|
+
projects: S.optional(__S(720, __c45, 0)),
|
|
3777
|
+
branches: S.optional(__S(720, __c45, 0)),
|
|
3454
3778
|
}).pipe(T.Http({ method: "POST", uri: "/api-keys", code: 200 })),
|
|
3455
3779
|
).annotate({ identifier: "CreateUserAPIKeyRequest" });
|
|
3456
3780
|
}
|
|
3457
3781
|
}
|
|
3458
|
-
function
|
|
3782
|
+
function __c17(j: number): any {
|
|
3459
3783
|
switch (j) {
|
|
3460
3784
|
case 0:
|
|
3461
3785
|
return S.suspend(() =>
|
|
@@ -3473,7 +3797,7 @@ function __c16(j: number): any {
|
|
|
3473
3797
|
).annotate({ identifier: "DeleteBranchRequest" });
|
|
3474
3798
|
}
|
|
3475
3799
|
}
|
|
3476
|
-
function
|
|
3800
|
+
function __c18(j: number): any {
|
|
3477
3801
|
switch (j) {
|
|
3478
3802
|
case 0:
|
|
3479
3803
|
return S.suspend(() =>
|
|
@@ -3491,7 +3815,7 @@ function __c17(j: number): any {
|
|
|
3491
3815
|
).annotate({ identifier: "DeleteGithubRepositoryRequest" });
|
|
3492
3816
|
}
|
|
3493
3817
|
}
|
|
3494
|
-
function
|
|
3818
|
+
function __c19(j: number): any {
|
|
3495
3819
|
switch (j) {
|
|
3496
3820
|
case 0:
|
|
3497
3821
|
return S.suspend(() =>
|
|
@@ -3503,7 +3827,7 @@ function __c18(j: number): any {
|
|
|
3503
3827
|
).annotate({ identifier: "DeleteInstallationRequest" });
|
|
3504
3828
|
}
|
|
3505
3829
|
}
|
|
3506
|
-
function
|
|
3830
|
+
function __c20(j: number): any {
|
|
3507
3831
|
switch (j) {
|
|
3508
3832
|
case 0:
|
|
3509
3833
|
return S.suspend(() =>
|
|
@@ -3513,20 +3837,20 @@ function __c19(j: number): any {
|
|
|
3513
3837
|
).annotate({ identifier: "DeleteOrganizationRequest" });
|
|
3514
3838
|
}
|
|
3515
3839
|
}
|
|
3516
|
-
function
|
|
3840
|
+
function __c21(j: number): any {
|
|
3517
3841
|
switch (j) {
|
|
3518
3842
|
case 0:
|
|
3519
3843
|
return S.suspend(() =>
|
|
3520
3844
|
S.Struct({
|
|
3521
3845
|
organizationID: S.String.pipe(T.Label()),
|
|
3522
|
-
ids: __S(
|
|
3846
|
+
ids: __S(720, __c45, 0),
|
|
3523
3847
|
}).pipe(
|
|
3524
3848
|
T.Http({ method: "DELETE", uri: "/organizations/{organizationID}/api-keys", code: 200 }),
|
|
3525
3849
|
),
|
|
3526
3850
|
).annotate({ identifier: "DeleteOrganizationAPIKeysRequest" });
|
|
3527
3851
|
}
|
|
3528
3852
|
}
|
|
3529
|
-
function
|
|
3853
|
+
function __c22(j: number): any {
|
|
3530
3854
|
switch (j) {
|
|
3531
3855
|
case 0:
|
|
3532
3856
|
return S.suspend(() =>
|
|
@@ -3543,7 +3867,7 @@ function __c21(j: number): any {
|
|
|
3543
3867
|
).annotate({ identifier: "DeleteOrganizationInvitationRequest" });
|
|
3544
3868
|
}
|
|
3545
3869
|
}
|
|
3546
|
-
function
|
|
3870
|
+
function __c23(j: number): any {
|
|
3547
3871
|
switch (j) {
|
|
3548
3872
|
case 0:
|
|
3549
3873
|
return S.suspend(() =>
|
|
@@ -3560,7 +3884,7 @@ function __c22(j: number): any {
|
|
|
3560
3884
|
).annotate({ identifier: "DeleteOrganizationSSODomainRequest" });
|
|
3561
3885
|
}
|
|
3562
3886
|
}
|
|
3563
|
-
function
|
|
3887
|
+
function __c24(j: number): any {
|
|
3564
3888
|
switch (j) {
|
|
3565
3889
|
case 0:
|
|
3566
3890
|
return S.suspend(() =>
|
|
@@ -3577,7 +3901,7 @@ function __c23(j: number): any {
|
|
|
3577
3901
|
).annotate({ identifier: "DeleteOrganizationSSOProviderRequest" });
|
|
3578
3902
|
}
|
|
3579
3903
|
}
|
|
3580
|
-
function
|
|
3904
|
+
function __c25(j: number): any {
|
|
3581
3905
|
switch (j) {
|
|
3582
3906
|
case 0:
|
|
3583
3907
|
return S.suspend(() =>
|
|
@@ -3594,7 +3918,7 @@ function __c24(j: number): any {
|
|
|
3594
3918
|
).annotate({ identifier: "DeleteProjectRequest" });
|
|
3595
3919
|
}
|
|
3596
3920
|
}
|
|
3597
|
-
function
|
|
3921
|
+
function __c26(j: number): any {
|
|
3598
3922
|
switch (j) {
|
|
3599
3923
|
case 0:
|
|
3600
3924
|
return S.suspend(() =>
|
|
@@ -3611,17 +3935,17 @@ function __c25(j: number): any {
|
|
|
3611
3935
|
).annotate({ identifier: "DeleteResourceRequest" });
|
|
3612
3936
|
}
|
|
3613
3937
|
}
|
|
3614
|
-
function
|
|
3938
|
+
function __c27(j: number): any {
|
|
3615
3939
|
switch (j) {
|
|
3616
3940
|
case 0:
|
|
3617
3941
|
return S.suspend(() =>
|
|
3618
3942
|
S.Struct({
|
|
3619
|
-
ids: __S(
|
|
3943
|
+
ids: __S(720, __c45, 0),
|
|
3620
3944
|
}).pipe(T.Http({ method: "DELETE", uri: "/api-keys", code: 200 })),
|
|
3621
3945
|
).annotate({ identifier: "DeleteUserAPIKeysRequest" });
|
|
3622
3946
|
}
|
|
3623
3947
|
}
|
|
3624
|
-
function
|
|
3948
|
+
function __c28(j: number): any {
|
|
3625
3949
|
switch (j) {
|
|
3626
3950
|
case 0:
|
|
3627
3951
|
return S.suspend(() =>
|
|
@@ -3655,17 +3979,17 @@ function __c27(j: number): any {
|
|
|
3655
3979
|
}),
|
|
3656
3980
|
).annotate({ identifier: "InstanceStatus" });
|
|
3657
3981
|
case 3:
|
|
3658
|
-
return S.Array(__S(
|
|
3982
|
+
return S.Array(__S(450, __c28, 2));
|
|
3659
3983
|
case 4:
|
|
3660
3984
|
return S.suspend(() =>
|
|
3661
3985
|
S.Struct({
|
|
3662
3986
|
status: S.String,
|
|
3663
3987
|
statusType: S.String,
|
|
3664
3988
|
message: S.optional(S.String),
|
|
3665
|
-
lifecycle: S.optional(__S(
|
|
3989
|
+
lifecycle: S.optional(__S(449, __c28, 1)),
|
|
3666
3990
|
instanceCount: S.Number,
|
|
3667
3991
|
instanceReadyCount: S.Number,
|
|
3668
|
-
instances: __S(
|
|
3992
|
+
instances: __S(451, __c28, 3),
|
|
3669
3993
|
}),
|
|
3670
3994
|
).annotate({ identifier: "BranchStatus" });
|
|
3671
3995
|
case 5:
|
|
@@ -3678,18 +4002,18 @@ function __c27(j: number): any {
|
|
|
3678
4002
|
updatedAt: S.String,
|
|
3679
4003
|
parentID: S.optional(S.NullOr(S.String)),
|
|
3680
4004
|
region: S.String,
|
|
3681
|
-
status: __S(
|
|
4005
|
+
status: __S(452, __c28, 4),
|
|
3682
4006
|
connectionString: S.NullOr(S.String).pipe(T.SensitiveValue({})),
|
|
3683
4007
|
publicAccess: S.Boolean,
|
|
3684
4008
|
backupsEnabled: S.Boolean,
|
|
3685
|
-
scaleToZero: __S(
|
|
3686
|
-
configuration: __S(
|
|
3687
|
-
backupConfiguration: S.optional(__S(
|
|
4009
|
+
scaleToZero: __S(1584, __c99, 0),
|
|
4010
|
+
configuration: __S(464, __c29, 0),
|
|
4011
|
+
backupConfiguration: S.optional(__S(1600, __c100, 0)),
|
|
3688
4012
|
}),
|
|
3689
4013
|
).annotate({ identifier: "BranchMetadata" });
|
|
3690
4014
|
}
|
|
3691
4015
|
}
|
|
3692
|
-
function
|
|
4016
|
+
function __c29(j: number): any {
|
|
3693
4017
|
switch (j) {
|
|
3694
4018
|
case 0:
|
|
3695
4019
|
return S.suspend(() =>
|
|
@@ -3699,19 +4023,19 @@ function __c28(j: number): any {
|
|
|
3699
4023
|
instanceType: S.String,
|
|
3700
4024
|
image: S.String,
|
|
3701
4025
|
replicas: S.Number,
|
|
3702
|
-
postgresConfigurationParameters: S.optional(__S(
|
|
3703
|
-
preloadLibraries: S.optional(__S(
|
|
4026
|
+
postgresConfigurationParameters: S.optional(__S(480, __c30, 0)),
|
|
4027
|
+
preloadLibraries: S.optional(__S(720, __c45, 0)),
|
|
3704
4028
|
}),
|
|
3705
4029
|
).annotate({ identifier: "ClusterConfiguration" });
|
|
3706
4030
|
}
|
|
3707
4031
|
}
|
|
3708
|
-
function
|
|
4032
|
+
function __c30(j: number): any {
|
|
3709
4033
|
switch (j) {
|
|
3710
4034
|
case 0:
|
|
3711
4035
|
return S.Record(S.String, S.String);
|
|
3712
4036
|
}
|
|
3713
4037
|
}
|
|
3714
|
-
function
|
|
4038
|
+
function __c31(j: number): any {
|
|
3715
4039
|
switch (j) {
|
|
3716
4040
|
case 0:
|
|
3717
4041
|
return S.suspend(() =>
|
|
@@ -3729,7 +4053,7 @@ function __c30(j: number): any {
|
|
|
3729
4053
|
).annotate({ identifier: "GetBackupRequest" });
|
|
3730
4054
|
}
|
|
3731
4055
|
}
|
|
3732
|
-
function
|
|
4056
|
+
function __c32(j: number): any {
|
|
3733
4057
|
switch (j) {
|
|
3734
4058
|
case 0:
|
|
3735
4059
|
return S.suspend(() =>
|
|
@@ -3743,7 +4067,7 @@ function __c31(j: number): any {
|
|
|
3743
4067
|
).annotate({ identifier: "BackupMetadata" });
|
|
3744
4068
|
}
|
|
3745
4069
|
}
|
|
3746
|
-
function
|
|
4070
|
+
function __c33(j: number): any {
|
|
3747
4071
|
switch (j) {
|
|
3748
4072
|
case 0:
|
|
3749
4073
|
return S.suspend(() =>
|
|
@@ -3759,7 +4083,7 @@ function __c32(j: number): any {
|
|
|
3759
4083
|
).annotate({ identifier: "GetBillingCustomerRequest" });
|
|
3760
4084
|
}
|
|
3761
4085
|
}
|
|
3762
|
-
function
|
|
4086
|
+
function __c34(j: number): any {
|
|
3763
4087
|
switch (j) {
|
|
3764
4088
|
case 0:
|
|
3765
4089
|
return S.suspend(() =>
|
|
@@ -3773,7 +4097,7 @@ function __c33(j: number): any {
|
|
|
3773
4097
|
case 1:
|
|
3774
4098
|
return S.suspend(() =>
|
|
3775
4099
|
S.Struct({
|
|
3776
|
-
card: __S(
|
|
4100
|
+
card: __S(544, __c34, 0),
|
|
3777
4101
|
}),
|
|
3778
4102
|
).annotate({ identifier: "BillingPaymentMethod" });
|
|
3779
4103
|
case 2:
|
|
@@ -3788,14 +4112,14 @@ function __c33(j: number): any {
|
|
|
3788
4112
|
}),
|
|
3789
4113
|
).annotate({ identifier: "BillingCredit" });
|
|
3790
4114
|
case 3:
|
|
3791
|
-
return S.Array(__S(
|
|
4115
|
+
return S.Array(__S(546, __c34, 2));
|
|
3792
4116
|
case 4:
|
|
3793
4117
|
return S.suspend(() =>
|
|
3794
4118
|
S.Struct({
|
|
3795
4119
|
total_lifetime_credits: S.Number,
|
|
3796
4120
|
last_expiry: S.NullOr(S.String),
|
|
3797
4121
|
last_expiry_with_balance: S.NullOr(S.String),
|
|
3798
|
-
active_credits: __S(
|
|
4122
|
+
active_credits: __S(547, __c34, 3),
|
|
3799
4123
|
last_active_credit_expiry: S.NullOr(S.String),
|
|
3800
4124
|
total_active_credits: S.Number,
|
|
3801
4125
|
days_until_last_active_credit_expiry: S.NullOr(S.Number),
|
|
@@ -3810,14 +4134,14 @@ function __c33(j: number): any {
|
|
|
3810
4134
|
collection_method: S.String,
|
|
3811
4135
|
can_collect_payment: S.Boolean,
|
|
3812
4136
|
has_payment_method: S.Boolean,
|
|
3813
|
-
default_payment_method: S.NullOr(__S(
|
|
3814
|
-
credits: __S(
|
|
3815
|
-
credit_details: __S(
|
|
4137
|
+
default_payment_method: S.NullOr(__S(545, __c34, 1)),
|
|
4138
|
+
credits: __S(547, __c34, 3),
|
|
4139
|
+
credit_details: __S(548, __c34, 4),
|
|
3816
4140
|
}),
|
|
3817
4141
|
).annotate({ identifier: "BillingCustomerResponse" });
|
|
3818
4142
|
}
|
|
3819
4143
|
}
|
|
3820
|
-
function
|
|
4144
|
+
function __c35(j: number): any {
|
|
3821
4145
|
switch (j) {
|
|
3822
4146
|
case 0:
|
|
3823
4147
|
return S.suspend(() =>
|
|
@@ -3846,7 +4170,7 @@ function __c34(j: number): any {
|
|
|
3846
4170
|
}),
|
|
3847
4171
|
).annotate({ identifier: "BillingInvoice" });
|
|
3848
4172
|
case 2:
|
|
3849
|
-
return S.Array(__S(
|
|
4173
|
+
return S.Array(__S(561, __c35, 1));
|
|
3850
4174
|
case 3:
|
|
3851
4175
|
return S.suspend(() =>
|
|
3852
4176
|
S.Struct({
|
|
@@ -3857,13 +4181,13 @@ function __c34(j: number): any {
|
|
|
3857
4181
|
case 4:
|
|
3858
4182
|
return S.suspend(() =>
|
|
3859
4183
|
S.Struct({
|
|
3860
|
-
data: __S(
|
|
3861
|
-
pagination_metadata: __S(
|
|
4184
|
+
data: __S(562, __c35, 2),
|
|
4185
|
+
pagination_metadata: __S(563, __c35, 3),
|
|
3862
4186
|
}),
|
|
3863
4187
|
).annotate({ identifier: "BillingInvoicesResponse" });
|
|
3864
4188
|
}
|
|
3865
4189
|
}
|
|
3866
|
-
function
|
|
4190
|
+
function __c36(j: number): any {
|
|
3867
4191
|
switch (j) {
|
|
3868
4192
|
case 0:
|
|
3869
4193
|
return S.suspend(() =>
|
|
@@ -3891,7 +4215,7 @@ function __c35(j: number): any {
|
|
|
3891
4215
|
).annotate({ identifier: "BillingUpcomingInvoiceResponse" });
|
|
3892
4216
|
}
|
|
3893
4217
|
}
|
|
3894
|
-
function
|
|
4218
|
+
function __c37(j: number): any {
|
|
3895
4219
|
switch (j) {
|
|
3896
4220
|
case 0:
|
|
3897
4221
|
return S.suspend(() =>
|
|
@@ -3921,7 +4245,7 @@ function __c36(j: number): any {
|
|
|
3921
4245
|
).annotate({ identifier: "BranchCredentials" });
|
|
3922
4246
|
}
|
|
3923
4247
|
}
|
|
3924
|
-
function
|
|
4248
|
+
function __c38(j: number): any {
|
|
3925
4249
|
switch (j) {
|
|
3926
4250
|
case 0:
|
|
3927
4251
|
return S.suspend(() =>
|
|
@@ -3942,7 +4266,7 @@ function __c37(j: number): any {
|
|
|
3942
4266
|
S.Struct({
|
|
3943
4267
|
minValue: S.optional(S.String),
|
|
3944
4268
|
maxValue: S.optional(S.String),
|
|
3945
|
-
enumValues: S.optional(__S(
|
|
4269
|
+
enumValues: S.optional(__S(720, __c45, 0)),
|
|
3946
4270
|
}),
|
|
3947
4271
|
).annotate({ identifier: "PostgresConfigParameterAcceptableRange" });
|
|
3948
4272
|
case 2:
|
|
@@ -3952,7 +4276,7 @@ function __c37(j: number): any {
|
|
|
3952
4276
|
type: S.String,
|
|
3953
4277
|
description: S.String,
|
|
3954
4278
|
section: S.String,
|
|
3955
|
-
acceptableRange: S.optional(__S(
|
|
4279
|
+
acceptableRange: S.optional(__S(609, __c38, 1)),
|
|
3956
4280
|
defaultValue: S.String,
|
|
3957
4281
|
defaultValueSource: S.String,
|
|
3958
4282
|
currentValue: S.String,
|
|
@@ -3962,16 +4286,16 @@ function __c37(j: number): any {
|
|
|
3962
4286
|
}),
|
|
3963
4287
|
).annotate({ identifier: "PostgresConfigParameter" });
|
|
3964
4288
|
case 3:
|
|
3965
|
-
return S.Array(__S(
|
|
4289
|
+
return S.Array(__S(610, __c38, 2));
|
|
3966
4290
|
case 4:
|
|
3967
4291
|
return S.suspend(() =>
|
|
3968
4292
|
S.Struct({
|
|
3969
|
-
parameters: __S(
|
|
4293
|
+
parameters: __S(611, __c38, 3),
|
|
3970
4294
|
}),
|
|
3971
4295
|
).annotate({ identifier: "PostgresConfigDetails" });
|
|
3972
4296
|
}
|
|
3973
4297
|
}
|
|
3974
|
-
function
|
|
4298
|
+
function __c39(j: number): any {
|
|
3975
4299
|
switch (j) {
|
|
3976
4300
|
case 0:
|
|
3977
4301
|
return S.suspend(() =>
|
|
@@ -3990,12 +4314,12 @@ function __c38(j: number): any {
|
|
|
3990
4314
|
case 1:
|
|
3991
4315
|
return S.suspend(() =>
|
|
3992
4316
|
S.Struct({
|
|
3993
|
-
mapping: S.NullOr(__S(
|
|
4317
|
+
mapping: S.NullOr(__S(64, __c4, 0)),
|
|
3994
4318
|
}),
|
|
3995
4319
|
).annotate({ identifier: "GetGithubRepositoryResponse" });
|
|
3996
4320
|
}
|
|
3997
4321
|
}
|
|
3998
|
-
function
|
|
4322
|
+
function __c40(j: number): any {
|
|
3999
4323
|
switch (j) {
|
|
4000
4324
|
case 0:
|
|
4001
4325
|
return S.suspend(() =>
|
|
@@ -4005,7 +4329,7 @@ function __c39(j: number): any {
|
|
|
4005
4329
|
).annotate({ identifier: "GetOrganizationRequest" });
|
|
4006
4330
|
}
|
|
4007
4331
|
}
|
|
4008
|
-
function
|
|
4332
|
+
function __c41(j: number): any {
|
|
4009
4333
|
switch (j) {
|
|
4010
4334
|
case 0:
|
|
4011
4335
|
return S.suspend(() =>
|
|
@@ -4022,7 +4346,7 @@ function __c40(j: number): any {
|
|
|
4022
4346
|
).annotate({ identifier: "GetOrganizationInvitationRequest" });
|
|
4023
4347
|
}
|
|
4024
4348
|
}
|
|
4025
|
-
function
|
|
4349
|
+
function __c42(j: number): any {
|
|
4026
4350
|
switch (j) {
|
|
4027
4351
|
case 0:
|
|
4028
4352
|
return S.suspend(() =>
|
|
@@ -4040,7 +4364,7 @@ function __c41(j: number): any {
|
|
|
4040
4364
|
).annotate({ identifier: "OrganizationInvitation" });
|
|
4041
4365
|
}
|
|
4042
4366
|
}
|
|
4043
|
-
function
|
|
4367
|
+
function __c43(j: number): any {
|
|
4044
4368
|
switch (j) {
|
|
4045
4369
|
case 0:
|
|
4046
4370
|
return S.suspend(() =>
|
|
@@ -4067,19 +4391,19 @@ function __c42(j: number): any {
|
|
|
4067
4391
|
).annotate({ identifier: "GetOrganizationLimitsResponse" });
|
|
4068
4392
|
}
|
|
4069
4393
|
}
|
|
4070
|
-
function
|
|
4394
|
+
function __c44(j: number): any {
|
|
4071
4395
|
switch (j) {
|
|
4072
4396
|
case 0:
|
|
4073
4397
|
return S.suspend(() =>
|
|
4074
4398
|
S.Struct({
|
|
4075
4399
|
field: S.String,
|
|
4076
4400
|
op: S.String,
|
|
4077
|
-
values: S.optional(__S(
|
|
4401
|
+
values: S.optional(__S(720, __c45, 0)),
|
|
4078
4402
|
value: S.optional(S.String),
|
|
4079
4403
|
}),
|
|
4080
4404
|
).annotate({ identifier: "LogFilter" });
|
|
4081
4405
|
case 1:
|
|
4082
|
-
return S.Array(__S(
|
|
4406
|
+
return S.Array(__S(704, __c44, 0));
|
|
4083
4407
|
case 2:
|
|
4084
4408
|
return S.suspend(() =>
|
|
4085
4409
|
S.Struct({
|
|
@@ -4088,7 +4412,7 @@ function __c43(j: number): any {
|
|
|
4088
4412
|
branchID: S.String.pipe(T.Label()),
|
|
4089
4413
|
start: S.String,
|
|
4090
4414
|
end: S.String,
|
|
4091
|
-
filters: S.optional(__S(
|
|
4415
|
+
filters: S.optional(__S(705, __c44, 1)),
|
|
4092
4416
|
limit: S.optional(S.Number),
|
|
4093
4417
|
cursor: S.optional(S.String),
|
|
4094
4418
|
}).pipe(
|
|
@@ -4110,25 +4434,25 @@ function __c43(j: number): any {
|
|
|
4110
4434
|
}),
|
|
4111
4435
|
).annotate({ identifier: "LogEntry" });
|
|
4112
4436
|
case 4:
|
|
4113
|
-
return S.Array(__S(
|
|
4437
|
+
return S.Array(__S(707, __c44, 3));
|
|
4114
4438
|
case 5:
|
|
4115
4439
|
return S.suspend(() =>
|
|
4116
4440
|
S.Struct({
|
|
4117
4441
|
start: S.String,
|
|
4118
4442
|
end: S.String,
|
|
4119
|
-
logs: __S(
|
|
4443
|
+
logs: __S(708, __c44, 4),
|
|
4120
4444
|
nextCursor: S.NullOr(S.String),
|
|
4121
4445
|
}),
|
|
4122
4446
|
).annotate({ identifier: "BranchLogs" });
|
|
4123
4447
|
}
|
|
4124
4448
|
}
|
|
4125
|
-
function
|
|
4449
|
+
function __c45(j: number): any {
|
|
4126
4450
|
switch (j) {
|
|
4127
4451
|
case 0:
|
|
4128
4452
|
return S.Array(S.String);
|
|
4129
4453
|
}
|
|
4130
4454
|
}
|
|
4131
|
-
function
|
|
4455
|
+
function __c46(j: number): any {
|
|
4132
4456
|
switch (j) {
|
|
4133
4457
|
case 0:
|
|
4134
4458
|
return S.suspend(() =>
|
|
@@ -4151,7 +4475,7 @@ function __c45(j: number): any {
|
|
|
4151
4475
|
).annotate({ identifier: "OrganizationMembershipLimits" });
|
|
4152
4476
|
}
|
|
4153
4477
|
}
|
|
4154
|
-
function
|
|
4478
|
+
function __c47(j: number): any {
|
|
4155
4479
|
switch (j) {
|
|
4156
4480
|
case 0:
|
|
4157
4481
|
return S.suspend(() =>
|
|
@@ -4162,20 +4486,20 @@ function __c46(j: number): any {
|
|
|
4162
4486
|
S.Struct({
|
|
4163
4487
|
id: S.String,
|
|
4164
4488
|
name: S.String,
|
|
4165
|
-
status: __S(
|
|
4489
|
+
status: __S(96, __c6, 0),
|
|
4166
4490
|
}),
|
|
4167
4491
|
).annotate({ identifier: "GetOrganizationsListResponseOrganizationsItem" });
|
|
4168
4492
|
case 2:
|
|
4169
|
-
return S.Array(__S(
|
|
4493
|
+
return S.Array(__S(753, __c47, 1));
|
|
4170
4494
|
case 3:
|
|
4171
4495
|
return S.suspend(() =>
|
|
4172
4496
|
S.Struct({
|
|
4173
|
-
organizations: __S(
|
|
4497
|
+
organizations: __S(754, __c47, 2),
|
|
4174
4498
|
}),
|
|
4175
4499
|
).annotate({ identifier: "GetOrganizationsListResponse" });
|
|
4176
4500
|
}
|
|
4177
4501
|
}
|
|
4178
|
-
function
|
|
4502
|
+
function __c48(j: number): any {
|
|
4179
4503
|
switch (j) {
|
|
4180
4504
|
case 0:
|
|
4181
4505
|
return S.suspend(() =>
|
|
@@ -4184,19 +4508,19 @@ function __c47(j: number): any {
|
|
|
4184
4508
|
}).pipe(T.Http({ method: "GET", uri: "/organizations/{organizationID}/sso", code: 200 })),
|
|
4185
4509
|
).annotate({ identifier: "GetOrganizationSSORequest" });
|
|
4186
4510
|
case 1:
|
|
4187
|
-
return S.Array(__S(
|
|
4511
|
+
return S.Array(__S(208, __c13, 0));
|
|
4188
4512
|
case 2:
|
|
4189
|
-
return S.Array(__S(
|
|
4513
|
+
return S.Array(__S(1121, __c70, 1));
|
|
4190
4514
|
case 3:
|
|
4191
4515
|
return S.suspend(() =>
|
|
4192
4516
|
S.Struct({
|
|
4193
|
-
providers: __S(
|
|
4194
|
-
domains: __S(
|
|
4517
|
+
providers: __S(769, __c48, 1),
|
|
4518
|
+
domains: __S(770, __c48, 2),
|
|
4195
4519
|
}),
|
|
4196
4520
|
).annotate({ identifier: "OrganizationSSO" });
|
|
4197
4521
|
}
|
|
4198
4522
|
}
|
|
4199
|
-
function
|
|
4523
|
+
function __c49(j: number): any {
|
|
4200
4524
|
switch (j) {
|
|
4201
4525
|
case 0:
|
|
4202
4526
|
return S.suspend(() =>
|
|
@@ -4213,7 +4537,7 @@ function __c48(j: number): any {
|
|
|
4213
4537
|
).annotate({ identifier: "GetProjectRequest" });
|
|
4214
4538
|
}
|
|
4215
4539
|
}
|
|
4216
|
-
function
|
|
4540
|
+
function __c50(j: number): any {
|
|
4217
4541
|
switch (j) {
|
|
4218
4542
|
case 0:
|
|
4219
4543
|
return S.suspend(() =>
|
|
@@ -4242,7 +4566,7 @@ function __c49(j: number): any {
|
|
|
4242
4566
|
).annotate({ identifier: "EffectiveProjectLimits" });
|
|
4243
4567
|
}
|
|
4244
4568
|
}
|
|
4245
|
-
function
|
|
4569
|
+
function __c51(j: number): any {
|
|
4246
4570
|
switch (j) {
|
|
4247
4571
|
case 0:
|
|
4248
4572
|
return S.suspend(() =>
|
|
@@ -4263,29 +4587,29 @@ function __c50(j: number): any {
|
|
|
4263
4587
|
id: S.String,
|
|
4264
4588
|
productId: S.String,
|
|
4265
4589
|
name: S.String,
|
|
4266
|
-
metadata: __S(
|
|
4590
|
+
metadata: __S(832, __c52, 0),
|
|
4267
4591
|
status: S.String,
|
|
4268
4592
|
}),
|
|
4269
4593
|
).annotate({ identifier: "Resource" });
|
|
4270
4594
|
}
|
|
4271
4595
|
}
|
|
4272
|
-
function
|
|
4596
|
+
function __c52(j: number): any {
|
|
4273
4597
|
switch (j) {
|
|
4274
4598
|
case 0:
|
|
4275
4599
|
return S.Record(S.String, S.Unknown);
|
|
4276
4600
|
}
|
|
4277
4601
|
}
|
|
4278
|
-
function
|
|
4602
|
+
function __c53(j: number): any {
|
|
4279
4603
|
switch (j) {
|
|
4280
4604
|
case 0:
|
|
4281
4605
|
return S.suspend(() =>
|
|
4282
4606
|
S.Struct({
|
|
4283
|
-
body: __S(
|
|
4607
|
+
body: __S(832, __c52, 0).pipe(T.HttpBody()),
|
|
4284
4608
|
}).pipe(T.Http({ method: "POST", uri: "/webhooks/github", code: 200 })),
|
|
4285
4609
|
).annotate({ identifier: "GithubWebhookRequest" });
|
|
4286
4610
|
}
|
|
4287
4611
|
}
|
|
4288
|
-
function
|
|
4612
|
+
function __c54(j: number): any {
|
|
4289
4613
|
switch (j) {
|
|
4290
4614
|
case 0:
|
|
4291
4615
|
return S.suspend(() =>
|
|
@@ -4301,16 +4625,16 @@ function __c53(j: number): any {
|
|
|
4301
4625
|
),
|
|
4302
4626
|
).annotate({ identifier: "ListBackupsRequest" });
|
|
4303
4627
|
case 1:
|
|
4304
|
-
return S.Array(__S(
|
|
4628
|
+
return S.Array(__S(512, __c32, 0));
|
|
4305
4629
|
case 2:
|
|
4306
4630
|
return S.suspend(() =>
|
|
4307
4631
|
S.Struct({
|
|
4308
|
-
backups: __S(
|
|
4632
|
+
backups: __S(865, __c54, 1),
|
|
4309
4633
|
}),
|
|
4310
4634
|
).annotate({ identifier: "ListBackupsResponse" });
|
|
4311
4635
|
}
|
|
4312
4636
|
}
|
|
4313
|
-
function
|
|
4637
|
+
function __c55(j: number): any {
|
|
4314
4638
|
switch (j) {
|
|
4315
4639
|
case 0:
|
|
4316
4640
|
return S.suspend(() =>
|
|
@@ -4327,7 +4651,7 @@ function __c54(j: number): any {
|
|
|
4327
4651
|
}),
|
|
4328
4652
|
).annotate({ identifier: "PlanDetail" });
|
|
4329
4653
|
case 2:
|
|
4330
|
-
return S.Array(__S(
|
|
4654
|
+
return S.Array(__S(881, __c55, 1));
|
|
4331
4655
|
case 3:
|
|
4332
4656
|
return S.suspend(() =>
|
|
4333
4657
|
S.Struct({
|
|
@@ -4336,7 +4660,7 @@ function __c54(j: number): any {
|
|
|
4336
4660
|
}),
|
|
4337
4661
|
).annotate({ identifier: "PlanQuoteLine" });
|
|
4338
4662
|
case 4:
|
|
4339
|
-
return S.Array(__S(
|
|
4663
|
+
return S.Array(__S(883, __c55, 3));
|
|
4340
4664
|
case 5:
|
|
4341
4665
|
return S.suspend(() =>
|
|
4342
4666
|
S.Struct({
|
|
@@ -4349,24 +4673,24 @@ function __c54(j: number): any {
|
|
|
4349
4673
|
preauthorizationAmount: S.optional(S.Number),
|
|
4350
4674
|
initialCharge: S.optional(S.String),
|
|
4351
4675
|
cost: S.optional(S.String),
|
|
4352
|
-
details: S.optional(__S(
|
|
4353
|
-
highlightedDetails: S.optional(__S(
|
|
4354
|
-
quote: S.optional(__S(
|
|
4676
|
+
details: S.optional(__S(882, __c55, 2)),
|
|
4677
|
+
highlightedDetails: S.optional(__S(882, __c55, 2)),
|
|
4678
|
+
quote: S.optional(__S(884, __c55, 4)),
|
|
4355
4679
|
effectiveDate: S.optional(S.String),
|
|
4356
4680
|
disabled: S.optional(S.Boolean),
|
|
4357
4681
|
}),
|
|
4358
4682
|
).annotate({ identifier: "BillingPlan" });
|
|
4359
4683
|
case 6:
|
|
4360
|
-
return S.Array(__S(
|
|
4684
|
+
return S.Array(__S(885, __c55, 5));
|
|
4361
4685
|
case 7:
|
|
4362
4686
|
return S.suspend(() =>
|
|
4363
4687
|
S.Struct({
|
|
4364
|
-
plans: __S(
|
|
4688
|
+
plans: __S(886, __c55, 6),
|
|
4365
4689
|
}),
|
|
4366
4690
|
).annotate({ identifier: "ListBillingPlansResponse" });
|
|
4367
4691
|
}
|
|
4368
4692
|
}
|
|
4369
|
-
function
|
|
4693
|
+
function __c56(j: number): any {
|
|
4370
4694
|
switch (j) {
|
|
4371
4695
|
case 0:
|
|
4372
4696
|
return S.suspend(() =>
|
|
@@ -4396,16 +4720,16 @@ function __c55(j: number): any {
|
|
|
4396
4720
|
}),
|
|
4397
4721
|
).annotate({ identifier: "BranchListMetadata" });
|
|
4398
4722
|
case 2:
|
|
4399
|
-
return S.Array(__S(
|
|
4723
|
+
return S.Array(__S(897, __c56, 1));
|
|
4400
4724
|
case 3:
|
|
4401
4725
|
return S.suspend(() =>
|
|
4402
4726
|
S.Struct({
|
|
4403
|
-
branches: __S(
|
|
4727
|
+
branches: __S(898, __c56, 2),
|
|
4404
4728
|
}),
|
|
4405
4729
|
).annotate({ identifier: "ListBranchesResponse" });
|
|
4406
4730
|
}
|
|
4407
4731
|
}
|
|
4408
|
-
function
|
|
4732
|
+
function __c57(j: number): any {
|
|
4409
4733
|
switch (j) {
|
|
4410
4734
|
case 0:
|
|
4411
4735
|
return S.Array(S.String);
|
|
@@ -4417,9 +4741,9 @@ function __c56(j: number): any {
|
|
|
4417
4741
|
branchID: S.String.pipe(T.Label()),
|
|
4418
4742
|
start: S.String,
|
|
4419
4743
|
end: S.String,
|
|
4420
|
-
metrics: __S(
|
|
4421
|
-
instances: S.optional(__S(
|
|
4422
|
-
aggregations: __S(
|
|
4744
|
+
metrics: __S(912, __c57, 0),
|
|
4745
|
+
instances: S.optional(__S(720, __c45, 0)),
|
|
4746
|
+
aggregations: __S(912, __c57, 0),
|
|
4423
4747
|
}).pipe(
|
|
4424
4748
|
T.Http({
|
|
4425
4749
|
method: "POST",
|
|
@@ -4436,38 +4760,38 @@ function __c56(j: number): any {
|
|
|
4436
4760
|
}),
|
|
4437
4761
|
).annotate({ identifier: "MetricSeriesValuesItem" });
|
|
4438
4762
|
case 3:
|
|
4439
|
-
return S.Array(__S(
|
|
4763
|
+
return S.Array(__S(914, __c57, 2));
|
|
4440
4764
|
case 4:
|
|
4441
4765
|
return S.suspend(() =>
|
|
4442
4766
|
S.Struct({
|
|
4443
4767
|
instanceID: S.String,
|
|
4444
4768
|
aggregation: S.String,
|
|
4445
|
-
values: __S(
|
|
4769
|
+
values: __S(915, __c57, 3),
|
|
4446
4770
|
}),
|
|
4447
4771
|
).annotate({ identifier: "MetricSeries" });
|
|
4448
4772
|
case 5:
|
|
4449
|
-
return S.Array(__S(
|
|
4773
|
+
return S.Array(__S(916, __c57, 4));
|
|
4450
4774
|
case 6:
|
|
4451
4775
|
return S.suspend(() =>
|
|
4452
4776
|
S.Struct({
|
|
4453
4777
|
metric: S.String,
|
|
4454
4778
|
unit: S.String,
|
|
4455
|
-
series: __S(
|
|
4779
|
+
series: __S(917, __c57, 5),
|
|
4456
4780
|
}),
|
|
4457
4781
|
).annotate({ identifier: "BranchMetricResult" });
|
|
4458
4782
|
case 7:
|
|
4459
|
-
return S.Array(__S(
|
|
4783
|
+
return S.Array(__S(918, __c57, 6));
|
|
4460
4784
|
case 8:
|
|
4461
4785
|
return S.suspend(() =>
|
|
4462
4786
|
S.Struct({
|
|
4463
4787
|
start: S.String,
|
|
4464
4788
|
end: S.String,
|
|
4465
|
-
results: __S(
|
|
4789
|
+
results: __S(919, __c57, 7),
|
|
4466
4790
|
}),
|
|
4467
4791
|
).annotate({ identifier: "BranchMetrics" });
|
|
4468
4792
|
}
|
|
4469
4793
|
}
|
|
4470
|
-
function
|
|
4794
|
+
function __c58(j: number): any {
|
|
4471
4795
|
switch (j) {
|
|
4472
4796
|
case 0:
|
|
4473
4797
|
return S.suspend(() =>
|
|
@@ -4491,16 +4815,16 @@ function __c57(j: number): any {
|
|
|
4491
4815
|
}),
|
|
4492
4816
|
).annotate({ identifier: "Extension" });
|
|
4493
4817
|
case 2:
|
|
4494
|
-
return S.Array(__S(
|
|
4818
|
+
return S.Array(__S(929, __c58, 1));
|
|
4495
4819
|
case 3:
|
|
4496
4820
|
return S.suspend(() =>
|
|
4497
4821
|
S.Struct({
|
|
4498
|
-
extensions: __S(
|
|
4822
|
+
extensions: __S(930, __c58, 2),
|
|
4499
4823
|
}),
|
|
4500
4824
|
).annotate({ identifier: "ListExtensionsResponse" });
|
|
4501
4825
|
}
|
|
4502
4826
|
}
|
|
4503
|
-
function
|
|
4827
|
+
function __c59(j: number): any {
|
|
4504
4828
|
switch (j) {
|
|
4505
4829
|
case 0:
|
|
4506
4830
|
return S.suspend(() =>
|
|
@@ -4515,16 +4839,16 @@ function __c58(j: number): any {
|
|
|
4515
4839
|
),
|
|
4516
4840
|
).annotate({ identifier: "ListGithubAppInstallationsRequest" });
|
|
4517
4841
|
case 1:
|
|
4518
|
-
return S.Array(__S(
|
|
4842
|
+
return S.Array(__S(32, __c2, 0));
|
|
4519
4843
|
case 2:
|
|
4520
4844
|
return S.suspend(() =>
|
|
4521
4845
|
S.Struct({
|
|
4522
|
-
installations: __S(
|
|
4846
|
+
installations: __S(945, __c59, 1),
|
|
4523
4847
|
}),
|
|
4524
4848
|
).annotate({ identifier: "ListGithubAppInstallationsResponse" });
|
|
4525
4849
|
}
|
|
4526
4850
|
}
|
|
4527
|
-
function
|
|
4851
|
+
function __c60(j: number): any {
|
|
4528
4852
|
switch (j) {
|
|
4529
4853
|
case 0:
|
|
4530
4854
|
return S.suspend(() =>
|
|
@@ -4541,20 +4865,20 @@ function __c59(j: number): any {
|
|
|
4541
4865
|
name: S.String,
|
|
4542
4866
|
majorVersion: S.String,
|
|
4543
4867
|
fullVersion: S.String,
|
|
4544
|
-
region: S.optional(__S(
|
|
4868
|
+
region: S.optional(__S(720, __c45, 0)),
|
|
4545
4869
|
}),
|
|
4546
4870
|
).annotate({ identifier: "Image" });
|
|
4547
4871
|
case 2:
|
|
4548
|
-
return S.Array(__S(
|
|
4872
|
+
return S.Array(__S(961, __c60, 1));
|
|
4549
4873
|
case 3:
|
|
4550
4874
|
return S.suspend(() =>
|
|
4551
4875
|
S.Struct({
|
|
4552
|
-
images: __S(
|
|
4876
|
+
images: __S(962, __c60, 2),
|
|
4553
4877
|
}),
|
|
4554
4878
|
).annotate({ identifier: "ListImagesResponse" });
|
|
4555
4879
|
}
|
|
4556
4880
|
}
|
|
4557
|
-
function
|
|
4881
|
+
function __c61(j: number): any {
|
|
4558
4882
|
switch (j) {
|
|
4559
4883
|
case 0:
|
|
4560
4884
|
return S.suspend(() =>
|
|
@@ -4581,16 +4905,16 @@ function __c60(j: number): any {
|
|
|
4581
4905
|
}),
|
|
4582
4906
|
).annotate({ identifier: "ListInstanceTypesResponseInstanceTypesItem" });
|
|
4583
4907
|
case 2:
|
|
4584
|
-
return S.Array(__S(
|
|
4908
|
+
return S.Array(__S(977, __c61, 1));
|
|
4585
4909
|
case 3:
|
|
4586
4910
|
return S.suspend(() =>
|
|
4587
4911
|
S.Struct({
|
|
4588
|
-
instanceTypes: __S(
|
|
4912
|
+
instanceTypes: __S(978, __c61, 2),
|
|
4589
4913
|
}),
|
|
4590
4914
|
).annotate({ identifier: "ListInstanceTypesResponse" });
|
|
4591
4915
|
}
|
|
4592
4916
|
}
|
|
4593
|
-
function
|
|
4917
|
+
function __c62(j: number): any {
|
|
4594
4918
|
switch (j) {
|
|
4595
4919
|
case 0:
|
|
4596
4920
|
return S.suspend(() =>
|
|
@@ -4602,7 +4926,7 @@ function __c61(j: number): any {
|
|
|
4602
4926
|
).annotate({ identifier: "ListOrganizationAPIKeysRequest" });
|
|
4603
4927
|
}
|
|
4604
4928
|
}
|
|
4605
|
-
function
|
|
4929
|
+
function __c63(j: number): any {
|
|
4606
4930
|
switch (j) {
|
|
4607
4931
|
case 0:
|
|
4608
4932
|
return S.suspend(() =>
|
|
@@ -4610,9 +4934,9 @@ function __c62(j: number): any {
|
|
|
4610
4934
|
id: S.String,
|
|
4611
4935
|
name: S.String,
|
|
4612
4936
|
preview: S.String,
|
|
4613
|
-
scopes: __S(
|
|
4614
|
-
projects: __S(
|
|
4615
|
-
branches: __S(
|
|
4937
|
+
scopes: __S(720, __c45, 0),
|
|
4938
|
+
projects: __S(720, __c45, 0),
|
|
4939
|
+
branches: __S(720, __c45, 0),
|
|
4616
4940
|
created_at: S.String,
|
|
4617
4941
|
expiry: S.NullOr(S.String),
|
|
4618
4942
|
last_used: S.NullOr(S.String),
|
|
@@ -4621,16 +4945,16 @@ function __c62(j: number): any {
|
|
|
4621
4945
|
}),
|
|
4622
4946
|
).annotate({ identifier: "APIKeyPreview" });
|
|
4623
4947
|
case 1:
|
|
4624
|
-
return S.Array(__S(
|
|
4948
|
+
return S.Array(__S(1008, __c63, 0));
|
|
4625
4949
|
case 2:
|
|
4626
4950
|
return S.suspend(() =>
|
|
4627
4951
|
S.Struct({
|
|
4628
|
-
keys: __S(
|
|
4952
|
+
keys: __S(1009, __c63, 1),
|
|
4629
4953
|
}),
|
|
4630
4954
|
).annotate({ identifier: "ListOrganizationAPIKeysResponse" });
|
|
4631
4955
|
}
|
|
4632
4956
|
}
|
|
4633
|
-
function
|
|
4957
|
+
function __c64(j: number): any {
|
|
4634
4958
|
switch (j) {
|
|
4635
4959
|
case 0:
|
|
4636
4960
|
return S.suspend(() =>
|
|
@@ -4648,16 +4972,16 @@ function __c63(j: number): any {
|
|
|
4648
4972
|
),
|
|
4649
4973
|
).annotate({ identifier: "ListOrganizationInvitationsRequest" });
|
|
4650
4974
|
case 1:
|
|
4651
|
-
return S.Array(__S(
|
|
4975
|
+
return S.Array(__S(672, __c42, 0));
|
|
4652
4976
|
case 2:
|
|
4653
4977
|
return S.suspend(() =>
|
|
4654
4978
|
S.Struct({
|
|
4655
|
-
invitations: __S(
|
|
4979
|
+
invitations: __S(1025, __c64, 1),
|
|
4656
4980
|
}),
|
|
4657
4981
|
).annotate({ identifier: "ListOrganizationInvitationsResponse" });
|
|
4658
4982
|
}
|
|
4659
4983
|
}
|
|
4660
|
-
function
|
|
4984
|
+
function __c65(j: number): any {
|
|
4661
4985
|
switch (j) {
|
|
4662
4986
|
case 0:
|
|
4663
4987
|
return S.suspend(() =>
|
|
@@ -4677,16 +5001,16 @@ function __c64(j: number): any {
|
|
|
4677
5001
|
}),
|
|
4678
5002
|
).annotate({ identifier: "OrganizationMember" });
|
|
4679
5003
|
case 2:
|
|
4680
|
-
return S.Array(__S(
|
|
5004
|
+
return S.Array(__S(1041, __c65, 1));
|
|
4681
5005
|
case 3:
|
|
4682
5006
|
return S.suspend(() =>
|
|
4683
5007
|
S.Struct({
|
|
4684
|
-
members: __S(
|
|
5008
|
+
members: __S(1042, __c65, 2),
|
|
4685
5009
|
}),
|
|
4686
5010
|
).annotate({ identifier: "ListOrganizationMembersResponse" });
|
|
4687
5011
|
}
|
|
4688
5012
|
}
|
|
4689
|
-
function
|
|
5013
|
+
function __c66(j: number): any {
|
|
4690
5014
|
switch (j) {
|
|
4691
5015
|
case 0:
|
|
4692
5016
|
return S.suspend(() =>
|
|
@@ -4703,16 +5027,16 @@ function __c65(j: number): any {
|
|
|
4703
5027
|
}),
|
|
4704
5028
|
).annotate({ identifier: "OrganizationRole" });
|
|
4705
5029
|
case 2:
|
|
4706
|
-
return S.Array(__S(
|
|
5030
|
+
return S.Array(__S(1057, __c66, 1));
|
|
4707
5031
|
case 3:
|
|
4708
5032
|
return S.suspend(() =>
|
|
4709
5033
|
S.Struct({
|
|
4710
|
-
roles: __S(
|
|
5034
|
+
roles: __S(1058, __c66, 2),
|
|
4711
5035
|
}),
|
|
4712
5036
|
).annotate({ identifier: "ListOrganizationRolesResponse" });
|
|
4713
5037
|
}
|
|
4714
5038
|
}
|
|
4715
|
-
function
|
|
5039
|
+
function __c67(j: number): any {
|
|
4716
5040
|
switch (j) {
|
|
4717
5041
|
case 0:
|
|
4718
5042
|
return S.suspend(() =>
|
|
@@ -4723,16 +5047,16 @@ function __c66(j: number): any {
|
|
|
4723
5047
|
),
|
|
4724
5048
|
).annotate({ identifier: "ListProjectsRequest" });
|
|
4725
5049
|
case 1:
|
|
4726
|
-
return S.Array(__S(
|
|
5050
|
+
return S.Array(__S(245, __c15, 5));
|
|
4727
5051
|
case 2:
|
|
4728
5052
|
return S.suspend(() =>
|
|
4729
5053
|
S.Struct({
|
|
4730
|
-
projects: __S(
|
|
5054
|
+
projects: __S(1073, __c67, 1),
|
|
4731
5055
|
}),
|
|
4732
5056
|
).annotate({ identifier: "ListProjectsResponse" });
|
|
4733
5057
|
}
|
|
4734
5058
|
}
|
|
4735
|
-
function
|
|
5059
|
+
function __c68(j: number): any {
|
|
4736
5060
|
switch (j) {
|
|
4737
5061
|
case 0:
|
|
4738
5062
|
return S.suspend(() =>
|
|
@@ -4753,16 +5077,16 @@ function __c67(j: number): any {
|
|
|
4753
5077
|
}),
|
|
4754
5078
|
).annotate({ identifier: "ListRegionsResponseRegionsItem" });
|
|
4755
5079
|
case 2:
|
|
4756
|
-
return S.Array(__S(
|
|
5080
|
+
return S.Array(__S(1089, __c68, 1));
|
|
4757
5081
|
case 3:
|
|
4758
5082
|
return S.suspend(() =>
|
|
4759
5083
|
S.Struct({
|
|
4760
|
-
regions: __S(
|
|
5084
|
+
regions: __S(1090, __c68, 2),
|
|
4761
5085
|
}),
|
|
4762
5086
|
).annotate({ identifier: "ListRegionsResponse" });
|
|
4763
5087
|
}
|
|
4764
5088
|
}
|
|
4765
|
-
function
|
|
5089
|
+
function __c69(j: number): any {
|
|
4766
5090
|
switch (j) {
|
|
4767
5091
|
case 0:
|
|
4768
5092
|
return S.suspend(() =>
|
|
@@ -4775,7 +5099,7 @@ function __c68(j: number): any {
|
|
|
4775
5099
|
).annotate({ identifier: "ClaimOrganizationSSODomainRequest" });
|
|
4776
5100
|
}
|
|
4777
5101
|
}
|
|
4778
|
-
function
|
|
5102
|
+
function __c70(j: number): any {
|
|
4779
5103
|
switch (j) {
|
|
4780
5104
|
case 0:
|
|
4781
5105
|
return S.suspend(() =>
|
|
@@ -4791,14 +5115,14 @@ function __c69(j: number): any {
|
|
|
4791
5115
|
domain: S.String,
|
|
4792
5116
|
provider_alias: S.String,
|
|
4793
5117
|
verified: S.Boolean,
|
|
4794
|
-
verification: S.optional(S.NullOr(__S(
|
|
5118
|
+
verification: S.optional(S.NullOr(__S(1120, __c70, 0))),
|
|
4795
5119
|
missing_since: S.optional(S.NullOr(S.String)),
|
|
4796
5120
|
revokes_at: S.optional(S.NullOr(S.String)),
|
|
4797
5121
|
}),
|
|
4798
5122
|
).annotate({ identifier: "OrganizationSSODomain" });
|
|
4799
5123
|
}
|
|
4800
5124
|
}
|
|
4801
|
-
function
|
|
5125
|
+
function __c71(j: number): any {
|
|
4802
5126
|
switch (j) {
|
|
4803
5127
|
case 0:
|
|
4804
5128
|
return S.suspend(() =>
|
|
@@ -4806,17 +5130,17 @@ function __c70(j: number): any {
|
|
|
4806
5130
|
).annotate({ identifier: "ListUserAPIKeysRequest" });
|
|
4807
5131
|
}
|
|
4808
5132
|
}
|
|
4809
|
-
function
|
|
5133
|
+
function __c72(j: number): any {
|
|
4810
5134
|
switch (j) {
|
|
4811
5135
|
case 0:
|
|
4812
5136
|
return S.suspend(() =>
|
|
4813
5137
|
S.Struct({
|
|
4814
|
-
body: __S(
|
|
5138
|
+
body: __S(832, __c52, 0).pipe(T.HttpBody()),
|
|
4815
5139
|
}).pipe(T.Http({ method: "POST", uri: "/webhooks/orb", code: 200 })),
|
|
4816
5140
|
).annotate({ identifier: "OrbWebhookRequest" });
|
|
4817
5141
|
}
|
|
4818
5142
|
}
|
|
4819
|
-
function
|
|
5143
|
+
function __c73(j: number): any {
|
|
4820
5144
|
switch (j) {
|
|
4821
5145
|
case 0:
|
|
4822
5146
|
return S.suspend(() =>
|
|
@@ -4824,7 +5148,7 @@ function __c72(j: number): any {
|
|
|
4824
5148
|
installationId: S.String.pipe(T.Label()),
|
|
4825
5149
|
productId: S.String,
|
|
4826
5150
|
name: S.String,
|
|
4827
|
-
metadata: __S(
|
|
5151
|
+
metadata: __S(832, __c52, 0),
|
|
4828
5152
|
billingPlanId: S.String,
|
|
4829
5153
|
externalId: S.optional(S.String),
|
|
4830
5154
|
}).pipe(
|
|
@@ -4847,26 +5171,26 @@ function __c72(j: number): any {
|
|
|
4847
5171
|
return S.suspend(() =>
|
|
4848
5172
|
S.Struct({
|
|
4849
5173
|
name: S.String,
|
|
4850
|
-
value: S.String,
|
|
4851
|
-
environmentOverrides: S.optional(__S(
|
|
5174
|
+
value: S.String.pipe(T.SensitiveValue({})),
|
|
5175
|
+
environmentOverrides: S.optional(__S(1169, __c73, 1)),
|
|
4852
5176
|
}),
|
|
4853
5177
|
).annotate({ identifier: "Secret" });
|
|
4854
5178
|
case 3:
|
|
4855
|
-
return S.Array(__S(
|
|
5179
|
+
return S.Array(__S(1170, __c73, 2));
|
|
4856
5180
|
case 4:
|
|
4857
5181
|
return S.suspend(() =>
|
|
4858
5182
|
S.Struct({
|
|
4859
5183
|
id: S.String,
|
|
4860
5184
|
productId: S.String,
|
|
4861
5185
|
name: S.String,
|
|
4862
|
-
metadata: __S(
|
|
5186
|
+
metadata: __S(832, __c52, 0),
|
|
4863
5187
|
status: S.String,
|
|
4864
|
-
secrets: __S(
|
|
5188
|
+
secrets: __S(1171, __c73, 3),
|
|
4865
5189
|
}),
|
|
4866
5190
|
).annotate({ identifier: "ProvisionedResource" });
|
|
4867
5191
|
}
|
|
4868
5192
|
}
|
|
4869
|
-
function
|
|
5193
|
+
function __c74(j: number): any {
|
|
4870
5194
|
switch (j) {
|
|
4871
5195
|
case 0:
|
|
4872
5196
|
return S.Array(S.Unknown);
|
|
@@ -4874,18 +5198,18 @@ function __c73(j: number): any {
|
|
|
4874
5198
|
return S.suspend(() =>
|
|
4875
5199
|
S.Struct({
|
|
4876
5200
|
query: S.String,
|
|
4877
|
-
params: S.optional(__S(
|
|
5201
|
+
params: S.optional(__S(1184, __c74, 0)),
|
|
4878
5202
|
arrayMode: S.optional(S.Boolean),
|
|
4879
5203
|
}),
|
|
4880
5204
|
).annotate({ identifier: "QueryItem" });
|
|
4881
5205
|
case 2:
|
|
4882
|
-
return S.Array(__S(
|
|
5206
|
+
return S.Array(__S(1185, __c74, 1));
|
|
4883
5207
|
case 3:
|
|
4884
5208
|
return S.suspend(() =>
|
|
4885
5209
|
S.Struct({
|
|
4886
5210
|
query: S.optional(S.String),
|
|
4887
|
-
params: S.optional(__S(
|
|
4888
|
-
queries: S.optional(__S(
|
|
5211
|
+
params: S.optional(__S(1184, __c74, 0)),
|
|
5212
|
+
queries: S.optional(__S(1186, __c74, 2)),
|
|
4889
5213
|
arrayMode: S.optional(S.Boolean),
|
|
4890
5214
|
}).pipe(T.Http({ method: "POST", uri: "/sql", code: 200 })),
|
|
4891
5215
|
).annotate({ identifier: "QueryRequest" });
|
|
@@ -4895,7 +5219,7 @@ function __c73(j: number): any {
|
|
|
4895
5219
|
});
|
|
4896
5220
|
}
|
|
4897
5221
|
}
|
|
4898
|
-
function
|
|
5222
|
+
function __c75(j: number): any {
|
|
4899
5223
|
switch (j) {
|
|
4900
5224
|
case 0:
|
|
4901
5225
|
return S.suspend(() =>
|
|
@@ -4910,12 +5234,12 @@ function __c74(j: number): any {
|
|
|
4910
5234
|
S.Struct({
|
|
4911
5235
|
marketplace: S.String,
|
|
4912
5236
|
company_name: S.String,
|
|
4913
|
-
aws: __S(
|
|
5237
|
+
aws: __S(1200, __c75, 0),
|
|
4914
5238
|
}).pipe(T.Http({ method: "POST", uri: "/marketplace/register", code: 200 })),
|
|
4915
5239
|
).annotate({ identifier: "RegisterMarketplaceRequest" });
|
|
4916
5240
|
}
|
|
4917
5241
|
}
|
|
4918
|
-
function
|
|
5242
|
+
function __c76(j: number): any {
|
|
4919
5243
|
switch (j) {
|
|
4920
5244
|
case 0:
|
|
4921
5245
|
return S.suspend(() =>
|
|
@@ -4932,7 +5256,7 @@ function __c75(j: number): any {
|
|
|
4932
5256
|
).annotate({ identifier: "RemoveOrganizationMemberRequest" });
|
|
4933
5257
|
}
|
|
4934
5258
|
}
|
|
4935
|
-
function
|
|
5259
|
+
function __c77(j: number): any {
|
|
4936
5260
|
switch (j) {
|
|
4937
5261
|
case 0:
|
|
4938
5262
|
return S.suspend(() =>
|
|
@@ -4948,7 +5272,7 @@ function __c76(j: number): any {
|
|
|
4948
5272
|
).annotate({ identifier: "RequestOrganizationDeletionRequest" });
|
|
4949
5273
|
}
|
|
4950
5274
|
}
|
|
4951
|
-
function
|
|
5275
|
+
function __c78(j: number): any {
|
|
4952
5276
|
switch (j) {
|
|
4953
5277
|
case 0:
|
|
4954
5278
|
return S.suspend(() =>
|
|
@@ -4965,7 +5289,7 @@ function __c77(j: number): any {
|
|
|
4965
5289
|
).annotate({ identifier: "ResendOrganizationInvitationRequest" });
|
|
4966
5290
|
}
|
|
4967
5291
|
}
|
|
4968
|
-
function
|
|
5292
|
+
function __c79(j: number): any {
|
|
4969
5293
|
switch (j) {
|
|
4970
5294
|
case 0:
|
|
4971
5295
|
return S.suspend(() =>
|
|
@@ -4975,9 +5299,9 @@ function __c78(j: number): any {
|
|
|
4975
5299
|
branchID: S.String.pipe(T.Label()),
|
|
4976
5300
|
name: S.String,
|
|
4977
5301
|
description: S.optional(S.String),
|
|
4978
|
-
scaleToZero: S.optional(__S(
|
|
4979
|
-
backupConfiguration: S.optional(__S(
|
|
4980
|
-
configuration: S.optional(__S(
|
|
5302
|
+
scaleToZero: S.optional(__S(1584, __c99, 0)),
|
|
5303
|
+
backupConfiguration: S.optional(__S(1600, __c100, 0)),
|
|
5304
|
+
configuration: S.optional(__S(464, __c29, 0)),
|
|
4981
5305
|
targetTime: S.optional(S.String),
|
|
4982
5306
|
}).pipe(
|
|
4983
5307
|
T.Http({
|
|
@@ -4989,7 +5313,7 @@ function __c78(j: number): any {
|
|
|
4989
5313
|
).annotate({ identifier: "RestoreFromBackupRequest" });
|
|
4990
5314
|
}
|
|
4991
5315
|
}
|
|
4992
|
-
function
|
|
5316
|
+
function __c80(j: number): any {
|
|
4993
5317
|
switch (j) {
|
|
4994
5318
|
case 0:
|
|
4995
5319
|
return S.suspend(() =>
|
|
@@ -5008,7 +5332,7 @@ function __c79(j: number): any {
|
|
|
5008
5332
|
).annotate({ identifier: "RotateBranchCredentialsRequest" });
|
|
5009
5333
|
}
|
|
5010
5334
|
}
|
|
5011
|
-
function
|
|
5335
|
+
function __c81(j: number): any {
|
|
5012
5336
|
switch (j) {
|
|
5013
5337
|
case 0:
|
|
5014
5338
|
return S.suspend(() =>
|
|
@@ -5024,7 +5348,7 @@ function __c80(j: number): any {
|
|
|
5024
5348
|
).annotate({ identifier: "CreateBillingCheckoutSessionRequest" });
|
|
5025
5349
|
}
|
|
5026
5350
|
}
|
|
5027
|
-
function
|
|
5351
|
+
function __c82(j: number): any {
|
|
5028
5352
|
switch (j) {
|
|
5029
5353
|
case 0:
|
|
5030
5354
|
return S.suspend(() =>
|
|
@@ -5034,7 +5358,7 @@ function __c81(j: number): any {
|
|
|
5034
5358
|
).annotate({ identifier: "BillingCheckoutSessionResponse" });
|
|
5035
5359
|
}
|
|
5036
5360
|
}
|
|
5037
|
-
function
|
|
5361
|
+
function __c83(j: number): any {
|
|
5038
5362
|
switch (j) {
|
|
5039
5363
|
case 0:
|
|
5040
5364
|
return S.suspend(() =>
|
|
@@ -5042,7 +5366,7 @@ function __c82(j: number): any {
|
|
|
5042
5366
|
jsonrpc: S.String,
|
|
5043
5367
|
id: S.optional(S.Unknown),
|
|
5044
5368
|
method: S.String,
|
|
5045
|
-
params: S.optional(__S(
|
|
5369
|
+
params: S.optional(__S(832, __c52, 0)),
|
|
5046
5370
|
}).pipe(T.Http({ method: "POST", uri: "/mcp", code: 200 })),
|
|
5047
5371
|
).annotate({ identifier: "SendMcpRequestRequest" });
|
|
5048
5372
|
case 1:
|
|
@@ -5058,13 +5382,13 @@ function __c82(j: number): any {
|
|
|
5058
5382
|
S.Struct({
|
|
5059
5383
|
jsonrpc: S.String,
|
|
5060
5384
|
id: S.Unknown,
|
|
5061
|
-
result: S.optional(__S(
|
|
5062
|
-
error: S.optional(__S(
|
|
5385
|
+
result: S.optional(__S(832, __c52, 0)),
|
|
5386
|
+
error: S.optional(__S(1329, __c83, 1)),
|
|
5063
5387
|
}),
|
|
5064
5388
|
).annotate({ identifier: "JSONRPCResponse" });
|
|
5065
5389
|
}
|
|
5066
5390
|
}
|
|
5067
|
-
function
|
|
5391
|
+
function __c84(j: number): any {
|
|
5068
5392
|
switch (j) {
|
|
5069
5393
|
case 0:
|
|
5070
5394
|
return S.suspend(() =>
|
|
@@ -5082,7 +5406,7 @@ function __c83(j: number): any {
|
|
|
5082
5406
|
).annotate({ identifier: "SetOrganizationMemberRoleRequest" });
|
|
5083
5407
|
}
|
|
5084
5408
|
}
|
|
5085
|
-
function
|
|
5409
|
+
function __c85(j: number): any {
|
|
5086
5410
|
switch (j) {
|
|
5087
5411
|
case 0:
|
|
5088
5412
|
return S.suspend(() =>
|
|
@@ -5100,17 +5424,17 @@ function __c84(j: number): any {
|
|
|
5100
5424
|
).annotate({ identifier: "SetOrganizationSSOProviderEnforcementRequest" });
|
|
5101
5425
|
}
|
|
5102
5426
|
}
|
|
5103
|
-
function
|
|
5427
|
+
function __c86(j: number): any {
|
|
5104
5428
|
switch (j) {
|
|
5105
5429
|
case 0:
|
|
5106
5430
|
return S.suspend(() =>
|
|
5107
5431
|
S.Struct({
|
|
5108
|
-
body: __S(
|
|
5432
|
+
body: __S(832, __c52, 0).pipe(T.HttpBody()),
|
|
5109
5433
|
}).pipe(T.Http({ method: "POST", uri: "/webhooks/stripe", code: 200 })),
|
|
5110
5434
|
).annotate({ identifier: "StripeWebhookRequest" });
|
|
5111
5435
|
}
|
|
5112
5436
|
}
|
|
5113
|
-
function
|
|
5437
|
+
function __c87(j: number): any {
|
|
5114
5438
|
switch (j) {
|
|
5115
5439
|
case 0:
|
|
5116
5440
|
return S.suspend(() =>
|
|
@@ -5127,7 +5451,7 @@ function __c86(j: number): any {
|
|
|
5127
5451
|
).annotate({ identifier: "UpdateBillingCustomerRequest" });
|
|
5128
5452
|
}
|
|
5129
5453
|
}
|
|
5130
|
-
function
|
|
5454
|
+
function __c88(j: number): any {
|
|
5131
5455
|
switch (j) {
|
|
5132
5456
|
case 0:
|
|
5133
5457
|
return S.suspend(() =>
|
|
@@ -5140,11 +5464,11 @@ function __c87(j: number): any {
|
|
|
5140
5464
|
replicas: S.optional(S.Number),
|
|
5141
5465
|
storage: S.optional(S.Number),
|
|
5142
5466
|
instanceType: S.optional(S.String),
|
|
5143
|
-
backupConfiguration: S.optional(__S(
|
|
5467
|
+
backupConfiguration: S.optional(__S(1600, __c100, 0)),
|
|
5144
5468
|
hibernate: S.optional(S.Boolean),
|
|
5145
|
-
scaleToZero: S.optional(__S(
|
|
5146
|
-
postgresConfigurationParameters: S.optional(__S(
|
|
5147
|
-
preloadLibraries: S.optional(__S(
|
|
5469
|
+
scaleToZero: S.optional(__S(1584, __c99, 0)),
|
|
5470
|
+
postgresConfigurationParameters: S.optional(__S(480, __c30, 0)),
|
|
5471
|
+
preloadLibraries: S.optional(__S(720, __c45, 0)),
|
|
5148
5472
|
image: S.optional(S.String),
|
|
5149
5473
|
}).pipe(
|
|
5150
5474
|
T.Http({
|
|
@@ -5156,7 +5480,7 @@ function __c87(j: number): any {
|
|
|
5156
5480
|
).annotate({ identifier: "UpdateBranchRequest" });
|
|
5157
5481
|
}
|
|
5158
5482
|
}
|
|
5159
|
-
function
|
|
5483
|
+
function __c89(j: number): any {
|
|
5160
5484
|
switch (j) {
|
|
5161
5485
|
case 0:
|
|
5162
5486
|
return S.suspend(() =>
|
|
@@ -5174,7 +5498,7 @@ function __c88(j: number): any {
|
|
|
5174
5498
|
).annotate({ identifier: "UpdateGithubAppInstallationRequest" });
|
|
5175
5499
|
}
|
|
5176
5500
|
}
|
|
5177
|
-
function
|
|
5501
|
+
function __c90(j: number): any {
|
|
5178
5502
|
switch (j) {
|
|
5179
5503
|
case 0:
|
|
5180
5504
|
return S.suspend(() =>
|
|
@@ -5193,7 +5517,7 @@ function __c89(j: number): any {
|
|
|
5193
5517
|
).annotate({ identifier: "UpdateGithubRepositoryRequest" });
|
|
5194
5518
|
}
|
|
5195
5519
|
}
|
|
5196
|
-
function
|
|
5520
|
+
function __c91(j: number): any {
|
|
5197
5521
|
switch (j) {
|
|
5198
5522
|
case 0:
|
|
5199
5523
|
return S.suspend(() =>
|
|
@@ -5205,7 +5529,7 @@ function __c90(j: number): any {
|
|
|
5205
5529
|
).annotate({ identifier: "UpdateOrganizationRequest" });
|
|
5206
5530
|
}
|
|
5207
5531
|
}
|
|
5208
|
-
function
|
|
5532
|
+
function __c92(j: number): any {
|
|
5209
5533
|
switch (j) {
|
|
5210
5534
|
case 0:
|
|
5211
5535
|
return S.suspend(() =>
|
|
@@ -5225,7 +5549,7 @@ function __c91(j: number): any {
|
|
|
5225
5549
|
).annotate({ identifier: "UpdateOrganizationSSOProviderRequest" });
|
|
5226
5550
|
}
|
|
5227
5551
|
}
|
|
5228
|
-
function
|
|
5552
|
+
function __c93(j: number): any {
|
|
5229
5553
|
switch (j) {
|
|
5230
5554
|
case 0:
|
|
5231
5555
|
return S.suspend(() =>
|
|
@@ -5241,13 +5565,13 @@ function __c92(j: number): any {
|
|
|
5241
5565
|
).annotate({ identifier: "CreateBillingPaymentMethodSessionRequest" });
|
|
5242
5566
|
}
|
|
5243
5567
|
}
|
|
5244
|
-
function
|
|
5568
|
+
function __c94(j: number): any {
|
|
5245
5569
|
switch (j) {
|
|
5246
5570
|
case 0:
|
|
5247
5571
|
return S.suspend(() =>
|
|
5248
5572
|
S.Struct({
|
|
5249
|
-
scaleToZero: S.optional(__S(
|
|
5250
|
-
ipFiltering: S.optional(__S(
|
|
5573
|
+
scaleToZero: S.optional(__S(240, __c15, 0)),
|
|
5574
|
+
ipFiltering: S.optional(__S(243, __c15, 3)),
|
|
5251
5575
|
}),
|
|
5252
5576
|
).annotate({ identifier: "UpdateProjectConfiguration" });
|
|
5253
5577
|
case 1:
|
|
@@ -5256,7 +5580,7 @@ function __c93(j: number): any {
|
|
|
5256
5580
|
organizationID: S.String.pipe(T.Label()),
|
|
5257
5581
|
projectID: S.String.pipe(T.Label()),
|
|
5258
5582
|
name: S.optional(S.String),
|
|
5259
|
-
configuration: S.optional(__S(
|
|
5583
|
+
configuration: S.optional(__S(1504, __c94, 0)),
|
|
5260
5584
|
}).pipe(
|
|
5261
5585
|
T.Http({
|
|
5262
5586
|
method: "PATCH",
|
|
@@ -5267,7 +5591,7 @@ function __c93(j: number): any {
|
|
|
5267
5591
|
).annotate({ identifier: "UpdateProjectRequest" });
|
|
5268
5592
|
}
|
|
5269
5593
|
}
|
|
5270
|
-
function
|
|
5594
|
+
function __c95(j: number): any {
|
|
5271
5595
|
switch (j) {
|
|
5272
5596
|
case 0:
|
|
5273
5597
|
return S.suspend(() =>
|
|
@@ -5288,22 +5612,22 @@ function __c94(j: number): any {
|
|
|
5288
5612
|
S.Struct({
|
|
5289
5613
|
name: S.optional(S.String),
|
|
5290
5614
|
url: S.String,
|
|
5291
|
-
contact: S.optional(__S(
|
|
5615
|
+
contact: S.optional(__S(1521, __c95, 1)),
|
|
5292
5616
|
}),
|
|
5293
5617
|
).annotate({ identifier: "InstallationAccount" });
|
|
5294
5618
|
case 3:
|
|
5295
5619
|
return S.suspend(() =>
|
|
5296
5620
|
S.Struct({
|
|
5297
5621
|
installationId: S.String.pipe(T.Label()),
|
|
5298
|
-
scopes: __S(
|
|
5299
|
-
acceptedPolicies: __S(
|
|
5300
|
-
credentials: __S(
|
|
5301
|
-
account: __S(
|
|
5622
|
+
scopes: __S(720, __c45, 0),
|
|
5623
|
+
acceptedPolicies: __S(480, __c30, 0),
|
|
5624
|
+
credentials: __S(1520, __c95, 0),
|
|
5625
|
+
account: __S(1522, __c95, 2),
|
|
5302
5626
|
}).pipe(T.Http({ method: "PUT", uri: "/v1/installations/{installationId}", code: 200 })),
|
|
5303
5627
|
).annotate({ identifier: "UpsertInstallationRequest" });
|
|
5304
5628
|
}
|
|
5305
5629
|
}
|
|
5306
|
-
function
|
|
5630
|
+
function __c96(j: number): any {
|
|
5307
5631
|
switch (j) {
|
|
5308
5632
|
case 0:
|
|
5309
5633
|
return S.suspend(() =>
|
|
@@ -5320,7 +5644,7 @@ function __c95(j: number): any {
|
|
|
5320
5644
|
).annotate({ identifier: "VerifyOrganizationSSODomainRequest" });
|
|
5321
5645
|
}
|
|
5322
5646
|
}
|
|
5323
|
-
function
|
|
5647
|
+
function __c97(j: number): any {
|
|
5324
5648
|
switch (j) {
|
|
5325
5649
|
case 0:
|
|
5326
5650
|
return S.suspend(() =>
|
|
@@ -5328,7 +5652,7 @@ function __c96(j: number): any {
|
|
|
5328
5652
|
).annotate({ identifier: "WebsocketRequest" });
|
|
5329
5653
|
}
|
|
5330
5654
|
}
|
|
5331
|
-
function
|
|
5655
|
+
function __c98(j: number): any {
|
|
5332
5656
|
switch (j) {
|
|
5333
5657
|
case 0:
|
|
5334
5658
|
return S.suspend(() =>
|
|
@@ -5337,8 +5661,8 @@ function __c97(j: number): any {
|
|
|
5337
5661
|
projectID: S.String.pipe(T.Label()),
|
|
5338
5662
|
name: S.String,
|
|
5339
5663
|
description: S.optional(S.String),
|
|
5340
|
-
scaleToZero: S.optional(__S(
|
|
5341
|
-
backupConfiguration: S.optional(__S(
|
|
5664
|
+
scaleToZero: S.optional(__S(1584, __c99, 0)),
|
|
5665
|
+
backupConfiguration: S.optional(__S(1600, __c100, 0)),
|
|
5342
5666
|
mode: S.String,
|
|
5343
5667
|
}).pipe(
|
|
5344
5668
|
T.Http({
|
|
@@ -5350,7 +5674,7 @@ function __c97(j: number): any {
|
|
|
5350
5674
|
).annotate({ identifier: "CreateBranchRequest" });
|
|
5351
5675
|
}
|
|
5352
5676
|
}
|
|
5353
|
-
function
|
|
5677
|
+
function __c99(j: number): any {
|
|
5354
5678
|
switch (j) {
|
|
5355
5679
|
case 0:
|
|
5356
5680
|
return S.suspend(() =>
|
|
@@ -5361,7 +5685,7 @@ function __c98(j: number): any {
|
|
|
5361
5685
|
).annotate({ identifier: "ScaleToZeroConfiguration" });
|
|
5362
5686
|
}
|
|
5363
5687
|
}
|
|
5364
|
-
function
|
|
5688
|
+
function __c100(j: number): any {
|
|
5365
5689
|
switch (j) {
|
|
5366
5690
|
case 0:
|
|
5367
5691
|
return S.suspend(() =>
|
|
@@ -5372,7 +5696,7 @@ function __c99(j: number): any {
|
|
|
5372
5696
|
).annotate({ identifier: "BackupConfiguration" });
|
|
5373
5697
|
}
|
|
5374
5698
|
}
|
|
5375
|
-
function
|
|
5699
|
+
function __c101(j: number): any {
|
|
5376
5700
|
switch (j) {
|
|
5377
5701
|
case 0:
|
|
5378
5702
|
return S.suspend(() =>
|
|
@@ -5386,6 +5710,7 @@ function __c100(j: number): any {
|
|
|
5386
5710
|
connectionString: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
|
|
5387
5711
|
region: S.String,
|
|
5388
5712
|
publicAccess: S.Boolean,
|
|
5713
|
+
backupsEnabled: S.optional(S.Boolean),
|
|
5389
5714
|
}),
|
|
5390
5715
|
).annotate({ identifier: "BranchShortMetadata" });
|
|
5391
5716
|
}
|