@gofynd/fdk-client-javascript 3.23.0 → 3.24.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 (30) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +12 -12
  4. package/sdk/application/Cart/CartApplicationClient.js +119 -33
  5. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  6. package/sdk/application/Logistic/LogisticApplicationClient.js +4 -2
  7. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +17 -17
  8. package/sdk/platform/Cart/CartPlatformApplicationClient.js +84 -13
  9. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -0
  10. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +52 -0
  11. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +7 -2
  12. package/sdk/platform/Catalog/CatalogPlatformModel.js +5 -2
  13. package/sdk/platform/Common/CommonPlatformClient.js +1 -1
  14. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +96 -1
  15. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +61 -0
  16. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -12
  17. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -81
  18. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -10
  19. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -12
  20. package/sdk/platform/Order/OrderPlatformClient.d.ts +28 -0
  21. package/sdk/platform/Order/OrderPlatformClient.js +179 -3
  22. package/sdk/platform/Order/OrderPlatformModel.d.ts +155 -6
  23. package/sdk/platform/Order/OrderPlatformModel.js +105 -3
  24. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  25. package/sdk/platform/Order/OrderPlatformValidator.js +30 -0
  26. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +24 -1
  27. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +18 -0
  28. package/sdk/platform/User/UserPlatformModel.d.ts +14 -1
  29. package/sdk/platform/User/UserPlatformModel.js +16 -0
  30. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
