@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/src/index.ts CHANGED
@@ -825,6 +825,8 @@ export type AddressFamily =
825
825
  | "ControllerAreaNetwork"
826
826
  | "Unknown";
827
827
 
828
+ export type AccountPartnerStatus = "Active" | "Invited";
829
+
828
830
  export type CanvasWidgetConfig = BaseCanvasWidgetConfig &
829
831
  (
830
832
  | BaseCanvasWidgetConfigTypeMapping<"Information", InformationWidgetConfig>
@@ -937,6 +939,32 @@ export interface AccountFailureCount {
937
939
  count: number;
938
940
  }
939
941
 
942
+ export interface AccountPartner {
943
+ /** @format uuid */
944
+ partnerProfileID?: string | null;
945
+ /** @format uuid */
946
+ partnerID?: string | null;
947
+ firstName: string;
948
+ lastName: string;
949
+ email: string;
950
+ phone?: string | null;
951
+ status: AccountPartnerStatusEnum;
952
+ tier: AccountPartnerTierEnum;
953
+ /** @format date-time */
954
+ createdAt: string;
955
+ }
956
+
957
+ export interface AccountPartnerPaginated {
958
+ rows: AccountPartner[];
959
+ pagination: Pagination;
960
+ /** @format int64 */
961
+ count: number;
962
+ }
963
+
964
+ export interface AccountPartnerSearchCriteria {
965
+ searchText?: string | null;
966
+ }
967
+
940
968
  export interface AccountSettings {
941
969
  isSmsEnabled: boolean;
942
970
  smsNumber?: string | null;
@@ -4038,6 +4066,8 @@ export interface LoanApplicationRequest {
4038
4066
  userID: string;
4039
4067
  /** @format uuid */
4040
4068
  siteConfigurationID: string;
4069
+ /** @format uuid */
4070
+ submissionKey?: string | null;
4041
4071
  loanOfficerEmail?: string | null;
4042
4072
  purpose?: LoanPurpose | null;
4043
4073
  referrer?: string | null;
@@ -8844,6 +8874,10 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
8844
8874
 
8845
8875
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
8846
8876
 
8877
+ export type AccountPartnerStatusEnum = "Active" | "Invited";
8878
+
8879
+ export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
8880
+
8847
8881
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
8848
8882
 
8849
8883
  export type AiAccessReadAloudVoiceEnum =
@@ -10372,6 +10406,42 @@ export class Api<
10372
10406
  ...params,
10373
10407
  }),
10374
10408
 
10409
+ /**
10410
+ * @description Every partner of the caller's account: Realtors with an account and pending partners who have not signed up yet
10411
+ *
10412
+ * @tags AccountPartners
10413
+ * @name SearchAccountPartners
10414
+ * @summary Search Account Partners
10415
+ * @request POST:/api/account/partners/search
10416
+ * @secure
10417
+ * @response `200` `AccountPartnerPaginated` OK
10418
+ * @response `400` `ProblemDetails` Bad Request
10419
+ * @response `403` `ProblemDetails` Forbidden
10420
+ * @response `422` `ProblemDetails` Unprocessable Content
10421
+ */
10422
+ searchAccountPartners: (
10423
+ data: AccountPartnerSearchCriteria,
10424
+ query?: {
10425
+ /** @format int32 */
10426
+ pageSize?: number;
10427
+ /** @format int32 */
10428
+ pageNumber?: number;
10429
+ sortBy?: string;
10430
+ sortDirection?: string;
10431
+ },
10432
+ params: RequestParams = {},
10433
+ ) =>
10434
+ this.request<AccountPartnerPaginated, ProblemDetails>({
10435
+ path: `/api/account/partners/search`,
10436
+ method: "POST",
10437
+ query: query,
10438
+ body: data,
10439
+ secure: true,
10440
+ type: "application/json",
10441
+ format: "json",
10442
+ ...params,
10443
+ }),
10444
+
10375
10445
  /**
10376
10446
  * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
10377
10447
  *
@@ -15759,6 +15829,7 @@ export class Api<
15759
15829
  * @request POST:/api/los/loan/application/internal
15760
15830
  * @secure
15761
15831
  * @response `200` `string` OK
15832
+ * @response `409` `ProblemDetails` Conflict
15762
15833
  * @response `422` `UnprocessableEntity` Unprocessable Content
15763
15834
  * @response `423` `UnprocessableEntity` Locked
15764
15835
  */
@@ -15770,7 +15841,7 @@ export class Api<
15770
15841
  },
15771
15842
  params: RequestParams = {},
15772
15843
  ) =>
15773
- this.request<string, UnprocessableEntity>({
15844
+ this.request<string, ProblemDetails | UnprocessableEntity>({
15774
15845
  path: `/api/los/loan/application/internal`,
15775
15846
  method: "POST",
15776
15847
  query: query,
@@ -18515,6 +18586,7 @@ export class Api<
18515
18586
  * @response `401` `ProblemDetails` Unauthorized
18516
18587
  * @response `403` `ProblemDetails` Forbidden
18517
18588
  * @response `404` `ProblemDetails` Not Found
18589
+ * @response `409` `ProblemDetails` Conflict
18518
18590
  */
18519
18591
  createLoanv3: (
18520
18592
  data: LoanApplicationRequest,