@alicloud/ccc20200701 2.30.1 → 2.31.0

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/src/client.ts CHANGED
@@ -6588,6 +6588,233 @@ export class GetSkillGroupResponseBodyData extends $dara.Model {
6588
6588
  }
6589
6589
  }
6590
6590
 
6591
+ export class GetSummaryTemplateResponseBodyDataPropertyList extends $dara.Model {
6592
+ /**
6593
+ * @example
6594
+ * false
6595
+ */
6596
+ array?: boolean;
6597
+ /**
6598
+ * @example
6599
+ * {}
6600
+ */
6601
+ attributes?: string;
6602
+ /**
6603
+ * @example
6604
+ * 1717664210000
6605
+ */
6606
+ createdTime?: number;
6607
+ /**
6608
+ * @example
6609
+ * cretor-xxx@ccc-test
6610
+ */
6611
+ creator?: string;
6612
+ /**
6613
+ * @example
6614
+ * string
6615
+ */
6616
+ dataType?: string;
6617
+ /**
6618
+ * @example
6619
+ * Description-xxxx
6620
+ */
6621
+ description?: string;
6622
+ /**
6623
+ * @example
6624
+ * false
6625
+ */
6626
+ disabled?: boolean;
6627
+ /**
6628
+ * @example
6629
+ * DisplayName-A
6630
+ */
6631
+ displayName?: string;
6632
+ /**
6633
+ * @example
6634
+ * 1
6635
+ */
6636
+ displayOrder?: number;
6637
+ /**
6638
+ * @example
6639
+ * textbox
6640
+ */
6641
+ editorType?: string;
6642
+ /**
6643
+ * @example
6644
+ * 30
6645
+ */
6646
+ maxLength?: number;
6647
+ /**
6648
+ * @example
6649
+ * 10
6650
+ */
6651
+ maximum?: number;
6652
+ /**
6653
+ * @example
6654
+ * 1
6655
+ */
6656
+ minLength?: number;
6657
+ /**
6658
+ * @example
6659
+ * 1
6660
+ */
6661
+ minimum?: number;
6662
+ /**
6663
+ * @example
6664
+ * Name-A
6665
+ */
6666
+ name?: string;
6667
+ /**
6668
+ * @example
6669
+ * ^
6670
+ */
6671
+ pattern?: string;
6672
+ patternErrorMessage?: string;
6673
+ /**
6674
+ * @example
6675
+ * false
6676
+ */
6677
+ readOnly?: boolean;
6678
+ /**
6679
+ * @example
6680
+ * false
6681
+ */
6682
+ required?: boolean;
6683
+ /**
6684
+ * @example
6685
+ * false
6686
+ */
6687
+ system?: boolean;
6688
+ /**
6689
+ * @example
6690
+ * 1717664210000
6691
+ */
6692
+ updatedTime?: number;
6693
+ static names(): { [key: string]: string } {
6694
+ return {
6695
+ array: 'Array',
6696
+ attributes: 'Attributes',
6697
+ createdTime: 'CreatedTime',
6698
+ creator: 'Creator',
6699
+ dataType: 'DataType',
6700
+ description: 'Description',
6701
+ disabled: 'Disabled',
6702
+ displayName: 'DisplayName',
6703
+ displayOrder: 'DisplayOrder',
6704
+ editorType: 'EditorType',
6705
+ maxLength: 'MaxLength',
6706
+ maximum: 'Maximum',
6707
+ minLength: 'MinLength',
6708
+ minimum: 'Minimum',
6709
+ name: 'Name',
6710
+ pattern: 'Pattern',
6711
+ patternErrorMessage: 'PatternErrorMessage',
6712
+ readOnly: 'ReadOnly',
6713
+ required: 'Required',
6714
+ system: 'System',
6715
+ updatedTime: 'UpdatedTime',
6716
+ };
6717
+ }
6718
+
6719
+ static types(): { [key: string]: any } {
6720
+ return {
6721
+ array: 'boolean',
6722
+ attributes: 'string',
6723
+ createdTime: 'number',
6724
+ creator: 'string',
6725
+ dataType: 'string',
6726
+ description: 'string',
6727
+ disabled: 'boolean',
6728
+ displayName: 'string',
6729
+ displayOrder: 'number',
6730
+ editorType: 'string',
6731
+ maxLength: 'number',
6732
+ maximum: 'number',
6733
+ minLength: 'number',
6734
+ minimum: 'number',
6735
+ name: 'string',
6736
+ pattern: 'string',
6737
+ patternErrorMessage: 'string',
6738
+ readOnly: 'boolean',
6739
+ required: 'boolean',
6740
+ system: 'boolean',
6741
+ updatedTime: 'number',
6742
+ };
6743
+ }
6744
+
6745
+ validate() {
6746
+ super.validate();
6747
+ }
6748
+
6749
+ constructor(map?: { [key: string]: any }) {
6750
+ super(map);
6751
+ }
6752
+ }
6753
+
6754
+ export class GetSummaryTemplateResponseBodyData extends $dara.Model {
6755
+ /**
6756
+ * @example
6757
+ * 8939-4223-86d0-6bd187905cc8
6758
+ */
6759
+ categoryId?: string;
6760
+ /**
6761
+ * @example
6762
+ * editor-xxx@ccc-test
6763
+ */
6764
+ editor?: string;
6765
+ /**
6766
+ * @example
6767
+ * ccc-test
6768
+ */
6769
+ instanceId?: string;
6770
+ name?: string;
6771
+ propertyList?: GetSummaryTemplateResponseBodyDataPropertyList[];
6772
+ /**
6773
+ * @example
6774
+ * Enabled
6775
+ */
6776
+ state?: string;
6777
+ /**
6778
+ * @example
6779
+ * 43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492
6780
+ */
6781
+ templateId?: string;
6782
+ static names(): { [key: string]: string } {
6783
+ return {
6784
+ categoryId: 'CategoryId',
6785
+ editor: 'Editor',
6786
+ instanceId: 'InstanceId',
6787
+ name: 'Name',
6788
+ propertyList: 'PropertyList',
6789
+ state: 'State',
6790
+ templateId: 'TemplateId',
6791
+ };
6792
+ }
6793
+
6794
+ static types(): { [key: string]: any } {
6795
+ return {
6796
+ categoryId: 'string',
6797
+ editor: 'string',
6798
+ instanceId: 'string',
6799
+ name: 'string',
6800
+ propertyList: { 'type': 'array', 'itemType': GetSummaryTemplateResponseBodyDataPropertyList },
6801
+ state: 'string',
6802
+ templateId: 'string',
6803
+ };
6804
+ }
6805
+
6806
+ validate() {
6807
+ if(Array.isArray(this.propertyList)) {
6808
+ $dara.Model.validateArray(this.propertyList);
6809
+ }
6810
+ super.validate();
6811
+ }
6812
+
6813
+ constructor(map?: { [key: string]: any }) {
6814
+ super(map);
6815
+ }
6816
+ }
6817
+
6591
6818
  export class GetTicketResponseBodyData extends $dara.Model {
6592
6819
  /**
6593
6820
  * @example
@@ -33532,6 +33759,145 @@ export class CreateAudioFileResponse extends $dara.Model {
33532
33759
  }
33533
33760
  }
33534
33761
 
33762
+ export class CreateCallSummaryRequest extends $dara.Model {
33763
+ /**
33764
+ * @example
33765
+ * job-522327189435260928
33766
+ */
33767
+ contactId?: string;
33768
+ context?: string;
33769
+ /**
33770
+ * @example
33771
+ * 51e155ce-3747-*****-b402-13c69597b920
33772
+ */
33773
+ customerId?: string;
33774
+ /**
33775
+ * @remarks
33776
+ * This parameter is required.
33777
+ *
33778
+ * @example
33779
+ * ccc-test
33780
+ */
33781
+ instanceId?: string;
33782
+ static names(): { [key: string]: string } {
33783
+ return {
33784
+ contactId: 'ContactId',
33785
+ context: 'Context',
33786
+ customerId: 'CustomerId',
33787
+ instanceId: 'InstanceId',
33788
+ };
33789
+ }
33790
+
33791
+ static types(): { [key: string]: any } {
33792
+ return {
33793
+ contactId: 'string',
33794
+ context: 'string',
33795
+ customerId: 'string',
33796
+ instanceId: 'string',
33797
+ };
33798
+ }
33799
+
33800
+ validate() {
33801
+ super.validate();
33802
+ }
33803
+
33804
+ constructor(map?: { [key: string]: any }) {
33805
+ super(map);
33806
+ }
33807
+ }
33808
+
33809
+ export class CreateCallSummaryResponseBody extends $dara.Model {
33810
+ /**
33811
+ * @example
33812
+ * OK
33813
+ */
33814
+ code?: string;
33815
+ /**
33816
+ * @example
33817
+ * c58b9719-3bc3-441d-a4d3-fc0309ef7066
33818
+ */
33819
+ data?: string;
33820
+ /**
33821
+ * @example
33822
+ * 200
33823
+ */
33824
+ httpStatusCode?: number;
33825
+ message?: string;
33826
+ params?: string[];
33827
+ /**
33828
+ * @example
33829
+ * 8707EB29-BAED-4302-B999-40BA61877437
33830
+ */
33831
+ requestId?: string;
33832
+ static names(): { [key: string]: string } {
33833
+ return {
33834
+ code: 'Code',
33835
+ data: 'Data',
33836
+ httpStatusCode: 'HttpStatusCode',
33837
+ message: 'Message',
33838
+ params: 'Params',
33839
+ requestId: 'RequestId',
33840
+ };
33841
+ }
33842
+
33843
+ static types(): { [key: string]: any } {
33844
+ return {
33845
+ code: 'string',
33846
+ data: 'string',
33847
+ httpStatusCode: 'number',
33848
+ message: 'string',
33849
+ params: { 'type': 'array', 'itemType': 'string' },
33850
+ requestId: 'string',
33851
+ };
33852
+ }
33853
+
33854
+ validate() {
33855
+ if(Array.isArray(this.params)) {
33856
+ $dara.Model.validateArray(this.params);
33857
+ }
33858
+ super.validate();
33859
+ }
33860
+
33861
+ constructor(map?: { [key: string]: any }) {
33862
+ super(map);
33863
+ }
33864
+ }
33865
+
33866
+ export class CreateCallSummaryResponse extends $dara.Model {
33867
+ headers?: { [key: string]: string };
33868
+ statusCode?: number;
33869
+ body?: CreateCallSummaryResponseBody;
33870
+ static names(): { [key: string]: string } {
33871
+ return {
33872
+ headers: 'headers',
33873
+ statusCode: 'statusCode',
33874
+ body: 'body',
33875
+ };
33876
+ }
33877
+
33878
+ static types(): { [key: string]: any } {
33879
+ return {
33880
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
33881
+ statusCode: 'number',
33882
+ body: CreateCallSummaryResponseBody,
33883
+ };
33884
+ }
33885
+
33886
+ validate() {
33887
+ if(this.headers) {
33888
+ $dara.Model.validateMap(this.headers);
33889
+ }
33890
+ if(this.body && typeof (this.body as any).validate === 'function') {
33891
+ (this.body as any).validate();
33892
+ }
33893
+ super.validate();
33894
+ }
33895
+
33896
+ constructor(map?: { [key: string]: any }) {
33897
+ super(map);
33898
+ }
33899
+ }
33900
+
33535
33901
  export class CreateCallTagsRequest extends $dara.Model {
33536
33902
  /**
33537
33903
  * @remarks
@@ -41757,6 +42123,137 @@ export class GetSkillGroupResponse extends $dara.Model {
41757
42123
  }
41758
42124
  }
41759
42125
 
42126
+ export class GetSummaryTemplateRequest extends $dara.Model {
42127
+ /**
42128
+ * @remarks
42129
+ * This parameter is required.
42130
+ *
42131
+ * @example
42132
+ * ccc-test
42133
+ */
42134
+ instanceId?: string;
42135
+ /**
42136
+ * @remarks
42137
+ * This parameter is required.
42138
+ *
42139
+ * @example
42140
+ * 43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492
42141
+ */
42142
+ templateId?: string;
42143
+ static names(): { [key: string]: string } {
42144
+ return {
42145
+ instanceId: 'InstanceId',
42146
+ templateId: 'TemplateId',
42147
+ };
42148
+ }
42149
+
42150
+ static types(): { [key: string]: any } {
42151
+ return {
42152
+ instanceId: 'string',
42153
+ templateId: 'string',
42154
+ };
42155
+ }
42156
+
42157
+ validate() {
42158
+ super.validate();
42159
+ }
42160
+
42161
+ constructor(map?: { [key: string]: any }) {
42162
+ super(map);
42163
+ }
42164
+ }
42165
+
42166
+ export class GetSummaryTemplateResponseBody extends $dara.Model {
42167
+ /**
42168
+ * @example
42169
+ * OK
42170
+ */
42171
+ code?: string;
42172
+ data?: GetSummaryTemplateResponseBodyData;
42173
+ /**
42174
+ * @example
42175
+ * 200
42176
+ */
42177
+ httpStatusCode?: number;
42178
+ message?: string;
42179
+ params?: string[];
42180
+ /**
42181
+ * @example
42182
+ * 30C7D235-DDCF-4C7F-A462-5E2598252C2B
42183
+ */
42184
+ requestId?: string;
42185
+ static names(): { [key: string]: string } {
42186
+ return {
42187
+ code: 'Code',
42188
+ data: 'Data',
42189
+ httpStatusCode: 'HttpStatusCode',
42190
+ message: 'Message',
42191
+ params: 'Params',
42192
+ requestId: 'RequestId',
42193
+ };
42194
+ }
42195
+
42196
+ static types(): { [key: string]: any } {
42197
+ return {
42198
+ code: 'string',
42199
+ data: GetSummaryTemplateResponseBodyData,
42200
+ httpStatusCode: 'number',
42201
+ message: 'string',
42202
+ params: { 'type': 'array', 'itemType': 'string' },
42203
+ requestId: 'string',
42204
+ };
42205
+ }
42206
+
42207
+ validate() {
42208
+ if(this.data && typeof (this.data as any).validate === 'function') {
42209
+ (this.data as any).validate();
42210
+ }
42211
+ if(Array.isArray(this.params)) {
42212
+ $dara.Model.validateArray(this.params);
42213
+ }
42214
+ super.validate();
42215
+ }
42216
+
42217
+ constructor(map?: { [key: string]: any }) {
42218
+ super(map);
42219
+ }
42220
+ }
42221
+
42222
+ export class GetSummaryTemplateResponse extends $dara.Model {
42223
+ headers?: { [key: string]: string };
42224
+ statusCode?: number;
42225
+ body?: GetSummaryTemplateResponseBody;
42226
+ static names(): { [key: string]: string } {
42227
+ return {
42228
+ headers: 'headers',
42229
+ statusCode: 'statusCode',
42230
+ body: 'body',
42231
+ };
42232
+ }
42233
+
42234
+ static types(): { [key: string]: any } {
42235
+ return {
42236
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
42237
+ statusCode: 'number',
42238
+ body: GetSummaryTemplateResponseBody,
42239
+ };
42240
+ }
42241
+
42242
+ validate() {
42243
+ if(this.headers) {
42244
+ $dara.Model.validateMap(this.headers);
42245
+ }
42246
+ if(this.body && typeof (this.body as any).validate === 'function') {
42247
+ (this.body as any).validate();
42248
+ }
42249
+ super.validate();
42250
+ }
42251
+
42252
+ constructor(map?: { [key: string]: any }) {
42253
+ super(map);
42254
+ }
42255
+ }
42256
+
41760
42257
  export class GetTicketRequest extends $dara.Model {
41761
42258
  /**
41762
42259
  * @remarks
@@ -62687,10 +63184,155 @@ export class TerminateTicketResponseBody extends $dara.Model {
62687
63184
  }
62688
63185
  }
62689
63186
 
62690
- export class TerminateTicketResponse extends $dara.Model {
63187
+ export class TerminateTicketResponse extends $dara.Model {
63188
+ headers?: { [key: string]: string };
63189
+ statusCode?: number;
63190
+ body?: TerminateTicketResponseBody;
63191
+ static names(): { [key: string]: string } {
63192
+ return {
63193
+ headers: 'headers',
63194
+ statusCode: 'statusCode',
63195
+ body: 'body',
63196
+ };
63197
+ }
63198
+
63199
+ static types(): { [key: string]: any } {
63200
+ return {
63201
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
63202
+ statusCode: 'number',
63203
+ body: TerminateTicketResponseBody,
63204
+ };
63205
+ }
63206
+
63207
+ validate() {
63208
+ if(this.headers) {
63209
+ $dara.Model.validateMap(this.headers);
63210
+ }
63211
+ if(this.body && typeof (this.body as any).validate === 'function') {
63212
+ (this.body as any).validate();
63213
+ }
63214
+ super.validate();
63215
+ }
63216
+
63217
+ constructor(map?: { [key: string]: any }) {
63218
+ super(map);
63219
+ }
63220
+ }
63221
+
63222
+ export class TransferTicketTaskRequest extends $dara.Model {
63223
+ /**
63224
+ * @remarks
63225
+ * This parameter is required.
63226
+ *
63227
+ * @example
63228
+ * assignee@ccc-test
63229
+ */
63230
+ assignee?: string;
63231
+ comment?: string;
63232
+ /**
63233
+ * @remarks
63234
+ * This parameter is required.
63235
+ *
63236
+ * @example
63237
+ * ccc-test
63238
+ */
63239
+ instanceId?: string;
63240
+ /**
63241
+ * @example
63242
+ * f780ade8-3ca9-458b-b067-63077946a570
63243
+ */
63244
+ taskId?: string;
63245
+ /**
63246
+ * @example
63247
+ * 5491d3b4-14ee-4341-b5f1-db2c78beddeb
63248
+ */
63249
+ ticketId?: string;
63250
+ static names(): { [key: string]: string } {
63251
+ return {
63252
+ assignee: 'Assignee',
63253
+ comment: 'Comment',
63254
+ instanceId: 'InstanceId',
63255
+ taskId: 'TaskId',
63256
+ ticketId: 'TicketId',
63257
+ };
63258
+ }
63259
+
63260
+ static types(): { [key: string]: any } {
63261
+ return {
63262
+ assignee: 'string',
63263
+ comment: 'string',
63264
+ instanceId: 'string',
63265
+ taskId: 'string',
63266
+ ticketId: 'string',
63267
+ };
63268
+ }
63269
+
63270
+ validate() {
63271
+ super.validate();
63272
+ }
63273
+
63274
+ constructor(map?: { [key: string]: any }) {
63275
+ super(map);
63276
+ }
63277
+ }
63278
+
63279
+ export class TransferTicketTaskResponseBody extends $dara.Model {
63280
+ /**
63281
+ * @example
63282
+ * OK
63283
+ */
63284
+ code?: string;
63285
+ data?: any;
63286
+ /**
63287
+ * @example
63288
+ * 200
63289
+ */
63290
+ httpStatusCode?: number;
63291
+ message?: string;
63292
+ params?: string[];
63293
+ /**
63294
+ * @example
63295
+ * 678F7002-CA01-4ABF-A112-585AFBDF3A3B
63296
+ */
63297
+ requestId?: string;
63298
+ static names(): { [key: string]: string } {
63299
+ return {
63300
+ code: 'Code',
63301
+ data: 'Data',
63302
+ httpStatusCode: 'HttpStatusCode',
63303
+ message: 'Message',
63304
+ params: 'Params',
63305
+ requestId: 'RequestId',
63306
+ };
63307
+ }
63308
+
63309
+ static types(): { [key: string]: any } {
63310
+ return {
63311
+ code: 'string',
63312
+ data: 'any',
63313
+ httpStatusCode: 'number',
63314
+ message: 'string',
63315
+ params: { 'type': 'array', 'itemType': 'string' },
63316
+ requestId: 'string',
63317
+ };
63318
+ }
63319
+
63320
+ validate() {
63321
+ if(Array.isArray(this.params)) {
63322
+ $dara.Model.validateArray(this.params);
63323
+ }
63324
+ super.validate();
63325
+ }
63326
+
63327
+ constructor(map?: { [key: string]: any }) {
63328
+ super(map);
63329
+ }
63330
+ }
63331
+
63332
+ export class TransferTicketTaskResponse extends $dara.Model {
62691
63333
  headers?: { [key: string]: string };
62692
63334
  statusCode?: number;
62693
- body?: TerminateTicketResponseBody;
63335
+ body?: TransferTicketTaskResponseBody;
62694
63336
  static names(): { [key: string]: string } {
62695
63337
  return {
62696
63338
  headers: 'headers',
@@ -62703,7 +63345,7 @@ export class TerminateTicketResponse extends $dara.Model {
62703
63345
  return {
62704
63346
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
62705
63347
  statusCode: 'number',
62706
- body: TerminateTicketResponseBody,
63348
+ body: TransferTicketTaskResponseBody,
62707
63349
  };
62708
63350
  }
62709
63351
 
@@ -62722,16 +63364,17 @@ export class TerminateTicketResponse extends $dara.Model {
62722
63364
  }
62723
63365
  }
62724
63366
 
62725
- export class TransferTicketTaskRequest extends $dara.Model {
63367
+ export class UnmuteCallRequest extends $dara.Model {
62726
63368
  /**
62727
- * @remarks
62728
- * This parameter is required.
62729
- *
62730
63369
  * @example
62731
- * assignee@ccc-test
63370
+ * ch:user:1390501****->8032****:1609138902226:job-6538214103685****
62732
63371
  */
62733
- assignee?: string;
62734
- comment?: string;
63372
+ channelId?: string;
63373
+ /**
63374
+ * @example
63375
+ * device
63376
+ */
63377
+ deviceId?: string;
62735
63378
  /**
62736
63379
  * @remarks
62737
63380
  * This parameter is required.
@@ -62742,31 +63385,31 @@ export class TransferTicketTaskRequest extends $dara.Model {
62742
63385
  instanceId?: string;
62743
63386
  /**
62744
63387
  * @example
62745
- * f780ade8-3ca9-458b-b067-63077946a570
63388
+ * job-6538214103685****
62746
63389
  */
62747
- taskId?: string;
63390
+ jobId?: string;
62748
63391
  /**
62749
63392
  * @example
62750
- * 5491d3b4-14ee-4341-b5f1-db2c78beddeb
63393
+ * agent@ccc-test
62751
63394
  */
62752
- ticketId?: string;
63395
+ userId?: string;
62753
63396
  static names(): { [key: string]: string } {
62754
63397
  return {
62755
- assignee: 'Assignee',
62756
- comment: 'Comment',
63398
+ channelId: 'ChannelId',
63399
+ deviceId: 'DeviceId',
62757
63400
  instanceId: 'InstanceId',
62758
- taskId: 'TaskId',
62759
- ticketId: 'TicketId',
63401
+ jobId: 'JobId',
63402
+ userId: 'UserId',
62760
63403
  };
62761
63404
  }
62762
63405
 
62763
63406
  static types(): { [key: string]: any } {
62764
63407
  return {
62765
- assignee: 'string',
62766
- comment: 'string',
63408
+ channelId: 'string',
63409
+ deviceId: 'string',
62767
63410
  instanceId: 'string',
62768
- taskId: 'string',
62769
- ticketId: 'string',
63411
+ jobId: 'string',
63412
+ userId: 'string',
62770
63413
  };
62771
63414
  }
62772
63415
 
@@ -62779,13 +63422,13 @@ export class TransferTicketTaskRequest extends $dara.Model {
62779
63422
  }
62780
63423
  }
62781
63424
 
62782
- export class TransferTicketTaskResponseBody extends $dara.Model {
63425
+ export class UnmuteCallResponseBody extends $dara.Model {
62783
63426
  /**
62784
63427
  * @example
62785
63428
  * OK
62786
63429
  */
62787
63430
  code?: string;
62788
- data?: any;
63431
+ data?: UnmuteCallResponseBodyData;
62789
63432
  /**
62790
63433
  * @example
62791
63434
  * 200
@@ -62795,7 +63438,7 @@ export class TransferTicketTaskResponseBody extends $dara.Model {
62795
63438
  params?: string[];
62796
63439
  /**
62797
63440
  * @example
62798
- * 678F7002-CA01-4ABF-A112-585AFBDF3A3B
63441
+ * EEEE671A-3E24-4A04-81E6-6C4F5B39DF75
62799
63442
  */
62800
63443
  requestId?: string;
62801
63444
  static names(): { [key: string]: string } {
@@ -62812,7 +63455,7 @@ export class TransferTicketTaskResponseBody extends $dara.Model {
62812
63455
  static types(): { [key: string]: any } {
62813
63456
  return {
62814
63457
  code: 'string',
62815
- data: 'any',
63458
+ data: UnmuteCallResponseBodyData,
62816
63459
  httpStatusCode: 'number',
62817
63460
  message: 'string',
62818
63461
  params: { 'type': 'array', 'itemType': 'string' },
@@ -62821,6 +63464,9 @@ export class TransferTicketTaskResponseBody extends $dara.Model {
62821
63464
  }
62822
63465
 
62823
63466
  validate() {
63467
+ if(this.data && typeof (this.data as any).validate === 'function') {
63468
+ (this.data as any).validate();
63469
+ }
62824
63470
  if(Array.isArray(this.params)) {
62825
63471
  $dara.Model.validateArray(this.params);
62826
63472
  }
@@ -62832,10 +63478,10 @@ export class TransferTicketTaskResponseBody extends $dara.Model {
62832
63478
  }
62833
63479
  }
62834
63480
 
62835
- export class TransferTicketTaskResponse extends $dara.Model {
63481
+ export class UnmuteCallResponse extends $dara.Model {
62836
63482
  headers?: { [key: string]: string };
62837
63483
  statusCode?: number;
62838
- body?: TransferTicketTaskResponseBody;
63484
+ body?: UnmuteCallResponseBody;
62839
63485
  static names(): { [key: string]: string } {
62840
63486
  return {
62841
63487
  headers: 'headers',
@@ -62848,7 +63494,7 @@ export class TransferTicketTaskResponse extends $dara.Model {
62848
63494
  return {
62849
63495
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
62850
63496
  statusCode: 'number',
62851
- body: TransferTicketTaskResponseBody,
63497
+ body: UnmuteCallResponseBody,
62852
63498
  };
62853
63499
  }
62854
63500
 
@@ -62867,17 +63513,7 @@ export class TransferTicketTaskResponse extends $dara.Model {
62867
63513
  }
62868
63514
  }
62869
63515
 
62870
- export class UnmuteCallRequest extends $dara.Model {
62871
- /**
62872
- * @example
62873
- * ch:user:1390501****->8032****:1609138902226:job-6538214103685****
62874
- */
62875
- channelId?: string;
62876
- /**
62877
- * @example
62878
- * device
62879
- */
62880
- deviceId?: string;
63516
+ export class UnregisterDeviceRequest extends $dara.Model {
62881
63517
  /**
62882
63518
  * @remarks
62883
63519
  * This parameter is required.
@@ -62886,11 +63522,6 @@ export class UnmuteCallRequest extends $dara.Model {
62886
63522
  * ccc-test
62887
63523
  */
62888
63524
  instanceId?: string;
62889
- /**
62890
- * @example
62891
- * job-6538214103685****
62892
- */
62893
- jobId?: string;
62894
63525
  /**
62895
63526
  * @example
62896
63527
  * agent@ccc-test
@@ -62898,20 +63529,14 @@ export class UnmuteCallRequest extends $dara.Model {
62898
63529
  userId?: string;
62899
63530
  static names(): { [key: string]: string } {
62900
63531
  return {
62901
- channelId: 'ChannelId',
62902
- deviceId: 'DeviceId',
62903
63532
  instanceId: 'InstanceId',
62904
- jobId: 'JobId',
62905
63533
  userId: 'UserId',
62906
63534
  };
62907
63535
  }
62908
63536
 
62909
63537
  static types(): { [key: string]: any } {
62910
63538
  return {
62911
- channelId: 'string',
62912
- deviceId: 'string',
62913
63539
  instanceId: 'string',
62914
- jobId: 'string',
62915
63540
  userId: 'string',
62916
63541
  };
62917
63542
  }
@@ -62925,32 +63550,28 @@ export class UnmuteCallRequest extends $dara.Model {
62925
63550
  }
62926
63551
  }
62927
63552
 
62928
- export class UnmuteCallResponseBody extends $dara.Model {
63553
+ export class UnregisterDeviceResponseBody extends $dara.Model {
62929
63554
  /**
62930
63555
  * @example
62931
63556
  * OK
62932
63557
  */
62933
63558
  code?: string;
62934
- data?: UnmuteCallResponseBodyData;
62935
63559
  /**
62936
63560
  * @example
62937
63561
  * 200
62938
63562
  */
62939
63563
  httpStatusCode?: number;
62940
63564
  message?: string;
62941
- params?: string[];
62942
63565
  /**
62943
63566
  * @example
62944
- * EEEE671A-3E24-4A04-81E6-6C4F5B39DF75
63567
+ * BA03159C-E808-4FF1-B27E-A61B6E888D7F
62945
63568
  */
62946
63569
  requestId?: string;
62947
63570
  static names(): { [key: string]: string } {
62948
63571
  return {
62949
63572
  code: 'Code',
62950
- data: 'Data',
62951
63573
  httpStatusCode: 'HttpStatusCode',
62952
63574
  message: 'Message',
62953
- params: 'Params',
62954
63575
  requestId: 'RequestId',
62955
63576
  };
62956
63577
  }
@@ -62958,21 +63579,13 @@ export class UnmuteCallResponseBody extends $dara.Model {
62958
63579
  static types(): { [key: string]: any } {
62959
63580
  return {
62960
63581
  code: 'string',
62961
- data: UnmuteCallResponseBodyData,
62962
63582
  httpStatusCode: 'number',
62963
63583
  message: 'string',
62964
- params: { 'type': 'array', 'itemType': 'string' },
62965
63584
  requestId: 'string',
62966
63585
  };
62967
63586
  }
62968
63587
 
62969
63588
  validate() {
62970
- if(this.data && typeof (this.data as any).validate === 'function') {
62971
- (this.data as any).validate();
62972
- }
62973
- if(Array.isArray(this.params)) {
62974
- $dara.Model.validateArray(this.params);
62975
- }
62976
63589
  super.validate();
62977
63590
  }
62978
63591
 
@@ -62981,10 +63594,10 @@ export class UnmuteCallResponseBody extends $dara.Model {
62981
63594
  }
62982
63595
  }
62983
63596
 
62984
- export class UnmuteCallResponse extends $dara.Model {
63597
+ export class UnregisterDeviceResponse extends $dara.Model {
62985
63598
  headers?: { [key: string]: string };
62986
63599
  statusCode?: number;
62987
- body?: UnmuteCallResponseBody;
63600
+ body?: UnregisterDeviceResponseBody;
62988
63601
  static names(): { [key: string]: string } {
62989
63602
  return {
62990
63603
  headers: 'headers',
@@ -62997,7 +63610,7 @@ export class UnmuteCallResponse extends $dara.Model {
62997
63610
  return {
62998
63611
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
62999
63612
  statusCode: 'number',
63000
- body: UnmuteCallResponseBody,
63613
+ body: UnregisterDeviceResponseBody,
63001
63614
  };
63002
63615
  }
63003
63616
 
@@ -63016,7 +63629,8 @@ export class UnmuteCallResponse extends $dara.Model {
63016
63629
  }
63017
63630
  }
63018
63631
 
63019
- export class UnregisterDeviceRequest extends $dara.Model {
63632
+ export class UpdateCallSummaryRequest extends $dara.Model {
63633
+ context?: string;
63020
63634
  /**
63021
63635
  * @remarks
63022
63636
  * This parameter is required.
@@ -63026,21 +63640,26 @@ export class UnregisterDeviceRequest extends $dara.Model {
63026
63640
  */
63027
63641
  instanceId?: string;
63028
63642
  /**
63643
+ * @remarks
63644
+ * This parameter is required.
63645
+ *
63029
63646
  * @example
63030
- * agent@ccc-test
63647
+ * f2c6722b-cd13-442d-bf10-22a07c70d6d5
63031
63648
  */
63032
- userId?: string;
63649
+ ticketId?: string;
63033
63650
  static names(): { [key: string]: string } {
63034
63651
  return {
63652
+ context: 'Context',
63035
63653
  instanceId: 'InstanceId',
63036
- userId: 'UserId',
63654
+ ticketId: 'TicketId',
63037
63655
  };
63038
63656
  }
63039
63657
 
63040
63658
  static types(): { [key: string]: any } {
63041
63659
  return {
63660
+ context: 'string',
63042
63661
  instanceId: 'string',
63043
- userId: 'string',
63662
+ ticketId: 'string',
63044
63663
  };
63045
63664
  }
63046
63665
 
@@ -63053,28 +63672,32 @@ export class UnregisterDeviceRequest extends $dara.Model {
63053
63672
  }
63054
63673
  }
63055
63674
 
63056
- export class UnregisterDeviceResponseBody extends $dara.Model {
63675
+ export class UpdateCallSummaryResponseBody extends $dara.Model {
63057
63676
  /**
63058
63677
  * @example
63059
63678
  * OK
63060
63679
  */
63061
63680
  code?: string;
63681
+ data?: any;
63062
63682
  /**
63063
63683
  * @example
63064
63684
  * 200
63065
63685
  */
63066
63686
  httpStatusCode?: number;
63067
63687
  message?: string;
63688
+ params?: string[];
63068
63689
  /**
63069
63690
  * @example
63070
- * BA03159C-E808-4FF1-B27E-A61B6E888D7F
63691
+ * 9FBA26B0-462B-4D77-B78F-AF35560DBC71
63071
63692
  */
63072
63693
  requestId?: string;
63073
63694
  static names(): { [key: string]: string } {
63074
63695
  return {
63075
63696
  code: 'Code',
63697
+ data: 'Data',
63076
63698
  httpStatusCode: 'HttpStatusCode',
63077
63699
  message: 'Message',
63700
+ params: 'Params',
63078
63701
  requestId: 'RequestId',
63079
63702
  };
63080
63703
  }
@@ -63082,13 +63705,18 @@ export class UnregisterDeviceResponseBody extends $dara.Model {
63082
63705
  static types(): { [key: string]: any } {
63083
63706
  return {
63084
63707
  code: 'string',
63708
+ data: 'any',
63085
63709
  httpStatusCode: 'number',
63086
63710
  message: 'string',
63711
+ params: { 'type': 'array', 'itemType': 'string' },
63087
63712
  requestId: 'string',
63088
63713
  };
63089
63714
  }
63090
63715
 
63091
63716
  validate() {
63717
+ if(Array.isArray(this.params)) {
63718
+ $dara.Model.validateArray(this.params);
63719
+ }
63092
63720
  super.validate();
63093
63721
  }
63094
63722
 
@@ -63097,10 +63725,10 @@ export class UnregisterDeviceResponseBody extends $dara.Model {
63097
63725
  }
63098
63726
  }
63099
63727
 
63100
- export class UnregisterDeviceResponse extends $dara.Model {
63728
+ export class UpdateCallSummaryResponse extends $dara.Model {
63101
63729
  headers?: { [key: string]: string };
63102
63730
  statusCode?: number;
63103
- body?: UnregisterDeviceResponseBody;
63731
+ body?: UpdateCallSummaryResponseBody;
63104
63732
  static names(): { [key: string]: string } {
63105
63733
  return {
63106
63734
  headers: 'headers',
@@ -63113,7 +63741,7 @@ export class UnregisterDeviceResponse extends $dara.Model {
63113
63741
  return {
63114
63742
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
63115
63743
  statusCode: 'number',
63116
- body: UnregisterDeviceResponseBody,
63744
+ body: UpdateCallSummaryResponseBody,
63117
63745
  };
63118
63746
  }
63119
63747
 
@@ -65746,6 +66374,61 @@ export default class Client extends OpenApi {
65746
66374
  return await this.createAudioFileWithOptions(request, runtime);
65747
66375
  }
65748
66376
 
66377
+ /**
66378
+ * @param request - CreateCallSummaryRequest
66379
+ * @param runtime - runtime options for this request RuntimeOptions
66380
+ * @returns CreateCallSummaryResponse
66381
+ */
66382
+ async createCallSummaryWithOptions(request: CreateCallSummaryRequest, runtime: $dara.RuntimeOptions): Promise<CreateCallSummaryResponse> {
66383
+ request.validate();
66384
+ let query = { };
66385
+ if (!$dara.isNull(request.contactId)) {
66386
+ query["ContactId"] = request.contactId;
66387
+ }
66388
+
66389
+ if (!$dara.isNull(request.context)) {
66390
+ query["Context"] = request.context;
66391
+ }
66392
+
66393
+ if (!$dara.isNull(request.customerId)) {
66394
+ query["CustomerId"] = request.customerId;
66395
+ }
66396
+
66397
+ if (!$dara.isNull(request.instanceId)) {
66398
+ query["InstanceId"] = request.instanceId;
66399
+ }
66400
+
66401
+ let req = new $OpenApiUtil.OpenApiRequest({
66402
+ query: OpenApiUtil.query(query),
66403
+ });
66404
+ let params = new $OpenApiUtil.Params({
66405
+ action: "CreateCallSummary",
66406
+ version: "2020-07-01",
66407
+ protocol: "HTTPS",
66408
+ pathname: "/",
66409
+ method: "POST",
66410
+ authType: "AK",
66411
+ style: "RPC",
66412
+ reqBodyType: "formData",
66413
+ bodyType: "json",
66414
+ });
66415
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
66416
+ return $dara.cast<CreateCallSummaryResponse>(await this.callApi(params, req, runtime), new CreateCallSummaryResponse({}));
66417
+ } else {
66418
+ return $dara.cast<CreateCallSummaryResponse>(await this.execute(params, req, runtime), new CreateCallSummaryResponse({}));
66419
+ }
66420
+
66421
+ }
66422
+
66423
+ /**
66424
+ * @param request - CreateCallSummaryRequest
66425
+ * @returns CreateCallSummaryResponse
66426
+ */
66427
+ async createCallSummary(request: CreateCallSummaryRequest): Promise<CreateCallSummaryResponse> {
66428
+ let runtime = new $dara.RuntimeOptions({ });
66429
+ return await this.createCallSummaryWithOptions(request, runtime);
66430
+ }
66431
+
65749
66432
  /**
65750
66433
  * 批量创建号码标签
65751
66434
  *
@@ -68904,6 +69587,53 @@ export default class Client extends OpenApi {
68904
69587
  return await this.getSkillGroupWithOptions(request, runtime);
68905
69588
  }
68906
69589
 
69590
+ /**
69591
+ * @param request - GetSummaryTemplateRequest
69592
+ * @param runtime - runtime options for this request RuntimeOptions
69593
+ * @returns GetSummaryTemplateResponse
69594
+ */
69595
+ async getSummaryTemplateWithOptions(request: GetSummaryTemplateRequest, runtime: $dara.RuntimeOptions): Promise<GetSummaryTemplateResponse> {
69596
+ request.validate();
69597
+ let query = { };
69598
+ if (!$dara.isNull(request.instanceId)) {
69599
+ query["InstanceId"] = request.instanceId;
69600
+ }
69601
+
69602
+ if (!$dara.isNull(request.templateId)) {
69603
+ query["TemplateId"] = request.templateId;
69604
+ }
69605
+
69606
+ let req = new $OpenApiUtil.OpenApiRequest({
69607
+ query: OpenApiUtil.query(query),
69608
+ });
69609
+ let params = new $OpenApiUtil.Params({
69610
+ action: "GetSummaryTemplate",
69611
+ version: "2020-07-01",
69612
+ protocol: "HTTPS",
69613
+ pathname: "/",
69614
+ method: "POST",
69615
+ authType: "AK",
69616
+ style: "RPC",
69617
+ reqBodyType: "formData",
69618
+ bodyType: "json",
69619
+ });
69620
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
69621
+ return $dara.cast<GetSummaryTemplateResponse>(await this.callApi(params, req, runtime), new GetSummaryTemplateResponse({}));
69622
+ } else {
69623
+ return $dara.cast<GetSummaryTemplateResponse>(await this.execute(params, req, runtime), new GetSummaryTemplateResponse({}));
69624
+ }
69625
+
69626
+ }
69627
+
69628
+ /**
69629
+ * @param request - GetSummaryTemplateRequest
69630
+ * @returns GetSummaryTemplateResponse
69631
+ */
69632
+ async getSummaryTemplate(request: GetSummaryTemplateRequest): Promise<GetSummaryTemplateResponse> {
69633
+ let runtime = new $dara.RuntimeOptions({ });
69634
+ return await this.getSummaryTemplateWithOptions(request, runtime);
69635
+ }
69636
+
68907
69637
  /**
68908
69638
  * @param request - GetTicketRequest
68909
69639
  * @param runtime - runtime options for this request RuntimeOptions
@@ -77465,6 +78195,57 @@ export default class Client extends OpenApi {
77465
78195
  return await this.unregisterDeviceWithOptions(request, runtime);
77466
78196
  }
77467
78197
 
78198
+ /**
78199
+ * @param request - UpdateCallSummaryRequest
78200
+ * @param runtime - runtime options for this request RuntimeOptions
78201
+ * @returns UpdateCallSummaryResponse
78202
+ */
78203
+ async updateCallSummaryWithOptions(request: UpdateCallSummaryRequest, runtime: $dara.RuntimeOptions): Promise<UpdateCallSummaryResponse> {
78204
+ request.validate();
78205
+ let query = { };
78206
+ if (!$dara.isNull(request.context)) {
78207
+ query["Context"] = request.context;
78208
+ }
78209
+
78210
+ if (!$dara.isNull(request.instanceId)) {
78211
+ query["InstanceId"] = request.instanceId;
78212
+ }
78213
+
78214
+ if (!$dara.isNull(request.ticketId)) {
78215
+ query["TicketId"] = request.ticketId;
78216
+ }
78217
+
78218
+ let req = new $OpenApiUtil.OpenApiRequest({
78219
+ query: OpenApiUtil.query(query),
78220
+ });
78221
+ let params = new $OpenApiUtil.Params({
78222
+ action: "UpdateCallSummary",
78223
+ version: "2020-07-01",
78224
+ protocol: "HTTPS",
78225
+ pathname: "/",
78226
+ method: "POST",
78227
+ authType: "AK",
78228
+ style: "RPC",
78229
+ reqBodyType: "formData",
78230
+ bodyType: "json",
78231
+ });
78232
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
78233
+ return $dara.cast<UpdateCallSummaryResponse>(await this.callApi(params, req, runtime), new UpdateCallSummaryResponse({}));
78234
+ } else {
78235
+ return $dara.cast<UpdateCallSummaryResponse>(await this.execute(params, req, runtime), new UpdateCallSummaryResponse({}));
78236
+ }
78237
+
78238
+ }
78239
+
78240
+ /**
78241
+ * @param request - UpdateCallSummaryRequest
78242
+ * @returns UpdateCallSummaryResponse
78243
+ */
78244
+ async updateCallSummary(request: UpdateCallSummaryRequest): Promise<UpdateCallSummaryResponse> {
78245
+ let runtime = new $dara.RuntimeOptions({ });
78246
+ return await this.updateCallSummaryWithOptions(request, runtime);
78247
+ }
78248
+
77468
78249
  /**
77469
78250
  * Update campaign
77470
78251
  *