@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
|
@@ -4,18 +4,9 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type = {
|
|
8
|
-
Internal: "internal",
|
|
9
|
-
};
|
|
10
7
|
export const GetDrainsDeliveryDrainsTarget = {
|
|
11
8
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
12
9
|
};
|
|
13
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType = {
|
|
14
|
-
Clickhouse: "clickhouse",
|
|
15
|
-
};
|
|
16
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType = {
|
|
17
|
-
Otlphttp: "otlphttp",
|
|
18
|
-
};
|
|
19
10
|
export const GetDrainsDeliveryDrainsResponse200Encoding = {
|
|
20
11
|
Json: "json",
|
|
21
12
|
Proto: "proto",
|
|
@@ -23,9 +14,6 @@ export const GetDrainsDeliveryDrainsResponse200Encoding = {
|
|
|
23
14
|
export const GetDrainsSecretDrainsResponse200Kind = {
|
|
24
15
|
IntegrationSecret: "INTEGRATION_SECRET",
|
|
25
16
|
};
|
|
26
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType = {
|
|
27
|
-
Http: "http",
|
|
28
|
-
};
|
|
29
17
|
export const GetDrainsDeliveryDrainsResponseEncoding = {
|
|
30
18
|
Json: "json",
|
|
31
19
|
Ndjson: "ndjson",
|
|
@@ -55,21 +43,6 @@ export const GetDrainsDrainsDisabledReason = {
|
|
|
55
43
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
56
44
|
DisabledByAdmin: "disabled-by-admin",
|
|
57
45
|
};
|
|
58
|
-
export const GetDrainsSourceDrainsResponse200Kind = {
|
|
59
|
-
Integration: "integration",
|
|
60
|
-
};
|
|
61
|
-
export const GetDrainsSourceDrainsResponseKind = {
|
|
62
|
-
SelfServed: "self-served",
|
|
63
|
-
};
|
|
64
|
-
export const GetDrainsFilterV2DrainsResponse200Version = {
|
|
65
|
-
V2: "v2",
|
|
66
|
-
};
|
|
67
|
-
export const GetDrainsFilterDrainsResponse200Type = {
|
|
68
|
-
Odata: "odata",
|
|
69
|
-
};
|
|
70
|
-
export const GetDrainsFilterDrainsResponseType = {
|
|
71
|
-
Basic: "basic",
|
|
72
|
-
};
|
|
73
46
|
export const GetDrainsFilterDrainsSources = {
|
|
74
47
|
Build: "build",
|
|
75
48
|
Edge: "edge",
|
|
@@ -83,27 +56,9 @@ export const GetDrainsFilterDrainsEnvironments = {
|
|
|
83
56
|
Production: "production",
|
|
84
57
|
Preview: "preview",
|
|
85
58
|
};
|
|
86
|
-
export const GetDrainsFilterV2DrainsResponseVersion = {
|
|
87
|
-
V1: "v1",
|
|
88
|
-
};
|
|
89
|
-
export const GetDrainsProjectAccessDrainsAccess = {
|
|
90
|
-
Some: "some",
|
|
91
|
-
};
|
|
92
|
-
export const GetDrainsProjectAccessAccess = {
|
|
93
|
-
All: "all",
|
|
94
|
-
};
|
|
95
|
-
export const GetDrainsDeliveryDrainsResponse200Type = {
|
|
96
|
-
Internal: "internal",
|
|
97
|
-
};
|
|
98
59
|
export const GetDrainsDeliveryTarget = {
|
|
99
60
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
100
61
|
};
|
|
101
|
-
export const GetDrainsDeliveryDrainsResponseType = {
|
|
102
|
-
Clickhouse: "clickhouse",
|
|
103
|
-
};
|
|
104
|
-
export const GetDrainsDeliveryDrainsType = {
|
|
105
|
-
Otlphttp: "otlphttp",
|
|
106
|
-
};
|
|
107
62
|
export const GetDrainsDeliveryDrainsEncoding = {
|
|
108
63
|
Json: "json",
|
|
109
64
|
Proto: "proto",
|
|
@@ -111,9 +66,6 @@ export const GetDrainsDeliveryDrainsEncoding = {
|
|
|
111
66
|
export const GetDrainsSecretDrainsKind = {
|
|
112
67
|
IntegrationSecret: "INTEGRATION_SECRET",
|
|
113
68
|
};
|
|
114
|
-
export const GetDrainsDeliveryType = {
|
|
115
|
-
Http: "http",
|
|
116
|
-
};
|
|
117
69
|
export const GetDrainsDeliveryEncoding = {
|
|
118
70
|
Json: "json",
|
|
119
71
|
Ndjson: "ndjson",
|
|
@@ -143,21 +95,6 @@ export const DrainsDisabledReason = {
|
|
|
143
95
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
144
96
|
DisabledByAdmin: "disabled-by-admin",
|
|
145
97
|
};
|
|
146
|
-
export const GetDrainsSourceDrainsKind = {
|
|
147
|
-
Integration: "integration",
|
|
148
|
-
};
|
|
149
|
-
export const GetDrainsSourceKind = {
|
|
150
|
-
SelfServed: "self-served",
|
|
151
|
-
};
|
|
152
|
-
export const GetDrainsFilterV2DrainsVersion = {
|
|
153
|
-
V2: "v2",
|
|
154
|
-
};
|
|
155
|
-
export const GetDrainsFilterDrainsType = {
|
|
156
|
-
Odata: "odata",
|
|
157
|
-
};
|
|
158
|
-
export const GetDrainsFilterType = {
|
|
159
|
-
Basic: "basic",
|
|
160
|
-
};
|
|
161
98
|
export const GetDrainsFilterSources = {
|
|
162
99
|
Build: "build",
|
|
163
100
|
Edge: "edge",
|
|
@@ -171,9 +108,6 @@ export const GetDrainsFilterEnvironments = {
|
|
|
171
108
|
Production: "production",
|
|
172
109
|
Preview: "preview",
|
|
173
110
|
};
|
|
174
|
-
export const GetDrainsFilterV2Version = {
|
|
175
|
-
V1: "v1",
|
|
176
|
-
};
|
|
177
111
|
/** @internal */
|
|
178
112
|
export const GetDrainsRequest$inboundSchema = z.object({
|
|
179
113
|
projectId: z.string().optional(),
|
|
@@ -265,21 +199,17 @@ export function getDrainsDrainsSchemasFromJSON(jsonString) {
|
|
|
265
199
|
return safeParse(jsonString, (x) => GetDrainsDrainsSchemas$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDrainsSchemas' from JSON`);
|
|
266
200
|
}
|
|
267
201
|
/** @internal */
|
|
268
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type);
|
|
269
|
-
/** @internal */
|
|
270
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$outboundSchema = GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema;
|
|
271
|
-
/** @internal */
|
|
272
202
|
export const GetDrainsDeliveryDrainsTarget$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsTarget);
|
|
273
203
|
/** @internal */
|
|
274
204
|
export const GetDrainsDeliveryDrainsTarget$outboundSchema = GetDrainsDeliveryDrainsTarget$inboundSchema;
|
|
275
205
|
/** @internal */
|
|
276
206
|
export const GetDrainsDeliveryDrains4$inboundSchema = z.object({
|
|
277
|
-
type:
|
|
207
|
+
type: z.literal("internal"),
|
|
278
208
|
target: GetDrainsDeliveryDrainsTarget$inboundSchema,
|
|
279
209
|
});
|
|
280
210
|
/** @internal */
|
|
281
211
|
export const GetDrainsDeliveryDrains4$outboundSchema = z.object({
|
|
282
|
-
type:
|
|
212
|
+
type: z.literal("internal"),
|
|
283
213
|
target: GetDrainsDeliveryDrainsTarget$outboundSchema,
|
|
284
214
|
});
|
|
285
215
|
export function getDrainsDeliveryDrains4ToJSON(getDrainsDeliveryDrains4) {
|
|
@@ -289,18 +219,14 @@ export function getDrainsDeliveryDrains4FromJSON(jsonString) {
|
|
|
289
219
|
return safeParse(jsonString, (x) => GetDrainsDeliveryDrains4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDeliveryDrains4' from JSON`);
|
|
290
220
|
}
|
|
291
221
|
/** @internal */
|
|
292
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType);
|
|
293
|
-
/** @internal */
|
|
294
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$outboundSchema = GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema;
|
|
295
|
-
/** @internal */
|
|
296
222
|
export const GetDrainsDeliveryDrains3$inboundSchema = z.object({
|
|
297
|
-
type:
|
|
223
|
+
type: z.literal("clickhouse"),
|
|
298
224
|
endpoint: z.string(),
|
|
299
225
|
table: z.string(),
|
|
300
226
|
});
|
|
301
227
|
/** @internal */
|
|
302
228
|
export const GetDrainsDeliveryDrains3$outboundSchema = z.object({
|
|
303
|
-
type:
|
|
229
|
+
type: z.literal("clickhouse"),
|
|
304
230
|
endpoint: z.string(),
|
|
305
231
|
table: z.string(),
|
|
306
232
|
});
|
|
@@ -311,10 +237,6 @@ export function getDrainsDeliveryDrains3FromJSON(jsonString) {
|
|
|
311
237
|
return safeParse(jsonString, (x) => GetDrainsDeliveryDrains3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDeliveryDrains3' from JSON`);
|
|
312
238
|
}
|
|
313
239
|
/** @internal */
|
|
314
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType);
|
|
315
|
-
/** @internal */
|
|
316
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema = GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
317
|
-
/** @internal */
|
|
318
240
|
export const GetDrainsDeliveryDrainsEndpoint$inboundSchema = z.object({
|
|
319
241
|
traces: z.string(),
|
|
320
242
|
});
|
|
@@ -369,7 +291,7 @@ export function getDrainsDeliveryDrainsResponse200SecretFromJSON(jsonString) {
|
|
|
369
291
|
}
|
|
370
292
|
/** @internal */
|
|
371
293
|
export const GetDrainsDeliveryDrains2$inboundSchema = z.object({
|
|
372
|
-
type:
|
|
294
|
+
type: z.literal("otlphttp"),
|
|
373
295
|
endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$inboundSchema),
|
|
374
296
|
encoding: GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema,
|
|
375
297
|
headers: z.record(z.string()),
|
|
@@ -380,7 +302,7 @@ export const GetDrainsDeliveryDrains2$inboundSchema = z.object({
|
|
|
380
302
|
});
|
|
381
303
|
/** @internal */
|
|
382
304
|
export const GetDrainsDeliveryDrains2$outboundSchema = z.object({
|
|
383
|
-
type:
|
|
305
|
+
type: z.literal("otlphttp"),
|
|
384
306
|
endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$outboundSchema),
|
|
385
307
|
encoding: GetDrainsDeliveryDrainsResponse200Encoding$outboundSchema,
|
|
386
308
|
headers: z.record(z.string()),
|
|
@@ -396,10 +318,6 @@ export function getDrainsDeliveryDrains2FromJSON(jsonString) {
|
|
|
396
318
|
return safeParse(jsonString, (x) => GetDrainsDeliveryDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDeliveryDrains2' from JSON`);
|
|
397
319
|
}
|
|
398
320
|
/** @internal */
|
|
399
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONType);
|
|
400
|
-
/** @internal */
|
|
401
|
-
export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$outboundSchema = GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema;
|
|
402
|
-
/** @internal */
|
|
403
321
|
export const GetDrainsDeliveryDrainsResponseEncoding$inboundSchema = z
|
|
404
322
|
.nativeEnum(GetDrainsDeliveryDrainsResponseEncoding);
|
|
405
323
|
/** @internal */
|
|
@@ -444,7 +362,7 @@ export function getDrainsDeliveryDrainsResponseSecretFromJSON(jsonString) {
|
|
|
444
362
|
}
|
|
445
363
|
/** @internal */
|
|
446
364
|
export const GetDrainsDeliveryDrains1$inboundSchema = z.object({
|
|
447
|
-
type:
|
|
365
|
+
type: z.literal("http"),
|
|
448
366
|
endpoint: z.string(),
|
|
449
367
|
encoding: GetDrainsDeliveryDrainsResponseEncoding$inboundSchema,
|
|
450
368
|
compression: GetDrainsDeliveryDrainsCompression$inboundSchema.optional(),
|
|
@@ -456,7 +374,7 @@ export const GetDrainsDeliveryDrains1$inboundSchema = z.object({
|
|
|
456
374
|
});
|
|
457
375
|
/** @internal */
|
|
458
376
|
export const GetDrainsDeliveryDrains1$outboundSchema = z.object({
|
|
459
|
-
type:
|
|
377
|
+
type: z.literal("http"),
|
|
460
378
|
endpoint: z.string(),
|
|
461
379
|
encoding: GetDrainsDeliveryDrainsResponseEncoding$outboundSchema,
|
|
462
380
|
compression: GetDrainsDeliveryDrainsCompression$outboundSchema.optional(),
|
|
@@ -529,12 +447,8 @@ export const GetDrainsDrainsDisabledReason$inboundSchema = z.nativeEnum(GetDrain
|
|
|
529
447
|
/** @internal */
|
|
530
448
|
export const GetDrainsDrainsDisabledReason$outboundSchema = GetDrainsDrainsDisabledReason$inboundSchema;
|
|
531
449
|
/** @internal */
|
|
532
|
-
export const GetDrainsSourceDrainsResponse200Kind$inboundSchema = z.nativeEnum(GetDrainsSourceDrainsResponse200Kind);
|
|
533
|
-
/** @internal */
|
|
534
|
-
export const GetDrainsSourceDrainsResponse200Kind$outboundSchema = GetDrainsSourceDrainsResponse200Kind$inboundSchema;
|
|
535
|
-
/** @internal */
|
|
536
450
|
export const GetDrainsSourceDrains2$inboundSchema = z.object({
|
|
537
|
-
kind:
|
|
451
|
+
kind: z.literal("integration"),
|
|
538
452
|
resourceId: z.string().optional(),
|
|
539
453
|
externalResourceId: z.string().optional(),
|
|
540
454
|
integrationId: z.string(),
|
|
@@ -542,7 +456,7 @@ export const GetDrainsSourceDrains2$inboundSchema = z.object({
|
|
|
542
456
|
});
|
|
543
457
|
/** @internal */
|
|
544
458
|
export const GetDrainsSourceDrains2$outboundSchema = z.object({
|
|
545
|
-
kind:
|
|
459
|
+
kind: z.literal("integration"),
|
|
546
460
|
resourceId: z.string().optional(),
|
|
547
461
|
externalResourceId: z.string().optional(),
|
|
548
462
|
integrationId: z.string(),
|
|
@@ -555,16 +469,12 @@ export function getDrainsSourceDrains2FromJSON(jsonString) {
|
|
|
555
469
|
return safeParse(jsonString, (x) => GetDrainsSourceDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsSourceDrains2' from JSON`);
|
|
556
470
|
}
|
|
557
471
|
/** @internal */
|
|
558
|
-
export const GetDrainsSourceDrainsResponseKind$inboundSchema = z.nativeEnum(GetDrainsSourceDrainsResponseKind);
|
|
559
|
-
/** @internal */
|
|
560
|
-
export const GetDrainsSourceDrainsResponseKind$outboundSchema = GetDrainsSourceDrainsResponseKind$inboundSchema;
|
|
561
|
-
/** @internal */
|
|
562
472
|
export const GetDrainsSourceDrains1$inboundSchema = z.object({
|
|
563
|
-
kind:
|
|
473
|
+
kind: z.literal("self-served"),
|
|
564
474
|
});
|
|
565
475
|
/** @internal */
|
|
566
476
|
export const GetDrainsSourceDrains1$outboundSchema = z.object({
|
|
567
|
-
kind:
|
|
477
|
+
kind: z.literal("self-served"),
|
|
568
478
|
});
|
|
569
479
|
export function getDrainsSourceDrains1ToJSON(getDrainsSourceDrains1) {
|
|
570
480
|
return JSON.stringify(GetDrainsSourceDrains1$outboundSchema.parse(getDrainsSourceDrains1));
|
|
@@ -574,13 +484,13 @@ export function getDrainsSourceDrains1FromJSON(jsonString) {
|
|
|
574
484
|
}
|
|
575
485
|
/** @internal */
|
|
576
486
|
export const GetDrainsDrainsSource$inboundSchema = z.union([
|
|
577
|
-
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
578
487
|
z.lazy(() => GetDrainsSourceDrains1$inboundSchema),
|
|
488
|
+
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
579
489
|
]);
|
|
580
490
|
/** @internal */
|
|
581
491
|
export const GetDrainsDrainsSource$outboundSchema = z.union([
|
|
582
|
-
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
583
492
|
z.lazy(() => GetDrainsSourceDrains1$outboundSchema),
|
|
493
|
+
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
584
494
|
]);
|
|
585
495
|
export function getDrainsDrainsSourceToJSON(getDrainsDrainsSource) {
|
|
586
496
|
return JSON.stringify(GetDrainsDrainsSource$outboundSchema.parse(getDrainsDrainsSource));
|
|
@@ -589,22 +499,13 @@ export function getDrainsDrainsSourceFromJSON(jsonString) {
|
|
|
589
499
|
return safeParse(jsonString, (x) => GetDrainsDrainsSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDrainsSource' from JSON`);
|
|
590
500
|
}
|
|
591
501
|
/** @internal */
|
|
592
|
-
export const GetDrainsFilterV2DrainsResponse200Version$inboundSchema = z
|
|
593
|
-
.nativeEnum(GetDrainsFilterV2DrainsResponse200Version);
|
|
594
|
-
/** @internal */
|
|
595
|
-
export const GetDrainsFilterV2DrainsResponse200Version$outboundSchema = GetDrainsFilterV2DrainsResponse200Version$inboundSchema;
|
|
596
|
-
/** @internal */
|
|
597
|
-
export const GetDrainsFilterDrainsResponse200Type$inboundSchema = z.nativeEnum(GetDrainsFilterDrainsResponse200Type);
|
|
598
|
-
/** @internal */
|
|
599
|
-
export const GetDrainsFilterDrainsResponse200Type$outboundSchema = GetDrainsFilterDrainsResponse200Type$inboundSchema;
|
|
600
|
-
/** @internal */
|
|
601
502
|
export const GetDrainsFilterDrains2$inboundSchema = z.object({
|
|
602
|
-
type:
|
|
503
|
+
type: z.literal("odata"),
|
|
603
504
|
text: z.string(),
|
|
604
505
|
});
|
|
605
506
|
/** @internal */
|
|
606
507
|
export const GetDrainsFilterDrains2$outboundSchema = z.object({
|
|
607
|
-
type:
|
|
508
|
+
type: z.literal("odata"),
|
|
608
509
|
text: z.string(),
|
|
609
510
|
});
|
|
610
511
|
export function getDrainsFilterDrains2ToJSON(getDrainsFilterDrains2) {
|
|
@@ -614,10 +515,6 @@ export function getDrainsFilterDrains2FromJSON(jsonString) {
|
|
|
614
515
|
return safeParse(jsonString, (x) => GetDrainsFilterDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsFilterDrains2' from JSON`);
|
|
615
516
|
}
|
|
616
517
|
/** @internal */
|
|
617
|
-
export const GetDrainsFilterDrainsResponseType$inboundSchema = z.nativeEnum(GetDrainsFilterDrainsResponseType);
|
|
618
|
-
/** @internal */
|
|
619
|
-
export const GetDrainsFilterDrainsResponseType$outboundSchema = GetDrainsFilterDrainsResponseType$inboundSchema;
|
|
620
|
-
/** @internal */
|
|
621
518
|
export const GetDrainsFilterDrainsProject$inboundSchema = z.object({
|
|
622
519
|
ids: z.array(z.string()).optional(),
|
|
623
520
|
});
|
|
@@ -681,7 +578,7 @@ export function getDrainsFilterDrainsDeploymentFromJSON(jsonString) {
|
|
|
681
578
|
}
|
|
682
579
|
/** @internal */
|
|
683
580
|
export const GetDrainsFilterDrains1$inboundSchema = z.object({
|
|
684
|
-
type:
|
|
581
|
+
type: z.literal("basic"),
|
|
685
582
|
project: z.lazy(() => GetDrainsFilterDrainsProject$inboundSchema).optional(),
|
|
686
583
|
log: z.lazy(() => GetDrainsFilterDrainsLog$inboundSchema).optional(),
|
|
687
584
|
deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$inboundSchema)
|
|
@@ -689,7 +586,7 @@ export const GetDrainsFilterDrains1$inboundSchema = z.object({
|
|
|
689
586
|
});
|
|
690
587
|
/** @internal */
|
|
691
588
|
export const GetDrainsFilterDrains1$outboundSchema = z.object({
|
|
692
|
-
type:
|
|
589
|
+
type: z.literal("basic"),
|
|
693
590
|
project: z.lazy(() => GetDrainsFilterDrainsProject$outboundSchema).optional(),
|
|
694
591
|
log: z.lazy(() => GetDrainsFilterDrainsLog$outboundSchema).optional(),
|
|
695
592
|
deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$outboundSchema)
|
|
@@ -703,13 +600,13 @@ export function getDrainsFilterDrains1FromJSON(jsonString) {
|
|
|
703
600
|
}
|
|
704
601
|
/** @internal */
|
|
705
602
|
export const GetDrainsFilterV2DrainsFilter$inboundSchema = z.union([
|
|
706
|
-
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
707
603
|
z.lazy(() => GetDrainsFilterDrains1$inboundSchema),
|
|
604
|
+
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
708
605
|
]);
|
|
709
606
|
/** @internal */
|
|
710
607
|
export const GetDrainsFilterV2DrainsFilter$outboundSchema = z.union([
|
|
711
|
-
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
712
608
|
z.lazy(() => GetDrainsFilterDrains1$outboundSchema),
|
|
609
|
+
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
713
610
|
]);
|
|
714
611
|
export function getDrainsFilterV2DrainsFilterToJSON(getDrainsFilterV2DrainsFilter) {
|
|
715
612
|
return JSON.stringify(GetDrainsFilterV2DrainsFilter$outboundSchema.parse(getDrainsFilterV2DrainsFilter));
|
|
@@ -719,18 +616,18 @@ export function getDrainsFilterV2DrainsFilterFromJSON(jsonString) {
|
|
|
719
616
|
}
|
|
720
617
|
/** @internal */
|
|
721
618
|
export const GetDrainsFilterV2Drains2$inboundSchema = z.object({
|
|
722
|
-
version:
|
|
619
|
+
version: z.literal("v2"),
|
|
723
620
|
filter: z.union([
|
|
724
|
-
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
725
621
|
z.lazy(() => GetDrainsFilterDrains1$inboundSchema),
|
|
622
|
+
z.lazy(() => GetDrainsFilterDrains2$inboundSchema),
|
|
726
623
|
]),
|
|
727
624
|
});
|
|
728
625
|
/** @internal */
|
|
729
626
|
export const GetDrainsFilterV2Drains2$outboundSchema = z.object({
|
|
730
|
-
version:
|
|
627
|
+
version: z.literal("v2"),
|
|
731
628
|
filter: z.union([
|
|
732
|
-
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
733
629
|
z.lazy(() => GetDrainsFilterDrains1$outboundSchema),
|
|
630
|
+
z.lazy(() => GetDrainsFilterDrains2$outboundSchema),
|
|
734
631
|
]),
|
|
735
632
|
});
|
|
736
633
|
export function getDrainsFilterV2Drains2ToJSON(getDrainsFilterV2Drains2) {
|
|
@@ -740,16 +637,12 @@ export function getDrainsFilterV2Drains2FromJSON(jsonString) {
|
|
|
740
637
|
return safeParse(jsonString, (x) => GetDrainsFilterV2Drains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsFilterV2Drains2' from JSON`);
|
|
741
638
|
}
|
|
742
639
|
/** @internal */
|
|
743
|
-
export const GetDrainsFilterV2DrainsResponseVersion$inboundSchema = z.nativeEnum(GetDrainsFilterV2DrainsResponseVersion);
|
|
744
|
-
/** @internal */
|
|
745
|
-
export const GetDrainsFilterV2DrainsResponseVersion$outboundSchema = GetDrainsFilterV2DrainsResponseVersion$inboundSchema;
|
|
746
|
-
/** @internal */
|
|
747
640
|
export const GetDrainsFilterV2Drains1$inboundSchema = z.object({
|
|
748
|
-
version:
|
|
641
|
+
version: z.literal("v1"),
|
|
749
642
|
});
|
|
750
643
|
/** @internal */
|
|
751
644
|
export const GetDrainsFilterV2Drains1$outboundSchema = z.object({
|
|
752
|
-
version:
|
|
645
|
+
version: z.literal("v1"),
|
|
753
646
|
});
|
|
754
647
|
export function getDrainsFilterV2Drains1ToJSON(getDrainsFilterV2Drains1) {
|
|
755
648
|
return JSON.stringify(GetDrainsFilterV2Drains1$outboundSchema.parse(getDrainsFilterV2Drains1));
|
|
@@ -759,13 +652,13 @@ export function getDrainsFilterV2Drains1FromJSON(jsonString) {
|
|
|
759
652
|
}
|
|
760
653
|
/** @internal */
|
|
761
654
|
export const GetDrainsDrainsFilterV2$inboundSchema = z.union([
|
|
762
|
-
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
763
655
|
z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema),
|
|
656
|
+
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
764
657
|
]);
|
|
765
658
|
/** @internal */
|
|
766
659
|
export const GetDrainsDrainsFilterV2$outboundSchema = z.union([
|
|
767
|
-
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
768
660
|
z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema),
|
|
661
|
+
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
769
662
|
]);
|
|
770
663
|
export function getDrainsDrainsFilterV2ToJSON(getDrainsDrainsFilterV2) {
|
|
771
664
|
return JSON.stringify(GetDrainsDrainsFilterV2$outboundSchema.parse(getDrainsDrainsFilterV2));
|
|
@@ -774,17 +667,13 @@ export function getDrainsDrainsFilterV2FromJSON(jsonString) {
|
|
|
774
667
|
return safeParse(jsonString, (x) => GetDrainsDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDrainsFilterV2' from JSON`);
|
|
775
668
|
}
|
|
776
669
|
/** @internal */
|
|
777
|
-
export const GetDrainsProjectAccessDrainsAccess$inboundSchema = z.nativeEnum(GetDrainsProjectAccessDrainsAccess);
|
|
778
|
-
/** @internal */
|
|
779
|
-
export const GetDrainsProjectAccessDrainsAccess$outboundSchema = GetDrainsProjectAccessDrainsAccess$inboundSchema;
|
|
780
|
-
/** @internal */
|
|
781
670
|
export const GetDrainsProjectAccess2$inboundSchema = z.object({
|
|
782
|
-
access:
|
|
671
|
+
access: z.literal("some"),
|
|
783
672
|
projectIds: z.array(z.string()),
|
|
784
673
|
});
|
|
785
674
|
/** @internal */
|
|
786
675
|
export const GetDrainsProjectAccess2$outboundSchema = z.object({
|
|
787
|
-
access:
|
|
676
|
+
access: z.literal("some"),
|
|
788
677
|
projectIds: z.array(z.string()),
|
|
789
678
|
});
|
|
790
679
|
export function getDrainsProjectAccess2ToJSON(getDrainsProjectAccess2) {
|
|
@@ -794,16 +683,12 @@ export function getDrainsProjectAccess2FromJSON(jsonString) {
|
|
|
794
683
|
return safeParse(jsonString, (x) => GetDrainsProjectAccess2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsProjectAccess2' from JSON`);
|
|
795
684
|
}
|
|
796
685
|
/** @internal */
|
|
797
|
-
export const GetDrainsProjectAccessAccess$inboundSchema = z.nativeEnum(GetDrainsProjectAccessAccess);
|
|
798
|
-
/** @internal */
|
|
799
|
-
export const GetDrainsProjectAccessAccess$outboundSchema = GetDrainsProjectAccessAccess$inboundSchema;
|
|
800
|
-
/** @internal */
|
|
801
686
|
export const GetDrainsProjectAccess1$inboundSchema = z.object({
|
|
802
|
-
access:
|
|
687
|
+
access: z.literal("all"),
|
|
803
688
|
});
|
|
804
689
|
/** @internal */
|
|
805
690
|
export const GetDrainsProjectAccess1$outboundSchema = z.object({
|
|
806
|
-
access:
|
|
691
|
+
access: z.literal("all"),
|
|
807
692
|
});
|
|
808
693
|
export function getDrainsProjectAccess1ToJSON(getDrainsProjectAccess1) {
|
|
809
694
|
return JSON.stringify(GetDrainsProjectAccess1$outboundSchema.parse(getDrainsProjectAccess1));
|
|
@@ -813,13 +698,13 @@ export function getDrainsProjectAccess1FromJSON(jsonString) {
|
|
|
813
698
|
}
|
|
814
699
|
/** @internal */
|
|
815
700
|
export const DrainsProjectAccess$inboundSchema = z.union([
|
|
816
|
-
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
817
701
|
z.lazy(() => GetDrainsProjectAccess1$inboundSchema),
|
|
702
|
+
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
818
703
|
]);
|
|
819
704
|
/** @internal */
|
|
820
705
|
export const DrainsProjectAccess$outboundSchema = z.union([
|
|
821
|
-
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
822
706
|
z.lazy(() => GetDrainsProjectAccess1$outboundSchema),
|
|
707
|
+
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
823
708
|
]);
|
|
824
709
|
export function drainsProjectAccessToJSON(drainsProjectAccess) {
|
|
825
710
|
return JSON.stringify(DrainsProjectAccess$outboundSchema.parse(drainsProjectAccess));
|
|
@@ -851,20 +736,20 @@ export const Drains2$inboundSchema = z.object({
|
|
|
851
736
|
disabledBy: z.string().optional(),
|
|
852
737
|
firstErrorTimestamp: z.number().optional(),
|
|
853
738
|
source: z.union([
|
|
854
|
-
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
855
739
|
z.lazy(() => GetDrainsSourceDrains1$inboundSchema),
|
|
740
|
+
z.lazy(() => GetDrainsSourceDrains2$inboundSchema),
|
|
856
741
|
]),
|
|
857
742
|
filter: z.string().optional(),
|
|
858
743
|
filterV2: z.union([
|
|
859
|
-
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
860
744
|
z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema),
|
|
745
|
+
z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema),
|
|
861
746
|
]).optional(),
|
|
862
747
|
integrationIcon: z.string().optional(),
|
|
863
748
|
integrationConfigurationUri: z.string().optional(),
|
|
864
749
|
integrationWebsite: z.string().optional(),
|
|
865
750
|
projectAccess: z.union([
|
|
866
|
-
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
867
751
|
z.lazy(() => GetDrainsProjectAccess1$inboundSchema),
|
|
752
|
+
z.lazy(() => GetDrainsProjectAccess2$inboundSchema),
|
|
868
753
|
]).optional(),
|
|
869
754
|
});
|
|
870
755
|
/** @internal */
|
|
@@ -891,20 +776,20 @@ export const Drains2$outboundSchema = z.object({
|
|
|
891
776
|
disabledBy: z.string().optional(),
|
|
892
777
|
firstErrorTimestamp: z.number().optional(),
|
|
893
778
|
source: z.union([
|
|
894
|
-
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
895
779
|
z.lazy(() => GetDrainsSourceDrains1$outboundSchema),
|
|
780
|
+
z.lazy(() => GetDrainsSourceDrains2$outboundSchema),
|
|
896
781
|
]),
|
|
897
782
|
filter: z.string().optional(),
|
|
898
783
|
filterV2: z.union([
|
|
899
|
-
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
900
784
|
z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema),
|
|
785
|
+
z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema),
|
|
901
786
|
]).optional(),
|
|
902
787
|
integrationIcon: z.string().optional(),
|
|
903
788
|
integrationConfigurationUri: z.string().optional(),
|
|
904
789
|
integrationWebsite: z.string().optional(),
|
|
905
790
|
projectAccess: z.union([
|
|
906
|
-
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
907
791
|
z.lazy(() => GetDrainsProjectAccess1$outboundSchema),
|
|
792
|
+
z.lazy(() => GetDrainsProjectAccess2$outboundSchema),
|
|
908
793
|
]).optional(),
|
|
909
794
|
});
|
|
910
795
|
export function drains2ToJSON(drains2) {
|
|
@@ -982,21 +867,17 @@ export function drainsSchemasFromJSON(jsonString) {
|
|
|
982
867
|
return safeParse(jsonString, (x) => DrainsSchemas$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DrainsSchemas' from JSON`);
|
|
983
868
|
}
|
|
984
869
|
/** @internal */
|
|
985
|
-
export const GetDrainsDeliveryDrainsResponse200Type$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponse200Type);
|
|
986
|
-
/** @internal */
|
|
987
|
-
export const GetDrainsDeliveryDrainsResponse200Type$outboundSchema = GetDrainsDeliveryDrainsResponse200Type$inboundSchema;
|
|
988
|
-
/** @internal */
|
|
989
870
|
export const GetDrainsDeliveryTarget$inboundSchema = z.nativeEnum(GetDrainsDeliveryTarget);
|
|
990
871
|
/** @internal */
|
|
991
872
|
export const GetDrainsDeliveryTarget$outboundSchema = GetDrainsDeliveryTarget$inboundSchema;
|
|
992
873
|
/** @internal */
|
|
993
874
|
export const GetDrainsDelivery4$inboundSchema = z.object({
|
|
994
|
-
type:
|
|
875
|
+
type: z.literal("internal"),
|
|
995
876
|
target: GetDrainsDeliveryTarget$inboundSchema,
|
|
996
877
|
});
|
|
997
878
|
/** @internal */
|
|
998
879
|
export const GetDrainsDelivery4$outboundSchema = z.object({
|
|
999
|
-
type:
|
|
880
|
+
type: z.literal("internal"),
|
|
1000
881
|
target: GetDrainsDeliveryTarget$outboundSchema,
|
|
1001
882
|
});
|
|
1002
883
|
export function getDrainsDelivery4ToJSON(getDrainsDelivery4) {
|
|
@@ -1006,18 +887,14 @@ export function getDrainsDelivery4FromJSON(jsonString) {
|
|
|
1006
887
|
return safeParse(jsonString, (x) => GetDrainsDelivery4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDelivery4' from JSON`);
|
|
1007
888
|
}
|
|
1008
889
|
/** @internal */
|
|
1009
|
-
export const GetDrainsDeliveryDrainsResponseType$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsResponseType);
|
|
1010
|
-
/** @internal */
|
|
1011
|
-
export const GetDrainsDeliveryDrainsResponseType$outboundSchema = GetDrainsDeliveryDrainsResponseType$inboundSchema;
|
|
1012
|
-
/** @internal */
|
|
1013
890
|
export const GetDrainsDelivery3$inboundSchema = z.object({
|
|
1014
|
-
type:
|
|
891
|
+
type: z.literal("clickhouse"),
|
|
1015
892
|
endpoint: z.string(),
|
|
1016
893
|
table: z.string(),
|
|
1017
894
|
});
|
|
1018
895
|
/** @internal */
|
|
1019
896
|
export const GetDrainsDelivery3$outboundSchema = z.object({
|
|
1020
|
-
type:
|
|
897
|
+
type: z.literal("clickhouse"),
|
|
1021
898
|
endpoint: z.string(),
|
|
1022
899
|
table: z.string(),
|
|
1023
900
|
});
|
|
@@ -1028,10 +905,6 @@ export function getDrainsDelivery3FromJSON(jsonString) {
|
|
|
1028
905
|
return safeParse(jsonString, (x) => GetDrainsDelivery3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDelivery3' from JSON`);
|
|
1029
906
|
}
|
|
1030
907
|
/** @internal */
|
|
1031
|
-
export const GetDrainsDeliveryDrainsType$inboundSchema = z.nativeEnum(GetDrainsDeliveryDrainsType);
|
|
1032
|
-
/** @internal */
|
|
1033
|
-
export const GetDrainsDeliveryDrainsType$outboundSchema = GetDrainsDeliveryDrainsType$inboundSchema;
|
|
1034
|
-
/** @internal */
|
|
1035
908
|
export const GetDrainsDeliveryEndpoint$inboundSchema = z.object({
|
|
1036
909
|
traces: z.string(),
|
|
1037
910
|
});
|
|
@@ -1079,7 +952,7 @@ export function getDrainsDeliveryDrainsSecretFromJSON(jsonString) {
|
|
|
1079
952
|
}
|
|
1080
953
|
/** @internal */
|
|
1081
954
|
export const GetDrainsDelivery2$inboundSchema = z.object({
|
|
1082
|
-
type:
|
|
955
|
+
type: z.literal("otlphttp"),
|
|
1083
956
|
endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$inboundSchema),
|
|
1084
957
|
encoding: GetDrainsDeliveryDrainsEncoding$inboundSchema,
|
|
1085
958
|
headers: z.record(z.string()),
|
|
@@ -1090,7 +963,7 @@ export const GetDrainsDelivery2$inboundSchema = z.object({
|
|
|
1090
963
|
});
|
|
1091
964
|
/** @internal */
|
|
1092
965
|
export const GetDrainsDelivery2$outboundSchema = z.object({
|
|
1093
|
-
type:
|
|
966
|
+
type: z.literal("otlphttp"),
|
|
1094
967
|
endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$outboundSchema),
|
|
1095
968
|
encoding: GetDrainsDeliveryDrainsEncoding$outboundSchema,
|
|
1096
969
|
headers: z.record(z.string()),
|
|
@@ -1106,10 +979,6 @@ export function getDrainsDelivery2FromJSON(jsonString) {
|
|
|
1106
979
|
return safeParse(jsonString, (x) => GetDrainsDelivery2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsDelivery2' from JSON`);
|
|
1107
980
|
}
|
|
1108
981
|
/** @internal */
|
|
1109
|
-
export const GetDrainsDeliveryType$inboundSchema = z.nativeEnum(GetDrainsDeliveryType);
|
|
1110
|
-
/** @internal */
|
|
1111
|
-
export const GetDrainsDeliveryType$outboundSchema = GetDrainsDeliveryType$inboundSchema;
|
|
1112
|
-
/** @internal */
|
|
1113
982
|
export const GetDrainsDeliveryEncoding$inboundSchema = z.nativeEnum(GetDrainsDeliveryEncoding);
|
|
1114
983
|
/** @internal */
|
|
1115
984
|
export const GetDrainsDeliveryEncoding$outboundSchema = GetDrainsDeliveryEncoding$inboundSchema;
|
|
@@ -1147,7 +1016,7 @@ export function getDrainsDeliverySecretFromJSON(jsonString) {
|
|
|
1147
1016
|
}
|
|
1148
1017
|
/** @internal */
|
|
1149
1018
|
export const GetDrainsDelivery1$inboundSchema = z.object({
|
|
1150
|
-
type:
|
|
1019
|
+
type: z.literal("http"),
|
|
1151
1020
|
endpoint: z.string(),
|
|
1152
1021
|
encoding: GetDrainsDeliveryEncoding$inboundSchema,
|
|
1153
1022
|
compression: GetDrainsDeliveryCompression$inboundSchema.optional(),
|
|
@@ -1157,7 +1026,7 @@ export const GetDrainsDelivery1$inboundSchema = z.object({
|
|
|
1157
1026
|
});
|
|
1158
1027
|
/** @internal */
|
|
1159
1028
|
export const GetDrainsDelivery1$outboundSchema = z.object({
|
|
1160
|
-
type:
|
|
1029
|
+
type: z.literal("http"),
|
|
1161
1030
|
endpoint: z.string(),
|
|
1162
1031
|
encoding: GetDrainsDeliveryEncoding$outboundSchema,
|
|
1163
1032
|
compression: GetDrainsDeliveryCompression$outboundSchema.optional(),
|
|
@@ -1230,12 +1099,8 @@ export const DrainsDisabledReason$inboundSchema = z.nativeEnum(DrainsDisabledRea
|
|
|
1230
1099
|
/** @internal */
|
|
1231
1100
|
export const DrainsDisabledReason$outboundSchema = DrainsDisabledReason$inboundSchema;
|
|
1232
1101
|
/** @internal */
|
|
1233
|
-
export const GetDrainsSourceDrainsKind$inboundSchema = z.nativeEnum(GetDrainsSourceDrainsKind);
|
|
1234
|
-
/** @internal */
|
|
1235
|
-
export const GetDrainsSourceDrainsKind$outboundSchema = GetDrainsSourceDrainsKind$inboundSchema;
|
|
1236
|
-
/** @internal */
|
|
1237
1102
|
export const GetDrainsSource2$inboundSchema = z.object({
|
|
1238
|
-
kind:
|
|
1103
|
+
kind: z.literal("integration"),
|
|
1239
1104
|
resourceId: z.string().optional(),
|
|
1240
1105
|
externalResourceId: z.string().optional(),
|
|
1241
1106
|
integrationId: z.string(),
|
|
@@ -1243,7 +1108,7 @@ export const GetDrainsSource2$inboundSchema = z.object({
|
|
|
1243
1108
|
});
|
|
1244
1109
|
/** @internal */
|
|
1245
1110
|
export const GetDrainsSource2$outboundSchema = z.object({
|
|
1246
|
-
kind:
|
|
1111
|
+
kind: z.literal("integration"),
|
|
1247
1112
|
resourceId: z.string().optional(),
|
|
1248
1113
|
externalResourceId: z.string().optional(),
|
|
1249
1114
|
integrationId: z.string(),
|
|
@@ -1256,16 +1121,12 @@ export function getDrainsSource2FromJSON(jsonString) {
|
|
|
1256
1121
|
return safeParse(jsonString, (x) => GetDrainsSource2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsSource2' from JSON`);
|
|
1257
1122
|
}
|
|
1258
1123
|
/** @internal */
|
|
1259
|
-
export const GetDrainsSourceKind$inboundSchema = z.nativeEnum(GetDrainsSourceKind);
|
|
1260
|
-
/** @internal */
|
|
1261
|
-
export const GetDrainsSourceKind$outboundSchema = GetDrainsSourceKind$inboundSchema;
|
|
1262
|
-
/** @internal */
|
|
1263
1124
|
export const GetDrainsSource1$inboundSchema = z.object({
|
|
1264
|
-
kind:
|
|
1125
|
+
kind: z.literal("self-served"),
|
|
1265
1126
|
});
|
|
1266
1127
|
/** @internal */
|
|
1267
1128
|
export const GetDrainsSource1$outboundSchema = z.object({
|
|
1268
|
-
kind:
|
|
1129
|
+
kind: z.literal("self-served"),
|
|
1269
1130
|
});
|
|
1270
1131
|
export function getDrainsSource1ToJSON(getDrainsSource1) {
|
|
1271
1132
|
return JSON.stringify(GetDrainsSource1$outboundSchema.parse(getDrainsSource1));
|
|
@@ -1275,13 +1136,13 @@ export function getDrainsSource1FromJSON(jsonString) {
|
|
|
1275
1136
|
}
|
|
1276
1137
|
/** @internal */
|
|
1277
1138
|
export const DrainsSource$inboundSchema = z.union([
|
|
1278
|
-
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
1279
1139
|
z.lazy(() => GetDrainsSource1$inboundSchema),
|
|
1140
|
+
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
1280
1141
|
]);
|
|
1281
1142
|
/** @internal */
|
|
1282
1143
|
export const DrainsSource$outboundSchema = z.union([
|
|
1283
|
-
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
1284
1144
|
z.lazy(() => GetDrainsSource1$outboundSchema),
|
|
1145
|
+
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
1285
1146
|
]);
|
|
1286
1147
|
export function drainsSourceToJSON(drainsSource) {
|
|
1287
1148
|
return JSON.stringify(DrainsSource$outboundSchema.parse(drainsSource));
|
|
@@ -1290,21 +1151,13 @@ export function drainsSourceFromJSON(jsonString) {
|
|
|
1290
1151
|
return safeParse(jsonString, (x) => DrainsSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DrainsSource' from JSON`);
|
|
1291
1152
|
}
|
|
1292
1153
|
/** @internal */
|
|
1293
|
-
export const GetDrainsFilterV2DrainsVersion$inboundSchema = z.nativeEnum(GetDrainsFilterV2DrainsVersion);
|
|
1294
|
-
/** @internal */
|
|
1295
|
-
export const GetDrainsFilterV2DrainsVersion$outboundSchema = GetDrainsFilterV2DrainsVersion$inboundSchema;
|
|
1296
|
-
/** @internal */
|
|
1297
|
-
export const GetDrainsFilterDrainsType$inboundSchema = z.nativeEnum(GetDrainsFilterDrainsType);
|
|
1298
|
-
/** @internal */
|
|
1299
|
-
export const GetDrainsFilterDrainsType$outboundSchema = GetDrainsFilterDrainsType$inboundSchema;
|
|
1300
|
-
/** @internal */
|
|
1301
1154
|
export const GetDrainsFilter2$inboundSchema = z.object({
|
|
1302
|
-
type:
|
|
1155
|
+
type: z.literal("odata"),
|
|
1303
1156
|
text: z.string(),
|
|
1304
1157
|
});
|
|
1305
1158
|
/** @internal */
|
|
1306
1159
|
export const GetDrainsFilter2$outboundSchema = z.object({
|
|
1307
|
-
type:
|
|
1160
|
+
type: z.literal("odata"),
|
|
1308
1161
|
text: z.string(),
|
|
1309
1162
|
});
|
|
1310
1163
|
export function getDrainsFilter2ToJSON(getDrainsFilter2) {
|
|
@@ -1314,10 +1167,6 @@ export function getDrainsFilter2FromJSON(jsonString) {
|
|
|
1314
1167
|
return safeParse(jsonString, (x) => GetDrainsFilter2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsFilter2' from JSON`);
|
|
1315
1168
|
}
|
|
1316
1169
|
/** @internal */
|
|
1317
|
-
export const GetDrainsFilterType$inboundSchema = z.nativeEnum(GetDrainsFilterType);
|
|
1318
|
-
/** @internal */
|
|
1319
|
-
export const GetDrainsFilterType$outboundSchema = GetDrainsFilterType$inboundSchema;
|
|
1320
|
-
/** @internal */
|
|
1321
1170
|
export const GetDrainsFilterProject$inboundSchema = z.object({
|
|
1322
1171
|
ids: z.array(z.string()).optional(),
|
|
1323
1172
|
});
|
|
@@ -1379,14 +1228,14 @@ export function getDrainsFilterDeploymentFromJSON(jsonString) {
|
|
|
1379
1228
|
}
|
|
1380
1229
|
/** @internal */
|
|
1381
1230
|
export const GetDrainsFilter1$inboundSchema = z.object({
|
|
1382
|
-
type:
|
|
1231
|
+
type: z.literal("basic"),
|
|
1383
1232
|
project: z.lazy(() => GetDrainsFilterProject$inboundSchema).optional(),
|
|
1384
1233
|
log: z.lazy(() => GetDrainsFilterLog$inboundSchema).optional(),
|
|
1385
1234
|
deployment: z.lazy(() => GetDrainsFilterDeployment$inboundSchema).optional(),
|
|
1386
1235
|
});
|
|
1387
1236
|
/** @internal */
|
|
1388
1237
|
export const GetDrainsFilter1$outboundSchema = z.object({
|
|
1389
|
-
type:
|
|
1238
|
+
type: z.literal("basic"),
|
|
1390
1239
|
project: z.lazy(() => GetDrainsFilterProject$outboundSchema).optional(),
|
|
1391
1240
|
log: z.lazy(() => GetDrainsFilterLog$outboundSchema).optional(),
|
|
1392
1241
|
deployment: z.lazy(() => GetDrainsFilterDeployment$outboundSchema).optional(),
|
|
@@ -1399,13 +1248,13 @@ export function getDrainsFilter1FromJSON(jsonString) {
|
|
|
1399
1248
|
}
|
|
1400
1249
|
/** @internal */
|
|
1401
1250
|
export const GetDrainsFilterV2Filter$inboundSchema = z.union([
|
|
1402
|
-
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
1403
1251
|
z.lazy(() => GetDrainsFilter1$inboundSchema),
|
|
1252
|
+
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
1404
1253
|
]);
|
|
1405
1254
|
/** @internal */
|
|
1406
1255
|
export const GetDrainsFilterV2Filter$outboundSchema = z.union([
|
|
1407
|
-
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
1408
1256
|
z.lazy(() => GetDrainsFilter1$outboundSchema),
|
|
1257
|
+
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
1409
1258
|
]);
|
|
1410
1259
|
export function getDrainsFilterV2FilterToJSON(getDrainsFilterV2Filter) {
|
|
1411
1260
|
return JSON.stringify(GetDrainsFilterV2Filter$outboundSchema.parse(getDrainsFilterV2Filter));
|
|
@@ -1415,18 +1264,18 @@ export function getDrainsFilterV2FilterFromJSON(jsonString) {
|
|
|
1415
1264
|
}
|
|
1416
1265
|
/** @internal */
|
|
1417
1266
|
export const GetDrainsFilterV22$inboundSchema = z.object({
|
|
1418
|
-
version:
|
|
1267
|
+
version: z.literal("v2"),
|
|
1419
1268
|
filter: z.union([
|
|
1420
|
-
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
1421
1269
|
z.lazy(() => GetDrainsFilter1$inboundSchema),
|
|
1270
|
+
z.lazy(() => GetDrainsFilter2$inboundSchema),
|
|
1422
1271
|
]),
|
|
1423
1272
|
});
|
|
1424
1273
|
/** @internal */
|
|
1425
1274
|
export const GetDrainsFilterV22$outboundSchema = z.object({
|
|
1426
|
-
version:
|
|
1275
|
+
version: z.literal("v2"),
|
|
1427
1276
|
filter: z.union([
|
|
1428
|
-
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
1429
1277
|
z.lazy(() => GetDrainsFilter1$outboundSchema),
|
|
1278
|
+
z.lazy(() => GetDrainsFilter2$outboundSchema),
|
|
1430
1279
|
]),
|
|
1431
1280
|
});
|
|
1432
1281
|
export function getDrainsFilterV22ToJSON(getDrainsFilterV22) {
|
|
@@ -1436,16 +1285,12 @@ export function getDrainsFilterV22FromJSON(jsonString) {
|
|
|
1436
1285
|
return safeParse(jsonString, (x) => GetDrainsFilterV22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDrainsFilterV22' from JSON`);
|
|
1437
1286
|
}
|
|
1438
1287
|
/** @internal */
|
|
1439
|
-
export const GetDrainsFilterV2Version$inboundSchema = z.nativeEnum(GetDrainsFilterV2Version);
|
|
1440
|
-
/** @internal */
|
|
1441
|
-
export const GetDrainsFilterV2Version$outboundSchema = GetDrainsFilterV2Version$inboundSchema;
|
|
1442
|
-
/** @internal */
|
|
1443
1288
|
export const GetDrainsFilterV21$inboundSchema = z.object({
|
|
1444
|
-
version:
|
|
1289
|
+
version: z.literal("v1"),
|
|
1445
1290
|
});
|
|
1446
1291
|
/** @internal */
|
|
1447
1292
|
export const GetDrainsFilterV21$outboundSchema = z.object({
|
|
1448
|
-
version:
|
|
1293
|
+
version: z.literal("v1"),
|
|
1449
1294
|
});
|
|
1450
1295
|
export function getDrainsFilterV21ToJSON(getDrainsFilterV21) {
|
|
1451
1296
|
return JSON.stringify(GetDrainsFilterV21$outboundSchema.parse(getDrainsFilterV21));
|
|
@@ -1455,13 +1300,13 @@ export function getDrainsFilterV21FromJSON(jsonString) {
|
|
|
1455
1300
|
}
|
|
1456
1301
|
/** @internal */
|
|
1457
1302
|
export const DrainsFilterV2$inboundSchema = z.union([
|
|
1458
|
-
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
1459
1303
|
z.lazy(() => GetDrainsFilterV21$inboundSchema),
|
|
1304
|
+
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
1460
1305
|
]);
|
|
1461
1306
|
/** @internal */
|
|
1462
1307
|
export const DrainsFilterV2$outboundSchema = z.union([
|
|
1463
|
-
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
1464
1308
|
z.lazy(() => GetDrainsFilterV21$outboundSchema),
|
|
1309
|
+
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
1465
1310
|
]);
|
|
1466
1311
|
export function drainsFilterV2ToJSON(drainsFilterV2) {
|
|
1467
1312
|
return JSON.stringify(DrainsFilterV2$outboundSchema.parse(drainsFilterV2));
|
|
@@ -1492,13 +1337,13 @@ export const Drains1$inboundSchema = z.object({
|
|
|
1492
1337
|
disabledBy: z.string().optional(),
|
|
1493
1338
|
firstErrorTimestamp: z.number().optional(),
|
|
1494
1339
|
source: z.union([
|
|
1495
|
-
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
1496
1340
|
z.lazy(() => GetDrainsSource1$inboundSchema),
|
|
1341
|
+
z.lazy(() => GetDrainsSource2$inboundSchema),
|
|
1497
1342
|
]),
|
|
1498
1343
|
filter: z.string().optional(),
|
|
1499
1344
|
filterV2: z.union([
|
|
1500
|
-
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
1501
1345
|
z.lazy(() => GetDrainsFilterV21$inboundSchema),
|
|
1346
|
+
z.lazy(() => GetDrainsFilterV22$inboundSchema),
|
|
1502
1347
|
]).optional(),
|
|
1503
1348
|
});
|
|
1504
1349
|
/** @internal */
|
|
@@ -1524,13 +1369,13 @@ export const Drains1$outboundSchema = z.object({
|
|
|
1524
1369
|
disabledBy: z.string().optional(),
|
|
1525
1370
|
firstErrorTimestamp: z.number().optional(),
|
|
1526
1371
|
source: z.union([
|
|
1527
|
-
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
1528
1372
|
z.lazy(() => GetDrainsSource1$outboundSchema),
|
|
1373
|
+
z.lazy(() => GetDrainsSource2$outboundSchema),
|
|
1529
1374
|
]),
|
|
1530
1375
|
filter: z.string().optional(),
|
|
1531
1376
|
filterV2: z.union([
|
|
1532
|
-
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
1533
1377
|
z.lazy(() => GetDrainsFilterV21$outboundSchema),
|
|
1378
|
+
z.lazy(() => GetDrainsFilterV22$outboundSchema),
|
|
1534
1379
|
]).optional(),
|
|
1535
1380
|
});
|
|
1536
1381
|
export function drains1ToJSON(drains1) {
|