@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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
13
|
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
|
|
|
27
27
|
*
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @export
|
|
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
|
52
52
|
*
|
|
53
53
|
* @export
|
|
54
54
|
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @export
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -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
|
}
|