@matech/thebigpos-sdk 3.28.0-dev-8425 → 3.28.0-main-8476
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 +0 -86
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +0 -141
- package/dist/index.js +0 -86
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +0 -220
package/dist/index.d.ts
CHANGED
|
@@ -124,7 +124,6 @@ export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Compariso
|
|
|
124
124
|
export type AiChatInputSource = "Keyboard" | "Prompt" | "Action" | "Voice";
|
|
125
125
|
export type AiAuditEventType = "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";
|
|
126
126
|
export type AddressFamily = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
|
|
127
|
-
export type AccountPartnerStatus = "Active" | "Invited";
|
|
128
127
|
export type CanvasWidgetConfig = BaseCanvasWidgetConfig & (BaseCanvasWidgetConfigTypeMapping<"Information", InformationWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Kpi", KpiWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"KeyDates", KeyDatesWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"LoanProgress", LoanProgressWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"MonthlyPayment", MonthlyPaymentWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Amortization", AmortizationWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"PrimaryBorrower", PrimaryBorrowerWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"OpenTasks", OpenTasksWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Documents", DocumentsWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"EsignStatus", EsignStatusWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"LoanTeam", LoanTeamWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"TextBlock", TextBlockWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"SectionDivider", SectionDividerWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"MyTasks", MyTasksWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"RecentLoans", RecentLoansWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"ClosingSoon", ClosingSoonWidgetConfig>);
|
|
129
128
|
export interface ASOSettings {
|
|
130
129
|
enabled: boolean;
|
|
@@ -196,29 +195,6 @@ export interface AccountFailureCount {
|
|
|
196
195
|
/** @format int32 */
|
|
197
196
|
count: number;
|
|
198
197
|
}
|
|
199
|
-
export interface AccountPartner {
|
|
200
|
-
/** @format uuid */
|
|
201
|
-
partnerProfileID?: string | null;
|
|
202
|
-
/** @format uuid */
|
|
203
|
-
partnerID?: string | null;
|
|
204
|
-
firstName: string;
|
|
205
|
-
lastName: string;
|
|
206
|
-
email: string;
|
|
207
|
-
phone?: string | null;
|
|
208
|
-
status: AccountPartnerStatusEnum;
|
|
209
|
-
tier: AccountPartnerTierEnum;
|
|
210
|
-
/** @format date-time */
|
|
211
|
-
createdAt: string;
|
|
212
|
-
}
|
|
213
|
-
export interface AccountPartnerPaginated {
|
|
214
|
-
rows: AccountPartner[];
|
|
215
|
-
pagination: Pagination;
|
|
216
|
-
/** @format int64 */
|
|
217
|
-
count: number;
|
|
218
|
-
}
|
|
219
|
-
export interface AccountPartnerSearchCriteria {
|
|
220
|
-
searchText?: string | null;
|
|
221
|
-
}
|
|
222
198
|
export interface AccountSettings {
|
|
223
199
|
isSmsEnabled: boolean;
|
|
224
200
|
smsNumber?: string | null;
|
|
@@ -5090,15 +5066,6 @@ export interface MyPartner {
|
|
|
5090
5066
|
/** @format date-time */
|
|
5091
5067
|
createdAt: string;
|
|
5092
5068
|
}
|
|
5093
|
-
export interface MyPartnerPaginated {
|
|
5094
|
-
rows: MyPartner[];
|
|
5095
|
-
pagination: Pagination;
|
|
5096
|
-
/** @format int64 */
|
|
5097
|
-
count: number;
|
|
5098
|
-
}
|
|
5099
|
-
export interface MyPartnerSearchCriteria {
|
|
5100
|
-
searchText?: string | null;
|
|
5101
|
-
}
|
|
5102
5069
|
export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
|
|
5103
5070
|
/** @format int32 */
|
|
5104
5071
|
dueWithinDays: number;
|
|
@@ -6841,12 +6808,6 @@ export interface UpdateMobilePhoneRequest {
|
|
|
6841
6808
|
export interface UpdatePartnerPortalRequest {
|
|
6842
6809
|
isEnabled?: boolean | null;
|
|
6843
6810
|
}
|
|
6844
|
-
export interface UpdatePartnerRequest {
|
|
6845
|
-
firstName: string;
|
|
6846
|
-
lastName: string;
|
|
6847
|
-
email: string;
|
|
6848
|
-
phone?: string | null;
|
|
6849
|
-
}
|
|
6850
6811
|
export interface UpdateUserGroupRequest {
|
|
6851
6812
|
name: string;
|
|
6852
6813
|
description?: string | null;
|
|
@@ -7397,8 +7358,6 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
|
7397
7358
|
type: Key;
|
|
7398
7359
|
} & Type;
|
|
7399
7360
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
7400
|
-
export type AccountPartnerStatusEnum = "Active" | "Invited";
|
|
7401
|
-
export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
|
|
7402
7361
|
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7403
7362
|
export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
|
|
7404
7363
|
export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
|
|
@@ -7704,86 +7663,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7704
7663
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
7705
7664
|
*/
|
|
7706
7665
|
updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any, {}, any>>;
|
|
7707
|
-
/**
|
|
7708
|
-
* @description Every partner of the caller's account: Realtors with an account and pending partners who have not signed up yet
|
|
7709
|
-
*
|
|
7710
|
-
* @tags AccountPartners
|
|
7711
|
-
* @name SearchAccountPartners
|
|
7712
|
-
* @summary Search Account Partners
|
|
7713
|
-
* @request POST:/api/account/partners/search
|
|
7714
|
-
* @secure
|
|
7715
|
-
* @response `200` `AccountPartnerPaginated` OK
|
|
7716
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7717
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7718
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7719
|
-
*/
|
|
7720
|
-
searchAccountPartners: (data: AccountPartnerSearchCriteria, query?: {
|
|
7721
|
-
/** @format int32 */
|
|
7722
|
-
pageSize?: number;
|
|
7723
|
-
/** @format int32 */
|
|
7724
|
-
pageNumber?: number;
|
|
7725
|
-
sortBy?: string;
|
|
7726
|
-
sortDirection?: string;
|
|
7727
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AccountPartnerPaginated, any, {}, any>>;
|
|
7728
|
-
/**
|
|
7729
|
-
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
|
|
7730
|
-
*
|
|
7731
|
-
* @tags AccountPartners
|
|
7732
|
-
* @name PromotePartner
|
|
7733
|
-
* @summary Promote To Partner
|
|
7734
|
-
* @request POST:/api/account/partners/promotions
|
|
7735
|
-
* @secure
|
|
7736
|
-
* @response `200` `PromotePartner` OK
|
|
7737
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7738
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7739
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7740
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7741
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7742
|
-
*/
|
|
7743
|
-
promotePartner: (data: PromotePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<PromotePartner, any, {}, any>>;
|
|
7744
|
-
/**
|
|
7745
|
-
* @description Changes a registered partner's name, sign-in email and phone
|
|
7746
|
-
*
|
|
7747
|
-
* @tags AccountPartners
|
|
7748
|
-
* @name ReplacePartner
|
|
7749
|
-
* @summary Replace Partner
|
|
7750
|
-
* @request PUT:/api/account/partners/{partnerProfileId}
|
|
7751
|
-
* @secure
|
|
7752
|
-
* @response `204` `void` No Content
|
|
7753
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7754
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7755
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7756
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7757
|
-
*/
|
|
7758
|
-
replacePartner: (partnerProfileId: string, data: UpdatePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
7759
|
-
/**
|
|
7760
|
-
* @description Makes a registered partner a settlement agent again and retires their partner profile; their account and loans stay
|
|
7761
|
-
*
|
|
7762
|
-
* @tags AccountPartners
|
|
7763
|
-
* @name DemotePartner
|
|
7764
|
-
* @summary Demote Partner
|
|
7765
|
-
* @request POST:/api/account/partners/{partnerProfileId}/demote
|
|
7766
|
-
* @secure
|
|
7767
|
-
* @response `204` `void` No Content
|
|
7768
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7769
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7770
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7771
|
-
*/
|
|
7772
|
-
demotePartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
7773
|
-
/**
|
|
7774
|
-
* @description Cancels a pending partner's invites and retires their partner profile; inviting the email again restores it
|
|
7775
|
-
*
|
|
7776
|
-
* @tags AccountPartners
|
|
7777
|
-
* @name CancelPartnerInvite
|
|
7778
|
-
* @summary Cancel Partner Invite
|
|
7779
|
-
* @request POST:/api/account/partners/{partnerProfileId}/cancel
|
|
7780
|
-
* @secure
|
|
7781
|
-
* @response `204` `void` No Content
|
|
7782
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7783
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7784
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7785
|
-
*/
|
|
7786
|
-
cancelPartnerInvite: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
7787
7666
|
/**
|
|
7788
7667
|
* No description
|
|
7789
7668
|
*
|
|
@@ -14750,26 +14629,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14750
14629
|
* @response `403` `ProblemDetails` Forbidden
|
|
14751
14630
|
*/
|
|
14752
14631
|
getMyPartners: (params?: RequestParams) => Promise<AxiosResponse<MyPartner[], any, {}, any>>;
|
|
14753
|
-
/**
|
|
14754
|
-
* @description Searches the rows getMyPartners returns by first name, last name, full name or email, and pages them. Sorts by firstName, lastName, email, tier or createdAt when both sortBy and sortDirection are given, else newest first
|
|
14755
|
-
*
|
|
14756
|
-
* @tags UsersMe
|
|
14757
|
-
* @name SearchMyPartners
|
|
14758
|
-
* @summary Search My Partners
|
|
14759
|
-
* @request POST:/api/users/me/partners/search
|
|
14760
|
-
* @secure
|
|
14761
|
-
* @response `200` `MyPartnerPaginated` OK
|
|
14762
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
14763
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14764
|
-
*/
|
|
14765
|
-
searchMyPartners: (data: MyPartnerSearchCriteria, query?: {
|
|
14766
|
-
/** @format int32 */
|
|
14767
|
-
pageSize?: number;
|
|
14768
|
-
/** @format int32 */
|
|
14769
|
-
pageNumber?: number;
|
|
14770
|
-
sortBy?: string;
|
|
14771
|
-
sortDirection?: string;
|
|
14772
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MyPartnerPaginated, any, {}, any>>;
|
|
14773
14632
|
/**
|
|
14774
14633
|
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
14775
14634
|
*
|
package/dist/index.js
CHANGED
|
@@ -177,79 +177,6 @@ export class Api extends HttpClient {
|
|
|
177
177
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
178
178
|
*/
|
|
179
179
|
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
180
|
-
/**
|
|
181
|
-
* @description Every partner of the caller's account: Realtors with an account and pending partners who have not signed up yet
|
|
182
|
-
*
|
|
183
|
-
* @tags AccountPartners
|
|
184
|
-
* @name SearchAccountPartners
|
|
185
|
-
* @summary Search Account Partners
|
|
186
|
-
* @request POST:/api/account/partners/search
|
|
187
|
-
* @secure
|
|
188
|
-
* @response `200` `AccountPartnerPaginated` OK
|
|
189
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
190
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
191
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
192
|
-
*/
|
|
193
|
-
searchAccountPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/account/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
194
|
-
/**
|
|
195
|
-
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
|
|
196
|
-
*
|
|
197
|
-
* @tags AccountPartners
|
|
198
|
-
* @name PromotePartner
|
|
199
|
-
* @summary Promote To Partner
|
|
200
|
-
* @request POST:/api/account/partners/promotions
|
|
201
|
-
* @secure
|
|
202
|
-
* @response `200` `PromotePartner` OK
|
|
203
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
204
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
205
|
-
* @response `404` `ProblemDetails` Not Found
|
|
206
|
-
* @response `409` `ProblemDetails` Conflict
|
|
207
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
208
|
-
*/
|
|
209
|
-
promotePartner: (data, params = {}) => this.request(Object.assign({ path: `/api/account/partners/promotions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
210
|
-
/**
|
|
211
|
-
* @description Changes a registered partner's name, sign-in email and phone
|
|
212
|
-
*
|
|
213
|
-
* @tags AccountPartners
|
|
214
|
-
* @name ReplacePartner
|
|
215
|
-
* @summary Replace Partner
|
|
216
|
-
* @request PUT:/api/account/partners/{partnerProfileId}
|
|
217
|
-
* @secure
|
|
218
|
-
* @response `204` `void` No Content
|
|
219
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
220
|
-
* @response `404` `ProblemDetails` Not Found
|
|
221
|
-
* @response `409` `ProblemDetails` Conflict
|
|
222
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
223
|
-
*/
|
|
224
|
-
replacePartner: (partnerProfileId, data, params = {}) => this.request(Object.assign({ path: `/api/account/partners/${partnerProfileId}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
225
|
-
/**
|
|
226
|
-
* @description Makes a registered partner a settlement agent again and retires their partner profile; their account and loans stay
|
|
227
|
-
*
|
|
228
|
-
* @tags AccountPartners
|
|
229
|
-
* @name DemotePartner
|
|
230
|
-
* @summary Demote Partner
|
|
231
|
-
* @request POST:/api/account/partners/{partnerProfileId}/demote
|
|
232
|
-
* @secure
|
|
233
|
-
* @response `204` `void` No Content
|
|
234
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
235
|
-
* @response `404` `ProblemDetails` Not Found
|
|
236
|
-
* @response `409` `ProblemDetails` Conflict
|
|
237
|
-
*/
|
|
238
|
-
demotePartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/account/partners/${partnerProfileId}/demote`, method: "POST", secure: true }, params)),
|
|
239
|
-
/**
|
|
240
|
-
* @description Cancels a pending partner's invites and retires their partner profile; inviting the email again restores it
|
|
241
|
-
*
|
|
242
|
-
* @tags AccountPartners
|
|
243
|
-
* @name CancelPartnerInvite
|
|
244
|
-
* @summary Cancel Partner Invite
|
|
245
|
-
* @request POST:/api/account/partners/{partnerProfileId}/cancel
|
|
246
|
-
* @secure
|
|
247
|
-
* @response `204` `void` No Content
|
|
248
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
249
|
-
* @response `404` `ProblemDetails` Not Found
|
|
250
|
-
* @response `409` `ProblemDetails` Conflict
|
|
251
|
-
*/
|
|
252
|
-
cancelPartnerInvite: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/account/partners/${partnerProfileId}/cancel`, method: "POST", secure: true }, params)),
|
|
253
180
|
/**
|
|
254
181
|
* No description
|
|
255
182
|
*
|
|
@@ -6529,19 +6456,6 @@ export class Api extends HttpClient {
|
|
|
6529
6456
|
* @response `403` `ProblemDetails` Forbidden
|
|
6530
6457
|
*/
|
|
6531
6458
|
getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
|
|
6532
|
-
/**
|
|
6533
|
-
* @description Searches the rows getMyPartners returns by first name, last name, full name or email, and pages them. Sorts by firstName, lastName, email, tier or createdAt when both sortBy and sortDirection are given, else newest first
|
|
6534
|
-
*
|
|
6535
|
-
* @tags UsersMe
|
|
6536
|
-
* @name SearchMyPartners
|
|
6537
|
-
* @summary Search My Partners
|
|
6538
|
-
* @request POST:/api/users/me/partners/search
|
|
6539
|
-
* @secure
|
|
6540
|
-
* @response `200` `MyPartnerPaginated` OK
|
|
6541
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6542
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6543
|
-
*/
|
|
6544
|
-
searchMyPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6545
6459
|
/**
|
|
6546
6460
|
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
6547
6461
|
*
|