@erp-galoper/types 1.0.622 → 1.0.623

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 +12 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -11546,6 +11546,7 @@ export interface paths {
11546
11546
  * - unitPackageIsRequired
11547
11547
  * - purchaseInvoiceItemDoesNotHaveUnitPackage
11548
11548
  * - purchaseInvoiceItemDoesNotExist
11549
+ * - returnedPurchaseInvoicesShouldBelongsToSameProject
11549
11550
  *
11550
11551
  * - 403: - permissionDenied
11551
11552
  * - noBranchAccess
@@ -27576,7 +27577,7 @@ export interface components {
27576
27577
  /**
27577
27578
  * Id
27578
27579
  * Format: uuid
27579
- * @example a41247db-8d51-400f-a844-55ad5a2b3601
27580
+ * @example f4c53b7a-0026-4ac0-bbed-7770d4cb12e7
27580
27581
  */
27581
27582
  id: string;
27582
27583
  /**
@@ -35533,8 +35534,6 @@ export interface components {
35533
35534
  * @default 0
35534
35535
  */
35535
35536
  companyTotal: number;
35536
- /** @description visible when project module is active */
35537
- project: components["schemas"]["ProjectSummaryInfo"] | null;
35538
35537
  };
35539
35538
  /** PurchaseReturnInvoiceSchema */
35540
35539
  PurchaseReturnInvoiceSchema: {
@@ -35607,6 +35606,8 @@ export interface components {
35607
35606
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
35608
35607
  /** @description visible when supplier is not resident */
35609
35608
  tax: components["schemas"]["TaxSharedSchema"] | null;
35609
+ /** @description visible when project module is active */
35610
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
35610
35611
  /** Linkeddocuments */
35611
35612
  linkedDocuments?: {
35612
35613
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -35640,6 +35641,7 @@ export interface components {
35640
35641
  * @description This field is required when updating an existing item
35641
35642
  */
35642
35643
  id?: string | null;
35644
+ /** @description purchase invoices should be filtered by selected project */
35643
35645
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnInvoiceCreateSchema"];
35644
35646
  /**
35645
35647
  * Quantity
@@ -35668,6 +35670,11 @@ export interface components {
35668
35670
  * Format: date
35669
35671
  */
35670
35672
  date: string;
35673
+ /**
35674
+ * Project
35675
+ * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
35676
+ */
35677
+ project?: number;
35671
35678
  /** Purchasereturnorder */
35672
35679
  purchaseReturnOrder?: string | null;
35673
35680
  /** Referencenumber */
@@ -35797,6 +35804,8 @@ export interface components {
35797
35804
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
35798
35805
  /** @description visible when supplier is not resident */
35799
35806
  tax: components["schemas"]["TaxSharedSchema"] | null;
35807
+ /** @description visible when project module is active */
35808
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
35800
35809
  };
35801
35810
  /** ReturnPurchaseInvoiceItemTotalCalculated */
35802
35811
  ReturnPurchaseInvoiceItemTotalCalculated: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.622",
3
+ "version": "1.0.623",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],