@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.4
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/lib/credentials.d.ts +21 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +40 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +80 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +50 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +69 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +54 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +47 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/access_groups.d.ts +459 -0
- package/lib/services/access_groups.d.ts.map +1 -0
- package/lib/services/access_groups.js +453 -0
- package/lib/services/access_groups.js.map +1 -0
- package/lib/services/ai_gateway.d.ts +124 -0
- package/lib/services/ai_gateway.d.ts.map +1 -0
- package/lib/services/ai_gateway.js +126 -0
- package/lib/services/ai_gateway.js.map +1 -0
- package/lib/services/aliases.d.ts +591 -0
- package/lib/services/aliases.d.ts.map +1 -0
- package/lib/services/aliases.js +508 -0
- package/lib/services/aliases.js.map +1 -0
- package/lib/services/artifacts.d.ts +228 -0
- package/lib/services/artifacts.d.ts.map +1 -0
- package/lib/services/artifacts.js +216 -0
- package/lib/services/artifacts.js.map +1 -0
- package/lib/services/authentication.d.ts +373 -0
- package/lib/services/authentication.d.ts.map +1 -0
- package/lib/services/authentication.js +310 -0
- package/lib/services/authentication.js.map +1 -0
- package/lib/services/billing.d.ts +792 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +616 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bulk_redirects.d.ts +308 -0
- package/lib/services/bulk_redirects.d.ts.map +1 -0
- package/lib/services/bulk_redirects.js +306 -0
- package/lib/services/bulk_redirects.js.map +1 -0
- package/lib/services/certs.d.ts +171 -0
- package/lib/services/certs.d.ts.map +1 -0
- package/lib/services/certs.js +165 -0
- package/lib/services/certs.js.map +1 -0
- package/lib/services/checks_v2.d.ts +1162 -0
- package/lib/services/checks_v2.d.ts.map +1 -0
- package/lib/services/checks_v2.js +1252 -0
- package/lib/services/checks_v2.js.map +1 -0
- package/lib/services/connect.d.ts +1034 -0
- package/lib/services/connect.d.ts.map +1 -0
- package/lib/services/connect.js +993 -0
- package/lib/services/connect.js.map +1 -0
- package/lib/services/deployments.d.ts +9111 -0
- package/lib/services/deployments.d.ts.map +1 -0
- package/lib/services/deployments.js +8664 -0
- package/lib/services/deployments.js.map +1 -0
- package/lib/services/dns.d.ts +279 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +282 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/domains.d.ts +539 -0
- package/lib/services/domains.d.ts.map +1 -0
- package/lib/services/domains.js +464 -0
- package/lib/services/domains.js.map +1 -0
- package/lib/services/domains_registrar.d.ts +798 -0
- package/lib/services/domains_registrar.d.ts.map +1 -0
- package/lib/services/domains_registrar.js +968 -0
- package/lib/services/domains_registrar.js.map +1 -0
- package/lib/services/drains.d.ts +2263 -0
- package/lib/services/drains.d.ts.map +1 -0
- package/lib/services/drains.js +2406 -0
- package/lib/services/drains.js.map +1 -0
- package/lib/services/edge_cache.d.ts +125 -0
- package/lib/services/edge_cache.d.ts.map +1 -0
- package/lib/services/edge_cache.js +140 -0
- package/lib/services/edge_cache.js.map +1 -0
- package/lib/services/environment.d.ts +1020 -0
- package/lib/services/environment.d.ts.map +1 -0
- package/lib/services/environment.js +842 -0
- package/lib/services/environment.js.map +1 -0
- package/lib/services/feature_flags.d.ts +3109 -0
- package/lib/services/feature_flags.d.ts.map +1 -0
- package/lib/services/feature_flags.js +3074 -0
- package/lib/services/feature_flags.js.map +1 -0
- package/lib/services/global_config.d.ts +618 -0
- package/lib/services/global_config.d.ts.map +1 -0
- package/lib/services/global_config.js +716 -0
- package/lib/services/global_config.js.map +1 -0
- package/lib/services/index.d.ts +39 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +40 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/integrations.d.ts +2987 -0
- package/lib/services/integrations.d.ts.map +1 -0
- package/lib/services/integrations.js +2903 -0
- package/lib/services/integrations.js.map +1 -0
- package/lib/services/log_drains.d.ts +848 -0
- package/lib/services/log_drains.d.ts.map +1 -0
- package/lib/services/log_drains.js +866 -0
- package/lib/services/log_drains.js.map +1 -0
- package/lib/services/logs.d.ts +40 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +43 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/marketplace.d.ts +991 -0
- package/lib/services/marketplace.d.ts.map +1 -0
- package/lib/services/marketplace.js +1044 -0
- package/lib/services/marketplace.js.map +1 -0
- package/lib/services/microfrontends.d.ts +3210 -0
- package/lib/services/microfrontends.d.ts.map +1 -0
- package/lib/services/microfrontends.js +3300 -0
- package/lib/services/microfrontends.js.map +1 -0
- package/lib/services/networking.d.ts +239 -0
- package/lib/services/networking.d.ts.map +1 -0
- package/lib/services/networking.js +224 -0
- package/lib/services/networking.js.map +1 -0
- package/lib/services/observability.d.ts +168 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +191 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/project_members.d.ts +142 -0
- package/lib/services/project_members.d.ts.map +1 -0
- package/lib/services/project_members.js +139 -0
- package/lib/services/project_members.js.map +1 -0
- package/lib/services/project_routes.d.ts +1990 -0
- package/lib/services/project_routes.d.ts.map +1 -0
- package/lib/services/project_routes.js +2026 -0
- package/lib/services/project_routes.js.map +1 -0
- package/lib/services/projects.d.ts +23449 -0
- package/lib/services/projects.d.ts.map +1 -0
- package/lib/services/projects.js +23570 -0
- package/lib/services/projects.js.map +1 -0
- package/lib/services/rolling_release.d.ts +764 -0
- package/lib/services/rolling_release.d.ts.map +1 -0
- package/lib/services/rolling_release.js +630 -0
- package/lib/services/rolling_release.js.map +1 -0
- package/lib/services/sandboxes.d.ts +2183 -0
- package/lib/services/sandboxes.d.ts.map +1 -0
- package/lib/services/sandboxes.js +1756 -0
- package/lib/services/sandboxes.js.map +1 -0
- package/lib/services/security.d.ts +3932 -0
- package/lib/services/security.d.ts.map +1 -0
- package/lib/services/security.js +4411 -0
- package/lib/services/security.js.map +1 -0
- package/lib/services/storage.d.ts +251 -0
- package/lib/services/storage.d.ts.map +1 -0
- package/lib/services/storage.js +270 -0
- package/lib/services/storage.js.map +1 -0
- package/lib/services/teams.d.ts +1577 -0
- package/lib/services/teams.d.ts.map +1 -0
- package/lib/services/teams.js +1359 -0
- package/lib/services/teams.js.map +1 -0
- package/lib/services/user.d.ts +7972 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +7093 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vcr.d.ts +793 -0
- package/lib/services/vcr.d.ts.map +1 -0
- package/lib/services/vcr.js +882 -0
- package/lib/services/vcr.js.map +1 -0
- package/lib/services/web_analytics.d.ts +694 -0
- package/lib/services/web_analytics.d.ts.map +1 -0
- package/lib/services/web_analytics.js +695 -0
- package/lib/services/web_analytics.js.map +1 -0
- package/lib/services/webhooks.d.ts +207 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +171 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +10 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -7
- package/src/credentials.ts +70 -0
- package/src/errors.ts +93 -0
- package/src/index.ts +18 -0
- package/src/protocol.ts +98 -0
- package/src/retry.ts +78 -0
- package/src/services/access_groups.ts +1165 -0
- package/src/services/ai_gateway.ts +272 -0
- package/src/services/aliases.ts +1323 -0
- package/src/services/artifacts.ts +542 -0
- package/src/services/authentication.ts +829 -0
- package/src/services/billing.ts +1776 -0
- package/src/services/bulk_redirects.ts +748 -0
- package/src/services/certs.ts +377 -0
- package/src/services/checks_v2.ts +3136 -0
- package/src/services/connect.ts +2607 -0
- package/src/services/deployments.ts +23682 -0
- package/src/services/dns.ts +718 -0
- package/src/services/domains.ts +1209 -0
- package/src/services/domains_registrar.ts +2290 -0
- package/src/services/drains.ts +5989 -0
- package/src/services/edge_cache.ts +303 -0
- package/src/services/environment.ts +2388 -0
- package/src/services/feature_flags.ts +8302 -0
- package/src/services/global_config.ts +1668 -0
- package/src/services/index.ts +39 -0
- package/src/services/integrations.ts +8846 -0
- package/src/services/log_drains.ts +2413 -0
- package/src/services/logs.ts +78 -0
- package/src/services/marketplace.ts +2626 -0
- package/src/services/microfrontends.ts +9650 -0
- package/src/services/networking.ts +530 -0
- package/src/services/observability.ts +436 -0
- package/src/services/project_members.ts +328 -0
- package/src/services/project_routes.ts +5259 -0
- package/src/services/projects.ts +67377 -0
- package/src/services/rolling_release.ts +1869 -0
- package/src/services/sandboxes.ts +5259 -0
- package/src/services/security.ts +12408 -0
- package/src/services/storage.ts +849 -0
- package/src/services/teams.ts +3995 -0
- package/src/services/user.ts +21687 -0
- package/src/services/vcr.ts +2165 -0
- package/src/services/web_analytics.ts +1570 -0
- package/src/services/webhooks.ts +1073 -0
- package/src/traits.ts +44 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as Redacted from "effect/Redacted";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import { type VercelOpError, type VercelOpContext } from "../protocol.ts";
|
|
5
|
+
export type { VercelOpError, VercelOpContext };
|
|
6
|
+
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
7
|
+
readonly code: any;
|
|
8
|
+
readonly message: any;
|
|
9
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
10
|
+
"@distilled.cloud/error/categories": {
|
|
11
|
+
BadRequestError: true;
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
15
|
+
}
|
|
16
|
+
declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
|
|
17
|
+
readonly code: any;
|
|
18
|
+
readonly message: any;
|
|
19
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
20
|
+
"@distilled.cloud/error/categories": {
|
|
21
|
+
ConflictError: true;
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
25
|
+
}
|
|
26
|
+
declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
|
|
27
|
+
readonly code: any;
|
|
28
|
+
readonly message: any;
|
|
29
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
30
|
+
"@distilled.cloud/error/categories": {
|
|
31
|
+
AuthError: true;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
35
|
+
}
|
|
36
|
+
declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
37
|
+
readonly code: any;
|
|
38
|
+
readonly message: any;
|
|
39
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
40
|
+
"@distilled.cloud/error/categories": {
|
|
41
|
+
BadRequestError: true;
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
45
|
+
}
|
|
46
|
+
/** How often the quota refreshes. */
|
|
47
|
+
export type CreateApiKeysRequestAiGatewayQuotaRefreshPeriod = "daily" | "weekly" | "monthly" | "none";
|
|
48
|
+
export declare const CreateApiKeysRequestAiGatewayQuotaRefreshPeriod: any;
|
|
49
|
+
export type CreateApiKeysRequestAiGatewayQuotaAlertThresholdsItem = 50 | 75 | 100;
|
|
50
|
+
export declare const CreateApiKeysRequestAiGatewayQuotaAlertThresholdsItem: any;
|
|
51
|
+
/** Spend percentages (a subset of [50, 75, 100]) at which to send a spend alert. */
|
|
52
|
+
export type CreateApiKeysRequestAiGatewayQuotaAlertThresholdsList = Array<CreateApiKeysRequestAiGatewayQuotaAlertThresholdsItem | (number & {})>;
|
|
53
|
+
export declare const CreateApiKeysRequestAiGatewayQuotaAlertThresholdsList: S.Schema<CreateApiKeysRequestAiGatewayQuotaAlertThresholdsList>;
|
|
54
|
+
/** Optional AI Gateway quota configuration for the API key. */
|
|
55
|
+
export interface CreateApiKeysRequestAiGatewayQuota {
|
|
56
|
+
/** The quota limit amount. */
|
|
57
|
+
limitAmount: number;
|
|
58
|
+
/** Whether to include BYOK (Bring Your Own Key) usage in the quota. */
|
|
59
|
+
includeByokInQuota?: boolean;
|
|
60
|
+
/** How often the quota refreshes. */
|
|
61
|
+
refreshPeriod?: CreateApiKeysRequestAiGatewayQuotaRefreshPeriod | (string & {});
|
|
62
|
+
/** Spend percentages (a subset of [50, 75, 100]) at which to send a spend alert. */
|
|
63
|
+
alertThresholds?: CreateApiKeysRequestAiGatewayQuotaAlertThresholdsList;
|
|
64
|
+
}
|
|
65
|
+
export declare const CreateApiKeysRequestAiGatewayQuota: S.Schema<CreateApiKeysRequestAiGatewayQuota>;
|
|
66
|
+
/** Optional generic metadata for the API key. The accepted shape depends on the key's `purpose` and is validated on creation; for `ai-gateway` keys this accepts `environment`. */
|
|
67
|
+
export type CreateApiKeysRequestMetadataMap = {
|
|
68
|
+
[key: string]: unknown | undefined;
|
|
69
|
+
};
|
|
70
|
+
export declare const CreateApiKeysRequestMetadataMap: S.Schema<CreateApiKeysRequestMetadataMap>;
|
|
71
|
+
export interface CreateApiKeysRequest {
|
|
72
|
+
/** The API key's purpose, which restricts how it can be used. */
|
|
73
|
+
purpose: string;
|
|
74
|
+
/** An optional project to restrict the API key to. */
|
|
75
|
+
projectId?: string;
|
|
76
|
+
/** An optional name for the API key. */
|
|
77
|
+
name?: string;
|
|
78
|
+
/** The API key's expiration, expressed as a UNIX timestamp in milliseconds. */
|
|
79
|
+
expiresAt?: number;
|
|
80
|
+
/** Optional AI Gateway quota configuration for the API key. */
|
|
81
|
+
aiGatewayQuota?: CreateApiKeysRequestAiGatewayQuota;
|
|
82
|
+
/** Optional generic metadata for the API key. The accepted shape depends on the key's `purpose` and is validated on creation; for `ai-gateway` keys this accepts `environment`. */
|
|
83
|
+
metadata?: CreateApiKeysRequestMetadataMap;
|
|
84
|
+
}
|
|
85
|
+
export declare const CreateApiKeysRequest: S.Schema<CreateApiKeysRequest>;
|
|
86
|
+
/** Spend percentages (a subset of [50, 75, 100]) at which to send a spend alert. Empty or undefined disables alerts. */
|
|
87
|
+
export type APIKeyQuotaAlertThresholdsList = Array<number>;
|
|
88
|
+
export declare const APIKeyQuotaAlertThresholdsList: S.Schema<APIKeyQuotaAlertThresholdsList>;
|
|
89
|
+
/** AI Gateway quota associated with an API key. */
|
|
90
|
+
export interface APIKeyQuota {
|
|
91
|
+
/** The unique identifier for the quota. */
|
|
92
|
+
quotaEntityId: string;
|
|
93
|
+
/** The quota limit amount. */
|
|
94
|
+
limitAmount: number;
|
|
95
|
+
/** The current amount spent against the quota. */
|
|
96
|
+
currentSpend: number;
|
|
97
|
+
/** The current BYOK spend (tracked separately). */
|
|
98
|
+
currentByokSpend: number;
|
|
99
|
+
/** Whether BYOK (Bring Your Own Key) spend counts against the quota. */
|
|
100
|
+
includeByokInQuota: boolean;
|
|
101
|
+
/** How often the quota refreshes. */
|
|
102
|
+
refreshPeriod: string;
|
|
103
|
+
/** Whether the quota is currently active. */
|
|
104
|
+
active: boolean;
|
|
105
|
+
/** Whether the quota has been archived. */
|
|
106
|
+
archived: boolean;
|
|
107
|
+
/** Spend percentages (a subset of [50, 75, 100]) at which to send a spend alert. Empty or undefined disables alerts. */
|
|
108
|
+
alertThresholds?: APIKeyQuotaAlertThresholdsList;
|
|
109
|
+
/** Timestamp (in milliseconds) of when the quota was created. */
|
|
110
|
+
createdAt: number;
|
|
111
|
+
/** Timestamp (in milliseconds) of when the quota was last updated. */
|
|
112
|
+
updatedAt: number;
|
|
113
|
+
}
|
|
114
|
+
export declare const APIKeyQuota: S.Schema<APIKeyQuota>;
|
|
115
|
+
/** Information about the newly created API key. */
|
|
116
|
+
export interface APIKey {
|
|
117
|
+
/** The unique identifier of the API key. */
|
|
118
|
+
id: string;
|
|
119
|
+
/** The human-readable name of the API key. */
|
|
120
|
+
name: string;
|
|
121
|
+
/** The last few characters of the API key string, for helping identify the API key. */
|
|
122
|
+
partialKey: string;
|
|
123
|
+
/** The ID of the team that the API key grants access to. */
|
|
124
|
+
teamId: string;
|
|
125
|
+
/** The API key's purpose, i.e. what resources it can be used with. */
|
|
126
|
+
purpose: string;
|
|
127
|
+
/** The ID of the project that this API key grants access to. When this is unset, the API key grants access to all projects in the team. */
|
|
128
|
+
projectId: string | null;
|
|
129
|
+
/** Timestamp (in milliseconds) of when the API key expires. */
|
|
130
|
+
expiresAt: number | null;
|
|
131
|
+
/** Timestamp (in milliseconds) of when the API key was most recently used. */
|
|
132
|
+
activeAt: number;
|
|
133
|
+
/** Timestamp (in milliseconds) of when the API key was created. */
|
|
134
|
+
createdAt: number;
|
|
135
|
+
/** The ID of the user who created the API key. */
|
|
136
|
+
createdBy: string;
|
|
137
|
+
/** Timestamp (in milliseconds) of when the API key was marked as leaked. */
|
|
138
|
+
leakedAt: number | null;
|
|
139
|
+
/** URL where the API key was discovered as leaked. */
|
|
140
|
+
leakedUrl: string | null;
|
|
141
|
+
/** The ID of the app that created the API key, if any */
|
|
142
|
+
createdByAppId: string | null;
|
|
143
|
+
quota?: APIKeyQuota;
|
|
144
|
+
/** Generic metadata attached to the API key. The accepted shape depends on the key's `purpose` and is validated when the key is created. For `ai-gateway` keys this carries `environment` and `spendAttribution`. */
|
|
145
|
+
metadata?: unknown;
|
|
146
|
+
}
|
|
147
|
+
export declare const APIKey: S.Schema<APIKey>;
|
|
148
|
+
export interface CreateApiKeysResponse {
|
|
149
|
+
/** The API key's actual value. This value is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe! */
|
|
150
|
+
apiKeyString: string;
|
|
151
|
+
apiKey: APIKey;
|
|
152
|
+
}
|
|
153
|
+
export declare const CreateApiKeysResponse: S.Schema<CreateApiKeysResponse>;
|
|
154
|
+
export interface CreateAuthTokenRequest {
|
|
155
|
+
/** The Team identifier to perform the request on behalf of. */
|
|
156
|
+
teamId?: string;
|
|
157
|
+
/** The Team slug to perform the request on behalf of. */
|
|
158
|
+
slug?: string;
|
|
159
|
+
name: string;
|
|
160
|
+
expiresAt?: number;
|
|
161
|
+
/** The ID of the project to scope this token to */
|
|
162
|
+
projectId?: string;
|
|
163
|
+
}
|
|
164
|
+
export declare const CreateAuthTokenRequest: S.Schema<CreateAuthTokenRequest>;
|
|
165
|
+
export type AuthTokenScopesItemCase0Type = "user";
|
|
166
|
+
export declare const AuthTokenScopesItemCase0Type: any;
|
|
167
|
+
/** Possible step-up auth origins */
|
|
168
|
+
export type AuthTokenScopesItemCase0SudoOrigin = "email-otp" | "otp" | "recovery-code" | "totp" | "webauthn";
|
|
169
|
+
export declare const AuthTokenScopesItemCase0SudoOrigin: any;
|
|
170
|
+
export interface AuthTokenScopesItemCase0Sudo {
|
|
171
|
+
/** Possible step-up auth origins */
|
|
172
|
+
origin: AuthTokenScopesItemCase0SudoOrigin;
|
|
173
|
+
verifiedAt?: number;
|
|
174
|
+
expiresAt: number;
|
|
175
|
+
}
|
|
176
|
+
export declare const AuthTokenScopesItemCase0Sudo: S.Schema<AuthTokenScopesItemCase0Sudo>;
|
|
177
|
+
export type AuthTokenScopesItemCase0Origin = "app" | "apple" | "bitbucket" | "chatgpt" | "email" | "emu" | "github" | "github-webhook" | "gitlab" | "google" | "invite" | "manual" | "otp" | "passkey" | "saml" | "sms" | "token-exchange-oidc";
|
|
178
|
+
export declare const AuthTokenScopesItemCase0Origin: any;
|
|
179
|
+
/** The access scopes granted to the token. */
|
|
180
|
+
export interface AuthTokenScopesItemCase0 {
|
|
181
|
+
type: AuthTokenScopesItemCase0Type;
|
|
182
|
+
sudo?: AuthTokenScopesItemCase0Sudo;
|
|
183
|
+
origin?: AuthTokenScopesItemCase0Origin;
|
|
184
|
+
createdAt: number;
|
|
185
|
+
expiresAt?: number;
|
|
186
|
+
}
|
|
187
|
+
export declare const AuthTokenScopesItemCase0: S.Schema<AuthTokenScopesItemCase0>;
|
|
188
|
+
export type AuthTokenScopesItemCase1Type = "team";
|
|
189
|
+
export declare const AuthTokenScopesItemCase1Type: any;
|
|
190
|
+
export type AuthTokenScopesItemCase1Origin = "app" | "apple" | "bitbucket" | "chatgpt" | "email" | "emu" | "github" | "github-webhook" | "gitlab" | "google" | "invite" | "manual" | "otp" | "passkey" | "saml" | "sms" | "token-exchange-oidc";
|
|
191
|
+
export declare const AuthTokenScopesItemCase1Origin: any;
|
|
192
|
+
/** The access scopes granted to the token. */
|
|
193
|
+
export interface AuthTokenScopesItemCase1 {
|
|
194
|
+
type: AuthTokenScopesItemCase1Type;
|
|
195
|
+
teamId: string;
|
|
196
|
+
origin?: AuthTokenScopesItemCase1Origin;
|
|
197
|
+
createdAt: number;
|
|
198
|
+
expiresAt?: number;
|
|
199
|
+
}
|
|
200
|
+
export declare const AuthTokenScopesItemCase1: S.Schema<AuthTokenScopesItemCase1>;
|
|
201
|
+
export type AuthTokenScopesItem = AuthTokenScopesItemCase0 | AuthTokenScopesItemCase1;
|
|
202
|
+
export declare const AuthTokenScopesItem: S.Schema<AuthTokenScopesItem>;
|
|
203
|
+
/** The access scopes granted to the token. */
|
|
204
|
+
export type AuthTokenScopesList = Array<AuthTokenScopesItem>;
|
|
205
|
+
export declare const AuthTokenScopesList: S.Schema<AuthTokenScopesList>;
|
|
206
|
+
/** Authentication token metadata. */
|
|
207
|
+
export interface AuthToken {
|
|
208
|
+
/** The unique identifier of the token. */
|
|
209
|
+
id: string;
|
|
210
|
+
/** The human-readable name of the token. */
|
|
211
|
+
name: string;
|
|
212
|
+
/** The type of the token. */
|
|
213
|
+
type: string;
|
|
214
|
+
/** The token's prefix, for identification purposes. */
|
|
215
|
+
prefix?: string;
|
|
216
|
+
/** The last few characters of the token, for identification purposes. */
|
|
217
|
+
suffix?: string;
|
|
218
|
+
/** The origin of how the token was created. */
|
|
219
|
+
origin?: string;
|
|
220
|
+
/** The access scopes granted to the token. */
|
|
221
|
+
scopes?: AuthTokenScopesList;
|
|
222
|
+
/** Timestamp (in milliseconds) of when the token was created. */
|
|
223
|
+
createdAt: number;
|
|
224
|
+
/** Timestamp (in milliseconds) of when the token was most recently used. */
|
|
225
|
+
activeAt: number;
|
|
226
|
+
/** Timestamp (in milliseconds) of when the token expires. */
|
|
227
|
+
expiresAt?: number;
|
|
228
|
+
/** Timestamp (in milliseconds) of when the token was revoked. */
|
|
229
|
+
revokedAt?: number;
|
|
230
|
+
/** Timestamp (in milliseconds) of when the token was marked as leaked. */
|
|
231
|
+
leakedAt?: number;
|
|
232
|
+
/** URL where the token was discovered as leaked. */
|
|
233
|
+
leakedUrl?: string;
|
|
234
|
+
}
|
|
235
|
+
export declare const AuthToken: S.Schema<AuthToken>;
|
|
236
|
+
export interface CreateAuthTokenResponse {
|
|
237
|
+
token: AuthToken;
|
|
238
|
+
/** The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe! */
|
|
239
|
+
bearerToken: string;
|
|
240
|
+
}
|
|
241
|
+
export declare const CreateAuthTokenResponse: S.Schema<CreateAuthTokenResponse>;
|
|
242
|
+
export interface DeleteAuthTokenRequest {
|
|
243
|
+
/** The identifier of the token to invalidate. The special value "current" may be supplied, which invalidates the token that the HTTP request was authenticated with. */
|
|
244
|
+
tokenId: string;
|
|
245
|
+
}
|
|
246
|
+
export declare const DeleteAuthTokenRequest: S.Schema<DeleteAuthTokenRequest>;
|
|
247
|
+
export interface DeleteAuthTokenResponse {
|
|
248
|
+
/** The unique identifier of the token that was deleted. */
|
|
249
|
+
tokenId: string;
|
|
250
|
+
}
|
|
251
|
+
export declare const DeleteAuthTokenResponse: S.Schema<DeleteAuthTokenResponse>;
|
|
252
|
+
/** The grant type, when using x-www-form-urlencoded content type */
|
|
253
|
+
export type ExchangeSsoTokenRequestBodyCase0GrantType = "authorization_code";
|
|
254
|
+
export declare const ExchangeSsoTokenRequestBodyCase0GrantType: any;
|
|
255
|
+
export interface ExchangeSsoTokenRequestBodyCase0 {
|
|
256
|
+
/** The sensitive code received from Vercel */
|
|
257
|
+
code: string;
|
|
258
|
+
/** The state received from the initialization request */
|
|
259
|
+
state?: string;
|
|
260
|
+
/** The integration client id */
|
|
261
|
+
client_id: string;
|
|
262
|
+
/** The integration client secret */
|
|
263
|
+
client_secret: string | Redacted.Redacted<string>;
|
|
264
|
+
/** The integration redirect URI */
|
|
265
|
+
redirect_uri?: string;
|
|
266
|
+
/** The grant type, when using x-www-form-urlencoded content type */
|
|
267
|
+
grant_type: ExchangeSsoTokenRequestBodyCase0GrantType;
|
|
268
|
+
}
|
|
269
|
+
export declare const ExchangeSsoTokenRequestBodyCase0: S.Schema<ExchangeSsoTokenRequestBodyCase0>;
|
|
270
|
+
/** The grant type, when using x-www-form-urlencoded content type */
|
|
271
|
+
export type ExchangeSsoTokenRequestBodyCase1GrantType = "refresh_token";
|
|
272
|
+
export declare const ExchangeSsoTokenRequestBodyCase1GrantType: any;
|
|
273
|
+
export interface ExchangeSsoTokenRequestBodyCase1 {
|
|
274
|
+
/** The refresh token received from previous token exchange */
|
|
275
|
+
refresh_token: string | Redacted.Redacted<string>;
|
|
276
|
+
/** The integration client id */
|
|
277
|
+
client_id: string;
|
|
278
|
+
/** The integration client secret */
|
|
279
|
+
client_secret: string | Redacted.Redacted<string>;
|
|
280
|
+
/** The grant type, when using x-www-form-urlencoded content type */
|
|
281
|
+
grant_type: ExchangeSsoTokenRequestBodyCase1GrantType;
|
|
282
|
+
}
|
|
283
|
+
export declare const ExchangeSsoTokenRequestBodyCase1: S.Schema<ExchangeSsoTokenRequestBodyCase1>;
|
|
284
|
+
export type ExchangeSsoTokenRequestBody = ExchangeSsoTokenRequestBodyCase0 | ExchangeSsoTokenRequestBodyCase1;
|
|
285
|
+
export declare const ExchangeSsoTokenRequestBody: S.Schema<ExchangeSsoTokenRequestBody>;
|
|
286
|
+
export interface ExchangeSsoTokenRequest {
|
|
287
|
+
body: ExchangeSsoTokenRequestBody;
|
|
288
|
+
}
|
|
289
|
+
export declare const ExchangeSsoTokenRequest: S.Schema<ExchangeSsoTokenRequest>;
|
|
290
|
+
export interface ExchangeSsoTokenResponseBodyCase0 {
|
|
291
|
+
id_token: string;
|
|
292
|
+
token_type: string | null;
|
|
293
|
+
expires_in?: number;
|
|
294
|
+
access_token: string | Redacted.Redacted<string> | null;
|
|
295
|
+
refresh_token?: string | Redacted.Redacted<string>;
|
|
296
|
+
}
|
|
297
|
+
export declare const ExchangeSsoTokenResponseBodyCase0: S.Schema<ExchangeSsoTokenResponseBodyCase0>;
|
|
298
|
+
export interface ExchangeSsoTokenResponseBodyCase1 {
|
|
299
|
+
id_token: string;
|
|
300
|
+
token_type: string;
|
|
301
|
+
access_token: string | Redacted.Redacted<string>;
|
|
302
|
+
refresh_token: string | Redacted.Redacted<string>;
|
|
303
|
+
expires_in: number;
|
|
304
|
+
}
|
|
305
|
+
export declare const ExchangeSsoTokenResponseBodyCase1: S.Schema<ExchangeSsoTokenResponseBodyCase1>;
|
|
306
|
+
export type ExchangeSsoTokenResponseBody = ExchangeSsoTokenResponseBodyCase0 | ExchangeSsoTokenResponseBodyCase1;
|
|
307
|
+
export declare const ExchangeSsoTokenResponseBody: S.Schema<ExchangeSsoTokenResponseBody>;
|
|
308
|
+
export type ExchangeSsoTokenResponse = ExchangeSsoTokenResponseBody;
|
|
309
|
+
export declare const ExchangeSsoTokenResponse: S.Schema<ExchangeSsoTokenResponse>;
|
|
310
|
+
export interface GetAuthTokenRequest {
|
|
311
|
+
/** The identifier of the token to retrieve. The special value "current" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with. */
|
|
312
|
+
tokenId: string;
|
|
313
|
+
}
|
|
314
|
+
export declare const GetAuthTokenRequest: S.Schema<GetAuthTokenRequest>;
|
|
315
|
+
export interface GetAuthTokenResponse {
|
|
316
|
+
token: AuthToken;
|
|
317
|
+
}
|
|
318
|
+
export declare const GetAuthTokenResponse: S.Schema<GetAuthTokenResponse>;
|
|
319
|
+
export interface ListAuthTokensRequest {
|
|
320
|
+
}
|
|
321
|
+
export declare const ListAuthTokensRequest: S.Schema<ListAuthTokensRequest>;
|
|
322
|
+
export type ListAuthTokensResponseBodyCase0TokensList = Array<AuthToken>;
|
|
323
|
+
export declare const ListAuthTokensResponseBodyCase0TokensList: S.Schema<ListAuthTokensResponseBodyCase0TokensList>;
|
|
324
|
+
export interface ListAuthTokensResponseBodyCase0Pagination {
|
|
325
|
+
count: number;
|
|
326
|
+
next: string | null;
|
|
327
|
+
prev: string | null;
|
|
328
|
+
}
|
|
329
|
+
export declare const ListAuthTokensResponseBodyCase0Pagination: S.Schema<ListAuthTokensResponseBodyCase0Pagination>;
|
|
330
|
+
export interface ListAuthTokensResponseBodyCase0 {
|
|
331
|
+
tokens: ListAuthTokensResponseBodyCase0TokensList;
|
|
332
|
+
pagination: ListAuthTokensResponseBodyCase0Pagination;
|
|
333
|
+
}
|
|
334
|
+
export declare const ListAuthTokensResponseBodyCase0: S.Schema<ListAuthTokensResponseBodyCase0>;
|
|
335
|
+
export type ListAuthTokensResponseBodyCase1TokensList = Array<AuthToken>;
|
|
336
|
+
export declare const ListAuthTokensResponseBodyCase1TokensList: S.Schema<ListAuthTokensResponseBodyCase1TokensList>;
|
|
337
|
+
/** This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */
|
|
338
|
+
export interface Pagination {
|
|
339
|
+
/** Amount of items in the current page. */
|
|
340
|
+
count: number;
|
|
341
|
+
/** Timestamp that must be used to request the next page. */
|
|
342
|
+
next: number | null;
|
|
343
|
+
/** Timestamp that must be used to request the previous page. */
|
|
344
|
+
prev: number | null;
|
|
345
|
+
}
|
|
346
|
+
export declare const Pagination: S.Schema<Pagination>;
|
|
347
|
+
export interface ListAuthTokensResponseBodyCase1 {
|
|
348
|
+
tokens: ListAuthTokensResponseBodyCase1TokensList;
|
|
349
|
+
pagination: Pagination;
|
|
350
|
+
}
|
|
351
|
+
export declare const ListAuthTokensResponseBodyCase1: S.Schema<ListAuthTokensResponseBodyCase1>;
|
|
352
|
+
export type ListAuthTokensResponseBody = ListAuthTokensResponseBodyCase0 | ListAuthTokensResponseBodyCase1;
|
|
353
|
+
export declare const ListAuthTokensResponseBody: S.Schema<ListAuthTokensResponseBody>;
|
|
354
|
+
export type ListAuthTokensResponse = ListAuthTokensResponseBody;
|
|
355
|
+
export declare const ListAuthTokensResponse: S.Schema<ListAuthTokensResponse>;
|
|
356
|
+
export type CreateApiKeysError = BadRequest | Forbidden | Conflict | VercelOpError;
|
|
357
|
+
export declare const createApiKeys: API.OperationMethod<CreateApiKeysRequest, CreateApiKeysResponse, CreateApiKeysError, VercelOpContext>;
|
|
358
|
+
export type CreateAuthTokenError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
359
|
+
/** Create an Auth Token Creates and returns a new authentication token for the currently authenticated User. The `bearerToken` property is only provided once, in the response body, so be sure to save it on the client for use with API requests. */
|
|
360
|
+
export declare const createAuthToken: API.OperationMethod<CreateAuthTokenRequest, CreateAuthTokenResponse, CreateAuthTokenError, VercelOpContext>;
|
|
361
|
+
export type DeleteAuthTokenError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
362
|
+
/** Delete an authentication token Invalidate an authentication token, such that it will no longer be valid for future HTTP requests. */
|
|
363
|
+
export declare const deleteAuthToken: API.OperationMethod<DeleteAuthTokenRequest, DeleteAuthTokenResponse, DeleteAuthTokenError, VercelOpContext>;
|
|
364
|
+
export type ExchangeSsoTokenError = BadRequest | Forbidden | VercelOpError;
|
|
365
|
+
/** SSO Token Exchange During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned `id_token` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details. */
|
|
366
|
+
export declare const exchangeSsoToken: API.OperationMethod<ExchangeSsoTokenRequest, ExchangeSsoTokenResponse, ExchangeSsoTokenError, VercelOpContext>;
|
|
367
|
+
export type GetAuthTokenError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
368
|
+
/** Get Auth Token Metadata Retrieve metadata about an authentication token belonging to the currently authenticated User. */
|
|
369
|
+
export declare const getAuthToken: API.OperationMethod<GetAuthTokenRequest, GetAuthTokenResponse, GetAuthTokenError, VercelOpContext>;
|
|
370
|
+
export type ListAuthTokensError = BadRequest | Forbidden | VercelOpError;
|
|
371
|
+
/** List Auth Tokens Retrieve a list of the current User's authentication tokens. */
|
|
372
|
+
export declare const listAuthTokens: API.OperationMethod<ListAuthTokensRequest, ListAuthTokensResponse, ListAuthTokensError, VercelOpContext>;
|
|
373
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../src/services/authentication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAA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