@erp-galoper/types 1.0.1507 → 1.0.1509

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 +79 -71
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -6884,6 +6884,32 @@ export interface paths {
6884
6884
  patch: operations["erp_settings_salesetting_shipping_method_views_update_shipping_method"];
6885
6885
  trace?: never;
6886
6886
  };
6887
+ "/api/v1/common/reasons/active-document-types/": {
6888
+ parameters: {
6889
+ query?: never;
6890
+ header?: never;
6891
+ path?: never;
6892
+ cookie?: never;
6893
+ };
6894
+ /**
6895
+ * Get Active Reason Types
6896
+ * @description Endpoint that Returns a filtered list of Reason Document Types based on which modules
6897
+ * (Purchase, Inventory, Sales) are currently enabled in Galoper Settings
6898
+ * Possible Responses:
6899
+ * - 200:
6900
+ * - success
6901
+ * - 500:
6902
+ * - internalServerError
6903
+ */
6904
+ get: operations["common_reason_views_get_active_reason_types"];
6905
+ put?: never;
6906
+ post?: never;
6907
+ delete?: never;
6908
+ options?: never;
6909
+ head?: never;
6910
+ patch?: never;
6911
+ trace?: never;
6912
+ };
6887
6913
  "/api/v1/common/reasons/": {
6888
6914
  parameters: {
6889
6915
  query?: never;
@@ -12806,6 +12832,7 @@ export interface paths {
12806
12832
  * @description Endpoint for deleting a goods receipt note
12807
12833
  * Responses:
12808
12834
  * - 204: None
12835
+ * - 400: serialOrBatchIsReferenced
12809
12836
  * - 403: permissionDenied
12810
12837
  * - noModuleAccess
12811
12838
  * - cantMakeActionOnLockedDocument
@@ -12839,6 +12866,7 @@ export interface paths {
12839
12866
  * @description Endpoint for setting the status of a goods receipt note to draft
12840
12867
  * Responses:
12841
12868
  * - 200: GoodsReceiptNoteSchema
12869
+ * - 400: serialOrBatchIsReferenced
12842
12870
  * - 403: "permissionDenied"
12843
12871
  * - "noModuleAccess"
12844
12872
  * - statusAlreadyDraft
@@ -12875,6 +12903,7 @@ export interface paths {
12875
12903
  * @description Endpoint for cancelling a goods receipt note
12876
12904
  * Responses:
12877
12905
  * - 200: GoodsReceiptNoteSchema
12906
+ * - 400: serialOrBatchIsReferenced
12878
12907
  * - 403: "permissionDenied"
12879
12908
  * - "noModuleAccess"
12880
12909
  * - statusAlreadyCanceled
@@ -23031,11 +23060,6 @@ export interface components {
23031
23060
  * @default []
23032
23061
  */
23033
23062
  expenses: components["schemas"]["BasePermissionsSchema_Expenses"];
23034
- /**
23035
- * @description notification actions
23036
- * @default []
23037
- */
23038
- notification: components["schemas"]["BasePermissionsSchema_Notification"];
23039
23063
  /**
23040
23064
  * @description pos actions
23041
23065
  * @default []
@@ -23068,6 +23092,12 @@ export interface components {
23068
23092
  * @default []
23069
23093
  */
23070
23094
  approval: Record<string, never>;
23095
+ /**
23096
+ * Notification
23097
+ * @description notification actions
23098
+ * @default []
23099
+ */
23100
+ notification: Record<string, never>;
23071
23101
  };
23072
23102
  /** BasePermissionsSchema_Accounting */
23073
23103
  BasePermissionsSchema_Accounting: {
@@ -23445,53 +23475,6 @@ export interface components {
23445
23475
  * @enum {string}
23446
23476
  */
23447
23477
  BasePermissionsSchema_Inventory_WarehouseEnum: "add" | "change" | "delete" | "view";
23448
- /** BasePermissionsSchema_Notification */
23449
- BasePermissionsSchema_Notification: {
23450
- /**
23451
- * Notification
23452
- * @description notification actions
23453
- * @default []
23454
- */
23455
- notification: components["schemas"]["BasePermissionsSchema_Notification_NotificationEnum"][];
23456
- /**
23457
- * Notificationrecipient
23458
- * @description notificationrecipient actions
23459
- * @default []
23460
- */
23461
- notificationrecipient: components["schemas"]["BasePermissionsSchema_Notification_NotificationrecipientEnum"][];
23462
- /**
23463
- * Read Notificationrecipient
23464
- * @description read_notificationrecipient actions
23465
- * @default []
23466
- */
23467
- read_notificationrecipient: components["schemas"]["BasePermissionsSchema_Notification_Read_notificationrecipientEnum"][];
23468
- /**
23469
- * Unread Notificationrecipient
23470
- * @description unread_notificationrecipient actions
23471
- * @default []
23472
- */
23473
- unread_notificationrecipient: components["schemas"]["BasePermissionsSchema_Notification_Unread_notificationrecipientEnum"][];
23474
- };
23475
- /**
23476
- * BasePermissionsSchema_Notification_NotificationEnum
23477
- * @enum {string}
23478
- */
23479
- BasePermissionsSchema_Notification_NotificationEnum: "add" | "change" | "delete" | "view";
23480
- /**
23481
- * BasePermissionsSchema_Notification_NotificationrecipientEnum
23482
- * @enum {string}
23483
- */
23484
- BasePermissionsSchema_Notification_NotificationrecipientEnum: "add" | "change" | "delete" | "view";
23485
- /**
23486
- * BasePermissionsSchema_Notification_Read_notificationrecipientEnum
23487
- * @constant
23488
- */
23489
- BasePermissionsSchema_Notification_Read_notificationrecipientEnum: "mark";
23490
- /**
23491
- * BasePermissionsSchema_Notification_Unread_notificationrecipientEnum
23492
- * @constant
23493
- */
23494
- BasePermissionsSchema_Notification_Unread_notificationrecipientEnum: "mark";
23495
23478
  /** BasePermissionsSchema_Pos */
23496
23479
  BasePermissionsSchema_Pos: {
23497
23480
  /**
@@ -24814,12 +24797,6 @@ export interface components {
24814
24797
  BasePermissionsSchema_Settings_Miscellaneous_ZoneEnum: "add" | "change" | "delete" | "view";
24815
24798
  /** BasePermissionsSchema_Settings_Notification */
24816
24799
  BasePermissionsSchema_Settings_Notification: {
24817
- /**
24818
- * Notificationsetting
24819
- * @description notificationsetting actions
24820
- * @default []
24821
- */
24822
- notificationsetting: components["schemas"]["BasePermissionsSchema_Settings_Notification_NotificationsettingEnum"][];
24823
24800
  /**
24824
24801
  * Reminderconfiguration
24825
24802
  * @description reminderconfiguration actions
@@ -24827,11 +24804,6 @@ export interface components {
24827
24804
  */
24828
24805
  reminderconfiguration: components["schemas"]["BasePermissionsSchema_Settings_Notification_ReminderconfigurationEnum"][];
24829
24806
  };
24830
- /**
24831
- * BasePermissionsSchema_Settings_Notification_NotificationsettingEnum
24832
- * @enum {string}
24833
- */
24834
- BasePermissionsSchema_Settings_Notification_NotificationsettingEnum: "add" | "change" | "delete" | "view";
24835
24807
  /**
24836
24808
  * BasePermissionsSchema_Settings_Notification_ReminderconfigurationEnum
24837
24809
  * @enum {string}
@@ -26892,6 +26864,11 @@ export interface components {
26892
26864
  * - visible when hasExpiryDate is true
26893
26865
  */
26894
26866
  alertDate?: number | null;
26867
+ /**
26868
+ * @description Get default value from inventory settings (/api/v1/settings/inventory/)
26869
+ * @default firstInFirstOut
26870
+ */
26871
+ costStrategy: components["schemas"]["CostStrategy"];
26895
26872
  /**
26896
26873
  * @description - fifo(First In, First Out): Items purchased or produced first are sold or used first
26897
26874
  * - lifo(Last In, First Out): Items purchased or produced most recently are sold or used first
@@ -28411,7 +28388,7 @@ export interface components {
28411
28388
  * ApprovalChoices
28412
28389
  * @enum {string}
28413
28390
  */
28414
- ApprovalChoices: "draft" | "pending" | "approved" | "rejected" | "notRequired" | "noResponse";
28391
+ ApprovalChoices: "draft" | "pending" | "approved" | "rejected" | "notRequired";
28415
28392
  /** JournalVoucherResponse */
28416
28393
  JournalVoucherResponse: {
28417
28394
  /** Message */
@@ -29023,7 +29000,7 @@ export interface components {
29023
29000
  * LogModelName
29024
29001
  * @enum {string}
29025
29002
  */
29026
- 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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
29003
+ 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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
29027
29004
  /**
29028
29005
  * LogType
29029
29006
  * @enum {string}
@@ -29093,7 +29070,7 @@ export interface components {
29093
29070
  * CombinedModelName
29094
29071
  * @enum {string}
29095
29072
  */
29096
- CombinedModelName: "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" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
29073
+ CombinedModelName: "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" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
29097
29074
  /** CustomFieldsList */
29098
29075
  CustomFieldsList: {
29099
29076
  info: components["schemas"]["PageInfoSchema"];
@@ -34692,6 +34669,7 @@ export interface components {
34692
34669
  };
34693
34670
  /** CreateReasonSchema */
34694
34671
  CreateReasonSchema: {
34672
+ /** @description get active document types of active moduels using route /api/v1/common/reasons/active-document-types */
34695
34673
  documentType: components["schemas"]["ReasonDocumentTYpe"];
34696
34674
  /** Title */
34697
34675
  title: string;
@@ -34732,7 +34710,8 @@ export interface components {
34732
34710
  };
34733
34711
  /** UpdateReasonSchema */
34734
34712
  UpdateReasonSchema: {
34735
- documentType?: components["schemas"]["ReasonDocumentTYpe"] | null;
34713
+ /** @description get active document types of active moduels using route /api/v1/common/reasons/active-document-types */
34714
+ documentType: components["schemas"]["ReasonDocumentTYpe"];
34736
34715
  /** Title */
34737
34716
  title?: string | null;
34738
34717
  /** Description */
@@ -55655,12 +55634,12 @@ export interface components {
55655
55634
  * CombinedModelName
55656
55635
  * @enum {string}
55657
55636
  */
55658
- common__schemas__CombinedModelName: "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" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
55637
+ common__schemas__CombinedModelName: "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" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
55659
55638
  /**
55660
55639
  * CombinedModelName
55661
55640
  * @enum {string}
55662
55641
  */
55663
- common__shared_schemas__CombinedModelName: "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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
55642
+ common__shared_schemas__CombinedModelName: "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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
55664
55643
  /** TasksListSchema */
55665
55644
  TasksListSchema: {
55666
55645
  info: components["schemas"]["PageInfoSchema"];
@@ -62263,7 +62242,7 @@ export interface operations {
62263
62242
  common_views_get_logs: {
62264
62243
  parameters: {
62265
62244
  query?: {
62266
- 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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
62245
+ 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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
62267
62246
  logType?: "Created" | "Changed" | "Deleted";
62268
62247
  startDate?: string;
62269
62248
  endDate?: string;
@@ -62321,7 +62300,7 @@ export interface operations {
62321
62300
  common_views_get_model_names: {
62322
62301
  parameters: {
62323
62302
  query?: {
62324
- CombinedModelNames?: "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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
62303
+ CombinedModelNames?: "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" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
62325
62304
  };
62326
62305
  header?: never;
62327
62306
  path?: never;
@@ -72453,6 +72432,35 @@ export interface operations {
72453
72432
  };
72454
72433
  };
72455
72434
  };
72435
+ common_reason_views_get_active_reason_types: {
72436
+ parameters: {
72437
+ query?: never;
72438
+ header?: never;
72439
+ path?: never;
72440
+ cookie?: never;
72441
+ };
72442
+ requestBody?: never;
72443
+ responses: {
72444
+ /** @description OK */
72445
+ 200: {
72446
+ headers: {
72447
+ [name: string]: unknown;
72448
+ };
72449
+ content: {
72450
+ "application/json": string[];
72451
+ };
72452
+ };
72453
+ /** @description Internal Server Error */
72454
+ 500: {
72455
+ headers: {
72456
+ [name: string]: unknown;
72457
+ };
72458
+ content: {
72459
+ "application/json": components["schemas"]["MessageResponse"];
72460
+ };
72461
+ };
72462
+ };
72463
+ };
72456
72464
  common_reason_views_list_reasons: {
72457
72465
  parameters: {
72458
72466
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1507",
3
+ "version": "1.0.1509",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],