@alicloud/csas20230120 1.14.21 → 1.15.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 (57) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +107 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePadiagnosisTaskRequest.d.ts +92 -0
  5. package/dist/models/CreatePadiagnosisTaskRequest.js +100 -0
  6. package/dist/models/CreatePadiagnosisTaskRequest.js.map +1 -0
  7. package/dist/models/CreatePadiagnosisTaskResponse.d.ts +19 -0
  8. package/dist/models/CreatePadiagnosisTaskResponse.js +69 -0
  9. package/dist/models/CreatePadiagnosisTaskResponse.js.map +1 -0
  10. package/dist/models/CreatePadiagnosisTaskResponseBody.d.ts +130 -0
  11. package/dist/models/CreatePadiagnosisTaskResponseBody.js +152 -0
  12. package/dist/models/CreatePadiagnosisTaskResponseBody.js.map +1 -0
  13. package/dist/models/CreatePadiagnosisTaskShrinkRequest.d.ts +70 -0
  14. package/dist/models/CreatePadiagnosisTaskShrinkRequest.js +76 -0
  15. package/dist/models/CreatePadiagnosisTaskShrinkRequest.js.map +1 -0
  16. package/dist/models/GetPadiagnosisTaskRequest.d.ts +21 -0
  17. package/dist/models/GetPadiagnosisTaskRequest.js +58 -0
  18. package/dist/models/GetPadiagnosisTaskRequest.js.map +1 -0
  19. package/dist/models/GetPadiagnosisTaskResponse.d.ts +19 -0
  20. package/dist/models/GetPadiagnosisTaskResponse.js +69 -0
  21. package/dist/models/GetPadiagnosisTaskResponse.js.map +1 -0
  22. package/dist/models/GetPadiagnosisTaskResponseBody.d.ts +659 -0
  23. package/dist/models/GetPadiagnosisTaskResponseBody.js +629 -0
  24. package/dist/models/GetPadiagnosisTaskResponseBody.js.map +1 -0
  25. package/dist/models/GetUserDeviceResponseBody.d.ts +27 -0
  26. package/dist/models/GetUserDeviceResponseBody.js +51 -1
  27. package/dist/models/GetUserDeviceResponseBody.js.map +1 -1
  28. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.d.ts +1 -0
  29. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.js +5 -0
  30. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.js.map +1 -1
  31. package/dist/models/ListUninstallApplicationsResponseBody.d.ts +1 -0
  32. package/dist/models/ListUninstallApplicationsResponseBody.js +5 -0
  33. package/dist/models/ListUninstallApplicationsResponseBody.js.map +1 -1
  34. package/dist/models/ListUserDevicesResponseBody.d.ts +6 -0
  35. package/dist/models/ListUserDevicesResponseBody.js +15 -0
  36. package/dist/models/ListUserDevicesResponseBody.js.map +1 -1
  37. package/dist/models/ListUsersResponseBody.d.ts +1 -0
  38. package/dist/models/ListUsersResponseBody.js +5 -0
  39. package/dist/models/ListUsersResponseBody.js.map +1 -1
  40. package/dist/models/model.d.ts +30 -0
  41. package/dist/models/model.js +77 -17
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +122 -0
  45. package/src/models/CreatePadiagnosisTaskRequest.ts +138 -0
  46. package/src/models/CreatePadiagnosisTaskResponse.ts +40 -0
  47. package/src/models/CreatePadiagnosisTaskResponseBody.ts +210 -0
  48. package/src/models/CreatePadiagnosisTaskShrinkRequest.ts +101 -0
  49. package/src/models/GetPadiagnosisTaskRequest.ts +34 -0
  50. package/src/models/GetPadiagnosisTaskResponse.ts +40 -0
  51. package/src/models/GetPadiagnosisTaskResponseBody.ts +1081 -0
  52. package/src/models/GetUserDeviceResponseBody.ts +68 -0
  53. package/src/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.ts +6 -0
  54. package/src/models/ListUninstallApplicationsResponseBody.ts +6 -0
  55. package/src/models/ListUserDevicesResponseBody.ts +21 -0
  56. package/src/models/ListUsersResponseBody.ts +6 -0
  57. package/src/models/model.ts +30 -0
