@alicloud/waf-openapi20211001 6.1.1 → 6.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.
Files changed (69) hide show
  1. package/dist/client.d.ts +75 -0
  2. package/dist/client.js +246 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
  5. package/dist/models/DescribeAlarmBannerRequest.js +62 -0
  6. package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
  7. package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
  8. package/dist/models/DescribeAlarmBannerResponse.js +69 -0
  9. package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
  10. package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
  11. package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
  12. package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
  13. package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
  14. package/dist/models/DescribeAlarmListRequest.js +62 -0
  15. package/dist/models/DescribeAlarmListRequest.js.map +1 -0
  16. package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
  17. package/dist/models/DescribeAlarmListResponse.js +69 -0
  18. package/dist/models/DescribeAlarmListResponse.js.map +1 -0
  19. package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
  20. package/dist/models/DescribeAlarmListResponseBody.js +94 -0
  21. package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
  22. package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
  23. package/dist/models/DescribeBotAppKeyRequest.js +64 -0
  24. package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
  25. package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
  26. package/dist/models/DescribeBotAppKeyResponse.js +69 -0
  27. package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
  28. package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
  29. package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
  30. package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
  31. package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
  32. package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
  33. package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
  34. package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
  35. package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
  36. package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
  37. package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
  38. package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
  39. package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
  40. package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
  41. package/dist/models/DescribeThreatEventRequest.js +72 -0
  42. package/dist/models/DescribeThreatEventRequest.js.map +1 -0
  43. package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
  44. package/dist/models/DescribeThreatEventResponse.js +69 -0
  45. package/dist/models/DescribeThreatEventResponse.js.map +1 -0
  46. package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
  47. package/dist/models/DescribeThreatEventResponseBody.js +96 -0
  48. package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
  49. package/dist/models/model.d.ts +19 -0
  50. package/dist/models/model.js +56 -18
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +278 -0
  54. package/src/models/DescribeAlarmBannerRequest.ts +48 -0
  55. package/src/models/DescribeAlarmBannerResponse.ts +40 -0
  56. package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
  57. package/src/models/DescribeAlarmListRequest.ts +48 -0
  58. package/src/models/DescribeAlarmListResponse.ts +40 -0
  59. package/src/models/DescribeAlarmListResponseBody.ts +106 -0
  60. package/src/models/DescribeBotAppKeyRequest.ts +55 -0
  61. package/src/models/DescribeBotAppKeyResponse.ts +40 -0
  62. package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
  63. package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
  64. package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
  65. package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
  66. package/src/models/DescribeThreatEventRequest.ts +89 -0
  67. package/src/models/DescribeThreatEventResponse.ts +40 -0
  68. package/src/models/DescribeThreatEventResponseBody.ts +113 -0
  69. package/src/models/model.ts +19 -0
