chore(legacy): relocate v1 dataconnect source
This commit is contained in:
41
legacy/dataconnect-v1/connector/recentPayment/mutations.gql
Normal file
41
legacy/dataconnect-v1/connector/recentPayment/mutations.gql
Normal file
@@ -0,0 +1,41 @@
|
||||
mutation createRecentPayment(
|
||||
$workedTime: String
|
||||
$status: RecentPaymentStatus
|
||||
$staffId: UUID!
|
||||
$applicationId: UUID!
|
||||
$invoiceId: UUID!
|
||||
) @auth(level: USER) {
|
||||
recentPayment_insert(
|
||||
data: {
|
||||
workedTime: $workedTime
|
||||
status: $status
|
||||
staffId: $staffId
|
||||
applicationId: $applicationId
|
||||
invoiceId: $invoiceId
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation updateRecentPayment(
|
||||
$id: UUID!
|
||||
$workedTime: String
|
||||
$status: RecentPaymentStatus
|
||||
$staffId: UUID
|
||||
$applicationId: UUID
|
||||
$invoiceId: UUID
|
||||
) @auth(level: USER) {
|
||||
recentPayment_update(
|
||||
id: $id
|
||||
data: {
|
||||
workedTime: $workedTime
|
||||
status: $status
|
||||
staffId: $staffId
|
||||
applicationId: $applicationId
|
||||
invoiceId: $invoiceId
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation deleteRecentPayment($id: UUID!) @auth(level: USER) {
|
||||
recentPayment_delete(id: $id)
|
||||
}
|
||||
Reference in New Issue
Block a user