@gofynd/fdk-client-javascript 3.16.3 → 3.17.0

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 (70) 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/Content/ContentApplicationClient.d.ts +10 -0
  6. package/sdk/application/Content/ContentApplicationClient.js +53 -0
  7. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
  8. package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
  9. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
  10. package/sdk/application/Order/OrderApplicationClient.js +50 -0
  11. package/sdk/application/Payment/PaymentApplicationClient.d.ts +4 -4
  12. package/sdk/application/Payment/PaymentApplicationClient.js +3 -4
  13. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
  14. package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
  15. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
  16. package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
  17. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
  18. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
  19. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +3 -3
  20. package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -3
  21. package/sdk/platform/Cart/CartPlatformModel.d.ts +1 -4
  22. package/sdk/platform/Cart/CartPlatformModel.js +1 -1
  23. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +2 -2
  24. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2 -2
  25. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -11
  26. package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -80
  27. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6 -131
  28. package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -141
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -10
  30. package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -12
  31. package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
  32. package/sdk/platform/Common/CommonPlatformModel.js +14 -0
  33. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
  34. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
  35. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
  36. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
  37. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
  38. package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
  39. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
  40. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
  41. package/sdk/platform/Order/OrderPlatformClient.d.ts +26 -18
  42. package/sdk/platform/Order/OrderPlatformClient.js +175 -107
  43. package/sdk/platform/Order/OrderPlatformModel.d.ts +339 -43
  44. package/sdk/platform/Order/OrderPlatformModel.js +209 -43
  45. package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
  46. package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
  47. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +20 -10
  48. package/sdk/platform/Payment/PaymentPlatformModel.js +14 -10
  49. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  50. package/sdk/platform/PlatformApplicationClient.js +0 -4
  51. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
  52. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
  53. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
  54. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
  55. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
  56. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
  57. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  58. package/sdk/platform/User/UserPlatformModel.js +4 -4
  59. package/sdk/platform/index.d.ts +0 -1
  60. package/sdk/platform/index.js +0 -2
  61. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
  62. package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
  63. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  64. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  65. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  66. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  67. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  68. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  69. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
  70. 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
@@ -2323,6 +2350,14 @@ export = OrderPlatformModel;
2323
2350
  *
2324
2351
  * - `status_update`: Status Update
2325
2352
  * - `data_update`: Data Update
2353
+ *
2354
+ * @property {string} [fulfillment_option_slug] - Represents the unique slug
2355
+ * associated with the fulfillment option attached to the shipment. This slug
2356
+ * helps determine the fulfillment method and operational flow used to deliver
2357
+ * the shipment. Examples:
2358
+ *
2359
+ * - "standard-delivery"
2360
+ * - "hyperlocal-delivery"
2326
2361
  */
2327
2362
  /**
2328
2363
  * @typedef PostHook
@@ -2612,6 +2647,26 @@ export = OrderPlatformModel;
2612
2647
  * @property {string} [payment_identifier] - Transaction id
2613
2648
  * @property {PaymentMethodTransactionPartySchema} [transaction_party]
2614
2649
  */
2650
+ /**
2651
+ * @typedef PackagesSchema
2652
+ * @property {PackageSchema[]} packages - Array of packages to be created or
2653
+ * updated for the shipment. At least two packages are required for MPS functionality.
2654
+ */
2655
+ /**
2656
+ * @typedef PackagesResponseSchema
2657
+ * @property {boolean} success - Indicates whether the API call was successful
2658
+ * (true) or failed (false).
2659
+ * @property {PackagesSchema} data
2660
+ * @property {string} [message] - A descriptive message providing additional
2661
+ * information about the API response.
2662
+ */
2663
+ /**
2664
+ * @typedef PackagesErrorResponseSchema
2665
+ * @property {boolean} success - Indicates whether the API call was successful.
2666
+ * Will always be false for error responses.
2667
+ * @property {string} error - A detailed error message describing what went
2668
+ * wrong during the API call.
2669
+ */
2615
2670
  /**
2616
2671
  * @typedef BundleDetailsSchema
2617
2672
  * @property {boolean} [is_base] - This serves as the base item, with all other
@@ -3048,6 +3103,14 @@ export = OrderPlatformModel;
3048
3103
  * integration.
3049
3104
  * @property {Page} [page]
3050
3105
  */
