@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/src/client.ts
CHANGED
|
@@ -458,56 +458,17 @@ export class AddSubSceneResponse extends $tea.Model {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
export class
|
|
462
|
-
|
|
463
|
-
country?: string;
|
|
464
|
-
gmtWakeup?: string;
|
|
465
|
-
hid?: number;
|
|
466
|
-
interrupt?: boolean;
|
|
467
|
-
invoker?: string;
|
|
468
|
-
level?: number;
|
|
469
|
-
message?: string;
|
|
470
|
-
pk?: string;
|
|
471
|
-
prompt?: string;
|
|
472
|
-
success?: boolean;
|
|
473
|
-
taskExtraData?: string;
|
|
474
|
-
taskIdentifier?: string;
|
|
475
|
-
url?: string;
|
|
461
|
+
export class CheckUserPropertyRequest extends $tea.Model {
|
|
462
|
+
uid?: string;
|
|
476
463
|
static names(): { [key: string]: string } {
|
|
477
464
|
return {
|
|
478
|
-
|
|
479
|
-
country: 'Country',
|
|
480
|
-
gmtWakeup: 'GmtWakeup',
|
|
481
|
-
hid: 'Hid',
|
|
482
|
-
interrupt: 'Interrupt',
|
|
483
|
-
invoker: 'Invoker',
|
|
484
|
-
level: 'Level',
|
|
485
|
-
message: 'Message',
|
|
486
|
-
pk: 'Pk',
|
|
487
|
-
prompt: 'Prompt',
|
|
488
|
-
success: 'Success',
|
|
489
|
-
taskExtraData: 'TaskExtraData',
|
|
490
|
-
taskIdentifier: 'TaskIdentifier',
|
|
491
|
-
url: 'Url',
|
|
465
|
+
uid: 'Uid',
|
|
492
466
|
};
|
|
493
467
|
}
|
|
494
468
|
|
|
495
469
|
static types(): { [key: string]: any } {
|
|
496
470
|
return {
|
|
497
|
-
|
|
498
|
-
country: 'string',
|
|
499
|
-
gmtWakeup: 'string',
|
|
500
|
-
hid: 'number',
|
|
501
|
-
interrupt: 'boolean',
|
|
502
|
-
invoker: 'string',
|
|
503
|
-
level: 'number',
|
|
504
|
-
message: 'string',
|
|
505
|
-
pk: 'string',
|
|
506
|
-
prompt: 'string',
|
|
507
|
-
success: 'boolean',
|
|
508
|
-
taskExtraData: 'string',
|
|
509
|
-
taskIdentifier: 'string',
|
|
510
|
-
url: 'string',
|
|
471
|
+
uid: 'string',
|
|
511
472
|
};
|
|
512
473
|
}
|
|
513
474
|
|
|
@@ -516,285 +477,27 @@ export class CheckResourceRequest extends $tea.Model {
|
|
|
516
477
|
}
|
|
517
478
|
}
|
|
518
479
|
|
|
519
|
-
export class
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
gmtWakeup?: string;
|
|
523
|
-
hid?: number;
|
|
524
|
-
interrupt?: boolean;
|
|
525
|
-
invoker?: string;
|
|
526
|
-
level?: number;
|
|
480
|
+
export class CheckUserPropertyResponseBody extends $tea.Model {
|
|
481
|
+
code?: number;
|
|
482
|
+
match?: boolean;
|
|
527
483
|
message?: string;
|
|
528
|
-
pk?: string;
|
|
529
|
-
prompt?: string;
|
|
530
484
|
requestId?: string;
|
|
531
485
|
success?: boolean;
|
|
532
|
-
taskExtraData?: string;
|
|
533
|
-
taskIdentifier?: string;
|
|
534
|
-
url?: string;
|
|
535
486
|
static names(): { [key: string]: string } {
|
|
536
487
|
return {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
gmtWakeup: 'GmtWakeup',
|
|
540
|
-
hid: 'Hid',
|
|
541
|
-
interrupt: 'Interrupt',
|
|
542
|
-
invoker: 'Invoker',
|
|
543
|
-
level: 'Level',
|
|
488
|
+
code: 'Code',
|
|
489
|
+
match: 'Match',
|
|
544
490
|
message: 'Message',
|
|
545
|
-
pk: 'Pk',
|
|
546
|
-
prompt: 'Prompt',
|
|
547
491
|
requestId: 'RequestId',
|
|
548
492
|
success: 'Success',
|
|
549
|
-
taskExtraData: 'TaskExtraData',
|
|
550
|
-
taskIdentifier: 'TaskIdentifier',
|
|
551
|
-
url: 'Url',
|
|
552
493
|
};
|
|
553
494
|
}
|
|
554
495
|
|
|
555
496
|
static types(): { [key: string]: any } {
|
|
556
497
|
return {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
gmtWakeup: 'string',
|
|
560
|
-
hid: 'number',
|
|
561
|
-
interrupt: 'boolean',
|
|
562
|
-
invoker: 'string',
|
|
563
|
-
level: 'number',
|
|
498
|
+
code: 'number',
|
|
499
|
+
match: 'boolean',
|
|
564
500
|
message: 'string',
|
|
565
|
-
pk: 'string',
|
|
566
|
-
prompt: 'string',
|
|
567
|
-
requestId: 'string',
|
|
568
|
-
success: 'boolean',
|
|
569
|
-
taskExtraData: 'string',
|
|
570
|
-
taskIdentifier: 'string',
|
|
571
|
-
url: 'string',
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
constructor(map?: { [key: string]: any }) {
|
|
576
|
-
super(map);
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export class CheckResourceResponse extends $tea.Model {
|
|
581
|
-
headers: { [key: string]: string };
|
|
582
|
-
body: CheckResourceResponseBody;
|
|
583
|
-
static names(): { [key: string]: string } {
|
|
584
|
-
return {
|
|
585
|
-
headers: 'headers',
|
|
586
|
-
body: 'body',
|
|
587
|
-
};
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
static types(): { [key: string]: any } {
|
|
591
|
-
return {
|
|
592
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
593
|
-
body: CheckResourceResponseBody,
|
|
594
|
-
};
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
constructor(map?: { [key: string]: any }) {
|
|
598
|
-
super(map);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export class CreateProjectRequest extends $tea.Model {
|
|
603
|
-
builderUserIdList?: string;
|
|
604
|
-
businessId?: string;
|
|
605
|
-
businessUserIdList?: string;
|
|
606
|
-
gatherUserIdList?: string;
|
|
607
|
-
name?: string;
|
|
608
|
-
static names(): { [key: string]: string } {
|
|
609
|
-
return {
|
|
610
|
-
builderUserIdList: 'BuilderUserIdList',
|
|
611
|
-
businessId: 'BusinessId',
|
|
612
|
-
businessUserIdList: 'BusinessUserIdList',
|
|
613
|
-
gatherUserIdList: 'GatherUserIdList',
|
|
614
|
-
name: 'Name',
|
|
615
|
-
};
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
static types(): { [key: string]: any } {
|
|
619
|
-
return {
|
|
620
|
-
builderUserIdList: 'string',
|
|
621
|
-
businessId: 'string',
|
|
622
|
-
businessUserIdList: 'string',
|
|
623
|
-
gatherUserIdList: 'string',
|
|
624
|
-
name: 'string',
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
constructor(map?: { [key: string]: any }) {
|
|
629
|
-
super(map);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
export class CreateProjectResponseBody extends $tea.Model {
|
|
634
|
-
errMessage?: string;
|
|
635
|
-
id?: number;
|
|
636
|
-
name?: string;
|
|
637
|
-
requestId?: string;
|
|
638
|
-
success?: boolean;
|
|
639
|
-
static names(): { [key: string]: string } {
|
|
640
|
-
return {
|
|
641
|
-
errMessage: 'ErrMessage',
|
|
642
|
-
id: 'Id',
|
|
643
|
-
name: 'Name',
|
|
644
|
-
requestId: 'RequestId',
|
|
645
|
-
success: 'Success',
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
static types(): { [key: string]: any } {
|
|
650
|
-
return {
|
|
651
|
-
errMessage: 'string',
|
|
652
|
-
id: 'number',
|
|
653
|
-
name: 'string',
|
|
654
|
-
requestId: 'string',
|
|
655
|
-
success: 'boolean',
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
constructor(map?: { [key: string]: any }) {
|
|
660
|
-
super(map);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
export class CreateProjectResponse extends $tea.Model {
|
|
665
|
-
headers: { [key: string]: string };
|
|
666
|
-
body: CreateProjectResponseBody;
|
|
667
|
-
static names(): { [key: string]: string } {
|
|
668
|
-
return {
|
|
669
|
-
headers: 'headers',
|
|
670
|
-
body: 'body',
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
static types(): { [key: string]: any } {
|
|
675
|
-
return {
|
|
676
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
677
|
-
body: CreateProjectResponseBody,
|
|
678
|
-
};
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
constructor(map?: { [key: string]: any }) {
|
|
682
|
-
super(map);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
export class CreateSceneRequest extends $tea.Model {
|
|
687
|
-
name?: string;
|
|
688
|
-
projectId?: string;
|
|
689
|
-
static names(): { [key: string]: string } {
|
|
690
|
-
return {
|
|
691
|
-
name: 'Name',
|
|
692
|
-
projectId: 'ProjectId',
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
static types(): { [key: string]: any } {
|
|
697
|
-
return {
|
|
698
|
-
name: 'string',
|
|
699
|
-
projectId: 'string',
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
constructor(map?: { [key: string]: any }) {
|
|
704
|
-
super(map);
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
export class CreateSceneResponseBody extends $tea.Model {
|
|
709
|
-
errMessage?: string;
|
|
710
|
-
previewToken?: string;
|
|
711
|
-
requestId?: string;
|
|
712
|
-
sceneId?: number;
|
|
713
|
-
success?: boolean;
|
|
714
|
-
static names(): { [key: string]: string } {
|
|
715
|
-
return {
|
|
716
|
-
errMessage: 'ErrMessage',
|
|
717
|
-
previewToken: 'PreviewToken',
|
|
718
|
-
requestId: 'RequestId',
|
|
719
|
-
sceneId: 'SceneId',
|
|
720
|
-
success: 'Success',
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
static types(): { [key: string]: any } {
|
|
725
|
-
return {
|
|
726
|
-
errMessage: 'string',
|
|
727
|
-
previewToken: 'string',
|
|
728
|
-
requestId: 'string',
|
|
729
|
-
sceneId: 'number',
|
|
730
|
-
success: 'boolean',
|
|
731
|
-
};
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
constructor(map?: { [key: string]: any }) {
|
|
735
|
-
super(map);
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
export class CreateSceneResponse extends $tea.Model {
|
|
740
|
-
headers: { [key: string]: string };
|
|
741
|
-
body: CreateSceneResponseBody;
|
|
742
|
-
static names(): { [key: string]: string } {
|
|
743
|
-
return {
|
|
744
|
-
headers: 'headers',
|
|
745
|
-
body: 'body',
|
|
746
|
-
};
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
static types(): { [key: string]: any } {
|
|
750
|
-
return {
|
|
751
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
752
|
-
body: CreateSceneResponseBody,
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
constructor(map?: { [key: string]: any }) {
|
|
757
|
-
super(map);
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
export class DeleteFileRequest extends $tea.Model {
|
|
762
|
-
paramFile?: string;
|
|
763
|
-
subSceneUuid?: string;
|
|
764
|
-
static names(): { [key: string]: string } {
|
|
765
|
-
return {
|
|
766
|
-
paramFile: 'ParamFile',
|
|
767
|
-
subSceneUuid: 'SubSceneUuid',
|
|
768
|
-
};
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
static types(): { [key: string]: any } {
|
|
772
|
-
return {
|
|
773
|
-
paramFile: 'string',
|
|
774
|
-
subSceneUuid: 'string',
|
|
775
|
-
};
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
constructor(map?: { [key: string]: any }) {
|
|
779
|
-
super(map);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
export class DeleteFileResponseBody extends $tea.Model {
|
|
784
|
-
errMessage?: string;
|
|
785
|
-
requestId?: string;
|
|
786
|
-
success?: boolean;
|
|
787
|
-
static names(): { [key: string]: string } {
|
|
788
|
-
return {
|
|
789
|
-
errMessage: 'ErrMessage',
|
|
790
|
-
requestId: 'RequestId',
|
|
791
|
-
success: 'Success',
|
|
792
|
-
};
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
static types(): { [key: string]: any } {
|
|
796
|
-
return {
|
|
797
|
-
errMessage: 'string',
|
|
798
501
|
requestId: 'string',
|
|
799
502
|
success: 'boolean',
|
|
800
503
|
};
|
|
@@ -805,9 +508,9 @@ export class DeleteFileResponseBody extends $tea.Model {
|
|
|
805
508
|
}
|
|
806
509
|
}
|
|
807
510
|
|
|
808
|
-
export class
|
|
511
|
+
export class CheckUserPropertyResponse extends $tea.Model {
|
|
809
512
|
headers: { [key: string]: string };
|
|
810
|
-
body:
|
|
513
|
+
body: CheckUserPropertyResponseBody;
|
|
811
514
|
static names(): { [key: string]: string } {
|
|
812
515
|
return {
|
|
813
516
|
headers: 'headers',
|
|
@@ -818,73 +521,7 @@ export class DeleteFileResponse extends $tea.Model {
|
|
|
818
521
|
static types(): { [key: string]: any } {
|
|
819
522
|
return {
|
|
820
523
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
821
|
-
body:
|
|
822
|
-
};
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
constructor(map?: { [key: string]: any }) {
|
|
826
|
-
super(map);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
export class DeleteProjectRequest extends $tea.Model {
|
|
831
|
-
projectId?: string;
|
|
832
|
-
static names(): { [key: string]: string } {
|
|
833
|
-
return {
|
|
834
|
-
projectId: 'ProjectId',
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
static types(): { [key: string]: any } {
|
|
839
|
-
return {
|
|
840
|
-
projectId: 'string',
|
|
841
|
-
};
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
constructor(map?: { [key: string]: any }) {
|
|
845
|
-
super(map);
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
export class DeleteProjectResponseBody extends $tea.Model {
|
|
850
|
-
errMessage?: string;
|
|
851
|
-
requestId?: string;
|
|
852
|
-
success?: boolean;
|
|
853
|
-
static names(): { [key: string]: string } {
|
|
854
|
-
return {
|
|
855
|
-
errMessage: 'ErrMessage',
|
|
856
|
-
requestId: 'RequestId',
|
|
857
|
-
success: 'Success',
|
|
858
|
-
};
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
static types(): { [key: string]: any } {
|
|
862
|
-
return {
|
|
863
|
-
errMessage: 'string',
|
|
864
|
-
requestId: 'string',
|
|
865
|
-
success: 'boolean',
|
|
866
|
-
};
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
constructor(map?: { [key: string]: any }) {
|
|
870
|
-
super(map);
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export class DeleteProjectResponse extends $tea.Model {
|
|
875
|
-
headers: { [key: string]: string };
|
|
876
|
-
body: DeleteProjectResponseBody;
|
|
877
|
-
static names(): { [key: string]: string } {
|
|
878
|
-
return {
|
|
879
|
-
headers: 'headers',
|
|
880
|
-
body: 'body',
|
|
881
|
-
};
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
static types(): { [key: string]: any } {
|
|
885
|
-
return {
|
|
886
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
887
|
-
body: DeleteProjectResponseBody,
|
|
524
|
+
body: CheckUserPropertyResponseBody,
|
|
888
525
|
};
|
|
889
526
|
}
|
|
890
527
|
|
|
@@ -1952,81 +1589,6 @@ export class GetOssPolicyResponse extends $tea.Model {
|
|
|
1952
1589
|
}
|
|
1953
1590
|
}
|
|
1954
1591
|
|
|
1955
|
-
export class GetPolicyRequest extends $tea.Model {
|
|
1956
|
-
subSceneUuid?: string;
|
|
1957
|
-
type?: string;
|
|
1958
|
-
static names(): { [key: string]: string } {
|
|
1959
|
-
return {
|
|
1960
|
-
subSceneUuid: 'SubSceneUuid',
|
|
1961
|
-
type: 'Type',
|
|
1962
|
-
};
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
static types(): { [key: string]: any } {
|
|
1966
|
-
return {
|
|
1967
|
-
subSceneUuid: 'string',
|
|
1968
|
-
type: 'string',
|
|
1969
|
-
};
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
constructor(map?: { [key: string]: any }) {
|
|
1973
|
-
super(map);
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
export class GetPolicyResponseBody extends $tea.Model {
|
|
1978
|
-
data?: { [key: string]: any };
|
|
1979
|
-
errMessage?: string;
|
|
1980
|
-
objectString?: string;
|
|
1981
|
-
requestId?: string;
|
|
1982
|
-
success?: boolean;
|
|
1983
|
-
static names(): { [key: string]: string } {
|
|
1984
|
-
return {
|
|
1985
|
-
data: 'Data',
|
|
1986
|
-
errMessage: 'ErrMessage',
|
|
1987
|
-
objectString: 'ObjectString',
|
|
1988
|
-
requestId: 'RequestId',
|
|
1989
|
-
success: 'Success',
|
|
1990
|
-
};
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
static types(): { [key: string]: any } {
|
|
1994
|
-
return {
|
|
1995
|
-
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1996
|
-
errMessage: 'string',
|
|
1997
|
-
objectString: 'string',
|
|
1998
|
-
requestId: 'string',
|
|
1999
|
-
success: 'boolean',
|
|
2000
|
-
};
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
constructor(map?: { [key: string]: any }) {
|
|
2004
|
-
super(map);
|
|
2005
|
-
}
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
export class GetPolicyResponse extends $tea.Model {
|
|
2009
|
-
headers: { [key: string]: string };
|
|
2010
|
-
body: GetPolicyResponseBody;
|
|
2011
|
-
static names(): { [key: string]: string } {
|
|
2012
|
-
return {
|
|
2013
|
-
headers: 'headers',
|
|
2014
|
-
body: 'body',
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
static types(): { [key: string]: any } {
|
|
2019
|
-
return {
|
|
2020
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2021
|
-
body: GetPolicyResponseBody,
|
|
2022
|
-
};
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
constructor(map?: { [key: string]: any }) {
|
|
2026
|
-
super(map);
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
1592
|
export class GetRectifyImageRequest extends $tea.Model {
|
|
2031
1593
|
subSceneId?: string;
|
|
2032
1594
|
static names(): { [key: string]: string } {
|
|
@@ -2863,102 +2425,9 @@ export class ListProjectResponseBody extends $tea.Model {
|
|
|
2863
2425
|
}
|
|
2864
2426
|
}
|
|
2865
2427
|
|
|
2866
|
-
export class ListProjectResponse extends $tea.Model {
|
|
2867
|
-
headers: { [key: string]: string };
|
|
2868
|
-
body: ListProjectResponseBody;
|
|
2869
|
-
static names(): { [key: string]: string } {
|
|
2870
|
-
return {
|
|
2871
|
-
headers: 'headers',
|
|
2872
|
-
body: 'body',
|
|
2873
|
-
};
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
static types(): { [key: string]: any } {
|
|
2877
|
-
return {
|
|
2878
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2879
|
-
body: ListProjectResponseBody,
|
|
2880
|
-
};
|
|
2881
|
-
}
|
|
2882
|
-
|
|
2883
|
-
constructor(map?: { [key: string]: any }) {
|
|
2884
|
-
super(map);
|
|
2885
|
-
}
|
|
2886
|
-
}
|
|
2887
|
-
|
|
2888
|
-
export class ListSceneRequest extends $tea.Model {
|
|
2889
|
-
name?: string;
|
|
2890
|
-
pageNum?: number;
|
|
2891
|
-
pageSize?: number;
|
|
2892
|
-
projectId?: string;
|
|
2893
|
-
static names(): { [key: string]: string } {
|
|
2894
|
-
return {
|
|
2895
|
-
name: 'Name',
|
|
2896
|
-
pageNum: 'PageNum',
|
|
2897
|
-
pageSize: 'PageSize',
|
|
2898
|
-
projectId: 'ProjectId',
|
|
2899
|
-
};
|
|
2900
|
-
}
|
|
2901
|
-
|
|
2902
|
-
static types(): { [key: string]: any } {
|
|
2903
|
-
return {
|
|
2904
|
-
name: 'string',
|
|
2905
|
-
pageNum: 'number',
|
|
2906
|
-
pageSize: 'number',
|
|
2907
|
-
projectId: 'string',
|
|
2908
|
-
};
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
|
-
constructor(map?: { [key: string]: any }) {
|
|
2912
|
-
super(map);
|
|
2913
|
-
}
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
export class ListSceneResponseBody extends $tea.Model {
|
|
2917
|
-
code?: number;
|
|
2918
|
-
count?: number;
|
|
2919
|
-
currentPage?: number;
|
|
2920
|
-
hasNext?: boolean;
|
|
2921
|
-
list?: ListSceneResponseBodyList[];
|
|
2922
|
-
message?: string;
|
|
2923
|
-
requestId?: string;
|
|
2924
|
-
success?: boolean;
|
|
2925
|
-
totalPage?: number;
|
|
2926
|
-
static names(): { [key: string]: string } {
|
|
2927
|
-
return {
|
|
2928
|
-
code: 'Code',
|
|
2929
|
-
count: 'Count',
|
|
2930
|
-
currentPage: 'CurrentPage',
|
|
2931
|
-
hasNext: 'HasNext',
|
|
2932
|
-
list: 'List',
|
|
2933
|
-
message: 'Message',
|
|
2934
|
-
requestId: 'RequestId',
|
|
2935
|
-
success: 'Success',
|
|
2936
|
-
totalPage: 'TotalPage',
|
|
2937
|
-
};
|
|
2938
|
-
}
|
|
2939
|
-
|
|
2940
|
-
static types(): { [key: string]: any } {
|
|
2941
|
-
return {
|
|
2942
|
-
code: 'number',
|
|
2943
|
-
count: 'number',
|
|
2944
|
-
currentPage: 'number',
|
|
2945
|
-
hasNext: 'boolean',
|
|
2946
|
-
list: { 'type': 'array', 'itemType': ListSceneResponseBodyList },
|
|
2947
|
-
message: 'string',
|
|
2948
|
-
requestId: 'string',
|
|
2949
|
-
success: 'boolean',
|
|
2950
|
-
totalPage: 'number',
|
|
2951
|
-
};
|
|
2952
|
-
}
|
|
2953
|
-
|
|
2954
|
-
constructor(map?: { [key: string]: any }) {
|
|
2955
|
-
super(map);
|
|
2956
|
-
}
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
export class ListSceneResponse extends $tea.Model {
|
|
2428
|
+
export class ListProjectResponse extends $tea.Model {
|
|
2960
2429
|
headers: { [key: string]: string };
|
|
2961
|
-
body:
|
|
2430
|
+
body: ListProjectResponseBody;
|
|
2962
2431
|
static names(): { [key: string]: string } {
|
|
2963
2432
|
return {
|
|
2964
2433
|
headers: 'headers',
|
|
@@ -2969,7 +2438,7 @@ export class ListSceneResponse extends $tea.Model {
|
|
|
2969
2438
|
static types(): { [key: string]: any } {
|
|
2970
2439
|
return {
|
|
2971
2440
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2972
|
-
body:
|
|
2441
|
+
body: ListProjectResponseBody,
|
|
2973
2442
|
};
|
|
2974
2443
|
}
|
|
2975
2444
|
|
|
@@ -2978,19 +2447,25 @@ export class ListSceneResponse extends $tea.Model {
|
|
|
2978
2447
|
}
|
|
2979
2448
|
}
|
|
2980
2449
|
|
|
2981
|
-
export class
|
|
2982
|
-
|
|
2450
|
+
export class ListSceneRequest extends $tea.Model {
|
|
2451
|
+
name?: string;
|
|
2452
|
+
pageNum?: number;
|
|
2453
|
+
pageSize?: number;
|
|
2983
2454
|
projectId?: string;
|
|
2984
2455
|
static names(): { [key: string]: string } {
|
|
2985
2456
|
return {
|
|
2986
|
-
|
|
2457
|
+
name: 'Name',
|
|
2458
|
+
pageNum: 'PageNum',
|
|
2459
|
+
pageSize: 'PageSize',
|
|
2987
2460
|
projectId: 'ProjectId',
|
|
2988
2461
|
};
|
|
2989
2462
|
}
|
|
2990
2463
|
|
|
2991
2464
|
static types(): { [key: string]: any } {
|
|
2992
2465
|
return {
|
|
2993
|
-
|
|
2466
|
+
name: 'string',
|
|
2467
|
+
pageNum: 'number',
|
|
2468
|
+
pageSize: 'number',
|
|
2994
2469
|
projectId: 'string',
|
|
2995
2470
|
};
|
|
2996
2471
|
}
|
|
@@ -3000,26 +2475,41 @@ export class ListScenesRequest extends $tea.Model {
|
|
|
3000
2475
|
}
|
|
3001
2476
|
}
|
|
3002
2477
|
|
|
3003
|
-
export class
|
|
3004
|
-
|
|
3005
|
-
|
|
2478
|
+
export class ListSceneResponseBody extends $tea.Model {
|
|
2479
|
+
code?: number;
|
|
2480
|
+
count?: number;
|
|
2481
|
+
currentPage?: number;
|
|
2482
|
+
hasNext?: boolean;
|
|
2483
|
+
list?: ListSceneResponseBodyList[];
|
|
2484
|
+
message?: string;
|
|
3006
2485
|
requestId?: string;
|
|
3007
2486
|
success?: boolean;
|
|
2487
|
+
totalPage?: number;
|
|
3008
2488
|
static names(): { [key: string]: string } {
|
|
3009
2489
|
return {
|
|
3010
|
-
|
|
3011
|
-
|
|
2490
|
+
code: 'Code',
|
|
2491
|
+
count: 'Count',
|
|
2492
|
+
currentPage: 'CurrentPage',
|
|
2493
|
+
hasNext: 'HasNext',
|
|
2494
|
+
list: 'List',
|
|
2495
|
+
message: 'Message',
|
|
3012
2496
|
requestId: 'RequestId',
|
|
3013
2497
|
success: 'Success',
|
|
2498
|
+
totalPage: 'TotalPage',
|
|
3014
2499
|
};
|
|
3015
2500
|
}
|
|
3016
2501
|
|
|
3017
2502
|
static types(): { [key: string]: any } {
|
|
3018
2503
|
return {
|
|
3019
|
-
|
|
3020
|
-
|
|
2504
|
+
code: 'number',
|
|
2505
|
+
count: 'number',
|
|
2506
|
+
currentPage: 'number',
|
|
2507
|
+
hasNext: 'boolean',
|
|
2508
|
+
list: { 'type': 'array', 'itemType': ListSceneResponseBodyList },
|
|
2509
|
+
message: 'string',
|
|
3021
2510
|
requestId: 'string',
|
|
3022
2511
|
success: 'boolean',
|
|
2512
|
+
totalPage: 'number',
|
|
3023
2513
|
};
|
|
3024
2514
|
}
|
|
3025
2515
|
|
|
@@ -3028,9 +2518,9 @@ export class ListScenesResponseBody extends $tea.Model {
|
|
|
3028
2518
|
}
|
|
3029
2519
|
}
|
|
3030
2520
|
|
|
3031
|
-
export class
|
|
2521
|
+
export class ListSceneResponse extends $tea.Model {
|
|
3032
2522
|
headers: { [key: string]: string };
|
|
3033
|
-
body:
|
|
2523
|
+
body: ListSceneResponseBody;
|
|
3034
2524
|
static names(): { [key: string]: string } {
|
|
3035
2525
|
return {
|
|
3036
2526
|
headers: 'headers',
|
|
@@ -3041,7 +2531,7 @@ export class ListScenesResponse extends $tea.Model {
|
|
|
3041
2531
|
static types(): { [key: string]: any } {
|
|
3042
2532
|
return {
|
|
3043
2533
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3044
|
-
body:
|
|
2534
|
+
body: ListSceneResponseBody,
|
|
3045
2535
|
};
|
|
3046
2536
|
}
|
|
3047
2537
|
|
|
@@ -5117,25 +4607,6 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5117
4607
|
}
|
|
5118
4608
|
}
|
|
5119
4609
|
|
|
5120
|
-
export class ListScenesResponseBodyData extends $tea.Model {
|
|
5121
|
-
sceneId?: string;
|
|
5122
|
-
static names(): { [key: string]: string } {
|
|
5123
|
-
return {
|
|
5124
|
-
sceneId: 'SceneId',
|
|
5125
|
-
};
|
|
5126
|
-
}
|
|
5127
|
-
|
|
5128
|
-
static types(): { [key: string]: any } {
|
|
5129
|
-
return {
|
|
5130
|
-
sceneId: 'string',
|
|
5131
|
-
};
|
|
5132
|
-
}
|
|
5133
|
-
|
|
5134
|
-
constructor(map?: { [key: string]: any }) {
|
|
5135
|
-
super(map);
|
|
5136
|
-
}
|
|
5137
|
-
}
|
|
5138
|
-
|
|
5139
4610
|
export class ListSubSceneResponseBodyList extends $tea.Model {
|
|
5140
4611
|
baseImageUrl?: string;
|
|
5141
4612
|
coverUrl?: string;
|
|
@@ -5425,210 +4896,18 @@ export default class Client extends OpenApi {
|
|
|
5425
4896
|
return await this.addSubSceneWithOptions(request, runtime);
|
|
5426
4897
|
}
|
|
5427
4898
|
|
|
5428
|
-
async
|
|
5429
|
-
Util.validateModel(request);
|
|
5430
|
-
let query = { };
|
|
5431
|
-
if (!Util.isUnset(request.bid)) {
|
|
5432
|
-
query["Bid"] = request.bid;
|
|
5433
|
-
}
|
|
5434
|
-
|
|
5435
|
-
if (!Util.isUnset(request.country)) {
|
|
5436
|
-
query["Country"] = request.country;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5439
|
-
if (!Util.isUnset(request.gmtWakeup)) {
|
|
5440
|
-
query["GmtWakeup"] = request.gmtWakeup;
|
|
5441
|
-
}
|
|
5442
|
-
|
|
5443
|
-
if (!Util.isUnset(request.hid)) {
|
|
5444
|
-
query["Hid"] = request.hid;
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
|
-
if (!Util.isUnset(request.interrupt)) {
|
|
5448
|
-
query["Interrupt"] = request.interrupt;
|
|
5449
|
-
}
|
|
5450
|
-
|
|
5451
|
-
if (!Util.isUnset(request.invoker)) {
|
|
5452
|
-
query["Invoker"] = request.invoker;
|
|
5453
|
-
}
|
|
5454
|
-
|
|
5455
|
-
if (!Util.isUnset(request.level)) {
|
|
5456
|
-
query["Level"] = request.level;
|
|
5457
|
-
}
|
|
5458
|
-
|
|
5459
|
-
if (!Util.isUnset(request.message)) {
|
|
5460
|
-
query["Message"] = request.message;
|
|
5461
|
-
}
|
|
5462
|
-
|
|
5463
|
-
if (!Util.isUnset(request.pk)) {
|
|
5464
|
-
query["Pk"] = request.pk;
|
|
5465
|
-
}
|
|
5466
|
-
|
|
5467
|
-
if (!Util.isUnset(request.prompt)) {
|
|
5468
|
-
query["Prompt"] = request.prompt;
|
|
5469
|
-
}
|
|
5470
|
-
|
|
5471
|
-
if (!Util.isUnset(request.success)) {
|
|
5472
|
-
query["Success"] = request.success;
|
|
5473
|
-
}
|
|
5474
|
-
|
|
5475
|
-
if (!Util.isUnset(request.taskExtraData)) {
|
|
5476
|
-
query["TaskExtraData"] = request.taskExtraData;
|
|
5477
|
-
}
|
|
5478
|
-
|
|
5479
|
-
if (!Util.isUnset(request.taskIdentifier)) {
|
|
5480
|
-
query["TaskIdentifier"] = request.taskIdentifier;
|
|
5481
|
-
}
|
|
5482
|
-
|
|
5483
|
-
if (!Util.isUnset(request.url)) {
|
|
5484
|
-
query["Url"] = request.url;
|
|
5485
|
-
}
|
|
5486
|
-
|
|
5487
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5488
|
-
query: OpenApiUtil.query(query),
|
|
5489
|
-
});
|
|
5490
|
-
let params = new $OpenApi.Params({
|
|
5491
|
-
action: "CheckResource",
|
|
5492
|
-
version: "2020-01-01",
|
|
5493
|
-
protocol: "HTTPS",
|
|
5494
|
-
pathname: "/",
|
|
5495
|
-
method: "POST",
|
|
5496
|
-
authType: "AK",
|
|
5497
|
-
style: "RPC",
|
|
5498
|
-
reqBodyType: "formData",
|
|
5499
|
-
bodyType: "json",
|
|
5500
|
-
});
|
|
5501
|
-
return $tea.cast<CheckResourceResponse>(await this.callApi(params, req, runtime), new CheckResourceResponse({}));
|
|
5502
|
-
}
|
|
5503
|
-
|
|
5504
|
-
async checkResource(request: CheckResourceRequest): Promise<CheckResourceResponse> {
|
|
5505
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
5506
|
-
return await this.checkResourceWithOptions(request, runtime);
|
|
5507
|
-
}
|
|
5508
|
-
|
|
5509
|
-
async createProjectWithOptions(request: CreateProjectRequest, runtime: $Util.RuntimeOptions): Promise<CreateProjectResponse> {
|
|
5510
|
-
Util.validateModel(request);
|
|
5511
|
-
let query = { };
|
|
5512
|
-
if (!Util.isUnset(request.builderUserIdList)) {
|
|
5513
|
-
query["BuilderUserIdList"] = request.builderUserIdList;
|
|
5514
|
-
}
|
|
5515
|
-
|
|
5516
|
-
if (!Util.isUnset(request.businessId)) {
|
|
5517
|
-
query["BusinessId"] = request.businessId;
|
|
5518
|
-
}
|
|
5519
|
-
|
|
5520
|
-
if (!Util.isUnset(request.businessUserIdList)) {
|
|
5521
|
-
query["BusinessUserIdList"] = request.businessUserIdList;
|
|
5522
|
-
}
|
|
5523
|
-
|
|
5524
|
-
if (!Util.isUnset(request.gatherUserIdList)) {
|
|
5525
|
-
query["GatherUserIdList"] = request.gatherUserIdList;
|
|
5526
|
-
}
|
|
5527
|
-
|
|
5528
|
-
if (!Util.isUnset(request.name)) {
|
|
5529
|
-
query["Name"] = request.name;
|
|
5530
|
-
}
|
|
5531
|
-
|
|
5532
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5533
|
-
query: OpenApiUtil.query(query),
|
|
5534
|
-
});
|
|
5535
|
-
let params = new $OpenApi.Params({
|
|
5536
|
-
action: "CreateProject",
|
|
5537
|
-
version: "2020-01-01",
|
|
5538
|
-
protocol: "HTTPS",
|
|
5539
|
-
pathname: "/",
|
|
5540
|
-
method: "POST",
|
|
5541
|
-
authType: "AK",
|
|
5542
|
-
style: "RPC",
|
|
5543
|
-
reqBodyType: "formData",
|
|
5544
|
-
bodyType: "json",
|
|
5545
|
-
});
|
|
5546
|
-
return $tea.cast<CreateProjectResponse>(await this.callApi(params, req, runtime), new CreateProjectResponse({}));
|
|
5547
|
-
}
|
|
5548
|
-
|
|
5549
|
-
async createProject(request: CreateProjectRequest): Promise<CreateProjectResponse> {
|
|
5550
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
5551
|
-
return await this.createProjectWithOptions(request, runtime);
|
|
5552
|
-
}
|
|
5553
|
-
|
|
5554
|
-
async createSceneWithOptions(request: CreateSceneRequest, runtime: $Util.RuntimeOptions): Promise<CreateSceneResponse> {
|
|
5555
|
-
Util.validateModel(request);
|
|
5556
|
-
let query = { };
|
|
5557
|
-
if (!Util.isUnset(request.name)) {
|
|
5558
|
-
query["Name"] = request.name;
|
|
5559
|
-
}
|
|
5560
|
-
|
|
5561
|
-
if (!Util.isUnset(request.projectId)) {
|
|
5562
|
-
query["ProjectId"] = request.projectId;
|
|
5563
|
-
}
|
|
5564
|
-
|
|
5565
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5566
|
-
query: OpenApiUtil.query(query),
|
|
5567
|
-
});
|
|
5568
|
-
let params = new $OpenApi.Params({
|
|
5569
|
-
action: "CreateScene",
|
|
5570
|
-
version: "2020-01-01",
|
|
5571
|
-
protocol: "HTTPS",
|
|
5572
|
-
pathname: "/",
|
|
5573
|
-
method: "POST",
|
|
5574
|
-
authType: "AK",
|
|
5575
|
-
style: "RPC",
|
|
5576
|
-
reqBodyType: "formData",
|
|
5577
|
-
bodyType: "json",
|
|
5578
|
-
});
|
|
5579
|
-
return $tea.cast<CreateSceneResponse>(await this.callApi(params, req, runtime), new CreateSceneResponse({}));
|
|
5580
|
-
}
|
|
5581
|
-
|
|
5582
|
-
async createScene(request: CreateSceneRequest): Promise<CreateSceneResponse> {
|
|
5583
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
5584
|
-
return await this.createSceneWithOptions(request, runtime);
|
|
5585
|
-
}
|
|
5586
|
-
|
|
5587
|
-
async deleteFileWithOptions(request: DeleteFileRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFileResponse> {
|
|
5588
|
-
Util.validateModel(request);
|
|
5589
|
-
let query = { };
|
|
5590
|
-
if (!Util.isUnset(request.paramFile)) {
|
|
5591
|
-
query["ParamFile"] = request.paramFile;
|
|
5592
|
-
}
|
|
5593
|
-
|
|
5594
|
-
if (!Util.isUnset(request.subSceneUuid)) {
|
|
5595
|
-
query["SubSceneUuid"] = request.subSceneUuid;
|
|
5596
|
-
}
|
|
5597
|
-
|
|
5598
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5599
|
-
query: OpenApiUtil.query(query),
|
|
5600
|
-
});
|
|
5601
|
-
let params = new $OpenApi.Params({
|
|
5602
|
-
action: "DeleteFile",
|
|
5603
|
-
version: "2020-01-01",
|
|
5604
|
-
protocol: "HTTPS",
|
|
5605
|
-
pathname: "/",
|
|
5606
|
-
method: "POST",
|
|
5607
|
-
authType: "AK",
|
|
5608
|
-
style: "RPC",
|
|
5609
|
-
reqBodyType: "formData",
|
|
5610
|
-
bodyType: "json",
|
|
5611
|
-
});
|
|
5612
|
-
return $tea.cast<DeleteFileResponse>(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
|
|
5613
|
-
}
|
|
5614
|
-
|
|
5615
|
-
async deleteFile(request: DeleteFileRequest): Promise<DeleteFileResponse> {
|
|
5616
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
5617
|
-
return await this.deleteFileWithOptions(request, runtime);
|
|
5618
|
-
}
|
|
5619
|
-
|
|
5620
|
-
async deleteProjectWithOptions(request: DeleteProjectRequest, runtime: $Util.RuntimeOptions): Promise<DeleteProjectResponse> {
|
|
4899
|
+
async checkUserPropertyWithOptions(request: CheckUserPropertyRequest, runtime: $Util.RuntimeOptions): Promise<CheckUserPropertyResponse> {
|
|
5621
4900
|
Util.validateModel(request);
|
|
5622
4901
|
let query = { };
|
|
5623
|
-
if (!Util.isUnset(request.
|
|
5624
|
-
query["
|
|
4902
|
+
if (!Util.isUnset(request.uid)) {
|
|
4903
|
+
query["Uid"] = request.uid;
|
|
5625
4904
|
}
|
|
5626
4905
|
|
|
5627
4906
|
let req = new $OpenApi.OpenApiRequest({
|
|
5628
4907
|
query: OpenApiUtil.query(query),
|
|
5629
4908
|
});
|
|
5630
4909
|
let params = new $OpenApi.Params({
|
|
5631
|
-
action: "
|
|
4910
|
+
action: "CheckUserProperty",
|
|
5632
4911
|
version: "2020-01-01",
|
|
5633
4912
|
protocol: "HTTPS",
|
|
5634
4913
|
pathname: "/",
|
|
@@ -5638,12 +4917,12 @@ export default class Client extends OpenApi {
|
|
|
5638
4917
|
reqBodyType: "formData",
|
|
5639
4918
|
bodyType: "json",
|
|
5640
4919
|
});
|
|
5641
|
-
return $tea.cast<
|
|
4920
|
+
return $tea.cast<CheckUserPropertyResponse>(await this.callApi(params, req, runtime), new CheckUserPropertyResponse({}));
|
|
5642
4921
|
}
|
|
5643
4922
|
|
|
5644
|
-
async
|
|
4923
|
+
async checkUserProperty(request: CheckUserPropertyRequest): Promise<CheckUserPropertyResponse> {
|
|
5645
4924
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5646
|
-
return await this.
|
|
4925
|
+
return await this.checkUserPropertyWithOptions(request, runtime);
|
|
5647
4926
|
}
|
|
5648
4927
|
|
|
5649
4928
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
@@ -6063,39 +5342,6 @@ export default class Client extends OpenApi {
|
|
|
6063
5342
|
return await this.getOssPolicyWithOptions(request, runtime);
|
|
6064
5343
|
}
|
|
6065
5344
|
|
|
6066
|
-
async getPolicyWithOptions(request: GetPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GetPolicyResponse> {
|
|
6067
|
-
Util.validateModel(request);
|
|
6068
|
-
let query = { };
|
|
6069
|
-
if (!Util.isUnset(request.subSceneUuid)) {
|
|
6070
|
-
query["SubSceneUuid"] = request.subSceneUuid;
|
|
6071
|
-
}
|
|
6072
|
-
|
|
6073
|
-
if (!Util.isUnset(request.type)) {
|
|
6074
|
-
query["Type"] = request.type;
|
|
6075
|
-
}
|
|
6076
|
-
|
|
6077
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
6078
|
-
query: OpenApiUtil.query(query),
|
|
6079
|
-
});
|
|
6080
|
-
let params = new $OpenApi.Params({
|
|
6081
|
-
action: "GetPolicy",
|
|
6082
|
-
version: "2020-01-01",
|
|
6083
|
-
protocol: "HTTPS",
|
|
6084
|
-
pathname: "/",
|
|
6085
|
-
method: "POST",
|
|
6086
|
-
authType: "AK",
|
|
6087
|
-
style: "RPC",
|
|
6088
|
-
reqBodyType: "formData",
|
|
6089
|
-
bodyType: "json",
|
|
6090
|
-
});
|
|
6091
|
-
return $tea.cast<GetPolicyResponse>(await this.callApi(params, req, runtime), new GetPolicyResponse({}));
|
|
6092
|
-
}
|
|
6093
|
-
|
|
6094
|
-
async getPolicy(request: GetPolicyRequest): Promise<GetPolicyResponse> {
|
|
6095
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
6096
|
-
return await this.getPolicyWithOptions(request, runtime);
|
|
6097
|
-
}
|
|
6098
|
-
|
|
6099
5345
|
async getRectifyImageWithOptions(request: GetRectifyImageRequest, runtime: $Util.RuntimeOptions): Promise<GetRectifyImageResponse> {
|
|
6100
5346
|
Util.validateModel(request);
|
|
6101
5347
|
let query = { };
|
|
@@ -6500,39 +5746,6 @@ export default class Client extends OpenApi {
|
|
|
6500
5746
|
return await this.listSceneWithOptions(request, runtime);
|
|
6501
5747
|
}
|
|
6502
5748
|
|
|
6503
|
-
async listScenesWithOptions(request: ListScenesRequest, runtime: $Util.RuntimeOptions): Promise<ListScenesResponse> {
|
|
6504
|
-
Util.validateModel(request);
|
|
6505
|
-
let query = { };
|
|
6506
|
-
if (!Util.isUnset(request.isPublishQuery)) {
|
|
6507
|
-
query["IsPublishQuery"] = request.isPublishQuery;
|
|
6508
|
-
}
|
|
6509
|
-
|
|
6510
|
-
if (!Util.isUnset(request.projectId)) {
|
|
6511
|
-
query["ProjectId"] = request.projectId;
|
|
6512
|
-
}
|
|
6513
|
-
|
|
6514
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
6515
|
-
query: OpenApiUtil.query(query),
|
|
6516
|
-
});
|
|
6517
|
-
let params = new $OpenApi.Params({
|
|
6518
|
-
action: "ListScenes",
|
|
6519
|
-
version: "2020-01-01",
|
|
6520
|
-
protocol: "HTTPS",
|
|
6521
|
-
pathname: "/",
|
|
6522
|
-
method: "POST",
|
|
6523
|
-
authType: "AK",
|
|
6524
|
-
style: "RPC",
|
|
6525
|
-
reqBodyType: "formData",
|
|
6526
|
-
bodyType: "json",
|
|
6527
|
-
});
|
|
6528
|
-
return $tea.cast<ListScenesResponse>(await this.callApi(params, req, runtime), new ListScenesResponse({}));
|
|
6529
|
-
}
|
|
6530
|
-
|
|
6531
|
-
async listScenes(request: ListScenesRequest): Promise<ListScenesResponse> {
|
|
6532
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
6533
|
-
return await this.listScenesWithOptions(request, runtime);
|
|
6534
|
-
}
|
|
6535
|
-
|
|
6536
5749
|
async listSubSceneWithOptions(request: ListSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<ListSubSceneResponse> {
|
|
6537
5750
|
Util.validateModel(request);
|
|
6538
5751
|
let query = { };
|