Skip to content

Commit

Permalink
feat(localservices): update the API
Browse files Browse the repository at this point in the history
#### localservices:v1

The following keys were added:
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.id
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.bookingAppointmentTimestamp.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.bookingAppointmentTimestamp.format
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.bookingAppointmentTimestamp.type
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.consumerEmail.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.consumerEmail.type
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.consumerPhoneNumber.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.consumerPhoneNumber.type
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.customerName.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.customerName.type
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.jobType.description
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.properties.jobType.type
- schemas.GoogleAdsHomeservicesLocalservicesV1BookingLead.type
- schemas.GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.properties.bookingLead.$ref
- schemas.GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.properties.bookingLead.description

The following keys were changed:
- schemas.GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.properties.leadType.enum
- schemas.GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.properties.leadType.enumDescriptions
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent b95fd46 commit 43de21d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 3 deletions.
40 changes: 37 additions & 3 deletions discovery/localservices-v1.json
Expand Up @@ -250,7 +250,7 @@
}
}
},
"revision": "20210331",
"revision": "20211014",
"rootUrl": "https://localservices.googleapis.com/",
"schemas": {
"GoogleAdsHomeservicesLocalservicesV1AccountReport": {
Expand Down Expand Up @@ -353,6 +353,34 @@
},
"type": "object"
},
"GoogleAdsHomeservicesLocalservicesV1BookingLead": {
"description": "Container for booking lead specific information.",
"id": "GoogleAdsHomeservicesLocalservicesV1BookingLead",
"properties": {
"bookingAppointmentTimestamp": {
"description": "Timestamp of when service is provided by advertiser.",
"format": "google-datetime",
"type": "string"
},
"consumerEmail": {
"description": "Consumer email associated with the booking lead.",
"type": "string"
},
"consumerPhoneNumber": {
"description": "Consumer phone number associated with the booking lead.",
"type": "string"
},
"customerName": {
"description": "Name of the customer who created the lead.",
"type": "string"
},
"jobType": {
"description": "The job type of the specified lead.",
"type": "string"
}
},
"type": "object"
},
"GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport": {
"description": "A Detailed Lead Report of a lead identified by their lead id and contains consumer, account, monetization, and lead data.",
"id": "GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport",
Expand All @@ -366,6 +394,10 @@
"$ref": "GoogleAdsHomeservicesLocalservicesV1AggregatorInfo",
"description": "Aggregator specific information related to the lead."
},
"bookingLead": {
"$ref": "GoogleAdsHomeservicesLocalservicesV1BookingLead",
"description": "More information associated to only booking leads."
},
"businessName": {
"description": "Business name associated to the account.",
"type": "string"
Expand Down Expand Up @@ -420,12 +452,14 @@
"enum": [
"LEAD_TYPE_UNSPECIFIED",
"MESSAGE",
"PHONE_CALL"
"PHONE_CALL",
"BOOKING"
],
"enumDescriptions": [
"Not specified.",
"Message lead.",
"Phone call lead."
"Phone call lead.",
"Booking lead."
],
"type": "string"
},
Expand Down
29 changes: 29 additions & 0 deletions src/apis/localservices/v1.ts
Expand Up @@ -209,6 +209,31 @@ export namespace localservices_v1 {
*/
aggregatorProviderId?: string | null;
}
/**
* Container for booking lead specific information.
*/
export interface Schema$GoogleAdsHomeservicesLocalservicesV1BookingLead {
/**
* Timestamp of when service is provided by advertiser.
*/
bookingAppointmentTimestamp?: string | null;
/**
* Consumer email associated with the booking lead.
*/
consumerEmail?: string | null;
/**
* Consumer phone number associated with the booking lead.
*/
consumerPhoneNumber?: string | null;
/**
* Name of the customer who created the lead.
*/
customerName?: string | null;
/**
* The job type of the specified lead.
*/
jobType?: string | null;
}
/**
* A Detailed Lead Report of a lead identified by their lead id and contains consumer, account, monetization, and lead data.
*/
Expand All @@ -221,6 +246,10 @@ export namespace localservices_v1 {
* Aggregator specific information related to the lead.
*/
aggregatorInfo?: Schema$GoogleAdsHomeservicesLocalservicesV1AggregatorInfo;
/**
* More information associated to only booking leads.
*/
bookingLead?: Schema$GoogleAdsHomeservicesLocalservicesV1BookingLead;
/**
* Business name associated to the account.
*/
Expand Down

0 comments on commit 43de21d

Please sign in to comment.