@matech/thebigpos-sdk 3.24.1 → 3.25.0-pr-5934-7728

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 CHANGED
@@ -1102,6 +1102,8 @@ 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
1105
1107
  */
1106
1108
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1107
1109
  /**
@@ -1113,9 +1115,25 @@ class Api extends HttpClient {
1113
1115
  * @request POST:/api/token/code
1114
1116
  * @secure
1115
1117
  * @response `200` `UserDeactivated` OK
1118
+ * @response `400` `ProblemDetails` Bad Request
1116
1119
  * @response `422` `UnprocessableEntity` Unprocessable Content
1120
+ * @response `429` `ProblemDetails` Too Many Requests
1117
1121
  */
1118
1122
  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)),
1119
1137
  /**
1120
1138
  * No description
1121
1139
  *
@@ -4100,6 +4118,19 @@ class Api extends HttpClient {
4100
4118
  * @response `200` `LoanListPaginated` OK
4101
4119
  */
4102
4120
  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)),
4103
4134
  /**
4104
4135
  * No description
4105
4136
  *
@@ -6182,6 +6213,21 @@ class Api extends HttpClient {
6182
6213
  * @response `422` `UnprocessableEntity` Unprocessable Content
6183
6214
  */
6184
6215
  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)),
6185
6231
  /**
6186
6232
  * No description
6187
6233
  *
@@ -6418,6 +6464,81 @@ class Api extends HttpClient {
6418
6464
  * @response `204` `void` No Content
6419
6465
  */
6420
6466
  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)),
6421
6542
  /**
6422
6543
  * No description
6423
6544
  *