@matech/thebigpos-sdk 3.25.0-dev-7880 → 3.25.0-main-8104

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
@@ -498,20 +498,6 @@ class Api extends HttpClient {
498
498
  * @response `429` `ProblemDetails` Too Many Requests
499
499
  */
500
500
  aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
501
- /**
502
- * No description
503
- *
504
- * @tags AiChat
505
- * @name RejectAiPendingLoanUpdate
506
- * @summary Reject a pending AI loan change so a new one can be proposed
507
- * @request POST:/api/ai/chats/pending-loan-updates/{pendingLoanUpdateId}/reject
508
- * @secure
509
- * @response `204` `void` No Content
510
- * @response `401` `ProblemDetails` Unauthorized
511
- * @response `404` `ProblemDetails` Not Found
512
- * @response `429` `ProblemDetails` Too Many Requests
513
- */
514
- rejectAiPendingLoanUpdate: (pendingLoanUpdateId, params = {}) => this.request(Object.assign({ path: `/api/ai/chats/pending-loan-updates/${pendingLoanUpdateId}/reject`, method: "POST", secure: true }, params)),
515
501
  /**
516
502
  * No description
517
503
  *
@@ -1116,8 +1102,6 @@ class Api extends HttpClient {
1116
1102
  * @secure
1117
1103
  * @response `200` `UserDeactivated` OK
1118
1104
  * @response `422` `UnprocessableEntity` Unprocessable Content
1119
- * @response `429` `ProblemDetails` Too Many Requests
1120
- * @response `503` `void` Service Unavailable
1121
1105
  */
1122
1106
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1123
1107
  /**
@@ -1129,25 +1113,9 @@ class Api extends HttpClient {
1129
1113
  * @request POST:/api/token/code
1130
1114
  * @secure
1131
1115
  * @response `200` `UserDeactivated` OK
1132
- * @response `400` `ProblemDetails` Bad Request
1133
1116
  * @response `422` `UnprocessableEntity` Unprocessable Content
1134
- * @response `429` `ProblemDetails` Too Many Requests
1135
1117
  */
1136
1118
  getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1137
- /**
1138
- * No description
1139
- *
1140
- * @tags Authentication
1141
- * @name ResendChallengeCode
1142
- * @summary Resend Challenge Code
1143
- * @request POST:/api/token/code/resend
1144
- * @secure
1145
- * @response `204` `void` No Content
1146
- * @response `422` `UnprocessableEntity` Unprocessable Content
1147
- * @response `429` `ProblemDetails` Too Many Requests
1148
- * @response `503` `void` Service Unavailable
1149
- */
1150
- resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1151
1119
  /**
1152
1120
  * No description
1153
1121
  *
@@ -6227,21 +6195,6 @@ class Api extends HttpClient {
6227
6195
  * @response `422` `UnprocessableEntity` Unprocessable Content
6228
6196
  */
6229
6197
  verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
6230
- /**
6231
- * No description
6232
- *
6233
- * @tags Users
6234
- * @name ClearUserMfa
6235
- * @summary Clear MFA
6236
- * @request PUT:/api/users/{id}/mfa
6237
- * @secure
6238
- * @response `200` `UserMfaState` OK
6239
- * @response `400` `ProblemDetails` Bad Request
6240
- * @response `403` `ProblemDetails` Forbidden
6241
- * @response `404` `ProblemDetails` Not Found
6242
- * @response `422` `UnprocessableEntity` Unprocessable Content
6243
- */
6244
- 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)),
6245
6198
  /**
6246
6199
  * No description
6247
6200
  *
@@ -6478,81 +6431,6 @@ class Api extends HttpClient {
6478
6431
  * @response `204` `void` No Content
6479
6432
  */
6480
6433
  deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
6481
- /**
6482
- * No description
6483
- *
6484
- * @tags UsersMeMfa
6485
- * @name GetMyMfa
6486
- * @summary Get MFA
6487
- * @request GET:/api/users/me/mfa
6488
- * @secure
6489
- * @response `200` `UserMfaState` OK
6490
- * @response `401` `ProblemDetails` Unauthorized
6491
- */
6492
- getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
6493
- /**
6494
- * No description
6495
- *
6496
- * @tags UsersMeMfa
6497
- * @name UpdateMyMfa
6498
- * @summary Update MFA
6499
- * @request PUT:/api/users/me/mfa
6500
- * @secure
6501
- * @response `200` `UserMfaState` OK
6502
- * @response `400` `ProblemDetails` Bad Request
6503
- * @response `401` `ProblemDetails` Unauthorized
6504
- * @response `403` `ProblemDetails` Forbidden
6505
- * @response `422` `UnprocessableEntity` Unprocessable Content
6506
- */
6507
- updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6508
- /**
6509
- * No description
6510
- *
6511
- * @tags UsersMeMfa
6512
- * @name StartMyMfaEnrollment
6513
- * @summary Start MFA Enrollment
6514
- * @request POST:/api/users/me/mfa/enrollments
6515
- * @secure
6516
- * @response `200` `MfaEnrollment` OK
6517
- * @response `400` `ProblemDetails` Bad Request
6518
- * @response `401` `ProblemDetails` Unauthorized
6519
- * @response `403` `ProblemDetails` Forbidden
6520
- * @response `422` `UnprocessableEntity` Unprocessable Content
6521
- * @response `429` `ProblemDetails` Too Many Requests
6522
- * @response `503` `void` Service Unavailable
6523
- */
6524
- 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)),
6525
- /**
6526
- * No description
6527
- *
6528
- * @tags UsersMeMfa
6529
- * @name ConfirmMyMfaEnrollment
6530
- * @summary Confirm MFA Enrollment
6531
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
6532
- * @secure
6533
- * @response `200` `UserMfaState` OK
6534
- * @response `400` `ProblemDetails` Bad Request
6535
- * @response `401` `ProblemDetails` Unauthorized
6536
- * @response `403` `ProblemDetails` Forbidden
6537
- * @response `422` `UnprocessableEntity` Unprocessable Content
6538
- * @response `429` `ProblemDetails` Too Many Requests
6539
- */
6540
- 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)),
6541
- /**
6542
- * No description
6543
- *
6544
- * @tags UsersMeMfa
6545
- * @name ResendMyMfaEnrollmentCode
6546
- * @summary Resend MFA Enrollment Code
6547
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
6548
- * @secure
6549
- * @response `204` `void` No Content
6550
- * @response `401` `ProblemDetails` Unauthorized
6551
- * @response `403` `ProblemDetails` Forbidden
6552
- * @response `429` `ProblemDetails` Too Many Requests
6553
- * @response `503` `void` Service Unavailable
6554
- */
6555
- resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
6556
6434
  /**
6557
6435
  * No description
6558
6436
  *