From a1e03adb732d40e44f0cd778cccb3429eb423dbb Mon Sep 17 00:00:00 2001 From: Jigar Dafda Date: Tue, 21 Sep 2021 13:42:40 +0000 Subject: [PATCH] [Auto Generated] 0.1.6 --- documentation/application/CATALOG.md | 618 +- documentation/application/README.md | 2 +- documentation/platform/CATALOG.md | 3454 +++++------ documentation/platform/COMPANYPROFILE.md | 590 +- documentation/platform/README.md | 2 +- .../com/sdk/application/ApplicationApiList.kt | 8 +- .../com/sdk/application/ApplicationConfig.kt | 3 +- .../ApplicationDataManagerClass.kt | 42 +- .../com/sdk/application/ApplicationModels.kt | 1674 ++--- .../com/sdk/common/AccessTokenInterceptor.kt | 3 + src/main/java/com/sdk/common/HttpClient.kt | 8 + src/main/java/com/sdk/common/RequestSigner.kt | 20 +- .../java/com/sdk/common/RetrofitHttpClient.kt | 6 +- .../java/com/sdk/platform/PlatformApiList.kt | 150 +- .../java/com/sdk/platform/PlatformConfig.kt | 3 +- .../sdk/platform/PlatformDataManagerClass.kt | 324 +- .../java/com/sdk/platform/PlatformModels.kt | 5502 +++++++++-------- .../com/sdk/platform/PlatformOAuthClient.kt | 2 +- 18 files changed, 6246 insertions(+), 6165 deletions(-) diff --git a/documentation/application/CATALOG.md b/documentation/application/CATALOG.md index 909c3ba6a..fd9588a79 100644 --- a/documentation/application/CATALOG.md +++ b/documentation/application/CATALOG.md @@ -29,8 +29,8 @@ Catalog API's allows you to access list of products, prices, seller details, sim * [getCollectionItemsBySlug](#getcollectionitemsbyslug) * [getCollectionDetailBySlug](#getcollectiondetailbyslug) * [getFollowedListing](#getfollowedlisting) -* [followById](#followbyid) * [unfollowById](#unfollowbyid) +* [followById](#followbyid) * [getFollowerCountById](#getfollowercountbyid) * [getFollowIds](#getfollowids) * [getStores](#getstores) @@ -5900,14 +5900,14 @@ Success. Returns a Followed resource object. Check the example shown below or re --- -### followById -Follow an entity (product/brand/collection) +### unfollowById +Unfollow an entity (product/brand/collection) ```kotlin -catalog.followById(collectionType: collectionType, collectionId: collectionId).safeAwait{ response,error-> +catalog.unfollowById(collectionType: collectionType, collectionId: collectionId).safeAwait{ response,error-> response?.let{ // Use response @@ -5928,7 +5928,7 @@ catalog.followById(collectionType: collectionType, collectionId: collectionId).s -Follow a particular entity such as product, brand, collection specified by its ID. +You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_. *Returned Response:* @@ -5947,7 +5947,7 @@ Success. Returns a response object. Check the example shown below or refer `Foll ```json { - "message": "Brands Added To Wishlist", + "message": "Products Removed From Wishlist", "id": "1" } ``` @@ -5964,14 +5964,14 @@ Success. Returns a response object. Check the example shown below or refer `Foll --- -### unfollowById -Unfollow an entity (product/brand/collection) +### followById +Follow an entity (product/brand/collection) ```kotlin -catalog.unfollowById(collectionType: collectionType, collectionId: collectionId).safeAwait{ response,error-> +catalog.followById(collectionType: collectionType, collectionId: collectionId).safeAwait{ response,error-> response?.let{ // Use response @@ -5992,7 +5992,7 @@ catalog.unfollowById(collectionType: collectionType, collectionId: collectionId) -You can undo a followed product, brand or collection by its ID. This action is referred as _unfollow_. +Follow a particular entity such as product, brand, collection specified by its ID. *Returned Response:* @@ -6011,7 +6011,7 @@ Success. Returns a response object. Check the example shown below or refer `Foll ```json { - "message": "Products Removed From Wishlist", + "message": "Brands Added To Wishlist", "id": "1" } ``` @@ -6644,114 +6644,114 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor - #### [Price](#Price) + #### [Meta](#Meta) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | min | Double? | yes | | - | max | Double? | yes | | - | currencyCode | String? | yes | | - | currencySymbol | String? | yes | | + | source | String? | yes | | --- - #### [ProductListingPrice](#ProductListingPrice) + #### [Media](#Media) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | marked | [Price](#Price)? | yes | | - | effective | [Price](#Price)? | yes | | + | url | String? | yes | | + | meta | [Meta](#Meta)? | yes | | + | type | String? | yes | | --- - #### [ProductDetailAttribute](#ProductDetailAttribute) + #### [ProductListingActionPage](#ProductListingActionPage) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | value | String? | yes | | + | params | HashMap? | yes | | + | query | HashMap? | yes | | | type | String? | yes | | - | key | String? | yes | | --- - #### [ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute) + #### [ProductListingAction](#ProductListingAction) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | details | ArrayList<[ProductDetailAttribute](#ProductDetailAttribute)>? | yes | | - | title | String? | yes | | + | page | [ProductListingActionPage](#ProductListingActionPage)? | yes | | + | type | String? | yes | | --- - #### [ProductListingActionPage](#ProductListingActionPage) + #### [ProductBrand](#ProductBrand) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | type | String? | yes | | - | query | HashMap? | yes | | - | params | HashMap? | yes | | + | logo | [Media](#Media)? | yes | | + | uid | Int? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | + | name | String? | yes | | --- - #### [ProductListingAction](#ProductListingAction) + #### [ProductDetailAttribute](#ProductDetailAttribute) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | key | String? | yes | | + | value | String? | yes | | | type | String? | yes | | - | page | [ProductListingActionPage](#ProductListingActionPage)? | yes | | --- - #### [Meta](#Meta) + #### [ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | source | String? | yes | | + | details | ArrayList<[ProductDetailAttribute](#ProductDetailAttribute)>? | yes | | + | title | String? | yes | | --- - #### [Media](#Media) + #### [Price](#Price) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | type | String? | yes | | - | url | String? | yes | | - | meta | [Meta](#Meta)? | yes | | + | max | Double? | yes | | + | min | Double? | yes | | + | currencySymbol | String? | yes | | + | currencyCode | String? | yes | | --- - #### [ProductBrand](#ProductBrand) + #### [ProductListingPrice](#ProductListingPrice) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | uid | Int? | yes | | - | logo | [Media](#Media)? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | + | marked | [Price](#Price)? | yes | | + | effective | [Price](#Price)? | yes | | --- @@ -6762,32 +6762,32 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | imageNature | String? | yes | | - | tryouts | ArrayList? | yes | | - | similars | ArrayList? | yes | | - | color | String? | yes | | - | rating | Double? | yes | | + | uid | Int? | yes | | | type | String? | yes | | + | name | String? | yes | | + | shortDescription | String? | yes | | | itemType | String? | yes | | - | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | similars | ArrayList? | yes | | + | imageNature | String? | yes | | + | productOnlineDate | String? | yes | | + | ratingCount | Int? | yes | | + | categories | ArrayList<[ProductBrand](#ProductBrand)>? | yes | | | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | + | itemCode | String? | yes | | + | medias | ArrayList<[Media](#Media)>? | yes | | + | hasVariant | Boolean? | yes | | | highlights | ArrayList? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | | slug | String | no | | - | itemCode | String? | yes | | - | discount | String? | yes | | + | color | String? | yes | | | description | String? | yes | | - | shortDescription | String? | yes | | - | medias | ArrayList<[Media](#Media)>? | yes | | - | ratingCount | Int? | yes | | - | name | String? | yes | | - | uid | Int? | yes | | | attributes | HashMap? | yes | | - | hasVariant | Boolean? | yes | | - | teaserTag | String? | yes | | - | productOnlineDate | String? | yes | | - | categories | ArrayList<[ProductBrand](#ProductBrand)>? | yes | | | brand | [ProductBrand](#ProductBrand)? | yes | | + | discount | String? | yes | | + | teaserTag | String? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | + | tryouts | ArrayList? | yes | | + | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | rating | Double? | yes | | --- @@ -6805,6 +6805,20 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor + #### [ProductSize](#ProductSize) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | quantity | Int? | yes | | + | display | String? | yes | | + | value | String? | yes | | + | isAvailable | Boolean? | yes | | + +--- + + + + #### [ProductSizeStores](#ProductSizeStores) | Properties | Type | Nullable | Description | @@ -6820,12 +6834,12 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | col2 | String? | yes | | | col5 | String? | yes | | | col3 | String? | yes | | - | col6 | String? | yes | | - | col1 | String? | yes | | | col4 | String? | yes | | + | col2 | String? | yes | | + | col1 | String? | yes | | + | col6 | String? | yes | | --- @@ -6836,8 +6850,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | value | String? | yes | | | convertable | Boolean? | yes | | + | value | String? | yes | | --- @@ -6848,12 +6862,12 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | col2 | [ColumnHeader](#ColumnHeader)? | yes | | | col5 | [ColumnHeader](#ColumnHeader)? | yes | | | col3 | [ColumnHeader](#ColumnHeader)? | yes | | - | col6 | [ColumnHeader](#ColumnHeader)? | yes | | - | col1 | [ColumnHeader](#ColumnHeader)? | yes | | | col4 | [ColumnHeader](#ColumnHeader)? | yes | | + | col2 | [ColumnHeader](#ColumnHeader)? | yes | | + | col1 | [ColumnHeader](#ColumnHeader)? | yes | | + | col6 | [ColumnHeader](#ColumnHeader)? | yes | | --- @@ -6864,27 +6878,13 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | description | String? | yes | | - | sizeTip | String? | yes | | | unit | String? | yes | | | image | String? | yes | | - | sizes | ArrayList<[SizeChartValues](#SizeChartValues)>? | yes | | | title | String? | yes | | + | sizes | ArrayList<[SizeChartValues](#SizeChartValues)>? | yes | | | headers | [ColumnHeaders](#ColumnHeaders)? | yes | | - ---- - - - - - #### [ProductSize](#ProductSize) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | quantity | Int? | yes | | - | value | String? | yes | | - | display | String? | yes | | - | isAvailable | Boolean? | yes | | + | sizeTip | String? | yes | | + | description | String? | yes | | --- @@ -6895,25 +6895,25 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | stores | [ProductSizeStores](#ProductSizeStores)? | yes | | | discount | String? | yes | | - | sellable | Boolean? | yes | | - | sizeChart | [SizeChart](#SizeChart)? | yes | | | sizes | ArrayList<[ProductSize](#ProductSize)>? | yes | | | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | stores | [ProductSizeStores](#ProductSizeStores)? | yes | | + | sizeChart | [SizeChart](#SizeChart)? | yes | | + | sellable | Boolean? | yes | | --- - #### [ReturnConfig](#ReturnConfig) + #### [ProductStockPrice](#ProductStockPrice) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | time | Int? | yes | | - | returnable | Boolean? | yes | | - | unit | String? | yes | | + | currency | String? | yes | | + | effective | Double? | yes | | + | marked | Double? | yes | | --- @@ -6924,121 +6924,121 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | strategy | String? | yes | | | level | String? | yes | | + | strategy | String? | yes | | --- - #### [Store](#Store) + #### [ReturnConfig](#ReturnConfig) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | count | Int? | yes | | - | name | String? | yes | | - | uid | Int? | yes | | + | unit | String? | yes | | + | time | Int? | yes | | + | returnable | Boolean? | yes | | --- - #### [ProductSetDistributionSize](#ProductSetDistributionSize) + #### [Details](#Details) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | size | String? | yes | | - | pieces | Int? | yes | | + | key | String? | yes | | + | value | String? | yes | | + | type | String? | yes | | --- - #### [ProductSetDistribution](#ProductSetDistribution) + #### [MarketPlaceSttributes](#MarketPlaceSttributes) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | sizes | ArrayList<[ProductSetDistributionSize](#ProductSetDistributionSize)>? | yes | | + | details | ArrayList<[Details](#Details)>? | yes | | + | title | String? | yes | | --- - #### [ProductSet](#ProductSet) + #### [Store](#Store) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | quantity | Int? | yes | | - | sizeDistribution | [ProductSetDistribution](#ProductSetDistribution)? | yes | | + | name | String? | yes | | + | count | Int? | yes | | + | uid | Int? | yes | | --- - #### [ProductStockPrice](#ProductStockPrice) + #### [Seller](#Seller) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | currency | String? | yes | | - | marked | Double? | yes | | - | effective | Double? | yes | | + | name | String? | yes | | + | count | Int? | yes | | + | uid | Int? | yes | | --- - #### [Seller](#Seller) + #### [ProductSetDistributionSize](#ProductSetDistributionSize) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | count | Int? | yes | | - | name | String? | yes | | - | uid | Int? | yes | | + | pieces | Int? | yes | | + | size | String? | yes | | --- - #### [StrategyWiseListing](#StrategyWiseListing) + #### [ProductSetDistribution](#ProductSetDistribution) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | quantity | Int? | yes | | - | pincode | Int? | yes | | - | tat | Int? | yes | | - | distance | Int? | yes | | + | sizes | ArrayList<[ProductSetDistributionSize](#ProductSetDistributionSize)>? | yes | | --- - #### [Details](#Details) + #### [ProductSet](#ProductSet) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | value | String? | yes | | - | type | String? | yes | | - | key | String? | yes | | + | sizeDistribution | [ProductSetDistribution](#ProductSetDistribution)? | yes | | + | quantity | Int? | yes | | --- - #### [MarketPlaceSttributes](#MarketPlaceSttributes) + #### [StrategyWiseListing](#StrategyWiseListing) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | details | ArrayList<[Details](#Details)>? | yes | | - | title | String? | yes | | + | tat | Int? | yes | | + | quantity | Int? | yes | | + | distance | Int? | yes | | + | pincode | Int? | yes | | --- @@ -7049,23 +7049,23 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | articleId | String? | yes | | - | sellerCount | Int? | yes | | - | discount | String? | yes | | + | pricePerPiece | [ProductStockPrice](#ProductStockPrice)? | yes | | + | articleAssignment | [ArticleAssignment](#ArticleAssignment)? | yes | | | returnConfig | [ReturnConfig](#ReturnConfig)? | yes | | + | marketplaceAttributes | ArrayList<[MarketPlaceSttributes](#MarketPlaceSttributes)>? | yes | | + | discount | String? | yes | | | quantity | Int? | yes | | - | specialBadge | String? | yes | | - | itemType | String? | yes | | - | articleAssignment | [ArticleAssignment](#ArticleAssignment)? | yes | | + | articleId | String? | yes | | + | sellerCount | Int? | yes | | | store | [Store](#Store)? | yes | | - | pincode | Int? | yes | | - | set | [ProductSet](#ProductSet)? | yes | | - | pricePerPiece | [ProductStockPrice](#ProductStockPrice)? | yes | | | seller | [Seller](#Seller)? | yes | | - | price | [ProductStockPrice](#ProductStockPrice)? | yes | | + | set | [ProductSet](#ProductSet)? | yes | | | strategyWiseListing | ArrayList<[StrategyWiseListing](#StrategyWiseListing)>? | yes | | + | price | [ProductStockPrice](#ProductStockPrice)? | yes | | + | pincode | Int? | yes | | | longLat | ArrayList? | yes | | - | marketplaceAttributes | ArrayList<[MarketPlaceSttributes](#MarketPlaceSttributes)>? | yes | | + | itemType | String? | yes | | + | specialBadge | String? | yes | | --- @@ -7077,12 +7077,12 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | hasNext | Boolean? | yes | | - | itemTotal | Int? | yes | | - | type | String | no | | - | current | Int? | yes | | | nextId | String? | yes | | - | size | Int? | yes | | + | current | Int? | yes | | | hasPrevious | Boolean? | yes | | + | type | String | no | | + | itemTotal | Int? | yes | | + | size | Int? | yes | | --- @@ -7093,9 +7093,9 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | isSelected | Boolean? | yes | | | value | String? | yes | | + | isSelected | Boolean? | yes | | + | name | String? | yes | | --- @@ -7106,8 +7106,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[ProductSizePriceResponse](#ProductSizePriceResponse)>? | yes | | + | page | [Page](#Page) | no | | | sortOn | ArrayList<[ProductSizeSellerFilter](#ProductSizeSellerFilter)>? | yes | | --- @@ -7119,10 +7119,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | description | String? | yes | | | display | String? | yes | | - | logo | String? | yes | | | key | String? | yes | | + | logo | String? | yes | | + | description | String? | yes | | --- @@ -7145,8 +7145,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | items | ArrayList<[ProductDetail](#ProductDetail)>? | yes | | | attributesMetadata | ArrayList<[AttributeMetadata](#AttributeMetadata)>? | yes | | + | items | ArrayList<[ProductDetail](#ProductDetail)>? | yes | | --- @@ -7206,15 +7206,15 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | medias | ArrayList<[Media](#Media)>? | yes | | + | colorName | String? | yes | | | isAvailable | Boolean? | yes | | - | slug | String? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | | uid | Int? | yes | | - | colorName | String? | yes | | + | name | String? | yes | | + | slug | String? | yes | | | color | String? | yes | | | value | String? | yes | | - | medias | ArrayList<[Media](#Media)>? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | name | String? | yes | | --- @@ -7225,10 +7225,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | header | String? | yes | | - | displayType | String? | yes | | | items | ArrayList<[ProductVariantItemResponse](#ProductVariantItemResponse)>? | yes | | | key | String? | yes | | + | displayType | String? | yes | | + | header | String? | yes | | --- @@ -7250,8 +7250,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | | id | Int? | yes | | + | name | String? | yes | | --- @@ -7262,10 +7262,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | | code | String? | yes | | | city | String? | yes | | | id | Int? | yes | | + | name | String? | yes | | --- @@ -7276,15 +7276,15 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | String? | yes | | - | quantity | Int? | yes | | | company | [CompanyDetail](#CompanyDetail)? | yes | | + | quantity | Int? | yes | | | store | [StoreDetail](#StoreDetail)? | yes | | - | itemId | Int? | yes | | + | uid | String? | yes | | | seller | [Seller](#Seller)? | yes | | + | itemId | Int? | yes | | + | price | [ProductStockPrice](#ProductStockPrice)? | yes | | | identifier | HashMap? | yes | | | size | String? | yes | | - | price | [ProductStockPrice](#ProductStockPrice)? | yes | | --- @@ -7306,8 +7306,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[ProductStockStatusItem](#ProductStockStatusItem)>? | yes | | + | page | [Page](#Page) | no | | --- @@ -7318,55 +7318,46 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | imageNature | String? | yes | | - | tryouts | ArrayList? | yes | | - | similars | ArrayList? | yes | | - | color | String? | yes | | - | rating | Double? | yes | | + | uid | Int? | yes | | | type | String? | yes | | + | name | String? | yes | | + | shortDescription | String? | yes | | | itemType | String? | yes | | - | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | sellable | Boolean? | yes | | + | similars | ArrayList? | yes | | + | imageNature | String? | yes | | + | productOnlineDate | String? | yes | | + | ratingCount | Int? | yes | | + | categories | ArrayList<[ProductBrand](#ProductBrand)>? | yes | | | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | + | itemCode | String? | yes | | + | medias | ArrayList<[Media](#Media)>? | yes | | + | hasVariant | Boolean? | yes | | | highlights | ArrayList? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | | slug | String | no | | - | itemCode | String? | yes | | - | discount | String? | yes | | + | color | String? | yes | | | description | String? | yes | | - | shortDescription | String? | yes | | - | medias | ArrayList<[Media](#Media)>? | yes | | - | ratingCount | Int? | yes | | - | name | String? | yes | | - | uid | Int? | yes | | | attributes | HashMap? | yes | | - | hasVariant | Boolean? | yes | | - | teaserTag | String? | yes | | - | sellable | Boolean? | yes | | - | productOnlineDate | String? | yes | | - | categories | ArrayList<[ProductBrand](#ProductBrand)>? | yes | | | brand | [ProductBrand](#ProductBrand)? | yes | | + | discount | String? | yes | | + | teaserTag | String? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | + | tryouts | ArrayList? | yes | | + | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | rating | Double? | yes | | --- - #### [ProductFiltersValue](#ProductFiltersValue) + #### [ProductSortOn](#ProductSortOn) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | count | Int? | yes | | - | isSelected | Boolean | no | | - | min | Int? | yes | | - | selectedMax | Int? | yes | | - | displayFormat | String? | yes | | - | currencyCode | String? | yes | | + | isSelected | Boolean? | yes | | | value | String? | yes | | - | currencySymbol | String? | yes | | - | queryFormat | String? | yes | | - | display | String | no | | - | max | Int? | yes | | - | selectedMin | Int? | yes | | + | name | String? | yes | | --- @@ -7377,35 +7368,44 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | logo | String? | yes | | | kind | String? | yes | | - | name | String | no | | | display | String | no | | - | logo | String? | yes | | + | name | String | no | | --- - #### [ProductFilters](#ProductFilters) + #### [ProductFiltersValue](#ProductFiltersValue) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | values | ArrayList<[ProductFiltersValue](#ProductFiltersValue)> | no | | - | key | [ProductFiltersKey](#ProductFiltersKey) | no | | + | min | Int? | yes | | + | selectedMax | Int? | yes | | + | currencySymbol | String? | yes | | + | count | Int? | yes | | + | currencyCode | String? | yes | | + | selectedMin | Int? | yes | | + | queryFormat | String? | yes | | + | displayFormat | String? | yes | | + | isSelected | Boolean | no | | + | max | Int? | yes | | + | display | String | no | | + | value | String? | yes | | --- - #### [ProductSortOn](#ProductSortOn) + #### [ProductFilters](#ProductFilters) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | isSelected | Boolean? | yes | | - | value | String? | yes | | + | key | [ProductFiltersKey](#ProductFiltersKey) | no | | + | values | ArrayList<[ProductFiltersValue](#ProductFiltersValue)> | no | | --- @@ -7416,10 +7416,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | - | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | + | page | [Page](#Page) | no | | | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | + | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | --- @@ -7430,8 +7430,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | portrait | [Media](#Media)? | yes | | | landscape | [Media](#Media)? | yes | | + | portrait | [Media](#Media)? | yes | | --- @@ -7442,14 +7442,14 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | Int? | yes | | | discount | String? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | slug | String? | yes | | - | departments | ArrayList? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | | name | String? | yes | | + | uid | Int? | yes | | | logo | [Media](#Media)? | yes | | + | departments | ArrayList? | yes | | + | slug | String? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | --- @@ -7460,8 +7460,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[BrandItem](#BrandItem)>? | yes | | + | page | [Page](#Page) | no | | --- @@ -7472,10 +7472,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | | logo | [Media](#Media)? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | + | name | String? | yes | | --- @@ -7498,13 +7498,13 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | customJson | HashMap? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | | uid | Int? | yes | | + | name | String? | yes | | + | childs | ArrayList>? | yes | | | slug | String? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | - | childs | ArrayList>? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | name | String? | yes | | - | customJson | HashMap? | yes | | --- @@ -7515,13 +7515,13 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | customJson | HashMap? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | | uid | Int? | yes | | + | name | String? | yes | | + | childs | ArrayList<[ThirdLevelChild](#ThirdLevelChild)>? | yes | | | slug | String? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | - | childs | ArrayList<[ThirdLevelChild](#ThirdLevelChild)>? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | name | String? | yes | | - | customJson | HashMap? | yes | | --- @@ -7532,13 +7532,13 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | customJson | HashMap? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | | uid | Int? | yes | | + | name | String? | yes | | + | childs | ArrayList<[SecondLevelChild](#SecondLevelChild)>? | yes | | | slug | String? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | - | childs | ArrayList<[SecondLevelChild](#SecondLevelChild)>? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | name | String? | yes | | - | customJson | HashMap? | yes | | --- @@ -7549,12 +7549,12 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | action | [ProductListingAction](#ProductListingAction)? | yes | | | uid | Int? | yes | | + | name | String? | yes | | + | childs | ArrayList<[Child](#Child)>? | yes | | | slug | String? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | - | childs | ArrayList<[Child](#Child)>? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | name | String? | yes | | --- @@ -7565,8 +7565,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | department | String? | yes | | | items | ArrayList<[CategoryItems](#CategoryItems)>? | yes | | + | department | String? | yes | | --- @@ -7589,10 +7589,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | | logo | [Media](#Media)? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | + | name | String? | yes | | --- @@ -7603,9 +7603,9 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | - | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | | message | String? | yes | | + | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | + | page | [Page](#Page) | no | | --- @@ -7616,11 +7616,11 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | name | String? | yes | | | uid | Int? | yes | | - | slug | String? | yes | | | priorityOrder | Int? | yes | | - | name | String? | yes | | | logo | [Media](#Media)? | yes | | + | slug | String? | yes | | --- @@ -7642,10 +7642,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | type | String? | yes | | - | display | String? | yes | | | logo | [Media](#Media)? | yes | | + | display | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | + | type | String? | yes | | --- @@ -7667,51 +7667,51 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | allowSort | Boolean? | yes | | + | meta | HashMap? | yes | | | isActive | Boolean? | yes | | - | schedule | HashMap? | yes | | | tag | ArrayList? | yes | | + | name | String? | yes | | | type | String? | yes | | - | meta | HashMap? | yes | | | cron | HashMap? | yes | | + | badge | HashMap? | yes | | | logo | [Media](#Media)? | yes | | + | uid | String? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | | appId | String? | yes | | | visibleFacetsKeys | ArrayList? | yes | | - | badge | HashMap? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | - | query | HashMap? | yes | | | slug | String? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | description | String? | yes | | - | allowSort | Boolean? | yes | | - | name | String? | yes | | | allowFacets | Boolean? | yes | | - | uid | String? | yes | | + | description | String? | yes | | + | schedule | HashMap? | yes | | + | query | HashMap? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | --- - #### [CollectionListingFilterType](#CollectionListingFilterType) + #### [CollectionListingFilterTag](#CollectionListingFilterTag) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | isSelected | Boolean? | yes | | | display | String? | yes | | + | isSelected | Boolean? | yes | | + | name | String? | yes | | --- - #### [CollectionListingFilterTag](#CollectionListingFilterTag) + #### [CollectionListingFilterType](#CollectionListingFilterType) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | isSelected | Boolean? | yes | | | display | String? | yes | | + | isSelected | Boolean? | yes | | + | name | String? | yes | | --- @@ -7722,8 +7722,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | type | ArrayList<[CollectionListingFilterType](#CollectionListingFilterType)>? | yes | | | tags | ArrayList<[CollectionListingFilterTag](#CollectionListingFilterTag)>? | yes | | + | type | ArrayList<[CollectionListingFilterType](#CollectionListingFilterType)>? | yes | | --- @@ -7734,8 +7734,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[GetCollectionDetailNest](#GetCollectionDetailNest)>? | yes | | + | page | [Page](#Page) | no | | | filters | [CollectionListingFilter](#CollectionListingFilter)? | yes | | --- @@ -7747,23 +7747,23 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | - | allowFacets | Boolean? | yes | | - | slug | String? | yes | | | schedule | HashMap? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | tag | ArrayList? | yes | | - | description | String? | yes | | - | type | String? | yes | | - | meta | HashMap? | yes | | - | badge | HashMap? | yes | | | allowSort | Boolean? | yes | | + | meta | HashMap? | yes | | + | isActive | Boolean? | yes | | + | query | HashMap? | yes | | + | appId | String? | yes | | + | tag | ArrayList? | yes | | | name | String? | yes | | + | type | String? | yes | | | cron | HashMap? | yes | | + | badge | HashMap? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | | logo | [Media](#Media)? | yes | | - | appId | String? | yes | | - | query | HashMap? | yes | | | visibleFacetsKeys | ArrayList? | yes | | + | slug | String? | yes | | + | allowFacets | Boolean? | yes | | + | description | String? | yes | | --- @@ -7774,8 +7774,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[ProductListingDetail](#ProductListingDetail)> | no | | + | page | [Page](#Page) | no | | --- @@ -7786,8 +7786,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | id | String | no | | | message | String | no | | + | id | String | no | | --- @@ -7810,8 +7810,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | products | ArrayList? | yes | | - | brands | ArrayList? | yes | | | collections | ArrayList? | yes | | + | brands | ArrayList? | yes | | --- @@ -7845,16 +7845,16 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | country | String? | yes | | + | state | String? | yes | | + | city | String? | yes | | + | storeEmail | String? | yes | | + | name | String? | yes | | | uid | Int? | yes | | | latLong | [LatLong](#LatLong)? | yes | | + | pincode | Int? | yes | | | address | String? | yes | | - | country | String? | yes | | | storeCode | String? | yes | | - | city | String? | yes | | - | pincode | Int? | yes | | - | state | String? | yes | | - | name | String? | yes | | - | storeEmail | String? | yes | | --- @@ -7865,81 +7865,81 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[Store1](#Store1)> | no | | + | page | [Page](#Page) | no | | --- - #### [PhoneNumber](#PhoneNumber) + #### [CompanyStore](#CompanyStore) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | countryCode | Int? | yes | | - | number | String? | yes | | + | companyType | String? | yes | | + | name | String? | yes | | + | businessType | String? | yes | | + | uid | Int? | yes | | --- - #### [StoreManagerSerializer](#StoreManagerSerializer) + #### [SellerPhoneNumber](#SellerPhoneNumber) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String? | yes | | - | email | String? | yes | | - | mobileNo | [PhoneNumber](#PhoneNumber)? | yes | | + | number | String | no | | + | countryCode | Int | no | | --- - #### [StoreAddressSerializer](#StoreAddressSerializer) + #### [StoreManagerSerializer](#StoreManagerSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | country | String? | yes | | - | latitude | Double? | yes | | - | city | String? | yes | | - | pincode | Int? | yes | | - | address2 | String? | yes | | - | state | String? | yes | | - | longitude | Double? | yes | | - | address1 | String? | yes | | - | landmark | String? | yes | | + | mobileNo | [SellerPhoneNumber](#SellerPhoneNumber)? | yes | | + | email | String? | yes | | + | name | String? | yes | | --- - #### [CompanyStore](#CompanyStore) + #### [StoreDepartments](#StoreDepartments) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | name | String? | yes | | | uid | Int? | yes | | - | businessType | String? | yes | | - | companyType | String? | yes | | + | priorityOrder | Int? | yes | | + | logo | String? | yes | | + | slug | String? | yes | | --- - #### [StoreDepartments](#StoreDepartments) + #### [StoreAddressSerializer](#StoreAddressSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | Int? | yes | | - | slug | String? | yes | | - | priorityOrder | Int? | yes | | - | name | String? | yes | | - | logo | String? | yes | | + | country | String? | yes | | + | address2 | String? | yes | | + | longitude | Double? | yes | | + | state | String? | yes | | + | address1 | String? | yes | | + | city | String? | yes | | + | landmark | String? | yes | | + | pincode | Int? | yes | | + | latitude | Double? | yes | | --- @@ -7950,13 +7950,13 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | company | [CompanyStore](#CompanyStore)? | yes | | + | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | | manager | [StoreManagerSerializer](#StoreManagerSerializer)? | yes | | + | name | String? | yes | | | uid | Int? | yes | | - | address | [StoreAddressSerializer](#StoreAddressSerializer)? | yes | | - | contactNumbers | ArrayList<[PhoneNumber](#PhoneNumber)>? | yes | | - | company | [CompanyStore](#CompanyStore)? | yes | | | departments | ArrayList<[StoreDepartments](#StoreDepartments)>? | yes | | - | name | String? | yes | | + | address | [StoreAddressSerializer](#StoreAddressSerializer)? | yes | | --- @@ -7967,8 +7967,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[AppStore](#AppStore)>? | yes | | + | page | [Page](#Page)? | yes | | | filters | ArrayList<[StoreDepartments](#StoreDepartments)>? | yes | | --- @@ -7980,8 +7980,8 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | minute | Int? | yes | | | hour | Int? | yes | | + | minute | Int? | yes | | --- @@ -7992,10 +7992,10 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | weekday | String? | yes | | + | opening | [Time](#Time)? | yes | | | closing | [Time](#Time)? | yes | | + | weekday | String? | yes | | | open | Boolean? | yes | | - | opening | [Time](#Time)? | yes | | --- @@ -8006,15 +8006,15 @@ Success. Returns a metadata object. Check the example shown below or refer `Stor | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | company | [CompanyStore](#CompanyStore)? | yes | | + | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | + | customJson | HashMap? | yes | | | manager | [StoreManagerSerializer](#StoreManagerSerializer)? | yes | | + | name | String? | yes | | | uid | Int? | yes | | - | address | [StoreAddressSerializer](#StoreAddressSerializer)? | yes | | - | contactNumbers | ArrayList<[PhoneNumber](#PhoneNumber)>? | yes | | - | company | [CompanyStore](#CompanyStore)? | yes | | | departments | ArrayList<[StoreDepartments](#StoreDepartments)>? | yes | | + | address | [StoreAddressSerializer](#StoreAddressSerializer)? | yes | | | timing | ArrayList<[StoreTiming](#StoreTiming)>? | yes | | - | name | String? | yes | | - | customJson | HashMap? | yes | | --- diff --git a/documentation/application/README.md b/documentation/application/README.md index 3155b5457..f0dac5c96 100644 --- a/documentation/application/README.md +++ b/documentation/application/README.md @@ -1,6 +1,6 @@ ##### [Back to home](../../README.md) -# FDK Application Front API Documentaion +# FDK Application Front API Documentation * [Catalog](CATALOG.md) - Catalog API's allows you to access list of products, prices, seller details, similar features, variants and many more useful features. diff --git a/documentation/platform/CATALOG.md b/documentation/platform/CATALOG.md index 1b2f07e31..45c3077e0 100644 --- a/documentation/platform/CATALOG.md +++ b/documentation/platform/CATALOG.md @@ -9,34 +9,34 @@ Catalog API's allows you to access list of products, prices, seller details, sim * [updateSearchKeywords](#updatesearchkeywords) * [getSearchKeywords](#getsearchkeywords) * [deleteSearchKeywords](#deletesearchkeywords) -* [createCustomKeyword](#createcustomkeyword) * [getAllSearchKeyword](#getallsearchkeyword) +* [createCustomKeyword](#createcustomkeyword) * [updateAutocompleteKeyword](#updateautocompletekeyword) * [getAutocompleteKeywordDetail](#getautocompletekeyworddetail) * [deleteAutocompleteKeyword](#deleteautocompletekeyword) -* [createCustomAutocompleteRule](#createcustomautocompleterule) * [getAutocompleteConfig](#getautocompleteconfig) -* [createProductBundle](#createproductbundle) +* [createCustomAutocompleteRule](#createcustomautocompleterule) * [getProductBundle](#getproductbundle) +* [createProductBundle](#createproductbundle) * [updateProductBundle](#updateproductbundle) * [getProductBundleDetail](#getproductbundledetail) -* [createSizeGuide](#createsizeguide) * [getSizeGuides](#getsizeguides) +* [createSizeGuide](#createsizeguide) * [updateSizeGuide](#updatesizeguide) * [getSizeGuide](#getsizeguide) * [getCatalogConfiguration](#getcatalogconfiguration) -* [createConfigurationProductListing](#createconfigurationproductlisting) * [getConfigurations](#getconfigurations) -* [createConfigurationByType](#createconfigurationbytype) +* [createConfigurationProductListing](#createconfigurationproductlisting) * [getConfigurationByType](#getconfigurationbytype) +* [createConfigurationByType](#createconfigurationbytype) * [getQueryFilters](#getqueryfilters) -* [createCollection](#createcollection) * [getAllCollections](#getallcollections) +* [createCollection](#createcollection) * [getCollectionDetail](#getcollectiondetail) * [updateCollection](#updatecollection) * [deleteCollection](#deletecollection) -* [addCollectionItems](#addcollectionitems) * [getCollectionItems](#getcollectionitems) +* [addCollectionItems](#addcollectionitems) * [getCatalogInsights](#getcataloginsights) * [getSellerInsights](#getsellerinsights) * [createMarketplaceOptin](#createmarketplaceoptin) @@ -57,38 +57,38 @@ Catalog API's allows you to access list of products, prices, seller details, sim * [listHSNCodes](#listhsncodes) * [listProductTemplateExportDetails](#listproducttemplateexportdetails) * [listTemplateBrandTypeValues](#listtemplatebrandtypevalues) -* [createCategories](#createcategories) * [listCategories](#listcategories) +* [createCategories](#createcategories) * [updateCategory](#updatecategory) * [getCategoryData](#getcategorydata) -* [createProduct](#createproduct) * [getProducts](#getproducts) +* [createProduct](#createproduct) * [editProduct](#editproduct) * [getProduct](#getproduct) * [deleteProduct](#deleteproduct) * [getProductValidation](#getproductvalidation) * [getProductSize](#getproductsize) -* [updateProductAssetsInBulk](#updateproductassetsinbulk) * [getProductBulkUploadHistory](#getproductbulkuploadhistory) +* [updateProductAssetsInBulk](#updateproductassetsinbulk) * [createProductsInBulk](#createproductsinbulk) * [deleteProductBulkJob](#deleteproductbulkjob) -* [getCompanyTags](#getcompanytags) -* [createProductAssetsInBulk](#createproductassetsinbulk) +* [getProductTags](#getproducttags) * [getProductAssetsInBulk](#getproductassetsinbulk) +* [createProductAssetsInBulk](#createproductassetsinbulk) * [deleteSize](#deletesize) -* [addInventory](#addinventory) * [getInventoryBySize](#getinventorybysize) +* [addInventory](#addinventory) * [getInventoryBySizeIdentifier](#getinventorybysizeidentifier) * [deleteInventory](#deleteinventory) -* [createBulkInventoryJob](#createbulkinventoryjob) * [getInventoryBulkUploadHistory](#getinventorybulkuploadhistory) +* [createBulkInventoryJob](#createbulkinventoryjob) * [createBulkInventory](#createbulkinventory) * [deleteBulkInventoryJob](#deletebulkinventoryjob) -* [createInventoryExportJob](#createinventoryexportjob) * [getInventoryExport](#getinventoryexport) +* [createInventoryExportJob](#createinventoryexportjob) * [exportInventoryConfig](#exportinventoryconfig) -* [createHsnCode](#createhsncode) * [getAllHsnCodes](#getallhsncodes) +* [createHsnCode](#createhsncode) * [updateHsnCode](#updatehsncode) * [getHsnCode](#gethsncode) * [bulkHsnCode](#bulkhsncode) @@ -308,14 +308,14 @@ Status object. Tells whether the operation was successful. See example below or --- -### createCustomKeyword -Add a Custom Search Keywords +### getAllSearchKeyword +List all Search Custom Keyword Listing ```kotlin -client.application("").catalog.createCustomKeyword(body: body).safeAwait{ response,error-> +client.application("").catalog.getAllSearchKeyword().safeAwait{ response,error-> response?.let{ // Use response @@ -333,19 +333,19 @@ client.application("").catalog.createCustomKeyword(body: body).s | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| body | [CreateSearchKeyword](#CreateSearchKeyword) | yes | Request body | -Create a Custom Search Keywords. See `CreateSearchKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateSearchKeywordSchema` + +Custom Search Keyword allows you to map conditions with keywords to give you the ultimate results *Returned Response:* -[GetSearchWordsData](#GetSearchWordsData) +[GetSearchWordsResponse](#GetSearchWordsResponse) -Get keyword object with id that is added. See example below or refer `GetSearchWordsDataSchema` for details +List of custom search keywords. See example below or refer `GetSearchWordsResponseSchema` for details @@ -355,21 +355,32 @@ Get keyword object with id that is added. See example below or refer `GetSearchW ```json { - "uid": "602fa1e9a596ce349563f6b9", - "words": [ - "sds" - ], - "app_id": "000000000000000000000001", - "is_active": true, - "result": { - "query": { - "department": [ - "men" - ] - }, - "sort_on": "popular" + "page": { + "current": 1, + "size": 1, + "has_previous": false, + "has_next": false, + "item_count": 1 }, - "_custom_json": {} + "items": [ + { + "uid": "602fa1e9a596ce349563f6b9", + "words": [ + "sds" + ], + "app_id": "000000000000000000000001", + "is_active": true, + "result": { + "query": { + "department": [ + "men" + ] + }, + "sort_on": "popular" + }, + "_custom_json": {} + } + ] } ``` @@ -385,14 +396,14 @@ Get keyword object with id that is added. See example below or refer `GetSearchW --- -### getAllSearchKeyword -List all Search Custom Keyword Listing +### createCustomKeyword +Add a Custom Search Keywords ```kotlin -client.application("").catalog.getAllSearchKeyword().safeAwait{ response,error-> +client.application("").catalog.createCustomKeyword(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -410,19 +421,19 @@ client.application("").catalog.getAllSearchKeyword().safeAwait{ | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | +| body | [CreateSearchKeyword](#CreateSearchKeyword) | yes | Request body | - -Custom Search Keyword allows you to map conditions with keywords to give you the ultimate results +Create a Custom Search Keywords. See `CreateSearchKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateSearchKeywordSchema` *Returned Response:* -[GetSearchWordsResponse](#GetSearchWordsResponse) +[GetSearchWordsData](#GetSearchWordsData) -List of custom search keywords. See example below or refer `GetSearchWordsResponseSchema` for details +Get keyword object with id that is added. See example below or refer `GetSearchWordsDataSchema` for details @@ -432,32 +443,21 @@ List of custom search keywords. See example below or refer `GetSearchWordsRespon ```json { - "page": { - "current": 1, - "size": 1, - "has_previous": false, - "has_next": false, - "item_count": 1 + "uid": "602fa1e9a596ce349563f6b9", + "words": [ + "sds" + ], + "app_id": "000000000000000000000001", + "is_active": true, + "result": { + "query": { + "department": [ + "men" + ] + }, + "sort_on": "popular" }, - "items": [ - { - "uid": "602fa1e9a596ce349563f6b9", - "words": [ - "sds" - ], - "app_id": "000000000000000000000001", - "is_active": true, - "result": { - "query": { - "department": [ - "men" - ] - }, - "sort_on": "popular" - }, - "_custom_json": {} - } - ] + "_custom_json": {} } ``` @@ -686,67 +686,6 @@ Status object. Tells whether the operation was successful. See example below or ---- - - -### createCustomAutocompleteRule -Add a Custom Autocomplete Keywords - - - - -```kotlin -client.application("").catalog.createCustomAutocompleteRule(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| body | [CreateAutocompleteKeyword](#CreateAutocompleteKeyword) | yes | Request body | - - -Create a Custom Autocomplete Keywords. See `CreateAutocompleteKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateAutocompleteKeywordSchema` - -*Returned Response:* - - - - -[CreateAutocompleteWordsResponse](#CreateAutocompleteWordsResponse) - -List of all the collections including the one you added. See example below or refer `CreateAutocompleteWordsResponseSchema` for details - - - - -
-  Example: - -```json - -``` -
- - - - - - - - - --- @@ -850,14 +789,14 @@ List of custom autocomplete keywords. See example below or refer `GetAutocomplet --- -### createProductBundle -Create Product Bundle +### createCustomAutocompleteRule +Add a Custom Autocomplete Keywords ```kotlin -client.catalog.createProductBundle(body: body).safeAwait{ response,error-> +client.application("").catalog.createCustomAutocompleteRule(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -873,20 +812,21 @@ client.catalog.createProductBundle(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| body | [ProductBundleRequest](#ProductBundleRequest) | yes | Request body | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | +| body | [CreateAutocompleteKeyword](#CreateAutocompleteKeyword) | yes | Request body | -Create Product Bundle. See `ProductBundleRequest` for the request body parameter need to create a product bundle. On successful request, returns in `ProductBundleRequest` with id +Create a Custom Autocomplete Keywords. See `CreateAutocompleteKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateAutocompleteKeywordSchema` *Returned Response:* -[GetProductBundleCreateResponse](#GetProductBundleCreateResponse) +[CreateAutocompleteWordsResponse](#CreateAutocompleteWordsResponse) -Get bundle with id that is added. See example below or refer `GetProductBundleCreateResponse` for details +List of all the collections including the one you added. See example below or refer `CreateAutocompleteWordsResponseSchema` for details @@ -895,40 +835,7 @@ Get bundle with id that is added. See example below or refer `GetProductBundleCr   Example: ```json -{ - "slug": "bag", - "logo": "http://g.com/poo.png/", - "name": "Bag", - "choice": "multi", - "products": [ - { - "product_uid": 7500001, - "max_quantity": 1, - "min_quantity": 1, - "auto_add_to_cart": false, - "auto_select": false, - "allow_remove": true - } - ], - "meta": {}, - "same_store_assignment": true, - "is_active": true, - "page_visibility": [ - "pdp" - ], - "created_by": { - "username": "917827311650_22960", - "uid": "123" - }, - "company_id": 1, - "created_on": "2021-02-19 16:40:26.310007", - "modified_by": { - "username": "917827311650_22960", - "uid": "123" - }, - "modified_on": "2021-02-19 16:40:26.310027", - "id": "602f9ca2a596ce312f5956f9" -} + ``` @@ -1150,14 +1057,14 @@ List of bundle configured for a company. See example below or refer `GetProductB --- -### updateProductBundle -Update a Product Bundle +### createProductBundle +Create Product Bundle ```kotlin -client.catalog.updateProductBundle(id: id, body: body).safeAwait{ response,error-> +client.catalog.createProductBundle(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -1173,12 +1080,11 @@ client.catalog.updateProductBundle(id: id, body: body).safeAwait{ response,error | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| id | String | yes | A `id` is a unique identifier for a particular detail. Pass the `id` of the keywords which you want to delete. | -| body | [ProductBundleUpdateRequest](#ProductBundleUpdateRequest) | yes | Request body | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| body | [ProductBundleRequest](#ProductBundleRequest) | yes | Request body | -Update a Product Bundle by its id. On successful request, returns the updated product bundle +Create Product Bundle. See `ProductBundleRequest` for the request body parameter need to create a product bundle. On successful request, returns in `ProductBundleRequest` with id *Returned Response:* @@ -1187,7 +1093,7 @@ Update a Product Bundle by its id. On successful request, returns the updated pr [GetProductBundleCreateResponse](#GetProductBundleCreateResponse) -The Collection object. See example below or refer `GetProductBundleCreateResponse` for details. +Get bundle with id that is added. See example below or refer `GetProductBundleCreateResponse` for details @@ -1244,14 +1150,14 @@ The Collection object. See example below or refer `GetProductBundleCreateRespons --- -### getProductBundleDetail -Get a particular Product Bundle details +### updateProductBundle +Update a Product Bundle ```kotlin -client.catalog.getProductBundleDetail(id: id).safeAwait{ response,error-> +client.catalog.updateProductBundle(id: id, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -1268,20 +1174,20 @@ client.catalog.getProductBundleDetail(id: id).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| id | String | yes | A `id` is a unique identifier for a particular detail. Pass the `id` of the keywords which you want to retrieve. | - +| id | String | yes | A `id` is a unique identifier for a particular detail. Pass the `id` of the keywords which you want to delete. | +| body | [ProductBundleUpdateRequest](#ProductBundleUpdateRequest) | yes | Request body | -Get a particular Bundle details by its `id`. If successful, returns a Product bundle resource in the response body specified in `GetProductBundleResponse` +Update a Product Bundle by its id. On successful request, returns the updated product bundle *Returned Response:* -[GetProductBundleResponse](#GetProductBundleResponse) +[GetProductBundleCreateResponse](#GetProductBundleCreateResponse) -The Collection object. See example below or refer `GetProductBundleResponse` for details +The Collection object. See example below or refer `GetProductBundleCreateResponse` for details. @@ -1292,26 +1198,12 @@ The Collection object. See example below or refer `GetProductBundleResponse` for ```json { "slug": "bag", - "company_id": 1, "logo": "http://g.com/poo.png/", "name": "Bag", "choice": "multi", "products": [ { "product_uid": 7500001, - "product_details": { - "country_of_origin": "India", - "slug": "slug-1", - "item_code": "760B3BFF-4905-44B8-A50E-082829E7107F", - "attributes": { - "brand_name": "brand 2" - }, - "name": "Some Phone", - "images": [ - "https://hdn-1.addsale.com/x0/media/pictures/tagged_items/original/random_code_4/FE6DUR_000000.png" - ], - "uid": 7500001 - }, "max_quantity": 1, "min_quantity": 1, "auto_add_to_cart": false, @@ -1321,9 +1213,22 @@ The Collection object. See example below or refer `GetProductBundleResponse` for ], "meta": {}, "same_store_assignment": true, + "is_active": true, "page_visibility": [ "pdp" - ] + ], + "created_by": { + "username": "917827311650_22960", + "uid": "123" + }, + "company_id": 1, + "created_on": "2021-02-19 16:40:26.310007", + "modified_by": { + "username": "917827311650_22960", + "uid": "123" + }, + "modified_on": "2021-02-19 16:40:26.310027", + "id": "602f9ca2a596ce312f5956f9" } ``` @@ -1339,14 +1244,14 @@ The Collection object. See example below or refer `GetProductBundleResponse` for --- -### createSizeGuide -Create a size guide. +### getProductBundleDetail +Get a particular Product Bundle details ```kotlin -client.catalog.createSizeGuide(body: body).safeAwait{ response,error-> +client.catalog.getProductBundleDetail(id: id).safeAwait{ response,error-> response?.let{ // Use response @@ -1362,20 +1267,21 @@ client.catalog.createSizeGuide(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company inside which the size guide is to be created. | -| body | [ValidateSizeGuide](#ValidateSizeGuide) | yes | Request body | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| id | String | yes | A `id` is a unique identifier for a particular detail. Pass the `id` of the keywords which you want to retrieve. | -This API allows to create a size guide associated to a brand. + +Get a particular Bundle details by its `id`. If successful, returns a Product bundle resource in the response body specified in `GetProductBundleResponse` *Returned Response:* -[SuccessResponse](#SuccessResponse) +[GetProductBundleResponse](#GetProductBundleResponse) -Returns a success response +The Collection object. See example below or refer `GetProductBundleResponse` for details @@ -1385,7 +1291,39 @@ Returns a success response ```json { - "success": true + "slug": "bag", + "company_id": 1, + "logo": "http://g.com/poo.png/", + "name": "Bag", + "choice": "multi", + "products": [ + { + "product_uid": 7500001, + "product_details": { + "country_of_origin": "India", + "slug": "slug-1", + "item_code": "760B3BFF-4905-44B8-A50E-082829E7107F", + "attributes": { + "brand_name": "brand 2" + }, + "name": "Some Phone", + "images": [ + "https://hdn-1.addsale.com/x0/media/pictures/tagged_items/original/random_code_4/FE6DUR_000000.png" + ], + "uid": 7500001 + }, + "max_quantity": 1, + "min_quantity": 1, + "auto_add_to_cart": false, + "auto_select": false, + "allow_remove": true + } + ], + "meta": {}, + "same_store_assignment": true, + "page_visibility": [ + "pdp" + ] } ``` @@ -1522,6 +1460,68 @@ Size guide object. See example below or refer `ListSizeGuide` for details +--- + + +### createSizeGuide +Create a size guide. + + + + +```kotlin +client.catalog.createSizeGuide(body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | Id of the company inside which the size guide is to be created. | +| body | [ValidateSizeGuide](#ValidateSizeGuide) | yes | Request body | + + +This API allows to create a size guide associated to a brand. + +*Returned Response:* + + + + +[SuccessResponse](#SuccessResponse) + +Returns a success response + + + + +
+  Example: + +```json +{ + "success": true +} +``` +
+ + + + + + + + + --- @@ -1755,67 +1755,6 @@ configuration details for catalog. See example below or refer `GetCatalogConfigu ---- - - -### createConfigurationProductListing -Add configuration for products & listings - - - - -```kotlin -client.application("").catalog.createConfigurationProductListing(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| body | [AppConfiguration](#AppConfiguration) | yes | Request body | - - -Add configuration for products & listing. - -*Returned Response:* - - - - -[GetAppCatalogConfiguration](#GetAppCatalogConfiguration) - -success flag will tell whether the operation was successful. - - - - -
-  Example: - -```json - -``` -
- - - - - - - - - --- @@ -2192,14 +2131,14 @@ Get application level configured catalog details. See example below or refer `Ge --- -### createConfigurationByType -Add configuration for categories and brands +### createConfigurationProductListing +Add configuration for products & listings ```kotlin -client.application("").catalog.createConfigurationByType(type: type, body: body).safeAwait{ response,error-> +client.application("").catalog.createConfigurationProductListing(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -2216,12 +2155,11 @@ client.application("").catalog.createConfigurationByType(type: t | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| type | String | yes | type can be brands, categories etc. | +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | | body | [AppConfiguration](#AppConfiguration) | yes | Request body | -Add configuration for categories & brands. +Add configuration for products & listing. *Returned Response:* @@ -2316,14 +2254,14 @@ Get application level configured catalog details. See example below or refer `Ge --- -### getQueryFilters -Get query filters to configure a collection +### createConfigurationByType +Add configuration for categories and brands ```kotlin -client.application("").catalog.getQueryFilters().safeAwait{ response,error-> +client.application("").catalog.createConfigurationByType(type: type, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -2340,20 +2278,82 @@ client.application("").catalog.getQueryFilters().safeAwait{ resp | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | - +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | +| type | String | yes | type can be brands, categories etc. | +| body | [AppConfiguration](#AppConfiguration) | yes | Request body | -Get query filters to configure a collection +Add configuration for categories & brands. *Returned Response:* -[GetCollectionQueryOptionResponse](#GetCollectionQueryOptionResponse) +[GetAppCatalogConfiguration](#GetAppCatalogConfiguration) + +success flag will tell whether the operation was successful. + + + + +
+  Example: + +```json + +``` +
+ + + + + + + + + +--- + + +### getQueryFilters +Get query filters to configure a collection + + + + +```kotlin +client.application("").catalog.getQueryFilters().safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | + + + +Get query filters to configure a collection + +*Returned Response:* -The attached items of an collection. See example below or refer `GetCollectionQueryOptionResponse` for details + + + +[GetCollectionQueryOptionResponse](#GetCollectionQueryOptionResponse) + +The attached items of an collection. See example below or refer `GetCollectionQueryOptionResponse` for details @@ -2724,127 +2724,6 @@ The attached items of an collection. See example below or refer `GetCollectionQu ---- - - -### createCollection -Add a Collection - - - - -```kotlin -client.application("").catalog.createCollection(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| body | [CreateCollection](#CreateCollection) | yes | Request body | - - -Create a collection. See `CreateCollectionRequestSchema` for the list of attributes needed to create a collection and collections/query-options for the available options to create a collection. On successful request, returns a paginated list of collections specified in `CollectionCreateResponse` - -*Returned Response:* - - - - -[CollectionCreateResponse](#CollectionCreateResponse) - -List of all the collections including the one you added. See example below or refer `CollectionCreateResponse` for details - - - - -
-  Example: - -```json -{ - "uid": "604f585a7051e30001173ac1", - "type": "query", - "query": {}, - "name": "New", - "banners": { - "portrait": { - "type": "image", - "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588858137/production/applications/app_000000000000000000000001/media/collection/portrait/xzuftshmmw4yuwzb12pm.png" - }, - "landscape": { - "type": "image", - "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857999/production/applications/app_000000000000000000000001/media/collection/landscape/avm7xibo2jgk8glc4bwl.png" - } - }, - "logo": { - "type": "image", - "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/production/applications/app_000000000000000000000001/media/collection/logo/w9ns7nfgv7fk45xqrpoh.png" - }, - "published": true, - "description": "", - "is_active": true, - "tags": [], - "slug": "new", - "action": { - "page": { - "type": "collection", - "query": { - "collection": [ - "new" - ] - } - }, - "type": "page" - }, - "allow_facets": true, - "allow_sort": true, - "visible_facets_keys": [], - "meta": {}, - "badge": { - "color": "#ffffff", - "text": "" - }, - "sort_on": "depth_desc", - "_custom_json": {}, - "_locale_language": {}, - "_schedule": { - "start": "2021-03-15T12:51:21.333000+00:00Z", - "next_schedule": [ - { - "start": "2021-03-15T12:51:21.333000+00:00Z", - "end": null - } - ], - "end": null - }, - "seo": { - "title": "Test", - "description": "Test description" - } -} -``` -
- - - - - - - - - --- @@ -3164,14 +3043,14 @@ List of collections. See example below or refer `GetCollectionListingResponse` f --- -### getCollectionDetail -Get a particular collection +### createCollection +Add a Collection ```kotlin -client.application("").catalog.getCollectionDetail(slug: slug).safeAwait{ response,error-> +client.application("").catalog.createCollection(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -3188,21 +3067,20 @@ client.application("").catalog.getCollectionDetail(slug: slug).s | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| slug | String | yes | A `slug` is a human readable, URL friendly unique identifier of an object. Pass the `slug` of the collection which you want to retrieve. | - +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | +| body | [CreateCollection](#CreateCollection) | yes | Request body | -Get the details of a collection by its `slug`. If successful, returns a Collection resource in the response body specified in `CollectionDetailResponse` +Create a collection. See `CreateCollectionRequestSchema` for the list of attributes needed to create a collection and collections/query-options for the available options to create a collection. On successful request, returns a paginated list of collections specified in `CollectionCreateResponse` *Returned Response:* -[CollectionDetailResponse](#CollectionDetailResponse) +[CollectionCreateResponse](#CollectionCreateResponse) -The Collection object. See example below or refer `CollectionDetailResponse` for details +List of all the collections including the one you added. See example below or refer `CollectionCreateResponse` for details @@ -3212,15 +3090,10 @@ The Collection object. See example below or refer `CollectionDetailResponse` for ```json { - "uid": "5ec5fc757cb1e4740a17da23", + "uid": "604f585a7051e30001173ac1", "type": "query", - "query": { - "l3_categories": [ - "12" - ], - "sort_on": "discount_asc" - }, - "name": "new", + "query": {}, + "name": "New", "banners": { "portrait": { "type": "image", @@ -3259,18 +3132,22 @@ The Collection object. See example below or refer `CollectionDetailResponse` for "color": "#ffffff", "text": "" }, - "sort_on": "popular", + "sort_on": "depth_desc", "_custom_json": {}, "_locale_language": {}, "_schedule": { - "start": "2020-05-21T03:58:41.237000Z", + "start": "2021-03-15T12:51:21.333000+00:00Z", "next_schedule": [ { - "start": "2020-05-21T03:58:41.237000Z", + "start": "2021-03-15T12:51:21.333000+00:00Z", "end": null } ], "end": null + }, + "seo": { + "title": "Test", + "description": "Test description" } } ``` @@ -3287,14 +3164,14 @@ The Collection object. See example below or refer `CollectionDetailResponse` for --- -### updateCollection -Update a collection +### getCollectionDetail +Get a particular collection ```kotlin -client.application("").catalog.updateCollection(id: id, body: body).safeAwait{ response,error-> +client.application("").catalog.getCollectionDetail(slug: slug).safeAwait{ response,error-> response?.let{ // Use response @@ -3312,20 +3189,20 @@ client.application("").catalog.updateCollection(id: id, body: bo | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | -| id | String | yes | A `id` is a unique identifier of a collection. | -| body | [UpdateCollection](#UpdateCollection) | yes | Request body | +| slug | String | yes | A `slug` is a human readable, URL friendly unique identifier of an object. Pass the `slug` of the collection which you want to retrieve. | -Update a collection by it's id. On successful request, returns the updated collection + +Get the details of a collection by its `slug`. If successful, returns a Collection resource in the response body specified in `CollectionDetailResponse` *Returned Response:* -[UpdateCollection](#UpdateCollection) +[CollectionDetailResponse](#CollectionDetailResponse) -The Collection object. See example below or refer `UpdateCollectionSchema` for details. +The Collection object. See example below or refer `CollectionDetailResponse` for details @@ -3335,10 +3212,15 @@ The Collection object. See example below or refer `UpdateCollectionSchema` for d ```json { - "uid": "604f585a7051e30001173ac1", + "uid": "5ec5fc757cb1e4740a17da23", "type": "query", - "query": {}, - "name": "New", + "query": { + "l3_categories": [ + "12" + ], + "sort_on": "discount_asc" + }, + "name": "new", "banners": { "portrait": { "type": "image", @@ -3377,22 +3259,18 @@ The Collection object. See example below or refer `UpdateCollectionSchema` for d "color": "#ffffff", "text": "" }, - "sort_on": "depth_desc", + "sort_on": "popular", "_custom_json": {}, "_locale_language": {}, "_schedule": { - "start": "2021-03-15T12:51:21.333000+00:00Z", + "start": "2020-05-21T03:58:41.237000Z", "next_schedule": [ { - "start": "2021-03-15T12:51:21.333000+00:00Z", + "start": "2020-05-21T03:58:41.237000Z", "end": null } ], "end": null - }, - "seo": { - "title": "Test", - "description": "Test description" } } ``` @@ -3409,14 +3287,14 @@ The Collection object. See example below or refer `UpdateCollectionSchema` for d --- -### deleteCollection -Delete a Collection +### updateCollection +Update a collection ```kotlin -client.application("").catalog.deleteCollection(id: id).safeAwait{ response,error-> +client.application("").catalog.updateCollection(id: id, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -3435,19 +3313,19 @@ client.application("").catalog.deleteCollection(id: id).safeAwai | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | | id | String | yes | A `id` is a unique identifier of a collection. | +| body | [UpdateCollection](#UpdateCollection) | yes | Request body | - -Delete a collection by it's id. Returns an object that tells whether the collection was deleted successfully +Update a collection by it's id. On successful request, returns the updated collection *Returned Response:* -[DeleteResponse](#DeleteResponse) +[UpdateCollection](#UpdateCollection) -Status object. Tells whether the operation was successful. See example below or refer `DeleteResponse` +The Collection object. See example below or refer `UpdateCollectionSchema` for details. @@ -3457,7 +3335,65 @@ Status object. Tells whether the operation was successful. See example below or ```json { - "message": "Collection Deleted" + "uid": "604f585a7051e30001173ac1", + "type": "query", + "query": {}, + "name": "New", + "banners": { + "portrait": { + "type": "image", + "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588858137/production/applications/app_000000000000000000000001/media/collection/portrait/xzuftshmmw4yuwzb12pm.png" + }, + "landscape": { + "type": "image", + "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857999/production/applications/app_000000000000000000000001/media/collection/landscape/avm7xibo2jgk8glc4bwl.png" + } + }, + "logo": { + "type": "image", + "url": "https://res.cloudinary.com/dwzm9bysq/image/upload/v1588857854/production/applications/app_000000000000000000000001/media/collection/logo/w9ns7nfgv7fk45xqrpoh.png" + }, + "published": true, + "description": "", + "is_active": true, + "tags": [], + "slug": "new", + "action": { + "page": { + "type": "collection", + "query": { + "collection": [ + "new" + ] + } + }, + "type": "page" + }, + "allow_facets": true, + "allow_sort": true, + "visible_facets_keys": [], + "meta": {}, + "badge": { + "color": "#ffffff", + "text": "" + }, + "sort_on": "depth_desc", + "_custom_json": {}, + "_locale_language": {}, + "_schedule": { + "start": "2021-03-15T12:51:21.333000+00:00Z", + "next_schedule": [ + { + "start": "2021-03-15T12:51:21.333000+00:00Z", + "end": null + } + ], + "end": null + }, + "seo": { + "title": "Test", + "description": "Test description" + } } ``` @@ -3473,14 +3409,14 @@ Status object. Tells whether the operation was successful. See example below or --- -### addCollectionItems -Add items to a collection +### deleteCollection +Delete a Collection ```kotlin -client.application("").catalog.addCollectionItems(id: id, body: body).safeAwait{ response,error-> +client.application("").catalog.deleteCollection(id: id).safeAwait{ response,error-> response?.let{ // Use response @@ -3499,19 +3435,19 @@ client.application("").catalog.addCollectionItems(id: id, body: | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | | id | String | yes | A `id` is a unique identifier of a collection. | -| body | [CollectionItemRequest](#CollectionItemRequest) | yes | Request body | -Adds items to a collection specified by its `id`. See `CollectionItemRequest` for the list of attributes needed to add items to an collection. + +Delete a collection by it's id. Returns an object that tells whether the collection was deleted successfully *Returned Response:* -[UpdatedResponse](#UpdatedResponse) +[DeleteResponse](#DeleteResponse) -Status object. Tells whether the operation was successful. +Status object. Tells whether the operation was successful. See example below or refer `DeleteResponse` @@ -3521,7 +3457,7 @@ Status object. Tells whether the operation was successful. ```json { - "message": "items updated" + "message": "Collection Deleted" } ``` @@ -3599,6 +3535,70 @@ The attached items of an collection. See example below or refer `GetCollectionIt +--- + + +### addCollectionItems +Add items to a collection + + + + +```kotlin +client.application("").catalog.addCollectionItems(id: id, body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| applicationId | String | yes | A `application_id` is a unique identifier for a particular sale channel. | +| id | String | yes | A `id` is a unique identifier of a collection. | +| body | [CollectionItemRequest](#CollectionItemRequest) | yes | Request body | + + +Adds items to a collection specified by its `id`. See `CollectionItemRequest` for the list of attributes needed to add items to an collection. + +*Returned Response:* + + + + +[UpdatedResponse](#UpdatedResponse) + +Status object. Tells whether the operation was successful. + + + + +
+  Example: + +```json +{ + "message": "items updated" +} +``` +
+ + + + + + + + + --- @@ -7514,69 +7514,6 @@ See example below or refer `ProductConfigurationDownloadsSchema` for details ---- - - -### createCategories -Create product categories - - - - -```kotlin -client.catalog.createCategories(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| body | [CategoryRequestBody](#CategoryRequestBody) | yes | Request body | - - -This API lets user create product categories - -*Returned Response:* - - - - -[CategoryCreateResponse](#CategoryCreateResponse) - -Category Meta. See example below or refer `CategoryCreateResponse` for details - - - - -
-  Example: - -```json -{ - "message": "Success", - "uid": 0 -} -``` -
- - - - - - - - - --- @@ -8043,14 +7980,14 @@ Category Meta. See example below or refer `CategoryResponse` for details --- -### updateCategory -Update product categories +### createCategories +Create product categories ```kotlin -client.catalog.updateCategory(uid: uid, body: body).safeAwait{ response,error-> +client.catalog.createCategories(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -8066,21 +8003,20 @@ client.catalog.updateCategory(uid: uid, body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | -| uid | String | yes | Category unique id | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | body | [CategoryRequestBody](#CategoryRequestBody) | yes | Request body | -Update a product category using this apu +This API lets user create product categories *Returned Response:* -[CategoryUpdateResponse](#CategoryUpdateResponse) +[CategoryCreateResponse](#CategoryCreateResponse) -Category Meta. See example below or refer `CategoryUpdateResponse` for details +Category Meta. See example below or refer `CategoryCreateResponse` for details @@ -8089,7 +8025,10 @@ Category Meta. See example below or refer `CategoryUpdateResponse` for details   Example: ```json - +{ + "message": "Success", + "uid": 0 +} ``` @@ -8104,14 +8043,14 @@ Category Meta. See example below or refer `CategoryUpdateResponse` for details --- -### getCategoryData -Get product category by uid +### updateCategory +Update product categories ```kotlin -client.catalog.getCategoryData(uid: uid).safeAwait{ response,error-> +client.catalog.updateCategory(uid: uid, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -8129,19 +8068,19 @@ client.catalog.getCategoryData(uid: uid).safeAwait{ response,error-> | --------- | ----- | -------- | ----------- | | companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | | uid | String | yes | Category unique id | +| body | [CategoryRequestBody](#CategoryRequestBody) | yes | Request body | - -This API gets meta associated to product categories. +Update a product category using this apu *Returned Response:* -[SingleCategoryResponse](#SingleCategoryResponse) +[CategoryUpdateResponse](#CategoryUpdateResponse) -Get Data for one category. See example below or refer `CategoryResponse` for details +Category Meta. See example below or refer `CategoryUpdateResponse` for details @@ -8150,45 +8089,7 @@ Get Data for one category. See example below or refer `CategoryResponse` for det   Example: ```json -{ - "data": { - "name": "Air Conditioners", - "media": { - "portrait": "https://hdn-1.addsale.com/x0/category/pictures/portrait-banner/original/_4p7Kz9Yp-banner.png", - "landscape": "https://hdn-1.addsale.com/x0/category/pictures/landscape-banner/original/nsi0nJ6gX-landscape.png", - "logo": "https://hdn-1.addsale.com/x0/category/pictures/square-logo/original/zTgh1zslj-.png" - }, - "marketplaces": {}, - "tryouts": [], - "is_active": true, - "created_by": { - "username": "917972410891_48194", - "user_id": "5646" - }, - "uid": 22330, - "slug": "air-conditioners", - "priority": 1, - "synonyms": [], - "modified_by": { - "username": "nikhilmhatre_gofynd_com_97636", - "user_id": "16" - }, - "level": 3, - "hierarchy": [ - { - "l1": 1, - "department": 1, - "l2": 22329 - } - ], - "created_on": "2021-04-02T15:43:59.410000Z", - "departments": [ - 1 - ], - "modified_on": "2021-04-13T13:57:56.443000Z", - "id": "60673bbf7896da00017885ad" - } -} + ``` @@ -8203,14 +8104,14 @@ Get Data for one category. See example below or refer `CategoryResponse` for det --- -### createProduct -Create a product. +### getCategoryData +Get product category by uid ```kotlin -client.catalog.createProduct(body: body).safeAwait{ response,error-> +client.catalog.getCategoryData(uid: uid).safeAwait{ response,error-> response?.let{ // Use response @@ -8226,20 +8127,21 @@ client.catalog.createProduct(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company associated to product that is to be viewed. | -| body | [ProductCreateUpdate](#ProductCreateUpdate) | yes | Request body | +| companyId | String | yes | A `company_id` is a unique identifier for a particular seller account. | +| uid | String | yes | Category unique id | -This API allows to create product. + +This API gets meta associated to product categories. *Returned Response:* -[SuccessResponse](#SuccessResponse) +[SingleCategoryResponse](#SingleCategoryResponse) -Returns a success response +Get Data for one category. See example below or refer `CategoryResponse` for details @@ -8249,7 +8151,43 @@ Returns a success response ```json { - "success": true + "data": { + "name": "Air Conditioners", + "media": { + "portrait": "https://hdn-1.addsale.com/x0/category/pictures/portrait-banner/original/_4p7Kz9Yp-banner.png", + "landscape": "https://hdn-1.addsale.com/x0/category/pictures/landscape-banner/original/nsi0nJ6gX-landscape.png", + "logo": "https://hdn-1.addsale.com/x0/category/pictures/square-logo/original/zTgh1zslj-.png" + }, + "marketplaces": {}, + "tryouts": [], + "is_active": true, + "created_by": { + "username": "917972410891_48194", + "user_id": "5646" + }, + "uid": 22330, + "slug": "air-conditioners", + "priority": 1, + "synonyms": [], + "modified_by": { + "username": "nikhilmhatre_gofynd_com_97636", + "user_id": "16" + }, + "level": 3, + "hierarchy": [ + { + "l1": 1, + "department": 1, + "l2": 22329 + } + ], + "created_on": "2021-04-02T15:43:59.410000Z", + "departments": [ + 1 + ], + "modified_on": "2021-04-13T13:57:56.443000Z", + "id": "60673bbf7896da00017885ad" + } } ``` @@ -8272,7 +8210,7 @@ Get product list ```kotlin -client.catalog.getProducts(brandIds: brandIds, categoryIds: categoryIds, itemIds: itemIds, departmentIds: departmentIds, itemCode: itemCode, q: q, pageNo: pageNo, pageSize: pageSize).safeAwait{ response,error-> +client.catalog.getProducts(brandIds: brandIds, categoryIds: categoryIds, itemIds: itemIds, departmentIds: departmentIds, itemCode: itemCode, q: q, tags: tags, pageNo: pageNo, pageSize: pageSize).safeAwait{ response,error-> response?.let{ // Use response @@ -8295,6 +8233,7 @@ client.catalog.getProducts(brandIds: brandIds, categoryIds: categoryIds, itemIds | departmentIds | ArrayList? | no | Get multiple products filtered by Department Ids | | itemCode | ArrayList? | no | Get multiple products filtered by Item Code | | q | String? | no | Get multiple products filtered by q string | +| tags | ArrayList? | no | Get multiple products filtered by tags | | pageNo | Int? | no | The page number to navigate through the given set of results | | pageSize | Int? | no | Number of items to retrieve in each page. Default is 10. | @@ -8496,6 +8435,68 @@ Product Meta. See example below for details +--- + + +### createProduct +Create a product. + + + + +```kotlin +client.catalog.createProduct(body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | Id of the company associated to product that is to be viewed. | +| body | [ProductCreateUpdate](#ProductCreateUpdate) | yes | Request body | + + +This API allows to create product. + +*Returned Response:* + + + + +[SuccessResponse](#SuccessResponse) + +Returns a success response + + + + +
+  Example: + +```json +{ + "success": true +} +``` +
+ + + + + + + + + --- @@ -9034,68 +9035,6 @@ Product object. See example below for details ---- - - -### updateProductAssetsInBulk -Create a Bulk asset upload Job. - - - - -```kotlin -client.catalog.updateProductAssetsInBulk(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which assets to be uploaded. | -| body | [BulkJob](#BulkJob) | yes | Request body | - - -This API helps to create a bulk asset upload job. - -*Returned Response:* - - - - -[SuccessResponse](#SuccessResponse) - -Returns a success response - - - - -
-  Example: - -```json -{ - "success": true -} -``` -
- - - - - - - - - --- @@ -9209,14 +9148,14 @@ List of bulk product upload jobs. See `BulkRequestGetSchema` for details --- -### createProductsInBulk -Create products in bulk associated with given batch Id. +### updateProductAssetsInBulk +Create a Bulk asset upload Job. ```kotlin -client.catalog.createProductsInBulk(batchId: batchId, body: body).safeAwait{ response,error-> +client.catalog.updateProductAssetsInBulk(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -9232,12 +9171,11 @@ client.catalog.createProductsInBulk(batchId: batchId, body: body).safeAwait{ res | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which assets to be uploaded. | -| batchId | String | yes | Batch Id in which assets to be uploaded. | -| body | [BulkProductRequest](#BulkProductRequest) | yes | Request body | +| companyId | Int | yes | Company Id in which assets to be uploaded. | +| body | [BulkJob](#BulkJob) | yes | Request body | -This API helps to create products in bulk push to kafka for approval/creation. +This API helps to create a bulk asset upload job. *Returned Response:* @@ -9272,14 +9210,14 @@ Returns a success response --- -### deleteProductBulkJob -Delete Bulk product job. +### createProductsInBulk +Create products in bulk associated with given batch Id. ```kotlin -client.catalog.deleteProductBulkJob(batchId: batchId).safeAwait{ response,error-> +client.catalog.createProductsInBulk(batchId: batchId, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -9295,12 +9233,12 @@ client.catalog.deleteProductBulkJob(batchId: batchId).safeAwait{ response,error- | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Company Id of the company associated to size that is to be deleted. | -| batchId | Int | yes | Batch Id of the bulk product job to be deleted. | - +| companyId | Int | yes | Company Id in which assets to be uploaded. | +| batchId | String | yes | Batch Id in which assets to be uploaded. | +| body | [BulkProductRequest](#BulkProductRequest) | yes | Request body | -This API allows to delete bulk product job associated with company. +This API helps to create products in bulk push to kafka for approval/creation. *Returned Response:* @@ -9335,14 +9273,14 @@ Returns a success response --- -### getCompanyTags -Get a list of all tags associated with company. +### deleteProductBulkJob +Delete Bulk product job. ```kotlin -client.catalog.getCompanyTags().safeAwait{ response,error-> +client.catalog.deleteProductBulkJob(batchId: batchId).safeAwait{ response,error-> response?.let{ // Use response @@ -9358,20 +9296,21 @@ client.catalog.getCompanyTags().safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id of the product size. | +| companyId | String | yes | Company Id of the company associated to size that is to be deleted. | +| batchId | Int | yes | Batch Id of the bulk product job to be deleted. | -This API helps to get tags data associated to a particular copmpany. +This API allows to delete bulk product job associated with company. *Returned Response:* -[ProductTagsViewResponse](#ProductTagsViewResponse) +[SuccessResponse](#SuccessResponse) -Tag List. See example below for details +Returns a success response @@ -9381,12 +9320,7 @@ Tag List. See example below for details ```json { - "items": { - "tags": [ - "demo", - "custom" - ] - } + "success": true } ``` @@ -9402,14 +9336,14 @@ Tag List. See example below for details --- -### createProductAssetsInBulk -Create a Bulk asset upload Job. +### getProductTags +Get a list of all tags associated with company. ```kotlin -client.catalog.createProductAssetsInBulk(body: body).safeAwait{ response,error-> +client.catalog.getProductTags().safeAwait{ response,error-> response?.let{ // Use response @@ -9425,20 +9359,20 @@ client.catalog.createProductAssetsInBulk(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which assets to be uploaded. | -| body | [ProductBulkAssets](#ProductBulkAssets) | yes | Request body | +| companyId | Int | yes | Company Id for which tags to be fetched. | -This API helps to create a bulk asset upload job. + +This API helps to get tags data associated to a particular company. *Returned Response:* -[SuccessResponse](#SuccessResponse) +[ProductTagsViewResponse](#ProductTagsViewResponse) -Returns a success response +Tag List. See example below for details @@ -9448,7 +9382,10 @@ Returns a success response ```json { - "success": true + "items": [ + "demo", + "custom" + ] } ``` @@ -9562,14 +9499,14 @@ List of bulk asset jobs List. See `BulkUtil.modify_batch_response` for details --- -### deleteSize -Delete a Size associated with product. +### createProductAssetsInBulk +Create a Bulk asset upload Job. ```kotlin -client.catalog.deleteSize(itemId: itemId, size: size).safeAwait{ response,error-> +client.catalog.createProductAssetsInBulk(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -9585,20 +9522,18 @@ client.catalog.deleteSize(itemId: itemId, size: size).safeAwait{ response,error- | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Company Id of the company associated to size that is to be deleted. | -| itemId | Int | yes | Item Id of the product associated with size to be deleted. | -| size | Int | yes | size to be deleted. | - +| companyId | Int | yes | Company Id in which assets to be uploaded. | +| body | [ProductBulkAssets](#ProductBulkAssets) | yes | Request body | -This API allows to delete size associated with product. +This API helps to create a bulk asset upload job. *Returned Response:* -[ProductSizeDeleteResponse](#ProductSizeDeleteResponse) +[SuccessResponse](#SuccessResponse) Returns a success response @@ -9626,14 +9561,14 @@ Returns a success response --- -### addInventory -Add Inventory for particular size and store. +### deleteSize +Delete a Size associated with product. ```kotlin -client.catalog.addInventory(itemId: itemId, size: size, body: body).safeAwait{ response,error-> +client.catalog.deleteSize(itemId: itemId, size: size).safeAwait{ response,error-> response?.let{ // Use response @@ -9649,20 +9584,20 @@ client.catalog.addInventory(itemId: itemId, size: size, body: body).safeAwait{ r | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company associated to product that is to be viewed. | -| itemId | Double | yes | Item code of the product of which size is to be get. | -| size | String | yes | Size in which inventory is to be added. | -| body | [InventoryRequest](#InventoryRequest) | yes | Request body | +| companyId | String | yes | Company Id of the company associated to size that is to be deleted. | +| itemId | Int | yes | Item Id of the product associated with size to be deleted. | +| size | Int | yes | size to be deleted. | -This API allows add Inventory for particular size and store. + +This API allows to delete size associated with product. *Returned Response:* -[SuccessResponse](#SuccessResponse) +[ProductSizeDeleteResponse](#ProductSizeDeleteResponse) Returns a success response @@ -10034,6 +9969,70 @@ returns a list of all inventory grouped by size and store +--- + + +### addInventory +Add Inventory for particular size and store. + + + + +```kotlin +client.catalog.addInventory(itemId: itemId, size: size, body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | Id of the company associated to product that is to be viewed. | +| itemId | Double | yes | Item code of the product of which size is to be get. | +| size | String | yes | Size in which inventory is to be added. | +| body | [InventoryRequest](#InventoryRequest) | yes | Request body | + + +This API allows add Inventory for particular size and store. + +*Returned Response:* + + + + +[SuccessResponse](#SuccessResponse) + +Returns a success response + + + + +
+  Example: + +```json +{ + "success": true +} +``` +
+ + + + + + + + + --- @@ -10447,68 +10446,6 @@ Returns a success response ---- - - -### createBulkInventoryJob -Create a Bulk Inventory upload Job. - - - - -```kotlin -client.catalog.createBulkInventoryJob(body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which Inventory to be uploaded. | -| body | [BulkJob](#BulkJob) | yes | Request body | - - -This API helps to create a bulk Inventory upload job. - -*Returned Response:* - - - - -[CommonResponse](#CommonResponse) - -Returns a success response - - - - -
-  Example: - -```json -{ - "success": true -} -``` -
- - - - - - - - - --- @@ -10879,14 +10816,14 @@ List of bulk Inventory upload jobs. See `BulkInventoryGetSchema` for details --- -### createBulkInventory -Create products in bulk associated with given batch Id. +### createBulkInventoryJob +Create a Bulk Inventory upload Job. ```kotlin -client.catalog.createBulkInventory(batchId: batchId, body: body).safeAwait{ response,error-> +client.catalog.createBulkInventoryJob(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -10902,19 +10839,18 @@ client.catalog.createBulkInventory(batchId: batchId, body: body).safeAwait{ resp | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which Inventory is to be uploaded. | -| batchId | String | yes | Batch Id of the bulk create job. | -| body | [InventoryBulkRequest](#InventoryBulkRequest) | yes | Request body | +| companyId | Int | yes | Company Id in which Inventory to be uploaded. | +| body | [BulkJob](#BulkJob) | yes | Request body | -This API helps to create products in bulk push to kafka for approval/creation. +This API helps to create a bulk Inventory upload job. *Returned Response:* -[SuccessResponse](#SuccessResponse) +[CommonResponse](#CommonResponse) Returns a success response @@ -10942,14 +10878,14 @@ Returns a success response --- -### deleteBulkInventoryJob -Delete Bulk Inventory job. +### createBulkInventory +Create products in bulk associated with given batch Id. ```kotlin -client.catalog.deleteBulkInventoryJob(batchId: batchId).safeAwait{ response,error-> +client.catalog.createBulkInventory(batchId: batchId, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -10965,12 +10901,12 @@ client.catalog.deleteBulkInventoryJob(batchId: batchId).safeAwait{ response,erro | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Company Id of the company of which bulk Inventory job is to be deleted. | -| batchId | String | yes | Batch Id of the bulk delete job. | - +| companyId | Int | yes | Company Id in which Inventory is to be uploaded. | +| batchId | String | yes | Batch Id of the bulk create job. | +| body | [InventoryBulkRequest](#InventoryBulkRequest) | yes | Request body | -This API allows to delete bulk Inventory job associated with company. +This API helps to create products in bulk push to kafka for approval/creation. *Returned Response:* @@ -11005,14 +10941,14 @@ Returns a success response --- -### createInventoryExportJob -Create a Inventory export Job. +### deleteBulkInventoryJob +Delete Bulk Inventory job. ```kotlin -client.catalog.createInventoryExportJob(body: body).safeAwait{ response,error-> +client.catalog.deleteBulkInventoryJob(batchId: batchId).safeAwait{ response,error-> response?.let{ // Use response @@ -11028,11 +10964,12 @@ client.catalog.createInventoryExportJob(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | Int | yes | Company Id in which assets to be uploaded. | -| body | [InventoryExportRequest](#InventoryExportRequest) | yes | Request body | +| companyId | String | yes | Company Id of the company of which bulk Inventory job is to be deleted. | +| batchId | String | yes | Batch Id of the bulk delete job. | -This API helps to create a Inventory export job. + +This API allows to delete bulk Inventory job associated with company. *Returned Response:* @@ -11127,14 +11064,14 @@ Returns a list of inventory export jobs --- -### exportInventoryConfig -Get List of different filters for inventory export +### createInventoryExportJob +Create a Inventory export Job. ```kotlin -client.catalog.exportInventoryConfig(filterType: filterType).safeAwait{ response,error-> +client.catalog.createInventoryExportJob(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -11150,21 +11087,20 @@ client.catalog.exportInventoryConfig(filterType: filterType).safeAwait{ response | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company associated to product that is to be viewed. | -| filterType | String? | no | filter type from any one of ['brand', 'store', 'type'] | - +| companyId | Int | yes | Company Id in which assets to be uploaded. | +| body | [InventoryExportRequest](#InventoryExportRequest) | yes | Request body | -This API allows get List of different filters like brand, store, and type for inventory export. +This API helps to create a Inventory export job. *Returned Response:* -[InventoryConfig](#InventoryConfig) +[SuccessResponse](#SuccessResponse) -returns filters configuration for inventory export +Returns a success response @@ -11173,16 +11109,9 @@ returns filters configuration for inventory export   Example: ```json -[ - { - "display": "csv", - "value": "csv" - }, - { - "display": "excel", - "value": "excel" - } -] +{ + "success": true +} ``` @@ -11197,14 +11126,14 @@ returns filters configuration for inventory export --- -### createHsnCode -Create Hsn Code. +### exportInventoryConfig +Get List of different filters for inventory export ```kotlin -client.catalog.createHsnCode(body: body).safeAwait{ response,error-> +client.catalog.exportInventoryConfig(filterType: filterType).safeAwait{ response,error-> response?.let{ // Use response @@ -11220,20 +11149,21 @@ client.catalog.createHsnCode(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | company id | -| body | [HsnUpsert](#HsnUpsert) | yes | Request body | +| companyId | String | yes | Id of the company associated to product that is to be viewed. | +| filterType | String? | no | filter type from any one of ['brand', 'store', 'type'] | -Create Hsn Code. + +This API allows get List of different filters like brand, store, and type for inventory export. *Returned Response:* -[HsnCode](#HsnCode) +[InventoryConfig](#InventoryConfig) -See example below for details +returns filters configuration for inventory export @@ -11242,29 +11172,16 @@ See example below for details   Example: ```json -{ - "data": { - "company_id": 1, - "hs2_code": "xx", - "modified_by": { - "username": "narutouzumaki", - "user_id": "0" - }, - "id": "xxxxxxxxxxxx", - "tax_on": "esp", - "slabs": [ - { - "tax": 0, - "threshold": 999999 - }, - { - "tax": 0, - "threshold": 0 - } - ], - "hsn_code": "xxxxxxxx" +[ + { + "display": "csv", + "value": "csv" + }, + { + "display": "excel", + "value": "excel" } -} +] ``` @@ -11361,6 +11278,88 @@ List of all HSN Codes. See example below or refer `HsnCodesListingResponseSchema +--- + + +### createHsnCode +Create Hsn Code. + + + + +```kotlin +client.catalog.createHsnCode(body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | company id | +| body | [HsnUpsert](#HsnUpsert) | yes | Request body | + + +Create Hsn Code. + +*Returned Response:* + + + + +[HsnCode](#HsnCode) + +See example below for details + + + + +
+  Example: + +```json +{ + "data": { + "company_id": 1, + "hs2_code": "xx", + "modified_by": { + "username": "narutouzumaki", + "user_id": "0" + }, + "id": "xxxxxxxxxxxx", + "tax_on": "esp", + "slabs": [ + { + "tax": 0, + "threshold": 999999 + }, + { + "tax": 0, + "threshold": 0 + } + ], + "hsn_code": "xxxxxxxx" + } +} +``` +
+ + + + + + + + + --- @@ -12880,7 +12879,7 @@ Get applicationwise products ```kotlin -client.application("").catalog.getAppProducts(brandIds: brandIds, categoryIds: categoryIds, departmentIds: departmentIds, pageNo: pageNo, pageSize: pageSize, q: q).safeAwait{ response,error-> +client.application("").catalog.getAppProducts(brandIds: brandIds, categoryIds: categoryIds, departmentIds: departmentIds, tags: tags, pageNo: pageNo, pageSize: pageSize, q: q).safeAwait{ response,error-> response?.let{ // Use response @@ -12901,6 +12900,7 @@ client.application("").catalog.getAppProducts(brandIds: brandIds | brandIds | ArrayList? | no | Get multiple products filtered by Brand Ids | | categoryIds | ArrayList? | no | Get multiple products filtered by Category Ids | | departmentIds | ArrayList? | no | Get multiple products filtered by Department Ids | +| tags | ArrayList? | no | Get multiple products filtered by tags | | pageNo | Int? | no | The page number to navigate through the given set of results | | pageSize | Int? | no | Number of items to retrieve in each page. Default is 10. | | q | String? | no | Search with Item Code, Name, Slug or Identifier. | @@ -13115,8 +13115,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | sortOn | String | no | | | query | HashMap | no | | + | sortOn | String | no | | --- @@ -13127,8 +13127,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | | customJson | HashMap? | yes | | + | isActive | Boolean? | yes | | | appId | String? | yes | | | words | ArrayList? | yes | | | result | [SearchKeywordResult](#SearchKeywordResult) | no | | @@ -13143,8 +13143,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | customJson | HashMap? | yes | | - | uid | String? | yes | | | appId | String? | yes | | + | uid | String? | yes | | | words | ArrayList? | yes | | | result | HashMap? | yes | | @@ -13157,10 +13157,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | code | String? | yes | | | message | String? | yes | | - | meta | HashMap? | yes | | | status | Int? | yes | | + | meta | HashMap? | yes | | + | code | String? | yes | | --- @@ -13171,12 +13171,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | current | Int? | yes | | | hasPrevious | Boolean? | yes | | | size | Int? | yes | | - | current | Int? | yes | | - | nextId | String? | yes | | - | hasNext | Boolean? | yes | | | itemTotal | Int? | yes | | + | hasNext | Boolean? | yes | | + | nextId | String? | yes | | | type | String | no | | --- @@ -13188,8 +13188,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | [GetSearchWordsData](#GetSearchWordsData)? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -13211,45 +13211,45 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[GetSearchWordsData](#GetSearchWordsData)>? | yes | | + | page | [Page](#Page)? | yes | | --- - #### [Media](#Media) + #### [AutocompletePageAction](#AutocompletePageAction) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | type | String? | yes | | + | params | HashMap? | yes | | | url | String? | yes | | + | type | String | no | | + | query | HashMap | no | | --- - #### [AutocompletePageAction](#AutocompletePageAction) + #### [AutocompleteAction](#AutocompleteAction) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | query | HashMap | no | | - | type | String | no | | - | params | HashMap? | yes | | - | url | String? | yes | | + | page | [AutocompletePageAction](#AutocompletePageAction)? | yes | | + | type | String? | yes | | --- - #### [AutocompleteAction](#AutocompleteAction) + #### [Media](#Media) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [AutocompletePageAction](#AutocompletePageAction)? | yes | | + | url | String? | yes | | | type | String? | yes | | --- @@ -13261,10 +13261,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Media](#Media)? | yes | | - | display | String? | yes | | - | action | [AutocompleteAction](#AutocompleteAction)? | yes | | | customJson | HashMap? | yes | | + | action | [AutocompleteAction](#AutocompleteAction)? | yes | | + | display | String? | yes | | + | logo | [Media](#Media)? | yes | | --- @@ -13275,10 +13275,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | | customJson | HashMap? | yes | | - | results | ArrayList<[AutocompleteResult](#AutocompleteResult)>? | yes | | + | isActive | Boolean? | yes | | | appId | String? | yes | | + | results | ArrayList<[AutocompleteResult](#AutocompleteResult)>? | yes | | | words | ArrayList? | yes | | --- @@ -13291,9 +13291,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | customJson | HashMap? | yes | | + | appId | String? | yes | | | uid | String? | yes | | | results | ArrayList>? | yes | | - | appId | String? | yes | | | words | ArrayList? | yes | | --- @@ -13305,8 +13305,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[GetAutocompleteWordsData](#GetAutocompleteWordsData)>? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -13317,10 +13317,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | customJson | HashMap? | yes | | | words | ArrayList? | yes | | - | results | ArrayList>? | yes | | | appId | String? | yes | | - | customJson | HashMap? | yes | | + | results | ArrayList>? | yes | | --- @@ -13331,60 +13331,37 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | maxQuantity | Int | no | | - | productUid | Int | no | | + | autoAddToCart | Boolean? | yes | | | autoSelect | Boolean? | yes | | - | allowRemove | Boolean? | yes | | | minQuantity | Int | no | | - | autoAddToCart | Boolean? | yes | | + | maxQuantity | Int | no | | + | allowRemove | Boolean? | yes | | + | productUid | Int | no | | --- - #### [ProductBundleRequest](#ProductBundleRequest) + #### [GetProductBundleCreateResponse](#GetProductBundleCreateResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | - | createdBy | HashMap? | yes | | - | pageVisibility | ArrayList? | yes | | - | meta | HashMap? | yes | | - | sameStoreAssignment | Boolean? | yes | | - | products | ArrayList<[ProductBundleItem](#ProductBundleItem)> | no | | - | slug | String | no | | | modifiedBy | HashMap? | yes | | + | slug | String | no | | + | isActive | Boolean | no | | | createdOn | String? | yes | | | modifiedOn | String? | yes | | - | name | String | no | | - | choice | String | no | | - ---- - - - - - #### [GetProductBundleCreateResponse](#GetProductBundleCreateResponse) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | - | createdBy | HashMap? | yes | | | id | String? | yes | | - | pageVisibility | ArrayList? | yes | | - | meta | HashMap? | yes | | - | sameStoreAssignment | Boolean? | yes | | | products | ArrayList<[ProductBundleItem](#ProductBundleItem)> | no | | - | slug | String | no | | - | modifiedBy | HashMap? | yes | | - | createdOn | String? | yes | | + | logo | String? | yes | | + | choice | String | no | | + | meta | HashMap? | yes | | + | pageVisibility | ArrayList? | yes | | | companyId | Int? | yes | | - | modifiedOn | String? | yes | | + | createdBy | HashMap? | yes | | | name | String | no | | - | choice | String | no | | + | sameStoreAssignment | Boolean? | yes | | --- @@ -13395,44 +13372,67 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[GetProductBundleCreateResponse](#GetProductBundleCreateResponse)>? | yes | | + | page | [Page](#Page)? | yes | | --- - #### [ProductBundleUpdateRequest](#ProductBundleUpdateRequest) + #### [ProductBundleRequest](#ProductBundleRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | - | pageVisibility | ArrayList? | yes | | - | meta | HashMap? | yes | | - | sameStoreAssignment | Boolean? | yes | | - | products | ArrayList<[ProductBundleItem](#ProductBundleItem)> | no | | - | slug | String | no | | | modifiedBy | HashMap? | yes | | + | slug | String | no | | + | isActive | Boolean | no | | + | createdOn | String? | yes | | | modifiedOn | String? | yes | | - | name | String | no | | + | products | ArrayList<[ProductBundleItem](#ProductBundleItem)> | no | | + | logo | String? | yes | | | choice | String | no | | + | meta | HashMap? | yes | | + | pageVisibility | ArrayList? | yes | | + | createdBy | HashMap? | yes | | + | name | String | no | | + | sameStoreAssignment | Boolean? | yes | | --- - #### [Price](#Price) + #### [ProductBundleUpdateRequest](#ProductBundleUpdateRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | minMarked | Double? | yes | | - | maxEffective | Double? | yes | | - | maxMarked | Double? | yes | | - | minEffective | Double? | yes | | + | modifiedBy | HashMap? | yes | | + | slug | String | no | | + | isActive | Boolean | no | | + | modifiedOn | String? | yes | | + | products | ArrayList<[ProductBundleItem](#ProductBundleItem)> | no | | + | logo | String? | yes | | + | choice | String | no | | + | meta | HashMap? | yes | | + | pageVisibility | ArrayList? | yes | | + | name | String | no | | + | sameStoreAssignment | Boolean? | yes | | + +--- + + + + + #### [Price](#Price) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | maxEffective | Double? | yes | | + | minMarked | Double? | yes | | | currency | String? | yes | | + | maxMarked | Double? | yes | | + | minEffective | Double? | yes | | --- @@ -13443,10 +13443,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | - | value | String? | yes | | | isAvailable | Boolean? | yes | | + | value | String? | yes | | | quantity | Int? | yes | | + | display | String? | yes | | --- @@ -13457,18 +13457,18 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | images | ArrayList? | yes | | + | slug | String? | yes | | | identifier | HashMap? | yes | | - | attributes | HashMap? | yes | | - | uid | Int? | yes | | - | countryOfOrigin | String? | yes | | - | shortDescription | String? | yes | | | price | HashMap? | yes | | - | slug | String? | yes | | - | quantity | Int? | yes | | - | sizes | ArrayList? | yes | | - | images | ArrayList? | yes | | + | shortDescription | String? | yes | | + | uid | Int? | yes | | | name | String? | yes | | | itemCode | String? | yes | | + | sizes | ArrayList? | yes | | + | attributes | HashMap? | yes | | + | quantity | Int? | yes | | + | countryOfOrigin | String? | yes | | --- @@ -13479,15 +13479,15 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | maxQuantity | Int? | yes | | - | productUid | Int? | yes | | - | price | [Price](#Price)? | yes | | + | autoAddToCart | Boolean? | yes | | | autoSelect | Boolean? | yes | | - | allowRemove | Boolean? | yes | | - | sizes | ArrayList<[Size](#Size)>? | yes | | | minQuantity | Int? | yes | | - | autoAddToCart | Boolean? | yes | | + | price | [Price](#Price)? | yes | | + | sizes | ArrayList<[Size](#Size)>? | yes | | + | maxQuantity | Int? | yes | | + | allowRemove | Boolean? | yes | | | productDetails | [LimitedProductData](#LimitedProductData)? | yes | | + | productUid | Int? | yes | | --- @@ -13498,16 +13498,28 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | + | slug | String? | yes | | | isActive | Boolean? | yes | | + | products | ArrayList<[GetProducts](#GetProducts)>? | yes | | + | logo | String? | yes | | | pageVisibility | ArrayList? | yes | | | meta | HashMap? | yes | | - | sameStoreAssignment | Boolean? | yes | | - | products | ArrayList<[GetProducts](#GetProducts)>? | yes | | - | slug | String? | yes | | + | choice | String? | yes | | | companyId | Int? | yes | | | name | String? | yes | | - | choice | String? | yes | | + | sameStoreAssignment | Boolean? | yes | | + +--- + + + + + #### [ListSizeGuide](#ListSizeGuide) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | items | ArrayList>? | yes | | + | page | HashMap? | yes | | --- @@ -13542,21 +13554,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | createdBy | HashMap? | yes | | - | id | String? | yes | | - | brandId | Int? | yes | | - | title | String | no | | - | subtitle | String? | yes | | - | image | String? | yes | | - | tag | String? | yes | | | modifiedBy | HashMap? | yes | | + | guide | [Guide](#Guide)? | yes | | | createdOn | String? | yes | | - | companyId | Int? | yes | | | modifiedOn | String? | yes | | + | active | Boolean? | yes | | + | brandId | Int? | yes | | + | id | String? | yes | | + | companyId | Int? | yes | | | description | String? | yes | | + | tag | String? | yes | | + | title | String | no | | + | image | String? | yes | | | name | String | no | | - | active | Boolean? | yes | | - | guide | [Guide](#Guide)? | yes | | + | subtitle | String? | yes | | + | createdBy | HashMap? | yes | | --- @@ -13575,49 +13587,23 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [ListSizeGuide](#ListSizeGuide) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | page | HashMap? | yes | | - | items | ArrayList>? | yes | | - ---- - - - - #### [SizeGuideResponse](#SizeGuideResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | createdBy | HashMap? | yes | | - | id | String? | yes | | - | title | String? | yes | | - | subtitle | String? | yes | | + | tag | String? | yes | | | modifiedBy | HashMap? | yes | | + | title | String? | yes | | + | guide | HashMap? | yes | | | createdOn | String? | yes | | - | tag | String? | yes | | - | companyId | Int? | yes | | | modifiedOn | String? | yes | | + | active | Boolean? | yes | | + | id | String? | yes | | + | companyId | Int? | yes | | | brandId | Int? | yes | | | name | String? | yes | | - | active | Boolean? | yes | | - | guide | HashMap? | yes | | - ---- - - - - - #### [GetCatalogConfigurationDetailsProduct](#GetCatalogConfigurationDetailsProduct) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | detail | HashMap? | yes | | - | variant | HashMap? | yes | | - | similar | HashMap? | yes | | - | compare | HashMap? | yes | | + | subtitle | String? | yes | | + | createdBy | HashMap? | yes | | --- @@ -13628,10 +13614,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | | filterTypes | ArrayList? | yes | | | units | ArrayList>? | yes | | | key | String? | yes | | + | display | String? | yes | | --- @@ -13653,8 +13639,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | | key | String? | yes | | + | display | String? | yes | | --- @@ -13684,12 +13670,26 @@ The Product object. See example below or refer `ApplicationProductListingRespons + #### [GetCatalogConfigurationDetailsProduct](#GetCatalogConfigurationDetailsProduct) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | variant | HashMap? | yes | | + | similar | HashMap? | yes | | + | detail | HashMap? | yes | | + | compare | HashMap? | yes | | + +--- + + + + #### [GetCatalogConfigurationMetaData](#GetCatalogConfigurationMetaData) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | product | [GetCatalogConfigurationDetailsProduct](#GetCatalogConfigurationDetailsProduct)? | yes | | | listing | [MetaDataListingResponse](#MetaDataListingResponse)? | yes | | + | product | [GetCatalogConfigurationDetailsProduct](#GetCatalogConfigurationDetailsProduct)? | yes | | --- @@ -13700,8 +13700,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | end | Double? | yes | | | start | Double? | yes | | + | end | Double? | yes | | --- @@ -13712,11 +13712,11 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | bucketPoints | ArrayList<[ConfigurationBucketPoints](#ConfigurationBucketPoints)>? | yes | | - | condition | String? | yes | | + | map | HashMap? | yes | | | value | String? | yes | | + | bucketPoints | ArrayList<[ConfigurationBucketPoints](#ConfigurationBucketPoints)>? | yes | | | sort | String? | yes | | - | map | HashMap? | yes | | + | condition | String? | yes | | --- @@ -13727,13 +13727,13 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | - | priority | Int | no | | | type | String | no | | + | key | String | no | | + | isActive | Boolean | no | | + | logo | String? | yes | | | valueConfig | [ConfigurationListingFilterValue](#ConfigurationListingFilterValue)? | yes | | | name | String? | yes | | - | key | String | no | | + | priority | Int | no | | --- @@ -13756,11 +13756,11 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | + | key | String | no | | | isActive | Boolean | no | | - | priority | Int | no | | + | logo | String? | yes | | | name | String? | yes | | - | key | String | no | | + | priority | Int | no | | --- @@ -13807,13 +13807,13 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | + | key | String | no | | | size | [ProductSize](#ProductSize) | no | | - | priority | Int | no | | + | isActive | Boolean | no | | + | logo | String? | yes | | | displayType | String | no | | | name | String | no | | - | key | String | no | | + | priority | Int | no | | --- @@ -13835,13 +13835,13 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean | no | | + | key | String | no | | | size | [ProductSize](#ProductSize)? | yes | | - | priority | Int | no | | + | isActive | Boolean | no | | + | logo | String? | yes | | | title | String? | yes | | + | priority | Int | no | | | subtitle | String? | yes | | - | key | String | no | | --- @@ -13871,43 +13871,43 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [AppConfiguration](#AppConfiguration) + #### [AppCatalogConfiguration](#AppCatalogConfiguration) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | configType | String | no | | | configId | String? | yes | | | listing | [ConfigurationListing](#ConfigurationListing)? | yes | | - | product | [ConfigurationProduct](#ConfigurationProduct)? | yes | | | appId | String | no | | + | id | String? | yes | | + | configType | String | no | | + | product | [ConfigurationProduct](#ConfigurationProduct)? | yes | | --- - #### [AppCatalogConfiguration](#AppCatalogConfiguration) + #### [GetAppCatalogConfiguration](#GetAppCatalogConfiguration) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | configType | String | no | | - | configId | String? | yes | | - | listing | [ConfigurationListing](#ConfigurationListing)? | yes | | - | id | String? | yes | | - | product | [ConfigurationProduct](#ConfigurationProduct)? | yes | | - | appId | String | no | | + | isDefault | Boolean? | yes | | + | data | [AppCatalogConfiguration](#AppCatalogConfiguration)? | yes | | --- - #### [GetAppCatalogConfiguration](#GetAppCatalogConfiguration) + #### [AppConfiguration](#AppConfiguration) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isDefault | Boolean? | yes | | - | data | [AppCatalogConfiguration](#AppCatalogConfiguration)? | yes | | + | configId | String? | yes | | + | listing | [ConfigurationListing](#ConfigurationListing)? | yes | | + | appId | String | no | | + | configType | String | no | | + | product | [ConfigurationProduct](#ConfigurationProduct)? | yes | | --- @@ -13930,12 +13930,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | configType | String | no | | | configId | String? | yes | | | listing | [GetCatalogConfigurationDetailsSchemaListing](#GetCatalogConfigurationDetailsSchemaListing)? | yes | | + | appId | String | no | | | id | String? | yes | | + | configType | String | no | | | product | [GetCatalogConfigurationDetailsProduct](#GetCatalogConfigurationDetailsProduct)? | yes | | - | appId | String | no | | --- @@ -13954,34 +13954,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [ProductSortOn](#ProductSortOn) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | value | String? | yes | | - | name | String? | yes | | - | isSelected | Boolean? | yes | | - ---- - - - - #### [ProductFiltersValue](#ProductFiltersValue) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | displayFormat | String? | yes | | - | count | Int? | yes | | - | isSelected | Boolean | no | | + | selectedMin | Int? | yes | | | currencyCode | String? | yes | | - | selectedMax | Int? | yes | | | display | String | no | | - | max | Int? | yes | | - | selectedMin | Int? | yes | | - | currencySymbol | String? | yes | | + | isSelected | Boolean | no | | | value | String | no | | + | currencySymbol | String? | yes | | + | count | Int? | yes | | + | max | Int? | yes | | | min | Int? | yes | | + | displayFormat | String? | yes | | + | selectedMax | Int? | yes | | | queryFormat | String? | yes | | --- @@ -13994,9 +13981,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | logo | String? | yes | | - | display | String | no | | - | name | String | no | | | kind | String? | yes | | + | name | String | no | | + | display | String | no | | --- @@ -14015,289 +14002,303 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [GetCollectionQueryOptionResponse](#GetCollectionQueryOptionResponse) + #### [ProductSortOn](#ProductSortOn) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | - | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | + | isSelected | Boolean? | yes | | + | value | String? | yes | | + | name | String? | yes | | --- - #### [Schedule](#Schedule) + #### [GetCollectionQueryOptionResponse](#GetCollectionQueryOptionResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | end | String? | yes | | - | start | String? | yes | | - | cron | String? | yes | | - | duration | Int? | yes | | + | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | + | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | --- - #### [UserInfo](#UserInfo) + #### [BannerImage](#BannerImage) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | String? | yes | | - | username | String? | yes | | - | userId | String? | yes | | - | email | String? | yes | | + | url | String? | yes | | + | aspectRatio | String? | yes | | --- - #### [CollectionImage](#CollectionImage) + #### [ImageUrls](#ImageUrls) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | aspectRatio | String | no | | - | url | String | no | | + | landscape | [BannerImage](#BannerImage)? | yes | | + | portrait | [BannerImage](#BannerImage)? | yes | | --- - #### [CollectionBanner](#CollectionBanner) + #### [Media1](#Media1) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | portrait | [CollectionImage](#CollectionImage) | no | | - | landscape | [CollectionImage](#CollectionImage) | no | | + | type | String? | yes | | + | url | String | no | | + | meta | HashMap? | yes | | --- - #### [SeoDetail](#SeoDetail) + #### [ProductListingActionPage](#ProductListingActionPage) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | title | String? | yes | | - | description | String? | yes | | + | type | String? | yes | | + | query | HashMap? | yes | | --- - #### [CollectionBadge](#CollectionBadge) + #### [ProductListingAction](#ProductListingAction) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | text | String? | yes | | - | color | String? | yes | | + | page | [ProductListingActionPage](#ProductListingActionPage)? | yes | | + | type | String? | yes | | --- - #### [CreateCollection](#CreateCollection) + #### [GetCollectionDetailNest](#GetCollectionDetailNest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | meta | HashMap? | yes | | - | schedule | [Schedule](#Schedule)? | yes | | - | localeLanguage | HashMap? | yes | | - | published | Boolean? | yes | | - | createdBy | [UserInfo](#UserInfo)? | yes | | - | customJson | HashMap? | yes | | | visibleFacetsKeys | ArrayList? | yes | | - | banners | [CollectionBanner](#CollectionBanner) | no | | - | modifiedBy | [UserInfo](#UserInfo)? | yes | | - | query | HashMap? | yes | | - | logo | [CollectionImage](#CollectionImage) | no | | - | tags | ArrayList? | yes | | - | seo | [SeoDetail](#SeoDetail)? | yes | | - | appId | String | no | | - | sortOn | String? | yes | | - | badge | [CollectionBadge](#CollectionBadge)? | yes | | - | type | String | no | | - | isActive | Boolean? | yes | | + | appId | String? | yes | | + | uid | String? | yes | | | allowFacets | Boolean? | yes | | - | allowSort | Boolean? | yes | | - | slug | String | no | | + | type | String? | yes | | + | isActive | Boolean? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | + | logo | [Media1](#Media1)? | yes | | + | meta | HashMap? | yes | | + | query | HashMap? | yes | | + | tag | ArrayList? | yes | | + | slug | String? | yes | | + | badge | HashMap? | yes | | | description | String? | yes | | - | name | String | no | | + | cron | HashMap? | yes | | + | allowSort | Boolean? | yes | | + | schedule | HashMap? | yes | | + | name | String? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | --- - #### [BannerImage](#BannerImage) + #### [CollectionListingFilterTag](#CollectionListingFilterTag) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | aspectRatio | String? | yes | | - | url | String? | yes | | + | isSelected | Boolean? | yes | | + | name | String? | yes | | + | display | String? | yes | | --- - #### [ImageUrls](#ImageUrls) + #### [CollectionListingFilterType](#CollectionListingFilterType) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | portrait | [BannerImage](#BannerImage)? | yes | | - | landscape | [BannerImage](#BannerImage)? | yes | | + | isSelected | Boolean? | yes | | + | name | String? | yes | | + | display | String? | yes | | --- - #### [CollectionCreateResponse](#CollectionCreateResponse) + #### [CollectionListingFilter](#CollectionListingFilter) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [BannerImage](#BannerImage)? | yes | | - | isActive | Boolean? | yes | | - | cron | HashMap? | yes | | - | visibleFacetsKeys | ArrayList? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | allowFacets | Boolean? | yes | | - | allowSort | Boolean? | yes | | - | meta | HashMap? | yes | | - | appId | String? | yes | | - | query | HashMap? | yes | | - | slug | String? | yes | | - | tag | ArrayList? | yes | | - | schedule | HashMap? | yes | | - | badge | HashMap? | yes | | - | type | String? | yes | | - | description | String? | yes | | - | name | String? | yes | | + | tags | ArrayList<[CollectionListingFilterTag](#CollectionListingFilterTag)>? | yes | | + | type | ArrayList<[CollectionListingFilterType](#CollectionListingFilterType)>? | yes | | --- - #### [CollectionListingFilterTag](#CollectionListingFilterTag) + #### [GetCollectionListingResponse](#GetCollectionListingResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | - | name | String? | yes | | - | isSelected | Boolean? | yes | | + | items | ArrayList<[GetCollectionDetailNest](#GetCollectionDetailNest)>? | yes | | + | page | [Page](#Page)? | yes | | + | filters | [CollectionListingFilter](#CollectionListingFilter)? | yes | | --- - #### [CollectionListingFilterType](#CollectionListingFilterType) + #### [SeoDetail](#SeoDetail) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | - | name | String? | yes | | - | isSelected | Boolean? | yes | | + | title | String? | yes | | + | description | String? | yes | | --- - #### [CollectionListingFilter](#CollectionListingFilter) + #### [CollectionImage](#CollectionImage) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | tags | ArrayList<[CollectionListingFilterTag](#CollectionListingFilterTag)>? | yes | | - | type | ArrayList<[CollectionListingFilterType](#CollectionListingFilterType)>? | yes | | + | url | String | no | | + | aspectRatio | String | no | | --- - #### [Media1](#Media1) + #### [CollectionBanner](#CollectionBanner) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | meta | HashMap? | yes | | - | type | String? | yes | | - | url | String | no | | + | landscape | [CollectionImage](#CollectionImage) | no | | + | portrait | [CollectionImage](#CollectionImage) | no | | --- - #### [ProductListingActionPage](#ProductListingActionPage) + #### [UserInfo](#UserInfo) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | query | HashMap? | yes | | - | type | String? | yes | | + | username | String? | yes | | + | email | String? | yes | | + | userId | String? | yes | | + | uid | String? | yes | | --- - #### [ProductListingAction](#ProductListingAction) + #### [CollectionBadge](#CollectionBadge) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [ProductListingActionPage](#ProductListingActionPage)? | yes | | - | type | String? | yes | | + | color | String? | yes | | + | text | String? | yes | | --- - #### [GetCollectionDetailNest](#GetCollectionDetailNest) + #### [Schedule](#Schedule) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | end | String? | yes | | + | start | String? | yes | | + | cron | String? | yes | | + | duration | Int? | yes | | + +--- + + + + + #### [CreateCollection](#CreateCollection) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | cron | HashMap? | yes | | - | meta | HashMap? | yes | | - | schedule | HashMap? | yes | | | visibleFacetsKeys | ArrayList? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | query | HashMap? | yes | | - | logo | [Media1](#Media1)? | yes | | - | uid | String? | yes | | - | appId | String? | yes | | - | tag | ArrayList? | yes | | - | badge | HashMap? | yes | | - | type | String? | yes | | - | isActive | Boolean? | yes | | + | appId | String | no | | + | seo | [SeoDetail](#SeoDetail)? | yes | | + | sortOn | String? | yes | | | allowFacets | Boolean? | yes | | - | allowSort | Boolean? | yes | | - | slug | String? | yes | | + | type | String | no | | + | isVisible | Boolean? | yes | | + | isActive | Boolean? | yes | | + | banners | [CollectionBanner](#CollectionBanner) | no | | + | logo | [CollectionImage](#CollectionImage) | no | | + | meta | HashMap? | yes | | + | query | HashMap? | yes | | + | modifiedBy | [UserInfo](#UserInfo)? | yes | | + | slug | String | no | | + | published | Boolean? | yes | | + | tags | ArrayList? | yes | | + | badge | [CollectionBadge](#CollectionBadge)? | yes | | | description | String? | yes | | - | name | String? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | + | createdBy | [UserInfo](#UserInfo)? | yes | | + | customJson | HashMap? | yes | | + | allowSort | Boolean? | yes | | + | localeLanguage | HashMap? | yes | | + | schedule | [Schedule](#Schedule)? | yes | | + | name | String | no | | --- - #### [GetCollectionListingResponse](#GetCollectionListingResponse) + #### [CollectionCreateResponse](#CollectionCreateResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | filters | [CollectionListingFilter](#CollectionListingFilter)? | yes | | - | page | [Page](#Page)? | yes | | - | items | ArrayList<[GetCollectionDetailNest](#GetCollectionDetailNest)>? | yes | | + | visibleFacetsKeys | ArrayList? | yes | | + | allowSort | Boolean? | yes | | + | slug | String? | yes | | + | isActive | Boolean? | yes | | + | appId | String? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | + | name | String? | yes | | + | logo | [BannerImage](#BannerImage)? | yes | | + | schedule | HashMap? | yes | | + | allowFacets | Boolean? | yes | | + | query | HashMap? | yes | | + | description | String? | yes | | + | meta | HashMap? | yes | | + | tag | ArrayList? | yes | | + | badge | HashMap? | yes | | + | type | String? | yes | | + | cron | HashMap? | yes | | --- @@ -14308,23 +14309,23 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Media1](#Media1)? | yes | | - | isActive | Boolean? | yes | | - | cron | HashMap? | yes | | | visibleFacetsKeys | ArrayList? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | - | allowFacets | Boolean? | yes | | | allowSort | Boolean? | yes | | - | meta | HashMap? | yes | | + | slug | String? | yes | | + | isActive | Boolean? | yes | | | appId | String? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | + | name | String? | yes | | + | logo | [Media1](#Media1)? | yes | | + | schedule | HashMap? | yes | | + | allowFacets | Boolean? | yes | | | query | HashMap? | yes | | - | slug | String? | yes | | + | description | String? | yes | | + | meta | HashMap? | yes | | | tag | ArrayList? | yes | | - | schedule | HashMap? | yes | | | badge | HashMap? | yes | | | type | String? | yes | | - | description | String? | yes | | - | name | String? | yes | | + | cron | HashMap? | yes | | --- @@ -14335,25 +14336,26 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | meta | HashMap? | yes | | - | schedule | [Schedule](#Schedule)? | yes | | - | localeLanguage | HashMap? | yes | | - | published | Boolean? | yes | | - | customJson | HashMap? | yes | | | visibleFacetsKeys | ArrayList? | yes | | - | banners | [CollectionBanner](#CollectionBanner)? | yes | | - | modifiedBy | [UserInfo](#UserInfo)? | yes | | - | query | HashMap? | yes | | - | logo | [CollectionImage](#CollectionImage)? | yes | | - | tags | ArrayList? | yes | | | seo | [SeoDetail](#SeoDetail)? | yes | | | sortOn | String? | yes | | - | badge | [CollectionBadge](#CollectionBadge)? | yes | | - | isActive | Boolean? | yes | | | allowFacets | Boolean? | yes | | - | allowSort | Boolean? | yes | | + | isVisible | Boolean? | yes | | + | isActive | Boolean? | yes | | + | banners | [CollectionBanner](#CollectionBanner)? | yes | | + | logo | [CollectionImage](#CollectionImage)? | yes | | + | meta | HashMap? | yes | | + | query | HashMap? | yes | | + | modifiedBy | [UserInfo](#UserInfo)? | yes | | | slug | String? | yes | | + | published | Boolean? | yes | | + | tags | ArrayList? | yes | | + | badge | [CollectionBadge](#CollectionBadge)? | yes | | | description | String? | yes | | + | customJson | HashMap? | yes | | + | allowSort | Boolean? | yes | | + | localeLanguage | HashMap? | yes | | + | schedule | [Schedule](#Schedule)? | yes | | | name | String? | yes | | --- @@ -14361,138 +14363,138 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [CollectionItemRequest](#CollectionItemRequest) + #### [Price1](#Price1) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | pageSize | Int | no | | - | pageNo | Int | no | | + | currencyCode | String? | yes | | + | max | Double? | yes | | + | currencySymbol | String? | yes | | + | min | Double? | yes | | --- - #### [UpdatedResponse](#UpdatedResponse) + #### [ProductListingPrice](#ProductListingPrice) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | message | String? | yes | | + | marked | [Price1](#Price1)? | yes | | + | effective | [Price1](#Price1)? | yes | | --- - #### [ProductDetailAttribute](#ProductDetailAttribute) + #### [ProductBrand](#ProductBrand) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | value | String? | yes | | - | type | String? | yes | | - | key | String? | yes | | + | uid | Int? | yes | | + | name | String? | yes | | + | action | [ProductListingAction](#ProductListingAction)? | yes | | + | logo | [Media1](#Media1)? | yes | | --- - #### [ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute) + #### [ProductDetailAttribute](#ProductDetailAttribute) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | details | ArrayList<[ProductDetailAttribute](#ProductDetailAttribute)>? | yes | | - | title | String? | yes | | + | value | String? | yes | | + | type | String? | yes | | + | key | String? | yes | | --- - #### [Price1](#Price1) + #### [ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | currencySymbol | String? | yes | | - | max | Double? | yes | | - | currencyCode | String? | yes | | - | min | Double? | yes | | + | title | String? | yes | | + | details | ArrayList<[ProductDetailAttribute](#ProductDetailAttribute)>? | yes | | --- - #### [ProductListingPrice](#ProductListingPrice) + #### [ProductListingDetail](#ProductListingDetail) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | marked | [Price1](#Price1)? | yes | | - | effective | [Price1](#Price1)? | yes | | + | shortDescription | String? | yes | | + | uid | Int? | yes | | + | color | String? | yes | | + | type | String? | yes | | + | itemType | String? | yes | | + | promoMeta | HashMap? | yes | | + | highlights | ArrayList? | yes | | + | price | [ProductListingPrice](#ProductListingPrice)? | yes | | + | discount | String? | yes | | + | attributes | HashMap? | yes | | + | imageNature | String? | yes | | + | hasVariant | Boolean? | yes | | + | slug | String | no | | + | brand | [ProductBrand](#ProductBrand)? | yes | | + | description | String? | yes | | + | ratingCount | Int? | yes | | + | rating | Double? | yes | | + | teaserTag | HashMap? | yes | | + | similars | ArrayList? | yes | | + | sellable | Boolean? | yes | | + | tryouts | ArrayList? | yes | | + | itemCode | String? | yes | | + | medias | ArrayList<[Media1](#Media1)>? | yes | | + | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | + | name | String? | yes | | + | productOnlineDate | String? | yes | | --- - #### [ProductBrand](#ProductBrand) + #### [GetCollectionItemsResponse](#GetCollectionItemsResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Media1](#Media1)? | yes | | - | uid | Int? | yes | | - | name | String? | yes | | - | action | [ProductListingAction](#ProductListingAction)? | yes | | + | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | + | page | [Page](#Page)? | yes | | + | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | + | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | --- - #### [ProductListingDetail](#ProductListingDetail) + #### [CollectionItemRequest](#CollectionItemRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | medias | ArrayList<[Media1](#Media1)>? | yes | | - | hasVariant | Boolean? | yes | | - | productOnlineDate | String? | yes | | - | highlights | ArrayList? | yes | | - | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | - | price | [ProductListingPrice](#ProductListingPrice)? | yes | | - | ratingCount | Int? | yes | | - | rating | Double? | yes | | - | promoMeta | HashMap? | yes | | - | attributes | HashMap? | yes | | - | uid | Int? | yes | | - | discount | String? | yes | | - | shortDescription | String? | yes | | - | tryouts | ArrayList? | yes | | - | itemType | String? | yes | | - | teaserTag | HashMap? | yes | | - | similars | ArrayList? | yes | | - | type | String? | yes | | - | color | String? | yes | | - | brand | [ProductBrand](#ProductBrand)? | yes | | - | slug | String | no | | - | name | String? | yes | | - | sellable | Boolean? | yes | | - | description | String? | yes | | - | imageNature | String? | yes | | - | itemCode | String? | yes | | + | pageSize | Int | no | | + | pageNo | Int | no | | --- - #### [GetCollectionItemsResponse](#GetCollectionItemsResponse) + #### [UpdatedResponse](#UpdatedResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | - | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | - | page | [Page](#Page)? | yes | | - | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | + | message | String? | yes | | --- @@ -14503,12 +14505,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | articleFreshness | Int? | yes | | | availableArticles | Int? | yes | | - | name | String? | yes | | + | articleFreshness | Int? | yes | | + | totalSizes | Int? | yes | | | availableSizes | Int? | yes | | | totalArticles | Int? | yes | | - | totalSizes | Int? | yes | | + | name | String? | yes | | --- @@ -14519,8 +14521,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | outOfStockCount | Int? | yes | | | sellableCount | Int? | yes | | + | outOfStockCount | Int? | yes | | | count | Int? | yes | | --- @@ -14544,8 +14546,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | products | Int? | yes | | | articles | Int? | yes | | + | products | Int? | yes | | --- @@ -14568,9 +14570,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | optLevel | String | no | | - | brandIds | ArrayList? | yes | | | enabled | Boolean? | yes | | + | brandIds | ArrayList? | yes | | + | optLevel | String | no | | | storeIds | ArrayList? | yes | | --- @@ -14583,15 +14585,15 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | enabled | Boolean | no | | - | createdBy | HashMap? | yes | | - | optLevel | String | no | | - | modifiedOn | Int | no | | | modifiedBy | HashMap? | yes | | - | createdOn | Int | no | | - | companyId | Int | no | | + | platform | String | no | | | storeIds | ArrayList | no | | | brandIds | ArrayList | no | | - | platform | String | no | | + | modifiedOn | Int | no | | + | optLevel | String | no | | + | createdOn | Int | no | | + | companyId | Int | no | | + | createdBy | HashMap? | yes | | --- @@ -14602,8 +14604,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[CompanyOptIn](#CompanyOptIn)> | no | | + | page | [Page](#Page) | no | | --- @@ -14614,9 +14616,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | companyType | String? | yes | | | businessType | String? | yes | | | uid | Int? | yes | | - | companyType | String? | yes | | | name | String? | yes | | --- @@ -14628,8 +14630,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | brandName | String? | yes | | | brandId | Int? | yes | | + | brandName | String? | yes | | | totalArticle | Int? | yes | | | companyId | Int? | yes | | @@ -14642,8 +14644,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[CompanyBrandDetail](#CompanyBrandDetail)>? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -14654,9 +14656,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | brand | Int? | yes | | | company | String? | yes | | | store | Int? | yes | | - | brand | Int? | yes | | --- @@ -14667,17 +14669,17 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | displayName | String? | yes | | + | createdOn | String? | yes | | + | modifiedOn | String? | yes | | | storeCode | String? | yes | | - | storeType | String? | yes | | | uid | Int? | yes | | - | documents | ArrayList>? | yes | | - | createdOn | String? | yes | | - | displayName | String? | yes | | + | name | String? | yes | | | timing | HashMap? | yes | | - | modifiedOn | String? | yes | | | additionalContacts | ArrayList>? | yes | | | companyId | Int? | yes | | - | name | String? | yes | | + | storeType | String? | yes | | + | documents | ArrayList>? | yes | | --- @@ -14688,8 +14690,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[StoreDetail](#StoreDetail)>? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -14701,8 +14703,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | indexing | Boolean | no | | - | priority | Int? | yes | | | dependsOn | ArrayList? | yes | | + | priority | Int? | yes | | --- @@ -14759,12 +14761,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | mandatory | Boolean? | yes | | | allowedValues | ArrayList? | yes | | - | multi | Boolean? | yes | | - | format | String? | yes | | | range | [AttributeSchemaRange](#AttributeSchemaRange)? | yes | | + | format | String? | yes | | | type | String | no | | - | mandatory | Boolean? | yes | | + | multi | Boolean? | yes | | --- @@ -14775,18 +14777,18 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | enabledForEndConsumer | Boolean? | yes | | - | filters | [AttributeMasterFilter](#AttributeMasterFilter)? | yes | | + | slug | String? | yes | | | id | String? | yes | | - | meta | [AttributeMasterMeta](#AttributeMasterMeta)? | yes | | | isNested | Boolean? | yes | | - | slug | String? | yes | | - | details | [AttributeMasterDetails](#AttributeMasterDetails)? | yes | | | departments | ArrayList? | yes | | - | schema | [AttributeMaster](#AttributeMaster)? | yes | | + | enabledForEndConsumer | Boolean? | yes | | + | filters | [AttributeMasterFilter](#AttributeMasterFilter)? | yes | | + | logo | String? | yes | | + | meta | [AttributeMasterMeta](#AttributeMasterMeta)? | yes | | | description | String? | yes | | + | details | [AttributeMasterDetails](#AttributeMasterDetails)? | yes | | | name | String? | yes | | + | schema | [AttributeMaster](#AttributeMaster)? | yes | | --- @@ -14797,8 +14799,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList>? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -14809,11 +14811,11 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | code | String? | yes | | - | meta | HashMap? | yes | | - | status | Int? | yes | | | message | String? | yes | | + | meta | HashMap? | yes | | | errors | HashMap? | yes | | + | status | Int? | yes | | + | code | String? | yes | | --- @@ -14837,21 +14839,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean? | yes | | - | createdBy | [UserSerializer](#UserSerializer)? | yes | | - | uid | Int? | yes | | - | priorityOrder | Int? | yes | | + | itemType | String? | yes | | | modifiedBy | [UserSerializer](#UserSerializer)? | yes | | | slug | String? | yes | | + | isActive | Boolean? | yes | | | createdOn | String? | yes | | - | synonyms | ArrayList? | yes | | - | pageSize | Int? | yes | | - | itemType | String? | yes | | | modifiedOn | String? | yes | | + | priorityOrder | Int? | yes | | + | uid | Int? | yes | | | search | String? | yes | | - | name | String? | yes | | + | logo | String? | yes | | + | synonyms | ArrayList? | yes | | | pageNo | Int? | yes | | + | createdBy | [UserSerializer](#UserSerializer)? | yes | | + | pageSize | Int? | yes | | + | name | String? | yes | | --- @@ -14862,8 +14864,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[GetDepartment](#GetDepartment)>? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -14874,11 +14876,11 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | code | String? | yes | | - | meta | HashMap? | yes | | - | status | Int? | yes | | | message | String? | yes | | + | meta | HashMap? | yes | | | errors | HashMap? | yes | | + | status | Int? | yes | | + | code | String? | yes | | --- @@ -14889,20 +14891,20 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | - | isActive | Boolean? | yes | | - | isPhysical | Boolean | no | | - | createdBy | HashMap? | yes | | - | attributes | ArrayList? | yes | | - | categories | ArrayList? | yes | | - | isArchived | Boolean? | yes | | - | tag | String? | yes | | - | slug | String | no | | | modifiedBy | HashMap? | yes | | + | slug | String | no | | + | isActive | Boolean? | yes | | | createdOn | String? | yes | | - | departments | ArrayList? | yes | | | modifiedOn | String? | yes | | + | departments | ArrayList? | yes | | + | isArchived | Boolean? | yes | | + | categories | ArrayList? | yes | | + | logo | String? | yes | | | description | String? | yes | | + | attributes | ArrayList? | yes | | + | tag | String? | yes | | + | createdBy | HashMap? | yes | | + | isPhysical | Boolean | no | | | name | String? | yes | | --- @@ -14914,8 +14916,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | [ProductTemplate](#ProductTemplate)? | yes | | + | page | [Page](#Page)? | yes | | --- @@ -14926,17 +14928,17 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String? | yes | | + | slug | String | no | | | isActive | Boolean? | yes | | - | isPhysical | Boolean | no | | - | attributes | ArrayList? | yes | | | id | String? | yes | | - | categories | ArrayList? | yes | | - | isArchived | Boolean? | yes | | - | tag | String? | yes | | - | slug | String | no | | | departments | ArrayList? | yes | | + | isArchived | Boolean? | yes | | + | categories | ArrayList? | yes | | + | logo | String? | yes | | | description | String? | yes | | + | attributes | ArrayList? | yes | | + | tag | String? | yes | | + | isPhysical | Boolean | no | | | name | String? | yes | | --- @@ -14948,36 +14950,36 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | multiSize | HashMap? | yes | | - | countryOfOrigin | HashMap? | yes | | - | noOfBoxes | HashMap? | yes | | + | shortDescription | HashMap? | yes | | + | command | HashMap? | yes | | | returnConfig | HashMap? | yes | | - | sizeGuide | HashMap? | yes | | - | sizes | HashMap? | yes | | - | currency | HashMap? | yes | | | customOrder | HashMap? | yes | | + | moq | HashMap? | yes | | + | currency | HashMap? | yes | | + | sizeGuide | HashMap? | yes | | + | itemType | HashMap? | yes | | + | isActive | HashMap? | yes | | | highlights | HashMap? | yes | | - | hsnCode | HashMap? | yes | | - | traderType | HashMap? | yes | | + | isDependent | HashMap? | yes | | | trader | HashMap? | yes | | + | slug | HashMap? | yes | | | tags | HashMap? | yes | | - | shortDescription | HashMap? | yes | | | categorySlug | HashMap? | yes | | - | moq | HashMap? | yes | | - | command | HashMap? | yes | | - | itemType | HashMap? | yes | | + | traderType | HashMap? | yes | | + | noOfBoxes | HashMap? | yes | | + | variants | HashMap? | yes | | + | description | HashMap? | yes | | + | multiSize | HashMap? | yes | | | teaserTag | HashMap? | yes | | + | countryOfOrigin | HashMap? | yes | | + | hsnCode | HashMap? | yes | | + | productGroupTag | HashMap? | yes | | + | sizes | HashMap? | yes | | + | itemCode | HashMap? | yes | | | productPublish | HashMap? | yes | | | brandUid | HashMap? | yes | | - | variants | HashMap? | yes | | - | isActive | HashMap? | yes | | - | media | HashMap? | yes | | - | isDependent | HashMap? | yes | | - | slug | HashMap? | yes | | - | productGroupTag | HashMap? | yes | | - | description | HashMap? | yes | | | name | HashMap? | yes | | - | itemCode | HashMap? | yes | | + | media | HashMap? | yes | | --- @@ -14988,12 +14990,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | required | ArrayList? | yes | | + | definitions | HashMap? | yes | | | properties | [Properties](#Properties)? | yes | | + | description | String? | yes | | | title | String? | yes | | - | required | ArrayList? | yes | | | type | String? | yes | | - | description | String? | yes | | - | definitions | HashMap? | yes | | --- @@ -15040,8 +15042,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | countryOfOrigin | ArrayList? | yes | | | hsnCode | ArrayList? | yes | | + | countryOfOrigin | ArrayList? | yes | | --- @@ -15076,9 +15078,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | templates | ArrayList? | yes | | | type | String? | yes | | | brand | ArrayList? | yes | | + | templates | ArrayList? | yes | | --- @@ -15089,16 +15091,16 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | createdBy | [VerifiedBy](#VerifiedBy)? | yes | | + | completedOn | String? | yes | | + | triggerOn | String? | yes | | | id | String? | yes | | - | data | [ProductDownloadItemsData](#ProductDownloadItemsData)? | yes | | - | taskId | String? | yes | | - | status | String? | yes | | | templateTags | HashMap? | yes | | + | taskId | String? | yes | | | sellerId | Double? | yes | | - | completedOn | String? | yes | | + | createdBy | [VerifiedBy](#VerifiedBy)? | yes | | | url | String? | yes | | - | triggerOn | String? | yes | | + | status | String? | yes | | + | data | [ProductDownloadItemsData](#ProductDownloadItemsData)? | yes | | --- @@ -15121,21 +15123,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | multivalue | Boolean? | yes | | | data | ArrayList>? | yes | | + | multivalue | Boolean? | yes | | --- - #### [Media2](#Media2) + #### [Hierarchy](#Hierarchy) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | String | no | | - | portrait | String | no | | - | landscape | String | no | | + | l1 | Int | no | | + | l2 | Int | no | | + | department | Int | no | | --- @@ -15158,8 +15160,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | facebook | [CategoryMappingValues](#CategoryMappingValues)? | yes | | | ajio | [CategoryMappingValues](#CategoryMappingValues)? | yes | | + | facebook | [CategoryMappingValues](#CategoryMappingValues)? | yes | | | google | [CategoryMappingValues](#CategoryMappingValues)? | yes | | --- @@ -15167,85 +15169,85 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [Hierarchy](#Hierarchy) + #### [Media2](#Media2) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | l1 | Int | no | | - | l2 | Int | no | | - | department | Int | no | | + | landscape | String | no | | + | portrait | String | no | | + | logo | String | no | | --- - #### [CategoryRequestBody](#CategoryRequestBody) + #### [Category](#Category) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean | no | | - | priority | Int? | yes | | - | media | [Media2](#Media2)? | yes | | + | modifiedBy | HashMap? | yes | | | slug | String? | yes | | + | isActive | Boolean | no | | + | createdBy | HashMap? | yes | | + | hierarchy | ArrayList<[Hierarchy](#Hierarchy)>? | yes | | | tryouts | ArrayList? | yes | | - | synonyms | ArrayList? | yes | | + | createdOn | String? | yes | | | departments | ArrayList | no | | + | uid | Int? | yes | | + | modifiedOn | String? | yes | | + | id | String? | yes | | | marketplaces | [CategoryMapping](#CategoryMapping)? | yes | | + | synonyms | ArrayList? | yes | | + | priority | Int? | yes | | | level | Int | no | | - | hierarchy | ArrayList<[Hierarchy](#Hierarchy)>? | yes | | | name | String | no | | + | media | [Media2](#Media2)? | yes | | --- - #### [CategoryCreateResponse](#CategoryCreateResponse) + #### [CategoryResponse](#CategoryResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | Int? | yes | | - | message | String? | yes | | + | items | ArrayList<[Category](#Category)>? | yes | | + | page | [Page](#Page)? | yes | | --- - #### [Category](#Category) + #### [CategoryRequestBody](#CategoryRequestBody) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean | no | | - | priority | Int? | yes | | - | createdBy | HashMap? | yes | | - | id | String? | yes | | - | uid | Int? | yes | | - | media | [Media2](#Media2)? | yes | | - | modifiedBy | HashMap? | yes | | | slug | String? | yes | | + | isActive | Boolean | no | | + | hierarchy | ArrayList<[Hierarchy](#Hierarchy)>? | yes | | | tryouts | ArrayList? | yes | | - | synonyms | ArrayList? | yes | | - | createdOn | String? | yes | | | departments | ArrayList | no | | - | modifiedOn | String? | yes | | | marketplaces | [CategoryMapping](#CategoryMapping)? | yes | | + | synonyms | ArrayList? | yes | | + | priority | Int? | yes | | | level | Int | no | | - | hierarchy | ArrayList<[Hierarchy](#Hierarchy)>? | yes | | | name | String | no | | + | media | [Media2](#Media2)? | yes | | --- - #### [CategoryResponse](#CategoryResponse) + #### [CategoryCreateResponse](#CategoryCreateResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | - | items | ArrayList<[Category](#Category)>? | yes | | + | message | String? | yes | | + | uid | Int? | yes | | --- @@ -15275,286 +15277,247 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [ReturnConfig](#ReturnConfig) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | returnable | Boolean? | yes | | - | time | Int? | yes | | - | unit | String? | yes | | - ---- - - - - - #### [CustomOrder](#CustomOrder) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | manufacturingTime | Int? | yes | | - | isCustomOrder | Boolean? | yes | | - | manufacturingTimeUnit | String? | yes | | - ---- - - - - - #### [Trader](#Trader) + #### [Logo](#Logo) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | name | String | no | | - | address | String | no | | + | url | String? | yes | | + | secureUrl | String? | yes | | + | aspectRatio | String? | yes | | + | aspectRatioF | Int? | yes | | --- - #### [OrderQuantity](#OrderQuantity) + #### [Brand](#Brand) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isSet | Boolean? | yes | | - | maximum | Int? | yes | | - | minimum | Int? | yes | | + | uid | Int? | yes | | + | name | String? | yes | | + | logo | [Logo](#Logo)? | yes | | --- - #### [TeaserTag](#TeaserTag) + #### [Image](#Image) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | tag | String? | yes | | | url | String? | yes | | + | secureUrl | String? | yes | | + | aspectRatio | String? | yes | | + | aspectRatioF | Double? | yes | | --- - #### [ProductPublish](#ProductPublish) + #### [ProductPublished](#ProductPublished) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | productOnlineDate | Int? | yes | | | isSet | Boolean? | yes | | - | productOnlineDate | String? | yes | | --- - #### [ProductCreateUpdate](#ProductCreateUpdate) + #### [Product](#Product) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | multiSize | Boolean? | yes | | - | countryOfOrigin | String | no | | - | noOfBoxes | Int? | yes | | - | returnConfig | [ReturnConfig](#ReturnConfig)? | yes | | - | isSet | Boolean? | yes | | - | sizeGuide | String? | yes | | - | currency | String | no | | - | customOrder | [CustomOrder](#CustomOrder)? | yes | | - | highlights | ArrayList? | yes | | - | customJson | HashMap? | yes | | - | hsnCode | String | no | | - | traderType | String? | yes | | - | trader | [Trader](#Trader)? | yes | | - | uid | Int? | yes | | - | tags | ArrayList? | yes | | + | categoryUid | Int? | yes | | + | id | String? | yes | | | shortDescription | String? | yes | | - | categorySlug | String | no | | - | moq | [OrderQuantity](#OrderQuantity)? | yes | | - | itemType | String | no | | - | teaserTag | [TeaserTag](#TeaserTag)? | yes | | - | templateTag | String | no | | - | departments | ArrayList | no | | - | changeRequestId | String? | yes | | - | productPublish | [ProductPublish](#ProductPublish)? | yes | | - | brandUid | Int | no | | - | variants | HashMap? | yes | | + | uid | Int? | yes | | + | l3Mapping | ArrayList? | yes | | + | color | String? | yes | | + | customOrder | HashMap? | yes | | + | moq | HashMap? | yes | | + | currency | String? | yes | | + | sizeGuide | String? | yes | | + | itemType | String? | yes | | | isActive | Boolean? | yes | | - | media | ArrayList<[Media1](#Media1)>? | yes | | - | isImageLessProduct | Boolean? | yes | | + | highlights | ArrayList? | yes | | + | templateTag | String? | yes | | + | imageNature | String? | yes | | | isDependent | Boolean? | yes | | - | requester | String? | yes | | - | slug | String | no | | - | productGroupTag | ArrayList? | yes | | - | companyId | Int | no | | + | slug | String? | yes | | + | allSizes | ArrayList>? | yes | | + | categorySlug | String? | yes | | + | brand | [Brand](#Brand)? | yes | | + | variants | HashMap? | yes | | | description | String? | yes | | - | name | String | no | | - | itemCode | String | no | | + | multiSize | Boolean? | yes | | + | isPhysical | Boolean? | yes | | + | countryOfOrigin | String? | yes | | + | customJson | HashMap? | yes | | + | images | ArrayList<[Image](#Image)>? | yes | | + | hsnCode | String? | yes | | + | primaryColor | String? | yes | | + | departments | ArrayList? | yes | | + | sizes | ArrayList>? | yes | | + | itemCode | String? | yes | | + | productPublish | [ProductPublished](#ProductPublished)? | yes | | + | isSet | Boolean? | yes | | + | brandUid | Int? | yes | | + | name | String? | yes | | + | media | ArrayList<[Media1](#Media1)>? | yes | | --- - #### [Image](#Image) + #### [ProductListingResponse](#ProductListingResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | secureUrl | String? | yes | | - | aspectRatio | String? | yes | | - | aspectRatioF | Double? | yes | | - | url | String? | yes | | + | items | ArrayList<[Product](#Product)>? | yes | | + | page | [Page](#Page)? | yes | | --- - #### [ProductPublished](#ProductPublished) + #### [ReturnConfig](#ReturnConfig) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isSet | Boolean? | yes | | - | productOnlineDate | Int? | yes | | + | time | Int | no | | + | unit | String | no | | + | returnable | Boolean | no | | --- - #### [Logo](#Logo) + #### [CustomOrder](#CustomOrder) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | secureUrl | String? | yes | | - | aspectRatio | String? | yes | | - | aspectRatioF | Int? | yes | | - | url | String? | yes | | + | manufacturingTimeUnit | String? | yes | | + | isCustomOrder | Boolean? | yes | | + | manufacturingTime | Int? | yes | | --- - #### [Brand](#Brand) + #### [OrderQuantity](#OrderQuantity) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Logo](#Logo)? | yes | | - | uid | Int? | yes | | - | name | String? | yes | | + | minimum | Int? | yes | | + | maximum | Int? | yes | | + | isSet | Boolean? | yes | | --- - #### [Product](#Product) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | multiSize | Boolean? | yes | | - | countryOfOrigin | String? | yes | | - | categoryUid | Int? | yes | | - | isSet | Boolean? | yes | | - | sizeGuide | String? | yes | | - | sizes | ArrayList>? | yes | | - | currency | String? | yes | | - | isPhysical | Boolean? | yes | | - | customOrder | HashMap? | yes | | - | highlights | ArrayList? | yes | | - | customJson | HashMap? | yes | | - | allSizes | ArrayList>? | yes | | - | images | ArrayList<[Image](#Image)>? | yes | | - | hsnCode | String? | yes | | - | id | String? | yes | | - | uid | Int? | yes | | - | shortDescription | String? | yes | | - | categorySlug | String? | yes | | - | moq | HashMap? | yes | | - | itemType | String? | yes | | - | templateTag | String? | yes | | - | departments | ArrayList? | yes | | - | color | String? | yes | | - | productPublish | [ProductPublished](#ProductPublished)? | yes | | - | l3Mapping | ArrayList? | yes | | - | brandUid | Int? | yes | | - | variants | HashMap? | yes | | - | isActive | Boolean? | yes | | - | brand | [Brand](#Brand)? | yes | | - | media | ArrayList<[Media1](#Media1)>? | yes | | - | isDependent | Boolean? | yes | | - | primaryColor | String? | yes | | - | slug | String? | yes | | - | name | String? | yes | | - | description | String? | yes | | - | imageNature | String? | yes | | - | itemCode | String? | yes | | + #### [Trader](#Trader) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | address | String | no | | + | name | String | no | | --- - #### [ProductListingResponse](#ProductListingResponse) + #### [TeaserTag](#TeaserTag) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | - | items | ArrayList<[Product](#Product)>? | yes | | + | url | String? | yes | | + | tag | String? | yes | | --- - #### [ValidateProduct](#ValidateProduct) + #### [ProductPublish](#ProductPublish) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | valid | Boolean? | yes | | + | productOnlineDate | String? | yes | | + | isSet | Boolean? | yes | | --- - #### [UserInfo1](#UserInfo1) + #### [ProductCreateUpdate](#ProductCreateUpdate) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | String? | yes | | - | username | String? | yes | | - | userId | String? | yes | | - | email | String? | yes | | + | requester | String? | yes | | + | shortDescription | String? | yes | | + | uid | Int? | yes | | + | returnConfig | [ReturnConfig](#ReturnConfig) | no | | + | customOrder | [CustomOrder](#CustomOrder)? | yes | | + | moq | [OrderQuantity](#OrderQuantity)? | yes | | + | currency | String | no | | + | changeRequestId | String? | yes | | + | sizeGuide | String? | yes | | + | itemType | String | no | | + | isActive | Boolean? | yes | | + | highlights | ArrayList? | yes | | + | templateTag | String | no | | + | companyId | Int | no | | + | isDependent | Boolean? | yes | | + | trader | [Trader](#Trader) | no | | + | bulkJobId | String? | yes | | + | slug | String | no | | + | tags | ArrayList? | yes | | + | categorySlug | String | no | | + | traderType | String? | yes | | + | noOfBoxes | Int? | yes | | + | variants | HashMap? | yes | | + | description | String? | yes | | + | multiSize | Boolean? | yes | | + | teaserTag | [TeaserTag](#TeaserTag)? | yes | | + | countryOfOrigin | String | no | | + | customJson | HashMap? | yes | | + | hsnCode | String | no | | + | productGroupTag | ArrayList? | yes | | + | departments | ArrayList | no | | + | itemCode | String | no | | + | productPublish | [ProductPublish](#ProductPublish)? | yes | | + | isImageLessProduct | Boolean? | yes | | + | isSet | Boolean? | yes | | + | brandUid | Int | no | | + | name | String | no | | + | action | String? | yes | | + | media | ArrayList<[Media1](#Media1)>? | yes | | --- - #### [BulkJob](#BulkJob) + #### [ValidateProduct](#ValidateProduct) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | - | createdBy | [UserInfo1](#UserInfo1)? | yes | | - | total | Int | no | | - | filePath | String? | yes | | - | trackingUrl | String? | yes | | - | modifiedBy | [UserInfo1](#UserInfo1)? | yes | | - | createdOn | String | no | | - | cancelled | Int? | yes | | - | cancelledRecords | ArrayList>? | yes | | - | companyId | Int | no | | - | stage | String? | yes | | - | modifiedOn | String? | yes | | - | templateTag | String? | yes | | - | customTemplateTag | String? | yes | | - | succeed | Int? | yes | | - | failed | Int? | yes | | - | failedRecords | ArrayList>? | yes | | + | valid | Boolean? | yes | | --- @@ -15565,9 +15528,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | fullName | String? | yes | | | userId | String? | yes | | | username | String? | yes | | - | fullName | String? | yes | | --- @@ -15578,22 +15541,22 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | - | createdBy | [UserDetail](#UserDetail)? | yes | | | total | Int? | yes | | + | modifiedBy | [UserDetail](#UserDetail)? | yes | | | filePath | String? | yes | | + | cancelled | Int? | yes | | + | isActive | Boolean? | yes | | + | cancelledRecords | ArrayList? | yes | | | modifiedOn | String? | yes | | - | modifiedBy | [UserDetail](#UserDetail)? | yes | | | createdOn | String? | yes | | + | failedRecords | ArrayList? | yes | | + | failed | Int? | yes | | | succeed | Int? | yes | | - | cancelled | Int? | yes | | - | template | [ProductTemplate](#ProductTemplate)? | yes | | + | templateTag | String? | yes | | | companyId | Int? | yes | | + | createdBy | [UserDetail](#UserDetail)? | yes | | + | template | [ProductTemplate](#ProductTemplate)? | yes | | | stage | String? | yes | | - | templateTag | String? | yes | | - | cancelledRecords | ArrayList? | yes | | - | failed | Int? | yes | | - | failedRecords | ArrayList? | yes | | --- @@ -15604,57 +15567,85 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | [ProductBulkRequest](#ProductBulkRequest)? | yes | | + | page | [Page](#Page)? | yes | | --- - #### [BulkProductRequest](#BulkProductRequest) + #### [UserInfo1](#UserInfo1) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | batchId | String | no | | - | templateTag | String | no | | + | username | String? | yes | | + | email | String? | yes | | + | userId | String? | yes | | + | uid | String? | yes | | + +--- + + + + + #### [BulkJob](#BulkJob) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | total | Int | no | | + | modifiedBy | [UserInfo1](#UserInfo1)? | yes | | + | cancelled | Int? | yes | | + | filePath | String? | yes | | + | isActive | Boolean? | yes | | + | createdOn | String | no | | + | modifiedOn | String? | yes | | + | cancelledRecords | ArrayList>? | yes | | + | failedRecords | ArrayList>? | yes | | + | failed | Int? | yes | | + | trackingUrl | String? | yes | | + | customTemplateTag | String? | yes | | + | succeed | Int? | yes | | + | templateTag | String? | yes | | | companyId | Int | no | | - | data | ArrayList> | no | | + | createdBy | [UserInfo1](#UserInfo1)? | yes | | + | stage | String? | yes | | --- - #### [NestedTags](#NestedTags) + #### [BulkProductRequest](#BulkProductRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | tags | ArrayList? | yes | | + | batchId | String | no | | + | templateTag | String | no | | + | data | ArrayList> | no | | + | companyId | Int | no | | --- - #### [ProductTagsViewResponse](#ProductTagsViewResponse) + #### [NestedTags](#NestedTags) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | items | [NestedTags](#NestedTags)? | yes | | + | tags | ArrayList? | yes | | --- - #### [ProductBulkAssets](#ProductBulkAssets) + #### [ProductTagsViewResponse](#ProductTagsViewResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | user | HashMap | no | | - | companyId | Int? | yes | | - | url | String | no | | + | items | [NestedTags](#NestedTags)? | yes | | --- @@ -15678,23 +15669,23 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | - | createdBy | [UserCommon](#UserCommon)? | yes | | | total | Int? | yes | | - | id | String? | yes | | - | filePath | String? | yes | | - | trackingUrl | String? | yes | | | modifiedBy | [UserCommon](#UserCommon)? | yes | | - | createdOn | String? | yes | | + | filePath | String? | yes | | | cancelled | Int? | yes | | + | isActive | Boolean? | yes | | + | createdOn | String? | yes | | + | modifiedOn | String? | yes | | | cancelledRecords | ArrayList? | yes | | + | failedRecords | ArrayList? | yes | | + | failed | Int? | yes | | + | trackingUrl | String? | yes | | + | id | String? | yes | | + | succeed | Int? | yes | | | companyId | Int? | yes | | - | stage | String? | yes | | - | modifiedOn | String? | yes | | + | createdBy | [UserCommon](#UserCommon)? | yes | | | retry | Int? | yes | | - | succeed | Int? | yes | | - | failed | Int? | yes | | - | failedRecords | ArrayList? | yes | | + | stage | String? | yes | | --- @@ -15705,8 +15696,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[Items](#Items)>? | yes | | + | page | [Page](#Page)? | yes | | + +--- + + + + + #### [ProductBulkAssets](#ProductBulkAssets) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | url | String | no | | + | user | HashMap | no | | + | companyId | Int? | yes | | --- @@ -15717,9 +15721,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | itemId | Int? | yes | | | size | String? | yes | | | companyId | Int? | yes | | - | itemId | Int? | yes | | --- @@ -15730,21 +15734,31 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | success | Boolean? | yes | | | data | [ProductSizeDeleteDataResponse](#ProductSizeDeleteDataResponse)? | yes | | + | success | Boolean? | yes | | --- - #### [ItemQuery](#ItemQuery) + #### [InventoryResponse](#InventoryResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | uid | Int? | yes | | - | itemCode | String? | yes | | - | brandUid | Int? | yes | | + | sellableQuantity | Int? | yes | | + | itemId | Int? | yes | | + | identifiers | HashMap? | yes | | + | size | String? | yes | | + | price | Int? | yes | | + | uid | String? | yes | | + | priceEffective | Int? | yes | | + | sellerIdentifier | Int? | yes | | + | store | HashMap? | yes | | + | currency | String? | yes | | + | priceTransfer | Int? | yes | | + | quantity | Int? | yes | | + | inventoryUpdatedOn | String? | yes | | --- @@ -15755,8 +15769,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | primary | Boolean? | yes | | | gtinType | String | no | | + | primary | Boolean? | yes | | | gtinValue | String | no | | --- @@ -15791,8 +15805,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | quantity | Int? | yes | | | sizeDistribution | [SizeDistribution](#SizeDistribution) | no | | + | quantity | Int? | yes | | --- @@ -15803,58 +15817,48 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | itemHeight | Double? | yes | | + | identifiers | ArrayList<[GTIN](#GTIN)> | no | | | size | String | no | | - | storeCode | String | no | | | itemWeight | Double? | yes | | - | itemDimensionsUnitOfMeasure | String? | yes | | - | identifiers | ArrayList<[GTIN](#GTIN)> | no | | - | priceEffective | Double | no | | - | set | [InventorySet](#InventorySet)? | yes | | - | itemLength | Double? | yes | | | price | Double | no | | - | itemHeight | Double? | yes | | - | quantity | Int | no | | - | isSet | Boolean? | yes | | + | storeCode | String | no | | | itemWidth | Double? | yes | | + | itemLength | Double? | yes | | + | priceEffective | Double | no | | + | quantity | Int | no | | | itemWeightUnitOfMeasure | String? | yes | | + | set | [InventorySet](#InventorySet)? | yes | | | currency | String | no | | | priceTransfer | Double? | yes | | + | itemDimensionsUnitOfMeasure | String? | yes | | + | isSet | Boolean? | yes | | --- - #### [InventoryRequest](#InventoryRequest) + #### [ItemQuery](#ItemQuery) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | item | [ItemQuery](#ItemQuery) | no | | - | companyId | Int | no | | - | sizes | ArrayList<[InvSize](#InvSize)> | no | | + | brandUid | Int? | yes | | + | uid | Int? | yes | | + | itemCode | String? | yes | | --- - #### [InventoryResponse](#InventoryResponse) + #### [InventoryRequest](#InventoryRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | priceTransfer | Int? | yes | | - | size | String? | yes | | - | identifiers | HashMap? | yes | | - | uid | String? | yes | | - | priceEffective | Int? | yes | | - | store | HashMap? | yes | | - | inventoryUpdatedOn | String? | yes | | - | price | Int? | yes | | - | quantity | Int? | yes | | - | sellableQuantity | Int? | yes | | - | currency | String? | yes | | - | sellerIdentifier | Int? | yes | | - | itemId | Int? | yes | | + | sizes | ArrayList<[InvSize](#InvSize)> | no | | + | item | [ItemQuery](#ItemQuery) | no | | + | companyId | Int | no | | --- @@ -15865,9 +15869,9 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | size | String? | yes | | - | locationId | Int? | yes | | | itemId | Int? | yes | | + | locationId | Int? | yes | | + | size | String? | yes | | --- @@ -15878,19 +15882,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | success | Boolean? | yes | | | data | [InventoryDeleteData](#InventoryDeleteData)? | yes | | - ---- - - - - - #### [CommonResponse](#CommonResponse) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | success | String? | yes | | + | success | Boolean? | yes | | --- @@ -15901,21 +15894,21 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | isActive | Boolean? | yes | | - | createdBy | HashMap? | yes | | | total | Int? | yes | | - | id | String? | yes | | - | filePath | String? | yes | | | modifiedBy | HashMap? | yes | | - | createdOn | String? | yes | | | cancelled | Int? | yes | | + | filePath | String? | yes | | + | isActive | Boolean? | yes | | + | cancelledRecords | ArrayList? | yes | | + | createdOn | String? | yes | | + | failedRecords | ArrayList? | yes | | + | id | String? | yes | | + | failed | Int? | yes | | + | modifiedOn | String? | yes | | | succeed | Int? | yes | | | companyId | Int? | yes | | + | createdBy | HashMap? | yes | | | stage | String? | yes | | - | modifiedOn | String? | yes | | - | cancelledRecords | ArrayList? | yes | | - | failed | Int? | yes | | - | failedRecords | ArrayList? | yes | | --- @@ -15926,8 +15919,19 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | | items | ArrayList<[BulkInventoryGetItems](#BulkInventoryGetItems)>? | yes | | + | page | [Page](#Page)? | yes | | + +--- + + + + + #### [CommonResponse](#CommonResponse) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | success | String? | yes | | --- @@ -15938,23 +15942,23 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | itemHeight | Double? | yes | | + | identifiers | ArrayList>? | yes | | | size | String? | yes | | - | storeCode | String | no | | | itemWeight | Double? | yes | | - | itemDimensionsUnitOfMeasure | String? | yes | | - | identifiers | ArrayList>? | yes | | - | priceEffective | Double | no | | - | set | [InventorySet](#InventorySet)? | yes | | - | itemLength | Double? | yes | | | price | Double | no | | - | itemHeight | Double? | yes | | - | quantity | Int | no | | - | isSet | Boolean? | yes | | + | storeCode | String | no | | | itemWidth | Double? | yes | | + | itemLength | Double? | yes | | + | priceEffective | Double | no | | + | sellerIdentifier | String | no | | + | quantity | Int | no | | | itemWeightUnitOfMeasure | String? | yes | | + | set | [InventorySet](#InventorySet)? | yes | | | currency | String | no | | - | sellerIdentifier | String | no | | | priceTransfer | Double? | yes | | + | itemDimensionsUnitOfMeasure | String? | yes | | + | isSet | Boolean? | yes | | --- @@ -15965,40 +15969,40 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | user | HashMap? | yes | | | batchId | String | no | | - | companyId | Int | no | | | sizes | ArrayList<[Size1](#Size1)> | no | | + | user | HashMap? | yes | | + | companyId | Int | no | | --- - #### [InventoryExportRequest](#InventoryExportRequest) + #### [InventoryExportJob](#InventoryExportJob) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | store | ArrayList? | yes | | - | type | String? | yes | | - | brand | ArrayList? | yes | | + | requestParams | HashMap? | yes | | + | completedOn | String? | yes | | + | triggerOn | String? | yes | | + | taskId | String | no | | + | sellerId | Int | no | | + | url | String? | yes | | + | status | String? | yes | | --- - #### [InventoryExportJob](#InventoryExportJob) + #### [InventoryExportRequest](#InventoryExportRequest) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | taskId | String | no | | - | status | String? | yes | | - | sellerId | Int | no | | - | completedOn | String? | yes | | - | url | String? | yes | | - | requestParams | HashMap? | yes | | - | triggerOn | String? | yes | | + | type | String? | yes | | + | brand | ArrayList? | yes | | + | store | ArrayList? | yes | | --- @@ -16009,8 +16013,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | display | String? | yes | | | value | String? | yes | | + | display | String? | yes | | --- @@ -16021,87 +16025,87 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | multivalues | Boolean? | yes | | | data | ArrayList<[FilerList](#FilerList)>? | yes | | + | multivalues | Boolean? | yes | | --- - #### [HsnUpsert](#HsnUpsert) + #### [HsnCodesObject](#HsnCodesObject) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | taxOnMrp | Boolean | no | | - | threshold1 | Double | no | | - | tax1 | Double | no | | - | tax2 | Double? | yes | | - | taxOnEsp | Boolean? | yes | | - | uid | Int? | yes | | - | companyId | Int | no | | + | hs2Code | String? | yes | | + | tax1 | Double? | yes | | | threshold2 | Double? | yes | | - | hsnCode | String | no | | - | hs2Code | String | no | | + | hsnCode | String? | yes | | + | id | String? | yes | | + | modifiedOn | String? | yes | | + | taxOnEsp | Boolean? | yes | | + | taxOnMrp | Boolean? | yes | | + | threshold1 | Double? | yes | | + | companyId | Int? | yes | | + | tax2 | Double? | yes | | --- - #### [HsnCodesObject](#HsnCodesObject) + #### [PageResponse](#PageResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | taxOnMrp | Boolean? | yes | | - | threshold1 | Double? | yes | | - | id | String? | yes | | - | tax1 | Double? | yes | | - | tax2 | Double? | yes | | - | taxOnEsp | Boolean? | yes | | - | companyId | Int? | yes | | - | threshold2 | Double? | yes | | - | modifiedOn | String? | yes | | - | hsnCode | String? | yes | | - | hs2Code | String? | yes | | + | current | String? | yes | | + | hasPrevious | Boolean? | yes | | + | size | Int? | yes | | + | itemTotal | Int? | yes | | + | hasNext | Boolean? | yes | | --- - #### [HsnCode](#HsnCode) + #### [HsnCodesListingResponse](#HsnCodesListingResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | data | [HsnCodesObject](#HsnCodesObject)? | yes | | + | items | ArrayList<[HsnCodesObject](#HsnCodesObject)>? | yes | | + | page | [PageResponse](#PageResponse)? | yes | | --- - #### [PageResponse](#PageResponse) + #### [HsnUpsert](#HsnUpsert) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | hasPrevious | Boolean? | yes | | - | size | Int? | yes | | - | current | String? | yes | | - | hasNext | Boolean? | yes | | - | itemTotal | Int? | yes | | + | hs2Code | String | no | | + | tax1 | Double | no | | + | threshold2 | Double? | yes | | + | hsnCode | String | no | | + | taxOnEsp | Boolean? | yes | | + | uid | Int? | yes | | + | taxOnMrp | Boolean | no | | + | threshold1 | Double | no | | + | companyId | Int | no | | + | tax2 | Double? | yes | | --- - #### [HsnCodesListingResponse](#HsnCodesListingResponse) + #### [HsnCode](#HsnCode) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [PageResponse](#PageResponse)? | yes | | - | items | ArrayList<[HsnCodesObject](#HsnCodesObject)>? | yes | | + | data | [HsnCodesObject](#HsnCodesObject)? | yes | | --- @@ -16134,12 +16138,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Media](#Media)? | yes | | - | uid | Int? | yes | | - | discount | String? | yes | | - | banners | [ImageUrls](#ImageUrls)? | yes | | | slug | String? | yes | | | departments | ArrayList? | yes | | + | uid | Int? | yes | | + | banners | [ImageUrls](#ImageUrls)? | yes | | + | logo | [Media](#Media)? | yes | | + | discount | String? | yes | | | name | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | @@ -16152,8 +16156,8 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page) | no | | | items | ArrayList<[BrandItem](#BrandItem)>? | yes | | + | page | [Page](#Page) | no | | --- @@ -16164,10 +16168,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | logo | [Media](#Media)? | yes | | - | uid | Int? | yes | | - | priorityOrder | Int? | yes | | | slug | String? | yes | | + | priorityOrder | Int? | yes | | + | uid | Int? | yes | | + | logo | [Media](#Media)? | yes | | | name | String? | yes | | --- @@ -16186,15 +16190,27 @@ The Product object. See example below or refer `ApplicationProductListingRespons + #### [DepartmentIdentifier](#DepartmentIdentifier) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | uid | Int? | yes | | + | slug | String? | yes | | + +--- + + + + #### [ThirdLevelChild](#ThirdLevelChild) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | customJson | HashMap? | yes | | + | slug | String? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | | childs | ArrayList>? | yes | | - | slug | String? | yes | | | name | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | @@ -16208,10 +16224,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | customJson | HashMap? | yes | | + | slug | String? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | | childs | ArrayList<[ThirdLevelChild](#ThirdLevelChild)>? | yes | | - | slug | String? | yes | | | name | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | @@ -16225,10 +16241,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | customJson | HashMap? | yes | | + | slug | String? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | | childs | ArrayList<[SecondLevelChild](#SecondLevelChild)>? | yes | | - | slug | String? | yes | | | name | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | @@ -16241,10 +16257,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | slug | String? | yes | | | uid | Int? | yes | | | banners | [ImageUrls](#ImageUrls)? | yes | | | childs | ArrayList<[Child](#Child)>? | yes | | - | slug | String? | yes | | | name | String? | yes | | | action | [ProductListingAction](#ProductListingAction)? | yes | | @@ -16265,24 +16281,12 @@ The Product object. See example below or refer `ApplicationProductListingRespons - #### [DepartmentIdentifier](#DepartmentIdentifier) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | uid | Int? | yes | | - | slug | String? | yes | | - ---- - - - - #### [CategoryListingResponse](#CategoryListingResponse) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | data | ArrayList<[DepartmentCategoryTree](#DepartmentCategoryTree)>? | yes | | | departments | ArrayList<[DepartmentIdentifier](#DepartmentIdentifier)>? | yes | | + | data | ArrayList<[DepartmentCategoryTree](#DepartmentCategoryTree)>? | yes | | --- @@ -16293,10 +16297,10 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | - | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | | page | [Page](#Page) | no | | | items | ArrayList<[ProductListingDetail](#ProductListingDetail)>? | yes | | + | filters | ArrayList<[ProductFilters](#ProductFilters)>? | yes | | + | sortOn | ArrayList<[ProductSortOn](#ProductSortOn)>? | yes | | --- @@ -16307,29 +16311,29 @@ The Product object. See example below or refer `ApplicationProductListingRespons | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | medias | ArrayList<[Media1](#Media1)>? | yes | | - | hasVariant | Boolean? | yes | | - | productOnlineDate | String? | yes | | + | shortDescription | String? | yes | | + | uid | Int? | yes | | + | color | String? | yes | | + | type | String? | yes | | + | itemType | String? | yes | | + | promoMeta | HashMap? | yes | | | highlights | ArrayList? | yes | | - | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | + | attributes | HashMap? | yes | | + | imageNature | String? | yes | | + | hasVariant | Boolean? | yes | | + | slug | String | no | | + | brand | [ProductBrand](#ProductBrand)? | yes | | + | description | String? | yes | | | ratingCount | Int? | yes | | | rating | Double? | yes | | - | promoMeta | HashMap? | yes | | - | attributes | HashMap? | yes | | - | uid | Int? | yes | | - | shortDescription | String? | yes | | - | tryouts | ArrayList? | yes | | - | itemType | String? | yes | | | teaserTag | HashMap? | yes | | | similars | ArrayList? | yes | | - | type | String? | yes | | - | color | String? | yes | | - | brand | [ProductBrand](#ProductBrand)? | yes | | - | slug | String | no | | - | name | String? | yes | | - | description | String? | yes | | - | imageNature | String? | yes | | + | tryouts | ArrayList? | yes | | | itemCode | String? | yes | | + | medias | ArrayList<[Media1](#Media1)>? | yes | | + | groupedAttributes | ArrayList<[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)>? | yes | | + | name | String? | yes | | + | productOnlineDate | String? | yes | | --- diff --git a/documentation/platform/COMPANYPROFILE.md b/documentation/platform/COMPANYPROFILE.md index 3e785e031..db38b734e 100644 --- a/documentation/platform/COMPANYPROFILE.md +++ b/documentation/platform/COMPANYPROFILE.md @@ -9,15 +9,15 @@ Company Profile API's allows you to access list of products, prices, seller deta * [updateCompany](#updatecompany) * [cbsOnboardGet](#cbsonboardget) * [getCompanyMetrics](#getcompanymetrics) -* [getBrand](#getbrand) * [editBrand](#editbrand) +* [getBrand](#getbrand) * [createBrand](#createbrand) -* [getBrands](#getbrands) * [createCompanyBrandMapping](#createcompanybrandmapping) -* [getLocations](#getlocations) +* [getBrands](#getbrands) * [createLocation](#createlocation) -* [getLocationDetail](#getlocationdetail) +* [getLocations](#getlocations) * [updateLocation](#updatelocation) +* [getLocationDetail](#getlocationdetail) * [createLocationBulk](#createlocationbulk) @@ -289,6 +289,70 @@ Metrics response object. See example below or refer `MetricsSerializer` for deta +--- + + +### editBrand +Edit a brand. + + + + +```kotlin +client.companyprofile.editBrand(brandId: brandId, body: body).safeAwait{ response,error-> + + response?.let{ + // Use response + } -> + + error?.let{ + + } +} +``` + + + +| Argument | Type | Required | Description | +| --------- | ----- | -------- | ----------- | +| companyId | String | yes | Id of the company associated to brand that is to be viewed. | +| brandId | String | yes | Id of the brand to be viewed. | +| body | [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | yes | Request body | + + +This API allows to edit meta of a brand. + +*Returned Response:* + + + + +[SuccessResponse](#SuccessResponse) + +Returns a success response + + + + +
+  Example: + +```json +{ + "uid": 1, + "success": true +} +``` +
+ + + + + + + + + --- @@ -381,14 +445,14 @@ Brand object. See example below or refer `GetBrandResponseSerializer` for detail --- -### editBrand -Edit a brand. +### createBrand +Create a Brand. ```kotlin -client.companyprofile.editBrand(brandId: brandId, body: body).safeAwait{ response,error-> +client.companyprofile.createBrand(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -404,12 +468,11 @@ client.companyprofile.editBrand(brandId: brandId, body: body).safeAwait{ respons | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company associated to brand that is to be viewed. | -| brandId | String | yes | Id of the brand to be viewed. | +| companyId | String | yes | Id of the company. | | body | [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | yes | Request body | -This API allows to edit meta of a brand. +This API allows to create a brand associated to a company. *Returned Response:* @@ -445,14 +508,14 @@ Returns a success response --- -### createBrand -Create a Brand. +### createCompanyBrandMapping +Create a company brand mapping. ```kotlin -client.companyprofile.createBrand(body: body).safeAwait{ response,error-> +client.companyprofile.createCompanyBrandMapping(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -468,11 +531,11 @@ client.companyprofile.createBrand(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company. | -| body | [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | yes | Request body | +| companyId | String | yes | Id of the company inside which the brand is to be mapped. | +| body | [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer) | yes | Request body | -This API allows to create a brand associated to a company. +This API allows to create a company brand mapping, for a already existing brand in the system. *Returned Response:* @@ -491,7 +554,6 @@ Returns a success response ```json { - "uid": 1, "success": true } ``` @@ -658,14 +720,14 @@ Brand object. See example below or refer `CompanyBrandListSerializer` for detail --- -### createCompanyBrandMapping -Create a company brand mapping. +### createLocation +Create a location asscoiated to a company. ```kotlin -client.companyprofile.createCompanyBrandMapping(body: body).safeAwait{ response,error-> +client.companyprofile.createLocation(body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -681,11 +743,11 @@ client.companyprofile.createCompanyBrandMapping(body: body).safeAwait{ response, | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company inside which the brand is to be mapped. | -| body | [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer) | yes | Request body | +| companyId | String | yes | Id of the company inside which the location is to be created. | +| body | [LocationSerializer](#LocationSerializer) | yes | Request body | -This API allows to create a company brand mapping, for a already existing brand in the system. +This API allows to create a location associated to a company. *Returned Response:* @@ -704,6 +766,7 @@ Returns a success response ```json { + "uid": 1, "success": true } ``` @@ -968,14 +1031,14 @@ Company profile object. See example below or refer `LocationListSerializer` for --- -### createLocation -Create a location asscoiated to a company. +### updateLocation +Edit a location asscoiated to a company. ```kotlin -client.companyprofile.createLocation(body: body).safeAwait{ response,error-> +client.companyprofile.updateLocation(locationId: locationId, body: body).safeAwait{ response,error-> response?.let{ // Use response @@ -991,11 +1054,12 @@ client.companyprofile.createLocation(body: body).safeAwait{ response,error-> | Argument | Type | Required | Description | | --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company inside which the location is to be created. | +| companyId | String | yes | Id of the company inside which the location is to be created. | +| locationId | String | yes | Id of the location which you want to edit. | | body | [LocationSerializer](#LocationSerializer) | yes | Request body | -This API allows to create a location associated to a company. +This API allows to edit a location associated to a company. *Returned Response:* @@ -1274,70 +1338,6 @@ Brand object. See example below or refer `GetLocationSerializer` for details ---- - - -### updateLocation -Edit a location asscoiated to a company. - - - - -```kotlin -client.companyprofile.updateLocation(locationId: locationId, body: body).safeAwait{ response,error-> - - response?.let{ - // Use response - } -> - - error?.let{ - - } -} -``` - - - -| Argument | Type | Required | Description | -| --------- | ----- | -------- | ----------- | -| companyId | String | yes | Id of the company inside which the location is to be created. | -| locationId | String | yes | Id of the location which you want to edit. | -| body | [LocationSerializer](#LocationSerializer) | yes | Request body | - - -This API allows to edit a location associated to a company. - -*Returned Response:* - - - - -[SuccessResponse](#SuccessResponse) - -Returns a success response - - - - -
-  Example: - -```json -{ - "uid": 1, - "success": true -} -``` -
- - - - - - - - - --- @@ -1409,82 +1409,82 @@ Returns a success response - #### [SellerPhoneNumber](#SellerPhoneNumber) + #### [Website](#Website) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | number | String | no | | - | countryCode | Int | no | | + | url | String? | yes | | --- - #### [ContactDetails](#ContactDetails) + #### [BusinessDetails](#BusinessDetails) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | phone | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | - | emails | ArrayList? | yes | | + | website | [Website](#Website)? | yes | | --- - #### [CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer) + #### [Document](#Document) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | pincode | Int | no | | - | city | String | no | | - | latitude | Double | no | | - | address1 | String | no | | - | state | String | no | | - | address2 | String? | yes | | - | countryCode | String? | yes | | - | country | String | no | | - | longitude | Double | no | | - | addressType | String | no | | - | landmark | String? | yes | | + | value | String | no | | + | type | String | no | | + | legalName | String? | yes | | + | url | String? | yes | | + | verified | Boolean? | yes | | --- - #### [Website](#Website) + #### [CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | url | String? | yes | | + | state | String | no | | + | country | String | no | | + | latitude | Double | no | | + | addressType | String | no | | + | countryCode | String? | yes | | + | address2 | String? | yes | | + | longitude | Double | no | | + | pincode | Int | no | | + | landmark | String? | yes | | + | address1 | String | no | | + | city | String | no | | --- - #### [BusinessDetails](#BusinessDetails) + #### [SellerPhoneNumber](#SellerPhoneNumber) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | website | [Website](#Website)? | yes | | + | number | String | no | | + | countryCode | Int | no | | --- - #### [Document](#Document) + #### [ContactDetails](#ContactDetails) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | verified | Boolean? | yes | | - | value | String | no | | - | legalName | String? | yes | | - | type | String | no | | - | url | String? | yes | | + | phone | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | + | emails | ArrayList? | yes | | --- @@ -1495,18 +1495,18 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | businessDetails | [BusinessDetails](#BusinessDetails)? | yes | | + | rejectReason | String? | yes | | + | documents | ArrayList<[Document](#Document)>? | yes | | + | addresses | ArrayList<[CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer)>? | yes | | + | businessInfo | String? | yes | | + | companyType | String? | yes | | | warnings | HashMap? | yes | | - | notificationEmails | ArrayList? | yes | | | name | String? | yes | | + | franchiseEnabled | Boolean? | yes | | | contactDetails | [ContactDetails](#ContactDetails)? | yes | | | businessType | String? | yes | | - | franchiseEnabled | Boolean? | yes | | - | rejectReason | String? | yes | | - | businessInfo | String? | yes | | - | addresses | ArrayList<[CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer)>? | yes | | - | companyType | String? | yes | | - | businessDetails | [BusinessDetails](#BusinessDetails)? | yes | | - | documents | ArrayList<[Document](#Document)>? | yes | | + | notificationEmails | ArrayList? | yes | | --- @@ -1529,10 +1529,10 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | status | Int? | yes | | - | message | String? | yes | | | meta | HashMap? | yes | | | code | String? | yes | | + | message | String? | yes | | + | status | Int? | yes | | --- @@ -1543,9 +1543,9 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | username | String? | yes | | - | userId | String? | yes | | | contact | String? | yes | | + | userId | String? | yes | | + | username | String? | yes | | --- @@ -1556,8 +1556,8 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | country | String? | yes | | | countryCode | String? | yes | | + | country | String? | yes | | --- @@ -1568,17 +1568,17 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | pincode | Int? | yes | | - | city | String? | yes | | - | latitude | Double? | yes | | - | address2 | String? | yes | | - | address1 | String? | yes | | | state | String? | yes | | - | countryCode | String? | yes | | | country | String? | yes | | - | longitude | Double? | yes | | + | latitude | Double? | yes | | | addressType | String? | yes | | + | countryCode | String? | yes | | + | address2 | String? | yes | | + | longitude | Double? | yes | | + | pincode | Int? | yes | | | landmark | String? | yes | | + | address1 | String? | yes | | + | city | String? | yes | | --- @@ -1589,27 +1589,27 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | + | modifiedBy | [UserSerializer](#UserSerializer)? | yes | | | verifiedOn | String? | yes | | - | contactDetails | [ContactDetails](#ContactDetails)? | yes | | - | businessType | String | no | | - | franchiseEnabled | Boolean? | yes | | - | businessDetails | [BusinessDetails](#BusinessDetails)? | yes | | - | verifiedBy | [UserSerializer](#UserSerializer)? | yes | | + | companyType | String | no | | + | businessCountryInfo | [BusinessCountryInfo](#BusinessCountryInfo)? | yes | | | name | String? | yes | | - | createdBy | [UserSerializer](#UserSerializer)? | yes | | + | verifiedBy | [UserSerializer](#UserSerializer)? | yes | | + | mode | String? | yes | | + | franchiseEnabled | Boolean? | yes | | + | modifiedOn | String? | yes | | + | uid | Int | no | | + | documents | ArrayList<[Document](#Document)>? | yes | | | businessInfo | String? | yes | | - | businessCountryInfo | [BusinessCountryInfo](#BusinessCountryInfo)? | yes | | | addresses | ArrayList<[GetAddressSerializer](#GetAddressSerializer)>? | yes | | | warnings | HashMap? | yes | | - | uid | Int | no | | - | documents | ArrayList<[Document](#Document)>? | yes | | - | createdOn | String? | yes | | - | modifiedOn | String? | yes | | - | notificationEmails | ArrayList? | yes | | - | modifiedBy | [UserSerializer](#UserSerializer)? | yes | | | stage | String? | yes | | - | companyType | String | no | | - | mode | String? | yes | | + | contactDetails | [ContactDetails](#ContactDetails)? | yes | | + | notificationEmails | ArrayList? | yes | | + | businessDetails | [BusinessDetails](#BusinessDetails)? | yes | | + | createdBy | [UserSerializer](#UserSerializer)? | yes | | + | createdOn | String? | yes | | + | businessType | String | no | | --- @@ -1632,38 +1632,58 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | storeDocuments | [DocumentsObj](#DocumentsObj)? | yes | | - | store | [DocumentsObj](#DocumentsObj)? | yes | | - | brand | [DocumentsObj](#DocumentsObj)? | yes | | | product | [DocumentsObj](#DocumentsObj)? | yes | | + | store | [DocumentsObj](#DocumentsObj)? | yes | | + | companyDocuments | [DocumentsObj](#DocumentsObj)? | yes | | + | storeDocuments | [DocumentsObj](#DocumentsObj)? | yes | | | stage | String? | yes | | | uid | Int? | yes | | - | companyDocuments | [DocumentsObj](#DocumentsObj)? | yes | | + | brand | [DocumentsObj](#DocumentsObj)? | yes | | --- - #### [UserSerializer1](#UserSerializer1) + #### [BrandBannerSerializer](#BrandBannerSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | username | String? | yes | | - | userId | String? | yes | | - | contact | String? | yes | | + | landscape | String? | yes | | + | portrait | String? | yes | | --- - #### [BrandBannerSerializer](#BrandBannerSerializer) + #### [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | landscape | String? | yes | | - | portrait | String? | yes | | + | banner | [BrandBannerSerializer](#BrandBannerSerializer)? | yes | | + | description | String? | yes | | + | logo | String | no | | + | brandTier | String? | yes | | + | localeLanguage | HashMap? | yes | | + | companyId | Int? | yes | | + | name | String | no | | + | uid | Int? | yes | | + | synonyms | ArrayList? | yes | | + | customJson | HashMap? | yes | | + +--- + + + + + #### [UserSerializer1](#UserSerializer1) + + | Properties | Type | Nullable | Description | + | ---------- | ---- | -------- | ----------- | + | contact | String? | yes | | + | userId | String? | yes | | + | username | String? | yes | | --- @@ -1674,44 +1694,37 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | warnings | HashMap? | yes | | - | verifiedOn | String? | yes | | - | name | String | no | | - | customJson | HashMap? | yes | | - | localeLanguage | HashMap? | yes | | | modifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | - | logo | String? | yes | | - | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | - | rejectReason | String? | yes | | | banner | [BrandBannerSerializer](#BrandBannerSerializer)? | yes | | - | synonyms | ArrayList? | yes | | + | rejectReason | String? | yes | | + | verifiedOn | String? | yes | | + | description | String? | yes | | + | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | logo | String? | yes | | + | warnings | HashMap? | yes | | + | localeLanguage | HashMap? | yes | | | stage | String? | yes | | + | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | | createdOn | String? | yes | | - | slugKey | String? | yes | | - | description | String? | yes | | + | name | String | no | | | modifiedOn | String? | yes | | | uid | Int? | yes | | - | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | synonyms | ArrayList? | yes | | + | customJson | HashMap? | yes | | + | slugKey | String? | yes | | --- - #### [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) + #### [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | companyId | Int? | yes | | - | customJson | HashMap? | yes | | - | name | String | no | | - | localeLanguage | HashMap? | yes | | - | banner | [BrandBannerSerializer](#BrandBannerSerializer)? | yes | | - | synonyms | ArrayList? | yes | | - | brandTier | String? | yes | | - | logo | String | no | | - | description | String? | yes | | | uid | Int? | yes | | + | brands | ArrayList | no | | + | company | Int | no | | --- @@ -1723,12 +1736,12 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | | nextId | String? | yes | | + | type | String | no | | | hasNext | Boolean? | yes | | | current | Int? | yes | | - | itemTotal | Int? | yes | | - | size | Int? | yes | | | hasPrevious | Boolean? | yes | | - | type | String | no | | + | size | Int? | yes | | + | itemTotal | Int? | yes | | --- @@ -1739,19 +1752,19 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | verifiedOn | String? | yes | | - | name | String? | yes | | - | businessType | String? | yes | | | modifiedBy | [UserSerializer](#UserSerializer)? | yes | | - | createdBy | [UserSerializer](#UserSerializer)? | yes | | | rejectReason | String? | yes | | + | verifiedOn | String? | yes | | + | verifiedBy | [UserSerializer](#UserSerializer)? | yes | | | addresses | ArrayList<[GetAddressSerializer](#GetAddressSerializer)>? | yes | | + | companyType | String? | yes | | | stage | String? | yes | | + | createdBy | [UserSerializer](#UserSerializer)? | yes | | | createdOn | String? | yes | | - | companyType | String? | yes | | + | name | String? | yes | | | modifiedOn | String? | yes | | | uid | Int? | yes | | - | verifiedBy | [UserSerializer](#UserSerializer)? | yes | | + | businessType | String? | yes | | --- @@ -1762,18 +1775,18 @@ Returns a success response | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | verifiedOn | String? | yes | | | modifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | - | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | + | company | [GetCompanySerializer](#GetCompanySerializer)? | yes | | | rejectReason | String? | yes | | - | brand | [GetBrandResponseSerializer](#GetBrandResponseSerializer)? | yes | | + | verifiedOn | String? | yes | | + | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | warnings | HashMap? | yes | | | stage | String? | yes | | + | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | | createdOn | String? | yes | | - | warnings | HashMap? | yes | | | modifiedOn | String? | yes | | - | company | [GetCompanySerializer](#GetCompanySerializer)? | yes | | | uid | Int? | yes | | - | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | brand | [GetBrandResponseSerializer](#GetBrandResponseSerializer)? | yes | | --- @@ -1792,196 +1805,183 @@ Returns a success response - #### [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer) - - | Properties | Type | Nullable | Description | - | ---------- | ---- | -------- | ----------- | - | brands | ArrayList | no | | - | company | Int | no | | - | uid | Int? | yes | | - ---- - - - - - #### [LocationTimingSerializer](#LocationTimingSerializer) + #### [InvoiceCredSerializer](#InvoiceCredSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | hour | Int? | yes | | - | minute | Int? | yes | | + | enabled | Boolean? | yes | | + | password | String? | yes | | + | username | String? | yes | | --- - #### [LocationDayWiseSerializer](#LocationDayWiseSerializer) + #### [InvoiceDetailsSerializer](#InvoiceDetailsSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | weekday | String | no | | - | open | Boolean | no | | - | opening | [LocationTimingSerializer](#LocationTimingSerializer)? | yes | | - | closing | [LocationTimingSerializer](#LocationTimingSerializer)? | yes | | + | eWaybill | [InvoiceCredSerializer](#InvoiceCredSerializer)? | yes | | + | eInvoice | [InvoiceCredSerializer](#InvoiceCredSerializer)? | yes | | --- - #### [LocationIntegrationType](#LocationIntegrationType) + #### [ProductReturnConfigSerializer](#ProductReturnConfigSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | order | String? | yes | | - | inventory | String? | yes | | + | onSameStore | Boolean? | yes | | + | storeUid | Int? | yes | | --- - #### [InvoiceCredSerializer](#InvoiceCredSerializer) + #### [LocationManagerSerializer](#LocationManagerSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | password | String? | yes | | - | enabled | Boolean? | yes | | - | username | String? | yes | | + | mobileNo | [SellerPhoneNumber](#SellerPhoneNumber) | no | | + | email | String? | yes | | + | name | String? | yes | | --- - #### [InvoiceDetailsSerializer](#InvoiceDetailsSerializer) + #### [GetAddressSerializer1](#GetAddressSerializer1) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | eInvoice | [InvoiceCredSerializer](#InvoiceCredSerializer)? | yes | | - | eWaybill | [InvoiceCredSerializer](#InvoiceCredSerializer)? | yes | | + | state | String? | yes | | + | country | String? | yes | | + | latitude | Double? | yes | | + | addressType | String? | yes | | + | countryCode | String? | yes | | + | address2 | String? | yes | | + | longitude | Double? | yes | | + | pincode | Int? | yes | | + | landmark | String? | yes | | + | address1 | String? | yes | | + | city | String? | yes | | --- - #### [LocationManagerSerializer](#LocationManagerSerializer) + #### [LocationTimingSerializer](#LocationTimingSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | email | String? | yes | | - | mobileNo | [SellerPhoneNumber](#SellerPhoneNumber) | no | | - | name | String? | yes | | + | hour | Int? | yes | | + | minute | Int? | yes | | --- - #### [ProductReturnConfigSerializer](#ProductReturnConfigSerializer) + #### [LocationDayWiseSerializer](#LocationDayWiseSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | onSameStore | Boolean? | yes | | - | storeUid | Int? | yes | | + | open | Boolean | no | | + | opening | [LocationTimingSerializer](#LocationTimingSerializer)? | yes | | + | closing | [LocationTimingSerializer](#LocationTimingSerializer)? | yes | | + | weekday | String | no | | --- - #### [GetLocationSerializer](#GetLocationSerializer) + #### [LocationSerializer](#LocationSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | verifiedOn | String? | yes | | - | timing | ArrayList<[LocationDayWiseSerializer](#LocationDayWiseSerializer)>? | yes | | - | phoneNumber | String | no | | - | company | [GetCompanySerializer](#GetCompanySerializer)? | yes | | - | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | - | customJson | HashMap? | yes | | - | name | String | no | | - | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | | code | String | no | | - | integrationType | [LocationIntegrationType](#LocationIntegrationType)? | yes | | - | warnings | HashMap? | yes | | - | uid | Int? | yes | | + | company | Int | no | | | documents | ArrayList<[Document](#Document)>? | yes | | - | createdOn | String? | yes | | - | modifiedOn | String? | yes | | | gstCredentials | [InvoiceDetailsSerializer](#InvoiceDetailsSerializer)? | yes | | - | address | [GetAddressSerializer](#GetAddressSerializer) | no | | - | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | - | notificationEmails | ArrayList? | yes | | - | modifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | - | manager | [LocationManagerSerializer](#LocationManagerSerializer)? | yes | | - | productReturnConfig | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer)? | yes | | | displayName | String | no | | - | stage | String? | yes | | + | customJson | HashMap? | yes | | + | warnings | HashMap? | yes | | | storeType | String? | yes | | + | stage | String? | yes | | + | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | + | productReturnConfig | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer)? | yes | | + | name | String | no | | + | uid | Int? | yes | | + | manager | [LocationManagerSerializer](#LocationManagerSerializer)? | yes | | + | address | [GetAddressSerializer1](#GetAddressSerializer1) | no | | + | notificationEmails | ArrayList? | yes | | + | timing | ArrayList<[LocationDayWiseSerializer](#LocationDayWiseSerializer)>? | yes | | --- - #### [LocationListSerializer](#LocationListSerializer) + #### [LocationIntegrationType](#LocationIntegrationType) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | page | [Page](#Page)? | yes | | - | items | ArrayList<[GetLocationSerializer](#GetLocationSerializer)>? | yes | | + | order | String? | yes | | + | inventory | String? | yes | | --- - #### [GetAddressSerializer1](#GetAddressSerializer1) + #### [GetLocationSerializer](#GetLocationSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | pincode | Int? | yes | | - | city | String? | yes | | - | latitude | Double? | yes | | - | address2 | String? | yes | | - | address1 | String? | yes | | - | state | String? | yes | | - | countryCode | String? | yes | | - | country | String? | yes | | - | longitude | Double? | yes | | - | addressType | String? | yes | | - | landmark | String? | yes | | + | modifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | verifiedOn | String? | yes | | + | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | + | name | String | no | | + | address | [GetAddressSerializer](#GetAddressSerializer) | no | | + | customJson | HashMap? | yes | | + | verifiedBy | [UserSerializer1](#UserSerializer1)? | yes | | + | displayName | String | no | | + | storeType | String? | yes | | + | modifiedOn | String? | yes | | + | uid | Int? | yes | | + | manager | [LocationManagerSerializer](#LocationManagerSerializer)? | yes | | + | company | [GetCompanySerializer](#GetCompanySerializer)? | yes | | + | documents | ArrayList<[Document](#Document)>? | yes | | + | integrationType | [LocationIntegrationType](#LocationIntegrationType)? | yes | | + | warnings | HashMap? | yes | | + | stage | String? | yes | | + | notificationEmails | ArrayList? | yes | | + | timing | ArrayList<[LocationDayWiseSerializer](#LocationDayWiseSerializer)>? | yes | | + | code | String | no | | + | phoneNumber | String | no | | + | productReturnConfig | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer)? | yes | | + | createdBy | [UserSerializer1](#UserSerializer1)? | yes | | + | createdOn | String? | yes | | + | gstCredentials | [InvoiceDetailsSerializer](#InvoiceDetailsSerializer)? | yes | | --- - #### [LocationSerializer](#LocationSerializer) + #### [LocationListSerializer](#LocationListSerializer) | Properties | Type | Nullable | Description | | ---------- | ---- | -------- | ----------- | - | warnings | HashMap? | yes | | - | address | [GetAddressSerializer1](#GetAddressSerializer1) | no | | - | contactNumbers | ArrayList<[SellerPhoneNumber](#SellerPhoneNumber)>? | yes | | - | gstCredentials | [InvoiceDetailsSerializer](#InvoiceDetailsSerializer)? | yes | | - | notificationEmails | ArrayList? | yes | | - | customJson | HashMap? | yes | | - | name | String | no | | - | timing | ArrayList<[LocationDayWiseSerializer](#LocationDayWiseSerializer)>? | yes | | - | code | String | no | | - | manager | [LocationManagerSerializer](#LocationManagerSerializer)? | yes | | - | productReturnConfig | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer)? | yes | | - | displayName | String | no | | - | stage | String? | yes | | - | storeType | String? | yes | | - | company | Int | no | | - | uid | Int? | yes | | - | documents | ArrayList<[Document](#Document)>? | yes | | + | page | [Page](#Page)? | yes | | + | items | ArrayList<[GetLocationSerializer](#GetLocationSerializer)>? | yes | | --- diff --git a/documentation/platform/README.md b/documentation/platform/README.md index 852996d0a..e02e455dc 100644 --- a/documentation/platform/README.md +++ b/documentation/platform/README.md @@ -1,6 +1,6 @@ ##### [Back to home](../../README.md) -# FDK Platform Front API Documentaion +# FDK Platform Front API Documentation * [Common](COMMON.md) - Application configuration apis diff --git a/src/main/java/com/sdk/application/ApplicationApiList.kt b/src/main/java/com/sdk/application/ApplicationApiList.kt index c16b6a99d..43e8dede6 100644 --- a/src/main/java/com/sdk/application/ApplicationApiList.kt +++ b/src/main/java/com/sdk/application/ApplicationApiList.kt @@ -123,13 +123,13 @@ interface CatalogApiList { : Deferred> - @POST ("/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/") - fun followById(@Path("collection_type") collectionType: String, @Path("collection_id") collectionId: String) + @DELETE ("/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/") + fun unfollowById(@Path("collection_type") collectionType: String, @Path("collection_id") collectionId: String) : Deferred> - @DELETE ("/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/") - fun unfollowById(@Path("collection_type") collectionType: String, @Path("collection_id") collectionId: String) + @POST ("/service/application/catalog/v1.0/follow/{collection_type}/{collection_id}/") + fun followById(@Path("collection_type") collectionType: String, @Path("collection_id") collectionId: String) : Deferred> diff --git a/src/main/java/com/sdk/application/ApplicationConfig.kt b/src/main/java/com/sdk/application/ApplicationConfig.kt index 13370db30..a613c1e8e 100644 --- a/src/main/java/com/sdk/application/ApplicationConfig.kt +++ b/src/main/java/com/sdk/application/ApplicationConfig.kt @@ -9,7 +9,8 @@ class ApplicationConfig( var userAgent: String, val persistentCookieStore: CookieStore?=null, var languageCode: String = "en-IN", - var currencyCode: String = "INR" + var currencyCode: String = "INR", + var debuggable: Boolean = false ) { init { val regex = "^[0-9a-fA-F]{24}$" diff --git a/src/main/java/com/sdk/application/ApplicationDataManagerClass.kt b/src/main/java/com/sdk/application/ApplicationDataManagerClass.kt index f4c9cfad4..1421cc016 100644 --- a/src/main/java/com/sdk/application/ApplicationDataManagerClass.kt +++ b/src/main/java/com/sdk/application/ApplicationDataManagerClass.kt @@ -23,7 +23,7 @@ class CatalogDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -593,13 +593,13 @@ class CatalogDataManagerClass(val config: ApplicationConfig) : BaseRepository() return paginator } - fun followById(collectionType: String, collectionId: String): Deferred>? { - return catalogApiList?.followById(collectionType = collectionType, collectionId = collectionId)} + fun unfollowById(collectionType: String, collectionId: String): Deferred>? { + return catalogApiList?.unfollowById(collectionType = collectionType, collectionId = collectionId)} - fun unfollowById(collectionType: String, collectionId: String): Deferred>? { - return catalogApiList?.unfollowById(collectionType = collectionType, collectionId = collectionId)} + fun followById(collectionType: String, collectionId: String): Deferred>? { + return catalogApiList?.followById(collectionType = collectionType, collectionId = collectionId)} @@ -781,7 +781,7 @@ class CartDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -928,7 +928,7 @@ class CommonDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -960,7 +960,7 @@ class LeadDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1022,7 +1022,7 @@ class ThemeDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1069,7 +1069,7 @@ class UserDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1256,7 +1256,7 @@ class ContentDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1545,7 +1545,7 @@ class CommunicationDataManagerClass(val config: ApplicationConfig) : BaseReposit interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1587,7 +1587,7 @@ class ShareDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1649,7 +1649,7 @@ class FileStorageDataManagerClass(val config: ApplicationConfig) : BaseRepositor interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1686,7 +1686,7 @@ class ConfigurationDataManagerClass(val config: ApplicationConfig) : BaseReposit interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1836,7 +1836,7 @@ class PaymentDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1973,7 +1973,7 @@ class OrderDataManagerClass(val config: ApplicationConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2050,7 +2050,7 @@ class RewardsDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2157,7 +2157,7 @@ class FeedbackDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2830,7 +2830,7 @@ class PosCartDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2992,7 +2992,7 @@ class LogisticDataManagerClass(val config: ApplicationConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, diff --git a/src/main/java/com/sdk/application/ApplicationModels.kt b/src/main/java/com/sdk/application/ApplicationModels.kt index 4d90be62f..b18312c2c 100644 --- a/src/main/java/com/sdk/application/ApplicationModels.kt +++ b/src/main/java/com/sdk/application/ApplicationModels.kt @@ -8,24 +8,15 @@ import com.google.gson.annotations.SerializedName /* - Model: Price + Model: Meta */ @Parcelize -data class Price( - - - - @SerializedName("min") - var min: Double?=null, +data class Meta( - @SerializedName("max") - var max: Double?=null, - @SerializedName("currency_code") - var currencyCode: String?=null, - @SerializedName("currency_symbol") - var currencySymbol: String?=null + @SerializedName("source") + var source: String?=null ): Parcelable { @@ -33,28 +24,25 @@ data class Price( - - - - - - } /* - Model: ProductListingPrice + Model: Media */ @Parcelize -data class ProductListingPrice( +data class Media( - @SerializedName("marked") - var marked: Price?=null, + @SerializedName("url") + var url: String?=null, - @SerializedName("effective") - var effective: Price?=null + @SerializedName("meta") + var meta: Meta?=null, + + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -64,25 +52,27 @@ data class ProductListingPrice( + + } /* - Model: ProductDetailAttribute + Model: ProductListingActionPage */ @Parcelize -data class ProductDetailAttribute( +data class ProductListingActionPage( - @SerializedName("value") - var value: String?=null, + @SerializedName("params") + var params: @RawValue HashMap?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("query") + var query: @RawValue HashMap?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -98,18 +88,18 @@ data class ProductDetailAttribute( /* - Model: ProductDetailGroupedAttribute + Model: ProductListingAction */ @Parcelize -data class ProductDetailGroupedAttribute( +data class ProductListingAction( - @SerializedName("details") - var details: ArrayList?=null, + @SerializedName("page") + var page: ProductListingActionPage?=null, - @SerializedName("title") - var title: String?=null + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -123,21 +113,24 @@ data class ProductDetailGroupedAttribute( /* - Model: ProductListingActionPage + Model: ProductBrand */ @Parcelize -data class ProductListingActionPage( +data class ProductBrand( - @SerializedName("type") - var type: String?=null, + @SerializedName("logo") + var logo: Media?=null, - @SerializedName("query") - var query: @RawValue HashMap?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("params") - var params: @RawValue HashMap?=null + @SerializedName("action") + var action: ProductListingAction?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -149,22 +142,27 @@ data class ProductListingActionPage( + + } /* - Model: ProductListingAction + Model: ProductDetailAttribute */ @Parcelize -data class ProductListingAction( +data class ProductDetailAttribute( - @SerializedName("type") - var type: String?=null, + @SerializedName("key") + var key: String?=null, - @SerializedName("page") - var page: ProductListingActionPage?=null + @SerializedName("value") + var value: String?=null, + + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -174,19 +172,24 @@ data class ProductListingAction( + + } /* - Model: Meta + Model: ProductDetailGroupedAttribute */ @Parcelize -data class Meta( +data class ProductDetailGroupedAttribute( - @SerializedName("source") - var source: String?=null + @SerializedName("details") + var details: ArrayList?=null, + + @SerializedName("title") + var title: String?=null ): Parcelable { @@ -194,25 +197,30 @@ data class Meta( + + } /* - Model: Media + Model: Price */ @Parcelize -data class Media( +data class Price( - @SerializedName("type") - var type: String?=null, + @SerializedName("max") + var max: Double?=null, - @SerializedName("url") - var url: String?=null, + @SerializedName("min") + var min: Double?=null, - @SerializedName("meta") - var meta: Meta?=null + @SerializedName("currency_symbol") + var currencySymbol: String?=null, + + @SerializedName("currency_code") + var currencyCode: String?=null ): Parcelable { @@ -224,28 +232,24 @@ data class Media( + + } /* - Model: ProductBrand + Model: ProductListingPrice */ @Parcelize -data class ProductBrand( - - +data class ProductListingPrice( - @SerializedName("name") - var name: String?=null, - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("logo") - var logo: Media?=null, + @SerializedName("marked") + var marked: Price?=null, - @SerializedName("action") - var action: ProductListingAction?=null + @SerializedName("effective") + var effective: Price?=null ): Parcelable { @@ -255,10 +259,6 @@ data class ProductBrand( - - - - } @@ -270,85 +270,94 @@ data class ProductDetail( - @SerializedName("image_nature") - var imageNature: String?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("tryouts") - var tryouts: ArrayList?=null, + @SerializedName("type") + var type: String?=null, + + @SerializedName("name") + var name: String?=null, + + @SerializedName("short_description") + var shortDescription: String?=null, + + @SerializedName("item_type") + var itemType: String?=null, @SerializedName("similars") var similars: ArrayList?=null, - @SerializedName("color") - var color: String?=null, - - @SerializedName("rating") - var rating: Double?=null, + @SerializedName("image_nature") + var imageNature: String?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("product_online_date") + var productOnlineDate: String?=null, - @SerializedName("item_type") - var itemType: String?=null, + @SerializedName("rating_count") + var ratingCount: Int?=null, - @SerializedName("price") - var price: ProductListingPrice?=null, + @SerializedName("categories") + var categories: ArrayList?=null, @SerializedName("grouped_attributes") var groupedAttributes: ArrayList?=null, + @SerializedName("item_code") + var itemCode: String?=null, + + @SerializedName("medias") + var medias: ArrayList?=null, + + @SerializedName("has_variant") + var hasVariant: Boolean?=null, + @SerializedName("highlights") var highlights: ArrayList?=null, - @SerializedName("action") - var action: ProductListingAction?=null, - @SerializedName("slug") var slug: String?=null, - @SerializedName("item_code") - var itemCode: String?=null, + @SerializedName("color") + var color: String?=null, + + @SerializedName("description") + var description: String?=null, + + @SerializedName("attributes") + var attributes: @RawValue HashMap?=null, + + @SerializedName("brand") + var brand: ProductBrand?=null, @SerializedName("discount") var discount: String?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("teaser_tag") + var teaserTag: String?=null, - @SerializedName("short_description") - var shortDescription: String?=null, + @SerializedName("action") + var action: ProductListingAction?=null, - @SerializedName("medias") - var medias: ArrayList?=null, + @SerializedName("tryouts") + var tryouts: ArrayList?=null, - @SerializedName("rating_count") - var ratingCount: Int?=null, + @SerializedName("price") + var price: ProductListingPrice?=null, + + @SerializedName("rating") + var rating: Double?=null + +): Parcelable { - @SerializedName("name") - var name: String?=null, - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("attributes") - var attributes: @RawValue HashMap?=null, - @SerializedName("has_variant") - var hasVariant: Boolean?=null, - @SerializedName("teaser_tag") - var teaserTag: String?=null, - @SerializedName("product_online_date") - var productOnlineDate: String?=null, - @SerializedName("categories") - var categories: ArrayList?=null, - @SerializedName("brand") - var brand: ProductBrand?=null -): Parcelable { @@ -393,32 +402,58 @@ data class ProductDetail( + + +} + + +/* + Model: ErrorResponse +*/ +@Parcelize +data class ErrorResponse( + @SerializedName("error") + var error: String?=null +): Parcelable { +} + + +/* + Model: ProductSize +*/ +@Parcelize +data class ProductSize( + + + + @SerializedName("quantity") + var quantity: Int?=null, + + @SerializedName("display") + var display: String?=null, + + @SerializedName("value") + var value: String?=null, + + @SerializedName("is_available") + var isAvailable: Boolean?=null + +): Parcelable { -} - - -/* - Model: ErrorResponse -*/ -@Parcelize -data class ErrorResponse( - @SerializedName("error") - var error: String?=null -): Parcelable { @@ -455,23 +490,23 @@ data class SizeChartValues( - @SerializedName("col_2") - var col2: String?=null, - @SerializedName("col_5") var col5: String?=null, @SerializedName("col_3") var col3: String?=null, - @SerializedName("col_6") - var col6: String?=null, + @SerializedName("col_4") + var col4: String?=null, + + @SerializedName("col_2") + var col2: String?=null, @SerializedName("col_1") var col1: String?=null, - @SerializedName("col_4") - var col4: String?=null + @SerializedName("col_6") + var col6: String?=null ): Parcelable { @@ -500,11 +535,11 @@ data class ColumnHeader( - @SerializedName("value") - var value: String?=null, - @SerializedName("convertable") - var convertable: Boolean?=null + var convertable: Boolean?=null, + + @SerializedName("value") + var value: String?=null ): Parcelable { @@ -525,23 +560,23 @@ data class ColumnHeaders( - @SerializedName("col_2") - var col2: ColumnHeader?=null, - @SerializedName("col_5") var col5: ColumnHeader?=null, @SerializedName("col_3") var col3: ColumnHeader?=null, - @SerializedName("col_6") - var col6: ColumnHeader?=null, + @SerializedName("col_4") + var col4: ColumnHeader?=null, + + @SerializedName("col_2") + var col2: ColumnHeader?=null, @SerializedName("col_1") var col1: ColumnHeader?=null, - @SerializedName("col_4") - var col4: ColumnHeader?=null + @SerializedName("col_6") + var col6: ColumnHeader?=null ): Parcelable { @@ -570,69 +605,34 @@ data class SizeChart( - @SerializedName("description") - var description: String?=null, - - @SerializedName("size_tip") - var sizeTip: String?=null, - @SerializedName("unit") var unit: String?=null, @SerializedName("image") var image: String?=null, - @SerializedName("sizes") - var sizes: ArrayList?=null, - @SerializedName("title") var title: String?=null, - @SerializedName("headers") - var headers: ColumnHeaders?=null - -): Parcelable { - - - - - - - - - - - - - - + @SerializedName("sizes") + var sizes: ArrayList?=null, + @SerializedName("headers") + var headers: ColumnHeaders?=null, + @SerializedName("size_tip") + var sizeTip: String?=null, -} - - -/* - Model: ProductSize -*/ -@Parcelize -data class ProductSize( + @SerializedName("description") + var description: String?=null +): Parcelable { - @SerializedName("quantity") - var quantity: Int?=null, - @SerializedName("value") - var value: String?=null, - @SerializedName("display") - var display: String?=null, - @SerializedName("is_available") - var isAvailable: Boolean?=null -): Parcelable { @@ -655,23 +655,23 @@ data class ProductSizes( - @SerializedName("stores") - var stores: ProductSizeStores?=null, - @SerializedName("discount") var discount: String?=null, - @SerializedName("sellable") - var sellable: Boolean?=null, - - @SerializedName("size_chart") - var sizeChart: SizeChart?=null, - @SerializedName("sizes") var sizes: ArrayList?=null, @SerializedName("price") - var price: ProductListingPrice?=null + var price: ProductListingPrice?=null, + + @SerializedName("stores") + var stores: ProductSizeStores?=null, + + @SerializedName("size_chart") + var sizeChart: SizeChart?=null, + + @SerializedName("sellable") + var sellable: Boolean?=null ): Parcelable { @@ -693,21 +693,21 @@ data class ProductSizes( /* - Model: ReturnConfig + Model: ProductStockPrice */ @Parcelize -data class ReturnConfig( +data class ProductStockPrice( - @SerializedName("time") - var time: Int?=null, + @SerializedName("currency") + var currency: String?=null, - @SerializedName("returnable") - var returnable: Boolean?=null, + @SerializedName("effective") + var effective: Double?=null, - @SerializedName("unit") - var unit: String?=null + @SerializedName("marked") + var marked: Double?=null ): Parcelable { @@ -730,11 +730,11 @@ data class ArticleAssignment( - @SerializedName("strategy") - var strategy: String?=null, - @SerializedName("level") - var level: String?=null + var level: String?=null, + + @SerializedName("strategy") + var strategy: String?=null ): Parcelable { @@ -748,21 +748,21 @@ data class ArticleAssignment( /* - Model: Store + Model: ReturnConfig */ @Parcelize -data class Store( +data class ReturnConfig( - @SerializedName("count") - var count: Int?=null, + @SerializedName("unit") + var unit: String?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("time") + var time: Int?=null, - @SerializedName("uid") - var uid: Int?=null + @SerializedName("returnable") + var returnable: Boolean?=null ): Parcelable { @@ -778,42 +778,27 @@ data class Store( /* - Model: ProductSetDistributionSize + Model: Details */ @Parcelize -data class ProductSetDistributionSize( - - - - @SerializedName("size") - var size: String?=null, - - @SerializedName("pieces") - var pieces: Int?=null - -): Parcelable { - +data class Details( + @SerializedName("key") + var key: String?=null, + @SerializedName("value") + var value: String?=null, + @SerializedName("type") + var type: String?=null -} - - -/* - Model: ProductSetDistribution -*/ -@Parcelize -data class ProductSetDistribution( +): Parcelable { - @SerializedName("sizes") - var sizes: ArrayList?=null -): Parcelable { @@ -823,18 +808,18 @@ data class ProductSetDistribution( /* - Model: ProductSet + Model: MarketPlaceSttributes */ @Parcelize -data class ProductSet( +data class MarketPlaceSttributes( - @SerializedName("quantity") - var quantity: Int?=null, + @SerializedName("details") + var details: ArrayList
?=null, - @SerializedName("size_distribution") - var sizeDistribution: ProductSetDistribution?=null + @SerializedName("title") + var title: String?=null ): Parcelable { @@ -848,21 +833,21 @@ data class ProductSet( /* - Model: ProductStockPrice + Model: Store */ @Parcelize -data class ProductStockPrice( +data class Store( - @SerializedName("currency") - var currency: String?=null, + @SerializedName("name") + var name: String?=null, - @SerializedName("marked") - var marked: Double?=null, + @SerializedName("count") + var count: Int?=null, - @SerializedName("effective") - var effective: Double?=null + @SerializedName("uid") + var uid: Int?=null ): Parcelable { @@ -885,12 +870,12 @@ data class Seller( - @SerializedName("count") - var count: Int?=null, - @SerializedName("name") var name: String?=null, + @SerializedName("count") + var count: Int?=null, + @SerializedName("uid") var uid: Int?=null @@ -908,32 +893,42 @@ data class Seller( /* - Model: StrategyWiseListing + Model: ProductSetDistributionSize */ @Parcelize -data class StrategyWiseListing( +data class ProductSetDistributionSize( - @SerializedName("quantity") - var quantity: Int?=null, + @SerializedName("pieces") + var pieces: Int?=null, + + @SerializedName("size") + var size: String?=null + +): Parcelable { - @SerializedName("pincode") - var pincode: Int?=null, - @SerializedName("tat") - var tat: Int?=null, - @SerializedName("distance") - var distance: Int?=null -): Parcelable { +} + + +/* + Model: ProductSetDistribution +*/ +@Parcelize +data class ProductSetDistribution( + + @SerializedName("sizes") + var sizes: ArrayList?=null +): Parcelable { @@ -943,25 +938,20 @@ data class StrategyWiseListing( /* - Model: Details + Model: ProductSet */ @Parcelize -data class Details( - - - - @SerializedName("value") - var value: String?=null, +data class ProductSet( - @SerializedName("type") - var type: String?=null, - @SerializedName("key") - var key: String?=null -): Parcelable { + @SerializedName("size_distribution") + var sizeDistribution: ProductSetDistribution?=null, + @SerializedName("quantity") + var quantity: Int?=null +): Parcelable { @@ -973,18 +963,24 @@ data class Details( /* - Model: MarketPlaceSttributes + Model: StrategyWiseListing */ @Parcelize -data class MarketPlaceSttributes( +data class StrategyWiseListing( - @SerializedName("details") - var details: ArrayList
?=null, + @SerializedName("tat") + var tat: Int?=null, - @SerializedName("title") - var title: String?=null + @SerializedName("quantity") + var quantity: Int?=null, + + @SerializedName("distance") + var distance: Int?=null, + + @SerializedName("pincode") + var pincode: Int?=null ): Parcelable { @@ -994,6 +990,10 @@ data class MarketPlaceSttributes( + + + + } @@ -1005,56 +1005,56 @@ data class ProductSizePriceResponse( - @SerializedName("article_id") - var articleId: String?=null, - - @SerializedName("seller_count") - var sellerCount: Int?=null, + @SerializedName("price_per_piece") + var pricePerPiece: ProductStockPrice?=null, - @SerializedName("discount") - var discount: String?=null, + @SerializedName("article_assignment") + var articleAssignment: ArticleAssignment?=null, @SerializedName("return_config") var returnConfig: ReturnConfig?=null, + @SerializedName("marketplace_attributes") + var marketplaceAttributes: ArrayList?=null, + + @SerializedName("discount") + var discount: String?=null, + @SerializedName("quantity") var quantity: Int?=null, - @SerializedName("special_badge") - var specialBadge: String?=null, - - @SerializedName("item_type") - var itemType: String?=null, + @SerializedName("article_id") + var articleId: String?=null, - @SerializedName("article_assignment") - var articleAssignment: ArticleAssignment?=null, + @SerializedName("seller_count") + var sellerCount: Int?=null, @SerializedName("store") var store: Store?=null, - @SerializedName("pincode") - var pincode: Int?=null, + @SerializedName("seller") + var seller: Seller?=null, @SerializedName("set") var set: ProductSet?=null, - @SerializedName("price_per_piece") - var pricePerPiece: ProductStockPrice?=null, - - @SerializedName("seller") - var seller: Seller?=null, + @SerializedName("strategy_wise_listing") + var strategyWiseListing: ArrayList?=null, @SerializedName("price") var price: ProductStockPrice?=null, - @SerializedName("strategy_wise_listing") - var strategyWiseListing: ArrayList?=null, + @SerializedName("pincode") + var pincode: Int?=null, @SerializedName("long_lat") var longLat: ArrayList?=null, - @SerializedName("marketplace_attributes") - var marketplaceAttributes: ArrayList?=null + @SerializedName("item_type") + var itemType: String?=null, + + @SerializedName("special_badge") + var specialBadge: String?=null ): Parcelable { @@ -1105,14 +1105,14 @@ data class ProductSizeSellerFilter( - @SerializedName("name") - var name: String?=null, + @SerializedName("value") + var value: String?=null, @SerializedName("is_selected") var isSelected: Boolean?=null, - @SerializedName("value") - var value: String?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -1135,12 +1135,12 @@ data class ProductSizeSellersResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") var items: ArrayList?=null, + @SerializedName("page") + var page: Page?=null, + @SerializedName("sort_on") var sortOn: ArrayList?=null @@ -1165,17 +1165,17 @@ data class AttributeDetail( - @SerializedName("description") - var description: String?=null, - @SerializedName("display") var display: String?=null, + @SerializedName("key") + var key: String?=null, + @SerializedName("logo") var logo: String?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("description") + var description: String?=null ): Parcelable { @@ -1225,11 +1225,11 @@ data class ProductsComparisonResponse( - @SerializedName("items") - var items: ArrayList?=null, - @SerializedName("attributes_metadata") - var attributesMetadata: ArrayList?=null + var attributesMetadata: ArrayList?=null, + + @SerializedName("items") + var items: ArrayList?=null ): Parcelable { @@ -1355,32 +1355,32 @@ data class ProductVariantItemResponse( + @SerializedName("medias") + var medias: ArrayList?=null, + + @SerializedName("color_name") + var colorName: String?=null, + @SerializedName("is_available") var isAvailable: Boolean?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("action") + var action: ProductListingAction?=null, @SerializedName("uid") var uid: Int?=null, - @SerializedName("color_name") - var colorName: String?=null, + @SerializedName("name") + var name: String?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("color") var color: String?=null, @SerializedName("value") - var value: String?=null, - - @SerializedName("medias") - var medias: ArrayList?=null, - - @SerializedName("action") - var action: ProductListingAction?=null, - - @SerializedName("name") - var name: String?=null + var value: String?=null ): Parcelable { @@ -1415,17 +1415,17 @@ data class ProductVariantResponse( - @SerializedName("header") - var header: String?=null, - - @SerializedName("display_type") - var displayType: String?=null, - @SerializedName("items") var items: ArrayList?=null, @SerializedName("key") - var key: String?=null + var key: String?=null, + + @SerializedName("display_type") + var displayType: String?=null, + + @SerializedName("header") + var header: String?=null ): Parcelable { @@ -1470,11 +1470,11 @@ data class CompanyDetail( - @SerializedName("name") - var name: String?=null, - @SerializedName("id") - var id: Int?=null + var id: Int?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -1495,9 +1495,6 @@ data class StoreDetail( - @SerializedName("name") - var name: String?=null, - @SerializedName("code") var code: String?=null, @@ -1505,7 +1502,10 @@ data class StoreDetail( var city: String?=null, @SerializedName("id") - var id: Int?=null + var id: Int?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -1530,32 +1530,32 @@ data class ProductStockStatusItem( - @SerializedName("uid") - var uid: String?=null, + @SerializedName("company") + var company: CompanyDetail?=null, @SerializedName("quantity") var quantity: Int?=null, - @SerializedName("company") - var company: CompanyDetail?=null, - @SerializedName("store") var store: StoreDetail?=null, - @SerializedName("item_id") - var itemId: Int?=null, + @SerializedName("uid") + var uid: String?=null, @SerializedName("seller") var seller: Seller?=null, + @SerializedName("item_id") + var itemId: Int?=null, + + @SerializedName("price") + var price: ProductStockPrice?=null, + @SerializedName("identifier") var identifier: @RawValue HashMap?=null, @SerializedName("size") - var size: String?=null, - - @SerializedName("price") - var price: ProductStockPrice?=null + var size: String?=null ): Parcelable { @@ -1610,11 +1610,11 @@ data class ProductStockPolling( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -1635,86 +1635,86 @@ data class ProductListingDetail( - @SerializedName("image_nature") - var imageNature: String?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("tryouts") - var tryouts: ArrayList?=null, + @SerializedName("type") + var type: String?=null, + + @SerializedName("name") + var name: String?=null, + + @SerializedName("short_description") + var shortDescription: String?=null, + + @SerializedName("item_type") + var itemType: String?=null, + + @SerializedName("sellable") + var sellable: Boolean?=null, @SerializedName("similars") var similars: ArrayList?=null, - @SerializedName("color") - var color: String?=null, - - @SerializedName("rating") - var rating: Double?=null, + @SerializedName("image_nature") + var imageNature: String?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("product_online_date") + var productOnlineDate: String?=null, - @SerializedName("item_type") - var itemType: String?=null, + @SerializedName("rating_count") + var ratingCount: Int?=null, - @SerializedName("price") - var price: ProductListingPrice?=null, + @SerializedName("categories") + var categories: ArrayList?=null, @SerializedName("grouped_attributes") var groupedAttributes: ArrayList?=null, + @SerializedName("item_code") + var itemCode: String?=null, + + @SerializedName("medias") + var medias: ArrayList?=null, + + @SerializedName("has_variant") + var hasVariant: Boolean?=null, + @SerializedName("highlights") var highlights: ArrayList?=null, - @SerializedName("action") - var action: ProductListingAction?=null, - @SerializedName("slug") var slug: String?=null, - @SerializedName("item_code") - var itemCode: String?=null, - - @SerializedName("discount") - var discount: String?=null, + @SerializedName("color") + var color: String?=null, @SerializedName("description") var description: String?=null, - @SerializedName("short_description") - var shortDescription: String?=null, - - @SerializedName("medias") - var medias: ArrayList?=null, - - @SerializedName("rating_count") - var ratingCount: Int?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("attributes") var attributes: @RawValue HashMap?=null, - @SerializedName("has_variant") - var hasVariant: Boolean?=null, + @SerializedName("brand") + var brand: ProductBrand?=null, + + @SerializedName("discount") + var discount: String?=null, @SerializedName("teaser_tag") var teaserTag: String?=null, - @SerializedName("sellable") - var sellable: Boolean?=null, + @SerializedName("action") + var action: ProductListingAction?=null, - @SerializedName("product_online_date") - var productOnlineDate: String?=null, + @SerializedName("tryouts") + var tryouts: ArrayList?=null, - @SerializedName("categories") - var categories: ArrayList?=null, + @SerializedName("price") + var price: ProductListingPrice?=null, - @SerializedName("brand") - var brand: ProductBrand?=null + @SerializedName("rating") + var rating: Double?=null ): Parcelable { @@ -1778,48 +1778,21 @@ data class ProductListingDetail( /* - Model: ProductFiltersValue + Model: ProductSortOn */ @Parcelize -data class ProductFiltersValue( - +data class ProductSortOn( - @SerializedName("count") - var count: Int?=null, @SerializedName("is_selected") var isSelected: Boolean?=null, - @SerializedName("min") - var min: Int?=null, - - @SerializedName("selected_max") - var selectedMax: Int?=null, - - @SerializedName("display_format") - var displayFormat: String?=null, - - @SerializedName("currency_code") - var currencyCode: String?=null, - @SerializedName("value") var value: String?=null, - @SerializedName("currency_symbol") - var currencySymbol: String?=null, - - @SerializedName("query_format") - var queryFormat: String?=null, - - @SerializedName("display") - var display: String?=null, - - @SerializedName("max") - var max: Int?=null, - - @SerializedName("selected_min") - var selectedMin: Int?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -1831,13 +1804,30 @@ data class ProductFiltersValue( +} + + +/* + Model: ProductFiltersKey +*/ +@Parcelize +data class ProductFiltersKey( + @SerializedName("logo") + var logo: String?=null, + @SerializedName("kind") + var kind: String?=null, + @SerializedName("display") + var display: String?=null, + @SerializedName("name") + var name: String?=null +): Parcelable { @@ -1853,24 +1843,48 @@ data class ProductFiltersValue( /* - Model: ProductFiltersKey + Model: ProductFiltersValue */ @Parcelize -data class ProductFiltersKey( +data class ProductFiltersValue( - @SerializedName("kind") - var kind: String?=null, + @SerializedName("min") + var min: Int?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("selected_max") + var selectedMax: Int?=null, + + @SerializedName("currency_symbol") + var currencySymbol: String?=null, + + @SerializedName("count") + var count: Int?=null, + + @SerializedName("currency_code") + var currencyCode: String?=null, + + @SerializedName("selected_min") + var selectedMin: Int?=null, + + @SerializedName("query_format") + var queryFormat: String?=null, + + @SerializedName("display_format") + var displayFormat: String?=null, + + @SerializedName("is_selected") + var isSelected: Boolean?=null, + + @SerializedName("max") + var max: Int?=null, @SerializedName("display") var display: String?=null, - @SerializedName("logo") - var logo: String?=null + @SerializedName("value") + var value: String?=null ): Parcelable { @@ -1884,24 +1898,15 @@ data class ProductFiltersKey( -} - - -/* - Model: ProductFilters -*/ -@Parcelize -data class ProductFilters( - @SerializedName("values") - var values: ArrayList?=null, - @SerializedName("key") - var key: ProductFiltersKey?=null -): Parcelable { + + + + @@ -1913,21 +1918,18 @@ data class ProductFilters( /* - Model: ProductSortOn + Model: ProductFilters */ @Parcelize -data class ProductSortOn( - +data class ProductFilters( - @SerializedName("name") - var name: String?=null, - @SerializedName("is_selected") - var isSelected: Boolean?=null, + @SerializedName("key") + var key: ProductFiltersKey?=null, - @SerializedName("value") - var value: String?=null + @SerializedName("values") + var values: ArrayList?=null ): Parcelable { @@ -1937,8 +1939,6 @@ data class ProductSortOn( - - } @@ -1950,17 +1950,17 @@ data class ProductListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") var items: ArrayList?=null, - @SerializedName("filters") - var filters: ArrayList?=null, + @SerializedName("page") + var page: Page?=null, @SerializedName("sort_on") - var sortOn: ArrayList?=null + var sortOn: ArrayList?=null, + + @SerializedName("filters") + var filters: ArrayList?=null ): Parcelable { @@ -1985,11 +1985,11 @@ data class ImageUrls( - @SerializedName("portrait") - var portrait: Media?=null, - @SerializedName("landscape") - var landscape: Media?=null + var landscape: Media?=null, + + @SerializedName("portrait") + var portrait: Media?=null ): Parcelable { @@ -2010,29 +2010,29 @@ data class BrandItem( - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("discount") var discount: String?=null, - @SerializedName("banners") - var banners: ImageUrls?=null, - - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("departments") - var departments: ArrayList?=null, - @SerializedName("action") var action: ProductListingAction?=null, @SerializedName("name") var name: String?=null, + @SerializedName("uid") + var uid: Int?=null, + @SerializedName("logo") - var logo: Media?=null + var logo: Media?=null, + + @SerializedName("departments") + var departments: ArrayList?=null, + + @SerializedName("slug") + var slug: String?=null, + + @SerializedName("banners") + var banners: ImageUrls?=null ): Parcelable { @@ -2065,11 +2065,11 @@ data class BrandListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -2090,9 +2090,6 @@ data class BrandDetailResponse( - @SerializedName("name") - var name: String?=null, - @SerializedName("logo") var logo: Media?=null, @@ -2100,7 +2097,10 @@ data class BrandDetailResponse( var uid: Int?=null, @SerializedName("banners") - var banners: ImageUrls?=null + var banners: ImageUrls?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -2150,26 +2150,26 @@ data class ThirdLevelChild( + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("action") + var action: ProductListingAction?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("childs") var childs: @RawValue ArrayList>?=null, - @SerializedName("action") - var action: ProductListingAction?=null, - - @SerializedName("name") - var name: String?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("banners") + var banners: ImageUrls?=null ): Parcelable { @@ -2200,26 +2200,26 @@ data class SecondLevelChild( + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("action") + var action: ProductListingAction?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("childs") var childs: ArrayList?=null, - @SerializedName("action") - var action: ProductListingAction?=null, - - @SerializedName("name") - var name: String?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("banners") + var banners: ImageUrls?=null ): Parcelable { @@ -2250,26 +2250,26 @@ data class Child( + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("action") + var action: ProductListingAction?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("childs") - var childs: ArrayList?=null, - - @SerializedName("action") - var action: ProductListingAction?=null, + var childs: ArrayList?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("banners") + var banners: ImageUrls?=null ): Parcelable { @@ -2300,23 +2300,23 @@ data class CategoryItems( + @SerializedName("action") + var action: ProductListingAction?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("childs") var childs: ArrayList?=null, - @SerializedName("action") - var action: ProductListingAction?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("name") - var name: String?=null + @SerializedName("banners") + var banners: ImageUrls?=null ): Parcelable { @@ -2345,11 +2345,11 @@ data class DepartmentCategoryTree( - @SerializedName("department") - var department: String?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("department") + var department: String?=null ): Parcelable { @@ -2395,9 +2395,6 @@ data class CategoryMetaResponse( - @SerializedName("name") - var name: String?=null, - @SerializedName("logo") var logo: Media?=null, @@ -2405,7 +2402,10 @@ data class CategoryMetaResponse( var uid: Int?=null, @SerializedName("banners") - var banners: ImageUrls?=null + var banners: ImageUrls?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -2430,14 +2430,14 @@ data class HomeListingResponse( - @SerializedName("page") - var page: Page?=null, + @SerializedName("message") + var message: String?=null, @SerializedName("items") var items: ArrayList?=null, - @SerializedName("message") - var message: String?=null + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -2460,20 +2460,20 @@ data class Department( + @SerializedName("name") + var name: String?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("priority_order") var priorityOrder: Int?=null, - @SerializedName("name") - var name: String?=null, - @SerializedName("logo") - var logo: Media?=null + var logo: Media?=null, + + @SerializedName("slug") + var slug: String?=null ): Parcelable { @@ -2520,17 +2520,17 @@ data class AutocompleteItem( - @SerializedName("type") - var type: String?=null, + @SerializedName("logo") + var logo: Media?=null, @SerializedName("display") var display: String?=null, - @SerializedName("logo") - var logo: Media?=null, - @SerializedName("action") - var action: ProductListingAction?=null + var action: ProductListingAction?=null, + + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -2575,62 +2575,62 @@ data class GetCollectionDetailNest( + @SerializedName("allow_sort") + var allowSort: Boolean?=null, + + @SerializedName("meta") + var meta: @RawValue HashMap?=null, + @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("_schedule") - var schedule: @RawValue HashMap?=null, - @SerializedName("tag") var tag: ArrayList?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("type") var type: String?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, - @SerializedName("cron") var cron: @RawValue HashMap?=null, + @SerializedName("badge") + var badge: @RawValue HashMap?=null, + @SerializedName("logo") var logo: Media?=null, + @SerializedName("uid") + var uid: String?=null, + + @SerializedName("banners") + var banners: ImageUrls?=null, + @SerializedName("app_id") var appId: String?=null, @SerializedName("visible_facets_keys") var visibleFacetsKeys: ArrayList?=null, - @SerializedName("badge") - var badge: @RawValue HashMap?=null, - - @SerializedName("action") - var action: ProductListingAction?=null, - - @SerializedName("query") - var query: @RawValue HashMap?=null, - @SerializedName("slug") var slug: String?=null, - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, @SerializedName("description") var description: String?=null, - @SerializedName("allow_sort") - var allowSort: Boolean?=null, - - @SerializedName("name") - var name: String?=null, + @SerializedName("_schedule") + var schedule: @RawValue HashMap?=null, - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, + @SerializedName("query") + var query: @RawValue HashMap?=null, - @SerializedName("uid") - var uid: String?=null + @SerializedName("action") + var action: ProductListingAction?=null ): Parcelable { @@ -2678,21 +2678,21 @@ data class GetCollectionDetailNest( /* - Model: CollectionListingFilterType + Model: CollectionListingFilterTag */ @Parcelize -data class CollectionListingFilterType( +data class CollectionListingFilterTag( - @SerializedName("name") - var name: String?=null, + @SerializedName("display") + var display: String?=null, @SerializedName("is_selected") var isSelected: Boolean?=null, - @SerializedName("display") - var display: String?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -2708,21 +2708,21 @@ data class CollectionListingFilterType( /* - Model: CollectionListingFilterTag + Model: CollectionListingFilterType */ @Parcelize -data class CollectionListingFilterTag( +data class CollectionListingFilterType( - @SerializedName("name") - var name: String?=null, + @SerializedName("display") + var display: String?=null, @SerializedName("is_selected") var isSelected: Boolean?=null, - @SerializedName("display") - var display: String?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -2745,11 +2745,11 @@ data class CollectionListingFilter( - @SerializedName("type") - var type: ArrayList?=null, - @SerializedName("tags") - var tags: ArrayList?=null + var tags: ArrayList?=null, + + @SerializedName("type") + var type: ArrayList?=null ): Parcelable { @@ -2770,12 +2770,12 @@ data class GetCollectionListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") var items: ArrayList?=null, + @SerializedName("page") + var page: Page?=null, + @SerializedName("filters") var filters: CollectionListingFilter?=null @@ -2800,56 +2800,56 @@ data class CollectionDetailResponse( - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("_schedule") + var schedule: @RawValue HashMap?=null, - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, + @SerializedName("allow_sort") + var allowSort: Boolean?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, - @SerializedName("_schedule") - var schedule: @RawValue HashMap?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, - @SerializedName("banners") - var banners: ImageUrls?=null, + @SerializedName("query") + var query: @RawValue HashMap?=null, + + @SerializedName("app_id") + var appId: String?=null, @SerializedName("tag") var tag: ArrayList?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("type") var type: String?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, + @SerializedName("cron") + var cron: @RawValue HashMap?=null, @SerializedName("badge") var badge: @RawValue HashMap?=null, - @SerializedName("allow_sort") - var allowSort: Boolean?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("cron") - var cron: @RawValue HashMap?=null, + @SerializedName("banners") + var banners: ImageUrls?=null, @SerializedName("logo") var logo: Media?=null, - @SerializedName("app_id") - var appId: String?=null, + @SerializedName("visible_facets_keys") + var visibleFacetsKeys: ArrayList?=null, - @SerializedName("query") - var query: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("visible_facets_keys") - var visibleFacetsKeys: ArrayList?=null + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, + + @SerializedName("description") + var description: String?=null ): Parcelable { @@ -2900,11 +2900,11 @@ data class GetFollowListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -2925,11 +2925,11 @@ data class FollowPostResponse( - @SerializedName("id") - var id: String?=null, - @SerializedName("message") - var message: String?=null + var message: String?=null, + + @SerializedName("id") + var id: String?=null ): Parcelable { @@ -2973,11 +2973,11 @@ data class FollowIdsData( @SerializedName("products") var products: ArrayList?=null, - @SerializedName("brands") - var brands: ArrayList?=null, - @SerializedName("collections") - var collections: ArrayList?=null + var collections: ArrayList?=null, + + @SerializedName("brands") + var brands: ArrayList?=null ): Parcelable { @@ -3045,35 +3045,35 @@ data class Store1( - @SerializedName("uid") - var uid: Int?=null, - - @SerializedName("lat_long") - var latLong: LatLong?=null, - - @SerializedName("address") - var address: String?=null, - @SerializedName("country") var country: String?=null, - @SerializedName("store_code") - var storeCode: String?=null, + @SerializedName("state") + var state: String?=null, @SerializedName("city") var city: String?=null, + @SerializedName("store_email") + var storeEmail: String?=null, + + @SerializedName("name") + var name: String?=null, + + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("lat_long") + var latLong: LatLong?=null, + @SerializedName("pincode") var pincode: Int?=null, - @SerializedName("state") - var state: String?=null, - - @SerializedName("name") - var name: String?=null, + @SerializedName("address") + var address: String?=null, - @SerializedName("store_email") - var storeEmail: String?=null + @SerializedName("store_code") + var storeCode: String?=null ): Parcelable { @@ -3110,11 +3110,11 @@ data class StoreListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -3128,18 +3128,24 @@ data class StoreListingResponse( /* - Model: PhoneNumber + Model: CompanyStore */ @Parcelize -data class PhoneNumber( +data class CompanyStore( - @SerializedName("country_code") - var countryCode: Int?=null, + @SerializedName("company_type") + var companyType: String?=null, - @SerializedName("number") - var number: String?=null + @SerializedName("name") + var name: String?=null, + + @SerializedName("business_type") + var businessType: String?=null, + + @SerializedName("uid") + var uid: Int?=null ): Parcelable { @@ -3149,25 +3155,26 @@ data class PhoneNumber( + + + + } /* - Model: StoreManagerSerializer + Model: SellerPhoneNumber */ @Parcelize -data class StoreManagerSerializer( - +data class SellerPhoneNumber( - @SerializedName("name") - var name: String?=null, - @SerializedName("email") - var email: String?=null, + @SerializedName("number") + var number: String?=null, - @SerializedName("mobile_no") - var mobileNo: PhoneNumber?=null + @SerializedName("country_code") + var countryCode: Int?=null ): Parcelable { @@ -3177,45 +3184,25 @@ data class StoreManagerSerializer( - - } /* - Model: StoreAddressSerializer + Model: StoreManagerSerializer */ @Parcelize -data class StoreAddressSerializer( - - - - @SerializedName("country") - var country: String?=null, - - @SerializedName("latitude") - var latitude: Double?=null, - - @SerializedName("city") - var city: String?=null, - - @SerializedName("pincode") - var pincode: Int?=null, +data class StoreManagerSerializer( - @SerializedName("address2") - var address2: String?=null, - @SerializedName("state") - var state: String?=null, - @SerializedName("longitude") - var longitude: Double?=null, + @SerializedName("mobile_no") + var mobileNo: SellerPhoneNumber?=null, - @SerializedName("address1") - var address1: String?=null, + @SerializedName("email") + var email: String?=null, - @SerializedName("landmark") - var landmark: String?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -3226,27 +3213,15 @@ data class StoreAddressSerializer( - - - - - - - - - - - - } /* - Model: CompanyStore + Model: StoreDepartments */ @Parcelize -data class CompanyStore( +data class StoreDepartments( @@ -3256,11 +3231,14 @@ data class CompanyStore( @SerializedName("uid") var uid: Int?=null, - @SerializedName("business_type") - var businessType: String?=null, + @SerializedName("priority_order") + var priorityOrder: Int?=null, - @SerializedName("company_type") - var companyType: String?=null + @SerializedName("logo") + var logo: String?=null, + + @SerializedName("slug") + var slug: String?=null ): Parcelable { @@ -3274,31 +3252,45 @@ data class CompanyStore( + + } /* - Model: StoreDepartments + Model: StoreAddressSerializer */ @Parcelize -data class StoreDepartments( +data class StoreAddressSerializer( - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("country") + var country: String?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("address2") + var address2: String?=null, - @SerializedName("priority_order") - var priorityOrder: Int?=null, + @SerializedName("longitude") + var longitude: Double?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("state") + var state: String?=null, - @SerializedName("logo") - var logo: String?=null + @SerializedName("address1") + var address1: String?=null, + + @SerializedName("city") + var city: String?=null, + + @SerializedName("landmark") + var landmark: String?=null, + + @SerializedName("pincode") + var pincode: Int?=null, + + @SerializedName("latitude") + var latitude: Double?=null ): Parcelable { @@ -3313,6 +3305,14 @@ data class StoreDepartments( + + + + + + + + } @@ -3325,26 +3325,26 @@ data class AppStore( + @SerializedName("company") + var company: CompanyStore?=null, + + @SerializedName("contact_numbers") + var contactNumbers: ArrayList?=null, + @SerializedName("manager") var manager: StoreManagerSerializer?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("address") - var address: StoreAddressSerializer?=null, - - @SerializedName("contact_numbers") - var contactNumbers: ArrayList?=null, - - @SerializedName("company") - var company: CompanyStore?=null, - @SerializedName("departments") var departments: ArrayList?=null, - @SerializedName("name") - var name: String?=null + @SerializedName("address") + var address: StoreAddressSerializer?=null ): Parcelable { @@ -3375,12 +3375,12 @@ data class ApplicationStoreListing( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") var items: ArrayList?=null, + @SerializedName("page") + var page: Page?=null, + @SerializedName("filters") var filters: ArrayList?=null @@ -3405,11 +3405,11 @@ data class Time( - @SerializedName("minute") - var minute: Int?=null, - @SerializedName("hour") - var hour: Int?=null + var hour: Int?=null, + + @SerializedName("minute") + var minute: Int?=null ): Parcelable { @@ -3430,17 +3430,17 @@ data class StoreTiming( - @SerializedName("weekday") - var weekday: String?=null, + @SerializedName("opening") + var opening: Time?=null, @SerializedName("closing") var closing: Time?=null, - @SerializedName("open") - var open: Boolean?=null, + @SerializedName("weekday") + var weekday: String?=null, - @SerializedName("opening") - var opening: Time?=null + @SerializedName("open") + var open: Boolean?=null ): Parcelable { @@ -3465,32 +3465,32 @@ data class StoreDetails( + @SerializedName("company") + var company: CompanyStore?=null, + + @SerializedName("contact_numbers") + var contactNumbers: ArrayList?=null, + + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + @SerializedName("manager") var manager: StoreManagerSerializer?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("uid") var uid: Int?=null, - @SerializedName("address") - var address: StoreAddressSerializer?=null, - - @SerializedName("contact_numbers") - var contactNumbers: ArrayList?=null, - - @SerializedName("company") - var company: CompanyStore?=null, - @SerializedName("departments") var departments: ArrayList?=null, - @SerializedName("timing") - var timing: ArrayList?=null, - - @SerializedName("name") - var name: String?=null, + @SerializedName("address") + var address: StoreAddressSerializer?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("timing") + var timing: ArrayList?=null ): Parcelable { @@ -7045,6 +7045,46 @@ data class Participant( +} + + +/* + Model: PhoneNumber +*/ +@Parcelize +data class PhoneNumber( + + + + @SerializedName("active") + var active: Boolean?=null, + + @SerializedName("primary") + var primary: Boolean?=null, + + @SerializedName("verified") + var verified: Boolean?=null, + + @SerializedName("phone") + var phone: String?=null, + + @SerializedName("country_code") + var countryCode: Int?=null + +): Parcelable { + + + + + + + + + + + + + } diff --git a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt index 55344e158..5e7686192 100644 --- a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt +++ b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt @@ -9,8 +9,11 @@ class AccessTokenInterceptor( ) : Interceptor { override fun intercept(chain: Interceptor.Chain): Response { val original = chain.request() + val builder = original.newBuilder() .header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}") + .header("x-fp-sdk-version", "0.1.6") + val request = builder.build() return chain.proceed(request) } diff --git a/src/main/java/com/sdk/common/HttpClient.kt b/src/main/java/com/sdk/common/HttpClient.kt index 5611fd866..de520e719 100644 --- a/src/main/java/com/sdk/common/HttpClient.kt +++ b/src/main/java/com/sdk/common/HttpClient.kt @@ -42,4 +42,12 @@ object HttpClient { } return clientMap[namespace] } + + fun setDebuggable(debuggable: Boolean) { + httpsLoggingInterceptor = if(debuggable){ + HttpLoggingInterceptor.Level.BODY + }else{ + HttpLoggingInterceptor.Level.NONE + } + } } \ No newline at end of file diff --git a/src/main/java/com/sdk/common/RequestSigner.kt b/src/main/java/com/sdk/common/RequestSigner.kt index 28a91ceca..0dd2c5c67 100644 --- a/src/main/java/com/sdk/common/RequestSigner.kt +++ b/src/main/java/com/sdk/common/RequestSigner.kt @@ -72,14 +72,14 @@ class RequestSigner(val request: Request) { private fun signature(): String { val kCredentials = "1234567" val strToSign = stringToSign() - Log.d("ReqSignER", "signature...... ${hMac(kCredentials, strToSign)}") - return "v1:${hMac(kCredentials, strToSign)}"; + //Log.d("ReqSignER", "signature...... ${hMac(kCredentials, strToSign)}") + return "v1.1:${hMac(kCredentials, strToSign)}"; } private fun stringToSign(): String { - Log.d("ReqSignER", "hash(canonicalString())...... ${hash(canonicalString())}") + //Log.d("ReqSignER", "hash(canonicalString())...... ${hash(canonicalString())}") val strToSign = "${getDateTime()}\n${hash(canonicalString())}" - Log.d("ReqSignER", "strToSign...... ${strToSign}") + //Log.d("ReqSignER", "strToSign...... ${strToSign}") return strToSign } @@ -126,7 +126,7 @@ class RequestSigner(val request: Request) { } } val canonicalQueryString = encodedQueryPieces.toString() - Log.d("ReqSignER", "canonicalQueryString...... $canonicalQueryString") + //Log.d("ReqSignER", "canonicalQueryString...... $canonicalQueryString") val encodedPathPieces = StringBuilder() updatedReq.url().encodedPathSegments().forEach { path -> @@ -138,7 +138,7 @@ class RequestSigner(val request: Request) { } } val canonicalPath = encodedPathPieces.toString() - Log.d("ReqSignER", "canonicalPath...... $canonicalPath") + //Log.d("ReqSignER", "canonicalPath...... $canonicalPath") val canonicalRequest = StringBuilder() @@ -154,8 +154,8 @@ class RequestSigner(val request: Request) { canonicalRequest.append(hash(body ?: "")) - Log.d("ReqSignER", " body()...... ${body?: ""}") - Log.d("ReqSignER", "hash(updatedReq.body())...... ${hash(body ?: "")}") + //Log.d("ReqSignER", " body()...... ${body?: ""}") + //Log.d("ReqSignER", "hash(updatedReq.body())...... ${hash(body ?: "")}") return canonicalRequest.toString() @@ -186,7 +186,7 @@ class RequestSigner(val request: Request) { } } - Log.d("ReqSignER", "canonicalHeader...... $canonicalHeader") + //Log.d("ReqSignER", "canonicalHeader...... $canonicalHeader") return canonicalHeader.toString() } @@ -213,7 +213,7 @@ class RequestSigner(val request: Request) { } headerNames.append(headerName.trim()) } - Log.d("ReqSignER", "signedHeaders...... ${headerNames.toString()}") + //Log.d("ReqSignER", "signedHeaders...... ${headerNames.toString()}") return headerNames.toString() } diff --git a/src/main/java/com/sdk/common/RetrofitHttpClient.kt b/src/main/java/com/sdk/common/RetrofitHttpClient.kt index e5cd9b89d..8e59ae2a0 100644 --- a/src/main/java/com/sdk/common/RetrofitHttpClient.kt +++ b/src/main/java/com/sdk/common/RetrofitHttpClient.kt @@ -108,7 +108,11 @@ class RetrofitHttpClient constructor( ) ) builder.addNetworkInterceptor(interceptor) else builder.addInterceptor(interceptor) } - builder.addInterceptor(CurlInterceptor { message -> Log.v("Ok2Curl", message ?: "") }) + + if(logging.level != HttpLoggingInterceptor.Level.NONE) { + builder.addInterceptor(CurlInterceptor { message -> Log.v("Ok2Curl", message ?: "") }) + } + if (null != headerList) { builder.addInterceptor { chain: Interceptor.Chain -> val original = chain.request() diff --git a/src/main/java/com/sdk/platform/PlatformApiList.kt b/src/main/java/com/sdk/platform/PlatformApiList.kt index 133541eb2..aac13f1f0 100644 --- a/src/main/java/com/sdk/platform/PlatformApiList.kt +++ b/src/main/java/com/sdk/platform/PlatformApiList.kt @@ -884,14 +884,14 @@ interface CatalogApiList { fun deleteSearchKeywords(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/keyword/") - fun createCustomKeyword(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateSearchKeyword) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/keyword/") fun getAllSearchKeyword(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/keyword/") + fun createCustomKeyword(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateSearchKeyword) + : Deferred> + @PUT ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/autocomplete/{id}/") fun updateAutocompleteKeyword(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String,@Body body: CreateAutocompleteKeyword) : Deferred> @@ -904,22 +904,22 @@ interface CatalogApiList { fun deleteAutocompleteKeyword(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/autocomplete/") - fun createCustomAutocompleteRule(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateAutocompleteKeyword) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/autocomplete/") fun getAutocompleteConfig(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/product-bundle/") - fun createProductBundle(@Path("company_id") companyId: String,@Body body: ProductBundleRequest) - : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/search/autocomplete/") + fun createCustomAutocompleteRule(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateAutocompleteKeyword) + : Deferred> @GET ("/service/platform/catalog/v1.0/company/{company_id}/product-bundle/") fun getProductBundle(@Path("company_id") companyId: String, @Query("q") q: String?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/product-bundle/") + fun createProductBundle(@Path("company_id") companyId: String,@Body body: ProductBundleRequest) + : Deferred> + @PUT ("/service/platform/catalog/v1.0/company/{company_id}/product-bundle/{id}/") fun updateProductBundle(@Path("company_id") companyId: String, @Path("id") id: String,@Body body: ProductBundleUpdateRequest) : Deferred> @@ -928,14 +928,14 @@ interface CatalogApiList { fun getProductBundleDetail(@Path("company_id") companyId: String, @Path("id") id: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/sizeguide") - fun createSizeGuide(@Path("company_id") companyId: String,@Body body: ValidateSizeGuide) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/sizeguide") fun getSizeGuides(@Path("company_id") companyId: String, @Query("active") active: Boolean?, @Query("q") q: String?, @Query("tag") tag: String?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/sizeguide") + fun createSizeGuide(@Path("company_id") companyId: String,@Body body: ValidateSizeGuide) + : Deferred> + @PUT ("/service/platform/catalog/v1.0/company/{company_id}/sizeguide/{id}/") fun updateSizeGuide(@Path("company_id") companyId: String, @Path("id") id: String,@Body body: ValidateSizeGuide) : Deferred> @@ -948,34 +948,34 @@ interface CatalogApiList { fun getCatalogConfiguration(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/") - fun createConfigurationProductListing(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: AppConfiguration) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/") fun getConfigurations(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/{type}/") - fun createConfigurationByType(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("type") type: String,@Body body: AppConfiguration) + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/") + fun createConfigurationProductListing(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: AppConfiguration) : Deferred> @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/{type}/") fun getConfigurationByType(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("type") type: String) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/product-configuration/{type}/") + fun createConfigurationByType(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("type") type: String,@Body body: AppConfiguration) + : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/query-options/") fun getQueryFilters(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/") - fun createCollection(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateCollection) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/") fun getAllCollections(@Path("company_id") companyId: String, @Path("application_id") applicationId: String) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/") + fun createCollection(@Path("company_id") companyId: String, @Path("application_id") applicationId: String,@Body body: CreateCollection) + : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/{slug}/") fun getCollectionDetail(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("slug") slug: String) : Deferred> @@ -988,14 +988,14 @@ interface CatalogApiList { fun deleteCollection(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/{id}/items/") - fun addCollectionItems(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String,@Body body: CollectionItemRequest) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/{id}/items/") fun getCollectionItems(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String, @Query("sort_on") sortOn: String?, @Query("page_id") pageId: String?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/collections/{id}/items/") + fun addCollectionItems(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Path("id") id: String,@Body body: CollectionItemRequest) + : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/analytics/insights/") fun getCatalogInsights(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Query("brand") brand: String?) : Deferred> @@ -1076,14 +1076,14 @@ interface CatalogApiList { fun listTemplateBrandTypeValues(@Path("company_id") companyId: String, @Query("filter") filter: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/category/") - fun createCategories(@Path("company_id") companyId: String,@Body body: CategoryRequestBody) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/category/") fun listCategories(@Path("company_id") companyId: String, @Query("level") level: String?, @Query("departments") departments: String?, @Query("q") q: String?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/category/") + fun createCategories(@Path("company_id") companyId: String,@Body body: CategoryRequestBody) + : Deferred> + @PUT ("/service/platform/catalog/v1.0/company/{company_id}/category/{uid}/") fun updateCategory(@Path("company_id") companyId: String, @Path("uid") uid: String,@Body body: CategoryRequestBody) : Deferred> @@ -1092,14 +1092,14 @@ interface CatalogApiList { fun getCategoryData(@Path("company_id") companyId: String, @Path("uid") uid: String) : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/") + fun getProducts(@Path("company_id") companyId: String, @Query("brand_ids") brandIds: ArrayList?, @Query("category_ids") categoryIds: ArrayList?, @Query("item_ids") itemIds: ArrayList?, @Query("department_ids") departmentIds: ArrayList?, @Query("item_code") itemCode: ArrayList?, @Query("q") q: String?, @Query("tags") tags: ArrayList?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) + : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/") fun createProduct(@Path("company_id") companyId: String,@Body body: ProductCreateUpdate) : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/") - fun getProducts(@Path("company_id") companyId: String, @Query("brand_ids") brandIds: ArrayList?, @Query("category_ids") categoryIds: ArrayList?, @Query("item_ids") itemIds: ArrayList?, @Query("department_ids") departmentIds: ArrayList?, @Query("item_code") itemCode: ArrayList?, @Query("q") q: String?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) - : Deferred> - @PUT ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/") fun editProduct(@Path("company_id") companyId: String, @Path("item_id") itemId: String,@Body body: ProductCreateUpdate) : Deferred> @@ -1120,14 +1120,14 @@ interface CatalogApiList { fun getProductSize(@Query("item_code") itemCode: String?, @Path("company_id") companyId: String, @Path("item_id") itemId: String, @Query("brand_uid") brandUid: Int?, @Query("uid") uid: Int?) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/bulk") - fun updateProductAssetsInBulk(@Path("company_id") companyId: String,@Body body: BulkJob) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/bulk") fun getProductBulkUploadHistory(@Path("company_id") companyId: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/bulk") + fun updateProductAssetsInBulk(@Path("company_id") companyId: String,@Body body: BulkJob) + : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/bulk/{batch_id}") fun createProductsInBulk(@Path("company_id") companyId: String, @Path("batch_id") batchId: String,@Body body: BulkProductRequest) : Deferred> @@ -1137,29 +1137,29 @@ interface CatalogApiList { : Deferred> @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/tags") - fun getCompanyTags(@Path("company_id") companyId: String) + fun getProductTags(@Path("company_id") companyId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/assets/bulk/") - fun createProductAssetsInBulk(@Path("company_id") companyId: String,@Body body: ProductBulkAssets) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/assets/bulk/") fun getProductAssetsInBulk(@Path("company_id") companyId: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/assets/bulk/") + fun createProductAssetsInBulk(@Path("company_id") companyId: String,@Body body: ProductBulkAssets) + : Deferred> + @DELETE ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/sizes/{size}") fun deleteSize(@Path("company_id") companyId: String, @Path("item_id") itemId: String, @Path("size") size: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/sizes/{size}") - fun addInventory(@Path("company_id") companyId: String, @Path("item_id") itemId: String, @Path("size") size: String,@Body body: InventoryRequest) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/sizes/{size}") fun getInventoryBySize(@Path("company_id") companyId: String, @Path("item_id") itemId: String, @Path("size") size: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/sizes/{size}") + fun addInventory(@Path("company_id") companyId: String, @Path("item_id") itemId: String, @Path("size") size: String,@Body body: InventoryRequest) + : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/products/{item_id}/inventory/{size_identifier}") fun getInventoryBySizeIdentifier(@Path("company_id") companyId: String, @Path("item_id") itemId: String, @Path("size_identifier") sizeIdentifier: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?, @Query("location_ids") locationIds: ArrayList?) : Deferred> @@ -1168,14 +1168,14 @@ interface CatalogApiList { fun deleteInventory(@Path("company_id") companyId: String, @Path("size") size: String, @Path("item_id") itemId: String, @Path("location_id") locationId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/inventory/bulk/") - fun createBulkInventoryJob(@Path("company_id") companyId: String,@Body body: BulkJob) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/inventory/bulk/") fun getInventoryBulkUploadHistory(@Path("company_id") companyId: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/inventory/bulk/") + fun createBulkInventoryJob(@Path("company_id") companyId: String,@Body body: BulkJob) + : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/inventory/bulk/{batch_id}/") fun createBulkInventory(@Path("company_id") companyId: String, @Path("batch_id") batchId: String,@Body body: InventoryBulkRequest) : Deferred> @@ -1184,26 +1184,26 @@ interface CatalogApiList { fun deleteBulkInventoryJob(@Path("company_id") companyId: String, @Path("batch_id") batchId: String) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/inventory/download/") - fun createInventoryExportJob(@Path("company_id") companyId: String,@Body body: InventoryExportRequest) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/inventory/download/") fun getInventoryExport(@Path("company_id") companyId: String) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/inventory/download/") + fun createInventoryExportJob(@Path("company_id") companyId: String,@Body body: InventoryExportRequest) + : Deferred> + @GET ("/service/platform/catalog/v1.0/company/{company_id}/inventory/download/configuration/") fun exportInventoryConfig(@Path("company_id") companyId: String, @Query("filter_type") filterType: String?) : Deferred> - @POST ("/service/platform/catalog/v1.0/company/{company_id}/hsn/") - fun createHsnCode(@Path("company_id") companyId: String,@Body body: HsnUpsert) - : Deferred> - @GET ("/service/platform/catalog/v1.0/company/{company_id}/hsn/") fun getAllHsnCodes(@Path("company_id") companyId: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?) : Deferred> + @POST ("/service/platform/catalog/v1.0/company/{company_id}/hsn/") + fun createHsnCode(@Path("company_id") companyId: String,@Body body: HsnUpsert) + : Deferred> + @PUT ("/service/platform/catalog/v1.0/company/{company_id}/hsn/{id}/") fun updateHsnCode(@Path("company_id") companyId: String, @Path("id") id: String,@Body body: HsnUpsert) : Deferred> @@ -1237,7 +1237,7 @@ interface CatalogApiList { : Deferred> @GET ("/service/platform/catalog/v1.0/company/{company_id}/application/{application_id}/raw-products/") - fun getAppProducts(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Query("brand_ids") brandIds: ArrayList?, @Query("category_ids") categoryIds: ArrayList?, @Query("department_ids") departmentIds: ArrayList?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?) + fun getAppProducts(@Path("company_id") companyId: String, @Path("application_id") applicationId: String, @Query("brand_ids") brandIds: ArrayList?, @Query("category_ids") categoryIds: ArrayList?, @Query("department_ids") departmentIds: ArrayList?, @Query("tags") tags: ArrayList?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?) : Deferred> } @@ -1256,42 +1256,42 @@ interface CompanyProfileApiList { fun getCompanyMetrics(@Path("company_id") companyId: String) : Deferred> - @GET ("/service/platform/company-profile/v1.0/company/{company_id}/brand/{brand_id}") - fun getBrand(@Path("company_id") companyId: String, @Path("brand_id") brandId: String) - : Deferred> - @PUT ("/service/platform/company-profile/v1.0/company/{company_id}/brand/{brand_id}") fun editBrand(@Path("company_id") companyId: String, @Path("brand_id") brandId: String,@Body body: CreateUpdateBrandRequestSerializer) : Deferred> + @GET ("/service/platform/company-profile/v1.0/company/{company_id}/brand/{brand_id}") + fun getBrand(@Path("company_id") companyId: String, @Path("brand_id") brandId: String) + : Deferred> + @POST ("/service/platform/company-profile/v1.0/company/{company_id}/brand") fun createBrand(@Path("company_id") companyId: String,@Body body: CreateUpdateBrandRequestSerializer) : Deferred> + @POST ("/service/platform/company-profile/v1.0/company/{company_id}/company-brand") + fun createCompanyBrandMapping(@Path("company_id") companyId: String,@Body body: CompanyBrandPostRequestSerializer) + : Deferred> + @GET ("/service/platform/company-profile/v1.0/company/{company_id}/company-brand") fun getBrands(@Path("company_id") companyId: String, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?, @Query("q") q: String?) : Deferred> - @POST ("/service/platform/company-profile/v1.0/company/{company_id}/company-brand") - fun createCompanyBrandMapping(@Path("company_id") companyId: String,@Body body: CompanyBrandPostRequestSerializer) + @POST ("/service/platform/company-profile/v1.0/company/{company_id}/location") + fun createLocation(@Path("company_id") companyId: String,@Body body: LocationSerializer) : Deferred> @GET ("/service/platform/company-profile/v1.0/company/{company_id}/location") fun getLocations(@Path("company_id") companyId: String, @Query("store_type") storeType: String?, @Query("q") q: String?, @Query("stage") stage: String?, @Query("page_no") pageNo: Int?, @Query("page_size") pageSize: Int?) : Deferred> - @POST ("/service/platform/company-profile/v1.0/company/{company_id}/location") - fun createLocation(@Path("company_id") companyId: String,@Body body: LocationSerializer) + @PUT ("/service/platform/company-profile/v1.0/company/{company_id}/location/{location_id}") + fun updateLocation(@Path("company_id") companyId: String, @Path("location_id") locationId: String,@Body body: LocationSerializer) : Deferred> @GET ("/service/platform/company-profile/v1.0/company/{company_id}/location/{location_id}") fun getLocationDetail(@Path("company_id") companyId: String, @Path("location_id") locationId: String) : Deferred> - @PUT ("/service/platform/company-profile/v1.0/company/{company_id}/location/{location_id}") - fun updateLocation(@Path("company_id") companyId: String, @Path("location_id") locationId: String,@Body body: LocationSerializer) - : Deferred> - @POST ("/service/platform/company-profile/v1.0/company/{company_id}/location/bulk") fun createLocationBulk(@Path("company_id") companyId: String,@Body body: BulkLocationSerializer) : Deferred> diff --git a/src/main/java/com/sdk/platform/PlatformConfig.kt b/src/main/java/com/sdk/platform/PlatformConfig.kt index d89d8a52c..e90a05d31 100644 --- a/src/main/java/com/sdk/platform/PlatformConfig.kt +++ b/src/main/java/com/sdk/platform/PlatformConfig.kt @@ -9,7 +9,8 @@ class PlatformConfig( var userAgent: String? = null, var apiKey: String? = null, var apiSecret: String? = null, - val persistentCookieStore: CookieStore?=null + val persistentCookieStore: CookieStore?=null, + var debuggable: Boolean = false ) : BaseRepository() { diff --git a/src/main/java/com/sdk/platform/PlatformDataManagerClass.kt b/src/main/java/com/sdk/platform/PlatformDataManagerClass.kt index 2fdb51177..5d037c0f1 100644 --- a/src/main/java/com/sdk/platform/PlatformDataManagerClass.kt +++ b/src/main/java/com/sdk/platform/PlatformDataManagerClass.kt @@ -24,7 +24,7 @@ class CommonDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -68,7 +68,7 @@ class LeadDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -372,7 +372,7 @@ class FeedbackDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -748,7 +748,7 @@ class ThemeDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1032,7 +1032,7 @@ class UserDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -1140,7 +1140,7 @@ class ContentDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2162,7 +2162,7 @@ class BillingDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -2336,7 +2336,7 @@ class CommunicationDataManagerClass(val config: PlatformConfig) : BaseRepository interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -3551,7 +3551,7 @@ class PaymentDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -3800,7 +3800,7 @@ class OrderDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -4077,7 +4077,7 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -4098,24 +4098,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { - suspend fun createProductBundle(body: ProductBundleRequest) - : Deferred>? { + suspend fun getProductBundle(q: String?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createProductBundle( - companyId = config.companyId, body = body) + catalogApiList?.getProductBundle( + companyId = config.companyId, q = q ) } else { null } } - suspend fun getProductBundle(q: String?=null) - : Deferred>? { + suspend fun createProductBundle(body: ProductBundleRequest) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getProductBundle( - companyId = config.companyId, q = q ) + catalogApiList?.createProductBundle( + companyId = config.companyId, body = body) } else { null } @@ -4146,24 +4146,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createSizeGuide(body: ValidateSizeGuide) - : Deferred>? { + suspend fun getSizeGuides(active: Boolean?=null, q: String?=null, tag: String?=null, pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createSizeGuide( - companyId = config.companyId, body = body) + catalogApiList?.getSizeGuides( + companyId = config.companyId, active = active, q = q, tag = tag, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun getSizeGuides(active: Boolean?=null, q: String?=null, tag: String?=null, pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun createSizeGuide(body: ValidateSizeGuide) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getSizeGuides( - companyId = config.companyId, active = active, q = q, tag = tag, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.createSizeGuide( + companyId = config.companyId, body = body) } else { null } @@ -4436,24 +4436,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createCategories(body: CategoryRequestBody) - : Deferred>? { + suspend fun listCategories(level: String?=null, departments: String?=null, q: String?=null, pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createCategories( - companyId = config.companyId, body = body) + catalogApiList?.listCategories( + companyId = config.companyId, level = level, departments = departments, q = q, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun listCategories(level: String?=null, departments: String?=null, q: String?=null, pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun createCategories(body: CategoryRequestBody) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.listCategories( - companyId = config.companyId, level = level, departments = departments, q = q, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.createCategories( + companyId = config.companyId, body = body) } else { null } @@ -4484,24 +4484,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createProduct(body: ProductCreateUpdate) - : Deferred>? { + suspend fun getProducts(brandIds: ArrayList?=null, categoryIds: ArrayList?=null, itemIds: ArrayList?=null, departmentIds: ArrayList?=null, itemCode: ArrayList?=null, q: String?=null, tags: ArrayList?=null, pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createProduct( - companyId = config.companyId, body = body) + catalogApiList?.getProducts( + companyId = config.companyId, brandIds = brandIds, categoryIds = categoryIds, itemIds = itemIds, departmentIds = departmentIds, itemCode = itemCode, q = q, tags = tags, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun getProducts(brandIds: ArrayList?=null, categoryIds: ArrayList?=null, itemIds: ArrayList?=null, departmentIds: ArrayList?=null, itemCode: ArrayList?=null, q: String?=null, pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun createProduct(body: ProductCreateUpdate) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getProducts( - companyId = config.companyId, brandIds = brandIds, categoryIds = categoryIds, itemIds = itemIds, departmentIds = departmentIds, itemCode = itemCode, q = q, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.createProduct( + companyId = config.companyId, body = body) } else { null } @@ -4568,24 +4568,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun updateProductAssetsInBulk(body: BulkJob) - : Deferred>? { + suspend fun getProductBulkUploadHistory(pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.updateProductAssetsInBulk( - companyId = config.companyId, body = body) + catalogApiList?.getProductBulkUploadHistory( + companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun getProductBulkUploadHistory(pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun updateProductAssetsInBulk(body: BulkJob) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getProductBulkUploadHistory( - companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.updateProductAssetsInBulk( + companyId = config.companyId, body = body) } else { null } @@ -4616,11 +4616,11 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun getCompanyTags() + suspend fun getProductTags() : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getCompanyTags( + catalogApiList?.getProductTags( companyId = config.companyId ) } else { null @@ -4628,24 +4628,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createProductAssetsInBulk(body: ProductBulkAssets) - : Deferred>? { + suspend fun getProductAssetsInBulk(pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createProductAssetsInBulk( - companyId = config.companyId, body = body) + catalogApiList?.getProductAssetsInBulk( + companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun getProductAssetsInBulk(pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun createProductAssetsInBulk(body: ProductBulkAssets) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getProductAssetsInBulk( - companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.createProductAssetsInBulk( + companyId = config.companyId, body = body) } else { null } @@ -4664,24 +4664,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun addInventory(itemId: String, size: String,body: InventoryRequest) - : Deferred>? { + suspend fun getInventoryBySize(itemId: String, size: String, pageNo: Int?=null, pageSize: Int?=null, q: String?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.addInventory( - companyId = config.companyId, itemId = itemId, size = size, body = body) + catalogApiList?.getInventoryBySize( + companyId = config.companyId, itemId = itemId, size = size, pageNo = pageNo, pageSize = pageSize, q = q ) } else { null } } - suspend fun getInventoryBySize(itemId: String, size: String, pageNo: Int?=null, pageSize: Int?=null, q: String?=null) - : Deferred>? { + suspend fun addInventory(itemId: String, size: String,body: InventoryRequest) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getInventoryBySize( - companyId = config.companyId, itemId = itemId, size = size, pageNo = pageNo, pageSize = pageSize, q = q ) + catalogApiList?.addInventory( + companyId = config.companyId, itemId = itemId, size = size, body = body) } else { null } @@ -4712,24 +4712,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createBulkInventoryJob(body: BulkJob) - : Deferred>? { + suspend fun getInventoryBulkUploadHistory(pageNo: Int?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createBulkInventoryJob( - companyId = config.companyId, body = body) + catalogApiList?.getInventoryBulkUploadHistory( + companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) } else { null } } - suspend fun getInventoryBulkUploadHistory(pageNo: Int?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun createBulkInventoryJob(body: BulkJob) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getInventoryBulkUploadHistory( - companyId = config.companyId, pageNo = pageNo, pageSize = pageSize ) + catalogApiList?.createBulkInventoryJob( + companyId = config.companyId, body = body) } else { null } @@ -4760,24 +4760,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createInventoryExportJob(body: InventoryExportRequest) - : Deferred>? { + suspend fun getInventoryExport() + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createInventoryExportJob( - companyId = config.companyId, body = body) + catalogApiList?.getInventoryExport( + companyId = config.companyId ) } else { null } } - suspend fun getInventoryExport() - : Deferred>? { + suspend fun createInventoryExportJob(body: InventoryExportRequest) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getInventoryExport( - companyId = config.companyId ) + catalogApiList?.createInventoryExportJob( + companyId = config.companyId, body = body) } else { null } @@ -4796,24 +4796,24 @@ class CatalogDataManagerClass(val config: PlatformConfig) : BaseRepository() { } - suspend fun createHsnCode(body: HsnUpsert) - : Deferred>? { + suspend fun getAllHsnCodes(pageNo: Int?=null, pageSize: Int?=null, q: String?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createHsnCode( - companyId = config.companyId, body = body) + catalogApiList?.getAllHsnCodes( + companyId = config.companyId, pageNo = pageNo, pageSize = pageSize, q = q ) } else { null } } - suspend fun getAllHsnCodes(pageNo: Int?=null, pageSize: Int?=null, q: String?=null) - : Deferred>? { + suspend fun createHsnCode(body: HsnUpsert) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getAllHsnCodes( - companyId = config.companyId, pageNo = pageNo, pageSize = pageSize, q = q ) + catalogApiList?.createHsnCode( + companyId = config.companyId, body = body) } else { null } @@ -4896,20 +4896,20 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun createCustomKeyword(body: CreateSearchKeyword) - : Deferred>? { + suspend fun getAllSearchKeyword() + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createCustomKeyword(companyId = config.companyId , applicationId = applicationId , body = body) + catalogApiList?.getAllSearchKeyword(companyId = config.companyId , applicationId = applicationId ) } else { null } } - suspend fun getAllSearchKeyword() - : Deferred>? { + suspend fun createCustomKeyword(body: CreateSearchKeyword) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getAllSearchKeyword(companyId = config.companyId , applicationId = applicationId ) + catalogApiList?.createCustomKeyword(companyId = config.companyId , applicationId = applicationId , body = body) } else { null } @@ -4946,20 +4946,20 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun createCustomAutocompleteRule(body: CreateAutocompleteKeyword) - : Deferred>? { + suspend fun getAutocompleteConfig() + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createCustomAutocompleteRule(companyId = config.companyId , applicationId = applicationId , body = body) + catalogApiList?.getAutocompleteConfig(companyId = config.companyId , applicationId = applicationId ) } else { null } } - suspend fun getAutocompleteConfig() - : Deferred>? { + suspend fun createCustomAutocompleteRule(body: CreateAutocompleteKeyword) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getAutocompleteConfig(companyId = config.companyId , applicationId = applicationId ) + catalogApiList?.createCustomAutocompleteRule(companyId = config.companyId , applicationId = applicationId , body = body) } else { null } @@ -4984,40 +4984,40 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun createConfigurationProductListing(body: AppConfiguration) + suspend fun getConfigurations() : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createConfigurationProductListing(companyId = config.companyId , applicationId = applicationId , body = body) + catalogApiList?.getConfigurations(companyId = config.companyId , applicationId = applicationId ) } else { null } } - suspend fun getConfigurations() + suspend fun createConfigurationProductListing(body: AppConfiguration) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getConfigurations(companyId = config.companyId , applicationId = applicationId ) + catalogApiList?.createConfigurationProductListing(companyId = config.companyId , applicationId = applicationId , body = body) } else { null } } - suspend fun createConfigurationByType(type: String,body: AppConfiguration) - : Deferred>? { + suspend fun getConfigurationByType(type: String) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createConfigurationByType(companyId = config.companyId , applicationId = applicationId , type = type, body = body) + catalogApiList?.getConfigurationByType(companyId = config.companyId , applicationId = applicationId , type = type ) } else { null } } - suspend fun getConfigurationByType(type: String) - : Deferred>? { + suspend fun createConfigurationByType(type: String,body: AppConfiguration) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getConfigurationByType(companyId = config.companyId , applicationId = applicationId , type = type ) + catalogApiList?.createConfigurationByType(companyId = config.companyId , applicationId = applicationId , type = type, body = body) } else { null } @@ -5034,20 +5034,20 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun createCollection(body: CreateCollection) - : Deferred>? { + suspend fun getAllCollections() + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.createCollection(companyId = config.companyId , applicationId = applicationId , body = body) + catalogApiList?.getAllCollections(companyId = config.companyId , applicationId = applicationId ) } else { null } } - suspend fun getAllCollections() - : Deferred>? { + suspend fun createCollection(body: CreateCollection) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getAllCollections(companyId = config.companyId , applicationId = applicationId ) + catalogApiList?.createCollection(companyId = config.companyId , applicationId = applicationId , body = body) } else { null } @@ -5084,20 +5084,20 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun addCollectionItems(id: String,body: CollectionItemRequest) - : Deferred>? { + suspend fun getCollectionItems(id: String, sortOn: String?=null, pageId: String?=null, pageSize: Int?=null) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.addCollectionItems(companyId = config.companyId , applicationId = applicationId , id = id, body = body) + catalogApiList?.getCollectionItems(companyId = config.companyId , applicationId = applicationId , id = id, sortOn = sortOn, pageId = pageId, pageSize = pageSize ) } else { null } } - suspend fun getCollectionItems(id: String, sortOn: String?=null, pageId: String?=null, pageSize: Int?=null) - : Deferred>? { + suspend fun addCollectionItems(id: String,body: CollectionItemRequest) + : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getCollectionItems(companyId = config.companyId , applicationId = applicationId , id = id, sortOn = sortOn, pageId = pageId, pageSize = pageSize ) + catalogApiList?.addCollectionItems(companyId = config.companyId , applicationId = applicationId , id = id, body = body) } else { null } @@ -5374,10 +5374,10 @@ inner class ApplicationClient(val applicationId:String,val config: PlatformConfi } - suspend fun getAppProducts(brandIds: ArrayList?=null, categoryIds: ArrayList?=null, departmentIds: ArrayList?=null, pageNo: Int?=null, pageSize: Int?=null, q: String?=null) + suspend fun getAppProducts(brandIds: ArrayList?=null, categoryIds: ArrayList?=null, departmentIds: ArrayList?=null, tags: ArrayList?=null, pageNo: Int?=null, pageSize: Int?=null, q: String?=null) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - catalogApiList?.getAppProducts(companyId = config.companyId , applicationId = applicationId , brandIds = brandIds, categoryIds = categoryIds, departmentIds = departmentIds, pageNo = pageNo, pageSize = pageSize, q = q ) + catalogApiList?.getAppProducts(companyId = config.companyId , applicationId = applicationId , brandIds = brandIds, categoryIds = categoryIds, departmentIds = departmentIds, tags = tags, pageNo = pageNo, pageSize = pageSize, q = q ) } else { null } @@ -5400,7 +5400,7 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -5447,6 +5447,18 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor } + suspend fun editBrand(brandId: String,body: CreateUpdateBrandRequestSerializer) + : Deferred>? { + + return if (config.oauthClient.isAccessTokenValid()) { + companyProfileApiList?.editBrand( + companyId = config.companyId, brandId = brandId, body = body) + } else { + null + } + } + + suspend fun getBrand(brandId: String) : Deferred>? { @@ -5459,23 +5471,23 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor } - suspend fun editBrand(brandId: String,body: CreateUpdateBrandRequestSerializer) + suspend fun createBrand(body: CreateUpdateBrandRequestSerializer) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - companyProfileApiList?.editBrand( - companyId = config.companyId, brandId = brandId, body = body) + companyProfileApiList?.createBrand( + companyId = config.companyId, body = body) } else { null } } - suspend fun createBrand(body: CreateUpdateBrandRequestSerializer) + suspend fun createCompanyBrandMapping(body: CompanyBrandPostRequestSerializer) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - companyProfileApiList?.createBrand( + companyProfileApiList?.createCompanyBrandMapping( companyId = config.companyId, body = body) } else { null @@ -5495,11 +5507,11 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor } - suspend fun createCompanyBrandMapping(body: CompanyBrandPostRequestSerializer) + suspend fun createLocation(body: LocationSerializer) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - companyProfileApiList?.createCompanyBrandMapping( + companyProfileApiList?.createLocation( companyId = config.companyId, body = body) } else { null @@ -5519,12 +5531,12 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor } - suspend fun createLocation(body: LocationSerializer) + suspend fun updateLocation(locationId: String,body: LocationSerializer) : Deferred>? { return if (config.oauthClient.isAccessTokenValid()) { - companyProfileApiList?.createLocation( - companyId = config.companyId, body = body) + companyProfileApiList?.updateLocation( + companyId = config.companyId, locationId = locationId, body = body) } else { null } @@ -5543,18 +5555,6 @@ class CompanyProfileDataManagerClass(val config: PlatformConfig) : BaseRepositor } - suspend fun updateLocation(locationId: String,body: LocationSerializer) - : Deferred>? { - - return if (config.oauthClient.isAccessTokenValid()) { - companyProfileApiList?.updateLocation( - companyId = config.companyId, locationId = locationId, body = body) - } else { - null - } - } - - suspend fun createLocationBulk(body: BulkLocationSerializer) : Deferred>? { @@ -5600,7 +5600,7 @@ class FileStorageDataManagerClass(val config: PlatformConfig) : BaseRepository() interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -5812,7 +5812,7 @@ class ShareDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -5961,7 +5961,7 @@ class InventoryDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -6096,7 +6096,7 @@ class ConfigurationDataManagerClass(val config: PlatformConfig) : BaseRepository interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -6798,7 +6798,7 @@ class CartDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -7006,7 +7006,7 @@ class RewardsDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -7279,7 +7279,7 @@ class AnalyticsDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -7519,7 +7519,7 @@ class DiscountDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -7680,7 +7680,7 @@ class PartnerDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, @@ -7733,7 +7733,7 @@ class WebhookDataManagerClass(val config: PlatformConfig) : BaseRepository() { interceptorList.add(headerInterceptor) interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, interceptorList = interceptorMap, diff --git a/src/main/java/com/sdk/platform/PlatformModels.kt b/src/main/java/com/sdk/platform/PlatformModels.kt index 1e89e33d6..c62c7b723 100644 --- a/src/main/java/com/sdk/platform/PlatformModels.kt +++ b/src/main/java/com/sdk/platform/PlatformModels.kt @@ -23683,11 +23683,11 @@ data class SearchKeywordResult( - @SerializedName("sort_on") - var sortOn: String?=null, - @SerializedName("query") - var query: @RawValue HashMap?=null + var query: @RawValue HashMap?=null, + + @SerializedName("sort_on") + var sortOn: String?=null ): Parcelable { @@ -23708,12 +23708,12 @@ data class CreateSearchKeyword( - @SerializedName("is_active") - var isActive: Boolean?=null, - @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + @SerializedName("app_id") var appId: String?=null, @@ -23751,12 +23751,12 @@ data class GetSearchWordsData( @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, - @SerializedName("uid") - var uid: String?=null, - @SerializedName("app_id") var appId: String?=null, + @SerializedName("uid") + var uid: String?=null, + @SerializedName("words") var words: ArrayList?=null, @@ -23788,17 +23788,17 @@ data class ErrorResponse( - @SerializedName("code") - var code: String?=null, - @SerializedName("message") var message: String?=null, + @SerializedName("status") + var status: Int?=null, + @SerializedName("meta") var meta: @RawValue HashMap?=null, - @SerializedName("status") - var status: Int?=null + @SerializedName("code") + var code: String?=null ): Parcelable { @@ -23823,11 +23823,11 @@ data class GetSearchWordsDetailResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: GetSearchWordsData?=null + var items: GetSearchWordsData?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -23868,11 +23868,11 @@ data class GetSearchWordsResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -23886,18 +23886,24 @@ data class GetSearchWordsResponse( /* - Model: Media + Model: AutocompletePageAction */ @Parcelize -data class Media( +data class AutocompletePageAction( + + @SerializedName("params") + var params: @RawValue HashMap?=null, + + @SerializedName("url") + var url: String?=null, @SerializedName("type") var type: String?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("query") + var query: @RawValue HashMap?=null ): Parcelable { @@ -23907,28 +23913,26 @@ data class Media( + + + + } /* - Model: AutocompletePageAction + Model: AutocompleteAction */ @Parcelize -data class AutocompletePageAction( +data class AutocompleteAction( - @SerializedName("query") - var query: @RawValue HashMap?=null, + @SerializedName("page") + var page: AutocompletePageAction?=null, @SerializedName("type") - var type: String?=null, - - @SerializedName("params") - var params: @RawValue HashMap?=null, - - @SerializedName("url") - var url: String?=null + var type: String?=null ): Parcelable { @@ -23938,23 +23942,19 @@ data class AutocompletePageAction( - - - - } /* - Model: AutocompleteAction + Model: Media */ @Parcelize -data class AutocompleteAction( +data class Media( - @SerializedName("page") - var page: AutocompletePageAction?=null, + @SerializedName("url") + var url: String?=null, @SerializedName("type") var type: String?=null @@ -23978,17 +23978,17 @@ data class AutocompleteResult( - @SerializedName("logo") - var logo: Media?=null, - - @SerializedName("display") - var display: String?=null, + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, @SerializedName("action") var action: AutocompleteAction?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("display") + var display: String?=null, + + @SerializedName("logo") + var logo: Media?=null ): Parcelable { @@ -24013,18 +24013,18 @@ data class CreateAutocompleteKeyword( - @SerializedName("is_active") - var isActive: Boolean?=null, - @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, - @SerializedName("results") - var results: ArrayList?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, @SerializedName("app_id") var appId: String?=null, + @SerializedName("results") + var results: ArrayList?=null, + @SerializedName("words") var words: ArrayList?=null @@ -24056,15 +24056,15 @@ data class GetAutocompleteWordsData( @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, + @SerializedName("app_id") + var appId: String?=null, + @SerializedName("uid") var uid: String?=null, @SerializedName("results") var results: @RawValue ArrayList>?=null, - @SerializedName("app_id") - var appId: String?=null, - @SerializedName("words") var words: ArrayList?=null @@ -24093,11 +24093,11 @@ data class GetAutocompleteWordsResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -24118,17 +24118,17 @@ data class CreateAutocompleteWordsResponse( + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + @SerializedName("words") var words: ArrayList?=null, - @SerializedName("results") - var results: @RawValue ArrayList>?=null, - @SerializedName("app_id") var appId: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null + @SerializedName("results") + var results: @RawValue ArrayList>?=null ): Parcelable { @@ -24153,23 +24153,23 @@ data class ProductBundleItem( - @SerializedName("max_quantity") - var maxQuantity: Int?=null, - - @SerializedName("product_uid") - var productUid: Int?=null, + @SerializedName("auto_add_to_cart") + var autoAddToCart: Boolean?=null, @SerializedName("auto_select") var autoSelect: Boolean?=null, - @SerializedName("allow_remove") - var allowRemove: Boolean?=null, - @SerializedName("min_quantity") var minQuantity: Int?=null, - @SerializedName("auto_add_to_cart") - var autoAddToCart: Boolean?=null + @SerializedName("max_quantity") + var maxQuantity: Int?=null, + + @SerializedName("allow_remove") + var allowRemove: Boolean?=null, + + @SerializedName("product_uid") + var productUid: Int?=null ): Parcelable { @@ -24191,51 +24191,57 @@ data class ProductBundleItem( /* - Model: ProductBundleRequest + Model: GetProductBundleCreateResponse */ @Parcelize -data class ProductBundleRequest( +data class GetProductBundleCreateResponse( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - - @SerializedName("page_visibility") - var pageVisibility: ArrayList?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, - @SerializedName("same_store_assignment") - var sameStoreAssignment: Boolean?=null, + @SerializedName("id") + var id: String?=null, @SerializedName("products") var products: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("logo") + var logo: String?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("choice") + var choice: String?=null, - @SerializedName("created_on") - var createdOn: String?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("page_visibility") + var pageVisibility: ArrayList?=null, + + @SerializedName("company_id") + var companyId: Int?=null, + + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null, @SerializedName("name") var name: String?=null, - @SerializedName("choice") - var choice: String?=null + @SerializedName("same_store_assignment") + var sameStoreAssignment: Boolean?=null ): Parcelable { @@ -24262,6 +24268,10 @@ data class ProductBundleRequest( + + + + @@ -24271,75 +24281,78 @@ data class ProductBundleRequest( /* - Model: GetProductBundleCreateResponse + Model: GetProductBundleListingResponse */ @Parcelize -data class GetProductBundleCreateResponse( +data class GetProductBundleListingResponse( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("items") + var items: ArrayList?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("page") + var page: Page?=null - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, +): Parcelable { - @SerializedName("id") - var id: String?=null, - @SerializedName("page_visibility") - var pageVisibility: ArrayList?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, - @SerializedName("same_store_assignment") - var sameStoreAssignment: Boolean?=null, - @SerializedName("products") - var products: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, + +} + + +/* + Model: ProductBundleRequest +*/ +@Parcelize +data class ProductBundleRequest( + + @SerializedName("modified_by") var modifiedBy: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, + + @SerializedName("is_active") + var isActive: Boolean?=null, + @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("company_id") - var companyId: Int?=null, - @SerializedName("modified_on") var modifiedOn: String?=null, - @SerializedName("name") - var name: String?=null, - - @SerializedName("choice") - var choice: String?=null - -): Parcelable { - - - - - - - - + @SerializedName("products") + var products: ArrayList?=null, + @SerializedName("logo") + var logo: String?=null, + @SerializedName("choice") + var choice: String?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, + @SerializedName("page_visibility") + var pageVisibility: ArrayList?=null, + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("same_store_assignment") + var sameStoreAssignment: Boolean?=null +): Parcelable { @@ -24357,24 +24370,11 @@ data class GetProductBundleCreateResponse( -} - - -/* - Model: GetProductBundleListingResponse -*/ -@Parcelize -data class GetProductBundleListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null -): Parcelable { @@ -24393,38 +24393,38 @@ data class ProductBundleUpdateRequest( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("page_visibility") - var pageVisibility: ArrayList?=null, - - @SerializedName("meta") - var meta: @RawValue HashMap?=null, - - @SerializedName("same_store_assignment") - var sameStoreAssignment: Boolean?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("products") var products: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("logo") + var logo: String?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("choice") + var choice: String?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, + + @SerializedName("page_visibility") + var pageVisibility: ArrayList?=null, @SerializedName("name") var name: String?=null, - @SerializedName("choice") - var choice: String?=null + @SerializedName("same_store_assignment") + var sameStoreAssignment: Boolean?=null ): Parcelable { @@ -24463,20 +24463,20 @@ data class Price( + @SerializedName("max_effective") + var maxEffective: Double?=null, + @SerializedName("min_marked") var minMarked: Double?=null, - @SerializedName("max_effective") - var maxEffective: Double?=null, + @SerializedName("currency") + var currency: String?=null, @SerializedName("max_marked") var maxMarked: Double?=null, @SerializedName("min_effective") - var minEffective: Double?=null, - - @SerializedName("currency") - var currency: String?=null + var minEffective: Double?=null ): Parcelable { @@ -24503,17 +24503,17 @@ data class Size( - @SerializedName("display") - var display: String?=null, + @SerializedName("is_available") + var isAvailable: Boolean?=null, @SerializedName("value") var value: String?=null, - @SerializedName("is_available") - var isAvailable: Boolean?=null, - @SerializedName("quantity") - var quantity: Int?=null + var quantity: Int?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -24538,41 +24538,41 @@ data class LimitedProductData( - @SerializedName("identifier") - var identifier: @RawValue HashMap?=null, + @SerializedName("images") + var images: ArrayList?=null, - @SerializedName("attributes") - var attributes: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("identifier") + var identifier: @RawValue HashMap?=null, - @SerializedName("country_of_origin") - var countryOfOrigin: String?=null, + @SerializedName("price") + var price: @RawValue HashMap?=null, @SerializedName("short_description") var shortDescription: String?=null, - @SerializedName("price") - var price: @RawValue HashMap?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("name") + var name: String?=null, - @SerializedName("quantity") - var quantity: Int?=null, + @SerializedName("item_code") + var itemCode: String?=null, @SerializedName("sizes") var sizes: ArrayList?=null, - @SerializedName("images") - var images: ArrayList?=null, + @SerializedName("attributes") + var attributes: @RawValue HashMap?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("quantity") + var quantity: Int?=null, - @SerializedName("item_code") - var itemCode: String?=null + @SerializedName("country_of_origin") + var countryOfOrigin: String?=null ): Parcelable { @@ -24613,32 +24613,32 @@ data class GetProducts( - @SerializedName("max_quantity") - var maxQuantity: Int?=null, - - @SerializedName("product_uid") - var productUid: Int?=null, - - @SerializedName("price") - var price: Price?=null, + @SerializedName("auto_add_to_cart") + var autoAddToCart: Boolean?=null, @SerializedName("auto_select") var autoSelect: Boolean?=null, - @SerializedName("allow_remove") - var allowRemove: Boolean?=null, + @SerializedName("min_quantity") + var minQuantity: Int?=null, + + @SerializedName("price") + var price: Price?=null, @SerializedName("sizes") var sizes: ArrayList?=null, - @SerializedName("min_quantity") - var minQuantity: Int?=null, + @SerializedName("max_quantity") + var maxQuantity: Int?=null, - @SerializedName("auto_add_to_cart") - var autoAddToCart: Boolean?=null, + @SerializedName("allow_remove") + var allowRemove: Boolean?=null, @SerializedName("product_details") - var productDetails: LimitedProductData?=null + var productDetails: LimitedProductData?=null, + + @SerializedName("product_uid") + var productUid: Int?=null ): Parcelable { @@ -24673,26 +24673,26 @@ data class GetProductBundleResponse( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, + @SerializedName("products") + var products: ArrayList?=null, + + @SerializedName("logo") + var logo: String?=null, + @SerializedName("page_visibility") var pageVisibility: ArrayList?=null, @SerializedName("meta") var meta: @RawValue HashMap?=null, - @SerializedName("same_store_assignment") - var sameStoreAssignment: Boolean?=null, - - @SerializedName("products") - var products: ArrayList?=null, - - @SerializedName("slug") - var slug: String?=null, + @SerializedName("choice") + var choice: String?=null, @SerializedName("company_id") var companyId: Int?=null, @@ -24700,8 +24700,8 @@ data class GetProductBundleResponse( @SerializedName("name") var name: String?=null, - @SerializedName("choice") - var choice: String?=null + @SerializedName("same_store_assignment") + var sameStoreAssignment: Boolean?=null ): Parcelable { @@ -24724,6 +24724,31 @@ data class GetProductBundleResponse( + + + +} + + +/* + Model: ListSizeGuide +*/ +@Parcelize +data class ListSizeGuide( + + + + @SerializedName("items") + var items: @RawValue ArrayList>?=null, + + @SerializedName("page") + var page: @RawValue HashMap?=null + +): Parcelable { + + + + @@ -24788,50 +24813,50 @@ data class ValidateSizeGuide( - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - - @SerializedName("id") - var id: String?=null, - - @SerializedName("brand_id") - var brandId: Int?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, - @SerializedName("title") - var title: String?=null, + @SerializedName("guide") + var guide: Guide?=null, - @SerializedName("subtitle") - var subtitle: String?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("image") - var image: String?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, - @SerializedName("tag") - var tag: String?=null, + @SerializedName("active") + var active: Boolean?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("brand_id") + var brandId: Int?=null, - @SerializedName("created_on") - var createdOn: String?=null, + @SerializedName("id") + var id: String?=null, @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("description") var description: String?=null, + @SerializedName("tag") + var tag: String?=null, + + @SerializedName("title") + var title: String?=null, + + @SerializedName("image") + var image: String?=null, + @SerializedName("name") var name: String?=null, - @SerializedName("active") - var active: Boolean?=null, + @SerializedName("subtitle") + var subtitle: String?=null, - @SerializedName("guide") - var guide: Guide?=null + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null ): Parcelable { @@ -24896,76 +24921,51 @@ data class SuccessResponse( /* - Model: ListSizeGuide + Model: SizeGuideResponse */ @Parcelize -data class ListSizeGuide( +data class SizeGuideResponse( - @SerializedName("page") - var page: @RawValue HashMap?=null, + @SerializedName("tag") + var tag: String?=null, - @SerializedName("items") - var items: @RawValue ArrayList>?=null - -): Parcelable { - - - - - - - -} - - -/* - Model: SizeGuideResponse -*/ -@Parcelize -data class SizeGuideResponse( - - - - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - - @SerializedName("id") - var id: String?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, @SerializedName("title") var title: String?=null, - @SerializedName("subtitle") - var subtitle: String?=null, - - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("guide") + var guide: @RawValue HashMap?=null, @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("tag") - var tag: String?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, + + @SerializedName("active") + var active: Boolean?=null, + + @SerializedName("id") + var id: String?=null, @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("brand_id") var brandId: Int?=null, @SerializedName("name") var name: String?=null, - @SerializedName("active") - var active: Boolean?=null, + @SerializedName("subtitle") + var subtitle: String?=null, - @SerializedName("guide") - var guide: @RawValue HashMap?=null + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null ): Parcelable { @@ -24988,41 +24988,6 @@ data class SizeGuideResponse( - - - - - - - - - -} - - -/* - Model: GetCatalogConfigurationDetailsProduct -*/ -@Parcelize -data class GetCatalogConfigurationDetailsProduct( - - - - @SerializedName("detail") - var detail: @RawValue HashMap?=null, - - @SerializedName("variant") - var variant: @RawValue HashMap?=null, - - @SerializedName("similar") - var similar: @RawValue HashMap?=null, - - @SerializedName("compare") - var compare: @RawValue HashMap?=null - -): Parcelable { - - @@ -25043,9 +25008,6 @@ data class MetaDataListingFilterMetaResponse( - @SerializedName("display") - var display: String?=null, - @SerializedName("filter_types") var filterTypes: ArrayList?=null, @@ -25053,7 +25015,10 @@ data class MetaDataListingFilterMetaResponse( var units: @RawValue ArrayList>?=null, @SerializedName("key") - var key: String?=null + var key: String?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -25098,11 +25063,11 @@ data class MetaDataListingSortMetaResponse( - @SerializedName("display") - var display: String?=null, - @SerializedName("key") - var key: String?=null + var key: String?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -25157,6 +25122,41 @@ data class MetaDataListingResponse( +} + + +/* + Model: GetCatalogConfigurationDetailsProduct +*/ +@Parcelize +data class GetCatalogConfigurationDetailsProduct( + + + + @SerializedName("variant") + var variant: @RawValue HashMap?=null, + + @SerializedName("similar") + var similar: @RawValue HashMap?=null, + + @SerializedName("detail") + var detail: @RawValue HashMap?=null, + + @SerializedName("compare") + var compare: @RawValue HashMap?=null + +): Parcelable { + + + + + + + + + + + } @@ -25168,11 +25168,11 @@ data class GetCatalogConfigurationMetaData( - @SerializedName("product") - var product: GetCatalogConfigurationDetailsProduct?=null, - @SerializedName("listing") - var listing: MetaDataListingResponse?=null + var listing: MetaDataListingResponse?=null, + + @SerializedName("product") + var product: GetCatalogConfigurationDetailsProduct?=null ): Parcelable { @@ -25193,11 +25193,11 @@ data class ConfigurationBucketPoints( - @SerializedName("end") - var end: Double?=null, - @SerializedName("start") - var start: Double?=null + var start: Double?=null, + + @SerializedName("end") + var end: Double?=null ): Parcelable { @@ -25218,20 +25218,20 @@ data class ConfigurationListingFilterValue( - @SerializedName("bucket_points") - var bucketPoints: ArrayList?=null, - - @SerializedName("condition") - var condition: String?=null, + @SerializedName("map") + var map: @RawValue HashMap?=null, @SerializedName("value") var value: String?=null, + @SerializedName("bucket_points") + var bucketPoints: ArrayList?=null, + @SerializedName("sort") var sort: String?=null, - @SerializedName("map") - var map: @RawValue HashMap?=null + @SerializedName("condition") + var condition: String?=null ): Parcelable { @@ -25258,17 +25258,17 @@ data class ConfigurationListingFilterConfig( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("type") + var type: String?=null, + + @SerializedName("key") + var key: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("priority") - var priority: Int?=null, - - @SerializedName("type") - var type: String?=null, + @SerializedName("logo") + var logo: String?=null, @SerializedName("value_config") var valueConfig: ConfigurationListingFilterValue?=null, @@ -25276,8 +25276,8 @@ data class ConfigurationListingFilterConfig( @SerializedName("name") var name: String?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("priority") + var priority: Int?=null ): Parcelable { @@ -25333,20 +25333,20 @@ data class ConfigurationListingSortConfig( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("key") + var key: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("priority") - var priority: Int?=null, + @SerializedName("logo") + var logo: String?=null, @SerializedName("name") var name: String?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("priority") + var priority: Int?=null ): Parcelable { @@ -25448,17 +25448,17 @@ data class ConfigurationProductVariantConfig( - @SerializedName("logo") - var logo: String?=null, - - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("key") + var key: String?=null, @SerializedName("size") var size: ProductSize?=null, - @SerializedName("priority") - var priority: Int?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + + @SerializedName("logo") + var logo: String?=null, @SerializedName("display_type") var displayType: String?=null, @@ -25466,8 +25466,8 @@ data class ConfigurationProductVariantConfig( @SerializedName("name") var name: String?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("priority") + var priority: Int?=null ): Parcelable { @@ -25518,26 +25518,26 @@ data class ConfigurationProductConfig( - @SerializedName("logo") - var logo: String?=null, - - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("key") + var key: String?=null, @SerializedName("size") var size: ProductSize?=null, - @SerializedName("priority") - var priority: Int?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + + @SerializedName("logo") + var logo: String?=null, @SerializedName("title") var title: String?=null, - @SerializedName("subtitle") - var subtitle: String?=null, + @SerializedName("priority") + var priority: Int?=null, - @SerializedName("key") - var key: String?=null + @SerializedName("subtitle") + var subtitle: String?=null ): Parcelable { @@ -25606,15 +25606,12 @@ data class ConfigurationProduct( /* - Model: AppConfiguration + Model: AppCatalogConfiguration */ @Parcelize -data class AppConfiguration( - +data class AppCatalogConfiguration( - @SerializedName("config_type") - var configType: String?=null, @SerializedName("config_id") var configId: String?=null, @@ -25622,11 +25619,17 @@ data class AppConfiguration( @SerializedName("listing") var listing: ConfigurationListing?=null, - @SerializedName("product") - var product: ConfigurationProduct?=null, - @SerializedName("app_id") - var appId: String?=null + var appId: String?=null, + + @SerializedName("id") + var id: String?=null, + + @SerializedName("config_type") + var configType: String?=null, + + @SerializedName("product") + var product: ConfigurationProduct?=null ): Parcelable { @@ -25642,34 +25645,24 @@ data class AppConfiguration( + + } /* - Model: AppCatalogConfiguration + Model: GetAppCatalogConfiguration */ @Parcelize -data class AppCatalogConfiguration( - +data class GetAppCatalogConfiguration( - @SerializedName("config_type") - var configType: String?=null, - @SerializedName("config_id") - var configId: String?=null, + @SerializedName("is_default") + var isDefault: Boolean?=null, - @SerializedName("listing") - var listing: ConfigurationListing?=null, - - @SerializedName("id") - var id: String?=null, - - @SerializedName("product") - var product: ConfigurationProduct?=null, - - @SerializedName("app_id") - var appId: String?=null + @SerializedName("data") + var data: AppCatalogConfiguration?=null ): Parcelable { @@ -25679,32 +25672,39 @@ data class AppCatalogConfiguration( +} + + +/* + Model: AppConfiguration +*/ +@Parcelize +data class AppConfiguration( + @SerializedName("config_id") + var configId: String?=null, + @SerializedName("listing") + var listing: ConfigurationListing?=null, + @SerializedName("app_id") + var appId: String?=null, + @SerializedName("config_type") + var configType: String?=null, + @SerializedName("product") + var product: ConfigurationProduct?=null + +): Parcelable { -} - - -/* - Model: GetAppCatalogConfiguration -*/ -@Parcelize -data class GetAppCatalogConfiguration( - @SerializedName("is_default") - var isDefault: Boolean?=null, - @SerializedName("data") - var data: AppCatalogConfiguration?=null -): Parcelable { @@ -25748,23 +25748,23 @@ data class EntityConfiguration( - @SerializedName("config_type") - var configType: String?=null, - @SerializedName("config_id") var configId: String?=null, @SerializedName("listing") var listing: GetCatalogConfigurationDetailsSchemaListing?=null, + @SerializedName("app_id") + var appId: String?=null, + @SerializedName("id") var id: String?=null, - @SerializedName("product") - var product: GetCatalogConfigurationDetailsProduct?=null, + @SerializedName("config_type") + var configType: String?=null, - @SerializedName("app_id") - var appId: String?=null + @SerializedName("product") + var product: GetCatalogConfigurationDetailsProduct?=null ): Parcelable { @@ -25807,36 +25807,6 @@ data class GetAppCatalogEntityConfiguration( -} - - -/* - Model: ProductSortOn -*/ -@Parcelize -data class ProductSortOn( - - - - @SerializedName("value") - var value: String?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("is_selected") - var isSelected: Boolean?=null - -): Parcelable { - - - - - - - - - } @@ -25848,39 +25818,39 @@ data class ProductFiltersValue( - @SerializedName("display_format") - var displayFormat: String?=null, - - @SerializedName("count") - var count: Int?=null, - - @SerializedName("is_selected") - var isSelected: Boolean?=null, + @SerializedName("selected_min") + var selectedMin: Int?=null, @SerializedName("currency_code") var currencyCode: String?=null, - @SerializedName("selected_max") - var selectedMax: Int?=null, - @SerializedName("display") var display: String?=null, - @SerializedName("max") - var max: Int?=null, + @SerializedName("is_selected") + var isSelected: Boolean?=null, - @SerializedName("selected_min") - var selectedMin: Int?=null, + @SerializedName("value") + var value: String?=null, @SerializedName("currency_symbol") var currencySymbol: String?=null, - @SerializedName("value") - var value: String?=null, + @SerializedName("count") + var count: Int?=null, + + @SerializedName("max") + var max: Int?=null, @SerializedName("min") var min: Int?=null, + @SerializedName("display_format") + var displayFormat: String?=null, + + @SerializedName("selected_max") + var selectedMax: Int?=null, + @SerializedName("query_format") var queryFormat: String?=null @@ -25926,14 +25896,14 @@ data class ProductFiltersKey( @SerializedName("logo") var logo: String?=null, - @SerializedName("display") - var display: String?=null, + @SerializedName("kind") + var kind: String?=null, @SerializedName("name") var name: String?=null, - @SerializedName("kind") - var kind: String?=null + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -25976,18 +25946,21 @@ data class ProductFilters( /* - Model: GetCollectionQueryOptionResponse + Model: ProductSortOn */ @Parcelize -data class GetCollectionQueryOptionResponse( +data class ProductSortOn( - @SerializedName("sort_on") - var sortOn: ArrayList?=null, + @SerializedName("is_selected") + var isSelected: Boolean?=null, - @SerializedName("filters") - var filters: ArrayList?=null + @SerializedName("value") + var value: String?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -25997,28 +25970,24 @@ data class GetCollectionQueryOptionResponse( + + } /* - Model: Schedule + Model: GetCollectionQueryOptionResponse */ @Parcelize -data class Schedule( - - +data class GetCollectionQueryOptionResponse( - @SerializedName("end") - var end: String?=null, - @SerializedName("start") - var start: String?=null, - @SerializedName("cron") - var cron: String?=null, + @SerializedName("filters") + var filters: ArrayList?=null, - @SerializedName("duration") - var duration: Int?=null + @SerializedName("sort_on") + var sortOn: ArrayList?=null ): Parcelable { @@ -26028,32 +25997,22 @@ data class Schedule( - - - - } /* - Model: UserInfo + Model: BannerImage */ @Parcelize -data class UserInfo( - - +data class BannerImage( - @SerializedName("uid") - var uid: String?=null, - @SerializedName("username") - var username: String?=null, - @SerializedName("user_id") - var userId: String?=null, + @SerializedName("url") + var url: String?=null, - @SerializedName("email") - var email: String?=null + @SerializedName("aspect_ratio") + var aspectRatio: String?=null ): Parcelable { @@ -26063,26 +26022,22 @@ data class UserInfo( - - - - } /* - Model: CollectionImage + Model: ImageUrls */ @Parcelize -data class CollectionImage( +data class ImageUrls( - @SerializedName("aspect_ratio") - var aspectRatio: String?=null, + @SerializedName("landscape") + var landscape: BannerImage?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("portrait") + var portrait: BannerImage?=null ): Parcelable { @@ -26096,18 +26051,21 @@ data class CollectionImage( /* - Model: CollectionBanner + Model: Media1 */ @Parcelize -data class CollectionBanner( +data class Media1( - @SerializedName("portrait") - var portrait: CollectionImage?=null, + @SerializedName("type") + var type: String?=null, - @SerializedName("landscape") - var landscape: CollectionImage?=null + @SerializedName("url") + var url: String?=null, + + @SerializedName("meta") + var meta: @RawValue HashMap?=null ): Parcelable { @@ -26117,22 +26075,24 @@ data class CollectionBanner( + + } /* - Model: SeoDetail + Model: ProductListingActionPage */ @Parcelize -data class SeoDetail( +data class ProductListingActionPage( - @SerializedName("title") - var title: String?=null, + @SerializedName("type") + var type: String?=null, - @SerializedName("description") - var description: String?=null + @SerializedName("query") + var query: @RawValue HashMap?=null ): Parcelable { @@ -26146,18 +26106,18 @@ data class SeoDetail( /* - Model: CollectionBadge + Model: ProductListingAction */ @Parcelize -data class CollectionBadge( +data class ProductListingAction( - @SerializedName("text") - var text: String?=null, + @SerializedName("page") + var page: ProductListingActionPage?=null, - @SerializedName("color") - var color: String?=null + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -26171,91 +26131,71 @@ data class CollectionBadge( /* - Model: CreateCollection + Model: GetCollectionDetailNest */ @Parcelize -data class CreateCollection( - +data class GetCollectionDetailNest( - @SerializedName("meta") - var meta: @RawValue HashMap?=null, - @SerializedName("_schedule") - var schedule: Schedule?=null, + @SerializedName("visible_facets_keys") + var visibleFacetsKeys: ArrayList?=null, - @SerializedName("_locale_language") - var localeLanguage: @RawValue HashMap?=null, + @SerializedName("app_id") + var appId: String?=null, - @SerializedName("published") - var published: Boolean?=null, + @SerializedName("uid") + var uid: String?=null, - @SerializedName("created_by") - var createdBy: UserInfo?=null, + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, + @SerializedName("type") + var type: String?=null, - @SerializedName("visible_facets_keys") - var visibleFacetsKeys: ArrayList?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, @SerializedName("banners") - var banners: CollectionBanner?=null, - - @SerializedName("modified_by") - var modifiedBy: UserInfo?=null, - - @SerializedName("query") - var query: @RawValue HashMap?=null, + var banners: ImageUrls?=null, @SerializedName("logo") - var logo: CollectionImage?=null, + var logo: Media1?=null, - @SerializedName("tags") - var tags: ArrayList?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, - @SerializedName("seo") - var seo: SeoDetail?=null, + @SerializedName("query") + var query: @RawValue HashMap?=null, - @SerializedName("app_id") - var appId: String?=null, + @SerializedName("tag") + var tag: ArrayList?=null, - @SerializedName("sort_on") - var sortOn: String?=null, + @SerializedName("slug") + var slug: String?=null, @SerializedName("badge") - var badge: CollectionBadge?=null, - - @SerializedName("type") - var type: String?=null, + var badge: @RawValue HashMap?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("description") + var description: String?=null, - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, + @SerializedName("cron") + var cron: @RawValue HashMap?=null, @SerializedName("allow_sort") var allowSort: Boolean?=null, - @SerializedName("slug") - var slug: String?=null, - - @SerializedName("description") - var description: String?=null, + @SerializedName("_schedule") + var schedule: @RawValue HashMap?=null, @SerializedName("name") - var name: String?=null - -): Parcelable { - - - - - - + var name: String?=null, + @SerializedName("action") + var action: ProductListingAction?=null +): Parcelable { @@ -26301,18 +26241,21 @@ data class CreateCollection( /* - Model: BannerImage + Model: CollectionListingFilterTag */ @Parcelize -data class BannerImage( +data class CollectionListingFilterTag( - @SerializedName("aspect_ratio") - var aspectRatio: String?=null, + @SerializedName("is_selected") + var isSelected: Boolean?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("name") + var name: String?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -26322,22 +26265,27 @@ data class BannerImage( + + } /* - Model: ImageUrls + Model: CollectionListingFilterType */ @Parcelize -data class ImageUrls( +data class CollectionListingFilterType( - @SerializedName("portrait") - var portrait: BannerImage?=null, + @SerializedName("is_selected") + var isSelected: Boolean?=null, - @SerializedName("landscape") - var landscape: BannerImage?=null + @SerializedName("name") + var name: String?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -26347,67 +26295,52 @@ data class ImageUrls( + + } /* - Model: CollectionCreateResponse + Model: CollectionListingFilter */ @Parcelize -data class CollectionCreateResponse( - - +data class CollectionListingFilter( - @SerializedName("logo") - var logo: BannerImage?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, - @SerializedName("cron") - var cron: @RawValue HashMap?=null, + @SerializedName("tags") + var tags: ArrayList?=null, - @SerializedName("visible_facets_keys") - var visibleFacetsKeys: ArrayList?=null, + @SerializedName("type") + var type: ArrayList?=null - @SerializedName("banners") - var banners: ImageUrls?=null, +): Parcelable { - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, - @SerializedName("allow_sort") - var allowSort: Boolean?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, - @SerializedName("app_id") - var appId: String?=null, - @SerializedName("query") - var query: @RawValue HashMap?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("tag") - var tag: ArrayList?=null, +} + + +/* + Model: GetCollectionListingResponse +*/ +@Parcelize +data class GetCollectionListingResponse( - @SerializedName("_schedule") - var schedule: @RawValue HashMap?=null, - @SerializedName("badge") - var badge: @RawValue HashMap?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("items") + var items: ArrayList?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("page") + var page: Page?=null, - @SerializedName("name") - var name: String?=null + @SerializedName("filters") + var filters: CollectionListingFilter?=null ): Parcelable { @@ -26419,11 +26352,24 @@ data class CollectionCreateResponse( +} + + +/* + Model: SeoDetail +*/ +@Parcelize +data class SeoDetail( + @SerializedName("title") + var title: String?=null, + @SerializedName("description") + var description: String?=null +): Parcelable { @@ -26431,15 +26377,24 @@ data class CollectionCreateResponse( +} + + +/* + Model: CollectionImage +*/ +@Parcelize +data class CollectionImage( + @SerializedName("url") + var url: String?=null, + @SerializedName("aspect_ratio") + var aspectRatio: String?=null - - - - +): Parcelable { @@ -26451,21 +26406,18 @@ data class CollectionCreateResponse( /* - Model: CollectionListingFilterTag + Model: CollectionBanner */ @Parcelize -data class CollectionListingFilterTag( - +data class CollectionBanner( - @SerializedName("display") - var display: String?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("landscape") + var landscape: CollectionImage?=null, - @SerializedName("is_selected") - var isSelected: Boolean?=null + @SerializedName("portrait") + var portrait: CollectionImage?=null ): Parcelable { @@ -26475,27 +26427,28 @@ data class CollectionListingFilterTag( - - } /* - Model: CollectionListingFilterType + Model: UserInfo */ @Parcelize -data class CollectionListingFilterType( +data class UserInfo( - @SerializedName("display") - var display: String?=null, + @SerializedName("username") + var username: String?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("email") + var email: String?=null, - @SerializedName("is_selected") - var isSelected: Boolean?=null + @SerializedName("user_id") + var userId: String?=null, + + @SerializedName("uid") + var uid: String?=null ): Parcelable { @@ -26507,22 +26460,24 @@ data class CollectionListingFilterType( + + } /* - Model: CollectionListingFilter + Model: CollectionBadge */ @Parcelize -data class CollectionListingFilter( +data class CollectionBadge( - @SerializedName("tags") - var tags: ArrayList?=null, + @SerializedName("color") + var color: String?=null, - @SerializedName("type") - var type: ArrayList?=null + @SerializedName("text") + var text: String?=null ): Parcelable { @@ -26536,21 +26491,24 @@ data class CollectionListingFilter( /* - Model: Media1 + Model: Schedule */ @Parcelize -data class Media1( +data class Schedule( - @SerializedName("meta") - var meta: @RawValue HashMap?=null, + @SerializedName("end") + var end: String?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("start") + var start: String?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("cron") + var cron: String?=null, + + @SerializedName("duration") + var duration: Int?=null ): Parcelable { @@ -26562,123 +26520,90 @@ data class Media1( + + } /* - Model: ProductListingActionPage + Model: CreateCollection */ @Parcelize -data class ProductListingActionPage( - - - - @SerializedName("query") - var query: @RawValue HashMap?=null, - - @SerializedName("type") - var type: String?=null - -): Parcelable { - - - +data class CreateCollection( + @SerializedName("visible_facets_keys") + var visibleFacetsKeys: ArrayList?=null, -} - - -/* - Model: ProductListingAction -*/ -@Parcelize -data class ProductListingAction( + @SerializedName("app_id") + var appId: String?=null, + @SerializedName("seo") + var seo: SeoDetail?=null, + @SerializedName("sort_on") + var sortOn: String?=null, - @SerializedName("page") - var page: ProductListingActionPage?=null, + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, @SerializedName("type") - var type: String?=null - -): Parcelable { - - - - - - + var type: String?=null, -} - - -/* - Model: GetCollectionDetailNest -*/ -@Parcelize -data class GetCollectionDetailNest( + @SerializedName("is_visible") + var isVisible: Boolean?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + @SerializedName("banners") + var banners: CollectionBanner?=null, - @SerializedName("cron") - var cron: @RawValue HashMap?=null, + @SerializedName("logo") + var logo: CollectionImage?=null, @SerializedName("meta") var meta: @RawValue HashMap?=null, - @SerializedName("_schedule") - var schedule: @RawValue HashMap?=null, - - @SerializedName("visible_facets_keys") - var visibleFacetsKeys: ArrayList?=null, - - @SerializedName("banners") - var banners: ImageUrls?=null, - @SerializedName("query") var query: @RawValue HashMap?=null, - @SerializedName("logo") - var logo: Media1?=null, + @SerializedName("modified_by") + var modifiedBy: UserInfo?=null, - @SerializedName("uid") - var uid: String?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("app_id") - var appId: String?=null, + @SerializedName("published") + var published: Boolean?=null, - @SerializedName("tag") - var tag: ArrayList?=null, + @SerializedName("tags") + var tags: ArrayList?=null, @SerializedName("badge") - var badge: @RawValue HashMap?=null, + var badge: CollectionBadge?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("description") + var description: String?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("created_by") + var createdBy: UserInfo?=null, - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, @SerializedName("allow_sort") var allowSort: Boolean?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("_locale_language") + var localeLanguage: @RawValue HashMap?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("_schedule") + var schedule: Schedule?=null, @SerializedName("name") - var name: String?=null, - - @SerializedName("action") - var action: ProductListingAction?=null + var name: String?=null ): Parcelable { @@ -26722,27 +26647,7 @@ data class GetCollectionDetailNest( -} - - -/* - Model: GetCollectionListingResponse -*/ -@Parcelize -data class GetCollectionListingResponse( - - - - @SerializedName("filters") - var filters: CollectionListingFilter?=null, - - @SerializedName("page") - var page: Page?=null, - - @SerializedName("items") - var items: ArrayList?=null -): Parcelable { @@ -26756,63 +26661,63 @@ data class GetCollectionListingResponse( /* - Model: CollectionDetailResponse + Model: CollectionCreateResponse */ @Parcelize -data class CollectionDetailResponse( +data class CollectionCreateResponse( - @SerializedName("logo") - var logo: Media1?=null, + @SerializedName("visible_facets_keys") + var visibleFacetsKeys: ArrayList?=null, + + @SerializedName("allow_sort") + var allowSort: Boolean?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("cron") - var cron: @RawValue HashMap?=null, - - @SerializedName("visible_facets_keys") - var visibleFacetsKeys: ArrayList?=null, + @SerializedName("app_id") + var appId: String?=null, @SerializedName("banners") var banners: ImageUrls?=null, - @SerializedName("allow_facets") - var allowFacets: Boolean?=null, + @SerializedName("name") + var name: String?=null, - @SerializedName("allow_sort") - var allowSort: Boolean?=null, + @SerializedName("logo") + var logo: BannerImage?=null, - @SerializedName("meta") - var meta: @RawValue HashMap?=null, + @SerializedName("_schedule") + var schedule: @RawValue HashMap?=null, - @SerializedName("app_id") - var appId: String?=null, + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, @SerializedName("query") var query: @RawValue HashMap?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("description") + var description: String?=null, + + @SerializedName("meta") + var meta: @RawValue HashMap?=null, @SerializedName("tag") var tag: ArrayList?=null, - @SerializedName("_schedule") - var schedule: @RawValue HashMap?=null, - @SerializedName("badge") var badge: @RawValue HashMap?=null, @SerializedName("type") var type: String?=null, - @SerializedName("description") - var description: String?=null, - - @SerializedName("name") - var name: String?=null + @SerializedName("cron") + var cron: @RawValue HashMap?=null ): Parcelable { @@ -26856,80 +26761,65 @@ data class CollectionDetailResponse( /* - Model: UpdateCollection + Model: CollectionDetailResponse */ @Parcelize -data class UpdateCollection( - - - - @SerializedName("meta") - var meta: @RawValue HashMap?=null, +data class CollectionDetailResponse( - @SerializedName("_schedule") - var schedule: Schedule?=null, - @SerializedName("_locale_language") - var localeLanguage: @RawValue HashMap?=null, - - @SerializedName("published") - var published: Boolean?=null, - - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, @SerializedName("visible_facets_keys") var visibleFacetsKeys: ArrayList?=null, - @SerializedName("banners") - var banners: CollectionBanner?=null, - - @SerializedName("modified_by") - var modifiedBy: UserInfo?=null, + @SerializedName("allow_sort") + var allowSort: Boolean?=null, - @SerializedName("query") - var query: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("logo") - var logo: CollectionImage?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, - @SerializedName("tags") - var tags: ArrayList?=null, + @SerializedName("app_id") + var appId: String?=null, - @SerializedName("seo") - var seo: SeoDetail?=null, + @SerializedName("banners") + var banners: ImageUrls?=null, - @SerializedName("sort_on") - var sortOn: String?=null, + @SerializedName("name") + var name: String?=null, - @SerializedName("badge") - var badge: CollectionBadge?=null, + @SerializedName("logo") + var logo: Media1?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("_schedule") + var schedule: @RawValue HashMap?=null, @SerializedName("allow_facets") var allowFacets: Boolean?=null, - @SerializedName("allow_sort") - var allowSort: Boolean?=null, - - @SerializedName("slug") - var slug: String?=null, + @SerializedName("query") + var query: @RawValue HashMap?=null, @SerializedName("description") var description: String?=null, - @SerializedName("name") - var name: String?=null - -): Parcelable { - + @SerializedName("meta") + var meta: @RawValue HashMap?=null, + @SerializedName("tag") + var tag: ArrayList?=null, + @SerializedName("badge") + var badge: @RawValue HashMap?=null, + @SerializedName("type") + var type: String?=null, + @SerializedName("cron") + var cron: @RawValue HashMap?=null +): Parcelable { @@ -26971,40 +26861,75 @@ data class UpdateCollection( /* - Model: CollectionItemRequest + Model: UpdateCollection */ @Parcelize -data class CollectionItemRequest( +data class UpdateCollection( - @SerializedName("page_size") - var pageSize: Int?=null, + @SerializedName("visible_facets_keys") + var visibleFacetsKeys: ArrayList?=null, - @SerializedName("page_no") - var pageNo: Int?=null + @SerializedName("seo") + var seo: SeoDetail?=null, -): Parcelable { + @SerializedName("sort_on") + var sortOn: String?=null, + @SerializedName("allow_facets") + var allowFacets: Boolean?=null, + @SerializedName("is_visible") + var isVisible: Boolean?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + @SerializedName("banners") + var banners: CollectionBanner?=null, + @SerializedName("logo") + var logo: CollectionImage?=null, + @SerializedName("meta") + var meta: @RawValue HashMap?=null, -} - - -/* - Model: UpdatedResponse -*/ -@Parcelize -data class UpdatedResponse( + @SerializedName("query") + var query: @RawValue HashMap?=null, + + @SerializedName("modified_by") + var modifiedBy: UserInfo?=null, + @SerializedName("slug") + var slug: String?=null, + @SerializedName("published") + var published: Boolean?=null, - @SerializedName("message") - var message: String?=null + @SerializedName("tags") + var tags: ArrayList?=null, + + @SerializedName("badge") + var badge: CollectionBadge?=null, + + @SerializedName("description") + var description: String?=null, + + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("allow_sort") + var allowSort: Boolean?=null, + + @SerializedName("_locale_language") + var localeLanguage: @RawValue HashMap?=null, + + @SerializedName("_schedule") + var schedule: Schedule?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -27012,27 +26937,12 @@ data class UpdatedResponse( -} - - -/* - Model: ProductDetailAttribute -*/ -@Parcelize -data class ProductDetailAttribute( - @SerializedName("value") - var value: String?=null, - @SerializedName("type") - var type: String?=null, - @SerializedName("key") - var key: String?=null -): Parcelable { @@ -27042,24 +26952,24 @@ data class ProductDetailAttribute( -} - - -/* - Model: ProductDetailGroupedAttribute -*/ -@Parcelize -data class ProductDetailGroupedAttribute( - @SerializedName("details") - var details: ArrayList?=null, - @SerializedName("title") - var title: String?=null -): Parcelable { + + + + + + + + + + + + + @@ -27078,14 +26988,14 @@ data class Price1( - @SerializedName("currency_symbol") - var currencySymbol: String?=null, + @SerializedName("currency_code") + var currencyCode: String?=null, @SerializedName("max") var max: Double?=null, - @SerializedName("currency_code") - var currencyCode: String?=null, + @SerializedName("currency_symbol") + var currencySymbol: String?=null, @SerializedName("min") var min: Double?=null @@ -27138,9 +27048,6 @@ data class ProductBrand( - @SerializedName("logo") - var logo: Media1?=null, - @SerializedName("uid") var uid: Int?=null, @@ -27148,7 +27055,10 @@ data class ProductBrand( var name: String?=null, @SerializedName("action") - var action: ProductListingAction?=null + var action: ProductListingAction?=null, + + @SerializedName("logo") + var logo: Media1?=null ): Parcelable { @@ -27166,90 +27076,145 @@ data class ProductBrand( /* - Model: ProductListingDetail + Model: ProductDetailAttribute */ @Parcelize -data class ProductListingDetail( +data class ProductDetailAttribute( - @SerializedName("medias") - var medias: ArrayList?=null, + @SerializedName("value") + var value: String?=null, - @SerializedName("has_variant") - var hasVariant: Boolean?=null, + @SerializedName("type") + var type: String?=null, - @SerializedName("product_online_date") - var productOnlineDate: String?=null, + @SerializedName("key") + var key: String?=null - @SerializedName("highlights") - var highlights: ArrayList?=null, +): Parcelable { - @SerializedName("grouped_attributes") - var groupedAttributes: ArrayList?=null, - @SerializedName("price") - var price: ProductListingPrice?=null, - @SerializedName("rating_count") - var ratingCount: Int?=null, - @SerializedName("rating") - var rating: Double?=null, - @SerializedName("promo_meta") - var promoMeta: @RawValue HashMap?=null, - @SerializedName("attributes") - var attributes: @RawValue HashMap?=null, - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("discount") - var discount: String?=null, + +} + + +/* + Model: ProductDetailGroupedAttribute +*/ +@Parcelize +data class ProductDetailGroupedAttribute( + + + + @SerializedName("title") + var title: String?=null, + + @SerializedName("details") + var details: ArrayList?=null + +): Parcelable { + + + + + + + +} + + +/* + Model: ProductListingDetail +*/ +@Parcelize +data class ProductListingDetail( + + @SerializedName("short_description") var shortDescription: String?=null, - @SerializedName("tryouts") - var tryouts: ArrayList?=null, + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("color") + var color: String?=null, + + @SerializedName("type") + var type: String?=null, @SerializedName("item_type") var itemType: String?=null, - @SerializedName("teaser_tag") - var teaserTag: @RawValue HashMap?=null, + @SerializedName("promo_meta") + var promoMeta: @RawValue HashMap?=null, - @SerializedName("similars") - var similars: ArrayList?=null, + @SerializedName("highlights") + var highlights: ArrayList?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("price") + var price: ProductListingPrice?=null, - @SerializedName("color") - var color: String?=null, + @SerializedName("discount") + var discount: String?=null, - @SerializedName("brand") - var brand: ProductBrand?=null, + @SerializedName("attributes") + var attributes: @RawValue HashMap?=null, + + @SerializedName("image_nature") + var imageNature: String?=null, + + @SerializedName("has_variant") + var hasVariant: Boolean?=null, @SerializedName("slug") var slug: String?=null, - @SerializedName("name") - var name: String?=null, - - @SerializedName("sellable") - var sellable: Boolean?=null, + @SerializedName("brand") + var brand: ProductBrand?=null, @SerializedName("description") var description: String?=null, - @SerializedName("image_nature") - var imageNature: String?=null, + @SerializedName("rating_count") + var ratingCount: Int?=null, + + @SerializedName("rating") + var rating: Double?=null, + + @SerializedName("teaser_tag") + var teaserTag: @RawValue HashMap?=null, + + @SerializedName("similars") + var similars: ArrayList?=null, + + @SerializedName("sellable") + var sellable: Boolean?=null, + + @SerializedName("tryouts") + var tryouts: ArrayList?=null, @SerializedName("item_code") - var itemCode: String?=null + var itemCode: String?=null, + + @SerializedName("medias") + var medias: ArrayList?=null, + + @SerializedName("grouped_attributes") + var groupedAttributes: ArrayList?=null, + + @SerializedName("name") + var name: String?=null, + + @SerializedName("product_online_date") + var productOnlineDate: String?=null ): Parcelable { @@ -27318,17 +27283,46 @@ data class GetCollectionItemsResponse( - @SerializedName("sort_on") - var sortOn: ArrayList?=null, + @SerializedName("items") + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null, @SerializedName("filters") var filters: ArrayList?=null, - @SerializedName("page") - var page: Page?=null, + @SerializedName("sort_on") + var sortOn: ArrayList?=null + +): Parcelable { + + + + + + + - @SerializedName("items") - var items: ArrayList?=null + + + +} + + +/* + Model: CollectionItemRequest +*/ +@Parcelize +data class CollectionItemRequest( + + + + @SerializedName("page_size") + var pageSize: Int?=null, + + @SerializedName("page_no") + var pageNo: Int?=null ): Parcelable { @@ -27338,6 +27332,22 @@ data class GetCollectionItemsResponse( +} + + +/* + Model: UpdatedResponse +*/ +@Parcelize +data class UpdatedResponse( + + + + @SerializedName("message") + var message: String?=null + +): Parcelable { + @@ -27353,14 +27363,14 @@ data class CatalogInsightBrand( - @SerializedName("article_freshness") - var articleFreshness: Int?=null, - @SerializedName("available_articles") var availableArticles: Int?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("article_freshness") + var articleFreshness: Int?=null, + + @SerializedName("total_sizes") + var totalSizes: Int?=null, @SerializedName("available_sizes") var availableSizes: Int?=null, @@ -27368,8 +27378,8 @@ data class CatalogInsightBrand( @SerializedName("total_articles") var totalArticles: Int?=null, - @SerializedName("total_sizes") - var totalSizes: Int?=null + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -27398,12 +27408,12 @@ data class CatalogInsightItem( - @SerializedName("out_of_stock_count") - var outOfStockCount: Int?=null, - @SerializedName("sellable_count") var sellableCount: Int?=null, + @SerializedName("out_of_stock_count") + var outOfStockCount: Int?=null, + @SerializedName("count") var count: Int?=null @@ -27453,11 +27463,11 @@ data class CrossSellingData( - @SerializedName("products") - var products: Int?=null, - @SerializedName("articles") - var articles: Int?=null + var articles: Int?=null, + + @SerializedName("products") + var products: Int?=null ): Parcelable { @@ -27503,15 +27513,15 @@ data class OptInPostRequest( - @SerializedName("opt_level") - var optLevel: String?=null, + @SerializedName("enabled") + var enabled: Boolean?=null, @SerializedName("brand_ids") var brandIds: ArrayList?=null, - @SerializedName("enabled") - var enabled: Boolean?=null, - + @SerializedName("opt_level") + var optLevel: String?=null, + @SerializedName("store_ids") var storeIds: ArrayList?=null @@ -27541,17 +27551,23 @@ data class CompanyOptIn( @SerializedName("enabled") var enabled: Boolean?=null, - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, - @SerializedName("opt_level") - var optLevel: String?=null, + @SerializedName("platform") + var platform: String?=null, + + @SerializedName("store_ids") + var storeIds: ArrayList?=null, + + @SerializedName("brand_ids") + var brandIds: ArrayList?=null, @SerializedName("modified_on") var modifiedOn: Int?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("opt_level") + var optLevel: String?=null, @SerializedName("created_on") var createdOn: Int?=null, @@ -27559,14 +27575,8 @@ data class CompanyOptIn( @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("store_ids") - var storeIds: ArrayList?=null, - - @SerializedName("brand_ids") - var brandIds: ArrayList?=null, - - @SerializedName("platform") - var platform: String?=null + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null ): Parcelable { @@ -27603,11 +27613,11 @@ data class GetOptInPlatform( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -27628,15 +27638,15 @@ data class OptinCompanyDetail( + @SerializedName("company_type") + var companyType: String?=null, + @SerializedName("business_type") var businessType: String?=null, @SerializedName("uid") var uid: Int?=null, - @SerializedName("company_type") - var companyType: String?=null, - @SerializedName("name") var name: String?=null @@ -27663,12 +27673,12 @@ data class CompanyBrandDetail( - @SerializedName("brand_name") - var brandName: String?=null, - @SerializedName("brand_id") var brandId: Int?=null, + @SerializedName("brand_name") + var brandName: String?=null, + @SerializedName("total_article") var totalArticle: Int?=null, @@ -27698,11 +27708,11 @@ data class OptinCompanyBrandDetailsView( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -27723,14 +27733,14 @@ data class OptinCompanyMetrics( + @SerializedName("brand") + var brand: Int?=null, + @SerializedName("company") var company: String?=null, @SerializedName("store") - var store: Int?=null, - - @SerializedName("brand") - var brand: Int?=null + var store: Int?=null ): Parcelable { @@ -27753,38 +27763,38 @@ data class StoreDetail( + @SerializedName("display_name") + var displayName: String?=null, + + @SerializedName("created_on") + var createdOn: String?=null, + + @SerializedName("modified_on") + var modifiedOn: String?=null, + @SerializedName("store_code") var storeCode: String?=null, - @SerializedName("store_type") - var storeType: String?=null, - @SerializedName("uid") var uid: Int?=null, - @SerializedName("documents") - var documents: @RawValue ArrayList>?=null, - - @SerializedName("created_on") - var createdOn: String?=null, - - @SerializedName("display_name") - var displayName: String?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("timing") var timing: @RawValue HashMap?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("additional_contacts") var additionalContacts: @RawValue ArrayList>?=null, @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("name") - var name: String?=null + @SerializedName("store_type") + var storeType: String?=null, + + @SerializedName("documents") + var documents: @RawValue ArrayList>?=null ): Parcelable { @@ -27823,11 +27833,11 @@ data class OptinStoreDetails( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -27851,11 +27861,11 @@ data class AttributeMasterFilter( @SerializedName("indexing") var indexing: Boolean?=null, - @SerializedName("priority") - var priority: Int?=null, - @SerializedName("depends_on") - var dependsOn: ArrayList?=null + var dependsOn: ArrayList?=null, + + @SerializedName("priority") + var priority: Int?=null ): Parcelable { @@ -27968,23 +27978,23 @@ data class AttributeMaster( + @SerializedName("mandatory") + var mandatory: Boolean?=null, + @SerializedName("allowed_values") var allowedValues: ArrayList?=null, - @SerializedName("multi") - var multi: Boolean?=null, + @SerializedName("range") + var range: AttributeSchemaRange?=null, @SerializedName("format") var format: String?=null, - @SerializedName("range") - var range: AttributeSchemaRange?=null, - @SerializedName("type") var type: String?=null, - @SerializedName("mandatory") - var mandatory: Boolean?=null + @SerializedName("multi") + var multi: Boolean?=null ): Parcelable { @@ -28013,8 +28023,17 @@ data class GenderDetail( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("slug") + var slug: String?=null, + + @SerializedName("id") + var id: String?=null, + + @SerializedName("is_nested") + var isNested: Boolean?=null, + + @SerializedName("departments") + var departments: ArrayList?=null, @SerializedName("enabled_for_end_consumer") var enabledForEndConsumer: Boolean?=null, @@ -28022,32 +28041,23 @@ data class GenderDetail( @SerializedName("filters") var filters: AttributeMasterFilter?=null, - @SerializedName("id") - var id: String?=null, + @SerializedName("logo") + var logo: String?=null, @SerializedName("meta") var meta: AttributeMasterMeta?=null, - @SerializedName("is_nested") - var isNested: Boolean?=null, - - @SerializedName("slug") - var slug: String?=null, + @SerializedName("description") + var description: String?=null, @SerializedName("details") var details: AttributeMasterDetails?=null, - @SerializedName("departments") - var departments: ArrayList?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("schema") - var schema: AttributeMaster?=null, - - @SerializedName("description") - var description: String?=null, - - @SerializedName("name") - var name: String?=null + var schema: AttributeMaster?=null ): Parcelable { @@ -28088,11 +28098,11 @@ data class ProdcutTemplateCategoriesResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: @RawValue ArrayList>?=null + var items: @RawValue ArrayList>?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -28113,20 +28123,20 @@ data class PTErrorResponse( - @SerializedName("code") - var code: String?=null, + @SerializedName("message") + var message: String?=null, @SerializedName("meta") var meta: @RawValue HashMap?=null, + @SerializedName("errors") + var errors: @RawValue HashMap?=null, + @SerializedName("status") var status: Int?=null, - @SerializedName("message") - var message: String?=null, - - @SerializedName("errors") - var errors: @RawValue HashMap?=null + @SerializedName("code") + var code: String?=null ): Parcelable { @@ -28183,50 +28193,50 @@ data class GetDepartment( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("item_type") + var itemType: String?=null, + + @SerializedName("modified_by") + var modifiedBy: UserSerializer?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("created_by") - var createdBy: UserSerializer?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("priority_order") var priorityOrder: Int?=null, - @SerializedName("modified_by") - var modifiedBy: UserSerializer?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("search") + var search: String?=null, - @SerializedName("created_on") - var createdOn: String?=null, + @SerializedName("logo") + var logo: String?=null, @SerializedName("synonyms") var synonyms: ArrayList?=null, - @SerializedName("page_size") - var pageSize: Int?=null, - - @SerializedName("item_type") - var itemType: String?=null, + @SerializedName("page_no") + var pageNo: Int?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("created_by") + var createdBy: UserSerializer?=null, - @SerializedName("search") - var search: String?=null, + @SerializedName("page_size") + var pageSize: Int?=null, @SerializedName("name") - var name: String?=null, - - @SerializedName("page_no") - var pageNo: Int?=null + var name: String?=null ): Parcelable { @@ -28273,11 +28283,11 @@ data class DepartmentsResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -28298,20 +28308,20 @@ data class DepartmentErrorResponse( - @SerializedName("code") - var code: String?=null, + @SerializedName("message") + var message: String?=null, @SerializedName("meta") var meta: @RawValue HashMap?=null, + @SerializedName("errors") + var errors: @RawValue HashMap?=null, + @SerializedName("status") var status: Int?=null, - @SerializedName("message") - var message: String?=null, - - @SerializedName("errors") - var errors: @RawValue HashMap?=null + @SerializedName("code") + var code: String?=null ): Parcelable { @@ -28327,59 +28337,59 @@ data class DepartmentErrorResponse( -} - - -/* - Model: ProductTemplate -*/ -@Parcelize -data class ProductTemplate( - - - - @SerializedName("logo") - var logo: String?=null, - - @SerializedName("is_active") - var isActive: Boolean?=null, - - @SerializedName("is_physical") - var isPhysical: Boolean?=null, - - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - - @SerializedName("attributes") - var attributes: ArrayList?=null, +} + + +/* + Model: ProductTemplate +*/ +@Parcelize +data class ProductTemplate( - @SerializedName("categories") - var categories: ArrayList?=null, - @SerializedName("is_archived") - var isArchived: Boolean?=null, - @SerializedName("tag") - var tag: String?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, @SerializedName("slug") var slug: String?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, @SerializedName("created_on") var createdOn: String?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, + @SerializedName("departments") var departments: ArrayList?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("is_archived") + var isArchived: Boolean?=null, + + @SerializedName("categories") + var categories: ArrayList?=null, + + @SerializedName("logo") + var logo: String?=null, @SerializedName("description") var description: String?=null, + @SerializedName("attributes") + var attributes: ArrayList?=null, + + @SerializedName("tag") + var tag: String?=null, + + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null, + + @SerializedName("is_physical") + var isPhysical: Boolean?=null, + @SerializedName("name") var name: String?=null @@ -28428,11 +28438,11 @@ data class TemplatesResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ProductTemplate?=null + var items: ProductTemplate?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -28453,39 +28463,39 @@ data class TemplateDetails( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("is_physical") - var isPhysical: Boolean?=null, - - @SerializedName("attributes") - var attributes: ArrayList?=null, - @SerializedName("id") var id: String?=null, - @SerializedName("categories") - var categories: ArrayList?=null, + @SerializedName("departments") + var departments: ArrayList?=null, @SerializedName("is_archived") var isArchived: Boolean?=null, - @SerializedName("tag") - var tag: String?=null, - - @SerializedName("slug") - var slug: String?=null, + @SerializedName("categories") + var categories: ArrayList?=null, - @SerializedName("departments") - var departments: ArrayList?=null, + @SerializedName("logo") + var logo: String?=null, @SerializedName("description") var description: String?=null, + @SerializedName("attributes") + var attributes: ArrayList?=null, + + @SerializedName("tag") + var tag: String?=null, + + @SerializedName("is_physical") + var isPhysical: Boolean?=null, + @SerializedName("name") var name: String?=null @@ -28528,95 +28538,95 @@ data class Properties( - @SerializedName("multi_size") - var multiSize: @RawValue HashMap?=null, - - @SerializedName("country_of_origin") - var countryOfOrigin: @RawValue HashMap?=null, + @SerializedName("short_description") + var shortDescription: @RawValue HashMap?=null, - @SerializedName("no_of_boxes") - var noOfBoxes: @RawValue HashMap?=null, + @SerializedName("command") + var command: @RawValue HashMap?=null, @SerializedName("return_config") var returnConfig: @RawValue HashMap?=null, - @SerializedName("size_guide") - var sizeGuide: @RawValue HashMap?=null, + @SerializedName("custom_order") + var customOrder: @RawValue HashMap?=null, - @SerializedName("sizes") - var sizes: @RawValue HashMap?=null, + @SerializedName("moq") + var moq: @RawValue HashMap?=null, @SerializedName("currency") var currency: @RawValue HashMap?=null, - @SerializedName("custom_order") - var customOrder: @RawValue HashMap?=null, + @SerializedName("size_guide") + var sizeGuide: @RawValue HashMap?=null, + + @SerializedName("item_type") + var itemType: @RawValue HashMap?=null, + + @SerializedName("is_active") + var isActive: @RawValue HashMap?=null, @SerializedName("highlights") var highlights: @RawValue HashMap?=null, - @SerializedName("hsn_code") - var hsnCode: @RawValue HashMap?=null, - - @SerializedName("trader_type") - var traderType: @RawValue HashMap?=null, + @SerializedName("is_dependent") + var isDependent: @RawValue HashMap?=null, @SerializedName("trader") var trader: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: @RawValue HashMap?=null, + @SerializedName("tags") var tags: @RawValue HashMap?=null, - @SerializedName("short_description") - var shortDescription: @RawValue HashMap?=null, - @SerializedName("category_slug") var categorySlug: @RawValue HashMap?=null, - @SerializedName("moq") - var moq: @RawValue HashMap?=null, - - @SerializedName("command") - var command: @RawValue HashMap?=null, - - @SerializedName("item_type") - var itemType: @RawValue HashMap?=null, - - @SerializedName("teaser_tag") - var teaserTag: @RawValue HashMap?=null, - - @SerializedName("product_publish") - var productPublish: @RawValue HashMap?=null, + @SerializedName("trader_type") + var traderType: @RawValue HashMap?=null, - @SerializedName("brand_uid") - var brandUid: @RawValue HashMap?=null, + @SerializedName("no_of_boxes") + var noOfBoxes: @RawValue HashMap?=null, @SerializedName("variants") var variants: @RawValue HashMap?=null, - @SerializedName("is_active") - var isActive: @RawValue HashMap?=null, + @SerializedName("description") + var description: @RawValue HashMap?=null, - @SerializedName("media") - var media: @RawValue HashMap?=null, + @SerializedName("multi_size") + var multiSize: @RawValue HashMap?=null, - @SerializedName("is_dependent") - var isDependent: @RawValue HashMap?=null, + @SerializedName("teaser_tag") + var teaserTag: @RawValue HashMap?=null, - @SerializedName("slug") - var slug: @RawValue HashMap?=null, + @SerializedName("country_of_origin") + var countryOfOrigin: @RawValue HashMap?=null, + + @SerializedName("hsn_code") + var hsnCode: @RawValue HashMap?=null, @SerializedName("product_group_tag") var productGroupTag: @RawValue HashMap?=null, - @SerializedName("description") - var description: @RawValue HashMap?=null, + @SerializedName("sizes") + var sizes: @RawValue HashMap?=null, + + @SerializedName("item_code") + var itemCode: @RawValue HashMap?=null, + + @SerializedName("product_publish") + var productPublish: @RawValue HashMap?=null, + + @SerializedName("brand_uid") + var brandUid: @RawValue HashMap?=null, @SerializedName("name") var name: @RawValue HashMap?=null, - @SerializedName("item_code") - var itemCode: @RawValue HashMap?=null + @SerializedName("media") + var media: @RawValue HashMap?=null ): Parcelable { @@ -28693,23 +28703,23 @@ data class GlobalValidation( - @SerializedName("properties") - var properties: Properties?=null, - - @SerializedName("title") - var title: String?=null, - @SerializedName("required") var required: ArrayList?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("definitions") + var definitions: @RawValue HashMap?=null, + + @SerializedName("properties") + var properties: Properties?=null, @SerializedName("description") var description: String?=null, - @SerializedName("definitions") - var definitions: @RawValue HashMap?=null + @SerializedName("title") + var title: String?=null, + + @SerializedName("type") + var type: String?=null ): Parcelable { @@ -28813,11 +28823,11 @@ data class HSNData( - @SerializedName("country_of_origin") - var countryOfOrigin: ArrayList?=null, - @SerializedName("hsn_code") - var hsnCode: ArrayList?=null + var hsnCode: ArrayList?=null, + + @SerializedName("country_of_origin") + var countryOfOrigin: ArrayList?=null ): Parcelable { @@ -28888,14 +28898,14 @@ data class ProductDownloadItemsData( - @SerializedName("templates") - var templates: ArrayList?=null, - @SerializedName("type") var type: String?=null, @SerializedName("brand") - var brand: ArrayList?=null + var brand: ArrayList?=null, + + @SerializedName("templates") + var templates: ArrayList?=null ): Parcelable { @@ -28918,35 +28928,35 @@ data class ProductDownloadsItems( - @SerializedName("created_by") - var createdBy: VerifiedBy?=null, + @SerializedName("completed_on") + var completedOn: String?=null, + + @SerializedName("trigger_on") + var triggerOn: String?=null, @SerializedName("id") var id: String?=null, - @SerializedName("data") - var data: ProductDownloadItemsData?=null, + @SerializedName("template_tags") + var templateTags: @RawValue HashMap?=null, @SerializedName("task_id") var taskId: String?=null, - @SerializedName("status") - var status: String?=null, - - @SerializedName("template_tags") - var templateTags: @RawValue HashMap?=null, - @SerializedName("seller_id") var sellerId: Double?=null, - @SerializedName("completed_on") - var completedOn: String?=null, + @SerializedName("created_by") + var createdBy: VerifiedBy?=null, @SerializedName("url") var url: String?=null, - @SerializedName("trigger_on") - var triggerOn: String?=null + @SerializedName("status") + var status: String?=null, + + @SerializedName("data") + var data: ProductDownloadItemsData?=null ): Parcelable { @@ -29008,11 +29018,11 @@ data class ProductConfigurationDownloads( - @SerializedName("multivalue") - var multivalue: Boolean?=null, - @SerializedName("data") - var data: @RawValue ArrayList>?=null + var data: @RawValue ArrayList>?=null, + + @SerializedName("multivalue") + var multivalue: Boolean?=null ): Parcelable { @@ -29026,21 +29036,21 @@ data class ProductConfigurationDownloads( /* - Model: Media2 + Model: Hierarchy */ @Parcelize -data class Media2( +data class Hierarchy( - @SerializedName("logo") - var logo: String?=null, + @SerializedName("l1") + var l1: Int?=null, - @SerializedName("portrait") - var portrait: String?=null, + @SerializedName("l2") + var l2: Int?=null, - @SerializedName("landscape") - var landscape: String?=null + @SerializedName("department") + var department: Int?=null ): Parcelable { @@ -29088,12 +29098,12 @@ data class CategoryMapping( - @SerializedName("facebook") - var facebook: CategoryMappingValues?=null, - @SerializedName("ajio") var ajio: CategoryMappingValues?=null, + @SerializedName("facebook") + var facebook: CategoryMappingValues?=null, + @SerializedName("google") var google: CategoryMappingValues?=null @@ -29111,21 +29121,21 @@ data class CategoryMapping( /* - Model: Hierarchy + Model: Media2 */ @Parcelize -data class Hierarchy( +data class Media2( - @SerializedName("l1") - var l1: Int?=null, + @SerializedName("landscape") + var landscape: String?=null, - @SerializedName("l2") - var l2: Int?=null, + @SerializedName("portrait") + var portrait: String?=null, - @SerializedName("department") - var department: Int?=null + @SerializedName("logo") + var logo: String?=null ): Parcelable { @@ -29141,45 +29151,63 @@ data class Hierarchy( /* - Model: CategoryRequestBody + Model: Category */ @Parcelize -data class CategoryRequestBody( +data class Category( + + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, + + @SerializedName("slug") + var slug: String?=null, @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("priority") - var priority: Int?=null, - - @SerializedName("media") - var media: Media2?=null, + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("hierarchy") + var hierarchy: ArrayList?=null, @SerializedName("tryouts") var tryouts: ArrayList?=null, - @SerializedName("synonyms") - var synonyms: ArrayList?=null, + @SerializedName("created_on") + var createdOn: String?=null, @SerializedName("departments") var departments: ArrayList?=null, + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("modified_on") + var modifiedOn: String?=null, + + @SerializedName("_id") + var id: String?=null, + @SerializedName("marketplaces") var marketplaces: CategoryMapping?=null, + @SerializedName("synonyms") + var synonyms: ArrayList?=null, + + @SerializedName("priority") + var priority: Int?=null, + @SerializedName("level") var level: Int?=null, - @SerializedName("hierarchy") - var hierarchy: ArrayList?=null, - @SerializedName("name") - var name: String?=null + var name: String?=null, + + @SerializedName("media") + var media: Media2?=null ): Parcelable { @@ -29198,6 +29226,18 @@ data class CategoryRequestBody( + + + + + + + + + + + + @@ -29211,18 +29251,18 @@ data class CategoryRequestBody( /* - Model: CategoryCreateResponse + Model: CategoryResponse */ @Parcelize -data class CategoryCreateResponse( +data class CategoryResponse( - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("items") + var items: ArrayList?=null, - @SerializedName("message") - var message: String?=null + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -29236,77 +29276,47 @@ data class CategoryCreateResponse( /* - Model: Category + Model: CategoryRequestBody */ @Parcelize -data class Category( +data class CategoryRequestBody( + @SerializedName("slug") + var slug: String?=null, + @SerializedName("is_active") var isActive: Boolean?=null, - @SerializedName("priority") - var priority: Int?=null, - - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - - @SerializedName("_id") - var id: String?=null, - - @SerializedName("uid") - var uid: Int?=null, - - @SerializedName("media") - var media: Media2?=null, - - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, - - @SerializedName("slug") - var slug: String?=null, + @SerializedName("hierarchy") + var hierarchy: ArrayList?=null, @SerializedName("tryouts") var tryouts: ArrayList?=null, - @SerializedName("synonyms") - var synonyms: ArrayList?=null, - - @SerializedName("created_on") - var createdOn: String?=null, - @SerializedName("departments") var departments: ArrayList?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("marketplaces") var marketplaces: CategoryMapping?=null, + @SerializedName("synonyms") + var synonyms: ArrayList?=null, + + @SerializedName("priority") + var priority: Int?=null, + @SerializedName("level") var level: Int?=null, - @SerializedName("hierarchy") - var hierarchy: ArrayList?=null, - @SerializedName("name") - var name: String?=null - -): Parcelable { - - - - - - - - - - + var name: String?=null, + @SerializedName("media") + var media: Media2?=null +): Parcelable { @@ -29336,18 +29346,18 @@ data class Category( /* - Model: CategoryResponse + Model: CategoryCreateResponse */ @Parcelize -data class CategoryResponse( +data class CategoryCreateResponse( - @SerializedName("page") - var page: Page?=null, + @SerializedName("message") + var message: String?=null, - @SerializedName("items") - var items: ArrayList?=null + @SerializedName("uid") + var uid: Int?=null ): Parcelable { @@ -29406,53 +29416,28 @@ data class SingleCategoryResponse( /* - Model: ReturnConfig + Model: Logo */ @Parcelize -data class ReturnConfig( - - - - @SerializedName("returnable") - var returnable: Boolean?=null, - - @SerializedName("time") - var time: Int?=null, - - @SerializedName("unit") - var unit: String?=null - -): Parcelable { - - - - - - +data class Logo( -} - - -/* - Model: CustomOrder -*/ -@Parcelize -data class CustomOrder( + @SerializedName("url") + var url: String?=null, + @SerializedName("secure_url") + var secureUrl: String?=null, + @SerializedName("aspect_ratio") + var aspectRatio: String?=null, - @SerializedName("manufacturing_time") - var manufacturingTime: Int?=null, + @SerializedName("aspect_ratio_f") + var aspectRatioF: Int?=null - @SerializedName("is_custom_order") - var isCustomOrder: Boolean?=null, +): Parcelable { - @SerializedName("manufacturing_time_unit") - var manufacturingTimeUnit: String?=null -): Parcelable { @@ -29466,18 +29451,21 @@ data class CustomOrder( /* - Model: Trader + Model: Brand */ @Parcelize -data class Trader( +data class Brand( + @SerializedName("uid") + var uid: Int?=null, + @SerializedName("name") var name: String?=null, - @SerializedName("address") - var address: String?=null + @SerializedName("logo") + var logo: Logo?=null ): Parcelable { @@ -29487,54 +29475,36 @@ data class Trader( + + } /* - Model: OrderQuantity + Model: Image */ @Parcelize -data class OrderQuantity( - - - - @SerializedName("is_set") - var isSet: Boolean?=null, - - @SerializedName("maximum") - var maximum: Int?=null, - - @SerializedName("minimum") - var minimum: Int?=null - -): Parcelable { - - - +data class Image( + @SerializedName("url") + var url: String?=null, + @SerializedName("secure_url") + var secureUrl: String?=null, + @SerializedName("aspect_ratio") + var aspectRatio: String?=null, -} - - -/* - Model: TeaserTag -*/ -@Parcelize -data class TeaserTag( + @SerializedName("aspect_ratio_f") + var aspectRatioF: Double?=null +): Parcelable { - @SerializedName("tag") - var tag: String?=null, - @SerializedName("url") - var url: String?=null -): Parcelable { @@ -29546,18 +29516,18 @@ data class TeaserTag( /* - Model: ProductPublish + Model: ProductPublished */ @Parcelize -data class ProductPublish( - +data class ProductPublished( - @SerializedName("is_set") - var isSet: Boolean?=null, @SerializedName("product_online_date") - var productOnlineDate: String?=null + var productOnlineDate: Int?=null, + + @SerializedName("is_set") + var isSet: Boolean?=null ): Parcelable { @@ -29571,125 +29541,135 @@ data class ProductPublish( /* - Model: ProductCreateUpdate + Model: Product */ @Parcelize -data class ProductCreateUpdate( +data class Product( - @SerializedName("multi_size") - var multiSize: Boolean?=null, + @SerializedName("category_uid") + var categoryUid: Int?=null, - @SerializedName("country_of_origin") - var countryOfOrigin: String?=null, + @SerializedName("id") + var id: String?=null, - @SerializedName("no_of_boxes") - var noOfBoxes: Int?=null, + @SerializedName("short_description") + var shortDescription: String?=null, - @SerializedName("return_config") - var returnConfig: ReturnConfig?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("is_set") - var isSet: Boolean?=null, + @SerializedName("l3_mapping") + var l3Mapping: ArrayList?=null, - @SerializedName("size_guide") - var sizeGuide: String?=null, + @SerializedName("color") + var color: String?=null, + + @SerializedName("custom_order") + var customOrder: @RawValue HashMap?=null, + + @SerializedName("moq") + var moq: @RawValue HashMap?=null, @SerializedName("currency") var currency: String?=null, - @SerializedName("custom_order") - var customOrder: CustomOrder?=null, + @SerializedName("size_guide") + var sizeGuide: String?=null, - @SerializedName("highlights") - var highlights: ArrayList?=null, + @SerializedName("item_type") + var itemType: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, - @SerializedName("hsn_code") - var hsnCode: String?=null, + @SerializedName("highlights") + var highlights: ArrayList?=null, - @SerializedName("trader_type") - var traderType: String?=null, + @SerializedName("template_tag") + var templateTag: String?=null, - @SerializedName("trader") - var trader: Trader?=null, + @SerializedName("image_nature") + var imageNature: String?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("is_dependent") + var isDependent: Boolean?=null, - @SerializedName("tags") - var tags: ArrayList?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("short_description") - var shortDescription: String?=null, + @SerializedName("all_sizes") + var allSizes: @RawValue ArrayList>?=null, @SerializedName("category_slug") var categorySlug: String?=null, - @SerializedName("moq") - var moq: OrderQuantity?=null, + @SerializedName("brand") + var brand: Brand?=null, - @SerializedName("item_type") - var itemType: String?=null, + @SerializedName("variants") + var variants: @RawValue HashMap?=null, - @SerializedName("teaser_tag") - var teaserTag: TeaserTag?=null, + @SerializedName("description") + var description: String?=null, - @SerializedName("template_tag") - var templateTag: String?=null, + @SerializedName("multi_size") + var multiSize: Boolean?=null, + + @SerializedName("is_physical") + var isPhysical: Boolean?=null, + + @SerializedName("country_of_origin") + var countryOfOrigin: String?=null, + + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("images") + var images: ArrayList?=null, + + @SerializedName("hsn_code") + var hsnCode: String?=null, + + @SerializedName("primary_color") + var primaryColor: String?=null, @SerializedName("departments") var departments: ArrayList?=null, - @SerializedName("change_request_id") - var changeRequestId: String?=null, + @SerializedName("sizes") + var sizes: @RawValue ArrayList>?=null, + + @SerializedName("item_code") + var itemCode: String?=null, @SerializedName("product_publish") - var productPublish: ProductPublish?=null, + var productPublish: ProductPublished?=null, + + @SerializedName("is_set") + var isSet: Boolean?=null, @SerializedName("brand_uid") var brandUid: Int?=null, - @SerializedName("variants") - var variants: @RawValue HashMap?=null, - - @SerializedName("is_active") - var isActive: Boolean?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("media") - var media: ArrayList?=null, + var media: ArrayList?=null + +): Parcelable { - @SerializedName("is_image_less_product") - var isImageLessProduct: Boolean?=null, - @SerializedName("is_dependent") - var isDependent: Boolean?=null, - @SerializedName("requester") - var requester: String?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("product_group_tag") - var productGroupTag: ArrayList?=null, - @SerializedName("company_id") - var companyId: Int?=null, - @SerializedName("description") - var description: String?=null, - @SerializedName("name") - var name: String?=null, - @SerializedName("item_code") - var itemCode: String?=null -): Parcelable { @@ -29755,11 +29735,26 @@ data class ProductCreateUpdate( + + +} + + +/* + Model: ProductListingResponse +*/ +@Parcelize +data class ProductListingResponse( + @SerializedName("items") + var items: ArrayList?=null, + @SerializedName("page") + var page: Page?=null +): Parcelable { @@ -29771,24 +29766,21 @@ data class ProductCreateUpdate( /* - Model: Image + Model: ReturnConfig */ @Parcelize -data class Image( - +data class ReturnConfig( - @SerializedName("secure_url") - var secureUrl: String?=null, - @SerializedName("aspect_ratio") - var aspectRatio: String?=null, + @SerializedName("time") + var time: Int?=null, - @SerializedName("aspect_ratio_f") - var aspectRatioF: Double?=null, + @SerializedName("unit") + var unit: String?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("returnable") + var returnable: Boolean?=null ): Parcelable { @@ -29800,24 +29792,55 @@ data class Image( +} + + +/* + Model: CustomOrder +*/ +@Parcelize +data class CustomOrder( + + + + @SerializedName("manufacturing_time_unit") + var manufacturingTimeUnit: String?=null, + + @SerializedName("is_custom_order") + var isCustomOrder: Boolean?=null, + + @SerializedName("manufacturing_time") + var manufacturingTime: Int?=null + +): Parcelable { + + + + + + + } /* - Model: ProductPublished + Model: OrderQuantity */ @Parcelize -data class ProductPublished( +data class OrderQuantity( - @SerializedName("is_set") - var isSet: Boolean?=null, + @SerializedName("minimum") + var minimum: Int?=null, - @SerializedName("product_online_date") - var productOnlineDate: Int?=null + @SerializedName("maximum") + var maximum: Int?=null, + + @SerializedName("is_set") + var isSet: Boolean?=null ): Parcelable { @@ -29827,35 +29850,52 @@ data class ProductPublished( + + } /* - Model: Logo + Model: Trader */ @Parcelize -data class Logo( +data class Trader( - @SerializedName("secure_url") - var secureUrl: String?=null, + @SerializedName("address") + var address: String?=null, - @SerializedName("aspect_ratio") - var aspectRatio: String?=null, + @SerializedName("name") + var name: String?=null - @SerializedName("aspect_ratio_f") - var aspectRatioF: Int?=null, +): Parcelable { - @SerializedName("url") - var url: String?=null -): Parcelable { +} + + +/* + Model: TeaserTag +*/ +@Parcelize +data class TeaserTag( + + + + @SerializedName("url") + var url: String?=null, + + @SerializedName("tag") + var tag: String?=null + +): Parcelable { + @@ -29866,21 +29906,18 @@ data class Logo( /* - Model: Brand + Model: ProductPublish */ @Parcelize -data class Brand( - +data class ProductPublish( - @SerializedName("logo") - var logo: Logo?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("product_online_date") + var productOnlineDate: String?=null, - @SerializedName("name") - var name: String?=null + @SerializedName("is_set") + var isSet: Boolean?=null ): Parcelable { @@ -29890,139 +29927,135 @@ data class Brand( - - } /* - Model: Product + Model: ProductCreateUpdate */ @Parcelize -data class Product( +data class ProductCreateUpdate( - @SerializedName("multi_size") - var multiSize: Boolean?=null, + @SerializedName("requester") + var requester: String?=null, - @SerializedName("country_of_origin") - var countryOfOrigin: String?=null, + @SerializedName("short_description") + var shortDescription: String?=null, - @SerializedName("category_uid") - var categoryUid: Int?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("is_set") - var isSet: Boolean?=null, + @SerializedName("return_config") + var returnConfig: ReturnConfig?=null, - @SerializedName("size_guide") - var sizeGuide: String?=null, + @SerializedName("custom_order") + var customOrder: CustomOrder?=null, - @SerializedName("sizes") - var sizes: @RawValue ArrayList>?=null, + @SerializedName("moq") + var moq: OrderQuantity?=null, @SerializedName("currency") var currency: String?=null, - @SerializedName("is_physical") - var isPhysical: Boolean?=null, + @SerializedName("change_request_id") + var changeRequestId: String?=null, - @SerializedName("custom_order") - var customOrder: @RawValue HashMap?=null, + @SerializedName("size_guide") + var sizeGuide: String?=null, + + @SerializedName("item_type") + var itemType: String?=null, + + @SerializedName("is_active") + var isActive: Boolean?=null, @SerializedName("highlights") var highlights: ArrayList?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, + @SerializedName("template_tag") + var templateTag: String?=null, - @SerializedName("all_sizes") - var allSizes: @RawValue ArrayList>?=null, + @SerializedName("company_id") + var companyId: Int?=null, - @SerializedName("images") - var images: ArrayList?=null, + @SerializedName("is_dependent") + var isDependent: Boolean?=null, - @SerializedName("hsn_code") - var hsnCode: String?=null, + @SerializedName("trader") + var trader: Trader?=null, - @SerializedName("id") - var id: String?=null, + @SerializedName("bulk_job_id") + var bulkJobId: String?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("short_description") - var shortDescription: String?=null, + @SerializedName("tags") + var tags: ArrayList?=null, @SerializedName("category_slug") var categorySlug: String?=null, - @SerializedName("moq") - var moq: @RawValue HashMap?=null, - - @SerializedName("item_type") - var itemType: String?=null, - - @SerializedName("template_tag") - var templateTag: String?=null, - - @SerializedName("departments") - var departments: ArrayList?=null, - - @SerializedName("color") - var color: String?=null, - - @SerializedName("product_publish") - var productPublish: ProductPublished?=null, - - @SerializedName("l3_mapping") - var l3Mapping: ArrayList?=null, + @SerializedName("trader_type") + var traderType: String?=null, - @SerializedName("brand_uid") - var brandUid: Int?=null, + @SerializedName("no_of_boxes") + var noOfBoxes: Int?=null, @SerializedName("variants") var variants: @RawValue HashMap?=null, - @SerializedName("is_active") - var isActive: Boolean?=null, - - @SerializedName("brand") - var brand: Brand?=null, + @SerializedName("description") + var description: String?=null, - @SerializedName("media") - var media: ArrayList?=null, + @SerializedName("multi_size") + var multiSize: Boolean?=null, - @SerializedName("is_dependent") - var isDependent: Boolean?=null, + @SerializedName("teaser_tag") + var teaserTag: TeaserTag?=null, - @SerializedName("primary_color") - var primaryColor: String?=null, + @SerializedName("country_of_origin") + var countryOfOrigin: String?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("hsn_code") + var hsnCode: String?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("product_group_tag") + var productGroupTag: ArrayList?=null, - @SerializedName("image_nature") - var imageNature: String?=null, + @SerializedName("departments") + var departments: ArrayList?=null, @SerializedName("item_code") - var itemCode: String?=null - -): Parcelable { + var itemCode: String?=null, + @SerializedName("product_publish") + var productPublish: ProductPublish?=null, + @SerializedName("is_image_less_product") + var isImageLessProduct: Boolean?=null, + @SerializedName("is_set") + var isSet: Boolean?=null, + @SerializedName("brand_uid") + var brandUid: Int?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("action") + var action: String?=null, + @SerializedName("media") + var media: ArrayList?=null +): Parcelable { @@ -30092,24 +30125,11 @@ data class Product( -} - - -/* - Model: ProductListingResponse -*/ -@Parcelize -data class ProductListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null -): Parcelable { @@ -30141,24 +30161,21 @@ data class ValidateProduct( /* - Model: UserInfo1 + Model: UserDetail */ @Parcelize -data class UserInfo1( - +data class UserDetail( - @SerializedName("uid") - var uid: String?=null, - @SerializedName("username") - var username: String?=null, + @SerializedName("full_name") + var fullName: String?=null, @SerializedName("user_id") var userId: String?=null, - @SerializedName("email") - var email: String?=null + @SerializedName("username") + var username: String?=null ): Parcelable { @@ -30170,71 +30187,76 @@ data class UserInfo1( - - } /* - Model: BulkJob + Model: ProductBulkRequest */ @Parcelize -data class BulkJob( - - +data class ProductBulkRequest( - @SerializedName("is_active") - var isActive: Boolean?=null, - @SerializedName("created_by") - var createdBy: UserInfo1?=null, @SerializedName("total") var total: Int?=null, + @SerializedName("modified_by") + var modifiedBy: UserDetail?=null, + @SerializedName("file_path") var filePath: String?=null, - @SerializedName("tracking_url") - var trackingUrl: String?=null, + @SerializedName("cancelled") + var cancelled: Int?=null, - @SerializedName("modified_by") - var modifiedBy: UserInfo1?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + + @SerializedName("cancelled_records") + var cancelledRecords: ArrayList?=null, + + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("cancelled") - var cancelled: Int?=null, + @SerializedName("failed_records") + var failedRecords: ArrayList?=null, - @SerializedName("cancelled_records") - var cancelledRecords: @RawValue ArrayList>?=null, + @SerializedName("failed") + var failed: Int?=null, + + @SerializedName("succeed") + var succeed: Int?=null, + + @SerializedName("template_tag") + var templateTag: String?=null, @SerializedName("company_id") var companyId: Int?=null, + @SerializedName("created_by") + var createdBy: UserDetail?=null, + + @SerializedName("template") + var template: ProductTemplate?=null, + @SerializedName("stage") - var stage: String?=null, + var stage: String?=null + +): Parcelable { + + + - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("template_tag") - var templateTag: String?=null, - @SerializedName("custom_template_tag") - var customTemplateTag: String?=null, - @SerializedName("succeed") - var succeed: Int?=null, - @SerializedName("failed") - var failed: Int?=null, - @SerializedName("failed_records") - var failedRecords: @RawValue ArrayList>?=null -): Parcelable { @@ -30260,11 +30282,24 @@ data class BulkJob( +} + + +/* + Model: ProductBulkRequestList +*/ +@Parcelize +data class ProductBulkRequestList( + @SerializedName("items") + var items: ProductBulkRequest?=null, + @SerializedName("page") + var page: Page?=null +): Parcelable { @@ -30276,21 +30311,24 @@ data class BulkJob( /* - Model: UserDetail + Model: UserInfo1 */ @Parcelize -data class UserDetail( - +data class UserInfo1( - @SerializedName("user_id") - var userId: String?=null, @SerializedName("username") var username: String?=null, - @SerializedName("full_name") - var fullName: String?=null + @SerializedName("email") + var email: String?=null, + + @SerializedName("user_id") + var userId: String?=null, + + @SerializedName("uid") + var uid: String?=null ): Parcelable { @@ -30302,76 +30340,71 @@ data class UserDetail( + + } /* - Model: ProductBulkRequest + Model: BulkJob */ @Parcelize -data class ProductBulkRequest( - - +data class BulkJob( - @SerializedName("is_active") - var isActive: Boolean?=null, - @SerializedName("created_by") - var createdBy: UserDetail?=null, @SerializedName("total") var total: Int?=null, - @SerializedName("file_path") - var filePath: String?=null, - - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("modified_by") - var modifiedBy: UserDetail?=null, - - @SerializedName("created_on") - var createdOn: String?=null, - - @SerializedName("succeed") - var succeed: Int?=null, + var modifiedBy: UserInfo1?=null, @SerializedName("cancelled") var cancelled: Int?=null, - @SerializedName("template") - var template: ProductTemplate?=null, + @SerializedName("file_path") + var filePath: String?=null, - @SerializedName("company_id") - var companyId: Int?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, - @SerializedName("stage") - var stage: String?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("template_tag") - var templateTag: String?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("cancelled_records") - var cancelledRecords: ArrayList?=null, - - @SerializedName("failed") - var failed: Int?=null, + var cancelledRecords: @RawValue ArrayList>?=null, @SerializedName("failed_records") - var failedRecords: ArrayList?=null - -): Parcelable { - + var failedRecords: @RawValue ArrayList>?=null, + @SerializedName("failed") + var failed: Int?=null, + @SerializedName("tracking_url") + var trackingUrl: String?=null, + @SerializedName("custom_template_tag") + var customTemplateTag: String?=null, + @SerializedName("succeed") + var succeed: Int?=null, + @SerializedName("template_tag") + var templateTag: String?=null, + @SerializedName("company_id") + var companyId: Int?=null, + @SerializedName("created_by") + var createdBy: UserInfo1?=null, + @SerializedName("stage") + var stage: String?=null +): Parcelable { @@ -30397,24 +30430,11 @@ data class ProductBulkRequest( -} - - -/* - Model: ProductBulkRequestList -*/ -@Parcelize -data class ProductBulkRequestList( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ProductBulkRequest?=null -): Parcelable { @@ -30439,11 +30459,11 @@ data class BulkProductRequest( @SerializedName("template_tag") var templateTag: String?=null, - @SerializedName("company_id") - var companyId: Int?=null, - @SerializedName("data") - var data: @RawValue ArrayList>?=null + var data: @RawValue ArrayList>?=null, + + @SerializedName("company_id") + var companyId: Int?=null ): Parcelable { @@ -30497,36 +30517,6 @@ data class ProductTagsViewResponse( -} - - -/* - Model: ProductBulkAssets -*/ -@Parcelize -data class ProductBulkAssets( - - - - @SerializedName("user") - var user: @RawValue HashMap?=null, - - @SerializedName("company_id") - var companyId: Int?=null, - - @SerializedName("url") - var url: String?=null - -): Parcelable { - - - - - - - - - } @@ -30568,56 +30558,111 @@ data class Items( - @SerializedName("is_active") - var isActive: Boolean?=null, - - @SerializedName("created_by") - var createdBy: UserCommon?=null, - @SerializedName("total") var total: Int?=null, - @SerializedName("id") - var id: String?=null, + @SerializedName("modified_by") + var modifiedBy: UserCommon?=null, @SerializedName("file_path") var filePath: String?=null, - @SerializedName("tracking_url") - var trackingUrl: String?=null, + @SerializedName("cancelled") + var cancelled: Int?=null, - @SerializedName("modified_by") - var modifiedBy: UserCommon?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("cancelled") - var cancelled: Int?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("cancelled_records") var cancelledRecords: ArrayList?=null, + @SerializedName("failed_records") + var failedRecords: ArrayList?=null, + + @SerializedName("failed") + var failed: Int?=null, + + @SerializedName("tracking_url") + var trackingUrl: String?=null, + + @SerializedName("id") + var id: String?=null, + + @SerializedName("succeed") + var succeed: Int?=null, + @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("stage") - var stage: String?=null, - - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("created_by") + var createdBy: UserCommon?=null, @SerializedName("retry") var retry: Int?=null, - @SerializedName("succeed") - var succeed: Int?=null, + @SerializedName("stage") + var stage: String?=null + +): Parcelable { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @SerializedName("failed") - var failed: Int?=null, - @SerializedName("failed_records") - var failedRecords: ArrayList?=null + + + + + +} + + +/* + Model: BulkAssetResponse +*/ +@Parcelize +data class BulkAssetResponse( + + + + @SerializedName("items") + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -30627,12 +30672,27 @@ data class Items( +} + + +/* + Model: ProductBulkAssets +*/ +@Parcelize +data class ProductBulkAssets( + @SerializedName("url") + var url: String?=null, + @SerializedName("user") + var user: @RawValue HashMap?=null, + @SerializedName("company_id") + var companyId: Int?=null +): Parcelable { @@ -30642,12 +30702,27 @@ data class Items( +} + + +/* + Model: ProductSizeDeleteDataResponse +*/ +@Parcelize +data class ProductSizeDeleteDataResponse( + @SerializedName("item_id") + var itemId: Int?=null, + @SerializedName("size") + var size: String?=null, + @SerializedName("company_id") + var companyId: Int?=null +): Parcelable { @@ -30661,18 +30736,18 @@ data class Items( /* - Model: BulkAssetResponse + Model: ProductSizeDeleteResponse */ @Parcelize -data class BulkAssetResponse( +data class ProductSizeDeleteResponse( - @SerializedName("page") - var page: Page?=null, + @SerializedName("data") + var data: ProductSizeDeleteDataResponse?=null, - @SerializedName("items") - var items: ArrayList?=null + @SerializedName("success") + var success: Boolean?=null ): Parcelable { @@ -30686,50 +30761,60 @@ data class BulkAssetResponse( /* - Model: ProductSizeDeleteDataResponse + Model: InventoryResponse */ @Parcelize -data class ProductSizeDeleteDataResponse( +data class InventoryResponse( + @SerializedName("sellable_quantity") + var sellableQuantity: Int?=null, + + @SerializedName("item_id") + var itemId: Int?=null, + + @SerializedName("identifiers") + var identifiers: @RawValue HashMap?=null, + @SerializedName("size") var size: String?=null, - @SerializedName("company_id") - var companyId: Int?=null, + @SerializedName("price") + var price: Int?=null, - @SerializedName("item_id") - var itemId: Int?=null + @SerializedName("uid") + var uid: String?=null, -): Parcelable { + @SerializedName("price_effective") + var priceEffective: Int?=null, + @SerializedName("seller_identifier") + var sellerIdentifier: Int?=null, + @SerializedName("store") + var store: @RawValue HashMap?=null, + @SerializedName("currency") + var currency: String?=null, + @SerializedName("price_transfer") + var priceTransfer: Int?=null, + @SerializedName("quantity") + var quantity: Int?=null, + @SerializedName("inventory_updated_on") + var inventoryUpdatedOn: String?=null +): Parcelable { -} - - -/* - Model: ProductSizeDeleteResponse -*/ -@Parcelize -data class ProductSizeDeleteResponse( - @SerializedName("success") - var success: Boolean?=null, - @SerializedName("data") - var data: ProductSizeDeleteDataResponse?=null -): Parcelable { @@ -30737,27 +30822,12 @@ data class ProductSizeDeleteResponse( -} - - -/* - Model: ItemQuery -*/ -@Parcelize -data class ItemQuery( - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("item_code") - var itemCode: String?=null, - @SerializedName("brand_uid") - var brandUid: Int?=null -): Parcelable { @@ -30778,12 +30848,12 @@ data class GTIN( - @SerializedName("primary") - var primary: Boolean?=null, - @SerializedName("gtin_type") var gtinType: String?=null, + @SerializedName("primary") + var primary: Boolean?=null, + @SerializedName("gtin_value") var gtinValue: String?=null @@ -30853,11 +30923,11 @@ data class InventorySet( - @SerializedName("quantity") - var quantity: Int?=null, - @SerializedName("size_distribution") - var sizeDistribution: SizeDistribution?=null + var sizeDistribution: SizeDistribution?=null, + + @SerializedName("quantity") + var quantity: Int?=null ): Parcelable { @@ -30878,53 +30948,53 @@ data class InvSize( + @SerializedName("item_height") + var itemHeight: Double?=null, + + @SerializedName("identifiers") + var identifiers: ArrayList?=null, + @SerializedName("size") var size: String?=null, - @SerializedName("store_code") - var storeCode: String?=null, - @SerializedName("item_weight") var itemWeight: Double?=null, - @SerializedName("item_dimensions_unit_of_measure") - var itemDimensionsUnitOfMeasure: String?=null, - - @SerializedName("identifiers") - var identifiers: ArrayList?=null, + @SerializedName("price") + var price: Double?=null, - @SerializedName("price_effective") - var priceEffective: Double?=null, + @SerializedName("store_code") + var storeCode: String?=null, - @SerializedName("set") - var set: InventorySet?=null, + @SerializedName("item_width") + var itemWidth: Double?=null, @SerializedName("item_length") var itemLength: Double?=null, - @SerializedName("price") - var price: Double?=null, - - @SerializedName("item_height") - var itemHeight: Double?=null, + @SerializedName("price_effective") + var priceEffective: Double?=null, @SerializedName("quantity") var quantity: Int?=null, - @SerializedName("is_set") - var isSet: Boolean?=null, - - @SerializedName("item_width") - var itemWidth: Double?=null, - @SerializedName("item_weight_unit_of_measure") var itemWeightUnitOfMeasure: String?=null, + @SerializedName("set") + var set: InventorySet?=null, + @SerializedName("currency") var currency: String?=null, @SerializedName("price_transfer") - var priceTransfer: Double?=null + var priceTransfer: Double?=null, + + @SerializedName("item_dimensions_unit_of_measure") + var itemDimensionsUnitOfMeasure: String?=null, + + @SerializedName("is_set") + var isSet: Boolean?=null ): Parcelable { @@ -30966,21 +31036,21 @@ data class InvSize( /* - Model: InventoryRequest + Model: ItemQuery */ @Parcelize -data class InventoryRequest( +data class ItemQuery( - @SerializedName("item") - var item: ItemQuery?=null, + @SerializedName("brand_uid") + var brandUid: Int?=null, - @SerializedName("company_id") - var companyId: Int?=null, + @SerializedName("uid") + var uid: Int?=null, - @SerializedName("sizes") - var sizes: ArrayList?=null + @SerializedName("item_code") + var itemCode: String?=null ): Parcelable { @@ -30996,51 +31066,21 @@ data class InventoryRequest( /* - Model: InventoryResponse + Model: InventoryRequest */ @Parcelize -data class InventoryResponse( - - - - @SerializedName("price_transfer") - var priceTransfer: Int?=null, - - @SerializedName("size") - var size: String?=null, - - @SerializedName("identifiers") - var identifiers: @RawValue HashMap?=null, - - @SerializedName("uid") - var uid: String?=null, - - @SerializedName("price_effective") - var priceEffective: Int?=null, - - @SerializedName("store") - var store: @RawValue HashMap?=null, - - @SerializedName("inventory_updated_on") - var inventoryUpdatedOn: String?=null, - - @SerializedName("price") - var price: Int?=null, +data class InventoryRequest( - @SerializedName("quantity") - var quantity: Int?=null, - @SerializedName("sellable_quantity") - var sellableQuantity: Int?=null, - @SerializedName("currency") - var currency: String?=null, + @SerializedName("sizes") + var sizes: ArrayList?=null, - @SerializedName("seller_identifier") - var sellerIdentifier: Int?=null, + @SerializedName("item") + var item: ItemQuery?=null, - @SerializedName("item_id") - var itemId: Int?=null + @SerializedName("company_id") + var companyId: Int?=null ): Parcelable { @@ -31051,26 +31091,6 @@ data class InventoryResponse( - - - - - - - - - - - - - - - - - - - - } @@ -31083,41 +31103,14 @@ data class InventoryDeleteData( - @SerializedName("size") - var size: String?=null, + @SerializedName("item_id") + var itemId: Int?=null, @SerializedName("location_id") var locationId: Int?=null, - @SerializedName("item_id") - var itemId: Int?=null - -): Parcelable { - - - - - - - - - -} - - -/* - Model: InventoryDelete -*/ -@Parcelize -data class InventoryDelete( - - - - @SerializedName("success") - var success: Boolean?=null, - - @SerializedName("data") - var data: InventoryDeleteData?=null + @SerializedName("size") + var size: String?=null ): Parcelable { @@ -31127,19 +31120,24 @@ data class InventoryDelete( + + } /* - Model: CommonResponse + Model: InventoryDelete */ @Parcelize -data class CommonResponse( +data class InventoryDelete( + @SerializedName("data") + var data: InventoryDeleteData?=null, + @SerializedName("success") - var success: String?=null + var success: Boolean?=null ): Parcelable { @@ -31147,6 +31145,8 @@ data class CommonResponse( + + } @@ -31158,50 +31158,50 @@ data class BulkInventoryGetItems( - @SerializedName("is_active") - var isActive: Boolean?=null, - - @SerializedName("created_by") - var createdBy: @RawValue HashMap?=null, - @SerializedName("total") var total: Int?=null, - @SerializedName("id") - var id: String?=null, + @SerializedName("modified_by") + var modifiedBy: @RawValue HashMap?=null, + + @SerializedName("cancelled") + var cancelled: Int?=null, @SerializedName("file_path") var filePath: String?=null, - @SerializedName("modified_by") - var modifiedBy: @RawValue HashMap?=null, + @SerializedName("is_active") + var isActive: Boolean?=null, + + @SerializedName("cancelled_records") + var cancelledRecords: ArrayList?=null, @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("cancelled") - var cancelled: Int?=null, - - @SerializedName("succeed") - var succeed: Int?=null, + @SerializedName("failed_records") + var failedRecords: ArrayList?=null, - @SerializedName("company_id") - var companyId: Int?=null, + @SerializedName("id") + var id: String?=null, - @SerializedName("stage") - var stage: String?=null, + @SerializedName("failed") + var failed: Int?=null, @SerializedName("modified_on") var modifiedOn: String?=null, - @SerializedName("cancelled_records") - var cancelledRecords: ArrayList?=null, + @SerializedName("succeed") + var succeed: Int?=null, - @SerializedName("failed") - var failed: Int?=null, + @SerializedName("company_id") + var companyId: Int?=null, - @SerializedName("failed_records") - var failedRecords: ArrayList?=null + @SerializedName("created_by") + var createdBy: @RawValue HashMap?=null, + + @SerializedName("stage") + var stage: String?=null ): Parcelable { @@ -31248,11 +31248,11 @@ data class BulkInventoryGet( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -31262,6 +31262,26 @@ data class BulkInventoryGet( +} + + +/* + Model: CommonResponse +*/ +@Parcelize +data class CommonResponse( + + + + @SerializedName("success") + var success: String?=null + +): Parcelable { + + + + + } @@ -31273,56 +31293,56 @@ data class Size1( + @SerializedName("item_height") + var itemHeight: Double?=null, + + @SerializedName("identifiers") + var identifiers: @RawValue ArrayList>?=null, + @SerializedName("size") var size: String?=null, - @SerializedName("store_code") - var storeCode: String?=null, - @SerializedName("item_weight") var itemWeight: Double?=null, - @SerializedName("item_dimensions_unit_of_measure") - var itemDimensionsUnitOfMeasure: String?=null, - - @SerializedName("identifiers") - var identifiers: @RawValue ArrayList>?=null, + @SerializedName("price") + var price: Double?=null, - @SerializedName("price_effective") - var priceEffective: Double?=null, + @SerializedName("store_code") + var storeCode: String?=null, - @SerializedName("set") - var set: InventorySet?=null, + @SerializedName("item_width") + var itemWidth: Double?=null, @SerializedName("item_length") var itemLength: Double?=null, - @SerializedName("price") - var price: Double?=null, + @SerializedName("price_effective") + var priceEffective: Double?=null, - @SerializedName("item_height") - var itemHeight: Double?=null, + @SerializedName("seller_identifier") + var sellerIdentifier: String?=null, @SerializedName("quantity") var quantity: Int?=null, - @SerializedName("is_set") - var isSet: Boolean?=null, - - @SerializedName("item_width") - var itemWidth: Double?=null, - @SerializedName("item_weight_unit_of_measure") var itemWeightUnitOfMeasure: String?=null, + @SerializedName("set") + var set: InventorySet?=null, + @SerializedName("currency") var currency: String?=null, - @SerializedName("seller_identifier") - var sellerIdentifier: String?=null, - @SerializedName("price_transfer") - var priceTransfer: Double?=null + var priceTransfer: Double?=null, + + @SerializedName("item_dimensions_unit_of_measure") + var itemDimensionsUnitOfMeasure: String?=null, + + @SerializedName("is_set") + var isSet: Boolean?=null ): Parcelable { @@ -31373,17 +31393,17 @@ data class InventoryBulkRequest( - @SerializedName("user") - var user: @RawValue HashMap?=null, - @SerializedName("batch_id") var batchId: String?=null, - @SerializedName("company_id") - var companyId: Int?=null, - @SerializedName("sizes") - var sizes: ArrayList?=null + var sizes: ArrayList?=null, + + @SerializedName("user") + var user: @RawValue HashMap?=null, + + @SerializedName("company_id") + var companyId: Int?=null ): Parcelable { @@ -31401,73 +31421,73 @@ data class InventoryBulkRequest( /* - Model: InventoryExportRequest + Model: InventoryExportJob */ @Parcelize -data class InventoryExportRequest( +data class InventoryExportJob( - @SerializedName("store") - var store: ArrayList?=null, + @SerializedName("request_params") + var requestParams: @RawValue HashMap?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("completed_on") + var completedOn: String?=null, - @SerializedName("brand") - var brand: ArrayList?=null + @SerializedName("trigger_on") + var triggerOn: String?=null, -): Parcelable { + @SerializedName("task_id") + var taskId: String?=null, + @SerializedName("seller_id") + var sellerId: Int?=null, + @SerializedName("url") + var url: String?=null, + @SerializedName("status") + var status: String?=null +): Parcelable { -} - - -/* - Model: InventoryExportJob -*/ -@Parcelize -data class InventoryExportJob( - @SerializedName("task_id") - var taskId: String?=null, - @SerializedName("status") - var status: String?=null, - @SerializedName("seller_id") - var sellerId: Int?=null, - @SerializedName("completed_on") - var completedOn: String?=null, - @SerializedName("url") - var url: String?=null, - @SerializedName("request_params") - var requestParams: @RawValue HashMap?=null, - @SerializedName("trigger_on") - var triggerOn: String?=null -): Parcelable { +} + + +/* + Model: InventoryExportRequest +*/ +@Parcelize +data class InventoryExportRequest( + @SerializedName("type") + var type: String?=null, + @SerializedName("brand") + var brand: ArrayList?=null, + @SerializedName("store") + var store: ArrayList?=null +): Parcelable { @@ -31488,11 +31508,11 @@ data class FilerList( - @SerializedName("display") - var display: String?=null, - @SerializedName("value") - var value: String?=null + var value: String?=null, + + @SerializedName("display") + var display: String?=null ): Parcelable { @@ -31513,11 +31533,11 @@ data class InventoryConfig( - @SerializedName("multivalues") - var multivalues: Boolean?=null, - @SerializedName("data") - var data: ArrayList?=null + var data: ArrayList?=null, + + @SerializedName("multivalues") + var multivalues: Boolean?=null ): Parcelable { @@ -31531,44 +31551,49 @@ data class InventoryConfig( /* - Model: HsnUpsert + Model: HsnCodesObject */ @Parcelize -data class HsnUpsert( - +data class HsnCodesObject( - @SerializedName("tax_on_mrp") - var taxOnMrp: Boolean?=null, - @SerializedName("threshold1") - var threshold1: Double?=null, + @SerializedName("hs2_code") + var hs2Code: String?=null, @SerializedName("tax1") var tax1: Double?=null, - @SerializedName("tax2") - var tax2: Double?=null, + @SerializedName("threshold2") + var threshold2: Double?=null, + + @SerializedName("hsn_code") + var hsnCode: String?=null, + + @SerializedName("id") + var id: String?=null, + + @SerializedName("modified_on") + var modifiedOn: String?=null, @SerializedName("tax_on_esp") var taxOnEsp: Boolean?=null, - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("tax_on_mrp") + var taxOnMrp: Boolean?=null, + + @SerializedName("threshold1") + var threshold1: Double?=null, @SerializedName("company_id") var companyId: Int?=null, - @SerializedName("threshold2") - var threshold2: Double?=null, + @SerializedName("tax2") + var tax2: Double?=null - @SerializedName("hsn_code") - var hsnCode: String?=null, +): Parcelable { - @SerializedName("hs2_code") - var hs2Code: String?=null -): Parcelable { @@ -31596,45 +31621,27 @@ data class HsnUpsert( /* - Model: HsnCodesObject + Model: PageResponse */ @Parcelize -data class HsnCodesObject( - - - - @SerializedName("tax_on_mrp") - var taxOnMrp: Boolean?=null, - - @SerializedName("threshold1") - var threshold1: Double?=null, - - @SerializedName("id") - var id: String?=null, - - @SerializedName("tax1") - var tax1: Double?=null, +data class PageResponse( - @SerializedName("tax2") - var tax2: Double?=null, - @SerializedName("tax_on_esp") - var taxOnEsp: Boolean?=null, - @SerializedName("company_id") - var companyId: Int?=null, + @SerializedName("current") + var current: String?=null, - @SerializedName("threshold2") - var threshold2: Double?=null, + @SerializedName("has_previous") + var hasPrevious: Boolean?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("size") + var size: Int?=null, - @SerializedName("hsn_code") - var hsnCode: String?=null, + @SerializedName("item_total") + var itemTotal: Int?=null, - @SerializedName("hs2_code") - var hs2Code: String?=null + @SerializedName("has_next") + var hasNext: Boolean?=null ): Parcelable { @@ -31650,11 +31657,24 @@ data class HsnCodesObject( +} + + +/* + Model: HsnCodesListingResponse +*/ +@Parcelize +data class HsnCodesListingResponse( + @SerializedName("items") + var items: ArrayList?=null, + @SerializedName("page") + var page: PageResponse?=null +): Parcelable { @@ -31666,49 +31686,54 @@ data class HsnCodesObject( /* - Model: HsnCode + Model: HsnUpsert */ @Parcelize -data class HsnCode( +data class HsnUpsert( - @SerializedName("data") - var data: HsnCodesObject?=null + @SerializedName("hs2_code") + var hs2Code: String?=null, -): Parcelable { + @SerializedName("tax1") + var tax1: Double?=null, + + @SerializedName("threshold2") + var threshold2: Double?=null, + @SerializedName("hsn_code") + var hsnCode: String?=null, + @SerializedName("tax_on_esp") + var taxOnEsp: Boolean?=null, + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("tax_on_mrp") + var taxOnMrp: Boolean?=null, + + @SerializedName("threshold1") + var threshold1: Double?=null, + + @SerializedName("company_id") + var companyId: Int?=null, + + @SerializedName("tax2") + var tax2: Double?=null + +): Parcelable { -} - - -/* - Model: PageResponse -*/ -@Parcelize -data class PageResponse( - @SerializedName("has_previous") - var hasPrevious: Boolean?=null, - @SerializedName("size") - var size: Int?=null, - @SerializedName("current") - var current: String?=null, - @SerializedName("has_next") - var hasNext: Boolean?=null, - @SerializedName("item_total") - var itemTotal: Int?=null -): Parcelable { @@ -31726,18 +31751,15 @@ data class PageResponse( /* - Model: HsnCodesListingResponse + Model: HsnCode */ @Parcelize -data class HsnCodesListingResponse( - +data class HsnCode( - @SerializedName("page") - var page: PageResponse?=null, - @SerializedName("items") - var items: ArrayList?=null + @SerializedName("data") + var data: HsnCodesObject?=null ): Parcelable { @@ -31745,8 +31767,6 @@ data class HsnCodesListingResponse( - - } @@ -31798,23 +31818,23 @@ data class BrandItem( - @SerializedName("logo") - var logo: Media?=null, + @SerializedName("slug") + var slug: String?=null, + + @SerializedName("departments") + var departments: ArrayList?=null, @SerializedName("uid") var uid: Int?=null, - @SerializedName("discount") - var discount: String?=null, - @SerializedName("banners") var banners: ImageUrls?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("logo") + var logo: Media?=null, - @SerializedName("departments") - var departments: ArrayList?=null, + @SerializedName("discount") + var discount: String?=null, @SerializedName("name") var name: String?=null, @@ -31853,11 +31873,11 @@ data class BrandListingResponse( - @SerializedName("page") - var page: Page?=null, - @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("page") + var page: Page?=null ): Parcelable { @@ -31878,17 +31898,17 @@ data class Department( - @SerializedName("logo") - var logo: Media?=null, - - @SerializedName("uid") - var uid: Int?=null, + @SerializedName("slug") + var slug: String?=null, @SerializedName("priority_order") var priorityOrder: Int?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("logo") + var logo: Media?=null, @SerializedName("name") var name: String?=null @@ -31927,6 +31947,31 @@ data class DepartmentResponse( +} + + +/* + Model: DepartmentIdentifier +*/ +@Parcelize +data class DepartmentIdentifier( + + + + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("slug") + var slug: String?=null + +): Parcelable { + + + + + + + } @@ -31941,6 +31986,9 @@ data class ThirdLevelChild( @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, + @SerializedName("uid") var uid: Int?=null, @@ -31950,9 +31998,6 @@ data class ThirdLevelChild( @SerializedName("childs") var childs: @RawValue ArrayList>?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("name") var name: String?=null, @@ -31991,6 +32036,9 @@ data class SecondLevelChild( @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, + @SerializedName("uid") var uid: Int?=null, @@ -32000,9 +32048,6 @@ data class SecondLevelChild( @SerializedName("childs") var childs: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("name") var name: String?=null, @@ -32041,6 +32086,9 @@ data class Child( @SerializedName("_custom_json") var customJson: @RawValue HashMap?=null, + @SerializedName("slug") + var slug: String?=null, + @SerializedName("uid") var uid: Int?=null, @@ -32050,9 +32098,6 @@ data class Child( @SerializedName("childs") var childs: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("name") var name: String?=null, @@ -32088,6 +32133,9 @@ data class CategoryItems( + @SerializedName("slug") + var slug: String?=null, + @SerializedName("uid") var uid: Int?=null, @@ -32097,9 +32145,6 @@ data class CategoryItems( @SerializedName("childs") var childs: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, - @SerializedName("name") var name: String?=null, @@ -32147,31 +32192,6 @@ data class DepartmentCategoryTree( -} - - -/* - Model: DepartmentIdentifier -*/ -@Parcelize -data class DepartmentIdentifier( - - - - @SerializedName("uid") - var uid: Int?=null, - - @SerializedName("slug") - var slug: String?=null - -): Parcelable { - - - - - - - } @@ -32183,11 +32203,11 @@ data class CategoryListingResponse( - @SerializedName("data") - var data: ArrayList?=null, - @SerializedName("departments") - var departments: ArrayList?=null + var departments: ArrayList?=null, + + @SerializedName("data") + var data: ArrayList?=null ): Parcelable { @@ -32208,17 +32228,17 @@ data class ApplicationProductListingResponse( - @SerializedName("sort_on") - var sortOn: ArrayList?=null, - - @SerializedName("filters") - var filters: ArrayList?=null, - @SerializedName("page") var page: Page?=null, @SerializedName("items") - var items: ArrayList?=null + var items: ArrayList?=null, + + @SerializedName("filters") + var filters: ArrayList?=null, + + @SerializedName("sort_on") + var sortOn: ArrayList?=null ): Parcelable { @@ -32243,20 +32263,44 @@ data class ProductDetail( - @SerializedName("medias") - var medias: ArrayList?=null, + @SerializedName("short_description") + var shortDescription: String?=null, + + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("color") + var color: String?=null, + + @SerializedName("type") + var type: String?=null, + + @SerializedName("item_type") + var itemType: String?=null, + + @SerializedName("promo_meta") + var promoMeta: @RawValue HashMap?=null, + + @SerializedName("highlights") + var highlights: ArrayList?=null, + + @SerializedName("attributes") + var attributes: @RawValue HashMap?=null, + + @SerializedName("image_nature") + var imageNature: String?=null, @SerializedName("has_variant") var hasVariant: Boolean?=null, - @SerializedName("product_online_date") - var productOnlineDate: String?=null, + @SerializedName("slug") + var slug: String?=null, - @SerializedName("highlights") - var highlights: ArrayList?=null, + @SerializedName("brand") + var brand: ProductBrand?=null, - @SerializedName("grouped_attributes") - var groupedAttributes: ArrayList?=null, + @SerializedName("description") + var description: String?=null, @SerializedName("rating_count") var ratingCount: Int?=null, @@ -32264,53 +32308,29 @@ data class ProductDetail( @SerializedName("rating") var rating: Double?=null, - @SerializedName("promo_meta") - var promoMeta: @RawValue HashMap?=null, - - @SerializedName("attributes") - var attributes: @RawValue HashMap?=null, - - @SerializedName("uid") - var uid: Int?=null, - - @SerializedName("short_description") - var shortDescription: String?=null, - - @SerializedName("tryouts") - var tryouts: ArrayList?=null, - - @SerializedName("item_type") - var itemType: String?=null, - @SerializedName("teaser_tag") var teaserTag: @RawValue HashMap?=null, @SerializedName("similars") var similars: ArrayList?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("tryouts") + var tryouts: ArrayList?=null, - @SerializedName("color") - var color: String?=null, + @SerializedName("item_code") + var itemCode: String?=null, - @SerializedName("brand") - var brand: ProductBrand?=null, + @SerializedName("medias") + var medias: ArrayList?=null, - @SerializedName("slug") - var slug: String?=null, + @SerializedName("grouped_attributes") + var groupedAttributes: ArrayList?=null, @SerializedName("name") var name: String?=null, - @SerializedName("description") - var description: String?=null, - - @SerializedName("image_nature") - var imageNature: String?=null, - - @SerializedName("item_code") - var itemCode: String?=null + @SerializedName("product_online_date") + var productOnlineDate: String?=null ): Parcelable { @@ -32368,18 +32388,15 @@ data class ProductDetail( /* - Model: SellerPhoneNumber + Model: Website */ @Parcelize -data class SellerPhoneNumber( - +data class Website( - @SerializedName("number") - var number: String?=null, - @SerializedName("country_code") - var countryCode: Int?=null + @SerializedName("url") + var url: String?=null ): Parcelable { @@ -32387,24 +32404,51 @@ data class SellerPhoneNumber( +} + + +/* + Model: BusinessDetails +*/ +@Parcelize +data class BusinessDetails( + + + + @SerializedName("website") + var website: Website?=null + +): Parcelable { + + + } /* - Model: ContactDetails + Model: Document */ @Parcelize -data class ContactDetails( +data class Document( - @SerializedName("phone") - var phone: ArrayList?=null, + @SerializedName("value") + var value: String?=null, - @SerializedName("emails") - var emails: ArrayList?=null + @SerializedName("type") + var type: String?=null, + + @SerializedName("legal_name") + var legalName: String?=null, + + @SerializedName("url") + var url: String?=null, + + @SerializedName("verified") + var verified: Boolean?=null ): Parcelable { @@ -32414,6 +32458,12 @@ data class ContactDetails( + + + + + + } @@ -32425,38 +32475,38 @@ data class CreateUpdateAddressSerializer( - @SerializedName("pincode") - var pincode: Int?=null, + @SerializedName("state") + var state: String?=null, - @SerializedName("city") - var city: String?=null, + @SerializedName("country") + var country: String?=null, @SerializedName("latitude") var latitude: Double?=null, - @SerializedName("address1") - var address1: String?=null, - - @SerializedName("state") - var state: String?=null, - - @SerializedName("address2") - var address2: String?=null, + @SerializedName("address_type") + var addressType: String?=null, @SerializedName("country_code") var countryCode: String?=null, - @SerializedName("country") - var country: String?=null, + @SerializedName("address2") + var address2: String?=null, @SerializedName("longitude") var longitude: Double?=null, - @SerializedName("address_type") - var addressType: String?=null, + @SerializedName("pincode") + var pincode: Int?=null, @SerializedName("landmark") - var landmark: String?=null + var landmark: String?=null, + + @SerializedName("address1") + var address1: String?=null, + + @SerializedName("city") + var city: String?=null ): Parcelable { @@ -32488,37 +32538,22 @@ data class CreateUpdateAddressSerializer( /* - Model: Website + Model: SellerPhoneNumber */ @Parcelize -data class Website( - - - - @SerializedName("url") - var url: String?=null - -): Parcelable { - - +data class SellerPhoneNumber( -} - - -/* - Model: BusinessDetails -*/ -@Parcelize -data class BusinessDetails( + @SerializedName("number") + var number: String?=null, + @SerializedName("country_code") + var countryCode: Int?=null +): Parcelable { - @SerializedName("website") - var website: Website?=null -): Parcelable { @@ -32528,27 +32563,18 @@ data class BusinessDetails( /* - Model: Document + Model: ContactDetails */ @Parcelize -data class Document( - - - - @SerializedName("verified") - var verified: Boolean?=null, +data class ContactDetails( - @SerializedName("value") - var value: String?=null, - @SerializedName("legal_name") - var legalName: String?=null, - @SerializedName("type") - var type: String?=null, + @SerializedName("phone") + var phone: ArrayList?=null, - @SerializedName("url") - var url: String?=null + @SerializedName("emails") + var emails: ArrayList?=null ): Parcelable { @@ -32558,12 +32584,6 @@ data class Document( - - - - - - } @@ -32575,41 +32595,41 @@ data class UpdateCompany( - @SerializedName("warnings") - var warnings: @RawValue HashMap?=null, - - @SerializedName("notification_emails") - var notificationEmails: ArrayList?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("contact_details") - var contactDetails: ContactDetails?=null, - - @SerializedName("business_type") - var businessType: String?=null, - - @SerializedName("franchise_enabled") - var franchiseEnabled: Boolean?=null, + @SerializedName("business_details") + var businessDetails: BusinessDetails?=null, @SerializedName("reject_reason") var rejectReason: String?=null, - @SerializedName("business_info") - var businessInfo: String?=null, + @SerializedName("documents") + var documents: ArrayList?=null, @SerializedName("addresses") var addresses: ArrayList?=null, + @SerializedName("business_info") + var businessInfo: String?=null, + @SerializedName("company_type") var companyType: String?=null, - @SerializedName("business_details") - var businessDetails: BusinessDetails?=null, + @SerializedName("warnings") + var warnings: @RawValue HashMap?=null, - @SerializedName("documents") - var documents: ArrayList?=null + @SerializedName("name") + var name: String?=null, + + @SerializedName("franchise_enabled") + var franchiseEnabled: Boolean?=null, + + @SerializedName("contact_details") + var contactDetails: ContactDetails?=null, + + @SerializedName("business_type") + var businessType: String?=null, + + @SerializedName("notification_emails") + var notificationEmails: ArrayList?=null ): Parcelable { @@ -32650,11 +32670,11 @@ data class BusinessCountryInfo( - @SerializedName("country") - var country: String?=null, - @SerializedName("country_code") - var countryCode: String?=null + var countryCode: String?=null, + + @SerializedName("country") + var country: String?=null ): Parcelable { @@ -32675,38 +32695,38 @@ data class GetAddressSerializer( - @SerializedName("pincode") - var pincode: Int?=null, + @SerializedName("state") + var state: String?=null, - @SerializedName("city") - var city: String?=null, + @SerializedName("country") + var country: String?=null, @SerializedName("latitude") var latitude: Double?=null, - @SerializedName("address2") - var address2: String?=null, - - @SerializedName("address1") - var address1: String?=null, - - @SerializedName("state") - var state: String?=null, + @SerializedName("address_type") + var addressType: String?=null, @SerializedName("country_code") var countryCode: String?=null, - @SerializedName("country") - var country: String?=null, + @SerializedName("address2") + var address2: String?=null, @SerializedName("longitude") var longitude: Double?=null, - @SerializedName("address_type") - var addressType: String?=null, + @SerializedName("pincode") + var pincode: Int?=null, @SerializedName("landmark") - var landmark: String?=null + var landmark: String?=null, + + @SerializedName("address1") + var address1: String?=null, + + @SerializedName("city") + var city: String?=null ): Parcelable { @@ -32745,68 +32765,68 @@ data class GetCompanyProfileSerializerResponse( + @SerializedName("modified_by") + var modifiedBy: UserSerializer?=null, + @SerializedName("verified_on") var verifiedOn: String?=null, - @SerializedName("contact_details") - var contactDetails: ContactDetails?=null, - - @SerializedName("business_type") - var businessType: String?=null, + @SerializedName("company_type") + var companyType: String?=null, - @SerializedName("franchise_enabled") - var franchiseEnabled: Boolean?=null, + @SerializedName("business_country_info") + var businessCountryInfo: BusinessCountryInfo?=null, - @SerializedName("business_details") - var businessDetails: BusinessDetails?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("verified_by") var verifiedBy: UserSerializer?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("mode") + var mode: String?=null, - @SerializedName("created_by") - var createdBy: UserSerializer?=null, + @SerializedName("franchise_enabled") + var franchiseEnabled: Boolean?=null, + + @SerializedName("modified_on") + var modifiedOn: String?=null, + + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("documents") + var documents: ArrayList?=null, @SerializedName("business_info") var businessInfo: String?=null, - @SerializedName("business_country_info") - var businessCountryInfo: BusinessCountryInfo?=null, - @SerializedName("addresses") var addresses: ArrayList?=null, @SerializedName("warnings") var warnings: @RawValue HashMap?=null, - @SerializedName("uid") - var uid: Int?=null, - - @SerializedName("documents") - var documents: ArrayList?=null, - - @SerializedName("created_on") - var createdOn: String?=null, + @SerializedName("stage") + var stage: String?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, + @SerializedName("contact_details") + var contactDetails: ContactDetails?=null, @SerializedName("notification_emails") var notificationEmails: ArrayList?=null, - @SerializedName("modified_by") - var modifiedBy: UserSerializer?=null, + @SerializedName("business_details") + var businessDetails: BusinessDetails?=null, - @SerializedName("stage") - var stage: String?=null, + @SerializedName("created_by") + var createdBy: UserSerializer?=null, - @SerializedName("company_type") - var companyType: String?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("mode") - var mode: String?=null + @SerializedName("business_type") + var businessType: String?=null ): Parcelable { @@ -32890,17 +32910,17 @@ data class MetricsSerializer( - @SerializedName("store_documents") - var storeDocuments: DocumentsObj?=null, + @SerializedName("product") + var product: DocumentsObj?=null, @SerializedName("store") var store: DocumentsObj?=null, - @SerializedName("brand") - var brand: DocumentsObj?=null, + @SerializedName("company_documents") + var companyDocuments: DocumentsObj?=null, - @SerializedName("product") - var product: DocumentsObj?=null, + @SerializedName("store_documents") + var storeDocuments: DocumentsObj?=null, @SerializedName("stage") var stage: String?=null, @@ -32908,8 +32928,8 @@ data class MetricsSerializer( @SerializedName("uid") var uid: Int?=null, - @SerializedName("company_documents") - var companyDocuments: DocumentsObj?=null + @SerializedName("brand") + var brand: DocumentsObj?=null ): Parcelable { @@ -32933,21 +32953,67 @@ data class MetricsSerializer( /* - Model: UserSerializer1 + Model: BrandBannerSerializer */ @Parcelize -data class UserSerializer1( +data class BrandBannerSerializer( - @SerializedName("username") - var username: String?=null, + @SerializedName("landscape") + var landscape: String?=null, - @SerializedName("user_id") - var userId: String?=null, + @SerializedName("portrait") + var portrait: String?=null - @SerializedName("contact") - var contact: String?=null +): Parcelable { + + + + + + + +} + + +/* + Model: CreateUpdateBrandRequestSerializer +*/ +@Parcelize +data class CreateUpdateBrandRequestSerializer( + + + + @SerializedName("banner") + var banner: BrandBannerSerializer?=null, + + @SerializedName("description") + var description: String?=null, + + @SerializedName("logo") + var logo: String?=null, + + @SerializedName("brand_tier") + var brandTier: String?=null, + + @SerializedName("_locale_language") + var localeLanguage: @RawValue HashMap?=null, + + @SerializedName("company_id") + var companyId: Int?=null, + + @SerializedName("name") + var name: String?=null, + + @SerializedName("uid") + var uid: Int?=null, + + @SerializedName("synonyms") + var synonyms: ArrayList?=null, + + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null ): Parcelable { @@ -32956,6 +33022,20 @@ data class UserSerializer1( + + + + + + + + + + + + + + @@ -32963,18 +33043,21 @@ data class UserSerializer1( /* - Model: BrandBannerSerializer + Model: UserSerializer1 */ @Parcelize -data class BrandBannerSerializer( +data class UserSerializer1( - @SerializedName("landscape") - var landscape: String?=null, + @SerializedName("contact") + var contact: String?=null, - @SerializedName("portrait") - var portrait: String?=null + @SerializedName("user_id") + var userId: String?=null, + + @SerializedName("username") + var username: String?=null ): Parcelable { @@ -32984,6 +33067,8 @@ data class BrandBannerSerializer( + + } @@ -32995,50 +33080,44 @@ data class GetBrandResponseSerializer( - @SerializedName("warnings") - var warnings: @RawValue HashMap?=null, + @SerializedName("modified_by") + var modifiedBy: UserSerializer1?=null, - @SerializedName("verified_on") - var verifiedOn: String?=null, + @SerializedName("banner") + var banner: BrandBannerSerializer?=null, - @SerializedName("name") - var name: String?=null, + @SerializedName("reject_reason") + var rejectReason: String?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, + @SerializedName("verified_on") + var verifiedOn: String?=null, - @SerializedName("_locale_language") - var localeLanguage: @RawValue HashMap?=null, + @SerializedName("description") + var description: String?=null, - @SerializedName("modified_by") - var modifiedBy: UserSerializer1?=null, + @SerializedName("verified_by") + var verifiedBy: UserSerializer1?=null, @SerializedName("logo") var logo: String?=null, - @SerializedName("created_by") - var createdBy: UserSerializer1?=null, - - @SerializedName("reject_reason") - var rejectReason: String?=null, - - @SerializedName("banner") - var banner: BrandBannerSerializer?=null, + @SerializedName("warnings") + var warnings: @RawValue HashMap?=null, - @SerializedName("synonyms") - var synonyms: ArrayList?=null, + @SerializedName("_locale_language") + var localeLanguage: @RawValue HashMap?=null, @SerializedName("stage") var stage: String?=null, - @SerializedName("created_on") - var createdOn: String?=null, + @SerializedName("created_by") + var createdBy: UserSerializer1?=null, - @SerializedName("slug_key") - var slugKey: String?=null, + @SerializedName("created_on") + var createdOn: String?=null, - @SerializedName("description") - var description: String?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("modified_on") var modifiedOn: String?=null, @@ -33046,8 +33125,14 @@ data class GetBrandResponseSerializer( @SerializedName("uid") var uid: Int?=null, - @SerializedName("verified_by") - var verifiedBy: UserSerializer1?=null + @SerializedName("synonyms") + var synonyms: ArrayList?=null, + + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + + @SerializedName("slug_key") + var slugKey: String?=null ): Parcelable { @@ -33093,58 +33178,23 @@ data class GetBrandResponseSerializer( /* - Model: CreateUpdateBrandRequestSerializer + Model: CompanyBrandPostRequestSerializer */ @Parcelize -data class CreateUpdateBrandRequestSerializer( - - - - @SerializedName("company_id") - var companyId: Int?=null, - - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("_locale_language") - var localeLanguage: @RawValue HashMap?=null, - - @SerializedName("banner") - var banner: BrandBannerSerializer?=null, - - @SerializedName("synonyms") - var synonyms: ArrayList?=null, - - @SerializedName("brand_tier") - var brandTier: String?=null, +data class CompanyBrandPostRequestSerializer( - @SerializedName("logo") - var logo: String?=null, - @SerializedName("description") - var description: String?=null, @SerializedName("uid") - var uid: Int?=null - -): Parcelable { - - - - - - - - - - - + var uid: Int?=null, + @SerializedName("brands") + var brands: ArrayList?=null, + @SerializedName("company") + var company: Int?=null +): Parcelable { @@ -33165,35 +33215,35 @@ data class GetCompanySerializer( - @SerializedName("verified_on") - var verifiedOn: String?=null, - - @SerializedName("name") - var name: String?=null, - - @SerializedName("business_type") - var businessType: String?=null, - @SerializedName("modified_by") var modifiedBy: UserSerializer?=null, - @SerializedName("created_by") - var createdBy: UserSerializer?=null, - @SerializedName("reject_reason") var rejectReason: String?=null, + @SerializedName("verified_on") + var verifiedOn: String?=null, + + @SerializedName("verified_by") + var verifiedBy: UserSerializer?=null, + @SerializedName("addresses") var addresses: ArrayList?=null, + @SerializedName("company_type") + var companyType: String?=null, + @SerializedName("stage") var stage: String?=null, + @SerializedName("created_by") + var createdBy: UserSerializer?=null, + @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("company_type") - var companyType: String?=null, + @SerializedName("name") + var name: String?=null, @SerializedName("modified_on") var modifiedOn: String?=null, @@ -33201,8 +33251,8 @@ data class GetCompanySerializer( @SerializedName("uid") var uid: Int?=null, - @SerializedName("verified_by") - var verifiedBy: UserSerializer?=null + @SerializedName("business_type") + var businessType: String?=null ): Parcelable { @@ -33245,41 +33295,41 @@ data class CompanyBrandSerializer( - @SerializedName("verified_on") - var verifiedOn: String?=null, - @SerializedName("modified_by") var modifiedBy: UserSerializer1?=null, - @SerializedName("created_by") - var createdBy: UserSerializer1?=null, + @SerializedName("company") + var company: GetCompanySerializer?=null, @SerializedName("reject_reason") var rejectReason: String?=null, - @SerializedName("brand") - var brand: GetBrandResponseSerializer?=null, + @SerializedName("verified_on") + var verifiedOn: String?=null, + + @SerializedName("verified_by") + var verifiedBy: UserSerializer1?=null, + + @SerializedName("warnings") + var warnings: @RawValue HashMap?=null, @SerializedName("stage") var stage: String?=null, + @SerializedName("created_by") + var createdBy: UserSerializer1?=null, + @SerializedName("created_on") var createdOn: String?=null, - @SerializedName("warnings") - var warnings: @RawValue HashMap?=null, - @SerializedName("modified_on") var modifiedOn: String?=null, - @SerializedName("company") - var company: GetCompanySerializer?=null, - @SerializedName("uid") var uid: Int?=null, - @SerializedName("verified_by") - var verifiedBy: UserSerializer1?=null + @SerializedName("brand") + var brand: GetBrandResponseSerializer?=null ): Parcelable { @@ -33338,21 +33388,21 @@ data class CompanyBrandListSerializer( /* - Model: CompanyBrandPostRequestSerializer + Model: InvoiceCredSerializer */ @Parcelize -data class CompanyBrandPostRequestSerializer( +data class InvoiceCredSerializer( - @SerializedName("brands") - var brands: ArrayList?=null, + @SerializedName("enabled") + var enabled: Boolean?=null, - @SerializedName("company") - var company: Int?=null, + @SerializedName("password") + var password: String?=null, - @SerializedName("uid") - var uid: Int?=null + @SerializedName("username") + var username: String?=null ): Parcelable { @@ -33368,18 +33418,18 @@ data class CompanyBrandPostRequestSerializer( /* - Model: LocationTimingSerializer + Model: InvoiceDetailsSerializer */ @Parcelize -data class LocationTimingSerializer( +data class InvoiceDetailsSerializer( - @SerializedName("hour") - var hour: Int?=null, + @SerializedName("e_waybill") + var eWaybill: InvoiceCredSerializer?=null, - @SerializedName("minute") - var minute: Int?=null + @SerializedName("e_invoice") + var eInvoice: InvoiceCredSerializer?=null ): Parcelable { @@ -33393,24 +33443,18 @@ data class LocationTimingSerializer( /* - Model: LocationDayWiseSerializer + Model: ProductReturnConfigSerializer */ @Parcelize -data class LocationDayWiseSerializer( - - +data class ProductReturnConfigSerializer( - @SerializedName("weekday") - var weekday: String?=null, - @SerializedName("open") - var open: Boolean?=null, - @SerializedName("opening") - var opening: LocationTimingSerializer?=null, + @SerializedName("on_same_store") + var onSameStore: Boolean?=null, - @SerializedName("closing") - var closing: LocationTimingSerializer?=null + @SerializedName("store_uid") + var storeUid: Int?=null ): Parcelable { @@ -33420,26 +33464,25 @@ data class LocationDayWiseSerializer( - - - - } /* - Model: LocationIntegrationType + Model: LocationManagerSerializer */ @Parcelize -data class LocationIntegrationType( +data class LocationManagerSerializer( - @SerializedName("order") - var order: String?=null, + @SerializedName("mobile_no") + var mobileNo: SellerPhoneNumber?=null, - @SerializedName("inventory") - var inventory: String?=null + @SerializedName("email") + var email: String?=null, + + @SerializedName("name") + var name: String?=null ): Parcelable { @@ -33449,54 +33492,56 @@ data class LocationIntegrationType( + + } /* - Model: InvoiceCredSerializer + Model: GetAddressSerializer1 */ @Parcelize -data class InvoiceCredSerializer( - - - - @SerializedName("password") - var password: String?=null, +data class GetAddressSerializer1( - @SerializedName("enabled") - var enabled: Boolean?=null, - @SerializedName("username") - var username: String?=null -): Parcelable { + @SerializedName("state") + var state: String?=null, + @SerializedName("country") + var country: String?=null, + @SerializedName("latitude") + var latitude: Double?=null, + @SerializedName("address_type") + var addressType: String?=null, + @SerializedName("country_code") + var countryCode: String?=null, + @SerializedName("address2") + var address2: String?=null, + @SerializedName("longitude") + var longitude: Double?=null, + @SerializedName("pincode") + var pincode: Int?=null, + @SerializedName("landmark") + var landmark: String?=null, -} - - -/* - Model: InvoiceDetailsSerializer -*/ -@Parcelize -data class InvoiceDetailsSerializer( + @SerializedName("address1") + var address1: String?=null, + @SerializedName("city") + var city: String?=null +): Parcelable { - @SerializedName("e_invoice") - var eInvoice: InvoiceCredSerializer?=null, - @SerializedName("e_waybill") - var eWaybill: InvoiceCredSerializer?=null -): Parcelable { @@ -33504,27 +33549,12 @@ data class InvoiceDetailsSerializer( -} - - -/* - Model: LocationManagerSerializer -*/ -@Parcelize -data class LocationManagerSerializer( - @SerializedName("email") - var email: String?=null, - @SerializedName("mobile_no") - var mobileNo: SellerPhoneNumber?=null, - @SerializedName("name") - var name: String?=null -): Parcelable { @@ -33538,18 +33568,18 @@ data class LocationManagerSerializer( /* - Model: ProductReturnConfigSerializer + Model: LocationTimingSerializer */ @Parcelize -data class ProductReturnConfigSerializer( +data class LocationTimingSerializer( - @SerializedName("on_same_store") - var onSameStore: Boolean?=null, + @SerializedName("hour") + var hour: Int?=null, - @SerializedName("store_uid") - var storeUid: Int?=null + @SerializedName("minute") + var minute: Int?=null ): Parcelable { @@ -33563,105 +33593,100 @@ data class ProductReturnConfigSerializer( /* - Model: GetLocationSerializer + Model: LocationDayWiseSerializer */ @Parcelize -data class GetLocationSerializer( +data class LocationDayWiseSerializer( - @SerializedName("verified_on") - var verifiedOn: String?=null, + @SerializedName("open") + var open: Boolean?=null, - @SerializedName("timing") - var timing: ArrayList?=null, + @SerializedName("opening") + var opening: LocationTimingSerializer?=null, - @SerializedName("phone_number") - var phoneNumber: String?=null, + @SerializedName("closing") + var closing: LocationTimingSerializer?=null, - @SerializedName("company") - var company: GetCompanySerializer?=null, + @SerializedName("weekday") + var weekday: String?=null - @SerializedName("verified_by") - var verifiedBy: UserSerializer1?=null, +): Parcelable { - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, - @SerializedName("name") - var name: String?=null, - @SerializedName("created_by") - var createdBy: UserSerializer1?=null, - @SerializedName("code") - var code: String?=null, - @SerializedName("integration_type") - var integrationType: LocationIntegrationType?=null, - @SerializedName("warnings") - var warnings: @RawValue HashMap?=null, - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("documents") - var documents: ArrayList?=null, - @SerializedName("created_on") - var createdOn: String?=null, - @SerializedName("modified_on") - var modifiedOn: String?=null, - @SerializedName("gst_credentials") - var gstCredentials: InvoiceDetailsSerializer?=null, +} + + +/* + Model: LocationSerializer +*/ +@Parcelize +data class LocationSerializer( - @SerializedName("address") - var address: GetAddressSerializer?=null, - @SerializedName("contact_numbers") - var contactNumbers: ArrayList?=null, - @SerializedName("notification_emails") - var notificationEmails: ArrayList?=null, + @SerializedName("code") + var code: String?=null, - @SerializedName("modified_by") - var modifiedBy: UserSerializer1?=null, + @SerializedName("company") + var company: Int?=null, - @SerializedName("manager") - var manager: LocationManagerSerializer?=null, + @SerializedName("documents") + var documents: ArrayList?=null, - @SerializedName("product_return_config") - var productReturnConfig: ProductReturnConfigSerializer?=null, + @SerializedName("gst_credentials") + var gstCredentials: InvoiceDetailsSerializer?=null, @SerializedName("display_name") var displayName: String?=null, - @SerializedName("stage") - var stage: String?=null, - - @SerializedName("store_type") - var storeType: String?=null - -): Parcelable { - - - - + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, + @SerializedName("warnings") + var warnings: @RawValue HashMap?=null, + @SerializedName("store_type") + var storeType: String?=null, + @SerializedName("stage") + var stage: String?=null, + @SerializedName("contact_numbers") + var contactNumbers: ArrayList?=null, + @SerializedName("product_return_config") + var productReturnConfig: ProductReturnConfigSerializer?=null, + @SerializedName("name") + var name: String?=null, + @SerializedName("uid") + var uid: Int?=null, + @SerializedName("manager") + var manager: LocationManagerSerializer?=null, + @SerializedName("address") + var address: GetAddressSerializer1?=null, + @SerializedName("notification_emails") + var notificationEmails: ArrayList?=null, + @SerializedName("timing") + var timing: ArrayList?=null +): Parcelable { @@ -33703,18 +33728,18 @@ data class GetLocationSerializer( /* - Model: LocationListSerializer + Model: LocationIntegrationType */ @Parcelize -data class LocationListSerializer( +data class LocationIntegrationType( - @SerializedName("page") - var page: Page?=null, + @SerializedName("order") + var order: String?=null, - @SerializedName("items") - var items: ArrayList?=null + @SerializedName("inventory") + var inventory: String?=null ): Parcelable { @@ -33728,64 +33753,89 @@ data class LocationListSerializer( /* - Model: GetAddressSerializer1 + Model: GetLocationSerializer */ @Parcelize -data class GetAddressSerializer1( - - - - @SerializedName("pincode") - var pincode: Int?=null, +data class GetLocationSerializer( - @SerializedName("city") - var city: String?=null, - @SerializedName("latitude") - var latitude: Double?=null, - @SerializedName("address2") - var address2: String?=null, + @SerializedName("modified_by") + var modifiedBy: UserSerializer1?=null, - @SerializedName("address1") - var address1: String?=null, + @SerializedName("verified_on") + var verifiedOn: String?=null, - @SerializedName("state") - var state: String?=null, + @SerializedName("contact_numbers") + var contactNumbers: ArrayList?=null, - @SerializedName("country_code") - var countryCode: String?=null, + @SerializedName("name") + var name: String?=null, - @SerializedName("country") - var country: String?=null, + @SerializedName("address") + var address: GetAddressSerializer?=null, - @SerializedName("longitude") - var longitude: Double?=null, + @SerializedName("_custom_json") + var customJson: @RawValue HashMap?=null, - @SerializedName("address_type") - var addressType: String?=null, + @SerializedName("verified_by") + var verifiedBy: UserSerializer1?=null, - @SerializedName("landmark") - var landmark: String?=null + @SerializedName("display_name") + var displayName: String?=null, -): Parcelable { + @SerializedName("store_type") + var storeType: String?=null, + @SerializedName("modified_on") + var modifiedOn: String?=null, + @SerializedName("uid") + var uid: Int?=null, + @SerializedName("manager") + var manager: LocationManagerSerializer?=null, + @SerializedName("company") + var company: GetCompanySerializer?=null, + @SerializedName("documents") + var documents: ArrayList?=null, + @SerializedName("integration_type") + var integrationType: LocationIntegrationType?=null, + @SerializedName("warnings") + var warnings: @RawValue HashMap?=null, + @SerializedName("stage") + var stage: String?=null, + @SerializedName("notification_emails") + var notificationEmails: ArrayList?=null, + @SerializedName("timing") + var timing: ArrayList?=null, + @SerializedName("code") + var code: String?=null, + @SerializedName("phone_number") + var phoneNumber: String?=null, + @SerializedName("product_return_config") + var productReturnConfig: ProductReturnConfigSerializer?=null, + @SerializedName("created_by") + var createdBy: UserSerializer1?=null, + @SerializedName("created_on") + var createdOn: String?=null, + @SerializedName("gst_credentials") + var gstCredentials: InvoiceDetailsSerializer?=null +): Parcelable { @@ -33794,69 +33844,26 @@ data class GetAddressSerializer1( -} - - -/* - Model: LocationSerializer -*/ -@Parcelize -data class LocationSerializer( - @SerializedName("warnings") - var warnings: @RawValue HashMap?=null, - @SerializedName("address") - var address: GetAddressSerializer1?=null, - @SerializedName("contact_numbers") - var contactNumbers: ArrayList?=null, - @SerializedName("gst_credentials") - var gstCredentials: InvoiceDetailsSerializer?=null, - @SerializedName("notification_emails") - var notificationEmails: ArrayList?=null, - @SerializedName("_custom_json") - var customJson: @RawValue HashMap?=null, - @SerializedName("name") - var name: String?=null, - @SerializedName("timing") - var timing: ArrayList?=null, - @SerializedName("code") - var code: String?=null, - @SerializedName("manager") - var manager: LocationManagerSerializer?=null, - @SerializedName("product_return_config") - var productReturnConfig: ProductReturnConfigSerializer?=null, - @SerializedName("display_name") - var displayName: String?=null, - @SerializedName("stage") - var stage: String?=null, - @SerializedName("store_type") - var storeType: String?=null, - @SerializedName("company") - var company: Int?=null, - @SerializedName("uid") - var uid: Int?=null, - @SerializedName("documents") - var documents: ArrayList?=null -): Parcelable { @@ -33882,11 +33889,24 @@ data class LocationSerializer( +} + + +/* + Model: LocationListSerializer +*/ +@Parcelize +data class LocationListSerializer( + @SerializedName("page") + var page: Page?=null, + @SerializedName("items") + var items: ArrayList?=null +): Parcelable { diff --git a/src/main/java/com/sdk/platform/PlatformOAuthClient.kt b/src/main/java/com/sdk/platform/PlatformOAuthClient.kt index d1ff3bf3a..c8534bd82 100644 --- a/src/main/java/com/sdk/platform/PlatformOAuthClient.kt +++ b/src/main/java/com/sdk/platform/PlatformOAuthClient.kt @@ -121,7 +121,7 @@ class PlatformOAuthClient(val config: PlatformConfig) : BaseRepository() { val interceptorList = ArrayList() interceptorList.add(requestSignerInterceptor) interceptorMap["interceptor"] = interceptorList - HttpClient.setHttpLoggingInterceptor(HttpLoggingInterceptor.Level.BODY) + HttpClient.setDebuggable(config.debuggable) val retrofitHttpClient = HttpClient.initialize( baseUrl = config.domain, headers = headersMap,