@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20250606 → 0.0.20250617
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.
- package/index.d.ts +41 -9
- 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:
|
|
12
|
+
// Revision: 20250617
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -342,6 +342,8 @@ declare namespace gapi.client {
|
|
|
342
342
|
conditionalCases?: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[];
|
|
343
343
|
/** If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers. */
|
|
344
344
|
enableGenerativeFallback?: boolean;
|
|
345
|
+
/** A list of Generators to be called during this fulfillment. */
|
|
346
|
+
generators?: GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings[];
|
|
345
347
|
/** The list of rich message responses to present to the user. */
|
|
346
348
|
messages?: GoogleCloudDialogflowCxV3beta1ResponseMessage[];
|
|
347
349
|
/** Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. */
|
|
@@ -369,6 +371,14 @@ declare namespace gapi.client {
|
|
|
369
371
|
/** Returned message. */
|
|
370
372
|
message?: GoogleCloudDialogflowCxV3beta1ResponseMessage;
|
|
371
373
|
}
|
|
374
|
+
interface GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings {
|
|
375
|
+
/** Required. The generator to call. Format: `projects//locations//agents//generators/`. */
|
|
376
|
+
generator?: string;
|
|
377
|
+
/** Map from placeholder parameter in the Generator to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: parameter ID - Map value: session parameter name */
|
|
378
|
+
inputParameters?: {[P in string]: string};
|
|
379
|
+
/** Required. Output parameter which should contain the generator response. */
|
|
380
|
+
outputParameter?: string;
|
|
381
|
+
}
|
|
372
382
|
interface GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction {
|
|
373
383
|
/** Display name of the parameter. */
|
|
374
384
|
parameter?: string;
|
|
@@ -1122,6 +1132,8 @@ declare namespace gapi.client {
|
|
|
1122
1132
|
conditionalCases?: GoogleCloudDialogflowCxV3FulfillmentConditionalCases[];
|
|
1123
1133
|
/** If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers. */
|
|
1124
1134
|
enableGenerativeFallback?: boolean;
|
|
1135
|
+
/** A list of Generators to be called during this fulfillment. */
|
|
1136
|
+
generators?: GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings[];
|
|
1125
1137
|
/** The list of rich message responses to present to the user. */
|
|
1126
1138
|
messages?: GoogleCloudDialogflowCxV3ResponseMessage[];
|
|
1127
1139
|
/** Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. */
|
|
@@ -1149,6 +1161,14 @@ declare namespace gapi.client {
|
|
|
1149
1161
|
/** Returned message. */
|
|
1150
1162
|
message?: GoogleCloudDialogflowCxV3ResponseMessage;
|
|
1151
1163
|
}
|
|
1164
|
+
interface GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings {
|
|
1165
|
+
/** Required. The generator to call. Format: `projects//locations//agents//generators/`. */
|
|
1166
|
+
generator?: string;
|
|
1167
|
+
/** Map from placeholder parameter in the Generator to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: parameter ID - Map value: session parameter name */
|
|
1168
|
+
inputParameters?: {[P in string]: string};
|
|
1169
|
+
/** Required. Output parameter which should contain the generator response. */
|
|
1170
|
+
outputParameter?: string;
|
|
1171
|
+
}
|
|
1152
1172
|
interface GoogleCloudDialogflowCxV3FulfillmentSetParameterAction {
|
|
1153
1173
|
/** Display name of the parameter. */
|
|
1154
1174
|
parameter?: string;
|
|
@@ -3243,6 +3263,8 @@ declare namespace gapi.client {
|
|
|
3243
3263
|
name?: string;
|
|
3244
3264
|
}
|
|
3245
3265
|
interface GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata {
|
|
3266
|
+
/** The time when the operation finished. */
|
|
3267
|
+
doneTime?: string;
|
|
3246
3268
|
/** Metadata for the Export Data Operation such as the destination of export. */
|
|
3247
3269
|
exportOperationMetadata?: GoogleCloudDialogflowV2beta1ExportOperationMetadata;
|
|
3248
3270
|
/** The name of the knowledge base interacted with during the operation. */
|
|
@@ -4018,17 +4040,17 @@ declare namespace gapi.client {
|
|
|
4018
4040
|
};
|
|
4019
4041
|
}
|
|
4020
4042
|
interface GoogleCloudDialogflowV2beta1ToolCall {
|
|
4021
|
-
/**
|
|
4043
|
+
/** Optional. The name of the tool's action associated with this call. */
|
|
4022
4044
|
action?: string;
|
|
4023
4045
|
/** Output only. Create time of the tool call. */
|
|
4024
4046
|
createTime?: string;
|
|
4025
4047
|
/** Optional. The action's input parameters. */
|
|
4026
4048
|
inputParameters?: {[P in string]: any};
|
|
4027
|
-
/**
|
|
4049
|
+
/** Optional. The tool associated with this call. Format: `projects//locations//tools/`. */
|
|
4028
4050
|
tool?: string;
|
|
4029
4051
|
}
|
|
4030
4052
|
interface GoogleCloudDialogflowV2beta1ToolCallResult {
|
|
4031
|
-
/**
|
|
4053
|
+
/** Optional. The name of the tool's action associated with this call. */
|
|
4032
4054
|
action?: string;
|
|
4033
4055
|
/** Only populated if the response content is utf-8 encoded. */
|
|
4034
4056
|
content?: string;
|
|
@@ -4038,7 +4060,7 @@ declare namespace gapi.client {
|
|
|
4038
4060
|
error?: GoogleCloudDialogflowV2beta1ToolCallResultError;
|
|
4039
4061
|
/** Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded). */
|
|
4040
4062
|
rawContent?: string;
|
|
4041
|
-
/**
|
|
4063
|
+
/** Optional. The tool associated with this call. Format: `projects//locations//tools/`. */
|
|
4042
4064
|
tool?: string;
|
|
4043
4065
|
}
|
|
4044
4066
|
interface GoogleCloudDialogflowV2beta1ToolCallResultError {
|
|
@@ -4180,6 +4202,8 @@ declare namespace gapi.client {
|
|
|
4180
4202
|
conversationModel?: string;
|
|
4181
4203
|
/** Timestamp when the request to create conversation model is submitted. The time is measured on server side. */
|
|
4182
4204
|
createTime?: string;
|
|
4205
|
+
/** The time when the operation finished. */
|
|
4206
|
+
doneTime?: string;
|
|
4183
4207
|
/** State of CreateConversationModel operation. */
|
|
4184
4208
|
state?: string;
|
|
4185
4209
|
}
|
|
@@ -4189,12 +4213,16 @@ declare namespace gapi.client {
|
|
|
4189
4213
|
conversationModel?: string;
|
|
4190
4214
|
/** Timestamp when delete conversation model request was created. The time is measured on server side. */
|
|
4191
4215
|
createTime?: string;
|
|
4216
|
+
/** The time when the operation finished. */
|
|
4217
|
+
doneTime?: string;
|
|
4192
4218
|
}
|
|
4193
4219
|
interface GoogleCloudDialogflowV2DeployConversationModelOperationMetadata {
|
|
4194
4220
|
/** The resource name of the conversation model. Format: `projects//conversationModels/` */
|
|
4195
4221
|
conversationModel?: string;
|
|
4196
4222
|
/** Timestamp when request to deploy conversation model was submitted. The time is measured on server side. */
|
|
4197
4223
|
createTime?: string;
|
|
4224
|
+
/** The time when the operation finished. */
|
|
4225
|
+
doneTime?: string;
|
|
4198
4226
|
}
|
|
4199
4227
|
interface GoogleCloudDialogflowV2EncryptionSpec {
|
|
4200
4228
|
/** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
|
|
@@ -4675,6 +4703,8 @@ declare namespace gapi.client {
|
|
|
4675
4703
|
queryText?: string;
|
|
4676
4704
|
}
|
|
4677
4705
|
interface GoogleCloudDialogflowV2KnowledgeOperationMetadata {
|
|
4706
|
+
/** The time when the operation finished. */
|
|
4707
|
+
doneTime?: string;
|
|
4678
4708
|
/** Metadata for the Export Data Operation such as the destination of export. */
|
|
4679
4709
|
exportOperationMetadata?: GoogleCloudDialogflowV2ExportOperationMetadata;
|
|
4680
4710
|
/** The name of the knowledge base interacted with during the operation. */
|
|
@@ -4873,17 +4903,17 @@ declare namespace gapi.client {
|
|
|
4873
4903
|
summary?: string;
|
|
4874
4904
|
}
|
|
4875
4905
|
interface GoogleCloudDialogflowV2ToolCall {
|
|
4876
|
-
/**
|
|
4906
|
+
/** Optional. The name of the tool's action associated with this call. */
|
|
4877
4907
|
action?: string;
|
|
4878
4908
|
/** Output only. Create time of the tool call. */
|
|
4879
4909
|
createTime?: string;
|
|
4880
4910
|
/** Optional. The action's input parameters. */
|
|
4881
4911
|
inputParameters?: {[P in string]: any};
|
|
4882
|
-
/**
|
|
4912
|
+
/** Optional. The tool associated with this call. Format: `projects//locations//tools/`. */
|
|
4883
4913
|
tool?: string;
|
|
4884
4914
|
}
|
|
4885
4915
|
interface GoogleCloudDialogflowV2ToolCallResult {
|
|
4886
|
-
/**
|
|
4916
|
+
/** Optional. The name of the tool's action associated with this call. */
|
|
4887
4917
|
action?: string;
|
|
4888
4918
|
/** Only populated if the response content is utf-8 encoded. */
|
|
4889
4919
|
content?: string;
|
|
@@ -4893,7 +4923,7 @@ declare namespace gapi.client {
|
|
|
4893
4923
|
error?: GoogleCloudDialogflowV2ToolCallResultError;
|
|
4894
4924
|
/** Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded). */
|
|
4895
4925
|
rawContent?: string;
|
|
4896
|
-
/**
|
|
4926
|
+
/** Optional. The tool associated with this call. Format: `projects//locations//tools/`. */
|
|
4897
4927
|
tool?: string;
|
|
4898
4928
|
}
|
|
4899
4929
|
interface GoogleCloudDialogflowV2ToolCallResultError {
|
|
@@ -4905,6 +4935,8 @@ declare namespace gapi.client {
|
|
|
4905
4935
|
conversationModel?: string;
|
|
4906
4936
|
/** Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side. */
|
|
4907
4937
|
createTime?: string;
|
|
4938
|
+
/** The time when the operation finished. */
|
|
4939
|
+
doneTime?: string;
|
|
4908
4940
|
}
|
|
4909
4941
|
interface GoogleCloudDialogflowV2WebhookRequest {
|
|
4910
4942
|
/** Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call. */
|