@erp-galoper/types 1.0.2063 → 1.0.2065
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.
- package/openapi.ts +10 -101
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -62765,9 +62765,7 @@ export interface components {
|
|
|
62765
62765
|
*
|
|
62766
62766
|
* Notes:
|
|
62767
62767
|
* - All linked documents are stored on the model as source_document (type + id).
|
|
62768
|
-
* -
|
|
62769
|
-
* - For salesReturn and purchaseReturn, provide sourceDocumentId only; sourceDocumentType is
|
|
62770
|
-
* derived from inventory settings.
|
|
62768
|
+
* - Provide sourceDocumentId only; sourceDocumentType is derived from settings based on movementType.
|
|
62771
62769
|
*/
|
|
62772
62770
|
CreateOrUpdateInventoryMovementSchema: {
|
|
62773
62771
|
/** @description Movement type: goodsDelivery, goodsReceipt, salesReturn, or purchaseReturn. */
|
|
@@ -62830,20 +62828,14 @@ export interface components {
|
|
|
62830
62828
|
* - Otherwise filter suppliers by document_type='goodsReceiptNote'.
|
|
62831
62829
|
*/
|
|
62832
62830
|
supplier?: string | null;
|
|
62833
|
-
/**
|
|
62834
|
-
* @description Required for goodsDelivery and goodsReceipt when linking to a source document.
|
|
62835
|
-
* - goodsDelivery: salesOrder or salesInvoice, depending on goods_delivery_note_source.
|
|
62836
|
-
* - goodsReceipt: purchaseOrder or purchaseInvoice, depending on goods_receipt_note_source.
|
|
62837
|
-
* For salesReturn and purchaseReturn this is derived from settings and should be omitted.
|
|
62838
|
-
*/
|
|
62839
|
-
sourceDocumentType?: components["schemas"]["SourceDocumentTypeEnum"] | null;
|
|
62840
62831
|
/**
|
|
62841
62832
|
* Sourcedocumentid
|
|
62842
62833
|
* @description UUID of the linked source document. All movement types store this on source_document.
|
|
62843
|
-
*
|
|
62844
|
-
* -
|
|
62845
|
-
* -
|
|
62846
|
-
*
|
|
62834
|
+
* Source document type is derived from settings based on movementType:
|
|
62835
|
+
* - goodsDelivery: sales order or sales invoice, depending on goods_delivery_note_source.
|
|
62836
|
+
* - goodsReceipt: purchase order or purchase invoice, depending on goods_receipt_note_source.
|
|
62837
|
+
* - salesReturn / purchaseReturn: return invoice or return order, depending on settings.
|
|
62838
|
+
* Fetch eligible return lines from GET /api/v1/inventory/item-movements/source-lines/.
|
|
62847
62839
|
*/
|
|
62848
62840
|
sourceDocumentId?: string | null;
|
|
62849
62841
|
/**
|
|
@@ -62861,7 +62853,7 @@ export interface components {
|
|
|
62861
62853
|
id?: string | null;
|
|
62862
62854
|
/**
|
|
62863
62855
|
* Sourcelineid
|
|
62864
|
-
* @description Required for salesReturn and purchaseReturn. Fetch eligible lines from GET /api/v1/inventory/
|
|
62856
|
+
* @description Required for salesReturn and purchaseReturn. Fetch eligible lines from GET /api/v1/inventory/item-movements/source-lines/ using sourceDocumentId, then use each line id as sourceLineId.
|
|
62865
62857
|
*/
|
|
62866
62858
|
sourceLineId?: string | null;
|
|
62867
62859
|
/**
|
|
@@ -62965,11 +62957,6 @@ export interface components {
|
|
|
62965
62957
|
* @enum {string}
|
|
62966
62958
|
*/
|
|
62967
62959
|
MovementTypeEnum: "goodsDelivery" | "goodsReceipt" | "salesReturn" | "purchaseReturn";
|
|
62968
|
-
/**
|
|
62969
|
-
* SourceDocumentTypeEnum
|
|
62970
|
-
* @enum {string}
|
|
62971
|
-
*/
|
|
62972
|
-
SourceDocumentTypeEnum: "salesOrder" | "salesInvoice" | "purchaseOrder" | "purchaseInvoice" | "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
|
|
62973
62960
|
/**
|
|
62974
62961
|
* StockStatusEnum
|
|
62975
62962
|
* @enum {string}
|
|
@@ -62984,83 +62971,7 @@ export interface components {
|
|
|
62984
62971
|
InventoryMovementListSchema: {
|
|
62985
62972
|
info: components["schemas"]["PageInfoSchema"];
|
|
62986
62973
|
/** Results */
|
|
62987
|
-
results: components["schemas"]["
|
|
62988
|
-
};
|
|
62989
|
-
/** InventoryMovementSummarySchema */
|
|
62990
|
-
InventoryMovementSummarySchema: {
|
|
62991
|
-
/**
|
|
62992
|
-
* Datecreated
|
|
62993
|
-
* Format: date-time
|
|
62994
|
-
*/
|
|
62995
|
-
dateCreated: string;
|
|
62996
|
-
/** Datemodified */
|
|
62997
|
-
dateModified: string | null;
|
|
62998
|
-
createdBy: components["schemas"]["RecordUserSchema"];
|
|
62999
|
-
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
63000
|
-
/**
|
|
63001
|
-
* Id
|
|
63002
|
-
* Format: uuid
|
|
63003
|
-
*/
|
|
63004
|
-
id: string;
|
|
63005
|
-
/** Serialnumber */
|
|
63006
|
-
serialNumber: string;
|
|
63007
|
-
/**
|
|
63008
|
-
* Movementtype
|
|
63009
|
-
* @description Movement type of the document.
|
|
63010
|
-
*/
|
|
63011
|
-
movementType: string;
|
|
63012
|
-
/**
|
|
63013
|
-
* Sourcedocumenttype
|
|
63014
|
-
* @description Linked source document type when applicable.
|
|
63015
|
-
*/
|
|
63016
|
-
sourceDocumentType?: string | null;
|
|
63017
|
-
/**
|
|
63018
|
-
* Sourcedocumentid
|
|
63019
|
-
* @description Linked source document UUID when applicable.
|
|
63020
|
-
*/
|
|
63021
|
-
sourceDocumentId?: string | null;
|
|
63022
|
-
/** @description Party type for return movements: customer or supplier. */
|
|
63023
|
-
partyType?: components["schemas"]["PartyTypeEnum"] | null;
|
|
63024
|
-
/** @description Populated for goodsDelivery and salesReturn documents. */
|
|
63025
|
-
customer?: components["schemas"]["CustomerSharedSchema"] | null;
|
|
63026
|
-
/** @description Populated for goodsReceipt and purchaseReturn documents. */
|
|
63027
|
-
supplier?: components["schemas"]["ChildSupplierSharedSchema"] | null;
|
|
63028
|
-
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
63029
|
-
/** @description Linked sales order for goodsDelivery movements. */
|
|
63030
|
-
salesOrder?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
63031
|
-
/** @description Linked sales invoice for goodsDelivery movements. */
|
|
63032
|
-
salesInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
63033
|
-
/** @description Linked purchase order for goodsReceipt movements. */
|
|
63034
|
-
purchaseOrder?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
63035
|
-
/** @description Linked purchase invoice for goodsReceipt movements. */
|
|
63036
|
-
purchaseInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
63037
|
-
/** Referencenumber */
|
|
63038
|
-
referenceNumber?: string | null;
|
|
63039
|
-
/** @description Shipment status for goodsDelivery movements. */
|
|
63040
|
-
shipmentStatus?: components["schemas"]["ShipmentStatusEnum"] | null;
|
|
63041
|
-
/**
|
|
63042
|
-
* Date
|
|
63043
|
-
* Format: date
|
|
63044
|
-
*/
|
|
63045
|
-
date: string;
|
|
63046
|
-
/** Status */
|
|
63047
|
-
status: string;
|
|
63048
|
-
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
63049
|
-
/**
|
|
63050
|
-
* Description
|
|
63051
|
-
* @description Detailed description of the inventory movement.
|
|
63052
|
-
*/
|
|
63053
|
-
description?: string | null;
|
|
63054
|
-
/**
|
|
63055
|
-
* Notes
|
|
63056
|
-
* @description Additional notes related to the inventory movement.
|
|
63057
|
-
*/
|
|
63058
|
-
notes?: string | null;
|
|
63059
|
-
/**
|
|
63060
|
-
* Attachments
|
|
63061
|
-
* @description List of attachment file paths linked to the inventory movement.
|
|
63062
|
-
*/
|
|
63063
|
-
attachments?: string[] | null;
|
|
62974
|
+
results: components["schemas"]["InventoryMovementSchema"][];
|
|
63064
62975
|
};
|
|
63065
62976
|
/** InventoryMovementSourceLineSchema */
|
|
63066
62977
|
InventoryMovementSourceLineSchema: {
|
|
@@ -109269,11 +109180,9 @@ export interface operations {
|
|
|
109269
109180
|
inventory_inventory_movement_views_get_inventory_movement_source_lines: {
|
|
109270
109181
|
parameters: {
|
|
109271
109182
|
query: {
|
|
109272
|
-
/** @description Derived from settings: returnInvoice/returnOrder for sales, purchaseReturn/purchaseReturnOrder for purchase. */
|
|
109273
|
-
sourceDocumentType: "salesOrder" | "salesInvoice" | "purchaseOrder" | "purchaseInvoice" | "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
|
|
109274
109183
|
sourceDocumentId: string;
|
|
109275
|
-
/** @description Pass when editing an existing
|
|
109276
|
-
|
|
109184
|
+
/** @description Pass when editing an existing inventory movement to exclude already processed quantities. */
|
|
109185
|
+
documentId?: string | null;
|
|
109277
109186
|
};
|
|
109278
109187
|
header?: never;
|
|
109279
109188
|
path?: never;
|