@matech/thebigpos-sdk 3.21.0-dev-7189 → 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 +33 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +37 -2
- package/dist/index.js +33 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +66 -2
package/dist/index.d.ts
CHANGED
|
@@ -1841,6 +1841,10 @@ export interface CustomFieldValue {
|
|
|
1841
1841
|
definitionName: string;
|
|
1842
1842
|
dataType: CustomFieldValueDataTypeEnum;
|
|
1843
1843
|
}
|
|
1844
|
+
export interface DeactivateLoanDocumentFolderRequest {
|
|
1845
|
+
/** @format uuid */
|
|
1846
|
+
reassignToFolderId?: string | null;
|
|
1847
|
+
}
|
|
1844
1848
|
export interface DetailedUser {
|
|
1845
1849
|
/** @format date-time */
|
|
1846
1850
|
createdAt: string;
|
|
@@ -10903,6 +10907,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10903
10907
|
* @response `409` `ProblemDetails` Conflict
|
|
10904
10908
|
*/
|
|
10905
10909
|
restoreLoanApplication: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
10910
|
+
/**
|
|
10911
|
+
* No description
|
|
10912
|
+
*
|
|
10913
|
+
* @tags LoanBorrowerRemoval
|
|
10914
|
+
* @name RemoveLoanBorrower
|
|
10915
|
+
* @summary Remove a co-borrower from an application in progress
|
|
10916
|
+
* @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/remove
|
|
10917
|
+
* @secure
|
|
10918
|
+
* @response `204` `void` No Content
|
|
10919
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10920
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
10921
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10922
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10923
|
+
*/
|
|
10924
|
+
removeLoanBorrower: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
10925
|
+
/**
|
|
10926
|
+
* No description
|
|
10927
|
+
*
|
|
10928
|
+
* @tags LoanBorrowerRemoval
|
|
10929
|
+
* @name RestoreLoanBorrower
|
|
10930
|
+
* @summary Restore a removed co-borrower to an application in progress
|
|
10931
|
+
* @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/restore
|
|
10932
|
+
* @secure
|
|
10933
|
+
* @response `204` `void` No Content
|
|
10934
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10935
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
10936
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10937
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10938
|
+
*/
|
|
10939
|
+
restoreLoanBorrower: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
10906
10940
|
/**
|
|
10907
10941
|
* No description
|
|
10908
10942
|
*
|
|
@@ -11141,14 +11175,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11141
11175
|
*
|
|
11142
11176
|
* @tags LoanDocumentFolders
|
|
11143
11177
|
* @name DeactivateLoanDocumentFolder
|
|
11144
|
-
* @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
|
|
11178
|
+
* @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.
|
|
11145
11179
|
* @request POST:/api/loan-document-folders/{id}/deactivate
|
|
11146
11180
|
* @secure
|
|
11147
11181
|
* @response `204` `void` No Content
|
|
11148
11182
|
* @response `400` `ProblemDetails` Bad Request
|
|
11149
11183
|
* @response `404` `ProblemDetails` Not Found
|
|
11184
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11150
11185
|
*/
|
|
11151
|
-
deactivateLoanDocumentFolder: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
11186
|
+
deactivateLoanDocumentFolder: (id: string, data: DeactivateLoanDocumentFolderRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
11152
11187
|
/**
|
|
11153
11188
|
* No description
|
|
11154
11189
|
*
|
package/dist/index.js
CHANGED
|
@@ -3108,6 +3108,36 @@ export class Api extends HttpClient {
|
|
|
3108
3108
|
* @response `409` `ProblemDetails` Conflict
|
|
3109
3109
|
*/
|
|
3110
3110
|
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)),
|
|
3111
3141
|
/**
|
|
3112
3142
|
* No description
|
|
3113
3143
|
*
|
|
@@ -3339,14 +3369,15 @@ export class Api extends HttpClient {
|
|
|
3339
3369
|
*
|
|
3340
3370
|
* @tags LoanDocumentFolders
|
|
3341
3371
|
* @name DeactivateLoanDocumentFolder
|
|
3342
|
-
* @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.
|
|
3343
3373
|
* @request POST:/api/loan-document-folders/{id}/deactivate
|
|
3344
3374
|
* @secure
|
|
3345
3375
|
* @response `204` `void` No Content
|
|
3346
3376
|
* @response `400` `ProblemDetails` Bad Request
|
|
3347
3377
|
* @response `404` `ProblemDetails` Not Found
|
|
3378
|
+
* @response `409` `ProblemDetails` Conflict
|
|
3348
3379
|
*/
|
|
3349
|
-
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)),
|
|
3350
3381
|
/**
|
|
3351
3382
|
* No description
|
|
3352
3383
|
*
|