@matech/thebigpos-sdk 3.24.1 → 3.25.0-dev-7825
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/index.cjs +103 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +174 -1
- package/dist/index.js +104 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +275 -1
package/src/index.ts
CHANGED
|
@@ -73,6 +73,8 @@ export type PartnerTier = "Lite" | "LitePlusPortal" | "Pending";
|
|
|
73
73
|
|
|
74
74
|
export type OutboundFailureSeverity = "All" | "Failed" | "CompletedWithErrors";
|
|
75
75
|
|
|
76
|
+
export type MfaFactor = "None" | "Sms" | "Email";
|
|
77
|
+
|
|
76
78
|
export type LosWebhookSigningKeySyncStatus = "Unknown" | "Synced";
|
|
77
79
|
|
|
78
80
|
export type LosWebhookInventoryStatus =
|
|
@@ -1011,6 +1013,7 @@ export interface AdminAccessUser {
|
|
|
1011
1013
|
title?: string | null;
|
|
1012
1014
|
forcePasswordReset: boolean;
|
|
1013
1015
|
mfaEnabled: boolean;
|
|
1016
|
+
mfaFactor: AdminAccessUserMfaFactorEnum;
|
|
1014
1017
|
phoneVerified: boolean;
|
|
1015
1018
|
/** @format int32 */
|
|
1016
1019
|
loginsWithoutMFACount: number;
|
|
@@ -1890,6 +1893,7 @@ export interface BranchUser {
|
|
|
1890
1893
|
title?: string | null;
|
|
1891
1894
|
forcePasswordReset: boolean;
|
|
1892
1895
|
mfaEnabled: boolean;
|
|
1896
|
+
mfaFactor: BranchUserMfaFactorEnum;
|
|
1893
1897
|
phoneVerified: boolean;
|
|
1894
1898
|
/** @format int32 */
|
|
1895
1899
|
loginsWithoutMFACount: number;
|
|
@@ -2362,6 +2366,10 @@ export interface ConditionComment {
|
|
|
2362
2366
|
createdByName: string;
|
|
2363
2367
|
}
|
|
2364
2368
|
|
|
2369
|
+
export interface ConfirmMfaEnrollmentRequest {
|
|
2370
|
+
code: string;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2365
2373
|
export interface ConsumerConnectRetry {
|
|
2366
2374
|
correlationKey: string;
|
|
2367
2375
|
email: string;
|
|
@@ -2689,6 +2697,7 @@ export interface CustomFieldDefinition {
|
|
|
2689
2697
|
regexPattern?: string | null;
|
|
2690
2698
|
dataType: CustomFieldDefinitionDataTypeEnum;
|
|
2691
2699
|
entityType: CustomFieldDefinitionEntityTypeEnum;
|
|
2700
|
+
isAiEnabled: boolean;
|
|
2692
2701
|
options: CustomFieldOption[];
|
|
2693
2702
|
permissions: CustomFieldPermission[];
|
|
2694
2703
|
encompassMapping?: EncompassMapping | null;
|
|
@@ -2766,6 +2775,7 @@ export interface DetailedUser {
|
|
|
2766
2775
|
title?: string | null;
|
|
2767
2776
|
forcePasswordReset: boolean;
|
|
2768
2777
|
mfaEnabled: boolean;
|
|
2778
|
+
mfaFactor: DetailedUserMfaFactorEnum;
|
|
2769
2779
|
phoneVerified: boolean;
|
|
2770
2780
|
/** @format int32 */
|
|
2771
2781
|
loginsWithoutMFACount: number;
|
|
@@ -3608,6 +3618,7 @@ export interface ImpersonatedDetailedUser {
|
|
|
3608
3618
|
title?: string | null;
|
|
3609
3619
|
forcePasswordReset: boolean;
|
|
3610
3620
|
mfaEnabled: boolean;
|
|
3621
|
+
mfaFactor: ImpersonatedDetailedUserMfaFactorEnum;
|
|
3611
3622
|
phoneVerified: boolean;
|
|
3612
3623
|
/** @format int32 */
|
|
3613
3624
|
loginsWithoutMFACount: number;
|
|
@@ -4009,6 +4020,8 @@ export interface LoanApplicationRequest {
|
|
|
4009
4020
|
draftId?: string | null;
|
|
4010
4021
|
/** @format uuid */
|
|
4011
4022
|
partnerId?: string | null;
|
|
4023
|
+
/** @format uuid */
|
|
4024
|
+
formId?: string | null;
|
|
4012
4025
|
additionalFields?: Record<string, any> | null;
|
|
4013
4026
|
/** @format uuid */
|
|
4014
4027
|
existingLoanId?: string | null;
|
|
@@ -6106,6 +6119,23 @@ export interface MaterializeLoanRoleTasks {
|
|
|
6106
6119
|
rowsAdded: number;
|
|
6107
6120
|
}
|
|
6108
6121
|
|
|
6122
|
+
export interface MfaEnrollment {
|
|
6123
|
+
enrollmentId: string;
|
|
6124
|
+
factor: MfaEnrollmentFactorEnum;
|
|
6125
|
+
destination?: string | null;
|
|
6126
|
+
/** @format int32 */
|
|
6127
|
+
expiresInSeconds: number;
|
|
6128
|
+
canResend: boolean;
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
export interface MfaMethod {
|
|
6132
|
+
factor: MfaMethodFactorEnum;
|
|
6133
|
+
available: boolean;
|
|
6134
|
+
current: boolean;
|
|
6135
|
+
destination?: string | null;
|
|
6136
|
+
requiresConfirmation: boolean;
|
|
6137
|
+
}
|
|
6138
|
+
|
|
6109
6139
|
export interface MilestoneConfiguration {
|
|
6110
6140
|
/** @format date-time */
|
|
6111
6141
|
createdAt: string;
|
|
@@ -6519,6 +6549,23 @@ export interface PinAiConversationRequest {
|
|
|
6519
6549
|
isPinned: boolean;
|
|
6520
6550
|
}
|
|
6521
6551
|
|
|
6552
|
+
export interface PipelineLoanOfficer {
|
|
6553
|
+
/** @format uuid */
|
|
6554
|
+
id: string;
|
|
6555
|
+
firstName: string;
|
|
6556
|
+
lastName: string;
|
|
6557
|
+
email: string;
|
|
6558
|
+
branchName?: string | null;
|
|
6559
|
+
isActive: boolean;
|
|
6560
|
+
}
|
|
6561
|
+
|
|
6562
|
+
export interface PipelineLoanOfficerPaginated {
|
|
6563
|
+
rows: PipelineLoanOfficer[];
|
|
6564
|
+
pagination: Pagination;
|
|
6565
|
+
/** @format int64 */
|
|
6566
|
+
count: number;
|
|
6567
|
+
}
|
|
6568
|
+
|
|
6522
6569
|
export interface PipelineTableFilters {
|
|
6523
6570
|
activityStatus?: LoanActivityStatus | null;
|
|
6524
6571
|
loanPurpose?: LoanPurpose | null;
|
|
@@ -7682,6 +7729,10 @@ export interface StandardLoanField {
|
|
|
7682
7729
|
isAiEnabled: boolean;
|
|
7683
7730
|
}
|
|
7684
7731
|
|
|
7732
|
+
export interface StartMfaEnrollmentRequest {
|
|
7733
|
+
factor?: MfaFactor | null;
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7685
7736
|
export interface SupportedModel {
|
|
7686
7737
|
modelId: string;
|
|
7687
7738
|
displayName: string;
|
|
@@ -8104,6 +8155,11 @@ export interface UpdateMeRequest {
|
|
|
8104
8155
|
preferredLoanOfficerId?: string | null;
|
|
8105
8156
|
}
|
|
8106
8157
|
|
|
8158
|
+
export interface UpdateMfaFactorRequest {
|
|
8159
|
+
factor?: MfaFactor | null;
|
|
8160
|
+
passwordConfirmation?: string | null;
|
|
8161
|
+
}
|
|
8162
|
+
|
|
8107
8163
|
export interface UpdateMobilePhoneRequest {
|
|
8108
8164
|
phone: string;
|
|
8109
8165
|
}
|
|
@@ -8315,6 +8371,7 @@ export interface User {
|
|
|
8315
8371
|
title?: string | null;
|
|
8316
8372
|
forcePasswordReset: boolean;
|
|
8317
8373
|
mfaEnabled: boolean;
|
|
8374
|
+
mfaFactor: UserMfaFactorEnum;
|
|
8318
8375
|
phoneVerified: boolean;
|
|
8319
8376
|
/** @format int32 */
|
|
8320
8377
|
loginsWithoutMFACount: number;
|
|
@@ -8503,6 +8560,13 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
8503
8560
|
loanDocumentFolderId?: string | null;
|
|
8504
8561
|
}
|
|
8505
8562
|
|
|
8563
|
+
export interface UserMfaState {
|
|
8564
|
+
enabled: boolean;
|
|
8565
|
+
factor: UserMfaStateFactorEnum;
|
|
8566
|
+
required: boolean;
|
|
8567
|
+
methods: MfaMethod[];
|
|
8568
|
+
}
|
|
8569
|
+
|
|
8506
8570
|
export interface UserMobilePhoneVerificationRequest {
|
|
8507
8571
|
code: string;
|
|
8508
8572
|
}
|
|
@@ -8707,6 +8771,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
|
8707
8771
|
|
|
8708
8772
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
8709
8773
|
|
|
8774
|
+
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
8775
|
+
|
|
8710
8776
|
export type AiAuditLogEventTypeEnum =
|
|
8711
8777
|
| "Error"
|
|
8712
8778
|
| "GuardrailBlockedPre"
|
|
@@ -8828,6 +8894,8 @@ export type BorrowerIdentityRoleEnum =
|
|
|
8828
8894
|
| "SettlementAgent"
|
|
8829
8895
|
| "Admin";
|
|
8830
8896
|
|
|
8897
|
+
export type BranchUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
8898
|
+
|
|
8831
8899
|
export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
|
|
8832
8900
|
|
|
8833
8901
|
export type CanvasFieldDescriptorDataTypeEnum =
|
|
@@ -9127,6 +9195,8 @@ export type CustomFieldValueDataTypeEnum =
|
|
|
9127
9195
|
| "SingleSelect"
|
|
9128
9196
|
| "MultiSelect";
|
|
9129
9197
|
|
|
9198
|
+
export type DetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
9199
|
+
|
|
9130
9200
|
export type DocumentsWidgetConfigTypeEnum = "Documents";
|
|
9131
9201
|
|
|
9132
9202
|
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
@@ -9213,6 +9283,8 @@ export type IpAddressAddressFamilyEnum =
|
|
|
9213
9283
|
| "ControllerAreaNetwork"
|
|
9214
9284
|
| "Unknown";
|
|
9215
9285
|
|
|
9286
|
+
export type ImpersonatedDetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
9287
|
+
|
|
9216
9288
|
export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
|
|
9217
9289
|
|
|
9218
9290
|
export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
@@ -9584,6 +9656,10 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
|
|
|
9584
9656
|
| "AiGeneratedDocument"
|
|
9585
9657
|
| "Unidentified";
|
|
9586
9658
|
|
|
9659
|
+
export type MfaEnrollmentFactorEnum = "None" | "Sms" | "Email";
|
|
9660
|
+
|
|
9661
|
+
export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
|
|
9662
|
+
|
|
9587
9663
|
export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
|
|
9588
9664
|
|
|
9589
9665
|
export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
|
|
@@ -9710,6 +9786,8 @@ export type UpdateAiUrlSourceRequestCategoryEnum =
|
|
|
9710
9786
|
|
|
9711
9787
|
export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
|
|
9712
9788
|
|
|
9789
|
+
export type UserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
9790
|
+
|
|
9713
9791
|
export type UserDraftRoleEnum =
|
|
9714
9792
|
| "Borrower"
|
|
9715
9793
|
| "CoBorrower"
|
|
@@ -9763,6 +9841,8 @@ export type UserLoanConsentLosSyncStatusEnum =
|
|
|
9763
9841
|
| "Failed"
|
|
9764
9842
|
| "Success";
|
|
9765
9843
|
|
|
9844
|
+
export type UserMfaStateFactorEnum = "None" | "Sms" | "Email";
|
|
9845
|
+
|
|
9766
9846
|
export type UserTableSettingsTableKeyEnum = "Pipeline";
|
|
9767
9847
|
|
|
9768
9848
|
export type UserTableViewTableKeyEnum = "Pipeline";
|
|
@@ -10071,7 +10151,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
10071
10151
|
|
|
10072
10152
|
/**
|
|
10073
10153
|
* @title The Big POS API
|
|
10074
|
-
* @version v3.
|
|
10154
|
+
* @version v3.25.0
|
|
10075
10155
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
10076
10156
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
10077
10157
|
*/
|
|
@@ -18192,6 +18272,41 @@ export class Api<
|
|
|
18192
18272
|
...params,
|
|
18193
18273
|
}),
|
|
18194
18274
|
|
|
18275
|
+
/**
|
|
18276
|
+
* No description
|
|
18277
|
+
*
|
|
18278
|
+
* @tags Loans
|
|
18279
|
+
* @name SearchPipelineLoanOfficers
|
|
18280
|
+
* @summary Search the loan officers of the caller's pipeline
|
|
18281
|
+
* @request POST:/api/loans/loan-officers/search
|
|
18282
|
+
* @secure
|
|
18283
|
+
* @response `200` `PipelineLoanOfficerPaginated` OK
|
|
18284
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
18285
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
18286
|
+
*/
|
|
18287
|
+
searchPipelineLoanOfficers: (
|
|
18288
|
+
data: SearchCriteria,
|
|
18289
|
+
query?: {
|
|
18290
|
+
/** @format int32 */
|
|
18291
|
+
pageSize?: number;
|
|
18292
|
+
/** @format int32 */
|
|
18293
|
+
pageNumber?: number;
|
|
18294
|
+
sortBy?: string;
|
|
18295
|
+
sortDirection?: string;
|
|
18296
|
+
},
|
|
18297
|
+
params: RequestParams = {},
|
|
18298
|
+
) =>
|
|
18299
|
+
this.request<PipelineLoanOfficerPaginated, ProblemDetails>({
|
|
18300
|
+
path: `/api/loans/loan-officers/search`,
|
|
18301
|
+
method: "POST",
|
|
18302
|
+
query: query,
|
|
18303
|
+
body: data,
|
|
18304
|
+
secure: true,
|
|
18305
|
+
type: "application/json",
|
|
18306
|
+
format: "json",
|
|
18307
|
+
...params,
|
|
18308
|
+
}),
|
|
18309
|
+
|
|
18195
18310
|
/**
|
|
18196
18311
|
* No description
|
|
18197
18312
|
*
|
|
@@ -22464,6 +22579,35 @@ export class Api<
|
|
|
22464
22579
|
...params,
|
|
22465
22580
|
}),
|
|
22466
22581
|
|
|
22582
|
+
/**
|
|
22583
|
+
* No description
|
|
22584
|
+
*
|
|
22585
|
+
* @tags Users
|
|
22586
|
+
* @name ClearUserMfa
|
|
22587
|
+
* @summary Clear MFA
|
|
22588
|
+
* @request PUT:/api/users/{id}/mfa
|
|
22589
|
+
* @secure
|
|
22590
|
+
* @response `200` `UserMfaState` OK
|
|
22591
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
22592
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
22593
|
+
* @response `404` `ProblemDetails` Not Found
|
|
22594
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
22595
|
+
*/
|
|
22596
|
+
clearUserMfa: (
|
|
22597
|
+
id: string,
|
|
22598
|
+
data: UpdateMfaFactorRequest,
|
|
22599
|
+
params: RequestParams = {},
|
|
22600
|
+
) =>
|
|
22601
|
+
this.request<UserMfaState, ProblemDetails | UnprocessableEntity>({
|
|
22602
|
+
path: `/api/users/${id}/mfa`,
|
|
22603
|
+
method: "PUT",
|
|
22604
|
+
body: data,
|
|
22605
|
+
secure: true,
|
|
22606
|
+
type: "application/json",
|
|
22607
|
+
format: "json",
|
|
22608
|
+
...params,
|
|
22609
|
+
}),
|
|
22610
|
+
|
|
22467
22611
|
/**
|
|
22468
22612
|
* No description
|
|
22469
22613
|
*
|
|
@@ -22890,6 +23034,136 @@ export class Api<
|
|
|
22890
23034
|
...params,
|
|
22891
23035
|
}),
|
|
22892
23036
|
|
|
23037
|
+
/**
|
|
23038
|
+
* No description
|
|
23039
|
+
*
|
|
23040
|
+
* @tags UsersMeMfa
|
|
23041
|
+
* @name GetMyMfa
|
|
23042
|
+
* @summary Get MFA
|
|
23043
|
+
* @request GET:/api/users/me/mfa
|
|
23044
|
+
* @secure
|
|
23045
|
+
* @response `200` `UserMfaState` OK
|
|
23046
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
23047
|
+
*/
|
|
23048
|
+
getMyMfa: (params: RequestParams = {}) =>
|
|
23049
|
+
this.request<UserMfaState, ProblemDetails>({
|
|
23050
|
+
path: `/api/users/me/mfa`,
|
|
23051
|
+
method: "GET",
|
|
23052
|
+
secure: true,
|
|
23053
|
+
format: "json",
|
|
23054
|
+
...params,
|
|
23055
|
+
}),
|
|
23056
|
+
|
|
23057
|
+
/**
|
|
23058
|
+
* No description
|
|
23059
|
+
*
|
|
23060
|
+
* @tags UsersMeMfa
|
|
23061
|
+
* @name UpdateMyMfa
|
|
23062
|
+
* @summary Update MFA
|
|
23063
|
+
* @request PUT:/api/users/me/mfa
|
|
23064
|
+
* @secure
|
|
23065
|
+
* @response `200` `UserMfaState` OK
|
|
23066
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
23067
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
23068
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
23069
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
23070
|
+
*/
|
|
23071
|
+
updateMyMfa: (data: UpdateMfaFactorRequest, params: RequestParams = {}) =>
|
|
23072
|
+
this.request<UserMfaState, ProblemDetails | UnprocessableEntity>({
|
|
23073
|
+
path: `/api/users/me/mfa`,
|
|
23074
|
+
method: "PUT",
|
|
23075
|
+
body: data,
|
|
23076
|
+
secure: true,
|
|
23077
|
+
type: "application/json",
|
|
23078
|
+
format: "json",
|
|
23079
|
+
...params,
|
|
23080
|
+
}),
|
|
23081
|
+
|
|
23082
|
+
/**
|
|
23083
|
+
* No description
|
|
23084
|
+
*
|
|
23085
|
+
* @tags UsersMeMfa
|
|
23086
|
+
* @name StartMyMfaEnrollment
|
|
23087
|
+
* @summary Start MFA Enrollment
|
|
23088
|
+
* @request POST:/api/users/me/mfa/enrollments
|
|
23089
|
+
* @secure
|
|
23090
|
+
* @response `200` `MfaEnrollment` OK
|
|
23091
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
23092
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
23093
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
23094
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
23095
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
23096
|
+
* @response `503` `void` Service Unavailable
|
|
23097
|
+
*/
|
|
23098
|
+
startMyMfaEnrollment: (
|
|
23099
|
+
data: StartMfaEnrollmentRequest,
|
|
23100
|
+
params: RequestParams = {},
|
|
23101
|
+
) =>
|
|
23102
|
+
this.request<MfaEnrollment, ProblemDetails | UnprocessableEntity | void>({
|
|
23103
|
+
path: `/api/users/me/mfa/enrollments`,
|
|
23104
|
+
method: "POST",
|
|
23105
|
+
body: data,
|
|
23106
|
+
secure: true,
|
|
23107
|
+
type: "application/json",
|
|
23108
|
+
format: "json",
|
|
23109
|
+
...params,
|
|
23110
|
+
}),
|
|
23111
|
+
|
|
23112
|
+
/**
|
|
23113
|
+
* No description
|
|
23114
|
+
*
|
|
23115
|
+
* @tags UsersMeMfa
|
|
23116
|
+
* @name ConfirmMyMfaEnrollment
|
|
23117
|
+
* @summary Confirm MFA Enrollment
|
|
23118
|
+
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
|
|
23119
|
+
* @secure
|
|
23120
|
+
* @response `200` `UserMfaState` OK
|
|
23121
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
23122
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
23123
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
23124
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
23125
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
23126
|
+
*/
|
|
23127
|
+
confirmMyMfaEnrollment: (
|
|
23128
|
+
enrollmentId: string,
|
|
23129
|
+
data: ConfirmMfaEnrollmentRequest,
|
|
23130
|
+
params: RequestParams = {},
|
|
23131
|
+
) =>
|
|
23132
|
+
this.request<UserMfaState, ProblemDetails | UnprocessableEntity>({
|
|
23133
|
+
path: `/api/users/me/mfa/enrollments/${enrollmentId}/confirm`,
|
|
23134
|
+
method: "POST",
|
|
23135
|
+
body: data,
|
|
23136
|
+
secure: true,
|
|
23137
|
+
type: "application/json",
|
|
23138
|
+
format: "json",
|
|
23139
|
+
...params,
|
|
23140
|
+
}),
|
|
23141
|
+
|
|
23142
|
+
/**
|
|
23143
|
+
* No description
|
|
23144
|
+
*
|
|
23145
|
+
* @tags UsersMeMfa
|
|
23146
|
+
* @name ResendMyMfaEnrollmentCode
|
|
23147
|
+
* @summary Resend MFA Enrollment Code
|
|
23148
|
+
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
|
|
23149
|
+
* @secure
|
|
23150
|
+
* @response `204` `void` No Content
|
|
23151
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
23152
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
23153
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
23154
|
+
* @response `503` `void` Service Unavailable
|
|
23155
|
+
*/
|
|
23156
|
+
resendMyMfaEnrollmentCode: (
|
|
23157
|
+
enrollmentId: string,
|
|
23158
|
+
params: RequestParams = {},
|
|
23159
|
+
) =>
|
|
23160
|
+
this.request<void, ProblemDetails | void>({
|
|
23161
|
+
path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`,
|
|
23162
|
+
method: "POST",
|
|
23163
|
+
secure: true,
|
|
23164
|
+
...params,
|
|
23165
|
+
}),
|
|
23166
|
+
|
|
22893
23167
|
/**
|
|
22894
23168
|
* No description
|
|
22895
23169
|
*
|