@sp-api-sdk/services-api-v1 2.0.6 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/service-api.js +84 -24
- package/dist/cjs/src/api-model/base.js +7 -2
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +8 -0
- package/dist/es/src/api-model/api/service-api.js +84 -24
- package/dist/es/src/api-model/base.js +6 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +8 -0
- package/dist/types/src/api-model/api/service-api.d.ts +132 -103
- package/dist/types/src/api-model/base.d.ts +14 -2
- package/dist/types/src/api-model/configuration.d.ts +8 -0
- package/dist/types/src/api-model/models/add-appointment-request.d.ts +1 -1
- package/dist/types/src/api-model/models/appointment-slot-report.d.ts +1 -1
- package/dist/types/src/api-model/models/appointment.d.ts +3 -3
- package/dist/types/src/api-model/models/assign-appointment-resources-request.d.ts +1 -1
- package/dist/types/src/api-model/models/assign-appointment-resources-response-payload.d.ts +1 -1
- package/dist/types/src/api-model/models/assign-appointment-resources-response.d.ts +1 -1
- package/dist/types/src/api-model/models/associated-item.d.ts +1 -1
- package/dist/types/src/api-model/models/availability-record.d.ts +1 -1
- package/dist/types/src/api-model/models/create-reservation-record.d.ts +2 -2
- package/dist/types/src/api-model/models/create-reservation-request.d.ts +1 -1
- package/dist/types/src/api-model/models/create-reservation-response.d.ts +1 -1
- package/dist/types/src/api-model/models/create-service-document-upload-destination.d.ts +1 -1
- package/dist/types/src/api-model/models/fixed-slot-capacity-query.d.ts +1 -1
- package/dist/types/src/api-model/models/fixed-slot-capacity.d.ts +1 -1
- package/dist/types/src/api-model/models/get-appointment-slots-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-service-job-by-service-job-id-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-service-jobs-response.d.ts +1 -1
- package/dist/types/src/api-model/models/item-delivery.d.ts +1 -1
- package/dist/types/src/api-model/models/job-listing.d.ts +1 -1
- package/dist/types/src/api-model/models/poa.d.ts +2 -2
- package/dist/types/src/api-model/models/range-capacity.d.ts +2 -2
- package/dist/types/src/api-model/models/range-slot-capacity-query.d.ts +1 -1
- package/dist/types/src/api-model/models/range-slot-capacity.d.ts +1 -1
- package/dist/types/src/api-model/models/recurrence.d.ts +1 -1
- package/dist/types/src/api-model/models/reschedule-appointment-request.d.ts +1 -1
- package/dist/types/src/api-model/models/reservation.d.ts +1 -1
- package/dist/types/src/api-model/models/service-document-upload-destination.d.ts +1 -1
- package/dist/types/src/api-model/models/service-job.d.ts +8 -8
- package/dist/types/src/api-model/models/service-location.d.ts +1 -1
- package/dist/types/src/api-model/models/set-appointment-fulfillment-data-request.d.ts +3 -3
- package/dist/types/src/api-model/models/set-appointment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-reservation-record.d.ts +2 -2
- package/dist/types/src/api-model/models/update-reservation-request.d.ts +1 -1
- package/dist/types/src/api-model/models/update-reservation-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-schedule-record.d.ts +2 -2
- package/dist/types/src/api-model/models/update-schedule-request.d.ts +1 -1
- package/dist/types/src/api-model/models/update-schedule-response.d.ts +1 -1
- package/package.json +5 -5
|
@@ -10,33 +10,33 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance,
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
16
|
-
import { AddAppointmentRequest } from '../models';
|
|
17
|
-
import { AssignAppointmentResourcesRequest } from '../models';
|
|
18
|
-
import { AssignAppointmentResourcesResponse } from '../models';
|
|
19
|
-
import { CancelReservationResponse } from '../models';
|
|
20
|
-
import { CancelServiceJobByServiceJobIdResponse } from '../models';
|
|
21
|
-
import { CompleteServiceJobByServiceJobIdResponse } from '../models';
|
|
22
|
-
import { CreateReservationRequest } from '../models';
|
|
23
|
-
import { CreateReservationResponse } from '../models';
|
|
24
|
-
import { CreateServiceDocumentUploadDestination } from '../models';
|
|
25
|
-
import { FixedSlotCapacity } from '../models';
|
|
26
|
-
import { FixedSlotCapacityQuery } from '../models';
|
|
27
|
-
import { GetAppointmentSlotsResponse } from '../models';
|
|
28
|
-
import { GetServiceJobByServiceJobIdResponse } from '../models';
|
|
29
|
-
import { GetServiceJobsResponse } from '../models';
|
|
30
|
-
import { RangeSlotCapacity } from '../models';
|
|
31
|
-
import { RangeSlotCapacityQuery } from '../models';
|
|
32
|
-
import { RescheduleAppointmentRequest } from '../models';
|
|
33
|
-
import { ServiceUploadDocument } from '../models';
|
|
34
|
-
import { SetAppointmentFulfillmentDataRequest } from '../models';
|
|
35
|
-
import { SetAppointmentResponse } from '../models';
|
|
36
|
-
import { UpdateReservationRequest } from '../models';
|
|
37
|
-
import { UpdateReservationResponse } from '../models';
|
|
38
|
-
import { UpdateScheduleRequest } from '../models';
|
|
39
|
-
import { UpdateScheduleResponse } from '../models';
|
|
15
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { AddAppointmentRequest } from '../models';
|
|
17
|
+
import type { AssignAppointmentResourcesRequest } from '../models';
|
|
18
|
+
import type { AssignAppointmentResourcesResponse } from '../models';
|
|
19
|
+
import type { CancelReservationResponse } from '../models';
|
|
20
|
+
import type { CancelServiceJobByServiceJobIdResponse } from '../models';
|
|
21
|
+
import type { CompleteServiceJobByServiceJobIdResponse } from '../models';
|
|
22
|
+
import type { CreateReservationRequest } from '../models';
|
|
23
|
+
import type { CreateReservationResponse } from '../models';
|
|
24
|
+
import type { CreateServiceDocumentUploadDestination } from '../models';
|
|
25
|
+
import type { FixedSlotCapacity } from '../models';
|
|
26
|
+
import type { FixedSlotCapacityQuery } from '../models';
|
|
27
|
+
import type { GetAppointmentSlotsResponse } from '../models';
|
|
28
|
+
import type { GetServiceJobByServiceJobIdResponse } from '../models';
|
|
29
|
+
import type { GetServiceJobsResponse } from '../models';
|
|
30
|
+
import type { RangeSlotCapacity } from '../models';
|
|
31
|
+
import type { RangeSlotCapacityQuery } from '../models';
|
|
32
|
+
import type { RescheduleAppointmentRequest } from '../models';
|
|
33
|
+
import type { ServiceUploadDocument } from '../models';
|
|
34
|
+
import type { SetAppointmentFulfillmentDataRequest } from '../models';
|
|
35
|
+
import type { SetAppointmentResponse } from '../models';
|
|
36
|
+
import type { UpdateReservationRequest } from '../models';
|
|
37
|
+
import type { UpdateReservationResponse } from '../models';
|
|
38
|
+
import type { UpdateScheduleRequest } from '../models';
|
|
39
|
+
import type { UpdateScheduleResponse } from '../models';
|
|
40
40
|
/**
|
|
41
41
|
* ServiceApi - axios parameter creator
|
|
42
42
|
* @export
|
|
@@ -49,7 +49,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
addAppointmentForServiceJobByServiceJobId: (serviceJobId: string, body: AddAppointmentRequest, options?:
|
|
52
|
+
addAppointmentForServiceJobByServiceJobId: (serviceJobId: string, body: AddAppointmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
54
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
55
55
|
* @param {string} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
@@ -58,7 +58,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
61
|
-
assignAppointmentResources: (serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?:
|
|
61
|
+
assignAppointmentResources: (serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
62
|
/**
|
|
63
63
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
64
64
|
* @param {string} reservationId Reservation Identifier
|
|
@@ -66,7 +66,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
cancelReservation: (reservationId: string, marketplaceIds: Array<string>, options?:
|
|
69
|
+
cancelReservation: (reservationId: string, marketplaceIds: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
71
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
72
72
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -74,14 +74,14 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
77
|
-
cancelServiceJobByServiceJobId: (serviceJobId: string, cancellationReasonCode: string, options?:
|
|
77
|
+
cancelServiceJobByServiceJobId: (serviceJobId: string, cancellationReasonCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
78
|
/**
|
|
79
79
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
80
80
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
completeServiceJobByServiceJobId: (serviceJobId: string, options?:
|
|
84
|
+
completeServiceJobByServiceJobId: (serviceJobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
85
|
/**
|
|
86
86
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
87
87
|
* @param {Array<string>} marketplaceIds An identifier for the marketplace in which the resource operates.
|
|
@@ -89,14 +89,14 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
createReservation: (marketplaceIds: Array<string>, body: CreateReservationRequest, options?:
|
|
92
|
+
createReservation: (marketplaceIds: Array<string>, body: CreateReservationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
93
|
/**
|
|
94
94
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
95
95
|
* @param {ServiceUploadDocument} body Upload document operation input details.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
createServiceDocumentUploadDestination: (body: ServiceUploadDocument, options?:
|
|
99
|
+
createServiceDocumentUploadDestination: (body: ServiceUploadDocument, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
100
|
/**
|
|
101
101
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
102
102
|
* @param {string} asin ASIN associated with the service.
|
|
@@ -107,7 +107,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
getAppointmentSlots: (asin: string, storeId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?:
|
|
110
|
+
getAppointmentSlots: (asin: string, storeId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
111
|
/**
|
|
112
112
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
113
113
|
* @param {string} serviceJobId A service job identifier to retrive appointment slots for associated service.
|
|
@@ -117,7 +117,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
|
-
getAppointmmentSlotsByJobId: (serviceJobId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?:
|
|
120
|
+
getAppointmmentSlotsByJobId: (serviceJobId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
121
|
/**
|
|
122
122
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
123
123
|
* @param {string} resourceId Resource Identifier.
|
|
@@ -127,7 +127,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
130
|
-
getFixedSlotCapacity: (resourceId: string, marketplaceIds: Array<string>, body: FixedSlotCapacityQuery, nextPageToken?: string, options?:
|
|
130
|
+
getFixedSlotCapacity: (resourceId: string, marketplaceIds: Array<string>, body: FixedSlotCapacityQuery, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
131
|
/**
|
|
132
132
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
133
133
|
* @param {string} resourceId Resource Identifier.
|
|
@@ -137,23 +137,23 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
getRangeSlotCapacity: (resourceId: string, marketplaceIds: Array<string>, body: RangeSlotCapacityQuery, nextPageToken?: string, options?:
|
|
140
|
+
getRangeSlotCapacity: (resourceId: string, marketplaceIds: Array<string>, body: RangeSlotCapacityQuery, nextPageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
141
141
|
/**
|
|
142
142
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
143
143
|
* @param {string} serviceJobId A service job identifier.
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
|
-
getServiceJobByServiceJobId: (serviceJobId: string, options?:
|
|
147
|
+
getServiceJobByServiceJobId: (serviceJobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
148
148
|
/**
|
|
149
149
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
150
150
|
* @param {Array<string>} marketplaceIds Used to select jobs that were placed in the specified marketplaces.
|
|
151
151
|
* @param {Array<string>} [serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20.
|
|
152
|
-
* @param {Array<
|
|
152
|
+
* @param {Array<GetServiceJobsServiceJobStatusEnum>} [serviceJobStatus] A list of one or more job status by which to filter the list of jobs.
|
|
153
153
|
* @param {string} [pageToken] String returned in the response of your previous request.
|
|
154
154
|
* @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.
|
|
155
|
-
* @param {
|
|
156
|
-
* @param {
|
|
155
|
+
* @param {GetServiceJobsSortFieldEnum} [sortField] Sort fields on which you want to sort the output.
|
|
156
|
+
* @param {GetServiceJobsSortOrderEnum} [sortOrder] Sort order for the query you want to perform.
|
|
157
157
|
* @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.
|
|
158
158
|
* @param {string} [createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format.
|
|
159
159
|
* @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.
|
|
@@ -166,7 +166,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
getServiceJobs: (marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<
|
|
169
|
+
getServiceJobs: (marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<GetServiceJobsServiceJobStatusEnum>, pageToken?: string, pageSize?: number, sortField?: GetServiceJobsSortFieldEnum, sortOrder?: GetServiceJobsSortOrderEnum, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, asins?: Array<string>, requiredSkills?: Array<string>, storeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
170
170
|
/**
|
|
171
171
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
172
172
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -175,7 +175,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
175
175
|
* @param {*} [options] Override http request option.
|
|
176
176
|
* @throws {RequiredError}
|
|
177
177
|
*/
|
|
178
|
-
rescheduleAppointmentForServiceJobByServiceJobId: (serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?:
|
|
178
|
+
rescheduleAppointmentForServiceJobByServiceJobId: (serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
179
179
|
/**
|
|
180
180
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
181
181
|
* @param {string} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
@@ -184,7 +184,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
184
184
|
* @param {*} [options] Override http request option.
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
*/
|
|
187
|
-
setAppointmentFulfillmentData: (serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?:
|
|
187
|
+
setAppointmentFulfillmentData: (serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
188
|
/**
|
|
189
189
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
190
190
|
* @param {string} reservationId Reservation Identifier
|
|
@@ -193,7 +193,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
updateReservation: (reservationId: string, marketplaceIds: Array<string>, body: UpdateReservationRequest, options?:
|
|
196
|
+
updateReservation: (reservationId: string, marketplaceIds: Array<string>, body: UpdateReservationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
197
197
|
/**
|
|
198
198
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
199
199
|
* @param {string} resourceId Resource (store) Identifier
|
|
@@ -202,7 +202,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
updateSchedule: (resourceId: string, marketplaceIds: Array<string>, body: UpdateScheduleRequest, options?:
|
|
205
|
+
updateSchedule: (resourceId: string, marketplaceIds: Array<string>, body: UpdateScheduleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
206
206
|
};
|
|
207
207
|
/**
|
|
208
208
|
* ServiceApi - functional programming interface
|
|
@@ -216,7 +216,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
218
218
|
*/
|
|
219
|
-
addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?:
|
|
219
|
+
addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetAppointmentResponse>>;
|
|
220
220
|
/**
|
|
221
221
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
222
222
|
* @param {string} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
@@ -225,7 +225,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
|
-
assignAppointmentResources(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?:
|
|
228
|
+
assignAppointmentResources(serviceJobId: string, appointmentId: string, body: AssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignAppointmentResourcesResponse>>;
|
|
229
229
|
/**
|
|
230
230
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
231
231
|
* @param {string} reservationId Reservation Identifier
|
|
@@ -233,7 +233,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
cancelReservation(reservationId: string, marketplaceIds: Array<string>, options?:
|
|
236
|
+
cancelReservation(reservationId: string, marketplaceIds: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelReservationResponse>>;
|
|
237
237
|
/**
|
|
238
238
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
239
239
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -241,14 +241,14 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
241
241
|
* @param {*} [options] Override http request option.
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
*/
|
|
244
|
-
cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?:
|
|
244
|
+
cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelServiceJobByServiceJobIdResponse>>;
|
|
245
245
|
/**
|
|
246
246
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
247
247
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
251
|
-
completeServiceJobByServiceJobId(serviceJobId: string, options?:
|
|
251
|
+
completeServiceJobByServiceJobId(serviceJobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteServiceJobByServiceJobIdResponse>>;
|
|
252
252
|
/**
|
|
253
253
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
254
254
|
* @param {Array<string>} marketplaceIds An identifier for the marketplace in which the resource operates.
|
|
@@ -256,14 +256,14 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
256
256
|
* @param {*} [options] Override http request option.
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
*/
|
|
259
|
-
createReservation(marketplaceIds: Array<string>, body: CreateReservationRequest, options?:
|
|
259
|
+
createReservation(marketplaceIds: Array<string>, body: CreateReservationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReservationResponse>>;
|
|
260
260
|
/**
|
|
261
261
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
262
262
|
* @param {ServiceUploadDocument} body Upload document operation input details.
|
|
263
263
|
* @param {*} [options] Override http request option.
|
|
264
264
|
* @throws {RequiredError}
|
|
265
265
|
*/
|
|
266
|
-
createServiceDocumentUploadDestination(body: ServiceUploadDocument, options?:
|
|
266
|
+
createServiceDocumentUploadDestination(body: ServiceUploadDocument, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateServiceDocumentUploadDestination>>;
|
|
267
267
|
/**
|
|
268
268
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
269
269
|
* @param {string} asin ASIN associated with the service.
|
|
@@ -274,7 +274,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
274
274
|
* @param {*} [options] Override http request option.
|
|
275
275
|
* @throws {RequiredError}
|
|
276
276
|
*/
|
|
277
|
-
getAppointmentSlots(asin: string, storeId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?:
|
|
277
|
+
getAppointmentSlots(asin: string, storeId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentSlotsResponse>>;
|
|
278
278
|
/**
|
|
279
279
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
280
280
|
* @param {string} serviceJobId A service job identifier to retrive appointment slots for associated service.
|
|
@@ -284,7 +284,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
285
285
|
* @throws {RequiredError}
|
|
286
286
|
*/
|
|
287
|
-
getAppointmmentSlotsByJobId(serviceJobId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?:
|
|
287
|
+
getAppointmmentSlotsByJobId(serviceJobId: string, marketplaceIds: Array<string>, startTime?: string, endTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentSlotsResponse>>;
|
|
288
288
|
/**
|
|
289
289
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
290
290
|
* @param {string} resourceId Resource Identifier.
|
|
@@ -294,7 +294,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
294
294
|
* @param {*} [options] Override http request option.
|
|
295
295
|
* @throws {RequiredError}
|
|
296
296
|
*/
|
|
297
|
-
getFixedSlotCapacity(resourceId: string, marketplaceIds: Array<string>, body: FixedSlotCapacityQuery, nextPageToken?: string, options?:
|
|
297
|
+
getFixedSlotCapacity(resourceId: string, marketplaceIds: Array<string>, body: FixedSlotCapacityQuery, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FixedSlotCapacity>>;
|
|
298
298
|
/**
|
|
299
299
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
300
300
|
* @param {string} resourceId Resource Identifier.
|
|
@@ -304,23 +304,23 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
305
305
|
* @throws {RequiredError}
|
|
306
306
|
*/
|
|
307
|
-
getRangeSlotCapacity(resourceId: string, marketplaceIds: Array<string>, body: RangeSlotCapacityQuery, nextPageToken?: string, options?:
|
|
307
|
+
getRangeSlotCapacity(resourceId: string, marketplaceIds: Array<string>, body: RangeSlotCapacityQuery, nextPageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RangeSlotCapacity>>;
|
|
308
308
|
/**
|
|
309
309
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
310
310
|
* @param {string} serviceJobId A service job identifier.
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
getServiceJobByServiceJobId(serviceJobId: string, options?:
|
|
314
|
+
getServiceJobByServiceJobId(serviceJobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetServiceJobByServiceJobIdResponse>>;
|
|
315
315
|
/**
|
|
316
316
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
317
317
|
* @param {Array<string>} marketplaceIds Used to select jobs that were placed in the specified marketplaces.
|
|
318
318
|
* @param {Array<string>} [serviceOrderIds] List of service order ids for the query you want to perform.Max values supported 20.
|
|
319
|
-
* @param {Array<
|
|
319
|
+
* @param {Array<GetServiceJobsServiceJobStatusEnum>} [serviceJobStatus] A list of one or more job status by which to filter the list of jobs.
|
|
320
320
|
* @param {string} [pageToken] String returned in the response of your previous request.
|
|
321
321
|
* @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.
|
|
322
|
-
* @param {
|
|
323
|
-
* @param {
|
|
322
|
+
* @param {GetServiceJobsSortFieldEnum} [sortField] Sort fields on which you want to sort the output.
|
|
323
|
+
* @param {GetServiceJobsSortOrderEnum} [sortOrder] Sort order for the query you want to perform.
|
|
324
324
|
* @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.
|
|
325
325
|
* @param {string} [createdBefore] A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format.
|
|
326
326
|
* @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.
|
|
@@ -333,7 +333,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
334
334
|
* @throws {RequiredError}
|
|
335
335
|
*/
|
|
336
|
-
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<
|
|
336
|
+
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<GetServiceJobsServiceJobStatusEnum>, pageToken?: string, pageSize?: number, sortField?: GetServiceJobsSortFieldEnum, sortOrder?: GetServiceJobsSortOrderEnum, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, asins?: Array<string>, requiredSkills?: Array<string>, storeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetServiceJobsResponse>>;
|
|
337
337
|
/**
|
|
338
338
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
339
339
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -342,7 +342,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
345
|
-
rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?:
|
|
345
|
+
rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetAppointmentResponse>>;
|
|
346
346
|
/**
|
|
347
347
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
348
348
|
* @param {string} serviceJobId An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
@@ -351,7 +351,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
*/
|
|
354
|
-
setAppointmentFulfillmentData(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?:
|
|
354
|
+
setAppointmentFulfillmentData(serviceJobId: string, appointmentId: string, body: SetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
355
355
|
/**
|
|
356
356
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
357
357
|
* @param {string} reservationId Reservation Identifier
|
|
@@ -360,7 +360,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
361
361
|
* @throws {RequiredError}
|
|
362
362
|
*/
|
|
363
|
-
updateReservation(reservationId: string, marketplaceIds: Array<string>, body: UpdateReservationRequest, options?:
|
|
363
|
+
updateReservation(reservationId: string, marketplaceIds: Array<string>, body: UpdateReservationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateReservationResponse>>;
|
|
364
364
|
/**
|
|
365
365
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
366
366
|
* @param {string} resourceId Resource (store) Identifier
|
|
@@ -369,7 +369,7 @@ export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
|
369
369
|
* @param {*} [options] Override http request option.
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
*/
|
|
372
|
-
updateSchedule(resourceId: string, marketplaceIds: Array<string>, body: UpdateScheduleRequest, options?:
|
|
372
|
+
updateSchedule(resourceId: string, marketplaceIds: Array<string>, body: UpdateScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateScheduleResponse>>;
|
|
373
373
|
};
|
|
374
374
|
/**
|
|
375
375
|
* ServiceApi - factory interface
|
|
@@ -382,119 +382,119 @@ export declare const ServiceApiFactory: (configuration?: Configuration, basePath
|
|
|
382
382
|
* @param {*} [options] Override http request option.
|
|
383
383
|
* @throws {RequiredError}
|
|
384
384
|
*/
|
|
385
|
-
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
385
|
+
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetAppointmentResponse>;
|
|
386
386
|
/**
|
|
387
387
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
388
388
|
* @param {ServiceApiAssignAppointmentResourcesRequest} requestParameters Request parameters.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
*/
|
|
392
|
-
assignAppointmentResources(requestParameters: ServiceApiAssignAppointmentResourcesRequest, options?:
|
|
392
|
+
assignAppointmentResources(requestParameters: ServiceApiAssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssignAppointmentResourcesResponse>;
|
|
393
393
|
/**
|
|
394
394
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
395
395
|
* @param {ServiceApiCancelReservationRequest} requestParameters Request parameters.
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
*/
|
|
399
|
-
cancelReservation(requestParameters: ServiceApiCancelReservationRequest, options?:
|
|
399
|
+
cancelReservation(requestParameters: ServiceApiCancelReservationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelReservationResponse>;
|
|
400
400
|
/**
|
|
401
401
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
402
402
|
* @param {ServiceApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
403
403
|
* @param {*} [options] Override http request option.
|
|
404
404
|
* @throws {RequiredError}
|
|
405
405
|
*/
|
|
406
|
-
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?:
|
|
406
|
+
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelServiceJobByServiceJobIdResponse>;
|
|
407
407
|
/**
|
|
408
408
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
409
409
|
* @param {ServiceApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
411
411
|
* @throws {RequiredError}
|
|
412
412
|
*/
|
|
413
|
-
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?:
|
|
413
|
+
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<CompleteServiceJobByServiceJobIdResponse>;
|
|
414
414
|
/**
|
|
415
415
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
416
416
|
* @param {ServiceApiCreateReservationRequest} requestParameters Request parameters.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
*/
|
|
420
|
-
createReservation(requestParameters: ServiceApiCreateReservationRequest, options?:
|
|
420
|
+
createReservation(requestParameters: ServiceApiCreateReservationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateReservationResponse>;
|
|
421
421
|
/**
|
|
422
422
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
423
423
|
* @param {ServiceApiCreateServiceDocumentUploadDestinationRequest} requestParameters Request parameters.
|
|
424
424
|
* @param {*} [options] Override http request option.
|
|
425
425
|
* @throws {RequiredError}
|
|
426
426
|
*/
|
|
427
|
-
createServiceDocumentUploadDestination(requestParameters: ServiceApiCreateServiceDocumentUploadDestinationRequest, options?:
|
|
427
|
+
createServiceDocumentUploadDestination(requestParameters: ServiceApiCreateServiceDocumentUploadDestinationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateServiceDocumentUploadDestination>;
|
|
428
428
|
/**
|
|
429
429
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
430
430
|
* @param {ServiceApiGetAppointmentSlotsRequest} requestParameters Request parameters.
|
|
431
431
|
* @param {*} [options] Override http request option.
|
|
432
432
|
* @throws {RequiredError}
|
|
433
433
|
*/
|
|
434
|
-
getAppointmentSlots(requestParameters: ServiceApiGetAppointmentSlotsRequest, options?:
|
|
434
|
+
getAppointmentSlots(requestParameters: ServiceApiGetAppointmentSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAppointmentSlotsResponse>;
|
|
435
435
|
/**
|
|
436
436
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
437
437
|
* @param {ServiceApiGetAppointmmentSlotsByJobIdRequest} requestParameters Request parameters.
|
|
438
438
|
* @param {*} [options] Override http request option.
|
|
439
439
|
* @throws {RequiredError}
|
|
440
440
|
*/
|
|
441
|
-
getAppointmmentSlotsByJobId(requestParameters: ServiceApiGetAppointmmentSlotsByJobIdRequest, options?:
|
|
441
|
+
getAppointmmentSlotsByJobId(requestParameters: ServiceApiGetAppointmmentSlotsByJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAppointmentSlotsResponse>;
|
|
442
442
|
/**
|
|
443
443
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
444
444
|
* @param {ServiceApiGetFixedSlotCapacityRequest} requestParameters Request parameters.
|
|
445
445
|
* @param {*} [options] Override http request option.
|
|
446
446
|
* @throws {RequiredError}
|
|
447
447
|
*/
|
|
448
|
-
getFixedSlotCapacity(requestParameters: ServiceApiGetFixedSlotCapacityRequest, options?:
|
|
448
|
+
getFixedSlotCapacity(requestParameters: ServiceApiGetFixedSlotCapacityRequest, options?: RawAxiosRequestConfig): AxiosPromise<FixedSlotCapacity>;
|
|
449
449
|
/**
|
|
450
450
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
451
451
|
* @param {ServiceApiGetRangeSlotCapacityRequest} requestParameters Request parameters.
|
|
452
452
|
* @param {*} [options] Override http request option.
|
|
453
453
|
* @throws {RequiredError}
|
|
454
454
|
*/
|
|
455
|
-
getRangeSlotCapacity(requestParameters: ServiceApiGetRangeSlotCapacityRequest, options?:
|
|
455
|
+
getRangeSlotCapacity(requestParameters: ServiceApiGetRangeSlotCapacityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RangeSlotCapacity>;
|
|
456
456
|
/**
|
|
457
457
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
458
458
|
* @param {ServiceApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
*/
|
|
462
|
-
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?:
|
|
462
|
+
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetServiceJobByServiceJobIdResponse>;
|
|
463
463
|
/**
|
|
464
464
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
465
465
|
* @param {ServiceApiGetServiceJobsRequest} requestParameters Request parameters.
|
|
466
466
|
* @param {*} [options] Override http request option.
|
|
467
467
|
* @throws {RequiredError}
|
|
468
468
|
*/
|
|
469
|
-
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?:
|
|
469
|
+
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetServiceJobsResponse>;
|
|
470
470
|
/**
|
|
471
471
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
472
472
|
* @param {ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
473
473
|
* @param {*} [options] Override http request option.
|
|
474
474
|
* @throws {RequiredError}
|
|
475
475
|
*/
|
|
476
|
-
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
476
|
+
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetAppointmentResponse>;
|
|
477
477
|
/**
|
|
478
478
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
479
479
|
* @param {ServiceApiSetAppointmentFulfillmentDataRequest} requestParameters Request parameters.
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
setAppointmentFulfillmentData(requestParameters: ServiceApiSetAppointmentFulfillmentDataRequest, options?:
|
|
483
|
+
setAppointmentFulfillmentData(requestParameters: ServiceApiSetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
484
484
|
/**
|
|
485
485
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
486
486
|
* @param {ServiceApiUpdateReservationRequest} requestParameters Request parameters.
|
|
487
487
|
* @param {*} [options] Override http request option.
|
|
488
488
|
* @throws {RequiredError}
|
|
489
489
|
*/
|
|
490
|
-
updateReservation(requestParameters: ServiceApiUpdateReservationRequest, options?:
|
|
490
|
+
updateReservation(requestParameters: ServiceApiUpdateReservationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateReservationResponse>;
|
|
491
491
|
/**
|
|
492
492
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
493
493
|
* @param {ServiceApiUpdateScheduleRequest} requestParameters Request parameters.
|
|
494
494
|
* @param {*} [options] Override http request option.
|
|
495
495
|
* @throws {RequiredError}
|
|
496
496
|
*/
|
|
497
|
-
updateSchedule(requestParameters: ServiceApiUpdateScheduleRequest, options?:
|
|
497
|
+
updateSchedule(requestParameters: ServiceApiUpdateScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateScheduleResponse>;
|
|
498
498
|
};
|
|
499
499
|
/**
|
|
500
500
|
* Request parameters for addAppointmentForServiceJobByServiceJobId operation in ServiceApi.
|
|
@@ -789,7 +789,7 @@ export interface ServiceApiGetServiceJobsRequest {
|
|
|
789
789
|
* @type {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>}
|
|
790
790
|
* @memberof ServiceApiGetServiceJobs
|
|
791
791
|
*/
|
|
792
|
-
readonly serviceJobStatus?: Array<
|
|
792
|
+
readonly serviceJobStatus?: Array<GetServiceJobsServiceJobStatusEnum>;
|
|
793
793
|
/**
|
|
794
794
|
* String returned in the response of your previous request.
|
|
795
795
|
* @type {string}
|
|
@@ -807,13 +807,13 @@ export interface ServiceApiGetServiceJobsRequest {
|
|
|
807
807
|
* @type {'JOB_DATE' | 'JOB_STATUS'}
|
|
808
808
|
* @memberof ServiceApiGetServiceJobs
|
|
809
809
|
*/
|
|
810
|
-
readonly sortField?:
|
|
810
|
+
readonly sortField?: GetServiceJobsSortFieldEnum;
|
|
811
811
|
/**
|
|
812
812
|
* Sort order for the query you want to perform.
|
|
813
813
|
* @type {'ASC' | 'DESC'}
|
|
814
814
|
* @memberof ServiceApiGetServiceJobs
|
|
815
815
|
*/
|
|
816
|
-
readonly sortOrder?:
|
|
816
|
+
readonly sortOrder?: GetServiceJobsSortOrderEnum;
|
|
817
817
|
/**
|
|
818
818
|
* 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.
|
|
819
819
|
* @type {string}
|
|
@@ -983,7 +983,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
983
983
|
* @throws {RequiredError}
|
|
984
984
|
* @memberof ServiceApi
|
|
985
985
|
*/
|
|
986
|
-
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
986
|
+
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
|
|
987
987
|
/**
|
|
988
988
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
989
989
|
* @param {ServiceApiAssignAppointmentResourcesRequest} requestParameters Request parameters.
|
|
@@ -991,7 +991,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
991
991
|
* @throws {RequiredError}
|
|
992
992
|
* @memberof ServiceApi
|
|
993
993
|
*/
|
|
994
|
-
assignAppointmentResources(requestParameters: ServiceApiAssignAppointmentResourcesRequest, options?:
|
|
994
|
+
assignAppointmentResources(requestParameters: ServiceApiAssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AssignAppointmentResourcesResponse, any>>;
|
|
995
995
|
/**
|
|
996
996
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
997
997
|
* @param {ServiceApiCancelReservationRequest} requestParameters Request parameters.
|
|
@@ -999,7 +999,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
999
999
|
* @throws {RequiredError}
|
|
1000
1000
|
* @memberof ServiceApi
|
|
1001
1001
|
*/
|
|
1002
|
-
cancelReservation(requestParameters: ServiceApiCancelReservationRequest, options?:
|
|
1002
|
+
cancelReservation(requestParameters: ServiceApiCancelReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelReservationResponse, any>>;
|
|
1003
1003
|
/**
|
|
1004
1004
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1005
1005
|
* @param {ServiceApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -1007,7 +1007,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1007
1007
|
* @throws {RequiredError}
|
|
1008
1008
|
* @memberof ServiceApi
|
|
1009
1009
|
*/
|
|
1010
|
-
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?:
|
|
1010
|
+
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelServiceJobByServiceJobIdResponse, any>>;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1013
1013
|
* @param {ServiceApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -1015,7 +1015,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1015
1015
|
* @throws {RequiredError}
|
|
1016
1016
|
* @memberof ServiceApi
|
|
1017
1017
|
*/
|
|
1018
|
-
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?:
|
|
1018
|
+
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompleteServiceJobByServiceJobIdResponse, any>>;
|
|
1019
1019
|
/**
|
|
1020
1020
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1021
1021
|
* @param {ServiceApiCreateReservationRequest} requestParameters Request parameters.
|
|
@@ -1023,7 +1023,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1023
1023
|
* @throws {RequiredError}
|
|
1024
1024
|
* @memberof ServiceApi
|
|
1025
1025
|
*/
|
|
1026
|
-
createReservation(requestParameters: ServiceApiCreateReservationRequest, options?:
|
|
1026
|
+
createReservation(requestParameters: ServiceApiCreateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateReservationResponse, any>>;
|
|
1027
1027
|
/**
|
|
1028
1028
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1029
1029
|
* @param {ServiceApiCreateServiceDocumentUploadDestinationRequest} requestParameters Request parameters.
|
|
@@ -1031,7 +1031,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1031
1031
|
* @throws {RequiredError}
|
|
1032
1032
|
* @memberof ServiceApi
|
|
1033
1033
|
*/
|
|
1034
|
-
createServiceDocumentUploadDestination(requestParameters: ServiceApiCreateServiceDocumentUploadDestinationRequest, options?:
|
|
1034
|
+
createServiceDocumentUploadDestination(requestParameters: ServiceApiCreateServiceDocumentUploadDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateServiceDocumentUploadDestination, any>>;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1037
1037
|
* @param {ServiceApiGetAppointmentSlotsRequest} requestParameters Request parameters.
|
|
@@ -1039,7 +1039,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1039
1039
|
* @throws {RequiredError}
|
|
1040
1040
|
* @memberof ServiceApi
|
|
1041
1041
|
*/
|
|
1042
|
-
getAppointmentSlots(requestParameters: ServiceApiGetAppointmentSlotsRequest, options?:
|
|
1042
|
+
getAppointmentSlots(requestParameters: ServiceApiGetAppointmentSlotsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1045
1045
|
* @param {ServiceApiGetAppointmmentSlotsByJobIdRequest} requestParameters Request parameters.
|
|
@@ -1047,7 +1047,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1047
1047
|
* @throws {RequiredError}
|
|
1048
1048
|
* @memberof ServiceApi
|
|
1049
1049
|
*/
|
|
1050
|
-
getAppointmmentSlotsByJobId(requestParameters: ServiceApiGetAppointmmentSlotsByJobIdRequest, options?:
|
|
1050
|
+
getAppointmmentSlotsByJobId(requestParameters: ServiceApiGetAppointmmentSlotsByJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
|
|
1051
1051
|
/**
|
|
1052
1052
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1053
1053
|
* @param {ServiceApiGetFixedSlotCapacityRequest} requestParameters Request parameters.
|
|
@@ -1055,7 +1055,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1055
1055
|
* @throws {RequiredError}
|
|
1056
1056
|
* @memberof ServiceApi
|
|
1057
1057
|
*/
|
|
1058
|
-
getFixedSlotCapacity(requestParameters: ServiceApiGetFixedSlotCapacityRequest, options?:
|
|
1058
|
+
getFixedSlotCapacity(requestParameters: ServiceApiGetFixedSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FixedSlotCapacity, any>>;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1061
1061
|
* @param {ServiceApiGetRangeSlotCapacityRequest} requestParameters Request parameters.
|
|
@@ -1063,7 +1063,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1063
1063
|
* @throws {RequiredError}
|
|
1064
1064
|
* @memberof ServiceApi
|
|
1065
1065
|
*/
|
|
1066
|
-
getRangeSlotCapacity(requestParameters: ServiceApiGetRangeSlotCapacityRequest, options?:
|
|
1066
|
+
getRangeSlotCapacity(requestParameters: ServiceApiGetRangeSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RangeSlotCapacity, any>>;
|
|
1067
1067
|
/**
|
|
1068
1068
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1069
1069
|
* @param {ServiceApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -1071,7 +1071,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1071
1071
|
* @throws {RequiredError}
|
|
1072
1072
|
* @memberof ServiceApi
|
|
1073
1073
|
*/
|
|
1074
|
-
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?:
|
|
1074
|
+
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobByServiceJobIdResponse, any>>;
|
|
1075
1075
|
/**
|
|
1076
1076
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1077
1077
|
* @param {ServiceApiGetServiceJobsRequest} requestParameters Request parameters.
|
|
@@ -1079,7 +1079,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1079
1079
|
* @throws {RequiredError}
|
|
1080
1080
|
* @memberof ServiceApi
|
|
1081
1081
|
*/
|
|
1082
|
-
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?:
|
|
1082
|
+
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobsResponse, any>>;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1085
1085
|
* @param {ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -1087,7 +1087,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1087
1087
|
* @throws {RequiredError}
|
|
1088
1088
|
* @memberof ServiceApi
|
|
1089
1089
|
*/
|
|
1090
|
-
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
1090
|
+
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1093
1093
|
* @param {ServiceApiSetAppointmentFulfillmentDataRequest} requestParameters Request parameters.
|
|
@@ -1095,7 +1095,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1095
1095
|
* @throws {RequiredError}
|
|
1096
1096
|
* @memberof ServiceApi
|
|
1097
1097
|
*/
|
|
1098
|
-
setAppointmentFulfillmentData(requestParameters: ServiceApiSetAppointmentFulfillmentDataRequest, options?:
|
|
1098
|
+
setAppointmentFulfillmentData(requestParameters: ServiceApiSetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any>>;
|
|
1099
1099
|
/**
|
|
1100
1100
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1101
1101
|
* @param {ServiceApiUpdateReservationRequest} requestParameters Request parameters.
|
|
@@ -1103,7 +1103,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1103
1103
|
* @throws {RequiredError}
|
|
1104
1104
|
* @memberof ServiceApi
|
|
1105
1105
|
*/
|
|
1106
|
-
updateReservation(requestParameters: ServiceApiUpdateReservationRequest, options?:
|
|
1106
|
+
updateReservation(requestParameters: ServiceApiUpdateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateReservationResponse, any>>;
|
|
1107
1107
|
/**
|
|
1108
1108
|
* 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1109
1109
|
* @param {ServiceApiUpdateScheduleRequest} requestParameters Request parameters.
|
|
@@ -1111,5 +1111,34 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
1111
1111
|
* @throws {RequiredError}
|
|
1112
1112
|
* @memberof ServiceApi
|
|
1113
1113
|
*/
|
|
1114
|
-
updateSchedule(requestParameters: ServiceApiUpdateScheduleRequest, options?:
|
|
1114
|
+
updateSchedule(requestParameters: ServiceApiUpdateScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateScheduleResponse, any>>;
|
|
1115
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* @export
|
|
1118
|
+
*/
|
|
1119
|
+
export declare const GetServiceJobsServiceJobStatusEnum: {
|
|
1120
|
+
readonly NotServiced: "NOT_SERVICED";
|
|
1121
|
+
readonly Cancelled: "CANCELLED";
|
|
1122
|
+
readonly Completed: "COMPLETED";
|
|
1123
|
+
readonly PendingSchedule: "PENDING_SCHEDULE";
|
|
1124
|
+
readonly NotFulfillable: "NOT_FULFILLABLE";
|
|
1125
|
+
readonly Hold: "HOLD";
|
|
1126
|
+
readonly PaymentDeclined: "PAYMENT_DECLINED";
|
|
1127
|
+
};
|
|
1128
|
+
export type GetServiceJobsServiceJobStatusEnum = typeof GetServiceJobsServiceJobStatusEnum[keyof typeof GetServiceJobsServiceJobStatusEnum];
|
|
1129
|
+
/**
|
|
1130
|
+
* @export
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const GetServiceJobsSortFieldEnum: {
|
|
1133
|
+
readonly Date: "JOB_DATE";
|
|
1134
|
+
readonly Status: "JOB_STATUS";
|
|
1135
|
+
};
|
|
1136
|
+
export type GetServiceJobsSortFieldEnum = typeof GetServiceJobsSortFieldEnum[keyof typeof GetServiceJobsSortFieldEnum];
|
|
1137
|
+
/**
|
|
1138
|
+
* @export
|
|
1139
|
+
*/
|
|
1140
|
+
export declare const GetServiceJobsSortOrderEnum: {
|
|
1141
|
+
readonly Asc: "ASC";
|
|
1142
|
+
readonly Desc: "DESC";
|
|
1143
|
+
};
|
|
1144
|
+
export type GetServiceJobsSortOrderEnum = typeof GetServiceJobsSortOrderEnum[keyof typeof GetServiceJobsSortOrderEnum];
|