@alicloud/aligenieip_1_0 2.4.0 → 2.6.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/dist/client.js CHANGED
@@ -211,6 +211,116 @@ class AddCustomQAResponse extends $tea.Model {
211
211
  }
212
212
  }
213
213
  exports.AddCustomQAResponse = AddCustomQAResponse;
214
+ class AddCustomQAV2Headers extends $tea.Model {
215
+ constructor(map) {
216
+ super(map);
217
+ }
218
+ static names() {
219
+ return {
220
+ commonHeaders: 'commonHeaders',
221
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
222
+ authorization: 'Authorization',
223
+ };
224
+ }
225
+ static types() {
226
+ return {
227
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
228
+ xAcsAligenieAccessToken: 'string',
229
+ authorization: 'string',
230
+ };
231
+ }
232
+ }
233
+ exports.AddCustomQAV2Headers = AddCustomQAV2Headers;
234
+ class AddCustomQAV2Request extends $tea.Model {
235
+ constructor(map) {
236
+ super(map);
237
+ }
238
+ static names() {
239
+ return {
240
+ answers: 'Answers',
241
+ hotelId: 'HotelId',
242
+ keyWords: 'KeyWords',
243
+ majorQuestion: 'MajorQuestion',
244
+ supplementaryQuestions: 'SupplementaryQuestions',
245
+ };
246
+ }
247
+ static types() {
248
+ return {
249
+ answers: { 'type': 'array', 'itemType': 'string' },
250
+ hotelId: 'string',
251
+ keyWords: { 'type': 'array', 'itemType': 'string' },
252
+ majorQuestion: 'string',
253
+ supplementaryQuestions: { 'type': 'array', 'itemType': 'string' },
254
+ };
255
+ }
256
+ }
257
+ exports.AddCustomQAV2Request = AddCustomQAV2Request;
258
+ class AddCustomQAV2ShrinkRequest extends $tea.Model {
259
+ constructor(map) {
260
+ super(map);
261
+ }
262
+ static names() {
263
+ return {
264
+ answersShrink: 'Answers',
265
+ hotelId: 'HotelId',
266
+ keyWordsShrink: 'KeyWords',
267
+ majorQuestion: 'MajorQuestion',
268
+ supplementaryQuestionsShrink: 'SupplementaryQuestions',
269
+ };
270
+ }
271
+ static types() {
272
+ return {
273
+ answersShrink: 'string',
274
+ hotelId: 'string',
275
+ keyWordsShrink: 'string',
276
+ majorQuestion: 'string',
277
+ supplementaryQuestionsShrink: 'string',
278
+ };
279
+ }
280
+ }
281
+ exports.AddCustomQAV2ShrinkRequest = AddCustomQAV2ShrinkRequest;
282
+ class AddCustomQAV2ResponseBody extends $tea.Model {
283
+ constructor(map) {
284
+ super(map);
285
+ }
286
+ static names() {
287
+ return {
288
+ message: 'Message',
289
+ requestId: 'RequestId',
290
+ result: 'Result',
291
+ statusCode: 'StatusCode',
292
+ };
293
+ }
294
+ static types() {
295
+ return {
296
+ message: 'string',
297
+ requestId: 'string',
298
+ result: AddCustomQAV2ResponseBodyResult,
299
+ statusCode: 'number',
300
+ };
301
+ }
302
+ }
303
+ exports.AddCustomQAV2ResponseBody = AddCustomQAV2ResponseBody;
304
+ class AddCustomQAV2Response extends $tea.Model {
305
+ constructor(map) {
306
+ super(map);
307
+ }
308
+ static names() {
309
+ return {
310
+ headers: 'headers',
311
+ statusCode: 'statusCode',
312
+ body: 'body',
313
+ };
314
+ }
315
+ static types() {
316
+ return {
317
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
318
+ statusCode: 'number',
319
+ body: AddCustomQAV2ResponseBody,
320
+ };
321
+ }
322
+ }
323
+ exports.AddCustomQAV2Response = AddCustomQAV2Response;
214
324
  class AddMessageTemplateHeaders extends $tea.Model {
215
325
  constructor(map) {
216
326
  super(map);
@@ -5195,16 +5305,36 @@ class ListHotelRoomsRequest extends $tea.Model {
5195
5305
  }
5196
5306
  static names() {
5197
5307
  return {
5308
+ hotelAdminRoom: 'HotelAdminRoom',
5198
5309
  hotelId: 'HotelId',
5199
5310
  };
5200
5311
  }
5201
5312
  static types() {
5202
5313
  return {
5314
+ hotelAdminRoom: ListHotelRoomsRequestHotelAdminRoom,
5203
5315
  hotelId: 'string',
5204
5316
  };
5205
5317
  }
5206
5318
  }
5207
5319
  exports.ListHotelRoomsRequest = ListHotelRoomsRequest;
5320
+ class ListHotelRoomsShrinkRequest extends $tea.Model {
5321
+ constructor(map) {
5322
+ super(map);
5323
+ }
5324
+ static names() {
5325
+ return {
5326
+ hotelAdminRoomShrink: 'HotelAdminRoom',
5327
+ hotelId: 'HotelId',
5328
+ };
5329
+ }
5330
+ static types() {
5331
+ return {
5332
+ hotelAdminRoomShrink: 'string',
5333
+ hotelId: 'string',
5334
+ };
5335
+ }
5336
+ }
5337
+ exports.ListHotelRoomsShrinkRequest = ListHotelRoomsShrinkRequest;
5208
5338
  class ListHotelRoomsResponseBody extends $tea.Model {
5209
5339
  constructor(map) {
5210
5340
  super(map);
@@ -5667,12 +5797,14 @@ class ListHotelsRequest extends $tea.Model {
5667
5797
  }
5668
5798
  static names() {
5669
5799
  return {
5800
+ hotelRequest: 'HotelRequest',
5670
5801
  page: 'Page',
5671
5802
  status: 'Status',
5672
5803
  };
5673
5804
  }
5674
5805
  static types() {
5675
5806
  return {
5807
+ hotelRequest: ListHotelsRequestHotelRequest,
5676
5808
  page: ListHotelsRequestPage,
5677
5809
  status: 'number',
5678
5810
  };
@@ -5685,12 +5817,14 @@ class ListHotelsShrinkRequest extends $tea.Model {
5685
5817
  }
5686
5818
  static names() {
5687
5819
  return {
5820
+ hotelRequestShrink: 'HotelRequest',
5688
5821
  pageShrink: 'Page',
5689
5822
  status: 'Status',
5690
5823
  };
5691
5824
  }
5692
5825
  static types() {
5693
5826
  return {
5827
+ hotelRequestShrink: 'string',
5694
5828
  pageShrink: 'string',
5695
5829
  status: 'number',
5696
5830
  };
@@ -6491,6 +6625,110 @@ class PushHotelMessageResponse extends $tea.Model {
6491
6625
  }
6492
6626
  }
6493
6627
  exports.PushHotelMessageResponse = PushHotelMessageResponse;
6628
+ class PushVoiceBoxCommandsHeaders extends $tea.Model {
6629
+ constructor(map) {
6630
+ super(map);
6631
+ }
6632
+ static names() {
6633
+ return {
6634
+ commonHeaders: 'commonHeaders',
6635
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
6636
+ authorization: 'Authorization',
6637
+ };
6638
+ }
6639
+ static types() {
6640
+ return {
6641
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6642
+ xAcsAligenieAccessToken: 'string',
6643
+ authorization: 'string',
6644
+ };
6645
+ }
6646
+ }
6647
+ exports.PushVoiceBoxCommandsHeaders = PushVoiceBoxCommandsHeaders;
6648
+ class PushVoiceBoxCommandsRequest extends $tea.Model {
6649
+ constructor(map) {
6650
+ super(map);
6651
+ }
6652
+ static names() {
6653
+ return {
6654
+ commands: 'Commands',
6655
+ hotelId: 'HotelId',
6656
+ roomNo: 'RoomNo',
6657
+ };
6658
+ }
6659
+ static types() {
6660
+ return {
6661
+ commands: { 'type': 'array', 'itemType': PushVoiceBoxCommandsRequestCommands },
6662
+ hotelId: 'string',
6663
+ roomNo: 'string',
6664
+ };
6665
+ }
6666
+ }
6667
+ exports.PushVoiceBoxCommandsRequest = PushVoiceBoxCommandsRequest;
6668
+ class PushVoiceBoxCommandsShrinkRequest extends $tea.Model {
6669
+ constructor(map) {
6670
+ super(map);
6671
+ }
6672
+ static names() {
6673
+ return {
6674
+ commandsShrink: 'Commands',
6675
+ hotelId: 'HotelId',
6676
+ roomNo: 'RoomNo',
6677
+ };
6678
+ }
6679
+ static types() {
6680
+ return {
6681
+ commandsShrink: 'string',
6682
+ hotelId: 'string',
6683
+ roomNo: 'string',
6684
+ };
6685
+ }
6686
+ }
6687
+ exports.PushVoiceBoxCommandsShrinkRequest = PushVoiceBoxCommandsShrinkRequest;
6688
+ class PushVoiceBoxCommandsResponseBody extends $tea.Model {
6689
+ constructor(map) {
6690
+ super(map);
6691
+ }
6692
+ static names() {
6693
+ return {
6694
+ code: 'Code',
6695
+ message: 'Message',
6696
+ requestId: 'RequestId',
6697
+ result: 'Result',
6698
+ statusCode: 'StatusCode',
6699
+ };
6700
+ }
6701
+ static types() {
6702
+ return {
6703
+ code: 'number',
6704
+ message: 'string',
6705
+ requestId: 'string',
6706
+ result: 'boolean',
6707
+ statusCode: 'number',
6708
+ };
6709
+ }
6710
+ }
6711
+ exports.PushVoiceBoxCommandsResponseBody = PushVoiceBoxCommandsResponseBody;
6712
+ class PushVoiceBoxCommandsResponse extends $tea.Model {
6713
+ constructor(map) {
6714
+ super(map);
6715
+ }
6716
+ static names() {
6717
+ return {
6718
+ headers: 'headers',
6719
+ statusCode: 'statusCode',
6720
+ body: 'body',
6721
+ };
6722
+ }
6723
+ static types() {
6724
+ return {
6725
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6726
+ statusCode: 'number',
6727
+ body: PushVoiceBoxCommandsResponseBody,
6728
+ };
6729
+ }
6730
+ }
6731
+ exports.PushVoiceBoxCommandsResponse = PushVoiceBoxCommandsResponse;
6494
6732
  class PushWelcomeHeaders extends $tea.Model {
6495
6733
  constructor(map) {
6496
6734
  super(map);
@@ -8603,6 +8841,40 @@ class UpdateTicketResponse extends $tea.Model {
8603
8841
  }
8604
8842
  }
8605
8843
  exports.UpdateTicketResponse = UpdateTicketResponse;
8844
+ class AddCustomQAV2ResponseBodyResult extends $tea.Model {
8845
+ constructor(map) {
8846
+ super(map);
8847
+ }
8848
+ static names() {
8849
+ return {
8850
+ answers: 'Answers',
8851
+ createTime: 'CreateTime',
8852
+ hotelId: 'HotelId',
8853
+ keyWords: 'KeyWords',
8854
+ lastOperator: 'LastOperator',
8855
+ majorQuestion: 'MajorQuestion',
8856
+ qaId: 'QaId',
8857
+ status: 'Status',
8858
+ supplementaryQuestion: 'SupplementaryQuestion',
8859
+ updateTime: 'UpdateTime',
8860
+ };
8861
+ }
8862
+ static types() {
8863
+ return {
8864
+ answers: 'string',
8865
+ createTime: 'string',
8866
+ hotelId: 'string',
8867
+ keyWords: 'string',
8868
+ lastOperator: 'string',
8869
+ majorQuestion: 'string',
8870
+ qaId: 'string',
8871
+ status: 'number',
8872
+ supplementaryQuestion: 'string',
8873
+ updateTime: 'string',
8874
+ };
8875
+ }
8876
+ }
8877
+ exports.AddCustomQAV2ResponseBodyResult = AddCustomQAV2ResponseBodyResult;
8606
8878
  class AddOrUpdateHotelSettingRequestHotelScreenSaver extends $tea.Model {
8607
8879
  constructor(map) {
8608
8880
  super(map);
@@ -10445,6 +10717,22 @@ class ListHotelOrderResponseBodyResult extends $tea.Model {
10445
10717
  }
10446
10718
  }
10447
10719
  exports.ListHotelOrderResponseBodyResult = ListHotelOrderResponseBodyResult;
10720
+ class ListHotelRoomsRequestHotelAdminRoom extends $tea.Model {
10721
+ constructor(map) {
10722
+ super(map);
10723
+ }
10724
+ static names() {
10725
+ return {
10726
+ roomNo: 'RoomNo',
10727
+ };
10728
+ }
10729
+ static types() {
10730
+ return {
10731
+ roomNo: 'string',
10732
+ };
10733
+ }
10734
+ }
10735
+ exports.ListHotelRoomsRequestHotelAdminRoom = ListHotelRoomsRequestHotelAdminRoom;
10448
10736
  class ListHotelRoomsResponseBodyResult extends $tea.Model {
10449
10737
  constructor(map) {
10450
10738
  super(map);
@@ -10845,6 +11133,22 @@ class ListHotelServiceCategoryResponseBodyResult extends $tea.Model {
10845
11133
  }
10846
11134
  }
10847
11135
  exports.ListHotelServiceCategoryResponseBodyResult = ListHotelServiceCategoryResponseBodyResult;
11136
+ class ListHotelsRequestHotelRequest extends $tea.Model {
11137
+ constructor(map) {
11138
+ super(map);
11139
+ }
11140
+ static names() {
11141
+ return {
11142
+ hotelId: 'HotelId',
11143
+ };
11144
+ }
11145
+ static types() {
11146
+ return {
11147
+ hotelId: 'string',
11148
+ };
11149
+ }
11150
+ }
11151
+ exports.ListHotelsRequestHotelRequest = ListHotelsRequestHotelRequest;
10848
11152
  class ListHotelsRequestPage extends $tea.Model {
10849
11153
  constructor(map) {
10850
11154
  super(map);
@@ -11209,6 +11513,26 @@ class PushHotelMessageRequestPushHotelMessageReq extends $tea.Model {
11209
11513
  }
11210
11514
  }
11211
11515
  exports.PushHotelMessageRequestPushHotelMessageReq = PushHotelMessageRequestPushHotelMessageReq;
11516
+ class PushVoiceBoxCommandsRequestCommands extends $tea.Model {
11517
+ constructor(map) {
11518
+ super(map);
11519
+ }
11520
+ static names() {
11521
+ return {
11522
+ commandDomain: 'CommandDomain',
11523
+ commandName: 'CommandName',
11524
+ payload: 'Payload',
11525
+ };
11526
+ }
11527
+ static types() {
11528
+ return {
11529
+ commandDomain: 'string',
11530
+ commandName: 'string',
11531
+ payload: 'string',
11532
+ };
11533
+ }
11534
+ }
11535
+ exports.PushVoiceBoxCommandsRequestCommands = PushVoiceBoxCommandsRequestCommands;
11212
11536
  class QueryDeviceStatusRequestPayloadLocationDevices extends $tea.Model {
11213
11537
  constructor(map) {
11214
11538
  super(map);
@@ -12044,6 +12368,67 @@ class Client extends openapi_client_1.default {
12044
12368
  let headers = new AddCustomQAHeaders({});
12045
12369
  return await this.addCustomQAWithOptions(request, headers, runtime);
12046
12370
  }
12371
+ async addCustomQAV2WithOptions(tmpReq, headers, runtime) {
12372
+ tea_util_1.default.validateModel(tmpReq);
12373
+ let request = new AddCustomQAV2ShrinkRequest({});
12374
+ openapi_util_1.default.convert(tmpReq, request);
12375
+ if (!tea_util_1.default.isUnset(tmpReq.answers)) {
12376
+ request.answersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.answers, "Answers", "json");
12377
+ }
12378
+ if (!tea_util_1.default.isUnset(tmpReq.keyWords)) {
12379
+ request.keyWordsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.keyWords, "KeyWords", "json");
12380
+ }
12381
+ if (!tea_util_1.default.isUnset(tmpReq.supplementaryQuestions)) {
12382
+ request.supplementaryQuestionsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.supplementaryQuestions, "SupplementaryQuestions", "json");
12383
+ }
12384
+ let body = {};
12385
+ if (!tea_util_1.default.isUnset(request.answersShrink)) {
12386
+ body["Answers"] = request.answersShrink;
12387
+ }
12388
+ if (!tea_util_1.default.isUnset(request.hotelId)) {
12389
+ body["HotelId"] = request.hotelId;
12390
+ }
12391
+ if (!tea_util_1.default.isUnset(request.keyWordsShrink)) {
12392
+ body["KeyWords"] = request.keyWordsShrink;
12393
+ }
12394
+ if (!tea_util_1.default.isUnset(request.majorQuestion)) {
12395
+ body["MajorQuestion"] = request.majorQuestion;
12396
+ }
12397
+ if (!tea_util_1.default.isUnset(request.supplementaryQuestionsShrink)) {
12398
+ body["SupplementaryQuestions"] = request.supplementaryQuestionsShrink;
12399
+ }
12400
+ let realHeaders = {};
12401
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
12402
+ realHeaders = headers.commonHeaders;
12403
+ }
12404
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
12405
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
12406
+ }
12407
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
12408
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
12409
+ }
12410
+ let req = new $OpenApi.OpenApiRequest({
12411
+ headers: realHeaders,
12412
+ body: openapi_util_1.default.parseToMap(body),
12413
+ });
12414
+ let params = new $OpenApi.Params({
12415
+ action: "AddCustomQAV2",
12416
+ version: "ip_1.0",
12417
+ protocol: "HTTPS",
12418
+ pathname: `/v1.0/ip/addQAV2`,
12419
+ method: "POST",
12420
+ authType: "AK",
12421
+ style: "ROA",
12422
+ reqBodyType: "formData",
12423
+ bodyType: "json",
12424
+ });
12425
+ return $tea.cast(await this.callApi(params, req, runtime), new AddCustomQAV2Response({}));
12426
+ }
12427
+ async addCustomQAV2(request) {
12428
+ let runtime = new $Util.RuntimeOptions({});
12429
+ let headers = new AddCustomQAV2Headers({});
12430
+ return await this.addCustomQAV2WithOptions(request, headers, runtime);
12431
+ }
12047
12432
  async addMessageTemplateWithOptions(request, headers, runtime) {
12048
12433
  tea_util_1.default.validateModel(request);
12049
12434
  let body = {};
@@ -14489,9 +14874,17 @@ class Client extends openapi_client_1.default {
14489
14874
  let headers = new ListHotelOrderHeaders({});
14490
14875
  return await this.listHotelOrderWithOptions(request, headers, runtime);
14491
14876
  }
14492
- async listHotelRoomsWithOptions(request, headers, runtime) {
14493
- tea_util_1.default.validateModel(request);
14877
+ async listHotelRoomsWithOptions(tmpReq, headers, runtime) {
14878
+ tea_util_1.default.validateModel(tmpReq);
14879
+ let request = new ListHotelRoomsShrinkRequest({});
14880
+ openapi_util_1.default.convert(tmpReq, request);
14881
+ if (!tea_util_1.default.isUnset(tmpReq.hotelAdminRoom)) {
14882
+ request.hotelAdminRoomShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.hotelAdminRoom, "HotelAdminRoom", "json");
14883
+ }
14494
14884
  let body = {};
14885
+ if (!tea_util_1.default.isUnset(request.hotelAdminRoomShrink)) {
14886
+ body["HotelAdminRoom"] = request.hotelAdminRoomShrink;
14887
+ }
14495
14888
  if (!tea_util_1.default.isUnset(request.hotelId)) {
14496
14889
  body["HotelId"] = request.hotelId;
14497
14890
  }
@@ -14722,10 +15115,16 @@ class Client extends openapi_client_1.default {
14722
15115
  tea_util_1.default.validateModel(tmpReq);
14723
15116
  let request = new ListHotelsShrinkRequest({});
14724
15117
  openapi_util_1.default.convert(tmpReq, request);
15118
+ if (!tea_util_1.default.isUnset(tmpReq.hotelRequest)) {
15119
+ request.hotelRequestShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.hotelRequest, "HotelRequest", "json");
15120
+ }
14725
15121
  if (!tea_util_1.default.isUnset(tmpReq.page)) {
14726
15122
  request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
14727
15123
  }
14728
15124
  let query = {};
15125
+ if (!tea_util_1.default.isUnset(request.hotelRequestShrink)) {
15126
+ query["HotelRequest"] = request.hotelRequestShrink;
15127
+ }
14729
15128
  if (!tea_util_1.default.isUnset(request.pageShrink)) {
14730
15129
  query["Page"] = request.pageShrink;
14731
15130
  }
@@ -15154,6 +15553,55 @@ class Client extends openapi_client_1.default {
15154
15553
  let headers = new PushHotelMessageHeaders({});
15155
15554
  return await this.pushHotelMessageWithOptions(request, headers, runtime);
15156
15555
  }
15556
+ async pushVoiceBoxCommandsWithOptions(tmpReq, headers, runtime) {
15557
+ tea_util_1.default.validateModel(tmpReq);
15558
+ let request = new PushVoiceBoxCommandsShrinkRequest({});
15559
+ openapi_util_1.default.convert(tmpReq, request);
15560
+ if (!tea_util_1.default.isUnset(tmpReq.commands)) {
15561
+ request.commandsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.commands, "Commands", "json");
15562
+ }
15563
+ let body = {};
15564
+ if (!tea_util_1.default.isUnset(request.commandsShrink)) {
15565
+ body["Commands"] = request.commandsShrink;
15566
+ }
15567
+ if (!tea_util_1.default.isUnset(request.hotelId)) {
15568
+ body["HotelId"] = request.hotelId;
15569
+ }
15570
+ if (!tea_util_1.default.isUnset(request.roomNo)) {
15571
+ body["RoomNo"] = request.roomNo;
15572
+ }
15573
+ let realHeaders = {};
15574
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
15575
+ realHeaders = headers.commonHeaders;
15576
+ }
15577
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
15578
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
15579
+ }
15580
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
15581
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
15582
+ }
15583
+ let req = new $OpenApi.OpenApiRequest({
15584
+ headers: realHeaders,
15585
+ body: openapi_util_1.default.parseToMap(body),
15586
+ });
15587
+ let params = new $OpenApi.Params({
15588
+ action: "PushVoiceBoxCommands",
15589
+ version: "ip_1.0",
15590
+ protocol: "HTTPS",
15591
+ pathname: `/v1.0/ip/pushVoiceBoxCommands`,
15592
+ method: "POST",
15593
+ authType: "AK",
15594
+ style: "ROA",
15595
+ reqBodyType: "formData",
15596
+ bodyType: "json",
15597
+ });
15598
+ return $tea.cast(await this.callApi(params, req, runtime), new PushVoiceBoxCommandsResponse({}));
15599
+ }
15600
+ async pushVoiceBoxCommands(request) {
15601
+ let runtime = new $Util.RuntimeOptions({});
15602
+ let headers = new PushVoiceBoxCommandsHeaders({});
15603
+ return await this.pushVoiceBoxCommandsWithOptions(request, headers, runtime);
15604
+ }
15157
15605
  async pushWelcomeWithOptions(request, headers, runtime) {
15158
15606
  tea_util_1.default.validateModel(request);
15159
15607
  let body = {};