@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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +19 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +38 -3
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 */
|
|
@@ -5042,6 +5053,9 @@ export interface MyPartner {
|
|
|
5042
5053
|
partnerID?: string | null;
|
|
5043
5054
|
/** @format uuid */
|
|
5044
5055
|
inviteID?: string | null;
|
|
5056
|
+
/** @format uuid */
|
|
5057
|
+
partnerProfileID?: string | null;
|
|
5058
|
+
links: PartnerFormLink[];
|
|
5045
5059
|
firstName: string;
|
|
5046
5060
|
lastName: string;
|
|
5047
5061
|
email: string;
|
|
@@ -7333,6 +7347,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
|
7333
7347
|
} & Type;
|
|
7334
7348
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
7335
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";
|
|
7336
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";
|
|
7337
7353
|
export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
|
|
7338
7354
|
export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
|
|
@@ -7717,12 +7733,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7717
7733
|
*
|
|
7718
7734
|
* @tags AiAccess
|
|
7719
7735
|
* @name GetAiAccess
|
|
7720
|
-
* @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
|
|
7721
7737
|
* @request GET:/api/ai/access
|
|
7722
7738
|
* @secure
|
|
7723
|
-
* @response `200` `
|
|
7739
|
+
* @response `200` `AiAccess` OK
|
|
7724
7740
|
*/
|
|
7725
|
-
getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<
|
|
7741
|
+
getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiAccess, any, {}, any>>;
|
|
7726
7742
|
/**
|
|
7727
7743
|
* No description
|
|
7728
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` `
|
|
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
|
/**
|