@gofynd/fdk-client-javascript 3.16.3 → 3.17.1

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 (90) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +40 -0
  6. package/sdk/application/Cart/CartApplicationClient.js +176 -0
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +18 -4
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +47 -4
  9. package/sdk/application/Content/ContentApplicationClient.d.ts +21 -1
  10. package/sdk/application/Content/ContentApplicationClient.js +93 -2
  11. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
  12. package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
  13. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
  14. package/sdk/application/Order/OrderApplicationClient.js +50 -0
  15. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  16. package/sdk/application/Payment/PaymentApplicationClient.js +5 -4
  17. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
  18. package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
  19. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
  20. package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
  21. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
  22. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
  23. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +74 -12
  24. package/sdk/platform/Cart/CartPlatformApplicationClient.js +637 -36
  25. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +225 -1
  26. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +147 -0
  27. package/sdk/platform/Cart/CartPlatformModel.d.ts +952 -5
  28. package/sdk/platform/Cart/CartPlatformModel.js +598 -2
  29. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +125 -5
  30. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +831 -41
  31. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +205 -7
  32. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +154 -3
  33. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +5 -16
  34. package/sdk/platform/Catalog/CatalogPlatformClient.js +8 -85
  35. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1025 -159
  36. package/sdk/platform/Catalog/CatalogPlatformModel.js +840 -165
  37. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +8 -10
  38. package/sdk/platform/Catalog/CatalogPlatformValidator.js +3 -12
  39. package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
  40. package/sdk/platform/Common/CommonPlatformModel.js +14 -0
  41. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
  42. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
  43. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
  44. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
  45. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
  46. package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
  47. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
  48. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
  49. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +92 -1
  50. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +54 -0
  51. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +21 -0
  52. package/sdk/platform/Discount/DiscountPlatformModel.js +9 -0
  53. package/sdk/platform/Order/OrderPlatformClient.d.ts +27 -19
  54. package/sdk/platform/Order/OrderPlatformClient.js +176 -108
  55. package/sdk/platform/Order/OrderPlatformModel.d.ts +359 -45
  56. package/sdk/platform/Order/OrderPlatformModel.js +218 -44
  57. package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
  58. package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
  59. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +14 -3
  60. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +88 -6
  61. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +28 -3
  62. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +22 -2
  63. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +376 -11
  64. package/sdk/platform/Payment/PaymentPlatformModel.js +243 -10
  65. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  66. package/sdk/platform/PlatformApplicationClient.js +0 -4
  67. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
  68. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
  69. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
  70. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
  71. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
  72. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
  73. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  74. package/sdk/platform/User/UserPlatformModel.js +4 -4
  75. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +29 -0
  76. package/sdk/platform/Webhook/WebhookPlatformModel.js +13 -0
  77. package/sdk/platform/index.d.ts +0 -1
  78. package/sdk/platform/index.js +0 -2
  79. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
  80. package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
  81. package/sdk/public/Webhook/WebhookPublicModel.d.ts +29 -0
  82. package/sdk/public/Webhook/WebhookPublicModel.js +13 -0
  83. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  84. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  85. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  86. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  87. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  88. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  89. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
  90. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -410
@@ -1,22 +1,40 @@
1
1
  export = OrderPlatformModel;
2
2
  /**
3
- * @typedef InvalidateShipmentCachePayload
4
- * @property {string[]} [shipment_ids] - Shipment Ids to clear cache
5
- * @property {string[]} [affiliate_bag_ids] - Affiliate Bag Ids to clear cache
6
- * of shipment Ids mapped to it
7
- * @property {string[]} [bag_ids] - Bag Ids to clear cache of shipment Ids mapped to it
8
- */
9
- /**
10
- * @typedef InvalidateShipmentCacheNestedResponseSchema
11
- * @property {string} [shipment_id]
12
- * @property {number} [status] - The HTTP status code corresponding to the
13
- * overall status of the shipment response.
14
- * @property {string} [message]
15
- * @property {string} [error]
16
- */
17
- /**
18
- * @typedef InvalidateShipmentCacheResponseSchema
19
- * @property {InvalidateShipmentCacheNestedResponseSchema[]} [response]
3
+ * @typedef PackageSchema
4
+ * @property {string} [id] - Unique identifier of the physical package. If not
5
+ * provided, the system will auto-generate a unique ID with format 'PK'
6
+ * followed by a 10-digit number.
7
+ * @property {string} [packaging_id] - Optional reference to a predefined
8
+ * packaging configuration or template used for creating physical packages.
9
+ * @property {string} [name] - A human-readable name or label for the package,
10
+ * used for identification and organizational purposes.
11
+ * @property {string} [size] - The size category of the package (e.g., small,
12
+ * medium, large). Used for logistics and carrier selection.
13
+ * @property {string} [package_type] - The type or category of packaging
14
+ * material used (e.g., Box, Paper Bag, Poly Mailer, Envelope).
15
+ * @property {number} [length] - The length dimension of the package in
16
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
17
+ * @property {number} [width] - The width dimension of the package in
18
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
19
+ * @property {number} [height] - The height dimension of the package in
20
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
21
+ * @property {number} [weight] - The actual weight of the package in kilograms,
22
+ * including packaging materials and products.
23
+ * @property {number} [error_rate] - The acceptable error rate or tolerance for
24
+ * the package weight, expressed as a decimal (e.g., 0.02 for 2% tolerance).
25
+ * @property {number} [package_vol_weight] - The volumetric weight of the
26
+ * package calculated based on dimensions, used for shipping cost calculation
27
+ * when greater than actual weight.
28
+ * @property {number} [max_weight] - The maximum weight capacity that this
29
+ * package can handle, used for validation and logistics planning.
30
+ * @property {string} [awb] - Air Waybill number assigned by the courier partner
31
+ * for tracking this specific package throughout the delivery process.
32
+ * @property {Object} [pdf_links] - Dictionary containing PDF document links
33
+ * related to this package (labels, invoices, etc.). Always returns an object
34
+ * - empty object {} if no links are present, populated object if links exist.
35
+ * Users can update values by providing new key-value pairs.
36
+ * @property {PackageProduct[]} [products] - List of products contained within
37
+ * this package. Each product specifies its line number, quantity, and identifier.
20
38
  */
