@erp-galoper/types 1.0.1799 → 1.0.1800
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 +200 -28
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4820,7 +4820,7 @@ export interface paths {
|
|
|
4820
4820
|
* @description Endpoint for setting the status of an internal transfer document to draft
|
|
4821
4821
|
* Responses:
|
|
4822
4822
|
* - 200: {"message": "Internal Transfer status set to draft.", "code": "statusSetToDraft"}
|
|
4823
|
-
* - 400: {"message": "Internal Transfer status is already draft.", "code": "statusAlreadyDraft"}
|
|
4823
|
+
* - 400: {"message": "Internal Transfer status is already draft.", "code": "statusAlreadyDraft", internalTransferShouldBeSubmitted}
|
|
4824
4824
|
* - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
|
|
4825
4825
|
* - 404: {"message": "Internal Transfer Document not found.", "code": "internalTransferDoesNotExist"}
|
|
4826
4826
|
* - 500: {"message": "An internal server error has occurred", "code": "serverError"}
|
|
@@ -4832,6 +4832,36 @@ export interface paths {
|
|
|
4832
4832
|
patch?: never;
|
|
4833
4833
|
trace?: never;
|
|
4834
4834
|
};
|
|
4835
|
+
"/api/v1/inventory/transfer/{id}/cancel/": {
|
|
4836
|
+
parameters: {
|
|
4837
|
+
query?: never;
|
|
4838
|
+
header?: never;
|
|
4839
|
+
path?: never;
|
|
4840
|
+
cookie?: never;
|
|
4841
|
+
};
|
|
4842
|
+
get?: never;
|
|
4843
|
+
put?: never;
|
|
4844
|
+
/**
|
|
4845
|
+
* Cancel Internal Transfer
|
|
4846
|
+
* @description Endpoint for setting the status of an internal transfer document to be canceled
|
|
4847
|
+
* Responses:
|
|
4848
|
+
* - 200:
|
|
4849
|
+
* - InternalTransferSchema
|
|
4850
|
+
* - 403:
|
|
4851
|
+
* - permissionDenied
|
|
4852
|
+
* - internalTransferAlreadyCanceled
|
|
4853
|
+
* - 404:
|
|
4854
|
+
* - internalTransferDoesNotExist
|
|
4855
|
+
* - 500:
|
|
4856
|
+
* - internalServerError
|
|
4857
|
+
*/
|
|
4858
|
+
post: operations["inventory_transfer_views_cancel_internal_transfer"];
|
|
4859
|
+
delete?: never;
|
|
4860
|
+
options?: never;
|
|
4861
|
+
head?: never;
|
|
4862
|
+
patch?: never;
|
|
4863
|
+
trace?: never;
|
|
4864
|
+
};
|
|
4835
4865
|
"/api/v1/inventory/transfer/": {
|
|
4836
4866
|
parameters: {
|
|
4837
4867
|
query?: never;
|
|
@@ -5215,9 +5245,10 @@ export interface paths {
|
|
|
5215
5245
|
* - 404:
|
|
5216
5246
|
* - transferRequestDoesNotExist
|
|
5217
5247
|
* - 400:
|
|
5218
|
-
* -
|
|
5248
|
+
* - transferRequestShouldBeSubmitted
|
|
5219
5249
|
* - rejectionReasonIsRequired
|
|
5220
5250
|
* - rejectionReasonShouldBeLinkedToTransferRequest
|
|
5251
|
+
* - cannotRejectTransferRequestLinkedToDirectTransfers
|
|
5221
5252
|
* - 500:
|
|
5222
5253
|
* - internalServerError
|
|
5223
5254
|
*
|
|
@@ -31896,15 +31927,6 @@ export interface components {
|
|
|
31896
31927
|
DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
|
|
31897
31928
|
/** InternalTransferDetailsSchema */
|
|
31898
31929
|
InternalTransferDetailsSchema: {
|
|
31899
|
-
/**
|
|
31900
|
-
* Datecreated
|
|
31901
|
-
* Format: date-time
|
|
31902
|
-
*/
|
|
31903
|
-
dateCreated: string;
|
|
31904
|
-
/** Datemodified */
|
|
31905
|
-
dateModified: string | null;
|
|
31906
|
-
createdBy: components["schemas"]["RecordUserSchema"];
|
|
31907
|
-
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
31908
31930
|
/** Id */
|
|
31909
31931
|
id: number;
|
|
31910
31932
|
item: components["schemas"]["ItemSchema"];
|
|
@@ -31923,14 +31945,6 @@ export interface components {
|
|
|
31923
31945
|
* - show the user the available quantity as in units too, transferred quantity * item package quantity
|
|
31924
31946
|
*/
|
|
31925
31947
|
transferredQuantity: number;
|
|
31926
|
-
/**
|
|
31927
|
-
* Quantityreceived
|
|
31928
|
-
* @description - Total quantity received for this transfer line
|
|
31929
|
-
* - If transfer originates from transfer request, value is calculated from approved/submitted Goods Receipt Notes related to this transfer
|
|
31930
|
-
* - If it is not from a transfer request, value equals the transferredQuantity directly
|
|
31931
|
-
* @default 0
|
|
31932
|
-
*/
|
|
31933
|
-
quantityReceived: number;
|
|
31934
31948
|
};
|
|
31935
31949
|
/** InternalTransferSchema */
|
|
31936
31950
|
InternalTransferSchema: {
|
|
@@ -31957,6 +31971,7 @@ export interface components {
|
|
|
31957
31971
|
* Format: date
|
|
31958
31972
|
*/
|
|
31959
31973
|
transferDate: string;
|
|
31974
|
+
transferType: components["schemas"]["TransferTypeEnum"];
|
|
31960
31975
|
/** Description */
|
|
31961
31976
|
description?: string | null;
|
|
31962
31977
|
transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
|
|
@@ -32014,6 +32029,11 @@ export interface components {
|
|
|
32014
32029
|
sourceWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
32015
32030
|
destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
32016
32031
|
};
|
|
32032
|
+
/**
|
|
32033
|
+
* TransferTypeEnum
|
|
32034
|
+
* @enum {string}
|
|
32035
|
+
*/
|
|
32036
|
+
TransferTypeEnum: "inbound" | "outbound" | "internalTransfer";
|
|
32017
32037
|
/** ActionsPayloadSchemas */
|
|
32018
32038
|
ActionsPayloadSchemas: {
|
|
32019
32039
|
/** Password */
|
|
@@ -32095,6 +32115,14 @@ export interface components {
|
|
|
32095
32115
|
* @description Date when the transfer is initiated
|
|
32096
32116
|
*/
|
|
32097
32117
|
transferDate: string;
|
|
32118
|
+
/**
|
|
32119
|
+
* @description - Inbound = coming IN → TO warehouse
|
|
32120
|
+
* - Outbound = going OUT → FROM warehouse
|
|
32121
|
+
* - internalTransfer affects both from and to warehouses
|
|
32122
|
+
* - if transfer request exist only Inbound and Outbound are allowed
|
|
32123
|
+
* @default internalTransfer
|
|
32124
|
+
*/
|
|
32125
|
+
transferType: components["schemas"]["TransferTypeEnum"];
|
|
32098
32126
|
/**
|
|
32099
32127
|
* Description
|
|
32100
32128
|
* @description Optional notes or purpose for this transfer
|
|
@@ -32148,6 +32176,7 @@ export interface components {
|
|
|
32148
32176
|
* Format: date
|
|
32149
32177
|
*/
|
|
32150
32178
|
transferDate: string;
|
|
32179
|
+
transferType: components["schemas"]["TransferTypeEnum"];
|
|
32151
32180
|
/** Description */
|
|
32152
32181
|
description?: string | null;
|
|
32153
32182
|
transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
|
|
@@ -32251,11 +32280,38 @@ export interface components {
|
|
|
32251
32280
|
*/
|
|
32252
32281
|
details: components["schemas"]["UpdateInternalTransferItemSchema"][];
|
|
32253
32282
|
};
|
|
32283
|
+
/** BatchTrackingInfo */
|
|
32284
|
+
BatchTrackingInfo: {
|
|
32285
|
+
/**
|
|
32286
|
+
* Id
|
|
32287
|
+
* Format: uuid
|
|
32288
|
+
*/
|
|
32289
|
+
id: string;
|
|
32290
|
+
/** Number */
|
|
32291
|
+
number: string;
|
|
32292
|
+
/** Expirydate */
|
|
32293
|
+
expiryDate?: string | null;
|
|
32294
|
+
/**
|
|
32295
|
+
* Quantityreceived
|
|
32296
|
+
* @default 0
|
|
32297
|
+
*/
|
|
32298
|
+
quantityReceived: number;
|
|
32299
|
+
/**
|
|
32300
|
+
* Quantitydispatched
|
|
32301
|
+
* @default 0
|
|
32302
|
+
*/
|
|
32303
|
+
quantityDispatched: number;
|
|
32304
|
+
};
|
|
32254
32305
|
/**
|
|
32255
|
-
*
|
|
32306
|
+
* InboundStageEnum
|
|
32256
32307
|
* @enum {string}
|
|
32257
32308
|
*/
|
|
32258
|
-
|
|
32309
|
+
InboundStageEnum: "notReceived" | "partiallyReceived" | "received";
|
|
32310
|
+
/**
|
|
32311
|
+
* OutboundStageEnum
|
|
32312
|
+
* @enum {string}
|
|
32313
|
+
*/
|
|
32314
|
+
OutboundStageEnum: "notDispatched" | "partiallyDispatched" | "dispatched";
|
|
32259
32315
|
/** ReasonSummaryInfo */
|
|
32260
32316
|
ReasonSummaryInfo: {
|
|
32261
32317
|
/** Id */
|
|
@@ -32265,6 +32321,28 @@ export interface components {
|
|
|
32265
32321
|
/** Description */
|
|
32266
32322
|
description: string | null;
|
|
32267
32323
|
};
|
|
32324
|
+
/** SerialTrackingInfo */
|
|
32325
|
+
SerialTrackingInfo: {
|
|
32326
|
+
/**
|
|
32327
|
+
* Id
|
|
32328
|
+
* Format: uuid
|
|
32329
|
+
*/
|
|
32330
|
+
id: string;
|
|
32331
|
+
/** Number */
|
|
32332
|
+
number: string;
|
|
32333
|
+
/** Expirydate */
|
|
32334
|
+
expiryDate?: string | null;
|
|
32335
|
+
/**
|
|
32336
|
+
* Quantityreceived
|
|
32337
|
+
* @default 0
|
|
32338
|
+
*/
|
|
32339
|
+
quantityReceived: number;
|
|
32340
|
+
/**
|
|
32341
|
+
* Quantitydispatched
|
|
32342
|
+
* @default 0
|
|
32343
|
+
*/
|
|
32344
|
+
quantityDispatched: number;
|
|
32345
|
+
};
|
|
32268
32346
|
/**
|
|
32269
32347
|
* SourceWarehouseResponseEnum
|
|
32270
32348
|
* @enum {string}
|
|
@@ -32306,7 +32384,8 @@ export interface components {
|
|
|
32306
32384
|
destinationWarehouse: components["schemas"]["RetrieveWarehouseForOpeningQuantity"];
|
|
32307
32385
|
sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
|
|
32308
32386
|
rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
|
|
32309
|
-
|
|
32387
|
+
inboundStage: components["schemas"]["InboundStageEnum"];
|
|
32388
|
+
outboundStage: components["schemas"]["OutboundStageEnum"];
|
|
32310
32389
|
/** Candelete */
|
|
32311
32390
|
canDelete: boolean;
|
|
32312
32391
|
/** Linkeddocuments */
|
|
@@ -32328,9 +32407,15 @@ export interface components {
|
|
|
32328
32407
|
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
|
|
32329
32408
|
/** Quantity */
|
|
32330
32409
|
quantity: number;
|
|
32331
|
-
/**
|
|
32332
|
-
|
|
32410
|
+
/** Quantityreceived */
|
|
32411
|
+
quantityReceived: number;
|
|
32412
|
+
/** Quantitydispatched */
|
|
32413
|
+
quantityDispatched: number;
|
|
32333
32414
|
requestReason: components["schemas"]["ReasonSummaryInfo"];
|
|
32415
|
+
/** Serials */
|
|
32416
|
+
serials?: components["schemas"]["SerialTrackingInfo"][];
|
|
32417
|
+
/** Batches */
|
|
32418
|
+
batches?: components["schemas"]["BatchTrackingInfo"][];
|
|
32334
32419
|
};
|
|
32335
32420
|
/** TransferRequestResponseSchema */
|
|
32336
32421
|
TransferRequestResponseSchema: {
|
|
@@ -32428,8 +32513,30 @@ export interface components {
|
|
|
32428
32513
|
* @enum {string}
|
|
32429
32514
|
*/
|
|
32430
32515
|
ViewTransferRequestEnum: "myRequests" | "requestedFromMe" | "myWarehouses";
|
|
32431
|
-
/**
|
|
32432
|
-
|
|
32516
|
+
/** TransferRequestItemListSchema */
|
|
32517
|
+
TransferRequestItemListSchema: {
|
|
32518
|
+
/**
|
|
32519
|
+
* Id
|
|
32520
|
+
* Format: uuid
|
|
32521
|
+
*/
|
|
32522
|
+
id: string;
|
|
32523
|
+
item: components["schemas"]["ItemMinimalSchema"];
|
|
32524
|
+
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
32525
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
|
|
32526
|
+
/** Quantity */
|
|
32527
|
+
quantity: number;
|
|
32528
|
+
/** Quantityreceived */
|
|
32529
|
+
quantityReceived: number;
|
|
32530
|
+
/** Quantitydispatched */
|
|
32531
|
+
quantityDispatched: number;
|
|
32532
|
+
requestReason: components["schemas"]["ReasonSummaryInfo"];
|
|
32533
|
+
/** Serials */
|
|
32534
|
+
serials?: components["schemas"]["SerialTrackingInfo"][];
|
|
32535
|
+
/** Batches */
|
|
32536
|
+
batches?: components["schemas"]["BatchTrackingInfo"][];
|
|
32537
|
+
};
|
|
32538
|
+
/** TransferRequestListDetailSchema */
|
|
32539
|
+
TransferRequestListDetailSchema: {
|
|
32433
32540
|
/**
|
|
32434
32541
|
* Datecreated
|
|
32435
32542
|
* Format: date-time
|
|
@@ -32464,15 +32571,18 @@ export interface components {
|
|
|
32464
32571
|
destinationWarehouse: components["schemas"]["RetrieveWarehouseForOpeningQuantity"];
|
|
32465
32572
|
sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
|
|
32466
32573
|
rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
|
|
32467
|
-
|
|
32574
|
+
inboundStage: components["schemas"]["InboundStageEnum"];
|
|
32575
|
+
outboundStage: components["schemas"]["OutboundStageEnum"];
|
|
32468
32576
|
/** Candelete */
|
|
32469
32577
|
canDelete: boolean;
|
|
32578
|
+
/** Items */
|
|
32579
|
+
items: components["schemas"]["TransferRequestItemListSchema"][];
|
|
32470
32580
|
};
|
|
32471
32581
|
/** TransferRequestListSchema */
|
|
32472
32582
|
TransferRequestListSchema: {
|
|
32473
32583
|
info: components["schemas"]["PageInfoSchema"];
|
|
32474
32584
|
/** Results */
|
|
32475
|
-
results: components["schemas"]["
|
|
32585
|
+
results: components["schemas"]["TransferRequestListDetailSchema"][];
|
|
32476
32586
|
};
|
|
32477
32587
|
/** TransferRequestActionsSchemas */
|
|
32478
32588
|
TransferRequestActionsSchemas: {
|
|
@@ -71813,6 +71923,68 @@ export interface operations {
|
|
|
71813
71923
|
};
|
|
71814
71924
|
};
|
|
71815
71925
|
};
|
|
71926
|
+
inventory_transfer_views_cancel_internal_transfer: {
|
|
71927
|
+
parameters: {
|
|
71928
|
+
query?: never;
|
|
71929
|
+
header?: never;
|
|
71930
|
+
path: {
|
|
71931
|
+
id: number;
|
|
71932
|
+
};
|
|
71933
|
+
cookie?: never;
|
|
71934
|
+
};
|
|
71935
|
+
requestBody: {
|
|
71936
|
+
content: {
|
|
71937
|
+
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
71938
|
+
};
|
|
71939
|
+
};
|
|
71940
|
+
responses: {
|
|
71941
|
+
/** @description OK */
|
|
71942
|
+
200: {
|
|
71943
|
+
headers: {
|
|
71944
|
+
[name: string]: unknown;
|
|
71945
|
+
};
|
|
71946
|
+
content: {
|
|
71947
|
+
"application/json": components["schemas"]["InternalTransferSchema"];
|
|
71948
|
+
};
|
|
71949
|
+
};
|
|
71950
|
+
/** @description Bad Request */
|
|
71951
|
+
400: {
|
|
71952
|
+
headers: {
|
|
71953
|
+
[name: string]: unknown;
|
|
71954
|
+
};
|
|
71955
|
+
content: {
|
|
71956
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
71957
|
+
};
|
|
71958
|
+
};
|
|
71959
|
+
/** @description Forbidden */
|
|
71960
|
+
403: {
|
|
71961
|
+
headers: {
|
|
71962
|
+
[name: string]: unknown;
|
|
71963
|
+
};
|
|
71964
|
+
content: {
|
|
71965
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
71966
|
+
};
|
|
71967
|
+
};
|
|
71968
|
+
/** @description Not Found */
|
|
71969
|
+
404: {
|
|
71970
|
+
headers: {
|
|
71971
|
+
[name: string]: unknown;
|
|
71972
|
+
};
|
|
71973
|
+
content: {
|
|
71974
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
71975
|
+
};
|
|
71976
|
+
};
|
|
71977
|
+
/** @description Internal Server Error */
|
|
71978
|
+
500: {
|
|
71979
|
+
headers: {
|
|
71980
|
+
[name: string]: unknown;
|
|
71981
|
+
};
|
|
71982
|
+
content: {
|
|
71983
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
71984
|
+
};
|
|
71985
|
+
};
|
|
71986
|
+
};
|
|
71987
|
+
};
|
|
71816
71988
|
inventory_transfer_views_list_internal_transfers: {
|
|
71817
71989
|
parameters: {
|
|
71818
71990
|
query?: {
|