@gofynd/fdk-client-javascript 1.4.6 → 1.4.8-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +16 -3
- package/sdk/application/Cart/CartApplicationClient.js +118 -13
- package/sdk/application/Cart/CartApplicationModel.d.ts +121 -45
- package/sdk/application/Cart/CartApplicationModel.js +98 -26
- package/sdk/application/Cart/CartApplicationValidator.d.ts +45 -1
- package/sdk/application/Cart/CartApplicationValidator.js +26 -0
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +10 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +10 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.js +5 -3
- package/sdk/application/Content/ContentApplicationModel.d.ts +7 -18
- package/sdk/application/Content/ContentApplicationModel.js +6 -20
- package/sdk/application/Content/ContentApplicationValidator.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationValidator.js +4 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +0 -27
- package/sdk/application/Lead/LeadApplicationClient.js +0 -167
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1 -146
- package/sdk/application/Lead/LeadApplicationModel.js +0 -126
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -25
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +2 -0
- package/sdk/application/Logistic/LogisticApplicationModel.js +2 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +72 -9
- package/sdk/application/Order/OrderApplicationModel.js +45 -7
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +27 -20
- package/sdk/application/Payment/PaymentApplicationModel.js +23 -20
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +2 -0
- package/sdk/application/Theme/ThemeApplicationModel.js +2 -0
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +22 -0
- package/sdk/application/Webhook/WebhookApplicationClient.js +115 -0
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +37 -0
- package/sdk/application/Webhook/WebhookApplicationModel.js +46 -0
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +16 -0
- package/sdk/application/Webhook/WebhookApplicationValidator.js +19 -0
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -23
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -157
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +12 -581
- package/sdk/partner/Lead/LeadPartnerModel.js +14 -403
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -2
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -12
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +162 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +119 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +142 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +23 -19
- package/sdk/partner/Webhook/WebhookPartnerModel.js +19 -22
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +43 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +257 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +39 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +45 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +60 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +57 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +304 -43
- package/sdk/platform/Billing/BillingPlatformClient.js +2218 -118
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1330 -282
- package/sdk/platform/Billing/BillingPlatformModel.js +1808 -590
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +324 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +340 -12
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +36 -3
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +276 -3
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +93 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +60 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +216 -40
- package/sdk/platform/Cart/CartPlatformModel.js +166 -24
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +11 -7
- package/sdk/platform/Catalog/CatalogPlatformClient.js +37 -14
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +122 -17
- package/sdk/platform/Catalog/CatalogPlatformModel.js +141 -15
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -7
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -5
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +18 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +25 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +10 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +8 -4
- package/sdk/platform/Content/ContentPlatformModel.js +8 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +49 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +181 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +350 -127
- package/sdk/platform/Finance/FinancePlatformModel.js +378 -108
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +56 -43
- package/sdk/platform/Finance/FinancePlatformValidator.js +61 -42
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +0 -47
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +0 -321
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -46
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +0 -48
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -25
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -167
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +82 -204
- package/sdk/platform/Lead/LeadPlatformModel.js +98 -178
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -25
- package/sdk/platform/Lead/LeadPlatformValidator.js +0 -24
- package/sdk/platform/Order/OrderPlatformClient.d.ts +11 -1
- package/sdk/platform/Order/OrderPlatformClient.js +82 -5
- package/sdk/platform/Order/OrderPlatformModel.d.ts +270 -29
- package/sdk/platform/Order/OrderPlatformModel.js +139 -28
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +58 -17
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -16
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +14 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +7 -2
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -0
- package/sdk/platform/PlatformApplicationClient.js +4 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +12 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +82 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -1
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +14 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +67 -1
- package/sdk/platform/Theme/ThemePlatformModel.js +78 -0
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +24 -40
- package/sdk/platform/Webhook/WebhookPlatformClient.js +78 -221
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +168 -167
- package/sdk/platform/Webhook/WebhookPlatformModel.js +180 -178
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +23 -31
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +28 -42
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Billing/BillingPublicClient.d.ts +24 -2
- package/sdk/public/Billing/BillingPublicClient.js +156 -3
- package/sdk/public/Billing/BillingPublicModel.d.ts +368 -26
- package/sdk/public/Billing/BillingPublicModel.js +317 -18
- package/sdk/public/Billing/BillingPublicValidator.d.ts +19 -3
- package/sdk/public/Billing/BillingPublicValidator.js +22 -3
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +24 -22
- package/sdk/public/Webhook/WebhookPublicModel.js +24 -22
|
@@ -370,6 +370,11 @@ export = CatalogPlatformModel;
|
|
|
370
370
|
* @property {BulkInventoryGetItems[]} [items]
|
|
371
371
|
* @property {Page} [page]
|
|
372
372
|
*/
|
|
373
|
+
/**
|
|
374
|
+
* @typedef FailedRecord
|
|
375
|
+
* @property {string} [identifiers]
|
|
376
|
+
* @property {string} [message]
|
|
377
|
+
*/
|
|
373
378
|
/**
|
|
374
379
|
* @typedef BulkInventoryGetItems
|
|
375
380
|
* @property {number} [cancelled]
|
|
@@ -378,7 +383,7 @@ export = CatalogPlatformModel;
|
|
|
378
383
|
* @property {Object} [created_by]
|
|
379
384
|
* @property {string} [created_on]
|
|
380
385
|
* @property {number} [failed]
|
|
381
|
-
* @property {
|
|
386
|
+
* @property {FailedRecord[]} [failed_records]
|
|
382
387
|
* @property {string} [file_path]
|
|
383
388
|
* @property {string} [id]
|
|
384
389
|
* @property {boolean} [is_active]
|
|
@@ -388,6 +393,14 @@ export = CatalogPlatformModel;
|
|
|
388
393
|
* @property {number} [succeed]
|
|
389
394
|
* @property {number} [total]
|
|
390
395
|
*/
|
|
396
|
+
/**
|
|
397
|
+
* @typedef BulkProductJob
|
|
398
|
+
* @property {number} [company_id]
|
|
399
|
+
* @property {string} [template_tag]
|
|
400
|
+
* @property {string} [product_type]
|
|
401
|
+
* @property {string} [department]
|
|
402
|
+
* @property {string} [file_path]
|
|
403
|
+
*/
|
|
391
404
|
/**
|
|
392
405
|
* @typedef BulkJob
|
|
393
406
|
* @property {number} [cancelled]
|
|
@@ -1230,12 +1243,39 @@ export = CatalogPlatformModel;
|
|
|
1230
1243
|
* @property {UserSerializer2} [verified_by]
|
|
1231
1244
|
* @property {string} [verified_on]
|
|
1232
1245
|
*/
|
|
1246
|
+
/**
|
|
1247
|
+
* @typedef ConditionItem
|
|
1248
|
+
* @property {string} [key]
|
|
1249
|
+
* @property {string} [display]
|
|
1250
|
+
*/
|
|
1251
|
+
/**
|
|
1252
|
+
* @typedef DataItem
|
|
1253
|
+
* @property {string} [key]
|
|
1254
|
+
* @property {string} [display]
|
|
1255
|
+
* @property {string[]} [filter_types]
|
|
1256
|
+
* @property {string[]} [compatible_units]
|
|
1257
|
+
*/
|
|
1258
|
+
/**
|
|
1259
|
+
* @typedef ValueTypeItem
|
|
1260
|
+
* @property {string} [key]
|
|
1261
|
+
* @property {string} [display]
|
|
1262
|
+
*/
|
|
1263
|
+
/**
|
|
1264
|
+
* @typedef SortTypeItem
|
|
1265
|
+
* @property {string} [key]
|
|
1266
|
+
* @property {string} [display]
|
|
1267
|
+
*/
|
|
1233
1268
|
/**
|
|
1234
1269
|
* @typedef GetConfigMetadataResponse
|
|
1235
|
-
* @property {
|
|
1236
|
-
* @property {
|
|
1270
|
+
* @property {ConditionItem[]} [condition]
|
|
1271
|
+
* @property {DataItem[]} data
|
|
1237
1272
|
* @property {Page} [page]
|
|
1238
|
-
* @property {
|
|
1273
|
+
* @property {GetConfigMetadataValues} [values]
|
|
1274
|
+
*/
|
|
1275
|
+
/**
|
|
1276
|
+
* @typedef GetConfigMetadataValues
|
|
1277
|
+
* @property {ValueTypeItem[]} [type]
|
|
1278
|
+
* @property {SortTypeItem[]} [sort]
|
|
1239
1279
|
*/
|
|
1240
1280
|
/**
|
|
1241
1281
|
* @typedef GetConfigResponse
|
|
@@ -1689,6 +1729,7 @@ export = CatalogPlatformModel;
|
|
|
1689
1729
|
* @typedef InventoryExportJobListResponse
|
|
1690
1730
|
* @property {InventoryJobDetailResponse} items - This is the list/history of
|
|
1691
1731
|
* all the jobs.
|
|
1732
|
+
* @property {Page} [page]
|
|
1692
1733
|
*/
|
|
1693
1734
|
/**
|
|
1694
1735
|
* @typedef InventoryExportQuantityFilter
|
|
@@ -2439,6 +2480,7 @@ export = CatalogPlatformModel;
|
|
|
2439
2480
|
/**
|
|
2440
2481
|
* @typedef ProductDownloadsResponse
|
|
2441
2482
|
* @property {ProductTemplateExportResponse[]} [items] - The items of the job.
|
|
2483
|
+
* @property {Page} [page]
|
|
2442
2484
|
*/
|
|
2443
2485
|
/**
|
|
2444
2486
|
* @typedef ProductFilters
|
|
@@ -3081,9 +3123,16 @@ export = CatalogPlatformModel;
|
|
|
3081
3123
|
* @property {boolean} [success]
|
|
3082
3124
|
*/
|
|
3083
3125
|
/**
|
|
3084
|
-
* @typedef
|
|
3085
|
-
* @property {number[]} [
|
|
3086
|
-
* @property {
|
|
3126
|
+
* @typedef CreateMarketplaceOptinResponse
|
|
3127
|
+
* @property {number[]} [store_ids]
|
|
3128
|
+
* @property {number[]} [brand_ids]
|
|
3129
|
+
* @property {number} [company_id]
|
|
3130
|
+
* @property {string} [opt_level]
|
|
3131
|
+
* @property {string} [platform]
|
|
3132
|
+
* @property {boolean} [enabled]
|
|
3133
|
+
* @property {CreatedBy} [created_by]
|
|
3134
|
+
* @property {CreatedBy} [modified_by]
|
|
3135
|
+
* @property {string} [app_id]
|
|
3087
3136
|
*/
|
|
3088
3137
|
/**
|
|
3089
3138
|
* @typedef UserCommon
|
|
@@ -3292,7 +3341,7 @@ export = CatalogPlatformModel;
|
|
|
3292
3341
|
declare class CatalogPlatformModel {
|
|
3293
3342
|
}
|
|
3294
3343
|
declare namespace CatalogPlatformModel {
|
|
3295
|
-
export { Action, AllSizes, AllowSingleRequest, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponse, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMOQ, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductListingResponse, ApplicationStoreJson, AppReturnConfigResponse, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponse, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, BulkInventoryGetItems, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchConfigurationRequest, CreateSearchConfigurationResponse, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteAppCategoryReturnConfig, DeleteResponse, DeleteSearchConfigurationResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, RawProduct, RawProductListingResponse, GTIN, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, GetConfigMetadataResponse, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetCollectionDetailResponse, CommonResponseSchemaCollection, GetQueryFiltersKeysResponse, GetQueryFiltersResponse, GetCollectionItemsResponseSchemaV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, Guide, HSNCodesResponse, HSNData, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, MOQData, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, NetQuantity, NetQuantityResponse, NextSchedule, OptInPostRequest, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponse, PTErrorResponse, Page, PageResponse, PageResponse1, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, GetQueryFiltersValuesResponse, ProductFiltersKeysOnly, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductReturnConfigBaseSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, Sitemap, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Size, SizeDistribution, SizeGuideResponse, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplateValidationData, TemplatesResponse, TemplatesValidationResponse, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse,
|
|
3344
|
+
export { Action, AllSizes, AllowSingleRequest, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponse, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMOQ, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductListingResponse, ApplicationStoreJson, AppReturnConfigResponse, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponse, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, FailedRecord, BulkInventoryGetItems, BulkProductJob, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchConfigurationRequest, CreateSearchConfigurationResponse, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteAppCategoryReturnConfig, DeleteResponse, DeleteSearchConfigurationResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, RawProduct, RawProductListingResponse, GTIN, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponse, GetConfigMetadataValues, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetCollectionDetailResponse, CommonResponseSchemaCollection, GetQueryFiltersKeysResponse, GetQueryFiltersResponse, GetCollectionItemsResponseSchemaV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, Guide, HSNCodesResponse, HSNData, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, MOQData, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, NetQuantity, NetQuantityResponse, NextSchedule, OptInPostRequest, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponse, PTErrorResponse, Page, PageResponse, PageResponse1, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, GetQueryFiltersValuesResponse, ProductFiltersKeysOnly, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductReturnConfigBaseSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, Sitemap, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Size, SizeDistribution, SizeGuideResponse, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplateValidationData, TemplatesResponse, TemplatesValidationResponse, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse, CreateMarketplaceOptinResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, CreatedBy, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequest, UpdateMarketplaceOptinResponse, ActionPage, PageType };
|
|
3296
3345
|
}
|
|
3297
3346
|
/** @returns {Action} */
|
|
3298
3347
|
declare function Action(): Action;
|
|
@@ -3809,6 +3858,12 @@ type BulkInventoryGet = {
|
|
|
3809
3858
|
items?: BulkInventoryGetItems[];
|
|
3810
3859
|
page?: Page;
|
|
3811
3860
|
};
|
|
3861
|
+
/** @returns {FailedRecord} */
|
|
3862
|
+
declare function FailedRecord(): FailedRecord;
|
|
3863
|
+
type FailedRecord = {
|
|
3864
|
+
identifiers?: string;
|
|
3865
|
+
message?: string;
|
|
3866
|
+
};
|
|
3812
3867
|
/** @returns {BulkInventoryGetItems} */
|
|
3813
3868
|
declare function BulkInventoryGetItems(): BulkInventoryGetItems;
|
|
3814
3869
|
type BulkInventoryGetItems = {
|
|
@@ -3818,7 +3873,7 @@ type BulkInventoryGetItems = {
|
|
|
3818
3873
|
created_by?: any;
|
|
3819
3874
|
created_on?: string;
|
|
3820
3875
|
failed?: number;
|
|
3821
|
-
failed_records?:
|
|
3876
|
+
failed_records?: FailedRecord[];
|
|
3822
3877
|
file_path?: string;
|
|
3823
3878
|
id?: string;
|
|
3824
3879
|
is_active?: boolean;
|
|
@@ -3828,6 +3883,15 @@ type BulkInventoryGetItems = {
|
|
|
3828
3883
|
succeed?: number;
|
|
3829
3884
|
total?: number;
|
|
3830
3885
|
};
|
|
3886
|
+
/** @returns {BulkProductJob} */
|
|
3887
|
+
declare function BulkProductJob(): BulkProductJob;
|
|
3888
|
+
type BulkProductJob = {
|
|
3889
|
+
company_id?: number;
|
|
3890
|
+
template_tag?: string;
|
|
3891
|
+
product_type?: string;
|
|
3892
|
+
department?: string;
|
|
3893
|
+
file_path?: string;
|
|
3894
|
+
};
|
|
3831
3895
|
/** @returns {BulkJob} */
|
|
3832
3896
|
declare function BulkJob(): BulkJob;
|
|
3833
3897
|
type BulkJob = {
|
|
@@ -5015,13 +5079,45 @@ type GetCompanySerializer = {
|
|
|
5015
5079
|
verified_by?: UserSerializer2;
|
|
5016
5080
|
verified_on?: string;
|
|
5017
5081
|
};
|
|
5082
|
+
/** @returns {ConditionItem} */
|
|
5083
|
+
declare function ConditionItem(): ConditionItem;
|
|
5084
|
+
type ConditionItem = {
|
|
5085
|
+
key?: string;
|
|
5086
|
+
display?: string;
|
|
5087
|
+
};
|
|
5088
|
+
/** @returns {DataItem} */
|
|
5089
|
+
declare function DataItem(): DataItem;
|
|
5090
|
+
type DataItem = {
|
|
5091
|
+
key?: string;
|
|
5092
|
+
display?: string;
|
|
5093
|
+
filter_types?: string[];
|
|
5094
|
+
compatible_units?: string[];
|
|
5095
|
+
};
|
|
5096
|
+
/** @returns {ValueTypeItem} */
|
|
5097
|
+
declare function ValueTypeItem(): ValueTypeItem;
|
|
5098
|
+
type ValueTypeItem = {
|
|
5099
|
+
key?: string;
|
|
5100
|
+
display?: string;
|
|
5101
|
+
};
|
|
5102
|
+
/** @returns {SortTypeItem} */
|
|
5103
|
+
declare function SortTypeItem(): SortTypeItem;
|
|
5104
|
+
type SortTypeItem = {
|
|
5105
|
+
key?: string;
|
|
5106
|
+
display?: string;
|
|
5107
|
+
};
|
|
5018
5108
|
/** @returns {GetConfigMetadataResponse} */
|
|
5019
5109
|
declare function GetConfigMetadataResponse(): GetConfigMetadataResponse;
|
|
5020
5110
|
type GetConfigMetadataResponse = {
|
|
5021
|
-
condition?:
|
|
5022
|
-
data:
|
|
5111
|
+
condition?: ConditionItem[];
|
|
5112
|
+
data: DataItem[];
|
|
5023
5113
|
page?: Page;
|
|
5024
|
-
values?:
|
|
5114
|
+
values?: GetConfigMetadataValues;
|
|
5115
|
+
};
|
|
5116
|
+
/** @returns {GetConfigMetadataValues} */
|
|
5117
|
+
declare function GetConfigMetadataValues(): GetConfigMetadataValues;
|
|
5118
|
+
type GetConfigMetadataValues = {
|
|
5119
|
+
type?: ValueTypeItem[];
|
|
5120
|
+
sort?: SortTypeItem[];
|
|
5025
5121
|
};
|
|
5026
5122
|
/** @returns {GetConfigResponse} */
|
|
5027
5123
|
declare function GetConfigResponse(): GetConfigResponse;
|
|
@@ -5741,6 +5837,7 @@ type InventoryExportJobListResponse = {
|
|
|
5741
5837
|
* all the jobs.
|
|
5742
5838
|
*/
|
|
5743
5839
|
items: InventoryJobDetailResponse;
|
|
5840
|
+
page?: Page;
|
|
5744
5841
|
};
|
|
5745
5842
|
/** @returns {InventoryExportQuantityFilter} */
|
|
5746
5843
|
declare function InventoryExportQuantityFilter(): InventoryExportQuantityFilter;
|
|
@@ -6915,6 +7012,7 @@ type ProductDownloadsResponse = {
|
|
|
6915
7012
|
* - The items of the job.
|
|
6916
7013
|
*/
|
|
6917
7014
|
items?: ProductTemplateExportResponse[];
|
|
7015
|
+
page?: Page;
|
|
6918
7016
|
};
|
|
6919
7017
|
/** @returns {ProductFilters} */
|
|
6920
7018
|
declare function ProductFilters(): ProductFilters;
|
|
@@ -7740,11 +7838,18 @@ declare function UpdateSearchConfigurationResponse(): UpdateSearchConfigurationR
|
|
|
7740
7838
|
type UpdateSearchConfigurationResponse = {
|
|
7741
7839
|
success?: boolean;
|
|
7742
7840
|
};
|
|
7743
|
-
/** @returns {
|
|
7744
|
-
declare function
|
|
7745
|
-
type
|
|
7746
|
-
|
|
7747
|
-
|
|
7841
|
+
/** @returns {CreateMarketplaceOptinResponse} */
|
|
7842
|
+
declare function CreateMarketplaceOptinResponse(): CreateMarketplaceOptinResponse;
|
|
7843
|
+
type CreateMarketplaceOptinResponse = {
|
|
7844
|
+
store_ids?: number[];
|
|
7845
|
+
brand_ids?: number[];
|
|
7846
|
+
company_id?: number;
|
|
7847
|
+
opt_level?: string;
|
|
7848
|
+
platform?: string;
|
|
7849
|
+
enabled?: boolean;
|
|
7850
|
+
created_by?: CreatedBy;
|
|
7851
|
+
modified_by?: CreatedBy;
|
|
7852
|
+
app_id?: string;
|
|
7748
7853
|
};
|
|
7749
7854
|
/** @returns {UserCommon} */
|
|
7750
7855
|
declare function UserCommon(): UserCommon;
|
|
@@ -422,6 +422,12 @@ const Joi = require("joi");
|
|
|
422
422
|
* @property {Page} [page]
|
|
423
423
|
*/
|
|
424
424
|
|
|
425
|
+
/**
|
|
426
|
+
* @typedef FailedRecord
|
|
427
|
+
* @property {string} [identifiers]
|
|
428
|
+
* @property {string} [message]
|
|
429
|
+
*/
|
|
430
|
+
|
|
425
431
|
/**
|
|
426
432
|
* @typedef BulkInventoryGetItems
|
|
427
433
|
* @property {number} [cancelled]
|
|
@@ -430,7 +436,7 @@ const Joi = require("joi");
|
|
|
430
436
|
* @property {Object} [created_by]
|
|
431
437
|
* @property {string} [created_on]
|
|
432
438
|
* @property {number} [failed]
|
|
433
|
-
* @property {
|
|
439
|
+
* @property {FailedRecord[]} [failed_records]
|
|
434
440
|
* @property {string} [file_path]
|
|
435
441
|
* @property {string} [id]
|
|
436
442
|
* @property {boolean} [is_active]
|
|
@@ -441,6 +447,15 @@ const Joi = require("joi");
|
|
|
441
447
|
* @property {number} [total]
|
|
442
448
|
*/
|
|
443
449
|
|
|
450
|
+
/**
|
|
451
|
+
* @typedef BulkProductJob
|
|
452
|
+
* @property {number} [company_id]
|
|
453
|
+
* @property {string} [template_tag]
|
|
454
|
+
* @property {string} [product_type]
|
|
455
|
+
* @property {string} [department]
|
|
456
|
+
* @property {string} [file_path]
|
|
457
|
+
*/
|
|
458
|
+
|
|
444
459
|
/**
|
|
445
460
|
* @typedef BulkJob
|
|
446
461
|
* @property {number} [cancelled]
|
|
@@ -1379,12 +1394,44 @@ const Joi = require("joi");
|
|
|
1379
1394
|
* @property {string} [verified_on]
|
|
1380
1395
|
*/
|
|
1381
1396
|
|
|
1397
|
+
/**
|
|
1398
|
+
* @typedef ConditionItem
|
|
1399
|
+
* @property {string} [key]
|
|
1400
|
+
* @property {string} [display]
|
|
1401
|
+
*/
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* @typedef DataItem
|
|
1405
|
+
* @property {string} [key]
|
|
1406
|
+
* @property {string} [display]
|
|
1407
|
+
* @property {string[]} [filter_types]
|
|
1408
|
+
* @property {string[]} [compatible_units]
|
|
1409
|
+
*/
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @typedef ValueTypeItem
|
|
1413
|
+
* @property {string} [key]
|
|
1414
|
+
* @property {string} [display]
|
|
1415
|
+
*/
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* @typedef SortTypeItem
|
|
1419
|
+
* @property {string} [key]
|
|
1420
|
+
* @property {string} [display]
|
|
1421
|
+
*/
|
|
1422
|
+
|
|
1382
1423
|
/**
|
|
1383
1424
|
* @typedef GetConfigMetadataResponse
|
|
1384
|
-
* @property {
|
|
1385
|
-
* @property {
|
|
1425
|
+
* @property {ConditionItem[]} [condition]
|
|
1426
|
+
* @property {DataItem[]} data
|
|
1386
1427
|
* @property {Page} [page]
|
|
1387
|
-
* @property {
|
|
1428
|
+
* @property {GetConfigMetadataValues} [values]
|
|
1429
|
+
*/
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* @typedef GetConfigMetadataValues
|
|
1433
|
+
* @property {ValueTypeItem[]} [type]
|
|
1434
|
+
* @property {SortTypeItem[]} [sort]
|
|
1388
1435
|
*/
|
|
1389
1436
|
|
|
1390
1437
|
/**
|
|
@@ -1882,6 +1929,7 @@ const Joi = require("joi");
|
|
|
1882
1929
|
* @typedef InventoryExportJobListResponse
|
|
1883
1930
|
* @property {InventoryJobDetailResponse} items - This is the list/history of
|
|
1884
1931
|
* all the jobs.
|
|
1932
|
+
* @property {Page} [page]
|
|
1885
1933
|
*/
|
|
1886
1934
|
|
|
1887
1935
|
/**
|
|
@@ -2711,6 +2759,7 @@ const Joi = require("joi");
|
|
|
2711
2759
|
/**
|
|
2712
2760
|
* @typedef ProductDownloadsResponse
|
|
2713
2761
|
* @property {ProductTemplateExportResponse[]} [items] - The items of the job.
|
|
2762
|
+
* @property {Page} [page]
|
|
2714
2763
|
*/
|
|
2715
2764
|
|
|
2716
2765
|
/**
|
|
@@ -3427,9 +3476,16 @@ const Joi = require("joi");
|
|
|
3427
3476
|
*/
|
|
3428
3477
|
|
|
3429
3478
|
/**
|
|
3430
|
-
* @typedef
|
|
3431
|
-
* @property {number[]} [
|
|
3432
|
-
* @property {
|
|
3479
|
+
* @typedef CreateMarketplaceOptinResponse
|
|
3480
|
+
* @property {number[]} [store_ids]
|
|
3481
|
+
* @property {number[]} [brand_ids]
|
|
3482
|
+
* @property {number} [company_id]
|
|
3483
|
+
* @property {string} [opt_level]
|
|
3484
|
+
* @property {string} [platform]
|
|
3485
|
+
* @property {boolean} [enabled]
|
|
3486
|
+
* @property {CreatedBy} [created_by]
|
|
3487
|
+
* @property {CreatedBy} [modified_by]
|
|
3488
|
+
* @property {string} [app_id]
|
|
3433
3489
|
*/
|
|
3434
3490
|
|
|
3435
3491
|
/**
|
|
@@ -4187,6 +4243,14 @@ class CatalogPlatformModel {
|
|
|
4187
4243
|
});
|
|
4188
4244
|
}
|
|
4189
4245
|
|
|
4246
|
+
/** @returns {FailedRecord} */
|
|
4247
|
+
static FailedRecord() {
|
|
4248
|
+
return Joi.object({
|
|
4249
|
+
identifiers: Joi.string().allow(""),
|
|
4250
|
+
message: Joi.string().allow(""),
|
|
4251
|
+
});
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4190
4254
|
/** @returns {BulkInventoryGetItems} */
|
|
4191
4255
|
static BulkInventoryGetItems() {
|
|
4192
4256
|
return Joi.object({
|
|
@@ -4196,7 +4260,7 @@ class CatalogPlatformModel {
|
|
|
4196
4260
|
created_by: Joi.any(),
|
|
4197
4261
|
created_on: Joi.string().allow(""),
|
|
4198
4262
|
failed: Joi.number(),
|
|
4199
|
-
failed_records: Joi.array().items(
|
|
4263
|
+
failed_records: Joi.array().items(CatalogPlatformModel.FailedRecord()),
|
|
4200
4264
|
file_path: Joi.string().allow(""),
|
|
4201
4265
|
id: Joi.string().allow(""),
|
|
4202
4266
|
is_active: Joi.boolean(),
|
|
@@ -4208,6 +4272,17 @@ class CatalogPlatformModel {
|
|
|
4208
4272
|
});
|
|
4209
4273
|
}
|
|
4210
4274
|
|
|
4275
|
+
/** @returns {BulkProductJob} */
|
|
4276
|
+
static BulkProductJob() {
|
|
4277
|
+
return Joi.object({
|
|
4278
|
+
company_id: Joi.number(),
|
|
4279
|
+
template_tag: Joi.string().allow(""),
|
|
4280
|
+
product_type: Joi.string().allow(""),
|
|
4281
|
+
department: Joi.string().allow(""),
|
|
4282
|
+
file_path: Joi.string().allow(""),
|
|
4283
|
+
});
|
|
4284
|
+
}
|
|
4285
|
+
|
|
4211
4286
|
/** @returns {BulkJob} */
|
|
4212
4287
|
static BulkJob() {
|
|
4213
4288
|
return Joi.object({
|
|
@@ -5331,13 +5406,55 @@ class CatalogPlatformModel {
|
|
|
5331
5406
|
});
|
|
5332
5407
|
}
|
|
5333
5408
|
|
|
5409
|
+
/** @returns {ConditionItem} */
|
|
5410
|
+
static ConditionItem() {
|
|
5411
|
+
return Joi.object({
|
|
5412
|
+
key: Joi.string().allow(""),
|
|
5413
|
+
display: Joi.string().allow(""),
|
|
5414
|
+
});
|
|
5415
|
+
}
|
|
5416
|
+
|
|
5417
|
+
/** @returns {DataItem} */
|
|
5418
|
+
static DataItem() {
|
|
5419
|
+
return Joi.object({
|
|
5420
|
+
key: Joi.string().allow(""),
|
|
5421
|
+
display: Joi.string().allow(""),
|
|
5422
|
+
filter_types: Joi.array().items(Joi.string().allow("")),
|
|
5423
|
+
compatible_units: Joi.array().items(Joi.string().allow("")),
|
|
5424
|
+
});
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5427
|
+
/** @returns {ValueTypeItem} */
|
|
5428
|
+
static ValueTypeItem() {
|
|
5429
|
+
return Joi.object({
|
|
5430
|
+
key: Joi.string().allow(""),
|
|
5431
|
+
display: Joi.string().allow(""),
|
|
5432
|
+
});
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5435
|
+
/** @returns {SortTypeItem} */
|
|
5436
|
+
static SortTypeItem() {
|
|
5437
|
+
return Joi.object({
|
|
5438
|
+
key: Joi.string().allow(""),
|
|
5439
|
+
display: Joi.string().allow(""),
|
|
5440
|
+
});
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5334
5443
|
/** @returns {GetConfigMetadataResponse} */
|
|
5335
5444
|
static GetConfigMetadataResponse() {
|
|
5336
5445
|
return Joi.object({
|
|
5337
|
-
condition: Joi.array().items(
|
|
5338
|
-
data: Joi.array().items(
|
|
5446
|
+
condition: Joi.array().items(CatalogPlatformModel.ConditionItem()),
|
|
5447
|
+
data: Joi.array().items(CatalogPlatformModel.DataItem()).required(),
|
|
5339
5448
|
page: CatalogPlatformModel.Page(),
|
|
5340
|
-
values:
|
|
5449
|
+
values: CatalogPlatformModel.GetConfigMetadataValues(),
|
|
5450
|
+
});
|
|
5451
|
+
}
|
|
5452
|
+
|
|
5453
|
+
/** @returns {GetConfigMetadataValues} */
|
|
5454
|
+
static GetConfigMetadataValues() {
|
|
5455
|
+
return Joi.object({
|
|
5456
|
+
type: Joi.array().items(CatalogPlatformModel.ValueTypeItem()),
|
|
5457
|
+
sort: Joi.array().items(CatalogPlatformModel.SortTypeItem()),
|
|
5341
5458
|
});
|
|
5342
5459
|
}
|
|
5343
5460
|
|
|
@@ -5913,6 +6030,7 @@ class CatalogPlatformModel {
|
|
|
5913
6030
|
static InventoryExportJobListResponse() {
|
|
5914
6031
|
return Joi.object({
|
|
5915
6032
|
items: CatalogPlatformModel.InventoryJobDetailResponse().required(),
|
|
6033
|
+
page: CatalogPlatformModel.Page(),
|
|
5916
6034
|
});
|
|
5917
6035
|
}
|
|
5918
6036
|
|
|
@@ -6897,6 +7015,7 @@ class CatalogPlatformModel {
|
|
|
6897
7015
|
items: Joi.array().items(
|
|
6898
7016
|
CatalogPlatformModel.ProductTemplateExportResponse()
|
|
6899
7017
|
),
|
|
7018
|
+
page: CatalogPlatformModel.Page(),
|
|
6900
7019
|
});
|
|
6901
7020
|
}
|
|
6902
7021
|
|
|
@@ -7762,11 +7881,18 @@ class CatalogPlatformModel {
|
|
|
7762
7881
|
});
|
|
7763
7882
|
}
|
|
7764
7883
|
|
|
7765
|
-
/** @returns {
|
|
7766
|
-
static
|
|
7884
|
+
/** @returns {CreateMarketplaceOptinResponse} */
|
|
7885
|
+
static CreateMarketplaceOptinResponse() {
|
|
7767
7886
|
return Joi.object({
|
|
7768
|
-
|
|
7769
|
-
|
|
7887
|
+
store_ids: Joi.array().items(Joi.number()),
|
|
7888
|
+
brand_ids: Joi.array().items(Joi.number()),
|
|
7889
|
+
company_id: Joi.number(),
|
|
7890
|
+
opt_level: Joi.string().allow(""),
|
|
7891
|
+
platform: Joi.string().allow(""),
|
|
7892
|
+
enabled: Joi.boolean(),
|
|
7893
|
+
created_by: CatalogPlatformModel.CreatedBy(),
|
|
7894
|
+
modified_by: CatalogPlatformModel.CreatedBy(),
|
|
7895
|
+
app_id: Joi.string().allow(""),
|
|
7770
7896
|
});
|
|
7771
7897
|
}
|
|
7772
7898
|
|
|
@@ -44,8 +44,8 @@ export = CatalogPlatformValidator;
|
|
|
44
44
|
*/
|
|
45
45
|
/**
|
|
46
46
|
* @typedef CreateMarketplaceOptinParam
|
|
47
|
-
* @property {string}
|
|
48
|
-
* to be retrieved.
|
|
47
|
+
* @property {string} marketplaceSlug - The marketplace for which the detail
|
|
48
|
+
* needs to be retrieved.
|
|
49
49
|
* @property {CatalogPlatformModel.OptInPostRequest} body
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
@@ -190,6 +190,7 @@ export = CatalogPlatformValidator;
|
|
|
190
190
|
* set of results
|
|
191
191
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
192
192
|
* Default is 12.
|
|
193
|
+
* @property {string} [search] - Search string to filter the results by batch id
|
|
193
194
|
*/
|
|
194
195
|
/**
|
|
195
196
|
* @typedef GetInventoryBySizeParam
|
|
@@ -268,6 +269,10 @@ export = CatalogPlatformValidator;
|
|
|
268
269
|
* the from_date specified to the to_date.
|
|
269
270
|
* @property {string} [q] - It is a query parameter to search the export job
|
|
270
271
|
* with the task ID.
|
|
272
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
273
|
+
* set of results
|
|
274
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
275
|
+
* Default is 12.
|
|
271
276
|
*/
|
|
272
277
|
/**
|
|
273
278
|
* @typedef GetProductSizeParam
|
|
@@ -367,6 +372,10 @@ export = CatalogPlatformValidator;
|
|
|
367
372
|
* to from_date.
|
|
368
373
|
* @property {string} [toDate] - Inventory export history filtered according to from_date.
|
|
369
374
|
* @property {string} [q] - Inventory export history filtered according to task ID.
|
|
375
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
376
|
+
* set of results
|
|
377
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
378
|
+
* Default is 12.
|
|
370
379
|
*/
|
|
371
380
|
/**
|
|
372
381
|
* @typedef ListProductTemplateParam
|
|
@@ -436,7 +445,7 @@ export = CatalogPlatformValidator;
|
|
|
436
445
|
* @property {string} department - Department of the product to be uploaded.
|
|
437
446
|
* @property {string} productType - Product type of the product to be uploaded
|
|
438
447
|
* i.e. set, standard , digital.
|
|
439
|
-
* @property {CatalogPlatformModel.
|
|
448
|
+
* @property {CatalogPlatformModel.BulkProductJob} body
|
|
440
449
|
*/
|
|
441
450
|
/**
|
|
442
451
|
* @typedef ValidateProductTemplateParam
|
|
@@ -661,10 +670,10 @@ type CreateInventoryExportJobParam = {
|
|
|
661
670
|
};
|
|
662
671
|
type CreateMarketplaceOptinParam = {
|
|
663
672
|
/**
|
|
664
|
-
* - The marketplace for which the detail
|
|
665
|
-
* to be retrieved.
|
|
673
|
+
* - The marketplace for which the detail
|
|
674
|
+
* needs to be retrieved.
|
|
666
675
|
*/
|
|
667
|
-
|
|
676
|
+
marketplaceSlug: string;
|
|
668
677
|
body: CatalogPlatformModel.OptInPostRequest;
|
|
669
678
|
};
|
|
670
679
|
type CreateProductParam = {
|
|
@@ -922,6 +931,10 @@ type GetInventoryBulkUploadHistoryParam = {
|
|
|
922
931
|
* Default is 12.
|
|
923
932
|
*/
|
|
924
933
|
pageSize?: number;
|
|
934
|
+
/**
|
|
935
|
+
* - Search string to filter the results by batch id
|
|
936
|
+
*/
|
|
937
|
+
search?: string;
|
|
925
938
|
};
|
|
926
939
|
type GetInventoryBySizeParam = {
|
|
927
940
|
/**
|
|
@@ -1074,6 +1087,16 @@ type GetProductExportJobsParam = {
|
|
|
1074
1087
|
* with the task ID.
|
|
1075
1088
|
*/
|
|
1076
1089
|
q?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* - The page number to navigate through the given
|
|
1092
|
+
* set of results
|
|
1093
|
+
*/
|
|
1094
|
+
pageNo?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* - Number of items to retrieve in each page.
|
|
1097
|
+
* Default is 12.
|
|
1098
|
+
*/
|
|
1099
|
+
pageSize?: number;
|
|
1077
1100
|
};
|
|
1078
1101
|
type GetProductSizeParam = {
|
|
1079
1102
|
/**
|
|
@@ -1300,6 +1323,16 @@ type ListInventoryExportParam = {
|
|
|
1300
1323
|
* - Inventory export history filtered according to task ID.
|
|
1301
1324
|
*/
|
|
1302
1325
|
q?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* - The page number to navigate through the given
|
|
1328
|
+
* set of results
|
|
1329
|
+
*/
|
|
1330
|
+
pageNo?: number;
|
|
1331
|
+
/**
|
|
1332
|
+
* - Number of items to retrieve in each page.
|
|
1333
|
+
* Default is 12.
|
|
1334
|
+
*/
|
|
1335
|
+
pageSize?: number;
|
|
1303
1336
|
};
|
|
1304
1337
|
type ListProductTemplateParam = {
|
|
1305
1338
|
/**
|
|
@@ -1404,7 +1437,7 @@ type UploadBulkProductsParam = {
|
|
|
1404
1437
|
* i.e. set, standard , digital.
|
|
1405
1438
|
*/
|
|
1406
1439
|
productType: string;
|
|
1407
|
-
body: CatalogPlatformModel.
|
|
1440
|
+
body: CatalogPlatformModel.BulkProductJob;
|
|
1408
1441
|
};
|
|
1409
1442
|
type ValidateProductTemplateParam = {
|
|
1410
1443
|
/**
|