@workos-inc/widgets 1.17.1 → 1.17.2-next.1788288181219

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.
@@ -55,6 +55,18 @@ type Scalars = {
55
55
  output: any;
56
56
  };
57
57
  };
58
+ /** A short-lived link that starts an Admin Portal session for the token’s organization, scoped to a single setup flow. */
59
+ type AdminPortalLink = {
60
+ __typename?: "AdminPortalLink";
61
+ /** When the link stops being redeemable. */
62
+ expiresAt: Scalars["DateTime"]["output"];
63
+ /** The setup flow the link is scoped to. */
64
+ intent: AdminPortalLinkIntent;
65
+ /** The Admin Portal URL to send the user to. It carries a bearer capability, so treat it as a secret and redirect immediately. */
66
+ link: Scalars["String"]["output"];
67
+ };
68
+ /** The Admin Portal setup flow a link is scoped to. */
69
+ type AdminPortalLinkIntent = "DomainVerification" | "LogStreams" | "Sso";
58
70
  /** All other sessions were revoked successfully. */
59
71
  type AllSessionsRevoked = {
60
72
  __typename?: "AllSessionsRevoked";
@@ -108,6 +120,22 @@ type AuditLogExport = {
108
120
  url?: Maybe<Scalars["String"]["output"]>;
109
121
  };
110
122
  type AuditLogExportState = "Error" | "Expired" | "Pending" | "Ready";
123
+ /** The audit log stream destination configured for the token's organization. Exposes status metadata only; destination settings and credentials are never included. */
124
+ type AuditLogStream = {
125
+ __typename?: "AuditLogStream";
126
+ auditLogTrailId: Scalars["ID"]["output"];
127
+ /** The most recent delivery error message, if any. */
128
+ errorMessage?: Maybe<Scalars["String"]["output"]>;
129
+ id: Scalars["ID"]["output"];
130
+ /** The ID of the last audit log event delivered to the stream. */
131
+ lastSyncedEventId?: Maybe<Scalars["String"]["output"]>;
132
+ state: AuditLogStreamState;
133
+ type: AuditLogStreamType;
134
+ };
135
+ /** The delivery state of an audit log stream. */
136
+ type AuditLogStreamState = "Active" | "Error" | "Inactive" | "Invalid";
137
+ /** The destination provider audit log events are streamed to. */
138
+ type AuditLogStreamType = "AzureSentinel" | "Datadog" | "GenericHttps" | "GoogleCloudStorage" | "S3" | "Snowflake" | "Splunk";
111
139
  /** The authentication methods the environment allows, and the password policy it enforces. Distinct from what the authenticated user has set up, which lives on `me`. */
112
140
  type AuthenticationSettings = {
113
141
  __typename?: "AuthenticationSettings";
@@ -129,6 +157,17 @@ type ConfirmEmailChangeInput = {
129
157
  elevatedAccessToken: Scalars["String"]["input"];
130
158
  };
131
159
  type ConfirmEmailChangeResult = EmailChangeCodeExpired | EmailChangeCodeIncorrect | EmailChangeCodePreviouslyUsed | EmailChangeConfirmed | EmailChangeTooManyAttempts | EmailManagedByProvider | EmailNotAvailable | IdentityVerificationExpired | IdentityVerificationInvalid | InvalidEmail | NoPendingEmailChange;
160
+ type ConnectDataProviderResult = DataProviderAuthMethodUnsupported | DataProviderConfigInvalid | DataProviderConnected | DataProviderConnectionAuthMethodConflict;
161
+ type ConnectDataProviderWithClientCredentialsInput = {
162
+ /** The OAuth client ID issued by the data provider. Only data providers whose `authMethods` include `client_credentials` can be connected this way. */
163
+ clientId: Scalars["String"]["input"];
164
+ /** The OAuth client secret issued by the data provider. Write-only: it is stored encrypted and never returned. */
165
+ clientSecret: Scalars["String"]["input"];
166
+ /** Values for the provider’s connection configuration fields. */
167
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
168
+ /** The data provider to connect the authenticated user to. */
169
+ dataProviderId: Scalars["ID"]["input"];
170
+ };
132
171
  /** An OAuth profile linked to the authenticated user. */
133
172
  type ConnectedAccount = {
134
173
  __typename?: "ConnectedAccount";
@@ -171,12 +210,27 @@ type CreateAuditLogExportInput = {
171
210
  targetTypes?: InputMaybe<Array<Scalars["String"]["input"]>>;
172
211
  };
173
212
  type CreateAuditLogExportResult = AuditLogExport | InvalidAuditLogExportDateRange | NoAuditEventsFound;
213
+ type CreateDataProviderAuthorizationInput = {
214
+ /** Values for the provider’s connect-time configuration fields. Omit when the provider declares none. */
215
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
216
+ /** The data provider to authorize for the authenticated user. It must be one the user can connect (`dataProviders`). */
217
+ dataProviderId: Scalars["ID"]["input"];
218
+ /** Request a confirmation step at the end of the flow, returning a `handoffToken` the client must complete. Defaults to false. */
219
+ requireHandoff?: InputMaybe<Scalars["Boolean"]["input"]>;
220
+ };
221
+ type CreateDataProviderAuthorizationResult = DataProviderAuthorization | DataProviderAuthorizationUnavailable | DataProviderConfigInvalid;
174
222
  type CreateDataProviderConnectionInput = {
175
223
  /** The API key issued by the data provider. Only data providers whose `authMethods` include `api_key` can be connected this way; OAuth providers are connected through the widget's authorization flow. */
176
224
  apiKey: Scalars["String"]["input"];
177
225
  /** The data provider to connect the authenticated user to. */
178
226
  dataProviderId: Scalars["ID"]["input"];
179
227
  };
228
+ type CreateOrganizationDataProviderAuthorizationInput = {
229
+ /** Values for the provider’s connect-time configuration fields. Omit when the provider declares none. */
230
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
231
+ /** The organization-owned data provider to authorize (`organizationDataProviders`). */
232
+ dataProviderId: Scalars["ID"]["input"];
233
+ };
180
234
  /** Input for setting a password on an account that does not yet have one (e.g. signed up via OAuth). */
181
235
  type CreatePasswordInput = {
182
236
  /** An elevated access token obtained by verifying the current email address. Required to prove recent re-authentication. */
@@ -236,6 +290,83 @@ type DataProvider = {
236
290
  state: Scalars["String"]["output"];
237
291
  updatedAt: Scalars["DateTime"]["output"];
238
292
  };
293
+ /** The data provider cannot be connected the requested way — for example client credentials for a provider that only supports OAuth. */
294
+ type DataProviderAuthMethodUnsupported = {
295
+ __typename?: "DataProviderAuthMethodUnsupported";
296
+ /** The unsupported auth method that was requested. */
297
+ authMethod: Scalars["String"]["output"];
298
+ /** The auth methods the data provider does support. */
299
+ supportedAuthMethods: Array<Scalars["String"]["output"]>;
300
+ };
301
+ /** A started authorization: the URL to open and the state to poll while the user completes it. */
302
+ type DataProviderAuthorization = {
303
+ __typename?: "DataProviderAuthorization";
304
+ /** Present when the flow ends on a confirmation step the client must complete instead of finishing silently. Always present for organization-scoped authorization. */
305
+ handoffToken?: Maybe<Scalars["String"]["output"]>;
306
+ /** One-time token the interstitial URL is keyed by. Retained so a client can correlate the popup it opened. */
307
+ redirectToken: Scalars["String"]["output"];
308
+ /** The OAuth `state` for this attempt. Poll `dataProviderAuthorizationStatus` with it to observe completion. */
309
+ state: Scalars["String"]["output"];
310
+ /** The WorkOS interstitial URL to open in the popup. It redirects to the provider once, then expires. */
311
+ url: Scalars["String"]["output"];
312
+ };
313
+ /** Whether an authorization attempt is still in progress. */
314
+ type DataProviderAuthorizationStatus = {
315
+ __typename?: "DataProviderAuthorizationStatus";
316
+ /** True while the attempt is outstanding. It becomes false once the provider callback has been handled or the attempt expired, so a client that sees false reloads the connection to learn the outcome. */
317
+ connecting: Scalars["Boolean"]["output"];
318
+ /** The `state` that was polled. */
319
+ state: Scalars["String"]["output"];
320
+ };
321
+ /** The data provider cannot start an authorization right now — most often because the organization has not supplied its own OAuth credentials yet. */
322
+ type DataProviderAuthorizationUnavailable = {
323
+ __typename?: "DataProviderAuthorizationUnavailable";
324
+ message: Scalars["String"]["output"];
325
+ };
326
+ /** A non-secret configuration value set on a data provider. */
327
+ type DataProviderConfigEntry = {
328
+ __typename?: "DataProviderConfigEntry";
329
+ /** The configuration field declared by the provider. */
330
+ name: Scalars["String"]["output"];
331
+ /** The value set for the field. */
332
+ value: Scalars["String"]["output"];
333
+ };
334
+ type DataProviderConfigEntryInput = {
335
+ /** The configuration field declared by the provider. */
336
+ name: Scalars["String"]["input"];
337
+ /** The value to set for the field. */
338
+ value: Scalars["String"]["input"];
339
+ };
340
+ /** The supplied configuration does not satisfy the provider’s declared fields. */
341
+ type DataProviderConfigInvalid = {
342
+ __typename?: "DataProviderConfigInvalid";
343
+ /** Which field is missing, unknown, or malformed. Names the field so a client can highlight it. */
344
+ message: Scalars["String"]["output"];
345
+ };
346
+ /** A data provider's configuration for the token's organization, excluding secret values. */
347
+ type DataProviderConfiguration = {
348
+ __typename?: "DataProviderConfiguration";
349
+ /** Every scope the organization may request. Only populated for providers where the organization brings its own OAuth credentials; empty otherwise. */
350
+ availableScopes: Array<Scalars["String"]["output"]>;
351
+ config: Array<DataProviderConfigEntry>;
352
+ /** The data provider being configured. */
353
+ dataProviderId: Scalars["ID"]["output"];
354
+ dataProviderSlug: Scalars["String"]["output"];
355
+ /** Whether the organization's users can see and connect the data provider. */
356
+ enabled: Scalars["Boolean"]["output"];
357
+ /** Whether the organization has supplied its own OAuth client credentials. Always false for a provider whose credentials the developer manages. The values themselves are never returned. */
358
+ hasCredentials: Scalars["Boolean"]["output"];
359
+ /** The organization the configuration applies to. */
360
+ organizationId: Scalars["ID"]["output"];
361
+ /** The scopes the organization requests, or null to use the provider defaults. */
362
+ scopes?: Maybe<Array<Scalars["String"]["output"]>>;
363
+ updatedAt: Scalars["DateTime"]["output"];
364
+ };
365
+ /** The connection was created or its credentials were replaced. */
366
+ type DataProviderConnected = {
367
+ __typename?: "DataProviderConnected";
368
+ connection: DataProviderConnection;
369
+ };
239
370
  /** A connection between a data provider and the authenticated user's account. */
240
371
  type DataProviderConnection = {
241
372
  __typename?: "DataProviderConnection";
@@ -255,6 +386,12 @@ type DataProviderConnection = {
255
386
  updatedAt: Scalars["DateTime"]["output"];
256
387
  userId?: Maybe<Scalars["ID"]["output"]>;
257
388
  };
389
+ /** The user already has a connection to this data provider that authenticates differently, so it must be disconnected first. */
390
+ type DataProviderConnectionAuthMethodConflict = {
391
+ __typename?: "DataProviderConnectionAuthMethodConflict";
392
+ /** How the existing connection authenticates. */
393
+ existingAuthMethod: Scalars["String"]["output"];
394
+ };
258
395
  type DataProviderConnectionList = {
259
396
  __typename?: "DataProviderConnectionList";
260
397
  data: Array<DataProviderConnection>;
@@ -551,9 +688,17 @@ type Mutation = {
551
688
  assignPermissionToRole: Role;
552
689
  /** Confirms an email change using the verification code sent to the new email address. Requires an elevated access token from `verifyCurrentEmail`. */
553
690
  confirmEmailChange: ConfirmEmailChangeResult;
691
+ /** Connect the authenticated user to a data provider with OAuth client credentials the user supplies. Replaces the credentials when the user already has a client-credentials connection to the data provider, so this is both the connect and the reconnect path. The credentials are stored encrypted and never returned. */
692
+ connectDataProviderWithClientCredentials: ConnectDataProviderResult;
693
+ /** Mint a short-lived link that starts an Admin Portal session for the token's organization, scoped to a single setup flow. */
694
+ createAdminPortalLink: AdminPortalLink;
554
695
  createAuditLogExport: CreateAuditLogExportResult;
696
+ /** Start an OAuth authorization connecting the authenticated user to a data provider. Returns the URL to open in a popup and the `state` to poll with `dataProviderAuthorizationStatus`. Re-authorizing a provider the user is already connected to replaces that connection's credentials once the flow completes, so this is also the reconnect path. */
697
+ createDataProviderAuthorization: CreateDataProviderAuthorizationResult;
555
698
  /** Connect the authenticated user to a data provider with an API key the user supplies. Replaces the API key when the user already has an API-key connection to the data provider. */
556
699
  createDataProviderConnection: DataProviderConnection;
700
+ /** Start an OAuth authorization connecting the token's organization to an organization-owned data provider, producing one connection shared by every member. A handoff is always required: the member completing the flow must confirm it explicitly because the resulting connection is not their own. */
701
+ createOrganizationDataProviderAuthorization: CreateDataProviderAuthorizationResult;
557
702
  /** Add a domain to the token's organization and begin DNS verification. */
558
703
  createOrganizationDomain: OrganizationDomain;
559
704
  /** Set a password for the authenticated user who does not yet have one (e.g. signed up via OAuth). Validates against the environment password policy. */
@@ -592,6 +737,8 @@ type Mutation = {
592
737
  sendEmailChange: SendEmailChangeResult;
593
738
  /** Sends a verification code to the user's current email address to prove ownership before changing email. */
594
739
  sendVerificationCode: SendVerificationCodeResult;
740
+ /** Write a data provider's configuration for the token's organization: whether the organization's members can connect it, the scopes it requests, the organization's own OAuth client credentials, and any non-secret configuration values the provider declares. Fields left out are unchanged. Supersedes `setDataProviderEnabled` for anything beyond toggling `enabled`. */
741
+ setDataProviderConfiguration: SetDataProviderConfigurationResult;
595
742
  /** Enable or disable a data provider for the token's organization. Disabling it hides the data provider from the organization's users and stops new connections; existing connections stay readable so they can be disconnected. */
596
743
  setDataProviderEnabled: DataProvider;
597
744
  /** Update an organization member's roles within the organization the token was issued for. When multiple roles are enabled, all provided role slugs are assigned; otherwise only the first is used. */
@@ -615,12 +762,24 @@ type MutationAssignPermissionToRoleArgs = {
615
762
  type MutationConfirmEmailChangeArgs = {
616
763
  input: ConfirmEmailChangeInput;
617
764
  };
765
+ type MutationConnectDataProviderWithClientCredentialsArgs = {
766
+ input: ConnectDataProviderWithClientCredentialsInput;
767
+ };
768
+ type MutationCreateAdminPortalLinkArgs = {
769
+ intent: AdminPortalLinkIntent;
770
+ };
618
771
  type MutationCreateAuditLogExportArgs = {
619
772
  input: CreateAuditLogExportInput;
620
773
  };
774
+ type MutationCreateDataProviderAuthorizationArgs = {
775
+ input: CreateDataProviderAuthorizationInput;
776
+ };
621
777
  type MutationCreateDataProviderConnectionArgs = {
622
778
  input: CreateDataProviderConnectionInput;
623
779
  };
780
+ type MutationCreateOrganizationDataProviderAuthorizationArgs = {
781
+ input: CreateOrganizationDataProviderAuthorizationInput;
782
+ };
624
783
  type MutationCreateOrganizationDomainArgs = {
625
784
  domain: Scalars["String"]["input"];
626
785
  };
@@ -672,6 +831,9 @@ type MutationRevokeSessionArgs = {
672
831
  type MutationSendEmailChangeArgs = {
673
832
  input: SendEmailChangeInput;
674
833
  };
834
+ type MutationSetDataProviderConfigurationArgs = {
835
+ input: SetDataProviderConfigurationInput;
836
+ };
675
837
  type MutationSetDataProviderEnabledArgs = {
676
838
  input: SetDataProviderEnabledInput;
677
839
  };
@@ -728,6 +890,30 @@ type OrganizationBlockedFromSendingInvites = {
728
890
  /** Placeholder field to allow an empty @ObjectType. */
729
891
  _placeholder?: Maybe<Scalars["Boolean"]["output"]>;
730
892
  };
893
+ /** A data provider the token's organization connects on behalf of all its members. */
894
+ type OrganizationDataProvider = {
895
+ __typename?: "OrganizationDataProvider";
896
+ authMethods: Array<Scalars["String"]["output"]>;
897
+ /** The organization's single shared connection, when it has authorized this data provider. */
898
+ connection?: Maybe<DataProviderConnection>;
899
+ createdAt: Scalars["DateTime"]["output"];
900
+ description?: Maybe<Scalars["String"]["output"]>;
901
+ enabled: Scalars["Boolean"]["output"];
902
+ /** Whether the organization has supplied its own OAuth client credentials for this data provider. Always false for a provider whose credentials the developer manages. */
903
+ hasCredentials: Scalars["Boolean"]["output"];
904
+ id: Scalars["ID"]["output"];
905
+ integrationType: Scalars["String"]["output"];
906
+ name: Scalars["String"]["output"];
907
+ scopes?: Maybe<Array<Scalars["String"]["output"]>>;
908
+ slug: Scalars["String"]["output"];
909
+ state: Scalars["String"]["output"];
910
+ updatedAt: Scalars["DateTime"]["output"];
911
+ };
912
+ type OrganizationDataProviderList = {
913
+ __typename?: "OrganizationDataProviderList";
914
+ data: Array<OrganizationDataProvider>;
915
+ listMetadata: ListMetadata;
916
+ };
731
917
  /** A domain belonging to the organization the token was issued for. */
732
918
  type OrganizationDomain = {
733
919
  __typename?: "OrganizationDomain";
@@ -882,6 +1068,11 @@ type Permission = {
882
1068
  system: Scalars["Boolean"]["output"];
883
1069
  updatedAt: Scalars["DateTime"]["output"];
884
1070
  };
1071
+ type PermissionList = {
1072
+ __typename?: "PermissionList";
1073
+ data: Array<Permission>;
1074
+ listMetadata: ListMetadata;
1075
+ };
885
1076
  /** The profile was updated successfully. */
886
1077
  type ProfileUpdated = {
887
1078
  __typename?: "ProfileUpdated";
@@ -892,12 +1083,16 @@ type Query = {
892
1083
  auditEvent: AuditEvent;
893
1084
  auditEvents: AuditEventList;
894
1085
  auditLogExport: AuditLogExport;
1086
+ /** The audit log stream destination configured for the token's organization, or null when no stream is configured. */
1087
+ auditLogStream?: Maybe<AuditLogStream>;
895
1088
  /** The authentication methods the environment allows and the password policy it enforces. Requires a session token. */
896
1089
  authenticationSettings: AuthenticationSettings;
897
1090
  /** Placeholder query for the Client GraphQL API scaffold. Returns a static value and is replaced by real resolvers. */
898
1091
  clientApiStatus: Scalars["String"]["output"];
899
1092
  /** Return a data provider by ID within the token's environment. */
900
1093
  dataProvider: DataProvider;
1094
+ /** Report whether an authorization attempt is still outstanding. Poll this with the `state` returned when the authorization was created while the popup is open; it flips to `connecting: false` once the provider callback has been handled or the attempt expired. */
1095
+ dataProviderAuthorizationStatus: DataProviderAuthorizationStatus;
901
1096
  /** Return one of the authenticated user's data provider connections by ID. */
902
1097
  dataProviderConnection: DataProviderConnection;
903
1098
  /** List the authenticated user's data provider connections, including their status. */
@@ -926,6 +1121,8 @@ type Query = {
926
1121
  me: User;
927
1122
  /** Returns an organization by ID within the token's environment. */
928
1123
  organization: Organization;
1124
+ /** List the data providers the token's organization connects on behalf of all its members, with the organization's shared connection when it has one. */
1125
+ organizationDataProviders: OrganizationDataProviderList;
929
1126
  /** Return a domain by ID within the token's organization, including its verification status. */
930
1127
  organizationDomain: OrganizationDomain;
931
1128
  /** List the domains belonging to the organization the token was issued for. */
@@ -937,7 +1134,7 @@ type Query = {
937
1134
  /** List registered passkeys for the authenticated user. Requires a session token. */
938
1135
  passkeys: Array<Passkey>;
939
1136
  /** List the permissions defined in the environment the token was issued for. */
940
- permissions: Array<Permission>;
1137
+ permissions: PermissionList;
941
1138
  /** Fetch a single role available to the organization the token was issued for. */
942
1139
  role?: Maybe<Role>;
943
1140
  /** List roles available to the organization the token was issued for, with role assignment configuration. */
@@ -967,6 +1164,10 @@ type QueryAuditLogExportArgs = {
967
1164
  type QueryDataProviderArgs = {
968
1165
  id: Scalars["ID"]["input"];
969
1166
  };
1167
+ type QueryDataProviderAuthorizationStatusArgs = {
1168
+ dataProviderId: Scalars["ID"]["input"];
1169
+ state: Scalars["String"]["input"];
1170
+ };
970
1171
  type QueryDataProviderConnectionArgs = {
971
1172
  id: Scalars["ID"]["input"];
972
1173
  };
@@ -1033,6 +1234,12 @@ type QueryFlagsArgs = {
1033
1234
  type QueryOrganizationArgs = {
1034
1235
  id: Scalars["ID"]["input"];
1035
1236
  };
1237
+ type QueryOrganizationDataProvidersArgs = {
1238
+ after?: InputMaybe<Scalars["String"]["input"]>;
1239
+ before?: InputMaybe<Scalars["String"]["input"]>;
1240
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1241
+ order?: InputMaybe<PaginationOrder>;
1242
+ };
1036
1243
  type QueryOrganizationDomainArgs = {
1037
1244
  id: Scalars["ID"]["input"];
1038
1245
  };
@@ -1050,6 +1257,13 @@ type QueryOrganizationMembershipsArgs = {
1050
1257
  roleSlug?: InputMaybe<Scalars["String"]["input"]>;
1051
1258
  search?: InputMaybe<Scalars["String"]["input"]>;
1052
1259
  };
1260
+ type QueryPermissionsArgs = {
1261
+ after?: InputMaybe<Scalars["String"]["input"]>;
1262
+ before?: InputMaybe<Scalars["String"]["input"]>;
1263
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1264
+ order?: InputMaybe<PaginationOrder>;
1265
+ search?: InputMaybe<Scalars["String"]["input"]>;
1266
+ };
1053
1267
  type QueryRoleArgs = {
1054
1268
  id: Scalars["ID"]["input"];
1055
1269
  };
@@ -1171,6 +1385,21 @@ type SessionState = {
1171
1385
  /** Session state: Issued, Revoked, etc. */
1172
1386
  tag: Scalars["String"]["output"];
1173
1387
  };
1388
+ type SetDataProviderConfigurationInput = {
1389
+ /** The organization's own OAuth client ID. Must be supplied together with `clientSecret`. */
1390
+ clientId?: InputMaybe<Scalars["String"]["input"]>;
1391
+ /** The organization's own OAuth client secret. Write-only: it is stored encrypted and never returned; clients read `hasCredentials` instead. */
1392
+ clientSecret?: InputMaybe<Scalars["String"]["input"]>;
1393
+ /** Non-secret configuration values declared by the provider. */
1394
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
1395
+ /** The data provider to configure for the token's organization. Configuration always applies to the token's organization; it cannot be set for another one. */
1396
+ dataProviderId: Scalars["ID"]["input"];
1397
+ /** Whether the organization's users can see and connect the data provider. */
1398
+ enabled?: InputMaybe<Scalars["Boolean"]["input"]>;
1399
+ /** The scopes the organization requests. Only providers where the organization brings its own OAuth credentials may widen beyond the defaults. */
1400
+ scopes?: InputMaybe<Array<Scalars["String"]["input"]>>;
1401
+ };
1402
+ type SetDataProviderConfigurationResult = DataProviderConfigInvalid | DataProviderConfiguration;
1174
1403
  type SetDataProviderEnabledInput = {
1175
1404
  dataProviderId: Scalars["ID"]["input"];
1176
1405
  /** Whether the data provider is available to the organization the token was issued for. */
@@ -1344,4 +1573,4 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
1344
1573
  };
1345
1574
  type Sdk = ReturnType<typeof getSdk>;
1346
1575
 
1347
- export { type AllSessionsRevoked, type AssignPermissionToRoleInput, type AuditEvent, type AuditEventActor, type AuditEventFilterInput, type AuditEventList, type AuditLogExport, type AuditLogExportState, type AuthenticationSettings, ClientApiStatusDocument, type ClientApiStatusQuery, type ClientApiStatusQueryVariables, type ConfirmEmailChangeInput, type ConfirmEmailChangeResult, type ConnectedAccount, type Connection, type ConnectionState, type ConnectionType, type CreateAuditLogExportInput, type CreateAuditLogExportResult, type CreateDataProviderConnectionInput, type CreatePasswordInput, type CreatePasswordResult, type CreateRoleInput, type CreateSsoConnectionInput, type CurrentEmailVerified, type DailyEmailQuotaExceeded, type DataProvider, type DataProviderConnection, type DataProviderConnectionList, type DataProviderList, type DeleteRoleInput, type Directory, type DirectoryGroup, type DirectoryGroupList, type DirectoryList, type DirectoryUser, type DirectoryUserList, type DomainVerificationNameServer, type ElevatedAccessTokenExpired, type ElevatedAccessTokenInvalid, type EmailChangeCodeExpired, type EmailChangeCodeIncorrect, type EmailChangeCodePreviouslyUsed, type EmailChangeConfirmed, type EmailChangeNotAvailable, type EmailChangeSent, type EmailChangeTooManyAttempts, type EmailManagedByProvider, type EmailNotAvailable, type EnrollTotpInput, type EnrollTotpResult, type Exact, type Flag, type FlagList, type IdentityVerificationExpired, type IdentityVerificationInvalid, type IncorrectPassword, type Incremental, type InputMaybe, type InvalidAuditLogExportDateRange, type InvalidEmail, type InvalidInvitationExpiry, type InvalidInviteeEmail, type InvalidInviteeRole, type InvalidLocale, type InvitationNotFound, type InvitationNotPending, type InvitationResent, type InvitationRevoked, type InviteUserInput, type InviteUserResult, type InviteeAlreadyAccepted, type InviteeAlreadyInvited, type InviteeAlreadyMember, type InviteeEmailNotDeliverable, type ListMetadata, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type MemberIsManagedByDirectory, type MemberNotFound, type MemberRemoved, type MemberRoleUpdated, type MfaFactorRemoved, type Mutation, type MutationAssignPermissionToRoleArgs, type MutationConfirmEmailChangeArgs, type MutationCreateAuditLogExportArgs, type MutationCreateDataProviderConnectionArgs, type MutationCreateOrganizationDomainArgs, type MutationCreatePasswordArgs, type MutationCreateRoleArgs, type MutationCreateSsoConnectionArgs, type MutationDeleteDataProviderConnectionArgs, type MutationDeleteOrganizationDomainArgs, type MutationDeleteRoleArgs, type MutationDeleteSsoConnectionArgs, type MutationEnrollTotpArgs, type MutationInviteUserArgs, type MutationRemoveMemberArgs, type MutationRemoveMfaFactorArgs, type MutationResendInvitationArgs, type MutationReverifyOrganizationDomainArgs, type MutationRevokeInvitationArgs, type MutationRevokeSessionArgs, type MutationSendEmailChangeArgs, type MutationSetDataProviderEnabledArgs, type MutationUpdateMemberRoleArgs, type MutationUpdatePasswordArgs, type MutationUpdateProfileArgs, type MutationUpdateRoleArgs, type MutationUpdateSsoConnectionArgs, type MutationVerifyCurrentEmailArgs, type MutationVerifyTotpArgs, type NoAuditEventsFound, type NoMfaFactorsEnrolled, type NoPendingEmailChange, type OAuthProvider, type Organization, type OrganizationBlockedFromSendingInvites, type OrganizationDomain, type OrganizationDomainList, type OrganizationDomainState, type OrganizationInvitation, type OrganizationInvitationStatus, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRole, type OrganizationMemberStatus, type PaginationOrder, type Passkey, type PasswordCharacterType, type PasswordCreated, type PasswordPolicy, type PasswordPolicyViolation, type PasswordUpdated, type PasswordViolation, type Permission, type ProfileUpdated, type Query, type QueryAuditEventArgs, type QueryAuditEventsArgs, type QueryAuditLogExportArgs, type QueryDataProviderArgs, type QueryDataProviderConnectionArgs, type QueryDataProviderConnectionsArgs, type QueryDataProvidersArgs, type QueryDirectoryConnectionArgs, type QueryDirectoryConnectionsArgs, type QueryDirectoryGroupsArgs, type QueryDirectoryUsersArgs, type QueryEffectivePermissionsArgs, type QueryEvaluatedFlagsArgs, type QueryFlagArgs, type QueryFlagBySlugArgs, type QueryFlagsArgs, type QueryOrganizationArgs, type QueryOrganizationDomainArgs, type QueryOrganizationDomainsArgs, type QueryOrganizationMembershipsArgs, type QueryRoleArgs, type QuerySsoConnectionArgs, type QueryUserArgs, type RemoveMemberInput, type RemoveMemberResult, type RemoveMfaFactorInput, type RemoveMfaFactorResult, type ResendInvitationInput, type ResendInvitationNotFound, type ResendInvitationResult, type RevokeAllSessionsResult, type RevokeInvitationInput, type RevokeInvitationResult, type RevokeSessionInput, type RevokeSessionResult, type Role, type RoleDeleted, type RoleNotFound, type RolesResult, type Scalars, type Sdk, type SdkFunctionWrapper, type SendEmailChangeInput, type SendEmailChangeResult, type SendVerificationCodeResult, type Session, type SessionLocation, type SessionNotFound, type SessionRevoked, type SessionState, type SetDataProviderEnabledInput, type TotpAlreadyEnrolled, type TotpFactor, type TotpVerificationFailed, type TotpVerified, type UpdateMemberRoleInput, type UpdateMemberRoleResult, type UpdatePasswordInput, type UpdatePasswordResult, type UpdateProfileInput, type UpdateProfileResult, type UpdateRoleInput, type UpdateSsoConnectionInput, type User, type UserAlreadyHasPassword, type UserInvited, type UserOrganization, type VerificationCodeExpired, type VerificationCodeIncorrect, type VerificationCodePreviouslyUsed, type VerificationCodeSent, type VerificationTooManyAttempts, type VerifyCurrentEmailInput, type VerifyCurrentEmailResult, type VerifyTotpInput, type VerifyTotpResult, getSdk };
1576
+ export { type AdminPortalLink, type AdminPortalLinkIntent, type AllSessionsRevoked, type AssignPermissionToRoleInput, type AuditEvent, type AuditEventActor, type AuditEventFilterInput, type AuditEventList, type AuditLogExport, type AuditLogExportState, type AuditLogStream, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationSettings, ClientApiStatusDocument, type ClientApiStatusQuery, type ClientApiStatusQueryVariables, type ConfirmEmailChangeInput, type ConfirmEmailChangeResult, type ConnectDataProviderResult, type ConnectDataProviderWithClientCredentialsInput, type ConnectedAccount, type Connection, type ConnectionState, type ConnectionType, type CreateAuditLogExportInput, type CreateAuditLogExportResult, type CreateDataProviderAuthorizationInput, type CreateDataProviderAuthorizationResult, type CreateDataProviderConnectionInput, type CreateOrganizationDataProviderAuthorizationInput, type CreatePasswordInput, type CreatePasswordResult, type CreateRoleInput, type CreateSsoConnectionInput, type CurrentEmailVerified, type DailyEmailQuotaExceeded, type DataProvider, type DataProviderAuthMethodUnsupported, type DataProviderAuthorization, type DataProviderAuthorizationStatus, type DataProviderAuthorizationUnavailable, type DataProviderConfigEntry, type DataProviderConfigEntryInput, type DataProviderConfigInvalid, type DataProviderConfiguration, type DataProviderConnected, type DataProviderConnection, type DataProviderConnectionAuthMethodConflict, type DataProviderConnectionList, type DataProviderList, type DeleteRoleInput, type Directory, type DirectoryGroup, type DirectoryGroupList, type DirectoryList, type DirectoryUser, type DirectoryUserList, type DomainVerificationNameServer, type ElevatedAccessTokenExpired, type ElevatedAccessTokenInvalid, type EmailChangeCodeExpired, type EmailChangeCodeIncorrect, type EmailChangeCodePreviouslyUsed, type EmailChangeConfirmed, type EmailChangeNotAvailable, type EmailChangeSent, type EmailChangeTooManyAttempts, type EmailManagedByProvider, type EmailNotAvailable, type EnrollTotpInput, type EnrollTotpResult, type Exact, type Flag, type FlagList, type IdentityVerificationExpired, type IdentityVerificationInvalid, type IncorrectPassword, type Incremental, type InputMaybe, type InvalidAuditLogExportDateRange, type InvalidEmail, type InvalidInvitationExpiry, type InvalidInviteeEmail, type InvalidInviteeRole, type InvalidLocale, type InvitationNotFound, type InvitationNotPending, type InvitationResent, type InvitationRevoked, type InviteUserInput, type InviteUserResult, type InviteeAlreadyAccepted, type InviteeAlreadyInvited, type InviteeAlreadyMember, type InviteeEmailNotDeliverable, type ListMetadata, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type MemberIsManagedByDirectory, type MemberNotFound, type MemberRemoved, type MemberRoleUpdated, type MfaFactorRemoved, type Mutation, type MutationAssignPermissionToRoleArgs, type MutationConfirmEmailChangeArgs, type MutationConnectDataProviderWithClientCredentialsArgs, type MutationCreateAdminPortalLinkArgs, type MutationCreateAuditLogExportArgs, type MutationCreateDataProviderAuthorizationArgs, type MutationCreateDataProviderConnectionArgs, type MutationCreateOrganizationDataProviderAuthorizationArgs, type MutationCreateOrganizationDomainArgs, type MutationCreatePasswordArgs, type MutationCreateRoleArgs, type MutationCreateSsoConnectionArgs, type MutationDeleteDataProviderConnectionArgs, type MutationDeleteOrganizationDomainArgs, type MutationDeleteRoleArgs, type MutationDeleteSsoConnectionArgs, type MutationEnrollTotpArgs, type MutationInviteUserArgs, type MutationRemoveMemberArgs, type MutationRemoveMfaFactorArgs, type MutationResendInvitationArgs, type MutationReverifyOrganizationDomainArgs, type MutationRevokeInvitationArgs, type MutationRevokeSessionArgs, type MutationSendEmailChangeArgs, type MutationSetDataProviderConfigurationArgs, type MutationSetDataProviderEnabledArgs, type MutationUpdateMemberRoleArgs, type MutationUpdatePasswordArgs, type MutationUpdateProfileArgs, type MutationUpdateRoleArgs, type MutationUpdateSsoConnectionArgs, type MutationVerifyCurrentEmailArgs, type MutationVerifyTotpArgs, type NoAuditEventsFound, type NoMfaFactorsEnrolled, type NoPendingEmailChange, type OAuthProvider, type Organization, type OrganizationBlockedFromSendingInvites, type OrganizationDataProvider, type OrganizationDataProviderList, type OrganizationDomain, type OrganizationDomainList, type OrganizationDomainState, type OrganizationInvitation, type OrganizationInvitationStatus, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRole, type OrganizationMemberStatus, type PaginationOrder, type Passkey, type PasswordCharacterType, type PasswordCreated, type PasswordPolicy, type PasswordPolicyViolation, type PasswordUpdated, type PasswordViolation, type Permission, type PermissionList, type ProfileUpdated, type Query, type QueryAuditEventArgs, type QueryAuditEventsArgs, type QueryAuditLogExportArgs, type QueryDataProviderArgs, type QueryDataProviderAuthorizationStatusArgs, type QueryDataProviderConnectionArgs, type QueryDataProviderConnectionsArgs, type QueryDataProvidersArgs, type QueryDirectoryConnectionArgs, type QueryDirectoryConnectionsArgs, type QueryDirectoryGroupsArgs, type QueryDirectoryUsersArgs, type QueryEffectivePermissionsArgs, type QueryEvaluatedFlagsArgs, type QueryFlagArgs, type QueryFlagBySlugArgs, type QueryFlagsArgs, type QueryOrganizationArgs, type QueryOrganizationDataProvidersArgs, type QueryOrganizationDomainArgs, type QueryOrganizationDomainsArgs, type QueryOrganizationMembershipsArgs, type QueryPermissionsArgs, type QueryRoleArgs, type QuerySsoConnectionArgs, type QueryUserArgs, type RemoveMemberInput, type RemoveMemberResult, type RemoveMfaFactorInput, type RemoveMfaFactorResult, type ResendInvitationInput, type ResendInvitationNotFound, type ResendInvitationResult, type RevokeAllSessionsResult, type RevokeInvitationInput, type RevokeInvitationResult, type RevokeSessionInput, type RevokeSessionResult, type Role, type RoleDeleted, type RoleNotFound, type RolesResult, type Scalars, type Sdk, type SdkFunctionWrapper, type SendEmailChangeInput, type SendEmailChangeResult, type SendVerificationCodeResult, type Session, type SessionLocation, type SessionNotFound, type SessionRevoked, type SessionState, type SetDataProviderConfigurationInput, type SetDataProviderConfigurationResult, type SetDataProviderEnabledInput, type TotpAlreadyEnrolled, type TotpFactor, type TotpVerificationFailed, type TotpVerified, type UpdateMemberRoleInput, type UpdateMemberRoleResult, type UpdatePasswordInput, type UpdatePasswordResult, type UpdateProfileInput, type UpdateProfileResult, type UpdateRoleInput, type UpdateSsoConnectionInput, type User, type UserAlreadyHasPassword, type UserInvited, type UserOrganization, type VerificationCodeExpired, type VerificationCodeIncorrect, type VerificationCodePreviouslyUsed, type VerificationCodeSent, type VerificationTooManyAttempts, type VerifyCurrentEmailInput, type VerifyCurrentEmailResult, type VerifyTotpInput, type VerifyTotpResult, getSdk };