@alicloud/cams20200606 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -1220,26 +1220,23 @@ export class CreateChatappTemplateResponse extends $tea.Model {
1220
1220
  }
1221
1221
  }
1222
1222
 
1223
- export class DeleteChatappTemplateRequest extends $tea.Model {
1223
+ export class CreateFlowRequest extends $tea.Model {
1224
+ categories?: string[];
1224
1225
  custSpaceId?: string;
1225
- custWabaId?: string;
1226
- isvCode?: string;
1227
- templateCode?: string;
1226
+ flowName?: string;
1228
1227
  static names(): { [key: string]: string } {
1229
1228
  return {
1229
+ categories: 'Categories',
1230
1230
  custSpaceId: 'CustSpaceId',
1231
- custWabaId: 'CustWabaId',
1232
- isvCode: 'IsvCode',
1233
- templateCode: 'TemplateCode',
1231
+ flowName: 'FlowName',
1234
1232
  };
1235
1233
  }
1236
1234
 
1237
1235
  static types(): { [key: string]: any } {
1238
1236
  return {
1237
+ categories: { 'type': 'array', 'itemType': 'string' },
1239
1238
  custSpaceId: 'string',
1240
- custWabaId: 'string',
1241
- isvCode: 'string',
1242
- templateCode: 'string',
1239
+ flowName: 'string',
1243
1240
  };
1244
1241
  }
1245
1242
 
@@ -1248,15 +1245,40 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
1248
1245
  }
1249
1246
  }
1250
1247
 
