@vercel/sdk 14.0.0-canary.5 → 14.0.0-canary.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -11
- package/docs/sdks/projects/README.md +8 -12
- package/esm/funcs/projectsPauseProject.d.ts +2 -2
- package/esm/funcs/projectsPauseProject.d.ts.map +1 -1
- package/esm/funcs/projectsPauseProject.js +4 -3
- package/esm/funcs/projectsPauseProject.js.map +1 -1
- package/esm/funcs/projectsUnpauseProject.d.ts +2 -2
- package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -1
- package/esm/funcs/projectsUnpauseProject.js +4 -3
- package/esm/funcs/projectsUnpauseProject.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/operations/createproject.d.ts +91 -9
- package/esm/models/operations/createproject.d.ts.map +1 -1
- package/esm/models/operations/createproject.js +55 -3
- package/esm/models/operations/createproject.js.map +1 -1
- package/esm/models/operations/createprojectenv.d.ts +6 -6
- package/esm/models/operations/createprojectenv.js +2 -2
- package/esm/models/operations/createprojectenv.js.map +1 -1
- package/esm/models/operations/createwebhook.d.ts +12 -6
- package/esm/models/operations/createwebhook.d.ts.map +1 -1
- package/esm/models/operations/createwebhook.js +4 -2
- package/esm/models/operations/createwebhook.js.map +1 -1
- package/esm/models/operations/editprojectenv.d.ts +3 -3
- package/esm/models/operations/editprojectenv.js +1 -1
- package/esm/models/operations/editprojectenv.js.map +1 -1
- package/esm/models/operations/getprojects.d.ts +82 -0
- package/esm/models/operations/getprojects.d.ts.map +1 -1
- package/esm/models/operations/getprojects.js +52 -0
- package/esm/models/operations/getprojects.js.map +1 -1
- package/esm/models/operations/getwebhook.d.ts +6 -3
- package/esm/models/operations/getwebhook.d.ts.map +1 -1
- package/esm/models/operations/getwebhook.js +2 -1
- package/esm/models/operations/getwebhook.js.map +1 -1
- package/esm/models/operations/getwebhooks.d.ts +12 -6
- package/esm/models/operations/getwebhooks.d.ts.map +1 -1
- package/esm/models/operations/getwebhooks.js +4 -2
- package/esm/models/operations/getwebhooks.js.map +1 -1
- package/esm/models/operations/pauseproject.d.ts +0 -32
- package/esm/models/operations/pauseproject.d.ts.map +1 -1
- package/esm/models/operations/pauseproject.js +0 -25
- package/esm/models/operations/pauseproject.js.map +1 -1
- package/esm/models/operations/removeprojectenv.d.ts +9 -9
- package/esm/models/operations/removeprojectenv.js +3 -3
- package/esm/models/operations/removeprojectenv.js.map +1 -1
- package/esm/models/operations/unpauseproject.d.ts +0 -32
- package/esm/models/operations/unpauseproject.d.ts.map +1 -1
- package/esm/models/operations/unpauseproject.js +0 -25
- package/esm/models/operations/unpauseproject.js.map +1 -1
- package/esm/models/operations/updateproject.d.ts +91 -9
- package/esm/models/operations/updateproject.d.ts.map +1 -1
- package/esm/models/operations/updateproject.js +55 -3
- package/esm/models/operations/updateproject.js.map +1 -1
- package/esm/models/operations/updateprojectdatacache.d.ts +82 -0
- package/esm/models/operations/updateprojectdatacache.d.ts.map +1 -1
- package/esm/models/operations/updateprojectdatacache.js +51 -0
- package/esm/models/operations/updateprojectdatacache.js.map +1 -1
- package/esm/sdk/projects.d.ts +4 -4
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -5
- package/esm/sdk/sdk.js.map +1 -1
- package/package.json +9 -6
- package/src/funcs/projectsPauseProject.ts +5 -6
- package/src/funcs/projectsUnpauseProject.ts +5 -6
- package/src/lib/config.ts +3 -3
- package/src/models/operations/createproject.ts +133 -3
- package/src/models/operations/createprojectenv.ts +2 -2
- package/src/models/operations/createwebhook.ts +4 -2
- package/src/models/operations/editprojectenv.ts +1 -1
- package/src/models/operations/getprojects.ts +130 -0
- package/src/models/operations/getwebhook.ts +2 -1
- package/src/models/operations/getwebhooks.ts +4 -2
- package/src/models/operations/pauseproject.ts +0 -55
- package/src/models/operations/removeprojectenv.ts +3 -3
- package/src/models/operations/unpauseproject.ts +0 -55
- package/src/models/operations/updateproject.ts +133 -3
- package/src/models/operations/updateprojectdatacache.ts +125 -0
- package/src/sdk/projects.ts +4 -10
- package/src/sdk/sdk.ts +0 -6
- package/LICENSE +0 -202
- package/docs/sdks/secrets/README.md +0 -331
- package/esm/funcs/secretsCreateSecret.d.ts +0 -15
- package/esm/funcs/secretsCreateSecret.d.ts.map +0 -1
- package/esm/funcs/secretsCreateSecret.js +0 -74
- package/esm/funcs/secretsCreateSecret.js.map +0 -1
- package/esm/funcs/secretsDeleteSecret.d.ts +0 -15
- package/esm/funcs/secretsDeleteSecret.d.ts.map +0 -1
- package/esm/funcs/secretsDeleteSecret.js +0 -79
- package/esm/funcs/secretsDeleteSecret.js.map +0 -1
- package/esm/funcs/secretsGetSecret.d.ts +0 -15
- package/esm/funcs/secretsGetSecret.d.ts.map +0 -1
- package/esm/funcs/secretsGetSecret.js +0 -80
- package/esm/funcs/secretsGetSecret.js.map +0 -1
- package/esm/funcs/secretsRenameSecret.d.ts +0 -15
- package/esm/funcs/secretsRenameSecret.d.ts.map +0 -1
- package/esm/funcs/secretsRenameSecret.js +0 -80
- package/esm/funcs/secretsRenameSecret.js.map +0 -1
- package/esm/models/operations/createsecret.d.ts +0 -192
- package/esm/models/operations/createsecret.d.ts.map +0 -1
- package/esm/models/operations/createsecret.js +0 -136
- package/esm/models/operations/createsecret.js.map +0 -1
- package/esm/models/operations/deletesecret.d.ts +0 -74
- package/esm/models/operations/deletesecret.d.ts.map +0 -1
- package/esm/models/operations/deletesecret.js +0 -51
- package/esm/models/operations/deletesecret.js.map +0 -1
- package/esm/models/operations/getsecret.d.ts +0 -144
- package/esm/models/operations/getsecret.d.ts.map +0 -1
- package/esm/models/operations/getsecret.js +0 -87
- package/esm/models/operations/getsecret.js.map +0 -1
- package/esm/models/operations/renamesecret.d.ts +0 -95
- package/esm/models/operations/renamesecret.d.ts.map +0 -1
- package/esm/models/operations/renamesecret.js +0 -83
- package/esm/models/operations/renamesecret.js.map +0 -1
- package/esm/sdk/secrets.d.ts +0 -36
- package/esm/sdk/secrets.d.ts.map +0 -1
- package/esm/sdk/secrets.js +0 -48
- package/esm/sdk/secrets.js.map +0 -1
- package/src/funcs/secretsCreateSecret.ts +0 -134
- package/src/funcs/secretsDeleteSecret.ts +0 -140
- package/src/funcs/secretsGetSecret.ts +0 -141
- package/src/funcs/secretsRenameSecret.ts +0 -141
- package/src/models/operations/createsecret.ts +0 -304
- package/src/models/operations/deletesecret.ts +0 -119
- package/src/models/operations/getsecret.ts +0 -205
- package/src/models/operations/renamesecret.ts +0 -170
- package/src/sdk/secrets.ts +0 -96
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.
|
|
5
|
-
*/
|
|
6
|
-
export declare const QueryParamDecrypt: {
|
|
7
|
-
readonly True: "true";
|
|
8
|
-
readonly False: "false";
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.
|
|
12
|
-
*/
|
|
13
|
-
export type QueryParamDecrypt = ClosedEnum<typeof QueryParamDecrypt>;
|
|
14
|
-
export type GetSecretRequest = {
|
|
15
|
-
/**
|
|
16
|
-
* The name or the unique identifier to which the secret belongs to.
|
|
17
|
-
*/
|
|
18
|
-
idOrName: string;
|
|
19
|
-
/**
|
|
20
|
-
* Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.
|
|
21
|
-
*/
|
|
22
|
-
decrypt?: QueryParamDecrypt | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* The Team identifier to perform the request on behalf of.
|
|
25
|
-
*/
|
|
26
|
-
teamId?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* The Team slug to perform the request on behalf of.
|
|
29
|
-
*/
|
|
30
|
-
slug?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Data representing a secret.
|
|
34
|
-
*/
|
|
35
|
-
export type GetSecretResponseBody = {
|
|
36
|
-
/**
|
|
37
|
-
* The date when the secret was created.
|
|
38
|
-
*/
|
|
39
|
-
created: Date;
|
|
40
|
-
/**
|
|
41
|
-
* The name of the secret.
|
|
42
|
-
*/
|
|
43
|
-
name: string;
|
|
44
|
-
/**
|
|
45
|
-
* The unique identifier of the team the secret was created for.
|
|
46
|
-
*/
|
|
47
|
-
teamId?: string | null | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* The unique identifier of the secret.
|
|
50
|
-
*/
|
|
51
|
-
uid: string;
|
|
52
|
-
/**
|
|
53
|
-
* The unique identifier of the user who created the secret.
|
|
54
|
-
*/
|
|
55
|
-
userId?: string | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* The value of the secret.
|
|
58
|
-
*/
|
|
59
|
-
value?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* Timestamp for when the secret was created.
|
|
62
|
-
*/
|
|
63
|
-
createdAt?: number | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* The unique identifier of the project which the secret belongs to.
|
|
66
|
-
*/
|
|
67
|
-
projectId?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* Indicates whether the secret value can be decrypted after it has been created.
|
|
70
|
-
*/
|
|
71
|
-
decryptable?: boolean | undefined;
|
|
72
|
-
};
|
|
73
|
-
/** @internal */
|
|
74
|
-
export declare const QueryParamDecrypt$inboundSchema: z.ZodNativeEnum<typeof QueryParamDecrypt>;
|
|
75
|
-
/** @internal */
|
|
76
|
-
export declare const QueryParamDecrypt$outboundSchema: z.ZodNativeEnum<typeof QueryParamDecrypt>;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
export declare namespace QueryParamDecrypt$ {
|
|
82
|
-
/** @deprecated use `QueryParamDecrypt$inboundSchema` instead. */
|
|
83
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
84
|
-
readonly True: "true";
|
|
85
|
-
readonly False: "false";
|
|
86
|
-
}>;
|
|
87
|
-
/** @deprecated use `QueryParamDecrypt$outboundSchema` instead. */
|
|
88
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
89
|
-
readonly True: "true";
|
|
90
|
-
readonly False: "false";
|
|
91
|
-
}>;
|
|
92
|
-
}
|
|
93
|
-
/** @internal */
|
|
94
|
-
export declare const GetSecretRequest$inboundSchema: z.ZodType<GetSecretRequest, z.ZodTypeDef, unknown>;
|
|
95
|
-
/** @internal */
|
|
96
|
-
export type GetSecretRequest$Outbound = {
|
|
97
|
-
idOrName: string;
|
|
98
|
-
decrypt?: string | undefined;
|
|
99
|
-
teamId?: string | undefined;
|
|
100
|
-
slug?: string | undefined;
|
|
101
|
-
};
|
|
102
|
-
/** @internal */
|
|
103
|
-
export declare const GetSecretRequest$outboundSchema: z.ZodType<GetSecretRequest$Outbound, z.ZodTypeDef, GetSecretRequest>;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
-
*/
|
|
108
|
-
export declare namespace GetSecretRequest$ {
|
|
109
|
-
/** @deprecated use `GetSecretRequest$inboundSchema` instead. */
|
|
110
|
-
const inboundSchema: z.ZodType<GetSecretRequest, z.ZodTypeDef, unknown>;
|
|
111
|
-
/** @deprecated use `GetSecretRequest$outboundSchema` instead. */
|
|
112
|
-
const outboundSchema: z.ZodType<GetSecretRequest$Outbound, z.ZodTypeDef, GetSecretRequest>;
|
|
113
|
-
/** @deprecated use `GetSecretRequest$Outbound` instead. */
|
|
114
|
-
type Outbound = GetSecretRequest$Outbound;
|
|
115
|
-
}
|
|
116
|
-
/** @internal */
|
|
117
|
-
export declare const GetSecretResponseBody$inboundSchema: z.ZodType<GetSecretResponseBody, z.ZodTypeDef, unknown>;
|
|
118
|
-
/** @internal */
|
|
119
|
-
export type GetSecretResponseBody$Outbound = {
|
|
120
|
-
created: string;
|
|
121
|
-
name: string;
|
|
122
|
-
teamId?: string | null | undefined;
|
|
123
|
-
uid: string;
|
|
124
|
-
userId?: string | undefined;
|
|
125
|
-
value?: string | undefined;
|
|
126
|
-
createdAt?: number | undefined;
|
|
127
|
-
projectId?: string | undefined;
|
|
128
|
-
decryptable?: boolean | undefined;
|
|
129
|
-
};
|
|
130
|
-
/** @internal */
|
|
131
|
-
export declare const GetSecretResponseBody$outboundSchema: z.ZodType<GetSecretResponseBody$Outbound, z.ZodTypeDef, GetSecretResponseBody>;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
-
*/
|
|
136
|
-
export declare namespace GetSecretResponseBody$ {
|
|
137
|
-
/** @deprecated use `GetSecretResponseBody$inboundSchema` instead. */
|
|
138
|
-
const inboundSchema: z.ZodType<GetSecretResponseBody, z.ZodTypeDef, unknown>;
|
|
139
|
-
/** @deprecated use `GetSecretResponseBody$outboundSchema` instead. */
|
|
140
|
-
const outboundSchema: z.ZodType<GetSecretResponseBody$Outbound, z.ZodTypeDef, GetSecretResponseBody>;
|
|
141
|
-
/** @deprecated use `GetSecretResponseBody$Outbound` instead. */
|
|
142
|
-
type Outbound = GetSecretResponseBody$Outbound;
|
|
143
|
-
}
|
|
144
|
-
//# sourceMappingURL=getsecret.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getsecret.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getsecret.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;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AC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAWrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
/**
|
|
6
|
-
* Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.
|
|
7
|
-
*/
|
|
8
|
-
export const QueryParamDecrypt = {
|
|
9
|
-
True: "true",
|
|
10
|
-
False: "false",
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export const QueryParamDecrypt$inboundSchema = z.nativeEnum(QueryParamDecrypt);
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const QueryParamDecrypt$outboundSchema = QueryParamDecrypt$inboundSchema;
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
19
|
-
*/
|
|
20
|
-
export var QueryParamDecrypt$;
|
|
21
|
-
(function (QueryParamDecrypt$) {
|
|
22
|
-
/** @deprecated use `QueryParamDecrypt$inboundSchema` instead. */
|
|
23
|
-
QueryParamDecrypt$.inboundSchema = QueryParamDecrypt$inboundSchema;
|
|
24
|
-
/** @deprecated use `QueryParamDecrypt$outboundSchema` instead. */
|
|
25
|
-
QueryParamDecrypt$.outboundSchema = QueryParamDecrypt$outboundSchema;
|
|
26
|
-
})(QueryParamDecrypt$ || (QueryParamDecrypt$ = {}));
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const GetSecretRequest$inboundSchema = z.object({
|
|
29
|
-
idOrName: z.string(),
|
|
30
|
-
decrypt: QueryParamDecrypt$inboundSchema.optional(),
|
|
31
|
-
teamId: z.string().optional(),
|
|
32
|
-
slug: z.string().optional(),
|
|
33
|
-
});
|
|
34
|
-
/** @internal */
|
|
35
|
-
export const GetSecretRequest$outboundSchema = z.object({
|
|
36
|
-
idOrName: z.string(),
|
|
37
|
-
decrypt: QueryParamDecrypt$outboundSchema.optional(),
|
|
38
|
-
teamId: z.string().optional(),
|
|
39
|
-
slug: z.string().optional(),
|
|
40
|
-
});
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
export var GetSecretRequest$;
|
|
46
|
-
(function (GetSecretRequest$) {
|
|
47
|
-
/** @deprecated use `GetSecretRequest$inboundSchema` instead. */
|
|
48
|
-
GetSecretRequest$.inboundSchema = GetSecretRequest$inboundSchema;
|
|
49
|
-
/** @deprecated use `GetSecretRequest$outboundSchema` instead. */
|
|
50
|
-
GetSecretRequest$.outboundSchema = GetSecretRequest$outboundSchema;
|
|
51
|
-
})(GetSecretRequest$ || (GetSecretRequest$ = {}));
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const GetSecretResponseBody$inboundSchema = z.object({
|
|
54
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
55
|
-
name: z.string(),
|
|
56
|
-
teamId: z.nullable(z.string()).optional(),
|
|
57
|
-
uid: z.string(),
|
|
58
|
-
userId: z.string().optional(),
|
|
59
|
-
value: z.string().optional(),
|
|
60
|
-
createdAt: z.number().optional(),
|
|
61
|
-
projectId: z.string().optional(),
|
|
62
|
-
decryptable: z.boolean().optional(),
|
|
63
|
-
});
|
|
64
|
-
/** @internal */
|
|
65
|
-
export const GetSecretResponseBody$outboundSchema = z.object({
|
|
66
|
-
created: z.date().transform(v => v.toISOString()),
|
|
67
|
-
name: z.string(),
|
|
68
|
-
teamId: z.nullable(z.string()).optional(),
|
|
69
|
-
uid: z.string(),
|
|
70
|
-
userId: z.string().optional(),
|
|
71
|
-
value: z.string().optional(),
|
|
72
|
-
createdAt: z.number().optional(),
|
|
73
|
-
projectId: z.string().optional(),
|
|
74
|
-
decryptable: z.boolean().optional(),
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
export var GetSecretResponseBody$;
|
|
81
|
-
(function (GetSecretResponseBody$) {
|
|
82
|
-
/** @deprecated use `GetSecretResponseBody$inboundSchema` instead. */
|
|
83
|
-
GetSecretResponseBody$.inboundSchema = GetSecretResponseBody$inboundSchema;
|
|
84
|
-
/** @deprecated use `GetSecretResponseBody$outboundSchema` instead. */
|
|
85
|
-
GetSecretResponseBody$.outboundSchema = GetSecretResponseBody$outboundSchema;
|
|
86
|
-
})(GetSecretResponseBody$ || (GetSecretResponseBody$ = {}));
|
|
87
|
-
//# sourceMappingURL=getsecret.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getsecret.js","sourceRoot":"","sources":["../../../src/models/operations/getsecret.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAmEX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC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M,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,mCAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,oCAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,KAAtB,sBAAsB,QAOtC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export type RenameSecretRequestBody = {
|
|
3
|
-
/**
|
|
4
|
-
* The name of the new secret.
|
|
5
|
-
*/
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
8
|
-
export type RenameSecretRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* The name of the secret.
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
/**
|
|
14
|
-
* The Team identifier to perform the request on behalf of.
|
|
15
|
-
*/
|
|
16
|
-
teamId?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The Team slug to perform the request on behalf of.
|
|
19
|
-
*/
|
|
20
|
-
slug?: string | undefined;
|
|
21
|
-
requestBody?: RenameSecretRequestBody | undefined;
|
|
22
|
-
};
|
|
23
|
-
export type RenameSecretResponseBody = {
|
|
24
|
-
uid: string;
|
|
25
|
-
name: string;
|
|
26
|
-
created: Date;
|
|
27
|
-
oldName: string;
|
|
28
|
-
};
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const RenameSecretRequestBody$inboundSchema: z.ZodType<RenameSecretRequestBody, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @internal */
|
|
32
|
-
export type RenameSecretRequestBody$Outbound = {
|
|
33
|
-
name: string;
|
|
34
|
-
};
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const RenameSecretRequestBody$outboundSchema: z.ZodType<RenameSecretRequestBody$Outbound, z.ZodTypeDef, RenameSecretRequestBody>;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export declare namespace RenameSecretRequestBody$ {
|
|
42
|
-
/** @deprecated use `RenameSecretRequestBody$inboundSchema` instead. */
|
|
43
|
-
const inboundSchema: z.ZodType<RenameSecretRequestBody, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @deprecated use `RenameSecretRequestBody$outboundSchema` instead. */
|
|
45
|
-
const outboundSchema: z.ZodType<RenameSecretRequestBody$Outbound, z.ZodTypeDef, RenameSecretRequestBody>;
|
|
46
|
-
/** @deprecated use `RenameSecretRequestBody$Outbound` instead. */
|
|
47
|
-
type Outbound = RenameSecretRequestBody$Outbound;
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
export declare const RenameSecretRequest$inboundSchema: z.ZodType<RenameSecretRequest, z.ZodTypeDef, unknown>;
|
|
51
|
-
/** @internal */
|
|
52
|
-
export type RenameSecretRequest$Outbound = {
|
|
53
|
-
name: string;
|
|
54
|
-
teamId?: string | undefined;
|
|
55
|
-
slug?: string | undefined;
|
|
56
|
-
RequestBody?: RenameSecretRequestBody$Outbound | undefined;
|
|
57
|
-
};
|
|
58
|
-
/** @internal */
|
|
59
|
-
export declare const RenameSecretRequest$outboundSchema: z.ZodType<RenameSecretRequest$Outbound, z.ZodTypeDef, RenameSecretRequest>;
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
-
*/
|
|
64
|
-
export declare namespace RenameSecretRequest$ {
|
|
65
|
-
/** @deprecated use `RenameSecretRequest$inboundSchema` instead. */
|
|
66
|
-
const inboundSchema: z.ZodType<RenameSecretRequest, z.ZodTypeDef, unknown>;
|
|
67
|
-
/** @deprecated use `RenameSecretRequest$outboundSchema` instead. */
|
|
68
|
-
const outboundSchema: z.ZodType<RenameSecretRequest$Outbound, z.ZodTypeDef, RenameSecretRequest>;
|
|
69
|
-
/** @deprecated use `RenameSecretRequest$Outbound` instead. */
|
|
70
|
-
type Outbound = RenameSecretRequest$Outbound;
|
|
71
|
-
}
|
|
72
|
-
/** @internal */
|
|
73
|
-
export declare const RenameSecretResponseBody$inboundSchema: z.ZodType<RenameSecretResponseBody, z.ZodTypeDef, unknown>;
|
|
74
|
-
/** @internal */
|
|
75
|
-
export type RenameSecretResponseBody$Outbound = {
|
|
76
|
-
uid: string;
|
|
77
|
-
name: string;
|
|
78
|
-
created: string;
|
|
79
|
-
oldName: string;
|
|
80
|
-
};
|
|
81
|
-
/** @internal */
|
|
82
|
-
export declare const RenameSecretResponseBody$outboundSchema: z.ZodType<RenameSecretResponseBody$Outbound, z.ZodTypeDef, RenameSecretResponseBody>;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
-
*/
|
|
87
|
-
export declare namespace RenameSecretResponseBody$ {
|
|
88
|
-
/** @deprecated use `RenameSecretResponseBody$inboundSchema` instead. */
|
|
89
|
-
const inboundSchema: z.ZodType<RenameSecretResponseBody, z.ZodTypeDef, unknown>;
|
|
90
|
-
/** @deprecated use `RenameSecretResponseBody$outboundSchema` instead. */
|
|
91
|
-
const outboundSchema: z.ZodType<RenameSecretResponseBody$Outbound, z.ZodTypeDef, RenameSecretResponseBody>;
|
|
92
|
-
/** @deprecated use `RenameSecretResponseBody$Outbound` instead. */
|
|
93
|
-
type Outbound = RenameSecretResponseBody$Outbound;
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=renamesecret.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renamesecret.d.ts","sourceRoot":"","sources":["../../../src/models/operations/renamesecret.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KA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akeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
/** @internal */
|
|
7
|
-
export const RenameSecretRequestBody$inboundSchema = z.object({
|
|
8
|
-
name: z.string(),
|
|
9
|
-
});
|
|
10
|
-
/** @internal */
|
|
11
|
-
export const RenameSecretRequestBody$outboundSchema = z.object({
|
|
12
|
-
name: z.string(),
|
|
13
|
-
});
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
|
-
*/
|
|
18
|
-
export var RenameSecretRequestBody$;
|
|
19
|
-
(function (RenameSecretRequestBody$) {
|
|
20
|
-
/** @deprecated use `RenameSecretRequestBody$inboundSchema` instead. */
|
|
21
|
-
RenameSecretRequestBody$.inboundSchema = RenameSecretRequestBody$inboundSchema;
|
|
22
|
-
/** @deprecated use `RenameSecretRequestBody$outboundSchema` instead. */
|
|
23
|
-
RenameSecretRequestBody$.outboundSchema = RenameSecretRequestBody$outboundSchema;
|
|
24
|
-
})(RenameSecretRequestBody$ || (RenameSecretRequestBody$ = {}));
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const RenameSecretRequest$inboundSchema = z.object({
|
|
27
|
-
name: z.string(),
|
|
28
|
-
teamId: z.string().optional(),
|
|
29
|
-
slug: z.string().optional(),
|
|
30
|
-
RequestBody: z.lazy(() => RenameSecretRequestBody$inboundSchema).optional(),
|
|
31
|
-
}).transform((v) => {
|
|
32
|
-
return remap$(v, {
|
|
33
|
-
"RequestBody": "requestBody",
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
/** @internal */
|
|
37
|
-
export const RenameSecretRequest$outboundSchema = z.object({
|
|
38
|
-
name: z.string(),
|
|
39
|
-
teamId: z.string().optional(),
|
|
40
|
-
slug: z.string().optional(),
|
|
41
|
-
requestBody: z.lazy(() => RenameSecretRequestBody$outboundSchema).optional(),
|
|
42
|
-
}).transform((v) => {
|
|
43
|
-
return remap$(v, {
|
|
44
|
-
requestBody: "RequestBody",
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
-
*/
|
|
51
|
-
export var RenameSecretRequest$;
|
|
52
|
-
(function (RenameSecretRequest$) {
|
|
53
|
-
/** @deprecated use `RenameSecretRequest$inboundSchema` instead. */
|
|
54
|
-
RenameSecretRequest$.inboundSchema = RenameSecretRequest$inboundSchema;
|
|
55
|
-
/** @deprecated use `RenameSecretRequest$outboundSchema` instead. */
|
|
56
|
-
RenameSecretRequest$.outboundSchema = RenameSecretRequest$outboundSchema;
|
|
57
|
-
})(RenameSecretRequest$ || (RenameSecretRequest$ = {}));
|
|
58
|
-
/** @internal */
|
|
59
|
-
export const RenameSecretResponseBody$inboundSchema = z.object({
|
|
60
|
-
uid: z.string(),
|
|
61
|
-
name: z.string(),
|
|
62
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
63
|
-
oldName: z.string(),
|
|
64
|
-
});
|
|
65
|
-
/** @internal */
|
|
66
|
-
export const RenameSecretResponseBody$outboundSchema = z.object({
|
|
67
|
-
uid: z.string(),
|
|
68
|
-
name: z.string(),
|
|
69
|
-
created: z.date().transform(v => v.toISOString()),
|
|
70
|
-
oldName: z.string(),
|
|
71
|
-
});
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export var RenameSecretResponseBody$;
|
|
77
|
-
(function (RenameSecretResponseBody$) {
|
|
78
|
-
/** @deprecated use `RenameSecretResponseBody$inboundSchema` instead. */
|
|
79
|
-
RenameSecretResponseBody$.inboundSchema = RenameSecretResponseBody$inboundSchema;
|
|
80
|
-
/** @deprecated use `RenameSecretResponseBody$outboundSchema` instead. */
|
|
81
|
-
RenameSecretResponseBody$.outboundSchema = RenameSecretResponseBody$outboundSchema;
|
|
82
|
-
})(RenameSecretResponseBody$ || (RenameSecretResponseBody$ = {}));
|
|
83
|
-
//# sourceMappingURL=renamesecret.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renamesecret.js","sourceRoot":"","sources":["../../../src/models/operations/renamesecret.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAgC1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,qCAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,sCAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,KAAxB,wBAAwB,QAOxC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC,CAAC,QA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CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAUH,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,sCAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,uCAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,KAAzB,yBAAyB,QAOzC"}
|
package/esm/sdk/secrets.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import { CreateSecretRequest, CreateSecretResponseBody } from "../models/operations/createsecret.js";
|
|
3
|
-
import { DeleteSecretRequest, DeleteSecretResponseBody } from "../models/operations/deletesecret.js";
|
|
4
|
-
import { GetSecretRequest, GetSecretResponseBody } from "../models/operations/getsecret.js";
|
|
5
|
-
import { RenameSecretRequest, RenameSecretResponseBody } from "../models/operations/renamesecret.js";
|
|
6
|
-
export declare class Secrets extends ClientSDK {
|
|
7
|
-
/**
|
|
8
|
-
* Create a new secret
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* Allows to create a new secret.
|
|
12
|
-
*/
|
|
13
|
-
createSecret(request: CreateSecretRequest, options?: RequestOptions): Promise<CreateSecretResponseBody>;
|
|
14
|
-
/**
|
|
15
|
-
* Change secret name
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.
|
|
19
|
-
*/
|
|
20
|
-
renameSecret(request: RenameSecretRequest, options?: RequestOptions): Promise<RenameSecretResponseBody>;
|
|
21
|
-
/**
|
|
22
|
-
* Get a single secret
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Retrieves the information for a specific secret by passing either the secret id or name in the URL.
|
|
26
|
-
*/
|
|
27
|
-
getSecret(request: GetSecretRequest, options?: RequestOptions): Promise<GetSecretResponseBody>;
|
|
28
|
-
/**
|
|
29
|
-
* Delete a secret
|
|
30
|
-
*
|
|
31
|
-
* @remarks
|
|
32
|
-
* This deletes the user or team’s secret defined in the URL.
|
|
33
|
-
*/
|
|
34
|
-
deleteSecret(request: DeleteSecretRequest, options?: RequestOptions): Promise<DeleteSecretResponseBody>;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=secrets.d.ts.map
|
package/esm/sdk/secrets.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/sdk/secrets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,sCAAsC,CAAC;AAG9C,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wBAAwB,CAAC;IAQpC;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wBAAwB,CAAC;IAQpC;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,gBAAgB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,qBAAqB,CAAC;IAQjC;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wBAAwB,CAAC;CAOrC"}
|
package/esm/sdk/secrets.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import { secretsCreateSecret } from "../funcs/secretsCreateSecret.js";
|
|
5
|
-
import { secretsDeleteSecret } from "../funcs/secretsDeleteSecret.js";
|
|
6
|
-
import { secretsGetSecret } from "../funcs/secretsGetSecret.js";
|
|
7
|
-
import { secretsRenameSecret } from "../funcs/secretsRenameSecret.js";
|
|
8
|
-
import { ClientSDK } from "../lib/sdks.js";
|
|
9
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
-
export class Secrets extends ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Create a new secret
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Allows to create a new secret.
|
|
16
|
-
*/
|
|
17
|
-
async createSecret(request, options) {
|
|
18
|
-
return unwrapAsync(secretsCreateSecret(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Change secret name
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.
|
|
25
|
-
*/
|
|
26
|
-
async renameSecret(request, options) {
|
|
27
|
-
return unwrapAsync(secretsRenameSecret(this, request, options));
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get a single secret
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* Retrieves the information for a specific secret by passing either the secret id or name in the URL.
|
|
34
|
-
*/
|
|
35
|
-
async getSecret(request, options) {
|
|
36
|
-
return unwrapAsync(secretsGetSecret(this, request, options));
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Delete a secret
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* This deletes the user or team’s secret defined in the URL.
|
|
43
|
-
*/
|
|
44
|
-
async deleteSecret(request, options) {
|
|
45
|
-
return unwrapAsync(secretsDeleteSecret(this, request, options));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=secrets.js.map
|
package/esm/sdk/secrets.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/sdk/secrets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAiB3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA4B,EAC5B,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA4B,EAC5B,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAAyB,EACzB,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA4B,EAC5B,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { VercelCore } from "../core.js";
|
|
6
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
7
|
-
import * as M from "../lib/matchers.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
-
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import {
|
|
13
|
-
ConnectionError,
|
|
14
|
-
InvalidRequestError,
|
|
15
|
-
RequestAbortedError,
|
|
16
|
-
RequestTimeoutError,
|
|
17
|
-
UnexpectedClientError,
|
|
18
|
-
} from "../models/errors/httpclienterrors.js";
|
|
19
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
20
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
21
|
-
import {
|
|
22
|
-
CreateSecretRequest,
|
|
23
|
-
CreateSecretRequest$outboundSchema,
|
|
24
|
-
CreateSecretResponseBody,
|
|
25
|
-
CreateSecretResponseBody$inboundSchema,
|
|
26
|
-
} from "../models/operations/createsecret.js";
|
|
27
|
-
import { Result } from "../types/fp.js";
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Create a new secret
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* Allows to create a new secret.
|
|
34
|
-
*/
|
|
35
|
-
export async function secretsCreateSecret(
|
|
36
|
-
client: VercelCore,
|
|
37
|
-
request: CreateSecretRequest,
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): Promise<
|
|
40
|
-
Result<
|
|
41
|
-
CreateSecretResponseBody,
|
|
42
|
-
| SDKError
|
|
43
|
-
| SDKValidationError
|
|
44
|
-
| UnexpectedClientError
|
|
45
|
-
| InvalidRequestError
|
|
46
|
-
| RequestAbortedError
|
|
47
|
-
| RequestTimeoutError
|
|
48
|
-
| ConnectionError
|
|
49
|
-
>
|
|
50
|
-
> {
|
|
51
|
-
const parsed = safeParse(
|
|
52
|
-
request,
|
|
53
|
-
(value) => CreateSecretRequest$outboundSchema.parse(value),
|
|
54
|
-
"Input validation failed",
|
|
55
|
-
);
|
|
56
|
-
if (!parsed.ok) {
|
|
57
|
-
return parsed;
|
|
58
|
-
}
|
|
59
|
-
const payload = parsed.value;
|
|
60
|
-
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
61
|
-
|
|
62
|
-
const path = pathToFunc("/v2/secrets/{name}")();
|
|
63
|
-
|
|
64
|
-
const query = encodeFormQuery({
|
|
65
|
-
"slug": payload.slug,
|
|
66
|
-
"teamId": payload.teamId,
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
const headers = new Headers({
|
|
70
|
-
"Content-Type": "application/json",
|
|
71
|
-
Accept: "application/json",
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
const secConfig = await extractSecurity(client._options.bearerToken);
|
|
75
|
-
const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
|
|
76
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
77
|
-
|
|
78
|
-
const context = {
|
|
79
|
-
operationID: "createSecret",
|
|
80
|
-
oAuth2Scopes: [],
|
|
81
|
-
|
|
82
|
-
resolvedSecurity: requestSecurity,
|
|
83
|
-
|
|
84
|
-
securitySource: client._options.bearerToken,
|
|
85
|
-
retryConfig: options?.retries
|
|
86
|
-
|| client._options.retryConfig
|
|
87
|
-
|| { strategy: "none" },
|
|
88
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
const requestRes = client._createRequest(context, {
|
|
92
|
-
security: requestSecurity,
|
|
93
|
-
method: "POST",
|
|
94
|
-
path: path,
|
|
95
|
-
headers: headers,
|
|
96
|
-
query: query,
|
|
97
|
-
body: body,
|
|
98
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
99
|
-
}, options);
|
|
100
|
-
if (!requestRes.ok) {
|
|
101
|
-
return requestRes;
|
|
102
|
-
}
|
|
103
|
-
const req = requestRes.value;
|
|
104
|
-
|
|
105
|
-
const doResult = await client._do(req, {
|
|
106
|
-
context,
|
|
107
|
-
errorCodes: ["400", "401", "402", "403", "410", "4XX", "5XX"],
|
|
108
|
-
retryConfig: context.retryConfig,
|
|
109
|
-
retryCodes: context.retryCodes,
|
|
110
|
-
});
|
|
111
|
-
if (!doResult.ok) {
|
|
112
|
-
return doResult;
|
|
113
|
-
}
|
|
114
|
-
const response = doResult.value;
|
|
115
|
-
|
|
116
|
-
const [result] = await M.match<
|
|
117
|
-
CreateSecretResponseBody,
|
|
118
|
-
| SDKError
|
|
119
|
-
| SDKValidationError
|
|
120
|
-
| UnexpectedClientError
|
|
121
|
-
| InvalidRequestError
|
|
122
|
-
| RequestAbortedError
|
|
123
|
-
| RequestTimeoutError
|
|
124
|
-
| ConnectionError
|
|
125
|
-
>(
|
|
126
|
-
M.json(200, CreateSecretResponseBody$inboundSchema),
|
|
127
|
-
M.fail([400, 401, 402, 403, 410, "4XX", "5XX"]),
|
|
128
|
-
)(response);
|
|
129
|
-
if (!result.ok) {
|
|
130
|
-
return result;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return result;
|
|
134
|
-
}
|