/
appointment.ts
78 lines (71 loc) · 1.93 KB
/
appointment.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Services
* With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { AppointmentTime } from './appointment-time';
// May contain unused imports in some cases
// @ts-ignore
import { Poa } from './poa';
// May contain unused imports in some cases
// @ts-ignore
import { Technician } from './technician';
/**
* The details of an appointment.
* @export
* @interface Appointment
*/
export interface Appointment {
/**
* The appointment identifier.
* @type {string}
* @memberof Appointment
*/
'appointmentId'?: string;
/**
* The status of the appointment.
* @type {string}
* @memberof Appointment
*/
'appointmentStatus'?: AppointmentAppointmentStatusEnum;
/**
*
* @type {AppointmentTime}
* @memberof Appointment
*/
'appointmentTime'?: AppointmentTime;
/**
* A list of technicians assigned to the service job.
* @type {Array<Technician>}
* @memberof Appointment
*/
'assignedTechnicians'?: Array<Technician>;
/**
* The appointment identifier.
* @type {string}
* @memberof Appointment
*/
'rescheduledAppointmentId'?: string;
/**
*
* @type {Poa}
* @memberof Appointment
*/
'poa'?: Poa;
}
export const AppointmentAppointmentStatusEnum = {
Active: 'ACTIVE',
Cancelled: 'CANCELLED',
Completed: 'COMPLETED'
} as const;
export type AppointmentAppointmentStatusEnum = typeof AppointmentAppointmentStatusEnum[keyof typeof AppointmentAppointmentStatusEnum];