1251
- export class DeleteChatappTemplateResponseBody extends $tea.Model {
1252
- accessDeniedDetail?: string;
1248
+ export class CreateFlowShrinkRequest extends $tea.Model {
1249
+ categoriesShrink?: string;
1250
+ custSpaceId?: string;
1251
+ flowName?: string;
1252
+ static names(): { [key: string]: string } {
1253
+ return {
1254
+ categoriesShrink: 'Categories',
1255
+ custSpaceId: 'CustSpaceId',
1256
+ flowName: 'FlowName',
1257
+ };
1258
+ }
1259
+
1260
+ static types(): { [key: string]: any } {
1261
+ return {
1262
+ categoriesShrink: 'string',
1263
+ custSpaceId: 'string',
1264
+ flowName: 'string',
1265
+ };
1266
+ }
1267
+
1268
+ constructor(map?: { [key: string]: any }) {
1269
+ super(map);
1270
+ }
1271
+ }
1272
+
1273
+ export class CreateFlowResponseBody extends $tea.Model {
1253
1274
  code?: string;
1275
+ data?: CreateFlowResponseBodyData;
1254
1276
  message?: string;
1255
1277
  requestId?: string;
1256
1278
  static names(): { [key: string]: string } {
1257
1279
  return {
1258
- accessDeniedDetail: 'AccessDeniedDetail',
1259
1280
  code: 'Code',
1281
+ data: 'Data',
1260
1282
  message: 'Message',
1261
1283
  requestId: 'RequestId',
1262
1284
  };
@@ -1264,8 +1286,8 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
1264
1286
 
1265
1287
  static types(): { [key: string]: any } {
1266
1288
  return {
1267
- accessDeniedDetail: 'string',
1268
1289
  code: 'string',
1290
+ data: CreateFlowResponseBodyData,
1269
1291
  message: 'string',
1270
1292
  requestId: 'string',
1271
1293
  };
@@ -1276,10 +1298,10 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
1276
1298
  }
1277
1299
  }
1278
1300
 
1279
- export class DeleteChatappTemplateResponse extends $tea.Model {
1301
+ export class CreateFlowResponse extends $tea.Model {
1280
1302
  headers: { [key: string]: string };
1281
1303
  statusCode: number;
1282
- body: DeleteChatappTemplateResponseBody;
1304
+ body: CreateFlowResponseBody;
1283
1305
  static names(): { [key: string]: string } {
1284
1306
  return {
1285
1307
  headers: 'headers',
@@ -1292,7 +1314,7 @@ export class DeleteChatappTemplateResponse extends $tea.Model {
1292
1314
  return {
1293
1315
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1294
1316
  statusCode: 'number',
1295
- body: DeleteChatappTemplateResponseBody,
1317
+ body: CreateFlowResponseBody,
1296
1318
  };
1297
1319
  }
1298
1320
 
@@ -1301,20 +1323,26 @@ export class DeleteChatappTemplateResponse extends $tea.Model {
1301
1323
  }
1302
1324
  }
1303
1325
 
1304
- export class EnableWhatsappROIMetricRequest extends $tea.Model {
1326
+ export class CreatePhoneMessageQrdlRequest extends $tea.Model {
1305
1327
  custSpaceId?: string;
1306
- isvCode?: string;
1328
+ generateQrImage?: string;
1329
+ phoneNumber?: string;
1330
+ prefilledMessage?: string;
1307
1331
  static names(): { [key: string]: string } {
1308
1332
  return {
1309
1333
  custSpaceId: 'CustSpaceId',
1310
- isvCode: 'IsvCode',
1334
+ generateQrImage: 'GenerateQrImage',
1335
+ phoneNumber: 'PhoneNumber',
1336
+ prefilledMessage: 'PrefilledMessage',
1311
1337
  };
1312
1338
  }
1313
1339
 
1314
1340
  static types(): { [key: string]: any } {
1315
1341
  return {
1316
1342
  custSpaceId: 'string',
1317
- isvCode: 'string',
1343
+ generateQrImage: 'string',
1344
+ phoneNumber: 'string',
1345
+ prefilledMessage: 'string',
1318
1346
  };
1319
1347
  }
1320
1348
 
@@ -1323,15 +1351,15 @@ export class EnableWhatsappROIMetricRequest extends $tea.Model {
1323
1351
  }
1324
1352
  }
1325
1353
 
1326
- export class EnableWhatsappROIMetricResponseBody extends $tea.Model {
1327
- accessDeniedDetail?: string;
1354
+ export class CreatePhoneMessageQrdlResponseBody extends $tea.Model {
1328
1355
  code?: string;
1356
+ data?: CreatePhoneMessageQrdlResponseBodyData;
1329
1357
  message?: string;
1330
1358
  requestId?: string;
1331
1359
  static names(): { [key: string]: string } {
1332
1360
  return {
1333
- accessDeniedDetail: 'AccessDeniedDetail',
1334
1361
  code: 'Code',
1362
+ data: 'Data',
1335
1363
  message: 'Message',
1336
1364
  requestId: 'RequestId',
1337
1365
  };
@@ -1339,8 +1367,8 @@ export class EnableWhatsappROIMetricResponseBody extends $tea.Model {
1339
1367
 
1340
1368
  static types(): { [key: string]: any } {
1341
1369
  return {
1342
- accessDeniedDetail: 'string',
1343
1370
  code: 'string',
1371
+ data: CreatePhoneMessageQrdlResponseBodyData,
1344
1372
  message: 'string',
1345
1373
  requestId: 'string',
1346
1374
  };
@@ -1351,10 +1379,10 @@ export class EnableWhatsappROIMetricResponseBody extends $tea.Model {
1351
1379
  }
1352
1380
  }
1353
1381
 
1354
- export class EnableWhatsappROIMetricResponse extends $tea.Model {
1382
+ export class CreatePhoneMessageQrdlResponse extends $tea.Model {
1355
1383
  headers: { [key: string]: string };
1356
1384
  statusCode: number;
1357
- body: EnableWhatsappROIMetricResponseBody;
1385
+ body: CreatePhoneMessageQrdlResponseBody;
1358
1386
  static names(): { [key: string]: string } {
1359
1387
  return {
1360
1388
  headers: 'headers',
@@ -1367,7 +1395,7 @@ export class EnableWhatsappROIMetricResponse extends $tea.Model {
1367
1395
  return {
1368
1396
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1369
1397
  statusCode: 'number',
1370
- body: EnableWhatsappROIMetricResponseBody,
1398
+ body: CreatePhoneMessageQrdlResponseBody,
1371
1399
  };
1372
1400
  }
1373
1401
 
@@ -1376,32 +1404,26 @@ export class EnableWhatsappROIMetricResponse extends $tea.Model {
1376
1404
  }
1377
1405
  }
1378
1406
 
1379
- export class GetChatappPhoneNumberMetricRequest extends $tea.Model {
1407
+ export class DeleteChatappTemplateRequest extends $tea.Model {
1380
1408
  custSpaceId?: string;
1381
- end?: number;
1382
- granularity?: string;
1409
+ custWabaId?: string;
1383
1410
  isvCode?: string;
1384
- phoneNumber?: string;
1385
- start?: number;
1411
+ templateCode?: string;
1386
1412
  static names(): { [key: string]: string } {
1387
1413
  return {
1388
1414
  custSpaceId: 'CustSpaceId',
1389
- end: 'End',
1390
- granularity: 'Granularity',
1415
+ custWabaId: 'CustWabaId',
1391
1416
  isvCode: 'IsvCode',
1392
- phoneNumber: 'PhoneNumber',
1393
- start: 'Start',
1417
+ templateCode: 'TemplateCode',
1394
1418
  };
1395
1419
  }
1396
1420
 
1397
1421
  static types(): { [key: string]: any } {
1398
1422
  return {
1399
1423
  custSpaceId: 'string',
1400
- end: 'number',
1401
- granularity: 'string',
1424
+ custWabaId: 'string',
1402
1425
  isvCode: 'string',
1403
- phoneNumber: 'string',
1404
- start: 'number',
1426
+ templateCode: 'string',
1405
1427
  };
1406
1428
  }
1407
1429
 
@@ -1410,17 +1432,15 @@ export class GetChatappPhoneNumberMetricRequest extends $tea.Model {
1410
1432
  }
1411
1433
  }
1412
1434
 
1413
- export class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
1435
+ export class DeleteChatappTemplateResponseBody extends $tea.Model {
1414
1436
  accessDeniedDetail?: string;
1415
1437
  code?: string;
1416
- data?: GetChatappPhoneNumberMetricResponseBodyData[];
1417
1438
  message?: string;
1418
1439
  requestId?: string;
1419
1440
  static names(): { [key: string]: string } {
1420
1441
  return {
1421
1442
  accessDeniedDetail: 'AccessDeniedDetail',
1422
1443
  code: 'Code',
1423
- data: 'Data',
1424
1444
  message: 'Message',
1425
1445
  requestId: 'RequestId',
1426
1446
  };
@@ -1430,7 +1450,6 @@ export class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
1430
1450
  return {
1431
1451
  accessDeniedDetail: 'string',
1432
1452
  code: 'string',
1433
- data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
1434
1453
  message: 'string',
1435
1454
  requestId: 'string',
1436
1455
  };
@@ -1441,10 +1460,10 @@ export class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
1441
1460
  }
1442
1461
  }
1443
1462
 
1444
- export class GetChatappPhoneNumberMetricResponse extends $tea.Model {
1463
+ export class DeleteChatappTemplateResponse extends $tea.Model {
1445
1464
  headers: { [key: string]: string };
1446
1465
  statusCode: number;
1447
- body: GetChatappPhoneNumberMetricResponseBody;
1466
+ body: DeleteChatappTemplateResponseBody;
1448
1467
  static names(): { [key: string]: string } {
1449
1468
  return {
1450
1469
  headers: 'headers',
@@ -1457,7 +1476,7 @@ export class GetChatappPhoneNumberMetricResponse extends $tea.Model {
1457
1476
  return {
1458
1477
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1459
1478
  statusCode: 'number',
1460
- body: GetChatappPhoneNumberMetricResponseBody,
1479
+ body: DeleteChatappTemplateResponseBody,
1461
1480
  };
1462
1481
  }
1463
1482
 
@@ -1466,32 +1485,20 @@ export class GetChatappPhoneNumberMetricResponse extends $tea.Model {
1466
1485
  }
1467
1486
  }
1468
1487
 
1469
- export class GetChatappTemplateDetailRequest extends $tea.Model {
1488
+ export class DeleteFlowRequest extends $tea.Model {
1470
1489
  custSpaceId?: string;
1471
- custWabaId?: string;
1472
- isvCode?: string;
1473
- language?: string;
1474
- templateCode?: string;
1475
- templateType?: string;
1490
+ flowId?: string;
1476
1491
  static names(): { [key: string]: string } {
1477
1492
  return {
1478
1493
  custSpaceId: 'CustSpaceId',
1479
- custWabaId: 'CustWabaId',
1480
- isvCode: 'IsvCode',
1481
- language: 'Language',
1482
- templateCode: 'TemplateCode',
1483
- templateType: 'TemplateType',
1494
+ flowId: 'FlowId',
1484
1495
  };
1485
1496
  }
1486
1497
 
1487
1498
  static types(): { [key: string]: any } {
1488
1499
  return {
1489
1500
  custSpaceId: 'string',
1490
- custWabaId: 'string',
1491
- isvCode: 'string',
1492
- language: 'string',
1493
- templateCode: 'string',
1494
- templateType: 'string',
1501
+ flowId: 'string',
1495
1502
  };
1496
1503
  }
1497
1504
 
@@ -1500,17 +1507,13 @@ export class GetChatappTemplateDetailRequest extends $tea.Model {
1500
1507
  }
1501
1508
  }
1502
1509
 
1503
- export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1504
- accessDeniedDetail?: string;
1510
+ export class DeleteFlowResponseBody extends $tea.Model {
1505
1511
  code?: string;
1506
- data?: GetChatappTemplateDetailResponseBodyData;
1507
1512
  message?: string;
1508
1513
  requestId?: string;
1509
1514
  static names(): { [key: string]: string } {
1510
1515
  return {
1511
- accessDeniedDetail: 'AccessDeniedDetail',
1512
1516
  code: 'Code',
1513
- data: 'Data',
1514
1517
  message: 'Message',
1515
1518
  requestId: 'RequestId',
1516
1519
  };
@@ -1518,9 +1521,7 @@ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1518
1521
 
1519
1522
  static types(): { [key: string]: any } {
1520
1523
  return {
1521
- accessDeniedDetail: 'string',
1522
1524
  code: 'string',
1523
- data: GetChatappTemplateDetailResponseBodyData,
1524
1525
  message: 'string',
1525
1526
  requestId: 'string',
1526
1527
  };
@@ -1531,10 +1532,10 @@ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1531
1532
  }
1532
1533
  }
1533
1534
 
1534
- export class GetChatappTemplateDetailResponse extends $tea.Model {
1535
+ export class DeleteFlowResponse extends $tea.Model {
1535
1536
  headers: { [key: string]: string };
1536
1537
  statusCode: number;
1537
- body: GetChatappTemplateDetailResponseBody;
1538
+ body: DeleteFlowResponseBody;
1538
1539
  static names(): { [key: string]: string } {
1539
1540
  return {
1540
1541
  headers: 'headers',
@@ -1547,7 +1548,7 @@ export class GetChatappTemplateDetailResponse extends $tea.Model {
1547
1548
  return {
1548
1549
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1549
1550
  statusCode: 'number',
1550
- body: GetChatappTemplateDetailResponseBody,
1551
+ body: DeleteFlowResponseBody,
1551
1552
  };
1552
1553
  }
1553
1554
 
@@ -1556,38 +1557,23 @@ export class GetChatappTemplateDetailResponse extends $tea.Model {
1556
1557
  }
1557
1558
  }
1558
1559
 
1559
- export class GetChatappTemplateMetricRequest extends $tea.Model {
1560
+ export class DeletePhoneMessageQrdlRequest extends $tea.Model {
1560
1561
  custSpaceId?: string;
1561
- end?: number;
1562
- granularity?: string;
1563
- isvCode?: string;
1564
- language?: string;
1565
- start?: number;
1566
- templateCode?: string;
1567
- templateType?: string;
1562
+ phoneNumber?: string;
1563
+ qrdlCode?: string;
1568
1564
  static names(): { [key: string]: string } {
1569
1565
  return {
1570
1566
  custSpaceId: 'CustSpaceId',
1571
- end: 'End',
1572
- granularity: 'Granularity',
1573
- isvCode: 'IsvCode',
1574
- language: 'Language',
1575
- start: 'Start',
1576
- templateCode: 'TemplateCode',
1577
- templateType: 'TemplateType',
1567
+ phoneNumber: 'PhoneNumber',
1568
+ qrdlCode: 'QrdlCode',
1578
1569
  };
1579
1570
  }
1580
1571
 
1581
1572
  static types(): { [key: string]: any } {
1582
1573
  return {
1583
1574
  custSpaceId: 'string',
1584
- end: 'number',
1585
- granularity: 'string',
1586
- isvCode: 'string',
1587
- language: 'string',
1588
- start: 'number',
1589
- templateCode: 'string',
1590
- templateType: 'string',
1575
+ phoneNumber: 'string',
1576
+ qrdlCode: 'string',
1591
1577
  };
1592
1578
  }
1593
1579
 
@@ -1596,17 +1582,13 @@ export class GetChatappTemplateMetricRequest extends $tea.Model {
1596
1582
  }
1597
1583
  }
1598
1584
 
1599
- export class GetChatappTemplateMetricResponseBody extends $tea.Model {
1600
- accessDeniedDetail?: string;
1585
+ export class DeletePhoneMessageQrdlResponseBody extends $tea.Model {
1601
1586
  code?: string;
1602
- data?: GetChatappTemplateMetricResponseBodyData[];
1603
1587
  message?: string;
1604
1588
  requestId?: string;
1605
1589
  static names(): { [key: string]: string } {
1606
1590
  return {
1607
- accessDeniedDetail: 'AccessDeniedDetail',
1608
1591
  code: 'Code',
1609
- data: 'Data',
1610
1592
  message: 'Message',
1611
1593
  requestId: 'RequestId',
1612
1594
  };
@@ -1614,9 +1596,7 @@ export class GetChatappTemplateMetricResponseBody extends $tea.Model {
1614
1596
 
1615
1597
  static types(): { [key: string]: any } {
1616
1598
  return {
1617
- accessDeniedDetail: 'string',
1618
1599
  code: 'string',
1619
- data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
1620
1600
  message: 'string',
1621
1601
  requestId: 'string',
1622
1602
  };
@@ -1627,10 +1607,10 @@ export class GetChatappTemplateMetricResponseBody extends $tea.Model {
1627
1607
  }
1628
1608
  }
1629
1609
 
1630
- export class GetChatappTemplateMetricResponse extends $tea.Model {
1610
+ export class DeletePhoneMessageQrdlResponse extends $tea.Model {
1631
1611
  headers: { [key: string]: string };
1632
1612
  statusCode: number;
1633
- body: GetChatappTemplateMetricResponseBody;
1613
+ body: DeletePhoneMessageQrdlResponseBody;
1634
1614
  static names(): { [key: string]: string } {
1635
1615
  return {
1636
1616
  headers: 'headers',
@@ -1643,7 +1623,7 @@ export class GetChatappTemplateMetricResponse extends $tea.Model {
1643
1623
  return {
1644
1624
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1645
1625
  statusCode: 'number',
1646
- body: GetChatappTemplateMetricResponseBody,
1626
+ body: DeletePhoneMessageQrdlResponseBody,
1647
1627
  };
1648
1628
  }
1649
1629
 
@@ -1652,17 +1632,20 @@ export class GetChatappTemplateMetricResponse extends $tea.Model {
1652
1632
  }
1653
1633
  }
1654
1634
 
1655
- export class GetChatappUploadAuthorizationRequest extends $tea.Model {
1635
+ export class DeprecateFlowRequest extends $tea.Model {
1656
1636
  custSpaceId?: string;
1637
+ flowId?: string;
1657
1638
  static names(): { [key: string]: string } {
1658
1639
  return {
1659
1640
  custSpaceId: 'CustSpaceId',
1641
+ flowId: 'FlowId',
1660
1642
  };
1661
1643
  }
1662
1644
 
1663
1645
  static types(): { [key: string]: any } {
1664
1646
  return {
1665
1647
  custSpaceId: 'string',
1648
+ flowId: 'string',
1666
1649
  };
1667
1650
  }
1668
1651
 
@@ -1671,17 +1654,13 @@ export class GetChatappUploadAuthorizationRequest extends $tea.Model {
1671
1654
  }
1672
1655
  }
1673
1656
 
1674
- export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1675
- accessDeniedDetail?: string;
1657
+ export class DeprecateFlowResponseBody extends $tea.Model {
1676
1658
  code?: string;
1677
- data?: GetChatappUploadAuthorizationResponseBodyData;
1678
1659
  message?: string;
1679
1660
  requestId?: string;
1680
1661
  static names(): { [key: string]: string } {
1681
1662
  return {
1682
- accessDeniedDetail: 'AccessDeniedDetail',
1683
1663
  code: 'Code',
1684
- data: 'Data',
1685
1664
  message: 'Message',
1686
1665
  requestId: 'RequestId',
1687
1666
  };
@@ -1689,9 +1668,7 @@ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1689
1668
 
1690
1669
  static types(): { [key: string]: any } {
1691
1670
  return {
1692
- accessDeniedDetail: 'string',
1693
1671
  code: 'string',
1694
- data: GetChatappUploadAuthorizationResponseBodyData,
1695
1672
  message: 'string',
1696
1673
  requestId: 'string',
1697
1674
  };
@@ -1702,10 +1679,10 @@ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1702
1679
  }
1703
1680
  }
1704
1681
 
1705
- export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1682
+ export class DeprecateFlowResponse extends $tea.Model {
1706
1683
  headers: { [key: string]: string };
1707
1684
  statusCode: number;
1708
- body: GetChatappUploadAuthorizationResponseBody;
1685
+ body: DeprecateFlowResponseBody;
1709
1686
  static names(): { [key: string]: string } {
1710
1687
  return {
1711
1688
  headers: 'headers',
@@ -1718,7 +1695,7 @@ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1718
1695
  return {
1719
1696
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1720
1697
  statusCode: 'number',
1721
- body: GetChatappUploadAuthorizationResponseBody,
1698
+ body: DeprecateFlowResponseBody,
1722
1699
  };
1723
1700
  }
1724
1701
 
@@ -1727,26 +1704,20 @@ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1727
1704
  }
1728
1705
  }
1729
1706
 
1730
- export class GetChatappVerifyCodeRequest extends $tea.Model {
1707
+ export class EnableWhatsappROIMetricRequest extends $tea.Model {
1731
1708
  custSpaceId?: string;
1732
- locale?: string;
1733
- method?: string;
1734
- phoneNumber?: string;
1709
+ isvCode?: string;
1735
1710
  static names(): { [key: string]: string } {
1736
1711
  return {
1737
1712
  custSpaceId: 'CustSpaceId',
1738
- locale: 'Locale',
1739
- method: 'Method',
1740
- phoneNumber: 'PhoneNumber',
1713
+ isvCode: 'IsvCode',
1741
1714
  };
1742
1715
  }
1743
1716
 
1744
1717
  static types(): { [key: string]: any } {
1745
1718
  return {
1746
1719
  custSpaceId: 'string',
1747
- locale: 'string',
1748
- method: 'string',
1749
- phoneNumber: 'string',
1720
+ isvCode: 'string',
1750
1721
  };
1751
1722
  }
1752
1723
 
@@ -1755,7 +1726,7 @@ export class GetChatappVerifyCodeRequest extends $tea.Model {
1755
1726
  }
1756
1727
  }
1757
1728
 
1758
- export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1729
+ export class EnableWhatsappROIMetricResponseBody extends $tea.Model {
1759
1730
  accessDeniedDetail?: string;
1760
1731
  code?: string;
1761
1732
  message?: string;
@@ -1783,10 +1754,10 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1783
1754
  }
1784
1755
  }
1785
1756
 
1786
- export class GetChatappVerifyCodeResponse extends $tea.Model {
1757
+ export class EnableWhatsappROIMetricResponse extends $tea.Model {
1787
1758
  headers: { [key: string]: string };
1788
1759
  statusCode: number;
1789
- body: GetChatappVerifyCodeResponseBody;
1760
+ body: EnableWhatsappROIMetricResponseBody;
1790
1761
  static names(): { [key: string]: string } {
1791
1762
  return {
1792
1763
  headers: 'headers',
@@ -1799,7 +1770,7 @@ export class GetChatappVerifyCodeResponse extends $tea.Model {
1799
1770
  return {
1800
1771
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1801
1772
  statusCode: 'number',
1802
- body: GetChatappVerifyCodeResponseBody,
1773
+ body: EnableWhatsappROIMetricResponseBody,
1803
1774
  };
1804
1775
  }
1805
1776
 
@@ -1808,20 +1779,32 @@ export class GetChatappVerifyCodeResponse extends $tea.Model {
1808
1779
  }
1809
1780
  }
1810
1781
 
1811
- export class GetCommerceSettingRequest extends $tea.Model {
1782
+ export class GetChatappPhoneNumberMetricRequest extends $tea.Model {
1812
1783
  custSpaceId?: string;
1784
+ end?: number;
1785
+ granularity?: string;
1786
+ isvCode?: string;
1813
1787
  phoneNumber?: string;
1788
+ start?: number;
1814
1789
  static names(): { [key: string]: string } {
1815
1790
  return {
1816
1791
  custSpaceId: 'CustSpaceId',
1792
+ end: 'End',
1793
+ granularity: 'Granularity',
1794
+ isvCode: 'IsvCode',
1817
1795
  phoneNumber: 'PhoneNumber',
1796
+ start: 'Start',
1818
1797
  };
1819
1798
  }
1820
1799
 
1821
1800
  static types(): { [key: string]: any } {
1822
1801
  return {
1823
1802
  custSpaceId: 'string',
1803
+ end: 'number',
1804
+ granularity: 'string',
1805
+ isvCode: 'string',
1824
1806
  phoneNumber: 'string',
1807
+ start: 'number',
1825
1808
  };
1826
1809
  }
1827
1810
 
@@ -1830,13 +1813,15 @@ export class GetCommerceSettingRequest extends $tea.Model {
1830
1813
  }
1831
1814
  }
1832
1815
 
1833
- export class GetCommerceSettingResponseBody extends $tea.Model {
1816
+ export class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
1817
+ accessDeniedDetail?: string;
1834
1818
  code?: string;
1835
- data?: GetCommerceSettingResponseBodyData;
1819
+ data?: GetChatappPhoneNumberMetricResponseBodyData[];
1836
1820
  message?: string;
1837
1821
  requestId?: string;
1838
1822
  static names(): { [key: string]: string } {
1839
1823
  return {
1824
+ accessDeniedDetail: 'AccessDeniedDetail',
1840
1825
  code: 'Code',
1841
1826
  data: 'Data',
1842
1827
  message: 'Message',
@@ -1846,8 +1831,9 @@ export class GetCommerceSettingResponseBody extends $tea.Model {
1846
1831
 
1847
1832
  static types(): { [key: string]: any } {
1848
1833
  return {
1834
+ accessDeniedDetail: 'string',
1849
1835
  code: 'string',
1850
- data: GetCommerceSettingResponseBodyData,
1836
+ data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
1851
1837
  message: 'string',
1852
1838
  requestId: 'string',
1853
1839
  };
@@ -1858,10 +1844,10 @@ export class GetCommerceSettingResponseBody extends $tea.Model {
1858
1844
  }
1859
1845
  }
1860
1846
 
1861
- export class GetCommerceSettingResponse extends $tea.Model {
1847
+ export class GetChatappPhoneNumberMetricResponse extends $tea.Model {
1862
1848
  headers: { [key: string]: string };
1863
1849
  statusCode: number;
1864
- body: GetCommerceSettingResponseBody;
1850
+ body: GetChatappPhoneNumberMetricResponseBody;
1865
1851
  static names(): { [key: string]: string } {
1866
1852
  return {
1867
1853
  headers: 'headers',
@@ -1874,7 +1860,7 @@ export class GetCommerceSettingResponse extends $tea.Model {
1874
1860
  return {
1875
1861
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1876
1862
  statusCode: 'number',
1877
- body: GetCommerceSettingResponseBody,
1863
+ body: GetChatappPhoneNumberMetricResponseBody,
1878
1864
  };
1879
1865
  }
1880
1866
 
@@ -1883,26 +1869,32 @@ export class GetCommerceSettingResponse extends $tea.Model {
1883
1869
  }
1884
1870
  }
1885
1871
 
1886
- export class GetMigrationVerifyCodeRequest extends $tea.Model {
1872
+ export class GetChatappTemplateDetailRequest extends $tea.Model {
1887
1873
  custSpaceId?: string;
1888
- locale?: string;
1889
- method?: string;
1890
- phoneNumber?: string;
1874
+ custWabaId?: string;
1875
+ isvCode?: string;
1876
+ language?: string;
1877
+ templateCode?: string;
1878
+ templateType?: string;
1891
1879
  static names(): { [key: string]: string } {
1892
1880
  return {
1893
1881
  custSpaceId: 'CustSpaceId',
1894
- locale: 'Locale',
1895
- method: 'Method',
1896
- phoneNumber: 'PhoneNumber',
1882
+ custWabaId: 'CustWabaId',
1883
+ isvCode: 'IsvCode',
1884
+ language: 'Language',
1885
+ templateCode: 'TemplateCode',
1886
+ templateType: 'TemplateType',
1897
1887
  };
1898
1888
  }
1899
1889
 
1900
1890
  static types(): { [key: string]: any } {
1901
1891
  return {
1902
1892
  custSpaceId: 'string',
1903
- locale: 'string',
1904
- method: 'string',
1905
- phoneNumber: 'string',
1893
+ custWabaId: 'string',
1894
+ isvCode: 'string',
1895
+ language: 'string',
1896
+ templateCode: 'string',
1897
+ templateType: 'string',
1906
1898
  };
1907
1899
  }
1908
1900
 
@@ -1911,10 +1903,10 @@ export class GetMigrationVerifyCodeRequest extends $tea.Model {
1911
1903
  }
1912
1904
  }
1913
1905
 
1914
- export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1906
+ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1915
1907
  accessDeniedDetail?: string;
1916
1908
  code?: string;
1917
- data?: GetMigrationVerifyCodeResponseBodyData;
1909
+ data?: GetChatappTemplateDetailResponseBodyData;
1918
1910
  message?: string;
1919
1911
  requestId?: string;
1920
1912
  static names(): { [key: string]: string } {
@@ -1931,7 +1923,7 @@ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1931
1923
  return {
1932
1924
  accessDeniedDetail: 'string',
1933
1925
  code: 'string',
1934
- data: GetMigrationVerifyCodeResponseBodyData,
1926
+ data: GetChatappTemplateDetailResponseBodyData,
1935
1927
  message: 'string',
1936
1928
  requestId: 'string',
1937
1929
  };
@@ -1942,10 +1934,10 @@ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1942
1934
  }
1943
1935
  }
1944
1936
 
1945
- export class GetMigrationVerifyCodeResponse extends $tea.Model {
1937
+ export class GetChatappTemplateDetailResponse extends $tea.Model {
1946
1938
  headers: { [key: string]: string };
1947
1939
  statusCode: number;
1948
- body: GetMigrationVerifyCodeResponseBody;
1940
+ body: GetChatappTemplateDetailResponseBody;
1949
1941
  static names(): { [key: string]: string } {
1950
1942
  return {
1951
1943
  headers: 'headers',
@@ -1958,7 +1950,7 @@ export class GetMigrationVerifyCodeResponse extends $tea.Model {
1958
1950
  return {
1959
1951
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1960
1952
  statusCode: 'number',
1961
- body: GetMigrationVerifyCodeResponseBody,
1953
+ body: GetChatappTemplateDetailResponseBody,
1962
1954
  };
1963
1955
  }
1964
1956
 
@@ -1967,13 +1959,824 @@ export class GetMigrationVerifyCodeResponse extends $tea.Model {
1967
1959
  }
1968
1960
  }
1969
1961
 
1970
- export class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
1962
+ export class GetChatappTemplateMetricRequest extends $tea.Model {
1971
1963
  custSpaceId?: string;
1972
- phoneNumber?: string;
1973
- static names(): { [key: string]: string } {
1974
- return {
1975
- custSpaceId: 'CustSpaceId',
1976
- phoneNumber: 'PhoneNumber',
1964
+ end?: number;
1965
+ granularity?: string;
1966
+ isvCode?: string;
1967
+ language?: string;
1968
+ start?: number;
1969
+ templateCode?: string;
1970
+ templateType?: string;
1971
+ static names(): { [key: string]: string } {
1972
+ return {
1973
+ custSpaceId: 'CustSpaceId',
1974
+ end: 'End',
1975
+ granularity: 'Granularity',
1976
+ isvCode: 'IsvCode',
1977
+ language: 'Language',
1978
+ start: 'Start',
1979
+ templateCode: 'TemplateCode',
1980
+ templateType: 'TemplateType',
1981
+ };
1982
+ }
1983
+
1984
+ static types(): { [key: string]: any } {
1985
+ return {
1986
+ custSpaceId: 'string',
1987
+ end: 'number',
1988
+ granularity: 'string',
1989
+ isvCode: 'string',
1990
+ language: 'string',
1991
+ start: 'number',
1992
+ templateCode: 'string',
1993
+ templateType: 'string',
1994
+ };
1995
+ }
1996
+
1997
+ constructor(map?: { [key: string]: any }) {
1998
+ super(map);
1999
+ }
2000
+ }
2001
+
2002
+ export class GetChatappTemplateMetricResponseBody extends $tea.Model {
2003
+ accessDeniedDetail?: string;
2004
+ code?: string;
2005
+ data?: GetChatappTemplateMetricResponseBodyData[];
2006
+ message?: string;
2007
+ requestId?: string;
2008
+ static names(): { [key: string]: string } {
2009
+ return {
2010
+ accessDeniedDetail: 'AccessDeniedDetail',
2011
+ code: 'Code',
2012
+ data: 'Data',
2013
+ message: 'Message',
2014
+ requestId: 'RequestId',
2015
+ };
2016
+ }
2017
+
2018
+ static types(): { [key: string]: any } {
2019
+ return {
2020
+ accessDeniedDetail: 'string',
2021
+ code: 'string',
2022
+ data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
2023
+ message: 'string',
2024
+ requestId: 'string',
2025
+ };
2026
+ }
2027
+
2028
+ constructor(map?: { [key: string]: any }) {
2029
+ super(map);
2030
+ }
2031
+ }
2032
+
2033
+ export class GetChatappTemplateMetricResponse extends $tea.Model {
2034
+ headers: { [key: string]: string };
2035
+ statusCode: number;
2036
+ body: GetChatappTemplateMetricResponseBody;
2037
+ static names(): { [key: string]: string } {
2038
+ return {
2039
+ headers: 'headers',
2040
+ statusCode: 'statusCode',
2041
+ body: 'body',
2042
+ };
2043
+ }
2044
+
2045
+ static types(): { [key: string]: any } {
2046
+ return {
2047
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2048
+ statusCode: 'number',
2049
+ body: GetChatappTemplateMetricResponseBody,
2050
+ };
2051
+ }
2052
+
2053
+ constructor(map?: { [key: string]: any }) {
2054
+ super(map);
2055
+ }
2056
+ }
2057
+
2058
+ export class GetChatappUploadAuthorizationRequest extends $tea.Model {
2059
+ custSpaceId?: string;
2060
+ static names(): { [key: string]: string } {
2061
+ return {
2062
+ custSpaceId: 'CustSpaceId',
2063
+ };
2064
+ }
2065
+
2066
+ static types(): { [key: string]: any } {
2067
+ return {
2068
+ custSpaceId: 'string',
2069
+ };
2070
+ }
2071
+
2072
+ constructor(map?: { [key: string]: any }) {
2073
+ super(map);
2074
+ }
2075
+ }
2076
+
2077
+ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
2078
+ accessDeniedDetail?: string;
2079
+ code?: string;
2080
+ data?: GetChatappUploadAuthorizationResponseBodyData;
2081
+ message?: string;
2082
+ requestId?: string;
2083
+ static names(): { [key: string]: string } {
2084
+ return {
2085
+ accessDeniedDetail: 'AccessDeniedDetail',
2086
+ code: 'Code',
2087
+ data: 'Data',
2088
+ message: 'Message',
2089
+ requestId: 'RequestId',
2090
+ };
2091
+ }
2092
+
2093
+ static types(): { [key: string]: any } {
2094
+ return {
2095
+ accessDeniedDetail: 'string',
2096
+ code: 'string',
2097
+ data: GetChatappUploadAuthorizationResponseBodyData,
2098
+ message: 'string',
2099
+ requestId: 'string',
2100
+ };
2101
+ }
2102
+
2103
+ constructor(map?: { [key: string]: any }) {
2104
+ super(map);
2105
+ }
2106
+ }
2107
+
2108
+ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
2109
+ headers: { [key: string]: string };
2110
+ statusCode: number;
2111
+ body: GetChatappUploadAuthorizationResponseBody;
2112
+ static names(): { [key: string]: string } {
2113
+ return {
2114
+ headers: 'headers',
2115
+ statusCode: 'statusCode',
2116
+ body: 'body',
2117
+ };
2118
+ }
2119
+
2120
+ static types(): { [key: string]: any } {
2121
+ return {
2122
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2123
+ statusCode: 'number',
2124
+ body: GetChatappUploadAuthorizationResponseBody,
2125
+ };
2126
+ }
2127
+
2128
+ constructor(map?: { [key: string]: any }) {
2129
+ super(map);
2130
+ }
2131
+ }
2132
+
2133
+ export class GetChatappVerifyCodeRequest extends $tea.Model {
2134
+ custSpaceId?: string;
2135
+ locale?: string;
2136
+ method?: string;
2137
+ phoneNumber?: string;
2138
+ static names(): { [key: string]: string } {
2139
+ return {
2140
+ custSpaceId: 'CustSpaceId',
2141
+ locale: 'Locale',
2142
+ method: 'Method',
2143
+ phoneNumber: 'PhoneNumber',
2144
+ };
2145
+ }
2146
+
2147
+ static types(): { [key: string]: any } {
2148
+ return {
2149
+ custSpaceId: 'string',
2150
+ locale: 'string',
2151
+ method: 'string',
2152
+ phoneNumber: 'string',
2153
+ };
2154
+ }
2155
+
2156
+ constructor(map?: { [key: string]: any }) {
2157
+ super(map);
2158
+ }
2159
+ }
2160
+
2161
+ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
2162
+ accessDeniedDetail?: string;
2163
+ code?: string;
2164
+ message?: string;
2165
+ requestId?: string;
2166
+ static names(): { [key: string]: string } {
2167
+ return {
2168
+ accessDeniedDetail: 'AccessDeniedDetail',
2169
+ code: 'Code',
2170
+ message: 'Message',
2171
+ requestId: 'RequestId',
2172
+ };
2173
+ }
2174
+
2175
+ static types(): { [key: string]: any } {
2176
+ return {
2177
+ accessDeniedDetail: 'string',
2178
+ code: 'string',
2179
+ message: 'string',
2180
+ requestId: 'string',
2181
+ };
2182
+ }
2183
+
2184
+ constructor(map?: { [key: string]: any }) {
2185
+ super(map);
2186
+ }
2187
+ }
2188
+
2189
+ export class GetChatappVerifyCodeResponse extends $tea.Model {
2190
+ headers: { [key: string]: string };
2191
+ statusCode: number;
2192
+ body: GetChatappVerifyCodeResponseBody;
2193
+ static names(): { [key: string]: string } {
2194
+ return {
2195
+ headers: 'headers',
2196
+ statusCode: 'statusCode',
2197
+ body: 'body',
2198
+ };
2199
+ }
2200
+
2201
+ static types(): { [key: string]: any } {
2202
+ return {
2203
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2204
+ statusCode: 'number',
2205
+ body: GetChatappVerifyCodeResponseBody,
2206
+ };
2207
+ }
2208
+
2209
+ constructor(map?: { [key: string]: any }) {
2210
+ super(map);
2211
+ }
2212
+ }
2213
+
2214
+ export class GetCommerceSettingRequest extends $tea.Model {
2215
+ custSpaceId?: string;
2216
+ phoneNumber?: string;
2217
+ static names(): { [key: string]: string } {
2218
+ return {
2219
+ custSpaceId: 'CustSpaceId',
2220
+ phoneNumber: 'PhoneNumber',
2221
+ };
2222
+ }
2223
+
2224
+ static types(): { [key: string]: any } {
2225
+ return {
2226
+ custSpaceId: 'string',
2227
+ phoneNumber: 'string',
2228
+ };
2229
+ }
2230
+
2231
+ constructor(map?: { [key: string]: any }) {
2232
+ super(map);
2233
+ }
2234
+ }
2235
+
2236
+ export class GetCommerceSettingResponseBody extends $tea.Model {
2237
+ code?: string;
2238
+ data?: GetCommerceSettingResponseBodyData;
2239
+ message?: string;
2240
+ requestId?: string;
2241
+ static names(): { [key: string]: string } {
2242
+ return {
2243
+ code: 'Code',
2244
+ data: 'Data',
2245
+ message: 'Message',
2246
+ requestId: 'RequestId',
2247
+ };
2248
+ }
2249
+
2250
+ static types(): { [key: string]: any } {
2251
+ return {
2252
+ code: 'string',
2253
+ data: GetCommerceSettingResponseBodyData,
2254
+ message: 'string',
2255
+ requestId: 'string',
2256
+ };
2257
+ }
2258
+
2259
+ constructor(map?: { [key: string]: any }) {
2260
+ super(map);
2261
+ }
2262
+ }
2263
+
2264
+ export class GetCommerceSettingResponse extends $tea.Model {
2265
+ headers: { [key: string]: string };
2266
+ statusCode: number;
2267
+ body: GetCommerceSettingResponseBody;
2268
+ static names(): { [key: string]: string } {
2269
+ return {
2270
+ headers: 'headers',
2271
+ statusCode: 'statusCode',
2272
+ body: 'body',
2273
+ };
2274
+ }
2275
+
2276
+ static types(): { [key: string]: any } {
2277
+ return {
2278
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2279
+ statusCode: 'number',
2280
+ body: GetCommerceSettingResponseBody,
2281
+ };
2282
+ }
2283
+
2284
+ constructor(map?: { [key: string]: any }) {
2285
+ super(map);
2286
+ }
2287
+ }
2288
+
2289
+ export class GetFlowRequest extends $tea.Model {
2290
+ custSpaceId?: string;
2291
+ flowId?: string;
2292
+ static names(): { [key: string]: string } {
2293
+ return {
2294
+ custSpaceId: 'CustSpaceId',
2295
+ flowId: 'FlowId',
2296
+ };
2297
+ }
2298
+
2299
+ static types(): { [key: string]: any } {
2300
+ return {
2301
+ custSpaceId: 'string',
2302
+ flowId: 'string',
2303
+ };
2304
+ }
2305
+
2306
+ constructor(map?: { [key: string]: any }) {
2307
+ super(map);
2308
+ }
2309
+ }
2310
+
2311
+ export class GetFlowResponseBody extends $tea.Model {
2312
+ code?: string;
2313
+ data?: GetFlowResponseBodyData;
2314
+ message?: string;
2315
+ requestId?: string;
2316
+ static names(): { [key: string]: string } {
2317
+ return {
2318
+ code: 'Code',
2319
+ data: 'Data',
2320
+ message: 'Message',
2321
+ requestId: 'RequestId',
2322
+ };
2323
+ }
2324
+
2325
+ static types(): { [key: string]: any } {
2326
+ return {
2327
+ code: 'string',
2328
+ data: GetFlowResponseBodyData,
2329
+ message: 'string',
2330
+ requestId: 'string',
2331
+ };
2332
+ }
2333
+
2334
+ constructor(map?: { [key: string]: any }) {
2335
+ super(map);
2336
+ }
2337
+ }
2338
+
2339
+ export class GetFlowResponse extends $tea.Model {
2340
+ headers: { [key: string]: string };
2341
+ statusCode: number;
2342
+ body: GetFlowResponseBody;
2343
+ static names(): { [key: string]: string } {
2344
+ return {
2345
+ headers: 'headers',
2346
+ statusCode: 'statusCode',
2347
+ body: 'body',
2348
+ };
2349
+ }
2350
+
2351
+ static types(): { [key: string]: any } {
2352
+ return {
2353
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2354
+ statusCode: 'number',
2355
+ body: GetFlowResponseBody,
2356
+ };
2357
+ }
2358
+
2359
+ constructor(map?: { [key: string]: any }) {
2360
+ super(map);
2361
+ }
2362
+ }
2363
+
2364
+ export class GetFlowJSONAssestRequest extends $tea.Model {
2365
+ custSpaceId?: string;
2366
+ flowId?: string;
2367
+ static names(): { [key: string]: string } {
2368
+ return {
2369
+ custSpaceId: 'CustSpaceId',
2370
+ flowId: 'FlowId',
2371
+ };
2372
+ }
2373
+
2374
+ static types(): { [key: string]: any } {
2375
+ return {
2376
+ custSpaceId: 'string',
2377
+ flowId: 'string',
2378
+ };
2379
+ }
2380
+
2381
+ constructor(map?: { [key: string]: any }) {
2382
+ super(map);
2383
+ }
2384
+ }
2385
+
2386
+ export class GetFlowJSONAssestResponseBody extends $tea.Model {
2387
+ code?: string;
2388
+ data?: GetFlowJSONAssestResponseBodyData;
2389
+ message?: string;
2390
+ requestId?: string;
2391
+ static names(): { [key: string]: string } {
2392
+ return {
2393
+ code: 'Code',
2394
+ data: 'Data',
2395
+ message: 'Message',
2396
+ requestId: 'RequestId',
2397
+ };
2398
+ }
2399
+
2400
+ static types(): { [key: string]: any } {
2401
+ return {
2402
+ code: 'string',
2403
+ data: GetFlowJSONAssestResponseBodyData,
2404
+ message: 'string',
2405
+ requestId: 'string',
2406
+ };
2407
+ }
2408
+
2409
+ constructor(map?: { [key: string]: any }) {
2410
+ super(map);
2411
+ }
2412
+ }
2413
+
2414
+ export class GetFlowJSONAssestResponse extends $tea.Model {
2415
+ headers: { [key: string]: string };
2416
+ statusCode: number;
2417
+ body: GetFlowJSONAssestResponseBody;
2418
+ static names(): { [key: string]: string } {
2419
+ return {
2420
+ headers: 'headers',
2421
+ statusCode: 'statusCode',
2422
+ body: 'body',
2423
+ };
2424
+ }
2425
+
2426
+ static types(): { [key: string]: any } {
2427
+ return {
2428
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2429
+ statusCode: 'number',
2430
+ body: GetFlowJSONAssestResponseBody,
2431
+ };
2432
+ }
2433
+
2434
+ constructor(map?: { [key: string]: any }) {
2435
+ super(map);
2436
+ }
2437
+ }
2438
+
2439
+ export class GetFlowPreviewUrlRequest extends $tea.Model {
2440
+ custSpaceId?: string;
2441
+ flowId?: string;
2442
+ static names(): { [key: string]: string } {
2443
+ return {
2444
+ custSpaceId: 'CustSpaceId',
2445
+ flowId: 'FlowId',
2446
+ };
2447
+ }
2448
+
2449
+ static types(): { [key: string]: any } {
2450
+ return {
2451
+ custSpaceId: 'string',
2452
+ flowId: 'string',
2453
+ };
2454
+ }
2455
+
2456
+ constructor(map?: { [key: string]: any }) {
2457
+ super(map);
2458
+ }
2459
+ }
2460
+
2461
+ export class GetFlowPreviewUrlResponseBody extends $tea.Model {
2462
+ code?: string;
2463
+ data?: GetFlowPreviewUrlResponseBodyData;
2464
+ message?: string;
2465
+ requestId?: string;
2466
+ static names(): { [key: string]: string } {
2467
+ return {
2468
+ code: 'Code',
2469
+ data: 'Data',
2470
+ message: 'Message',
2471
+ requestId: 'RequestId',
2472
+ };
2473
+ }
2474
+
2475
+ static types(): { [key: string]: any } {
2476
+ return {
2477
+ code: 'string',
2478
+ data: GetFlowPreviewUrlResponseBodyData,
2479
+ message: 'string',
2480
+ requestId: 'string',
2481
+ };
2482
+ }
2483
+
2484
+ constructor(map?: { [key: string]: any }) {
2485
+ super(map);
2486
+ }
2487
+ }
2488
+
2489
+ export class GetFlowPreviewUrlResponse extends $tea.Model {
2490
+ headers: { [key: string]: string };
2491
+ statusCode: number;
2492
+ body: GetFlowPreviewUrlResponseBody;
2493
+ static names(): { [key: string]: string } {
2494
+ return {
2495
+ headers: 'headers',
2496
+ statusCode: 'statusCode',
2497
+ body: 'body',
2498
+ };
2499
+ }
2500
+
2501
+ static types(): { [key: string]: any } {
2502
+ return {
2503
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2504
+ statusCode: 'number',
2505
+ body: GetFlowPreviewUrlResponseBody,
2506
+ };
2507
+ }
2508
+
2509
+ constructor(map?: { [key: string]: any }) {
2510
+ super(map);
2511
+ }
2512
+ }
2513
+
2514
+ export class GetMigrationVerifyCodeRequest extends $tea.Model {
2515
+ custSpaceId?: string;
2516
+ locale?: string;
2517
+ method?: string;
2518
+ phoneNumber?: string;
2519
+ static names(): { [key: string]: string } {
2520
+ return {
2521
+ custSpaceId: 'CustSpaceId',
2522
+ locale: 'Locale',
2523
+ method: 'Method',
2524
+ phoneNumber: 'PhoneNumber',
2525
+ };
2526
+ }
2527
+
2528
+ static types(): { [key: string]: any } {
2529
+ return {
2530
+ custSpaceId: 'string',
2531
+ locale: 'string',
2532
+ method: 'string',
2533
+ phoneNumber: 'string',
2534
+ };
2535
+ }
2536
+
2537
+ constructor(map?: { [key: string]: any }) {
2538
+ super(map);
2539
+ }
2540
+ }
2541
+
2542
+ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
2543
+ accessDeniedDetail?: string;
2544
+ code?: string;
2545
+ data?: GetMigrationVerifyCodeResponseBodyData;
2546
+ message?: string;
2547
+ requestId?: string;
2548
+ static names(): { [key: string]: string } {
2549
+ return {
2550
+ accessDeniedDetail: 'AccessDeniedDetail',
2551
+ code: 'Code',
2552
+ data: 'Data',
2553
+ message: 'Message',
2554
+ requestId: 'RequestId',
2555
+ };
2556
+ }
2557
+
2558
+ static types(): { [key: string]: any } {
2559
+ return {
2560
+ accessDeniedDetail: 'string',
2561
+ code: 'string',
2562
+ data: GetMigrationVerifyCodeResponseBodyData,
2563
+ message: 'string',
2564
+ requestId: 'string',
2565
+ };
2566
+ }
2567
+
2568
+ constructor(map?: { [key: string]: any }) {
2569
+ super(map);
2570
+ }
2571
+ }
2572
+
2573
+ export class GetMigrationVerifyCodeResponse extends $tea.Model {
2574
+ headers: { [key: string]: string };
2575
+ statusCode: number;
2576
+ body: GetMigrationVerifyCodeResponseBody;
2577
+ static names(): { [key: string]: string } {
2578
+ return {
2579
+ headers: 'headers',
2580
+ statusCode: 'statusCode',
2581
+ body: 'body',
2582
+ };
2583
+ }
2584
+
2585
+ static types(): { [key: string]: any } {
2586
+ return {
2587
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2588
+ statusCode: 'number',
2589
+ body: GetMigrationVerifyCodeResponseBody,
2590
+ };
2591
+ }
2592
+
2593
+ constructor(map?: { [key: string]: any }) {
2594
+ super(map);
2595
+ }
2596
+ }
2597
+
2598
+ export class GetPermissionByCodeRequest extends $tea.Model {
2599
+ code?: string;
2600
+ custSpaceId?: string;
2601
+ permissions?: string[];
2602
+ static names(): { [key: string]: string } {
2603
+ return {
2604
+ code: 'Code',
2605
+ custSpaceId: 'CustSpaceId',
2606
+ permissions: 'Permissions',
2607
+ };
2608
+ }
2609
+
2610
+ static types(): { [key: string]: any } {
2611
+ return {
2612
+ code: 'string',
2613
+ custSpaceId: 'string',
2614
+ permissions: { 'type': 'array', 'itemType': 'string' },
2615
+ };
2616
+ }
2617
+
2618
+ constructor(map?: { [key: string]: any }) {
2619
+ super(map);
2620
+ }
2621
+ }
2622
+
2623
+ export class GetPermissionByCodeShrinkRequest extends $tea.Model {
2624
+ code?: string;
2625
+ custSpaceId?: string;
2626
+ permissionsShrink?: string;
2627
+ static names(): { [key: string]: string } {
2628
+ return {
2629
+ code: 'Code',
2630
+ custSpaceId: 'CustSpaceId',
2631
+ permissionsShrink: 'Permissions',
2632
+ };
2633
+ }
2634
+
2635
+ static types(): { [key: string]: any } {
2636
+ return {
2637
+ code: 'string',
2638
+ custSpaceId: 'string',
2639
+ permissionsShrink: 'string',
2640
+ };
2641
+ }
2642
+
2643
+ constructor(map?: { [key: string]: any }) {
2644
+ super(map);
2645
+ }
2646
+ }
2647
+
2648
+ export class GetPermissionByCodeResponseBody extends $tea.Model {
2649
+ code?: string;
2650
+ message?: string;
2651
+ requestId?: string;
2652
+ static names(): { [key: string]: string } {
2653
+ return {
2654
+ code: 'Code',
2655
+ message: 'Message',
2656
+ requestId: 'RequestId',
2657
+ };
2658
+ }
2659
+
2660
+ static types(): { [key: string]: any } {
2661
+ return {
2662
+ code: 'string',
2663
+ message: 'string',
2664
+ requestId: 'string',
2665
+ };
2666
+ }
2667
+
2668
+ constructor(map?: { [key: string]: any }) {
2669
+ super(map);
2670
+ }
2671
+ }
2672
+
2673
+ export class GetPermissionByCodeResponse extends $tea.Model {
2674
+ headers: { [key: string]: string };
2675
+ statusCode: number;
2676
+ body: GetPermissionByCodeResponseBody;
2677
+ static names(): { [key: string]: string } {
2678
+ return {
2679
+ headers: 'headers',
2680
+ statusCode: 'statusCode',
2681
+ body: 'body',
2682
+ };
2683
+ }
2684
+
2685
+ static types(): { [key: string]: any } {
2686
+ return {
2687
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2688
+ statusCode: 'number',
2689
+ body: GetPermissionByCodeResponseBody,
2690
+ };
2691
+ }
2692
+
2693
+ constructor(map?: { [key: string]: any }) {
2694
+ super(map);
2695
+ }
2696
+ }
2697
+
2698
+ export class GetPhoneEncryptionPublicKeyRequest extends $tea.Model {
2699
+ custSpaceId?: string;
2700
+ phoneNumber?: string;
2701
+ static names(): { [key: string]: string } {
2702
+ return {
2703
+ custSpaceId: 'CustSpaceId',
2704
+ phoneNumber: 'PhoneNumber',
2705
+ };
2706
+ }
2707
+
2708
+ static types(): { [key: string]: any } {
2709
+ return {
2710
+ custSpaceId: 'string',
2711
+ phoneNumber: 'string',
2712
+ };
2713
+ }
2714
+
2715
+ constructor(map?: { [key: string]: any }) {
2716
+ super(map);
2717
+ }
2718
+ }
2719
+
2720
+ export class GetPhoneEncryptionPublicKeyResponseBody extends $tea.Model {
2721
+ code?: string;
2722
+ data?: GetPhoneEncryptionPublicKeyResponseBodyData;
2723
+ message?: string;
2724
+ requestId?: string;
2725
+ static names(): { [key: string]: string } {
2726
+ return {
2727
+ code: 'Code',
2728
+ data: 'Data',
2729
+ message: 'Message',
2730
+ requestId: 'RequestId',
2731
+ };
2732
+ }
2733
+
2734
+ static types(): { [key: string]: any } {
2735
+ return {
2736
+ code: 'string',
2737
+ data: GetPhoneEncryptionPublicKeyResponseBodyData,
2738
+ message: 'string',
2739
+ requestId: 'string',
2740
+ };
2741
+ }
2742
+
2743
+ constructor(map?: { [key: string]: any }) {
2744
+ super(map);
2745
+ }
2746
+ }
2747
+
2748
+ export class GetPhoneEncryptionPublicKeyResponse extends $tea.Model {
2749
+ headers: { [key: string]: string };
2750
+ statusCode: number;
2751
+ body: GetPhoneEncryptionPublicKeyResponseBody;
2752
+ static names(): { [key: string]: string } {
2753
+ return {
2754
+ headers: 'headers',
2755
+ statusCode: 'statusCode',
2756
+ body: 'body',
2757
+ };
2758
+ }
2759
+
2760
+ static types(): { [key: string]: any } {
2761
+ return {
2762
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2763
+ statusCode: 'number',
2764
+ body: GetPhoneEncryptionPublicKeyResponseBody,
2765
+ };
2766
+ }
2767
+
2768
+ constructor(map?: { [key: string]: any }) {
2769
+ super(map);
2770
+ }
2771
+ }
2772
+
2773
+ export class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
2774
+ custSpaceId?: string;
2775
+ phoneNumber?: string;
2776
+ static names(): { [key: string]: string } {
2777
+ return {
2778
+ custSpaceId: 'CustSpaceId',
2779
+ phoneNumber: 'PhoneNumber',
1977
2780
  };
1978
2781
  }
1979
2782
 
@@ -2229,19 +3032,263 @@ export class IsvGetAppIdRequest extends $tea.Model {
2229
3032
  }
2230
3033
  }
2231
3034
 
2232
- export class IsvGetAppIdResponseBody extends $tea.Model {
2233
- accessDeniedDetail?: string;
2234
- appId?: string;
3035
+ export class IsvGetAppIdResponseBody extends $tea.Model {
3036
+ accessDeniedDetail?: string;
3037
+ appId?: string;
3038
+ code?: string;
3039
+ configId?: string;
3040
+ message?: string;
3041
+ requestId?: string;
3042
+ static names(): { [key: string]: string } {
3043
+ return {
3044
+ accessDeniedDetail: 'AccessDeniedDetail',
3045
+ appId: 'AppId',
3046
+ code: 'Code',
3047
+ configId: 'ConfigId',
3048
+ message: 'Message',
3049
+ requestId: 'RequestId',
3050
+ };
3051
+ }
3052
+
3053
+ static types(): { [key: string]: any } {
3054
+ return {
3055
+ accessDeniedDetail: 'string',
3056
+ appId: 'string',
3057
+ code: 'string',
3058
+ configId: 'string',
3059
+ message: 'string',
3060
+ requestId: 'string',
3061
+ };
3062
+ }
3063
+
3064
+ constructor(map?: { [key: string]: any }) {
3065
+ super(map);
3066
+ }
3067
+ }
3068
+
3069
+ export class IsvGetAppIdResponse extends $tea.Model {
3070
+ headers: { [key: string]: string };
3071
+ statusCode: number;
3072
+ body: IsvGetAppIdResponseBody;
3073
+ static names(): { [key: string]: string } {
3074
+ return {
3075
+ headers: 'headers',
3076
+ statusCode: 'statusCode',
3077
+ body: 'body',
3078
+ };
3079
+ }
3080
+
3081
+ static types(): { [key: string]: any } {
3082
+ return {
3083
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3084
+ statusCode: 'number',
3085
+ body: IsvGetAppIdResponseBody,
3086
+ };
3087
+ }
3088
+
3089
+ constructor(map?: { [key: string]: any }) {
3090
+ super(map);
3091
+ }
3092
+ }
3093
+
3094
+ export class ListChatappTemplateRequest extends $tea.Model {
3095
+ auditStatus?: string;
3096
+ custSpaceId?: string;
3097
+ custWabaId?: string;
3098
+ isvCode?: string;
3099
+ language?: string;
3100
+ name?: string;
3101
+ page?: ListChatappTemplateRequestPage;
3102
+ templateType?: string;
3103
+ static names(): { [key: string]: string } {
3104
+ return {
3105
+ auditStatus: 'AuditStatus',
3106
+ custSpaceId: 'CustSpaceId',
3107
+ custWabaId: 'CustWabaId',
3108
+ isvCode: 'IsvCode',
3109
+ language: 'Language',
3110
+ name: 'Name',
3111
+ page: 'Page',
3112
+ templateType: 'TemplateType',
3113
+ };
3114
+ }
3115
+
3116
+ static types(): { [key: string]: any } {
3117
+ return {
3118
+ auditStatus: 'string',
3119
+ custSpaceId: 'string',
3120
+ custWabaId: 'string',
3121
+ isvCode: 'string',
3122
+ language: 'string',
3123
+ name: 'string',
3124
+ page: ListChatappTemplateRequestPage,
3125
+ templateType: 'string',
3126
+ };
3127
+ }
3128
+
3129
+ constructor(map?: { [key: string]: any }) {
3130
+ super(map);
3131
+ }
3132
+ }
3133
+
3134
+ export class ListChatappTemplateShrinkRequest extends $tea.Model {
3135
+ auditStatus?: string;
3136
+ custSpaceId?: string;
3137
+ custWabaId?: string;
3138
+ isvCode?: string;
3139
+ language?: string;
3140
+ name?: string;
3141
+ pageShrink?: string;
3142
+ templateType?: string;
3143
+ static names(): { [key: string]: string } {
3144
+ return {
3145
+ auditStatus: 'AuditStatus',
3146
+ custSpaceId: 'CustSpaceId',
3147
+ custWabaId: 'CustWabaId',
3148
+ isvCode: 'IsvCode',
3149
+ language: 'Language',
3150
+ name: 'Name',
3151
+ pageShrink: 'Page',
3152
+ templateType: 'TemplateType',
3153
+ };
3154
+ }
3155
+
3156
+ static types(): { [key: string]: any } {
3157
+ return {
3158
+ auditStatus: 'string',
3159
+ custSpaceId: 'string',
3160
+ custWabaId: 'string',
3161
+ isvCode: 'string',
3162
+ language: 'string',
3163
+ name: 'string',
3164
+ pageShrink: 'string',
3165
+ templateType: 'string',
3166
+ };
3167
+ }
3168
+
3169
+ constructor(map?: { [key: string]: any }) {
3170
+ super(map);
3171
+ }
3172
+ }
3173
+
3174
+ export class ListChatappTemplateResponseBody extends $tea.Model {
3175
+ accessDeniedDetail?: string;
3176
+ code?: string;
3177
+ listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
3178
+ message?: string;
3179
+ requestId?: string;
3180
+ total?: number;
3181
+ static names(): { [key: string]: string } {
3182
+ return {
3183
+ accessDeniedDetail: 'AccessDeniedDetail',
3184
+ code: 'Code',
3185
+ listTemplate: 'ListTemplate',
3186
+ message: 'Message',
3187
+ requestId: 'RequestId',
3188
+ total: 'Total',
3189
+ };
3190
+ }
3191
+
3192
+ static types(): { [key: string]: any } {
3193
+ return {
3194
+ accessDeniedDetail: 'string',
3195
+ code: 'string',
3196
+ listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
3197
+ message: 'string',
3198
+ requestId: 'string',
3199
+ total: 'number',
3200
+ };
3201
+ }
3202
+
3203
+ constructor(map?: { [key: string]: any }) {
3204
+ super(map);
3205
+ }
3206
+ }
3207
+
3208
+ export class ListChatappTemplateResponse extends $tea.Model {
3209
+ headers: { [key: string]: string };
3210
+ statusCode: number;
3211
+ body: ListChatappTemplateResponseBody;
3212
+ static names(): { [key: string]: string } {
3213
+ return {
3214
+ headers: 'headers',
3215
+ statusCode: 'statusCode',
3216
+ body: 'body',
3217
+ };
3218
+ }
3219
+
3220
+ static types(): { [key: string]: any } {
3221
+ return {
3222
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3223
+ statusCode: 'number',
3224
+ body: ListChatappTemplateResponseBody,
3225
+ };
3226
+ }
3227
+
3228
+ constructor(map?: { [key: string]: any }) {
3229
+ super(map);
3230
+ }
3231
+ }
3232
+
3233
+ export class ListFlowRequest extends $tea.Model {
3234
+ custSpaceId?: string;
3235
+ flowName?: string;
3236
+ page?: ListFlowRequestPage;
3237
+ static names(): { [key: string]: string } {
3238
+ return {
3239
+ custSpaceId: 'CustSpaceId',
3240
+ flowName: 'FlowName',
3241
+ page: 'Page',
3242
+ };
3243
+ }
3244
+
3245
+ static types(): { [key: string]: any } {
3246
+ return {
3247
+ custSpaceId: 'string',
3248
+ flowName: 'string',
3249
+ page: ListFlowRequestPage,
3250
+ };
3251
+ }
3252
+
3253
+ constructor(map?: { [key: string]: any }) {
3254
+ super(map);
3255
+ }
3256
+ }
3257
+
3258
+ export class ListFlowShrinkRequest extends $tea.Model {
3259
+ custSpaceId?: string;
3260
+ flowName?: string;
3261
+ pageShrink?: string;
3262
+ static names(): { [key: string]: string } {
3263
+ return {
3264
+ custSpaceId: 'CustSpaceId',
3265
+ flowName: 'FlowName',
3266
+ pageShrink: 'Page',
3267
+ };
3268
+ }
3269
+
3270
+ static types(): { [key: string]: any } {
3271
+ return {
3272
+ custSpaceId: 'string',
3273
+ flowName: 'string',
3274
+ pageShrink: 'string',
3275
+ };
3276
+ }
3277
+
3278
+ constructor(map?: { [key: string]: any }) {
3279
+ super(map);
3280
+ }
3281
+ }
3282
+
3283
+ export class ListFlowResponseBody extends $tea.Model {
2235
3284
  code?: string;
2236
- configId?: string;
3285
+ data?: ListFlowResponseBodyData[];
2237
3286
  message?: string;
2238
3287
  requestId?: string;
2239
3288
  static names(): { [key: string]: string } {
2240
3289
  return {
2241
- accessDeniedDetail: 'AccessDeniedDetail',
2242
- appId: 'AppId',
2243
3290
  code: 'Code',
2244
- configId: 'ConfigId',
3291
+ data: 'Data',
2245
3292
  message: 'Message',
2246
3293
  requestId: 'RequestId',
2247
3294
  };
@@ -2249,10 +3296,8 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
2249
3296
 
2250
3297
  static types(): { [key: string]: any } {
2251
3298
  return {
2252
- accessDeniedDetail: 'string',
2253
- appId: 'string',
2254
3299
  code: 'string',
2255
- configId: 'string',
3300
+ data: { 'type': 'array', 'itemType': ListFlowResponseBodyData },
2256
3301
  message: 'string',
2257
3302
  requestId: 'string',
2258
3303
  };
@@ -2263,10 +3308,10 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
2263
3308
  }
2264
3309
  }
2265
3310
 
2266
- export class IsvGetAppIdResponse extends $tea.Model {
3311
+ export class ListFlowResponse extends $tea.Model {
2267
3312
  headers: { [key: string]: string };
2268
3313
  statusCode: number;
2269
- body: IsvGetAppIdResponseBody;
3314
+ body: ListFlowResponseBody;
2270
3315
  static names(): { [key: string]: string } {
2271
3316
  return {
2272
3317
  headers: 'headers',
@@ -2279,47 +3324,7 @@ export class IsvGetAppIdResponse extends $tea.Model {
2279
3324
  return {
2280
3325
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2281
3326
  statusCode: 'number',
2282
- body: IsvGetAppIdResponseBody,
2283
- };
2284
- }
2285
-
2286
- constructor(map?: { [key: string]: any }) {
2287
- super(map);
2288
- }
2289
- }
2290
-
2291
- export class ListChatappTemplateRequest extends $tea.Model {
2292
- auditStatus?: string;
2293
- custSpaceId?: string;
2294
- custWabaId?: string;
2295
- isvCode?: string;
2296
- language?: string;
2297
- name?: string;
2298
- page?: ListChatappTemplateRequestPage;
2299
- templateType?: string;
2300
- static names(): { [key: string]: string } {
2301
- return {
2302
- auditStatus: 'AuditStatus',
2303
- custSpaceId: 'CustSpaceId',
2304
- custWabaId: 'CustWabaId',
2305
- isvCode: 'IsvCode',
2306
- language: 'Language',
2307
- name: 'Name',
2308
- page: 'Page',
2309
- templateType: 'TemplateType',
2310
- };
2311
- }
2312
-
2313
- static types(): { [key: string]: any } {
2314
- return {
2315
- auditStatus: 'string',
2316
- custSpaceId: 'string',
2317
- custWabaId: 'string',
2318
- isvCode: 'string',
2319
- language: 'string',
2320
- name: 'string',
2321
- page: ListChatappTemplateRequestPage,
2322
- templateType: 'string',
3327
+ body: ListFlowResponseBody,
2323
3328
  };
2324
3329
  }
2325
3330
 
@@ -2328,38 +3333,20 @@ export class ListChatappTemplateRequest extends $tea.Model {
2328
3333
  }
2329
3334
  }
2330
3335
 
2331
- export class ListChatappTemplateShrinkRequest extends $tea.Model {
2332
- auditStatus?: string;
3336
+ export class ListPhoneMessageQrdlRequest extends $tea.Model {
2333
3337
  custSpaceId?: string;
2334
- custWabaId?: string;
2335
- isvCode?: string;
2336
- language?: string;
2337
- name?: string;
2338
- pageShrink?: string;
2339
- templateType?: string;
3338
+ phoneNumber?: string;
2340
3339
  static names(): { [key: string]: string } {
2341
3340
  return {
2342
- auditStatus: 'AuditStatus',
2343
3341
  custSpaceId: 'CustSpaceId',
2344
- custWabaId: 'CustWabaId',
2345
- isvCode: 'IsvCode',
2346
- language: 'Language',
2347
- name: 'Name',
2348
- pageShrink: 'Page',
2349
- templateType: 'TemplateType',
3342
+ phoneNumber: 'PhoneNumber',
2350
3343
  };
2351
3344
  }
2352
3345
 
2353
3346
  static types(): { [key: string]: any } {
2354
3347
  return {
2355
- auditStatus: 'string',
2356
3348
  custSpaceId: 'string',
2357
- custWabaId: 'string',
2358
- isvCode: 'string',
2359
- language: 'string',
2360
- name: 'string',
2361
- pageShrink: 'string',
2362
- templateType: 'string',
3349
+ phoneNumber: 'string',
2363
3350
  };
2364
3351
  }
2365
3352
 
@@ -2368,32 +3355,26 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
2368
3355
  }
2369
3356
  }
2370
3357
 
2371
- export class ListChatappTemplateResponseBody extends $tea.Model {
2372
- accessDeniedDetail?: string;
3358
+ export class ListPhoneMessageQrdlResponseBody extends $tea.Model {
2373
3359
  code?: string;
2374
- listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
3360
+ data?: ListPhoneMessageQrdlResponseBodyData[];
2375
3361
  message?: string;
2376
3362
  requestId?: string;
2377
- total?: number;
2378
3363
  static names(): { [key: string]: string } {
2379
3364
  return {
2380
- accessDeniedDetail: 'AccessDeniedDetail',
2381
3365
  code: 'Code',
2382
- listTemplate: 'ListTemplate',
3366
+ data: 'Data',
2383
3367
  message: 'Message',
2384
3368
  requestId: 'RequestId',
2385
- total: 'Total',
2386
3369
  };
2387
3370
  }
2388
3371
 
2389
3372
  static types(): { [key: string]: any } {
2390
3373
  return {
2391
- accessDeniedDetail: 'string',
2392
3374
  code: 'string',
2393
- listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
3375
+ data: { 'type': 'array', 'itemType': ListPhoneMessageQrdlResponseBodyData },
2394
3376
  message: 'string',
2395
3377
  requestId: 'string',
2396
- total: 'number',
2397
3378
  };
2398
3379
  }
2399
3380
 
@@ -2402,10 +3383,10 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
2402
3383
  }
2403
3384
  }
2404
3385
 
2405
- export class ListChatappTemplateResponse extends $tea.Model {
3386
+ export class ListPhoneMessageQrdlResponse extends $tea.Model {
2406
3387
  headers: { [key: string]: string };
2407
3388
  statusCode: number;
2408
- body: ListChatappTemplateResponseBody;
3389
+ body: ListPhoneMessageQrdlResponseBody;
2409
3390
  static names(): { [key: string]: string } {
2410
3391
  return {
2411
3392
  headers: 'headers',
@@ -2418,7 +3399,7 @@ export class ListChatappTemplateResponse extends $tea.Model {
2418
3399
  return {
2419
3400
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2420
3401
  statusCode: 'number',
2421
- body: ListChatappTemplateResponseBody,
3402
+ body: ListPhoneMessageQrdlResponseBody,
2422
3403
  };
2423
3404
  }
2424
3405
 
@@ -2782,6 +3763,115 @@ export class ModifyChatappTemplateResponse extends $tea.Model {
2782
3763
  }
2783
3764
  }
2784
3765
 
3766
+ export class ModifyFlowRequest extends $tea.Model {
3767
+ categories?: string[];
3768
+ custSpaceId?: string;
3769
+ flowId?: string;
3770
+ flowName?: string;
3771
+ static names(): { [key: string]: string } {
3772
+ return {
3773
+ categories: 'Categories',
3774
+ custSpaceId: 'CustSpaceId',
3775
+ flowId: 'FlowId',
3776
+ flowName: 'FlowName',
3777
+ };
3778
+ }
3779
+
3780
+ static types(): { [key: string]: any } {
3781
+ return {
3782
+ categories: { 'type': 'array', 'itemType': 'string' },
3783
+ custSpaceId: 'string',
3784
+ flowId: 'string',
3785
+ flowName: 'string',
3786
+ };
3787
+ }
3788
+
3789
+ constructor(map?: { [key: string]: any }) {
3790
+ super(map);
3791
+ }
3792
+ }
3793
+
3794
+ export class ModifyFlowShrinkRequest extends $tea.Model {
3795
+ categoriesShrink?: string;
3796
+ custSpaceId?: string;
3797
+ flowId?: string;
3798
+ flowName?: string;
3799
+ static names(): { [key: string]: string } {
3800
+ return {
3801
+ categoriesShrink: 'Categories',
3802
+ custSpaceId: 'CustSpaceId',
3803
+ flowId: 'FlowId',
3804
+ flowName: 'FlowName',
3805
+ };
3806
+ }
3807
+
3808
+ static types(): { [key: string]: any } {
3809
+ return {
3810
+ categoriesShrink: 'string',
3811
+ custSpaceId: 'string',
3812
+ flowId: 'string',
3813
+ flowName: 'string',
3814
+ };
3815
+ }
3816
+
3817
+ constructor(map?: { [key: string]: any }) {
3818
+ super(map);
3819
+ }
3820
+ }
3821
+
3822
+ export class ModifyFlowResponseBody extends $tea.Model {
3823
+ code?: string;
3824
+ data?: ModifyFlowResponseBodyData;
3825
+ message?: string;
3826
+ requestId?: string;
3827
+ static names(): { [key: string]: string } {
3828
+ return {
3829
+ code: 'Code',
3830
+ data: 'Data',
3831
+ message: 'Message',
3832
+ requestId: 'RequestId',
3833
+ };
3834
+ }
3835
+
3836
+ static types(): { [key: string]: any } {
3837
+ return {
3838
+ code: 'string',
3839
+ data: ModifyFlowResponseBodyData,
3840
+ message: 'string',
3841
+ requestId: 'string',
3842
+ };
3843
+ }
3844
+
3845
+ constructor(map?: { [key: string]: any }) {
3846
+ super(map);
3847
+ }
3848
+ }
3849
+
3850
+ export class ModifyFlowResponse extends $tea.Model {
3851
+ headers: { [key: string]: string };
3852
+ statusCode: number;
3853
+ body: ModifyFlowResponseBody;
3854
+ static names(): { [key: string]: string } {
3855
+ return {
3856
+ headers: 'headers',
3857
+ statusCode: 'statusCode',
3858
+ body: 'body',
3859
+ };
3860
+ }
3861
+
3862
+ static types(): { [key: string]: any } {
3863
+ return {
3864
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3865
+ statusCode: 'number',
3866
+ body: ModifyFlowResponseBody,
3867
+ };
3868
+ }
3869
+
3870
+ constructor(map?: { [key: string]: any }) {
3871
+ super(map);
3872
+ }
3873
+ }
3874
+
2785
3875
  export class ModifyPhoneBusinessProfileRequest extends $tea.Model {
2786
3876
  address?: string;
2787
3877
  custSpaceId?: string;
@@ -2862,14 +3952,87 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
2862
3952
  }
2863
3953
  }
2864
3954
 
2865
- export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
2866
- accessDeniedDetail?: string;
3955
+ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
3956
+ accessDeniedDetail?: string;
3957
+ code?: string;
3958
+ message?: string;
3959
+ requestId?: string;
3960
+ static names(): { [key: string]: string } {
3961
+ return {
3962
+ accessDeniedDetail: 'AccessDeniedDetail',
3963
+ code: 'Code',
3964
+ message: 'Message',
3965
+ requestId: 'RequestId',
3966
+ };
3967
+ }
3968
+
3969
+ static types(): { [key: string]: any } {
3970
+ return {
3971
+ accessDeniedDetail: 'string',
3972
+ code: 'string',
3973
+ message: 'string',
3974
+ requestId: 'string',
3975
+ };
3976
+ }
3977
+
3978
+ constructor(map?: { [key: string]: any }) {
3979
+ super(map);
3980
+ }
3981
+ }
3982
+
3983
+ export class ModifyPhoneBusinessProfileResponse extends $tea.Model {
3984
+ headers: { [key: string]: string };
3985
+ statusCode: number;
3986
+ body: ModifyPhoneBusinessProfileResponseBody;
3987
+ static names(): { [key: string]: string } {
3988
+ return {
3989
+ headers: 'headers',
3990
+ statusCode: 'statusCode',
3991
+ body: 'body',
3992
+ };
3993
+ }
3994
+
3995
+ static types(): { [key: string]: any } {
3996
+ return {
3997
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3998
+ statusCode: 'number',
3999
+ body: ModifyPhoneBusinessProfileResponseBody,
4000
+ };
4001
+ }
4002
+
4003
+ constructor(map?: { [key: string]: any }) {
4004
+ super(map);
4005
+ }
4006
+ }
4007
+
4008
+ export class PublishFlowRequest extends $tea.Model {
4009
+ custSpaceId?: string;
4010
+ flowId?: string;
4011
+ static names(): { [key: string]: string } {
4012
+ return {
4013
+ custSpaceId: 'CustSpaceId',
4014
+ flowId: 'FlowId',
4015
+ };
4016
+ }
4017
+
4018
+ static types(): { [key: string]: any } {
4019
+ return {
4020
+ custSpaceId: 'string',
4021
+ flowId: 'string',
4022
+ };
4023
+ }
4024
+
4025
+ constructor(map?: { [key: string]: any }) {
4026
+ super(map);
4027
+ }
4028
+ }
4029
+
4030
+ export class PublishFlowResponseBody extends $tea.Model {
2867
4031
  code?: string;
2868
4032
  message?: string;
2869
4033
  requestId?: string;
2870
4034
  static names(): { [key: string]: string } {
2871
4035
  return {
2872
- accessDeniedDetail: 'AccessDeniedDetail',
2873
4036
  code: 'Code',
2874
4037
  message: 'Message',
2875
4038
  requestId: 'RequestId',
@@ -2878,7 +4041,6 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
2878
4041
 
2879
4042
  static types(): { [key: string]: any } {
2880
4043
  return {
2881
- accessDeniedDetail: 'string',
2882
4044
  code: 'string',
2883
4045
  message: 'string',
2884
4046
  requestId: 'string',
@@ -2890,10 +4052,10 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
2890
4052
  }
2891
4053
  }
2892
4054
 
2893
- export class ModifyPhoneBusinessProfileResponse extends $tea.Model {
4055
+ export class PublishFlowResponse extends $tea.Model {
2894
4056
  headers: { [key: string]: string };
2895
4057
  statusCode: number;
2896
- body: ModifyPhoneBusinessProfileResponseBody;
4058
+ body: PublishFlowResponseBody;
2897
4059
  static names(): { [key: string]: string } {
2898
4060
  return {
2899
4061
  headers: 'headers',
@@ -2906,7 +4068,7 @@ export class ModifyPhoneBusinessProfileResponse extends $tea.Model {
2906
4068
  return {
2907
4069
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2908
4070
  statusCode: 'number',
2909
- body: ModifyPhoneBusinessProfileResponseBody,
4071
+ body: PublishFlowResponseBody,
2910
4072
  };
2911
4073
  }
2912
4074
 
@@ -3895,6 +5057,243 @@ export class UpdateCommerceSettingResponse extends $tea.Model {
3895
5057
  }
3896
5058
  }
3897
5059
 
5060
+ export class UpdateFlowJSONAssetRequest extends $tea.Model {
5061
+ custSpaceId?: string;
5062
+ filePath?: string;
5063
+ flowId?: string;
5064
+ static names(): { [key: string]: string } {
5065
+ return {
5066
+ custSpaceId: 'CustSpaceId',
5067
+ filePath: 'FilePath',
5068
+ flowId: 'FlowId',
5069
+ };
5070
+ }
5071
+
5072
+ static types(): { [key: string]: any } {
5073
+ return {
5074
+ custSpaceId: 'string',
5075
+ filePath: 'string',
5076
+ flowId: 'string',
5077
+ };
5078
+ }
5079
+
5080
+ constructor(map?: { [key: string]: any }) {
5081
+ super(map);
5082
+ }
5083
+ }
5084
+
5085
+ export class UpdateFlowJSONAssetResponseBody extends $tea.Model {
5086
+ code?: string;
5087
+ data?: UpdateFlowJSONAssetResponseBodyData;
5088
+ message?: string;
5089
+ requestId?: string;
5090
+ static names(): { [key: string]: string } {
5091
+ return {
5092
+ code: 'Code',
5093
+ data: 'Data',
5094
+ message: 'Message',
5095
+ requestId: 'RequestId',
5096
+ };
5097
+ }
5098
+
5099
+ static types(): { [key: string]: any } {
5100
+ return {
5101
+ code: 'string',
5102
+ data: UpdateFlowJSONAssetResponseBodyData,
5103
+ message: 'string',
5104
+ requestId: 'string',
5105
+ };
5106
+ }
5107
+
5108
+ constructor(map?: { [key: string]: any }) {
5109
+ super(map);
5110
+ }
5111
+ }
5112
+
5113
+ export class UpdateFlowJSONAssetResponse extends $tea.Model {
5114
+ headers: { [key: string]: string };
5115
+ statusCode: number;
5116
+ body: UpdateFlowJSONAssetResponseBody;
5117
+ static names(): { [key: string]: string } {
5118
+ return {
5119
+ headers: 'headers',
5120
+ statusCode: 'statusCode',
5121
+ body: 'body',
5122
+ };
5123
+ }
5124
+
5125
+ static types(): { [key: string]: any } {
5126
+ return {
5127
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5128
+ statusCode: 'number',
5129
+ body: UpdateFlowJSONAssetResponseBody,
5130
+ };
5131
+ }
5132
+
5133
+ constructor(map?: { [key: string]: any }) {
5134
+ super(map);
5135
+ }
5136
+ }
5137
+
5138
+ export class UpdatePhoneEncryptionPublicKeyRequest extends $tea.Model {
5139
+ custSpaceId?: string;
5140
+ encryptionPublicKey?: string;
5141
+ phoneNumber?: string;
5142
+ static names(): { [key: string]: string } {
5143
+ return {
5144
+ custSpaceId: 'CustSpaceId',
5145
+ encryptionPublicKey: 'EncryptionPublicKey',
5146
+ phoneNumber: 'PhoneNumber',
5147
+ };
5148
+ }
5149
+
5150
+ static types(): { [key: string]: any } {
5151
+ return {
5152
+ custSpaceId: 'string',
5153
+ encryptionPublicKey: 'string',
5154
+ phoneNumber: 'string',
5155
+ };
5156
+ }
5157
+
5158
+ constructor(map?: { [key: string]: any }) {
5159
+ super(map);
5160
+ }
5161
+ }
5162
+
5163
+ export class UpdatePhoneEncryptionPublicKeyResponseBody extends $tea.Model {
5164
+ code?: string;
5165
+ message?: string;
5166
+ requestId?: string;
5167
+ static names(): { [key: string]: string } {
5168
+ return {
5169
+ code: 'Code',
5170
+ message: 'Message',
5171
+ requestId: 'RequestId',
5172
+ };
5173
+ }
5174
+
5175
+ static types(): { [key: string]: any } {
5176
+ return {
5177
+ code: 'string',
5178
+ message: 'string',
5179
+ requestId: 'string',
5180
+ };
5181
+ }
5182
+
5183
+ constructor(map?: { [key: string]: any }) {
5184
+ super(map);
5185
+ }
5186
+ }
5187
+
5188
+ export class UpdatePhoneEncryptionPublicKeyResponse extends $tea.Model {
5189
+ headers: { [key: string]: string };
5190
+ statusCode: number;
5191
+ body: UpdatePhoneEncryptionPublicKeyResponseBody;
5192
+ static names(): { [key: string]: string } {
5193
+ return {
5194
+ headers: 'headers',
5195
+ statusCode: 'statusCode',
5196
+ body: 'body',
5197
+ };
5198
+ }
5199
+
5200
+ static types(): { [key: string]: any } {
5201
+ return {
5202
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5203
+ statusCode: 'number',
5204
+ body: UpdatePhoneEncryptionPublicKeyResponseBody,
5205
+ };
5206
+ }
5207
+
5208
+ constructor(map?: { [key: string]: any }) {
5209
+ super(map);
5210
+ }
5211
+ }
5212
+
5213
+ export class UpdatePhoneMessageQrdlRequest extends $tea.Model {
5214
+ custSpaceId?: string;
5215
+ generateQrImage?: string;
5216
+ phoneNumber?: string;
5217
+ prefilledMessage?: string;
5218
+ qrdlCode?: string;
5219
+ static names(): { [key: string]: string } {
5220
+ return {
5221
+ custSpaceId: 'CustSpaceId',
5222
+ generateQrImage: 'GenerateQrImage',
5223
+ phoneNumber: 'PhoneNumber',
5224
+ prefilledMessage: 'PrefilledMessage',
5225
+ qrdlCode: 'QrdlCode',
5226
+ };
5227
+ }
5228
+
5229
+ static types(): { [key: string]: any } {
5230
+ return {
5231
+ custSpaceId: 'string',
5232
+ generateQrImage: 'string',
5233
+ phoneNumber: 'string',
5234
+ prefilledMessage: 'string',
5235
+ qrdlCode: 'string',
5236
+ };
5237
+ }
5238
+
5239
+ constructor(map?: { [key: string]: any }) {
5240
+ super(map);
5241
+ }
5242
+ }
5243
+
5244
+ export class UpdatePhoneMessageQrdlResponseBody extends $tea.Model {
5245
+ code?: string;
5246
+ data?: UpdatePhoneMessageQrdlResponseBodyData;
5247
+ message?: string;
5248
+ requestId?: string;
5249
+ static names(): { [key: string]: string } {
5250
+ return {
5251
+ code: 'Code',
5252
+ data: 'Data',
5253
+ message: 'Message',
5254
+ requestId: 'RequestId',
5255
+ };
5256
+ }
5257
+
5258
+ static types(): { [key: string]: any } {
5259
+ return {
5260
+ code: 'string',
5261
+ data: UpdatePhoneMessageQrdlResponseBodyData,
5262
+ message: 'string',
5263
+ requestId: 'string',
5264
+ };
5265
+ }
5266
+
5267
+ constructor(map?: { [key: string]: any }) {
5268
+ super(map);
5269
+ }
5270
+ }
5271
+
5272
+ export class UpdatePhoneMessageQrdlResponse extends $tea.Model {
5273
+ headers: { [key: string]: string };
5274
+ statusCode: number;
5275
+ body: UpdatePhoneMessageQrdlResponseBody;
5276
+ static names(): { [key: string]: string } {
5277
+ return {
5278
+ headers: 'headers',
5279
+ statusCode: 'statusCode',
5280
+ body: 'body',
5281
+ };
5282
+ }
5283
+
5284
+ static types(): { [key: string]: any } {
5285
+ return {
5286
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5287
+ statusCode: 'number',
5288
+ body: UpdatePhoneMessageQrdlResponseBody,
5289
+ };
5290
+ }
5291
+
5292
+ constructor(map?: { [key: string]: any }) {
5293
+ super(map);
5294
+ }
5295
+ }
5296
+
3898
5297
  export class UpdatePhoneWebhookRequest extends $tea.Model {
3899
5298
  custSpaceId?: string;
3900
5299
  httpFlag?: string;
@@ -4416,6 +5815,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4416
5815
  flowAction?: string;
4417
5816
  flowId?: string;
4418
5817
  isOptOut?: boolean;
5818
+ navigateScreen?: string;
4419
5819
  packageName?: string;
4420
5820
  phoneNumber?: string;
4421
5821
  signatureHash?: string;
@@ -4423,7 +5823,6 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4423
5823
  type?: string;
4424
5824
  url?: string;
4425
5825
  urlType?: string;
4426
- navigateScreen?: string;
4427
5826
  static names(): { [key: string]: string } {
4428
5827
  return {
4429
5828
  autofillText: 'AutofillText',
@@ -4431,6 +5830,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4431
5830
  flowAction: 'FlowAction',
4432
5831
  flowId: 'FlowId',
4433
5832
  isOptOut: 'IsOptOut',
5833
+ navigateScreen: 'NavigateScreen',
4434
5834
  packageName: 'PackageName',
4435
5835
  phoneNumber: 'PhoneNumber',
4436
5836
  signatureHash: 'SignatureHash',
@@ -4438,7 +5838,6 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4438
5838
  type: 'Type',
4439
5839
  url: 'Url',
4440
5840
  urlType: 'UrlType',
4441
- navigateScreen: 'navigateScreen',
4442
5841
  };
4443
5842
  }
4444
5843
 
@@ -4449,6 +5848,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4449
5848
  flowAction: 'string',
4450
5849
  flowId: 'string',
4451
5850
  isOptOut: 'boolean',
5851
+ navigateScreen: 'string',
4452
5852
  packageName: 'string',
4453
5853
  phoneNumber: 'string',
4454
5854
  signatureHash: 'string',
@@ -4456,7 +5856,6 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
4456
5856
  type: 'string',
4457
5857
  url: 'string',
4458
5858
  urlType: 'string',
4459
- navigateScreen: 'string',
4460
5859
  };
4461
5860
  }
4462
5861
 
@@ -4609,15 +6008,74 @@ export class CreateChatappTemplateResponseBodyData extends $tea.Model {
4609
6008
  templateName?: string;
4610
6009
  static names(): { [key: string]: string } {
4611
6010
  return {
4612
- templateCode: 'TemplateCode',
4613
- templateName: 'TemplateName',
6011
+ templateCode: 'TemplateCode',
6012
+ templateName: 'TemplateName',
6013
+ };
6014
+ }
6015
+
6016
+ static types(): { [key: string]: any } {
6017
+ return {
6018
+ templateCode: 'string',
6019
+ templateName: 'string',
6020
+ };
6021
+ }
6022
+
6023
+ constructor(map?: { [key: string]: any }) {
6024
+ super(map);
6025
+ }
6026
+ }
6027
+
6028
+ export class CreateFlowResponseBodyData extends $tea.Model {
6029
+ categories?: string[];
6030
+ flowId?: string;
6031
+ flowName?: string;
6032
+ static names(): { [key: string]: string } {
6033
+ return {
6034
+ categories: 'Categories',
6035
+ flowId: 'FlowId',
6036
+ flowName: 'FlowName',
6037
+ };
6038
+ }
6039
+
6040
+ static types(): { [key: string]: any } {
6041
+ return {
6042
+ categories: { 'type': 'array', 'itemType': 'string' },
6043
+ flowId: 'string',
6044
+ flowName: 'string',
6045
+ };
6046
+ }
6047
+
6048
+ constructor(map?: { [key: string]: any }) {
6049
+ super(map);
6050
+ }
6051
+ }
6052
+
6053
+ export class CreatePhoneMessageQrdlResponseBodyData extends $tea.Model {
6054
+ deepLinkUrl?: string;
6055
+ generateQrImage?: string;
6056
+ phoneNumber?: string;
6057
+ prefilledMessage?: string;
6058
+ qrImageUrl?: string;
6059
+ qrdlCode?: string;
6060
+ static names(): { [key: string]: string } {
6061
+ return {
6062
+ deepLinkUrl: 'DeepLinkUrl',
6063
+ generateQrImage: 'GenerateQrImage',
6064
+ phoneNumber: 'PhoneNumber',
6065
+ prefilledMessage: 'PrefilledMessage',
6066
+ qrImageUrl: 'QrImageUrl',
6067
+ qrdlCode: 'QrdlCode',
4614
6068
  };
4615
6069
  }
4616
6070
 
4617
6071
  static types(): { [key: string]: any } {
4618
6072
  return {
4619
- templateCode: 'string',
4620
- templateName: 'string',
6073
+ deepLinkUrl: 'string',
6074
+ generateQrImage: 'string',
6075
+ phoneNumber: 'string',
6076
+ prefilledMessage: 'string',
6077
+ qrImageUrl: 'string',
6078
+ qrdlCode: 'string',
4621
6079
  };
4622
6080
  }
4623
6081
 
@@ -5076,6 +6534,93 @@ export class GetCommerceSettingResponseBodyData extends $tea.Model {
5076
6534
  }
5077
6535
  }
5078
6536
 
6537
+ export class GetFlowResponseBodyData extends $tea.Model {
6538
+ categories?: string[];
6539
+ dataApiVersion?: string;
6540
+ flowId?: string;
6541
+ flowName?: string;
6542
+ JSONVersion?: string;
6543
+ previewUrl?: string;
6544
+ previewUrlExpires?: number;
6545
+ status?: string;
6546
+ static names(): { [key: string]: string } {
6547
+ return {
6548
+ categories: 'Categories',
6549
+ dataApiVersion: 'DataApiVersion',
6550
+ flowId: 'FlowId',
6551
+ flowName: 'FlowName',
6552
+ JSONVersion: 'JSONVersion',
6553
+ previewUrl: 'PreviewUrl',
6554
+ previewUrlExpires: 'PreviewUrlExpires',
6555
+ status: 'Status',
6556
+ };
6557
+ }
6558
+
6559
+ static types(): { [key: string]: any } {
6560
+ return {
6561
+ categories: { 'type': 'array', 'itemType': 'string' },
6562
+ dataApiVersion: 'string',
6563
+ flowId: 'string',
6564
+ flowName: 'string',
6565
+ JSONVersion: 'string',
6566
+ previewUrl: 'string',
6567
+ previewUrlExpires: 'number',
6568
+ status: 'string',
6569
+ };
6570
+ }
6571
+
6572
+ constructor(map?: { [key: string]: any }) {
6573
+ super(map);
6574
+ }
6575
+ }
6576
+
6577
+ export class GetFlowJSONAssestResponseBodyData extends $tea.Model {
6578
+ filePath?: string;
6579
+ flowId?: string;
6580
+ static names(): { [key: string]: string } {
6581
+ return {
6582
+ filePath: 'FilePath',
6583
+ flowId: 'FlowId',
6584
+ };
6585
+ }
6586
+
6587
+ static types(): { [key: string]: any } {
6588
+ return {
6589
+ filePath: 'string',
6590
+ flowId: 'string',
6591
+ };
6592
+ }
6593
+
6594
+ constructor(map?: { [key: string]: any }) {
6595
+ super(map);
6596
+ }
6597
+ }
6598
+
6599
+ export class GetFlowPreviewUrlResponseBodyData extends $tea.Model {
6600
+ flowId?: string;
6601
+ previewUrl?: string;
6602
+ previewUrlExpires?: number;
6603
+ static names(): { [key: string]: string } {
6604
+ return {
6605
+ flowId: 'FlowId',
6606
+ previewUrl: 'PreviewUrl',
6607
+ previewUrlExpires: 'PreviewUrlExpires',
6608
+ };
6609
+ }
6610
+
6611
+ static types(): { [key: string]: any } {
6612
+ return {
6613
+ flowId: 'string',
6614
+ previewUrl: 'string',
6615
+ previewUrlExpires: 'number',
6616
+ };
6617
+ }
6618
+
6619
+ constructor(map?: { [key: string]: any }) {
6620
+ super(map);
6621
+ }
6622
+ }
6623
+
5079
6624
  export class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
5080
6625
  id?: string;
5081
6626
  phoneNumber?: string;
@@ -5098,6 +6643,31 @@ export class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
5098
6643
  }
5099
6644
  }
5100
6645
 
6646
+ export class GetPhoneEncryptionPublicKeyResponseBodyData extends $tea.Model {
6647
+ encryptionPublicKey?: string;
6648
+ encryptionPublicKeyStatus?: string;
6649
+ phoneNumber?: string;
6650
+ static names(): { [key: string]: string } {
6651
+ return {
6652
+ encryptionPublicKey: 'EncryptionPublicKey',
6653
+ encryptionPublicKeyStatus: 'EncryptionPublicKeyStatus',
6654
+ phoneNumber: 'PhoneNumber',
6655
+ };
6656
+ }
6657
+
6658
+ static types(): { [key: string]: any } {
6659
+ return {
6660
+ encryptionPublicKey: 'string',
6661
+ encryptionPublicKeyStatus: 'string',
6662
+ phoneNumber: 'string',
6663
+ };
6664
+ }
6665
+
6666
+ constructor(map?: { [key: string]: any }) {
6667
+ super(map);
6668
+ }
6669
+ }
6670
+
5101
6671
  export class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
5102
6672
  codeVerificationStatus?: string;
5103
6673
  id?: string;
@@ -5204,6 +6774,87 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
5204
6774
  }
5205
6775
  }
5206
6776
 
6777
+ export class ListFlowRequestPage extends $tea.Model {
6778
+ index?: number;
6779
+ size?: number;
6780
+ static names(): { [key: string]: string } {
6781
+ return {
6782
+ index: 'Index',
6783
+ size: 'Size',
6784
+ };
6785
+ }
6786
+
6787
+ static types(): { [key: string]: any } {
6788
+ return {
6789
+ index: 'number',
6790
+ size: 'number',
6791
+ };
6792
+ }
6793
+
6794
+ constructor(map?: { [key: string]: any }) {
6795
+ super(map);
6796
+ }
6797
+ }
6798
+
6799
+ export class ListFlowResponseBodyData extends $tea.Model {
6800
+ categories?: string[];
6801
+ flowId?: string;
6802
+ flowName?: string;
6803
+ static names(): { [key: string]: string } {
6804
+ return {
6805
+ categories: 'Categories',
6806
+ flowId: 'FlowId',
6807
+ flowName: 'FlowName',
6808
+ };
6809
+ }
6810
+
6811
+ static types(): { [key: string]: any } {
6812
+ return {
6813
+ categories: { 'type': 'array', 'itemType': 'string' },
6814
+ flowId: 'string',
6815
+ flowName: 'string',
6816
+ };
6817
+ }
6818
+
6819
+ constructor(map?: { [key: string]: any }) {
6820
+ super(map);
6821
+ }
6822
+ }
6823
+
6824
+ export class ListPhoneMessageQrdlResponseBodyData extends $tea.Model {
6825
+ deepLinkUrl?: string;
6826
+ generateQrImage?: string;
6827
+ phoneNumber?: string;
6828
+ prefilledMessage?: string;
6829
+ qrImageUrl?: string;
6830
+ qrdlCode?: string;
6831
+ static names(): { [key: string]: string } {
6832
+ return {
6833
+ deepLinkUrl: 'DeepLinkUrl',
6834
+ generateQrImage: 'GenerateQrImage',
6835
+ phoneNumber: 'PhoneNumber',
6836
+ prefilledMessage: 'PrefilledMessage',
6837
+ qrImageUrl: 'QrImageUrl',
6838
+ qrdlCode: 'QrdlCode',
6839
+ };
6840
+ }
6841
+
6842
+ static types(): { [key: string]: any } {
6843
+ return {
6844
+ deepLinkUrl: 'string',
6845
+ generateQrImage: 'string',
6846
+ phoneNumber: 'string',
6847
+ prefilledMessage: 'string',
6848
+ qrImageUrl: 'string',
6849
+ qrdlCode: 'string',
6850
+ };
6851
+ }
6852
+
6853
+ constructor(map?: { [key: string]: any }) {
6854
+ super(map);
6855
+ }
6856
+ }
6857
+
5207
6858
  export class ListProductResponseBodyModelPagingCursors extends $tea.Model {
5208
6859
  after?: string;
5209
6860
  before?: string;
@@ -5336,6 +6987,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5336
6987
  flowAction?: string;
5337
6988
  flowId?: string;
5338
6989
  isOptOut?: boolean;
6990
+ navigateScreen?: string;
5339
6991
  packageName?: string;
5340
6992
  phoneNumber?: string;
5341
6993
  signatureHash?: string;
@@ -5343,7 +6995,6 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5343
6995
  type?: string;
5344
6996
  url?: string;
5345
6997
  urlType?: string;
5346
- navigateScreen?: string;
5347
6998
  static names(): { [key: string]: string } {
5348
6999
  return {
5349
7000
  autofillText: 'AutofillText',
@@ -5351,6 +7002,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5351
7002
  flowAction: 'FlowAction',
5352
7003
  flowId: 'FlowId',
5353
7004
  isOptOut: 'IsOptOut',
7005
+ navigateScreen: 'NavigateScreen',
5354
7006
  packageName: 'PackageName',
5355
7007
  phoneNumber: 'PhoneNumber',
5356
7008
  signatureHash: 'SignatureHash',
@@ -5358,7 +7010,6 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5358
7010
  type: 'Type',
5359
7011
  url: 'Url',
5360
7012
  urlType: 'UrlType',
5361
- navigateScreen: 'navigateScreen',
5362
7013
  };
5363
7014
  }
5364
7015
 
@@ -5369,6 +7020,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5369
7020
  flowAction: 'string',
5370
7021
  flowId: 'string',
5371
7022
  isOptOut: 'boolean',
7023
+ navigateScreen: 'string',
5372
7024
  packageName: 'string',
5373
7025
  phoneNumber: 'string',
5374
7026
  signatureHash: 'string',
@@ -5376,7 +7028,6 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
5376
7028
  type: 'string',
5377
7029
  url: 'string',
5378
7030
  urlType: 'string',
5379
- navigateScreen: 'string',
5380
7031
  };
5381
7032
  }
5382
7033
 
@@ -5546,6 +7197,31 @@ export class ModifyChatappTemplateResponseBodyData extends $tea.Model {
5546
7197
  }
5547
7198
  }
5548
7199
 
7200
+ export class ModifyFlowResponseBodyData extends $tea.Model {
7201
+ categories?: string[];
7202
+ flowId?: string;
7203
+ flowName?: string;
7204
+ static names(): { [key: string]: string } {
7205
+ return {
7206
+ categories: 'Categories',
7207
+ flowId: 'FlowId',
7208
+ flowName: 'FlowName',
7209
+ };
7210
+ }
7211
+
7212
+ static types(): { [key: string]: any } {
7213
+ return {
7214
+ categories: { 'type': 'array', 'itemType': 'string' },
7215
+ flowId: 'string',
7216
+ flowName: 'string',
7217
+ };
7218
+ }
7219
+
7220
+ constructor(map?: { [key: string]: any }) {
7221
+ super(map);
7222
+ }
7223
+ }
7224
+
5549
7225
  export class QueryChatappBindWabaResponseBodyData extends $tea.Model {
5550
7226
  accountReviewStatus?: string;
5551
7227
  currency?: string;
@@ -5892,6 +7568,59 @@ export class SendChatappMessageRequestProductAction extends $tea.Model {
5892
7568
  }
5893
7569
  }
5894
7570
 
7571
+ export class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
7572
+ flowId?: string;
7573
+ static names(): { [key: string]: string } {
7574
+ return {
7575
+ flowId: 'FlowId',
7576
+ };
7577
+ }
7578
+
7579
+ static types(): { [key: string]: any } {
7580
+ return {
7581
+ flowId: 'string',
7582
+ };
7583
+ }
7584
+
7585
+ constructor(map?: { [key: string]: any }) {
7586
+ super(map);
7587
+ }
7588
+ }
7589
+
7590
+ export class UpdatePhoneMessageQrdlResponseBodyData extends $tea.Model {
7591
+ deepLinkUrl?: string;
7592
+ generateQrImage?: string;
7593
+ phoneNumber?: string;
7594
+ prefilledMessage?: string;
7595
+ qrImageUrl?: string;
7596
+ qrdlCode?: string;
7597
+ static names(): { [key: string]: string } {
7598
+ return {
7599
+ deepLinkUrl: 'DeepLinkUrl',
7600
+ generateQrImage: 'GenerateQrImage',
7601
+ phoneNumber: 'PhoneNumber',
7602
+ prefilledMessage: 'PrefilledMessage',
7603
+ qrImageUrl: 'QrImageUrl',
7604
+ qrdlCode: 'QrdlCode',
7605
+ };
7606
+ }
7607
+
7608
+ static types(): { [key: string]: any } {
7609
+ return {
7610
+ deepLinkUrl: 'string',
7611
+ generateQrImage: 'string',
7612
+ phoneNumber: 'string',
7613
+ prefilledMessage: 'string',
7614
+ qrImageUrl: 'string',
7615
+ qrdlCode: 'string',
7616
+ };
7617
+ }
7618
+
7619
+ constructor(map?: { [key: string]: any }) {
7620
+ super(map);
7621
+ }
7622
+ }
7623
+
5895
7624
 
5896
7625
  export default class Client extends OpenApi {
5897
7626
 
@@ -6614,7 +8343,91 @@ export default class Client extends OpenApi {
6614
8343
  */
6615
8344
  async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
6616
8345
  let runtime = new $Util.RuntimeOptions({ });
6617
- return await this.createChatappTemplateWithOptions(request, runtime);
8346
+ return await this.createChatappTemplateWithOptions(request, runtime);
8347
+ }
8348
+
8349
+ async createFlowWithOptions(tmpReq: CreateFlowRequest, runtime: $Util.RuntimeOptions): Promise<CreateFlowResponse> {
8350
+ Util.validateModel(tmpReq);
8351
+ let request = new CreateFlowShrinkRequest({ });
8352
+ OpenApiUtil.convert(tmpReq, request);
8353
+ if (!Util.isUnset(tmpReq.categories)) {
8354
+ request.categoriesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
8355
+ }
8356
+
8357
+ let body : {[key: string ]: any} = { };
8358
+ if (!Util.isUnset(request.categoriesShrink)) {
8359
+ body["Categories"] = request.categoriesShrink;
8360
+ }
8361
+
8362
+ if (!Util.isUnset(request.custSpaceId)) {
8363
+ body["CustSpaceId"] = request.custSpaceId;
8364
+ }
8365
+
8366
+ if (!Util.isUnset(request.flowName)) {
8367
+ body["FlowName"] = request.flowName;
8368
+ }
8369
+
8370
+ let req = new $OpenApi.OpenApiRequest({
8371
+ body: OpenApiUtil.parseToMap(body),
8372
+ });
8373
+ let params = new $OpenApi.Params({
8374
+ action: "CreateFlow",
8375
+ version: "2020-06-06",
8376
+ protocol: "HTTPS",
8377
+ pathname: "/",
8378
+ method: "POST",
8379
+ authType: "AK",
8380
+ style: "RPC",
8381
+ reqBodyType: "formData",
8382
+ bodyType: "json",
8383
+ });
8384
+ return $tea.cast<CreateFlowResponse>(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
8385
+ }
8386
+
8387
+ async createFlow(request: CreateFlowRequest): Promise<CreateFlowResponse> {
8388
+ let runtime = new $Util.RuntimeOptions({ });
8389
+ return await this.createFlowWithOptions(request, runtime);
8390
+ }
8391
+
8392
+ async createPhoneMessageQrdlWithOptions(request: CreatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<CreatePhoneMessageQrdlResponse> {
8393
+ Util.validateModel(request);
8394
+ let body : {[key: string ]: any} = { };
8395
+ if (!Util.isUnset(request.custSpaceId)) {
8396
+ body["CustSpaceId"] = request.custSpaceId;
8397
+ }
8398
+
8399
+ if (!Util.isUnset(request.generateQrImage)) {
8400
+ body["GenerateQrImage"] = request.generateQrImage;
8401
+ }
8402
+
8403
+ if (!Util.isUnset(request.phoneNumber)) {
8404
+ body["PhoneNumber"] = request.phoneNumber;
8405
+ }
8406
+
8407
+ if (!Util.isUnset(request.prefilledMessage)) {
8408
+ body["PrefilledMessage"] = request.prefilledMessage;
8409
+ }
8410
+
8411
+ let req = new $OpenApi.OpenApiRequest({
8412
+ body: OpenApiUtil.parseToMap(body),
8413
+ });
8414
+ let params = new $OpenApi.Params({
8415
+ action: "CreatePhoneMessageQrdl",
8416
+ version: "2020-06-06",
8417
+ protocol: "HTTPS",
8418
+ pathname: "/",
8419
+ method: "POST",
8420
+ authType: "AK",
8421
+ style: "RPC",
8422
+ reqBodyType: "formData",
8423
+ bodyType: "json",
8424
+ });
8425
+ return $tea.cast<CreatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
8426
+ }
8427
+
8428
+ async createPhoneMessageQrdl(request: CreatePhoneMessageQrdlRequest): Promise<CreatePhoneMessageQrdlResponse> {
8429
+ let runtime = new $Util.RuntimeOptions({ });
8430
+ return await this.createPhoneMessageQrdlWithOptions(request, runtime);
6618
8431
  }
6619
8432
 
6620
8433
  /**
@@ -6673,6 +8486,109 @@ export default class Client extends OpenApi {
6673
8486
  return await this.deleteChatappTemplateWithOptions(request, runtime);
6674
8487
  }
6675
8488
 
8489
+ async deleteFlowWithOptions(request: DeleteFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFlowResponse> {
8490
+ Util.validateModel(request);
8491
+ let body : {[key: string ]: any} = { };
8492
+ if (!Util.isUnset(request.custSpaceId)) {
8493
+ body["CustSpaceId"] = request.custSpaceId;
8494
+ }
8495
+
8496
+ if (!Util.isUnset(request.flowId)) {
8497
+ body["FlowId"] = request.flowId;
8498
+ }
8499
+
8500
+ let req = new $OpenApi.OpenApiRequest({
8501
+ body: OpenApiUtil.parseToMap(body),
8502
+ });
8503
+ let params = new $OpenApi.Params({
8504
+ action: "DeleteFlow",
8505
+ version: "2020-06-06",
8506
+ protocol: "HTTPS",
8507
+ pathname: "/",
8508
+ method: "POST",
8509
+ authType: "AK",
8510
+ style: "RPC",
8511
+ reqBodyType: "formData",
8512
+ bodyType: "json",
8513
+ });
8514
+ return $tea.cast<DeleteFlowResponse>(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
8515
+ }
8516
+
8517
+ async deleteFlow(request: DeleteFlowRequest): Promise<DeleteFlowResponse> {
8518
+ let runtime = new $Util.RuntimeOptions({ });
8519
+ return await this.deleteFlowWithOptions(request, runtime);
8520
+ }
8521
+
8522
+ async deletePhoneMessageQrdlWithOptions(request: DeletePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<DeletePhoneMessageQrdlResponse> {
8523
+ Util.validateModel(request);
8524
+ let body : {[key: string ]: any} = { };
8525
+ if (!Util.isUnset(request.custSpaceId)) {
8526
+ body["CustSpaceId"] = request.custSpaceId;
8527
+ }
8528
+
8529
+ if (!Util.isUnset(request.phoneNumber)) {
8530
+ body["PhoneNumber"] = request.phoneNumber;
8531
+ }
8532
+
8533
+ if (!Util.isUnset(request.qrdlCode)) {
8534
+ body["QrdlCode"] = request.qrdlCode;
8535
+ }
8536
+
8537
+ let req = new $OpenApi.OpenApiRequest({
8538
+ body: OpenApiUtil.parseToMap(body),
8539
+ });
8540
+ let params = new $OpenApi.Params({
8541
+ action: "DeletePhoneMessageQrdl",
8542
+ version: "2020-06-06",
8543
+ protocol: "HTTPS",
8544
+ pathname: "/",
8545
+ method: "POST",
8546
+ authType: "AK",
8547
+ style: "RPC",
8548
+ reqBodyType: "formData",
8549
+ bodyType: "json",
8550
+ });
8551
+ return $tea.cast<DeletePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
8552
+ }
8553
+
8554
+ async deletePhoneMessageQrdl(request: DeletePhoneMessageQrdlRequest): Promise<DeletePhoneMessageQrdlResponse> {
8555
+ let runtime = new $Util.RuntimeOptions({ });
8556
+ return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
8557
+ }
8558
+
8559
+ async deprecateFlowWithOptions(request: DeprecateFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeprecateFlowResponse> {
8560
+ Util.validateModel(request);
8561
+ let body : {[key: string ]: any} = { };
8562
+ if (!Util.isUnset(request.custSpaceId)) {
8563
+ body["CustSpaceId"] = request.custSpaceId;
8564
+ }
8565
+
8566
+ if (!Util.isUnset(request.flowId)) {
8567
+ body["FlowId"] = request.flowId;
8568
+ }
8569
+
8570
+ let req = new $OpenApi.OpenApiRequest({
8571
+ body: OpenApiUtil.parseToMap(body),
8572
+ });
8573
+ let params = new $OpenApi.Params({
8574
+ action: "DeprecateFlow",
8575
+ version: "2020-06-06",
8576
+ protocol: "HTTPS",
8577
+ pathname: "/",
8578
+ method: "POST",
8579
+ authType: "AK",
8580
+ style: "RPC",
8581
+ reqBodyType: "formData",
8582
+ bodyType: "json",
8583
+ });
8584
+ return $tea.cast<DeprecateFlowResponse>(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
8585
+ }
8586
+
8587
+ async deprecateFlow(request: DeprecateFlowRequest): Promise<DeprecateFlowResponse> {
8588
+ let runtime = new $Util.RuntimeOptions({ });
8589
+ return await this.deprecateFlowWithOptions(request, runtime);
8590
+ }
8591
+
6676
8592
  async enableWhatsappROIMetricWithOptions(request: EnableWhatsappROIMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableWhatsappROIMetricResponse> {
6677
8593
  Util.validateModel(request);
6678
8594
  let query = { };
@@ -6979,15 +8895,211 @@ export default class Client extends OpenApi {
6979
8895
  query["CustSpaceId"] = request.custSpaceId;
6980
8896
  }
6981
8897
 
6982
- if (!Util.isUnset(request.phoneNumber)) {
6983
- query["PhoneNumber"] = request.phoneNumber;
8898
+ if (!Util.isUnset(request.phoneNumber)) {
8899
+ query["PhoneNumber"] = request.phoneNumber;
8900
+ }
8901
+
8902
+ let req = new $OpenApi.OpenApiRequest({
8903
+ query: OpenApiUtil.query(query),
8904
+ });
8905
+ let params = new $OpenApi.Params({
8906
+ action: "GetCommerceSetting",
8907
+ version: "2020-06-06",
8908
+ protocol: "HTTPS",
8909
+ pathname: "/",
8910
+ method: "POST",
8911
+ authType: "AK",
8912
+ style: "RPC",
8913
+ reqBodyType: "formData",
8914
+ bodyType: "json",
8915
+ });
8916
+ return $tea.cast<GetCommerceSettingResponse>(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
8917
+ }
8918
+
8919
+ async getCommerceSetting(request: GetCommerceSettingRequest): Promise<GetCommerceSettingResponse> {
8920
+ let runtime = new $Util.RuntimeOptions({ });
8921
+ return await this.getCommerceSettingWithOptions(request, runtime);
8922
+ }
8923
+
8924
+ async getFlowWithOptions(request: GetFlowRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowResponse> {
8925
+ Util.validateModel(request);
8926
+ let body : {[key: string ]: any} = { };
8927
+ if (!Util.isUnset(request.custSpaceId)) {
8928
+ body["CustSpaceId"] = request.custSpaceId;
8929
+ }
8930
+
8931
+ if (!Util.isUnset(request.flowId)) {
8932
+ body["FlowId"] = request.flowId;
8933
+ }
8934
+
8935
+ let req = new $OpenApi.OpenApiRequest({
8936
+ body: OpenApiUtil.parseToMap(body),
8937
+ });
8938
+ let params = new $OpenApi.Params({
8939
+ action: "GetFlow",
8940
+ version: "2020-06-06",
8941
+ protocol: "HTTPS",
8942
+ pathname: "/",
8943
+ method: "POST",
8944
+ authType: "AK",
8945
+ style: "RPC",
8946
+ reqBodyType: "formData",
8947
+ bodyType: "json",
8948
+ });
8949
+ return $tea.cast<GetFlowResponse>(await this.callApi(params, req, runtime), new GetFlowResponse({}));
8950
+ }
8951
+
8952
+ async getFlow(request: GetFlowRequest): Promise<GetFlowResponse> {
8953
+ let runtime = new $Util.RuntimeOptions({ });
8954
+ return await this.getFlowWithOptions(request, runtime);
8955
+ }
8956
+
8957
+ async getFlowJSONAssestWithOptions(request: GetFlowJSONAssestRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowJSONAssestResponse> {
8958
+ Util.validateModel(request);
8959
+ let body : {[key: string ]: any} = { };
8960
+ if (!Util.isUnset(request.custSpaceId)) {
8961
+ body["CustSpaceId"] = request.custSpaceId;
8962
+ }
8963
+
8964
+ if (!Util.isUnset(request.flowId)) {
8965
+ body["FlowId"] = request.flowId;
8966
+ }
8967
+
8968
+ let req = new $OpenApi.OpenApiRequest({
8969
+ body: OpenApiUtil.parseToMap(body),
8970
+ });
8971
+ let params = new $OpenApi.Params({
8972
+ action: "GetFlowJSONAssest",
8973
+ version: "2020-06-06",
8974
+ protocol: "HTTPS",
8975
+ pathname: "/",
8976
+ method: "POST",
8977
+ authType: "AK",
8978
+ style: "RPC",
8979
+ reqBodyType: "formData",
8980
+ bodyType: "json",
8981
+ });
8982
+ return $tea.cast<GetFlowJSONAssestResponse>(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
8983
+ }
8984
+
8985
+ async getFlowJSONAssest(request: GetFlowJSONAssestRequest): Promise<GetFlowJSONAssestResponse> {
8986
+ let runtime = new $Util.RuntimeOptions({ });
8987
+ return await this.getFlowJSONAssestWithOptions(request, runtime);
8988
+ }
8989
+
8990
+ async getFlowPreviewUrlWithOptions(request: GetFlowPreviewUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowPreviewUrlResponse> {
8991
+ Util.validateModel(request);
8992
+ let body : {[key: string ]: any} = { };
8993
+ if (!Util.isUnset(request.custSpaceId)) {
8994
+ body["CustSpaceId"] = request.custSpaceId;
8995
+ }
8996
+
8997
+ if (!Util.isUnset(request.flowId)) {
8998
+ body["FlowId"] = request.flowId;
8999
+ }
9000
+
9001
+ let req = new $OpenApi.OpenApiRequest({
9002
+ body: OpenApiUtil.parseToMap(body),
9003
+ });
9004
+ let params = new $OpenApi.Params({
9005
+ action: "GetFlowPreviewUrl",
9006
+ version: "2020-06-06",
9007
+ protocol: "HTTPS",
9008
+ pathname: "/",
9009
+ method: "POST",
9010
+ authType: "AK",
9011
+ style: "RPC",
9012
+ reqBodyType: "formData",
9013
+ bodyType: "json",
9014
+ });
9015
+ return $tea.cast<GetFlowPreviewUrlResponse>(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
9016
+ }
9017
+
9018
+ async getFlowPreviewUrl(request: GetFlowPreviewUrlRequest): Promise<GetFlowPreviewUrlResponse> {
9019
+ let runtime = new $Util.RuntimeOptions({ });
9020
+ return await this.getFlowPreviewUrlWithOptions(request, runtime);
9021
+ }
9022
+
9023
+ /**
9024
+ * The ID of the phone number.
9025
+ *
9026
+ * @param request GetMigrationVerifyCodeRequest
9027
+ * @param runtime runtime options for this request RuntimeOptions
9028
+ * @return GetMigrationVerifyCodeResponse
9029
+ */
9030
+ async getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse> {
9031
+ Util.validateModel(request);
9032
+ let query = { };
9033
+ if (!Util.isUnset(request.custSpaceId)) {
9034
+ query["CustSpaceId"] = request.custSpaceId;
9035
+ }
9036
+
9037
+ if (!Util.isUnset(request.locale)) {
9038
+ query["Locale"] = request.locale;
9039
+ }
9040
+
9041
+ if (!Util.isUnset(request.method)) {
9042
+ query["Method"] = request.method;
9043
+ }
9044
+
9045
+ if (!Util.isUnset(request.phoneNumber)) {
9046
+ query["PhoneNumber"] = request.phoneNumber;
9047
+ }
9048
+
9049
+ let req = new $OpenApi.OpenApiRequest({
9050
+ query: OpenApiUtil.query(query),
9051
+ });
9052
+ let params = new $OpenApi.Params({
9053
+ action: "GetMigrationVerifyCode",
9054
+ version: "2020-06-06",
9055
+ protocol: "HTTPS",
9056
+ pathname: "/",
9057
+ method: "POST",
9058
+ authType: "AK",
9059
+ style: "RPC",
9060
+ reqBodyType: "formData",
9061
+ bodyType: "json",
9062
+ });
9063
+ return $tea.cast<GetMigrationVerifyCodeResponse>(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
9064
+ }
9065
+
9066
+ /**
9067
+ * The ID of the phone number.
9068
+ *
9069
+ * @param request GetMigrationVerifyCodeRequest
9070
+ * @return GetMigrationVerifyCodeResponse
9071
+ */
9072
+ async getMigrationVerifyCode(request: GetMigrationVerifyCodeRequest): Promise<GetMigrationVerifyCodeResponse> {
9073
+ let runtime = new $Util.RuntimeOptions({ });
9074
+ return await this.getMigrationVerifyCodeWithOptions(request, runtime);
9075
+ }
9076
+
9077
+ async getPermissionByCodeWithOptions(tmpReq: GetPermissionByCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetPermissionByCodeResponse> {
9078
+ Util.validateModel(tmpReq);
9079
+ let request = new GetPermissionByCodeShrinkRequest({ });
9080
+ OpenApiUtil.convert(tmpReq, request);
9081
+ if (!Util.isUnset(tmpReq.permissions)) {
9082
+ request.permissionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.permissions, "Permissions", "json");
9083
+ }
9084
+
9085
+ let body : {[key: string ]: any} = { };
9086
+ if (!Util.isUnset(request.code)) {
9087
+ body["Code"] = request.code;
9088
+ }
9089
+
9090
+ if (!Util.isUnset(request.custSpaceId)) {
9091
+ body["CustSpaceId"] = request.custSpaceId;
9092
+ }
9093
+
9094
+ if (!Util.isUnset(request.permissionsShrink)) {
9095
+ body["Permissions"] = request.permissionsShrink;
6984
9096
  }
6985
9097
 
6986
9098
  let req = new $OpenApi.OpenApiRequest({
6987
- query: OpenApiUtil.query(query),
9099
+ body: OpenApiUtil.parseToMap(body),
6988
9100
  });
6989
9101
  let params = new $OpenApi.Params({
6990
- action: "GetCommerceSetting",
9102
+ action: "GetPermissionByCode",
6991
9103
  version: "2020-06-06",
6992
9104
  protocol: "HTTPS",
6993
9105
  pathname: "/",
@@ -6997,45 +9109,30 @@ export default class Client extends OpenApi {
6997
9109
  reqBodyType: "formData",
6998
9110
  bodyType: "json",
6999
9111
  });
7000
- return $tea.cast<GetCommerceSettingResponse>(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
9112
+ return $tea.cast<GetPermissionByCodeResponse>(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
7001
9113
  }
7002
9114
 
7003
- async getCommerceSetting(request: GetCommerceSettingRequest): Promise<GetCommerceSettingResponse> {
9115
+ async getPermissionByCode(request: GetPermissionByCodeRequest): Promise<GetPermissionByCodeResponse> {
7004
9116
  let runtime = new $Util.RuntimeOptions({ });
7005
- return await this.getCommerceSettingWithOptions(request, runtime);
9117
+ return await this.getPermissionByCodeWithOptions(request, runtime);
7006
9118
  }
7007
9119
 
7008
- /**
7009
- * The ID of the phone number.
7010
- *
7011
- * @param request GetMigrationVerifyCodeRequest
7012
- * @param runtime runtime options for this request RuntimeOptions
7013
- * @return GetMigrationVerifyCodeResponse
7014
- */
7015
- async getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse> {
9120
+ async getPhoneEncryptionPublicKeyWithOptions(request: GetPhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<GetPhoneEncryptionPublicKeyResponse> {
7016
9121
  Util.validateModel(request);
7017
- let query = { };
9122
+ let body : {[key: string ]: any} = { };
7018
9123
  if (!Util.isUnset(request.custSpaceId)) {
7019
- query["CustSpaceId"] = request.custSpaceId;
7020
- }
7021
-
7022
- if (!Util.isUnset(request.locale)) {
7023
- query["Locale"] = request.locale;
7024
- }
7025
-
7026
- if (!Util.isUnset(request.method)) {
7027
- query["Method"] = request.method;
9124
+ body["CustSpaceId"] = request.custSpaceId;
7028
9125
  }
7029
9126
 
7030
9127
  if (!Util.isUnset(request.phoneNumber)) {
7031
- query["PhoneNumber"] = request.phoneNumber;
9128
+ body["PhoneNumber"] = request.phoneNumber;
7032
9129
  }
7033
9130
 
7034
9131
  let req = new $OpenApi.OpenApiRequest({
7035
- query: OpenApiUtil.query(query),
9132
+ body: OpenApiUtil.parseToMap(body),
7036
9133
  });
7037
9134
  let params = new $OpenApi.Params({
7038
- action: "GetMigrationVerifyCode",
9135
+ action: "GetPhoneEncryptionPublicKey",
7039
9136
  version: "2020-06-06",
7040
9137
  protocol: "HTTPS",
7041
9138
  pathname: "/",
@@ -7045,18 +9142,12 @@ export default class Client extends OpenApi {
7045
9142
  reqBodyType: "formData",
7046
9143
  bodyType: "json",
7047
9144
  });
7048
- return $tea.cast<GetMigrationVerifyCodeResponse>(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
9145
+ return $tea.cast<GetPhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
7049
9146
  }
7050
9147
 
7051
- /**
7052
- * The ID of the phone number.
7053
- *
7054
- * @param request GetMigrationVerifyCodeRequest
7055
- * @return GetMigrationVerifyCodeResponse
7056
- */
7057
- async getMigrationVerifyCode(request: GetMigrationVerifyCodeRequest): Promise<GetMigrationVerifyCodeResponse> {
9148
+ async getPhoneEncryptionPublicKey(request: GetPhoneEncryptionPublicKeyRequest): Promise<GetPhoneEncryptionPublicKeyResponse> {
7058
9149
  let runtime = new $Util.RuntimeOptions({ });
7059
- return await this.getMigrationVerifyCodeWithOptions(request, runtime);
9150
+ return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
7060
9151
  }
7061
9152
 
7062
9153
  /**
@@ -7320,6 +9411,82 @@ export default class Client extends OpenApi {
7320
9411
  return await this.listChatappTemplateWithOptions(request, runtime);
7321
9412
  }
7322
9413
 
9414
+ async listFlowWithOptions(tmpReq: ListFlowRequest, runtime: $Util.RuntimeOptions): Promise<ListFlowResponse> {
9415
+ Util.validateModel(tmpReq);
9416
+ let request = new ListFlowShrinkRequest({ });
9417
+ OpenApiUtil.convert(tmpReq, request);
9418
+ if (!Util.isUnset(tmpReq.page)) {
9419
+ request.pageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
9420
+ }
9421
+
9422
+ let body : {[key: string ]: any} = { };
9423
+ if (!Util.isUnset(request.custSpaceId)) {
9424
+ body["CustSpaceId"] = request.custSpaceId;
9425
+ }
9426
+
9427
+ if (!Util.isUnset(request.flowName)) {
9428
+ body["FlowName"] = request.flowName;
9429
+ }
9430
+
9431
+ if (!Util.isUnset(request.pageShrink)) {
9432
+ body["Page"] = request.pageShrink;
9433
+ }
9434
+
9435
+ let req = new $OpenApi.OpenApiRequest({
9436
+ body: OpenApiUtil.parseToMap(body),
9437
+ });
9438
+ let params = new $OpenApi.Params({
9439
+ action: "ListFlow",
9440
+ version: "2020-06-06",
9441
+ protocol: "HTTPS",
9442
+ pathname: "/",
9443
+ method: "POST",
9444
+ authType: "AK",
9445
+ style: "RPC",
9446
+ reqBodyType: "formData",
9447
+ bodyType: "json",
9448
+ });
9449
+ return $tea.cast<ListFlowResponse>(await this.callApi(params, req, runtime), new ListFlowResponse({}));
9450
+ }
9451
+
9452
+ async listFlow(request: ListFlowRequest): Promise<ListFlowResponse> {
9453
+ let runtime = new $Util.RuntimeOptions({ });
9454
+ return await this.listFlowWithOptions(request, runtime);
9455
+ }
9456
+
9457
+ async listPhoneMessageQrdlWithOptions(request: ListPhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<ListPhoneMessageQrdlResponse> {
9458
+ Util.validateModel(request);
9459
+ let body : {[key: string ]: any} = { };
9460
+ if (!Util.isUnset(request.custSpaceId)) {
9461
+ body["CustSpaceId"] = request.custSpaceId;
9462
+ }
9463
+
9464
+ if (!Util.isUnset(request.phoneNumber)) {
9465
+ body["PhoneNumber"] = request.phoneNumber;
9466
+ }
9467
+
9468
+ let req = new $OpenApi.OpenApiRequest({
9469
+ body: OpenApiUtil.parseToMap(body),
9470
+ });
9471
+ let params = new $OpenApi.Params({
9472
+ action: "ListPhoneMessageQrdl",
9473
+ version: "2020-06-06",
9474
+ protocol: "HTTPS",
9475
+ pathname: "/",
9476
+ method: "POST",
9477
+ authType: "AK",
9478
+ style: "RPC",
9479
+ reqBodyType: "formData",
9480
+ bodyType: "json",
9481
+ });
9482
+ return $tea.cast<ListPhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
9483
+ }
9484
+
9485
+ async listPhoneMessageQrdl(request: ListPhoneMessageQrdlRequest): Promise<ListPhoneMessageQrdlResponse> {
9486
+ let runtime = new $Util.RuntimeOptions({ });
9487
+ return await this.listPhoneMessageQrdlWithOptions(request, runtime);
9488
+ }
9489
+
7323
9490
  /**
7324
9491
  * You can call this operation up to 10 times per second per account. If the number of 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.
7325
9492
  *
@@ -7560,6 +9727,53 @@ export default class Client extends OpenApi {
7560
9727
  return await this.modifyChatappTemplateWithOptions(request, runtime);
7561
9728
  }
7562
9729
 
9730
+ async modifyFlowWithOptions(tmpReq: ModifyFlowRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFlowResponse> {
9731
+ Util.validateModel(tmpReq);
9732
+ let request = new ModifyFlowShrinkRequest({ });
9733
+ OpenApiUtil.convert(tmpReq, request);
9734
+ if (!Util.isUnset(tmpReq.categories)) {
9735
+ request.categoriesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
9736
+ }
9737
+
9738
+ let body : {[key: string ]: any} = { };
9739
+ if (!Util.isUnset(request.categoriesShrink)) {
9740
+ body["Categories"] = request.categoriesShrink;
9741
+ }
9742
+
9743
+ if (!Util.isUnset(request.custSpaceId)) {
9744
+ body["CustSpaceId"] = request.custSpaceId;
9745
+ }
9746
+
9747
+ if (!Util.isUnset(request.flowId)) {
9748
+ body["FlowId"] = request.flowId;
9749
+ }
9750
+
9751
+ if (!Util.isUnset(request.flowName)) {
9752
+ body["FlowName"] = request.flowName;
9753
+ }
9754
+
9755
+ let req = new $OpenApi.OpenApiRequest({
9756
+ body: OpenApiUtil.parseToMap(body),
9757
+ });
9758
+ let params = new $OpenApi.Params({
9759
+ action: "ModifyFlow",
9760
+ version: "2020-06-06",
9761
+ protocol: "HTTPS",
9762
+ pathname: "/",
9763
+ method: "POST",
9764
+ authType: "AK",
9765
+ style: "RPC",
9766
+ reqBodyType: "formData",
9767
+ bodyType: "json",
9768
+ });
9769
+ return $tea.cast<ModifyFlowResponse>(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
9770
+ }
9771
+
9772
+ async modifyFlow(request: ModifyFlowRequest): Promise<ModifyFlowResponse> {
9773
+ let runtime = new $Util.RuntimeOptions({ });
9774
+ return await this.modifyFlowWithOptions(request, runtime);
9775
+ }
9776
+
7563
9777
  /**
7564
9778
  * ModifyPhoneBusinessProfile
7565
9779
  *
@@ -7636,6 +9850,39 @@ export default class Client extends OpenApi {
7636
9850
  return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
7637
9851
  }
7638
9852
 
9853
+ async publishFlowWithOptions(request: PublishFlowRequest, runtime: $Util.RuntimeOptions): Promise<PublishFlowResponse> {
9854
+ Util.validateModel(request);
9855
+ let body : {[key: string ]: any} = { };
9856
+ if (!Util.isUnset(request.custSpaceId)) {
9857
+ body["CustSpaceId"] = request.custSpaceId;
9858
+ }
9859
+
9860
+ if (!Util.isUnset(request.flowId)) {
9861
+ body["FlowId"] = request.flowId;
9862
+ }
9863
+
9864
+ let req = new $OpenApi.OpenApiRequest({
9865
+ body: OpenApiUtil.parseToMap(body),
9866
+ });
9867
+ let params = new $OpenApi.Params({
9868
+ action: "PublishFlow",
9869
+ version: "2020-06-06",
9870
+ protocol: "HTTPS",
9871
+ pathname: "/",
9872
+ method: "POST",
9873
+ authType: "AK",
9874
+ style: "RPC",
9875
+ reqBodyType: "formData",
9876
+ bodyType: "json",
9877
+ });
9878
+ return $tea.cast<PublishFlowResponse>(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
9879
+ }
9880
+
9881
+ async publishFlow(request: PublishFlowRequest): Promise<PublishFlowResponse> {
9882
+ let runtime = new $Util.RuntimeOptions({ });
9883
+ return await this.publishFlowWithOptions(request, runtime);
9884
+ }
9885
+
7639
9886
  /**
7640
9887
  * You can call this operation up to 10 times per second per account. If the number of 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.
7641
9888
  *
@@ -8249,6 +10496,125 @@ export default class Client extends OpenApi {
8249
10496
  return await this.updateCommerceSettingWithOptions(request, runtime);
8250
10497
  }
8251
10498
 
10499
+ async updateFlowJSONAssetWithOptions(request: UpdateFlowJSONAssetRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFlowJSONAssetResponse> {
10500
+ Util.validateModel(request);
10501
+ let body : {[key: string ]: any} = { };
10502
+ if (!Util.isUnset(request.custSpaceId)) {
10503
+ body["CustSpaceId"] = request.custSpaceId;
10504
+ }
10505
+
10506
+ if (!Util.isUnset(request.filePath)) {
10507
+ body["FilePath"] = request.filePath;
10508
+ }
10509
+
10510
+ if (!Util.isUnset(request.flowId)) {
10511
+ body["FlowId"] = request.flowId;
10512
+ }
10513
+
10514
+ let req = new $OpenApi.OpenApiRequest({
10515
+ body: OpenApiUtil.parseToMap(body),
10516
+ });
10517
+ let params = new $OpenApi.Params({
10518
+ action: "UpdateFlowJSONAsset",
10519
+ version: "2020-06-06",
10520
+ protocol: "HTTPS",
10521
+ pathname: "/",
10522
+ method: "POST",
10523
+ authType: "AK",
10524
+ style: "RPC",
10525
+ reqBodyType: "formData",
10526
+ bodyType: "json",
10527
+ });
10528
+ return $tea.cast<UpdateFlowJSONAssetResponse>(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
10529
+ }
10530
+
10531
+ async updateFlowJSONAsset(request: UpdateFlowJSONAssetRequest): Promise<UpdateFlowJSONAssetResponse> {
10532
+ let runtime = new $Util.RuntimeOptions({ });
10533
+ return await this.updateFlowJSONAssetWithOptions(request, runtime);
10534
+ }
10535
+
10536
+ async updatePhoneEncryptionPublicKeyWithOptions(request: UpdatePhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
10537
+ Util.validateModel(request);
10538
+ let body : {[key: string ]: any} = { };
10539
+ if (!Util.isUnset(request.custSpaceId)) {
10540
+ body["CustSpaceId"] = request.custSpaceId;
10541
+ }
10542
+
10543
+ if (!Util.isUnset(request.encryptionPublicKey)) {
10544
+ body["EncryptionPublicKey"] = request.encryptionPublicKey;
10545
+ }
10546
+
10547
+ if (!Util.isUnset(request.phoneNumber)) {
10548
+ body["PhoneNumber"] = request.phoneNumber;
10549
+ }
10550
+
10551
+ let req = new $OpenApi.OpenApiRequest({
10552
+ body: OpenApiUtil.parseToMap(body),
10553
+ });
10554
+ let params = new $OpenApi.Params({
10555
+ action: "UpdatePhoneEncryptionPublicKey",
10556
+ version: "2020-06-06",
10557
+ protocol: "HTTPS",
10558
+ pathname: "/",
10559
+ method: "POST",
10560
+ authType: "AK",
10561
+ style: "RPC",
10562
+ reqBodyType: "formData",
10563
+ bodyType: "json",
10564
+ });
10565
+ return $tea.cast<UpdatePhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
10566
+ }
10567
+
10568
+ async updatePhoneEncryptionPublicKey(request: UpdatePhoneEncryptionPublicKeyRequest): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
10569
+ let runtime = new $Util.RuntimeOptions({ });
10570
+ return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
10571
+ }
10572
+
10573
+ async updatePhoneMessageQrdlWithOptions(request: UpdatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneMessageQrdlResponse> {
10574
+ Util.validateModel(request);
10575
+ let body : {[key: string ]: any} = { };
10576
+ if (!Util.isUnset(request.custSpaceId)) {
10577
+ body["CustSpaceId"] = request.custSpaceId;
10578
+ }
10579
+
10580
+ if (!Util.isUnset(request.generateQrImage)) {
10581
+ body["GenerateQrImage"] = request.generateQrImage;
10582
+ }
10583
+
10584
+ if (!Util.isUnset(request.phoneNumber)) {
10585
+ body["PhoneNumber"] = request.phoneNumber;
10586
+ }
10587
+
10588
+ if (!Util.isUnset(request.prefilledMessage)) {
10589
+ body["PrefilledMessage"] = request.prefilledMessage;
10590
+ }
10591
+
10592
+ if (!Util.isUnset(request.qrdlCode)) {
10593
+ body["QrdlCode"] = request.qrdlCode;
10594
+ }
10595
+
10596
+ let req = new $OpenApi.OpenApiRequest({
10597
+ body: OpenApiUtil.parseToMap(body),
10598
+ });
10599
+ let params = new $OpenApi.Params({
10600
+ action: "UpdatePhoneMessageQrdl",
10601
+ version: "2020-06-06",
10602
+ protocol: "HTTPS",
10603
+ pathname: "/",
10604
+ method: "POST",
10605
+ authType: "AK",
10606
+ style: "RPC",
10607
+ reqBodyType: "formData",
10608
+ bodyType: "json",
10609
+ });
10610
+ return $tea.cast<UpdatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
10611
+ }
10612
+
10613
+ async updatePhoneMessageQrdl(request: UpdatePhoneMessageQrdlRequest): Promise<UpdatePhoneMessageQrdlResponse> {
10614
+ let runtime = new $Util.RuntimeOptions({ });
10615
+ return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
10616
+ }
10617
+
8252
10618
  /**
8253
10619
  * The error message returned.
8254
10620
  *