@maxim_mazurok/gapi.client.firestore-v1 0.0.20230621 → 0.0.20230708

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 +9 -9
  2. package/package.json +1 -1
  3. package/tests.ts +1 -3
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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://firestore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230621
12
+ // Revision: 20230708
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3689,7 +3689,10 @@ declare namespace gapi.client {
3689
3689
  /** JSONP */
3690
3690
  callback?:
3691
3691
  string;
3692
- /** Required. The ID to use for the database, which will become the final component of the database's resource name. The value must be set to "(default)". */
3692
+ /**
3693
+ * Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are
3694
+ * /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
3695
+ */
3693
3696
  databaseId?:
3694
3697
  string;
3695
3698
  /** Selector specifying which fields to include in a partial response. */
@@ -3733,7 +3736,10 @@ declare namespace gapi.client {
3733
3736
  /** JSONP */
3734
3737
  callback?:
3735
3738
  string;
3736
- /** Required. The ID to use for the database, which will become the final component of the database's resource name. The value must be set to "(default)". */
3739
+ /**
3740
+ * Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are
3741
+ * /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
3742
+ */
3737
3743
  databaseId?:
3738
3744
  string;
3739
3745
  /** Selector specifying which fields to include in a partial response. */
@@ -3770,9 +3776,6 @@ declare namespace gapi.client {
3770
3776
  /** OAuth access token. */
3771
3777
  access_token?:
3772
3778
  string;
3773
- /** If set to true and the Database is not found, the request will succeed but no action will be taken. */
3774
- allowMissing?:
3775
- boolean;
3776
3779
  /** Data format for response. */
3777
3780
  alt?:
3778
3781
  string;
@@ -3809,9 +3812,6 @@ declare namespace gapi.client {
3809
3812
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3810
3813
  uploadType?:
3811
3814
  string;
3812
- /** If set, validate the request and preview the response, but do not actually delete the database. */
3813
- validateOnly?:
3814
- boolean;
3815
3815
  }): Request<GoogleLongrunningOperation>;
3816
3816
  /**
3817
3817
  * Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firestore-v1",
3
- "version": "0.0.20230621",
3
+ "version": "0.0.20230708",
4
4
  "description": "TypeScript typings for Cloud Firestore API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230621
6
+ // Revision: 20230708
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -53,10 +53,8 @@ gapi.load('client', async () => {
53
53
  });
54
54
  /** Deletes a database. */
55
55
  await gapi.client.firestore.projects.databases.delete({
56
- allowMissing: true,
57
56
  etag: "Test string",
58
57
  name: "Test string",
59
- validateOnly: true,
60
58
  });
61
59
  /**
62
60
  * Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in