@@ -645,9 +645,11 @@ class Order {
645
645
  const query_params = {};
646
646
 
647
647
  const xHeaders = {};
648
- xHeaders["x-ordering-source"] = xOrderingSource;
649
- xHeaders["x-application-id"] = xApplicationId;
650
- xHeaders["x-extension-id"] = xExtensionId;
648
+ if (xOrderingSource !== undefined)
649
+ xHeaders["x-ordering-source"] = xOrderingSource;
650
+ if (xApplicationId !== undefined)
651
+ xHeaders["x-application-id"] = xApplicationId;
652
+ if (xExtensionId !== undefined) xHeaders["x-extension-id"] = xExtensionId;
651
653
 
652
654
  const response = await PlatformAPIClient.execute(
653
655
  this.config,
@@ -5028,6 +5030,180 @@ class Order {
5028
5030
  return response;
5029
5031
  }
5030
5032
 
5033
+ /**
5034
+ * @param {OrderPlatformValidator.RequestCourierPartnerForShipmentParam} arg
5035
+ * - Arg object
5036
+ *
5037
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
5038
+ * @param {import("../PlatformAPIClient").Options} - Options
5039
+ * @returns {Promise<OrderPlatformModel.CourierPartnerResponseSchema>} -
5040
+ * Success response
5041
+ * @name requestCourierPartnerForShipment
5042
+ * @summary: Manually request a courier partner for a shipment.
5043
+ * @description: Use this API to manually assign a courier partner (delivery partner) to a shipment.
5044
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/requestCourierPartnerForShipment/).
5045
+ */
5046
+ async requestCourierPartnerForShipment(
5047
+ { shipmentId, body, requestHeaders } = { requestHeaders: {} },
5048
+ { responseHeaders } = { responseHeaders: false }
5049
+ ) {
5050
+ const {
5051
+ error,
5052
+ } = OrderPlatformValidator.requestCourierPartnerForShipment().validate(
5053
+ {
5054
+ shipmentId,
5055
+ body,
5056
+ },
5057
+ { abortEarly: false, allowUnknown: true }
5058
+ );
5059
+ if (error) {
5060
+ return Promise.reject(new FDKClientValidationError(error));
5061
+ }
5062
+
5063
+ // Showing warrnings if extra unknown parameters are found
5064
+ const {
5065
+ error: warrning,
5066
+ } = OrderPlatformValidator.requestCourierPartnerForShipment().validate(
5067
+ {
5068
+ shipmentId,
5069
+ body,
5070
+ },
5071
+ { abortEarly: false, allowUnknown: false }
5072
+ );
5073
+ if (warrning) {
5074
+ Logger({
5075
+ level: "WARN",
5076
+ message: `Parameter Validation warrnings for platform > Order > requestCourierPartnerForShipment \n ${warrning}`,
5077
+ });
5078
+ }
5079
+
5080
+ const query_params = {};
5081
+
5082
+ const xHeaders = {};
5083
+
5084
+ const response = await PlatformAPIClient.execute(
5085
+ this.config,
5086
+ "post",
5087
+ `/service/platform/order-manage/v1.0/company/${this.config.companyId}/shipment/${shipmentId}/courier-partner/request`,
5088
+ query_params,
5089
+ body,
5090
+ { ...xHeaders, ...requestHeaders },
5091
+ { responseHeaders }
5092
+ );
5093
+
5094
+ let responseData = response;
5095
+ if (responseHeaders) {
5096
+ responseData = response[0];
5097
+ }
5098
+
5099
+ const {
5100
+ error: res_error,
5101
+ } = OrderPlatformModel.CourierPartnerResponseSchema().validate(
5102
+ responseData,
5103
+ { abortEarly: false, allowUnknown: true }
5104
+ );
5105
+
5106
+ if (res_error) {
5107
+ if (this.config.options.strictResponseCheck === true) {
5108
+ return Promise.reject(new FDKResponseValidationError(res_error));
5109
+ } else {
5110
+ Logger({
5111
+ level: "WARN",
5112
+ message: `Response Validation Warnings for platform > Order > requestCourierPartnerForShipment \n ${res_error}`,
5113
+ });
5114
+ }
5115
+ }
5116
+
5117
+ return response;
5118
+ }
5119
+
5120
+ /**
5121
+ * @param {OrderPlatformValidator.SaveCourierPartnerPreferenceForShipmentParam} arg
5122
+ * - Arg object
5123
+ *
5124
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
5125
+ * @param {import("../PlatformAPIClient").Options} - Options
5126
+ * @returns {Promise<OrderPlatformModel.CourierPartnerResponseSchema>} -
5127
+ * Success response
5128
+ * @name saveCourierPartnerPreferenceForShipment
5129
+ * @summary: Save courier partner preference for a shipment.
5130
+ * @description: Use this API to save the preferred courier partner for a shipment. The preferred courier partner will be triggered automatically when the shipment moves to a state where delivery partner assignment is performed (for example, ready for DP assignment).
5131
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/saveCourierPartnerPreferenceForShipment/).
5132
+ */
5133
+ async saveCourierPartnerPreferenceForShipment(
5134
+ { shipmentId, body, requestHeaders } = { requestHeaders: {} },
5135
+ { responseHeaders } = { responseHeaders: false }
5136
+ ) {
5137
+ const {
5138
+ error,
5139
+ } = OrderPlatformValidator.saveCourierPartnerPreferenceForShipment().validate(
5140
+ {
5141
+ shipmentId,
5142
+ body,
5143
+ },
5144
+ { abortEarly: false, allowUnknown: true }
5145
+ );
5146
+ if (error) {
5147
+ return Promise.reject(new FDKClientValidationError(error));
5148
+ }
5149
+
5150
+ // Showing warrnings if extra unknown parameters are found
5151
+ const {
5152
+ error: warrning,
5153
+ } = OrderPlatformValidator.saveCourierPartnerPreferenceForShipment().validate(
5154
+ {
5155
+ shipmentId,
5156
+ body,
5157
+ },
5158
+ { abortEarly: false, allowUnknown: false }
5159
+ );
5160
+ if (warrning) {
5161
+ Logger({
5162
+ level: "WARN",
5163
+ message: `Parameter Validation warrnings for platform > Order > saveCourierPartnerPreferenceForShipment \n ${warrning}`,
5164
+ });
5165
+ }
5166
+
5167
+ const query_params = {};
5168
+
5169
+ const xHeaders = {};
5170
+
5171
+ const response = await PlatformAPIClient.execute(
5172
+ this.config,
5173
+ "post",
5174
+ `/service/platform/order-manage/v1.0/company/${this.config.companyId}/shipment/${shipmentId}/courier-partner/preference`,
5175
+ query_params,
5176
+ body,
5177
+ { ...xHeaders, ...requestHeaders },
5178
+ { responseHeaders }
5179
+ );
5180
+
5181
+ let responseData = response;
5182
+ if (responseHeaders) {
5183
+ responseData = response[0];
5184
+ }
5185
+
5186
+ const {
5187
+ error: res_error,
5188
+ } = OrderPlatformModel.CourierPartnerResponseSchema().validate(
5189
+ responseData,
5190
+ { abortEarly: false, allowUnknown: true }
5191
+ );
5192
+
5193
+ if (res_error) {
5194
+ if (this.config.options.strictResponseCheck === true) {
5195
+ return Promise.reject(new FDKResponseValidationError(res_error));
5196
+ } else {
5197
+ Logger({
5198
+ level: "WARN",
5199
+ message: `Response Validation Warnings for platform > Order > saveCourierPartnerPreferenceForShipment \n ${res_error}`,
5200
+ });
5201
+ }
5202
+ }
5203
+
5204
+ return response;
5205
+ }
5206
+
5031
5207
  /**
5032
5208
  * @param {OrderPlatformValidator.SendSmsNinjaParam} arg - Arg object
5033
5209
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -2773,8 +2773,8 @@ export = OrderPlatformModel;
2773
2773
  * @property {CPRiderDetailsSchema} [rider_details]
2774
2774
  * @property {boolean} [qc_supported] - Specifies that Assigned CP support's
2775
2775
  * quality checks
2776
- * @property {boolean} using_own_creds - Specifies weather the Seller's Creds or
2777
- * Fynd's Creds are being used.
2776
+ * @property {boolean} [using_own_creds] - Specifies weather the Seller's Creds
2777
+ * or Fynd's Creds are being used.
2778
2778
  * @property {number} [max_reattempts_for_delivery_allowed] - Reattempts Allowed
2779
2779
  * (required for NDR)
2780
2780
  * @property {CPTatToDeliverTheShipmentSchema} [tat_to_deliver_the_shipment]
@@ -2954,6 +2954,9 @@ export = OrderPlatformModel;
2954
2954
  /**
2955
2955
  * @typedef CPConfigurationSchema
2956
2956
  * @property {string} shipping_by - Shipping Handled by FYND or SELLER
2957
+ * @property {string} [logistics_by] - Specifies who manages the logistics
2958
+ * operations and how updates are handled. This determines the flow of
2959
+ * logistics information and responsibility for shipment management.
2957
2960
  */
2958
2961
  /**
2959
2962
  * @typedef ShippingDetailsSchema
@@ -3109,6 +3112,54 @@ export = OrderPlatformModel;
3109
3112
  * integration.
3110
3113
  * @property {Page} [page]
3111
3114
  */
3115
+ /**
3116
+ * @typedef TATSchema
3117
+ * @property {number} min - Specifies the minimum delivery promise timestamp (in
3118
+ * UNIX epoch), indicating the earliest time delivery can be completed.
3119
+ * @property {number} max - Specifies the maximum delivery promise timestamp (in
3120
+ * UNIX epoch), indicating the latest time by which delivery is expected to be
3121
+ * completed.
3122
+ */
3123
+ /**
3124
+ * @typedef ShipmentCourierPartnerPreference
3125
+ * @property {string} scheme_id - Unique identifier for the courier partner
3126
+ * scheme, used to fetch or modify scheme-specific details for the selected
3127
+ * courier partner.
3128
+ * @property {string} courier_partner_name - The human-readable name of the
3129
+ * courier partner that should be preferred when assigning a delivery partner
3130
+ * for the shipment.
3131
+ * @property {string} extension_id - Unique identifier of the courier partner
3132
+ * extension configured in the logistics system. This is used to identify the
3133
+ * courier partner whose preference is saved.
3134
+ * @property {string} [remarks] - Optional remarks or additional comments
3135
+ * provided by the user while saving the courier partner preference.
3136
+ * @property {TATSchema} tat
3137
+ */
3138
+ /**
3139
+ * @typedef ShipmentCourierPartnerRequestSchema
3140
+ * @property {string} scheme_id - Unique identifier for the courier partner
3141
+ * scheme, used to fetch or modify scheme-specific details for the selected
3142
+ * courier partner.
3143
+ * @property {string} courier_partner_name - The name of the courier partner
3144
+ * selected by the user while manually assigning the delivery partner for the shipment.
3145
+ * @property {string} extension_id - Unique identifier of the courier partner
3146
+ * extension configured in the logistics system. This is used to identify the
3147
+ * courier partner to be assigned.
3148
+ * @property {string} [remarks] - Optional remarks or additional comments
3149
+ * provided by the user while manually assigning the courier partner.
3150
+ * @property {TATSchema} tat
3151
+ */
3152
+ /**
3153
+ * @typedef CourierPartnerResponseSchema
3154
+ * @property {string} [message] - A human-readable message describing the
3155
+ * outcome of the operation.
3156
+ */
3157
+ /**
3158
+ * @typedef CourierPartnerErrorSchema
3159
+ * @property {string} [message] - A human-readable message explaining why the
3160
+ * request failed.
3161
+ * @property {string} [error] - A short description of the error.
3162
+ */
3112
3163
  /**
3113
3164
  * @typedef PackageProduct
3114
3165
  * @property {number} line_number - The line number of the product within the
@@ -5607,7 +5658,7 @@ export = OrderPlatformModel;
5607
5658
  declare class OrderPlatformModel {
5608
5659
  }
5609
5660
  declare namespace OrderPlatformModel {
5610
- 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 };
5661
+ 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, TATSchema, ShipmentCourierPartnerPreference, ShipmentCourierPartnerRequestSchema, CourierPartnerResponseSchema, CourierPartnerErrorSchema, 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 };
5611
5662
  }
5612
5663
  /** @returns {PackageSchema} */
5613
5664
  declare function PackageSchema(): PackageSchema;
@@ -11189,10 +11240,10 @@ type CourierPartnerDetailsSchema = {
11189
11240
  */
11190
11241
  qc_supported?: boolean;
11191
11242
  /**
11192
- * - Specifies weather the Seller's Creds or
11193
- * Fynd's Creds are being used.
11243
+ * - Specifies weather the Seller's Creds
11244
+ * or Fynd's Creds are being used.
11194
11245
  */
11195
- using_own_creds: boolean;
11246
+ using_own_creds?: boolean;
11196
11247
  /**
11197
11248
  * - Reattempts Allowed
11198
11249
  * (required for NDR)
@@ -11581,6 +11632,12 @@ type CPConfigurationSchema = {
11581
11632
  * - Shipping Handled by FYND or SELLER
11582
11633
  */
11583
11634
  shipping_by: string;
11635
+ /**
11636
+ * - Specifies who manages the logistics
11637
+ * operations and how updates are handled. This determines the flow of
11638
+ * logistics information and responsibility for shipment management.
11639
+ */
11640
+ logistics_by?: string;
11584
11641
  };
11585
11642
  /** @returns {ShippingDetailsSchema} */
11586
11643
  declare function ShippingDetailsSchema(): ShippingDetailsSchema;
@@ -11946,6 +12003,98 @@ type AccountsList = {
11946
12003
  data?: Account[];
11947
12004
  page?: Page;
11948
12005
  };
12006
+ /** @returns {TATSchema} */
12007
+ declare function TATSchema(): TATSchema;
12008
+ type TATSchema = {
12009
+ /**
12010
+ * - Specifies the minimum delivery promise timestamp (in
12011
+ * UNIX epoch), indicating the earliest time delivery can be completed.
12012
+ */
12013
+ min: number;
12014
+ /**
12015
+ * - Specifies the maximum delivery promise timestamp (in
12016
+ * UNIX epoch), indicating the latest time by which delivery is expected to be
12017
+ * completed.
12018
+ */
12019
+ max: number;
12020
+ };
12021
+ /** @returns {ShipmentCourierPartnerPreference} */
12022
+ declare function ShipmentCourierPartnerPreference(): ShipmentCourierPartnerPreference;
12023
+ type ShipmentCourierPartnerPreference = {
12024
+ /**
12025
+ * - Unique identifier for the courier partner
12026
+ * scheme, used to fetch or modify scheme-specific details for the selected
12027
+ * courier partner.
12028
+ */
12029
+ scheme_id: string;
12030
+ /**
12031
+ * - The human-readable name of the
12032
+ * courier partner that should be preferred when assigning a delivery partner
12033
+ * for the shipment.
12034
+ */
12035
+ courier_partner_name: string;
12036
+ /**
12037
+ * - Unique identifier of the courier partner
12038
+ * extension configured in the logistics system. This is used to identify the
12039
+ * courier partner whose preference is saved.
12040
+ */
12041
+ extension_id: string;
12042
+ /**
12043
+ * - Optional remarks or additional comments
12044
+ * provided by the user while saving the courier partner preference.
12045
+ */
12046
+ remarks?: string;
12047
+ tat: TATSchema;
12048
+ };
12049
+ /** @returns {ShipmentCourierPartnerRequestSchema} */
12050
+ declare function ShipmentCourierPartnerRequestSchema(): ShipmentCourierPartnerRequestSchema;
12051
+ type ShipmentCourierPartnerRequestSchema = {
12052
+ /**
12053
+ * - Unique identifier for the courier partner
12054
+ * scheme, used to fetch or modify scheme-specific details for the selected
12055
+ * courier partner.
12056
+ */
12057
+ scheme_id: string;
12058
+ /**
12059
+ * - The name of the courier partner
12060
+ * selected by the user while manually assigning the delivery partner for the shipment.
12061
+ */
12062
+ courier_partner_name: string;
12063
+ /**
12064
+ * - Unique identifier of the courier partner
12065
+ * extension configured in the logistics system. This is used to identify the
12066
+ * courier partner to be assigned.
12067
+ */
12068
+ extension_id: string;
12069
+ /**
12070
+ * - Optional remarks or additional comments
12071
+ * provided by the user while manually assigning the courier partner.
12072
+ */
12073
+ remarks?: string;
12074
+ tat: TATSchema;
12075
+ };
12076
+ /** @returns {CourierPartnerResponseSchema} */
12077
+ declare function CourierPartnerResponseSchema(): CourierPartnerResponseSchema;
12078
+ type CourierPartnerResponseSchema = {
12079
+ /**
12080
+ * - A human-readable message describing the
12081
+ * outcome of the operation.
12082
+ */
12083
+ message?: string;
12084
+ };
12085
+ /** @returns {CourierPartnerErrorSchema} */
12086
+ declare function CourierPartnerErrorSchema(): CourierPartnerErrorSchema;
12087
+ type CourierPartnerErrorSchema = {
12088
+ /**
12089
+ * - A human-readable message explaining why the
12090
+ * request failed.
12091
+ */
12092
+ message?: string;
12093
+ /**
12094
+ * - A short description of the error.
12095
+ */
12096
+ error?: string;
12097
+ };
11949
12098
  /** @returns {PackageProduct} */
11950
12099
  declare function PackageProduct(): PackageProduct;
11951
12100
  type PackageProduct = {
@@ -3025,8 +3025,8 @@ const Joi = require("joi");
3025
3025
  * @property {CPRiderDetailsSchema} [rider_details]
3026
3026
  * @property {boolean} [qc_supported] - Specifies that Assigned CP support's
3027
3027
  * quality checks
3028
- * @property {boolean} using_own_creds - Specifies weather the Seller's Creds or
3029
- * Fynd's Creds are being used.
3028
+ * @property {boolean} [using_own_creds] - Specifies weather the Seller's Creds
3029
+ * or Fynd's Creds are being used.
3030
3030
  * @property {number} [max_reattempts_for_delivery_allowed] - Reattempts Allowed
3031
3031
  * (required for NDR)
3032
3032
  * @property {CPTatToDeliverTheShipmentSchema} [tat_to_deliver_the_shipment]
@@ -3220,6 +3220,9 @@ const Joi = require("joi");
3220
3220
  /**
3221
3221
  * @typedef CPConfigurationSchema
3222
3222
  * @property {string} shipping_by - Shipping Handled by FYND or SELLER
3223
+ * @property {string} [logistics_by] - Specifies who manages the logistics
3224
+ * operations and how updates are handled. This determines the flow of
3225
+ * logistics information and responsibility for shipment management.
3223
3226
  */
3224
3227
 
3225
3228
  /**
@@ -3388,6 +3391,59 @@ const Joi = require("joi");
3388
3391
  * @property {Page} [page]
3389
3392
  */
3390
3393
 
3394
+ /**
3395
+ * @typedef TATSchema
3396
+ * @property {number} min - Specifies the minimum delivery promise timestamp (in
3397
+ * UNIX epoch), indicating the earliest time delivery can be completed.
3398
+ * @property {number} max - Specifies the maximum delivery promise timestamp (in
3399
+ * UNIX epoch), indicating the latest time by which delivery is expected to be
3400
+ * completed.
3401
+ */
3402
+
3403
+ /**
3404
+ * @typedef ShipmentCourierPartnerPreference
3405
+ * @property {string} scheme_id - Unique identifier for the courier partner
3406
+ * scheme, used to fetch or modify scheme-specific details for the selected
3407
+ * courier partner.
3408
+ * @property {string} courier_partner_name - The human-readable name of the
3409
+ * courier partner that should be preferred when assigning a delivery partner
3410
+ * for the shipment.
3411
+ * @property {string} extension_id - Unique identifier of the courier partner
3412
+ * extension configured in the logistics system. This is used to identify the
3413
+ * courier partner whose preference is saved.
3414
+ * @property {string} [remarks] - Optional remarks or additional comments
3415
+ * provided by the user while saving the courier partner preference.
3416
+ * @property {TATSchema} tat
3417
+ */
3418
+
3419
+ /**
3420
+ * @typedef ShipmentCourierPartnerRequestSchema
3421
+ * @property {string} scheme_id - Unique identifier for the courier partner
3422
+ * scheme, used to fetch or modify scheme-specific details for the selected
3423
+ * courier partner.
3424
+ * @property {string} courier_partner_name - The name of the courier partner
3425
+ * selected by the user while manually assigning the delivery partner for the shipment.
3426
+ * @property {string} extension_id - Unique identifier of the courier partner
3427
+ * extension configured in the logistics system. This is used to identify the
3428
+ * courier partner to be assigned.
3429
+ * @property {string} [remarks] - Optional remarks or additional comments
3430
+ * provided by the user while manually assigning the courier partner.
3431
+ * @property {TATSchema} tat
3432
+ */
3433
+
3434
+ /**
3435
+ * @typedef CourierPartnerResponseSchema
3436
+ * @property {string} [message] - A human-readable message describing the
3437
+ * outcome of the operation.
3438
+ */
3439
+
3440
+ /**
3441
+ * @typedef CourierPartnerErrorSchema
3442
+ * @property {string} [message] - A human-readable message explaining why the
3443
+ * request failed.
3444
+ * @property {string} [error] - A short description of the error.
3445
+ */
3446
+
3391
3447
  /**
3392
3448
  * @typedef PackageProduct
3393
3449
  * @property {number} line_number - The line number of the product within the
@@ -8824,7 +8880,7 @@ class OrderPlatformModel {
8824
8880
  extension_id: Joi.string().allow("").required(),
8825
8881
  rider_details: OrderPlatformModel.CPRiderDetailsSchema(),
8826
8882
  qc_supported: Joi.boolean(),
8827
- using_own_creds: Joi.boolean().required(),
8883
+ using_own_creds: Joi.boolean(),
8828
8884
  max_reattempts_for_delivery_allowed: Joi.number(),
8829
8885
  tat_to_deliver_the_shipment: OrderPlatformModel.CPTatToDeliverTheShipmentSchema(),
8830
8886
  is_self_ship: Joi.boolean(),
@@ -9000,6 +9056,7 @@ class OrderPlatformModel {
9000
9056
  static CPConfigurationSchema() {
9001
9057
  return Joi.object({
9002
9058
  shipping_by: Joi.string().allow("").required(),
9059
+ logistics_by: Joi.string().allow(""),
9003
9060
  });
9004
9061
  }
9005
9062
 
@@ -9158,6 +9215,51 @@ class OrderPlatformModel {
9158
9215
  });
9159
9216
  }
9160
9217
 
9218
+ /** @returns {TATSchema} */
9219
+ static TATSchema() {
9220
+ return Joi.object({
9221
+ min: Joi.number().required(),
9222
+ max: Joi.number().required(),
9223
+ });
9224
+ }
9225
+
9226
+ /** @returns {ShipmentCourierPartnerPreference} */
9227
+ static ShipmentCourierPartnerPreference() {
9228
+ return Joi.object({
9229
+ scheme_id: Joi.string().allow("").required(),
9230
+ courier_partner_name: Joi.string().allow("").required(),
9231
+ extension_id: Joi.string().allow("").required(),
9232
+ remarks: Joi.string().allow(""),
9233
+ tat: OrderPlatformModel.TATSchema().required(),
9234
+ });
9235
+ }
9236
+
9237
+ /** @returns {ShipmentCourierPartnerRequestSchema} */
9238
+ static ShipmentCourierPartnerRequestSchema() {
9239
+ return Joi.object({
9240
+ scheme_id: Joi.string().allow("").required(),
9241
+ courier_partner_name: Joi.string().allow("").required(),
9242
+ extension_id: Joi.string().allow("").required(),
9243
+ remarks: Joi.string().allow(""),
9244
+ tat: OrderPlatformModel.TATSchema().required(),
9245
+ });
9246
+ }
9247
+
9248
+ /** @returns {CourierPartnerResponseSchema} */
9249
+ static CourierPartnerResponseSchema() {
9250
+ return Joi.object({
9251
+ message: Joi.string().allow(""),
9252
+ });
9253
+ }
9254
+
9255
+ /** @returns {CourierPartnerErrorSchema} */
9256
+ static CourierPartnerErrorSchema() {
9257
+ return Joi.object({
9258
+ message: Joi.string().allow(""),
9259
+ error: Joi.string().allow(""),
9260
+ });
9261
+ }
9262
+
9161
9263
  /** @returns {PackageProduct} */
9162
9264
  static PackageProduct() {
9163
9265
  return Joi.object({
@@ -457,6 +457,18 @@ export = OrderPlatformValidator;
457
457
  * @typedef ReassignLocationParam
458
458
  * @property {OrderPlatformModel.StoreReassign} body
459
459
  */
460
+ /**
461
+ * @typedef RequestCourierPartnerForShipmentParam
462
+ * @property {string} shipmentId - The unique identifier for the shipment. This
463
+ * ID is used to track and reference the shipment throughout its journey.
464
+ * @property {OrderPlatformModel.ShipmentCourierPartnerRequestSchema} body
465
+ */
466
+ /**
467
+ * @typedef SaveCourierPartnerPreferenceForShipmentParam
468
+ * @property {string} shipmentId - The unique identifier for the shipment. This
469
+ * ID is used to track and reference the shipment throughout its journey.
470
+ * @property {OrderPlatformModel.ShipmentCourierPartnerPreference} body
471
+ */
460
472
  /**
461
473
  * @typedef SendSmsNinjaParam
462
474
  * @property {OrderPlatformModel.SendSmsPayload} body
@@ -619,6 +631,10 @@ declare class OrderPlatformValidator {
619
631
  static postShipmentHistory(): PostShipmentHistoryParam;
620
632
  /** @returns {ReassignLocationParam} */
621
633
  static reassignLocation(): ReassignLocationParam;
634
+ /** @returns {RequestCourierPartnerForShipmentParam} */
635
+ static requestCourierPartnerForShipment(): RequestCourierPartnerForShipmentParam;
636
+ /** @returns {SaveCourierPartnerPreferenceForShipmentParam} */
637
+ static saveCourierPartnerPreferenceForShipment(): SaveCourierPartnerPreferenceForShipmentParam;
622
638
  /** @returns {SendSmsNinjaParam} */
623
639
  static sendSmsNinja(): SendSmsNinjaParam;
624
640
  /** @returns {SendUserMobileOTPParam} */
@@ -647,7 +663,7 @@ declare class OrderPlatformValidator {
647
663
  static verifyMobileOTP(): VerifyMobileOTPParam;
648
664
  }
649
665
  declare namespace OrderPlatformValidator {
650
- export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateAccountParam, CreateChannelConfigParam, CreateOrderParam, CreateShipmentPackagesParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAccountByIdParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentPackagesParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, JobDetailsParam, ListAccountsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAccountParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentPackagesParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
666
+ export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateAccountParam, CreateChannelConfigParam, CreateOrderParam, CreateShipmentPackagesParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAccountByIdParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentPackagesParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, JobDetailsParam, ListAccountsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, RequestCourierPartnerForShipmentParam, SaveCourierPartnerPreferenceForShipmentParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAccountParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentPackagesParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
651
667
  }
652
668
  type AddStateManagerConfigParam = {
653
669
  body: OrderPlatformModel.TransitionConfigPayload;
@@ -1572,6 +1588,22 @@ type PostShipmentHistoryParam = {
1572
1588
  type ReassignLocationParam = {
1573
1589
  body: OrderPlatformModel.StoreReassign;
1574
1590
  };
1591
+ type RequestCourierPartnerForShipmentParam = {
1592
+ /**
1593
+ * - The unique identifier for the shipment. This
1594
+ * ID is used to track and reference the shipment throughout its journey.
1595
+ */
1596
+ shipmentId: string;
1597
+ body: OrderPlatformModel.ShipmentCourierPartnerRequestSchema;
1598
+ };
1599
+ type SaveCourierPartnerPreferenceForShipmentParam = {
1600
+ /**
1601
+ * - The unique identifier for the shipment. This
1602
+ * ID is used to track and reference the shipment throughout its journey.
1603
+ */
1604
+ shipmentId: string;
1605
+ body: OrderPlatformModel.ShipmentCourierPartnerPreference;
1606
+ };
1575
1607
  type SendSmsNinjaParam = {
1576
1608
  body: OrderPlatformModel.SendSmsPayload;
1577
1609
  };