@matech/thebigpos-sdk 3.18.0-dev-6671 → 3.18.0-dev-6739
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 +624 -512
- package/dist/index.js +70 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -9
- package/src/index.ts +191 -1
package/src/index.ts
CHANGED
|
@@ -5013,6 +5013,8 @@ export interface LoanDocumentFolderPermissionRequest {
|
|
|
5013
5013
|
export interface LoanDocumentFolderSearchCriteria {
|
|
5014
5014
|
searchText?: string | null;
|
|
5015
5015
|
isActive?: boolean | null;
|
|
5016
|
+
isSystemDefault?: boolean | null;
|
|
5017
|
+
role?: LoanRole | null;
|
|
5016
5018
|
}
|
|
5017
5019
|
|
|
5018
5020
|
export interface LoanDocumentFolderSummary {
|
|
@@ -6681,6 +6683,10 @@ export interface ReorderLoanTasksRequest {
|
|
|
6681
6683
|
userLoanTaskIDs: string[];
|
|
6682
6684
|
}
|
|
6683
6685
|
|
|
6686
|
+
export interface ReorderUserTableViewsRequest {
|
|
6687
|
+
viewIds: string[];
|
|
6688
|
+
}
|
|
6689
|
+
|
|
6684
6690
|
export interface RequestImpersonationRequest {
|
|
6685
6691
|
email: string;
|
|
6686
6692
|
}
|
|
@@ -8556,6 +8562,8 @@ export interface UserTableSettings {
|
|
|
8556
8562
|
searchTerms: string[];
|
|
8557
8563
|
pinnedColumnIds: string[];
|
|
8558
8564
|
filters?: PipelineTableFilters | null;
|
|
8565
|
+
/** @format uuid */
|
|
8566
|
+
activeViewId?: string | null;
|
|
8559
8567
|
}
|
|
8560
8568
|
|
|
8561
8569
|
export interface UserTableSettingsRequest {
|
|
@@ -8566,6 +8574,33 @@ export interface UserTableSettingsRequest {
|
|
|
8566
8574
|
searchTerms: string[];
|
|
8567
8575
|
pinnedColumnIds: string[];
|
|
8568
8576
|
filters?: PipelineTableFilters | null;
|
|
8577
|
+
/** @format uuid */
|
|
8578
|
+
activeViewId?: string | null;
|
|
8579
|
+
}
|
|
8580
|
+
|
|
8581
|
+
export interface UserTableView {
|
|
8582
|
+
/** @format uuid */
|
|
8583
|
+
id: string;
|
|
8584
|
+
tableKey: UserTableViewTableKeyEnum;
|
|
8585
|
+
name: string;
|
|
8586
|
+
/** @format int32 */
|
|
8587
|
+
sortOrder: number;
|
|
8588
|
+
searchTerms: string[];
|
|
8589
|
+
filters?: PipelineTableFilters | null;
|
|
8590
|
+
sortColumnId?: string | null;
|
|
8591
|
+
sortDirection?: SortDirection | null;
|
|
8592
|
+
/** @format date-time */
|
|
8593
|
+
createdAt: string;
|
|
8594
|
+
/** @format date-time */
|
|
8595
|
+
updatedAt?: string | null;
|
|
8596
|
+
}
|
|
8597
|
+
|
|
8598
|
+
export interface UserTableViewRequest {
|
|
8599
|
+
name: string;
|
|
8600
|
+
searchTerms: string[];
|
|
8601
|
+
filters?: PipelineTableFilters | null;
|
|
8602
|
+
sortColumnId?: string | null;
|
|
8603
|
+
sortDirection?: SortDirection | null;
|
|
8569
8604
|
}
|
|
8570
8605
|
|
|
8571
8606
|
export interface VerifyEmailRequest {
|
|
@@ -9635,6 +9670,8 @@ export type UserLoanConsentLosSyncStatusEnum =
|
|
|
9635
9670
|
|
|
9636
9671
|
export type UserTableSettingsTableKeyEnum = "Pipeline";
|
|
9637
9672
|
|
|
9673
|
+
export type UserTableViewTableKeyEnum = "Pipeline";
|
|
9674
|
+
|
|
9638
9675
|
export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
9639
9676
|
|
|
9640
9677
|
export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
@@ -9735,6 +9772,26 @@ export type UpdateMyTableSettingsParamsTableKeyEnum = "Pipeline";
|
|
|
9735
9772
|
|
|
9736
9773
|
export type UpdateMyTableSettingsParamsEnum = "Pipeline";
|
|
9737
9774
|
|
|
9775
|
+
export type GetMyTableViewsParamsTableKeyEnum = "Pipeline";
|
|
9776
|
+
|
|
9777
|
+
export type GetMyTableViewsParamsEnum = "Pipeline";
|
|
9778
|
+
|
|
9779
|
+
export type CreateMyTableViewParamsTableKeyEnum = "Pipeline";
|
|
9780
|
+
|
|
9781
|
+
export type CreateMyTableViewParamsEnum = "Pipeline";
|
|
9782
|
+
|
|
9783
|
+
export type UpdateMyTableViewParamsTableKeyEnum = "Pipeline";
|
|
9784
|
+
|
|
9785
|
+
export type UpdateMyTableViewParamsEnum = "Pipeline";
|
|
9786
|
+
|
|
9787
|
+
export type DeleteMyTableViewParamsTableKeyEnum = "Pipeline";
|
|
9788
|
+
|
|
9789
|
+
export type DeleteMyTableViewParamsEnum = "Pipeline";
|
|
9790
|
+
|
|
9791
|
+
export type ReorderMyTableViewsParamsTableKeyEnum = "Pipeline";
|
|
9792
|
+
|
|
9793
|
+
export type ReorderMyTableViewsParamsEnum = "Pipeline";
|
|
9794
|
+
|
|
9738
9795
|
import type {
|
|
9739
9796
|
AxiosInstance,
|
|
9740
9797
|
AxiosRequestConfig,
|
|
@@ -16553,7 +16610,7 @@ export class Api<
|
|
|
16553
16610
|
}),
|
|
16554
16611
|
|
|
16555
16612
|
/**
|
|
16556
|
-
* @description Returns the folders the caller can access that are relevant to this loan — every active system-default folder, plus any folder holding a document the caller can read or bound to one of the loan's tasks, even when empty — with the caller's effective accessLevel and the count of documents they can read in each. Upload destinations are the active entries with accessLevel at least Write. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID, isUnassigned = true); filter to its documents with searchLoanDocuments folderScope 'Unassigned' rather than by echoing that ID.
|
|
16613
|
+
* @description Returns the folders the caller can access that are relevant to this loan — every active system-default folder, plus any folder holding a document the caller can read or bound to one of the loan's tasks, even when empty as long as it is active — with the caller's effective accessLevel and the count of documents they can read in each. Upload destinations are the active entries with accessLevel at least Write. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID, isUnassigned = true); filter to its documents with searchLoanDocuments folderScope 'Unassigned' rather than by echoing that ID.
|
|
16557
16614
|
*
|
|
16558
16615
|
* @tags LoanDocumentFoldersForSingleLoan
|
|
16559
16616
|
* @name ListLoanDocumentFolders
|
|
@@ -22396,6 +22453,139 @@ export class Api<
|
|
|
22396
22453
|
...params,
|
|
22397
22454
|
}),
|
|
22398
22455
|
|
|
22456
|
+
/**
|
|
22457
|
+
* @description The caller's saved views for the table, in tab order.
|
|
22458
|
+
*
|
|
22459
|
+
* @tags UsersMe
|
|
22460
|
+
* @name GetMyTableViews
|
|
22461
|
+
* @summary Get Table Views
|
|
22462
|
+
* @request GET:/api/users/me/table-settings/{tableKey}/views
|
|
22463
|
+
* @secure
|
|
22464
|
+
* @response `200` `(UserTableView)[]` OK
|
|
22465
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
22466
|
+
*/
|
|
22467
|
+
getMyTableViews: (
|
|
22468
|
+
tableKey: GetMyTableViewsParamsEnum,
|
|
22469
|
+
params: RequestParams = {},
|
|
22470
|
+
) =>
|
|
22471
|
+
this.request<UserTableView[], ProblemDetails>({
|
|
22472
|
+
path: `/api/users/me/table-settings/${tableKey}/views`,
|
|
22473
|
+
method: "GET",
|
|
22474
|
+
secure: true,
|
|
22475
|
+
format: "json",
|
|
22476
|
+
...params,
|
|
22477
|
+
}),
|
|
22478
|
+
|
|
22479
|
+
/**
|
|
22480
|
+
* @description Saves a named view at the end of the tab order. A name the caller already uses on the table (ignoring case) is refused with 409, and a 21st view with 400.
|
|
22481
|
+
*
|
|
22482
|
+
* @tags UsersMe
|
|
22483
|
+
* @name CreateMyTableView
|
|
22484
|
+
* @summary Create Table View
|
|
22485
|
+
* @request POST:/api/users/me/table-settings/{tableKey}/views
|
|
22486
|
+
* @secure
|
|
22487
|
+
* @response `201` `UserTableView` Created
|
|
22488
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
22489
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
22490
|
+
* @response `409` `ProblemDetails` Conflict
|
|
22491
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
22492
|
+
*/
|
|
22493
|
+
createMyTableView: (
|
|
22494
|
+
tableKey: CreateMyTableViewParamsEnum,
|
|
22495
|
+
data: UserTableViewRequest,
|
|
22496
|
+
params: RequestParams = {},
|
|
22497
|
+
) =>
|
|
22498
|
+
this.request<UserTableView, ProblemDetails>({
|
|
22499
|
+
path: `/api/users/me/table-settings/${tableKey}/views`,
|
|
22500
|
+
method: "POST",
|
|
22501
|
+
body: data,
|
|
22502
|
+
secure: true,
|
|
22503
|
+
type: "application/json",
|
|
22504
|
+
format: "json",
|
|
22505
|
+
...params,
|
|
22506
|
+
}),
|
|
22507
|
+
|
|
22508
|
+
/**
|
|
22509
|
+
* @description Replaces the view's name, search terms, filters and sort.
|
|
22510
|
+
*
|
|
22511
|
+
* @tags UsersMe
|
|
22512
|
+
* @name UpdateMyTableView
|
|
22513
|
+
* @summary Update Table View
|
|
22514
|
+
* @request PUT:/api/users/me/table-settings/{tableKey}/views/{viewId}
|
|
22515
|
+
* @secure
|
|
22516
|
+
* @response `200` `UserTableView` OK
|
|
22517
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
22518
|
+
* @response `404` `ProblemDetails` Not Found
|
|
22519
|
+
* @response `409` `ProblemDetails` Conflict
|
|
22520
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
22521
|
+
*/
|
|
22522
|
+
updateMyTableView: (
|
|
22523
|
+
tableKey: UpdateMyTableViewParamsEnum,
|
|
22524
|
+
viewId: string,
|
|
22525
|
+
data: UserTableViewRequest,
|
|
22526
|
+
params: RequestParams = {},
|
|
22527
|
+
) =>
|
|
22528
|
+
this.request<UserTableView, ProblemDetails>({
|
|
22529
|
+
path: `/api/users/me/table-settings/${tableKey}/views/${viewId}`,
|
|
22530
|
+
method: "PUT",
|
|
22531
|
+
body: data,
|
|
22532
|
+
secure: true,
|
|
22533
|
+
type: "application/json",
|
|
22534
|
+
format: "json",
|
|
22535
|
+
...params,
|
|
22536
|
+
}),
|
|
22537
|
+
|
|
22538
|
+
/**
|
|
22539
|
+
* @description Deletes the view. When it was the open tab saved in the table settings, the settings fall back to the default tab.
|
|
22540
|
+
*
|
|
22541
|
+
* @tags UsersMe
|
|
22542
|
+
* @name DeleteMyTableView
|
|
22543
|
+
* @summary Delete Table View
|
|
22544
|
+
* @request DELETE:/api/users/me/table-settings/{tableKey}/views/{viewId}
|
|
22545
|
+
* @secure
|
|
22546
|
+
* @response `204` `void` No Content
|
|
22547
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
22548
|
+
* @response `404` `ProblemDetails` Not Found
|
|
22549
|
+
*/
|
|
22550
|
+
deleteMyTableView: (
|
|
22551
|
+
tableKey: DeleteMyTableViewParamsEnum,
|
|
22552
|
+
viewId: string,
|
|
22553
|
+
params: RequestParams = {},
|
|
22554
|
+
) =>
|
|
22555
|
+
this.request<void, ProblemDetails>({
|
|
22556
|
+
path: `/api/users/me/table-settings/${tableKey}/views/${viewId}`,
|
|
22557
|
+
method: "DELETE",
|
|
22558
|
+
secure: true,
|
|
22559
|
+
...params,
|
|
22560
|
+
}),
|
|
22561
|
+
|
|
22562
|
+
/**
|
|
22563
|
+
* @description Sets the tab order. The body names every one of the caller's views on the table exactly once; a list that no longer matches them is refused with 409. Two reorders sent at once do not mix: the last to save wins as a whole.
|
|
22564
|
+
*
|
|
22565
|
+
* @tags UsersMe
|
|
22566
|
+
* @name ReorderMyTableViews
|
|
22567
|
+
* @summary Reorder Table Views
|
|
22568
|
+
* @request PUT:/api/users/me/table-settings/{tableKey}/views/order
|
|
22569
|
+
* @secure
|
|
22570
|
+
* @response `204` `void` No Content
|
|
22571
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
22572
|
+
* @response `409` `ProblemDetails` Conflict
|
|
22573
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
22574
|
+
*/
|
|
22575
|
+
reorderMyTableViews: (
|
|
22576
|
+
tableKey: ReorderMyTableViewsParamsEnum,
|
|
22577
|
+
data: ReorderUserTableViewsRequest,
|
|
22578
|
+
params: RequestParams = {},
|
|
22579
|
+
) =>
|
|
22580
|
+
this.request<void, ProblemDetails>({
|
|
22581
|
+
path: `/api/users/me/table-settings/${tableKey}/views/order`,
|
|
22582
|
+
method: "PUT",
|
|
22583
|
+
body: data,
|
|
22584
|
+
secure: true,
|
|
22585
|
+
type: "application/json",
|
|
22586
|
+
...params,
|
|
22587
|
+
}),
|
|
22588
|
+
|
|
22399
22589
|
/**
|
|
22400
22590
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
22401
22591
|
*
|