adding new fields for address validation of google
This commit is contained in:
@@ -5,6 +5,12 @@ mutation createVendor(
|
||||
$phone: String
|
||||
$photoUrl: String
|
||||
$address: String
|
||||
$placeId: String
|
||||
$latitude: Float
|
||||
$longitude: Float
|
||||
$street: String
|
||||
$country: String
|
||||
$zipCode: String
|
||||
$billingAddress: String
|
||||
$timezone: String
|
||||
$legalName: String
|
||||
@@ -28,6 +34,12 @@ mutation createVendor(
|
||||
phone: $phone
|
||||
photoUrl: $photoUrl
|
||||
address: $address
|
||||
placeId: $placeId
|
||||
latitude: $latitude
|
||||
longitude: $longitude
|
||||
street: $street
|
||||
country: $country
|
||||
zipCode: $zipCode
|
||||
billingAddress: $billingAddress
|
||||
timezone: $timezone
|
||||
legalName: $legalName
|
||||
@@ -53,6 +65,12 @@ mutation updateVendor(
|
||||
$phone: String
|
||||
$photoUrl: String
|
||||
$address: String
|
||||
$placeId: String
|
||||
$latitude: Float
|
||||
$longitude: Float
|
||||
$street: String
|
||||
$country: String
|
||||
$zipCode: String
|
||||
$billingAddress: String
|
||||
$timezone: String
|
||||
$legalName: String
|
||||
@@ -76,6 +94,12 @@ mutation updateVendor(
|
||||
phone: $phone
|
||||
photoUrl: $photoUrl
|
||||
address: $address
|
||||
placeId: $placeId
|
||||
latitude: $latitude
|
||||
longitude: $longitude
|
||||
street: $street
|
||||
country: $country
|
||||
zipCode: $zipCode
|
||||
billingAddress: $billingAddress
|
||||
timezone: $timezone
|
||||
legalName: $legalName
|
||||
|
||||
18
backend/dataconnect/connector/vendor/queries.gql
vendored
18
backend/dataconnect/connector/vendor/queries.gql
vendored
@@ -7,6 +7,12 @@ query getVendorById($id: UUID!) @auth(level: USER) {
|
||||
phone
|
||||
photoUrl
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
billingAddress
|
||||
timezone
|
||||
legalName
|
||||
@@ -36,6 +42,12 @@ query getVendorByUserId($userId: String!) @auth(level: USER) {
|
||||
phone
|
||||
photoUrl
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
billingAddress
|
||||
timezone
|
||||
legalName
|
||||
@@ -65,6 +77,12 @@ query listVendors @auth(level: USER) {
|
||||
phone
|
||||
photoUrl
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
billingAddress
|
||||
timezone
|
||||
legalName
|
||||
|
||||
Reference in New Issue
Block a user