@matech/thebigpos-sdk 3.20.0-main-7027 → 3.21.0-dev-7189
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 +0 -24
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +8 -41
- package/dist/index.js +1 -25
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +28 -67
package/dist/index.d.ts
CHANGED
|
@@ -677,7 +677,6 @@ export interface AiPrompt {
|
|
|
677
677
|
isFeatured: boolean;
|
|
678
678
|
icon?: string | null;
|
|
679
679
|
agentSystemPrompt?: string | null;
|
|
680
|
-
tools?: AiPromptTool[] | null;
|
|
681
680
|
hasAccountOverride: boolean;
|
|
682
681
|
/** @format date-time */
|
|
683
682
|
createdAt: string;
|
|
@@ -771,12 +770,6 @@ export interface AiPromptSummary {
|
|
|
771
770
|
isFeatured: boolean;
|
|
772
771
|
icon?: string | null;
|
|
773
772
|
}
|
|
774
|
-
export interface AiPromptTool {
|
|
775
|
-
toolName: string;
|
|
776
|
-
}
|
|
777
|
-
export interface AiPromptToolInput {
|
|
778
|
-
toolName: string;
|
|
779
|
-
}
|
|
780
773
|
export interface AiTokenBudgetStatus {
|
|
781
774
|
/** @format int32 */
|
|
782
775
|
limit: number;
|
|
@@ -819,12 +812,6 @@ export interface AiTokenUsageWindowPaginated {
|
|
|
819
812
|
/** @format int64 */
|
|
820
813
|
count: number;
|
|
821
814
|
}
|
|
822
|
-
export interface AiToolCatalogItem {
|
|
823
|
-
toolName: string;
|
|
824
|
-
displayName: string;
|
|
825
|
-
description: string;
|
|
826
|
-
isWriteTool: boolean;
|
|
827
|
-
}
|
|
828
815
|
export interface AiUpdatedBy {
|
|
829
816
|
/** @format uuid */
|
|
830
817
|
id: string;
|
|
@@ -3912,6 +3899,10 @@ export interface LoanDocumentFolderPermission {
|
|
|
3912
3899
|
level: LoanDocumentFolderPermissionLevelEnum;
|
|
3913
3900
|
readScope: LoanDocumentFolderPermissionReadScopeEnum;
|
|
3914
3901
|
}
|
|
3902
|
+
export interface LoanDocumentFolderPermissionFilter {
|
|
3903
|
+
role: LoanDocumentFolderPermissionFilterRoleEnum;
|
|
3904
|
+
minimumPermissionLevel: LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum;
|
|
3905
|
+
}
|
|
3915
3906
|
export interface LoanDocumentFolderPermissionRequest {
|
|
3916
3907
|
role: LoanDocumentFolderPermissionRequestRoleEnum;
|
|
3917
3908
|
level: LoanDocumentFolderPermissionRequestLevelEnum;
|
|
@@ -3922,6 +3913,7 @@ export interface LoanDocumentFolderSearchCriteria {
|
|
|
3922
3913
|
isActive?: boolean | null;
|
|
3923
3914
|
isSystemDefault?: boolean | null;
|
|
3924
3915
|
role?: LoanRole | null;
|
|
3916
|
+
permissions?: LoanDocumentFolderPermissionFilter[] | null;
|
|
3925
3917
|
}
|
|
3926
3918
|
export interface LoanDocumentFolderSummary {
|
|
3927
3919
|
/** @format uuid */
|
|
@@ -6660,9 +6652,6 @@ export interface UpdateAiPromptRequest {
|
|
|
6660
6652
|
inputHint?: string | null;
|
|
6661
6653
|
isFeatured?: boolean | null;
|
|
6662
6654
|
icon?: string | null;
|
|
6663
|
-
}
|
|
6664
|
-
export interface UpdateAiPromptToolsRequest {
|
|
6665
|
-
tools: AiPromptToolInput[];
|
|
6666
6655
|
agentSystemPrompt?: string | null;
|
|
6667
6656
|
}
|
|
6668
6657
|
export interface UpdateAiUrlSourceRequest {
|
|
@@ -7385,6 +7374,8 @@ export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "L
|
|
|
7385
7374
|
export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7386
7375
|
export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
7387
7376
|
export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
|
|
7377
|
+
export type LoanDocumentFolderPermissionFilterRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7378
|
+
export type LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
7388
7379
|
export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7389
7380
|
export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
7390
7381
|
export type LoanDocumentFolderPermissionRequestReadScopeEnum = "Own" | "All";
|
|
@@ -7523,7 +7514,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
7523
7514
|
}
|
|
7524
7515
|
/**
|
|
7525
7516
|
* @title The Big POS API
|
|
7526
|
-
* @version v3.
|
|
7517
|
+
* @version v3.21.0
|
|
7527
7518
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7528
7519
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7529
7520
|
*/
|
|
@@ -7795,30 +7786,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7795
7786
|
/** @default false */
|
|
7796
7787
|
force?: boolean;
|
|
7797
7788
|
}, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
7798
|
-
/**
|
|
7799
|
-
* No description
|
|
7800
|
-
*
|
|
7801
|
-
* @tags AiAdminPrompt
|
|
7802
|
-
* @name GetAiTools
|
|
7803
|
-
* @summary List available agent tools and their settings schema
|
|
7804
|
-
* @request GET:/api/ai/prompts/tools
|
|
7805
|
-
* @secure
|
|
7806
|
-
* @response `200` `(AiToolCatalogItem)[]` OK
|
|
7807
|
-
*/
|
|
7808
|
-
getAiTools: (params?: RequestParams) => Promise<AxiosResponse<AiToolCatalogItem[], any, {}, any>>;
|
|
7809
|
-
/**
|
|
7810
|
-
* No description
|
|
7811
|
-
*
|
|
7812
|
-
* @tags AiAdminPrompt
|
|
7813
|
-
* @name UpdateAiPromptTools
|
|
7814
|
-
* @summary Replace the prompt's agent tool configuration
|
|
7815
|
-
* @request PUT:/api/ai/prompts/{id}/tools
|
|
7816
|
-
* @secure
|
|
7817
|
-
* @response `200` `AiPrompt` OK
|
|
7818
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7819
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7820
|
-
*/
|
|
7821
|
-
updateAiPromptTools: (id: string, data: UpdateAiPromptToolsRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}, any>>;
|
|
7822
7789
|
/**
|
|
7823
7790
|
* No description
|
|
7824
7791
|
*
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ export class HttpClient {
|
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* @title The Big POS API
|
|
104
|
-
* @version v3.
|
|
104
|
+
* @version v3.21.0
|
|
105
105
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
106
106
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
107
107
|
*/
|
|
@@ -369,30 +369,6 @@ export class Api extends HttpClient {
|
|
|
369
369
|
* @response `409` `ProblemDetails` Conflict
|
|
370
370
|
*/
|
|
371
371
|
deleteAiPrompt: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", query: query, secure: true }, params)),
|
|
372
|
-
/**
|
|
373
|
-
* No description
|
|
374
|
-
*
|
|
375
|
-
* @tags AiAdminPrompt
|
|
376
|
-
* @name GetAiTools
|
|
377
|
-
* @summary List available agent tools and their settings schema
|
|
378
|
-
* @request GET:/api/ai/prompts/tools
|
|
379
|
-
* @secure
|
|
380
|
-
* @response `200` `(AiToolCatalogItem)[]` OK
|
|
381
|
-
*/
|
|
382
|
-
getAiTools: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/tools`, method: "GET", secure: true, format: "json" }, params)),
|
|
383
|
-
/**
|
|
384
|
-
* No description
|
|
385
|
-
*
|
|
386
|
-
* @tags AiAdminPrompt
|
|
387
|
-
* @name UpdateAiPromptTools
|
|
388
|
-
* @summary Replace the prompt's agent tool configuration
|
|
389
|
-
* @request PUT:/api/ai/prompts/{id}/tools
|
|
390
|
-
* @secure
|
|
391
|
-
* @response `200` `AiPrompt` OK
|
|
392
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
393
|
-
* @response `404` `ProblemDetails` Not Found
|
|
394
|
-
*/
|
|
395
|
-
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
396
372
|
/**
|
|
397
373
|
* No description
|
|
398
374
|
*
|