/** * The Selling Partner API for Support * The Selling Partner API for Support provides programmatic access to information about Selling Partner support. * * The version of the OpenAPI document: 2025-02-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 { ApiClient } from '../ApiClient.js'; import { Case } from '../model/Case.js'; import { ListCasesRequest } from '../model/ListCasesRequest.js'; import { ListCasesResult } from '../model/ListCasesResult.js'; import { ListContactsResult } from '../model/ListContactsResult.js'; /** * Support service. * @module support_v2025_02_01/api/SupportApi * @version 2025-02-01 */ export declare class SupportApi { #private; apiClient: any; /** * Constructs a new SupportApi. * @alias module:support_v2025_02_01/api/SupportApi * @class * @param {ApiClient} [apiClient] Optional API client implementation to use, * default to {@link ApiClient#instance} if unspecified. */ constructor(apiClient?: ApiClient); /** * Initialize rate limiters for API operations */ initializeDefaultRateLimiterMap(): void; /** * Get rate limiter for a specific operation * @param {String} operation name */ getRateLimiter(operation: string): any; /** * Retrieve a specific support case. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {String} caseId The case identifier. * @return {Promise} */ getCaseWithHttpInfo(caseId: string): Promise; /** * Retrieve a specific support case. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {String} caseId The case identifier. * @return {Promise} */ getCase(caseId: string): Promise; /** * Retrieve support cases for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {ListCasesRequest} body The request body for the listCases operation. * @return {Promise} */ listCasesWithHttpInfo(body: ListCasesRequest): Promise; /** * Retrieve support cases for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {ListCasesRequest} body The request body for the listCases operation. * @return {Promise} */ listCases(body: ListCasesRequest): Promise; /** * Retrieve contacts for a specific support case. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {String} caseId The case identifier. * @param {Object} [opts] Optional parameters * @param {Number} [opts.maxResults] The maximum number of results to include in the response. (default to 10) * @param {String} [opts.nextToken] A token to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. 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 `nextToken` is null. Note that this operation can return empty pages. * @param {String} [opts.sortOrder] Sort the returned contacts by `createdDate` in either ascending or descending order. (default to 'DESC') * @return {Promise} */ listContactsWithHttpInfo(caseId: string, opts?: { maxResults?: number; nextToken?: string; sortOrder?: string; }): Promise; /** * Retrieve contacts for a specific support case. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits). * @param {String} caseId The case identifier. * @param {Object} [opts] Optional parameters * @param {Number} [opts.maxResults] The maximum number of results to include in the response. (default to 10) * @param {String} [opts.nextToken] A token to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. 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 `nextToken` is null. Note that this operation can return empty pages. * @param {String} [opts.sortOrder] Sort the returned contacts by `createdDate` in either ascending or descending order. (default to 'DESC') * @return {Promise} */ listContacts(caseId: string, opts?: { maxResults?: number; nextToken?: string; sortOrder?: string; }): Promise; } //# sourceMappingURL=SupportApi.d.ts.map