-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathapi-paths.ts
More file actions
102 lines (102 loc) · 2.06 KB
/
api-paths.ts
File metadata and controls
102 lines (102 loc) · 2.06 KB
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
export const apiPaths = {
test: {
path: '/test',
},
worker: {
signIn: {
path: '/auth/signin',
},
signUp: {
path: '/auth/signup',
},
obtainAccessToken: {
path: '/auth/refresh',
},
sendResetLink: {
path: '/password-reset/forgot-password',
},
resetPassword: {
path: '/password-reset/restore-password',
},
verifyEmail: {
path: '/email-confirmation/email-verification',
withAuthRetry: true,
},
resendEmailVerification: {
path: '/email-confirmation/resend-email-verification',
withAuthRetry: true,
},
kycStart: {
path: '/kyc/start',
withAuthRetry: true,
},
oracles: {
path: '/oracles',
},
jobs: {
path: '/jobs',
},
myJobs: {
path: '/assignment/job',
},
assignJob: {
path: '/assignment/job',
},
resignJob: {
path: '/assignment/resign-job',
},
refreshJob: {
path: '/assignment/refresh',
},
registerAddress: {
path: '/user/register-address',
withAuthRetry: true,
},
signedAddress: {
path: '/kyc/on-chain',
withAuthRetry: true,
},
enableHCaptchaLabeling: {
path: '/labeling/h-captcha/enable',
},
verifyHCaptchaLabeling: {
path: '/labeling/h-captcha/verify',
},
hCaptchaUserStats: {
path: '/labeling/h-captcha/user-stats',
},
dailyHmtSpend: {
path: '/labeling/h-captcha/daily-hmt-spent',
},
registrationInExchangeOracle: {
path: '/exchange-oracle-registration',
},
uiConfig: {
path: '/ui-config',
},
},
operator: {
web3Auth: {
prepareSignature: {
path: '/prepare-signature',
},
signUp: {
path: '/auth/web3/signup',
},
signIn: {
path: '/auth/web3/signin',
},
stats: {
path: '/stats',
},
},
disableOperator: {
path: '/disable-operator',
withAuthRetry: true,
},
enableOperator: {
path: '/enable-operator',
withAuthRetry: true,
},
},
} as const;