/** * Selling Partner API for Supply Sources * Manage configurations and capabilities of seller supply sources. * * The version of the OpenAPI document: 2020-07-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 { CreateSupplySourceRequest } from '../model/CreateSupplySourceRequest.js'; import { CreateSupplySourceResponse } from '../model/CreateSupplySourceResponse.js'; import { ErrorList } from '../model/ErrorList.js'; import { GetSupplySourcesResponse } from '../model/GetSupplySourcesResponse.js'; import { SupplySource } from '../model/SupplySource.js'; import { UpdateSupplySourceRequest } from '../model/UpdateSupplySourceRequest.js'; import { UpdateSupplySourceStatusRequest } from '../model/UpdateSupplySourceStatusRequest.js'; /** * SupplySources service. * @module supplysources_v2020_07_01/api/SupplySourcesApi * @version 2020-07-01 */ export declare class SupplySourcesApi { #private; apiClient: any; /** * Constructs a new SupplySourcesApi. * @alias module:supplysources_v2020_07_01/api/SupplySourcesApi * @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; /** * Archive a supply source, making it inactive. Cannot be undone. * @param {String} supplySourceId The unique identifier of a supply source. * @return {Promise} */ archiveSupplySourceWithHttpInfo(supplySourceId: string): Promise; /** * Archive a supply source, making it inactive. Cannot be undone. * @param {String} supplySourceId The unique identifier of a supply source. * @return {Promise} */ archiveSupplySource(supplySourceId: string): Promise; /** * Create a new supply source. * @param {CreateSupplySourceRequest} payload A request to create a supply source. * @return {Promise} */ createSupplySourceWithHttpInfo(payload: CreateSupplySourceRequest): Promise; /** * Create a new supply source. * @param {CreateSupplySourceRequest} payload A request to create a supply source. * @return {Promise} */ createSupplySource(payload: CreateSupplySourceRequest): Promise; /** * Retrieve a supply source. * @param {String} supplySourceId The unique identifier of a supply source. * @return {Promise} */ getSupplySourceWithHttpInfo(supplySourceId: string): Promise; /** * Retrieve a supply source. * @param {String} supplySourceId The unique identifier of a supply source. * @return {Promise} */ getSupplySource(supplySourceId: string): Promise; /** * The path to retrieve paginated supply sources. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] The pagination token to retrieve a specific page of results. * @param {Number} [opts.pageSize] The number of supply sources to return per paginated request. (default to 10.0) * @return {Promise} */ getSupplySourcesWithHttpInfo(opts?: { nextPageToken?: string; pageSize?: number; }): Promise; /** * The path to retrieve paginated supply sources. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] The pagination token to retrieve a specific page of results. * @param {Number} [opts.pageSize] The number of supply sources to return per paginated request. (default to 10.0) * @return {Promise} */ getSupplySources(opts?: { nextPageToken?: string; pageSize?: number; }): Promise; /** * Update the configuration and capabilities of a supply source. * @param {String} supplySourceId The unique identitier of a supply source. * @param {Object} [opts] Optional parameters * @param {UpdateSupplySourceRequest} [opts.payload] * @return {Promise} */ updateSupplySourceWithHttpInfo(supplySourceId: string, opts?: { payload?: UpdateSupplySourceRequest; }): Promise; /** * Update the configuration and capabilities of a supply source. * @param {String} supplySourceId The unique identitier of a supply source. * @param {Object} [opts] Optional parameters * @param {UpdateSupplySourceRequest} [opts.payload] * @return {Promise} */ updateSupplySource(supplySourceId: string, opts?: { payload?: UpdateSupplySourceRequest; }): Promise; /** * Update the status of a supply source. * @param {String} supplySourceId The unique identifier of a supply source. * @param {Object} [opts] Optional parameters * @param {UpdateSupplySourceStatusRequest} [opts.payload] * @return {Promise} */ updateSupplySourceStatusWithHttpInfo(supplySourceId: string, opts?: { payload?: UpdateSupplySourceStatusRequest; }): Promise; /** * Update the status of a supply source. * @param {String} supplySourceId The unique identifier of a supply source. * @param {Object} [opts] Optional parameters * @param {UpdateSupplySourceStatusRequest} [opts.payload] * @return {Promise} */ updateSupplySourceStatus(supplySourceId: string, opts?: { payload?: UpdateSupplySourceStatusRequest; }): Promise; } //# sourceMappingURL=SupplySourcesApi.d.ts.map