@gofynd/fdk-client-javascript 1.6.4 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +5 -5
- package/sdk/application/Cart/CartApplicationClient.js +26 -268
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +20 -20
- package/sdk/application/Catalog/CatalogApplicationClient.js +98 -347
- package/sdk/application/Common/CommonApplicationClient.js +1 -16
- package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +24 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +58 -137
- package/sdk/application/Content/ContentApplicationClient.d.ts +47 -7
- package/sdk/application/Content/ContentApplicationClient.js +222 -191
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +21 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -56
- package/sdk/application/Logistic/LogisticApplicationClient.js +57 -332
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +68 -153
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -12
- package/sdk/application/Payment/PaymentApplicationClient.js +7 -487
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
- package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationClient.js +21 -75
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
- package/sdk/application/User/UserApplicationClient.js +1 -407
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -55
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +1 -408
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -37
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +2 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +29 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +65 -42
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1008 -794
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +573 -460
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +10 -5
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +2 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +67 -9
- package/sdk/platform/Cart/CartPlatformModel.js +38 -5
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +4 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +47 -13
- package/sdk/platform/Catalog/CatalogPlatformModel.js +29 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +7 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +71 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +70 -6
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +0 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +8 -60
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +31 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -3
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +13 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +68 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +49 -7
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +169 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1279 -132
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +156 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +180 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +162 -0
- package/sdk/platform/Content/ContentPlatformClient.js +1697 -497
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1053 -35
- package/sdk/platform/Content/ContentPlatformModel.js +717 -34
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +127 -1
- package/sdk/platform/Content/ContentPlatformValidator.js +171 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +34 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +59 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +365 -93
- package/sdk/platform/Discount/DiscountPlatformModel.js +98 -93
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +54 -34
- package/sdk/platform/Discount/DiscountPlatformValidator.js +27 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +0 -156
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -1072
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -137
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -173
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -1105
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -1125
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -0
- package/sdk/platform/Lead/LeadPlatformModel.js +2 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +212 -0
- package/sdk/platform/Order/OrderPlatformClient.js +397 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +41 -9
- package/sdk/platform/Order/OrderPlatformModel.js +20 -7
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +58 -10
- package/sdk/platform/Partner/PartnerPlatformModel.js +19 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +8 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +5 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.js +2 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +240 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +1753 -277
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +320 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +269 -19
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +201 -629
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +5720 -2891
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3414 -2181
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +138 -216
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +81 -148
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +79 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +13 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +12 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +52 -1
- package/sdk/platform/User/UserPlatformModel.js +36 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +5 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +2 -0
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +6 -11
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -3
- package/sdk/public/Content/ContentPublicClient.js +261 -104
- package/sdk/public/Content/ContentPublicModel.d.ts +155 -1
- package/sdk/public/Content/ContentPublicModel.js +102 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -1
- package/sdk/public/Content/ContentPublicValidator.js +26 -0
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +1 -40
|
@@ -57,12 +57,14 @@ export = ConfigurationPlatformModel;
|
|
|
57
57
|
*/
|
|
58
58
|
/**
|
|
59
59
|
* @typedef FstIdentification
|
|
60
|
-
* @property {boolean} [enabled] - Indicates whether
|
|
61
|
-
* enabled for the application.
|
|
60
|
+
* @property {boolean} [enabled] - Indicates whether search query interpretation
|
|
61
|
+
* is enabled for the application.
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* @typedef QuerySuggestions
|
|
65
|
-
* @property {boolean} [enabled] - Indicates whether
|
|
65
|
+
* @property {boolean} [enabled] - Indicates whether to enable or disable query
|
|
66
|
+
* suggestions powered by the GPT model using the current live catalog within
|
|
67
|
+
* the application.
|
|
66
68
|
* @property {number} [max_limit] - Specifies the maximum number of query
|
|
67
69
|
* suggestions that can be returned.
|
|
68
70
|
*/
|
|
@@ -73,6 +75,7 @@ export = ConfigurationPlatformModel;
|
|
|
73
75
|
*/
|
|
74
76
|
/**
|
|
75
77
|
* @typedef AppInventoryConfig
|
|
78
|
+
* @property {DeliveryStrategy} [delivery_strategy]
|
|
76
79
|
* @property {InventoryBrand} [brand]
|
|
77
80
|
* @property {InventoryStore} [store]
|
|
78
81
|
* @property {InventoryCategory} [category]
|
|
@@ -875,6 +878,20 @@ export = ConfigurationPlatformModel;
|
|
|
875
878
|
* @property {boolean} [ask_store_address] - Shows whether a form to collect the
|
|
876
879
|
* address of the store, should be displayed upon visiting the website
|
|
877
880
|
*/
|
|
881
|
+
/**
|
|
882
|
+
* @typedef BuyboxFeature
|
|
883
|
+
* @property {boolean} [show_name] - Allow users to see seller/stores name on
|
|
884
|
+
* PDP (product detail page).
|
|
885
|
+
* @property {boolean} [enable_selection] - Allow selection of sellers/stores on
|
|
886
|
+
* PDP (product detail page).
|
|
887
|
+
* @property {boolean} [is_seller_buybox_enabled] - Toggle buybox listing
|
|
888
|
+
* between sellers and stores. True indicates seller listing, while False
|
|
889
|
+
* indicates store listing.
|
|
890
|
+
*/
|
|
891
|
+
/**
|
|
892
|
+
* @typedef DeliveryStrategy
|
|
893
|
+
* @property {string} [value] - Indicates the delivery strategy value.
|
|
894
|
+
*/
|
|
878
895
|
/**
|
|
879
896
|
* @typedef AppFeature
|
|
880
897
|
* @property {ProductDetailFeature} [product_detail]
|
|
@@ -886,6 +903,8 @@ export = ConfigurationPlatformModel;
|
|
|
886
903
|
* @property {QrFeature} [qr]
|
|
887
904
|
* @property {PcrFeature} [pcr]
|
|
888
905
|
* @property {OrderFeature} [order]
|
|
906
|
+
* @property {BuyboxFeature} [buybox]
|
|
907
|
+
* @property {DeliveryStrategy} [delivery_strategy]
|
|
889
908
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
890
909
|
* for the sales channel features
|
|
891
910
|
* @property {string} [app] - Application ID of the sales channel
|
|
@@ -1156,6 +1175,7 @@ export = ConfigurationPlatformModel;
|
|
|
1156
1175
|
* @property {number} [current] - The current page number.
|
|
1157
1176
|
* @property {string} type - The type of the page, such as 'PageType'.
|
|
1158
1177
|
* @property {number} [size] - The number of items per page.
|
|
1178
|
+
* @property {number} [page_size] - The number of items per page.
|
|
1159
1179
|
*/
|
|
1160
1180
|
/**
|
|
1161
1181
|
* @typedef ApplicationInformation
|
|
@@ -1336,7 +1356,7 @@ export = ConfigurationPlatformModel;
|
|
|
1336
1356
|
* @property {string} [address1] - Address of the opted store
|
|
1337
1357
|
* @property {StoreLatLong} [lat_long]
|
|
1338
1358
|
* @property {string} [address2] - Address of the opted store
|
|
1339
|
-
* @property {
|
|
1359
|
+
* @property {string} [pincode] - 6-digit PIN code of the opted store location
|
|
1340
1360
|
* @property {string} [country] - Country of the opted store, e.g. India
|
|
1341
1361
|
* @property {string} [city] - City of the opted store, e.g. Mumbai
|
|
1342
1362
|
* @property {string} [sector] - Sector for the opted store.
|
|
@@ -1354,7 +1374,7 @@ export = ConfigurationPlatformModel;
|
|
|
1354
1374
|
* @property {string} [store_type] - Store type of the ordering store, e.g.
|
|
1355
1375
|
* high_street, mall, warehouse
|
|
1356
1376
|
* @property {string} [store_code] - Store code of the ordering store, e.g. MUM-102
|
|
1357
|
-
* @property {
|
|
1377
|
+
* @property {string} [pincode] - 6-digit PIN Code of the ordering store, e.g. 400001
|
|
1358
1378
|
* @property {string} [code] - Code of the ordering store (usually same as Store Code)
|
|
1359
1379
|
*/
|
|
1360
1380
|
/**
|
|
@@ -1390,7 +1410,7 @@ export = ConfigurationPlatformModel;
|
|
|
1390
1410
|
declare class ConfigurationPlatformModel {
|
|
1391
1411
|
}
|
|
1392
1412
|
declare namespace ConfigurationPlatformModel {
|
|
1393
|
-
export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
|
|
1413
|
+
export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, BuyboxFeature, DeliveryStrategy, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
|
|
1394
1414
|
}
|
|
1395
1415
|
/** @returns {CurrencyExchangeResponseV2} */
|
|
1396
1416
|
declare function CurrencyExchangeResponseV2(): CurrencyExchangeResponseV2;
|
|
@@ -1516,8 +1536,8 @@ type PiiMasking = {
|
|
|
1516
1536
|
declare function FstIdentification(): FstIdentification;
|
|
1517
1537
|
type FstIdentification = {
|
|
1518
1538
|
/**
|
|
1519
|
-
* - Indicates whether
|
|
1520
|
-
* enabled for the application.
|
|
1539
|
+
* - Indicates whether search query interpretation
|
|
1540
|
+
* is enabled for the application.
|
|
1521
1541
|
*/
|
|
1522
1542
|
enabled?: boolean;
|
|
1523
1543
|
};
|
|
@@ -1525,7 +1545,9 @@ type FstIdentification = {
|
|
|
1525
1545
|
declare function QuerySuggestions(): QuerySuggestions;
|
|
1526
1546
|
type QuerySuggestions = {
|
|
1527
1547
|
/**
|
|
1528
|
-
* - Indicates whether
|
|
1548
|
+
* - Indicates whether to enable or disable query
|
|
1549
|
+
* suggestions powered by the GPT model using the current live catalog within
|
|
1550
|
+
* the application.
|
|
1529
1551
|
*/
|
|
1530
1552
|
enabled?: boolean;
|
|
1531
1553
|
/**
|
|
@@ -1543,6 +1565,7 @@ type SearchConfig = {
|
|
|
1543
1565
|
/** @returns {AppInventoryConfig} */
|
|
1544
1566
|
declare function AppInventoryConfig(): AppInventoryConfig;
|
|
1545
1567
|
type AppInventoryConfig = {
|
|
1568
|
+
delivery_strategy?: DeliveryStrategy;
|
|
1546
1569
|
brand?: InventoryBrand;
|
|
1547
1570
|
store?: InventoryStore;
|
|
1548
1571
|
category?: InventoryCategory;
|
|
@@ -3149,6 +3172,34 @@ type RegistrationPageFeature = {
|
|
|
3149
3172
|
*/
|
|
3150
3173
|
ask_store_address?: boolean;
|
|
3151
3174
|
};
|
|
3175
|
+
/** @returns {BuyboxFeature} */
|
|
3176
|
+
declare function BuyboxFeature(): BuyboxFeature;
|
|
3177
|
+
type BuyboxFeature = {
|
|
3178
|
+
/**
|
|
3179
|
+
* - Allow users to see seller/stores name on
|
|
3180
|
+
* PDP (product detail page).
|
|
3181
|
+
*/
|
|
3182
|
+
show_name?: boolean;
|
|
3183
|
+
/**
|
|
3184
|
+
* - Allow selection of sellers/stores on
|
|
3185
|
+
* PDP (product detail page).
|
|
3186
|
+
*/
|
|
3187
|
+
enable_selection?: boolean;
|
|
3188
|
+
/**
|
|
3189
|
+
* - Toggle buybox listing
|
|
3190
|
+
* between sellers and stores. True indicates seller listing, while False
|
|
3191
|
+
* indicates store listing.
|
|
3192
|
+
*/
|
|
3193
|
+
is_seller_buybox_enabled?: boolean;
|
|
3194
|
+
};
|
|
3195
|
+
/** @returns {DeliveryStrategy} */
|
|
3196
|
+
declare function DeliveryStrategy(): DeliveryStrategy;
|
|
3197
|
+
type DeliveryStrategy = {
|
|
3198
|
+
/**
|
|
3199
|
+
* - Indicates the delivery strategy value.
|
|
3200
|
+
*/
|
|
3201
|
+
value?: string;
|
|
3202
|
+
};
|
|
3152
3203
|
/** @returns {AppFeature} */
|
|
3153
3204
|
declare function AppFeature(): AppFeature;
|
|
3154
3205
|
type AppFeature = {
|
|
@@ -3161,6 +3212,8 @@ type AppFeature = {
|
|
|
3161
3212
|
qr?: QrFeature;
|
|
3162
3213
|
pcr?: PcrFeature;
|
|
3163
3214
|
order?: OrderFeature;
|
|
3215
|
+
buybox?: BuyboxFeature;
|
|
3216
|
+
delivery_strategy?: DeliveryStrategy;
|
|
3164
3217
|
/**
|
|
3165
3218
|
* - The unique identifier (24-digit Mongo Object ID)
|
|
3166
3219
|
* for the sales channel features
|
|
@@ -3712,6 +3765,10 @@ type Page = {
|
|
|
3712
3765
|
* - The number of items per page.
|
|
3713
3766
|
*/
|
|
3714
3767
|
size?: number;
|
|
3768
|
+
/**
|
|
3769
|
+
* - The number of items per page.
|
|
3770
|
+
*/
|
|
3771
|
+
page_size?: number;
|
|
3715
3772
|
};
|
|
3716
3773
|
/** @returns {ApplicationInformation} */
|
|
3717
3774
|
declare function ApplicationInformation(): ApplicationInformation;
|
|
@@ -4105,7 +4162,7 @@ type OptedStoreAddress = {
|
|
|
4105
4162
|
/**
|
|
4106
4163
|
* - 6-digit PIN code of the opted store location
|
|
4107
4164
|
*/
|
|
4108
|
-
pincode?:
|
|
4165
|
+
pincode?: string;
|
|
4109
4166
|
/**
|
|
4110
4167
|
* - Country of the opted store, e.g. India
|
|
4111
4168
|
*/
|
|
@@ -4160,7 +4217,7 @@ type OrderingStore = {
|
|
|
4160
4217
|
/**
|
|
4161
4218
|
* - 6-digit PIN Code of the ordering store, e.g. 400001
|
|
4162
4219
|
*/
|
|
4163
|
-
pincode?:
|
|
4220
|
+
pincode?: string;
|
|
4164
4221
|
/**
|
|
4165
4222
|
* - Code of the ordering store (usually same as Store Code)
|
|
4166
4223
|
*/
|
|
@@ -62,13 +62,15 @@ const Joi = require("joi");
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* @typedef FstIdentification
|
|
65
|
-
* @property {boolean} [enabled] - Indicates whether
|
|
66
|
-
* enabled for the application.
|
|
65
|
+
* @property {boolean} [enabled] - Indicates whether search query interpretation
|
|
66
|
+
* is enabled for the application.
|
|
67
67
|
*/
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* @typedef QuerySuggestions
|
|
71
|
-
* @property {boolean} [enabled] - Indicates whether
|
|
71
|
+
* @property {boolean} [enabled] - Indicates whether to enable or disable query
|
|
72
|
+
* suggestions powered by the GPT model using the current live catalog within
|
|
73
|
+
* the application.
|
|
72
74
|
* @property {number} [max_limit] - Specifies the maximum number of query
|
|
73
75
|
* suggestions that can be returned.
|
|
74
76
|
*/
|
|
@@ -81,6 +83,7 @@ const Joi = require("joi");
|
|
|
81
83
|
|
|
82
84
|
/**
|
|
83
85
|
* @typedef AppInventoryConfig
|
|
86
|
+
* @property {DeliveryStrategy} [delivery_strategy]
|
|
84
87
|
* @property {InventoryBrand} [brand]
|
|
85
88
|
* @property {InventoryStore} [store]
|
|
86
89
|
* @property {InventoryCategory} [category]
|
|
@@ -992,6 +995,22 @@ const Joi = require("joi");
|
|
|
992
995
|
* address of the store, should be displayed upon visiting the website
|
|
993
996
|
*/
|
|
994
997
|
|
|
998
|
+
/**
|
|
999
|
+
* @typedef BuyboxFeature
|
|
1000
|
+
* @property {boolean} [show_name] - Allow users to see seller/stores name on
|
|
1001
|
+
* PDP (product detail page).
|
|
1002
|
+
* @property {boolean} [enable_selection] - Allow selection of sellers/stores on
|
|
1003
|
+
* PDP (product detail page).
|
|
1004
|
+
* @property {boolean} [is_seller_buybox_enabled] - Toggle buybox listing
|
|
1005
|
+
* between sellers and stores. True indicates seller listing, while False
|
|
1006
|
+
* indicates store listing.
|
|
1007
|
+
*/
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* @typedef DeliveryStrategy
|
|
1011
|
+
* @property {string} [value] - Indicates the delivery strategy value.
|
|
1012
|
+
*/
|
|
1013
|
+
|
|
995
1014
|
/**
|
|
996
1015
|
* @typedef AppFeature
|
|
997
1016
|
* @property {ProductDetailFeature} [product_detail]
|
|
@@ -1003,6 +1022,8 @@ const Joi = require("joi");
|
|
|
1003
1022
|
* @property {QrFeature} [qr]
|
|
1004
1023
|
* @property {PcrFeature} [pcr]
|
|
1005
1024
|
* @property {OrderFeature} [order]
|
|
1025
|
+
* @property {BuyboxFeature} [buybox]
|
|
1026
|
+
* @property {DeliveryStrategy} [delivery_strategy]
|
|
1006
1027
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
1007
1028
|
* for the sales channel features
|
|
1008
1029
|
* @property {string} [app] - Application ID of the sales channel
|
|
@@ -1302,6 +1323,7 @@ const Joi = require("joi");
|
|
|
1302
1323
|
* @property {number} [current] - The current page number.
|
|
1303
1324
|
* @property {string} type - The type of the page, such as 'PageType'.
|
|
1304
1325
|
* @property {number} [size] - The number of items per page.
|
|
1326
|
+
* @property {number} [page_size] - The number of items per page.
|
|
1305
1327
|
*/
|
|
1306
1328
|
|
|
1307
1329
|
/**
|
|
@@ -1506,7 +1528,7 @@ const Joi = require("joi");
|
|
|
1506
1528
|
* @property {string} [address1] - Address of the opted store
|
|
1507
1529
|
* @property {StoreLatLong} [lat_long]
|
|
1508
1530
|
* @property {string} [address2] - Address of the opted store
|
|
1509
|
-
* @property {
|
|
1531
|
+
* @property {string} [pincode] - 6-digit PIN code of the opted store location
|
|
1510
1532
|
* @property {string} [country] - Country of the opted store, e.g. India
|
|
1511
1533
|
* @property {string} [city] - City of the opted store, e.g. Mumbai
|
|
1512
1534
|
* @property {string} [sector] - Sector for the opted store.
|
|
@@ -1525,7 +1547,7 @@ const Joi = require("joi");
|
|
|
1525
1547
|
* @property {string} [store_type] - Store type of the ordering store, e.g.
|
|
1526
1548
|
* high_street, mall, warehouse
|
|
1527
1549
|
* @property {string} [store_code] - Store code of the ordering store, e.g. MUM-102
|
|
1528
|
-
* @property {
|
|
1550
|
+
* @property {string} [pincode] - 6-digit PIN Code of the ordering store, e.g. 400001
|
|
1529
1551
|
* @property {string} [code] - Code of the ordering store (usually same as Store Code)
|
|
1530
1552
|
*/
|
|
1531
1553
|
|
|
@@ -1652,6 +1674,7 @@ class ConfigurationPlatformModel {
|
|
|
1652
1674
|
/** @returns {AppInventoryConfig} */
|
|
1653
1675
|
static AppInventoryConfig() {
|
|
1654
1676
|
return Joi.object({
|
|
1677
|
+
delivery_strategy: ConfigurationPlatformModel.DeliveryStrategy(),
|
|
1655
1678
|
brand: ConfigurationPlatformModel.InventoryBrand(),
|
|
1656
1679
|
store: ConfigurationPlatformModel.InventoryStore(),
|
|
1657
1680
|
category: ConfigurationPlatformModel.InventoryCategory(),
|
|
@@ -2662,6 +2685,22 @@ class ConfigurationPlatformModel {
|
|
|
2662
2685
|
});
|
|
2663
2686
|
}
|
|
2664
2687
|
|
|
2688
|
+
/** @returns {BuyboxFeature} */
|
|
2689
|
+
static BuyboxFeature() {
|
|
2690
|
+
return Joi.object({
|
|
2691
|
+
show_name: Joi.boolean(),
|
|
2692
|
+
enable_selection: Joi.boolean(),
|
|
2693
|
+
is_seller_buybox_enabled: Joi.boolean(),
|
|
2694
|
+
});
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
/** @returns {DeliveryStrategy} */
|
|
2698
|
+
static DeliveryStrategy() {
|
|
2699
|
+
return Joi.object({
|
|
2700
|
+
value: Joi.string().allow(""),
|
|
2701
|
+
});
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2665
2704
|
/** @returns {AppFeature} */
|
|
2666
2705
|
static AppFeature() {
|
|
2667
2706
|
return Joi.object({
|
|
@@ -2674,6 +2713,8 @@ class ConfigurationPlatformModel {
|
|
|
2674
2713
|
qr: ConfigurationPlatformModel.QrFeature(),
|
|
2675
2714
|
pcr: ConfigurationPlatformModel.PcrFeature(),
|
|
2676
2715
|
order: ConfigurationPlatformModel.OrderFeature(),
|
|
2716
|
+
buybox: ConfigurationPlatformModel.BuyboxFeature(),
|
|
2717
|
+
delivery_strategy: ConfigurationPlatformModel.DeliveryStrategy(),
|
|
2677
2718
|
_id: Joi.string().allow(""),
|
|
2678
2719
|
app: Joi.string().allow(""),
|
|
2679
2720
|
created_at: Joi.string().allow(""),
|
|
@@ -2987,6 +3028,7 @@ class ConfigurationPlatformModel {
|
|
|
2987
3028
|
current: Joi.number(),
|
|
2988
3029
|
type: Joi.string().allow("").required(),
|
|
2989
3030
|
size: Joi.number(),
|
|
3031
|
+
page_size: Joi.number(),
|
|
2990
3032
|
});
|
|
2991
3033
|
}
|
|
2992
3034
|
|
|
@@ -3234,7 +3276,7 @@ class ConfigurationPlatformModel {
|
|
|
3234
3276
|
address1: Joi.string().allow(""),
|
|
3235
3277
|
lat_long: ConfigurationPlatformModel.StoreLatLong(),
|
|
3236
3278
|
address2: Joi.string().allow(""),
|
|
3237
|
-
pincode: Joi.
|
|
3279
|
+
pincode: Joi.string().allow(""),
|
|
3238
3280
|
country: Joi.string().allow(""),
|
|
3239
3281
|
city: Joi.string().allow(""),
|
|
3240
3282
|
sector: Joi.string().allow(""),
|
|
@@ -3253,7 +3295,7 @@ class ConfigurationPlatformModel {
|
|
|
3253
3295
|
display_name: Joi.string().allow(""),
|
|
3254
3296
|
store_type: Joi.string().allow(""),
|
|
3255
3297
|
store_code: Joi.string().allow(""),
|
|
3256
|
-
pincode: Joi.
|
|
3298
|
+
pincode: Joi.string().allow(""),
|
|
3257
3299
|
code: Joi.string().allow(""),
|
|
3258
3300
|
});
|
|
3259
3301
|
}
|
|
@@ -3,6 +3,18 @@ declare class Content {
|
|
|
3
3
|
constructor(config: any, applicationId: any);
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
|
+
/**
|
|
7
|
+
* @param {ContentPlatformApplicationValidator.AddApplicationLanguageParam} arg
|
|
8
|
+
* - Arg object
|
|
9
|
+
*
|
|
10
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
11
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
12
|
+
* @returns {Promise<Object>} - Success response
|
|
13
|
+
* @name addApplicationLanguage
|
|
14
|
+
* @summary: Add app language
|
|
15
|
+
* @description: Add new languages to application's supported language list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addApplicationLanguage/).
|
|
16
|
+
*/
|
|
17
|
+
addApplicationLanguage({ body, requestHeaders }?: ContentPlatformApplicationValidator.AddApplicationLanguageParam, { responseHeaders }?: object): Promise<any>;
|
|
6
18
|
/**
|
|
7
19
|
* @param {ContentPlatformApplicationValidator.AddDataLoaderParam} arg - Arg object
|
|
8
20
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -46,6 +58,18 @@ declare class Content {
|
|
|
46
58
|
* @description: Create and add rules for path redirection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addPathRedirectionRules/).
|
|
47
59
|
*/
|
|
48
60
|
addPathRedirectionRules({ body, requestHeaders }?: ContentPlatformApplicationValidator.AddPathRedirectionRulesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.PathMappingSchema>;
|
|
61
|
+
/**
|
|
62
|
+
* @param {ContentPlatformApplicationValidator.BulkUnPublishApplicationLanguageParam} arg
|
|
63
|
+
* - Arg object
|
|
64
|
+
*
|
|
65
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
66
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
67
|
+
* @returns {Promise<Object>} - Success response
|
|
68
|
+
* @name bulkUnPublishApplicationLanguage
|
|
69
|
+
* @summary: Unpublish all languages of sales channel.
|
|
70
|
+
* @description: Unpublish all application's published languages of specific sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/bulkUnPublishApplicationLanguage/).
|
|
71
|
+
*/
|
|
72
|
+
bulkUnPublishApplicationLanguage({ body, requestHeaders }?: ContentPlatformApplicationValidator.BulkUnPublishApplicationLanguageParam, { responseHeaders }?: object): Promise<any>;
|
|
49
73
|
/**
|
|
50
74
|
* @param {ContentPlatformApplicationValidator.CreateAnnouncementParam} arg
|
|
51
75
|
* - Arg object
|
|
@@ -99,6 +123,18 @@ declare class Content {
|
|
|
99
123
|
* @description: Create a custom object that will have a collection of custom fields and can be used anywhere in the custom field for any resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createAppCustomObjectDefinition/).
|
|
100
124
|
*/
|
|
101
125
|
createAppCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateAppCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
|
|
126
|
+
/**
|
|
127
|
+
* @param {ContentPlatformApplicationValidator.CreateApplicationResourceTranslationParam} arg
|
|
128
|
+
* - Arg object
|
|
129
|
+
*
|
|
130
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
132
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslation>} - Success response
|
|
133
|
+
* @name createApplicationResourceTranslation
|
|
134
|
+
* @summary: Add app translation
|
|
135
|
+
* @description: Create new translations for application resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createApplicationResourceTranslation/).
|
|
136
|
+
*/
|
|
137
|
+
createApplicationResourceTranslation({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateApplicationResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslation>;
|
|
102
138
|
/**
|
|
103
139
|
* @param {ContentPlatformApplicationValidator.CreateBlogParam} arg - Arg object
|
|
104
140
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -165,6 +201,18 @@ declare class Content {
|
|
|
165
201
|
* @description: Use this API to Create SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSEOMarkupSchema/).
|
|
166
202
|
*/
|
|
167
203
|
createSEOMarkupSchema({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SEOSchemaMarkupTemplate>;
|
|
204
|
+
/**
|
|
205
|
+
* @param {ContentPlatformApplicationValidator.CreateTranslateUILabelsParam} arg
|
|
206
|
+
* - Arg object
|
|
207
|
+
*
|
|
208
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
209
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
210
|
+
* @returns {Promise<ContentPlatformModel.TranslateUiLabels>} - Success response
|
|
211
|
+
* @name createTranslateUILabels
|
|
212
|
+
* @summary: Add Translate Ui Labels
|
|
213
|
+
* @description: Creates a new Translate Ui Labels entry with specified configuration and locale settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createTranslateUILabels/).
|
|
214
|
+
*/
|
|
215
|
+
createTranslateUILabels({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateTranslateUILabelsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslateUiLabels>;
|
|
168
216
|
/**
|
|
169
217
|
* @param {ContentPlatformApplicationValidator.DeleteAnnouncementParam} arg
|
|
170
218
|
* - Arg object
|
|
@@ -216,6 +264,30 @@ declare class Content {
|
|
|
216
264
|
* @description: Custom object definitions can be deleted using this endpoint by providing the definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteAppCustomObjectDefinitionBySlug/).
|
|
217
265
|
*/
|
|
218
266
|
deleteAppCustomObjectDefinitionBySlug({ slug, requestHeaders }?: ContentPlatformApplicationValidator.DeleteAppCustomObjectDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>;
|
|
267
|
+
/**
|
|
268
|
+
* @param {ContentPlatformApplicationValidator.DeleteApplicationLanguageParam} arg
|
|
269
|
+
* - Arg object
|
|
270
|
+
*
|
|
271
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
272
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
273
|
+
* @returns {Promise<any>} - Success response
|
|
274
|
+
* @name deleteApplicationLanguage
|
|
275
|
+
* @summary: Remove app language
|
|
276
|
+
* @description: Remove a language from application's supported languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteApplicationLanguage/).
|
|
277
|
+
*/
|
|
278
|
+
deleteApplicationLanguage({ locale, requestHeaders }?: ContentPlatformApplicationValidator.DeleteApplicationLanguageParam, { responseHeaders }?: object): Promise<any>;
|
|
279
|
+
/**
|
|
280
|
+
* @param {ContentPlatformApplicationValidator.DeleteApplicationResourceTranslationParam} arg
|
|
281
|
+
* - Arg object
|
|
282
|
+
*
|
|
283
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
284
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
285
|
+
* @returns {Promise<ContentPlatformModel.DeletedResource>} - Success response
|
|
286
|
+
* @name deleteApplicationResourceTranslation
|
|
287
|
+
* @summary: Remove app translation
|
|
288
|
+
* @description: Remove translations for application resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteApplicationResourceTranslation/).
|
|
289
|
+
*/
|
|
290
|
+
deleteApplicationResourceTranslation({ id, requestHeaders }?: ContentPlatformApplicationValidator.DeleteApplicationResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.DeletedResource>;
|
|
219
291
|
/**
|
|
220
292
|
* @param {ContentPlatformApplicationValidator.DeleteBlogParam} arg - Arg object
|
|
221
293
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -537,6 +609,30 @@ declare class Content {
|
|
|
537
609
|
* @description: Each custom fields is assosiated with a resource such as product, promotion, coupon, selling location etc, This will gives list of supported resource list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAppResources/).
|
|
538
610
|
*/
|
|
539
611
|
getAppResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourcesSchema>;
|
|
612
|
+
/**
|
|
613
|
+
* @param {ContentPlatformApplicationValidator.GetApplicationLanguagesParam} arg
|
|
614
|
+
* - Arg object
|
|
615
|
+
*
|
|
616
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
617
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
618
|
+
* @returns {Promise<Object>} - Success response
|
|
619
|
+
* @name getApplicationLanguages
|
|
620
|
+
* @summary: Get app languages
|
|
621
|
+
* @description: Fetch all languages configured for the specified application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getApplicationLanguages/).
|
|
622
|
+
*/
|
|
623
|
+
getApplicationLanguages({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
624
|
+
/**
|
|
625
|
+
* @param {ContentPlatformApplicationValidator.GetApplicationResourceTranslationsParam} arg
|
|
626
|
+
* - Arg object
|
|
627
|
+
*
|
|
628
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
629
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
630
|
+
* @returns {Promise<Object>} - Success response
|
|
631
|
+
* @name getApplicationResourceTranslations
|
|
632
|
+
* @summary: Get app translations
|
|
633
|
+
* @description: Fetch translations for application-level resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getApplicationResourceTranslations/).
|
|
634
|
+
*/
|
|
635
|
+
getApplicationResourceTranslations({ locale, type, resourceId, requestHeaders }?: ContentPlatformApplicationValidator.GetApplicationResourceTranslationsParam, { responseHeaders }?: object): Promise<any>;
|
|
540
636
|
/**
|
|
541
637
|
* @param {ContentPlatformApplicationValidator.GetBlogBySlugParam} arg - Arg object
|
|
542
638
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -818,6 +914,30 @@ declare class Content {
|
|
|
818
914
|
* @description: Retrieve information related to customer support. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSupportInformation/).
|
|
819
915
|
*/
|
|
820
916
|
getSupportInformation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.Support>;
|
|
917
|
+
/**
|
|
918
|
+
* @param {ContentPlatformApplicationValidator.GetTranslateUILabelsParam} arg
|
|
919
|
+
* - Arg object
|
|
920
|
+
*
|
|
921
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
922
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
923
|
+
* @returns {Promise<ContentPlatformModel.TranslateUiLabelsPage>} - Success response
|
|
924
|
+
* @name getTranslateUILabels
|
|
925
|
+
* @summary: Get Translate Ui Labels
|
|
926
|
+
* @description: Retrieves Translate Ui Labels with optional filtering by type, application, and company identifiers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getTranslateUILabels/).
|
|
927
|
+
*/
|
|
928
|
+
getTranslateUILabels({ templateThemeId, themeId, locale, type, requestHeaders }?: ContentPlatformApplicationValidator.GetTranslateUILabelsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslateUiLabelsPage>;
|
|
929
|
+
/**
|
|
930
|
+
* @param {ContentPlatformApplicationValidator.GetTranslateUILabelsByIdParam} arg
|
|
931
|
+
* - Arg object
|
|
932
|
+
*
|
|
933
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
934
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
935
|
+
* @returns {Promise<ContentPlatformModel.TranslateUiLabels>} - Success response
|
|
936
|
+
* @name getTranslateUILabelsById
|
|
937
|
+
* @summary: Get Resource Detail
|
|
938
|
+
* @description: Fetches detailed information for a specific Translate Ui Labels using its unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getTranslateUILabelsById/).
|
|
939
|
+
*/
|
|
940
|
+
getTranslateUILabelsById({ id, requestHeaders }?: ContentPlatformApplicationValidator.GetTranslateUILabelsByIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslateUiLabels>;
|
|
821
941
|
/**
|
|
822
942
|
* @param {ContentPlatformApplicationValidator.ImportAppCustomObjectEntriesBySlugParam} arg
|
|
823
943
|
* - Arg object
|
|
@@ -959,6 +1079,30 @@ declare class Content {
|
|
|
959
1079
|
* @description: Custom object definitions can be updated using this endpoint. You can update the name and description of the custom object and add more custom field definitions to the existing custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateAppCustomObjectDefinitionBySlug/).
|
|
960
1080
|
*/
|
|
961
1081
|
updateAppCustomObjectDefinitionBySlug({ slug, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateAppCustomObjectDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
|
|
1082
|
+
/**
|
|
1083
|
+
* @param {ContentPlatformApplicationValidator.UpdateApplicationLanguageStatusParam} arg
|
|
1084
|
+
* - Arg object
|
|
1085
|
+
*
|
|
1086
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1087
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1088
|
+
* @returns {Promise<ContentPlatformModel.ApplicationLanguage>} - Success response
|
|
1089
|
+
* @name updateApplicationLanguageStatus
|
|
1090
|
+
* @summary: Set app language
|
|
1091
|
+
* @description: Update language status and settings for the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateApplicationLanguageStatus/).
|
|
1092
|
+
*/
|
|
1093
|
+
updateApplicationLanguageStatus({ locale, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateApplicationLanguageStatusParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ApplicationLanguage>;
|
|
1094
|
+
/**
|
|
1095
|
+
* @param {ContentPlatformApplicationValidator.UpdateApplicationResourceTranslationParam} arg
|
|
1096
|
+
* - Arg object
|
|
1097
|
+
*
|
|
1098
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1099
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1100
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslation>} - Success response
|
|
1101
|
+
* @name updateApplicationResourceTranslation
|
|
1102
|
+
* @summary: Update app translation
|
|
1103
|
+
* @description: Update existing translations for application resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateApplicationResourceTranslation/).
|
|
1104
|
+
*/
|
|
1105
|
+
updateApplicationResourceTranslation({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateApplicationResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslation>;
|
|
962
1106
|
/**
|
|
963
1107
|
* @param {ContentPlatformApplicationValidator.UpdateBlogParam} arg - Arg object
|
|
964
1108
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -1095,6 +1239,31 @@ declare class Content {
|
|
|
1095
1239
|
* @description: Modify information related to customer support. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSupportInformation/).
|
|
1096
1240
|
*/
|
|
1097
1241
|
updateSupportInformation({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSupportInformationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.Support>;
|
|
1242
|
+
/**
|
|
1243
|
+
* @param {ContentPlatformApplicationValidator.UpdateTranslateUILabelsParam} arg
|
|
1244
|
+
* - Arg object
|
|
1245
|
+
*
|
|
1246
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1247
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1248
|
+
* @returns {Promise<ContentPlatformModel.TranslateUiLabels>} - Success response
|
|
1249
|
+
* @name updateTranslateUILabels
|
|
1250
|
+
* @summary: Update Resource Detail
|
|
1251
|
+
* @description: Modifies existing Translate Ui Labels properties including locale, type, and associated configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateTranslateUILabels/).
|
|
1252
|
+
*/
|
|
1253
|
+
updateTranslateUILabels({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateTranslateUILabelsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslateUiLabels>;
|
|
1254
|
+
/**
|
|
1255
|
+
* @param {ContentPlatformApplicationValidator.UpsertApplicationResourceTranslationInBulkParam} arg
|
|
1256
|
+
* - Arg object
|
|
1257
|
+
*
|
|
1258
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1259
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1260
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslationBulkUpsert>} -
|
|
1261
|
+
* Success response
|
|
1262
|
+
* @name upsertApplicationResourceTranslationInBulk
|
|
1263
|
+
* @summary: Bulk update translations
|
|
1264
|
+
* @description: Create or update multiple translations in a single request. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/upsertApplicationResourceTranslationInBulk/).
|
|
1265
|
+
*/
|
|
1266
|
+
upsertApplicationResourceTranslationInBulk({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpsertApplicationResourceTranslationInBulkParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslationBulkUpsert>;
|
|
1098
1267
|
}
|
|
1099
1268
|
import ContentPlatformApplicationValidator = require("./ContentPlatformApplicationValidator");
|
|
1100
1269
|
import ContentPlatformModel = require("./ContentPlatformModel");
|