@fusionauth/typescript-client 1.42.0 → 1.44.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.
@@ -2710,6 +2710,7 @@ export interface APIKeyResponse {
2710
2710
  * @author Daniel DeGroff
2711
2711
  */
2712
2712
  export interface AppleApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
2713
+ bundleId?: string;
2713
2714
  buttonText?: string;
2714
2715
  keyId?: UUID;
2715
2716
  scope?: string;
@@ -2720,6 +2721,7 @@ export interface AppleApplicationConfiguration extends BaseIdentityProviderAppli
2720
2721
  * @author Daniel DeGroff
2721
2722
  */
2722
2723
  export interface AppleIdentityProvider extends BaseIdentityProvider<AppleApplicationConfiguration> {
2724
+ bundleId?: string;
2723
2725
  buttonText?: string;
2724
2726
  keyId?: UUID;
2725
2727
  scope?: string;
@@ -2836,6 +2838,7 @@ export interface ApplicationRegistrationDeletePolicy {
2836
2838
  export interface ApplicationRequest extends BaseEventRequest {
2837
2839
  application?: Application;
2838
2840
  role?: ApplicationRole;
2841
+ sourceApplicationId?: UUID;
2839
2842
  }
2840
2843
  /**
2841
2844
  * The Application API response.
@@ -3123,6 +3126,16 @@ export interface BaseMessengerConfiguration {
3123
3126
  transport?: string;
3124
3127
  type?: MessengerType;
3125
3128
  }
3129
+ /**
3130
+ * @author Lyle Schemmerling
3131
+ */
3132
+ export interface BaseSAMLv2IdentityProvider<D extends BaseIdentityProviderApplicationConfiguration> extends BaseIdentityProvider<D> {
3133
+ emailClaim?: string;
3134
+ keyId?: UUID;
3135
+ uniqueIdClaim?: string;
3136
+ useNameIdForEmail?: boolean;
3137
+ usernameClaim?: string;
3138
+ }
3126
3139
  /**
3127
3140
  * @author Brian Pontarelli
3128
3141
  */
@@ -4347,6 +4360,7 @@ export interface GoogleApplicationConfiguration extends BaseIdentityProviderAppl
4347
4360
  client_id?: string;
4348
4361
  client_secret?: string;
4349
4362
  loginMethod?: IdentityProviderLoginMethod;
4363
+ properties?: GoogleIdentityProviderProperties;
4350
4364
  scope?: string;
4351
4365
  }
4352
4366
  /**
@@ -4359,8 +4373,18 @@ export interface GoogleIdentityProvider extends BaseIdentityProvider<GoogleAppli
4359
4373
  client_id?: string;
4360
4374
  client_secret?: string;
4361
4375
  loginMethod?: IdentityProviderLoginMethod;
4376
+ properties?: GoogleIdentityProviderProperties;
4362
4377
  scope?: string;
4363
4378
  }
4379
+ /**
4380
+ * Google social login provider parameters.
4381
+ *
4382
+ * @author Daniel DeGroff
4383
+ */
4384
+ export interface GoogleIdentityProviderProperties {
4385
+ api?: string;
4386
+ button?: string;
4387
+ }
4364
4388
  /**
4365
4389
  * Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">The OAuth 2.0 Authorization
4366
4390
  * Framework - RFC 6749</a>.
@@ -4665,11 +4689,8 @@ export declare enum IdentityProviderLinkingStrategy {
4665
4689
  * @author Daniel DeGroff
4666
4690
  */
4667
4691
  export interface IdentityProviderLinkRequest extends BaseEventRequest {
4668
- displayName?: string;
4669
- identityProviderId?: UUID;
4670
- identityProviderUserId?: string;
4692
+ identityProviderLink?: IdentityProviderLink;
4671
4693
  pendingIdPLinkId?: string;
4672
- userId?: UUID;
4673
4694
  }
4674
4695
  /**
4675
4696
  * @author Daniel DeGroff
@@ -4683,7 +4704,8 @@ export interface IdentityProviderLinkResponse {
4683
4704
  */
4684
4705
  export declare enum IdentityProviderLoginMethod {
4685
4706
  UsePopup = "UsePopup",
4686
- UseRedirect = "UseRedirect"
4707
+ UseRedirect = "UseRedirect",
4708
+ UseVendorJavaScript = "UseVendorJavaScript"
4687
4709
  }
4688
4710
  /**
4689
4711
  * Login API request object used for login to third-party systems (i.e. Login with Facebook).
@@ -5124,6 +5146,7 @@ export interface LambdaConfiguration {
5124
5146
  accessTokenPopulateId?: UUID;
5125
5147
  idTokenPopulateId?: UUID;
5126
5148
  samlv2PopulateId?: UUID;
5149
+ selfServiceRegistrationValidationId?: UUID;
5127
5150
  }
5128
5151
  export interface LambdaConfiguration {
5129
5152
  reconcileId?: UUID;
@@ -5183,7 +5206,8 @@ export declare enum LambdaType {
5183
5206
  SCIMServerGroupRequestConverter = "SCIMServerGroupRequestConverter",
5184
5207
  SCIMServerGroupResponseConverter = "SCIMServerGroupResponseConverter",
5185
5208
  SCIMServerUserRequestConverter = "SCIMServerUserRequestConverter",
5186
- SCIMServerUserResponseConverter = "SCIMServerUserResponseConverter"
5209
+ SCIMServerUserResponseConverter = "SCIMServerUserResponseConverter",
5210
+ SelfServiceRegistrationValidation = "SelfServiceRegistrationValidation"
5187
5211
  }
5188
5212
  /**
5189
5213
  * Models an LDAP connector.
@@ -5267,6 +5291,12 @@ export interface LoginConfiguration {
5267
5291
  generateRefreshTokens?: boolean;
5268
5292
  requireAuthentication?: boolean;
5269
5293
  }
5294
+ /**
5295
+ * @author Daniel DeGroff
5296
+ */
5297
+ export interface LoginHintConfiguration extends Enableable {
5298
+ parameterName?: string;
5299
+ }
5270
5300
  export declare enum LoginIdType {
5271
5301
  email = "email",
5272
5302
  username = "username"
@@ -5580,12 +5610,20 @@ export interface NintendoIdentityProvider extends BaseIdentityProvider<NintendoA
5580
5610
  */
5581
5611
  export interface NonTransactionalEvent {
5582
5612
  }
5613
+ /**
5614
+ * @author Johnathon Wood
5615
+ */
5616
+ export declare enum Oauth2AuthorizedURLValidationPolicy {
5617
+ AllowWildcards = "AllowWildcards",
5618
+ ExactMatch = "ExactMatch"
5619
+ }
5583
5620
  /**
5584
5621
  * @author Daniel DeGroff
5585
5622
  */
5586
5623
  export interface OAuth2Configuration {
5587
5624
  authorizedOriginURLs?: Array<string>;
5588
5625
  authorizedRedirectURLs?: Array<string>;
5626
+ authorizedURLValidationPolicy?: Oauth2AuthorizedURLValidationPolicy;
5589
5627
  clientAuthenticationPolicy?: ClientAuthenticationPolicy;
5590
5628
  clientId?: string;
5591
5629
  clientSecret?: string;
@@ -6264,6 +6302,12 @@ export interface SAMLv2ApplicationConfiguration extends BaseIdentityProviderAppl
6264
6302
  buttonImageURL?: string;
6265
6303
  buttonText?: string;
6266
6304
  }
6305
+ /**
6306
+ * @author Lyle Schemmerling
6307
+ */
6308
+ export interface SAMLv2AssertionConfiguration {
6309
+ destination?: SAMLv2DestinationAssertionConfiguration;
6310
+ }
6267
6311
  export interface SAMLv2Configuration extends Enableable {
6268
6312
  audience?: string;
6269
6313
  authorizedRedirectURLs?: Array<string>;
@@ -6279,26 +6323,39 @@ export interface SAMLv2Configuration extends Enableable {
6279
6323
  xmlSignatureC14nMethod?: CanonicalizationMethod;
6280
6324
  xmlSignatureLocation?: XMLSignatureLocation;
6281
6325
  }
6326
+ /**
6327
+ * @author Lyle Schemmerling
6328
+ */
6329
+ export interface SAMLv2DestinationAssertionConfiguration {
6330
+ alternates?: Array<string>;
6331
+ policy?: SAMLv2DestinationAssertionPolicy;
6332
+ }
6333
+ /**
6334
+ * @author Lyle Schemmerling
6335
+ */
6336
+ export declare enum SAMLv2DestinationAssertionPolicy {
6337
+ Enabled = "Enabled",
6338
+ Disabled = "Disabled",
6339
+ AllowAlternates = "AllowAlternates"
6340
+ }
6282
6341
  /**
6283
6342
  * SAML v2 identity provider configuration.
6284
6343
  *
6285
6344
  * @author Brian Pontarelli
6286
6345
  */
6287
- export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2ApplicationConfiguration> {
6346
+ export interface SAMLv2IdentityProvider extends BaseSAMLv2IdentityProvider<SAMLv2ApplicationConfiguration> {
6347
+ assertionConfiguration?: SAMLv2AssertionConfiguration;
6288
6348
  buttonImageURL?: string;
6289
6349
  buttonText?: string;
6290
6350
  domains?: Array<string>;
6291
- emailClaim?: string;
6292
6351
  idpEndpoint?: string;
6352
+ idpInitiatedConfiguration?: SAMLv2IdpInitiatedConfiguration;
6293
6353
  issuer?: string;
6294
- keyId?: UUID;
6354
+ loginHintConfiguration?: LoginHintConfiguration;
6295
6355
  nameIdFormat?: string;
6296
6356
  postRequest?: boolean;
6297
6357
  requestSigningKeyId?: UUID;
6298
6358
  signRequest?: boolean;
6299
- uniqueIdClaim?: string;
6300
- useNameIdForEmail?: boolean;
6301
- usernameClaim?: string;
6302
6359
  xmlSignatureC14nMethod?: CanonicalizationMethod;
6303
6360
  }
6304
6361
  /**
@@ -6306,18 +6363,21 @@ export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2Appli
6306
6363
  */
6307
6364
  export interface SAMLv2IdPInitiatedApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
6308
6365
  }
6366
+ /**
6367
+ * Config for regular SAML IDP configurations that support IdP initiated requests
6368
+ *
6369
+ * @author Lyle Schemmerling
6370
+ */
6371
+ export interface SAMLv2IdpInitiatedConfiguration extends Enableable {
6372
+ issuer?: string;
6373
+ }
6309
6374
  /**
6310
6375
  * SAML v2 IdP Initiated identity provider configuration.
6311
6376
  *
6312
6377
  * @author Daniel DeGroff
6313
6378
  */
6314
- export interface SAMLv2IdPInitiatedIdentityProvider extends BaseIdentityProvider<SAMLv2IdPInitiatedApplicationConfiguration> {
6315
- emailClaim?: string;
6379
+ export interface SAMLv2IdPInitiatedIdentityProvider extends BaseSAMLv2IdentityProvider<SAMLv2IdPInitiatedApplicationConfiguration> {
6316
6380
  issuer?: string;
6317
- keyId?: UUID;
6318
- uniqueIdClaim?: string;
6319
- useNameIdForEmail?: boolean;
6320
- usernameClaim?: string;
6321
6381
  }
6322
6382
  /**
6323
6383
  * IdP Initiated login configuration
@@ -6479,10 +6539,20 @@ export interface SortField {
6479
6539
  name?: string;
6480
6540
  order?: Sort;
6481
6541
  }
6542
+ /**
6543
+ * Steam API modes.
6544
+ *
6545
+ * @author Daniel DeGroff
6546
+ */
6547
+ export declare enum SteamAPIMode {
6548
+ Public = "Public",
6549
+ Partner = "Partner"
6550
+ }
6482
6551
  /**
6483
6552
  * @author Brett Pontarelli
6484
6553
  */
6485
6554
  export interface SteamApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
6555
+ apiMode?: SteamAPIMode;
6486
6556
  buttonText?: string;
6487
6557
  client_id?: string;
6488
6558
  scope?: string;
@@ -6494,6 +6564,7 @@ export interface SteamApplicationConfiguration extends BaseIdentityProviderAppli
6494
6564
  * @author Brett Pontarelli
6495
6565
  */
6496
6566
  export interface SteamIdentityProvider extends BaseIdentityProvider<SteamApplicationConfiguration> {
6567
+ apiMode?: SteamAPIMode;
6497
6568
  buttonText?: string;
6498
6569
  client_id?: string;
6499
6570
  scope?: string;
@@ -6540,6 +6611,7 @@ export interface SystemConfigurationResponse {
6540
6611
  * @author Daniel DeGroff
6541
6612
  */
6542
6613
  export interface SystemLogsExportRequest extends BaseExportRequest {
6614
+ includeArchived?: boolean;
6543
6615
  lastNBytes?: number;
6544
6616
  }
6545
6617
  export interface Templates {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /*
3
- * Copyright (c) 2019-2022, FusionAuth, All Rights Reserved
3
+ * Copyright (c) 2019-2023, FusionAuth, All Rights Reserved
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -5164,6 +5164,7 @@ var IdentityProviderLoginMethod;
5164
5164
  (function (IdentityProviderLoginMethod) {
5165
5165
  IdentityProviderLoginMethod["UsePopup"] = "UsePopup";
5166
5166
  IdentityProviderLoginMethod["UseRedirect"] = "UseRedirect";
5167
+ IdentityProviderLoginMethod["UseVendorJavaScript"] = "UseVendorJavaScript";
5167
5168
  })(IdentityProviderLoginMethod = exports.IdentityProviderLoginMethod || (exports.IdentityProviderLoginMethod = {}));
5168
5169
  /**
5169
5170
  * @author Daniel DeGroff
@@ -5262,6 +5263,7 @@ var LambdaType;
5262
5263
  LambdaType["SCIMServerGroupResponseConverter"] = "SCIMServerGroupResponseConverter";
5263
5264
  LambdaType["SCIMServerUserRequestConverter"] = "SCIMServerUserRequestConverter";
5264
5265
  LambdaType["SCIMServerUserResponseConverter"] = "SCIMServerUserResponseConverter";
5266
+ LambdaType["SelfServiceRegistrationValidation"] = "SelfServiceRegistrationValidation";
5265
5267
  })(LambdaType = exports.LambdaType || (exports.LambdaType = {}));
5266
5268
  var LDAPSecurityMethod;
5267
5269
  (function (LDAPSecurityMethod) {
@@ -5307,6 +5309,14 @@ var MultiFactorLoginPolicy;
5307
5309
  MultiFactorLoginPolicy["Enabled"] = "Enabled";
5308
5310
  MultiFactorLoginPolicy["Required"] = "Required";
5309
5311
  })(MultiFactorLoginPolicy = exports.MultiFactorLoginPolicy || (exports.MultiFactorLoginPolicy = {}));
5312
+ /**
5313
+ * @author Johnathon Wood
5314
+ */
5315
+ var Oauth2AuthorizedURLValidationPolicy;
5316
+ (function (Oauth2AuthorizedURLValidationPolicy) {
5317
+ Oauth2AuthorizedURLValidationPolicy["AllowWildcards"] = "AllowWildcards";
5318
+ Oauth2AuthorizedURLValidationPolicy["ExactMatch"] = "ExactMatch";
5319
+ })(Oauth2AuthorizedURLValidationPolicy = exports.Oauth2AuthorizedURLValidationPolicy || (exports.Oauth2AuthorizedURLValidationPolicy = {}));
5310
5320
  var OAuthErrorReason;
5311
5321
  (function (OAuthErrorReason) {
5312
5322
  OAuthErrorReason["auth_code_not_found"] = "auth_code_not_found";
@@ -5470,6 +5480,15 @@ var SAMLLogoutBehavior;
5470
5480
  SAMLLogoutBehavior["AllParticipants"] = "AllParticipants";
5471
5481
  SAMLLogoutBehavior["OnlyOriginator"] = "OnlyOriginator";
5472
5482
  })(SAMLLogoutBehavior = exports.SAMLLogoutBehavior || (exports.SAMLLogoutBehavior = {}));
5483
+ /**
5484
+ * @author Lyle Schemmerling
5485
+ */
5486
+ var SAMLv2DestinationAssertionPolicy;
5487
+ (function (SAMLv2DestinationAssertionPolicy) {
5488
+ SAMLv2DestinationAssertionPolicy["Enabled"] = "Enabled";
5489
+ SAMLv2DestinationAssertionPolicy["Disabled"] = "Disabled";
5490
+ SAMLv2DestinationAssertionPolicy["AllowAlternates"] = "AllowAlternates";
5491
+ })(SAMLv2DestinationAssertionPolicy = exports.SAMLv2DestinationAssertionPolicy || (exports.SAMLv2DestinationAssertionPolicy = {}));
5473
5492
  /**
5474
5493
  * @author Daniel DeGroff
5475
5494
  */
@@ -5488,6 +5507,16 @@ var Sort;
5488
5507
  Sort["asc"] = "asc";
5489
5508
  Sort["desc"] = "desc";
5490
5509
  })(Sort = exports.Sort || (exports.Sort = {}));
5510
+ /**
5511
+ * Steam API modes.
5512
+ *
5513
+ * @author Daniel DeGroff
5514
+ */
5515
+ var SteamAPIMode;
5516
+ (function (SteamAPIMode) {
5517
+ SteamAPIMode["Public"] = "Public";
5518
+ SteamAPIMode["Partner"] = "Partner";
5519
+ })(SteamAPIMode = exports.SteamAPIMode || (exports.SteamAPIMode = {}));
5491
5520
  /**
5492
5521
  * <ul>
5493
5522
  * <li>Bearer Token type as defined by <a href="https://tools.ietf.org/html/rfc6750">RFC 6750</a>.</li>