@maxim_mazurok/gapi.client.eventarc-v1 0.2.20260313 → 0.2.20260529

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 +6 -6
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
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://eventarc.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260313
12
+ // Revision: 20260529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -325,7 +325,7 @@ declare namespace gapi.client {
325
325
  /** The status code, which should be an enum value of google.rpc.Code. */
326
326
  code?: number;
327
327
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
328
- details?: Array<{[P in string]: any}>;
328
+ details?: {[P in string]: any}[];
329
329
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
330
330
  message?: string;
331
331
  }
@@ -1565,13 +1565,13 @@ declare namespace gapi.client {
1565
1565
  '$.xgafv'?: '1' | '2';
1566
1566
  /** OAuth access token. */
1567
1567
  access_token?: string;
1568
- /** Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server. */
1568
+ /** Optional. If set to true, and the GoogleApiSource is not found, the request will succeed but no action will be taken on the server. */
1569
1569
  allowMissing?: boolean;
1570
1570
  /** Data format for response. */
1571
1571
  alt?: 'json' | 'media' | 'proto';
1572
1572
  /** JSONP */
1573
1573
  callback?: string;
1574
- /** Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource. */
1574
+ /** Optional. If provided, the GoogleApiSource will only be deleted if the etag matches the current etag on the resource. */
1575
1575
  etag?: string;
1576
1576
  /** Selector specifying which fields to include in a partial response. */
1577
1577
  fields?: string;
@@ -3079,7 +3079,7 @@ declare namespace gapi.client {
3079
3079
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3080
3080
  uploadType?: string;
3081
3081
  }): Request<GoogleChannelConfig>;
3082
- /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
3082
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
3083
3083
  list(request?: {
3084
3084
  /** V1 error format. */
3085
3085
  '$.xgafv'?: '1' | '2';
@@ -3089,7 +3089,7 @@ declare namespace gapi.client {
3089
3089
  alt?: 'json' | 'media' | 'proto';
3090
3090
  /** JSONP */
3091
3091
  callback?: string;
3092
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
3092
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
3093
3093
  extraLocationTypes?: string | string[];
3094
3094
  /** Selector specifying which fields to include in a partial response. */
3095
3095
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.eventarc-v1",
3
- "version": "0.2.20260313",
3
+ "version": "0.2.20260529",
4
4
  "description": "TypeScript typings for Eventarc API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for Eventarc API:
11
11
  npm install @types/gapi.client.eventarc-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.eventarc-v1"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: