@gofynd/fdk-client-javascript 3.23.0 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +12 -12
  4. package/sdk/application/Cart/CartApplicationClient.js +119 -33
  5. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  6. package/sdk/application/Logistic/LogisticApplicationClient.js +4 -2
  7. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +17 -17
  8. package/sdk/platform/Cart/CartPlatformApplicationClient.js +84 -13
  9. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -0
  10. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +52 -0
  11. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +7 -2
  12. package/sdk/platform/Catalog/CatalogPlatformModel.js +5 -2
  13. package/sdk/platform/Common/CommonPlatformClient.js +1 -1
  14. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +96 -1
  15. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +61 -0
  16. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -12
  17. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -81
  18. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -10
  19. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -12
  20. package/sdk/platform/Order/OrderPlatformClient.d.ts +28 -0
  21. package/sdk/platform/Order/OrderPlatformClient.js +179 -3
  22. package/sdk/platform/Order/OrderPlatformModel.d.ts +155 -6
  23. package/sdk/platform/Order/OrderPlatformModel.js +105 -3
  24. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  25. package/sdk/platform/Order/OrderPlatformValidator.js +30 -0
  26. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +24 -1
  27. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +18 -0
  28. package/sdk/platform/User/UserPlatformModel.d.ts +14 -1
  29. package/sdk/platform/User/UserPlatformModel.js +16 -0
  30. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
@@ -32,6 +32,7 @@ export = ConfigurationPlatformModel;
32
32
  * @property {AppOrderConfig} [order]
33
33
  * @property {AppLogisticsConfig} [logistics]
34
34
  * @property {PiiMasking} [pii_masking]
35
+ * @property {ChannelCapabilities} [channel_capabilities]
35
36
  * @property {string[]} [tags]
36
37
  * @property {number} [__v]
37
38
  * @property {string} [business] - Indicates the business type for sales channel
@@ -54,6 +55,30 @@ export = ConfigurationPlatformModel;
54
55
  * @typedef PiiMasking
55
56
  * @property {boolean} [enabled]
56
57
  */
58
+ /**
59
+ * @typedef ChannelCapabilities
60
+ * @property {string[]} commerce_model - Commerce model types supported by the
61
+ * sales channel. Defines whether the channel operates as B2C/D2C
62
+ * (business-to-consumer/direct-to-consumer) or B2B (business-to-business).
63
+ * @property {string[]} business_format - Business format types for the sales
64
+ * channel. Options include standard_commerce for traditional e-commerce,
65
+ * quick_commerce for rapid delivery models, and qsr for quick service
66
+ * restaurant operations.
67
+ * @property {OrderingSources[]} ordering_sources - Represents an ordering
68
+ * source that can be associated with a sales channel. Ordering sources define
69
+ * the origin or platform from which orders are placed, enabling tracking and
70
+ * differentiation of orders based on their source.
71
+ * @property {string} [seller_model] - Seller model for the sales channel.
72
+ * single_seller for single seller, marketplace for multiple platforms,
73
+ * cross_selling for franchise-enabled.
74
+ */
75
+ /**
76
+ * @typedef OrderingSources
77
+ * @property {string} key - Unique identifier slug for the ordering source. Used
78
+ * to reference and identify the source programmatically.
79
+ * @property {string} name - Human-readable display name of the ordering source.
80
+ * Shown in UI for easy identification by users.
81
+ */
57
82
  /**
58
83
  * @typedef FstIdentification
59
84
  * @property {boolean} [enabled] - Indicates whether search query interpretation
@@ -179,6 +204,10 @@ export = ConfigurationPlatformModel;
179
204
  * @property {boolean} [revenue_engine_coupon] - Allow coupon apply and credits
180
205
  * together. Default value is false.
181
206
  * @property {PanCardConfig} [pan_card]
207
+ * @property {boolean} [engage_enabled] - If this is enabled, user can earn and
208
+ * redeem loyalty points for the sales channel.
209
+ * @property {boolean} [offer_enabled] - If this is enabled, user can apply
210
+ * coupons and promotions for the sales channel.
182
211
  */
