@fusionauth/typescript-client 1.33.0 → 1.37.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /*
3
- * Copyright (c) 2019, FusionAuth, All Rights Reserved
3
+ * Copyright (c) 2019-2022, 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.
@@ -139,9 +139,9 @@ class FusionAuthClient {
139
139
  /**
140
140
  * Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
141
141
  * When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
142
- * your password, you must obtain a Truest Token by completing a Two-Factor Step-Up authentication.
142
+ * your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
143
143
  *
144
- * An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
144
+ * An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
145
145
  *
146
146
  * @param {string} changePasswordId The change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
147
147
  * @returns {Promise<ClientResponse<void>>}
@@ -156,9 +156,9 @@ class FusionAuthClient {
156
156
  /**
157
157
  * Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
158
158
  * When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
159
- * your password, you must obtain a Truest Token by completing a Two-Factor Step-Up authentication.
159
+ * your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
160
160
  *
161
- * An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
161
+ * An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
162
162
  *
163
163
  * @param {string} encodedJWT The encoded JWT (access token).
164
164
  * @returns {Promise<ClientResponse<void>>}
@@ -173,9 +173,9 @@ class FusionAuthClient {
173
173
  /**
174
174
  * Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
175
175
  * When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
176
- * your password, you must obtain a Truest Request Id by completing a Two-Factor Step-Up authentication.
176
+ * your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
177
177
  *
178
- * An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
178
+ * An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
179
179
  *
180
180
  * @param {string} loginId The loginId of the User that you intend to change the password for.
181
181
  * @returns {Promise<ClientResponse<void>>}
@@ -1613,6 +1613,22 @@ class FusionAuthClient {
1613
1613
  .withMethod("PUT")
1614
1614
  .go();
1615
1615
  }
1616
+ /**
1617
+ * Sends a ping to FusionAuth indicating that the user was automatically logged into an application. When using
1618
+ * FusionAuth's SSO or your own, you should call this if the user is already logged in centrally, but accesses an
1619
+ * application where they no longer have a session. This helps correctly track login counts, times and helps with
1620
+ * reporting.
1621
+ *
1622
+ * @param {LoginPingRequest} request The login request that contains the user credentials used to log them in.
1623
+ * @returns {Promise<ClientResponse<LoginResponse>>}
1624
+ */
1625
+ loginPingWithRequest(request) {
1626
+ return this.start()
1627
+ .withUri('/api/login')
1628
+ .withJSONBody(request)
1629
+ .withMethod("PUT")
1630
+ .go();
1631
+ }
1616
1632
  /**
1617
1633
  * The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the
1618
1634
  * client and revoke the refresh token stored. This API does nothing if the request does not contain an access
@@ -2220,7 +2236,7 @@ class FusionAuthClient {
2220
2236
  .go();
2221
2237
  }
2222
2238
  /**
2223
- * Retrieves all of the actions for the user with the given Id. This will return all time based actions that are active,
2239
+ * Retrieves all the actions for the user with the given Id. This will return all time based actions that are active,
2224
2240
  * and inactive as well as non-time based actions.
2225
2241
  *
2226
2242
  * @param {UUID} userId The Id of the user to fetch the actions for.
@@ -2234,7 +2250,7 @@ class FusionAuthClient {
2234
2250
  .go();
2235
2251
  }
2236
2252
  /**
2237
- * Retrieves all of the actions for the user with the given Id that are currently preventing the User from logging in.
2253
+ * Retrieves all the actions for the user with the given Id that are currently preventing the User from logging in.
2238
2254
  *
2239
2255
  * @param {UUID} userId The Id of the user to fetch the actions for.
2240
2256
  * @returns {Promise<ClientResponse<ActionResponse>>}
@@ -2248,7 +2264,7 @@ class FusionAuthClient {
2248
2264
  .go();
2249
2265
  }
2250
2266
  /**
2251
- * Retrieves all of the actions for the user with the given Id that are currently active.
2267
+ * Retrieves all the actions for the user with the given Id that are currently active.
2252
2268
  * An active action means one that is time based and has not been canceled, and has not ended.
2253
2269
  *
2254
2270
  * @param {UUID} userId The Id of the user to fetch the actions for.
@@ -2276,7 +2292,7 @@ class FusionAuthClient {
2276
2292
  .go();
2277
2293
  }
2278
2294
  /**
2279
- * Retrieves all of the applications.
2295
+ * Retrieves all the applications.
2280
2296
  *
2281
2297
  * @returns {Promise<ClientResponse<ApplicationResponse>>}
2282
2298
  */
