@erp-galoper/types 1.0.1012 → 1.0.1014

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 +14 -4
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -47744,7 +47744,10 @@ export interface components {
47744
47744
  /** Notes */
47745
47745
  notes?: string;
47746
47746
  status: components["schemas"]["InternalStatusChoices"];
47747
- /** Items */
47747
+ /**
47748
+ * Items
47749
+ * @description when applies on is salesInvoice only one entry is allowed
47750
+ */
47748
47751
  items: components["schemas"]["SalesCreditNoteItemCreateSchema"][];
47749
47752
  };
47750
47753
  /** SalesCreditNoteItemCreateSchema */
@@ -47765,6 +47768,7 @@ export interface components {
47765
47768
  * - Always required except when reason is postSalesDiscountOrAllowances and appliesOn salesInvoice
47766
47769
  * API Endpoints for sales invoice item Retrieval:
47767
47770
  * - Use the API: /api/v1/sales/invoices/{invoice-id}/ where type is salesCreditNote and get items from field items
47771
+ * - sales invoice item should not be duplicated in items list
47768
47772
  *
47769
47773
  */
47770
47774
  salesInvoiceItem?: string;
@@ -47856,6 +47860,7 @@ export interface components {
47856
47860
  * - Always required except when reason is postSalesDiscountOrAllowances and appliesOn salesInvoice
47857
47861
  * API Endpoints for sales invoice item Retrieval:
47858
47862
  * - Use the API: /api/v1/sales/invoices/{invoice-id}/ where type is salesCreditNote and get items from field items
47863
+ * - sales invoice item should not be duplicated in items list
47859
47864
  *
47860
47865
  */
47861
47866
  salesInvoiceItem?: string;
@@ -47930,7 +47935,10 @@ export interface components {
47930
47935
  /** Notes */
47931
47936
  notes?: string;
47932
47937
  status: components["schemas"]["InternalStatusChoices"];
47933
- /** Items */
47938
+ /**
47939
+ * Items
47940
+ * @description when applies on is salesInvoice only one entry is allowed
47941
+ */
47934
47942
  items: components["schemas"]["SalesCreditNoteItemUpdateSchema"][];
47935
47943
  };
47936
47944
  /** SalesCreditNoteDeleteSchema */
@@ -60587,7 +60595,8 @@ export interface operations {
60587
60595
  fromAccount: string;
60588
60596
  /** @description Use the '/api/v1/common/posting_accounts/' endpoint with 'type=General' to retrieve valid accounts, and filter the accounts to include only those with an account_number greater than the one selected in from_account. you have to send the account number of the account you want to end with. */
60589
60597
  toAccount: string;
60590
- transactionStatus: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60598
+ /** @description default should be with "active" entries */
60599
+ transactionStatus?: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60591
60600
  transactionTypes: ("journalVoucher" | "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "salesCreditNote" | "purchaseInvoice" | "advancePayment" | "paymentVoucher" | "purchaseReturnInvoice" | "purchaseCreditNote")[];
60592
60601
  branches: number[];
60593
60602
  showAccountsWithZeroBalance: boolean;
@@ -60655,7 +60664,8 @@ export interface operations {
60655
60664
  fromDate: string;
60656
60665
  /** @description To date */
60657
60666
  toDate: string;
60658
- transactionStatus: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60667
+ /** @description default should be with active entries */
60668
+ transactionStatus?: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
60659
60669
  /** @description Include opening balance */
60660
60670
  withOpeningBalance: boolean;
60661
60671
  branches: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1012",
3
+ "version": "1.0.1014",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],