@matech/thebigpos-sdk 3.25.0-dev-7851 → 3.25.0-dev-8059

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.
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.
456
456
  *
457
457
  * @tags AiAudit
458
458
  * @name GetAiAuditConversations
459
- * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
459
+ * @summary List conversations with their audit roll-up — origin user, loan, turns, status, tokens
460
460
  * @request GET:/api/ai/audit-conversations
461
461
  * @secure
462
462
  * @response `200` `AiConversationAuditSummaryPaginated` OK
@@ -498,6 +498,20 @@ 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)),
501
515
  /**
502
516
  * No description
503
517
  *
@@ -744,6 +758,22 @@ class Api extends HttpClient {
744
758
  * @response `400` `ProblemDetails` Bad Request
745
759
  */
746
760
  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)),
747
777
  /**
748
778
  * No description
749
779
  *