@gofynd/fdk-client-javascript 1.4.11 → 1.4.12-beta.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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +8 -19
  4. package/sdk/application/Cart/CartApplicationClient.js +8 -89
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +1 -178
  6. package/sdk/application/Cart/CartApplicationModel.js +0 -92
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -20
  8. package/sdk/application/Cart/CartApplicationValidator.js +0 -16
  9. package/sdk/application/Content/ContentApplicationModel.d.ts +3 -2
  10. package/sdk/application/Content/ContentApplicationModel.js +5 -2
  11. package/sdk/application/Logistic/LogisticApplicationModel.js +3 -3
  12. package/sdk/application/Order/OrderApplicationModel.js +1 -1
  13. package/sdk/application/Payment/PaymentApplicationModel.js +2 -2
  14. package/sdk/application/Theme/ThemeApplicationModel.d.ts +3 -2
  15. package/sdk/application/Theme/ThemeApplicationModel.js +5 -2
  16. package/sdk/common/Clickstream.js +46 -15
  17. package/sdk/common/Constant.d.ts +5 -0
  18. package/sdk/common/Constant.js +5 -0
  19. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -2
  20. package/sdk/partner/Theme/ThemePartnerModel.js +5 -2
  21. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  22. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +8 -20
  23. package/sdk/platform/Cart/CartPlatformApplicationClient.js +8 -92
  24. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -15
  25. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +0 -14
  26. package/sdk/platform/Cart/CartPlatformModel.d.ts +1 -87
  27. package/sdk/platform/Cart/CartPlatformModel.js +0 -88
  28. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -51
  29. package/sdk/platform/Catalog/CatalogPlatformClient.js +79 -400
  30. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8 -242
  31. package/sdk/platform/Catalog/CatalogPlatformModel.js +8 -171
  32. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +15 -61
  33. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -65
  34. package/sdk/platform/Content/ContentPlatformModel.d.ts +3 -2
  35. package/sdk/platform/Content/ContentPlatformModel.js +5 -2
  36. package/sdk/platform/Finance/FinancePlatformModel.js +1 -1
  37. package/sdk/platform/Order/OrderPlatformModel.d.ts +30 -0
  38. package/sdk/platform/Order/OrderPlatformModel.js +23 -9
  39. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +38 -4
  40. package/sdk/platform/Payment/PaymentPlatformModel.js +17 -7
  41. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -2
  42. package/sdk/platform/Theme/ThemePlatformModel.js +5 -2
  43. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
@@ -277,12 +277,6 @@ const CartPlatformModel = require("./CartPlatformModel");
277
277
  * @property {CartPlatformModel.PlatformAddCartRequest} body
278
278
  */
279
279
 
280
- /**
281
- * @typedef PlatformCheckoutCartParam
282
- * @property {string} [id] - The unique identifier of the cart
283
- * @property {CartPlatformModel.PlatformCartCheckoutDetailRequest} body
284
- */
285
-
286
280
  /**
287
281
  * @typedef PlatformCheckoutCartV2Param
288
282
  * @property {string} [id] - The unique identifier of the cart
@@ -784,14 +778,6 @@ class CartPlatformApplicationValidator {
784
778
  }).required();
785
779
  }
786
780
 
787
- /** @returns {PlatformCheckoutCartParam} */
788
- static platformCheckoutCart() {
789
- return Joi.object({
790
- id: Joi.string().allow(""),
791
- body: CartPlatformModel.PlatformCartCheckoutDetailRequest().required(),
792
- }).required();
793
- }
794
-
795
781
  /** @returns {PlatformCheckoutCartV2Param} */
