@matech/thebigpos-sdk 3.25.0-dev-8059 → 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
@@ -452,11 +452,11 @@ class Api extends HttpClient {
452
452
  */
453
453
  getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query, secure: true, format: "json" }, params)),
454
454
  /**
455
- * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59. searchText matches a case-insensitive substring of the originating user's name or email, the conversation name or the loan number, or an exact conversation, request or user id.
455
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
456
456
  *
457
457
  * @tags AiAudit
458
458
  * @name GetAiAuditConversations
459
- * @summary List conversations with their audit roll-up — origin user, loan, turns, status, tokens
459
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
460
460
  * @request GET:/api/ai/audit-conversations
461
461
  * @secure
462
462
  * @response `200` `AiConversationAuditSummaryPaginated` OK
@@ -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
  *
@@ -758,22 +744,6 @@ class Api extends HttpClient {
758
744
  * @response `400` `ProblemDetails` Bad Request
759
745
  */
760
746
  getAiPromptRuns: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompt-runs`, method: "GET", query, secure: true, format: "json" }, params)),
761
- /**
762
- * No description
763
- *
764
- * @tags AiPromptRun
765
- * @name RerunAiPromptRun
766
- * @summary Re-run the AI verification bound to a loan task
767
- * @request POST:/api/ai/prompt-runs/rerun
768
- * @secure
769
- * @response `202` `void` Accepted
770
- * @response `400` `ProblemDetails` Bad Request
771
- * @response `404` `ProblemDetails` Not Found
772
- * @response `409` `ProblemDetails` Conflict
773
- * @response `429` `ProblemDetails` Too Many Requests
774
- * @response `503` `void` Service Unavailable
775
- */
776
- rerunAiPromptRun: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompt-runs/rerun`, method: "POST", query, secure: true }, params)),
777
747
  /**
778
748
  * No description
779
749
  *
@@ -1132,8 +1102,6 @@ class Api extends HttpClient {
1132
1102
  * @secure
1133
1103
  * @response `200` `UserDeactivated` OK
1134
1104
  * @response `422` `UnprocessableEntity` Unprocessable Content
1135
- * @response `429` `ProblemDetails` Too Many Requests
1136
- * @response `503` `void` Service Unavailable
1137
1105
  */
1138
1106
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1139
1107
  /**
@@ -1145,25 +1113,9 @@ class Api extends HttpClient {
1145
1113
  * @request POST:/api/token/code
1146
1114
  * @secure
1147
1115
  * @response `200` `UserDeactivated` OK
1148
- * @response `400` `ProblemDetails` Bad Request
1149
1116
  * @response `422` `UnprocessableEntity` Unprocessable Content
1150
- * @response `429` `ProblemDetails` Too Many Requests
1151
1117
  */
1152
1118
  getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1153
- /**
1154
- * No description
1155
- *
1156
- * @tags Authentication
1157
- * @name ResendChallengeCode
1158
- * @summary Resend Challenge Code
1159
- * @request POST:/api/token/code/resend
1160
- * @secure
1161
- * @response `204` `void` No Content
1162
- * @response `422` `UnprocessableEntity` Unprocessable Content
1163
- * @response `429` `ProblemDetails` Too Many Requests
1164
- * @response `503` `void` Service Unavailable
1165
- */
1166
- resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1167
1119
  /**
1168
1120
  * No description
1169
1121
  *
@@ -6243,21 +6195,6 @@ class Api extends HttpClient {
6243
6195
  * @response `422` `UnprocessableEntity` Unprocessable Content
6244
6196
  */
6245
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)),
6246
- /**
6247
- * No description
6248
- *
6249
- * @tags Users
6250
- * @name ClearUserMfa
6251
- * @summary Clear MFA
6252
- * @request PUT:/api/users/{id}/mfa
6253
- * @secure
6254
- * @response `200` `UserMfaState` OK
6255
- * @response `400` `ProblemDetails` Bad Request
6256
- * @response `403` `ProblemDetails` Forbidden
6257
- * @response `404` `ProblemDetails` Not Found
6258
- * @response `422` `UnprocessableEntity` Unprocessable Content
6259
- */
6260
- 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)),
6261
6198
  /**
6262
6199
  * No description
6263
6200
  *
@@ -6494,81 +6431,6 @@ class Api extends HttpClient {
6494
6431
  * @response `204` `void` No Content
6495
6432
  */
6496
6433
  deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
6497
- /**
6498
- * No description
6499
- *
6500
- * @tags UsersMeMfa
6501
- * @name GetMyMfa
6502
- * @summary Get MFA
6503
- * @request GET:/api/users/me/mfa
6504
- * @secure
6505
- * @response `200` `UserMfaState` OK
6506
- * @response `401` `ProblemDetails` Unauthorized
6507
- */
6508
- getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
6509
- /**
6510
- * No description
6511
- *
6512
- * @tags UsersMeMfa
6513
- * @name UpdateMyMfa
6514
- * @summary Update MFA
6515
- * @request PUT:/api/users/me/mfa
6516
- * @secure
6517
- * @response `200` `UserMfaState` OK
6518
- * @response `400` `ProblemDetails` Bad Request
6519
- * @response `401` `ProblemDetails` Unauthorized
6520
- * @response `403` `ProblemDetails` Forbidden
6521
- * @response `422` `UnprocessableEntity` Unprocessable Content
6522
- */
6523
- updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6524
- /**
6525
- * No description
6526
- *
6527
- * @tags UsersMeMfa
6528
- * @name StartMyMfaEnrollment
6529
- * @summary Start MFA Enrollment
6530
- * @request POST:/api/users/me/mfa/enrollments
6531
- * @secure
6532
- * @response `200` `MfaEnrollment` OK
6533
- * @response `400` `ProblemDetails` Bad Request
6534
- * @response `401` `ProblemDetails` Unauthorized
6535
- * @response `403` `ProblemDetails` Forbidden
6536
- * @response `422` `UnprocessableEntity` Unprocessable Content
6537
- * @response `429` `ProblemDetails` Too Many Requests
6538
- * @response `503` `void` Service Unavailable
6539
- */
6540
- 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)),
6541
- /**
6542
- * No description
6543
- *
6544
- * @tags UsersMeMfa
6545
- * @name ConfirmMyMfaEnrollment
6546
- * @summary Confirm MFA Enrollment
6547
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
6548
- * @secure
6549
- * @response `200` `UserMfaState` OK
6550
- * @response `400` `ProblemDetails` Bad Request
6551
- * @response `401` `ProblemDetails` Unauthorized
6552
- * @response `403` `ProblemDetails` Forbidden
6553
- * @response `422` `UnprocessableEntity` Unprocessable Content
6554
- * @response `429` `ProblemDetails` Too Many Requests
6555
- */
6556
- 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)),
6557
- /**
6558
- * No description
6559
- *
6560
- * @tags UsersMeMfa
6561
- * @name ResendMyMfaEnrollmentCode
6562
- * @summary Resend MFA Enrollment Code
6563
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
6564
- * @secure
6565
- * @response `204` `void` No Content
6566
- * @response `401` `ProblemDetails` Unauthorized
6567
- * @response `403` `ProblemDetails` Forbidden
6568
- * @response `429` `ProblemDetails` Too Many Requests
6569
- * @response `503` `void` Service Unavailable
6570
- */
6571
- resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
6572
6434
  /**
6573
6435
  * No description
6574
6436
  *