@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.6
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Lead/LeadApplicationModel.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -4
- package/sdk/application/Share/ShareApplicationModel.js +0 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +246 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +20 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -16
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +4 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Share/SharePlatformModel.d.ts +0 -4
- package/sdk/platform/Share/SharePlatformModel.js +0 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +4 -4
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -1681,6 +1681,7 @@ export = OrderPlatformModel;
|
|
|
1681
1681
|
* @property {string} [raw_meta]
|
|
1682
1682
|
* @property {string} size
|
|
1683
1683
|
* @property {boolean} [is_set]
|
|
1684
|
+
* @property {string[]} [tags]
|
|
1684
1685
|
*/
|
|
1685
1686
|
/**
|
|
1686
1687
|
* @typedef ShipmentListingBrand
|
|
@@ -2107,6 +2108,7 @@ export = OrderPlatformModel;
|
|
|
2107
2108
|
* @property {ReturnConfig} [return_config]
|
|
2108
2109
|
* @property {string} [uid]
|
|
2109
2110
|
* @property {string} [size]
|
|
2111
|
+
* @property {string[]} [tags]
|
|
2110
2112
|
*/
|
|
2111
2113
|
/**
|
|
2112
2114
|
* @typedef OrderBrandName
|
|
@@ -2317,6 +2319,18 @@ export = OrderPlatformModel;
|
|
|
2317
2319
|
* @property {string} [pan_no]
|
|
2318
2320
|
* @property {string} [gstin]
|
|
2319
2321
|
*/
|
|
2322
|
+
/**
|
|
2323
|
+
* @typedef PaymentInfoData
|
|
2324
|
+
* @property {Object} [meta]
|
|
2325
|
+
* @property {string} [mode]
|
|
2326
|
+
* @property {string} [name]
|
|
2327
|
+
* @property {number} [amount]
|
|
2328
|
+
* @property {boolean} [collected]
|
|
2329
|
+
* @property {string} [refund_by]
|
|
2330
|
+
* @property {string} [collect_by]
|
|
2331
|
+
* @property {string} [display_name]
|
|
2332
|
+
* @property {string} [merchant_transaction_id]
|
|
2333
|
+
*/
|
|
2320
2334
|
/**
|
|
2321
2335
|
* @typedef OrderData
|
|
2322
2336
|
* @property {string} order_date
|
|
@@ -2326,7 +2340,7 @@ export = OrderPlatformModel;
|
|
|
2326
2340
|
* @property {string} fynd_order_id
|
|
2327
2341
|
* @property {Prices} [prices]
|
|
2328
2342
|
* @property {Object} [payment_methods]
|
|
2329
|
-
* @property {
|
|
2343
|
+
* @property {PaymentInfoData[]} [payment_info]
|
|
2330
2344
|
*/
|
|
2331
2345
|
/**
|
|
2332
2346
|
* @typedef OrderDetailsResponse
|
|
@@ -2816,7 +2830,7 @@ export = OrderPlatformModel;
|
|
|
2816
2830
|
declare class OrderPlatformModel {
|
|
2817
2831
|
}
|
|
2818
2832
|
declare namespace OrderPlatformModel {
|
|
2819
|
-
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, 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, 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 };
|
|
2833
|
+
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, 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 };
|
|
2820
2834
|
}
|
|
2821
2835
|
/** @returns {InvalidateShipmentCachePayload} */
|
|
2822
2836
|
declare function InvalidateShipmentCachePayload(): InvalidateShipmentCachePayload;
|
|
@@ -4996,6 +5010,7 @@ type Article = {
|
|
|
4996
5010
|
raw_meta?: string;
|
|
4997
5011
|
size: string;
|
|
4998
5012
|
is_set?: boolean;
|
|
5013
|
+
tags?: string[];
|
|
4999
5014
|
};
|
|
5000
5015
|
/** @returns {ShipmentListingBrand} */
|
|
5001
5016
|
declare function ShipmentListingBrand(): ShipmentListingBrand;
|
|
@@ -5459,6 +5474,7 @@ type OrderBagArticle = {
|
|
|
5459
5474
|
return_config?: ReturnConfig;
|
|
5460
5475
|
uid?: string;
|
|
5461
5476
|
size?: string;
|
|
5477
|
+
tags?: string[];
|
|
5462
5478
|
};
|
|
5463
5479
|
/** @returns {OrderBrandName} */
|
|
5464
5480
|
declare function OrderBrandName(): OrderBrandName;
|
|
@@ -5685,6 +5701,19 @@ type TaxDetails = {
|
|
|
5685
5701
|
pan_no?: string;
|
|
5686
5702
|
gstin?: string;
|
|
5687
5703
|
};
|
|
5704
|
+
/** @returns {PaymentInfoData} */
|
|
5705
|
+
declare function PaymentInfoData(): PaymentInfoData;
|
|
5706
|
+
type PaymentInfoData = {
|
|
5707
|
+
meta?: any;
|
|
5708
|
+
mode?: string;
|
|
5709
|
+
name?: string;
|
|
5710
|
+
amount?: number;
|
|
5711
|
+
collected?: boolean;
|
|
5712
|
+
refund_by?: string;
|
|
5713
|
+
collect_by?: string;
|
|
5714
|
+
display_name?: string;
|
|
5715
|
+
merchant_transaction_id?: string;
|
|
5716
|
+
};
|
|
5688
5717
|
/** @returns {OrderData} */
|
|
5689
5718
|
declare function OrderData(): OrderData;
|
|
5690
5719
|
type OrderData = {
|
|
@@ -5695,7 +5724,7 @@ type OrderData = {
|
|
|
5695
5724
|
fynd_order_id: string;
|
|
5696
5725
|
prices?: Prices;
|
|
5697
5726
|
payment_methods?: any;
|
|
5698
|
-
payment_info?:
|
|
5727
|
+
payment_info?: PaymentInfoData[];
|
|
5699
5728
|
};
|
|
5700
5729
|
/** @returns {OrderDetailsResponse} */
|
|
5701
5730
|
declare function OrderDetailsResponse(): OrderDetailsResponse;
|
|
@@ -1883,6 +1883,7 @@ const Joi = require("joi");
|
|
|
1883
1883
|
* @property {string} [raw_meta]
|
|
1884
1884
|
* @property {string} size
|
|
1885
1885
|
* @property {boolean} [is_set]
|
|
1886
|
+
* @property {string[]} [tags]
|
|
1886
1887
|
*/
|
|
1887
1888
|
|
|
1888
1889
|
/**
|
|
@@ -2346,6 +2347,7 @@ const Joi = require("joi");
|
|
|
2346
2347
|
* @property {ReturnConfig} [return_config]
|
|
2347
2348
|
* @property {string} [uid]
|
|
2348
2349
|
* @property {string} [size]
|
|
2350
|
+
* @property {string[]} [tags]
|
|
2349
2351
|
*/
|
|
2350
2352
|
|
|
2351
2353
|
/**
|
|
@@ -2573,6 +2575,19 @@ const Joi = require("joi");
|
|
|
2573
2575
|
* @property {string} [gstin]
|
|
2574
2576
|
*/
|
|
2575
2577
|
|
|
2578
|
+
/**
|
|
2579
|
+
* @typedef PaymentInfoData
|
|
2580
|
+
* @property {Object} [meta]
|
|
2581
|
+
* @property {string} [mode]
|
|
2582
|
+
* @property {string} [name]
|
|
2583
|
+
* @property {number} [amount]
|
|
2584
|
+
* @property {boolean} [collected]
|
|
2585
|
+
* @property {string} [refund_by]
|
|
2586
|
+
* @property {string} [collect_by]
|
|
2587
|
+
* @property {string} [display_name]
|
|
2588
|
+
* @property {string} [merchant_transaction_id]
|
|
2589
|
+
*/
|
|
2590
|
+
|
|
2576
2591
|
/**
|
|
2577
2592
|
* @typedef OrderData
|
|
2578
2593
|
* @property {string} order_date
|
|
@@ -2582,7 +2597,7 @@ const Joi = require("joi");
|
|
|
2582
2597
|
* @property {string} fynd_order_id
|
|
2583
2598
|
* @property {Prices} [prices]
|
|
2584
2599
|
* @property {Object} [payment_methods]
|
|
2585
|
-
* @property {
|
|
2600
|
+
* @property {PaymentInfoData[]} [payment_info]
|
|
2586
2601
|
*/
|
|
2587
2602
|
|
|
2588
2603
|
/**
|
|
@@ -5430,6 +5445,7 @@ class OrderPlatformModel {
|
|
|
5430
5445
|
raw_meta: Joi.string().allow("").allow(null),
|
|
5431
5446
|
size: Joi.string().allow("").required(),
|
|
5432
5447
|
is_set: Joi.boolean().allow(null),
|
|
5448
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
5433
5449
|
});
|
|
5434
5450
|
}
|
|
5435
5451
|
|
|
@@ -5969,6 +5985,7 @@ class OrderPlatformModel {
|
|
|
5969
5985
|
return_config: OrderPlatformModel.ReturnConfig(),
|
|
5970
5986
|
uid: Joi.string().allow("").allow(null),
|
|
5971
5987
|
size: Joi.string().allow("").allow(null),
|
|
5988
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
5972
5989
|
});
|
|
5973
5990
|
}
|
|
5974
5991
|
|
|
@@ -6233,6 +6250,21 @@ class OrderPlatformModel {
|
|
|
6233
6250
|
});
|
|
6234
6251
|
}
|
|
6235
6252
|
|
|
6253
|
+
/** @returns {PaymentInfoData} */
|
|
6254
|
+
static PaymentInfoData() {
|
|
6255
|
+
return Joi.object({
|
|
6256
|
+
meta: Joi.any(),
|
|
6257
|
+
mode: Joi.string().allow(""),
|
|
6258
|
+
name: Joi.string().allow(""),
|
|
6259
|
+
amount: Joi.number(),
|
|
6260
|
+
collected: Joi.boolean(),
|
|
6261
|
+
refund_by: Joi.string().allow(""),
|
|
6262
|
+
collect_by: Joi.string().allow(""),
|
|
6263
|
+
display_name: Joi.string().allow(""),
|
|
6264
|
+
merchant_transaction_id: Joi.string().allow(""),
|
|
6265
|
+
});
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6236
6268
|
/** @returns {OrderData} */
|
|
6237
6269
|
static OrderData() {
|
|
6238
6270
|
return Joi.object({
|
|
@@ -6243,7 +6275,7 @@ class OrderPlatformModel {
|
|
|
6243
6275
|
fynd_order_id: Joi.string().allow("").required(),
|
|
6244
6276
|
prices: OrderPlatformModel.Prices(),
|
|
6245
6277
|
payment_methods: Joi.any().allow(null),
|
|
6246
|
-
payment_info: Joi.array().items(
|
|
6278
|
+
payment_info: Joi.array().items(OrderPlatformModel.PaymentInfoData()),
|
|
6247
6279
|
});
|
|
6248
6280
|
}
|
|
6249
6281
|
|
|
@@ -9,8 +9,8 @@ declare class Partner {
|
|
|
9
9
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
10
|
* @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
|
|
11
11
|
* @name addProxyPath
|
|
12
|
-
* @summary:
|
|
13
|
-
* @description:
|
|
12
|
+
* @summary: Add proxy path.
|
|
13
|
+
* @description: Create and add a new proxy path. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/addProxyPath/).
|
|
14
14
|
*/
|
|
15
15
|
addProxyPath({ extensionId, body, requestHeaders }?: PartnerPlatformApplicationValidator.AddProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.AddProxyResponse>;
|
|
16
16
|
/**
|
|
@@ -19,8 +19,8 @@ declare class Partner {
|
|
|
19
19
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
20
20
|
* @returns {Promise<PartnerPlatformModel.RemoveProxyResponse>} - Success response
|
|
21
21
|
* @name removeProxyPath
|
|
22
|
-
* @summary: Remove proxy
|
|
23
|
-
* @description:
|
|
22
|
+
* @summary: Remove proxy path.
|
|
23
|
+
* @description: Delete a proxy path from the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/removeProxyPath/).
|
|
24
24
|
*/
|
|
25
25
|
removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.RemoveProxyResponse>;
|
|
26
26
|
}
|
|
@@ -21,8 +21,8 @@ class Partner {
|
|
|
21
21
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
22
|
* @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
|
|
23
23
|
* @name addProxyPath
|
|
24
|
-
* @summary:
|
|
25
|
-
* @description:
|
|
24
|
+
* @summary: Add proxy path.
|
|
25
|
+
* @description: Create and add a new proxy path. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/addProxyPath/).
|
|
26
26
|
*/
|
|
27
27
|
async addProxyPath(
|
|
28
28
|
{ extensionId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -102,8 +102,8 @@ class Partner {
|
|
|
102
102
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
103
103
|
* @returns {Promise<PartnerPlatformModel.RemoveProxyResponse>} - Success response
|
|
104
104
|
* @name removeProxyPath
|
|
105
|
-
* @summary: Remove proxy
|
|
106
|
-
* @description:
|
|
105
|
+
* @summary: Remove proxy path.
|
|
106
|
+
* @description: Delete a proxy path from the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/removeProxyPath/).
|
|
107
107
|
*/
|
|
108
108
|
async removeProxyPath(
|
|
109
109
|
{ extensionId, attachedPath, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export = PartnerPlatformApplicationValidator;
|
|
2
2
|
/**
|
|
3
3
|
* @typedef AddProxyPathParam
|
|
4
|
-
* @property {string} extensionId - Extension id for which proxy URL will be generated
|
|
4
|
+
* @property {string} extensionId - Extension id for which a proxy URL will be generated
|
|
5
5
|
* @property {PartnerPlatformModel.AddProxyReq} body
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* @typedef RemoveProxyPathParam
|
|
9
9
|
* @property {string} extensionId - Extension id for which proxy URL needs to be removed
|
|
10
|
-
* @property {string} attachedPath -
|
|
10
|
+
* @property {string} attachedPath - Attached path slug
|
|
11
11
|
*/
|
|
12
12
|
declare class PartnerPlatformApplicationValidator {
|
|
13
13
|
/** @returns {AddProxyPathParam} */
|
|
@@ -20,7 +20,7 @@ declare namespace PartnerPlatformApplicationValidator {
|
|
|
20
20
|
}
|
|
21
21
|
type AddProxyPathParam = {
|
|
22
22
|
/**
|
|
23
|
-
* - Extension id for which proxy URL will be generated
|
|
23
|
+
* - Extension id for which a proxy URL will be generated
|
|
24
24
|
*/
|
|
25
25
|
extensionId: string;
|
|
26
26
|
body: PartnerPlatformModel.AddProxyReq;
|
|
@@ -31,7 +31,7 @@ type RemoveProxyPathParam = {
|
|
|
31
31
|
*/
|
|
32
32
|
extensionId: string;
|
|
33
33
|
/**
|
|
34
|
-
* -
|
|
34
|
+
* - Attached path slug
|
|
35
35
|
*/
|
|
36
36
|
attachedPath: string;
|
|
37
37
|
};
|
|
@@ -4,14 +4,14 @@ const PartnerPlatformModel = require("./PartnerPlatformModel");
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @typedef AddProxyPathParam
|
|
7
|
-
* @property {string} extensionId - Extension id for which proxy URL will be generated
|
|
7
|
+
* @property {string} extensionId - Extension id for which a proxy URL will be generated
|
|
8
8
|
* @property {PartnerPlatformModel.AddProxyReq} body
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @typedef RemoveProxyPathParam
|
|
13
13
|
* @property {string} extensionId - Extension id for which proxy URL needs to be removed
|
|
14
|
-
* @property {string} attachedPath -
|
|
14
|
+
* @property {string} attachedPath - Attached path slug
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
class PartnerPlatformApplicationValidator {
|