You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assistant/v1.ts
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ class AssistantV1 extends BaseService {
70
70
*
71
71
* @param {Object} params - The parameters to send to the service.
72
72
* @param {string} params.workspace_id - Unique identifier of the workspace.
73
-
* @param {InputData} [params.input] - The user input.
73
+
* @param {InputData} [params.input] - An input object that includes the input text.
74
74
* @param {boolean} [params.alternate_intents] - Whether to return more than one intent. Set to `true` to return all
75
75
* matching intents.
76
76
* @param {Context} [params.context] - State information for the conversation. To maintain state, include the context
@@ -283,7 +283,7 @@ class AssistantV1 extends BaseService {
283
283
*
284
284
* @param {Object} params - The parameters to send to the service.
285
285
* @param {string} params.workspace_id - Unique identifier of the workspace.
286
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
286
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
287
287
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
288
288
* content, including subelements, is included.
289
289
* @param {boolean} [params.include_audit] - Whether to include the audit properties (`created` and `updated`
@@ -314,7 +314,7 @@ class AssistantV1 extends BaseService {
314
314
}
315
315
316
316
constquery={
317
-
'export': _params.export,
317
+
'export': _params._export,
318
318
'include_audit': _params.include_audit,
319
319
'sort': _params.sort
320
320
};
@@ -634,7 +634,7 @@ class AssistantV1 extends BaseService {
634
634
* @param {Object} params - The parameters to send to the service.
635
635
* @param {string} params.workspace_id - Unique identifier of the workspace.
636
636
* @param {string} params.intent - The intent name.
637
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
637
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
638
638
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
639
639
* content, including subelements, is included.
640
640
* @param {boolean} [params.include_audit] - Whether to include the audit properties (`created` and `updated`
@@ -662,7 +662,7 @@ class AssistantV1 extends BaseService {
662
662
}
663
663
664
664
constquery={
665
-
'export': _params.export,
665
+
'export': _params._export,
666
666
'include_audit': _params.include_audit
667
667
};
668
668
@@ -700,7 +700,7 @@ class AssistantV1 extends BaseService {
700
700
*
701
701
* @param {Object} params - The parameters to send to the service.
702
702
* @param {string} params.workspace_id - Unique identifier of the workspace.
703
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
703
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
704
704
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
705
705
* content, including subelements, is included.
706
706
* @param {number} [params.page_limit] - The number of records to return in each page of results.
@@ -733,7 +733,7 @@ class AssistantV1 extends BaseService {
733
733
}
734
734
735
735
constquery={
736
-
'export': _params.export,
736
+
'export': _params._export,
737
737
'page_limit': _params.page_limit,
738
738
'include_count': _params.include_count,
739
739
'sort': _params.sort,
@@ -1635,7 +1635,7 @@ class AssistantV1 extends BaseService {
1635
1635
* @param {Object} params - The parameters to send to the service.
1636
1636
* @param {string} params.workspace_id - Unique identifier of the workspace.
1637
1637
* @param {string} params.entity - The name of the entity.
1638
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
1638
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
1639
1639
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
1640
1640
* content, including subelements, is included.
1641
1641
* @param {boolean} [params.include_audit] - Whether to include the audit properties (`created` and `updated`
@@ -1663,7 +1663,7 @@ class AssistantV1 extends BaseService {
1663
1663
}
1664
1664
1665
1665
constquery={
1666
-
'export': _params.export,
1666
+
'export': _params._export,
1667
1667
'include_audit': _params.include_audit
1668
1668
};
1669
1669
@@ -1701,7 +1701,7 @@ class AssistantV1 extends BaseService {
1701
1701
*
1702
1702
* @param {Object} params - The parameters to send to the service.
1703
1703
* @param {string} params.workspace_id - Unique identifier of the workspace.
1704
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
1704
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
1705
1705
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
1706
1706
* content, including subelements, is included.
1707
1707
* @param {number} [params.page_limit] - The number of records to return in each page of results.
@@ -1734,7 +1734,7 @@ class AssistantV1 extends BaseService {
1734
1734
}
1735
1735
1736
1736
constquery={
1737
-
'export': _params.export,
1737
+
'export': _params._export,
1738
1738
'page_limit': _params.page_limit,
1739
1739
'include_count': _params.include_count,
1740
1740
'sort': _params.sort,
@@ -1857,7 +1857,7 @@ class AssistantV1 extends BaseService {
1857
1857
* @param {Object} params - The parameters to send to the service.
1858
1858
* @param {string} params.workspace_id - Unique identifier of the workspace.
1859
1859
* @param {string} params.entity - The name of the entity.
1860
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
1860
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
1861
1861
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
1862
1862
* content, including subelements, is included.
1863
1863
* @param {boolean} [params.include_audit] - Whether to include the audit properties (`created` and `updated`
@@ -1885,7 +1885,7 @@ class AssistantV1 extends BaseService {
1885
1885
}
1886
1886
1887
1887
constquery={
1888
-
'export': _params.export,
1888
+
'export': _params._export,
1889
1889
'include_audit': _params.include_audit
1890
1890
};
1891
1891
@@ -2068,7 +2068,7 @@ class AssistantV1 extends BaseService {
2068
2068
* @param {string} params.workspace_id - Unique identifier of the workspace.
2069
2069
* @param {string} params.entity - The name of the entity.
2070
2070
* @param {string} params.value - The text of the entity value.
2071
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
2071
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
2072
2072
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
2073
2073
* content, including subelements, is included.
2074
2074
* @param {boolean} [params.include_audit] - Whether to include the audit properties (`created` and `updated`
@@ -2096,7 +2096,7 @@ class AssistantV1 extends BaseService {
2096
2096
}
2097
2097
2098
2098
constquery={
2099
-
'export': _params.export,
2099
+
'export': _params._export,
2100
2100
'include_audit': _params.include_audit
2101
2101
};
2102
2102
@@ -2135,7 +2135,7 @@ class AssistantV1 extends BaseService {
2135
2135
* @param {Object} params - The parameters to send to the service.
2136
2136
* @param {string} params.workspace_id - Unique identifier of the workspace.
2137
2137
* @param {string} params.entity - The name of the entity.
2138
-
* @param {boolean} [params.export] - Whether to include all element content in the returned data. If
2138
+
* @param {boolean} [params._export] - Whether to include all element content in the returned data. If
2139
2139
* **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all
2140
2140
* content, including subelements, is included.
2141
2141
* @param {number} [params.page_limit] - The number of records to return in each page of results.
@@ -2168,7 +2168,7 @@ class AssistantV1 extends BaseService {
2168
2168
}
2169
2169
2170
2170
constquery={
2171
-
'export': _params.export,
2171
+
'export': _params._export,
2172
2172
'page_limit': _params.page_limit,
2173
2173
'include_count': _params.include_count,
2174
2174
'sort': _params.sort,
@@ -3269,7 +3269,7 @@ namespace AssistantV1 {
3269
3269
exportinterfaceMessageParams{
3270
3270
/** Unique identifier of the workspace. */
3271
3271
workspace_id: string;
3272
-
/** The user input. */
3272
+
/** An input object that includes the input text. */
3273
3273
input?: InputData;
3274
3274
/** Whether to return more than one intent. Set to `true` to return all matching intents. */
3275
3275
alternate_intents?: boolean;
@@ -3326,7 +3326,7 @@ namespace AssistantV1 {
3326
3326
/** Unique identifier of the workspace. */
3327
3327
workspace_id: string;
3328
3328
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3329
-
export?: boolean;
3329
+
_export?: boolean;
3330
3330
/** Whether to include the audit properties (`created` and `updated` timestamps) in the response. */
3331
3331
include_audit?: boolean;
3332
3332
/** Indicates how the returned workspace data will be sorted. This parameter is valid only if **export**=`true`. Specify `sort=stable` to sort all workspace objects by unique identifier, in ascending alphabetical order. */
@@ -3429,7 +3429,7 @@ namespace AssistantV1 {
3429
3429
/** The intent name. */
3430
3430
intent: string;
3431
3431
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3432
-
export?: boolean;
3432
+
_export?: boolean;
3433
3433
/** Whether to include the audit properties (`created` and `updated` timestamps) in the response. */
3434
3434
include_audit?: boolean;
3435
3435
headers?: Object;
@@ -3441,7 +3441,7 @@ namespace AssistantV1 {
3441
3441
/** Unique identifier of the workspace. */
3442
3442
workspace_id: string;
3443
3443
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3444
-
export?: boolean;
3444
+
_export?: boolean;
3445
3445
/** The number of records to return in each page of results. */
3446
3446
page_limit?: number;
3447
3447
/** Whether to include information about the number of records returned. */
@@ -3672,7 +3672,7 @@ namespace AssistantV1 {
3672
3672
/** The name of the entity. */
3673
3673
entity: string;
3674
3674
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3675
-
export?: boolean;
3675
+
_export?: boolean;
3676
3676
/** Whether to include the audit properties (`created` and `updated` timestamps) in the response. */
3677
3677
include_audit?: boolean;
3678
3678
headers?: Object;
@@ -3684,7 +3684,7 @@ namespace AssistantV1 {
3684
3684
/** Unique identifier of the workspace. */
3685
3685
workspace_id: string;
3686
3686
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3687
-
export?: boolean;
3687
+
_export?: boolean;
3688
3688
/** The number of records to return in each page of results. */
3689
3689
page_limit?: number;
3690
3690
/** Whether to include information about the number of records returned. */
@@ -3735,7 +3735,7 @@ namespace AssistantV1 {
3735
3735
/** The name of the entity. */
3736
3736
entity: string;
3737
3737
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3738
-
export?: boolean;
3738
+
_export?: boolean;
3739
3739
/** Whether to include the audit properties (`created` and `updated` timestamps) in the response. */
3740
3740
include_audit?: boolean;
3741
3741
headers?: Object;
@@ -3792,7 +3792,7 @@ namespace AssistantV1 {
3792
3792
/** The text of the entity value. */
3793
3793
value: string;
3794
3794
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3795
-
export?: boolean;
3795
+
_export?: boolean;
3796
3796
/** Whether to include the audit properties (`created` and `updated` timestamps) in the response. */
3797
3797
include_audit?: boolean;
3798
3798
headers?: Object;
@@ -3806,7 +3806,7 @@ namespace AssistantV1 {
3806
3806
/** The name of the entity. */
3807
3807
entity: string;
3808
3808
/** Whether to include all element content in the returned data. If **export**=`false`, the returned data includes only information about the element itself. If **export**=`true`, all content, including subelements, is included. */
3809
-
export?: boolean;
3809
+
_export?: boolean;
3810
3810
/** The number of records to return in each page of results. */
3811
3811
page_limit?: number;
3812
3812
/** Whether to include information about the number of records returned. */
@@ -4683,7 +4683,7 @@ namespace AssistantV1 {
4683
4683
exportinterfaceLogExport{
4684
4684
/** A request sent to the workspace, including the user input and context. */
4685
4685
request: MessageRequest;
4686
-
/** A response from the Watson Assistant service. */
4686
+
/** The response sent by the workspace, including the output text, detected intents and entities, and context. */
4687
4687
response: MessageResponse;
4688
4688
/** A unique identifier for the logged event. */
4689
4689
log_id: string;
@@ -4741,7 +4741,7 @@ namespace AssistantV1 {
4741
4741
4742
4742
/** A request sent to the workspace, including the user input and context. */
4743
4743
exportinterfaceMessageRequest{
4744
-
/** The user input. */
4744
+
/** An input object that includes the input text. */
4745
4745
input?: InputData;
4746
4746
/** Whether to return more than one intent. Set to `true` to return all matching intents. */
0 commit comments