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

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;
@@ -7373,6 +7397,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7373
7397
  type: Key;
7374
7398
  } & Type;
7375
7399
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7400
+ export type AccountPartnerStatusEnum = "Active" | "Invited";
7401
+ export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7376
7402
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7377
7403
  export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7378
7404
  export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
@@ -7678,6 +7704,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7678
7704
  * @response `422` `UnprocessableEntity` Unprocessable Content
7679
7705
  */
7680
7706
  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>>;
7681
7728
  /**
7682
7729
  * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
7683
7730
  *
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
  *