@maxim_mazurok/gapi.client.ces-v1 0.4.20260513 → 0.5.20260612

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 (2) hide show
  1. package/index.d.ts +22 -75
  2. package/package.json +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://ces.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260513
12
+ // Revision: 20260612
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -204,9 +204,7 @@ declare namespace gapi.client {
204
204
  keyName?: string;
205
205
  /** Required. Key location in the request. */
206
206
  requestLocation?:
207
- | 'REQUEST_LOCATION_UNSPECIFIED'
208
- | 'HEADER'
209
- | 'QUERY_STRING';
207
+ 'REQUEST_LOCATION_UNSPECIFIED' | 'HEADER' | 'QUERY_STRING';
210
208
  }
211
209
  interface App {
212
210
  /** Optional. Audio processing configuration of the app. */
@@ -257,9 +255,7 @@ declare namespace gapi.client {
257
255
  timeZoneSettings?: TimeZoneSettings;
258
256
  /** Optional. The tool execution mode for the app. If not provided, will default to PARALLEL. */
259
257
  toolExecutionMode?:
260
- | 'TOOL_EXECUTION_MODE_UNSPECIFIED'
261
- | 'PARALLEL'
262
- | 'SEQUENTIAL';
258
+ 'TOOL_EXECUTION_MODE_UNSPECIFIED' | 'PARALLEL' | 'SEQUENTIAL';
263
259
  /** Output only. Timestamp when the app was last updated. */
264
260
  updateTime?: string;
265
261
  /** Output only. Misconfigurations or warnings in the app. */
@@ -526,10 +522,7 @@ declare namespace gapi.client {
526
522
  appVersion?: string;
527
523
  /** DEPRECATED. Please use input_types instead. */
528
524
  channelType?:
529
- | 'CHANNEL_TYPE_UNSPECIFIED'
530
- | 'TEXT'
531
- | 'AUDIO'
532
- | 'MULTIMODAL';
525
+ 'CHANNEL_TYPE_UNSPECIFIED' | 'TEXT' | 'AUDIO' | 'MULTIMODAL';
533
526
  /** Output only. The deployment of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}` */
534
527
  deployment?: string;
535
528
  /** Output only. Timestamp when the conversation was completed. */
@@ -554,11 +547,7 @@ declare namespace gapi.client {
554
547
  name?: string;
555
548
  /** Output only. Indicate the source of the conversation. */
556
549
  source?:
557
- | 'SOURCE_UNSPECIFIED'
558
- | 'LIVE'
559
- | 'SIMULATOR'
560
- | 'EVAL'
561
- | 'AGENT_TOOL';
550
+ 'SOURCE_UNSPECIFIED' | 'LIVE' | 'SIMULATOR' | 'EVAL' | 'AGENT_TOOL';
562
551
  /** Output only. Timestamp when the conversation was created. */
563
552
  startTime?: string;
564
553
  /** Output only. The number of turns in the conversation. */
@@ -587,9 +576,7 @@ declare namespace gapi.client {
587
576
  displayName?: string;
588
577
  /** Output only. The document processing mode for the data store connection. Only set for PUBLIC_WEB and UNSTRUCTURED data stores. */
589
578
  documentProcessingMode?:
590
- | 'DOCUMENT_PROCESSING_MODE_UNSPECIFIED'
591
- | 'DOCUMENTS'
592
- | 'CHUNKS';
579
+ 'DOCUMENT_PROCESSING_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
593
580
  /** Required. Full resource name of the DataStore. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
594
581
  name?: string;
595
582
  /** Output only. The type of the data store. This field is readonly and populated by the server. */
@@ -741,9 +728,7 @@ declare namespace gapi.client {
741
728
  allowedOrigins?: string[];
742
729
  /** Optional. The scope in which this policy's allowed_origins list is enforced. */
743
730
  enforcementScope?:
744
- | 'ENFORCEMENT_SCOPE_UNSPECIFIED'
745
- | 'VPCSC_ONLY'
746
- | 'ALWAYS';
731
+ 'ENFORCEMENT_SCOPE_UNSPECIFIED' | 'VPCSC_ONLY' | 'ALWAYS';
747
732
  }
748
733
  interface EndSession {
749
734
  /** Optional. Provides additional information about the end session signal, such as the reason for ending the session. */
@@ -794,19 +779,13 @@ declare namespace gapi.client {
794
779
  goldenEvaluationMetricsThresholds?: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds;
795
780
  /** Optional. The hallucination metric behavior for golden evaluations. */
796
781
  goldenHallucinationMetricBehavior?:
797
- | 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED'
798
- | 'DISABLED'
799
- | 'ENABLED';
782
+ 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
800
783
  /** Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead. The hallucination metric behavior is currently used for golden evaluations. */
801
784
  hallucinationMetricBehavior?:
802
- | 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED'
803
- | 'DISABLED'
804
- | 'ENABLED';
785
+ 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
805
786
  /** Optional. The hallucination metric behavior for scenario evaluations. */
806
787
  scenarioHallucinationMetricBehavior?:
807
- | 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED'
808
- | 'DISABLED'
809
- | 'ENABLED';
788
+ 'HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
810
789
  }
811
790
  interface EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds {
812
791
  /** Optional. The expectation level metrics thresholds. */
@@ -825,18 +804,14 @@ declare namespace gapi.client {
825
804
  overallToolInvocationCorrectnessThreshold?: number;
826
805
  /** Optional. The semantic similarity channel to use for evaluation. */
827
806
  semanticSimilarityChannel?:
828
- | 'SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED'
829
- | 'TEXT'
830
- | 'AUDIO';
807
+ 'SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED' | 'TEXT' | 'AUDIO';
831
808
  /** Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3. */
832
809
  semanticSimilaritySuccessThreshold?: number;
833
810
  }
834
811
  interface EvaluationMetricsThresholdsToolMatchingSettings {
835
812
  /** Optional. Behavior for extra tool calls. Defaults to FAIL. */
836
813
  extraToolCallBehavior?:
837
- | 'EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED'
838
- | 'FAIL'
839
- | 'ALLOW';
814
+ 'EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED' | 'FAIL' | 'ALLOW';
840
815
  }
841
816
  interface Event {
842
817
  /** Required. The name of the event. */
@@ -1100,9 +1075,7 @@ declare namespace gapi.client {
1100
1075
  interface ImportAppRequestImportOptions {
1101
1076
  /** Optional. The strategy to use when resolving conflicts during import. */
1102
1077
  conflictResolutionStrategy?:
1103
- | 'CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED'
1104
- | 'REPLACE'
1105
- | 'OVERWRITE';
1078
+ 'CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED' | 'REPLACE' | 'OVERWRITE';
1106
1079
  }
1107
1080
  interface ImportAppResponse {
1108
1081
  /** The resource name of the app that was imported. */
@@ -1113,10 +1086,7 @@ declare namespace gapi.client {
1113
1086
  interface InputAudioConfig {
1114
1087
  /** Required. The encoding of the input audio data. */
1115
1088
  audioEncoding?:
1116
- | 'AUDIO_ENCODING_UNSPECIFIED'
1117
- | 'LINEAR16'
1118
- | 'MULAW'
1119
- | 'ALAW';
1089
+ 'AUDIO_ENCODING_UNSPECIFIED' | 'LINEAR16' | 'MULAW' | 'ALAW';
1120
1090
  /** Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high". */
1121
1091
  noiseSuppressionLevel?: string;
1122
1092
  /** Required. The sample rate (in Hertz) of the input audio data. */
@@ -1434,9 +1404,7 @@ declare namespace gapi.client {
1434
1404
  mockedToolCalls?: MockedToolCall[];
1435
1405
  /** Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls. */
1436
1406
  unmatchedToolCallBehavior?:
1437
- | 'UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED'
1438
- | 'FAIL'
1439
- | 'PASS_THROUGH';
1407
+ 'UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED' | 'FAIL' | 'PASS_THROUGH';
1440
1408
  }
1441
1409
  interface MockedToolCall {
1442
1410
  /** Required. A pattern to match against the args / inputs of all dispatched tool calls. If the tool call inputs match this pattern, then mock output will be returned. */
@@ -1525,10 +1493,7 @@ declare namespace gapi.client {
1525
1493
  interface OutputAudioConfig {
1526
1494
  /** Required. The encoding of the output audio data. */
1527
1495
  audioEncoding?:
1528
- | 'AUDIO_ENCODING_UNSPECIFIED'
1529
- | 'LINEAR16'
1530
- | 'MULAW'
1531
- | 'ALAW';
1496
+ 'AUDIO_ENCODING_UNSPECIFIED' | 'LINEAR16' | 'MULAW' | 'ALAW';
1532
1497
  /** Required. The sample rate (in Hertz) of the output audio data. */
1533
1498
  sampleRateHertz?: number;
1534
1499
  }
@@ -1810,9 +1775,7 @@ declare namespace gapi.client {
1810
1775
  etag?: string;
1811
1776
  /** Optional. The execution type of the tool. */
1812
1777
  executionType?:
1813
- | 'EXECUTION_TYPE_UNSPECIFIED'
1814
- | 'SYNCHRONOUS'
1815
- | 'ASYNCHRONOUS';
1778
+ 'EXECUTION_TYPE_UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
1816
1779
  /** Optional. The file search tool. */
1817
1780
  fileSearchTool?: FileSearchTool;
1818
1781
  /** Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation. */
@@ -1891,9 +1854,7 @@ declare namespace gapi.client {
1891
1854
  etag?: string;
1892
1855
  /** Optional. The execution type of the tools in the toolset. */
1893
1856
  executionType?:
1894
- | 'EXECUTION_TYPE_UNSPECIFIED'
1895
- | 'SYNCHRONOUS'
1896
- | 'ASYNCHRONOUS';
1857
+ 'EXECUTION_TYPE_UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
1897
1858
  /** Optional. A toolset that contains a list of tools that are offered by the MCP server. */
1898
1859
  mcpToolset?: McpToolset;
1899
1860
  /** Identifier. The unique identifier of the toolset. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` */
@@ -1918,9 +1879,7 @@ declare namespace gapi.client {
1918
1879
  deterministicTransfer?: TransferRuleDeterministicTransfer;
1919
1880
  /** Required. The direction of the transfer. */
1920
1881
  direction?:
1921
- | 'DIRECTION_UNSPECIFIED'
1922
- | 'PARENT_TO_CHILD'
1923
- | 'CHILD_TO_PARENT';
1882
+ 'DIRECTION_UNSPECIFIED' | 'PARENT_TO_CHILD' | 'CHILD_TO_PARENT';
1924
1883
  /** Optional. Rule that prevents the planner from transferring to the target agent. */
1925
1884
  disablePlannerTransfer?: TransferRuleDisablePlannerTransfer;
1926
1885
  }
@@ -2385,11 +2344,7 @@ declare namespace gapi.client {
2385
2344
  quotaUser?: string;
2386
2345
  /** Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. */
2387
2346
  source?:
2388
- | 'SOURCE_UNSPECIFIED'
2389
- | 'LIVE'
2390
- | 'SIMULATOR'
2391
- | 'EVAL'
2392
- | 'AGENT_TOOL';
2347
+ 'SOURCE_UNSPECIFIED' | 'LIVE' | 'SIMULATOR' | 'EVAL' | 'AGENT_TOOL';
2393
2348
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2394
2349
  upload_protocol?: string;
2395
2350
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2419,11 +2374,7 @@ declare namespace gapi.client {
2419
2374
  quotaUser?: string;
2420
2375
  /** Optional. Indicate the source of the conversation. If not set, all source will be searched. */
2421
2376
  source?:
2422
- | 'SOURCE_UNSPECIFIED'
2423
- | 'LIVE'
2424
- | 'SIMULATOR'
2425
- | 'EVAL'
2426
- | 'AGENT_TOOL';
2377
+ 'SOURCE_UNSPECIFIED' | 'LIVE' | 'SIMULATOR' | 'EVAL' | 'AGENT_TOOL';
2427
2378
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2428
2379
  upload_protocol?: string;
2429
2380
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2459,11 +2410,7 @@ declare namespace gapi.client {
2459
2410
  quotaUser?: string;
2460
2411
  /** Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field. */
2461
2412
  source?:
2462
- | 'SOURCE_UNSPECIFIED'
2463
- | 'LIVE'
2464
- | 'SIMULATOR'
2465
- | 'EVAL'
2466
- | 'AGENT_TOOL';
2413
+ 'SOURCE_UNSPECIFIED' | 'LIVE' | 'SIMULATOR' | 'EVAL' | 'AGENT_TOOL';
2467
2414
  /** Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default. */
2468
2415
  sources?:
2469
2416
  | 'SOURCE_UNSPECIFIED'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.ces-v1",
3
- "version": "0.4.20260513",
3
+ "version": "0.5.20260612",
4
4
  "description": "TypeScript typings for Gemini Enterprise for Customer Experience API v1",
5
5
  "repository": {
6
6
  "type": "git",