auth0 4.8.0 → 4.10.0

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.
Files changed (53) hide show
  1. package/dist/cjs/management/__generated/index.d.ts +2 -1
  2. package/dist/cjs/management/__generated/index.js +1 -0
  3. package/dist/cjs/management/__generated/index.js.map +1 -1
  4. package/dist/cjs/management/__generated/managers/clients-manager.d.ts +27 -21
  5. package/dist/cjs/management/__generated/managers/clients-manager.js +31 -11
  6. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  7. package/dist/cjs/management/__generated/managers/index.d.ts +1 -0
  8. package/dist/cjs/management/__generated/managers/index.js +1 -0
  9. package/dist/cjs/management/__generated/managers/index.js.map +1 -1
  10. package/dist/cjs/management/__generated/managers/organizations-manager.d.ts +10 -1
  11. package/dist/cjs/management/__generated/managers/organizations-manager.js +38 -0
  12. package/dist/cjs/management/__generated/managers/organizations-manager.js.map +1 -1
  13. package/dist/cjs/management/__generated/managers/prompts-manager.d.ts +2 -2
  14. package/dist/cjs/management/__generated/managers/prompts-manager.js +2 -2
  15. package/dist/cjs/management/__generated/managers/resource-servers-manager.d.ts +1 -1
  16. package/dist/cjs/management/__generated/managers/resource-servers-manager.js +7 -0
  17. package/dist/cjs/management/__generated/managers/resource-servers-manager.js.map +1 -1
  18. package/dist/cjs/management/__generated/managers/self-service-profiles-manager.d.ts +52 -0
  19. package/dist/cjs/management/__generated/managers/self-service-profiles-manager.js +129 -0
  20. package/dist/cjs/management/__generated/managers/self-service-profiles-manager.js.map +1 -0
  21. package/dist/cjs/management/__generated/models/index.d.ts +586 -41
  22. package/dist/cjs/management/__generated/models/index.js +55 -4
  23. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  24. package/dist/cjs/version.d.ts +1 -1
  25. package/dist/cjs/version.js +1 -1
  26. package/dist/cjs/version.js.map +1 -1
  27. package/dist/esm/management/__generated/index.d.ts +2 -1
  28. package/dist/esm/management/__generated/index.js +2 -1
  29. package/dist/esm/management/__generated/index.js.map +1 -1
  30. package/dist/esm/management/__generated/managers/clients-manager.d.ts +27 -21
  31. package/dist/esm/management/__generated/managers/clients-manager.js +31 -11
  32. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  33. package/dist/esm/management/__generated/managers/index.d.ts +1 -0
  34. package/dist/esm/management/__generated/managers/index.js +1 -0
  35. package/dist/esm/management/__generated/managers/index.js.map +1 -1
  36. package/dist/esm/management/__generated/managers/organizations-manager.d.ts +10 -1
  37. package/dist/esm/management/__generated/managers/organizations-manager.js +38 -0
  38. package/dist/esm/management/__generated/managers/organizations-manager.js.map +1 -1
  39. package/dist/esm/management/__generated/managers/prompts-manager.d.ts +2 -2
  40. package/dist/esm/management/__generated/managers/prompts-manager.js +2 -2
  41. package/dist/esm/management/__generated/managers/resource-servers-manager.d.ts +1 -1
  42. package/dist/esm/management/__generated/managers/resource-servers-manager.js +7 -0
  43. package/dist/esm/management/__generated/managers/resource-servers-manager.js.map +1 -1
  44. package/dist/esm/management/__generated/managers/self-service-profiles-manager.d.ts +52 -0
  45. package/dist/esm/management/__generated/managers/self-service-profiles-manager.js +102 -0
  46. package/dist/esm/management/__generated/managers/self-service-profiles-manager.js.map +1 -0
  47. package/dist/esm/management/__generated/models/index.d.ts +586 -41
  48. package/dist/esm/management/__generated/models/index.js +51 -0
  49. package/dist/esm/management/__generated/models/index.js.map +1 -1
  50. package/dist/esm/version.d.ts +1 -1
  51. package/dist/esm/version.js +1 -1
  52. package/dist/esm/version.js.map +1 -1
  53. package/package.json +3 -3
