/** * 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 { Configuration } from './configuration'; import { AxiosPromise, AxiosInstance } from 'axios'; import { RequestArgs, BaseAPI } from './base'; /** * Input for add appointment operation. * @export * @interface AddAppointmentRequest */ export interface AddAppointmentRequest { /** * * @type {AppointmentTimeInput} * @memberof AddAppointmentRequest */ appointmentTime: AppointmentTimeInput; } /** * The shipping address for the service job. * @export * @interface Address */ export interface Address { /** * The name of the person, business, or institution. * @type {string} * @memberof Address */ name: string; /** * The first line of the address. * @type {string} * @memberof Address */ addressLine1: string; /** * Additional address information, if required. * @type {string} * @memberof Address */ addressLine2?: string; /** * Additional address information, if required. * @type {string} * @memberof Address */ addressLine3?: string; /** * The city. * @type {string} * @memberof Address */ city?: string; /** * The county. * @type {string} * @memberof Address */ county?: string; /** * The district. * @type {string} * @memberof Address */ district?: string; /** * The state or region. * @type {string} * @memberof Address */ stateOrRegion?: string; /** * The postal code. This can contain letters, digits, spaces, and/or punctuation. * @type {string} * @memberof Address */ postalCode?: string; /** * The two digit country code, in ISO 3166-1 alpha-2 format. * @type {string} * @memberof Address */ countryCode?: string; /** * The phone number. * @type {string} * @memberof Address */ phone?: string; } /** * The details of an appointment. * @export * @interface Appointment */ export interface Appointment { /** * The appointment identifier. * @type {string} * @memberof Appointment */ appointmentId?: string; /** * The status of the appointment. * @type {string} * @memberof Appointment */ appointmentStatus?: AppointmentAppointmentStatusEnum | 'ACTIVE' | 'CANCELLED' | 'COMPLETED'; /** * * @type {AppointmentTime} * @memberof Appointment */ appointmentTime?: AppointmentTime; /** * A list of technicians assigned to the service job. * @type {Array} * @memberof Appointment */ assignedTechnicians?: Array; /** * The appointment identifier. * @type {string} * @memberof Appointment */ rescheduledAppointmentId?: string; /** * * @type {Poa} * @memberof Appointment */ poa?: Poa; } /** * @export * @enum {string} */ export declare enum AppointmentAppointmentStatusEnum { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED" } /** * The resource that performs or performed appointment fulfillment. * @export * @interface AppointmentResource */ export interface AppointmentResource { /** * The resource identifier. * @type {string} * @memberof AppointmentResource */ resourceId?: string; } /** * A time window along with associated capacity in which the service can be performed. * @export * @interface AppointmentSlot */ export interface AppointmentSlot { /** * Time window start time in ISO 8601 format. * @type {string} * @memberof AppointmentSlot */ startTime?: string; /** * Time window end time in ISO 8601 format. * @type {string} * @memberof AppointmentSlot */ endTime?: string; /** * Number of resources for which a slot can be reserved. * @type {number} * @memberof AppointmentSlot */ capacity?: number; } /** * Availability information as per the service context queried. * @export * @interface AppointmentSlotReport */ export interface AppointmentSlotReport { /** * Defines the type of slots. * @type {string} * @memberof AppointmentSlotReport */ schedulingType?: AppointmentSlotReportSchedulingTypeEnum | 'REAL_TIME_SCHEDULING' | 'NON_REAL_TIME_SCHEDULING'; /** * Start Time from which the appointment slots are generated in ISO 8601 format. * @type {string} * @memberof AppointmentSlotReport */ startTime?: string; /** * End Time up to which the appointment slots are generated in ISO 8601 format. * @type {string} * @memberof AppointmentSlotReport */ endTime?: string; /** * A list of time windows along with associated capacity in which the service can be performed. * @type {Array} * @memberof AppointmentSlotReport */ appointmentSlots?: Array; } /** * @export * @enum {string} */ export declare enum AppointmentSlotReportSchedulingTypeEnum { RealTimeScheduling = "REAL_TIME_SCHEDULING", NonRealTimeScheduling = "NON_REAL_TIME_SCHEDULING" } /** * The time of the appointment window. * @export * @interface AppointmentTime */ export interface AppointmentTime { /** * The date and time of the start of the appointment window in ISO 8601 format. * @type {string} * @memberof AppointmentTime */ startTime: string; /** * The duration of the appointment window, in minutes. * @type {number} * @memberof AppointmentTime */ durationInMinutes: number; } /** * The input appointment time details. * @export * @interface AppointmentTimeInput */ export interface AppointmentTimeInput { /** * The date, time in UTC for the start time of an appointment in ISO 8601 format. * @type {string} * @memberof AppointmentTimeInput */ startTime: string; /** * The duration of an appointment in minutes. * @type {number} * @memberof AppointmentTimeInput */ durationInMinutes?: number; } /** * Request schema for the `assignAppointmentResources` operation. * @export * @interface AssignAppointmentResourcesRequest */ export interface AssignAppointmentResourcesRequest { /** * List of resources that performs or performed job appointment fulfillment. * @type {Array} * @memberof AssignAppointmentResourcesRequest */ resources: Array; } /** * Response schema for the `assignAppointmentResources` operation. * @export * @interface AssignAppointmentResourcesResponse */ export interface AssignAppointmentResourcesResponse { /** * * @type {AssignAppointmentResourcesResponsePayload} * @memberof AssignAppointmentResourcesResponse */ payload?: AssignAppointmentResourcesResponsePayload; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof AssignAppointmentResourcesResponse */ errors?: Array; } /** * The payload for the `assignAppointmentResource` operation. * @export * @interface AssignAppointmentResourcesResponsePayload */ export interface AssignAppointmentResourcesResponsePayload { /** * A list of warnings returned in the sucessful execution response of an API request. * @type {Array} * @memberof AssignAppointmentResourcesResponsePayload */ warnings?: Array; } /** * Information about an item associated with the service job. * @export * @interface AssociatedItem */ export interface AssociatedItem { /** * The Amazon Standard Identification Number (ASIN) of the item. * @type {string} * @memberof AssociatedItem */ asin?: string; /** * The title of the item. * @type {string} * @memberof AssociatedItem */ title?: string; /** * The total number of items included in the order. * @type {number} * @memberof AssociatedItem */ quantity?: number; /** * The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format. * @type {string} * @memberof AssociatedItem */ orderId?: string; /** * The status of the item. * @type {string} * @memberof AssociatedItem */ itemStatus?: AssociatedItemItemStatusEnum | 'ACTIVE' | 'CANCELLED' | 'SHIPPED' | 'DELIVERED'; /** * The brand name of the item. * @type {string} * @memberof AssociatedItem */ brandName?: string; /** * * @type {ItemDelivery} * @memberof AssociatedItem */ itemDelivery?: ItemDelivery; } /** * @export * @enum {string} */ export declare enum AssociatedItemItemStatusEnum { Active = "ACTIVE", Cancelled = "CANCELLED", Shipped = "SHIPPED", Delivered = "DELIVERED" } /** * `AvailabilityRecord` to represent the capacity of a resource over a time range. * @export * @interface AvailabilityRecord */ export interface AvailabilityRecord { /** * Denotes the time from when the resource is available in a day in ISO-8601 format. * @type {string} * @memberof AvailabilityRecord */ startTime: string; /** * Denotes the time till when the resource is available in a day in ISO-8601 format. * @type {string} * @memberof AvailabilityRecord */ endTime: string; /** * * @type {Recurrence} * @memberof AvailabilityRecord */ recurrence?: Recurrence; /** * Signifies the capacity of a resource which is available. * @type {number} * @memberof AvailabilityRecord */ capacity?: number; } /** * Information about the buyer. * @export * @interface Buyer */ export interface Buyer { /** * The identifier of the buyer. * @type {string} * @memberof Buyer */ buyerId?: string; /** * The name of the buyer. * @type {string} * @memberof Buyer */ name?: string; /** * The phone number of the buyer. * @type {string} * @memberof Buyer */ phone?: string; /** * When true, the service is for an Amazon Prime buyer. * @type {boolean} * @memberof Buyer */ isPrimeMember?: boolean; } /** * Response schema for the `cancelReservation` operation. * @export * @interface CancelReservationResponse */ export interface CancelReservationResponse { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CancelReservationResponse */ errors?: Array; } /** * Response schema for the `cancelServiceJobByServiceJobId` operation. * @export * @interface CancelServiceJobByServiceJobIdResponse */ export interface CancelServiceJobByServiceJobIdResponse { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CancelServiceJobByServiceJobIdResponse */ errors?: Array; } /** * Type of capacity * @export * @enum {string} */ export declare enum CapacityType { ScheduledCapacity = "SCHEDULED_CAPACITY", AvailableCapacity = "AVAILABLE_CAPACITY", EncumberedCapacity = "ENCUMBERED_CAPACITY", ReservedCapacity = "RESERVED_CAPACITY" } /** * Response schema for the `completeServiceJobByServiceJobId` operation. * @export * @interface CompleteServiceJobByServiceJobIdResponse */ export interface CompleteServiceJobByServiceJobIdResponse { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CompleteServiceJobByServiceJobIdResponse */ errors?: Array; } /** * `CreateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`. * @export * @interface CreateReservationRecord */ export interface CreateReservationRecord { /** * * @type {Reservation} * @memberof CreateReservationRecord */ reservation?: Reservation; /** * A list of warnings returned in the sucessful execution response of an API request. * @type {Array} * @memberof CreateReservationRecord */ warnings?: Array; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CreateReservationRecord */ errors?: Array; } /** * Request schema for the `createReservation` operation. * @export * @interface CreateReservationRequest */ export interface CreateReservationRequest { /** * Resource (store) identifier. * @type {string} * @memberof CreateReservationRequest */ resourceId: string; /** * * @type {Reservation} * @memberof CreateReservationRequest */ reservation: Reservation; } /** * Response schema for the `createReservation` operation. * @export * @interface CreateReservationResponse */ export interface CreateReservationResponse { /** * * @type {CreateReservationRecord} * @memberof CreateReservationResponse */ payload?: CreateReservationRecord; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CreateReservationResponse */ errors?: Array; } /** * The response schema for the `createServiceDocumentUploadDestination` operation. * @export * @interface CreateServiceDocumentUploadDestination */ export interface CreateServiceDocumentUploadDestination { /** * * @type {ServiceDocumentUploadDestination} * @memberof CreateServiceDocumentUploadDestination */ payload?: ServiceDocumentUploadDestination; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CreateServiceDocumentUploadDestination */ errors?: Array; } /** * The day of the week. * @export * @enum {string} */ export declare enum DayOfWeek { Monday = "MONDAY", Tuesday = "TUESDAY", Wednesday = "WEDNESDAY", Thursday = "THURSDAY", Friday = "FRIDAY", Saturday = "SATURDAY", Sunday = "SUNDAY" } /** * Encryption details for required client-side encryption and decryption of document contents. * @export * @interface EncryptionDetails */ export interface EncryptionDetails { /** * The encryption standard required to encrypt or decrypt the document contents. * @type {string} * @memberof EncryptionDetails */ standard: EncryptionDetailsStandardEnum | 'AES'; /** * The vector to encrypt or decrypt the document contents using Cipher Block Chaining (CBC). * @type {string} * @memberof EncryptionDetails */ initializationVector: string; /** * The encryption key used to encrypt or decrypt the document contents. * @type {string} * @memberof EncryptionDetails */ key: string; } /** * @export * @enum {string} */ export declare enum EncryptionDetailsStandardEnum { Aes = "AES" } /** * In this slot format each slot only has the requested capacity types. This slot size is as specified by slot duration. * @export * @interface FixedSlot */ export interface FixedSlot { /** * Start date time of slot in ISO 8601 format with precision of seconds. * @type {string} * @memberof FixedSlot */ startDateTime?: string; /** * Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule. * @type {number} * @memberof FixedSlot */ scheduledCapacity?: number; /** * Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations. * @type {number} * @memberof FixedSlot */ availableCapacity?: number; /** * Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders. * @type {number} * @memberof FixedSlot */ encumberedCapacity?: number; /** * Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch. * @type {number} * @memberof FixedSlot */ reservedCapacity?: number; } /** * Response schema for the `getFixedSlotCapacity` operation. * @export * @interface FixedSlotCapacity */ export interface FixedSlotCapacity { /** * Resource Identifier. * @type {string} * @memberof FixedSlotCapacity */ resourceId?: string; /** * The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= `slotDuration` <= 360. * @type {number} * @memberof FixedSlotCapacity */ slotDuration?: number; /** * Array of capacity slots in fixed slot format. * @type {Array} * @memberof FixedSlotCapacity */ capacities?: Array; /** * Next page token, if there are more pages. * @type {string} * @memberof FixedSlotCapacity */ nextPageToken?: string; } /** * The error response schema for the `getFixedSlotCapacity` operation. * @export * @interface FixedSlotCapacityErrors */ export interface FixedSlotCapacityErrors { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof FixedSlotCapacityErrors */ errors?: Array; } /** * Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity types and slot duration which are being queried. * @export * @interface FixedSlotCapacityQuery */ export interface FixedSlotCapacityQuery { /** * An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`. * @type {Array} * @memberof FixedSlotCapacityQuery */ capacityTypes?: Array<(CapacityType | 'SCHEDULED_CAPACITY' | 'AVAILABLE_CAPACITY' | 'ENCUMBERED_CAPACITY' | 'RESERVED_CAPACITY')>; /** * Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360. * @type {number} * @memberof FixedSlotCapacityQuery */ slotDuration?: number; /** * Start date time from which the capacity slots are being requested in ISO 8601 format. * @type {string} * @memberof FixedSlotCapacityQuery */ startDateTime: string; /** * End date time up to which the capacity slots are being requested in ISO 8601 format. * @type {string} * @memberof FixedSlotCapacityQuery */ endDateTime: string; } /** * Document that captured during service appointment fulfillment that portrays proof of completion * @export * @interface FulfillmentDocument */ export interface FulfillmentDocument { /** * The identifier of the upload destination. Get this value by calling the `createServiceDocumentUploadDestination` operation of the Services API. * @type {string} * @memberof FulfillmentDocument */ uploadDestinationId?: string; /** * Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit. * @type {string} * @memberof FulfillmentDocument */ contentSha256?: string; } /** * Input for fulfillment time details * @export * @interface FulfillmentTime */ export interface FulfillmentTime { /** * The date, time in UTC of the fulfillment start time in ISO 8601 format. * @type {string} * @memberof FulfillmentTime */ startTime?: string; /** * The date, time in UTC of the fulfillment end time in ISO 8601 format. * @type {string} * @memberof FulfillmentTime */ endTime?: string; } /** * The response of fetching appointment slots based on service context. * @export * @interface GetAppointmentSlotsResponse */ export interface GetAppointmentSlotsResponse { /** * * @type {AppointmentSlotReport} * @memberof GetAppointmentSlotsResponse */ payload?: AppointmentSlotReport; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetAppointmentSlotsResponse */ errors?: Array; } /** * The response schema for the `getServiceJobByServiceJobId` operation. * @export * @interface GetServiceJobByServiceJobIdResponse */ export interface GetServiceJobByServiceJobIdResponse { /** * * @type {ServiceJob} * @memberof GetServiceJobByServiceJobIdResponse */ payload?: ServiceJob; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetServiceJobByServiceJobIdResponse */ errors?: Array; } /** * Response schema for the `getServiceJobs` operation. * @export * @interface GetServiceJobsResponse */ export interface GetServiceJobsResponse { /** * * @type {JobListing} * @memberof GetServiceJobsResponse */ payload?: JobListing; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetServiceJobsResponse */ errors?: Array; } /** * Delivery information for the item. * @export * @interface ItemDelivery */ export interface ItemDelivery { /** * The date and time of the latest Estimated Delivery Date (EDD) of all the items with an EDD. In ISO 8601 format. * @type {string} * @memberof ItemDelivery */ estimatedDeliveryDate?: string; /** * * @type {ItemDeliveryPromise} * @memberof ItemDelivery */ itemDeliveryPromise?: ItemDeliveryPromise; } /** * Promised delivery information for the item. * @export * @interface ItemDeliveryPromise */ export interface ItemDeliveryPromise { /** * The date and time of the start of the promised delivery window in ISO 8601 format. * @type {string} * @memberof ItemDeliveryPromise */ startTime?: string; /** * The date and time of the end of the promised delivery window in ISO 8601 format. * @type {string} * @memberof ItemDeliveryPromise */ endTime?: string; } /** * The payload for the `getServiceJobs` operation. * @export * @interface JobListing */ export interface JobListing { /** * Total result size of the query result. * @type {number} * @memberof JobListing */ totalResultSize?: number; /** * A generated string used to pass information to your next request. If `nextPageToken` is returned, pass the value of `nextPageToken` to the `pageToken` to get next results. * @type {string} * @memberof JobListing */ nextPageToken?: string; /** * A generated string used to pass information to your next request. If `previousPageToken` is returned, pass the value of `previousPageToken` to the `pageToken` to get previous page results. * @type {string} * @memberof JobListing */ previousPageToken?: string; /** * List of job details for the given input. * @type {Array} * @memberof JobListing */ jobs?: Array; } /** * Error response returned when the request is unsuccessful. * @export * @interface ModelError */ export interface ModelError { /** * An error code that identifies the type of error that occurred. * @type {string} * @memberof ModelError */ code: string; /** * A message that describes the error condition in a human-readable form. * @type {string} * @memberof ModelError */ message: string; /** * Additional details that can help the caller understand or fix the issue. * @type {string} * @memberof ModelError */ details?: string; /** * The type of error. * @type {string} * @memberof ModelError */ errorLevel?: ModelErrorErrorLevelEnum | 'ERROR' | 'WARNING'; } /** * @export * @enum {string} */ export declare enum ModelErrorErrorLevelEnum { Error = "ERROR", Warning = "WARNING" } /** * Proof of Appointment (POA) details. * @export * @interface Poa */ export interface Poa { /** * * @type {AppointmentTime} * @memberof Poa */ appointmentTime?: AppointmentTime; /** * A list of technicians. * @type {Array} * @memberof Poa */ technicians?: Array; /** * The identifier of the technician who uploaded the POA. * @type {string} * @memberof Poa */ uploadingTechnician?: string; /** * The date and time when the POA was uploaded in ISO 8601 format. * @type {string} * @memberof Poa */ uploadTime?: string; /** * The type of POA uploaded. * @type {string} * @memberof Poa */ poaType?: PoaPoaTypeEnum | 'NO_SIGNATURE_DUMMY_POS' | 'CUSTOMER_SIGNATURE' | 'DUMMY_RECEIPT' | 'POA_RECEIPT'; } /** * @export * @enum {string} */ export declare enum PoaPoaTypeEnum { NoSignatureDummyPos = "NO_SIGNATURE_DUMMY_POS", CustomerSignature = "CUSTOMER_SIGNATURE", DummyReceipt = "DUMMY_RECEIPT", PoaReceipt = "POA_RECEIPT" } /** * Range capacity entity where each entry has a capacity type and corresponding slots. * @export * @interface RangeCapacity */ export interface RangeCapacity { /** * * @type {CapacityType} * @memberof RangeCapacity */ capacityType?: CapacityType | 'SCHEDULED_CAPACITY' | 'AVAILABLE_CAPACITY' | 'ENCUMBERED_CAPACITY' | 'RESERVED_CAPACITY'; /** * Array of capacity slots in range slot format. * @type {Array} * @memberof RangeCapacity */ slots?: Array; } /** * Capacity slots represented in a format similar to availability rules. * @export * @interface RangeSlot */ export interface RangeSlot { /** * Start date time of slot in ISO 8601 format with precision of seconds. * @type {string} * @memberof RangeSlot */ startDateTime?: string; /** * End date time of slot in ISO 8601 format with precision of seconds. * @type {string} * @memberof RangeSlot */ endDateTime?: string; /** * Capacity of the slot. * @type {number} * @memberof RangeSlot */ capacity?: number; } /** * Response schema for the `getRangeSlotCapacity` operation. * @export * @interface RangeSlotCapacity */ export interface RangeSlotCapacity { /** * Resource Identifier. * @type {string} * @memberof RangeSlotCapacity */ resourceId?: string; /** * Array of range capacities where each entry is for a specific capacity type. * @type {Array} * @memberof RangeSlotCapacity */ capacities?: Array; /** * Next page token, if there are more pages. * @type {string} * @memberof RangeSlotCapacity */ nextPageToken?: string; } /** * The error response schema for the `getRangeSlotCapacity` operation. * @export * @interface RangeSlotCapacityErrors */ export interface RangeSlotCapacityErrors { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof RangeSlotCapacityErrors */ errors?: Array; } /** * Request schema for the `getRangeSlotCapacity` operation. This schema is used to define the time range and capacity types that are being queried. * @export * @interface RangeSlotCapacityQuery */ export interface RangeSlotCapacityQuery { /** * An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`. * @type {Array} * @memberof RangeSlotCapacityQuery */ capacityTypes?: Array<(CapacityType | 'SCHEDULED_CAPACITY' | 'AVAILABLE_CAPACITY' | 'ENCUMBERED_CAPACITY' | 'RESERVED_CAPACITY')>; /** * Start date time from which the capacity slots are being requested in ISO 8601 format. * @type {string} * @memberof RangeSlotCapacityQuery */ startDateTime: string; /** * End date time up to which the capacity slots are being requested in ISO 8601 format. * @type {string} * @memberof RangeSlotCapacityQuery */ endDateTime: string; } /** * Repeated occurrence of an event in a time range. * @export * @interface Recurrence */ export interface Recurrence { /** * End time of the recurrence. * @type {string} * @memberof Recurrence */ endTime: string; /** * Days of the week when recurrence is valid. If the schedule is valid every Monday, input will only contain `MONDAY` in the list. * @type {Array} * @memberof Recurrence */ daysOfWeek?: Array<(DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY')>; /** * Days of the month when recurrence is valid. * @type {Array} * @memberof Recurrence */ daysOfMonth?: Array; } /** * Input for rescheduled appointment operation. * @export * @interface RescheduleAppointmentRequest */ export interface RescheduleAppointmentRequest { /** * * @type {AppointmentTimeInput} * @memberof RescheduleAppointmentRequest */ appointmentTime: AppointmentTimeInput; /** * The appointment reschedule reason code. * @type {string} * @memberof RescheduleAppointmentRequest */ rescheduleReasonCode: string; } /** * Reservation object reduces the capacity of a resource. * @export * @interface Reservation */ export interface Reservation { /** * Unique identifier for a reservation. If present, it is treated as an update reservation request and will update the corresponding reservation. Otherwise, it is treated as a new create reservation request. * @type {string} * @memberof Reservation */ reservationId?: string; /** * Type of reservation. * @type {string} * @memberof Reservation */ type: ReservationTypeEnum | 'APPOINTMENT' | 'TRAVEL' | 'VACATION' | 'BREAK' | 'TRAINING'; /** * * @type {AvailabilityRecord} * @memberof Reservation */ availability: AvailabilityRecord; } /** * @export * @enum {string} */ export declare enum ReservationTypeEnum { Appointment = "APPOINTMENT", Travel = "TRAVEL", Vacation = "VACATION", Break = "BREAK", Training = "TRAINING" } /** * The scope of work for the order. * @export * @interface ScopeOfWork */ export interface ScopeOfWork { /** * The Amazon Standard Identification Number (ASIN) of the service job. * @type {string} * @memberof ScopeOfWork */ asin?: string; /** * The title of the service job. * @type {string} * @memberof ScopeOfWork */ title?: string; /** * The number of service jobs. * @type {number} * @memberof ScopeOfWork */ quantity?: number; /** * A list of skills required to perform the job. * @type {Array} * @memberof ScopeOfWork */ requiredSkills?: Array; } /** * Information about the seller of the service job. * @export * @interface Seller */ export interface Seller { /** * The identifier of the seller of the service job. * @type {string} * @memberof Seller */ sellerId?: string; } /** * Information about an upload destination. * @export * @interface ServiceDocumentUploadDestination */ export interface ServiceDocumentUploadDestination { /** * The unique identifier to be used by APIs that reference the upload destination. * @type {string} * @memberof ServiceDocumentUploadDestination */ uploadDestinationId: string; /** * The URL to which to upload the file. * @type {string} * @memberof ServiceDocumentUploadDestination */ url: string; /** * * @type {EncryptionDetails} * @memberof ServiceDocumentUploadDestination */ encryptionDetails: EncryptionDetails; /** * The headers to include in the upload request. * @type {object} * @memberof ServiceDocumentUploadDestination */ headers?: object; } /** * The job details of a service. * @export * @interface ServiceJob */ export interface ServiceJob { /** * The date and time of the creation of the job in ISO 8601 format. * @type {string} * @memberof ServiceJob */ createTime?: string; /** * Amazon identifier for the service job. * @type {string} * @memberof ServiceJob */ serviceJobId?: string; /** * The status of the service job. * @type {string} * @memberof ServiceJob */ serviceJobStatus?: ServiceJobServiceJobStatusEnum | 'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'; /** * * @type {ScopeOfWork} * @memberof ServiceJob */ scopeOfWork?: ScopeOfWork; /** * * @type {Seller} * @memberof ServiceJob */ seller?: Seller; /** * * @type {ServiceJobProvider} * @memberof ServiceJob */ serviceJobProvider?: ServiceJobProvider; /** * A list of appointment windows preferred by the buyer. Included only if the buyer selected appointment windows when creating the order. * @type {Array} * @memberof ServiceJob */ preferredAppointmentTimes?: Array; /** * A list of appointments. * @type {Array} * @memberof ServiceJob */ appointments?: Array; /** * The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format. * @type {string} * @memberof ServiceJob */ serviceOrderId?: string; /** * The marketplace identifier. * @type {string} * @memberof ServiceJob */ marketplaceId?: string; /** * The Amazon-defined identifier for the region scope. * @type {string} * @memberof ServiceJob */ storeId?: string; /** * * @type {Buyer} * @memberof ServiceJob */ buyer?: Buyer; /** * A list of items associated with the service job. * @type {Array} * @memberof ServiceJob */ associatedItems?: Array; /** * * @type {ServiceLocation} * @memberof ServiceJob */ serviceLocation?: ServiceLocation; } /** * @export * @enum {string} */ export declare enum ServiceJobServiceJobStatusEnum { NotServiced = "NOT_SERVICED", Cancelled = "CANCELLED", Completed = "COMPLETED", PendingSchedule = "PENDING_SCHEDULE", NotFulfillable = "NOT_FULFILLABLE", Hold = "HOLD", PaymentDeclined = "PAYMENT_DECLINED" } /** * Information about the service job provider. * @export * @interface ServiceJobProvider */ export interface ServiceJobProvider { /** * The identifier of the service job provider. * @type {string} * @memberof ServiceJobProvider */ serviceJobProviderId?: string; } /** * Information about the location of the service job. * @export * @interface ServiceLocation */ export interface ServiceLocation { /** * The location of the service job. * @type {string} * @memberof ServiceLocation */ serviceLocationType?: ServiceLocationServiceLocationTypeEnum | 'IN_HOME' | 'IN_STORE' | 'ONLINE'; /** * * @type {Address} * @memberof ServiceLocation */ address?: Address; } /** * @export * @enum {string} */ export declare enum ServiceLocationServiceLocationTypeEnum { InHome = "IN_HOME", InStore = "IN_STORE", Online = "ONLINE" } /** * Input for to be uploaded document. * @export * @interface ServiceUploadDocument */ export interface ServiceUploadDocument { /** * The content type of the to-be-uploaded file * @type {string} * @memberof ServiceUploadDocument */ contentType: ServiceUploadDocumentContentTypeEnum | 'TIFF' | 'JPG' | 'PNG' | 'JPEG' | 'GIF' | 'PDF'; /** * The content length of the to-be-uploaded file * @type {number} * @memberof ServiceUploadDocument */ contentLength: number; /** * An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. * @type {string} * @memberof ServiceUploadDocument */ contentMD5?: string; } /** * @export * @enum {string} */ export declare enum ServiceUploadDocumentContentTypeEnum { Tiff = "TIFF", Jpg = "JPG", Png = "PNG", Jpeg = "JPEG", Gif = "GIF", Pdf = "PDF" } /** * Input for set appointment fulfillment data operation. * @export * @interface SetAppointmentFulfillmentDataRequest */ export interface SetAppointmentFulfillmentDataRequest { /** * * @type {FulfillmentTime} * @memberof SetAppointmentFulfillmentDataRequest */ fulfillmentTime?: FulfillmentTime; /** * List of resources that performs or performed job appointment fulfillment. * @type {Array} * @memberof SetAppointmentFulfillmentDataRequest */ appointmentResources?: Array; /** * List of documents captured during service appointment fulfillment. * @type {Array} * @memberof SetAppointmentFulfillmentDataRequest */ fulfillmentDocuments?: Array; } /** * Response schema for the `addAppointmentForServiceJobByServiceJobId` and `rescheduleAppointmentForServiceJobByServiceJobId` operations. * @export * @interface SetAppointmentResponse */ export interface SetAppointmentResponse { /** * The appointment identifier. * @type {string} * @memberof SetAppointmentResponse */ appointmentId?: string; /** * A list of warnings returned in the sucessful execution response of an API request. * @type {Array} * @memberof SetAppointmentResponse */ warnings?: Array; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof SetAppointmentResponse */ errors?: Array; } /** * A technician who is assigned to perform the service job in part or in full. * @export * @interface Technician */ export interface Technician { /** * The technician identifier. * @type {string} * @memberof Technician */ technicianId?: string; /** * The name of the technician. * @type {string} * @memberof Technician */ name?: string; } /** * `UpdateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`. * @export * @interface UpdateReservationRecord */ export interface UpdateReservationRecord { /** * * @type {Reservation} * @memberof UpdateReservationRecord */ reservation?: Reservation; /** * A list of warnings returned in the sucessful execution response of an API request. * @type {Array} * @memberof UpdateReservationRecord */ warnings?: Array; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof UpdateReservationRecord */ errors?: Array; } /** * Request schema for the `updateReservation` operation. * @export * @interface UpdateReservationRequest */ export interface UpdateReservationRequest { /** * Resource (store) identifier. * @type {string} * @memberof UpdateReservationRequest */ resourceId: string; /** * * @type {Reservation} * @memberof UpdateReservationRequest */ reservation: Reservation; } /** * Response schema for the `updateReservation` operation. * @export * @interface UpdateReservationResponse */ export interface UpdateReservationResponse { /** * * @type {UpdateReservationRecord} * @memberof UpdateReservationResponse */ payload?: UpdateReservationRecord; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof UpdateReservationResponse */ errors?: Array; } /** * `UpdateScheduleRecord` entity contains the `AvailabilityRecord` if there is an error/warning while performing the requested operation on it. * @export * @interface UpdateScheduleRecord */ export interface UpdateScheduleRecord { /** * * @type {AvailabilityRecord} * @memberof UpdateScheduleRecord */ availability?: AvailabilityRecord; /** * A list of warnings returned in the sucessful execution response of an API request. * @type {Array} * @memberof UpdateScheduleRecord */ warnings?: Array; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof UpdateScheduleRecord */ errors?: Array; } /** * Request schema for the `updateSchedule` operation. * @export * @interface UpdateScheduleRequest */ export interface UpdateScheduleRequest { /** * List of `AvailabilityRecord`s to represent the capacity of a resource over a time range. * @type {Array} * @memberof UpdateScheduleRequest */ schedules: Array; } /** * Response schema for the `updateSchedule` operation. * @export * @interface UpdateScheduleResponse */ export interface UpdateScheduleResponse { /** * Contains the `UpdateScheduleRecords` for which the error/warning has occurred. * @type {Array} * @memberof UpdateScheduleResponse */ payload?: Array; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof UpdateScheduleResponse */ errors?: Array; } /** * Warning returned when the request is successful, but there are important callouts based on which API clients should take defined actions. * @export * @interface Warning */ export interface Warning { /** * An warning code that identifies the type of warning that occurred. * @type {string} * @memberof Warning */ code: string; /** * A message that describes the warning condition in a human-readable form. * @type {string} * @memberof Warning */ message: string; /** * Additional details that can help the caller understand or address the warning. * @type {string} * @memberof Warning */ details?: string; } /** * ServiceApi - axios parameter creator * @export */ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppointmentForServiceJobByServiceJobId: (serviceJobId: string, body: AddAppointmentRequest, options?: any) => 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 * @param {*} [options] Override http request option. * @throws {RequiredError} */ assignAppointmentResources: (serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelReservation: (reservationId: string, marketplaceIds: Array, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelServiceJobByServiceJobId: (serviceJobId: string, cancellationReasonCode: string, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ completeServiceJobByServiceJobId: (serviceJobId: string, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {CreateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ createReservation: (marketplaceIds: Array, body: CreateReservationRequest, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceDocumentUploadDestination: (body: ServiceUploadDocument, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace for which appointment slots are queried * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmentSlots: (asin: string, storeId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmmentSlotsByJobId: (serviceJobId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {FixedSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedSlotCapacity: (resourceId: string, marketplaceIds: Array, body: FixedSlotCapacityQuery, nextPageToken?: string, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {RangeSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRangeSlotCapacity: (resourceId: string, marketplaceIds: Array, body: RangeSlotCapacityQuery, nextPageToken?: string, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobByServiceJobId: (serviceJobId: string, options?: any) => 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 {Array} marketplaceIds Used to select jobs that were placed in the specified marketplaces. * @param {Array} [serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20. * @param {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>} [serviceJobStatus] A list of one or more job status by which to filter the list of jobs. * @param {string} [pageToken] String returned in the response of your previous request. * @param {number} [pageSize] A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. * @param {'JOB_DATE' | 'JOB_STATUS'} [sortField] Sort fields on which you want to sort the output. * @param {'ASC' | 'DESC'} [sortOrder] Sort order for the query you want to perform. * @param {string} [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} [createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [lastUpdatedBefore] A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [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 {Array} [asins] List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @param {Array} [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 {Array} [storeIds] List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobs: (marketplaceIds: Array, serviceOrderIds?: Array, serviceJobStatus?: Array<"NOT_SERVICED" | "CANCELLED" | "COMPLETED" | "PENDING_SCHEDULE" | "NOT_FULFILLABLE" | "HOLD" | "PAYMENT_DECLINED">, pageToken?: string, pageSize?: number, sortField?: "JOB_DATE" | "JOB_STATUS", sortOrder?: "ASC" | "DESC", createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, asins?: Array, requiredSkills?: Array, storeIds?: Array, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ rescheduleAppointmentForServiceJobByServiceJobId: (serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: any) => 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAppointmentFulfillmentData: (serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateReservation: (reservationId: string, marketplaceIds: Array, body: UpdateReservationRequest, options?: any) => 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateScheduleRequest} body Schedule details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchedule: (resourceId: string, marketplaceIds: Array, body: UpdateScheduleRequest, options?: any) => Promise; }; /** * ServiceApi - functional programming interface * @export */ export declare const ServiceApiFp: (configuration?: Configuration) => { /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 * @param {*} [options] Override http request option. * @throws {RequiredError} */ assignAppointmentResources(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelReservation(reservationId: string, marketplaceIds: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ completeServiceJobByServiceJobId(serviceJobId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {CreateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ createReservation(marketplaceIds: Array, body: CreateReservationRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceDocumentUploadDestination(body: ServiceUploadDocument, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace for which appointment slots are queried * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmentSlots(asin: string, storeId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmmentSlotsByJobId(serviceJobId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {FixedSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedSlotCapacity(resourceId: string, marketplaceIds: Array, body: FixedSlotCapacityQuery, nextPageToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {RangeSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRangeSlotCapacity(resourceId: string, marketplaceIds: Array, body: RangeSlotCapacityQuery, nextPageToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobByServiceJobId(serviceJobId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds Used to select jobs that were placed in the specified marketplaces. * @param {Array} [serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20. * @param {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>} [serviceJobStatus] A list of one or more job status by which to filter the list of jobs. * @param {string} [pageToken] String returned in the response of your previous request. * @param {number} [pageSize] A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. * @param {'JOB_DATE' | 'JOB_STATUS'} [sortField] Sort fields on which you want to sort the output. * @param {'ASC' | 'DESC'} [sortOrder] Sort order for the query you want to perform. * @param {string} [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} [createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [lastUpdatedBefore] A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [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 {Array} [asins] List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @param {Array} [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 {Array} [storeIds] List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobs(marketplaceIds: Array, serviceOrderIds?: Array, serviceJobStatus?: Array<"NOT_SERVICED" | "CANCELLED" | "COMPLETED" | "PENDING_SCHEDULE" | "NOT_FULFILLABLE" | "HOLD" | "PAYMENT_DECLINED">, pageToken?: string, pageSize?: number, sortField?: "JOB_DATE" | "JOB_STATUS", sortOrder?: "ASC" | "DESC", createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, asins?: Array, requiredSkills?: Array, storeIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAppointmentFulfillmentData(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateReservation(reservationId: string, marketplaceIds: Array, body: UpdateReservationRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateScheduleRequest} body Schedule details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchedule(resourceId: string, marketplaceIds: Array, body: UpdateScheduleRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ServiceApi - factory interface * @export */ export declare const ServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?: any): AxiosPromise; /** * 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 * @param {*} [options] Override http request option. * @throws {RequiredError} */ assignAppointmentResources(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelReservation(reservationId: string, marketplaceIds: Array, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ completeServiceJobByServiceJobId(serviceJobId: string, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {CreateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ createReservation(marketplaceIds: Array, body: CreateReservationRequest, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceDocumentUploadDestination(body: ServiceUploadDocument, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace for which appointment slots are queried * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmentSlots(asin: string, storeId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {string} [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} [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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAppointmmentSlotsByJobId(serviceJobId: string, marketplaceIds: Array, startTime?: string, endTime?: string, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {FixedSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedSlotCapacity(resourceId: string, marketplaceIds: Array, body: FixedSlotCapacityQuery, nextPageToken?: string, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {RangeSlotCapacityQuery} body Request body. * @param {string} [nextPageToken] Next page token returned in the response of your previous request. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRangeSlotCapacity(resourceId: string, marketplaceIds: Array, body: RangeSlotCapacityQuery, nextPageToken?: string, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobByServiceJobId(serviceJobId: string, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds Used to select jobs that were placed in the specified marketplaces. * @param {Array} [serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20. * @param {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>} [serviceJobStatus] A list of one or more job status by which to filter the list of jobs. * @param {string} [pageToken] String returned in the response of your previous request. * @param {number} [pageSize] A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. * @param {'JOB_DATE' | 'JOB_STATUS'} [sortField] Sort fields on which you want to sort the output. * @param {'ASC' | 'DESC'} [sortOrder] Sort order for the query you want to perform. * @param {string} [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} [createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [lastUpdatedBefore] A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @param {string} [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} [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 {Array} [asins] List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @param {Array} [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 {Array} [storeIds] List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getServiceJobs(marketplaceIds: Array, serviceOrderIds?: Array, serviceJobStatus?: Array<"NOT_SERVICED" | "CANCELLED" | "COMPLETED" | "PENDING_SCHEDULE" | "NOT_FULFILLABLE" | "HOLD" | "PAYMENT_DECLINED">, pageToken?: string, pageSize?: number, sortField?: "JOB_DATE" | "JOB_STATUS", sortOrder?: "ASC" | "DESC", createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, asins?: Array, requiredSkills?: Array, storeIds?: Array, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: any): AxiosPromise; /** * 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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAppointmentFulfillmentData(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateReservationRequest} body Reservation details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateReservation(reservationId: string, marketplaceIds: Array, body: UpdateReservationRequest, options?: any): AxiosPromise; /** * 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 {Array} marketplaceIds An identifier for the marketplace in which the resource operates. * @param {UpdateScheduleRequest} body Schedule details * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchedule(resourceId: string, marketplaceIds: Array, body: UpdateScheduleRequest, options?: any): AxiosPromise; }; /** * Request parameters for addAppointmentForServiceJobByServiceJobId operation in ServiceApi. * @export * @interface ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest */ export interface ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest { /** * An Amazon defined service job identifier. * @type {string} * @memberof ServiceApiAddAppointmentForServiceJobByServiceJobId */ readonly serviceJobId: string; /** * Add appointment operation input details. * @type {AddAppointmentRequest} * @memberof ServiceApiAddAppointmentForServiceJobByServiceJobId */ readonly body: AddAppointmentRequest; } /** * Request parameters for assignAppointmentResources operation in ServiceApi. * @export * @interface ServiceApiAssignAppointmentResourcesRequest */ export interface ServiceApiAssignAppointmentResourcesRequest { /** * An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @type {string} * @memberof ServiceApiAssignAppointmentResources */ readonly serviceJobId: string; /** * An Amazon-defined identifier of active service job appointment. * @type {string} * @memberof ServiceApiAssignAppointmentResources */ readonly appointmentId: string; /** * * @type {AssignAppointmentResourcesRequest} * @memberof ServiceApiAssignAppointmentResources */ readonly body: AssignAppointmentResourcesRequest; } /** * Request parameters for cancelReservation operation in ServiceApi. * @export * @interface ServiceApiCancelReservationRequest */ export interface ServiceApiCancelReservationRequest { /** * Reservation Identifier * @type {string} * @memberof ServiceApiCancelReservation */ readonly reservationId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiCancelReservation */ readonly marketplaceIds: Array; } /** * Request parameters for cancelServiceJobByServiceJobId operation in ServiceApi. * @export * @interface ServiceApiCancelServiceJobByServiceJobIdRequest */ export interface ServiceApiCancelServiceJobByServiceJobIdRequest { /** * An Amazon defined service job identifier. * @type {string} * @memberof ServiceApiCancelServiceJobByServiceJobId */ readonly serviceJobId: string; /** * A cancel reason code that specifies the reason for cancelling a service job. * @type {string} * @memberof ServiceApiCancelServiceJobByServiceJobId */ readonly cancellationReasonCode: string; } /** * Request parameters for completeServiceJobByServiceJobId operation in ServiceApi. * @export * @interface ServiceApiCompleteServiceJobByServiceJobIdRequest */ export interface ServiceApiCompleteServiceJobByServiceJobIdRequest { /** * An Amazon defined service job identifier. * @type {string} * @memberof ServiceApiCompleteServiceJobByServiceJobId */ readonly serviceJobId: string; } /** * Request parameters for createReservation operation in ServiceApi. * @export * @interface ServiceApiCreateReservationRequest */ export interface ServiceApiCreateReservationRequest { /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiCreateReservation */ readonly marketplaceIds: Array; /** * Reservation details * @type {CreateReservationRequest} * @memberof ServiceApiCreateReservation */ readonly body: CreateReservationRequest; } /** * Request parameters for createServiceDocumentUploadDestination operation in ServiceApi. * @export * @interface ServiceApiCreateServiceDocumentUploadDestinationRequest */ export interface ServiceApiCreateServiceDocumentUploadDestinationRequest { /** * Upload document operation input details. * @type {ServiceUploadDocument} * @memberof ServiceApiCreateServiceDocumentUploadDestination */ readonly body: ServiceUploadDocument; } /** * Request parameters for getAppointmentSlots operation in ServiceApi. * @export * @interface ServiceApiGetAppointmentSlotsRequest */ export interface ServiceApiGetAppointmentSlotsRequest { /** * ASIN associated with the service. * @type {string} * @memberof ServiceApiGetAppointmentSlots */ readonly asin: string; /** * Store identifier defining the region scope to retrive appointment slots. * @type {string} * @memberof ServiceApiGetAppointmentSlots */ readonly storeId: string; /** * An identifier for the marketplace for which appointment slots are queried * @type {Array} * @memberof ServiceApiGetAppointmentSlots */ readonly marketplaceIds: Array; /** * 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. * @type {string} * @memberof ServiceApiGetAppointmentSlots */ readonly startTime?: string; /** * 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. * @type {string} * @memberof ServiceApiGetAppointmentSlots */ readonly endTime?: string; } /** * Request parameters for getAppointmmentSlotsByJobId operation in ServiceApi. * @export * @interface ServiceApiGetAppointmmentSlotsByJobIdRequest */ export interface ServiceApiGetAppointmmentSlotsByJobIdRequest { /** * A service job identifier to retrive appointment slots for associated service. * @type {string} * @memberof ServiceApiGetAppointmmentSlotsByJobId */ readonly serviceJobId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiGetAppointmmentSlotsByJobId */ readonly marketplaceIds: Array; /** * 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. * @type {string} * @memberof ServiceApiGetAppointmmentSlotsByJobId */ readonly startTime?: string; /** * 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. * @type {string} * @memberof ServiceApiGetAppointmmentSlotsByJobId */ readonly endTime?: string; } /** * Request parameters for getFixedSlotCapacity operation in ServiceApi. * @export * @interface ServiceApiGetFixedSlotCapacityRequest */ export interface ServiceApiGetFixedSlotCapacityRequest { /** * Resource Identifier. * @type {string} * @memberof ServiceApiGetFixedSlotCapacity */ readonly resourceId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiGetFixedSlotCapacity */ readonly marketplaceIds: Array; /** * Request body. * @type {FixedSlotCapacityQuery} * @memberof ServiceApiGetFixedSlotCapacity */ readonly body: FixedSlotCapacityQuery; /** * Next page token returned in the response of your previous request. * @type {string} * @memberof ServiceApiGetFixedSlotCapacity */ readonly nextPageToken?: string; } /** * Request parameters for getRangeSlotCapacity operation in ServiceApi. * @export * @interface ServiceApiGetRangeSlotCapacityRequest */ export interface ServiceApiGetRangeSlotCapacityRequest { /** * Resource Identifier. * @type {string} * @memberof ServiceApiGetRangeSlotCapacity */ readonly resourceId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiGetRangeSlotCapacity */ readonly marketplaceIds: Array; /** * Request body. * @type {RangeSlotCapacityQuery} * @memberof ServiceApiGetRangeSlotCapacity */ readonly body: RangeSlotCapacityQuery; /** * Next page token returned in the response of your previous request. * @type {string} * @memberof ServiceApiGetRangeSlotCapacity */ readonly nextPageToken?: string; } /** * Request parameters for getServiceJobByServiceJobId operation in ServiceApi. * @export * @interface ServiceApiGetServiceJobByServiceJobIdRequest */ export interface ServiceApiGetServiceJobByServiceJobIdRequest { /** * A service job identifier. * @type {string} * @memberof ServiceApiGetServiceJobByServiceJobId */ readonly serviceJobId: string; } /** * Request parameters for getServiceJobs operation in ServiceApi. * @export * @interface ServiceApiGetServiceJobsRequest */ export interface ServiceApiGetServiceJobsRequest { /** * Used to select jobs that were placed in the specified marketplaces. * @type {Array} * @memberof ServiceApiGetServiceJobs */ readonly marketplaceIds: Array; /** * List of service order ids for the query you want to perform.Max values supported 20. * @type {Array} * @memberof ServiceApiGetServiceJobs */ readonly serviceOrderIds?: Array; /** * A list of one or more job status by which to filter the list of jobs. * @type {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>} * @memberof ServiceApiGetServiceJobs */ readonly serviceJobStatus?: Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>; /** * String returned in the response of your previous request. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly pageToken?: string; /** * A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. * @type {number} * @memberof ServiceApiGetServiceJobs */ readonly pageSize?: number; /** * Sort fields on which you want to sort the output. * @type {'JOB_DATE' | 'JOB_STATUS'} * @memberof ServiceApiGetServiceJobs */ readonly sortField?: 'JOB_DATE' | 'JOB_STATUS'; /** * Sort order for the query you want to perform. * @type {'ASC' | 'DESC'} * @memberof ServiceApiGetServiceJobs */ readonly sortOrder?: 'ASC' | 'DESC'; /** * 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. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly createdAfter?: string; /** * A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly createdBefore?: string; /** * 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. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly lastUpdatedAfter?: string; /** * A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly lastUpdatedBefore?: string; /** * 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. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly scheduleStartDate?: string; /** * 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. * @type {string} * @memberof ServiceApiGetServiceJobs */ readonly scheduleEndDate?: string; /** * List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. * @type {Array} * @memberof ServiceApiGetServiceJobs */ readonly asins?: Array; /** * 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. * @type {Array} * @memberof ServiceApiGetServiceJobs */ readonly requiredSkills?: Array; /** * List of Amazon-defined identifiers for the region scope. Max values supported is 50. * @type {Array} * @memberof ServiceApiGetServiceJobs */ readonly storeIds?: Array; } /** * Request parameters for rescheduleAppointmentForServiceJobByServiceJobId operation in ServiceApi. * @export * @interface ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest */ export interface ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest { /** * An Amazon defined service job identifier. * @type {string} * @memberof ServiceApiRescheduleAppointmentForServiceJobByServiceJobId */ readonly serviceJobId: string; /** * An existing appointment identifier for the Service Job. * @type {string} * @memberof ServiceApiRescheduleAppointmentForServiceJobByServiceJobId */ readonly appointmentId: string; /** * Reschedule appointment operation input details. * @type {RescheduleAppointmentRequest} * @memberof ServiceApiRescheduleAppointmentForServiceJobByServiceJobId */ readonly body: RescheduleAppointmentRequest; } /** * Request parameters for setAppointmentFulfillmentData operation in ServiceApi. * @export * @interface ServiceApiSetAppointmentFulfillmentDataRequest */ export interface ServiceApiSetAppointmentFulfillmentDataRequest { /** * An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. * @type {string} * @memberof ServiceApiSetAppointmentFulfillmentData */ readonly serviceJobId: string; /** * An Amazon-defined identifier of active service job appointment. * @type {string} * @memberof ServiceApiSetAppointmentFulfillmentData */ readonly appointmentId: string; /** * Appointment fulfillment data collection details. * @type {SetAppointmentFulfillmentDataRequest} * @memberof ServiceApiSetAppointmentFulfillmentData */ readonly body: SetAppointmentFulfillmentDataRequest; } /** * Request parameters for updateReservation operation in ServiceApi. * @export * @interface ServiceApiUpdateReservationRequest */ export interface ServiceApiUpdateReservationRequest { /** * Reservation Identifier * @type {string} * @memberof ServiceApiUpdateReservation */ readonly reservationId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiUpdateReservation */ readonly marketplaceIds: Array; /** * Reservation details * @type {UpdateReservationRequest} * @memberof ServiceApiUpdateReservation */ readonly body: UpdateReservationRequest; } /** * Request parameters for updateSchedule operation in ServiceApi. * @export * @interface ServiceApiUpdateScheduleRequest */ export interface ServiceApiUpdateScheduleRequest { /** * Resource (store) Identifier * @type {string} * @memberof ServiceApiUpdateSchedule */ readonly resourceId: string; /** * An identifier for the marketplace in which the resource operates. * @type {Array} * @memberof ServiceApiUpdateSchedule */ readonly marketplaceIds: Array; /** * Schedule details * @type {UpdateScheduleRequest} * @memberof ServiceApiUpdateSchedule */ readonly body: UpdateScheduleRequest; } /** * ServiceApi - object-oriented interface * @export * @class ServiceApi * @extends {BaseAPI} */ export declare class ServiceApi extends BaseAPI { /** * 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 {ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: any): 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 {ServiceApiAssignAppointmentResourcesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ assignAppointmentResources(requestParameters: ServiceApiAssignAppointmentResourcesRequest, options?: any): 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 {ServiceApiCancelReservationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ cancelReservation(requestParameters: ServiceApiCancelReservationRequest, options?: any): 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 {ServiceApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?: any): 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 {ServiceApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?: any): 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 {ServiceApiCreateReservationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ createReservation(requestParameters: ServiceApiCreateReservationRequest, options?: any): 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 {ServiceApiCreateServiceDocumentUploadDestinationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ createServiceDocumentUploadDestination(requestParameters: ServiceApiCreateServiceDocumentUploadDestinationRequest, options?: any): 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 {ServiceApiGetAppointmentSlotsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getAppointmentSlots(requestParameters: ServiceApiGetAppointmentSlotsRequest, options?: any): 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 {ServiceApiGetAppointmmentSlotsByJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getAppointmmentSlotsByJobId(requestParameters: ServiceApiGetAppointmmentSlotsByJobIdRequest, options?: any): 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 {ServiceApiGetFixedSlotCapacityRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getFixedSlotCapacity(requestParameters: ServiceApiGetFixedSlotCapacityRequest, options?: any): 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 {ServiceApiGetRangeSlotCapacityRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getRangeSlotCapacity(requestParameters: ServiceApiGetRangeSlotCapacityRequest, options?: any): 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 {ServiceApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?: any): 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 {ServiceApiGetServiceJobsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?: any): 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 {ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: any): 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 {ServiceApiSetAppointmentFulfillmentDataRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ setAppointmentFulfillmentData(requestParameters: ServiceApiSetAppointmentFulfillmentDataRequest, options?: any): 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 {ServiceApiUpdateReservationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ updateReservation(requestParameters: ServiceApiUpdateReservationRequest, options?: any): 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 {ServiceApiUpdateScheduleRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ServiceApi */ updateSchedule(requestParameters: ServiceApiUpdateScheduleRequest, options?: any): Promise>; }