@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/src/index.ts CHANGED
@@ -825,8 +825,6 @@ export type AddressFamily =
825
825
  | "ControllerAreaNetwork"
826
826
  | "Unknown";
827
827
 
828
- export type AccountPartnerStatus = "Active" | "Invited";
829
-
830
828
  export type CanvasWidgetConfig = BaseCanvasWidgetConfig &
831
829
  (
832
830
  | BaseCanvasWidgetConfigTypeMapping<"Information", InformationWidgetConfig>
@@ -939,32 +937,6 @@ export interface AccountFailureCount {
939
937
  count: number;
940
938
  }
941
939
 
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
-
968
940
  export interface AccountSettings {
969
941
  isSmsEnabled: boolean;
970
942
  smsNumber?: string | null;
@@ -4066,8 +4038,6 @@ export interface LoanApplicationRequest {
4066
4038
  userID: string;
4067
4039
  /** @format uuid */
4068
4040
  siteConfigurationID: string;
4069
- /** @format uuid */
4070
- submissionKey?: string | null;
4071
4041
  loanOfficerEmail?: string | null;
4072
4042
  purpose?: LoanPurpose | null;
4073
4043
  referrer?: string | null;
@@ -6354,17 +6324,6 @@ export interface MyPartner {
6354
6324
  createdAt: string;
6355
6325
  }
6356
6326
 
6357
- export interface MyPartnerPaginated {
6358
- rows: MyPartner[];
6359
- pagination: Pagination;
6360
- /** @format int64 */
6361
- count: number;
6362
- }
6363
-
6364
- export interface MyPartnerSearchCriteria {
6365
- searchText?: string | null;
6366
- }
6367
-
6368
6327
  export type MyTasksWidgetConfig = UtilRequiredKeys<
6369
6328
  BaseCanvasWidgetConfig,
6370
6329
  "type"
@@ -8264,13 +8223,6 @@ export interface UpdatePartnerPortalRequest {
8264
8223
  isEnabled?: boolean | null;
8265
8224
  }
8266
8225
 
8267
- export interface UpdatePartnerRequest {
8268
- firstName: string;
8269
- lastName: string;
8270
- email: string;
8271
- phone?: string | null;
8272
- }
8273
-
8274
8226
  export interface UpdateUserGroupRequest {
8275
8227
  name: string;
8276
8228
  description?: string | null;
@@ -8874,10 +8826,6 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
8874
8826
 
8875
8827
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
8876
8828
 
8877
- export type AccountPartnerStatusEnum = "Active" | "Invited";
8878
-
8879
- export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
8880
-
8881
8829
  export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
8882
8830
 
8883
8831
  export type AiAccessReadAloudVoiceEnum =
@@ -10406,141 +10354,6 @@ export class Api<
10406
10354
  ...params,
10407
10355
  }),
10408
10356
 
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
-
10445
- /**
10446
- * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
10447
- *
10448
- * @tags AccountPartners
10449
- * @name PromotePartner
10450
- * @summary Promote To Partner
10451
- * @request POST:/api/account/partners/promotions
10452
- * @secure
10453
- * @response `200` `PromotePartner` OK
10454
- * @response `400` `ProblemDetails` Bad Request
10455
- * @response `403` `ProblemDetails` Forbidden
10456
- * @response `404` `ProblemDetails` Not Found
10457
- * @response `409` `ProblemDetails` Conflict
10458
- * @response `422` `ProblemDetails` Unprocessable Content
10459
- */
10460
- promotePartner: (data: PromotePartnerRequest, params: RequestParams = {}) =>
10461
- this.request<PromotePartner, ProblemDetails>({
10462
- path: `/api/account/partners/promotions`,
10463
- method: "POST",
10464
- body: data,
10465
- secure: true,
10466
- type: "application/json",
10467
- format: "json",
10468
- ...params,
10469
- }),
10470
-
10471
- /**
10472
- * @description Changes a registered partner's name, sign-in email and phone
10473
- *
10474
- * @tags AccountPartners
10475
- * @name ReplacePartner
10476
- * @summary Replace Partner
10477
- * @request PUT:/api/account/partners/{partnerProfileId}
10478
- * @secure
10479
- * @response `204` `void` No Content
10480
- * @response `403` `ProblemDetails` Forbidden
10481
- * @response `404` `ProblemDetails` Not Found
10482
- * @response `409` `ProblemDetails` Conflict
10483
- * @response `422` `ProblemDetails` Unprocessable Content
10484
- */
10485
- replacePartner: (
10486
- partnerProfileId: string,
10487
- data: UpdatePartnerRequest,
10488
- params: RequestParams = {},
10489
- ) =>
10490
- this.request<void, ProblemDetails>({
10491
- path: `/api/account/partners/${partnerProfileId}`,
10492
- method: "PUT",
10493
- body: data,
10494
- secure: true,
10495
- type: "application/json",
10496
- ...params,
10497
- }),
10498
-
10499
- /**
10500
- * @description Makes a registered partner a settlement agent again and retires their partner profile; their account and loans stay
10501
- *
10502
- * @tags AccountPartners
10503
- * @name DemotePartner
10504
- * @summary Demote Partner
10505
- * @request POST:/api/account/partners/{partnerProfileId}/demote
10506
- * @secure
10507
- * @response `204` `void` No Content
10508
- * @response `403` `ProblemDetails` Forbidden
10509
- * @response `404` `ProblemDetails` Not Found
10510
- * @response `409` `ProblemDetails` Conflict
10511
- */
10512
- demotePartner: (partnerProfileId: string, params: RequestParams = {}) =>
10513
- this.request<void, ProblemDetails>({
10514
- path: `/api/account/partners/${partnerProfileId}/demote`,
10515
- method: "POST",
10516
- secure: true,
10517
- ...params,
10518
- }),
10519
-
10520
- /**
10521
- * @description Cancels a pending partner's invites and retires their partner profile; inviting the email again restores it
10522
- *
10523
- * @tags AccountPartners
10524
- * @name CancelPartnerInvite
10525
- * @summary Cancel Partner Invite
10526
- * @request POST:/api/account/partners/{partnerProfileId}/cancel
10527
- * @secure
10528
- * @response `204` `void` No Content
10529
- * @response `403` `ProblemDetails` Forbidden
10530
- * @response `404` `ProblemDetails` Not Found
10531
- * @response `409` `ProblemDetails` Conflict
10532
- */
10533
- cancelPartnerInvite: (
10534
- partnerProfileId: string,
10535
- params: RequestParams = {},
10536
- ) =>
10537
- this.request<void, ProblemDetails>({
10538
- path: `/api/account/partners/${partnerProfileId}/cancel`,
10539
- method: "POST",
10540
- secure: true,
10541
- ...params,
10542
- }),
10543
-
10544
10357
  /**
10545
10358
  * No description
10546
10359
  *
@@ -15829,7 +15642,6 @@ export class Api<
15829
15642
  * @request POST:/api/los/loan/application/internal
15830
15643
  * @secure
15831
15644
  * @response `200` `string` OK
15832
- * @response `409` `ProblemDetails` Conflict
15833
15645
  * @response `422` `UnprocessableEntity` Unprocessable Content
15834
15646
  * @response `423` `UnprocessableEntity` Locked
15835
15647
  */
@@ -15841,7 +15653,7 @@ export class Api<
15841
15653
  },
15842
15654
  params: RequestParams = {},
15843
15655
  ) =>
