-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpaths.js
132 lines (115 loc) · 4.09 KB
/
paths.js
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
const config = require('config');
const evidenceUploadEnabled = config.get('features.evidenceUpload.enabled');
module.exports = {
health: '/health',
monitoring: '/monitoring',
errors: {
doesNotExist: '/does-not-exist',
internalServerError: '/internal-server-error',
duplicateCaseError: '/duplicate-case-error'
},
policy: {
cookiePolicy: '/cookie-policy',
cookies: '/cookies',
termsAndConditions: '/terms-and-conditions',
privacy: '/privacy-policy',
contactUs: '/contact-us',
requestIbcAppealForm: '/request-ibc-appeal-form',
accessibility: '/accessibility'
},
session: {
root: '/',
createSession: '/create-session',
entry: '/entry',
exit: '/exit',
timeout: '/session-timeout',
sessions: '/sessions',
sessionTimeoutRedirect: '/session-timeout-redirect'
},
start: {
benefitType: '/benefit-type',
postcodeCheck: '/postcode-check',
invalidPostcode: '/invalid-postcode',
independence: '/independence',
createAccount: '/create-account',
idamRedirect: '/idam-redirect',
languagePreference: '/language-preference'
},
appealFormDownload: '/appeal-form-download',
compliance: {
haveAMRN: '/have-you-got-an-mrn',
needRDN: '/need-a-review-decision-notice',
haveContactedDWP: '/have-contacted-dwp',
dwpIssuingOffice: '/dwp-issuing-office',
dwpIssuingOfficeEsa: '/dwp-issuing-office-other',
cantAppeal: '/cant-appeal',
checkMRNDate: '/check-mrn-date',
contactDWP: '/contact-dwp',
mrnDate: '/mrn-date',
mrnOverMonthLate: '/mrn-over-month-late',
mrnOverThirteenMonthsLate: '/mrn-over-thirteen-months-late',
noMRN: '/no-mrn',
stillCanAppeal: '/still-can-appeal'
},
identity: {
areYouAnAppointee: '/are-you-an-appointee',
enterAppellantRole: '/enter-appellant-role',
enterAppellantName: '/enter-appellant-name',
enterAppellantDOB: '/enter-appellant-dob',
enterAppellantNINO: '/enter-appellant-nino',
enterAppellantContactDetails: '/enter-appellant-contact-details',
enterAppellantIBCAReference: '/enter-appellant-ibca-reference',
enterAppellantInternationalContactDetails: '/appellant-international-contact-details',
enterAppellantInMainlandUk: '/appellant-in-mainland-uk'
},
appointee: {
enterAppointeeName: '/enter-appointee-name',
enterAppointeeDOB: '/enter-appointee-dob',
enterAppointeeContactDetails: '/appointee-contact-details',
sameAddress: '/appointee-same-address'
},
smsNotify: {
enterMobile: '/enter-mobile',
sendToNumber: '/send-to-number',
smsConfirmation: '/sms-confirmation',
appellantTextReminders: '/appellant-text-reminders'
},
representative: {
representativeDetailsToHand: '/representative-details-to-hand',
representative: '/representative',
representativeDetails: '/representative-details',
noRepresentativeDetails: '/no-representative-details',
representativeInMainlandUk: '/representative-in-mainland-uk',
representativeInternationalDetails: '/representative-international-details'
},
reasonsForAppealing: {
reasonForAppealing: '/reason-for-appealing',
otherReasonForAppealing: '/other-reason-for-appealing',
sendingEvidence: '/sending-evidence',
evidenceProvide: evidenceUploadEnabled ? '/evidence-provide' : null,
evidenceUpload: evidenceUploadEnabled ? '/evidence-upload' : null,
evidenceDescription: evidenceUploadEnabled ? '/evidence-description' : null
},
hearing: {
hearingArrangements: '/hearing-arrangements',
datesCantAttend: '/dates-cant-attend',
hearingSupport: '/hearing-support',
hearingAvailability: '/hearing-availability',
notAttendingHearing: '/not-attending-hearing',
theHearing: '/the-hearing',
hearingOptions: '/hearing-options'
},
idam: {
idamLogin: '/idam-login',
authenticated: '/authenticated',
signOut: '/sign-out',
signInBack: '/sign-in-back'
},
pcq: '/equality-and-diversity',
checkYourAppeal: '/check-your-appeal',
drafts: '/draft-appeals',
editDraft: '/edit-appeal',
newAppeal: '/new-appeal',
archiveDraft: '/archive-appeal',
confirmation: '/confirmation'
};