Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,4 @@ package-lock.json
package-lock.json.meta

.pre-commit-config.yaml
.secrets.baseline
/.idea
270 changes: 270 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
{
"exclude": {
"files": "package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2022-03-21T14:17:34Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
},
{
"name": "ArtifactoryDetector"
},
{
"name": "AzureStorageKeyDetector"
},
{
"base64_limit": 4.5,
"name": "Base64HighEntropyString"
},
{
"name": "BasicAuthDetector"
},
{
"name": "BoxDetector"
},
{
"name": "CloudantDetector"
},
{
"ghe_instance": "github.ibm.com",
"name": "GheDetector"
},
{
"name": "GitHubTokenDetector"
},
{
"hex_limit": 3,
"name": "HexHighEntropyString"
},
{
"name": "IbmCloudIamDetector"
},
{
"name": "IbmCosHmacDetector"
},
{
"name": "JwtTokenDetector"
},
{
"keyword_exclude": null,
"name": "KeywordDetector"
},
{
"name": "MailchimpDetector"
},
{
"name": "NpmDetector"
},
{
"name": "PrivateKeyDetector"
},
{
"name": "SlackDetector"
},
{
"name": "SoftlayerDetector"
},
{
"name": "SquareOAuthDetector"
},
{
"name": "StripeDetector"
},
{
"name": "TwilioKeyDetector"
}
],
"results": {
"Examples/ExampleAssistantV2.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 73,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleDiscoveryV1.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 43,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleLanguageTranslatorV3.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 43,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleNaturalLanguageClassifierV1.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 58,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleNaturalLanguageUnderstandingV1.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 61,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleNaturalLanguageUnderstandingV1.unity": [
{
"hashed_secret": "0a7de5e7fb4d25074cb5c09250c742b1135fad80",
"is_secret": false,
"is_verified": false,
"line_number": 152,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleStreaming.cs": [
{
"hashed_secret": "ae4b2c7d462619b036460c8673c089a79507c599",
"is_secret": false,
"is_verified": false,
"line_number": 75,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleTextToSpeechV1.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 75,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleToneAnalyzerV3.cs": [
{
"hashed_secret": "2568b3e3f9f17f73efb1a230845e5055fe3ab5d6",
"is_secret": false,
"is_verified": false,
"line_number": 67,
"type": "Secret Keyword",
"verified_result": null
}
],
"Examples/ExampleToneAnalyzerV3.unity": [
{
"hashed_secret": "b4914600112ba18af7798b6c1a1363728ae1d96f",
"is_secret": false,
"is_verified": false,
"line_number": 152,
"type": "Secret Keyword",
"verified_result": null
}
],
"README.md": [
{
"hashed_secret": "33515d8639fda6b97c36f87706759ed3af26e97f",
"is_secret": false,
"is_verified": false,
"line_number": 125,
"type": "Secret Keyword",
"verified_result": null
}
],
"Scripts/Services/Discovery/V1/Model/CredentialDetails.cs": [
{
"hashed_secret": "e8fc807ce6fbcda13f91c5b64850173873de0cdc",
"is_secret": false,
"is_verified": false,
"line_number": 53,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "fdee05598fdd57ff8e9ae29e92c25a04f2c52fa6",
"is_secret": false,
"is_verified": false,
"line_number": 57,
"type": "Secret Keyword",
"verified_result": null
}
],
"Scripts/Services/SpeechToText/V1/SpeechToTextService.cs": [
{
"hashed_secret": "f36082ba942225c26353b911fd9beb809e5322be",
"is_secret": false,
"is_verified": false,
"line_number": 761,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "cdc5cfb3a1df5a330bccfcb8eb92fad973f170bc",
"is_secret": false,
"is_verified": false,
"line_number": 793,
"type": "Secret Keyword",
"verified_result": null
}
],
"Tests/AssistantV1IntegrationTests.cs": [
{
"hashed_secret": "c2a6b03f190dfb2b4aa91f8af8d477a9bc3401dc",
"is_secret": false,
"is_verified": false,
"line_number": 1146,
"type": "Secret Keyword",
"verified_result": null
}
],
"Tests/DiscoveryV1IntegrationTests.cs": [
{
"hashed_secret": "6d284a097a5bc4b582c29a699a6b6bd753550daf",
"is_secret": false,
"is_verified": false,
"line_number": 1389,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "c02a08d1310cc7f693d4b7828af2fcbfec8bf7f7",
"is_secret": false,
"is_verified": false,
"line_number": 1474,
"type": "Secret Keyword",
"verified_result": null
}
],
"Tests/SpeechToTextV1IntegrationTests.cs": [
{
"hashed_secret": "335aa6a62c6c0c1c628aef13a97e1e63ba3a1612",
"is_secret": false,
"is_verified": false,
"line_number": 258,
"type": "Secret Keyword",
"verified_result": null
}
]
},
"version": "0.13.1+ibm.47.dss",
"word_list": {
"file": null,
"hash": null
}
}
14 changes: 7 additions & 7 deletions Scripts/Services/Assistant/V1/AssistantService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright IBM Corp. 2019, 2021.
* (C) Copyright IBM Corp. 2019, 2022.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,7 +16,7 @@
*/

/**
* IBM OpenAPI SDK Code Generator Version: 3.38.0-07189efd-20210827-205025
* IBM OpenAPI SDK Code Generator Version: 3.46.0-a4e29da0-20220224-210428
*/

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

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

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

/// <summary>
/// AssistantService constructor.
/// </summary>
/// <param name="version">Release date of the API version you want to use. Specify dates in YYYY-MM-DD format.
/// The current version is `2021-06-14`.</param>
/// The current version is `2021-11-27`.</param>
/// <param name="serviceName">The service name to be used when configuring the client instance</param>
/// <param name="authenticator">The service authenticator.</param>
public AssistantService(string version, string serviceName, Authenticator authenticator) : base(authenticator, serviceName)
Expand Down
21 changes: 20 additions & 1 deletion Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright IBM Corp. 2019, 2021.
* (C) Copyright IBM Corp. 2019, 2022.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -32,16 +32,22 @@ namespace IBM.Watson.Assistant.V1.Model
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe
/// </summary>
[JsonConverter(typeof(JsonSubtypes), "response_type")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio), "audio")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer), "channel_transfer")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent), "connect_to_agent")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe), "iframe")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeImage), "image")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeOption), "option")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypePause), "pause")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill), "search_skill")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeText), "text")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined), "user_defined")]
[JsonSubtypes.KnownSubType(typeof(DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo), "video")]
public class DialogNodeOutputGeneric
{
/// This ctor is protected to prevent instantiation of this base class.
Expand All @@ -54,6 +60,9 @@ public class DialogNodeOutputGeneric
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio
/// - DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe
protected DialogNodeOutputGeneric()
{
}
Expand Down Expand Up @@ -233,5 +242,15 @@ public class QueryTypeValue
/// </summary>
[JsonProperty("user_defined", NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, object> UserDefined { get; protected set; }
/// <summary>
/// For internal use only.
/// </summary>
[JsonProperty("channel_options", NullValueHandling = NullValueHandling.Ignore)]
public object ChannelOptions { get; protected set; }
/// <summary>
/// The URL of an image that shows a preview of the embedded content.
/// </summary>
[JsonProperty("image_url", NullValueHandling = NullValueHandling.Ignore)]
public string ImageUrl { get; protected set; }
}
}
Loading