@alicloud/dianjin20240628 1.9.1 → 1.9.2
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/dist/client.d.ts +4 -0
- package/dist/client.js +14 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +20 -0
package/dist/client.d.ts
CHANGED
|
@@ -2292,6 +2292,7 @@ export declare class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model
|
|
|
2292
2292
|
intentionCode?: string;
|
|
2293
2293
|
intentionName?: string;
|
|
2294
2294
|
intentionScript?: string;
|
|
2295
|
+
interrupt?: boolean;
|
|
2295
2296
|
/**
|
|
2296
2297
|
* @example
|
|
2297
2298
|
* null
|
|
@@ -2341,6 +2342,7 @@ export declare class RealTimeDialogResponseBodyChoicesMessage extends $dara.Mode
|
|
|
2341
2342
|
intentionCode?: string;
|
|
2342
2343
|
intentionName?: string;
|
|
2343
2344
|
intentionScript?: string;
|
|
2345
|
+
interrupt?: boolean;
|
|
2344
2346
|
/**
|
|
2345
2347
|
* @example
|
|
2346
2348
|
* null
|
|
@@ -6635,6 +6637,7 @@ export declare class RealTimeDialogRequest extends $dara.Model {
|
|
|
6635
6637
|
* false
|
|
6636
6638
|
*/
|
|
6637
6639
|
recommend?: boolean;
|
|
6640
|
+
scriptContentPlayed?: string;
|
|
6638
6641
|
/**
|
|
6639
6642
|
* @remarks
|
|
6640
6643
|
* This parameter is required.
|
|
@@ -6648,6 +6651,7 @@ export declare class RealTimeDialogRequest extends $dara.Model {
|
|
|
6648
6651
|
* false
|
|
6649
6652
|
*/
|
|
6650
6653
|
stream?: boolean;
|
|
6654
|
+
userVad?: boolean;
|
|
6651
6655
|
static names(): {
|
|
6652
6656
|
[key: string]: string;
|
|
6653
6657
|
};
|
package/dist/client.js
CHANGED
|
@@ -2011,6 +2011,7 @@ class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
|
|
|
2011
2011
|
intentionCode: 'intentionCode',
|
|
2012
2012
|
intentionName: 'intentionName',
|
|
2013
2013
|
intentionScript: 'intentionScript',
|
|
2014
|
+
interrupt: 'interrupt',
|
|
2014
2015
|
recommendIntention: 'recommendIntention',
|
|
2015
2016
|
recommendScript: 'recommendScript',
|
|
2016
2017
|
selfDirectedScript: 'selfDirectedScript',
|
|
@@ -2025,6 +2026,7 @@ class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
|
|
|
2025
2026
|
intentionCode: 'string',
|
|
2026
2027
|
intentionName: 'string',
|
|
2027
2028
|
intentionScript: 'string',
|
|
2029
|
+
interrupt: 'boolean',
|
|
2028
2030
|
recommendIntention: 'string',
|
|
2029
2031
|
recommendScript: 'string',
|
|
2030
2032
|
selfDirectedScript: 'string',
|
|
@@ -2048,6 +2050,7 @@ class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
|
|
|
2048
2050
|
intentionCode: 'intentionCode',
|
|
2049
2051
|
intentionName: 'intentionName',
|
|
2050
2052
|
intentionScript: 'intentionScript',
|
|
2053
|
+
interrupt: 'interrupt',
|
|
2051
2054
|
recommendIntention: 'recommendIntention',
|
|
2052
2055
|
recommendScript: 'recommendScript',
|
|
2053
2056
|
selfDirectedScript: 'selfDirectedScript',
|
|
@@ -2062,6 +2065,7 @@ class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
|
|
|
2062
2065
|
intentionCode: 'string',
|
|
2063
2066
|
intentionName: 'string',
|
|
2064
2067
|
intentionScript: 'string',
|
|
2068
|
+
interrupt: 'boolean',
|
|
2065
2069
|
recommendIntention: 'string',
|
|
2066
2070
|
recommendScript: 'string',
|
|
2067
2071
|
selfDirectedScript: 'string',
|
|
@@ -6110,8 +6114,10 @@ class RealTimeDialogRequest extends $dara.Model {
|
|
|
6110
6114
|
dialogMemoryTurns: 'dialogMemoryTurns',
|
|
6111
6115
|
metaData: 'metaData',
|
|
6112
6116
|
recommend: 'recommend',
|
|
6117
|
+
scriptContentPlayed: 'scriptContentPlayed',
|
|
6113
6118
|
sessionId: 'sessionId',
|
|
6114
6119
|
stream: 'stream',
|
|
6120
|
+
userVad: 'userVad',
|
|
6115
6121
|
};
|
|
6116
6122
|
}
|
|
6117
6123
|
static types() {
|
|
@@ -6122,8 +6128,10 @@ class RealTimeDialogRequest extends $dara.Model {
|
|
|
6122
6128
|
dialogMemoryTurns: 'number',
|
|
6123
6129
|
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6124
6130
|
recommend: 'boolean',
|
|
6131
|
+
scriptContentPlayed: 'string',
|
|
6125
6132
|
sessionId: 'string',
|
|
6126
6133
|
stream: 'boolean',
|
|
6134
|
+
userVad: 'boolean',
|
|
6127
6135
|
};
|
|
6128
6136
|
}
|
|
6129
6137
|
validate() {
|
|
@@ -8944,12 +8952,18 @@ class Client extends openapi_core_1.default {
|
|
|
8944
8952
|
if (!$dara.isNull(request.recommend)) {
|
|
8945
8953
|
body["recommend"] = request.recommend;
|
|
8946
8954
|
}
|
|
8955
|
+
if (!$dara.isNull(request.scriptContentPlayed)) {
|
|
8956
|
+
body["scriptContentPlayed"] = request.scriptContentPlayed;
|
|
8957
|
+
}
|
|
8947
8958
|
if (!$dara.isNull(request.sessionId)) {
|
|
8948
8959
|
body["sessionId"] = request.sessionId;
|
|
8949
8960
|
}
|
|
8950
8961
|
if (!$dara.isNull(request.stream)) {
|
|
8951
8962
|
body["stream"] = request.stream;
|
|
8952
8963
|
}
|
|
8964
|
+
if (!$dara.isNull(request.userVad)) {
|
|
8965
|
+
body["userVad"] = request.userVad;
|
|
8966
|
+
}
|
|
8953
8967
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8954
8968
|
headers: headers,
|
|
8955
8969
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|