Initial commit from monorepo
This commit is contained in:
11
graphql/operations/user/kyc/CreateKYCRequestRussia.graphql
Normal file
11
graphql/operations/user/kyc/CreateKYCRequestRussia.graphql
Normal file
@@ -0,0 +1,11 @@
|
||||
mutation CreateKYCRequestRussia($input: KYCRequestRussiaInput!) {
|
||||
createKycRequestRussia(input: $input) {
|
||||
success
|
||||
kycRequest {
|
||||
uuid
|
||||
contactEmail
|
||||
createdAt
|
||||
countryData
|
||||
}
|
||||
}
|
||||
}
|
||||
16
graphql/operations/user/kyc/GetKYCRequestRussia.graphql
Normal file
16
graphql/operations/user/kyc/GetKYCRequestRussia.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
query GetKYCRequestRussia($uuid: String!) {
|
||||
kycRequest(uuid: $uuid) {
|
||||
uuid
|
||||
userId
|
||||
teamName
|
||||
countryCode
|
||||
contactPerson
|
||||
contactEmail
|
||||
contactPhone
|
||||
approvedBy
|
||||
approvedAt
|
||||
createdAt
|
||||
updatedAt
|
||||
countryData
|
||||
}
|
||||
}
|
||||
16
graphql/operations/user/kyc/GetKYCRequestsRussia.graphql
Normal file
16
graphql/operations/user/kyc/GetKYCRequestsRussia.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
query GetKYCRequestsRussia {
|
||||
kycRequests {
|
||||
uuid
|
||||
userId
|
||||
teamName
|
||||
countryCode
|
||||
contactPerson
|
||||
contactEmail
|
||||
contactPhone
|
||||
approvedBy
|
||||
approvedAt
|
||||
createdAt
|
||||
updatedAt
|
||||
countryData
|
||||
}
|
||||
}
|
||||
9
graphql/operations/user/teams/CreateTeam.graphql
Normal file
9
graphql/operations/user/teams/CreateTeam.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
mutation CreateTeam($input: CreateTeamInput!) {
|
||||
createTeam(input: $input) {
|
||||
team {
|
||||
id
|
||||
name
|
||||
teamType
|
||||
}
|
||||
}
|
||||
}
|
||||
27
graphql/operations/user/teams/GetMe.graphql
Normal file
27
graphql/operations/user/teams/GetMe.graphql
Normal file
@@ -0,0 +1,27 @@
|
||||
query GetMe {
|
||||
me {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
activeTeamId
|
||||
activeTeam {
|
||||
id
|
||||
name
|
||||
logtoOrgId
|
||||
teamType
|
||||
selectedLocation {
|
||||
type
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
}
|
||||
}
|
||||
teams {
|
||||
id
|
||||
name
|
||||
logtoOrgId
|
||||
teamType
|
||||
}
|
||||
}
|
||||
}
|
||||
14
graphql/operations/user/teams/GetMeProfile.graphql
Normal file
14
graphql/operations/user/teams/GetMeProfile.graphql
Normal file
@@ -0,0 +1,14 @@
|
||||
query GetMeProfile {
|
||||
me {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
phone
|
||||
avatarId
|
||||
activeTeamId
|
||||
activeTeam {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
22
graphql/operations/user/teams/GetTeam.graphql
Normal file
22
graphql/operations/user/teams/GetTeam.graphql
Normal file
@@ -0,0 +1,22 @@
|
||||
query GetTeam($teamId: String!) {
|
||||
getTeam(teamId: $teamId) {
|
||||
id
|
||||
name
|
||||
members {
|
||||
user {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
role
|
||||
joinedAt
|
||||
}
|
||||
invitations {
|
||||
uuid
|
||||
email
|
||||
role
|
||||
status
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
14
graphql/operations/user/teams/SwitchTeam.graphql
Normal file
14
graphql/operations/user/teams/SwitchTeam.graphql
Normal file
@@ -0,0 +1,14 @@
|
||||
mutation SwitchTeam($teamId: String!) {
|
||||
switchTeam(teamId: $teamId) {
|
||||
user {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
activeTeamId
|
||||
activeTeam {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
graphql/operations/user/teams/UpdateUser.graphql
Normal file
16
graphql/operations/user/teams/UpdateUser.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
mutation UpdateUser($userId: String!, $input: UpdateUserInput!) {
|
||||
updateUser(userId: $userId, input: $input) {
|
||||
user {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
phone
|
||||
avatarId
|
||||
activeTeamId
|
||||
activeTeam {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user