@distilled.cloud/xata 1.0.0-rc.13 → 1.0.0-rc.14

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.
@@ -1,6 +1,6 @@
1
+ import * as API from "@distilled.cloud/core/api";
1
2
  import * as S from "@distilled.cloud/core/schema";
2
3
  import * as Redacted from "effect/Redacted";
3
- import * as API from "@distilled.cloud/core/api";
4
4
  import { type XataOpError, type XataOpContext } from "../protocol.ts";
5
5
  export type { XataOpError, XataOpContext };
6
6
  declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
@@ -176,6 +176,39 @@ export interface BranchMetrics {
176
176
  results: BranchMetricsResultsList;
177
177
  }
178
178
  export declare const BranchMetrics: S.Schema<BranchMetrics>;
179
+ export interface ClaimOrganizationSSODomainRequest {
180
+ /** Unique identifier for a specific organization */
181
+ organizationID: string;
182
+ /** Bare email domain to claim, for example acme.com. */
183
+ domain: string;
184
+ }
185
+ export declare const ClaimOrganizationSSODomainRequest: S.Schema<ClaimOrganizationSSODomainRequest>;
186
+ /** The DNS TXT record that proves an organization controls a domain */
187
+ export interface OrganizationSSODomainVerification {
188
+ /** Name to create the record at */
189
+ record_name: string;
190
+ /** DNS record type */
191
+ record_type: string;
192
+ /** Value the record must hold */
193
+ record_value: string;
194
+ }
195
+ export declare const OrganizationSSODomainVerification: S.Schema<OrganizationSSODomainVerification>;
196
+ /** An email domain claimed by an organization for SSO */
197
+ export interface OrganizationSSODomain {
198
+ /** The claimed email domain */
199
+ domain: string;
200
+ /** The alias an identity provider on this domain will be given. Derived from the organization and the domain, so it is known before the provider exists, which is what lets a client show the redirect URI to register with the provider up front. */
201
+ provider_alias: string;
202
+ /** Whether control of the domain has been proven through DNS */
203
+ verified: boolean;
204
+ /** The DNS record that proves control of the domain. It must stay published while the domain is verified. */
205
+ verification?: OrganizationSSODomainVerification | null;
206
+ /** When the daily recheck first found the record missing from a verified domain. */
207
+ missing_since?: string | null;
208
+ /** When the domain stops being verified if the record is still missing. */
209
+ revokes_at?: string | null;
210
+ }
211
+ export declare const OrganizationSSODomain: S.Schema<OrganizationSSODomain>;
179
212
  export interface CreateBillingCheckoutSessionRequest {
180
213
  /** Unique identifier for a specific organization */
181
214
  organizationID: string;
@@ -222,7 +255,7 @@ export interface CreateBranchRequest {
222
255
  projectID: string;
223
256
  /** Human-readable name for the new branch */
224
257
  name: string;
225
- /** Optional description for the branch purpose or contents (max 50 characters) */
258
+ /** Optional description for the branch purpose or contents. An empty string is stored as no description. */
226
259
  description?: string;
227
260
  scaleToZero?: ScaleToZeroConfiguration;
228
261
  backupConfiguration?: BackupConfiguration;
@@ -405,16 +438,55 @@ export interface CreateOrganizationAPIKeyResponse {
405
438
  key: FullAPIKey;
406
439
  }
407
440
  export declare const CreateOrganizationAPIKeyResponse: S.Schema<CreateOrganizationAPIKeyResponse>;
441
+ /** The roles a member of an organization can hold */
442
+ export type OrganizationRoleName = "admin" | "editor";
443
+ export declare const OrganizationRoleName: any;
408
444
  export interface CreateOrganizationInvitationRequest {
409
445
  /** Unique identifier for a specific organization */
410
446
  organizationID: string;
411
447
  /** Email address of the user to invite */
412
448
  email: string;
449
+ /** Role the user holds once they accept the invitation. Optional; when omitted, the least privileged role offered applies */
450
+ role?: OrganizationRoleName | (string & {});
413
451
  }
414
452
  export declare const CreateOrganizationInvitationRequest: S.Schema<CreateOrganizationInvitationRequest>;
415
453
  export interface CreateOrganizationInvitationResponse {
416
454
  }
417
455
  export declare const CreateOrganizationInvitationResponse: S.Schema<CreateOrganizationInvitationResponse>;
456
+ /** Which identity provider this is. `google` pins the login to a Google Workspace domain and `microsoft` to a single Entra tenant, taken from the issuer; `oidc` is the fallback for anything else that speaks OpenID Connect. */
457
+ export type OrganizationSSOProviderType = "google" | "microsoft" | "oidc";
458
+ export declare const OrganizationSSOProviderType: any;
459
+ export interface CreateOrganizationSSOProviderRequest {
460
+ /** Unique identifier for a specific organization */
461
+ organizationID: string;
462
+ type: OrganizationSSOProviderType | (string & {});
463
+ /** The verified email domain this provider will serve. */
464
+ domain: string;
465
+ /** OIDC issuer URL. Required for `oidc`, and for `microsoft` where it names the Entra tenant; ignored for `google`. Must be https, and must serve a /.well-known/openid-configuration document naming itself as the issuer. */
466
+ issuer?: string;
467
+ /** OAuth client ID the organization registered with the provider */
468
+ client_id: string;
469
+ /** OAuth client secret. Write-only: it is stored in Keycloak and is never returned by this API. */
470
+ client_secret: string | Redacted.Redacted<string>;
471
+ }
472
+ export declare const CreateOrganizationSSOProviderRequest: S.Schema<CreateOrganizationSSOProviderRequest>;
473
+ /** An identity provider serving one of the organization's verified domains. The client secret is write-only and is never returned. */
474
+ export interface OrganizationSSOProvider {
475
+ /** Stable identifier for this provider, used in its own endpoints. */
476
+ alias: string;
477
+ type: OrganizationSSOProviderType;
478
+ /** Name members see for this provider when signing in. */
479
+ display_name: string;
480
+ /** The verified email domain this provider serves. Empty while the domain is not verified. */
481
+ domain: string;
482
+ /** Whether members on this domain are sent to this provider automatically, leaving no other way in. Registering a provider does not set this; it is enabled separately. */
483
+ enforced: boolean;
484
+ /** OIDC issuer URL, without the /.well-known suffix. */
485
+ issuer?: string;
486
+ /** OAuth client ID the organization registered with the provider. */
487
+ client_id: string;
488
+ }
489
+ export declare const OrganizationSSOProvider: S.Schema<OrganizationSSOProvider>;
418
490
  /** Whether the project branches are configured to scale down to zero when not in use */
419
491
  export interface ProjectScaleToZeroConfiguration {
420
492
  baseBranches: ScaleToZeroConfiguration;
@@ -556,6 +628,26 @@ export declare const DeleteOrganizationInvitationRequest: S.Schema<DeleteOrganiz
556
628
  export interface DeleteOrganizationInvitationResponse {
557
629
  }
558
630
  export declare const DeleteOrganizationInvitationResponse: S.Schema<DeleteOrganizationInvitationResponse>;
631
+ export interface DeleteOrganizationSSODomainRequest {
632
+ /** Unique identifier for a specific organization */
633
+ organizationID: string;
634
+ /** Email domain claimed for SSO */
635
+ domain: string;
636
+ }
637
+ export declare const DeleteOrganizationSSODomainRequest: S.Schema<DeleteOrganizationSSODomainRequest>;
638
+ export interface DeleteOrganizationSSODomainResponse {
639
+ }
640
+ export declare const DeleteOrganizationSSODomainResponse: S.Schema<DeleteOrganizationSSODomainResponse>;
641
+ export interface DeleteOrganizationSSOProviderRequest {
642
+ /** Unique identifier for a specific organization */
643
+ organizationID: string;
644
+ /** Alias identifying one of the organization's SSO identity providers */
645
+ providerAlias: string;
646
+ }
647
+ export declare const DeleteOrganizationSSOProviderRequest: S.Schema<DeleteOrganizationSSOProviderRequest>;
648
+ export interface DeleteOrganizationSSOProviderResponse {
649
+ }
650
+ export declare const DeleteOrganizationSSOProviderResponse: S.Schema<DeleteOrganizationSSOProviderResponse>;
559
651
  export interface DeleteProjectRequest {
560
652
  /** Unique identifier of the organization containing the project */
561
653
  organizationID: string;
@@ -566,6 +658,16 @@ export declare const DeleteProjectRequest: S.Schema<DeleteProjectRequest>;
566
658
  export interface DeleteProjectResponse {
567
659
  }
568
660
  export declare const DeleteProjectResponse: S.Schema<DeleteProjectResponse>;
661
+ export interface DeleteResourceRequest {
662
+ /** Vercel installation id (icfg_...). */
663
+ installationId: string;
664
+ /** Vercel resource id. */
665
+ resourceId: string;
666
+ }
667
+ export declare const DeleteResourceRequest: S.Schema<DeleteResourceRequest>;
668
+ export interface DeleteResourceResponse {
669
+ }
670
+ export declare const DeleteResourceResponse: S.Schema<DeleteResourceResponse>;
569
671
  /** Array of API key IDs to delete (maximum 50 keys per request) */
570
672
  export type DeleteUserAPIKeysRequestIdsList = Array<string>;
571
673
  export declare const DeleteUserAPIKeysRequestIdsList: S.Schema<DeleteUserAPIKeysRequestIdsList>;
@@ -918,23 +1020,6 @@ export interface PostgresConfigDetails {
918
1020
  parameters: PostgresConfigDetailsParametersList;
919
1021
  }
920
1022
  export declare const PostgresConfigDetails: S.Schema<PostgresConfigDetails>;
921
- export interface GetDefaultProjectLimitsRequest {
922
- /** Unique identifier of the organization to get project limits for */
923
- organizationID: string;
924
- }
925
- export declare const GetDefaultProjectLimitsRequest: S.Schema<GetDefaultProjectLimitsRequest>;
926
- /** Resource limits and constraints for projects within an organization */
927
- export interface ProjectLimits {
928
- /** Maximum number of database instances allowed per branch */
929
- maxInstances: number;
930
- /** Minimum number of database instances required per branch */
931
- minInstances: number;
932
- /** Maximum character length allowed for project descriptions */
933
- maxDescriptionLength: number;
934
- /** Maximum number of branches allowed per project */
935
- maxBranches: number;
936
- }
937
- export declare const ProjectLimits: S.Schema<ProjectLimits>;
938
1023
  export interface GetGithubRepositoryRequest {
939
1024
  /** Unique identifier of the organization */
940
1025
  organizationID: string;
@@ -981,8 +1066,8 @@ export interface OrganizationInvitation {
981
1066
  expires_at: string;
982
1067
  /** Current status of the invitation */
983
1068
  status: OrganizationInvitationStatus;
984
- /** URL link to accept the invitation */
985
- invite_link?: string;
1069
+ /** Role the user holds once they accept the invitation */
1070
+ role: OrganizationRoleName;
986
1071
  }
987
1072
  export declare const OrganizationInvitation: S.Schema<OrganizationInvitation>;
988
1073
  export interface GetOrganizationLimitsRequest {
@@ -991,7 +1076,7 @@ export interface GetOrganizationLimitsRequest {
991
1076
  }
992
1077
  export declare const GetOrganizationLimitsRequest: S.Schema<GetOrganizationLimitsRequest>;
993
1078
  export interface GetOrganizationLimitsResponse {
994
- /** Maximum character length allowed for project descriptions */
1079
+ /** Maximum character length allowed for branch descriptions */
995
1080
  maxDescriptionLength: number;
996
1081
  /** Maximum number of branches allowed per project */
997
1082
  maxBranchesPerProject: number;
@@ -1046,6 +1131,25 @@ export interface GetOrganizationsListResponse {
1046
1131
  organizations: GetOrganizationsListResponseOrganizationsList;
1047
1132
  }
1048
1133
  export declare const GetOrganizationsListResponse: S.Schema<GetOrganizationsListResponse>;
1134
+ export interface GetOrganizationSSORequest {
1135
+ /** Unique identifier for a specific organization */
1136
+ organizationID: string;
1137
+ }
1138
+ export declare const GetOrganizationSSORequest: S.Schema<GetOrganizationSSORequest>;
1139
+ /** Identity providers registered for this organization, at most one per verified domain. */
1140
+ export type OrganizationSSOProvidersList = Array<OrganizationSSOProvider>;
1141
+ export declare const OrganizationSSOProvidersList: S.Schema<OrganizationSSOProvidersList>;
1142
+ /** Email domains claimed for this organization, verified and pending. */
1143
+ export type OrganizationSSODomainsList = Array<OrganizationSSODomain>;
1144
+ export declare const OrganizationSSODomainsList: S.Schema<OrganizationSSODomainsList>;
1145
+ /** An organization's single sign-on setup, as one identity provider per verified email domain. */
1146
+ export interface OrganizationSSO {
1147
+ /** Identity providers registered for this organization, at most one per verified domain. */
1148
+ providers: OrganizationSSOProvidersList;
1149
+ /** Email domains claimed for this organization, verified and pending. */
1150
+ domains: OrganizationSSODomainsList;
1151
+ }
1152
+ export declare const OrganizationSSO: S.Schema<OrganizationSSO>;
1049
1153
  export interface GetProjectRequest {
1050
1154
  /** Unique identifier of the organization containing the project */
1051
1155
  organizationID: string;
@@ -1062,7 +1166,7 @@ export interface GetProjectLimitsRequest {
1062
1166
  export declare const GetProjectLimitsRequest: S.Schema<GetProjectLimitsRequest>;
1063
1167
  /** Full set of resource limits applicable to a project and its branches */
1064
1168
  export interface EffectiveProjectLimits {
1065
- /** Maximum character length allowed for project descriptions */
1169
+ /** Maximum character length allowed for branch descriptions */
1066
1170
  maxDescriptionLength: number;
1067
1171
  /** Maximum number of branches allowed per project */
1068
1172
  maxBranchesPerProject: number;
@@ -1078,6 +1182,32 @@ export interface EffectiveProjectLimits {
1078
1182
  maxStorageGBPerBranch: number;
1079
1183
  }
1080
1184
  export declare const EffectiveProjectLimits: S.Schema<EffectiveProjectLimits>;
1185
+ export interface GetResourceRequest {
1186
+ /** Vercel installation id (icfg_...). */
1187
+ installationId: string;
1188
+ /** Vercel resource id. */
1189
+ resourceId: string;
1190
+ }
1191
+ export declare const GetResourceRequest: S.Schema<GetResourceRequest>;
1192
+ /** User-inputted metadata based on the registered metadata schema. */
1193
+ export type ResourceMetadataMap = {
1194
+ [key: string]: unknown | undefined;
1195
+ };
1196
+ export declare const ResourceMetadataMap: S.Schema<ResourceMetadataMap>;
1197
+ /** A provisioned Vercel Marketplace resource. Matches Vercel's Partner API "Get Resource" response. Secrets/connection info are returned by Provision Resource, not here. The optional billingPlan, protocolSettings, and notification fields are not yet populated. */
1198
+ export interface Resource {
1199
+ /** The partner-specific resource id. */
1200
+ id: string;
1201
+ /** The partner-specific product id/slug. */
1202
+ productId: string;
1203
+ /** User-inputted resource name. */
1204
+ name: string;
1205
+ /** User-inputted metadata based on the registered metadata schema. */
1206
+ metadata: ResourceMetadataMap;
1207
+ /** Resource lifecycle status. One of Vercel's values: ready, pending, onboarding, suspended, resumed, uninstalled, error. */
1208
+ status: string;
1209
+ }
1210
+ export declare const Resource: S.Schema<Resource>;
1081
1211
  /** GitHub webhook event payload */
1082
1212
  export type GithubWebhookRequestBodyMap = {
1083
1213
  [key: string]: unknown | undefined;
@@ -1105,6 +1235,61 @@ export interface ListBackupsResponse {
1105
1235
  backups: ListBackupsResponseBackupsList;
1106
1236
  }
1107
1237
  export declare const ListBackupsResponse: S.Schema<ListBackupsResponse>;
1238
+ export interface ListBillingPlansForProductRequest {
1239
+ /** Vercel product slug (e.g. xata-postgres). */
1240
+ productSlug: string;
1241
+ /** Opaque metadata forwarded by Vercel. */
1242
+ metadata?: string;
1243
+ }
1244
+ export declare const ListBillingPlansForProductRequest: S.Schema<ListBillingPlansForProductRequest>;
1245
+ export interface PlanDetail {
1246
+ label: string;
1247
+ value?: string;
1248
+ }
1249
+ export declare const PlanDetail: S.Schema<PlanDetail>;
1250
+ export type BillingPlanDetailsList = Array<PlanDetail>;
1251
+ export declare const BillingPlanDetailsList: S.Schema<BillingPlanDetailsList>;
1252
+ export type BillingPlanHighlightedDetailsList = Array<PlanDetail>;
1253
+ export declare const BillingPlanHighlightedDetailsList: S.Schema<BillingPlanHighlightedDetailsList>;
1254
+ export interface PlanQuoteLine {
1255
+ line: string;
1256
+ amount: string;
1257
+ }
1258
+ export declare const PlanQuoteLine: S.Schema<PlanQuoteLine>;
1259
+ export type BillingPlanQuoteList = Array<PlanQuoteLine>;
1260
+ export declare const BillingPlanQuoteList: S.Schema<BillingPlanQuoteList>;
1261
+ /** A Vercel Marketplace billing plan. Billing SKU only; it does not change Xata entitlements. */
1262
+ export interface BillingPlan {
1263
+ /** Partner-provided billing plan id. */
1264
+ id: string;
1265
+ /** Plan type: "subscription" or "prepayment". */
1266
+ type: string;
1267
+ name: string;
1268
+ description: string;
1269
+ /** Plan scope; installation-level plans require enablement on the integration. */
1270
+ scope?: string;
1271
+ /** Subscription plans only. false means the plan is completely free. */
1272
+ paymentMethodRequired?: boolean;
1273
+ /** Subscription + paymentMethodRequired. Amount used to test the payment method; never charged. */
1274
+ preauthorizationAmount?: number;
1275
+ /** Subscription + paymentMethodRequired. Amount invoiced immediately at sign-up (decimal USD string). */
1276
+ initialCharge?: string;
1277
+ /** Display cost for fixed-cost plans, e.g. "$20.00/month". Omitted for usage-based plans. */
1278
+ cost?: string;
1279
+ details?: BillingPlanDetailsList;
1280
+ highlightedDetails?: BillingPlanHighlightedDetailsList;
1281
+ quote?: BillingPlanQuoteList;
1282
+ effectiveDate?: string;
1283
+ disabled?: boolean;
1284
+ }
1285
+ export declare const BillingPlan: S.Schema<BillingPlan>;
1286
+ export type ListBillingPlansResponsePlansList = Array<BillingPlan>;
1287
+ export declare const ListBillingPlansResponsePlansList: S.Schema<ListBillingPlansResponsePlansList>;
1288
+ /** The billing plans available for a product. */
1289
+ export interface ListBillingPlansResponse {
1290
+ plans: ListBillingPlansResponsePlansList;
1291
+ }
1292
+ export declare const ListBillingPlansResponse: S.Schema<ListBillingPlansResponse>;
1108
1293
  export interface ListBranchesRequest {
1109
1294
  /** Unique identifier of the organization containing the project */
1110
1295
  organizationID: string;
@@ -1324,20 +1509,43 @@ export interface ListOrganizationMembersRequest {
1324
1509
  organizationID: string;
1325
1510
  }
1326
1511
  export declare const ListOrganizationMembersRequest: S.Schema<ListOrganizationMembersRequest>;
1327
- export interface UserWithID {
1512
+ /** A member of an organization and the role they hold in it */
1513
+ export interface OrganizationMember {
1328
1514
  /** Email address associated with the user account */
1329
1515
  email: string;
1330
1516
  /** Name of the user */
1331
1517
  name: string;
1332
1518
  id: string;
1519
+ role: OrganizationRoleName;
1333
1520
  }
1334
- export declare const UserWithID: S.Schema<UserWithID>;
1335
- export type ListOrganizationMembersResponseMembersList = Array<UserWithID>;
1521
+ export declare const OrganizationMember: S.Schema<OrganizationMember>;
1522
+ export type ListOrganizationMembersResponseMembersList = Array<OrganizationMember>;
1336
1523
  export declare const ListOrganizationMembersResponseMembersList: S.Schema<ListOrganizationMembersResponseMembersList>;
1337
1524
  export interface ListOrganizationMembersResponse {
1338
1525
  members: ListOrganizationMembersResponseMembersList;
1339
1526
  }
1340
1527
  export declare const ListOrganizationMembersResponse: S.Schema<ListOrganizationMembersResponse>;
1528
+ export interface ListOrganizationRolesRequest {
1529
+ /** Unique identifier for a specific organization */
1530
+ organizationID: string;
1531
+ }
1532
+ export declare const ListOrganizationRolesRequest: S.Schema<ListOrganizationRolesRequest>;
1533
+ /** A role that can be held by a member of an organization */
1534
+ export interface OrganizationRole {
1535
+ /** Stable identifier for the role */
1536
+ id: OrganizationRoleName;
1537
+ /** Human-readable name of the role */
1538
+ name: string;
1539
+ /** What the role allows */
1540
+ description: string;
1541
+ }
1542
+ export declare const OrganizationRole: S.Schema<OrganizationRole>;
1543
+ export type ListOrganizationRolesResponseRolesList = Array<OrganizationRole>;
1544
+ export declare const ListOrganizationRolesResponseRolesList: S.Schema<ListOrganizationRolesResponseRolesList>;
1545
+ export interface ListOrganizationRolesResponse {
1546
+ roles: ListOrganizationRolesResponseRolesList;
1547
+ }
1548
+ export declare const ListOrganizationRolesResponse: S.Schema<ListOrganizationRolesResponse>;
1341
1549
  export interface ListProjectsRequest {
1342
1550
  /** Unique identifier of the organization to list projects from */
1343
1551
  organizationID: string;
@@ -1357,7 +1565,7 @@ export interface ListRegionsRequest {
1357
1565
  }
1358
1566
  export declare const ListRegionsRequest: S.Schema<ListRegionsRequest>;
1359
1567
  /** Cloud provider the region runs on */
1360
- export type ListRegionsResponseRegionsItemProvider = "aws" | "gcp" | "custom";
1568
+ export type ListRegionsResponseRegionsItemProvider = "aws" | "gcp" | "azure" | "custom";
1361
1569
  export declare const ListRegionsResponseRegionsItemProvider: any;
1362
1570
  export interface ListRegionsResponseRegionsItem {
1363
1571
  /** Unique identifier for the region */
@@ -1403,6 +1611,67 @@ export declare const OrbWebhookRequest: S.Schema<OrbWebhookRequest>;
1403
1611
  export interface OrbWebhookResponse {
1404
1612
  }
1405
1613
  export declare const OrbWebhookResponse: S.Schema<OrbWebhookResponse>;
1614
+ /** User-inputted metadata based on the registered metadata schema. */
1615
+ export type ProvisionResourceRequestMetadataMap = {
1616
+ [key: string]: unknown | undefined;
1617
+ };
1618
+ export declare const ProvisionResourceRequestMetadataMap: S.Schema<ProvisionResourceRequestMetadataMap>;
1619
+ export interface ProvisionResourceRequest {
1620
+ /** Vercel installation id (icfg_...). */
1621
+ installationId: string;
1622
+ /** The partner-specific product id/slug. */
1623
+ productId: string;
1624
+ /** User-inputted resource name. */
1625
+ name: string;
1626
+ /** User-inputted metadata based on the registered metadata schema. */
1627
+ metadata: ProvisionResourceRequestMetadataMap;
1628
+ /** Selected Vercel billing plan id. */
1629
+ billingPlanId: string;
1630
+ /** Partner-provided identifier indicating the source of provisioning. */
1631
+ externalId?: string;
1632
+ }
1633
+ export declare const ProvisionResourceRequest: S.Schema<ProvisionResourceRequest>;
1634
+ /** User-inputted metadata based on the registered metadata schema. */
1635
+ export type ProvisionedResourceMetadataMap = {
1636
+ [key: string]: unknown | undefined;
1637
+ };
1638
+ export declare const ProvisionedResourceMetadataMap: S.Schema<ProvisionedResourceMetadataMap>;
1639
+ /** Per-environment values that override value for that Vercel environment. */
1640
+ export interface SecretEnvironmentOverrides {
1641
+ development?: string;
1642
+ preview?: string;
1643
+ production?: string;
1644
+ }
1645
+ export declare const SecretEnvironmentOverrides: S.Schema<SecretEnvironmentOverrides>;
1646
+ /** A connection secret exposed as an environment variable on connected Vercel projects. */
1647
+ export interface Secret {
1648
+ /** Environment variable name. */
1649
+ name: string;
1650
+ /** Default value, used when no per-environment override applies. */
1651
+ value: string;
1652
+ /** Per-environment values that override value for that Vercel environment. */
1653
+ environmentOverrides?: SecretEnvironmentOverrides;
1654
+ }
1655
+ export declare const Secret: S.Schema<Secret>;
1656
+ /** Connection secrets that become environment variables on connected projects. */
1657
+ export type ProvisionedResourceSecretsList = Array<Secret>;
1658
+ export declare const ProvisionedResourceSecretsList: S.Schema<ProvisionedResourceSecretsList>;
1659
+ /** A newly provisioned resource: the Resource fields plus the connection secrets. Provision Resource is the only endpoint that returns secrets. */
1660
+ export interface ProvisionedResource {
1661
+ /** The partner-specific resource id. */
1662
+ id: string;
1663
+ /** The partner-specific product id/slug. */
1664
+ productId: string;
1665
+ /** User-inputted resource name. */
1666
+ name: string;
1667
+ /** User-inputted metadata based on the registered metadata schema. */
1668
+ metadata: ProvisionedResourceMetadataMap;
1669
+ /** Resource lifecycle status. One of Vercel's values: ready, pending, onboarding, suspended, resumed, uninstalled, error. */
1670
+ status: string;
1671
+ /** Connection secrets that become environment variables on connected projects. */
1672
+ secrets: ProvisionedResourceSecretsList;
1673
+ }
1674
+ export declare const ProvisionedResource: S.Schema<ProvisionedResource>;
1406
1675
  /** Positional parameters for the query (`$1`, `$2`, ...). */
1407
1676
  export type QueryRequestParamsList = Array<unknown>;
1408
1677
  export declare const QueryRequestParamsList: S.Schema<QueryRequestParamsList>;
@@ -1439,7 +1708,7 @@ export interface FieldDefinition {
1439
1708
  name: string;
1440
1709
  /** OID of the source table (0 if not a table column). */
1441
1710
  tableID: number;
1442
- /** Attribute number of the column within the table. */
1711
+ /** Attribute number of the column within the table (0 if not a table column, negative for system columns). */
1443
1712
  columnID: number;
1444
1713
  /** OID of the column data type. */
1445
1714
  dataTypeID: number;
@@ -1618,6 +1887,26 @@ export interface JSONRPCResponse {
1618
1887
  error?: JSONRPCError;
1619
1888
  }
1620
1889
  export declare const JSONRPCResponse: S.Schema<JSONRPCResponse>;
1890
+ export interface SetOrganizationMemberRoleRequest {
1891
+ /** Unique identifier for a specific organization */
1892
+ organizationID: string;
1893
+ /** Unique identifier for a specific user account */
1894
+ userID: string;
1895
+ role: OrganizationRoleName | (string & {});
1896
+ }
1897
+ export declare const SetOrganizationMemberRoleRequest: S.Schema<SetOrganizationMemberRoleRequest>;
1898
+ export interface SetOrganizationMemberRoleResponse {
1899
+ }
1900
+ export declare const SetOrganizationMemberRoleResponse: S.Schema<SetOrganizationMemberRoleResponse>;
1901
+ export interface SetOrganizationSSOProviderEnforcementRequest {
1902
+ /** Unique identifier for a specific organization */
1903
+ organizationID: string;
1904
+ /** Alias identifying one of the organization's SSO identity providers */
1905
+ providerAlias: string;
1906
+ /** Enable to send every address on the domain to this provider. Disable to let members sign in however they could before. */
1907
+ enforced: boolean;
1908
+ }
1909
+ export declare const SetOrganizationSSOProviderEnforcementRequest: S.Schema<SetOrganizationSSOProviderEnforcementRequest>;
1621
1910
  /** Stripe webhook event payload */
1622
1911
  export type StripeWebhookRequestBodyMap = {
1623
1912
  [key: string]: unknown | undefined;
@@ -1653,7 +1942,7 @@ export interface UpdateBranchRequest {
1653
1942
  branchID: string;
1654
1943
  /** New name for the branch */
1655
1944
  name?: string;
1656
- /** New description for the branch (max 50 characters) */
1945
+ /** New description for the branch. Send an empty string to clear it. */
1657
1946
  description?: string;
1658
1947
  /** Number of database replicas to scale to */
1659
1948
  replicas?: number;
@@ -1702,6 +1991,19 @@ export interface UpdateOrganizationRequest {
1702
1991
  name?: string;
1703
1992
  }
1704
1993
  export declare const UpdateOrganizationRequest: S.Schema<UpdateOrganizationRequest>;
1994
+ export interface UpdateOrganizationSSOProviderRequest {
1995
+ /** Unique identifier for a specific organization */
1996
+ organizationID: string;
1997
+ /** Alias identifying one of the organization's SSO identity providers */
1998
+ providerAlias: string;
1999
+ /** OIDC issuer URL. Required for `oidc`, and for `microsoft` where it names the Entra tenant; ignored for `google`. */
2000
+ issuer?: string;
2001
+ /** OAuth client ID the organization registered with the provider */
2002
+ client_id: string;
2003
+ /** OAuth client secret. Write-only: it is stored in Keycloak and is never returned by this API. */
2004
+ client_secret: string | Redacted.Redacted<string>;
2005
+ }
2006
+ export declare const UpdateOrganizationSSOProviderRequest: S.Schema<UpdateOrganizationSSOProviderRequest>;
1705
2007
  /** Partial configuration update for a project */
1706
2008
  export interface UpdateProjectConfiguration {
1707
2009
  scaleToZero?: ProjectScaleToZeroConfiguration;
@@ -1763,6 +2065,13 @@ export declare const UpsertInstallationRequest: S.Schema<UpsertInstallationReque
1763
2065
  export interface UpsertInstallationResponse {
1764
2066
  }
1765
2067
  export declare const UpsertInstallationResponse: S.Schema<UpsertInstallationResponse>;
2068
+ export interface VerifyOrganizationSSODomainRequest {
2069
+ /** Unique identifier for a specific organization */
2070
+ organizationID: string;
2071
+ /** Email domain claimed for SSO */
2072
+ domain: string;
2073
+ }
2074
+ export declare const VerifyOrganizationSSODomainRequest: S.Schema<VerifyOrganizationSSODomainRequest>;
1766
2075
  export interface WebsocketRequest {
1767
2076
  }
1768
2077
  export declare const WebsocketRequest: S.Schema<WebsocketRequest>;
@@ -1775,6 +2084,9 @@ export declare const branchLogs2: API.OperationMethod<BranchLogsRequest, BranchL
1775
2084
  export type BranchMetrics2Error = BadRequest | NotFound | XataOpError;
1776
2085
  /** Retrieve branch metrics Returns time-series data for one or more metrics of a branch. */
1777
2086
  export declare const branchMetrics2: API.OperationMethod<BranchMetricsRequest, BranchMetrics, BranchMetrics2Error, XataOpContext>;
2087
+ export type ClaimOrganizationSSODomainError = BadRequest | Forbidden | Conflict | XataOpError;
2088
+ /** Claim an email domain for SSO Claims an email domain and returns the DNS record that proves control of it. A claim is only a note to ourselves: nothing is registered against the domain until verification succeeds, so claiming a domain neither affects anyone's sign-in nor stops another organization claiming it first. A domain another organization has already registered is refused with 409, before any DNS record is published. */
2089
+ export declare const claimOrganizationSSODomain: API.OperationMethod<ClaimOrganizationSSODomainRequest, OrganizationSSODomain, ClaimOrganizationSSODomainError, XataOpContext>;
1778
2090
  export type CreateBillingCheckoutSessionError = BadRequest | Forbidden | XataOpError;
1779
2091
  /** Create a billing checkout session Creates a Stripe checkout session used to activate card billing for an organization. */
1780
2092
  export declare const createBillingCheckoutSession: API.OperationMethod<CreateBillingCheckoutSessionRequest, BillingCheckoutSessionResponse, CreateBillingCheckoutSessionError, XataOpContext>;
@@ -1799,6 +2111,9 @@ export declare const createOrganizationAPIKey: API.OperationMethod<CreateOrganiz
1799
2111
  export type CreateOrganizationInvitationError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
1800
2112
  /** Send an invitation to join an organization Send an invitation email to a user to join an organization. */
1801
2113
  export declare const createOrganizationInvitation: API.OperationMethod<CreateOrganizationInvitationRequest, CreateOrganizationInvitationResponse, CreateOrganizationInvitationError, XataOpContext>;
2114
+ export type CreateOrganizationSSOProviderError = BadRequest | Forbidden | Conflict | XataOpError;
2115
+ /** Register an identity provider for a verified domain Registers an identity provider for one verified domain. `google` needs only the credentials and pins the login to that Google Workspace domain; `microsoft` pins it to the Entra tenant in the issuer; `oidc` is the fallback for any other provider and discovers its endpoints from the issuer's `/.well-known/openid-configuration`. The domain must already be verified, and registering does not redirect anyone on its own: that is enabled separately. */
2116
+ export declare const createOrganizationSSOProvider: API.OperationMethod<CreateOrganizationSSOProviderRequest, OrganizationSSOProvider, CreateOrganizationSSOProviderError, XataOpContext>;
1802
2117
  export type CreateProjectError = BadRequest | XataOpError;
1803
2118
  /** Create a new project Creates a new project within the specified organization. Projects are containers for database branches and resources. */
1804
2119
  export declare const createProject: API.OperationMethod<CreateProjectRequest, Project, CreateProjectError, XataOpContext>;
@@ -1823,9 +2138,18 @@ export declare const deleteOrganizationAPIKeys: API.OperationMethod<DeleteOrgani
1823
2138
  export type DeleteOrganizationInvitationError = BadRequest | Forbidden | NotFound | XataOpError;
1824
2139
  /** Delete an invitation Permanently delete an invitation record. */
1825
2140
  export declare const deleteOrganizationInvitation: API.OperationMethod<DeleteOrganizationInvitationRequest, DeleteOrganizationInvitationResponse, DeleteOrganizationInvitationError, XataOpContext>;
2141
+ export type DeleteOrganizationSSODomainError = Forbidden | Conflict | XataOpError;
2142
+ /** Release a claimed or verified domain Drops a pending claim, or releases a verified domain so members on it sign in however they could before. Refused with a 409 while the organization has a provider for the domain; remove the provider first. Idempotent. */
2143
+ export declare const deleteOrganizationSSODomain: API.OperationMethod<DeleteOrganizationSSODomainRequest, DeleteOrganizationSSODomainResponse, DeleteOrganizationSSODomainError, XataOpContext>;
2144
+ export type DeleteOrganizationSSOProviderError = Forbidden | XataOpError;
2145
+ /** Remove an identity provider Deletes the provider, so members on its domain fall back to the sign-in methods they had before. The domain stays verified and can be given another provider. Idempotent. */
2146
+ export declare const deleteOrganizationSSOProvider: API.OperationMethod<DeleteOrganizationSSOProviderRequest, DeleteOrganizationSSOProviderResponse, DeleteOrganizationSSOProviderError, XataOpContext>;
1826
2147
  export type DeleteProjectError = BadRequest | NotFound | XataOpError;
1827
2148
  /** Delete a project Permanently deletes a specific project by its ID and all associated resources including branches and databases. This action cannot be undone. */
1828
2149
  export declare const deleteProject: API.OperationMethod<DeleteProjectRequest, DeleteProjectResponse, DeleteProjectError, XataOpContext>;
2150
+ export type DeleteResourceError = Forbidden | NotFound | XataOpError;
2151
+ /** Delete a Vercel Marketplace resource Deprovision a resource (its Xata project and branches) and mark the tracking records deleting. Vercel calls this when a customer removes a resource. Idempotent: a resource already being torn down is deprovisioned again harmlessly; a resource that no longer exists returns 404. */
2152
+ export declare const deleteResource: API.OperationMethod<DeleteResourceRequest, DeleteResourceResponse, DeleteResourceError, XataOpContext>;
1829
2153
  export type DeleteUserAPIKeysError = BadRequest | NotFound | XataOpError;
1830
2154
  /** Bulk delete API Keys for the authenticated user Delete multiple API keys in a single request. */
1831
2155
  export declare const deleteUserAPIKeys: API.OperationMethod<DeleteUserAPIKeysRequest, DeleteUserAPIKeysResponse, DeleteUserAPIKeysError, XataOpContext>;
@@ -1850,9 +2174,6 @@ export declare const getBranchCredentials: API.OperationMethod<GetBranchCredenti
1850
2174
  export type GetBranchPostgresConfigError = BadRequest | NotFound | XataOpError;
1851
2175
  /** Get PostgreSQL configuration details Retrieves detailed information about the current PostgreSQL configuration parameters for a branch, including parameter types, descriptions, acceptable ranges, default values, and current values. */
1852
2176
  export declare const getBranchPostgresConfig: API.OperationMethod<GetBranchPostgresConfigRequest, PostgresConfigDetails, GetBranchPostgresConfigError, XataOpContext>;
1853
- export type GetDefaultProjectLimitsError = XataOpError;
1854
- /** Get project resource limits Retrieves the default resource limits for projects in the specified organization, including maximum instances, storage, and allowed regions. */
1855
- export declare const getDefaultProjectLimits: API.OperationMethod<GetDefaultProjectLimitsRequest, ProjectLimits, GetDefaultProjectLimitsError, XataOpContext>;
1856
2177
  export type GetGithubRepositoryError = BadRequest | XataOpError;
1857
2178
  /** Get GitHub repository for branch Returns the GitHub repository mapping for the specified branch. */
1858
2179
  export declare const getGithubRepository: API.OperationMethod<GetGithubRepositoryRequest, GetGithubRepositoryResponse, GetGithubRepositoryError, XataOpContext>;
@@ -1871,18 +2192,27 @@ export declare const getOrganizationMembershipLimits: API.OperationMethod<GetOrg
1871
2192
  export type GetOrganizationsListError = BadRequest | NotFound | XataOpError;
1872
2193
  /** Get list of organizations Retrieve the list of all organizations the authenticated user belongs to, including their IDs and names. This endpoint allows users to view all organizations they have access to. */
1873
2194
  export declare const getOrganizationsList: API.OperationMethod<GetOrganizationsListRequest, GetOrganizationsListResponse, GetOrganizationsListError, XataOpContext>;
2195
+ export type GetOrganizationSSOError = Forbidden | XataOpError;
2196
+ /** Get the organization's SSO configuration Lists the organization's identity providers and the email domains claimed for them. An organization signs in through one provider per verified domain, so both are collections. Client secrets are write-only and are never returned. An organization that has not set anything up yet responds 200 with empty lists. */
2197
+ export declare const getOrganizationSSO: API.OperationMethod<GetOrganizationSSORequest, OrganizationSSO, GetOrganizationSSOError, XataOpContext>;
1874
2198
  export type GetProjectError = BadRequest | NotFound | XataOpError;
1875
2199
  /** Get project details Retrieves detailed information about a specific project by its ID within the specified organization. */
1876
2200
  export declare const getProject: API.OperationMethod<GetProjectRequest, Project, GetProjectError, XataOpContext>;
1877
2201
  export type GetProjectLimitsError = XataOpError;
1878
2202
  /** Get project resource limits Retrieves the effective resource limits for the specified project, merging organization-level overrides with any project-specific overrides. */
1879
2203
  export declare const getProjectLimits: API.OperationMethod<GetProjectLimitsRequest, EffectiveProjectLimits, GetProjectLimitsError, XataOpContext>;
2204
+ export type GetResourceError = Forbidden | NotFound | XataOpError;
2205
+ /** Get a Vercel Marketplace resource Return a provisioned resource. Scoped to the installation in the signed token; a resource owned by another installation is reported as not found. */
2206
+ export declare const getResource: API.OperationMethod<GetResourceRequest, Resource, GetResourceError, XataOpContext>;
1880
2207
  export type GithubWebhookError = BadRequest | XataOpError;
1881
2208
  /** GitHub App webhook Endpoint used by GitHub to deliver App webhook events. This endpoint is authenticated via GitHub's HMAC-SHA256 signature header, not via the normal API authentication. */
1882
2209
  export declare const githubWebhook: API.OperationMethod<GithubWebhookRequest, GithubWebhookResponse, GithubWebhookError, XataOpContext>;
1883
2210
  export type ListBackupsError = BadRequest | NotFound | XataOpError;
1884
2211
  /** List project backups Retrieves a list of backups for the specified project. */
1885
2212
  export declare const listBackups: API.OperationMethod<ListBackupsRequest, ListBackupsResponse, ListBackupsError, XataOpContext>;
2213
+ export type ListBillingPlansForProductError = BadRequest | Forbidden | NotFound | XataOpError;
2214
+ /** List billing plans for a product Return the product's available billing plans, rendered into Vercel's billingPlan shape. Vercel calls this to show plans when a customer creates a resource; it may be called before any installation exists, so the signed token can carry no installation or account id. Plans are billing SKUs only and do not change Xata entitlements (every Vercel org is T2). */
2215
+ export declare const listBillingPlansForProduct: API.OperationMethod<ListBillingPlansForProductRequest, ListBillingPlansResponse, ListBillingPlansForProductError, XataOpContext>;
1886
2216
  export type ListBranchesError = BadRequest | NotFound | XataOpError;
1887
2217
  /** List all branches Retrieves a list of all branches within the specified project, including their metadata, region, and access settings. */
1888
2218
  export declare const listBranches: API.OperationMethod<ListBranchesRequest, ListBranchesResponse, ListBranchesError, XataOpContext>;
@@ -1907,6 +2237,9 @@ export declare const listOrganizationInvitations: API.OperationMethod<ListOrgani
1907
2237
  export type ListOrganizationMembersError = XataOpError;
1908
2238
  /** List members of an organization */
1909
2239
  export declare const listOrganizationMembers: API.OperationMethod<ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationMembersError, XataOpContext>;
2240
+ export type ListOrganizationRolesError = Forbidden | NotFound | XataOpError;
2241
+ /** List the roles assignable in an organization Roles are predefined. Every member of an organization holds exactly one. */
2242
+ export declare const listOrganizationRoles: API.OperationMethod<ListOrganizationRolesRequest, ListOrganizationRolesResponse, ListOrganizationRolesError, XataOpContext>;
1910
2243
  export type ListProjectsError = BadRequest | XataOpError;
1911
2244
  /** List all projects Retrieves a list of all projects within the specified organization that the authenticated user has access to. */
1912
2245
  export declare const listProjects: API.OperationMethod<ListProjectsRequest, ListProjectsResponse, ListProjectsError, XataOpContext>;
@@ -1919,13 +2252,16 @@ export declare const listUserAPIKeys: API.OperationMethod<ListUserAPIKeysRequest
1919
2252
  export type OrbWebhookError = BadRequest | XataOpError;
1920
2253
  /** Orb billing webhook Endpoint used by Orb to deliver billing-related webhook events. This endpoint is authenticated via Orb's HMAC signature headers, not via the normal API authentication. */
1921
2254
  export declare const orbWebhook: API.OperationMethod<OrbWebhookRequest, OrbWebhookResponse, OrbWebhookError, XataOpContext>;
2255
+ export type ProvisionResourceError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
2256
+ /** Provision a Vercel Marketplace resource Create a resource (a Xata project and its branches) and return it with the connection secrets. Vercel calls this when a customer creates a resource. Idempotent when an Idempotency-Key header is sent: a retry with the same key returns the existing resource unchanged, and reusing the key with a different body is a conflict (409). Without the header there is no stable key, so each call provisions a new resource. */
2257
+ export declare const provisionResource: API.OperationMethod<ProvisionResourceRequest, ProvisionedResource, ProvisionResourceError, XataOpContext>;
1922
2258
  export type QueryError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
1923
2259
  /** Execute SQL query Execute a single SQL query or a batch of queries against a PostgreSQL branch. **Authentication:** send the branch's PostgreSQL connection string in the `Connection-String` header. The control-plane API key (Bearer token) is **not** accepted on the gateway host. **Routing:** the target branch, region, and endpoint type are taken from the hostname embedded in the connection string, which must match the request host. See the `Connection-String` security scheme for the host format. **Single query:** provide `query` (and optional `params`) at the top level. **Batch:** provide `queries` as an array of query objects, or send the request body as a JSON array. Batch queries execute within a single transaction. */
1924
2260
  export declare const query: API.OperationMethod<QueryRequest, QueryResponse, QueryError, XataOpContext>;
1925
2261
  export type RegisterMarketplaceError = BadRequest | Conflict | XataOpError;
1926
2262
  /** Register with a cloud marketplace Links the authenticated user to a cloud marketplace subscription. Only one marketplace registration is allowed per user. */
1927
2263
  export declare const registerMarketplace: API.OperationMethod<RegisterMarketplaceRequest, RegisterMarketplaceResponse, RegisterMarketplaceError, XataOpContext>;
1928
- export type RemoveOrganizationMemberError = XataOpError;
2264
+ export type RemoveOrganizationMemberError = BadRequest | Conflict | XataOpError;
1929
2265
  /** Remove a member from an organization */
1930
2266
  export declare const removeOrganizationMember: API.OperationMethod<RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, RemoveOrganizationMemberError, XataOpContext>;
1931
2267
  export type RequestOrganizationDeletionError = BadRequest | Forbidden | Conflict | XataOpError;
@@ -1943,6 +2279,12 @@ export declare const rotateBranchCredentials: API.OperationMethod<RotateBranchCr
1943
2279
  export type SendMcpRequestError = BadRequest | XataOpError;
1944
2280
  /** Send an MCP message Handle a single JSON-RPC 2.0 message from an MCP client, per the MCP [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports). The server is stateless: every request is self-contained and carries the caller's credential, so there is no session to establish or resume. `GET` and `DELETE` on this path return `405 Method Not Allowed`. **Requests** (messages with an `id`) are answered with the JSON-RPC response, either as `application/json` or as a `text/event-stream` carrying the response and any notifications emitted while it runs. Requests must accept both. **Notifications and responses** (messages without an `id`) are answered with `202 Accepted` and an empty body. */
1945
2281
  export declare const sendMcpRequest: API.OperationMethod<SendMcpRequestRequest, JSONRPCResponse, SendMcpRequestError, XataOpContext>;
2282
+ export type SetOrganizationMemberRoleError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
2283
+ /** Set the role of an organization member Replaces the member's current role. An organization always retains at least one Admin. */
2284
+ export declare const setOrganizationMemberRole: API.OperationMethod<SetOrganizationMemberRoleRequest, SetOrganizationMemberRoleResponse, SetOrganizationMemberRoleError, XataOpContext>;
2285
+ export type SetOrganizationSSOProviderEnforcementError = Forbidden | NotFound | Conflict | XataOpError;
2286
+ /** Require members on this provider's domain to sign in through it Enabling sends every address on the provider's domain to it, leaving those members no other way in. Refused with a 409 until the domain is verified. Disabling needs nothing, so the way out is always open. */
2287
+ export declare const setOrganizationSSOProviderEnforcement: API.OperationMethod<SetOrganizationSSOProviderEnforcementRequest, OrganizationSSOProvider, SetOrganizationSSOProviderEnforcementError, XataOpContext>;
1946
2288
  export type StripeWebhookError = BadRequest | XataOpError;
1947
2289
  /** Stripe webhook Endpoint used by Stripe to deliver webhook events. This endpoint is authenticated via Stripe's signature headers, not via the normal API authentication. */
1948
2290
  export declare const stripeWebhook: API.OperationMethod<StripeWebhookRequest, StripeWebhookResponse, StripeWebhookError, XataOpContext>;
@@ -1961,12 +2303,18 @@ export declare const updateGithubRepository: API.OperationMethod<UpdateGithubRep
1961
2303
  export type UpdateOrganizationError = BadRequest | Forbidden | NotFound | XataOpError;
1962
2304
  /** Update organization details Update information for an existing organization, such as its name. */
1963
2305
  export declare const updateOrganization: API.OperationMethod<UpdateOrganizationRequest, Organization, UpdateOrganizationError, XataOpContext>;
2306
+ export type UpdateOrganizationSSOProviderError = BadRequest | Forbidden | NotFound | Conflict | XataOpError;
2307
+ /** Update an identity provider's credentials Replaces the provider's credentials, and for `oidc` re-discovers its endpoints from the issuer. The domain it serves and whether it is enforced are carried across unchanged, so rotating a client secret does not quietly turn enforcement off. A provider whose domain stopped being verified is refused until the domain verifies again. */
2308
+ export declare const updateOrganizationSSOProvider: API.OperationMethod<UpdateOrganizationSSOProviderRequest, OrganizationSSOProvider, UpdateOrganizationSSOProviderError, XataOpContext>;
1964
2309
  export type UpdateProjectError = BadRequest | NotFound | XataOpError;
1965
2310
  /** Update project details Updates the details of a specific project by its ID, such as changing its name. */
1966
2311
  export declare const updateProject: API.OperationMethod<UpdateProjectRequest, Project, UpdateProjectError, XataOpContext>;
1967
2312
  export type UpsertInstallationError = BadRequest | Forbidden | Conflict | XataOpError;
1968
2313
  /** Upsert a Vercel Marketplace installation Create or update an installation. Vercel sends this when a customer installs (or re-sends it idempotently). The acting account is taken from the signed token claims, not this body. There is one installation per Vercel team, and an installation can own many Xata organizations. */
1969
2314
  export declare const upsertInstallation: API.OperationMethod<UpsertInstallationRequest, UpsertInstallationResponse, UpsertInstallationError, XataOpContext>;
2315
+ export type VerifyOrganizationSSODomainError = Forbidden | NotFound | Conflict | XataOpError;
2316
+ /** Check the DNS record for a claimed domain Looks up the challenge TXT record. Verification is a poll, not a command: a missing or stale record is reported as `verified: false` on a 200 rather than as an error, so a client can retry while DNS propagates. Verifying a domain that lost its verification restores its provider, with enforcement off. */
2317
+ export declare const verifyOrganizationSSODomain: API.OperationMethod<VerifyOrganizationSSODomainRequest, OrganizationSSODomain, VerifyOrganizationSSODomainError, XataOpContext>;
1970
2318
  export type WebsocketError = BadRequest | XataOpError;
1971
2319
  /** WebSocket wire protocol proxy Upgrade to a WebSocket connection that proxies the PostgreSQL wire protocol. The client sends and receives PostgreSQL protocol messages over binary WebSocket frames. **Authentication:** the same branch connection string credential as the HTTP SQL endpoint is used, but it is supplied via the PostgreSQL startup message inside the wire protocol rather than an HTTP header. The control-plane API key (Bearer token) is not accepted. */
1972
2320
  export declare const websocket: API.OperationMethod<WebsocketRequest, WebsocketResponse, WebsocketError, XataOpContext>;