@maxim_mazurok/gapi.client.places-v1 0.0.20250126 → 0.0.20250127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +5 -5
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://places.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250126
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Places API (New) v1 */
18
18
  function load(
19
- urlOrObject: 'https://places.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://places.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'places', version: 'v1'): Promise<void>;
@@ -820,7 +820,7 @@ declare namespace gapi.client {
820
820
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
821
821
  uploadType?: string;
822
822
  },
823
- body: GoogleMapsPlacesV1AutocompletePlacesRequest
823
+ body: GoogleMapsPlacesV1AutocompletePlacesRequest,
824
824
  ): Request<GoogleMapsPlacesV1AutocompletePlacesResponse>;
825
825
  /** Get the details of a place based on its resource name, which is a string in the `places/{place_id}` format. */
826
826
  get(request?: {
@@ -907,7 +907,7 @@ declare namespace gapi.client {
907
907
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
908
908
  uploadType?: string;
909
909
  },
910
- body: GoogleMapsPlacesV1SearchNearbyRequest
910
+ body: GoogleMapsPlacesV1SearchNearbyRequest,
911
911
  ): Request<GoogleMapsPlacesV1SearchNearbyResponse>;
912
912
  /** Text query based place search. */
913
913
  searchText(request: {
@@ -961,7 +961,7 @@ declare namespace gapi.client {
961
961
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
962
962
  uploadType?: string;
963
963
  },
964
- body: GoogleMapsPlacesV1SearchTextRequest
964
+ body: GoogleMapsPlacesV1SearchTextRequest,
965
965
  ): Request<GoogleMapsPlacesV1SearchTextResponse>;
966
966
  photos: PhotosResource;
967
967
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.places-v1",
3
- "version": "0.0.20250126",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for Places API (New) v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -29,7 +29,7 @@ gapi.client.load(
29
29
  () => {
30
30
  // now we can use:
31
31
  // gapi.client.places
32
- }
32
+ },
33
33
  );
34
34
  ```
35
35
 
@@ -79,7 +79,7 @@ gapi.auth.authorize(
79
79
  } else {
80
80
  /* handle authorization error */
81
81
  }
82
- }
82
+ },
83
83
  );
84
84
  ```
85
85