@alicloud/ecd20201002 2.1.6 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +641 -0
- package/dist/client.js +736 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1332 -58
package/dist/client.js
CHANGED
|
@@ -36,9 +36,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.VerifyCredentialResponse = exports.VerifyCredentialResponseBody = exports.VerifyCredentialRequest = exports.UnbindUserDesktopResponse = exports.UnbindUserDesktopResponseBody = exports.UnbindUserDesktopRequest = exports.StopRecordContentResponse = void 0;
|
|
39
|
+
exports.DescribeSnapshotsResponse = exports.DescribeSnapshotsResponseBody = exports.DescribeSnapshotsRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribeOfficeSitesResponse = exports.DescribeOfficeSitesResponseBody = exports.DescribeOfficeSitesRequest = exports.DescribeGlobalDesktopsResponse = exports.DescribeGlobalDesktopsResponseBody = exports.DescribeGlobalDesktopsRequest = exports.DescribeFingerPrintTemplatesResponse = exports.DescribeFingerPrintTemplatesResponseBody = exports.DescribeFingerPrintTemplatesRequest = exports.DescribeDirectoriesResponse = exports.DescribeDirectoriesResponseBody = exports.DescribeDirectoriesRequest = exports.DeleteFingerPrintTemplateResponse = exports.DeleteFingerPrintTemplateResponseBody = exports.DeleteFingerPrintTemplateRequest = exports.ChangePasswordResponse = exports.ChangePasswordResponseBody = exports.ChangePasswordRequest = exports.ApproveFotaUpdateResponse = exports.ApproveFotaUpdateResponseBody = exports.ApproveFotaUpdateRequest = exports.OssUploadCredential = exports.QueryEdsAgentReportConfigResponseBodyData = exports.GetLoginTokenResponseBodyRiskVerifyInfo = exports.GetLoginTokenResponseBodyPasswordStrategy = exports.GetConnectionTicketRequestTag = exports.GetCloudDriveServiceMountTokenResponseBodyToken = exports.DescribeUserResourcesResponseBodyResources = exports.DescribeUserResourcesResponseBodyResourcesSessions = exports.DescribeUserResourcesResponseBodyResourcesFotaUpdate = exports.DescribeUserResourcesResponseBodyResourcesDesktopTimers = exports.DescribeUserResourcesResponseBodyResourcesDesktopDurationList = exports.DescribeUserResourcesResponseBodyResourcesClients = exports.DescribeSnapshotsResponseBodySnapshots = exports.DescribeRegionsResponseBodyRegions = exports.DescribeOfficeSitesResponseBodyOfficeSites = exports.DescribeGlobalDesktopsResponseBodyDesktops = exports.DescribeGlobalDesktopsResponseBodyDesktopsSessions = exports.DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate = exports.DescribeGlobalDesktopsResponseBodyDesktopsDisks = exports.DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers = exports.DescribeGlobalDesktopsResponseBodyDesktopsClients = exports.DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates = exports.DescribeDirectoriesResponseBodyDirectories = void 0;
|
|
40
|
+
exports.StartDesktopsResponseBody = exports.StartDesktopsRequest = exports.SetFingerPrintTemplateDescriptionResponse = exports.SetFingerPrintTemplateDescriptionResponseBody = exports.SetFingerPrintTemplateDescriptionRequest = exports.SetFingerPrintTemplateResponse = exports.SetFingerPrintTemplateResponseBody = exports.SetFingerPrintTemplateRequest = exports.SendTokenCodeResponse = exports.SendTokenCodeResponseBody = exports.SendTokenCodeRequest = exports.ResetSnapshotResponse = exports.ResetSnapshotResponseBody = exports.ResetSnapshotRequest = exports.ResetPasswordResponse = exports.ResetPasswordResponseBody = exports.ResetPasswordRequest = exports.ReportSessionStatusResponse = exports.ReportSessionStatusResponseBody = exports.ReportSessionStatusRequest = exports.ReportEdsAgentInfoResponse = exports.ReportEdsAgentInfoResponseBody = exports.ReportEdsAgentInfoRequest = exports.RefreshLoginTokenResponse = exports.RefreshLoginTokenResponseBody = exports.RefreshLoginTokenRequest = exports.RebootDesktopsResponse = exports.RebootDesktopsResponseBody = exports.RebootDesktopsRequest = exports.QueryEdsAgentReportConfigResponse = exports.QueryEdsAgentReportConfigResponseBody = exports.QueryEdsAgentReportConfigRequest = exports.IsKeepAliveResponse = exports.IsKeepAliveResponseBody = exports.IsKeepAliveRequest = exports.GetLoginTokenResponse = exports.GetLoginTokenResponseBody = exports.GetLoginTokenRequest = exports.GetConnectionTicketResponse = exports.GetConnectionTicketResponseBody = exports.GetConnectionTicketRequest = exports.GetCloudDriveServiceMountTokenResponse = exports.GetCloudDriveServiceMountTokenResponseBody = exports.GetCloudDriveServiceMountTokenRequest = exports.EncryptPasswordResponse = exports.EncryptPasswordResponseBody = exports.EncryptPasswordRequest = exports.DescribeUserResourcesResponse = exports.DescribeUserResourcesResponseBody = exports.DescribeUserResourcesRequest = void 0;
|
|
41
|
+
exports.VerifyCredentialResponse = exports.VerifyCredentialResponseBody = exports.VerifyCredentialRequest = exports.UnbindUserDesktopResponse = exports.UnbindUserDesktopResponseBody = exports.UnbindUserDesktopRequest = exports.StopRecordContentResponse = exports.StopRecordContentResponseBody = exports.StopRecordContentRequest = exports.StopDesktopsResponse = exports.StopDesktopsResponseBody = exports.StopDesktopsRequest = exports.StartRecordContentResponse = exports.StartRecordContentResponseBody = exports.StartRecordContentRequest = exports.StartDesktopsResponse = void 0;
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
/**
|
|
44
44
|
*/
|
|
@@ -449,6 +449,297 @@ class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
exports.DescribeSnapshotsResponseBodySnapshots = DescribeSnapshotsResponseBodySnapshots;
|
|
452
|
+
class DescribeUserResourcesResponseBodyResourcesClients extends $dara.Model {
|
|
453
|
+
static names() {
|
|
454
|
+
return {
|
|
455
|
+
clientType: 'ClientType',
|
|
456
|
+
status: 'Status',
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
static types() {
|
|
460
|
+
return {
|
|
461
|
+
clientType: 'string',
|
|
462
|
+
status: 'string',
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
validate() {
|
|
466
|
+
super.validate();
|
|
467
|
+
}
|
|
468
|
+
constructor(map) {
|
|
469
|
+
super(map);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
exports.DescribeUserResourcesResponseBodyResourcesClients = DescribeUserResourcesResponseBodyResourcesClients;
|
|
473
|
+
class DescribeUserResourcesResponseBodyResourcesDesktopDurationList extends $dara.Model {
|
|
474
|
+
static names() {
|
|
475
|
+
return {
|
|
476
|
+
orderInstanceId: 'OrderInstanceId',
|
|
477
|
+
packageCreationTime: 'PackageCreationTime',
|
|
478
|
+
packageExpiredTime: 'PackageExpiredTime',
|
|
479
|
+
packageId: 'PackageId',
|
|
480
|
+
packageStatus: 'PackageStatus',
|
|
481
|
+
packageType: 'PackageType',
|
|
482
|
+
packageUsedUpStrategy: 'PackageUsedUpStrategy',
|
|
483
|
+
periodEndTime: 'PeriodEndTime',
|
|
484
|
+
periodStartTime: 'PeriodStartTime',
|
|
485
|
+
postPaidLimitFee: 'PostPaidLimitFee',
|
|
486
|
+
totalDuration: 'TotalDuration',
|
|
487
|
+
usedDuration: 'UsedDuration',
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
static types() {
|
|
491
|
+
return {
|
|
492
|
+
orderInstanceId: 'string',
|
|
493
|
+
packageCreationTime: 'string',
|
|
494
|
+
packageExpiredTime: 'string',
|
|
495
|
+
packageId: 'string',
|
|
496
|
+
packageStatus: 'string',
|
|
497
|
+
packageType: 'string',
|
|
498
|
+
packageUsedUpStrategy: 'string',
|
|
499
|
+
periodEndTime: 'string',
|
|
500
|
+
periodStartTime: 'string',
|
|
501
|
+
postPaidLimitFee: 'number',
|
|
502
|
+
totalDuration: 'number',
|
|
503
|
+
usedDuration: 'number',
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
validate() {
|
|
507
|
+
super.validate();
|
|
508
|
+
}
|
|
509
|
+
constructor(map) {
|
|
510
|
+
super(map);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
exports.DescribeUserResourcesResponseBodyResourcesDesktopDurationList = DescribeUserResourcesResponseBodyResourcesDesktopDurationList;
|
|
514
|
+
class DescribeUserResourcesResponseBodyResourcesDesktopTimers extends $dara.Model {
|
|
515
|
+
static names() {
|
|
516
|
+
return {
|
|
517
|
+
allowClientSetting: 'AllowClientSetting',
|
|
518
|
+
cronExpression: 'CronExpression',
|
|
519
|
+
enforce: 'Enforce',
|
|
520
|
+
executionTime: 'ExecutionTime',
|
|
521
|
+
interval: 'Interval',
|
|
522
|
+
operationType: 'OperationType',
|
|
523
|
+
resetType: 'ResetType',
|
|
524
|
+
timerType: 'TimerType',
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
static types() {
|
|
528
|
+
return {
|
|
529
|
+
allowClientSetting: 'string',
|
|
530
|
+
cronExpression: 'string',
|
|
531
|
+
enforce: 'boolean',
|
|
532
|
+
executionTime: 'string',
|
|
533
|
+
interval: 'number',
|
|
534
|
+
operationType: 'string',
|
|
535
|
+
resetType: 'string',
|
|
536
|
+
timerType: 'string',
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
validate() {
|
|
540
|
+
super.validate();
|
|
541
|
+
}
|
|
542
|
+
constructor(map) {
|
|
543
|
+
super(map);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
exports.DescribeUserResourcesResponseBodyResourcesDesktopTimers = DescribeUserResourcesResponseBodyResourcesDesktopTimers;
|
|
547
|
+
class DescribeUserResourcesResponseBodyResourcesFotaUpdate extends $dara.Model {
|
|
548
|
+
static names() {
|
|
549
|
+
return {
|
|
550
|
+
channel: 'Channel',
|
|
551
|
+
currentAppVersion: 'CurrentAppVersion',
|
|
552
|
+
force: 'Force',
|
|
553
|
+
newAppVersion: 'NewAppVersion',
|
|
554
|
+
newDcdVersion: 'NewDcdVersion',
|
|
555
|
+
project: 'Project',
|
|
556
|
+
releaseNote: 'ReleaseNote',
|
|
557
|
+
releaseNoteEn: 'ReleaseNoteEn',
|
|
558
|
+
releaseNoteJp: 'ReleaseNoteJp',
|
|
559
|
+
size: 'Size',
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
static types() {
|
|
563
|
+
return {
|
|
564
|
+
channel: 'string',
|
|
565
|
+
currentAppVersion: 'string',
|
|
566
|
+
force: 'boolean',
|
|
567
|
+
newAppVersion: 'string',
|
|
568
|
+
newDcdVersion: 'string',
|
|
569
|
+
project: 'string',
|
|
570
|
+
releaseNote: 'string',
|
|
571
|
+
releaseNoteEn: 'string',
|
|
572
|
+
releaseNoteJp: 'string',
|
|
573
|
+
size: 'string',
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
validate() {
|
|
577
|
+
super.validate();
|
|
578
|
+
}
|
|
579
|
+
constructor(map) {
|
|
580
|
+
super(map);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
exports.DescribeUserResourcesResponseBodyResourcesFotaUpdate = DescribeUserResourcesResponseBodyResourcesFotaUpdate;
|
|
584
|
+
class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
|
|
585
|
+
static names() {
|
|
586
|
+
return {
|
|
587
|
+
resourceSessionStartTime: 'ResourceSessionStartTime',
|
|
588
|
+
userId: 'UserId',
|
|
589
|
+
userPrincipalName: 'UserPrincipalName',
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
static types() {
|
|
593
|
+
return {
|
|
594
|
+
resourceSessionStartTime: 'string',
|
|
595
|
+
userId: 'string',
|
|
596
|
+
userPrincipalName: 'string',
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
validate() {
|
|
600
|
+
super.validate();
|
|
601
|
+
}
|
|
602
|
+
constructor(map) {
|
|
603
|
+
super(map);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
exports.DescribeUserResourcesResponseBodyResourcesSessions = DescribeUserResourcesResponseBodyResourcesSessions;
|
|
607
|
+
class DescribeUserResourcesResponseBodyResources extends $dara.Model {
|
|
608
|
+
static names() {
|
|
609
|
+
return {
|
|
610
|
+
accessType: 'AccessType',
|
|
611
|
+
aliUid: 'AliUid',
|
|
612
|
+
appId: 'AppId',
|
|
613
|
+
authMode: 'AuthMode',
|
|
614
|
+
categoryId: 'CategoryId',
|
|
615
|
+
categoryType: 'CategoryType',
|
|
616
|
+
cdsName: 'CdsName',
|
|
617
|
+
centerResourceId: 'CenterResourceId',
|
|
618
|
+
chargeType: 'ChargeType',
|
|
619
|
+
clients: 'Clients',
|
|
620
|
+
connectionProperties: 'ConnectionProperties',
|
|
621
|
+
createTime: 'CreateTime',
|
|
622
|
+
desktopDurationList: 'DesktopDurationList',
|
|
623
|
+
desktopTimers: 'DesktopTimers',
|
|
624
|
+
expiredTime: 'ExpiredTime',
|
|
625
|
+
externalDomainId: 'ExternalDomainId',
|
|
626
|
+
externalUserId: 'ExternalUserId',
|
|
627
|
+
fotaUpdate: 'FotaUpdate',
|
|
628
|
+
globalStatus: 'GlobalStatus',
|
|
629
|
+
hibernationBeta: 'HibernationBeta',
|
|
630
|
+
icon: 'Icon',
|
|
631
|
+
lastStartTime: 'LastStartTime',
|
|
632
|
+
localName: 'LocalName',
|
|
633
|
+
managementStatuses: 'ManagementStatuses',
|
|
634
|
+
officeSiteId: 'OfficeSiteId',
|
|
635
|
+
orderStatus: 'OrderStatus',
|
|
636
|
+
os: 'Os',
|
|
637
|
+
osDescription: 'OsDescription',
|
|
638
|
+
osType: 'OsType',
|
|
639
|
+
productType: 'ProductType',
|
|
640
|
+
protocolType: 'ProtocolType',
|
|
641
|
+
realDesktopId: 'RealDesktopId',
|
|
642
|
+
regionId: 'RegionId',
|
|
643
|
+
regionLocation: 'RegionLocation',
|
|
644
|
+
resourceGroupId: 'ResourceGroupId',
|
|
645
|
+
resourceId: 'ResourceId',
|
|
646
|
+
resourceLevel: 'ResourceLevel',
|
|
647
|
+
resourceName: 'ResourceName',
|
|
648
|
+
resourceSessionStatus: 'ResourceSessionStatus',
|
|
649
|
+
resourceStatus: 'ResourceStatus',
|
|
650
|
+
resourceType: 'ResourceType',
|
|
651
|
+
sessionType: 'SessionType',
|
|
652
|
+
sessions: 'Sessions',
|
|
653
|
+
subPayType: 'SubPayType',
|
|
654
|
+
supportHibernation: 'SupportHibernation',
|
|
655
|
+
supportedActions: 'SupportedActions',
|
|
656
|
+
themeColor: 'ThemeColor',
|
|
657
|
+
userCustomName: 'UserCustomName',
|
|
658
|
+
version: 'Version',
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
static types() {
|
|
662
|
+
return {
|
|
663
|
+
accessType: 'string',
|
|
664
|
+
aliUid: 'number',
|
|
665
|
+
appId: 'string',
|
|
666
|
+
authMode: 'string',
|
|
667
|
+
categoryId: 'number',
|
|
668
|
+
categoryType: 'number',
|
|
669
|
+
cdsName: 'string',
|
|
670
|
+
centerResourceId: 'string',
|
|
671
|
+
chargeType: 'string',
|
|
672
|
+
clients: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesClients },
|
|
673
|
+
connectionProperties: 'string',
|
|
674
|
+
createTime: 'string',
|
|
675
|
+
desktopDurationList: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopDurationList },
|
|
676
|
+
desktopTimers: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopTimers },
|
|
677
|
+
expiredTime: 'string',
|
|
678
|
+
externalDomainId: 'string',
|
|
679
|
+
externalUserId: 'string',
|
|
680
|
+
fotaUpdate: DescribeUserResourcesResponseBodyResourcesFotaUpdate,
|
|
681
|
+
globalStatus: 'boolean',
|
|
682
|
+
hibernationBeta: 'boolean',
|
|
683
|
+
icon: 'string',
|
|
684
|
+
lastStartTime: 'string',
|
|
685
|
+
localName: 'string',
|
|
686
|
+
managementStatuses: { 'type': 'array', 'itemType': 'string' },
|
|
687
|
+
officeSiteId: 'string',
|
|
688
|
+
orderStatus: 'string',
|
|
689
|
+
os: 'string',
|
|
690
|
+
osDescription: 'string',
|
|
691
|
+
osType: 'string',
|
|
692
|
+
productType: 'string',
|
|
693
|
+
protocolType: 'string',
|
|
694
|
+
realDesktopId: 'string',
|
|
695
|
+
regionId: 'string',
|
|
696
|
+
regionLocation: 'string',
|
|
697
|
+
resourceGroupId: 'string',
|
|
698
|
+
resourceId: 'string',
|
|
699
|
+
resourceLevel: 'string',
|
|
700
|
+
resourceName: 'string',
|
|
701
|
+
resourceSessionStatus: 'string',
|
|
702
|
+
resourceStatus: 'string',
|
|
703
|
+
resourceType: 'string',
|
|
704
|
+
sessionType: 'string',
|
|
705
|
+
sessions: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesSessions },
|
|
706
|
+
subPayType: 'string',
|
|
707
|
+
supportHibernation: 'boolean',
|
|
708
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
709
|
+
themeColor: 'string',
|
|
710
|
+
userCustomName: 'string',
|
|
711
|
+
version: 'string',
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
validate() {
|
|
715
|
+
if (Array.isArray(this.clients)) {
|
|
716
|
+
$dara.Model.validateArray(this.clients);
|
|
717
|
+
}
|
|
718
|
+
if (Array.isArray(this.desktopDurationList)) {
|
|
719
|
+
$dara.Model.validateArray(this.desktopDurationList);
|
|
720
|
+
}
|
|
721
|
+
if (Array.isArray(this.desktopTimers)) {
|
|
722
|
+
$dara.Model.validateArray(this.desktopTimers);
|
|
723
|
+
}
|
|
724
|
+
if (this.fotaUpdate && typeof this.fotaUpdate.validate === 'function') {
|
|
725
|
+
this.fotaUpdate.validate();
|
|
726
|
+
}
|
|
727
|
+
if (Array.isArray(this.managementStatuses)) {
|
|
728
|
+
$dara.Model.validateArray(this.managementStatuses);
|
|
729
|
+
}
|
|
730
|
+
if (Array.isArray(this.sessions)) {
|
|
731
|
+
$dara.Model.validateArray(this.sessions);
|
|
732
|
+
}
|
|
733
|
+
if (Array.isArray(this.supportedActions)) {
|
|
734
|
+
$dara.Model.validateArray(this.supportedActions);
|
|
735
|
+
}
|
|
736
|
+
super.validate();
|
|
737
|
+
}
|
|
738
|
+
constructor(map) {
|
|
739
|
+
super(map);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
exports.DescribeUserResourcesResponseBodyResources = DescribeUserResourcesResponseBodyResources;
|
|
452
743
|
class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
|
|
453
744
|
static names() {
|
|
454
745
|
return {
|
|
@@ -1348,6 +1639,149 @@ class DescribeSnapshotsResponse extends $dara.Model {
|
|
|
1348
1639
|
}
|
|
1349
1640
|
}
|
|
1350
1641
|
exports.DescribeSnapshotsResponse = DescribeSnapshotsResponse;
|
|
1642
|
+
class DescribeUserResourcesRequest extends $dara.Model {
|
|
1643
|
+
static names() {
|
|
1644
|
+
return {
|
|
1645
|
+
accessType: 'AccessType',
|
|
1646
|
+
autoRefresh: 'AutoRefresh',
|
|
1647
|
+
categoryId: 'CategoryId',
|
|
1648
|
+
categoryType: 'CategoryType',
|
|
1649
|
+
clientId: 'ClientId',
|
|
1650
|
+
clientType: 'ClientType',
|
|
1651
|
+
clientVersion: 'ClientVersion',
|
|
1652
|
+
dualCenterForward: 'DualCenterForward',
|
|
1653
|
+
language: 'Language',
|
|
1654
|
+
loginRegionId: 'LoginRegionId',
|
|
1655
|
+
loginToken: 'LoginToken',
|
|
1656
|
+
maxResults: 'MaxResults',
|
|
1657
|
+
nextToken: 'NextToken',
|
|
1658
|
+
officeSiteIds: 'OfficeSiteIds',
|
|
1659
|
+
orderBy: 'OrderBy',
|
|
1660
|
+
productTypes: 'ProductTypes',
|
|
1661
|
+
protocolType: 'ProtocolType',
|
|
1662
|
+
queryFotaUpdate: 'QueryFotaUpdate',
|
|
1663
|
+
refreshFotaUpdate: 'RefreshFotaUpdate',
|
|
1664
|
+
resourceIds: 'ResourceIds',
|
|
1665
|
+
resourceName: 'ResourceName',
|
|
1666
|
+
resourceTypes: 'ResourceTypes',
|
|
1667
|
+
scene: 'Scene',
|
|
1668
|
+
searchRegionId: 'SearchRegionId',
|
|
1669
|
+
sessionId: 'SessionId',
|
|
1670
|
+
sortType: 'SortType',
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
static types() {
|
|
1674
|
+
return {
|
|
1675
|
+
accessType: 'string',
|
|
1676
|
+
autoRefresh: 'boolean',
|
|
1677
|
+
categoryId: 'number',
|
|
1678
|
+
categoryType: 'number',
|
|
1679
|
+
clientId: 'string',
|
|
1680
|
+
clientType: 'string',
|
|
1681
|
+
clientVersion: 'string',
|
|
1682
|
+
dualCenterForward: 'boolean',
|
|
1683
|
+
language: 'string',
|
|
1684
|
+
loginRegionId: 'string',
|
|
1685
|
+
loginToken: 'string',
|
|
1686
|
+
maxResults: 'number',
|
|
1687
|
+
nextToken: 'string',
|
|
1688
|
+
officeSiteIds: { 'type': 'array', 'itemType': 'string' },
|
|
1689
|
+
orderBy: 'string',
|
|
1690
|
+
productTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1691
|
+
protocolType: 'string',
|
|
1692
|
+
queryFotaUpdate: 'boolean',
|
|
1693
|
+
refreshFotaUpdate: 'boolean',
|
|
1694
|
+
resourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
1695
|
+
resourceName: 'string',
|
|
1696
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1697
|
+
scene: 'string',
|
|
1698
|
+
searchRegionId: 'string',
|
|
1699
|
+
sessionId: 'string',
|
|
1700
|
+
sortType: 'string',
|
|
1701
|
+
};
|
|
1702
|
+
}
|
|
1703
|
+
validate() {
|
|
1704
|
+
if (Array.isArray(this.officeSiteIds)) {
|
|
1705
|
+
$dara.Model.validateArray(this.officeSiteIds);
|
|
1706
|
+
}
|
|
1707
|
+
if (Array.isArray(this.productTypes)) {
|
|
1708
|
+
$dara.Model.validateArray(this.productTypes);
|
|
1709
|
+
}
|
|
1710
|
+
if (Array.isArray(this.resourceIds)) {
|
|
1711
|
+
$dara.Model.validateArray(this.resourceIds);
|
|
1712
|
+
}
|
|
1713
|
+
if (Array.isArray(this.resourceTypes)) {
|
|
1714
|
+
$dara.Model.validateArray(this.resourceTypes);
|
|
1715
|
+
}
|
|
1716
|
+
super.validate();
|
|
1717
|
+
}
|
|
1718
|
+
constructor(map) {
|
|
1719
|
+
super(map);
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
exports.DescribeUserResourcesRequest = DescribeUserResourcesRequest;
|
|
1723
|
+
class DescribeUserResourcesResponseBody extends $dara.Model {
|
|
1724
|
+
static names() {
|
|
1725
|
+
return {
|
|
1726
|
+
nextToken: 'NextToken',
|
|
1727
|
+
queryFailedResourceTypes: 'QueryFailedResourceTypes',
|
|
1728
|
+
rankVersion: 'RankVersion',
|
|
1729
|
+
requestId: 'RequestId',
|
|
1730
|
+
resources: 'Resources',
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
static types() {
|
|
1734
|
+
return {
|
|
1735
|
+
nextToken: 'string',
|
|
1736
|
+
queryFailedResourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1737
|
+
rankVersion: 'number',
|
|
1738
|
+
requestId: 'string',
|
|
1739
|
+
resources: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResources },
|
|
1740
|
+
};
|
|
1741
|
+
}
|
|
1742
|
+
validate() {
|
|
1743
|
+
if (Array.isArray(this.queryFailedResourceTypes)) {
|
|
1744
|
+
$dara.Model.validateArray(this.queryFailedResourceTypes);
|
|
1745
|
+
}
|
|
1746
|
+
if (Array.isArray(this.resources)) {
|
|
1747
|
+
$dara.Model.validateArray(this.resources);
|
|
1748
|
+
}
|
|
1749
|
+
super.validate();
|
|
1750
|
+
}
|
|
1751
|
+
constructor(map) {
|
|
1752
|
+
super(map);
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
exports.DescribeUserResourcesResponseBody = DescribeUserResourcesResponseBody;
|
|
1756
|
+
class DescribeUserResourcesResponse extends $dara.Model {
|
|
1757
|
+
static names() {
|
|
1758
|
+
return {
|
|
1759
|
+
headers: 'headers',
|
|
1760
|
+
statusCode: 'statusCode',
|
|
1761
|
+
body: 'body',
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
static types() {
|
|
1765
|
+
return {
|
|
1766
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1767
|
+
statusCode: 'number',
|
|
1768
|
+
body: DescribeUserResourcesResponseBody,
|
|
1769
|
+
};
|
|
1770
|
+
}
|
|
1771
|
+
validate() {
|
|
1772
|
+
if (this.headers) {
|
|
1773
|
+
$dara.Model.validateMap(this.headers);
|
|
1774
|
+
}
|
|
1775
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
1776
|
+
this.body.validate();
|
|
1777
|
+
}
|
|
1778
|
+
super.validate();
|
|
1779
|
+
}
|
|
1780
|
+
constructor(map) {
|
|
1781
|
+
super(map);
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
exports.DescribeUserResourcesResponse = DescribeUserResourcesResponse;
|
|
1351
1785
|
class EncryptPasswordRequest extends $dara.Model {
|
|
1352
1786
|
static names() {
|
|
1353
1787
|
return {
|
|
@@ -3194,7 +3628,12 @@ class Client extends openapi_core_1.default {
|
|
|
3194
3628
|
reqBodyType: "formData",
|
|
3195
3629
|
bodyType: "json",
|
|
3196
3630
|
});
|
|
3197
|
-
|
|
3631
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3632
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3633
|
+
}
|
|
3634
|
+
else {
|
|
3635
|
+
return $dara.cast(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3636
|
+
}
|
|
3198
3637
|
}
|
|
3199
3638
|
/**
|
|
3200
3639
|
* 允许桌面FOTA升级
|
|
@@ -3252,7 +3691,12 @@ class Client extends openapi_core_1.default {
|
|
|
3252
3691
|
reqBodyType: "formData",
|
|
3253
3692
|
bodyType: "json",
|
|
3254
3693
|
});
|
|
3255
|
-
|
|
3694
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3695
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
3696
|
+
}
|
|
3697
|
+
else {
|
|
3698
|
+
return $dara.cast(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
|
|
3699
|
+
}
|
|
3256
3700
|
}
|
|
3257
3701
|
/**
|
|
3258
3702
|
* @param request - ChangePasswordRequest
|
|
@@ -3302,7 +3746,12 @@ class Client extends openapi_core_1.default {
|
|
|
3302
3746
|
reqBodyType: "formData",
|
|
3303
3747
|
bodyType: "json",
|
|
3304
3748
|
});
|
|
3305
|
-
|
|
3749
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3750
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3751
|
+
}
|
|
3752
|
+
else {
|
|
3753
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3754
|
+
}
|
|
3306
3755
|
}
|
|
3307
3756
|
/**
|
|
3308
3757
|
* @param request - DeleteFingerPrintTemplateRequest
|
|
@@ -3343,7 +3792,12 @@ class Client extends openapi_core_1.default {
|
|
|
3343
3792
|
reqBodyType: "formData",
|
|
3344
3793
|
bodyType: "json",
|
|
3345
3794
|
});
|
|
3346
|
-
|
|
3795
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3796
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3797
|
+
}
|
|
3798
|
+
else {
|
|
3799
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3800
|
+
}
|
|
3347
3801
|
}
|
|
3348
3802
|
/**
|
|
3349
3803
|
* @param request - DescribeDirectoriesRequest
|
|
@@ -3387,7 +3841,12 @@ class Client extends openapi_core_1.default {
|
|
|
3387
3841
|
reqBodyType: "formData",
|
|
3388
3842
|
bodyType: "json",
|
|
3389
3843
|
});
|
|
3390
|
-
|
|
3844
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3845
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3846
|
+
}
|
|
3847
|
+
else {
|
|
3848
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3849
|
+
}
|
|
3391
3850
|
}
|
|
3392
3851
|
/**
|
|
3393
3852
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
@@ -3479,7 +3938,12 @@ class Client extends openapi_core_1.default {
|
|
|
3479
3938
|
reqBodyType: "formData",
|
|
3480
3939
|
bodyType: "json",
|
|
3481
3940
|
});
|
|
3482
|
-
|
|
3941
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3942
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
3943
|
+
}
|
|
3944
|
+
else {
|
|
3945
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
3946
|
+
}
|
|
3483
3947
|
}
|
|
3484
3948
|
/**
|
|
3485
3949
|
* @param request - DescribeGlobalDesktopsRequest
|
|
@@ -3520,7 +3984,12 @@ class Client extends openapi_core_1.default {
|
|
|
3520
3984
|
reqBodyType: "formData",
|
|
3521
3985
|
bodyType: "json",
|
|
3522
3986
|
});
|
|
3523
|
-
|
|
3987
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3988
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
3989
|
+
}
|
|
3990
|
+
else {
|
|
3991
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
3992
|
+
}
|
|
3524
3993
|
}
|
|
3525
3994
|
/**
|
|
3526
3995
|
* @param request - DescribeOfficeSitesRequest
|
|
@@ -3558,7 +4027,12 @@ class Client extends openapi_core_1.default {
|
|
|
3558
4027
|
reqBodyType: "formData",
|
|
3559
4028
|
bodyType: "json",
|
|
3560
4029
|
});
|
|
3561
|
-
|
|
4030
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4031
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4032
|
+
}
|
|
4033
|
+
else {
|
|
4034
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4035
|
+
}
|
|
3562
4036
|
}
|
|
3563
4037
|
/**
|
|
3564
4038
|
* @param request - DescribeRegionsRequest
|
|
@@ -3616,7 +4090,12 @@ class Client extends openapi_core_1.default {
|
|
|
3616
4090
|
reqBodyType: "formData",
|
|
3617
4091
|
bodyType: "json",
|
|
3618
4092
|
});
|
|
3619
|
-
|
|
4093
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4094
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4095
|
+
}
|
|
4096
|
+
else {
|
|
4097
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4098
|
+
}
|
|
3620
4099
|
}
|
|
3621
4100
|
/**
|
|
3622
4101
|
* 列举快照
|
|
@@ -3628,6 +4107,125 @@ class Client extends openapi_core_1.default {
|
|
|
3628
4107
|
let runtime = new $dara.RuntimeOptions({});
|
|
3629
4108
|
return await this.describeSnapshotsWithOptions(request, runtime);
|
|
3630
4109
|
}
|
|
4110
|
+
/**
|
|
4111
|
+
* 查询用户资源列表
|
|
4112
|
+
*
|
|
4113
|
+
* @param request - DescribeUserResourcesRequest
|
|
4114
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4115
|
+
* @returns DescribeUserResourcesResponse
|
|
4116
|
+
*/
|
|
4117
|
+
async describeUserResourcesWithOptions(request, runtime) {
|
|
4118
|
+
request.validate();
|
|
4119
|
+
let query = {};
|
|
4120
|
+
if (!$dara.isNull(request.accessType)) {
|
|
4121
|
+
query["AccessType"] = request.accessType;
|
|
4122
|
+
}
|
|
4123
|
+
if (!$dara.isNull(request.autoRefresh)) {
|
|
4124
|
+
query["AutoRefresh"] = request.autoRefresh;
|
|
4125
|
+
}
|
|
4126
|
+
if (!$dara.isNull(request.categoryId)) {
|
|
4127
|
+
query["CategoryId"] = request.categoryId;
|
|
4128
|
+
}
|
|
4129
|
+
if (!$dara.isNull(request.categoryType)) {
|
|
4130
|
+
query["CategoryType"] = request.categoryType;
|
|
4131
|
+
}
|
|
4132
|
+
if (!$dara.isNull(request.clientId)) {
|
|
4133
|
+
query["ClientId"] = request.clientId;
|
|
4134
|
+
}
|
|
4135
|
+
if (!$dara.isNull(request.clientType)) {
|
|
4136
|
+
query["ClientType"] = request.clientType;
|
|
4137
|
+
}
|
|
4138
|
+
if (!$dara.isNull(request.clientVersion)) {
|
|
4139
|
+
query["ClientVersion"] = request.clientVersion;
|
|
4140
|
+
}
|
|
4141
|
+
if (!$dara.isNull(request.dualCenterForward)) {
|
|
4142
|
+
query["DualCenterForward"] = request.dualCenterForward;
|
|
4143
|
+
}
|
|
4144
|
+
if (!$dara.isNull(request.language)) {
|
|
4145
|
+
query["Language"] = request.language;
|
|
4146
|
+
}
|
|
4147
|
+
if (!$dara.isNull(request.loginRegionId)) {
|
|
4148
|
+
query["LoginRegionId"] = request.loginRegionId;
|
|
4149
|
+
}
|
|
4150
|
+
if (!$dara.isNull(request.loginToken)) {
|
|
4151
|
+
query["LoginToken"] = request.loginToken;
|
|
4152
|
+
}
|
|
4153
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4154
|
+
query["MaxResults"] = request.maxResults;
|
|
4155
|
+
}
|
|
4156
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4157
|
+
query["NextToken"] = request.nextToken;
|
|
4158
|
+
}
|
|
4159
|
+
if (!$dara.isNull(request.officeSiteIds)) {
|
|
4160
|
+
query["OfficeSiteIds"] = request.officeSiteIds;
|
|
4161
|
+
}
|
|
4162
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
4163
|
+
query["OrderBy"] = request.orderBy;
|
|
4164
|
+
}
|
|
4165
|
+
if (!$dara.isNull(request.productTypes)) {
|
|
4166
|
+
query["ProductTypes"] = request.productTypes;
|
|
4167
|
+
}
|
|
4168
|
+
if (!$dara.isNull(request.protocolType)) {
|
|
4169
|
+
query["ProtocolType"] = request.protocolType;
|
|
4170
|
+
}
|
|
4171
|
+
if (!$dara.isNull(request.queryFotaUpdate)) {
|
|
4172
|
+
query["QueryFotaUpdate"] = request.queryFotaUpdate;
|
|
4173
|
+
}
|
|
4174
|
+
if (!$dara.isNull(request.refreshFotaUpdate)) {
|
|
4175
|
+
query["RefreshFotaUpdate"] = request.refreshFotaUpdate;
|
|
4176
|
+
}
|
|
4177
|
+
if (!$dara.isNull(request.resourceIds)) {
|
|
4178
|
+
query["ResourceIds"] = request.resourceIds;
|
|
4179
|
+
}
|
|
4180
|
+
if (!$dara.isNull(request.resourceName)) {
|
|
4181
|
+
query["ResourceName"] = request.resourceName;
|
|
4182
|
+
}
|
|
4183
|
+
if (!$dara.isNull(request.resourceTypes)) {
|
|
4184
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
4185
|
+
}
|
|
4186
|
+
if (!$dara.isNull(request.scene)) {
|
|
4187
|
+
query["Scene"] = request.scene;
|
|
4188
|
+
}
|
|
4189
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
4190
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
4191
|
+
}
|
|
4192
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4193
|
+
query["SessionId"] = request.sessionId;
|
|
4194
|
+
}
|
|
4195
|
+
if (!$dara.isNull(request.sortType)) {
|
|
4196
|
+
query["SortType"] = request.sortType;
|
|
4197
|
+
}
|
|
4198
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4199
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4200
|
+
});
|
|
4201
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4202
|
+
action: "DescribeUserResources",
|
|
4203
|
+
version: "2020-10-02",
|
|
4204
|
+
protocol: "HTTPS",
|
|
4205
|
+
pathname: "/",
|
|
4206
|
+
method: "POST",
|
|
4207
|
+
authType: "Anonymous",
|
|
4208
|
+
style: "RPC",
|
|
4209
|
+
reqBodyType: "formData",
|
|
4210
|
+
bodyType: "json",
|
|
4211
|
+
});
|
|
4212
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4213
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4214
|
+
}
|
|
4215
|
+
else {
|
|
4216
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
4219
|
+
/**
|
|
4220
|
+
* 查询用户资源列表
|
|
4221
|
+
*
|
|
4222
|
+
* @param request - DescribeUserResourcesRequest
|
|
4223
|
+
* @returns DescribeUserResourcesResponse
|
|
4224
|
+
*/
|
|
4225
|
+
async describeUserResources(request) {
|
|
4226
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4227
|
+
return await this.describeUserResourcesWithOptions(request, runtime);
|
|
4228
|
+
}
|
|
3631
4229
|
/**
|
|
3632
4230
|
* @param request - EncryptPasswordRequest
|
|
3633
4231
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3671,7 +4269,12 @@ class Client extends openapi_core_1.default {
|
|
|
3671
4269
|
reqBodyType: "formData",
|
|
3672
4270
|
bodyType: "json",
|
|
3673
4271
|
});
|
|
3674
|
-
|
|
4272
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4273
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4274
|
+
}
|
|
4275
|
+
else {
|
|
4276
|
+
return $dara.cast(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4277
|
+
}
|
|
3675
4278
|
}
|
|
3676
4279
|
/**
|
|
3677
4280
|
* @param request - EncryptPasswordRequest
|
|
@@ -3720,7 +4323,12 @@ class Client extends openapi_core_1.default {
|
|
|
3720
4323
|
reqBodyType: "formData",
|
|
3721
4324
|
bodyType: "json",
|
|
3722
4325
|
});
|
|
3723
|
-
|
|
4326
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4327
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4328
|
+
}
|
|
4329
|
+
else {
|
|
4330
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4331
|
+
}
|
|
3724
4332
|
}
|
|
3725
4333
|
/**
|
|
3726
4334
|
* 获取无影云盘的免密token
|
|
@@ -3799,7 +4407,12 @@ class Client extends openapi_core_1.default {
|
|
|
3799
4407
|
reqBodyType: "formData",
|
|
3800
4408
|
bodyType: "json",
|
|
3801
4409
|
});
|
|
3802
|
-
|
|
4410
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4411
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4412
|
+
}
|
|
4413
|
+
else {
|
|
4414
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4415
|
+
}
|
|
3803
4416
|
}
|
|
3804
4417
|
/**
|
|
3805
4418
|
* @param request - GetConnectionTicketRequest
|
|
@@ -3887,7 +4500,12 @@ class Client extends openapi_core_1.default {
|
|
|
3887
4500
|
reqBodyType: "formData",
|
|
3888
4501
|
bodyType: "json",
|
|
3889
4502
|
});
|
|
3890
|
-
|
|
4503
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4504
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4505
|
+
}
|
|
4506
|
+
else {
|
|
4507
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4508
|
+
}
|
|
3891
4509
|
}
|
|
3892
4510
|
/**
|
|
3893
4511
|
* Obtains logon credentials.
|
|
@@ -3932,7 +4550,12 @@ class Client extends openapi_core_1.default {
|
|
|
3932
4550
|
reqBodyType: "formData",
|
|
3933
4551
|
bodyType: "json",
|
|
3934
4552
|
});
|
|
3935
|
-
|
|
4553
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4554
|
+
return $dara.cast(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4555
|
+
}
|
|
4556
|
+
else {
|
|
4557
|
+
return $dara.cast(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4558
|
+
}
|
|
3936
4559
|
}
|
|
3937
4560
|
/**
|
|
3938
4561
|
* 是否保持登录判断接口
|
|
@@ -3977,7 +4600,12 @@ class Client extends openapi_core_1.default {
|
|
|
3977
4600
|
reqBodyType: "formData",
|
|
3978
4601
|
bodyType: "json",
|
|
3979
4602
|
});
|
|
3980
|
-
|
|
4603
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4604
|
+
return $dara.cast(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4605
|
+
}
|
|
4606
|
+
else {
|
|
4607
|
+
return $dara.cast(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4608
|
+
}
|
|
3981
4609
|
}
|
|
3982
4610
|
/**
|
|
3983
4611
|
* 查询Agent需要上报的配置信息
|
|
@@ -4043,7 +4671,12 @@ class Client extends openapi_core_1.default {
|
|
|
4043
4671
|
reqBodyType: "formData",
|
|
4044
4672
|
bodyType: "json",
|
|
4045
4673
|
});
|
|
4046
|
-
|
|
4674
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4675
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4676
|
+
}
|
|
4677
|
+
else {
|
|
4678
|
+
return $dara.cast(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4679
|
+
}
|
|
4047
4680
|
}
|
|
4048
4681
|
/**
|
|
4049
4682
|
* Restart cloud computers.
|
|
@@ -4098,7 +4731,12 @@ class Client extends openapi_core_1.default {
|
|
|
4098
4731
|
reqBodyType: "formData",
|
|
4099
4732
|
bodyType: "json",
|
|
4100
4733
|
});
|
|
4101
|
-
|
|
4734
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4735
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4736
|
+
}
|
|
4737
|
+
else {
|
|
4738
|
+
return $dara.cast(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4739
|
+
}
|
|
4102
4740
|
}
|
|
4103
4741
|
/**
|
|
4104
4742
|
* @param request - RefreshLoginTokenRequest
|
|
@@ -4144,7 +4782,12 @@ class Client extends openapi_core_1.default {
|
|
|
4144
4782
|
reqBodyType: "formData",
|
|
4145
4783
|
bodyType: "json",
|
|
4146
4784
|
});
|
|
4147
|
-
|
|
4785
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4786
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4787
|
+
}
|
|
4788
|
+
else {
|
|
4789
|
+
return $dara.cast(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4790
|
+
}
|
|
4148
4791
|
}
|
|
4149
4792
|
/**
|
|
4150
4793
|
* 上报edsAgent的信息
|
|
@@ -4196,7 +4839,12 @@ class Client extends openapi_core_1.default {
|
|
|
4196
4839
|
reqBodyType: "formData",
|
|
4197
4840
|
bodyType: "json",
|
|
4198
4841
|
});
|
|
4199
|
-
|
|
4842
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4843
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4844
|
+
}
|
|
4845
|
+
else {
|
|
4846
|
+
return $dara.cast(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4847
|
+
}
|
|
4200
4848
|
}
|
|
4201
4849
|
/**
|
|
4202
4850
|
* @param request - ReportSessionStatusRequest
|
|
@@ -4249,7 +4897,12 @@ class Client extends openapi_core_1.default {
|
|
|
4249
4897
|
reqBodyType: "formData",
|
|
4250
4898
|
bodyType: "json",
|
|
4251
4899
|
});
|
|
4252
|
-
|
|
4900
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4901
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
4902
|
+
}
|
|
4903
|
+
else {
|
|
4904
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
|
|
4905
|
+
}
|
|
4253
4906
|
}
|
|
4254
4907
|
/**
|
|
4255
4908
|
* @param request - ResetPasswordRequest
|
|
@@ -4304,7 +4957,12 @@ class Client extends openapi_core_1.default {
|
|
|
4304
4957
|
reqBodyType: "formData",
|
|
4305
4958
|
bodyType: "json",
|
|
4306
4959
|
});
|
|
4307
|
-
|
|
4960
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4961
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
4962
|
+
}
|
|
4963
|
+
else {
|
|
4964
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
|
|
4965
|
+
}
|
|
4308
4966
|
}
|
|
4309
4967
|
/**
|
|
4310
4968
|
* 还原快照
|
|
@@ -4362,7 +5020,12 @@ class Client extends openapi_core_1.default {
|
|
|
4362
5020
|
reqBodyType: "formData",
|
|
4363
5021
|
bodyType: "json",
|
|
4364
5022
|
});
|
|
4365
|
-
|
|
5023
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5024
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5025
|
+
}
|
|
5026
|
+
else {
|
|
5027
|
+
return $dara.cast(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5028
|
+
}
|
|
4366
5029
|
}
|
|
4367
5030
|
/**
|
|
4368
5031
|
* @param request - SendTokenCodeRequest
|
|
@@ -4424,7 +5087,12 @@ class Client extends openapi_core_1.default {
|
|
|
4424
5087
|
reqBodyType: "formData",
|
|
4425
5088
|
bodyType: "json",
|
|
4426
5089
|
});
|
|
4427
|
-
|
|
5090
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5091
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5092
|
+
}
|
|
5093
|
+
else {
|
|
5094
|
+
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5095
|
+
}
|
|
4428
5096
|
}
|
|
4429
5097
|
/**
|
|
4430
5098
|
* @param request - SetFingerPrintTemplateRequest
|
|
@@ -4477,7 +5145,12 @@ class Client extends openapi_core_1.default {
|
|
|
4477
5145
|
reqBodyType: "formData",
|
|
4478
5146
|
bodyType: "json",
|
|
4479
5147
|
});
|
|
4480
|
-
|
|
5148
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5149
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5150
|
+
}
|
|
5151
|
+
else {
|
|
5152
|
+
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5153
|
+
}
|
|
4481
5154
|
}
|
|
4482
5155
|
/**
|
|
4483
5156
|
* @param request - SetFingerPrintTemplateDescriptionRequest
|
|
@@ -4541,7 +5214,12 @@ class Client extends openapi_core_1.default {
|
|
|
4541
5214
|
reqBodyType: "formData",
|
|
4542
5215
|
bodyType: "json",
|
|
4543
5216
|
});
|
|
4544
|
-
|
|
5217
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5218
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
5219
|
+
}
|
|
5220
|
+
else {
|
|
5221
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
|
|
5222
|
+
}
|
|
4545
5223
|
}
|
|
4546
5224
|
/**
|
|
4547
5225
|
* Start cloud computers.
|
|
@@ -4602,7 +5280,12 @@ class Client extends openapi_core_1.default {
|
|
|
4602
5280
|
reqBodyType: "formData",
|
|
4603
5281
|
bodyType: "json",
|
|
4604
5282
|
});
|
|
4605
|
-
|
|
5283
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5284
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
5285
|
+
}
|
|
5286
|
+
else {
|
|
5287
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
|
|
5288
|
+
}
|
|
4606
5289
|
}
|
|
4607
5290
|
/**
|
|
4608
5291
|
* @param request - StartRecordContentRequest
|
|
@@ -4666,7 +5349,12 @@ class Client extends openapi_core_1.default {
|
|
|
4666
5349
|
reqBodyType: "formData",
|
|
4667
5350
|
bodyType: "json",
|
|
4668
5351
|
});
|
|
4669
|
-
|
|
5352
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5353
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
5354
|
+
}
|
|
5355
|
+
else {
|
|
5356
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
|
|
5357
|
+
}
|
|
4670
5358
|
}
|
|
4671
5359
|
/**
|
|
4672
5360
|
* Stops cloud computers.
|
|
@@ -4724,7 +5412,12 @@ class Client extends openapi_core_1.default {
|
|
|
4724
5412
|
reqBodyType: "formData",
|
|
4725
5413
|
bodyType: "json",
|
|
4726
5414
|
});
|
|
4727
|
-
|
|
5415
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5416
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
5417
|
+
}
|
|
5418
|
+
else {
|
|
5419
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
|
|
5420
|
+
}
|
|
4728
5421
|
}
|
|
4729
5422
|
/**
|
|
4730
5423
|
* @param request - StopRecordContentRequest
|
|
@@ -4779,7 +5472,12 @@ class Client extends openapi_core_1.default {
|
|
|
4779
5472
|
reqBodyType: "formData",
|
|
4780
5473
|
bodyType: "json",
|
|
4781
5474
|
});
|
|
4782
|
-
|
|
5475
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5476
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5477
|
+
}
|
|
5478
|
+
else {
|
|
5479
|
+
return $dara.cast(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5480
|
+
}
|
|
4783
5481
|
}
|
|
4784
5482
|
/**
|
|
4785
5483
|
* 解绑用户桌面
|
|
@@ -4837,7 +5535,12 @@ class Client extends openapi_core_1.default {
|
|
|
4837
5535
|
reqBodyType: "formData",
|
|
4838
5536
|
bodyType: "json",
|
|
4839
5537
|
});
|
|
4840
|
-
|
|
5538
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5539
|
+
return $dara.cast(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5540
|
+
}
|
|
5541
|
+
else {
|
|
5542
|
+
return $dara.cast(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5543
|
+
}
|
|
4841
5544
|
}
|
|
4842
5545
|
/**
|
|
4843
5546
|
* @param request - VerifyCredentialRequest
|