Skip to content

Commit 539dc8d

Browse files
fix(places): update the API
#### places:v1 The following keys were changed: - schemas.GoogleMapsPlacesV1Place.properties.primaryType.description - schemas.GoogleMapsPlacesV1Place.properties.primaryTypeDisplayName.description - schemas.GoogleMapsPlacesV1PlaceOpeningHours.properties.periods.description
1 parent 5c182c5 commit 539dc8d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

‎discovery/places-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
}
281281
}
282282
},
283-
"revision": "20250611",
283+
"revision": "20250629",
284284
"rootUrl": "https://places.googleapis.com/",
285285
"schemas": {
286286
"GoogleGeoTypeViewport": {
@@ -1226,12 +1226,12 @@
12261226
"description": "The price range associated with a Place."
12271227
},
12281228
"primaryType": {
1229-
"description": "The primary type of the given result. This type must one of the Places API supported types. For example, \"restaurant\", \"cafe\", \"airport\", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types",
1229+
"description": "The primary type of the given result. This type must be one of the Places API supported types. For example, \"restaurant\", \"cafe\", \"airport\", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types. The primary type may be missing if the place's primary type is not a supported type. When a primary type is present, it is always one of the types in the `types` field.",
12301230
"type": "string"
12311231
},
12321232
"primaryTypeDisplayName": {
12331233
"$ref": "GoogleTypeLocalizedText",
1234-
"description": "The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types"
1234+
"description": "The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types. The primary type may be missing if the place's primary type is not a supported type."
12351235
},
12361236
"pureServiceAreaBusiness": {
12371237
"description": "Indicates whether the place is a pure service area business. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or location on Google Maps.",
@@ -1557,7 +1557,7 @@
15571557
"type": "boolean"
15581558
},
15591559
"periods": {
1560-
"description": "NOTE: The ordering of the `periods` array is independent of the ordering of the `weekday_descriptions` array. Do not assume they will begin on the same day.",
1560+
"description": "The periods that this place is open during the week. The periods are in chronological order, in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations. The starting day of `periods` is NOT fixed and should not be assumed to be Sunday. The API determines the start day based on a variety of factors. For example, for a 24/7 business, the first period may begin on the day of the request. For other businesses, it might be the first day of the week that they are open. NOTE: The ordering of the `periods` array is independent of the ordering of the `weekday_descriptions` array. Do not assume they will begin on the same day.",
15611561
"items": {
15621562
"$ref": "GoogleMapsPlacesV1PlaceOpeningHoursPeriod"
15631563
},

‎src/apis/places/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^8.0.0"
31+
"googleapis-common": "^8.0.2-rc.0"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

‎src/apis/places/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,11 @@ export namespace places_v1 {
790790
*/
791791
priceRange?: Schema$GoogleMapsPlacesV1PriceRange;
792792
/**
793-
* The primary type of the given result. This type must one of the Places API supported types. For example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
793+
* The primary type of the given result. This type must be one of the Places API supported types. For example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types. The primary type may be missing if the place's primary type is not a supported type. When a primary type is present, it is always one of the types in the `types` field.
794794
*/
795795
primaryType?: string | null;
796796
/**
797-
* The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
797+
* The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types. The primary type may be missing if the place's primary type is not a supported type.
798798
*/
799799
primaryTypeDisplayName?: Schema$GoogleTypeLocalizedText;
800800
/**
@@ -1083,7 +1083,7 @@ export namespace places_v1 {
10831083
*/
10841084
openNow?: boolean | null;
10851085
/**
1086-
* NOTE: The ordering of the `periods` array is independent of the ordering of the `weekday_descriptions` array. Do not assume they will begin on the same day.
1086+
* The periods that this place is open during the week. The periods are in chronological order, in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations. The starting day of `periods` is NOT fixed and should not be assumed to be Sunday. The API determines the start day based on a variety of factors. For example, for a 24/7 business, the first period may begin on the day of the request. For other businesses, it might be the first day of the week that they are open. NOTE: The ordering of the `periods` array is independent of the ordering of the `weekday_descriptions` array. Do not assume they will begin on the same day.
10871087
*/
10881088
periods?: Schema$GoogleMapsPlacesV1PlaceOpeningHoursPeriod[];
10891089
/**

0 commit comments

Comments
 (0)