796
782
  static platformCheckoutCartV2() {
797
783
  return Joi.object({
@@ -1538,45 +1538,6 @@ export = CartPlatformModel;
1538
1538
  * @property {string} key
1539
1539
  * @property {string[]} values
1540
1540
  */
1541
- /**
1542
- * @typedef CartCheckoutCustomMeta
1543
- * @property {string} key
1544
- * @property {string} value
1545
- */
1546
- /**
1547
- * @typedef PlatformCartCheckoutDetailRequest
1548
- * @property {CartCheckoutCustomMeta[]} [custom_meta]
1549
- * @property {string} [address_id]
1550
- * @property {string} [payment_identifier]
1551
- * @property {Object} [payment_params]
1552
- * @property {boolean} [payment_auto_confirm]
1553
- * @property {string} id
1554
- * @property {boolean} [pos]
1555
- * @property {string} [billing_address_id]
1556
- * @property {string} [merchant_code]
1557
- * @property {string} [aggregator]
1558
- * @property {number} [pick_at_store_uid]
1559
- * @property {string} [device_id]
1560
- * @property {Object} [delivery_address]
1561
- * @property {string} payment_mode
1562
- * @property {string} [checkout_mode]
1563
- * @property {Object} [customer_details] - Customer details
1564
- * @property {Object} [meta]
1565
- * @property {StaffCheckout} [staff]
1566
- * @property {string} [employee_code]
1567
- * @property {Object} [billing_address]
1568
- * @property {string} [callback_url]
1569
- * @property {string} user_id
1570
- * @property {Object} [extra_meta]
1571
- * @property {string} order_type
1572
- * @property {Files[]} [files] - List of file url
1573
- * @property {number} [ordering_store]
1574
- * @property {Object} [payment_extra_identifiers]
1575
- * @property {string} [iin]
1576
- * @property {string} [network]
1577
- * @property {string} [type]
1578
- * @property {string} [card_id]
1579
- */
1580
1541
  /**
1581
1542
  * @typedef CheckCart
1582
1543
  * @property {string} [coupon_text]
@@ -1792,7 +1753,7 @@ export = CartPlatformModel;
1792
1753
  declare class CartPlatformModel {
1793
1754
  }
1794
1755
  declare namespace CartPlatformModel {
1795
- export { CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResponse, SuccessMessage, OperationErrorResponse, CouponUpdate, CouponPartialUpdate, DisplayMeta1, Ownership1, CompareObject, ItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResponse, PromotionAdd, PromotionUpdate, PromotionPartialUpdate, ActivePromosResponse, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResponse, GetPriceAdjustmentResponse, PriceAdjustmentAdd, CartItem, OpenapiCartDetailsRequest, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CartProductInfo, OpenapiCartDetailsResponse, OpenApiErrorResponse, ShippingAddress, OpenApiCartServiceabilityRequest, OpenApiCartServiceabilityResponse, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResponse, AbandonedCart, AbandonedCartResponse, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, CartDetailResponse, AddProductCart, AddCartRequest, AddCartDetailResponse, UpdateProductCart, UpdateCartRequest, UpdateCartDetailResponse, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutResponse, GetShareCartLinkRequest, GetShareCartLinkResponse, SharedCartDetails, SharedCart, SharedCartResponse, CartList, MultiCartResponse, UpdateUserCartMapping, UserInfo, UserCartMappingResponse, PlatformAddCartRequest, PlatformUpdateCartRequest, DeleteCartRequest, DeleteCartDetailResponse, CartItemCountResponse, Coupon, PageCoupon, GetCouponResponse, ApplyCouponRequest, GeoLocation, PlatformAddress, PlatformGetAddressesResponse, SaveAddressResponse, UpdateAddressResponse, DeleteAddressResponse, PlatformSelectCartAddressRequest, ShipmentArticle, PlatformShipmentResponse, PlatformCartShipmentsResponse, UpdateCartShipmentItem, UpdateCartShipmentRequest, PlatformCartMetaRequest, CartMetaResponse, CartMetaMissingResponse, StaffCheckout, CustomerDetails, Files, CartCheckoutCustomMeta, PlatformCartCheckoutDetailRequest, CheckCart, CartCheckoutResponse, CartDeliveryModesResponse, PickupStoreDetail, StoreDetailsResponse, UpdateCartPaymentRequest, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Request, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, FreeGiftItems, PromotionOffer, PromotionOffersResponse, PromotionPaymentOffer, PromotionPaymentOffersResponse };
1756
+ export { CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResponse, SuccessMessage, OperationErrorResponse, CouponUpdate, CouponPartialUpdate, DisplayMeta1, Ownership1, CompareObject, ItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResponse, PromotionAdd, PromotionUpdate, PromotionPartialUpdate, ActivePromosResponse, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResponse, GetPriceAdjustmentResponse, PriceAdjustmentAdd, CartItem, OpenapiCartDetailsRequest, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CartProductInfo, OpenapiCartDetailsResponse, OpenApiErrorResponse, ShippingAddress, OpenApiCartServiceabilityRequest, OpenApiCartServiceabilityResponse, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResponse, AbandonedCart, AbandonedCartResponse, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, CartDetailResponse, AddProductCart, AddCartRequest, AddCartDetailResponse, UpdateProductCart, UpdateCartRequest, UpdateCartDetailResponse, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutResponse, GetShareCartLinkRequest, GetShareCartLinkResponse, SharedCartDetails, SharedCart, SharedCartResponse, CartList, MultiCartResponse, UpdateUserCartMapping, UserInfo, UserCartMappingResponse, PlatformAddCartRequest, PlatformUpdateCartRequest, DeleteCartRequest, DeleteCartDetailResponse, CartItemCountResponse, Coupon, PageCoupon, GetCouponResponse, ApplyCouponRequest, GeoLocation, PlatformAddress, PlatformGetAddressesResponse, SaveAddressResponse, UpdateAddressResponse, DeleteAddressResponse, PlatformSelectCartAddressRequest, ShipmentArticle, PlatformShipmentResponse, PlatformCartShipmentsResponse, UpdateCartShipmentItem, UpdateCartShipmentRequest, PlatformCartMetaRequest, CartMetaResponse, CartMetaMissingResponse, StaffCheckout, CustomerDetails, Files, CheckCart, CartCheckoutResponse, CartDeliveryModesResponse, PickupStoreDetail, StoreDetailsResponse, UpdateCartPaymentRequest, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Request, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, FreeGiftItems, PromotionOffer, PromotionOffersResponse, PromotionPaymentOffer, PromotionPaymentOffersResponse };
1796
1757
  }
1797
1758
  /** @returns {CouponDateMeta} */
1798
1759
  declare function CouponDateMeta(): CouponDateMeta;
@@ -3902,53 +3863,6 @@ type Files = {
3902
3863
  key: string;
3903
3864
  values: string[];
3904
3865
  };
3905
- /** @returns {CartCheckoutCustomMeta} */
3906
- declare function CartCheckoutCustomMeta(): CartCheckoutCustomMeta;
3907
- type CartCheckoutCustomMeta = {
3908
- key: string;
3909
- value: string;
3910
- };
3911
- /** @returns {PlatformCartCheckoutDetailRequest} */
3912
- declare function PlatformCartCheckoutDetailRequest(): PlatformCartCheckoutDetailRequest;
3913
- type PlatformCartCheckoutDetailRequest = {
3914
- custom_meta?: CartCheckoutCustomMeta[];
3915
- address_id?: string;
3916
- payment_identifier?: string;
3917
- payment_params?: any;
3918
- payment_auto_confirm?: boolean;
3919
- id: string;
3920
- pos?: boolean;
3921
- billing_address_id?: string;
3922
- merchant_code?: string;
3923
- aggregator?: string;
3924
- pick_at_store_uid?: number;
3925
- device_id?: string;
3926
- delivery_address?: any;
3927
- payment_mode: string;
3928
- checkout_mode?: string;
3929
- /**
3930
- * - Customer details
3931
- */
3932
- customer_details?: any;
3933
- meta?: any;
3934
- staff?: StaffCheckout;
3935
- employee_code?: string;
3936
- billing_address?: any;
3937
- callback_url?: string;
3938
- user_id: string;
3939
- extra_meta?: any;
3940
- order_type: string;
3941
- /**
3942
- * - List of file url
3943
- */
3944
- files?: Files[];
3945
- ordering_store?: number;
3946
- payment_extra_identifiers?: any;
3947
- iin?: string;
3948
- network?: string;
3949
- type?: string;
3950
- card_id?: string;
3951
- };
3952
3866
  /** @returns {CheckCart} */
3953
3867
  declare function CheckCart(): CheckCart;
3954
3868
  type CheckCart = {
@@ -1706,47 +1706,6 @@ const Joi = require("joi");
1706
1706
  * @property {string[]} values
1707
1707
  */
1708
1708
 
1709
- /**
1710
- * @typedef CartCheckoutCustomMeta
1711
- * @property {string} key
1712
- * @property {string} value
1713
- */
1714
-
1715
- /**
1716
- * @typedef PlatformCartCheckoutDetailRequest
1717
- * @property {CartCheckoutCustomMeta[]} [custom_meta]
1718
- * @property {string} [address_id]
1719
- * @property {string} [payment_identifier]
1720
- * @property {Object} [payment_params]
1721
- * @property {boolean} [payment_auto_confirm]
1722
- * @property {string} id
1723
- * @property {boolean} [pos]
1724
- * @property {string} [billing_address_id]
1725
- * @property {string} [merchant_code]
1726
- * @property {string} [aggregator]
1727
- * @property {number} [pick_at_store_uid]
1728
- * @property {string} [device_id]
1729
- * @property {Object} [delivery_address]
1730
- * @property {string} payment_mode
1731
- * @property {string} [checkout_mode]
1732
- * @property {Object} [customer_details] - Customer details
1733
- * @property {Object} [meta]
1734
- * @property {StaffCheckout} [staff]
1735
- * @property {string} [employee_code]
1736
- * @property {Object} [billing_address]
1737
- * @property {string} [callback_url]
1738
- * @property {string} user_id
1739
- * @property {Object} [extra_meta]
1740
- * @property {string} order_type
1741
- * @property {Files[]} [files] - List of file url
1742
- * @property {number} [ordering_store]
1743
- * @property {Object} [payment_extra_identifiers]
1744
- * @property {string} [iin]
1745
- * @property {string} [network]
1746
- * @property {string} [type]
1747
- * @property {string} [card_id]
1748
- */
1749
-
1750
1709
  /**
1751
1710
  * @typedef CheckCart
1752
1711
  * @property {string} [coupon_text]
@@ -4021,53 +3980,6 @@ class CartPlatformModel {
4021
3980
  });
4022
3981
  }
4023
3982
 
4024
- /** @returns {CartCheckoutCustomMeta} */
4025
- static CartCheckoutCustomMeta() {
4026
- return Joi.object({
4027
- key: Joi.string().allow("").required(),
4028
- value: Joi.string().allow("").required(),
4029
- });
4030
- }
4031
-
4032
- /** @returns {PlatformCartCheckoutDetailRequest} */
4033
- static PlatformCartCheckoutDetailRequest() {
4034
- return Joi.object({
4035
- custom_meta: Joi.array().items(
4036
- CartPlatformModel.CartCheckoutCustomMeta()
4037
- ),
4038
- address_id: Joi.string().allow(""),
4039
- payment_identifier: Joi.string().allow("").allow(null),
4040
- payment_params: Joi.any().allow(null),
4041
- payment_auto_confirm: Joi.boolean(),
4042
- id: Joi.string().allow("").required(),
4043
- pos: Joi.boolean(),
4044
- billing_address_id: Joi.string().allow(""),
4045
- merchant_code: Joi.string().allow(""),
4046
- aggregator: Joi.string().allow(""),
4047
- pick_at_store_uid: Joi.number().allow(null),
4048
- device_id: Joi.string().allow("").allow(null),
4049
- delivery_address: Joi.any(),
4050
- payment_mode: Joi.string().allow("").required(),
4051
- checkout_mode: Joi.string().allow(""),
4052
- customer_details: Joi.any().allow(null),
4053
- meta: Joi.any(),
4054
- staff: CartPlatformModel.StaffCheckout(),
4055
- employee_code: Joi.string().allow("").allow(null),
4056
- billing_address: Joi.any(),
4057
- callback_url: Joi.string().allow("").allow(null),
4058
- user_id: Joi.string().allow("").allow(null).required(),
4059
- extra_meta: Joi.any(),
4060
- order_type: Joi.string().allow("").required(),
4061
- files: Joi.array().items(CartPlatformModel.Files()),
4062
- ordering_store: Joi.number().allow(null),
4063
- payment_extra_identifiers: Joi.any(),
4064
- iin: Joi.string().allow(""),
4065
- network: Joi.string().allow(""),
4066
- type: Joi.string().allow(""),
4067
- card_id: Joi.string().allow(""),
4068
- });
4069
- }
4070
-
4071
3983
  /** @returns {CheckCart} */
4072
3984
  static CheckCart() {
4073
3985
  return Joi.object({
@@ -62,27 +62,6 @@ declare class Catalog {
62
62
  * @description: This API helps to create a bulk products upload job. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createBulkProductUploadJob/).
63
63
  */
64
64
  createBulkProductUploadJob({ body, requestHeaders }?: CatalogPlatformValidator.CreateBulkProductUploadJobParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.BulkResponse>;
65
- /**
66
- * @param {CatalogPlatformValidator.CreateCategoriesParam} arg - Arg object
67
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
68
- * @param {import("../PlatformAPIClient").Options} - Options
69
- * @returns {Promise<CatalogPlatformModel.CategoryCreateResponse>} - Success response
70
- * @name createCategories
71
- * @summary: Create categories
72
- * @description: Allows to create product categories for specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createCategories/).
73
- */
74
- createCategories({ body, requestHeaders }?: CatalogPlatformValidator.CreateCategoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CategoryCreateResponse>;
75
- /**
76
- * @param {CatalogPlatformValidator.CreateDepartmentsParam} arg - Arg object
77
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
78
- * @param {import("../PlatformAPIClient").Options} - Options
79
- * @returns {Promise<CatalogPlatformModel.DepartmentCreateResponse>} -
80
- * Success response
81
- * @name createDepartments
82
- * @summary: Create departments
83
- * @description: Create departments for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createDepartments/).
84
- */
85
- createDepartments({ body, requestHeaders }?: CatalogPlatformValidator.CreateDepartmentsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.DepartmentCreateResponse>;
86
65
  /**
87
66
  * @param {CatalogPlatformValidator.CreateInventoryExportParam} arg - Arg object
88
67
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -285,6 +264,16 @@ declare class Catalog {
285
264
  * @description: Retrieve all HSN codes associated with company products and provide search capabilities based on HSN code, reporting HSN, etc - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getAllProductHsnCodes/).
286
265
  */
287
266
  getAllProductHsnCodes({ pageNo, pageSize, q, type, requestHeaders }?: CatalogPlatformValidator.GetAllProductHsnCodesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.HsnCodesListingResponseSchemaV2>;
267
+ /**
268
+ * @param {CatalogPlatformValidator.GetAttributeParam} arg - Arg object
269
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
270
+ * @param {import("../PlatformAPIClient").Options} - Options
271
+ * @returns {Promise<CatalogPlatformModel.AttributeDetail>} - Success response
272
+ * @name getAttribute
273
+ * @summary: Get attribute detail by slug
274
+ * @description: Retrieve the attribute detail for catalog listings by attribute slug passed for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getAttribute/).
275
+ */
276
+ getAttribute({ attributeSlug, requestHeaders }?: CatalogPlatformValidator.GetAttributeParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.AttributeDetail>;
288
277
  /**
289
278
  * @param {CatalogPlatformValidator.GetCategoryDataParam} arg - Arg object
290
279
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -336,16 +325,6 @@ declare class Catalog {
336
325
  * @description: Retrieve detailed information about a specific department for a specific company by uid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getDepartmentData/).
337
326
  */
338
327
  getDepartmentData({ uid, requestHeaders }?: CatalogPlatformValidator.GetDepartmentDataParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.DepartmentsResponse>;
339
- /**
340
- * @param {CatalogPlatformValidator.GetGenderAttributeParam} arg - Arg object
341
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
342
- * @param {import("../PlatformAPIClient").Options} - Options
343
- * @returns {Promise<CatalogPlatformModel.GenderDetail>} - Success response
344
- * @name getGenderAttribute
345
- * @summary: Get gender attribute by slug
346
- * @description: Retrieve the gender attribute for catalog listings by attribute slug passed for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getGenderAttribute/).
347
- */
348
- getGenderAttribute({ attributeSlug, requestHeaders }?: CatalogPlatformValidator.GetGenderAttributeParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GenderDetail>;
349
328
  /**
350
329
  * @param {CatalogPlatformValidator.GetHsnCodeParam} arg - Arg object
351
330
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -942,26 +921,6 @@ declare class Catalog {
942
921
  * @description: Retrieve values related to template brand types for a specific company. The filter type query parameter defines what type of data to return. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listTemplateBrandTypeValues/).
943
922
  */
944
923
  listTemplateBrandTypeValues({ filter, templateTag, itemType, requestHeaders }?: CatalogPlatformValidator.ListTemplateBrandTypeValuesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ProductConfigurationDownloads>;
945
- /**
946
- * @param {CatalogPlatformValidator.UpdateCategoryParam} arg - Arg object
947
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
948
- * @param {import("../PlatformAPIClient").Options} - Options
949
- * @returns {Promise<CatalogPlatformModel.CategoryUpdateResponse>} - Success response
950
- * @name updateCategory
951
- * @summary: Update category
952
- * @description: Modify data for an existing category by its uid for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateCategory/).
953
- */
954
- updateCategory({ uid, body, requestHeaders }?: CatalogPlatformValidator.UpdateCategoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CategoryUpdateResponse>;
955
- /**
956
- * @param {CatalogPlatformValidator.UpdateDepartmentParam} arg - Arg object
957
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
958
- * @param {import("../PlatformAPIClient").Options} - Options
959
- * @returns {Promise<CatalogPlatformModel.DepartmentModel>} - Success response
960
- * @name updateDepartment
961
- * @summary: Update department
962
- * @description: Modify the department data by their uid for a specifc company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateDepartment/).
963
- */
964
- updateDepartment({ uid, body, requestHeaders }?: CatalogPlatformValidator.UpdateDepartmentParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.DepartmentModel>;
965
924
  /**
966
925
  * @param {CatalogPlatformValidator.UpdateHsnCodeParam} arg - Arg object
967
926
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`