Build Nuxt 4 manager cabinet workflows
This commit is contained in:
10
graphql/operations/auth/register-self.graphql
Normal file
10
graphql/operations/auth/register-self.graphql
Normal file
@@ -0,0 +1,10 @@
|
||||
mutation RegisterSelf($input: RegisterSelfInput!) {
|
||||
registerSelf(input: $input) {
|
||||
id
|
||||
companyName
|
||||
contactName
|
||||
email
|
||||
status
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
17
graphql/operations/catalog/client-products.graphql
Normal file
17
graphql/operations/catalog/client-products.graphql
Normal file
@@ -0,0 +1,17 @@
|
||||
query ClientProducts {
|
||||
clientProducts {
|
||||
id
|
||||
sku
|
||||
name
|
||||
description
|
||||
isCustomizable
|
||||
availableInWarehouses {
|
||||
availableQty
|
||||
warehouse {
|
||||
id
|
||||
code
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
graphql/operations/manager/add-bonus-transaction.graphql
Normal file
9
graphql/operations/manager/add-bonus-transaction.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
mutation AddBonusTransaction($input: AddBonusTransactionInput!) {
|
||||
addBonusTransaction(input: $input) {
|
||||
id
|
||||
userId
|
||||
amount
|
||||
reason
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
7
graphql/operations/manager/block-order.graphql
Normal file
7
graphql/operations/manager/block-order.graphql
Normal file
@@ -0,0 +1,7 @@
|
||||
mutation BlockOrder($input: BlockOrderInput!) {
|
||||
blockOrder(input: $input) {
|
||||
id
|
||||
status
|
||||
blockReason
|
||||
}
|
||||
}
|
||||
9
graphql/operations/manager/create-invitation.graphql
Normal file
9
graphql/operations/manager/create-invitation.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
mutation CreateInvitation($input: CreateInvitationInput!) {
|
||||
createInvitation(input: $input) {
|
||||
id
|
||||
token
|
||||
email
|
||||
companyName
|
||||
expiresAt
|
||||
}
|
||||
}
|
||||
8
graphql/operations/manager/create-referral.graphql
Normal file
8
graphql/operations/manager/create-referral.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
mutation CreateReferral($input: CreateReferralInput!) {
|
||||
createReferral(input: $input) {
|
||||
id
|
||||
referrerId
|
||||
refereeId
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
mutation ManagerFinalizeOrder($orderId: ID!, $decision: Decision!) {
|
||||
managerFinalizeOrder(orderId: $orderId, decision: $decision) {
|
||||
id
|
||||
status
|
||||
managerApproved
|
||||
}
|
||||
}
|
||||
17
graphql/operations/manager/manager-orders.graphql
Normal file
17
graphql/operations/manager/manager-orders.graphql
Normal file
@@ -0,0 +1,17 @@
|
||||
query ManagerOrders($status: OrderStatus) {
|
||||
managerOrders(status: $status) {
|
||||
id
|
||||
code
|
||||
status
|
||||
kind
|
||||
customerId
|
||||
deliveryTerms
|
||||
totalPrice
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
}
|
||||
}
|
||||
}
|
||||
10
graphql/operations/manager/registration-requests.graphql
Normal file
10
graphql/operations/manager/registration-requests.graphql
Normal file
@@ -0,0 +1,10 @@
|
||||
query RegistrationRequests($status: RegistrationStatus) {
|
||||
registrationRequests(status: $status) {
|
||||
id
|
||||
companyName
|
||||
contactName
|
||||
email
|
||||
status
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
mutation ReviewRegistrationRequest($input: ReviewRegistrationRequestInput!) {
|
||||
reviewRegistrationRequest(input: $input) {
|
||||
id
|
||||
status
|
||||
rejectionReason
|
||||
reviewedById
|
||||
}
|
||||
}
|
||||
8
graphql/operations/manager/review-withdrawal.graphql
Normal file
8
graphql/operations/manager/review-withdrawal.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
mutation ReviewRewardWithdrawal($input: ReviewRewardWithdrawalInput!) {
|
||||
reviewRewardWithdrawal(input: $input) {
|
||||
id
|
||||
status
|
||||
reviewComment
|
||||
reviewedById
|
||||
}
|
||||
}
|
||||
9
graphql/operations/manager/set-order-offer.graphql
Normal file
9
graphql/operations/manager/set-order-offer.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
mutation ManagerSetOrderOffer($input: SetOrderOfferInput!) {
|
||||
managerSetOrderOffer(input: $input) {
|
||||
id
|
||||
code
|
||||
status
|
||||
deliveryTerms
|
||||
totalPrice
|
||||
}
|
||||
}
|
||||
14
graphql/operations/orders/my-current-orders.graphql
Normal file
14
graphql/operations/orders/my-current-orders.graphql
Normal file
@@ -0,0 +1,14 @@
|
||||
query MyCurrentOrders {
|
||||
myCurrentOrders {
|
||||
id
|
||||
code
|
||||
kind
|
||||
status
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
}
|
||||
}
|
||||
}
|
||||
16
graphql/operations/orders/my-orders.graphql
Normal file
16
graphql/operations/orders/my-orders.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
query MyOrders {
|
||||
myOrders {
|
||||
id
|
||||
code
|
||||
kind
|
||||
status
|
||||
totalPrice
|
||||
deliveryTerms
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
mutation SubmitCalculationOrder($input: SubmitCalculationOrderInput!) {
|
||||
submitCalculationOrder(input: $input) {
|
||||
id
|
||||
code
|
||||
status
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
8
graphql/operations/orders/submit-ready-order.graphql
Normal file
8
graphql/operations/orders/submit-ready-order.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
mutation SubmitReadyOrder($input: SubmitReadyOrderInput!) {
|
||||
submitReadyOrder(input: $input) {
|
||||
id
|
||||
code
|
||||
status
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
8
graphql/operations/profile/connect-messenger.graphql
Normal file
8
graphql/operations/profile/connect-messenger.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
mutation ConnectMessenger($input: ConnectMessengerInput!) {
|
||||
connectMessenger(input: $input) {
|
||||
id
|
||||
type
|
||||
channelId
|
||||
isActive
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user