@matech/thebigpos-sdk 3.28.0-dev-8422 → 3.28.0-dev-8436

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,6 +124,7 @@ 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";
127
128
  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>);
128
129
  export interface ASOSettings {
129
130
  enabled: boolean;
@@ -195,6 +196,29 @@ export interface AccountFailureCount {
195
196
  /** @format int32 */
196
197
  count: number;
197
198
  }
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
+ }
198
222
  export interface AccountSettings {
199
223
  isSmsEnabled: boolean;
200
224
  smsNumber?: string | null;
@@ -2977,6 +3001,8 @@ export interface LoanApplicationRequest {
2977
3001
  userID: string;
2978
3002
  /** @format uuid */
2979
3003
  siteConfigurationID: string;
3004
+ /** @format uuid */
3005
+ submissionKey?: string | null;
2980
3006
  loanOfficerEmail?: string | null;
2981
3007
  purpose?: LoanPurpose | null;
2982
3008
  referrer?: string | null;
@@ -7373,6 +7399,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7373
7399
  type: Key;
7374
7400
  } & Type;
7375
7401
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7402
+ export type AccountPartnerStatusEnum = "Active" | "Invited";
7403
+ export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7376
7404
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7377
7405
  export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7378
7406
  export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
@@ -7678,6 +7706,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7678
7706
  * @response `422` `UnprocessableEntity` Unprocessable Content
7679
7707
  */
7680
7708
  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>>;
7681
7730
  /**
7682
7731
  * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
7683
7732
  *
@@ -10682,6 +10731,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10682
10731
  * @request POST:/api/los/loan/application/internal
10683
10732
  * @secure
10684
10733
  * @response `200` `string` OK
10734
+ * @response `409` `ProblemDetails` Conflict
10685
10735
  * @response `422` `UnprocessableEntity` Unprocessable Content
10686
10736
  * @response `423` `UnprocessableEntity` Locked
10687
10737
  */
@@ -12176,6 +12226,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12176
12226
  * @response `401` `ProblemDetails` Unauthorized
12177
12227
  * @response `403` `ProblemDetails` Forbidden
12178
12228
  * @response `404` `ProblemDetails` Not Found
12229
+ * @response `409` `ProblemDetails` Conflict
12179
12230
  */
12180
12231
  createLoanv3: (data: LoanApplicationRequest, query?: {
12181
12232
  application?: string;
package/dist/index.js CHANGED
@@ -177,6 +177,20 @@ 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)),
180
194
  /**
181
195
  * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
182
196
  *
@@ -2832,6 +2846,7 @@ export class Api extends HttpClient {
2832
2846
  * @request POST:/api/los/loan/application/internal
2833
2847
  * @secure
2834
2848
  * @response `200` `string` OK
2849
+ * @response `409` `ProblemDetails` Conflict
2835
2850
  * @response `422` `UnprocessableEntity` Unprocessable Content
2836
2851
  * @response `423` `UnprocessableEntity` Locked
2837
2852
  */
@@ -4206,6 +4221,7 @@ export class Api extends HttpClient {
4206
4221
  * @response `401` `ProblemDetails` Unauthorized
4207
4222
  * @response `403` `ProblemDetails` Forbidden
4208
4223
  * @response `404` `ProblemDetails` Not Found
4224
+ * @response `409` `ProblemDetails` Conflict
4209
4225
  */
4210
4226
  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)),
4211
4227
  /**