@vercel/sdk 1.17.7 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +1735 -4032
- package/bin/mcp-server.js.map +47 -47
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +12 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/authtoken.d.ts +8 -24
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +8 -23
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +6 -2
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +8 -2
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +6 -2
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +8 -2
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +70 -62
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +38 -58
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +70 -62
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +38 -59
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +72 -248
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +72 -229
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +4 -21
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +4 -19
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createeventop.d.ts +8 -25
- package/esm/models/createeventop.d.ts.map +1 -1
- package/esm/models/createeventop.js +8 -23
- package/esm/models/createeventop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +8 -24
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +8 -22
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +68 -308
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +68 -281
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +76 -332
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +84 -316
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +34 -154
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +34 -141
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +102 -462
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +102 -419
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/forbidden.d.ts +3 -12
- package/esm/models/forbidden.d.ts.map +1 -1
- package/esm/models/forbidden.js +2 -9
- package/esm/models/forbidden.js.map +1 -1
- package/esm/models/getaliasop.d.ts +12 -44
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +16 -46
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +72 -248
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +72 -236
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +4 -20
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +4 -18
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +70 -62
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +38 -58
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainauthcodeop.d.ts +6 -2
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
- package/esm/models/getdomainauthcodeop.js +8 -2
- package/esm/models/getdomainauthcodeop.js.map +1 -1
- package/esm/models/getdomaintransferinop.d.ts +6 -2
- package/esm/models/getdomaintransferinop.d.ts.map +1 -1
- package/esm/models/getdomaintransferinop.js +8 -2
- package/esm/models/getdomaintransferinop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +72 -248
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +72 -227
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +72 -248
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +72 -227
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +4 -21
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +4 -18
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +8 -24
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +8 -23
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getorderop.d.ts +48 -172
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +50 -159
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +102 -462
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +102 -419
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +76 -332
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +84 -313
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +10 -42
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.js +10 -39
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +12 -44
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +16 -47
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +12 -44
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +16 -46
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +102 -462
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +102 -420
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +6 -2
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +8 -2
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +6 -2
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +8 -2
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/updatedomainautorenewop.d.ts +6 -2
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
- package/esm/models/updatedomainautorenewop.js +8 -2
- package/esm/models/updatedomainautorenewop.js.map +1 -1
- package/esm/models/updatedomainnameserversop.d.ts +6 -2
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
- package/esm/models/updatedomainnameserversop.js +8 -2
- package/esm/models/updatedomainnameserversop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +72 -248
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +72 -229
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +4 -21
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +4 -18
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +76 -332
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +84 -318
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +76 -332
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +84 -316
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +4 -21
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +4 -19
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/userevent.d.ts +54 -14
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +26 -13
- package/esm/models/userevent.js.map +1 -1
- package/esm/types/unrecognized.d.ts +7 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +9 -1
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +3 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +1 -11
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/authtoken.ts +16 -42
- package/src/models/buydomainsop.ts +14 -4
- package/src/models/buysingledomainop.ts +14 -4
- package/src/models/canceldeploymentop.ts +140 -127
- package/src/models/createdeploymentop.ts +149 -118
- package/src/models/createdrainop.ts +154 -511
- package/src/models/createedgeconfigop.ts +8 -37
- package/src/models/createeventop.ts +16 -43
- package/src/models/createlogdrainop.ts +18 -50
- package/src/models/createprojectenvop.ts +136 -875
- package/src/models/createprojectop.ts +172 -803
- package/src/models/editprojectenvop.ts +68 -417
- package/src/models/filterprojectenvsop.ts +210 -1337
- package/src/models/forbidden.ts +5 -20
- package/src/models/getaliasop.ts +36 -101
- package/src/models/getalllogdrainsop.ts +160 -551
- package/src/models/getconfigurationop.ts +8 -38
- package/src/models/getdeploymentop.ts +144 -124
- package/src/models/getdomainauthcodeop.ts +14 -4
- package/src/models/getdomaintransferinop.ts +14 -4
- package/src/models/getdrainop.ts +156 -531
- package/src/models/getdrainsop.ts +155 -535
- package/src/models/getedgeconfigop.ts +8 -41
- package/src/models/getintegrationlogdrainsop.ts +19 -44
- package/src/models/getorderop.ts +99 -408
- package/src/models/getprojectenvop.ts +208 -1337
- package/src/models/getprojectsop.ts +172 -802
- package/src/models/getrollingreleasebillingstatusop.ts +20 -100
- package/src/models/listaliasesop.ts +36 -100
- package/src/models/listdeploymentaliasesop.ts +36 -111
- package/src/models/removeprojectenvop.ts +208 -1335
- package/src/models/renewdomainop.ts +14 -4
- package/src/models/transferindomainop.ts +14 -4
- package/src/models/updatedomainautorenewop.ts +14 -4
- package/src/models/updatedomainnameserversop.ts +14 -4
- package/src/models/updatedrainop.ts +162 -542
- package/src/models/updateedgeconfigop.ts +8 -42
- package/src/models/updateprojectdatacacheop.ts +167 -781
- package/src/models/updateprojectop.ts +172 -803
- package/src/models/updateprojectprotectionbypassop.ts +8 -44
- package/src/models/userevent.ts +111 -29
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +0 -1
|
@@ -37,15 +37,6 @@ export type GetDrainsDrainsSchemas = {
|
|
|
37
37
|
speedInsights?: GetDrainsDrainsSpeedInsights | undefined;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type =
|
|
41
|
-
{
|
|
42
|
-
Internal: "internal",
|
|
43
|
-
} as const;
|
|
44
|
-
export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type =
|
|
45
|
-
ClosedEnum<
|
|
46
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type
|
|
47
|
-
>;
|
|
48
|
-
|
|
49
40
|
export const GetDrainsDeliveryDrainsTarget = {
|
|
50
41
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
51
42
|
} as const;
|
|
@@ -54,35 +45,16 @@ export type GetDrainsDeliveryDrainsTarget = ClosedEnum<
|
|
|
54
45
|
>;
|
|
55
46
|
|
|
56
47
|
export type GetDrainsDeliveryDrains4 = {
|
|
57
|
-
type:
|
|
58
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type;
|
|
48
|
+
type: "internal";
|
|
59
49
|
target: GetDrainsDeliveryDrainsTarget;
|
|
60
50
|
};
|
|
61
51
|
|
|
62
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType =
|
|
63
|
-
{
|
|
64
|
-
Clickhouse: "clickhouse",
|
|
65
|
-
} as const;
|
|
66
|
-
export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType =
|
|
67
|
-
ClosedEnum<
|
|
68
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType
|
|
69
|
-
>;
|
|
70
|
-
|
|
71
52
|
export type GetDrainsDeliveryDrains3 = {
|
|
72
|
-
type:
|
|
53
|
+
type: "clickhouse";
|
|
73
54
|
endpoint: string;
|
|
74
55
|
table: string;
|
|
75
56
|
};
|
|
76
57
|
|
|
77
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType =
|
|
78
|
-
{
|
|
79
|
-
Otlphttp: "otlphttp",
|
|
80
|
-
} as const;
|
|
81
|
-
export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType =
|
|
82
|
-
ClosedEnum<
|
|
83
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
84
|
-
>;
|
|
85
|
-
|
|
86
58
|
export type GetDrainsDeliveryDrainsEndpoint = {
|
|
87
59
|
traces: string;
|
|
88
60
|
};
|
|
@@ -111,20 +83,13 @@ export type GetDrainsDeliveryDrainsResponse200Secret =
|
|
|
111
83
|
| string;
|
|
112
84
|
|
|
113
85
|
export type GetDrainsDeliveryDrains2 = {
|
|
114
|
-
type:
|
|
86
|
+
type: "otlphttp";
|
|
115
87
|
endpoint: GetDrainsDeliveryDrainsEndpoint;
|
|
116
88
|
encoding: GetDrainsDeliveryDrainsResponse200Encoding;
|
|
117
89
|
headers: { [k: string]: string };
|
|
118
90
|
secret?: GetDrainsSecretDrainsResponse2002 | string | undefined;
|
|
119
91
|
};
|
|
120
92
|
|
|
121
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType = {
|
|
122
|
-
Http: "http",
|
|
123
|
-
} as const;
|
|
124
|
-
export type GetDrainsDeliveryDrainsResponse200ApplicationJSONType = ClosedEnum<
|
|
125
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType
|
|
126
|
-
>;
|
|
127
|
-
|
|
128
93
|
export const GetDrainsDeliveryDrainsResponseEncoding = {
|
|
129
94
|
Json: "json",
|
|
130
95
|
Ndjson: "ndjson",
|
|
@@ -157,7 +122,7 @@ export type GetDrainsDeliveryDrainsResponseSecret =
|
|
|
157
122
|
| string;
|
|
158
123
|
|
|
159
124
|
export type GetDrainsDeliveryDrains1 = {
|
|
160
|
-
type:
|
|
125
|
+
type: "http";
|
|
161
126
|
endpoint: string;
|
|
162
127
|
encoding: GetDrainsDeliveryDrainsResponseEncoding;
|
|
163
128
|
compression?: GetDrainsDeliveryDrainsCompression | undefined;
|
|
@@ -206,62 +171,27 @@ export type GetDrainsDrainsDisabledReason = ClosedEnum<
|
|
|
206
171
|
typeof GetDrainsDrainsDisabledReason
|
|
207
172
|
>;
|
|
208
173
|
|
|
209
|
-
export const GetDrainsSourceDrainsResponse200Kind = {
|
|
210
|
-
Integration: "integration",
|
|
211
|
-
} as const;
|
|
212
|
-
export type GetDrainsSourceDrainsResponse200Kind = ClosedEnum<
|
|
213
|
-
typeof GetDrainsSourceDrainsResponse200Kind
|
|
214
|
-
>;
|
|
215
|
-
|
|
216
174
|
export type GetDrainsSourceDrains2 = {
|
|
217
|
-
kind:
|
|
175
|
+
kind: "integration";
|
|
218
176
|
resourceId?: string | undefined;
|
|
219
177
|
externalResourceId?: string | undefined;
|
|
220
178
|
integrationId: string;
|
|
221
179
|
integrationConfigurationId: string;
|
|
222
180
|
};
|
|
223
181
|
|
|
224
|
-
export const GetDrainsSourceDrainsResponseKind = {
|
|
225
|
-
SelfServed: "self-served",
|
|
226
|
-
} as const;
|
|
227
|
-
export type GetDrainsSourceDrainsResponseKind = ClosedEnum<
|
|
228
|
-
typeof GetDrainsSourceDrainsResponseKind
|
|
229
|
-
>;
|
|
230
|
-
|
|
231
182
|
export type GetDrainsSourceDrains1 = {
|
|
232
|
-
kind:
|
|
183
|
+
kind: "self-served";
|
|
233
184
|
};
|
|
234
185
|
|
|
235
186
|
export type GetDrainsDrainsSource =
|
|
236
|
-
|
|
|
237
|
-
|
|
|
238
|
-
|
|
239
|
-
export const GetDrainsFilterV2DrainsResponse200Version = {
|
|
240
|
-
V2: "v2",
|
|
241
|
-
} as const;
|
|
242
|
-
export type GetDrainsFilterV2DrainsResponse200Version = ClosedEnum<
|
|
243
|
-
typeof GetDrainsFilterV2DrainsResponse200Version
|
|
244
|
-
>;
|
|
245
|
-
|
|
246
|
-
export const GetDrainsFilterDrainsResponse200Type = {
|
|
247
|
-
Odata: "odata",
|
|
248
|
-
} as const;
|
|
249
|
-
export type GetDrainsFilterDrainsResponse200Type = ClosedEnum<
|
|
250
|
-
typeof GetDrainsFilterDrainsResponse200Type
|
|
251
|
-
>;
|
|
187
|
+
| GetDrainsSourceDrains1
|
|
188
|
+
| GetDrainsSourceDrains2;
|
|
252
189
|
|
|
253
190
|
export type GetDrainsFilterDrains2 = {
|
|
254
|
-
type:
|
|
191
|
+
type: "odata";
|
|
255
192
|
text: string;
|
|
256
193
|
};
|
|
257
194
|
|
|
258
|
-
export const GetDrainsFilterDrainsResponseType = {
|
|
259
|
-
Basic: "basic",
|
|
260
|
-
} as const;
|
|
261
|
-
export type GetDrainsFilterDrainsResponseType = ClosedEnum<
|
|
262
|
-
typeof GetDrainsFilterDrainsResponseType
|
|
263
|
-
>;
|
|
264
|
-
|
|
265
195
|
export type GetDrainsFilterDrainsProject = {
|
|
266
196
|
ids?: Array<string> | undefined;
|
|
267
197
|
};
|
|
@@ -297,62 +227,41 @@ export type GetDrainsFilterDrainsDeployment = {
|
|
|
297
227
|
};
|
|
298
228
|
|
|
299
229
|
export type GetDrainsFilterDrains1 = {
|
|
300
|
-
type:
|
|
230
|
+
type: "basic";
|
|
301
231
|
project?: GetDrainsFilterDrainsProject | undefined;
|
|
302
232
|
log?: GetDrainsFilterDrainsLog | undefined;
|
|
303
233
|
deployment?: GetDrainsFilterDrainsDeployment | undefined;
|
|
304
234
|
};
|
|
305
235
|
|
|
306
236
|
export type GetDrainsFilterV2DrainsFilter =
|
|
307
|
-
|
|
|
308
|
-
|
|
|
237
|
+
| GetDrainsFilterDrains1
|
|
238
|
+
| GetDrainsFilterDrains2;
|
|
309
239
|
|
|
310
240
|
export type GetDrainsFilterV2Drains2 = {
|
|
311
|
-
version:
|
|
312
|
-
filter:
|
|
241
|
+
version: "v2";
|
|
242
|
+
filter: GetDrainsFilterDrains1 | GetDrainsFilterDrains2;
|
|
313
243
|
};
|
|
314
244
|
|
|
315
|
-
export const GetDrainsFilterV2DrainsResponseVersion = {
|
|
316
|
-
V1: "v1",
|
|
317
|
-
} as const;
|
|
318
|
-
export type GetDrainsFilterV2DrainsResponseVersion = ClosedEnum<
|
|
319
|
-
typeof GetDrainsFilterV2DrainsResponseVersion
|
|
320
|
-
>;
|
|
321
|
-
|
|
322
245
|
export type GetDrainsFilterV2Drains1 = {
|
|
323
|
-
version:
|
|
246
|
+
version: "v1";
|
|
324
247
|
};
|
|
325
248
|
|
|
326
249
|
export type GetDrainsDrainsFilterV2 =
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
|
|
330
|
-
export const GetDrainsProjectAccessDrainsAccess = {
|
|
331
|
-
Some: "some",
|
|
332
|
-
} as const;
|
|
333
|
-
export type GetDrainsProjectAccessDrainsAccess = ClosedEnum<
|
|
334
|
-
typeof GetDrainsProjectAccessDrainsAccess
|
|
335
|
-
>;
|
|
250
|
+
| GetDrainsFilterV2Drains1
|
|
251
|
+
| GetDrainsFilterV2Drains2;
|
|
336
252
|
|
|
337
253
|
export type GetDrainsProjectAccess2 = {
|
|
338
|
-
access:
|
|
254
|
+
access: "some";
|
|
339
255
|
projectIds: Array<string>;
|
|
340
256
|
};
|
|
341
257
|
|
|
342
|
-
export const GetDrainsProjectAccessAccess = {
|
|
343
|
-
All: "all",
|
|
344
|
-
} as const;
|
|
345
|
-
export type GetDrainsProjectAccessAccess = ClosedEnum<
|
|
346
|
-
typeof GetDrainsProjectAccessAccess
|
|
347
|
-
>;
|
|
348
|
-
|
|
349
258
|
export type GetDrainsProjectAccess1 = {
|
|
350
|
-
access:
|
|
259
|
+
access: "all";
|
|
351
260
|
};
|
|
352
261
|
|
|
353
262
|
export type DrainsProjectAccess =
|
|
354
|
-
|
|
|
355
|
-
|
|
|
263
|
+
| GetDrainsProjectAccess1
|
|
264
|
+
| GetDrainsProjectAccess2;
|
|
356
265
|
|
|
357
266
|
export type Drains2 = {
|
|
358
267
|
id: string;
|
|
@@ -375,13 +284,13 @@ export type Drains2 = {
|
|
|
375
284
|
disabledReason?: GetDrainsDrainsDisabledReason | undefined;
|
|
376
285
|
disabledBy?: string | undefined;
|
|
377
286
|
firstErrorTimestamp?: number | undefined;
|
|
378
|
-
source:
|
|
287
|
+
source: GetDrainsSourceDrains1 | GetDrainsSourceDrains2;
|
|
379
288
|
filter?: string | undefined;
|
|
380
|
-
filterV2?:
|
|
289
|
+
filterV2?: GetDrainsFilterV2Drains1 | GetDrainsFilterV2Drains2 | undefined;
|
|
381
290
|
integrationIcon?: string | undefined;
|
|
382
291
|
integrationConfigurationUri?: string | undefined;
|
|
383
292
|
integrationWebsite?: string | undefined;
|
|
384
|
-
projectAccess?:
|
|
293
|
+
projectAccess?: GetDrainsProjectAccess1 | GetDrainsProjectAccess2 | undefined;
|
|
385
294
|
};
|
|
386
295
|
|
|
387
296
|
export type DrainsLog = {};
|
|
@@ -399,13 +308,6 @@ export type DrainsSchemas = {
|
|
|
399
308
|
speedInsights?: DrainsSpeedInsights | undefined;
|
|
400
309
|
};
|
|
401
310
|
|
|
402
|
-
export const GetDrainsDeliveryDrainsResponse200Type = {
|
|
403
|
-
Internal: "internal",
|
|
404
|
-
} as const;
|
|
405
|
-
export type GetDrainsDeliveryDrainsResponse200Type = ClosedEnum<
|
|
406
|
-
typeof GetDrainsDeliveryDrainsResponse200Type
|
|
407
|
-
>;
|
|
408
|
-
|
|
409
311
|
export const GetDrainsDeliveryTarget = {
|
|
410
312
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
411
313
|
} as const;
|
|
@@ -414,30 +316,16 @@ export type GetDrainsDeliveryTarget = ClosedEnum<
|
|
|
414
316
|
>;
|
|
415
317
|
|
|
416
318
|
export type GetDrainsDelivery4 = {
|
|
417
|
-
type:
|
|
319
|
+
type: "internal";
|
|
418
320
|
target: GetDrainsDeliveryTarget;
|
|
419
321
|
};
|
|
420
322
|
|
|
421
|
-
export const GetDrainsDeliveryDrainsResponseType = {
|
|
422
|
-
Clickhouse: "clickhouse",
|
|
423
|
-
} as const;
|
|
424
|
-
export type GetDrainsDeliveryDrainsResponseType = ClosedEnum<
|
|
425
|
-
typeof GetDrainsDeliveryDrainsResponseType
|
|
426
|
-
>;
|
|
427
|
-
|
|
428
323
|
export type GetDrainsDelivery3 = {
|
|
429
|
-
type:
|
|
324
|
+
type: "clickhouse";
|
|
430
325
|
endpoint: string;
|
|
431
326
|
table: string;
|
|
432
327
|
};
|
|
433
328
|
|
|
434
|
-
export const GetDrainsDeliveryDrainsType = {
|
|
435
|
-
Otlphttp: "otlphttp",
|
|
436
|
-
} as const;
|
|
437
|
-
export type GetDrainsDeliveryDrainsType = ClosedEnum<
|
|
438
|
-
typeof GetDrainsDeliveryDrainsType
|
|
439
|
-
>;
|
|
440
|
-
|
|
441
329
|
export type GetDrainsDeliveryEndpoint = {
|
|
442
330
|
traces: string;
|
|
443
331
|
};
|
|
@@ -464,18 +352,13 @@ export type GetDrainsSecretDrains2 = {
|
|
|
464
352
|
export type GetDrainsDeliveryDrainsSecret = GetDrainsSecretDrains2 | string;
|
|
465
353
|
|
|
466
354
|
export type GetDrainsDelivery2 = {
|
|
467
|
-
type:
|
|
355
|
+
type: "otlphttp";
|
|
468
356
|
endpoint: GetDrainsDeliveryEndpoint;
|
|
469
357
|
encoding: GetDrainsDeliveryDrainsEncoding;
|
|
470
358
|
headers: { [k: string]: string };
|
|
471
359
|
secret?: GetDrainsSecretDrains2 | string | undefined;
|
|
472
360
|
};
|
|
473
361
|
|
|
474
|
-
export const GetDrainsDeliveryType = {
|
|
475
|
-
Http: "http",
|
|
476
|
-
} as const;
|
|
477
|
-
export type GetDrainsDeliveryType = ClosedEnum<typeof GetDrainsDeliveryType>;
|
|
478
|
-
|
|
479
362
|
export const GetDrainsDeliveryEncoding = {
|
|
480
363
|
Json: "json",
|
|
481
364
|
Ndjson: "ndjson",
|
|
@@ -504,7 +387,7 @@ export type GetDrainsSecret2 = {
|
|
|
504
387
|
export type GetDrainsDeliverySecret = GetDrainsSecret2 | string;
|
|
505
388
|
|
|
506
389
|
export type GetDrainsDelivery1 = {
|
|
507
|
-
type:
|
|
390
|
+
type: "http";
|
|
508
391
|
endpoint: string;
|
|
509
392
|
encoding: GetDrainsDeliveryEncoding;
|
|
510
393
|
compression?: GetDrainsDeliveryCompression | undefined;
|
|
@@ -551,56 +434,25 @@ export const DrainsDisabledReason = {
|
|
|
551
434
|
} as const;
|
|
552
435
|
export type DrainsDisabledReason = ClosedEnum<typeof DrainsDisabledReason>;
|
|
553
436
|
|
|
554
|
-
export const GetDrainsSourceDrainsKind = {
|
|
555
|
-
Integration: "integration",
|
|
556
|
-
} as const;
|
|
557
|
-
export type GetDrainsSourceDrainsKind = ClosedEnum<
|
|
558
|
-
typeof GetDrainsSourceDrainsKind
|
|
559
|
-
>;
|
|
560
|
-
|
|
561
437
|
export type GetDrainsSource2 = {
|
|
562
|
-
kind:
|
|
438
|
+
kind: "integration";
|
|
563
439
|
resourceId?: string | undefined;
|
|
564
440
|
externalResourceId?: string | undefined;
|
|
565
441
|
integrationId: string;
|
|
566
442
|
integrationConfigurationId: string;
|
|
567
443
|
};
|
|
568
444
|
|
|
569
|
-
export const GetDrainsSourceKind = {
|
|
570
|
-
SelfServed: "self-served",
|
|
571
|
-
} as const;
|
|
572
|
-
export type GetDrainsSourceKind = ClosedEnum<typeof GetDrainsSourceKind>;
|
|
573
|
-
|
|
574
445
|
export type GetDrainsSource1 = {
|
|
575
|
-
kind:
|
|
446
|
+
kind: "self-served";
|
|
576
447
|
};
|
|
577
448
|
|
|
578
|
-
export type DrainsSource =
|
|
579
|
-
|
|
580
|
-
export const GetDrainsFilterV2DrainsVersion = {
|
|
581
|
-
V2: "v2",
|
|
582
|
-
} as const;
|
|
583
|
-
export type GetDrainsFilterV2DrainsVersion = ClosedEnum<
|
|
584
|
-
typeof GetDrainsFilterV2DrainsVersion
|
|
585
|
-
>;
|
|
586
|
-
|
|
587
|
-
export const GetDrainsFilterDrainsType = {
|
|
588
|
-
Odata: "odata",
|
|
589
|
-
} as const;
|
|
590
|
-
export type GetDrainsFilterDrainsType = ClosedEnum<
|
|
591
|
-
typeof GetDrainsFilterDrainsType
|
|
592
|
-
>;
|
|
449
|
+
export type DrainsSource = GetDrainsSource1 | GetDrainsSource2;
|
|
593
450
|
|
|
594
451
|
export type GetDrainsFilter2 = {
|
|
595
|
-
type:
|
|
452
|
+
type: "odata";
|
|
596
453
|
text: string;
|
|
597
454
|
};
|
|
598
455
|
|
|
599
|
-
export const GetDrainsFilterType = {
|
|
600
|
-
Basic: "basic",
|
|
601
|
-
} as const;
|
|
602
|
-
export type GetDrainsFilterType = ClosedEnum<typeof GetDrainsFilterType>;
|
|
603
|
-
|
|
604
456
|
export type GetDrainsFilterProject = {
|
|
605
457
|
ids?: Array<string> | undefined;
|
|
606
458
|
};
|
|
@@ -634,31 +486,24 @@ export type GetDrainsFilterDeployment = {
|
|
|
634
486
|
};
|
|
635
487
|
|
|
636
488
|
export type GetDrainsFilter1 = {
|
|
637
|
-
type:
|
|
489
|
+
type: "basic";
|
|
638
490
|
project?: GetDrainsFilterProject | undefined;
|
|
639
491
|
log?: GetDrainsFilterLog | undefined;
|
|
640
492
|
deployment?: GetDrainsFilterDeployment | undefined;
|
|
641
493
|
};
|
|
642
494
|
|
|
643
|
-
export type GetDrainsFilterV2Filter =
|
|
495
|
+
export type GetDrainsFilterV2Filter = GetDrainsFilter1 | GetDrainsFilter2;
|
|
644
496
|
|
|
645
497
|
export type GetDrainsFilterV22 = {
|
|
646
|
-
version:
|
|
647
|
-
filter:
|
|
498
|
+
version: "v2";
|
|
499
|
+
filter: GetDrainsFilter1 | GetDrainsFilter2;
|
|
648
500
|
};
|
|
649
501
|
|
|
650
|
-
export const GetDrainsFilterV2Version = {
|
|
651
|
-
V1: "v1",
|
|
652
|
-
} as const;
|
|
653
|
-
export type GetDrainsFilterV2Version = ClosedEnum<
|
|
654
|
-
typeof GetDrainsFilterV2Version
|
|
655
|
-
>;
|
|
656
|
-
|
|
657
502
|
export type GetDrainsFilterV21 = {
|
|
658
|
-
version:
|
|
503
|
+
version: "v1";
|
|
659
504
|
};
|
|
660
505
|
|
|
661
|
-
export type DrainsFilterV2 =
|
|
506
|
+
export type DrainsFilterV2 = GetDrainsFilterV21 | GetDrainsFilterV22;
|
|
662
507
|
|
|
663
508
|
export type Drains1 = {
|
|
664
509
|
id: string;
|
|
@@ -681,9 +526,9 @@ export type Drains1 = {
|
|
|
681
526
|
disabledReason?: DrainsDisabledReason | undefined;
|
|
682
527
|
disabledBy?: string | undefined;
|
|
683
528
|
firstErrorTimestamp?: number | undefined;
|
|
684
|
-
source:
|
|
529
|
+
source: GetDrainsSource1 | GetDrainsSource2;
|
|
685
530
|
filter?: string | undefined;
|
|
686
|
-
filterV2?:
|
|
531
|
+
filterV2?: GetDrainsFilterV21 | GetDrainsFilterV22 | undefined;
|
|
687
532
|
};
|
|
688
533
|
|
|
689
534
|
export type Drains = Array<Drains1> | Array<Drains2>;
|
|
@@ -932,20 +777,6 @@ export function getDrainsDrainsSchemasFromJSON(
|
|
|
932
777
|
);
|
|
933
778
|
}
|
|
934
779
|
|
|
935
|
-
/** @internal */
|
|
936
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema:
|
|
937
|
-
z.ZodNativeEnum<
|
|
938
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type
|
|
939
|
-
> = z.nativeEnum(
|
|
940
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type,
|
|
941
|
-
);
|
|
942
|
-
/** @internal */
|
|
943
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$outboundSchema:
|
|
944
|
-
z.ZodNativeEnum<
|
|
945
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type
|
|
946
|
-
> =
|
|
947
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema;
|
|
948
|
-
|
|
949
780
|
/** @internal */
|
|
950
781
|
export const GetDrainsDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum<
|
|
951
782
|
typeof GetDrainsDeliveryDrainsTarget
|
|
@@ -961,13 +792,12 @@ export const GetDrainsDeliveryDrains4$inboundSchema: z.ZodType<
|
|
|
961
792
|
z.ZodTypeDef,
|
|
962
793
|
unknown
|
|
963
794
|
> = z.object({
|
|
964
|
-
type:
|
|
965
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema,
|
|
795
|
+
type: z.literal("internal"),
|
|
966
796
|
target: GetDrainsDeliveryDrainsTarget$inboundSchema,
|
|
967
797
|
});
|
|
968
798
|
/** @internal */
|
|
969
799
|
export type GetDrainsDeliveryDrains4$Outbound = {
|
|
970
|
-
type:
|
|
800
|
+
type: "internal";
|
|
971
801
|
target: string;
|
|
972
802
|
};
|
|
973
803
|
|
|
@@ -977,8 +807,7 @@ export const GetDrainsDeliveryDrains4$outboundSchema: z.ZodType<
|
|
|
977
807
|
z.ZodTypeDef,
|
|
978
808
|
GetDrainsDeliveryDrains4
|
|
979
809
|
> = z.object({
|
|
980
|
-
type:
|
|
981
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$outboundSchema,
|
|
810
|
+
type: z.literal("internal"),
|
|
982
811
|
target: GetDrainsDeliveryDrainsTarget$outboundSchema,
|
|
983
812
|
});
|
|
984
813
|
|
|
@@ -999,34 +828,19 @@ export function getDrainsDeliveryDrains4FromJSON(
|
|
|
999
828
|
);
|
|
1000
829
|
}
|
|
1001
830
|
|
|
1002
|
-
/** @internal */
|
|
1003
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema:
|
|
1004
|
-
z.ZodNativeEnum<
|
|
1005
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType
|
|
1006
|
-
> = z.nativeEnum(
|
|
1007
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType,
|
|
1008
|
-
);
|
|
1009
|
-
/** @internal */
|
|
1010
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$outboundSchema:
|
|
1011
|
-
z.ZodNativeEnum<
|
|
1012
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType
|
|
1013
|
-
> =
|
|
1014
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema;
|
|
1015
|
-
|
|
1016
831
|
/** @internal */
|
|
1017
832
|
export const GetDrainsDeliveryDrains3$inboundSchema: z.ZodType<
|
|
1018
833
|
GetDrainsDeliveryDrains3,
|
|
1019
834
|
z.ZodTypeDef,
|
|
1020
835
|
unknown
|
|
1021
836
|
> = z.object({
|
|
1022
|
-
type:
|
|
1023
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema,
|
|
837
|
+
type: z.literal("clickhouse"),
|
|
1024
838
|
endpoint: z.string(),
|
|
1025
839
|
table: z.string(),
|
|
1026
840
|
});
|
|
1027
841
|
/** @internal */
|
|
1028
842
|
export type GetDrainsDeliveryDrains3$Outbound = {
|
|
1029
|
-
type:
|
|
843
|
+
type: "clickhouse";
|
|
1030
844
|
endpoint: string;
|
|
1031
845
|
table: string;
|
|
1032
846
|
};
|
|
@@ -1037,8 +851,7 @@ export const GetDrainsDeliveryDrains3$outboundSchema: z.ZodType<
|
|
|
1037
851
|
z.ZodTypeDef,
|
|
1038
852
|
GetDrainsDeliveryDrains3
|
|
1039
853
|
> = z.object({
|
|
1040
|
-
type:
|
|
1041
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$outboundSchema,
|
|
854
|
+
type: z.literal("clickhouse"),
|
|
1042
855
|
endpoint: z.string(),
|
|
1043
856
|
table: z.string(),
|
|
1044
857
|
});
|
|
@@ -1060,20 +873,6 @@ export function getDrainsDeliveryDrains3FromJSON(
|
|
|
1060
873
|
);
|
|
1061
874
|
}
|
|
1062
875
|
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1065
|
-
z.ZodNativeEnum<
|
|
1066
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
1067
|
-
> = z.nativeEnum(
|
|
1068
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType,
|
|
1069
|
-
);
|
|
1070
|
-
/** @internal */
|
|
1071
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1072
|
-
z.ZodNativeEnum<
|
|
1073
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
1074
|
-
> =
|
|
1075
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1076
|
-
|
|
1077
876
|
/** @internal */
|
|
1078
877
|
export const GetDrainsDeliveryDrainsEndpoint$inboundSchema: z.ZodType<
|
|
1079
878
|
GetDrainsDeliveryDrainsEndpoint,
|
|
@@ -1231,8 +1030,7 @@ export const GetDrainsDeliveryDrains2$inboundSchema: z.ZodType<
|
|
|
1231
1030
|
z.ZodTypeDef,
|
|
1232
1031
|
unknown
|
|
1233
1032
|
> = z.object({
|
|
1234
|
-
type:
|
|
1235
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1033
|
+
type: z.literal("otlphttp"),
|
|
1236
1034
|
endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$inboundSchema),
|
|
1237
1035
|
encoding: GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema,
|
|
1238
1036
|
headers: z.record(z.string()),
|
|
@@ -1243,7 +1041,7 @@ export const GetDrainsDeliveryDrains2$inboundSchema: z.ZodType<
|
|
|
1243
1041
|
});
|
|
1244
1042
|
/** @internal */
|
|
1245
1043
|
export type GetDrainsDeliveryDrains2$Outbound = {
|
|
1246
|
-
type:
|
|
1044
|
+
type: "otlphttp";
|
|
1247
1045
|
endpoint: GetDrainsDeliveryDrainsEndpoint$Outbound;
|
|
1248
1046
|
encoding: string;
|
|
1249
1047
|
headers: { [k: string]: string };
|
|
@@ -1256,8 +1054,7 @@ export const GetDrainsDeliveryDrains2$outboundSchema: z.ZodType<
|
|
|
1256
1054
|
z.ZodTypeDef,
|
|
1257
1055
|
GetDrainsDeliveryDrains2
|
|
1258
1056
|
> = z.object({
|
|
1259
|
-
type:
|
|
1260
|
-
GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1057
|
+
type: z.literal("otlphttp"),
|
|
1261
1058
|
endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$outboundSchema),
|
|
1262
1059
|
encoding: GetDrainsDeliveryDrainsResponse200Encoding$outboundSchema,
|
|
1263
1060
|
headers: z.record(z.string()),
|
|
@@ -1284,17 +1081,6 @@ export function getDrainsDeliveryDrains2FromJSON(
|
|
|
1284
1081
|
);
|
|
1285
1082
|
}
|
|
1286
1083
|
|
|
1287
|
-
/** @internal */
|
|
1288
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema:
|
|
1289
|
-
z.ZodNativeEnum<
|
|
1290
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType
|
|
1291
|
-
> = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONType);
|
|
1292
|
-
/** @internal */
|
|
1293
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$outboundSchema:
|
|
1294
|
-
z.ZodNativeEnum<
|
|
1295
|
-
typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType
|
|
1296
|
-
> = GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema;
|
|
1297
|
-
|
|
1298
1084
|
/** @internal */
|
|
1299
1085
|
export const GetDrainsDeliveryDrainsResponseEncoding$inboundSchema:
|
|
1300
1086
|
z.ZodNativeEnum<typeof GetDrainsDeliveryDrainsResponseEncoding> = z
|
|
@@ -1413,7 +1199,7 @@ export const GetDrainsDeliveryDrains1$inboundSchema: z.ZodType<
|
|
|
1413
1199
|
z.ZodTypeDef,
|
|
1414
1200
|
unknown
|
|
1415
1201
|
> = z.object({
|
|
1416
|
-
type:
|
|
1202
|
+
type: z.literal("http"),
|
|
1417
1203
|
endpoint: z.string(),
|
|
1418
1204
|
encoding: GetDrainsDeliveryDrainsResponseEncoding$inboundSchema,
|
|
1419
1205
|
compression: GetDrainsDeliveryDrainsCompression$inboundSchema.optional(),
|
|
@@ -1425,7 +1211,7 @@ export const GetDrainsDeliveryDrains1$inboundSchema: z.ZodType<
|
|
|
1425
1211
|
});
|
|
1426
1212
|
/** @internal */
|
|
1427
1213
|
export type GetDrainsDeliveryDrains1$Outbound = {
|
|
1428
|
-
type:
|
|
1214
|
+
type: "http";
|
|
1429
1215
|
endpoint: string;
|
|
1430
1216
|
encoding: string;
|
|
1431
1217
|
compression?: string | undefined;
|
|
@@ -1439,7 +1225,7 @@ export const GetDrainsDeliveryDrains1$outboundSchema: z.ZodType<
|
|
|
1439
1225
|
z.ZodTypeDef,
|
|
1440
1226
|
GetDrainsDeliveryDrains1
|
|
1441
1227
|
> = z.object({
|
|
1442
|
-
type:
|
|
1228
|
+
type: z.literal("http"),
|
|
1443
1229
|
endpoint: z.string(),
|
|
1444
1230
|
encoding: GetDrainsDeliveryDrainsResponseEncoding$outboundSchema,
|
|
1445
1231
|
compression: GetDrainsDeliveryDrainsCompression$outboundSchema.optional(),
|
|
@@ -1598,23 +1384,13 @@ export const GetDrainsDrainsDisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
|
1598
1384
|
typeof GetDrainsDrainsDisabledReason
|
|
1599
1385
|
> = GetDrainsDrainsDisabledReason$inboundSchema;
|
|
1600
1386
|
|
|
1601
|
-
/** @internal */
|
|
1602
|
-
export const GetDrainsSourceDrainsResponse200Kind$inboundSchema:
|
|
1603
|
-
z.ZodNativeEnum<typeof GetDrainsSourceDrainsResponse200Kind> = z.nativeEnum(
|
|
1604
|
-
GetDrainsSourceDrainsResponse200Kind,
|
|
1605
|
-
);
|
|
1606
|
-
/** @internal */
|
|
1607
|
-
export const GetDrainsSourceDrainsResponse200Kind$outboundSchema:
|
|
1608
|
-
z.ZodNativeEnum<typeof GetDrainsSourceDrainsResponse200Kind> =
|
|
1609
|
-
GetDrainsSourceDrainsResponse200Kind$inboundSchema;
|
|
1610
|
-
|
|
1611
1387
|
/** @internal */
|
|
1612
1388
|
export const GetDrainsSourceDrains2$inboundSchema: z.ZodType<
|
|
1613
1389
|
GetDrainsSourceDrains2,
|
|
1614
1390
|
z.ZodTypeDef,
|
|
1615
1391
|
unknown
|
|
1616
1392
|
> = z.object({
|
|
1617
|
-
kind:
|
|
1393
|
+
kind: z.literal("integration"),
|
|
1618
1394
|
resourceId: z.string().optional(),
|
|
1619
1395
|
externalResourceId: z.string().optional(),
|
|
1620
1396
|
integrationId: z.string(),
|
|
@@ -1622,7 +1398,7 @@ export const GetDrainsSourceDrains2$inboundSchema: z.ZodType<
|
|
|
1622
1398
|
});
|
|
1623
1399
|
/** @internal */
|
|
1624
1400
|
export type GetDrainsSourceDrains2$Outbound = {
|
|
1625
|
-
kind:
|
|
1401
|
+
kind: "integration";
|
|
1626
1402
|
resourceId?: string | undefined;
|
|
1627
1403
|
externalResourceId?: string | undefined;
|
|
1628
1404
|
integrationId: string;
|
|
@@ -1635,7 +1411,7 @@ export const GetDrainsSourceDrains2$outboundSchema: z.ZodType<
|
|
|
1635
1411
|
z.ZodTypeDef,
|
|
1636
1412
|
GetDrainsSourceDrains2
|
|
1637
1413
|
> = z.object({
|
|
1638
|
-
kind:
|
|
1414
|
+
kind: z.literal("integration"),
|
|
1639
1415
|
resourceId: z.string().optional(),
|
|
1640
1416
|
externalResourceId: z.string().optional(),
|
|
1641
1417
|
integrationId: z.string(),
|
|
@@ -1659,26 +1435,17 @@ export function getDrainsSourceDrains2FromJSON(
|
|
|
1659
1435
|
);
|
|
1660
1436
|
}
|
|
1661
1437
|
|
|
1662
|
-
/** @internal */
|
|
1663
|
-
export const GetDrainsSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum<
|
|
1664
|
-
typeof GetDrainsSourceDrainsResponseKind
|
|
1665
|
-
> = z.nativeEnum(GetDrainsSourceDrainsResponseKind);
|
|
1666
|
-
/** @internal */
|
|
1667
|
-
export const GetDrainsSourceDrainsResponseKind$outboundSchema: z.ZodNativeEnum<
|
|
1668
|
-
typeof GetDrainsSourceDrainsResponseKind
|
|
1669
|
-
> = GetDrainsSourceDrainsResponseKind$inboundSchema;
|
|
1670
|
-
|
|
1671
1438
|
/** @internal */
|
|
1672
1439
|
export const GetDrainsSourceDrains1$inboundSchema: z.ZodType<
|
|
1673
1440
|
GetDrainsSourceDrains1,
|
|
1674
1441
|
z.ZodTypeDef,
|
|
1675
1442
|
unknown
|
|
1676
1443
|
> = z.object({
|
|
1677
|
-
kind:
|
|
1444
|
+
kind: z.literal("self-served"),
|
|
1678
1445
|
});
|
|
1679
1446
|
/** @internal */
|
|
1680
1447
|
export type GetDrainsSourceDrains1$Outbound = {
|
|
1681
|
-
kind:
|
|
1448
|
+
kind: "self-served";
|
|
1682
1449
|
};
|
|
1683
1450
|
|
|
1684
1451
|
/** @internal */
|
|
@@ -1687,7 +1454,7 @@ export const GetDrainsSourceDrains1$outboundSchema: z.ZodType<
|
|
|
1687
1454
|
z.ZodTypeDef,
|
|
1688
1455
|
GetDrainsSourceDrains1
|
|
1689
1456
|
> = z.object({
|
|
1690
|
-
kind:
|
|
1457
|
+
kind: z.literal("self-served"),
|
|
1691
1458
|
});
|
|
1692
1459
|
|
|
1693
1460
|
export function getDrainsSourceDrains1ToJSON(
|
|
@@ -1713,13 +1480,13 @@ export const GetDrainsDrainsSource$inboundSchema: z.ZodType<
|
|
|
1713
1480
|
z.ZodTypeDef,
|
|
1714
1481
|
unknown
|
|
1715
1482
|
> = z.union([
|
|
1716
|
-
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
1717
1483
|
z.lazy(() => GetDrainsSourceDrains1$inboundSchema),
|
|
1484
|
+
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
1718
1485
|
]);
|
|
1719
1486
|
/** @internal */
|
|
1720
1487
|
export type GetDrainsDrainsSource$Outbound =
|
|
1721
|
-
|
|
|
1722
|
-
|
|
|
1488
|
+
| GetDrainsSourceDrains1$Outbound
|
|
1489
|
+
| GetDrainsSourceDrains2$Outbound;
|
|
1723
1490
|
|
|
1724
1491
|
/** @internal */
|
|
1725
1492
|
export const GetDrainsDrainsSource$outboundSchema: z.ZodType<
|
|
@@ -1727,8 +1494,8 @@ export const GetDrainsDrainsSource$outboundSchema: z.ZodType<
|
|
|
1727
1494
|
z.ZodTypeDef,
|
|
1728
1495
|
GetDrainsDrainsSource
|
|
1729
1496
|
> = z.union([
|
|
1730
|
-
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
1731
1497
|
z.lazy(() => GetDrainsSourceDrains1$outboundSchema),
|
|
1498
|
+
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
1732
1499
|
]);
|
|
1733
1500
|
|
|
1734
1501
|
export function getDrainsDrainsSourceToJSON(
|
|
@@ -1748,37 +1515,18 @@ export function getDrainsDrainsSourceFromJSON(
|
|
|
1748
1515
|
);
|
|
1749
1516
|
}
|
|
1750
1517
|
|
|
1751
|
-
/** @internal */
|
|
1752
|
-
export const GetDrainsFilterV2DrainsResponse200Version$inboundSchema:
|
|
1753
|
-
z.ZodNativeEnum<typeof GetDrainsFilterV2DrainsResponse200Version> = z
|
|
1754
|
-
.nativeEnum(GetDrainsFilterV2DrainsResponse200Version);
|
|
1755
|
-
/** @internal */
|
|
1756
|
-
export const GetDrainsFilterV2DrainsResponse200Version$outboundSchema:
|
|
1757
|
-
z.ZodNativeEnum<typeof GetDrainsFilterV2DrainsResponse200Version> =
|
|
1758
|
-
GetDrainsFilterV2DrainsResponse200Version$inboundSchema;
|
|
1759
|
-
|
|
1760
|
-
/** @internal */
|
|
1761
|
-
export const GetDrainsFilterDrainsResponse200Type$inboundSchema:
|
|
1762
|
-
z.ZodNativeEnum<typeof GetDrainsFilterDrainsResponse200Type> = z.nativeEnum(
|
|
1763
|
-
GetDrainsFilterDrainsResponse200Type,
|
|
1764
|
-
);
|
|
1765
|
-
/** @internal */
|
|
1766
|
-
export const GetDrainsFilterDrainsResponse200Type$outboundSchema:
|
|
1767
|
-
z.ZodNativeEnum<typeof GetDrainsFilterDrainsResponse200Type> =
|
|
1768
|
-
GetDrainsFilterDrainsResponse200Type$inboundSchema;
|
|
1769
|
-
|
|
1770
1518
|
/** @internal */
|
|
1771
1519
|
export const GetDrainsFilterDrains2$inboundSchema: z.ZodType<
|
|
1772
1520
|
GetDrainsFilterDrains2,
|
|
1773
1521
|
z.ZodTypeDef,
|
|
1774
1522
|
unknown
|
|
1775
1523
|
> = z.object({
|
|
1776
|
-
type:
|
|
1524
|
+
type: z.literal("odata"),
|
|
1777
1525
|
text: z.string(),
|
|
1778
1526
|
});
|
|
1779
1527
|
/** @internal */
|
|
1780
1528
|
export type GetDrainsFilterDrains2$Outbound = {
|
|
1781
|
-
type:
|
|
1529
|
+
type: "odata";
|
|
1782
1530
|
text: string;
|
|
1783
1531
|
};
|
|
1784
1532
|
|
|
@@ -1788,7 +1536,7 @@ export const GetDrainsFilterDrains2$outboundSchema: z.ZodType<
|
|
|
1788
1536
|
z.ZodTypeDef,
|
|
1789
1537
|
GetDrainsFilterDrains2
|
|
1790
1538
|
> = z.object({
|
|
1791
|
-
type:
|
|
1539
|
+
type: z.literal("odata"),
|
|
1792
1540
|
text: z.string(),
|
|
1793
1541
|
});
|
|
1794
1542
|
|
|
@@ -1809,15 +1557,6 @@ export function getDrainsFilterDrains2FromJSON(
|
|
|
1809
1557
|
);
|
|
1810
1558
|
}
|
|
1811
1559
|
|
|
1812
|
-
/** @internal */
|
|
1813
|
-
export const GetDrainsFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
1814
|
-
typeof GetDrainsFilterDrainsResponseType
|
|
1815
|
-
> = z.nativeEnum(GetDrainsFilterDrainsResponseType);
|
|
1816
|
-
/** @internal */
|
|
1817
|
-
export const GetDrainsFilterDrainsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
1818
|
-
typeof GetDrainsFilterDrainsResponseType
|
|
1819
|
-
> = GetDrainsFilterDrainsResponseType$inboundSchema;
|
|
1820
|
-
|
|
1821
1560
|
/** @internal */
|
|
1822
1561
|
export const GetDrainsFilterDrainsProject$inboundSchema: z.ZodType<
|
|
1823
1562
|
GetDrainsFilterDrainsProject,
|
|
@@ -1976,7 +1715,7 @@ export const GetDrainsFilterDrains1$inboundSchema: z.ZodType<
|
|
|
1976
1715
|
z.ZodTypeDef,
|
|
1977
1716
|
unknown
|
|
1978
1717
|
> = z.object({
|
|
1979
|
-
type:
|
|
1718
|
+
type: z.literal("basic"),
|
|
1980
1719
|
project: z.lazy(() => GetDrainsFilterDrainsProject$inboundSchema).optional(),
|
|
1981
1720
|
log: z.lazy(() => GetDrainsFilterDrainsLog$inboundSchema).optional(),
|
|
1982
1721
|
deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$inboundSchema)
|
|
@@ -1984,7 +1723,7 @@ export const GetDrainsFilterDrains1$inboundSchema: z.ZodType<
|
|
|
1984
1723
|
});
|
|
1985
1724
|
/** @internal */
|
|
1986
1725
|
export type GetDrainsFilterDrains1$Outbound = {
|
|
1987
|
-
type:
|
|
1726
|
+
type: "basic";
|
|
1988
1727
|
project?: GetDrainsFilterDrainsProject$Outbound | undefined;
|
|
1989
1728
|
log?: GetDrainsFilterDrainsLog$Outbound | undefined;
|
|
1990
1729
|
deployment?: GetDrainsFilterDrainsDeployment$Outbound | undefined;
|
|
@@ -1996,7 +1735,7 @@ export const GetDrainsFilterDrains1$outboundSchema: z.ZodType<
|
|
|
1996
1735
|
z.ZodTypeDef,
|
|
1997
1736
|
GetDrainsFilterDrains1
|
|
1998
1737
|
> = z.object({
|
|
1999
|
-
type:
|
|
1738
|
+
type: z.literal("basic"),
|
|
2000
1739
|
project: z.lazy(() => GetDrainsFilterDrainsProject$outboundSchema).optional(),
|
|
2001
1740
|
log: z.lazy(() => GetDrainsFilterDrainsLog$outboundSchema).optional(),
|
|
2002
1741
|
deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$outboundSchema)
|
|
@@ -2026,13 +1765,13 @@ export const GetDrainsFilterV2DrainsFilter$inboundSchema: z.ZodType<
|
|
|
2026
1765
|
z.ZodTypeDef,
|
|
2027
1766
|
unknown
|
|
2028
1767
|
> = z.union([
|
|
2029
|
-
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
2030
1768
|
z.lazy(() => GetDrainsFilterDrains1$inboundSchema),
|
|
1769
|
+
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
2031
1770
|
]);
|
|
2032
1771
|
/** @internal */
|
|
2033
1772
|
export type GetDrainsFilterV2DrainsFilter$Outbound =
|
|
2034
|
-
|
|
|
2035
|
-
|
|
|
1773
|
+
| GetDrainsFilterDrains1$Outbound
|
|
1774
|
+
| GetDrainsFilterDrains2$Outbound;
|
|
2036
1775
|
|
|
2037
1776
|
/** @internal */
|
|
2038
1777
|
export const GetDrainsFilterV2DrainsFilter$outboundSchema: z.ZodType<
|
|
@@ -2040,8 +1779,8 @@ export const GetDrainsFilterV2DrainsFilter$outboundSchema: z.ZodType<
|
|
|
2040
1779
|
z.ZodTypeDef,
|
|
2041
1780
|
GetDrainsFilterV2DrainsFilter
|
|
2042
1781
|
> = z.union([
|
|
2043
|
-
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
2044
1782
|
z.lazy(() => GetDrainsFilterDrains1$outboundSchema),
|
|
1783
|
+
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
2045
1784
|
]);
|
|
2046
1785
|
|
|
2047
1786
|
export function getDrainsFilterV2DrainsFilterToJSON(
|
|
@@ -2069,16 +1808,16 @@ export const GetDrainsFilterV2Drains2$inboundSchema: z.ZodType<
|
|
|
2069
1808
|
z.ZodTypeDef,
|
|
2070
1809
|
unknown
|
|
2071
1810
|
> = z.object({
|
|
2072
|
-
version:
|
|
1811
|
+
version: z.literal("v2"),
|
|
2073
1812
|
filter: z.union([
|
|
2074
|
-
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
2075
1813
|
z.lazy(() => GetDrainsFilterDrains1$inboundSchema),
|
|
1814
|
+
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
2076
1815
|
]),
|
|
2077
1816
|
});
|
|
2078
1817
|
/** @internal */
|
|
2079
1818
|
export type GetDrainsFilterV2Drains2$Outbound = {
|
|
2080
|
-
version:
|
|
2081
|
-
filter:
|
|
1819
|
+
version: "v2";
|
|
1820
|
+
filter: GetDrainsFilterDrains1$Outbound | GetDrainsFilterDrains2$Outbound;
|
|
2082
1821
|
};
|
|
2083
1822
|
|
|
2084
1823
|
/** @internal */
|
|
@@ -2087,10 +1826,10 @@ export const GetDrainsFilterV2Drains2$outboundSchema: z.ZodType<
|
|
|
2087
1826
|
z.ZodTypeDef,
|
|
2088
1827
|
GetDrainsFilterV2Drains2
|
|
2089
1828
|
> = z.object({
|
|
2090
|
-
version:
|
|
1829
|
+
version: z.literal("v2"),
|
|
2091
1830
|
filter: z.union([
|
|
2092
|
-
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
2093
1831
|
z.lazy(() => GetDrainsFilterDrains1$outboundSchema),
|
|
1832
|
+
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
2094
1833
|
]),
|
|
2095
1834
|
});
|
|
2096
1835
|
|
|
@@ -2111,27 +1850,17 @@ export function getDrainsFilterV2Drains2FromJSON(
|
|
|
2111
1850
|
);
|
|
2112
1851
|
}
|
|
2113
1852
|
|
|
2114
|
-
/** @internal */
|
|
2115
|
-
export const GetDrainsFilterV2DrainsResponseVersion$inboundSchema:
|
|
2116
|
-
z.ZodNativeEnum<typeof GetDrainsFilterV2DrainsResponseVersion> = z.nativeEnum(
|
|
2117
|
-
GetDrainsFilterV2DrainsResponseVersion,
|
|
2118
|
-
);
|
|
2119
|
-
/** @internal */
|
|
2120
|
-
export const GetDrainsFilterV2DrainsResponseVersion$outboundSchema:
|
|
2121
|
-
z.ZodNativeEnum<typeof GetDrainsFilterV2DrainsResponseVersion> =
|
|
2122
|
-
GetDrainsFilterV2DrainsResponseVersion$inboundSchema;
|
|
2123
|
-
|
|
2124
1853
|
/** @internal */
|
|
2125
1854
|
export const GetDrainsFilterV2Drains1$inboundSchema: z.ZodType<
|
|
2126
1855
|
GetDrainsFilterV2Drains1,
|
|
2127
1856
|
z.ZodTypeDef,
|
|
2128
1857
|
unknown
|
|
2129
1858
|
> = z.object({
|
|
2130
|
-
version:
|
|
1859
|
+
version: z.literal("v1"),
|
|
2131
1860
|
});
|
|
2132
1861
|
/** @internal */
|
|
2133
1862
|
export type GetDrainsFilterV2Drains1$Outbound = {
|
|
2134
|
-
version:
|
|
1863
|
+
version: "v1";
|
|
2135
1864
|
};
|
|
2136
1865
|
|
|
2137
1866
|
/** @internal */
|
|
@@ -2140,7 +1869,7 @@ export const GetDrainsFilterV2Drains1$outboundSchema: z.ZodType<
|
|
|
2140
1869
|
z.ZodTypeDef,
|
|
2141
1870
|
GetDrainsFilterV2Drains1
|
|
2142
1871
|
> = z.object({
|
|
2143
|
-
version:
|
|
1872
|
+
version: z.literal("v1"),
|
|
2144
1873
|
});
|
|
2145
1874
|
|
|
2146
1875
|
export function getDrainsFilterV2Drains1ToJSON(
|
|
@@ -2166,13 +1895,13 @@ export const GetDrainsDrainsFilterV2$inboundSchema: z.ZodType<
|
|
|
2166
1895
|
z.ZodTypeDef,
|
|
2167
1896
|
unknown
|
|
2168
1897
|
> = z.union([
|
|
2169
|
-
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
2170
1898
|
z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema),
|
|
1899
|
+
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
2171
1900
|
]);
|
|
2172
1901
|
/** @internal */
|
|
2173
1902
|
export type GetDrainsDrainsFilterV2$Outbound =
|
|
2174
|
-
|
|
|
2175
|
-
|
|
|
1903
|
+
| GetDrainsFilterV2Drains1$Outbound
|
|
1904
|
+
| GetDrainsFilterV2Drains2$Outbound;
|
|
2176
1905
|
|
|
2177
1906
|
/** @internal */
|
|
2178
1907
|
export const GetDrainsDrainsFilterV2$outboundSchema: z.ZodType<
|
|
@@ -2180,8 +1909,8 @@ export const GetDrainsDrainsFilterV2$outboundSchema: z.ZodType<
|
|
|
2180
1909
|
z.ZodTypeDef,
|
|
2181
1910
|
GetDrainsDrainsFilterV2
|
|
2182
1911
|
> = z.union([
|
|
2183
|
-
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
2184
1912
|
z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema),
|
|
1913
|
+
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
2185
1914
|
]);
|
|
2186
1915
|
|
|
2187
1916
|
export function getDrainsDrainsFilterV2ToJSON(
|
|
@@ -2201,27 +1930,18 @@ export function getDrainsDrainsFilterV2FromJSON(
|
|
|
2201
1930
|
);
|
|
2202
1931
|
}
|
|
2203
1932
|
|
|
2204
|
-
/** @internal */
|
|
2205
|
-
export const GetDrainsProjectAccessDrainsAccess$inboundSchema: z.ZodNativeEnum<
|
|
2206
|
-
typeof GetDrainsProjectAccessDrainsAccess
|
|
2207
|
-
> = z.nativeEnum(GetDrainsProjectAccessDrainsAccess);
|
|
2208
|
-
/** @internal */
|
|
2209
|
-
export const GetDrainsProjectAccessDrainsAccess$outboundSchema: z.ZodNativeEnum<
|
|
2210
|
-
typeof GetDrainsProjectAccessDrainsAccess
|
|
2211
|
-
> = GetDrainsProjectAccessDrainsAccess$inboundSchema;
|
|
2212
|
-
|
|
2213
1933
|
/** @internal */
|
|
2214
1934
|
export const GetDrainsProjectAccess2$inboundSchema: z.ZodType<
|
|
2215
1935
|
GetDrainsProjectAccess2,
|
|
2216
1936
|
z.ZodTypeDef,
|
|
2217
1937
|
unknown
|
|
2218
1938
|
> = z.object({
|
|
2219
|
-
access:
|
|
1939
|
+
access: z.literal("some"),
|
|
2220
1940
|
projectIds: z.array(z.string()),
|
|
2221
1941
|
});
|
|
2222
1942
|
/** @internal */
|
|
2223
1943
|
export type GetDrainsProjectAccess2$Outbound = {
|
|
2224
|
-
access:
|
|
1944
|
+
access: "some";
|
|
2225
1945
|
projectIds: Array<string>;
|
|
2226
1946
|
};
|
|
2227
1947
|
|
|
@@ -2231,7 +1951,7 @@ export const GetDrainsProjectAccess2$outboundSchema: z.ZodType<
|
|
|
2231
1951
|
z.ZodTypeDef,
|
|
2232
1952
|
GetDrainsProjectAccess2
|
|
2233
1953
|
> = z.object({
|
|
2234
|
-
access:
|
|
1954
|
+
access: z.literal("some"),
|
|
2235
1955
|
projectIds: z.array(z.string()),
|
|
2236
1956
|
});
|
|
2237
1957
|
|
|
@@ -2252,26 +1972,17 @@ export function getDrainsProjectAccess2FromJSON(
|
|
|
2252
1972
|
);
|
|
2253
1973
|
}
|
|
2254
1974
|
|
|
2255
|
-
/** @internal */
|
|
2256
|
-
export const GetDrainsProjectAccessAccess$inboundSchema: z.ZodNativeEnum<
|
|
2257
|
-
typeof GetDrainsProjectAccessAccess
|
|
2258
|
-
> = z.nativeEnum(GetDrainsProjectAccessAccess);
|
|
2259
|
-
/** @internal */
|
|
2260
|
-
export const GetDrainsProjectAccessAccess$outboundSchema: z.ZodNativeEnum<
|
|
2261
|
-
typeof GetDrainsProjectAccessAccess
|
|
2262
|
-
> = GetDrainsProjectAccessAccess$inboundSchema;
|
|
2263
|
-
|
|
2264
1975
|
/** @internal */
|
|
2265
1976
|
export const GetDrainsProjectAccess1$inboundSchema: z.ZodType<
|
|
2266
1977
|
GetDrainsProjectAccess1,
|
|
2267
1978
|
z.ZodTypeDef,
|
|
2268
1979
|
unknown
|
|
2269
1980
|
> = z.object({
|
|
2270
|
-
access:
|
|
1981
|
+
access: z.literal("all"),
|
|
2271
1982
|
});
|
|
2272
1983
|
/** @internal */
|
|
2273
1984
|
export type GetDrainsProjectAccess1$Outbound = {
|
|
2274
|
-
access:
|
|
1985
|
+
access: "all";
|
|
2275
1986
|
};
|
|
2276
1987
|
|
|
2277
1988
|
/** @internal */
|
|
@@ -2280,7 +1991,7 @@ export const GetDrainsProjectAccess1$outboundSchema: z.ZodType<
|
|
|
2280
1991
|
z.ZodTypeDef,
|
|
2281
1992
|
GetDrainsProjectAccess1
|
|
2282
1993
|
> = z.object({
|
|
2283
|
-
access:
|
|
1994
|
+
access: z.literal("all"),
|
|
2284
1995
|
});
|
|
2285
1996
|
|
|
2286
1997
|
export function getDrainsProjectAccess1ToJSON(
|
|
@@ -2306,13 +2017,13 @@ export const DrainsProjectAccess$inboundSchema: z.ZodType<
|
|
|
2306
2017
|
z.ZodTypeDef,
|
|
2307
2018
|
unknown
|
|
2308
2019
|
> = z.union([
|
|
2309
|
-
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
2310
2020
|
z.lazy(() => GetDrainsProjectAccess1$inboundSchema),
|
|
2021
|
+
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
2311
2022
|
]);
|
|
2312
2023
|
/** @internal */
|
|
2313
2024
|
export type DrainsProjectAccess$Outbound =
|
|
2314
|
-
|
|
|
2315
|
-
|
|
|
2025
|
+
| GetDrainsProjectAccess1$Outbound
|
|
2026
|
+
| GetDrainsProjectAccess2$Outbound;
|
|
2316
2027
|
|
|
2317
2028
|
/** @internal */
|
|
2318
2029
|
export const DrainsProjectAccess$outboundSchema: z.ZodType<
|
|
@@ -2320,8 +2031,8 @@ export const DrainsProjectAccess$outboundSchema: z.ZodType<
|
|
|
2320
2031
|
z.ZodTypeDef,
|
|
2321
2032
|
DrainsProjectAccess
|
|
2322
2033
|
> = z.union([
|
|
2323
|
-
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
2324
2034
|
z.lazy(() => GetDrainsProjectAccess1$outboundSchema),
|
|
2035
|
+
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
2325
2036
|
]);
|
|
2326
2037
|
|
|
2327
2038
|
export function drainsProjectAccessToJSON(
|
|
@@ -2366,20 +2077,20 @@ export const Drains2$inboundSchema: z.ZodType<Drains2, z.ZodTypeDef, unknown> =
|
|
|
2366
2077
|
disabledBy: z.string().optional(),
|
|
2367
2078
|
firstErrorTimestamp: z.number().optional(),
|
|
2368
2079
|
source: z.union([
|
|
2369
|
-
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
2370
2080
|
z.lazy(() => GetDrainsSourceDrains1$inboundSchema),
|
|
2081
|
+
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
2371
2082
|
]),
|
|
2372
2083
|
filter: z.string().optional(),
|
|
2373
2084
|
filterV2: z.union([
|
|
2374
|
-
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
2375
2085
|
z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema),
|
|
2086
|
+
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
2376
2087
|
]).optional(),
|
|
2377
2088
|
integrationIcon: z.string().optional(),
|
|
2378
2089
|
integrationConfigurationUri: z.string().optional(),
|
|
2379
2090
|
integrationWebsite: z.string().optional(),
|
|
2380
2091
|
projectAccess: z.union([
|
|
2381
|
-
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
2382
2092
|
z.lazy(() => GetDrainsProjectAccess1$inboundSchema),
|
|
2093
|
+
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
2383
2094
|
]).optional(),
|
|
2384
2095
|
});
|
|
2385
2096
|
/** @internal */
|
|
@@ -2404,18 +2115,18 @@ export type Drains2$Outbound = {
|
|
|
2404
2115
|
disabledReason?: string | undefined;
|
|
2405
2116
|
disabledBy?: string | undefined;
|
|
2406
2117
|
firstErrorTimestamp?: number | undefined;
|
|
2407
|
-
source:
|
|
2118
|
+
source: GetDrainsSourceDrains1$Outbound | GetDrainsSourceDrains2$Outbound;
|
|
2408
2119
|
filter?: string | undefined;
|
|
2409
2120
|
filterV2?:
|
|
2410
|
-
| GetDrainsFilterV2Drains2$Outbound
|
|
2411
2121
|
| GetDrainsFilterV2Drains1$Outbound
|
|
2122
|
+
| GetDrainsFilterV2Drains2$Outbound
|
|
2412
2123
|
| undefined;
|
|
2413
2124
|
integrationIcon?: string | undefined;
|
|
2414
2125
|
integrationConfigurationUri?: string | undefined;
|
|
2415
2126
|
integrationWebsite?: string | undefined;
|
|
2416
2127
|
projectAccess?:
|
|
2417
|
-
| GetDrainsProjectAccess2$Outbound
|
|
2418
2128
|
| GetDrainsProjectAccess1$Outbound
|
|
2129
|
+
| GetDrainsProjectAccess2$Outbound
|
|
2419
2130
|
| undefined;
|
|
2420
2131
|
};
|
|
2421
2132
|
|
|
@@ -2447,20 +2158,20 @@ export const Drains2$outboundSchema: z.ZodType<
|
|
|
2447
2158
|
disabledBy: z.string().optional(),
|
|
2448
2159
|
firstErrorTimestamp: z.number().optional(),
|
|
2449
2160
|
source: z.union([
|
|
2450
|
-
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
2451
2161
|
z.lazy(() => GetDrainsSourceDrains1$outboundSchema),
|
|
2162
|
+
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
2452
2163
|
]),
|
|
2453
2164
|
filter: z.string().optional(),
|
|
2454
2165
|
filterV2: z.union([
|
|
2455
|
-
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
2456
2166
|
z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema),
|
|
2167
|
+
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
2457
2168
|
]).optional(),
|
|
2458
2169
|
integrationIcon: z.string().optional(),
|
|
2459
2170
|
integrationConfigurationUri: z.string().optional(),
|
|
2460
2171
|
integrationWebsite: z.string().optional(),
|
|
2461
2172
|
projectAccess: z.union([
|
|
2462
|
-
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
2463
2173
|
z.lazy(() => GetDrainsProjectAccess1$outboundSchema),
|
|
2174
|
+
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
2464
2175
|
]).optional(),
|
|
2465
2176
|
});
|
|
2466
2177
|
|
|
@@ -2651,16 +2362,6 @@ export function drainsSchemasFromJSON(
|
|
|
2651
2362
|
);
|
|
2652
2363
|
}
|
|
2653
2364
|
|
|
2654
|
-
/** @internal */
|
|
2655
|
-
export const GetDrainsDeliveryDrainsResponse200Type$inboundSchema:
|
|
2656
|
-
z.ZodNativeEnum<typeof GetDrainsDeliveryDrainsResponse200Type> = z.nativeEnum(
|
|
2657
|
-
GetDrainsDeliveryDrainsResponse200Type,
|
|
2658
|
-
);
|
|
2659
|
-
/** @internal */
|
|
2660
|
-
export const GetDrainsDeliveryDrainsResponse200Type$outboundSchema:
|
|
2661
|
-
z.ZodNativeEnum<typeof GetDrainsDeliveryDrainsResponse200Type> =
|
|
2662
|
-
GetDrainsDeliveryDrainsResponse200Type$inboundSchema;
|
|
2663
|
-
|
|
2664
2365
|
/** @internal */
|
|
2665
2366
|
export const GetDrainsDeliveryTarget$inboundSchema: z.ZodNativeEnum<
|
|
2666
2367
|
typeof GetDrainsDeliveryTarget
|
|
@@ -2676,12 +2377,12 @@ export const GetDrainsDelivery4$inboundSchema: z.ZodType<
|
|
|
2676
2377
|
z.ZodTypeDef,
|
|
2677
2378
|
unknown
|
|
2678
2379
|
> = z.object({
|
|
2679
|
-
type:
|
|
2380
|
+
type: z.literal("internal"),
|
|
2680
2381
|
target: GetDrainsDeliveryTarget$inboundSchema,
|
|
2681
2382
|
});
|
|
2682
2383
|
/** @internal */
|
|
2683
2384
|
export type GetDrainsDelivery4$Outbound = {
|
|
2684
|
-
type:
|
|
2385
|
+
type: "internal";
|
|
2685
2386
|
target: string;
|
|
2686
2387
|
};
|
|
2687
2388
|
|
|
@@ -2691,7 +2392,7 @@ export const GetDrainsDelivery4$outboundSchema: z.ZodType<
|
|
|
2691
2392
|
z.ZodTypeDef,
|
|
2692
2393
|
GetDrainsDelivery4
|
|
2693
2394
|
> = z.object({
|
|
2694
|
-
type:
|
|
2395
|
+
type: z.literal("internal"),
|
|
2695
2396
|
target: GetDrainsDeliveryTarget$outboundSchema,
|
|
2696
2397
|
});
|
|
2697
2398
|
|
|
@@ -2712,28 +2413,19 @@ export function getDrainsDelivery4FromJSON(
|
|
|
2712
2413
|
);
|
|
2713
2414
|
}
|
|
2714
2415
|
|
|
2715
|
-
/** @internal */
|
|
2716
|
-
export const GetDrainsDeliveryDrainsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
2717
|
-
typeof GetDrainsDeliveryDrainsResponseType
|
|
2718
|
-
> = z.nativeEnum(GetDrainsDeliveryDrainsResponseType);
|
|
2719
|
-
/** @internal */
|
|
2720
|
-
export const GetDrainsDeliveryDrainsResponseType$outboundSchema:
|
|
2721
|
-
z.ZodNativeEnum<typeof GetDrainsDeliveryDrainsResponseType> =
|
|
2722
|
-
GetDrainsDeliveryDrainsResponseType$inboundSchema;
|
|
2723
|
-
|
|
2724
2416
|
/** @internal */
|
|
2725
2417
|
export const GetDrainsDelivery3$inboundSchema: z.ZodType<
|
|
2726
2418
|
GetDrainsDelivery3,
|
|
2727
2419
|
z.ZodTypeDef,
|
|
2728
2420
|
unknown
|
|
2729
2421
|
> = z.object({
|
|
2730
|
-
type:
|
|
2422
|
+
type: z.literal("clickhouse"),
|
|
2731
2423
|
endpoint: z.string(),
|
|
2732
2424
|
table: z.string(),
|
|
2733
2425
|
});
|
|
2734
2426
|
/** @internal */
|
|
2735
2427
|
export type GetDrainsDelivery3$Outbound = {
|
|
2736
|
-
type:
|
|
2428
|
+
type: "clickhouse";
|
|
2737
2429
|
endpoint: string;
|
|
2738
2430
|
table: string;
|
|
2739
2431
|
};
|
|
@@ -2744,7 +2436,7 @@ export const GetDrainsDelivery3$outboundSchema: z.ZodType<
|
|
|
2744
2436
|
z.ZodTypeDef,
|
|
2745
2437
|
GetDrainsDelivery3
|
|
2746
2438
|
> = z.object({
|
|
2747
|
-
type:
|
|
2439
|
+
type: z.literal("clickhouse"),
|
|
2748
2440
|
endpoint: z.string(),
|
|
2749
2441
|
table: z.string(),
|
|
2750
2442
|
});
|
|
@@ -2766,15 +2458,6 @@ export function getDrainsDelivery3FromJSON(
|
|
|
2766
2458
|
);
|
|
2767
2459
|
}
|
|
2768
2460
|
|
|
2769
|
-
/** @internal */
|
|
2770
|
-
export const GetDrainsDeliveryDrainsType$inboundSchema: z.ZodNativeEnum<
|
|
2771
|
-
typeof GetDrainsDeliveryDrainsType
|
|
2772
|
-
> = z.nativeEnum(GetDrainsDeliveryDrainsType);
|
|
2773
|
-
/** @internal */
|
|
2774
|
-
export const GetDrainsDeliveryDrainsType$outboundSchema: z.ZodNativeEnum<
|
|
2775
|
-
typeof GetDrainsDeliveryDrainsType
|
|
2776
|
-
> = GetDrainsDeliveryDrainsType$inboundSchema;
|
|
2777
|
-
|
|
2778
2461
|
/** @internal */
|
|
2779
2462
|
export const GetDrainsDeliveryEndpoint$inboundSchema: z.ZodType<
|
|
2780
2463
|
GetDrainsDeliveryEndpoint,
|
|
@@ -2914,7 +2597,7 @@ export const GetDrainsDelivery2$inboundSchema: z.ZodType<
|
|
|
2914
2597
|
z.ZodTypeDef,
|
|
2915
2598
|
unknown
|
|
2916
2599
|
> = z.object({
|
|
2917
|
-
type:
|
|
2600
|
+
type: z.literal("otlphttp"),
|
|
2918
2601
|
endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$inboundSchema),
|
|
2919
2602
|
encoding: GetDrainsDeliveryDrainsEncoding$inboundSchema,
|
|
2920
2603
|
headers: z.record(z.string()),
|
|
@@ -2925,7 +2608,7 @@ export const GetDrainsDelivery2$inboundSchema: z.ZodType<
|
|
|
2925
2608
|
});
|
|
2926
2609
|
/** @internal */
|
|
2927
2610
|
export type GetDrainsDelivery2$Outbound = {
|
|
2928
|
-
type:
|
|
2611
|
+
type: "otlphttp";
|
|
2929
2612
|
endpoint: GetDrainsDeliveryEndpoint$Outbound;
|
|
2930
2613
|
encoding: string;
|
|
2931
2614
|
headers: { [k: string]: string };
|
|
@@ -2938,7 +2621,7 @@ export const GetDrainsDelivery2$outboundSchema: z.ZodType<
|
|
|
2938
2621
|
z.ZodTypeDef,
|
|
2939
2622
|
GetDrainsDelivery2
|
|
2940
2623
|
> = z.object({
|
|
2941
|
-
type:
|
|
2624
|
+
type: z.literal("otlphttp"),
|
|
2942
2625
|
endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$outboundSchema),
|
|
2943
2626
|
encoding: GetDrainsDeliveryDrainsEncoding$outboundSchema,
|
|
2944
2627
|
headers: z.record(z.string()),
|
|
@@ -2965,15 +2648,6 @@ export function getDrainsDelivery2FromJSON(
|
|
|
2965
2648
|
);
|
|
2966
2649
|
}
|
|
2967
2650
|
|
|
2968
|
-
/** @internal */
|
|
2969
|
-
export const GetDrainsDeliveryType$inboundSchema: z.ZodNativeEnum<
|
|
2970
|
-
typeof GetDrainsDeliveryType
|
|
2971
|
-
> = z.nativeEnum(GetDrainsDeliveryType);
|
|
2972
|
-
/** @internal */
|
|
2973
|
-
export const GetDrainsDeliveryType$outboundSchema: z.ZodNativeEnum<
|
|
2974
|
-
typeof GetDrainsDeliveryType
|
|
2975
|
-
> = GetDrainsDeliveryType$inboundSchema;
|
|
2976
|
-
|
|
2977
2651
|
/** @internal */
|
|
2978
2652
|
export const GetDrainsDeliveryEncoding$inboundSchema: z.ZodNativeEnum<
|
|
2979
2653
|
typeof GetDrainsDeliveryEncoding
|
|
@@ -3081,7 +2755,7 @@ export const GetDrainsDelivery1$inboundSchema: z.ZodType<
|
|
|
3081
2755
|
z.ZodTypeDef,
|
|
3082
2756
|
unknown
|
|
3083
2757
|
> = z.object({
|
|
3084
|
-
type:
|
|
2758
|
+
type: z.literal("http"),
|
|
3085
2759
|
endpoint: z.string(),
|
|
3086
2760
|
encoding: GetDrainsDeliveryEncoding$inboundSchema,
|
|
3087
2761
|
compression: GetDrainsDeliveryCompression$inboundSchema.optional(),
|
|
@@ -3091,7 +2765,7 @@ export const GetDrainsDelivery1$inboundSchema: z.ZodType<
|
|
|
3091
2765
|
});
|
|
3092
2766
|
/** @internal */
|
|
3093
2767
|
export type GetDrainsDelivery1$Outbound = {
|
|
3094
|
-
type:
|
|
2768
|
+
type: "http";
|
|
3095
2769
|
endpoint: string;
|
|
3096
2770
|
encoding: string;
|
|
3097
2771
|
compression?: string | undefined;
|
|
@@ -3105,7 +2779,7 @@ export const GetDrainsDelivery1$outboundSchema: z.ZodType<
|
|
|
3105
2779
|
z.ZodTypeDef,
|
|
3106
2780
|
GetDrainsDelivery1
|
|
3107
2781
|
> = z.object({
|
|
3108
|
-
type:
|
|
2782
|
+
type: z.literal("http"),
|
|
3109
2783
|
endpoint: z.string(),
|
|
3110
2784
|
encoding: GetDrainsDeliveryEncoding$outboundSchema,
|
|
3111
2785
|
compression: GetDrainsDeliveryCompression$outboundSchema.optional(),
|
|
@@ -3248,22 +2922,13 @@ export const DrainsDisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
|
3248
2922
|
typeof DrainsDisabledReason
|
|
3249
2923
|
> = DrainsDisabledReason$inboundSchema;
|
|
3250
2924
|
|
|
3251
|
-
/** @internal */
|
|
3252
|
-
export const GetDrainsSourceDrainsKind$inboundSchema: z.ZodNativeEnum<
|
|
3253
|
-
typeof GetDrainsSourceDrainsKind
|
|
3254
|
-
> = z.nativeEnum(GetDrainsSourceDrainsKind);
|
|
3255
|
-
/** @internal */
|
|
3256
|
-
export const GetDrainsSourceDrainsKind$outboundSchema: z.ZodNativeEnum<
|
|
3257
|
-
typeof GetDrainsSourceDrainsKind
|
|
3258
|
-
> = GetDrainsSourceDrainsKind$inboundSchema;
|
|
3259
|
-
|
|
3260
2925
|
/** @internal */
|
|
3261
2926
|
export const GetDrainsSource2$inboundSchema: z.ZodType<
|
|
3262
2927
|
GetDrainsSource2,
|
|
3263
2928
|
z.ZodTypeDef,
|
|
3264
2929
|
unknown
|
|
3265
2930
|
> = z.object({
|
|
3266
|
-
kind:
|
|
2931
|
+
kind: z.literal("integration"),
|
|
3267
2932
|
resourceId: z.string().optional(),
|
|
3268
2933
|
externalResourceId: z.string().optional(),
|
|
3269
2934
|
integrationId: z.string(),
|
|
@@ -3271,7 +2936,7 @@ export const GetDrainsSource2$inboundSchema: z.ZodType<
|
|
|
3271
2936
|
});
|
|
3272
2937
|
/** @internal */
|
|
3273
2938
|
export type GetDrainsSource2$Outbound = {
|
|
3274
|
-
kind:
|
|
2939
|
+
kind: "integration";
|
|
3275
2940
|
resourceId?: string | undefined;
|
|
3276
2941
|
externalResourceId?: string | undefined;
|
|
3277
2942
|
integrationId: string;
|
|
@@ -3284,7 +2949,7 @@ export const GetDrainsSource2$outboundSchema: z.ZodType<
|
|
|
3284
2949
|
z.ZodTypeDef,
|
|
3285
2950
|
GetDrainsSource2
|
|
3286
2951
|
> = z.object({
|
|
3287
|
-
kind:
|
|
2952
|
+
kind: z.literal("integration"),
|
|
3288
2953
|
resourceId: z.string().optional(),
|
|
3289
2954
|
externalResourceId: z.string().optional(),
|
|
3290
2955
|
integrationId: z.string(),
|
|
@@ -3308,26 +2973,17 @@ export function getDrainsSource2FromJSON(
|
|
|
3308
2973
|
);
|
|
3309
2974
|
}
|
|
3310
2975
|
|
|
3311
|
-
/** @internal */
|
|
3312
|
-
export const GetDrainsSourceKind$inboundSchema: z.ZodNativeEnum<
|
|
3313
|
-
typeof GetDrainsSourceKind
|
|
3314
|
-
> = z.nativeEnum(GetDrainsSourceKind);
|
|
3315
|
-
/** @internal */
|
|
3316
|
-
export const GetDrainsSourceKind$outboundSchema: z.ZodNativeEnum<
|
|
3317
|
-
typeof GetDrainsSourceKind
|
|
3318
|
-
> = GetDrainsSourceKind$inboundSchema;
|
|
3319
|
-
|
|
3320
2976
|
/** @internal */
|
|
3321
2977
|
export const GetDrainsSource1$inboundSchema: z.ZodType<
|
|
3322
2978
|
GetDrainsSource1,
|
|
3323
2979
|
z.ZodTypeDef,
|
|
3324
2980
|
unknown
|
|
3325
2981
|
> = z.object({
|
|
3326
|
-
kind:
|
|
2982
|
+
kind: z.literal("self-served"),
|
|
3327
2983
|
});
|
|
3328
2984
|
/** @internal */
|
|
3329
2985
|
export type GetDrainsSource1$Outbound = {
|
|
3330
|
-
kind:
|
|
2986
|
+
kind: "self-served";
|
|
3331
2987
|
};
|
|
3332
2988
|
|
|
3333
2989
|
/** @internal */
|
|
@@ -3336,7 +2992,7 @@ export const GetDrainsSource1$outboundSchema: z.ZodType<
|
|
|
3336
2992
|
z.ZodTypeDef,
|
|
3337
2993
|
GetDrainsSource1
|
|
3338
2994
|
> = z.object({
|
|
3339
|
-
kind:
|
|
2995
|
+
kind: z.literal("self-served"),
|
|
3340
2996
|
});
|
|
3341
2997
|
|
|
3342
2998
|
export function getDrainsSource1ToJSON(
|
|
@@ -3362,13 +3018,13 @@ export const DrainsSource$inboundSchema: z.ZodType<
|
|
|
3362
3018
|
z.ZodTypeDef,
|
|
3363
3019
|
unknown
|
|
3364
3020
|
> = z.union([
|
|
3365
|
-
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
3366
3021
|
z.lazy(() => GetDrainsSource1$inboundSchema),
|
|
3022
|
+
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
3367
3023
|
]);
|
|
3368
3024
|
/** @internal */
|
|
3369
3025
|
export type DrainsSource$Outbound =
|
|
3370
|
-
|
|
|
3371
|
-
|
|
|
3026
|
+
| GetDrainsSource1$Outbound
|
|
3027
|
+
| GetDrainsSource2$Outbound;
|
|
3372
3028
|
|
|
3373
3029
|
/** @internal */
|
|
3374
3030
|
export const DrainsSource$outboundSchema: z.ZodType<
|
|
@@ -3376,8 +3032,8 @@ export const DrainsSource$outboundSchema: z.ZodType<
|
|
|
3376
3032
|
z.ZodTypeDef,
|
|
3377
3033
|
DrainsSource
|
|
3378
3034
|
> = z.union([
|
|
3379
|
-
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
3380
3035
|
z.lazy(() => GetDrainsSource1$outboundSchema),
|
|
3036
|
+
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
3381
3037
|
]);
|
|
3382
3038
|
|
|
3383
3039
|
export function drainsSourceToJSON(drainsSource: DrainsSource): string {
|
|
@@ -3393,36 +3049,18 @@ export function drainsSourceFromJSON(
|
|
|
3393
3049
|
);
|
|
3394
3050
|
}
|
|
3395
3051
|
|
|
3396
|
-
/** @internal */
|
|
3397
|
-
export const GetDrainsFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum<
|
|
3398
|
-
typeof GetDrainsFilterV2DrainsVersion
|
|
3399
|
-
> = z.nativeEnum(GetDrainsFilterV2DrainsVersion);
|
|
3400
|
-
/** @internal */
|
|
3401
|
-
export const GetDrainsFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum<
|
|
3402
|
-
typeof GetDrainsFilterV2DrainsVersion
|
|
3403
|
-
> = GetDrainsFilterV2DrainsVersion$inboundSchema;
|
|
3404
|
-
|
|
3405
|
-
/** @internal */
|
|
3406
|
-
export const GetDrainsFilterDrainsType$inboundSchema: z.ZodNativeEnum<
|
|
3407
|
-
typeof GetDrainsFilterDrainsType
|
|
3408
|
-
> = z.nativeEnum(GetDrainsFilterDrainsType);
|
|
3409
|
-
/** @internal */
|
|
3410
|
-
export const GetDrainsFilterDrainsType$outboundSchema: z.ZodNativeEnum<
|
|
3411
|
-
typeof GetDrainsFilterDrainsType
|
|
3412
|
-
> = GetDrainsFilterDrainsType$inboundSchema;
|
|
3413
|
-
|
|
3414
3052
|
/** @internal */
|
|
3415
3053
|
export const GetDrainsFilter2$inboundSchema: z.ZodType<
|
|
3416
3054
|
GetDrainsFilter2,
|
|
3417
3055
|
z.ZodTypeDef,
|
|
3418
3056
|
unknown
|
|
3419
3057
|
> = z.object({
|
|
3420
|
-
type:
|
|
3058
|
+
type: z.literal("odata"),
|
|
3421
3059
|
text: z.string(),
|
|
3422
3060
|
});
|
|
3423
3061
|
/** @internal */
|
|
3424
3062
|
export type GetDrainsFilter2$Outbound = {
|
|
3425
|
-
type:
|
|
3063
|
+
type: "odata";
|
|
3426
3064
|
text: string;
|
|
3427
3065
|
};
|
|
3428
3066
|
|
|
@@ -3432,7 +3070,7 @@ export const GetDrainsFilter2$outboundSchema: z.ZodType<
|
|
|
3432
3070
|
z.ZodTypeDef,
|
|
3433
3071
|
GetDrainsFilter2
|
|
3434
3072
|
> = z.object({
|
|
3435
|
-
type:
|
|
3073
|
+
type: z.literal("odata"),
|
|
3436
3074
|
text: z.string(),
|
|
3437
3075
|
});
|
|
3438
3076
|
|
|
@@ -3453,15 +3091,6 @@ export function getDrainsFilter2FromJSON(
|
|
|
3453
3091
|
);
|
|
3454
3092
|
}
|
|
3455
3093
|
|
|
3456
|
-
/** @internal */
|
|
3457
|
-
export const GetDrainsFilterType$inboundSchema: z.ZodNativeEnum<
|
|
3458
|
-
typeof GetDrainsFilterType
|
|
3459
|
-
> = z.nativeEnum(GetDrainsFilterType);
|
|
3460
|
-
/** @internal */
|
|
3461
|
-
export const GetDrainsFilterType$outboundSchema: z.ZodNativeEnum<
|
|
3462
|
-
typeof GetDrainsFilterType
|
|
3463
|
-
> = GetDrainsFilterType$inboundSchema;
|
|
3464
|
-
|
|
3465
3094
|
/** @internal */
|
|
3466
3095
|
export const GetDrainsFilterProject$inboundSchema: z.ZodType<
|
|
3467
3096
|
GetDrainsFilterProject,
|
|
@@ -3614,14 +3243,14 @@ export const GetDrainsFilter1$inboundSchema: z.ZodType<
|
|
|
3614
3243
|
z.ZodTypeDef,
|
|
3615
3244
|
unknown
|
|
3616
3245
|
> = z.object({
|
|
3617
|
-
type:
|
|
3246
|
+
type: z.literal("basic"),
|
|
3618
3247
|
project: z.lazy(() => GetDrainsFilterProject$inboundSchema).optional(),
|
|
3619
3248
|
log: z.lazy(() => GetDrainsFilterLog$inboundSchema).optional(),
|
|
3620
3249
|
deployment: z.lazy(() => GetDrainsFilterDeployment$inboundSchema).optional(),
|
|
3621
3250
|
});
|
|
3622
3251
|
/** @internal */
|
|
3623
3252
|
export type GetDrainsFilter1$Outbound = {
|
|
3624
|
-
type:
|
|
3253
|
+
type: "basic";
|
|
3625
3254
|
project?: GetDrainsFilterProject$Outbound | undefined;
|
|
3626
3255
|
log?: GetDrainsFilterLog$Outbound | undefined;
|
|
3627
3256
|
deployment?: GetDrainsFilterDeployment$Outbound | undefined;
|
|
@@ -3633,7 +3262,7 @@ export const GetDrainsFilter1$outboundSchema: z.ZodType<
|
|
|
3633
3262
|
z.ZodTypeDef,
|
|
3634
3263
|
GetDrainsFilter1
|
|
3635
3264
|
> = z.object({
|
|
3636
|
-
type:
|
|
3265
|
+
type: z.literal("basic"),
|
|
3637
3266
|
project: z.lazy(() => GetDrainsFilterProject$outboundSchema).optional(),
|
|
3638
3267
|
log: z.lazy(() => GetDrainsFilterLog$outboundSchema).optional(),
|
|
3639
3268
|
deployment: z.lazy(() => GetDrainsFilterDeployment$outboundSchema).optional(),
|
|
@@ -3662,13 +3291,13 @@ export const GetDrainsFilterV2Filter$inboundSchema: z.ZodType<
|
|
|
3662
3291
|
z.ZodTypeDef,
|
|
3663
3292
|
unknown
|
|
3664
3293
|
> = z.union([
|
|
3665
|
-
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
3666
3294
|
z.lazy(() => GetDrainsFilter1$inboundSchema),
|
|
3295
|
+
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
3667
3296
|
]);
|
|
3668
3297
|
/** @internal */
|
|
3669
3298
|
export type GetDrainsFilterV2Filter$Outbound =
|
|
3670
|
-
|
|
|
3671
|
-
|
|
|
3299
|
+
| GetDrainsFilter1$Outbound
|
|
3300
|
+
| GetDrainsFilter2$Outbound;
|
|
3672
3301
|
|
|
3673
3302
|
/** @internal */
|
|
3674
3303
|
export const GetDrainsFilterV2Filter$outboundSchema: z.ZodType<
|
|
@@ -3676,8 +3305,8 @@ export const GetDrainsFilterV2Filter$outboundSchema: z.ZodType<
|
|
|
3676
3305
|
z.ZodTypeDef,
|
|
3677
3306
|
GetDrainsFilterV2Filter
|
|
3678
3307
|
> = z.union([
|
|
3679
|
-
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
3680
3308
|
z.lazy(() => GetDrainsFilter1$outboundSchema),
|
|
3309
|
+
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
3681
3310
|
]);
|
|
3682
3311
|
|
|
3683
3312
|
export function getDrainsFilterV2FilterToJSON(
|
|
@@ -3703,16 +3332,16 @@ export const GetDrainsFilterV22$inboundSchema: z.ZodType<
|
|
|
3703
3332
|
z.ZodTypeDef,
|
|
3704
3333
|
unknown
|
|
3705
3334
|
> = z.object({
|
|
3706
|
-
version:
|
|
3335
|
+
version: z.literal("v2"),
|
|
3707
3336
|
filter: z.union([
|
|
3708
|
-
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
3709
3337
|
z.lazy(() => GetDrainsFilter1$inboundSchema),
|
|
3338
|
+
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
3710
3339
|
]),
|
|
3711
3340
|
});
|
|
3712
3341
|
/** @internal */
|
|
3713
3342
|
export type GetDrainsFilterV22$Outbound = {
|
|
3714
|
-
version:
|
|
3715
|
-
filter:
|
|
3343
|
+
version: "v2";
|
|
3344
|
+
filter: GetDrainsFilter1$Outbound | GetDrainsFilter2$Outbound;
|
|
3716
3345
|
};
|
|
3717
3346
|
|
|
3718
3347
|
/** @internal */
|
|
@@ -3721,10 +3350,10 @@ export const GetDrainsFilterV22$outboundSchema: z.ZodType<
|
|
|
3721
3350
|
z.ZodTypeDef,
|
|
3722
3351
|
GetDrainsFilterV22
|
|
3723
3352
|
> = z.object({
|
|
3724
|
-
version:
|
|
3353
|
+
version: z.literal("v2"),
|
|
3725
3354
|
filter: z.union([
|
|
3726
|
-
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
3727
3355
|
z.lazy(() => GetDrainsFilter1$outboundSchema),
|
|
3356
|
+
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
3728
3357
|
]),
|
|
3729
3358
|
});
|
|
3730
3359
|
|
|
@@ -3745,26 +3374,17 @@ export function getDrainsFilterV22FromJSON(
|
|
|
3745
3374
|
);
|
|
3746
3375
|
}
|
|
3747
3376
|
|
|
3748
|
-
/** @internal */
|
|
3749
|
-
export const GetDrainsFilterV2Version$inboundSchema: z.ZodNativeEnum<
|
|
3750
|
-
typeof GetDrainsFilterV2Version
|
|
3751
|
-
> = z.nativeEnum(GetDrainsFilterV2Version);
|
|
3752
|
-
/** @internal */
|
|
3753
|
-
export const GetDrainsFilterV2Version$outboundSchema: z.ZodNativeEnum<
|
|
3754
|
-
typeof GetDrainsFilterV2Version
|
|
3755
|
-
> = GetDrainsFilterV2Version$inboundSchema;
|
|
3756
|
-
|
|
3757
3377
|
/** @internal */
|
|
3758
3378
|
export const GetDrainsFilterV21$inboundSchema: z.ZodType<
|
|
3759
3379
|
GetDrainsFilterV21,
|
|
3760
3380
|
z.ZodTypeDef,
|
|
3761
3381
|
unknown
|
|
3762
3382
|
> = z.object({
|
|
3763
|
-
version:
|
|
3383
|
+
version: z.literal("v1"),
|
|
3764
3384
|
});
|
|
3765
3385
|
/** @internal */
|
|
3766
3386
|
export type GetDrainsFilterV21$Outbound = {
|
|
3767
|
-
version:
|
|
3387
|
+
version: "v1";
|
|
3768
3388
|
};
|
|
3769
3389
|
|
|
3770
3390
|
/** @internal */
|
|
@@ -3773,7 +3393,7 @@ export const GetDrainsFilterV21$outboundSchema: z.ZodType<
|
|
|
3773
3393
|
z.ZodTypeDef,
|
|
3774
3394
|
GetDrainsFilterV21
|
|
3775
3395
|
> = z.object({
|
|
3776
|
-
version:
|
|
3396
|
+
version: z.literal("v1"),
|
|
3777
3397
|
});
|
|
3778
3398
|
|
|
3779
3399
|
export function getDrainsFilterV21ToJSON(
|
|
@@ -3799,13 +3419,13 @@ export const DrainsFilterV2$inboundSchema: z.ZodType<
|
|
|
3799
3419
|
z.ZodTypeDef,
|
|
3800
3420
|
unknown
|
|
3801
3421
|
> = z.union([
|
|
3802
|
-
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
3803
3422
|
z.lazy(() => GetDrainsFilterV21$inboundSchema),
|
|
3423
|
+
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
3804
3424
|
]);
|
|
3805
3425
|
/** @internal */
|
|
3806
3426
|
export type DrainsFilterV2$Outbound =
|
|
3807
|
-
|
|
|
3808
|
-
|
|
|
3427
|
+
| GetDrainsFilterV21$Outbound
|
|
3428
|
+
| GetDrainsFilterV22$Outbound;
|
|
3809
3429
|
|
|
3810
3430
|
/** @internal */
|
|
3811
3431
|
export const DrainsFilterV2$outboundSchema: z.ZodType<
|
|
@@ -3813,8 +3433,8 @@ export const DrainsFilterV2$outboundSchema: z.ZodType<
|
|
|
3813
3433
|
z.ZodTypeDef,
|
|
3814
3434
|
DrainsFilterV2
|
|
3815
3435
|
> = z.union([
|
|
3816
|
-
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
3817
3436
|
z.lazy(() => GetDrainsFilterV21$outboundSchema),
|
|
3437
|
+
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
3818
3438
|
]);
|
|
3819
3439
|
|
|
3820
3440
|
export function drainsFilterV2ToJSON(drainsFilterV2: DrainsFilterV2): string {
|
|
@@ -3854,13 +3474,13 @@ export const Drains1$inboundSchema: z.ZodType<Drains1, z.ZodTypeDef, unknown> =
|
|
|
3854
3474
|
disabledBy: z.string().optional(),
|
|
3855
3475
|
firstErrorTimestamp: z.number().optional(),
|
|
3856
3476
|
source: z.union([
|
|
3857
|
-
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
3858
3477
|
z.lazy(() => GetDrainsSource1$inboundSchema),
|
|
3478
|
+
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
3859
3479
|
]),
|
|
3860
3480
|
filter: z.string().optional(),
|
|
3861
3481
|
filterV2: z.union([
|
|
3862
|
-
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
3863
3482
|
z.lazy(() => GetDrainsFilterV21$inboundSchema),
|
|
3483
|
+
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
3864
3484
|
]).optional(),
|
|
3865
3485
|
});
|
|
3866
3486
|
/** @internal */
|
|
@@ -3885,11 +3505,11 @@ export type Drains1$Outbound = {
|
|
|
3885
3505
|
disabledReason?: string | undefined;
|
|
3886
3506
|
disabledBy?: string | undefined;
|
|
3887
3507
|
firstErrorTimestamp?: number | undefined;
|
|
3888
|
-
source:
|
|
3508
|
+
source: GetDrainsSource1$Outbound | GetDrainsSource2$Outbound;
|
|
3889
3509
|
filter?: string | undefined;
|
|
3890
3510
|
filterV2?:
|
|
3891
|
-
| GetDrainsFilterV22$Outbound
|
|
3892
3511
|
| GetDrainsFilterV21$Outbound
|
|
3512
|
+
| GetDrainsFilterV22$Outbound
|
|
3893
3513
|
| undefined;
|
|
3894
3514
|
};
|
|
3895
3515
|
|
|
@@ -3920,13 +3540,13 @@ export const Drains1$outboundSchema: z.ZodType<
|
|
|
3920
3540
|
disabledBy: z.string().optional(),
|
|
3921
3541
|
firstErrorTimestamp: z.number().optional(),
|
|
3922
3542
|
source: z.union([
|
|
3923
|
-
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
3924
3543
|
z.lazy(() => GetDrainsSource1$outboundSchema),
|
|
3544
|
+
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
3925
3545
|
]),
|
|
3926
3546
|
filter: z.string().optional(),
|
|
3927
3547
|
filterV2: z.union([
|
|
3928
|
-
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
3929
3548
|
z.lazy(() => GetDrainsFilterV21$outboundSchema),
|
|
3549
|
+
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
3930
3550
|
]).optional(),
|
|
3931
3551
|
});
|
|
3932
3552
|
|