chore(legacy): relocate v1 dataconnect source

This commit is contained in:
zouantchaw
2026-03-18 15:04:18 +01:00
parent c9e917bed5
commit 1d850811c4
164 changed files with 55 additions and 26 deletions

View File

@@ -0,0 +1,123 @@
mutation createVendor(
$userId: String!
$companyName: String!
$email: String
$phone: String
$photoUrl: String
$address: String
$placeId: String
$latitude: Float
$longitude: Float
$street: String
$country: String
$zipCode: String
$billingAddress: String
$timezone: String
$legalName: String
$doingBusinessAs: String
$region: String
$state: String
$city: String
$serviceSpecialty: String
$approvalStatus: ApprovalStatus
$isActive: Boolean
$markup: Float
$fee: Float
$csat: Float
$tier: VendorTier
) @auth(level: USER) {
vendor_insert(
data: {
userId: $userId
companyName: $companyName
email: $email
phone: $phone
photoUrl: $photoUrl
address: $address
placeId: $placeId
latitude: $latitude
longitude: $longitude
street: $street
country: $country
zipCode: $zipCode
billingAddress: $billingAddress
timezone: $timezone
legalName: $legalName
doingBusinessAs: $doingBusinessAs
region: $region
state: $state
city: $city
serviceSpecialty: $serviceSpecialty
approvalStatus: $approvalStatus
isActive: $isActive
markup: $markup
fee: $fee
csat: $csat
tier: $tier
}
)
}
mutation updateVendor(
$id: UUID!
$companyName: String
$email: String
$phone: String
$photoUrl: String
$address: String
$placeId: String
$latitude: Float
$longitude: Float
$street: String
$country: String
$zipCode: String
$billingAddress: String
$timezone: String
$legalName: String
$doingBusinessAs: String
$region: String
$state: String
$city: String
$serviceSpecialty: String
$approvalStatus: ApprovalStatus
$isActive: Boolean
$markup: Float
$fee: Float
$csat: Float
$tier: VendorTier
) @auth(level: USER) {
vendor_update(
id: $id
data: {
companyName: $companyName
email: $email
phone: $phone
photoUrl: $photoUrl
address: $address
placeId: $placeId
latitude: $latitude
longitude: $longitude
street: $street
country: $country
zipCode: $zipCode
billingAddress: $billingAddress
timezone: $timezone
legalName: $legalName
doingBusinessAs: $doingBusinessAs
region: $region
state: $state
city: $city
serviceSpecialty: $serviceSpecialty
approvalStatus: $approvalStatus
isActive: $isActive
markup: $markup
fee: $fee
csat: $csat
tier: $tier
}
)
}
mutation deleteVendor($id: UUID!) @auth(level: USER) {
vendor_delete(id: $id)
}