3106
+ /**
3107
+ * @typedef PackageProduct
3108
+ * @property {number} line_number - The line number of the product within the
3109
+ * shipment, used for tracking and identification purposes.
3110
+ * @property {number} quantity - The quantity of the product included in this package.
3111
+ * @property {string} identifier - The unique identifier or SKU (Stock Keeping
3112
+ * Unit) of the product. This is used to match products across packages and bags.
3113
+ */
3051
3114
  /**
3052
3115
  * @typedef ValidationError
3053
3116
  * @property {string} message - A brief description of the error encountered.
@@ -3118,6 +3181,14 @@ export = OrderPlatformModel;
3118
3181
  * @property {string} status - This key denotes the status of the shipment,
3119
3182
  * providing a clear indication of its current processing stage.
3120
3183
  */
3184
+ /**
3185
+ * @typedef OrderingSourceDetails
3186
+ * @property {string} [type] - Type of the ordering source.
3187
+ * @property {string} [slug] - Slug identifier of the ordering source.
3188
+ * @property {string} [display_name] - Display name of the ordering source.
3189
+ * @property {boolean} [is_active] - Indicates whether the ordering source is active.
3190
+ * @property {string} [logo] - Logo URL of the ordering source.
3191
+ */
3121
3192
  /**
3122
3193
  * @typedef UserDataInfo
3123
3194
  * @property {number} [id] - The unique identifier associated with the user.
@@ -3291,6 +3362,8 @@ export = OrderPlatformModel;
3291
3362
  * used in the transaction.
3292
3363
  * @property {number} [amount_to_be_collected] - Total amount to be collected in
3293
3364
  * scenarios involving multiple payment methods.
3365
+ * @property {number} [cost_price] - The base cost incurred by the seller to
3366
+ * acquire or produce the product before margin or discount.
3294
3367
  * @property {number} [loyalty_discount] - Amount reduced from the payable price
3295
3368
  * when the customer applies loyalty program points while placing the order.
3296
3369
  */
@@ -3375,6 +3448,8 @@ export = OrderPlatformModel;
3375
3448
  * purchased by the customer, usable for future transactions.
3376
3449
  * @property {number} [amount_to_be_collected] - Amount to be collected from the
3377
3450
  * customer when multiple payment methods are utilized for a single order.
3451
+ * @property {number} [cost_price] - The base cost incurred by the seller to
3452
+ * acquire or produce the product before margin or discount.
3378
3453
  * @property {number} [loyalty_discount] - Amount reduced from the payable price
3379
3454
  * when the customer applies loyalty program points while placing the order.
3380
3455
  */
@@ -3414,6 +3489,15 @@ export = OrderPlatformModel;
3414
3489
  * calculated, excluding the tax itself. This represents the value of goods or
3415
3490
  * services before tax is applied.
3416
3491
  */
3492
+ /**
3493
+ * @typedef SellerQcDetails
3494
+ * @property {number} [line_number] - Represents the line number in an order or
3495
+ * transaction associated with the bag.
3496
+ * @property {number} [bad_quantity] - Represents the total number of items in a
3497
+ * bag that have failed quality control and are marked as bad QC.
3498
+ * @property {number} [good_quantity] - Represents the total number of items in
3499
+ * a bag that have passed quality control and are marked as good QC.
3500
+ */
3417
3501
  /**
3418
3502
  * @typedef FinancialBreakup
3419
3503
  * @property {number} refund_credit - The amount of refund credits applicable
@@ -3894,6 +3978,7 @@ export = OrderPlatformModel;
3894
3978
  * placed by the customer. This timestamp is crucial for tracking the order'
3895
3979
  * @property {string} [order_created_ts] - The timestamp indicating when the
3896
3980
  * order was created in UTC format.
3981
+ * @property {OrderingSourceDetails} [ordering_source_details]
3897
3982
  * @property {ShipmentStatus} [shipment_status]
3898
3983
  * @property {UserDataInfo} [user]
3899
3984
  * @property {string} [estimated_sla_time] - The estimated Service Level
@@ -4537,6 +4622,7 @@ export = OrderPlatformModel;
4537
4622
  * @property {BagStatusHistory[]} [bag_status]
4538
4623
  * @property {Object} [parent_promo_bags] - An object containing details of
4539
4624
  * parent promotional bags.
4625
+ * @property {SellerQcDetails} [seller_qc_details]
4540
4626
  * @property {FinancialBreakup} [financial_breakup]
4541
4627
  * @property {BagConfigs} [bag_configs]
4542
4628
  * @property {string} [seller_identifier]
@@ -4785,6 +4871,8 @@ export = OrderPlatformModel;
4785
4871
  * @property {Object} [logistics_meta] - An object storing detailed
4786
4872
  * logistics-related information, including courier partner details and other
4787
4873
  * relevant metadata.
4874
+ * @property {PackageSchema[]} [packages] - Array of packages to be created or
4875
+ * updated for the shipment. At least two packages are required for MPS functionality.
4788
4876
  */
