Skip to content

Commit b541518

Browse files
committed
feat: regenerated sdks with new discovery credentials operations
1 parent 872b29c commit b541518

File tree

13 files changed

+783
-213
lines changed

13 files changed

+783
-213
lines changed

assistant/v1.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class AssistantV1 extends BaseService {
3939
* @param {string} [options.password] - The password used to authenticate with the service. Username and password credentials are only required to run your application locally or outside of Bluemix. When running on Bluemix, the credentials will be automatically loaded from the `VCAP_SERVICES` environment variable.
4040
* @param {string} [options.iam_access_token] - An IAM access token fully managed by the application. Responsibility falls on the application to refresh the token, either before it expires or reactively upon receiving a 401 from the service, as any requests made with an expired token will fail.
4141
* @param {string} [options.iam_apikey] - An API key that can be used to request IAM tokens. If this API key is provided, the SDK will manage the token and handle the refreshing.
42-
* @param {string} [options.iam_url] - An optional URL for the IAM service API. Defaults to 'https://iam.bluemix.net/identity/token'.
42+
* @param {string} [options.iam_url] - An optional URL for the IAM service API. Defaults to 'https://iam.ng.bluemix.net/identity/token'.
4343
* @param {boolean} [options.use_unauthenticated] - Set to `true` to avoid including an authorization header. This option may be useful for requests that are proxied.
4444
* @param {Object} [options.headers] - Default headers that shall be included with every request to the service.
4545
* @param {boolean} [options.headers.X-Watson-Learning-Opt-Out] - Set to `true` to opt-out of data collection. By default, all IBM Watson services log requests and their results. Logging is done only to improve the services for future users. The logged data is not shared or made public. If you are concerned with protecting the privacy of users' personal information or otherwise do not want your requests to be logged, you can opt out of logging.
@@ -1471,7 +1471,7 @@ class AssistantV1 extends BaseService {
14711471
* - It cannot consist of only whitespace characters.
14721472
* - It must be no longer than 64 characters.
14731473
* @param {string[]} [params.patterns] - An array of patterns for the entity value. You can provide either synonyms or
1474-
* patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters.
1474+
* patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters.
14751475
* For more information about how to specify a pattern, see the
14761476
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
14771477
* @param {string} [params.value_type] - Specifies the type of value.
@@ -1698,7 +1698,7 @@ class AssistantV1 extends BaseService {
16981698
* - It cannot consist of only whitespace characters.
16991699
* - It must be no longer than 64 characters.
17001700
* @param {string[]} [params.new_patterns] - An array of patterns for the entity value. You can provide either
1701-
* synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128
1701+
* synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512
17021702
* characters. For more information about how to specify a pattern, see the
17031703
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
17041704
* @param {Object} [params.headers] - Custom request headers
@@ -2911,7 +2911,7 @@ namespace AssistantV1 {
29112911
metadata?: Object;
29122912
/** An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
29132913
synonyms?: string[];
2914-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
2914+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
29152915
patterns?: string[];
29162916
/** Specifies the type of value. */
29172917
value_type?: CreateValueConstants.ValueType | string;
@@ -2990,7 +2990,7 @@ namespace AssistantV1 {
29902990
new_type?: UpdateValueConstants.ValueType | string;
29912991
/** An array of synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following resrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
29922992
new_synonyms?: string[];
2993-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
2993+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
29942994
new_patterns?: string[];
29952995
headers?: Object;
29962996
}
@@ -3443,7 +3443,7 @@ namespace AssistantV1 {
34433443
metadata?: Object;
34443444
/** An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
34453445
synonyms?: string[];
3446-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
3446+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
34473447
patterns?: string[];
34483448
/** Specifies the type of value. */
34493449
value_type?: string;

conversation/v1-generated.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ConversationV1 extends BaseService {
3939
* @param {string} [options.password] - The password used to authenticate with the service. Username and password credentials are only required to run your application locally or outside of Bluemix. When running on Bluemix, the credentials will be automatically loaded from the `VCAP_SERVICES` environment variable.
4040
* @param {string} [options.iam_access_token] - An IAM access token fully managed by the application. Responsibility falls on the application to refresh the token, either before it expires or reactively upon receiving a 401 from the service, as any requests made with an expired token will fail.
4141
* @param {string} [options.iam_apikey] - An API key that can be used to request IAM tokens. If this API key is provided, the SDK will manage the token and handle the refreshing.
42-
* @param {string} [options.iam_url] - An optional URL for the IAM service API. Defaults to 'https://iam.bluemix.net/identity/token'.
42+
* @param {string} [options.iam_url] - An optional URL for the IAM service API. Defaults to 'https://iam.ng.bluemix.net/identity/token'.
4343
* @param {boolean} [options.use_unauthenticated] - Set to `true` to avoid including an authorization header. This option may be useful for requests that are proxied.
4444
* @param {Object} [options.headers] - Default headers that shall be included with every request to the service.
4545
* @param {boolean} [options.headers.X-Watson-Learning-Opt-Out] - Set to `true` to opt-out of data collection. By default, all IBM Watson services log requests and their results. Logging is done only to improve the services for future users. The logged data is not shared or made public. If you are concerned with protecting the privacy of users' personal information or otherwise do not want your requests to be logged, you can opt out of logging.
@@ -1471,7 +1471,7 @@ class ConversationV1 extends BaseService {
14711471
* - It cannot consist of only whitespace characters.
14721472
* - It must be no longer than 64 characters.
14731473
* @param {string[]} [params.patterns] - An array of patterns for the entity value. You can provide either synonyms or
1474-
* patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters.
1474+
* patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters.
14751475
* For more information about how to specify a pattern, see the
14761476
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
14771477
* @param {string} [params.value_type] - Specifies the type of value.
@@ -1698,7 +1698,7 @@ class ConversationV1 extends BaseService {
16981698
* - It cannot consist of only whitespace characters.
16991699
* - It must be no longer than 64 characters.
17001700
* @param {string[]} [params.new_patterns] - An array of patterns for the entity value. You can provide either
1701-
* synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128
1701+
* synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512
17021702
* characters. For more information about how to specify a pattern, see the
17031703
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
17041704
* @param {Object} [params.headers] - Custom request headers
@@ -2911,7 +2911,7 @@ namespace ConversationV1 {
29112911
metadata?: Object;
29122912
/** An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
29132913
synonyms?: string[];
2914-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
2914+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
29152915
patterns?: string[];
29162916
/** Specifies the type of value. */
29172917
value_type?: CreateValueConstants.ValueType | string;
@@ -2990,7 +2990,7 @@ namespace ConversationV1 {
29902990
new_type?: UpdateValueConstants.ValueType | string;
29912991
/** An array of synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following resrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
29922992
new_synonyms?: string[];
2993-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
2993+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
29942994
new_patterns?: string[];
29952995
headers?: Object;
29962996
}
@@ -3443,7 +3443,7 @@ namespace ConversationV1 {
34433443
metadata?: Object;
34443444
/** An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters. */
34453445
synonyms?: string[];
3446-
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
3446+
/** An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities). */
34473447
patterns?: string[];
34483448
/** Specifies the type of value. */
34493449
value_type?: string;

0 commit comments

Comments
 (0)