@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.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 */
@@ -5050,6 +5061,8 @@ export interface MyPartner {
5050
5061
  email: string;
5051
5062
  phone?: string | null;
5052
5063
  tier: MyPartnerTierEnum;
5064
+ isOnLoanOfficerList: boolean;
5065
+ isFromPartnerSite: boolean;
5053
5066
  /** @format date-time */
5054
5067
  createdAt: string;
5055
5068
  }
@@ -7336,6 +7349,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7336
7349
  } & Type;
7337
7350
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7338
7351
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7352
+ export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7353
+ export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7339
7354
  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
7355
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
7341
7356
  export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
@@ -7720,12 +7735,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7720
7735
  *
7721
7736
  * @tags AiAccess
7722
7737
  * @name GetAiAccess
7723
- * @summary Get whether AI is enabled for the current user and site
7738
+ * @summary Get whether AI is enabled for the current user and site, with the account's assistant name and voice
7724
7739
  * @request GET:/api/ai/access
7725
7740
  * @secure
7726
- * @response `200` `AiEnabled` OK
7741
+ * @response `200` `AiAccess` OK
7727
7742
  */
7728
- getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiEnabled, any, {}, any>>;
7743
+ getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiAccess, any, {}, any>>;
7729
7744
  /**
7730
7745
  * No description
7731
7746
  *
@@ -14581,7 +14596,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14581
14596
  */
14582
14597
  deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14583
14598
  /**
14584
- * @description The partners on the loan officer's list and the loan officer's portal relations, plus the open partner invites the loan officer sent
14599
+ * @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
14585
14600
  *
14586
14601
  * @tags UsersMe
14587
14602
  * @name GetMyPartners
@@ -14593,31 +14608,31 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14593
14608
  */
14594
14609
  getMyPartners: (params?: RequestParams) => Promise<AxiosResponse<MyPartner[], any, {}, any>>;
14595
14610
  /**
14596
- * No description
14611
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
14597
14612
  *
14598
14613
  * @tags UsersMe
14599
14614
  * @name AddMyPartner
14600
14615
  * @summary Add My Partner
14601
- * @request POST:/api/users/me/partners/{partnerId}
14616
+ * @request POST:/api/users/me/partners/{partnerProfileId}
14602
14617
  * @secure
14603
14618
  * @response `204` `void` No Content
14604
14619
  * @response `403` `ProblemDetails` Forbidden
14605
14620
  * @response `404` `ProblemDetails` Not Found
14606
14621
  */
14607
- addMyPartner: (partnerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14622
+ addMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14608
14623
  /**
14609
- * No description
14624
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
14610
14625
  *
14611
14626
  * @tags UsersMe
14612
14627
  * @name RemoveMyPartner
14613
14628
  * @summary Remove My Partner
14614
- * @request DELETE:/api/users/me/partners/{partnerId}
14629
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
14615
14630
  * @secure
14616
14631
  * @response `204` `void` No Content
14617
14632
  * @response `403` `ProblemDetails` Forbidden
14618
14633
  * @response `404` `ProblemDetails` Not Found
14619
14634
  */
14620
- removeMyPartner: (partnerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14635
+ removeMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14621
14636
  /**
14622
14637
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
14623
14638
  *
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
  /**
@@ -6433,7 +6433,7 @@ export class Api extends HttpClient {
6433
6433
  */
6434
6434
  deleteRelationshipProspect: (id, params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects/${id}`, method: "DELETE", secure: true }, params)),
6435
6435
  /**
6436
- * @description The partners on the loan officer's list and the loan officer's portal relations, plus the open partner invites the loan officer sent
6436
+ * @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
6437
6437
  *
6438
6438
  * @tags UsersMe
6439
6439
  * @name GetMyPartners
@@ -6445,31 +6445,31 @@ export class Api extends HttpClient {
6445
6445
  */
6446
6446
  getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
6447
6447
  /**
6448
- * No description
6448
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
6449
6449
  *
6450
6450
  * @tags UsersMe
6451
6451
  * @name AddMyPartner
6452
6452
  * @summary Add My Partner
6453
- * @request POST:/api/users/me/partners/{partnerId}
6453
+ * @request POST:/api/users/me/partners/{partnerProfileId}
6454
6454
  * @secure
6455
6455
  * @response `204` `void` No Content
6456
6456
  * @response `403` `ProblemDetails` Forbidden
6457
6457
  * @response `404` `ProblemDetails` Not Found
6458
6458
  */
6459
- addMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "POST", secure: true }, params)),
6459
+ addMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "POST", secure: true }, params)),
6460
6460
  /**
6461
- * No description
6461
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
6462
6462
  *
6463
6463
  * @tags UsersMe
6464
6464
  * @name RemoveMyPartner
6465
6465
  * @summary Remove My Partner
6466
- * @request DELETE:/api/users/me/partners/{partnerId}
6466
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
6467
6467
  * @secure
6468
6468
  * @response `204` `void` No Content
6469
6469
  * @response `403` `ProblemDetails` Forbidden
6470
6470
  * @response `404` `ProblemDetails` Not Found
6471
6471
  */
6472
- removeMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "DELETE", secure: true }, params)),
6472
+ removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
6473
6473
  /**
6474
6474
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
6475
6475
  *