@gofynd/fdk-client-javascript 1.4.6 → 1.4.7

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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +6 -0
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +6 -0
  7. package/sdk/application/Content/ContentApplicationModel.d.ts +2 -0
  8. package/sdk/application/Content/ContentApplicationModel.js +2 -0
  9. package/sdk/application/Order/OrderApplicationModel.d.ts +70 -9
  10. package/sdk/application/Order/OrderApplicationModel.js +43 -7
  11. package/sdk/application/Payment/PaymentApplicationModel.d.ts +18 -18
  12. package/sdk/application/Payment/PaymentApplicationModel.js +18 -18
  13. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +22 -0
  14. package/sdk/application/Webhook/WebhookApplicationClient.js +115 -0
  15. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +37 -0
  16. package/sdk/application/Webhook/WebhookApplicationModel.js +46 -0
  17. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +16 -0
  18. package/sdk/application/Webhook/WebhookApplicationValidator.js +19 -0
  19. package/sdk/application/index.d.ts +1 -0
  20. package/sdk/application/index.js +2 -0
  21. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
  22. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  23. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +23 -19
  24. package/sdk/partner/Webhook/WebhookPartnerModel.js +19 -22
  25. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +43 -0
  26. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +257 -0
  27. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +39 -0
  28. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +45 -0
  29. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +60 -0
  30. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +57 -0
  31. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +10 -0
  32. package/sdk/platform/Cart/CartPlatformApplicationClient.js +80 -0
  33. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -1
  34. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -0
  35. package/sdk/platform/Cart/CartPlatformModel.d.ts +2 -0
  36. package/sdk/platform/Cart/CartPlatformModel.js +2 -0
  37. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +9 -5
  38. package/sdk/platform/Catalog/CatalogPlatformClient.js +19 -12
  39. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +118 -17
  40. package/sdk/platform/Catalog/CatalogPlatformModel.js +137 -15
  41. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +12 -7
  42. package/sdk/platform/Catalog/CatalogPlatformValidator.js +7 -5
  43. package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -0
  44. package/sdk/platform/Content/ContentPlatformModel.js +2 -0
  45. package/sdk/platform/Order/OrderPlatformClient.d.ts +11 -1
  46. package/sdk/platform/Order/OrderPlatformClient.js +82 -5
  47. package/sdk/platform/Order/OrderPlatformModel.d.ts +163 -15
  48. package/sdk/platform/Order/OrderPlatformModel.js +92 -14
  49. package/sdk/platform/Order/OrderPlatformValidator.d.ts +58 -17
  50. package/sdk/platform/Order/OrderPlatformValidator.js +28 -16
  51. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -2
  52. package/sdk/platform/Payment/PaymentPlatformModel.js +2 -2
  53. package/sdk/platform/PlatformApplicationClient.d.ts +2 -0
  54. package/sdk/platform/PlatformApplicationClient.js +4 -0
  55. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +24 -0
  56. package/sdk/platform/Webhook/WebhookPlatformClient.js +164 -0
  57. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +71 -18
  58. package/sdk/platform/Webhook/WebhookPlatformModel.js +75 -22
  59. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +19 -1
  60. package/sdk/platform/Webhook/WebhookPlatformValidator.js +24 -0
  61. package/sdk/platform/index.d.ts +1 -0
  62. package/sdk/platform/index.js +2 -0
  63. package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
  64. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  65. package/sdk/public/Webhook/WebhookPublicModel.d.ts +2 -0
  66. package/sdk/public/Webhook/WebhookPublicModel.js +2 -0
@@ -107,12 +107,14 @@ declare class Catalog {
107
107
  * @param {CatalogPlatformValidator.CreateMarketplaceOptinParam} arg - Arg object
108
108
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
109
109
  * @param {import("../PlatformAPIClient").Options} - Options
110
- * @returns {Promise<CatalogPlatformModel.UpdatedResponse>} - Success response
110
+ * @returns {Promise<CatalogPlatformModel.CreateMarketplaceOptinResponse>}
111
+ * - Success response
112
+ *
111
113
  * @name createMarketplaceOptin
112
114
  * @summary: Create or Update opt-in infomation
113
- * @description: Allows to create and update opt-in information for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createMarketplaceOptin/).
115
+ * @description: Allows to create opt-in information for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createMarketplaceOptin/).
114
116
  */
