@sp-api-sdk/reports-api-2020-09-04
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -50,3 +50,3 @@ "use strict"; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -79,3 +79,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -108,3 +108,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -138,3 +138,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -168,3 +168,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -197,3 +197,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -226,3 +226,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -257,3 +257,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -314,3 +314,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -317,0 +317,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; |
@@ -17,26 +17,21 @@ "use strict"; | ||
exports.CreateReportScheduleSpecificationPeriodEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var CreateReportScheduleSpecificationPeriodEnum; | ||
(function (CreateReportScheduleSpecificationPeriodEnum) { | ||
CreateReportScheduleSpecificationPeriodEnum["Pt5M"] = "PT5M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt15M"] = "PT15M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt30M"] = "PT30M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt1H"] = "PT1H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt2H"] = "PT2H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt4H"] = "PT4H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt8H"] = "PT8H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt12H"] = "PT12H"; | ||
CreateReportScheduleSpecificationPeriodEnum["P1D"] = "P1D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P2D"] = "P2D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P3D"] = "P3D"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt84H"] = "PT84H"; | ||
CreateReportScheduleSpecificationPeriodEnum["P7D"] = "P7D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P14D"] = "P14D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P15D"] = "P15D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P18D"] = "P18D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P30D"] = "P30D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P1M"] = "P1M"; | ||
})(CreateReportScheduleSpecificationPeriodEnum = exports.CreateReportScheduleSpecificationPeriodEnum || (exports.CreateReportScheduleSpecificationPeriodEnum = {})); | ||
exports.CreateReportScheduleSpecificationPeriodEnum = { | ||
Pt5M: 'PT5M', | ||
Pt15M: 'PT15M', | ||
Pt30M: 'PT30M', | ||
Pt1H: 'PT1H', | ||
Pt2H: 'PT2H', | ||
Pt4H: 'PT4H', | ||
Pt8H: 'PT8H', | ||
Pt12H: 'PT12H', | ||
P1D: 'P1D', | ||
P2D: 'P2D', | ||
P3D: 'P3D', | ||
Pt84H: 'PT84H', | ||
P7D: 'P7D', | ||
P14D: 'P14D', | ||
P15D: 'P15D', | ||
P18D: 'P18D', | ||
P30D: 'P30D', | ||
P1M: 'P1M' | ||
}; |
@@ -17,9 +17,4 @@ "use strict"; | ||
exports.ReportDocumentEncryptionDetailsStandardEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var ReportDocumentEncryptionDetailsStandardEnum; | ||
(function (ReportDocumentEncryptionDetailsStandardEnum) { | ||
ReportDocumentEncryptionDetailsStandardEnum["Aes"] = "AES"; | ||
})(ReportDocumentEncryptionDetailsStandardEnum = exports.ReportDocumentEncryptionDetailsStandardEnum || (exports.ReportDocumentEncryptionDetailsStandardEnum = {})); | ||
exports.ReportDocumentEncryptionDetailsStandardEnum = { | ||
Aes: 'AES' | ||
}; |
@@ -17,9 +17,4 @@ "use strict"; | ||
exports.ReportDocumentCompressionAlgorithmEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var ReportDocumentCompressionAlgorithmEnum; | ||
(function (ReportDocumentCompressionAlgorithmEnum) { | ||
ReportDocumentCompressionAlgorithmEnum["Gzip"] = "GZIP"; | ||
})(ReportDocumentCompressionAlgorithmEnum = exports.ReportDocumentCompressionAlgorithmEnum || (exports.ReportDocumentCompressionAlgorithmEnum = {})); | ||
exports.ReportDocumentCompressionAlgorithmEnum = { | ||
Gzip: 'GZIP' | ||
}; |
@@ -17,13 +17,8 @@ "use strict"; | ||
exports.ReportProcessingStatusEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var ReportProcessingStatusEnum; | ||
(function (ReportProcessingStatusEnum) { | ||
ReportProcessingStatusEnum["Cancelled"] = "CANCELLED"; | ||
ReportProcessingStatusEnum["Done"] = "DONE"; | ||
ReportProcessingStatusEnum["Fatal"] = "FATAL"; | ||
ReportProcessingStatusEnum["InProgress"] = "IN_PROGRESS"; | ||
ReportProcessingStatusEnum["InQueue"] = "IN_QUEUE"; | ||
})(ReportProcessingStatusEnum = exports.ReportProcessingStatusEnum || (exports.ReportProcessingStatusEnum = {})); | ||
exports.ReportProcessingStatusEnum = { | ||
Cancelled: 'CANCELLED', | ||
Done: 'DONE', | ||
Fatal: 'FATAL', | ||
InProgress: 'IN_PROGRESS', | ||
InQueue: 'IN_QUEUE' | ||
}; |
@@ -46,3 +46,3 @@ /* tslint:disable */ | ||
const localVarQueryParameter = {}; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -75,3 +75,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -104,3 +104,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -134,3 +134,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -164,3 +164,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -193,3 +193,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -222,3 +222,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
const localVarQueryParameter = {}; | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -253,3 +253,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
} | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -310,3 +310,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; | ||
} | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -313,0 +313,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; |
@@ -14,26 +14,21 @@ /* tslint:disable */ | ||
*/ | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export var CreateReportScheduleSpecificationPeriodEnum; | ||
(function (CreateReportScheduleSpecificationPeriodEnum) { | ||
CreateReportScheduleSpecificationPeriodEnum["Pt5M"] = "PT5M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt15M"] = "PT15M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt30M"] = "PT30M"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt1H"] = "PT1H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt2H"] = "PT2H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt4H"] = "PT4H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt8H"] = "PT8H"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt12H"] = "PT12H"; | ||
CreateReportScheduleSpecificationPeriodEnum["P1D"] = "P1D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P2D"] = "P2D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P3D"] = "P3D"; | ||
CreateReportScheduleSpecificationPeriodEnum["Pt84H"] = "PT84H"; | ||
CreateReportScheduleSpecificationPeriodEnum["P7D"] = "P7D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P14D"] = "P14D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P15D"] = "P15D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P18D"] = "P18D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P30D"] = "P30D"; | ||
CreateReportScheduleSpecificationPeriodEnum["P1M"] = "P1M"; | ||
})(CreateReportScheduleSpecificationPeriodEnum || (CreateReportScheduleSpecificationPeriodEnum = {})); | ||
export const CreateReportScheduleSpecificationPeriodEnum = { | ||
Pt5M: 'PT5M', | ||
Pt15M: 'PT15M', | ||
Pt30M: 'PT30M', | ||
Pt1H: 'PT1H', | ||
Pt2H: 'PT2H', | ||
Pt4H: 'PT4H', | ||
Pt8H: 'PT8H', | ||
Pt12H: 'PT12H', | ||
P1D: 'P1D', | ||
P2D: 'P2D', | ||
P3D: 'P3D', | ||
Pt84H: 'PT84H', | ||
P7D: 'P7D', | ||
P14D: 'P14D', | ||
P15D: 'P15D', | ||
P18D: 'P18D', | ||
P30D: 'P30D', | ||
P1M: 'P1M' | ||
}; |
@@ -14,9 +14,4 @@ /* tslint:disable */ | ||
*/ | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export var ReportDocumentEncryptionDetailsStandardEnum; | ||
(function (ReportDocumentEncryptionDetailsStandardEnum) { | ||
ReportDocumentEncryptionDetailsStandardEnum["Aes"] = "AES"; | ||
})(ReportDocumentEncryptionDetailsStandardEnum || (ReportDocumentEncryptionDetailsStandardEnum = {})); | ||
export const ReportDocumentEncryptionDetailsStandardEnum = { | ||
Aes: 'AES' | ||
}; |
@@ -14,9 +14,4 @@ /* tslint:disable */ | ||
*/ | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export var ReportDocumentCompressionAlgorithmEnum; | ||
(function (ReportDocumentCompressionAlgorithmEnum) { | ||
ReportDocumentCompressionAlgorithmEnum["Gzip"] = "GZIP"; | ||
})(ReportDocumentCompressionAlgorithmEnum || (ReportDocumentCompressionAlgorithmEnum = {})); | ||
export const ReportDocumentCompressionAlgorithmEnum = { | ||
Gzip: 'GZIP' | ||
}; |
@@ -14,13 +14,8 @@ /* tslint:disable */ | ||
*/ | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export var ReportProcessingStatusEnum; | ||
(function (ReportProcessingStatusEnum) { | ||
ReportProcessingStatusEnum["Cancelled"] = "CANCELLED"; | ||
ReportProcessingStatusEnum["Done"] = "DONE"; | ||
ReportProcessingStatusEnum["Fatal"] = "FATAL"; | ||
ReportProcessingStatusEnum["InProgress"] = "IN_PROGRESS"; | ||
ReportProcessingStatusEnum["InQueue"] = "IN_QUEUE"; | ||
})(ReportProcessingStatusEnum || (ReportProcessingStatusEnum = {})); | ||
export const ReportProcessingStatusEnum = { | ||
Cancelled: 'CANCELLED', | ||
Done: 'DONE', | ||
Fatal: 'FATAL', | ||
InProgress: 'IN_PROGRESS', | ||
InQueue: 'IN_QUEUE' | ||
}; |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { AxiosPromise, AxiosInstance } from 'axios'; | ||
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -38,3 +38,3 @@ import { RequestArgs, BaseAPI } from '../base'; | ||
*/ | ||
cancelReport: (reportId: string, options?: any) => Promise<RequestArgs>; | ||
cancelReport: (reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -46,3 +46,3 @@ * Cancels the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
cancelReportSchedule: (reportScheduleId: string, options?: any) => Promise<RequestArgs>; | ||
cancelReportSchedule: (reportScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -54,3 +54,3 @@ * Creates a report. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReport: (body: CreateReportSpecification, options?: any) => Promise<RequestArgs>; | ||
createReport: (body: CreateReportSpecification, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -62,3 +62,3 @@ * Creates a report schedule. If a report schedule with the same report type and marketplace IDs already exists, it will be cancelled and replaced with this one. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReportSchedule: (body: CreateReportScheduleSpecification, options?: any) => Promise<RequestArgs>; | ||
createReportSchedule: (body: CreateReportScheduleSpecification, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -70,3 +70,3 @@ * Returns report details (including the reportDocumentId, if available) for the report that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReport: (reportId: string, options?: any) => Promise<RequestArgs>; | ||
getReport: (reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -78,3 +78,3 @@ * Returns the information required for retrieving a report document\'s contents. This includes a presigned URL for the report document as well as the information required to decrypt the document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportDocument: (reportDocumentId: string, options?: any) => Promise<RequestArgs>; | ||
getReportDocument: (reportDocumentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -86,3 +86,3 @@ * Returns report schedule details for the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedule: (reportScheduleId: string, options?: any) => Promise<RequestArgs>; | ||
getReportSchedule: (reportScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -94,3 +94,3 @@ * Returns report schedule details that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedules: (reportTypes: Array<string>, options?: any) => Promise<RequestArgs>; | ||
getReportSchedules: (reportTypes: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -108,3 +108,3 @@ * Returns report details for the reports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReports: (reportTypes?: string[] | undefined, processingStatuses?: ("CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE")[] | undefined, marketplaceIds?: string[] | undefined, pageSize?: number | undefined, createdSince?: string | undefined, createdUntil?: string | undefined, nextToken?: string | undefined, options?: any) => Promise<RequestArgs>; | ||
getReports: (reportTypes?: string[] | undefined, processingStatuses?: ("CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE")[] | undefined, marketplaceIds?: string[] | undefined, pageSize?: number | undefined, createdSince?: string | undefined, createdUntil?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -122,3 +122,3 @@ /** | ||
*/ | ||
cancelReport(reportId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CancelReportResponse>>; | ||
cancelReport(reportId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CancelReportResponse>>; | ||
/** | ||
@@ -130,3 +130,3 @@ * Cancels the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
cancelReportSchedule(reportScheduleId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CancelReportScheduleResponse>>; | ||
cancelReportSchedule(reportScheduleId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CancelReportScheduleResponse>>; | ||
/** | ||
@@ -138,3 +138,3 @@ * Creates a report. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReport(body: CreateReportSpecification, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateReportResponse>>; | ||
createReport(body: CreateReportSpecification, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateReportResponse>>; | ||
/** | ||
@@ -146,3 +146,3 @@ * Creates a report schedule. If a report schedule with the same report type and marketplace IDs already exists, it will be cancelled and replaced with this one. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReportSchedule(body: CreateReportScheduleSpecification, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateReportScheduleResponse>>; | ||
createReportSchedule(body: CreateReportScheduleSpecification, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateReportScheduleResponse>>; | ||
/** | ||
@@ -154,3 +154,3 @@ * Returns report details (including the reportDocumentId, if available) for the report that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReport(reportId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportResponse>>; | ||
getReport(reportId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportResponse>>; | ||
/** | ||
@@ -162,3 +162,3 @@ * Returns the information required for retrieving a report document\'s contents. This includes a presigned URL for the report document as well as the information required to decrypt the document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportDocument(reportDocumentId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportDocumentResponse>>; | ||
getReportDocument(reportDocumentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportDocumentResponse>>; | ||
/** | ||
@@ -170,3 +170,3 @@ * Returns report schedule details for the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedule(reportScheduleId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportScheduleResponse>>; | ||
getReportSchedule(reportScheduleId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportScheduleResponse>>; | ||
/** | ||
@@ -178,3 +178,3 @@ * Returns report schedule details that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedules(reportTypes: Array<string>, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportSchedulesResponse>>; | ||
getReportSchedules(reportTypes: Array<string>, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportSchedulesResponse>>; | ||
/** | ||
@@ -192,3 +192,3 @@ * Returns report details for the reports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReports(reportTypes?: string[] | undefined, processingStatuses?: ("CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE")[] | undefined, marketplaceIds?: string[] | undefined, pageSize?: number | undefined, createdSince?: string | undefined, createdUntil?: string | undefined, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportsResponse>>; | ||
getReports(reportTypes?: string[] | undefined, processingStatuses?: ("CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE")[] | undefined, marketplaceIds?: string[] | undefined, pageSize?: number | undefined, createdSince?: string | undefined, createdUntil?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetReportsResponse>>; | ||
}; | ||
@@ -437,3 +437,3 @@ /** | ||
*/ | ||
cancelReport(requestParameters: ReportsApiCancelReportRequest, options?: any): Promise<import("axios").AxiosResponse<CancelReportResponse, any>>; | ||
cancelReport(requestParameters: ReportsApiCancelReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelReportResponse, any>>; | ||
/** | ||
@@ -446,3 +446,3 @@ * Cancels the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
cancelReportSchedule(requestParameters: ReportsApiCancelReportScheduleRequest, options?: any): Promise<import("axios").AxiosResponse<CancelReportScheduleResponse, any>>; | ||
cancelReportSchedule(requestParameters: ReportsApiCancelReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelReportScheduleResponse, any>>; | ||
/** | ||
@@ -455,3 +455,3 @@ * Creates a report. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReport(requestParameters: ReportsApiCreateReportRequest, options?: any): Promise<import("axios").AxiosResponse<CreateReportResponse, any>>; | ||
createReport(requestParameters: ReportsApiCreateReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReportResponse, any>>; | ||
/** | ||
@@ -464,3 +464,3 @@ * Creates a report schedule. If a report schedule with the same report type and marketplace IDs already exists, it will be cancelled and replaced with this one. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
createReportSchedule(requestParameters: ReportsApiCreateReportScheduleRequest, options?: any): Promise<import("axios").AxiosResponse<CreateReportScheduleResponse, any>>; | ||
createReportSchedule(requestParameters: ReportsApiCreateReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReportScheduleResponse, any>>; | ||
/** | ||
@@ -473,3 +473,3 @@ * Returns report details (including the reportDocumentId, if available) for the report that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReport(requestParameters: ReportsApiGetReportRequest, options?: any): Promise<import("axios").AxiosResponse<GetReportResponse, any>>; | ||
getReport(requestParameters: ReportsApiGetReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportResponse, any>>; | ||
/** | ||
@@ -482,3 +482,3 @@ * Returns the information required for retrieving a report document\'s contents. This includes a presigned URL for the report document as well as the information required to decrypt the document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportDocument(requestParameters: ReportsApiGetReportDocumentRequest, options?: any): Promise<import("axios").AxiosResponse<GetReportDocumentResponse, any>>; | ||
getReportDocument(requestParameters: ReportsApiGetReportDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportDocumentResponse, any>>; | ||
/** | ||
@@ -491,3 +491,3 @@ * Returns report schedule details for the report schedule that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedule(requestParameters: ReportsApiGetReportScheduleRequest, options?: any): Promise<import("axios").AxiosResponse<GetReportScheduleResponse, any>>; | ||
getReportSchedule(requestParameters: ReportsApiGetReportScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportScheduleResponse, any>>; | ||
/** | ||
@@ -500,3 +500,3 @@ * Returns report schedule details that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReportSchedules(requestParameters: ReportsApiGetReportSchedulesRequest, options?: any): Promise<import("axios").AxiosResponse<GetReportSchedulesResponse, any>>; | ||
getReportSchedules(requestParameters: ReportsApiGetReportSchedulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportSchedulesResponse, any>>; | ||
/** | ||
@@ -509,3 +509,3 @@ * Returns report details for the reports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
*/ | ||
getReports(requestParameters?: ReportsApiGetReportsRequest, options?: any): Promise<import("axios").AxiosResponse<GetReportsResponse, any>>; | ||
getReports(requestParameters?: ReportsApiGetReportsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportsResponse, any>>; | ||
} |
@@ -13,3 +13,3 @@ /** | ||
import { Configuration } from "./configuration"; | ||
import { AxiosInstance } from 'axios'; | ||
import { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
export declare const BASE_PATH: string; | ||
@@ -33,3 +33,3 @@ /** | ||
url: string; | ||
options: any; | ||
options: AxiosRequestConfig; | ||
} | ||
@@ -36,0 +36,0 @@ /** |
@@ -14,3 +14,3 @@ /** | ||
import { RequestArgs } from "./base"; | ||
import { AxiosInstance } from 'axios'; | ||
import { AxiosInstance, AxiosResponse } from 'axios'; | ||
/** | ||
@@ -66,2 +66,2 @@ * | ||
*/ | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>; | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>; |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: CreateReportResult; | ||
'payload'?: CreateReportResult; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
reportId: string; | ||
'reportId': string; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: CreateReportScheduleResult; | ||
'payload'?: CreateReportScheduleResult; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
reportScheduleId: string; | ||
'reportScheduleId': string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
reportType: string; | ||
'reportType': string; | ||
/** | ||
@@ -30,3 +30,3 @@ * A list of marketplace identifiers for the report schedule. | ||
*/ | ||
marketplaceIds: Array<string>; | ||
'marketplaceIds': Array<string>; | ||
/** | ||
@@ -37,3 +37,3 @@ * Additional information passed to reports. This varies by report type. | ||
*/ | ||
reportOptions?: { | ||
'reportOptions'?: { | ||
[key: string]: string; | ||
@@ -46,3 +46,3 @@ }; | ||
*/ | ||
period: CreateReportScheduleSpecificationPeriodEnum; | ||
'period': CreateReportScheduleSpecificationPeriodEnum; | ||
/** | ||
@@ -53,27 +53,24 @@ * The date and time when the schedule will create its next report, in ISO 8601 date time format. | ||
*/ | ||
nextReportCreationTime?: string; | ||
'nextReportCreationTime'?: string; | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum CreateReportScheduleSpecificationPeriodEnum { | ||
Pt5M = "PT5M", | ||
Pt15M = "PT15M", | ||
Pt30M = "PT30M", | ||
Pt1H = "PT1H", | ||
Pt2H = "PT2H", | ||
Pt4H = "PT4H", | ||
Pt8H = "PT8H", | ||
Pt12H = "PT12H", | ||
P1D = "P1D", | ||
P2D = "P2D", | ||
P3D = "P3D", | ||
Pt84H = "PT84H", | ||
P7D = "P7D", | ||
P14D = "P14D", | ||
P15D = "P15D", | ||
P18D = "P18D", | ||
P30D = "P30D", | ||
P1M = "P1M" | ||
} | ||
export declare const CreateReportScheduleSpecificationPeriodEnum: { | ||
readonly Pt5M: "PT5M"; | ||
readonly Pt15M: "PT15M"; | ||
readonly Pt30M: "PT30M"; | ||
readonly Pt1H: "PT1H"; | ||
readonly Pt2H: "PT2H"; | ||
readonly Pt4H: "PT4H"; | ||
readonly Pt8H: "PT8H"; | ||
readonly Pt12H: "PT12H"; | ||
readonly P1D: "P1D"; | ||
readonly P2D: "P2D"; | ||
readonly P3D: "P3D"; | ||
readonly Pt84H: "PT84H"; | ||
readonly P7D: "P7D"; | ||
readonly P14D: "P14D"; | ||
readonly P15D: "P15D"; | ||
readonly P18D: "P18D"; | ||
readonly P30D: "P30D"; | ||
readonly P1M: "P1M"; | ||
}; | ||
export declare type CreateReportScheduleSpecificationPeriodEnum = typeof CreateReportScheduleSpecificationPeriodEnum[keyof typeof CreateReportScheduleSpecificationPeriodEnum]; |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
reportOptions?: { | ||
'reportOptions'?: { | ||
[key: string]: string; | ||
@@ -32,3 +32,3 @@ }; | ||
*/ | ||
reportType: string; | ||
'reportType': string; | ||
/** | ||
@@ -39,3 +39,3 @@ * The start of a date and time range, in ISO 8601 date time format, used for selecting the data to report. The default is now. The value must be prior to or equal to the current date and time. Not all report types make use of this. | ||
*/ | ||
dataStartTime?: string; | ||
'dataStartTime'?: string; | ||
/** | ||
@@ -46,3 +46,3 @@ * The end of a date and time range, in ISO 8601 date time format, used for selecting the data to report. The default is now. The value must be prior to or equal to the current date and time. Not all report types make use of this. | ||
*/ | ||
dataEndTime?: string; | ||
'dataEndTime'?: string; | ||
/** | ||
@@ -53,3 +53,3 @@ * A list of marketplace identifiers. The report document\'s contents will contain data for all of the specified marketplaces, unless the report type indicates otherwise. | ||
*/ | ||
marketplaceIds: Array<string>; | ||
'marketplaceIds': Array<string>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: ReportDocument; | ||
'payload'?: ReportDocument; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: Report; | ||
'payload'?: Report; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: ReportSchedule; | ||
'payload'?: ReportSchedule; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: Array<ReportSchedule>; | ||
'payload'?: Array<ReportSchedule>; | ||
/** | ||
@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
payload?: Array<Report>; | ||
'payload'?: Array<Report>; | ||
/** | ||
@@ -31,3 +31,3 @@ * Returned when the number of results exceeds pageSize. To get the next page of results, call getReports with this token as the only parameter. | ||
*/ | ||
nextToken?: string; | ||
'nextToken'?: string; | ||
/** | ||
@@ -38,3 +38,3 @@ * A list of error responses returned when a request is unsuccessful. | ||
*/ | ||
errors?: Array<Error>; | ||
'errors'?: Array<Error>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
code: string; | ||
'code': string; | ||
/** | ||
@@ -30,3 +30,3 @@ * A message that describes the error condition in a human-readable form. | ||
*/ | ||
message: string; | ||
'message': string; | ||
/** | ||
@@ -37,3 +37,3 @@ * Additional details that can help the caller understand or fix the issue. | ||
*/ | ||
details?: string; | ||
'details'?: string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
standard: ReportDocumentEncryptionDetailsStandardEnum; | ||
'standard': ReportDocumentEncryptionDetailsStandardEnum; | ||
/** | ||
@@ -30,3 +30,3 @@ * The vector to decrypt the document contents using Cipher Block Chaining (CBC). | ||
*/ | ||
initializationVector: string; | ||
'initializationVector': string; | ||
/** | ||
@@ -37,10 +37,7 @@ * The encryption key used to decrypt the document contents. | ||
*/ | ||
key: string; | ||
'key': string; | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum ReportDocumentEncryptionDetailsStandardEnum { | ||
Aes = "AES" | ||
} | ||
export declare const ReportDocumentEncryptionDetailsStandardEnum: { | ||
readonly Aes: "AES"; | ||
}; | ||
export declare type ReportDocumentEncryptionDetailsStandardEnum = typeof ReportDocumentEncryptionDetailsStandardEnum[keyof typeof ReportDocumentEncryptionDetailsStandardEnum]; |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
reportDocumentId: string; | ||
'reportDocumentId': string; | ||
/** | ||
@@ -31,3 +31,3 @@ * A presigned URL for the report document. This URL expires after 5 minutes. | ||
*/ | ||
url: string; | ||
'url': string; | ||
/** | ||
@@ -38,3 +38,3 @@ * | ||
*/ | ||
encryptionDetails: ReportDocumentEncryptionDetails; | ||
'encryptionDetails': ReportDocumentEncryptionDetails; | ||
/** | ||
@@ -45,10 +45,7 @@ * If present, the report document contents have been compressed with the provided algorithm. | ||
*/ | ||
compressionAlgorithm?: ReportDocumentCompressionAlgorithmEnum; | ||
'compressionAlgorithm'?: ReportDocumentCompressionAlgorithmEnum; | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum ReportDocumentCompressionAlgorithmEnum { | ||
Gzip = "GZIP" | ||
} | ||
export declare const ReportDocumentCompressionAlgorithmEnum: { | ||
readonly Gzip: "GZIP"; | ||
}; | ||
export declare type ReportDocumentCompressionAlgorithmEnum = typeof ReportDocumentCompressionAlgorithmEnum[keyof typeof ReportDocumentCompressionAlgorithmEnum]; |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
reportScheduleId: string; | ||
'reportScheduleId': string; | ||
/** | ||
@@ -30,3 +30,3 @@ * The report type. | ||
*/ | ||
reportType: string; | ||
'reportType': string; | ||
/** | ||
@@ -37,3 +37,3 @@ * A list of marketplace identifiers. The report document\'s contents will contain data for all of the specified marketplaces, unless the report type indicates otherwise. | ||
*/ | ||
marketplaceIds?: Array<string>; | ||
'marketplaceIds'?: Array<string>; | ||
/** | ||
@@ -44,3 +44,3 @@ * Additional information passed to reports. This varies by report type. | ||
*/ | ||
reportOptions?: { | ||
'reportOptions'?: { | ||
[key: string]: string; | ||
@@ -53,3 +53,3 @@ }; | ||
*/ | ||
period: string; | ||
'period': string; | ||
/** | ||
@@ -60,3 +60,3 @@ * The date and time when the schedule will create its next report, in ISO 8601 date time format. | ||
*/ | ||
nextReportCreationTime?: string; | ||
'nextReportCreationTime'?: string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
marketplaceIds?: Array<string>; | ||
'marketplaceIds'?: Array<string>; | ||
/** | ||
@@ -30,3 +30,3 @@ * The identifier for the report. This identifier is unique only in combination with a seller ID. | ||
*/ | ||
reportId: string; | ||
'reportId': string; | ||
/** | ||
@@ -37,3 +37,3 @@ * The report type. | ||
*/ | ||
reportType: string; | ||
'reportType': string; | ||
/** | ||
@@ -44,3 +44,3 @@ * The start of a date and time range used for selecting the data to report. | ||
*/ | ||
dataStartTime?: string; | ||
'dataStartTime'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * The end of a date and time range used for selecting the data to report. | ||
*/ | ||
dataEndTime?: string; | ||
'dataEndTime'?: string; | ||
/** | ||
@@ -58,3 +58,3 @@ * The identifier of the report schedule that created this report (if any). This identifier is unique only in combination with a seller ID. | ||
*/ | ||
reportScheduleId?: string; | ||
'reportScheduleId'?: string; | ||
/** | ||
@@ -65,3 +65,3 @@ * The date and time when the report was created. | ||
*/ | ||
createdTime: string; | ||
'createdTime': string; | ||
/** | ||
@@ -72,3 +72,3 @@ * The processing status of the report. | ||
*/ | ||
processingStatus: ReportProcessingStatusEnum; | ||
'processingStatus': ReportProcessingStatusEnum; | ||
/** | ||
@@ -79,3 +79,3 @@ * The date and time when the report processing started, in ISO 8601 date time format. | ||
*/ | ||
processingStartTime?: string; | ||
'processingStartTime'?: string; | ||
/** | ||
@@ -86,3 +86,3 @@ * The date and time when the report processing completed, in ISO 8601 date time format. | ||
*/ | ||
processingEndTime?: string; | ||
'processingEndTime'?: string; | ||
/** | ||
@@ -93,14 +93,11 @@ * The identifier for the report document. Pass this into the getReportDocument operation to get the information you will need to retrieve and decrypt the report document\'s contents. | ||
*/ | ||
reportDocumentId?: string; | ||
'reportDocumentId'?: string; | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum ReportProcessingStatusEnum { | ||
Cancelled = "CANCELLED", | ||
Done = "DONE", | ||
Fatal = "FATAL", | ||
InProgress = "IN_PROGRESS", | ||
InQueue = "IN_QUEUE" | ||
} | ||
export declare const ReportProcessingStatusEnum: { | ||
readonly Cancelled: "CANCELLED"; | ||
readonly Done: "DONE"; | ||
readonly Fatal: "FATAL"; | ||
readonly InProgress: "IN_PROGRESS"; | ||
readonly InQueue: "IN_QUEUE"; | ||
}; | ||
export declare type ReportProcessingStatusEnum = typeof ReportProcessingStatusEnum[keyof typeof ReportProcessingStatusEnum]; |
@@ -5,3 +5,3 @@ { | ||
"description": "The Selling Partner API for Reports lets you retrieve and manage a variety of reports that can help selling partners manage their businesses.", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"main": "dist/cjs/index.js", | ||
@@ -54,3 +54,3 @@ "module": "dist/es/index.js", | ||
], | ||
"gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e" | ||
"gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c" | ||
} |
205790
4039