15844
- this.request<string, ProblemDetails | UnprocessableEntity>({
15656
+ this.request<string, UnprocessableEntity>({
15845
15657
  path: `/api/los/loan/application/internal`,
15846
15658
  method: "POST",
15847
15659
  query: query,
@@ -18586,7 +18398,6 @@ export class Api<
18586
18398
  * @response `401` `ProblemDetails` Unauthorized
18587
18399
  * @response `403` `ProblemDetails` Forbidden
18588
18400
  * @response `404` `ProblemDetails` Not Found
18589
- * @response `409` `ProblemDetails` Conflict
18590
18401
  */
18591
18402
  createLoanv3: (
18592
18403
  data: LoanApplicationRequest,
@@ -23320,41 +23131,6 @@ export class Api<
23320
23131
  ...params,
23321
23132
  }),
23322
23133
 
23323
- /**
23324
- * @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
23325
- *
23326
- * @tags UsersMe
23327
- * @name SearchMyPartners
23328
- * @summary Search My Partners
23329
- * @request POST:/api/users/me/partners/search
23330
- * @secure
23331
- * @response `200` `MyPartnerPaginated` OK
23332
- * @response `400` `ProblemDetails` Bad Request
23333
- * @response `403` `ProblemDetails` Forbidden
23334
- */
23335
- searchMyPartners: (
23336
- data: MyPartnerSearchCriteria,
23337
- query?: {
23338
- /** @format int32 */
23339
- pageSize?: number;
23340
- /** @format int32 */
23341
- pageNumber?: number;
23342
- sortBy?: string;
23343
- sortDirection?: string;
23344
- },
23345
- params: RequestParams = {},
23346
- ) =>
23347
- this.request<MyPartnerPaginated, ProblemDetails>({
23348
- path: `/api/users/me/partners/search`,
23349
- method: "POST",
23350
- query: query,
23351
- body: data,
23352
- secure: true,
23353
- type: "application/json",
23354
- format: "json",
23355
- ...params,
23356
- }),
23357
-
23358
23134
  /**
23359
23135
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
23360
23136
  *