-
Notifications
You must be signed in to change notification settings - Fork 127
/
common.js
92 lines (89 loc) · 2.81 KB
/
common.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
/* eslint-disable camelcase */
const responses = {
'GET /v0/user': {
data: {
attributes: {
profile: {
sign_in: {
service_name: 'idme',
},
email: '[email protected]',
loa: { current: 3 },
first_name: 'Jane',
middle_name: '',
last_name: 'Doe',
gender: 'F',
birth_date: '1985-01-01',
verified: true,
},
veteran_status: {
status: 'OK',
is_veteran: true,
served_in_military: true,
},
in_progress_forms: [],
prefills_available: ['21-526EZ'],
services: [
'facilities',
'hca',
'edu-benefits',
'evss-claims',
'form526',
'user-profile',
'health-records',
'rx',
'messaging',
],
va_profile: {
status: 'OK',
birth_date: '19511118',
family_name: 'Hunter',
gender: 'M',
given_names: ['Julio', 'E'],
active_status: 'active',
facilities: [
{
facility_id: '983',
is_cerner: false,
},
{
facility_id: '984',
is_cerner: false,
},
],
},
},
},
meta: { errors: null },
},
'OPTIONS /v0/maintenance_windows': 'OK',
'GET /v0/maintenance_windows': { data: [] },
'GET /v0/feature_toggles': {
data: {
type: 'feature_toggles',
features: [
{ name: 'showExpandableVamcAlert', value: true },
{ name: 'facilityLocatorShowCommunityCares', value: true },
{ name: 'profile_show_profile_2.0', value: false },
{ name: 'vaOnlineScheduling', value: true },
{ name: 'vaOnlineSchedulingCancel', value: true },
{ name: 'vaOnlineSchedulingRequests', value: true },
{ name: 'vaOnlineSchedulingCommunityCare', value: true },
{ name: 'vaOnlineSchedulingDirect', value: true },
{ name: 'vaOnlineSchedulingPast', value: true },
{ name: 'vaOnlineSchedulingExpressCare', value: true },
{ name: 'vaOnlineSchedulingExpressCareNew', value: true },
{ name: 'vaOnlineSchedulingFlatFacilityPage', value: true },
{ name: 'vaOnlineSchedulingProviderSelection', value: true },
{ name: 'vaOnlineSchedulingCheetah', value: true },
{ name: 'vaOnlineSchedulingHomepageRefresh', value: true },
{ name: 'vaOnlineSchedulingVAOSServiceCCAppointments', value: false },
{ name: 'vaOnlineSchedulingVAOSServiceVAAppointments', value: false },
{ name: 'vaOnlineSchedulingVAOSServiceRequests', value: false },
{ name: 'edu_section_103', value: true },
{ name: 'gibctEybBottomSheet', value: true },
],
},
},
};
module.exports = responses;