qe-fe-automation
Version:
FE test automation framework using cypress
2,049 lines • 365 kB
text/typescript
export const LiquidUserMESchema = {
type: 'object',
properties: {
sub: {
type: 'string'
},
name: {
type: 'string'
},
family_name: {
type: 'string'
},
given_name: {
type: 'string'
},
picture: {
type: 'null'
},
email: {
type: 'string'
},
phone_number: {
type: 'string'
},
accountId: {
type: 'string'
},
stripePublishableKey: {
type: 'string'
},
accountsToOnboard: {
type: 'array',
items: {}
},
roles: {
type: 'array',
items: [
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
}
]
},
company: {
type: 'object',
properties: {
uuid: {
type: 'string'
},
domain: {
type: 'string'
},
name: {
type: 'string'
},
logoUrl: {
type: 'null'
},
accounts: {
type: 'array',
items: [
{
type: 'object',
properties: {
id: {
type: 'string'
},
currency: {
type: 'string'
},
country: {
type: 'string'
},
status: {
type: 'string'
},
shippableCountries: {
type: 'array',
items: [
{
type: 'string'
},
{
type: 'string'
}
]
}
}
},
{
type: 'object',
properties: {
id: {
type: 'string'
},
currency: {
type: 'string'
},
country: {
type: 'string'
},
status: {
type: 'string'
},
shippableCountries: {
type: 'array',
items: [
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
}
]
}
}
},
{
type: 'object',
properties: {
id: {
type: 'string'
},
currency: {
type: 'string'
},
country: {
type: 'string'
},
status: {
type: 'string'
},
shippableCountries: {
type: 'array',
items: [
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
},
{
type: 'string'
}
]
}
}
}
]
},
cardFeeds: {
type: 'array',
items: {}
},
solidStatus: {
type: 'string'
},
liquidEnabled: {
type: 'boolean'
},
expenseEnabled: {
type: 'boolean'
},
navanExpenseTabEnabled: {
type: 'boolean'
},
solidEnabled: {
type: 'boolean'
},
travelEnabled: {
type: 'boolean'
},
perDiemExpenseEnabled: {
type: 'boolean'
},
erp: {
type: 'string'
},
isComtravo: {
type: 'boolean'
},
companySupport: {
type: 'object',
properties: {
email: {
type: 'string'
},
name: {
type: 'string'
}
}
},
accountOwners: {
type: 'array',
items: [
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'string'
},
fullName: {
type: 'string'
},
picture: {
type: 'string'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
},
{
type: 'object',
properties: {
uuid: {
type: 'string'
},
email: {
type: 'string'
},
givenName: {
type: 'string'
},
familyName: {
type: 'string'
},
pictureHash: {
type: 'null'
},
fullName: {
type: 'string'
},
picture: {
type: 'null'
}
}
}
]
},
csm: {
type: 'null'
},
directReimbursementsEnabled: {
type: 'boolean'
},
purchaseEnabled: {
type: 'boolean'
},
policyVersion: {
type: 'string'
},
issuingEnabled: {
type: 'boolean'
}
}
},
companyLiquidEnabled: {
type: 'boolean'
},
impersonatorUuid: {
type: 'null'
},
impersonatorEmail: {
type: 'null'
},
production: {
type: 'boolean'
},
dateCreated: {
type: 'string'
},
dateModified: {
type: 'string'
},
companyUuid: {
type: 'string'
},
guest: {
type: 'boolean'
},
enabled: {
type: 'boolean'
},
liquidOwner: {
type: 'boolean'
},
liquidAdmin: {
type: 'boolean'
},
liquidAdminRo: {
type: 'boolean'
},
billpayPaymentApprover: {
type: 'boolean'
},
controlPanel: {
type: 'boolean'
},
helpDesk: {
type: 'boolean'
},
csm: {
type: 'boolean'
},
riskOps: {
type: 'boolean'
},
riskOpsRo: {
type: 'boolean'
},
approver: {
type: 'boolean'
},
employeeId: {
type: 'null'
},
title: {
type: 'null'
},
policyLevel: {
type: 'string'
},
department: {
type: 'null'
},
billTo: {
type: 'null'
},
region: {
type: 'null'
},
subsidiary: {
type: 'null'
},
physicalCardCount: {
type: 'integer'
},
purchaseCardCount: {
type: 'integer'
},
purchaseCardRequestCount: {
type: 'integer'
},
liquidPolicy: {
type: 'object',
properties: {
allowPhysicalCard: {
type: 'boolean'
},
physicalCardDuringTripsOnly: {
type: 'boolean'
},
receiptRequired: {
type: 'boolean'
},
receiptRequiredAmountsAbove: {
type: 'object',
properties: {
EUR: {
type: 'integer'
},
GBP: {
type: 'integer'
},
USD: {
type: 'integer'
}
}
},
manualExpenseReceiptRequired: {
type: 'boolean'
},
manualExpenseReceiptRequiredAmountsAbove: {
type: 'object',
properties: {
EUR: {
type: 'integer'
},
GBP: {
type: