@erp-galoper/types 1.0.620 → 1.0.621

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 +13 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -10566,6 +10566,7 @@ export interface paths {
10566
10566
  * - quantityIsRequired
10567
10567
  * - unitPackageIsRequired
10568
10568
  * - purchaseInvoiceItemDoesNotHaveUnitPackage
10569
+ * - returnedPurchaseInvoicesShouldBelongsToSameProject
10569
10570
  *
10570
10571
  * - 403: - permissionDenied
10571
10572
  * - noBranchAccess
@@ -10646,6 +10647,7 @@ export interface paths {
10646
10647
  * - quantityIsRequired
10647
10648
  * - unitPackageIsRequired
10648
10649
  * - purchaseInvoiceItemDoesNotHaveUnitPackage
10650
+ * - returnedPurchaseInvoicesShouldBelongsToSameProject
10649
10651
  *
10650
10652
  * - 403: - permissionDenied
10651
10653
  * - noBranchAccess
@@ -27573,7 +27575,7 @@ export interface components {
27573
27575
  /**
27574
27576
  * Id
27575
27577
  * Format: uuid
27576
- * @example 43bf34c3-7e20-404b-8ea1-ebf3f567e14d
27578
+ * @example ab26a5f1-de4f-4ac1-aed1-88e99c272a46
27577
27579
  */
27578
27580
  id: string;
27579
27581
  /**
@@ -33847,8 +33849,6 @@ export interface components {
33847
33849
  * @default 0
33848
33850
  */
33849
33851
  companyTotal: number;
33850
- /** @description visible when project module is active */
33851
- project: components["schemas"]["ProjectSummaryInfo"] | null;
33852
33852
  };
33853
33853
  /** PurchaseReturnOrderSchema */
33854
33854
  PurchaseReturnOrderSchema: {
@@ -33926,6 +33926,8 @@ export interface components {
33926
33926
  }[];
33927
33927
  /** @description visible when supplier is not resident */
33928
33928
  tax: components["schemas"]["TaxSharedSchema"] | null;
33929
+ /** @description visible when project module is active */
33930
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
33929
33931
  /**
33930
33932
  * Items
33931
33933
  * @default []
@@ -33939,6 +33941,7 @@ export interface components {
33939
33941
  * @description This field is required when updating an existing item
33940
33942
  */
33941
33943
  id?: string | null;
33944
+ /** @description purchase invoices should be filtered by selected project */
33942
33945
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnOrderCreateSchema"];
33943
33946
  /**
33944
33947
  * Quantity
@@ -33964,6 +33967,11 @@ export interface components {
33964
33967
  * Format: date
33965
33968
  */
33966
33969
  date: string;
33970
+ /**
33971
+ * Project
33972
+ * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
33973
+ */
33974
+ project?: number;
33967
33975
  /** Referencenumber */
33968
33976
  referenceNumber?: string | null;
33969
33977
  /**
@@ -34094,6 +34102,8 @@ export interface components {
34094
34102
  /** Candelete */
34095
34103
  canDelete: boolean;
34096
34104
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
34105
+ /** @description visible when project module is active */
34106
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
34097
34107
  };
34098
34108
  /** ReturnPurchaseOrderItemTotalCalculated */
34099
34109
  ReturnPurchaseOrderItemTotalCalculated: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.620",
3
+ "version": "1.0.621",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],