@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20250313 → 0.0.20250325

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 +101 -1
  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://dialogflow.googleapis.com/$discovery/rest?version=v2beta1
12
- // Revision: 20250313
12
+ // Revision: 20250325
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -811,6 +811,12 @@ declare namespace gapi.client {
811
811
  requestBody?: string;
812
812
  /** The HTTP request headers to send together with webhook requests. */
813
813
  requestHeaders?: {[P in string]: string};
814
+ /** Optional. The SecretManager secret version resource storing the username:password pair for HTTP Basic authentication. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
815
+ secretVersionForUsernamePassword?: string;
816
+ /** Optional. The HTTP request headers to send together with webhook requests. Header values are stored in SecretManager secret versions. When the same header name is specified in both `request_headers` and `secret_versions_for_request_headers`, the value in `secret_versions_for_request_headers` will be used. */
817
+ secretVersionsForRequestHeaders?: {
818
+ [P in string]: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue;
819
+ };
814
820
  /** Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header. */
815
821
  serviceAgentAuth?: string;
816
822
  /** Required. The webhook URI for receiving POST requests. It must use https protocol. */
@@ -827,9 +833,15 @@ declare namespace gapi.client {
827
833
  clientSecret?: string;
828
834
  /** Optional. The OAuth scopes to grant. */
829
835
  scopes?: string[];
836
+ /** Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the `client_secret` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
837
+ secretVersionForClientSecret?: string;
830
838
  /** Required. The token endpoint provided by the 3rd party platform to exchange an access token. */
831
839
  tokenEndpoint?: string;
832
840
  }
841
+ interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue {
842
+ /** Required. The SecretManager secret version resource storing the header value. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
843
+ secretVersion?: string;
844
+ }
833
845
  interface GoogleCloudDialogflowCxV3beta1WebhookRequest {
834
846
  /** Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller. */
835
847
  detectIntentResponseId?: string;
@@ -1555,6 +1567,12 @@ declare namespace gapi.client {
1555
1567
  requestBody?: string;
1556
1568
  /** The HTTP request headers to send together with webhook requests. */
1557
1569
  requestHeaders?: {[P in string]: string};
1570
+ /** Optional. The SecretManager secret version resource storing the username:password pair for HTTP Basic authentication. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
1571
+ secretVersionForUsernamePassword?: string;
1572
+ /** Optional. The HTTP request headers to send together with webhook requests. Header values are stored in SecretManager secret versions. When the same header name is specified in both `request_headers` and `secret_versions_for_request_headers`, the value in `secret_versions_for_request_headers` will be used. */
1573
+ secretVersionsForRequestHeaders?: {
1574
+ [P in string]: GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue;
1575
+ };
1558
1576
  /** Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header. */
1559
1577
  serviceAgentAuth?: string;
1560
1578
  /** Required. The webhook URI for receiving POST requests. It must use https protocol. */
@@ -1571,9 +1589,15 @@ declare namespace gapi.client {
1571
1589
  clientSecret?: string;
1572
1590
  /** Optional. The OAuth scopes to grant. */
1573
1591
  scopes?: string[];
1592
+ /** Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the `client_secret` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
1593
+ secretVersionForClientSecret?: string;
1574
1594
  /** Required. The token endpoint provided by the 3rd party platform to exchange an access token. */
1575
1595
  tokenEndpoint?: string;
1576
1596
  }
1597
+ interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue {
1598
+ /** Required. The SecretManager secret version resource storing the header value. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
1599
+ secretVersion?: string;
1600
+ }
1577
1601
  interface GoogleCloudDialogflowCxV3WebhookRequest {
1578
1602
  /** Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller. */
1579
1603
  detectIntentResponseId?: string;
@@ -2446,6 +2470,8 @@ declare namespace gapi.client {
2446
2470
  publishedModel?: string;
2447
2471
  /** Input of Summarization feature. */
2448
2472
  summarizationContext?: GoogleCloudDialogflowV2beta1SummarizationContext;
2473
+ /** Optional. Resource names of the tools that the generator can choose from. Format: `projects//locations//tools/`. */
2474
+ tools?: string[];
2449
2475
  /** Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. */
2450
2476
  triggerEvent?: string;
2451
2477
  /** Output only. Update time of this generator. */
@@ -2456,6 +2482,14 @@ declare namespace gapi.client {
2456
2482
  freeFormSuggestion?: GoogleCloudDialogflowV2beta1FreeFormSuggestion;
2457
2483
  /** Optional. Suggested summary. */
2458
2484
  summarySuggestion?: GoogleCloudDialogflowV2beta1SummarySuggestion;
2485
+ /** Optional. List of request and response for tool calls executed. */
2486
+ toolCallInfo?: GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo[];
2487
+ }
2488
+ interface GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo {
2489
+ /** Required. Request for a tool call. */
2490
+ toolCall?: GoogleCloudDialogflowV2beta1ToolCall;
2491
+ /** Required. Response for a tool call. */
2492
+ toolCallResult?: GoogleCloudDialogflowV2beta1ToolCallResult;
2459
2493
  }
2460
2494
  interface GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig {
2461
2495
  /** Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. */
@@ -3945,6 +3979,34 @@ declare namespace gapi.client {
3945
3979
  [P in string]: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig;
3946
3980
  };
3947
3981
  }
3982
+ interface GoogleCloudDialogflowV2beta1ToolCall {
3983
+ /** Required. The name of the tool's action associated with this call. */
3984
+ action?: string;
3985
+ /** Output only. Create time of the tool call. */
3986
+ createTime?: string;
3987
+ /** Optional. The action's input parameters. */
3988
+ inputParameters?: {[P in string]: any};
3989
+ /** Required. The tool associated with this call. Format: `projects//locations//tools/`. */
3990
+ tool?: string;
3991
+ }
3992
+ interface GoogleCloudDialogflowV2beta1ToolCallResult {
3993
+ /** Required. The name of the tool's action associated with this call. */
3994
+ action?: string;
3995
+ /** Only populated if the response content is utf-8 encoded. */
3996
+ content?: string;
3997
+ /** Output only. Create time of the tool call result. */
3998
+ createTime?: string;
3999
+ /** The tool call's error. */
4000
+ error?: GoogleCloudDialogflowV2beta1ToolCallResultError;
4001
+ /** Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded). */
4002
+ rawContent?: string;
4003
+ /** Required. The tool associated with this call. Format: `projects//locations//tools/`. */
4004
+ tool?: string;
4005
+ }
4006
+ interface GoogleCloudDialogflowV2beta1ToolCallResultError {
4007
+ /** Optional. The error message of the function. */
4008
+ message?: string;
4009
+ }
3948
4010
  interface GoogleCloudDialogflowV2beta1TrainAgentRequest {}
3949
4011
  interface GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest {}
3950
4012
  interface GoogleCloudDialogflowV2beta1ValidationError {
@@ -4181,6 +4243,14 @@ declare namespace gapi.client {
4181
4243
  freeFormSuggestion?: GoogleCloudDialogflowV2FreeFormSuggestion;
4182
4244
  /** Optional. Suggested summary. */
4183
4245
  summarySuggestion?: GoogleCloudDialogflowV2SummarySuggestion;
4246
+ /** Optional. List of request and response for tool calls executed. */
4247
+ toolCallInfo?: GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo[];
4248
+ }
4249
+ interface GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo {
4250
+ /** Required. Request for a tool call. */
4251
+ toolCall?: GoogleCloudDialogflowV2ToolCall;
4252
+ /** Required. Response for a tool call. */
4253
+ toolCallResult?: GoogleCloudDialogflowV2ToolCallResult;
4184
4254
  }
4185
4255
  interface GoogleCloudDialogflowV2HumanAgentAssistantEvent {
4186
4256
  /** The conversation this notification refers to. Format: `projects//conversations/`. */
@@ -4764,6 +4834,34 @@ declare namespace gapi.client {
4764
4834
  /** Required. Summary text for the section. */
4765
4835
  summary?: string;
4766
4836
  }
4837
+ interface GoogleCloudDialogflowV2ToolCall {
4838
+ /** Required. The name of the tool's action associated with this call. */
4839
+ action?: string;
4840
+ /** Output only. Create time of the tool call. */
4841
+ createTime?: string;
4842
+ /** Optional. The action's input parameters. */
4843
+ inputParameters?: {[P in string]: any};
4844
+ /** Required. The tool associated with this call. Format: `projects//locations//tools/`. */
4845
+ tool?: string;
4846
+ }
4847
+ interface GoogleCloudDialogflowV2ToolCallResult {
4848
+ /** Required. The name of the tool's action associated with this call. */
4849
+ action?: string;
4850
+ /** Only populated if the response content is utf-8 encoded. */
4851
+ content?: string;
4852
+ /** Output only. Create time of the tool call result. */
4853
+ createTime?: string;
4854
+ /** The tool call's error. */
4855
+ error?: GoogleCloudDialogflowV2ToolCallResultError;
4856
+ /** Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded). */
4857
+ rawContent?: string;
4858
+ /** Required. The tool associated with this call. Format: `projects//locations//tools/`. */
4859
+ tool?: string;
4860
+ }
4861
+ interface GoogleCloudDialogflowV2ToolCallResultError {
4862
+ /** Optional. The error message of the function. */
4863
+ message?: string;
4864
+ }
4767
4865
  interface GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata {
4768
4866
  /** The resource name of the conversation model. Format: `projects//conversationModels/` */
4769
4867
  conversationModel?: string;
@@ -15975,6 +16073,8 @@ declare namespace gapi.client {
15975
16073
  alt?: string;
15976
16074
  /** JSONP */
15977
16075
  callback?: string;
16076
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
16077
+ extraLocationTypes?: string | string[];
15978
16078
  /** Selector specifying which fields to include in a partial response. */
15979
16079
  fields?: string;
15980
16080
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dialogflow-v2beta1",
3
- "version": "0.0.20250313",
3
+ "version": "0.0.20250325",
4
4
  "description": "TypeScript typings for Dialogflow API v2beta1",
5
5
  "repository": {
6
6
  "type": "git",