@sp-api-sdk/services-api-v1 4.0.0 → 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,20 +12,11 @@
12
12
  import type { Reservation } from './reservation';
13
13
  /**
14
14
  * Request schema for the `createReservation` operation.
15
- * @export
16
- * @interface CreateReservationRequest
17
15
  */
18
16
  export interface CreateReservationRequest {
19
17
  /**
20
18
  * Resource (store) identifier.
21
- * @type {string}
22
- * @memberof CreateReservationRequest
23
19
  */
24
20
  'resourceId': string;
25
- /**
26
- *
27
- * @type {Reservation}
28
- * @memberof CreateReservationRequest
29
- */
30
21
  'reservation': Reservation;
31
22
  }
@@ -12,20 +12,11 @@
12
12
  import type { CreateReservationRecord } from './create-reservation-record';
13
13
  /**
14
14
  * Response schema for the `createReservation` operation.
15
- * @export
16
- * @interface CreateReservationResponse
17
15
  */
18
16
  export interface CreateReservationResponse {
19
- /**
20
- *
21
- * @type {CreateReservationRecord}
22
- * @memberof CreateReservationResponse
23
- */
24
17
  'payload'?: CreateReservationRecord;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof CreateReservationResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -12,20 +12,11 @@
12
12
  import type { ServiceDocumentUploadDestination } from './service-document-upload-destination';
13
13
  /**
14
14
  * The response schema for the `createServiceDocumentUploadDestination` operation.
15
- * @export
16
- * @interface CreateServiceDocumentUploadDestination
17
15
  */
18
16
  export interface CreateServiceDocumentUploadDestination {
19
- /**
20
- *
21
- * @type {ServiceDocumentUploadDestination}
22
- * @memberof CreateServiceDocumentUploadDestination
23
- */
24
17
  'payload'?: ServiceDocumentUploadDestination;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof CreateServiceDocumentUploadDestination
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * A range of time.
14
- * @export
15
- * @interface DateTimeRange
16
14
  */
17
15
  export interface DateTimeRange {
18
16
  /**
19
17
  * The beginning of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
20
- * @type {string}
21
- * @memberof DateTimeRange
22
18
  */
23
19
  'startTime': string;
24
20
  /**
25
21
  * The end of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
26
- * @type {string}
27
- * @memberof DateTimeRange
28
22
  */
29
23
  'endTime': string;
30
24
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The day of the week.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const DayOfWeek: {
18
16
  readonly Monday: "MONDAY";
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Encryption details for required client-side encryption and decryption of document contents.
14
- * @export
15
- * @interface EncryptionDetails
16
14
  */
17
15
  export interface EncryptionDetails {
18
16
  /**
19
17
  * The encryption standard required to encrypt or decrypt the document contents.
20
- * @type {string}
21
- * @memberof EncryptionDetails
22
18
  */
23
19
  'standard': EncryptionDetailsStandardEnum;
24
20
  /**
25
21
  * The vector to encrypt or decrypt the document contents using Cipher Block Chaining (CBC).
26
- * @type {string}
27
- * @memberof EncryptionDetails
28
22
  */
29
23
  'initializationVector': string;
30
24
  /**
31
25
  * The encryption key used to encrypt or decrypt the document contents.
32
- * @type {string}
33
- * @memberof EncryptionDetails
34
26
  */
35
27
  'key': string;
36
28
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The error response schema for the `getFixedSlotCapacity` operation.
14
- * @export
15
- * @interface FixedSlotCapacityErrors
16
14
  */
17
15
  export interface FixedSlotCapacityErrors {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof FixedSlotCapacityErrors
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -12,32 +12,22 @@
12
12
  import type { CapacityType } from './capacity-type';
13
13
  /**
14
14
  * Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
15
- * @export
16
- * @interface FixedSlotCapacityQuery
17
15
  */
18
16
  export interface FixedSlotCapacityQuery {
19
17
  /**
20
18
  * An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
21
- * @type {Array<CapacityType>}
22
- * @memberof FixedSlotCapacityQuery
23
19
  */
24
20
  'capacityTypes'?: Array<CapacityType>;
25
21
  /**
26
22
  * Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360.
27
- * @type {number}
28
- * @memberof FixedSlotCapacityQuery
29
23
  */
30
24
  'slotDuration'?: number;
31
25
  /**
32
26
  * Start date time from which the capacity slots are being requested in ISO 8601 format.
33
- * @type {string}
34
- * @memberof FixedSlotCapacityQuery
35
27
  */
36
28
  'startDateTime': string;
37
29
  /**
38
30
  * End date time up to which the capacity slots are being requested in ISO 8601 format.
39
- * @type {string}
40
- * @memberof FixedSlotCapacityQuery
41
31
  */
42
32
  'endDateTime': string;
43
33
  }
@@ -12,32 +12,22 @@
12
12
  import type { FixedSlot } from './fixed-slot';
13
13
  /**
14
14
  * Response schema for the `getFixedSlotCapacity` operation.
15
- * @export
16
- * @interface FixedSlotCapacity
17
15
  */
18
16
  export interface FixedSlotCapacity {
19
17
  /**
20
18
  * Resource Identifier.
21
- * @type {string}
22
- * @memberof FixedSlotCapacity
23
19
  */
24
20
  'resourceId'?: string;
25
21
  /**
26
22
  * The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= `slotDuration` <= 360.
27
- * @type {number}
28
- * @memberof FixedSlotCapacity
29
23
  */
30
24
  'slotDuration'?: number;
31
25
  /**
32
26
  * Array of capacity slots in fixed slot format.
33
- * @type {Array<FixedSlot>}
34
- * @memberof FixedSlotCapacity
35
27
  */
36
28
  'capacities'?: Array<FixedSlot>;
37
29
  /**
38
30
  * Next page token, if there are more pages.
39
- * @type {string}
40
- * @memberof FixedSlotCapacity
41
31
  */
42
32
  'nextPageToken'?: string;
43
33
  }
@@ -11,38 +11,26 @@
11
11
  */
12
12
  /**
13
13
  * In this slot format each slot only has the requested capacity types. This slot size is as specified by slot duration.
14
- * @export
15
- * @interface FixedSlot
16
14
  */
17
15
  export interface FixedSlot {
18
16
  /**
19
17
  * Start date time of slot in ISO 8601 format with precision of seconds.
20
- * @type {string}
21
- * @memberof FixedSlot
22
18
  */
23
19
  'startDateTime'?: string;
24
20
  /**
25
21
  * Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule.
26
- * @type {number}
27
- * @memberof FixedSlot
28
22
  */
29
23
  'scheduledCapacity'?: number;
30
24
  /**
31
25
  * Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations.
32
- * @type {number}
33
- * @memberof FixedSlot
34
26
  */
35
27
  'availableCapacity'?: number;
36
28
  /**
37
29
  * Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders.
38
- * @type {number}
39
- * @memberof FixedSlot
40
30
  */
41
31
  'encumberedCapacity'?: number;
42
32
  /**
43
33
  * Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch.
44
- * @type {number}
45
- * @memberof FixedSlot
46
34
  */
47
35
  'reservedCapacity'?: number;
48
36
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Document that captured during service appointment fulfillment that portrays proof of completion
14
- * @export
15
- * @interface FulfillmentDocument
16
14
  */
17
15
  export interface FulfillmentDocument {
18
16
  /**
19
17
  * The identifier of the upload destination. Get this value by calling the `createServiceDocumentUploadDestination` operation of the Services API.
20
- * @type {string}
21
- * @memberof FulfillmentDocument
22
18
  */
23
19
  'uploadDestinationId'?: string;
24
20
  /**
25
21
  * Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit.
26
- * @type {string}
27
- * @memberof FulfillmentDocument
28
22
  */
29
23
  'contentSha256'?: string;
30
24
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Input for fulfillment time details
14
- * @export
15
- * @interface FulfillmentTime
16
14
  */
17
15
  export interface FulfillmentTime {
18
16
  /**
19
17
  * The date, time in UTC of the fulfillment start time in ISO 8601 format.
20
- * @type {string}
21
- * @memberof FulfillmentTime
22
18
  */
23
19
  'startTime'?: string;
24
20
  /**
25
21
  * The date, time in UTC of the fulfillment end time in ISO 8601 format.
26
- * @type {string}
27
- * @memberof FulfillmentTime
28
22
  */
29
23
  'endTime'?: string;
30
24
  }
@@ -12,20 +12,11 @@
12
12
  import type { AppointmentSlotReport } from './appointment-slot-report';
13
13
  /**
14
14
  * The response of fetching appointment slots based on service context.
15
- * @export
16
- * @interface GetAppointmentSlotsResponse
17
15
  */
18
16
  export interface GetAppointmentSlotsResponse {
19
- /**
20
- *
21
- * @type {AppointmentSlotReport}
22
- * @memberof GetAppointmentSlotsResponse
23
- */
24
17
  'payload'?: AppointmentSlotReport;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof GetAppointmentSlotsResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -12,20 +12,11 @@
12
12
  import type { ServiceJob } from './service-job';
13
13
  /**
14
14
  * The response schema for the `getServiceJobByServiceJobId` operation.
15
- * @export
16
- * @interface GetServiceJobByServiceJobIdResponse
17
15
  */
18
16
  export interface GetServiceJobByServiceJobIdResponse {
19
- /**
20
- *
21
- * @type {ServiceJob}
22
- * @memberof GetServiceJobByServiceJobIdResponse
23
- */
24
17
  'payload'?: ServiceJob;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof GetServiceJobByServiceJobIdResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -12,20 +12,11 @@
12
12
  import type { JobListing } from './job-listing';
13
13
  /**
14
14
  * Response schema for the `getServiceJobs` operation.
15
- * @export
16
- * @interface GetServiceJobsResponse
17
15
  */
18
16
  export interface GetServiceJobsResponse {
19
- /**
20
- *
21
- * @type {JobListing}
22
- * @memberof GetServiceJobsResponse
23
- */
24
17
  'payload'?: JobListing;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof GetServiceJobsResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Promised delivery information for the item.
14
- * @export
15
- * @interface ItemDeliveryPromise
16
14
  */
17
15
  export interface ItemDeliveryPromise {
18
16
  /**
19
17
  * The date and time of the start of the promised delivery window in ISO 8601 format.
20
- * @type {string}
21
- * @memberof ItemDeliveryPromise
22
18
  */
23
19
  'startTime'?: string;
24
20
  /**
25
21
  * The date and time of the end of the promised delivery window in ISO 8601 format.
26
- * @type {string}
27
- * @memberof ItemDeliveryPromise
28
22
  */
29
23
  'endTime'?: string;
30
24
  }
@@ -12,20 +12,11 @@
12
12
  import type { ItemDeliveryPromise } from './item-delivery-promise';
13
13
  /**
14
14
  * Delivery information for the item.
15
- * @export
16
- * @interface ItemDelivery
17
15
  */
18
16
  export interface ItemDelivery {
19
17
  /**
20
18
  * The date and time of the latest Estimated Delivery Date (EDD) of all the items with an EDD. In ISO 8601 format.
21
- * @type {string}
22
- * @memberof ItemDelivery
23
19
  */
24
20
  'estimatedDeliveryDate'?: string;
25
- /**
26
- *
27
- * @type {ItemDeliveryPromise}
28
- * @memberof ItemDelivery
29
- */
30
21
  'itemDeliveryPromise'?: ItemDeliveryPromise;
31
22
  }
@@ -12,32 +12,22 @@
12
12
  import type { ServiceJob } from './service-job';
13
13
  /**
14
14
  * The payload for the `getServiceJobs` operation.
15
- * @export
16
- * @interface JobListing
17
15
  */
18
16
  export interface JobListing {
19
17
  /**
20
18
  * Total result size of the query result.
21
- * @type {number}
22
- * @memberof JobListing
23
19
  */
24
20
  'totalResultSize'?: number;
25
21
  /**
26
22
  * 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
- * @type {string}
28
- * @memberof JobListing
29
23
  */
30
24
  'nextPageToken'?: string;
31
25
  /**
32
26
  * 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
- * @type {string}
34
- * @memberof JobListing
35
27
  */
36
28
  'previousPageToken'?: string;
37
29
  /**
38
30
  * List of job details for the given input.
39
- * @type {Array<ServiceJob>}
40
- * @memberof JobListing
41
31
  */
42
32
  'jobs'?: Array<ServiceJob>;
43
33
  }
@@ -11,32 +11,22 @@
11
11
  */
12
12
  /**
13
13
  * Error response returned when the request is unsuccessful.
14
- * @export
15
- * @interface ModelError
16
14
  */
17
15
  export interface ModelError {
18
16
  /**
19
17
  * An error code that identifies the type of error that occurred.
20
- * @type {string}
21
- * @memberof ModelError
22
18
  */
23
19
  'code': string;
24
20
  /**
25
21
  * A message that describes the error condition.
26
- * @type {string}
27
- * @memberof ModelError
28
22
  */
29
23
  'message': string;
30
24
  /**
31
25
  * Additional details that can help the caller understand or fix the issue.
32
- * @type {string}
33
- * @memberof ModelError
34
26
  */
35
27
  'details'?: string;
36
28
  /**
37
29
  * The type of error.
38
- * @type {string}
39
- * @memberof ModelError
40
30
  */
41
31
  'errorLevel'?: ModelErrorErrorLevelEnum;
42
32
  }
@@ -13,38 +13,23 @@ import type { AppointmentTime } from './appointment-time';
13
13
  import type { Technician } from './technician';
14
14
  /**
15
15
  * Proof of Appointment (POA) details.
16
- * @export
17
- * @interface Poa
18
16
  */
19
17
  export interface Poa {
20
- /**
21
- *
22
- * @type {AppointmentTime}
23
- * @memberof Poa
24
- */
25
18
  'appointmentTime'?: AppointmentTime;
26
19
  /**
27
20
  * A list of technicians.
28
- * @type {Array<Technician>}
29
- * @memberof Poa
30
21
  */
31
22
  'technicians'?: Array<Technician>;
32
23
  /**
33
24
  * The identifier of the technician who uploaded the POA.
34
- * @type {string}
35
- * @memberof Poa
36
25
  */
37
26
  'uploadingTechnician'?: string;
38
27
  /**
39
28
  * The date and time when the POA was uploaded in ISO 8601 format.
40
- * @type {string}
41
- * @memberof Poa
42
29
  */
43
30
  'uploadTime'?: string;
44
31
  /**
45
32
  * The type of POA uploaded.
46
- * @type {string}
47
- * @memberof Poa
48
33
  */
49
34
  'poaType'?: PoaPoaTypeEnum;
50
35
  }
@@ -13,20 +13,11 @@ import type { CapacityType } from './capacity-type';
13
13
  import type { RangeSlot } from './range-slot';
14
14
  /**
15
15
  * Range capacity entity where each entry has a capacity type and corresponding slots.
16
- * @export
17
- * @interface RangeCapacity
18
16
  */
19
17
  export interface RangeCapacity {
20
- /**
21
- *
22
- * @type {CapacityType}
23
- * @memberof RangeCapacity
24
- */
25
18
  'capacityType'?: CapacityType;
26
19
  /**
27
20
  * Array of capacity slots in range slot format.
28
- * @type {Array<RangeSlot>}
29
- * @memberof RangeCapacity
30
21
  */
31
22
  'slots'?: Array<RangeSlot>;
32
23
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The error response schema for the `getRangeSlotCapacity` operation.
14
- * @export
15
- * @interface RangeSlotCapacityErrors
16
14
  */
17
15
  export interface RangeSlotCapacityErrors {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof RangeSlotCapacityErrors
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -12,26 +12,18 @@
12
12
  import type { CapacityType } from './capacity-type';
13
13
  /**
14
14
  * Request schema for the `getRangeSlotCapacity` operation. This schema is used to define the time range and capacity types that are being queried.
15
- * @export
16
- * @interface RangeSlotCapacityQuery
17
15
  */
18
16
  export interface RangeSlotCapacityQuery {
19
17
  /**
20
18
  * An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
21
- * @type {Array<CapacityType>}
22
- * @memberof RangeSlotCapacityQuery
23
19
  */
24
20
  'capacityTypes'?: Array<CapacityType>;
25
21
  /**
26
22
  * Start date time from which the capacity slots are being requested in ISO 8601 format.
27
- * @type {string}
28
- * @memberof RangeSlotCapacityQuery
29
23
  */
30
24
  'startDateTime': string;
31
25
  /**
32
26
  * End date time up to which the capacity slots are being requested in ISO 8601 format.
33
- * @type {string}
34
- * @memberof RangeSlotCapacityQuery
35
27
  */
36
28
  'endDateTime': string;
37
29
  }
@@ -12,26 +12,18 @@
12
12
  import type { RangeCapacity } from './range-capacity';
13
13
  /**
14
14
  * Response schema for the `getRangeSlotCapacity` operation.
15
- * @export
16
- * @interface RangeSlotCapacity
17
15
  */
18
16
  export interface RangeSlotCapacity {
19
17
  /**
20
18
  * Resource Identifier.
21
- * @type {string}
22
- * @memberof RangeSlotCapacity
23
19
  */
24
20
  'resourceId'?: string;
25
21
  /**
26
22
  * Array of range capacities where each entry is for a specific capacity type.
27
- * @type {Array<RangeCapacity>}
28
- * @memberof RangeSlotCapacity
29
23
  */
30
24
  'capacities'?: Array<RangeCapacity>;
31
25
  /**
32
26
  * Next page token, if there are more pages.
33
- * @type {string}
34
- * @memberof RangeSlotCapacity
35
27
  */
36
28
  'nextPageToken'?: string;
37
29
  }
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Capacity slots represented in a format similar to availability rules.
14
- * @export
15
- * @interface RangeSlot
16
14
  */
17
15
  export interface RangeSlot {
18
16
  /**
19
17
  * Start date time of slot in ISO 8601 format with precision of seconds.
20
- * @type {string}
21
- * @memberof RangeSlot
22
18
  */
23
19
  'startDateTime'?: string;
24
20
  /**
25
21
  * End date time of slot in ISO 8601 format with precision of seconds.
26
- * @type {string}
27
- * @memberof RangeSlot
28
22
  */
29
23
  'endDateTime'?: string;
30
24
  /**
31
25
  * Capacity of the slot.
32
- * @type {number}
33
- * @memberof RangeSlot
34
26
  */
35
27
  'capacity'?: number;
36
28
  }
@@ -12,26 +12,18 @@
12
12
  import type { DayOfWeek } from './day-of-week';
13
13
  /**
14
14
  * Repeated occurrence of an event in a time range.
15
- * @export
16
- * @interface Recurrence
17
15
  */
18
16
  export interface Recurrence {
19
17
  /**
20
18
  * End time of the recurrence.
21
- * @type {string}
22
- * @memberof Recurrence
23
19
  */
24
20
  'endTime': string;
25
21
  /**
26
22
  * Days of the week when recurrence is valid. If the schedule is valid every Monday, input will only contain `MONDAY` in the list.
27
- * @type {Array<DayOfWeek>}
28
- * @memberof Recurrence
29
23
  */
30
24
  'daysOfWeek'?: Array<DayOfWeek>;
31
25
  /**
32
26
  * Days of the month when recurrence is valid.
33
- * @type {Array<number>}
34
- * @memberof Recurrence
35
27
  */
36
28
  'daysOfMonth'?: Array<number>;
37
29
  }
@@ -12,20 +12,11 @@
12
12
  import type { AppointmentTimeInput } from './appointment-time-input';
13
13
  /**
14
14
  * Input for rescheduled appointment operation.
15
- * @export
16
- * @interface RescheduleAppointmentRequest
17
15
  */
18
16
  export interface RescheduleAppointmentRequest {
19
- /**
20
- *
21
- * @type {AppointmentTimeInput}
22
- * @memberof RescheduleAppointmentRequest
23
- */
24
17
  'appointmentTime': AppointmentTimeInput;
25
18
  /**
26
19
  * The appointment reschedule reason code.
27
- * @type {string}
28
- * @memberof RescheduleAppointmentRequest
29
20
  */
30
21
  'rescheduleReasonCode': string;
31
22
  }