/**
 * Selling Partner API for A+ Content Management
 * With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.
 *
 * The version of the OpenAPI document: 2020-11-01
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */ import { Configuration } from './configuration' ; import globalAxios , { AxiosPromise , AxiosInstance } from 'axios' ; import { DUMMY_BASE_URL , assertParamExists , setApiKeyToObject , setBasicAuthToObject , setBearerAuthToObject , setOAuthToObject , setSearchParams , serializeDataIfNeeded , toPathString , createRequestFunction } from './common' ; import { BASE_PATH , COLLECTION_FORMATS , RequestArgs , BaseAPI , RequiredError } from './base' ; export interface export interface AplusPaginatedResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { string } memberof nextPageToken ? : string ; } export interface export interface AplusPaginatedResponseAllOf { type { string } memberof nextPageToken ? : string ; } export interface export interface AplusResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; } export enum { string } export enum AsinBadge { BrandNotEligible = 'BRAND_NOT_ELIGIBLE' , CatalogNotFound = 'CATALOG_NOT_FOUND' , ContentNotPublished = 'CONTENT_NOT_PUBLISHED' , ContentPublished = 'CONTENT_PUBLISHED' } export interface export interface AsinMetadata { type { string } memberof asin : string ; type { Array < AsinBadge > } memberof badgeSet ? : Array < ( AsinBadge | 'BRAND_NOT_ELIGIBLE' | 'CATALOG_NOT_FOUND' | 'CONTENT_NOT_PUBLISHED' | 'CONTENT_PUBLISHED' ) > ; type { string } memberof parent ? : string ; type { string } memberof title ? : string ; type { string } memberof imageUrl ? : string ; type { Array < string > } memberof contentReferenceKeySet ? : Array < string > ; } export enum { string } export enum ColorType { Dark = 'DARK' , Light = 'LIGHT' } export enum { string } export enum ContentBadge { Bulk = 'BULK' , Generated = 'GENERATED' , Launchpad = 'LAUNCHPAD' , Premium = 'PREMIUM' , Standard = 'STANDARD' } export interface export interface ContentDocument { type { string } memberof name : string ; type { ContentType } memberof contentType : ContentType | 'EBC' | 'EMC' ; type { string } memberof contentSubType ? : string ; type { string } memberof locale : string ; type { Array < ContentModule > } memberof contentModuleList : Array < ContentModule > ; } export interface export interface ContentMetadata { type { string } memberof name : string ; type { string } memberof marketplaceId : string ; type { ContentStatus } memberof status : ContentStatus | 'APPROVED' | 'DRAFT' | 'REJECTED' | 'SUBMITTED' ; type { Array < ContentBadge > } memberof badgeSet : Array < ( ContentBadge | 'BULK' | 'GENERATED' | 'LAUNCHPAD' | 'PREMIUM' | 'STANDARD' ) > ; type { string } memberof updateTime : string ; } export interface export interface ContentMetadataRecord { type { string } memberof contentReferenceKey : string ; type { ContentMetadata } memberof contentMetadata : ContentMetadata ; } export interface export interface ContentModule { type { ContentModuleType } memberof contentModuleType : ContentModuleType | 'STANDARD_COMPANY_LOGO' | 'STANDARD_COMPARISON_TABLE' | 'STANDARD_FOUR_IMAGE_TEXT' | 'STANDARD_FOUR_IMAGE_TEXT_QUADRANT' | 'STANDARD_HEADER_IMAGE_TEXT' | 'STANDARD_IMAGE_SIDEBAR' | 'STANDARD_IMAGE_TEXT_OVERLAY' | 'STANDARD_MULTIPLE_IMAGE_TEXT' | 'STANDARD_PRODUCT_DESCRIPTION' | 'STANDARD_SINGLE_IMAGE_HIGHLIGHTS' | 'STANDARD_SINGLE_IMAGE_SPECS_DETAIL' | 'STANDARD_SINGLE_SIDE_IMAGE' | 'STANDARD_TECH_SPECS' | 'STANDARD_TEXT' | 'STANDARD_THREE_IMAGE_TEXT' ; type { StandardCompanyLogoModule } memberof standardCompanyLogo ? : StandardCompanyLogoModule ; type { StandardComparisonTableModule } memberof standardComparisonTable ? : StandardComparisonTableModule ; type { StandardFourImageTextModule } memberof standardFourImageText ? : StandardFourImageTextModule ; type { StandardFourImageTextQuadrantModule } memberof standardFourImageTextQuadrant ? : StandardFourImageTextQuadrantModule ; type { StandardHeaderImageTextModule } memberof standardHeaderImageText ? : StandardHeaderImageTextModule ; type { StandardImageSidebarModule } memberof standardImageSidebar ? : StandardImageSidebarModule ; type { StandardImageTextOverlayModule } memberof standardImageTextOverlay ? : StandardImageTextOverlayModule ; type { StandardMultipleImageTextModule } memberof standardMultipleImageText ? : StandardMultipleImageTextModule ; type { StandardProductDescriptionModule } memberof standardProductDescription ? : StandardProductDescriptionModule ; type { StandardSingleImageHighlightsModule } memberof standardSingleImageHighlights ? : StandardSingleImageHighlightsModule ; type { StandardSingleImageSpecsDetailModule } memberof standardSingleImageSpecsDetail ? : StandardSingleImageSpecsDetailModule ; type { StandardSingleSideImageModule } memberof standardSingleSideImage ? : StandardSingleSideImageModule ; type { StandardTechSpecsModule } memberof standardTechSpecs ? : StandardTechSpecsModule ; type { StandardTextModule } memberof standardText ? : StandardTextModule ; type { StandardThreeImageTextModule } memberof standardThreeImageText ? : StandardThreeImageTextModule ; } export enum { string } export enum ContentModuleType { CompanyLogo = 'STANDARD_COMPANY_LOGO' , ComparisonTable = 'STANDARD_COMPARISON_TABLE' , FourImageText = 'STANDARD_FOUR_IMAGE_TEXT' , FourImageTextQuadrant = 'STANDARD_FOUR_IMAGE_TEXT_QUADRANT' , HeaderImageText = 'STANDARD_HEADER_IMAGE_TEXT' , ImageSidebar = 'STANDARD_IMAGE_SIDEBAR' , ImageTextOverlay = 'STANDARD_IMAGE_TEXT_OVERLAY' , MultipleImageText = 'STANDARD_MULTIPLE_IMAGE_TEXT' , ProductDescription = 'STANDARD_PRODUCT_DESCRIPTION' , SingleImageHighlights = 'STANDARD_SINGLE_IMAGE_HIGHLIGHTS' , SingleImageSpecsDetail = 'STANDARD_SINGLE_IMAGE_SPECS_DETAIL' , SingleSideImage = 'STANDARD_SINGLE_SIDE_IMAGE' , TechSpecs = 'STANDARD_TECH_SPECS' , Text = 'STANDARD_TEXT' , ThreeImageText = 'STANDARD_THREE_IMAGE_TEXT' } export interface export interface ContentRecord { type { string } memberof contentReferenceKey : string ; type { ContentMetadata } memberof contentMetadata ? : ContentMetadata ; type { ContentDocument } memberof contentDocument ? : ContentDocument ; } export enum { string } export enum ContentStatus { Approved = 'APPROVED' , Draft = 'DRAFT' , Rejected = 'REJECTED' , Submitted = 'SUBMITTED' } export enum { string } export enum ContentType { Ebc = 'EBC' , Emc = 'EMC' } export interface export interface Decorator { type { DecoratorType } memberof type ? : DecoratorType | 'LIST_ITEM' | 'LIST_ORDERED' | 'LIST_UNORDERED' | 'STYLE_BOLD' | 'STYLE_ITALIC' | 'STYLE_LINEBREAK' | 'STYLE_PARAGRAPH' | 'STYLE_UNDERLINE' ; type { number } memberof offset ? : number ; type { number } memberof length ? : number ; type { number } memberof depth ? : number ; } export enum { string } export enum DecoratorType { ListItem = 'LIST_ITEM' , ListOrdered = 'LIST_ORDERED' , ListUnordered = 'LIST_UNORDERED' , StyleBold = 'STYLE_BOLD' , StyleItalic = 'STYLE_ITALIC' , StyleLinebreak = 'STYLE_LINEBREAK' , StyleParagraph = 'STYLE_PARAGRAPH' , StyleUnderline = 'STYLE_UNDERLINE' } export interface export interface ErrorList { type { Array < Error > } memberof errors : Array < Error > ; } export interface export interface GetContentDocumentResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { ContentRecord } memberof contentRecord : ContentRecord ; } export interface export interface GetContentDocumentResponseAllOf { type { ContentRecord } memberof contentRecord : ContentRecord ; } export interface export interface ImageComponent { type { string } memberof uploadDestinationId : string ; type { ImageCropSpecification } memberof imageCropSpecification : ImageCropSpecification ; type { string } memberof altText : string ; } export interface export interface ImageCropSpecification { type { ImageDimensions } memberof size : ImageDimensions ; type { ImageOffsets } memberof offset ? : ImageOffsets ; } export interface export interface ImageDimensions { type { IntegerWithUnits } memberof width : IntegerWithUnits ; type { IntegerWithUnits } memberof height : IntegerWithUnits ; } export interface export interface ImageOffsets { type { IntegerWithUnits } memberof x : IntegerWithUnits ; type { IntegerWithUnits } memberof y : IntegerWithUnits ; } export interface export interface IntegerWithUnits { type { number } memberof value : number ; type { string } memberof units : string ; } export interface export interface ListContentDocumentAsinRelationsResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { string } memberof nextPageToken ? : string ; type { Array < AsinMetadata > } memberof asinMetadataSet : Array < AsinMetadata > ; } export interface export interface ListContentDocumentAsinRelationsResponseAllOf { type { Array < AsinMetadata > } memberof asinMetadataSet : Array < AsinMetadata > ; } export interface export interface ModelError { type { string } memberof code : string ; type { string } memberof message : string ; type { string } memberof details ? : string ; } export interface export interface ParagraphComponent { type { Array < TextComponent > } memberof textList : Array < TextComponent > ; } export interface export interface PlainTextItem { type { number } memberof position : number ; type { string } memberof value : string ; } export enum { string } export enum PositionType { Left = 'LEFT' , Right = 'RIGHT' } export interface export interface PostContentDocumentApprovalSubmissionResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; } export interface export interface PostContentDocumentAsinRelationsRequest { type { Array < string > } memberof asinSet : Array < string > ; } export interface export interface PostContentDocumentAsinRelationsResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; } export interface export interface PostContentDocumentRequest { type { ContentDocument } memberof contentDocument : ContentDocument ; } export interface export interface PostContentDocumentResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { string } memberof contentReferenceKey : string ; } export interface export interface PostContentDocumentResponseAllOf { type { string } memberof contentReferenceKey : string ; } export interface export interface PostContentDocumentSuspendSubmissionResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; } export interface export interface PublishRecord { type { string } memberof marketplaceId : string ; type { string } memberof locale : string ; type { string } memberof asin : string ; type { ContentType } memberof contentType : ContentType | 'EBC' | 'EMC' ; type { string } memberof contentSubType ? : string ; type { string } memberof contentReferenceKey : string ; } export interface export interface SearchContentDocumentsResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { string } memberof nextPageToken ? : string ; type { Array < ContentMetadataRecord > } memberof contentMetadataRecords : Array < ContentMetadataRecord > ; } export interface export interface SearchContentDocumentsResponseAllOf { type { Array < ContentMetadataRecord > } memberof contentMetadataRecords : Array < ContentMetadataRecord > ; } export interface export interface SearchContentPublishRecordsResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { string } memberof nextPageToken ? : string ; type { Array < PublishRecord > } memberof publishRecordList : Array < PublishRecord > ; } export interface export interface SearchContentPublishRecordsResponseAllOf { type { Array < PublishRecord > } memberof publishRecordList : Array < PublishRecord > ; } export interface export interface StandardCompanyLogoModule { type { ImageComponent } memberof companyLogo : ImageComponent ; } export interface export interface StandardComparisonProductBlock { type { number } memberof position : number ; type { ImageComponent } memberof image ? : ImageComponent ; type { string } memberof title ? : string ; type { string } memberof asin ? : string ; type { boolean } memberof highlight ? : boolean ; type { Array < PlainTextItem > } memberof metrics ? : Array < PlainTextItem > ; } export interface export interface StandardComparisonTableModule { type { Array < StandardComparisonProductBlock > } memberof productColumns ? : Array < StandardComparisonProductBlock > ; type { Array < PlainTextItem > } memberof metricRowLabels ? : Array < PlainTextItem > ; } export interface export interface StandardFourImageTextModule { type { TextComponent } memberof headline ? : TextComponent ; type { StandardImageTextBlock } memberof block1 ? : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block2 ? : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block3 ? : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block4 ? : StandardImageTextBlock ; } export interface export interface StandardFourImageTextQuadrantModule { type { StandardImageTextBlock } memberof block1 : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block2 : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block3 : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block4 : StandardImageTextBlock ; } export interface export interface StandardHeaderImageTextModule { type { TextComponent } memberof headline ? : TextComponent ; type { StandardImageTextBlock } memberof block ? : StandardImageTextBlock ; } export interface export interface StandardHeaderTextListBlock { type { TextComponent } memberof headline ? : TextComponent ; type { StandardTextListBlock } memberof block ? : StandardTextListBlock ; } export interface export interface StandardImageCaptionBlock { type { ImageComponent } memberof image ? : ImageComponent ; type { TextComponent } memberof caption ? : TextComponent ; } export interface export interface StandardImageSidebarModule { type { TextComponent } memberof headline ? : TextComponent ; type { StandardImageCaptionBlock } memberof imageCaptionBlock ? : StandardImageCaptionBlock ; type { StandardTextBlock } memberof descriptionTextBlock ? : StandardTextBlock ; type { StandardTextListBlock } memberof descriptionListBlock ? : StandardTextListBlock ; type { StandardImageTextBlock } memberof sidebarImageTextBlock ? : StandardImageTextBlock ; type { StandardTextListBlock } memberof sidebarListBlock ? : StandardTextListBlock ; } export interface export interface StandardImageTextBlock { type { ImageComponent } memberof image ? : ImageComponent ; type { TextComponent } memberof headline ? : TextComponent ; type { ParagraphComponent } memberof body ? : ParagraphComponent ; } export interface export interface StandardImageTextCaptionBlock { type { StandardImageTextBlock } memberof block ? : StandardImageTextBlock ; type { TextComponent } memberof caption ? : TextComponent ; } export interface export interface StandardImageTextOverlayModule { type { ColorType } memberof overlayColorType : ColorType | 'DARK' | 'LIGHT' ; type { StandardImageTextBlock } memberof block ? : StandardImageTextBlock ; } export interface export interface StandardMultipleImageTextModule { type { Array < StandardImageTextCaptionBlock > } memberof blocks ? : Array < StandardImageTextCaptionBlock > ; } export interface export interface StandardProductDescriptionModule { type { ParagraphComponent } memberof body : ParagraphComponent ; } export interface export interface StandardSingleImageHighlightsModule { type { ImageComponent } memberof image ? : ImageComponent ; type { TextComponent } memberof headline ? : TextComponent ; type { StandardTextBlock } memberof textBlock1 ? : StandardTextBlock ; type { StandardTextBlock } memberof textBlock2 ? : StandardTextBlock ; type { StandardTextBlock } memberof textBlock3 ? : StandardTextBlock ; type { StandardHeaderTextListBlock } memberof bulletedListBlock ? : StandardHeaderTextListBlock ; } export interface export interface StandardSingleImageSpecsDetailModule { type { TextComponent } memberof headline ? : TextComponent ; type { ImageComponent } memberof image ? : ImageComponent ; type { TextComponent } memberof descriptionHeadline ? : TextComponent ; type { StandardTextBlock } memberof descriptionBlock1 ? : StandardTextBlock ; type { StandardTextBlock } memberof descriptionBlock2 ? : StandardTextBlock ; type { TextComponent } memberof specificationHeadline ? : TextComponent ; type { StandardHeaderTextListBlock } memberof specificationListBlock ? : StandardHeaderTextListBlock ; type { StandardTextBlock } memberof specificationTextBlock ? : StandardTextBlock ; } export interface export interface StandardSingleSideImageModule { type { PositionType } memberof imagePositionType : PositionType | 'LEFT' | 'RIGHT' ; type { StandardImageTextBlock } memberof block ? : StandardImageTextBlock ; } export interface export interface StandardTechSpecsModule { type { TextComponent } memberof headline ? : TextComponent ; type { Array < StandardTextPairBlock > } memberof specificationList : Array < StandardTextPairBlock > ; type { number } memberof tableCount ? : number ; } export interface export interface StandardTextBlock { type { TextComponent } memberof headline ? : TextComponent ; type { ParagraphComponent } memberof body ? : ParagraphComponent ; } export interface export interface StandardTextListBlock { type { Array < TextItem > } memberof textList : Array < TextItem > ; } export interface export interface StandardTextModule { type { TextComponent } memberof headline ? : TextComponent ; type { ParagraphComponent } memberof body : ParagraphComponent ; } export interface export interface StandardTextPairBlock { type { TextComponent } memberof label ? : TextComponent ; type { TextComponent } memberof description ? : TextComponent ; } export interface export interface StandardThreeImageTextModule { type { TextComponent } memberof headline ? : TextComponent ; type { StandardImageTextBlock } memberof block1 ? : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block2 ? : StandardImageTextBlock ; type { StandardImageTextBlock } memberof block3 ? : StandardImageTextBlock ; } export interface export interface TextComponent { type { string } memberof value : string ; type { Array < Decorator > } memberof decoratorSet ? : Array < Decorator > ; } export interface export interface TextItem { type { number } memberof position : number ; type { TextComponent } memberof text : TextComponent ; } export interface export interface ValidateContentDocumentAsinRelationsResponse { type { Array < Error > } memberof warnings ? : Array < Error > ; type { Array < Error > } memberof errors : Array < Error > ; } export export const AplusContentApiAxiosParamCreator = function ( configuration ? ) { return { param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws createContentDocument : async ( marketplaceId , postContentDocumentRequest , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'createContentDocument' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'createContentDocument' , 'postContentDocumentRequest' , postContentDocumentRequest ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( postContentDocumentRequest , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'CONTENTS' | 'METADATA' > } includedDataSet param { * } options throws getContentDocument : async ( contentReferenceKey , marketplaceId , includedDataSet , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getContentDocument' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'getContentDocument' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getContentDocument' , 'includedDataSet' , includedDataSet ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( includedDataSet ) { localVarQueryParameter [ 'includedDataSet' ] = includedDataSet . join ( COLLECTION_FORMATS . csv ) ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'METADATA' > } includedDataSet param { Array < string > } asinSet param { string } pageToken param { * } options throws listContentDocumentAsinRelations : async ( contentReferenceKey , marketplaceId , includedDataSet ? , asinSet ? , pageToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'listContentDocumentAsinRelations' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'listContentDocumentAsinRelations' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( includedDataSet ) { localVarQueryParameter [ 'includedDataSet' ] = includedDataSet . join ( COLLECTION_FORMATS . csv ) ; } if ( asinSet ) { localVarQueryParameter [ 'asinSet' ] = asinSet . join ( COLLECTION_FORMATS . csv ) ; } if ( pageToken !== undefined ) { localVarQueryParameter [ 'pageToken' ] = pageToken ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws postContentDocumentApprovalSubmission : async ( contentReferenceKey , marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'postContentDocumentApprovalSubmission' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'postContentDocumentApprovalSubmission' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/approvalSubmissions` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentAsinRelationsRequest } postContentDocumentAsinRelationsRequest param { * } options throws postContentDocumentAsinRelations : async ( contentReferenceKey , marketplaceId , postContentDocumentAsinRelationsRequest , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'postContentDocumentAsinRelations' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'postContentDocumentAsinRelations' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'postContentDocumentAsinRelations' , 'postContentDocumentAsinRelationsRequest' , postContentDocumentAsinRelationsRequest ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( postContentDocumentAsinRelationsRequest , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws postContentDocumentSuspendSubmission : async ( contentReferenceKey , marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'postContentDocumentSuspendSubmission' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'postContentDocumentSuspendSubmission' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/suspendSubmissions` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { string } pageToken param { * } options throws searchContentDocuments : async ( marketplaceId , pageToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'searchContentDocuments' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( pageToken !== undefined ) { localVarQueryParameter [ 'pageToken' ] = pageToken ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { string } asin param { string } pageToken param { * } options throws searchContentPublishRecords : async ( marketplaceId , asin , pageToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'searchContentPublishRecords' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'searchContentPublishRecords' , 'asin' , asin ) ; const localVarPath = `/aplus/2020-11-01/contentPublishRecords` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( asin !== undefined ) { localVarQueryParameter [ 'asin' ] = asin ; } if ( pageToken !== undefined ) { localVarQueryParameter [ 'pageToken' ] = pageToken ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws updateContentDocument : async ( contentReferenceKey , marketplaceId , postContentDocumentRequest , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'updateContentDocument' , 'contentReferenceKey' , contentReferenceKey ) ; assertParamExists ( 'updateContentDocument' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'updateContentDocument' , 'postContentDocumentRequest' , postContentDocumentRequest ) ; const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}` . replace ( `{${ "contentReferenceKey" }}` , encodeURIComponent ( String ( contentReferenceKey ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( postContentDocumentRequest , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { Array < string > } asinSet param { * } options throws validateContentDocumentAsinRelations : async ( marketplaceId , postContentDocumentRequest , asinSet ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'validateContentDocumentAsinRelations' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'validateContentDocumentAsinRelations' , 'postContentDocumentRequest' , postContentDocumentRequest ) ; const localVarPath = `/aplus/2020-11-01/contentAsinValidations` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( asinSet ) { localVarQueryParameter [ 'asinSet' ] = asinSet . join ( COLLECTION_FORMATS . csv ) ; } localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( postContentDocumentRequest , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const AplusContentApiFp = function ( configuration ? ) { const localVarAxiosParamCreator = AplusContentApiAxiosParamCreator ( configuration ) ; return { param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws async createContentDocument ( marketplaceId , postContentDocumentRequest , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . createContentDocument ( marketplaceId , postContentDocumentRequest , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'CONTENTS' | 'METADATA' > } includedDataSet param { * } options throws async getContentDocument ( contentReferenceKey , marketplaceId , includedDataSet , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getContentDocument ( contentReferenceKey , marketplaceId , includedDataSet , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'METADATA' > } includedDataSet param { Array < string > } asinSet param { string } pageToken param { * } options throws async listContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , includedDataSet ? , asinSet ? , pageToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . listContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , includedDataSet , asinSet , pageToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws async postContentDocumentApprovalSubmission ( contentReferenceKey , marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . postContentDocumentApprovalSubmission ( contentReferenceKey , marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentAsinRelationsRequest } postContentDocumentAsinRelationsRequest param { * } options throws async postContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , postContentDocumentAsinRelationsRequest , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . postContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , postContentDocumentAsinRelationsRequest , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws async postContentDocumentSuspendSubmission ( contentReferenceKey , marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . postContentDocumentSuspendSubmission ( contentReferenceKey , marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { string } pageToken param { * } options throws async searchContentDocuments ( marketplaceId , pageToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . searchContentDocuments ( marketplaceId , pageToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { string } asin param { string } pageToken param { * } options throws async searchContentPublishRecords ( marketplaceId , asin , pageToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . searchContentPublishRecords ( marketplaceId , asin , pageToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws async updateContentDocument ( contentReferenceKey , marketplaceId , postContentDocumentRequest , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . updateContentDocument ( contentReferenceKey , marketplaceId , postContentDocumentRequest , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { Array < string > } asinSet param { * } options throws async validateContentDocumentAsinRelations ( marketplaceId , postContentDocumentRequest , asinSet ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . validateContentDocumentAsinRelations ( marketplaceId , postContentDocumentRequest , asinSet , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , } ; } ; export export const AplusContentApiFactory = function ( configuration ? , basePath ? , axios ? ) { const localVarFp = AplusContentApiFp ( configuration ) ; return { param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws createContentDocument ( marketplaceId , postContentDocumentRequest , options ? ) { return localVarFp . createContentDocument ( marketplaceId , postContentDocumentRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'CONTENTS' | 'METADATA' > } includedDataSet param { * } options throws getContentDocument ( contentReferenceKey , marketplaceId , includedDataSet , options ? ) { return localVarFp . getContentDocument ( contentReferenceKey , marketplaceId , includedDataSet , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { Array < 'METADATA' > } includedDataSet param { Array < string > } asinSet param { string } pageToken param { * } options throws listContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , includedDataSet ? , asinSet ? , pageToken ? , options ? ) { return localVarFp . listContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , includedDataSet , asinSet , pageToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws postContentDocumentApprovalSubmission ( contentReferenceKey , marketplaceId , options ? ) { return localVarFp . postContentDocumentApprovalSubmission ( contentReferenceKey , marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentAsinRelationsRequest } postContentDocumentAsinRelationsRequest param { * } options throws postContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , postContentDocumentAsinRelationsRequest , options ? ) { return localVarFp . postContentDocumentAsinRelations ( contentReferenceKey , marketplaceId , postContentDocumentAsinRelationsRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { * } options throws postContentDocumentSuspendSubmission ( contentReferenceKey , marketplaceId , options ? ) { return localVarFp . postContentDocumentSuspendSubmission ( contentReferenceKey , marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { string } pageToken param { * } options throws searchContentDocuments ( marketplaceId , pageToken ? , options ? ) { return localVarFp . searchContentDocuments ( marketplaceId , pageToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { string } asin param { string } pageToken param { * } options throws searchContentPublishRecords ( marketplaceId , asin , pageToken ? , options ? ) { return localVarFp . searchContentPublishRecords ( marketplaceId , asin , pageToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } contentReferenceKey param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { * } options throws updateContentDocument ( contentReferenceKey , marketplaceId , postContentDocumentRequest , options ? ) { return localVarFp . updateContentDocument ( contentReferenceKey , marketplaceId , postContentDocumentRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { PostContentDocumentRequest } postContentDocumentRequest param { Array < string > } asinSet param { * } options throws validateContentDocumentAsinRelations ( marketplaceId , postContentDocumentRequest , asinSet ? , options ? ) { return localVarFp . validateContentDocumentAsinRelations ( marketplaceId , postContentDocumentRequest , asinSet , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , } ; } ; export interface export interface AplusContentApiCreateContentDocumentRequest { type { string } memberof readonly marketplaceId : string ; type { PostContentDocumentRequest } memberof readonly postContentDocumentRequest : PostContentDocumentRequest ; } export interface export interface AplusContentApiGetContentDocumentRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; type { Array < 'CONTENTS' | 'METADATA' > } memberof readonly includedDataSet : Array < 'CONTENTS' | 'METADATA' > ; } export interface export interface AplusContentApiListContentDocumentAsinRelationsRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; type { Array < 'METADATA' > } memberof readonly includedDataSet ? : Array < 'METADATA' > ; type { Array < string > } memberof readonly asinSet ? : Array < string > ; type { string } memberof readonly pageToken ? : string ; } export interface export interface AplusContentApiPostContentDocumentApprovalSubmissionRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; } export interface export interface AplusContentApiPostContentDocumentAsinRelationsRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; type { PostContentDocumentAsinRelationsRequest } memberof readonly postContentDocumentAsinRelationsRequest : PostContentDocumentAsinRelationsRequest ; } export interface export interface AplusContentApiPostContentDocumentSuspendSubmissionRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; } export interface export interface AplusContentApiSearchContentDocumentsRequest { type { string } memberof readonly marketplaceId : string ; type { string } memberof readonly pageToken ? : string ; } export interface export interface AplusContentApiSearchContentPublishRecordsRequest { type { string } memberof readonly marketplaceId : string ; type { string } memberof readonly asin : string ; type { string } memberof readonly pageToken ? : string ; } export interface export interface AplusContentApiUpdateContentDocumentRequest { type { string } memberof readonly contentReferenceKey : string ; type { string } memberof readonly marketplaceId : string ; type { PostContentDocumentRequest } memberof readonly postContentDocumentRequest : PostContentDocumentRequest ; } export interface export interface AplusContentApiValidateContentDocumentAsinRelationsRequest { type { string } memberof readonly marketplaceId : string ; type { PostContentDocumentRequest } memberof readonly postContentDocumentRequest : PostContentDocumentRequest ; type { Array < string > } memberof readonly asinSet ? : Array < string > ; } export class extends BaseAPI export class AplusContentApi extends BaseAPI { param { AplusContentApiCreateContentDocumentRequest } requestParameters param { * } options throws memberof public createContentDocument ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . createContentDocument ( requestParameters . marketplaceId , requestParameters . postContentDocumentRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiGetContentDocumentRequest } requestParameters param { * } options throws memberof public getContentDocument ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . getContentDocument ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , requestParameters . includedDataSet , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiListContentDocumentAsinRelationsRequest } requestParameters param { * } options throws memberof public listContentDocumentAsinRelations ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . listContentDocumentAsinRelations ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , requestParameters . includedDataSet , requestParameters . asinSet , requestParameters . pageToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiPostContentDocumentApprovalSubmissionRequest } requestParameters param { * } options throws memberof public postContentDocumentApprovalSubmission ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . postContentDocumentApprovalSubmission ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiPostContentDocumentAsinRelationsRequest } requestParameters param { * } options throws memberof public postContentDocumentAsinRelations ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . postContentDocumentAsinRelations ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , requestParameters . postContentDocumentAsinRelationsRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiPostContentDocumentSuspendSubmissionRequest } requestParameters param { * } options throws memberof public postContentDocumentSuspendSubmission ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . postContentDocumentSuspendSubmission ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiSearchContentDocumentsRequest } requestParameters param { * } options throws memberof public searchContentDocuments ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . searchContentDocuments ( requestParameters . marketplaceId , requestParameters . pageToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiSearchContentPublishRecordsRequest } requestParameters param { * } options throws memberof public searchContentPublishRecords ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . searchContentPublishRecords ( requestParameters . marketplaceId , requestParameters . asin , requestParameters . pageToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiUpdateContentDocumentRequest } requestParameters param { * } options throws memberof public updateContentDocument ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . updateContentDocument ( requestParameters . contentReferenceKey , requestParameters . marketplaceId , requestParameters . postContentDocumentRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { AplusContentApiValidateContentDocumentAsinRelationsRequest } requestParameters param { * } options throws memberof public validateContentDocumentAsinRelations ( requestParameters , options ? ) { return AplusContentApiFp ( this . configuration ) . validateContentDocumentAsinRelations ( requestParameters . marketplaceId , requestParameters . postContentDocumentRequest , requestParameters . asinSet , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } }