@matech/thebigpos-sdk 3.25.0-dev-7880 → 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 +18 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +35 -2
package/dist/index.d.ts
CHANGED
|
@@ -555,6 +555,9 @@ export interface AiConversationAuditSummary {
|
|
|
555
555
|
userName?: string | null;
|
|
556
556
|
userRole?: string | null;
|
|
557
557
|
name?: string | null;
|
|
558
|
+
/** @format uuid */
|
|
559
|
+
loanId?: string | null;
|
|
560
|
+
loanNumber?: string | null;
|
|
558
561
|
/** @format int32 */
|
|
559
562
|
turnCount: number;
|
|
560
563
|
/** @format int32 */
|
|
@@ -7944,11 +7947,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7944
7947
|
accountId?: string;
|
|
7945
7948
|
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}, any>>;
|
|
7946
7949
|
/**
|
|
7947
|
-
* @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.
|
|
7950
|
+
* @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.
|
|
7948
7951
|
*
|
|
7949
7952
|
* @tags AiAudit
|
|
7950
7953
|
* @name GetAiAuditConversations
|
|
7951
|
-
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
7954
|
+
* @summary List conversations with their audit roll-up — origin user, loan, turns, status, tokens
|
|
7952
7955
|
* @request GET:/api/ai/audit-conversations
|
|
7953
7956
|
* @secure
|
|
7954
7957
|
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
@@ -8329,6 +8332,25 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8329
8332
|
/** @format uuid */
|
|
8330
8333
|
subjectEntityId?: string;
|
|
8331
8334
|
}, params?: RequestParams) => Promise<AxiosResponse<AiPromptRun[], any, {}, any>>;
|
|
8335
|
+
/**
|
|
8336
|
+
* No description
|
|
8337
|
+
*
|
|
8338
|
+
* @tags AiPromptRun
|
|
8339
|
+
* @name RerunAiPromptRun
|
|
8340
|
+
* @summary Re-run the AI verification bound to a loan task
|
|
8341
|
+
* @request POST:/api/ai/prompt-runs/rerun
|
|
8342
|
+
* @secure
|
|
8343
|
+
* @response `202` `void` Accepted
|
|
8344
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8345
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8346
|
+
* @response `409` `ProblemDetails` Conflict
|
|
8347
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
8348
|
+
* @response `503` `void` Service Unavailable
|
|
8349
|
+
*/
|
|
8350
|
+
rerunAiPromptRun: (query?: {
|
|
8351
|
+
/** @format uuid */
|
|
8352
|
+
subjectEntityId?: string;
|
|
8353
|
+
}, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
8332
8354
|
/**
|
|
8333
8355
|
* No description
|
|
8334
8356
|
*
|
package/dist/index.js
CHANGED
|
@@ -452,11 +452,11 @@ export 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: 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
|
|
@@ -758,6 +758,22 @@ export class Api extends HttpClient {
|
|
|
758
758
|
* @response `400` `ProblemDetails` Bad Request
|
|
759
759
|
*/
|
|
760
760
|
getAiPromptRuns: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompt-runs`, method: "GET", query: 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: query, secure: true }, params)),
|
|
761
777
|
/**
|
|
762
778
|
* No description
|
|
763
779
|
*
|