Skip to content

Commit ab37875

Browse files
committed
domain sync
1 parent 5571ccf commit ab37875

File tree

1 file changed

+65
-14
lines changed

1 file changed

+65
-14
lines changed

src/FusionAuthClient.ts

Lines changed: 65 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019-2022, FusionAuth, All Rights Reserved
2+
* Copyright (c) 2019-2023, FusionAuth, All Rights Reserved
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -5187,6 +5187,7 @@ export interface APIKeyResponse {
51875187
* @author Daniel DeGroff
51885188
*/
51895189
export interface AppleApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
5190+
bundleId?: string;
51905191
buttonText?: string;
51915192
keyId?: UUID;
51925193
scope?: string;
@@ -5198,6 +5199,7 @@ export interface AppleApplicationConfiguration extends BaseIdentityProviderAppli
51985199
* @author Daniel DeGroff
51995200
*/
52005201
export interface AppleIdentityProvider extends BaseIdentityProvider<AppleApplicationConfiguration> {
5202+
bundleId?: string;
52015203
buttonText?: string;
52025204
keyId?: UUID;
52035205
scope?: string;
@@ -5324,6 +5326,7 @@ export interface ApplicationRegistrationDeletePolicy {
53245326
export interface ApplicationRequest extends BaseEventRequest {
53255327
application?: Application;
53265328
role?: ApplicationRole;
5329+
sourceApplicationId?: UUID;
53275330
}
53285331

53295332
/**
@@ -5647,6 +5650,17 @@ export interface BaseMessengerConfiguration {
56475650
type?: MessengerType;
56485651
}
56495652

5653+
/**
5654+
* @author Lyle Schemmerling
5655+
*/
5656+
export interface BaseSAMLv2IdentityProvider<D extends BaseIdentityProviderApplicationConfiguration> extends BaseIdentityProvider<D> {
5657+
emailClaim?: string;
5658+
keyId?: UUID;
5659+
uniqueIdClaim?: string;
5660+
useNameIdForEmail?: boolean;
5661+
usernameClaim?: string;
5662+
}
5663+
56505664
/**
56515665
* @author Brian Pontarelli
56525666
*/
@@ -7846,6 +7860,7 @@ export interface LambdaConfiguration {
78467860
accessTokenPopulateId?: UUID;
78477861
idTokenPopulateId?: UUID;
78487862
samlv2PopulateId?: UUID;
7863+
selfServiceRegistrationValidationId?: UUID;
78497864
}
78507865

78517866
export interface LambdaConfiguration {
@@ -7911,7 +7926,8 @@ export enum LambdaType {
79117926
SCIMServerGroupRequestConverter = "SCIMServerGroupRequestConverter",
79127927
SCIMServerGroupResponseConverter = "SCIMServerGroupResponseConverter",
79137928
SCIMServerUserRequestConverter = "SCIMServerUserRequestConverter",
7914-
SCIMServerUserResponseConverter = "SCIMServerUserResponseConverter"
7929+
SCIMServerUserResponseConverter = "SCIMServerUserResponseConverter",
7930+
SelfServiceRegistrationValidation = "SelfServiceRegistrationValidation"
79157931
}
79167932

79177933
/**
@@ -8365,12 +8381,21 @@ export interface NintendoIdentityProvider extends BaseIdentityProvider<NintendoA
83658381
export interface NonTransactionalEvent {
83668382
}
83678383

8384+
/**
8385+
* @author Johnathon Wood
8386+
*/
8387+
export enum Oauth2AuthorizedURLValidationPolicy {
8388+
AllowWildcards = "AllowWildcards",
8389+
ExactMatch = "ExactMatch"
8390+
}
8391+
83688392
/**
83698393
* @author Daniel DeGroff
83708394
*/
83718395
export interface OAuth2Configuration {
83728396
authorizedOriginURLs?: Array<string>;
83738397
authorizedRedirectURLs?: Array<string>;
8398+
authorizedURLValidationPolicy?: Oauth2AuthorizedURLValidationPolicy;
83748399
clientAuthenticationPolicy?: ClientAuthenticationPolicy;
83758400
clientId?: string;
83768401
clientSecret?: string;
@@ -9119,6 +9144,13 @@ export interface SAMLv2ApplicationConfiguration extends BaseIdentityProviderAppl
91199144
buttonText?: string;
91209145
}
91219146

9147+
/**
9148+
* @author Lyle Schemmerling
9149+
*/
9150+
export interface SAMLv2AssertionConfiguration {
9151+
destination?: SAMLv2DestinationAssertionConfiguration;
9152+
}
9153+
91229154
export interface SAMLv2Configuration extends Enableable {
91239155
audience?: string;
91249156
authorizedRedirectURLs?: Array<string>;
@@ -9135,27 +9167,41 @@ export interface SAMLv2Configuration extends Enableable {
91359167
xmlSignatureLocation?: XMLSignatureLocation;
91369168
}
91379169

9170+
/**
9171+
* @author Lyle Schemmerling
9172+
*/
9173+
export interface SAMLv2DestinationAssertionConfiguration {
9174+
alternates?: Array<string>;
9175+
policy?: SAMLv2DestinationAssertionPolicy;
9176+
}
9177+
9178+
/**
9179+
* @author Lyle Schemmerling
9180+
*/
9181+
export enum SAMLv2DestinationAssertionPolicy {
9182+
Enabled = "Enabled",
9183+
Disabled = "Disabled",
9184+
AllowAlternates = "AllowAlternates"
9185+
}
9186+
91389187
/**
91399188
* SAML v2 identity provider configuration.
91409189
*
91419190
* @author Brian Pontarelli
91429191
*/
9143-
export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2ApplicationConfiguration> {
9192+
export interface SAMLv2IdentityProvider extends BaseSAMLv2IdentityProvider<SAMLv2ApplicationConfiguration> {
9193+
assertionConfiguration?: SAMLv2AssertionConfiguration;
91449194
buttonImageURL?: string;
91459195
buttonText?: string;
91469196
domains?: Array<string>;
9147-
emailClaim?: string;
91489197
idpEndpoint?: string;
9198+
idpInitiatedConfiguration?: SAMLv2IdpInitiatedConfiguration;
91499199
issuer?: string;
9150-
keyId?: UUID;
91519200
loginHintConfiguration?: LoginHintConfiguration;
91529201
nameIdFormat?: string;
91539202
postRequest?: boolean;
91549203
requestSigningKeyId?: UUID;
91559204
signRequest?: boolean;
9156-
uniqueIdClaim?: string;
9157-
useNameIdForEmail?: boolean;
9158-
usernameClaim?: string;
91599205
xmlSignatureC14nMethod?: CanonicalizationMethod;
91609206
}
91619207

@@ -9165,18 +9211,22 @@ export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2Appli
91659211
export interface SAMLv2IdPInitiatedApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
91669212
}
91679213

9214+
/**
9215+
* Config for regular SAML IDP configurations that support IDP-initiated requests
9216+
*
9217+
* @author Lyle Schemmerling
9218+
*/
9219+
export interface SAMLv2IdpInitiatedConfiguration extends Enableable {
9220+
issuer?: string;
9221+
}
9222+
91689223
/**
91699224
* SAML v2 IdP Initiated identity provider configuration.
91709225
*
91719226
* @author Daniel DeGroff
91729227
*/
9173-
export interface SAMLv2IdPInitiatedIdentityProvider extends BaseIdentityProvider<SAMLv2IdPInitiatedApplicationConfiguration> {
9174-
emailClaim?: string;
9228+
export interface SAMLv2IdPInitiatedIdentityProvider extends BaseSAMLv2IdentityProvider<SAMLv2IdPInitiatedApplicationConfiguration> {
91759229
issuer?: string;
9176-
keyId?: UUID;
9177-
uniqueIdClaim?: string;
9178-
useNameIdForEmail?: boolean;
9179-
usernameClaim?: string;
91809230
}
91819231

91829232
/**
@@ -9424,6 +9474,7 @@ export interface SystemConfigurationResponse {
94249474
* @author Daniel DeGroff
94259475
*/
94269476
export interface SystemLogsExportRequest extends BaseExportRequest {
9477+
includeArchived?: boolean;
94279478
lastNBytes?: number;
94289479
}
94299480

0 commit comments

Comments
 (0)