auth0 4.6.0 → 4.8.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 +3 -1
  2. package/dist/cjs/management/__generated/index.js +2 -0
  3. package/dist/cjs/management/__generated/index.js.map +1 -1
  4. package/dist/cjs/management/__generated/managers/clients-manager.d.ts +9 -4
  5. package/dist/cjs/management/__generated/managers/clients-manager.js +9 -4
  6. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  7. package/dist/cjs/management/__generated/managers/connections-manager.d.ts +65 -1
  8. package/dist/cjs/management/__generated/managers/connections-manager.js +134 -0
  9. package/dist/cjs/management/__generated/managers/connections-manager.js.map +1 -1
  10. package/dist/cjs/management/__generated/managers/index.d.ts +2 -0
  11. package/dist/cjs/management/__generated/managers/index.js +2 -0
  12. package/dist/cjs/management/__generated/managers/index.js.map +1 -1
  13. package/dist/cjs/management/__generated/managers/refresh-tokens-manager.d.ts +24 -0
  14. package/dist/cjs/management/__generated/managers/refresh-tokens-manager.js +63 -0
  15. package/dist/cjs/management/__generated/managers/refresh-tokens-manager.js.map +1 -0
  16. package/dist/cjs/management/__generated/managers/sessions-manager.d.ts +24 -0
  17. package/dist/cjs/management/__generated/managers/sessions-manager.js +63 -0
  18. package/dist/cjs/management/__generated/managers/sessions-manager.js.map +1 -0
  19. package/dist/cjs/management/__generated/managers/users-manager.d.ts +29 -1
  20. package/dist/cjs/management/__generated/managers/users-manager.js +86 -0
  21. package/dist/cjs/management/__generated/managers/users-manager.js.map +1 -1
  22. package/dist/cjs/management/__generated/models/index.d.ts +1305 -67
  23. package/dist/cjs/management/__generated/models/index.js +51 -4
  24. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  25. package/dist/cjs/version.d.ts +1 -1
  26. package/dist/cjs/version.js +1 -1
  27. package/dist/esm/management/__generated/index.d.ts +3 -1
  28. package/dist/esm/management/__generated/index.js +3 -1
  29. package/dist/esm/management/__generated/index.js.map +1 -1
  30. package/dist/esm/management/__generated/managers/clients-manager.d.ts +9 -4
  31. package/dist/esm/management/__generated/managers/clients-manager.js +9 -4
  32. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  33. package/dist/esm/management/__generated/managers/connections-manager.d.ts +65 -1
  34. package/dist/esm/management/__generated/managers/connections-manager.js +134 -0
  35. package/dist/esm/management/__generated/managers/connections-manager.js.map +1 -1
  36. package/dist/esm/management/__generated/managers/index.d.ts +2 -0
  37. package/dist/esm/management/__generated/managers/index.js +2 -0
  38. package/dist/esm/management/__generated/managers/index.js.map +1 -1
  39. package/dist/esm/management/__generated/managers/refresh-tokens-manager.d.ts +24 -0
  40. package/dist/esm/management/__generated/managers/refresh-tokens-manager.js +36 -0
  41. package/dist/esm/management/__generated/managers/refresh-tokens-manager.js.map +1 -0
  42. package/dist/esm/management/__generated/managers/sessions-manager.d.ts +24 -0
  43. package/dist/esm/management/__generated/managers/sessions-manager.js +36 -0
  44. package/dist/esm/management/__generated/managers/sessions-manager.js.map +1 -0
  45. package/dist/esm/management/__generated/managers/users-manager.d.ts +29 -1
  46. package/dist/esm/management/__generated/managers/users-manager.js +86 -0
  47. package/dist/esm/management/__generated/managers/users-manager.js.map +1 -1
  48. package/dist/esm/management/__generated/models/index.d.ts +1305 -67
  49. package/dist/esm/management/__generated/models/index.js +47 -0
  50. package/dist/esm/management/__generated/models/index.js.map +1 -1
  51. package/dist/esm/version.d.ts +1 -1
  52. package/dist/esm/version.js +1 -1
  53. package/package.json +1 -1
@@ -194,6 +194,24 @@ export interface Client {
194
194
  /**
195
195
  */
196
196
  client_authentication_methods: ClientClientAuthenticationMethods | null;
197
+ /**
198
+ * Makes the use of Pushed Authorization Requests mandatory for this client
199
+ *
200
+ */
201
+ require_pushed_authorization_requests: boolean;
202
+ /**
203
+ */
204
+ signed_request_object: ClientSignedRequestObject;
205
+ /**
206
+ * Makes the use of Proof-of-Possession mandatory for this client
207
+ *
208
+ */
209
+ require_proof_of_possession: boolean;
210
+ /**
211
+ * Defines the compliance level for this client, which may restrict it's capabilities
212
+ *
213
+ */
214
+ compliance_level: ClientComplianceLevelEnum;
197
215
  }
198
216
  export declare const ClientTokenEndpointAuthMethodEnum: {
199
217
  readonly none: "none";
@@ -213,6 +231,13 @@ export declare const ClientOrganizationRequireBehaviorEnum: {
213
231
  readonly post_login_prompt: "post_login_prompt";
214
232
  };
215
233
  export type ClientOrganizationRequireBehaviorEnum = (typeof ClientOrganizationRequireBehaviorEnum)[keyof typeof ClientOrganizationRequireBehaviorEnum];
234
+ export declare const ClientComplianceLevelEnum: {
235
+ readonly none: "none";
236
+ readonly fapi1_adv_pkj_par: "fapi1_adv_pkj_par";
237
+ readonly fapi1_adv_mtls_par: "fapi1_adv_mtls_par";
238
+ readonly null: "null";
239
+ };
240
+ export type ClientComplianceLevelEnum = (typeof ClientComplianceLevelEnum)[keyof typeof ClientComplianceLevelEnum];
216
241
  /**
217
242
  * Addons enabled for this client and their associated configurations.
218
243
  */
@@ -853,6 +878,12 @@ export interface ClientClientAuthenticationMethods {
853
878
  /**
854
879
  */
855
880
  private_key_jwt: ClientClientAuthenticationMethodsPrivateKeyJwt;
881
+ /**
882
+ */
883
+ tls_client_auth: ClientClientAuthenticationMethodsTlsClientAuth;
884
+ /**
885
+ */
886
+ self_signed_tls_client_auth: ClientClientAuthenticationMethodsSelfSignedTlsClientAuth;
856
887
  }
857
888
  /**
858
889
  * Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method.
@@ -874,6 +905,26 @@ export interface ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner
874
905
  */
875
906
  id: string;
876
907
  }
908
+ /**
909
+ * Defines `self_signed_tls_client_auth` client authentication method. If the property is defined, the client is configured to use mTLS authentication method utilizing self-signed certificate.
910
+ */
911
+ export interface ClientClientAuthenticationMethodsSelfSignedTlsClientAuth {
912
+ /**
913
+ * A list of unique and previously created credential IDs enabled on the client for mTLS authentication utilizing self-signed certificate.
914
+ *
915
+ */
916
+ credentials: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
917
+ }
918
+ /**
919
+ * Defines `tls_client_auth` client authentication method. If the property is defined, the client is configured to use CA-based mTLS authentication method.
920
+ */
921
+ export interface ClientClientAuthenticationMethodsTlsClientAuth {
922
+ /**
923
+ * A list of unique and previously created credential IDs enabled on the client for CA-based mTLS authentication.
924
+ *
925
+ */
926
+ credentials: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
927
+ }
877
928
  /**
878
929
  *
879
930
  */
@@ -1034,6 +1085,24 @@ export interface ClientCreate {
1034
1085
  /**
1035
1086
  */
1036
1087
  client_authentication_methods?: ClientCreateClientAuthenticationMethods;
1088
+ /**
1089
+ * Makes the use of Pushed Authorization Requests mandatory for this client
1090
+ *
1091
+ */
1092
+ require_pushed_authorization_requests?: boolean;
1093
+ /**
1094
+ */
1095
+ signed_request_object?: ClientCreateSignedRequestObject;
1096
+ /**
1097
+ * Makes the use of Proof-of-Possession mandatory for this client
1098
+ *
1099
+ */
1100
+ require_proof_of_possession?: boolean;
1101
+ /**
1102
+ * Defines the compliance level for this client, which may restrict it's capabilities
1103
+ *
1104
+ */
1105
+ compliance_level?: ClientCreateComplianceLevelEnum;
1037
1106
  }
