@matech/thebigpos-sdk 3.21.0-dev-7192 → 3.21.0-dev-7199

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 CHANGED
@@ -3369,14 +3369,15 @@ class Api extends HttpClient {
3369
3369
  *
3370
3370
  * @tags LoanDocumentFolders
3371
3371
  * @name DeactivateLoanDocumentFolder
3372
- * @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
3372
+ * @summary Deactivate a loan document folder. Rejected with 409 (errorCode FolderInUse, the referencing tasks and templates in references) while tasks or document templates still reference it, unless reassignToFolderId names an active replacement folder, in which case every reference is moved there and the folder is deactivated in one transaction. Rejected for the system-default Unassigned folder.
3373
3373
  * @request POST:/api/loan-document-folders/{id}/deactivate
3374
3374
  * @secure
3375
3375
  * @response `204` `void` No Content
3376
3376
  * @response `400` `ProblemDetails` Bad Request
3377
3377
  * @response `404` `ProblemDetails` Not Found
3378
+ * @response `409` `ProblemDetails` Conflict
3378
3379
  */
3379
- deactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/deactivate`, method: "POST", secure: true }, params)),
3380
+ deactivateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/deactivate`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3380
3381
  /**
3381
3382
  * No description
3382
3383
  *