@matech/thebigpos-sdk 3.21.0-dev-7199 → 3.21.0-main-7219
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 +26 -33
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +42 -37
- package/dist/index.js +26 -33
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +68 -66
package/dist/index.cjs
CHANGED
|
@@ -369,6 +369,30 @@ class Api extends HttpClient {
|
|
|
369
369
|
* @response `409` `ProblemDetails` Conflict
|
|
370
370
|
*/
|
|
371
371
|
deleteAiPrompt: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", query, secure: true }, params)),
|
|
372
|
+
/**
|
|
373
|
+
* No description
|
|
374
|
+
*
|
|
375
|
+
* @tags AiAdminPrompt
|
|
376
|
+
* @name GetAiTools
|
|
377
|
+
* @summary List available agent tools and their settings schema
|
|
378
|
+
* @request GET:/api/ai/prompts/tools
|
|
379
|
+
* @secure
|
|
380
|
+
* @response `200` `(AiToolCatalogItem)[]` OK
|
|
381
|
+
*/
|
|
382
|
+
getAiTools: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/tools`, method: "GET", secure: true, format: "json" }, params)),
|
|
383
|
+
/**
|
|
384
|
+
* No description
|
|
385
|
+
*
|
|
386
|
+
* @tags AiAdminPrompt
|
|
387
|
+
* @name UpdateAiPromptTools
|
|
388
|
+
* @summary Replace the prompt's agent tool configuration
|
|
389
|
+
* @request PUT:/api/ai/prompts/{id}/tools
|
|
390
|
+
* @secure
|
|
391
|
+
* @response `200` `AiPrompt` OK
|
|
392
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
393
|
+
* @response `404` `ProblemDetails` Not Found
|
|
394
|
+
*/
|
|
395
|
+
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
372
396
|
/**
|
|
373
397
|
* No description
|
|
374
398
|
*
|
|
@@ -3108,36 +3132,6 @@ class Api extends HttpClient {
|
|
|
3108
3132
|
* @response `409` `ProblemDetails` Conflict
|
|
3109
3133
|
*/
|
|
3110
3134
|
restoreLoanApplication: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/application/restore`, method: "POST", secure: true }, params)),
|
|
3111
|
-
/**
|
|
3112
|
-
* No description
|
|
3113
|
-
*
|
|
3114
|
-
* @tags LoanBorrowerRemoval
|
|
3115
|
-
* @name RemoveLoanBorrower
|
|
3116
|
-
* @summary Remove a co-borrower from an application in progress
|
|
3117
|
-
* @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/remove
|
|
3118
|
-
* @secure
|
|
3119
|
-
* @response `204` `void` No Content
|
|
3120
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
3121
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
3122
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3123
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3124
|
-
*/
|
|
3125
|
-
removeLoanBorrower: (loanId, borrowerId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/borrowers/${borrowerId}/remove`, method: "POST", secure: true }, params)),
|
|
3126
|
-
/**
|
|
3127
|
-
* No description
|
|
3128
|
-
*
|
|
3129
|
-
* @tags LoanBorrowerRemoval
|
|
3130
|
-
* @name RestoreLoanBorrower
|
|
3131
|
-
* @summary Restore a removed co-borrower to an application in progress
|
|
3132
|
-
* @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/restore
|
|
3133
|
-
* @secure
|
|
3134
|
-
* @response `204` `void` No Content
|
|
3135
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
3136
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
3137
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3138
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3139
|
-
*/
|
|
3140
|
-
restoreLoanBorrower: (loanId, borrowerId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/borrowers/${borrowerId}/restore`, method: "POST", secure: true }, params)),
|
|
3141
3135
|
/**
|
|
3142
3136
|
* No description
|
|
3143
3137
|
*
|
|
@@ -3369,15 +3363,14 @@ class Api extends HttpClient {
|
|
|
3369
3363
|
*
|
|
3370
3364
|
* @tags LoanDocumentFolders
|
|
3371
3365
|
* @name DeactivateLoanDocumentFolder
|
|
3372
|
-
* @summary Deactivate a loan document folder. Rejected
|
|
3366
|
+
* @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
|
|
3373
3367
|
* @request POST:/api/loan-document-folders/{id}/deactivate
|
|
3374
3368
|
* @secure
|
|
3375
3369
|
* @response `204` `void` No Content
|
|
3376
3370
|
* @response `400` `ProblemDetails` Bad Request
|
|
3377
3371
|
* @response `404` `ProblemDetails` Not Found
|
|
3378
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3379
3372
|
*/
|
|
3380
|
-
deactivateLoanDocumentFolder: (id,
|
|
3373
|
+
deactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/deactivate`, method: "POST", secure: true }, params)),
|
|
3381
3374
|
/**
|
|
3382
3375
|
* No description
|
|
3383
3376
|
*
|