@matech/thebigpos-sdk 3.28.0-dev-8410 → 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;
@@ -6817,6 +6841,12 @@ export interface UpdateMobilePhoneRequest {
6817
6841
  export interface UpdatePartnerPortalRequest {
6818
6842
  isEnabled?: boolean | null;
6819
6843
  }
6844
+ export interface UpdatePartnerRequest {
6845
+ firstName: string;
6846
+ lastName: string;
6847
+ email: string;
6848
+ phone?: string | null;
6849
+ }
6820
6850
  export interface UpdateUserGroupRequest {
6821
6851
  name: string;
6822
6852
  description?: string | null;
@@ -7367,6 +7397,8 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7367
7397
  type: Key;
7368
7398
  } & Type;
7369
7399
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7400
+ export type AccountPartnerStatusEnum = "Active" | "Invited";
7401
+ export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7370
7402
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7371
7403
  export type AiAccessReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
7372
7404
  export type AiAccountSettingsReadAloudVoiceEnum = "Automatic" | "UsFemale" | "UsMale" | "UkFemale" | "UkMale";
@@ -7672,6 +7704,86 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7672
7704
  * @response `422` `UnprocessableEntity` Unprocessable Content
7673
7705
  */
7674
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>>;
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>>;
7675
7787
  /**
7676
7788
  * No description
7677
7789
  *
package/dist/index.js CHANGED
@@ -177,6 +177,79 @@ 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)),
180
253
  /**
181
254
  * No description
182
255
  *