4789
4877
  /**
4790
4878
  * @typedef ShipmentInfoResponseSchema
@@ -4828,6 +4916,7 @@ export = OrderPlatformModel;
4828
4916
  * Please use ordering_source instead to ensure accurate order tracking and processing.
4829
4917
  * @property {string} [ordering_source] - Ordering source, to be used to
4830
4918
  * identify source of order creation.
4919
+ * @property {OrderingSourceDetails} [ordering_source_details]
4831
4920
  * @property {string} order_date - Specifies the exact date and time when the
4832
4921
  * order was placed by the customer, serving as a key timestamp for the
4833
4922
  * initiation of the order processing cycle.
@@ -4914,6 +5003,9 @@ export = OrderPlatformModel;
4914
5003
  * @property {string} [order_created_time] - The Date and time when the order was created.
4915
5004
  * @property {string} [order_created_ts] - The timestamp indicating when the
4916
5005
  * order was created.
5006
+ * @property {string} [ordering_source] - Ordering source, to be used to
5007
+ * identify source of order creation.
5008
+ * @property {OrderingSourceDetails} [ordering_source_details]
4917
5009
  * @property {string} [payment_mode] - The payment mode used for the order.
4918
5010
  * @property {PlatformShipment[]} [shipments] - An array of shipment items
4919
5011
  * returned as part of the order.
@@ -5500,41 +5592,90 @@ export = OrderPlatformModel;
5500
5592
  declare class OrderPlatformModel {
5501
5593
  }
5502
5594
  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 };
5595
+ 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
5596
  }
5505
- /** @returns {InvalidateShipmentCachePayload} */
5506
- declare function InvalidateShipmentCachePayload(): InvalidateShipmentCachePayload;
5507
- type InvalidateShipmentCachePayload = {
5597
+ /** @returns {PackageSchema} */
5598
+ declare function PackageSchema(): PackageSchema;
5599
+ type PackageSchema = {
5508
5600
  /**
5509
- * - Shipment Ids to clear cache
5601
+ * - Unique identifier of the physical package. If not
5602
+ * provided, the system will auto-generate a unique ID with format 'PK'
5603
+ * followed by a 10-digit number.
5510
5604
  */
5511
- shipment_ids?: string[];
5605
+ id?: string;
5512
5606
  /**
5513
- * - Affiliate Bag Ids to clear cache
5514
- * of shipment Ids mapped to it
5607
+ * - Optional reference to a predefined
5608
+ * packaging configuration or template used for creating physical packages.
5515
5609
  */
5516
- affiliate_bag_ids?: string[];
5610
+ packaging_id?: string;
5517
5611
  /**
5518
- * - Bag Ids to clear cache of shipment Ids mapped to it
5612
+ * - A human-readable name or label for the package,
5613
+ * used for identification and organizational purposes.
5519
5614
  */
5520
- bag_ids?: string[];
5521
- };
5522
- /** @returns {InvalidateShipmentCacheNestedResponseSchema} */
5523
- declare function InvalidateShipmentCacheNestedResponseSchema(): InvalidateShipmentCacheNestedResponseSchema;
5524
- type InvalidateShipmentCacheNestedResponseSchema = {
5525
- shipment_id?: string;
5615
+ name?: string;
5526
5616
  /**
5527
- * - The HTTP status code corresponding to the
5528
- * overall status of the shipment response.
5617
+ * - The size category of the package (e.g., small,
5618
+ * medium, large). Used for logistics and carrier selection.
5529
5619
  */
5530
- status?: number;
5531
- message?: string;
5532
- error?: string;
5533
- };
5534
- /** @returns {InvalidateShipmentCacheResponseSchema} */
5535
- declare function InvalidateShipmentCacheResponseSchema(): InvalidateShipmentCacheResponseSchema;
5536
- type InvalidateShipmentCacheResponseSchema = {
5537
- response?: InvalidateShipmentCacheNestedResponseSchema[];
5620
+ size?: string;
5621
+ /**
5622
+ * - The type or category of packaging
5623
+ * material used (e.g., Box, Paper Bag, Poly Mailer, Envelope).
5624
+ */
5625
+ package_type?: string;
5626
+ /**
5627
+ * - The length dimension of the package in
5628
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5629
+ */
5630
+ length?: number;
5631
+ /**
5632
+ * - The width dimension of the package in
5633
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5634
+ */
5635
+ width?: number;
5636
+ /**
5637
+ * - The height dimension of the package in
5638
+ * centimeters. Used for volumetric weight calculation and carrier requirements.
5639
+ */
5640
+ height?: number;
5641
+ /**
5642
+ * - The actual weight of the package in kilograms,
5643
+ * including packaging materials and products.
5644
+ */
5645
+ weight?: number;
5646
+ /**
5647
+ * - The acceptable error rate or tolerance for
5648
+ * the package weight, expressed as a decimal (e.g., 0.02 for 2% tolerance).
5649
+ */
5650
+ error_rate?: number;
5651
+ /**
5652
+ * - The volumetric weight of the
5653
+ * package calculated based on dimensions, used for shipping cost calculation
5654
+ * when greater than actual weight.
5655
+ */
5656
+ package_vol_weight?: number;
5657
+ /**
5658
+ * - The maximum weight capacity that this
5659
+ * package can handle, used for validation and logistics planning.
5660
+ */
5661
+ max_weight?: number;
5662
+ /**
5663
+ * - Air Waybill number assigned by the courier partner
5664
+ * for tracking this specific package throughout the delivery process.
5665
+ */
5666
+ awb?: string;
5667
+ /**
5668
+ * - Dictionary containing PDF document links
5669
+ * related to this package (labels, invoices, etc.). Always returns an object
5670
+ * - empty object {} if no links are present, populated object if links exist.
5671
+ * Users can update values by providing new key-value pairs.
5672
+ */
5673
+ pdf_links?: any;
5674
+ /**
5675
+ * - List of products contained within
5676
+ * this package. Each product specifies its line number, quantity, and identifier.
5677
+ */
5678
+ products?: PackageProduct[];
5538
5679
  };
5539
5680
  /** @returns {UpdatePackingErrorResponseSchema} */
5540
5681
  declare function UpdatePackingErrorResponseSchema(): UpdatePackingErrorResponseSchema;
@@ -6174,6 +6315,23 @@ type TransitionComments = {
6174
6315
  */
6175
6316
  message: string;
6176
6317
  };
6318
+ /** @returns {RefundModeTransitionData} */
6319
+ declare function RefundModeTransitionData(): RefundModeTransitionData;
6320
+ type RefundModeTransitionData = {
6321
+ /**
6322
+ * - Refund Mode for status transition data.
6323
+ */
6324
+ refund_mode?: string;
6325
+ /**
6326
+ * - Refund Mode display name.
6327
+ */
6328
+ display_name?: string;
6329
+ /**
6330
+ * - List of identifiers associated
6331
+ * with the refund transaction.
6332
+ */
6333
+ payment_identifiers?: string[];
6334
+ };
6177
6335
  /** @returns {ShipmentsRequestSchema} */
6178
6336
  declare function ShipmentsRequestSchema(): ShipmentsRequestSchema;
6179
6337
  type ShipmentsRequestSchema = {
@@ -6193,6 +6351,11 @@ type ShipmentsRequestSchema = {
6193
6351
  * associated with the transition of shipment status.
6194
6352
  */
6195
6353
  transition_comments?: TransitionComments[];
6354
+ /**
6355
+ * - Refund Mode for
6356
+ * status transition.
6357
+ */
6358
+ refund_modes?: RefundModeTransitionData[];
6196
6359
  };
6197
6360
  /** @returns {UpdatedAddressSchema} */
6198
6361
  declare function UpdatedAddressSchema(): UpdatedAddressSchema;
@@ -10126,6 +10289,16 @@ type Filter = {
10126
10289
  * - `data_update`: Data Update
10127
10290
  */
10128
10291
  task_trigger_condition?: string[];
10292
+ /**
10293
+ * - Represents the unique slug
10294
+ * associated with the fulfillment option attached to the shipment. This slug
10295
+ * helps determine the fulfillment method and operational flow used to deliver
10296
+ * the shipment. Examples:
10297
+ *
10298
+ * - "standard-delivery"
10299
+ * - "hyperlocal-delivery"
10300
+ */
10301
+ fulfillment_option_slug?: string;
10129
10302
  };
10130
10303
  /** @returns {PostHook} */
10131
10304
  declare function PostHook(): PostHook;
@@ -10733,6 +10906,44 @@ type LineItemPaymentMethodSchema = {
10733
10906
  payment_identifier?: string;
10734
10907
  transaction_party?: PaymentMethodTransactionPartySchema;
10735
10908
  };
10909
+ /** @returns {PackagesSchema} */
10910
+ declare function PackagesSchema(): PackagesSchema;
10911
+ type PackagesSchema = {
10912
+ /**
10913
+ * - Array of packages to be created or
10914
+ * updated for the shipment. At least two packages are required for MPS functionality.
10915
+ */
10916
+ packages: PackageSchema[];
10917
+ };
10918
+ /** @returns {PackagesResponseSchema} */
10919
+ declare function PackagesResponseSchema(): PackagesResponseSchema;
10920
+ type PackagesResponseSchema = {
10921
+ /**
10922
+ * - Indicates whether the API call was successful
10923
+ * (true) or failed (false).
10924
+ */
10925
+ success: boolean;
10926
+ data: PackagesSchema;
10927
+ /**
10928
+ * - A descriptive message providing additional
10929
+ * information about the API response.
10930
+ */
10931
+ message?: string;
10932
+ };
10933
+ /** @returns {PackagesErrorResponseSchema} */
10934
+ declare function PackagesErrorResponseSchema(): PackagesErrorResponseSchema;
10935
+ type PackagesErrorResponseSchema = {
10936
+ /**
10937
+ * - Indicates whether the API call was successful.
10938
+ * Will always be false for error responses.
10939
+ */
10940
+ success: boolean;
10941
+ /**
10942
+ * - A detailed error message describing what went
10943
+ * wrong during the API call.
10944
+ */
10945
+ error: string;
10946
+ };
10736
10947
  /** @returns {BundleDetailsSchema} */
10737
10948
  declare function BundleDetailsSchema(): BundleDetailsSchema;
10738
10949
  type BundleDetailsSchema = {
@@ -11708,6 +11919,24 @@ type AccountsList = {
11708
11919
  data?: Account[];
11709
11920
  page?: Page;
11710
11921
  };
11922
+ /** @returns {PackageProduct} */
11923
+ declare function PackageProduct(): PackageProduct;
11924
+ type PackageProduct = {
11925
+ /**
11926
+ * - The line number of the product within the
11927
+ * shipment, used for tracking and identification purposes.
11928
+ */
11929
+ line_number: number;
11930
+ /**
11931
+ * - The quantity of the product included in this package.
11932
+ */
11933
+ quantity: number;
11934
+ /**
11935
+ * - The unique identifier or SKU (Stock Keeping
11936
+ * Unit) of the product. This is used to match products across packages and bags.
11937
+ */
11938
+ identifier: string;
11939
+ };
11711
11940
  /** @returns {ValidationError} */
11712
11941
  declare function ValidationError(): ValidationError;
11713
11942
  type ValidationError = {
@@ -11859,6 +12088,30 @@ type ShipmentStatus = {
11859
12088
  */
11860
12089
  status: string;
11861
12090
  };
12091
+ /** @returns {OrderingSourceDetails} */
12092
+ declare function OrderingSourceDetails(): OrderingSourceDetails;
12093
+ type OrderingSourceDetails = {
12094
+ /**
12095
+ * - Type of the ordering source.
12096
+ */
12097
+ type?: string;
12098
+ /**
12099
+ * - Slug identifier of the ordering source.
12100
+ */
12101
+ slug?: string;
12102
+ /**
12103
+ * - Display name of the ordering source.
12104
+ */
12105
+ display_name?: string;
12106
+ /**
12107
+ * - Indicates whether the ordering source is active.
12108
+ */
12109
+ is_active?: boolean;
12110
+ /**
12111
+ * - Logo URL of the ordering source.
12112
+ */
12113
+ logo?: string;
12114
+ };
11862
12115
  /** @returns {UserDataInfo} */
11863
12116
  declare function UserDataInfo(): UserDataInfo;
11864
12117
  type UserDataInfo = {
@@ -12307,6 +12560,11 @@ type Prices = {
12307
12560
  * scenarios involving multiple payment methods.
12308
12561
  */
12309
12562
  amount_to_be_collected?: number;
12563
+ /**
12564
+ * - The base cost incurred by the seller to
12565
+ * acquire or produce the product before margin or discount.
12566
+ */
12567
+ cost_price?: number;
12310
12568
  /**
12311
12569
  * - Amount reduced from the payable price
12312
12570
  * when the customer applies loyalty program points while placing the order.
@@ -12490,6 +12748,11 @@ type OrderingCurrencyPrices = {
12490
12748
  * customer when multiple payment methods are utilized for a single order.
12491
12749
  */
12492
12750
  amount_to_be_collected?: number;
12751
+ /**
12752
+ * - The base cost incurred by the seller to
12753
+ * acquire or produce the product before margin or discount.
12754
+ */
12755
+ cost_price?: number;
12493
12756
  /**
12494
12757
  * - Amount reduced from the payable price
12495
12758
  * when the customer applies loyalty program points while placing the order.
@@ -12561,6 +12824,25 @@ type TaxComponent = {
12561
12824
  */
12562
12825
  taxable_amount?: number;
12563
12826
  };
12827
+ /** @returns {SellerQcDetails} */
12828
+ declare function SellerQcDetails(): SellerQcDetails;
12829
+ type SellerQcDetails = {
12830
+ /**
12831
+ * - Represents the line number in an order or
12832
+ * transaction associated with the bag.
12833
+ */
12834
+ line_number?: number;
12835
+ /**
12836
+ * - Represents the total number of items in a
12837
+ * bag that have failed quality control and are marked as bad QC.
12838
+ */
12839
+ bad_quantity?: number;
12840
+ /**
12841
+ * - Represents the total number of items in
12842
+ * a bag that have passed quality control and are marked as good QC.
12843
+ */
12844
+ good_quantity?: number;
12845
+ };
12564
12846
  /** @returns {FinancialBreakup} */
12565
12847
  declare function FinancialBreakup(): FinancialBreakup;
12566
12848
  type FinancialBreakup = {
@@ -13624,6 +13906,7 @@ type ShipmentItem = {
13624
13906
  * order was created in UTC format.
13625
13907
  */
13626
13908
  order_created_ts?: string;
13909
+ ordering_source_details?: OrderingSourceDetails;
13627
13910
  shipment_status?: ShipmentStatus;
13628
13911
  user?: UserDataInfo;
13629
13912
  /**
@@ -15007,6 +15290,7 @@ type OrderBags = {
15007
15290
  * parent promotional bags.
15008
15291
  */
15009
15292
  parent_promo_bags?: any;
15293
+ seller_qc_details?: SellerQcDetails;
15010
15294
  financial_breakup?: FinancialBreakup;
15011
15295
  bag_configs?: BagConfigs;
15012
15296
  seller_identifier?: string;
@@ -15534,6 +15818,11 @@ type PlatformShipment = {
15534
15818
  * relevant metadata.
15535
15819
  */
15536
15820
  logistics_meta?: any;
15821
+ /**
15822
+ * - Array of packages to be created or
15823
+ * updated for the shipment. At least two packages are required for MPS functionality.
15824
+ */
15825
+ packages?: PackageSchema[];
15537
15826
  };
15538
15827
  /** @returns {ShipmentInfoResponseSchema} */
15539
15828
  declare function ShipmentInfoResponseSchema(): ShipmentInfoResponseSchema;
@@ -15623,6 +15912,7 @@ type OrderData = {
15623
15912
  * identify source of order creation.
15624
15913
  */
15625
15914
  ordering_source?: string;
15915
+ ordering_source_details?: OrderingSourceDetails;
15626
15916
  /**
15627
15917
  * - Specifies the exact date and time when the
15628
15918
  * order was placed by the customer, serving as a key timestamp for the
@@ -15761,6 +16051,12 @@ type PlatformOrderItems = {
15761
16051
  * order was created.
15762
16052
  */
15763
16053
  order_created_ts?: string;
16054
+ /**
16055
+ * - Ordering source, to be used to
16056
+ * identify source of order creation.
16057
+ */
16058
+ ordering_source?: string;
16059
+ ordering_source_details?: OrderingSourceDetails;
15764
16060
  /**
15765
16061
  * - The payment mode used for the order.
15766
16062
  */