183
212
  /**
184
213
  * @typedef InternationalDeliveryCharges
@@ -928,6 +957,10 @@ export = ConfigurationPlatformModel;
928
957
  * @property {SecurityFeature} [security]
929
958
  * @property {BuyboxFeature} [buybox]
930
959
  * @property {DeliveryStrategy} [delivery_strategy]
960
+ * @property {OrderingSources[]} [ordering_sources] - Represents an ordering
961
+ * source that can be associated with a sales channel. Ordering sources define
962
+ * the origin or platform from which orders are placed, enabling tracking and
963
+ * differentiation of orders based on their source.
931
964
  * @property {string} [price_strategy] - Indicates whether price strategy
932
965
  * enabled or not in an application.
933
966
  * @property {boolean} [international] - Indicates whether internation price
@@ -1443,7 +1476,7 @@ export = ConfigurationPlatformModel;
1443
1476
  declare class ConfigurationPlatformModel {
1444
1477
  }
1445
1478
  declare namespace ConfigurationPlatformModel {
1446
- export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, SkgIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, 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, FulfillmentOption, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, SecurityFeature, AllowedDomain, 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 };
1479
+ export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, ChannelCapabilities, OrderingSources, FstIdentification, SkgIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, 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, FulfillmentOption, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, SecurityFeature, AllowedDomain, 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 };
1447
1480
  }
1448
1481
  /** @returns {CurrencyExchangeResponseV2} */
1449
1482
  declare function CurrencyExchangeResponseV2(): CurrencyExchangeResponseV2;
