@gofynd/fdk-client-javascript 3.14.0 → 3.16.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/Order/OrderApplicationClient.d.ts +11 -1
- package/sdk/application/Order/OrderApplicationClient.js +50 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -20
- package/sdk/application/Payment/PaymentApplicationClient.js +0 -77
- package/sdk/common/Constant.d.ts +13 -4
- package/sdk/common/Constant.js +17 -6
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +5 -4
- package/sdk/partner/Theme/ThemePartnerModel.js +9 -6
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +95 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +47 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +29 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +17 -3
- package/sdk/platform/Cart/CartPlatformModel.js +14 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +13 -16
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +17 -20
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +10 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +63 -41
- package/sdk/platform/Catalog/CatalogPlatformModel.js +42 -34
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
- package/sdk/platform/Content/ContentPlatformModel.d.ts +7 -6
- package/sdk/platform/Content/ContentPlatformModel.js +10 -7
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformModel.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +0 -23
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +0 -161
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -19
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +0 -24
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1 -159
- package/sdk/platform/Payment/PaymentPlatformModel.js +0 -112
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +67 -49
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +45 -42
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformModel.js +1 -1
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +5 -4
- package/sdk/platform/Theme/ThemePlatformModel.js +9 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +3 -2
- package/sdk/platform/User/UserPlatformApplicationClient.js +5 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +0 -1
- package/sdk/platform/User/UserPlatformModel.d.ts +17 -1
- package/sdk/platform/User/UserPlatformModel.js +15 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
|
@@ -1546,16 +1546,6 @@ export = CatalogPlatformModel;
|
|
|
1546
1546
|
* @property {SeoDetail} [seo]
|
|
1547
1547
|
* @property {boolean} [is_visible] - Indicates if the collection is visible.
|
|
1548
1548
|
*/
|
|
1549
|
-
/**
|
|
1550
|
-
* @typedef GetCollectionItemsResponseSchema
|
|
1551
|
-
* @property {ProductFilters[]} [filters] - An array of filters applicable to
|
|
1552
|
-
* the products in the collection.
|
|
1553
|
-
* @property {ApplicationProductsSchema[]} [items] - An array of products that
|
|
1554
|
-
* belong to the collection.
|
|
1555
|
-
* @property {Page} [page]
|
|
1556
|
-
* @property {ProductSortOn[]} [sort_on] - Sorting options available for the
|
|
1557
|
-
* products in the collection.
|
|
1558
|
-
*/
|
|
1559
1549
|
/**
|
|
1560
1550
|
* @typedef GetCollectionListingResponseSchema
|
|
1561
1551
|
* @property {CollectionListingFilter} [filters]
|
|
@@ -1821,6 +1811,9 @@ export = CatalogPlatformModel;
|
|
|
1821
1811
|
* @property {string} [_id] - A unique identifier for the collection, matching `uid`.
|
|
1822
1812
|
* @property {string[]} [visible_facets_keys] - Keys representing visible facets
|
|
1823
1813
|
* for filtering.
|
|
1814
|
+
* @property {string[]} [handpicked_collection_item_ids] - Array of item `uid`
|
|
1815
|
+
* that have been manually handpicked for this collection. Will be an empty
|
|
1816
|
+
* array if the collection type is not handpicked.
|
|
1824
1817
|
*/
|
|
1825
1818
|
/**
|
|
1826
1819
|
* @typedef CommonResponseSchemaCollection
|
|
@@ -1846,8 +1839,18 @@ export = CatalogPlatformModel;
|
|
|
1846
1839
|
*/
|
|
1847
1840
|
/**
|
|
1848
1841
|
* @typedef GetCollectionItemsResponseSchemaV2
|
|
1849
|
-
* @property {
|
|
1850
|
-
* @property {
|
|
1842
|
+
* @property {CollectionItemV2[]} [items]
|
|
1843
|
+
* @property {Page} [page]
|
|
1844
|
+
*/
|
|
1845
|
+
/**
|
|
1846
|
+
* @typedef CollectionItemV2
|
|
1847
|
+
* @property {string} name - The name of the product
|
|
1848
|
+
* @property {string} [short_description] - A brief description of the product
|
|
1849
|
+
* @property {Media[]} [medias] - Media items (images, videos) associated with the product
|
|
1850
|
+
* @property {string} slug - URL-friendly identifier for the product
|
|
1851
|
+
* @property {number} uid - Unique identifier for the product
|
|
1852
|
+
* @property {string} item_code - Item code or SKU of the product
|
|
1853
|
+
* @property {string} item_type - Type of the product
|
|
1851
1854
|
*/
|
|
1852
1855
|
/**
|
|
1853
1856
|
* @typedef Page1
|
|
@@ -2748,7 +2751,7 @@ export = CatalogPlatformModel;
|
|
|
2748
2751
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
2749
2752
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
2750
2753
|
* @property {number} [current] - The current page number.
|
|
2751
|
-
* @property {string} type - The type of the page,
|
|
2754
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
2752
2755
|
* @property {number} [size] - The number of items per page.
|
|
2753
2756
|
* @property {number} [page_size] - The number of items per page.
|
|
2754
2757
|
*/
|
|
@@ -4632,8 +4635,8 @@ export = CatalogPlatformModel;
|
|
|
4632
4635
|
* | "profile-order-shipment"
|
|
4633
4636
|
* | "profile-basic"
|
|
4634
4637
|
* | "profile-company"
|
|
4635
|
-
* | "profile-
|
|
4636
|
-
* | "profile-
|
|
4638
|
+
* | "profile-email"
|
|
4639
|
+
* | "profile-phone"
|
|
4637
4640
|
* | "rate-us"
|
|
4638
4641
|
* | "refer-earn"
|
|
4639
4642
|
* | "settings"
|
|
@@ -4652,12 +4655,13 @@ export = CatalogPlatformModel;
|
|
|
4652
4655
|
* | "return-policy"
|
|
4653
4656
|
* | "order-status"
|
|
4654
4657
|
* | "locate-us"
|
|
4655
|
-
* | "single-page-checkout"
|
|
4658
|
+
* | "single-page-checkout"
|
|
4659
|
+
* | "request-reattempt"} PageType
|
|
4656
4660
|
*/
|
|
4657
4661
|
declare class CatalogPlatformModel {
|
|
4658
4662
|
}
|
|
4659
4663
|
declare namespace CatalogPlatformModel {
|
|
4660
|
-
export { Action, ValidationErrors, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, 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, BulkMeta, 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, 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,
|
|
4664
|
+
export { Action, ValidationErrors, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, 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, BulkMeta, 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, 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, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, CollectionItemV2, 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, BundleDetails, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, LocationPriceRequestSchema, LocationQuantityRequestSchema, LocationPriceQuantitySuccessResponseSchema, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductConfigurationDownloads, ProductCreateSchemaV3, ProductUpdateSchemaV3, ProductPatchSchemaV3, ProductSizePatch, 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, TaxIdentifierV3, 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, BulkInventoryJob, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, FollowedProducts, FollowProduct, TaxReqBodyRule, TaxThreshold, TaxComponent, TaxComponentResponseSchema, TaxComponentName, CreateTaxComponentNameRequestSchema, TaxReqBodyVersion, CreateTaxRequestBody, TaxVersion, UpdateTaxVersionRequestBody, CreateTaxVersionRequestBody, TaxRule, TaxVersionDetail, CreateTax, UpdateTaxVersion, UpdateTaxRequestBody, TaxRuleItem, TaxRules, TaxVersionPastData, TaxRuleVersion, HSCodeItem, HSCodes, GetTaxComponents, ActionPage, ValidationError, Price1, MultiCategoriesSchema, NetQuantitySchema, CustomMeta, TaxStatusEnum, HsTypeEnum, PageType };
|
|
4661
4665
|
}
|
|
4662
4666
|
/** @returns {Action} */
|
|
4663
4667
|
declare function Action(): Action;
|
|
@@ -7807,26 +7811,6 @@ type GetCollectionDetailNest = {
|
|
|
7807
7811
|
*/
|
|
7808
7812
|
is_visible?: boolean;
|
|
7809
7813
|
};
|
|
7810
|
-
/** @returns {GetCollectionItemsResponseSchema} */
|
|
7811
|
-
declare function GetCollectionItemsResponseSchema(): GetCollectionItemsResponseSchema;
|
|
7812
|
-
type GetCollectionItemsResponseSchema = {
|
|
7813
|
-
/**
|
|
7814
|
-
* - An array of filters applicable to
|
|
7815
|
-
* the products in the collection.
|
|
7816
|
-
*/
|
|
7817
|
-
filters?: ProductFilters[];
|
|
7818
|
-
/**
|
|
7819
|
-
* - An array of products that
|
|
7820
|
-
* belong to the collection.
|
|
7821
|
-
*/
|
|
7822
|
-
items?: ApplicationProductsSchema[];
|
|
7823
|
-
page?: Page;
|
|
7824
|
-
/**
|
|
7825
|
-
* - Sorting options available for the
|
|
7826
|
-
* products in the collection.
|
|
7827
|
-
*/
|
|
7828
|
-
sort_on?: ProductSortOn[];
|
|
7829
|
-
};
|
|
7830
7814
|
/** @returns {GetCollectionListingResponseSchema} */
|
|
7831
7815
|
declare function GetCollectionListingResponseSchema(): GetCollectionListingResponseSchema;
|
|
7832
7816
|
type GetCollectionListingResponseSchema = {
|
|
@@ -8427,6 +8411,12 @@ type GetCollectionDetailResponseSchema = {
|
|
|
8427
8411
|
* for filtering.
|
|
8428
8412
|
*/
|
|
8429
8413
|
visible_facets_keys?: string[];
|
|
8414
|
+
/**
|
|
8415
|
+
* - Array of item `uid`
|
|
8416
|
+
* that have been manually handpicked for this collection. Will be an empty
|
|
8417
|
+
* array if the collection type is not handpicked.
|
|
8418
|
+
*/
|
|
8419
|
+
handpicked_collection_item_ids?: string[];
|
|
8430
8420
|
};
|
|
8431
8421
|
/** @returns {CommonResponseSchemaCollection} */
|
|
8432
8422
|
declare function CommonResponseSchemaCollection(): CommonResponseSchemaCollection;
|
|
@@ -8477,8 +8467,40 @@ type GetQueryFiltersResponseSchema = {
|
|
|
8477
8467
|
/** @returns {GetCollectionItemsResponseSchemaV2} */
|
|
8478
8468
|
declare function GetCollectionItemsResponseSchemaV2(): GetCollectionItemsResponseSchemaV2;
|
|
8479
8469
|
type GetCollectionItemsResponseSchemaV2 = {
|
|
8480
|
-
items?:
|
|
8481
|
-
page?:
|
|
8470
|
+
items?: CollectionItemV2[];
|
|
8471
|
+
page?: Page;
|
|
8472
|
+
};
|
|
8473
|
+
/** @returns {CollectionItemV2} */
|
|
8474
|
+
declare function CollectionItemV2(): CollectionItemV2;
|
|
8475
|
+
type CollectionItemV2 = {
|
|
8476
|
+
/**
|
|
8477
|
+
* - The name of the product
|
|
8478
|
+
*/
|
|
8479
|
+
name: string;
|
|
8480
|
+
/**
|
|
8481
|
+
* - A brief description of the product
|
|
8482
|
+
*/
|
|
8483
|
+
short_description?: string;
|
|
8484
|
+
/**
|
|
8485
|
+
* - Media items (images, videos) associated with the product
|
|
8486
|
+
*/
|
|
8487
|
+
medias?: Media[];
|
|
8488
|
+
/**
|
|
8489
|
+
* - URL-friendly identifier for the product
|
|
8490
|
+
*/
|
|
8491
|
+
slug: string;
|
|
8492
|
+
/**
|
|
8493
|
+
* - Unique identifier for the product
|
|
8494
|
+
*/
|
|
8495
|
+
uid: number;
|
|
8496
|
+
/**
|
|
8497
|
+
* - Item code or SKU of the product
|
|
8498
|
+
*/
|
|
8499
|
+
item_code: string;
|
|
8500
|
+
/**
|
|
8501
|
+
* - Type of the product
|
|
8502
|
+
*/
|
|
8503
|
+
item_type: string;
|
|
8482
8504
|
};
|
|
8483
8505
|
/** @returns {Page1} */
|
|
8484
8506
|
declare function Page1(): Page1;
|
|
@@ -10442,7 +10464,7 @@ type Page = {
|
|
|
10442
10464
|
*/
|
|
10443
10465
|
current?: number;
|
|
10444
10466
|
/**
|
|
10445
|
-
* - The type of the page,
|
|
10467
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
10446
10468
|
*/
|
|
10447
10469
|
type: string;
|
|
10448
10470
|
/**
|
|
@@ -14549,4 +14571,4 @@ type HsTypeEnum = "HS" | "SAC";
|
|
|
14549
14571
|
* @returns {PageType}
|
|
14550
14572
|
*/
|
|
14551
14573
|
declare function PageType(): PageType;
|
|
14552
|
-
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-
|
|
14574
|
+
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";
|
|
@@ -1696,17 +1696,6 @@ const Joi = require("joi");
|
|
|
1696
1696
|
* @property {boolean} [is_visible] - Indicates if the collection is visible.
|
|
1697
1697
|
*/
|
|
1698
1698
|
|
|
1699
|
-
/**
|
|
1700
|
-
* @typedef GetCollectionItemsResponseSchema
|
|
1701
|
-
* @property {ProductFilters[]} [filters] - An array of filters applicable to
|
|
1702
|
-
* the products in the collection.
|
|
1703
|
-
* @property {ApplicationProductsSchema[]} [items] - An array of products that
|
|
1704
|
-
* belong to the collection.
|
|
1705
|
-
* @property {Page} [page]
|
|
1706
|
-
* @property {ProductSortOn[]} [sort_on] - Sorting options available for the
|
|
1707
|
-
* products in the collection.
|
|
1708
|
-
*/
|
|
1709
|
-
|
|
1710
1699
|
/**
|
|
1711
1700
|
* @typedef GetCollectionListingResponseSchema
|
|
1712
1701
|
* @property {CollectionListingFilter} [filters]
|
|
@@ -1991,6 +1980,9 @@ const Joi = require("joi");
|
|
|
1991
1980
|
* @property {string} [_id] - A unique identifier for the collection, matching `uid`.
|
|
1992
1981
|
* @property {string[]} [visible_facets_keys] - Keys representing visible facets
|
|
1993
1982
|
* for filtering.
|
|
1983
|
+
* @property {string[]} [handpicked_collection_item_ids] - Array of item `uid`
|
|
1984
|
+
* that have been manually handpicked for this collection. Will be an empty
|
|
1985
|
+
* array if the collection type is not handpicked.
|
|
1994
1986
|
*/
|
|
1995
1987
|
|
|
1996
1988
|
/**
|
|
@@ -2020,8 +2012,19 @@ const Joi = require("joi");
|
|
|
2020
2012
|
|
|
2021
2013
|
/**
|
|
2022
2014
|
* @typedef GetCollectionItemsResponseSchemaV2
|
|
2023
|
-
* @property {
|
|
2024
|
-
* @property {
|
|
2015
|
+
* @property {CollectionItemV2[]} [items]
|
|
2016
|
+
* @property {Page} [page]
|
|
2017
|
+
*/
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* @typedef CollectionItemV2
|
|
2021
|
+
* @property {string} name - The name of the product
|
|
2022
|
+
* @property {string} [short_description] - A brief description of the product
|
|
2023
|
+
* @property {Media[]} [medias] - Media items (images, videos) associated with the product
|
|
2024
|
+
* @property {string} slug - URL-friendly identifier for the product
|
|
2025
|
+
* @property {number} uid - Unique identifier for the product
|
|
2026
|
+
* @property {string} item_code - Item code or SKU of the product
|
|
2027
|
+
* @property {string} item_type - Type of the product
|
|
2025
2028
|
*/
|
|
2026
2029
|
|
|
2027
2030
|
/**
|
|
@@ -3018,7 +3021,7 @@ const Joi = require("joi");
|
|
|
3018
3021
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
3019
3022
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
3020
3023
|
* @property {number} [current] - The current page number.
|
|
3021
|
-
* @property {string} type - The type of the page,
|
|
3024
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
3022
3025
|
* @property {number} [size] - The number of items per page.
|
|
3023
3026
|
* @property {number} [page_size] - The number of items per page.
|
|
3024
3027
|
*/
|
|
@@ -5076,8 +5079,8 @@ const Joi = require("joi");
|
|
|
5076
5079
|
* | "profile-order-shipment"
|
|
5077
5080
|
* | "profile-basic"
|
|
5078
5081
|
* | "profile-company"
|
|
5079
|
-
* | "profile-
|
|
5080
|
-
* | "profile-
|
|
5082
|
+
* | "profile-email"
|
|
5083
|
+
* | "profile-phone"
|
|
5081
5084
|
* | "rate-us"
|
|
5082
5085
|
* | "refer-earn"
|
|
5083
5086
|
* | "settings"
|
|
@@ -5096,7 +5099,8 @@ const Joi = require("joi");
|
|
|
5096
5099
|
* | "return-policy"
|
|
5097
5100
|
* | "order-status"
|
|
5098
5101
|
* | "locate-us"
|
|
5099
|
-
* | "single-page-checkout"
|
|
5102
|
+
* | "single-page-checkout"
|
|
5103
|
+
* | "request-reattempt"} PageType
|
|
5100
5104
|
*/
|
|
5101
5105
|
|
|
5102
5106
|
class CatalogPlatformModel {
|
|
@@ -6867,18 +6871,6 @@ class CatalogPlatformModel {
|
|
|
6867
6871
|
});
|
|
6868
6872
|
}
|
|
6869
6873
|
|
|
6870
|
-
/** @returns {GetCollectionItemsResponseSchema} */
|
|
6871
|
-
static GetCollectionItemsResponseSchema() {
|
|
6872
|
-
return Joi.object({
|
|
6873
|
-
filters: Joi.array().items(CatalogPlatformModel.ProductFilters()),
|
|
6874
|
-
items: Joi.array().items(
|
|
6875
|
-
CatalogPlatformModel.ApplicationProductsSchema()
|
|
6876
|
-
),
|
|
6877
|
-
page: CatalogPlatformModel.Page(),
|
|
6878
|
-
sort_on: Joi.array().items(CatalogPlatformModel.ProductSortOn()),
|
|
6879
|
-
});
|
|
6880
|
-
}
|
|
6881
|
-
|
|
6882
6874
|
/** @returns {GetCollectionListingResponseSchema} */
|
|
6883
6875
|
static GetCollectionListingResponseSchema() {
|
|
6884
6876
|
return Joi.object({
|
|
@@ -7166,6 +7158,7 @@ class CatalogPlatformModel {
|
|
|
7166
7158
|
uid: Joi.string().allow(""),
|
|
7167
7159
|
_id: Joi.string().allow(""),
|
|
7168
7160
|
visible_facets_keys: Joi.array().items(Joi.string().allow("")),
|
|
7161
|
+
handpicked_collection_item_ids: Joi.array().items(Joi.string().allow("")),
|
|
7169
7162
|
});
|
|
7170
7163
|
}
|
|
7171
7164
|
|
|
@@ -7201,8 +7194,21 @@ class CatalogPlatformModel {
|
|
|
7201
7194
|
/** @returns {GetCollectionItemsResponseSchemaV2} */
|
|
7202
7195
|
static GetCollectionItemsResponseSchemaV2() {
|
|
7203
7196
|
return Joi.object({
|
|
7204
|
-
items: Joi.array().items(CatalogPlatformModel.
|
|
7205
|
-
page: CatalogPlatformModel.
|
|
7197
|
+
items: Joi.array().items(CatalogPlatformModel.CollectionItemV2()),
|
|
7198
|
+
page: CatalogPlatformModel.Page(),
|
|
7199
|
+
});
|
|
7200
|
+
}
|
|
7201
|
+
|
|
7202
|
+
/** @returns {CollectionItemV2} */
|
|
7203
|
+
static CollectionItemV2() {
|
|
7204
|
+
return Joi.object({
|
|
7205
|
+
name: Joi.string().allow("").required(),
|
|
7206
|
+
short_description: Joi.string().allow(""),
|
|
7207
|
+
medias: Joi.array().items(CatalogPlatformModel.Media()),
|
|
7208
|
+
slug: Joi.string().allow("").required(),
|
|
7209
|
+
uid: Joi.number().required(),
|
|
7210
|
+
item_code: Joi.string().allow("").required(),
|
|
7211
|
+
item_type: Joi.string().allow("").required(),
|
|
7206
7212
|
});
|
|
7207
7213
|
}
|
|
7208
7214
|
|
|
@@ -10538,9 +10544,9 @@ class CatalogPlatformModel {
|
|
|
10538
10544
|
|
|
10539
10545
|
"profile-company",
|
|
10540
10546
|
|
|
10541
|
-
"profile-
|
|
10547
|
+
"profile-email",
|
|
10542
10548
|
|
|
10543
|
-
"profile-
|
|
10549
|
+
"profile-phone",
|
|
10544
10550
|
|
|
10545
10551
|
"rate-us",
|
|
10546
10552
|
|
|
@@ -10578,7 +10584,9 @@ class CatalogPlatformModel {
|
|
|
10578
10584
|
|
|
10579
10585
|
"locate-us",
|
|
10580
10586
|
|
|
10581
|
-
"single-page-checkout"
|
|
10587
|
+
"single-page-checkout",
|
|
10588
|
+
|
|
10589
|
+
"request-reattempt"
|
|
10582
10590
|
);
|
|
10583
10591
|
}
|
|
10584
10592
|
}
|
|
@@ -384,7 +384,7 @@ export = CatalogPlatformValidator;
|
|
|
384
384
|
*/
|
|
385
385
|
/**
|
|
386
386
|
* @typedef ListCategoriesParam
|
|
387
|
-
* @property {
|
|
387
|
+
* @property {number[]} [level] - Get category for multiple levels
|
|
388
388
|
* @property {number} [department] - Get category for multiple departments filtered
|
|
389
389
|
* @property {string} [q] - Get multiple categories filtered by search string
|
|
390
390
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -1438,7 +1438,7 @@ type ListCategoriesParam = {
|
|
|
1438
1438
|
/**
|
|
1439
1439
|
* - Get category for multiple levels
|
|
1440
1440
|
*/
|
|
1441
|
-
level?:
|
|
1441
|
+
level?: number[];
|
|
1442
1442
|
/**
|
|
1443
1443
|
* - Get category for multiple departments filtered
|
|
1444
1444
|
*/
|
|
@@ -451,7 +451,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* @typedef ListCategoriesParam
|
|
454
|
-
* @property {
|
|
454
|
+
* @property {number[]} [level] - Get category for multiple levels
|
|
455
455
|
* @property {number} [department] - Get category for multiple departments filtered
|
|
456
456
|
* @property {string} [q] - Get multiple categories filtered by search string
|
|
457
457
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -1154,7 +1154,7 @@ class CatalogPlatformValidator {
|
|
|
1154
1154
|
/** @returns {ListCategoriesParam} */
|
|
1155
1155
|
static listCategories() {
|
|
1156
1156
|
return Joi.object({
|
|
1157
|
-
level: Joi.
|
|
1157
|
+
level: Joi.array().items(Joi.number()),
|
|
1158
1158
|
department: Joi.number(),
|
|
1159
1159
|
q: Joi.string().allow(""),
|
|
1160
1160
|
pageNo: Joi.number(),
|
|
@@ -836,7 +836,7 @@ export = CommunicationPlatformModel;
|
|
|
836
836
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
837
837
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
838
838
|
* @property {number} [current] - The current page number.
|
|
839
|
-
* @property {string} type - The type of the page,
|
|
839
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
840
840
|
* @property {number} [size] - The number of items per page.
|
|
841
841
|
* @property {number} [page_size] - The number of items per page.
|
|
842
842
|
*/
|
|
@@ -1926,7 +1926,7 @@ type Page = {
|
|
|
1926
1926
|
*/
|
|
1927
1927
|
current?: number;
|
|
1928
1928
|
/**
|
|
1929
|
-
* - The type of the page,
|
|
1929
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
1930
1930
|
*/
|
|
1931
1931
|
type: string;
|
|
1932
1932
|
/**
|
|
@@ -948,7 +948,7 @@ const Joi = require("joi");
|
|
|
948
948
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
949
949
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
950
950
|
* @property {number} [current] - The current page number.
|
|
951
|
-
* @property {string} type - The type of the page,
|
|
951
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
952
952
|
* @property {number} [size] - The number of items per page.
|
|
953
953
|
* @property {number} [page_size] - The number of items per page.
|
|
954
954
|
*/
|
|
@@ -264,7 +264,7 @@ export = CompanyProfilePlatformModel;
|
|
|
264
264
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
265
265
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
266
266
|
* @property {number} [current] - The current page number.
|
|
267
|
-
* @property {string} type - The type of the page,
|
|
267
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
268
268
|
* @property {number} [size] - The number of items per page.
|
|
269
269
|
* @property {number} [page_size] - The number of items per page.
|
|
270
270
|
*/
|
|
@@ -765,7 +765,7 @@ type Page = {
|
|
|
765
765
|
*/
|
|
766
766
|
current?: number;
|
|
767
767
|
/**
|
|
768
|
-
* - The type of the page,
|
|
768
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
769
769
|
*/
|
|
770
770
|
type: string;
|
|
771
771
|
/**
|
|
@@ -291,7 +291,7 @@ const Joi = require("joi");
|
|
|
291
291
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
292
292
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
293
293
|
* @property {number} [current] - The current page number.
|
|
294
|
-
* @property {string} type - The type of the page,
|
|
294
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
295
295
|
* @property {number} [size] - The number of items per page.
|
|
296
296
|
* @property {number} [page_size] - The number of items per page.
|
|
297
297
|
*/
|
|
@@ -1183,7 +1183,7 @@ export = ConfigurationPlatformModel;
|
|
|
1183
1183
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
1184
1184
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
1185
1185
|
* @property {number} [current] - The current page number.
|
|
1186
|
-
* @property {string} type - The type of the page,
|
|
1186
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
1187
1187
|
* @property {number} [size] - The number of items per page.
|
|
1188
1188
|
* @property {number} [page_size] - The number of items per page.
|
|
1189
1189
|
*/
|
|
@@ -3795,7 +3795,7 @@ type Page = {
|
|
|
3795
3795
|
*/
|
|
3796
3796
|
current?: number;
|
|
3797
3797
|
/**
|
|
3798
|
-
* - The type of the page,
|
|
3798
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
3799
3799
|
*/
|
|
3800
3800
|
type: string;
|
|
3801
3801
|
/**
|
|
@@ -1335,7 +1335,7 @@ const Joi = require("joi");
|
|
|
1335
1335
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
1336
1336
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
1337
1337
|
* @property {number} [current] - The current page number.
|
|
1338
|
-
* @property {string} type - The type of the page,
|
|
1338
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
1339
1339
|
* @property {number} [size] - The number of items per page.
|
|
1340
1340
|
* @property {number} [page_size] - The number of items per page.
|
|
1341
1341
|
*/
|
|
@@ -523,7 +523,7 @@ export = ContentPlatformModel;
|
|
|
523
523
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
524
524
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
525
525
|
* @property {number} [current] - The current page number.
|
|
526
|
-
* @property {string} type - The type of the page,
|
|
526
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
527
527
|
* @property {number} [size] - The number of items per page.
|
|
528
528
|
* @property {number} [page_size] - The number of items per page.
|
|
529
529
|
*/
|
|
@@ -1533,8 +1533,8 @@ export = ContentPlatformModel;
|
|
|
1533
1533
|
* | "profile-order-shipment"
|
|
1534
1534
|
* | "profile-basic"
|
|
1535
1535
|
* | "profile-company"
|
|
1536
|
-
* | "profile-
|
|
1537
|
-
* | "profile-
|
|
1536
|
+
* | "profile-email"
|
|
1537
|
+
* | "profile-phone"
|
|
1538
1538
|
* | "rate-us"
|
|
1539
1539
|
* | "refer-earn"
|
|
1540
1540
|
* | "settings"
|
|
@@ -1553,7 +1553,8 @@ export = ContentPlatformModel;
|
|
|
1553
1553
|
* | "return-policy"
|
|
1554
1554
|
* | "order-status"
|
|
1555
1555
|
* | "locate-us"
|
|
1556
|
-
* | "single-page-checkout"
|
|
1556
|
+
* | "single-page-checkout"
|
|
1557
|
+
* | "request-reattempt"} PageType
|
|
1557
1558
|
*/
|
|
1558
1559
|
declare class ContentPlatformModel {
|
|
1559
1560
|
}
|
|
@@ -2244,7 +2245,7 @@ type Page = {
|
|
|
2244
2245
|
*/
|
|
2245
2246
|
current?: number;
|
|
2246
2247
|
/**
|
|
2247
|
-
* - The type of the page,
|
|
2248
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
2248
2249
|
*/
|
|
2249
2250
|
type: string;
|
|
2250
2251
|
/**
|
|
@@ -4410,4 +4411,4 @@ type GenerationEntityType = "title" | "description";
|
|
|
4410
4411
|
* @returns {PageType}
|
|
4411
4412
|
*/
|
|
4412
4413
|
declare function PageType(): PageType;
|
|
4413
|
-
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-
|
|
4414
|
+
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";
|
|
@@ -594,7 +594,7 @@ const Joi = require("joi");
|
|
|
594
594
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
595
595
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
596
596
|
* @property {number} [current] - The current page number.
|
|
597
|
-
* @property {string} type - The type of the page,
|
|
597
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
598
598
|
* @property {number} [size] - The number of items per page.
|
|
599
599
|
* @property {number} [page_size] - The number of items per page.
|
|
600
600
|
*/
|
|
@@ -1728,8 +1728,8 @@ const Joi = require("joi");
|
|
|
1728
1728
|
* | "profile-order-shipment"
|
|
1729
1729
|
* | "profile-basic"
|
|
1730
1730
|
* | "profile-company"
|
|
1731
|
-
* | "profile-
|
|
1732
|
-
* | "profile-
|
|
1731
|
+
* | "profile-email"
|
|
1732
|
+
* | "profile-phone"
|
|
1733
1733
|
* | "rate-us"
|
|
1734
1734
|
* | "refer-earn"
|
|
1735
1735
|
* | "settings"
|
|
@@ -1748,7 +1748,8 @@ const Joi = require("joi");
|
|
|
1748
1748
|
* | "return-policy"
|
|
1749
1749
|
* | "order-status"
|
|
1750
1750
|
* | "locate-us"
|
|
1751
|
-
* | "single-page-checkout"
|
|
1751
|
+
* | "single-page-checkout"
|
|
1752
|
+
* | "request-reattempt"} PageType
|
|
1752
1753
|
*/
|
|
1753
1754
|
|
|
1754
1755
|
class ContentPlatformModel {
|
|
@@ -3860,9 +3861,9 @@ class ContentPlatformModel {
|
|
|
3860
3861
|
|
|
3861
3862
|
"profile-company",
|
|
3862
3863
|
|
|
3863
|
-
"profile-
|
|
3864
|
+
"profile-email",
|
|
3864
3865
|
|
|
3865
|
-
"profile-
|
|
3866
|
+
"profile-phone",
|
|
3866
3867
|
|
|
3867
3868
|
"rate-us",
|
|
3868
3869
|
|
|
@@ -3900,7 +3901,9 @@ class ContentPlatformModel {
|
|
|
3900
3901
|
|
|
3901
3902
|
"locate-us",
|
|
3902
3903
|
|
|
3903
|
-
"single-page-checkout"
|
|
3904
|
+
"single-page-checkout",
|
|
3905
|
+
|
|
3906
|
+
"request-reattempt"
|
|
3904
3907
|
);
|
|
3905
3908
|
}
|
|
3906
3909
|
}
|
|
@@ -148,7 +148,7 @@ export = DiscountPlatformModel;
|
|
|
148
148
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
149
149
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
150
150
|
* @property {number} [current] - The current page number.
|
|
151
|
-
* @property {string} type - The type of the page,
|
|
151
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
152
152
|
* @property {number} [size] - The number of items per page.
|
|
153
153
|
* @property {number} [page_size] - The number of items per page.
|
|
154
154
|
*/
|
|
@@ -609,7 +609,7 @@ type Page = {
|
|
|
609
609
|
*/
|
|
610
610
|
current?: number;
|
|
611
611
|
/**
|
|
612
|
-
* - The type of the page,
|
|
612
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
613
613
|
*/
|
|
614
614
|
type: string;
|
|
615
615
|
/**
|
|
@@ -161,7 +161,7 @@ const Joi = require("joi");
|
|
|
161
161
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
162
162
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
163
163
|
* @property {number} [current] - The current page number.
|
|
164
|
-
* @property {string} type - The type of the page,
|
|
164
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
165
165
|
* @property {number} [size] - The number of items per page.
|
|
166
166
|
* @property {number} [page_size] - The number of items per page.
|
|
167
167
|
*/
|
|
@@ -45,7 +45,7 @@ export = LeadPlatformModel;
|
|
|
45
45
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
46
46
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
47
47
|
* @property {number} [current] - The current page number.
|
|
48
|
-
* @property {string} type - The type of the page,
|
|
48
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
49
49
|
* @property {number} [size] - The number of items per page.
|
|
50
50
|
* @property {number} [page_size] - The number of items per page.
|
|
51
51
|
*/
|
|
@@ -362,7 +362,7 @@ type Page = {
|
|
|
362
362
|
*/
|
|
363
363
|
current?: number;
|
|
364
364
|
/**
|
|
365
|
-
* - The type of the page,
|
|
365
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
366
366
|
*/
|
|
367
367
|
type: string;
|
|
368
368
|
/**
|