Skip to content

Commit

Permalink
[Auto Generated] 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 18, 2021
1 parent 82d1391 commit 1f999ba
Show file tree
Hide file tree
Showing 17 changed files with 12,367 additions and 12,367 deletions.
616 changes: 308 additions & 308 deletions documentation/application/CATALOG.md

Large diffs are not rendered by default.

3,520 changes: 1,760 additions & 1,760 deletions documentation/platform/CATALOG.md

Large diffs are not rendered by default.

762 changes: 381 additions & 381 deletions documentation/platform/COMPANYPROFILE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fdk-client-javascript",
"version": "0.1.7",
"version": "0.1.8",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions sdk/application/ApplicationClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,10 @@ declare class Catalog {
* products, brands, or collections.
* @param {string} arg.collectionId - The ID of the collection type.
* @returns {Promise<FollowPostResponse>} - Success response
* @summary: Follow an entity (product/brand/collection)
* @description: Follow a particular entity such as product, brand, collection specified by its ID.
* @summary: Unfollow an entity (product/brand/collection)
* @description: You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_.
*/
followById({ collectionType, collectionId }?: {
unfollowById({ collectionType, collectionId }?: {
collectionType: string;
collectionId: string;
}): Promise<any>;
Expand All @@ -546,10 +546,10 @@ declare class Catalog {
* products, brands, or collections.
* @param {string} arg.collectionId - The ID of the collection type.
* @returns {Promise<FollowPostResponse>} - Success response
* @summary: Unfollow an entity (product/brand/collection)
* @description: You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_.
* @summary: Follow an entity (product/brand/collection)
* @description: Follow a particular entity such as product, brand, collection specified by its ID.
*/
unfollowById({ collectionType, collectionId }?: {
followById({ collectionType, collectionId }?: {
collectionType: string;
collectionId: string;
}): Promise<any>;
Expand Down
20 changes: 10 additions & 10 deletions sdk/application/ApplicationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -1112,11 +1112,11 @@ class Catalog {
* products, brands, or collections.
* @param {string} arg.collectionId - The ID of the collection type.
* @returns {Promise<FollowPostResponse>} - Success response
* @summary: Follow an entity (product/brand/collection)
* @description: Follow a particular entity such as product, brand, collection specified by its ID.
* @summary: Unfollow an entity (product/brand/collection)
* @description: You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_.
*/
followById({ collectionType, collectionId } = {}) {
const { error } = CatalogValidator.followById().validate(
unfollowById({ collectionType, collectionId } = {}) {
const { error } = CatalogValidator.unfollowById().validate(
{ collectionType, collectionId },
{ abortEarly: false }
);
Expand All @@ -1127,7 +1127,7 @@ class Catalog {

return APIClient.execute(
this._conf,
"post",
"delete",
`/service/application/catalog/v1.0/follow/${collectionType}/${collectionId}/`,
query,
undefined
Expand All @@ -1140,11 +1140,11 @@ class Catalog {
* products, brands, or collections.
* @param {string} arg.collectionId - The ID of the collection type.
* @returns {Promise<FollowPostResponse>} - Success response
* @summary: Unfollow an entity (product/brand/collection)
* @description: You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_.
* @summary: Follow an entity (product/brand/collection)
* @description: Follow a particular entity such as product, brand, collection specified by its ID.
*/
unfollowById({ collectionType, collectionId } = {}) {
const { error } = CatalogValidator.unfollowById().validate(
followById({ collectionType, collectionId } = {}) {
const { error } = CatalogValidator.followById().validate(
{ collectionType, collectionId },
{ abortEarly: false }
);
Expand All @@ -1155,7 +1155,7 @@ class Catalog {

return APIClient.execute(
this._conf,
"delete",
"post",
`/service/application/catalog/v1.0/follow/${collectionType}/${collectionId}/`,
query,
undefined
Expand Down
30 changes: 15 additions & 15 deletions sdk/application/ApplicationModels.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export class CatalogValidator {
static getCollectionItemsBySlug(): any;
static getCollectionDetailBySlug(): any;
static getFollowedListing(): any;
static followById(): any;
static unfollowById(): any;
static followById(): any;
static getFollowerCountById(): any;
static getFollowIds(): any;
static getStores(): any;
Expand Down Expand Up @@ -270,34 +270,34 @@ export class LogisticValidator {
static getPincodeCity(): any;
}
export class Validator {
static Price(): any;
static ProductListingPrice(): any;
static Meta(): any;
static Media(): any;
static ProductListingActionPage(): any;
static ProductListingAction(): any;
static ProductBrand(): any;
static Price(): any;
static ProductListingPrice(): any;
static ProductDetailAttribute(): any;
static ProductDetailGroupedAttribute(): any;
static ProductDetail(): any;
static ErrorResponse(): any;
static ProductSize(): any;
static ProductSizeStores(): any;
static SizeChartValues(): any;
static ColumnHeader(): any;
static ColumnHeaders(): any;
static SizeChartValues(): any;
static SizeChart(): any;
static ProductSizeStores(): any;
static ProductSizes(): any;
static Details(): any;
static MarketPlaceSttributes(): any;
static Seller(): any;
static ProductStockPrice(): any;
static ReturnConfig(): any;
static StrategyWiseListing(): any;
static Store(): any;
static ProductSetDistributionSize(): any;
static ProductSetDistribution(): any;
static ProductSet(): any;
static ReturnConfig(): any;
static Seller(): any;
static StrategyWiseListing(): any;
static Details(): any;
static MarketPlaceSttributes(): any;
static ArticleAssignment(): any;
static ProductSizePriceResponse(): any;
static ProductSizeSellerFilter(): any;
Expand All @@ -312,27 +312,27 @@ export class Validator {
static ProductVariantItemResponse(): any;
static ProductVariantResponse(): any;
static ProductVariantsResponse(): any;
static CompanyDetail(): any;
static StoreDetail(): any;
static CompanyDetail(): any;
static ProductStockStatusItem(): any;
static ProductStockStatusResponse(): any;
static ProductStockPolling(): any;
static ProductSortOn(): any;
static ProductListingDetail(): any;
static ProductFiltersKey(): any;
static ProductFiltersValue(): any;
static ProductFilters(): any;
static ProductSortOn(): any;
static ProductListingResponse(): any;
static ImageUrls(): any;
static BrandItem(): any;
static BrandListingResponse(): any;
static BrandDetailResponse(): any;
static DepartmentIdentifier(): any;
static ThirdLevelChild(): any;
static SecondLevelChild(): any;
static Child(): any;
static CategoryItems(): any;
static DepartmentCategoryTree(): any;
static DepartmentIdentifier(): any;
static CategoryListingResponse(): any;
static CategoryMetaResponse(): any;
static HomeListingResponse(): any;
Expand All @@ -354,10 +354,10 @@ export class Validator {
static LatLong(): any;
static Store1(): any;
static StoreListingResponse(): any;
static StoreDepartments(): any;
static StoreAddressSerializer(): any;
static SellerPhoneNumber(): any;
static CompanyStore(): any;
static StoreAddressSerializer(): any;
static StoreDepartments(): any;
static StoreManagerSerializer(): any;
static AppStore(): any;
static ApplicationStoreListing(): any;
Expand Down
Loading

0 comments on commit 1f999ba

Please sign in to comment.