@@ -1520,6 +1553,7 @@ type ApplicationInventory = {
1520
1553
  order?: AppOrderConfig;
1521
1554
  logistics?: AppLogisticsConfig;
1522
1555
  pii_masking?: PiiMasking;
1556
+ channel_capabilities?: ChannelCapabilities;
1523
1557
  tags?: string[];
1524
1558
  __v?: number;
1525
1559
  /**
@@ -1564,6 +1598,50 @@ declare function PiiMasking(): PiiMasking;
1564
1598
  type PiiMasking = {
1565
1599
  enabled?: boolean;
1566
1600
  };
1601
+ /** @returns {ChannelCapabilities} */
1602
+ declare function ChannelCapabilities(): ChannelCapabilities;
1603
+ type ChannelCapabilities = {
1604
+ /**
1605
+ * - Commerce model types supported by the
1606
+ * sales channel. Defines whether the channel operates as B2C/D2C
1607
+ * (business-to-consumer/direct-to-consumer) or B2B (business-to-business).
1608
+ */
1609
+ commerce_model: string[];
1610
+ /**
1611
+ * - Business format types for the sales
1612
+ * channel. Options include standard_commerce for traditional e-commerce,
1613
+ * quick_commerce for rapid delivery models, and qsr for quick service
1614
+ * restaurant operations.
1615
+ */
1616
+ business_format: string[];
1617
+ /**
1618
+ * - Represents an ordering
1619
+ * source that can be associated with a sales channel. Ordering sources define
1620
+ * the origin or platform from which orders are placed, enabling tracking and
1621
+ * differentiation of orders based on their source.
1622
+ */
1623
+ ordering_sources: OrderingSources[];
1624
+ /**
1625
+ * - Seller model for the sales channel.
1626
+ * single_seller for single seller, marketplace for multiple platforms,
1627
+ * cross_selling for franchise-enabled.
1628
+ */
1629
+ seller_model?: string;
1630
+ };
1631
+ /** @returns {OrderingSources} */
1632
+ declare function OrderingSources(): OrderingSources;
1633
+ type OrderingSources = {
1634
+ /**
1635
+ * - Unique identifier slug for the ordering source. Used
1636
+ * to reference and identify the source programmatically.
1637
+ */
1638
+ key: string;
1639
+ /**
1640
+ * - Human-readable display name of the ordering source.
1641
+ * Shown in UI for easy identification by users.
1642
+ */
1643
+ name: string;
1644
+ };
1567
1645
  /** @returns {FstIdentification} */
1568
1646
  declare function FstIdentification(): FstIdentification;
1569
1647
  type FstIdentification = {
@@ -1810,6 +1888,16 @@ type AppCartConfig = {
1810
1888
  */
1811
1889
  revenue_engine_coupon?: boolean;
1812
1890
  pan_card?: PanCardConfig;
1891
+ /**
1892
+ * - If this is enabled, user can earn and
1893
+ * redeem loyalty points for the sales channel.
1894
+ */
1895
+ engage_enabled?: boolean;
1896
+ /**
1897
+ * - If this is enabled, user can apply
1898
+ * coupons and promotions for the sales channel.
1899
+ */
1900
+ offer_enabled?: boolean;
1813
1901
  };
1814
1902
  /** @returns {InternationalDeliveryCharges} */
1815
1903
  declare function InternationalDeliveryCharges(): InternationalDeliveryCharges;
@@ -3304,6 +3392,13 @@ type AppFeature = {
3304
3392
  security?: SecurityFeature;
3305
3393
  buybox?: BuyboxFeature;
3306
3394
  delivery_strategy?: DeliveryStrategy;
3395
+ /**
3396
+ * - Represents an ordering
3397
+ * source that can be associated with a sales channel. Ordering sources define
3398
+ * the origin or platform from which orders are placed, enabling tracking and
3399
+ * differentiation of orders based on their source.
3400
+ */
3401
+ ordering_sources?: OrderingSources[];
3307
3402
  /**
3308
3403
  * - Indicates whether price strategy
3309
3404
  * enabled or not in an application.
@@ -35,6 +35,7 @@ const Joi = require("joi");
35
35
  * @property {AppOrderConfig} [order]
36
36
  * @property {AppLogisticsConfig} [logistics]
37
37
  * @property {PiiMasking} [pii_masking]
38
+ * @property {ChannelCapabilities} [channel_capabilities]
38
39
  * @property {string[]} [tags]
39
40
  * @property {number} [__v]
40
41
  * @property {string} [business] - Indicates the business type for sales channel
@@ -59,6 +60,32 @@ const Joi = require("joi");
59
60
  * @property {boolean} [enabled]
60
61
  */
61
62
 
63
+ /**
64
+ * @typedef ChannelCapabilities
65
+ * @property {string[]} commerce_model - Commerce model types supported by the
66
+ * sales channel. Defines whether the channel operates as B2C/D2C
67
+ * (business-to-consumer/direct-to-consumer) or B2B (business-to-business).
68
+ * @property {string[]} business_format - Business format types for the sales
69
+ * channel. Options include standard_commerce for traditional e-commerce,
70
+ * quick_commerce for rapid delivery models, and qsr for quick service
71
+ * restaurant operations.
72
+ * @property {OrderingSources[]} ordering_sources - Represents an ordering
73
+ * source that can be associated with a sales channel. Ordering sources define
74
+ * the origin or platform from which orders are placed, enabling tracking and
75
+ * differentiation of orders based on their source.
76
+ * @property {string} [seller_model] - Seller model for the sales channel.
77
+ * single_seller for single seller, marketplace for multiple platforms,
78
+ * cross_selling for franchise-enabled.
79
+ */
80
+
81
+ /**
82
+ * @typedef OrderingSources
83
+ * @property {string} key - Unique identifier slug for the ordering source. Used
84
+ * to reference and identify the source programmatically.
85
+ * @property {string} name - Human-readable display name of the ordering source.
86
+ * Shown in UI for easy identification by users.
87
+ */
88
+
62
89
  /**
63
90
  * @typedef FstIdentification
64
91
  * @property {boolean} [enabled] - Indicates whether search query interpretation
@@ -199,6 +226,10 @@ const Joi = require("joi");
199
226
  * @property {boolean} [revenue_engine_coupon] - Allow coupon apply and credits
200
227
  * together. Default value is false.
201
228
  * @property {PanCardConfig} [pan_card]
229
+ * @property {boolean} [engage_enabled] - If this is enabled, user can earn and
230
+ * redeem loyalty points for the sales channel.
231
+ * @property {boolean} [offer_enabled] - If this is enabled, user can apply
232
+ * coupons and promotions for the sales channel.
202
233
  */
203
234
 
204
235
  /**
@@ -1051,6 +1082,10 @@ const Joi = require("joi");
1051
1082
  * @property {SecurityFeature} [security]
1052
1083
  * @property {BuyboxFeature} [buybox]
1053
1084
  * @property {DeliveryStrategy} [delivery_strategy]
1085
+ * @property {OrderingSources[]} [ordering_sources] - Represents an ordering
1086
+ * source that can be associated with a sales channel. Ordering sources define
1087
+ * the origin or platform from which orders are placed, enabling tracking and
1088
+ * differentiation of orders based on their source.
1054
1089
  * @property {string} [price_strategy] - Indicates whether price strategy
1055
1090
  * enabled or not in an application.
1056
1091
  * @property {boolean} [international] - Indicates whether internation price
@@ -1665,6 +1700,7 @@ class ConfigurationPlatformModel {
1665
1700
  order: ConfigurationPlatformModel.AppOrderConfig(),
1666
1701
  logistics: ConfigurationPlatformModel.AppLogisticsConfig(),
1667
1702
  pii_masking: ConfigurationPlatformModel.PiiMasking(),
1703
+ channel_capabilities: ConfigurationPlatformModel.ChannelCapabilities(),
1668
1704
  tags: Joi.array().items(Joi.string().allow("")),
1669
1705
  __v: Joi.number(),
1670
1706
  business: Joi.string().allow(""),
@@ -1687,6 +1723,26 @@ class ConfigurationPlatformModel {
1687
1723
  });
1688
1724
  }
1689
1725
 
1726
+ /** @returns {ChannelCapabilities} */
1727
+ static ChannelCapabilities() {
1728
+ return Joi.object({
1729
+ commerce_model: Joi.array().items(Joi.string().allow("")).required(),
1730
+ business_format: Joi.array().items(Joi.string().allow("")).required(),
1731
+ ordering_sources: Joi.array()
1732
+ .items(ConfigurationPlatformModel.OrderingSources())
1733
+ .required(),
1734
+ seller_model: Joi.string().allow(""),
1735
+ });
1736
+ }
1737
+
1738
+ /** @returns {OrderingSources} */
1739
+ static OrderingSources() {
1740
+ return Joi.object({
1741
+ key: Joi.string().allow("").required(),
1742
+ name: Joi.string().allow("").required(),
1743
+ });
1744
+ }
1745
+
1690
1746
  /** @returns {FstIdentification} */
1691
1747
  static FstIdentification() {
1692
1748
  return Joi.object({
@@ -1833,6 +1889,8 @@ class ConfigurationPlatformModel {
1833
1889
  bulk_coupons: Joi.boolean(),
1834
1890
  revenue_engine_coupon: Joi.boolean(),
1835
1891
  pan_card: ConfigurationPlatformModel.PanCardConfig(),
1892
+ engage_enabled: Joi.boolean(),
1893
+ offer_enabled: Joi.boolean(),
1836
1894
  });
1837
1895
  }
1838
1896
 
@@ -2792,6 +2850,9 @@ class ConfigurationPlatformModel {
2792
2850
  security: ConfigurationPlatformModel.SecurityFeature(),
2793
2851
  buybox: ConfigurationPlatformModel.BuyboxFeature(),
2794
2852
  delivery_strategy: ConfigurationPlatformModel.DeliveryStrategy(),
2853
+ ordering_sources: Joi.array().items(
2854
+ ConfigurationPlatformModel.OrderingSources()
2855
+ ),
2795
2856
  price_strategy: Joi.string().allow(""),
2796
2857
  international: Joi.boolean(),
2797
2858
  strategy_change_pending: Joi.boolean(),
@@ -1145,18 +1145,6 @@ declare class Content {
1145
1145
  * @description: Modify the content and settings of a specific FAQ category. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateFaqCategory/).
1146
1146
  */
1147
1147
  updateFaqCategory({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateFaqCategoryParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CreateFaqCategorySchema>;
1148
- /**
1149
- * @param {ContentPlatformApplicationValidator.UpdateInjectableTagParam} arg
1150
- * - Arg object
1151
- *
1152
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1153
- * @param {import("../PlatformAPIClient").Options} - Options
1154
- * @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
1155
- * @name updateInjectableTag
1156
- * @summary: Update HTML tag
1157
- * @description: Modify settings for an injectable tag. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateInjectableTag/).
1158
- */
1159
- updateInjectableTag({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateInjectableTagParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TagsSchema>;
1160
1148
  /**
1161
1149
  * @param {ContentPlatformApplicationValidator.UpdateLandingPageParam} arg
1162
1150
  * - Arg object
@@ -7997,87 +7997,6 @@ class Content {
7997
7997
  return response;
7998
7998
  }
7999
7999
 
8000
- /**
8001
- * @param {ContentPlatformApplicationValidator.UpdateInjectableTagParam} arg
8002
- * - Arg object
8003
- *
8004
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
8005
- * @param {import("../PlatformAPIClient").Options} - Options
8006
- * @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
8007
- * @name updateInjectableTag
8008
- * @summary: Update HTML tag
8009
- * @description: Modify settings for an injectable tag. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateInjectableTag/).
8010
- */
8011
- async updateInjectableTag(
8012
- { body, requestHeaders } = { requestHeaders: {} },
8013
- { responseHeaders } = { responseHeaders: false }
8014
- ) {
8015
- const {
8016
- error,
8017
- } = ContentPlatformApplicationValidator.updateInjectableTag().validate(
8018
- {
8019
- body,
8020
- },
8021
- { abortEarly: false, allowUnknown: true }
8022
- );
8023
- if (error) {
8024
- return Promise.reject(new FDKClientValidationError(error));
8025
- }
8026
-
8027
- // Showing warrnings if extra unknown parameters are found
8028
- const {
8029
- error: warrning,
8030
- } = ContentPlatformApplicationValidator.updateInjectableTag().validate(
8031
- {
8032
- body,
8033
- },
8034
- { abortEarly: false, allowUnknown: false }
8035
- );
8036
- if (warrning) {
8037
- Logger({
8038
- level: "WARN",
8039
- message: `Parameter Validation warrnings for platform > Content > updateInjectableTag \n ${warrning}`,
8040
- });
8041
- }
8042
-
8043
- const query_params = {};
8044
-
8045
- const response = await PlatformAPIClient.execute(
8046
- this.config,
8047
- "put",
8048
- `/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/tags`,
8049
- query_params,
8050
- body,
8051
- requestHeaders,
8052
- { responseHeaders }
8053
- );
8054
-
8055
- let responseData = response;
8056
- if (responseHeaders) {
8057
- responseData = response[0];
8058
- }
8059
-
8060
- const {
8061
- error: res_error,
8062
- } = ContentPlatformModel.TagsSchema().validate(responseData, {
8063
- abortEarly: false,
8064
- allowUnknown: true,
8065
- });
8066
-
8067
- if (res_error) {
8068
- if (this.config.options.strictResponseCheck === true) {
8069
- return Promise.reject(new FDKResponseValidationError(res_error));
8070
- } else {
8071
- Logger({
8072
- level: "WARN",
8073
- message: `Response Validation Warnings for platform > Content > updateInjectableTag \n ${res_error}`,
8074
- });
8075
- }
8076
- }
8077
-
8078
- return response;
8079
- }
8080
-
8081
8000
  /**
8082
8001
  * @param {ContentPlatformApplicationValidator.UpdateLandingPageParam} arg
8083
8002
  * - Arg object
@@ -455,10 +455,6 @@ export = ContentPlatformApplicationValidator;
455
455
  * @property {string} id - ID allotted to an FAQ category.
456
456
  * @property {ContentPlatformModel.UpdateFaqCategoryRequestSchema} body
457
457
  */
458
- /**
459
- * @typedef UpdateInjectableTagParam
460
- * @property {ContentPlatformModel.CreateTagRequestSchema} body
461
- */
462
458
  /**
463
459
  * @typedef UpdateLandingPageParam
464
460
  * @property {string} id - ID allotted to a landing page.
@@ -701,8 +697,6 @@ declare class ContentPlatformApplicationValidator {
701
697
  static updateFaq(): UpdateFaqParam;
702
698
  /** @returns {UpdateFaqCategoryParam} */
703
699
  static updateFaqCategory(): UpdateFaqCategoryParam;
704
- /** @returns {UpdateInjectableTagParam} */
705
- static updateInjectableTag(): UpdateInjectableTagParam;
706
700
  /** @returns {UpdateLandingPageParam} */
707
701
  static updateLandingPage(): UpdateLandingPageParam;
708
702
  /** @returns {UpdateLegalInformationParam} */
@@ -725,7 +719,7 @@ declare class ContentPlatformApplicationValidator {
725
719
  static upsertApplicationResourceTranslationInBulk(): UpsertApplicationResourceTranslationInBulkParam;
726
720
  }
727
721
  declare namespace ContentPlatformApplicationValidator {
728
- export { AddApplicationLanguageParam, AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, BulkUnPublishApplicationLanguageParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateApplicationResourceTranslationParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, CreateTranslateUILabelsParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteApplicationLanguageParam, DeleteApplicationResourceTranslationParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetApplicationLanguagesParam, GetApplicationResourceTranslationsParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, GetTagsTemplateParam, GetTranslateUILabelsParam, GetTranslateUILabelsByIdParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateApplicationLanguageStatusParam, UpdateApplicationResourceTranslationParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateInjectableTagParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam, UpdateTranslateUILabelsParam, UpsertApplicationResourceTranslationInBulkParam };
722
+ export { AddApplicationLanguageParam, AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, BulkUnPublishApplicationLanguageParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateApplicationResourceTranslationParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, CreateTranslateUILabelsParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteApplicationLanguageParam, DeleteApplicationResourceTranslationParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetApplicationLanguagesParam, GetApplicationResourceTranslationsParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, GetTagsTemplateParam, GetTranslateUILabelsParam, GetTranslateUILabelsByIdParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateApplicationLanguageStatusParam, UpdateApplicationResourceTranslationParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam, UpdateTranslateUILabelsParam, UpsertApplicationResourceTranslationInBulkParam };
729
723
  }
730
724
  type AddApplicationLanguageParam = {
731
725
  body: ContentPlatformModel.ApplicationLanguageCreate;
@@ -1284,9 +1278,6 @@ type UpdateFaqCategoryParam = {
1284
1278
  id: string;
1285
1279
  body: ContentPlatformModel.UpdateFaqCategoryRequestSchema;
1286
1280
  };
1287
- type UpdateInjectableTagParam = {
1288
- body: ContentPlatformModel.CreateTagRequestSchema;
1289
- };
1290
1281
  type UpdateLandingPageParam = {
1291
1282
  /**
1292
1283
  * - ID allotted to a landing page.
@@ -555,11 +555,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
555
555
  * @property {ContentPlatformModel.UpdateFaqCategoryRequestSchema} body
556
556
  */
557
557
 
558
- /**
559
- * @typedef UpdateInjectableTagParam
560
- * @property {ContentPlatformModel.CreateTagRequestSchema} body
561
- */
562
-
563
558
  /**
564
559
  * @typedef UpdateLandingPageParam
565
560
  * @property {string} id - ID allotted to a landing page.
@@ -1346,13 +1341,6 @@ class ContentPlatformApplicationValidator {
1346
1341
  }).required();
1347
1342
  }
1348
1343
 
1349
- /** @returns {UpdateInjectableTagParam} */
1350
- static updateInjectableTag() {
1351
- return Joi.object({
1352
- body: ContentPlatformModel.CreateTagRequestSchema().required(),
1353
- }).required();
1354
- }
1355
-
1356
1344
  /** @returns {UpdateLandingPageParam} */
1357
1345
  static updateLandingPage() {
1358
1346
  return Joi.object({
@@ -760,6 +760,34 @@ declare class Order {
760
760
  * @description: Reassign the shipment to a another location and update its status to 'Store Reassigned.' - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/reassignLocation/).
761
761
  */
762
762
  reassignLocation({ body, requestHeaders }?: OrderPlatformValidator.ReassignLocationParam, { responseHeaders }?: object): Promise<OrderPlatformModel.StoreReassignResponseSchema>;
763
+ /**
764
+ * @param {OrderPlatformValidator.RequestCourierPartnerForShipmentParam} arg
765
+ * - Arg object
766
+ *
767
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
768
+ * @param {import("../PlatformAPIClient").Options} - Options
769
+ * @returns {Promise<OrderPlatformModel.CourierPartnerResponseSchema>} -
770
+ * Success response
771
+ * @name requestCourierPartnerForShipment
772
+ * @summary: Manually request a courier partner for a shipment.
773
+ * @description: Use this API to manually assign a courier partner (delivery partner) to a shipment.
774
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/requestCourierPartnerForShipment/).
775
+ */
776
+ requestCourierPartnerForShipment({ shipmentId, body, requestHeaders }?: OrderPlatformValidator.RequestCourierPartnerForShipmentParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CourierPartnerResponseSchema>;
777
+ /**
778
+ * @param {OrderPlatformValidator.SaveCourierPartnerPreferenceForShipmentParam} arg
779
+ * - Arg object
780
+ *
781
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
782
+ * @param {import("../PlatformAPIClient").Options} - Options
783
+ * @returns {Promise<OrderPlatformModel.CourierPartnerResponseSchema>} -
784
+ * Success response
785
+ * @name saveCourierPartnerPreferenceForShipment
786
+ * @summary: Save courier partner preference for a shipment.
787
+ * @description: Use this API to save the preferred courier partner for a shipment. The preferred courier partner will be triggered automatically when the shipment moves to a state where delivery partner assignment is performed (for example, ready for DP assignment).
788
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/saveCourierPartnerPreferenceForShipment/).
789
+ */
790
+ saveCourierPartnerPreferenceForShipment({ shipmentId, body, requestHeaders }?: OrderPlatformValidator.SaveCourierPartnerPreferenceForShipmentParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CourierPartnerResponseSchema>;
763
791
  /**
764
792
  * @param {OrderPlatformValidator.SendSmsNinjaParam} arg - Arg object
765
793
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`