@matech/thebigpos-sdk 3.28.0-dev-8436 → 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.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;
@@ -3001,8 +2977,6 @@ export interface LoanApplicationRequest {
3001
2977
  userID: string;
3002
2978
  /** @format uuid */
3003
2979
  siteConfigurationID: string;
3004
- /** @format uuid */
3005
- submissionKey?: string | null;
3006
2980
  loanOfficerEmail?: string | null;
3007
2981
  purpose?: LoanPurpose | null;
3008
2982
  referrer?: string | null;
@@ -5092,15 +5066,6 @@ export interface MyPartner {
5092
5066
  /** @format date-time */
5093
5067
  createdAt: string;
5094
5068
  }
5095
- export interface MyPartnerPaginated {
5096
- rows: MyPartner[];
5097
- pagination: Pagination;
5098
- /** @format int64 */
5099
- count: number;
5100
- }
5101
- export interface MyPartnerSearchCriteria {
5102
- searchText?: string | null;
5103
- }
5104
5069
  export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5105
5070
  /** @format int32 */
5106
5071
  dueWithinDays: number;
@@ -6843,12 +6808,6 @@ export interface UpdateMobilePhoneRequest {
6843
6808
  export interface UpdatePartnerPortalRequest {
6844
6809
  isEnabled?: boolean | null;
6845
6810
  }
6846
- export interface UpdatePartnerRequest {
6847
- firstName: string;
6848
- lastName: string;
6849
- email: string;
6850
- phone?: string | null;
6851
- }
6852
6811
  export interface UpdateUserGroupRequest {
6853
6812
  name: string;
6854
6813
  description?: string | null;
@@ -7399,8 +7358,6 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7399
7358
  type: Key;
7400
7359
  } & Type;
7401
7360
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7402
- export type AccountPartnerStatusEnum = "Active" | "Invited";
7403
- export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7404
7361
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7405
7362
  export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7406
7363
  export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
@@ -7706,86 +7663,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7706
7663
  * @response `422` `UnprocessableEntity` Unprocessable Content
7707
7664
  */
7708
7665
  updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any, {}, any>>;
7709
- /**
7710
- * @description Every partner of the caller's account: Realtors with an account and pending partners who have not signed up yet
7711
- *
7712
- * @tags AccountPartners
7713
- * @name SearchAccountPartners
7714
- * @summary Search Account Partners
7715
- * @request POST:/api/account/partners/search
7716
- * @secure
7717
- * @response `200` `AccountPartnerPaginated` OK
7718
- * @response `400` `ProblemDetails` Bad Request
7719
- * @response `403` `ProblemDetails` Forbidden
7720
- * @response `422` `ProblemDetails` Unprocessable Content
7721
- */
7722
- searchAccountPartners: (data: AccountPartnerSearchCriteria, query?: {
7723
- /** @format int32 */
7724
- pageSize?: number;
7725
- /** @format int32 */
7726
- pageNumber?: number;
7727
- sortBy?: string;
7728
- sortDirection?: string;
7729
- }, params?: RequestParams) => Promise<AxiosResponse<AccountPartnerPaginated, any, {}, any>>;
7730
- /**
7731
- * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
7732
- *
7733
- * @tags AccountPartners
7734
- * @name PromotePartner
7735
- * @summary Promote To Partner
7736
- * @request POST:/api/account/partners/promotions
7737
- * @secure
7738
- * @response `200` `PromotePartner` OK
7739
- * @response `400` `ProblemDetails` Bad Request
7740
- * @response `403` `ProblemDetails` Forbidden
7741
- * @response `404` `ProblemDetails` Not Found
7742
- * @response `409` `ProblemDetails` Conflict
7743
- * @response `422` `ProblemDetails` Unprocessable Content
7744
- */
7745
- promotePartner: (data: PromotePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<PromotePartner, any, {}, any>>;
7746
- /**
7747
- * @description Changes a registered partner's name, sign-in email and phone
7748
- *
7749
- * @tags AccountPartners
7750
- * @name ReplacePartner
7751
- * @summary Replace Partner
7752
- * @request PUT:/api/account/partners/{partnerProfileId}
7753
- * @secure
7754
- * @response `204` `void` No Content
7755
- * @response `403` `ProblemDetails` Forbidden
7756
- * @response `404` `ProblemDetails` Not Found
7757
- * @response `409` `ProblemDetails` Conflict
7758
- * @response `422` `ProblemDetails` Unprocessable Content
7759
- */
7760
- replacePartner: (partnerProfileId: string, data: UpdatePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
7761
- /**
7762
- * @description Makes a registered partner a settlement agent again and retires their partner profile; their account and loans stay
7763
- *
7764
- * @tags AccountPartners
7765
- * @name DemotePartner
7766
- * @summary Demote Partner
7767
- * @request POST:/api/account/partners/{partnerProfileId}/demote
7768
- * @secure
7769
- * @response `204` `void` No Content
7770
- * @response `403` `ProblemDetails` Forbidden
7771
- * @response `404` `ProblemDetails` Not Found
7772
- * @response `409` `ProblemDetails` Conflict
7773
- */
7774
- demotePartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
7775
- /**
7776
- * @description Cancels a pending partner's invites and retires their partner profile; inviting the email again restores it
7777
- *
7778
- * @tags AccountPartners
7779
- * @name CancelPartnerInvite
7780
- * @summary Cancel Partner Invite
7781
- * @request POST:/api/account/partners/{partnerProfileId}/cancel
7782
- * @secure
7783
- * @response `204` `void` No Content
7784
- * @response `403` `ProblemDetails` Forbidden
7785
- * @response `404` `ProblemDetails` Not Found
7786
- * @response `409` `ProblemDetails` Conflict
7787
- */
7788
- cancelPartnerInvite: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
7789
7666
  /**
7790
7667
  * No description
7791
7668
  *
@@ -10731,7 +10608,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10731
10608
  * @request POST:/api/los/loan/application/internal
10732
10609
  * @secure
10733
10610
  * @response `200` `string` OK
10734
- * @response `409` `ProblemDetails` Conflict
10735
10611
  * @response `422` `UnprocessableEntity` Unprocessable Content
10736
10612
  * @response `423` `UnprocessableEntity` Locked
10737
10613
  */
@@ -12226,7 +12102,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12226
12102
  * @response `401` `ProblemDetails` Unauthorized
12227
12103
  * @response `403` `ProblemDetails` Forbidden
12228
12104
  * @response `404` `ProblemDetails` Not Found
12229
- * @response `409` `ProblemDetails` Conflict
12230
12105
  */
12231
12106
  createLoanv3: (data: LoanApplicationRequest, query?: {
12232
12107
  application?: string;
@@ -14754,26 +14629,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14754
14629
  * @response `403` `ProblemDetails` Forbidden
14755
14630
  */
14756
14631
  getMyPartners: (params?: RequestParams) => Promise<AxiosResponse<MyPartner[], any, {}, any>>;
14757
- /**
14758
- * @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
14759
- *
14760
- * @tags UsersMe
14761
- * @name SearchMyPartners
14762
- * @summary Search My Partners
14763
- * @request POST:/api/users/me/partners/search
14764
- * @secure
14765
- * @response `200` `MyPartnerPaginated` OK
14766
- * @response `400` `ProblemDetails` Bad Request
14767
- * @response `403` `ProblemDetails` Forbidden
14768
- */
14769
- searchMyPartners: (data: MyPartnerSearchCriteria, query?: {
14770
- /** @format int32 */
14771
- pageSize?: number;
14772
- /** @format int32 */
14773
- pageNumber?: number;
14774
- sortBy?: string;
14775
- sortDirection?: string;
14776
- }, params?: RequestParams) => Promise<AxiosResponse<MyPartnerPaginated, any, {}, any>>;
14777
14632
  /**
14778
14633
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
14779
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
  *
@@ -2846,7 +2773,6 @@ export class Api extends HttpClient {
2846
2773
  * @request POST:/api/los/loan/application/internal
2847
2774
  * @secure
2848
2775
  * @response `200` `string` OK
2849
- * @response `409` `ProblemDetails` Conflict
2850
2776
  * @response `422` `UnprocessableEntity` Unprocessable Content
2851
2777
  * @response `423` `UnprocessableEntity` Locked
2852
2778
  */
@@ -4221,7 +4147,6 @@ export class Api extends HttpClient {
4221
4147
  * @response `401` `ProblemDetails` Unauthorized
4222
4148
  * @response `403` `ProblemDetails` Forbidden
4223
4149
  * @response `404` `ProblemDetails` Not Found
4224
- * @response `409` `ProblemDetails` Conflict
4225
4150
  */
4226
4151
  createLoanv3: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4227
4152
  /**
@@ -6531,19 +6456,6 @@ export class Api extends HttpClient {
6531
6456
  * @response `403` `ProblemDetails` Forbidden
6532
6457
  */
6533
6458
  getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
6534
- /**
6535
- * @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
6536
- *
6537
- * @tags UsersMe
6538
- * @name SearchMyPartners
6539
- * @summary Search My Partners
6540
- * @request POST:/api/users/me/partners/search
6541
- * @secure
6542
- * @response `200` `MyPartnerPaginated` OK
6543
- * @response `400` `ProblemDetails` Bad Request
6544
- * @response `403` `ProblemDetails` Forbidden
6545
- */
6546
- 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)),
6547
6459
  /**
6548
6460
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
6549
6461
  *