@erp-galoper/types 1.0.1644 → 1.0.1645

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 +44 -8
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -19051,6 +19051,10 @@ export interface paths {
19051
19051
  * - negativeEarningAccountShouldBeInCompanyCurrency
19052
19052
  * - positiveCumulativeEarningAccountShouldBeInCompanyCurrency
19053
19053
  * - negativeCumulativeEarningAccountShouldBeInCompanyCurrency
19054
+ * - deferredExpenseDoesNotExist
19055
+ * - prepaidExpenseDoesNotExist
19056
+ * - deferredExpenseShouldBeInCompanyCurrency
19057
+ * - prepaidExpenseShouldBeInCompanyCurrency
19054
19058
  */
19055
19059
  post: operations["erp_settings_accountingsetting_views_create_default_subsidiary_account"];
19056
19060
  delete?: never;
@@ -28337,7 +28341,7 @@ export interface components {
28337
28341
  * GeneralAccountsOptions
28338
28342
  * @enum {string}
28339
28343
  */
28340
- GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount";
28344
+ GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
28341
28345
  /** ExportSchema */
28342
28346
  ExportSchema: {
28343
28347
  /** Pdf */
@@ -28580,7 +28584,7 @@ export interface components {
28580
28584
  * RetrieveJournalEntryType
28581
28585
  * @enum {string}
28582
28586
  */
28583
- RetrieveJournalEntryType: "manualJournalVoucher" | "openingBalance" | "yearClosing" | "salesTaxClosing" | "advancePayment" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturn" | "creditNote" | "downPayment" | "salesInvoice" | "receiptVoucher" | "salesReturn" | "debitNote" | "expenses" | "salesDeferral" | "posSessionDiscrepancies" | "posOpeningSession" | "posClosingSession";
28587
+ RetrieveJournalEntryType: "manualJournalVoucher" | "openingBalance" | "yearClosing" | "salesTaxClosing" | "advancePayment" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturn" | "creditNote" | "downPayment" | "salesInvoice" | "receiptVoucher" | "salesReturn" | "debitNote" | "expenses" | "salesDeferral" | "expenseDeferral" | "posSessionDiscrepancies" | "posOpeningSession" | "posClosingSession";
28584
28588
  /**
28585
28589
  * StatusChoices
28586
28590
  * @enum {string}
@@ -35786,6 +35790,18 @@ export interface components {
35786
35790
  salesCogsOfGoodsReturnNonResident?: number | null;
35787
35791
  /** Salescogsofworksreturnnonresident */
35788
35792
  salesCogsOfWorksReturnNonResident?: number | null;
35793
+ /**
35794
+ * Deferredexpense
35795
+ * @description - deferred expense account id
35796
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=general&isActive=True
35797
+ */
35798
+ deferredExpense?: number | null;
35799
+ /**
35800
+ * Prepaidexpense
35801
+ * @description - prepaid expense account id
35802
+ * - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=general&isActive=True
35803
+ */
35804
+ prepaidExpense?: number | null;
35789
35805
  };
35790
35806
  /** ChartOfAccountInfoSchema */
35791
35807
  ChartOfAccountInfoSchema: {
@@ -36049,6 +36065,8 @@ export interface components {
36049
36065
  salesCogsOfWorksReturnResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
36050
36066
  salesCogsOfGoodsReturnNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
36051
36067
  salesCogsOfWorksReturnNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
36068
+ prepaidExpense: components["schemas"]["ChartOfAccountInfoSchema"] | null;
36069
+ deferredExpense: components["schemas"]["ChartOfAccountInfoSchema"] | null;
36052
36070
  };
36053
36071
  /**
36054
36072
  * SubsidiaryAccountListType
@@ -58394,6 +58412,10 @@ export interface components {
58394
58412
  /** Name */
58395
58413
  name: string;
58396
58414
  expenseAccount: components["schemas"]["ExpenseCategoryAccount"];
58415
+ /** @description visible when hasLimit is true */
58416
+ prepaidExpenseAccount: components["schemas"]["ExpenseCategoryAccount"] | null;
58417
+ /** @description visible when hasLimit is true */
58418
+ deferredExpenseAccount: components["schemas"]["ExpenseCategoryAccount"] | null;
58397
58419
  /** Haslimit */
58398
58420
  hasLimit: boolean;
58399
58421
  /** Limitamount */
@@ -58441,6 +58463,20 @@ export interface components {
58441
58463
  * - get accounts using route /api/v1/chart_of_account/?branchId=1&type=expenses
58442
58464
  */
58443
58465
  expenseAccount: number;
58466
+ /**
58467
+ * Prepaidexpenseaccount
58468
+ * @description - prepaid expense account id
58469
+ * - visible and required when hasLimit is true
58470
+ * - get accounts using route /api/v1/chart_of_account/?branchId=1&type=prepaidExpenses
58471
+ */
58472
+ prepaidExpenseAccount?: number;
58473
+ /**
58474
+ * Deferredexpenseaccount
58475
+ * @description - deferred expense account id
58476
+ * - visible and required when hasLimit is true
58477
+ * - get accounts using route /api/v1/chart_of_account/?branchId=1&type=deferredExpenses
58478
+ */
58479
+ deferredExpenseAccount?: number;
58444
58480
  /**
58445
58481
  * Haslimit
58446
58482
  * @description Flag to indicate if this category has a spending limit
@@ -58685,7 +58721,7 @@ export interface components {
58685
58721
  date: string;
58686
58722
  voucherType: components["schemas"]["ExpenseVoucherTypeEnum"];
58687
58723
  category: components["schemas"]["ExpenseCategorySummarySchema"];
58688
- department: components["schemas"]["DepartmentSummaryInfo"];
58724
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
58689
58725
  /** Primaryrate */
58690
58726
  primaryRate: string;
58691
58727
  /** Secondaryrate */
@@ -58875,7 +58911,7 @@ export interface components {
58875
58911
  * @description - Department id
58876
58912
  * - get departments using route /api/v1/departments/
58877
58913
  */
58878
- department: string;
58914
+ department?: string;
58879
58915
  /**
58880
58916
  * Category
58881
58917
  * Format: uuid
@@ -59058,7 +59094,7 @@ export interface components {
59058
59094
  date: string;
59059
59095
  voucherType: components["schemas"]["ExpenseVoucherTypeEnum"];
59060
59096
  category: components["schemas"]["ExpenseCategorySummarySchema"];
59061
- department: components["schemas"]["DepartmentSummaryInfo"];
59097
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
59062
59098
  /** Primaryrate */
59063
59099
  primaryRate: string;
59064
59100
  /** Secondaryrate */
@@ -62526,7 +62562,7 @@ export interface operations {
62526
62562
  parameters: {
62527
62563
  query: {
62528
62564
  branchId: number;
62529
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount";
62565
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
62530
62566
  accountId?: number;
62531
62567
  /** @description search by account number, name or type */
62532
62568
  search?: string;
@@ -62683,7 +62719,7 @@ export interface operations {
62683
62719
  parameters: {
62684
62720
  query: {
62685
62721
  branchId: number;
62686
- type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount";
62722
+ type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
62687
62723
  accountId?: number;
62688
62724
  /** @description required when type [cheque, cash, credit card] */
62689
62725
  supplierId?: number;
@@ -63030,7 +63066,7 @@ export interface operations {
63030
63066
  /** @description required when isBatchExport is True */
63031
63067
  status?: ("draft" | "posted" | "reverse" | "canceled" | "submitted")[];
63032
63068
  /** @description required when isBatchExport is True */
63033
- type?: ("manualJournalVoucher" | "openingBalance" | "yearClosing" | "salesTaxClosing" | "advancePayment" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturn" | "creditNote" | "downPayment" | "salesInvoice" | "receiptVoucher" | "salesReturn" | "debitNote" | "expenses" | "salesDeferral" | "posSessionDiscrepancies" | "posOpeningSession" | "posClosingSession")[];
63069
+ type?: ("manualJournalVoucher" | "openingBalance" | "yearClosing" | "salesTaxClosing" | "advancePayment" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturn" | "creditNote" | "downPayment" | "salesInvoice" | "receiptVoucher" | "salesReturn" | "debitNote" | "expenses" | "salesDeferral" | "expenseDeferral" | "posSessionDiscrepancies" | "posOpeningSession" | "posClosingSession")[];
63034
63070
  branchId: number;
63035
63071
  /** @description The value is true when export in list of journal vouchers, and value is false when export single journal voucher */
63036
63072
  isBatchExport: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1644",
3
+ "version": "1.0.1645",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],