@matech/thebigpos-sdk 3.15.0-dev-6040 → 3.15.0-main-6054

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
@@ -1429,46 +1429,6 @@ export class Api extends HttpClient {
1429
1429
  * @response `200` `BusinessRule` OK
1430
1430
  */
1431
1431
  restoreBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
1432
- /**
1433
- * No description
1434
- *
1435
- * @tags Canvases
1436
- * @name GetCanvas
1437
- * @summary Get a site's canvas for one surface, as the signed-in user sees it
1438
- * @request GET:/api/canvases/{surface}
1439
- * @secure
1440
- * @response `200` `CanvasView` OK
1441
- * @response `400` `ProblemDetails` Bad Request
1442
- * @response `404` `ProblemDetails` Not Found
1443
- * @response `422` `ProblemDetails` Unprocessable Content
1444
- */
1445
- getCanvas: (surface, query, params = {}) => this.request(Object.assign({ path: `/api/canvases/${surface}`, method: "GET", query: query, secure: true, format: "json" }, params)),
1446
- /**
1447
- * @description A standard field's key and every categoryKey never change: saved layouts refer to fields by key, and a client can translate labels and categories by these keys.
1448
- *
1449
- * @tags CanvasFields
1450
- * @name GetCanvasFields
1451
- * @summary Get the fields a canvas can show
1452
- * @request GET:/api/canvas/fields
1453
- * @secure
1454
- * @response `200` `CanvasFieldCatalog` OK
1455
- * @response `403` `ProblemDetails` Forbidden
1456
- * @response `404` `ProblemDetails` Not Found
1457
- */
1458
- getCanvasFields: (params = {}) => this.request(Object.assign({ path: `/api/canvas/fields`, method: "GET", secure: true, format: "json" }, params)),
1459
- /**
1460
- * No description
1461
- *
1462
- * @tags CanvasWidgetTypes
1463
- * @name GetCanvasWidgetTypes
1464
- * @summary Get canvas widget types
1465
- * @request GET:/api/canvas/widget-types
1466
- * @secure
1467
- * @response `200` `(CanvasWidgetTypeDescriptor)[]` OK
1468
- * @response `403` `ProblemDetails` Forbidden
1469
- * @response `404` `ProblemDetails` Not Found
1470
- */
1471
- getCanvasWidgetTypes: (params = {}) => this.request(Object.assign({ path: `/api/canvas/widget-types`, method: "GET", secure: true, format: "json" }, params)),
1472
1432
  /**
1473
1433
  * @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
1474
1434
  *
@@ -3093,21 +3053,6 @@ export class Api extends HttpClient {
3093
3053
  * @response `423` `UnprocessableEntity` Locked
3094
3054
  */
3095
3055
  runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3096
- /**
3097
- * No description
3098
- *
3099
- * @tags LoanCanvasFieldValues
3100
- * @name GetLoanCanvasFieldValues
3101
- * @summary Get a loan's values for canvas fields
3102
- * @request POST:/api/loans/{loanId}/canvas/field-values
3103
- * @secure
3104
- * @response `200` `CanvasFieldValues` OK
3105
- * @response `400` `ProblemDetails` Bad Request
3106
- * @response `403` `ProblemDetails` Forbidden
3107
- * @response `404` `ProblemDetails` Not Found
3108
- * @response `422` `ProblemDetails` Unprocessable Content
3109
- */
3110
- getLoanCanvasFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/canvas/field-values`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3111
3056
  /**
3112
3057
  * No description
3113
3058
  *
@@ -4157,20 +4102,6 @@ export class Api extends HttpClient {
4157
4102
  * @response `404` `ProblemDetails` Not Found
4158
4103
  */
4159
4104
  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)),
4160
- /**
4161
- * No description
4162
- *
4163
- * @tags LoanSigningMethod
4164
- * @name UpdateLoanSigningMethod
4165
- * @summary Switch the loan's signing method
4166
- * @request PUT:/api/loans/{loanId}/signing-method
4167
- * @secure
4168
- * @response `204` `void` No Content
4169
- * @response `403` `ProblemDetails` Forbidden
4170
- * @response `404` `ProblemDetails` Not Found
4171
- * @response `422` `ProblemDetails` Unprocessable Content
4172
- */
4173
- updateLoanSigningMethod: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4174
4105
  /**
4175
4106
  * No description
4176
4107
  *
@@ -4907,98 +4838,6 @@ export class Api extends HttpClient {
4907
4838
  * @response `422` `UnprocessableEntity` Unprocessable Content
4908
4839
  */
4909
4840
  replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4910
- /**
4911
- * No description
4912
- *
4913
- * @tags SiteConfigurationCanvases
4914
- * @name GetSiteConfigurationCanvases
4915
- * @summary Get a site's canvases: own, inherited and effective per surface
4916
- * @request GET:/api/site-configurations/{siteConfigurationId}/canvases
4917
- * @secure
4918
- * @response `200` `SiteConfigurationCanvases` OK
4919
- * @response `403` `ProblemDetails` Forbidden
4920
- * @response `404` `ProblemDetails` Not Found
4921
- */
4922
- getSiteConfigurationCanvases: (siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases`, method: "GET", secure: true, format: "json" }, params)),
4923
- /**
4924
- * @description The request is the canvas's whole state: leaving out forkedFromSiteConfigurationID and forkedFromVersion clears them, and isBehindInherited with them.
4925
- *
4926
- * @tags SiteConfigurationCanvases
4927
- * @name SaveSiteConfigurationCanvas
4928
- * @summary Save a site's canvas for one surface
4929
- * @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
4930
- * @secure
4931
- * @response `200` `CanvasSurfaceState` OK
4932
- * @response `400` `ProblemDetails` Bad Request
4933
- * @response `403` `ProblemDetails` Forbidden
4934
- * @response `404` `ProblemDetails` Not Found
4935
- * @response `409` `ProblemDetails` Conflict
4936
- * @response `422` `ProblemDetails` Unprocessable Content
4937
- * @response `423` `ProblemDetails` Locked
4938
- */
4939
- saveSiteConfigurationCanvas: (siteConfigurationId, surface, data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4940
- /**
4941
- * No description
4942
- *
4943
- * @tags SiteConfigurationCanvases
4944
- * @name DeleteSiteConfigurationCanvas
4945
- * @summary Delete a site's own canvas for a surface, its boards or its Loan Details tabs, so it inherits again
4946
- * @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
4947
- * @secure
4948
- * @response `204` `void` No Content
4949
- * @response `400` `ProblemDetails` Bad Request
4950
- * @response `403` `ProblemDetails` Forbidden
4951
- * @response `404` `ProblemDetails` Not Found
4952
- * @response `409` `ProblemDetails` Conflict
4953
- * @response `422` `ProblemDetails` Unprocessable Content
4954
- */
4955
- deleteSiteConfigurationCanvas: (siteConfigurationId, surface, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}`, method: "DELETE", query: query, secure: true }, params)),
4956
- /**
4957
- * No description
4958
- *
4959
- * @tags SiteConfigurationCanvases
4960
- * @name PreviewSiteConfigurationCanvas
4961
- * @summary Preview an unsaved canvas for one surface as a role would see it
4962
- * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
4963
- * @secure
4964
- * @response `200` `CanvasView` OK
4965
- * @response `400` `ProblemDetails` Bad Request
4966
- * @response `403` `ProblemDetails` Forbidden
4967
- * @response `404` `ProblemDetails` Not Found
4968
- * @response `422` `ProblemDetails` Unprocessable Content
4969
- */
4970
- previewSiteConfigurationCanvas: (siteConfigurationId, surface, data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/preview`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4971
- /**
4972
- * No description
4973
- *
4974
- * @tags SiteConfigurationCanvases
4975
- * @name GetSiteConfigurationCanvasVersions
4976
- * @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
4977
- * @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
4978
- * @secure
4979
- * @response `200` `(CanvasVersion)[]` OK
4980
- * @response `403` `ProblemDetails` Forbidden
4981
- * @response `404` `ProblemDetails` Not Found
4982
- * @response `422` `ProblemDetails` Unprocessable Content
4983
- */
4984
- getSiteConfigurationCanvasVersions: (siteConfigurationId, surface, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/versions`, method: "GET", secure: true, format: "json" }, params)),
4985
- /**
4986
- * No description
4987
- *
4988
- * @tags SiteConfigurationCanvases
4989
- * @name RestoreSiteConfigurationCanvasVersion
4990
- * @summary Restore a saved version of a site's canvas as a new version
4991
- * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
4992
- * @secure
4993
- * @response `200` `CanvasSurfaceState` OK
4994
- * @response `400` `ProblemDetails` Bad Request
4995
- * @response `403` `ProblemDetails` Forbidden
4996
- * @response `404` `ProblemDetails` Not Found
4997
- * @response `409` `ProblemDetails` Conflict
4998
- * @response `422` `ProblemDetails` Unprocessable Content
4999
- * @response `423` `ProblemDetails` Locked
5000
- */
5001
- restoreSiteConfigurationCanvasVersion: (siteConfigurationId, surface, version, data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/versions/${version}/restore`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5002
4841
  /**
5003
4842
  * No description
5004
4843
  *