@erp-galoper/types 1.0.1129 → 1.0.1131
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/openapi.ts +23 -10
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2231,7 +2231,7 @@ export interface paths {
|
|
|
2231
2231
|
patch?: never;
|
|
2232
2232
|
trace?: never;
|
|
2233
2233
|
};
|
|
2234
|
-
"/api/v1/common/logs/
|
|
2234
|
+
"/api/v1/common/logs/": {
|
|
2235
2235
|
parameters: {
|
|
2236
2236
|
query?: never;
|
|
2237
2237
|
header?: never;
|
|
@@ -2240,10 +2240,19 @@ export interface paths {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Get Logs
|
|
2243
|
-
* @description Endpoint to get logs.
|
|
2243
|
+
* @description Endpoint to get logs from all models or filter by specific model.
|
|
2244
|
+
* Query Parameters:
|
|
2245
|
+
* - logModelName (optional): Filter by specific model name from LogModelName enum. If not provided, returns logs from all models in the enum.
|
|
2246
|
+
* - logType (optional): Filter by log type (Created, Changed, Deleted)
|
|
2247
|
+
* - startDate (optional): Filter from date (YYYY-MM-DD)
|
|
2248
|
+
* - endDate (optional): Filter to date (YYYY-MM-DD)
|
|
2249
|
+
* - user (optional): Filter by user ID
|
|
2250
|
+
* - page (optional): Page number (default: 1)
|
|
2251
|
+
* - pageSize (optional): Number of items per page (default: 20, max: 500)
|
|
2252
|
+
*
|
|
2244
2253
|
* Possible Responses:
|
|
2245
2254
|
* - 200: LogsResponseSchema
|
|
2246
|
-
* -
|
|
2255
|
+
* - 400: paginationError
|
|
2247
2256
|
* - 500: internalServerError
|
|
2248
2257
|
*/
|
|
2249
2258
|
get: operations["common_views_get_logs"];
|
|
@@ -24955,6 +24964,7 @@ export interface components {
|
|
|
24955
24964
|
* @default []
|
|
24956
24965
|
*/
|
|
24957
24966
|
changes: components["schemas"]["modelChange"][];
|
|
24967
|
+
modelName: components["schemas"]["LogModelName"];
|
|
24958
24968
|
};
|
|
24959
24969
|
/** LogsResponseSchema */
|
|
24960
24970
|
LogsResponseSchema: {
|
|
@@ -52905,7 +52915,7 @@ export interface operations {
|
|
|
52905
52915
|
/** @description journal voucher id, required when isBatchExport is False */
|
|
52906
52916
|
id?: string;
|
|
52907
52917
|
/** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
|
|
52908
|
-
currencies: (
|
|
52918
|
+
currencies: (string | number | null)[];
|
|
52909
52919
|
};
|
|
52910
52920
|
header?: never;
|
|
52911
52921
|
path?: never;
|
|
@@ -53862,15 +53872,18 @@ export interface operations {
|
|
|
53862
53872
|
common_views_get_logs: {
|
|
53863
53873
|
parameters: {
|
|
53864
53874
|
query?: {
|
|
53875
|
+
logModelName?: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
|
|
53865
53876
|
logType?: "Created" | "Changed" | "Deleted";
|
|
53866
53877
|
startDate?: string;
|
|
53867
53878
|
endDate?: string;
|
|
53868
53879
|
user?: number;
|
|
53880
|
+
/** @description Page number */
|
|
53881
|
+
page?: number;
|
|
53882
|
+
/** @description Page size */
|
|
53883
|
+
pageSize?: number;
|
|
53869
53884
|
};
|
|
53870
53885
|
header?: never;
|
|
53871
|
-
path
|
|
53872
|
-
logModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission";
|
|
53873
|
-
};
|
|
53886
|
+
path?: never;
|
|
53874
53887
|
cookie?: never;
|
|
53875
53888
|
};
|
|
53876
53889
|
requestBody?: never;
|
|
@@ -53884,13 +53897,13 @@ export interface operations {
|
|
|
53884
53897
|
"application/json": components["schemas"]["LogsResponseSchema"];
|
|
53885
53898
|
};
|
|
53886
53899
|
};
|
|
53887
|
-
/** @description
|
|
53888
|
-
|
|
53900
|
+
/** @description Bad Request */
|
|
53901
|
+
400: {
|
|
53889
53902
|
headers: {
|
|
53890
53903
|
[name: string]: unknown;
|
|
53891
53904
|
};
|
|
53892
53905
|
content: {
|
|
53893
|
-
"application/json": components["schemas"]["
|
|
53906
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
53894
53907
|
};
|
|
53895
53908
|
};
|
|
53896
53909
|
/** @description Internal Server Error */
|