@alicloud/cams20200606 1.0.14 → 1.0.16
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 +1186 -85
- package/dist/client.js +2126 -130
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +3331 -902
package/dist/client.js
CHANGED
|
@@ -231,6 +231,480 @@ class BeeBotChatResponse extends $tea.Model {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
exports.BeeBotChatResponse = BeeBotChatResponse;
|
|
234
|
+
class ChatappBindWabaRequest extends $tea.Model {
|
|
235
|
+
constructor(map) {
|
|
236
|
+
super(map);
|
|
237
|
+
}
|
|
238
|
+
static names() {
|
|
239
|
+
return {
|
|
240
|
+
wabaId: 'WabaId',
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
static types() {
|
|
244
|
+
return {
|
|
245
|
+
wabaId: 'string',
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.ChatappBindWabaRequest = ChatappBindWabaRequest;
|
|
250
|
+
class ChatappBindWabaResponseBody extends $tea.Model {
|
|
251
|
+
constructor(map) {
|
|
252
|
+
super(map);
|
|
253
|
+
}
|
|
254
|
+
static names() {
|
|
255
|
+
return {
|
|
256
|
+
code: 'Code',
|
|
257
|
+
data: 'Data',
|
|
258
|
+
message: 'Message',
|
|
259
|
+
requestId: 'RequestId',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
static types() {
|
|
263
|
+
return {
|
|
264
|
+
code: 'string',
|
|
265
|
+
data: ChatappBindWabaResponseBodyData,
|
|
266
|
+
message: 'string',
|
|
267
|
+
requestId: 'string',
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
exports.ChatappBindWabaResponseBody = ChatappBindWabaResponseBody;
|
|
272
|
+
class ChatappBindWabaResponse extends $tea.Model {
|
|
273
|
+
constructor(map) {
|
|
274
|
+
super(map);
|
|
275
|
+
}
|
|
276
|
+
static names() {
|
|
277
|
+
return {
|
|
278
|
+
headers: 'headers',
|
|
279
|
+
statusCode: 'statusCode',
|
|
280
|
+
body: 'body',
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
static types() {
|
|
284
|
+
return {
|
|
285
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
286
|
+
statusCode: 'number',
|
|
287
|
+
body: ChatappBindWabaResponseBody,
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.ChatappBindWabaResponse = ChatappBindWabaResponse;
|
|
292
|
+
class ChatappEmbedSignUpRequest extends $tea.Model {
|
|
293
|
+
constructor(map) {
|
|
294
|
+
super(map);
|
|
295
|
+
}
|
|
296
|
+
static names() {
|
|
297
|
+
return {
|
|
298
|
+
inputToken: 'InputToken',
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
static types() {
|
|
302
|
+
return {
|
|
303
|
+
inputToken: 'string',
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
exports.ChatappEmbedSignUpRequest = ChatappEmbedSignUpRequest;
|
|
308
|
+
class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
309
|
+
constructor(map) {
|
|
310
|
+
super(map);
|
|
311
|
+
}
|
|
312
|
+
static names() {
|
|
313
|
+
return {
|
|
314
|
+
code: 'Code',
|
|
315
|
+
message: 'Message',
|
|
316
|
+
requestId: 'RequestId',
|
|
317
|
+
wabas: 'Wabas',
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
static types() {
|
|
321
|
+
return {
|
|
322
|
+
code: 'string',
|
|
323
|
+
message: 'string',
|
|
324
|
+
requestId: 'string',
|
|
325
|
+
wabas: { 'type': 'array', 'itemType': ChatappEmbedSignUpResponseBodyWabas },
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
exports.ChatappEmbedSignUpResponseBody = ChatappEmbedSignUpResponseBody;
|
|
330
|
+
class ChatappEmbedSignUpResponse extends $tea.Model {
|
|
331
|
+
constructor(map) {
|
|
332
|
+
super(map);
|
|
333
|
+
}
|
|
334
|
+
static names() {
|
|
335
|
+
return {
|
|
336
|
+
headers: 'headers',
|
|
337
|
+
statusCode: 'statusCode',
|
|
338
|
+
body: 'body',
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
static types() {
|
|
342
|
+
return {
|
|
343
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
344
|
+
statusCode: 'number',
|
|
345
|
+
body: ChatappEmbedSignUpResponseBody,
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
exports.ChatappEmbedSignUpResponse = ChatappEmbedSignUpResponse;
|
|
350
|
+
class ChatappMigrationRegisterRequest extends $tea.Model {
|
|
351
|
+
constructor(map) {
|
|
352
|
+
super(map);
|
|
353
|
+
}
|
|
354
|
+
static names() {
|
|
355
|
+
return {
|
|
356
|
+
custSpaceId: 'CustSpaceId',
|
|
357
|
+
phoneNumber: 'PhoneNumber',
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
static types() {
|
|
361
|
+
return {
|
|
362
|
+
custSpaceId: 'string',
|
|
363
|
+
phoneNumber: 'string',
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.ChatappMigrationRegisterRequest = ChatappMigrationRegisterRequest;
|
|
368
|
+
class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
369
|
+
constructor(map) {
|
|
370
|
+
super(map);
|
|
371
|
+
}
|
|
372
|
+
static names() {
|
|
373
|
+
return {
|
|
374
|
+
code: 'Code',
|
|
375
|
+
message: 'Message',
|
|
376
|
+
requestId: 'RequestId',
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
static types() {
|
|
380
|
+
return {
|
|
381
|
+
code: 'string',
|
|
382
|
+
message: 'string',
|
|
383
|
+
requestId: 'string',
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
exports.ChatappMigrationRegisterResponseBody = ChatappMigrationRegisterResponseBody;
|
|
388
|
+
class ChatappMigrationRegisterResponse extends $tea.Model {
|
|
389
|
+
constructor(map) {
|
|
390
|
+
super(map);
|
|
391
|
+
}
|
|
392
|
+
static names() {
|
|
393
|
+
return {
|
|
394
|
+
headers: 'headers',
|
|
395
|
+
statusCode: 'statusCode',
|
|
396
|
+
body: 'body',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
static types() {
|
|
400
|
+
return {
|
|
401
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
402
|
+
statusCode: 'number',
|
|
403
|
+
body: ChatappMigrationRegisterResponseBody,
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
exports.ChatappMigrationRegisterResponse = ChatappMigrationRegisterResponse;
|
|
408
|
+
class ChatappMigrationVerifiedRequest extends $tea.Model {
|
|
409
|
+
constructor(map) {
|
|
410
|
+
super(map);
|
|
411
|
+
}
|
|
412
|
+
static names() {
|
|
413
|
+
return {
|
|
414
|
+
custSpaceId: 'CustSpaceId',
|
|
415
|
+
phoneNumber: 'PhoneNumber',
|
|
416
|
+
verifyCode: 'VerifyCode',
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
static types() {
|
|
420
|
+
return {
|
|
421
|
+
custSpaceId: 'string',
|
|
422
|
+
phoneNumber: 'string',
|
|
423
|
+
verifyCode: 'string',
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
exports.ChatappMigrationVerifiedRequest = ChatappMigrationVerifiedRequest;
|
|
428
|
+
class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
429
|
+
constructor(map) {
|
|
430
|
+
super(map);
|
|
431
|
+
}
|
|
432
|
+
static names() {
|
|
433
|
+
return {
|
|
434
|
+
code: 'Code',
|
|
435
|
+
data: 'Data',
|
|
436
|
+
message: 'Message',
|
|
437
|
+
requestId: 'RequestId',
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
static types() {
|
|
441
|
+
return {
|
|
442
|
+
code: 'string',
|
|
443
|
+
data: ChatappMigrationVerifiedResponseBodyData,
|
|
444
|
+
message: 'string',
|
|
445
|
+
requestId: 'string',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
exports.ChatappMigrationVerifiedResponseBody = ChatappMigrationVerifiedResponseBody;
|
|
450
|
+
class ChatappMigrationVerifiedResponse extends $tea.Model {
|
|
451
|
+
constructor(map) {
|
|
452
|
+
super(map);
|
|
453
|
+
}
|
|
454
|
+
static names() {
|
|
455
|
+
return {
|
|
456
|
+
headers: 'headers',
|
|
457
|
+
statusCode: 'statusCode',
|
|
458
|
+
body: 'body',
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
static types() {
|
|
462
|
+
return {
|
|
463
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
464
|
+
statusCode: 'number',
|
|
465
|
+
body: ChatappMigrationVerifiedResponseBody,
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
exports.ChatappMigrationVerifiedResponse = ChatappMigrationVerifiedResponse;
|
|
470
|
+
class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
471
|
+
constructor(map) {
|
|
472
|
+
super(map);
|
|
473
|
+
}
|
|
474
|
+
static names() {
|
|
475
|
+
return {
|
|
476
|
+
custSpaceId: 'CustSpaceId',
|
|
477
|
+
phoneNumber: 'PhoneNumber',
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
static types() {
|
|
481
|
+
return {
|
|
482
|
+
custSpaceId: 'string',
|
|
483
|
+
phoneNumber: 'string',
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
exports.ChatappPhoneNumberRegisterRequest = ChatappPhoneNumberRegisterRequest;
|
|
488
|
+
class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
489
|
+
constructor(map) {
|
|
490
|
+
super(map);
|
|
491
|
+
}
|
|
492
|
+
static names() {
|
|
493
|
+
return {
|
|
494
|
+
code: 'Code',
|
|
495
|
+
message: 'Message',
|
|
496
|
+
requestId: 'RequestId',
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
static types() {
|
|
500
|
+
return {
|
|
501
|
+
code: 'string',
|
|
502
|
+
message: 'string',
|
|
503
|
+
requestId: 'string',
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
exports.ChatappPhoneNumberRegisterResponseBody = ChatappPhoneNumberRegisterResponseBody;
|
|
508
|
+
class ChatappPhoneNumberRegisterResponse extends $tea.Model {
|
|
509
|
+
constructor(map) {
|
|
510
|
+
super(map);
|
|
511
|
+
}
|
|
512
|
+
static names() {
|
|
513
|
+
return {
|
|
514
|
+
headers: 'headers',
|
|
515
|
+
statusCode: 'statusCode',
|
|
516
|
+
body: 'body',
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
static types() {
|
|
520
|
+
return {
|
|
521
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
522
|
+
statusCode: 'number',
|
|
523
|
+
body: ChatappPhoneNumberRegisterResponseBody,
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
exports.ChatappPhoneNumberRegisterResponse = ChatappPhoneNumberRegisterResponse;
|
|
528
|
+
class ChatappSyncPhoneNumberRequest extends $tea.Model {
|
|
529
|
+
constructor(map) {
|
|
530
|
+
super(map);
|
|
531
|
+
}
|
|
532
|
+
static names() {
|
|
533
|
+
return {
|
|
534
|
+
custSpaceId: 'CustSpaceId',
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
static types() {
|
|
538
|
+
return {
|
|
539
|
+
custSpaceId: 'string',
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
exports.ChatappSyncPhoneNumberRequest = ChatappSyncPhoneNumberRequest;
|
|
544
|
+
class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
545
|
+
constructor(map) {
|
|
546
|
+
super(map);
|
|
547
|
+
}
|
|
548
|
+
static names() {
|
|
549
|
+
return {
|
|
550
|
+
code: 'Code',
|
|
551
|
+
message: 'Message',
|
|
552
|
+
phoneNumbers: 'PhoneNumbers',
|
|
553
|
+
requestId: 'RequestId',
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
static types() {
|
|
557
|
+
return {
|
|
558
|
+
code: 'string',
|
|
559
|
+
message: 'string',
|
|
560
|
+
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
561
|
+
requestId: 'string',
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.ChatappSyncPhoneNumberResponseBody = ChatappSyncPhoneNumberResponseBody;
|
|
566
|
+
class ChatappSyncPhoneNumberResponse extends $tea.Model {
|
|
567
|
+
constructor(map) {
|
|
568
|
+
super(map);
|
|
569
|
+
}
|
|
570
|
+
static names() {
|
|
571
|
+
return {
|
|
572
|
+
headers: 'headers',
|
|
573
|
+
statusCode: 'statusCode',
|
|
574
|
+
body: 'body',
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
static types() {
|
|
578
|
+
return {
|
|
579
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
580
|
+
statusCode: 'number',
|
|
581
|
+
body: ChatappSyncPhoneNumberResponseBody,
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
exports.ChatappSyncPhoneNumberResponse = ChatappSyncPhoneNumberResponse;
|
|
586
|
+
class ChatappVerifyAndRegisterRequest extends $tea.Model {
|
|
587
|
+
constructor(map) {
|
|
588
|
+
super(map);
|
|
589
|
+
}
|
|
590
|
+
static names() {
|
|
591
|
+
return {
|
|
592
|
+
custSpaceId: 'CustSpaceId',
|
|
593
|
+
phoneNumber: 'PhoneNumber',
|
|
594
|
+
verifyCode: 'VerifyCode',
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
static types() {
|
|
598
|
+
return {
|
|
599
|
+
custSpaceId: 'string',
|
|
600
|
+
phoneNumber: 'string',
|
|
601
|
+
verifyCode: 'string',
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
exports.ChatappVerifyAndRegisterRequest = ChatappVerifyAndRegisterRequest;
|
|
606
|
+
class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
607
|
+
constructor(map) {
|
|
608
|
+
super(map);
|
|
609
|
+
}
|
|
610
|
+
static names() {
|
|
611
|
+
return {
|
|
612
|
+
code: 'Code',
|
|
613
|
+
message: 'Message',
|
|
614
|
+
requestId: 'RequestId',
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
static types() {
|
|
618
|
+
return {
|
|
619
|
+
code: 'string',
|
|
620
|
+
message: 'string',
|
|
621
|
+
requestId: 'string',
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
exports.ChatappVerifyAndRegisterResponseBody = ChatappVerifyAndRegisterResponseBody;
|
|
626
|
+
class ChatappVerifyAndRegisterResponse extends $tea.Model {
|
|
627
|
+
constructor(map) {
|
|
628
|
+
super(map);
|
|
629
|
+
}
|
|
630
|
+
static names() {
|
|
631
|
+
return {
|
|
632
|
+
headers: 'headers',
|
|
633
|
+
statusCode: 'statusCode',
|
|
634
|
+
body: 'body',
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
static types() {
|
|
638
|
+
return {
|
|
639
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
640
|
+
statusCode: 'number',
|
|
641
|
+
body: ChatappVerifyAndRegisterResponseBody,
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
exports.ChatappVerifyAndRegisterResponse = ChatappVerifyAndRegisterResponse;
|
|
646
|
+
class CreateChatappMigrationInitiateRequest extends $tea.Model {
|
|
647
|
+
constructor(map) {
|
|
648
|
+
super(map);
|
|
649
|
+
}
|
|
650
|
+
static names() {
|
|
651
|
+
return {
|
|
652
|
+
countryCode: 'CountryCode',
|
|
653
|
+
custSpaceId: 'CustSpaceId',
|
|
654
|
+
mobileNumber: 'MobileNumber',
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
static types() {
|
|
658
|
+
return {
|
|
659
|
+
countryCode: 'string',
|
|
660
|
+
custSpaceId: 'string',
|
|
661
|
+
mobileNumber: 'string',
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
exports.CreateChatappMigrationInitiateRequest = CreateChatappMigrationInitiateRequest;
|
|
666
|
+
class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
667
|
+
constructor(map) {
|
|
668
|
+
super(map);
|
|
669
|
+
}
|
|
670
|
+
static names() {
|
|
671
|
+
return {
|
|
672
|
+
code: 'Code',
|
|
673
|
+
data: 'Data',
|
|
674
|
+
message: 'Message',
|
|
675
|
+
requestId: 'RequestId',
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
static types() {
|
|
679
|
+
return {
|
|
680
|
+
code: 'string',
|
|
681
|
+
data: CreateChatappMigrationInitiateResponseBodyData,
|
|
682
|
+
message: 'string',
|
|
683
|
+
requestId: 'string',
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
exports.CreateChatappMigrationInitiateResponseBody = CreateChatappMigrationInitiateResponseBody;
|
|
688
|
+
class CreateChatappMigrationInitiateResponse extends $tea.Model {
|
|
689
|
+
constructor(map) {
|
|
690
|
+
super(map);
|
|
691
|
+
}
|
|
692
|
+
static names() {
|
|
693
|
+
return {
|
|
694
|
+
headers: 'headers',
|
|
695
|
+
statusCode: 'statusCode',
|
|
696
|
+
body: 'body',
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
static types() {
|
|
700
|
+
return {
|
|
701
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
702
|
+
statusCode: 'number',
|
|
703
|
+
body: CreateChatappMigrationInitiateResponseBody,
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
exports.CreateChatappMigrationInitiateResponse = CreateChatappMigrationInitiateResponse;
|
|
234
708
|
class CreateChatappTemplateRequest extends $tea.Model {
|
|
235
709
|
constructor(map) {
|
|
236
710
|
super(map);
|
|
@@ -262,40 +736,294 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
262
736
|
};
|
|
263
737
|
}
|
|
264
738
|
}
|
|
265
|
-
exports.CreateChatappTemplateRequest = CreateChatappTemplateRequest;
|
|
266
|
-
class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
739
|
+
exports.CreateChatappTemplateRequest = CreateChatappTemplateRequest;
|
|
740
|
+
class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
741
|
+
constructor(map) {
|
|
742
|
+
super(map);
|
|
743
|
+
}
|
|
744
|
+
static names() {
|
|
745
|
+
return {
|
|
746
|
+
category: 'Category',
|
|
747
|
+
componentsShrink: 'Components',
|
|
748
|
+
custSpaceId: 'CustSpaceId',
|
|
749
|
+
custWabaId: 'CustWabaId',
|
|
750
|
+
exampleShrink: 'Example',
|
|
751
|
+
isvCode: 'IsvCode',
|
|
752
|
+
language: 'Language',
|
|
753
|
+
name: 'Name',
|
|
754
|
+
templateType: 'TemplateType',
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
static types() {
|
|
758
|
+
return {
|
|
759
|
+
category: 'string',
|
|
760
|
+
componentsShrink: 'string',
|
|
761
|
+
custSpaceId: 'string',
|
|
762
|
+
custWabaId: 'string',
|
|
763
|
+
exampleShrink: 'string',
|
|
764
|
+
isvCode: 'string',
|
|
765
|
+
language: 'string',
|
|
766
|
+
name: 'string',
|
|
767
|
+
templateType: 'string',
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
exports.CreateChatappTemplateShrinkRequest = CreateChatappTemplateShrinkRequest;
|
|
772
|
+
class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
773
|
+
constructor(map) {
|
|
774
|
+
super(map);
|
|
775
|
+
}
|
|
776
|
+
static names() {
|
|
777
|
+
return {
|
|
778
|
+
code: 'Code',
|
|
779
|
+
data: 'Data',
|
|
780
|
+
message: 'Message',
|
|
781
|
+
requestId: 'RequestId',
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
static types() {
|
|
785
|
+
return {
|
|
786
|
+
code: 'string',
|
|
787
|
+
data: CreateChatappTemplateResponseBodyData,
|
|
788
|
+
message: 'string',
|
|
789
|
+
requestId: 'string',
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
exports.CreateChatappTemplateResponseBody = CreateChatappTemplateResponseBody;
|
|
794
|
+
class CreateChatappTemplateResponse extends $tea.Model {
|
|
795
|
+
constructor(map) {
|
|
796
|
+
super(map);
|
|
797
|
+
}
|
|
798
|
+
static names() {
|
|
799
|
+
return {
|
|
800
|
+
headers: 'headers',
|
|
801
|
+
statusCode: 'statusCode',
|
|
802
|
+
body: 'body',
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
static types() {
|
|
806
|
+
return {
|
|
807
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
808
|
+
statusCode: 'number',
|
|
809
|
+
body: CreateChatappTemplateResponseBody,
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
exports.CreateChatappTemplateResponse = CreateChatappTemplateResponse;
|
|
814
|
+
class DeleteChatappTemplateRequest extends $tea.Model {
|
|
815
|
+
constructor(map) {
|
|
816
|
+
super(map);
|
|
817
|
+
}
|
|
818
|
+
static names() {
|
|
819
|
+
return {
|
|
820
|
+
custSpaceId: 'CustSpaceId',
|
|
821
|
+
custWabaId: 'CustWabaId',
|
|
822
|
+
isvCode: 'IsvCode',
|
|
823
|
+
templateCode: 'TemplateCode',
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
static types() {
|
|
827
|
+
return {
|
|
828
|
+
custSpaceId: 'string',
|
|
829
|
+
custWabaId: 'string',
|
|
830
|
+
isvCode: 'string',
|
|
831
|
+
templateCode: 'string',
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
exports.DeleteChatappTemplateRequest = DeleteChatappTemplateRequest;
|
|
836
|
+
class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
837
|
+
constructor(map) {
|
|
838
|
+
super(map);
|
|
839
|
+
}
|
|
840
|
+
static names() {
|
|
841
|
+
return {
|
|
842
|
+
code: 'Code',
|
|
843
|
+
message: 'Message',
|
|
844
|
+
requestId: 'RequestId',
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
static types() {
|
|
848
|
+
return {
|
|
849
|
+
code: 'string',
|
|
850
|
+
message: 'string',
|
|
851
|
+
requestId: 'string',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
exports.DeleteChatappTemplateResponseBody = DeleteChatappTemplateResponseBody;
|
|
856
|
+
class DeleteChatappTemplateResponse extends $tea.Model {
|
|
857
|
+
constructor(map) {
|
|
858
|
+
super(map);
|
|
859
|
+
}
|
|
860
|
+
static names() {
|
|
861
|
+
return {
|
|
862
|
+
headers: 'headers',
|
|
863
|
+
statusCode: 'statusCode',
|
|
864
|
+
body: 'body',
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
static types() {
|
|
868
|
+
return {
|
|
869
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
870
|
+
statusCode: 'number',
|
|
871
|
+
body: DeleteChatappTemplateResponseBody,
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
876
|
+
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
877
|
+
constructor(map) {
|
|
878
|
+
super(map);
|
|
879
|
+
}
|
|
880
|
+
static names() {
|
|
881
|
+
return {
|
|
882
|
+
custSpaceId: 'CustSpaceId',
|
|
883
|
+
custWabaId: 'CustWabaId',
|
|
884
|
+
isvCode: 'IsvCode',
|
|
885
|
+
language: 'Language',
|
|
886
|
+
templateCode: 'TemplateCode',
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
static types() {
|
|
890
|
+
return {
|
|
891
|
+
custSpaceId: 'string',
|
|
892
|
+
custWabaId: 'string',
|
|
893
|
+
isvCode: 'string',
|
|
894
|
+
language: 'string',
|
|
895
|
+
templateCode: 'string',
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
exports.GetChatappTemplateDetailRequest = GetChatappTemplateDetailRequest;
|
|
900
|
+
class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
901
|
+
constructor(map) {
|
|
902
|
+
super(map);
|
|
903
|
+
}
|
|
904
|
+
static names() {
|
|
905
|
+
return {
|
|
906
|
+
code: 'Code',
|
|
907
|
+
data: 'Data',
|
|
908
|
+
message: 'Message',
|
|
909
|
+
requestId: 'RequestId',
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
static types() {
|
|
913
|
+
return {
|
|
914
|
+
code: 'string',
|
|
915
|
+
data: GetChatappTemplateDetailResponseBodyData,
|
|
916
|
+
message: 'string',
|
|
917
|
+
requestId: 'string',
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
exports.GetChatappTemplateDetailResponseBody = GetChatappTemplateDetailResponseBody;
|
|
922
|
+
class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
923
|
+
constructor(map) {
|
|
924
|
+
super(map);
|
|
925
|
+
}
|
|
926
|
+
static names() {
|
|
927
|
+
return {
|
|
928
|
+
headers: 'headers',
|
|
929
|
+
statusCode: 'statusCode',
|
|
930
|
+
body: 'body',
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
static types() {
|
|
934
|
+
return {
|
|
935
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
936
|
+
statusCode: 'number',
|
|
937
|
+
body: GetChatappTemplateDetailResponseBody,
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
942
|
+
class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
943
|
+
constructor(map) {
|
|
944
|
+
super(map);
|
|
945
|
+
}
|
|
946
|
+
static names() {
|
|
947
|
+
return {
|
|
948
|
+
custSpaceId: 'CustSpaceId',
|
|
949
|
+
locale: 'Locale',
|
|
950
|
+
method: 'Method',
|
|
951
|
+
phoneNumber: 'PhoneNumber',
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
static types() {
|
|
955
|
+
return {
|
|
956
|
+
custSpaceId: 'string',
|
|
957
|
+
locale: 'string',
|
|
958
|
+
method: 'string',
|
|
959
|
+
phoneNumber: 'string',
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
exports.GetChatappVerifyCodeRequest = GetChatappVerifyCodeRequest;
|
|
964
|
+
class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
965
|
+
constructor(map) {
|
|
966
|
+
super(map);
|
|
967
|
+
}
|
|
968
|
+
static names() {
|
|
969
|
+
return {
|
|
970
|
+
code: 'Code',
|
|
971
|
+
message: 'Message',
|
|
972
|
+
requestId: 'RequestId',
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
static types() {
|
|
976
|
+
return {
|
|
977
|
+
code: 'string',
|
|
978
|
+
message: 'string',
|
|
979
|
+
requestId: 'string',
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
exports.GetChatappVerifyCodeResponseBody = GetChatappVerifyCodeResponseBody;
|
|
984
|
+
class GetChatappVerifyCodeResponse extends $tea.Model {
|
|
985
|
+
constructor(map) {
|
|
986
|
+
super(map);
|
|
987
|
+
}
|
|
988
|
+
static names() {
|
|
989
|
+
return {
|
|
990
|
+
headers: 'headers',
|
|
991
|
+
statusCode: 'statusCode',
|
|
992
|
+
body: 'body',
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
static types() {
|
|
996
|
+
return {
|
|
997
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
998
|
+
statusCode: 'number',
|
|
999
|
+
body: GetChatappVerifyCodeResponseBody,
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
exports.GetChatappVerifyCodeResponse = GetChatappVerifyCodeResponse;
|
|
1004
|
+
class GetMigrationVerifyCodeRequest extends $tea.Model {
|
|
267
1005
|
constructor(map) {
|
|
268
1006
|
super(map);
|
|
269
1007
|
}
|
|
270
1008
|
static names() {
|
|
271
1009
|
return {
|
|
272
|
-
category: 'Category',
|
|
273
|
-
componentsShrink: 'Components',
|
|
274
1010
|
custSpaceId: 'CustSpaceId',
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
language: 'Language',
|
|
279
|
-
name: 'Name',
|
|
280
|
-
templateType: 'TemplateType',
|
|
1011
|
+
locale: 'Locale',
|
|
1012
|
+
method: 'Method',
|
|
1013
|
+
phoneNumber: 'PhoneNumber',
|
|
281
1014
|
};
|
|
282
1015
|
}
|
|
283
1016
|
static types() {
|
|
284
1017
|
return {
|
|
285
|
-
category: 'string',
|
|
286
|
-
componentsShrink: 'string',
|
|
287
1018
|
custSpaceId: 'string',
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
language: 'string',
|
|
292
|
-
name: 'string',
|
|
293
|
-
templateType: 'string',
|
|
1019
|
+
locale: 'string',
|
|
1020
|
+
method: 'string',
|
|
1021
|
+
phoneNumber: 'string',
|
|
294
1022
|
};
|
|
295
1023
|
}
|
|
296
1024
|
}
|
|
297
|
-
exports.
|
|
298
|
-
class
|
|
1025
|
+
exports.GetMigrationVerifyCodeRequest = GetMigrationVerifyCodeRequest;
|
|
1026
|
+
class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
299
1027
|
constructor(map) {
|
|
300
1028
|
super(map);
|
|
301
1029
|
}
|
|
@@ -310,14 +1038,14 @@ class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
310
1038
|
static types() {
|
|
311
1039
|
return {
|
|
312
1040
|
code: 'string',
|
|
313
|
-
data:
|
|
1041
|
+
data: GetMigrationVerifyCodeResponseBodyData,
|
|
314
1042
|
message: 'string',
|
|
315
1043
|
requestId: 'string',
|
|
316
1044
|
};
|
|
317
1045
|
}
|
|
318
1046
|
}
|
|
319
|
-
exports.
|
|
320
|
-
class
|
|
1047
|
+
exports.GetMigrationVerifyCodeResponseBody = GetMigrationVerifyCodeResponseBody;
|
|
1048
|
+
class GetMigrationVerifyCodeResponse extends $tea.Model {
|
|
321
1049
|
constructor(map) {
|
|
322
1050
|
super(map);
|
|
323
1051
|
}
|
|
@@ -332,40 +1060,37 @@ class CreateChatappTemplateResponse extends $tea.Model {
|
|
|
332
1060
|
return {
|
|
333
1061
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
334
1062
|
statusCode: 'number',
|
|
335
|
-
body:
|
|
1063
|
+
body: GetMigrationVerifyCodeResponseBody,
|
|
336
1064
|
};
|
|
337
1065
|
}
|
|
338
1066
|
}
|
|
339
|
-
exports.
|
|
340
|
-
class
|
|
1067
|
+
exports.GetMigrationVerifyCodeResponse = GetMigrationVerifyCodeResponse;
|
|
1068
|
+
class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
|
|
341
1069
|
constructor(map) {
|
|
342
1070
|
super(map);
|
|
343
1071
|
}
|
|
344
1072
|
static names() {
|
|
345
1073
|
return {
|
|
346
1074
|
custSpaceId: 'CustSpaceId',
|
|
347
|
-
|
|
348
|
-
isvCode: 'IsvCode',
|
|
349
|
-
templateCode: 'TemplateCode',
|
|
1075
|
+
phoneNumber: 'PhoneNumber',
|
|
350
1076
|
};
|
|
351
1077
|
}
|
|
352
1078
|
static types() {
|
|
353
1079
|
return {
|
|
354
1080
|
custSpaceId: 'string',
|
|
355
|
-
|
|
356
|
-
isvCode: 'string',
|
|
357
|
-
templateCode: 'string',
|
|
1081
|
+
phoneNumber: 'string',
|
|
358
1082
|
};
|
|
359
1083
|
}
|
|
360
1084
|
}
|
|
361
|
-
exports.
|
|
362
|
-
class
|
|
1085
|
+
exports.GetPhoneNumberVerificationStatusRequest = GetPhoneNumberVerificationStatusRequest;
|
|
1086
|
+
class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
|
|
363
1087
|
constructor(map) {
|
|
364
1088
|
super(map);
|
|
365
1089
|
}
|
|
366
1090
|
static names() {
|
|
367
1091
|
return {
|
|
368
1092
|
code: 'Code',
|
|
1093
|
+
data: 'Data',
|
|
369
1094
|
message: 'Message',
|
|
370
1095
|
requestId: 'RequestId',
|
|
371
1096
|
};
|
|
@@ -373,13 +1098,14 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
373
1098
|
static types() {
|
|
374
1099
|
return {
|
|
375
1100
|
code: 'string',
|
|
1101
|
+
data: GetPhoneNumberVerificationStatusResponseBodyData,
|
|
376
1102
|
message: 'string',
|
|
377
1103
|
requestId: 'string',
|
|
378
1104
|
};
|
|
379
1105
|
}
|
|
380
1106
|
}
|
|
381
|
-
exports.
|
|
382
|
-
class
|
|
1107
|
+
exports.GetPhoneNumberVerificationStatusResponseBody = GetPhoneNumberVerificationStatusResponseBody;
|
|
1108
|
+
class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
383
1109
|
constructor(map) {
|
|
384
1110
|
super(map);
|
|
385
1111
|
}
|
|
@@ -394,58 +1120,50 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
394
1120
|
return {
|
|
395
1121
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
396
1122
|
statusCode: 'number',
|
|
397
|
-
body:
|
|
1123
|
+
body: GetPhoneNumberVerificationStatusResponseBody,
|
|
398
1124
|
};
|
|
399
1125
|
}
|
|
400
1126
|
}
|
|
401
|
-
exports.
|
|
402
|
-
class
|
|
1127
|
+
exports.GetPhoneNumberVerificationStatusResponse = GetPhoneNumberVerificationStatusResponse;
|
|
1128
|
+
class IsvGetAppIdRequest extends $tea.Model {
|
|
403
1129
|
constructor(map) {
|
|
404
1130
|
super(map);
|
|
405
1131
|
}
|
|
406
1132
|
static names() {
|
|
407
1133
|
return {
|
|
408
|
-
|
|
409
|
-
custWabaId: 'CustWabaId',
|
|
410
|
-
isvCode: 'IsvCode',
|
|
411
|
-
language: 'Language',
|
|
412
|
-
templateCode: 'TemplateCode',
|
|
1134
|
+
type: 'Type',
|
|
413
1135
|
};
|
|
414
1136
|
}
|
|
415
1137
|
static types() {
|
|
416
1138
|
return {
|
|
417
|
-
|
|
418
|
-
custWabaId: 'string',
|
|
419
|
-
isvCode: 'string',
|
|
420
|
-
language: 'string',
|
|
421
|
-
templateCode: 'string',
|
|
1139
|
+
type: 'string',
|
|
422
1140
|
};
|
|
423
1141
|
}
|
|
424
1142
|
}
|
|
425
|
-
exports.
|
|
426
|
-
class
|
|
1143
|
+
exports.IsvGetAppIdRequest = IsvGetAppIdRequest;
|
|
1144
|
+
class IsvGetAppIdResponseBody extends $tea.Model {
|
|
427
1145
|
constructor(map) {
|
|
428
1146
|
super(map);
|
|
429
1147
|
}
|
|
430
1148
|
static names() {
|
|
431
1149
|
return {
|
|
1150
|
+
appId: 'AppId',
|
|
432
1151
|
code: 'Code',
|
|
433
|
-
data: 'Data',
|
|
434
1152
|
message: 'Message',
|
|
435
1153
|
requestId: 'RequestId',
|
|
436
1154
|
};
|
|
437
1155
|
}
|
|
438
1156
|
static types() {
|
|
439
1157
|
return {
|
|
1158
|
+
appId: 'string',
|
|
440
1159
|
code: 'string',
|
|
441
|
-
data: GetChatappTemplateDetailResponseBodyData,
|
|
442
1160
|
message: 'string',
|
|
443
1161
|
requestId: 'string',
|
|
444
1162
|
};
|
|
445
1163
|
}
|
|
446
1164
|
}
|
|
447
|
-
exports.
|
|
448
|
-
class
|
|
1165
|
+
exports.IsvGetAppIdResponseBody = IsvGetAppIdResponseBody;
|
|
1166
|
+
class IsvGetAppIdResponse extends $tea.Model {
|
|
449
1167
|
constructor(map) {
|
|
450
1168
|
super(map);
|
|
451
1169
|
}
|
|
@@ -460,11 +1178,11 @@ class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
|
460
1178
|
return {
|
|
461
1179
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
462
1180
|
statusCode: 'number',
|
|
463
|
-
body:
|
|
1181
|
+
body: IsvGetAppIdResponseBody,
|
|
464
1182
|
};
|
|
465
1183
|
}
|
|
466
1184
|
}
|
|
467
|
-
exports.
|
|
1185
|
+
exports.IsvGetAppIdResponse = IsvGetAppIdResponse;
|
|
468
1186
|
class ListChatappTemplateRequest extends $tea.Model {
|
|
469
1187
|
constructor(map) {
|
|
470
1188
|
super(map);
|
|
@@ -590,58 +1308,278 @@ class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
590
1308
|
};
|
|
591
1309
|
}
|
|
592
1310
|
}
|
|
593
|
-
exports.ModifyChatappTemplateRequest = ModifyChatappTemplateRequest;
|
|
594
|
-
class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
1311
|
+
exports.ModifyChatappTemplateRequest = ModifyChatappTemplateRequest;
|
|
1312
|
+
class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
1313
|
+
constructor(map) {
|
|
1314
|
+
super(map);
|
|
1315
|
+
}
|
|
1316
|
+
static names() {
|
|
1317
|
+
return {
|
|
1318
|
+
componentsShrink: 'Components',
|
|
1319
|
+
custSpaceId: 'CustSpaceId',
|
|
1320
|
+
custWabaId: 'CustWabaId',
|
|
1321
|
+
exampleShrink: 'Example',
|
|
1322
|
+
isvCode: 'IsvCode',
|
|
1323
|
+
language: 'Language',
|
|
1324
|
+
templateCode: 'TemplateCode',
|
|
1325
|
+
};
|
|
1326
|
+
}
|
|
1327
|
+
static types() {
|
|
1328
|
+
return {
|
|
1329
|
+
componentsShrink: 'string',
|
|
1330
|
+
custSpaceId: 'string',
|
|
1331
|
+
custWabaId: 'string',
|
|
1332
|
+
exampleShrink: 'string',
|
|
1333
|
+
isvCode: 'string',
|
|
1334
|
+
language: 'string',
|
|
1335
|
+
templateCode: 'string',
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
exports.ModifyChatappTemplateShrinkRequest = ModifyChatappTemplateShrinkRequest;
|
|
1340
|
+
class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
1341
|
+
constructor(map) {
|
|
1342
|
+
super(map);
|
|
1343
|
+
}
|
|
1344
|
+
static names() {
|
|
1345
|
+
return {
|
|
1346
|
+
code: 'Code',
|
|
1347
|
+
data: 'Data',
|
|
1348
|
+
message: 'Message',
|
|
1349
|
+
requestId: 'RequestId',
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1352
|
+
static types() {
|
|
1353
|
+
return {
|
|
1354
|
+
code: 'string',
|
|
1355
|
+
data: ModifyChatappTemplateResponseBodyData,
|
|
1356
|
+
message: 'string',
|
|
1357
|
+
requestId: 'string',
|
|
1358
|
+
};
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
exports.ModifyChatappTemplateResponseBody = ModifyChatappTemplateResponseBody;
|
|
1362
|
+
class ModifyChatappTemplateResponse extends $tea.Model {
|
|
1363
|
+
constructor(map) {
|
|
1364
|
+
super(map);
|
|
1365
|
+
}
|
|
1366
|
+
static names() {
|
|
1367
|
+
return {
|
|
1368
|
+
headers: 'headers',
|
|
1369
|
+
statusCode: 'statusCode',
|
|
1370
|
+
body: 'body',
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
static types() {
|
|
1374
|
+
return {
|
|
1375
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1376
|
+
statusCode: 'number',
|
|
1377
|
+
body: ModifyChatappTemplateResponseBody,
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
exports.ModifyChatappTemplateResponse = ModifyChatappTemplateResponse;
|
|
1382
|
+
class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
1383
|
+
constructor(map) {
|
|
1384
|
+
super(map);
|
|
1385
|
+
}
|
|
1386
|
+
static names() {
|
|
1387
|
+
return {
|
|
1388
|
+
address: 'Address',
|
|
1389
|
+
custSpaceId: 'CustSpaceId',
|
|
1390
|
+
description: 'Description',
|
|
1391
|
+
email: 'Email',
|
|
1392
|
+
phoneNumber: 'PhoneNumber',
|
|
1393
|
+
profilePictureUrl: 'ProfilePictureUrl',
|
|
1394
|
+
vertical: 'Vertical',
|
|
1395
|
+
websites: 'Websites',
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
static types() {
|
|
1399
|
+
return {
|
|
1400
|
+
address: 'string',
|
|
1401
|
+
custSpaceId: 'string',
|
|
1402
|
+
description: 'string',
|
|
1403
|
+
email: 'string',
|
|
1404
|
+
phoneNumber: 'string',
|
|
1405
|
+
profilePictureUrl: 'string',
|
|
1406
|
+
vertical: 'string',
|
|
1407
|
+
websites: { 'type': 'array', 'itemType': 'string' },
|
|
1408
|
+
};
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
exports.ModifyPhoneBusinessProfileRequest = ModifyPhoneBusinessProfileRequest;
|
|
1412
|
+
class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
1413
|
+
constructor(map) {
|
|
1414
|
+
super(map);
|
|
1415
|
+
}
|
|
1416
|
+
static names() {
|
|
1417
|
+
return {
|
|
1418
|
+
address: 'Address',
|
|
1419
|
+
custSpaceId: 'CustSpaceId',
|
|
1420
|
+
description: 'Description',
|
|
1421
|
+
email: 'Email',
|
|
1422
|
+
phoneNumber: 'PhoneNumber',
|
|
1423
|
+
profilePictureUrl: 'ProfilePictureUrl',
|
|
1424
|
+
vertical: 'Vertical',
|
|
1425
|
+
websitesShrink: 'Websites',
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
static types() {
|
|
1429
|
+
return {
|
|
1430
|
+
address: 'string',
|
|
1431
|
+
custSpaceId: 'string',
|
|
1432
|
+
description: 'string',
|
|
1433
|
+
email: 'string',
|
|
1434
|
+
phoneNumber: 'string',
|
|
1435
|
+
profilePictureUrl: 'string',
|
|
1436
|
+
vertical: 'string',
|
|
1437
|
+
websitesShrink: 'string',
|
|
1438
|
+
};
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
exports.ModifyPhoneBusinessProfileShrinkRequest = ModifyPhoneBusinessProfileShrinkRequest;
|
|
1442
|
+
class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
1443
|
+
constructor(map) {
|
|
1444
|
+
super(map);
|
|
1445
|
+
}
|
|
1446
|
+
static names() {
|
|
1447
|
+
return {
|
|
1448
|
+
code: 'Code',
|
|
1449
|
+
message: 'Message',
|
|
1450
|
+
requestId: 'RequestId',
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
static types() {
|
|
1454
|
+
return {
|
|
1455
|
+
code: 'string',
|
|
1456
|
+
message: 'string',
|
|
1457
|
+
requestId: 'string',
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
exports.ModifyPhoneBusinessProfileResponseBody = ModifyPhoneBusinessProfileResponseBody;
|
|
1462
|
+
class ModifyPhoneBusinessProfileResponse extends $tea.Model {
|
|
1463
|
+
constructor(map) {
|
|
1464
|
+
super(map);
|
|
1465
|
+
}
|
|
1466
|
+
static names() {
|
|
1467
|
+
return {
|
|
1468
|
+
headers: 'headers',
|
|
1469
|
+
statusCode: 'statusCode',
|
|
1470
|
+
body: 'body',
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
static types() {
|
|
1474
|
+
return {
|
|
1475
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1476
|
+
statusCode: 'number',
|
|
1477
|
+
body: ModifyPhoneBusinessProfileResponseBody,
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
exports.ModifyPhoneBusinessProfileResponse = ModifyPhoneBusinessProfileResponse;
|
|
1482
|
+
class QueryChatappBindWabaRequest extends $tea.Model {
|
|
1483
|
+
constructor(map) {
|
|
1484
|
+
super(map);
|
|
1485
|
+
}
|
|
1486
|
+
static names() {
|
|
1487
|
+
return {
|
|
1488
|
+
custSpaceId: 'CustSpaceId',
|
|
1489
|
+
isvCode: 'IsvCode',
|
|
1490
|
+
};
|
|
1491
|
+
}
|
|
1492
|
+
static types() {
|
|
1493
|
+
return {
|
|
1494
|
+
custSpaceId: 'string',
|
|
1495
|
+
isvCode: 'string',
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
exports.QueryChatappBindWabaRequest = QueryChatappBindWabaRequest;
|
|
1500
|
+
class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
1501
|
+
constructor(map) {
|
|
1502
|
+
super(map);
|
|
1503
|
+
}
|
|
1504
|
+
static names() {
|
|
1505
|
+
return {
|
|
1506
|
+
code: 'Code',
|
|
1507
|
+
data: 'Data',
|
|
1508
|
+
message: 'Message',
|
|
1509
|
+
requestId: 'RequestId',
|
|
1510
|
+
};
|
|
1511
|
+
}
|
|
1512
|
+
static types() {
|
|
1513
|
+
return {
|
|
1514
|
+
code: 'string',
|
|
1515
|
+
data: QueryChatappBindWabaResponseBodyData,
|
|
1516
|
+
message: 'string',
|
|
1517
|
+
requestId: 'string',
|
|
1518
|
+
};
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
exports.QueryChatappBindWabaResponseBody = QueryChatappBindWabaResponseBody;
|
|
1522
|
+
class QueryChatappBindWabaResponse extends $tea.Model {
|
|
1523
|
+
constructor(map) {
|
|
1524
|
+
super(map);
|
|
1525
|
+
}
|
|
1526
|
+
static names() {
|
|
1527
|
+
return {
|
|
1528
|
+
headers: 'headers',
|
|
1529
|
+
statusCode: 'statusCode',
|
|
1530
|
+
body: 'body',
|
|
1531
|
+
};
|
|
1532
|
+
}
|
|
1533
|
+
static types() {
|
|
1534
|
+
return {
|
|
1535
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1536
|
+
statusCode: 'number',
|
|
1537
|
+
body: QueryChatappBindWabaResponseBody,
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
exports.QueryChatappBindWabaResponse = QueryChatappBindWabaResponse;
|
|
1542
|
+
class QueryChatappPhoneNumbersRequest extends $tea.Model {
|
|
595
1543
|
constructor(map) {
|
|
596
1544
|
super(map);
|
|
597
1545
|
}
|
|
598
1546
|
static names() {
|
|
599
1547
|
return {
|
|
600
|
-
componentsShrink: 'Components',
|
|
601
1548
|
custSpaceId: 'CustSpaceId',
|
|
602
|
-
custWabaId: 'CustWabaId',
|
|
603
|
-
exampleShrink: 'Example',
|
|
604
1549
|
isvCode: 'IsvCode',
|
|
605
|
-
language: 'Language',
|
|
606
|
-
templateCode: 'TemplateCode',
|
|
607
1550
|
};
|
|
608
1551
|
}
|
|
609
1552
|
static types() {
|
|
610
1553
|
return {
|
|
611
|
-
componentsShrink: 'string',
|
|
612
1554
|
custSpaceId: 'string',
|
|
613
|
-
custWabaId: 'string',
|
|
614
|
-
exampleShrink: 'string',
|
|
615
1555
|
isvCode: 'string',
|
|
616
|
-
language: 'string',
|
|
617
|
-
templateCode: 'string',
|
|
618
1556
|
};
|
|
619
1557
|
}
|
|
620
1558
|
}
|
|
621
|
-
exports.
|
|
622
|
-
class
|
|
1559
|
+
exports.QueryChatappPhoneNumbersRequest = QueryChatappPhoneNumbersRequest;
|
|
1560
|
+
class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
623
1561
|
constructor(map) {
|
|
624
1562
|
super(map);
|
|
625
1563
|
}
|
|
626
1564
|
static names() {
|
|
627
1565
|
return {
|
|
628
1566
|
code: 'Code',
|
|
629
|
-
data: 'Data',
|
|
630
1567
|
message: 'Message',
|
|
1568
|
+
phoneNumbers: 'PhoneNumbers',
|
|
631
1569
|
requestId: 'RequestId',
|
|
632
1570
|
};
|
|
633
1571
|
}
|
|
634
1572
|
static types() {
|
|
635
1573
|
return {
|
|
636
1574
|
code: 'string',
|
|
637
|
-
data: ModifyChatappTemplateResponseBodyData,
|
|
638
1575
|
message: 'string',
|
|
1576
|
+
phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
|
|
639
1577
|
requestId: 'string',
|
|
640
1578
|
};
|
|
641
1579
|
}
|
|
642
1580
|
}
|
|
643
|
-
exports.
|
|
644
|
-
class
|
|
1581
|
+
exports.QueryChatappPhoneNumbersResponseBody = QueryChatappPhoneNumbersResponseBody;
|
|
1582
|
+
class QueryChatappPhoneNumbersResponse extends $tea.Model {
|
|
645
1583
|
constructor(map) {
|
|
646
1584
|
super(map);
|
|
647
1585
|
}
|
|
@@ -656,30 +1594,30 @@ class ModifyChatappTemplateResponse extends $tea.Model {
|
|
|
656
1594
|
return {
|
|
657
1595
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
658
1596
|
statusCode: 'number',
|
|
659
|
-
body:
|
|
1597
|
+
body: QueryChatappPhoneNumbersResponseBody,
|
|
660
1598
|
};
|
|
661
1599
|
}
|
|
662
1600
|
}
|
|
663
|
-
exports.
|
|
664
|
-
class
|
|
1601
|
+
exports.QueryChatappPhoneNumbersResponse = QueryChatappPhoneNumbersResponse;
|
|
1602
|
+
class QueryPhoneBusinessProfileRequest extends $tea.Model {
|
|
665
1603
|
constructor(map) {
|
|
666
1604
|
super(map);
|
|
667
1605
|
}
|
|
668
1606
|
static names() {
|
|
669
1607
|
return {
|
|
670
1608
|
custSpaceId: 'CustSpaceId',
|
|
671
|
-
|
|
1609
|
+
phoneNumber: 'PhoneNumber',
|
|
672
1610
|
};
|
|
673
1611
|
}
|
|
674
1612
|
static types() {
|
|
675
1613
|
return {
|
|
676
1614
|
custSpaceId: 'string',
|
|
677
|
-
|
|
1615
|
+
phoneNumber: 'string',
|
|
678
1616
|
};
|
|
679
1617
|
}
|
|
680
1618
|
}
|
|
681
|
-
exports.
|
|
682
|
-
class
|
|
1619
|
+
exports.QueryPhoneBusinessProfileRequest = QueryPhoneBusinessProfileRequest;
|
|
1620
|
+
class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
683
1621
|
constructor(map) {
|
|
684
1622
|
super(map);
|
|
685
1623
|
}
|
|
@@ -694,14 +1632,14 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
694
1632
|
static types() {
|
|
695
1633
|
return {
|
|
696
1634
|
code: 'string',
|
|
697
|
-
data:
|
|
1635
|
+
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
698
1636
|
message: 'string',
|
|
699
1637
|
requestId: 'string',
|
|
700
1638
|
};
|
|
701
1639
|
}
|
|
702
1640
|
}
|
|
703
|
-
exports.
|
|
704
|
-
class
|
|
1641
|
+
exports.QueryPhoneBusinessProfileResponseBody = QueryPhoneBusinessProfileResponseBody;
|
|
1642
|
+
class QueryPhoneBusinessProfileResponse extends $tea.Model {
|
|
705
1643
|
constructor(map) {
|
|
706
1644
|
super(map);
|
|
707
1645
|
}
|
|
@@ -716,52 +1654,52 @@ class QueryChatappBindWabaResponse extends $tea.Model {
|
|
|
716
1654
|
return {
|
|
717
1655
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
718
1656
|
statusCode: 'number',
|
|
719
|
-
body:
|
|
1657
|
+
body: QueryPhoneBusinessProfileResponseBody,
|
|
720
1658
|
};
|
|
721
1659
|
}
|
|
722
1660
|
}
|
|
723
|
-
exports.
|
|
724
|
-
class
|
|
1661
|
+
exports.QueryPhoneBusinessProfileResponse = QueryPhoneBusinessProfileResponse;
|
|
1662
|
+
class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
725
1663
|
constructor(map) {
|
|
726
1664
|
super(map);
|
|
727
1665
|
}
|
|
728
1666
|
static names() {
|
|
729
1667
|
return {
|
|
730
1668
|
custSpaceId: 'CustSpaceId',
|
|
731
|
-
|
|
1669
|
+
wabaId: 'WabaId',
|
|
732
1670
|
};
|
|
733
1671
|
}
|
|
734
1672
|
static types() {
|
|
735
1673
|
return {
|
|
736
1674
|
custSpaceId: 'string',
|
|
737
|
-
|
|
1675
|
+
wabaId: 'string',
|
|
738
1676
|
};
|
|
739
1677
|
}
|
|
740
1678
|
}
|
|
741
|
-
exports.
|
|
742
|
-
class
|
|
1679
|
+
exports.QueryWabaBusinessInfoRequest = QueryWabaBusinessInfoRequest;
|
|
1680
|
+
class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
743
1681
|
constructor(map) {
|
|
744
1682
|
super(map);
|
|
745
1683
|
}
|
|
746
1684
|
static names() {
|
|
747
1685
|
return {
|
|
748
1686
|
code: 'Code',
|
|
1687
|
+
data: 'Data',
|
|
749
1688
|
message: 'Message',
|
|
750
|
-
phoneNumbers: 'PhoneNumbers',
|
|
751
1689
|
requestId: 'RequestId',
|
|
752
1690
|
};
|
|
753
1691
|
}
|
|
754
1692
|
static types() {
|
|
755
1693
|
return {
|
|
756
1694
|
code: 'string',
|
|
1695
|
+
data: QueryWabaBusinessInfoResponseBodyData,
|
|
757
1696
|
message: 'string',
|
|
758
|
-
phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
|
|
759
1697
|
requestId: 'string',
|
|
760
1698
|
};
|
|
761
1699
|
}
|
|
762
1700
|
}
|
|
763
|
-
exports.
|
|
764
|
-
class
|
|
1701
|
+
exports.QueryWabaBusinessInfoResponseBody = QueryWabaBusinessInfoResponseBody;
|
|
1702
|
+
class QueryWabaBusinessInfoResponse extends $tea.Model {
|
|
765
1703
|
constructor(map) {
|
|
766
1704
|
super(map);
|
|
767
1705
|
}
|
|
@@ -776,11 +1714,11 @@ class QueryChatappPhoneNumbersResponse extends $tea.Model {
|
|
|
776
1714
|
return {
|
|
777
1715
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
778
1716
|
statusCode: 'number',
|
|
779
|
-
body:
|
|
1717
|
+
body: QueryWabaBusinessInfoResponseBody,
|
|
780
1718
|
};
|
|
781
1719
|
}
|
|
782
1720
|
}
|
|
783
|
-
exports.
|
|
1721
|
+
exports.QueryWabaBusinessInfoResponse = QueryWabaBusinessInfoResponse;
|
|
784
1722
|
class SendChatappMassMessageRequest extends $tea.Model {
|
|
785
1723
|
constructor(map) {
|
|
786
1724
|
super(map);
|
|
@@ -903,18 +1841,23 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
903
1841
|
return {
|
|
904
1842
|
channelType: 'ChannelType',
|
|
905
1843
|
content: 'Content',
|
|
1844
|
+
contextMessageId: 'ContextMessageId',
|
|
906
1845
|
custSpaceId: 'CustSpaceId',
|
|
907
1846
|
custWabaId: 'CustWabaId',
|
|
908
1847
|
fallBackContent: 'FallBackContent',
|
|
909
1848
|
fallBackId: 'FallBackId',
|
|
910
1849
|
from: 'From',
|
|
911
1850
|
isvCode: 'IsvCode',
|
|
1851
|
+
label: 'Label',
|
|
912
1852
|
language: 'Language',
|
|
913
1853
|
messageType: 'MessageType',
|
|
914
1854
|
payload: 'Payload',
|
|
1855
|
+
tag: 'Tag',
|
|
915
1856
|
templateCode: 'TemplateCode',
|
|
916
1857
|
templateParams: 'TemplateParams',
|
|
917
1858
|
to: 'To',
|
|
1859
|
+
trackingData: 'TrackingData',
|
|
1860
|
+
ttl: 'Ttl',
|
|
918
1861
|
type: 'Type',
|
|
919
1862
|
};
|
|
920
1863
|
}
|
|
@@ -922,18 +1865,23 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
922
1865
|
return {
|
|
923
1866
|
channelType: 'string',
|
|
924
1867
|
content: 'string',
|
|
1868
|
+
contextMessageId: 'string',
|
|
925
1869
|
custSpaceId: 'string',
|
|
926
1870
|
custWabaId: 'string',
|
|
927
1871
|
fallBackContent: 'string',
|
|
928
1872
|
fallBackId: 'string',
|
|
929
1873
|
from: 'string',
|
|
930
1874
|
isvCode: 'string',
|
|
1875
|
+
label: 'string',
|
|
931
1876
|
language: 'string',
|
|
932
1877
|
messageType: 'string',
|
|
933
1878
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
1879
|
+
tag: 'string',
|
|
934
1880
|
templateCode: 'string',
|
|
935
1881
|
templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
936
1882
|
to: 'string',
|
|
1883
|
+
trackingData: 'string',
|
|
1884
|
+
ttl: 'number',
|
|
937
1885
|
type: 'string',
|
|
938
1886
|
};
|
|
939
1887
|
}
|
|
@@ -947,18 +1895,23 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
947
1895
|
return {
|
|
948
1896
|
channelType: 'ChannelType',
|
|
949
1897
|
content: 'Content',
|
|
1898
|
+
contextMessageId: 'ContextMessageId',
|
|
950
1899
|
custSpaceId: 'CustSpaceId',
|
|
951
1900
|
custWabaId: 'CustWabaId',
|
|
952
1901
|
fallBackContent: 'FallBackContent',
|
|
953
1902
|
fallBackId: 'FallBackId',
|
|
954
1903
|
from: 'From',
|
|
955
1904
|
isvCode: 'IsvCode',
|
|
1905
|
+
label: 'Label',
|
|
956
1906
|
language: 'Language',
|
|
957
1907
|
messageType: 'MessageType',
|
|
958
1908
|
payloadShrink: 'Payload',
|
|
1909
|
+
tag: 'Tag',
|
|
959
1910
|
templateCode: 'TemplateCode',
|
|
960
1911
|
templateParamsShrink: 'TemplateParams',
|
|
961
1912
|
to: 'To',
|
|
1913
|
+
trackingData: 'TrackingData',
|
|
1914
|
+
ttl: 'Ttl',
|
|
962
1915
|
type: 'Type',
|
|
963
1916
|
};
|
|
964
1917
|
}
|
|
@@ -966,18 +1919,23 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
966
1919
|
return {
|
|
967
1920
|
channelType: 'string',
|
|
968
1921
|
content: 'string',
|
|
1922
|
+
contextMessageId: 'string',
|
|
969
1923
|
custSpaceId: 'string',
|
|
970
1924
|
custWabaId: 'string',
|
|
971
1925
|
fallBackContent: 'string',
|
|
972
1926
|
fallBackId: 'string',
|
|
973
1927
|
from: 'string',
|
|
974
1928
|
isvCode: 'string',
|
|
1929
|
+
label: 'string',
|
|
975
1930
|
language: 'string',
|
|
976
1931
|
messageType: 'string',
|
|
977
1932
|
payloadShrink: 'string',
|
|
1933
|
+
tag: 'string',
|
|
978
1934
|
templateCode: 'string',
|
|
979
1935
|
templateParamsShrink: 'string',
|
|
980
1936
|
to: 'string',
|
|
1937
|
+
trackingData: 'string',
|
|
1938
|
+
ttl: 'number',
|
|
981
1939
|
type: 'string',
|
|
982
1940
|
};
|
|
983
1941
|
}
|
|
@@ -1025,6 +1983,134 @@ class SendChatappMessageResponse extends $tea.Model {
|
|
|
1025
1983
|
}
|
|
1026
1984
|
}
|
|
1027
1985
|
exports.SendChatappMessageResponse = SendChatappMessageResponse;
|
|
1986
|
+
class UpdateAccountWebhookRequest extends $tea.Model {
|
|
1987
|
+
constructor(map) {
|
|
1988
|
+
super(map);
|
|
1989
|
+
}
|
|
1990
|
+
static names() {
|
|
1991
|
+
return {
|
|
1992
|
+
custSpaceId: 'CustSpaceId',
|
|
1993
|
+
httpFlag: 'HttpFlag',
|
|
1994
|
+
queueFlag: 'QueueFlag',
|
|
1995
|
+
statusCallbackUrl: 'StatusCallbackUrl',
|
|
1996
|
+
};
|
|
1997
|
+
}
|
|
1998
|
+
static types() {
|
|
1999
|
+
return {
|
|
2000
|
+
custSpaceId: 'string',
|
|
2001
|
+
httpFlag: 'string',
|
|
2002
|
+
queueFlag: 'string',
|
|
2003
|
+
statusCallbackUrl: 'string',
|
|
2004
|
+
};
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
exports.UpdateAccountWebhookRequest = UpdateAccountWebhookRequest;
|
|
2008
|
+
class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
2009
|
+
constructor(map) {
|
|
2010
|
+
super(map);
|
|
2011
|
+
}
|
|
2012
|
+
static names() {
|
|
2013
|
+
return {
|
|
2014
|
+
code: 'Code',
|
|
2015
|
+
message: 'Message',
|
|
2016
|
+
requestId: 'RequestId',
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
static types() {
|
|
2020
|
+
return {
|
|
2021
|
+
code: 'string',
|
|
2022
|
+
message: 'string',
|
|
2023
|
+
requestId: 'string',
|
|
2024
|
+
};
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
exports.UpdateAccountWebhookResponseBody = UpdateAccountWebhookResponseBody;
|
|
2028
|
+
class UpdateAccountWebhookResponse extends $tea.Model {
|
|
2029
|
+
constructor(map) {
|
|
2030
|
+
super(map);
|
|
2031
|
+
}
|
|
2032
|
+
static names() {
|
|
2033
|
+
return {
|
|
2034
|
+
headers: 'headers',
|
|
2035
|
+
statusCode: 'statusCode',
|
|
2036
|
+
body: 'body',
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
static types() {
|
|
2040
|
+
return {
|
|
2041
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2042
|
+
statusCode: 'number',
|
|
2043
|
+
body: UpdateAccountWebhookResponseBody,
|
|
2044
|
+
};
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
exports.UpdateAccountWebhookResponse = UpdateAccountWebhookResponse;
|
|
2048
|
+
class UpdatePhoneWebhookRequest extends $tea.Model {
|
|
2049
|
+
constructor(map) {
|
|
2050
|
+
super(map);
|
|
2051
|
+
}
|
|
2052
|
+
static names() {
|
|
2053
|
+
return {
|
|
2054
|
+
custSpaceId: 'CustSpaceId',
|
|
2055
|
+
httpFlag: 'HttpFlag',
|
|
2056
|
+
phoneNumber: 'PhoneNumber',
|
|
2057
|
+
queueFlag: 'QueueFlag',
|
|
2058
|
+
statusCallbackUrl: 'StatusCallbackUrl',
|
|
2059
|
+
upCallbackUrl: 'UpCallbackUrl',
|
|
2060
|
+
};
|
|
2061
|
+
}
|
|
2062
|
+
static types() {
|
|
2063
|
+
return {
|
|
2064
|
+
custSpaceId: 'string',
|
|
2065
|
+
httpFlag: 'string',
|
|
2066
|
+
phoneNumber: 'string',
|
|
2067
|
+
queueFlag: 'string',
|
|
2068
|
+
statusCallbackUrl: 'string',
|
|
2069
|
+
upCallbackUrl: 'string',
|
|
2070
|
+
};
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
exports.UpdatePhoneWebhookRequest = UpdatePhoneWebhookRequest;
|
|
2074
|
+
class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
2075
|
+
constructor(map) {
|
|
2076
|
+
super(map);
|
|
2077
|
+
}
|
|
2078
|
+
static names() {
|
|
2079
|
+
return {
|
|
2080
|
+
code: 'Code',
|
|
2081
|
+
message: 'Message',
|
|
2082
|
+
requestId: 'RequestId',
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
static types() {
|
|
2086
|
+
return {
|
|
2087
|
+
code: 'string',
|
|
2088
|
+
message: 'string',
|
|
2089
|
+
requestId: 'string',
|
|
2090
|
+
};
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
exports.UpdatePhoneWebhookResponseBody = UpdatePhoneWebhookResponseBody;
|
|
2094
|
+
class UpdatePhoneWebhookResponse extends $tea.Model {
|
|
2095
|
+
constructor(map) {
|
|
2096
|
+
super(map);
|
|
2097
|
+
}
|
|
2098
|
+
static names() {
|
|
2099
|
+
return {
|
|
2100
|
+
headers: 'headers',
|
|
2101
|
+
statusCode: 'statusCode',
|
|
2102
|
+
body: 'body',
|
|
2103
|
+
};
|
|
2104
|
+
}
|
|
2105
|
+
static types() {
|
|
2106
|
+
return {
|
|
2107
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2108
|
+
statusCode: 'number',
|
|
2109
|
+
body: UpdatePhoneWebhookResponseBody,
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
exports.UpdatePhoneWebhookResponse = UpdatePhoneWebhookResponse;
|
|
1028
2114
|
class BeeBotAssociateResponseBodyDataAssociate extends $tea.Model {
|
|
1029
2115
|
constructor(map) {
|
|
1030
2116
|
super(map);
|
|
@@ -1210,35 +2296,153 @@ class BeeBotChatResponseBodyDataMessages extends $tea.Model {
|
|
|
1210
2296
|
}
|
|
1211
2297
|
static types() {
|
|
1212
2298
|
return {
|
|
1213
|
-
answerSource: 'string',
|
|
1214
|
-
answerType: 'string',
|
|
1215
|
-
knowledge: BeeBotChatResponseBodyDataMessagesKnowledge,
|
|
1216
|
-
recommends: { 'type': 'array', 'itemType': BeeBotChatResponseBodyDataMessagesRecommends },
|
|
1217
|
-
text: BeeBotChatResponseBodyDataMessagesText,
|
|
2299
|
+
answerSource: 'string',
|
|
2300
|
+
answerType: 'string',
|
|
2301
|
+
knowledge: BeeBotChatResponseBodyDataMessagesKnowledge,
|
|
2302
|
+
recommends: { 'type': 'array', 'itemType': BeeBotChatResponseBodyDataMessagesRecommends },
|
|
2303
|
+
text: BeeBotChatResponseBodyDataMessagesText,
|
|
2304
|
+
};
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
exports.BeeBotChatResponseBodyDataMessages = BeeBotChatResponseBodyDataMessages;
|
|
2308
|
+
class BeeBotChatResponseBodyData extends $tea.Model {
|
|
2309
|
+
constructor(map) {
|
|
2310
|
+
super(map);
|
|
2311
|
+
}
|
|
2312
|
+
static names() {
|
|
2313
|
+
return {
|
|
2314
|
+
messageId: 'MessageId',
|
|
2315
|
+
messages: 'Messages',
|
|
2316
|
+
sessionId: 'SessionId',
|
|
2317
|
+
};
|
|
2318
|
+
}
|
|
2319
|
+
static types() {
|
|
2320
|
+
return {
|
|
2321
|
+
messageId: 'string',
|
|
2322
|
+
messages: { 'type': 'array', 'itemType': BeeBotChatResponseBodyDataMessages },
|
|
2323
|
+
sessionId: 'string',
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
exports.BeeBotChatResponseBodyData = BeeBotChatResponseBodyData;
|
|
2328
|
+
class ChatappBindWabaResponseBodyData extends $tea.Model {
|
|
2329
|
+
constructor(map) {
|
|
2330
|
+
super(map);
|
|
2331
|
+
}
|
|
2332
|
+
static names() {
|
|
2333
|
+
return {
|
|
2334
|
+
custSpaceId: 'CustSpaceId',
|
|
2335
|
+
wabaId: 'WabaId',
|
|
2336
|
+
};
|
|
2337
|
+
}
|
|
2338
|
+
static types() {
|
|
2339
|
+
return {
|
|
2340
|
+
custSpaceId: 'string',
|
|
2341
|
+
wabaId: 'string',
|
|
2342
|
+
};
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
exports.ChatappBindWabaResponseBodyData = ChatappBindWabaResponseBodyData;
|
|
2346
|
+
class ChatappEmbedSignUpResponseBodyWabas extends $tea.Model {
|
|
2347
|
+
constructor(map) {
|
|
2348
|
+
super(map);
|
|
2349
|
+
}
|
|
2350
|
+
static names() {
|
|
2351
|
+
return {
|
|
2352
|
+
accountReviewStatus: 'AccountReviewStatus',
|
|
2353
|
+
currency: 'Currency',
|
|
2354
|
+
id: 'Id',
|
|
2355
|
+
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
2356
|
+
name: 'Name',
|
|
2357
|
+
};
|
|
2358
|
+
}
|
|
2359
|
+
static types() {
|
|
2360
|
+
return {
|
|
2361
|
+
accountReviewStatus: 'string',
|
|
2362
|
+
currency: 'string',
|
|
2363
|
+
id: 'string',
|
|
2364
|
+
messageTemplateNamespace: 'string',
|
|
2365
|
+
name: 'string',
|
|
2366
|
+
};
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
exports.ChatappEmbedSignUpResponseBodyWabas = ChatappEmbedSignUpResponseBodyWabas;
|
|
2370
|
+
class ChatappMigrationVerifiedResponseBodyData extends $tea.Model {
|
|
2371
|
+
constructor(map) {
|
|
2372
|
+
super(map);
|
|
2373
|
+
}
|
|
2374
|
+
static names() {
|
|
2375
|
+
return {
|
|
2376
|
+
id: 'Id',
|
|
2377
|
+
phoneNumber: 'PhoneNumber',
|
|
2378
|
+
};
|
|
2379
|
+
}
|
|
2380
|
+
static types() {
|
|
2381
|
+
return {
|
|
2382
|
+
id: 'string',
|
|
2383
|
+
phoneNumber: 'string',
|
|
2384
|
+
};
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
exports.ChatappMigrationVerifiedResponseBodyData = ChatappMigrationVerifiedResponseBodyData;
|
|
2388
|
+
class ChatappSyncPhoneNumberResponseBodyPhoneNumbers extends $tea.Model {
|
|
2389
|
+
constructor(map) {
|
|
2390
|
+
super(map);
|
|
2391
|
+
}
|
|
2392
|
+
static names() {
|
|
2393
|
+
return {
|
|
2394
|
+
codeVerificationStatus: 'CodeVerificationStatus',
|
|
2395
|
+
messagingLimitTier: 'MessagingLimitTier',
|
|
2396
|
+
nameStatus: 'NameStatus',
|
|
2397
|
+
newNameStatus: 'NewNameStatus',
|
|
2398
|
+
phoneNumber: 'PhoneNumber',
|
|
2399
|
+
qualityRating: 'QualityRating',
|
|
2400
|
+
status: 'Status',
|
|
2401
|
+
statusCallbackUrl: 'StatusCallbackUrl',
|
|
2402
|
+
statusQueue: 'StatusQueue',
|
|
2403
|
+
upCallbackUrl: 'UpCallbackUrl',
|
|
2404
|
+
upQueue: 'UpQueue',
|
|
2405
|
+
verifiedName: 'VerifiedName',
|
|
2406
|
+
};
|
|
2407
|
+
}
|
|
2408
|
+
static types() {
|
|
2409
|
+
return {
|
|
2410
|
+
codeVerificationStatus: 'string',
|
|
2411
|
+
messagingLimitTier: 'string',
|
|
2412
|
+
nameStatus: 'string',
|
|
2413
|
+
newNameStatus: 'string',
|
|
2414
|
+
phoneNumber: 'string',
|
|
2415
|
+
qualityRating: 'string',
|
|
2416
|
+
status: 'string',
|
|
2417
|
+
statusCallbackUrl: 'string',
|
|
2418
|
+
statusQueue: 'string',
|
|
2419
|
+
upCallbackUrl: 'string',
|
|
2420
|
+
upQueue: 'string',
|
|
2421
|
+
verifiedName: 'string',
|
|
1218
2422
|
};
|
|
1219
2423
|
}
|
|
1220
2424
|
}
|
|
1221
|
-
exports.
|
|
1222
|
-
class
|
|
2425
|
+
exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = ChatappSyncPhoneNumberResponseBodyPhoneNumbers;
|
|
2426
|
+
class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
|
|
1223
2427
|
constructor(map) {
|
|
1224
2428
|
super(map);
|
|
1225
2429
|
}
|
|
1226
2430
|
static names() {
|
|
1227
2431
|
return {
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
2432
|
+
id: 'Id',
|
|
2433
|
+
phoneNumber: 'PhoneNumber',
|
|
2434
|
+
status: 'Status',
|
|
1231
2435
|
};
|
|
1232
2436
|
}
|
|
1233
2437
|
static types() {
|
|
1234
2438
|
return {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
2439
|
+
id: 'string',
|
|
2440
|
+
phoneNumber: 'string',
|
|
2441
|
+
status: 'string',
|
|
1238
2442
|
};
|
|
1239
2443
|
}
|
|
1240
2444
|
}
|
|
1241
|
-
exports.
|
|
2445
|
+
exports.CreateChatappMigrationInitiateResponseBodyData = CreateChatappMigrationInitiateResponseBodyData;
|
|
1242
2446
|
class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
1243
2447
|
constructor(map) {
|
|
1244
2448
|
super(map);
|
|
@@ -1389,6 +2593,44 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
1389
2593
|
}
|
|
1390
2594
|
}
|
|
1391
2595
|
exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
|
|
2596
|
+
class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
|
|
2597
|
+
constructor(map) {
|
|
2598
|
+
super(map);
|
|
2599
|
+
}
|
|
2600
|
+
static names() {
|
|
2601
|
+
return {
|
|
2602
|
+
id: 'Id',
|
|
2603
|
+
phoneNumber: 'PhoneNumber',
|
|
2604
|
+
};
|
|
2605
|
+
}
|
|
2606
|
+
static types() {
|
|
2607
|
+
return {
|
|
2608
|
+
id: 'string',
|
|
2609
|
+
phoneNumber: 'string',
|
|
2610
|
+
};
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
exports.GetMigrationVerifyCodeResponseBodyData = GetMigrationVerifyCodeResponseBodyData;
|
|
2614
|
+
class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
2615
|
+
constructor(map) {
|
|
2616
|
+
super(map);
|
|
2617
|
+
}
|
|
2618
|
+
static names() {
|
|
2619
|
+
return {
|
|
2620
|
+
codeVerificationStatus: 'CodeVerificationStatus',
|
|
2621
|
+
id: 'Id',
|
|
2622
|
+
phoneNumber: 'PhoneNumber',
|
|
2623
|
+
};
|
|
2624
|
+
}
|
|
2625
|
+
static types() {
|
|
2626
|
+
return {
|
|
2627
|
+
codeVerificationStatus: 'string',
|
|
2628
|
+
id: 'string',
|
|
2629
|
+
phoneNumber: 'string',
|
|
2630
|
+
};
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
|
|
1392
2634
|
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
1393
2635
|
constructor(map) {
|
|
1394
2636
|
super(map);
|
|
@@ -1531,6 +2773,10 @@ class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
|
|
|
1531
2773
|
}
|
|
1532
2774
|
static names() {
|
|
1533
2775
|
return {
|
|
2776
|
+
codeVerificationStatus: 'CodeVerificationStatus',
|
|
2777
|
+
messagingLimitTier: 'MessagingLimitTier',
|
|
2778
|
+
nameStatus: 'NameStatus',
|
|
2779
|
+
newNameStatus: 'NewNameStatus',
|
|
1534
2780
|
phoneNumber: 'PhoneNumber',
|
|
1535
2781
|
qualityRating: 'QualityRating',
|
|
1536
2782
|
status: 'Status',
|
|
@@ -1543,6 +2789,10 @@ class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
|
|
|
1543
2789
|
}
|
|
1544
2790
|
static types() {
|
|
1545
2791
|
return {
|
|
2792
|
+
codeVerificationStatus: 'string',
|
|
2793
|
+
messagingLimitTier: 'string',
|
|
2794
|
+
nameStatus: 'string',
|
|
2795
|
+
newNameStatus: 'string',
|
|
1546
2796
|
phoneNumber: 'string',
|
|
1547
2797
|
qualityRating: 'string',
|
|
1548
2798
|
status: 'string',
|
|
@@ -1555,6 +2805,54 @@ class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
|
|
|
1555
2805
|
}
|
|
1556
2806
|
}
|
|
1557
2807
|
exports.QueryChatappPhoneNumbersResponseBodyPhoneNumbers = QueryChatappPhoneNumbersResponseBodyPhoneNumbers;
|
|
2808
|
+
class QueryPhoneBusinessProfileResponseBodyData extends $tea.Model {
|
|
2809
|
+
constructor(map) {
|
|
2810
|
+
super(map);
|
|
2811
|
+
}
|
|
2812
|
+
static names() {
|
|
2813
|
+
return {
|
|
2814
|
+
address: 'Address',
|
|
2815
|
+
description: 'Description',
|
|
2816
|
+
email: 'Email',
|
|
2817
|
+
profilePictureUrl: 'ProfilePictureUrl',
|
|
2818
|
+
vertical: 'Vertical',
|
|
2819
|
+
websites: 'Websites',
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
static types() {
|
|
2823
|
+
return {
|
|
2824
|
+
address: 'string',
|
|
2825
|
+
description: 'string',
|
|
2826
|
+
email: 'string',
|
|
2827
|
+
profilePictureUrl: 'string',
|
|
2828
|
+
vertical: 'string',
|
|
2829
|
+
websites: { 'type': 'array', 'itemType': 'string' },
|
|
2830
|
+
};
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
exports.QueryPhoneBusinessProfileResponseBodyData = QueryPhoneBusinessProfileResponseBodyData;
|
|
2834
|
+
class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
|
|
2835
|
+
constructor(map) {
|
|
2836
|
+
super(map);
|
|
2837
|
+
}
|
|
2838
|
+
static names() {
|
|
2839
|
+
return {
|
|
2840
|
+
businessId: 'BusinessId',
|
|
2841
|
+
businessName: 'BusinessName',
|
|
2842
|
+
verificationStatus: 'VerificationStatus',
|
|
2843
|
+
vertical: 'Vertical',
|
|
2844
|
+
};
|
|
2845
|
+
}
|
|
2846
|
+
static types() {
|
|
2847
|
+
return {
|
|
2848
|
+
businessId: 'string',
|
|
2849
|
+
businessName: 'string',
|
|
2850
|
+
verificationStatus: 'string',
|
|
2851
|
+
vertical: 'string',
|
|
2852
|
+
};
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
exports.QueryWabaBusinessInfoResponseBodyData = QueryWabaBusinessInfoResponseBodyData;
|
|
1558
2856
|
class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
1559
2857
|
constructor(map) {
|
|
1560
2858
|
super(map);
|
|
@@ -1591,6 +2889,13 @@ class Client extends openapi_client_1.default {
|
|
|
1591
2889
|
}
|
|
1592
2890
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
1593
2891
|
}
|
|
2892
|
+
/**
|
|
2893
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2894
|
+
*
|
|
2895
|
+
* @param tmpReq BeeBotAssociateRequest
|
|
2896
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2897
|
+
* @return BeeBotAssociateResponse
|
|
2898
|
+
*/
|
|
1594
2899
|
async beeBotAssociateWithOptions(tmpReq, runtime) {
|
|
1595
2900
|
tea_util_1.default.validateModel(tmpReq);
|
|
1596
2901
|
let request = new BeeBotAssociateShrinkRequest({});
|
|
@@ -1636,10 +2941,23 @@ class Client extends openapi_client_1.default {
|
|
|
1636
2941
|
});
|
|
1637
2942
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
1638
2943
|
}
|
|
2944
|
+
/**
|
|
2945
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2946
|
+
*
|
|
2947
|
+
* @param request BeeBotAssociateRequest
|
|
2948
|
+
* @return BeeBotAssociateResponse
|
|
2949
|
+
*/
|
|
1639
2950
|
async beeBotAssociate(request) {
|
|
1640
2951
|
let runtime = new $Util.RuntimeOptions({});
|
|
1641
2952
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
1642
2953
|
}
|
|
2954
|
+
/**
|
|
2955
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2956
|
+
*
|
|
2957
|
+
* @param tmpReq BeeBotChatRequest
|
|
2958
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2959
|
+
* @return BeeBotChatResponse
|
|
2960
|
+
*/
|
|
1643
2961
|
async beeBotChatWithOptions(tmpReq, runtime) {
|
|
1644
2962
|
tea_util_1.default.validateModel(tmpReq);
|
|
1645
2963
|
let request = new BeeBotChatShrinkRequest({});
|
|
@@ -1669,26 +2987,264 @@ class Client extends openapi_client_1.default {
|
|
|
1669
2987
|
if (!tea_util_1.default.isUnset(request.perspectiveShrink)) {
|
|
1670
2988
|
body["Perspective"] = request.perspectiveShrink;
|
|
1671
2989
|
}
|
|
1672
|
-
if (!tea_util_1.default.isUnset(request.senderId)) {
|
|
1673
|
-
body["SenderId"] = request.senderId;
|
|
2990
|
+
if (!tea_util_1.default.isUnset(request.senderId)) {
|
|
2991
|
+
body["SenderId"] = request.senderId;
|
|
2992
|
+
}
|
|
2993
|
+
if (!tea_util_1.default.isUnset(request.senderNick)) {
|
|
2994
|
+
body["SenderNick"] = request.senderNick;
|
|
2995
|
+
}
|
|
2996
|
+
if (!tea_util_1.default.isUnset(request.sessionId)) {
|
|
2997
|
+
body["SessionId"] = request.sessionId;
|
|
2998
|
+
}
|
|
2999
|
+
if (!tea_util_1.default.isUnset(request.utterance)) {
|
|
3000
|
+
body["Utterance"] = request.utterance;
|
|
3001
|
+
}
|
|
3002
|
+
if (!tea_util_1.default.isUnset(request.vendorParamShrink)) {
|
|
3003
|
+
body["VendorParam"] = request.vendorParamShrink;
|
|
3004
|
+
}
|
|
3005
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3006
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3007
|
+
});
|
|
3008
|
+
let params = new $OpenApi.Params({
|
|
3009
|
+
action: "BeeBotChat",
|
|
3010
|
+
version: "2020-06-06",
|
|
3011
|
+
protocol: "HTTPS",
|
|
3012
|
+
pathname: "/",
|
|
3013
|
+
method: "POST",
|
|
3014
|
+
authType: "AK",
|
|
3015
|
+
style: "RPC",
|
|
3016
|
+
reqBodyType: "formData",
|
|
3017
|
+
bodyType: "json",
|
|
3018
|
+
});
|
|
3019
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
3020
|
+
}
|
|
3021
|
+
/**
|
|
3022
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3023
|
+
*
|
|
3024
|
+
* @param request BeeBotChatRequest
|
|
3025
|
+
* @return BeeBotChatResponse
|
|
3026
|
+
*/
|
|
3027
|
+
async beeBotChat(request) {
|
|
3028
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3029
|
+
return await this.beeBotChatWithOptions(request, runtime);
|
|
3030
|
+
}
|
|
3031
|
+
async chatappBindWabaWithOptions(request, runtime) {
|
|
3032
|
+
tea_util_1.default.validateModel(request);
|
|
3033
|
+
let body = {};
|
|
3034
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
3035
|
+
body["WabaId"] = request.wabaId;
|
|
3036
|
+
}
|
|
3037
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3038
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3039
|
+
});
|
|
3040
|
+
let params = new $OpenApi.Params({
|
|
3041
|
+
action: "ChatappBindWaba",
|
|
3042
|
+
version: "2020-06-06",
|
|
3043
|
+
protocol: "HTTPS",
|
|
3044
|
+
pathname: "/",
|
|
3045
|
+
method: "POST",
|
|
3046
|
+
authType: "AK",
|
|
3047
|
+
style: "RPC",
|
|
3048
|
+
reqBodyType: "formData",
|
|
3049
|
+
bodyType: "json",
|
|
3050
|
+
});
|
|
3051
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
3052
|
+
}
|
|
3053
|
+
async chatappBindWaba(request) {
|
|
3054
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3055
|
+
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
3056
|
+
}
|
|
3057
|
+
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
3058
|
+
tea_util_1.default.validateModel(request);
|
|
3059
|
+
let body = {};
|
|
3060
|
+
if (!tea_util_1.default.isUnset(request.inputToken)) {
|
|
3061
|
+
body["InputToken"] = request.inputToken;
|
|
3062
|
+
}
|
|
3063
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3064
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3065
|
+
});
|
|
3066
|
+
let params = new $OpenApi.Params({
|
|
3067
|
+
action: "ChatappEmbedSignUp",
|
|
3068
|
+
version: "2020-06-06",
|
|
3069
|
+
protocol: "HTTPS",
|
|
3070
|
+
pathname: "/",
|
|
3071
|
+
method: "POST",
|
|
3072
|
+
authType: "AK",
|
|
3073
|
+
style: "RPC",
|
|
3074
|
+
reqBodyType: "formData",
|
|
3075
|
+
bodyType: "json",
|
|
3076
|
+
});
|
|
3077
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
3078
|
+
}
|
|
3079
|
+
async chatappEmbedSignUp(request) {
|
|
3080
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3081
|
+
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
3082
|
+
}
|
|
3083
|
+
async chatappMigrationRegisterWithOptions(request, runtime) {
|
|
3084
|
+
tea_util_1.default.validateModel(request);
|
|
3085
|
+
let query = {};
|
|
3086
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3087
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3088
|
+
}
|
|
3089
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3090
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3091
|
+
}
|
|
3092
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3093
|
+
query: openapi_util_1.default.query(query),
|
|
3094
|
+
});
|
|
3095
|
+
let params = new $OpenApi.Params({
|
|
3096
|
+
action: "ChatappMigrationRegister",
|
|
3097
|
+
version: "2020-06-06",
|
|
3098
|
+
protocol: "HTTPS",
|
|
3099
|
+
pathname: "/",
|
|
3100
|
+
method: "POST",
|
|
3101
|
+
authType: "AK",
|
|
3102
|
+
style: "RPC",
|
|
3103
|
+
reqBodyType: "formData",
|
|
3104
|
+
bodyType: "json",
|
|
3105
|
+
});
|
|
3106
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
|
|
3107
|
+
}
|
|
3108
|
+
async chatappMigrationRegister(request) {
|
|
3109
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3110
|
+
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
3111
|
+
}
|
|
3112
|
+
async chatappMigrationVerifiedWithOptions(request, runtime) {
|
|
3113
|
+
tea_util_1.default.validateModel(request);
|
|
3114
|
+
let query = {};
|
|
3115
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3116
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3117
|
+
}
|
|
3118
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3119
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3120
|
+
}
|
|
3121
|
+
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
3122
|
+
query["VerifyCode"] = request.verifyCode;
|
|
3123
|
+
}
|
|
3124
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3125
|
+
query: openapi_util_1.default.query(query),
|
|
3126
|
+
});
|
|
3127
|
+
let params = new $OpenApi.Params({
|
|
3128
|
+
action: "ChatappMigrationVerified",
|
|
3129
|
+
version: "2020-06-06",
|
|
3130
|
+
protocol: "HTTPS",
|
|
3131
|
+
pathname: "/",
|
|
3132
|
+
method: "POST",
|
|
3133
|
+
authType: "AK",
|
|
3134
|
+
style: "RPC",
|
|
3135
|
+
reqBodyType: "formData",
|
|
3136
|
+
bodyType: "json",
|
|
3137
|
+
});
|
|
3138
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
|
|
3139
|
+
}
|
|
3140
|
+
async chatappMigrationVerified(request) {
|
|
3141
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3142
|
+
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
3143
|
+
}
|
|
3144
|
+
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
3145
|
+
tea_util_1.default.validateModel(request);
|
|
3146
|
+
let body = {};
|
|
3147
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3148
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3149
|
+
}
|
|
3150
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3151
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
3152
|
+
}
|
|
3153
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3154
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3155
|
+
});
|
|
3156
|
+
let params = new $OpenApi.Params({
|
|
3157
|
+
action: "ChatappPhoneNumberRegister",
|
|
3158
|
+
version: "2020-06-06",
|
|
3159
|
+
protocol: "HTTPS",
|
|
3160
|
+
pathname: "/",
|
|
3161
|
+
method: "POST",
|
|
3162
|
+
authType: "AK",
|
|
3163
|
+
style: "RPC",
|
|
3164
|
+
reqBodyType: "formData",
|
|
3165
|
+
bodyType: "json",
|
|
3166
|
+
});
|
|
3167
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
3168
|
+
}
|
|
3169
|
+
async chatappPhoneNumberRegister(request) {
|
|
3170
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3171
|
+
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
3172
|
+
}
|
|
3173
|
+
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
3174
|
+
tea_util_1.default.validateModel(request);
|
|
3175
|
+
let query = {};
|
|
3176
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3177
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3178
|
+
}
|
|
3179
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3180
|
+
query: openapi_util_1.default.query(query),
|
|
3181
|
+
});
|
|
3182
|
+
let params = new $OpenApi.Params({
|
|
3183
|
+
action: "ChatappSyncPhoneNumber",
|
|
3184
|
+
version: "2020-06-06",
|
|
3185
|
+
protocol: "HTTPS",
|
|
3186
|
+
pathname: "/",
|
|
3187
|
+
method: "POST",
|
|
3188
|
+
authType: "AK",
|
|
3189
|
+
style: "RPC",
|
|
3190
|
+
reqBodyType: "formData",
|
|
3191
|
+
bodyType: "json",
|
|
3192
|
+
});
|
|
3193
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
3194
|
+
}
|
|
3195
|
+
async chatappSyncPhoneNumber(request) {
|
|
3196
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3197
|
+
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
3198
|
+
}
|
|
3199
|
+
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
3200
|
+
tea_util_1.default.validateModel(request);
|
|
3201
|
+
let body = {};
|
|
3202
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3203
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3204
|
+
}
|
|
3205
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3206
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
1674
3207
|
}
|
|
1675
|
-
if (!tea_util_1.default.isUnset(request.
|
|
1676
|
-
body["
|
|
3208
|
+
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
3209
|
+
body["VerifyCode"] = request.verifyCode;
|
|
1677
3210
|
}
|
|
1678
|
-
|
|
1679
|
-
body
|
|
3211
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3212
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3213
|
+
});
|
|
3214
|
+
let params = new $OpenApi.Params({
|
|
3215
|
+
action: "ChatappVerifyAndRegister",
|
|
3216
|
+
version: "2020-06-06",
|
|
3217
|
+
protocol: "HTTPS",
|
|
3218
|
+
pathname: "/",
|
|
3219
|
+
method: "POST",
|
|
3220
|
+
authType: "AK",
|
|
3221
|
+
style: "RPC",
|
|
3222
|
+
reqBodyType: "formData",
|
|
3223
|
+
bodyType: "json",
|
|
3224
|
+
});
|
|
3225
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
3226
|
+
}
|
|
3227
|
+
async chatappVerifyAndRegister(request) {
|
|
3228
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3229
|
+
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
3230
|
+
}
|
|
3231
|
+
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
3232
|
+
tea_util_1.default.validateModel(request);
|
|
3233
|
+
let query = {};
|
|
3234
|
+
if (!tea_util_1.default.isUnset(request.countryCode)) {
|
|
3235
|
+
query["CountryCode"] = request.countryCode;
|
|
1680
3236
|
}
|
|
1681
|
-
if (!tea_util_1.default.isUnset(request.
|
|
1682
|
-
|
|
3237
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3238
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1683
3239
|
}
|
|
1684
|
-
if (!tea_util_1.default.isUnset(request.
|
|
1685
|
-
|
|
3240
|
+
if (!tea_util_1.default.isUnset(request.mobileNumber)) {
|
|
3241
|
+
query["MobileNumber"] = request.mobileNumber;
|
|
1686
3242
|
}
|
|
1687
3243
|
let req = new $OpenApi.OpenApiRequest({
|
|
1688
|
-
|
|
3244
|
+
query: openapi_util_1.default.query(query),
|
|
1689
3245
|
});
|
|
1690
3246
|
let params = new $OpenApi.Params({
|
|
1691
|
-
action: "
|
|
3247
|
+
action: "CreateChatappMigrationInitiate",
|
|
1692
3248
|
version: "2020-06-06",
|
|
1693
3249
|
protocol: "HTTPS",
|
|
1694
3250
|
pathname: "/",
|
|
@@ -1698,12 +3254,20 @@ class Client extends openapi_client_1.default {
|
|
|
1698
3254
|
reqBodyType: "formData",
|
|
1699
3255
|
bodyType: "json",
|
|
1700
3256
|
});
|
|
1701
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
3257
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
1702
3258
|
}
|
|
1703
|
-
async
|
|
3259
|
+
async createChatappMigrationInitiate(request) {
|
|
1704
3260
|
let runtime = new $Util.RuntimeOptions({});
|
|
1705
|
-
return await this.
|
|
1706
|
-
}
|
|
3261
|
+
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
3262
|
+
}
|
|
3263
|
+
/**
|
|
3264
|
+
* ### QPS limit
|
|
3265
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3266
|
+
*
|
|
3267
|
+
* @param tmpReq CreateChatappTemplateRequest
|
|
3268
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3269
|
+
* @return CreateChatappTemplateResponse
|
|
3270
|
+
*/
|
|
1707
3271
|
async createChatappTemplateWithOptions(tmpReq, runtime) {
|
|
1708
3272
|
tea_util_1.default.validateModel(tmpReq);
|
|
1709
3273
|
let request = new CreateChatappTemplateShrinkRequest({});
|
|
@@ -1760,10 +3324,25 @@ class Client extends openapi_client_1.default {
|
|
|
1760
3324
|
});
|
|
1761
3325
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
1762
3326
|
}
|
|
3327
|
+
/**
|
|
3328
|
+
* ### QPS limit
|
|
3329
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3330
|
+
*
|
|
3331
|
+
* @param request CreateChatappTemplateRequest
|
|
3332
|
+
* @return CreateChatappTemplateResponse
|
|
3333
|
+
*/
|
|
1763
3334
|
async createChatappTemplate(request) {
|
|
1764
3335
|
let runtime = new $Util.RuntimeOptions({});
|
|
1765
3336
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
1766
3337
|
}
|
|
3338
|
+
/**
|
|
3339
|
+
* ### QPS limit
|
|
3340
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3341
|
+
*
|
|
3342
|
+
* @param request DeleteChatappTemplateRequest
|
|
3343
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3344
|
+
* @return DeleteChatappTemplateResponse
|
|
3345
|
+
*/
|
|
1767
3346
|
async deleteChatappTemplateWithOptions(request, runtime) {
|
|
1768
3347
|
tea_util_1.default.validateModel(request);
|
|
1769
3348
|
let query = {};
|
|
@@ -1795,10 +3374,25 @@ class Client extends openapi_client_1.default {
|
|
|
1795
3374
|
});
|
|
1796
3375
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
|
|
1797
3376
|
}
|
|
3377
|
+
/**
|
|
3378
|
+
* ### QPS limit
|
|
3379
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3380
|
+
*
|
|
3381
|
+
* @param request DeleteChatappTemplateRequest
|
|
3382
|
+
* @return DeleteChatappTemplateResponse
|
|
3383
|
+
*/
|
|
1798
3384
|
async deleteChatappTemplate(request) {
|
|
1799
3385
|
let runtime = new $Util.RuntimeOptions({});
|
|
1800
3386
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
1801
3387
|
}
|
|
3388
|
+
/**
|
|
3389
|
+
* ### QPS limit
|
|
3390
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3391
|
+
*
|
|
3392
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3393
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3394
|
+
* @return GetChatappTemplateDetailResponse
|
|
3395
|
+
*/
|
|
1802
3396
|
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
1803
3397
|
tea_util_1.default.validateModel(request);
|
|
1804
3398
|
let query = {};
|
|
@@ -1833,16 +3427,156 @@ class Client extends openapi_client_1.default {
|
|
|
1833
3427
|
});
|
|
1834
3428
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
1835
3429
|
}
|
|
3430
|
+
/**
|
|
3431
|
+
* ### QPS limit
|
|
3432
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3433
|
+
*
|
|
3434
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3435
|
+
* @return GetChatappTemplateDetailResponse
|
|
3436
|
+
*/
|
|
1836
3437
|
async getChatappTemplateDetail(request) {
|
|
1837
3438
|
let runtime = new $Util.RuntimeOptions({});
|
|
1838
3439
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
1839
3440
|
}
|
|
3441
|
+
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
3442
|
+
tea_util_1.default.validateModel(request);
|
|
3443
|
+
let body = {};
|
|
3444
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3445
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3446
|
+
}
|
|
3447
|
+
if (!tea_util_1.default.isUnset(request.locale)) {
|
|
3448
|
+
body["Locale"] = request.locale;
|
|
3449
|
+
}
|
|
3450
|
+
if (!tea_util_1.default.isUnset(request.method)) {
|
|
3451
|
+
body["Method"] = request.method;
|
|
3452
|
+
}
|
|
3453
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3454
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
3455
|
+
}
|
|
3456
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3457
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3458
|
+
});
|
|
3459
|
+
let params = new $OpenApi.Params({
|
|
3460
|
+
action: "GetChatappVerifyCode",
|
|
3461
|
+
version: "2020-06-06",
|
|
3462
|
+
protocol: "HTTPS",
|
|
3463
|
+
pathname: "/",
|
|
3464
|
+
method: "POST",
|
|
3465
|
+
authType: "AK",
|
|
3466
|
+
style: "RPC",
|
|
3467
|
+
reqBodyType: "formData",
|
|
3468
|
+
bodyType: "json",
|
|
3469
|
+
});
|
|
3470
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
3471
|
+
}
|
|
3472
|
+
async getChatappVerifyCode(request) {
|
|
3473
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3474
|
+
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
3475
|
+
}
|
|
3476
|
+
async getMigrationVerifyCodeWithOptions(request, runtime) {
|
|
3477
|
+
tea_util_1.default.validateModel(request);
|
|
3478
|
+
let query = {};
|
|
3479
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3480
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3481
|
+
}
|
|
3482
|
+
if (!tea_util_1.default.isUnset(request.locale)) {
|
|
3483
|
+
query["Locale"] = request.locale;
|
|
3484
|
+
}
|
|
3485
|
+
if (!tea_util_1.default.isUnset(request.method)) {
|
|
3486
|
+
query["Method"] = request.method;
|
|
3487
|
+
}
|
|
3488
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3489
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3490
|
+
}
|
|
3491
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3492
|
+
query: openapi_util_1.default.query(query),
|
|
3493
|
+
});
|
|
3494
|
+
let params = new $OpenApi.Params({
|
|
3495
|
+
action: "GetMigrationVerifyCode",
|
|
3496
|
+
version: "2020-06-06",
|
|
3497
|
+
protocol: "HTTPS",
|
|
3498
|
+
pathname: "/",
|
|
3499
|
+
method: "POST",
|
|
3500
|
+
authType: "AK",
|
|
3501
|
+
style: "RPC",
|
|
3502
|
+
reqBodyType: "formData",
|
|
3503
|
+
bodyType: "json",
|
|
3504
|
+
});
|
|
3505
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
3506
|
+
}
|
|
3507
|
+
async getMigrationVerifyCode(request) {
|
|
3508
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3509
|
+
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
3510
|
+
}
|
|
3511
|
+
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
3512
|
+
tea_util_1.default.validateModel(request);
|
|
3513
|
+
let body = {};
|
|
3514
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3515
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3516
|
+
}
|
|
3517
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3518
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
3519
|
+
}
|
|
3520
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3521
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3522
|
+
});
|
|
3523
|
+
let params = new $OpenApi.Params({
|
|
3524
|
+
action: "GetPhoneNumberVerificationStatus",
|
|
3525
|
+
version: "2020-06-06",
|
|
3526
|
+
protocol: "HTTPS",
|
|
3527
|
+
pathname: "/",
|
|
3528
|
+
method: "POST",
|
|
3529
|
+
authType: "AK",
|
|
3530
|
+
style: "RPC",
|
|
3531
|
+
reqBodyType: "formData",
|
|
3532
|
+
bodyType: "json",
|
|
3533
|
+
});
|
|
3534
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
3535
|
+
}
|
|
3536
|
+
async getPhoneNumberVerificationStatus(request) {
|
|
3537
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3538
|
+
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
3539
|
+
}
|
|
3540
|
+
async isvGetAppIdWithOptions(request, runtime) {
|
|
3541
|
+
tea_util_1.default.validateModel(request);
|
|
3542
|
+
let body = {};
|
|
3543
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3544
|
+
body["Type"] = request.type;
|
|
3545
|
+
}
|
|
3546
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3547
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3548
|
+
});
|
|
3549
|
+
let params = new $OpenApi.Params({
|
|
3550
|
+
action: "IsvGetAppId",
|
|
3551
|
+
version: "2020-06-06",
|
|
3552
|
+
protocol: "HTTPS",
|
|
3553
|
+
pathname: "/",
|
|
3554
|
+
method: "POST",
|
|
3555
|
+
authType: "AK",
|
|
3556
|
+
style: "RPC",
|
|
3557
|
+
reqBodyType: "formData",
|
|
3558
|
+
bodyType: "json",
|
|
3559
|
+
});
|
|
3560
|
+
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
3561
|
+
}
|
|
3562
|
+
async isvGetAppId(request) {
|
|
3563
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3564
|
+
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
3565
|
+
}
|
|
3566
|
+
/**
|
|
3567
|
+
* ### QPS limit
|
|
3568
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3569
|
+
*
|
|
3570
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
3571
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3572
|
+
* @return ListChatappTemplateResponse
|
|
3573
|
+
*/
|
|
1840
3574
|
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
1841
3575
|
tea_util_1.default.validateModel(tmpReq);
|
|
1842
3576
|
let request = new ListChatappTemplateShrinkRequest({});
|
|
1843
3577
|
openapi_util_1.default.convert(tmpReq, request);
|
|
1844
|
-
if (!tea_util_1.default.isUnset(
|
|
1845
|
-
request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(
|
|
3578
|
+
if (!tea_util_1.default.isUnset(tmpReq.page)) {
|
|
3579
|
+
request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
1846
3580
|
}
|
|
1847
3581
|
let query = {};
|
|
1848
3582
|
if (!tea_util_1.default.isUnset(request.auditStatus)) {
|
|
@@ -1882,6 +3616,13 @@ class Client extends openapi_client_1.default {
|
|
|
1882
3616
|
});
|
|
1883
3617
|
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
1884
3618
|
}
|
|
3619
|
+
/**
|
|
3620
|
+
* ### QPS limit
|
|
3621
|
+
* You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3622
|
+
*
|
|
3623
|
+
* @param request ListChatappTemplateRequest
|
|
3624
|
+
* @return ListChatappTemplateResponse
|
|
3625
|
+
*/
|
|
1885
3626
|
async listChatappTemplate(request) {
|
|
1886
3627
|
let runtime = new $Util.RuntimeOptions({});
|
|
1887
3628
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
@@ -1938,6 +3679,65 @@ class Client extends openapi_client_1.default {
|
|
|
1938
3679
|
let runtime = new $Util.RuntimeOptions({});
|
|
1939
3680
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
1940
3681
|
}
|
|
3682
|
+
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
3683
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3684
|
+
let request = new ModifyPhoneBusinessProfileShrinkRequest({});
|
|
3685
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3686
|
+
if (!tea_util_1.default.isUnset(tmpReq.websites)) {
|
|
3687
|
+
request.websitesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.websites, "Websites", "json");
|
|
3688
|
+
}
|
|
3689
|
+
let query = {};
|
|
3690
|
+
if (!tea_util_1.default.isUnset(request.address)) {
|
|
3691
|
+
query["Address"] = request.address;
|
|
3692
|
+
}
|
|
3693
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3694
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3695
|
+
}
|
|
3696
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
3697
|
+
query["Description"] = request.description;
|
|
3698
|
+
}
|
|
3699
|
+
if (!tea_util_1.default.isUnset(request.email)) {
|
|
3700
|
+
query["Email"] = request.email;
|
|
3701
|
+
}
|
|
3702
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3703
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3704
|
+
}
|
|
3705
|
+
if (!tea_util_1.default.isUnset(request.profilePictureUrl)) {
|
|
3706
|
+
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
3707
|
+
}
|
|
3708
|
+
if (!tea_util_1.default.isUnset(request.vertical)) {
|
|
3709
|
+
query["Vertical"] = request.vertical;
|
|
3710
|
+
}
|
|
3711
|
+
if (!tea_util_1.default.isUnset(request.websitesShrink)) {
|
|
3712
|
+
query["Websites"] = request.websitesShrink;
|
|
3713
|
+
}
|
|
3714
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3715
|
+
query: openapi_util_1.default.query(query),
|
|
3716
|
+
});
|
|
3717
|
+
let params = new $OpenApi.Params({
|
|
3718
|
+
action: "ModifyPhoneBusinessProfile",
|
|
3719
|
+
version: "2020-06-06",
|
|
3720
|
+
protocol: "HTTPS",
|
|
3721
|
+
pathname: "/",
|
|
3722
|
+
method: "POST",
|
|
3723
|
+
authType: "AK",
|
|
3724
|
+
style: "RPC",
|
|
3725
|
+
reqBodyType: "formData",
|
|
3726
|
+
bodyType: "json",
|
|
3727
|
+
});
|
|
3728
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
3729
|
+
}
|
|
3730
|
+
async modifyPhoneBusinessProfile(request) {
|
|
3731
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3732
|
+
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
3733
|
+
}
|
|
3734
|
+
/**
|
|
3735
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3736
|
+
*
|
|
3737
|
+
* @param request QueryChatappBindWabaRequest
|
|
3738
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3739
|
+
* @return QueryChatappBindWabaResponse
|
|
3740
|
+
*/
|
|
1941
3741
|
async queryChatappBindWabaWithOptions(request, runtime) {
|
|
1942
3742
|
tea_util_1.default.validateModel(request);
|
|
1943
3743
|
let query = {};
|
|
@@ -1963,10 +3763,23 @@ class Client extends openapi_client_1.default {
|
|
|
1963
3763
|
});
|
|
1964
3764
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
1965
3765
|
}
|
|
3766
|
+
/**
|
|
3767
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3768
|
+
*
|
|
3769
|
+
* @param request QueryChatappBindWabaRequest
|
|
3770
|
+
* @return QueryChatappBindWabaResponse
|
|
3771
|
+
*/
|
|
1966
3772
|
async queryChatappBindWaba(request) {
|
|
1967
3773
|
let runtime = new $Util.RuntimeOptions({});
|
|
1968
3774
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
1969
3775
|
}
|
|
3776
|
+
/**
|
|
3777
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3778
|
+
*
|
|
3779
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
3780
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3781
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
3782
|
+
*/
|
|
1970
3783
|
async queryChatappPhoneNumbersWithOptions(request, runtime) {
|
|
1971
3784
|
tea_util_1.default.validateModel(request);
|
|
1972
3785
|
let query = {};
|
|
@@ -1992,10 +3805,82 @@ class Client extends openapi_client_1.default {
|
|
|
1992
3805
|
});
|
|
1993
3806
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
1994
3807
|
}
|
|
3808
|
+
/**
|
|
3809
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3810
|
+
*
|
|
3811
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
3812
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
3813
|
+
*/
|
|
1995
3814
|
async queryChatappPhoneNumbers(request) {
|
|
1996
3815
|
let runtime = new $Util.RuntimeOptions({});
|
|
1997
3816
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
1998
3817
|
}
|
|
3818
|
+
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
3819
|
+
tea_util_1.default.validateModel(request);
|
|
3820
|
+
let query = {};
|
|
3821
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3822
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3823
|
+
}
|
|
3824
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
3825
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3826
|
+
}
|
|
3827
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3828
|
+
query: openapi_util_1.default.query(query),
|
|
3829
|
+
});
|
|
3830
|
+
let params = new $OpenApi.Params({
|
|
3831
|
+
action: "QueryPhoneBusinessProfile",
|
|
3832
|
+
version: "2020-06-06",
|
|
3833
|
+
protocol: "HTTPS",
|
|
3834
|
+
pathname: "/",
|
|
3835
|
+
method: "POST",
|
|
3836
|
+
authType: "AK",
|
|
3837
|
+
style: "RPC",
|
|
3838
|
+
reqBodyType: "formData",
|
|
3839
|
+
bodyType: "json",
|
|
3840
|
+
});
|
|
3841
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
3842
|
+
}
|
|
3843
|
+
async queryPhoneBusinessProfile(request) {
|
|
3844
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3845
|
+
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
3846
|
+
}
|
|
3847
|
+
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
3848
|
+
tea_util_1.default.validateModel(request);
|
|
3849
|
+
let query = {};
|
|
3850
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3851
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3852
|
+
}
|
|
3853
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
3854
|
+
query["WabaId"] = request.wabaId;
|
|
3855
|
+
}
|
|
3856
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3857
|
+
query: openapi_util_1.default.query(query),
|
|
3858
|
+
});
|
|
3859
|
+
let params = new $OpenApi.Params({
|
|
3860
|
+
action: "QueryWabaBusinessInfo",
|
|
3861
|
+
version: "2020-06-06",
|
|
3862
|
+
protocol: "HTTPS",
|
|
3863
|
+
pathname: "/",
|
|
3864
|
+
method: "POST",
|
|
3865
|
+
authType: "AK",
|
|
3866
|
+
style: "RPC",
|
|
3867
|
+
reqBodyType: "formData",
|
|
3868
|
+
bodyType: "json",
|
|
3869
|
+
});
|
|
3870
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
3871
|
+
}
|
|
3872
|
+
async queryWabaBusinessInfo(request) {
|
|
3873
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3874
|
+
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
3875
|
+
}
|
|
3876
|
+
/**
|
|
3877
|
+
* You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3878
|
+
* Can support up to 1,000 numbers per request.
|
|
3879
|
+
*
|
|
3880
|
+
* @param tmpReq SendChatappMassMessageRequest
|
|
3881
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3882
|
+
* @return SendChatappMassMessageResponse
|
|
3883
|
+
*/
|
|
1999
3884
|
async sendChatappMassMessageWithOptions(tmpReq, runtime) {
|
|
2000
3885
|
tea_util_1.default.validateModel(tmpReq);
|
|
2001
3886
|
let request = new SendChatappMassMessageShrinkRequest({});
|
|
@@ -2053,10 +3938,24 @@ class Client extends openapi_client_1.default {
|
|
|
2053
3938
|
});
|
|
2054
3939
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
2055
3940
|
}
|
|
3941
|
+
/**
|
|
3942
|
+
* You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3943
|
+
* Can support up to 1,000 numbers per request.
|
|
3944
|
+
*
|
|
3945
|
+
* @param request SendChatappMassMessageRequest
|
|
3946
|
+
* @return SendChatappMassMessageResponse
|
|
3947
|
+
*/
|
|
2056
3948
|
async sendChatappMassMessage(request) {
|
|
2057
3949
|
let runtime = new $Util.RuntimeOptions({});
|
|
2058
3950
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
2059
3951
|
}
|
|
3952
|
+
/**
|
|
3953
|
+
* You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
3954
|
+
*
|
|
3955
|
+
* @param tmpReq SendChatappMessageRequest
|
|
3956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3957
|
+
* @return SendChatappMessageResponse
|
|
3958
|
+
*/
|
|
2060
3959
|
async sendChatappMessageWithOptions(tmpReq, runtime) {
|
|
2061
3960
|
tea_util_1.default.validateModel(tmpReq);
|
|
2062
3961
|
let request = new SendChatappMessageShrinkRequest({});
|
|
@@ -2078,6 +3977,9 @@ class Client extends openapi_client_1.default {
|
|
|
2078
3977
|
if (!tea_util_1.default.isUnset(request.channelType)) {
|
|
2079
3978
|
body["ChannelType"] = request.channelType;
|
|
2080
3979
|
}
|
|
3980
|
+
if (!tea_util_1.default.isUnset(request.contextMessageId)) {
|
|
3981
|
+
body["ContextMessageId"] = request.contextMessageId;
|
|
3982
|
+
}
|
|
2081
3983
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
2082
3984
|
body["CustSpaceId"] = request.custSpaceId;
|
|
2083
3985
|
}
|
|
@@ -2096,12 +3998,18 @@ class Client extends openapi_client_1.default {
|
|
|
2096
3998
|
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
2097
3999
|
body["IsvCode"] = request.isvCode;
|
|
2098
4000
|
}
|
|
4001
|
+
if (!tea_util_1.default.isUnset(request.label)) {
|
|
4002
|
+
body["Label"] = request.label;
|
|
4003
|
+
}
|
|
2099
4004
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
2100
4005
|
body["Language"] = request.language;
|
|
2101
4006
|
}
|
|
2102
4007
|
if (!tea_util_1.default.isUnset(request.messageType)) {
|
|
2103
4008
|
body["MessageType"] = request.messageType;
|
|
2104
4009
|
}
|
|
4010
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
4011
|
+
body["Tag"] = request.tag;
|
|
4012
|
+
}
|
|
2105
4013
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
2106
4014
|
body["TemplateCode"] = request.templateCode;
|
|
2107
4015
|
}
|
|
@@ -2111,6 +4019,12 @@ class Client extends openapi_client_1.default {
|
|
|
2111
4019
|
if (!tea_util_1.default.isUnset(request.to)) {
|
|
2112
4020
|
body["To"] = request.to;
|
|
2113
4021
|
}
|
|
4022
|
+
if (!tea_util_1.default.isUnset(request.trackingData)) {
|
|
4023
|
+
body["TrackingData"] = request.trackingData;
|
|
4024
|
+
}
|
|
4025
|
+
if (!tea_util_1.default.isUnset(request.ttl)) {
|
|
4026
|
+
body["Ttl"] = request.ttl;
|
|
4027
|
+
}
|
|
2114
4028
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
2115
4029
|
body["Type"] = request.type;
|
|
2116
4030
|
}
|
|
@@ -2131,10 +4045,92 @@ class Client extends openapi_client_1.default {
|
|
|
2131
4045
|
});
|
|
2132
4046
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
2133
4047
|
}
|
|
4048
|
+
/**
|
|
4049
|
+
* You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
|
|
4050
|
+
*
|
|
4051
|
+
* @param request SendChatappMessageRequest
|
|
4052
|
+
* @return SendChatappMessageResponse
|
|
4053
|
+
*/
|
|
2134
4054
|
async sendChatappMessage(request) {
|
|
2135
4055
|
let runtime = new $Util.RuntimeOptions({});
|
|
2136
4056
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
2137
4057
|
}
|
|
4058
|
+
async updateAccountWebhookWithOptions(request, runtime) {
|
|
4059
|
+
tea_util_1.default.validateModel(request);
|
|
4060
|
+
let query = {};
|
|
4061
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4062
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4063
|
+
}
|
|
4064
|
+
if (!tea_util_1.default.isUnset(request.httpFlag)) {
|
|
4065
|
+
query["HttpFlag"] = request.httpFlag;
|
|
4066
|
+
}
|
|
4067
|
+
if (!tea_util_1.default.isUnset(request.queueFlag)) {
|
|
4068
|
+
query["QueueFlag"] = request.queueFlag;
|
|
4069
|
+
}
|
|
4070
|
+
if (!tea_util_1.default.isUnset(request.statusCallbackUrl)) {
|
|
4071
|
+
query["StatusCallbackUrl"] = request.statusCallbackUrl;
|
|
4072
|
+
}
|
|
4073
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4074
|
+
query: openapi_util_1.default.query(query),
|
|
4075
|
+
});
|
|
4076
|
+
let params = new $OpenApi.Params({
|
|
4077
|
+
action: "UpdateAccountWebhook",
|
|
4078
|
+
version: "2020-06-06",
|
|
4079
|
+
protocol: "HTTPS",
|
|
4080
|
+
pathname: "/",
|
|
4081
|
+
method: "POST",
|
|
4082
|
+
authType: "AK",
|
|
4083
|
+
style: "RPC",
|
|
4084
|
+
reqBodyType: "formData",
|
|
4085
|
+
bodyType: "json",
|
|
4086
|
+
});
|
|
4087
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
|
|
4088
|
+
}
|
|
4089
|
+
async updateAccountWebhook(request) {
|
|
4090
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4091
|
+
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
4092
|
+
}
|
|
4093
|
+
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
4094
|
+
tea_util_1.default.validateModel(request);
|
|
4095
|
+
let query = {};
|
|
4096
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4097
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4098
|
+
}
|
|
4099
|
+
if (!tea_util_1.default.isUnset(request.httpFlag)) {
|
|
4100
|
+
query["HttpFlag"] = request.httpFlag;
|
|
4101
|
+
}
|
|
4102
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4103
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4104
|
+
}
|
|
4105
|
+
if (!tea_util_1.default.isUnset(request.queueFlag)) {
|
|
4106
|
+
query["QueueFlag"] = request.queueFlag;
|
|
4107
|
+
}
|
|
4108
|
+
if (!tea_util_1.default.isUnset(request.statusCallbackUrl)) {
|
|
4109
|
+
query["StatusCallbackUrl"] = request.statusCallbackUrl;
|
|
4110
|
+
}
|
|
4111
|
+
if (!tea_util_1.default.isUnset(request.upCallbackUrl)) {
|
|
4112
|
+
query["UpCallbackUrl"] = request.upCallbackUrl;
|
|
4113
|
+
}
|
|
4114
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4115
|
+
query: openapi_util_1.default.query(query),
|
|
4116
|
+
});
|
|
4117
|
+
let params = new $OpenApi.Params({
|
|
4118
|
+
action: "UpdatePhoneWebhook",
|
|
4119
|
+
version: "2020-06-06",
|
|
4120
|
+
protocol: "HTTPS",
|
|
4121
|
+
pathname: "/",
|
|
4122
|
+
method: "POST",
|
|
4123
|
+
authType: "AK",
|
|
4124
|
+
style: "RPC",
|
|
4125
|
+
reqBodyType: "formData",
|
|
4126
|
+
bodyType: "json",
|
|
4127
|
+
});
|
|
4128
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
4129
|
+
}
|
|
4130
|
+
async updatePhoneWebhook(request) {
|
|
4131
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4132
|
+
return await this.updatePhoneWebhookWithOptions(request, runtime);
|
|
4133
|
+
}
|
|
2138
4134
|
}
|
|
2139
4135
|
exports.default = Client;
|
|
2140
4136
|
//# sourceMappingURL=client.js.map
|