@@ -2313,7 +2329,7 @@ class FusionAuthClient {
2313
2329
  .go();
2314
2330
  }
2315
2331
  /**
2316
- * Retrieves all of the connectors.
2332
+ * Retrieves all the connectors.
2317
2333
  *
2318
2334
  * @returns {Promise<ClientResponse<ConnectorResponse>>}
2319
2335
  */
@@ -2337,7 +2353,7 @@ class FusionAuthClient {
2337
2353
  .go();
2338
2354
  }
2339
2355
  /**
2340
- * Retrieves all of the consent.
2356
+ * Retrieves all the consent.
2341
2357
  *
2342
2358
  * @returns {Promise<ClientResponse<ConsentResponse>>}
2343
2359
  */
@@ -2394,7 +2410,7 @@ class FusionAuthClient {
2394
2410
  .go();
2395
2411
  }
2396
2412
  /**
2397
- * Retrieves all of the email templates.
2413
+ * Retrieves all the email templates.
2398
2414
  *
2399
2415
  * @returns {Promise<ClientResponse<EmailTemplateResponse>>}
2400
2416
  */
@@ -2449,7 +2465,7 @@ class FusionAuthClient {
2449
2465
  .go();
2450
2466
  }
2451
2467
  /**
2452
- * Retrieves all of the Entity Types.
2468
+ * Retrieves all the Entity Types.
2453
2469
  *
2454
2470
  * @returns {Promise<ClientResponse<EntityTypeResponse>>}
2455
2471
  */
@@ -2473,7 +2489,7 @@ class FusionAuthClient {
2473
2489
  .go();
2474
2490
  }
2475
2491
  /**
2476
- * Retrieves all of the families that a user belongs to.
2492
+ * Retrieves all the families that a user belongs to.
2477
2493
  *
2478
2494
  * @param {UUID} userId The User's id
2479
2495
  * @returns {Promise<ClientResponse<FamilyResponse>>}
@@ -2486,7 +2502,7 @@ class FusionAuthClient {
2486
2502
  .go();
2487
2503
  }
2488
2504
  /**
2489
- * Retrieves all of the members of a family by the unique Family Id.
2505
+ * Retrieves all the members of a family by the unique Family Id.
2490
2506
  *
2491
2507
  * @param {UUID} familyId The unique Id of the Family.
2492
2508
  * @returns {Promise<ClientResponse<FamilyResponse>>}
@@ -2525,7 +2541,7 @@ class FusionAuthClient {
2525
2541
  .go();
2526
2542
  }
2527
2543
  /**
2528
- * Retrieves all of the forms fields
2544
+ * Retrieves all the forms fields
2529
2545
  *
2530
2546
  * @returns {Promise<ClientResponse<FormFieldResponse>>}
2531
2547
  */
@@ -2536,7 +2552,7 @@ class FusionAuthClient {
2536
2552
  .go();
2537
2553
  }
2538
2554
  /**
2539
- * Retrieves all of the forms.
2555
+ * Retrieves all the forms.
2540
2556
  *
2541
2557
  * @returns {Promise<ClientResponse<FormResponse>>}
2542
2558
  */
@@ -2560,7 +2576,7 @@ class FusionAuthClient {
2560
2576
  .go();
2561
2577
  }
2562
2578
  /**
2563
- * Retrieves all of the groups.
2579
+ * Retrieves all the groups.
2564
2580
  *
2565
2581
  * @returns {Promise<ClientResponse<GroupResponse>>}
2566
2582
  */
@@ -2612,7 +2628,7 @@ class FusionAuthClient {
2612
2628
  .go();
2613
2629
  }
2614
2630
  /**
2615
- * Retrieves all of the identity providers.
2631
+ * Retrieves all the identity providers.
2616
2632
  *
2617
2633
  * @returns {Promise<ClientResponse<IdentityProviderResponse>>}
2618
2634
  */
@@ -2623,7 +2639,7 @@ class FusionAuthClient {
2623
2639
  .go();
2624
2640
  }
