@maxvision/maxerp-api-client
Advanced tools
Comparing version 1.16.4 to 1.17.0
17
Api.ts
@@ -1328,2 +1328,19 @@ /* eslint-disable */ | ||
* @tags Customer Management | ||
* @name GetCustomerContactById | ||
* @summary get customer contact by customer id and contact id | ||
* @request GET:/customers/{customerId}/contacts/{contactId} | ||
* @secure | ||
*/ | ||
getCustomerContactById: (customerId: number, contactId: number, params: RequestParams = {}) => | ||
this.http.request<ERPSuccessResDTOCustomerContactDetailResDTO, ERPErrorResDTO>({ | ||
path: `/customers/${customerId}/contacts/${contactId}`, | ||
method: "GET", | ||
secure: true, | ||
...params, | ||
}), | ||
/** | ||
* No description | ||
* | ||
* @tags Customer Management | ||
* @name GetCustomerLogsById | ||
@@ -1330,0 +1347,0 @@ * @summary get customer logs by id |
@@ -867,2 +867,12 @@ export interface ERPCustomerContactCreateReqDTO { | ||
* @tags Customer Management | ||
* @name GetCustomerContactById | ||
* @summary get customer contact by customer id and contact id | ||
* @request GET:/customers/{customerId}/contacts/{contactId} | ||
* @secure | ||
*/ | ||
getCustomerContactById: (customerId: number, contactId: number, params?: RequestParams) => Promise<AxiosResponse<ERPSuccessResDTOCustomerContactDetailResDTO, any>>; | ||
/** | ||
* No description | ||
* | ||
* @tags Customer Management | ||
* @name GetCustomerLogsById | ||
@@ -869,0 +879,0 @@ * @summary get customer logs by id |
@@ -312,2 +312,15 @@ "use strict"; | ||
* @tags Customer Management | ||
* @name GetCustomerContactById | ||
* @summary get customer contact by customer id and contact id | ||
* @request GET:/customers/{customerId}/contacts/{contactId} | ||
* @secure | ||
*/ | ||
getCustomerContactById: function (customerId, contactId, params) { | ||
if (params === void 0) { params = {}; } | ||
return _this.http.request(__assign({ path: "/customers/".concat(customerId, "/contacts/").concat(contactId), method: "GET", secure: true }, params)); | ||
}, | ||
/** | ||
* No description | ||
* | ||
* @tags Customer Management | ||
* @name GetCustomerLogsById | ||
@@ -314,0 +327,0 @@ * @summary get customer logs by id |
{ | ||
"name": "@maxvision/maxerp-api-client", | ||
"version": "1.16.4", | ||
"version": "1.17.0", | ||
"description": "Api client for Max Erp API", | ||
@@ -5,0 +5,0 @@ "main": "dist/Api.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145085
4333