@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +11 -11
- package/sdk/application/Cart/CartApplicationClient.js +343 -48
- package/sdk/application/Catalog/CatalogApplicationClient.js +408 -0
- package/sdk/application/Common/CommonApplicationClient.js +21 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +147 -0
- package/sdk/application/Content/ContentApplicationClient.d.ts +20 -0
- package/sdk/application/Content/ContentApplicationClient.js +327 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +43 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +21 -0
- package/sdk/application/Lead/LeadApplicationClient.js +73 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.js +182 -2
- package/sdk/application/Order/OrderApplicationClient.js +202 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -10
- package/sdk/application/Payment/PaymentApplicationClient.js +445 -38
- package/sdk/application/Rewards/RewardsApplicationClient.js +68 -0
- package/sdk/application/Share/ShareApplicationClient.js +96 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +64 -0
- package/sdk/application/User/UserApplicationClient.js +412 -0
- package/sdk/application/Webhook/WebhookApplicationClient.js +13 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +12 -33
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +38 -209
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +19 -399
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +11 -212
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -3
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -22
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
- package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +12 -3
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -1
- package/sdk/platform/Cart/CartPlatformModel.d.ts +14 -28
- package/sdk/platform/Cart/CartPlatformModel.js +7 -13
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -24
- package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -176
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +29 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.js +32 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -45
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -35
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +52 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +411 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +85 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +73 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +90 -1
- package/sdk/platform/Content/ContentPlatformModel.js +104 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.js +0 -8
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3 -75
- package/sdk/platform/Order/OrderPlatformModel.js +2 -43
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +0 -22
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +118 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +53 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +29 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +0 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +74 -816
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -191
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +0 -138
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
- package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
- package/sdk/public/Configuration/ConfigurationPublicClient.js +16 -0
- package/sdk/public/Content/ContentPublicClient.js +116 -0
- package/sdk/public/Partner/PartnerPublicClient.js +15 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +40 -0
|
@@ -1000,6 +1000,8 @@ export = CartPlatformModel;
|
|
|
1000
1000
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
1001
1001
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
1002
1002
|
* @property {number} [amount] - Per unit discount amount applied with current promotion
|
|
1003
|
+
* @property {string} [float_amount] - Per unit discount amount with decimal
|
|
1004
|
+
* values applied with current promotion.
|
|
1003
1005
|
* @property {string} [promotion_type] - Promotion type of current promotion
|
|
1004
1006
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
1005
1007
|
* product MRP or ESP
|
|
@@ -1968,10 +1970,6 @@ export = CartPlatformModel;
|
|
|
1968
1970
|
* @property {string} [network]
|
|
1969
1971
|
* @property {string} [type]
|
|
1970
1972
|
* @property {string} [card_id]
|
|
1971
|
-
* @property {string} [success_callback_url] - Success callback url to be
|
|
1972
|
-
* redirected after payment received
|
|
1973
|
-
* @property {string} [failure_callback_url] - Failure callback url to be
|
|
1974
|
-
* redirected after payment failed
|
|
1975
1973
|
*/
|
|
1976
1974
|
/**
|
|
1977
1975
|
* @typedef CheckCart
|
|
@@ -2170,10 +2168,6 @@ export = CartPlatformModel;
|
|
|
2170
2168
|
* the payment
|
|
2171
2169
|
* @property {string} [type] - Type of cart if payment mode is card to do the payment
|
|
2172
2170
|
* @property {string} [card_id] - Saved card id if payment mode is card to do the payment
|
|
2173
|
-
* @property {string} [success_callback_url] - Success callback url to be
|
|
2174
|
-
* redirected after payment received
|
|
2175
|
-
* @property {string} [failure_callback_url] - Failure callback url to be
|
|
2176
|
-
* redirected after payment failed
|
|
2177
2171
|
*/
|
|
2178
2172
|
/**
|
|
2179
2173
|
* @typedef UpdateCartPaymentRequestV2
|
|
@@ -2233,6 +2227,8 @@ export = CartPlatformModel;
|
|
|
2233
2227
|
* @property {Object[]} [discount_rules] - Discount rules of promotions
|
|
2234
2228
|
* @property {FreeGiftItems[]} [free_gift_items] - Details of free gift items
|
|
2235
2229
|
* @property {string} [description] - Offer details including T&C
|
|
2230
|
+
* @property {boolean} [is_bank_offer] - Indicates whether the promotion is
|
|
2231
|
+
* associated with a bank offer.
|
|
2236
2232
|
*/
|
|
2237
2233
|
/**
|
|
2238
2234
|
* @typedef PromotionOffersDetails
|
|
@@ -4721,6 +4717,11 @@ type AppliedPromotion = {
|
|
|
4721
4717
|
* - Per unit discount amount applied with current promotion
|
|
4722
4718
|
*/
|
|
4723
4719
|
amount?: number;
|
|
4720
|
+
/**
|
|
4721
|
+
* - Per unit discount amount with decimal
|
|
4722
|
+
* values applied with current promotion.
|
|
4723
|
+
*/
|
|
4724
|
+
float_amount?: string;
|
|
4724
4725
|
/**
|
|
4725
4726
|
* - Promotion type of current promotion
|
|
4726
4727
|
*/
|
|
@@ -7189,16 +7190,6 @@ type PlatformCartCheckoutDetailCreation = {
|
|
|
7189
7190
|
network?: string;
|
|
7190
7191
|
type?: string;
|
|
7191
7192
|
card_id?: string;
|
|
7192
|
-
/**
|
|
7193
|
-
* - Success callback url to be
|
|
7194
|
-
* redirected after payment received
|
|
7195
|
-
*/
|
|
7196
|
-
success_callback_url?: string;
|
|
7197
|
-
/**
|
|
7198
|
-
* - Failure callback url to be
|
|
7199
|
-
* redirected after payment failed
|
|
7200
|
-
*/
|
|
7201
|
-
failure_callback_url?: string;
|
|
7202
7193
|
};
|
|
7203
7194
|
/** @returns {CheckCart} */
|
|
7204
7195
|
declare function CheckCart(): CheckCart;
|
|
@@ -7727,16 +7718,6 @@ type PlatformCartCheckoutDetailV2Creation = {
|
|
|
7727
7718
|
* - Saved card id if payment mode is card to do the payment
|
|
7728
7719
|
*/
|
|
7729
7720
|
card_id?: string;
|
|
7730
|
-
/**
|
|
7731
|
-
* - Success callback url to be
|
|
7732
|
-
* redirected after payment received
|
|
7733
|
-
*/
|
|
7734
|
-
success_callback_url?: string;
|
|
7735
|
-
/**
|
|
7736
|
-
* - Failure callback url to be
|
|
7737
|
-
* redirected after payment failed
|
|
7738
|
-
*/
|
|
7739
|
-
failure_callback_url?: string;
|
|
7740
7721
|
};
|
|
7741
7722
|
/** @returns {UpdateCartPaymentRequestV2} */
|
|
7742
7723
|
declare function UpdateCartPaymentRequestV2(): UpdateCartPaymentRequestV2;
|
|
@@ -7886,6 +7867,11 @@ type PromotionOffer = {
|
|
|
7886
7867
|
* - Offer details including T&C
|
|
7887
7868
|
*/
|
|
7888
7869
|
description?: string;
|
|
7870
|
+
/**
|
|
7871
|
+
* - Indicates whether the promotion is
|
|
7872
|
+
* associated with a bank offer.
|
|
7873
|
+
*/
|
|
7874
|
+
is_bank_offer?: boolean;
|
|
7889
7875
|
};
|
|
7890
7876
|
/** @returns {PromotionOffersDetails} */
|
|
7891
7877
|
declare function PromotionOffersDetails(): PromotionOffersDetails;
|
|
@@ -1096,6 +1096,8 @@ const Joi = require("joi");
|
|
|
1096
1096
|
* @property {BuyRules[]} [buy_rules] - Buy rules for promotions
|
|
1097
1097
|
* @property {string} [offer_text] - Offer text of current promotion
|
|
1098
1098
|
* @property {number} [amount] - Per unit discount amount applied with current promotion
|
|
1099
|
+
* @property {string} [float_amount] - Per unit discount amount with decimal
|
|
1100
|
+
* values applied with current promotion.
|
|
1099
1101
|
* @property {string} [promotion_type] - Promotion type of current promotion
|
|
1100
1102
|
* @property {boolean} [mrp_promotion] - If applied promotion is applied on
|
|
1101
1103
|
* product MRP or ESP
|
|
@@ -2148,10 +2150,6 @@ const Joi = require("joi");
|
|
|
2148
2150
|
* @property {string} [network]
|
|
2149
2151
|
* @property {string} [type]
|
|
2150
2152
|
* @property {string} [card_id]
|
|
2151
|
-
* @property {string} [success_callback_url] - Success callback url to be
|
|
2152
|
-
* redirected after payment received
|
|
2153
|
-
* @property {string} [failure_callback_url] - Failure callback url to be
|
|
2154
|
-
* redirected after payment failed
|
|
2155
2153
|
*/
|
|
2156
2154
|
|
|
2157
2155
|
/**
|
|
@@ -2362,10 +2360,6 @@ const Joi = require("joi");
|
|
|
2362
2360
|
* the payment
|
|
2363
2361
|
* @property {string} [type] - Type of cart if payment mode is card to do the payment
|
|
2364
2362
|
* @property {string} [card_id] - Saved card id if payment mode is card to do the payment
|
|
2365
|
-
* @property {string} [success_callback_url] - Success callback url to be
|
|
2366
|
-
* redirected after payment received
|
|
2367
|
-
* @property {string} [failure_callback_url] - Failure callback url to be
|
|
2368
|
-
* redirected after payment failed
|
|
2369
2363
|
*/
|
|
2370
2364
|
|
|
2371
2365
|
/**
|
|
@@ -2431,6 +2425,8 @@ const Joi = require("joi");
|
|
|
2431
2425
|
* @property {Object[]} [discount_rules] - Discount rules of promotions
|
|
2432
2426
|
* @property {FreeGiftItems[]} [free_gift_items] - Details of free gift items
|
|
2433
2427
|
* @property {string} [description] - Offer details including T&C
|
|
2428
|
+
* @property {boolean} [is_bank_offer] - Indicates whether the promotion is
|
|
2429
|
+
* associated with a bank offer.
|
|
2434
2430
|
*/
|
|
2435
2431
|
|
|
2436
2432
|
/**
|
|
@@ -2961,7 +2957,7 @@ class CartPlatformModel {
|
|
|
2961
2957
|
static PromotionAction() {
|
|
2962
2958
|
return Joi.object({
|
|
2963
2959
|
action_date: Joi.string().allow("").allow(null),
|
|
2964
|
-
action_type: Joi.string().allow(""),
|
|
2960
|
+
action_type: Joi.string().allow("").allow(null),
|
|
2965
2961
|
});
|
|
2966
2962
|
}
|
|
2967
2963
|
|
|
@@ -3625,6 +3621,7 @@ class CartPlatformModel {
|
|
|
3625
3621
|
buy_rules: Joi.array().items(CartPlatformModel.BuyRules()),
|
|
3626
3622
|
offer_text: Joi.string().allow(""),
|
|
3627
3623
|
amount: Joi.number(),
|
|
3624
|
+
float_amount: Joi.string().allow(""),
|
|
3628
3625
|
promotion_type: Joi.string().allow(""),
|
|
3629
3626
|
mrp_promotion: Joi.boolean(),
|
|
3630
3627
|
promotion_group: Joi.string().allow(""),
|
|
@@ -4714,8 +4711,6 @@ class CartPlatformModel {
|
|
|
4714
4711
|
network: Joi.string().allow(""),
|
|
4715
4712
|
type: Joi.string().allow(""),
|
|
4716
4713
|
card_id: Joi.string().allow(""),
|
|
4717
|
-
success_callback_url: Joi.string().allow("").allow(null),
|
|
4718
|
-
failure_callback_url: Joi.string().allow("").allow(null),
|
|
4719
4714
|
});
|
|
4720
4715
|
}
|
|
4721
4716
|
|
|
@@ -4915,8 +4910,6 @@ class CartPlatformModel {
|
|
|
4915
4910
|
network: Joi.string().allow(""),
|
|
4916
4911
|
type: Joi.string().allow(""),
|
|
4917
4912
|
card_id: Joi.string().allow(""),
|
|
4918
|
-
success_callback_url: Joi.string().allow("").allow(null),
|
|
4919
|
-
failure_callback_url: Joi.string().allow("").allow(null),
|
|
4920
4913
|
});
|
|
4921
4914
|
}
|
|
4922
4915
|
|
|
@@ -4986,6 +4979,7 @@ class CartPlatformModel {
|
|
|
4986
4979
|
discount_rules: Joi.array().items(Joi.any()),
|
|
4987
4980
|
free_gift_items: Joi.array().items(CartPlatformModel.FreeGiftItems()),
|
|
4988
4981
|
description: Joi.string().allow(""),
|
|
4982
|
+
is_bank_offer: Joi.boolean(),
|
|
4989
4983
|
});
|
|
4990
4984
|
}
|
|
4991
4985
|
|
|
@@ -961,30 +961,6 @@ declare class Catalog {
|
|
|
961
961
|
* @description: Allows to add Inventory for particular size and selling location. for associated companies - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateInventories/).
|
|
962
962
|
*/
|
|
963
963
|
updateInventories({ body, requestHeaders }?: CatalogPlatformValidator.UpdateInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryUpdateResponseSchema>;
|
|
964
|
-
/**
|
|
965
|
-
* @param {CatalogPlatformValidator.UpdateLocationPriceParam} arg - Arg object
|
|
966
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
967
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
968
|
-
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
969
|
-
* - Success response
|
|
970
|
-
*
|
|
971
|
-
* @name updateLocationPrice
|
|
972
|
-
* @summary: Update an Article Price
|
|
973
|
-
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationPrice/).
|
|
974
|
-
*/
|
|
975
|
-
updateLocationPrice({ storeId, sellerIdentifier, body, requestHeaders }?: CatalogPlatformValidator.UpdateLocationPriceParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>;
|
|
976
|
-
/**
|
|
977
|
-
* @param {CatalogPlatformValidator.UpdateLocationQuantityParam} arg - Arg object
|
|
978
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
979
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
980
|
-
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
981
|
-
* - Success response
|
|
982
|
-
*
|
|
983
|
-
* @name updateLocationQuantity
|
|
984
|
-
* @summary: Update an Article Quantity
|
|
985
|
-
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationQuantity/).
|
|
986
|
-
*/
|
|
987
|
-
updateLocationQuantity({ storeId, sellerIdentifier, body, requestHeaders }?: CatalogPlatformValidator.UpdateLocationQuantityParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>;
|
|
988
964
|
/**
|
|
989
965
|
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
990
966
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -6210,182 +6210,6 @@ class Catalog {
|
|
|
6210
6210
|
return response;
|
|
6211
6211
|
}
|
|
6212
6212
|
|
|
6213
|
-
/**
|
|
6214
|
-
* @param {CatalogPlatformValidator.UpdateLocationPriceParam} arg - Arg object
|
|
6215
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6216
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6217
|
-
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
6218
|
-
* - Success response
|
|
6219
|
-
*
|
|
6220
|
-
* @name updateLocationPrice
|
|
6221
|
-
* @summary: Update an Article Price
|
|
6222
|
-
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationPrice/).
|
|
6223
|
-
*/
|
|
6224
|
-
async updateLocationPrice(
|
|
6225
|
-
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
6226
|
-
requestHeaders: {},
|
|
6227
|
-
},
|
|
6228
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
6229
|
-
) {
|
|
6230
|
-
const { error } = CatalogPlatformValidator.updateLocationPrice().validate(
|
|
6231
|
-
{
|
|
6232
|
-
storeId,
|
|
6233
|
-
sellerIdentifier,
|
|
6234
|
-
body,
|
|
6235
|
-
},
|
|
6236
|
-
{ abortEarly: false, allowUnknown: true }
|
|
6237
|
-
);
|
|
6238
|
-
if (error) {
|
|
6239
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
6240
|
-
}
|
|
6241
|
-
|
|
6242
|
-
// Showing warrnings if extra unknown parameters are found
|
|
6243
|
-
const {
|
|
6244
|
-
error: warrning,
|
|
6245
|
-
} = CatalogPlatformValidator.updateLocationPrice().validate(
|
|
6246
|
-
{
|
|
6247
|
-
storeId,
|
|
6248
|
-
sellerIdentifier,
|
|
6249
|
-
body,
|
|
6250
|
-
},
|
|
6251
|
-
{ abortEarly: false, allowUnknown: false }
|
|
6252
|
-
);
|
|
6253
|
-
if (warrning) {
|
|
6254
|
-
Logger({
|
|
6255
|
-
level: "WARN",
|
|
6256
|
-
message: `Parameter Validation warrnings for platform > Catalog > updateLocationPrice \n ${warrning}`,
|
|
6257
|
-
});
|
|
6258
|
-
}
|
|
6259
|
-
|
|
6260
|
-
const query_params = {};
|
|
6261
|
-
|
|
6262
|
-
const xHeaders = {};
|
|
6263
|
-
|
|
6264
|
-
const response = await PlatformAPIClient.execute(
|
|
6265
|
-
this.config,
|
|
6266
|
-
"post",
|
|
6267
|
-
`/service/platform/catalog/v1.0/company/${this.config.companyId}/store/${storeId}/identifier/${sellerIdentifier}/price`,
|
|
6268
|
-
query_params,
|
|
6269
|
-
body,
|
|
6270
|
-
{ ...xHeaders, ...requestHeaders },
|
|
6271
|
-
{ responseHeaders }
|
|
6272
|
-
);
|
|
6273
|
-
|
|
6274
|
-
let responseData = response;
|
|
6275
|
-
if (responseHeaders) {
|
|
6276
|
-
responseData = response[0];
|
|
6277
|
-
}
|
|
6278
|
-
|
|
6279
|
-
const {
|
|
6280
|
-
error: res_error,
|
|
6281
|
-
} = CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema().validate(
|
|
6282
|
-
responseData,
|
|
6283
|
-
{ abortEarly: false, allowUnknown: true }
|
|
6284
|
-
);
|
|
6285
|
-
|
|
6286
|
-
if (res_error) {
|
|
6287
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
6288
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
6289
|
-
} else {
|
|
6290
|
-
Logger({
|
|
6291
|
-
level: "WARN",
|
|
6292
|
-
message: `Response Validation Warnings for platform > Catalog > updateLocationPrice \n ${res_error}`,
|
|
6293
|
-
});
|
|
6294
|
-
}
|
|
6295
|
-
}
|
|
6296
|
-
|
|
6297
|
-
return response;
|
|
6298
|
-
}
|
|
6299
|
-
|
|
6300
|
-
/**
|
|
6301
|
-
* @param {CatalogPlatformValidator.UpdateLocationQuantityParam} arg - Arg object
|
|
6302
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6303
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6304
|
-
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
6305
|
-
* - Success response
|
|
6306
|
-
*
|
|
6307
|
-
* @name updateLocationQuantity
|
|
6308
|
-
* @summary: Update an Article Quantity
|
|
6309
|
-
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationQuantity/).
|
|
6310
|
-
*/
|
|
6311
|
-
async updateLocationQuantity(
|
|
6312
|
-
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
6313
|
-
requestHeaders: {},
|
|
6314
|
-
},
|
|
6315
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
6316
|
-
) {
|
|
6317
|
-
const {
|
|
6318
|
-
error,
|
|
6319
|
-
} = CatalogPlatformValidator.updateLocationQuantity().validate(
|
|
6320
|
-
{
|
|
6321
|
-
storeId,
|
|
6322
|
-
sellerIdentifier,
|
|
6323
|
-
body,
|
|
6324
|
-
},
|
|
6325
|
-
{ abortEarly: false, allowUnknown: true }
|
|
6326
|
-
);
|
|
6327
|
-
if (error) {
|
|
6328
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
6329
|
-
}
|
|
6330
|
-
|
|
6331
|
-
// Showing warrnings if extra unknown parameters are found
|
|
6332
|
-
const {
|
|
6333
|
-
error: warrning,
|
|
6334
|
-
} = CatalogPlatformValidator.updateLocationQuantity().validate(
|
|
6335
|
-
{
|
|
6336
|
-
storeId,
|
|
6337
|
-
sellerIdentifier,
|
|
6338
|
-
body,
|
|
6339
|
-
},
|
|
6340
|
-
{ abortEarly: false, allowUnknown: false }
|
|
6341
|
-
);
|
|
6342
|
-
if (warrning) {
|
|
6343
|
-
Logger({
|
|
6344
|
-
level: "WARN",
|
|
6345
|
-
message: `Parameter Validation warrnings for platform > Catalog > updateLocationQuantity \n ${warrning}`,
|
|
6346
|
-
});
|
|
6347
|
-
}
|
|
6348
|
-
|
|
6349
|
-
const query_params = {};
|
|
6350
|
-
|
|
6351
|
-
const xHeaders = {};
|
|
6352
|
-
|
|
6353
|
-
const response = await PlatformAPIClient.execute(
|
|
6354
|
-
this.config,
|
|
6355
|
-
"post",
|
|
6356
|
-
`/service/platform/catalog/v1.0/company/${this.config.companyId}/store/${storeId}/identifier/${sellerIdentifier}/quantity`,
|
|
6357
|
-
query_params,
|
|
6358
|
-
body,
|
|
6359
|
-
{ ...xHeaders, ...requestHeaders },
|
|
6360
|
-
{ responseHeaders }
|
|
6361
|
-
);
|
|
6362
|
-
|
|
6363
|
-
let responseData = response;
|
|
6364
|
-
if (responseHeaders) {
|
|
6365
|
-
responseData = response[0];
|
|
6366
|
-
}
|
|
6367
|
-
|
|
6368
|
-
const {
|
|
6369
|
-
error: res_error,
|
|
6370
|
-
} = CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema().validate(
|
|
6371
|
-
responseData,
|
|
6372
|
-
{ abortEarly: false, allowUnknown: true }
|
|
6373
|
-
);
|
|
6374
|
-
|
|
6375
|
-
if (res_error) {
|
|
6376
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
6377
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
6378
|
-
} else {
|
|
6379
|
-
Logger({
|
|
6380
|
-
level: "WARN",
|
|
6381
|
-
message: `Response Validation Warnings for platform > Catalog > updateLocationQuantity \n ${res_error}`,
|
|
6382
|
-
});
|
|
6383
|
-
}
|
|
6384
|
-
}
|
|
6385
|
-
|
|
6386
|
-
return response;
|
|
6387
|
-
}
|
|
6388
|
-
|
|
6389
6213
|
/**
|
|
6390
6214
|
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
6391
6215
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -5,10 +5,6 @@ export = CatalogPlatformModel;
|
|
|
5
5
|
* @property {ActionPage} [page]
|
|
6
6
|
* @property {ActionPage} [popup]
|
|
7
7
|
*/
|
|
8
|
-
/**
|
|
9
|
-
* @typedef ValidationErrors
|
|
10
|
-
* @property {ValidationError[]} errors
|
|
11
|
-
*/
|
|
12
8
|
/**
|
|
13
9
|
* @typedef AllSizes
|
|
14
10
|
* @property {ValidateIdentifier[]} [identifiers] - A collection of identifiers
|
|
@@ -2611,21 +2607,6 @@ export = CatalogPlatformModel;
|
|
|
2611
2607
|
* @property {string} [end] - The end time of the schedule.
|
|
2612
2608
|
* @property {string} [start] - The start time of the schedule.
|
|
2613
2609
|
*/
|
|
2614
|
-
/**
|
|
2615
|
-
* @typedef LocationPriceRequestSchema
|
|
2616
|
-
* @property {number} price_effective - The effective price of the inventory item.
|
|
2617
|
-
* @property {number} price_marked - The marked price of the inventory item.
|
|
2618
|
-
* @property {string[]} [tags] - Tags associated with inventory item.
|
|
2619
|
-
*/
|
|
2620
|
-
/**
|
|
2621
|
-
* @typedef LocationQuantityRequestSchema
|
|
2622
|
-
* @property {string} [expiration_date] - The expiration date of the inventory item.
|
|
2623
|
-
* @property {number} total_quantity - The total quantity of the inventory item.
|
|
2624
|
-
*/
|
|
2625
|
-
/**
|
|
2626
|
-
* @typedef LocationPriceQuantitySuccessResponseSchema
|
|
2627
|
-
* @property {string} message - It is the success message of the price/quantity update.
|
|
2628
|
-
*/
|
|
2629
2610
|
/**
|
|
2630
2611
|
* @typedef OptInPostRequestSchema
|
|
2631
2612
|
* @property {number[]} [brand_ids]
|
|
@@ -3715,7 +3696,7 @@ export = CatalogPlatformModel;
|
|
|
3715
3696
|
/**
|
|
3716
3697
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
3717
3698
|
* @property {string} [url]
|
|
3718
|
-
* @property {ApplicationItemSeoAction} [action]
|
|
3699
|
+
* @property {ApplicationItemSeoAction[]} [action]
|
|
3719
3700
|
*/
|
|
3720
3701
|
/**
|
|
3721
3702
|
* @typedef ApplicationCollectionItemSeoBreadcrumbs
|
|
@@ -4236,11 +4217,6 @@ export = CatalogPlatformModel;
|
|
|
4236
4217
|
* @property {string} [url] - The URL for the action.
|
|
4237
4218
|
* @property {PageType} type
|
|
4238
4219
|
*/
|
|
4239
|
-
/**
|
|
4240
|
-
* @typedef ValidationError
|
|
4241
|
-
* @property {string} message - A brief description of the error encountered.
|
|
4242
|
-
* @property {string} field - The field in the request that caused the error.
|
|
4243
|
-
*/
|
|
4244
4220
|
/**
|
|
4245
4221
|
* @typedef Price1
|
|
4246
4222
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4265,6 +4241,15 @@ export = CatalogPlatformModel;
|
|
|
4265
4241
|
* @property {string} value - The value of the metadata. Should be a non-empty
|
|
4266
4242
|
* string and length should not exceed 100 characters.
|
|
4267
4243
|
*/
|
|
4244
|
+
/**
|
|
4245
|
+
* @typedef ValidationErrors
|
|
4246
|
+
* @property {ValidationError[]} errors
|
|
4247
|
+
*/
|
|
4248
|
+
/**
|
|
4249
|
+
* @typedef ValidationError
|
|
4250
|
+
* @property {string} message - A brief description of the error encountered.
|
|
4251
|
+
* @property {string} field - The field in the request that caused the error.
|
|
4252
|
+
*/
|
|
4268
4253
|
/**
|
|
4269
4254
|
* @typedef {| "about-us"
|
|
4270
4255
|
* | "addresses"
|
|
@@ -4319,7 +4304,7 @@ export = CatalogPlatformModel;
|
|
|
4319
4304
|
declare class CatalogPlatformModel {
|
|
4320
4305
|
}
|
|
4321
4306
|
declare namespace CatalogPlatformModel {
|
|
4322
|
-
export { Action,
|
|
4307
|
+
export { Action, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponseSchema, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSchema, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponseSchema, Brand, BrandItem, BrandListingResponseSchema, ApplicationBrandListingItemSchema, ApplicationBrandListingSchema, ApplicationCategoryListingSchema, ApplicationCategoryListingItemSchema, BrandMeta, InventoryBrandMeta, BulkAssetResponseSchema, BulkHsnResponseSchema, BulkHsnUpsert, BulkInventoryGet, FailedRecord, BulkInventoryGetItems, BulkProductJob, BulkJob, BulkProductRequestSchema, BulkResponseSchema, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponseSchema, CategoriesResponseSchema, Category, CategoryItems, CategoryListingResponseSchema, CategoryMapping, CategoryMappingValues, CategoryResponseSchema, Child, CollectionBadge, CollectionBanner, CollectionCreateResponseSchema, CollectionDetailResponseSchema, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, InventoryCompanyMeta, CompanyOptIn, ConfigErrorResponseSchema, ConfigSuccessResponseSchema, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponseSchema, CreateCollection, CreateSearchConfigurationRequestSchema, CreateSearchConfigurationResponseSchema, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponseSchema, CustomOrder, DateMeta, DefaultKeyRequestSchema, DeleteAppCategoryReturnConfig, DeleteProductRequestBody, DeleteResponseSchema, DeleteSearchConfigurationResponseSchema, Department, DepartmentCategoryTree, DepartmentErrorResponseSchema, DepartmentIdentifier, DepartmentResponseSchema, DepartmentsResponseSchema, DimensionResponseSchema, InventoryDimensionResponseSchema, Document, EntityConfiguration, ErrorResponseSchema, FilerList, RawProduct, RawProductListingResponseSchema, GTIN, AttributeDetail, LatLong, ApplicationLocationAddressSchema, GetAddressSchema, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponseSchema, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponseSchema, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProductBundleCreateResponseSchema, GetProductBundleListingResponseSchema, GetProductBundleResponseSchema, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponseSchema, GetSearchWordsData, GetSearchWordsDetailResponseSchema, GetSearchWordsResponseSchema, GlobalValidation, Guide, HSNCodesResponseSchema, HSNData, CreatedBySchema, ModifiedBySchema, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequestSchema, InventoryConfig, InventoryCreateRequestSchema, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponseSchema, InventoryExportQuantityFilter, InventoryExportRequestSchema, InventoryExportResponseSchema, InventoryFailedReason, InventoryJobDetailResponseSchema, InventoryJobFilters, InventoryJobPayload, InventoryPage, AddInventoryRequestPayload, InventoryPayload, InventoryRequestSchema, InventoryRequestSchemaV2, InventoryResponseSchema, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, ApplicationInventorySellerIdentifierResponsePaginated, InventorySellerResponseSchema, ApplicationInventorySellerResponseSchema, InventorySet, InventoryStockResponseSchema, InventoryUpdateResponseSchema, InventoryValidationResponseSchema, InvoiceCredSchema, InvoiceDetailsSchema, ItemQuery, Items, LimitedProductData, SizeGuideItem, ListSizeGuide, LocationDayWiseSchema, LocationIntegrationType, LocationListSchema, LocationManagerSchema, LocationTimingSchema, Logo, MOQData, ManufacturerResponseSchema, InventoryManufacturerResponseSchema, Media, Media1, DepartmentMedia, BrandMedia, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductBundleItem, ProductBundleRequestSchema, ProductBundleUpdateRequestSchema, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponseSchema, CollectionProductFilters, ProductFilters, GetQueryFiltersValuesResponseSchema, ProductFiltersKeysOnly, ProductFiltersKey, ProductQueryFiltersValue, CollectionProductFiltersValue, ProductFiltersValue, CollectionProductListingDetail, ProductCategory, ApplicationCategoryAction, ApplicationCategoryItem, ApplicationProductMedia, ApplicationProductCategoryItem, CategoryPageAction, CategoryQuery, CategoryImage, ProductListingDetail, ActionObject, PageAction, ProductListingPrice, ProductListingResponseSchema, ProductListingResponseV2, ProductPublish, ProductPublished, ProductReturnConfigSchema, ProductReturnConfigBaseSchema, Identifier, SizeDetails, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponseSchema, ProductSizeDeleteResponseSchema, CollectionProductSortOn, ProductSortOn, ProductTagsViewResponseSchema, CreatedBy, ModifiedBy, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequestSchema, ProductTemplateExportResponseSchema, ProductVariants, ProductVariantsResponseSchema, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, InventoryReturnConfig, ReturnConfig2, ReturnConfigResponseSchema, Sitemap, PageQuery, ApplicationCollectionItemSeoPage, ApplicationCollectionItemSeoAction, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationCollectionItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, CollectionSeoDetail, SeoDetail, SetSize, SingleCategoryResponseSchema, SingleProductResponseSchema, Size, SizeDistribution, SizeGuideResponseSchema, StoreAssignResponseSchema, StoreDetail, StoreMeta, SuccessResponseSchema, SuccessResponseObject, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplateGlobalValidationData, TemplateValidationData, TemplatesResponseSchema, TemplatesGlobalValidationResponseSchema, TemplatesValidationResponseSchema, ThirdLevelChild, Trader, Trader1, TraderResponseSchema, UpdateCollection, UpdateSearchConfigurationRequestSchema, UpdateSearchConfigurationResponseSchema, CreateMarketplaceOptinResponseSchema, UserCommon, UserDetail, UserDetail1, UserInfo, UserSchema, RequestUserSchema, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponseSchema, InventoryWeightResponseSchema, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, ActionPage, Price1, MultiCategoriesSchema, CustomMeta, ValidationErrors, ValidationError, PageType, CurrencyCodeEnum };
|
|
4323
4308
|
}
|
|
4324
4309
|
/** @returns {Action} */
|
|
4325
4310
|
declare function Action(): Action;
|
|
@@ -4331,11 +4316,6 @@ type Action = {
|
|
|
4331
4316
|
page?: ActionPage;
|
|
4332
4317
|
popup?: ActionPage;
|
|
4333
4318
|
};
|
|
4334
|
-
/** @returns {ValidationErrors} */
|
|
4335
|
-
declare function ValidationErrors(): ValidationErrors;
|
|
4336
|
-
type ValidationErrors = {
|
|
4337
|
-
errors: ValidationError[];
|
|
4338
|
-
};
|
|
4339
4319
|
/** @returns {AllSizes} */
|
|
4340
4320
|
declare function AllSizes(): AllSizes;
|
|
4341
4321
|
type AllSizes = {
|
|
@@ -9902,42 +9882,6 @@ type NextSchedule = {
|
|
|
9902
9882
|
*/
|
|
9903
9883
|
start?: string;
|
|
9904
9884
|
};
|
|
9905
|
-
/** @returns {LocationPriceRequestSchema} */
|
|
9906
|
-
declare function LocationPriceRequestSchema(): LocationPriceRequestSchema;
|
|
9907
|
-
type LocationPriceRequestSchema = {
|
|
9908
|
-
/**
|
|
9909
|
-
* - The effective price of the inventory item.
|
|
9910
|
-
*/
|
|
9911
|
-
price_effective: number;
|
|
9912
|
-
/**
|
|
9913
|
-
* - The marked price of the inventory item.
|
|
9914
|
-
*/
|
|
9915
|
-
price_marked: number;
|
|
9916
|
-
/**
|
|
9917
|
-
* - Tags associated with inventory item.
|
|
9918
|
-
*/
|
|
9919
|
-
tags?: string[];
|
|
9920
|
-
};
|
|
9921
|
-
/** @returns {LocationQuantityRequestSchema} */
|
|
9922
|
-
declare function LocationQuantityRequestSchema(): LocationQuantityRequestSchema;
|
|
9923
|
-
type LocationQuantityRequestSchema = {
|
|
9924
|
-
/**
|
|
9925
|
-
* - The expiration date of the inventory item.
|
|
9926
|
-
*/
|
|
9927
|
-
expiration_date?: string;
|
|
9928
|
-
/**
|
|
9929
|
-
* - The total quantity of the inventory item.
|
|
9930
|
-
*/
|
|
9931
|
-
total_quantity: number;
|
|
9932
|
-
};
|
|
9933
|
-
/** @returns {LocationPriceQuantitySuccessResponseSchema} */
|
|
9934
|
-
declare function LocationPriceQuantitySuccessResponseSchema(): LocationPriceQuantitySuccessResponseSchema;
|
|
9935
|
-
type LocationPriceQuantitySuccessResponseSchema = {
|
|
9936
|
-
/**
|
|
9937
|
-
* - It is the success message of the price/quantity update.
|
|
9938
|
-
*/
|
|
9939
|
-
message: string;
|
|
9940
|
-
};
|
|
9941
9885
|
/** @returns {OptInPostRequestSchema} */
|
|
9942
9886
|
declare function OptInPostRequestSchema(): OptInPostRequestSchema;
|
|
9943
9887
|
type OptInPostRequestSchema = {
|
|
@@ -12496,7 +12440,7 @@ type ApplicationItemSeoAction = {
|
|
|
12496
12440
|
declare function ApplicationItemSeoBreadcrumbs(): ApplicationItemSeoBreadcrumbs;
|
|
12497
12441
|
type ApplicationItemSeoBreadcrumbs = {
|
|
12498
12442
|
url?: string;
|
|
12499
|
-
action?: ApplicationItemSeoAction;
|
|
12443
|
+
action?: ApplicationItemSeoAction[];
|
|
12500
12444
|
};
|
|
12501
12445
|
/** @returns {ApplicationCollectionItemSeoBreadcrumbs} */
|
|
12502
12446
|
declare function ApplicationCollectionItemSeoBreadcrumbs(): ApplicationCollectionItemSeoBreadcrumbs;
|
|
@@ -13459,18 +13403,6 @@ type ActionPage = {
|
|
|
13459
13403
|
url?: string;
|
|
13460
13404
|
type: PageType;
|
|
13461
13405
|
};
|
|
13462
|
-
/** @returns {ValidationError} */
|
|
13463
|
-
declare function ValidationError(): ValidationError;
|
|
13464
|
-
type ValidationError = {
|
|
13465
|
-
/**
|
|
13466
|
-
* - A brief description of the error encountered.
|
|
13467
|
-
*/
|
|
13468
|
-
message: string;
|
|
13469
|
-
/**
|
|
13470
|
-
* - The field in the request that caused the error.
|
|
13471
|
-
*/
|
|
13472
|
-
field: string;
|
|
13473
|
-
};
|
|
13474
13406
|
/** @returns {Price1} */
|
|
13475
13407
|
declare function Price1(): Price1;
|
|
13476
13408
|
type Price1 = {
|
|
@@ -13519,6 +13451,23 @@ type CustomMeta = {
|
|
|
13519
13451
|
*/
|
|
13520
13452
|
value: string;
|
|
13521
13453
|
};
|
|
13454
|
+
/** @returns {ValidationErrors} */
|
|
13455
|
+
declare function ValidationErrors(): ValidationErrors;
|
|
13456
|
+
type ValidationErrors = {
|
|
13457
|
+
errors: ValidationError[];
|
|
13458
|
+
};
|
|
13459
|
+
/** @returns {ValidationError} */
|
|
13460
|
+
declare function ValidationError(): ValidationError;
|
|
13461
|
+
type ValidationError = {
|
|
13462
|
+
/**
|
|
13463
|
+
* - A brief description of the error encountered.
|
|
13464
|
+
*/
|
|
13465
|
+
message: string;
|
|
13466
|
+
/**
|
|
13467
|
+
* - The field in the request that caused the error.
|
|
13468
|
+
*/
|
|
13469
|
+
field: string;
|
|
13470
|
+
};
|
|
13522
13471
|
/**
|
|
13523
13472
|
* Enum: PageType Used By: Catalog
|
|
13524
13473
|
*
|