@alicloud/cms20240330 5.0.0 → 6.0.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 (89) hide show
  1. package/dist/client.d.ts +72 -0
  2. package/dist/client.js +223 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAlertWebhookRequest.d.ts +56 -0
  5. package/dist/models/CreateAlertWebhookRequest.js +73 -0
  6. package/dist/models/CreateAlertWebhookRequest.js.map +1 -0
  7. package/dist/models/CreateAlertWebhookResponse.d.ts +19 -0
  8. package/dist/models/CreateAlertWebhookResponse.js +69 -0
  9. package/dist/models/CreateAlertWebhookResponse.js.map +1 -0
  10. package/dist/models/CreateAlertWebhookResponseBody.d.ts +23 -0
  11. package/dist/models/CreateAlertWebhookResponseBody.js +60 -0
  12. package/dist/models/CreateAlertWebhookResponseBody.js.map +1 -0
  13. package/dist/models/DeleteAlertWebhooksRequest.d.ts +18 -0
  14. package/dist/models/DeleteAlertWebhooksRequest.js +61 -0
  15. package/dist/models/DeleteAlertWebhooksRequest.js.map +1 -0
  16. package/dist/models/DeleteAlertWebhooksResponse.d.ts +19 -0
  17. package/dist/models/DeleteAlertWebhooksResponse.js +69 -0
  18. package/dist/models/DeleteAlertWebhooksResponse.js.map +1 -0
  19. package/dist/models/DeleteAlertWebhooksResponseBody.d.ts +18 -0
  20. package/dist/models/DeleteAlertWebhooksResponseBody.js +58 -0
  21. package/dist/models/DeleteAlertWebhooksResponseBody.js.map +1 -0
  22. package/dist/models/DeleteAlertWebhooksShrinkRequest.d.ts +18 -0
  23. package/dist/models/DeleteAlertWebhooksShrinkRequest.js +58 -0
  24. package/dist/models/DeleteAlertWebhooksShrinkRequest.js.map +1 -0
  25. package/dist/models/ListAggTaskGroupsResponseBody.d.ts +0 -33
  26. package/dist/models/ListAggTaskGroupsResponseBody.js +1 -27
  27. package/dist/models/ListAggTaskGroupsResponseBody.js.map +1 -1
  28. package/dist/models/ListAlertWebhooksRequest.d.ts +29 -0
  29. package/dist/models/ListAlertWebhooksRequest.js +67 -0
  30. package/dist/models/ListAlertWebhooksRequest.js.map +1 -0
  31. package/dist/models/ListAlertWebhooksResponse.d.ts +19 -0
  32. package/dist/models/ListAlertWebhooksResponse.js +69 -0
  33. package/dist/models/ListAlertWebhooksResponse.js.map +1 -0
  34. package/dist/models/ListAlertWebhooksResponseBody.d.ts +90 -0
  35. package/dist/models/ListAlertWebhooksResponseBody.js +103 -0
  36. package/dist/models/ListAlertWebhooksResponseBody.js.map +1 -0
  37. package/dist/models/ListAlertWebhooksShrinkRequest.d.ts +29 -0
  38. package/dist/models/ListAlertWebhooksShrinkRequest.js +64 -0
  39. package/dist/models/ListAlertWebhooksShrinkRequest.js.map +1 -0
  40. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +0 -33
  41. package/dist/models/ListIntegrationPoliciesResponseBody.js +1 -27
  42. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  43. package/dist/models/ListPrometheusInstancesRequest.d.ts +5 -0
  44. package/dist/models/ListPrometheusInstancesRequest.js +2 -0
  45. package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
  46. package/dist/models/ListPrometheusInstancesResponseBody.d.ts +0 -41
  47. package/dist/models/ListPrometheusInstancesResponseBody.js +1 -29
  48. package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
  49. package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +5 -0
  50. package/dist/models/ListPrometheusInstancesShrinkRequest.js +2 -0
  51. package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
  52. package/dist/models/ListPrometheusViewsResponseBody.d.ts +0 -41
  53. package/dist/models/ListPrometheusViewsResponseBody.js +1 -29
  54. package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
  55. package/dist/models/UpdateAlertWebhookRequest.d.ts +45 -0
  56. package/dist/models/UpdateAlertWebhookRequest.js +71 -0
  57. package/dist/models/UpdateAlertWebhookRequest.js.map +1 -0
  58. package/dist/models/UpdateAlertWebhookResponse.d.ts +19 -0
  59. package/dist/models/UpdateAlertWebhookResponse.js +69 -0
  60. package/dist/models/UpdateAlertWebhookResponse.js.map +1 -0
  61. package/dist/models/UpdateAlertWebhookResponseBody.d.ts +18 -0
  62. package/dist/models/UpdateAlertWebhookResponseBody.js +58 -0
  63. package/dist/models/UpdateAlertWebhookResponseBody.js.map +1 -0
  64. package/dist/models/model.d.ts +15 -4
  65. package/dist/models/model.js +52 -30
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +252 -0
  69. package/src/models/CreateAlertWebhookRequest.ts +82 -0
  70. package/src/models/CreateAlertWebhookResponse.ts +40 -0
  71. package/src/models/CreateAlertWebhookResponseBody.ts +38 -0
  72. package/src/models/DeleteAlertWebhooksRequest.ts +34 -0
  73. package/src/models/DeleteAlertWebhooksResponse.ts +40 -0
  74. package/src/models/DeleteAlertWebhooksResponseBody.ts +31 -0
  75. package/src/models/DeleteAlertWebhooksShrinkRequest.ts +31 -0
  76. package/src/models/ListAggTaskGroupsResponseBody.ts +0 -50
  77. package/src/models/ListAlertWebhooksRequest.ts +51 -0
  78. package/src/models/ListAlertWebhooksResponse.ts +40 -0
  79. package/src/models/ListAlertWebhooksResponseBody.ts +137 -0
  80. package/src/models/ListAlertWebhooksShrinkRequest.ts +48 -0
  81. package/src/models/ListIntegrationPoliciesResponseBody.ts +0 -50
  82. package/src/models/ListPrometheusInstancesRequest.ts +7 -0
  83. package/src/models/ListPrometheusInstancesResponseBody.ts +0 -60
  84. package/src/models/ListPrometheusInstancesShrinkRequest.ts +7 -0
  85. package/src/models/ListPrometheusViewsResponseBody.ts +0 -60
  86. package/src/models/UpdateAlertWebhookRequest.ts +69 -0
  87. package/src/models/UpdateAlertWebhookResponse.ts +40 -0
  88. package/src/models/UpdateAlertWebhookResponseBody.ts +31 -0
  89. package/src/models/model.ts +15 -4
