Skip to content

Commit cac5079

Browse files
authored
Merge pull request #686 from watson-developer-cloud/release-03-2022
Release 03 2022
2 parents aa9800e + df51d49 commit cac5079

File tree

406 files changed

+2071
-16690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

406 files changed

+2071
-16690
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,4 @@ package-lock.json
8383
package-lock.json.meta
8484

8585
.pre-commit-config.yaml
86-
.secrets.baseline
8786
/.idea

.secrets.baseline

Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
{
2+
"exclude": {
3+
"files": "package-lock.json|^.secrets.baseline$",
4+
"lines": null
5+
},
6+
"generated_at": "2022-03-21T14:17:34Z",
7+
"plugins_used": [
8+
{
9+
"name": "AWSKeyDetector"
10+
},
11+
{
12+
"name": "ArtifactoryDetector"
13+
},
14+
{
15+
"name": "AzureStorageKeyDetector"
16+
},
17+
{
18+
"base64_limit": 4.5,
19+
"name": "Base64HighEntropyString"
20+
},
21+
{
22+
"name": "BasicAuthDetector"
23+
},
24+
{
25+
"name": "BoxDetector"
26+
},
27+
{
28+
"name": "CloudantDetector"
29+
},
30+
{
31+
"ghe_instance": "github.ibm.com",
32+
"name": "GheDetector"
33+
},
34+
{
35+
"name": "GitHubTokenDetector"
36+
},
37+
{
38+
"hex_limit": 3,
39+
"name": "HexHighEntropyString"
40+
},
41+
{
42+
"name": "IbmCloudIamDetector"
43+
},
44+
{
45+
"name": "IbmCosHmacDetector"
46+
},
47+
{
48+
"name": "JwtTokenDetector"
49+
},
50+
{
51+
"keyword_exclude": null,
52+
"name": "KeywordDetector"
53+
},
54+
{
55+
"name": "MailchimpDetector"
56+
},
57+
{
58+
"name": "NpmDetector"
59+
},
60+
{
61+
"name": "PrivateKeyDetector"
62+
},
63+
{
64+
"name": "SlackDetector"
65+
},
66+
{
67+
"name": "SoftlayerDetector"
68+
},
69+
{
70+
"name": "SquareOAuthDetector"
71+
},
72+
{
73+
"name": "StripeDetector"
74+
},
75+
{
76+
"name": "TwilioKeyDetector"
77+
}
78+
],
79+
"results": {
80+
"Examples/ExampleAssistantV2.cs": [
81+
{
82+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
83+
"is_secret": false,
84+
"is_verified": false,
85+
"line_number": 73,
86+
"type": "Secret Keyword",
87+
"verified_result": null
88+
}
89+
],
90+
"Examples/ExampleDiscoveryV1.cs": [
91+
{
92+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
93+
"is_secret": false,
94+
"is_verified": false,
95+
"line_number": 43,
96+
"type": "Secret Keyword",
97+
"verified_result": null
98+
}
99+
],
100+
"Examples/ExampleLanguageTranslatorV3.cs": [
101+
{
102+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
103+
"is_secret": false,
104+
"is_verified": false,
105+
"line_number": 43,
106+
"type": "Secret Keyword",
107+
"verified_result": null
108+
}
109+
],
110+
"Examples/ExampleNaturalLanguageClassifierV1.cs": [
111+
{
112+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
113+
"is_secret": false,
114+
"is_verified": false,
115+
"line_number": 58,
116+
"type": "Secret Keyword",
117+
"verified_result": null
118+
}
119+
],
120+
"Examples/ExampleNaturalLanguageUnderstandingV1.cs": [
121+
{
122+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
123+
"is_secret": false,
124+
"is_verified": false,
125+
"line_number": 61,
126+
"type": "Secret Keyword",
127+
"verified_result": null
128+
}
129+
],
130+
"Examples/ExampleNaturalLanguageUnderstandingV1.unity": [
131+
{
132+
"hashed_secret": "0a7de5e7fb4d25074cb5c09250c742b1135fad80",
133+
"is_secret": false,
134+
"is_verified": false,
135+
"line_number": 152,
136+
"type": "Secret Keyword",
137+
"verified_result": null
138+
}
139+
],
140+
"Examples/ExampleStreaming.cs": [
141+
{
142+
"hashed_secret": "ae4b2c7d462619b036460c8673c089a79507c599",
143+
"is_secret": false,
144+
"is_verified": false,
145+
"line_number": 75,
146+
"type": "Secret Keyword",
147+
"verified_result": null
148+
}
149+
],
150+
"Examples/ExampleTextToSpeechV1.cs": [
151+
{
152+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
153+
"is_secret": false,
154+
"is_verified": false,
155+
"line_number": 75,
156+
"type": "Secret Keyword",
157+
"verified_result": null
158+
}
159+
],
160+
"Examples/ExampleToneAnalyzerV3.cs": [
161+
{
162+
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
163+
"is_secret": false,
164+
"is_verified": false,
165+
"line_number": 67,
166+
"type": "Secret Keyword",
167+
"verified_result": null
168+
}
169+
],
170+
"Examples/ExampleToneAnalyzerV3.unity": [
171+
{
172+
"hashed_secret": "b4914600112ba18af7798b6c1a1363728ae1d96f",
173+
"is_secret": false,
174+
"is_verified": false,
175+
"line_number": 152,
176+
"type": "Secret Keyword",
177+
"verified_result": null
178+
}
179+
],
180+
"README.md": [
181+
{
182+
"hashed_secret": "33515d8639fda6b97c36f87706759ed3af26e97f",
183+
"is_secret": false,
184+
"is_verified": false,
185+
"line_number": 125,
186+
"type": "Secret Keyword",
187+
"verified_result": null
188+
}
189+
],
190+
"Scripts/Services/Discovery/V1/Model/CredentialDetails.cs": [
191+
{
192+
"hashed_secret": "e8fc807ce6fbcda13f91c5b64850173873de0cdc",
193+
"is_secret": false,
194+
"is_verified": false,
195+
"line_number": 53,
196+
"type": "Secret Keyword",
197+
"verified_result": null
198+
},
199+
{
200+
"hashed_secret": "fdee05598fdd57ff8e9ae29e92c25a04f2c52fa6",
201+
"is_secret": false,
202+
"is_verified": false,
203+
"line_number": 57,
204+
"type": "Secret Keyword",
205+
"verified_result": null
206+
}
207+
],
208+
"Scripts/Services/SpeechToText/V1/SpeechToTextService.cs": [
209+
{
210+
"hashed_secret": "f36082ba942225c26353b911fd9beb809e5322be",
211+
"is_secret": false,
212+
"is_verified": false,
213+
"line_number": 761,
214+
"type": "Secret Keyword",
215+
"verified_result": null
216+
},
217+
{
218+
"hashed_secret": "cdc5cfb3a1df5a330bccfcb8eb92fad973f170bc",
219+
"is_secret": false,
220+
"is_verified": false,
221+
"line_number": 793,
222+
"type": "Secret Keyword",
223+
"verified_result": null
224+
}
225+
],
226+
"Tests/AssistantV1IntegrationTests.cs": [
227+
{
228+
"hashed_secret": "c2a6b03f190dfb2b4aa91f8af8d477a9bc3401dc",
229+
"is_secret": false,
230+
"is_verified": false,
231+
"line_number": 1146,
232+
"type": "Secret Keyword",
233+
"verified_result": null
234+
}
235+
],
236+
"Tests/DiscoveryV1IntegrationTests.cs": [
237+
{
238+
"hashed_secret": "6d284a097a5bc4b582c29a699a6b6bd753550daf",
239+
"is_secret": false,
240+
"is_verified": false,
241+
"line_number": 1389,
242+
"type": "Secret Keyword",
243+
"verified_result": null
244+
},
245+
{
246+
"hashed_secret": "c02a08d1310cc7f693d4b7828af2fcbfec8bf7f7",
247+
"is_secret": false,
248+
"is_verified": false,
249+
"line_number": 1474,
250+
"type": "Secret Keyword",
251+
"verified_result": null
252+
}
253+
],
254+
"Tests/SpeechToTextV1IntegrationTests.cs": [
255+
{
256+
"hashed_secret": "335aa6a62c6c0c1c628aef13a97e1e63ba3a1612",
257+
"is_secret": false,
258+
"is_verified": false,
259+
"line_number": 258,
260+
"type": "Secret Keyword",
261+
"verified_result": null
262+
}
263+
]
264+
},
265+
"version": "0.13.1+ibm.47.dss",
266+
"word_list": {
267+
"file": null,
268+
"hash": null
269+
}
270+
}

