@gofynd/fdk-client-javascript 3.24.0 → 3.26.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +8 -5
- package/sdk/application/Catalog/CatalogApplicationClient.js +9 -3
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +4 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +2 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +3 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +19 -27
- package/sdk/platform/Cart/CartPlatformModel.js +8 -18
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +48 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +316 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +27 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +38 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +104 -2
- package/sdk/platform/Content/ContentPlatformModel.js +91 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -18
- package/sdk/platform/Order/OrderPlatformModel.js +18 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +40 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +25 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +2 -1
- package/sdk/platform/Theme/ThemePlatformModel.js +3 -0
package/README.md
CHANGED
|
@@ -234,7 +234,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
234
234
|
The above code will log the curl command in the console
|
|
235
235
|
|
|
236
236
|
```bash
|
|
237
|
-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.
|
|
237
|
+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.26.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
238
238
|
Active Theme: Emerge
|
|
239
239
|
```
|
|
240
240
|
|
package/package.json
CHANGED
|
@@ -344,9 +344,9 @@ declare class Catalog {
|
|
|
344
344
|
* @returns {Promise<ProductSizeSellersResponseV4>} - Success response
|
|
345
345
|
* @name getProductSellersBySlug
|
|
346
346
|
* @summary: List sellers
|
|
347
|
-
* @description: List all sellers offering a specific product identified by its slug and size. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSellersBySlug/).
|
|
347
|
+
* @description: List all sellers offering a specific product identified by its slug and size. Optionally filter the seller list by store name, seller name, or store code using the `q` query parameter. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSellersBySlug/).
|
|
348
348
|
*/
|
|
349
|
-
getProductSellersBySlug({ slug, size, strategy, fulfillmentOptionSlug, pageNo, pageSize, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizeSellersResponseV4>;
|
|
349
|
+
getProductSellersBySlug({ slug, size, strategy, fulfillmentOptionSlug, pageNo, pageSize, q, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizeSellersResponseV4>;
|
|
350
350
|
/**
|
|
351
351
|
* @param {Object} arg - Arg object.
|
|
352
352
|
* @param {string} arg.slug - A short, human-readable, URL-friendly
|
|
@@ -360,16 +360,19 @@ declare class Catalog {
|
|
|
360
360
|
* @param {string} [arg.fulfillmentOptionSlug] - Specifies the fulfillment
|
|
361
361
|
* method, indicating whether an order is for home delivery or store pickup
|
|
362
362
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
363
|
+
* @param {string} [arg.q] - Filter sellers by matching text against store
|
|
364
|
+
* name, seller name, or store code. Case-insensitive partial match.
|
|
363
365
|
* @returns {Paginator<ProductSizeSellersResponseV4>}
|
|
364
366
|
* @summary: List sellers
|
|
365
|
-
* @description: List all sellers offering a specific product identified by its slug and size.
|
|
367
|
+
* @description: List all sellers offering a specific product identified by its slug and size. Optionally filter the seller list by store name, seller name, or store code using the `q` query parameter.
|
|
366
368
|
*/
|
|
367
|
-
getProductSellersBySlugPaginator({ slug, size, strategy, fulfillmentOptionSlug, pageSize, }?: {
|
|
369
|
+
getProductSellersBySlugPaginator({ slug, size, strategy, fulfillmentOptionSlug, pageSize, q, }?: {
|
|
368
370
|
slug: string;
|
|
369
371
|
size: string;
|
|
370
372
|
strategy?: string;
|
|
371
373
|
fulfillmentOptionSlug?: string;
|
|
372
374
|
pageSize?: number;
|
|
375
|
+
q?: string;
|
|
373
376
|
}): Paginator<ProductSizeSellersResponseV4>;
|
|
374
377
|
/**
|
|
375
378
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -377,7 +380,7 @@ declare class Catalog {
|
|
|
377
380
|
* @returns {Promise<ProductSizes>} - Success response
|
|
378
381
|
* @name getProductSizesBySlug
|
|
379
382
|
* @summary: List sizes
|
|
380
|
-
* @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSizesBySlug/).
|
|
383
|
+
* @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). Each size includes `seller_identifiers` (primary identifiers) and `all_identifiers` (primary and non-primary seller identifiers combined). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSizesBySlug/).
|
|
381
384
|
*/
|
|
382
385
|
getProductSizesBySlug({ slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ProductSizes>;
|
|
383
386
|
/**
|
|
@@ -1279,7 +1279,7 @@ class Catalog {
|
|
|
1279
1279
|
* @returns {Promise<ProductSizeSellersResponseV4>} - Success response
|
|
1280
1280
|
* @name getProductSellersBySlug
|
|
1281
1281
|
* @summary: List sellers
|
|
1282
|
-
* @description: List all sellers offering a specific product identified by its slug and size. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSellersBySlug/).
|
|
1282
|
+
* @description: List all sellers offering a specific product identified by its slug and size. Optionally filter the seller list by store name, seller name, or store code using the `q` query parameter. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSellersBySlug/).
|
|
1283
1283
|
*/
|
|
1284
1284
|
async getProductSellersBySlug(
|
|
1285
1285
|
{
|
|
@@ -1289,6 +1289,7 @@ class Catalog {
|
|
|
1289
1289
|
fulfillmentOptionSlug,
|
|
1290
1290
|
pageNo,
|
|
1291
1291
|
pageSize,
|
|
1292
|
+
q,
|
|
1292
1293
|
requestHeaders,
|
|
1293
1294
|
} = { requestHeaders: {} },
|
|
1294
1295
|
{ responseHeaders } = { responseHeaders: false }
|
|
@@ -1307,6 +1308,7 @@ class Catalog {
|
|
|
1307
1308
|
query_params["fulfillment_option_slug"] = fulfillmentOptionSlug;
|
|
1308
1309
|
query_params["page_no"] = pageNo;
|
|
1309
1310
|
query_params["page_size"] = pageSize;
|
|
1311
|
+
query_params["q"] = q;
|
|
1310
1312
|
|
|
1311
1313
|
const xHeaders = {};
|
|
1312
1314
|
|
|
@@ -1344,9 +1346,11 @@ class Catalog {
|
|
|
1344
1346
|
* @param {string} [arg.fulfillmentOptionSlug] - Specifies the fulfillment
|
|
1345
1347
|
* method, indicating whether an order is for home delivery or store pickup
|
|
1346
1348
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
1349
|
+
* @param {string} [arg.q] - Filter sellers by matching text against store
|
|
1350
|
+
* name, seller name, or store code. Case-insensitive partial match.
|
|
1347
1351
|
* @returns {Paginator<ProductSizeSellersResponseV4>}
|
|
1348
1352
|
* @summary: List sellers
|
|
1349
|
-
* @description: List all sellers offering a specific product identified by its slug and size.
|
|
1353
|
+
* @description: List all sellers offering a specific product identified by its slug and size. Optionally filter the seller list by store name, seller name, or store code using the `q` query parameter.
|
|
1350
1354
|
*/
|
|
1351
1355
|
getProductSellersBySlugPaginator({
|
|
1352
1356
|
slug,
|
|
@@ -1354,6 +1358,7 @@ class Catalog {
|
|
|
1354
1358
|
strategy,
|
|
1355
1359
|
fulfillmentOptionSlug,
|
|
1356
1360
|
pageSize,
|
|
1361
|
+
q,
|
|
1357
1362
|
} = {}) {
|
|
1358
1363
|
const paginator = new Paginator();
|
|
1359
1364
|
const callback = async () => {
|
|
@@ -1367,6 +1372,7 @@ class Catalog {
|
|
|
1367
1372
|
fulfillmentOptionSlug: fulfillmentOptionSlug,
|
|
1368
1373
|
pageNo: pageNo,
|
|
1369
1374
|
pageSize: pageSize,
|
|
1375
|
+
q: q,
|
|
1370
1376
|
});
|
|
1371
1377
|
paginator.setPaginator({
|
|
1372
1378
|
hasNext: data.page.has_next ? true : false,
|
|
@@ -1384,7 +1390,7 @@ class Catalog {
|
|
|
1384
1390
|
* @returns {Promise<ProductSizes>} - Success response
|
|
1385
1391
|
* @name getProductSizesBySlug
|
|
1386
1392
|
* @summary: List sizes
|
|
1387
|
-
* @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSizesBySlug/).
|
|
1393
|
+
* @description: Provides detailed information about a product, including its availability (sellable), available sizes with quantities, dimensions, weight, availability status, price details (marked, effective, selling), minimum order quantity (MOQ). Each size includes `seller_identifiers` (primary identifiers) and `all_identifiers` (primary and non-primary seller identifiers combined). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/catalog/getProductSizesBySlug/).
|
|
1388
1394
|
*/
|
|
1389
1395
|
async getProductSizesBySlug(
|
|
1390
1396
|
{ slug, storeId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -56,7 +56,7 @@ declare class Order {
|
|
|
56
56
|
* @summary: List customer orders
|
|
57
57
|
* @description: Get all orders associated with a customer account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getOrders/).
|
|
58
58
|
*/
|
|
59
|
-
getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, customMeta, allowInactive, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderList>;
|
|
59
|
+
getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, startDatetime, endDatetime, customMeta, allowInactive, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderList>;
|
|
60
60
|
/**
|
|
61
61
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
62
62
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -216,6 +216,8 @@ class Order {
|
|
|
216
216
|
toDate,
|
|
217
217
|
startDate,
|
|
218
218
|
endDate,
|
|
219
|
+
startDatetime,
|
|
220
|
+
endDatetime,
|
|
219
221
|
customMeta,
|
|
220
222
|
allowInactive,
|
|
221
223
|
requestHeaders,
|
|
@@ -230,6 +232,8 @@ class Order {
|
|
|
230
232
|
query_params["to_date"] = toDate;
|
|
231
233
|
query_params["start_date"] = startDate;
|
|
232
234
|
query_params["end_date"] = endDate;
|
|
235
|
+
query_params["start_datetime"] = startDatetime;
|
|
236
|
+
query_params["end_datetime"] = endDatetime;
|
|
233
237
|
query_params["custom_meta"] = customMeta;
|
|
234
238
|
query_params["allow_inactive"] = allowInactive;
|
|
235
239
|
|
|
@@ -656,6 +656,7 @@ export = ThemePartnerModel;
|
|
|
656
656
|
* | "profile-company"
|
|
657
657
|
* | "profile-email"
|
|
658
658
|
* | "profile-phone"
|
|
659
|
+
* | "profile-loyalty-rewards"
|
|
659
660
|
* | "rate-us"
|
|
660
661
|
* | "refer-earn"
|
|
661
662
|
* | "settings"
|
|
@@ -1898,4 +1899,4 @@ type ActionPage = {
|
|
|
1898
1899
|
* @returns {PageType}
|
|
1899
1900
|
*/
|
|
1900
1901
|
declare function PageType(): PageType;
|
|
1901
|
-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
1902
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "profile-loyalty-rewards" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
@@ -748,6 +748,7 @@ const Joi = require("joi");
|
|
|
748
748
|
* | "profile-company"
|
|
749
749
|
* | "profile-email"
|
|
750
750
|
* | "profile-phone"
|
|
751
|
+
* | "profile-loyalty-rewards"
|
|
751
752
|
* | "rate-us"
|
|
752
753
|
* | "refer-earn"
|
|
753
754
|
* | "settings"
|
|
@@ -1743,6 +1744,8 @@ class ThemePartnerModel {
|
|
|
1743
1744
|
|
|
1744
1745
|
"profile-phone",
|
|
1745
1746
|
|
|
1747
|
+
"profile-loyalty-rewards",
|
|
1748
|
+
|
|
1746
1749
|
"rate-us",
|
|
1747
1750
|
|
|
1748
1751
|
"refer-earn",
|
|
@@ -1323,6 +1323,7 @@ export = CartPlatformModel;
|
|
|
1323
1323
|
* @property {string} [item_type] - Type of the item in cart.
|
|
1324
1324
|
* @property {ArticleCharges[]} [charges] - Charges information which denotes
|
|
1325
1325
|
* types of charges and amount of charge applied to that product in cart.
|
|
1326
|
+
* @property {string} [added_on] - Date and time when the item was added to the cart.
|
|
1326
1327
|
*/
|
|
1327
1328
|
/**
|
|
1328
1329
|
* @typedef OpenapiCartDetailsResult
|
|
@@ -1978,6 +1979,11 @@ export = CartPlatformModel;
|
|
|
1978
1979
|
* applied to cart or not
|
|
1979
1980
|
* @property {string} [coupon_type] - Type of the coupon applied to cart
|
|
1980
1981
|
* @property {string} [expires_on] - Message to display to user for expiry of the coupon
|
|
1982
|
+
* @property {string} [expires_at] - Represents the last valid timeslot date on
|
|
1983
|
+
* which the coupon can be applied in ISO 8601 (UTC Z) format,based on its
|
|
1984
|
+
* configured schedule. If the coupon is restricted to specific days (e.g.,
|
|
1985
|
+
* Mondays and Thursdays), the expiry date will be the last eligible day
|
|
1986
|
+
* within the overall end date range, not necessarily the end date itself.
|
|
1981
1987
|
* @property {number} [coupon_value] - Coupon value of the coupon applied to cart
|
|
1982
1988
|
* @property {string} [sub_title] - Coupon subtitle of the coupon applied to
|
|
1983
1989
|
* cart which is used to display
|
|
@@ -2821,18 +2827,10 @@ export = CartPlatformModel;
|
|
|
2821
2827
|
* @property {string} [approved_on] - Date time format when the offer approved
|
|
2822
2828
|
* @property {string} [rejected_on] - Date time format when the offer rejected
|
|
2823
2829
|
*/
|
|
2824
|
-
/**
|
|
2825
|
-
* @typedef NextScheduleItems
|
|
2826
|
-
* @property {string} [start] - Start date of schedule
|
|
2827
|
-
* @property {string} [end] - End date of schedule
|
|
2828
|
-
*/
|
|
2829
2830
|
/**
|
|
2830
2831
|
* @typedef OfferSchedule
|
|
2831
2832
|
* @property {string} end - The end date and time until which the offer remains valid.
|
|
2832
2833
|
* @property {string} start - The start date and time from which the offer becomes valid.
|
|
2833
|
-
* @property {NextScheduleItems[]} [next_schedule] - A auto generated list of
|
|
2834
|
-
* date-time entries based on start, end, cron and duration data on which the
|
|
2835
|
-
* offer is scheduled to activate in the future.
|
|
2836
2834
|
* @property {string} [cron] - A cron expression used to schedule the offer to
|
|
2837
2835
|
* activate periodically. When cron is null or not provided, duration is optional.
|
|
2838
2836
|
* @property {number} [duration] - Duration of the offer activation in seconds.
|
|
@@ -2858,7 +2856,7 @@ export = CartPlatformModel;
|
|
|
2858
2856
|
declare class CartPlatformModel {
|
|
2859
2857
|
}
|
|
2860
2858
|
declare namespace CartPlatformModel {
|
|
2861
|
-
export { RedeemLoyaltyPoints, CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResult, SuccessMessage, OperationErrorResult, CouponUpdate, CouponPartialUpdate, CouponCreateResult, DisplayMeta1, Ownership1, CompareObject, ItemSizeMapping, ItemCriteria, BuyRuleItemCriteria, DiscountItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResult, PromotionAdd, PromotionAddResult, PromotionUpdate, PromotionUpdateResult, PromotionPartialUpdate, ActivePromosResult, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResult, GetPriceAdjustmentResult, PriceAdjustmentAdd, DistributionRule, Distribution, DistributionLogic, CartItem, OpenapiCartDetailsCreation, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductActionParams, ProductActionPage, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, FulfillmentOptionSchema, StoreTimingSchema, StoreHoursSchema, PickupStoreDetailSchema, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, ProductMaxQuantityInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CurrencyValue, ChargesAmount, ArticleCharges, CartProductInfo, OpenapiCartDetailsResult, OpenApiErrorResult, ShippingAddress, OpenApiCartServiceabilityCreation, OpenApiCartServiceabilityResult, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResult, AbandonedCart, AbandonedCartResult, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, PlatformAlternatePickupPerson, CartDetailResult, AddProductCart, AddCartCreation, AddCartDetailResult, CartItemInfo, UpdateProductCart, FreeGiftItemCreation, UpdateCartCreation, UpdateCartDetailResult, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutData, OverrideCheckoutResult, GetShareCartLinkCreation, GetShareCartLinkResult, SharedCartDetails, SharedCart, SharedCartResult, CartList, MultiCartResult, UpdateUserCartMapping, UserInfo, UserCartMappingResult, PlatformAddCartDetails, PlatformUpdateCartDetails, UpdateCartBreakup, DeleteCartDetails, DeleteCartDetailResult, CartItemCountResult, DiscountRules, Coupon, PageCoupon, GetCouponResult, ApplyCouponDetails, GeoLocation, PlatformAddress, ValidationConfig, PlatformGetAddressesDetails, SaveAddressDetails, UpdateAddressDetails, DeleteAddressResult, PlatformSelectCartAddress, ShipmentArticle, PlatformShipmentDetails, PlatformCartShipmentsResult, UpdateCartShipmentItem, UpdateCartShipmentCreation, PlatformCartMetaCreation, CartMetaDetails, CartMetaMissingDetails, StaffCheckout, CustomerDetails, Files, CartCheckoutCustomMeta, OrderTag, PlatformCartCheckoutDetailCreation, CheckCart, CartCheckoutDetailsData, CartCheckoutDetails, CartCheckoutResult, CartDeliveryModesDetails, PickupStoreDetail, StoreDetails, CartPaymentUpdate, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Creation, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, ArticlePriceDetails, FreeGiftItems, DiscountOfferRule, PromotionOffer, PromotionOffersDetails, PromotionPaymentOffer, PromotionPaymentOffersDetails, ValidationError, OfferUser, OfferItemCriteria, DiscountRuleOffer, OfferDiscountRule, OfferUsesRemaining, OfferUsesRestriction, OfferRestrictionFulfillmentOptions, OfferRestrictions, OfferDisplayMeta, OfferCouponConfiguration, OfferOwnership, OfferSchema, OfferPartialUpdate, OfferAuthor, OfferDateMeta,
|
|
2859
|
+
export { RedeemLoyaltyPoints, CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResult, SuccessMessage, OperationErrorResult, CouponUpdate, CouponPartialUpdate, CouponCreateResult, DisplayMeta1, Ownership1, CompareObject, ItemSizeMapping, ItemCriteria, BuyRuleItemCriteria, DiscountItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResult, PromotionAdd, PromotionAddResult, PromotionUpdate, PromotionUpdateResult, PromotionPartialUpdate, ActivePromosResult, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResult, GetPriceAdjustmentResult, PriceAdjustmentAdd, DistributionRule, Distribution, DistributionLogic, CartItem, OpenapiCartDetailsCreation, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductActionParams, ProductActionPage, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, FulfillmentOptionSchema, StoreTimingSchema, StoreHoursSchema, PickupStoreDetailSchema, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, ProductMaxQuantityInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CurrencyValue, ChargesAmount, ArticleCharges, CartProductInfo, OpenapiCartDetailsResult, OpenApiErrorResult, ShippingAddress, OpenApiCartServiceabilityCreation, OpenApiCartServiceabilityResult, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResult, AbandonedCart, AbandonedCartResult, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, PlatformAlternatePickupPerson, CartDetailResult, AddProductCart, AddCartCreation, AddCartDetailResult, CartItemInfo, UpdateProductCart, FreeGiftItemCreation, UpdateCartCreation, UpdateCartDetailResult, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutData, OverrideCheckoutResult, GetShareCartLinkCreation, GetShareCartLinkResult, SharedCartDetails, SharedCart, SharedCartResult, CartList, MultiCartResult, UpdateUserCartMapping, UserInfo, UserCartMappingResult, PlatformAddCartDetails, PlatformUpdateCartDetails, UpdateCartBreakup, DeleteCartDetails, DeleteCartDetailResult, CartItemCountResult, DiscountRules, Coupon, PageCoupon, GetCouponResult, ApplyCouponDetails, GeoLocation, PlatformAddress, ValidationConfig, PlatformGetAddressesDetails, SaveAddressDetails, UpdateAddressDetails, DeleteAddressResult, PlatformSelectCartAddress, ShipmentArticle, PlatformShipmentDetails, PlatformCartShipmentsResult, UpdateCartShipmentItem, UpdateCartShipmentCreation, PlatformCartMetaCreation, CartMetaDetails, CartMetaMissingDetails, StaffCheckout, CustomerDetails, Files, CartCheckoutCustomMeta, OrderTag, PlatformCartCheckoutDetailCreation, CheckCart, CartCheckoutDetailsData, CartCheckoutDetails, CartCheckoutResult, CartDeliveryModesDetails, PickupStoreDetail, StoreDetails, CartPaymentUpdate, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Creation, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, ArticlePriceDetails, FreeGiftItems, DiscountOfferRule, PromotionOffer, PromotionOffersDetails, PromotionPaymentOffer, PromotionPaymentOffersDetails, ValidationError, OfferUser, OfferItemCriteria, DiscountRuleOffer, OfferDiscountRule, OfferUsesRemaining, OfferUsesRestriction, OfferRestrictionFulfillmentOptions, OfferRestrictions, OfferDisplayMeta, OfferCouponConfiguration, OfferOwnership, OfferSchema, OfferPartialUpdate, OfferAuthor, OfferDateMeta, OfferSchedule, OfferListItem, OfferListResult };
|
|
2862
2860
|
}
|
|
2863
2861
|
/** @returns {RedeemLoyaltyPoints} */
|
|
2864
2862
|
declare function RedeemLoyaltyPoints(): RedeemLoyaltyPoints;
|
|
@@ -6085,6 +6083,10 @@ type CartProductInfo = {
|
|
|
6085
6083
|
* types of charges and amount of charge applied to that product in cart.
|
|
6086
6084
|
*/
|
|
6087
6085
|
charges?: ArticleCharges[];
|
|
6086
|
+
/**
|
|
6087
|
+
* - Date and time when the item was added to the cart.
|
|
6088
|
+
*/
|
|
6089
|
+
added_on?: string;
|
|
6088
6090
|
};
|
|
6089
6091
|
/** @returns {OpenapiCartDetailsResult} */
|
|
6090
6092
|
declare function OpenapiCartDetailsResult(): OpenapiCartDetailsResult;
|
|
@@ -7807,6 +7809,14 @@ type Coupon = {
|
|
|
7807
7809
|
* - Message to display to user for expiry of the coupon
|
|
7808
7810
|
*/
|
|
7809
7811
|
expires_on?: string;
|
|
7812
|
+
/**
|
|
7813
|
+
* - Represents the last valid timeslot date on
|
|
7814
|
+
* which the coupon can be applied in ISO 8601 (UTC Z) format,based on its
|
|
7815
|
+
* configured schedule. If the coupon is restricted to specific days (e.g.,
|
|
7816
|
+
* Mondays and Thursdays), the expiry date will be the last eligible day
|
|
7817
|
+
* within the overall end date range, not necessarily the end date itself.
|
|
7818
|
+
*/
|
|
7819
|
+
expires_at?: string;
|
|
7810
7820
|
/**
|
|
7811
7821
|
* - Coupon value of the coupon applied to cart
|
|
7812
7822
|
*/
|
|
@@ -9854,18 +9864,6 @@ type OfferDateMeta = {
|
|
|
9854
9864
|
*/
|
|
9855
9865
|
rejected_on?: string;
|
|
9856
9866
|
};
|
|
9857
|
-
/** @returns {NextScheduleItems} */
|
|
9858
|
-
declare function NextScheduleItems(): NextScheduleItems;
|
|
9859
|
-
type NextScheduleItems = {
|
|
9860
|
-
/**
|
|
9861
|
-
* - Start date of schedule
|
|
9862
|
-
*/
|
|
9863
|
-
start?: string;
|
|
9864
|
-
/**
|
|
9865
|
-
* - End date of schedule
|
|
9866
|
-
*/
|
|
9867
|
-
end?: string;
|
|
9868
|
-
};
|
|
9869
9867
|
/** @returns {OfferSchedule} */
|
|
9870
9868
|
declare function OfferSchedule(): OfferSchedule;
|
|
9871
9869
|
type OfferSchedule = {
|
|
@@ -9877,12 +9875,6 @@ type OfferSchedule = {
|
|
|
9877
9875
|
* - The start date and time from which the offer becomes valid.
|
|
9878
9876
|
*/
|
|
9879
9877
|
start: string;
|
|
9880
|
-
/**
|
|
9881
|
-
* - A auto generated list of
|
|
9882
|
-
* date-time entries based on start, end, cron and duration data on which the
|
|
9883
|
-
* offer is scheduled to activate in the future.
|
|
9884
|
-
*/
|
|
9885
|
-
next_schedule?: NextScheduleItems[];
|
|
9886
9878
|
/**
|
|
9887
9879
|
* - A cron expression used to schedule the offer to
|
|
9888
9880
|
* activate periodically. When cron is null or not provided, duration is optional.
|
|
@@ -1442,6 +1442,7 @@ const Joi = require("joi");
|
|
|
1442
1442
|
* @property {string} [item_type] - Type of the item in cart.
|
|
1443
1443
|
* @property {ArticleCharges[]} [charges] - Charges information which denotes
|
|
1444
1444
|
* types of charges and amount of charge applied to that product in cart.
|
|
1445
|
+
* @property {string} [added_on] - Date and time when the item was added to the cart.
|
|
1445
1446
|
*/
|
|
1446
1447
|
|
|
1447
1448
|
/**
|
|
@@ -2150,6 +2151,11 @@ const Joi = require("joi");
|
|
|
2150
2151
|
* applied to cart or not
|
|
2151
2152
|
* @property {string} [coupon_type] - Type of the coupon applied to cart
|
|
2152
2153
|
* @property {string} [expires_on] - Message to display to user for expiry of the coupon
|
|
2154
|
+
* @property {string} [expires_at] - Represents the last valid timeslot date on
|
|
2155
|
+
* which the coupon can be applied in ISO 8601 (UTC Z) format,based on its
|
|
2156
|
+
* configured schedule. If the coupon is restricted to specific days (e.g.,
|
|
2157
|
+
* Mondays and Thursdays), the expiry date will be the last eligible day
|
|
2158
|
+
* within the overall end date range, not necessarily the end date itself.
|
|
2153
2159
|
* @property {number} [coupon_value] - Coupon value of the coupon applied to cart
|
|
2154
2160
|
* @property {string} [sub_title] - Coupon subtitle of the coupon applied to
|
|
2155
2161
|
* cart which is used to display
|
|
@@ -3058,19 +3064,10 @@ const Joi = require("joi");
|
|
|
3058
3064
|
* @property {string} [rejected_on] - Date time format when the offer rejected
|
|
3059
3065
|
*/
|
|
3060
3066
|
|
|
3061
|
-
/**
|
|
3062
|
-
* @typedef NextScheduleItems
|
|
3063
|
-
* @property {string} [start] - Start date of schedule
|
|
3064
|
-
* @property {string} [end] - End date of schedule
|
|
3065
|
-
*/
|
|
3066
|
-
|
|
3067
3067
|
/**
|
|
3068
3068
|
* @typedef OfferSchedule
|
|
3069
3069
|
* @property {string} end - The end date and time until which the offer remains valid.
|
|
3070
3070
|
* @property {string} start - The start date and time from which the offer becomes valid.
|
|
3071
|
-
* @property {NextScheduleItems[]} [next_schedule] - A auto generated list of
|
|
3072
|
-
* date-time entries based on start, end, cron and duration data on which the
|
|
3073
|
-
* offer is scheduled to activate in the future.
|
|
3074
3071
|
* @property {string} [cron] - A cron expression used to schedule the offer to
|
|
3075
3072
|
* activate periodically. When cron is null or not provided, duration is optional.
|
|
3076
3073
|
* @property {number} [duration] - Duration of the offer activation in seconds.
|
|
@@ -4567,6 +4564,7 @@ class CartPlatformModel {
|
|
|
4567
4564
|
custom_order: Joi.object().pattern(/\S/, Joi.any()),
|
|
4568
4565
|
item_type: Joi.string().allow(""),
|
|
4569
4566
|
charges: Joi.array().items(CartPlatformModel.ArticleCharges()),
|
|
4567
|
+
added_on: Joi.string().allow("").allow(null),
|
|
4570
4568
|
});
|
|
4571
4569
|
}
|
|
4572
4570
|
|
|
@@ -5280,6 +5278,7 @@ class CartPlatformModel {
|
|
|
5280
5278
|
is_applied: Joi.boolean(),
|
|
5281
5279
|
coupon_type: Joi.string().allow("").allow(null),
|
|
5282
5280
|
expires_on: Joi.string().allow(""),
|
|
5281
|
+
expires_at: Joi.string().allow("").allow(null),
|
|
5283
5282
|
coupon_value: Joi.number(),
|
|
5284
5283
|
sub_title: Joi.string().allow(""),
|
|
5285
5284
|
minimum_cart_value: Joi.number(),
|
|
@@ -6153,20 +6152,11 @@ class CartPlatformModel {
|
|
|
6153
6152
|
});
|
|
6154
6153
|
}
|
|
6155
6154
|
|
|
6156
|
-
/** @returns {NextScheduleItems} */
|
|
6157
|
-
static NextScheduleItems() {
|
|
6158
|
-
return Joi.object({
|
|
6159
|
-
start: Joi.string().allow(""),
|
|
6160
|
-
end: Joi.string().allow(""),
|
|
6161
|
-
});
|
|
6162
|
-
}
|
|
6163
|
-
|
|
6164
6155
|
/** @returns {OfferSchedule} */
|
|
6165
6156
|
static OfferSchedule() {
|
|
6166
6157
|
return Joi.object({
|
|
6167
6158
|
end: Joi.string().allow("").required(),
|
|
6168
6159
|
start: Joi.string().allow("").required(),
|
|
6169
|
-
next_schedule: Joi.array().items(CartPlatformModel.NextScheduleItems()),
|
|
6170
6160
|
cron: Joi.string().allow("").allow(null),
|
|
6171
6161
|
duration: Joi.number().allow(null),
|
|
6172
6162
|
});
|
|
@@ -4971,6 +4971,7 @@ export = CatalogPlatformModel;
|
|
|
4971
4971
|
* | "profile-company"
|
|
4972
4972
|
* | "profile-email"
|
|
4973
4973
|
* | "profile-phone"
|
|
4974
|
+
* | "profile-loyalty-rewards"
|
|
4974
4975
|
* | "rate-us"
|
|
4975
4976
|
* | "refer-earn"
|
|
4976
4977
|
* | "settings"
|
|
@@ -15640,4 +15641,4 @@ type HsTypeEnum = "HS" | "SAC";
|
|
|
15640
15641
|
* @returns {PageType}
|
|
15641
15642
|
*/
|
|
15642
15643
|
declare function PageType(): PageType;
|
|
15643
|
-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
15644
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-email" | "profile-phone" | "profile-loyalty-rewards" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us" | "single-page-checkout" | "request-reattempt" | "files";
|
|
@@ -5453,6 +5453,7 @@ const Joi = require("joi");
|
|
|
5453
5453
|
* | "profile-company"
|
|
5454
5454
|
* | "profile-email"
|
|
5455
5455
|
* | "profile-phone"
|
|
5456
|
+
* | "profile-loyalty-rewards"
|
|
5456
5457
|
* | "rate-us"
|
|
5457
5458
|
* | "refer-earn"
|
|
5458
5459
|
* | "settings"
|
|
@@ -11316,6 +11317,8 @@ class CatalogPlatformModel {
|
|
|
11316
11317
|
|
|
11317
11318
|
"profile-phone",
|
|
11318
11319
|
|
|
11320
|
+
"profile-loyalty-rewards",
|
|
11321
|
+
|
|
11319
11322
|
"rate-us",
|
|
11320
11323
|
|
|
11321
11324
|
"refer-earn",
|
|
@@ -83,6 +83,18 @@ declare class Content {
|
|
|
83
83
|
* @description: Generate and add a new announcement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/createAnnouncement/).
|
|
84
84
|
*/
|
|
85
85
|
createAnnouncement({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateAnnouncementParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CreateAnnouncementSchema>;
|
|
86
|
+
/**
|
|
87
|
+
* @param {ContentPlatformApplicationValidator.CreateAppAssociationParam} arg
|
|
88
|
+
* - Arg object
|
|
89
|
+
*
|
|
90
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
91
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
92
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
93
|
+
* @name createAppAssociation
|
|
94
|
+
* @summary: Create app association
|
|
95
|
+
* @description: Create-only. Returns 409 if a record already exists for this application (caller should use PUT to update). 422 on shape/size violations. Body fields `ios_payload` (object|null) and `android_payload` (array|null) are both optional and independent. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/createAppAssociation/).
|
|
96
|
+
*/
|
|
97
|
+
createAppAssociation({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateAppAssociationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.AppAssociationRecord>;
|
|
86
98
|
/**
|
|
87
99
|
* @param {ContentPlatformApplicationValidator.CreateAppCustomFieldDefinitionParam} arg
|
|
88
100
|
* - Arg object
|
|
@@ -226,6 +238,18 @@ declare class Content {
|
|
|
226
238
|
* @description: Remove a specific announcement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/deleteAnnouncement/).
|
|
227
239
|
*/
|
|
228
240
|
deleteAnnouncement({ announcementId, requestHeaders }?: ContentPlatformApplicationValidator.DeleteAnnouncementParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CreateAnnouncementSchema>;
|
|
241
|
+
/**
|
|
242
|
+
* @param {ContentPlatformApplicationValidator.DeleteAppAssociationParam} arg
|
|
243
|
+
* - Arg object
|
|
244
|
+
*
|
|
245
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
246
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
247
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationDeleted>} - Success response
|
|
248
|
+
* @name deleteAppAssociation
|
|
249
|
+
* @summary: Delete app association
|
|
250
|
+
* @description: Remove the app-association record entirely. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/deleteAppAssociation/).
|
|
251
|
+
*/
|
|
252
|
+
deleteAppAssociation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.AppAssociationDeleted>;
|
|
229
253
|
/**
|
|
230
254
|
* @param {ContentPlatformApplicationValidator.DeleteAppCustomFieldDefinitionBySlugParam} arg
|
|
231
255
|
* - Arg object
|
|
@@ -471,6 +495,18 @@ declare class Content {
|
|
|
471
495
|
* @description: Lists all announcements - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/getAnnouncementsList/).
|
|
472
496
|
*/
|
|
473
497
|
getAnnouncementsList({ pageNo, pageSize, requestHeaders }?: ContentPlatformApplicationValidator.GetAnnouncementsListParam, { responseHeaders }?: object): Promise<ContentPlatformModel.GetAnnouncementListSchema>;
|
|
498
|
+
/**
|
|
499
|
+
* @param {ContentPlatformApplicationValidator.GetAppAssociationParam} arg
|
|
500
|
+
* - Arg object
|
|
501
|
+
*
|
|
502
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
503
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
504
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
505
|
+
* @name getAppAssociation
|
|
506
|
+
* @summary: Get app association
|
|
507
|
+
* @description: Fetch the app-association configuration (Apple AASA + Google Asset Links payloads) for this application. Returns 404 if no record exists. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/getAppAssociation/).
|
|
508
|
+
*/
|
|
509
|
+
getAppAssociation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.AppAssociationRecord>;
|
|
474
510
|
/**
|
|
475
511
|
* @param {ContentPlatformApplicationValidator.GetAppCustomFieldDefinitionByResourceParam} arg
|
|
476
512
|
* - Arg object
|
|
@@ -1034,6 +1070,18 @@ declare class Content {
|
|
|
1034
1070
|
* @description: Modify the scheduling of a specific announcement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateAnnouncementSchedule/).
|
|
1035
1071
|
*/
|
|
1036
1072
|
updateAnnouncementSchedule({ announcementId, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateAnnouncementScheduleParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CreateAnnouncementSchema>;
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {ContentPlatformApplicationValidator.UpdateAppAssociationParam} arg
|
|
1075
|
+
* - Arg object
|
|
1076
|
+
*
|
|
1077
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1078
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1079
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
1080
|
+
* @name updateAppAssociation
|
|
1081
|
+
* @summary: Update app association
|
|
1082
|
+
* @description: Update-only. Returns 404 if no record exists (caller should use POST to create). Partial-update semantics: keys present are written (explicit null clears the field); keys absent are no-op. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateAppAssociation/).
|
|
1083
|
+
*/
|
|
1084
|
+
updateAppAssociation({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateAppAssociationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.AppAssociationRecord>;
|
|
1037
1085
|
/**
|
|
1038
1086
|
* @param {ContentPlatformApplicationValidator.UpdateAppCustomFieldByResourceSlugParam} arg
|
|
1039
1087
|
* - Arg object
|