@gofynd/fdk-client-javascript 3.25.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 +7 -4
- package/sdk/application/Catalog/CatalogApplicationClient.js +8 -2
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +2 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +3 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -1
- package/sdk/platform/Content/ContentPlatformModel.js +3 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -18
- package/sdk/platform/Order/OrderPlatformModel.js +18 -18
- 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 `{}`
|
|
@@ -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,
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -1637,6 +1637,7 @@ export = ContentPlatformModel;
|
|
|
1637
1637
|
* | "profile-company"
|
|
1638
1638
|
* | "profile-email"
|
|
1639
1639
|
* | "profile-phone"
|
|
1640
|
+
* | "profile-loyalty-rewards"
|
|
1640
1641
|
* | "rate-us"
|
|
1641
1642
|
* | "refer-earn"
|
|
1642
1643
|
* | "settings"
|
|
@@ -4751,4 +4752,4 @@ type GenerationEntityType = "title" | "description";
|
|
|
4751
4752
|
* @returns {PageType}
|
|
4752
4753
|
*/
|
|
4753
4754
|
declare function PageType(): PageType;
|
|
4754
|
-
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";
|
|
4755
|
+
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";
|
|
@@ -1844,6 +1844,7 @@ const Joi = require("joi");
|
|
|
1844
1844
|
* | "profile-company"
|
|
1845
1845
|
* | "profile-email"
|
|
1846
1846
|
* | "profile-phone"
|
|
1847
|
+
* | "profile-loyalty-rewards"
|
|
1847
1848
|
* | "rate-us"
|
|
1848
1849
|
* | "refer-earn"
|
|
1849
1850
|
* | "settings"
|
|
@@ -4115,6 +4116,8 @@ class ContentPlatformModel {
|
|
|
4115
4116
|
|
|
4116
4117
|
"profile-phone",
|
|
4117
4118
|
|
|
4119
|
+
"profile-loyalty-rewards",
|
|
4120
|
+
|
|
4118
4121
|
"rate-us",
|
|
4119
4122
|
|
|
4120
4123
|
"refer-earn",
|
|
@@ -2671,18 +2671,18 @@ export = OrderPlatformModel;
|
|
|
2671
2671
|
*/
|
|
2672
2672
|
/**
|
|
2673
2673
|
* @typedef BundleDetailsSchema
|
|
2674
|
-
* @property {boolean}
|
|
2674
|
+
* @property {boolean} is_base - This serves as the base item, with all other
|
|
2675
2675
|
* items acting as child elements within the bundle to display the hero
|
|
2676
2676
|
* product prominently at the top.
|
|
2677
|
-
* @property {string[]}
|
|
2678
|
-
* @property {string}
|
|
2677
|
+
* @property {string[]} images - An array of image URLs associated with the bundle.
|
|
2678
|
+
* @property {string} group_id - Unique group identifier for the bundle
|
|
2679
2679
|
* generated by seller to club the articles
|
|
2680
|
-
* @property {string}
|
|
2681
|
-
* @property {string}
|
|
2682
|
-
* @property {number}
|
|
2683
|
-
* @property {string}
|
|
2684
|
-
* @property {string}
|
|
2685
|
-
* @property {string}
|
|
2680
|
+
* @property {string} name - Name of the bundle.
|
|
2681
|
+
* @property {string} item_type - Type of the bundle item
|
|
2682
|
+
* @property {number} item_id - Unique identifier of the item.
|
|
2683
|
+
* @property {string} item_code - Item code for the item.
|
|
2684
|
+
* @property {string} item_name - Name of the item.
|
|
2685
|
+
* @property {string} seller_identifier - Identifier for the seller of the bundle.
|
|
2686
2686
|
* @property {number} [bundle_article_quantity] - In orders with multiple
|
|
2687
2687
|
* quantities of the same line item, the line item count remains constant, but
|
|
2688
2688
|
* multiple bundles can exist. To distinguish between these bundles, the
|
|
@@ -11020,40 +11020,40 @@ type BundleDetailsSchema = {
|
|
|
11020
11020
|
* items acting as child elements within the bundle to display the hero
|
|
11021
11021
|
* product prominently at the top.
|
|
11022
11022
|
*/
|
|
11023
|
-
is_base
|
|
11023
|
+
is_base: boolean;
|
|
11024
11024
|
/**
|
|
11025
11025
|
* - An array of image URLs associated with the bundle.
|
|
11026
11026
|
*/
|
|
11027
|
-
images
|
|
11027
|
+
images: string[];
|
|
11028
11028
|
/**
|
|
11029
11029
|
* - Unique group identifier for the bundle
|
|
11030
11030
|
* generated by seller to club the articles
|
|
11031
11031
|
*/
|
|
11032
|
-
group_id
|
|
11032
|
+
group_id: string;
|
|
11033
11033
|
/**
|
|
11034
11034
|
* - Name of the bundle.
|
|
11035
11035
|
*/
|
|
11036
|
-
name
|
|
11036
|
+
name: string;
|
|
11037
11037
|
/**
|
|
11038
11038
|
* - Type of the bundle item
|
|
11039
11039
|
*/
|
|
11040
|
-
item_type
|
|
11040
|
+
item_type: string;
|
|
11041
11041
|
/**
|
|
11042
11042
|
* - Unique identifier of the item.
|
|
11043
11043
|
*/
|
|
11044
|
-
item_id
|
|
11044
|
+
item_id: number;
|
|
11045
11045
|
/**
|
|
11046
11046
|
* - Item code for the item.
|
|
11047
11047
|
*/
|
|
11048
|
-
item_code
|
|
11048
|
+
item_code: string;
|
|
11049
11049
|
/**
|
|
11050
11050
|
* - Name of the item.
|
|
11051
11051
|
*/
|
|
11052
|
-
item_name
|
|
11052
|
+
item_name: string;
|
|
11053
11053
|
/**
|
|
11054
11054
|
* - Identifier for the seller of the bundle.
|
|
11055
11055
|
*/
|
|
11056
|
-
seller_identifier
|
|
11056
|
+
seller_identifier: string;
|
|
11057
11057
|
/**
|
|
11058
11058
|
* - In orders with multiple
|
|
11059
11059
|
* quantities of the same line item, the line item count remains constant, but
|
|
@@ -2915,18 +2915,18 @@ const Joi = require("joi");
|
|
|
2915
2915
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* @typedef BundleDetailsSchema
|
|
2918
|
-
* @property {boolean}
|
|
2918
|
+
* @property {boolean} is_base - This serves as the base item, with all other
|
|
2919
2919
|
* items acting as child elements within the bundle to display the hero
|
|
2920
2920
|
* product prominently at the top.
|
|
2921
|
-
* @property {string[]}
|
|
2922
|
-
* @property {string}
|
|
2921
|
+
* @property {string[]} images - An array of image URLs associated with the bundle.
|
|
2922
|
+
* @property {string} group_id - Unique group identifier for the bundle
|
|
2923
2923
|
* generated by seller to club the articles
|
|
2924
|
-
* @property {string}
|
|
2925
|
-
* @property {string}
|
|
2926
|
-
* @property {number}
|
|
2927
|
-
* @property {string}
|
|
2928
|
-
* @property {string}
|
|
2929
|
-
* @property {string}
|
|
2924
|
+
* @property {string} name - Name of the bundle.
|
|
2925
|
+
* @property {string} item_type - Type of the bundle item
|
|
2926
|
+
* @property {number} item_id - Unique identifier of the item.
|
|
2927
|
+
* @property {string} item_code - Item code for the item.
|
|
2928
|
+
* @property {string} item_name - Name of the item.
|
|
2929
|
+
* @property {string} seller_identifier - Identifier for the seller of the bundle.
|
|
2930
2930
|
* @property {number} [bundle_article_quantity] - In orders with multiple
|
|
2931
2931
|
* quantities of the same line item, the line item count remains constant, but
|
|
2932
2932
|
* multiple bundles can exist. To distinguish between these bundles, the
|
|
@@ -8781,15 +8781,15 @@ class OrderPlatformModel {
|
|
|
8781
8781
|
/** @returns {BundleDetailsSchema} */
|
|
8782
8782
|
static BundleDetailsSchema() {
|
|
8783
8783
|
return Joi.object({
|
|
8784
|
-
is_base: Joi.boolean(),
|
|
8785
|
-
images: Joi.array().items(Joi.string().allow("")),
|
|
8786
|
-
group_id: Joi.string().allow(""),
|
|
8787
|
-
name: Joi.string().allow(""),
|
|
8788
|
-
item_type: Joi.string().allow(""),
|
|
8789
|
-
item_id: Joi.number(),
|
|
8790
|
-
item_code: Joi.string().allow(""),
|
|
8791
|
-
item_name: Joi.string().allow(""),
|
|
8792
|
-
seller_identifier: Joi.string().allow(""),
|
|
8784
|
+
is_base: Joi.boolean().required(),
|
|
8785
|
+
images: Joi.array().items(Joi.string().allow("")).required(),
|
|
8786
|
+
group_id: Joi.string().allow("").required(),
|
|
8787
|
+
name: Joi.string().allow("").required(),
|
|
8788
|
+
item_type: Joi.string().allow("").required(),
|
|
8789
|
+
item_id: Joi.number().required(),
|
|
8790
|
+
item_code: Joi.string().allow("").required(),
|
|
8791
|
+
item_name: Joi.string().allow("").required(),
|
|
8792
|
+
seller_identifier: Joi.string().allow("").required(),
|
|
8793
8793
|
bundle_article_quantity: Joi.number(),
|
|
8794
8794
|
brand_name: Joi.string().allow(""),
|
|
8795
8795
|
size: Joi.string().allow(""),
|
|
@@ -584,6 +584,7 @@ export = ThemePlatformModel;
|
|
|
584
584
|
* | "profile-company"
|
|
585
585
|
* | "profile-email"
|
|
586
586
|
* | "profile-phone"
|
|
587
|
+
* | "profile-loyalty-rewards"
|
|
587
588
|
* | "rate-us"
|
|
588
589
|
* | "refer-earn"
|
|
589
590
|
* | "settings"
|
|
@@ -1667,4 +1668,4 @@ type ActionPage = {
|
|
|
1667
1668
|
* @returns {PageType}
|
|
1668
1669
|
*/
|
|
1669
1670
|
declare function PageType(): PageType;
|
|
1670
|
-
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";
|
|
1671
|
+
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";
|
|
@@ -667,6 +667,7 @@ const Joi = require("joi");
|
|
|
667
667
|
* | "profile-company"
|
|
668
668
|
* | "profile-email"
|
|
669
669
|
* | "profile-phone"
|
|
670
|
+
* | "profile-loyalty-rewards"
|
|
670
671
|
* | "rate-us"
|
|
671
672
|
* | "refer-earn"
|
|
672
673
|
* | "settings"
|
|
@@ -1561,6 +1562,8 @@ class ThemePlatformModel {
|
|
|
1561
1562
|
|
|
1562
1563
|
"profile-phone",
|
|
1563
1564
|
|
|
1565
|
+
"profile-loyalty-rewards",
|
|
1566
|
+
|
|
1564
1567
|
"rate-us",
|
|
1565
1568
|
|
|
1566
1569
|
"refer-earn",
|