@matech/thebigpos-sdk 3.24.0-pr-5934-7640 → 3.24.1
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 +0 -121
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +1 -195
- package/dist/index.js +1 -122
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -314
package/dist/index.cjs
CHANGED
|
@@ -1102,8 +1102,6 @@ class Api extends HttpClient {
|
|
|
1102
1102
|
* @secure
|
|
1103
1103
|
* @response `200` `UserDeactivated` OK
|
|
1104
1104
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1105
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1106
|
-
* @response `503` `void` Service Unavailable
|
|
1107
1105
|
*/
|
|
1108
1106
|
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1109
1107
|
/**
|
|
@@ -1115,25 +1113,9 @@ class Api extends HttpClient {
|
|
|
1115
1113
|
* @request POST:/api/token/code
|
|
1116
1114
|
* @secure
|
|
1117
1115
|
* @response `200` `UserDeactivated` OK
|
|
1118
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
1119
1116
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1120
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1121
1117
|
*/
|
|
1122
1118
|
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1123
|
-
/**
|
|
1124
|
-
* No description
|
|
1125
|
-
*
|
|
1126
|
-
* @tags Authentication
|
|
1127
|
-
* @name ResendChallengeCode
|
|
1128
|
-
* @summary Resend Challenge Code
|
|
1129
|
-
* @request POST:/api/token/code/resend
|
|
1130
|
-
* @secure
|
|
1131
|
-
* @response `204` `void` No Content
|
|
1132
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1133
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1134
|
-
* @response `503` `void` Service Unavailable
|
|
1135
|
-
*/
|
|
1136
|
-
resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1137
1119
|
/**
|
|
1138
1120
|
* No description
|
|
1139
1121
|
*
|
|
@@ -4118,19 +4100,6 @@ class Api extends HttpClient {
|
|
|
4118
4100
|
* @response `200` `LoanListPaginated` OK
|
|
4119
4101
|
*/
|
|
4120
4102
|
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4121
|
-
/**
|
|
4122
|
-
* No description
|
|
4123
|
-
*
|
|
4124
|
-
* @tags Loans
|
|
4125
|
-
* @name SearchPipelineLoanOfficers
|
|
4126
|
-
* @summary Search the loan officers of the caller's pipeline
|
|
4127
|
-
* @request POST:/api/loans/loan-officers/search
|
|
4128
|
-
* @secure
|
|
4129
|
-
* @response `200` `PipelineLoanOfficerPaginated` OK
|
|
4130
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
4131
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
4132
|
-
*/
|
|
4133
|
-
searchPipelineLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/loan-officers/search`, method: "POST", query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4134
4103
|
/**
|
|
4135
4104
|
* No description
|
|
4136
4105
|
*
|
|
@@ -6213,21 +6182,6 @@ class Api extends HttpClient {
|
|
|
6213
6182
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6214
6183
|
*/
|
|
6215
6184
|
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
6216
|
-
/**
|
|
6217
|
-
* No description
|
|
6218
|
-
*
|
|
6219
|
-
* @tags Users
|
|
6220
|
-
* @name ClearUserMfa
|
|
6221
|
-
* @summary Clear MFA
|
|
6222
|
-
* @request PUT:/api/users/{id}/mfa
|
|
6223
|
-
* @secure
|
|
6224
|
-
* @response `200` `UserMfaState` OK
|
|
6225
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6226
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6227
|
-
* @response `404` `ProblemDetails` Not Found
|
|
6228
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6229
|
-
*/
|
|
6230
|
-
clearUserMfa: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6231
6185
|
/**
|
|
6232
6186
|
* No description
|
|
6233
6187
|
*
|
|
@@ -6464,81 +6418,6 @@ class Api extends HttpClient {
|
|
|
6464
6418
|
* @response `204` `void` No Content
|
|
6465
6419
|
*/
|
|
6466
6420
|
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
6467
|
-
/**
|
|
6468
|
-
* No description
|
|
6469
|
-
*
|
|
6470
|
-
* @tags UsersMeMfa
|
|
6471
|
-
* @name GetMyMfa
|
|
6472
|
-
* @summary Get MFA
|
|
6473
|
-
* @request GET:/api/users/me/mfa
|
|
6474
|
-
* @secure
|
|
6475
|
-
* @response `200` `UserMfaState` OK
|
|
6476
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6477
|
-
*/
|
|
6478
|
-
getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
|
|
6479
|
-
/**
|
|
6480
|
-
* No description
|
|
6481
|
-
*
|
|
6482
|
-
* @tags UsersMeMfa
|
|
6483
|
-
* @name UpdateMyMfa
|
|
6484
|
-
* @summary Update MFA
|
|
6485
|
-
* @request PUT:/api/users/me/mfa
|
|
6486
|
-
* @secure
|
|
6487
|
-
* @response `200` `UserMfaState` OK
|
|
6488
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6489
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6490
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6491
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6492
|
-
*/
|
|
6493
|
-
updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6494
|
-
/**
|
|
6495
|
-
* No description
|
|
6496
|
-
*
|
|
6497
|
-
* @tags UsersMeMfa
|
|
6498
|
-
* @name StartMyMfaEnrollment
|
|
6499
|
-
* @summary Start MFA Enrollment
|
|
6500
|
-
* @request POST:/api/users/me/mfa/enrollments
|
|
6501
|
-
* @secure
|
|
6502
|
-
* @response `200` `MfaEnrollment` OK
|
|
6503
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6504
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6505
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6506
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6507
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6508
|
-
* @response `503` `void` Service Unavailable
|
|
6509
|
-
*/
|
|
6510
|
-
startMyMfaEnrollment: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6511
|
-
/**
|
|
6512
|
-
* No description
|
|
6513
|
-
*
|
|
6514
|
-
* @tags UsersMeMfa
|
|
6515
|
-
* @name ConfirmMyMfaEnrollment
|
|
6516
|
-
* @summary Confirm MFA Enrollment
|
|
6517
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
|
|
6518
|
-
* @secure
|
|
6519
|
-
* @response `200` `UserMfaState` OK
|
|
6520
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6521
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6522
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6523
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6524
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6525
|
-
*/
|
|
6526
|
-
confirmMyMfaEnrollment: (enrollmentId, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/confirm`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6527
|
-
/**
|
|
6528
|
-
* No description
|
|
6529
|
-
*
|
|
6530
|
-
* @tags UsersMeMfa
|
|
6531
|
-
* @name ResendMyMfaEnrollmentCode
|
|
6532
|
-
* @summary Resend MFA Enrollment Code
|
|
6533
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
|
|
6534
|
-
* @secure
|
|
6535
|
-
* @response `204` `void` No Content
|
|
6536
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6537
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6538
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6539
|
-
* @response `503` `void` Service Unavailable
|
|
6540
|
-
*/
|
|
6541
|
-
resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
|
|
6542
6421
|
/**
|
|
6543
6422
|
* No description
|
|
6544
6423
|
*
|