-
Notifications
You must be signed in to change notification settings - Fork 2
/
descriptor.enum.ts
111 lines (103 loc) · 2.38 KB
/
descriptor.enum.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import {
AmazonDataAggregator,
FacebookDataAggregator,
FileCodeAmazon,
FileCodeFacebook,
FileCodeGoogle,
FileCodeInstagram,
FileCodeLinkedIn,
FileCodeNetflix,
FileCodeReddit,
FileCodeShopify,
FileCodeTikTok,
FileCodeTwitter,
GoogleDataAggregator,
InstagramDataAggregator,
LinkedInDataAggregator,
NetflixDataAggregator,
TiktokDataAggregator,
RedditDataAggregator,
TwitterDataAggregator,
BinanceDataAggregator,
CoinbaseDataAggregator,
FileCodeSpotify,
SpotifyDataAggregator,
} from '../source';
export type DataSourceCode = GDPRDataSourceCode | APIDataSourceCode;
export enum GDPRDataSourceCode {
AMAZON = 'AMAZON',
FACEBOOK = 'FACEBOOK',
GOOGLE = 'GOOGLE',
INSTAGRAM = 'INSTAGRAM',
LINKEDIN = 'LINKEDIN',
NETFLIX = 'NETFLIX',
SHOPIFY = 'SHOPIFY',
SPOTIFY = 'SPOTIFY',
REDDIT = 'REDDIT',
TIKTOK = 'TIKTOK',
TWITTER = 'TWITTER',
}
export enum APIDataSourceCode {
BINANCE = 'BINANCE',
COINBASE = 'COINBASE',
}
//if 2 codes into APIDataSourceCode and GDPRDataSourceCode are the same, the descriptor service's logic must change
export enum RetrievingProcedureType {
DESKTOP = 'DESKTOP',
MOBILE = 'MOBILE',
}
export enum FileExtension {
ZIP = 'zip',
JSON = 'json',
CSV = 'csv',
TXT = 'txt',
HTML = 'html',
PDF = 'pdf',
EML = 'eml',
ICS = 'ics',
TCX = 'tcx',
MBOX = 'mbox',
XML = 'xml',
JPG = 'jpg',
PNG = 'png',
GIF = 'gif',
VCF = 'vcf',
MP4 = 'mp4',
JS = 'js',
WEBP = 'webp',
BIN = 'bin',
}
export enum LanguageCode {
ENGLISH = 'EN',
ITALIAN = 'IT',
SPANISH = 'ES',
HINDI = 'HI',
FRENCH = 'FR',
GERMAN = 'DE',
CHINESE_SIMPLIFIED = 'ZH-CN',
}
export type FileCode =
| FileCodeAmazon
| FileCodeFacebook
| FileCodeGoogle
| FileCodeInstagram
| FileCodeLinkedIn
| FileCodeNetflix
| FileCodeReddit
| FileCodeShopify
| FileCodeSpotify
| FileCodeTikTok
| FileCodeTwitter;
export type DataAggregator =
| AmazonDataAggregator
| BinanceDataAggregator
| CoinbaseDataAggregator
| FacebookDataAggregator
| GoogleDataAggregator
| InstagramDataAggregator
| LinkedInDataAggregator
| NetflixDataAggregator
| RedditDataAggregator
| SpotifyDataAggregator
| TiktokDataAggregator
| TwitterDataAggregator;