2625
2641
  /**
2626
- * Retrieves all of the actions for the user with the given Id that are currently inactive.
2642
+ * Retrieves all the actions for the user with the given Id that are currently inactive.
2627
2643
  * An inactive action means one that is time based and has been canceled or has expired, or is not time based.
2628
2644
  *
2629
2645
  * @param {UUID} userId The Id of the user to fetch the actions for.
@@ -2638,7 +2654,7 @@ class FusionAuthClient {
2638
2654
  .go();
2639
2655
  }
2640
2656
  /**
2641
- * Retrieves all of the applications that are currently inactive.
2657
+ * Retrieves all the applications that are currently inactive.
2642
2658
  *
2643
2659
  * @returns {Promise<ClientResponse<ApplicationResponse>>}
2644
2660
  */
@@ -2650,7 +2666,7 @@ class FusionAuthClient {
2650
2666
  .go();
2651
2667
  }
2652
2668
  /**
2653
- * Retrieves all of the user actions that are currently inactive.
2669
+ * Retrieves all the user actions that are currently inactive.
2654
2670
  *
2655
2671
  * @returns {Promise<ClientResponse<UserActionResponse>>}
2656
2672
  */
@@ -2734,7 +2750,7 @@ class FusionAuthClient {
2734
2750
  .go();
2735
2751
  }
2736
2752
  /**
2737
- * Retrieves all of the keys.
2753
+ * Retrieves all the keys.
2738
2754
  *
2739
2755
  * @returns {Promise<ClientResponse<KeyResponse>>}
2740
2756
  */
@@ -2758,7 +2774,7 @@ class FusionAuthClient {
2758
2774
  .go();
2759
2775
  }
2760
2776
  /**
2761
- * Retrieves all of the lambdas.
2777
+ * Retrieves all the lambdas.
2762
2778
  *
2763
2779
  * @returns {Promise<ClientResponse<LambdaResponse>>}
2764
2780
  */
@@ -2769,7 +2785,7 @@ class FusionAuthClient {
2769
2785
  .go();
2770
2786
  }
2771
2787
  /**
2772
- * Retrieves all of the lambdas for the provided type.
2788
+ * Retrieves all the lambdas for the provided type.
2773
2789
  *
2774
2790
  * @param {LambdaType} type The type of the lambda to return.
2775
2791
  * @returns {Promise<ClientResponse<LambdaResponse>>}
@@ -2826,7 +2842,7 @@ class FusionAuthClient {
2826
2842
  .go();
2827
2843
  }
2828
2844
  /**
2829
- * Retrieves all of the message templates.
2845
+ * Retrieves all the message templates.
2830
2846
  *
2831
2847
  * @returns {Promise<ClientResponse<MessageTemplateResponse>>}
2832
2848
  */
@@ -2850,7 +2866,7 @@ class FusionAuthClient {
2850
2866
  .go();
2851
2867
  }
2852
2868
  /**
2853
- * Retrieves all of the messengers.
2869
+ * Retrieves all the messengers.
2854
2870
  *
2855
2871
  * @returns {Promise<ClientResponse<MessengerResponse>>}
2856
2872
  */
@@ -2933,7 +2949,7 @@ class FusionAuthClient {
2933
2949
  .go();
2934
2950
  }
2935
2951
  /**
2936
- * Retrieves all of the children for the given parent email address.
2952
+ * Retrieves all the children for the given parent email address.
2937
2953
  *
2938
2954
  * @param {string} parentEmail The email of the parent.
2939
2955
  * @returns {Promise<ClientResponse<PendingResponse>>}
@@ -2983,15 +2999,15 @@ class FusionAuthClient {
2983
2999
  .go();
2984
3000
  }
2985
3001
  /**
2986
- * Retrieves a single refresh token by unique Id. This is not the same thing as the string value of the refresh token, if you have that, you already have what you need..
3002
+ * Retrieves a single refresh token by unique Id. This is not the same thing as the string value of the refresh token. If you have that, you already have what you need.
2987
3003
  *
2988
- * @param {UUID} userId The Id of the user.
3004
+ * @param {UUID} tokenId The Id of the token.
2989
3005
  * @returns {Promise<ClientResponse<RefreshTokenResponse>>}
2990
3006
  */