@@ -177,10 +177,13 @@ export interface Client {
177
177
  initiate_login_uri: string;
178
178
  /**
179
179
  */
180
- native_social_login: ClientNativeSocialLogin | null;
180
+ native_social_login: any | null;
181
181
  /**
182
182
  */
183
183
  refresh_token: ClientRefreshToken | null;
184
+ /**
185
+ */
186
+ default_organization: ClientDefaultOrganization | null;
184
187
  /**
185
188
  * Defines how to proceed during an authentication transaction with regards an organization. Can be `deny` (default), `allow` or `require`.
186
189
  *
@@ -199,14 +202,14 @@ export interface Client {
199
202
  *
200
203
  */
201
204
  require_pushed_authorization_requests: boolean;
202
- /**
203
- */
204
- signed_request_object: ClientSignedRequestObject;
205
205
  /**
206
206
  * Makes the use of Proof-of-Possession mandatory for this client
207
207
  *
208
208
  */
209
209
  require_proof_of_possession: boolean;
210
+ /**
211
+ */
212
+ signed_request_object: ClientSignedRequestObject;
210
213
  /**
211
214
  * Defines the compliance level for this client, which may restrict it's capabilities
212
215
  *
@@ -1170,10 +1173,10 @@ export interface ClientCreateAddons {
1170
1173
  azure_sb?: ClientCreateAddonsAzureSb;
1171
1174
  /**
1172
1175
  */
1173
- rms?: ClientAddonsRms;
1176
+ rms?: ClientCreateAddonsRms;
1174
1177
  /**
1175
1178
  */
1176
- mscrm?: ClientAddonsMscrm;
1179
+ mscrm?: ClientCreateAddonsMscrm;
1177
1180
  /**
1178
1181
  */
1179
1182
  slack?: ClientAddonsSlack;
@@ -1448,6 +1451,17 @@ export interface ClientCreateAddonsFirebase {
1448
1451
  */
1449
1452
  lifetime_in_seconds?: number;
1450
1453
  }
1454
+ /**
1455
+ * Microsoft Dynamics CRM SSO configuration.
1456
+ */
1457
+ export interface ClientCreateAddonsMscrm {
1458
+ [key: string]: any | any;
1459
+ /**
1460
+ * Microsoft Dynamics CRM application URL.
1461
+ *
1462
+ */
1463
+ url: string;
1464
+ }
1451
1465
  /**
1452
1466
  * New Relic SSO configuration.
1453
1467
  */
@@ -1475,6 +1489,17 @@ export interface ClientCreateAddonsOffice365 {
1475
1489
  */
1476
1490
  connection?: string;
1477
1491
  }
1492
+ /**
1493
+ * Active Directory Rights Management Service SSO configuration.
1494
+ */
1495
+ export interface ClientCreateAddonsRms {
1496
+ [key: string]: any | any;
1497
+ /**
1498
+ * URL of your Rights Management Server. It can be internal or external, but users will have to be able to reach it.
1499
+ *
1500
+ */
1501
+ url: string;
1502
+ }
1478
1503
  /**
1479
1504
  * Salesforce SSO configuration.
1480
1505
  */
@@ -1997,6 +2022,25 @@ export interface ClientCreateSignedRequestObject {
1997
2022
  */
1998
2023
  credentials?: Array<ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
1999
2024
  }
2025
+ /**
2026
+ * Defines the default Organization ID and flows
2027
+ */
2028
+ export interface ClientDefaultOrganization {
2029
+ /**
2030
+ * The default Organization ID to be used
2031
+ *
2032
+ */
2033
+ organization_id: string;
2034
+ /**
2035
+ * The default Organization usage
2036
+ *
2037
+ */
2038
+ flows: Array<ClientDefaultOrganizationFlowsEnum>;
2039
+ }
2040
+ export declare const ClientDefaultOrganizationFlowsEnum: {
2041
+ readonly client_credentials: "client_credentials";
2042
+ };
2043
+ export type ClientDefaultOrganizationFlowsEnum = (typeof ClientDefaultOrganizationFlowsEnum)[keyof typeof ClientDefaultOrganizationFlowsEnum];
2000
2044
  /**
2001
2045
  * Encryption used for WsFed responses with this client.
2002
2046
  */
@@ -2042,7 +2086,23 @@ export interface ClientGrant {
2042
2086
  *
2043
2087
  */
2044
2088
  scope: Array<string>;
2089
+ /**
2090
+ * Defines whether organizations can be used with client credentials exchanges for this grant.
2091
+ *
2092
+ */
2093
+ organization_usage: ClientGrantOrganizationUsageEnum;
2094
+ /**
2095
+ * If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
2096
+ *
2097
+ */
2098
+ allow_any_organization: boolean;
2045
2099
  }
2100
+ export declare const ClientGrantOrganizationUsageEnum: {
2101
+ readonly deny: "deny";
2102
+ readonly allow: "allow";
2103
+ readonly require: "require";
2104
+ };
2105
+ export type ClientGrantOrganizationUsageEnum = (typeof ClientGrantOrganizationUsageEnum)[keyof typeof ClientGrantOrganizationUsageEnum];
2046
2106
  /**
2047
2107
  *
2048
2108
  */
@@ -2057,12 +2117,28 @@ export interface ClientGrantCreate {
2057
2117
  *
2058
2118
  */
2059
2119
  audience: string;
2120
+ /**
2121
+ * Defines whether organizations can be used with client credentials exchanges for this grant.
2122
+ *
2123
+ */
2124
+ organization_usage?: ClientGrantCreateOrganizationUsageEnum;
2125
+ /**
2126
+ * If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
2127
+ *
2128
+ */
2129
+ allow_any_organization?: boolean;
2060
2130
  /**
2061
2131
  * Scopes allowed for this client grant.
2062
2132
  *
2063
2133
  */
2064
2134
  scope: Array<string>;
2065
2135
  }
2136
+ export declare const ClientGrantCreateOrganizationUsageEnum: {
2137
+ readonly deny: "deny";
2138
+ readonly allow: "allow";
2139
+ readonly require: "require";
2140
+ };
2141
+ export type ClientGrantCreateOrganizationUsageEnum = (typeof ClientGrantCreateOrganizationUsageEnum)[keyof typeof ClientGrantCreateOrganizationUsageEnum];
2066
2142
  /**
2067
2143
  * Configuration related to JWTs for the client.
2068
2144
  */
@@ -2142,47 +2218,50 @@ export interface ClientMobileIos {
2142
2218
  app_bundle_identifier: string;
2143
2219
  }
2144
2220
  /**
2145
- * Configure native social settings
2146
- */
2147
- export interface ClientNativeSocialLogin {
2148
- /**
2149
- */
2150
- apple: ClientNativeSocialLoginApple | null;
2151
- /**
2152
- */
2153
- facebook: ClientNativeSocialLoginFacebook | null;
2154
- }
2155
- /**
2156
- * Native Social Login support for the Apple connection
2221
+ * Configuration for OIDC backchannel logout
2157
2222
  */
2158
- export interface ClientNativeSocialLoginApple {
2223
+ export interface ClientOidcLogout {
2224
+ [key: string]: any | any;
2159
2225
  /**
2160
- * Determine whether or not to allow signing in natively using an Apple authorization code
2226
+ * Comma-separated list of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
2161
2227
  *
2162
2228
  */
2163
- enabled: boolean;
2164
- }
2165
- /**
2166
- * Native Social Login support for the Facebook connection
2167
- */
2168
- export interface ClientNativeSocialLoginFacebook {
2229
+ backchannel_logout_urls: Array<string>;
2169
2230
  /**
2170
- * Determine whether or not to allow signing in natively using Facebook
2171
- *
2172
2231
  */
2173
- enabled: boolean;
2232
+ backchannel_logout_initiators: ClientOidcLogoutBackchannelLogoutInitiators;
2174
2233
  }
2175
2234
  /**
2176
- * Configuration for OIDC backchannel logout
2235
+ * Configuration for OIDC backchannel logout initiators
2177
2236
  */
2178
- export interface ClientOidcLogout {
2237
+ export interface ClientOidcLogoutBackchannelLogoutInitiators {
2179
2238
  [key: string]: any | any;
2180
2239
  /**
2181
- * Comma-separated list of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
2240
+ * The `mode` property determines the configuration method for enabling initiators. `custom` enables only the initiators listed in the selected_initiators array, `all` enables all current and future initiators.
2182
2241
  *
2183
2242
  */
2184
- backchannel_logout_urls: Array<string>;
2243
+ mode: ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum;
2244
+ /**
2245
+ */
2246
+ selected_initiators: Array<ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum>;
2185
2247
  }
2248
+ export declare const ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum: {
2249
+ readonly custom: "custom";
2250
+ readonly all: "all";
2251
+ };
2252
+ export type ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum = (typeof ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum)[keyof typeof ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum];
2253
+ export declare const ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum: {
2254
+ readonly rp_logout: "rp-logout";
2255
+ readonly idp_logout: "idp-logout";
2256
+ readonly password_changed: "password-changed";
2257
+ readonly session_expired: "session-expired";
2258
+ readonly session_revoked: "session-revoked";
2259
+ readonly account_deleted: "account-deleted";
2260
+ readonly email_identifier_changed: "email-identifier-changed";
2261
+ readonly mfa_phone_unenrolled: "mfa-phone-unenrolled";
2262
+ readonly account_deactivated: "account-deactivated";
2263
+ };
2264
+ export type ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum = (typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum)[keyof typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum];
2186
2265
  /**
2187
2266
  * Refresh token configuration
2188
2267
  */
@@ -2413,10 +2492,13 @@ export interface ClientUpdate {
2413
2492
  initiate_login_uri?: string;
2414
2493
  /**
2415
2494
  */
2416
- native_social_login?: ClientCreateNativeSocialLogin | null;
2495
+ native_social_login?: ClientUpdateNativeSocialLogin | null;
2417
2496
  /**
2418
2497
  */
2419
2498
  refresh_token?: ClientRefreshToken | null;
2499
+ /**
2500
+ */
2501
+ default_organization?: ClientDefaultOrganization | null;
2420
2502
  /**
2421
2503
  * Defines how to proceed during an authentication transaction with regards an organization. Can be `deny` (default), `allow` or `require`.
2422
2504
  *
@@ -2435,14 +2517,14 @@ export interface ClientUpdate {
2435
2517
  *
2436
2518
  */
2437
2519
  require_pushed_authorization_requests?: boolean;
2438
- /**
2439
- */
2440
- signed_request_object?: ClientUpdateSignedRequestObject | null;
2441
2520
  /**
2442
2521
  * Makes the use of Proof-of-Possession mandatory for this client
2443
2522
  *
2444
2523
  */
2445
2524
  require_proof_of_possession?: boolean;
2525
+ /**
2526
+ */
2527
+ signed_request_object?: ClientUpdateSignedRequestObject | null;
2446
2528
  /**
2447
2529
  * Defines the compliance level for this client, which may restrict it's capabilities
2448
2530
  *
@@ -2571,7 +2653,7 @@ export interface ClientUpdateAddons {
2571
2653
  office365?: ClientCreateAddonsOffice365;
2572
2654
  /**
2573
2655
  */
2574
- salesforce?: ClientCreateAddonsSalesforce;
2656
+ salesforce?: ClientUpdateAddonsSalesforce;
2575
2657
  /**
2576
2658
  */
2577
2659
  salesforce_api?: ClientCreateAddonsSalesforceApi;
@@ -2586,7 +2668,7 @@ export interface ClientUpdateAddons {
2586
2668
  layer?: ClientAddonsLayer;
2587
2669
  /**
2588
2670
  */
2589
- sap_api?: ClientCreateAddonsSapApi;
2671
+ sap_api?: ClientUpdateAddonsSapApi;
2590
2672
  /**
2591
2673
  */
2592
2674
  sharepoint?: ClientCreateAddonsSharepoint;
@@ -2618,6 +2700,53 @@ export interface ClientUpdateAddons {
2618
2700
  */
2619
2701
  oag?: object | null;
2620
2702
  }
2703
+ /**
2704
+ * Salesforce SSO configuration.
2705
+ */
2706
+ export interface ClientUpdateAddonsSalesforce {
2707
+ [key: string]: any | any;
2708
+ /**
2709
+ * Arbitrary logical URL that identifies the Saleforce resource. e.g. `https://acme-org.com`.
2710
+ *
2711
+ */
2712
+ entity_id?: string;
2713
+ }
2714
+ /**
2715
+ * SAP API addon configuration.
2716
+ */
2717
+ export interface ClientUpdateAddonsSapApi {
2718
+ [key: string]: any | any;
2719
+ /**
2720
+ * If activated in the OAuth 2.0 client configuration (transaction SOAUTH2) the SAML attribute client_id must be set and equal the client_id form parameter of the access token request.
2721
+ *
2722
+ */
2723
+ clientid?: string;
2724
+ /**
2725
+ * Name of the property in the user object that maps to a SAP username. e.g. `email`.
2726
+ *
2727
+ */
2728
+ usernameAttribute?: string;
2729
+ /**
2730
+ * Your SAP OData server OAuth2 token endpoint URL.
2731
+ *
2732
+ */
2733
+ tokenEndpointUrl?: string;
2734
+ /**
2735
+ * Requested scope for SAP APIs.
2736
+ *
2737
+ */
2738
+ scope?: string;
2739
+ /**
2740
+ * Service account password to use to authenticate API calls to the token endpoint.
2741
+ *
2742
+ */
2743
+ servicePassword?: string;
2744
+ /**
2745
+ * NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.
2746
+ *
2747
+ */
2748
+ nameIdentifierFormat?: string;
2749
+ }
2621
2750
  /**
2622
2751
  * Defines client authentication methods.
2623
2752
  */
@@ -2719,6 +2848,30 @@ export interface ClientUpdateMobileIos {
2719
2848
  */
2720
2849
  app_bundle_identifier?: string;
2721
2850
  }
2851
+ /**
2852
+ * Configure native social settings
2853
+ */
2854
+ export interface ClientUpdateNativeSocialLogin {
2855
+ /**
2856
+ */
2857
+ apple?: ClientCreateNativeSocialLoginApple | null;
2858
+ /**
2859
+ */
2860
+ facebook?: ClientCreateNativeSocialLoginFacebook | null;
2861
+ /**
2862
+ */
2863
+ google?: ClientUpdateNativeSocialLoginGoogle | null;
2864
+ }
2865
+ /**
2866
+ * Native Social Login support for the google-oauth2 connection
2867
+ */
2868
+ export interface ClientUpdateNativeSocialLoginGoogle {
2869
+ /**
2870
+ * Determine whether or not to allow signing in natively using a Google ID token
2871
+ *
2872
+ */
2873
+ enabled?: boolean;
2874
+ }
2722
2875
  /**
2723
2876
  * Configuration for OIDC backchannel logout
2724
2877
  */
@@ -2728,7 +2881,41 @@ export interface ClientUpdateOidcLogout {
2728
2881
  *
2729
2882
  */
2730
2883
  backchannel_logout_urls?: Array<string>;
2884
+ /**
2885
+ */
2886
+ backchannel_logout_initiators?: ClientUpdateOidcLogoutBackchannelLogoutInitiators;
2731
2887
  }
2888
+ /**
2889
+ * Configuration for OIDC backchannel logout initiators
2890
+ */
2891
+ export interface ClientUpdateOidcLogoutBackchannelLogoutInitiators {
2892
+ [key: string]: any | any;
2893
+ /**
2894
+ * The `mode` property determines the configuration method for enabling initiators. `custom` enables only the initiators listed in the selected_initiators array, `all` enables all current and future initiators.
2895
+ *
2896
+ */
2897
+ mode: ClientUpdateOidcLogoutBackchannelLogoutInitiatorsModeEnum;
2898
+ /**
2899
+ */
2900
+ selected_initiators?: Array<ClientUpdateOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum>;
2901
+ }
2902
+ export declare const ClientUpdateOidcLogoutBackchannelLogoutInitiatorsModeEnum: {
2903
+ readonly custom: "custom";
2904
+ readonly all: "all";
2905
+ };
2906
+ export type ClientUpdateOidcLogoutBackchannelLogoutInitiatorsModeEnum = (typeof ClientUpdateOidcLogoutBackchannelLogoutInitiatorsModeEnum)[keyof typeof ClientUpdateOidcLogoutBackchannelLogoutInitiatorsModeEnum];
2907
+ export declare const ClientUpdateOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum: {
2908
+ readonly rp_logout: "rp-logout";
2909
+ readonly idp_logout: "idp-logout";
2910
+ readonly password_changed: "password-changed";
2911
+ readonly session_expired: "session-expired";
2912
+ readonly session_revoked: "session-revoked";
2913
+ readonly account_deleted: "account-deleted";
2914
+ readonly email_identifier_changed: "email-identifier-changed";
2915
+ readonly mfa_phone_unenrolled: "mfa-phone-unenrolled";
2916
+ readonly account_deactivated: "account-deactivated";
2917
+ };
2918
+ export type ClientUpdateOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum = (typeof ClientUpdateOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum)[keyof typeof ClientUpdateOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum];
2732
2919
  /**
2733
2920
  * JWT-secured Authorization Requests (JAR) settings.
2734
2921
  */
@@ -4831,7 +5018,7 @@ export interface GetClientGrants200ResponseOneOf {
4831
5018
  /**
4832
5019
  *
4833
5020
  */
4834
- export type GetClients200Response = Array<Client> | GetClients200ResponseOneOf;
5021
+ export type GetClients200Response = Array<Client> | GetClients200ResponseOneOf | GetClients200ResponseOneOf1;
4835
5022
  /**
4836
5023
  *
4837
5024
  */
@@ -4849,6 +5036,17 @@ export interface GetClients200ResponseOneOf {
4849
5036
  */
4850
5037
  clients: Array<Client>;
4851
5038
  }
5039
+ /**
5040
+ *
5041
+ */
5042
+ export interface GetClients200ResponseOneOf1 {
5043
+ /**
5044
+ */
5045
+ next: string;
5046
+ /**
5047
+ */
5048
+ clients: Array<Client>;
5049
+ }
4852
5050
  /**
4853
5051
  *
4854
5052
  */
@@ -6135,6 +6333,52 @@ export declare const GetMessageTypes200ResponseMessageTypesEnum: {
6135
6333
  readonly voice: "voice";
6136
6334
  };
6137
6335
  export type GetMessageTypes200ResponseMessageTypesEnum = (typeof GetMessageTypes200ResponseMessageTypesEnum)[keyof typeof GetMessageTypes200ResponseMessageTypesEnum];
6336
+ /**
6337
+ *
6338
+ */
6339
+ export type GetOrganizationClientGrants200Response = Array<GetOrganizationClientGrants200ResponseOneOfInner> | GetOrganizationClientGrants200ResponseOneOf;
6340
+ /**
6341
+ *
6342
+ */
6343
+ export interface GetOrganizationClientGrants200ResponseOneOf {
6344
+ /**
6345
+ */
6346
+ start: number;
6347
+ /**
6348
+ */
6349
+ limit: number;
6350
+ /**
6351
+ */
6352
+ total: number;
6353
+ /**
6354
+ */
6355
+ grants: Array<GetOrganizationClientGrants200ResponseOneOfInner>;
6356
+ }
6357
+ /**
6358
+ *
6359
+ */
6360
+ export interface GetOrganizationClientGrants200ResponseOneOfInner {
6361
+ /**
6362
+ * ID of the client grant.
6363
+ *
6364
+ */
6365
+ id: string;
6366
+ /**
6367
+ * ID of the client.
6368
+ *
6369
+ */
6370
+ client_id: string;
6371
+ /**
6372
+ * The audience (API identifier) of this client grant
6373
+ *
6374
+ */
6375
+ audience: string;
6376
+ /**
6377
+ * Scopes allowed for this client grant.
6378
+ *
6379
+ */
6380
+ scope: Array<string>;
6381
+ }
6138
6382
  /**
6139
6383
  *
6140
6384
  */
@@ -8030,7 +8274,24 @@ export interface PatchClientGrantsByIdRequest {
8030
8274
  *
8031
8275
  */
8032
8276
  scope?: Array<string>;
8277
+ /**
8278
+ * Controls how organizations may be used with this grant
8279
+ *
8280
+ */
8281
+ organization_usage?: PatchClientGrantsByIdRequestOrganizationUsageEnum;
8282
+ /**
8283
+ * Controls allowing any organization to be used with this grant
8284
+ *
8285
+ */
8286
+ allow_any_organization?: boolean | null;
8033
8287
  }
8288
+ export declare const PatchClientGrantsByIdRequestOrganizationUsageEnum: {
8289
+ readonly deny: "deny";
8290
+ readonly allow: "allow";
8291
+ readonly require: "require";
8292
+ readonly null: "null";
8293
+ };
8294
+ export type PatchClientGrantsByIdRequestOrganizationUsageEnum = (typeof PatchClientGrantsByIdRequestOrganizationUsageEnum)[keyof typeof PatchClientGrantsByIdRequestOrganizationUsageEnum];
8034
8295
  /**
8035
8296
  *
8036
8297
  */
@@ -11451,6 +11712,183 @@ export interface SnsFactorProvider {
11451
11712
  */
11452
11713
  sns_gcm_platform_application_arn: string | null;
11453
11714
  }
11715
+ /**
11716
+ *
11717
+ */
11718
+ export interface SsProfile {
11719
+ /**
11720
+ * The unique ID of the self-service Profile.
11721
+ *
11722
+ */
11723
+ id: string;
11724
+ /**
11725
+ * List of attributes to be mapped that will be shown to the user during the SS-SSO flow.
11726
+ *
11727
+ */
11728
+ user_attributes: Array<SsProfileUserAttributesInner>;
11729
+ /**
11730
+ * The time when this self-service Profile was created.
11731
+ *
11732
+ */
11733
+ created_at: string;
11734
+ /**
11735
+ * The time when this self-service Profile was updated.
11736
+ *
11737
+ */
11738
+ updated_at: string;
11739
+ /**
11740
+ */
11741
+ branding: SsProfileBranding;
11742
+ }
11743
+ /**
11744
+ *
11745
+ */
11746
+ export interface SsProfileBranding {
11747
+ [key: string]: any | any;
11748
+ /**
11749
+ */
11750
+ logo_url: string;
11751
+ /**
11752
+ */
11753
+ colors: SsProfileBrandingColors;
11754
+ }
11755
+ /**
11756
+ *
11757
+ */
11758
+ export interface SsProfileBrandingColors {
11759
+ [key: string]: any | any;
11760
+ /**
11761
+ */
11762
+ primary: string;
11763
+ }
11764
+ /**
11765
+ *
11766
+ */
11767
+ export interface SsProfileCreate {
11768
+ /**
11769
+ * List of attributes to be mapped that will be shown to the user during the SS-SSO flow.
11770
+ *
11771
+ */
11772
+ user_attributes?: Array<SsProfileUserAttributesInner>;
11773
+ /**
11774
+ */
11775
+ branding?: SsProfileCreateBranding;
11776
+ }
11777
+ /**
11778
+ *
11779
+ */
11780
+ export interface SsProfileCreateBranding {
11781
+ [key: string]: any | any;
11782
+ /**
11783
+ */
11784
+ logo_url?: string;
11785
+ /**
11786
+ */
11787
+ colors?: SsProfileBrandingColors;
11788
+ }
11789
+ /**
11790
+ *
11791
+ */
11792
+ export interface SsProfileList extends Array<SsProfile> {
11793
+ }
11794
+ /**
11795
+ *
11796
+ */
11797
+ export interface SsProfileUpdate {
11798
+ /**
11799
+ * List of attributes to be mapped that will be shown to the user during the SS-SSO flow.
11800
+ *
11801
+ */
11802
+ user_attributes?: Array<SsProfileUserAttributesInner> | null;
11803
+ /**
11804
+ */
11805
+ branding?: SsProfileUpdateBranding | null;
11806
+ }
11807
+ /**
11808
+ *
11809
+ */
11810
+ export interface SsProfileUpdateBranding {
11811
+ [key: string]: any | any;
11812
+ /**
11813
+ */
11814
+ logo_url?: string;
11815
+ /**
11816
+ */
11817
+ colors?: SsProfileBrandingColors;
11818
+ }
11819
+ /**
11820
+ *
11821
+ */
11822
+ export interface SsProfileUserAttributesInner {
11823
+ /**
11824
+ * Identifier of this attribute.
11825
+ *
11826
+ */
11827
+ name: string;
11828
+ /**
11829
+ * Description of this attribute.
11830
+ *
11831
+ */
11832
+ description: string;
11833
+ /**
11834
+ * Determines if this attribute is required
11835
+ *
11836
+ */
11837
+ is_optional: boolean;
11838
+ }
11839
+ /**
11840
+ *
11841
+ */
11842
+ export interface SsoAccessTicketResponse {
11843
+ /**
11844
+ * The URL for the created ticket.
11845
+ *
11846
+ */
11847
+ ticket: string;
11848
+ }
11849
+ /**
11850
+ *
11851
+ */
11852
+ export interface SsoTicketRequestJson {
11853
+ /**
11854
+ * If provided, this will allow editing of the provided connection during the SSO Flow
11855
+ *
11856
+ */
11857
+ connection_id?: string;
11858
+ /**
11859
+ */
11860
+ connection_config?: SsoTicketRequestJsonConnectionConfig;
11861
+ /**
11862
+ * List of client_ids that the connection will be enabled for.
11863
+ *
11864
+ */
11865
+ enabled_clients?: Array<string>;
11866
+ /**
11867
+ * List of organizations that the connection will be enabled for.
11868
+ *
11869
+ */
11870
+ enabled_organizations?: Array<SsoTicketRequestJsonEnabledOrganizationsInner>;
11871
+ }
11872
+ /**
11873
+ * If provided, this will create a new connection for the SSO flow with the given configuration
11874
+ */
11875
+ export interface SsoTicketRequestJsonConnectionConfig {
11876
+ /**
11877
+ * The name of the connection that will be created as a part of the SSO flow.
11878
+ *
11879
+ */
11880
+ name: string;
11881
+ }
11882
+ /**
11883
+ *
11884
+ */
11885
+ export interface SsoTicketRequestJsonEnabledOrganizationsInner {
11886
+ /**
11887
+ * Organization identifier
11888
+ *
11889
+ */
11890
+ organization_id: string;
11891
+ }
11454
11892
  /**
11455
11893
  *
11456
11894
  */
@@ -13118,6 +13556,16 @@ export interface GetClientsRequest {
13118
13556
  *
13119
13557
  */
13120
13558
  include_totals?: boolean;
13559
+ /**
13560
+ * Optional Id from which to start selection.
13561
+ *
13562
+ */
13563
+ from?: string;
13564
+ /**
13565
+ * Number of results per page. Defaults to 50.
13566
+ *
13567
+ */
13568
+ take?: number;
13121
13569
  /**
13122
13570
  * Optional filter on the global client parameter.
13123
13571
  *
@@ -13133,6 +13581,16 @@ export interface GetClientsRequest {
13133
13581
  *
13134
13582
  */
13135
13583
  app_type?: string;
13584
+ /**
13585
+ * A comma separated list of client_ids used to filter the returned clients
13586
+ *
13587
+ */
13588
+ client_ids?: string;
13589
+ /**
13590
+ * Query in <a href ="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene query string syntax</a>.
13591
+ *
13592
+ */
13593
+ q?: string;
13136
13594
  }
13137
13595
  /**
13138
13596
  *
@@ -14295,6 +14753,46 @@ export interface GetNameByNameRequest {
14295
14753
  */
14296
14754
  name: string;
14297
14755
  }
14756
+ /**
14757
+ *
14758
+ */
14759
+ export interface GetOrganizationClientGrantsRequest {
14760
+ /**
14761
+ * Organization identifier
14762
+ *
14763
+ */
14764
+ id: string;
14765
+ /**
14766
+ * Optional filter on audience of the client grant.
14767
+ *
14768
+ */
14769
+ audience?: string;
14770
+ /**
14771
+ * Optional filter on client_id of the client grant.
14772
+ *
14773
+ */
14774
+ client_id?: string;
14775
+ /**
14776
+ * A list of grant ids, which will filter the results.
14777
+ *
14778
+ */
14779
+ grant_ids?: Array<string>;
14780
+ /**
14781
+ * Page index of the results to return. First page is 0.
14782
+ *
14783
+ */
14784
+ page?: number;
14785
+ /**
14786
+ * Number of results per page. Defaults to 50.
14787
+ *
14788
+ */
14789
+ per_page?: number;
14790
+ /**
14791
+ * Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
14792
+ *
14793
+ */
14794
+ include_totals?: boolean;
14795
+ }
14298
14796
  /**
14299
14797
  *
14300
14798
  */
@@ -14553,6 +15051,7 @@ export declare const GetPartialsPromptEnum: {
14553
15051
  readonly login: "login";
14554
15052
  readonly login_id: "login-id";
14555
15053
  readonly login_password: "login-password";
15054
+ readonly login_passwordless: "login-passwordless";
14556
15055
  readonly signup: "signup";
14557
15056
  readonly signup_id: "signup-id";
14558
15057
  readonly signup_password: "signup-password";
@@ -14682,6 +15181,7 @@ export declare const PutPartialsPromptEnum: {
14682
15181
  readonly login: "login";
14683
15182
  readonly login_id: "login-id";
14684
15183
  readonly login_password: "login-password";
15184
+ readonly login_passwordless: "login-passwordless";
14685
15185
  readonly signup: "signup";
14686
15186
  readonly signup_id: "signup-id";
14687
15187
  readonly signup_password: "signup-password";
@@ -14732,13 +15232,18 @@ export interface DeleteResourceServersByIdRequest {
14732
15232
  *
14733
15233
  */
14734
15234
  export interface GetResourceServersRequest {
15235
+ /**
15236
+ * A list of URI encoded identifiers to filter the results by. Consider URL limits when using this parameter, if the URL is too long, consider chunking the requests
15237
+ *
15238
+ */
15239
+ identifiers?: Array<string>;
14735
15240
  /**
14736
15241
  * Page index of the results to return. First page is 0.
14737
15242
  *
14738
15243
  */
14739
15244
  page?: number;
14740
15245
  /**
14741
- * Number of results per page. Paging is disabled if parameter not sent.
15246
+ * Number of results per page.
14742
15247
  *
14743
15248
  */
14744
15249
  per_page?: number;
@@ -15018,6 +15523,46 @@ export interface PutRulesConfigsByKeyOperationRequest {
15018
15523
  */
15019
15524
  key: string;
15020
15525
  }
15526
+ /**
15527
+ *
15528
+ */
15529
+ export interface DeleteSelfServiceProfilesByIdRequest {
15530
+ /**
15531
+ * The id of the self-service profile to delete
15532
+ *
15533
+ */
15534
+ id: string;
15535
+ }
15536
+ /**
15537
+ *
15538
+ */
15539
+ export interface GetSelfServiceProfilesByIdRequest {
15540
+ /**
15541
+ * The id of the self-service profile to retrieve
15542
+ *
15543
+ */
15544
+ id: string;
15545
+ }
15546
+ /**
15547
+ *
15548
+ */
15549
+ export interface PatchSelfServiceProfilesByIdRequest {
15550
+ /**
15551
+ * The id of the self-service profile to update
15552
+ *
15553
+ */
15554
+ id: string;
15555
+ }
15556
+ /**
15557
+ *
15558
+ */
15559
+ export interface PostSsoTicketRequest {
15560
+ /**
15561
+ * The id of the sso-profile to retrieve
15562
+ *
15563
+ */
15564
+ id: string;
15565
+ }
15021
15566
  /**
15022
15567
  *
15023
15568
  */