21
39
  /**
22
40
  * @typedef UpdatePackingErrorResponseSchema
@@ -318,6 +336,13 @@ export = OrderPlatformModel;
318
336
  * @property {string} title - Title for the transition message.
319
337
  * @property {string} message - Message for the transition.
320
338
  */
339
+ /**
340
+ * @typedef RefundModeTransitionData
341
+ * @property {string} [refund_mode] - Refund Mode for status transition data.
342
+ * @property {string} [display_name] - Refund Mode display name.
343
+ * @property {string[]} [payment_identifiers] - List of identifiers associated
344
+ * with the refund transaction.
345
+ */
321
346
  /**
322
347
  * @typedef ShipmentsRequestSchema
323
348
  * @property {string} identifier - Unique identifier for the shipment.
@@ -327,6 +352,8 @@ export = OrderPlatformModel;
327
352
  * @property {DataUpdates} [data_updates]
328
353
  * @property {TransitionComments[]} [transition_comments] - Comments or notes
329
354
  * associated with the transition of shipment status.
355
+ * @property {RefundModeTransitionData[]} [refund_modes] - Refund Mode for
356
+ * status transition.
330
357
  */
331
358
  /**
332
359
  * @typedef UpdatedAddressSchema
@@ -355,7 +382,9 @@ export = OrderPlatformModel;
355
382
  */
356
383
  /**
357
384
  * @typedef StatuesRequestSchema
358
- * @property {string} [status] - The new status to be assigned to the shipment(s).
385
+ * @property {string} [status] - The new status to be assigned to a shipment.
386
+ * Also, refer to the <a href='/commerce/getting-started/oms-states/'>OMS
387
+ * States</a> for the complete status list.
359
388
  * @property {ShipmentsRequestSchema[]} [shipments] - A list of shipments to
360
389
  * which the new status will be applied.
361
390
  * @property {string} [exclude_bags_next_state] - Specifies the state to which
@@ -2323,6 +2352,14 @@ export = OrderPlatformModel;
2323
2352
  *
2324
2353
  * - `status_update`: Status Update
2325
2354
  * - `data_update`: Data Update
2355
+ *
2356
+ * @property {string} [fulfillment_option_slug] - Represents the unique slug
2357
+ * associated with the fulfillment option attached to the shipment. This slug
2358
+ * helps determine the fulfillment method and operational flow used to deliver
2359
+ * the shipment. Examples:
2360
+ *
2361
+ * - "standard-delivery"
2362
+ * - "hyperlocal-delivery"
2326
2363
  */
2327
2364
  /**
2328
2365
  * @typedef PostHook
@@ -2612,6 +2649,26 @@ export = OrderPlatformModel;
2612
2649
  * @property {string} [payment_identifier] - Transaction id
2613
2650
  * @property {PaymentMethodTransactionPartySchema} [transaction_party]
2614
2651
  */
2652
+ /**
2653
+ * @typedef PackagesSchema
2654
+ * @property {PackageSchema[]} packages - Array of packages to be created or
2655
+ * updated for the shipment. At least two packages are required for MPS functionality.
2656
+ */
2657
+ /**
2658
+ * @typedef PackagesResponseSchema
2659
+ * @property {boolean} success - Indicates whether the API call was successful
2660
+ * (true) or failed (false).
2661
+ * @property {PackagesSchema} data
2662
+ * @property {string} [message] - A descriptive message providing additional
2663
+ * information about the API response.
2664
+ */
2665
+ /**
2666
+ * @typedef PackagesErrorResponseSchema
2667
+ * @property {boolean} success - Indicates whether the API call was successful.
2668
+ * Will always be false for error responses.
2669
+ * @property {string} error - A detailed error message describing what went
2670
+ * wrong during the API call.
2671
+ */
2615
2672
  /**
2616
2673
  * @typedef BundleDetailsSchema
2617
2674
  * @property {boolean} [is_base] - This serves as the base item, with all other
@@ -2797,6 +2854,8 @@ export = OrderPlatformModel;
2797
2854
  * @property {string} [external_shipment_id] - Unique identifier for the
2798
2855
  * shipment as assigned by an external system. Use this to map the external ID
2799
2856
  * to Fynd's generated ID.
2857
+ * @property {string} [invoice_id] - Indicates whether the order was created in
2858
+ * offline mode. Used to enable offline-specific processing and sync behavior.
2800
2859
  * @property {LineItemSchema[]} [line_items] - A list of items included in the shipment.
2801
2860
  * @property {OrderFulfillmentTimelineSchema} [order_fulfillment_timeline]
2802
2861
  * @property {number} [location_id] - The location ID from which this shipment
@@ -2986,6 +3045,8 @@ export = OrderPlatformModel;
2986
3045
  * placed. Required when the order is placed from one company but fulfilled by another.
2987
3046
  * @property {boolean} [is_draft] - Indicates whether the order is a draft.
2988
3047
  * Draft orders will be moved to upcoming state instead of placed status.
3048
+ * @property {boolean} [is_offline_order] - Indicates whether the order is an
3049
+ * offline order placed through a physical store or offline channel.
2989
3050
  * @property {Object} [meta] - Metadata related to the order may include
2990
3051
  * additional, dynamic information that provides further context about the
2991
3052
  * order. This information can also be viewed on the Order or Shipment Details page.
@@ -3048,6 +3109,14 @@ export = OrderPlatformModel;
3048
3109
  * integration.
3049
3110
  * @property {Page} [page]
3050
3111
  */
