@erp-galoper/types 1.0.1821 → 1.0.1823

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.
Files changed (2) hide show
  1. package/openapi.ts +17 -5
  2. 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;
@@ -39925,7 +39931,7 @@ export interface components {
39925
39931
  * PurchaseHistoryTimeFrameEnum
39926
39932
  * @enum {string}
39927
39933
  */
39928
- PurchaseHistoryTimeFrameEnum: "allTime" | "default";
39934
+ PurchaseHistoryTimeFrameEnum: "all" | "custom";
39929
39935
  /** PurchaseSettingsSchema */
39930
39936
  PurchaseSettingsSchema: {
39931
39937
  /** Id */
@@ -39943,11 +39949,11 @@ export interface components {
39943
39949
  CreatePurchaseSettingsSchema: {
39944
39950
  /** Allowpaymentbeforegoodsreceived */
39945
39951
  allowPaymentBeforeGoodsReceived: boolean;
39946
- /** @default all_time */
39952
+ /** @default custom */
39947
39953
  purchaseHistoryTimeframe: components["schemas"]["PurchaseHistoryTimeFrameEnum"] | null;
39948
39954
  /**
39949
39955
  * Purchasehistoryperiod
39950
- * @description Indicate the number of historical years when using the default period.
39956
+ * @description Indicate the number of historical months when using the custom period.
39951
39957
  */
39952
39958
  purchaseHistoryPeriod?: number | null;
39953
39959
  /** @description when stock update trigger in system settings is invoice, this field must be purchaseInvoice */
@@ -39959,11 +39965,11 @@ export interface components {
39959
39965
  UpdatePurchaseSettingsSchema: {
39960
39966
  /** Allowpaymentbeforegoodsreceived */
39961
39967
  allowPaymentBeforeGoodsReceived?: boolean | null;
39962
- /** @default allTime */
39968
+ /** @default custom */
39963
39969
  purchaseHistoryTimeframe: components["schemas"]["PurchaseHistoryTimeFrameEnum"] | null;
39964
39970
  /**
39965
39971
  * Purchasehistoryperiod
39966
- * @description Indicate the number of historical years when using the default period.
39972
+ * @description Indicate the number of historical months when using the custom period.
39967
39973
  */
39968
39974
  purchaseHistoryPeriod?: number | null;
39969
39975
  /** @description when stock update trigger in system settings is invoice, this field must be purchaseInvoice */
@@ -63796,6 +63802,8 @@ export interface operations {
63796
63802
  documentId?: string | null;
63797
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. */
63798
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;
63799
63807
  };
63800
63808
  header?: never;
63801
63809
  path?: never;
@@ -64051,6 +64059,8 @@ export interface operations {
64051
64059
  supplierId?: string;
64052
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. */
64053
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;
64054
64064
  };
64055
64065
  header?: never;
64056
64066
  path: {
@@ -71971,6 +71981,8 @@ export interface operations {
71971
71981
  itemPackages?: string[] | null;
71972
71982
  /** @description List of unit of measure IDs to filter by (optional) */
71973
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;
71974
71986
  };
71975
71987
  header?: never;
71976
71988
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1821",
3
+ "version": "1.0.1823",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],