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

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 CHANGED
@@ -10903,6 +10903,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10903
10903
  * @response `409` `ProblemDetails` Conflict
10904
10904
  */
10905
10905
  restoreLoanApplication: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
10906
+ /**
10907
+ * No description
10908
+ *
10909
+ * @tags LoanBorrowerRemoval
10910
+ * @name RemoveLoanBorrower
10911
+ * @summary Remove a co-borrower from an application in progress
10912
+ * @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/remove
10913
+ * @secure
10914
+ * @response `204` `void` No Content
10915
+ * @response `400` `ProblemDetails` Bad Request
10916
+ * @response `403` `ProblemDetails` Forbidden
10917
+ * @response `404` `ProblemDetails` Not Found
10918
+ * @response `409` `ProblemDetails` Conflict
10919
+ */
10920
+ removeLoanBorrower: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
10921
+ /**
10922
+ * No description
10923
+ *
10924
+ * @tags LoanBorrowerRemoval
10925
+ * @name RestoreLoanBorrower
10926
+ * @summary Restore a removed co-borrower to an application in progress
10927
+ * @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/restore
10928
+ * @secure
10929
+ * @response `204` `void` No Content
10930
+ * @response `400` `ProblemDetails` Bad Request
10931
+ * @response `403` `ProblemDetails` Forbidden
10932
+ * @response `404` `ProblemDetails` Not Found
10933
+ * @response `409` `ProblemDetails` Conflict
10934
+ */
10935
+ restoreLoanBorrower: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
10906
10936
  /**
10907
10937
  * No description
10908
10938
  *
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
  *