@sp-api-sdk/services-api-v1 4.0.1 → 4.0.2

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.
Files changed (81) hide show
  1. package/dist/cjs/api-model/api/services-api.js +0 -32
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/capacity-type.js +0 -2
  6. package/dist/cjs/api-model/models/day-of-week.js +0 -2
  7. package/dist/es/api-model/api/services-api.js +0 -32
  8. package/dist/es/api-model/base.js +0 -19
  9. package/dist/es/api-model/common.js +0 -37
  10. package/dist/es/api-model/configuration.js +0 -17
  11. package/dist/es/api-model/models/capacity-type.js +0 -2
  12. package/dist/es/api-model/models/day-of-week.js +0 -2
  13. package/dist/types/api-model/api/services-api.d.ts +0 -187
  14. package/dist/types/api-model/base.d.ts +0 -24
  15. package/dist/types/api-model/common.d.ts +0 -37
  16. package/dist/types/api-model/configuration.d.ts +0 -17
  17. package/dist/types/api-model/models/add-appointment-request.d.ts +0 -7
  18. package/dist/types/api-model/models/address.d.ts +0 -24
  19. package/dist/types/api-model/models/appointment-resource.d.ts +0 -4
  20. package/dist/types/api-model/models/appointment-slot-report.d.ts +0 -10
  21. package/dist/types/api-model/models/appointment-slot.d.ts +0 -8
  22. package/dist/types/api-model/models/appointment-time-input.d.ts +0 -6
  23. package/dist/types/api-model/models/appointment-time.d.ts +0 -6
  24. package/dist/types/api-model/models/appointment.d.ts +0 -20
  25. package/dist/types/api-model/models/assign-appointment-resources-request.d.ts +0 -4
  26. package/dist/types/api-model/models/assign-appointment-resources-response-payload.d.ts +0 -4
  27. package/dist/types/api-model/models/assign-appointment-resources-response.d.ts +0 -9
  28. package/dist/types/api-model/models/associated-item.d.ts +0 -19
  29. package/dist/types/api-model/models/availability-record.d.ts +0 -13
  30. package/dist/types/api-model/models/buyer.d.ts +0 -10
  31. package/dist/types/api-model/models/cancel-reservation-response.d.ts +0 -4
  32. package/dist/types/api-model/models/cancel-service-job-by-service-job-id-response.d.ts +0 -4
  33. package/dist/types/api-model/models/capacity-type.d.ts +0 -2
  34. package/dist/types/api-model/models/complete-service-job-by-service-job-id-response.d.ts +0 -4
  35. package/dist/types/api-model/models/create-reservation-record.d.ts +0 -11
  36. package/dist/types/api-model/models/create-reservation-request.d.ts +0 -9
  37. package/dist/types/api-model/models/create-reservation-response.d.ts +0 -9
  38. package/dist/types/api-model/models/create-service-document-upload-destination.d.ts +0 -9
  39. package/dist/types/api-model/models/date-time-range.d.ts +0 -6
  40. package/dist/types/api-model/models/day-of-week.d.ts +0 -2
  41. package/dist/types/api-model/models/encryption-details.d.ts +0 -8
  42. package/dist/types/api-model/models/fixed-slot-capacity-errors.d.ts +0 -4
  43. package/dist/types/api-model/models/fixed-slot-capacity-query.d.ts +0 -10
  44. package/dist/types/api-model/models/fixed-slot-capacity.d.ts +0 -10
  45. package/dist/types/api-model/models/fixed-slot.d.ts +0 -12
  46. package/dist/types/api-model/models/fulfillment-document.d.ts +0 -6
  47. package/dist/types/api-model/models/fulfillment-time.d.ts +0 -6
  48. package/dist/types/api-model/models/get-appointment-slots-response.d.ts +0 -9
  49. package/dist/types/api-model/models/get-service-job-by-service-job-id-response.d.ts +0 -9
  50. package/dist/types/api-model/models/get-service-jobs-response.d.ts +0 -9
  51. package/dist/types/api-model/models/item-delivery-promise.d.ts +0 -6
  52. package/dist/types/api-model/models/item-delivery.d.ts +0 -9
  53. package/dist/types/api-model/models/job-listing.d.ts +0 -10
  54. package/dist/types/api-model/models/model-error.d.ts +0 -10
  55. package/dist/types/api-model/models/poa.d.ts +0 -15
  56. package/dist/types/api-model/models/range-capacity.d.ts +0 -9
  57. package/dist/types/api-model/models/range-slot-capacity-errors.d.ts +0 -4
  58. package/dist/types/api-model/models/range-slot-capacity-query.d.ts +0 -8
  59. package/dist/types/api-model/models/range-slot-capacity.d.ts +0 -8
  60. package/dist/types/api-model/models/range-slot.d.ts +0 -8
  61. package/dist/types/api-model/models/recurrence.d.ts +0 -8
  62. package/dist/types/api-model/models/reschedule-appointment-request.d.ts +0 -9
  63. package/dist/types/api-model/models/reservation.d.ts +0 -11
  64. package/dist/types/api-model/models/scope-of-work.d.ts +0 -10
  65. package/dist/types/api-model/models/seller.d.ts +0 -4
  66. package/dist/types/api-model/models/service-document-upload-destination.d.ts +0 -13
  67. package/dist/types/api-model/models/service-job-provider.d.ts +0 -4
  68. package/dist/types/api-model/models/service-job.d.ts +0 -45
  69. package/dist/types/api-model/models/service-location.d.ts +0 -9
  70. package/dist/types/api-model/models/service-upload-document.d.ts +0 -8
  71. package/dist/types/api-model/models/set-appointment-fulfillment-data-request.d.ts +0 -16
  72. package/dist/types/api-model/models/set-appointment-response.d.ts +0 -8
  73. package/dist/types/api-model/models/technician.d.ts +0 -6
  74. package/dist/types/api-model/models/update-reservation-record.d.ts +0 -11
  75. package/dist/types/api-model/models/update-reservation-request.d.ts +0 -9
  76. package/dist/types/api-model/models/update-reservation-response.d.ts +0 -9
  77. package/dist/types/api-model/models/update-schedule-record.d.ts +0 -11
  78. package/dist/types/api-model/models/update-schedule-request.d.ts +0 -4
  79. package/dist/types/api-model/models/update-schedule-response.d.ts +0 -6
  80. package/dist/types/api-model/models/warning.d.ts +0 -8
  81. package/package.json +25 -4
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
@@ -12,54 +12,17 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
- /**
52
- *
53
- * @export
54
- */
55
26
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
27
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
28
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -23,49 +23,32 @@ export declare class Configuration {
23
23
  /**
24
24
  * parameter for apiKey security
25
25
  * @param name security name
26
- * @memberof Configuration
27
26
  */
28
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
28
  /**
30
29
  * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
30
  */
35
31
  username?: string;
36
32
  /**
37
33
  * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
34
  */
42
35
  password?: string;
43
36
  /**
44
37
  * parameter for oauth2 security
45
38
  * @param name security name
46
39
  * @param scopes oauth2 scope
47
- * @memberof Configuration
48
40
  */
49
41
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
42
  /**
51
43
  * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
44
  */
56
45
  basePath?: string;
57
46
  /**
58
47
  * override server index
59
- *
60
- * @type {number}
61
- * @memberof Configuration
62
48
  */
63
49
  serverIndex?: number;
64
50
  /**
65
51
  * base options for axios calls
66
- *
67
- * @type {any}
68
- * @memberof Configuration
69
52
  */
70
53
  baseOptions?: any;
71
54
  /**
@@ -12,14 +12,7 @@
12
12
  import type { AppointmentTimeInput } from './appointment-time-input';
13
13
  /**
14
14
  * Input for add appointment operation.
15
- * @export
16
- * @interface AddAppointmentRequest
17
15
  */
18
16
  export interface AddAppointmentRequest {
19
- /**
20
- *
21
- * @type {AppointmentTimeInput}
22
- * @memberof AddAppointmentRequest
23
- */
24
17
  'appointmentTime': AppointmentTimeInput;
25
18
  }
@@ -11,74 +11,50 @@
11
11
  */
12
12
  /**
13
13
  * The shipping address for the service job.
14
- * @export
15
- * @interface Address
16
14
  */
17
15
  export interface Address {
18
16
  /**
19
17
  * The name of the person, business, or institution.
20
- * @type {string}
21
- * @memberof Address
22
18
  */
23
19
  'name': string;
24
20
  /**
25
21
  * The first line of the address.
26
- * @type {string}
27
- * @memberof Address
28
22
  */
29
23
  'addressLine1': string;
30
24
  /**
31
25
  * Additional address information, if required.
32
- * @type {string}
33
- * @memberof Address
34
26
  */
35
27
  'addressLine2'?: string;
36
28
  /**
37
29
  * Additional address information, if required.
38
- * @type {string}
39
- * @memberof Address
40
30
  */
41
31
  'addressLine3'?: string;
42
32
  /**
43
33
  * The city.
44
- * @type {string}
45
- * @memberof Address
46
34
  */
47
35
  'city'?: string;
48
36
  /**
49
37
  * The county.
50
- * @type {string}
51
- * @memberof Address
52
38
  */
53
39
  'county'?: string;
54
40
  /**
55
41
  * The district.
56
- * @type {string}
57
- * @memberof Address
58
42
  */
59
43
  'district'?: string;
60
44
  /**
61
45
  * The state or region.
62
- * @type {string}
63
- * @memberof Address
64
46
  */
65
47
  'stateOrRegion'?: string;
66
48
  /**
67
49
  * The postal code. This can contain letters, digits, spaces, and/or punctuation.
68
- * @type {string}
69
- * @memberof Address
70
50
  */
71
51
  'postalCode'?: string;
72
52
  /**
73
53
  * The two digit country code, in ISO 3166-1 alpha-2 format.
74
- * @type {string}
75
- * @memberof Address
76
54
  */
77
55
  'countryCode'?: string;
78
56
  /**
79
57
  * The phone number.
80
- * @type {string}
81
- * @memberof Address
82
58
  */
83
59
  'phone'?: string;
84
60
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The resource that performs or performed appointment fulfillment.
14
- * @export
15
- * @interface AppointmentResource
16
14
  */
17
15
  export interface AppointmentResource {
18
16
  /**
19
17
  * The resource identifier.
20
- * @type {string}
21
- * @memberof AppointmentResource
22
18
  */
23
19
  'resourceId'?: string;
24
20
  }
@@ -12,32 +12,22 @@
12
12
  import type { AppointmentSlot } from './appointment-slot';
13
13
  /**
14
14
  * Availability information as per the service context queried.
15
- * @export
16
- * @interface AppointmentSlotReport
17
15
  */
18
16
  export interface AppointmentSlotReport {
19
17
  /**
20
18
  * Defines the type of slots.
21
- * @type {string}
22
- * @memberof AppointmentSlotReport
23
19
  */
24
20
  'schedulingType'?: AppointmentSlotReportSchedulingTypeEnum;
25
21
  /**
26
22
  * Start Time from which the appointment slots are generated in ISO 8601 format.
27
- * @type {string}
28
- * @memberof AppointmentSlotReport
29
23
  */
30
24
  'startTime'?: string;
31
25
  /**
32
26
  * End Time up to which the appointment slots are generated in ISO 8601 format.
33
- * @type {string}
34
- * @memberof AppointmentSlotReport
35
27
  */
36
28
  'endTime'?: string;
37
29
  /**
38
30
  * A list of time windows along with associated capacity in which the service can be performed.
39
- * @type {Array<AppointmentSlot>}
40
- * @memberof AppointmentSlotReport
41
31
  */
42
32
  'appointmentSlots'?: Array<AppointmentSlot>;
43
33
  }
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * A time window along with associated capacity in which the service can be performed.
14
- * @export
15
- * @interface AppointmentSlot
16
14
  */
17
15
  export interface AppointmentSlot {
18
16
  /**
19
17
  * Time window start time in ISO 8601 format.
20
- * @type {string}
21
- * @memberof AppointmentSlot
22
18
  */
23
19
  'startTime'?: string;
24
20
  /**
25
21
  * Time window end time in ISO 8601 format.
26
- * @type {string}
27
- * @memberof AppointmentSlot
28
22
  */
29
23
  'endTime'?: string;
30
24
  /**
31
25
  * Number of resources for which a slot can be reserved.
32
- * @type {number}
33
- * @memberof AppointmentSlot
34
26
  */
35
27
  'capacity'?: number;
36
28
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The input appointment time details.
14
- * @export
15
- * @interface AppointmentTimeInput
16
14
  */
17
15
  export interface AppointmentTimeInput {
18
16
  /**
19
17
  * The date, time in UTC for the start time of an appointment in ISO 8601 format.
20
- * @type {string}
21
- * @memberof AppointmentTimeInput
22
18
  */
23
19
  'startTime': string;
24
20
  /**
25
21
  * The duration of an appointment in minutes.
26
- * @type {number}
27
- * @memberof AppointmentTimeInput
28
22
  */
29
23
  'durationInMinutes'?: number;
30
24
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The time of the appointment window.
14
- * @export
15
- * @interface AppointmentTime
16
14
  */
17
15
  export interface AppointmentTime {
18
16
  /**
19
17
  * The date and time of the start of the appointment window in ISO 8601 format.
20
- * @type {string}
21
- * @memberof AppointmentTime
22
18
  */
23
19
  'startTime': string;
24
20
  /**
25
21
  * The duration of the appointment window, in minutes.
26
- * @type {number}
27
- * @memberof AppointmentTime
28
22
  */
29
23
  'durationInMinutes': number;
30
24
  }
@@ -14,45 +14,25 @@ import type { Poa } from './poa';
14
14
  import type { Technician } from './technician';
15
15
  /**
16
16
  * The details of an appointment.
17
- * @export
18
- * @interface Appointment
19
17
  */
20
18
  export interface Appointment {
21
19
  /**
22
20
  * The appointment identifier.
23
- * @type {string}
24
- * @memberof Appointment
25
21
  */
26
22
  'appointmentId'?: string;
27
23
  /**
28
24
  * The status of the appointment.
29
- * @type {string}
30
- * @memberof Appointment
31
25
  */
32
26
  'appointmentStatus'?: AppointmentAppointmentStatusEnum;
33
- /**
34
- *
35
- * @type {AppointmentTime}
36
- * @memberof Appointment
37
- */
38
27
  'appointmentTime'?: AppointmentTime;
39
28
  /**
40
29
  * A list of technicians assigned to the service job.
41
- * @type {Array<Technician>}
42
- * @memberof Appointment
43
30
  */
44
31
  'assignedTechnicians'?: Array<Technician>;
45
32
  /**
46
33
  * The appointment identifier.
47
- * @type {string}
48
- * @memberof Appointment
49
34
  */
50
35
  'rescheduledAppointmentId'?: string;
51
- /**
52
- *
53
- * @type {Poa}
54
- * @memberof Appointment
55
- */
56
36
  'poa'?: Poa;
57
37
  }
58
38
  export declare const AppointmentAppointmentStatusEnum: {
@@ -12,14 +12,10 @@
12
12
  import type { AppointmentResource } from './appointment-resource';
13
13
  /**
14
14
  * Request schema for the `assignAppointmentResources` operation.
15
- * @export
16
- * @interface AssignAppointmentResourcesRequest
17
15
  */
18
16
  export interface AssignAppointmentResourcesRequest {
19
17
  /**
20
18
  * List of resources that performs or performed job appointment fulfillment.
21
- * @type {Array<AppointmentResource>}
22
- * @memberof AssignAppointmentResourcesRequest
23
19
  */
24
20
  'resources': Array<AppointmentResource>;
25
21
  }
@@ -12,14 +12,10 @@
12
12
  import type { Warning } from './warning';
13
13
  /**
14
14
  * The payload for the `assignAppointmentResource` operation.
15
- * @export
16
- * @interface AssignAppointmentResourcesResponsePayload
17
15
  */
18
16
  export interface AssignAppointmentResourcesResponsePayload {
19
17
  /**
20
18
  * A list of warnings returned in the sucessful execution response of an API request.
21
- * @type {Array<Warning>}
22
- * @memberof AssignAppointmentResourcesResponsePayload
23
19
  */
24
20
  'warnings'?: Array<Warning>;
25
21
  }
@@ -12,20 +12,11 @@
12
12
  import type { AssignAppointmentResourcesResponsePayload } from './assign-appointment-resources-response-payload';
13
13
  /**
14
14
  * Response schema for the `assignAppointmentResources` operation.
15
- * @export
16
- * @interface AssignAppointmentResourcesResponse
17
15
  */
18
16
  export interface AssignAppointmentResourcesResponse {
19
- /**
20
- *
21
- * @type {AssignAppointmentResourcesResponsePayload}
22
- * @memberof AssignAppointmentResourcesResponse
23
- */
24
17
  'payload'?: AssignAppointmentResourcesResponsePayload;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof AssignAppointmentResourcesResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -12,51 +12,32 @@
12
12
  import type { ItemDelivery } from './item-delivery';
13
13
  /**
14
14
  * Information about an item associated with the service job.
15
- * @export
16
- * @interface AssociatedItem
17
15
  */
18
16
  export interface AssociatedItem {
19
17
  /**
20
18
  * The Amazon Standard Identification Number (ASIN) of the item.
21
- * @type {string}
22
- * @memberof AssociatedItem
23
19
  */
24
20
  'asin'?: string;
25
21
  /**
26
22
  * The title of the item.
27
- * @type {string}
28
- * @memberof AssociatedItem
29
23
  */
30
24
  'title'?: string;
31
25
  /**
32
26
  * The total number of items included in the order.
33
- * @type {number}
34
- * @memberof AssociatedItem
35
27
  */
36
28
  'quantity'?: number;
37
29
  /**
38
30
  * The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format.
39
- * @type {string}
40
- * @memberof AssociatedItem
41
31
  */
42
32
  'orderId'?: string;
43
33
  /**
44
34
  * The status of the item.
45
- * @type {string}
46
- * @memberof AssociatedItem
47
35
  */
48
36
  'itemStatus'?: AssociatedItemItemStatusEnum;
49
37
  /**
50
38
  * The brand name of the item.
51
- * @type {string}
52
- * @memberof AssociatedItem
53
39
  */
54
40
  'brandName'?: string;
55
- /**
56
- *
57
- * @type {ItemDelivery}
58
- * @memberof AssociatedItem
59
- */
60
41
  'itemDelivery'?: ItemDelivery;
61
42
  }
62
43
  export declare const AssociatedItemItemStatusEnum: {
@@ -12,32 +12,19 @@
12
12
  import type { Recurrence } from './recurrence';
13
13
  /**
14
14
  * `AvailabilityRecord` to represent the capacity of a resource over a time range.
15
- * @export
16
- * @interface AvailabilityRecord
17
15
  */
18
16
  export interface AvailabilityRecord {
19
17
  /**
20
18
  * Denotes the time from when the resource is available in a day in ISO-8601 format.
21
- * @type {string}
22
- * @memberof AvailabilityRecord
23
19
  */
24
20
  'startTime': string;
25
21
  /**
26
22
  * Denotes the time till when the resource is available in a day in ISO-8601 format.
27
- * @type {string}
28
- * @memberof AvailabilityRecord
29
23
  */
30
24
  'endTime': string;
31
- /**
32
- *
33
- * @type {Recurrence}
34
- * @memberof AvailabilityRecord
35
- */
36
25
  'recurrence'?: Recurrence;
37
26
  /**
38
27
  * Signifies the capacity of a resource which is available.
39
- * @type {number}
40
- * @memberof AvailabilityRecord
41
28
  */
42
29
  'capacity'?: number;
43
30
  }
@@ -11,32 +11,22 @@
11
11
  */
12
12
  /**
13
13
  * Information about the buyer.
14
- * @export
15
- * @interface Buyer
16
14
  */
17
15
  export interface Buyer {
18
16
  /**
19
17
  * The identifier of the buyer.
20
- * @type {string}
21
- * @memberof Buyer
22
18
  */
23
19
  'buyerId'?: string;
24
20
  /**
25
21
  * The name of the buyer.
26
- * @type {string}
27
- * @memberof Buyer
28
22
  */
29
23
  'name'?: string;
30
24
  /**
31
25
  * The phone number of the buyer.
32
- * @type {string}
33
- * @memberof Buyer
34
26
  */
35
27
  'phone'?: string;
36
28
  /**
37
29
  * When true, the service is for an Amazon Prime buyer.
38
- * @type {boolean}
39
- * @memberof Buyer
40
30
  */
41
31
  'isPrimeMember'?: boolean;
42
32
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Response schema for the `cancelReservation` operation.
14
- * @export
15
- * @interface CancelReservationResponse
16
14
  */
17
15
  export interface CancelReservationResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CancelReservationResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Response schema for the `cancelServiceJobByServiceJobId` operation.
14
- * @export
15
- * @interface CancelServiceJobByServiceJobIdResponse
16
14
  */
17
15
  export interface CancelServiceJobByServiceJobIdResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CancelServiceJobByServiceJobIdResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Type of capacity
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const CapacityType: {
18
16
  readonly ScheduledCapacity: "SCHEDULED_CAPACITY";
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Response schema for the `completeServiceJobByServiceJobId` operation.
14
- * @export
15
- * @interface CompleteServiceJobByServiceJobIdResponse
16
14
  */
17
15
  export interface CompleteServiceJobByServiceJobIdResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CompleteServiceJobByServiceJobIdResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -13,26 +13,15 @@ import type { Reservation } from './reservation';
13
13
  import type { Warning } from './warning';
14
14
  /**
15
15
  * `CreateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`.
16
- * @export
17
- * @interface CreateReservationRecord
18
16
  */
19
17
  export interface CreateReservationRecord {
20
- /**
21
- *
22
- * @type {Reservation}
23
- * @memberof CreateReservationRecord
24
- */
25
18
  'reservation'?: Reservation;
26
19
  /**
27
20
  * A list of warnings returned in the sucessful execution response of an API request.
28
- * @type {Array<Warning>}
29
- * @memberof CreateReservationRecord
30
21
  */
31
22
  'warnings'?: Array<Warning>;
32
23
  /**
33
24
  * A list of error responses returned when a request is unsuccessful.
34
- * @type {Array<Error>}
35
- * @memberof CreateReservationRecord
36
25
  */
37
26
  'errors'?: Array<Error>;
38
27
  }