@alicloud/ecd20200930 5.2.0 → 5.3.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.
Files changed (122) hide show
  1. package/dist/client.d.ts +280 -40
  2. package/dist/client.js +550 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +59 -59
  6. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  7. package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
  8. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  9. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  10. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  11. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  12. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  13. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  14. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  15. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  16. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  17. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  18. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  19. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  20. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  21. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  22. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  23. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  24. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  25. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  26. package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
  27. package/dist/models/DescribeVulDesktopsRequest.js +92 -0
  28. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  29. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  30. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  31. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  32. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
  33. package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
  34. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  35. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  36. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  37. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  38. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  39. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  40. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  41. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  42. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  43. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  44. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  45. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  46. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  47. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  48. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  49. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  50. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  51. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  52. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  53. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  54. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  55. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  56. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  57. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  58. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  59. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  60. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  61. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  62. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  63. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  64. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  65. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  66. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  67. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  68. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  69. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  70. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  71. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  72. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  73. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  74. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  75. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  76. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  77. package/dist/models/RunCommandRequest.d.ts +8 -5
  78. package/dist/models/RunCommandRequest.js.map +1 -1
  79. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  80. package/dist/models/model.d.ts +30 -0
  81. package/dist/models/model.js +82 -21
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +610 -40
  85. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  86. package/src/models/CreateDesktopsRequest.ts +59 -59
  87. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  88. package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
  89. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  90. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  91. package/src/models/DeleteDesktopsRequest.ts +1 -1
  92. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  93. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  94. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  95. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  96. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  97. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  98. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  99. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  100. package/src/models/DescribeVulDesktopsRequest.ts +184 -0
  101. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  102. package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
  103. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  104. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  105. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  106. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  107. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  108. package/src/models/MigrateDesktopsRequest.ts +3 -3
  109. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  110. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  111. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  112. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  113. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  114. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  115. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  116. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  117. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  118. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  119. package/src/models/RebootDesktopsRequest.ts +9 -2
  120. package/src/models/RunCommandRequest.ts +8 -5
  121. package/src/models/StartDesktopsRequest.ts +2 -2
  122. package/src/models/model.ts +30 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The endpoint of the AD Connector.
5
+ * The connection address of the AD Connector.
6
6
  *
7
7
  * @example
8
8
  * 172.24.*.*
@@ -18,7 +18,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors exte
18
18
  connectorStatus?: string;
