@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.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +16 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +35 -3
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 {
|
|
@@ -8796,6 +8814,20 @@ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
|
8796
8814
|
|
|
8797
8815
|
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
8798
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
|
+
|
|
8799
8831
|
export type AiAuditLogEventTypeEnum =
|
|
8800
8832
|
| "Error"
|
|
8801
8833
|
| "GuardrailBlockedPre"
|
|
@@ -10457,13 +10489,13 @@ export class Api<
|
|
|
10457
10489
|
*
|
|
10458
10490
|
* @tags AiAccess
|
|
10459
10491
|
* @name GetAiAccess
|
|
10460
|
-
* @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
|
|
10461
10493
|
* @request GET:/api/ai/access
|
|
10462
10494
|
* @secure
|
|
10463
|
-
* @response `200` `
|
|
10495
|
+
* @response `200` `AiAccess` OK
|
|
10464
10496
|
*/
|
|
10465
10497
|
getAiAccess: (params: RequestParams = {}) =>
|
|
10466
|
-
this.request<
|
|
10498
|
+
this.request<AiAccess, any>({
|
|
10467
10499
|
path: `/api/ai/access`,
|
|
10468
10500
|
method: "GET",
|
|
10469
10501
|
secure: true,
|