@@ -0,0 +1,56 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAlertWebhookRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * JSON
6
+ */
7
+ contentType?: string;
8
+ /**
9
+ * @remarks
10
+ * headers
11
+ */
12
+ headers?: {
13
+ [key: string]: string;
14
+ };
15
+ /**
16
+ * @example
17
+ * zh_CN
18
+ */
19
+ lang?: string;
20
+ /**
21
+ * @example
22
+ * GET
23
+ */
24
+ method?: string;
25
+ /**
26
+ * @remarks
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * test
31
+ */
32
+ name?: string;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * https://aliyun.com/test
39
+ */
40
+ url?: string;
41
+ /**
42
+ * @example
43
+ * test
44
+ */
45
+ webhookId?: string;
46
+ static names(): {
47
+ [key: string]: string;
48
+ };
49
+ static types(): {
50
+ [key: string]: any;
51
+ };
52
+ validate(): void;
53
+ constructor(map?: {
54
+ [key: string]: any;
55
+ });
56
+ }
@@ -0,0 +1,73 @@
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.CreateAlertWebhookRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAlertWebhookRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ contentType: 'contentType',
43
+ headers: 'headers',
44
+ lang: 'lang',
45
+ method: 'method',
46
+ name: 'name',
47
+ url: 'url',
48
+ webhookId: 'webhookId',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ contentType: 'string',
54
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
55
+ lang: 'string',
56
+ method: 'string',
57
+ name: 'string',
58
+ url: 'string',
59
+ webhookId: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ if (this.headers) {
64
+ $dara.Model.validateMap(this.headers);
65
+ }
66
+ super.validate();
67
+ }
68
+ constructor(map) {
69
+ super(map);
70
+ }
71
+ }
72
+ exports.CreateAlertWebhookRequest = CreateAlertWebhookRequest;
73
+ //# sourceMappingURL=CreateAlertWebhookRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAlertWebhookRequest.js","sourceRoot":"","sources":["../../src/models/CreateAlertWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IA0CxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;YACd,GAAG,EAAE,QAAQ;YACb,SAAS,EAAE,QAAQ;SACpB,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ED,8DA4EC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateAlertWebhookResponseBody } from "./CreateAlertWebhookResponseBody";
3
+ export declare class CreateAlertWebhookResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateAlertWebhookResponseBody;
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.CreateAlertWebhookResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateAlertWebhookResponseBody_1 = require("./CreateAlertWebhookResponseBody");
40
+ class CreateAlertWebhookResponse 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: CreateAlertWebhookResponseBody_1.CreateAlertWebhookResponseBody,
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.CreateAlertWebhookResponse = CreateAlertWebhookResponse;
69
+ //# sourceMappingURL=CreateAlertWebhookResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAlertWebhookResponse.js","sourceRoot":"","sources":["../../src/models/CreateAlertWebhookResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,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,+DAA8B;SACrC,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,gEAiCC"}
@@ -0,0 +1,23 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAlertWebhookResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * test
6
+ */
7
+ alertWebhookId?: string;
8
+ /**
9
+ * @example
10
+ * 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC
11
+ */
12
+ requestId?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
@@ -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.CreateAlertWebhookResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAlertWebhookResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ alertWebhookId: 'alertWebhookId',
43
+ requestId: 'requestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ alertWebhookId: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateAlertWebhookResponseBody = CreateAlertWebhookResponseBody;
60
+ //# sourceMappingURL=CreateAlertWebhookResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAlertWebhookResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateAlertWebhookResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAW7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,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;AAhCD,wEAgCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteAlertWebhooksRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ */
7
+ webhookIds?: string[];
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -0,0 +1,61 @@
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.DeleteAlertWebhooksRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteAlertWebhooksRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ webhookIds: 'webhookIds',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ webhookIds: { 'type': 'array', 'itemType': 'string' },
48
+ };
49
+ }
50
+ validate() {
51
+ if (Array.isArray(this.webhookIds)) {
52
+ $dara.Model.validateArray(this.webhookIds);
53
+ }
54
+ super.validate();
55
+ }
56
+ constructor(map) {
57
+ super(map);
58
+ }
59
+ }
60
+ exports.DeleteAlertWebhooksRequest = DeleteAlertWebhooksRequest;
61
+ //# sourceMappingURL=DeleteAlertWebhooksRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAlertWebhooksRequest.js","sourceRoot":"","sources":["../../src/models/DeleteAlertWebhooksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAMzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACtD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,gEA4BC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteAlertWebhooksResponseBody } from "./DeleteAlertWebhooksResponseBody";
3
+ export declare class DeleteAlertWebhooksResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteAlertWebhooksResponseBody;
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.DeleteAlertWebhooksResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteAlertWebhooksResponseBody_1 = require("./DeleteAlertWebhooksResponseBody");
40
+ class DeleteAlertWebhooksResponse 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: DeleteAlertWebhooksResponseBody_1.DeleteAlertWebhooksResponseBody,
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.DeleteAlertWebhooksResponse = DeleteAlertWebhooksResponse;
69
+ //# sourceMappingURL=DeleteAlertWebhooksResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAlertWebhooksResponse.js","sourceRoot":"","sources":["../../src/models/DeleteAlertWebhooksResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,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,iEAA+B;SACtC,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,kEAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteAlertWebhooksResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * E5B1D3D4-BB28-5996-8AD2-***********
6
+ */
7
+ requestId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -0,0 +1,58 @@
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.DeleteAlertWebhooksResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteAlertWebhooksResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'requestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DeleteAlertWebhooksResponseBody = DeleteAlertWebhooksResponseBody;
58
+ //# sourceMappingURL=DeleteAlertWebhooksResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAlertWebhooksResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteAlertWebhooksResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAM9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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;AAzBD,0EAyBC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteAlertWebhooksShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ */
7
+ webhookIdsShrink?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -0,0 +1,58 @@
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.DeleteAlertWebhooksShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteAlertWebhooksShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ webhookIdsShrink: 'webhookIds',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ webhookIdsShrink: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DeleteAlertWebhooksShrinkRequest = DeleteAlertWebhooksShrinkRequest;
58
+ //# sourceMappingURL=DeleteAlertWebhooksShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAlertWebhooksShrinkRequest.js","sourceRoot":"","sources":["../../src/models/DeleteAlertWebhooksShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAM/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,YAAY;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;SAC3B,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;AAzBD,4EAyBC"}