@maxim_mazurok/gapi.client.pubsublite-v1 0.0.20250118 → 0.0.20250124

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 +14 -14
  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://pubsublite.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250118
12
+ // Revision: 20250124
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Pub/Sub Lite API v1 */
18
18
  function load(
19
- urlOrObject: 'https://pubsublite.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://pubsublite.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'pubsublite', version: 'v1'): Promise<void>;
@@ -293,7 +293,7 @@ declare namespace gapi.client {
293
293
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
294
294
  uploadType?: string;
295
295
  },
296
- body: CancelOperationRequest
296
+ body: CancelOperationRequest,
297
297
  ): Request<{}>;
298
298
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
299
299
  delete(request?: {
@@ -477,7 +477,7 @@ declare namespace gapi.client {
477
477
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
478
478
  uploadType?: string;
479
479
  },
480
- body: Reservation
480
+ body: Reservation,
481
481
  ): Request<Reservation>;
482
482
  /** Deletes the specified reservation. */
483
483
  delete(request?: {
@@ -624,7 +624,7 @@ declare namespace gapi.client {
624
624
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
625
625
  uploadType?: string;
626
626
  },
627
- body: Reservation
627
+ body: Reservation,
628
628
  ): Request<Reservation>;
629
629
  topics: TopicsResource;
630
630
  }
@@ -693,7 +693,7 @@ declare namespace gapi.client {
693
693
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
694
694
  uploadType?: string;
695
695
  },
696
- body: Subscription
696
+ body: Subscription,
697
697
  ): Request<Subscription>;
698
698
  /** Deletes the specified subscription. */
699
699
  delete(request?: {
@@ -840,7 +840,7 @@ declare namespace gapi.client {
840
840
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
841
841
  uploadType?: string;
842
842
  },
843
- body: Subscription
843
+ body: Subscription,
844
844
  ): Request<Subscription>;
845
845
  /** Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it. */
846
846
  seek(request: {
@@ -898,7 +898,7 @@ declare namespace gapi.client {
898
898
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
899
899
  uploadType?: string;
900
900
  },
901
- body: SeekSubscriptionRequest
901
+ body: SeekSubscriptionRequest,
902
902
  ): Request<Operation>;
903
903
  }
904
904
  interface SubscriptionsResource {
@@ -995,7 +995,7 @@ declare namespace gapi.client {
995
995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
996
996
  uploadType?: string;
997
997
  },
998
- body: Topic
998
+ body: Topic,
999
999
  ): Request<Topic>;
1000
1000
  /** Deletes the specified topic. */
1001
1001
  delete(request?: {
@@ -1169,7 +1169,7 @@ declare namespace gapi.client {
1169
1169
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1170
1170
  uploadType?: string;
1171
1171
  },
1172
- body: Topic
1172
+ body: Topic,
1173
1173
  ): Request<Topic>;
1174
1174
  subscriptions: SubscriptionsResource;
1175
1175
  }
@@ -1275,7 +1275,7 @@ declare namespace gapi.client {
1275
1275
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1276
1276
  uploadType?: string;
1277
1277
  },
1278
- body: CommitCursorRequest
1278
+ body: CommitCursorRequest,
1279
1279
  ): Request<{}>;
1280
1280
  cursors: CursorsResource;
1281
1281
  }
@@ -1345,7 +1345,7 @@ declare namespace gapi.client {
1345
1345
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1346
1346
  uploadType?: string;
1347
1347
  },
1348
- body: ComputeHeadCursorRequest
1348
+ body: ComputeHeadCursorRequest,
1349
1349
  ): Request<ComputeHeadCursorResponse>;
1350
1350
  /** Compute statistics about a range of messages in a given topic and partition. */
1351
1351
  computeMessageStats(request: {
@@ -1403,7 +1403,7 @@ declare namespace gapi.client {
1403
1403
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1404
1404
  uploadType?: string;
1405
1405
  },
1406
- body: ComputeMessageStatsRequest
1406
+ body: ComputeMessageStatsRequest,
1407
1407
  ): Request<ComputeMessageStatsResponse>;
1408
1408
  /** Compute the corresponding cursor for a publish or event time in a topic partition. */
1409
1409
  computeTimeCursor(request: {
@@ -1461,7 +1461,7 @@ declare namespace gapi.client {
1461
1461
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1462
1462
  uploadType?: string;
1463
1463
  },
1464
- body: ComputeTimeCursorRequest
1464
+ body: ComputeTimeCursorRequest,
1465
1465
  ): Request<ComputeTimeCursorResponse>;
1466
1466
  }
1467
1467
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.pubsublite-v1",
3
- "version": "0.0.20250118",
3
+ "version": "0.0.20250124",
4
4
  "description": "TypeScript typings for Pub/Sub Lite API 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.pubsublite
32
- }
32
+ },
33
33
  );
34
34
  ```
35
35
 
@@ -61,7 +61,7 @@ gapi.auth.authorize(
61
61
  } else {
62
62
  /* handle authorization error */
63
63
  }
64
- }
64
+ },
65
65
  );
66
66
  ```
67
67