@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/src/index.ts CHANGED
@@ -16219,6 +16219,58 @@ export class Api<
16219
16219
  ...params,
16220
16220
  }),
16221
16221
 
16222
+ /**
16223
+ * No description
16224
+ *
16225
+ * @tags LoanBorrowerRemoval
16226
+ * @name RemoveLoanBorrower
16227
+ * @summary Remove a co-borrower from an application in progress
16228
+ * @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/remove
16229
+ * @secure
16230
+ * @response `204` `void` No Content
16231
+ * @response `400` `ProblemDetails` Bad Request
16232
+ * @response `403` `ProblemDetails` Forbidden
16233
+ * @response `404` `ProblemDetails` Not Found
16234
+ * @response `409` `ProblemDetails` Conflict
16235
+ */
16236
+ removeLoanBorrower: (
16237
+ loanId: string,
16238
+ borrowerId: string,
16239
+ params: RequestParams = {},
16240
+ ) =>
16241
+ this.request<void, ProblemDetails>({
16242
+ path: `/api/loans/${loanId}/borrowers/${borrowerId}/remove`,
16243
+ method: "POST",
16244
+ secure: true,
16245
+ ...params,
16246
+ }),
16247
+
16248
+ /**
16249
+ * No description
16250
+ *
16251
+ * @tags LoanBorrowerRemoval
16252
+ * @name RestoreLoanBorrower
16253
+ * @summary Restore a removed co-borrower to an application in progress
16254
+ * @request POST:/api/loans/{loanId}/borrowers/{borrowerId}/restore
16255
+ * @secure
16256
+ * @response `204` `void` No Content
16257
+ * @response `400` `ProblemDetails` Bad Request
16258
+ * @response `403` `ProblemDetails` Forbidden
16259
+ * @response `404` `ProblemDetails` Not Found
16260
+ * @response `409` `ProblemDetails` Conflict
16261
+ */
16262
+ restoreLoanBorrower: (
16263
+ loanId: string,
16264
+ borrowerId: string,
16265
+ params: RequestParams = {},
16266
+ ) =>
16267
+ this.request<void, ProblemDetails>({
16268
+ path: `/api/loans/${loanId}/borrowers/${borrowerId}/restore`,
16269
+ method: "POST",
16270
+ secure: true,
16271
+ ...params,
16272
+ }),
16273
+
16222
16274
  /**
16223
16275
  * No description
16224
16276
  *