@matech/thebigpos-sdk 3.30.0-main-8913 → 3.31.0

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.js CHANGED
@@ -86,13 +86,7 @@ export class HttpClient {
86
86
  const property = input[key];
87
87
  const propertyContent = property instanceof Array ? property : [property];
88
88
  for (const formItem of propertyContent) {
89
- // React Native files are plain { uri, name, type } objects, not Blob/File.
90
- const isReactNativeFile = !!formItem &&
91
- typeof formItem === "object" &&
92
- "uri" in formItem &&
93
- "name" in formItem &&
94
- "type" in formItem;
95
- const isFileType = isReactNativeFile || formItem instanceof Blob || formItem instanceof File;
89
+ const isFileType = formItem instanceof Blob || formItem instanceof File;
96
90
  formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
97
91
  }
98
92
  return formData;
@@ -101,7 +95,7 @@ export class HttpClient {
101
95
  }
102
96
  /**
103
97
  * @title The Big POS API
104
- * @version v3.30.0
98
+ * @version v3.31.0
105
99
  * @termsOfService https://www.thebigpos.com/terms-of-use/
106
100
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
107
101
  */
@@ -3321,6 +3315,7 @@ export class Api extends HttpClient {
3321
3315
  * @response `204` `void` No Content
3322
3316
  * @response `400` `ProblemDetails` Bad Request
3323
3317
  * @response `422` `ProblemDetails` Unprocessable Content
3318
+ * @response `423` `ProblemDetails` Locked
3324
3319
  */
3325
3320
  bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
3326
3321
  /**
@@ -3335,6 +3330,7 @@ export class Api extends HttpClient {
3335
3330
  * @response `400` `ProblemDetails` Bad Request
3336
3331
  * @response `404` `ProblemDetails` Not Found
3337
3332
  * @response `422` `ProblemDetails` Unprocessable Content
3333
+ * @response `423` `ProblemDetails` Locked
3338
3334
  */
3339
3335
  setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
3340
3336
  /**
@@ -4388,6 +4384,24 @@ export class Api extends HttpClient {
4388
4384
  * @response `404` `ProblemDetails` Not Found
4389
4385
  */
4390
4386
  triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4387
+ /**
4388
+ * No description
4389
+ *
4390
+ * @tags LoanSigningMethod
4391
+ * @name UnlinkLoanFromConsumerConnect
4392
+ * @summary Unlink the loan's borrowers from Consumer Connect
4393
+ * @request POST:/api/loans/{loanId}/signing-method/unlink
4394
+ * @secure
4395
+ * @response `200` `(LosUnlinkedRecipient)[]` OK
4396
+ * @response `400` `ProblemDetails` Bad Request
4397
+ * @response `403` `ProblemDetails` Forbidden
4398
+ * @response `404` `ProblemDetails` Not Found
4399
+ * @response `422` `ProblemDetails` Unprocessable Content
4400
+ * @response `423` `ProblemDetails` Locked
4401
+ * @response `429` `ProblemDetails` Too Many Requests
4402
+ * @response `504` `void` Gateway Timeout
4403
+ */
4404
+ unlinkLoanFromConsumerConnect: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method/unlink`, method: "POST", secure: true, format: "json" }, params)),
4391
4405
  /**
4392
4406
  * No description
4393
4407
  *