@sp-api-sdk/aplus-content-api-2020-11-01 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/aplus-content-api.js +0 -22
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/cjs/api-model/models/asin-badge.js +0 -2
- package/dist/cjs/api-model/models/color-type.js +0 -2
- package/dist/cjs/api-model/models/content-badge.js +0 -2
- package/dist/cjs/api-model/models/content-module-type.js +0 -2
- package/dist/cjs/api-model/models/content-status.js +0 -2
- package/dist/cjs/api-model/models/content-type.js +0 -2
- package/dist/cjs/api-model/models/decorator-type.js +0 -2
- package/dist/cjs/api-model/models/position-type.js +0 -2
- package/dist/es/api-model/api/aplus-content-api.js +0 -22
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/es/api-model/models/asin-badge.js +0 -2
- package/dist/es/api-model/models/color-type.js +0 -2
- package/dist/es/api-model/models/content-badge.js +0 -2
- package/dist/es/api-model/models/content-module-type.js +0 -2
- package/dist/es/api-model/models/content-status.js +0 -2
- package/dist/es/api-model/models/content-type.js +0 -2
- package/dist/es/api-model/models/decorator-type.js +0 -2
- package/dist/es/api-model/models/position-type.js +0 -2
- package/dist/types/api-model/api/aplus-content-api.d.ts +0 -98
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/aplus-paginated-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/aplus-paginated-response.d.ts +0 -1
- package/dist/types/api-model/models/aplus-response.d.ts +0 -4
- package/dist/types/api-model/models/asin-badge.d.ts +0 -2
- package/dist/types/api-model/models/asin-metadata.d.ts +0 -14
- package/dist/types/api-model/models/color-type.d.ts +0 -2
- package/dist/types/api-model/models/content-badge.d.ts +0 -2
- package/dist/types/api-model/models/content-document.d.ts +0 -15
- package/dist/types/api-model/models/content-metadata-record.d.ts +0 -9
- package/dist/types/api-model/models/content-metadata.d.ts +0 -15
- package/dist/types/api-model/models/content-module-type.d.ts +0 -2
- package/dist/types/api-model/models/content-module.d.ts +0 -82
- package/dist/types/api-model/models/content-record.d.ts +0 -14
- package/dist/types/api-model/models/content-status.d.ts +0 -2
- package/dist/types/api-model/models/content-type.d.ts +0 -2
- package/dist/types/api-model/models/decorator-type.d.ts +0 -2
- package/dist/types/api-model/models/decorator.d.ts +0 -13
- package/dist/types/api-model/models/error-list.d.ts +0 -4
- package/dist/types/api-model/models/get-content-document-response-all-of.d.ts +0 -10
- package/dist/types/api-model/models/get-content-document-response.d.ts +0 -1
- package/dist/types/api-model/models/image-component.d.ts +0 -11
- package/dist/types/api-model/models/image-crop-specification.d.ts +0 -12
- package/dist/types/api-model/models/image-dimensions.d.ts +0 -12
- package/dist/types/api-model/models/image-offsets.d.ts +0 -12
- package/dist/types/api-model/models/integer-with-units.d.ts +0 -6
- package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/list-content-document-asin-relations-response.d.ts +0 -1
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/paragraph-component.d.ts +0 -7
- package/dist/types/api-model/models/plain-text-item.d.ts +0 -6
- package/dist/types/api-model/models/position-type.d.ts +0 -2
- package/dist/types/api-model/models/post-content-document-approval-submission-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-asin-relations-request.d.ts +0 -7
- package/dist/types/api-model/models/post-content-document-asin-relations-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-request.d.ts +0 -10
- package/dist/types/api-model/models/post-content-document-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/post-content-document-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-suspend-submission-response.d.ts +0 -1
- package/dist/types/api-model/models/publish-record.d.ts +0 -17
- package/dist/types/api-model/models/search-content-documents-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/search-content-documents-response.d.ts +0 -1
- package/dist/types/api-model/models/search-content-publish-records-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/search-content-publish-records-response.d.ts +0 -1
- package/dist/types/api-model/models/standard-company-logo-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-comparison-product-block.d.ts +0 -17
- package/dist/types/api-model/models/standard-comparison-table-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-four-image-text-module.d.ts +0 -27
- package/dist/types/api-model/models/standard-four-image-text-quadrant-module.d.ts +0 -22
- package/dist/types/api-model/models/standard-header-image-text-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-header-text-list-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-caption-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-sidebar-module.d.ts +0 -32
- package/dist/types/api-model/models/standard-image-text-block.d.ts +0 -17
- package/dist/types/api-model/models/standard-image-text-caption-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-text-overlay-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-multiple-image-text-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-product-description-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-single-image-highlights-module.d.ts +0 -32
- package/dist/types/api-model/models/standard-single-image-specs-detail-module.d.ts +0 -42
- package/dist/types/api-model/models/standard-single-side-image-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-tech-specs-module.d.ts +0 -11
- package/dist/types/api-model/models/standard-text-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-text-list-block.d.ts +0 -7
- package/dist/types/api-model/models/standard-text-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-text-pair-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-three-image-text-module.d.ts +0 -22
- package/dist/types/api-model/models/text-component.d.ts +0 -6
- package/dist/types/api-model/models/text-item.d.ts +0 -9
- package/dist/types/api-model/models/validate-content-document-asin-relations-response.d.ts +0 -1
- package/package.json +25 -4
|
@@ -15,49 +15,32 @@ export class Configuration {
|
|
|
15
15
|
/**
|
|
16
16
|
* parameter for apiKey security
|
|
17
17
|
* @param name security name
|
|
18
|
-
* @memberof Configuration
|
|
19
18
|
*/
|
|
20
19
|
apiKey;
|
|
21
20
|
/**
|
|
22
21
|
* parameter for basic security
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Configuration
|
|
26
22
|
*/
|
|
27
23
|
username;
|
|
28
24
|
/**
|
|
29
25
|
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
26
|
*/
|
|
34
27
|
password;
|
|
35
28
|
/**
|
|
36
29
|
* parameter for oauth2 security
|
|
37
30
|
* @param name security name
|
|
38
31
|
* @param scopes oauth2 scope
|
|
39
|
-
* @memberof Configuration
|
|
40
32
|
*/
|
|
41
33
|
accessToken;
|
|
42
34
|
/**
|
|
43
35
|
* override base path
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof Configuration
|
|
47
36
|
*/
|
|
48
37
|
basePath;
|
|
49
38
|
/**
|
|
50
39
|
* override server index
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof Configuration
|
|
54
40
|
*/
|
|
55
41
|
serverIndex;
|
|
56
42
|
/**
|
|
57
43
|
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
44
|
*/
|
|
62
45
|
baseOptions;
|
|
63
46
|
/**
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* A flag that provides additional information about an ASIN. This is contextual and can change depending on the request that generated it.
|
|
16
|
-
* @export
|
|
17
|
-
* @enum {string}
|
|
18
16
|
*/
|
|
19
17
|
export const AsinBadge = {
|
|
20
18
|
BrandNotEligible: 'BRAND_NOT_ELIGIBLE',
|
|
@@ -26,7 +26,6 @@ import type { SearchContentPublishRecordsResponse } from '../models';
|
|
|
26
26
|
import type { ValidateContentDocumentAsinRelationsResponse } from '../models';
|
|
27
27
|
/**
|
|
28
28
|
* AplusContentApi - axios parameter creator
|
|
29
|
-
* @export
|
|
30
29
|
*/
|
|
31
30
|
export declare const AplusContentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32
31
|
/**
|
|
@@ -120,7 +119,6 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
120
119
|
};
|
|
121
120
|
/**
|
|
122
121
|
* AplusContentApi - functional programming interface
|
|
123
|
-
* @export
|
|
124
122
|
*/
|
|
125
123
|
export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
126
124
|
/**
|
|
@@ -214,7 +212,6 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
214
212
|
};
|
|
215
213
|
/**
|
|
216
214
|
* AplusContentApi - factory interface
|
|
217
|
-
* @export
|
|
218
215
|
*/
|
|
219
216
|
export declare const AplusContentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
220
217
|
/**
|
|
@@ -290,247 +287,168 @@ export declare const AplusContentApiFactory: (configuration?: Configuration, bas
|
|
|
290
287
|
};
|
|
291
288
|
/**
|
|
292
289
|
* Request parameters for createContentDocument operation in AplusContentApi.
|
|
293
|
-
* @export
|
|
294
|
-
* @interface AplusContentApiCreateContentDocumentRequest
|
|
295
290
|
*/
|
|
296
291
|
export interface AplusContentApiCreateContentDocumentRequest {
|
|
297
292
|
/**
|
|
298
293
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
299
|
-
* @type {string}
|
|
300
|
-
* @memberof AplusContentApiCreateContentDocument
|
|
301
294
|
*/
|
|
302
295
|
readonly marketplaceId: string;
|
|
303
296
|
/**
|
|
304
297
|
* The content document request details.
|
|
305
|
-
* @type {PostContentDocumentRequest}
|
|
306
|
-
* @memberof AplusContentApiCreateContentDocument
|
|
307
298
|
*/
|
|
308
299
|
readonly postContentDocumentRequest: PostContentDocumentRequest;
|
|
309
300
|
}
|
|
310
301
|
/**
|
|
311
302
|
* Request parameters for getContentDocument operation in AplusContentApi.
|
|
312
|
-
* @export
|
|
313
|
-
* @interface AplusContentApiGetContentDocumentRequest
|
|
314
303
|
*/
|
|
315
304
|
export interface AplusContentApiGetContentDocumentRequest {
|
|
316
305
|
/**
|
|
317
306
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
318
|
-
* @type {string}
|
|
319
|
-
* @memberof AplusContentApiGetContentDocument
|
|
320
307
|
*/
|
|
321
308
|
readonly contentReferenceKey: string;
|
|
322
309
|
/**
|
|
323
310
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
324
|
-
* @type {string}
|
|
325
|
-
* @memberof AplusContentApiGetContentDocument
|
|
326
311
|
*/
|
|
327
312
|
readonly marketplaceId: string;
|
|
328
313
|
/**
|
|
329
314
|
* The set of A+ Content data types to include in the response.
|
|
330
|
-
* @type {Set<'CONTENTS' | 'METADATA'>}
|
|
331
|
-
* @memberof AplusContentApiGetContentDocument
|
|
332
315
|
*/
|
|
333
316
|
readonly includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>;
|
|
334
317
|
}
|
|
335
318
|
/**
|
|
336
319
|
* Request parameters for listContentDocumentAsinRelations operation in AplusContentApi.
|
|
337
|
-
* @export
|
|
338
|
-
* @interface AplusContentApiListContentDocumentAsinRelationsRequest
|
|
339
320
|
*/
|
|
340
321
|
export interface AplusContentApiListContentDocumentAsinRelationsRequest {
|
|
341
322
|
/**
|
|
342
323
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
343
|
-
* @type {string}
|
|
344
|
-
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
345
324
|
*/
|
|
346
325
|
readonly contentReferenceKey: string;
|
|
347
326
|
/**
|
|
348
327
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
349
|
-
* @type {string}
|
|
350
|
-
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
351
328
|
*/
|
|
352
329
|
readonly marketplaceId: string;
|
|
353
330
|
/**
|
|
354
331
|
* The set of A+ Content data types to include in the response. If you don\'t include this parameter, the operation returns the related ASINs without metadata.
|
|
355
|
-
* @type {Set<'METADATA'>}
|
|
356
|
-
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
357
332
|
*/
|
|
358
333
|
readonly includedDataSet?: Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>;
|
|
359
334
|
/**
|
|
360
335
|
* The set of ASINs.
|
|
361
|
-
* @type {Set<string>}
|
|
362
|
-
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
363
336
|
*/
|
|
364
337
|
readonly asinSet?: Set<string>;
|
|
365
338
|
/**
|
|
366
339
|
* A token that you use to fetch a specific page when there are multiple pages of results.
|
|
367
|
-
* @type {string}
|
|
368
|
-
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
369
340
|
*/
|
|
370
341
|
readonly pageToken?: string;
|
|
371
342
|
}
|
|
372
343
|
/**
|
|
373
344
|
* Request parameters for postContentDocumentApprovalSubmission operation in AplusContentApi.
|
|
374
|
-
* @export
|
|
375
|
-
* @interface AplusContentApiPostContentDocumentApprovalSubmissionRequest
|
|
376
345
|
*/
|
|
377
346
|
export interface AplusContentApiPostContentDocumentApprovalSubmissionRequest {
|
|
378
347
|
/**
|
|
379
348
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
380
|
-
* @type {string}
|
|
381
|
-
* @memberof AplusContentApiPostContentDocumentApprovalSubmission
|
|
382
349
|
*/
|
|
383
350
|
readonly contentReferenceKey: string;
|
|
384
351
|
/**
|
|
385
352
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
386
|
-
* @type {string}
|
|
387
|
-
* @memberof AplusContentApiPostContentDocumentApprovalSubmission
|
|
388
353
|
*/
|
|
389
354
|
readonly marketplaceId: string;
|
|
390
355
|
}
|
|
391
356
|
/**
|
|
392
357
|
* Request parameters for postContentDocumentAsinRelations operation in AplusContentApi.
|
|
393
|
-
* @export
|
|
394
|
-
* @interface AplusContentApiPostContentDocumentAsinRelationsRequest
|
|
395
358
|
*/
|
|
396
359
|
export interface AplusContentApiPostContentDocumentAsinRelationsRequest {
|
|
397
360
|
/**
|
|
398
361
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof AplusContentApiPostContentDocumentAsinRelations
|
|
401
362
|
*/
|
|
402
363
|
readonly contentReferenceKey: string;
|
|
403
364
|
/**
|
|
404
365
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof AplusContentApiPostContentDocumentAsinRelations
|
|
407
366
|
*/
|
|
408
367
|
readonly marketplaceId: string;
|
|
409
368
|
/**
|
|
410
369
|
* The request details for the content document ASIN relations.
|
|
411
|
-
* @type {PostContentDocumentAsinRelationsRequest}
|
|
412
|
-
* @memberof AplusContentApiPostContentDocumentAsinRelations
|
|
413
370
|
*/
|
|
414
371
|
readonly postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest;
|
|
415
372
|
}
|
|
416
373
|
/**
|
|
417
374
|
* Request parameters for postContentDocumentSuspendSubmission operation in AplusContentApi.
|
|
418
|
-
* @export
|
|
419
|
-
* @interface AplusContentApiPostContentDocumentSuspendSubmissionRequest
|
|
420
375
|
*/
|
|
421
376
|
export interface AplusContentApiPostContentDocumentSuspendSubmissionRequest {
|
|
422
377
|
/**
|
|
423
378
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
424
|
-
* @type {string}
|
|
425
|
-
* @memberof AplusContentApiPostContentDocumentSuspendSubmission
|
|
426
379
|
*/
|
|
427
380
|
readonly contentReferenceKey: string;
|
|
428
381
|
/**
|
|
429
382
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
430
|
-
* @type {string}
|
|
431
|
-
* @memberof AplusContentApiPostContentDocumentSuspendSubmission
|
|
432
383
|
*/
|
|
433
384
|
readonly marketplaceId: string;
|
|
434
385
|
}
|
|
435
386
|
/**
|
|
436
387
|
* Request parameters for searchContentDocuments operation in AplusContentApi.
|
|
437
|
-
* @export
|
|
438
|
-
* @interface AplusContentApiSearchContentDocumentsRequest
|
|
439
388
|
*/
|
|
440
389
|
export interface AplusContentApiSearchContentDocumentsRequest {
|
|
441
390
|
/**
|
|
442
391
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
443
|
-
* @type {string}
|
|
444
|
-
* @memberof AplusContentApiSearchContentDocuments
|
|
445
392
|
*/
|
|
446
393
|
readonly marketplaceId: string;
|
|
447
394
|
/**
|
|
448
395
|
* A token that you use to fetch a specific page when there are multiple pages of results.
|
|
449
|
-
* @type {string}
|
|
450
|
-
* @memberof AplusContentApiSearchContentDocuments
|
|
451
396
|
*/
|
|
452
397
|
readonly pageToken?: string;
|
|
453
398
|
}
|
|
454
399
|
/**
|
|
455
400
|
* Request parameters for searchContentPublishRecords operation in AplusContentApi.
|
|
456
|
-
* @export
|
|
457
|
-
* @interface AplusContentApiSearchContentPublishRecordsRequest
|
|
458
401
|
*/
|
|
459
402
|
export interface AplusContentApiSearchContentPublishRecordsRequest {
|
|
460
403
|
/**
|
|
461
404
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
462
|
-
* @type {string}
|
|
463
|
-
* @memberof AplusContentApiSearchContentPublishRecords
|
|
464
405
|
*/
|
|
465
406
|
readonly marketplaceId: string;
|
|
466
407
|
/**
|
|
467
408
|
* The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
468
|
-
* @type {string}
|
|
469
|
-
* @memberof AplusContentApiSearchContentPublishRecords
|
|
470
409
|
*/
|
|
471
410
|
readonly asin: string;
|
|
472
411
|
/**
|
|
473
412
|
* A token that you use to fetch a specific page when there are multiple pages of results.
|
|
474
|
-
* @type {string}
|
|
475
|
-
* @memberof AplusContentApiSearchContentPublishRecords
|
|
476
413
|
*/
|
|
477
414
|
readonly pageToken?: string;
|
|
478
415
|
}
|
|
479
416
|
/**
|
|
480
417
|
* Request parameters for updateContentDocument operation in AplusContentApi.
|
|
481
|
-
* @export
|
|
482
|
-
* @interface AplusContentApiUpdateContentDocumentRequest
|
|
483
418
|
*/
|
|
484
419
|
export interface AplusContentApiUpdateContentDocumentRequest {
|
|
485
420
|
/**
|
|
486
421
|
* The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
487
|
-
* @type {string}
|
|
488
|
-
* @memberof AplusContentApiUpdateContentDocument
|
|
489
422
|
*/
|
|
490
423
|
readonly contentReferenceKey: string;
|
|
491
424
|
/**
|
|
492
425
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
493
|
-
* @type {string}
|
|
494
|
-
* @memberof AplusContentApiUpdateContentDocument
|
|
495
426
|
*/
|
|
496
427
|
readonly marketplaceId: string;
|
|
497
428
|
/**
|
|
498
429
|
* The content document request details.
|
|
499
|
-
* @type {PostContentDocumentRequest}
|
|
500
|
-
* @memberof AplusContentApiUpdateContentDocument
|
|
501
430
|
*/
|
|
502
431
|
readonly postContentDocumentRequest: PostContentDocumentRequest;
|
|
503
432
|
}
|
|
504
433
|
/**
|
|
505
434
|
* Request parameters for validateContentDocumentAsinRelations operation in AplusContentApi.
|
|
506
|
-
* @export
|
|
507
|
-
* @interface AplusContentApiValidateContentDocumentAsinRelationsRequest
|
|
508
435
|
*/
|
|
509
436
|
export interface AplusContentApiValidateContentDocumentAsinRelationsRequest {
|
|
510
437
|
/**
|
|
511
438
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
512
|
-
* @type {string}
|
|
513
|
-
* @memberof AplusContentApiValidateContentDocumentAsinRelations
|
|
514
439
|
*/
|
|
515
440
|
readonly marketplaceId: string;
|
|
516
441
|
/**
|
|
517
442
|
* The content document request details.
|
|
518
|
-
* @type {PostContentDocumentRequest}
|
|
519
|
-
* @memberof AplusContentApiValidateContentDocumentAsinRelations
|
|
520
443
|
*/
|
|
521
444
|
readonly postContentDocumentRequest: PostContentDocumentRequest;
|
|
522
445
|
/**
|
|
523
446
|
* The set of ASINs.
|
|
524
|
-
* @type {Set<string>}
|
|
525
|
-
* @memberof AplusContentApiValidateContentDocumentAsinRelations
|
|
526
447
|
*/
|
|
527
448
|
readonly asinSet?: Set<string>;
|
|
528
449
|
}
|
|
529
450
|
/**
|
|
530
451
|
* AplusContentApi - object-oriented interface
|
|
531
|
-
* @export
|
|
532
|
-
* @class AplusContentApi
|
|
533
|
-
* @extends {BaseAPI}
|
|
534
452
|
*/
|
|
535
453
|
export declare class AplusContentApi extends BaseAPI {
|
|
536
454
|
/**
|
|
@@ -538,7 +456,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
538
456
|
* @param {AplusContentApiCreateContentDocumentRequest} requestParameters Request parameters.
|
|
539
457
|
* @param {*} [options] Override http request option.
|
|
540
458
|
* @throws {RequiredError}
|
|
541
|
-
* @memberof AplusContentApi
|
|
542
459
|
*/
|
|
543
460
|
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
544
461
|
/**
|
|
@@ -546,7 +463,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
546
463
|
* @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
|
|
547
464
|
* @param {*} [options] Override http request option.
|
|
548
465
|
* @throws {RequiredError}
|
|
549
|
-
* @memberof AplusContentApi
|
|
550
466
|
*/
|
|
551
467
|
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetContentDocumentResponse, any>>;
|
|
552
468
|
/**
|
|
@@ -554,7 +470,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
554
470
|
* @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
555
471
|
* @param {*} [options] Override http request option.
|
|
556
472
|
* @throws {RequiredError}
|
|
557
|
-
* @memberof AplusContentApi
|
|
558
473
|
*/
|
|
559
474
|
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListContentDocumentAsinRelationsResponse, any>>;
|
|
560
475
|
/**
|
|
@@ -562,7 +477,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
562
477
|
* @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
|
|
563
478
|
* @param {*} [options] Override http request option.
|
|
564
479
|
* @throws {RequiredError}
|
|
565
|
-
* @memberof AplusContentApi
|
|
566
480
|
*/
|
|
567
481
|
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
568
482
|
/**
|
|
@@ -570,7 +484,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
570
484
|
* @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
571
485
|
* @param {*} [options] Override http request option.
|
|
572
486
|
* @throws {RequiredError}
|
|
573
|
-
* @memberof AplusContentApi
|
|
574
487
|
*/
|
|
575
488
|
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
576
489
|
/**
|
|
@@ -578,7 +491,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
578
491
|
* @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
|
|
579
492
|
* @param {*} [options] Override http request option.
|
|
580
493
|
* @throws {RequiredError}
|
|
581
|
-
* @memberof AplusContentApi
|
|
582
494
|
*/
|
|
583
495
|
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
584
496
|
/**
|
|
@@ -586,7 +498,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
586
498
|
* @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
|
|
587
499
|
* @param {*} [options] Override http request option.
|
|
588
500
|
* @throws {RequiredError}
|
|
589
|
-
* @memberof AplusContentApi
|
|
590
501
|
*/
|
|
591
502
|
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentDocumentsResponse, any>>;
|
|
592
503
|
/**
|
|
@@ -594,7 +505,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
594
505
|
* @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
|
|
595
506
|
* @param {*} [options] Override http request option.
|
|
596
507
|
* @throws {RequiredError}
|
|
597
|
-
* @memberof AplusContentApi
|
|
598
508
|
*/
|
|
599
509
|
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentPublishRecordsResponse, any>>;
|
|
600
510
|
/**
|
|
@@ -602,7 +512,6 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
602
512
|
* @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
|
|
603
513
|
* @param {*} [options] Override http request option.
|
|
604
514
|
* @throws {RequiredError}
|
|
605
|
-
* @memberof AplusContentApi
|
|
606
515
|
*/
|
|
607
516
|
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
608
517
|
/**
|
|
@@ -610,21 +519,14 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
610
519
|
* @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
611
520
|
* @param {*} [options] Override http request option.
|
|
612
521
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof AplusContentApi
|
|
614
522
|
*/
|
|
615
523
|
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ValidateContentDocumentAsinRelationsResponse, any>>;
|
|
616
524
|
}
|
|
617
|
-
/**
|
|
618
|
-
* @export
|
|
619
|
-
*/
|
|
620
525
|
export declare const GetContentDocumentIncludedDataSetEnum: {
|
|
621
526
|
readonly Contents: "CONTENTS";
|
|
622
527
|
readonly Metadata: "METADATA";
|
|
623
528
|
};
|
|
624
529
|
export type GetContentDocumentIncludedDataSetEnum = typeof GetContentDocumentIncludedDataSetEnum[keyof typeof GetContentDocumentIncludedDataSetEnum];
|
|
625
|
-
/**
|
|
626
|
-
* @export
|
|
627
|
-
*/
|
|
628
530
|
export declare const ListContentDocumentAsinRelationsIncludedDataSetEnum: {
|
|
629
531
|
readonly Metadata: "METADATA";
|
|
630
532
|
};
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
|
@@ -12,54 +12,17 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
26
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
27
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
28
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
|
@@ -9,16 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AplusPaginatedResponseAllOf
|
|
16
|
-
*/
|
|
17
12
|
export interface AplusPaginatedResponseAllOf {
|
|
18
13
|
/**
|
|
19
14
|
* A token that you use to fetch a specific page when there are multiple pages of results.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AplusPaginatedResponseAllOf
|
|
22
15
|
*/
|
|
23
16
|
'nextPageToken'?: string;
|
|
24
17
|
}
|
|
@@ -14,6 +14,5 @@ import type { AplusResponse } from './aplus-response';
|
|
|
14
14
|
/**
|
|
15
15
|
* @type AplusPaginatedResponse
|
|
16
16
|
* A token that you use to retrieve the next page of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextPageToken` is null. Note that this operation can return empty pages.
|
|
17
|
-
* @export
|
|
18
17
|
*/
|
|
19
18
|
export type AplusPaginatedResponse = AplusPaginatedResponseAllOf & AplusResponse;
|