@erp-galoper/main-package 1.0.124 → 1.0.125

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 +62 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -347,6 +347,18 @@ export interface paths {
347
347
  */
348
348
  get: operations["accounting_chartofaccount_views_get_account"];
349
349
  };
350
+ "/api/v1/common/transaction_types/": {
351
+ /**
352
+ * Get Transaction Types
353
+ * @description Endpoint to get transaction types
354
+ * possible responses:
355
+ * - 200:
356
+ * -success
357
+ * - 404:
358
+ * - galoperSettingDoesNotExist
359
+ */
360
+ get: operations["common_views_get_transaction_types"];
361
+ };
350
362
  "/api/v1/common/get_fiscal_year_end_date/": {
351
363
  /**
352
364
  * Get Fiscal Year End Date
@@ -1251,6 +1263,16 @@ export interface components {
1251
1263
  depth: number;
1252
1264
 
1253
1265
  };
1266
+ /** TransactionTypeOptionSchema */
1267
+ TransactionTypeOptionSchema: {
1268
+ option: components["schemas"]["TransactionTypesSchema"];
1269
+
1270
+ };
1271
+ /**
1272
+ * TransactionTypesSchema
1273
+ * @enum {string}
1274
+ */
1275
+ TransactionTypesSchema: "journalVoucher" | "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "returnCreditNote" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturnInvoice" | "returnDebitNote" | "advancePayment" | "Expense" | "openingBalance";
1254
1276
  /** FiscalYearCalculationOut */
1255
1277
  FiscalYearCalculationOut: {
1256
1278
  /** Fiscalyearmonthend */
@@ -1373,6 +1395,8 @@ export interface components {
1373
1395
  accountnumber: string;
1374
1396
  /** Depth */
1375
1397
  depth: number;
1398
+ /** Type */
1399
+ type: string;
1376
1400
 
1377
1401
  };
1378
1402
  /** ListAccountSchema */
@@ -1403,11 +1427,6 @@ export interface components {
1403
1427
  errors: components["schemas"]["ErrorMessageSchema"][];
1404
1428
 
1405
1429
  };
1406
- /**
1407
- * TransactionTypes
1408
- * @enum {string}
1409
- */
1410
- TransactionTypes: "JournalVoucher" | "SalesInvoice" | "DownPayment" | "ReceiptVoucher" | "SalesReturn" | "ReturnCreditNote" | "P-Inv" | "PaymentVoucher" | "P-Return" | "Return Debit Note" | "Advance Payment" | "Exp_inv" | "OpeningBalance";
1411
1430
  /** BranchDetails */
1412
1431
  BranchDetails: {
1413
1432
  /** Id */
@@ -1484,11 +1503,6 @@ export interface components {
1484
1503
  description?: string | null;
1485
1504
 
1486
1505
  };
1487
- /**
1488
- * TransactionTypesSchema
1489
- * @enum {string}
1490
- */
1491
- TransactionTypesSchema: "journal_voucher" | "sales_invoice" | "down_payment" | "receipt_voucher" | "sales_return_invoice" | "return_credit_note" | "purchase_invoice" | "payment_voucher" | "purchase_return_invoice" | "return_debit_note" | "advance_payment" | "Expense" | "opening_balance";
1492
1506
  /** CurrencyList */
1493
1507
  CurrencyList: {
1494
1508
  /** Name */
@@ -1978,7 +1992,7 @@ export interface components {
1978
1992
  /**
1979
1993
  * Id
1980
1994
  * Format: uuid
1981
- * @example af5a8bfe-6199-4926-8eff-7cbdb41bb2bc
1995
+ * @example fefedeae-6931-4178-b1d4-585f01094448
1982
1996
  */
1983
1997
  id: string;
1984
1998
  /**
@@ -3323,6 +3337,25 @@ export interface operations {
3323
3337
  };
3324
3338
  };
3325
3339
  };
3340
+ /**
3341
+ * Get Transaction Types
3342
+ * @description Endpoint to get transaction types
3343
+ * possible responses:
3344
+ * - 200:
3345
+ * -success
3346
+ * - 404:
3347
+ * - galoperSettingDoesNotExist
3348
+ */
3349
+ common_views_get_transaction_types: {
3350
+ responses: {
3351
+ /** @description OK */
3352
+ 200: {
3353
+ content: {
3354
+ "application/json": components["schemas"]["TransactionTypeOptionSchema"][];
3355
+ };
3356
+ };
3357
+ };
3358
+ };
3326
3359
  /**
3327
3360
  * Get Fiscal Year End Date
3328
3361
  * @description Endpoint for fetching fiscal year month end and fiscal year end day.
@@ -3744,7 +3777,6 @@ export interface operations {
3744
3777
  page?: number;
3745
3778
  /** @description Page size */
3746
3779
  pageSize?: number;
3747
- fields?: string[];
3748
3780
  search?: string;
3749
3781
  };
3750
3782
  };
@@ -3798,12 +3830,13 @@ export interface operations {
3798
3830
  parameters: {
3799
3831
  query: {
3800
3832
  /** @description ID of account */
3801
- fromAccount: number;
3833
+ fromAccountId: number;
3834
+ /** @description Type of account */
3835
+ fromAccountType: string;
3802
3836
  /** @description Page number */
3803
3837
  page?: number;
3804
3838
  /** @description Page size */
3805
3839
  pageSize?: number;
3806
- fields?: string[];
3807
3840
  search?: string;
3808
3841
  };
3809
3842
  };
@@ -3859,12 +3892,24 @@ export interface operations {
3859
3892
  reports_accounting_reports_general_ledger_report: {
3860
3893
  parameters: {
3861
3894
  query: {
3862
- fromAccount?: number;
3863
- toAccount?: number;
3895
+ /**
3896
+ * @description ID of account
3897
+ * @example 86
3898
+ */
3899
+ fromAccountId: number;
3900
+ /** @description Type of account */
3901
+ fromAccountType: string;
3902
+ /**
3903
+ * @description ID of account
3904
+ * @example 132
3905
+ */
3906
+ ToAccountId: number;
3907
+ /** @description Type of account */
3908
+ ToAccountType: string;
3864
3909
  fromDate?: string;
3865
3910
  toDate?: string;
3866
3911
  hideReversed?: boolean;
3867
- transactionTypes: ("JournalVoucher" | "SalesInvoice" | "DownPayment" | "ReceiptVoucher" | "SalesReturn" | "ReturnCreditNote" | "P-Inv" | "PaymentVoucher" | "P-Return" | "Return Debit Note" | "Advance Payment" | "Exp_inv" | "OpeningBalance")[];
3912
+ transactionTypes: ("journalVoucher" | "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "returnCreditNote" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturnInvoice" | "returnDebitNote" | "advancePayment" | "Expense" | "openingBalance")[];
3868
3913
  /**
3869
3914
  * @example [
3870
3915
  * 1
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.124",
3
+ "version": "1.0.125",
4
4
  "main": "openapi.ts"
5
5
  }