Initial commit from monorepo
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user