@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dianjin20240628",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -3664,6 +3664,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3664
3664
  intentionCode?: string;
3665
3665
  intentionName?: string;
3666
3666
  intentionScript?: string;
3667
+ interrupt?: boolean;
3667
3668
  /**
3668
3669
  * @example
3669
3670
  * null
@@ -3684,6 +3685,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3684
3685
  intentionCode: 'intentionCode',
3685
3686
  intentionName: 'intentionName',
3686
3687
  intentionScript: 'intentionScript',
3688
+ interrupt: 'interrupt',
3687
3689
  recommendIntention: 'recommendIntention',
3688
3690
  recommendScript: 'recommendScript',
3689
3691
  selfDirectedScript: 'selfDirectedScript',
@@ -3699,6 +3701,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3699
3701
  intentionCode: 'string',
3700
3702
  intentionName: 'string',
3701
3703
  intentionScript: 'string',
3704
+ interrupt: 'boolean',
3702
3705
  recommendIntention: 'string',
3703
3706
  recommendScript: 'string',
3704
3707
  selfDirectedScript: 'string',
@@ -3741,6 +3744,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3741
3744
  intentionCode?: string;
3742
3745
  intentionName?: string;
3743
3746
  intentionScript?: string;
3747
+ interrupt?: boolean;
3744
3748
  /**
3745
3749
  * @example
3746
3750
  * null
@@ -3765,6 +3769,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3765
3769
  intentionCode: 'intentionCode',
3766
3770
  intentionName: 'intentionName',
3767
3771
  intentionScript: 'intentionScript',
3772
+ interrupt: 'interrupt',
3768
3773
  recommendIntention: 'recommendIntention',
3769
3774
  recommendScript: 'recommendScript',
3770
3775
  selfDirectedScript: 'selfDirectedScript',
@@ -3780,6 +3785,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3780
3785
  intentionCode: 'string',
3781
3786
  intentionName: 'string',
3782
3787
  intentionScript: 'string',
3788
+ interrupt: 'boolean',
3783
3789
  recommendIntention: 'string',
3784
3790
  recommendScript: 'string',
3785
3791
  selfDirectedScript: 'string',
@@ -10785,6 +10791,7 @@ export class RealTimeDialogRequest extends $dara.Model {
10785
10791
  * false
10786
10792
  */
10787
10793
  recommend?: boolean;
10794
+ scriptContentPlayed?: string;
10788
10795
  /**
10789
10796
  * @remarks
10790
10797
  * This parameter is required.
@@ -10798,6 +10805,7 @@ export class RealTimeDialogRequest extends $dara.Model {
10798
10805
  * false
10799
10806
  */
10800
10807
  stream?: boolean;
10808
+ userVad?: boolean;
10801
10809
  static names(): { [key: string]: string } {
10802
10810
  return {
10803
10811
  analysis: 'analysis',
@@ -10806,8 +10814,10 @@ export class RealTimeDialogRequest extends $dara.Model {
10806
10814
  dialogMemoryTurns: 'dialogMemoryTurns',
10807
10815
  metaData: 'metaData',
10808
10816
  recommend: 'recommend',
10817
+ scriptContentPlayed: 'scriptContentPlayed',
10809
10818
  sessionId: 'sessionId',
10810
10819
  stream: 'stream',
10820
+ userVad: 'userVad',
10811
10821
  };
10812
10822
  }
10813
10823
 
@@ -10819,8 +10829,10 @@ export class RealTimeDialogRequest extends $dara.Model {
10819
10829
  dialogMemoryTurns: 'number',
10820
10830
  metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10821
10831
  recommend: 'boolean',
10832
+ scriptContentPlayed: 'string',
10822
10833
  sessionId: 'string',
10823
10834
  stream: 'boolean',
10835
+ userVad: 'boolean',
10824
10836
  };
10825
10837
  }
10826
10838
 
@@ -14725,6 +14737,10 @@ export default class Client extends OpenApi {
14725
14737
  body["recommend"] = request.recommend;
14726
14738
  }
14727
14739
 
14740
+ if (!$dara.isNull(request.scriptContentPlayed)) {
14741
+ body["scriptContentPlayed"] = request.scriptContentPlayed;
14742
+ }
14743
+
14728
14744
  if (!$dara.isNull(request.sessionId)) {
14729
14745
  body["sessionId"] = request.sessionId;
14730
14746
  }
@@ -14733,6 +14749,10 @@ export default class Client extends OpenApi {
14733
14749
  body["stream"] = request.stream;
14734
14750
  }
14735
14751
 
14752
+ if (!$dara.isNull(request.userVad)) {
14753
+ body["userVad"] = request.userVad;
14754
+ }
14755
+
14736
14756
  let req = new $OpenApiUtil.OpenApiRequest({
14737
14757
  headers: headers,
14738
14758
  body: OpenApiUtil.parseToMap(body),