@erp-galoper/types 1.0.583 → 1.0.584
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 +58 -63
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -11818,9 +11818,11 @@ export interface paths {
|
|
|
11818
11818
|
* Responses:
|
|
11819
11819
|
* - 200: GoodsReceiptNoteSchema
|
|
11820
11820
|
* - 400: - itemDoesNotExist
|
|
11821
|
-
* -
|
|
11822
|
-
* -
|
|
11821
|
+
* - itemWithUOMNotInPurchaseOrder
|
|
11822
|
+
* - itemWithUOMNotInPurchaseInvoice
|
|
11823
11823
|
* - quantityOrderedMismatch
|
|
11824
|
+
* - itemPackageMismatch
|
|
11825
|
+
* - unitOfMeasureMismatch
|
|
11824
11826
|
* - expiryDateRequired
|
|
11825
11827
|
* - serialNumbersQuantityMismatch
|
|
11826
11828
|
* - serialNumberRequiredForEachUnit
|
|
@@ -11892,9 +11894,11 @@ export interface paths {
|
|
|
11892
11894
|
* Responses:
|
|
11893
11895
|
* - 200: GoodsReceiptNoteSchema
|
|
11894
11896
|
* - 400: itemDoesNotExist
|
|
11895
|
-
* -
|
|
11896
|
-
* -
|
|
11897
|
+
* - itemWithUOMNotInPurchaseOrder
|
|
11898
|
+
* - itemWithUOMNotInPurchaseInvoice
|
|
11897
11899
|
* - quantityOrderedMismatch
|
|
11900
|
+
* - itemPackageMismatch
|
|
11901
|
+
* - unitOfMeasureMismatch
|
|
11898
11902
|
* - expiryDateRequired
|
|
11899
11903
|
* - serialNumbersQuantityMismatch
|
|
11900
11904
|
* - serialNumberRequiredForEachUnit
|
|
@@ -17270,6 +17274,10 @@ export interface paths {
|
|
|
17270
17274
|
* Responses:
|
|
17271
17275
|
* - 201: GoodsDeliveryNoteSchema
|
|
17272
17276
|
* - 400:
|
|
17277
|
+
* - itemWithUOMNotInSalesOrder
|
|
17278
|
+
* - itemWithUOMNotInSalesInvoice
|
|
17279
|
+
* - quantityOrderedMismatch
|
|
17280
|
+
* - itemPackageMismatch
|
|
17273
17281
|
* - quantityExceeded
|
|
17274
17282
|
* - trackingQuantityMismatch
|
|
17275
17283
|
* - batchDoesNotExist
|
|
@@ -17338,6 +17346,10 @@ export interface paths {
|
|
|
17338
17346
|
* Responses:
|
|
17339
17347
|
* - 200: GoodsDeliveryNoteSchema
|
|
17340
17348
|
* - 400:
|
|
17349
|
+
* - itemWithUOMNotInSalesOrder
|
|
17350
|
+
* - itemWithUOMNotInSalesInvoice
|
|
17351
|
+
* - quantityOrderedMismatch
|
|
17352
|
+
* - itemPackageMismatch
|
|
17341
17353
|
* - quantityExceeded
|
|
17342
17354
|
* - trackingQuantityMismatch
|
|
17343
17355
|
* - batchDoesNotExist
|
|
@@ -27422,7 +27434,7 @@ export interface components {
|
|
|
27422
27434
|
/**
|
|
27423
27435
|
* Id
|
|
27424
27436
|
* Format: uuid
|
|
27425
|
-
* @example
|
|
27437
|
+
* @example aeda4601-7deb-4fe6-8a1b-87504974771a
|
|
27426
27438
|
*/
|
|
27427
27439
|
id: string;
|
|
27428
27440
|
/**
|
|
@@ -35675,6 +35687,8 @@ export interface components {
|
|
|
35675
35687
|
*/
|
|
35676
35688
|
id: string;
|
|
35677
35689
|
item: components["schemas"]["ItemSharedSchema"];
|
|
35690
|
+
/** @description The unit of measure selected from the item's options */
|
|
35691
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
35678
35692
|
/** @description Tracking method: serial_number, batch, or quantity */
|
|
35679
35693
|
trackInventoryBy?: components["schemas"]["TrackingMethodChoices"] | null;
|
|
35680
35694
|
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
@@ -35781,7 +35795,11 @@ export interface components {
|
|
|
35781
35795
|
unitPackage?: number | null;
|
|
35782
35796
|
/**
|
|
35783
35797
|
* Quantity
|
|
35784
|
-
* @description
|
|
35798
|
+
* @description
|
|
35799
|
+
* - if tracked by serial number, quantity must be 1
|
|
35800
|
+
* - if tracked by quantity, quantity must be equal to quantity received,
|
|
35801
|
+
* - if tracked by batch, quantity can be any number but the sum of all quantities must be equal to quantity received,
|
|
35802
|
+
* - if unit_package is selected, quantity must be equal to unit_package * item_package quantity
|
|
35785
35803
|
* @default 1
|
|
35786
35804
|
*/
|
|
35787
35805
|
quantity: number | null;
|
|
@@ -35800,6 +35818,16 @@ export interface components {
|
|
|
35800
35818
|
id?: string | null;
|
|
35801
35819
|
/** Item */
|
|
35802
35820
|
item: number;
|
|
35821
|
+
/**
|
|
35822
|
+
* Unitofmeasure
|
|
35823
|
+
* @description
|
|
35824
|
+
* - case where only item selected:
|
|
35825
|
+
* - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultPurchaseUnitOfMeasure if applicable
|
|
35826
|
+
* - case where item package selected:
|
|
35827
|
+
* - input should be disabled, get unit of measure from itemPackage
|
|
35828
|
+
*
|
|
35829
|
+
*/
|
|
35830
|
+
unitOfMeasure: number;
|
|
35803
35831
|
/**
|
|
35804
35832
|
* Itempackage
|
|
35805
35833
|
* Format: uuid
|
|
@@ -35820,7 +35848,14 @@ export interface components {
|
|
|
35820
35848
|
quantityOrdered?: number | null;
|
|
35821
35849
|
/**
|
|
35822
35850
|
* Tracking
|
|
35823
|
-
* @description
|
|
35851
|
+
* @description
|
|
35852
|
+
* - if trackInventoryBy is serial_number, tracking must be a list of serial numbers with
|
|
35853
|
+
* quantity = 1 for each serial number, in case there is itemPackage selected, no of tracking must be equal to quantity received
|
|
35854
|
+
* - if trackInventoryBy is batch, tracking must be a list of batch numbers with
|
|
35855
|
+
* quantity = quantity received for each batch number
|
|
35856
|
+
* - if trackInventoryBy is quantity, tracking must be a list of quantities with
|
|
35857
|
+
* quantity = quantity received for each quantity
|
|
35858
|
+
*
|
|
35824
35859
|
*/
|
|
35825
35860
|
tracking: components["schemas"]["CreateOrUpdateGoodsReceiptNoteItemTrackingSchema"][];
|
|
35826
35861
|
};
|
|
@@ -35832,11 +35867,6 @@ export interface components {
|
|
|
35832
35867
|
* - Either purchaseOrder or purchaseInvoice must be provided.
|
|
35833
35868
|
*/
|
|
35834
35869
|
CreateOrUpdateGoodsReceiptSchema: {
|
|
35835
|
-
/**
|
|
35836
|
-
* Branch
|
|
35837
|
-
* @description Branch ID for the goods receipt
|
|
35838
|
-
*/
|
|
35839
|
-
branch: number;
|
|
35840
35870
|
/** Password */
|
|
35841
35871
|
password?: string | null;
|
|
35842
35872
|
/**
|
|
@@ -45452,6 +45482,8 @@ export interface components {
|
|
|
45452
45482
|
*/
|
|
45453
45483
|
id: string;
|
|
45454
45484
|
item: components["schemas"]["ItemSharedSchema"];
|
|
45485
|
+
/** @description The unit of measure selected from the item's options */
|
|
45486
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
45455
45487
|
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
45456
45488
|
/** Unitpackage */
|
|
45457
45489
|
unitPackage: number | null;
|
|
@@ -45559,6 +45591,16 @@ export interface components {
|
|
|
45559
45591
|
* @description If there is a linked invoice or order in the GDN, the item should be associated with that specific invoice or order.
|
|
45560
45592
|
*/
|
|
45561
45593
|
item: number;
|
|
45594
|
+
/**
|
|
45595
|
+
* Unitofmeasure
|
|
45596
|
+
* @description
|
|
45597
|
+
* - case where only item selected:
|
|
45598
|
+
* - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
|
|
45599
|
+
* - case where item package selected:
|
|
45600
|
+
* - input should be disabled, get unit of measure from itemPackage
|
|
45601
|
+
*
|
|
45602
|
+
*/
|
|
45603
|
+
unitOfMeasure: number;
|
|
45562
45604
|
/**
|
|
45563
45605
|
* Itempackage
|
|
45564
45606
|
* Format: uuid
|
|
@@ -45647,53 +45689,7 @@ export interface components {
|
|
|
45647
45689
|
GoodsDeliveryNoteListSchema: {
|
|
45648
45690
|
info: components["schemas"]["PageInfoSchema"];
|
|
45649
45691
|
/** Results */
|
|
45650
|
-
results: components["schemas"]["
|
|
45651
|
-
};
|
|
45652
|
-
/** GoodsDeliveryNoteWithItemForListSchema */
|
|
45653
|
-
GoodsDeliveryNoteWithItemForListSchema: {
|
|
45654
|
-
/**
|
|
45655
|
-
* Id
|
|
45656
|
-
* Format: uuid
|
|
45657
|
-
*/
|
|
45658
|
-
id: string;
|
|
45659
|
-
/** Serialnumber */
|
|
45660
|
-
serialNumber: string;
|
|
45661
|
-
/**
|
|
45662
|
-
* Date
|
|
45663
|
-
* Format: date
|
|
45664
|
-
*/
|
|
45665
|
-
date: string;
|
|
45666
|
-
customer: components["schemas"]["ChildSupplierSharedSchema"];
|
|
45667
|
-
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
45668
|
-
/** @description Linked sales order ID */
|
|
45669
|
-
salesOrder?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
45670
|
-
/** @description Linked sales invoice ID */
|
|
45671
|
-
salesInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
|
|
45672
|
-
/** Referencenumber */
|
|
45673
|
-
referenceNumber?: string | null;
|
|
45674
|
-
/**
|
|
45675
|
-
* Description
|
|
45676
|
-
* @description A description of the delivery note
|
|
45677
|
-
*/
|
|
45678
|
-
description: string | null;
|
|
45679
|
-
status: components["schemas"]["InternalStatusOnReturnValueChoices"];
|
|
45680
|
-
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
45681
|
-
/**
|
|
45682
|
-
* Attachments
|
|
45683
|
-
* @description A list of attachment file paths linked to the delivery note
|
|
45684
|
-
*/
|
|
45685
|
-
attachments: string[] | null;
|
|
45686
|
-
/**
|
|
45687
|
-
* Notes
|
|
45688
|
-
* @description Additional notes regarding the delivery note
|
|
45689
|
-
*/
|
|
45690
|
-
notes: string | null;
|
|
45691
|
-
/**
|
|
45692
|
-
* Items
|
|
45693
|
-
* @description List of items in the goods delivery note
|
|
45694
|
-
* @default []
|
|
45695
|
-
*/
|
|
45696
|
-
items: components["schemas"]["GoodsDeliveryNoteItemsSchema"][];
|
|
45692
|
+
results: components["schemas"]["GoodsDeliveryNoteSchema"][];
|
|
45697
45693
|
};
|
|
45698
45694
|
/** DefaultSubsidiaryAccountDetailSchema */
|
|
45699
45695
|
DefaultSubsidiaryAccountDetailSchema: {
|
|
@@ -70756,12 +70752,11 @@ export interface operations {
|
|
|
70756
70752
|
};
|
|
70757
70753
|
inventory_receipt_note_views_list_goods_receipt_notes: {
|
|
70758
70754
|
parameters: {
|
|
70759
|
-
query
|
|
70755
|
+
query?: {
|
|
70760
70756
|
page?: number;
|
|
70761
70757
|
pageSize?: number;
|
|
70762
70758
|
/** @description fields to search: reference_number, supplier name, serial_number, date, item name, supplier account number */
|
|
70763
70759
|
search?: string | null;
|
|
70764
|
-
branchId: number;
|
|
70765
70760
|
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
70766
70761
|
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
70767
70762
|
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
@@ -70826,8 +70821,8 @@ export interface operations {
|
|
|
70826
70821
|
};
|
|
70827
70822
|
};
|
|
70828
70823
|
responses: {
|
|
70829
|
-
/** @description
|
|
70830
|
-
|
|
70824
|
+
/** @description Created */
|
|
70825
|
+
201: {
|
|
70831
70826
|
headers: {
|
|
70832
70827
|
[name: string]: unknown;
|
|
70833
70828
|
};
|