@maxim_mazurok/gapi.client.ces-v1 0.2.20260227 → 0.3.20260304

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 +31 -3
  2. package/package.json +1 -1
  3. package/readme.md +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* Type definitions for non-npm package Gemini Enterprise for Customer Experience API v1 0.0 */
2
- // Project: https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference
2
+ // Project: https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps
3
3
  // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
4
  // Nick Amoscato <https://github.com/namoscato>
5
5
  // Declan Vong <https://github.com/declanvong>
@@ -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: 20260227
12
+ // Revision: 20260304
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -107,6 +107,14 @@ declare namespace gapi.client {
107
107
  /** Optional. Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings. * If true: only response messages with [`allow_playback_interruption`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#text) set to true will be interruptable, all other messages follow the app-level barge-in settings. */
108
108
  respectResponseInterruptionSettings?: boolean;
109
109
  }
110
+ interface AgentTool {
111
+ /** Optional. Description of the tool's purpose. */
112
+ description?: string;
113
+ /** Required. The name of the agent tool. */
114
+ name?: string;
115
+ /** Optional. The resource name of the root agent that is the entry point of the tool. Format: `projects/{project}/locations/{location}/agents/{agent}` */
116
+ rootAgent?: string;
117
+ }
110
118
  interface AgentTransfer {
111
119
  /** Output only. Display name of the agent. */
112
120
  displayName?: string;
@@ -712,6 +720,8 @@ declare namespace gapi.client {
712
720
  interface ExecuteToolRequest {
713
721
  /** Optional. The input parameters and values for the tool in JSON object format. */
714
722
  args?: {[P in string]: any};
723
+ /** Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python tool. */
724
+ context?: {[P in string]: any};
715
725
  /** Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool} */
716
726
  tool?: string;
717
727
  /** Optional. The toolset tool to execute. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned. */
@@ -730,6 +740,8 @@ declare namespace gapi.client {
730
740
  variables?: {[P in string]: any};
731
741
  }
732
742
  interface ExportAppRequest {
743
+ /** Optional. The resource name of the app version to export. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`. */
744
+ appVersion?: string;
733
745
  /** Required. The format to export the app in. */
734
746
  exportFormat?: string;
735
747
  /** Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to export the app. The format of this URI must be `gs:///`. The exported app archive will be written directly to the specified GCS object. */
@@ -1460,6 +1472,8 @@ declare namespace gapi.client {
1460
1472
  displayName?: string;
1461
1473
  }
1462
1474
  interface Tool {
1475
+ /** Optional. The agent tool. */
1476
+ agentTool?: AgentTool;
1463
1477
  /** Optional. The client function. */
1464
1478
  clientFunction?: ClientFunction;
1465
1479
  /** Optional. The Integration Connector tool. */
@@ -1618,15 +1632,29 @@ declare namespace gapi.client {
1618
1632
  uri?: string;
1619
1633
  }
1620
1634
  interface WidgetTool {
1635
+ /** Optional. The mapping that defines how data from a source tool is mapped to the widget's input parameters. */
1636
+ dataMapping?: WidgetToolDataMapping;
1621
1637
  /** Optional. The description of the widget tool. */
1622
1638
  description?: string;
1623
1639
  /** Required. The display name of the widget tool. */
1624
1640
  name?: string;
1625
1641
  /** Optional. The input parameters of the widget tool. */
1626
1642
  parameters?: Schema;
1643
+ /** Optional. Configuration for rendering the widget. */
1644
+ uiConfig?: {[P in string]: any};
1627
1645
  /** Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED. */
1628
1646
  widgetType?: string;
1629
1647
  }
1648
+ interface WidgetToolDataMapping {
1649
+ /** Optional. A map of widget input parameter fields to the corresponding output fields of the source tool. */
1650
+ fieldMappings?: {[P in string]: string};
1651
+ /** Optional. The mode of the data mapping. */
1652
+ mode?: string;
1653
+ /** Optional. A Python script used to transform the source tool's output into the widget's input format. This is used when the mapping is too complex for simple field mappings. */
1654
+ pythonScript?: string;
1655
+ /** Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function). Format: `projects/{project}/locations/{location}/agents/{agent}/tools/{tool}` */
1656
+ sourceToolName?: string;
1657
+ }
1630
1658
  interface AgentsResource {
1631
1659
  /** Creates a new agent in the given app. */
1632
1660
  create(request: {
@@ -2775,7 +2803,7 @@ declare namespace gapi.client {
2775
2803
  },
2776
2804
  body: GenerateChatTokenRequest,
2777
2805
  ): Request<GenerateChatTokenResponse>;
2778
- /** Initiates a single turn interaction with the CES agent within a session. */
2806
+ /** Initiates a single-turn interaction with the CES agent within a session. */
2779
2807
  runSession(request: {
2780
2808
  /** V1 error format. */
2781
2809
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.ces-v1",
3
- "version": "0.2.20260227",
3
+ "version": "0.3.20260304",
4
4
  "description": "TypeScript typings for Gemini Enterprise for Customer Experience API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TypeScript typings for Gemini Enterprise for Customer Experience API v1
2
2
 
3
- For detailed description please check [documentation](https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference).
3
+ For detailed description please check [documentation](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps).
4
4
 
5
5
  ## Installing
6
6