@maxim_mazurok/gapi.client.dialogflow-v2 0.0.20230715 → 0.0.20230722
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 +49 -43
- package/package.json +1 -1
- package/tests.ts +7 -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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230722
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -242,7 +242,7 @@ declare namespace gapi.client {
|
|
|
242
242
|
/** The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in ExportAgentRequest. */
|
|
243
243
|
agentUri?:
|
|
244
244
|
string;
|
|
245
|
-
/** Commit SHA of the git push. This field is populated if `git_destination`
|
|
245
|
+
/** Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest. */
|
|
246
246
|
commitSha?:
|
|
247
247
|
string;
|
|
248
248
|
}
|
|
@@ -1295,7 +1295,7 @@ declare namespace gapi.client {
|
|
|
1295
1295
|
/** The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in ExportAgentRequest. */
|
|
1296
1296
|
agentUri?:
|
|
1297
1297
|
string;
|
|
1298
|
-
/** Commit SHA of the git push. This field is populated if `git_destination`
|
|
1298
|
+
/** Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest. */
|
|
1299
1299
|
commitSha?:
|
|
1300
1300
|
string;
|
|
1301
1301
|
}
|
|
@@ -1724,6 +1724,9 @@ declare namespace gapi.client {
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
playAudio?:
|
|
1726
1726
|
GoogleCloudDialogflowCxV3ResponseMessagePlayAudio;
|
|
1727
|
+
/** Response type. */
|
|
1728
|
+
responseType?:
|
|
1729
|
+
string;
|
|
1727
1730
|
/** A signal that the client should transfer the phone call connected to this agent to a third-party endpoint. */
|
|
1728
1731
|
telephonyTransferCall?:
|
|
1729
1732
|
GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall;
|
|
@@ -2622,7 +2625,7 @@ declare namespace gapi.client {
|
|
|
2622
2625
|
/**
|
|
2623
2626
|
* Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, -
|
|
2624
2627
|
* `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to
|
|
2625
|
-
* lowercase, may only contain characters in a-zA-Z0-9_
|
|
2628
|
+
* lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID`
|
|
2626
2629
|
* is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with
|
|
2627
2630
|
* these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
2628
2631
|
*/
|
|
@@ -2630,9 +2633,9 @@ declare namespace gapi.client {
|
|
|
2630
2633
|
string;
|
|
2631
2634
|
/**
|
|
2632
2635
|
* Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table,
|
|
2633
|
-
* dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:
|
|
2634
|
-
*
|
|
2635
|
-
* composite entity
|
|
2636
|
+
* dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is
|
|
2637
|
+
* a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's
|
|
2638
|
+
* entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
2636
2639
|
*/
|
|
2637
2640
|
parameters?:
|
|
2638
2641
|
{ [P in string]: any };
|
|
@@ -2712,9 +2715,9 @@ declare namespace gapi.client {
|
|
|
2712
2715
|
string;
|
|
2713
2716
|
/**
|
|
2714
2717
|
* The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON
|
|
2715
|
-
* object composed of a collection of (MapKey, MapValue) pairs:
|
|
2716
|
-
*
|
|
2717
|
-
* entity
|
|
2718
|
+
* object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity
|
|
2719
|
+
* then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a
|
|
2720
|
+
* composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
2718
2721
|
*/
|
|
2719
2722
|
parameters?:
|
|
2720
2723
|
{ [P in string]: any };
|
|
@@ -2754,7 +2757,7 @@ declare namespace gapi.client {
|
|
|
2754
2757
|
}
|
|
2755
2758
|
interface GoogleCloudDialogflowV2beta1GcsDestination {
|
|
2756
2759
|
/**
|
|
2757
|
-
* Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The
|
|
2760
|
+
* Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The
|
|
2758
2761
|
* requesting user must have "write-permission" to the bucket.
|
|
2759
2762
|
*/
|
|
2760
2763
|
uri?:
|
|
@@ -3575,9 +3578,9 @@ declare namespace gapi.client {
|
|
|
3575
3578
|
GoogleCloudDialogflowV2beta1Context[];
|
|
3576
3579
|
/**
|
|
3577
3580
|
* The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of
|
|
3578
|
-
* a collection of (MapKey, MapValue) pairs:
|
|
3579
|
-
* depending on parameter value type, could be one of string, number, boolean, null, list or map
|
|
3580
|
-
* composite entity property names to property values
|
|
3581
|
+
* a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map,
|
|
3582
|
+
* otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity
|
|
3583
|
+
* then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
3581
3584
|
*/
|
|
3582
3585
|
parameters?:
|
|
3583
3586
|
{ [P in string]: any };
|
|
@@ -3847,7 +3850,7 @@ declare namespace gapi.client {
|
|
|
3847
3850
|
number;
|
|
3848
3851
|
/**
|
|
3849
3852
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
3850
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
3853
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
3851
3854
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or
|
|
3852
3855
|
* create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
3853
3856
|
*/
|
|
@@ -3855,9 +3858,9 @@ declare namespace gapi.client {
|
|
|
3855
3858
|
string;
|
|
3856
3859
|
/**
|
|
3857
3860
|
* Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table,
|
|
3858
|
-
* dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:
|
|
3859
|
-
*
|
|
3860
|
-
* composite entity
|
|
3861
|
+
* dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is
|
|
3862
|
+
* a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's
|
|
3863
|
+
* entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
3861
3864
|
*/
|
|
3862
3865
|
parameters?:
|
|
3863
3866
|
{ [P in string]: any };
|
|
@@ -4347,9 +4350,9 @@ declare namespace gapi.client {
|
|
|
4347
4350
|
string;
|
|
4348
4351
|
/**
|
|
4349
4352
|
* The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON
|
|
4350
|
-
* object composed of a collection of (MapKey, MapValue) pairs:
|
|
4351
|
-
*
|
|
4352
|
-
* entity
|
|
4353
|
+
* object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity
|
|
4354
|
+
* then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a
|
|
4355
|
+
* composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
4353
4356
|
*/
|
|
4354
4357
|
parameters?:
|
|
4355
4358
|
{ [P in string]: any };
|
|
@@ -4454,14 +4457,14 @@ declare namespace gapi.client {
|
|
|
4454
4457
|
}
|
|
4455
4458
|
interface GoogleCloudDialogflowV2GcsDestination {
|
|
4456
4459
|
/**
|
|
4457
|
-
* The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user
|
|
4460
|
+
* The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user
|
|
4458
4461
|
* must have "write-permission" to the bucket.
|
|
4459
4462
|
*/
|
|
4460
4463
|
uri?:
|
|
4461
4464
|
string;
|
|
4462
4465
|
}
|
|
4463
4466
|
interface GoogleCloudDialogflowV2GcsSources {
|
|
4464
|
-
/** Required. Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. */
|
|
4467
|
+
/** Required. Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. */
|
|
4465
4468
|
uris?:
|
|
4466
4469
|
string[];
|
|
4467
4470
|
}
|
|
@@ -4802,8 +4805,8 @@ declare namespace gapi.client {
|
|
|
4802
4805
|
string;
|
|
4803
4806
|
/**
|
|
4804
4807
|
* A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech
|
|
4805
|
-
* documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [speech_contexts]() instead. If you specify
|
|
4806
|
-
* both [phrase_hints]() and [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional [SpeechContext]().
|
|
4808
|
+
* documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify
|
|
4809
|
+
* both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
|
|
4807
4810
|
*/
|
|
4808
4811
|
phraseHints?:
|
|
4809
4812
|
string[];
|
|
@@ -5613,6 +5616,9 @@ declare namespace gapi.client {
|
|
|
5613
5616
|
*/
|
|
5614
5617
|
payload?:
|
|
5615
5618
|
{ [P in string]: any };
|
|
5619
|
+
/** The platform of the virtual agent response messages. If not empty, only emits messages from this platform in the response. Valid values are the enum names of platform. */
|
|
5620
|
+
platform?:
|
|
5621
|
+
string;
|
|
5616
5622
|
/** Specifies whether to delete all contexts in the current session before the new ones are activated. */
|
|
5617
5623
|
resetContexts?:
|
|
5618
5624
|
boolean;
|
|
@@ -5689,9 +5695,9 @@ declare namespace gapi.client {
|
|
|
5689
5695
|
GoogleCloudDialogflowV2Context[];
|
|
5690
5696
|
/**
|
|
5691
5697
|
* The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of
|
|
5692
|
-
* a collection of (MapKey, MapValue) pairs:
|
|
5693
|
-
* depending on parameter value type, could be one of string, number, boolean, null, list or map
|
|
5694
|
-
* composite entity property names to property values
|
|
5698
|
+
* a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map,
|
|
5699
|
+
* otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity
|
|
5700
|
+
* then use map from composite entity property names to property values, otherwise, use parameter value.
|
|
5695
5701
|
*/
|
|
5696
5702
|
parameters?:
|
|
5697
5703
|
{ [P in string]: any };
|
|
@@ -6097,9 +6103,9 @@ declare namespace gapi.client {
|
|
|
6097
6103
|
}
|
|
6098
6104
|
interface GoogleCloudDialogflowV2ValidationError {
|
|
6099
6105
|
/**
|
|
6100
|
-
* The names of the entries that the error is associated with. Format: -
|
|
6101
|
-
* is associated with certain intents. -
|
|
6102
|
-
*
|
|
6106
|
+
* The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error
|
|
6107
|
+
* is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. -
|
|
6108
|
+
* `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities.
|
|
6103
6109
|
*/
|
|
6104
6110
|
entries?:
|
|
6105
6111
|
string[];
|
|
@@ -7441,7 +7447,7 @@ declare namespace gapi.client {
|
|
|
7441
7447
|
string;
|
|
7442
7448
|
/**
|
|
7443
7449
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
7444
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
7450
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
7445
7451
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
7446
7452
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
7447
7453
|
*/
|
|
@@ -7490,7 +7496,7 @@ declare namespace gapi.client {
|
|
|
7490
7496
|
string;
|
|
7491
7497
|
/**
|
|
7492
7498
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
7493
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
7499
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
7494
7500
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
7495
7501
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
7496
7502
|
*/
|
|
@@ -9858,7 +9864,7 @@ declare namespace gapi.client {
|
|
|
9858
9864
|
string;
|
|
9859
9865
|
/**
|
|
9860
9866
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
9861
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
9867
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
9862
9868
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
9863
9869
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
9864
9870
|
*/
|
|
@@ -9907,7 +9913,7 @@ declare namespace gapi.client {
|
|
|
9907
9913
|
string;
|
|
9908
9914
|
/**
|
|
9909
9915
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
9910
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
9916
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
9911
9917
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
9912
9918
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
9913
9919
|
*/
|
|
@@ -13381,7 +13387,7 @@ declare namespace gapi.client {
|
|
|
13381
13387
|
string;
|
|
13382
13388
|
/**
|
|
13383
13389
|
* Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The
|
|
13384
|
-
* conversation ID must be compliant with the regression fomula
|
|
13390
|
+
* conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1.
|
|
13385
13391
|
* the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
|
|
13386
13392
|
*/
|
|
13387
13393
|
conversationId?:
|
|
@@ -13429,7 +13435,7 @@ declare namespace gapi.client {
|
|
|
13429
13435
|
string;
|
|
13430
13436
|
/**
|
|
13431
13437
|
* Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The
|
|
13432
|
-
* conversation ID must be compliant with the regression fomula
|
|
13438
|
+
* conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1.
|
|
13433
13439
|
* the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
|
|
13434
13440
|
*/
|
|
13435
13441
|
conversationId?:
|
|
@@ -15511,7 +15517,7 @@ declare namespace gapi.client {
|
|
|
15511
15517
|
string;
|
|
15512
15518
|
/**
|
|
15513
15519
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
15514
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
15520
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
15515
15521
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
15516
15522
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
15517
15523
|
*/
|
|
@@ -15560,7 +15566,7 @@ declare namespace gapi.client {
|
|
|
15560
15566
|
string;
|
|
15561
15567
|
/**
|
|
15562
15568
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
15563
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
15569
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
15564
15570
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
15565
15571
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
15566
15572
|
*/
|
|
@@ -17224,7 +17230,7 @@ declare namespace gapi.client {
|
|
|
17224
17230
|
string;
|
|
17225
17231
|
/**
|
|
17226
17232
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
17227
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
17233
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
17228
17234
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
17229
17235
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
17230
17236
|
*/
|
|
@@ -17273,7 +17279,7 @@ declare namespace gapi.client {
|
|
|
17273
17279
|
string;
|
|
17274
17280
|
/**
|
|
17275
17281
|
* Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is
|
|
17276
|
-
* always converted to lowercase, may only contain characters in a-zA-Z0-9_
|
|
17282
|
+
* always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft'
|
|
17277
17283
|
* environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these
|
|
17278
17284
|
* contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
17279
17285
|
*/
|
|
@@ -20953,7 +20959,7 @@ declare namespace gapi.client {
|
|
|
20953
20959
|
string;
|
|
20954
20960
|
/**
|
|
20955
20961
|
* Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The
|
|
20956
|
-
* conversation ID must be compliant with the regression fomula
|
|
20962
|
+
* conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1.
|
|
20957
20963
|
* the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
|
|
20958
20964
|
*/
|
|
20959
20965
|
conversationId?:
|
|
@@ -21001,7 +21007,7 @@ declare namespace gapi.client {
|
|
|
21001
21007
|
string;
|
|
21002
21008
|
/**
|
|
21003
21009
|
* Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The
|
|
21004
|
-
* conversation ID must be compliant with the regression fomula
|
|
21010
|
+
* conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1.
|
|
21005
21011
|
* the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
|
|
21006
21012
|
*/
|
|
21007
21013
|
conversationId?:
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230722
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -532,6 +532,7 @@ gapi.load('client', async () => {
|
|
|
532
532
|
payload: {
|
|
533
533
|
A: 42
|
|
534
534
|
},
|
|
535
|
+
platform: "Test string",
|
|
535
536
|
resetContexts: true,
|
|
536
537
|
sentimentAnalysisRequestConfig: {
|
|
537
538
|
analyzeQueryTextSentiment: true,
|
|
@@ -1907,6 +1908,7 @@ gapi.load('client', async () => {
|
|
|
1907
1908
|
payload: {
|
|
1908
1909
|
A: 42
|
|
1909
1910
|
},
|
|
1911
|
+
platform: "Test string",
|
|
1910
1912
|
resetContexts: true,
|
|
1911
1913
|
sentimentAnalysisRequestConfig: {
|
|
1912
1914
|
analyzeQueryTextSentiment: true,
|
|
@@ -2689,6 +2691,7 @@ gapi.load('client', async () => {
|
|
|
2689
2691
|
payload: {
|
|
2690
2692
|
A: 42
|
|
2691
2693
|
},
|
|
2694
|
+
platform: "Test string",
|
|
2692
2695
|
resetContexts: true,
|
|
2693
2696
|
sentimentAnalysisRequestConfig: {
|
|
2694
2697
|
analyzeQueryTextSentiment: true,
|
|
@@ -3498,6 +3501,7 @@ gapi.load('client', async () => {
|
|
|
3498
3501
|
payload: {
|
|
3499
3502
|
A: 42
|
|
3500
3503
|
},
|
|
3504
|
+
platform: "Test string",
|
|
3501
3505
|
resetContexts: true,
|
|
3502
3506
|
sentimentAnalysisRequestConfig: {
|
|
3503
3507
|
analyzeQueryTextSentiment: true,
|
|
@@ -4741,6 +4745,7 @@ gapi.load('client', async () => {
|
|
|
4741
4745
|
payload: {
|
|
4742
4746
|
A: 42
|
|
4743
4747
|
},
|
|
4748
|
+
platform: "Test string",
|
|
4744
4749
|
resetContexts: true,
|
|
4745
4750
|
sentimentAnalysisRequestConfig: {
|
|
4746
4751
|
analyzeQueryTextSentiment: true,
|
|
@@ -5590,6 +5595,7 @@ gapi.load('client', async () => {
|
|
|
5590
5595
|
payload: {
|
|
5591
5596
|
A: 42
|
|
5592
5597
|
},
|
|
5598
|
+
platform: "Test string",
|
|
5593
5599
|
resetContexts: true,
|
|
5594
5600
|
sentimentAnalysisRequestConfig: {
|
|
5595
5601
|
analyzeQueryTextSentiment: true,
|