@matech/thebigpos-sdk 3.31.0-main-9036 → 3.32.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.31.0
98
+ * @version v3.32.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
  */
@@ -4390,24 +4384,6 @@ export class Api extends HttpClient {
4390
4384
  * @response `404` `ProblemDetails` Not Found
4391
4385
  */
4392
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)),
4393
- /**
4394
- * No description
4395
- *
4396
- * @tags LoanSigningMethod
4397
- * @name UnlinkLoanFromConsumerConnect
4398
- * @summary Unlink the loan's borrowers from Consumer Connect
4399
- * @request POST:/api/loans/{loanId}/signing-method/unlink
4400
- * @secure
4401
- * @response `200` `(LosUnlinkedRecipient)[]` OK
4402
- * @response `400` `ProblemDetails` Bad Request
4403
- * @response `403` `ProblemDetails` Forbidden
4404
- * @response `404` `ProblemDetails` Not Found
4405
- * @response `422` `ProblemDetails` Unprocessable Content
4406
- * @response `423` `ProblemDetails` Locked
4407
- * @response `429` `ProblemDetails` Too Many Requests
4408
- * @response `504` `void` Gateway Timeout
4409
- */
4410
- unlinkLoanFromConsumerConnect: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method/unlink`, method: "POST", secure: true, format: "json" }, params)),
4411
4387
  /**
4412
4388
  * No description
4413
4389
  *
@@ -4417,9 +4393,13 @@ export class Api extends HttpClient {
4417
4393
  * @request PUT:/api/loans/{loanId}/signing-method
4418
4394
  * @secure
4419
4395
  * @response `204` `void` No Content
4396
+ * @response `400` `ProblemDetails` Bad Request
4420
4397
  * @response `403` `ProblemDetails` Forbidden
4421
4398
  * @response `404` `ProblemDetails` Not Found
4422
4399
  * @response `422` `ProblemDetails` Unprocessable Content
4400
+ * @response `423` `ProblemDetails` Locked
4401
+ * @response `429` `ProblemDetails` Too Many Requests
4402
+ * @response `504` `void` Gateway Timeout
4423
4403
  */
4424
4404
  updateLoanSigningMethod: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4425
4405
  /**