Initial commit from monorepo
This commit is contained in:
28
graphql/operations/public/exchange/GetLocationOffers.graphql
Normal file
28
graphql/operations/public/exchange/GetLocationOffers.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
query GetLocationOffers($locationUuid: String!) {
|
||||
getOffers(locationUuid: $locationUuid, status: "ACTIVE") {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
28
graphql/operations/public/exchange/GetOffer.graphql
Normal file
28
graphql/operations/public/exchange/GetOffer.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
query GetOffer($uuid: String!) {
|
||||
getOffer(uuid: $uuid) {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
29
graphql/operations/public/exchange/GetOffers.graphql
Normal file
29
graphql/operations/public/exchange/GetOffers.graphql
Normal file
@@ -0,0 +1,29 @@
|
||||
query GetOffers($status: String, $productUuid: String, $locationUuid: String, $categoryName: String, $teamUuid: String, $limit: Int, $offset: Int) {
|
||||
getOffers(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid, limit: $limit, offset: $offset) {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
getOffersCount(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid)
|
||||
}
|
||||
9
graphql/operations/public/exchange/GetProduct.graphql
Normal file
9
graphql/operations/public/exchange/GetProduct.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
query GetProduct($uuid: String!) {
|
||||
getProducts {
|
||||
uuid
|
||||
name
|
||||
categoryId
|
||||
categoryName
|
||||
terminusSchemaId
|
||||
}
|
||||
}
|
||||
28
graphql/operations/public/exchange/GetProductOffers.graphql
Normal file
28
graphql/operations/public/exchange/GetProductOffers.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
query GetProductOffers($productUuid: String!) {
|
||||
getOffers(productUuid: $productUuid, status: "ACTIVE") {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
9
graphql/operations/public/exchange/GetProducts.graphql
Normal file
9
graphql/operations/public/exchange/GetProducts.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
query GetProducts {
|
||||
getProducts {
|
||||
uuid
|
||||
name
|
||||
categoryId
|
||||
categoryName
|
||||
terminusSchemaId
|
||||
}
|
||||
}
|
||||
28
graphql/operations/public/exchange/GetSupplierOffers.graphql
Normal file
28
graphql/operations/public/exchange/GetSupplierOffers.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
query GetSupplierOffers($teamUuid: String!) {
|
||||
getOffers(teamUuid: $teamUuid, status: "ACTIVE") {
|
||||
uuid
|
||||
teamUuid
|
||||
status
|
||||
# Location
|
||||
locationUuid
|
||||
locationName
|
||||
locationCountry
|
||||
locationCountryCode
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
# Product
|
||||
productUuid
|
||||
productName
|
||||
categoryName
|
||||
# Price
|
||||
quantity
|
||||
unit
|
||||
pricePerUnit
|
||||
currency
|
||||
# Misc
|
||||
description
|
||||
validUntil
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
query GetSupplierProfile($uuid: String!) {
|
||||
getSupplierProfile(uuid: $uuid) {
|
||||
uuid
|
||||
teamUuid
|
||||
name
|
||||
description
|
||||
country
|
||||
logoUrl
|
||||
isVerified
|
||||
isActive
|
||||
offersCount
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
query GetSupplierProfiles($country: String, $isVerified: Boolean, $limit: Int, $offset: Int) {
|
||||
getSupplierProfiles(country: $country, isVerified: $isVerified, limit: $limit, offset: $offset) {
|
||||
uuid
|
||||
teamUuid
|
||||
name
|
||||
description
|
||||
country
|
||||
countryCode
|
||||
logoUrl
|
||||
isVerified
|
||||
isActive
|
||||
offersCount
|
||||
latitude
|
||||
longitude
|
||||
}
|
||||
getSupplierProfilesCount(country: $country, isVerified: $isVerified)
|
||||
}
|
||||
19
graphql/operations/public/geo/FindRoutes.graphql
Normal file
19
graphql/operations/public/geo/FindRoutes.graphql
Normal file
@@ -0,0 +1,19 @@
|
||||
query FindRoutes($fromUuid: String!, $toUuid: String!, $limit: Int) {
|
||||
findRoutes(fromUuid: $fromUuid, toUuid: $toUuid, limit: $limit) {
|
||||
totalDistanceKm
|
||||
totalTimeSeconds
|
||||
stages {
|
||||
fromUuid
|
||||
fromName
|
||||
fromLat
|
||||
fromLon
|
||||
toUuid
|
||||
toName
|
||||
toLat
|
||||
toLon
|
||||
distanceKm
|
||||
travelTimeSeconds
|
||||
transportType
|
||||
}
|
||||
}
|
||||
}
|
||||
6
graphql/operations/public/geo/GetAutoRoute.graphql
Normal file
6
graphql/operations/public/geo/GetAutoRoute.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
query GetAutoRoute($fromLat: Float!, $fromLon: Float!, $toLat: Float!, $toLon: Float!) {
|
||||
autoRoute(fromLat: $fromLat, fromLon: $fromLon, toLat: $toLat, toLon: $toLon) {
|
||||
distanceKm
|
||||
geometry
|
||||
}
|
||||
}
|
||||
20
graphql/operations/public/geo/GetNode.graphql
Normal file
20
graphql/operations/public/geo/GetNode.graphql
Normal file
@@ -0,0 +1,20 @@
|
||||
query GetNode($uuid: String!) {
|
||||
node(uuid: $uuid) {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
syncedAt
|
||||
edges {
|
||||
toUuid
|
||||
toName
|
||||
toLatitude
|
||||
toLongitude
|
||||
distanceKm
|
||||
travelTimeSeconds
|
||||
transportType
|
||||
}
|
||||
}
|
||||
}
|
||||
40
graphql/operations/public/geo/GetNodeConnections.graphql
Normal file
40
graphql/operations/public/geo/GetNodeConnections.graphql
Normal file
@@ -0,0 +1,40 @@
|
||||
query GetNodeConnections($uuid: String!, $limitAuto: Int, $limitRail: Int) {
|
||||
nodeConnections(uuid: $uuid, limitAuto: $limitAuto, limitRail: $limitRail) {
|
||||
hub {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
syncedAt
|
||||
}
|
||||
railNode {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
syncedAt
|
||||
}
|
||||
autoEdges {
|
||||
toUuid
|
||||
toName
|
||||
toLatitude
|
||||
toLongitude
|
||||
distanceKm
|
||||
travelTimeSeconds
|
||||
transportType
|
||||
}
|
||||
railEdges {
|
||||
toUuid
|
||||
toName
|
||||
toLatitude
|
||||
toLongitude
|
||||
distanceKm
|
||||
travelTimeSeconds
|
||||
transportType
|
||||
}
|
||||
}
|
||||
}
|
||||
13
graphql/operations/public/geo/GetNodes.graphql
Normal file
13
graphql/operations/public/geo/GetNodes.graphql
Normal file
@@ -0,0 +1,13 @@
|
||||
query GetNodes($limit: Int, $offset: Int, $transportType: String) {
|
||||
nodes(limit: $limit, offset: $offset, transportType: $transportType) {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
syncedAt
|
||||
transportTypes
|
||||
}
|
||||
nodesCount(transportType: $transportType)
|
||||
}
|
||||
6
graphql/operations/public/geo/GetRailRoute.graphql
Normal file
6
graphql/operations/public/geo/GetRailRoute.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
query GetRailRoute($fromLat: Float!, $fromLon: Float!, $toLat: Float!, $toLon: Float!) {
|
||||
railRoute(fromLat: $fromLat, fromLon: $fromLon, toLat: $toLat, toLon: $toLon) {
|
||||
distanceKm
|
||||
geometry
|
||||
}
|
||||
}
|
||||
8
graphql/operations/team/billing/GetTeamBalance.graphql
Normal file
8
graphql/operations/team/billing/GetTeamBalance.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
query GetTeamBalance {
|
||||
teamBalance {
|
||||
balance
|
||||
creditsPosted
|
||||
debitsPosted
|
||||
exists
|
||||
}
|
||||
}
|
||||
11
graphql/operations/team/billing/GetTeamTransactions.graphql
Normal file
11
graphql/operations/team/billing/GetTeamTransactions.graphql
Normal file
@@ -0,0 +1,11 @@
|
||||
query GetTeamTransactions($limit: Int) {
|
||||
teamTransactions(limit: $limit) {
|
||||
id
|
||||
amount
|
||||
timestamp
|
||||
code
|
||||
codeName
|
||||
direction
|
||||
counterpartyUuid
|
||||
}
|
||||
}
|
||||
8
graphql/operations/team/exchange/CreateOffer.graphql
Normal file
8
graphql/operations/team/exchange/CreateOffer.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
mutation CreateOffer($input: OfferInput!) {
|
||||
createOffer(input: $input) {
|
||||
success
|
||||
message
|
||||
workflowId
|
||||
offerUuid
|
||||
}
|
||||
}
|
||||
11
graphql/operations/team/exchange/CreateRequest.graphql
Normal file
11
graphql/operations/team/exchange/CreateRequest.graphql
Normal file
@@ -0,0 +1,11 @@
|
||||
mutation CreateRequest($input: RequestInput!) {
|
||||
createRequest(input: $input) {
|
||||
request {
|
||||
uuid
|
||||
productUuid
|
||||
quantity
|
||||
sourceLocationUuid
|
||||
userId
|
||||
}
|
||||
}
|
||||
}
|
||||
9
graphql/operations/team/exchange/GetRequests.graphql
Normal file
9
graphql/operations/team/exchange/GetRequests.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
query GetRequests($userId: String!) {
|
||||
getRequests(userId: $userId) {
|
||||
uuid
|
||||
productUuid
|
||||
quantity
|
||||
sourceLocationUuid
|
||||
userId
|
||||
}
|
||||
}
|
||||
63
graphql/operations/team/orders/GetOrder.graphql
Normal file
63
graphql/operations/team/orders/GetOrder.graphql
Normal file
@@ -0,0 +1,63 @@
|
||||
query GetOrder($orderUuid: String!) {
|
||||
getOrder(orderUuid: $orderUuid) {
|
||||
uuid
|
||||
name
|
||||
status
|
||||
totalAmount
|
||||
currency
|
||||
sourceLocationName
|
||||
destinationLocationName
|
||||
createdAt
|
||||
notes
|
||||
orderLines {
|
||||
uuid
|
||||
productName
|
||||
quantity
|
||||
unit
|
||||
subtotal
|
||||
}
|
||||
stages {
|
||||
uuid
|
||||
name
|
||||
stageType
|
||||
transportType
|
||||
sourceLocationName
|
||||
sourceLatitude
|
||||
sourceLongitude
|
||||
destinationLocationName
|
||||
destinationLatitude
|
||||
destinationLongitude
|
||||
locationName
|
||||
locationLatitude
|
||||
locationLongitude
|
||||
selectedCompany {
|
||||
uuid
|
||||
name
|
||||
taxId
|
||||
country
|
||||
countryCode
|
||||
active
|
||||
}
|
||||
trips {
|
||||
uuid
|
||||
name
|
||||
plannedLoadingDate
|
||||
actualLoadingDate
|
||||
plannedUnloadingDate
|
||||
actualUnloadingDate
|
||||
realLoadingDate
|
||||
plannedWeight
|
||||
weightAtLoading
|
||||
weightAtUnloading
|
||||
company {
|
||||
uuid
|
||||
name
|
||||
taxId
|
||||
country
|
||||
countryCode
|
||||
active
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
39
graphql/operations/team/orders/GetTeamOrders.graphql
Normal file
39
graphql/operations/team/orders/GetTeamOrders.graphql
Normal file
@@ -0,0 +1,39 @@
|
||||
query GetTeamOrders {
|
||||
getTeamOrders {
|
||||
uuid
|
||||
name
|
||||
status
|
||||
totalAmount
|
||||
currency
|
||||
sourceLocationName
|
||||
destinationLocationName
|
||||
createdAt
|
||||
orderLines {
|
||||
uuid
|
||||
productName
|
||||
quantity
|
||||
unit
|
||||
}
|
||||
stages {
|
||||
uuid
|
||||
name
|
||||
stageType
|
||||
transportType
|
||||
sourceLatitude
|
||||
sourceLongitude
|
||||
destinationLatitude
|
||||
destinationLongitude
|
||||
sourceLocationName
|
||||
destinationLocationName
|
||||
trips {
|
||||
uuid
|
||||
name
|
||||
plannedLoadingDate
|
||||
actualLoadingDate
|
||||
plannedUnloadingDate
|
||||
actualUnloadingDate
|
||||
realLoadingDate
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
graphql/operations/team/teams/CreateTeamAddress.graphql
Normal file
7
graphql/operations/team/teams/CreateTeamAddress.graphql
Normal file
@@ -0,0 +1,7 @@
|
||||
mutation CreateTeamAddress($input: CreateTeamAddressInput!) {
|
||||
createTeamAddress(input: $input) {
|
||||
success
|
||||
message
|
||||
workflowId
|
||||
}
|
||||
}
|
||||
6
graphql/operations/team/teams/DeleteTeamAddress.graphql
Normal file
6
graphql/operations/team/teams/DeleteTeamAddress.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
mutation DeleteTeamAddress($uuid: String!) {
|
||||
deleteTeamAddress(uuid: $uuid) {
|
||||
success
|
||||
message
|
||||
}
|
||||
}
|
||||
10
graphql/operations/team/teams/GetTeam.graphql
Normal file
10
graphql/operations/team/teams/GetTeam.graphql
Normal file
@@ -0,0 +1,10 @@
|
||||
query GetTeam {
|
||||
team {
|
||||
uuid
|
||||
name
|
||||
selectedLocation {
|
||||
type
|
||||
uuid
|
||||
}
|
||||
}
|
||||
}
|
||||
11
graphql/operations/team/teams/GetTeamAddresses.graphql
Normal file
11
graphql/operations/team/teams/GetTeamAddresses.graphql
Normal file
@@ -0,0 +1,11 @@
|
||||
query GetTeamAddresses {
|
||||
teamAddresses {
|
||||
uuid
|
||||
name
|
||||
address
|
||||
latitude
|
||||
longitude
|
||||
countryCode
|
||||
isDefault
|
||||
}
|
||||
}
|
||||
13
graphql/operations/team/teams/GetTeamMembers.graphql
Normal file
13
graphql/operations/team/teams/GetTeamMembers.graphql
Normal file
@@ -0,0 +1,13 @@
|
||||
query GetTeamMembers {
|
||||
teamMembers {
|
||||
role
|
||||
joinedAt
|
||||
user {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
phone
|
||||
avatarId
|
||||
}
|
||||
}
|
||||
}
|
||||
6
graphql/operations/team/teams/InviteMember.graphql
Normal file
6
graphql/operations/team/teams/InviteMember.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
mutation InviteMember($input: InviteMemberInput!) {
|
||||
inviteMember(input: $input) {
|
||||
success
|
||||
message
|
||||
}
|
||||
}
|
||||
13
graphql/operations/team/teams/SetSelectedLocation.graphql
Normal file
13
graphql/operations/team/teams/SetSelectedLocation.graphql
Normal file
@@ -0,0 +1,13 @@
|
||||
mutation SetSelectedLocation($input: SetSelectedLocationInput!) {
|
||||
setSelectedLocation(input: $input) {
|
||||
success
|
||||
message
|
||||
selectedLocation {
|
||||
type
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
}
|
||||
}
|
||||
}
|
||||
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