@maxvision/maxerp-api-client
Advanced tools
Comparing version 1.19.4 to 1.20.0
@@ -184,2 +184,10 @@ export interface ERPCustomerContactCreateReqDTO { | ||
} | ||
export interface ERPOrderLogResDTO { | ||
/** @format date-time */ | ||
createdAt?: string; | ||
/** @format int64 */ | ||
createdById?: number; | ||
logContent?: object; | ||
logType?: "CREATE" | "UPDATE"; | ||
} | ||
export interface ERPPasswordChangeReqDTO { | ||
@@ -388,2 +396,14 @@ email: string; | ||
} | ||
export interface ERPSuccessPageResDTOOrderLogResDTO { | ||
/** @format int32 */ | ||
code?: number; | ||
data?: ERPOrderLogResDTO[]; | ||
message?: string; | ||
/** @format date-time */ | ||
timestamp?: string; | ||
/** @format int64 */ | ||
totalElements?: number; | ||
/** @format int32 */ | ||
totalPages?: number; | ||
} | ||
export interface ERPSuccessPageResDTOPositionDetailResDTO { | ||
@@ -1046,2 +1066,30 @@ /** @format int32 */ | ||
getOrderDetail: (orderId: number, params?: RequestParams) => Promise<AxiosResponse<ERPSuccessResDTOOrderDetailResDTO, any>>; | ||
/** | ||
* No description | ||
* | ||
* @tags Order Controller | ||
* @name GetOrderLogs | ||
* @summary get order logs | ||
* @request GET:/orders/{orderId}/logs | ||
* @secure | ||
*/ | ||
getOrderLogs: (orderId: number, query?: { | ||
/** | ||
* Zero-based page index (0..N) | ||
* @min 0 | ||
* @default 0 | ||
*/ | ||
page?: number; | ||
/** | ||
* The size of the page to be returned | ||
* @min 1 | ||
* @default 20 | ||
*/ | ||
size?: number; | ||
/** | ||
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | ||
* @default ["createdAt,DESC"] | ||
*/ | ||
sort?: string[]; | ||
}, params?: RequestParams) => Promise<AxiosResponse<ERPSuccessPageResDTOOrderLogResDTO, any>>; | ||
}; | ||
@@ -1048,0 +1096,0 @@ products: { |
@@ -362,2 +362,15 @@ "use strict"; | ||
}, | ||
/** | ||
* No description | ||
* | ||
* @tags Order Controller | ||
* @name GetOrderLogs | ||
* @summary get order logs | ||
* @request GET:/orders/{orderId}/logs | ||
* @secure | ||
*/ | ||
getOrderLogs: function (orderId, query, params) { | ||
if (params === void 0) { params = {}; } | ||
return _this.http.request(__assign({ path: "/orders/".concat(orderId, "/logs"), method: "GET", query: query, secure: true }, params)); | ||
}, | ||
}; | ||
@@ -364,0 +377,0 @@ this.products = { |
{ | ||
"name": "@maxvision/maxerp-api-client", | ||
"version": "1.19.4", | ||
"version": "1.20.0", | ||
"description": "Api client for Max Erp API", | ||
@@ -5,0 +5,0 @@ "main": "dist/Api.js", |
Sorry, the diff of this file is too big to display
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
160016
4836