@matech/thebigpos-sdk 3.26.0-dev-8236 → 3.26.0-dev-8257

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.d.ts CHANGED
@@ -115,6 +115,7 @@ export type AiUrlSourceCategory = "Regulatory" | "Guidelines" | "MarketData" | "
115
115
  export type AiUrlSourceApprovalStatus = "Pending" | "Approved" | "Rejected";
116
116
  export type AiUrlDomainStatus = "Approved" | "Rejected";
117
117
  export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
118
+ export type AiReadAloudVoice = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
118
119
  export type AiPromptScope = "General" | "LoanSpecific";
119
120
  export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
120
121
  export type AiPendingLoanUpdateOutcome = "Applied" | "Refused";
@@ -343,14 +344,24 @@ export interface AffordabilityCalculatorRequest {
343
344
  /** @format double */
344
345
  annualInsurance: number;
345
346
  }
347
+ export interface AiAccess {
348
+ isEnabled: boolean;
349
+ assistantName: string;
350
+ readAloudVoice: AiAccessReadAloudVoiceEnum;
351
+ }
346
352
  export interface AiAccountSettings {
347
353
  bedrockModelId: string;
348
354
  isUsingAppDefault: boolean;
349
355
  enabledTriggers: string[];
356
+ assistantName: string;
357
+ isUsingDefaultAssistantName: boolean;
358
+ readAloudVoice: AiAccountSettingsReadAloudVoiceEnum;
350
359
  }
351
360
  export interface AiAccountSettingsRequest {
352
361
  bedrockModelId?: string | null;
353
362
  enabledTriggers?: string[] | null;
363
+ assistantName?: string | null;
364
+ readAloudVoice?: AiReadAloudVoice | null;
354
365
  }
355
366
  export interface AiAccountUsageOverview {
356
367
  /** @format uuid */
@@ -7336,6 +7347,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7336
7347
  } & Type;
7337
7348
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7338
7349
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7350
+ export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7351
+ export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7339
7352
  export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted" | "BoundPromptForced";
7340
7353
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
7341
7354
  export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
@@ -7720,12 +7733,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7720
7733
  *
7721
7734
  * @tags AiAccess
7722
7735
  * @name GetAiAccess
7723
- * @summary Get whether AI is enabled for the current user and site
7736
+ * @summary Get whether AI is enabled for the current user and site, with the account's assistant name and voice
7724
7737
  * @request GET:/api/ai/access
7725
7738
  * @secure
7726
- * @response `200` `AiEnabled` OK
7739
+ * @response `200` `AiAccess` OK
7727
7740
  */
7728
- getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiEnabled, any, {}, any>>;
7741
+ getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiAccess, any, {}, any>>;
7729
7742
  /**
7730
7743
  * No description
7731
7744
  *
package/dist/index.js CHANGED
@@ -256,10 +256,10 @@ export class Api extends HttpClient {
256
256
  *
257
257
  * @tags AiAccess
258
258
  * @name GetAiAccess
259
- * @summary Get whether AI is enabled for the current user and site
259
+ * @summary Get whether AI is enabled for the current user and site, with the account's assistant name and voice
260
260
  * @request GET:/api/ai/access
261
261
  * @secure
262
- * @response `200` `AiEnabled` OK
262
+ * @response `200` `AiAccess` OK
263
263
  */
264
264
  getAiAccess: (params = {}) => this.request(Object.assign({ path: `/api/ai/access`, method: "GET", secure: true, format: "json" }, params)),
265
265
  /**