@erp-galoper/types 1.0.1820 → 1.0.1822
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 +12 -34
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -626,6 +626,7 @@ export interface paths {
|
|
|
626
626
|
* - {"message": "Error applying pagination {error}", "code": "paginationError"}
|
|
627
627
|
* - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
|
|
628
628
|
* - 404: {"message": "Document not found", "code": "documentNotFound"}
|
|
629
|
+
* - {"message": "Transfer request does not exist", "code": "transferRequestDoesNotExist"}
|
|
629
630
|
* - 500: {"message": "An internal server error has occurred", "code": "serverError"}
|
|
630
631
|
*/
|
|
631
632
|
get: operations["inventory_item_views_list_items"];
|
|
@@ -777,6 +778,7 @@ export interface paths {
|
|
|
777
778
|
* - 200: ItemSchema
|
|
778
779
|
* - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
|
|
779
780
|
* - 404: {"message": "Item not found", "code": "itemDoesNotExist"}
|
|
781
|
+
* - {"message": "Transfer request does not exist", "code": "transferRequestDoesNotExist"}
|
|
780
782
|
* - 500: {"message": "An internal server error has occurred", "code": "serverError"}
|
|
781
783
|
*/
|
|
782
784
|
get: operations["inventory_item_views_retrieve_item"];
|
|
@@ -4439,6 +4441,8 @@ export interface paths {
|
|
|
4439
4441
|
* - False: Show only unpacked items (items without packages)
|
|
4440
4442
|
* - item_packages: List of item package IDs to filter by (optional)
|
|
4441
4443
|
* - If provided, overrides packed parameter and shows only specified packages
|
|
4444
|
+
* - transferRequestId: When creating an outbound/internal transfer from a transfer request, pass the
|
|
4445
|
+
* transfer request ID so availableForSale reflects quantities reserved for that request
|
|
4442
4446
|
* - Additional filters: Supports all standard query filters like item.active=true, item.category=1, etc.
|
|
4443
4447
|
*
|
|
4444
4448
|
* Responses:
|
|
@@ -32384,6 +32388,7 @@ export interface components {
|
|
|
32384
32388
|
* @description - Must be greater than zero
|
|
32385
32389
|
* - Maximum is determined by source warehouse availability
|
|
32386
32390
|
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
32391
|
+
* - When fulfilling a transfer request, pass transferRequestId so reserved quantities for that request are included
|
|
32387
32392
|
* - For serial items, must be 1
|
|
32388
32393
|
*/
|
|
32389
32394
|
requestedQuantity: number;
|
|
@@ -32530,6 +32535,7 @@ export interface components {
|
|
|
32530
32535
|
* @description - Must be greater than zero
|
|
32531
32536
|
* - Maximum is determined by source warehouse availability
|
|
32532
32537
|
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
32538
|
+
* - When fulfilling a transfer request, pass transferRequestId so reserved quantities for that request are included
|
|
32533
32539
|
* - For serial items, must be 1
|
|
32534
32540
|
*/
|
|
32535
32541
|
requestedQuantity: number;
|
|
@@ -40740,8 +40746,6 @@ export interface components {
|
|
|
40740
40746
|
* @description show usd total when multi currency is active and company is lebanon
|
|
40741
40747
|
*/
|
|
40742
40748
|
usdTotal: number;
|
|
40743
|
-
/** Remainingbalance */
|
|
40744
|
-
remainingBalance: number;
|
|
40745
40749
|
/** Payments */
|
|
40746
40750
|
payments: components["schemas"]["RetrieveAdvancePaymentItemsResponse"][];
|
|
40747
40751
|
};
|
|
@@ -44427,11 +44431,6 @@ export interface components {
|
|
|
44427
44431
|
* @description field is number
|
|
44428
44432
|
*/
|
|
44429
44433
|
usdTotal: string;
|
|
44430
|
-
/**
|
|
44431
|
-
* Remainingbalance
|
|
44432
|
-
* @description field is number
|
|
44433
|
-
*/
|
|
44434
|
-
remainingBalance: string;
|
|
44435
44434
|
/** Payments */
|
|
44436
44435
|
payments: components["schemas"]["PaymentVoucherWithEquivalentResponse"][];
|
|
44437
44436
|
};
|
|
@@ -47620,11 +47619,6 @@ export interface components {
|
|
|
47620
47619
|
* @description This field is number
|
|
47621
47620
|
*/
|
|
47622
47621
|
secondaryTotal: string;
|
|
47623
|
-
/**
|
|
47624
|
-
* Remainingbalance
|
|
47625
|
-
* @description This field is number
|
|
47626
|
-
*/
|
|
47627
|
-
remainingBalance: string;
|
|
47628
47622
|
};
|
|
47629
47623
|
/** EquivalentAmountWithRemainingResponse */
|
|
47630
47624
|
EquivalentAmountWithRemainingResponse: {
|
|
@@ -50465,11 +50459,6 @@ export interface components {
|
|
|
50465
50459
|
* @description field is number
|
|
50466
50460
|
*/
|
|
50467
50461
|
usdTotal: string;
|
|
50468
|
-
/**
|
|
50469
|
-
* Remainingbalance
|
|
50470
|
-
* @description field is number
|
|
50471
|
-
*/
|
|
50472
|
-
remainingBalance: string;
|
|
50473
50462
|
/** Payments */
|
|
50474
50463
|
payments: components["schemas"]["RefundVoucherPaymentWithEquivalentResponse"][];
|
|
50475
50464
|
};
|
|
@@ -51322,11 +51311,6 @@ export interface components {
|
|
|
51322
51311
|
* @description field is number
|
|
51323
51312
|
*/
|
|
51324
51313
|
usdTotal: string;
|
|
51325
|
-
/**
|
|
51326
|
-
* Remainingbalance
|
|
51327
|
-
* @description field is number
|
|
51328
|
-
*/
|
|
51329
|
-
remainingBalance: string;
|
|
51330
51314
|
/** Items */
|
|
51331
51315
|
items: components["schemas"]["DownPaymentEquivalentResponse"][];
|
|
51332
51316
|
};
|
|
@@ -53453,11 +53437,6 @@ export interface components {
|
|
|
53453
53437
|
* @description field is number
|
|
53454
53438
|
*/
|
|
53455
53439
|
secondaryTotal: string;
|
|
53456
|
-
/**
|
|
53457
|
-
* Remainingbalance
|
|
53458
|
-
* @description field is number
|
|
53459
|
-
*/
|
|
53460
|
-
remainingBalance: string;
|
|
53461
53440
|
/** Payments */
|
|
53462
53441
|
payments: components["schemas"]["PaymentWithEquivalentResponse"][];
|
|
53463
53442
|
};
|
|
@@ -56668,11 +56647,6 @@ export interface components {
|
|
|
56668
56647
|
* @description field is number
|
|
56669
56648
|
*/
|
|
56670
56649
|
secondaryTotal: string;
|
|
56671
|
-
/**
|
|
56672
|
-
* Remainingbalance
|
|
56673
|
-
* @description field is number
|
|
56674
|
-
*/
|
|
56675
|
-
remainingBalance: string;
|
|
56676
56650
|
/** Payments */
|
|
56677
56651
|
payments: components["schemas"]["SalesRefundVoucherPaymentWithEquivalentResponse"][];
|
|
56678
56652
|
};
|
|
@@ -62207,8 +62181,6 @@ export interface components {
|
|
|
62207
62181
|
primaryTotal: string;
|
|
62208
62182
|
/** Secondarytotal */
|
|
62209
62183
|
secondaryTotal: string;
|
|
62210
|
-
/** Remainingbalance */
|
|
62211
|
-
remainingBalance: string;
|
|
62212
62184
|
/**
|
|
62213
62185
|
* Items
|
|
62214
62186
|
* @default []
|
|
@@ -63830,6 +63802,8 @@ export interface operations {
|
|
|
63830
63802
|
documentId?: string | null;
|
|
63831
63803
|
/** @description Standalone and template rows only where product sync applies on at least one active store (publish-eligible or existing mapping). Matches should_attempt_product_sync_to_store; variants excluded. */
|
|
63832
63804
|
syncableOnlineItems?: boolean;
|
|
63805
|
+
/** @description When fulfilling a transfer request, pass its ID so availableForSale excludes reservations from other documents but includes quantities reserved for this transfer request. */
|
|
63806
|
+
transferRequestId?: string | null;
|
|
63833
63807
|
};
|
|
63834
63808
|
header?: never;
|
|
63835
63809
|
path?: never;
|
|
@@ -64085,6 +64059,8 @@ export interface operations {
|
|
|
64085
64059
|
supplierId?: string;
|
|
64086
64060
|
/** @description Required when retrieving item sales prices from a sales price list, or when retrieving the default selling price with currency conversion in sales features. */
|
|
64087
64061
|
customerId?: string;
|
|
64062
|
+
/** @description When fulfilling a transfer request, pass its ID so availableForSale excludes reservations from other documents but includes quantities reserved for this transfer request. */
|
|
64063
|
+
transferRequestId?: string | null;
|
|
64088
64064
|
};
|
|
64089
64065
|
header?: never;
|
|
64090
64066
|
path: {
|
|
@@ -72005,6 +71981,8 @@ export interface operations {
|
|
|
72005
71981
|
itemPackages?: string[] | null;
|
|
72006
71982
|
/** @description List of unit of measure IDs to filter by (optional) */
|
|
72007
71983
|
unitOfMeasures?: string[] | null;
|
|
71984
|
+
/** @description When fulfilling a transfer request, pass its ID so availableForSale excludes reservations from other documents but includes quantities reserved for this transfer request. */
|
|
71985
|
+
transferRequestId?: string | null;
|
|
72008
71986
|
};
|
|
72009
71987
|
header?: never;
|
|
72010
71988
|
path?: never;
|