Scripts/Services/Assistant/V1/AssistantService.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2019, 2021.
2+
* (C) Copyright IBM Corp. 2019, 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
1616
*/
1717

1818
/**
19-
* IBM OpenAPI SDK Code Generator Version: 3.38.0-07189efd-20210827-205025
19+
* IBM OpenAPI SDK Code Generator Version: 3.46.0-a4e29da0-20220224-210428
2020
*/
2121

2222
using System.Collections.Generic;
@@ -43,7 +43,7 @@ public partial class AssistantService : BaseService
4343
/// <summary>
4444
/// Gets and sets the version of the service.
4545
/// Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
46-
/// `2021-06-14`.
46+
/// `2021-11-27`.
4747
/// </summary>
4848
public string Version
4949
{
@@ -68,30 +68,30 @@ public bool DisableSslVerification
6868
/// AssistantService constructor.
6969
/// </summary>
7070
/// <param name="version">Release date of the API version you want to use. Specify dates in YYYY-MM-DD format.
71-
/// The current version is `2021-06-14`.</param>
71+
/// The current version is `2021-11-27`.</param>
7272
public AssistantService(string version) : this(version, defaultServiceName, ConfigBasedAuthenticatorFactory.GetAuthenticator(defaultServiceName)) {}
7373

7474
/// <summary>
7575
/// AssistantService constructor.
7676
/// </summary>
7777
/// <param name="version">Release date of the API version you want to use. Specify dates in YYYY-MM-DD format.
78-
/// The current version is `2021-06-14`.</param>
78+
/// The current version is `2021-11-27`.</param>
7979
/// <param name="authenticator">The service authenticator.</param>
8080
public AssistantService(string version, Authenticator authenticator) : this(version, defaultServiceName, authenticator) {}
8181

8282
/// <summary>
8383
/// AssistantService constructor.
8484
/// </summary>
8585
/// <param name="version">Release date of the API version you want to use. Specify dates in YYYY-MM-DD format.
86-
/// The current version is `2021-06-14`.</param>
86+
/// The current version is `2021-11-27`.</param>
8787
/// <param name="serviceName">The service name to be used when configuring the client instance</param>
8888
public AssistantService(string version, string serviceName) : this(version, serviceName, ConfigBasedAuthenticatorFactory.GetAuthenticator(serviceName)) {}
8989

9090
/// <summary>
9191
/// AssistantService constructor.
9292
/// </summary>
9393
/// <param name="version">Release date of the API version you want to use. Specify dates in YYYY-MM-DD format.
94-
/// The current version is `2021-06-14`.</param>
94+
/// The current version is `2021-11-27`.</param>
9595
/// <param name="serviceName">The service name to be used when configuring the client instance</param>
9696
/// <param name="authenticator">The service authenticator.</param>
9797
public AssistantService(string version, string serviceName, Authenticator authenticator) : base(authenticator, serviceName)

Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2019, 2021.
2+
* (C) Copyright IBM Corp. 2019, 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -32,16 +32,22 @@ namespace IBM.Watson.Assistant.V1.Model
3232
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill
3333
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
3434
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
35+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo
36+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio
37+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe
3538
/// </summary>
3639
[JsonConverter(typeof(JsonSubtypes), "response_type")]
40+
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio), "audio")]
3741
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer), "channel_transfer")]
3842
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent), "connect_to_agent")]
43+
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe), "iframe")]
3944
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeImage), "image")]
4045
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeOption), "option")]
4146
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypePause), "pause")]
4247
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill), "search_skill")]
4348
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeText), "text")]
4449
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined), "user_defined")]
50+
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo), "video")]
4551
public class DialogNodeOutputGeneric
4652
{
4753
/// This ctor is protected to prevent instantiation of this base class.
@@ -54,6 +60,9 @@ public class DialogNodeOutputGeneric
5460
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill
5561
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
5662
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
63+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo
64+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio
65+
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe
5766
protected DialogNodeOutputGeneric()
5867
{
5968
}
@@ -233,5 +242,15 @@ public class QueryTypeValue
233242
/// </summary>
234243
[JsonProperty("user_defined", NullValueHandling = NullValueHandling.Ignore)]
235244
public Dictionary<string, object> UserDefined { get; protected set; }
245+
/// <summary>
246+
/// For internal use only.
247+
/// </summary>
248+
[JsonProperty("channel_options", NullValueHandling = NullValueHandling.Ignore)]
249+
public object ChannelOptions { get; protected set; }
250+
/// <summary>
251+
/// The URL of an image that shows a preview of the embedded content.
252+
/// </summary>
253+
[JsonProperty("image_url", NullValueHandling = NullValueHandling.Ignore)]
254+
public string ImageUrl { get; protected set; }
236255
}
237256
}

0 commit comments

Comments
 (0)