@@ -0,0 +1,94 @@
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.DescribeAlarmListResponseBody = exports.DescribeAlarmListResponseBodyAlarms = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAlarmListResponseBodyAlarms extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cause: 'Cause',
43
+ endTime: 'EndTime',
44
+ maxQps: 'MaxQps',
45
+ spec: 'Spec',
46
+ startTime: 'StartTime',
47
+ status: 'Status',
48
+ type: 'Type',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ cause: 'string',
54
+ endTime: 'number',
55
+ maxQps: 'number',
56
+ spec: 'number',
57
+ startTime: 'number',
58
+ status: 'number',
59
+ type: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DescribeAlarmListResponseBodyAlarms = DescribeAlarmListResponseBodyAlarms;
70
+ class DescribeAlarmListResponseBody extends $dara.Model {
71
+ static names() {
72
+ return {
73
+ alarms: 'Alarms',
74
+ requestId: 'RequestId',
75
+ };
76
+ }
77
+ static types() {
78
+ return {
79
+ alarms: { 'type': 'array', 'itemType': DescribeAlarmListResponseBodyAlarms },
80
+ requestId: 'string',
81
+ };
82
+ }
83
+ validate() {
84
+ if (Array.isArray(this.alarms)) {
85
+ $dara.Model.validateArray(this.alarms);
86
+ }
87
+ super.validate();
88
+ }
89
+ constructor(map) {
90
+ super(map);
91
+ }
92
+ }
93
+ exports.DescribeAlarmListResponseBody = DescribeAlarmListResponseBody;
94
+ //# sourceMappingURL=DescribeAlarmListResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAlarmListResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmListResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAoClE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnED,kFAmEC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAO5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,mCAAmC,EAAE;YAC5E,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,sEA+BC"}
@@ -0,0 +1,36 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeBotAppKeyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * waf_v3prepaid_public_cn-5v23u******
9
+ */
10
+ instanceId?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ keyVersion?: string;
16
+ /**
17
+ * @example
18
+ * cn-hangzhou
19
+ */
20
+ regionId?: string;
21
+ /**
22
+ * @example
23
+ * rg-aek2uo27badl***
24
+ */
25
+ resourceManagerResourceGroupId?: string;
26
+ static names(): {
27
+ [key: string]: string;
28
+ };
29
+ static types(): {
30
+ [key: string]: any;
31
+ };
32
+ validate(): void;
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
@@ -0,0 +1,64 @@
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.DescribeBotAppKeyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeBotAppKeyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ keyVersion: 'KeyVersion',
44
+ regionId: 'RegionId',
45
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ instanceId: 'string',
51
+ keyVersion: 'string',
52
+ regionId: 'string',
53
+ resourceManagerResourceGroupId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DescribeBotAppKeyRequest = DescribeBotAppKeyRequest;
64
+ //# sourceMappingURL=DescribeBotAppKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBotAppKeyRequest.js","sourceRoot":"","sources":["../../src/models/DescribeBotAppKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAwBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjDD,4DAiDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeBotAppKeyResponseBody } from "./DescribeBotAppKeyResponseBody";
3
+ export declare class DescribeBotAppKeyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeBotAppKeyResponseBody;
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.DescribeBotAppKeyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeBotAppKeyResponseBody_1 = require("./DescribeBotAppKeyResponseBody");
40
+ class DescribeBotAppKeyResponse 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: DescribeBotAppKeyResponseBody_1.DescribeBotAppKeyResponseBody,
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.DescribeBotAppKeyResponse = DescribeBotAppKeyResponse;
69
+ //# sourceMappingURL=DescribeBotAppKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBotAppKeyResponse.js","sourceRoot":"","sources":["../../src/models/DescribeBotAppKeyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,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,6DAA6B;SACpC,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,8DAiCC"}
@@ -0,0 +1,26 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeBotAppKeyResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * AppKey。
6
+ *
7
+ * @example
8
+ * N1Kiv3AGZm******
9
+ */
10
+ appKey?: string;
11
+ /**
12
+ * @example
13
+ * 0C4ADFD4-5B7D-591D-A607-A45C*****
14
+ */
15
+ requestId?: string;
16
+ static names(): {
17
+ [key: string]: string;
18
+ };
19
+ static types(): {
20
+ [key: string]: any;
21
+ };
22
+ validate(): void;
23
+ constructor(map?: {
24
+ [key: string]: any;
25
+ });
26
+ }
@@ -0,0 +1,60 @@
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.DescribeBotAppKeyResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeBotAppKeyResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ appKey: 'AppKey',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ appKey: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeBotAppKeyResponseBody = DescribeBotAppKeyResponseBody;
60
+ //# sourceMappingURL=DescribeBotAppKeyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBotAppKeyResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeBotAppKeyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAc5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnCD,sEAmCC"}
@@ -0,0 +1,39 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeThreatEventDetailRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 1661131a028f72a976703f4a4082ad87
9
+ */
10
+ eventId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_v2_public_cn-lbj*****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ /**
25
+ * @example
26
+ * rg-aekzhks66****
27
+ */
28
+ resourceManagerResourceGroupId?: string;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ validate(): void;
36
+ constructor(map?: {
37
+ [key: string]: any;
38
+ });
39
+ }
@@ -0,0 +1,64 @@
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.DescribeThreatEventDetailRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeThreatEventDetailRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ eventId: 'EventId',
43
+ instanceId: 'InstanceId',
44
+ regionId: 'RegionId',
45
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ eventId: 'string',
51
+ instanceId: 'string',
52
+ regionId: 'string',
53
+ resourceManagerResourceGroupId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DescribeThreatEventDetailRequest = DescribeThreatEventDetailRequest;
64
+ //# sourceMappingURL=DescribeThreatEventDetailRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventDetailRequest.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventDetailRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA2B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,4EAoDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeThreatEventDetailResponseBody } from "./DescribeThreatEventDetailResponseBody";
3
+ export declare class DescribeThreatEventDetailResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeThreatEventDetailResponseBody;
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.DescribeThreatEventDetailResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeThreatEventDetailResponseBody_1 = require("./DescribeThreatEventDetailResponseBody");
40
+ class DescribeThreatEventDetailResponse 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: DescribeThreatEventDetailResponseBody_1.DescribeThreatEventDetailResponseBody,
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.DescribeThreatEventDetailResponse = DescribeThreatEventDetailResponse;
69
+ //# sourceMappingURL=DescribeThreatEventDetailResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventDetailResponse.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventDetailResponse.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"}