3112
+ /**
3113
+ * @typedef PackageProduct
3114
+ * @property {number} line_number - The line number of the product within the
3115
+ * shipment, used for tracking and identification purposes.
3116
+ * @property {number} quantity - The quantity of the product included in this package.
3117
+ * @property {string} identifier - The unique identifier or SKU (Stock Keeping
3118
+ * Unit) of the product. This is used to match products across packages and bags.
3119
+ */
3051
3120
  /**
3052
3121
  * @typedef ValidationError
3053
3122
  * @property {string} message - A brief description of the error encountered.
@@ -3118,6 +3187,14 @@ export = OrderPlatformModel;
3118
3187
  * @property {string} status - This key denotes the status of the shipment,
3119
3188
  * providing a clear indication of its current processing stage.
3120
3189
  */
3190
+ /**
3191
+ * @typedef OrderingSourceDetails
3192
+ * @property {string} [type] - Type of the ordering source.
3193
+ * @property {string} [slug] - Slug identifier of the ordering source.
3194
+ * @property {string} [display_name] - Display name of the ordering source.
3195
+ * @property {boolean} [is_active] - Indicates whether the ordering source is active.
3196
+ * @property {string} [logo] - Logo URL of the ordering source.
3197
+ */
3121
3198
  /**
3122
3199
  * @typedef UserDataInfo
3123
3200
  * @property {number} [id] - The unique identifier associated with the user.
@@ -3291,6 +3368,8 @@ export = OrderPlatformModel;
3291
3368
  * used in the transaction.
3292
3369
  * @property {number} [amount_to_be_collected] - Total amount to be collected in
3293
3370
  * scenarios involving multiple payment methods.
3371
+ * @property {number} [cost_price] - The base cost incurred by the seller to
3372
+ * acquire or produce the product before margin or discount.
3294
3373
  * @property {number} [loyalty_discount] - Amount reduced from the payable price
3295
3374
  * when the customer applies loyalty program points while placing the order.
3296
3375
  */
@@ -3375,6 +3454,8 @@ export = OrderPlatformModel;
3375
3454
  * purchased by the customer, usable for future transactions.
3376
3455
  * @property {number} [amount_to_be_collected] - Amount to be collected from the
3377
3456
  * customer when multiple payment methods are utilized for a single order.
3457
+ * @property {number} [cost_price] - The base cost incurred by the seller to
3458
+ * acquire or produce the product before margin or discount.
3378
3459
  * @property {number} [loyalty_discount] - Amount reduced from the payable price
3379
3460
  * when the customer applies loyalty program points while placing the order.
3380
3461
  */
@@ -3414,6 +3495,15 @@ export = OrderPlatformModel;
3414
3495
  * calculated, excluding the tax itself. This represents the value of goods or
3415
3496
  * services before tax is applied.
3416
3497
  */
3498
+ /**
3499
+ * @typedef SellerQcDetails
3500
+ * @property {number} [line_number] - Represents the line number in an order or
3501
+ * transaction associated with the bag.
3502
+ * @property {number} [bad_quantity] - Represents the total number of items in a
3503
+ * bag that have failed quality control and are marked as bad QC.
3504
+ * @property {number} [good_quantity] - Represents the total number of items in
3505
+ * a bag that have passed quality control and are marked as good QC.
3506
+ */
3417
3507
  /**
3418
3508
  * @typedef FinancialBreakup
3419
3509
  * @property {number} refund_credit - The amount of refund credits applicable
@@ -3894,6 +3984,7 @@ export = OrderPlatformModel;
3894
3984
  * placed by the customer. This timestamp is crucial for tracking the order'
3895
3985
  * @property {string} [order_created_ts] - The timestamp indicating when the
3896
3986
  * order was created in UTC format.
3987
+ * @property {OrderingSourceDetails} [ordering_source_details]
3897
3988
  * @property {ShipmentStatus} [shipment_status]
3898
3989
  * @property {UserDataInfo} [user]
3899
3990
  * @property {string} [estimated_sla_time] - The estimated Service Level
@@ -4537,6 +4628,7 @@ export = OrderPlatformModel;
4537
4628
  * @property {BagStatusHistory[]} [bag_status]
4538
4629
  * @property {Object} [parent_promo_bags] - An object containing details of
4539
4630
  * parent promotional bags.
4631
+ * @property {SellerQcDetails} [seller_qc_details]
4540
4632
  * @property {FinancialBreakup} [financial_breakup]
4541
4633
  * @property {BagConfigs} [bag_configs]
4542
4634
  * @property {string} [seller_identifier]
@@ -4785,6 +4877,8 @@ export = OrderPlatformModel;
4785
4877
  * @property {Object} [logistics_meta] - An object storing detailed
4786
4878
  * logistics-related information, including courier partner details and other
4787
4879
  * relevant metadata.
4880
+ * @property {PackageSchema[]} [packages] - Array of packages to be created or
4881
+ * updated for the shipment. At least two packages are required for MPS functionality.
4788
4882
  */
