forked from 2BAD/bitrix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
entities.ts
47 lines (45 loc) · 1.58 KB
/
entities.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
import { BoolString, ISODate, NumberString } from '../common'
export interface Deal {
// Deal can have user fields
readonly [key: string]: string | null
// tslint:disable-next-line: no-mixed-interface
readonly ID: NumberString
readonly TITLE: string
readonly TYPE_ID: string
readonly STAGE_ID: string
readonly PROBABILITY: NumberString | null
readonly CURRENCY_ID: string
readonly OPPORTUNITY: NumberString
readonly TAX_VALUE: NumberString
readonly LEAD_ID: NumberString
readonly COMPANY_ID: NumberString
readonly CONTACT_ID: NumberString | null
readonly QUOTE_ID: NumberString | null
readonly BEGINDATE: ISODate
readonly CLOSEDATE: ISODate
readonly ASSIGNED_BY_ID: NumberString
readonly CREATED_BY_ID: NumberString
readonly MODIFY_BY_ID: NumberString
readonly DATE_CREATE: ISODate
readonly DATE_MODIFY: ISODate
readonly OPENED: BoolString
readonly CLOSED: BoolString
readonly COMMENTS: string
readonly ADDITIONAL_INFO: NumberString | null
readonly LOCATION_ID: NumberString | null
readonly CATEGORY_ID: NumberString
readonly STAGE_SEMANTIC_ID: NumberString
readonly IS_NEW: BoolString
readonly IS_RECURRING: BoolString
readonly IS_RETURN_CUSTOMER: BoolString
readonly IS_REPEATED_APPROACH: BoolString
readonly SOURCE_ID: NumberString | null
readonly SOURCE_DESCRIPTION: string | null
readonly ORIGINATOR_ID: string
readonly ORIGIN_ID: NumberString
readonly UTM_SOURCE: string | null
readonly UTM_MEDIUM: string | null
readonly UTM_CAMPAIGN: string | null
readonly UTM_CONTENT: string | null
readonly UTM_TERM: string | null
}