@vercel/sdk 1.6.1 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -10
- package/bin/mcp-server.js +1579 -2527
- package/bin/mcp-server.js.map +29 -38
- package/docs/sdks/integrations/README.md +0 -161
- package/docs/sdks/logdrains/README.md +0 -260
- package/docs/sdks/projects/README.md +162 -0
- package/esm/__tests__/integrations.test.js +5 -40
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +7 -89
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +41 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +2 -2
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsPauseProject.d.ts +18 -0
- package/esm/funcs/projectsPauseProject.d.ts.map +1 -0
- package/esm/funcs/{logDrainsGetConfigurableLogDrain.js → projectsPauseProject.js} +13 -13
- package/esm/funcs/projectsPauseProject.js.map +1 -0
- package/esm/funcs/projectsUnpauseProject.d.ts +18 -0
- package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -0
- package/esm/funcs/{logDrainsGetAllLogDrains.js → projectsUnpauseProject.js} +18 -14
- package/esm/funcs/projectsUnpauseProject.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/matchers.d.ts +3 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +10 -0
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.js +7 -2
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +5 -11
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/projectsPauseProject.d.ts +7 -0
- package/esm/mcp-server/tools/projectsPauseProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsPauseProject.js +27 -0
- package/esm/mcp-server/tools/projectsPauseProject.js.map +1 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.d.ts +7 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.js +27 -0
- package/esm/mcp-server/tools/projectsUnpauseProject.js.map +1 -0
- package/esm/models/authuser.d.ts +41 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +29 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +3 -3
- package/esm/models/canceldeploymentop.js +1 -1
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +51 -51
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +74 -75
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +46 -16
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +17 -5
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +34 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +25 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +19 -16
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +25 -27
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +3 -0
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +14 -13
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +46 -16
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +17 -5
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +9 -9
- package/esm/models/getteammembersop.js +3 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/pauseprojectop.d.ts +42 -0
- package/esm/models/pauseprojectop.d.ts.map +1 -0
- package/esm/models/pauseprojectop.js +35 -0
- package/esm/models/pauseprojectop.js.map +1 -0
- package/esm/models/unpauseprojectop.d.ts +42 -0
- package/esm/models/unpauseprojectop.d.ts.map +1 -0
- package/esm/models/unpauseprojectop.js +35 -0
- package/esm/models/unpauseprojectop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +46 -16
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +17 -5
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +46 -16
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +17 -5
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +569 -512
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +703 -645
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +0 -16
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +0 -20
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -24
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -30
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/projects.d.ts +16 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +20 -0
- package/esm/sdk/projects.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/integrations.test.ts +9 -44
- package/src/__tests__/logdrains.test.ts +13 -95
- package/src/__tests__/projects.test.ts +47 -13
- package/src/funcs/projectsCreateProject.ts +2 -2
- package/src/funcs/{integrationsGitNamespaces.ts → projectsPauseProject.ts} +30 -25
- package/src/funcs/{logDrainsGetAllLogDrains.ts → projectsUnpauseProject.ts} +27 -24
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -11
- package/src/mcp-server/tools/projectsPauseProject.ts +35 -0
- package/src/mcp-server/tools/projectsUnpauseProject.ts +35 -0
- package/src/models/authuser.ts +74 -0
- package/src/models/canceldeploymentop.ts +1 -1
- package/src/models/createlogdrainop.ts +95 -112
- package/src/models/createprojectop.ts +42 -6
- package/src/models/exchangessotokenop.ts +44 -0
- package/src/models/getconfigurationsop.ts +34 -39
- package/src/models/getcustomenvironmentop.ts +3 -0
- package/src/models/getintegrationlogdrainsop.ts +15 -20
- package/src/models/getprojectsop.ts +42 -6
- package/src/models/getteammembersop.ts +3 -3
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
- package/src/models/pauseprojectop.ts +83 -0
- package/src/models/unpauseprojectop.ts +83 -0
- package/src/models/updateprojectdatacacheop.ts +42 -6
- package/src/models/updateprojectop.ts +42 -6
- package/src/models/userevent.ts +1328 -1193
- package/src/sdk/integrations.ts +0 -44
- package/src/sdk/logdrains.ts +0 -66
- package/src/sdk/projects.ts +38 -0
- package/vercel-spec.json +616 -1392
- package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
- package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/funcs/integrationsGitNamespaces.js +0 -86
- package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
- package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
- package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/funcs/integrationsSearchRepo.js +0 -89
- package/esm/funcs/integrationsSearchRepo.js.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +0 -86
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
- package/esm/mcp-server/tools/integrationsGitNamespaces.js.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
- package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/createconfigurablelogdrainop.js +0 -348
- package/esm/models/createconfigurablelogdrainop.js.map +0 -1
- package/esm/models/getalllogdrainsop.d.ts +0 -294
- package/esm/models/getalllogdrainsop.d.ts.map +0 -1
- package/esm/models/getalllogdrainsop.js +0 -231
- package/esm/models/getalllogdrainsop.js.map +0 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
- package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/getconfigurablelogdrainop.js +0 -230
- package/esm/models/getconfigurablelogdrainop.js.map +0 -1
- package/esm/models/gitnamespacesop.d.ts +0 -126
- package/esm/models/gitnamespacesop.d.ts.map +0 -1
- package/esm/models/gitnamespacesop.js +0 -115
- package/esm/models/gitnamespacesop.js.map +0 -1
- package/esm/models/searchrepoop.d.ts +0 -421
- package/esm/models/searchrepoop.d.ts.map +0 -1
- package/esm/models/searchrepoop.js +0 -385
- package/esm/models/searchrepoop.js.map +0 -1
- package/src/funcs/integrationsSearchRepo.ts +0 -181
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +0 -185
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
- package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
- package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
- package/src/models/createconfigurablelogdrainop.ts +0 -652
- package/src/models/getalllogdrainsop.ts +0 -416
- package/src/models/getconfigurablelogdrainop.ts +0 -420
- package/src/models/gitnamespacesop.ts +0 -235
- package/src/models/searchrepoop.ts +0 -784
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
/**
|
|
8
|
-
* The delivery log format
|
|
9
|
-
*/
|
|
10
|
-
export const DeliveryFormat = {
|
|
11
|
-
Json: "json",
|
|
12
|
-
Ndjson: "ndjson",
|
|
13
|
-
};
|
|
14
|
-
export const Sources = {
|
|
15
|
-
Static: "static",
|
|
16
|
-
Lambda: "lambda",
|
|
17
|
-
Build: "build",
|
|
18
|
-
Edge: "edge",
|
|
19
|
-
External: "external",
|
|
20
|
-
Firewall: "firewall",
|
|
21
|
-
};
|
|
22
|
-
export const Environments = {
|
|
23
|
-
Preview: "preview",
|
|
24
|
-
Production: "production",
|
|
25
|
-
};
|
|
26
|
-
export const CreateConfigurableLogDrainSources = {
|
|
27
|
-
Build: "build",
|
|
28
|
-
Edge: "edge",
|
|
29
|
-
Lambda: "lambda",
|
|
30
|
-
Static: "static",
|
|
31
|
-
External: "external",
|
|
32
|
-
Firewall: "firewall",
|
|
33
|
-
};
|
|
34
|
-
export const CreateConfigurableLogDrainEnvironments = {
|
|
35
|
-
Production: "production",
|
|
36
|
-
Preview: "preview",
|
|
37
|
-
};
|
|
38
|
-
export const CreateConfigurableLogDrainCreatedFrom = {
|
|
39
|
-
SelfServed: "self-served",
|
|
40
|
-
Integration: "integration",
|
|
41
|
-
};
|
|
42
|
-
export const CreateConfigurableLogDrainDeliveryFormat = {
|
|
43
|
-
Json: "json",
|
|
44
|
-
Ndjson: "ndjson",
|
|
45
|
-
Syslog: "syslog",
|
|
46
|
-
Protobuf: "protobuf",
|
|
47
|
-
};
|
|
48
|
-
export const CreateConfigurableLogDrainStatus = {
|
|
49
|
-
Enabled: "enabled",
|
|
50
|
-
Disabled: "disabled",
|
|
51
|
-
Errored: "errored",
|
|
52
|
-
};
|
|
53
|
-
export const CreateConfigurableLogDrainDisabledReason = {
|
|
54
|
-
DisabledByOwner: "disabled-by-owner",
|
|
55
|
-
FeatureNotAvailable: "feature-not-available",
|
|
56
|
-
AccountPlanDowngrade: "account-plan-downgrade",
|
|
57
|
-
DisabledByAdmin: "disabled-by-admin",
|
|
58
|
-
};
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const DeliveryFormat$inboundSchema = z.nativeEnum(DeliveryFormat);
|
|
61
|
-
/** @internal */
|
|
62
|
-
export const DeliveryFormat$outboundSchema = DeliveryFormat$inboundSchema;
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
export var DeliveryFormat$;
|
|
68
|
-
(function (DeliveryFormat$) {
|
|
69
|
-
/** @deprecated use `DeliveryFormat$inboundSchema` instead. */
|
|
70
|
-
DeliveryFormat$.inboundSchema = DeliveryFormat$inboundSchema;
|
|
71
|
-
/** @deprecated use `DeliveryFormat$outboundSchema` instead. */
|
|
72
|
-
DeliveryFormat$.outboundSchema = DeliveryFormat$outboundSchema;
|
|
73
|
-
})(DeliveryFormat$ || (DeliveryFormat$ = {}));
|
|
74
|
-
/** @internal */
|
|
75
|
-
export const Sources$inboundSchema = z
|
|
76
|
-
.nativeEnum(Sources);
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const Sources$outboundSchema = Sources$inboundSchema;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
|
-
*/
|
|
83
|
-
export var Sources$;
|
|
84
|
-
(function (Sources$) {
|
|
85
|
-
/** @deprecated use `Sources$inboundSchema` instead. */
|
|
86
|
-
Sources$.inboundSchema = Sources$inboundSchema;
|
|
87
|
-
/** @deprecated use `Sources$outboundSchema` instead. */
|
|
88
|
-
Sources$.outboundSchema = Sources$outboundSchema;
|
|
89
|
-
})(Sources$ || (Sources$ = {}));
|
|
90
|
-
/** @internal */
|
|
91
|
-
export const Environments$inboundSchema = z.nativeEnum(Environments);
|
|
92
|
-
/** @internal */
|
|
93
|
-
export const Environments$outboundSchema = Environments$inboundSchema;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
97
|
-
*/
|
|
98
|
-
export var Environments$;
|
|
99
|
-
(function (Environments$) {
|
|
100
|
-
/** @deprecated use `Environments$inboundSchema` instead. */
|
|
101
|
-
Environments$.inboundSchema = Environments$inboundSchema;
|
|
102
|
-
/** @deprecated use `Environments$outboundSchema` instead. */
|
|
103
|
-
Environments$.outboundSchema = Environments$outboundSchema;
|
|
104
|
-
})(Environments$ || (Environments$ = {}));
|
|
105
|
-
/** @internal */
|
|
106
|
-
export const CreateConfigurableLogDrainRequestBody$inboundSchema = z.object({
|
|
107
|
-
deliveryFormat: DeliveryFormat$inboundSchema,
|
|
108
|
-
url: z.string(),
|
|
109
|
-
headers: z.record(z.string()).optional(),
|
|
110
|
-
projectIds: z.array(z.string()).optional(),
|
|
111
|
-
sources: z.array(Sources$inboundSchema),
|
|
112
|
-
environments: z.array(Environments$inboundSchema).optional(),
|
|
113
|
-
secret: z.string().optional(),
|
|
114
|
-
samplingRate: z.number().optional(),
|
|
115
|
-
name: z.string().optional(),
|
|
116
|
-
});
|
|
117
|
-
/** @internal */
|
|
118
|
-
export const CreateConfigurableLogDrainRequestBody$outboundSchema = z.object({
|
|
119
|
-
deliveryFormat: DeliveryFormat$outboundSchema,
|
|
120
|
-
url: z.string(),
|
|
121
|
-
headers: z.record(z.string()).optional(),
|
|
122
|
-
projectIds: z.array(z.string()).optional(),
|
|
123
|
-
sources: z.array(Sources$outboundSchema),
|
|
124
|
-
environments: z.array(Environments$outboundSchema).optional(),
|
|
125
|
-
secret: z.string().optional(),
|
|
126
|
-
samplingRate: z.number().optional(),
|
|
127
|
-
name: z.string().optional(),
|
|
128
|
-
});
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
-
*/
|
|
133
|
-
export var CreateConfigurableLogDrainRequestBody$;
|
|
134
|
-
(function (CreateConfigurableLogDrainRequestBody$) {
|
|
135
|
-
/** @deprecated use `CreateConfigurableLogDrainRequestBody$inboundSchema` instead. */
|
|
136
|
-
CreateConfigurableLogDrainRequestBody$.inboundSchema = CreateConfigurableLogDrainRequestBody$inboundSchema;
|
|
137
|
-
/** @deprecated use `CreateConfigurableLogDrainRequestBody$outboundSchema` instead. */
|
|
138
|
-
CreateConfigurableLogDrainRequestBody$.outboundSchema = CreateConfigurableLogDrainRequestBody$outboundSchema;
|
|
139
|
-
})(CreateConfigurableLogDrainRequestBody$ || (CreateConfigurableLogDrainRequestBody$ = {}));
|
|
140
|
-
export function createConfigurableLogDrainRequestBodyToJSON(createConfigurableLogDrainRequestBody) {
|
|
141
|
-
return JSON.stringify(CreateConfigurableLogDrainRequestBody$outboundSchema.parse(createConfigurableLogDrainRequestBody));
|
|
142
|
-
}
|
|
143
|
-
export function createConfigurableLogDrainRequestBodyFromJSON(jsonString) {
|
|
144
|
-
return safeParse(jsonString, (x) => CreateConfigurableLogDrainRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateConfigurableLogDrainRequestBody' from JSON`);
|
|
145
|
-
}
|
|
146
|
-
/** @internal */
|
|
147
|
-
export const CreateConfigurableLogDrainRequest$inboundSchema = z.object({
|
|
148
|
-
teamId: z.string().optional(),
|
|
149
|
-
slug: z.string().optional(),
|
|
150
|
-
RequestBody: z.lazy(() => CreateConfigurableLogDrainRequestBody$inboundSchema),
|
|
151
|
-
}).transform((v) => {
|
|
152
|
-
return remap$(v, {
|
|
153
|
-
"RequestBody": "requestBody",
|
|
154
|
-
});
|
|
155
|
-
});
|
|
156
|
-
/** @internal */
|
|
157
|
-
export const CreateConfigurableLogDrainRequest$outboundSchema = z.object({
|
|
158
|
-
teamId: z.string().optional(),
|
|
159
|
-
slug: z.string().optional(),
|
|
160
|
-
requestBody: z.lazy(() => CreateConfigurableLogDrainRequestBody$outboundSchema),
|
|
161
|
-
}).transform((v) => {
|
|
162
|
-
return remap$(v, {
|
|
163
|
-
requestBody: "RequestBody",
|
|
164
|
-
});
|
|
165
|
-
});
|
|
166
|
-
/**
|
|
167
|
-
* @internal
|
|
168
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
169
|
-
*/
|
|
170
|
-
export var CreateConfigurableLogDrainRequest$;
|
|
171
|
-
(function (CreateConfigurableLogDrainRequest$) {
|
|
172
|
-
/** @deprecated use `CreateConfigurableLogDrainRequest$inboundSchema` instead. */
|
|
173
|
-
CreateConfigurableLogDrainRequest$.inboundSchema = CreateConfigurableLogDrainRequest$inboundSchema;
|
|
174
|
-
/** @deprecated use `CreateConfigurableLogDrainRequest$outboundSchema` instead. */
|
|
175
|
-
CreateConfigurableLogDrainRequest$.outboundSchema = CreateConfigurableLogDrainRequest$outboundSchema;
|
|
176
|
-
})(CreateConfigurableLogDrainRequest$ || (CreateConfigurableLogDrainRequest$ = {}));
|
|
177
|
-
export function createConfigurableLogDrainRequestToJSON(createConfigurableLogDrainRequest) {
|
|
178
|
-
return JSON.stringify(CreateConfigurableLogDrainRequest$outboundSchema.parse(createConfigurableLogDrainRequest));
|
|
179
|
-
}
|
|
180
|
-
export function createConfigurableLogDrainRequestFromJSON(jsonString) {
|
|
181
|
-
return safeParse(jsonString, (x) => CreateConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateConfigurableLogDrainRequest' from JSON`);
|
|
182
|
-
}
|
|
183
|
-
/** @internal */
|
|
184
|
-
export const CreateConfigurableLogDrainSources$inboundSchema = z.nativeEnum(CreateConfigurableLogDrainSources);
|
|
185
|
-
/** @internal */
|
|
186
|
-
export const CreateConfigurableLogDrainSources$outboundSchema = CreateConfigurableLogDrainSources$inboundSchema;
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
190
|
-
*/
|
|
191
|
-
export var CreateConfigurableLogDrainSources$;
|
|
192
|
-
(function (CreateConfigurableLogDrainSources$) {
|
|
193
|
-
/** @deprecated use `CreateConfigurableLogDrainSources$inboundSchema` instead. */
|
|
194
|
-
CreateConfigurableLogDrainSources$.inboundSchema = CreateConfigurableLogDrainSources$inboundSchema;
|
|
195
|
-
/** @deprecated use `CreateConfigurableLogDrainSources$outboundSchema` instead. */
|
|
196
|
-
CreateConfigurableLogDrainSources$.outboundSchema = CreateConfigurableLogDrainSources$outboundSchema;
|
|
197
|
-
})(CreateConfigurableLogDrainSources$ || (CreateConfigurableLogDrainSources$ = {}));
|
|
198
|
-
/** @internal */
|
|
199
|
-
export const CreateConfigurableLogDrainEnvironments$inboundSchema = z.nativeEnum(CreateConfigurableLogDrainEnvironments);
|
|
200
|
-
/** @internal */
|
|
201
|
-
export const CreateConfigurableLogDrainEnvironments$outboundSchema = CreateConfigurableLogDrainEnvironments$inboundSchema;
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
205
|
-
*/
|
|
206
|
-
export var CreateConfigurableLogDrainEnvironments$;
|
|
207
|
-
(function (CreateConfigurableLogDrainEnvironments$) {
|
|
208
|
-
/** @deprecated use `CreateConfigurableLogDrainEnvironments$inboundSchema` instead. */
|
|
209
|
-
CreateConfigurableLogDrainEnvironments$.inboundSchema = CreateConfigurableLogDrainEnvironments$inboundSchema;
|
|
210
|
-
/** @deprecated use `CreateConfigurableLogDrainEnvironments$outboundSchema` instead. */
|
|
211
|
-
CreateConfigurableLogDrainEnvironments$.outboundSchema = CreateConfigurableLogDrainEnvironments$outboundSchema;
|
|
212
|
-
})(CreateConfigurableLogDrainEnvironments$ || (CreateConfigurableLogDrainEnvironments$ = {}));
|
|
213
|
-
/** @internal */
|
|
214
|
-
export const CreateConfigurableLogDrainCreatedFrom$inboundSchema = z.nativeEnum(CreateConfigurableLogDrainCreatedFrom);
|
|
215
|
-
/** @internal */
|
|
216
|
-
export const CreateConfigurableLogDrainCreatedFrom$outboundSchema = CreateConfigurableLogDrainCreatedFrom$inboundSchema;
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
220
|
-
*/
|
|
221
|
-
export var CreateConfigurableLogDrainCreatedFrom$;
|
|
222
|
-
(function (CreateConfigurableLogDrainCreatedFrom$) {
|
|
223
|
-
/** @deprecated use `CreateConfigurableLogDrainCreatedFrom$inboundSchema` instead. */
|
|
224
|
-
CreateConfigurableLogDrainCreatedFrom$.inboundSchema = CreateConfigurableLogDrainCreatedFrom$inboundSchema;
|
|
225
|
-
/** @deprecated use `CreateConfigurableLogDrainCreatedFrom$outboundSchema` instead. */
|
|
226
|
-
CreateConfigurableLogDrainCreatedFrom$.outboundSchema = CreateConfigurableLogDrainCreatedFrom$outboundSchema;
|
|
227
|
-
})(CreateConfigurableLogDrainCreatedFrom$ || (CreateConfigurableLogDrainCreatedFrom$ = {}));
|
|
228
|
-
/** @internal */
|
|
229
|
-
export const CreateConfigurableLogDrainDeliveryFormat$inboundSchema = z
|
|
230
|
-
.nativeEnum(CreateConfigurableLogDrainDeliveryFormat);
|
|
231
|
-
/** @internal */
|
|
232
|
-
export const CreateConfigurableLogDrainDeliveryFormat$outboundSchema = CreateConfigurableLogDrainDeliveryFormat$inboundSchema;
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
236
|
-
*/
|
|
237
|
-
export var CreateConfigurableLogDrainDeliveryFormat$;
|
|
238
|
-
(function (CreateConfigurableLogDrainDeliveryFormat$) {
|
|
239
|
-
/** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$inboundSchema` instead. */
|
|
240
|
-
CreateConfigurableLogDrainDeliveryFormat$.inboundSchema = CreateConfigurableLogDrainDeliveryFormat$inboundSchema;
|
|
241
|
-
/** @deprecated use `CreateConfigurableLogDrainDeliveryFormat$outboundSchema` instead. */
|
|
242
|
-
CreateConfigurableLogDrainDeliveryFormat$.outboundSchema = CreateConfigurableLogDrainDeliveryFormat$outboundSchema;
|
|
243
|
-
})(CreateConfigurableLogDrainDeliveryFormat$ || (CreateConfigurableLogDrainDeliveryFormat$ = {}));
|
|
244
|
-
/** @internal */
|
|
245
|
-
export const CreateConfigurableLogDrainStatus$inboundSchema = z.nativeEnum(CreateConfigurableLogDrainStatus);
|
|
246
|
-
/** @internal */
|
|
247
|
-
export const CreateConfigurableLogDrainStatus$outboundSchema = CreateConfigurableLogDrainStatus$inboundSchema;
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
251
|
-
*/
|
|
252
|
-
export var CreateConfigurableLogDrainStatus$;
|
|
253
|
-
(function (CreateConfigurableLogDrainStatus$) {
|
|
254
|
-
/** @deprecated use `CreateConfigurableLogDrainStatus$inboundSchema` instead. */
|
|
255
|
-
CreateConfigurableLogDrainStatus$.inboundSchema = CreateConfigurableLogDrainStatus$inboundSchema;
|
|
256
|
-
/** @deprecated use `CreateConfigurableLogDrainStatus$outboundSchema` instead. */
|
|
257
|
-
CreateConfigurableLogDrainStatus$.outboundSchema = CreateConfigurableLogDrainStatus$outboundSchema;
|
|
258
|
-
})(CreateConfigurableLogDrainStatus$ || (CreateConfigurableLogDrainStatus$ = {}));
|
|
259
|
-
/** @internal */
|
|
260
|
-
export const CreateConfigurableLogDrainDisabledReason$inboundSchema = z
|
|
261
|
-
.nativeEnum(CreateConfigurableLogDrainDisabledReason);
|
|
262
|
-
/** @internal */
|
|
263
|
-
export const CreateConfigurableLogDrainDisabledReason$outboundSchema = CreateConfigurableLogDrainDisabledReason$inboundSchema;
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
267
|
-
*/
|
|
268
|
-
export var CreateConfigurableLogDrainDisabledReason$;
|
|
269
|
-
(function (CreateConfigurableLogDrainDisabledReason$) {
|
|
270
|
-
/** @deprecated use `CreateConfigurableLogDrainDisabledReason$inboundSchema` instead. */
|
|
271
|
-
CreateConfigurableLogDrainDisabledReason$.inboundSchema = CreateConfigurableLogDrainDisabledReason$inboundSchema;
|
|
272
|
-
/** @deprecated use `CreateConfigurableLogDrainDisabledReason$outboundSchema` instead. */
|
|
273
|
-
CreateConfigurableLogDrainDisabledReason$.outboundSchema = CreateConfigurableLogDrainDisabledReason$outboundSchema;
|
|
274
|
-
})(CreateConfigurableLogDrainDisabledReason$ || (CreateConfigurableLogDrainDisabledReason$ = {}));
|
|
275
|
-
/** @internal */
|
|
276
|
-
export const CreateConfigurableLogDrainResponseBody$inboundSchema = z.object({
|
|
277
|
-
secret: z.string().optional(),
|
|
278
|
-
clientId: z.string().optional(),
|
|
279
|
-
configurationId: z.string().optional(),
|
|
280
|
-
sources: z.array(CreateConfigurableLogDrainSources$inboundSchema).optional(),
|
|
281
|
-
environments: z.array(CreateConfigurableLogDrainEnvironments$inboundSchema),
|
|
282
|
-
disabledBy: z.string().optional(),
|
|
283
|
-
firstErrorTimestamp: z.number().optional(),
|
|
284
|
-
samplingRate: z.number().optional(),
|
|
285
|
-
hideIpAddresses: z.boolean().optional(),
|
|
286
|
-
id: z.string(),
|
|
287
|
-
createdAt: z.number(),
|
|
288
|
-
deletedAt: z.nullable(z.number()),
|
|
289
|
-
updatedAt: z.number(),
|
|
290
|
-
url: z.string(),
|
|
291
|
-
headers: z.record(z.string()).optional(),
|
|
292
|
-
projectIds: z.array(z.string()).optional(),
|
|
293
|
-
name: z.string(),
|
|
294
|
-
teamId: z.nullable(z.string()).optional(),
|
|
295
|
-
ownerId: z.string(),
|
|
296
|
-
createdFrom: CreateConfigurableLogDrainCreatedFrom$inboundSchema.optional(),
|
|
297
|
-
deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$inboundSchema,
|
|
298
|
-
status: CreateConfigurableLogDrainStatus$inboundSchema.optional(),
|
|
299
|
-
disabledAt: z.number().optional(),
|
|
300
|
-
disabledReason: CreateConfigurableLogDrainDisabledReason$inboundSchema
|
|
301
|
-
.optional(),
|
|
302
|
-
});
|
|
303
|
-
/** @internal */
|
|
304
|
-
export const CreateConfigurableLogDrainResponseBody$outboundSchema = z.object({
|
|
305
|
-
secret: z.string().optional(),
|
|
306
|
-
clientId: z.string().optional(),
|
|
307
|
-
configurationId: z.string().optional(),
|
|
308
|
-
sources: z.array(CreateConfigurableLogDrainSources$outboundSchema).optional(),
|
|
309
|
-
environments: z.array(CreateConfigurableLogDrainEnvironments$outboundSchema),
|
|
310
|
-
disabledBy: z.string().optional(),
|
|
311
|
-
firstErrorTimestamp: z.number().optional(),
|
|
312
|
-
samplingRate: z.number().optional(),
|
|
313
|
-
hideIpAddresses: z.boolean().optional(),
|
|
314
|
-
id: z.string(),
|
|
315
|
-
createdAt: z.number(),
|
|
316
|
-
deletedAt: z.nullable(z.number()),
|
|
317
|
-
updatedAt: z.number(),
|
|
318
|
-
url: z.string(),
|
|
319
|
-
headers: z.record(z.string()).optional(),
|
|
320
|
-
projectIds: z.array(z.string()).optional(),
|
|
321
|
-
name: z.string(),
|
|
322
|
-
teamId: z.nullable(z.string()).optional(),
|
|
323
|
-
ownerId: z.string(),
|
|
324
|
-
createdFrom: CreateConfigurableLogDrainCreatedFrom$outboundSchema.optional(),
|
|
325
|
-
deliveryFormat: CreateConfigurableLogDrainDeliveryFormat$outboundSchema,
|
|
326
|
-
status: CreateConfigurableLogDrainStatus$outboundSchema.optional(),
|
|
327
|
-
disabledAt: z.number().optional(),
|
|
328
|
-
disabledReason: CreateConfigurableLogDrainDisabledReason$outboundSchema
|
|
329
|
-
.optional(),
|
|
330
|
-
});
|
|
331
|
-
/**
|
|
332
|
-
* @internal
|
|
333
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
334
|
-
*/
|
|
335
|
-
export var CreateConfigurableLogDrainResponseBody$;
|
|
336
|
-
(function (CreateConfigurableLogDrainResponseBody$) {
|
|
337
|
-
/** @deprecated use `CreateConfigurableLogDrainResponseBody$inboundSchema` instead. */
|
|
338
|
-
CreateConfigurableLogDrainResponseBody$.inboundSchema = CreateConfigurableLogDrainResponseBody$inboundSchema;
|
|
339
|
-
/** @deprecated use `CreateConfigurableLogDrainResponseBody$outboundSchema` instead. */
|
|
340
|
-
CreateConfigurableLogDrainResponseBody$.outboundSchema = CreateConfigurableLogDrainResponseBody$outboundSchema;
|
|
341
|
-
})(CreateConfigurableLogDrainResponseBody$ || (CreateConfigurableLogDrainResponseBody$ = {}));
|
|
342
|
-
export function createConfigurableLogDrainResponseBodyToJSON(createConfigurableLogDrainResponseBody) {
|
|
343
|
-
return JSON.stringify(CreateConfigurableLogDrainResponseBody$outboundSchema.parse(createConfigurableLogDrainResponseBody));
|
|
344
|
-
}
|
|
345
|
-
export function createConfigurableLogDrainResponseBodyFromJSON(jsonString) {
|
|
346
|
-
return safeParse(jsonString, (x) => CreateConfigurableLogDrainResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateConfigurableLogDrainResponseBody' from JSON`);
|
|
347
|
-
}
|
|
348
|
-
//# sourceMappingURL=createconfigurablelogdrainop.js.map
|
|
@@ -1 +0,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CAA+C,CAAC,QAAQ,EAAE;IAClE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,uDAAuD;SACpE,QAAQ,EAAE;CACd,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,uCAAuC,CASvD;AATD,WAAiB,uCAAuC;IACtD,sFAAsF;IACzE,qDAAa,GACxB,oDAAoD,CAAC;IACvD,uFAAuF;IAC1E,sDAAc,GACzB,qDAAqD,CAAC;AAG1D,CAAC,EATgB,uCAAuC,KAAvC,uCAAuC,QASvD;AAED,MAAM,UAAU,4CAA4C,CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,qDAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,oDAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
-
export type GetAllLogDrainsRequest = {
|
|
6
|
-
projectId?: string | undefined;
|
|
7
|
-
projectIdOrName?: string | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* The Team identifier to perform the request on behalf of.
|
|
10
|
-
*/
|
|
11
|
-
teamId?: string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The Team slug to perform the request on behalf of.
|
|
14
|
-
*/
|
|
15
|
-
slug?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
export declare const GetAllLogDrainsSources: {
|
|
18
|
-
readonly Build: "build";
|
|
19
|
-
readonly Edge: "edge";
|
|
20
|
-
readonly Lambda: "lambda";
|
|
21
|
-
readonly Static: "static";
|
|
22
|
-
readonly External: "external";
|
|
23
|
-
readonly Firewall: "firewall";
|
|
24
|
-
};
|
|
25
|
-
export type GetAllLogDrainsSources = ClosedEnum<typeof GetAllLogDrainsSources>;
|
|
26
|
-
export declare const GetAllLogDrainsEnvironments: {
|
|
27
|
-
readonly Production: "production";
|
|
28
|
-
readonly Preview: "preview";
|
|
29
|
-
};
|
|
30
|
-
export type GetAllLogDrainsEnvironments = ClosedEnum<typeof GetAllLogDrainsEnvironments>;
|
|
31
|
-
export declare const GetAllLogDrainsCreatedFrom: {
|
|
32
|
-
readonly SelfServed: "self-served";
|
|
33
|
-
readonly Integration: "integration";
|
|
34
|
-
};
|
|
35
|
-
export type GetAllLogDrainsCreatedFrom = ClosedEnum<typeof GetAllLogDrainsCreatedFrom>;
|
|
36
|
-
export declare const GetAllLogDrainsDeliveryFormat: {
|
|
37
|
-
readonly Json: "json";
|
|
38
|
-
readonly Ndjson: "ndjson";
|
|
39
|
-
readonly Syslog: "syslog";
|
|
40
|
-
readonly Protobuf: "protobuf";
|
|
41
|
-
};
|
|
42
|
-
export type GetAllLogDrainsDeliveryFormat = ClosedEnum<typeof GetAllLogDrainsDeliveryFormat>;
|
|
43
|
-
export declare const GetAllLogDrainsStatus: {
|
|
44
|
-
readonly Enabled: "enabled";
|
|
45
|
-
readonly Disabled: "disabled";
|
|
46
|
-
readonly Errored: "errored";
|
|
47
|
-
};
|
|
48
|
-
export type GetAllLogDrainsStatus = ClosedEnum<typeof GetAllLogDrainsStatus>;
|
|
49
|
-
export declare const GetAllLogDrainsDisabledReason: {
|
|
50
|
-
readonly DisabledByOwner: "disabled-by-owner";
|
|
51
|
-
readonly FeatureNotAvailable: "feature-not-available";
|
|
52
|
-
readonly AccountPlanDowngrade: "account-plan-downgrade";
|
|
53
|
-
readonly DisabledByAdmin: "disabled-by-admin";
|
|
54
|
-
};
|
|
55
|
-
export type GetAllLogDrainsDisabledReason = ClosedEnum<typeof GetAllLogDrainsDisabledReason>;
|
|
56
|
-
export type GetAllLogDrainsResponseBody = {
|
|
57
|
-
clientId?: string | undefined;
|
|
58
|
-
configurationId?: string | undefined;
|
|
59
|
-
sources?: Array<GetAllLogDrainsSources> | undefined;
|
|
60
|
-
environments: Array<GetAllLogDrainsEnvironments>;
|
|
61
|
-
disabledBy?: string | undefined;
|
|
62
|
-
firstErrorTimestamp?: number | undefined;
|
|
63
|
-
samplingRate?: number | undefined;
|
|
64
|
-
hideIpAddresses?: boolean | undefined;
|
|
65
|
-
id: string;
|
|
66
|
-
createdAt: number;
|
|
67
|
-
deletedAt: number | null;
|
|
68
|
-
updatedAt: number;
|
|
69
|
-
url: string;
|
|
70
|
-
headers?: {
|
|
71
|
-
[k: string]: string;
|
|
72
|
-
} | undefined;
|
|
73
|
-
projectIds?: Array<string> | undefined;
|
|
74
|
-
name: string;
|
|
75
|
-
teamId?: string | null | undefined;
|
|
76
|
-
ownerId: string;
|
|
77
|
-
createdFrom?: GetAllLogDrainsCreatedFrom | undefined;
|
|
78
|
-
deliveryFormat: GetAllLogDrainsDeliveryFormat;
|
|
79
|
-
status?: GetAllLogDrainsStatus | undefined;
|
|
80
|
-
disabledAt?: number | undefined;
|
|
81
|
-
disabledReason?: GetAllLogDrainsDisabledReason | undefined;
|
|
82
|
-
secret?: string | undefined;
|
|
83
|
-
};
|
|
84
|
-
/** @internal */
|
|
85
|
-
export declare const GetAllLogDrainsRequest$inboundSchema: z.ZodType<GetAllLogDrainsRequest, z.ZodTypeDef, unknown>;
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type GetAllLogDrainsRequest$Outbound = {
|
|
88
|
-
projectId?: string | undefined;
|
|
89
|
-
projectIdOrName?: string | undefined;
|
|
90
|
-
teamId?: string | undefined;
|
|
91
|
-
slug?: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
/** @internal */
|
|
94
|
-
export declare const GetAllLogDrainsRequest$outboundSchema: z.ZodType<GetAllLogDrainsRequest$Outbound, z.ZodTypeDef, GetAllLogDrainsRequest>;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
-
*/
|
|
99
|
-
export declare namespace GetAllLogDrainsRequest$ {
|
|
100
|
-
/** @deprecated use `GetAllLogDrainsRequest$inboundSchema` instead. */
|
|
101
|
-
const inboundSchema: z.ZodType<GetAllLogDrainsRequest, z.ZodTypeDef, unknown>;
|
|
102
|
-
/** @deprecated use `GetAllLogDrainsRequest$outboundSchema` instead. */
|
|
103
|
-
const outboundSchema: z.ZodType<GetAllLogDrainsRequest$Outbound, z.ZodTypeDef, GetAllLogDrainsRequest>;
|
|
104
|
-
/** @deprecated use `GetAllLogDrainsRequest$Outbound` instead. */
|
|
105
|
-
type Outbound = GetAllLogDrainsRequest$Outbound;
|
|
106
|
-
}
|
|
107
|
-
export declare function getAllLogDrainsRequestToJSON(getAllLogDrainsRequest: GetAllLogDrainsRequest): string;
|
|
108
|
-
export declare function getAllLogDrainsRequestFromJSON(jsonString: string): SafeParseResult<GetAllLogDrainsRequest, SDKValidationError>;
|
|
109
|
-
/** @internal */
|
|
110
|
-
export declare const GetAllLogDrainsSources$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsSources>;
|
|
111
|
-
/** @internal */
|
|
112
|
-
export declare const GetAllLogDrainsSources$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsSources>;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
-
*/
|
|
117
|
-
export declare namespace GetAllLogDrainsSources$ {
|
|
118
|
-
/** @deprecated use `GetAllLogDrainsSources$inboundSchema` instead. */
|
|
119
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
120
|
-
readonly Build: "build";
|
|
121
|
-
readonly Edge: "edge";
|
|
122
|
-
readonly Lambda: "lambda";
|
|
123
|
-
readonly Static: "static";
|
|
124
|
-
readonly External: "external";
|
|
125
|
-
readonly Firewall: "firewall";
|
|
126
|
-
}>;
|
|
127
|
-
/** @deprecated use `GetAllLogDrainsSources$outboundSchema` instead. */
|
|
128
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
129
|
-
readonly Build: "build";
|
|
130
|
-
readonly Edge: "edge";
|
|
131
|
-
readonly Lambda: "lambda";
|
|
132
|
-
readonly Static: "static";
|
|
133
|
-
readonly External: "external";
|
|
134
|
-
readonly Firewall: "firewall";
|
|
135
|
-
}>;
|
|
136
|
-
}
|
|
137
|
-
/** @internal */
|
|
138
|
-
export declare const GetAllLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsEnvironments>;
|
|
139
|
-
/** @internal */
|
|
140
|
-
export declare const GetAllLogDrainsEnvironments$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsEnvironments>;
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
144
|
-
*/
|
|
145
|
-
export declare namespace GetAllLogDrainsEnvironments$ {
|
|
146
|
-
/** @deprecated use `GetAllLogDrainsEnvironments$inboundSchema` instead. */
|
|
147
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
148
|
-
readonly Production: "production";
|
|
149
|
-
readonly Preview: "preview";
|
|
150
|
-
}>;
|
|
151
|
-
/** @deprecated use `GetAllLogDrainsEnvironments$outboundSchema` instead. */
|
|
152
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
153
|
-
readonly Production: "production";
|
|
154
|
-
readonly Preview: "preview";
|
|
155
|
-
}>;
|
|
156
|
-
}
|
|
157
|
-
/** @internal */
|
|
158
|
-
export declare const GetAllLogDrainsCreatedFrom$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsCreatedFrom>;
|
|
159
|
-
/** @internal */
|
|
160
|
-
export declare const GetAllLogDrainsCreatedFrom$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsCreatedFrom>;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
164
|
-
*/
|
|
165
|
-
export declare namespace GetAllLogDrainsCreatedFrom$ {
|
|
166
|
-
/** @deprecated use `GetAllLogDrainsCreatedFrom$inboundSchema` instead. */
|
|
167
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
168
|
-
readonly SelfServed: "self-served";
|
|
169
|
-
readonly Integration: "integration";
|
|
170
|
-
}>;
|
|
171
|
-
/** @deprecated use `GetAllLogDrainsCreatedFrom$outboundSchema` instead. */
|
|
172
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
173
|
-
readonly SelfServed: "self-served";
|
|
174
|
-
readonly Integration: "integration";
|
|
175
|
-
}>;
|
|
176
|
-
}
|
|
177
|
-
/** @internal */
|
|
178
|
-
export declare const GetAllLogDrainsDeliveryFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsDeliveryFormat>;
|
|
179
|
-
/** @internal */
|
|
180
|
-
export declare const GetAllLogDrainsDeliveryFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsDeliveryFormat>;
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
184
|
-
*/
|
|
185
|
-
export declare namespace GetAllLogDrainsDeliveryFormat$ {
|
|
186
|
-
/** @deprecated use `GetAllLogDrainsDeliveryFormat$inboundSchema` instead. */
|
|
187
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
188
|
-
readonly Json: "json";
|
|
189
|
-
readonly Ndjson: "ndjson";
|
|
190
|
-
readonly Syslog: "syslog";
|
|
191
|
-
readonly Protobuf: "protobuf";
|
|
192
|
-
}>;
|
|
193
|
-
/** @deprecated use `GetAllLogDrainsDeliveryFormat$outboundSchema` instead. */
|
|
194
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
195
|
-
readonly Json: "json";
|
|
196
|
-
readonly Ndjson: "ndjson";
|
|
197
|
-
readonly Syslog: "syslog";
|
|
198
|
-
readonly Protobuf: "protobuf";
|
|
199
|
-
}>;
|
|
200
|
-
}
|
|
201
|
-
/** @internal */
|
|
202
|
-
export declare const GetAllLogDrainsStatus$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsStatus>;
|
|
203
|
-
/** @internal */
|
|
204
|
-
export declare const GetAllLogDrainsStatus$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsStatus>;
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
208
|
-
*/
|
|
209
|
-
export declare namespace GetAllLogDrainsStatus$ {
|
|
210
|
-
/** @deprecated use `GetAllLogDrainsStatus$inboundSchema` instead. */
|
|
211
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
212
|
-
readonly Enabled: "enabled";
|
|
213
|
-
readonly Disabled: "disabled";
|
|
214
|
-
readonly Errored: "errored";
|
|
215
|
-
}>;
|
|
216
|
-
/** @deprecated use `GetAllLogDrainsStatus$outboundSchema` instead. */
|
|
217
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
218
|
-
readonly Enabled: "enabled";
|
|
219
|
-
readonly Disabled: "disabled";
|
|
220
|
-
readonly Errored: "errored";
|
|
221
|
-
}>;
|
|
222
|
-
}
|
|
223
|
-
/** @internal */
|
|
224
|
-
export declare const GetAllLogDrainsDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsDisabledReason>;
|
|
225
|
-
/** @internal */
|
|
226
|
-
export declare const GetAllLogDrainsDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetAllLogDrainsDisabledReason>;
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
230
|
-
*/
|
|
231
|
-
export declare namespace GetAllLogDrainsDisabledReason$ {
|
|
232
|
-
/** @deprecated use `GetAllLogDrainsDisabledReason$inboundSchema` instead. */
|
|
233
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
234
|
-
readonly DisabledByOwner: "disabled-by-owner";
|
|
235
|
-
readonly FeatureNotAvailable: "feature-not-available";
|
|
236
|
-
readonly AccountPlanDowngrade: "account-plan-downgrade";
|
|
237
|
-
readonly DisabledByAdmin: "disabled-by-admin";
|
|
238
|
-
}>;
|
|
239
|
-
/** @deprecated use `GetAllLogDrainsDisabledReason$outboundSchema` instead. */
|
|
240
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
241
|
-
readonly DisabledByOwner: "disabled-by-owner";
|
|
242
|
-
readonly FeatureNotAvailable: "feature-not-available";
|
|
243
|
-
readonly AccountPlanDowngrade: "account-plan-downgrade";
|
|
244
|
-
readonly DisabledByAdmin: "disabled-by-admin";
|
|
245
|
-
}>;
|
|
246
|
-
}
|
|
247
|
-
/** @internal */
|
|
248
|
-
export declare const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType<GetAllLogDrainsResponseBody, z.ZodTypeDef, unknown>;
|
|
249
|
-
/** @internal */
|
|
250
|
-
export type GetAllLogDrainsResponseBody$Outbound = {
|
|
251
|
-
clientId?: string | undefined;
|
|
252
|
-
configurationId?: string | undefined;
|
|
253
|
-
sources?: Array<string> | undefined;
|
|
254
|
-
environments: Array<string>;
|
|
255
|
-
disabledBy?: string | undefined;
|
|
256
|
-
firstErrorTimestamp?: number | undefined;
|
|
257
|
-
samplingRate?: number | undefined;
|
|
258
|
-
hideIpAddresses?: boolean | undefined;
|
|
259
|
-
id: string;
|
|
260
|
-
createdAt: number;
|
|
261
|
-
deletedAt: number | null;
|
|
262
|
-
updatedAt: number;
|
|
263
|
-
url: string;
|
|
264
|
-
headers?: {
|
|
265
|
-
[k: string]: string;
|
|
266
|
-
} | undefined;
|
|
267
|
-
projectIds?: Array<string> | undefined;
|
|
268
|
-
name: string;
|
|
269
|
-
teamId?: string | null | undefined;
|
|
270
|
-
ownerId: string;
|
|
271
|
-
createdFrom?: string | undefined;
|
|
272
|
-
deliveryFormat: string;
|
|
273
|
-
status?: string | undefined;
|
|
274
|
-
disabledAt?: number | undefined;
|
|
275
|
-
disabledReason?: string | undefined;
|
|
276
|
-
secret?: string | undefined;
|
|
277
|
-
};
|
|
278
|
-
/** @internal */
|
|
279
|
-
export declare const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType<GetAllLogDrainsResponseBody$Outbound, z.ZodTypeDef, GetAllLogDrainsResponseBody>;
|
|
280
|
-
/**
|
|
281
|
-
* @internal
|
|
282
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
283
|
-
*/
|
|
284
|
-
export declare namespace GetAllLogDrainsResponseBody$ {
|
|
285
|
-
/** @deprecated use `GetAllLogDrainsResponseBody$inboundSchema` instead. */
|
|
286
|
-
const inboundSchema: z.ZodType<GetAllLogDrainsResponseBody, z.ZodTypeDef, unknown>;
|
|
287
|
-
/** @deprecated use `GetAllLogDrainsResponseBody$outboundSchema` instead. */
|
|
288
|
-
const outboundSchema: z.ZodType<GetAllLogDrainsResponseBody$Outbound, z.ZodTypeDef, GetAllLogDrainsResponseBody>;
|
|
289
|
-
/** @deprecated use `GetAllLogDrainsResponseBody$Outbound` instead. */
|
|
290
|
-
type Outbound = GetAllLogDrainsResponseBody$Outbound;
|
|
291
|
-
}
|
|
292
|
-
export declare function getAllLogDrainsResponseBodyToJSON(getAllLogDrainsResponseBody: GetAllLogDrainsResponseBody): string;
|
|
293
|
-
export declare function getAllLogDrainsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllLogDrainsResponseBody, SDKValidationError>;
|
|
294
|
-
//# sourceMappingURL=getalllogdrainsop.d.ts.map
|