2991
- retrieveRefreshTokenById(userId) {
3007
+ retrieveRefreshTokenById(tokenId) {
2992
3008
  return this.start()
2993
3009
  .withUri('/api/jwt/refresh')
2994
- .withUriSegment(userId)
3010
+ .withUriSegment(tokenId)
2995
3011
  .withMethod("GET")
2996
3012
  .go();
2997
3013
  }
@@ -3078,7 +3094,7 @@ class FusionAuthClient {
3078
3094
  .go();
3079
3095
  }
3080
3096
  /**
3081
- * Retrieves all of the tenants.
3097
+ * Retrieves all the tenants.
3082
3098
  *
3083
3099
  * @returns {Promise<ClientResponse<TenantResponse>>}
3084
3100
  */
@@ -3102,7 +3118,7 @@ class FusionAuthClient {
3102
3118
  .go();
3103
3119
  }
3104
3120
  /**
3105
- * Retrieves all of the themes.
3121
+ * Retrieves all the themes.
3106
3122
  *
3107
3123
  * @returns {Promise<ClientResponse<ThemeResponse>>}
3108
3124
  */
@@ -3137,6 +3153,26 @@ class FusionAuthClient {
3137
3153
  .withMethod("GET")
3138
3154
  .go();
3139
3155
  }
3156
+ /**
3157
+ * Retrieve a user's two-factor status.
3158
+ *
3159
+ * This can be used to see if a user will need to complete a two-factor challenge to complete a login,
3160
+ * and optionally identify the state of the two-factor trust across various applications.
3161
+ *
3162
+ * @param {UUID} userId The user Id to retrieve the Two-Factor status.
3163
+ * @param {UUID} applicationId The optional applicationId to verify.
3164
+ * @param {string} twoFactorTrustId The optional two-factor trust Id to verify.
3165
+ * @returns {Promise<ClientResponse<TwoFactorStatusResponse>>}
3166
+ */
3167
+ retrieveTwoFactorStatus(userId, applicationId, twoFactorTrustId) {
3168
+ return this.start()
3169
+ .withUri('/api/two-factor/status')
3170
+ .withParameter('userId', userId)
3171
+ .withParameter('applicationId', applicationId)
3172
+ .withUriSegment(twoFactorTrustId)
3173
+ .withMethod("GET")
3174
+ .go();
3175
+ }
3140
3176
  /**
3141
3177
  * Retrieves the user for the given Id.
3142
3178
  *
@@ -3190,7 +3226,7 @@ class FusionAuthClient {
3190
3226
  .go();
3191
3227
  }
3192
3228
  /**
3193
- * Retrieves all of the user actions.
3229
+ * Retrieves all the user actions.
3194
3230
  *
3195
3231
  * @returns {Promise<ClientResponse<UserActionResponse>>}
3196
3232
  */
@@ -3268,7 +3304,7 @@ class FusionAuthClient {
3268
3304
  .go();
3269
3305
  }
3270
3306
  /**
3271
- * Retrieves all of the comments for the user with the given Id.
3307
+ * Retrieves all the comments for the user with the given Id.
3272
3308
  *
3273
3309
  * @param {UUID} userId The Id of the user.
3274
3310
  * @returns {Promise<ClientResponse<UserCommentResponse>>}
@@ -3294,7 +3330,7 @@ class FusionAuthClient {
3294
3330
  .go();
3295
3331
  }
3296
3332
  /**
3297
- * Retrieves all of the consents for a User.
3333
+ * Retrieves all the consents for a User.
3298
3334
  *
3299
3335
  * @param {UUID} userId The User's Id
3300
3336
  * @returns {Promise<ClientResponse<UserConsentResponse>>}
@@ -3668,6 +3704,19 @@ class FusionAuthClient {
3668
3704
  .withMethod("POST")
3669
3705
  .go();
3670
3706
  }
3707
+ /**
3708
+ * Searches group members with the specified criteria and pagination.
3709
+ *
3710
+ * @param {GroupMemberSearchRequest} request The search criteria and pagination information.
3711
+ * @returns {Promise<ClientResponse<GroupMemberSearchResponse>>}
3712
+ */
3713
+ searchGroupMembers(request) {
3714
+ return this.start()
3715
+ .withUri('/api/group/member/search')
3716
+ .withJSONBody(request)
3717
+ .withMethod("POST")
3718
+ .go();
3719
+ }
3671
3720
  /**
3672
3721
  * Searches the IP Access Control Lists with the specified criteria and pagination.
3673
3722
  *
@@ -4098,6 +4147,19 @@ class FusionAuthClient {
4098
4147
  .withMethod("PUT")
4099
4148
  .go();
4100
4149
  }
4150
+ /**
4151
+ * Creates a member in a group.
4152
+ *
4153
+ * @param {MemberRequest} request The request object that contains all the information used to create the group member(s).
4154
+ * @returns {Promise<ClientResponse<MemberResponse>>}
4155
+ */
4156
+ updateGroupMembers(request) {
4157
+ return this.start()
4158
+ .withUri('/api/group/member')
4159
+ .withJSONBody(request)
4160
+ .withMethod("PUT")
4161
+ .go();
4162
+ }
4101
4163
  /**
4102
4164
  * Updates the IP Access Control List with the given Id.
4103
4165
  *
@@ -4437,6 +4499,21 @@ class FusionAuthClient {
4437
4499
  .withMethod("POST")
4438
4500
  .go();
4439
4501
  }
4502
+ /**
4503
+ * Administratively verify a user's email address. Use this method to bypass email verification for the user.
4504
+ *
4505
+ * The request body will contain the userId to be verified. An API key is required when sending the userId in the request body.
4506
+ *
4507
+ * @param {VerifyEmailRequest} request The request that contains the userId to verify.
4508
+ * @returns {Promise<ClientResponse<void>>}
4509
+ */
4510
+ verifyEmailAddressByUserId(request) {
4511
+ return this.start()
4512
+ .withUri('/api/user/verify-email')
4513
+ .withJSONBody(request)
4514
+ .withMethod("POST")
4515
+ .go();
4516
+ }
4440
4517
  /**
4441
4518
  * Confirms an application registration. The Id given is usually from an email sent to the user.
4442
4519
  *
@@ -4510,11 +4587,23 @@ var Algorithm;
4510
4587
  Algorithm["HS256"] = "HS256";
4511
4588
  Algorithm["HS384"] = "HS384";
4512
4589
  Algorithm["HS512"] = "HS512";
4590
+ Algorithm["PS256"] = "PS256";
4591
+ Algorithm["PS384"] = "PS384";
4592
+ Algorithm["PS512"] = "PS512";
4513
4593
  Algorithm["RS256"] = "RS256";
4514
4594
  Algorithm["RS384"] = "RS384";
4515
4595
  Algorithm["RS512"] = "RS512";
4516
4596
  Algorithm["none"] = "none";
4517
4597
  })(Algorithm = exports.Algorithm || (exports.Algorithm = {}));
4598
+ /**
4599
+ * @author Daniel DeGroff
4600
+ */
4601
+ var ApplicationMultiFactorTrustPolicy;
4602
+ (function (ApplicationMultiFactorTrustPolicy) {
4603
+ ApplicationMultiFactorTrustPolicy["Any"] = "Any";
4604
+ ApplicationMultiFactorTrustPolicy["This"] = "This";
4605
+ ApplicationMultiFactorTrustPolicy["None"] = "None";
4606
+ })(ApplicationMultiFactorTrustPolicy = exports.ApplicationMultiFactorTrustPolicy || (exports.ApplicationMultiFactorTrustPolicy = {}));
4518
4607
  /**
4519
4608
  * @author Brett Pontarelli
4520
4609
  */
@@ -4674,10 +4763,12 @@ var EventType;
4674
4763
  EventType["UserDeactivate"] = "user.deactivate";
4675
4764
  EventType["UserDelete"] = "user.delete";
4676
4765
  EventType["UserDeleteComplete"] = "user.delete.complete";
4677
- EventType["UserLoginIdDuplicateOnCreate"] = "user.loginId.duplicate.create";
4678
- EventType["UserLoginIdDuplicateOnUpdate"] = "user.loginId.duplicate.update";
4679
4766
  EventType["UserEmailUpdate"] = "user.email.update";
4680
4767
  EventType["UserEmailVerified"] = "user.email.verified";
4768
+ EventType["UserIdentityProviderLink"] = "user.identity-provider.link";
4769
+ EventType["UserIdentityProviderUnlink"] = "user.identity-provider.unlink";
4770
+ EventType["UserLoginIdDuplicateOnCreate"] = "user.loginId.duplicate.create";
4771
+ EventType["UserLoginIdDuplicateOnUpdate"] = "user.loginId.duplicate.update";
4681
4772
  EventType["UserLoginFailed"] = "user.login.failed";
4682
4773
  EventType["UserLoginNewDevice"] = "user.login.new-device";
4683
4774
  EventType["UserLoginSuccess"] = "user.login.success";
@@ -4802,6 +4893,7 @@ var HTTPMethod;
4802
4893
  var IdentityProviderLinkingStrategy;
4803
4894
  (function (IdentityProviderLinkingStrategy) {
4804
4895
  IdentityProviderLinkingStrategy["CreatePendingLink"] = "CreatePendingLink";
4896
+ IdentityProviderLinkingStrategy["Disabled"] = "Disabled";
4805
4897
  IdentityProviderLinkingStrategy["LinkAnonymously"] = "LinkAnonymously";
4806
4898
  IdentityProviderLinkingStrategy["LinkByEmail"] = "LinkByEmail";
4807
4899
  IdentityProviderLinkingStrategy["LinkByEmailForExistingUser"] = "LinkByEmailForExistingUser";
@@ -4876,6 +4968,14 @@ var KeyUse;
4876
4968
  KeyUse["SignAndVerify"] = "SignAndVerify";
4877
4969
  KeyUse["VerifyOnly"] = "VerifyOnly";
4878
4970
  })(KeyUse = exports.KeyUse || (exports.KeyUse = {}));
4971
+ /**
4972
+ * @author Daniel DeGroff
4973
+ */
4974
+ var LambdaEngineType;
4975
+ (function (LambdaEngineType) {
4976
+ LambdaEngineType["GraalJS"] = "GraalJS";
4977
+ LambdaEngineType["Nashorn"] = "Nashorn";
4978
+ })(LambdaEngineType = exports.LambdaEngineType || (exports.LambdaEngineType = {}));
4879
4979
  /**
4880
4980
  * The types of lambdas that indicate how they are invoked by FusionAuth.
4881
4981
  *
@@ -4902,6 +5002,10 @@ var LambdaType;
4902
5002
  LambdaType["TwitchReconcile"] = "TwitchReconcile";
4903
5003
  LambdaType["XboxReconcile"] = "XboxReconcile";
4904
5004
  LambdaType["ClientCredentialsJWTPopulate"] = "ClientCredentialsJWTPopulate";
5005
+ LambdaType["SCIMServerGroupRequestConverter"] = "SCIMServerGroupRequestConverter";
5006
+ LambdaType["SCIMServerGroupResponseConverter"] = "SCIMServerGroupResponseConverter";
5007
+ LambdaType["SCIMServerUserRequestConverter"] = "SCIMServerUserRequestConverter";
5008
+ LambdaType["SCIMServerUserResponseConverter"] = "SCIMServerUserResponseConverter";
4905
5009
  })(LambdaType = exports.LambdaType || (exports.LambdaType = {}));
4906
5010
  var LDAPSecurityMethod;
4907
5011
  (function (LDAPSecurityMethod) {
@@ -4938,6 +5042,14 @@ var MessengerType;
4938
5042
  MessengerType["Kafka"] = "Kafka";
4939
5043
  MessengerType["Twilio"] = "Twilio";
4940
5044
  })(MessengerType = exports.MessengerType || (exports.MessengerType = {}));
5045
+ /**
5046
+ * @author Daniel DeGroff
5047
+ */
5048
+ var MultiFactorLoginPolicy;
5049
+ (function (MultiFactorLoginPolicy) {
5050
+ MultiFactorLoginPolicy["Disabled"] = "Disabled";
5051
+ MultiFactorLoginPolicy["Enabled"] = "Enabled";
5052
+ })(MultiFactorLoginPolicy = exports.MultiFactorLoginPolicy || (exports.MultiFactorLoginPolicy = {}));
4941
5053
  var OAuthErrorReason;
4942
5054
  (function (OAuthErrorReason) {
4943
5055
  OAuthErrorReason["auth_code_not_found"] = "auth_code_not_found";