auth0 4.28.0 → 4.30.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.
- package/dist/cjs/auth/backchannel.d.ts +10 -1
- package/dist/cjs/auth/backchannel.js +5 -0
- package/dist/cjs/auth/backchannel.js.map +1 -1
- package/dist/cjs/auth/oauth.d.ts +27 -3
- package/dist/cjs/auth/oauth.js +25 -4
- package/dist/cjs/auth/oauth.js.map +1 -1
- package/dist/cjs/management/__generated/managers/client-grants-manager.d.ts +10 -1
- package/dist/cjs/management/__generated/managers/client-grants-manager.js +47 -0
- package/dist/cjs/management/__generated/managers/client-grants-manager.js.map +1 -1
- package/dist/cjs/management/__generated/models/index.d.ts +310 -10
- package/dist/cjs/management/__generated/models/index.js +74 -7
- package/dist/cjs/management/__generated/models/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/auth/backchannel.d.ts +10 -1
- package/dist/esm/auth/backchannel.js +5 -0
- package/dist/esm/auth/backchannel.js.map +1 -1
- package/dist/esm/auth/oauth.d.ts +27 -3
- package/dist/esm/auth/oauth.js +24 -3
- package/dist/esm/auth/oauth.js.map +1 -1
- package/dist/esm/management/__generated/managers/client-grants-manager.d.ts +10 -1
- package/dist/esm/management/__generated/managers/client-grants-manager.js +47 -0
- package/dist/esm/management/__generated/managers/client-grants-manager.js.map +1 -1
- package/dist/esm/management/__generated/models/index.d.ts +310 -10
- package/dist/esm/management/__generated/models/index.js +67 -0
- package/dist/esm/management/__generated/models/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -103,10 +103,10 @@ export interface Client {
|
|
|
103
103
|
*/
|
|
104
104
|
client_secret: string;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* The type of application this client represents
|
|
107
107
|
*
|
|
108
108
|
*/
|
|
109
|
-
app_type:
|
|
109
|
+
app_type: ClientAppTypeEnum;
|
|
110
110
|
/**
|
|
111
111
|
* URL of the logo to display for this client. Recommended size is 150x150 pixels.
|
|
112
112
|
*
|
|
@@ -286,6 +286,34 @@ export interface Client {
|
|
|
286
286
|
*/
|
|
287
287
|
token_quota: TokenQuota;
|
|
288
288
|
}
|
|
289
|
+
export declare const ClientAppTypeEnum: {
|
|
290
|
+
readonly native: "native";
|
|
291
|
+
readonly spa: "spa";
|
|
292
|
+
readonly regular_web: "regular_web";
|
|
293
|
+
readonly non_interactive: "non_interactive";
|
|
294
|
+
readonly resource_server: "resource_server";
|
|
295
|
+
readonly express_configuration: "express_configuration";
|
|
296
|
+
readonly rms: "rms";
|
|
297
|
+
readonly box: "box";
|
|
298
|
+
readonly cloudbees: "cloudbees";
|
|
299
|
+
readonly concur: "concur";
|
|
300
|
+
readonly dropbox: "dropbox";
|
|
301
|
+
readonly mscrm: "mscrm";
|
|
302
|
+
readonly echosign: "echosign";
|
|
303
|
+
readonly egnyte: "egnyte";
|
|
304
|
+
readonly newrelic: "newrelic";
|
|
305
|
+
readonly office365: "office365";
|
|
306
|
+
readonly salesforce: "salesforce";
|
|
307
|
+
readonly sentry: "sentry";
|
|
308
|
+
readonly sharepoint: "sharepoint";
|
|
309
|
+
readonly slack: "slack";
|
|
310
|
+
readonly springcm: "springcm";
|
|
311
|
+
readonly zendesk: "zendesk";
|
|
312
|
+
readonly zoom: "zoom";
|
|
313
|
+
readonly sso_integration: "sso_integration";
|
|
314
|
+
readonly oag: "oag";
|
|
315
|
+
};
|
|
316
|
+
export type ClientAppTypeEnum = (typeof ClientAppTypeEnum)[keyof typeof ClientAppTypeEnum];
|
|
289
317
|
export declare const ClientTokenEndpointAuthMethodEnum: {
|
|
290
318
|
readonly none: "none";
|
|
291
319
|
readonly client_secret_post: "client_secret_post";
|
|
@@ -1064,7 +1092,7 @@ export interface ClientCreate {
|
|
|
1064
1092
|
*/
|
|
1065
1093
|
token_endpoint_auth_method?: ClientCreateTokenEndpointAuthMethodEnum;
|
|
1066
1094
|
/**
|
|
1067
|
-
*
|
|
1095
|
+
* The type of application this client represents
|
|
1068
1096
|
*
|
|
1069
1097
|
*/
|
|
1070
1098
|
app_type?: ClientCreateAppTypeEnum;
|
|
@@ -1190,6 +1218,11 @@ export interface ClientCreate {
|
|
|
1190
1218
|
/**
|
|
1191
1219
|
*/
|
|
1192
1220
|
token_quota?: CreateTokenQuota;
|
|
1221
|
+
/**
|
|
1222
|
+
* The identifier of the resource server that this client is linked to.
|
|
1223
|
+
*
|
|
1224
|
+
*/
|
|
1225
|
+
resource_server_identifier?: string;
|
|
1193
1226
|
}
|
|
1194
1227
|
export declare const ClientCreateTokenEndpointAuthMethodEnum: {
|
|
1195
1228
|
readonly none: "none";
|
|
@@ -1202,6 +1235,7 @@ export declare const ClientCreateAppTypeEnum: {
|
|
|
1202
1235
|
readonly spa: "spa";
|
|
1203
1236
|
readonly regular_web: "regular_web";
|
|
1204
1237
|
readonly non_interactive: "non_interactive";
|
|
1238
|
+
readonly resource_server: "resource_server";
|
|
1205
1239
|
readonly rms: "rms";
|
|
1206
1240
|
readonly box: "box";
|
|
1207
1241
|
readonly cloudbees: "cloudbees";
|
|
@@ -2199,6 +2233,14 @@ export interface ClientGrant {
|
|
|
2199
2233
|
*
|
|
2200
2234
|
*/
|
|
2201
2235
|
allow_any_organization: boolean;
|
|
2236
|
+
/**
|
|
2237
|
+
*/
|
|
2238
|
+
subject_type?: ClientGrantSubjectTypeEnum;
|
|
2239
|
+
/**
|
|
2240
|
+
* Types of authorization_details allowed for this client grant.
|
|
2241
|
+
*
|
|
2242
|
+
*/
|
|
2243
|
+
authorization_details_types?: Array<string>;
|
|
2202
2244
|
}
|
|
2203
2245
|
export declare const ClientGrantOrganizationUsageEnum: {
|
|
2204
2246
|
readonly deny: "deny";
|
|
@@ -2206,6 +2248,11 @@ export declare const ClientGrantOrganizationUsageEnum: {
|
|
|
2206
2248
|
readonly require: "require";
|
|
2207
2249
|
};
|
|
2208
2250
|
export type ClientGrantOrganizationUsageEnum = (typeof ClientGrantOrganizationUsageEnum)[keyof typeof ClientGrantOrganizationUsageEnum];
|
|
2251
|
+
export declare const ClientGrantSubjectTypeEnum: {
|
|
2252
|
+
readonly client: "client";
|
|
2253
|
+
readonly user: "user";
|
|
2254
|
+
};
|
|
2255
|
+
export type ClientGrantSubjectTypeEnum = (typeof ClientGrantSubjectTypeEnum)[keyof typeof ClientGrantSubjectTypeEnum];
|
|
2209
2256
|
/**
|
|
2210
2257
|
*
|
|
2211
2258
|
*/
|
|
@@ -2235,6 +2282,14 @@ export interface ClientGrantCreate {
|
|
|
2235
2282
|
*
|
|
2236
2283
|
*/
|
|
2237
2284
|
scope: Array<string>;
|
|
2285
|
+
/**
|
|
2286
|
+
*/
|
|
2287
|
+
subject_type?: ClientGrantCreateSubjectTypeEnum;
|
|
2288
|
+
/**
|
|
2289
|
+
* Types of authorization_details allowed for this client grant.
|
|
2290
|
+
*
|
|
2291
|
+
*/
|
|
2292
|
+
authorization_details_types?: Array<string>;
|
|
2238
2293
|
}
|
|
2239
2294
|
export declare const ClientGrantCreateOrganizationUsageEnum: {
|
|
2240
2295
|
readonly deny: "deny";
|
|
@@ -2242,6 +2297,11 @@ export declare const ClientGrantCreateOrganizationUsageEnum: {
|
|
|
2242
2297
|
readonly require: "require";
|
|
2243
2298
|
};
|
|
2244
2299
|
export type ClientGrantCreateOrganizationUsageEnum = (typeof ClientGrantCreateOrganizationUsageEnum)[keyof typeof ClientGrantCreateOrganizationUsageEnum];
|
|
2300
|
+
export declare const ClientGrantCreateSubjectTypeEnum: {
|
|
2301
|
+
readonly client: "client";
|
|
2302
|
+
readonly user: "user";
|
|
2303
|
+
};
|
|
2304
|
+
export type ClientGrantCreateSubjectTypeEnum = (typeof ClientGrantCreateSubjectTypeEnum)[keyof typeof ClientGrantCreateSubjectTypeEnum];
|
|
2245
2305
|
/**
|
|
2246
2306
|
* Configuration related to JWTs for the client.
|
|
2247
2307
|
*/
|
|
@@ -2718,6 +2778,7 @@ export declare const ClientUpdateAppTypeEnum: {
|
|
|
2718
2778
|
readonly spa: "spa";
|
|
2719
2779
|
readonly regular_web: "regular_web";
|
|
2720
2780
|
readonly non_interactive: "non_interactive";
|
|
2781
|
+
readonly resource_server: "resource_server";
|
|
2721
2782
|
readonly rms: "rms";
|
|
2722
2783
|
readonly box: "box";
|
|
2723
2784
|
readonly cloudbees: "cloudbees";
|
|
@@ -4257,7 +4318,7 @@ export type EmailProviderUpdateCredentials = any;
|
|
|
4257
4318
|
*/
|
|
4258
4319
|
export interface EmailTemplateUpdate {
|
|
4259
4320
|
/**
|
|
4260
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
4321
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
4261
4322
|
*
|
|
4262
4323
|
*/
|
|
4263
4324
|
template: EmailTemplateUpdateTemplateEnum;
|
|
@@ -4306,6 +4367,7 @@ export declare const EmailTemplateUpdateTemplateEnum: {
|
|
|
4306
4367
|
readonly verify_email: "verify_email";
|
|
4307
4368
|
readonly verify_email_by_code: "verify_email_by_code";
|
|
4308
4369
|
readonly reset_email: "reset_email";
|
|
4370
|
+
readonly reset_email_by_code: "reset_email_by_code";
|
|
4309
4371
|
readonly welcome_email: "welcome_email";
|
|
4310
4372
|
readonly blocked_account: "blocked_account";
|
|
4311
4373
|
readonly stolen_credentials: "stolen_credentials";
|
|
@@ -4314,6 +4376,7 @@ export declare const EmailTemplateUpdateTemplateEnum: {
|
|
|
4314
4376
|
readonly user_invitation: "user_invitation";
|
|
4315
4377
|
readonly change_password: "change_password";
|
|
4316
4378
|
readonly password_reset: "password_reset";
|
|
4379
|
+
readonly async_approval: "async_approval";
|
|
4317
4380
|
};
|
|
4318
4381
|
export type EmailTemplateUpdateTemplateEnum = (typeof EmailTemplateUpdateTemplateEnum)[keyof typeof EmailTemplateUpdateTemplateEnum];
|
|
4319
4382
|
/**
|
|
@@ -5575,6 +5638,70 @@ export interface GetClientConnections200Response {
|
|
|
5575
5638
|
*/
|
|
5576
5639
|
next?: string;
|
|
5577
5640
|
}
|
|
5641
|
+
/**
|
|
5642
|
+
*
|
|
5643
|
+
*/
|
|
5644
|
+
export type GetClientGrantOrganizations200Response = Array<GetClientGrantOrganizations200ResponseOneOfInner> | GetClientGrantOrganizations200ResponseOneOf | GetClientGrantOrganizations200ResponseOneOf1;
|
|
5645
|
+
/**
|
|
5646
|
+
*
|
|
5647
|
+
*/
|
|
5648
|
+
export interface GetClientGrantOrganizations200ResponseOneOf {
|
|
5649
|
+
/**
|
|
5650
|
+
*/
|
|
5651
|
+
start?: number;
|
|
5652
|
+
/**
|
|
5653
|
+
*/
|
|
5654
|
+
limit?: number;
|
|
5655
|
+
/**
|
|
5656
|
+
*/
|
|
5657
|
+
total?: number;
|
|
5658
|
+
/**
|
|
5659
|
+
*/
|
|
5660
|
+
organizations?: Array<GetClientGrantOrganizations200ResponseOneOfInner>;
|
|
5661
|
+
}
|
|
5662
|
+
/**
|
|
5663
|
+
*
|
|
5664
|
+
*/
|
|
5665
|
+
export interface GetClientGrantOrganizations200ResponseOneOf1 {
|
|
5666
|
+
/**
|
|
5667
|
+
* Opaque identifier for use with the <i>from</i> query parameter for the next page of results.<br/>This identifier is valid for 24 hours.
|
|
5668
|
+
*
|
|
5669
|
+
*/
|
|
5670
|
+
next?: string;
|
|
5671
|
+
/**
|
|
5672
|
+
*/
|
|
5673
|
+
organizations?: Array<GetClientGrantOrganizations200ResponseOneOfInner>;
|
|
5674
|
+
}
|
|
5675
|
+
/**
|
|
5676
|
+
*
|
|
5677
|
+
*/
|
|
5678
|
+
export interface GetClientGrantOrganizations200ResponseOneOfInner {
|
|
5679
|
+
[key: string]: any | any;
|
|
5680
|
+
/**
|
|
5681
|
+
* Organization identifier.
|
|
5682
|
+
*
|
|
5683
|
+
*/
|
|
5684
|
+
id?: string;
|
|
5685
|
+
/**
|
|
5686
|
+
* The name of this organization.
|
|
5687
|
+
*
|
|
5688
|
+
*/
|
|
5689
|
+
name?: string;
|
|
5690
|
+
/**
|
|
5691
|
+
* Friendly name of this organization.
|
|
5692
|
+
*
|
|
5693
|
+
*/
|
|
5694
|
+
display_name?: string;
|
|
5695
|
+
/**
|
|
5696
|
+
*/
|
|
5697
|
+
branding?: OrganizationBranding;
|
|
5698
|
+
/**
|
|
5699
|
+
*/
|
|
5700
|
+
metadata?: OrganizationMetadata;
|
|
5701
|
+
/**
|
|
5702
|
+
*/
|
|
5703
|
+
token_quota?: TokenQuota;
|
|
5704
|
+
}
|
|
5578
5705
|
/**
|
|
5579
5706
|
*
|
|
5580
5707
|
*/
|
|
@@ -5867,7 +5994,7 @@ export interface GetDeviceCredentials200ResponseOneOf {
|
|
|
5867
5994
|
*/
|
|
5868
5995
|
export interface GetEmailTemplatesByTemplateName200Response {
|
|
5869
5996
|
/**
|
|
5870
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
5997
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
5871
5998
|
*
|
|
5872
5999
|
*/
|
|
5873
6000
|
template: GetEmailTemplatesByTemplateName200ResponseTemplateEnum;
|
|
@@ -5925,6 +6052,7 @@ export declare const GetEmailTemplatesByTemplateName200ResponseTemplateEnum: {
|
|
|
5925
6052
|
readonly user_invitation: "user_invitation";
|
|
5926
6053
|
readonly change_password: "change_password";
|
|
5927
6054
|
readonly password_reset: "password_reset";
|
|
6055
|
+
readonly async_approval: "async_approval";
|
|
5928
6056
|
};
|
|
5929
6057
|
export type GetEmailTemplatesByTemplateName200ResponseTemplateEnum = (typeof GetEmailTemplatesByTemplateName200ResponseTemplateEnum)[keyof typeof GetEmailTemplatesByTemplateName200ResponseTemplateEnum];
|
|
5930
6058
|
/**
|
|
@@ -9637,6 +9765,40 @@ export interface LogLocationInfo {
|
|
|
9637
9765
|
*/
|
|
9638
9766
|
continent_code: string;
|
|
9639
9767
|
}
|
|
9768
|
+
/**
|
|
9769
|
+
* Theme defines how to style the login pages.
|
|
9770
|
+
*/
|
|
9771
|
+
export interface OrganizationBranding {
|
|
9772
|
+
/**
|
|
9773
|
+
* URL of logo to display on login page.
|
|
9774
|
+
*
|
|
9775
|
+
*/
|
|
9776
|
+
logo_url?: string;
|
|
9777
|
+
/**
|
|
9778
|
+
*/
|
|
9779
|
+
colors?: OrganizationBrandingColors;
|
|
9780
|
+
}
|
|
9781
|
+
/**
|
|
9782
|
+
* Color scheme used to customize the login pages.
|
|
9783
|
+
*/
|
|
9784
|
+
export interface OrganizationBrandingColors {
|
|
9785
|
+
/**
|
|
9786
|
+
* HEX Color for primary elements.
|
|
9787
|
+
*
|
|
9788
|
+
*/
|
|
9789
|
+
primary: string;
|
|
9790
|
+
/**
|
|
9791
|
+
* HEX Color for background.
|
|
9792
|
+
*
|
|
9793
|
+
*/
|
|
9794
|
+
page_background: string;
|
|
9795
|
+
}
|
|
9796
|
+
/**
|
|
9797
|
+
* Metadata associated with the organization, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.
|
|
9798
|
+
*/
|
|
9799
|
+
export interface OrganizationMetadata {
|
|
9800
|
+
[key: string]: any;
|
|
9801
|
+
}
|
|
9640
9802
|
/**
|
|
9641
9803
|
*
|
|
9642
9804
|
*/
|
|
@@ -9964,6 +10126,11 @@ export interface PatchClientGrantsByIdRequest {
|
|
|
9964
10126
|
*
|
|
9965
10127
|
*/
|
|
9966
10128
|
allow_any_organization?: boolean | null;
|
|
10129
|
+
/**
|
|
10130
|
+
* Types of authorization_details allowed for this client grant.
|
|
10131
|
+
*
|
|
10132
|
+
*/
|
|
10133
|
+
authorization_details_types?: Array<string>;
|
|
9967
10134
|
}
|
|
9968
10135
|
export declare const PatchClientGrantsByIdRequestOrganizationUsageEnum: {
|
|
9969
10136
|
readonly deny: "deny";
|
|
@@ -10036,7 +10203,7 @@ export type PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum = (typeof Patc
|
|
|
10036
10203
|
*/
|
|
10037
10204
|
export interface PatchEmailTemplatesByTemplateNameRequest {
|
|
10038
10205
|
/**
|
|
10039
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
10206
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
10040
10207
|
*
|
|
10041
10208
|
*/
|
|
10042
10209
|
template?: PatchEmailTemplatesByTemplateNameRequestTemplateEnum;
|
|
@@ -10094,6 +10261,7 @@ export declare const PatchEmailTemplatesByTemplateNameRequestTemplateEnum: {
|
|
|
10094
10261
|
readonly user_invitation: "user_invitation";
|
|
10095
10262
|
readonly change_password: "change_password";
|
|
10096
10263
|
readonly password_reset: "password_reset";
|
|
10264
|
+
readonly async_approval: "async_approval";
|
|
10097
10265
|
};
|
|
10098
10266
|
export type PatchEmailTemplatesByTemplateNameRequestTemplateEnum = (typeof PatchEmailTemplatesByTemplateNameRequestTemplateEnum)[keyof typeof PatchEmailTemplatesByTemplateNameRequestTemplateEnum];
|
|
10099
10267
|
/**
|
|
@@ -11692,7 +11860,7 @@ export interface PostDeviceCredentials201Response {
|
|
|
11692
11860
|
*/
|
|
11693
11861
|
export interface PostEmailTemplatesRequest {
|
|
11694
11862
|
/**
|
|
11695
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
11863
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
11696
11864
|
*
|
|
11697
11865
|
*/
|
|
11698
11866
|
template: PostEmailTemplatesRequestTemplateEnum;
|
|
@@ -11750,6 +11918,7 @@ export declare const PostEmailTemplatesRequestTemplateEnum: {
|
|
|
11750
11918
|
readonly user_invitation: "user_invitation";
|
|
11751
11919
|
readonly change_password: "change_password";
|
|
11752
11920
|
readonly password_reset: "password_reset";
|
|
11921
|
+
readonly async_approval: "async_approval";
|
|
11753
11922
|
};
|
|
11754
11923
|
export type PostEmailTemplatesRequestTemplateEnum = (typeof PostEmailTemplatesRequestTemplateEnum)[keyof typeof PostEmailTemplatesRequestTemplateEnum];
|
|
11755
11924
|
/**
|
|
@@ -15692,6 +15861,14 @@ export interface ResourceServer {
|
|
|
15692
15861
|
/**
|
|
15693
15862
|
*/
|
|
15694
15863
|
proof_of_possession: ResourceServerProofOfPossession | null;
|
|
15864
|
+
/**
|
|
15865
|
+
*/
|
|
15866
|
+
subject_type_authorization?: ResourceServerSubjectTypeAuthorization;
|
|
15867
|
+
/**
|
|
15868
|
+
* The client ID of the client that this resource server is linked to
|
|
15869
|
+
*
|
|
15870
|
+
*/
|
|
15871
|
+
client_id?: string;
|
|
15695
15872
|
}
|
|
15696
15873
|
export declare const ResourceServerSigningAlgEnum: {
|
|
15697
15874
|
readonly HS256: "HS256";
|
|
@@ -15780,6 +15957,9 @@ export interface ResourceServerCreate {
|
|
|
15780
15957
|
/**
|
|
15781
15958
|
*/
|
|
15782
15959
|
proof_of_possession?: ResourceServerProofOfPossession | null;
|
|
15960
|
+
/**
|
|
15961
|
+
*/
|
|
15962
|
+
subject_type_authorization?: ResourceServerSubjectTypeAuthorization;
|
|
15783
15963
|
}
|
|
15784
15964
|
export declare const ResourceServerCreateSigningAlgEnum: {
|
|
15785
15965
|
readonly HS256: "HS256";
|
|
@@ -15819,6 +15999,50 @@ export declare const ResourceServerProofOfPossessionMechanismEnum: {
|
|
|
15819
15999
|
readonly dpop: "dpop";
|
|
15820
16000
|
};
|
|
15821
16001
|
export type ResourceServerProofOfPossessionMechanismEnum = (typeof ResourceServerProofOfPossessionMechanismEnum)[keyof typeof ResourceServerProofOfPossessionMechanismEnum];
|
|
16002
|
+
/**
|
|
16003
|
+
* Defines application permission access for a resource server
|
|
16004
|
+
*/
|
|
16005
|
+
export interface ResourceServerSubjectTypeAuthorization {
|
|
16006
|
+
/**
|
|
16007
|
+
*/
|
|
16008
|
+
user?: ResourceServerSubjectTypeAuthorizationUser;
|
|
16009
|
+
/**
|
|
16010
|
+
*/
|
|
16011
|
+
client?: ResourceServerSubjectTypeAuthorizationClient;
|
|
16012
|
+
}
|
|
16013
|
+
/**
|
|
16014
|
+
* Access Permissions for client-initiated flows
|
|
16015
|
+
*/
|
|
16016
|
+
export interface ResourceServerSubjectTypeAuthorizationClient {
|
|
16017
|
+
[key: string]: any | any;
|
|
16018
|
+
/**
|
|
16019
|
+
* Defines the client flows policy for the resource server
|
|
16020
|
+
*
|
|
16021
|
+
*/
|
|
16022
|
+
policy?: ResourceServerSubjectTypeAuthorizationClientPolicyEnum;
|
|
16023
|
+
}
|
|
16024
|
+
export declare const ResourceServerSubjectTypeAuthorizationClientPolicyEnum: {
|
|
16025
|
+
readonly deny_all: "deny_all";
|
|
16026
|
+
readonly require_client_grant: "require_client_grant";
|
|
16027
|
+
};
|
|
16028
|
+
export type ResourceServerSubjectTypeAuthorizationClientPolicyEnum = (typeof ResourceServerSubjectTypeAuthorizationClientPolicyEnum)[keyof typeof ResourceServerSubjectTypeAuthorizationClientPolicyEnum];
|
|
16029
|
+
/**
|
|
16030
|
+
* Access Permissions for user-initiated flows
|
|
16031
|
+
*/
|
|
16032
|
+
export interface ResourceServerSubjectTypeAuthorizationUser {
|
|
16033
|
+
[key: string]: any | any;
|
|
16034
|
+
/**
|
|
16035
|
+
* Defines the user flows policy for the resource server
|
|
16036
|
+
*
|
|
16037
|
+
*/
|
|
16038
|
+
policy?: ResourceServerSubjectTypeAuthorizationUserPolicyEnum;
|
|
16039
|
+
}
|
|
16040
|
+
export declare const ResourceServerSubjectTypeAuthorizationUserPolicyEnum: {
|
|
16041
|
+
readonly allow_all: "allow_all";
|
|
16042
|
+
readonly deny_all: "deny_all";
|
|
16043
|
+
readonly require_client_grant: "require_client_grant";
|
|
16044
|
+
};
|
|
16045
|
+
export type ResourceServerSubjectTypeAuthorizationUserPolicyEnum = (typeof ResourceServerSubjectTypeAuthorizationUserPolicyEnum)[keyof typeof ResourceServerSubjectTypeAuthorizationUserPolicyEnum];
|
|
15822
16046
|
/**
|
|
15823
16047
|
*
|
|
15824
16048
|
*/
|
|
@@ -15931,6 +16155,9 @@ export interface ResourceServerUpdate {
|
|
|
15931
16155
|
/**
|
|
15932
16156
|
*/
|
|
15933
16157
|
proof_of_possession?: ResourceServerProofOfPossession | null;
|
|
16158
|
+
/**
|
|
16159
|
+
*/
|
|
16160
|
+
subject_type_authorization?: ResourceServerSubjectTypeAuthorization;
|
|
15934
16161
|
}
|
|
15935
16162
|
export declare const ResourceServerUpdateSigningAlgEnum: {
|
|
15936
16163
|
readonly HS256: "HS256";
|
|
@@ -18340,6 +18567,56 @@ export interface DeleteClientGrantsByIdRequest {
|
|
|
18340
18567
|
*/
|
|
18341
18568
|
id: string;
|
|
18342
18569
|
}
|
|
18570
|
+
/**
|
|
18571
|
+
*
|
|
18572
|
+
*/
|
|
18573
|
+
export interface GetClientGrantOrganizationsRequest {
|
|
18574
|
+
/**
|
|
18575
|
+
* ID of the client grant
|
|
18576
|
+
*
|
|
18577
|
+
*/
|
|
18578
|
+
id: string;
|
|
18579
|
+
/**
|
|
18580
|
+
* Page index of the results to return. First page is 0.
|
|
18581
|
+
*
|
|
18582
|
+
*/
|
|
18583
|
+
page?: number;
|
|
18584
|
+
/**
|
|
18585
|
+
* Number of results per page. Defaults to 50.
|
|
18586
|
+
*
|
|
18587
|
+
*/
|
|
18588
|
+
per_page?: number;
|
|
18589
|
+
/**
|
|
18590
|
+
* Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
|
|
18591
|
+
*
|
|
18592
|
+
*/
|
|
18593
|
+
include_totals?: boolean;
|
|
18594
|
+
/**
|
|
18595
|
+
* Optional Id from which to start selection.
|
|
18596
|
+
*
|
|
18597
|
+
*/
|
|
18598
|
+
from?: string;
|
|
18599
|
+
/**
|
|
18600
|
+
* Number of results per page. Defaults to 50.
|
|
18601
|
+
*
|
|
18602
|
+
*/
|
|
18603
|
+
take?: number;
|
|
18604
|
+
}
|
|
18605
|
+
/**
|
|
18606
|
+
*
|
|
18607
|
+
*/
|
|
18608
|
+
export declare const GetClientGrantsAllowAnyOrganizationEnum: {
|
|
18609
|
+
readonly true: true;
|
|
18610
|
+
};
|
|
18611
|
+
export type GetClientGrantsAllowAnyOrganizationEnum = (typeof GetClientGrantsAllowAnyOrganizationEnum)[keyof typeof GetClientGrantsAllowAnyOrganizationEnum];
|
|
18612
|
+
/**
|
|
18613
|
+
*
|
|
18614
|
+
*/
|
|
18615
|
+
export declare const GetClientGrantsSubjectTypeEnum: {
|
|
18616
|
+
readonly client: "client";
|
|
18617
|
+
readonly user: "user";
|
|
18618
|
+
};
|
|
18619
|
+
export type GetClientGrantsSubjectTypeEnum = (typeof GetClientGrantsSubjectTypeEnum)[keyof typeof GetClientGrantsSubjectTypeEnum];
|
|
18343
18620
|
/**
|
|
18344
18621
|
*
|
|
18345
18622
|
*/
|
|
@@ -18359,6 +18636,16 @@ export interface GetClientGrantsRequest {
|
|
|
18359
18636
|
*
|
|
18360
18637
|
*/
|
|
18361
18638
|
include_totals?: boolean;
|
|
18639
|
+
/**
|
|
18640
|
+
* Optional Id from which to start selection.
|
|
18641
|
+
*
|
|
18642
|
+
*/
|
|
18643
|
+
from?: string;
|
|
18644
|
+
/**
|
|
18645
|
+
* Number of results per page. Defaults to 50.
|
|
18646
|
+
*
|
|
18647
|
+
*/
|
|
18648
|
+
take?: number;
|
|
18362
18649
|
/**
|
|
18363
18650
|
* Optional filter on audience.
|
|
18364
18651
|
*
|
|
@@ -18369,6 +18656,16 @@ export interface GetClientGrantsRequest {
|
|
|
18369
18656
|
*
|
|
18370
18657
|
*/
|
|
18371
18658
|
client_id?: string;
|
|
18659
|
+
/**
|
|
18660
|
+
* Optional filter on allow_any_organization.
|
|
18661
|
+
*
|
|
18662
|
+
*/
|
|
18663
|
+
allow_any_organization?: GetClientGrantsAllowAnyOrganizationEnum;
|
|
18664
|
+
/**
|
|
18665
|
+
* The subject type for this grant.
|
|
18666
|
+
*
|
|
18667
|
+
*/
|
|
18668
|
+
subject_type?: GetClientGrantsSubjectTypeEnum;
|
|
18372
18669
|
}
|
|
18373
18670
|
/**
|
|
18374
18671
|
*
|
|
@@ -19130,6 +19427,7 @@ export declare const GetEmailTemplatesByTemplateNameTemplateNameEnum: {
|
|
|
19130
19427
|
readonly user_invitation: "user_invitation";
|
|
19131
19428
|
readonly change_password: "change_password";
|
|
19132
19429
|
readonly password_reset: "password_reset";
|
|
19430
|
+
readonly async_approval: "async_approval";
|
|
19133
19431
|
};
|
|
19134
19432
|
export type GetEmailTemplatesByTemplateNameTemplateNameEnum = (typeof GetEmailTemplatesByTemplateNameTemplateNameEnum)[keyof typeof GetEmailTemplatesByTemplateNameTemplateNameEnum];
|
|
19135
19433
|
/**
|
|
@@ -19137,7 +19435,7 @@ export type GetEmailTemplatesByTemplateNameTemplateNameEnum = (typeof GetEmailTe
|
|
|
19137
19435
|
*/
|
|
19138
19436
|
export interface GetEmailTemplatesByTemplateNameRequest {
|
|
19139
19437
|
/**
|
|
19140
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19438
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19141
19439
|
*
|
|
19142
19440
|
*/
|
|
19143
19441
|
templateName: GetEmailTemplatesByTemplateNameTemplateNameEnum;
|
|
@@ -19158,6 +19456,7 @@ export declare const PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum:
|
|
|
19158
19456
|
readonly user_invitation: "user_invitation";
|
|
19159
19457
|
readonly change_password: "change_password";
|
|
19160
19458
|
readonly password_reset: "password_reset";
|
|
19459
|
+
readonly async_approval: "async_approval";
|
|
19161
19460
|
};
|
|
19162
19461
|
export type PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum = (typeof PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum)[keyof typeof PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum];
|
|
19163
19462
|
/**
|
|
@@ -19165,7 +19464,7 @@ export type PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum = (typeof
|
|
|
19165
19464
|
*/
|
|
19166
19465
|
export interface PatchEmailTemplatesByTemplateNameOperationRequest {
|
|
19167
19466
|
/**
|
|
19168
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19467
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19169
19468
|
*
|
|
19170
19469
|
*/
|
|
19171
19470
|
templateName: PatchEmailTemplatesByTemplateNameOperationTemplateNameEnum;
|
|
@@ -19186,6 +19485,7 @@ export declare const PutEmailTemplatesByTemplateNameTemplateNameEnum: {
|
|
|
19186
19485
|
readonly user_invitation: "user_invitation";
|
|
19187
19486
|
readonly change_password: "change_password";
|
|
19188
19487
|
readonly password_reset: "password_reset";
|
|
19488
|
+
readonly async_approval: "async_approval";
|
|
19189
19489
|
};
|
|
19190
19490
|
export type PutEmailTemplatesByTemplateNameTemplateNameEnum = (typeof PutEmailTemplatesByTemplateNameTemplateNameEnum)[keyof typeof PutEmailTemplatesByTemplateNameTemplateNameEnum];
|
|
19191
19491
|
/**
|
|
@@ -19193,7 +19493,7 @@ export type PutEmailTemplatesByTemplateNameTemplateNameEnum = (typeof PutEmailTe
|
|
|
19193
19493
|
*/
|
|
19194
19494
|
export interface PutEmailTemplatesByTemplateNameRequest {
|
|
19195
19495
|
/**
|
|
19196
|
-
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19496
|
+
* Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
19197
19497
|
*
|
|
19198
19498
|
*/
|
|
19199
19499
|
templateName: PutEmailTemplatesByTemplateNameTemplateNameEnum;
|