4789
4883
  /**
4790
4884
  * @typedef ShipmentInfoResponseSchema
@@ -4828,6 +4922,7 @@ export = OrderPlatformModel;
4828
4922
  * Please use ordering_source instead to ensure accurate order tracking and processing.
4829
4923
  * @property {string} [ordering_source] - Ordering source, to be used to
4830
4924
  * identify source of order creation.
4925
+ * @property {OrderingSourceDetails} [ordering_source_details]
4831
4926
  * @property {string} order_date - Specifies the exact date and time when the
4832
4927
  * order was placed by the customer, serving as a key timestamp for the
4833
4928
  * initiation of the order processing cycle.
@@ -4914,6 +5009,9 @@ export = OrderPlatformModel;
4914
5009
  * @property {string} [order_created_time] - The Date and time when the order was created.
4915
5010
  * @property {string} [order_created_ts] - The timestamp indicating when the
4916
5011
  * order was created.
5012
+ * @property {string} [ordering_source] - Ordering source, to be used to
5013
+ * identify source of order creation.
5014
+ * @property {OrderingSourceDetails} [ordering_source_details]
4917
5015
  * @property {string} [payment_mode] - The payment mode used for the order.
4918
5016
  * @property {PlatformShipment[]} [shipments] - An array of shipment items
4919
5017
  * returned as part of the order.
@@ -5500,41 +5598,90 @@ export = OrderPlatformModel;
5500
5598
  declare class OrderPlatformModel {
5501
5599
  }
5502
5600
  declare namespace OrderPlatformModel {
5503
- export { InvalidateShipmentCachePayload, InvalidateShipmentCacheNestedResponseSchema, InvalidateShipmentCacheResponseSchema, UpdatePackingErrorResponseSchema, ErrorResponseSchema, StoreReassign, StoreReassignResponseSchema, LockManagerEntities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponseSchema, UpdateShipmentLockResponseSchema, AnnouncementResponseSchema, AnnouncementsResponseSchema, BaseResponseSchema, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, OrderDataUpdates, SellerQCDetailsSchema, EntityStatusDataSchema, DataUpdatesFiltersSchema, EntityStatusDataUpdates, DataUpdates, TransitionComments, ShipmentsRequestSchema, UpdatedAddressSchema, UpdateAddressRequestBody, StatuesRequestSchema, UpdateShipmentStatusRequestSchema, ShipmentsResponseSchema, DPConfiguration, PaymentConfig, LockStateMessage, CreateOrderConfig, StatuesResponseSchema, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderResponseSchema, DispatchManifest, SuccessResponseSchema, ActionInfo, GetActionsResponseSchema, HistoryReason, RefundInformation, HistoryMeta, HistoryDict, ShipmentHistoryResponseSchema, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, SendSmsResponseSchema, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponseSchema, Tax, AmountSchema, Charge, LineItem, ProcessingDates, Tag, ProcessAfterConfig, SystemMessages, Shipment, GeoLocationSchema, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponseSchema, UploadManifestConsent, CreateChannelConfigResponseSchema, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeFormat, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponseSchema, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponseSchema, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponseSchema, BulkReportsFiltersSchema, BulkReportsDownloadRequestSchema, BulkReportsDownloadResponseSchema, APIFailedResponseSchema, BulkStateTransistionRequestSchema, BulkStateTransistionResponseSchema, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponseSchema, JobDetailsData, JobDetailsResponseSchema, JobFailedResponseSchema, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequestSchema, ProcessManifest, ProcessManifestResponseSchema, ProcessManifestItemResponseSchema, FilterInfoOption, FiltersInfo, ManifestFiltersResponseSchema, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponseSchema, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponseSchema, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponseSchema, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequestSchema, GenerateInvoiceIDResponseSchema, GenerateInvoiceIDErrorResponseSchema, ManifestResponseSchema, ProcessManifestRequestSchema, ManifestItems, ManifestErrorResponseSchema, ConfigData, ConfigUpdatedResponseSchema, FlagData, Flags, Filter, PostHook, PreHook, Config, TransitionConfigCondition, TransitionConfigData, TransitionConfigPayload, RuleListRequestSchema, RuleErrorResponseSchema, RMAPageInfo, RuleAction, QuestionSetItem, Reason, Conditions, RuleItem, RuleError, RuleListResponseSchema, UpdateShipmentPaymentMode, CommonErrorResponseSchema, ExceptionErrorResponseSchema, ProductSchema, PaymentMethodSchema, ActionDetailSchema, PaymentMetaDataSchema, PaymentMetaLogoURLSchema, FulfillmentOptionSchema, PaymentMethodGatewaySchema, SubModeOfPaymentSchema, PaymentMethodModeOfPaymentSchema, PaymentMethodTransactionPartySchema, LineItemPaymentMethodSchema, BundleDetailsSchema, LineItemMonetaryValuesSchema, DimensionSchema, GiftDetailsSchema, CPRiderDetailsSchema, CPAreaCodeSchema, CPTatToDeliverTheShipmentSchema, CPOptionsSchema, CourierPartnerDetailsSchema, TaxDetailsSchema, PromiseDetailsSchema, CustomerPickupSlotSchema, DpPickupSlotSchema, OrderFulfillmentTimelineSchema, LineItemSchema, CreateOrderShipmentSchema, OrderingCurrencySchema, ConversionRateSchema, CurrencySchema, CouponOwnershipSchema, CouponSchema, BillingDetailsSchema, CPConfigurationSchema, ShippingDetailsSchema, UserDetailsSchema, LifecycleMessageSchema, CreateOrderRequestSchema, Page, OrderingSourceConfig, OrderingSourceFeature, ListOrderingSources, OrderingSourceSummary, CreateAccount, Account, AccountsList, ValidationError, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, UserDataInfo, BundleReturnConfig, BundleDetails, Address, ShipmentListingChannel, Prices, ChargeDistributionSchema, ChargeDistributionLogic, ChargeAmountCurrency, ChargeAmount, PriceAdjustmentCharge, OrderingCurrencyPrices, Identifier, TaxComponent, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponseSchema, TrackingList, InvoiceInfo, LoyaltyDiscountDetails, OrderDetailsData, UserDetailsData, PhoneDetails, ContactDetails, CompanyDetails, OrderingStoreDetails, DPDetailsData, BuyerDetails, DebugInfo, EinvoiceInfo, Formatted, ShipmentTags, LockData, ShipmentTimeStamp, ShipmentMeta, PDFLinks, AffiliateDetails, BagConfigs, OrderBagArticle, OrderBrandName, AffiliateBagsDetails, BagPaymentMethods, DiscountRules, ItemCriterias, BuyRules, PriceMinMax, ItemPriceDetails, FreeGiftItems, AppliedFreeArticles, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, FulfillmentOption, PlatformShipment, ShipmentInfoResponseSchema, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponseSchema, SubLane, SuperLane, LaneConfigResponseSchema, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponseSchema, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponseSchema, URL, FileResponseSchema, BulkActionTemplate, BulkActionTemplateResponseSchema, PlatformShipmentReasonsResponseSchema, ShipmentResponseReasons, ShipmentReasonsResponseSchema, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand, Item, ArticleStatusDetails, Company, ShipmentGstDetails, DeliverySlotDetails, InvoiceDetails, UserDetails, WeightData, BagDetails, BagDetailsPlatformResponseSchema, BagsPage, BagData, GetBagsPlatformResponseSchema, GeneratePosOrderReceiptResponseSchema, Templates, AllowedTemplatesResponseSchema, TemplateDownloadResponseSchema, Error, BulkFailedResponseSchema };
5601
+ export { PackageSchema, UpdatePackingErrorResponseSchema, ErrorResponseSchema, StoreReassign, StoreReassignResponseSchema, LockManagerEntities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponseSchema, UpdateShipmentLockResponseSchema, AnnouncementResponseSchema, AnnouncementsResponseSchema, BaseResponseSchema, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, OrderDataUpdates, SellerQCDetailsSchema, EntityStatusDataSchema, DataUpdatesFiltersSchema, EntityStatusDataUpdates, DataUpdates, TransitionComments, RefundModeTransitionData, ShipmentsRequestSchema, UpdatedAddressSchema, UpdateAddressRequestBody, StatuesRequestSchema, UpdateShipmentStatusRequestSchema, ShipmentsResponseSchema, DPConfiguration, PaymentConfig, LockStateMessage, CreateOrderConfig, StatuesResponseSchema, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderResponseSchema, DispatchManifest, SuccessResponseSchema, ActionInfo, GetActionsResponseSchema, HistoryReason, RefundInformation, HistoryMeta, HistoryDict, ShipmentHistoryResponseSchema, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, SendSmsResponseSchema, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponseSchema, Tax, AmountSchema, Charge, LineItem, ProcessingDates, Tag, ProcessAfterConfig, SystemMessages, Shipment, GeoLocationSchema, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponseSchema, UploadManifestConsent, CreateChannelConfigResponseSchema, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeFormat, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponseSchema, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponseSchema, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponseSchema, BulkReportsFiltersSchema, BulkReportsDownloadRequestSchema, BulkReportsDownloadResponseSchema, APIFailedResponseSchema, BulkStateTransistionRequestSchema, BulkStateTransistionResponseSchema, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponseSchema, JobDetailsData, JobDetailsResponseSchema, JobFailedResponseSchema, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequestSchema, ProcessManifest, ProcessManifestResponseSchema, ProcessManifestItemResponseSchema, FilterInfoOption, FiltersInfo, ManifestFiltersResponseSchema, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponseSchema, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponseSchema, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponseSchema, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequestSchema, GenerateInvoiceIDResponseSchema, GenerateInvoiceIDErrorResponseSchema, ManifestResponseSchema, ProcessManifestRequestSchema, ManifestItems, ManifestErrorResponseSchema, ConfigData, ConfigUpdatedResponseSchema, FlagData, Flags, Filter, PostHook, PreHook, Config, TransitionConfigCondition, TransitionConfigData, TransitionConfigPayload, RuleListRequestSchema, RuleErrorResponseSchema, RMAPageInfo, RuleAction, QuestionSetItem, Reason, Conditions, RuleItem, RuleError, RuleListResponseSchema, UpdateShipmentPaymentMode, CommonErrorResponseSchema, ExceptionErrorResponseSchema, ProductSchema, PaymentMethodSchema, ActionDetailSchema, PaymentMetaDataSchema, PaymentMetaLogoURLSchema, FulfillmentOptionSchema, PaymentMethodGatewaySchema, SubModeOfPaymentSchema, PaymentMethodModeOfPaymentSchema, PaymentMethodTransactionPartySchema, LineItemPaymentMethodSchema, PackagesSchema, PackagesResponseSchema, PackagesErrorResponseSchema, BundleDetailsSchema, LineItemMonetaryValuesSchema, DimensionSchema, GiftDetailsSchema, CPRiderDetailsSchema, CPAreaCodeSchema, CPTatToDeliverTheShipmentSchema, CPOptionsSchema, CourierPartnerDetailsSchema, TaxDetailsSchema, PromiseDetailsSchema, CustomerPickupSlotSchema, DpPickupSlotSchema, OrderFulfillmentTimelineSchema, LineItemSchema, CreateOrderShipmentSchema, OrderingCurrencySchema, ConversionRateSchema, CurrencySchema, CouponOwnershipSchema, CouponSchema, BillingDetailsSchema, CPConfigurationSchema, ShippingDetailsSchema, UserDetailsSchema, LifecycleMessageSchema, CreateOrderRequestSchema, Page, OrderingSourceConfig, OrderingSourceFeature, ListOrderingSources, OrderingSourceSummary, CreateAccount, Account, AccountsList, PackageProduct, ValidationError, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, OrderingSourceDetails, UserDataInfo, BundleReturnConfig, BundleDetails, Address, ShipmentListingChannel, Prices, ChargeDistributionSchema, ChargeDistributionLogic, ChargeAmountCurrency, ChargeAmount, PriceAdjustmentCharge, OrderingCurrencyPrices, Identifier, TaxComponent, SellerQcDetails, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponseSchema, TrackingList, InvoiceInfo, LoyaltyDiscountDetails, OrderDetailsData, UserDetailsData, PhoneDetails, ContactDetails, CompanyDetails, OrderingStoreDetails, DPDetailsData, BuyerDetails, DebugInfo, EinvoiceInfo, Formatted, ShipmentTags, LockData, ShipmentTimeStamp, ShipmentMeta, PDFLinks, AffiliateDetails, BagConfigs, OrderBagArticle, OrderBrandName, AffiliateBagsDetails, BagPaymentMethods, DiscountRules, ItemCriterias, BuyRules, PriceMinMax, ItemPriceDetails, FreeGiftItems, AppliedFreeArticles, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, FulfillmentOption, PlatformShipment, ShipmentInfoResponseSchema, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponseSchema, SubLane, SuperLane, LaneConfigResponseSchema, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponseSchema, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponseSchema, URL, FileResponseSchema, BulkActionTemplate, BulkActionTemplateResponseSchema, PlatformShipmentReasonsResponseSchema, ShipmentResponseReasons, ShipmentReasonsResponseSchema, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand, Item, ArticleStatusDetails, Company, ShipmentGstDetails, DeliverySlotDetails, InvoiceDetails, UserDetails, WeightData, BagDetails, BagDetailsPlatformResponseSchema, BagsPage, BagData, GetBagsPlatformResponseSchema, GeneratePosOrderReceiptResponseSchema, Templates, AllowedTemplatesResponseSchema, TemplateDownloadResponseSchema, Error, BulkFailedResponseSchema };
5504
5602
  }
5505
- /** @returns {InvalidateShipmentCachePayload} */
5506
- declare function InvalidateShipmentCachePayload(): InvalidateShipmentCachePayload;
5507
- type InvalidateShipmentCachePayload = {
5603
+ /** @returns {PackageSchema} */
5604
+ declare function PackageSchema(): PackageSchema;
5605
+ type PackageSchema = {
5508
5606
  /**
5509
- * - Shipment Ids to clear cache
5607
+ * - Unique identifier of the physical package. If not
5608
+ * provided, the system will auto-generate a unique ID with format 'PK'
5609
+ * followed by a 10-digit number.
5510
5610
  */
5511
- shipment_ids?: string[];
5611
+ id?: string;
5512
5612
  /**
5513
- * - Affiliate Bag Ids to clear cache
5514
- * of shipment Ids mapped to it
5613
+ * - Optional reference to a predefined
5614
+ * packaging configuration or template used for creating physical packages.
5515
5615
  */
5516
- affiliate_bag_ids?: string[];
5616
+ packaging_id?: string;
5517
5617
  /**
5518
- * - Bag Ids to clear cache of shipment Ids mapped to it
5618
+ * - A human-readable name or label for the package,
5619
+ * used for identification and organizational purposes.
5519
5620
  */
5520
- bag_ids?: string[];
5521
- };
5522
- /** @returns {InvalidateShipmentCacheNestedResponseSchema} */
5523
- declare function InvalidateShipmentCacheNestedResponseSchema(): InvalidateShipmentCacheNestedResponseSchema;
5524
- type InvalidateShipmentCacheNestedResponseSchema = {
5525
- shipment_id?: string;
5621
+ name?: string;
5526
5622
  /**
5527
- * - The HTTP status code corresponding to the
5528
- * overall status of the shipment response.
5623
+ * - The size category of the package (e.g., small,
5624
+ * medium, large). Used for logistics and carrier selection.
5529
5625
  */
5530
- status?: number;
5531
- message?: string;
5532
- error?: string;
5533
- };
5534
- /** @returns {InvalidateShipmentCacheResponseSchema} */
5535
- declare function InvalidateShipmentCacheResponseSchema(): InvalidateShipmentCacheResponseSchema;
5536
- type InvalidateShipmentCacheResponseSchema = {
5537
- response?: InvalidateShipmentCacheNestedResponseSchema[];
5626
+ size?: string;
5627
+ /**
5628
+ * - The type or category of packaging
5629
+ * material used (e.g., Box, Paper Bag, Poly Mailer, Envelope).
5630
+ */
5631
+ package_type?: string;
5632
+ /**
5633
+ * - The length dimension of the package in
5634
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5635
+ */
5636
+ length?: number;
5637
+ /**
5638
+ * - The width dimension of the package in
5639
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5640
+ */
5641
+ width?: number;
5642
+ /**
5643
+ * - The height dimension of the package in
5644
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5645
+ */
5646
+ height?: number;
5647
+ /**
5648
+ * - The actual weight of the package in kilograms,
5649
+ * including packaging materials and products.
5650
+ */
5651
+ weight?: number;
5652
+ /**
5653
+ * - The acceptable error rate or tolerance for
5654
+ * the package weight, expressed as a decimal (e.g., 0.02 for 2% tolerance).
5655
+ */
5656
+ error_rate?: number;
5657
+ /**
5658
+ * - The volumetric weight of the
5659
+ * package calculated based on dimensions, used for shipping cost calculation
5660
+ * when greater than actual weight.
5661
+ */
5662
+ package_vol_weight?: number;
5663
+ /**
5664
+ * - The maximum weight capacity that this
5665
+ * package can handle, used for validation and logistics planning.
5666
+ */
5667
+ max_weight?: number;
5668
+ /**
5669
+ * - Air Waybill number assigned by the courier partner
5670
+ * for tracking this specific package throughout the delivery process.
5671
+ */
5672
+ awb?: string;
5673
+ /**
5674
+ * - Dictionary containing PDF document links
5675
+ * related to this package (labels, invoices, etc.). Always returns an object
5676
+ * - empty object {} if no links are present, populated object if links exist.
5677
+ * Users can update values by providing new key-value pairs.
5678
+ */
5679
+ pdf_links?: any;
5680
+ /**
5681
+ * - List of products contained within
5682
+ * this package. Each product specifies its line number, quantity, and identifier.
5683
+ */
5684
+ products?: PackageProduct[];
5538
5685
  };
5539
5686
  /** @returns {UpdatePackingErrorResponseSchema} */
5540
5687
  declare function UpdatePackingErrorResponseSchema(): UpdatePackingErrorResponseSchema;
@@ -6174,6 +6321,23 @@ type TransitionComments = {
6174
6321
  */
6175
6322
  message: string;
6176
6323
  };
6324
+ /** @returns {RefundModeTransitionData} */
6325
+ declare function RefundModeTransitionData(): RefundModeTransitionData;
6326
+ type RefundModeTransitionData = {
6327
+ /**
6328
+ * - Refund Mode for status transition data.
6329
+ */
6330
+ refund_mode?: string;
6331
+ /**
6332
+ * - Refund Mode display name.
6333
+ */
6334
+ display_name?: string;
6335
+ /**
6336
+ * - List of identifiers associated
6337
+ * with the refund transaction.
6338
+ */
6339
+ payment_identifiers?: string[];
6340
+ };
6177
6341
  /** @returns {ShipmentsRequestSchema} */
6178
6342
  declare function ShipmentsRequestSchema(): ShipmentsRequestSchema;
6179
6343
  type ShipmentsRequestSchema = {
@@ -6193,6 +6357,11 @@ type ShipmentsRequestSchema = {
6193
6357
  * associated with the transition of shipment status.
6194
6358
  */
6195
6359
  transition_comments?: TransitionComments[];
6360
+ /**
6361
+ * - Refund Mode for
6362
+ * status transition.
6363
+ */
6364
+ refund_modes?: RefundModeTransitionData[];
6196
6365
  };
6197
6366
  /** @returns {UpdatedAddressSchema} */
6198
6367
  declare function UpdatedAddressSchema(): UpdatedAddressSchema;
@@ -6270,7 +6439,9 @@ type UpdateAddressRequestBody = {
6270
6439
  declare function StatuesRequestSchema(): StatuesRequestSchema;
6271
6440
  type StatuesRequestSchema = {
6272
6441
  /**
6273
- * - The new status to be assigned to the shipment(s).
6442
+ * - The new status to be assigned to a shipment.
6443
+ * Also, refer to the <a href='/commerce/getting-started/oms-states/'>OMS
6444
+ * States</a> for the complete status list.
6274
6445
  */
6275
6446
  status?: string;
6276
6447
  /**
@@ -10126,6 +10297,16 @@ type Filter = {
10126
10297
  * - `data_update`: Data Update
10127
10298
  */
10128
10299
  task_trigger_condition?: string[];
10300
+ /**
10301
+ * - Represents the unique slug
10302
+ * associated with the fulfillment option attached to the shipment. This slug
10303
+ * helps determine the fulfillment method and operational flow used to deliver
10304
+ * the shipment. Examples:
10305
+ *
10306
+ * - "standard-delivery"
10307
+ * - "hyperlocal-delivery"
10308
+ */
10309
+ fulfillment_option_slug?: string;
10129
10310
  };
10130
10311
  /** @returns {PostHook} */
10131
10312
  declare function PostHook(): PostHook;
@@ -10733,6 +10914,44 @@ type LineItemPaymentMethodSchema = {
10733
10914
  payment_identifier?: string;
10734
10915
  transaction_party?: PaymentMethodTransactionPartySchema;
10735
10916
  };
10917
+ /** @returns {PackagesSchema} */
10918
+ declare function PackagesSchema(): PackagesSchema;
10919
+ type PackagesSchema = {
10920
+ /**
10921
+ * - Array of packages to be created or
10922
+ * updated for the shipment. At least two packages are required for MPS functionality.
10923
+ */
10924
+ packages: PackageSchema[];
10925
+ };
10926
+ /** @returns {PackagesResponseSchema} */
10927
+ declare function PackagesResponseSchema(): PackagesResponseSchema;
10928
+ type PackagesResponseSchema = {
10929
+ /**
10930
+ * - Indicates whether the API call was successful
10931
+ * (true) or failed (false).
10932
+ */
10933
+ success: boolean;
10934
+ data: PackagesSchema;
10935
+ /**
10936
+ * - A descriptive message providing additional
10937
+ * information about the API response.
10938
+ */
10939
+ message?: string;
10940
+ };
10941
+ /** @returns {PackagesErrorResponseSchema} */
10942
+ declare function PackagesErrorResponseSchema(): PackagesErrorResponseSchema;
10943
+ type PackagesErrorResponseSchema = {
10944
+ /**
10945
+ * - Indicates whether the API call was successful.
10946
+ * Will always be false for error responses.
10947
+ */
10948
+ success: boolean;
10949
+ /**
10950
+ * - A detailed error message describing what went
10951
+ * wrong during the API call.
10952
+ */
10953
+ error: string;
10954
+ };
10736
10955
  /** @returns {BundleDetailsSchema} */
10737
10956
  declare function BundleDetailsSchema(): BundleDetailsSchema;
10738
10957
  type BundleDetailsSchema = {
@@ -11114,6 +11333,11 @@ type CreateOrderShipmentSchema = {
11114
11333
  * to Fynd's generated ID.
11115
11334
  */
11116
11335
  external_shipment_id?: string;
11336
+ /**
11337
+ * - Indicates whether the order was created in
11338
+ * offline mode. Used to enable offline-specific processing and sync behavior.
11339
+ */
11340
+ invoice_id?: string;
11117
11341
  /**
11118
11342
  * - A list of items included in the shipment.
11119
11343
  */
@@ -11572,6 +11796,11 @@ type CreateOrderRequestSchema = {
11572
11796
  * Draft orders will be moved to upcoming state instead of placed status.
11573
11797
  */
11574
11798
  is_draft?: boolean;
11799
+ /**
11800
+ * - Indicates whether the order is an
11801
+ * offline order placed through a physical store or offline channel.
11802
+ */
11803
+ is_offline_order?: boolean;
11575
11804
  /**
11576
11805
  * - Metadata related to the order may include
11577
11806
  * additional, dynamic information that provides further context about the
@@ -11708,6 +11937,24 @@ type AccountsList = {
11708
11937
  data?: Account[];
11709
11938
  page?: Page;
11710
11939
  };
11940
+ /** @returns {PackageProduct} */
11941
+ declare function PackageProduct(): PackageProduct;
11942
+ type PackageProduct = {
11943
+ /**
11944
+ * - The line number of the product within the
11945
+ * shipment, used for tracking and identification purposes.
11946
+ */
11947
+ line_number: number;
11948
+ /**
11949
+ * - The quantity of the product included in this package.
11950
+ */
11951
+ quantity: number;
11952
+ /**
11953
+ * - The unique identifier or SKU (Stock Keeping
11954
+ * Unit) of the product. This is used to match products across packages and bags.
11955
+ */
11956
+ identifier: string;
11957
+ };
11711
11958
  /** @returns {ValidationError} */
11712
11959
  declare function ValidationError(): ValidationError;
11713
11960
  type ValidationError = {
@@ -11859,6 +12106,30 @@ type ShipmentStatus = {
11859
12106
  */
11860
12107
  status: string;
11861
12108
  };
12109
+ /** @returns {OrderingSourceDetails} */
12110
+ declare function OrderingSourceDetails(): OrderingSourceDetails;
12111
+ type OrderingSourceDetails = {
12112
+ /**
12113
+ * - Type of the ordering source.
12114
+ */
12115
+ type?: string;
12116
+ /**
12117
+ * - Slug identifier of the ordering source.
12118
+ */
12119
+ slug?: string;
12120
+ /**
12121
+ * - Display name of the ordering source.
12122
+ */
12123
+ display_name?: string;
12124
+ /**
12125
+ * - Indicates whether the ordering source is active.
12126
+ */
12127
+ is_active?: boolean;
12128
+ /**
12129
+ * - Logo URL of the ordering source.
12130
+ */
12131
+ logo?: string;
12132
+ };
11862
12133
  /** @returns {UserDataInfo} */
11863
12134
  declare function UserDataInfo(): UserDataInfo;
11864
12135
  type UserDataInfo = {
@@ -12307,6 +12578,11 @@ type Prices = {
12307
12578
  * scenarios involving multiple payment methods.
12308
12579
  */
12309
12580
  amount_to_be_collected?: number;
12581
+ /**
12582
+ * - The base cost incurred by the seller to
12583
+ * acquire or produce the product before margin or discount.
12584
+ */
12585
+ cost_price?: number;
12310
12586
  /**
12311
12587
  * - Amount reduced from the payable price
12312
12588
  * when the customer applies loyalty program points while placing the order.
@@ -12490,6 +12766,11 @@ type OrderingCurrencyPrices = {
12490
12766
  * customer when multiple payment methods are utilized for a single order.
12491
12767
  */
12492
12768
  amount_to_be_collected?: number;
12769
+ /**
12770
+ * - The base cost incurred by the seller to
12771
+ * acquire or produce the product before margin or discount.
12772
+ */
12773
+ cost_price?: number;
12493
12774
  /**
12494
12775
  * - Amount reduced from the payable price
12495
12776
  * when the customer applies loyalty program points while placing the order.
@@ -12561,6 +12842,25 @@ type TaxComponent = {
12561
12842
  */
12562
12843
  taxable_amount?: number;
12563
12844
  };
12845
+ /** @returns {SellerQcDetails} */
12846
+ declare function SellerQcDetails(): SellerQcDetails;
12847
+ type SellerQcDetails = {
12848
+ /**
12849
+ * - Represents the line number in an order or
12850
+ * transaction associated with the bag.
12851
+ */
12852
+ line_number?: number;
12853
+ /**
12854
+ * - Represents the total number of items in a
12855
+ * bag that have failed quality control and are marked as bad QC.
12856
+ */
12857
+ bad_quantity?: number;
12858
+ /**
12859
+ * - Represents the total number of items in
12860
+ * a bag that have passed quality control and are marked as good QC.
12861
+ */
12862
+ good_quantity?: number;
12863
+ };
12564
12864
  /** @returns {FinancialBreakup} */
12565
12865
  declare function FinancialBreakup(): FinancialBreakup;
12566
12866
  type FinancialBreakup = {
@@ -13624,6 +13924,7 @@ type ShipmentItem = {
13624
13924
  * order was created in UTC format.
13625
13925
  */
13626
13926
  order_created_ts?: string;
13927
+ ordering_source_details?: OrderingSourceDetails;
13627
13928
  shipment_status?: ShipmentStatus;
13628
13929
  user?: UserDataInfo;
13629
13930
  /**
@@ -15007,6 +15308,7 @@ type OrderBags = {
15007
15308
  * parent promotional bags.
15008
15309
  */
15009
15310
  parent_promo_bags?: any;
15311
+ seller_qc_details?: SellerQcDetails;
15010
15312
  financial_breakup?: FinancialBreakup;
15011
15313
  bag_configs?: BagConfigs;
15012
15314
  seller_identifier?: string;
@@ -15534,6 +15836,11 @@ type PlatformShipment = {
15534
15836
  * relevant metadata.
15535
15837
  */
15536
15838
  logistics_meta?: any;
15839
+ /**
15840
+ * - Array of packages to be created or
15841
+ * updated for the shipment. At least two packages are required for MPS functionality.
15842
+ */
15843
+ packages?: PackageSchema[];
15537
15844
  };
15538
15845
  /** @returns {ShipmentInfoResponseSchema} */
15539
15846
  declare function ShipmentInfoResponseSchema(): ShipmentInfoResponseSchema;
@@ -15623,6 +15930,7 @@ type OrderData = {
15623
15930
  * identify source of order creation.
15624
15931
  */
15625
15932
  ordering_source?: string;
15933
+ ordering_source_details?: OrderingSourceDetails;
15626
15934
  /**
15627
15935
  * - Specifies the exact date and time when the
15628
15936
  * order was placed by the customer, serving as a key timestamp for the
@@ -15761,6 +16069,12 @@ type PlatformOrderItems = {
15761
16069
  * order was created.
15762
16070
  */
15763
16071
  order_created_ts?: string;
16072
+ /**
16073
+ * - Ordering source, to be used to
16074
+ * identify source of order creation.
16075
+ */
16076
+ ordering_source?: string;
16077
+ ordering_source_details?: OrderingSourceDetails;
15764
16078
  /**
15765
16079
  * - The payment mode used for the order.
15766
16080
  */