@erp-galoper/types 1.0.1860 → 1.0.1862
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 +68 -68
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2380,26 +2380,20 @@ export interface paths {
|
|
|
2380
2380
|
};
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Get Logs
|
|
2383
|
-
* @description Endpoint to get logs
|
|
2384
|
-
* Query Parameters:
|
|
2385
|
-
* - logModelName (optional): Filter by specific model name from LogModelName enum. If not provided, returns logs from all models in the enum.
|
|
2386
|
-
* REQUIRED when documentId is provided.
|
|
2387
|
-
* - logType (optional): Filter by log type (Created, Changed, Deleted)
|
|
2388
|
-
* - startDate (optional): Filter from date (YYYY-MM-DD)
|
|
2389
|
-
* - endDate (optional): Filter to date (YYYY-MM-DD)
|
|
2390
|
-
* - user (optional): Filter by user ID
|
|
2391
|
-
* - documentId (optional): Filter by specific document ID (UUID). Requires logModelName to be specified.
|
|
2392
|
-
* - page (optional): Page number (default: 1)
|
|
2393
|
-
* - pageSize (optional): Number of items per page (default: 20, max: 500)
|
|
2383
|
+
* @description Endpoint to get logs for a specific model.
|
|
2394
2384
|
*
|
|
2395
2385
|
* Possible Responses:
|
|
2396
2386
|
* - 200: LogsResponseSchema
|
|
2397
|
-
* - 400: missingLogModelName (when documentId is provided without logModelName)
|
|
2398
2387
|
* - 403: permissionDenied
|
|
2388
|
+
* - 400:
|
|
2389
|
+
* - startDateAndEndDateAreRequiredForCustomPeriodType
|
|
2390
|
+
* - startDateShouldBeGreaterThanEndDate
|
|
2391
|
+
* - invalidFilterFormat
|
|
2392
|
+
* - paginationError
|
|
2399
2393
|
* - 500: internalServerError
|
|
2400
2394
|
*
|
|
2401
|
-
*
|
|
2402
|
-
* logs
|
|
2395
|
+
* Permission Key:
|
|
2396
|
+
* logs: ["view"]
|
|
2403
2397
|
*/
|
|
2404
2398
|
get: operations["common_views_get_logs"];
|
|
2405
2399
|
put?: never;
|
|
@@ -58884,10 +58878,10 @@ export interface components {
|
|
|
58884
58878
|
/** DetailedMovementSummarySchema */
|
|
58885
58879
|
DetailedMovementSummarySchema: {
|
|
58886
58880
|
/**
|
|
58887
|
-
*
|
|
58881
|
+
* Openingquantity
|
|
58888
58882
|
* @default 0
|
|
58889
58883
|
*/
|
|
58890
|
-
|
|
58884
|
+
openingQuantity: number;
|
|
58891
58885
|
/**
|
|
58892
58886
|
* Inwardmovements
|
|
58893
58887
|
* @default 0
|
|
@@ -58899,10 +58893,10 @@ export interface components {
|
|
|
58899
58893
|
*/
|
|
58900
58894
|
outwardMovements: number;
|
|
58901
58895
|
/**
|
|
58902
|
-
*
|
|
58896
|
+
* Closingquantity
|
|
58903
58897
|
* @default 0
|
|
58904
58898
|
*/
|
|
58905
|
-
|
|
58899
|
+
closingQuantity: number;
|
|
58906
58900
|
};
|
|
58907
58901
|
/** DocumentAccount */
|
|
58908
58902
|
DocumentAccount: {
|
|
@@ -58967,48 +58961,8 @@ export interface components {
|
|
|
58967
58961
|
* @default []
|
|
58968
58962
|
*/
|
|
58969
58963
|
packedMovements: components["schemas"]["PackedMovementsGroupSchema"][];
|
|
58970
|
-
|
|
58971
|
-
|
|
58972
|
-
/** ItemMovementSummarySchema */
|
|
58973
|
-
ItemMovementSummarySchema: {
|
|
58974
|
-
/**
|
|
58975
|
-
* Openingbalance
|
|
58976
|
-
* @default 0
|
|
58977
|
-
*/
|
|
58978
|
-
openingBalance: number;
|
|
58979
|
-
/**
|
|
58980
|
-
* @default {
|
|
58981
|
-
* "opening_balance": 0,
|
|
58982
|
-
* "inward_movements": 0,
|
|
58983
|
-
* "outward_movements": 0,
|
|
58984
|
-
* "closing_balance": 0
|
|
58985
|
-
* }
|
|
58986
|
-
*/
|
|
58987
|
-
unpacked: components["schemas"]["DetailedMovementSummarySchema"];
|
|
58988
|
-
/**
|
|
58989
|
-
* @default {
|
|
58990
|
-
* "opening_balance": 0,
|
|
58991
|
-
* "inward_movements": 0,
|
|
58992
|
-
* "outward_movements": 0,
|
|
58993
|
-
* "closing_balance": 0
|
|
58994
|
-
* }
|
|
58995
|
-
*/
|
|
58996
|
-
packed: components["schemas"]["DetailedMovementSummarySchema"];
|
|
58997
|
-
/**
|
|
58998
|
-
* Closingbalance
|
|
58999
|
-
* @default 0
|
|
59000
|
-
*/
|
|
59001
|
-
closingBalance: number;
|
|
59002
|
-
/**
|
|
59003
|
-
* Totalinward
|
|
59004
|
-
* @default 0
|
|
59005
|
-
*/
|
|
59006
|
-
totalInward: number;
|
|
59007
|
-
/**
|
|
59008
|
-
* Totaloutward
|
|
59009
|
-
* @default 0
|
|
59010
|
-
*/
|
|
59011
|
-
totalOutward: number;
|
|
58964
|
+
/** Summary */
|
|
58965
|
+
summary: components["schemas"]["UOMMovementSummarySchema"][];
|
|
59012
58966
|
};
|
|
59013
58967
|
/**
|
|
59014
58968
|
* MovementAccountType
|
|
@@ -59063,6 +59017,48 @@ export interface components {
|
|
|
59063
59017
|
*/
|
|
59064
59018
|
movements: components["schemas"]["MovementTransactionSchema"][];
|
|
59065
59019
|
};
|
|
59020
|
+
/** UOMMovementSummarySchema */
|
|
59021
|
+
UOMMovementSummarySchema: {
|
|
59022
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
59023
|
+
/**
|
|
59024
|
+
* Openingquantity
|
|
59025
|
+
* @default 0
|
|
59026
|
+
*/
|
|
59027
|
+
openingQuantity: number;
|
|
59028
|
+
/**
|
|
59029
|
+
* @default {
|
|
59030
|
+
* "opening_quantity": 0,
|
|
59031
|
+
* "inward_movements": 0,
|
|
59032
|
+
* "outward_movements": 0,
|
|
59033
|
+
* "closing_quantity": 0
|
|
59034
|
+
* }
|
|
59035
|
+
*/
|
|
59036
|
+
unpacked: components["schemas"]["DetailedMovementSummarySchema"];
|
|
59037
|
+
/**
|
|
59038
|
+
* @default {
|
|
59039
|
+
* "opening_quantity": 0,
|
|
59040
|
+
* "inward_movements": 0,
|
|
59041
|
+
* "outward_movements": 0,
|
|
59042
|
+
* "closing_quantity": 0
|
|
59043
|
+
* }
|
|
59044
|
+
*/
|
|
59045
|
+
packed: components["schemas"]["DetailedMovementSummarySchema"];
|
|
59046
|
+
/**
|
|
59047
|
+
* Closingquantity
|
|
59048
|
+
* @default 0
|
|
59049
|
+
*/
|
|
59050
|
+
closingQuantity: number;
|
|
59051
|
+
/**
|
|
59052
|
+
* Totalinward
|
|
59053
|
+
* @default 0
|
|
59054
|
+
*/
|
|
59055
|
+
totalInward: number;
|
|
59056
|
+
/**
|
|
59057
|
+
* Totaloutward
|
|
59058
|
+
* @default 0
|
|
59059
|
+
*/
|
|
59060
|
+
totalOutward: number;
|
|
59061
|
+
};
|
|
59066
59062
|
/** UnpackedMovementsGroupSchema */
|
|
59067
59063
|
UnpackedMovementsGroupSchema: {
|
|
59068
59064
|
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
@@ -67520,17 +67516,21 @@ export interface operations {
|
|
|
67520
67516
|
};
|
|
67521
67517
|
common_views_get_logs: {
|
|
67522
67518
|
parameters: {
|
|
67523
|
-
query
|
|
67524
|
-
logModelName
|
|
67519
|
+
query: {
|
|
67520
|
+
logModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "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" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder";
|
|
67525
67521
|
logType?: "Created" | "Changed" | "Deleted";
|
|
67526
|
-
|
|
67527
|
-
|
|
67522
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
67523
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
67524
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
67525
|
+
startDate?: string | null;
|
|
67526
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
67527
|
+
endDate?: string | null;
|
|
67528
|
+
/** @description Filter by user ID */
|
|
67528
67529
|
user?: string;
|
|
67530
|
+
/** @description Filter by specific document ID */
|
|
67529
67531
|
documentId?: string;
|
|
67530
|
-
/** @description
|
|
67531
|
-
|
|
67532
|
-
/** @description Page size */
|
|
67533
|
-
pageSize?: number;
|
|
67532
|
+
/** @description Search */
|
|
67533
|
+
search?: string | null;
|
|
67534
67534
|
};
|
|
67535
67535
|
header?: never;
|
|
67536
67536
|
path?: never;
|