@sp-api-sdk/services-api-v1 1.8.2 → 1.8.5
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 +20 -20
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- 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 +5 -5
|
@@ -20,65 +20,65 @@ export interface Address {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Address
|
|
22
22
|
*/
|
|
23
|
-
name: string;
|
|
23
|
+
'name': string;
|
|
24
24
|
/**
|
|
25
25
|
* The first line of the address.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Address
|
|
28
28
|
*/
|
|
29
|
-
addressLine1: string;
|
|
29
|
+
'addressLine1': string;
|
|
30
30
|
/**
|
|
31
31
|
* Additional address information, if required.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Address
|
|
34
34
|
*/
|
|
35
|
-
addressLine2?: string;
|
|
35
|
+
'addressLine2'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Additional address information, if required.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Address
|
|
40
40
|
*/
|
|
41
|
-
addressLine3?: string;
|
|
41
|
+
'addressLine3'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The city.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof Address
|
|
46
46
|
*/
|
|
47
|
-
city?: string;
|
|
47
|
+
'city'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The county.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Address
|
|
52
52
|
*/
|
|
53
|
-
county?: string;
|
|
53
|
+
'county'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The district.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof Address
|
|
58
58
|
*/
|
|
59
|
-
district?: string;
|
|
59
|
+
'district'?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The state or region.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof Address
|
|
64
64
|
*/
|
|
65
|
-
stateOrRegion?: string;
|
|
65
|
+
'stateOrRegion'?: string;
|
|
66
66
|
/**
|
|
67
67
|
* The postal code. This can contain letters, digits, spaces, and/or punctuation.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof Address
|
|
70
70
|
*/
|
|
71
|
-
postalCode?: string;
|
|
71
|
+
'postalCode'?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The two digit country code, in ISO 3166-1 alpha-2 format.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof Address
|
|
76
76
|
*/
|
|
77
|
-
countryCode?: string;
|
|
77
|
+
'countryCode'?: string;
|
|
78
78
|
/**
|
|
79
79
|
* The phone number.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof Address
|
|
82
82
|
*/
|
|
83
|
-
phone?: string;
|
|
83
|
+
'phone'?: string;
|
|
84
84
|
}
|
|
@@ -20,11 +20,11 @@ export interface AppointmentTimeInput {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AppointmentTimeInput
|
|
22
22
|
*/
|
|
23
|
-
startTime: string;
|
|
23
|
+
'startTime': string;
|
|
24
24
|
/**
|
|
25
25
|
* The duration of an appointment in minutes.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof AppointmentTimeInput
|
|
28
28
|
*/
|
|
29
|
-
durationInMinutes?: number;
|
|
29
|
+
'durationInMinutes'?: number;
|
|
30
30
|
}
|
|
@@ -20,11 +20,11 @@ export interface AppointmentTime {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AppointmentTime
|
|
22
22
|
*/
|
|
23
|
-
startTime: string;
|
|
23
|
+
'startTime': string;
|
|
24
24
|
/**
|
|
25
25
|
* The duration of the appointment window, in minutes.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof AppointmentTime
|
|
28
28
|
*/
|
|
29
|
-
durationInMinutes: number;
|
|
29
|
+
'durationInMinutes': number;
|
|
30
30
|
}
|
|
@@ -23,44 +23,41 @@ export interface Appointment {
|
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof Appointment
|
|
25
25
|
*/
|
|
26
|
-
appointmentId?: string;
|
|
26
|
+
'appointmentId'?: string;
|
|
27
27
|
/**
|
|
28
28
|
* The status of the appointment.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof Appointment
|
|
31
31
|
*/
|
|
32
|
-
appointmentStatus?: AppointmentAppointmentStatusEnum;
|
|
32
|
+
'appointmentStatus'?: AppointmentAppointmentStatusEnum;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {AppointmentTime}
|
|
36
36
|
* @memberof Appointment
|
|
37
37
|
*/
|
|
38
|
-
appointmentTime?: AppointmentTime;
|
|
38
|
+
'appointmentTime'?: AppointmentTime;
|
|
39
39
|
/**
|
|
40
40
|
* A list of technicians assigned to the service job.
|
|
41
41
|
* @type {Array<Technician>}
|
|
42
42
|
* @memberof Appointment
|
|
43
43
|
*/
|
|
44
|
-
assignedTechnicians?: Array<Technician>;
|
|
44
|
+
'assignedTechnicians'?: Array<Technician>;
|
|
45
45
|
/**
|
|
46
46
|
* The appointment identifier.
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof Appointment
|
|
49
49
|
*/
|
|
50
|
-
rescheduledAppointmentId?: string;
|
|
50
|
+
'rescheduledAppointmentId'?: string;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {Poa}
|
|
54
54
|
* @memberof Appointment
|
|
55
55
|
*/
|
|
56
|
-
poa?: Poa;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @export
|
|
60
|
-
* @enum {string}
|
|
61
|
-
*/
|
|
62
|
-
export declare enum AppointmentAppointmentStatusEnum {
|
|
63
|
-
Active = "ACTIVE",
|
|
64
|
-
Cancelled = "CANCELLED",
|
|
65
|
-
Completed = "COMPLETED"
|
|
56
|
+
'poa'?: Poa;
|
|
66
57
|
}
|
|
58
|
+
export declare const AppointmentAppointmentStatusEnum: {
|
|
59
|
+
readonly Active: "ACTIVE";
|
|
60
|
+
readonly Cancelled: "CANCELLED";
|
|
61
|
+
readonly Completed: "COMPLETED";
|
|
62
|
+
};
|
|
63
|
+
export declare type AppointmentAppointmentStatusEnum = typeof AppointmentAppointmentStatusEnum[keyof typeof AppointmentAppointmentStatusEnum];
|
|
@@ -21,51 +21,48 @@ export interface AssociatedItem {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof AssociatedItem
|
|
23
23
|
*/
|
|
24
|
-
asin?: string;
|
|
24
|
+
'asin'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The title of the item.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof AssociatedItem
|
|
29
29
|
*/
|
|
30
|
-
title?: string;
|
|
30
|
+
'title'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The total number of items included in the order.
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof AssociatedItem
|
|
35
35
|
*/
|
|
36
|
-
quantity?: number;
|
|
36
|
+
'quantity'?: number;
|
|
37
37
|
/**
|
|
38
38
|
* The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof AssociatedItem
|
|
41
41
|
*/
|
|
42
|
-
orderId?: string;
|
|
42
|
+
'orderId'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* The status of the item.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof AssociatedItem
|
|
47
47
|
*/
|
|
48
|
-
itemStatus?: AssociatedItemItemStatusEnum;
|
|
48
|
+
'itemStatus'?: AssociatedItemItemStatusEnum;
|
|
49
49
|
/**
|
|
50
50
|
* The brand name of the item.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof AssociatedItem
|
|
53
53
|
*/
|
|
54
|
-
brandName?: string;
|
|
54
|
+
'brandName'?: string;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {ItemDelivery}
|
|
58
58
|
* @memberof AssociatedItem
|
|
59
59
|
*/
|
|
60
|
-
itemDelivery?: ItemDelivery;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @export
|
|
64
|
-
* @enum {string}
|
|
65
|
-
*/
|
|
66
|
-
export declare enum AssociatedItemItemStatusEnum {
|
|
67
|
-
Active = "ACTIVE",
|
|
68
|
-
Cancelled = "CANCELLED",
|
|
69
|
-
Shipped = "SHIPPED",
|
|
70
|
-
Delivered = "DELIVERED"
|
|
60
|
+
'itemDelivery'?: ItemDelivery;
|
|
71
61
|
}
|
|
62
|
+
export declare const AssociatedItemItemStatusEnum: {
|
|
63
|
+
readonly Active: "ACTIVE";
|
|
64
|
+
readonly Cancelled: "CANCELLED";
|
|
65
|
+
readonly Shipped: "SHIPPED";
|
|
66
|
+
readonly Delivered: "DELIVERED";
|
|
67
|
+
};
|
|
68
|
+
export declare type AssociatedItemItemStatusEnum = typeof AssociatedItemItemStatusEnum[keyof typeof AssociatedItemItemStatusEnum];
|
|
@@ -20,23 +20,23 @@ export interface Buyer {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Buyer
|
|
22
22
|
*/
|
|
23
|
-
buyerId?: string;
|
|
23
|
+
'buyerId'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The name of the buyer.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Buyer
|
|
28
28
|
*/
|
|
29
|
-
name?: string;
|
|
29
|
+
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The phone number of the buyer.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Buyer
|
|
34
34
|
*/
|
|
35
|
-
phone?: string;
|
|
35
|
+
'phone'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* When true, the service is for an Amazon Prime buyer.
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof Buyer
|
|
40
40
|
*/
|
|
41
|
-
isPrimeMember?: boolean;
|
|
41
|
+
'isPrimeMember'?: boolean;
|
|
42
42
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetServiceJobByServiceJobIdResponse {
|
|
|
21
21
|
* @type {ServiceJob}
|
|
22
22
|
* @memberof GetServiceJobByServiceJobIdResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: ServiceJob;
|
|
24
|
+
'payload'?: ServiceJob;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetServiceJobByServiceJobIdResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetServiceJobsResponse {
|
|
|
21
21
|
* @type {JobListing}
|
|
22
22
|
* @memberof GetServiceJobsResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: JobListing;
|
|
24
|
+
'payload'?: JobListing;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetServiceJobsResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -20,11 +20,11 @@ export interface ItemDeliveryPromise {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ItemDeliveryPromise
|
|
22
22
|
*/
|
|
23
|
-
startTime?: string;
|
|
23
|
+
'startTime'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The date and time of the end of the promised delivery window, in ISO 8601 format.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ItemDeliveryPromise
|
|
28
28
|
*/
|
|
29
|
-
endTime?: string;
|
|
29
|
+
'endTime'?: string;
|
|
30
30
|
}
|
|
@@ -21,11 +21,11 @@ export interface ItemDelivery {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ItemDelivery
|
|
23
23
|
*/
|
|
24
|
-
estimatedDeliveryDate?: string;
|
|
24
|
+
'estimatedDeliveryDate'?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {ItemDeliveryPromise}
|
|
28
28
|
* @memberof ItemDelivery
|
|
29
29
|
*/
|
|
30
|
-
itemDeliveryPromise?: ItemDeliveryPromise;
|
|
30
|
+
'itemDeliveryPromise'?: ItemDeliveryPromise;
|
|
31
31
|
}
|
|
@@ -21,23 +21,23 @@ export interface JobListing {
|
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof JobListing
|
|
23
23
|
*/
|
|
24
|
-
totalResultSize?: number;
|
|
24
|
+
'totalResultSize'?: number;
|
|
25
25
|
/**
|
|
26
26
|
* A generated string used to pass information to your next request.If nextPageToken is returned, pass the value of nextPageToken to the pageToken to get next results.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof JobListing
|
|
29
29
|
*/
|
|
30
|
-
nextPageToken?: string;
|
|
30
|
+
'nextPageToken'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* A generated string used to pass information to your next request.If previousPageToken is returned, pass the value of previousPageToken to the pageToken to get previous page results.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof JobListing
|
|
35
35
|
*/
|
|
36
|
-
previousPageToken?: string;
|
|
36
|
+
'previousPageToken'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* List of job details for the given input.
|
|
39
39
|
* @type {Array<ServiceJob>}
|
|
40
40
|
* @memberof JobListing
|
|
41
41
|
*/
|
|
42
|
-
jobs?: Array<ServiceJob>;
|
|
42
|
+
'jobs'?: Array<ServiceJob>;
|
|
43
43
|
}
|
|
@@ -20,31 +20,28 @@ export interface ModelError {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ModelError
|
|
22
22
|
*/
|
|
23
|
-
code: string;
|
|
23
|
+
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* A message that describes the error condition in a human-readable form.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ModelError
|
|
28
28
|
*/
|
|
29
|
-
message: string;
|
|
29
|
+
'message': string;
|
|
30
30
|
/**
|
|
31
31
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ModelError
|
|
34
34
|
*/
|
|
35
|
-
details?: string;
|
|
35
|
+
'details'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The type of error.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ModelError
|
|
40
40
|
*/
|
|
41
|
-
errorLevel?: ModelErrorErrorLevelEnum;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
* @enum {string}
|
|
46
|
-
*/
|
|
47
|
-
export declare enum ModelErrorErrorLevelEnum {
|
|
48
|
-
Error = "ERROR",
|
|
49
|
-
Warning = "WARNING"
|
|
41
|
+
'errorLevel'?: ModelErrorErrorLevelEnum;
|
|
50
42
|
}
|
|
43
|
+
export declare const ModelErrorErrorLevelEnum: {
|
|
44
|
+
readonly Error: "ERROR";
|
|
45
|
+
readonly Warning: "WARNING";
|
|
46
|
+
};
|
|
47
|
+
export declare type ModelErrorErrorLevelEnum = typeof ModelErrorErrorLevelEnum[keyof typeof ModelErrorErrorLevelEnum];
|
|
@@ -22,39 +22,36 @@ export interface Poa {
|
|
|
22
22
|
* @type {AppointmentTime}
|
|
23
23
|
* @memberof Poa
|
|
24
24
|
*/
|
|
25
|
-
appointmentTime?: AppointmentTime;
|
|
25
|
+
'appointmentTime'?: AppointmentTime;
|
|
26
26
|
/**
|
|
27
27
|
* A list of technicians.
|
|
28
28
|
* @type {Array<Technician>}
|
|
29
29
|
* @memberof Poa
|
|
30
30
|
*/
|
|
31
|
-
technicians?: Array<Technician>;
|
|
31
|
+
'technicians'?: Array<Technician>;
|
|
32
32
|
/**
|
|
33
33
|
* The identifier of the technician who uploaded the POA.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof Poa
|
|
36
36
|
*/
|
|
37
|
-
uploadingTechnician?: string;
|
|
37
|
+
'uploadingTechnician'?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The date and time when the POA was uploaded, in ISO 8601 format.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof Poa
|
|
42
42
|
*/
|
|
43
|
-
uploadTime?: string;
|
|
43
|
+
'uploadTime'?: string;
|
|
44
44
|
/**
|
|
45
45
|
* The type of POA uploaded.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof Poa
|
|
48
48
|
*/
|
|
49
|
-
poaType?: PoaPoaTypeEnum;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @export
|
|
53
|
-
* @enum {string}
|
|
54
|
-
*/
|
|
55
|
-
export declare enum PoaPoaTypeEnum {
|
|
56
|
-
NoSignatureDummyPos = "NO_SIGNATURE_DUMMY_POS",
|
|
57
|
-
CustomerSignature = "CUSTOMER_SIGNATURE",
|
|
58
|
-
DummyReceipt = "DUMMY_RECEIPT",
|
|
59
|
-
PoaReceipt = "POA_RECEIPT"
|
|
49
|
+
'poaType'?: PoaPoaTypeEnum;
|
|
60
50
|
}
|
|
51
|
+
export declare const PoaPoaTypeEnum: {
|
|
52
|
+
readonly NoSignatureDummyPos: "NO_SIGNATURE_DUMMY_POS";
|
|
53
|
+
readonly CustomerSignature: "CUSTOMER_SIGNATURE";
|
|
54
|
+
readonly DummyReceipt: "DUMMY_RECEIPT";
|
|
55
|
+
readonly PoaReceipt: "POA_RECEIPT";
|
|
56
|
+
};
|
|
57
|
+
export declare type PoaPoaTypeEnum = typeof PoaPoaTypeEnum[keyof typeof PoaPoaTypeEnum];
|
|
@@ -21,11 +21,11 @@ export interface RescheduleAppointmentRequest {
|
|
|
21
21
|
* @type {AppointmentTimeInput}
|
|
22
22
|
* @memberof RescheduleAppointmentRequest
|
|
23
23
|
*/
|
|
24
|
-
appointmentTime: AppointmentTimeInput;
|
|
24
|
+
'appointmentTime': AppointmentTimeInput;
|
|
25
25
|
/**
|
|
26
26
|
* Appointment reschedule reason code.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof RescheduleAppointmentRequest
|
|
29
29
|
*/
|
|
30
|
-
rescheduleReasonCode: string;
|
|
30
|
+
'rescheduleReasonCode': string;
|
|
31
31
|
}
|
|
@@ -20,23 +20,23 @@ export interface ScopeOfWork {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ScopeOfWork
|
|
22
22
|
*/
|
|
23
|
-
asin?: string;
|
|
23
|
+
'asin'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The title of the service job.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ScopeOfWork
|
|
28
28
|
*/
|
|
29
|
-
title?: string;
|
|
29
|
+
'title'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The number of service jobs.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ScopeOfWork
|
|
34
34
|
*/
|
|
35
|
-
quantity?: number;
|
|
35
|
+
'quantity'?: number;
|
|
36
36
|
/**
|
|
37
37
|
* A list of skills required to perform the job.
|
|
38
38
|
* @type {Array<string>}
|
|
39
39
|
* @memberof ScopeOfWork
|
|
40
40
|
*/
|
|
41
|
-
requiredSkills?: Array<string>;
|
|
41
|
+
'requiredSkills'?: Array<string>;
|
|
42
42
|
}
|
|
@@ -28,90 +28,87 @@ export interface ServiceJob {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof ServiceJob
|
|
30
30
|
*/
|
|
31
|
-
createTime?: string;
|
|
31
|
+
'createTime'?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Amazon identifier for the service job.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ServiceJob
|
|
36
36
|
*/
|
|
37
|
-
serviceJobId?: string;
|
|
37
|
+
'serviceJobId'?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The status of the service job.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof ServiceJob
|
|
42
42
|
*/
|
|
43
|
-
serviceJobStatus?: ServiceJobServiceJobStatusEnum;
|
|
43
|
+
'serviceJobStatus'?: ServiceJobServiceJobStatusEnum;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {ScopeOfWork}
|
|
47
47
|
* @memberof ServiceJob
|
|
48
48
|
*/
|
|
49
|
-
scopeOfWork?: ScopeOfWork;
|
|
49
|
+
'scopeOfWork'?: ScopeOfWork;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {Seller}
|
|
53
53
|
* @memberof ServiceJob
|
|
54
54
|
*/
|
|
55
|
-
seller?: Seller;
|
|
55
|
+
'seller'?: Seller;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {ServiceJobProvider}
|
|
59
59
|
* @memberof ServiceJob
|
|
60
60
|
*/
|
|
61
|
-
serviceJobProvider?: ServiceJobProvider;
|
|
61
|
+
'serviceJobProvider'?: ServiceJobProvider;
|
|
62
62
|
/**
|
|
63
63
|
* A list of appointment windows preferred by the buyer. Included only if the buyer selected appointment windows when creating the order.
|
|
64
64
|
* @type {Array<AppointmentTime>}
|
|
65
65
|
* @memberof ServiceJob
|
|
66
66
|
*/
|
|
67
|
-
preferredAppointmentTimes?: Array<AppointmentTime>;
|
|
67
|
+
'preferredAppointmentTimes'?: Array<AppointmentTime>;
|
|
68
68
|
/**
|
|
69
69
|
* A list of appointments.
|
|
70
70
|
* @type {Array<Appointment>}
|
|
71
71
|
* @memberof ServiceJob
|
|
72
72
|
*/
|
|
73
|
-
appointments?: Array<Appointment>;
|
|
73
|
+
'appointments'?: Array<Appointment>;
|
|
74
74
|
/**
|
|
75
75
|
* The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format.
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof ServiceJob
|
|
78
78
|
*/
|
|
79
|
-
serviceOrderId?: string;
|
|
79
|
+
'serviceOrderId'?: string;
|
|
80
80
|
/**
|
|
81
81
|
* The marketplace identifier.
|
|
82
82
|
* @type {string}
|
|
83
83
|
* @memberof ServiceJob
|
|
84
84
|
*/
|
|
85
|
-
marketplaceId?: string;
|
|
85
|
+
'marketplaceId'?: string;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
88
|
* @type {Buyer}
|
|
89
89
|
* @memberof ServiceJob
|
|
90
90
|
*/
|
|
91
|
-
buyer?: Buyer;
|
|
91
|
+
'buyer'?: Buyer;
|
|
92
92
|
/**
|
|
93
93
|
* A list of items associated with the service job.
|
|
94
94
|
* @type {Array<AssociatedItem>}
|
|
95
95
|
* @memberof ServiceJob
|
|
96
96
|
*/
|
|
97
|
-
associatedItems?: Array<AssociatedItem>;
|
|
97
|
+
'associatedItems'?: Array<AssociatedItem>;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
100
|
* @type {ServiceLocation}
|
|
101
101
|
* @memberof ServiceJob
|
|
102
102
|
*/
|
|
103
|
-
serviceLocation?: ServiceLocation;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* @export
|
|
107
|
-
* @enum {string}
|
|
108
|
-
*/
|
|
109
|
-
export declare enum ServiceJobServiceJobStatusEnum {
|
|
110
|
-
NotServiced = "NOT_SERVICED",
|
|
111
|
-
Cancelled = "CANCELLED",
|
|
112
|
-
Completed = "COMPLETED",
|
|
113
|
-
PendingSchedule = "PENDING_SCHEDULE",
|
|
114
|
-
NotFulfillable = "NOT_FULFILLABLE",
|
|
115
|
-
Hold = "HOLD",
|
|
116
|
-
PaymentDeclined = "PAYMENT_DECLINED"
|
|
103
|
+
'serviceLocation'?: ServiceLocation;
|
|
117
104
|
}
|
|
105
|
+
export declare const ServiceJobServiceJobStatusEnum: {
|
|
106
|
+
readonly NotServiced: "NOT_SERVICED";
|
|
107
|
+
readonly Cancelled: "CANCELLED";
|
|
108
|
+
readonly Completed: "COMPLETED";
|
|
109
|
+
readonly PendingSchedule: "PENDING_SCHEDULE";
|
|
110
|
+
readonly NotFulfillable: "NOT_FULFILLABLE";
|
|
111
|
+
readonly Hold: "HOLD";
|
|
112
|
+
readonly PaymentDeclined: "PAYMENT_DECLINED";
|
|
113
|
+
};
|
|
114
|
+
export declare type ServiceJobServiceJobStatusEnum = typeof ServiceJobServiceJobStatusEnum[keyof typeof ServiceJobServiceJobStatusEnum];
|
|
@@ -21,20 +21,17 @@ export interface ServiceLocation {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ServiceLocation
|
|
23
23
|
*/
|
|
24
|
-
serviceLocationType?: ServiceLocationServiceLocationTypeEnum;
|
|
24
|
+
'serviceLocationType'?: ServiceLocationServiceLocationTypeEnum;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {Address}
|
|
28
28
|
* @memberof ServiceLocation
|
|
29
29
|
*/
|
|
30
|
-
address?: Address;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @export
|
|
34
|
-
* @enum {string}
|
|
35
|
-
*/
|
|
36
|
-
export declare enum ServiceLocationServiceLocationTypeEnum {
|
|
37
|
-
InHome = "IN_HOME",
|
|
38
|
-
InStore = "IN_STORE",
|
|
39
|
-
Online = "ONLINE"
|
|
30
|
+
'address'?: Address;
|
|
40
31
|
}
|
|
32
|
+
export declare const ServiceLocationServiceLocationTypeEnum: {
|
|
33
|
+
readonly InHome: "IN_HOME";
|
|
34
|
+
readonly InStore: "IN_STORE";
|
|
35
|
+
readonly Online: "ONLINE";
|
|
36
|
+
};
|
|
37
|
+
export declare type ServiceLocationServiceLocationTypeEnum = typeof ServiceLocationServiceLocationTypeEnum[keyof typeof ServiceLocationServiceLocationTypeEnum];
|