@matech/thebigpos-sdk 3.26.0-dev-8210 → 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/src/index.ts CHANGED
@@ -716,6 +716,13 @@ export type AiStructuredDataType =
716
716
  | "CitedPassages"
717
717
  | "PendingLoanUpdate";
718
718
 
719
+ export type AiReadAloudVoice =
720
+ | "Automatic"
721
+ | "UsFemale"
722
+ | "UsMale"
723
+ | "UkFemale"
724
+ | "UkMale";
725
+
719
726
  export type AiPromptScope = "General" | "LoanSpecific";
720
727
 
721
728
  export type AiPromptCategory =
@@ -1089,15 +1096,26 @@ export interface AffordabilityCalculatorRequest {
1089
1096
  annualInsurance: number;
1090
1097
  }
1091
1098
 
1099
+ export interface AiAccess {
1100
+ isEnabled: boolean;
1101
+ assistantName: string;
1102
+ readAloudVoice: AiAccessReadAloudVoiceEnum;
1103
+ }
1104
+
1092
1105
  export interface AiAccountSettings {
1093
1106
  bedrockModelId: string;
1094
1107
  isUsingAppDefault: boolean;
1095
1108
  enabledTriggers: string[];
1109
+ assistantName: string;
1110
+ isUsingDefaultAssistantName: boolean;
1111
+ readAloudVoice: AiAccountSettingsReadAloudVoiceEnum;
1096
1112
  }
1097
1113
 
1098
1114
  export interface AiAccountSettingsRequest {
1099
1115
  bedrockModelId?: string | null;
1100
1116
  enabledTriggers?: string[] | null;
1117
+ assistantName?: string | null;
1118
+ readAloudVoice?: AiReadAloudVoice | null;
1101
1119
  }
1102
1120
 
1103
1121
  export interface AiAccountUsageOverview {
@@ -6292,6 +6310,9 @@ export interface MyPartner {
6292
6310
  partnerID?: string | null;
6293
6311
  /** @format uuid */
6294
6312
  inviteID?: string | null;
6313
+ /** @format uuid */
6314
+ partnerProfileID?: string | null;
6315
+ links: PartnerFormLink[];
6295
6316
  firstName: string;
6296
6317
  lastName: string;
6297
6318
  email: string;
@@ -8793,6 +8814,20 @@ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
8793
8814
 
8794
8815
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
8795
8816
 
8817
+ export type AiAccessReadAloudVoiceEnum =
8818
+ | "Automatic"
8819
+ | "UsFemale"
8820
+ | "UsMale"
8821
+ | "UkFemale"
8822
+ | "UkMale";
8823
+
8824
+ export type AiAccountSettingsReadAloudVoiceEnum =
8825
+ | "Automatic"
8826
+ | "UsFemale"
8827
+ | "UsMale"
8828
+ | "UkFemale"
8829
+ | "UkMale";
8830
+
8796
8831
  export type AiAuditLogEventTypeEnum =
8797
8832
  | "Error"
8798
8833
  | "GuardrailBlockedPre"
@@ -10454,13 +10489,13 @@ export class Api<
10454
10489
  *
10455
10490
  * @tags AiAccess
10456
10491
  * @name GetAiAccess
10457
- * @summary Get whether AI is enabled for the current user and site
10492
+ * @summary Get whether AI is enabled for the current user and site, with the account's assistant name and voice
10458
10493
  * @request GET:/api/ai/access
10459
10494
  * @secure
10460
- * @response `200` `AiEnabled` OK
10495
+ * @response `200` `AiAccess` OK
10461
10496
  */
10462
10497
  getAiAccess: (params: RequestParams = {}) =>
10463
- this.request<AiEnabled, any>({
10498
+ this.request<AiAccess, any>({
10464
10499
  path: `/api/ai/access`,
10465
10500
  method: "GET",
10466
10501
  secure: true,