115
- createMarketplaceOptin({ marketplace, body, requestHeaders }?: CatalogPlatformValidator.CreateMarketplaceOptinParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.UpdatedResponse>;
117
+ createMarketplaceOptin({ marketplaceSlug, body, requestHeaders }?: CatalogPlatformValidator.CreateMarketplaceOptinParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CreateMarketplaceOptinResponse>;
116
118
  /**
117
119
  * @param {CatalogPlatformValidator.CreateProductParam} arg - Arg object
118
120
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -422,17 +424,19 @@ declare class Catalog {
422
424
  * @summary: List bulk inventory upload history
423
425
  * @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getInventoryBulkUploadHistory/).
424
426
  */
425
- getInventoryBulkUploadHistory({ pageNo, pageSize, requestHeaders }?: CatalogPlatformValidator.GetInventoryBulkUploadHistoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.BulkInventoryGet>;
427
+ getInventoryBulkUploadHistory({ pageNo, pageSize, search, requestHeaders }?: CatalogPlatformValidator.GetInventoryBulkUploadHistoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.BulkInventoryGet>;
426
428
  /**
427
429
  * @param {Object} arg - Arg object.
428
430
  * @param {number} [arg.pageSize] - Number of items to retrieve in each
429
431
  * page. Default is 12.
432
+ * @param {string} [arg.search] - Search string to filter the results by batch id
430
433
  * @returns {Paginator<CatalogPlatformModel.BulkInventoryGet>}
431
434
  * @summary: List bulk inventory upload history
432
435
  * @description: Helps to get bulk Inventory upload jobs status.
433
436
  */
434
- getInventoryBulkUploadHistoryPaginator({ pageSize }?: {
437
+ getInventoryBulkUploadHistoryPaginator({ pageSize, search }?: {
435
438
  pageSize?: number;
439
+ search?: string;
436
440
  }): Paginator<CatalogPlatformModel.BulkInventoryGet>;
437
441
  /**
438
442
  * @param {CatalogPlatformValidator.GetInventoryBySizeParam} arg - Arg object
@@ -817,20 +817,22 @@ class Catalog {
817
817
  * @param {CatalogPlatformValidator.CreateMarketplaceOptinParam} arg - Arg object
818
818
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
819
819
  * @param {import("../PlatformAPIClient").Options} - Options
820
- * @returns {Promise<CatalogPlatformModel.UpdatedResponse>} - Success response
820
+ * @returns {Promise<CatalogPlatformModel.CreateMarketplaceOptinResponse>}
821
+ * - Success response
822
+ *
821
823
  * @name createMarketplaceOptin
822
824
  * @summary: Create or Update opt-in infomation
823
- * @description: Allows to create and update opt-in information for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createMarketplaceOptin/).
825
+ * @description: Allows to create opt-in information for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createMarketplaceOptin/).
824
826
  */
825
827
  async createMarketplaceOptin(
826
- { marketplace, body, requestHeaders } = { requestHeaders: {} },
828
+ { marketplaceSlug, body, requestHeaders } = { requestHeaders: {} },
827
829
  { responseHeaders } = { responseHeaders: false }
828
830
  ) {
829
831
  const {
830
832
  error,
831
833
  } = CatalogPlatformValidator.createMarketplaceOptin().validate(
832
834
  {
833
- marketplace,
835
+ marketplaceSlug,
834
836
  body,
835
837
  },
836
838
  { abortEarly: false, allowUnknown: true }
@@ -844,7 +846,7 @@ class Catalog {
844
846
  error: warrning,
845
847
  } = CatalogPlatformValidator.createMarketplaceOptin().validate(
846
848
  {
847
- marketplace,
849
+ marketplaceSlug,
848
850
  body,
849
851
  },
850
852
  { abortEarly: false, allowUnknown: false }
@@ -863,7 +865,7 @@ class Catalog {
863
865
  const response = await PlatformAPIClient.execute(
864
866
  this.config,
865
867
  "post",
866
- `/service/platform/catalog/v1.0/company/${this.config.companyId}/marketplaces/${marketplace}/optin/`,
868
+ `/service/platform/catalog/v1.0/company/${this.config.companyId}/channel/${marketplaceSlug}/opt-in`,
867
869
  query_params,
868
870
  body,
869
871
  { ...xHeaders, ...requestHeaders },
@@ -877,10 +879,10 @@ class Catalog {
877
879
 
878
880
  const {
879
881
  error: res_error,
880
- } = CatalogPlatformModel.UpdatedResponse().validate(responseData, {
881
- abortEarly: false,
882
- allowUnknown: true,
883
- });
882
+ } = CatalogPlatformModel.CreateMarketplaceOptinResponse().validate(
883
+ responseData,
884
+ { abortEarly: false, allowUnknown: true }
885
+ );
884
886
 
885
887
  if (res_error) {
886
888
  if (this.config.options.strictResponseCheck === true) {
@@ -2999,7 +3001,7 @@ class Catalog {
2999
3001
  * @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getInventoryBulkUploadHistory/).
3000
3002
  */
3001
3003
  async getInventoryBulkUploadHistory(
3002
- { pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
3004
+ { pageNo, pageSize, search, requestHeaders } = { requestHeaders: {} },
3003
3005
  { responseHeaders } = { responseHeaders: false }
3004
3006
  ) {
3005
3007
  const {
@@ -3008,6 +3010,7 @@ class Catalog {
3008
3010
  {
3009
3011
  pageNo,
3010
3012
  pageSize,
3013
+ search,
3011
3014
  },
3012
3015
  { abortEarly: false, allowUnknown: true }
3013
3016
  );
@@ -3022,6 +3025,7 @@ class Catalog {
3022
3025
  {
3023
3026
  pageNo,
3024
3027
  pageSize,
3028
+ search,
3025
3029
  },
3026
3030
  { abortEarly: false, allowUnknown: false }
3027
3031
  );
@@ -3035,6 +3039,7 @@ class Catalog {
3035
3039
  const query_params = {};
3036
3040
  query_params["page_no"] = pageNo;
3037
3041
  query_params["page_size"] = pageSize;
3042
+ query_params["search"] = search;
3038
3043
 
3039
3044
  const xHeaders = {};
3040
3045
 
@@ -3078,11 +3083,12 @@ class Catalog {
3078
3083
  * @param {Object} arg - Arg object.
3079
3084
  * @param {number} [arg.pageSize] - Number of items to retrieve in each
3080
3085
  * page. Default is 12.
3086
+ * @param {string} [arg.search] - Search string to filter the results by batch id
3081
3087
  * @returns {Paginator<CatalogPlatformModel.BulkInventoryGet>}
3082
3088
  * @summary: List bulk inventory upload history
3083
3089
  * @description: Helps to get bulk Inventory upload jobs status.
3084
3090
  */
3085
- getInventoryBulkUploadHistoryPaginator({ pageSize } = {}) {
3091
+ getInventoryBulkUploadHistoryPaginator({ pageSize, search } = {}) {
3086
3092
  const paginator = new Paginator();
3087
3093
  const callback = async () => {
3088
3094
  const pageId = paginator.nextId;
@@ -3091,6 +3097,7 @@ class Catalog {
3091
3097
  const data = await this.getInventoryBulkUploadHistory({
3092
3098
  pageNo: pageNo,
3093
3099
  pageSize: pageSize,
3100
+ search: search,
3094
3101
  });
3095
3102
  paginator.setPaginator({
3096
3103
  hasNext: data.page.has_next ? true : false,
@@ -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 {string[]} [failed_records]
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 {Object[]} [condition]
1236
- * @property {Object[]} data
1270
+ * @property {ConditionItem[]} [condition]
1271
+ * @property {DataItem[]} data
1237
1272
  * @property {Page} [page]
1238
- * @property {Object[]} [values]
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
@@ -3081,9 +3121,16 @@ export = CatalogPlatformModel;
3081
3121
  * @property {boolean} [success]
3082
3122
  */
3083
3123
  /**
3084
- * @typedef UpdatedResponse
3085
- * @property {number[]} [items_not_updated]
3086
- * @property {string} [message]
3124
+ * @typedef CreateMarketplaceOptinResponse
3125
+ * @property {number[]} [store_ids]
3126
+ * @property {number[]} [brand_ids]
3127
+ * @property {number} [company_id]
3128
+ * @property {string} [opt_level]
3129
+ * @property {string} [platform]
3130
+ * @property {boolean} [enabled]
3131
+ * @property {CreatedBy} [created_by]
3132
+ * @property {CreatedBy} [modified_by]
3133
+ * @property {string} [app_id]
3087
3134
  */
3088
3135
  /**
3089
3136
  * @typedef UserCommon
@@ -3292,7 +3339,7 @@ export = CatalogPlatformModel;
3292
3339
  declare class CatalogPlatformModel {
3293
3340
  }
3294
3341
  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, UpdatedResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, CreatedBy, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequest, UpdateMarketplaceOptinResponse, ActionPage, PageType };
3342
+ 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
3343
  }
3297
3344
  /** @returns {Action} */
3298
3345
  declare function Action(): Action;
@@ -3809,6 +3856,12 @@ type BulkInventoryGet = {
3809
3856
  items?: BulkInventoryGetItems[];
3810
3857
  page?: Page;
3811
3858
  };
3859
+ /** @returns {FailedRecord} */
3860
+ declare function FailedRecord(): FailedRecord;
3861
+ type FailedRecord = {
3862
+ identifiers?: string;
3863
+ message?: string;
3864
+ };
3812
3865
  /** @returns {BulkInventoryGetItems} */
3813
3866
  declare function BulkInventoryGetItems(): BulkInventoryGetItems;
3814
3867
  type BulkInventoryGetItems = {
@@ -3818,7 +3871,7 @@ type BulkInventoryGetItems = {
3818
3871
  created_by?: any;
3819
3872
  created_on?: string;
3820
3873
  failed?: number;
3821
- failed_records?: string[];
3874
+ failed_records?: FailedRecord[];
3822
3875
  file_path?: string;
3823
3876
  id?: string;
3824
3877
  is_active?: boolean;
@@ -3828,6 +3881,15 @@ type BulkInventoryGetItems = {
3828
3881
  succeed?: number;
3829
3882
  total?: number;
3830
3883
  };
3884
+ /** @returns {BulkProductJob} */
3885
+ declare function BulkProductJob(): BulkProductJob;
3886
+ type BulkProductJob = {
3887
+ company_id?: number;
3888
+ template_tag?: string;
3889
+ product_type?: string;
3890
+ department?: string;
3891
+ file_path?: string;
3892
+ };
3831
3893
  /** @returns {BulkJob} */
3832
3894
  declare function BulkJob(): BulkJob;
3833
3895
  type BulkJob = {
@@ -5015,13 +5077,45 @@ type GetCompanySerializer = {
5015
5077
  verified_by?: UserSerializer2;
5016
5078
  verified_on?: string;
5017
5079
  };
5080
+ /** @returns {ConditionItem} */
5081
+ declare function ConditionItem(): ConditionItem;
5082
+ type ConditionItem = {
5083
+ key?: string;
5084
+ display?: string;
5085
+ };
5086
+ /** @returns {DataItem} */
5087
+ declare function DataItem(): DataItem;
5088
+ type DataItem = {
5089
+ key?: string;
5090
+ display?: string;
5091
+ filter_types?: string[];
5092
+ compatible_units?: string[];
5093
+ };
5094
+ /** @returns {ValueTypeItem} */
5095
+ declare function ValueTypeItem(): ValueTypeItem;
5096
+ type ValueTypeItem = {
5097
+ key?: string;
5098
+ display?: string;
5099
+ };
5100
+ /** @returns {SortTypeItem} */
5101
+ declare function SortTypeItem(): SortTypeItem;
5102
+ type SortTypeItem = {
5103
+ key?: string;
5104
+ display?: string;
5105
+ };
5018
5106
  /** @returns {GetConfigMetadataResponse} */
5019
5107
  declare function GetConfigMetadataResponse(): GetConfigMetadataResponse;
5020
5108
  type GetConfigMetadataResponse = {
5021
- condition?: any[];
5022
- data: any[];
5109
+ condition?: ConditionItem[];
5110
+ data: DataItem[];
5023
5111
  page?: Page;
5024
- values?: any[];
5112
+ values?: GetConfigMetadataValues;
5113
+ };
5114
+ /** @returns {GetConfigMetadataValues} */
5115
+ declare function GetConfigMetadataValues(): GetConfigMetadataValues;
5116
+ type GetConfigMetadataValues = {
5117
+ type?: ValueTypeItem[];
5118
+ sort?: SortTypeItem[];
5025
5119
  };
5026
5120
  /** @returns {GetConfigResponse} */
5027
5121
  declare function GetConfigResponse(): GetConfigResponse;
@@ -7740,11 +7834,18 @@ declare function UpdateSearchConfigurationResponse(): UpdateSearchConfigurationR
7740
7834
  type UpdateSearchConfigurationResponse = {
7741
7835
  success?: boolean;
7742
7836
  };
7743
- /** @returns {UpdatedResponse} */
7744
- declare function UpdatedResponse(): UpdatedResponse;
7745
- type UpdatedResponse = {
7746
- items_not_updated?: number[];
7747
- message?: string;
7837
+ /** @returns {CreateMarketplaceOptinResponse} */
7838
+ declare function CreateMarketplaceOptinResponse(): CreateMarketplaceOptinResponse;
7839
+ type CreateMarketplaceOptinResponse = {
7840
+ store_ids?: number[];
7841
+ brand_ids?: number[];
7842
+ company_id?: number;
7843
+ opt_level?: string;
7844
+ platform?: string;
7845
+ enabled?: boolean;
7846
+ created_by?: CreatedBy;
7847
+ modified_by?: CreatedBy;
7848
+ app_id?: string;
7748
7849
  };
7749
7850
  /** @returns {UserCommon} */
7750
7851
  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 {string[]} [failed_records]
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 {Object[]} [condition]
1385
- * @property {Object[]} data
1425
+ * @property {ConditionItem[]} [condition]
1426
+ * @property {DataItem[]} data
1386
1427
  * @property {Page} [page]
1387
- * @property {Object[]} [values]
1428
+ * @property {GetConfigMetadataValues} [values]
1429
+ */
1430
+
1431
+ /**
1432
+ * @typedef GetConfigMetadataValues
1433
+ * @property {ValueTypeItem[]} [type]
1434
+ * @property {SortTypeItem[]} [sort]
1388
1435
  */
1389
1436
 
1390
1437
  /**
@@ -3427,9 +3474,16 @@ const Joi = require("joi");
3427
3474
  */
3428
3475
 
3429
3476
  /**
3430
- * @typedef UpdatedResponse
3431
- * @property {number[]} [items_not_updated]
3432
- * @property {string} [message]
3477
+ * @typedef CreateMarketplaceOptinResponse
3478
+ * @property {number[]} [store_ids]
3479
+ * @property {number[]} [brand_ids]
3480
+ * @property {number} [company_id]
3481
+ * @property {string} [opt_level]
3482
+ * @property {string} [platform]
3483
+ * @property {boolean} [enabled]
3484
+ * @property {CreatedBy} [created_by]
3485
+ * @property {CreatedBy} [modified_by]
3486
+ * @property {string} [app_id]
3433
3487
  */
3434
3488
 
3435
3489
  /**
@@ -4187,6 +4241,14 @@ class CatalogPlatformModel {
4187
4241
  });
4188
4242
  }
4189
4243
 
4244
+ /** @returns {FailedRecord} */
4245
+ static FailedRecord() {
4246
+ return Joi.object({
4247
+ identifiers: Joi.string().allow(""),
4248
+ message: Joi.string().allow(""),
4249
+ });
4250
+ }
4251
+
4190
4252
  /** @returns {BulkInventoryGetItems} */
4191
4253
  static BulkInventoryGetItems() {
4192
4254
  return Joi.object({
@@ -4196,7 +4258,7 @@ class CatalogPlatformModel {
4196
4258
  created_by: Joi.any(),
4197
4259
  created_on: Joi.string().allow(""),
4198
4260
  failed: Joi.number(),
4199
- failed_records: Joi.array().items(Joi.string().allow("")),
4261
+ failed_records: Joi.array().items(CatalogPlatformModel.FailedRecord()),
4200
4262
  file_path: Joi.string().allow(""),
4201
4263
  id: Joi.string().allow(""),
4202
4264
  is_active: Joi.boolean(),
@@ -4208,6 +4270,17 @@ class CatalogPlatformModel {
4208
4270
  });
4209
4271
  }
4210
4272
 
4273
+ /** @returns {BulkProductJob} */
4274
+ static BulkProductJob() {
4275
+ return Joi.object({
4276
+ company_id: Joi.number(),
4277
+ template_tag: Joi.string().allow(""),
4278
+ product_type: Joi.string().allow(""),
4279
+ department: Joi.string().allow(""),
4280
+ file_path: Joi.string().allow(""),
4281
+ });
4282
+ }
4283
+
4211
4284
  /** @returns {BulkJob} */
4212
4285
  static BulkJob() {
4213
4286
  return Joi.object({
@@ -5331,13 +5404,55 @@ class CatalogPlatformModel {
5331
5404
  });
5332
5405
  }
5333
5406
 
5407
+ /** @returns {ConditionItem} */
5408
+ static ConditionItem() {
5409
+ return Joi.object({
5410
+ key: Joi.string().allow(""),
5411
+ display: Joi.string().allow(""),
5412
+ });
5413
+ }
5414
+
5415
+ /** @returns {DataItem} */
5416
+ static DataItem() {
5417
+ return Joi.object({
5418
+ key: Joi.string().allow(""),
5419
+ display: Joi.string().allow(""),
5420
+ filter_types: Joi.array().items(Joi.string().allow("")),
5421
+ compatible_units: Joi.array().items(Joi.string().allow("")),
5422
+ });
5423
+ }
5424
+
5425
+ /** @returns {ValueTypeItem} */
5426
+ static ValueTypeItem() {
5427
+ return Joi.object({
5428
+ key: Joi.string().allow(""),
5429
+ display: Joi.string().allow(""),
5430
+ });
5431
+ }
5432
+
5433
+ /** @returns {SortTypeItem} */
5434
+ static SortTypeItem() {
5435
+ return Joi.object({
5436
+ key: Joi.string().allow(""),
5437
+ display: Joi.string().allow(""),
5438
+ });
5439
+ }
5440
+
5334
5441
  /** @returns {GetConfigMetadataResponse} */
5335
5442
  static GetConfigMetadataResponse() {
5336
5443
  return Joi.object({
5337
- condition: Joi.array().items(Joi.any()),
5338
- data: Joi.array().items(Joi.any()).required(),
5444
+ condition: Joi.array().items(CatalogPlatformModel.ConditionItem()),
5445
+ data: Joi.array().items(CatalogPlatformModel.DataItem()).required(),
5339
5446
  page: CatalogPlatformModel.Page(),
5340
- values: Joi.array().items(Joi.any()),
5447
+ values: CatalogPlatformModel.GetConfigMetadataValues(),
5448
+ });
5449
+ }
5450
+
5451
+ /** @returns {GetConfigMetadataValues} */
5452
+ static GetConfigMetadataValues() {
5453
+ return Joi.object({
5454
+ type: Joi.array().items(CatalogPlatformModel.ValueTypeItem()),
5455
+ sort: Joi.array().items(CatalogPlatformModel.SortTypeItem()),
5341
5456
  });
5342
5457
  }
5343
5458
 
@@ -7762,11 +7877,18 @@ class CatalogPlatformModel {
7762
7877
  });
7763
7878
  }
7764
7879
 
7765
- /** @returns {UpdatedResponse} */
7766
- static UpdatedResponse() {
7880
+ /** @returns {CreateMarketplaceOptinResponse} */
7881
+ static CreateMarketplaceOptinResponse() {
7767
7882
  return Joi.object({
7768
- items_not_updated: Joi.array().items(Joi.number()),
7769
- message: Joi.string().allow(""),
7883
+ store_ids: Joi.array().items(Joi.number()),
7884
+ brand_ids: Joi.array().items(Joi.number()),
7885
+ company_id: Joi.number(),
7886
+ opt_level: Joi.string().allow(""),
7887
+ platform: Joi.string().allow(""),
7888
+ enabled: Joi.boolean(),
7889
+ created_by: CatalogPlatformModel.CreatedBy(),
7890
+ modified_by: CatalogPlatformModel.CreatedBy(),
7891
+ app_id: Joi.string().allow(""),
7770
7892
  });
7771
7893
  }
7772
7894
 
@@ -44,8 +44,8 @@ export = CatalogPlatformValidator;
44
44
  */
45
45
  /**
46
46
  * @typedef CreateMarketplaceOptinParam
47
- * @property {string} marketplace - The marketplace for which the detail needs
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
@@ -436,7 +437,7 @@ export = CatalogPlatformValidator;
436
437
  * @property {string} department - Department of the product to be uploaded.
437
438
  * @property {string} productType - Product type of the product to be uploaded
438
439
  * i.e. set, standard , digital.
439
- * @property {CatalogPlatformModel.BulkJob} body
440
+ * @property {CatalogPlatformModel.BulkProductJob} body
440
441
  */
441
442
  /**
442
443
  * @typedef ValidateProductTemplateParam
@@ -661,10 +662,10 @@ type CreateInventoryExportJobParam = {
661
662
  };
662
663
  type CreateMarketplaceOptinParam = {
663
664
  /**
664
- * - The marketplace for which the detail needs
665
- * to be retrieved.
665
+ * - The marketplace for which the detail
666
+ * needs to be retrieved.
666
667
  */
667
- marketplace: string;
668
+ marketplaceSlug: string;
668
669
  body: CatalogPlatformModel.OptInPostRequest;
669
670
  };
670
671
  type CreateProductParam = {
@@ -922,6 +923,10 @@ type GetInventoryBulkUploadHistoryParam = {
922
923
  * Default is 12.
923
924
  */
924
925
  pageSize?: number;
926
+ /**
927
+ * - Search string to filter the results by batch id
928
+ */
929
+ search?: string;
925
930
  };
926
931
  type GetInventoryBySizeParam = {
927
932
  /**
@@ -1404,7 +1409,7 @@ type UploadBulkProductsParam = {
1404
1409
  * i.e. set, standard , digital.
1405
1410
  */
1406
1411
  productType: string;
1407
- body: CatalogPlatformModel.BulkJob;
1412
+ body: CatalogPlatformModel.BulkProductJob;
1408
1413
  };
1409
1414
  type ValidateProductTemplateParam = {
1410
1415
  /**