@matech/thebigpos-sdk 3.26.0-dev-8236 → 3.26.0-dev-8279
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 +9 -9
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +25 -10
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +46 -12
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 {
|
|
@@ -6300,6 +6318,8 @@ export interface MyPartner {
|
|
|
6300
6318
|
email: string;
|
|
6301
6319
|
phone?: string | null;
|
|
6302
6320
|
tier: MyPartnerTierEnum;
|
|
6321
|
+
isOnLoanOfficerList: boolean;
|
|
6322
|
+
isFromPartnerSite: boolean;
|
|
6303
6323
|
/** @format date-time */
|
|
6304
6324
|
createdAt: string;
|
|
6305
6325
|
}
|
|
@@ -8796,6 +8816,20 @@ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
|
8796
8816
|
|
|
8797
8817
|
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
8798
8818
|
|
|
8819
|
+
export type AiAccessReadAloudVoiceEnum =
|
|
8820
|
+
| "Automatic"
|
|
8821
|
+
| "UsFemale"
|
|
8822
|
+
| "UsMale"
|
|
8823
|
+
| "UkFemale"
|
|
8824
|
+
| "UkMale";
|
|
8825
|
+
|
|
8826
|
+
export type AiAccountSettingsReadAloudVoiceEnum =
|
|
8827
|
+
| "Automatic"
|
|
8828
|
+
| "UsFemale"
|
|
8829
|
+
| "UsMale"
|
|
8830
|
+
| "UkFemale"
|
|
8831
|
+
| "UkMale";
|
|
8832
|
+
|
|
8799
8833
|
export type AiAuditLogEventTypeEnum =
|
|
8800
8834
|
| "Error"
|
|
8801
8835
|
| "GuardrailBlockedPre"
|
|
@@ -10457,13 +10491,13 @@ export class Api<
|
|
|
10457
10491
|
*
|
|
10458
10492
|
* @tags AiAccess
|
|
10459
10493
|
* @name GetAiAccess
|
|
10460
|
-
* @summary Get whether AI is enabled for the current user and site
|
|
10494
|
+
* @summary Get whether AI is enabled for the current user and site, with the account's assistant name and voice
|
|
10461
10495
|
* @request GET:/api/ai/access
|
|
10462
10496
|
* @secure
|
|
10463
|
-
* @response `200` `
|
|
10497
|
+
* @response `200` `AiAccess` OK
|
|
10464
10498
|
*/
|
|
10465
10499
|
getAiAccess: (params: RequestParams = {}) =>
|
|
10466
|
-
this.request<
|
|
10500
|
+
this.request<AiAccess, any>({
|
|
10467
10501
|
path: `/api/ai/access`,
|
|
10468
10502
|
method: "GET",
|
|
10469
10503
|
secure: true,
|
|
@@ -23046,7 +23080,7 @@ export class Api<
|
|
|
23046
23080
|
}),
|
|
23047
23081
|
|
|
23048
23082
|
/**
|
|
23049
|
-
* @description The
|
|
23083
|
+
* @description The partner profiles on the loan officer's list, pending partners who have not signed up yet included, and the loan officer's portal relations
|
|
23050
23084
|
*
|
|
23051
23085
|
* @tags UsersMe
|
|
23052
23086
|
* @name GetMyPartners
|
|
@@ -23066,40 +23100,40 @@ export class Api<
|
|
|
23066
23100
|
}),
|
|
23067
23101
|
|
|
23068
23102
|
/**
|
|
23069
|
-
*
|
|
23103
|
+
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
23070
23104
|
*
|
|
23071
23105
|
* @tags UsersMe
|
|
23072
23106
|
* @name AddMyPartner
|
|
23073
23107
|
* @summary Add My Partner
|
|
23074
|
-
* @request POST:/api/users/me/partners/{
|
|
23108
|
+
* @request POST:/api/users/me/partners/{partnerProfileId}
|
|
23075
23109
|
* @secure
|
|
23076
23110
|
* @response `204` `void` No Content
|
|
23077
23111
|
* @response `403` `ProblemDetails` Forbidden
|
|
23078
23112
|
* @response `404` `ProblemDetails` Not Found
|
|
23079
23113
|
*/
|
|
23080
|
-
addMyPartner: (
|
|
23114
|
+
addMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
|
|
23081
23115
|
this.request<void, ProblemDetails>({
|
|
23082
|
-
path: `/api/users/me/partners/${
|
|
23116
|
+
path: `/api/users/me/partners/${partnerProfileId}`,
|
|
23083
23117
|
method: "POST",
|
|
23084
23118
|
secure: true,
|
|
23085
23119
|
...params,
|
|
23086
23120
|
}),
|
|
23087
23121
|
|
|
23088
23122
|
/**
|
|
23089
|
-
*
|
|
23123
|
+
* @description Takes a partner, by partner profile ID, off the loan officer's own list
|
|
23090
23124
|
*
|
|
23091
23125
|
* @tags UsersMe
|
|
23092
23126
|
* @name RemoveMyPartner
|
|
23093
23127
|
* @summary Remove My Partner
|
|
23094
|
-
* @request DELETE:/api/users/me/partners/{
|
|
23128
|
+
* @request DELETE:/api/users/me/partners/{partnerProfileId}
|
|
23095
23129
|
* @secure
|
|
23096
23130
|
* @response `204` `void` No Content
|
|
23097
23131
|
* @response `403` `ProblemDetails` Forbidden
|
|
23098
23132
|
* @response `404` `ProblemDetails` Not Found
|
|
23099
23133
|
*/
|
|
23100
|
-
removeMyPartner: (
|
|
23134
|
+
removeMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
|
|
23101
23135
|
this.request<void, ProblemDetails>({
|
|
23102
|
-
path: `/api/users/me/partners/${
|
|
23136
|
+
path: `/api/users/me/partners/${partnerProfileId}`,
|
|
23103
23137
|
method: "DELETE",
|
|
23104
23138
|
secure: true,
|
|
23105
23139
|
...params,
|