/** * Selling Partner API for Services * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources. * * The version of the OpenAPI document: v1 * * * 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 { AddAppointmentRequest } from '../model/AddAppointmentRequest.js'; import { AssignAppointmentResourcesRequest } from '../model/AssignAppointmentResourcesRequest.js'; import { AssignAppointmentResourcesResponse } from '../model/AssignAppointmentResourcesResponse.js'; import { CancelReservationResponse } from '../model/CancelReservationResponse.js'; import { CancelServiceJobByServiceJobIdResponse } from '../model/CancelServiceJobByServiceJobIdResponse.js'; import { CompleteServiceJobByServiceJobIdResponse } from '../model/CompleteServiceJobByServiceJobIdResponse.js'; import { CreateReservationRequest } from '../model/CreateReservationRequest.js'; import { CreateReservationResponse } from '../model/CreateReservationResponse.js'; import { CreateServiceDocumentUploadDestination } from '../model/CreateServiceDocumentUploadDestination.js'; import { FixedSlotCapacity } from '../model/FixedSlotCapacity.js'; import { FixedSlotCapacityQuery } from '../model/FixedSlotCapacityQuery.js'; import { GetAppointmentSlotsResponse } from '../model/GetAppointmentSlotsResponse.js'; import { GetServiceJobByServiceJobIdResponse } from '../model/GetServiceJobByServiceJobIdResponse.js'; import { GetServiceJobsResponse } from '../model/GetServiceJobsResponse.js'; import { RangeSlotCapacity } from '../model/RangeSlotCapacity.js'; import { RangeSlotCapacityQuery } from '../model/RangeSlotCapacityQuery.js'; import { RescheduleAppointmentRequest } from '../model/RescheduleAppointmentRequest.js'; import { ServiceUploadDocument } from '../model/ServiceUploadDocument.js'; import { SetAppointmentFulfillmentDataRequest } from '../model/SetAppointmentFulfillmentDataRequest.js'; import { SetAppointmentResponse } from '../model/SetAppointmentResponse.js'; import { UpdateReservationRequest } from '../model/UpdateReservationRequest.js'; import { UpdateReservationResponse } from '../model/UpdateReservationResponse.js'; import { UpdateScheduleRequest } from '../model/UpdateScheduleRequest.js'; import { UpdateScheduleResponse } from '../model/UpdateScheduleResponse.js'; /** * Service service. * @module services_v1/api/ServiceApi * @version v1 */ export declare class ServiceApi { #private; apiClient: any; /** * Constructs a new ServiceApi. * @alias module:services_v1/api/ServiceApi * @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; /** * Adds an appointment to the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {AddAppointmentRequest} body Add appointment operation input details. * @return {Promise} */ addAppointmentForServiceJobByServiceJobIdWithHttpInfo(serviceJobId: string, body: AddAppointmentRequest): Promise; /** * Adds an appointment to the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {AddAppointmentRequest} body Add appointment operation input details. * @return {Promise} */ addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest): Promise; /** * Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @param {String} appointmentId An Amazon-defined identifier of active service job appointment. * @param {AssignAppointmentResourcesRequest} body Input containing the resource details to be assigned to the appointment. * @return {Promise} */ assignAppointmentResourcesWithHttpInfo(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest): Promise; /** * Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @param {String} appointmentId An Amazon-defined identifier of active service job appointment. * @param {AssignAppointmentResourcesRequest} body Input containing the resource details to be assigned to the appointment. * @return {Promise} */ assignAppointmentResources(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest): Promise; /** * Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} reservationId Reservation Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @return {Promise} */ cancelReservationWithHttpInfo(reservationId: string, marketplaceIds: string[]): Promise; /** * Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} reservationId Reservation Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @return {Promise} */ cancelReservation(reservationId: string, marketplaceIds: string[]): Promise; /** * Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {String} cancellationReasonCode A cancel reason code that specifies the reason for cancelling a service job. * @return {Promise} */ cancelServiceJobByServiceJobIdWithHttpInfo(serviceJobId: string, cancellationReasonCode: string): Promise; /** * Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {String} cancellationReasonCode A cancel reason code that specifies the reason for cancelling a service job. * @return {Promise} */ cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string): Promise; /** * Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @return {Promise} */ completeServiceJobByServiceJobIdWithHttpInfo(serviceJobId: string): Promise; /** * Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @return {Promise} */ completeServiceJobByServiceJobId(serviceJobId: string): Promise; /** * Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {CreateReservationRequest} body Reservation details * @return {Promise} */ createReservationWithHttpInfo(marketplaceIds: string[], body: CreateReservationRequest): Promise; /** * Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {CreateReservationRequest} body Reservation details * @return {Promise} */ createReservation(marketplaceIds: string[], body: CreateReservationRequest): Promise; /** * Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {ServiceUploadDocument} body Upload document operation input details. * @return {Promise} */ createServiceDocumentUploadDestinationWithHttpInfo(body: ServiceUploadDocument): Promise; /** * Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {ServiceUploadDocument} body Upload document operation input details. * @return {Promise} */ createServiceDocumentUploadDestination(body: ServiceUploadDocument): Promise; /** * Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} asin ASIN associated with the service. * @param {String} storeId Store identifier defining the region scope to retrive appointment slots. * @param {String[]} marketplaceIds An identifier for the marketplace for which appointment slots are queried * @param {Object} [opts] Optional parameters * @param {String} [opts.startTime] A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. * @param {String} [opts.endTime] A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. * @return {Promise} */ getAppointmentSlotsWithHttpInfo(asin: string, storeId: string, marketplaceIds: string[], opts?: { startTime?: string; endTime?: string; }): Promise; /** * Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} asin ASIN associated with the service. * @param {String} storeId Store identifier defining the region scope to retrive appointment slots. * @param {String[]} marketplaceIds An identifier for the marketplace for which appointment slots are queried * @param {Object} [opts] Optional parameters * @param {String} [opts.startTime] A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. * @param {String} [opts.endTime] A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. * @return {Promise} */ getAppointmentSlots(asin: string, storeId: string, marketplaceIds: string[], opts?: { startTime?: string; endTime?: string; }): Promise; /** * Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId A service job identifier to retrive appointment slots for associated service. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {Object} [opts] Optional parameters * @param {String} [opts.startTime] A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. * @param {String} [opts.endTime] A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. * @return {Promise} */ getAppointmmentSlotsByJobIdWithHttpInfo(serviceJobId: string, marketplaceIds: string[], opts?: { startTime?: string; endTime?: string; }): Promise; /** * Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId A service job identifier to retrive appointment slots for associated service. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {Object} [opts] Optional parameters * @param {String} [opts.startTime] A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. * @param {String} [opts.endTime] A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. * @return {Promise} */ getAppointmmentSlotsByJobId(serviceJobId: string, marketplaceIds: string[], opts?: { startTime?: string; endTime?: string; }): Promise; /** * Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource Identifier. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {FixedSlotCapacityQuery} body Request body. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] Next page token returned in the response of your previous request. * @return {Promise} */ getFixedSlotCapacityWithHttpInfo(resourceId: string, marketplaceIds: string[], body: FixedSlotCapacityQuery, opts?: { nextPageToken?: string; }): Promise; /** * Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource Identifier. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {FixedSlotCapacityQuery} body Request body. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] Next page token returned in the response of your previous request. * @return {Promise} */ getFixedSlotCapacity(resourceId: string, marketplaceIds: string[], body: FixedSlotCapacityQuery, opts?: { nextPageToken?: string; }): Promise; /** * Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource Identifier. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {RangeSlotCapacityQuery} body Request body. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] Next page token returned in the response of your previous request. * @return {Promise} */ getRangeSlotCapacityWithHttpInfo(resourceId: string, marketplaceIds: string[], body: RangeSlotCapacityQuery, opts?: { nextPageToken?: string; }): Promise; /** * Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource Identifier. * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {RangeSlotCapacityQuery} body Request body. * @param {Object} [opts] Optional parameters * @param {String} [opts.nextPageToken] Next page token returned in the response of your previous request. * @return {Promise} */ getRangeSlotCapacity(resourceId: string, marketplaceIds: string[], body: RangeSlotCapacityQuery, opts?: { nextPageToken?: string; }): Promise; /** * Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId A service job identifier. * @return {Promise} */ getServiceJobByServiceJobIdWithHttpInfo(serviceJobId: string): Promise; /** * Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId A service job identifier. * @return {Promise} */ getServiceJobByServiceJobId(serviceJobId: string): Promise; /** * Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String[]} marketplaceIds Used to select jobs that were placed in the specified marketplaces. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20. * @param {String[]} [opts.productOrderIds] A list of up to 20 associated product order IDs. You can use these IDs to query service jobs. * @param {String[]} [opts.trackingIds] A list of up to 20 associated product tracking IDs. You can use these IDs to query service jobs. * @param {String[]} [opts.serviceJobStatus] A list of one or more job status by which to filter the list of jobs. * @param {String} [opts.pageToken] String returned in the response of your previous request. * @param {Number} [opts.pageSize] A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (default to 20) * @param {String} [opts.sortField] Sort fields on which you want to sort the output. * @param {String} [opts.sortOrder] Sort order for the query you want to perform. * @param {String} [opts.createdAfter] A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. * @param {String} [opts.createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @param {String} [opts.lastUpdatedAfter] A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. * @param {String} [opts.lastUpdatedBefore] A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @param {String} [opts.scheduleStartDate] A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. * @param {String} [opts.scheduleEndDate] A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. * @param {String[]} [opts.asins] List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @param {String[]} [opts.requiredSkills] A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. * @param {String[]} [opts.storeIds] List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @param {String[]} [opts.providerServiceJobReferenceIds] A list of up to 20 reference IDs for the service jobs assigned to the provider. You can use these IDs to query service jobs. * @return {Promise} */ getServiceJobsWithHttpInfo(marketplaceIds: string[], opts?: { serviceOrderIds?: string[]; productOrderIds?: string[]; trackingIds?: string[]; serviceJobStatus?: string[]; pageToken?: string; pageSize?: number; sortField?: string; sortOrder?: string; createdAfter?: string; createdBefore?: string; lastUpdatedAfter?: string; lastUpdatedBefore?: string; scheduleStartDate?: string; scheduleEndDate?: string; asins?: string[]; requiredSkills?: string[]; storeIds?: string[]; providerServiceJobReferenceIds?: string[]; }): Promise; /** * Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String[]} marketplaceIds Used to select jobs that were placed in the specified marketplaces. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20. * @param {String[]} [opts.productOrderIds] A list of up to 20 associated product order IDs. You can use these IDs to query service jobs. * @param {String[]} [opts.trackingIds] A list of up to 20 associated product tracking IDs. You can use these IDs to query service jobs. * @param {String[]} [opts.serviceJobStatus] A list of one or more job status by which to filter the list of jobs. * @param {String} [opts.pageToken] String returned in the response of your previous request. * @param {Number} [opts.pageSize] A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (default to 20) * @param {String} [opts.sortField] Sort fields on which you want to sort the output. * @param {String} [opts.sortOrder] Sort order for the query you want to perform. * @param {String} [opts.createdAfter] A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. * @param {String} [opts.createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @param {String} [opts.lastUpdatedAfter] A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. * @param {String} [opts.lastUpdatedBefore] A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @param {String} [opts.scheduleStartDate] A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. * @param {String} [opts.scheduleEndDate] A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. * @param {String[]} [opts.asins] List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @param {String[]} [opts.requiredSkills] A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. * @param {String[]} [opts.storeIds] List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @param {String[]} [opts.providerServiceJobReferenceIds] A list of up to 20 reference IDs for the service jobs assigned to the provider. You can use these IDs to query service jobs. * @return {Promise} */ getServiceJobs(marketplaceIds: string[], opts?: { serviceOrderIds?: string[]; productOrderIds?: string[]; trackingIds?: string[]; serviceJobStatus?: string[]; pageToken?: string; pageSize?: number; sortField?: string; sortOrder?: string; createdAfter?: string; createdBefore?: string; lastUpdatedAfter?: string; lastUpdatedBefore?: string; scheduleStartDate?: string; scheduleEndDate?: string; asins?: string[]; requiredSkills?: string[]; storeIds?: string[]; providerServiceJobReferenceIds?: string[]; }): Promise; /** * Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {String} appointmentId An existing appointment identifier for the Service Job. * @param {RescheduleAppointmentRequest} body Reschedule appointment operation input details. * @return {Promise} */ rescheduleAppointmentForServiceJobByServiceJobIdWithHttpInfo(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest): Promise; /** * Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon defined service job identifier. * @param {String} appointmentId An existing appointment identifier for the Service Job. * @param {RescheduleAppointmentRequest} body Reschedule appointment operation input details. * @return {Promise} */ rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest): Promise; /** * Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @param {String} appointmentId An Amazon-defined identifier of active service job appointment. * @param {SetAppointmentFulfillmentDataRequest} body Appointment fulfillment data collection details. * @return {Promise} */ setAppointmentFulfillmentDataWithHttpInfo(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest): Promise; /** * Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @param {String} appointmentId An Amazon-defined identifier of active service job appointment. * @param {SetAppointmentFulfillmentDataRequest} body Appointment fulfillment data collection details. * @return {Promise} */ setAppointmentFulfillmentData(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest): Promise; /** * Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} reservationId Reservation Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateReservationRequest} body Reservation details * @return {Promise} */ updateReservationWithHttpInfo(reservationId: string, marketplaceIds: string[], body: UpdateReservationRequest): Promise; /** * Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} reservationId Reservation Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateReservationRequest} body Reservation details * @return {Promise} */ updateReservation(reservationId: string, marketplaceIds: string[], body: UpdateReservationRequest): Promise; /** * Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource (store) Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateScheduleRequest} body Schedule details * @return {Promise} */ updateScheduleWithHttpInfo(resourceId: string, marketplaceIds: string[], body: UpdateScheduleRequest): Promise; /** * Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} resourceId Resource (store) Identifier * @param {String[]} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateScheduleRequest} body Schedule details * @return {Promise} */ updateSchedule(resourceId: string, marketplaceIds: string[], body: UpdateScheduleRequest): Promise; } //# sourceMappingURL=ServiceApi.d.ts.map