@erp-galoper/types 1.0.2074 → 1.0.2076

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 +17 -23
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -610,7 +610,7 @@ export interface paths {
610
610
  *
611
611
  * Supports filtering items by document:
612
612
  * - Provide documentModel (e.g., 'salesorder', 'salesinvoice', 'purchaseorder') and documentId
613
- * - The endpoint will automatically detect if the model has 'items' or 'details' relation
613
+ * - The endpoint will automatically detect if the model has 'items', 'details', or 'lines' relation
614
614
  * - Returns only the items that are present in the specified document
615
615
  *
616
616
  * Optional ``syncableOnlineItems``: standalone/template items only — same gate as
@@ -632,7 +632,7 @@ export interface paths {
632
632
  * - 400: {"message": "Error applying filter {error}", "code": "invalidFilterFormat"}
633
633
  * - {"message": "documentId is required when documentModel is provided", "code": "documentIdRequired"}
634
634
  * - {"message": "Invalid document model: {model}", "code": "invalidDocumentModel"}
635
- * - {"message": "Model {model} does not have 'items' or 'details' relation", "code": "noItemsRelation"}
635
+ * - {"message": "Model {model} does not have 'items', 'details', or 'lines' relation", "code": "noItemsRelation"}
636
636
  * - {"message": "{items/details} of {model} do not have 'item' field", "code": "noItemField"}
637
637
  * - {"message": "Error applying pagination {error}", "code": "paginationError"}
638
638
  * - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
@@ -62650,11 +62650,8 @@ export interface components {
62650
62650
  movementType: components["schemas"]["MovementTypeEnum"];
62651
62651
  /** @description Linked source document type when applicable. */
62652
62652
  sourceDocumentType?: components["schemas"]["SourceDocumentTypeEnum"] | null;
62653
- /**
62654
- * Sourcedocumentid
62655
- * @description Linked source document UUID when applicable.
62656
- */
62657
- sourceDocumentId?: string | null;
62653
+ /** @description Linked source document id and serial, resolved from content type and object id. */
62654
+ sourceDocument?: components["schemas"]["InventoryMovementSourceDocumentSchema"] | null;
62658
62655
  /** @description Party type for return movements: customer or supplier. */
62659
62656
  partyType?: components["schemas"]["PartyTypeEnum"] | null;
62660
62657
  /** @description Populated for goodsDelivery and salesReturn documents. */
@@ -62662,22 +62659,6 @@ export interface components {
62662
62659
  /** @description Populated for goodsReceipt and purchaseReturn documents. */
62663
62660
  supplier?: components["schemas"]["ChildSupplierSharedSchema"] | null;
62664
62661
  warehouse: components["schemas"]["WarehouseSummaryInfo"];
62665
- /** @description Linked sales order for goodsDelivery movements. */
62666
- salesOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62667
- /** @description Linked sales invoice for goodsDelivery movements. */
62668
- salesInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62669
- /** @description Linked purchase order for goodsReceipt movements. */
62670
- purchaseOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62671
- /** @description Linked purchase invoice for goodsReceipt movements. */
62672
- purchaseInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62673
- /** @description Linked sales return invoice for salesReturn movements. */
62674
- salesReturnInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62675
- /** @description Linked sales return order for salesReturn movements. */
62676
- salesReturnOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62677
- /** @description Linked purchase return invoice for purchaseReturn movements. */
62678
- purchaseReturnInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62679
- /** @description Linked purchase return order for purchaseReturn movements. */
62680
- purchaseReturnOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62681
62662
  /** Referencenumber */
62682
62663
  referenceNumber?: string | null;
62683
62664
  /** @description Shipment status for goodsDelivery movements. */
@@ -62717,6 +62698,19 @@ export interface components {
62717
62698
  */
62718
62699
  items: components["schemas"]["MovementLineSchema"][];
62719
62700
  };
62701
+ /** InventoryMovementSourceDocumentSchema */
62702
+ InventoryMovementSourceDocumentSchema: {
62703
+ /**
62704
+ * Id
62705
+ * Format: uuid
62706
+ */
62707
+ id: string;
62708
+ /**
62709
+ * Serial
62710
+ * @description Serial number of the linked source document.
62711
+ */
62712
+ serial: string;
62713
+ };
62720
62714
  /** MovementLineSchema */
62721
62715
  MovementLineSchema: {
62722
62716
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2074",
3
+ "version": "1.0.2076",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [