@maxim_mazurok/gapi.client.ces-v1 0.3.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 +29 -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;
@@ -732,6 +740,8 @@ declare namespace gapi.client {
732
740
  variables?: {[P in string]: any};
733
741
  }
734
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;
735
745
  /** Required. The format to export the app in. */
736
746
  exportFormat?: string;
737
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. */
@@ -1462,6 +1472,8 @@ declare namespace gapi.client {
1462
1472
  displayName?: string;
1463
1473
  }
1464
1474
  interface Tool {
1475
+ /** Optional. The agent tool. */
1476
+ agentTool?: AgentTool;
1465
1477
  /** Optional. The client function. */
1466
1478
  clientFunction?: ClientFunction;
1467
1479
  /** Optional. The Integration Connector tool. */
@@ -1620,15 +1632,29 @@ declare namespace gapi.client {
1620
1632
  uri?: string;
1621
1633
  }
1622
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;
1623
1637
  /** Optional. The description of the widget tool. */
1624
1638
  description?: string;
1625
1639
  /** Required. The display name of the widget tool. */
1626
1640
  name?: string;
1627
1641
  /** Optional. The input parameters of the widget tool. */
1628
1642
  parameters?: Schema;
1643
+ /** Optional. Configuration for rendering the widget. */
1644
+ uiConfig?: {[P in string]: any};
1629
1645
  /** Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED. */
1630
1646
  widgetType?: string;
1631
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
+ }
1632
1658
  interface AgentsResource {
1633
1659
  /** Creates a new agent in the given app. */
1634
1660
  create(request: {
@@ -2777,7 +2803,7 @@ declare namespace gapi.client {
2777
2803
  },
2778
2804
  body: GenerateChatTokenRequest,
2779
2805
  ): Request<GenerateChatTokenResponse>;
2780
- /** 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. */
2781
2807
  runSession(request: {
2782
2808
  /** V1 error format. */
2783
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.3.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