@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
|
@@ -63,18 +63,9 @@ export const GetAllLogDrainsResponseBodyFramework = {
|
|
|
63
63
|
Fastify: "fastify",
|
|
64
64
|
Xmcp: "xmcp",
|
|
65
65
|
};
|
|
66
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type = {
|
|
67
|
-
Internal: "internal",
|
|
68
|
-
};
|
|
69
66
|
export const GetAllLogDrainsDeliveryTarget = {
|
|
70
67
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
71
68
|
};
|
|
72
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType = {
|
|
73
|
-
Clickhouse: "clickhouse",
|
|
74
|
-
};
|
|
75
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType = {
|
|
76
|
-
Otlphttp: "otlphttp",
|
|
77
|
-
};
|
|
78
69
|
export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding = {
|
|
79
70
|
Json: "json",
|
|
80
71
|
Proto: "proto",
|
|
@@ -82,9 +73,6 @@ export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding = {
|
|
|
82
73
|
export const GetAllLogDrainsSecretLogDrainsResponseKind = {
|
|
83
74
|
IntegrationSecret: "INTEGRATION_SECRET",
|
|
84
75
|
};
|
|
85
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200Type = {
|
|
86
|
-
Http: "http",
|
|
87
|
-
};
|
|
88
76
|
export const GetAllLogDrainsDeliveryLogDrainsEncoding = {
|
|
89
77
|
Json: "json",
|
|
90
78
|
Ndjson: "ndjson",
|
|
@@ -114,21 +102,6 @@ export const GetAllLogDrainsDrainsLogDrainsDisabledReason = {
|
|
|
114
102
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
115
103
|
DisabledByAdmin: "disabled-by-admin",
|
|
116
104
|
};
|
|
117
|
-
export const GetAllLogDrainsSourceLogDrainsKind = {
|
|
118
|
-
Integration: "integration",
|
|
119
|
-
};
|
|
120
|
-
export const GetAllLogDrainsSourceKind = {
|
|
121
|
-
SelfServed: "self-served",
|
|
122
|
-
};
|
|
123
|
-
export const GetAllLogDrainsFilterV2LogDrainsVersion = {
|
|
124
|
-
V2: "v2",
|
|
125
|
-
};
|
|
126
|
-
export const GetAllLogDrainsFilterLogDrainsResponseType = {
|
|
127
|
-
Odata: "odata",
|
|
128
|
-
};
|
|
129
|
-
export const GetAllLogDrainsFilterLogDrainsType = {
|
|
130
|
-
Basic: "basic",
|
|
131
|
-
};
|
|
132
105
|
export const GetAllLogDrainsFilterLogDrainsSources = {
|
|
133
106
|
Build: "build",
|
|
134
107
|
Edge: "edge",
|
|
@@ -142,27 +115,9 @@ export const GetAllLogDrainsFilterLogDrainsEnvironments = {
|
|
|
142
115
|
Production: "production",
|
|
143
116
|
Preview: "preview",
|
|
144
117
|
};
|
|
145
|
-
export const GetAllLogDrainsFilterV2Version = {
|
|
146
|
-
V1: "v1",
|
|
147
|
-
};
|
|
148
|
-
export const GetAllLogDrainsProjectAccessLogDrainsAccess = {
|
|
149
|
-
Some: "some",
|
|
150
|
-
};
|
|
151
|
-
export const GetAllLogDrainsProjectAccessAccess = {
|
|
152
|
-
All: "all",
|
|
153
|
-
};
|
|
154
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponseType = {
|
|
155
|
-
Internal: "internal",
|
|
156
|
-
};
|
|
157
118
|
export const GetAllLogDrainsDeliveryLogDrainsTarget = {
|
|
158
119
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
159
120
|
};
|
|
160
|
-
export const GetAllLogDrainsDeliveryLogDrainsType = {
|
|
161
|
-
Clickhouse: "clickhouse",
|
|
162
|
-
};
|
|
163
|
-
export const GetAllLogDrainsDeliveryType = {
|
|
164
|
-
Otlphttp: "otlphttp",
|
|
165
|
-
};
|
|
166
121
|
export const GetAllLogDrainsDeliveryEncoding = {
|
|
167
122
|
Json: "json",
|
|
168
123
|
Proto: "proto",
|
|
@@ -170,9 +125,6 @@ export const GetAllLogDrainsDeliveryEncoding = {
|
|
|
170
125
|
export const GetAllLogDrainsSecretLogDrainsResponse200Kind = {
|
|
171
126
|
IntegrationSecret: "INTEGRATION_SECRET",
|
|
172
127
|
};
|
|
173
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType = {
|
|
174
|
-
Http: "http",
|
|
175
|
-
};
|
|
176
128
|
export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding = {
|
|
177
129
|
Json: "json",
|
|
178
130
|
Ndjson: "ndjson",
|
|
@@ -202,21 +154,6 @@ export const GetAllLogDrainsDrainsDisabledReason = {
|
|
|
202
154
|
AccountPlanDowngrade: "account-plan-downgrade",
|
|
203
155
|
DisabledByAdmin: "disabled-by-admin",
|
|
204
156
|
};
|
|
205
|
-
export const GetAllLogDrainsSourceLogDrainsResponse200Kind = {
|
|
206
|
-
Integration: "integration",
|
|
207
|
-
};
|
|
208
|
-
export const GetAllLogDrainsSourceLogDrainsResponseKind = {
|
|
209
|
-
SelfServed: "self-served",
|
|
210
|
-
};
|
|
211
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponse200Version = {
|
|
212
|
-
V2: "v2",
|
|
213
|
-
};
|
|
214
|
-
export const GetAllLogDrainsFilterType = {
|
|
215
|
-
Odata: "odata",
|
|
216
|
-
};
|
|
217
|
-
export const GetAllLogDrainsFilterLogDrainsResponse200Type = {
|
|
218
|
-
Basic: "basic",
|
|
219
|
-
};
|
|
220
157
|
export const GetAllLogDrainsFilterSources = {
|
|
221
158
|
Build: "build",
|
|
222
159
|
Edge: "edge",
|
|
@@ -230,9 +167,6 @@ export const GetAllLogDrainsFilterEnvironments = {
|
|
|
230
167
|
Production: "production",
|
|
231
168
|
Preview: "preview",
|
|
232
169
|
};
|
|
233
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponseVersion = {
|
|
234
|
-
V1: "v1",
|
|
235
|
-
};
|
|
236
170
|
/** @internal */
|
|
237
171
|
export const GetAllLogDrainsRequest$inboundSchema = z.object({
|
|
238
172
|
projectId: z.string().optional(),
|
|
@@ -383,21 +317,17 @@ export function getAllLogDrainsDrainsLogDrainsSchemasFromJSON(jsonString) {
|
|
|
383
317
|
return safeParse(jsonString, (x) => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSchemas' from JSON`);
|
|
384
318
|
}
|
|
385
319
|
/** @internal */
|
|
386
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type);
|
|
387
|
-
/** @internal */
|
|
388
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$inboundSchema;
|
|
389
|
-
/** @internal */
|
|
390
320
|
export const GetAllLogDrainsDeliveryTarget$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryTarget);
|
|
391
321
|
/** @internal */
|
|
392
322
|
export const GetAllLogDrainsDeliveryTarget$outboundSchema = GetAllLogDrainsDeliveryTarget$inboundSchema;
|
|
393
323
|
/** @internal */
|
|
394
324
|
export const GetAllLogDrainsDelivery4$inboundSchema = z.object({
|
|
395
|
-
type:
|
|
325
|
+
type: z.literal("internal"),
|
|
396
326
|
target: GetAllLogDrainsDeliveryTarget$inboundSchema,
|
|
397
327
|
});
|
|
398
328
|
/** @internal */
|
|
399
329
|
export const GetAllLogDrainsDelivery4$outboundSchema = z.object({
|
|
400
|
-
type:
|
|
330
|
+
type: z.literal("internal"),
|
|
401
331
|
target: GetAllLogDrainsDeliveryTarget$outboundSchema,
|
|
402
332
|
});
|
|
403
333
|
export function getAllLogDrainsDelivery4ToJSON(getAllLogDrainsDelivery4) {
|
|
@@ -407,18 +337,14 @@ export function getAllLogDrainsDelivery4FromJSON(jsonString) {
|
|
|
407
337
|
return safeParse(jsonString, (x) => GetAllLogDrainsDelivery4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDelivery4' from JSON`);
|
|
408
338
|
}
|
|
409
339
|
/** @internal */
|
|
410
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType);
|
|
411
|
-
/** @internal */
|
|
412
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
413
|
-
/** @internal */
|
|
414
340
|
export const GetAllLogDrainsDelivery3$inboundSchema = z.object({
|
|
415
|
-
type:
|
|
341
|
+
type: z.literal("clickhouse"),
|
|
416
342
|
endpoint: z.string(),
|
|
417
343
|
table: z.string(),
|
|
418
344
|
});
|
|
419
345
|
/** @internal */
|
|
420
346
|
export const GetAllLogDrainsDelivery3$outboundSchema = z.object({
|
|
421
|
-
type:
|
|
347
|
+
type: z.literal("clickhouse"),
|
|
422
348
|
endpoint: z.string(),
|
|
423
349
|
table: z.string(),
|
|
424
350
|
});
|
|
@@ -429,10 +355,6 @@ export function getAllLogDrainsDelivery3FromJSON(jsonString) {
|
|
|
429
355
|
return safeParse(jsonString, (x) => GetAllLogDrainsDelivery3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDelivery3' from JSON`);
|
|
430
356
|
}
|
|
431
357
|
/** @internal */
|
|
432
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType);
|
|
433
|
-
/** @internal */
|
|
434
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$inboundSchema;
|
|
435
|
-
/** @internal */
|
|
436
358
|
export const GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema = z.object({
|
|
437
359
|
traces: z.string(),
|
|
438
360
|
});
|
|
@@ -488,7 +410,7 @@ export function getAllLogDrainsDeliveryLogDrainsSecretFromJSON(jsonString) {
|
|
|
488
410
|
}
|
|
489
411
|
/** @internal */
|
|
490
412
|
export const GetAllLogDrainsDelivery2$inboundSchema = z.object({
|
|
491
|
-
type:
|
|
413
|
+
type: z.literal("otlphttp"),
|
|
492
414
|
endpoint: z.lazy(() => GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema),
|
|
493
415
|
encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema,
|
|
494
416
|
headers: z.record(z.string()),
|
|
@@ -499,7 +421,7 @@ export const GetAllLogDrainsDelivery2$inboundSchema = z.object({
|
|
|
499
421
|
});
|
|
500
422
|
/** @internal */
|
|
501
423
|
export const GetAllLogDrainsDelivery2$outboundSchema = z.object({
|
|
502
|
-
type:
|
|
424
|
+
type: z.literal("otlphttp"),
|
|
503
425
|
endpoint: z.lazy(() => GetAllLogDrainsDeliveryLogDrainsEndpoint$outboundSchema),
|
|
504
426
|
encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$outboundSchema,
|
|
505
427
|
headers: z.record(z.string()),
|
|
@@ -515,11 +437,6 @@ export function getAllLogDrainsDelivery2FromJSON(jsonString) {
|
|
|
515
437
|
return safeParse(jsonString, (x) => GetAllLogDrainsDelivery2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDelivery2' from JSON`);
|
|
516
438
|
}
|
|
517
439
|
/** @internal */
|
|
518
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200Type$inboundSchema = z
|
|
519
|
-
.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Type);
|
|
520
|
-
/** @internal */
|
|
521
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200Type$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200Type$inboundSchema;
|
|
522
|
-
/** @internal */
|
|
523
440
|
export const GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema = z
|
|
524
441
|
.nativeEnum(GetAllLogDrainsDeliveryLogDrainsEncoding);
|
|
525
442
|
/** @internal */
|
|
@@ -565,7 +482,7 @@ export function getAllLogDrainsDeliverySecretFromJSON(jsonString) {
|
|
|
565
482
|
}
|
|
566
483
|
/** @internal */
|
|
567
484
|
export const GetAllLogDrainsDelivery1$inboundSchema = z.object({
|
|
568
|
-
type:
|
|
485
|
+
type: z.literal("http"),
|
|
569
486
|
endpoint: z.string(),
|
|
570
487
|
encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema,
|
|
571
488
|
compression: GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema
|
|
@@ -578,7 +495,7 @@ export const GetAllLogDrainsDelivery1$inboundSchema = z.object({
|
|
|
578
495
|
});
|
|
579
496
|
/** @internal */
|
|
580
497
|
export const GetAllLogDrainsDelivery1$outboundSchema = z.object({
|
|
581
|
-
type:
|
|
498
|
+
type: z.literal("http"),
|
|
582
499
|
endpoint: z.string(),
|
|
583
500
|
encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$outboundSchema,
|
|
584
501
|
compression: GetAllLogDrainsDeliveryLogDrainsCompression$outboundSchema
|
|
@@ -653,12 +570,8 @@ export const GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema = z
|
|
|
653
570
|
/** @internal */
|
|
654
571
|
export const GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema = GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema;
|
|
655
572
|
/** @internal */
|
|
656
|
-
export const GetAllLogDrainsSourceLogDrainsKind$inboundSchema = z.nativeEnum(GetAllLogDrainsSourceLogDrainsKind);
|
|
657
|
-
/** @internal */
|
|
658
|
-
export const GetAllLogDrainsSourceLogDrainsKind$outboundSchema = GetAllLogDrainsSourceLogDrainsKind$inboundSchema;
|
|
659
|
-
/** @internal */
|
|
660
573
|
export const GetAllLogDrainsSource2$inboundSchema = z.object({
|
|
661
|
-
kind:
|
|
574
|
+
kind: z.literal("integration"),
|
|
662
575
|
resourceId: z.string().optional(),
|
|
663
576
|
externalResourceId: z.string().optional(),
|
|
664
577
|
integrationId: z.string(),
|
|
@@ -666,7 +579,7 @@ export const GetAllLogDrainsSource2$inboundSchema = z.object({
|
|
|
666
579
|
});
|
|
667
580
|
/** @internal */
|
|
668
581
|
export const GetAllLogDrainsSource2$outboundSchema = z.object({
|
|
669
|
-
kind:
|
|
582
|
+
kind: z.literal("integration"),
|
|
670
583
|
resourceId: z.string().optional(),
|
|
671
584
|
externalResourceId: z.string().optional(),
|
|
672
585
|
integrationId: z.string(),
|
|
@@ -679,16 +592,12 @@ export function getAllLogDrainsSource2FromJSON(jsonString) {
|
|
|
679
592
|
return safeParse(jsonString, (x) => GetAllLogDrainsSource2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsSource2' from JSON`);
|
|
680
593
|
}
|
|
681
594
|
/** @internal */
|
|
682
|
-
export const GetAllLogDrainsSourceKind$inboundSchema = z.nativeEnum(GetAllLogDrainsSourceKind);
|
|
683
|
-
/** @internal */
|
|
684
|
-
export const GetAllLogDrainsSourceKind$outboundSchema = GetAllLogDrainsSourceKind$inboundSchema;
|
|
685
|
-
/** @internal */
|
|
686
595
|
export const GetAllLogDrainsSource1$inboundSchema = z.object({
|
|
687
|
-
kind:
|
|
596
|
+
kind: z.literal("self-served"),
|
|
688
597
|
});
|
|
689
598
|
/** @internal */
|
|
690
599
|
export const GetAllLogDrainsSource1$outboundSchema = z.object({
|
|
691
|
-
kind:
|
|
600
|
+
kind: z.literal("self-served"),
|
|
692
601
|
});
|
|
693
602
|
export function getAllLogDrainsSource1ToJSON(getAllLogDrainsSource1) {
|
|
694
603
|
return JSON.stringify(GetAllLogDrainsSource1$outboundSchema.parse(getAllLogDrainsSource1));
|
|
@@ -698,13 +607,13 @@ export function getAllLogDrainsSource1FromJSON(jsonString) {
|
|
|
698
607
|
}
|
|
699
608
|
/** @internal */
|
|
700
609
|
export const GetAllLogDrainsDrainsSource$inboundSchema = z.union([
|
|
701
|
-
z.lazy(() => GetAllLogDrainsSource2$inboundSchema),
|
|
702
610
|
z.lazy(() => GetAllLogDrainsSource1$inboundSchema),
|
|
611
|
+
z.lazy(() => GetAllLogDrainsSource2$inboundSchema),
|
|
703
612
|
]);
|
|
704
613
|
/** @internal */
|
|
705
614
|
export const GetAllLogDrainsDrainsSource$outboundSchema = z.union([
|
|
706
|
-
z.lazy(() => GetAllLogDrainsSource2$outboundSchema),
|
|
707
615
|
z.lazy(() => GetAllLogDrainsSource1$outboundSchema),
|
|
616
|
+
z.lazy(() => GetAllLogDrainsSource2$outboundSchema),
|
|
708
617
|
]);
|
|
709
618
|
export function getAllLogDrainsDrainsSourceToJSON(getAllLogDrainsDrainsSource) {
|
|
710
619
|
return JSON.stringify(GetAllLogDrainsDrainsSource$outboundSchema.parse(getAllLogDrainsDrainsSource));
|
|
@@ -713,23 +622,13 @@ export function getAllLogDrainsDrainsSourceFromJSON(jsonString) {
|
|
|
713
622
|
return safeParse(jsonString, (x) => GetAllLogDrainsDrainsSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDrainsSource' from JSON`);
|
|
714
623
|
}
|
|
715
624
|
/** @internal */
|
|
716
|
-
export const GetAllLogDrainsFilterV2LogDrainsVersion$inboundSchema = z
|
|
717
|
-
.nativeEnum(GetAllLogDrainsFilterV2LogDrainsVersion);
|
|
718
|
-
/** @internal */
|
|
719
|
-
export const GetAllLogDrainsFilterV2LogDrainsVersion$outboundSchema = GetAllLogDrainsFilterV2LogDrainsVersion$inboundSchema;
|
|
720
|
-
/** @internal */
|
|
721
|
-
export const GetAllLogDrainsFilterLogDrainsResponseType$inboundSchema = z
|
|
722
|
-
.nativeEnum(GetAllLogDrainsFilterLogDrainsResponseType);
|
|
723
|
-
/** @internal */
|
|
724
|
-
export const GetAllLogDrainsFilterLogDrainsResponseType$outboundSchema = GetAllLogDrainsFilterLogDrainsResponseType$inboundSchema;
|
|
725
|
-
/** @internal */
|
|
726
625
|
export const GetAllLogDrainsFilter2$inboundSchema = z.object({
|
|
727
|
-
type:
|
|
626
|
+
type: z.literal("odata"),
|
|
728
627
|
text: z.string(),
|
|
729
628
|
});
|
|
730
629
|
/** @internal */
|
|
731
630
|
export const GetAllLogDrainsFilter2$outboundSchema = z.object({
|
|
732
|
-
type:
|
|
631
|
+
type: z.literal("odata"),
|
|
733
632
|
text: z.string(),
|
|
734
633
|
});
|
|
735
634
|
export function getAllLogDrainsFilter2ToJSON(getAllLogDrainsFilter2) {
|
|
@@ -739,10 +638,6 @@ export function getAllLogDrainsFilter2FromJSON(jsonString) {
|
|
|
739
638
|
return safeParse(jsonString, (x) => GetAllLogDrainsFilter2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsFilter2' from JSON`);
|
|
740
639
|
}
|
|
741
640
|
/** @internal */
|
|
742
|
-
export const GetAllLogDrainsFilterLogDrainsType$inboundSchema = z.nativeEnum(GetAllLogDrainsFilterLogDrainsType);
|
|
743
|
-
/** @internal */
|
|
744
|
-
export const GetAllLogDrainsFilterLogDrainsType$outboundSchema = GetAllLogDrainsFilterLogDrainsType$inboundSchema;
|
|
745
|
-
/** @internal */
|
|
746
641
|
export const GetAllLogDrainsFilterProject$inboundSchema = z.object({
|
|
747
642
|
ids: z.array(z.string()).optional(),
|
|
748
643
|
});
|
|
@@ -807,14 +702,14 @@ export function getAllLogDrainsFilterLogDrainsDeploymentFromJSON(jsonString) {
|
|
|
807
702
|
}
|
|
808
703
|
/** @internal */
|
|
809
704
|
export const GetAllLogDrainsFilter1$inboundSchema = z.object({
|
|
810
|
-
type:
|
|
705
|
+
type: z.literal("basic"),
|
|
811
706
|
project: z.lazy(() => GetAllLogDrainsFilterProject$inboundSchema).optional(),
|
|
812
707
|
log: z.lazy(() => GetAllLogDrainsFilterLog$inboundSchema).optional(),
|
|
813
708
|
deployment: z.lazy(() => GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema).optional(),
|
|
814
709
|
});
|
|
815
710
|
/** @internal */
|
|
816
711
|
export const GetAllLogDrainsFilter1$outboundSchema = z.object({
|
|
817
|
-
type:
|
|
712
|
+
type: z.literal("basic"),
|
|
818
713
|
project: z.lazy(() => GetAllLogDrainsFilterProject$outboundSchema).optional(),
|
|
819
714
|
log: z.lazy(() => GetAllLogDrainsFilterLog$outboundSchema).optional(),
|
|
820
715
|
deployment: z.lazy(() => GetAllLogDrainsFilterLogDrainsDeployment$outboundSchema).optional(),
|
|
@@ -827,13 +722,13 @@ export function getAllLogDrainsFilter1FromJSON(jsonString) {
|
|
|
827
722
|
}
|
|
828
723
|
/** @internal */
|
|
829
724
|
export const GetAllLogDrainsFilterV2LogDrainsFilter$inboundSchema = z.union([
|
|
830
|
-
z.lazy(() => GetAllLogDrainsFilter2$inboundSchema),
|
|
831
725
|
z.lazy(() => GetAllLogDrainsFilter1$inboundSchema),
|
|
726
|
+
z.lazy(() => GetAllLogDrainsFilter2$inboundSchema),
|
|
832
727
|
]);
|
|
833
728
|
/** @internal */
|
|
834
729
|
export const GetAllLogDrainsFilterV2LogDrainsFilter$outboundSchema = z.union([
|
|
835
|
-
z.lazy(() => GetAllLogDrainsFilter2$outboundSchema),
|
|
836
730
|
z.lazy(() => GetAllLogDrainsFilter1$outboundSchema),
|
|
731
|
+
z.lazy(() => GetAllLogDrainsFilter2$outboundSchema),
|
|
837
732
|
]);
|
|
838
733
|
export function getAllLogDrainsFilterV2LogDrainsFilterToJSON(getAllLogDrainsFilterV2LogDrainsFilter) {
|
|
839
734
|
return JSON.stringify(GetAllLogDrainsFilterV2LogDrainsFilter$outboundSchema.parse(getAllLogDrainsFilterV2LogDrainsFilter));
|
|
@@ -843,18 +738,18 @@ export function getAllLogDrainsFilterV2LogDrainsFilterFromJSON(jsonString) {
|
|
|
843
738
|
}
|
|
844
739
|
/** @internal */
|
|
845
740
|
export const GetAllLogDrainsFilterV22$inboundSchema = z.object({
|
|
846
|
-
version:
|
|
741
|
+
version: z.literal("v2"),
|
|
847
742
|
filter: z.union([
|
|
848
|
-
z.lazy(() => GetAllLogDrainsFilter2$inboundSchema),
|
|
849
743
|
z.lazy(() => GetAllLogDrainsFilter1$inboundSchema),
|
|
744
|
+
z.lazy(() => GetAllLogDrainsFilter2$inboundSchema),
|
|
850
745
|
]),
|
|
851
746
|
});
|
|
852
747
|
/** @internal */
|
|
853
748
|
export const GetAllLogDrainsFilterV22$outboundSchema = z.object({
|
|
854
|
-
version:
|
|
749
|
+
version: z.literal("v2"),
|
|
855
750
|
filter: z.union([
|
|
856
|
-
z.lazy(() => GetAllLogDrainsFilter2$outboundSchema),
|
|
857
751
|
z.lazy(() => GetAllLogDrainsFilter1$outboundSchema),
|
|
752
|
+
z.lazy(() => GetAllLogDrainsFilter2$outboundSchema),
|
|
858
753
|
]),
|
|
859
754
|
});
|
|
860
755
|
export function getAllLogDrainsFilterV22ToJSON(getAllLogDrainsFilterV22) {
|
|
@@ -864,16 +759,12 @@ export function getAllLogDrainsFilterV22FromJSON(jsonString) {
|
|
|
864
759
|
return safeParse(jsonString, (x) => GetAllLogDrainsFilterV22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsFilterV22' from JSON`);
|
|
865
760
|
}
|
|
866
761
|
/** @internal */
|
|
867
|
-
export const GetAllLogDrainsFilterV2Version$inboundSchema = z.nativeEnum(GetAllLogDrainsFilterV2Version);
|
|
868
|
-
/** @internal */
|
|
869
|
-
export const GetAllLogDrainsFilterV2Version$outboundSchema = GetAllLogDrainsFilterV2Version$inboundSchema;
|
|
870
|
-
/** @internal */
|
|
871
762
|
export const GetAllLogDrainsFilterV21$inboundSchema = z.object({
|
|
872
|
-
version:
|
|
763
|
+
version: z.literal("v1"),
|
|
873
764
|
});
|
|
874
765
|
/** @internal */
|
|
875
766
|
export const GetAllLogDrainsFilterV21$outboundSchema = z.object({
|
|
876
|
-
version:
|
|
767
|
+
version: z.literal("v1"),
|
|
877
768
|
});
|
|
878
769
|
export function getAllLogDrainsFilterV21ToJSON(getAllLogDrainsFilterV21) {
|
|
879
770
|
return JSON.stringify(GetAllLogDrainsFilterV21$outboundSchema.parse(getAllLogDrainsFilterV21));
|
|
@@ -883,13 +774,13 @@ export function getAllLogDrainsFilterV21FromJSON(jsonString) {
|
|
|
883
774
|
}
|
|
884
775
|
/** @internal */
|
|
885
776
|
export const GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema = z.union([
|
|
886
|
-
z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema),
|
|
887
777
|
z.lazy(() => GetAllLogDrainsFilterV21$inboundSchema),
|
|
778
|
+
z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema),
|
|
888
779
|
]);
|
|
889
780
|
/** @internal */
|
|
890
781
|
export const GetAllLogDrainsDrainsLogDrainsFilterV2$outboundSchema = z.union([
|
|
891
|
-
z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema),
|
|
892
782
|
z.lazy(() => GetAllLogDrainsFilterV21$outboundSchema),
|
|
783
|
+
z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema),
|
|
893
784
|
]);
|
|
894
785
|
export function getAllLogDrainsDrainsLogDrainsFilterV2ToJSON(getAllLogDrainsDrainsLogDrainsFilterV2) {
|
|
895
786
|
return JSON.stringify(GetAllLogDrainsDrainsLogDrainsFilterV2$outboundSchema.parse(getAllLogDrainsDrainsLogDrainsFilterV2));
|
|
@@ -898,18 +789,13 @@ export function getAllLogDrainsDrainsLogDrainsFilterV2FromJSON(jsonString) {
|
|
|
898
789
|
return safeParse(jsonString, (x) => GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDrainsLogDrainsFilterV2' from JSON`);
|
|
899
790
|
}
|
|
900
791
|
/** @internal */
|
|
901
|
-
export const GetAllLogDrainsProjectAccessLogDrainsAccess$inboundSchema = z
|
|
902
|
-
.nativeEnum(GetAllLogDrainsProjectAccessLogDrainsAccess);
|
|
903
|
-
/** @internal */
|
|
904
|
-
export const GetAllLogDrainsProjectAccessLogDrainsAccess$outboundSchema = GetAllLogDrainsProjectAccessLogDrainsAccess$inboundSchema;
|
|
905
|
-
/** @internal */
|
|
906
792
|
export const GetAllLogDrainsProjectAccess2$inboundSchema = z.object({
|
|
907
|
-
access:
|
|
793
|
+
access: z.literal("some"),
|
|
908
794
|
projectIds: z.array(z.string()),
|
|
909
795
|
});
|
|
910
796
|
/** @internal */
|
|
911
797
|
export const GetAllLogDrainsProjectAccess2$outboundSchema = z.object({
|
|
912
|
-
access:
|
|
798
|
+
access: z.literal("some"),
|
|
913
799
|
projectIds: z.array(z.string()),
|
|
914
800
|
});
|
|
915
801
|
export function getAllLogDrainsProjectAccess2ToJSON(getAllLogDrainsProjectAccess2) {
|
|
@@ -919,16 +805,12 @@ export function getAllLogDrainsProjectAccess2FromJSON(jsonString) {
|
|
|
919
805
|
return safeParse(jsonString, (x) => GetAllLogDrainsProjectAccess2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsProjectAccess2' from JSON`);
|
|
920
806
|
}
|
|
921
807
|
/** @internal */
|
|
922
|
-
export const GetAllLogDrainsProjectAccessAccess$inboundSchema = z.nativeEnum(GetAllLogDrainsProjectAccessAccess);
|
|
923
|
-
/** @internal */
|
|
924
|
-
export const GetAllLogDrainsProjectAccessAccess$outboundSchema = GetAllLogDrainsProjectAccessAccess$inboundSchema;
|
|
925
|
-
/** @internal */
|
|
926
808
|
export const GetAllLogDrainsProjectAccess1$inboundSchema = z.object({
|
|
927
|
-
access:
|
|
809
|
+
access: z.literal("all"),
|
|
928
810
|
});
|
|
929
811
|
/** @internal */
|
|
930
812
|
export const GetAllLogDrainsProjectAccess1$outboundSchema = z.object({
|
|
931
|
-
access:
|
|
813
|
+
access: z.literal("all"),
|
|
932
814
|
});
|
|
933
815
|
export function getAllLogDrainsProjectAccess1ToJSON(getAllLogDrainsProjectAccess1) {
|
|
934
816
|
return JSON.stringify(GetAllLogDrainsProjectAccess1$outboundSchema.parse(getAllLogDrainsProjectAccess1));
|
|
@@ -938,13 +820,13 @@ export function getAllLogDrainsProjectAccess1FromJSON(jsonString) {
|
|
|
938
820
|
}
|
|
939
821
|
/** @internal */
|
|
940
822
|
export const GetAllLogDrainsDrainsProjectAccess$inboundSchema = z.union([
|
|
941
|
-
z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema),
|
|
942
823
|
z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema),
|
|
824
|
+
z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema),
|
|
943
825
|
]);
|
|
944
826
|
/** @internal */
|
|
945
827
|
export const GetAllLogDrainsDrainsProjectAccess$outboundSchema = z.union([
|
|
946
|
-
z.lazy(() => GetAllLogDrainsProjectAccess2$outboundSchema),
|
|
947
828
|
z.lazy(() => GetAllLogDrainsProjectAccess1$outboundSchema),
|
|
829
|
+
z.lazy(() => GetAllLogDrainsProjectAccess2$outboundSchema),
|
|
948
830
|
]);
|
|
949
831
|
export function getAllLogDrainsDrainsProjectAccessToJSON(getAllLogDrainsDrainsProjectAccess) {
|
|
950
832
|
return JSON.stringify(GetAllLogDrainsDrainsProjectAccess$outboundSchema.parse(getAllLogDrainsDrainsProjectAccess));
|
|
@@ -977,20 +859,20 @@ export const GetAllLogDrainsDrains2$inboundSchema = z.object({
|
|
|
977
859
|
disabledBy: z.string().optional(),
|
|
978
860
|
firstErrorTimestamp: z.number().optional(),
|
|
979
861
|
source: z.union([
|
|
980
|
-
z.lazy(() => GetAllLogDrainsSource2$inboundSchema),
|
|
981
862
|
z.lazy(() => GetAllLogDrainsSource1$inboundSchema),
|
|
863
|
+
z.lazy(() => GetAllLogDrainsSource2$inboundSchema),
|
|
982
864
|
]),
|
|
983
865
|
filter: z.string().optional(),
|
|
984
866
|
filterV2: z.union([
|
|
985
|
-
z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema),
|
|
986
867
|
z.lazy(() => GetAllLogDrainsFilterV21$inboundSchema),
|
|
868
|
+
z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema),
|
|
987
869
|
]).optional(),
|
|
988
870
|
integrationIcon: z.string().optional(),
|
|
989
871
|
integrationConfigurationUri: z.string().optional(),
|
|
990
872
|
integrationWebsite: z.string().optional(),
|
|
991
873
|
projectAccess: z.union([
|
|
992
|
-
z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema),
|
|
993
874
|
z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema),
|
|
875
|
+
z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema),
|
|
994
876
|
]).optional(),
|
|
995
877
|
});
|
|
996
878
|
/** @internal */
|
|
@@ -1018,20 +900,20 @@ export const GetAllLogDrainsDrains2$outboundSchema = z.object({
|
|
|
1018
900
|
disabledBy: z.string().optional(),
|
|
1019
901
|
firstErrorTimestamp: z.number().optional(),
|
|
1020
902
|
source: z.union([
|
|
1021
|
-
z.lazy(() => GetAllLogDrainsSource2$outboundSchema),
|
|
1022
903
|
z.lazy(() => GetAllLogDrainsSource1$outboundSchema),
|
|
904
|
+
z.lazy(() => GetAllLogDrainsSource2$outboundSchema),
|
|
1023
905
|
]),
|
|
1024
906
|
filter: z.string().optional(),
|
|
1025
907
|
filterV2: z.union([
|
|
1026
|
-
z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema),
|
|
1027
908
|
z.lazy(() => GetAllLogDrainsFilterV21$outboundSchema),
|
|
909
|
+
z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema),
|
|
1028
910
|
]).optional(),
|
|
1029
911
|
integrationIcon: z.string().optional(),
|
|
1030
912
|
integrationConfigurationUri: z.string().optional(),
|
|
1031
913
|
integrationWebsite: z.string().optional(),
|
|
1032
914
|
projectAccess: z.union([
|
|
1033
|
-
z.lazy(() => GetAllLogDrainsProjectAccess2$outboundSchema),
|
|
1034
915
|
z.lazy(() => GetAllLogDrainsProjectAccess1$outboundSchema),
|
|
916
|
+
z.lazy(() => GetAllLogDrainsProjectAccess2$outboundSchema),
|
|
1035
917
|
]).optional(),
|
|
1036
918
|
});
|
|
1037
919
|
export function getAllLogDrainsDrains2ToJSON(getAllLogDrainsDrains2) {
|
|
@@ -1110,22 +992,17 @@ export function getAllLogDrainsDrainsSchemasFromJSON(jsonString) {
|
|
|
1110
992
|
return safeParse(jsonString, (x) => GetAllLogDrainsDrainsSchemas$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDrainsSchemas' from JSON`);
|
|
1111
993
|
}
|
|
1112
994
|
/** @internal */
|
|
1113
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponseType$inboundSchema = z
|
|
1114
|
-
.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseType);
|
|
1115
|
-
/** @internal */
|
|
1116
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponseType$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponseType$inboundSchema;
|
|
1117
|
-
/** @internal */
|
|
1118
995
|
export const GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsTarget);
|
|
1119
996
|
/** @internal */
|
|
1120
997
|
export const GetAllLogDrainsDeliveryLogDrainsTarget$outboundSchema = GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema;
|
|
1121
998
|
/** @internal */
|
|
1122
999
|
export const GetAllLogDrainsDeliveryLogDrains4$inboundSchema = z.object({
|
|
1123
|
-
type:
|
|
1000
|
+
type: z.literal("internal"),
|
|
1124
1001
|
target: GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema,
|
|
1125
1002
|
});
|
|
1126
1003
|
/** @internal */
|
|
1127
1004
|
export const GetAllLogDrainsDeliveryLogDrains4$outboundSchema = z.object({
|
|
1128
|
-
type:
|
|
1005
|
+
type: z.literal("internal"),
|
|
1129
1006
|
target: GetAllLogDrainsDeliveryLogDrainsTarget$outboundSchema,
|
|
1130
1007
|
});
|
|
1131
1008
|
export function getAllLogDrainsDeliveryLogDrains4ToJSON(getAllLogDrainsDeliveryLogDrains4) {
|
|
@@ -1135,18 +1012,14 @@ export function getAllLogDrainsDeliveryLogDrains4FromJSON(jsonString) {
|
|
|
1135
1012
|
return safeParse(jsonString, (x) => GetAllLogDrainsDeliveryLogDrains4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDeliveryLogDrains4' from JSON`);
|
|
1136
1013
|
}
|
|
1137
1014
|
/** @internal */
|
|
1138
|
-
export const GetAllLogDrainsDeliveryLogDrainsType$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsType);
|
|
1139
|
-
/** @internal */
|
|
1140
|
-
export const GetAllLogDrainsDeliveryLogDrainsType$outboundSchema = GetAllLogDrainsDeliveryLogDrainsType$inboundSchema;
|
|
1141
|
-
/** @internal */
|
|
1142
1015
|
export const GetAllLogDrainsDeliveryLogDrains3$inboundSchema = z.object({
|
|
1143
|
-
type:
|
|
1016
|
+
type: z.literal("clickhouse"),
|
|
1144
1017
|
endpoint: z.string(),
|
|
1145
1018
|
table: z.string(),
|
|
1146
1019
|
});
|
|
1147
1020
|
/** @internal */
|
|
1148
1021
|
export const GetAllLogDrainsDeliveryLogDrains3$outboundSchema = z.object({
|
|
1149
|
-
type:
|
|
1022
|
+
type: z.literal("clickhouse"),
|
|
1150
1023
|
endpoint: z.string(),
|
|
1151
1024
|
table: z.string(),
|
|
1152
1025
|
});
|
|
@@ -1157,10 +1030,6 @@ export function getAllLogDrainsDeliveryLogDrains3FromJSON(jsonString) {
|
|
|
1157
1030
|
return safeParse(jsonString, (x) => GetAllLogDrainsDeliveryLogDrains3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDeliveryLogDrains3' from JSON`);
|
|
1158
1031
|
}
|
|
1159
1032
|
/** @internal */
|
|
1160
|
-
export const GetAllLogDrainsDeliveryType$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryType);
|
|
1161
|
-
/** @internal */
|
|
1162
|
-
export const GetAllLogDrainsDeliveryType$outboundSchema = GetAllLogDrainsDeliveryType$inboundSchema;
|
|
1163
|
-
/** @internal */
|
|
1164
1033
|
export const GetAllLogDrainsDeliveryEndpoint$inboundSchema = z.object({
|
|
1165
1034
|
traces: z.string(),
|
|
1166
1035
|
});
|
|
@@ -1212,7 +1081,7 @@ export function getAllLogDrainsDeliveryLogDrainsResponse200SecretFromJSON(jsonSt
|
|
|
1212
1081
|
}
|
|
1213
1082
|
/** @internal */
|
|
1214
1083
|
export const GetAllLogDrainsDeliveryLogDrains2$inboundSchema = z.object({
|
|
1215
|
-
type:
|
|
1084
|
+
type: z.literal("otlphttp"),
|
|
1216
1085
|
endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$inboundSchema),
|
|
1217
1086
|
encoding: GetAllLogDrainsDeliveryEncoding$inboundSchema,
|
|
1218
1087
|
headers: z.record(z.string()),
|
|
@@ -1223,7 +1092,7 @@ export const GetAllLogDrainsDeliveryLogDrains2$inboundSchema = z.object({
|
|
|
1223
1092
|
});
|
|
1224
1093
|
/** @internal */
|
|
1225
1094
|
export const GetAllLogDrainsDeliveryLogDrains2$outboundSchema = z.object({
|
|
1226
|
-
type:
|
|
1095
|
+
type: z.literal("otlphttp"),
|
|
1227
1096
|
endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$outboundSchema),
|
|
1228
1097
|
encoding: GetAllLogDrainsDeliveryEncoding$outboundSchema,
|
|
1229
1098
|
headers: z.record(z.string()),
|
|
@@ -1239,10 +1108,6 @@ export function getAllLogDrainsDeliveryLogDrains2FromJSON(jsonString) {
|
|
|
1239
1108
|
return safeParse(jsonString, (x) => GetAllLogDrainsDeliveryLogDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDeliveryLogDrains2' from JSON`);
|
|
1240
1109
|
}
|
|
1241
1110
|
/** @internal */
|
|
1242
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType);
|
|
1243
|
-
/** @internal */
|
|
1244
|
-
export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$inboundSchema;
|
|
1245
|
-
/** @internal */
|
|
1246
1111
|
export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Encoding);
|
|
1247
1112
|
/** @internal */
|
|
1248
1113
|
export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$outboundSchema = GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema;
|
|
@@ -1286,7 +1151,7 @@ export function getAllLogDrainsDeliveryLogDrainsResponseSecretFromJSON(jsonStrin
|
|
|
1286
1151
|
}
|
|
1287
1152
|
/** @internal */
|
|
1288
1153
|
export const GetAllLogDrainsDeliveryLogDrains1$inboundSchema = z.object({
|
|
1289
|
-
type:
|
|
1154
|
+
type: z.literal("http"),
|
|
1290
1155
|
endpoint: z.string(),
|
|
1291
1156
|
encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema,
|
|
1292
1157
|
compression: GetAllLogDrainsDeliveryCompression$inboundSchema.optional(),
|
|
@@ -1298,7 +1163,7 @@ export const GetAllLogDrainsDeliveryLogDrains1$inboundSchema = z.object({
|
|
|
1298
1163
|
});
|
|
1299
1164
|
/** @internal */
|
|
1300
1165
|
export const GetAllLogDrainsDeliveryLogDrains1$outboundSchema = z.object({
|
|
1301
|
-
type:
|
|
1166
|
+
type: z.literal("http"),
|
|
1302
1167
|
endpoint: z.string(),
|
|
1303
1168
|
encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$outboundSchema,
|
|
1304
1169
|
compression: GetAllLogDrainsDeliveryCompression$outboundSchema.optional(),
|
|
@@ -1371,13 +1236,8 @@ export const GetAllLogDrainsDrainsDisabledReason$inboundSchema = z.nativeEnum(Ge
|
|
|
1371
1236
|
/** @internal */
|
|
1372
1237
|
export const GetAllLogDrainsDrainsDisabledReason$outboundSchema = GetAllLogDrainsDrainsDisabledReason$inboundSchema;
|
|
1373
1238
|
/** @internal */
|
|
1374
|
-
export const GetAllLogDrainsSourceLogDrainsResponse200Kind$inboundSchema = z
|
|
1375
|
-
.nativeEnum(GetAllLogDrainsSourceLogDrainsResponse200Kind);
|
|
1376
|
-
/** @internal */
|
|
1377
|
-
export const GetAllLogDrainsSourceLogDrainsResponse200Kind$outboundSchema = GetAllLogDrainsSourceLogDrainsResponse200Kind$inboundSchema;
|
|
1378
|
-
/** @internal */
|
|
1379
1239
|
export const GetAllLogDrainsSourceLogDrains2$inboundSchema = z.object({
|
|
1380
|
-
kind:
|
|
1240
|
+
kind: z.literal("integration"),
|
|
1381
1241
|
resourceId: z.string().optional(),
|
|
1382
1242
|
externalResourceId: z.string().optional(),
|
|
1383
1243
|
integrationId: z.string(),
|
|
@@ -1385,7 +1245,7 @@ export const GetAllLogDrainsSourceLogDrains2$inboundSchema = z.object({
|
|
|
1385
1245
|
});
|
|
1386
1246
|
/** @internal */
|
|
1387
1247
|
export const GetAllLogDrainsSourceLogDrains2$outboundSchema = z.object({
|
|
1388
|
-
kind:
|
|
1248
|
+
kind: z.literal("integration"),
|
|
1389
1249
|
resourceId: z.string().optional(),
|
|
1390
1250
|
externalResourceId: z.string().optional(),
|
|
1391
1251
|
integrationId: z.string(),
|
|
@@ -1398,17 +1258,12 @@ export function getAllLogDrainsSourceLogDrains2FromJSON(jsonString) {
|
|
|
1398
1258
|
return safeParse(jsonString, (x) => GetAllLogDrainsSourceLogDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsSourceLogDrains2' from JSON`);
|
|
1399
1259
|
}
|
|
1400
1260
|
/** @internal */
|
|
1401
|
-
export const GetAllLogDrainsSourceLogDrainsResponseKind$inboundSchema = z
|
|
1402
|
-
.nativeEnum(GetAllLogDrainsSourceLogDrainsResponseKind);
|
|
1403
|
-
/** @internal */
|
|
1404
|
-
export const GetAllLogDrainsSourceLogDrainsResponseKind$outboundSchema = GetAllLogDrainsSourceLogDrainsResponseKind$inboundSchema;
|
|
1405
|
-
/** @internal */
|
|
1406
1261
|
export const GetAllLogDrainsSourceLogDrains1$inboundSchema = z.object({
|
|
1407
|
-
kind:
|
|
1262
|
+
kind: z.literal("self-served"),
|
|
1408
1263
|
});
|
|
1409
1264
|
/** @internal */
|
|
1410
1265
|
export const GetAllLogDrainsSourceLogDrains1$outboundSchema = z.object({
|
|
1411
|
-
kind:
|
|
1266
|
+
kind: z.literal("self-served"),
|
|
1412
1267
|
});
|
|
1413
1268
|
export function getAllLogDrainsSourceLogDrains1ToJSON(getAllLogDrainsSourceLogDrains1) {
|
|
1414
1269
|
return JSON.stringify(GetAllLogDrainsSourceLogDrains1$outboundSchema.parse(getAllLogDrainsSourceLogDrains1));
|
|
@@ -1418,13 +1273,13 @@ export function getAllLogDrainsSourceLogDrains1FromJSON(jsonString) {
|
|
|
1418
1273
|
}
|
|
1419
1274
|
/** @internal */
|
|
1420
1275
|
export const GetAllLogDrainsDrainsLogDrainsSource$inboundSchema = z.union([
|
|
1421
|
-
z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema),
|
|
1422
1276
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema),
|
|
1277
|
+
z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema),
|
|
1423
1278
|
]);
|
|
1424
1279
|
/** @internal */
|
|
1425
1280
|
export const GetAllLogDrainsDrainsLogDrainsSource$outboundSchema = z.union([
|
|
1426
|
-
z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema),
|
|
1427
1281
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$outboundSchema),
|
|
1282
|
+
z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema),
|
|
1428
1283
|
]);
|
|
1429
1284
|
export function getAllLogDrainsDrainsLogDrainsSourceToJSON(getAllLogDrainsDrainsLogDrainsSource) {
|
|
1430
1285
|
return JSON.stringify(GetAllLogDrainsDrainsLogDrainsSource$outboundSchema.parse(getAllLogDrainsDrainsLogDrainsSource));
|
|
@@ -1433,22 +1288,13 @@ export function getAllLogDrainsDrainsLogDrainsSourceFromJSON(jsonString) {
|
|
|
1433
1288
|
return safeParse(jsonString, (x) => GetAllLogDrainsDrainsLogDrainsSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSource' from JSON`);
|
|
1434
1289
|
}
|
|
1435
1290
|
/** @internal */
|
|
1436
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponse200Version$inboundSchema = z
|
|
1437
|
-
.nativeEnum(GetAllLogDrainsFilterV2LogDrainsResponse200Version);
|
|
1438
|
-
/** @internal */
|
|
1439
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponse200Version$outboundSchema = GetAllLogDrainsFilterV2LogDrainsResponse200Version$inboundSchema;
|
|
1440
|
-
/** @internal */
|
|
1441
|
-
export const GetAllLogDrainsFilterType$inboundSchema = z.nativeEnum(GetAllLogDrainsFilterType);
|
|
1442
|
-
/** @internal */
|
|
1443
|
-
export const GetAllLogDrainsFilterType$outboundSchema = GetAllLogDrainsFilterType$inboundSchema;
|
|
1444
|
-
/** @internal */
|
|
1445
1291
|
export const GetAllLogDrainsFilterLogDrains2$inboundSchema = z.object({
|
|
1446
|
-
type:
|
|
1292
|
+
type: z.literal("odata"),
|
|
1447
1293
|
text: z.string(),
|
|
1448
1294
|
});
|
|
1449
1295
|
/** @internal */
|
|
1450
1296
|
export const GetAllLogDrainsFilterLogDrains2$outboundSchema = z.object({
|
|
1451
|
-
type:
|
|
1297
|
+
type: z.literal("odata"),
|
|
1452
1298
|
text: z.string(),
|
|
1453
1299
|
});
|
|
1454
1300
|
export function getAllLogDrainsFilterLogDrains2ToJSON(getAllLogDrainsFilterLogDrains2) {
|
|
@@ -1458,11 +1304,6 @@ export function getAllLogDrainsFilterLogDrains2FromJSON(jsonString) {
|
|
|
1458
1304
|
return safeParse(jsonString, (x) => GetAllLogDrainsFilterLogDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsFilterLogDrains2' from JSON`);
|
|
1459
1305
|
}
|
|
1460
1306
|
/** @internal */
|
|
1461
|
-
export const GetAllLogDrainsFilterLogDrainsResponse200Type$inboundSchema = z
|
|
1462
|
-
.nativeEnum(GetAllLogDrainsFilterLogDrainsResponse200Type);
|
|
1463
|
-
/** @internal */
|
|
1464
|
-
export const GetAllLogDrainsFilterLogDrainsResponse200Type$outboundSchema = GetAllLogDrainsFilterLogDrainsResponse200Type$inboundSchema;
|
|
1465
|
-
/** @internal */
|
|
1466
1307
|
export const GetAllLogDrainsFilterLogDrainsProject$inboundSchema = z.object({
|
|
1467
1308
|
ids: z.array(z.string()).optional(),
|
|
1468
1309
|
});
|
|
@@ -1526,7 +1367,7 @@ export function getAllLogDrainsFilterDeploymentFromJSON(jsonString) {
|
|
|
1526
1367
|
}
|
|
1527
1368
|
/** @internal */
|
|
1528
1369
|
export const GetAllLogDrainsFilterLogDrains1$inboundSchema = z.object({
|
|
1529
|
-
type:
|
|
1370
|
+
type: z.literal("basic"),
|
|
1530
1371
|
project: z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$inboundSchema)
|
|
1531
1372
|
.optional(),
|
|
1532
1373
|
log: z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$inboundSchema).optional(),
|
|
@@ -1535,7 +1376,7 @@ export const GetAllLogDrainsFilterLogDrains1$inboundSchema = z.object({
|
|
|
1535
1376
|
});
|
|
1536
1377
|
/** @internal */
|
|
1537
1378
|
export const GetAllLogDrainsFilterLogDrains1$outboundSchema = z.object({
|
|
1538
|
-
type:
|
|
1379
|
+
type: z.literal("basic"),
|
|
1539
1380
|
project: z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$outboundSchema)
|
|
1540
1381
|
.optional(),
|
|
1541
1382
|
log: z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$outboundSchema)
|
|
@@ -1551,13 +1392,13 @@ export function getAllLogDrainsFilterLogDrains1FromJSON(jsonString) {
|
|
|
1551
1392
|
}
|
|
1552
1393
|
/** @internal */
|
|
1553
1394
|
export const GetAllLogDrainsFilterV2Filter$inboundSchema = z.union([
|
|
1554
|
-
z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema),
|
|
1555
1395
|
z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema),
|
|
1396
|
+
z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema),
|
|
1556
1397
|
]);
|
|
1557
1398
|
/** @internal */
|
|
1558
1399
|
export const GetAllLogDrainsFilterV2Filter$outboundSchema = z.union([
|
|
1559
|
-
z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema),
|
|
1560
1400
|
z.lazy(() => GetAllLogDrainsFilterLogDrains1$outboundSchema),
|
|
1401
|
+
z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema),
|
|
1561
1402
|
]);
|
|
1562
1403
|
export function getAllLogDrainsFilterV2FilterToJSON(getAllLogDrainsFilterV2Filter) {
|
|
1563
1404
|
return JSON.stringify(GetAllLogDrainsFilterV2Filter$outboundSchema.parse(getAllLogDrainsFilterV2Filter));
|
|
@@ -1567,18 +1408,18 @@ export function getAllLogDrainsFilterV2FilterFromJSON(jsonString) {
|
|
|
1567
1408
|
}
|
|
1568
1409
|
/** @internal */
|
|
1569
1410
|
export const GetAllLogDrainsFilterV2LogDrains2$inboundSchema = z.object({
|
|
1570
|
-
version:
|
|
1411
|
+
version: z.literal("v2"),
|
|
1571
1412
|
filter: z.union([
|
|
1572
|
-
z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema),
|
|
1573
1413
|
z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema),
|
|
1414
|
+
z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema),
|
|
1574
1415
|
]),
|
|
1575
1416
|
});
|
|
1576
1417
|
/** @internal */
|
|
1577
1418
|
export const GetAllLogDrainsFilterV2LogDrains2$outboundSchema = z.object({
|
|
1578
|
-
version:
|
|
1419
|
+
version: z.literal("v2"),
|
|
1579
1420
|
filter: z.union([
|
|
1580
|
-
z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema),
|
|
1581
1421
|
z.lazy(() => GetAllLogDrainsFilterLogDrains1$outboundSchema),
|
|
1422
|
+
z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema),
|
|
1582
1423
|
]),
|
|
1583
1424
|
});
|
|
1584
1425
|
export function getAllLogDrainsFilterV2LogDrains2ToJSON(getAllLogDrainsFilterV2LogDrains2) {
|
|
@@ -1588,17 +1429,12 @@ export function getAllLogDrainsFilterV2LogDrains2FromJSON(jsonString) {
|
|
|
1588
1429
|
return safeParse(jsonString, (x) => GetAllLogDrainsFilterV2LogDrains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllLogDrainsFilterV2LogDrains2' from JSON`);
|
|
1589
1430
|
}
|
|
1590
1431
|
/** @internal */
|
|
1591
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponseVersion$inboundSchema = z
|
|
1592
|
-
.nativeEnum(GetAllLogDrainsFilterV2LogDrainsResponseVersion);
|
|
1593
|
-
/** @internal */
|
|
1594
|
-
export const GetAllLogDrainsFilterV2LogDrainsResponseVersion$outboundSchema = GetAllLogDrainsFilterV2LogDrainsResponseVersion$inboundSchema;
|
|
1595
|
-
/** @internal */
|
|
1596
1432
|
export const GetAllLogDrainsFilterV2LogDrains1$inboundSchema = z.object({
|
|
1597
|
-
version:
|
|
1433
|
+
version: z.literal("v1"),
|
|
1598
1434
|
});
|
|
1599
1435
|
/** @internal */
|
|
1600
1436
|
export const GetAllLogDrainsFilterV2LogDrains1$outboundSchema = z.object({
|
|
1601
|
-
version:
|
|
1437
|
+
version: z.literal("v1"),
|
|
1602
1438
|
});
|
|
1603
1439
|
export function getAllLogDrainsFilterV2LogDrains1ToJSON(getAllLogDrainsFilterV2LogDrains1) {
|
|
1604
1440
|
return JSON.stringify(GetAllLogDrainsFilterV2LogDrains1$outboundSchema.parse(getAllLogDrainsFilterV2LogDrains1));
|
|
@@ -1608,13 +1444,13 @@ export function getAllLogDrainsFilterV2LogDrains1FromJSON(jsonString) {
|
|
|
1608
1444
|
}
|
|
1609
1445
|
/** @internal */
|
|
1610
1446
|
export const GetAllLogDrainsDrainsFilterV2$inboundSchema = z.union([
|
|
1611
|
-
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema),
|
|
1612
1447
|
z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$inboundSchema),
|
|
1448
|
+
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema),
|
|
1613
1449
|
]);
|
|
1614
1450
|
/** @internal */
|
|
1615
1451
|
export const GetAllLogDrainsDrainsFilterV2$outboundSchema = z.union([
|
|
1616
|
-
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema),
|
|
1617
1452
|
z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$outboundSchema),
|
|
1453
|
+
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema),
|
|
1618
1454
|
]);
|
|
1619
1455
|
export function getAllLogDrainsDrainsFilterV2ToJSON(getAllLogDrainsDrainsFilterV2) {
|
|
1620
1456
|
return JSON.stringify(GetAllLogDrainsDrainsFilterV2$outboundSchema.parse(getAllLogDrainsDrainsFilterV2));
|
|
@@ -1646,13 +1482,13 @@ export const GetAllLogDrainsDrains1$inboundSchema = z.object({
|
|
|
1646
1482
|
disabledBy: z.string().optional(),
|
|
1647
1483
|
firstErrorTimestamp: z.number().optional(),
|
|
1648
1484
|
source: z.union([
|
|
1649
|
-
z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema),
|
|
1650
1485
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema),
|
|
1486
|
+
z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema),
|
|
1651
1487
|
]),
|
|
1652
1488
|
filter: z.string().optional(),
|
|
1653
1489
|
filterV2: z.union([
|
|
1654
|
-
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema),
|
|
1655
1490
|
z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$inboundSchema),
|
|
1491
|
+
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema),
|
|
1656
1492
|
]).optional(),
|
|
1657
1493
|
});
|
|
1658
1494
|
/** @internal */
|
|
@@ -1679,13 +1515,13 @@ export const GetAllLogDrainsDrains1$outboundSchema = z.object({
|
|
|
1679
1515
|
disabledBy: z.string().optional(),
|
|
1680
1516
|
firstErrorTimestamp: z.number().optional(),
|
|
1681
1517
|
source: z.union([
|
|
1682
|
-
z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema),
|
|
1683
1518
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$outboundSchema),
|
|
1519
|
+
z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema),
|
|
1684
1520
|
]),
|
|
1685
1521
|
filter: z.string().optional(),
|
|
1686
1522
|
filterV2: z.union([
|
|
1687
|
-
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema),
|
|
1688
1523
|
z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$outboundSchema),
|
|
1524
|
+
z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema),
|
|
1689
1525
|
]).optional(),
|
|
1690
1526
|
});
|
|
1691
1527
|
export function getAllLogDrainsDrains1ToJSON(getAllLogDrainsDrains1) {
|