1038
1107
  export declare const ClientCreateTokenEndpointAuthMethodEnum: {
1039
1108
  readonly none: "none";
@@ -1079,6 +1148,13 @@ export declare const ClientCreateOrganizationRequireBehaviorEnum: {
1079
1148
  readonly post_login_prompt: "post_login_prompt";
1080
1149
  };
1081
1150
  export type ClientCreateOrganizationRequireBehaviorEnum = (typeof ClientCreateOrganizationRequireBehaviorEnum)[keyof typeof ClientCreateOrganizationRequireBehaviorEnum];
1151
+ export declare const ClientCreateComplianceLevelEnum: {
1152
+ readonly none: "none";
1153
+ readonly fapi1_adv_pkj_par: "fapi1_adv_pkj_par";
1154
+ readonly fapi1_adv_mtls_par: "fapi1_adv_mtls_par";
1155
+ readonly null: "null";
1156
+ };
1157
+ export type ClientCreateComplianceLevelEnum = (typeof ClientCreateComplianceLevelEnum)[keyof typeof ClientCreateComplianceLevelEnum];
1082
1158
  /**
1083
1159
  * Addons enabled for this client and their associated configurations.
1084
1160
  */
@@ -1651,6 +1727,12 @@ export interface ClientCreateClientAuthenticationMethods {
1651
1727
  /**
1652
1728
  */
1653
1729
  private_key_jwt?: ClientCreateClientAuthenticationMethodsPrivateKeyJwt;
1730
+ /**
1731
+ */
1732
+ tls_client_auth?: ClientCreateClientAuthenticationMethodsTlsClientAuth;
1733
+ /**
1734
+ */
1735
+ self_signed_tls_client_auth?: ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuth;
1654
1736
  }
1655
1737
  /**
1656
1738
  * Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method.
@@ -1707,6 +1789,71 @@ export declare const ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredent
1707
1789
  readonly PS256: "PS256";
1708
1790
  };
1709
1791
  export type ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerAlgEnum = (typeof ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerAlgEnum)[keyof typeof ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInnerAlgEnum];
1792
+ /**
1793
+ * Defines `self_signed_tls_client_auth` client authentication method. If the property is defined, the client is configured to use mTLS authentication method utilizing self-signed certificate.
1794
+ */
1795
+ export interface ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuth {
1796
+ /**
1797
+ * Fully defined credentials that will be enabled on the client for mTLS authentication utilizing self-signed certificate.
1798
+ *
1799
+ */
1800
+ credentials: Array<ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInner>;
1801
+ }
1802
+ /**
1803
+ *
1804
+ */
1805
+ export interface ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInner {
1806
+ /**
1807
+ */
1808
+ credential_type: ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum;
1809
+ /**
1810
+ */
1811
+ name?: string;
1812
+ /**
1813
+ * PEM-formatted X509 certificate. Must be JSON escaped.
1814
+ *
1815
+ */
1816
+ pem: string;
1817
+ }
1818
+ export declare const ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum: {
1819
+ readonly x509_cert: "x509_cert";
1820
+ };
1821
+ export type ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum = (typeof ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum)[keyof typeof ClientCreateClientAuthenticationMethodsSelfSignedTlsClientAuthCredentialsInnerCredentialTypeEnum];
1822
+ /**
1823
+ * Defines `tls_client_auth` client authentication method. If the property is defined, the client is configured to use CA-based mTLS authentication method.
1824
+ */
1825
+ export interface ClientCreateClientAuthenticationMethodsTlsClientAuth {
1826
+ /**
1827
+ * Fully defined credentials that will be enabled on the client for CA-based mTLS authentication.
1828
+ *
1829
+ */
1830
+ credentials: Array<ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInner>;
1831
+ }
1832
+ /**
1833
+ *
1834
+ */
1835
+ export interface ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInner {
1836
+ /**
1837
+ */
1838
+ credential_type?: ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum;
1839
+ /**
1840
+ */
1841
+ name?: string;
1842
+ /**
1843
+ * Subject Distinguished Name. Mutually exclusive with `pem` property.
1844
+ *
1845
+ */
1846
+ subject_dn?: string;
1847
+ /**
1848
+ * PEM-formatted X509 certificate. Must be JSON escaped. Mutually exclusive with `subject_dn` property.
1849
+ *
1850
+ */
1851
+ pem?: string;
1852
+ }
1853
+ export declare const ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum: {
1854
+ readonly cert_subject_dn: "cert_subject_dn";
1855
+ };
1856
+ export type ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum = (typeof ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum)[keyof typeof ClientCreateClientAuthenticationMethodsTlsClientAuthCredentialsInnerCredentialTypeEnum];
1710
1857
  /**
1711
1858
  * Encryption used for WsFed responses with this client.
1712
1859
  */
@@ -1837,6 +1984,19 @@ export interface ClientCreateOidcLogout {
1837
1984
  */
1838
1985
  backchannel_logout_urls: Array<string>;
1839
1986
  }
1987
+ /**
1988
+ * JWT-secured Authorization Requests (JAR) settings.
1989
+ */
1990
+ export interface ClientCreateSignedRequestObject {
1991
+ /**
1992
+ * Indicates whether the JAR requests are mandatory
1993
+ *
1994
+ */
1995
+ required?: boolean;
1996
+ /**
1997
+ */
1998
+ credentials?: Array<ClientCreateClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
1999
+ }
1840
2000
  /**
1841
2001
  * Encryption used for WsFed responses with this client.
1842
2002
  */
@@ -2073,6 +2233,19 @@ export declare const ClientRefreshTokenExpirationTypeEnum: {
2073
2233
  readonly non_expiring: "non-expiring";
2074
2234
  };
2075
2235
  export type ClientRefreshTokenExpirationTypeEnum = (typeof ClientRefreshTokenExpirationTypeEnum)[keyof typeof ClientRefreshTokenExpirationTypeEnum];
2236
+ /**
2237
+ * JWT-secured Authorization Requests (JAR) settings.
2238
+ */
2239
+ export interface ClientSignedRequestObject {
2240
+ /**
2241
+ * Indicates whether the JAR requests are mandatory
2242
+ *
2243
+ */
2244
+ required: boolean;
2245
+ /**
2246
+ */
2247
+ credentials: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
2248
+ }
2076
2249
  /**
2077
2250
  *
2078
2251
  */
@@ -2257,6 +2430,24 @@ export interface ClientUpdate {
2257
2430
  /**
2258
2431
  */
2259
2432
  client_authentication_methods?: ClientUpdateClientAuthenticationMethods | null;
2433
+ /**
2434
+ * Makes the use of Pushed Authorization Requests mandatory for this client
2435
+ *
2436
+ */
2437
+ require_pushed_authorization_requests?: boolean;
2438
+ /**
2439
+ */
2440
+ signed_request_object?: ClientUpdateSignedRequestObject | null;
2441
+ /**
2442
+ * Makes the use of Proof-of-Possession mandatory for this client
2443
+ *
2444
+ */
2445
+ require_proof_of_possession?: boolean;
2446
+ /**
2447
+ * Defines the compliance level for this client, which may restrict it's capabilities
2448
+ *
2449
+ */
2450
+ compliance_level?: ClientUpdateComplianceLevelEnum;
2260
2451
  }
2261
2452
  export declare const ClientUpdateTokenEndpointAuthMethodEnum: {
2262
2453
  readonly none: "none";
@@ -2303,6 +2494,13 @@ export declare const ClientUpdateOrganizationRequireBehaviorEnum: {
2303
2494
  readonly post_login_prompt: "post_login_prompt";
2304
2495
  };
2305
2496
  export type ClientUpdateOrganizationRequireBehaviorEnum = (typeof ClientUpdateOrganizationRequireBehaviorEnum)[keyof typeof ClientUpdateOrganizationRequireBehaviorEnum];
2497
+ export declare const ClientUpdateComplianceLevelEnum: {
2498
+ readonly none: "none";
2499
+ readonly fapi1_adv_pkj_par: "fapi1_adv_pkj_par";
2500
+ readonly fapi1_adv_mtls_par: "fapi1_adv_mtls_par";
2501
+ readonly null: "null";
2502
+ };
2503
+ export type ClientUpdateComplianceLevelEnum = (typeof ClientUpdateComplianceLevelEnum)[keyof typeof ClientUpdateComplianceLevelEnum];
2306
2504
  /**
2307
2505
  * Addons enabled for this client and their associated configurations.
2308
2506
  */
@@ -2427,6 +2625,12 @@ export interface ClientUpdateClientAuthenticationMethods {
2427
2625
  /**
2428
2626
  */
2429
2627
  private_key_jwt?: ClientClientAuthenticationMethodsPrivateKeyJwt;
2628
+ /**
2629
+ */
2630
+ tls_client_auth?: ClientClientAuthenticationMethodsTlsClientAuth;
2631
+ /**
2632
+ */
2633
+ self_signed_tls_client_auth?: ClientClientAuthenticationMethodsSelfSignedTlsClientAuth;
2430
2634
  }
2431
2635
  /**
2432
2636
  * The client's encryption key
@@ -2525,6 +2729,19 @@ export interface ClientUpdateOidcLogout {
2525
2729
  */
2526
2730
  backchannel_logout_urls?: Array<string>;
2527
2731
  }
2732
+ /**
2733
+ * JWT-secured Authorization Requests (JAR) settings.
2734
+ */
2735
+ export interface ClientUpdateSignedRequestObject {
2736
+ /**
2737
+ * Indicates whether the JAR requests are mandatory
2738
+ *
2739
+ */
2740
+ required?: boolean;
2741
+ /**
2742
+ */
2743
+ credentials?: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
2744
+ }
2528
2745
  /**
2529
2746
  *
2530
2747
  */
@@ -4683,6 +4900,16 @@ export interface GetCredentials200ResponseInner {
4683
4900
  *
4684
4901
  */
4685
4902
  credential_type: string;
4903
+ /**
4904
+ * The X509 certificate's Subject Distinguished Name
4905
+ *
4906
+ */
4907
+ subject_dn: string;
4908
+ /**
4909
+ * The X509 certificate's SHA256 thumbprint
4910
+ *
4911
+ */
4912
+ thumbprint_sha256: string;
4686
4913
  /**
4687
4914
  * The ISO 8601 formatted date the credential was created.
4688
4915
  *
@@ -4705,6 +4932,16 @@ export declare const GetCredentials200ResponseInnerAlgEnum: {
4705
4932
  readonly PS256: "PS256";
4706
4933
  };
4707
4934
  export type GetCredentials200ResponseInnerAlgEnum = (typeof GetCredentials200ResponseInnerAlgEnum)[keyof typeof GetCredentials200ResponseInnerAlgEnum];
4935
+ /**
4936
+ *
4937
+ */
4938
+ export interface GetDefaultMapping200Response {
4939
+ /**
4940
+ * The mapping between auth0 and SCIM
4941
+ *
4942
+ */
4943
+ mapping: Array<GetScimConfiguration200ResponseMappingInner>;
4944
+ }
4708
4945
  /**
4709
4946
  *
4710
4947
  */
@@ -6110,134 +6347,675 @@ export type GetPnProviders200ResponseProviderEnum = (typeof GetPnProviders200Res
6110
6347
  /**
6111
6348
  *
6112
6349
  */
6113
- export type GetResourceServers200Response = Array<ResourceServer> | GetResourceServers200ResponseOneOf;
6114
- /**
6115
- *
6116
- */
6117
- export interface GetResourceServers200ResponseOneOf {
6350
+ export interface GetRefreshToken200Response {
6351
+ [key: string]: any | any;
6118
6352
  /**
6353
+ * The ID of the refresh token
6354
+ *
6119
6355
  */
6120
- start: number;
6356
+ id: string;
6121
6357
  /**
6358
+ * ID of the user which can be used when interacting with other APIs.
6359
+ *
6122
6360
  */
6123
- limit: number;
6361
+ user_id: string;
6124
6362
  /**
6125
6363
  */
6126
- total: number;
6364
+ created_at: GetRefreshToken200ResponseCreatedAt | null;
6127
6365
  /**
6128
6366
  */
6129
- resource_servers: Array<ResourceServer>;
6130
- }
6131
- /**
6132
- *
6133
- */
6134
- export type GetRolePermission200Response = Array<Permission> | GetRolePermission200ResponseOneOf;
6135
- /**
6136
- *
6137
- */
6138
- export interface GetRolePermission200ResponseOneOf {
6367
+ idle_expires_at: GetRefreshToken200ResponseIdleExpiresAt | null;
6139
6368
  /**
6140
6369
  */
6141
- start: number;
6370
+ expires_at: GetRefreshToken200ResponseExpiresAt | null;
6142
6371
  /**
6372
+ * ID of the client application granted with this refresh token
6373
+ *
6143
6374
  */
6144
- limit: number;
6375
+ client_id: string;
6145
6376
  /**
6377
+ * ID of the authenticated session used to obtain this refresh-token
6378
+ *
6146
6379
  */
6147
- total: number;
6380
+ session_id: string | null;
6148
6381
  /**
6382
+ * True if the token is a rotating refresh token
6383
+ *
6149
6384
  */
6150
- permissions: Array<Permission>;
6385
+ rotating: boolean;
6386
+ /**
6387
+ * A list of the resource server IDs associated to this refresh-token and their granted scopes
6388
+ *
6389
+ */
6390
+ resource_servers: Array<GetRefreshToken200ResponseResourceServersInner>;
6151
6391
  }
6152
6392
  /**
6153
6393
  *
6154
6394
  */
6155
- export type GetRoleUser200Response = Array<GetRoleUser200ResponseOneOfInner> | GetRoleUser200ResponseOneOf | GetRoleUser200ResponseOneOf1;
6395
+ export type GetRefreshToken200ResponseCreatedAt = string | {
6396
+ [key: string]: any;
6397
+ };
6156
6398
  /**
6157
6399
  *
6158
6400
  */
6159
- export interface GetRoleUser200ResponseOneOf {
6160
- /**
6161
- */
6162
- start: number;
6163
- /**
6164
- */
6165
- limit: number;
6401
+ export type GetRefreshToken200ResponseExpiresAt = string | {
6402
+ [key: string]: any;
6403
+ };
6404
+ /**
6405
+ *
6406
+ */
6407
+ export type GetRefreshToken200ResponseIdleExpiresAt = string | {
6408
+ [key: string]: any;
6409
+ };
6410
+ /**
6411
+ *
6412
+ */
6413
+ export interface GetRefreshToken200ResponseResourceServersInner {
6414
+ [key: string]: any | any;
6166
6415
  /**
6416
+ * Resource server ID
6417
+ *
6167
6418
  */
6168
- total: number;
6419
+ audience: string;
6169
6420
  /**
6421
+ * List of scopes for the refresh token
6422
+ *
6170
6423
  */
6171
- users: Array<GetRoleUser200ResponseOneOfInner>;
6424
+ scopes: string;
6172
6425
  }
6173
6426
  /**
6174
6427
  *
6175
6428
  */
6176
- export interface GetRoleUser200ResponseOneOf1 {
6177
- /**
6178
- */
6179
- next: string;
6429
+ export interface GetRefreshTokensForUser200Response {
6430
+ [key: string]: any | any;
6180
6431
  /**
6181
6432
  */
6182
- users: Array<GetRoleUser200ResponseOneOfInner>;
6433
+ sessions: Array<GetRefreshTokensForUser200ResponseSessionsInner>;
6183
6434
  }
6184
6435
  /**
6185
6436
  *
6186
6437
  */
6187
- export interface GetRoleUser200ResponseOneOfInner {
6438
+ export interface GetRefreshTokensForUser200ResponseSessionsInner {
6439
+ [key: string]: any | any;
6188
6440
  /**
6189
- * ID of this user.
6441
+ * The ID of the refresh token
6190
6442
  *
6191
6443
  */
6192
- user_id: string;
6444
+ id: string;
6193
6445
  /**
6194
- * URL to a picture for this user.
6446
+ * ID of the user which can be used when interacting with other APIs.
6195
6447
  *
6196
6448
  */
6197
- picture: string;
6449
+ user_id: string;
6198
6450
  /**
6199
- * Name of this user.
6200
- *
6201
6451
  */
6202
- name: string;
6452
+ created_at: GetRefreshTokensForUser200ResponseSessionsInnerCreatedAt;
6203
6453
  /**
6204
- * Email address of this user.
6205
- *
6206
6454
  */
6207
- email: string;
6208
- }
6209
- /**
6210
- *
6211
- */
6212
- export type GetRules200Response = Array<Rule> | GetRules200ResponseOneOf;
6213
- /**
6214
- *
6215
- */
6216
- export interface GetRules200ResponseOneOf {
6455
+ idle_expires_at: GetRefreshTokensForUser200ResponseSessionsInnerIdleExpiresAt;
6217
6456
  /**
6218
6457
  */
6219
- start: number;
6458
+ expires_at: GetRefreshTokensForUser200ResponseSessionsInnerExpiresAt;
6220
6459
  /**
6460
+ * ID of the client application granted with this refresh token
6461
+ *
6221
6462
  */
6222
- limit: number;
6463
+ client_id: string;
6223
6464
  /**
6465
+ * ID of the authenticated session used to obtain this refresh-token
6466
+ *
6224
6467
  */
6225
- total: number;
6468
+ session_id: string;
6226
6469
  /**
6470
+ * True if the token is a rotating refresh token
6471
+ *
6227
6472
  */
6228
- rules: Array<Rule>;
6473
+ rotating: boolean;
6474
+ /**
6475
+ * A list of the resource server IDs associated to this refresh-token and their granted scopes
6476
+ *
6477
+ */
6478
+ resource_servers: Array<GetRefreshToken200ResponseResourceServersInner>;
6229
6479
  }
6230
6480
  /**
6231
6481
  *
6232
6482
  */
6233
- export interface GetRulesConfigs200ResponseInner {
6234
- [key: string]: any | any;
6235
- /**
6483
+ export type GetRefreshTokensForUser200ResponseSessionsInnerCreatedAt = string | {
6484
+ [key: string]: any;
6485
+ };
6486
+ /**
6487
+ *
6488
+ */
6489
+ export type GetRefreshTokensForUser200ResponseSessionsInnerExpiresAt = string | {
6490
+ [key: string]: any;
6491
+ };
6492
+ /**
6493
+ *
6494
+ */
6495
+ export type GetRefreshTokensForUser200ResponseSessionsInnerIdleExpiresAt = string | {
6496
+ [key: string]: any;
6497
+ };
6498
+ /**
6499
+ *
6500
+ */
6501
+ export type GetResourceServers200Response = Array<ResourceServer> | GetResourceServers200ResponseOneOf;
6502
+ /**
6503
+ *
6504
+ */
6505
+ export interface GetResourceServers200ResponseOneOf {
6506
+ /**
6507
+ */
6508
+ start: number;
6509
+ /**
6510
+ */
6511
+ limit: number;
6512
+ /**
6513
+ */
6514
+ total: number;
6515
+ /**
6516
+ */
6517
+ resource_servers: Array<ResourceServer>;
6518
+ }
6519
+ /**
6520
+ *
6521
+ */
6522
+ export type GetRolePermission200Response = Array<Permission> | GetRolePermission200ResponseOneOf;
6523
+ /**
6524
+ *
6525
+ */
6526
+ export interface GetRolePermission200ResponseOneOf {
6527
+ /**
6528
+ */
6529
+ start: number;
6530
+ /**
6531
+ */
6532
+ limit: number;
6533
+ /**
6534
+ */
6535
+ total: number;
6536
+ /**
6537
+ */
6538
+ permissions: Array<Permission>;
6539
+ }
6540
+ /**
6541
+ *
6542
+ */
6543
+ export type GetRoleUser200Response = Array<GetRoleUser200ResponseOneOfInner> | GetRoleUser200ResponseOneOf | GetRoleUser200ResponseOneOf1;
6544
+ /**
6545
+ *
6546
+ */
6547
+ export interface GetRoleUser200ResponseOneOf {
6548
+ /**
6549
+ */
6550
+ start: number;
6551
+ /**
6552
+ */
6553
+ limit: number;
6554
+ /**
6555
+ */
6556
+ total: number;
6557
+ /**
6558
+ */
6559
+ users: Array<GetRoleUser200ResponseOneOfInner>;
6560
+ }
6561
+ /**
6562
+ *
6563
+ */
6564
+ export interface GetRoleUser200ResponseOneOf1 {
6565
+ /**
6566
+ */
6567
+ next: string;
6568
+ /**
6569
+ */
6570
+ users: Array<GetRoleUser200ResponseOneOfInner>;
6571
+ }
6572
+ /**
6573
+ *
6574
+ */
6575
+ export interface GetRoleUser200ResponseOneOfInner {
6576
+ /**
6577
+ * ID of this user.
6578
+ *
6579
+ */
6580
+ user_id: string;
6581
+ /**
6582
+ * URL to a picture for this user.
6583
+ *
6584
+ */
6585
+ picture: string;
6586
+ /**
6587
+ * Name of this user.
6588
+ *
6589
+ */
6590
+ name: string;
6591
+ /**
6592
+ * Email address of this user.
6593
+ *
6594
+ */
6595
+ email: string;
6596
+ }
6597
+ /**
6598
+ *
6599
+ */
6600
+ export type GetRules200Response = Array<Rule> | GetRules200ResponseOneOf;
6601
+ /**
6602
+ *
6603
+ */
6604
+ export interface GetRules200ResponseOneOf {
6605
+ /**
6606
+ */
6607
+ start: number;
6608
+ /**
6609
+ */
6610
+ limit: number;
6611
+ /**
6612
+ */
6613
+ total: number;
6614
+ /**
6615
+ */
6616
+ rules: Array<Rule>;
6617
+ }
6618
+ /**
6619
+ *
6620
+ */
6621
+ export interface GetRulesConfigs200ResponseInner {
6622
+ [key: string]: any | any;
6623
+ /**
6236
6624
  * Key for a rules config variable.
6237
6625
  *
6238
6626
  */
6239
6627
  key: string;
6240
6628
  }
6629
+ /**
6630
+ *
6631
+ */
6632
+ export interface GetScimConfiguration200Response {
6633
+ /**
6634
+ * The connection's identifier
6635
+ *
6636
+ */
6637
+ connection_id: string;
6638
+ /**
6639
+ * The connection's identifier
6640
+ *
6641
+ */
6642
+ connection_name: string;
6643
+ /**
6644
+ * The connection's strategy
6645
+ *
6646
+ */
6647
+ strategy: string;
6648
+ /**
6649
+ * The tenant's name
6650
+ *
6651
+ */
6652
+ tenant_name: string;
6653
+ /**
6654
+ * User ID attribute for generating unique user ids
6655
+ *
6656
+ */
6657
+ user_id_attribute: string;
6658
+ /**
6659
+ * The mapping between auth0 and SCIM
6660
+ *
6661
+ */
6662
+ mapping: Array<GetScimConfiguration200ResponseMappingInner>;
6663
+ /**
6664
+ * The Date Time Scim Configuration was created
6665
+ *
6666
+ */
6667
+ created_at: string;
6668
+ /**
6669
+ * The Date Time Scim Configuration was last updated
6670
+ *
6671
+ */
6672
+ updated_on: string;
6673
+ }
6674
+ /**
6675
+ *
6676
+ */
6677
+ export interface GetScimConfiguration200ResponseMappingInner {
6678
+ [key: string]: any | any;
6679
+ /**
6680
+ * The field location in the auth0 schema
6681
+ *
6682
+ */
6683
+ auth0: string;
6684
+ /**
6685
+ * The field location in the SCIM schema
6686
+ *
6687
+ */
6688
+ scim: string;
6689
+ }
6690
+ /**
6691
+ *
6692
+ */
6693
+ export interface GetScimTokens200ResponseInner {
6694
+ [key: string]: any | any;
6695
+ /**
6696
+ * The token's identifier
6697
+ *
6698
+ */
6699
+ token_id: string;
6700
+ /**
6701
+ * The scopes of the scim token
6702
+ *
6703
+ */
6704
+ scopes: Array<string>;
6705
+ /**
6706
+ * The token's created at timestamp
6707
+ *
6708
+ */
6709
+ created_at: string;
6710
+ /**
6711
+ * The token's valid until timestamp
6712
+ *
6713
+ */
6714
+ valid_until: string;
6715
+ /**
6716
+ * The token's last used at timestamp
6717
+ *
6718
+ */
6719
+ last_used_at: string;
6720
+ }
6721
+ /**
6722
+ *
6723
+ */
6724
+ export interface GetSession200Response {
6725
+ [key: string]: any | any;
6726
+ /**
6727
+ * The ID of the session
6728
+ *
6729
+ */
6730
+ id: string;
6731
+ /**
6732
+ * ID of the user which can be used when interacting with other APIs.
6733
+ *
6734
+ */
6735
+ user_id: string;
6736
+ /**
6737
+ */
6738
+ created_at: GetSession200ResponseCreatedAt | null;
6739
+ /**
6740
+ */
6741
+ updated_at: GetSession200ResponseUpdatedAt | null;
6742
+ /**
6743
+ */
6744
+ authenticated_at: GetSession200ResponseAuthenticatedAt | null;
6745
+ /**
6746
+ */
6747
+ idle_expires_at: GetSession200ResponseIdleExpiresAt | null;
6748
+ /**
6749
+ */
6750
+ expires_at: GetSession200ResponseExpiresAt | null;
6751
+ /**
6752
+ */
6753
+ device: GetSession200ResponseDevice;
6754
+ /**
6755
+ * List of client details for the session
6756
+ *
6757
+ */
6758
+ clients: Array<GetSession200ResponseClientsInner>;
6759
+ /**
6760
+ */
6761
+ authentication: GetSession200ResponseAuthentication;
6762
+ }
6763
+ /**
6764
+ *
6765
+ */
6766
+ export type GetSession200ResponseAuthenticatedAt = string | {
6767
+ [key: string]: any;
6768
+ };
6769
+ /**
6770
+ * Details about authentication signals obtained during the login flow
6771
+ */
6772
+ export interface GetSession200ResponseAuthentication {
6773
+ [key: string]: any | any;
6774
+ /**
6775
+ * Contains the authentication methods a user has completed during their session
6776
+ *
6777
+ */
6778
+ methods: Array<GetSession200ResponseAuthenticationMethodsInner>;
6779
+ }
6780
+ /**
6781
+ * Authentication signal details
6782
+ */
6783
+ export interface GetSession200ResponseAuthenticationMethodsInner {
6784
+ [key: string]: any | any;
6785
+ /**
6786
+ * One of: "federated", "passkey", "pwd", "sms", "email", "mfa", "mock" or a custom method denoted by a URL
6787
+ *
6788
+ */
6789
+ name: string;
6790
+ /**
6791
+ */
6792
+ timestamp: GetSession200ResponseAuthenticationMethodsInnerTimestamp | null;
6793
+ /**
6794
+ * A specific MFA factor. Only present when "name" is set to "mfa"
6795
+ *
6796
+ */
6797
+ type$: string;
6798
+ }
6799
+ /**
6800
+ *
6801
+ */
6802
+ export type GetSession200ResponseAuthenticationMethodsInnerTimestamp = string | {
6803
+ [key: string]: any;
6804
+ };
6805
+ /**
6806
+ * Client details
6807
+ */
6808
+ export interface GetSession200ResponseClientsInner {
6809
+ [key: string]: any | any;
6810
+ /**
6811
+ * ID of client for the session
6812
+ *
6813
+ */
6814
+ client_id: string;
6815
+ }
6816
+ /**
6817
+ *
6818
+ */
6819
+ export type GetSession200ResponseCreatedAt = string | {
6820
+ [key: string]: any;
6821
+ };
6822
+ /**
6823
+ * Metadata related to the device used in the session
6824
+ */
6825
+ export interface GetSession200ResponseDevice {
6826
+ [key: string]: any | any;
6827
+ /**
6828
+ * First IP address associated with this session
6829
+ *
6830
+ */
6831
+ initial_ip: string | null;
6832
+ /**
6833
+ * First autonomous system number associated with this session
6834
+ *
6835
+ */
6836
+ initial_asn: string;
6837
+ /**
6838
+ * Last user agent of the device from which this user logged in
6839
+ *
6840
+ */
6841
+ last_user_agent: string;
6842
+ /**
6843
+ * Last IP address from which this user logged in
6844
+ *
6845
+ */
6846
+ last_ip: string | null;
6847
+ /**
6848
+ * Last autonomous system number from which this user logged in
6849
+ *
6850
+ */
6851
+ last_asn: string;
6852
+ }
6853
+ /**
6854
+ *
6855
+ */
6856
+ export type GetSession200ResponseExpiresAt = string | {
6857
+ [key: string]: any;
6858
+ };
6859
+ /**
6860
+ *
6861
+ */
6862
+ export type GetSession200ResponseIdleExpiresAt = string | {
6863
+ [key: string]: any;
6864
+ };
6865
+ /**
6866
+ *
6867
+ */
6868
+ export type GetSession200ResponseUpdatedAt = string | {
6869
+ [key: string]: any;
6870
+ };
6871
+ /**
6872
+ *
6873
+ */
6874
+ export interface GetSessionsForUser200Response {
6875
+ [key: string]: any | any;
6876
+ /**
6877
+ */
6878
+ sessions: Array<GetSessionsForUser200ResponseSessionsInner>;
6879
+ }
6880
+ /**
6881
+ *
6882
+ */
6883
+ export interface GetSessionsForUser200ResponseSessionsInner {
6884
+ [key: string]: any | any;
6885
+ /**
6886
+ * The ID of the session
6887
+ *
6888
+ */
6889
+ id: string;
6890
+ /**
6891
+ * ID of the user which can be used when interacting with other APIs.
6892
+ *
6893
+ */
6894
+ user_id: string;
6895
+ /**
6896
+ */
6897
+ created_at: GetSessionsForUser200ResponseSessionsInnerCreatedAt;
6898
+ /**
6899
+ */
6900
+ updated_at: GetSessionsForUser200ResponseSessionsInnerUpdatedAt;
6901
+ /**
6902
+ */
6903
+ authenticated_at: GetSessionsForUser200ResponseSessionsInnerAuthenticatedAt;
6904
+ /**
6905
+ */
6906
+ idle_expires_at: GetSessionsForUser200ResponseSessionsInnerIdleExpiresAt;
6907
+ /**
6908
+ */
6909
+ expires_at: GetSessionsForUser200ResponseSessionsInnerExpiresAt;
6910
+ /**
6911
+ */
6912
+ device: GetSessionsForUser200ResponseSessionsInnerDevice;
6913
+ /**
6914
+ * List of client details for the session
6915
+ *
6916
+ */
6917
+ clients: Array<GetSession200ResponseClientsInner>;
6918
+ /**
6919
+ */
6920
+ authentication: GetSessionsForUser200ResponseSessionsInnerAuthentication;
6921
+ }
6922
+ /**
6923
+ *
6924
+ */
6925
+ export type GetSessionsForUser200ResponseSessionsInnerAuthenticatedAt = string | {
6926
+ [key: string]: any;
6927
+ };
6928
+ /**
6929
+ * Details about authentication signals obtained during the login flow
6930
+ */
6931
+ export interface GetSessionsForUser200ResponseSessionsInnerAuthentication {
6932
+ [key: string]: any | any;
6933
+ /**
6934
+ * Contains the authentication methods a user has completed during their session
6935
+ *
6936
+ */
6937
+ methods: Array<GetSessionsForUser200ResponseSessionsInnerAuthenticationMethodsInner>;
6938
+ }
6939
+ /**
6940
+ * Authentication signal details
6941
+ */
6942
+ export interface GetSessionsForUser200ResponseSessionsInnerAuthenticationMethodsInner {
6943
+ [key: string]: any | any;
6944
+ /**
6945
+ * One of: "federated", "passkey", "pwd", "sms", "email", "mfa", "mock" or a custom method denoted by a URL
6946
+ *
6947
+ */
6948
+ name: string;
6949
+ /**
6950
+ */
6951
+ timestamp: GetSessionsForUser200ResponseSessionsInnerAuthenticationMethodsInnerTimestamp;
6952
+ /**
6953
+ * A specific MFA factor. Only present when "name" is set to "mfa"
6954
+ *
6955
+ */
6956
+ type$: string;
6957
+ }
6958
+ /**
6959
+ *
6960
+ */
6961
+ export type GetSessionsForUser200ResponseSessionsInnerAuthenticationMethodsInnerTimestamp = string | {
6962
+ [key: string]: any;
6963
+ };
6964
+ /**
6965
+ *
6966
+ */
6967
+ export type GetSessionsForUser200ResponseSessionsInnerCreatedAt = string | {
6968
+ [key: string]: any;
6969
+ };
6970
+ /**
6971
+ * Metadata related to the device used in the session
6972
+ */
6973
+ export interface GetSessionsForUser200ResponseSessionsInnerDevice {
6974
+ [key: string]: any | any;
6975
+ /**
6976
+ * First IP address associated with this session
6977
+ *
6978
+ */
6979
+ initial_ip: string;
6980
+ /**
6981
+ * First autonomous system number associated with this session
6982
+ *
6983
+ */
6984
+ initial_asn: string;
6985
+ /**
6986
+ * Last user agent of the device from which this user logged in
6987
+ *
6988
+ */
6989
+ last_user_agent: string;
6990
+ /**
6991
+ * Last IP address from which this user logged in
6992
+ *
6993
+ */
6994
+ last_ip: string;
6995
+ /**
6996
+ * Last autonomous system number from which this user logged in
6997
+ *
6998
+ */
6999
+ last_asn: string;
7000
+ }
7001
+ /**
7002
+ *
7003
+ */
7004
+ export type GetSessionsForUser200ResponseSessionsInnerExpiresAt = string | {
7005
+ [key: string]: any;
7006
+ };
7007
+ /**
7008
+ *
7009
+ */
7010
+ export type GetSessionsForUser200ResponseSessionsInnerIdleExpiresAt = string | {
7011
+ [key: string]: any;
7012
+ };
7013
+ /**
7014
+ *
7015
+ */
7016
+ export type GetSessionsForUser200ResponseSessionsInnerUpdatedAt = string | {
7017
+ [key: string]: any;
7018
+ };
6241
7019
  /**
6242
7020
  *
6243
7021
  */
@@ -7533,6 +8311,21 @@ export interface PatchOrganizationsByIdRequestBranding {
7533
8311
  */
7534
8312
  colors?: GetOrganizations200ResponseOneOfInnerBrandingColors;
7535
8313
  }
8314
+ /**
8315
+ *
8316
+ */
8317
+ export interface PatchScimConfigurationRequest {
8318
+ /**
8319
+ * User ID attribute for generating unique user ids
8320
+ *
8321
+ */
8322
+ user_id_attribute: string;
8323
+ /**
8324
+ * The mapping between auth0 and SCIM
8325
+ *
8326
+ */
8327
+ mapping: Array<PostScimConfigurationRequestMappingInner>;
8328
+ }
7536
8329
  /**
7537
8330
  *
7538
8331
  */
@@ -9428,6 +10221,82 @@ export interface PostRoleUsersRequest {
9428
10221
  */
9429
10222
  users: Array<string>;
9430
10223
  }
10224
+ /**
10225
+ *
10226
+ */
10227
+ export interface PostScimConfigurationRequest {
10228
+ /**
10229
+ * User ID attribute for generating unique user ids
10230
+ *
10231
+ */
10232
+ user_id_attribute?: string;
10233
+ /**
10234
+ * The mapping between auth0 and SCIM
10235
+ *
10236
+ */
10237
+ mapping?: Array<PostScimConfigurationRequestMappingInner>;
10238
+ }
10239
+ /**
10240
+ *
10241
+ */
10242
+ export interface PostScimConfigurationRequestMappingInner {
10243
+ [key: string]: any | any;
10244
+ /**
10245
+ * The field location in the auth0 schema
10246
+ *
10247
+ */
10248
+ auth0?: string;
10249
+ /**
10250
+ * The field location in the SCIM schema
10251
+ *
10252
+ */
10253
+ scim?: string;
10254
+ }
10255
+ /**
10256
+ *
10257
+ */
10258
+ export interface PostScimToken201Response {
10259
+ /**
10260
+ * The token's identifier
10261
+ *
10262
+ */
10263
+ token_id: string;
10264
+ /**
10265
+ * The scim client's token
10266
+ *
10267
+ */
10268
+ token: string;
10269
+ /**
10270
+ * The scopes of the scim token
10271
+ *
10272
+ */
10273
+ scopes: Array<string>;
10274
+ /**
10275
+ * The token's created at timestamp
10276
+ *
10277
+ */
10278
+ created_at: string;
10279
+ /**
10280
+ * The token's valid until at timestamp
10281
+ *
10282
+ */
10283
+ valid_until: string;
10284
+ }
10285
+ /**
10286
+ * SCIM Token
10287
+ */
10288
+ export interface PostScimTokenRequest {
10289
+ /**
10290
+ * The scopes of the scim token
10291
+ *
10292
+ */
10293
+ scopes?: Array<string>;
10294
+ /**
10295
+ * Lifetime of the token in seconds. Must be greater than 900
10296
+ *
10297
+ */
10298
+ token_lifetime?: number | null;
10299
+ }
9431
10300
  /**
9432
10301
  *
9433
10302
  */
@@ -10138,6 +11007,18 @@ export interface ResourceServer {
10138
11007
  /**
10139
11008
  */
10140
11009
  client: object;
11010
+ /**
11011
+ */
11012
+ token_encryption: ResourceServerTokenEncryption | null;
11013
+ /**
11014
+ */
11015
+ consent_policy: ResourceServerConsentPolicyEnum;
11016
+ /**
11017
+ */
11018
+ authorization_details: Array<any>;
11019
+ /**
11020
+ */
11021
+ proof_of_possession: ResourceServerProofOfPossession | null;
10141
11022
  }
10142
11023
  export declare const ResourceServerSigningAlgEnum: {
10143
11024
  readonly HS256: "HS256";
@@ -10151,7 +11032,12 @@ export declare const ResourceServerTokenDialectEnum: {
10151
11032
  readonly rfc9068_profile: "rfc9068_profile";
10152
11033
  readonly rfc9068_profile_authz: "rfc9068_profile_authz";
10153
11034
  };
10154
- export type ResourceServerTokenDialectEnum = (typeof ResourceServerTokenDialectEnum)[keyof typeof ResourceServerTokenDialectEnum];
11035
+ export type ResourceServerTokenDialectEnum = (typeof ResourceServerTokenDialectEnum)[keyof typeof ResourceServerTokenDialectEnum];
11036
+ export declare const ResourceServerConsentPolicyEnum: {
11037
+ readonly transactional_authorization_with_mfa: "transactional-authorization-with-mfa";
11038
+ readonly null: "null";
11039
+ };
11040
+ export type ResourceServerConsentPolicyEnum = (typeof ResourceServerConsentPolicyEnum)[keyof typeof ResourceServerConsentPolicyEnum];
10155
11041
  /**
10156
11042
  *
10157
11043
  */
@@ -10192,7 +11078,7 @@ export interface ResourceServerCreate {
10192
11078
  */
10193
11079
  token_lifetime?: number;
10194
11080
  /**
10195
- * Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
11081
+ * Dialect of issued access token. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
10196
11082
  *
10197
11083
  */
10198
11084
  token_dialect?: ResourceServerCreateTokenDialectEnum;
@@ -10209,6 +11095,18 @@ export interface ResourceServerCreate {
10209
11095
  /**
10210
11096
  */
10211
11097
  client?: object;
11098
+ /**
11099
+ */
11100
+ token_encryption?: ResourceServerTokenEncryption | null;
11101
+ /**
11102
+ */
11103
+ consent_policy?: ResourceServerCreateConsentPolicyEnum;
11104
+ /**
11105
+ */
11106
+ authorization_details?: Array<any>;
11107
+ /**
11108
+ */
11109
+ proof_of_possession?: ResourceServerProofOfPossession | null;
10212
11110
  }
10213
11111
  export declare const ResourceServerCreateSigningAlgEnum: {
10214
11112
  readonly HS256: "HS256";
@@ -10223,6 +11121,78 @@ export declare const ResourceServerCreateTokenDialectEnum: {
10223
11121
  readonly rfc9068_profile_authz: "rfc9068_profile_authz";
10224
11122
  };
10225
11123
  export type ResourceServerCreateTokenDialectEnum = (typeof ResourceServerCreateTokenDialectEnum)[keyof typeof ResourceServerCreateTokenDialectEnum];
11124
+ export declare const ResourceServerCreateConsentPolicyEnum: {
11125
+ readonly transactional_authorization_with_mfa: "transactional-authorization-with-mfa";
11126
+ readonly null: "null";
11127
+ };
11128
+ export type ResourceServerCreateConsentPolicyEnum = (typeof ResourceServerCreateConsentPolicyEnum)[keyof typeof ResourceServerCreateConsentPolicyEnum];
11129
+ /**
11130
+ * Proof-of-Possession configuration for access tokens
11131
+ */
11132
+ export interface ResourceServerProofOfPossession {
11133
+ /**
11134
+ * Intended mechanism for Proof-of-Possession
11135
+ *
11136
+ */
11137
+ mechanism: ResourceServerProofOfPossessionMechanismEnum;
11138
+ /**
11139
+ * Whether the use of Proof-of-Possession is required for the resource server
11140
+ *
11141
+ */
11142
+ required: boolean;
11143
+ }
11144
+ export declare const ResourceServerProofOfPossessionMechanismEnum: {
11145
+ readonly mtls: "mtls";
11146
+ };
11147
+ export type ResourceServerProofOfPossessionMechanismEnum = (typeof ResourceServerProofOfPossessionMechanismEnum)[keyof typeof ResourceServerProofOfPossessionMechanismEnum];
11148
+ /**
11149
+ *
11150
+ */
11151
+ export interface ResourceServerTokenEncryption {
11152
+ /**
11153
+ * Format of the encrypted JWT payload.
11154
+ *
11155
+ */
11156
+ format: ResourceServerTokenEncryptionFormatEnum;
11157
+ /**
11158
+ */
11159
+ encryption_key: ResourceServerTokenEncryptionEncryptionKey;
11160
+ }
11161
+ export declare const ResourceServerTokenEncryptionFormatEnum: {
11162
+ readonly compact_nested_jwe: "compact-nested-jwe";
11163
+ };
11164
+ export type ResourceServerTokenEncryptionFormatEnum = (typeof ResourceServerTokenEncryptionFormatEnum)[keyof typeof ResourceServerTokenEncryptionFormatEnum];
11165
+ /**
11166
+ *
11167
+ */
11168
+ export interface ResourceServerTokenEncryptionEncryptionKey {
11169
+ /**
11170
+ * Name of the encryption key.
11171
+ *
11172
+ */
11173
+ name?: string;
11174
+ /**
11175
+ * Algorithm used to encrypt the token.
11176
+ *
11177
+ */
11178
+ alg: ResourceServerTokenEncryptionEncryptionKeyAlgEnum;
11179
+ /**
11180
+ * Key ID.
11181
+ *
11182
+ */
11183
+ kid?: string;
11184
+ /**
11185
+ * PEM-formatted public key. Must be JSON escaped.
11186
+ *
11187
+ */
11188
+ pem: string;
11189
+ }
11190
+ export declare const ResourceServerTokenEncryptionEncryptionKeyAlgEnum: {
11191
+ readonly _256: "RSA-OAEP-256";
11192
+ readonly _384: "RSA-OAEP-384";
11193
+ readonly _512: "RSA-OAEP-512";
11194
+ };
11195
+ export type ResourceServerTokenEncryptionEncryptionKeyAlgEnum = (typeof ResourceServerTokenEncryptionEncryptionKeyAlgEnum)[keyof typeof ResourceServerTokenEncryptionEncryptionKeyAlgEnum];
10226
11196
  /**
10227
11197
  *
10228
11198
  */
@@ -10263,7 +11233,7 @@ export interface ResourceServerUpdate {
10263
11233
  */
10264
11234
  token_lifetime?: number;
10265
11235
  /**
10266
- * Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
11236
+ * Dialect of issued access token. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
10267
11237
  *
10268
11238
  */
10269
11239
  token_dialect?: ResourceServerUpdateTokenDialectEnum;
@@ -10275,6 +11245,18 @@ export interface ResourceServerUpdate {
10275
11245
  /**
10276
11246
  */
10277
11247
  client?: object;
11248
+ /**
11249
+ */
11250
+ token_encryption?: ResourceServerTokenEncryption | null;
11251
+ /**
11252
+ */
11253
+ consent_policy?: ResourceServerUpdateConsentPolicyEnum;
11254
+ /**
11255
+ */
11256
+ authorization_details?: Array<any>;
11257
+ /**
11258
+ */
11259
+ proof_of_possession?: ResourceServerProofOfPossession | null;
10278
11260
  }
10279
11261
  export declare const ResourceServerUpdateSigningAlgEnum: {
10280
11262
  readonly HS256: "HS256";
@@ -10289,6 +11271,11 @@ export declare const ResourceServerUpdateTokenDialectEnum: {
10289
11271
  readonly rfc9068_profile_authz: "rfc9068_profile_authz";
10290
11272
  };
10291
11273
  export type ResourceServerUpdateTokenDialectEnum = (typeof ResourceServerUpdateTokenDialectEnum)[keyof typeof ResourceServerUpdateTokenDialectEnum];
11274
+ export declare const ResourceServerUpdateConsentPolicyEnum: {
11275
+ readonly transactional_authorization_with_mfa: "transactional-authorization-with-mfa";
11276
+ readonly null: "null";
11277
+ };
11278
+ export type ResourceServerUpdateConsentPolicyEnum = (typeof ResourceServerUpdateConsentPolicyEnum)[keyof typeof ResourceServerUpdateConsentPolicyEnum];
10292
11279
  /**
10293
11280
  *
10294
11281
  */
@@ -10615,6 +11602,19 @@ export interface TenantSettings {
10615
11602
  *
10616
11603
  */
10617
11604
  customize_mfa_in_postlogin_action: boolean;
11605
+ /**
11606
+ * Supported ACR values
11607
+ *
11608
+ */
11609
+ acr_values_supported: Array<string>;
11610
+ /**
11611
+ */
11612
+ mtls: TenantSettingsMtls | null;
11613
+ /**
11614
+ * Enables the use of Pushed Authorization Requests
11615
+ *
11616
+ */
11617
+ pushed_authorization_requests_supported: boolean;
10618
11618
  }
10619
11619
  export declare const TenantSettingsEnabledLocalesEnum: {
10620
11620
  readonly ar: "ar";
@@ -10837,6 +11837,11 @@ export interface TenantSettingsFlags {
10837
11837
  *
10838
11838
  */
10839
11839
  mfa_show_factor_list_on_enrollment: boolean;
11840
+ /**
11841
+ * Removes alg property from jwks .well-known endpoint
11842
+ *
11843
+ */
11844
+ remove_alg_from_jwks: boolean;
10840
11845
  }
10841
11846
  /**
10842
11847
  * Guardian page customization.
@@ -10853,6 +11858,16 @@ export interface TenantSettingsGuardianMfaPage {
10853
11858
  */
10854
11859
  html: string;
10855
11860
  }
11861
+ /**
11862
+ * mTLS configuration.
11863
+ */
11864
+ export interface TenantSettingsMtls {
11865
+ /**
11866
+ * If true, enables mTLS endpoint aliases
11867
+ *
11868
+ */
11869
+ enable_endpoint_aliases: boolean;
11870
+ }
10856
11871
  /**
10857
11872
  * Session cookie configuration
10858
11873
  */
@@ -10973,6 +11988,19 @@ export interface TenantSettingsUpdate {
10973
11988
  *
10974
11989
  */
10975
11990
  allow_organization_name_in_authentication_api?: boolean | null;
11991
+ /**
11992
+ * Supported ACR values
11993
+ *
11994
+ */
11995
+ acr_values_supported?: Array<string>;
11996
+ /**
11997
+ */
11998
+ mtls?: TenantSettingsUpdateMtls | null;
11999
+ /**
12000
+ * Enables the use of Pushed Authorization Requests
12001
+ *
12002
+ */
12003
+ pushed_authorization_requests_supported?: boolean | null;
10976
12004
  }
10977
12005
  export declare const TenantSettingsUpdateEnabledLocalesEnum: {
10978
12006
  readonly ar: "ar";
@@ -11205,6 +12233,11 @@ export interface TenantSettingsUpdateFlags {
11205
12233
  *
11206
12234
  */
11207
12235
  mfa_show_factor_list_on_enrollment?: boolean;
12236
+ /**
12237
+ * Removes alg property from jwks .well-known endpoint
12238
+ *
12239
+ */
12240
+ remove_alg_from_jwks?: boolean;
11208
12241
  }
11209
12242
  export declare const TenantSettingsUpdateFlagsChangePwdFlowV1Enum: {
11210
12243
  readonly false: false;
@@ -11225,6 +12258,16 @@ export interface TenantSettingsUpdateGuardianMfaPage {
11225
12258
  */
11226
12259
  html?: string;
11227
12260
  }
12261
+ /**
12262
+ * mTLS configuration.
12263
+ */
12264
+ export interface TenantSettingsUpdateMtls {
12265
+ /**
12266
+ * If true, enables mTLS endpoint aliases
12267
+ *
12268
+ */
12269
+ enable_endpoint_aliases?: boolean;
12270
+ }
11228
12271
  /**
11229
12272
  * Sessions related settings for tenant
11230
12273
  */
@@ -12191,6 +13234,31 @@ export interface DeleteConnectionsByIdRequest {
12191
13234
  */
12192
13235
  id: string;
12193
13236
  }
13237
+ /**
13238
+ *
13239
+ */
13240
+ export interface DeleteScimConfigurationRequest {
13241
+ /**
13242
+ * The id of the connection to delete its SCIM configuration
13243
+ *
13244
+ */
13245
+ id: string;
13246
+ }
13247
+ /**
13248
+ *
13249
+ */
13250
+ export interface DeleteTokensByTokenIdRequest {
13251
+ /**
13252
+ * The connection id that owns the SCIM token to delete
13253
+ *
13254
+ */
13255
+ id: string;
13256
+ /**
13257
+ * The id of the scim token to delete
13258
+ *
13259
+ */
13260
+ tokenId: string;
13261
+ }
12194
13262
  /**
12195
13263
  *
12196
13264
  */
@@ -12344,6 +13412,36 @@ export interface GetConnectionsByIdRequest {
12344
13412
  */
12345
13413
  include_fields?: boolean;
12346
13414
  }
13415
+ /**
13416
+ *
13417
+ */
13418
+ export interface GetDefaultMappingRequest {
13419
+ /**
13420
+ * The id of the connection to retrieve its default SCIM mapping
13421
+ *
13422
+ */
13423
+ id: string;
13424
+ }
13425
+ /**
13426
+ *
13427
+ */
13428
+ export interface GetScimConfigurationRequest {
13429
+ /**
13430
+ * The id of the connection to retrieve its SCIM configuration
13431
+ *
13432
+ */
13433
+ id: string;
13434
+ }
13435
+ /**
13436
+ *
13437
+ */
13438
+ export interface GetScimTokensRequest {
13439
+ /**
13440
+ * The id of the connection to retrieve its SCIM configuration
13441
+ *
13442
+ */
13443
+ id: string;
13444
+ }
12347
13445
  /**
12348
13446
  *
12349
13447
  */
@@ -12364,6 +13462,36 @@ export interface PatchConnectionsByIdRequest {
12364
13462
  */
12365
13463
  id: string;
12366
13464
  }
13465
+ /**
13466
+ *
13467
+ */
13468
+ export interface PatchScimConfigurationOperationRequest {
13469
+ /**
13470
+ * The id of the connection to update its SCIM configuration
13471
+ *
13472
+ */
13473
+ id: string;
13474
+ }
13475
+ /**
13476
+ *
13477
+ */
13478
+ export interface PostScimConfigurationOperationRequest {
13479
+ /**
13480
+ * The id of the connection to create its SCIM configuration
13481
+ *
13482
+ */
13483
+ id: string;
13484
+ }
13485
+ /**
13486
+ *
13487
+ */
13488
+ export interface PostScimTokenOperationRequest {
13489
+ /**
13490
+ * The id of the connection to create its SCIM token
13491
+ *
13492
+ */
13493
+ id: string;
13494
+ }
12367
13495
  /**
12368
13496
  *
12369
13497
  */
@@ -13570,6 +14698,26 @@ export interface PutPartialsRequest {
13570
14698
  */
13571
14699
  prompt: PutPartialsPromptEnum;
13572
14700
  }
14701
+ /**
14702
+ *
14703
+ */
14704
+ export interface DeleteRefreshTokenRequest {
14705
+ /**
14706
+ * ID of the refresh token to delete.
14707
+ *
14708
+ */
14709
+ id: string;
14710
+ }
14711
+ /**
14712
+ *
14713
+ */
14714
+ export interface GetRefreshTokenRequest {
14715
+ /**
14716
+ * ID refresh token to retrieve
14717
+ *
14718
+ */
14719
+ id: string;
14720
+ }
13573
14721
  /**
13574
14722
  *
13575
14723
  */
@@ -13870,6 +15018,26 @@ export interface PutRulesConfigsByKeyOperationRequest {
13870
15018
  */
13871
15019
  key: string;
13872
15020
  }
15021
+ /**
15022
+ *
15023
+ */
15024
+ export interface DeleteSessionRequest {
15025
+ /**
15026
+ * ID of the session to delete.
15027
+ *
15028
+ */
15029
+ id: string;
15030
+ }
15031
+ /**
15032
+ *
15033
+ */
15034
+ export interface GetSessionRequest {
15035
+ /**
15036
+ * ID of session to retrieve
15037
+ *
15038
+ */
15039
+ id: string;
15040
+ }
13873
15041
  /**
13874
15042
  *
13875
15043
  */
@@ -14024,6 +15192,26 @@ export interface DeletePermissionsOperationRequest {
14024
15192
  */
14025
15193
  id: string;
14026
15194
  }
15195
+ /**
15196
+ *
15197
+ */
15198
+ export interface DeleteRefreshTokensForUserRequest {
15199
+ /**
15200
+ * ID of the user to get remove refresh tokens for
15201
+ *
15202
+ */
15203
+ user_id: string;
15204
+ }
15205
+ /**
15206
+ *
15207
+ */
15208
+ export interface DeleteSessionsForUserRequest {
15209
+ /**
15210
+ * ID of the user to get sessions for
15211
+ *
15212
+ */
15213
+ user_id: string;
15214
+ }
14027
15215
  /**
14028
15216
  *
14029
15217
  */
@@ -14236,6 +15424,56 @@ export interface GetPermissionsRequest {
14236
15424
  */
14237
15425
  include_totals?: boolean;
14238
15426
  }
15427
+ /**
15428
+ *
15429
+ */
15430
+ export interface GetRefreshTokensForUserRequest {
15431
+ /**
15432
+ * ID of the user to get refresh tokens for
15433
+ *
15434
+ */
15435
+ user_id: string;
15436
+ /**
15437
+ * Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
15438
+ *
15439
+ */
15440
+ include_totals?: boolean;
15441
+ /**
15442
+ * Optional token ID from which to start selection (exclusive).
15443
+ *
15444
+ */
15445
+ from?: string;
15446
+ /**
15447
+ * Number of results per page. Defaults to 50.
15448
+ *
15449
+ */
15450
+ take?: number;
15451
+ }
15452
+ /**
15453
+ *
15454
+ */
15455
+ export interface GetSessionsForUserRequest {
15456
+ /**
15457
+ * ID of the user to get sessions for
15458
+ *
15459
+ */
15460
+ user_id: string;
15461
+ /**
15462
+ * Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
15463
+ *
15464
+ */
15465
+ include_totals?: boolean;
15466
+ /**
15467
+ * Optional session ID from which to start selection (exclusive).
15468
+ *
15469
+ */
15470
+ from?: string;
15471
+ /**
15472
+ * Number of results per page. Defaults to 50.
15473
+ *
15474
+ */
15475
+ take?: number;
15476
+ }
14239
15477
  /**
14240
15478
  *
14241
15479
  */