@erp-galoper/types 1.0.619 → 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 +26 -5
  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
@@ -16733,6 +16735,7 @@ export interface paths {
16733
16735
  * - "salesInvoiceItemDoesNotExist"
16734
16736
  * - SalesInvoicesShouldHaveSameGlobalTaxRate
16735
16737
  * - cannotReturnDeferredInvoice
16738
+ * - projectDoesNotExist
16736
16739
  *
16737
16740
  * - 403: - "permissionDenied"
16738
16741
  * - "noModuleAccess"
@@ -16810,6 +16813,8 @@ export interface paths {
16810
16813
  * - "SalesReturnInvoiceShouldBeDraft"
16811
16814
  * - SalesInvoicesShouldHaveSameGlobalTaxRate
16812
16815
  * - cannotReturnDeferredInvoice
16816
+ * - projectDoesNotExist
16817
+ *
16813
16818
  * - 403: - "permissionDenied"
16814
16819
  * - "noModuleAccess"
16815
16820
  * - "noBranchAccess"
@@ -27570,7 +27575,7 @@ export interface components {
27570
27575
  /**
27571
27576
  * Id
27572
27577
  * Format: uuid
27573
- * @example 77a5fe00-97b0-46ef-b804-bf1dbc045861
27578
+ * @example ab26a5f1-de4f-4ac1-aed1-88e99c272a46
27574
27579
  */
27575
27580
  id: string;
27576
27581
  /**
@@ -33844,8 +33849,6 @@ export interface components {
33844
33849
  * @default 0
33845
33850
  */
33846
33851
  companyTotal: number;
33847
- /** @description visible when project module is active */
33848
- project: components["schemas"]["ProjectSummaryInfo"] | null;
33849
33852
  };
33850
33853
  /** PurchaseReturnOrderSchema */
33851
33854
  PurchaseReturnOrderSchema: {
@@ -33923,6 +33926,8 @@ export interface components {
33923
33926
  }[];
33924
33927
  /** @description visible when supplier is not resident */
33925
33928
  tax: components["schemas"]["TaxSharedSchema"] | null;
33929
+ /** @description visible when project module is active */
33930
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
33926
33931
  /**
33927
33932
  * Items
33928
33933
  * @default []
@@ -33936,6 +33941,7 @@ export interface components {
33936
33941
  * @description This field is required when updating an existing item
33937
33942
  */
33938
33943
  id?: string | null;
33944
+ /** @description purchase invoices should be filtered by selected project */
33939
33945
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnOrderCreateSchema"];
33940
33946
  /**
33941
33947
  * Quantity
@@ -33961,6 +33967,11 @@ export interface components {
33961
33967
  * Format: date
33962
33968
  */
33963
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;
33964
33975
  /** Referencenumber */
33965
33976
  referenceNumber?: string | null;
33966
33977
  /**
@@ -34091,6 +34102,8 @@ export interface components {
34091
34102
  /** Candelete */
34092
34103
  canDelete: boolean;
34093
34104
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
34105
+ /** @description visible when project module is active */
34106
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
34094
34107
  };
34095
34108
  /** ReturnPurchaseOrderItemTotalCalculated */
34096
34109
  ReturnPurchaseOrderItemTotalCalculated: {
@@ -44563,8 +44576,6 @@ export interface components {
44563
44576
  * @default 0
44564
44577
  */
44565
44578
  companyTotal: string;
44566
- /** @description visible when project module is active */
44567
- project: components["schemas"]["ProjectSummaryInfo"] | null;
44568
44579
  };
44569
44580
  /** SalesReturnInvoiceSchema */
44570
44581
  SalesReturnInvoiceSchema: {
@@ -44631,6 +44642,8 @@ export interface components {
44631
44642
  canDelete: boolean;
44632
44643
  /** @description visible when customer is not resident */
44633
44644
  tax: components["schemas"]["TaxSharedSchema"] | null;
44645
+ /** @description visible when project module is active */
44646
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
44634
44647
  /**
44635
44648
  * Items
44636
44649
  * @default []
@@ -44655,6 +44668,7 @@ export interface components {
44655
44668
  * @description This field is required when updating an existing item.
44656
44669
  */
44657
44670
  id?: string;
44671
+ /** @description sales invoices should be filtered by selected project */
44658
44672
  salesInvoice: components["schemas"]["SalesInvoiceForReturnInvoiceCreateSchema"];
44659
44673
  /**
44660
44674
  * Quantity
@@ -44679,6 +44693,11 @@ export interface components {
44679
44693
  customer?: number;
44680
44694
  /** Password */
44681
44695
  password?: string;
44696
+ /**
44697
+ * Project
44698
+ * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
44699
+ */
44700
+ project?: number;
44682
44701
  /**
44683
44702
  * Date
44684
44703
  * Format: date
@@ -44814,6 +44833,8 @@ export interface components {
44814
44833
  canDelete: boolean;
44815
44834
  /** @description visible when customer is not resident */
44816
44835
  tax: components["schemas"]["TaxSharedSchema"] | null;
44836
+ /** @description visible when project module is active */
44837
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
44817
44838
  };
44818
44839
  /** SalesReturnInvoiceItemTotalCalculated */
44819
44840
  SalesReturnInvoiceItemTotalCalculated: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.619",
3
+ "version": "1.0.621",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],