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

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 +41 -11
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
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: 20230708
12
+ // Revision: 20230722
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -61,7 +61,10 @@ declare namespace gapi.client {
61
61
  /** Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream. */
62
62
  newTransaction?:
63
63
  TransactionOptions;
64
- /** Reads documents as they were at the given time. This may not be older than 270 seconds. */
64
+ /**
65
+ * Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be
66
+ * a whole minute timestamp within the past 7 days.
67
+ */
65
68
  readTime?:
66
69
  string;
67
70
  /** Reads documents in a transaction. */
@@ -394,7 +397,7 @@ declare namespace gapi.client {
394
397
  */
395
398
  name?:
396
399
  string;
397
- /** At what relative time in the future, compared to the creation time of the backup should the backup be deleted, i.e. keep backups for 7 days. */
400
+ /** At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. */
398
401
  retention?:
399
402
  string;
400
403
  /** Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time. */
@@ -487,6 +490,9 @@ declare namespace gapi.client {
487
490
  /** The progress, in documents, of this operation. */
488
491
  progressDocuments?:
489
492
  GoogleFirestoreAdminV1Progress;
493
+ /** The timestamp that corresponds to the version of the database that is being exported. If unspecified, there are no guarantees about the consistency of the documents being exported. */
494
+ snapshotTime?:
495
+ string;
490
496
  /** The time this operation started. */
491
497
  startTime?:
492
498
  string;
@@ -862,7 +868,10 @@ declare namespace gapi.client {
862
868
  /** A page token. Must be a value from ListCollectionIdsResponse. */
863
869
  pageToken?:
864
870
  string;
865
- /** Reads documents as they were at the given time. This may not be older than 270 seconds. */
871
+ /**
872
+ * Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be
873
+ * a whole minute timestamp within the past 7 days.
874
+ */
866
875
  readTime?:
867
876
  string;
868
877
  }
@@ -977,7 +986,10 @@ declare namespace gapi.client {
977
986
  */
978
987
  partitionCount?:
979
988
  string;
980
- /** Reads documents as they were at the given time. This may not be older than 270 seconds. */
989
+ /**
990
+ * Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be
991
+ * a whole minute timestamp within the past 7 days.
992
+ */
981
993
  readTime?:
982
994
  string;
983
995
  /**
@@ -1028,7 +1040,10 @@ declare namespace gapi.client {
1028
1040
  StructuredQuery;
1029
1041
  }
1030
1042
  interface ReadOnly {
1031
- /** Reads documents at the given time. This may not be older than 60 seconds. */
1043
+ /**
1044
+ * Reads documents at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole
1045
+ * minute timestamp within the past 7 days.
1046
+ */
1032
1047
  readTime?:
1033
1048
  string;
1034
1049
  }
@@ -1046,7 +1061,10 @@ declare namespace gapi.client {
1046
1061
  /** Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream. */
1047
1062
  newTransaction?:
1048
1063
  TransactionOptions;
1049
- /** Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past. */
1064
+ /**
1065
+ * Executes the query at the given timestamp. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a
1066
+ * whole minute timestamp within the past 7 days.
1067
+ */
1050
1068
  readTime?:
1051
1069
  string;
1052
1070
  /** An aggregation query. */
@@ -1075,7 +1093,10 @@ declare namespace gapi.client {
1075
1093
  /** Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream. */
1076
1094
  newTransaction?:
1077
1095
  TransactionOptions;
1078
- /** Reads documents as they were at the given time. This may not be older than 270 seconds. */
1096
+ /**
1097
+ * Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be
1098
+ * a whole minute timestamp within the past 7 days.
1099
+ */
1079
1100
  readTime?:
1080
1101
  string;
1081
1102
  /** A structured query. */
@@ -2579,7 +2600,10 @@ declare namespace gapi.client {
2579
2600
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2580
2601
  quotaUser?:
2581
2602
  string;
2582
- /** Reads the version of the document at the given time. This may not be older than 270 seconds. */
2603
+ /**
2604
+ * Reads the version of the document at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can
2605
+ * additionally be a whole minute timestamp within the past 7 days.
2606
+ */
2583
2607
  readTime?:
2584
2608
  string;
2585
2609
  /** Reads the document in a transaction. */
@@ -2652,7 +2676,10 @@ declare namespace gapi.client {
2652
2676
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2653
2677
  quotaUser?:
2654
2678
  string;
2655
- /** Perform the read at the provided time. This may not be older than 270 seconds. */
2679
+ /**
2680
+ * Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a
2681
+ * whole minute timestamp within the past 7 days.
2682
+ */
2656
2683
  readTime?:
2657
2684
  string;
2658
2685
  /**
@@ -2818,7 +2845,10 @@ declare namespace gapi.client {
2818
2845
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2819
2846
  quotaUser?:
2820
2847
  string;
2821
- /** Perform the read at the provided time. This may not be older than 270 seconds. */
2848
+ /**
2849
+ * Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a
2850
+ * whole minute timestamp within the past 7 days.
2851
+ */
2822
2852
  readTime?:
2823
2853
  string;
2824
2854
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firestore-v1",
3
- "version": "0.0.20230708",
3
+ "version": "0.0.20230722",
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: 20230708
6
+ // Revision: 20230722
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */