@matech/thebigpos-sdk 3.28.0-dev-8425 → 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/dist/index.cjs +0 -86
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +0 -141
- package/dist/index.js +0 -86
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +0 -220
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;
|
|
@@ -6352,17 +6324,6 @@ export interface MyPartner {
|
|
|
6352
6324
|
createdAt: string;
|
|
6353
6325
|
}
|
|
6354
6326
|
|
|
6355
|
-
export interface MyPartnerPaginated {
|
|
6356
|
-
rows: MyPartner[];
|
|
6357
|
-
pagination: Pagination;
|
|
6358
|
-
/** @format int64 */
|
|
6359
|
-
count: number;
|
|
6360
|
-
}
|
|
6361
|
-
|
|
6362
|
-
export interface MyPartnerSearchCriteria {
|
|
6363
|
-
searchText?: string | null;
|
|
6364
|
-
}
|
|
6365
|
-
|
|
6366
6327
|
export type MyTasksWidgetConfig = UtilRequiredKeys<
|
|
6367
6328
|
BaseCanvasWidgetConfig,
|
|
6368
6329
|
"type"
|
|
@@ -8262,13 +8223,6 @@ export interface UpdatePartnerPortalRequest {
|
|
|
8262
8223
|
isEnabled?: boolean | null;
|
|
8263
8224
|
}
|
|
8264
8225
|
|
|
8265
|
-
export interface UpdatePartnerRequest {
|
|
8266
|
-
firstName: string;
|
|
8267
|
-
lastName: string;
|
|
8268
|
-
email: string;
|
|
8269
|
-
phone?: string | null;
|
|
8270
|
-
}
|
|
8271
|
-
|
|
8272
8226
|
export interface UpdateUserGroupRequest {
|
|
8273
8227
|
name: string;
|
|
8274
8228
|
description?: string | null;
|
|
@@ -8872,10 +8826,6 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
|
8872
8826
|
|
|
8873
8827
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
8874
8828
|
|
|
8875
|
-
export type AccountPartnerStatusEnum = "Active" | "Invited";
|
|
8876
|
-
|
|
8877
|
-
export type AccountPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
|
|
8878
|
-
|
|
8879
8829
|
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
8880
8830
|
|
|
8881
8831
|
export type AiAccessReadAloudVoiceEnum =
|
|
@@ -10404,141 +10354,6 @@ export class Api<
|
|
|
10404
10354
|
...params,
|
|
10405
10355
|
}),
|
|
10406
10356
|
|
|
10407
|
-
/**
|
|
10408
|
-
* @description Every partner of the caller's account: Realtors with an account and pending partners who have not signed up yet
|
|
10409
|
-
*
|
|
10410
|
-
* @tags AccountPartners
|
|
10411
|
-
* @name SearchAccountPartners
|
|
10412
|
-
* @summary Search Account Partners
|
|
10413
|
-
* @request POST:/api/account/partners/search
|
|
10414
|
-
* @secure
|
|
10415
|
-
* @response `200` `AccountPartnerPaginated` OK
|
|
10416
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
10417
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
10418
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10419
|
-
*/
|
|
10420
|
-
searchAccountPartners: (
|
|
10421
|
-
data: AccountPartnerSearchCriteria,
|
|
10422
|
-
query?: {
|
|
10423
|
-
/** @format int32 */
|
|
10424
|
-
pageSize?: number;
|
|
10425
|
-
/** @format int32 */
|
|
10426
|
-
pageNumber?: number;
|
|
10427
|
-
sortBy?: string;
|
|
10428
|
-
sortDirection?: string;
|
|
10429
|
-
},
|
|
10430
|
-
params: RequestParams = {},
|
|
10431
|
-
) =>
|
|
10432
|
-
this.request<AccountPartnerPaginated, ProblemDetails>({
|
|
10433
|
-
path: `/api/account/partners/search`,
|
|
10434
|
-
method: "POST",
|
|
10435
|
-
query: query,
|
|
10436
|
-
body: data,
|
|
10437
|
-
secure: true,
|
|
10438
|
-
type: "application/json",
|
|
10439
|
-
format: "json",
|
|
10440
|
-
...params,
|
|
10441
|
-
}),
|
|
10442
|
-
|
|
10443
|
-
/**
|
|
10444
|
-
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner with no loan officer
|
|
10445
|
-
*
|
|
10446
|
-
* @tags AccountPartners
|
|
10447
|
-
* @name PromotePartner
|
|
10448
|
-
* @summary Promote To Partner
|
|
10449
|
-
* @request POST:/api/account/partners/promotions
|
|
10450
|
-
* @secure
|
|
10451
|
-
* @response `200` `PromotePartner` OK
|
|
10452
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
10453
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
10454
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10455
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10456
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10457
|
-
*/
|
|
10458
|
-
promotePartner: (data: PromotePartnerRequest, params: RequestParams = {}) =>
|
|
10459
|
-
this.request<PromotePartner, ProblemDetails>({
|
|
10460
|
-
path: `/api/account/partners/promotions`,
|
|
10461
|
-
method: "POST",
|
|
10462
|
-
body: data,
|
|
10463
|
-
secure: true,
|
|
10464
|
-
type: "application/json",
|
|
10465
|
-
format: "json",
|
|
10466
|
-
...params,
|
|
10467
|
-
}),
|
|
10468
|
-
|
|
10469
|
-
/**
|
|
10470
|
-
* @description Changes a registered partner's name, sign-in email and phone
|
|
10471
|
-
*
|
|
10472
|
-
* @tags AccountPartners
|
|
10473
|
-
* @name ReplacePartner
|
|
10474
|
-
* @summary Replace Partner
|
|
10475
|
-
* @request PUT:/api/account/partners/{partnerProfileId}
|
|
10476
|
-
* @secure
|
|
10477
|
-
* @response `204` `void` No Content
|
|
10478
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
10479
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10480
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10481
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10482
|
-
*/
|
|
10483
|
-
replacePartner: (
|
|
10484
|
-
partnerProfileId: string,
|
|
10485
|
-
data: UpdatePartnerRequest,
|
|
10486
|
-
params: RequestParams = {},
|
|
10487
|
-
) =>
|
|
10488
|
-
this.request<void, ProblemDetails>({
|
|
10489
|
-
path: `/api/account/partners/${partnerProfileId}`,
|
|
10490
|
-
method: "PUT",
|
|
10491
|
-
body: data,
|
|
10492
|
-
secure: true,
|
|
10493
|
-
type: "application/json",
|
|
10494
|
-
...params,
|
|
10495
|
-
}),
|
|
10496
|
-
|
|
10497
|
-
/**
|
|
10498
|
-
* @description Makes a registered partner a settlement agent again and retires their partner profile; their account and loans stay
|
|
10499
|
-
*
|
|
10500
|
-
* @tags AccountPartners
|
|
10501
|
-
* @name DemotePartner
|
|
10502
|
-
* @summary Demote Partner
|
|
10503
|
-
* @request POST:/api/account/partners/{partnerProfileId}/demote
|
|
10504
|
-
* @secure
|
|
10505
|
-
* @response `204` `void` No Content
|
|
10506
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
10507
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10508
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10509
|
-
*/
|
|
10510
|
-
demotePartner: (partnerProfileId: string, params: RequestParams = {}) =>
|
|
10511
|
-
this.request<void, ProblemDetails>({
|
|
10512
|
-
path: `/api/account/partners/${partnerProfileId}/demote`,
|
|
10513
|
-
method: "POST",
|
|
10514
|
-
secure: true,
|
|
10515
|
-
...params,
|
|
10516
|
-
}),
|
|
10517
|
-
|
|
10518
|
-
/**
|
|
10519
|
-
* @description Cancels a pending partner's invites and retires their partner profile; inviting the email again restores it
|
|
10520
|
-
*
|
|
10521
|
-
* @tags AccountPartners
|
|
10522
|
-
* @name CancelPartnerInvite
|
|
10523
|
-
* @summary Cancel Partner Invite
|
|
10524
|
-
* @request POST:/api/account/partners/{partnerProfileId}/cancel
|
|
10525
|
-
* @secure
|
|
10526
|
-
* @response `204` `void` No Content
|
|
10527
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
10528
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10529
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10530
|
-
*/
|
|
10531
|
-
cancelPartnerInvite: (
|
|
10532
|
-
partnerProfileId: string,
|
|
10533
|
-
params: RequestParams = {},
|
|
10534
|
-
) =>
|
|
10535
|
-
this.request<void, ProblemDetails>({
|
|
10536
|
-
path: `/api/account/partners/${partnerProfileId}/cancel`,
|
|
10537
|
-
method: "POST",
|
|
10538
|
-
secure: true,
|
|
10539
|
-
...params,
|
|
10540
|
-
}),
|
|
10541
|
-
|
|
10542
10357
|
/**
|
|
10543
10358
|
* No description
|
|
10544
10359
|
*
|
|
@@ -23316,41 +23131,6 @@ export class Api<
|
|
|
23316
23131
|
...params,
|
|
23317
23132
|
}),
|
|
23318
23133
|
|
|
23319
|
-
/**
|
|
23320
|
-
* @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
|
|
23321
|
-
*
|
|
23322
|
-
* @tags UsersMe
|
|
23323
|
-
* @name SearchMyPartners
|
|
23324
|
-
* @summary Search My Partners
|
|
23325
|
-
* @request POST:/api/users/me/partners/search
|
|
23326
|
-
* @secure
|
|
23327
|
-
* @response `200` `MyPartnerPaginated` OK
|
|
23328
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
23329
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
23330
|
-
*/
|
|
23331
|
-
searchMyPartners: (
|
|
23332
|
-
data: MyPartnerSearchCriteria,
|
|
23333
|
-
query?: {
|
|
23334
|
-
/** @format int32 */
|
|
23335
|
-
pageSize?: number;
|
|
23336
|
-
/** @format int32 */
|
|
23337
|
-
pageNumber?: number;
|
|
23338
|
-
sortBy?: string;
|
|
23339
|
-
sortDirection?: string;
|
|
23340
|
-
},
|
|
23341
|
-
params: RequestParams = {},
|
|
23342
|
-
) =>
|
|
23343
|
-
this.request<MyPartnerPaginated, ProblemDetails>({
|
|
23344
|
-
path: `/api/users/me/partners/search`,
|
|
23345
|
-
method: "POST",
|
|
23346
|
-
query: query,
|
|
23347
|
-
body: data,
|
|
23348
|
-
secure: true,
|
|
23349
|
-
type: "application/json",
|
|
23350
|
-
format: "json",
|
|
23351
|
-
...params,
|
|
23352
|
-
}),
|
|
23353
|
-
|
|
23354
23134
|
/**
|
|
23355
23135
|
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
23356
23136
|
*
|