@alicloud/elasticsearch20170613 4.1.1 → 4.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 (145) hide show
  1. package/dist/client.d.ts +210 -0
  2. package/dist/client.js +536 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetKeystoresResponse.d.ts +19 -0
  5. package/dist/models/GetKeystoresResponse.js +69 -0
  6. package/dist/models/GetKeystoresResponse.js.map +1 -0
  7. package/dist/models/GetKeystoresResponseBody.d.ts +22 -0
  8. package/dist/models/GetKeystoresResponseBody.js +63 -0
  9. package/dist/models/GetKeystoresResponseBody.js.map +1 -0
  10. package/dist/models/InitModelRequest.d.ts +68 -0
  11. package/dist/models/InitModelRequest.js +90 -0
  12. package/dist/models/InitModelRequest.js.map +1 -0
  13. package/dist/models/InitModelResponse.d.ts +19 -0
  14. package/dist/models/InitModelResponse.js +69 -0
  15. package/dist/models/InitModelResponse.js.map +1 -0
  16. package/dist/models/InitModelResponseBody.d.ts +26 -0
  17. package/dist/models/InitModelResponseBody.js +60 -0
  18. package/dist/models/InitModelResponseBody.js.map +1 -0
  19. package/dist/models/ListEventRecordsRequest.d.ts +43 -0
  20. package/dist/models/ListEventRecordsRequest.js +68 -0
  21. package/dist/models/ListEventRecordsRequest.js.map +1 -0
  22. package/dist/models/ListEventRecordsResponse.d.ts +19 -0
  23. package/dist/models/ListEventRecordsResponse.js +69 -0
  24. package/dist/models/ListEventRecordsResponse.js.map +1 -0
  25. package/dist/models/ListEventRecordsResponseBody.d.ts +176 -0
  26. package/dist/models/ListEventRecordsResponseBody.js +193 -0
  27. package/dist/models/ListEventRecordsResponseBody.js.map +1 -0
  28. package/dist/models/ListStatsEventRecordsRequest.d.ts +28 -0
  29. package/dist/models/ListStatsEventRecordsRequest.js +62 -0
  30. package/dist/models/ListStatsEventRecordsRequest.js.map +1 -0
  31. package/dist/models/ListStatsEventRecordsResponse.d.ts +19 -0
  32. package/dist/models/ListStatsEventRecordsResponse.js +69 -0
  33. package/dist/models/ListStatsEventRecordsResponse.js.map +1 -0
  34. package/dist/models/ListStatsEventRecordsResponseBody.d.ts +69 -0
  35. package/dist/models/ListStatsEventRecordsResponseBody.js +112 -0
  36. package/dist/models/ListStatsEventRecordsResponseBody.js.map +1 -0
  37. package/dist/models/ListUserPluginRequest.d.ts +28 -0
  38. package/dist/models/ListUserPluginRequest.js +62 -0
  39. package/dist/models/ListUserPluginRequest.js.map +1 -0
  40. package/dist/models/ListUserPluginResponse.d.ts +19 -0
  41. package/dist/models/ListUserPluginResponse.js +69 -0
  42. package/dist/models/ListUserPluginResponse.js.map +1 -0
  43. package/dist/models/ListUserPluginResponseBody.d.ts +106 -0
  44. package/dist/models/ListUserPluginResponseBody.js +129 -0
  45. package/dist/models/ListUserPluginResponseBody.js.map +1 -0
  46. package/dist/models/ModifyScheduleExecuteTimeRequest.d.ts +23 -0
  47. package/dist/models/ModifyScheduleExecuteTimeRequest.js +60 -0
  48. package/dist/models/ModifyScheduleExecuteTimeRequest.js.map +1 -0
  49. package/dist/models/ModifyScheduleExecuteTimeResponse.d.ts +19 -0
  50. package/dist/models/ModifyScheduleExecuteTimeResponse.js +69 -0
  51. package/dist/models/ModifyScheduleExecuteTimeResponse.js.map +1 -0
  52. package/dist/models/ModifyScheduleExecuteTimeResponseBody.d.ts +26 -0
  53. package/dist/models/ModifyScheduleExecuteTimeResponseBody.js +60 -0
  54. package/dist/models/ModifyScheduleExecuteTimeResponseBody.js.map +1 -0
  55. package/dist/models/PluginAnalysisRequest.d.ts +29 -0
  56. package/dist/models/PluginAnalysisRequest.js +60 -0
  57. package/dist/models/PluginAnalysisRequest.js.map +1 -0
  58. package/dist/models/PluginAnalysisResponse.d.ts +19 -0
  59. package/dist/models/PluginAnalysisResponse.js +69 -0
  60. package/dist/models/PluginAnalysisResponse.js.map +1 -0
  61. package/dist/models/PluginAnalysisResponseBody.d.ts +59 -0
  62. package/dist/models/PluginAnalysisResponseBody.js +90 -0
  63. package/dist/models/PluginAnalysisResponseBody.js.map +1 -0
  64. package/dist/models/RemovePluginRequest.d.ts +28 -0
  65. package/dist/models/RemovePluginRequest.js +58 -0
  66. package/dist/models/RemovePluginRequest.js.map +1 -0
  67. package/dist/models/RemovePluginResponse.d.ts +19 -0
  68. package/dist/models/RemovePluginResponse.js +69 -0
  69. package/dist/models/RemovePluginResponse.js.map +1 -0
  70. package/dist/models/RemovePluginResponseBody.d.ts +26 -0
  71. package/dist/models/RemovePluginResponseBody.js +60 -0
  72. package/dist/models/RemovePluginResponseBody.js.map +1 -0
  73. package/dist/models/UpdateFalconSeekRequest.d.ts +18 -0
  74. package/dist/models/UpdateFalconSeekRequest.js +58 -0
  75. package/dist/models/UpdateFalconSeekRequest.js.map +1 -0
  76. package/dist/models/UpdateFalconSeekResponse.d.ts +19 -0
  77. package/dist/models/UpdateFalconSeekResponse.js +69 -0
  78. package/dist/models/UpdateFalconSeekResponse.js.map +1 -0
  79. package/dist/models/UpdateFalconSeekResponseBody.d.ts +21 -0
  80. package/dist/models/UpdateFalconSeekResponseBody.js +58 -0
  81. package/dist/models/UpdateFalconSeekResponseBody.js.map +1 -0
  82. package/dist/models/UpdateKeystoresRequest.d.ts +22 -0
  83. package/dist/models/UpdateKeystoresRequest.js +68 -0
  84. package/dist/models/UpdateKeystoresRequest.js.map +1 -0
  85. package/dist/models/UpdateKeystoresResponse.d.ts +19 -0
  86. package/dist/models/UpdateKeystoresResponse.js +69 -0
  87. package/dist/models/UpdateKeystoresResponse.js.map +1 -0
  88. package/dist/models/UpdateKeystoresResponseBody.d.ts +21 -0
  89. package/dist/models/UpdateKeystoresResponseBody.js +58 -0
  90. package/dist/models/UpdateKeystoresResponseBody.js.map +1 -0
  91. package/dist/models/UpdateKibanaSsoRequest.d.ts +31 -0
  92. package/dist/models/UpdateKibanaSsoRequest.js +60 -0
  93. package/dist/models/UpdateKibanaSsoRequest.js.map +1 -0
  94. package/dist/models/UpdateKibanaSsoResponse.d.ts +19 -0
  95. package/dist/models/UpdateKibanaSsoResponse.js +69 -0
  96. package/dist/models/UpdateKibanaSsoResponse.js.map +1 -0
  97. package/dist/models/UpdateKibanaSsoResponseBody.d.ts +26 -0
  98. package/dist/models/UpdateKibanaSsoResponseBody.js +60 -0
  99. package/dist/models/UpdateKibanaSsoResponseBody.js.map +1 -0
  100. package/dist/models/UpgradeInfoResponse.d.ts +19 -0
  101. package/dist/models/UpgradeInfoResponse.js +69 -0
  102. package/dist/models/UpgradeInfoResponse.js.map +1 -0
  103. package/dist/models/UpgradeInfoResponseBody.d.ts +82 -0
  104. package/dist/models/UpgradeInfoResponseBody.js +116 -0
  105. package/dist/models/UpgradeInfoResponseBody.js.map +1 -0
  106. package/dist/models/model.d.ts +46 -0
  107. package/dist/models/model.js +109 -16
  108. package/dist/models/model.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +586 -0
  111. package/src/models/GetKeystoresResponse.ts +40 -0
  112. package/src/models/GetKeystoresResponseBody.ts +40 -0
  113. package/src/models/InitModelRequest.ts +104 -0
  114. package/src/models/InitModelResponse.ts +40 -0
  115. package/src/models/InitModelResponseBody.ts +41 -0
  116. package/src/models/ListEventRecordsRequest.ts +66 -0
  117. package/src/models/ListEventRecordsResponse.ts +40 -0
  118. package/src/models/ListEventRecordsResponseBody.ts +288 -0
  119. package/src/models/ListStatsEventRecordsRequest.ts +45 -0
  120. package/src/models/ListStatsEventRecordsResponse.ts +40 -0
  121. package/src/models/ListStatsEventRecordsResponseBody.ts +118 -0
  122. package/src/models/ListUserPluginRequest.ts +45 -0
  123. package/src/models/ListUserPluginResponse.ts +40 -0
  124. package/src/models/ListUserPluginResponseBody.ts +170 -0
  125. package/src/models/ModifyScheduleExecuteTimeRequest.ts +38 -0
  126. package/src/models/ModifyScheduleExecuteTimeResponse.ts +40 -0
  127. package/src/models/ModifyScheduleExecuteTimeResponseBody.ts +41 -0
  128. package/src/models/PluginAnalysisRequest.ts +44 -0
  129. package/src/models/PluginAnalysisResponse.ts +40 -0
  130. package/src/models/PluginAnalysisResponseBody.ts +95 -0
  131. package/src/models/RemovePluginRequest.ts +41 -0
  132. package/src/models/RemovePluginResponse.ts +40 -0
  133. package/src/models/RemovePluginResponseBody.ts +41 -0
  134. package/src/models/UpdateFalconSeekRequest.ts +31 -0
  135. package/src/models/UpdateFalconSeekResponse.ts +40 -0
  136. package/src/models/UpdateFalconSeekResponseBody.ts +34 -0
  137. package/src/models/UpdateKeystoresRequest.ts +43 -0
  138. package/src/models/UpdateKeystoresResponse.ts +40 -0
  139. package/src/models/UpdateKeystoresResponseBody.ts +34 -0
  140. package/src/models/UpdateKibanaSsoRequest.ts +46 -0
  141. package/src/models/UpdateKibanaSsoResponse.ts +40 -0
  142. package/src/models/UpdateKibanaSsoResponseBody.ts +41 -0
  143. package/src/models/UpgradeInfoResponse.ts +40 -0
  144. package/src/models/UpgradeInfoResponseBody.ts +135 -0
  145. package/src/models/model.ts +46 -0
