@matech/thebigpos-sdk 3.19.1 → 3.20.0-dev-6956
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 -41
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +13 -50
- package/dist/index.js +1 -42
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +33 -92
package/src/index.ts
CHANGED
|
@@ -2607,7 +2607,7 @@ export interface CreateInviteRequest {
|
|
|
2607
2607
|
phoneNumber?: string | null;
|
|
2608
2608
|
/** @deprecated */
|
|
2609
2609
|
relationship: CreateInviteRequestRelationshipEnum;
|
|
2610
|
-
loanID
|
|
2610
|
+
loanID?: string | null;
|
|
2611
2611
|
route?: string | null;
|
|
2612
2612
|
/** @format uuid */
|
|
2613
2613
|
siteConfigurationID: string;
|
|
@@ -3019,6 +3019,7 @@ export interface DraftRequest {
|
|
|
3019
3019
|
applicationPayload: any;
|
|
3020
3020
|
customData?: any | null;
|
|
3021
3021
|
isCoBorrower: boolean;
|
|
3022
|
+
/** @format uuid */
|
|
3022
3023
|
partnerId?: string | null;
|
|
3023
3024
|
}
|
|
3024
3025
|
|
|
@@ -4049,6 +4050,7 @@ export interface LoanApplicationRequest {
|
|
|
4049
4050
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
4050
4051
|
/** @format uuid */
|
|
4051
4052
|
draftId?: string | null;
|
|
4053
|
+
/** @format uuid */
|
|
4052
4054
|
partnerId?: string | null;
|
|
4053
4055
|
additionalFields?: Record<string, any> | null;
|
|
4054
4056
|
/** @format uuid */
|
|
@@ -5044,6 +5046,11 @@ export interface LoanDocumentFolderPermission {
|
|
|
5044
5046
|
readScope: LoanDocumentFolderPermissionReadScopeEnum;
|
|
5045
5047
|
}
|
|
5046
5048
|
|
|
5049
|
+
export interface LoanDocumentFolderPermissionFilter {
|
|
5050
|
+
role: LoanDocumentFolderPermissionFilterRoleEnum;
|
|
5051
|
+
minimumPermissionLevel: LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum;
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5047
5054
|
export interface LoanDocumentFolderPermissionRequest {
|
|
5048
5055
|
role: LoanDocumentFolderPermissionRequestRoleEnum;
|
|
5049
5056
|
level: LoanDocumentFolderPermissionRequestLevelEnum;
|
|
@@ -5055,6 +5062,7 @@ export interface LoanDocumentFolderSearchCriteria {
|
|
|
5055
5062
|
isActive?: boolean | null;
|
|
5056
5063
|
isSystemDefault?: boolean | null;
|
|
5057
5064
|
role?: LoanRole | null;
|
|
5065
|
+
permissions?: LoanDocumentFolderPermissionFilter[] | null;
|
|
5058
5066
|
}
|
|
5059
5067
|
|
|
5060
5068
|
export interface LoanDocumentFolderSummary {
|
|
@@ -6496,7 +6504,8 @@ export interface PartnerFormLink {
|
|
|
6496
6504
|
}
|
|
6497
6505
|
|
|
6498
6506
|
export interface PartnerLinks {
|
|
6499
|
-
|
|
6507
|
+
/** @format uuid */
|
|
6508
|
+
partnerId: string;
|
|
6500
6509
|
loanOfficers: PartnerLoanOfficerLinks[];
|
|
6501
6510
|
}
|
|
6502
6511
|
|
|
@@ -6515,10 +6524,6 @@ export interface PartnerSearchCriteria {
|
|
|
6515
6524
|
roles?: UserRole[] | null;
|
|
6516
6525
|
}
|
|
6517
6526
|
|
|
6518
|
-
export interface PartnerSlug {
|
|
6519
|
-
slug: string;
|
|
6520
|
-
}
|
|
6521
|
-
|
|
6522
6527
|
export interface PendingInvite {
|
|
6523
6528
|
status: PendingInviteStatusEnum;
|
|
6524
6529
|
/** @format uuid */
|
|
@@ -8162,10 +8167,6 @@ export interface UpdatePartnerPortalRequest {
|
|
|
8162
8167
|
isEnabled?: boolean | null;
|
|
8163
8168
|
}
|
|
8164
8169
|
|
|
8165
|
-
export interface UpdatePartnerSlugRequest {
|
|
8166
|
-
slug: string;
|
|
8167
|
-
}
|
|
8168
|
-
|
|
8169
8170
|
export interface UpdateUserGroupRequest {
|
|
8170
8171
|
name: string;
|
|
8171
8172
|
description?: string | null;
|
|
@@ -9321,6 +9322,27 @@ export type LoanDocumentFolderPermissionLevelEnum =
|
|
|
9321
9322
|
|
|
9322
9323
|
export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
|
|
9323
9324
|
|
|
9325
|
+
export type LoanDocumentFolderPermissionFilterRoleEnum =
|
|
9326
|
+
| "Borrower"
|
|
9327
|
+
| "CoBorrower"
|
|
9328
|
+
| "NonBorrower"
|
|
9329
|
+
| "LoanOfficer"
|
|
9330
|
+
| "LoanProcessor"
|
|
9331
|
+
| "LoanOfficerAssistant"
|
|
9332
|
+
| "SupportingLoanOfficer"
|
|
9333
|
+
| "BuyerAgent"
|
|
9334
|
+
| "SellerAgent"
|
|
9335
|
+
| "TitleInsuranceAgent"
|
|
9336
|
+
| "EscrowAgent"
|
|
9337
|
+
| "SettlementAgent"
|
|
9338
|
+
| "Admin";
|
|
9339
|
+
|
|
9340
|
+
export type LoanDocumentFolderPermissionFilterMinimumPermissionLevelEnum =
|
|
9341
|
+
| "None"
|
|
9342
|
+
| "Read"
|
|
9343
|
+
| "Write"
|
|
9344
|
+
| "Manage";
|
|
9345
|
+
|
|
9324
9346
|
export type LoanDocumentFolderPermissionRequestRoleEnum =
|
|
9325
9347
|
| "Borrower"
|
|
9326
9348
|
| "CoBorrower"
|
|
@@ -10104,7 +10126,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
10104
10126
|
|
|
10105
10127
|
/**
|
|
10106
10128
|
* @title The Big POS API
|
|
10107
|
-
* @version v3.
|
|
10129
|
+
* @version v3.20.0
|
|
10108
10130
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
10109
10131
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
10110
10132
|
*/
|
|
@@ -15758,30 +15780,6 @@ export class Api<
|
|
|
15758
15780
|
...params,
|
|
15759
15781
|
}),
|
|
15760
15782
|
|
|
15761
|
-
/**
|
|
15762
|
-
* No description
|
|
15763
|
-
*
|
|
15764
|
-
* @tags LegacyLoan
|
|
15765
|
-
* @name GetLoanEmbeddedSigningLink
|
|
15766
|
-
* @summary Get Embedded Signing Link
|
|
15767
|
-
* @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
|
|
15768
|
-
* @secure
|
|
15769
|
-
* @response `200` `string` OK
|
|
15770
|
-
*/
|
|
15771
|
-
getLoanEmbeddedSigningLink: (
|
|
15772
|
-
envelopeId: string,
|
|
15773
|
-
userName: string,
|
|
15774
|
-
email: string,
|
|
15775
|
-
params: RequestParams = {},
|
|
15776
|
-
) =>
|
|
15777
|
-
this.request<string, any>({
|
|
15778
|
-
path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`,
|
|
15779
|
-
method: "POST",
|
|
15780
|
-
secure: true,
|
|
15781
|
-
format: "json",
|
|
15782
|
-
...params,
|
|
15783
|
-
}),
|
|
15784
|
-
|
|
15785
15783
|
/**
|
|
15786
15784
|
* No description
|
|
15787
15785
|
*
|
|
@@ -20067,35 +20065,6 @@ export class Api<
|
|
|
20067
20065
|
...params,
|
|
20068
20066
|
}),
|
|
20069
20067
|
|
|
20070
|
-
/**
|
|
20071
|
-
* @description Changes the short name a realtor's partner links carry. Links shared with the previous name stop working.
|
|
20072
|
-
*
|
|
20073
|
-
* @tags Partners
|
|
20074
|
-
* @name UpdatePartnerLinkSlug
|
|
20075
|
-
* @summary Update Partner Link Slug
|
|
20076
|
-
* @request PUT:/api/partners/{realtorId}/link-slug
|
|
20077
|
-
* @secure
|
|
20078
|
-
* @response `200` `PartnerSlug` OK
|
|
20079
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
20080
|
-
* @response `404` `ProblemDetails` Not Found
|
|
20081
|
-
* @response `409` `ProblemDetails` Conflict
|
|
20082
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
20083
|
-
*/
|
|
20084
|
-
updatePartnerLinkSlug: (
|
|
20085
|
-
realtorId: string,
|
|
20086
|
-
data: UpdatePartnerSlugRequest,
|
|
20087
|
-
params: RequestParams = {},
|
|
20088
|
-
) =>
|
|
20089
|
-
this.request<PartnerSlug, ProblemDetails | UnprocessableEntity>({
|
|
20090
|
-
path: `/api/partners/${realtorId}/link-slug`,
|
|
20091
|
-
method: "PUT",
|
|
20092
|
-
body: data,
|
|
20093
|
-
secure: true,
|
|
20094
|
-
type: "application/json",
|
|
20095
|
-
format: "json",
|
|
20096
|
-
...params,
|
|
20097
|
-
}),
|
|
20098
|
-
|
|
20099
20068
|
/**
|
|
20100
20069
|
* No description
|
|
20101
20070
|
*
|
|
@@ -23074,34 +23043,6 @@ export class Api<
|
|
|
23074
23043
|
...params,
|
|
23075
23044
|
}),
|
|
23076
23045
|
|
|
23077
|
-
/**
|
|
23078
|
-
* @description Changes the short name the partner's links carry and returns the links rebuilt with it. Links shared with the previous name stop working.
|
|
23079
|
-
*
|
|
23080
|
-
* @tags UsersMe
|
|
23081
|
-
* @name UpdateMyPartnerLinkSlug
|
|
23082
|
-
* @summary Update My Partner Link Slug
|
|
23083
|
-
* @request PUT:/api/users/me/partner-links/slug
|
|
23084
|
-
* @secure
|
|
23085
|
-
* @response `200` `PartnerLinks` OK
|
|
23086
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
23087
|
-
* @response `404` `ProblemDetails` Not Found
|
|
23088
|
-
* @response `409` `ProblemDetails` Conflict
|
|
23089
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
23090
|
-
*/
|
|
23091
|
-
updateMyPartnerLinkSlug: (
|
|
23092
|
-
data: UpdatePartnerSlugRequest,
|
|
23093
|
-
params: RequestParams = {},
|
|
23094
|
-
) =>
|
|
23095
|
-
this.request<PartnerLinks, ProblemDetails | UnprocessableEntity>({
|
|
23096
|
-
path: `/api/users/me/partner-links/slug`,
|
|
23097
|
-
method: "PUT",
|
|
23098
|
-
body: data,
|
|
23099
|
-
secure: true,
|
|
23100
|
-
type: "application/json",
|
|
23101
|
-
format: "json",
|
|
23102
|
-
...params,
|
|
23103
|
-
}),
|
|
23104
|
-
|
|
23105
23046
|
/**
|
|
23106
23047
|
* No description
|
|
23107
23048
|
*
|