@gofynd/fdk-client-javascript 1.4.7 → 1.4.8-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +16 -3
- package/sdk/application/Cart/CartApplicationClient.js +118 -13
- package/sdk/application/Cart/CartApplicationModel.d.ts +121 -45
- package/sdk/application/Cart/CartApplicationModel.js +98 -26
- package/sdk/application/Cart/CartApplicationValidator.d.ts +45 -1
- package/sdk/application/Cart/CartApplicationValidator.js +26 -0
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +4 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +4 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.js +5 -3
- package/sdk/application/Content/ContentApplicationModel.d.ts +7 -18
- package/sdk/application/Content/ContentApplicationModel.js +6 -20
- package/sdk/application/Content/ContentApplicationValidator.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationValidator.js +4 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +0 -27
- package/sdk/application/Lead/LeadApplicationClient.js +0 -167
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1 -146
- package/sdk/application/Lead/LeadApplicationModel.js +0 -126
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -25
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +2 -0
- package/sdk/application/Logistic/LogisticApplicationModel.js +2 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +4 -0
- package/sdk/application/Order/OrderApplicationModel.js +4 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +9 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +5 -2
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +2 -0
- package/sdk/application/Theme/ThemeApplicationModel.js +2 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -23
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -157
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +12 -581
- package/sdk/partner/Lead/LeadPartnerModel.js +14 -403
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -2
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -12
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +47 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +56 -4
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +2 -2
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +162 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +119 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +142 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +304 -43
- package/sdk/platform/Billing/BillingPlatformClient.js +2218 -118
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1330 -282
- package/sdk/platform/Billing/BillingPlatformModel.js +1808 -590
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +324 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +340 -12
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +28 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +198 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +81 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +48 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +214 -40
- package/sdk/platform/Cart/CartPlatformModel.js +164 -24
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +20 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +18 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +28 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +12 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +18 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +25 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +10 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +8 -4
- package/sdk/platform/Content/ContentPlatformModel.js +8 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +49 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +181 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +369 -129
- package/sdk/platform/Finance/FinancePlatformModel.js +404 -110
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +56 -43
- package/sdk/platform/Finance/FinancePlatformValidator.js +61 -42
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +0 -47
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +0 -321
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -46
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +0 -48
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -25
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -167
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +82 -204
- package/sdk/platform/Lead/LeadPlatformModel.js +98 -178
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -25
- package/sdk/platform/Lead/LeadPlatformValidator.js +0 -24
- package/sdk/platform/Order/OrderPlatformModel.d.ts +126 -15
- package/sdk/platform/Order/OrderPlatformModel.js +55 -14
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +5 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +20 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +26 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +12 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +82 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -1
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +14 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +67 -1
- package/sdk/platform/Theme/ThemePlatformModel.js +78 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +0 -2
- package/sdk/platform/User/UserPlatformModel.js +0 -2
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +0 -40
- package/sdk/platform/Webhook/WebhookPlatformClient.js +0 -307
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +94 -146
- package/sdk/platform/Webhook/WebhookPlatformModel.js +100 -151
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +9 -35
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +8 -46
- package/sdk/public/Billing/BillingPublicClient.d.ts +24 -2
- package/sdk/public/Billing/BillingPublicClient.js +156 -3
- package/sdk/public/Billing/BillingPublicModel.d.ts +368 -26
- package/sdk/public/Billing/BillingPublicModel.js +317 -18
- package/sdk/public/Billing/BillingPublicValidator.d.ts +19 -3
- package/sdk/public/Billing/BillingPublicValidator.js +22 -3
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +22 -22
- package/sdk/public/Webhook/WebhookPublicModel.js +22 -22
|
@@ -223,6 +223,7 @@ export = OrderPlatformModel;
|
|
|
223
223
|
* @property {boolean} [lock_after_transition] - Lock Shipment After Transition
|
|
224
224
|
* @property {boolean} [unlock_before_transition] - Unlock Shipment After Transition
|
|
225
225
|
* @property {boolean} [task] - To Run Status Update as a background Task
|
|
226
|
+
* @property {boolean} [resume_tasks_after_unlock] - Resume Tasks After Unlock
|
|
226
227
|
*/
|
|
227
228
|
/**
|
|
228
229
|
* @typedef ShipmentsResponse
|
|
@@ -646,20 +647,23 @@ export = OrderPlatformModel;
|
|
|
646
647
|
*/
|
|
647
648
|
/**
|
|
648
649
|
* @typedef Charge
|
|
649
|
-
* @property {string} name
|
|
650
|
-
* @property {Object} amount
|
|
650
|
+
* @property {string} name - The name of the charge.
|
|
651
|
+
* @property {Object} amount - The monetary value of the charge, including value
|
|
652
|
+
* and currency details.
|
|
651
653
|
* @property {Tax} [tax]
|
|
652
|
-
* @property {string} [code]
|
|
653
|
-
*
|
|
654
|
+
* @property {string} [code] - An optional code associated with the charge for
|
|
655
|
+
* internal tracking.
|
|
656
|
+
* @property {string} type - The category or type of the charge.
|
|
654
657
|
*/
|
|
655
658
|
/**
|
|
656
659
|
* @typedef LineItem
|
|
657
660
|
* @property {Charge[]} [charges]
|
|
658
|
-
* @property {Object} [meta]
|
|
659
|
-
* @property {string} [custom_message]
|
|
660
|
-
* @property {number} [quantity]
|
|
661
|
-
* @property {string} seller_identifier
|
|
662
|
-
* @property {string} [external_line_id]
|
|
661
|
+
* @property {Object} [meta] - Meta data of the articles or line items.
|
|
662
|
+
* @property {string} [custom_message] - Meta data of the articles or line items.
|
|
663
|
+
* @property {number} [quantity] - Quantity of the articles or line items.
|
|
664
|
+
* @property {string} seller_identifier - Seller identifier of the articles or line items.
|
|
665
|
+
* @property {string} [external_line_id] - External unique identifier of the
|
|
666
|
+
* articles or line items.
|
|
663
667
|
*/
|
|
664
668
|
/**
|
|
665
669
|
* @typedef ProcessingDates
|
|
@@ -673,12 +677,16 @@ export = OrderPlatformModel;
|
|
|
673
677
|
/**
|
|
674
678
|
* @typedef Shipment
|
|
675
679
|
* @property {LineItem[]} line_items
|
|
676
|
-
* @property {string} [external_shipment_id]
|
|
680
|
+
* @property {string} [external_shipment_id] - External shipment identifier or
|
|
681
|
+
* marketplace's unique shipment identifier.
|
|
677
682
|
* @property {ProcessingDates} [processing_dates]
|
|
678
|
-
* @property {Object} [meta]
|
|
679
|
-
* @property {number} [priority]
|
|
680
|
-
* @property {number} location_id
|
|
681
|
-
*
|
|
683
|
+
* @property {Object} [meta] - Meta data of the shipment.
|
|
684
|
+
* @property {number} [priority] - Integer value indicating high and low priority.
|
|
685
|
+
* @property {number} location_id - Location Identifier or Store/Fulfillment
|
|
686
|
+
* Identifier of the shipment.
|
|
687
|
+
* @property {string} [order_type] - The order type of shipment HomeDelivery -
|
|
688
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
689
|
+
* customer wants the handover of an order at the store itself.
|
|
682
690
|
* @property {string} [parent_type]
|
|
683
691
|
* @property {string} [store_invoice_id]
|
|
684
692
|
* @property {string} [lock_status]
|
|
@@ -707,6 +715,16 @@ export = OrderPlatformModel;
|
|
|
707
715
|
* @property {Prices} [price]
|
|
708
716
|
* @property {ShipmentGstDetails} [gst]
|
|
709
717
|
*/
|
|
718
|
+
/**
|
|
719
|
+
* @typedef ShipmentRequestData
|
|
720
|
+
* @property {LineItem[]} line_items
|
|
721
|
+
* @property {ProcessingDates} [processing_dates]
|
|
722
|
+
* @property {Object} [meta] - Meta data of the shipment.
|
|
723
|
+
* @property {number} [priority] - Integer value indicating high and low priority.
|
|
724
|
+
* @property {string} [order_type] - The order type of shipment HomeDelivery -
|
|
725
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
726
|
+
* customer wants the handover of an order at the store itself.
|
|
727
|
+
*/
|
|
710
728
|
/**
|
|
711
729
|
* @typedef ShippingInfo
|
|
712
730
|
* @property {string} [alternate_mobile_number]
|
|
@@ -801,6 +819,7 @@ export = OrderPlatformModel;
|
|
|
801
819
|
/**
|
|
802
820
|
* @typedef CreateOrderAPI
|
|
803
821
|
* @property {Shipment[]} shipments
|
|
822
|
+
* @property {ShipmentRequestData} [shipment_request_data]
|
|
804
823
|
* @property {ShippingInfo} shipping_info
|
|
805
824
|
* @property {BillingInfo} billing_info
|
|
806
825
|
* @property {Object} [currency_info]
|
|
@@ -1901,6 +1920,9 @@ export = OrderPlatformModel;
|
|
|
1901
1920
|
* @property {string} [shipment_created_ts]
|
|
1902
1921
|
* @property {Currency} [currency]
|
|
1903
1922
|
* @property {CurrencyInfo} [currency_info]
|
|
1923
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
1924
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
1925
|
+
* else false.
|
|
1904
1926
|
*/
|
|
1905
1927
|
/**
|
|
1906
1928
|
* @typedef ShipmentInternalPlatformViewResponse
|
|
@@ -2345,6 +2367,9 @@ export = OrderPlatformModel;
|
|
|
2345
2367
|
* @property {string} [credit_note_id]
|
|
2346
2368
|
* @property {boolean} [is_self_ship]
|
|
2347
2369
|
* @property {string} [mode_of_payment]
|
|
2370
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
2371
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
2372
|
+
* else false.
|
|
2348
2373
|
*/
|
|
2349
2374
|
/**
|
|
2350
2375
|
* @typedef ShipmentInfoResponse
|
|
@@ -2868,7 +2893,7 @@ export = OrderPlatformModel;
|
|
|
2868
2893
|
declare class OrderPlatformModel {
|
|
2869
2894
|
}
|
|
2870
2895
|
declare namespace OrderPlatformModel {
|
|
2871
|
-
export { InvalidateShipmentCachePayload, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCacheResponse, ErrorResponse, StoreReassign, StoreReassignResponse, Entities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponse, UpdateShipmentLockResponse, AnnouncementResponse, AnnouncementsResponse, BaseResponse, Click2CallResponse, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, UpdateShipmentStatusRequest, ShipmentsResponse, StatuesResponse, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderPayload, CreateOrderResponse, DispatchManifest, SuccessResponse, ActionInfo, GetActionsResponse, HistoryReason, HistoryMeta, HistoryDict, ShipmentHistoryResponse, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponse, Tax, Charge, LineItem, ProcessingDates, Shipment, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, DpConfiguration, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponse, CreateChannelConfigResponse, UploadConsent, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponse, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponse, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponse, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkFailedResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponse, JobDetailsData, JobDetailsResponse, JobFailedResponse, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequest, ProcessManifest, ProcessManifestResponse, ProcessManifestItemResponse, FilterInfoOption, FiltersInfo, ManifestFiltersResponse, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponse, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDErrorResponse, ManifestResponse, ProcessManifestRequest, ManifestItems, ManifestErrorResponse, Page, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, UserDataInfo, PlatformDeliveryAddress, ShipmentListingChannel, Prices, Identifier, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponse, TrackingList, InvoiceInfo, 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, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, PlatformShipment, ShipmentInfoResponse, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponse, SubLane, SuperLane, LaneConfigResponse, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponse, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponse, URL, FileResponse, BulkActionTemplate, BulkActionTemplateResponse, Reason, PlatformShipmentReasonsResponse, ShipmentResponseReasons, ShipmentReasonsResponse, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand, Attributes, Item, ArticleStatusDetails, Company, ShipmentGstDetails, DeliverySlotDetails, InvoiceDetails, UserDetails, WeightData, BagDetails, BagDetailsPlatformResponse, BagsPage, BagData, GetBagsPlatformResponse, GeneratePosOrderReceiptResponse, Templates, AllowedTemplatesResponse, TemplateDownloadResponse, Error };
|
|
2896
|
+
export { InvalidateShipmentCachePayload, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCacheResponse, ErrorResponse, StoreReassign, StoreReassignResponse, Entities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponse, UpdateShipmentLockResponse, AnnouncementResponse, AnnouncementsResponse, BaseResponse, Click2CallResponse, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, UpdateShipmentStatusRequest, ShipmentsResponse, StatuesResponse, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderPayload, CreateOrderResponse, DispatchManifest, SuccessResponse, ActionInfo, GetActionsResponse, HistoryReason, HistoryMeta, HistoryDict, ShipmentHistoryResponse, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponse, Tax, Charge, LineItem, ProcessingDates, Shipment, ShipmentRequestData, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, DpConfiguration, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponse, CreateChannelConfigResponse, UploadConsent, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponse, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponse, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponse, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkFailedResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponse, JobDetailsData, JobDetailsResponse, JobFailedResponse, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequest, ProcessManifest, ProcessManifestResponse, ProcessManifestItemResponse, FilterInfoOption, FiltersInfo, ManifestFiltersResponse, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponse, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDErrorResponse, ManifestResponse, ProcessManifestRequest, ManifestItems, ManifestErrorResponse, Page, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, UserDataInfo, PlatformDeliveryAddress, ShipmentListingChannel, Prices, Identifier, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponse, TrackingList, InvoiceInfo, 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, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, PlatformShipment, ShipmentInfoResponse, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponse, SubLane, SuperLane, LaneConfigResponse, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponse, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponse, URL, FileResponse, BulkActionTemplate, BulkActionTemplateResponse, Reason, PlatformShipmentReasonsResponse, ShipmentResponseReasons, ShipmentReasonsResponse, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand, Attributes, Item, ArticleStatusDetails, Company, ShipmentGstDetails, DeliverySlotDetails, InvoiceDetails, UserDetails, WeightData, BagDetails, BagDetailsPlatformResponse, BagsPage, BagData, GetBagsPlatformResponse, GeneratePosOrderReceiptResponse, Templates, AllowedTemplatesResponse, TemplateDownloadResponse, Error };
|
|
2872
2897
|
}
|
|
2873
2898
|
/** @returns {InvalidateShipmentCachePayload} */
|
|
2874
2899
|
declare function InvalidateShipmentCachePayload(): InvalidateShipmentCachePayload;
|
|
@@ -3267,6 +3292,10 @@ type UpdateShipmentStatusRequest = {
|
|
|
3267
3292
|
* - To Run Status Update as a background Task
|
|
3268
3293
|
*/
|
|
3269
3294
|
task?: boolean;
|
|
3295
|
+
/**
|
|
3296
|
+
* - Resume Tasks After Unlock
|
|
3297
|
+
*/
|
|
3298
|
+
resume_tasks_after_unlock?: boolean;
|
|
3270
3299
|
};
|
|
3271
3300
|
/** @returns {ShipmentsResponse} */
|
|
3272
3301
|
declare function ShipmentsResponse(): ShipmentsResponse;
|
|
@@ -3820,20 +3849,50 @@ type Tax = {
|
|
|
3820
3849
|
/** @returns {Charge} */
|
|
3821
3850
|
declare function Charge(): Charge;
|
|
3822
3851
|
type Charge = {
|
|
3852
|
+
/**
|
|
3853
|
+
* - The name of the charge.
|
|
3854
|
+
*/
|
|
3823
3855
|
name: string;
|
|
3856
|
+
/**
|
|
3857
|
+
* - The monetary value of the charge, including value
|
|
3858
|
+
* and currency details.
|
|
3859
|
+
*/
|
|
3824
3860
|
amount: any;
|
|
3825
3861
|
tax?: Tax;
|
|
3862
|
+
/**
|
|
3863
|
+
* - An optional code associated with the charge for
|
|
3864
|
+
* internal tracking.
|
|
3865
|
+
*/
|
|
3826
3866
|
code?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* - The category or type of the charge.
|
|
3869
|
+
*/
|
|
3827
3870
|
type: string;
|
|
3828
3871
|
};
|
|
3829
3872
|
/** @returns {LineItem} */
|
|
3830
3873
|
declare function LineItem(): LineItem;
|
|
3831
3874
|
type LineItem = {
|
|
3832
3875
|
charges?: Charge[];
|
|
3876
|
+
/**
|
|
3877
|
+
* - Meta data of the articles or line items.
|
|
3878
|
+
*/
|
|
3833
3879
|
meta?: any;
|
|
3880
|
+
/**
|
|
3881
|
+
* - Meta data of the articles or line items.
|
|
3882
|
+
*/
|
|
3834
3883
|
custom_message?: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* - Quantity of the articles or line items.
|
|
3886
|
+
*/
|
|
3835
3887
|
quantity?: number;
|
|
3888
|
+
/**
|
|
3889
|
+
* - Seller identifier of the articles or line items.
|
|
3890
|
+
*/
|
|
3836
3891
|
seller_identifier: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* - External unique identifier of the
|
|
3894
|
+
* articles or line items.
|
|
3895
|
+
*/
|
|
3837
3896
|
external_line_id?: string;
|
|
3838
3897
|
};
|
|
3839
3898
|
/** @returns {ProcessingDates} */
|
|
@@ -3850,11 +3909,30 @@ type ProcessingDates = {
|
|
|
3850
3909
|
declare function Shipment(): Shipment;
|
|
3851
3910
|
type Shipment = {
|
|
3852
3911
|
line_items: LineItem[];
|
|
3912
|
+
/**
|
|
3913
|
+
* - External shipment identifier or
|
|
3914
|
+
* marketplace's unique shipment identifier.
|
|
3915
|
+
*/
|
|
3853
3916
|
external_shipment_id?: string;
|
|
3854
3917
|
processing_dates?: ProcessingDates;
|
|
3918
|
+
/**
|
|
3919
|
+
* - Meta data of the shipment.
|
|
3920
|
+
*/
|
|
3855
3921
|
meta?: any;
|
|
3922
|
+
/**
|
|
3923
|
+
* - Integer value indicating high and low priority.
|
|
3924
|
+
*/
|
|
3856
3925
|
priority?: number;
|
|
3926
|
+
/**
|
|
3927
|
+
* - Location Identifier or Store/Fulfillment
|
|
3928
|
+
* Identifier of the shipment.
|
|
3929
|
+
*/
|
|
3857
3930
|
location_id: number;
|
|
3931
|
+
/**
|
|
3932
|
+
* - The order type of shipment HomeDelivery -
|
|
3933
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
3934
|
+
* customer wants the handover of an order at the store itself.
|
|
3935
|
+
*/
|
|
3858
3936
|
order_type?: string;
|
|
3859
3937
|
parent_type?: string;
|
|
3860
3938
|
store_invoice_id?: string;
|
|
@@ -3884,6 +3962,26 @@ type Shipment = {
|
|
|
3884
3962
|
price?: Prices;
|
|
3885
3963
|
gst?: ShipmentGstDetails;
|
|
3886
3964
|
};
|
|
3965
|
+
/** @returns {ShipmentRequestData} */
|
|
3966
|
+
declare function ShipmentRequestData(): ShipmentRequestData;
|
|
3967
|
+
type ShipmentRequestData = {
|
|
3968
|
+
line_items: LineItem[];
|
|
3969
|
+
processing_dates?: ProcessingDates;
|
|
3970
|
+
/**
|
|
3971
|
+
* - Meta data of the shipment.
|
|
3972
|
+
*/
|
|
3973
|
+
meta?: any;
|
|
3974
|
+
/**
|
|
3975
|
+
* - Integer value indicating high and low priority.
|
|
3976
|
+
*/
|
|
3977
|
+
priority?: number;
|
|
3978
|
+
/**
|
|
3979
|
+
* - The order type of shipment HomeDelivery -
|
|
3980
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
3981
|
+
* customer wants the handover of an order at the store itself.
|
|
3982
|
+
*/
|
|
3983
|
+
order_type?: string;
|
|
3984
|
+
};
|
|
3887
3985
|
/** @returns {ShippingInfo} */
|
|
3888
3986
|
declare function ShippingInfo(): ShippingInfo;
|
|
3889
3987
|
type ShippingInfo = {
|
|
@@ -3991,6 +4089,7 @@ type PaymentInfo = {
|
|
|
3991
4089
|
declare function CreateOrderAPI(): CreateOrderAPI;
|
|
3992
4090
|
type CreateOrderAPI = {
|
|
3993
4091
|
shipments: Shipment[];
|
|
4092
|
+
shipment_request_data?: ShipmentRequestData;
|
|
3994
4093
|
shipping_info: ShippingInfo;
|
|
3995
4094
|
billing_info: BillingInfo;
|
|
3996
4095
|
currency_info?: any;
|
|
@@ -5371,6 +5470,12 @@ type ShipmentItem = {
|
|
|
5371
5470
|
shipment_created_ts?: string;
|
|
5372
5471
|
currency?: Currency;
|
|
5373
5472
|
currency_info?: CurrencyInfo;
|
|
5473
|
+
/**
|
|
5474
|
+
* - Flag to show NDR actions based on
|
|
5475
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
5476
|
+
* else false.
|
|
5477
|
+
*/
|
|
5478
|
+
is_lapa_enabled?: boolean;
|
|
5374
5479
|
};
|
|
5375
5480
|
/** @returns {ShipmentInternalPlatformViewResponse} */
|
|
5376
5481
|
declare function ShipmentInternalPlatformViewResponse(): ShipmentInternalPlatformViewResponse;
|
|
@@ -5851,6 +5956,12 @@ type PlatformShipment = {
|
|
|
5851
5956
|
credit_note_id?: string;
|
|
5852
5957
|
is_self_ship?: boolean;
|
|
5853
5958
|
mode_of_payment?: string;
|
|
5959
|
+
/**
|
|
5960
|
+
* - Flag to show NDR actions based on
|
|
5961
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
5962
|
+
* else false.
|
|
5963
|
+
*/
|
|
5964
|
+
is_lapa_enabled?: boolean;
|
|
5854
5965
|
};
|
|
5855
5966
|
/** @returns {ShipmentInfoResponse} */
|
|
5856
5967
|
declare function ShipmentInfoResponse(): ShipmentInfoResponse;
|
|
@@ -255,6 +255,7 @@ const Joi = require("joi");
|
|
|
255
255
|
* @property {boolean} [lock_after_transition] - Lock Shipment After Transition
|
|
256
256
|
* @property {boolean} [unlock_before_transition] - Unlock Shipment After Transition
|
|
257
257
|
* @property {boolean} [task] - To Run Status Update as a background Task
|
|
258
|
+
* @property {boolean} [resume_tasks_after_unlock] - Resume Tasks After Unlock
|
|
258
259
|
*/
|
|
259
260
|
|
|
260
261
|
/**
|
|
@@ -730,21 +731,24 @@ const Joi = require("joi");
|
|
|
730
731
|
|
|
731
732
|
/**
|
|
732
733
|
* @typedef Charge
|
|
733
|
-
* @property {string} name
|
|
734
|
-
* @property {Object} amount
|
|
734
|
+
* @property {string} name - The name of the charge.
|
|
735
|
+
* @property {Object} amount - The monetary value of the charge, including value
|
|
736
|
+
* and currency details.
|
|
735
737
|
* @property {Tax} [tax]
|
|
736
|
-
* @property {string} [code]
|
|
737
|
-
*
|
|
738
|
+
* @property {string} [code] - An optional code associated with the charge for
|
|
739
|
+
* internal tracking.
|
|
740
|
+
* @property {string} type - The category or type of the charge.
|
|
738
741
|
*/
|
|
739
742
|
|
|
740
743
|
/**
|
|
741
744
|
* @typedef LineItem
|
|
742
745
|
* @property {Charge[]} [charges]
|
|
743
|
-
* @property {Object} [meta]
|
|
744
|
-
* @property {string} [custom_message]
|
|
745
|
-
* @property {number} [quantity]
|
|
746
|
-
* @property {string} seller_identifier
|
|
747
|
-
* @property {string} [external_line_id]
|
|
746
|
+
* @property {Object} [meta] - Meta data of the articles or line items.
|
|
747
|
+
* @property {string} [custom_message] - Meta data of the articles or line items.
|
|
748
|
+
* @property {number} [quantity] - Quantity of the articles or line items.
|
|
749
|
+
* @property {string} seller_identifier - Seller identifier of the articles or line items.
|
|
750
|
+
* @property {string} [external_line_id] - External unique identifier of the
|
|
751
|
+
* articles or line items.
|
|
748
752
|
*/
|
|
749
753
|
|
|
750
754
|
/**
|
|
@@ -760,12 +764,16 @@ const Joi = require("joi");
|
|
|
760
764
|
/**
|
|
761
765
|
* @typedef Shipment
|
|
762
766
|
* @property {LineItem[]} line_items
|
|
763
|
-
* @property {string} [external_shipment_id]
|
|
767
|
+
* @property {string} [external_shipment_id] - External shipment identifier or
|
|
768
|
+
* marketplace's unique shipment identifier.
|
|
764
769
|
* @property {ProcessingDates} [processing_dates]
|
|
765
|
-
* @property {Object} [meta]
|
|
766
|
-
* @property {number} [priority]
|
|
767
|
-
* @property {number} location_id
|
|
768
|
-
*
|
|
770
|
+
* @property {Object} [meta] - Meta data of the shipment.
|
|
771
|
+
* @property {number} [priority] - Integer value indicating high and low priority.
|
|
772
|
+
* @property {number} location_id - Location Identifier or Store/Fulfillment
|
|
773
|
+
* Identifier of the shipment.
|
|
774
|
+
* @property {string} [order_type] - The order type of shipment HomeDelivery -
|
|
775
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
776
|
+
* customer wants the handover of an order at the store itself.
|
|
769
777
|
* @property {string} [parent_type]
|
|
770
778
|
* @property {string} [store_invoice_id]
|
|
771
779
|
* @property {string} [lock_status]
|
|
@@ -795,6 +803,17 @@ const Joi = require("joi");
|
|
|
795
803
|
* @property {ShipmentGstDetails} [gst]
|
|
796
804
|
*/
|
|
797
805
|
|
|
806
|
+
/**
|
|
807
|
+
* @typedef ShipmentRequestData
|
|
808
|
+
* @property {LineItem[]} line_items
|
|
809
|
+
* @property {ProcessingDates} [processing_dates]
|
|
810
|
+
* @property {Object} [meta] - Meta data of the shipment.
|
|
811
|
+
* @property {number} [priority] - Integer value indicating high and low priority.
|
|
812
|
+
* @property {string} [order_type] - The order type of shipment HomeDelivery -
|
|
813
|
+
* If the customer wants the order home-delivered PickAtStore - If the
|
|
814
|
+
* customer wants the handover of an order at the store itself.
|
|
815
|
+
*/
|
|
816
|
+
|
|
798
817
|
/**
|
|
799
818
|
* @typedef ShippingInfo
|
|
800
819
|
* @property {string} [alternate_mobile_number]
|
|
@@ -895,6 +914,7 @@ const Joi = require("joi");
|
|
|
895
914
|
/**
|
|
896
915
|
* @typedef CreateOrderAPI
|
|
897
916
|
* @property {Shipment[]} shipments
|
|
917
|
+
* @property {ShipmentRequestData} [shipment_request_data]
|
|
898
918
|
* @property {ShippingInfo} shipping_info
|
|
899
919
|
* @property {BillingInfo} billing_info
|
|
900
920
|
* @property {Object} [currency_info]
|
|
@@ -2122,6 +2142,9 @@ const Joi = require("joi");
|
|
|
2122
2142
|
* @property {string} [shipment_created_ts]
|
|
2123
2143
|
* @property {Currency} [currency]
|
|
2124
2144
|
* @property {CurrencyInfo} [currency_info]
|
|
2145
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
2146
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
2147
|
+
* else false.
|
|
2125
2148
|
*/
|
|
2126
2149
|
|
|
2127
2150
|
/**
|
|
@@ -2602,6 +2625,9 @@ const Joi = require("joi");
|
|
|
2602
2625
|
* @property {string} [credit_note_id]
|
|
2603
2626
|
* @property {boolean} [is_self_ship]
|
|
2604
2627
|
* @property {string} [mode_of_payment]
|
|
2628
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
2629
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
2630
|
+
* else false.
|
|
2605
2631
|
*/
|
|
2606
2632
|
|
|
2607
2633
|
/**
|
|
@@ -3488,6 +3514,7 @@ class OrderPlatformModel {
|
|
|
3488
3514
|
lock_after_transition: Joi.boolean(),
|
|
3489
3515
|
unlock_before_transition: Joi.boolean(),
|
|
3490
3516
|
task: Joi.boolean(),
|
|
3517
|
+
resume_tasks_after_unlock: Joi.boolean(),
|
|
3491
3518
|
});
|
|
3492
3519
|
}
|
|
3493
3520
|
|
|
@@ -4148,6 +4175,17 @@ class OrderPlatformModel {
|
|
|
4148
4175
|
});
|
|
4149
4176
|
}
|
|
4150
4177
|
|
|
4178
|
+
/** @returns {ShipmentRequestData} */
|
|
4179
|
+
static ShipmentRequestData() {
|
|
4180
|
+
return Joi.object({
|
|
4181
|
+
line_items: Joi.array().items(OrderPlatformModel.LineItem()).required(),
|
|
4182
|
+
processing_dates: OrderPlatformModel.ProcessingDates(),
|
|
4183
|
+
meta: Joi.any(),
|
|
4184
|
+
priority: Joi.number(),
|
|
4185
|
+
order_type: Joi.string().allow(""),
|
|
4186
|
+
});
|
|
4187
|
+
}
|
|
4188
|
+
|
|
4151
4189
|
/** @returns {ShippingInfo} */
|
|
4152
4190
|
static ShippingInfo() {
|
|
4153
4191
|
return Joi.object({
|
|
@@ -4261,6 +4299,7 @@ class OrderPlatformModel {
|
|
|
4261
4299
|
static CreateOrderAPI() {
|
|
4262
4300
|
return Joi.object({
|
|
4263
4301
|
shipments: Joi.array().items(OrderPlatformModel.Shipment()).required(),
|
|
4302
|
+
shipment_request_data: OrderPlatformModel.ShipmentRequestData(),
|
|
4264
4303
|
shipping_info: OrderPlatformModel.ShippingInfo().required(),
|
|
4265
4304
|
billing_info: OrderPlatformModel.BillingInfo().required(),
|
|
4266
4305
|
currency_info: Joi.any(),
|
|
@@ -5766,6 +5805,7 @@ class OrderPlatformModel {
|
|
|
5766
5805
|
shipment_created_ts: Joi.string().allow(""),
|
|
5767
5806
|
currency: OrderPlatformModel.Currency(),
|
|
5768
5807
|
currency_info: OrderPlatformModel.CurrencyInfo(),
|
|
5808
|
+
is_lapa_enabled: Joi.boolean(),
|
|
5769
5809
|
});
|
|
5770
5810
|
}
|
|
5771
5811
|
|
|
@@ -6326,6 +6366,7 @@ class OrderPlatformModel {
|
|
|
6326
6366
|
credit_note_id: Joi.string().allow("").allow(null),
|
|
6327
6367
|
is_self_ship: Joi.boolean().allow(null),
|
|
6328
6368
|
mode_of_payment: Joi.string().allow("").allow(null),
|
|
6369
|
+
is_lapa_enabled: Joi.boolean(),
|
|
6329
6370
|
});
|
|
6330
6371
|
}
|
|
6331
6372
|
|
|
@@ -425,6 +425,7 @@ export = PaymentPlatformModel;
|
|
|
425
425
|
*/
|
|
426
426
|
/**
|
|
427
427
|
* @typedef SetCODForUserRequest
|
|
428
|
+
* @property {string} [business_unit] - Business unit
|
|
428
429
|
* @property {string} mobileno - Mobile No. of User
|
|
429
430
|
* @property {boolean} is_active - Either true or false
|
|
430
431
|
* @property {string} merchant_user_id - Merchant User id
|
|
@@ -591,6 +592,8 @@ export = PaymentPlatformModel;
|
|
|
591
592
|
* @typedef LinkStatus
|
|
592
593
|
* @property {string} status - Link action status
|
|
593
594
|
* @property {string} message - Message
|
|
595
|
+
* @property {boolean} [is_payment_done] - This key specifies payment done
|
|
596
|
+
* status of payment link.
|
|
594
597
|
*/
|
|
595
598
|
/**
|
|
596
599
|
* @typedef ResendOrCancelPaymentResponse
|
|
@@ -2270,6 +2273,10 @@ type GetUserCODLimitResponse = {
|
|
|
2270
2273
|
/** @returns {SetCODForUserRequest} */
|
|
2271
2274
|
declare function SetCODForUserRequest(): SetCODForUserRequest;
|
|
2272
2275
|
type SetCODForUserRequest = {
|
|
2276
|
+
/**
|
|
2277
|
+
* - Business unit
|
|
2278
|
+
*/
|
|
2279
|
+
business_unit?: string;
|
|
2273
2280
|
/**
|
|
2274
2281
|
* - Mobile No. of User
|
|
2275
2282
|
*/
|
|
@@ -2740,6 +2747,11 @@ type LinkStatus = {
|
|
|
2740
2747
|
* - Message
|
|
2741
2748
|
*/
|
|
2742
2749
|
message: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* - This key specifies payment done
|
|
2752
|
+
* status of payment link.
|
|
2753
|
+
*/
|
|
2754
|
+
is_payment_done?: boolean;
|
|
2743
2755
|
};
|
|
2744
2756
|
/** @returns {ResendOrCancelPaymentResponse} */
|
|
2745
2757
|
declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
|
|
@@ -479,6 +479,7 @@ const Joi = require("joi");
|
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
481
|
* @typedef SetCODForUserRequest
|
|
482
|
+
* @property {string} [business_unit] - Business unit
|
|
482
483
|
* @property {string} mobileno - Mobile No. of User
|
|
483
484
|
* @property {boolean} is_active - Either true or false
|
|
484
485
|
* @property {string} merchant_user_id - Merchant User id
|
|
@@ -664,6 +665,8 @@ const Joi = require("joi");
|
|
|
664
665
|
* @typedef LinkStatus
|
|
665
666
|
* @property {string} status - Link action status
|
|
666
667
|
* @property {string} message - Message
|
|
668
|
+
* @property {boolean} [is_payment_done] - This key specifies payment done
|
|
669
|
+
* status of payment link.
|
|
667
670
|
*/
|
|
668
671
|
|
|
669
672
|
/**
|
|
@@ -1919,6 +1922,7 @@ class PaymentPlatformModel {
|
|
|
1919
1922
|
/** @returns {SetCODForUserRequest} */
|
|
1920
1923
|
static SetCODForUserRequest() {
|
|
1921
1924
|
return Joi.object({
|
|
1925
|
+
business_unit: Joi.string().allow(""),
|
|
1922
1926
|
mobileno: Joi.string().allow("").required(),
|
|
1923
1927
|
is_active: Joi.boolean().required(),
|
|
1924
1928
|
merchant_user_id: Joi.string().allow("").required(),
|
|
@@ -2139,6 +2143,7 @@ class PaymentPlatformModel {
|
|
|
2139
2143
|
return Joi.object({
|
|
2140
2144
|
status: Joi.string().allow("").required(),
|
|
2141
2145
|
message: Joi.string().allow("").required(),
|
|
2146
|
+
is_payment_done: Joi.boolean(),
|
|
2142
2147
|
});
|
|
2143
2148
|
}
|
|
2144
2149
|
|
|
@@ -245,7 +245,7 @@ declare class Serviceability {
|
|
|
245
245
|
* @summary: Get zones
|
|
246
246
|
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
247
247
|
*/
|
|
248
|
-
getZones({ pageNo, pageSize, isActive, channelId, q,
|
|
248
|
+
getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
|
|
249
249
|
/**
|
|
250
250
|
* @param {ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam} arg
|
|
251
251
|
* - Arg object
|
|
@@ -1730,7 +1730,7 @@ class Serviceability {
|
|
|
1730
1730
|
isActive,
|
|
1731
1731
|
channelId,
|
|
1732
1732
|
q,
|
|
1733
|
-
|
|
1733
|
+
countryIsoCode,
|
|
1734
1734
|
state,
|
|
1735
1735
|
city,
|
|
1736
1736
|
pincode,
|
|
@@ -1746,7 +1746,7 @@ class Serviceability {
|
|
|
1746
1746
|
isActive,
|
|
1747
1747
|
channelId,
|
|
1748
1748
|
q,
|
|
1749
|
-
|
|
1749
|
+
countryIsoCode,
|
|
1750
1750
|
state,
|
|
1751
1751
|
city,
|
|
1752
1752
|
pincode,
|
|
@@ -1768,7 +1768,7 @@ class Serviceability {
|
|
|
1768
1768
|
isActive,
|
|
1769
1769
|
channelId,
|
|
1770
1770
|
q,
|
|
1771
|
-
|
|
1771
|
+
countryIsoCode,
|
|
1772
1772
|
state,
|
|
1773
1773
|
city,
|
|
1774
1774
|
pincode,
|
|
@@ -1789,7 +1789,7 @@ class Serviceability {
|
|
|
1789
1789
|
query_params["is_active"] = isActive;
|
|
1790
1790
|
query_params["channel_id"] = channelId;
|
|
1791
1791
|
query_params["q"] = q;
|
|
1792
|
-
query_params["
|
|
1792
|
+
query_params["country_iso_code"] = countryIsoCode;
|
|
1793
1793
|
query_params["state"] = state;
|
|
1794
1794
|
query_params["city"] = city;
|
|
1795
1795
|
query_params["pincode"] = pincode;
|
|
@@ -521,6 +521,15 @@ export = ServiceabilityPlatformModel;
|
|
|
521
521
|
* @property {string} stage
|
|
522
522
|
* @property {boolean} is_own_account
|
|
523
523
|
*/
|
|
524
|
+
/**
|
|
525
|
+
* @typedef CourierAccountRequestBody
|
|
526
|
+
* @property {string} extension_id
|
|
527
|
+
* @property {string} [account_id]
|
|
528
|
+
* @property {string} scheme_id
|
|
529
|
+
* @property {boolean} is_self_ship
|
|
530
|
+
* @property {string} stage
|
|
531
|
+
* @property {boolean} is_own_account
|
|
532
|
+
*/
|
|
524
533
|
/**
|
|
525
534
|
* @typedef ErrorResponse
|
|
526
535
|
* @property {string} value
|
|
@@ -994,7 +1003,7 @@ export = ServiceabilityPlatformModel;
|
|
|
994
1003
|
declare class ServiceabilityPlatformModel {
|
|
995
1004
|
}
|
|
996
1005
|
declare namespace ServiceabilityPlatformModel {
|
|
997
|
-
export { UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, ErrorResponse, CourierPartnerAccountFailureResponse, Page, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageRule, PackageRuleResponse, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsRequestSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse };
|
|
1006
|
+
export { UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, CourierAccountRequestBody, ErrorResponse, CourierPartnerAccountFailureResponse, Page, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageRule, PackageRuleResponse, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsRequestSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse };
|
|
998
1007
|
}
|
|
999
1008
|
/** @returns {UpdateZoneConfigRequest} */
|
|
1000
1009
|
declare function UpdateZoneConfigRequest(): UpdateZoneConfigRequest;
|
|
@@ -1591,6 +1600,16 @@ type CourierAccount = {
|
|
|
1591
1600
|
stage: string;
|
|
1592
1601
|
is_own_account: boolean;
|
|
1593
1602
|
};
|
|
1603
|
+
/** @returns {CourierAccountRequestBody} */
|
|
1604
|
+
declare function CourierAccountRequestBody(): CourierAccountRequestBody;
|
|
1605
|
+
type CourierAccountRequestBody = {
|
|
1606
|
+
extension_id: string;
|
|
1607
|
+
account_id?: string;
|
|
1608
|
+
scheme_id: string;
|
|
1609
|
+
is_self_ship: boolean;
|
|
1610
|
+
stage: string;
|
|
1611
|
+
is_own_account: boolean;
|
|
1612
|
+
};
|
|
1594
1613
|
/** @returns {ErrorResponse} */
|
|
1595
1614
|
declare function ErrorResponse(): ErrorResponse;
|
|
1596
1615
|
type ErrorResponse = {
|
|
@@ -595,6 +595,16 @@ const Joi = require("joi");
|
|
|
595
595
|
* @property {boolean} is_own_account
|
|
596
596
|
*/
|
|
597
597
|
|
|
598
|
+
/**
|
|
599
|
+
* @typedef CourierAccountRequestBody
|
|
600
|
+
* @property {string} extension_id
|
|
601
|
+
* @property {string} [account_id]
|
|
602
|
+
* @property {string} scheme_id
|
|
603
|
+
* @property {boolean} is_self_ship
|
|
604
|
+
* @property {string} stage
|
|
605
|
+
* @property {boolean} is_own_account
|
|
606
|
+
*/
|
|
607
|
+
|
|
598
608
|
/**
|
|
599
609
|
* @typedef ErrorResponse
|
|
600
610
|
* @property {string} value
|
|
@@ -1865,10 +1875,10 @@ class ServiceabilityPlatformModel {
|
|
|
1865
1875
|
/** @returns {ArithmeticOperations} */
|
|
1866
1876
|
static ArithmeticOperations() {
|
|
1867
1877
|
return Joi.object({
|
|
1868
|
-
lt: Joi.number(),
|
|
1869
|
-
gt: Joi.number(),
|
|
1870
|
-
lte: Joi.number(),
|
|
1871
|
-
gte: Joi.number(),
|
|
1878
|
+
lt: Joi.number().allow(null),
|
|
1879
|
+
gt: Joi.number().allow(null),
|
|
1880
|
+
lte: Joi.number().allow(null),
|
|
1881
|
+
gte: Joi.number().allow(null),
|
|
1872
1882
|
});
|
|
1873
1883
|
}
|
|
1874
1884
|
|
|
@@ -1908,6 +1918,18 @@ class ServiceabilityPlatformModel {
|
|
|
1908
1918
|
});
|
|
1909
1919
|
}
|
|
1910
1920
|
|
|
1921
|
+
/** @returns {CourierAccountRequestBody} */
|
|
1922
|
+
static CourierAccountRequestBody() {
|
|
1923
|
+
return Joi.object({
|
|
1924
|
+
extension_id: Joi.string().allow("").required(),
|
|
1925
|
+
account_id: Joi.string().allow(""),
|
|
1926
|
+
scheme_id: Joi.string().allow("").required(),
|
|
1927
|
+
is_self_ship: Joi.boolean().required(),
|
|
1928
|
+
stage: Joi.string().allow("").required(),
|
|
1929
|
+
is_own_account: Joi.boolean().required(),
|
|
1930
|
+
});
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1911
1933
|
/** @returns {ErrorResponse} */
|
|
1912
1934
|
static ErrorResponse() {
|
|
1913
1935
|
return Joi.object({
|