forked from MrRefactoring/jira.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomerRequest.ts
40 lines (39 loc) · 1.63 KB
/
customerRequest.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
import { CustomerRequestActions } from './customerRequestActions';
import { CustomerRequestFieldValue } from './customerRequestFieldValue';
import { CustomerRequestLink } from './customerRequestLink';
import { CustomerRequestStatus } from './customerRequestStatus';
import { Date } from './date';
import { PagedAttachment } from './pagedAttachment';
import { PagedComment } from './pagedComment';
import { PagedCustomerRequestStatus } from './pagedCustomerRequestStatus';
import { PagedSlaInformation } from './pagedSlaInformation';
import { PagedUser } from './pagedUser';
import { RequestType } from './requestType';
import { ServiceDesk } from './serviceDesk';
import { User } from './user';
export interface CustomerRequest {
/** ID of the request, as the peer issue ID. */
issueId?: string;
/** Key of the request, as the peer issue key. */
issueKey?: string;
/** ID of the request type for the request. */
requestTypeId?: string;
requestType?: RequestType;
/** ID of the service desk the request belongs to. */
serviceDeskId?: string;
serviceDesk?: ServiceDesk;
createdDate?: Date;
reporter?: User;
/** JSON map of Jira field IDs and their values representing the content of the request. */
requestFieldValues?: CustomerRequestFieldValue[];
currentStatus?: CustomerRequestStatus;
status?: PagedCustomerRequestStatus;
participants?: PagedUser;
sla?: PagedSlaInformation;
attachments?: PagedAttachment;
comments?: PagedComment;
actions?: CustomerRequestActions;
/** List of items that can be expanded in the response by specifying the expand query parameter. */
Expands?: string[];
Links?: CustomerRequestLink;
}