@matech/thebigpos-sdk 3.15.0-dev-6028 → 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
  *
@@ -4893,98 +4838,6 @@ export class Api extends HttpClient {
4893
4838
  * @response `422` `UnprocessableEntity` Unprocessable Content
4894
4839
  */
4895
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)),
4896
- /**
4897
- * No description
4898
- *
4899
- * @tags SiteConfigurationCanvases
4900
- * @name GetSiteConfigurationCanvases
4901
- * @summary Get a site's canvases: own, inherited and effective per surface
4902
- * @request GET:/api/site-configurations/{siteConfigurationId}/canvases
4903
- * @secure
4904
- * @response `200` `SiteConfigurationCanvases` OK
4905
- * @response `403` `ProblemDetails` Forbidden
4906
- * @response `404` `ProblemDetails` Not Found
4907
- */
4908
- getSiteConfigurationCanvases: (siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases`, method: "GET", secure: true, format: "json" }, params)),
4909
- /**
4910
- * @description The request is the canvas's whole state: leaving out forkedFromSiteConfigurationID and forkedFromVersion clears them, and isBehindInherited with them.
4911
- *
4912
- * @tags SiteConfigurationCanvases
4913
- * @name SaveSiteConfigurationCanvas
4914
- * @summary Save a site's canvas for one surface
4915
- * @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
4916
- * @secure
4917
- * @response `200` `CanvasSurfaceState` OK
4918
- * @response `400` `ProblemDetails` Bad Request
4919
- * @response `403` `ProblemDetails` Forbidden
4920
- * @response `404` `ProblemDetails` Not Found
4921
- * @response `409` `ProblemDetails` Conflict
4922
- * @response `422` `ProblemDetails` Unprocessable Content
4923
- * @response `423` `ProblemDetails` Locked
4924
- */
4925
- 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)),
4926
- /**
4927
- * No description
4928
- *
4929
- * @tags SiteConfigurationCanvases
4930
- * @name DeleteSiteConfigurationCanvas
4931
- * @summary Delete a site's own canvas for a surface, its boards or its Loan Details tabs, so it inherits again
4932
- * @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
4933
- * @secure
4934
- * @response `204` `void` No Content
4935
- * @response `400` `ProblemDetails` Bad Request
4936
- * @response `403` `ProblemDetails` Forbidden
4937
- * @response `404` `ProblemDetails` Not Found
4938
- * @response `409` `ProblemDetails` Conflict
4939
- * @response `422` `ProblemDetails` Unprocessable Content
4940
- */
4941
- deleteSiteConfigurationCanvas: (siteConfigurationId, surface, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}`, method: "DELETE", query: query, secure: true }, params)),
4942
- /**
4943
- * No description
4944
- *
4945
- * @tags SiteConfigurationCanvases
4946
- * @name PreviewSiteConfigurationCanvas
4947
- * @summary Preview an unsaved canvas for one surface as a role would see it
4948
- * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
4949
- * @secure
4950
- * @response `200` `CanvasView` OK
4951
- * @response `400` `ProblemDetails` Bad Request
4952
- * @response `403` `ProblemDetails` Forbidden
4953
- * @response `404` `ProblemDetails` Not Found
4954
- * @response `422` `ProblemDetails` Unprocessable Content
4955
- */
4956
- 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)),
4957
- /**
4958
- * No description
4959
- *
4960
- * @tags SiteConfigurationCanvases
4961
- * @name GetSiteConfigurationCanvasVersions
4962
- * @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
4963
- * @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
4964
- * @secure
4965
- * @response `200` `(CanvasVersion)[]` OK
4966
- * @response `403` `ProblemDetails` Forbidden
4967
- * @response `404` `ProblemDetails` Not Found
4968
- * @response `422` `ProblemDetails` Unprocessable Content
4969
- */
4970
- getSiteConfigurationCanvasVersions: (siteConfigurationId, surface, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/versions`, method: "GET", secure: true, format: "json" }, params)),
4971
- /**
4972
- * No description
4973
- *
4974
- * @tags SiteConfigurationCanvases
4975
- * @name RestoreSiteConfigurationCanvasVersion
4976
- * @summary Restore a saved version of a site's canvas as a new version
4977
- * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
4978
- * @secure
4979
- * @response `200` `CanvasSurfaceState` OK
4980
- * @response `400` `ProblemDetails` Bad Request
4981
- * @response `403` `ProblemDetails` Forbidden
4982
- * @response `404` `ProblemDetails` Not Found
4983
- * @response `409` `ProblemDetails` Conflict
4984
- * @response `422` `ProblemDetails` Unprocessable Content
4985
- * @response `423` `ProblemDetails` Locked
4986
- */
4987
- 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)),
4988
4841
  /**
4989
4842
  * No description
4990
4843
  *