@@ -0,0 +1,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListStatsEventRecordsResponseBodyResultResult extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 4
9
+ */
10
+ cnt?: string;
11
+ /**
12
+ * @example
13
+ * Info
14
+ */
15
+ level?: string;
16
+ /**
17
+ * @example
18
+ * Executed
19
+ */
20
+ status?: string;
21
+ /**
22
+ * @example
23
+ * UserOperator
24
+ */
25
+ type?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ cnt: 'cnt',
29
+ level: 'level',
30
+ status: 'status',
31
+ type: 'type',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ cnt: 'string',
38
+ level: 'string',
39
+ status: 'string',
40
+ type: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class ListStatsEventRecordsResponseBodyResult extends $dara.Model {
54
+ result?: ListStatsEventRecordsResponseBodyResultResult[];
55
+ /**
56
+ * @example
57
+ * 6
58
+ */
59
+ total?: string;
60
+ static names(): { [key: string]: string } {
61
+ return {
62
+ result: 'result',
63
+ total: 'total',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ result: { 'type': 'array', 'itemType': ListStatsEventRecordsResponseBodyResultResult },
70
+ total: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(Array.isArray(this.result)) {
76
+ $dara.Model.validateArray(this.result);
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
86
+ export class ListStatsEventRecordsResponseBody extends $dara.Model {
87
+ /**
88
+ * @example
89
+ * F99407AB-2FA9-489E-A259-40CF6DCC****
90
+ */
91
+ requestId?: string;
92
+ result?: ListStatsEventRecordsResponseBodyResult;
93
+ static names(): { [key: string]: string } {
94
+ return {
95
+ requestId: 'RequestId',
96
+ result: 'Result',
97
+ };
98
+ }
99
+
100
+ static types(): { [key: string]: any } {
101
+ return {
102
+ requestId: 'string',
103
+ result: ListStatsEventRecordsResponseBodyResult,
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(this.result && typeof (this.result as any).validate === 'function') {
109
+ (this.result as any).validate();
110
+ }
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserPluginRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * my-plugin
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ page?: string;
16
+ /**
17
+ * @example
18
+ * 50
19
+ */
20
+ size?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ name: 'name',
24
+ page: 'page',
25
+ size: 'size',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ name: 'string',
32
+ page: 'string',
33
+ size: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListUserPluginResponseBody } from "./ListUserPluginResponseBody";
4
+
5
+
6
+ export class ListUserPluginResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListUserPluginResponseBody;
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: ListUserPluginResponseBody,
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,170 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserPluginResponseBodyResultBingoPlugins extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * The plugin***
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * 8.17.0
14
+ */
15
+ elasticsearchVersion?: string;
16
+ /**
17
+ * @example
18
+ * CAEQaRiBgIDI2tie6hkiIGIwM2I3MjZmNjk3YzR***
19
+ */
20
+ fileVersion?: string;
21
+ /**
22
+ * @example
23
+ * dynamic-name
24
+ */
25
+ name?: string;
26
+ /**
27
+ * @example
28
+ * USER
29
+ */
30
+ source?: string;
31
+ /**
32
+ * @example
33
+ * UNINSTALLED
34
+ */
35
+ state?: string;
36
+ /**
37
+ * @example
38
+ * 8.17.0
39
+ */
40
+ version?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ description: 'description',
44
+ elasticsearchVersion: 'elasticsearchVersion',
45
+ fileVersion: 'fileVersion',
46
+ name: 'name',
47
+ source: 'source',
48
+ state: 'state',
49
+ version: 'version',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ description: 'string',
56
+ elasticsearchVersion: 'string',
57
+ fileVersion: 'string',
58
+ name: 'string',
59
+ source: 'string',
60
+ state: 'string',
61
+ version: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
74
+ export class ListUserPluginResponseBodyResult extends $dara.Model {
75
+ bingoPlugins?: ListUserPluginResponseBodyResultBingoPlugins[];
76
+ /**
77
+ * @example
78
+ * ct-test
79
+ */
80
+ name?: string;
81
+ /**
82
+ * @example
83
+ * USER
84
+ */
85
+ source?: string;
86
+ /**
87
+ * @example
88
+ * UNINSTALLED
89
+ */
90
+ state?: string;
91
+ /**
92
+ * @example
93
+ * 8.17.0
94
+ */
95
+ version?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ bingoPlugins: 'bingoPlugins',
99
+ name: 'name',
100
+ source: 'source',
101
+ state: 'state',
102
+ version: 'version',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ bingoPlugins: { 'type': 'array', 'itemType': ListUserPluginResponseBodyResultBingoPlugins },
109
+ name: 'string',
110
+ source: 'string',
111
+ state: 'string',
112
+ version: 'string',
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ if(Array.isArray(this.bingoPlugins)) {
118
+ $dara.Model.validateArray(this.bingoPlugins);
119
+ }
120
+ super.validate();
121
+ }
122
+
123
+ constructor(map?: { [key: string]: any }) {
124
+ super(map);
125
+ }
126
+ }
127
+
128
+ export class ListUserPluginResponseBody extends $dara.Model {
129
+ /**
130
+ * @example
131
+ * {\\"totalCount\\": 1, \\"X-Total-Count\\": 1}
132
+ */
133
+ headers?: { [key: string]: any };
134
+ /**
135
+ * @example
136
+ * 5EEF8FAE-EEDD***
137
+ */
138
+ requestId?: string;
139
+ result?: ListUserPluginResponseBodyResult[];
140
+ static names(): { [key: string]: string } {
141
+ return {
142
+ headers: 'Headers',
143
+ requestId: 'RequestId',
144
+ result: 'Result',
145
+ };
146
+ }
147
+
148
+ static types(): { [key: string]: any } {
149
+ return {
150
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
151
+ requestId: 'string',
152
+ result: { 'type': 'array', 'itemType': ListUserPluginResponseBodyResult },
153
+ };
154
+ }
155
+
156
+ validate() {
157
+ if(this.headers) {
158
+ $dara.Model.validateMap(this.headers);
159
+ }
160
+ if(Array.isArray(this.result)) {
161
+ $dara.Model.validateArray(this.result);
162
+ }
163
+ super.validate();
164
+ }
165
+
166
+ constructor(map?: { [key: string]: any }) {
167
+ super(map);
168
+ }
169
+ }
170
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyScheduleExecuteTimeRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * eb7efbc90864a0***
9
+ */
10
+ eventId?: string;
11
+ /**
12
+ * @example
13
+ * 2026-01-30T08:45:00Z
14
+ */
15
+ scheduleExecuteTime?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ eventId: 'eventId',
19
+ scheduleExecuteTime: 'scheduleExecuteTime',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ eventId: 'string',
26
+ scheduleExecuteTime: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyScheduleExecuteTimeResponseBody } from "./ModifyScheduleExecuteTimeResponseBody";
4
+
5
+
6
+ export class ModifyScheduleExecuteTimeResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyScheduleExecuteTimeResponseBody;
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: ModifyScheduleExecuteTimeResponseBody,
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,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyScheduleExecuteTimeResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * F99407AB-2FA9-489E-A259-40CF6DCC47D9
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @example
16
+ * true
17
+ */
18
+ result?: boolean;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ requestId: 'requestId',
22
+ result: 'result',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ requestId: 'string',
29
+ result: 'boolean',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PluginAnalysisRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * {
9
+ * "name": "plugin_name.zip",// plugin name
10
+ * "ossObject": {
11
+ * "bucketName": "bucketName",// oss bucket name
12
+ * "key": "my_plugin_dir/plugin_name.zip" // oss file name
13
+ * }
14
+ * }
15
+ */
16
+ body?: string;
17
+ /**
18
+ * @example
19
+ * false
20
+ */
21
+ dryRun?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ body: 'body',
25
+ dryRun: 'dryRun',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ body: 'string',
32
+ dryRun: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { PluginAnalysisResponseBody } from "./PluginAnalysisResponseBody";
4
+
5
+
6
+ export class PluginAnalysisResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: PluginAnalysisResponseBody;
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: PluginAnalysisResponseBody,
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,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PluginAnalysisResponseBodyResult extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * plugin description
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * 8.17.0
14
+ */
15
+ elasticsearchVersion?: string;
16
+ /**
17
+ * @example
18
+ * plugin_name
19
+ */
20
+ name?: string;
21
+ /**
22
+ * @example
23
+ * null
24
+ */
25
+ securityPolicy?: string;
26
+ /**
27
+ * @example
28
+ * 8.17.0
29
+ */
30
+ version?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ description: 'description',
34
+ elasticsearchVersion: 'elasticsearchVersion',
35
+ name: 'name',
36
+ securityPolicy: 'securityPolicy',
37
+ version: 'version',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ description: 'string',
44
+ elasticsearchVersion: 'string',
45
+ name: 'string',
46
+ securityPolicy: 'string',
47
+ version: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class PluginAnalysisResponseBody extends $dara.Model {
61
+ /**
62
+ * @remarks
63
+ * Id of the request
64
+ *
65
+ * @example
66
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****
67
+ */
68
+ requestId?: string;
69
+ result?: PluginAnalysisResponseBodyResult[];
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ requestId: 'RequestId',
73
+ result: 'Result',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ requestId: 'string',
80
+ result: { 'type': 'array', 'itemType': PluginAnalysisResponseBodyResult },
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(Array.isArray(this.result)) {
86
+ $dara.Model.validateArray(this.result);
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemovePluginRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * [
9
+ * {
10
+ * "name": "pluginName",
11
+ * "elasticsearchVersion": "8.17.0",
12
+ * "version": "8.17.0",
13
+ * "fileVersion": "CAEQbxiBgIDMoJqe6hkiIGYzM****",
14
+ * "state": "UNINSTALLED",
15
+ * "source": "USER",
16
+ * "pluginType": "CUSTOM_PLUGIN"
17
+ * }
18
+ * ]
19
+ */
20
+ body?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ body: 'body',
24
+ };
25
+ }
26
+
27
+ static types(): { [key: string]: any } {
28
+ return {
29
+ body: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+