@sp-api-sdk/services-api-v1 1.8.4 → 1.8.7
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 +6 -6
- package/dist/cjs/src/api-model/models/appointment.js +5 -10
- package/dist/cjs/src/api-model/models/associated-item.js +6 -11
- package/dist/cjs/src/api-model/models/model-error.js +4 -9
- package/dist/cjs/src/api-model/models/poa.js +6 -11
- package/dist/cjs/src/api-model/models/service-job.js +9 -14
- package/dist/cjs/src/api-model/models/service-location.js +5 -10
- package/dist/es/src/api-model/api/service-api.js +6 -6
- package/dist/es/src/api-model/models/appointment.js +5 -10
- package/dist/es/src/api-model/models/associated-item.js +6 -11
- package/dist/es/src/api-model/models/model-error.js +4 -9
- package/dist/es/src/api-model/models/poa.js +6 -11
- package/dist/es/src/api-model/models/service-job.js +9 -14
- package/dist/es/src/api-model/models/service-location.js +5 -10
- package/dist/types/src/api-model/api/service-api.d.ts +23 -23
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/add-appointment-request.d.ts +1 -1
- package/dist/types/src/api-model/models/address.d.ts +11 -11
- package/dist/types/src/api-model/models/appointment-time-input.d.ts +2 -2
- package/dist/types/src/api-model/models/appointment-time.d.ts +2 -2
- package/dist/types/src/api-model/models/appointment.d.ts +12 -15
- package/dist/types/src/api-model/models/associated-item.d.ts +14 -17
- package/dist/types/src/api-model/models/buyer.d.ts +4 -4
- package/dist/types/src/api-model/models/cancel-service-job-by-service-job-id-response.d.ts +1 -1
- package/dist/types/src/api-model/models/complete-service-job-by-service-job-id-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-service-job-by-service-job-id-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-service-jobs-response.d.ts +2 -2
- package/dist/types/src/api-model/models/item-delivery-promise.d.ts +2 -2
- package/dist/types/src/api-model/models/item-delivery.d.ts +2 -2
- package/dist/types/src/api-model/models/job-listing.d.ts +4 -4
- package/dist/types/src/api-model/models/model-error.d.ts +9 -12
- package/dist/types/src/api-model/models/poa.d.ts +12 -15
- package/dist/types/src/api-model/models/reschedule-appointment-request.d.ts +2 -2
- package/dist/types/src/api-model/models/scope-of-work.d.ts +4 -4
- package/dist/types/src/api-model/models/seller.d.ts +1 -1
- package/dist/types/src/api-model/models/service-job-provider.d.ts +1 -1
- package/dist/types/src/api-model/models/service-job.d.ts +23 -26
- package/dist/types/src/api-model/models/service-location.d.ts +8 -11
- package/dist/types/src/api-model/models/set-appointment-response.d.ts +3 -3
- package/dist/types/src/api-model/models/technician.d.ts +2 -2
- package/dist/types/src/api-model/models/warning.d.ts +3 -3
- package/package.json +4 -4
|
@@ -51,7 +51,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
51
51
|
const localVarHeaderParameter = {};
|
|
52
52
|
const localVarQueryParameter = {};
|
|
53
53
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
54
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55
55
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56
56
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
57
57
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -86,7 +86,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
86
86
|
if (cancellationReasonCode !== undefined) {
|
|
87
87
|
localVarQueryParameter['cancellationReasonCode'] = cancellationReasonCode;
|
|
88
88
|
}
|
|
89
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
89
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
90
90
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
91
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
92
92
|
return {
|
|
@@ -114,7 +114,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
114
114
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
115
115
|
const localVarHeaderParameter = {};
|
|
116
116
|
const localVarQueryParameter = {};
|
|
117
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
117
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
118
118
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
119
119
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
120
120
|
return {
|
|
@@ -142,7 +142,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
143
143
|
const localVarHeaderParameter = {};
|
|
144
144
|
const localVarQueryParameter = {};
|
|
145
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
145
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
146
146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147
147
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
148
148
|
return {
|
|
@@ -220,7 +220,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
220
220
|
if (marketplaceIds) {
|
|
221
221
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(base_1.COLLECTION_FORMATS.csv);
|
|
222
222
|
}
|
|
223
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
223
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
224
224
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
225
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
226
226
|
return {
|
|
@@ -256,7 +256,7 @@ const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
256
256
|
const localVarHeaderParameter = {};
|
|
257
257
|
const localVarQueryParameter = {};
|
|
258
258
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
259
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
259
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
260
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
261
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
262
262
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -14,13 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AppointmentAppointmentStatusEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(function (AppointmentAppointmentStatusEnum) {
|
|
23
|
-
AppointmentAppointmentStatusEnum["Active"] = "ACTIVE";
|
|
24
|
-
AppointmentAppointmentStatusEnum["Cancelled"] = "CANCELLED";
|
|
25
|
-
AppointmentAppointmentStatusEnum["Completed"] = "COMPLETED";
|
|
26
|
-
})(AppointmentAppointmentStatusEnum = exports.AppointmentAppointmentStatusEnum || (exports.AppointmentAppointmentStatusEnum = {}));
|
|
17
|
+
exports.AppointmentAppointmentStatusEnum = {
|
|
18
|
+
Active: 'ACTIVE',
|
|
19
|
+
Cancelled: 'CANCELLED',
|
|
20
|
+
Completed: 'COMPLETED'
|
|
21
|
+
};
|
|
@@ -14,14 +14,9 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AssociatedItemItemStatusEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
AssociatedItemItemStatusEnum["Active"] = "ACTIVE";
|
|
24
|
-
AssociatedItemItemStatusEnum["Cancelled"] = "CANCELLED";
|
|
25
|
-
AssociatedItemItemStatusEnum["Shipped"] = "SHIPPED";
|
|
26
|
-
AssociatedItemItemStatusEnum["Delivered"] = "DELIVERED";
|
|
27
|
-
})(AssociatedItemItemStatusEnum = exports.AssociatedItemItemStatusEnum || (exports.AssociatedItemItemStatusEnum = {}));
|
|
17
|
+
exports.AssociatedItemItemStatusEnum = {
|
|
18
|
+
Active: 'ACTIVE',
|
|
19
|
+
Cancelled: 'CANCELLED',
|
|
20
|
+
Shipped: 'SHIPPED',
|
|
21
|
+
Delivered: 'DELIVERED'
|
|
22
|
+
};
|
|
@@ -14,12 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ModelErrorErrorLevelEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var ModelErrorErrorLevelEnum;
|
|
22
|
-
(function (ModelErrorErrorLevelEnum) {
|
|
23
|
-
ModelErrorErrorLevelEnum["Error"] = "ERROR";
|
|
24
|
-
ModelErrorErrorLevelEnum["Warning"] = "WARNING";
|
|
25
|
-
})(ModelErrorErrorLevelEnum = exports.ModelErrorErrorLevelEnum || (exports.ModelErrorErrorLevelEnum = {}));
|
|
17
|
+
exports.ModelErrorErrorLevelEnum = {
|
|
18
|
+
Error: 'ERROR',
|
|
19
|
+
Warning: 'WARNING'
|
|
20
|
+
};
|
|
@@ -14,14 +14,9 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PoaPoaTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
PoaPoaTypeEnum["NoSignatureDummyPos"] = "NO_SIGNATURE_DUMMY_POS";
|
|
24
|
-
PoaPoaTypeEnum["CustomerSignature"] = "CUSTOMER_SIGNATURE";
|
|
25
|
-
PoaPoaTypeEnum["DummyReceipt"] = "DUMMY_RECEIPT";
|
|
26
|
-
PoaPoaTypeEnum["PoaReceipt"] = "POA_RECEIPT";
|
|
27
|
-
})(PoaPoaTypeEnum = exports.PoaPoaTypeEnum || (exports.PoaPoaTypeEnum = {}));
|
|
17
|
+
exports.PoaPoaTypeEnum = {
|
|
18
|
+
NoSignatureDummyPos: 'NO_SIGNATURE_DUMMY_POS',
|
|
19
|
+
CustomerSignature: 'CUSTOMER_SIGNATURE',
|
|
20
|
+
DummyReceipt: 'DUMMY_RECEIPT',
|
|
21
|
+
PoaReceipt: 'POA_RECEIPT'
|
|
22
|
+
};
|
|
@@ -14,17 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ServiceJobServiceJobStatusEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
ServiceJobServiceJobStatusEnum["PendingSchedule"] = "PENDING_SCHEDULE";
|
|
27
|
-
ServiceJobServiceJobStatusEnum["NotFulfillable"] = "NOT_FULFILLABLE";
|
|
28
|
-
ServiceJobServiceJobStatusEnum["Hold"] = "HOLD";
|
|
29
|
-
ServiceJobServiceJobStatusEnum["PaymentDeclined"] = "PAYMENT_DECLINED";
|
|
30
|
-
})(ServiceJobServiceJobStatusEnum = exports.ServiceJobServiceJobStatusEnum || (exports.ServiceJobServiceJobStatusEnum = {}));
|
|
17
|
+
exports.ServiceJobServiceJobStatusEnum = {
|
|
18
|
+
NotServiced: 'NOT_SERVICED',
|
|
19
|
+
Cancelled: 'CANCELLED',
|
|
20
|
+
Completed: 'COMPLETED',
|
|
21
|
+
PendingSchedule: 'PENDING_SCHEDULE',
|
|
22
|
+
NotFulfillable: 'NOT_FULFILLABLE',
|
|
23
|
+
Hold: 'HOLD',
|
|
24
|
+
PaymentDeclined: 'PAYMENT_DECLINED'
|
|
25
|
+
};
|
|
@@ -14,13 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ServiceLocationServiceLocationTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(function (ServiceLocationServiceLocationTypeEnum) {
|
|
23
|
-
ServiceLocationServiceLocationTypeEnum["InHome"] = "IN_HOME";
|
|
24
|
-
ServiceLocationServiceLocationTypeEnum["InStore"] = "IN_STORE";
|
|
25
|
-
ServiceLocationServiceLocationTypeEnum["Online"] = "ONLINE";
|
|
26
|
-
})(ServiceLocationServiceLocationTypeEnum = exports.ServiceLocationServiceLocationTypeEnum || (exports.ServiceLocationServiceLocationTypeEnum = {}));
|
|
17
|
+
exports.ServiceLocationServiceLocationTypeEnum = {
|
|
18
|
+
InHome: 'IN_HOME',
|
|
19
|
+
InStore: 'IN_STORE',
|
|
20
|
+
Online: 'ONLINE'
|
|
21
|
+
};
|
|
@@ -47,7 +47,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarHeaderParameter = {};
|
|
48
48
|
const localVarQueryParameter = {};
|
|
49
49
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
50
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
50
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
53
53
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -82,7 +82,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
82
82
|
if (cancellationReasonCode !== undefined) {
|
|
83
83
|
localVarQueryParameter['cancellationReasonCode'] = cancellationReasonCode;
|
|
84
84
|
}
|
|
85
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
85
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
86
86
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87
87
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
88
88
|
return {
|
|
@@ -110,7 +110,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
110
110
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
111
111
|
const localVarHeaderParameter = {};
|
|
112
112
|
const localVarQueryParameter = {};
|
|
113
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
113
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
114
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
115
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
116
116
|
return {
|
|
@@ -138,7 +138,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
138
138
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
139
139
|
const localVarHeaderParameter = {};
|
|
140
140
|
const localVarQueryParameter = {};
|
|
141
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
142
142
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
143
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
144
144
|
return {
|
|
@@ -216,7 +216,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
216
216
|
if (marketplaceIds) {
|
|
217
217
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);
|
|
218
218
|
}
|
|
219
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
220
220
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
221
221
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
222
222
|
return {
|
|
@@ -252,7 +252,7 @@ export const ServiceApiAxiosParamCreator = function (configuration) {
|
|
|
252
252
|
const localVarHeaderParameter = {};
|
|
253
253
|
const localVarQueryParameter = {};
|
|
254
254
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
255
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
257
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
258
258
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -11,13 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(function (AppointmentAppointmentStatusEnum) {
|
|
20
|
-
AppointmentAppointmentStatusEnum["Active"] = "ACTIVE";
|
|
21
|
-
AppointmentAppointmentStatusEnum["Cancelled"] = "CANCELLED";
|
|
22
|
-
AppointmentAppointmentStatusEnum["Completed"] = "COMPLETED";
|
|
23
|
-
})(AppointmentAppointmentStatusEnum || (AppointmentAppointmentStatusEnum = {}));
|
|
14
|
+
export const AppointmentAppointmentStatusEnum = {
|
|
15
|
+
Active: 'ACTIVE',
|
|
16
|
+
Cancelled: 'CANCELLED',
|
|
17
|
+
Completed: 'COMPLETED'
|
|
18
|
+
};
|
|
@@ -11,14 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
AssociatedItemItemStatusEnum["Active"] = "ACTIVE";
|
|
21
|
-
AssociatedItemItemStatusEnum["Cancelled"] = "CANCELLED";
|
|
22
|
-
AssociatedItemItemStatusEnum["Shipped"] = "SHIPPED";
|
|
23
|
-
AssociatedItemItemStatusEnum["Delivered"] = "DELIVERED";
|
|
24
|
-
})(AssociatedItemItemStatusEnum || (AssociatedItemItemStatusEnum = {}));
|
|
14
|
+
export const AssociatedItemItemStatusEnum = {
|
|
15
|
+
Active: 'ACTIVE',
|
|
16
|
+
Cancelled: 'CANCELLED',
|
|
17
|
+
Shipped: 'SHIPPED',
|
|
18
|
+
Delivered: 'DELIVERED'
|
|
19
|
+
};
|
|
@@ -11,12 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export var ModelErrorErrorLevelEnum;
|
|
19
|
-
(function (ModelErrorErrorLevelEnum) {
|
|
20
|
-
ModelErrorErrorLevelEnum["Error"] = "ERROR";
|
|
21
|
-
ModelErrorErrorLevelEnum["Warning"] = "WARNING";
|
|
22
|
-
})(ModelErrorErrorLevelEnum || (ModelErrorErrorLevelEnum = {}));
|
|
14
|
+
export const ModelErrorErrorLevelEnum = {
|
|
15
|
+
Error: 'ERROR',
|
|
16
|
+
Warning: 'WARNING'
|
|
17
|
+
};
|
|
@@ -11,14 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
PoaPoaTypeEnum["NoSignatureDummyPos"] = "NO_SIGNATURE_DUMMY_POS";
|
|
21
|
-
PoaPoaTypeEnum["CustomerSignature"] = "CUSTOMER_SIGNATURE";
|
|
22
|
-
PoaPoaTypeEnum["DummyReceipt"] = "DUMMY_RECEIPT";
|
|
23
|
-
PoaPoaTypeEnum["PoaReceipt"] = "POA_RECEIPT";
|
|
24
|
-
})(PoaPoaTypeEnum || (PoaPoaTypeEnum = {}));
|
|
14
|
+
export const PoaPoaTypeEnum = {
|
|
15
|
+
NoSignatureDummyPos: 'NO_SIGNATURE_DUMMY_POS',
|
|
16
|
+
CustomerSignature: 'CUSTOMER_SIGNATURE',
|
|
17
|
+
DummyReceipt: 'DUMMY_RECEIPT',
|
|
18
|
+
PoaReceipt: 'POA_RECEIPT'
|
|
19
|
+
};
|
|
@@ -11,17 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
ServiceJobServiceJobStatusEnum["PendingSchedule"] = "PENDING_SCHEDULE";
|
|
24
|
-
ServiceJobServiceJobStatusEnum["NotFulfillable"] = "NOT_FULFILLABLE";
|
|
25
|
-
ServiceJobServiceJobStatusEnum["Hold"] = "HOLD";
|
|
26
|
-
ServiceJobServiceJobStatusEnum["PaymentDeclined"] = "PAYMENT_DECLINED";
|
|
27
|
-
})(ServiceJobServiceJobStatusEnum || (ServiceJobServiceJobStatusEnum = {}));
|
|
14
|
+
export const ServiceJobServiceJobStatusEnum = {
|
|
15
|
+
NotServiced: 'NOT_SERVICED',
|
|
16
|
+
Cancelled: 'CANCELLED',
|
|
17
|
+
Completed: 'COMPLETED',
|
|
18
|
+
PendingSchedule: 'PENDING_SCHEDULE',
|
|
19
|
+
NotFulfillable: 'NOT_FULFILLABLE',
|
|
20
|
+
Hold: 'HOLD',
|
|
21
|
+
PaymentDeclined: 'PAYMENT_DECLINED'
|
|
22
|
+
};
|
|
@@ -11,13 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(function (ServiceLocationServiceLocationTypeEnum) {
|
|
20
|
-
ServiceLocationServiceLocationTypeEnum["InHome"] = "IN_HOME";
|
|
21
|
-
ServiceLocationServiceLocationTypeEnum["InStore"] = "IN_STORE";
|
|
22
|
-
ServiceLocationServiceLocationTypeEnum["Online"] = "ONLINE";
|
|
23
|
-
})(ServiceLocationServiceLocationTypeEnum || (ServiceLocationServiceLocationTypeEnum = {}));
|
|
14
|
+
export const ServiceLocationServiceLocationTypeEnum = {
|
|
15
|
+
InHome: 'IN_HOME',
|
|
16
|
+
InStore: 'IN_STORE',
|
|
17
|
+
Online: 'ONLINE'
|
|
18
|
+
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { AddAppointmentRequest } from '../models';
|
|
@@ -23,7 +23,7 @@ import { SetAppointmentResponse } from '../models';
|
|
|
23
23
|
* ServiceApi - axios parameter creator
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
|
-
export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
26
|
+
export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
28
|
* Adds an appointment to the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
29
29
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -31,7 +31,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
addAppointmentForServiceJobByServiceJobId: (serviceJobId: string, body: AddAppointmentRequest, options?:
|
|
34
|
+
addAppointmentForServiceJobByServiceJobId: (serviceJobId: string, body: AddAppointmentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
* Cancels the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
37
37
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -39,21 +39,21 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
cancelServiceJobByServiceJobId: (serviceJobId: string, cancellationReasonCode: string, options?:
|
|
42
|
+
cancelServiceJobByServiceJobId: (serviceJobId: string, cancellationReasonCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
44
|
* Completes the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
45
45
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
completeServiceJobByServiceJobId: (serviceJobId: string, options?:
|
|
49
|
+
completeServiceJobByServiceJobId: (serviceJobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
/**
|
|
51
51
|
* Gets service job details for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
52
52
|
* @param {string} serviceJobId A service job identifier.
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
54
54
|
* @throws {RequiredError}
|
|
55
55
|
*/
|
|
56
|
-
getServiceJobByServiceJobId: (serviceJobId: string, options?:
|
|
56
|
+
getServiceJobByServiceJobId: (serviceJobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
57
|
/**
|
|
58
58
|
* Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
59
59
|
* @param {Array<string>} marketplaceIds Used to select jobs that were placed in the specified marketplaces.
|
|
@@ -72,7 +72,7 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
74
74
|
*/
|
|
75
|
-
getServiceJobs: (marketplaceIds: Array<string>, serviceOrderIds?: string
|
|
75
|
+
getServiceJobs: (marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>, pageToken?: string, pageSize?: number, sortField?: 'JOB_DATE' | 'JOB_STATUS', sortOrder?: 'ASC' | 'DESC', createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
76
|
/**
|
|
77
77
|
* Reschedules an appointment for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
78
78
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -81,13 +81,13 @@ export declare const ServiceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
rescheduleAppointmentForServiceJobByServiceJobId: (serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?:
|
|
84
|
+
rescheduleAppointmentForServiceJobByServiceJobId: (serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
87
|
* ServiceApi - functional programming interface
|
|
88
88
|
* @export
|
|
89
89
|
*/
|
|
90
|
-
export declare const ServiceApiFp: (configuration?: Configuration
|
|
90
|
+
export declare const ServiceApiFp: (configuration?: Configuration) => {
|
|
91
91
|
/**
|
|
92
92
|
* Adds an appointment to the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
93
93
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -95,7 +95,7 @@ export declare const ServiceApiFp: (configuration?: Configuration | undefined) =
|
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
98
|
-
addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?:
|
|
98
|
+
addAppointmentForServiceJobByServiceJobId(serviceJobId: string, body: AddAppointmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetAppointmentResponse>>;
|
|
99
99
|
/**
|
|
100
100
|
* Cancels the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
101
101
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -103,21 +103,21 @@ export declare const ServiceApiFp: (configuration?: Configuration | undefined) =
|
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
104
104
|
* @throws {RequiredError}
|
|
105
105
|
*/
|
|
106
|
-
cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?:
|
|
106
|
+
cancelServiceJobByServiceJobId(serviceJobId: string, cancellationReasonCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelServiceJobByServiceJobIdResponse>>;
|
|
107
107
|
/**
|
|
108
108
|
* Completes the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
109
109
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
completeServiceJobByServiceJobId(serviceJobId: string, options?:
|
|
113
|
+
completeServiceJobByServiceJobId(serviceJobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteServiceJobByServiceJobIdResponse>>;
|
|
114
114
|
/**
|
|
115
115
|
* Gets service job details for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
116
116
|
* @param {string} serviceJobId A service job identifier.
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
|
-
getServiceJobByServiceJobId(serviceJobId: string, options?:
|
|
120
|
+
getServiceJobByServiceJobId(serviceJobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetServiceJobByServiceJobIdResponse>>;
|
|
121
121
|
/**
|
|
122
122
|
* Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
123
123
|
* @param {Array<string>} marketplaceIds Used to select jobs that were placed in the specified marketplaces.
|
|
@@ -136,7 +136,7 @@ export declare const ServiceApiFp: (configuration?: Configuration | undefined) =
|
|
|
136
136
|
* @param {*} [options] Override http request option.
|
|
137
137
|
* @throws {RequiredError}
|
|
138
138
|
*/
|
|
139
|
-
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: string
|
|
139
|
+
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>, pageToken?: string, pageSize?: number, sortField?: 'JOB_DATE' | 'JOB_STATUS', sortOrder?: 'ASC' | 'DESC', createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetServiceJobsResponse>>;
|
|
140
140
|
/**
|
|
141
141
|
* Reschedules an appointment for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
142
142
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -145,13 +145,13 @@ export declare const ServiceApiFp: (configuration?: Configuration | undefined) =
|
|
|
145
145
|
* @param {*} [options] Override http request option.
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?:
|
|
148
|
+
rescheduleAppointmentForServiceJobByServiceJobId(serviceJobId: string, appointmentId: string, body: RescheduleAppointmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetAppointmentResponse>>;
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
151
151
|
* ServiceApi - factory interface
|
|
152
152
|
* @export
|
|
153
153
|
*/
|
|
154
|
-
export declare const ServiceApiFactory: (configuration?: Configuration
|
|
154
|
+
export declare const ServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
155
155
|
/**
|
|
156
156
|
* Adds an appointment to the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
157
157
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -200,7 +200,7 @@ export declare const ServiceApiFactory: (configuration?: Configuration | undefin
|
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
203
|
-
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: string
|
|
203
|
+
getServiceJobs(marketplaceIds: Array<string>, serviceOrderIds?: Array<string>, serviceJobStatus?: Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>, pageToken?: string, pageSize?: number, sortField?: 'JOB_DATE' | 'JOB_STATUS', sortOrder?: 'ASC' | 'DESC', createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, scheduleStartDate?: string, scheduleEndDate?: string, options?: any): AxiosPromise<GetServiceJobsResponse>;
|
|
204
204
|
/**
|
|
205
205
|
* Reschedules an appointment for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
206
206
|
* @param {string} serviceJobId An Amazon defined service job identifier.
|
|
@@ -399,7 +399,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
* @memberof ServiceApi
|
|
401
401
|
*/
|
|
402
|
-
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
402
|
+
addAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetAppointmentResponse, any>>;
|
|
403
403
|
/**
|
|
404
404
|
* Cancels the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
405
405
|
* @param {ServiceApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -407,7 +407,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
* @memberof ServiceApi
|
|
409
409
|
*/
|
|
410
|
-
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?:
|
|
410
|
+
cancelServiceJobByServiceJobId(requestParameters: ServiceApiCancelServiceJobByServiceJobIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelServiceJobByServiceJobIdResponse, any>>;
|
|
411
411
|
/**
|
|
412
412
|
* Completes the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
413
413
|
* @param {ServiceApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -415,7 +415,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
415
415
|
* @throws {RequiredError}
|
|
416
416
|
* @memberof ServiceApi
|
|
417
417
|
*/
|
|
418
|
-
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?:
|
|
418
|
+
completeServiceJobByServiceJobId(requestParameters: ServiceApiCompleteServiceJobByServiceJobIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteServiceJobByServiceJobIdResponse, any>>;
|
|
419
419
|
/**
|
|
420
420
|
* Gets service job details for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
421
421
|
* @param {ServiceApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -423,7 +423,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
423
423
|
* @throws {RequiredError}
|
|
424
424
|
* @memberof ServiceApi
|
|
425
425
|
*/
|
|
426
|
-
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?:
|
|
426
|
+
getServiceJobByServiceJobId(requestParameters: ServiceApiGetServiceJobByServiceJobIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetServiceJobByServiceJobIdResponse, any>>;
|
|
427
427
|
/**
|
|
428
428
|
* Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
429
429
|
* @param {ServiceApiGetServiceJobsRequest} requestParameters Request parameters.
|
|
@@ -431,7 +431,7 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
* @memberof ServiceApi
|
|
433
433
|
*/
|
|
434
|
-
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?:
|
|
434
|
+
getServiceJobs(requestParameters: ServiceApiGetServiceJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetServiceJobsResponse, any>>;
|
|
435
435
|
/**
|
|
436
436
|
* Reschedules an appointment for the service job indicated by the service job identifier you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
437
437
|
* @param {ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
@@ -439,5 +439,5 @@ export declare class ServiceApi extends BaseAPI {
|
|
|
439
439
|
* @throws {RequiredError}
|
|
440
440
|
* @memberof ServiceApi
|
|
441
441
|
*/
|
|
442
|
-
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?:
|
|
442
|
+
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetAppointmentResponse, any>>;
|
|
443
443
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|