@erp-galoper/types 1.0.1671 → 1.0.1673
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 +5 -45
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -12736,10 +12736,6 @@ export interface paths {
|
|
|
12736
12736
|
* - serialNumberExists
|
|
12737
12737
|
* - batchNumberExists
|
|
12738
12738
|
* - goodsReceiptNote+item+itemPackage+unitOfMeasureConflict
|
|
12739
|
-
* - internalTransferNotApproved
|
|
12740
|
-
* - internalTransferShouldBeAssociatedWithTransferRequest
|
|
12741
|
-
* - invalidInternalTransfer
|
|
12742
|
-
* - warehouseShouldBeTheDestinationWarehouseInInternalTransfer
|
|
12743
12739
|
*
|
|
12744
12740
|
* - 403: - permissionDenied
|
|
12745
12741
|
* - noBranchAccess
|
|
@@ -12817,10 +12813,6 @@ export interface paths {
|
|
|
12817
12813
|
* - serialNumberExists
|
|
12818
12814
|
* - batchNumberExists
|
|
12819
12815
|
* - goodsReceiptNote+item+itemPackage+unitOfMeasureConflict
|
|
12820
|
-
* - internalTransferNotApproved
|
|
12821
|
-
* - internalTransferShouldBeAssociatedWithTransferRequest
|
|
12822
|
-
* - invalidInternalTransfer
|
|
12823
|
-
* - warehouseShouldBeTheDestinationWarehouseInInternalTransfer
|
|
12824
12816
|
*
|
|
12825
12817
|
* - 403: - permissionDenied
|
|
12826
12818
|
* - noBranchAccess
|
|
@@ -44321,9 +44313,7 @@ export interface components {
|
|
|
44321
44313
|
* Format: date
|
|
44322
44314
|
*/
|
|
44323
44315
|
date: string;
|
|
44324
|
-
|
|
44325
|
-
supplier: components["schemas"]["ChildSupplierSharedSchema"] | null;
|
|
44326
|
-
internalTransfer: components["schemas"]["InternalTransferSharedSchema"] | null;
|
|
44316
|
+
supplier: components["schemas"]["ChildSupplierSharedSchema"];
|
|
44327
44317
|
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
44328
44318
|
/** @description Linked purchase order ID */
|
|
44329
44319
|
purchaseOrder?: components["schemas"]["PurchaseOrderSharedSchema"] | null;
|
|
@@ -44347,16 +44337,6 @@ export interface components {
|
|
|
44347
44337
|
*/
|
|
44348
44338
|
items: components["schemas"]["GoodsReceiptNoteItemsSchema"][];
|
|
44349
44339
|
};
|
|
44350
|
-
/** InternalTransferSharedSchema */
|
|
44351
|
-
InternalTransferSharedSchema: {
|
|
44352
|
-
/** Id */
|
|
44353
|
-
id: number;
|
|
44354
|
-
/** Serialnumber */
|
|
44355
|
-
serialNumber: string;
|
|
44356
|
-
transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
|
|
44357
|
-
fromWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
44358
|
-
toWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
44359
|
-
};
|
|
44360
44340
|
/** ItemSharedSchema */
|
|
44361
44341
|
ItemSharedSchema: {
|
|
44362
44342
|
/** Id */
|
|
@@ -44398,11 +44378,6 @@ export interface components {
|
|
|
44398
44378
|
/** Serialnumber */
|
|
44399
44379
|
serialNumber: string;
|
|
44400
44380
|
};
|
|
44401
|
-
/**
|
|
44402
|
-
* ReceivedFromEnum
|
|
44403
|
-
* @enum {string}
|
|
44404
|
-
*/
|
|
44405
|
-
ReceivedFromEnum: "supplier" | "internalTransfer";
|
|
44406
44381
|
/** CreateOrUpdateGoodsReceiptNoteItemTrackingSchema */
|
|
44407
44382
|
CreateOrUpdateGoodsReceiptNoteItemTrackingSchema: {
|
|
44408
44383
|
/**
|
|
@@ -44489,43 +44464,28 @@ export interface components {
|
|
|
44489
44464
|
* Format: date
|
|
44490
44465
|
*/
|
|
44491
44466
|
date: string;
|
|
44492
|
-
/**
|
|
44493
|
-
* @description - 'supplier' if the goods receipt is from a supplier (purchase order or purchase invoice)
|
|
44494
|
-
* - 'internalTransfer' if the goods receipt is from an internal transfer
|
|
44495
|
-
* @default supplier
|
|
44496
|
-
*/
|
|
44497
|
-
receivedFrom: components["schemas"]["ReceivedFromEnum"];
|
|
44498
|
-
/**
|
|
44499
|
-
* Internaltransfer
|
|
44500
|
-
* @description - visible and required if receivedFrom is 'internalTransfer'
|
|
44501
|
-
* - Api to get internal transfers:
|
|
44502
|
-
* api/v1/inventory/transfer and filter by approvalStatus equals to {approved} or {notRequired} and transferRequest not equals to {null} and transferRequest.fulfillmentStage not equals to {received}
|
|
44503
|
-
*/
|
|
44504
|
-
internalTransfer?: number;
|
|
44505
44467
|
/**
|
|
44506
44468
|
* Supplier
|
|
44507
|
-
* @description
|
|
44508
|
-
* if from invoice or order supplier should be the same
|
|
44469
|
+
* @description if from invoice or order supplier should be the same
|
|
44509
44470
|
* else suppliers should be filtered by document_type='goodsReceiptNote'
|
|
44510
44471
|
*/
|
|
44511
|
-
supplier
|
|
44472
|
+
supplier: number;
|
|
44512
44473
|
/**
|
|
44513
44474
|
* Warehouse
|
|
44514
44475
|
* @description - Api route to get warehouses:
|
|
44515
44476
|
* - from /me, should be filtered by branch
|
|
44516
|
-
* - if receivedFrom is 'internalTransfer' warehouse should be same as the destination warehouse (to warehouse) of internal transfer
|
|
44517
44477
|
*/
|
|
44518
44478
|
warehouse: number;
|
|
44519
44479
|
/**
|
|
44520
44480
|
* Purchaseorder
|
|
44521
|
-
* @description - if goods_receipt_note_source is purchase_order
|
|
44481
|
+
* @description - if goods_receipt_note_source is purchase_order,
|
|
44522
44482
|
* - filter by receiving status not equal to received and approval status equals to approved or not_required
|
|
44523
44483
|
* - when getting the purchase order, use query param grn = true
|
|
44524
44484
|
*/
|
|
44525
44485
|
purchaseOrder?: string | null;
|
|
44526
44486
|
/**
|
|
44527
44487
|
* Purchaseinvoice
|
|
44528
|
-
* @description - if goods_receipt_note_source is purchase_invoice
|
|
44488
|
+
* @description - if goods_receipt_note_source is purchase_invoice,
|
|
44529
44489
|
* - filter by receiving status not equal to received and approval status equals to approved or not_required
|
|
44530
44490
|
* - when getting the purchase invoice, use query param grn = true
|
|
44531
44491
|
*/
|