@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/src/index.ts CHANGED
@@ -1446,7 +1446,6 @@ export interface AiPrompt {
1446
1446
  isFeatured: boolean;
1447
1447
  icon?: string | null;
1448
1448
  agentSystemPrompt?: string | null;
1449
- tools?: AiPromptTool[] | null;
1450
1449
  hasAccountOverride: boolean;
1451
1450
  /** @format date-time */
1452
1451
  createdAt: string;
@@ -1548,14 +1547,6 @@ export interface AiPromptSummary {
1548
1547
  icon?: string | null;
1549
1548
  }
1550
1549
 
1551
- export interface AiPromptTool {
1552
- toolName: string;
1553
- }
1554
-
1555
- export interface AiPromptToolInput {
1556
- toolName: string;
1557
- }
1558
-
1559
1550
  export interface AiTokenBudgetStatus {
1560
1551
  /** @format int32 */
1561
1552
  limit: number;
@@ -1601,13 +1592,6 @@ export interface AiTokenUsageWindowPaginated {
1601
1592
  count: number;
1602
1593
  }
1603
1594
 
1604
- export interface AiToolCatalogItem {
1605
- toolName: string;
1606
- displayName: string;
1607
- description: string;
1608
- isWriteTool: boolean;
1609
- }
1610
-
1611
1595
  export interface AiUpdatedBy {
1612
1596
  /** @format uuid */
1613
1597
  id: string;
@@ -5046,6 +5030,11 @@ export interface LoanDocumentFolderPermission {
5046
5030
  readScope: LoanDocumentFolderPermissionReadScopeEnum;
5047
5031
  }
5048
5032
 
5033
+ export interface LoanDocumentFolderPermissionFilter {
5034
+ role: LoanDocumentFolderPermissionFilterRoleEnum;
5035
+ minimumPermissionLevel: LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum;
5036
+ }
5037
+
5049
5038
  export interface LoanDocumentFolderPermissionRequest {
5050
5039
  role: LoanDocumentFolderPermissionRequestRoleEnum;
5051
5040
  level: LoanDocumentFolderPermissionRequestLevelEnum;
@@ -5057,6 +5046,7 @@ export interface LoanDocumentFolderSearchCriteria {
5057
5046
  isActive?: boolean | null;
5058
5047
  isSystemDefault?: boolean | null;
5059
5048
  role?: LoanRole | null;
5049
+ permissions?: LoanDocumentFolderPermissionFilter[] | null;
5060
5050
  }
5061
5051
 
5062
5052
  export interface LoanDocumentFolderSummary {
@@ -8043,10 +8033,6 @@ export interface UpdateAiPromptRequest {
8043
8033
  inputHint?: string | null;
8044
8034
  isFeatured?: boolean | null;
8045
8035
  icon?: string | null;
8046
- }
8047
-
8048
- export interface UpdateAiPromptToolsRequest {
8049
- tools: AiPromptToolInput[];
8050
8036
  agentSystemPrompt?: string | null;
8051
8037
  }
8052
8038
 
@@ -9316,6 +9302,27 @@ export type LoanDocumentFolderPermissionLevelEnum =
9316
9302
 
9317
9303
  export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
9318
9304
 
9305
+ export type LoanDocumentFolderPermissionFilterRoleEnum =
9306
+ | "Borrower"
9307
+ | "CoBorrower"
9308
+ | "NonBorrower"
9309
+ | "LoanOfficer"
9310
+ | "LoanProcessor"
9311
+ | "LoanOfficerAssistant"
9312
+ | "SupportingLoanOfficer"
9313
+ | "BuyerAgent"
9314
+ | "SellerAgent"
9315
+ | "TitleInsuranceAgent"
9316
+ | "EscrowAgent"
9317
+ | "SettlementAgent"
9318
+ | "Admin";
9319
+
9320
+ export type LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum =
9321
+ | "None"
9322
+ | "Read"
9323
+ | "Write"
9324
+ | "Manage";
9325
+
9319
9326
  export type LoanDocumentFolderPermissionRequestRoleEnum =
9320
9327
  | "Borrower"
9321
9328
  | "CoBorrower"
@@ -10099,7 +10106,7 @@ export class HttpClient<SecurityDataType = unknown> {
10099
10106
 
10100
10107
  /**
10101
10108
  * @title The Big POS API
10102
- * @version v3.20.0
10109
+ * @version v3.21.0
10103
10110
  * @termsOfService https://www.thebigpos.com/terms-of-use/
10104
10111
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
10105
10112
  */
@@ -10598,52 +10605,6 @@ export class Api<
10598
10605
  ...params,
10599
10606
  }),
10600
10607
 
10601
- /**
10602
- * No description
10603
- *
10604
- * @tags AiAdminPrompt
10605
- * @name GetAiTools
10606
- * @summary List available agent tools and their settings schema
10607
- * @request GET:/api/ai/prompts/tools
10608
- * @secure
10609
- * @response `200` `(AiToolCatalogItem)[]` OK
10610
- */
10611
- getAiTools: (params: RequestParams = {}) =>
10612
- this.request<AiToolCatalogItem[], any>({
10613
- path: `/api/ai/prompts/tools`,
10614
- method: "GET",
10615
- secure: true,
10616
- format: "json",
10617
- ...params,
10618
- }),
10619
-
10620
- /**
10621
- * No description
10622
- *
10623
- * @tags AiAdminPrompt
10624
- * @name UpdateAiPromptTools
10625
- * @summary Replace the prompt's agent tool configuration
10626
- * @request PUT:/api/ai/prompts/{id}/tools
10627
- * @secure
10628
- * @response `200` `AiPrompt` OK
10629
- * @response `400` `ProblemDetails` Bad Request
10630
- * @response `404` `ProblemDetails` Not Found
10631
- */
10632
- updateAiPromptTools: (
10633
- id: string,
10634
- data: UpdateAiPromptToolsRequest,
10635
- params: RequestParams = {},
10636
- ) =>
10637
- this.request<AiPrompt, ProblemDetails>({
10638
- path: `/api/ai/prompts/${id}/tools`,
10639
- method: "PUT",
10640
- body: data,
10641
- secure: true,
10642
- type: "application/json",
10643
- format: "json",
10644
- ...params,
10645
- }),
10646
-
10647
10608
  /**
10648
10609
  * No description
10649
10610
  *