@erp-galoper/types 1.0.621 → 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 +23 -5
  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
@@ -16574,6 +16575,7 @@ export interface paths {
16574
16575
  * - "salesInvoiceItemDoesNotExist"
16575
16576
  * - "salesReturnOrderShouldBeDraft"
16576
16577
  * - cannotReturnDeferredInvoice
16578
+ * - projectDoesNotExist
16577
16579
  * - 403: - "permissionDenied"
16578
16580
  * - "noModuleAccess"
16579
16581
  * - "noBranchAccess"
@@ -27575,7 +27577,7 @@ export interface components {
27575
27577
  /**
27576
27578
  * Id
27577
27579
  * Format: uuid
27578
- * @example ab26a5f1-de4f-4ac1-aed1-88e99c272a46
27580
+ * @example f4c53b7a-0026-4ac0-bbed-7770d4cb12e7
27579
27581
  */
27580
27582
  id: string;
27581
27583
  /**
@@ -35532,8 +35534,6 @@ export interface components {
35532
35534
  * @default 0
35533
35535
  */
35534
35536
  companyTotal: number;
35535
- /** @description visible when project module is active */
35536
- project: components["schemas"]["ProjectSummaryInfo"] | null;
35537
35537
  };
35538
35538
  /** PurchaseReturnInvoiceSchema */
35539
35539
  PurchaseReturnInvoiceSchema: {
@@ -35606,6 +35606,8 @@ export interface components {
35606
35606
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
35607
35607
  /** @description visible when supplier is not resident */
35608
35608
  tax: components["schemas"]["TaxSharedSchema"] | null;
35609
+ /** @description visible when project module is active */
35610
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
35609
35611
  /** Linkeddocuments */
35610
35612
  linkedDocuments?: {
35611
35613
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -35639,6 +35641,7 @@ export interface components {
35639
35641
  * @description This field is required when updating an existing item
35640
35642
  */
35641
35643
  id?: string | null;
35644
+ /** @description purchase invoices should be filtered by selected project */
35642
35645
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnInvoiceCreateSchema"];
35643
35646
  /**
35644
35647
  * Quantity
@@ -35667,6 +35670,11 @@ export interface components {
35667
35670
  * Format: date
35668
35671
  */
35669
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;
35670
35678
  /** Purchasereturnorder */
35671
35679
  purchaseReturnOrder?: string | null;
35672
35680
  /** Referencenumber */
@@ -35796,6 +35804,8 @@ export interface components {
35796
35804
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
35797
35805
  /** @description visible when supplier is not resident */
35798
35806
  tax: components["schemas"]["TaxSharedSchema"] | null;
35807
+ /** @description visible when project module is active */
35808
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
35799
35809
  };
35800
35810
  /** ReturnPurchaseInvoiceItemTotalCalculated */
35801
35811
  ReturnPurchaseInvoiceItemTotalCalculated: {
@@ -44141,8 +44151,6 @@ export interface components {
44141
44151
  * @default 0
44142
44152
  */
44143
44153
  companyTotal: string;
44144
- /** @description visible when project module is active */
44145
- project: components["schemas"]["ProjectSummaryInfo"] | null;
44146
44154
  };
44147
44155
  /** SalesReturnOrderSchema */
44148
44156
  SalesReturnOrderSchema: {
@@ -44216,6 +44224,8 @@ export interface components {
44216
44224
  canConvert: boolean;
44217
44225
  /** @description visible when customer is not resident */
44218
44226
  tax: components["schemas"]["TaxSharedSchema"] | null;
44227
+ /** @description visible when project module is active */
44228
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
44219
44229
  /**
44220
44230
  * Items
44221
44231
  * @default []
@@ -44257,6 +44267,11 @@ export interface components {
44257
44267
  customer?: number;
44258
44268
  /** Password */
44259
44269
  password: string | null;
44270
+ /**
44271
+ * Project
44272
+ * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
44273
+ */
44274
+ project?: number;
44260
44275
  /**
44261
44276
  * Date
44262
44277
  * Format: date
@@ -44401,6 +44416,8 @@ export interface components {
44401
44416
  canConvert: boolean;
44402
44417
  /** @description visible when customer is not resident */
44403
44418
  tax: components["schemas"]["TaxSharedSchema"] | null;
44419
+ /** @description visible when project module is active */
44420
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
44404
44421
  };
44405
44422
  /** SalesReturnOrderItemTotalCalculated */
44406
44423
  SalesReturnOrderItemTotalCalculated: {
@@ -44448,6 +44465,7 @@ export interface components {
44448
44465
  };
44449
44466
  /** CalculateSalesReturnOrderItemsSchema */
44450
44467
  CalculateSalesReturnOrderItemsSchema: {
44468
+ /** @description sales invoices should be filtered by selected project */
44451
44469
  salesInvoice: components["schemas"]["SalesInvoiceForReturnOrderCreateSchema"];
44452
44470
  /**
44453
44471
  * Quantity
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.621",
3
+ "version": "1.0.623",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],