@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/dist/index.js
CHANGED
|
@@ -3378,7 +3378,7 @@ export class Api extends HttpClient {
|
|
|
3378
3378
|
*/
|
|
3379
3379
|
getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
|
|
3380
3380
|
/**
|
|
3381
|
-
* @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.
|
|
3381
|
+
* @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.
|
|
3382
3382
|
*
|
|
3383
3383
|
* @tags LoanDocumentFoldersForSingleLoan
|
|
3384
3384
|
* @name ListLoanDocumentFolders
|
|
@@ -6221,6 +6221,75 @@ export class Api extends HttpClient {
|
|
|
6221
6221
|
* @response `401` `ProblemDetails` Unauthorized
|
|
6222
6222
|
*/
|
|
6223
6223
|
updateMyTableSettings: (tableKey, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6224
|
+
/**
|
|
6225
|
+
* @description The caller's saved views for the table, in tab order.
|
|
6226
|
+
*
|
|
6227
|
+
* @tags UsersMe
|
|
6228
|
+
* @name GetMyTableViews
|
|
6229
|
+
* @summary Get Table Views
|
|
6230
|
+
* @request GET:/api/users/me/table-settings/{tableKey}/views
|
|
6231
|
+
* @secure
|
|
6232
|
+
* @response `200` `(UserTableView)[]` OK
|
|
6233
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6234
|
+
*/
|
|
6235
|
+
getMyTableViews: (tableKey, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}/views`, method: "GET", secure: true, format: "json" }, params)),
|
|
6236
|
+
/**
|
|
6237
|
+
* @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.
|
|
6238
|
+
*
|
|
6239
|
+
* @tags UsersMe
|
|
6240
|
+
* @name CreateMyTableView
|
|
6241
|
+
* @summary Create Table View
|
|
6242
|
+
* @request POST:/api/users/me/table-settings/{tableKey}/views
|
|
6243
|
+
* @secure
|
|
6244
|
+
* @response `201` `UserTableView` Created
|
|
6245
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6246
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6247
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6248
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6249
|
+
*/
|
|
6250
|
+
createMyTableView: (tableKey, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}/views`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6251
|
+
/**
|
|
6252
|
+
* @description Replaces the view's name, search terms, filters and sort.
|
|
6253
|
+
*
|
|
6254
|
+
* @tags UsersMe
|
|
6255
|
+
* @name UpdateMyTableView
|
|
6256
|
+
* @summary Update Table View
|
|
6257
|
+
* @request PUT:/api/users/me/table-settings/{tableKey}/views/{viewId}
|
|
6258
|
+
* @secure
|
|
6259
|
+
* @response `200` `UserTableView` OK
|
|
6260
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6261
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6262
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6263
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6264
|
+
*/
|
|
6265
|
+
updateMyTableView: (tableKey, viewId, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}/views/${viewId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6266
|
+
/**
|
|
6267
|
+
* @description Deletes the view. When it was the open tab saved in the table settings, the settings fall back to the default tab.
|
|
6268
|
+
*
|
|
6269
|
+
* @tags UsersMe
|
|
6270
|
+
* @name DeleteMyTableView
|
|
6271
|
+
* @summary Delete Table View
|
|
6272
|
+
* @request DELETE:/api/users/me/table-settings/{tableKey}/views/{viewId}
|
|
6273
|
+
* @secure
|
|
6274
|
+
* @response `204` `void` No Content
|
|
6275
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6276
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6277
|
+
*/
|
|
6278
|
+
deleteMyTableView: (tableKey, viewId, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}/views/${viewId}`, method: "DELETE", secure: true }, params)),
|
|
6279
|
+
/**
|
|
6280
|
+
* @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.
|
|
6281
|
+
*
|
|
6282
|
+
* @tags UsersMe
|
|
6283
|
+
* @name ReorderMyTableViews
|
|
6284
|
+
* @summary Reorder Table Views
|
|
6285
|
+
* @request PUT:/api/users/me/table-settings/{tableKey}/views/order
|
|
6286
|
+
* @secure
|
|
6287
|
+
* @response `204` `void` No Content
|
|
6288
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6289
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6290
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6291
|
+
*/
|
|
6292
|
+
reorderMyTableViews: (tableKey, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/table-settings/${tableKey}/views/order`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
6224
6293
|
/**
|
|
6225
6294
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
6226
6295
|
*
|