19
19
  /**
20
20
  * @remarks
21
- * The ID of the network interface controller (NIC) attached to the AD Connector.
21
+ * The ID of the elastic network interface (ENI) attached to the AD Connector.
22
22
  *
23
23
  * @example
24
24
  * eni-bp1i4wx78lgosrj6****
@@ -34,7 +34,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSitesADConnectors exte
34
34
  specification?: string;
35
35
  /**
36
36
  * @remarks
37
- * The trust password configured when setting up the AD trust relationship.
37
+ * The trust password specified when configuring the AD trust relationship.
38
38
  *
39
39
  * @example
40
40
  * password123***
@@ -78,7 +78,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dar
78
78
  message?: string;
79
79
  /**
80
80
  * @remarks
81
- * The step that corresponds to the log entry.
81
+ * The step associated with the log entry.
82
82
  *
83
83
  * @example
84
84
  * CREATE_CONNECTOR
@@ -86,7 +86,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dar
86
86
  step?: string;
87
87
  /**
88
88
  * @remarks
89
- * The time when the log was printed. The time is in the ISO 8601 standard (UTC).
89
+ * The time when the log was generated. The time is in the ISO 8601 standard format (UTC).
90
90
  *
91
91
  * @example
92
92
  * 2021-05-12T09:42Z
@@ -106,7 +106,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $dar
106
106
  export declare class DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts extends $dara.Model {
107
107
  /**
108
108
  * @remarks
109
- * The resource count.
109
+ * The number of resources.
110
110
  *
111
111
  * @example
112
112
  * 1
@@ -139,7 +139,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
139
139
  ADConnectors?: DescribeOfficeSitesResponseBodyOfficeSitesADConnectors[];
140
140
  /**
141
141
  * @remarks
142
- * The Alibaba Cloud Global Accelerator (GA) instance ID.
142
+ * The ID of the Global Accelerator (GA) instance.
143
143
  *
144
144
  * @example
145
145
  * ga-bp1astu3yrplkzoo2****
@@ -163,7 +163,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
163
163
  accountType?: string;
164
164
  /**
165
165
  * @remarks
166
- * The hostname of the domain controller. The hostname must comply with Windows hostname naming conventions.
166
+ * The hostname of the domain controller. The hostname must comply with Windows host naming conventions.
167
167
  *
168
168
  * @example
169
169
  * beijing-ad01
@@ -195,7 +195,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
195
195
  backupDns?: string;
196
196
  /**
197
197
  * @remarks
198
- * The peak Internet bandwidth. Valid values: 0 to 1000. Unit: Mbit/s.
198
+ * The peak public bandwidth. Valid values: 0 to 1000 Mbps.
199
199
  * If the value is empty or 0, Internet access is not enabled.
200
200
  *
201
201
  * @example
@@ -212,7 +212,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
212
212
  basicInternetType?: string;
213
213
  /**
214
214
  * @remarks
215
- * The status of the Cloud Enterprise Network (CEN) instance.
215
+ * The status of the CEN instance.
216
216
  *
217
217
  * @example
218
218
  * attached
@@ -260,7 +260,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
260
260
  cloudBoxOfficeSite?: boolean;
261
261
  /**
262
262
  * @remarks
263
- * The time when the office network was created. The time is in the ISO 8601 standard (UTC).
263
+ * The time when the office network was created. The time is in the ISO 8601 standard format (UTC).
264
264
  *
265
265
  * @example
266
266
  * 2021-05-06T05:58Z
@@ -289,7 +289,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
289
289
  customSecurityGroupId?: string;
290
290
  /**
291
291
  * @remarks
292
- * The access method allowed when connecting to cloud computers.
292
+ * The access method allowed for connecting to cloud computers.
293
293
  *
294
294
  * > The VPC connection method depends on the Alibaba Cloud PrivateLink service, which is free of charge. When this parameter is set to `VPC` or `Any`, the system automatically activates the PrivateLink service for you.
295
295
  *
@@ -368,7 +368,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
368
368
  enableAdminAccess?: boolean;
369
369
  /**
370
370
  * @remarks
371
- * Indicates whether cross-cloud computer access within the office network is enabled. If enabled, cloud computers within the same office network can access each other over the network.
371
+ * Indicates whether cross-cloud-computer access within the office network is enabled. After this feature is enabled, cloud computers within the same office network can access each other over the network.
372
372
  *
373
373
  * @example
374
374
  * false
@@ -376,7 +376,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
376
376
  enableCrossDesktopAccess?: boolean;
377
377
  /**
378
378
  * @remarks
379
- * Indicates whether the public network access feature is enabled.
379
+ * Indicates whether public network access is enabled.
380
380
  *
381
381
  * @example
382
382
  * false
@@ -439,7 +439,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
439
439
  name?: string;
440
440
  /**
441
441
  * @remarks
442
- * Applicable only to convenience account office networks. Indicates whether secondary authentication is required during logon. If logon secondary authentication is enabled, the system checks whether the logon account has security risks when a convenience user logs on to the client. If a risk is detected, the system sends a verification code to the email address associated with the account. The convenience user can log on to the client only after passing the verification code check.
442
+ * Applicable only to convenience account office networks. Indicates whether secondary verification is required during logon. If logon secondary verification is enabled, the system checks whether the logon account has security risks when a convenience user logs on to the client. If a risk is detected, the system sends a verification code to the email address associated with the account. The convenience user can log on to the client only after passing the verification code check.
443
443
  *
444
444
  * @example
445
445
  * false
@@ -463,7 +463,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
463
463
  networkPackageId?: string;
464
464
  /**
465
465
  * @remarks
466
- * The network version. The new version supports products such as WUYING Cloud Application.
466
+ * The network version. The new version supports products such as Wuying Cloud Application.
467
467
  *
468
468
  * @example
469
469
  * NM
@@ -527,12 +527,12 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
527
527
  rdsLicenseStatus?: string;
528
528
  /**
529
529
  * @remarks
530
- * The resource count list.
530
+ * The list of resource quantities.
531
531
  */
