@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.5
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,991 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type VercelOpError, type VercelOpContext } from "../protocol.ts";
|
|
4
|
+
export type { VercelOpError, VercelOpContext };
|
|
5
|
+
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
6
|
+
readonly code: any;
|
|
7
|
+
readonly message: any;
|
|
8
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
9
|
+
"@distilled.cloud/error/categories": {
|
|
10
|
+
BadRequestError: true;
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
|
+
}
|
|
15
|
+
declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
|
|
16
|
+
readonly code: any;
|
|
17
|
+
readonly message: any;
|
|
18
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
19
|
+
"@distilled.cloud/error/categories": {
|
|
20
|
+
ConflictError: true;
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
24
|
+
}
|
|
25
|
+
declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
|
|
26
|
+
readonly code: any;
|
|
27
|
+
readonly message: any;
|
|
28
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
29
|
+
"@distilled.cloud/error/categories": {
|
|
30
|
+
AuthError: true;
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
34
|
+
}
|
|
35
|
+
declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
36
|
+
readonly code: any;
|
|
37
|
+
readonly message: any;
|
|
38
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
39
|
+
"@distilled.cloud/error/categories": {
|
|
40
|
+
BadRequestError: true;
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
44
|
+
}
|
|
45
|
+
declare const UnprocessableEntity_base: S.Class<UnprocessableEntity, S.TaggedStruct<"UnprocessableEntity", {
|
|
46
|
+
readonly code: any;
|
|
47
|
+
readonly message: any;
|
|
48
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
49
|
+
"@distilled.cloud/error/categories": {
|
|
50
|
+
BadRequestError: true;
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
|
|
54
|
+
}
|
|
55
|
+
export type CreateEventRequestEventCase0Type = "installation.updated";
|
|
56
|
+
export declare const CreateEventRequestEventCase0Type: any;
|
|
57
|
+
export interface CreateEventRequestEventCase0 {
|
|
58
|
+
type: CreateEventRequestEventCase0Type;
|
|
59
|
+
/** The installation-level billing plan ID */
|
|
60
|
+
billingPlanId?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare const CreateEventRequestEventCase0: S.Schema<CreateEventRequestEventCase0>;
|
|
63
|
+
export type CreateEventRequestEventCase1Type = "resource.updated";
|
|
64
|
+
export declare const CreateEventRequestEventCase1Type: any;
|
|
65
|
+
export interface CreateEventRequestEventCase1 {
|
|
66
|
+
type: CreateEventRequestEventCase1Type;
|
|
67
|
+
/** Partner-provided product slug or id */
|
|
68
|
+
productId?: string;
|
|
69
|
+
/** Partner provided resource ID */
|
|
70
|
+
resourceId: string;
|
|
71
|
+
}
|
|
72
|
+
export declare const CreateEventRequestEventCase1: S.Schema<CreateEventRequestEventCase1>;
|
|
73
|
+
export type CreateEventRequestEvent = CreateEventRequestEventCase0 | CreateEventRequestEventCase1;
|
|
74
|
+
export declare const CreateEventRequestEvent: S.Schema<CreateEventRequestEvent>;
|
|
75
|
+
export interface CreateEventRequest {
|
|
76
|
+
integrationConfigurationId: string;
|
|
77
|
+
event: CreateEventRequestEvent;
|
|
78
|
+
}
|
|
79
|
+
export declare const CreateEventRequest: S.Schema<CreateEventRequest>;
|
|
80
|
+
export interface CreateEventResponse {
|
|
81
|
+
}
|
|
82
|
+
export declare const CreateEventResponse: S.Schema<CreateEventResponse>;
|
|
83
|
+
export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItemCategory = "experiment" | "flag";
|
|
84
|
+
export declare const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItemCategory: any;
|
|
85
|
+
export interface CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItem {
|
|
86
|
+
id: string;
|
|
87
|
+
slug: string;
|
|
88
|
+
origin: string;
|
|
89
|
+
category?: CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItemCategory | (string & {});
|
|
90
|
+
name?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
isArchived?: boolean;
|
|
93
|
+
createdAt?: number;
|
|
94
|
+
updatedAt?: number;
|
|
95
|
+
}
|
|
96
|
+
export declare const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItem: S.Schema<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItem>;
|
|
97
|
+
export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsList = Array<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItem>;
|
|
98
|
+
export declare const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsList: S.Schema<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsList>;
|
|
99
|
+
export interface CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest {
|
|
100
|
+
integrationConfigurationId: string;
|
|
101
|
+
resourceId: string;
|
|
102
|
+
items: CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsList;
|
|
103
|
+
}
|
|
104
|
+
export declare const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest: S.Schema<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest>;
|
|
105
|
+
export interface CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse {
|
|
106
|
+
}
|
|
107
|
+
export declare const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse: S.Schema<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse>;
|
|
108
|
+
export interface DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest {
|
|
109
|
+
integrationConfigurationId: string;
|
|
110
|
+
resourceId: string;
|
|
111
|
+
itemId: string;
|
|
112
|
+
}
|
|
113
|
+
export declare const DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest: S.Schema<DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest>;
|
|
114
|
+
export interface DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse {
|
|
115
|
+
}
|
|
116
|
+
export declare const DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse: S.Schema<DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse>;
|
|
117
|
+
export interface DeleteIntegrationResourceRequest {
|
|
118
|
+
integrationConfigurationId: string;
|
|
119
|
+
resourceId: string;
|
|
120
|
+
}
|
|
121
|
+
export declare const DeleteIntegrationResourceRequest: S.Schema<DeleteIntegrationResourceRequest>;
|
|
122
|
+
export interface DeleteIntegrationResourceResponse {
|
|
123
|
+
}
|
|
124
|
+
export declare const DeleteIntegrationResourceResponse: S.Schema<DeleteIntegrationResourceResponse>;
|
|
125
|
+
export interface FinalizeInstallationRequest {
|
|
126
|
+
integrationConfigurationId: string;
|
|
127
|
+
}
|
|
128
|
+
export declare const FinalizeInstallationRequest: S.Schema<FinalizeInstallationRequest>;
|
|
129
|
+
export interface FinalizeInstallationResponse {
|
|
130
|
+
}
|
|
131
|
+
export declare const FinalizeInstallationResponse: S.Schema<FinalizeInstallationResponse>;
|
|
132
|
+
export interface GetAccountInfoRequest {
|
|
133
|
+
integrationConfigurationId: string;
|
|
134
|
+
}
|
|
135
|
+
export declare const GetAccountInfoRequest: S.Schema<GetAccountInfoRequest>;
|
|
136
|
+
/** The best contact for the integration, which can change as team members and their roles change. */
|
|
137
|
+
export interface GetAccountInfoResponseContact {
|
|
138
|
+
email: string;
|
|
139
|
+
name?: string;
|
|
140
|
+
}
|
|
141
|
+
export declare const GetAccountInfoResponseContact: S.Schema<GetAccountInfoResponseContact>;
|
|
142
|
+
export interface GetAccountInfoResponse {
|
|
143
|
+
/** The name of the team the installation is tied to. */
|
|
144
|
+
name?: string;
|
|
145
|
+
/** A URL linking to the installation in the Vercel Dashboard. */
|
|
146
|
+
url: string;
|
|
147
|
+
/** The best contact for the integration, which can change as team members and their roles change. */
|
|
148
|
+
contact: GetAccountInfoResponseContact | null;
|
|
149
|
+
}
|
|
150
|
+
export declare const GetAccountInfoResponse: S.Schema<GetAccountInfoResponse>;
|
|
151
|
+
export interface GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest {
|
|
152
|
+
integrationConfigurationId: string;
|
|
153
|
+
resourceId: string;
|
|
154
|
+
}
|
|
155
|
+
export declare const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: S.Schema<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
156
|
+
export type EdgeConfigItemValueCase2Map = {
|
|
157
|
+
[key: string]: EdgeConfigItemValue | undefined;
|
|
158
|
+
};
|
|
159
|
+
export declare const EdgeConfigItemValueCase2Map: S.Schema<EdgeConfigItemValueCase2Map>;
|
|
160
|
+
export type EdgeConfigItemValueCase3List = Array<EdgeConfigItemValue>;
|
|
161
|
+
export declare const EdgeConfigItemValueCase3List: S.Schema<EdgeConfigItemValueCase3List>;
|
|
162
|
+
export type EdgeConfigItemValue = string | number | EdgeConfigItemValueCase2Map | EdgeConfigItemValueCase3List | boolean;
|
|
163
|
+
export declare const EdgeConfigItemValue: S.Schema<EdgeConfigItemValue>;
|
|
164
|
+
export type GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap = {
|
|
165
|
+
[key: string]: EdgeConfigItemValue | undefined;
|
|
166
|
+
};
|
|
167
|
+
export declare const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap: S.Schema<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap>;
|
|
168
|
+
export type GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose = "experimentation" | "flags";
|
|
169
|
+
export declare const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose: any;
|
|
170
|
+
export interface GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse {
|
|
171
|
+
items: GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap;
|
|
172
|
+
updatedAt: number;
|
|
173
|
+
digest: string;
|
|
174
|
+
purpose?: GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose;
|
|
175
|
+
}
|
|
176
|
+
export declare const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse: S.Schema<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
177
|
+
export interface GetIntegrationResourceRequest {
|
|
178
|
+
/** The ID of the integration configuration (installation) the resource belongs to */
|
|
179
|
+
integrationConfigurationId: string;
|
|
180
|
+
/** The ID provided by the 3rd party provider for the given resource */
|
|
181
|
+
resourceId: string;
|
|
182
|
+
}
|
|
183
|
+
export declare const GetIntegrationResourceRequest: S.Schema<GetIntegrationResourceRequest>;
|
|
184
|
+
/** The current status of the resource */
|
|
185
|
+
export type GetIntegrationResourceResponseStatus = "error" | "onboarding" | "pending" | "ready" | "resumed" | "suspended" | "uninstalled";
|
|
186
|
+
export declare const GetIntegrationResourceResponseStatus: any;
|
|
187
|
+
export interface GetIntegrationResourceResponseProtocolSettingsExperimentation {
|
|
188
|
+
edgeConfigId?: string;
|
|
189
|
+
globalConfigId?: string;
|
|
190
|
+
}
|
|
191
|
+
export declare const GetIntegrationResourceResponseProtocolSettingsExperimentation: S.Schema<GetIntegrationResourceResponseProtocolSettingsExperimentation>;
|
|
192
|
+
/** Any settings provided for the resource to support its product's protocols */
|
|
193
|
+
export interface GetIntegrationResourceResponseProtocolSettings {
|
|
194
|
+
experimentation?: GetIntegrationResourceResponseProtocolSettingsExperimentation;
|
|
195
|
+
}
|
|
196
|
+
export declare const GetIntegrationResourceResponseProtocolSettings: S.Schema<GetIntegrationResourceResponseProtocolSettings>;
|
|
197
|
+
export type GetIntegrationResourceResponseNotificationLevel = "error" | "info" | "warn";
|
|
198
|
+
export declare const GetIntegrationResourceResponseNotificationLevel: any;
|
|
199
|
+
/** The notification, if set, displayed to the user when viewing the resource in Vercel */
|
|
200
|
+
export interface GetIntegrationResourceResponseNotification {
|
|
201
|
+
level: GetIntegrationResourceResponseNotificationLevel;
|
|
202
|
+
title: string;
|
|
203
|
+
message?: string;
|
|
204
|
+
href?: string;
|
|
205
|
+
}
|
|
206
|
+
export declare const GetIntegrationResourceResponseNotification: S.Schema<GetIntegrationResourceResponseNotification>;
|
|
207
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
208
|
+
export type GetIntegrationResourceResponseMetadataValueCase2List = Array<string>;
|
|
209
|
+
export declare const GetIntegrationResourceResponseMetadataValueCase2List: S.Schema<GetIntegrationResourceResponseMetadataValueCase2List>;
|
|
210
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
211
|
+
export type GetIntegrationResourceResponseMetadataValueCase3List = Array<number>;
|
|
212
|
+
export declare const GetIntegrationResourceResponseMetadataValueCase3List: S.Schema<GetIntegrationResourceResponseMetadataValueCase3List>;
|
|
213
|
+
export type GetIntegrationResourceResponseMetadataValue = string | number | GetIntegrationResourceResponseMetadataValueCase2List | GetIntegrationResourceResponseMetadataValueCase3List | boolean;
|
|
214
|
+
export declare const GetIntegrationResourceResponseMetadataValue: S.Schema<GetIntegrationResourceResponseMetadataValue>;
|
|
215
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
216
|
+
export type GetIntegrationResourceResponseMetadataMap = {
|
|
217
|
+
[key: string]: GetIntegrationResourceResponseMetadataValue | undefined;
|
|
218
|
+
};
|
|
219
|
+
export declare const GetIntegrationResourceResponseMetadataMap: S.Schema<GetIntegrationResourceResponseMetadataMap>;
|
|
220
|
+
export interface GetIntegrationResourceResponse {
|
|
221
|
+
/** The ID provided by the 3rd party provider for the given resource */
|
|
222
|
+
id: string;
|
|
223
|
+
/** The ID assigned by Vercel for the given resource */
|
|
224
|
+
internalId: string;
|
|
225
|
+
/** The name of the resource as it is recorded in Vercel */
|
|
226
|
+
name: string;
|
|
227
|
+
/** The current status of the resource */
|
|
228
|
+
status?: GetIntegrationResourceResponseStatus;
|
|
229
|
+
/** The ID of the product the resource is derived from */
|
|
230
|
+
productId: string;
|
|
231
|
+
/** Any settings provided for the resource to support its product's protocols */
|
|
232
|
+
protocolSettings?: GetIntegrationResourceResponseProtocolSettings;
|
|
233
|
+
/** The notification, if set, displayed to the user when viewing the resource in Vercel */
|
|
234
|
+
notification?: GetIntegrationResourceResponseNotification;
|
|
235
|
+
/** The ID of the billing plan the resource is subscribed to, if applicable */
|
|
236
|
+
billingPlanId?: string;
|
|
237
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
238
|
+
metadata?: GetIntegrationResourceResponseMetadataMap;
|
|
239
|
+
}
|
|
240
|
+
export declare const GetIntegrationResourceResponse: S.Schema<GetIntegrationResourceResponse>;
|
|
241
|
+
export interface GetIntegrationResourcesRequest {
|
|
242
|
+
integrationConfigurationId: string;
|
|
243
|
+
}
|
|
244
|
+
export declare const GetIntegrationResourcesRequest: S.Schema<GetIntegrationResourcesRequest>;
|
|
245
|
+
/** The current status of the resource */
|
|
246
|
+
export type GetIntegrationResourcesResponseResourcesItemStatus = "error" | "onboarding" | "pending" | "ready" | "resumed" | "suspended" | "uninstalled";
|
|
247
|
+
export declare const GetIntegrationResourcesResponseResourcesItemStatus: any;
|
|
248
|
+
export interface GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation {
|
|
249
|
+
edgeConfigSyncingEnabled?: boolean;
|
|
250
|
+
edgeConfigId?: string;
|
|
251
|
+
globalConfigId?: string;
|
|
252
|
+
globalConfigSyncingEnabled?: boolean;
|
|
253
|
+
edgeConfigTokenId?: string;
|
|
254
|
+
}
|
|
255
|
+
export declare const GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation: S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation>;
|
|
256
|
+
/** Any settings provided for the resource to support its product's protocols */
|
|
257
|
+
export interface GetIntegrationResourcesResponseResourcesItemProtocolSettings {
|
|
258
|
+
experimentation?: GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation;
|
|
259
|
+
}
|
|
260
|
+
export declare const GetIntegrationResourcesResponseResourcesItemProtocolSettings: S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettings>;
|
|
261
|
+
export type GetIntegrationResourcesResponseResourcesItemNotificationLevel = "error" | "info" | "warn";
|
|
262
|
+
export declare const GetIntegrationResourcesResponseResourcesItemNotificationLevel: any;
|
|
263
|
+
/** The notification, if set, displayed to the user when viewing the resource in Vercel */
|
|
264
|
+
export interface GetIntegrationResourcesResponseResourcesItemNotification {
|
|
265
|
+
level: GetIntegrationResourcesResponseResourcesItemNotificationLevel;
|
|
266
|
+
title: string;
|
|
267
|
+
message?: string;
|
|
268
|
+
href?: string;
|
|
269
|
+
}
|
|
270
|
+
export declare const GetIntegrationResourcesResponseResourcesItemNotification: S.Schema<GetIntegrationResourcesResponseResourcesItemNotification>;
|
|
271
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
272
|
+
export type GetIntegrationResourcesResponseResourcesItemMetadataValueCase2List = Array<string>;
|
|
273
|
+
export declare const GetIntegrationResourcesResponseResourcesItemMetadataValueCase2List: S.Schema<GetIntegrationResourcesResponseResourcesItemMetadataValueCase2List>;
|
|
274
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
275
|
+
export type GetIntegrationResourcesResponseResourcesItemMetadataValueCase3List = Array<number>;
|
|
276
|
+
export declare const GetIntegrationResourcesResponseResourcesItemMetadataValueCase3List: S.Schema<GetIntegrationResourcesResponseResourcesItemMetadataValueCase3List>;
|
|
277
|
+
export type GetIntegrationResourcesResponseResourcesItemMetadataValue = string | number | GetIntegrationResourcesResponseResourcesItemMetadataValueCase2List | GetIntegrationResourcesResponseResourcesItemMetadataValueCase3List | boolean;
|
|
278
|
+
export declare const GetIntegrationResourcesResponseResourcesItemMetadataValue: S.Schema<GetIntegrationResourcesResponseResourcesItemMetadataValue>;
|
|
279
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
280
|
+
export type GetIntegrationResourcesResponseResourcesItemMetadataMap = {
|
|
281
|
+
[key: string]: GetIntegrationResourcesResponseResourcesItemMetadataValue | undefined;
|
|
282
|
+
};
|
|
283
|
+
export declare const GetIntegrationResourcesResponseResourcesItemMetadataMap: S.Schema<GetIntegrationResourcesResponseResourcesItemMetadataMap>;
|
|
284
|
+
export interface GetIntegrationResourcesResponseResourcesItem {
|
|
285
|
+
/** The ID provided by the partner for the given resource */
|
|
286
|
+
partnerId: string;
|
|
287
|
+
/** The ID assigned by Vercel for the given resource */
|
|
288
|
+
internalId: string;
|
|
289
|
+
/** The name of the resource as it is recorded in Vercel */
|
|
290
|
+
name: string;
|
|
291
|
+
/** The current status of the resource */
|
|
292
|
+
status?: GetIntegrationResourcesResponseResourcesItemStatus;
|
|
293
|
+
/** The ID of the product the resource is derived from */
|
|
294
|
+
productId: string;
|
|
295
|
+
/** Any settings provided for the resource to support its product's protocols */
|
|
296
|
+
protocolSettings?: GetIntegrationResourcesResponseResourcesItemProtocolSettings;
|
|
297
|
+
/** The notification, if set, displayed to the user when viewing the resource in Vercel */
|
|
298
|
+
notification?: GetIntegrationResourcesResponseResourcesItemNotification;
|
|
299
|
+
/** The ID of the billing plan the resource is subscribed to, if applicable */
|
|
300
|
+
billingPlanId?: string;
|
|
301
|
+
/** The configured metadata for the resource as defined by its product's Metadata Schema */
|
|
302
|
+
metadata?: GetIntegrationResourcesResponseResourcesItemMetadataMap;
|
|
303
|
+
}
|
|
304
|
+
export declare const GetIntegrationResourcesResponseResourcesItem: S.Schema<GetIntegrationResourcesResponseResourcesItem>;
|
|
305
|
+
export type GetIntegrationResourcesResponseResourcesList = Array<GetIntegrationResourcesResponseResourcesItem>;
|
|
306
|
+
export declare const GetIntegrationResourcesResponseResourcesList: S.Schema<GetIntegrationResourcesResponseResourcesList>;
|
|
307
|
+
export interface GetIntegrationResourcesResponse {
|
|
308
|
+
resources: GetIntegrationResourcesResponseResourcesList;
|
|
309
|
+
}
|
|
310
|
+
export declare const GetIntegrationResourcesResponse: S.Schema<GetIntegrationResourcesResponse>;
|
|
311
|
+
export interface GetInvoiceRequest {
|
|
312
|
+
integrationConfigurationId: string;
|
|
313
|
+
invoiceId: string;
|
|
314
|
+
}
|
|
315
|
+
export declare const GetInvoiceRequest: S.Schema<GetInvoiceRequest>;
|
|
316
|
+
/** Invoice state. */
|
|
317
|
+
export type GetInvoiceResponseState = "draft" | "invoiced" | "notpaid" | "overdue" | "paid" | "pending" | "refund_requested" | "refunded" | "scheduled";
|
|
318
|
+
export declare const GetInvoiceResponseState: any;
|
|
319
|
+
/** Subscription period for this billing cycle. ISO 8601 timestamps. */
|
|
320
|
+
export interface GetInvoiceResponsePeriod {
|
|
321
|
+
start: string;
|
|
322
|
+
end: string;
|
|
323
|
+
}
|
|
324
|
+
export declare const GetInvoiceResponsePeriod: S.Schema<GetInvoiceResponsePeriod>;
|
|
325
|
+
/** Invoice items. */
|
|
326
|
+
export interface GetInvoiceResponseItemsItem {
|
|
327
|
+
/** Partner's billing plan ID. */
|
|
328
|
+
billingPlanId: string;
|
|
329
|
+
/** Partner's resource ID. If not specified, indicates installation-wide item. */
|
|
330
|
+
resourceId?: string;
|
|
331
|
+
/** Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. */
|
|
332
|
+
start?: string;
|
|
333
|
+
/** Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. */
|
|
334
|
+
end?: string;
|
|
335
|
+
/** Invoice item name. */
|
|
336
|
+
name: string;
|
|
337
|
+
/** Additional item details. */
|
|
338
|
+
details?: string;
|
|
339
|
+
/** Item price. A dollar-based decimal string. */
|
|
340
|
+
price: string;
|
|
341
|
+
/** Item quantity. */
|
|
342
|
+
quantity: number;
|
|
343
|
+
/** Units for item's quantity. */
|
|
344
|
+
units: string;
|
|
345
|
+
/** Item total. A dollar-based decimal string. */
|
|
346
|
+
total: string;
|
|
347
|
+
}
|
|
348
|
+
export declare const GetInvoiceResponseItemsItem: S.Schema<GetInvoiceResponseItemsItem>;
|
|
349
|
+
/** Invoice items. */
|
|
350
|
+
export type GetInvoiceResponseItemsList = Array<GetInvoiceResponseItemsItem>;
|
|
351
|
+
export declare const GetInvoiceResponseItemsList: S.Schema<GetInvoiceResponseItemsList>;
|
|
352
|
+
/** Invoice discounts. */
|
|
353
|
+
export interface GetInvoiceResponseDiscountsItem {
|
|
354
|
+
/** Partner's billing plan ID. */
|
|
355
|
+
billingPlanId: string;
|
|
356
|
+
/** Partner's resource ID. If not specified, indicates installation-wide discount. */
|
|
357
|
+
resourceId?: string;
|
|
358
|
+
/** Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. */
|
|
359
|
+
start?: string;
|
|
360
|
+
/** Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. */
|
|
361
|
+
end?: string;
|
|
362
|
+
/** Discount name. */
|
|
363
|
+
name: string;
|
|
364
|
+
/** Additional discount details. */
|
|
365
|
+
details?: string;
|
|
366
|
+
/** Discount amount. A dollar-based decimal string. */
|
|
367
|
+
amount: string;
|
|
368
|
+
}
|
|
369
|
+
export declare const GetInvoiceResponseDiscountsItem: S.Schema<GetInvoiceResponseDiscountsItem>;
|
|
370
|
+
/** Invoice discounts. */
|
|
371
|
+
export type GetInvoiceResponseDiscountsList = Array<GetInvoiceResponseDiscountsItem>;
|
|
372
|
+
export declare const GetInvoiceResponseDiscountsList: S.Schema<GetInvoiceResponseDiscountsList>;
|
|
373
|
+
export interface GetInvoiceResponse {
|
|
374
|
+
/** Whether the invoice is in the testmode (no real transaction created). */
|
|
375
|
+
test?: boolean;
|
|
376
|
+
/** Vercel Marketplace Invoice ID. */
|
|
377
|
+
invoiceId: string;
|
|
378
|
+
/** Partner-supplied Invoice ID, if applicable. */
|
|
379
|
+
externalId?: string;
|
|
380
|
+
/** Invoice state. */
|
|
381
|
+
state: GetInvoiceResponseState;
|
|
382
|
+
/** User-readable invoice number. */
|
|
383
|
+
invoiceNumber?: string;
|
|
384
|
+
/** Invoice date. ISO 8601 timestamp. */
|
|
385
|
+
invoiceDate: string;
|
|
386
|
+
/** Subscription period for this billing cycle. ISO 8601 timestamps. */
|
|
387
|
+
period: GetInvoiceResponsePeriod;
|
|
388
|
+
/** Moment the invoice was paid. ISO 8601 timestamp. */
|
|
389
|
+
paidAt?: string;
|
|
390
|
+
/** Most recent moment the invoice was refunded. ISO 8601 timestamp. */
|
|
391
|
+
refundedAt?: string;
|
|
392
|
+
/** Additional memo for the invoice. */
|
|
393
|
+
memo?: string;
|
|
394
|
+
/** Invoice items. */
|
|
395
|
+
items: GetInvoiceResponseItemsList;
|
|
396
|
+
/** Invoice discounts. */
|
|
397
|
+
discounts?: GetInvoiceResponseDiscountsList;
|
|
398
|
+
/** Invoice total amount. A dollar-based decimal string. */
|
|
399
|
+
total: string;
|
|
400
|
+
/** The reason for refund. Only applicable for states "refunded" or "refund_request". */
|
|
401
|
+
refundReason?: string;
|
|
402
|
+
/** Refund amount. Only applicable for states "refunded" or "refund_request". A dollar-based decimal string. */
|
|
403
|
+
refundTotal?: string;
|
|
404
|
+
/** System creation date. ISO 8601 timestamp. */
|
|
405
|
+
created: string;
|
|
406
|
+
/** System update date. ISO 8601 timestamp. */
|
|
407
|
+
updated: string;
|
|
408
|
+
}
|
|
409
|
+
export declare const GetInvoiceResponse: S.Schema<GetInvoiceResponse>;
|
|
410
|
+
export interface GetMemberRequest {
|
|
411
|
+
integrationConfigurationId: string;
|
|
412
|
+
memberId: string;
|
|
413
|
+
}
|
|
414
|
+
export declare const GetMemberRequest: S.Schema<GetMemberRequest>;
|
|
415
|
+
/** "The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles." */
|
|
416
|
+
export type GetMemberResponseRole = "ADMIN" | "USER";
|
|
417
|
+
export declare const GetMemberResponseRole: any;
|
|
418
|
+
export interface GetMemberResponse {
|
|
419
|
+
id: string;
|
|
420
|
+
/** "The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles." */
|
|
421
|
+
role: GetMemberResponseRole;
|
|
422
|
+
globalUserId?: string;
|
|
423
|
+
userEmail?: string;
|
|
424
|
+
}
|
|
425
|
+
export declare const GetMemberResponse: S.Schema<GetMemberResponse>;
|
|
426
|
+
export interface HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest {
|
|
427
|
+
integrationConfigurationId: string;
|
|
428
|
+
resourceId: string;
|
|
429
|
+
}
|
|
430
|
+
export declare const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: S.Schema<HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
431
|
+
export interface HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse {
|
|
432
|
+
}
|
|
433
|
+
export declare const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse: S.Schema<HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
434
|
+
export type ImportResourceRequestOwnership = "owned" | "linked" | "sandbox";
|
|
435
|
+
export declare const ImportResourceRequestOwnership: any;
|
|
436
|
+
export type ImportResourceRequestStatus = "ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error";
|
|
437
|
+
export declare const ImportResourceRequestStatus: any;
|
|
438
|
+
export type ImportResourceRequestMetadataMap = {
|
|
439
|
+
[key: string]: unknown | undefined;
|
|
440
|
+
};
|
|
441
|
+
export declare const ImportResourceRequestMetadataMap: S.Schema<ImportResourceRequestMetadataMap>;
|
|
442
|
+
export type ImportResourceRequestBillingPlanType = "prepayment" | "subscription";
|
|
443
|
+
export declare const ImportResourceRequestBillingPlanType: any;
|
|
444
|
+
export interface ImportResourceRequestBillingPlanDetailsItem {
|
|
445
|
+
label: string;
|
|
446
|
+
value?: string;
|
|
447
|
+
}
|
|
448
|
+
export declare const ImportResourceRequestBillingPlanDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
449
|
+
export type ImportResourceRequestBillingPlanDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
450
|
+
export declare const ImportResourceRequestBillingPlanDetailsList: S.Schema<ImportResourceRequestBillingPlanDetailsList>;
|
|
451
|
+
export type ImportResourceRequestBillingPlanHighlightedDetailsItem = ImportResourceRequestBillingPlanDetailsItem;
|
|
452
|
+
export declare const ImportResourceRequestBillingPlanHighlightedDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
453
|
+
export type ImportResourceRequestBillingPlanHighlightedDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
454
|
+
export declare const ImportResourceRequestBillingPlanHighlightedDetailsList: S.Schema<ImportResourceRequestBillingPlanHighlightedDetailsList>;
|
|
455
|
+
export interface ImportResourceRequestBillingPlan {
|
|
456
|
+
id: string;
|
|
457
|
+
type: ImportResourceRequestBillingPlanType | (string & {});
|
|
458
|
+
name: string;
|
|
459
|
+
description?: string;
|
|
460
|
+
paymentMethodRequired?: boolean;
|
|
461
|
+
cost?: string;
|
|
462
|
+
details?: ImportResourceRequestBillingPlanDetailsList;
|
|
463
|
+
highlightedDetails?: ImportResourceRequestBillingPlanHighlightedDetailsList;
|
|
464
|
+
effectiveDate?: string;
|
|
465
|
+
}
|
|
466
|
+
export declare const ImportResourceRequestBillingPlan: S.Schema<ImportResourceRequestBillingPlan>;
|
|
467
|
+
export type ImportResourceRequestNotificationLevel = "info" | "warn" | "error";
|
|
468
|
+
export declare const ImportResourceRequestNotificationLevel: any;
|
|
469
|
+
export interface ImportResourceRequestNotification {
|
|
470
|
+
level: ImportResourceRequestNotificationLevel | (string & {});
|
|
471
|
+
title: string;
|
|
472
|
+
message?: string;
|
|
473
|
+
href?: string;
|
|
474
|
+
}
|
|
475
|
+
export declare const ImportResourceRequestNotification: S.Schema<ImportResourceRequestNotification>;
|
|
476
|
+
export type ImportResourceRequestExtrasMap = {
|
|
477
|
+
[key: string]: unknown | undefined;
|
|
478
|
+
};
|
|
479
|
+
export declare const ImportResourceRequestExtrasMap: S.Schema<ImportResourceRequestExtrasMap>;
|
|
480
|
+
/** A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. */
|
|
481
|
+
export interface ImportResourceRequestSecretsItemEnvironmentOverrides {
|
|
482
|
+
/** Value used for development environment. */
|
|
483
|
+
development?: string;
|
|
484
|
+
/** Value used for preview environment. */
|
|
485
|
+
preview?: string;
|
|
486
|
+
/** Value used for production environment. */
|
|
487
|
+
production?: string;
|
|
488
|
+
}
|
|
489
|
+
export declare const ImportResourceRequestSecretsItemEnvironmentOverrides: S.Schema<ImportResourceRequestSecretsItemEnvironmentOverrides>;
|
|
490
|
+
export interface ImportResourceRequestSecretsItem {
|
|
491
|
+
name: string;
|
|
492
|
+
value: string;
|
|
493
|
+
prefix?: string;
|
|
494
|
+
/** A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. */
|
|
495
|
+
environmentOverrides?: ImportResourceRequestSecretsItemEnvironmentOverrides;
|
|
496
|
+
}
|
|
497
|
+
export declare const ImportResourceRequestSecretsItem: S.Schema<ImportResourceRequestSecretsItem>;
|
|
498
|
+
export type ImportResourceRequestSecretsList = Array<ImportResourceRequestSecretsItem>;
|
|
499
|
+
export declare const ImportResourceRequestSecretsList: S.Schema<ImportResourceRequestSecretsList>;
|
|
500
|
+
export interface ImportResourceRequest {
|
|
501
|
+
integrationConfigurationId: string;
|
|
502
|
+
resourceId: string;
|
|
503
|
+
ownership?: ImportResourceRequestOwnership | (string & {});
|
|
504
|
+
productId: string;
|
|
505
|
+
name: string;
|
|
506
|
+
status: ImportResourceRequestStatus | (string & {});
|
|
507
|
+
metadata?: ImportResourceRequestMetadataMap;
|
|
508
|
+
billingPlan?: ImportResourceRequestBillingPlan;
|
|
509
|
+
notification?: ImportResourceRequestNotification;
|
|
510
|
+
extras?: ImportResourceRequestExtrasMap;
|
|
511
|
+
secrets?: ImportResourceRequestSecretsList;
|
|
512
|
+
}
|
|
513
|
+
export declare const ImportResourceRequest: S.Schema<ImportResourceRequest>;
|
|
514
|
+
export interface ImportResourceResponse {
|
|
515
|
+
name: string;
|
|
516
|
+
}
|
|
517
|
+
export declare const ImportResourceResponse: S.Schema<ImportResourceResponse>;
|
|
518
|
+
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestDataMap = {
|
|
519
|
+
[key: string]: unknown | undefined;
|
|
520
|
+
};
|
|
521
|
+
export declare const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestDataMap: S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestDataMap>;
|
|
522
|
+
export interface ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest {
|
|
523
|
+
integrationConfigurationId: string;
|
|
524
|
+
resourceId: string;
|
|
525
|
+
data: ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestDataMap;
|
|
526
|
+
}
|
|
527
|
+
export declare const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
528
|
+
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap = {
|
|
529
|
+
[key: string]: EdgeConfigItemValue | undefined;
|
|
530
|
+
};
|
|
531
|
+
export declare const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap: S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap>;
|
|
532
|
+
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose = "experimentation" | "flags";
|
|
533
|
+
export declare const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose: any;
|
|
534
|
+
export interface ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse {
|
|
535
|
+
items: ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap;
|
|
536
|
+
updatedAt: number;
|
|
537
|
+
digest: string;
|
|
538
|
+
purpose?: ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose;
|
|
539
|
+
}
|
|
540
|
+
export declare const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse: S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
541
|
+
/** Period for the billing cycle. The period end date cannot be older than 24 hours earlier than our current server's time. */
|
|
542
|
+
export type SubmitBillingDataRequestPeriod = GetInvoiceResponsePeriod;
|
|
543
|
+
export declare const SubmitBillingDataRequestPeriod: S.Schema<GetInvoiceResponsePeriod>;
|
|
544
|
+
export interface SubmitBillingDataRequestBillingCase0Item {
|
|
545
|
+
/** Partner's billing plan ID. */
|
|
546
|
+
billingPlanId: string;
|
|
547
|
+
/** Partner's resource ID. */
|
|
548
|
+
resourceId?: string;
|
|
549
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
550
|
+
start?: string;
|
|
551
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
552
|
+
end?: string;
|
|
553
|
+
/** Line item name. */
|
|
554
|
+
name: string;
|
|
555
|
+
/** Line item details. */
|
|
556
|
+
details?: string;
|
|
557
|
+
/** Price per unit. */
|
|
558
|
+
price: string;
|
|
559
|
+
/** Quantity of units. */
|
|
560
|
+
quantity: number;
|
|
561
|
+
/** Units of the quantity. */
|
|
562
|
+
units: string;
|
|
563
|
+
/** Total amount. */
|
|
564
|
+
total: string;
|
|
565
|
+
}
|
|
566
|
+
export declare const SubmitBillingDataRequestBillingCase0Item: S.Schema<SubmitBillingDataRequestBillingCase0Item>;
|
|
567
|
+
export type SubmitBillingDataRequestBillingCase0List = Array<SubmitBillingDataRequestBillingCase0Item>;
|
|
568
|
+
export declare const SubmitBillingDataRequestBillingCase0List: S.Schema<SubmitBillingDataRequestBillingCase0List>;
|
|
569
|
+
export type SubmitBillingDataRequestBillingCase1ItemsItem = SubmitBillingDataRequestBillingCase0Item;
|
|
570
|
+
export declare const SubmitBillingDataRequestBillingCase1ItemsItem: S.Schema<SubmitBillingDataRequestBillingCase0Item>;
|
|
571
|
+
export type SubmitBillingDataRequestBillingCase1ItemsList = Array<SubmitBillingDataRequestBillingCase0Item>;
|
|
572
|
+
export declare const SubmitBillingDataRequestBillingCase1ItemsList: S.Schema<SubmitBillingDataRequestBillingCase1ItemsList>;
|
|
573
|
+
export interface SubmitBillingDataRequestBillingCase1DiscountsItem {
|
|
574
|
+
/** Partner's billing plan ID. */
|
|
575
|
+
billingPlanId: string;
|
|
576
|
+
/** Partner's resource ID. */
|
|
577
|
+
resourceId?: string;
|
|
578
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
579
|
+
start?: string;
|
|
580
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
581
|
+
end?: string;
|
|
582
|
+
/** Discount name. */
|
|
583
|
+
name: string;
|
|
584
|
+
/** Discount details. */
|
|
585
|
+
details?: string;
|
|
586
|
+
/** Discount amount. */
|
|
587
|
+
amount: string;
|
|
588
|
+
}
|
|
589
|
+
export declare const SubmitBillingDataRequestBillingCase1DiscountsItem: S.Schema<SubmitBillingDataRequestBillingCase1DiscountsItem>;
|
|
590
|
+
export type SubmitBillingDataRequestBillingCase1DiscountsList = Array<SubmitBillingDataRequestBillingCase1DiscountsItem>;
|
|
591
|
+
export declare const SubmitBillingDataRequestBillingCase1DiscountsList: S.Schema<SubmitBillingDataRequestBillingCase1DiscountsList>;
|
|
592
|
+
export interface SubmitBillingDataRequestBillingCase1 {
|
|
593
|
+
items: SubmitBillingDataRequestBillingCase1ItemsList;
|
|
594
|
+
discounts?: SubmitBillingDataRequestBillingCase1DiscountsList;
|
|
595
|
+
}
|
|
596
|
+
export declare const SubmitBillingDataRequestBillingCase1: S.Schema<SubmitBillingDataRequestBillingCase1>;
|
|
597
|
+
/** Billing data (interim invoicing data). */
|
|
598
|
+
export type SubmitBillingDataRequestBilling = SubmitBillingDataRequestBillingCase0List | SubmitBillingDataRequestBillingCase1;
|
|
599
|
+
export declare const SubmitBillingDataRequestBilling: S.Schema<SubmitBillingDataRequestBilling>;
|
|
600
|
+
/** Type of the metric. - total: measured total value, such as Database size - interval: usage during the period, such as i/o or number of queries. - rate: rate of usage, such as queries per second. */
|
|
601
|
+
export type SubmitBillingDataRequestUsageItemType = "total" | "interval" | "rate";
|
|
602
|
+
export declare const SubmitBillingDataRequestUsageItemType: any;
|
|
603
|
+
export interface SubmitBillingDataRequestUsageItem {
|
|
604
|
+
/** Partner's resource ID. */
|
|
605
|
+
resourceId?: string;
|
|
606
|
+
/** Metric name. */
|
|
607
|
+
name: string;
|
|
608
|
+
/** Type of the metric. - total: measured total value, such as Database size - interval: usage during the period, such as i/o or number of queries. - rate: rate of usage, such as queries per second. */
|
|
609
|
+
type: SubmitBillingDataRequestUsageItemType | (string & {});
|
|
610
|
+
/** Metric units. Example: "GB" */
|
|
611
|
+
units: string;
|
|
612
|
+
/** Metric value for the day. Could be a final or an interim value for the day. */
|
|
613
|
+
dayValue: number;
|
|
614
|
+
/** Metric value for the billing period. Could be a final or an interim value for the period. */
|
|
615
|
+
periodValue: number;
|
|
616
|
+
/** The limit value of the metric for a billing period, if a limit is defined by the plan. */
|
|
617
|
+
planValue?: number;
|
|
618
|
+
}
|
|
619
|
+
export declare const SubmitBillingDataRequestUsageItem: S.Schema<SubmitBillingDataRequestUsageItem>;
|
|
620
|
+
export type SubmitBillingDataRequestUsageList = Array<SubmitBillingDataRequestUsageItem>;
|
|
621
|
+
export declare const SubmitBillingDataRequestUsageList: S.Schema<SubmitBillingDataRequestUsageList>;
|
|
622
|
+
export interface SubmitBillingDataRequest {
|
|
623
|
+
integrationConfigurationId: string;
|
|
624
|
+
/** Server time of your integration, used to determine the most recent data for race conditions & updates. Only the latest usage data for a given day, week, and month will be kept. */
|
|
625
|
+
timestamp: string;
|
|
626
|
+
/** End of Day, the UTC datetime for when the end of the billing/usage day is in UTC time. This tells us which day the usage data is for, and also allows for your "end of day" to be different from UTC 00:00:00. eod must be within the period dates, and cannot be older than 24h earlier from our server's current time. */
|
|
627
|
+
eod: string;
|
|
628
|
+
/** Period for the billing cycle. The period end date cannot be older than 24 hours earlier than our current server's time. */
|
|
629
|
+
period: GetInvoiceResponsePeriod;
|
|
630
|
+
/** Billing data (interim invoicing data). */
|
|
631
|
+
billing: SubmitBillingDataRequestBilling;
|
|
632
|
+
usage: SubmitBillingDataRequestUsageList;
|
|
633
|
+
}
|
|
634
|
+
export declare const SubmitBillingDataRequest: S.Schema<SubmitBillingDataRequest>;
|
|
635
|
+
export interface SubmitBillingDataResponse {
|
|
636
|
+
}
|
|
637
|
+
export declare const SubmitBillingDataResponse: S.Schema<SubmitBillingDataResponse>;
|
|
638
|
+
/** Subscription period for this billing cycle. */
|
|
639
|
+
export type SubmitInvoiceRequestPeriod = GetInvoiceResponsePeriod;
|
|
640
|
+
export declare const SubmitInvoiceRequestPeriod: S.Schema<GetInvoiceResponsePeriod>;
|
|
641
|
+
export interface SubmitInvoiceRequestItemsItem {
|
|
642
|
+
/** Partner's resource ID. */
|
|
643
|
+
resourceId?: string;
|
|
644
|
+
/** Partner's billing plan ID. */
|
|
645
|
+
billingPlanId: string;
|
|
646
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
647
|
+
start?: string;
|
|
648
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
649
|
+
end?: string;
|
|
650
|
+
name: string;
|
|
651
|
+
details?: string;
|
|
652
|
+
/** Currency amount as a decimal string. */
|
|
653
|
+
price: string;
|
|
654
|
+
quantity: number;
|
|
655
|
+
units: string;
|
|
656
|
+
/** Currency amount as a decimal string. */
|
|
657
|
+
total: string;
|
|
658
|
+
}
|
|
659
|
+
export declare const SubmitInvoiceRequestItemsItem: S.Schema<SubmitInvoiceRequestItemsItem>;
|
|
660
|
+
export type SubmitInvoiceRequestItemsList = Array<SubmitInvoiceRequestItemsItem>;
|
|
661
|
+
export declare const SubmitInvoiceRequestItemsList: S.Schema<SubmitInvoiceRequestItemsList>;
|
|
662
|
+
export interface SubmitInvoiceRequestDiscountsItem {
|
|
663
|
+
/** Partner's resource ID. */
|
|
664
|
+
resourceId?: string;
|
|
665
|
+
/** Partner's billing plan ID. */
|
|
666
|
+
billingPlanId: string;
|
|
667
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
668
|
+
start?: string;
|
|
669
|
+
/** Start and end are only needed if different from the period's start/end. */
|
|
670
|
+
end?: string;
|
|
671
|
+
name: string;
|
|
672
|
+
details?: string;
|
|
673
|
+
/** Currency amount as a decimal string. */
|
|
674
|
+
amount: string;
|
|
675
|
+
}
|
|
676
|
+
export declare const SubmitInvoiceRequestDiscountsItem: S.Schema<SubmitInvoiceRequestDiscountsItem>;
|
|
677
|
+
export type SubmitInvoiceRequestDiscountsList = Array<SubmitInvoiceRequestDiscountsItem>;
|
|
678
|
+
export declare const SubmitInvoiceRequestDiscountsList: S.Schema<SubmitInvoiceRequestDiscountsList>;
|
|
679
|
+
export type SubmitInvoiceRequestTestResult = "paid" | "notpaid" | "overdue";
|
|
680
|
+
export declare const SubmitInvoiceRequestTestResult: any;
|
|
681
|
+
/** Test mode */
|
|
682
|
+
export interface SubmitInvoiceRequestTest {
|
|
683
|
+
validate?: boolean;
|
|
684
|
+
result?: SubmitInvoiceRequestTestResult | (string & {});
|
|
685
|
+
}
|
|
686
|
+
export declare const SubmitInvoiceRequestTest: S.Schema<SubmitInvoiceRequestTest>;
|
|
687
|
+
export interface SubmitInvoiceRequest {
|
|
688
|
+
integrationConfigurationId: string;
|
|
689
|
+
/** Partner-provided invoice identifier. If provided, it must be unique for this installation. */
|
|
690
|
+
externalId?: string;
|
|
691
|
+
/** Invoice date. Must be within the period's start and end. */
|
|
692
|
+
invoiceDate: string;
|
|
693
|
+
/** Additional memo for the invoice. */
|
|
694
|
+
memo?: string;
|
|
695
|
+
/** Subscription period for this billing cycle. */
|
|
696
|
+
period: GetInvoiceResponsePeriod;
|
|
697
|
+
items: SubmitInvoiceRequestItemsList;
|
|
698
|
+
discounts?: SubmitInvoiceRequestDiscountsList;
|
|
699
|
+
/** Set this to `true` if this is the final invoice for the installation. Can only be set when the installation is pending deletion. */
|
|
700
|
+
final?: boolean;
|
|
701
|
+
/** Test mode */
|
|
702
|
+
test?: SubmitInvoiceRequestTest;
|
|
703
|
+
}
|
|
704
|
+
export declare const SubmitInvoiceRequest: S.Schema<SubmitInvoiceRequest>;
|
|
705
|
+
export type SubmitInvoiceResponseValidationErrorsList = Array<string>;
|
|
706
|
+
export declare const SubmitInvoiceResponseValidationErrorsList: S.Schema<SubmitInvoiceResponseValidationErrorsList>;
|
|
707
|
+
export interface SubmitInvoiceResponse {
|
|
708
|
+
invoiceId?: string;
|
|
709
|
+
test?: boolean;
|
|
710
|
+
validationErrors?: SubmitInvoiceResponseValidationErrorsList;
|
|
711
|
+
}
|
|
712
|
+
export declare const SubmitInvoiceResponse: S.Schema<SubmitInvoiceResponse>;
|
|
713
|
+
/** A credit balance for a particular token type */
|
|
714
|
+
export interface SubmitPrepaymentBalancesRequestBalancesItem {
|
|
715
|
+
/** Partner's resource ID, exclude if credits are tied to the installation and not an individual resource. */
|
|
716
|
+
resourceId?: string;
|
|
717
|
+
/** A human-readable description of the credits the user currently has, e.g. "2,000 Tokens" */
|
|
718
|
+
credit?: string;
|
|
719
|
+
/** The name of the credits, for display purposes, e.g. "Tokens" */
|
|
720
|
+
nameLabel?: string;
|
|
721
|
+
/** The dollar value of the credit balance, in USD and provided in cents, which is used to trigger automatic purchase thresholds. */
|
|
722
|
+
currencyValueInCents: number;
|
|
723
|
+
}
|
|
724
|
+
export declare const SubmitPrepaymentBalancesRequestBalancesItem: S.Schema<SubmitPrepaymentBalancesRequestBalancesItem>;
|
|
725
|
+
export type SubmitPrepaymentBalancesRequestBalancesList = Array<SubmitPrepaymentBalancesRequestBalancesItem>;
|
|
726
|
+
export declare const SubmitPrepaymentBalancesRequestBalancesList: S.Schema<SubmitPrepaymentBalancesRequestBalancesList>;
|
|
727
|
+
export interface SubmitPrepaymentBalancesRequest {
|
|
728
|
+
integrationConfigurationId: string;
|
|
729
|
+
/** Server time of your integration, used to determine the most recent data for race conditions & updates. Only the latest usage data for a given day, week, and month will be kept. */
|
|
730
|
+
timestamp: string;
|
|
731
|
+
balances: SubmitPrepaymentBalancesRequestBalancesList;
|
|
732
|
+
}
|
|
733
|
+
export declare const SubmitPrepaymentBalancesRequest: S.Schema<SubmitPrepaymentBalancesRequest>;
|
|
734
|
+
export interface SubmitPrepaymentBalancesResponse {
|
|
735
|
+
}
|
|
736
|
+
export declare const SubmitPrepaymentBalancesResponse: S.Schema<SubmitPrepaymentBalancesResponse>;
|
|
737
|
+
export type UpdateInstallationRequestStatus = "ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error";
|
|
738
|
+
export declare const UpdateInstallationRequestStatus: any;
|
|
739
|
+
export type UpdateInstallationRequestBillingPlanType = "prepayment" | "subscription";
|
|
740
|
+
export declare const UpdateInstallationRequestBillingPlanType: any;
|
|
741
|
+
export type UpdateInstallationRequestBillingPlanDetailsItem = ImportResourceRequestBillingPlanDetailsItem;
|
|
742
|
+
export declare const UpdateInstallationRequestBillingPlanDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
743
|
+
export type UpdateInstallationRequestBillingPlanDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
744
|
+
export declare const UpdateInstallationRequestBillingPlanDetailsList: S.Schema<UpdateInstallationRequestBillingPlanDetailsList>;
|
|
745
|
+
export type UpdateInstallationRequestBillingPlanHighlightedDetailsItem = ImportResourceRequestBillingPlanDetailsItem;
|
|
746
|
+
export declare const UpdateInstallationRequestBillingPlanHighlightedDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
747
|
+
export type UpdateInstallationRequestBillingPlanHighlightedDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
748
|
+
export declare const UpdateInstallationRequestBillingPlanHighlightedDetailsList: S.Schema<UpdateInstallationRequestBillingPlanHighlightedDetailsList>;
|
|
749
|
+
export interface UpdateInstallationRequestBillingPlan {
|
|
750
|
+
id: string;
|
|
751
|
+
type: UpdateInstallationRequestBillingPlanType | (string & {});
|
|
752
|
+
name: string;
|
|
753
|
+
description?: string;
|
|
754
|
+
paymentMethodRequired?: boolean;
|
|
755
|
+
cost?: string;
|
|
756
|
+
details?: UpdateInstallationRequestBillingPlanDetailsList;
|
|
757
|
+
highlightedDetails?: UpdateInstallationRequestBillingPlanHighlightedDetailsList;
|
|
758
|
+
effectiveDate?: string;
|
|
759
|
+
}
|
|
760
|
+
export declare const UpdateInstallationRequestBillingPlan: S.Schema<UpdateInstallationRequestBillingPlan>;
|
|
761
|
+
export type UpdateInstallationRequestNotificationCase0Level = "info" | "warn" | "error";
|
|
762
|
+
export declare const UpdateInstallationRequestNotificationCase0Level: any;
|
|
763
|
+
export interface UpdateInstallationRequestNotificationCase0 {
|
|
764
|
+
level: UpdateInstallationRequestNotificationCase0Level | (string & {});
|
|
765
|
+
title: string;
|
|
766
|
+
message?: string;
|
|
767
|
+
href?: string;
|
|
768
|
+
}
|
|
769
|
+
export declare const UpdateInstallationRequestNotificationCase0: S.Schema<UpdateInstallationRequestNotificationCase0>;
|
|
770
|
+
/** A notification to display to your customer. Send `null` to clear the current notification. */
|
|
771
|
+
export type UpdateInstallationRequestNotification = UpdateInstallationRequestNotificationCase0 | string;
|
|
772
|
+
export declare const UpdateInstallationRequestNotification: S.Schema<UpdateInstallationRequestNotification>;
|
|
773
|
+
export interface UpdateInstallationRequest {
|
|
774
|
+
integrationConfigurationId: string;
|
|
775
|
+
status?: UpdateInstallationRequestStatus | (string & {});
|
|
776
|
+
externalId?: string;
|
|
777
|
+
billingPlan?: UpdateInstallationRequestBillingPlan;
|
|
778
|
+
/** A notification to display to your customer. Send `null` to clear the current notification. */
|
|
779
|
+
notification?: UpdateInstallationRequestNotification;
|
|
780
|
+
}
|
|
781
|
+
export declare const UpdateInstallationRequest: S.Schema<UpdateInstallationRequest>;
|
|
782
|
+
export interface UpdateInstallationResponse {
|
|
783
|
+
}
|
|
784
|
+
export declare const UpdateInstallationResponse: S.Schema<UpdateInstallationResponse>;
|
|
785
|
+
export type UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestCategory = "experiment" | "flag";
|
|
786
|
+
export declare const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestCategory: any;
|
|
787
|
+
export interface UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest {
|
|
788
|
+
integrationConfigurationId: string;
|
|
789
|
+
resourceId: string;
|
|
790
|
+
itemId: string;
|
|
791
|
+
slug: string;
|
|
792
|
+
origin: string;
|
|
793
|
+
name?: string;
|
|
794
|
+
category?: UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestCategory | (string & {});
|
|
795
|
+
description?: string;
|
|
796
|
+
isArchived?: boolean;
|
|
797
|
+
createdAt?: number;
|
|
798
|
+
updatedAt?: number;
|
|
799
|
+
}
|
|
800
|
+
export declare const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest: S.Schema<UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest>;
|
|
801
|
+
export interface UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse {
|
|
802
|
+
}
|
|
803
|
+
export declare const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse: S.Schema<UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse>;
|
|
804
|
+
export type UpdateInvoiceRequestBodyAction = "refund";
|
|
805
|
+
export declare const UpdateInvoiceRequestBodyAction: any;
|
|
806
|
+
export interface UpdateInvoiceRequestBody {
|
|
807
|
+
action: UpdateInvoiceRequestBodyAction | (string & {});
|
|
808
|
+
/** Refund reason. */
|
|
809
|
+
reason: string;
|
|
810
|
+
/** The total amount to be refunded. Must be less than or equal to the total amount of the invoice. */
|
|
811
|
+
total: string;
|
|
812
|
+
}
|
|
813
|
+
export declare const UpdateInvoiceRequestBody: S.Schema<UpdateInvoiceRequestBody>;
|
|
814
|
+
export interface UpdateInvoiceRequest {
|
|
815
|
+
integrationConfigurationId: string;
|
|
816
|
+
invoiceId: string;
|
|
817
|
+
body: UpdateInvoiceRequestBody;
|
|
818
|
+
}
|
|
819
|
+
export declare const UpdateInvoiceRequest: S.Schema<UpdateInvoiceRequest>;
|
|
820
|
+
export interface UpdateInvoiceResponse {
|
|
821
|
+
}
|
|
822
|
+
export declare const UpdateInvoiceResponse: S.Schema<UpdateInvoiceResponse>;
|
|
823
|
+
export type UpdateResourceRequestOwnership = "owned" | "linked" | "sandbox";
|
|
824
|
+
export declare const UpdateResourceRequestOwnership: any;
|
|
825
|
+
export type UpdateResourceRequestStatus = "ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error";
|
|
826
|
+
export declare const UpdateResourceRequestStatus: any;
|
|
827
|
+
export type UpdateResourceRequestMetadataMap = {
|
|
828
|
+
[key: string]: unknown | undefined;
|
|
829
|
+
};
|
|
830
|
+
export declare const UpdateResourceRequestMetadataMap: S.Schema<UpdateResourceRequestMetadataMap>;
|
|
831
|
+
export type UpdateResourceRequestBillingPlanType = "prepayment" | "subscription";
|
|
832
|
+
export declare const UpdateResourceRequestBillingPlanType: any;
|
|
833
|
+
export type UpdateResourceRequestBillingPlanDetailsItem = ImportResourceRequestBillingPlanDetailsItem;
|
|
834
|
+
export declare const UpdateResourceRequestBillingPlanDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
835
|
+
export type UpdateResourceRequestBillingPlanDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
836
|
+
export declare const UpdateResourceRequestBillingPlanDetailsList: S.Schema<UpdateResourceRequestBillingPlanDetailsList>;
|
|
837
|
+
export type UpdateResourceRequestBillingPlanHighlightedDetailsItem = ImportResourceRequestBillingPlanDetailsItem;
|
|
838
|
+
export declare const UpdateResourceRequestBillingPlanHighlightedDetailsItem: S.Schema<ImportResourceRequestBillingPlanDetailsItem>;
|
|
839
|
+
export type UpdateResourceRequestBillingPlanHighlightedDetailsList = Array<ImportResourceRequestBillingPlanDetailsItem>;
|
|
840
|
+
export declare const UpdateResourceRequestBillingPlanHighlightedDetailsList: S.Schema<UpdateResourceRequestBillingPlanHighlightedDetailsList>;
|
|
841
|
+
export interface UpdateResourceRequestBillingPlan {
|
|
842
|
+
id: string;
|
|
843
|
+
type: UpdateResourceRequestBillingPlanType | (string & {});
|
|
844
|
+
name: string;
|
|
845
|
+
description?: string;
|
|
846
|
+
paymentMethodRequired?: boolean;
|
|
847
|
+
cost?: string;
|
|
848
|
+
details?: UpdateResourceRequestBillingPlanDetailsList;
|
|
849
|
+
highlightedDetails?: UpdateResourceRequestBillingPlanHighlightedDetailsList;
|
|
850
|
+
effectiveDate?: string;
|
|
851
|
+
}
|
|
852
|
+
export declare const UpdateResourceRequestBillingPlan: S.Schema<UpdateResourceRequestBillingPlan>;
|
|
853
|
+
export type UpdateResourceRequestNotificationCase0Level = "info" | "warn" | "error";
|
|
854
|
+
export declare const UpdateResourceRequestNotificationCase0Level: any;
|
|
855
|
+
export interface UpdateResourceRequestNotificationCase0 {
|
|
856
|
+
level: UpdateResourceRequestNotificationCase0Level | (string & {});
|
|
857
|
+
title: string;
|
|
858
|
+
message?: string;
|
|
859
|
+
href?: string;
|
|
860
|
+
}
|
|
861
|
+
export declare const UpdateResourceRequestNotificationCase0: S.Schema<UpdateResourceRequestNotificationCase0>;
|
|
862
|
+
export type UpdateResourceRequestNotification = UpdateResourceRequestNotificationCase0 | string;
|
|
863
|
+
export declare const UpdateResourceRequestNotification: S.Schema<UpdateResourceRequestNotification>;
|
|
864
|
+
export type UpdateResourceRequestExtrasMap = {
|
|
865
|
+
[key: string]: unknown | undefined;
|
|
866
|
+
};
|
|
867
|
+
export declare const UpdateResourceRequestExtrasMap: S.Schema<UpdateResourceRequestExtrasMap>;
|
|
868
|
+
/** A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. */
|
|
869
|
+
export type UpdateResourceRequestSecretsCase0ItemEnvironmentOverrides = ImportResourceRequestSecretsItemEnvironmentOverrides;
|
|
870
|
+
export declare const UpdateResourceRequestSecretsCase0ItemEnvironmentOverrides: S.Schema<ImportResourceRequestSecretsItemEnvironmentOverrides>;
|
|
871
|
+
export type UpdateResourceRequestSecretsCase0Item = ImportResourceRequestSecretsItem;
|
|
872
|
+
export declare const UpdateResourceRequestSecretsCase0Item: S.Schema<ImportResourceRequestSecretsItem>;
|
|
873
|
+
export type UpdateResourceRequestSecretsCase0List = Array<ImportResourceRequestSecretsItem>;
|
|
874
|
+
export declare const UpdateResourceRequestSecretsCase0List: S.Schema<UpdateResourceRequestSecretsCase0List>;
|
|
875
|
+
/** A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. */
|
|
876
|
+
export type UpdateResourceRequestSecretsCase1SecretsItemEnvironmentOverrides = ImportResourceRequestSecretsItemEnvironmentOverrides;
|
|
877
|
+
export declare const UpdateResourceRequestSecretsCase1SecretsItemEnvironmentOverrides: S.Schema<ImportResourceRequestSecretsItemEnvironmentOverrides>;
|
|
878
|
+
export type UpdateResourceRequestSecretsCase1SecretsItem = ImportResourceRequestSecretsItem;
|
|
879
|
+
export declare const UpdateResourceRequestSecretsCase1SecretsItem: S.Schema<ImportResourceRequestSecretsItem>;
|
|
880
|
+
export type UpdateResourceRequestSecretsCase1SecretsList = Array<ImportResourceRequestSecretsItem>;
|
|
881
|
+
export declare const UpdateResourceRequestSecretsCase1SecretsList: S.Schema<UpdateResourceRequestSecretsCase1SecretsList>;
|
|
882
|
+
export interface UpdateResourceRequestSecretsCase1 {
|
|
883
|
+
secrets: UpdateResourceRequestSecretsCase1SecretsList;
|
|
884
|
+
/** If true, will only overwrite the provided secrets instead of replacing all secrets. */
|
|
885
|
+
partial?: boolean;
|
|
886
|
+
}
|
|
887
|
+
export declare const UpdateResourceRequestSecretsCase1: S.Schema<UpdateResourceRequestSecretsCase1>;
|
|
888
|
+
export type UpdateResourceRequestSecrets = UpdateResourceRequestSecretsCase0List | UpdateResourceRequestSecretsCase1;
|
|
889
|
+
export declare const UpdateResourceRequestSecrets: S.Schema<UpdateResourceRequestSecrets>;
|
|
890
|
+
export interface UpdateResourceRequest {
|
|
891
|
+
integrationConfigurationId: string;
|
|
892
|
+
resourceId: string;
|
|
893
|
+
ownership?: UpdateResourceRequestOwnership | (string & {});
|
|
894
|
+
name?: string;
|
|
895
|
+
status?: UpdateResourceRequestStatus | (string & {});
|
|
896
|
+
metadata?: UpdateResourceRequestMetadataMap;
|
|
897
|
+
billingPlan?: UpdateResourceRequestBillingPlan;
|
|
898
|
+
notification?: UpdateResourceRequestNotification;
|
|
899
|
+
extras?: UpdateResourceRequestExtrasMap;
|
|
900
|
+
secrets?: UpdateResourceRequestSecrets;
|
|
901
|
+
}
|
|
902
|
+
export declare const UpdateResourceRequest: S.Schema<UpdateResourceRequest>;
|
|
903
|
+
export interface UpdateResourceResponse {
|
|
904
|
+
name: string;
|
|
905
|
+
}
|
|
906
|
+
export declare const UpdateResourceResponse: S.Schema<UpdateResourceResponse>;
|
|
907
|
+
/** A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. */
|
|
908
|
+
export type UpdateResourceSecretsByIdRequestSecretsItemEnvironmentOverrides = ImportResourceRequestSecretsItemEnvironmentOverrides;
|
|
909
|
+
export declare const UpdateResourceSecretsByIdRequestSecretsItemEnvironmentOverrides: S.Schema<ImportResourceRequestSecretsItemEnvironmentOverrides>;
|
|
910
|
+
export type UpdateResourceSecretsByIdRequestSecretsItem = ImportResourceRequestSecretsItem;
|
|
911
|
+
export declare const UpdateResourceSecretsByIdRequestSecretsItem: S.Schema<ImportResourceRequestSecretsItem>;
|
|
912
|
+
export type UpdateResourceSecretsByIdRequestSecretsList = Array<ImportResourceRequestSecretsItem>;
|
|
913
|
+
export declare const UpdateResourceSecretsByIdRequestSecretsList: S.Schema<UpdateResourceSecretsByIdRequestSecretsList>;
|
|
914
|
+
export interface UpdateResourceSecretsByIdRequest {
|
|
915
|
+
integrationConfigurationId: string;
|
|
916
|
+
resourceId: string;
|
|
917
|
+
secrets: UpdateResourceSecretsByIdRequestSecretsList;
|
|
918
|
+
/** If true, will only overwrite the provided secrets instead of replacing all secrets. */
|
|
919
|
+
partial?: boolean;
|
|
920
|
+
}
|
|
921
|
+
export declare const UpdateResourceSecretsByIdRequest: S.Schema<UpdateResourceSecretsByIdRequest>;
|
|
922
|
+
export interface UpdateResourceSecretsByIdResponse {
|
|
923
|
+
}
|
|
924
|
+
export declare const UpdateResourceSecretsByIdResponse: S.Schema<UpdateResourceSecretsByIdResponse>;
|
|
925
|
+
export type CreateEventError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
926
|
+
/** Create Event Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use `list-resources` and other read APIs to get the new state.<br/> <br/> `resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.<br/> `installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.<br/> <br/> Resource update use cases: <br/> <br/> - The user renames a database in the partner’s application. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource in Vercel’s datastores.<br/> - A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.<br/> */
|
|
927
|
+
export declare const createEvent: API.OperationMethod<CreateEventRequest, CreateEventResponse, CreateEventError, VercelOpContext>;
|
|
928
|
+
export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
929
|
+
/** Create one or multiple experimentation items Create one or multiple experimentation items */
|
|
930
|
+
export declare const createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems: API.OperationMethod<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsError, VercelOpContext>;
|
|
931
|
+
export type DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
932
|
+
/** Delete an existing experimentation item Delete an existing experimentation item */
|
|
933
|
+
export declare const deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId: API.OperationMethod<DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse, DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdError, VercelOpContext>;
|
|
934
|
+
export type DeleteIntegrationResourceError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
935
|
+
/** Delete Integration Resource Delete a resource owned by the selected installation ID. */
|
|
936
|
+
export declare const deleteIntegrationResource: API.OperationMethod<DeleteIntegrationResourceRequest, DeleteIntegrationResourceResponse, DeleteIntegrationResourceError, VercelOpContext>;
|
|
937
|
+
export type FinalizeInstallationError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
938
|
+
/** Finalize Installation This endpoint allows the partner to mark an installation as finalized. This means you will not send any more invoices for the installation. Use this after a customer has requested uninstall and you have sent any remaining invoices. This will allow the uninstall process to proceed immediately after all invoices have been paid. <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. */
|
|
939
|
+
export declare const finalizeInstallation: API.OperationMethod<FinalizeInstallationRequest, FinalizeInstallationResponse, FinalizeInstallationError, VercelOpContext>;
|
|
940
|
+
export type GetAccountInfoError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
941
|
+
/** Get Account Information Fetches the best account or user’s contact info */
|
|
942
|
+
export declare const getAccountInfo: API.OperationMethod<GetAccountInfoRequest, GetAccountInfoResponse, GetAccountInfoError, VercelOpContext>;
|
|
943
|
+
export type GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
944
|
+
/** Get the data of a user-provided Global Config When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config. */
|
|
945
|
+
export declare const getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig: API.OperationMethod<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse, GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError, VercelOpContext>;
|
|
946
|
+
export type GetIntegrationResourceError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
947
|
+
/** Get Integration Resource Get a resource by its partner ID. */
|
|
948
|
+
export declare const getIntegrationResource: API.OperationMethod<GetIntegrationResourceRequest, GetIntegrationResourceResponse, GetIntegrationResourceError, VercelOpContext>;
|
|
949
|
+
export type GetIntegrationResourcesError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
950
|
+
/** Get Integration Resources Get all resources for a given installation ID. */
|
|
951
|
+
export declare const getIntegrationResources: API.OperationMethod<GetIntegrationResourcesRequest, GetIntegrationResourcesResponse, GetIntegrationResourcesError, VercelOpContext>;
|
|
952
|
+
export type GetInvoiceError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
953
|
+
/** Get Invoice Get Invoice details and status for a given invoice ID.<br/> <br/> See [Billing Events with Webhooks documentation](https://vercel.com/docs/integrations/create-integration/marketplace-api#working-with-billing-events-through-webhooks) on how to receive invoice events. This endpoint is used to retrieve the invoice details. */
|
|
954
|
+
export declare const getInvoice: API.OperationMethod<GetInvoiceRequest, GetInvoiceResponse, GetInvoiceError, VercelOpContext>;
|
|
955
|
+
export type GetMemberError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
956
|
+
/** Get Member Information Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token). */
|
|
957
|
+
export declare const getMember: API.OperationMethod<GetMemberRequest, GetMemberResponse, GetMemberError, VercelOpContext>;
|
|
958
|
+
export type HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
959
|
+
/** Get the data of a user-provided Global Config When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config. */
|
|
960
|
+
export declare const headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig: API.OperationMethod<HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse, HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError, VercelOpContext>;
|
|
961
|
+
export type ImportResourceError = BadRequest | Forbidden | NotFound | Conflict | UnprocessableEntity | VercelOpError;
|
|
962
|
+
/** Import Resource This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel. When importing as part of the user-initiated import flow, call this endpoint before redirecting the user back to Vercel. See the [Import existing resources flow](https://vercel.com/docs/integrations/create-integration/marketplace-flows#import-existing-resources-flow) for the full contract. */
|
|
963
|
+
export declare const importResource: API.OperationMethod<ImportResourceRequest, ImportResourceResponse, ImportResourceError, VercelOpContext>;
|
|
964
|
+
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError;
|
|
965
|
+
/** Push data into a user-provided Global Config When the user enabled Global Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Global Config. */
|
|
966
|
+
export declare const replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig: API.OperationMethod<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse, ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError, VercelOpContext>;
|
|
967
|
+
export type SubmitBillingDataError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
968
|
+
/** Submit Billing Data Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. */
|
|
969
|
+
export declare const submitBillingData: API.OperationMethod<SubmitBillingDataRequest, SubmitBillingDataResponse, SubmitBillingDataError, VercelOpContext>;
|
|
970
|
+
export type SubmitInvoiceError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError;
|
|
971
|
+
/** Submit Invoice This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.<br/> <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. <br/> There are several limitations to the invoice submission:<br/> <br/> 1. A resource can only be billed once per the billing period and the billing plan.<br/> 2. The billing plan used to bill the resource must have been active for this resource during the billing period.<br/> 3. The billing plan used must be a subscription plan.<br/> 4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.<br/> 5. If provided, `externalId` must be unique for the installation.<br/> */
|
|
972
|
+
export declare const submitInvoice: API.OperationMethod<SubmitInvoiceRequest, SubmitInvoiceResponse, SubmitInvoiceError, VercelOpContext>;
|
|
973
|
+
export type SubmitPrepaymentBalancesError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
974
|
+
/** Submit Prepayment Balances Sends the prepayment balances. The partner should do this at least once a day and ideally once per hour. <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. */
|
|
975
|
+
export declare const submitPrepaymentBalances: API.OperationMethod<SubmitPrepaymentBalancesRequest, SubmitPrepaymentBalancesResponse, SubmitPrepaymentBalancesError, VercelOpContext>;
|
|
976
|
+
export type UpdateInstallationError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
977
|
+
/** Update Installation This endpoint updates an integration installation. */
|
|
978
|
+
export declare const updateInstallation: API.OperationMethod<UpdateInstallationRequest, UpdateInstallationResponse, UpdateInstallationError, VercelOpContext>;
|
|
979
|
+
export type UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdError = BadRequest | Forbidden | NotFound | VercelOpError;
|
|
980
|
+
/** Patch an existing experimentation item Patch an existing experimentation item */
|
|
981
|
+
export declare const updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId: API.OperationMethod<UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse, UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdError, VercelOpContext>;
|
|
982
|
+
export type UpdateInvoiceError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError;
|
|
983
|
+
/** Invoice Actions This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api). */
|
|
984
|
+
export declare const updateInvoice: API.OperationMethod<UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateInvoiceError, VercelOpContext>;
|
|
985
|
+
export type UpdateResourceError = BadRequest | Forbidden | NotFound | Conflict | UnprocessableEntity | VercelOpError;
|
|
986
|
+
/** Update Resource This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates. */
|
|
987
|
+
export declare const updateResource: API.OperationMethod<UpdateResourceRequest, UpdateResourceResponse, UpdateResourceError, VercelOpContext>;
|
|
988
|
+
export type UpdateResourceSecretsByIdError = BadRequest | Forbidden | NotFound | Conflict | UnprocessableEntity | VercelOpError;
|
|
989
|
+
/** Update Resource Secrets This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.<br/> <br/> Use cases for this endpoint:<br/> <br/> - Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.<br/> */
|
|
990
|
+
export declare const updateResourceSecretsById: API.OperationMethod<UpdateResourceSecretsByIdRequest, UpdateResourceSecretsByIdResponse, UpdateResourceSecretsByIdError, VercelOpContext>;
|
|
991
|
+
//# sourceMappingURL=marketplace.d.ts.map
|