@distilled.cloud/vercel 1.0.0-rc.7 → 1.0.0-rc.9
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/LICENSE +201 -0
- package/lib/services/access_groups.d.ts +1 -1
- package/lib/services/access_groups.d.ts.map +1 -1
- package/lib/services/access_groups.js +1 -1
- package/lib/services/access_groups.js.map +1 -1
- package/lib/services/ai_gateway.js +1 -1
- package/lib/services/ai_gateway.js.map +1 -1
- package/lib/services/aliases.d.ts +3 -3
- package/lib/services/aliases.d.ts.map +1 -1
- package/lib/services/aliases.js +4 -4
- package/lib/services/aliases.js.map +1 -1
- package/lib/services/api_ai_gateway.d.ts +275 -0
- package/lib/services/api_ai_gateway.d.ts.map +1 -0
- package/lib/services/api_ai_gateway.js +229 -0
- package/lib/services/api_ai_gateway.js.map +1 -0
- package/lib/services/artifacts.d.ts +1 -1
- package/lib/services/artifacts.d.ts.map +1 -1
- package/lib/services/artifacts.js +12 -12
- package/lib/services/artifacts.js.map +1 -1
- package/lib/services/authentication.js +1 -1
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/billing.d.ts +145 -7
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +121 -5
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bulk_redirects.d.ts +4 -4
- package/lib/services/bulk_redirects.d.ts.map +1 -1
- package/lib/services/bulk_redirects.js +4 -4
- package/lib/services/bulk_redirects.js.map +1 -1
- package/lib/services/certs.d.ts +9 -9
- package/lib/services/certs.d.ts.map +1 -1
- package/lib/services/certs.js +10 -12
- package/lib/services/certs.js.map +1 -1
- package/lib/services/checks_v2.d.ts +5 -0
- package/lib/services/checks_v2.d.ts.map +1 -1
- package/lib/services/checks_v2.js +6 -1
- package/lib/services/checks_v2.js.map +1 -1
- package/lib/services/connect.d.ts +1721 -527
- package/lib/services/connect.d.ts.map +1 -1
- package/lib/services/connect.js +1034 -414
- package/lib/services/connect.js.map +1 -1
- package/lib/services/deployments.d.ts +338 -30
- package/lib/services/deployments.d.ts.map +1 -1
- package/lib/services/deployments.js +335 -11
- package/lib/services/deployments.js.map +1 -1
- package/lib/services/dns.d.ts +13 -13
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +13 -14
- package/lib/services/dns.js.map +1 -1
- package/lib/services/domains.d.ts +55 -27
- package/lib/services/domains.d.ts.map +1 -1
- package/lib/services/domains.js +38 -25
- package/lib/services/domains.js.map +1 -1
- package/lib/services/domains_registrar.d.ts.map +1 -1
- package/lib/services/domains_registrar.js +1 -1
- package/lib/services/domains_registrar.js.map +1 -1
- package/lib/services/drains.d.ts +8 -8
- package/lib/services/drains.d.ts.map +1 -1
- package/lib/services/drains.js +1 -1
- package/lib/services/drains.js.map +1 -1
- package/lib/services/edge_cache.js +1 -1
- package/lib/services/edge_cache.js.map +1 -1
- package/lib/services/environment.d.ts +39 -39
- package/lib/services/environment.d.ts.map +1 -1
- package/lib/services/environment.js +35 -37
- package/lib/services/environment.js.map +1 -1
- package/lib/services/feature_flags.d.ts +93 -309
- package/lib/services/feature_flags.d.ts.map +1 -1
- package/lib/services/feature_flags.js +93 -303
- package/lib/services/feature_flags.js.map +1 -1
- package/lib/services/global_config.d.ts +40 -40
- package/lib/services/global_config.d.ts.map +1 -1
- package/lib/services/global_config.js +16 -14
- package/lib/services/global_config.js.map +1 -1
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/integrations.d.ts +44 -17
- package/lib/services/integrations.d.ts.map +1 -1
- package/lib/services/integrations.js +32 -7
- package/lib/services/integrations.js.map +1 -1
- package/lib/services/kms.d.ts +1095 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +982 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/log_drains.d.ts +4 -4
- package/lib/services/log_drains.d.ts.map +1 -1
- package/lib/services/log_drains.js +1 -1
- package/lib/services/log_drains.js.map +1 -1
- package/lib/services/logs.js +1 -1
- package/lib/services/logs.js.map +1 -1
- package/lib/services/marketplace.d.ts +95 -33
- package/lib/services/marketplace.d.ts.map +1 -1
- package/lib/services/marketplace.js +123 -31
- package/lib/services/marketplace.js.map +1 -1
- package/lib/services/microfrontends.d.ts +290 -250
- package/lib/services/microfrontends.d.ts.map +1 -1
- package/lib/services/microfrontends.js +281 -244
- package/lib/services/microfrontends.js.map +1 -1
- package/lib/services/misc.d.ts +192 -0
- package/lib/services/misc.d.ts.map +1 -0
- package/lib/services/misc.js +125 -0
- package/lib/services/misc.js.map +1 -0
- package/lib/services/networking.d.ts +123 -2
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +132 -2
- package/lib/services/networking.js.map +1 -1
- package/lib/services/observability.js +1 -1
- package/lib/services/observability.js.map +1 -1
- package/lib/services/project_members.js +1 -1
- package/lib/services/project_members.js.map +1 -1
- package/lib/services/project_routes.d.ts.map +1 -1
- package/lib/services/project_routes.js +1 -1
- package/lib/services/project_routes.js.map +1 -1
- package/lib/services/projects.d.ts +356 -116
- package/lib/services/projects.d.ts.map +1 -1
- package/lib/services/projects.js +260 -64
- package/lib/services/projects.js.map +1 -1
- package/lib/services/rolling_release.d.ts +2 -2
- package/lib/services/rolling_release.d.ts.map +1 -1
- package/lib/services/rolling_release.js +1 -1
- package/lib/services/rolling_release.js.map +1 -1
- package/lib/services/sandboxes.d.ts +1007 -410
- package/lib/services/sandboxes.d.ts.map +1 -1
- package/lib/services/sandboxes.js +732 -293
- package/lib/services/sandboxes.js.map +1 -1
- package/lib/services/security.d.ts +590 -275
- package/lib/services/security.d.ts.map +1 -1
- package/lib/services/security.js +562 -208
- package/lib/services/security.js.map +1 -1
- package/lib/services/storage.d.ts +69 -69
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +59 -59
- package/lib/services/storage.js.map +1 -1
- package/lib/services/teams.d.ts +351 -328
- package/lib/services/teams.d.ts.map +1 -1
- package/lib/services/teams.js +299 -284
- package/lib/services/teams.js.map +1 -1
- package/lib/services/user.d.ts +4237 -3650
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +3426 -2935
- package/lib/services/user.js.map +1 -1
- package/lib/services/vcr.d.ts +80 -122
- package/lib/services/vcr.d.ts.map +1 -1
- package/lib/services/vcr.js +89 -144
- package/lib/services/vcr.js.map +1 -1
- package/lib/services/web_analytics.d.ts +42 -10
- package/lib/services/web_analytics.d.ts.map +1 -1
- package/lib/services/web_analytics.js +39 -9
- package/lib/services/web_analytics.js.map +1 -1
- package/lib/services/webhooks.d.ts +13 -1
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +11 -1
- package/lib/services/webhooks.js.map +1 -1
- package/package.json +6 -5
- package/src/services/access_groups.ts +5 -2
- package/src/services/ai_gateway.ts +1 -1
- package/src/services/aliases.ts +9 -8
- package/src/services/api_ai_gateway.ts +607 -0
- package/src/services/artifacts.ts +13 -13
- package/src/services/authentication.ts +1 -1
- package/src/services/billing.ts +358 -26
- package/src/services/bulk_redirects.ts +10 -10
- package/src/services/certs.ts +20 -26
- package/src/services/checks_v2.ts +11 -1
- package/src/services/connect.ts +3330 -1121
- package/src/services/deployments.ts +1513 -429
- package/src/services/dns.ts +26 -27
- package/src/services/domains.ts +119 -63
- package/src/services/domains_registrar.ts +37 -37
- package/src/services/drains.ts +35 -18
- package/src/services/edge_cache.ts +1 -1
- package/src/services/environment.ts +99 -95
- package/src/services/feature_flags.ts +332 -884
- package/src/services/global_config.ts +59 -57
- package/src/services/index.ts +3 -0
- package/src/services/integrations.ts +870 -668
- package/src/services/kms.ts +2631 -0
- package/src/services/log_drains.ts +73 -41
- package/src/services/logs.ts +1 -1
- package/src/services/marketplace.ts +324 -96
- package/src/services/microfrontends.ts +1582 -1306
- package/src/services/misc.ts +364 -0
- package/src/services/networking.ts +339 -4
- package/src/services/observability.ts +1 -1
- package/src/services/project_members.ts +1 -1
- package/src/services/project_routes.ts +25 -16
- package/src/services/projects.ts +1987 -691
- package/src/services/rolling_release.ts +100 -96
- package/src/services/sandboxes.ts +3013 -1268
- package/src/services/security.ts +3433 -1845
- package/src/services/storage.ts +145 -141
- package/src/services/teams.ts +1061 -986
- package/src/services/user.ts +8490 -6901
- package/src/services/vcr.ts +349 -443
- package/src/services/web_analytics.ts +83 -13
- package/src/services/webhooks.ts +32 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
3
4
|
import * as API from "@distilled.cloud/core/api";
|
|
4
5
|
import * as C from "@distilled.cloud/core/category";
|
|
5
6
|
import * as T from "../traits.ts";
|
|
@@ -127,7 +128,8 @@ export const CreateEventResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
127
128
|
}) as any as S.Schema<CreateEventResponse>;
|
|
128
129
|
|
|
129
130
|
export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItemCategory =
|
|
130
|
-
|
|
131
|
+
| "experiment"
|
|
132
|
+
| "flag";
|
|
131
133
|
export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestItemsItemCategory =
|
|
132
134
|
/*@__PURE__*/ S.String;
|
|
133
135
|
|
|
@@ -202,12 +204,12 @@ export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceI
|
|
|
202
204
|
"CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse",
|
|
203
205
|
}) as any as S.Schema<CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsResponse>;
|
|
204
206
|
|
|
205
|
-
export interface
|
|
207
|
+
export interface DeleteInstallationResourceExperimentationItemRequest {
|
|
206
208
|
integrationConfigurationId: string;
|
|
207
209
|
resourceId: string;
|
|
208
210
|
itemId: string;
|
|
209
211
|
}
|
|
210
|
-
export const
|
|
212
|
+
export const DeleteInstallationResourceExperimentationItemRequest =
|
|
211
213
|
/*@__PURE__*/ S.suspend(() =>
|
|
212
214
|
S.Struct({
|
|
213
215
|
integrationConfigurationId: S.String.pipe(T.Label()),
|
|
@@ -221,16 +223,14 @@ export const DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceI
|
|
|
221
223
|
}),
|
|
222
224
|
),
|
|
223
225
|
).annotate({
|
|
224
|
-
identifier:
|
|
225
|
-
|
|
226
|
-
}) as any as S.Schema<DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest>;
|
|
226
|
+
identifier: "DeleteInstallationResourceExperimentationItemRequest",
|
|
227
|
+
}) as any as S.Schema<DeleteInstallationResourceExperimentationItemRequest>;
|
|
227
228
|
|
|
228
|
-
export interface
|
|
229
|
-
export const
|
|
229
|
+
export interface DeleteInstallationResourceExperimentationItemResponse {}
|
|
230
|
+
export const DeleteInstallationResourceExperimentationItemResponse =
|
|
230
231
|
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
231
|
-
identifier:
|
|
232
|
-
|
|
233
|
-
}) as any as S.Schema<DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse>;
|
|
232
|
+
identifier: "DeleteInstallationResourceExperimentationItemResponse",
|
|
233
|
+
}) as any as S.Schema<DeleteInstallationResourceExperimentationItemResponse>;
|
|
234
234
|
|
|
235
235
|
export interface DeleteIntegrationResourceRequest {
|
|
236
236
|
integrationConfigurationId: string;
|
|
@@ -331,11 +331,11 @@ export const GetAccountInfoResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
331
331
|
identifier: "GetAccountInfoResponse",
|
|
332
332
|
}) as any as S.Schema<GetAccountInfoResponse>;
|
|
333
333
|
|
|
334
|
-
export interface
|
|
334
|
+
export interface GetInstallationResourceExperimentationGlobalConfigRequest {
|
|
335
335
|
integrationConfigurationId: string;
|
|
336
336
|
resourceId: string;
|
|
337
337
|
}
|
|
338
|
-
export const
|
|
338
|
+
export const GetInstallationResourceExperimentationGlobalConfigRequest =
|
|
339
339
|
/*@__PURE__*/ S.suspend(() =>
|
|
340
340
|
S.Struct({
|
|
341
341
|
integrationConfigurationId: S.String.pipe(T.Label()),
|
|
@@ -348,66 +348,64 @@ export const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdEx
|
|
|
348
348
|
}),
|
|
349
349
|
),
|
|
350
350
|
).annotate({
|
|
351
|
-
identifier:
|
|
352
|
-
|
|
353
|
-
}) as any as S.Schema<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
351
|
+
identifier: "GetInstallationResourceExperimentationGlobalConfigRequest",
|
|
352
|
+
}) as any as S.Schema<GetInstallationResourceExperimentationGlobalConfigRequest>;
|
|
354
353
|
|
|
355
|
-
export type
|
|
356
|
-
[key: string]:
|
|
354
|
+
export type GlobalConfigItemValueCase2Map = {
|
|
355
|
+
[key: string]: GlobalConfigItemValue | undefined;
|
|
357
356
|
};
|
|
358
|
-
export const
|
|
357
|
+
export const GlobalConfigItemValueCase2Map = /*@__PURE__*/ S.Record(
|
|
359
358
|
S.String,
|
|
360
|
-
S.suspend(() =>
|
|
361
|
-
) as any as S.Schema<
|
|
359
|
+
S.suspend(() => GlobalConfigItemValue),
|
|
360
|
+
) as any as S.Schema<GlobalConfigItemValueCase2Map>;
|
|
362
361
|
|
|
363
|
-
export type
|
|
364
|
-
export const
|
|
365
|
-
S.suspend(() =>
|
|
366
|
-
) as any as S.Schema<
|
|
362
|
+
export type GlobalConfigItemValueCase3List = Array<GlobalConfigItemValue>;
|
|
363
|
+
export const GlobalConfigItemValueCase3List = /*@__PURE__*/ S.Array(
|
|
364
|
+
S.suspend(() => GlobalConfigItemValue),
|
|
365
|
+
) as any as S.Schema<GlobalConfigItemValueCase3List>;
|
|
367
366
|
|
|
368
|
-
export type
|
|
367
|
+
export type GlobalConfigItemValue =
|
|
369
368
|
| string
|
|
370
369
|
| number
|
|
371
|
-
|
|
|
372
|
-
|
|
|
370
|
+
| GlobalConfigItemValueCase2Map
|
|
371
|
+
| GlobalConfigItemValueCase3List
|
|
373
372
|
| boolean;
|
|
374
|
-
export const
|
|
375
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
373
|
+
export const GlobalConfigItemValue =
|
|
374
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<GlobalConfigItemValue>;
|
|
376
375
|
|
|
377
|
-
export type
|
|
378
|
-
{ [key: string]:
|
|
379
|
-
export const
|
|
376
|
+
export type GetInstallationResourceExperimentationGlobalConfigResponseItemsMap =
|
|
377
|
+
{ [key: string]: GlobalConfigItemValue | undefined };
|
|
378
|
+
export const GetInstallationResourceExperimentationGlobalConfigResponseItemsMap =
|
|
380
379
|
/*@__PURE__*/ S.Record(
|
|
381
380
|
S.String,
|
|
382
|
-
|
|
383
|
-
) as any as S.Schema<
|
|
381
|
+
GlobalConfigItemValue,
|
|
382
|
+
) as any as S.Schema<GetInstallationResourceExperimentationGlobalConfigResponseItemsMap>;
|
|
384
383
|
|
|
385
|
-
export type
|
|
386
|
-
|
|
387
|
-
|
|
384
|
+
export type GetInstallationResourceExperimentationGlobalConfigResponsePurpose =
|
|
385
|
+
| "experimentation"
|
|
386
|
+
| "flags";
|
|
387
|
+
export const GetInstallationResourceExperimentationGlobalConfigResponsePurpose =
|
|
388
388
|
/*@__PURE__*/ S.String;
|
|
389
389
|
|
|
390
|
-
export interface
|
|
391
|
-
items:
|
|
390
|
+
export interface GetInstallationResourceExperimentationGlobalConfigResponse {
|
|
391
|
+
items: GetInstallationResourceExperimentationGlobalConfigResponseItemsMap;
|
|
392
392
|
updatedAt: number;
|
|
393
393
|
digest: string;
|
|
394
|
-
purpose?:
|
|
394
|
+
purpose?: GetInstallationResourceExperimentationGlobalConfigResponsePurpose;
|
|
395
395
|
}
|
|
396
|
-
export const
|
|
396
|
+
export const GetInstallationResourceExperimentationGlobalConfigResponse =
|
|
397
397
|
/*@__PURE__*/ S.suspend(() =>
|
|
398
398
|
S.Struct({
|
|
399
|
-
items:
|
|
400
|
-
GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap,
|
|
399
|
+
items: GetInstallationResourceExperimentationGlobalConfigResponseItemsMap,
|
|
401
400
|
updatedAt: S.Number,
|
|
402
401
|
digest: S.String,
|
|
403
402
|
purpose: S.optional(
|
|
404
|
-
|
|
403
|
+
GetInstallationResourceExperimentationGlobalConfigResponsePurpose,
|
|
405
404
|
),
|
|
406
405
|
}),
|
|
407
406
|
).annotate({
|
|
408
|
-
identifier:
|
|
409
|
-
|
|
410
|
-
}) as any as S.Schema<GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
407
|
+
identifier: "GetInstallationResourceExperimentationGlobalConfigResponse",
|
|
408
|
+
}) as any as S.Schema<GetInstallationResourceExperimentationGlobalConfigResponse>;
|
|
411
409
|
|
|
412
410
|
export interface GetIntegrationResourceRequest {
|
|
413
411
|
/** The ID of the integration configuration (installation) the resource belongs to */
|
|
@@ -455,9 +453,54 @@ export const GetIntegrationResourceResponseProtocolSettingsExperimentation =
|
|
|
455
453
|
identifier: "GetIntegrationResourceResponseProtocolSettingsExperimentation",
|
|
456
454
|
}) as any as S.Schema<GetIntegrationResourceResponseProtocolSettingsExperimentation>;
|
|
457
455
|
|
|
456
|
+
export type GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItemTarget =
|
|
457
|
+
| "development"
|
|
458
|
+
| "preview"
|
|
459
|
+
| "production";
|
|
460
|
+
export const GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItemTarget =
|
|
461
|
+
/*@__PURE__*/ S.String;
|
|
462
|
+
|
|
463
|
+
export interface GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem {
|
|
464
|
+
url: string;
|
|
465
|
+
target: GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItemTarget;
|
|
466
|
+
}
|
|
467
|
+
export const GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem =
|
|
468
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
469
|
+
S.Struct({
|
|
470
|
+
url: S.String,
|
|
471
|
+
target:
|
|
472
|
+
GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItemTarget,
|
|
473
|
+
}),
|
|
474
|
+
).annotate({
|
|
475
|
+
identifier:
|
|
476
|
+
"GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem",
|
|
477
|
+
}) as any as S.Schema<GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem>;
|
|
478
|
+
|
|
479
|
+
export type GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsList =
|
|
480
|
+
Array<GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem>;
|
|
481
|
+
export const GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsList =
|
|
482
|
+
/*@__PURE__*/ S.Array(
|
|
483
|
+
GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsItem,
|
|
484
|
+
) as any as S.Schema<GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsList>;
|
|
485
|
+
|
|
486
|
+
export interface GetIntegrationResourceResponseProtocolSettingsAuthentication {
|
|
487
|
+
appUrls?: GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsList;
|
|
488
|
+
}
|
|
489
|
+
export const GetIntegrationResourceResponseProtocolSettingsAuthentication =
|
|
490
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
491
|
+
S.Struct({
|
|
492
|
+
appUrls: S.optional(
|
|
493
|
+
GetIntegrationResourceResponseProtocolSettingsAuthenticationAppUrlsList,
|
|
494
|
+
),
|
|
495
|
+
}),
|
|
496
|
+
).annotate({
|
|
497
|
+
identifier: "GetIntegrationResourceResponseProtocolSettingsAuthentication",
|
|
498
|
+
}) as any as S.Schema<GetIntegrationResourceResponseProtocolSettingsAuthentication>;
|
|
499
|
+
|
|
458
500
|
/** Any settings provided for the resource to support its product's protocols */
|
|
459
501
|
export interface GetIntegrationResourceResponseProtocolSettings {
|
|
460
502
|
experimentation?: GetIntegrationResourceResponseProtocolSettingsExperimentation;
|
|
503
|
+
authentication?: GetIntegrationResourceResponseProtocolSettingsAuthentication;
|
|
461
504
|
}
|
|
462
505
|
export const GetIntegrationResourceResponseProtocolSettings =
|
|
463
506
|
/*@__PURE__*/ S.suspend(() =>
|
|
@@ -465,6 +508,9 @@ export const GetIntegrationResourceResponseProtocolSettings =
|
|
|
465
508
|
experimentation: S.optional(
|
|
466
509
|
GetIntegrationResourceResponseProtocolSettingsExperimentation,
|
|
467
510
|
),
|
|
511
|
+
authentication: S.optional(
|
|
512
|
+
GetIntegrationResourceResponseProtocolSettingsAuthentication,
|
|
513
|
+
),
|
|
468
514
|
}),
|
|
469
515
|
).annotate({
|
|
470
516
|
identifier: "GetIntegrationResourceResponseProtocolSettings",
|
|
@@ -618,9 +664,55 @@ export const GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperim
|
|
|
618
664
|
"GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation",
|
|
619
665
|
}) as any as S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation>;
|
|
620
666
|
|
|
667
|
+
export type GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItemTarget =
|
|
668
|
+
| "development"
|
|
669
|
+
| "preview"
|
|
670
|
+
| "production";
|
|
671
|
+
export const GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItemTarget =
|
|
672
|
+
/*@__PURE__*/ S.String;
|
|
673
|
+
|
|
674
|
+
export interface GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem {
|
|
675
|
+
url: string;
|
|
676
|
+
target: GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItemTarget;
|
|
677
|
+
}
|
|
678
|
+
export const GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem =
|
|
679
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
680
|
+
S.Struct({
|
|
681
|
+
url: S.String,
|
|
682
|
+
target:
|
|
683
|
+
GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItemTarget,
|
|
684
|
+
}),
|
|
685
|
+
).annotate({
|
|
686
|
+
identifier:
|
|
687
|
+
"GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem",
|
|
688
|
+
}) as any as S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem>;
|
|
689
|
+
|
|
690
|
+
export type GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsList =
|
|
691
|
+
Array<GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem>;
|
|
692
|
+
export const GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsList =
|
|
693
|
+
/*@__PURE__*/ S.Array(
|
|
694
|
+
GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsItem,
|
|
695
|
+
) as any as S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsList>;
|
|
696
|
+
|
|
697
|
+
export interface GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication {
|
|
698
|
+
appUrls?: GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsList;
|
|
699
|
+
}
|
|
700
|
+
export const GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication =
|
|
701
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
702
|
+
S.Struct({
|
|
703
|
+
appUrls: S.optional(
|
|
704
|
+
GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthenticationAppUrlsList,
|
|
705
|
+
),
|
|
706
|
+
}),
|
|
707
|
+
).annotate({
|
|
708
|
+
identifier:
|
|
709
|
+
"GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication",
|
|
710
|
+
}) as any as S.Schema<GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication>;
|
|
711
|
+
|
|
621
712
|
/** Any settings provided for the resource to support its product's protocols */
|
|
622
713
|
export interface GetIntegrationResourcesResponseResourcesItemProtocolSettings {
|
|
623
714
|
experimentation?: GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation;
|
|
715
|
+
authentication?: GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication;
|
|
624
716
|
}
|
|
625
717
|
export const GetIntegrationResourcesResponseResourcesItemProtocolSettings =
|
|
626
718
|
/*@__PURE__*/ S.suspend(() =>
|
|
@@ -628,6 +720,9 @@ export const GetIntegrationResourcesResponseResourcesItemProtocolSettings =
|
|
|
628
720
|
experimentation: S.optional(
|
|
629
721
|
GetIntegrationResourcesResponseResourcesItemProtocolSettingsExperimentation,
|
|
630
722
|
),
|
|
723
|
+
authentication: S.optional(
|
|
724
|
+
GetIntegrationResourcesResponseResourcesItemProtocolSettingsAuthentication,
|
|
725
|
+
),
|
|
631
726
|
}),
|
|
632
727
|
).annotate({
|
|
633
728
|
identifier: "GetIntegrationResourcesResponseResourcesItemProtocolSettings",
|
|
@@ -988,11 +1083,11 @@ export const GetMemberResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
988
1083
|
identifier: "GetMemberResponse",
|
|
989
1084
|
}) as any as S.Schema<GetMemberResponse>;
|
|
990
1085
|
|
|
991
|
-
export interface
|
|
1086
|
+
export interface HeadInstallationResourceExperimentationGlobalConfigRequest {
|
|
992
1087
|
integrationConfigurationId: string;
|
|
993
1088
|
resourceId: string;
|
|
994
1089
|
}
|
|
995
|
-
export const
|
|
1090
|
+
export const HeadInstallationResourceExperimentationGlobalConfigRequest =
|
|
996
1091
|
/*@__PURE__*/ S.suspend(() =>
|
|
997
1092
|
S.Struct({
|
|
998
1093
|
integrationConfigurationId: S.String.pipe(T.Label()),
|
|
@@ -1005,16 +1100,14 @@ export const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdE
|
|
|
1005
1100
|
}),
|
|
1006
1101
|
),
|
|
1007
1102
|
).annotate({
|
|
1008
|
-
identifier:
|
|
1009
|
-
|
|
1010
|
-
}) as any as S.Schema<HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
1103
|
+
identifier: "HeadInstallationResourceExperimentationGlobalConfigRequest",
|
|
1104
|
+
}) as any as S.Schema<HeadInstallationResourceExperimentationGlobalConfigRequest>;
|
|
1011
1105
|
|
|
1012
|
-
export interface
|
|
1013
|
-
export const
|
|
1106
|
+
export interface HeadInstallationResourceExperimentationGlobalConfigResponse {}
|
|
1107
|
+
export const HeadInstallationResourceExperimentationGlobalConfigResponse =
|
|
1014
1108
|
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1015
|
-
identifier:
|
|
1016
|
-
|
|
1017
|
-
}) as any as S.Schema<HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
1109
|
+
identifier: "HeadInstallationResourceExperimentationGlobalConfigResponse",
|
|
1110
|
+
}) as any as S.Schema<HeadInstallationResourceExperimentationGlobalConfigResponse>;
|
|
1018
1111
|
|
|
1019
1112
|
export type ImportResourceRequestOwnership = "owned" | "linked" | "sandbox";
|
|
1020
1113
|
export const ImportResourceRequestOwnership = /*@__PURE__*/ S.String;
|
|
@@ -1258,15 +1351,16 @@ export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResource
|
|
|
1258
1351
|
}) as any as S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest>;
|
|
1259
1352
|
|
|
1260
1353
|
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap =
|
|
1261
|
-
{ [key: string]:
|
|
1354
|
+
{ [key: string]: GlobalConfigItemValue | undefined };
|
|
1262
1355
|
export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap =
|
|
1263
1356
|
/*@__PURE__*/ S.Record(
|
|
1264
1357
|
S.String,
|
|
1265
|
-
|
|
1358
|
+
GlobalConfigItemValue,
|
|
1266
1359
|
) as any as S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseItemsMap>;
|
|
1267
1360
|
|
|
1268
1361
|
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose =
|
|
1269
|
-
|
|
1362
|
+
| "experimentation"
|
|
1363
|
+
| "flags";
|
|
1270
1364
|
export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponsePurpose =
|
|
1271
1365
|
/*@__PURE__*/ S.String;
|
|
1272
1366
|
|
|
@@ -1292,6 +1386,86 @@ export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResource
|
|
|
1292
1386
|
"ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse",
|
|
1293
1387
|
}) as any as S.Schema<ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse>;
|
|
1294
1388
|
|
|
1389
|
+
export interface RevokeInstallationCredentialRequest {
|
|
1390
|
+
integrationConfigurationId: string;
|
|
1391
|
+
token: string;
|
|
1392
|
+
client_secret: string | Redacted.Redacted<string>;
|
|
1393
|
+
client_id?: string;
|
|
1394
|
+
}
|
|
1395
|
+
export const RevokeInstallationCredentialRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1396
|
+
S.Struct({
|
|
1397
|
+
integrationConfigurationId: S.String.pipe(T.Label()),
|
|
1398
|
+
token: S.String,
|
|
1399
|
+
client_secret: S.String.pipe(T.SensitiveValue({})),
|
|
1400
|
+
client_id: S.optional(S.String),
|
|
1401
|
+
}).pipe(
|
|
1402
|
+
T.Http({
|
|
1403
|
+
method: "POST",
|
|
1404
|
+
uri: "/v1/installations/{integrationConfigurationId}/credentials/revoke",
|
|
1405
|
+
code: 200,
|
|
1406
|
+
}),
|
|
1407
|
+
),
|
|
1408
|
+
).annotate({
|
|
1409
|
+
identifier: "RevokeInstallationCredentialRequest",
|
|
1410
|
+
}) as any as S.Schema<RevokeInstallationCredentialRequest>;
|
|
1411
|
+
|
|
1412
|
+
export interface RevokeInstallationCredentialResponse {
|
|
1413
|
+
revoked: boolean;
|
|
1414
|
+
already_revoked: boolean;
|
|
1415
|
+
}
|
|
1416
|
+
export const RevokeInstallationCredentialResponse = /*@__PURE__*/ S.suspend(
|
|
1417
|
+
() =>
|
|
1418
|
+
S.Struct({
|
|
1419
|
+
revoked: S.Boolean,
|
|
1420
|
+
already_revoked: S.Boolean,
|
|
1421
|
+
}),
|
|
1422
|
+
).annotate({
|
|
1423
|
+
identifier: "RevokeInstallationCredentialResponse",
|
|
1424
|
+
}) as any as S.Schema<RevokeInstallationCredentialResponse>;
|
|
1425
|
+
|
|
1426
|
+
export interface RotateInstallationCredentialRequest {
|
|
1427
|
+
integrationConfigurationId: string;
|
|
1428
|
+
client_secret: string | Redacted.Redacted<string>;
|
|
1429
|
+
client_id?: string;
|
|
1430
|
+
}
|
|
1431
|
+
export const RotateInstallationCredentialRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1432
|
+
S.Struct({
|
|
1433
|
+
integrationConfigurationId: S.String.pipe(T.Label()),
|
|
1434
|
+
client_secret: S.String.pipe(T.SensitiveValue({})),
|
|
1435
|
+
client_id: S.optional(S.String),
|
|
1436
|
+
}).pipe(
|
|
1437
|
+
T.Http({
|
|
1438
|
+
method: "POST",
|
|
1439
|
+
uri: "/v1/installations/{integrationConfigurationId}/credentials/rotate",
|
|
1440
|
+
code: 200,
|
|
1441
|
+
}),
|
|
1442
|
+
),
|
|
1443
|
+
).annotate({
|
|
1444
|
+
identifier: "RotateInstallationCredentialRequest",
|
|
1445
|
+
}) as any as S.Schema<RotateInstallationCredentialRequest>;
|
|
1446
|
+
|
|
1447
|
+
export type RotateInstallationCredentialResponseTokenType = "oauth2-token";
|
|
1448
|
+
export const RotateInstallationCredentialResponseTokenType =
|
|
1449
|
+
/*@__PURE__*/ S.String;
|
|
1450
|
+
|
|
1451
|
+
export interface RotateInstallationCredentialResponse {
|
|
1452
|
+
scope: string;
|
|
1453
|
+
expires_in: number;
|
|
1454
|
+
access_token: string | Redacted.Redacted<string>;
|
|
1455
|
+
token_type: RotateInstallationCredentialResponseTokenType;
|
|
1456
|
+
}
|
|
1457
|
+
export const RotateInstallationCredentialResponse = /*@__PURE__*/ S.suspend(
|
|
1458
|
+
() =>
|
|
1459
|
+
S.Struct({
|
|
1460
|
+
scope: S.String,
|
|
1461
|
+
expires_in: S.Number,
|
|
1462
|
+
access_token: S.String.pipe(T.SensitiveValue({})),
|
|
1463
|
+
token_type: RotateInstallationCredentialResponseTokenType,
|
|
1464
|
+
}),
|
|
1465
|
+
).annotate({
|
|
1466
|
+
identifier: "RotateInstallationCredentialResponse",
|
|
1467
|
+
}) as any as S.Schema<RotateInstallationCredentialResponse>;
|
|
1468
|
+
|
|
1295
1469
|
/** Period for the billing cycle. The period end date cannot be older than 24 hours earlier than our current server's time. */
|
|
1296
1470
|
export type SubmitBillingDataRequestPeriod = GetInvoiceResponsePeriod;
|
|
1297
1471
|
export const SubmitBillingDataRequestPeriod = GetInvoiceResponsePeriod;
|
|
@@ -1843,7 +2017,8 @@ export const UpdateInstallationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1843
2017
|
}) as any as S.Schema<UpdateInstallationResponse>;
|
|
1844
2018
|
|
|
1845
2019
|
export type UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestCategory =
|
|
1846
|
-
|
|
2020
|
+
| "experiment"
|
|
2021
|
+
| "flag";
|
|
1847
2022
|
export const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestCategory =
|
|
1848
2023
|
/*@__PURE__*/ S.String;
|
|
1849
2024
|
|
|
@@ -2233,7 +2408,10 @@ export const createEvent: API.OperationMethod<
|
|
|
2233
2408
|
}));
|
|
2234
2409
|
|
|
2235
2410
|
export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsError =
|
|
2236
|
-
|
|
2411
|
+
| BadRequest
|
|
2412
|
+
| Forbidden
|
|
2413
|
+
| NotFound
|
|
2414
|
+
| VercelOpError;
|
|
2237
2415
|
/** Create one or multiple experimentation items Create one or multiple experimentation items */
|
|
2238
2416
|
export const createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItems: API.OperationMethod<
|
|
2239
2417
|
CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest,
|
|
@@ -2250,19 +2428,20 @@ export const createInstallationsByIntegrationConfigurationIdResourcesByResourceI
|
|
|
2250
2428
|
retry: Retry.Retry,
|
|
2251
2429
|
}));
|
|
2252
2430
|
|
|
2253
|
-
export type
|
|
2254
|
-
|
|
2431
|
+
export type DeleteInstallationResourceExperimentationItemError =
|
|
2432
|
+
| BadRequest
|
|
2433
|
+
| Forbidden
|
|
2434
|
+
| NotFound
|
|
2435
|
+
| VercelOpError;
|
|
2255
2436
|
/** Delete an existing experimentation item Delete an existing experimentation item */
|
|
2256
|
-
export const
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2437
|
+
export const deleteInstallationResourceExperimentationItem: API.OperationMethod<
|
|
2438
|
+
DeleteInstallationResourceExperimentationItemRequest,
|
|
2439
|
+
DeleteInstallationResourceExperimentationItemResponse,
|
|
2440
|
+
DeleteInstallationResourceExperimentationItemError,
|
|
2260
2441
|
VercelOpContext
|
|
2261
2442
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2262
|
-
input:
|
|
2263
|
-
|
|
2264
|
-
output:
|
|
2265
|
-
DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdResponse,
|
|
2443
|
+
input: DeleteInstallationResourceExperimentationItemRequest,
|
|
2444
|
+
output: DeleteInstallationResourceExperimentationItemResponse,
|
|
2266
2445
|
errors: [BadRequest, Forbidden, NotFound],
|
|
2267
2446
|
protocol: VercelProtocol,
|
|
2268
2447
|
retry: Retry.Retry,
|
|
@@ -2325,19 +2504,20 @@ export const getAccountInfo: API.OperationMethod<
|
|
|
2325
2504
|
retry: Retry.Retry,
|
|
2326
2505
|
}));
|
|
2327
2506
|
|
|
2328
|
-
export type
|
|
2329
|
-
|
|
2507
|
+
export type GetInstallationResourceExperimentationGlobalConfigError =
|
|
2508
|
+
| BadRequest
|
|
2509
|
+
| Forbidden
|
|
2510
|
+
| NotFound
|
|
2511
|
+
| VercelOpError;
|
|
2330
2512
|
/** 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. */
|
|
2331
|
-
export const
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2513
|
+
export const getInstallationResourceExperimentationGlobalConfig: API.OperationMethod<
|
|
2514
|
+
GetInstallationResourceExperimentationGlobalConfigRequest,
|
|
2515
|
+
GetInstallationResourceExperimentationGlobalConfigResponse,
|
|
2516
|
+
GetInstallationResourceExperimentationGlobalConfigError,
|
|
2335
2517
|
VercelOpContext
|
|
2336
2518
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2337
|
-
input:
|
|
2338
|
-
|
|
2339
|
-
output:
|
|
2340
|
-
GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse,
|
|
2519
|
+
input: GetInstallationResourceExperimentationGlobalConfigRequest,
|
|
2520
|
+
output: GetInstallationResourceExperimentationGlobalConfigResponse,
|
|
2341
2521
|
errors: [BadRequest, Forbidden, NotFound],
|
|
2342
2522
|
protocol: VercelProtocol,
|
|
2343
2523
|
retry: Retry.Retry,
|
|
@@ -2411,19 +2591,20 @@ export const getMember: API.OperationMethod<
|
|
|
2411
2591
|
retry: Retry.Retry,
|
|
2412
2592
|
}));
|
|
2413
2593
|
|
|
2414
|
-
export type
|
|
2415
|
-
|
|
2594
|
+
export type HeadInstallationResourceExperimentationGlobalConfigError =
|
|
2595
|
+
| BadRequest
|
|
2596
|
+
| Forbidden
|
|
2597
|
+
| NotFound
|
|
2598
|
+
| VercelOpError;
|
|
2416
2599
|
/** 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. */
|
|
2417
|
-
export const
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2600
|
+
export const headInstallationResourceExperimentationGlobalConfig: API.OperationMethod<
|
|
2601
|
+
HeadInstallationResourceExperimentationGlobalConfigRequest,
|
|
2602
|
+
HeadInstallationResourceExperimentationGlobalConfigResponse,
|
|
2603
|
+
HeadInstallationResourceExperimentationGlobalConfigError,
|
|
2421
2604
|
VercelOpContext
|
|
2422
2605
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2423
|
-
input:
|
|
2424
|
-
|
|
2425
|
-
output:
|
|
2426
|
-
HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponse,
|
|
2606
|
+
input: HeadInstallationResourceExperimentationGlobalConfigRequest,
|
|
2607
|
+
output: HeadInstallationResourceExperimentationGlobalConfigResponse,
|
|
2427
2608
|
errors: [BadRequest, Forbidden, NotFound],
|
|
2428
2609
|
protocol: VercelProtocol,
|
|
2429
2610
|
retry: Retry.Retry,
|
|
@@ -2451,7 +2632,11 @@ export const importResource: API.OperationMethod<
|
|
|
2451
2632
|
}));
|
|
2452
2633
|
|
|
2453
2634
|
export type ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigError =
|
|
2454
|
-
|
|
2635
|
+
| BadRequest
|
|
2636
|
+
| Forbidden
|
|
2637
|
+
| NotFound
|
|
2638
|
+
| Conflict
|
|
2639
|
+
| VercelOpError;
|
|
2455
2640
|
/** 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. */
|
|
2456
2641
|
export const replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig: API.OperationMethod<
|
|
2457
2642
|
ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest,
|
|
@@ -2468,6 +2653,46 @@ export const replaceInstallationsByIntegrationConfigurationIdResourcesByResource
|
|
|
2468
2653
|
retry: Retry.Retry,
|
|
2469
2654
|
}));
|
|
2470
2655
|
|
|
2656
|
+
export type RevokeInstallationCredentialError =
|
|
2657
|
+
| BadRequest
|
|
2658
|
+
| Forbidden
|
|
2659
|
+
| NotFound
|
|
2660
|
+
| Conflict
|
|
2661
|
+
| VercelOpError;
|
|
2662
|
+
/** Revoke Installation Credential Retires a superseded installation credential, so a partner can complete a rotation it started with `POST /credentials/rotate` — the leaked credential stops working without the customer having to reinstall. Authenticated by a live installation credential plus the integration's client secret. The credential to retire is named in the body rather than being the one that authenticates, so the ordinary flow is: rotate, store the replacement, then authenticate with the replacement and revoke the old one. Refuses to retire an installation's last live credential. Rotation exists so remediation is not customer-visible; revoking the only credential would undo that and leave the install needing a reinstall. */
|
|
2663
|
+
export const revokeInstallationCredential: API.OperationMethod<
|
|
2664
|
+
RevokeInstallationCredentialRequest,
|
|
2665
|
+
RevokeInstallationCredentialResponse,
|
|
2666
|
+
RevokeInstallationCredentialError,
|
|
2667
|
+
VercelOpContext
|
|
2668
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2669
|
+
input: RevokeInstallationCredentialRequest,
|
|
2670
|
+
output: RevokeInstallationCredentialResponse,
|
|
2671
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
2672
|
+
protocol: VercelProtocol,
|
|
2673
|
+
retry: Retry.Retry,
|
|
2674
|
+
}));
|
|
2675
|
+
|
|
2676
|
+
export type RotateInstallationCredentialError =
|
|
2677
|
+
| BadRequest
|
|
2678
|
+
| Forbidden
|
|
2679
|
+
| NotFound
|
|
2680
|
+
| Conflict
|
|
2681
|
+
| VercelOpError;
|
|
2682
|
+
/** Rotate Installation Credential Issues a replacement access token for an installation, so a partner can rotate a credential it believes is compromised without the customer having to reinstall. Authenticated by the credential being replaced plus the integration's client secret: a leaked access token on its own cannot rotate itself, which would otherwise let an attacker take over the installation and lock the partner out. The previous credential intentionally stays valid so in-flight requests keep working. Retiring it is a separate, explicit operation — a partner is never left mid-rotation without a working credential. */
|
|
2683
|
+
export const rotateInstallationCredential: API.OperationMethod<
|
|
2684
|
+
RotateInstallationCredentialRequest,
|
|
2685
|
+
RotateInstallationCredentialResponse,
|
|
2686
|
+
RotateInstallationCredentialError,
|
|
2687
|
+
VercelOpContext
|
|
2688
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2689
|
+
input: RotateInstallationCredentialRequest,
|
|
2690
|
+
output: RotateInstallationCredentialResponse,
|
|
2691
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict],
|
|
2692
|
+
protocol: VercelProtocol,
|
|
2693
|
+
retry: Retry.Retry,
|
|
2694
|
+
}));
|
|
2695
|
+
|
|
2471
2696
|
export type SubmitBillingDataError =
|
|
2472
2697
|
| BadRequest
|
|
2473
2698
|
| Forbidden
|
|
@@ -2546,7 +2771,10 @@ export const updateInstallation: API.OperationMethod<
|
|
|
2546
2771
|
}));
|
|
2547
2772
|
|
|
2548
2773
|
export type UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdError =
|
|
2549
|
-
|
|
2774
|
+
| BadRequest
|
|
2775
|
+
| Forbidden
|
|
2776
|
+
| NotFound
|
|
2777
|
+
| VercelOpError;
|
|
2550
2778
|
/** Patch an existing experimentation item Patch an existing experimentation item */
|
|
2551
2779
|
export const updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemId: API.OperationMethod<
|
|
2552
2780
|
UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest,
|