@erp-galoper/types 1.0.1906 → 1.0.1908

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.
Files changed (2) hide show
  1. package/openapi.ts +8 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -2380,7 +2380,7 @@ export interface paths {
2380
2380
  };
2381
2381
  /**
2382
2382
  * Get Logs
2383
- * @description Endpoint to get logs for a specific model.
2383
+ * @description Endpoint to get logs for a specific model or all models when logModelName is omitted.
2384
2384
  *
2385
2385
  * Possible Responses:
2386
2386
  * - 200: LogsResponseSchema
@@ -14510,6 +14510,7 @@ export interface paths {
14510
14510
  * - profitRequired
14511
14511
  * - itemDoesNotExist
14512
14512
  * - itemInactive
14513
+ * - itemIsNotAllowedForSale
14513
14514
  * - customerOrRegionOrGroupRequired",
14514
14515
  * - customerGroupMismatch
14515
14516
  * - customerRegionMismatch
@@ -14641,6 +14642,7 @@ export interface paths {
14641
14642
  * - profitRequired
14642
14643
  * - itemDoesNotExist
14643
14644
  * - itemInactive
14645
+ * - itemIsNotAllowedForSale
14644
14646
  * - customerOrRegionOrGroupRequired",
14645
14647
  * - customerGroupMismatch
14646
14648
  * - customerRegionMismatch
@@ -49181,6 +49183,8 @@ export interface components {
49181
49183
  * @description ID of the item to which the pricing is applied
49182
49184
  * get items from /api/v1/inventory/items :
49183
49185
  * filter by :
49186
+ * - active equal to true
49187
+ * - allowSales equal to true
49184
49188
  * - viewType equal to flat, role not equal to template
49185
49189
  * - item can be filtered by: name, barcode, sku code or short name
49186
49190
  */
@@ -67599,8 +67603,9 @@ export interface operations {
67599
67603
  };
67600
67604
  common_views_get_logs: {
67601
67605
  parameters: {
67602
- query: {
67603
- 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";
67606
+ query?: {
67607
+ /** @description Filter by module/model. When omitted, logs from all modules are returned. */
67608
+ logModelName?: components["schemas"]["LogModelName"] | null;
67604
67609
  logType?: "Created" | "Changed" | "Deleted";
67605
67610
  /** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
67606
67611
  periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1906",
3
+ "version": "1.0.1908",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],