532
532
  resourceAmounts?: DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts[];
533
533
  /**
534
534
  * @remarks
535
- * The Network Security Protection Settings of the office network.
535
+ * The security protection configuration of the office network.
536
536
  *
537
537
  * @example
538
538
  * SASE
@@ -540,7 +540,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
540
540
  securityProtection?: string;
541
541
  /**
542
542
  * @remarks
543
- * Indicates whether single sign-on (SSO) is enabled.
543
+ * Indicates whether Single Sign-On (SSO) is enabled.
544
544
  *
545
545
  * @example
546
546
  * false
@@ -556,7 +556,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
556
556
  ssoType?: string;
557
557
  /**
558
558
  * @remarks
559
- * The status of the office network.
559
+ * The office network status.
560
560
  *
561
561
  * @example
562
562
  * REGISTERED
@@ -564,7 +564,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
564
564
  status?: string;
565
565
  /**
566
566
  * @remarks
567
- * The array of DNS addresses of the AD subdomain.
567
+ * The array of DNS addresses for the AD subdomain.
568
568
  */
569
569
  subDnsAddress?: string[];
570
570
  /**
@@ -601,7 +601,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
601
601
  totalEdsCount?: number;
602
602
  /**
603
603
  * @remarks
604
- * The number of cloud computers in shared cloud computer groups.
604
+ * The number of cloud computers in shared cloud computer pools.
605
605
  *
606
606
  * @example
607
607
  * 0
@@ -638,7 +638,7 @@ export declare class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Mo
638
638
  vpcId?: string;
639
639
  /**
640
640
  * @remarks
641
- * The usage mode of the VPC.
641
+ * The usage type of the VPC.
642
642
  *
643
643
  * @example
644
644
  * Basic
@@ -0,0 +1,86 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePeripheralDriversRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The brand identifier. Exact match is used. The value depends on the actual configuration and is not a fixed enumeration. If this parameter is not specified, drivers of all brands are returned. The example value is provided to illustrate the format only.
6
+ *
7
+ * @example
8
+ * hp
9
+ */
10
+ brand?: string;
11
+ /**
12
+ * @remarks
13
+ * The device type identifier. Exact match is used. The value depends on the actual configuration. For example, printer indicates a printer. If this parameter is not specified, drivers of all device types are returned.
14
+ *
15
+ * @example
16
+ * printer
17
+ */
18
+ deviceType?: string;
19
+ /**
20
+ * @remarks
21
+ * The list of driver IDs. If this parameter is not specified or an empty array is passed in, no filtering by driver ID is applied. Only drivers that are visible to the current account and match the specified IDs are returned. IDs that do not match any driver do not produce corresponding records.
22
+ */
23
+ driverIds?: string[];
24
+ /**
25
+ * @remarks
26
+ * The search keyword. The keyword is matched against the driver ID, brand identifier, driver name, description, device type, or brand display name. A hit on any field qualifies the driver. The wildcard % matches any number of characters, and _ matches a single character. If this parameter is not specified, no keyword filtering is applied.
27
+ *
28
+ * @example
29
+ * LaserJet
30
+ */
31
+ filter?: string;
32
+ /**
33
+ * @remarks
34
+ * Reserved parameter. This parameter does not participate in queries or pagination. Do not specify this parameter. Use PageSize to set the number of entries per page. The example value 20 is provided only to illustrate the integer type. It is not the default value of this parameter and does not take effect if specified.
35
+ *
36
+ * @example
37
+ * 20
38
+ */
39
+ maxResults?: number;
40
+ /**
41
+ * @remarks
42
+ * Reserved parameter. Token-based pagination is not supported. Do not specify this parameter. Use PageNumber to specify the page number. The example value token-for-format-only is provided only to illustrate the string type and is not a usable pagination token.
43
+ *
44
+ * @example
45
+ * token-for-format-only
46
+ */
47
+ nextToken?: string;
48
+ /**
49
+ * @remarks
50
+ * The driver ownership. Valid values:
51
+ * - WUYING: Wuying official driver.
52
+ * - CUSTOMER: Custom driver of the current account.
53
+ *
54
+ * If this parameter is not specified, both types of drivers are queried.
55
+ *
56
+ * @example
57
+ * CUSTOMER
58
+ */
59
+ ownerType?: string;
60
+ /**
61
+ * @remarks
62
+ * The page number. Start from 1. Default value: 1.
63
+ *
64
+ * @example
65
+ * 1
66
+ */
67
+ pageNumber?: number;
68
+ /**
69
+ * @remarks
70
+ * The number of entries per page. Valid values: 1 to 500. Default value: 20.
71
+ *
72
+ * @example
73
+ * 20
74
+ */
75
+ pageSize?: number;
76
+ static names(): {
77
+ [key: string]: string;
78
+ };
79
+ static types(): {
80
+ [key: string]: any;
81
+ };
82
+ validate(): void;
83
+ constructor(map?: {
84
+ [key: string]: any;
85
+ });
86
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribePeripheralDriversRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePeripheralDriversRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ brand: 'Brand',
43
+ deviceType: 'DeviceType',
44
+ driverIds: 'DriverIds',
45
+ filter: 'Filter',
46
+ maxResults: 'MaxResults',
47
+ nextToken: 'NextToken',
48
+ ownerType: 'OwnerType',
49
+ pageNumber: 'PageNumber',
50
+ pageSize: 'PageSize',
51
+ };
52
+ }
53
+ static types() {
54
+ return {
55
+ brand: 'string',
56
+ deviceType: 'string',
57
+ driverIds: { 'type': 'array', 'itemType': 'string' },
58
+ filter: 'string',
59
+ maxResults: 'number',
60
+ nextToken: 'string',
61
+ ownerType: 'string',
62
+ pageNumber: 'number',
63
+ pageSize: 'number',
64
+ };
65
+ }
66
+ validate() {
67
+ if (Array.isArray(this.driverIds)) {
68
+ $dara.Model.validateArray(this.driverIds);
69
+ }
70
+ super.validate();
71
+ }
72
+ constructor(map) {
73
+ super(map);
74
+ }
75
+ }
76
+ exports.DescribePeripheralDriversRequest = DescribePeripheralDriversRequest;
77
+ //# sourceMappingURL=DescribePeripheralDriversRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePeripheralDriversRequest.js","sourceRoot":"","sources":["../../src/models/DescribePeripheralDriversRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA0E/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhHD,4EAgHC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribePeripheralDriversResponseBody } from "./DescribePeripheralDriversResponseBody";
3
+ export declare class DescribePeripheralDriversResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribePeripheralDriversResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribePeripheralDriversResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribePeripheralDriversResponseBody_1 = require("./DescribePeripheralDriversResponseBody");
40
+ class DescribePeripheralDriversResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribePeripheralDriversResponseBody_1.DescribePeripheralDriversResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribePeripheralDriversResponse = DescribePeripheralDriversResponse;
69
+ //# sourceMappingURL=DescribePeripheralDriversResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePeripheralDriversResponse.js","sourceRoot":"","sources":["../../src/models/DescribePeripheralDriversResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mGAAgG;AAGhG,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAIhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6EAAqC;SAC5C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8EAiCC"}
@@ -0,0 +1,141 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePeripheralDriversResponseBodyDriverInfos extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The brand to which the driver belongs.
6
+ *
7
+ * @example
8
+ * hp
9
+ */
10
+ brand?: string;
11
+ /**
12
+ * @remarks
13
+ * The time when the driver record was created, in ISO 8601 (RFC 3339) format with a time zone offset. The time zone offset is based on the returned value. This field may be empty or not returned if the time information does not exist.
14
+ *
15
+ * @example
16
+ * 2026-09-01T10:30:00+08:00
17
+ */
18
+ createTime?: string;
19
+ /**
20
+ * @remarks
21
+ * The device type to which the driver applies.
22
+ *
23
+ * @example
24
+ * printer
25
+ */
26
+ deviceType?: string;
27
+ /**
28
+ * @remarks
29
+ * The brand icon URL. This field may be empty or not returned if no icon is configured. The example value is for illustration purposes only.
30
+ *
31
+ * @example
32
+ * https://example.com/icons/printer.png
33
+ */
34
+ icon?: string;
35
+ /**
36
+ * @remarks
37
+ * The driver ID, which can be used for subsequent queries.
38
+ *
39
+ * @example
40
+ * 11111111-2222-4333-8444-555555555555
41
+ */
42
+ id?: string;
43
+ /**
44
+ * @remarks
45
+ * The driver name.
46
+ *
47
+ * @example
48
+ * HP Universal Printing PCL 6
49
+ */
50
+ name?: string;
51
+ /**
52
+ * @remarks
53
+ * The operating system to which the driver applies, such as Windows. The actual returned value prevails.
54
+ *
55
+ * @example
56
+ * Windows
57
+ */
58
+ osType?: string;
59
+ /**
60
+ * @remarks
61
+ * The driver ownership. Valid values:
62
+ * - WUYING: Wuying official driver.
63
+ * - CUSTOMER: Custom driver of the current account.
64
+ *
65
+ * @example
66
+ * WUYING
67
+ */
68
+ ownerType?: string;
69
+ /**
70
+ * @remarks
71
+ * The driver source. Valid values:
72
+ * - OpsApp: Uploaded from the management console.
73
+ * - WuyingHelper: Uploaded from Wuying Helper.
74
+ * - Wuying: Wuying source.
75
+ *
76
+ * Unrecognized sources may also be classified as Wuying. To distinguish between official and custom drivers, use OwnerType.
77
+ *
78
+ * @example
79
+ * Wuying
80
+ */
81
+ source?: string;
82
+ static names(): {
83
+ [key: string]: string;
84
+ };
85
+ static types(): {
86
+ [key: string]: any;
87
+ };
88
+ validate(): void;
89
+ constructor(map?: {
90
+ [key: string]: any;
91
+ });
92
+ }
93
+ export declare class DescribePeripheralDriversResponseBody extends $dara.Model {
94
+ /**
95
+ * @remarks
96
+ * The total number of matching drivers, not the length of the current page list. This value may be 0 when the current page contains no data.
97
+ *
98
+ * @example
99
+ * 1
100
+ */
101
+ count?: number;
102
+ /**
103
+ * @remarks
104
+ * The list of driver information on the current page. An empty list is returned when no data is available.
105
+ */
106
+ driverInfos?: DescribePeripheralDriversResponseBodyDriverInfos[];
107
+ /**
108
+ * @remarks
109
+ * Reserved field. This field does not provide a valid return value and may not be returned. This operation uses PageSize and PageNumber for pagination. Do not rely on this field. The example value 20 is provided only to illustrate the integer type and does not represent the actual return value, default value, or page size of this operation.
110
+ *
111
+ * @example
112
+ * 20
113
+ */
114
+ maxResults?: number;
115
+ /**
116
+ * @remarks
117
+ * Reserved field. Token-based pagination is not supported and this field may not be returned. Do not rely on this field for continued queries. The example value token-for-format-only is provided only to illustrate the string type and is not an actual return value or a usable pagination token.
118
+ *
119
+ * @example
120
+ * token-for-format-only
121
+ */
122
+ nextToken?: string;
123
+ /**
124
+ * @remarks
125
+ * The request ID. Provide this value when troubleshooting issues.
126
+ *
127
+ * @example
128
+ * 00000000-1111-4222-8333-444444444444
129
+ */
130
+ requestId?: string;
131
+ static names(): {
132
+ [key: string]: string;
133
+ };
134
+ static types(): {
135
+ [key: string]: any;
136
+ };
137
+ validate(): void;
138
+ constructor(map?: {
139
+ [key: string]: any;
140
+ });
141
+ }