@alicloud/cms20240330 5.0.0 → 5.1.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 (65) hide show
  1. package/dist/client.d.ts +72 -0
  2. package/dist/client.js +220 -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/ListAlertWebhooksRequest.d.ts +29 -0
  26. package/dist/models/ListAlertWebhooksRequest.js +67 -0
  27. package/dist/models/ListAlertWebhooksRequest.js.map +1 -0
  28. package/dist/models/ListAlertWebhooksResponse.d.ts +19 -0
  29. package/dist/models/ListAlertWebhooksResponse.js +69 -0
  30. package/dist/models/ListAlertWebhooksResponse.js.map +1 -0
  31. package/dist/models/ListAlertWebhooksResponseBody.d.ts +90 -0
  32. package/dist/models/ListAlertWebhooksResponseBody.js +103 -0
  33. package/dist/models/ListAlertWebhooksResponseBody.js.map +1 -0
  34. package/dist/models/ListAlertWebhooksShrinkRequest.d.ts +29 -0
  35. package/dist/models/ListAlertWebhooksShrinkRequest.js +64 -0
  36. package/dist/models/ListAlertWebhooksShrinkRequest.js.map +1 -0
  37. package/dist/models/UpdateAlertWebhookRequest.d.ts +45 -0
  38. package/dist/models/UpdateAlertWebhookRequest.js +71 -0
  39. package/dist/models/UpdateAlertWebhookRequest.js.map +1 -0
  40. package/dist/models/UpdateAlertWebhookResponse.d.ts +19 -0
  41. package/dist/models/UpdateAlertWebhookResponse.js +69 -0
  42. package/dist/models/UpdateAlertWebhookResponse.js.map +1 -0
  43. package/dist/models/UpdateAlertWebhookResponseBody.d.ts +18 -0
  44. package/dist/models/UpdateAlertWebhookResponseBody.js +58 -0
  45. package/dist/models/UpdateAlertWebhookResponseBody.js.map +1 -0
  46. package/dist/models/model.d.ts +15 -0
  47. package/dist/models/model.js +40 -10
  48. package/dist/models/model.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/client.ts +248 -0
  51. package/src/models/CreateAlertWebhookRequest.ts +82 -0
  52. package/src/models/CreateAlertWebhookResponse.ts +40 -0
  53. package/src/models/CreateAlertWebhookResponseBody.ts +38 -0
  54. package/src/models/DeleteAlertWebhooksRequest.ts +34 -0
  55. package/src/models/DeleteAlertWebhooksResponse.ts +40 -0
  56. package/src/models/DeleteAlertWebhooksResponseBody.ts +31 -0
  57. package/src/models/DeleteAlertWebhooksShrinkRequest.ts +31 -0
  58. package/src/models/ListAlertWebhooksRequest.ts +51 -0
  59. package/src/models/ListAlertWebhooksResponse.ts +40 -0
  60. package/src/models/ListAlertWebhooksResponseBody.ts +137 -0
  61. package/src/models/ListAlertWebhooksShrinkRequest.ts +48 -0
  62. package/src/models/UpdateAlertWebhookRequest.ts +69 -0
  63. package/src/models/UpdateAlertWebhookResponse.ts +40 -0
  64. package/src/models/UpdateAlertWebhookResponseBody.ts +31 -0
  65. package/src/models/model.ts +15 -0
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListAlertWebhooksRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * test
6
+ */
7
+ name?: string;
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ pageNumber?: number;
13
+ /**
14
+ * @example
15
+ * 10
16
+ */
17
+ pageSize?: number;
18
+ webhookIds?: string[];
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,67 @@
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.ListAlertWebhooksRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListAlertWebhooksRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ name: 'name',
43
+ pageNumber: 'pageNumber',
44
+ pageSize: 'pageSize',
45
+ webhookIds: 'webhookIds',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ name: 'string',
51
+ pageNumber: 'number',
52
+ pageSize: 'number',
53
+ webhookIds: { 'type': 'array', 'itemType': 'string' },
54
+ };
55
+ }
56
+ validate() {
57
+ if (Array.isArray(this.webhookIds)) {
58
+ $dara.Model.validateArray(this.webhookIds);
59
+ }
60
+ super.validate();
61
+ }
62
+ constructor(map) {
63
+ super(map);
64
+ }
65
+ }
66
+ exports.ListAlertWebhooksRequest = ListAlertWebhooksRequest;
67
+ //# sourceMappingURL=ListAlertWebhooksRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAlertWebhooksRequest.js","sourceRoot":"","sources":["../../src/models/ListAlertWebhooksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAiBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AA7CD,4DA6CC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListAlertWebhooksResponseBody } from "./ListAlertWebhooksResponseBody";
3
+ export declare class ListAlertWebhooksResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListAlertWebhooksResponseBody;
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.ListAlertWebhooksResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListAlertWebhooksResponseBody_1 = require("./ListAlertWebhooksResponseBody");
40
+ class ListAlertWebhooksResponse 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: ListAlertWebhooksResponseBody_1.ListAlertWebhooksResponseBody,
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.ListAlertWebhooksResponse = ListAlertWebhooksResponse;
69
+ //# sourceMappingURL=ListAlertWebhooksResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAlertWebhooksResponse.js","sourceRoot":"","sources":["../../src/models/ListAlertWebhooksResponse.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,90 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListAlertWebhooksResponseBodyWebhooks extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * JSON
6
+ */
7
+ contentType?: string;
8
+ /**
9
+ * @remarks
10
+ * headers
11
+ *
12
+ * @example
13
+ * key
14
+ */
15
+ headers?: {
16
+ [key: string]: any;
17
+ };
18
+ /**
19
+ * @example
20
+ * zh_CN
21
+ */
22
+ lang?: string;
23
+ /**
24
+ * @example
25
+ * GET
26
+ */
27
+ method?: string;
28
+ /**
29
+ * @example
30
+ * test
31
+ */
32
+ name?: string;
33
+ /**
34
+ * @example
35
+ * http://aliyun.com/test
36
+ */
37
+ url?: string;
38
+ /**
39
+ * @example
40
+ * test
41
+ */
42
+ webhookId?: string;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
54
+ export declare class ListAlertWebhooksResponseBody extends $dara.Model {
55
+ /**
56
+ * @example
57
+ * 1
58
+ */
59
+ pageNumber?: number;
60
+ /**
61
+ * @example
62
+ * 10
63
+ */
64
+ pageSize?: number;
65
+ /**
66
+ * @example
67
+ * 8A33DBEA-*****-*****-*****-*****
68
+ */
69
+ requestId?: string;
70
+ /**
71
+ * @example
72
+ * 8
73
+ */
74
+ total?: number;
75
+ /**
76
+ * @remarks
77
+ * webhooks
78
+ */
79
+ webhooks?: ListAlertWebhooksResponseBodyWebhooks[];
80
+ static names(): {
81
+ [key: string]: string;
82
+ };
83
+ static types(): {
84
+ [key: string]: any;
85
+ };
86
+ validate(): void;
87
+ constructor(map?: {
88
+ [key: string]: any;
89
+ });
90
+ }
@@ -0,0 +1,103 @@
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.ListAlertWebhooksResponseBody = exports.ListAlertWebhooksResponseBodyWebhooks = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListAlertWebhooksResponseBodyWebhooks 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': 'any' },
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.ListAlertWebhooksResponseBodyWebhooks = ListAlertWebhooksResponseBodyWebhooks;
73
+ class ListAlertWebhooksResponseBody extends $dara.Model {
74
+ static names() {
75
+ return {
76
+ pageNumber: 'pageNumber',
77
+ pageSize: 'pageSize',
78
+ requestId: 'requestId',
79
+ total: 'total',
80
+ webhooks: 'webhooks',
81
+ };
82
+ }
83
+ static types() {
84
+ return {
85
+ pageNumber: 'number',
86
+ pageSize: 'number',
87
+ requestId: 'string',
88
+ total: 'number',
89
+ webhooks: { 'type': 'array', 'itemType': ListAlertWebhooksResponseBodyWebhooks },
90
+ };
91
+ }
92
+ validate() {
93
+ if (Array.isArray(this.webhooks)) {
94
+ $dara.Model.validateArray(this.webhooks);
95
+ }
96
+ super.validate();
97
+ }
98
+ constructor(map) {
99
+ super(map);
100
+ }
101
+ }
102
+ exports.ListAlertWebhooksResponseBody = ListAlertWebhooksResponseBody;
103
+ //# sourceMappingURL=ListAlertWebhooksResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAlertWebhooksResponseBody.js","sourceRoot":"","sources":["../../src/models/ListAlertWebhooksResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAuCpE,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,KAAK,EAAE;YACnE,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;AAzED,sFAyEC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IA0B5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qCAAqC,EAAE;SACjF,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxDD,sEAwDC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListAlertWebhooksShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * test
6
+ */
7
+ name?: string;
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ pageNumber?: number;
13
+ /**
14
+ * @example
15
+ * 10
16
+ */
17
+ pageSize?: number;
18
+ webhookIdsShrink?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -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.ListAlertWebhooksShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListAlertWebhooksShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ name: 'name',
43
+ pageNumber: 'pageNumber',
44
+ pageSize: 'pageSize',
45
+ webhookIdsShrink: 'webhookIds',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ name: 'string',
51
+ pageNumber: 'number',
52
+ pageSize: 'number',
53
+ webhookIdsShrink: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListAlertWebhooksShrinkRequest = ListAlertWebhooksShrinkRequest;
64
+ //# sourceMappingURL=ListAlertWebhooksShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAlertWebhooksShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ListAlertWebhooksShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,YAAY;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AA1CD,wEA0CC"}
@@ -0,0 +1,45 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateAlertWebhookRequest 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
+ * @example
27
+ * test
28
+ */
29
+ name?: string;
30
+ /**
31
+ * @example
32
+ * http://aliyun.com/test
33
+ */
34
+ url?: string;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
@@ -0,0 +1,71 @@
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.UpdateAlertWebhookRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateAlertWebhookRequest 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
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ contentType: 'string',
53
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
54
+ lang: 'string',
55
+ method: 'string',
56
+ name: 'string',
57
+ url: 'string',
58
+ };
59
+ }
60
+ validate() {
61
+ if (this.headers) {
62
+ $dara.Model.validateMap(this.headers);
63
+ }
64
+ super.validate();
65
+ }
66
+ constructor(map) {
67
+ super(map);
68
+ }
69
+ }
70
+ exports.UpdateAlertWebhookRequest = UpdateAlertWebhookRequest;
71
+ //# sourceMappingURL=UpdateAlertWebhookRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateAlertWebhookRequest.js","sourceRoot":"","sources":["../../src/models/UpdateAlertWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IA+BxD,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;SACX,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;SACd,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;AA/DD,8DA+DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { UpdateAlertWebhookResponseBody } from "./UpdateAlertWebhookResponseBody";
3
+ export declare class UpdateAlertWebhookResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: UpdateAlertWebhookResponseBody;
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
+ }