@matech/thebigpos-sdk 3.25.0-dev-7801 → 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 +48 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +63 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +104 -0
package/src/index.ts
CHANGED
|
@@ -2366,6 +2366,10 @@ export interface ConditionComment {
|
|
|
2366
2366
|
createdByName: string;
|
|
2367
2367
|
}
|
|
2368
2368
|
|
|
2369
|
+
export interface ConfirmMfaEnrollmentRequest {
|
|
2370
|
+
code: string;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2369
2373
|
export interface ConsumerConnectRetry {
|
|
2370
2374
|
correlationKey: string;
|
|
2371
2375
|
email: string;
|
|
@@ -6115,6 +6119,15 @@ export interface MaterializeLoanRoleTasks {
|
|
|
6115
6119
|
rowsAdded: number;
|
|
6116
6120
|
}
|
|
6117
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
|
+
|
|
6118
6131
|
export interface MfaMethod {
|
|
6119
6132
|
factor: MfaMethodFactorEnum;
|
|
6120
6133
|
available: boolean;
|
|
@@ -7716,6 +7729,10 @@ export interface StandardLoanField {
|
|
|
7716
7729
|
isAiEnabled: boolean;
|
|
7717
7730
|
}
|
|
7718
7731
|
|
|
7732
|
+
export interface StartMfaEnrollmentRequest {
|
|
7733
|
+
factor?: MfaFactor | null;
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7719
7736
|
export interface SupportedModel {
|
|
7720
7737
|
modelId: string;
|
|
7721
7738
|
displayName: string;
|
|
@@ -9639,6 +9656,8 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
|
|
|
9639
9656
|
| "AiGeneratedDocument"
|
|
9640
9657
|
| "Unidentified";
|
|
9641
9658
|
|
|
9659
|
+
export type MfaEnrollmentFactorEnum = "None" | "Sms" | "Email";
|
|
9660
|
+
|
|
9642
9661
|
export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
|
|
9643
9662
|
|
|
9644
9663
|
export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
|
|
@@ -23060,6 +23079,91 @@ export class Api<
|
|
|
23060
23079
|
...params,
|
|
23061
23080
|
}),
|
|
23062
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
|
+
|
|
23063
23167
|
/**
|
|
23064
23168
|
* No description
|
|
23065
23169
|
*
|