@sp-api-sdk/services-api-v1 1.8.9 → 1.9.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.
- package/README.md +1 -1
- package/dist/cjs/src/api-model/api/service-api.js +860 -49
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +1 -1
- package/dist/cjs/src/api-model/index.js +1 -1
- package/dist/cjs/src/api-model/models/add-appointment-request.js +1 -1
- package/dist/cjs/src/api-model/models/address.js +1 -1
- package/dist/cjs/src/api-model/models/appointment-resource.js +15 -0
- package/dist/cjs/src/api-model/models/appointment-slot-report.js +20 -0
- package/dist/cjs/src/api-model/models/appointment-slot.js +15 -0
- package/dist/cjs/src/api-model/models/appointment-time-input.js +1 -1
- package/dist/cjs/src/api-model/models/appointment-time.js +1 -1
- package/dist/cjs/src/api-model/models/appointment.js +1 -1
- package/dist/cjs/src/api-model/models/assign-appointment-resources-request.js +15 -0
- package/dist/cjs/src/api-model/models/assign-appointment-resources-response-payload.js +15 -0
- package/dist/cjs/src/api-model/models/assign-appointment-resources-response.js +15 -0
- package/dist/cjs/src/api-model/models/associated-item.js +1 -1
- package/dist/cjs/src/api-model/models/availability-record.js +15 -0
- package/dist/cjs/src/api-model/models/buyer.js +1 -1
- package/dist/cjs/src/api-model/models/cancel-reservation-response.js +15 -0
- package/dist/cjs/src/api-model/models/cancel-service-job-by-service-job-id-response.js +1 -1
- package/dist/cjs/src/api-model/models/capacity-type.js +27 -0
- package/dist/cjs/src/api-model/models/complete-service-job-by-service-job-id-response.js +1 -1
- package/dist/cjs/src/api-model/models/create-reservation-record.js +15 -0
- package/dist/cjs/src/api-model/models/create-reservation-request.js +15 -0
- package/dist/cjs/src/api-model/models/create-reservation-response.js +15 -0
- package/dist/cjs/src/api-model/models/create-service-document-upload-destination.js +15 -0
- package/dist/cjs/src/api-model/models/day-of-week.js +30 -0
- package/dist/cjs/src/api-model/models/encryption-details.js +19 -0
- package/dist/cjs/src/api-model/models/fixed-slot-capacity-errors.js +15 -0
- package/dist/cjs/src/api-model/models/fixed-slot-capacity-query.js +15 -0
- package/dist/cjs/src/api-model/models/fixed-slot-capacity.js +15 -0
- package/dist/cjs/src/api-model/models/fixed-slot.js +15 -0
- package/dist/cjs/src/api-model/models/fulfillment-document.js +15 -0
- package/dist/cjs/src/api-model/models/fulfillment-time.js +15 -0
- package/dist/cjs/src/api-model/models/get-appointment-slots-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-service-job-by-service-job-id-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-service-jobs-response.js +1 -1
- package/dist/cjs/src/api-model/models/index.js +38 -0
- package/dist/cjs/src/api-model/models/item-delivery-promise.js +1 -1
- package/dist/cjs/src/api-model/models/item-delivery.js +1 -1
- package/dist/cjs/src/api-model/models/job-listing.js +1 -1
- package/dist/cjs/src/api-model/models/model-error.js +1 -1
- package/dist/cjs/src/api-model/models/poa.js +1 -1
- package/dist/cjs/src/api-model/models/range-capacity.js +15 -0
- package/dist/cjs/src/api-model/models/range-slot-capacity-errors.js +15 -0
- package/dist/cjs/src/api-model/models/range-slot-capacity-query.js +15 -0
- package/dist/cjs/src/api-model/models/range-slot-capacity.js +15 -0
- package/dist/cjs/src/api-model/models/range-slot.js +15 -0
- package/dist/cjs/src/api-model/models/recurrence.js +15 -0
- package/dist/cjs/src/api-model/models/reschedule-appointment-request.js +1 -1
- package/dist/cjs/src/api-model/models/reservation.js +23 -0
- package/dist/cjs/src/api-model/models/scope-of-work.js +1 -1
- package/dist/cjs/src/api-model/models/seller.js +1 -1
- package/dist/cjs/src/api-model/models/service-document-upload-destination.js +15 -0
- package/dist/cjs/src/api-model/models/service-job-provider.js +1 -1
- package/dist/cjs/src/api-model/models/service-job.js +1 -1
- package/dist/cjs/src/api-model/models/service-location.js +1 -1
- package/dist/cjs/src/api-model/models/service-upload-document.js +24 -0
- package/dist/cjs/src/api-model/models/set-appointment-fulfillment-data-request.js +15 -0
- package/dist/cjs/src/api-model/models/set-appointment-response.js +1 -1
- package/dist/cjs/src/api-model/models/technician.js +1 -1
- package/dist/cjs/src/api-model/models/update-reservation-record.js +15 -0
- package/dist/cjs/src/api-model/models/update-reservation-request.js +15 -0
- package/dist/cjs/src/api-model/models/update-reservation-response.js +15 -0
- package/dist/cjs/src/api-model/models/update-schedule-record.js +15 -0
- package/dist/cjs/src/api-model/models/update-schedule-request.js +15 -0
- package/dist/cjs/src/api-model/models/update-schedule-response.js +15 -0
- package/dist/cjs/src/api-model/models/warning.js +1 -1
- package/dist/cjs/src/client.js +77 -0
- package/dist/es/src/api-model/api/service-api.js +860 -49
- package/dist/es/src/api-model/api.js +1 -1
- package/dist/es/src/api-model/base.js +1 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +1 -1
- package/dist/es/src/api-model/index.js +1 -1
- package/dist/es/src/api-model/models/add-appointment-request.js +1 -1
- package/dist/es/src/api-model/models/address.js +1 -1
- package/dist/es/src/api-model/models/appointment-resource.js +14 -0
- package/dist/es/src/api-model/models/appointment-slot-report.js +17 -0
- package/dist/es/src/api-model/models/appointment-slot.js +14 -0
- package/dist/es/src/api-model/models/appointment-time-input.js +1 -1
- package/dist/es/src/api-model/models/appointment-time.js +1 -1
- package/dist/es/src/api-model/models/appointment.js +1 -1
- package/dist/es/src/api-model/models/assign-appointment-resources-request.js +14 -0
- package/dist/es/src/api-model/models/assign-appointment-resources-response-payload.js +14 -0
- package/dist/es/src/api-model/models/assign-appointment-resources-response.js +14 -0
- package/dist/es/src/api-model/models/associated-item.js +1 -1
- package/dist/es/src/api-model/models/availability-record.js +14 -0
- package/dist/es/src/api-model/models/buyer.js +1 -1
- package/dist/es/src/api-model/models/cancel-reservation-response.js +14 -0
- package/dist/es/src/api-model/models/cancel-service-job-by-service-job-id-response.js +1 -1
- package/dist/es/src/api-model/models/capacity-type.js +24 -0
- package/dist/es/src/api-model/models/complete-service-job-by-service-job-id-response.js +1 -1
- package/dist/es/src/api-model/models/create-reservation-record.js +14 -0
- package/dist/es/src/api-model/models/create-reservation-request.js +14 -0
- package/dist/es/src/api-model/models/create-reservation-response.js +14 -0
- package/dist/es/src/api-model/models/create-service-document-upload-destination.js +14 -0
- package/dist/es/src/api-model/models/day-of-week.js +27 -0
- package/dist/es/src/api-model/models/encryption-details.js +16 -0
- package/dist/es/src/api-model/models/fixed-slot-capacity-errors.js +14 -0
- package/dist/es/src/api-model/models/fixed-slot-capacity-query.js +14 -0
- package/dist/es/src/api-model/models/fixed-slot-capacity.js +14 -0
- package/dist/es/src/api-model/models/fixed-slot.js +14 -0
- package/dist/es/src/api-model/models/fulfillment-document.js +14 -0
- package/dist/es/src/api-model/models/fulfillment-time.js +14 -0
- package/dist/es/src/api-model/models/get-appointment-slots-response.js +14 -0
- package/dist/es/src/api-model/models/get-service-job-by-service-job-id-response.js +1 -1
- package/dist/es/src/api-model/models/get-service-jobs-response.js +1 -1
- package/dist/es/src/api-model/models/index.js +38 -0
- package/dist/es/src/api-model/models/item-delivery-promise.js +1 -1
- package/dist/es/src/api-model/models/item-delivery.js +1 -1
- package/dist/es/src/api-model/models/job-listing.js +1 -1
- package/dist/es/src/api-model/models/model-error.js +1 -1
- package/dist/es/src/api-model/models/poa.js +1 -1
- package/dist/es/src/api-model/models/range-capacity.js +14 -0
- package/dist/es/src/api-model/models/range-slot-capacity-errors.js +14 -0
- package/dist/es/src/api-model/models/range-slot-capacity-query.js +14 -0
- package/dist/es/src/api-model/models/range-slot-capacity.js +14 -0
- package/dist/es/src/api-model/models/range-slot.js +14 -0
- package/dist/es/src/api-model/models/recurrence.js +14 -0
- package/dist/es/src/api-model/models/reschedule-appointment-request.js +1 -1
- package/dist/es/src/api-model/models/reservation.js +20 -0
- package/dist/es/src/api-model/models/scope-of-work.js +1 -1
- package/dist/es/src/api-model/models/seller.js +1 -1
- package/dist/es/src/api-model/models/service-document-upload-destination.js +14 -0
- package/dist/es/src/api-model/models/service-job-provider.js +1 -1
- package/dist/es/src/api-model/models/service-job.js +1 -1
- package/dist/es/src/api-model/models/service-location.js +1 -1
- package/dist/es/src/api-model/models/service-upload-document.js +21 -0
- package/dist/es/src/api-model/models/set-appointment-fulfillment-data-request.js +14 -0
- package/dist/es/src/api-model/models/set-appointment-response.js +1 -1
- package/dist/es/src/api-model/models/technician.js +1 -1
- package/dist/es/src/api-model/models/update-reservation-record.js +14 -0
- package/dist/es/src/api-model/models/update-reservation-request.js +14 -0
- package/dist/es/src/api-model/models/update-reservation-response.js +14 -0
- package/dist/es/src/api-model/models/update-schedule-record.js +14 -0
- package/dist/es/src/api-model/models/update-schedule-request.js +14 -0
- package/dist/es/src/api-model/models/update-schedule-response.js +14 -0
- package/dist/es/src/api-model/models/warning.js +1 -1
- package/dist/es/src/client.js +77 -0
- package/dist/types/src/api-model/api/service-api.d.ts +765 -52
- package/dist/types/src/api-model/api.d.ts +1 -1
- package/dist/types/src/api-model/base.d.ts +1 -1
- package/dist/types/src/api-model/common.d.ts +1 -1
- package/dist/types/src/api-model/configuration.d.ts +1 -1
- package/dist/types/src/api-model/index.d.ts +1 -1
- package/dist/types/src/api-model/models/add-appointment-request.d.ts +1 -1
- package/dist/types/src/api-model/models/address.d.ts +1 -1
- package/dist/types/src/api-model/models/appointment-resource.d.ts +24 -0
- package/dist/types/src/api-model/models/appointment-slot-report.d.ts +48 -0
- package/dist/types/src/api-model/models/appointment-slot.d.ts +36 -0
- package/dist/types/src/api-model/models/appointment-time-input.d.ts +1 -1
- package/dist/types/src/api-model/models/appointment-time.d.ts +2 -2
- package/dist/types/src/api-model/models/appointment.d.ts +1 -1
- package/dist/types/src/api-model/models/assign-appointment-resources-request.d.ts +25 -0
- package/dist/types/src/api-model/models/assign-appointment-resources-response-payload.d.ts +25 -0
- package/dist/types/src/api-model/models/assign-appointment-resources-response.d.ts +31 -0
- package/dist/types/src/api-model/models/associated-item.d.ts +1 -1
- package/dist/types/src/api-model/models/availability-record.d.ts +43 -0
- package/dist/types/src/api-model/models/buyer.d.ts +1 -1
- package/dist/types/src/api-model/models/cancel-reservation-response.d.ts +24 -0
- package/dist/types/src/api-model/models/cancel-service-job-by-service-job-id-response.d.ts +2 -2
- package/dist/types/src/api-model/models/capacity-type.d.ts +23 -0
- package/dist/types/src/api-model/models/complete-service-job-by-service-job-id-response.d.ts +2 -2
- package/dist/types/src/api-model/models/create-reservation-record.d.ts +38 -0
- package/dist/types/src/api-model/models/create-reservation-request.d.ts +31 -0
- package/dist/types/src/api-model/models/create-reservation-response.d.ts +31 -0
- package/dist/types/src/api-model/models/create-service-document-upload-destination.d.ts +31 -0
- package/dist/types/src/api-model/models/day-of-week.d.ts +26 -0
- package/dist/types/src/api-model/models/encryption-details.d.ts +40 -0
- package/dist/types/src/api-model/models/fixed-slot-capacity-errors.d.ts +24 -0
- package/dist/types/src/api-model/models/fixed-slot-capacity-query.d.ts +43 -0
- package/dist/types/src/api-model/models/fixed-slot-capacity.d.ts +43 -0
- package/dist/types/src/api-model/models/fixed-slot.d.ts +48 -0
- package/dist/types/src/api-model/models/fulfillment-document.d.ts +30 -0
- package/dist/types/src/api-model/models/fulfillment-time.d.ts +30 -0
- package/dist/types/src/api-model/models/get-appointment-slots-response.d.ts +31 -0
- 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/index.d.ts +38 -0
- package/dist/types/src/api-model/models/item-delivery-promise.d.ts +3 -3
- package/dist/types/src/api-model/models/item-delivery.d.ts +1 -1
- package/dist/types/src/api-model/models/job-listing.d.ts +4 -4
- package/dist/types/src/api-model/models/model-error.d.ts +1 -1
- package/dist/types/src/api-model/models/poa.d.ts +2 -2
- package/dist/types/src/api-model/models/range-capacity.d.ts +32 -0
- package/dist/types/src/api-model/models/range-slot-capacity-errors.d.ts +24 -0
- package/dist/types/src/api-model/models/range-slot-capacity-query.d.ts +37 -0
- package/dist/types/src/api-model/models/range-slot-capacity.d.ts +37 -0
- package/dist/types/src/api-model/models/range-slot.d.ts +36 -0
- package/dist/types/src/api-model/models/recurrence.d.ts +37 -0
- package/dist/types/src/api-model/models/reschedule-appointment-request.d.ts +2 -2
- package/dist/types/src/api-model/models/reservation.d.ts +45 -0
- package/dist/types/src/api-model/models/scope-of-work.d.ts +1 -1
- package/dist/types/src/api-model/models/seller.d.ts +1 -1
- package/dist/types/src/api-model/models/service-document-upload-destination.d.ts +43 -0
- 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 +8 -2
- package/dist/types/src/api-model/models/service-location.d.ts +1 -1
- package/dist/types/src/api-model/models/service-upload-document.d.ts +45 -0
- package/dist/types/src/api-model/models/set-appointment-fulfillment-data-request.d.ts +39 -0
- package/dist/types/src/api-model/models/set-appointment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/technician.d.ts +1 -1
- package/dist/types/src/api-model/models/update-reservation-record.d.ts +38 -0
- package/dist/types/src/api-model/models/update-reservation-request.d.ts +31 -0
- package/dist/types/src/api-model/models/update-reservation-response.d.ts +31 -0
- package/dist/types/src/api-model/models/update-schedule-record.d.ts +38 -0
- package/dist/types/src/api-model/models/update-schedule-request.d.ts +25 -0
- package/dist/types/src/api-model/models/update-schedule-response.d.ts +31 -0
- package/dist/types/src/api-model/models/warning.d.ts +2 -2
- package/package.json +5 -5
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The error response schema for the `getFixedSlotCapacity` operation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FixedSlotCapacityErrors
|
|
16
|
+
*/
|
|
17
|
+
export interface FixedSlotCapacityErrors {
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
* @type {Array<Error>}
|
|
21
|
+
* @memberof FixedSlotCapacityErrors
|
|
22
|
+
*/
|
|
23
|
+
'errors'?: Array<Error>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CapacityType } from './capacity-type';
|
|
13
|
+
/**
|
|
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
|
+
*/
|
|
18
|
+
export interface FixedSlotCapacityQuery {
|
|
19
|
+
/**
|
|
20
|
+
* An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
|
|
21
|
+
* @type {Array<CapacityType>}
|
|
22
|
+
* @memberof FixedSlotCapacityQuery
|
|
23
|
+
*/
|
|
24
|
+
'capacityTypes'?: Array<CapacityType>;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
+
*/
|
|
30
|
+
'slotDuration'?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Start date time from which the capacity slots are being requested in ISO 8601 format.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FixedSlotCapacityQuery
|
|
35
|
+
*/
|
|
36
|
+
'startDateTime': string;
|
|
37
|
+
/**
|
|
38
|
+
* End date time up to which the capacity slots are being requested in ISO 8601 format.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FixedSlotCapacityQuery
|
|
41
|
+
*/
|
|
42
|
+
'endDateTime': string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FixedSlot } from './fixed-slot';
|
|
13
|
+
/**
|
|
14
|
+
* Response schema for the `getFixedSlotCapacity` operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FixedSlotCapacity
|
|
17
|
+
*/
|
|
18
|
+
export interface FixedSlotCapacity {
|
|
19
|
+
/**
|
|
20
|
+
* Resource Identifier.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FixedSlotCapacity
|
|
23
|
+
*/
|
|
24
|
+
'resourceId'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
+
*/
|
|
30
|
+
'slotDuration'?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Array of capacity slots in fixed slot format.
|
|
33
|
+
* @type {Array<FixedSlot>}
|
|
34
|
+
* @memberof FixedSlotCapacity
|
|
35
|
+
*/
|
|
36
|
+
'capacities'?: Array<FixedSlot>;
|
|
37
|
+
/**
|
|
38
|
+
* Next page token, if there are more pages.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FixedSlotCapacity
|
|
41
|
+
*/
|
|
42
|
+
'nextPageToken'?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
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
|
+
*/
|
|
17
|
+
export interface FixedSlot {
|
|
18
|
+
/**
|
|
19
|
+
* Start date time of slot in ISO 8601 format with precision of seconds.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FixedSlot
|
|
22
|
+
*/
|
|
23
|
+
'startDateTime'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FixedSlot
|
|
28
|
+
*/
|
|
29
|
+
'scheduledCapacity'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof FixedSlot
|
|
34
|
+
*/
|
|
35
|
+
'availableCapacity'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof FixedSlot
|
|
40
|
+
*/
|
|
41
|
+
'encumberedCapacity'?: number;
|
|
42
|
+
/**
|
|
43
|
+
* 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
|
+
*/
|
|
47
|
+
'reservedCapacity'?: number;
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Document that captured during service appointment fulfillment that portrays proof of completion
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FulfillmentDocument
|
|
16
|
+
*/
|
|
17
|
+
export interface FulfillmentDocument {
|
|
18
|
+
/**
|
|
19
|
+
* 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
|
+
*/
|
|
23
|
+
'uploadDestinationId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 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
|
+
*/
|
|
29
|
+
'contentSha256'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Input for fulfillment time details
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FulfillmentTime
|
|
16
|
+
*/
|
|
17
|
+
export interface FulfillmentTime {
|
|
18
|
+
/**
|
|
19
|
+
* The date, time in UTC of the fulfillment start time in ISO 8601 format.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FulfillmentTime
|
|
22
|
+
*/
|
|
23
|
+
'startTime'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The date, time in UTC of the fulfillment end time in ISO 8601 format.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FulfillmentTime
|
|
28
|
+
*/
|
|
29
|
+
'endTime'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AppointmentSlotReport } from './appointment-slot-report';
|
|
13
|
+
/**
|
|
14
|
+
* The response of fetching appointment slots based on service context.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetAppointmentSlotsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetAppointmentSlotsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AppointmentSlotReport}
|
|
22
|
+
* @memberof GetAppointmentSlotsResponse
|
|
23
|
+
*/
|
|
24
|
+
'payload'?: AppointmentSlotReport;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetAppointmentSlotsResponse
|
|
29
|
+
*/
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ServiceJob } from './service-job';
|
|
13
13
|
/**
|
|
14
|
-
* The response schema for the
|
|
14
|
+
* The response schema for the `getServiceJobByServiceJobId` operation.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GetServiceJobByServiceJobIdResponse
|
|
17
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { JobListing } from './job-listing';
|
|
13
13
|
/**
|
|
14
|
-
* Response schema for
|
|
14
|
+
* Response schema for the `getServiceJobs` operation.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GetServiceJobsResponse
|
|
17
17
|
*/
|
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
export * from './add-appointment-request';
|
|
2
2
|
export * from './address';
|
|
3
3
|
export * from './appointment';
|
|
4
|
+
export * from './appointment-resource';
|
|
5
|
+
export * from './appointment-slot';
|
|
6
|
+
export * from './appointment-slot-report';
|
|
4
7
|
export * from './appointment-time';
|
|
5
8
|
export * from './appointment-time-input';
|
|
9
|
+
export * from './assign-appointment-resources-request';
|
|
10
|
+
export * from './assign-appointment-resources-response';
|
|
11
|
+
export * from './assign-appointment-resources-response-payload';
|
|
6
12
|
export * from './associated-item';
|
|
13
|
+
export * from './availability-record';
|
|
7
14
|
export * from './buyer';
|
|
15
|
+
export * from './cancel-reservation-response';
|
|
8
16
|
export * from './cancel-service-job-by-service-job-id-response';
|
|
17
|
+
export * from './capacity-type';
|
|
9
18
|
export * from './complete-service-job-by-service-job-id-response';
|
|
19
|
+
export * from './create-reservation-record';
|
|
20
|
+
export * from './create-reservation-request';
|
|
21
|
+
export * from './create-reservation-response';
|
|
22
|
+
export * from './create-service-document-upload-destination';
|
|
23
|
+
export * from './day-of-week';
|
|
24
|
+
export * from './encryption-details';
|
|
25
|
+
export * from './fixed-slot';
|
|
26
|
+
export * from './fixed-slot-capacity';
|
|
27
|
+
export * from './fixed-slot-capacity-errors';
|
|
28
|
+
export * from './fixed-slot-capacity-query';
|
|
29
|
+
export * from './fulfillment-document';
|
|
30
|
+
export * from './fulfillment-time';
|
|
31
|
+
export * from './get-appointment-slots-response';
|
|
10
32
|
export * from './get-service-job-by-service-job-id-response';
|
|
11
33
|
export * from './get-service-jobs-response';
|
|
12
34
|
export * from './item-delivery';
|
|
@@ -14,12 +36,28 @@ export * from './item-delivery-promise';
|
|
|
14
36
|
export * from './job-listing';
|
|
15
37
|
export * from './model-error';
|
|
16
38
|
export * from './poa';
|
|
39
|
+
export * from './range-capacity';
|
|
40
|
+
export * from './range-slot';
|
|
41
|
+
export * from './range-slot-capacity';
|
|
42
|
+
export * from './range-slot-capacity-errors';
|
|
43
|
+
export * from './range-slot-capacity-query';
|
|
44
|
+
export * from './recurrence';
|
|
17
45
|
export * from './reschedule-appointment-request';
|
|
46
|
+
export * from './reservation';
|
|
18
47
|
export * from './scope-of-work';
|
|
19
48
|
export * from './seller';
|
|
49
|
+
export * from './service-document-upload-destination';
|
|
20
50
|
export * from './service-job';
|
|
21
51
|
export * from './service-job-provider';
|
|
22
52
|
export * from './service-location';
|
|
53
|
+
export * from './service-upload-document';
|
|
54
|
+
export * from './set-appointment-fulfillment-data-request';
|
|
23
55
|
export * from './set-appointment-response';
|
|
24
56
|
export * from './technician';
|
|
57
|
+
export * from './update-reservation-record';
|
|
58
|
+
export * from './update-reservation-request';
|
|
59
|
+
export * from './update-reservation-response';
|
|
60
|
+
export * from './update-schedule-record';
|
|
61
|
+
export * from './update-schedule-request';
|
|
62
|
+
export * from './update-schedule-response';
|
|
25
63
|
export * from './warning';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ItemDeliveryPromise {
|
|
18
18
|
/**
|
|
19
|
-
* The date and time of the start of the promised delivery window
|
|
19
|
+
* The date and time of the start of the promised delivery window in ISO 8601 format.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ItemDeliveryPromise
|
|
22
22
|
*/
|
|
23
23
|
'startTime'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The date and time of the end of the promised delivery window
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ServiceJob } from './service-job';
|
|
13
13
|
/**
|
|
14
|
-
* The payload for the
|
|
14
|
+
* The payload for the `getServiceJobs` operation.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface JobListing
|
|
17
17
|
*/
|
|
@@ -23,13 +23,13 @@ export interface JobListing {
|
|
|
23
23
|
*/
|
|
24
24
|
'totalResultSize'?: number;
|
|
25
25
|
/**
|
|
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.
|
|
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
30
|
'nextPageToken'?: string;
|
|
31
31
|
/**
|
|
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.
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Services
|
|
3
|
-
* With the Services API, you can build applications that help service providers get and modify their service orders.
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -36,7 +36,7 @@ export interface Poa {
|
|
|
36
36
|
*/
|
|
37
37
|
'uploadingTechnician'?: string;
|
|
38
38
|
/**
|
|
39
|
-
* The date and time when the POA was uploaded
|
|
39
|
+
* The date and time when the POA was uploaded in ISO 8601 format.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof Poa
|
|
42
42
|
*/
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CapacityType } from './capacity-type';
|
|
13
|
+
import { RangeSlot } from './range-slot';
|
|
14
|
+
/**
|
|
15
|
+
* Range capacity entity where each entry has a capacity type and corresponding slots.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface RangeCapacity
|
|
18
|
+
*/
|
|
19
|
+
export interface RangeCapacity {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CapacityType}
|
|
23
|
+
* @memberof RangeCapacity
|
|
24
|
+
*/
|
|
25
|
+
'capacityType'?: CapacityType;
|
|
26
|
+
/**
|
|
27
|
+
* Array of capacity slots in range slot format.
|
|
28
|
+
* @type {Array<RangeSlot>}
|
|
29
|
+
* @memberof RangeCapacity
|
|
30
|
+
*/
|
|
31
|
+
'slots'?: Array<RangeSlot>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The error response schema for the `getRangeSlotCapacity` operation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RangeSlotCapacityErrors
|
|
16
|
+
*/
|
|
17
|
+
export interface RangeSlotCapacityErrors {
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
* @type {Array<Error>}
|
|
21
|
+
* @memberof RangeSlotCapacityErrors
|
|
22
|
+
*/
|
|
23
|
+
'errors'?: Array<Error>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CapacityType } from './capacity-type';
|
|
13
|
+
/**
|
|
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
|
+
*/
|
|
18
|
+
export interface RangeSlotCapacityQuery {
|
|
19
|
+
/**
|
|
20
|
+
* An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
|
|
21
|
+
* @type {Array<CapacityType>}
|
|
22
|
+
* @memberof RangeSlotCapacityQuery
|
|
23
|
+
*/
|
|
24
|
+
'capacityTypes'?: Array<CapacityType>;
|
|
25
|
+
/**
|
|
26
|
+
* Start date time from which the capacity slots are being requested in ISO 8601 format.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RangeSlotCapacityQuery
|
|
29
|
+
*/
|
|
30
|
+
'startDateTime': string;
|
|
31
|
+
/**
|
|
32
|
+
* End date time up to which the capacity slots are being requested in ISO 8601 format.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RangeSlotCapacityQuery
|
|
35
|
+
*/
|
|
36
|
+
'endDateTime': string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { RangeCapacity } from './range-capacity';
|
|
13
|
+
/**
|
|
14
|
+
* Response schema for the `getRangeSlotCapacity` operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RangeSlotCapacity
|
|
17
|
+
*/
|
|
18
|
+
export interface RangeSlotCapacity {
|
|
19
|
+
/**
|
|
20
|
+
* Resource Identifier.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RangeSlotCapacity
|
|
23
|
+
*/
|
|
24
|
+
'resourceId'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Array of range capacities where each entry is for a specific capacity type.
|
|
27
|
+
* @type {Array<RangeCapacity>}
|
|
28
|
+
* @memberof RangeSlotCapacity
|
|
29
|
+
*/
|
|
30
|
+
'capacities'?: Array<RangeCapacity>;
|
|
31
|
+
/**
|
|
32
|
+
* Next page token, if there are more pages.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RangeSlotCapacity
|
|
35
|
+
*/
|
|
36
|
+
'nextPageToken'?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Capacity slots represented in a format similar to availability rules.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RangeSlot
|
|
16
|
+
*/
|
|
17
|
+
export interface RangeSlot {
|
|
18
|
+
/**
|
|
19
|
+
* Start date time of slot in ISO 8601 format with precision of seconds.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RangeSlot
|
|
22
|
+
*/
|
|
23
|
+
'startDateTime'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* End date time of slot in ISO 8601 format with precision of seconds.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RangeSlot
|
|
28
|
+
*/
|
|
29
|
+
'endDateTime'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Capacity of the slot.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RangeSlot
|
|
34
|
+
*/
|
|
35
|
+
'capacity'?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Services
|
|
3
|
+
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DayOfWeek } from './day-of-week';
|
|
13
|
+
/**
|
|
14
|
+
* Repeated occurrence of an event in a time range.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Recurrence
|
|
17
|
+
*/
|
|
18
|
+
export interface Recurrence {
|
|
19
|
+
/**
|
|
20
|
+
* End time of the recurrence.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Recurrence
|
|
23
|
+
*/
|
|
24
|
+
'endTime': string;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
+
*/
|
|
30
|
+
'daysOfWeek'?: Array<DayOfWeek>;
|
|
31
|
+
/**
|
|
32
|
+
* Days of the month when recurrence is valid.
|
|
33
|
+
* @type {Array<number>}
|
|
34
|
+
* @memberof Recurrence
|
|
35
|
+
*/
|
|
36
|
+
'daysOfMonth'?: Array<number>;
|
|
37
|
+
}
|