@alicloud/tdsr20200101 3.0.6 → 3.0.7
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +9 -319
- package/dist/client.js +20 -655
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +59 -846
package/dist/client.js
CHANGED
|
@@ -379,329 +379,47 @@ class AddSubSceneResponse extends $tea.Model {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
exports.AddSubSceneResponse = AddSubSceneResponse;
|
|
382
|
-
class
|
|
382
|
+
class CheckUserPropertyRequest extends $tea.Model {
|
|
383
383
|
constructor(map) {
|
|
384
384
|
super(map);
|
|
385
385
|
}
|
|
386
386
|
static names() {
|
|
387
387
|
return {
|
|
388
|
-
|
|
389
|
-
country: 'Country',
|
|
390
|
-
gmtWakeup: 'GmtWakeup',
|
|
391
|
-
hid: 'Hid',
|
|
392
|
-
interrupt: 'Interrupt',
|
|
393
|
-
invoker: 'Invoker',
|
|
394
|
-
level: 'Level',
|
|
395
|
-
message: 'Message',
|
|
396
|
-
pk: 'Pk',
|
|
397
|
-
prompt: 'Prompt',
|
|
398
|
-
success: 'Success',
|
|
399
|
-
taskExtraData: 'TaskExtraData',
|
|
400
|
-
taskIdentifier: 'TaskIdentifier',
|
|
401
|
-
url: 'Url',
|
|
388
|
+
uid: 'Uid',
|
|
402
389
|
};
|
|
403
390
|
}
|
|
404
391
|
static types() {
|
|
405
392
|
return {
|
|
406
|
-
|
|
407
|
-
country: 'string',
|
|
408
|
-
gmtWakeup: 'string',
|
|
409
|
-
hid: 'number',
|
|
410
|
-
interrupt: 'boolean',
|
|
411
|
-
invoker: 'string',
|
|
412
|
-
level: 'number',
|
|
413
|
-
message: 'string',
|
|
414
|
-
pk: 'string',
|
|
415
|
-
prompt: 'string',
|
|
416
|
-
success: 'boolean',
|
|
417
|
-
taskExtraData: 'string',
|
|
418
|
-
taskIdentifier: 'string',
|
|
419
|
-
url: 'string',
|
|
393
|
+
uid: 'string',
|
|
420
394
|
};
|
|
421
395
|
}
|
|
422
396
|
}
|
|
423
|
-
exports.
|
|
424
|
-
class
|
|
397
|
+
exports.CheckUserPropertyRequest = CheckUserPropertyRequest;
|
|
398
|
+
class CheckUserPropertyResponseBody extends $tea.Model {
|
|
425
399
|
constructor(map) {
|
|
426
400
|
super(map);
|
|
427
401
|
}
|
|
428
402
|
static names() {
|
|
429
403
|
return {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
gmtWakeup: 'GmtWakeup',
|
|
433
|
-
hid: 'Hid',
|
|
434
|
-
interrupt: 'Interrupt',
|
|
435
|
-
invoker: 'Invoker',
|
|
436
|
-
level: 'Level',
|
|
404
|
+
code: 'Code',
|
|
405
|
+
match: 'Match',
|
|
437
406
|
message: 'Message',
|
|
438
|
-
pk: 'Pk',
|
|
439
|
-
prompt: 'Prompt',
|
|
440
407
|
requestId: 'RequestId',
|
|
441
408
|
success: 'Success',
|
|
442
|
-
taskExtraData: 'TaskExtraData',
|
|
443
|
-
taskIdentifier: 'TaskIdentifier',
|
|
444
|
-
url: 'Url',
|
|
445
409
|
};
|
|
446
410
|
}
|
|
447
411
|
static types() {
|
|
448
412
|
return {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
gmtWakeup: 'string',
|
|
452
|
-
hid: 'number',
|
|
453
|
-
interrupt: 'boolean',
|
|
454
|
-
invoker: 'string',
|
|
455
|
-
level: 'number',
|
|
413
|
+
code: 'number',
|
|
414
|
+
match: 'boolean',
|
|
456
415
|
message: 'string',
|
|
457
|
-
pk: 'string',
|
|
458
|
-
prompt: 'string',
|
|
459
|
-
requestId: 'string',
|
|
460
|
-
success: 'boolean',
|
|
461
|
-
taskExtraData: 'string',
|
|
462
|
-
taskIdentifier: 'string',
|
|
463
|
-
url: 'string',
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
exports.CheckResourceResponseBody = CheckResourceResponseBody;
|
|
468
|
-
class CheckResourceResponse extends $tea.Model {
|
|
469
|
-
constructor(map) {
|
|
470
|
-
super(map);
|
|
471
|
-
}
|
|
472
|
-
static names() {
|
|
473
|
-
return {
|
|
474
|
-
headers: 'headers',
|
|
475
|
-
body: 'body',
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
static types() {
|
|
479
|
-
return {
|
|
480
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
481
|
-
body: CheckResourceResponseBody,
|
|
482
|
-
};
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
exports.CheckResourceResponse = CheckResourceResponse;
|
|
486
|
-
class CreateProjectRequest extends $tea.Model {
|
|
487
|
-
constructor(map) {
|
|
488
|
-
super(map);
|
|
489
|
-
}
|
|
490
|
-
static names() {
|
|
491
|
-
return {
|
|
492
|
-
builderUserIdList: 'BuilderUserIdList',
|
|
493
|
-
businessId: 'BusinessId',
|
|
494
|
-
businessUserIdList: 'BusinessUserIdList',
|
|
495
|
-
gatherUserIdList: 'GatherUserIdList',
|
|
496
|
-
name: 'Name',
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
static types() {
|
|
500
|
-
return {
|
|
501
|
-
builderUserIdList: 'string',
|
|
502
|
-
businessId: 'string',
|
|
503
|
-
businessUserIdList: 'string',
|
|
504
|
-
gatherUserIdList: 'string',
|
|
505
|
-
name: 'string',
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
exports.CreateProjectRequest = CreateProjectRequest;
|
|
510
|
-
class CreateProjectResponseBody extends $tea.Model {
|
|
511
|
-
constructor(map) {
|
|
512
|
-
super(map);
|
|
513
|
-
}
|
|
514
|
-
static names() {
|
|
515
|
-
return {
|
|
516
|
-
errMessage: 'ErrMessage',
|
|
517
|
-
id: 'Id',
|
|
518
|
-
name: 'Name',
|
|
519
|
-
requestId: 'RequestId',
|
|
520
|
-
success: 'Success',
|
|
521
|
-
};
|
|
522
|
-
}
|
|
523
|
-
static types() {
|
|
524
|
-
return {
|
|
525
|
-
errMessage: 'string',
|
|
526
|
-
id: 'number',
|
|
527
|
-
name: 'string',
|
|
528
|
-
requestId: 'string',
|
|
529
|
-
success: 'boolean',
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
exports.CreateProjectResponseBody = CreateProjectResponseBody;
|
|
534
|
-
class CreateProjectResponse extends $tea.Model {
|
|
535
|
-
constructor(map) {
|
|
536
|
-
super(map);
|
|
537
|
-
}
|
|
538
|
-
static names() {
|
|
539
|
-
return {
|
|
540
|
-
headers: 'headers',
|
|
541
|
-
body: 'body',
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
static types() {
|
|
545
|
-
return {
|
|
546
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
547
|
-
body: CreateProjectResponseBody,
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
exports.CreateProjectResponse = CreateProjectResponse;
|
|
552
|
-
class CreateSceneRequest extends $tea.Model {
|
|
553
|
-
constructor(map) {
|
|
554
|
-
super(map);
|
|
555
|
-
}
|
|
556
|
-
static names() {
|
|
557
|
-
return {
|
|
558
|
-
name: 'Name',
|
|
559
|
-
projectId: 'ProjectId',
|
|
560
|
-
};
|
|
561
|
-
}
|
|
562
|
-
static types() {
|
|
563
|
-
return {
|
|
564
|
-
name: 'string',
|
|
565
|
-
projectId: 'string',
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
exports.CreateSceneRequest = CreateSceneRequest;
|
|
570
|
-
class CreateSceneResponseBody extends $tea.Model {
|
|
571
|
-
constructor(map) {
|
|
572
|
-
super(map);
|
|
573
|
-
}
|
|
574
|
-
static names() {
|
|
575
|
-
return {
|
|
576
|
-
errMessage: 'ErrMessage',
|
|
577
|
-
previewToken: 'PreviewToken',
|
|
578
|
-
requestId: 'RequestId',
|
|
579
|
-
sceneId: 'SceneId',
|
|
580
|
-
success: 'Success',
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
static types() {
|
|
584
|
-
return {
|
|
585
|
-
errMessage: 'string',
|
|
586
|
-
previewToken: 'string',
|
|
587
|
-
requestId: 'string',
|
|
588
|
-
sceneId: 'number',
|
|
589
|
-
success: 'boolean',
|
|
590
|
-
};
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
exports.CreateSceneResponseBody = CreateSceneResponseBody;
|
|
594
|
-
class CreateSceneResponse extends $tea.Model {
|
|
595
|
-
constructor(map) {
|
|
596
|
-
super(map);
|
|
597
|
-
}
|
|
598
|
-
static names() {
|
|
599
|
-
return {
|
|
600
|
-
headers: 'headers',
|
|
601
|
-
body: 'body',
|
|
602
|
-
};
|
|
603
|
-
}
|
|
604
|
-
static types() {
|
|
605
|
-
return {
|
|
606
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
607
|
-
body: CreateSceneResponseBody,
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
exports.CreateSceneResponse = CreateSceneResponse;
|
|
612
|
-
class DeleteFileRequest extends $tea.Model {
|
|
613
|
-
constructor(map) {
|
|
614
|
-
super(map);
|
|
615
|
-
}
|
|
616
|
-
static names() {
|
|
617
|
-
return {
|
|
618
|
-
paramFile: 'ParamFile',
|
|
619
|
-
subSceneUuid: 'SubSceneUuid',
|
|
620
|
-
};
|
|
621
|
-
}
|
|
622
|
-
static types() {
|
|
623
|
-
return {
|
|
624
|
-
paramFile: 'string',
|
|
625
|
-
subSceneUuid: 'string',
|
|
626
|
-
};
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
exports.DeleteFileRequest = DeleteFileRequest;
|
|
630
|
-
class DeleteFileResponseBody extends $tea.Model {
|
|
631
|
-
constructor(map) {
|
|
632
|
-
super(map);
|
|
633
|
-
}
|
|
634
|
-
static names() {
|
|
635
|
-
return {
|
|
636
|
-
errMessage: 'ErrMessage',
|
|
637
|
-
requestId: 'RequestId',
|
|
638
|
-
success: 'Success',
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
static types() {
|
|
642
|
-
return {
|
|
643
|
-
errMessage: 'string',
|
|
644
|
-
requestId: 'string',
|
|
645
|
-
success: 'boolean',
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
exports.DeleteFileResponseBody = DeleteFileResponseBody;
|
|
650
|
-
class DeleteFileResponse extends $tea.Model {
|
|
651
|
-
constructor(map) {
|
|
652
|
-
super(map);
|
|
653
|
-
}
|
|
654
|
-
static names() {
|
|
655
|
-
return {
|
|
656
|
-
headers: 'headers',
|
|
657
|
-
body: 'body',
|
|
658
|
-
};
|
|
659
|
-
}
|
|
660
|
-
static types() {
|
|
661
|
-
return {
|
|
662
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
663
|
-
body: DeleteFileResponseBody,
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
exports.DeleteFileResponse = DeleteFileResponse;
|
|
668
|
-
class DeleteProjectRequest extends $tea.Model {
|
|
669
|
-
constructor(map) {
|
|
670
|
-
super(map);
|
|
671
|
-
}
|
|
672
|
-
static names() {
|
|
673
|
-
return {
|
|
674
|
-
projectId: 'ProjectId',
|
|
675
|
-
};
|
|
676
|
-
}
|
|
677
|
-
static types() {
|
|
678
|
-
return {
|
|
679
|
-
projectId: 'string',
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
exports.DeleteProjectRequest = DeleteProjectRequest;
|
|
684
|
-
class DeleteProjectResponseBody extends $tea.Model {
|
|
685
|
-
constructor(map) {
|
|
686
|
-
super(map);
|
|
687
|
-
}
|
|
688
|
-
static names() {
|
|
689
|
-
return {
|
|
690
|
-
errMessage: 'ErrMessage',
|
|
691
|
-
requestId: 'RequestId',
|
|
692
|
-
success: 'Success',
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
|
-
static types() {
|
|
696
|
-
return {
|
|
697
|
-
errMessage: 'string',
|
|
698
416
|
requestId: 'string',
|
|
699
417
|
success: 'boolean',
|
|
700
418
|
};
|
|
701
419
|
}
|
|
702
420
|
}
|
|
703
|
-
exports.
|
|
704
|
-
class
|
|
421
|
+
exports.CheckUserPropertyResponseBody = CheckUserPropertyResponseBody;
|
|
422
|
+
class CheckUserPropertyResponse extends $tea.Model {
|
|
705
423
|
constructor(map) {
|
|
706
424
|
super(map);
|
|
707
425
|
}
|
|
@@ -714,11 +432,11 @@ class DeleteProjectResponse extends $tea.Model {
|
|
|
714
432
|
static types() {
|
|
715
433
|
return {
|
|
716
434
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
717
|
-
body:
|
|
435
|
+
body: CheckUserPropertyResponseBody,
|
|
718
436
|
};
|
|
719
437
|
}
|
|
720
438
|
}
|
|
721
|
-
exports.
|
|
439
|
+
exports.CheckUserPropertyResponse = CheckUserPropertyResponse;
|
|
722
440
|
class DetailProjectRequest extends $tea.Model {
|
|
723
441
|
constructor(map) {
|
|
724
442
|
super(map);
|
|
@@ -1555,66 +1273,6 @@ class GetOssPolicyResponse extends $tea.Model {
|
|
|
1555
1273
|
}
|
|
1556
1274
|
}
|
|
1557
1275
|
exports.GetOssPolicyResponse = GetOssPolicyResponse;
|
|
1558
|
-
class GetPolicyRequest extends $tea.Model {
|
|
1559
|
-
constructor(map) {
|
|
1560
|
-
super(map);
|
|
1561
|
-
}
|
|
1562
|
-
static names() {
|
|
1563
|
-
return {
|
|
1564
|
-
subSceneUuid: 'SubSceneUuid',
|
|
1565
|
-
type: 'Type',
|
|
1566
|
-
};
|
|
1567
|
-
}
|
|
1568
|
-
static types() {
|
|
1569
|
-
return {
|
|
1570
|
-
subSceneUuid: 'string',
|
|
1571
|
-
type: 'string',
|
|
1572
|
-
};
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
exports.GetPolicyRequest = GetPolicyRequest;
|
|
1576
|
-
class GetPolicyResponseBody extends $tea.Model {
|
|
1577
|
-
constructor(map) {
|
|
1578
|
-
super(map);
|
|
1579
|
-
}
|
|
1580
|
-
static names() {
|
|
1581
|
-
return {
|
|
1582
|
-
data: 'Data',
|
|
1583
|
-
errMessage: 'ErrMessage',
|
|
1584
|
-
objectString: 'ObjectString',
|
|
1585
|
-
requestId: 'RequestId',
|
|
1586
|
-
success: 'Success',
|
|
1587
|
-
};
|
|
1588
|
-
}
|
|
1589
|
-
static types() {
|
|
1590
|
-
return {
|
|
1591
|
-
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1592
|
-
errMessage: 'string',
|
|
1593
|
-
objectString: 'string',
|
|
1594
|
-
requestId: 'string',
|
|
1595
|
-
success: 'boolean',
|
|
1596
|
-
};
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
exports.GetPolicyResponseBody = GetPolicyResponseBody;
|
|
1600
|
-
class GetPolicyResponse extends $tea.Model {
|
|
1601
|
-
constructor(map) {
|
|
1602
|
-
super(map);
|
|
1603
|
-
}
|
|
1604
|
-
static names() {
|
|
1605
|
-
return {
|
|
1606
|
-
headers: 'headers',
|
|
1607
|
-
body: 'body',
|
|
1608
|
-
};
|
|
1609
|
-
}
|
|
1610
|
-
static types() {
|
|
1611
|
-
return {
|
|
1612
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1613
|
-
body: GetPolicyResponseBody,
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
exports.GetPolicyResponse = GetPolicyResponse;
|
|
1618
1276
|
class GetRectifyImageRequest extends $tea.Model {
|
|
1619
1277
|
constructor(map) {
|
|
1620
1278
|
super(map);
|
|
@@ -2369,64 +2027,6 @@ class ListSceneResponse extends $tea.Model {
|
|
|
2369
2027
|
}
|
|
2370
2028
|
}
|
|
2371
2029
|
exports.ListSceneResponse = ListSceneResponse;
|
|
2372
|
-
class ListScenesRequest extends $tea.Model {
|
|
2373
|
-
constructor(map) {
|
|
2374
|
-
super(map);
|
|
2375
|
-
}
|
|
2376
|
-
static names() {
|
|
2377
|
-
return {
|
|
2378
|
-
isPublishQuery: 'IsPublishQuery',
|
|
2379
|
-
projectId: 'ProjectId',
|
|
2380
|
-
};
|
|
2381
|
-
}
|
|
2382
|
-
static types() {
|
|
2383
|
-
return {
|
|
2384
|
-
isPublishQuery: 'boolean',
|
|
2385
|
-
projectId: 'string',
|
|
2386
|
-
};
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
exports.ListScenesRequest = ListScenesRequest;
|
|
2390
|
-
class ListScenesResponseBody extends $tea.Model {
|
|
2391
|
-
constructor(map) {
|
|
2392
|
-
super(map);
|
|
2393
|
-
}
|
|
2394
|
-
static names() {
|
|
2395
|
-
return {
|
|
2396
|
-
data: 'Data',
|
|
2397
|
-
errMessage: 'ErrMessage',
|
|
2398
|
-
requestId: 'RequestId',
|
|
2399
|
-
success: 'Success',
|
|
2400
|
-
};
|
|
2401
|
-
}
|
|
2402
|
-
static types() {
|
|
2403
|
-
return {
|
|
2404
|
-
data: { 'type': 'array', 'itemType': ListScenesResponseBodyData },
|
|
2405
|
-
errMessage: 'string',
|
|
2406
|
-
requestId: 'string',
|
|
2407
|
-
success: 'boolean',
|
|
2408
|
-
};
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2411
|
-
exports.ListScenesResponseBody = ListScenesResponseBody;
|
|
2412
|
-
class ListScenesResponse extends $tea.Model {
|
|
2413
|
-
constructor(map) {
|
|
2414
|
-
super(map);
|
|
2415
|
-
}
|
|
2416
|
-
static names() {
|
|
2417
|
-
return {
|
|
2418
|
-
headers: 'headers',
|
|
2419
|
-
body: 'body',
|
|
2420
|
-
};
|
|
2421
|
-
}
|
|
2422
|
-
static types() {
|
|
2423
|
-
return {
|
|
2424
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2425
|
-
body: ListScenesResponseBody,
|
|
2426
|
-
};
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
exports.ListScenesResponse = ListScenesResponse;
|
|
2430
2030
|
class ListSubSceneRequest extends $tea.Model {
|
|
2431
2031
|
constructor(map) {
|
|
2432
2032
|
super(map);
|
|
@@ -4065,22 +3665,6 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4065
3665
|
}
|
|
4066
3666
|
}
|
|
4067
3667
|
exports.ListSceneResponseBodyList = ListSceneResponseBodyList;
|
|
4068
|
-
class ListScenesResponseBodyData extends $tea.Model {
|
|
4069
|
-
constructor(map) {
|
|
4070
|
-
super(map);
|
|
4071
|
-
}
|
|
4072
|
-
static names() {
|
|
4073
|
-
return {
|
|
4074
|
-
sceneId: 'SceneId',
|
|
4075
|
-
};
|
|
4076
|
-
}
|
|
4077
|
-
static types() {
|
|
4078
|
-
return {
|
|
4079
|
-
sceneId: 'string',
|
|
4080
|
-
};
|
|
4081
|
-
}
|
|
4082
|
-
}
|
|
4083
|
-
exports.ListScenesResponseBodyData = ListScenesResponseBodyData;
|
|
4084
3668
|
class ListSubSceneResponseBodyList extends $tea.Model {
|
|
4085
3669
|
constructor(map) {
|
|
4086
3670
|
super(map);
|
|
@@ -4321,56 +3905,17 @@ class Client extends openapi_client_1.default {
|
|
|
4321
3905
|
let runtime = new $Util.RuntimeOptions({});
|
|
4322
3906
|
return await this.addSubSceneWithOptions(request, runtime);
|
|
4323
3907
|
}
|
|
4324
|
-
async
|
|
3908
|
+
async checkUserPropertyWithOptions(request, runtime) {
|
|
4325
3909
|
tea_util_1.default.validateModel(request);
|
|
4326
3910
|
let query = {};
|
|
4327
|
-
if (!tea_util_1.default.isUnset(request.
|
|
4328
|
-
query["
|
|
4329
|
-
}
|
|
4330
|
-
if (!tea_util_1.default.isUnset(request.country)) {
|
|
4331
|
-
query["Country"] = request.country;
|
|
4332
|
-
}
|
|
4333
|
-
if (!tea_util_1.default.isUnset(request.gmtWakeup)) {
|
|
4334
|
-
query["GmtWakeup"] = request.gmtWakeup;
|
|
4335
|
-
}
|
|
4336
|
-
if (!tea_util_1.default.isUnset(request.hid)) {
|
|
4337
|
-
query["Hid"] = request.hid;
|
|
4338
|
-
}
|
|
4339
|
-
if (!tea_util_1.default.isUnset(request.interrupt)) {
|
|
4340
|
-
query["Interrupt"] = request.interrupt;
|
|
4341
|
-
}
|
|
4342
|
-
if (!tea_util_1.default.isUnset(request.invoker)) {
|
|
4343
|
-
query["Invoker"] = request.invoker;
|
|
4344
|
-
}
|
|
4345
|
-
if (!tea_util_1.default.isUnset(request.level)) {
|
|
4346
|
-
query["Level"] = request.level;
|
|
4347
|
-
}
|
|
4348
|
-
if (!tea_util_1.default.isUnset(request.message)) {
|
|
4349
|
-
query["Message"] = request.message;
|
|
4350
|
-
}
|
|
4351
|
-
if (!tea_util_1.default.isUnset(request.pk)) {
|
|
4352
|
-
query["Pk"] = request.pk;
|
|
4353
|
-
}
|
|
4354
|
-
if (!tea_util_1.default.isUnset(request.prompt)) {
|
|
4355
|
-
query["Prompt"] = request.prompt;
|
|
4356
|
-
}
|
|
4357
|
-
if (!tea_util_1.default.isUnset(request.success)) {
|
|
4358
|
-
query["Success"] = request.success;
|
|
4359
|
-
}
|
|
4360
|
-
if (!tea_util_1.default.isUnset(request.taskExtraData)) {
|
|
4361
|
-
query["TaskExtraData"] = request.taskExtraData;
|
|
4362
|
-
}
|
|
4363
|
-
if (!tea_util_1.default.isUnset(request.taskIdentifier)) {
|
|
4364
|
-
query["TaskIdentifier"] = request.taskIdentifier;
|
|
4365
|
-
}
|
|
4366
|
-
if (!tea_util_1.default.isUnset(request.url)) {
|
|
4367
|
-
query["Url"] = request.url;
|
|
3911
|
+
if (!tea_util_1.default.isUnset(request.uid)) {
|
|
3912
|
+
query["Uid"] = request.uid;
|
|
4368
3913
|
}
|
|
4369
3914
|
let req = new $OpenApi.OpenApiRequest({
|
|
4370
3915
|
query: openapi_util_1.default.query(query),
|
|
4371
3916
|
});
|
|
4372
3917
|
let params = new $OpenApi.Params({
|
|
4373
|
-
action: "
|
|
3918
|
+
action: "CheckUserProperty",
|
|
4374
3919
|
version: "2020-01-01",
|
|
4375
3920
|
protocol: "HTTPS",
|
|
4376
3921
|
pathname: "/",
|
|
@@ -4380,133 +3925,11 @@ class Client extends openapi_client_1.default {
|
|
|
4380
3925
|
reqBodyType: "formData",
|
|
4381
3926
|
bodyType: "json",
|
|
4382
3927
|
});
|
|
4383
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
3928
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckUserPropertyResponse({}));
|
|
4384
3929
|
}
|
|
4385
|
-
async
|
|
3930
|
+
async checkUserProperty(request) {
|
|
4386
3931
|
let runtime = new $Util.RuntimeOptions({});
|
|
4387
|
-
return await this.
|
|
4388
|
-
}
|
|
4389
|
-
async createProjectWithOptions(request, runtime) {
|
|
4390
|
-
tea_util_1.default.validateModel(request);
|
|
4391
|
-
let query = {};
|
|
4392
|
-
if (!tea_util_1.default.isUnset(request.builderUserIdList)) {
|
|
4393
|
-
query["BuilderUserIdList"] = request.builderUserIdList;
|
|
4394
|
-
}
|
|
4395
|
-
if (!tea_util_1.default.isUnset(request.businessId)) {
|
|
4396
|
-
query["BusinessId"] = request.businessId;
|
|
4397
|
-
}
|
|
4398
|
-
if (!tea_util_1.default.isUnset(request.businessUserIdList)) {
|
|
4399
|
-
query["BusinessUserIdList"] = request.businessUserIdList;
|
|
4400
|
-
}
|
|
4401
|
-
if (!tea_util_1.default.isUnset(request.gatherUserIdList)) {
|
|
4402
|
-
query["GatherUserIdList"] = request.gatherUserIdList;
|
|
4403
|
-
}
|
|
4404
|
-
if (!tea_util_1.default.isUnset(request.name)) {
|
|
4405
|
-
query["Name"] = request.name;
|
|
4406
|
-
}
|
|
4407
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4408
|
-
query: openapi_util_1.default.query(query),
|
|
4409
|
-
});
|
|
4410
|
-
let params = new $OpenApi.Params({
|
|
4411
|
-
action: "CreateProject",
|
|
4412
|
-
version: "2020-01-01",
|
|
4413
|
-
protocol: "HTTPS",
|
|
4414
|
-
pathname: "/",
|
|
4415
|
-
method: "POST",
|
|
4416
|
-
authType: "AK",
|
|
4417
|
-
style: "RPC",
|
|
4418
|
-
reqBodyType: "formData",
|
|
4419
|
-
bodyType: "json",
|
|
4420
|
-
});
|
|
4421
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateProjectResponse({}));
|
|
4422
|
-
}
|
|
4423
|
-
async createProject(request) {
|
|
4424
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4425
|
-
return await this.createProjectWithOptions(request, runtime);
|
|
4426
|
-
}
|
|
4427
|
-
async createSceneWithOptions(request, runtime) {
|
|
4428
|
-
tea_util_1.default.validateModel(request);
|
|
4429
|
-
let query = {};
|
|
4430
|
-
if (!tea_util_1.default.isUnset(request.name)) {
|
|
4431
|
-
query["Name"] = request.name;
|
|
4432
|
-
}
|
|
4433
|
-
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
4434
|
-
query["ProjectId"] = request.projectId;
|
|
4435
|
-
}
|
|
4436
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4437
|
-
query: openapi_util_1.default.query(query),
|
|
4438
|
-
});
|
|
4439
|
-
let params = new $OpenApi.Params({
|
|
4440
|
-
action: "CreateScene",
|
|
4441
|
-
version: "2020-01-01",
|
|
4442
|
-
protocol: "HTTPS",
|
|
4443
|
-
pathname: "/",
|
|
4444
|
-
method: "POST",
|
|
4445
|
-
authType: "AK",
|
|
4446
|
-
style: "RPC",
|
|
4447
|
-
reqBodyType: "formData",
|
|
4448
|
-
bodyType: "json",
|
|
4449
|
-
});
|
|
4450
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateSceneResponse({}));
|
|
4451
|
-
}
|
|
4452
|
-
async createScene(request) {
|
|
4453
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4454
|
-
return await this.createSceneWithOptions(request, runtime);
|
|
4455
|
-
}
|
|
4456
|
-
async deleteFileWithOptions(request, runtime) {
|
|
4457
|
-
tea_util_1.default.validateModel(request);
|
|
4458
|
-
let query = {};
|
|
4459
|
-
if (!tea_util_1.default.isUnset(request.paramFile)) {
|
|
4460
|
-
query["ParamFile"] = request.paramFile;
|
|
4461
|
-
}
|
|
4462
|
-
if (!tea_util_1.default.isUnset(request.subSceneUuid)) {
|
|
4463
|
-
query["SubSceneUuid"] = request.subSceneUuid;
|
|
4464
|
-
}
|
|
4465
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4466
|
-
query: openapi_util_1.default.query(query),
|
|
4467
|
-
});
|
|
4468
|
-
let params = new $OpenApi.Params({
|
|
4469
|
-
action: "DeleteFile",
|
|
4470
|
-
version: "2020-01-01",
|
|
4471
|
-
protocol: "HTTPS",
|
|
4472
|
-
pathname: "/",
|
|
4473
|
-
method: "POST",
|
|
4474
|
-
authType: "AK",
|
|
4475
|
-
style: "RPC",
|
|
4476
|
-
reqBodyType: "formData",
|
|
4477
|
-
bodyType: "json",
|
|
4478
|
-
});
|
|
4479
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
|
|
4480
|
-
}
|
|
4481
|
-
async deleteFile(request) {
|
|
4482
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4483
|
-
return await this.deleteFileWithOptions(request, runtime);
|
|
4484
|
-
}
|
|
4485
|
-
async deleteProjectWithOptions(request, runtime) {
|
|
4486
|
-
tea_util_1.default.validateModel(request);
|
|
4487
|
-
let query = {};
|
|
4488
|
-
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
4489
|
-
query["ProjectId"] = request.projectId;
|
|
4490
|
-
}
|
|
4491
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4492
|
-
query: openapi_util_1.default.query(query),
|
|
4493
|
-
});
|
|
4494
|
-
let params = new $OpenApi.Params({
|
|
4495
|
-
action: "DeleteProject",
|
|
4496
|
-
version: "2020-01-01",
|
|
4497
|
-
protocol: "HTTPS",
|
|
4498
|
-
pathname: "/",
|
|
4499
|
-
method: "POST",
|
|
4500
|
-
authType: "AK",
|
|
4501
|
-
style: "RPC",
|
|
4502
|
-
reqBodyType: "formData",
|
|
4503
|
-
bodyType: "json",
|
|
4504
|
-
});
|
|
4505
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteProjectResponse({}));
|
|
4506
|
-
}
|
|
4507
|
-
async deleteProject(request) {
|
|
4508
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4509
|
-
return await this.deleteProjectWithOptions(request, runtime);
|
|
3932
|
+
return await this.checkUserPropertyWithOptions(request, runtime);
|
|
4510
3933
|
}
|
|
4511
3934
|
async detailProjectWithOptions(request, runtime) {
|
|
4512
3935
|
tea_util_1.default.validateModel(request);
|
|
@@ -4876,35 +4299,6 @@ class Client extends openapi_client_1.default {
|
|
|
4876
4299
|
let runtime = new $Util.RuntimeOptions({});
|
|
4877
4300
|
return await this.getOssPolicyWithOptions(request, runtime);
|
|
4878
4301
|
}
|
|
4879
|
-
async getPolicyWithOptions(request, runtime) {
|
|
4880
|
-
tea_util_1.default.validateModel(request);
|
|
4881
|
-
let query = {};
|
|
4882
|
-
if (!tea_util_1.default.isUnset(request.subSceneUuid)) {
|
|
4883
|
-
query["SubSceneUuid"] = request.subSceneUuid;
|
|
4884
|
-
}
|
|
4885
|
-
if (!tea_util_1.default.isUnset(request.type)) {
|
|
4886
|
-
query["Type"] = request.type;
|
|
4887
|
-
}
|
|
4888
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4889
|
-
query: openapi_util_1.default.query(query),
|
|
4890
|
-
});
|
|
4891
|
-
let params = new $OpenApi.Params({
|
|
4892
|
-
action: "GetPolicy",
|
|
4893
|
-
version: "2020-01-01",
|
|
4894
|
-
protocol: "HTTPS",
|
|
4895
|
-
pathname: "/",
|
|
4896
|
-
method: "POST",
|
|
4897
|
-
authType: "AK",
|
|
4898
|
-
style: "RPC",
|
|
4899
|
-
reqBodyType: "formData",
|
|
4900
|
-
bodyType: "json",
|
|
4901
|
-
});
|
|
4902
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetPolicyResponse({}));
|
|
4903
|
-
}
|
|
4904
|
-
async getPolicy(request) {
|
|
4905
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4906
|
-
return await this.getPolicyWithOptions(request, runtime);
|
|
4907
|
-
}
|
|
4908
4302
|
async getRectifyImageWithOptions(request, runtime) {
|
|
4909
4303
|
tea_util_1.default.validateModel(request);
|
|
4910
4304
|
let query = {};
|
|
@@ -5259,35 +4653,6 @@ class Client extends openapi_client_1.default {
|
|
|
5259
4653
|
let runtime = new $Util.RuntimeOptions({});
|
|
5260
4654
|
return await this.listSceneWithOptions(request, runtime);
|
|
5261
4655
|
}
|
|
5262
|
-
async listScenesWithOptions(request, runtime) {
|
|
5263
|
-
tea_util_1.default.validateModel(request);
|
|
5264
|
-
let query = {};
|
|
5265
|
-
if (!tea_util_1.default.isUnset(request.isPublishQuery)) {
|
|
5266
|
-
query["IsPublishQuery"] = request.isPublishQuery;
|
|
5267
|
-
}
|
|
5268
|
-
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
5269
|
-
query["ProjectId"] = request.projectId;
|
|
5270
|
-
}
|
|
5271
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5272
|
-
query: openapi_util_1.default.query(query),
|
|
5273
|
-
});
|
|
5274
|
-
let params = new $OpenApi.Params({
|
|
5275
|
-
action: "ListScenes",
|
|
5276
|
-
version: "2020-01-01",
|
|
5277
|
-
protocol: "HTTPS",
|
|
5278
|
-
pathname: "/",
|
|
5279
|
-
method: "POST",
|
|
5280
|
-
authType: "AK",
|
|
5281
|
-
style: "RPC",
|
|
5282
|
-
reqBodyType: "formData",
|
|
5283
|
-
bodyType: "json",
|
|
5284
|
-
});
|
|
5285
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListScenesResponse({}));
|
|
5286
|
-
}
|
|
5287
|
-
async listScenes(request) {
|
|
5288
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
5289
|
-
return await this.listScenesWithOptions(request, runtime);
|
|
5290
|
-
}
|
|
5291
4656
|
async listSubSceneWithOptions(request, runtime) {
|
|
5292
4657
|
tea_util_1.default.validateModel(request);
|
|
5293
4658
|
let query = {};
|