@@ -0,0 +1,138 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePADiagnosisTaskRequestUdpExtraConfigs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * hello
9
+ */
10
+ expectedResponse?: string;
11
+ /**
12
+ * @example
13
+ * hello
14
+ */
15
+ requestContent?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ expectedResponse: 'ExpectedResponse',
19
+ requestContent: 'RequestContent',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ expectedResponse: 'string',
26
+ requestContent: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class CreatePADiagnosisTaskRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 2987b3e0-8108-2f99-4d18-3b4f1c1c36d7
43
+ */
44
+ devTag?: string;
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ *
49
+ * @example
50
+ * FullLink
51
+ */
52
+ diagnoseType?: string;
53
+ /**
54
+ * @remarks
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * socialapp-gateway.client9.me
59
+ */
60
+ host?: string;
61
+ /**
62
+ * @example
63
+ * pop-3e244b62357dcafc
64
+ */
65
+ popId?: string;
66
+ /**
67
+ * @remarks
68
+ * This parameter is required.
69
+ *
70
+ * @example
71
+ * ManualSelect
72
+ */
73
+ popMode?: string;
74
+ /**
75
+ * @remarks
76
+ * This parameter is required.
77
+ *
78
+ * @example
79
+ * 80
80
+ */
81
+ port?: string;
82
+ /**
83
+ * @remarks
84
+ * This parameter is required.
85
+ *
86
+ * @example
87
+ * TCP
88
+ */
89
+ protocol?: string;
90
+ udpExtraConfigs?: CreatePADiagnosisTaskRequestUdpExtraConfigs;
91
+ userGroupId?: string;
92
+ /**
93
+ * @example
94
+ * Zhaosi
95
+ */
96
+ username?: string;
97
+ static names(): { [key: string]: string } {
98
+ return {
99
+ devTag: 'DevTag',
100
+ diagnoseType: 'DiagnoseType',
101
+ host: 'Host',
102
+ popId: 'PopId',
103
+ popMode: 'PopMode',
104
+ port: 'Port',
105
+ protocol: 'Protocol',
106
+ udpExtraConfigs: 'UdpExtraConfigs',
107
+ userGroupId: 'UserGroupId',
108
+ username: 'Username',
109
+ };
110
+ }
111
+
112
+ static types(): { [key: string]: any } {
113
+ return {
114
+ devTag: 'string',
115
+ diagnoseType: 'string',
116
+ host: 'string',
117
+ popId: 'string',
118
+ popMode: 'string',
119
+ port: 'string',
120
+ protocol: 'string',
121
+ udpExtraConfigs: CreatePADiagnosisTaskRequestUdpExtraConfigs,
122
+ userGroupId: 'string',
123
+ username: 'string',
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ if(this.udpExtraConfigs && typeof (this.udpExtraConfigs as any).validate === 'function') {
129
+ (this.udpExtraConfigs as any).validate();
130
+ }
131
+ super.validate();
132
+ }
133
+
134
+ constructor(map?: { [key: string]: any }) {
135
+ super(map);
136
+ }
137
+ }
138
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreatePADiagnosisTaskResponseBody } from "./CreatePadiagnosisTaskResponseBody";
4
+
5
+
6
+ export class CreatePADiagnosisTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreatePADiagnosisTaskResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreatePADiagnosisTaskResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,210 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePADiagnosisTaskResponseBodyDiagnosisTaskUdpExtraConfigs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * hello
9
+ */
10
+ expectedResponse?: string;
11
+ /**
12
+ * @example
13
+ * hello
14
+ */
15
+ requestContent?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ expectedResponse: 'ExpectedResponse',
19
+ requestContent: 'RequestContent',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ expectedResponse: 'string',
26
+ requestContent: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class CreatePADiagnosisTaskResponseBodyDiagnosisTaskUserGroup extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * ug-xxxxxxxx
43
+ */
44
+ userGroupId?: string;
45
+ /**
46
+ * @example
47
+ * IT
48
+ */
49
+ userGroupName?: string;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ userGroupId: 'UserGroupId',
53
+ userGroupName: 'UserGroupName',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ userGroupId: 'string',
60
+ userGroupName: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ super.validate();
66
+ }
67
+
68
+ constructor(map?: { [key: string]: any }) {
69
+ super(map);
70
+ }
71
+ }
72
+
73
+ export class CreatePADiagnosisTaskResponseBodyDiagnosisTask extends $dara.Model {
74
+ /**
75
+ * @example
76
+ * E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94
77
+ */
78
+ devTag?: string;
79
+ /**
80
+ * @example
81
+ * diag-3e0d36d6c15a0502
82
+ */
83
+ diagnoseId?: string;
84
+ /**
85
+ * @example
86
+ * FullLink
87
+ */
88
+ diagnoseType?: string;
89
+ /**
90
+ * @example
91
+ * 172.16.6.1
92
+ */
93
+ host?: string;
94
+ /**
95
+ * @example
96
+ * pop-8ded63ce9d3d317e
97
+ */
98
+ popId?: string;
99
+ /**
100
+ * @example
101
+ * AutoSelect
102
+ */
103
+ popMode?: string;
104
+ /**
105
+ * @example
106
+ * 443
107
+ */
108
+ port?: string;
109
+ /**
110
+ * @example
111
+ * TCP
112
+ */
113
+ protocol?: string;
114
+ /**
115
+ * @example
116
+ * Disabled
117
+ */
118
+ status?: string;
119
+ udpExtraConfigs?: CreatePADiagnosisTaskResponseBodyDiagnosisTaskUdpExtraConfigs;
120
+ userGroup?: CreatePADiagnosisTaskResponseBodyDiagnosisTaskUserGroup;
121
+ /**
122
+ * @example
123
+ * zhangsan
124
+ */
125
+ username?: string;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ devTag: 'DevTag',
129
+ diagnoseId: 'DiagnoseId',
130
+ diagnoseType: 'DiagnoseType',
131
+ host: 'Host',
132
+ popId: 'PopId',
133
+ popMode: 'PopMode',
134
+ port: 'Port',
135
+ protocol: 'Protocol',
136
+ status: 'Status',
137
+ udpExtraConfigs: 'UdpExtraConfigs',
138
+ userGroup: 'UserGroup',
139
+ username: 'Username',
140
+ };
141
+ }
142
+
143
+ static types(): { [key: string]: any } {
144
+ return {
145
+ devTag: 'string',
146
+ diagnoseId: 'string',
147
+ diagnoseType: 'string',
148
+ host: 'string',
149
+ popId: 'string',
150
+ popMode: 'string',
151
+ port: 'string',
152
+ protocol: 'string',
153
+ status: 'string',
154
+ udpExtraConfigs: CreatePADiagnosisTaskResponseBodyDiagnosisTaskUdpExtraConfigs,
155
+ userGroup: CreatePADiagnosisTaskResponseBodyDiagnosisTaskUserGroup,
156
+ username: 'string',
157
+ };
158
+ }
159
+
160
+ validate() {
161
+ if(this.udpExtraConfigs && typeof (this.udpExtraConfigs as any).validate === 'function') {
162
+ (this.udpExtraConfigs as any).validate();
163
+ }
164
+ if(this.userGroup && typeof (this.userGroup as any).validate === 'function') {
165
+ (this.userGroup as any).validate();
166
+ }
167
+ super.validate();
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
175
+ export class CreatePADiagnosisTaskResponseBody extends $dara.Model {
176
+ diagnosisTask?: CreatePADiagnosisTaskResponseBodyDiagnosisTask;
177
+ /**
178
+ * @remarks
179
+ * Id of the request
180
+ *
181
+ * @example
182
+ * 5F79AE39-6622-5292-87EF-DE45631DE4D7
183
+ */
184
+ requestId?: string;
185
+ static names(): { [key: string]: string } {
186
+ return {
187
+ diagnosisTask: 'DiagnosisTask',
188
+ requestId: 'RequestId',
189
+ };
190
+ }
191
+
192
+ static types(): { [key: string]: any } {
193
+ return {
194
+ diagnosisTask: CreatePADiagnosisTaskResponseBodyDiagnosisTask,
195
+ requestId: 'string',
196
+ };
197
+ }
198
+
199
+ validate() {
200
+ if(this.diagnosisTask && typeof (this.diagnosisTask as any).validate === 'function') {
201
+ (this.diagnosisTask as any).validate();
202
+ }
203
+ super.validate();
204
+ }
205
+
206
+ constructor(map?: { [key: string]: any }) {
207
+ super(map);
208
+ }
209
+ }
210
+
@@ -0,0 +1,101 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePADiagnosisTaskShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 2987b3e0-8108-2f99-4d18-3b4f1c1c36d7
9
+ */
10
+ devTag?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * FullLink
17
+ */
18
+ diagnoseType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * socialapp-gateway.client9.me
25
+ */
26
+ host?: string;
27
+ /**
28
+ * @example
29
+ * pop-3e244b62357dcafc
30
+ */
31
+ popId?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * ManualSelect
38
+ */
39
+ popMode?: string;
40
+ /**
41
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * 80
46
+ */
47
+ port?: string;
48
+ /**
49
+ * @remarks
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * TCP
54
+ */
55
+ protocol?: string;
56
+ udpExtraConfigsShrink?: string;
57
+ userGroupId?: string;
58
+ /**
59
+ * @example
60
+ * Zhaosi
61
+ */
62
+ username?: string;
63
+ static names(): { [key: string]: string } {
64
+ return {
65
+ devTag: 'DevTag',
66
+ diagnoseType: 'DiagnoseType',
67
+ host: 'Host',
68
+ popId: 'PopId',
69
+ popMode: 'PopMode',
70
+ port: 'Port',
71
+ protocol: 'Protocol',
72
+ udpExtraConfigsShrink: 'UdpExtraConfigs',
73
+ userGroupId: 'UserGroupId',
74
+ username: 'Username',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ devTag: 'string',
81
+ diagnoseType: 'string',
82
+ host: 'string',
83
+ popId: 'string',
84
+ popMode: 'string',
85
+ port: 'string',
86
+ protocol: 'string',
87
+ udpExtraConfigsShrink: 'string',
88
+ userGroupId: 'string',
89
+ username: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ super.validate();
95
+ }
96
+
97
+ constructor(map?: { [key: string]: any }) {
98
+ super(map);
99
+ }
100
+ }
101
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetPADiagnosisTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * diag-58d0750e8786919a
12
+ */
13
+ diagnoseId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ diagnoseId: 'DiagnoseId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ diagnoseId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetPADiagnosisTaskResponseBody } from "./GetPadiagnosisTaskResponseBody";
4
+
5
+
6
+ export class GetPADiagnosisTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetPADiagnosisTaskResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetPADiagnosisTaskResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+