adding hubid to order
This commit is contained in:
@@ -2,7 +2,7 @@ mutation createOrder(
|
||||
$vendorId: UUID
|
||||
$businessId: UUID!
|
||||
$orderType: OrderType!
|
||||
$location: String
|
||||
#$location: String
|
||||
$status: OrderStatus
|
||||
$date: Timestamp
|
||||
$startDate: Timestamp
|
||||
@@ -14,7 +14,7 @@ mutation createOrder(
|
||||
$assignedStaff: Any
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$hub: String
|
||||
$teamHubId: UUID!
|
||||
$recurringDays: Any
|
||||
$permanentStartDate: Timestamp
|
||||
$permanentDays: Any
|
||||
@@ -27,7 +27,7 @@ mutation createOrder(
|
||||
vendorId: $vendorId
|
||||
businessId: $businessId
|
||||
orderType: $orderType
|
||||
location: $location
|
||||
#location: $location
|
||||
status: $status
|
||||
date: $date
|
||||
startDate: $startDate
|
||||
@@ -39,7 +39,7 @@ mutation createOrder(
|
||||
assignedStaff: $assignedStaff
|
||||
shifts: $shifts
|
||||
requested: $requested
|
||||
hub: $hub
|
||||
teamHubId: $teamHubId
|
||||
recurringDays: $recurringDays
|
||||
permanentDays: $permanentDays
|
||||
notes: $notes
|
||||
@@ -53,7 +53,7 @@ mutation updateOrder(
|
||||
$id: UUID!
|
||||
$vendorId: UUID
|
||||
$businessId: UUID
|
||||
$location: String
|
||||
#$location: String
|
||||
$status: OrderStatus
|
||||
$date: Timestamp
|
||||
$startDate: Timestamp
|
||||
@@ -63,7 +63,7 @@ mutation updateOrder(
|
||||
$assignedStaff: Any
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$hub: String
|
||||
$teamHubId: UUID!
|
||||
$recurringDays: Any
|
||||
$permanentDays: Any
|
||||
$notes: String
|
||||
@@ -75,7 +75,7 @@ mutation updateOrder(
|
||||
data: {
|
||||
vendorId: $vendorId
|
||||
businessId: $businessId
|
||||
location: $location
|
||||
#location: $location
|
||||
status: $status
|
||||
date: $date
|
||||
startDate: $startDate
|
||||
@@ -85,7 +85,7 @@ mutation updateOrder(
|
||||
assignedStaff: $assignedStaff
|
||||
shifts: $shifts
|
||||
requested: $requested
|
||||
hub: $hub
|
||||
teamHubId: $teamHubId
|
||||
recurringDays: $recurringDays
|
||||
permanentDays: $permanentDays
|
||||
notes: $notes
|
||||
|
||||
@@ -12,7 +12,7 @@ query listOrders(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -23,7 +23,6 @@ query listOrders(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -42,6 +41,13 @@ query listOrders(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +62,7 @@ query getOrderById($id: UUID!) @auth(level: USER) {
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -67,7 +73,6 @@ query getOrderById($id: UUID!) @auth(level: USER) {
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -86,6 +91,13 @@ query getOrderById($id: UUID!) @auth(level: USER) {
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,7 +120,7 @@ query getOrdersByBusinessId(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -119,7 +131,6 @@ query getOrdersByBusinessId(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -138,6 +149,13 @@ query getOrdersByBusinessId(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,7 +178,7 @@ query getOrdersByVendorId(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -171,7 +189,6 @@ query getOrdersByVendorId(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -190,6 +207,13 @@ query getOrdersByVendorId(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -212,7 +236,7 @@ query getOrdersByStatus(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -223,7 +247,6 @@ query getOrdersByStatus(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -242,6 +265,13 @@ query getOrdersByStatus(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,7 +297,7 @@ query getOrdersByDateRange(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -278,7 +308,6 @@ query getOrdersByDateRange(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -297,6 +326,13 @@ query getOrdersByDateRange(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -318,7 +354,7 @@ query getRapidOrders(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
#location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -329,7 +365,6 @@ query getRapidOrders(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -348,5 +383,12 @@ query getRapidOrders(
|
||||
id
|
||||
companyName
|
||||
}
|
||||
|
||||
teamHub {
|
||||
address
|
||||
placeId
|
||||
hubName
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user