@alicloud/eventbridge20200401 4.1.2 → 4.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 +30 -0
  2. package/dist/client.js +88 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DiscoverEventSourceRequest.d.ts +15 -0
  5. package/dist/models/DiscoverEventSourceRequest.js +62 -0
  6. package/dist/models/DiscoverEventSourceRequest.js.map +1 -0
  7. package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.d.ts +78 -0
  8. package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.js +82 -0
  9. package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.js.map +1 -0
  10. package/dist/models/DiscoverEventSourceResponse.d.ts +19 -0
  11. package/dist/models/DiscoverEventSourceResponse.js +69 -0
  12. package/dist/models/DiscoverEventSourceResponse.js.map +1 -0
  13. package/dist/models/DiscoverEventSourceResponseBody.d.ts +35 -0
  14. package/dist/models/DiscoverEventSourceResponseBody.js +70 -0
  15. package/dist/models/DiscoverEventSourceResponseBody.js.map +1 -0
  16. package/dist/models/DiscoverEventSourceResponseBodyData.d.ts +15 -0
  17. package/dist/models/DiscoverEventSourceResponseBodyData.js +62 -0
  18. package/dist/models/DiscoverEventSourceResponseBodyData.js.map +1 -0
  19. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.d.ts +22 -0
  20. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js +74 -0
  21. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js.map +1 -0
  22. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.d.ts +20 -0
  23. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js +64 -0
  24. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js.map +1 -0
  25. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.d.ts +38 -0
  26. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js +66 -0
  27. package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js.map +1 -0
  28. package/dist/models/DiscoverEventSourceShrinkRequest.d.ts +14 -0
  29. package/dist/models/DiscoverEventSourceShrinkRequest.js +58 -0
  30. package/dist/models/DiscoverEventSourceShrinkRequest.js.map +1 -0
  31. package/dist/models/TestEventSourceConfigRequest.d.ts +15 -0
  32. package/dist/models/TestEventSourceConfigRequest.js +62 -0
  33. package/dist/models/TestEventSourceConfigRequest.js.map +1 -0
  34. package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.d.ts +71 -0
  35. package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.js +78 -0
  36. package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.js.map +1 -0
  37. package/dist/models/TestEventSourceConfigResponse.d.ts +19 -0
  38. package/dist/models/TestEventSourceConfigResponse.js +69 -0
  39. package/dist/models/TestEventSourceConfigResponse.js.map +1 -0
  40. package/dist/models/TestEventSourceConfigResponseBody.d.ts +35 -0
  41. package/dist/models/TestEventSourceConfigResponseBody.js +70 -0
  42. package/dist/models/TestEventSourceConfigResponseBody.js.map +1 -0
  43. package/dist/models/TestEventSourceConfigResponseBodyData.d.ts +28 -0
  44. package/dist/models/TestEventSourceConfigResponseBodyData.js +62 -0
  45. package/dist/models/TestEventSourceConfigResponseBodyData.js.map +1 -0
  46. package/dist/models/TestEventSourceConfigShrinkRequest.d.ts +14 -0
  47. package/dist/models/TestEventSourceConfigShrinkRequest.js +58 -0
  48. package/dist/models/TestEventSourceConfigShrinkRequest.js.map +1 -0
  49. package/dist/models/model.d.ts +15 -0
  50. package/dist/models/model.js +43 -12
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +96 -0
  54. package/src/models/DiscoverEventSourceRequest.ts +31 -0
  55. package/src/models/DiscoverEventSourceRequestSourceMySqlparameters.ts +115 -0
  56. package/src/models/DiscoverEventSourceResponse.ts +40 -0
  57. package/src/models/DiscoverEventSourceResponseBody.ts +59 -0
  58. package/src/models/DiscoverEventSourceResponseBodyData.ts +31 -0
  59. package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.ts +50 -0
  60. package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.ts +38 -0
  61. package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.ts +59 -0
  62. package/src/models/DiscoverEventSourceShrinkRequest.ts +27 -0
  63. package/src/models/TestEventSourceConfigRequest.ts +31 -0
  64. package/src/models/TestEventSourceConfigRequestSourceMySqlparameters.ts +104 -0
  65. package/src/models/TestEventSourceConfigResponse.ts +40 -0
  66. package/src/models/TestEventSourceConfigResponseBody.ts +59 -0
  67. package/src/models/TestEventSourceConfigResponseBodyData.ts +45 -0
  68. package/src/models/TestEventSourceConfigShrinkRequest.ts +27 -0
  69. package/src/models/model.ts +15 -0
@@ -0,0 +1,82 @@
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.DiscoverEventSourceRequestSourceMySQLParameters = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DiscoverEventSourceRequestSourceMySQLParameters extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ databaseName: 'DatabaseName',
43
+ hostName: 'HostName',
44
+ limit: 'Limit',
45
+ networkType: 'NetworkType',
46
+ offset: 'Offset',
47
+ password: 'Password',
48
+ port: 'Port',
49
+ regionId: 'RegionId',
50
+ securityGroupId: 'SecurityGroupId',
51
+ tableName: 'TableName',
52
+ user: 'User',
53
+ vSwitchIds: 'VSwitchIds',
54
+ vpcId: 'VpcId',
55
+ };
56
+ }
57
+ static types() {
58
+ return {
59
+ databaseName: 'string',
60
+ hostName: 'string',
61
+ limit: 'string',
62
+ networkType: 'string',
63
+ offset: 'string',
64
+ password: 'string',
65
+ port: 'number',
66
+ regionId: 'string',
67
+ securityGroupId: 'string',
68
+ tableName: 'string',
69
+ user: 'string',
70
+ vSwitchIds: 'string',
71
+ vpcId: 'string',
72
+ };
73
+ }
74
+ validate() {
75
+ super.validate();
76
+ }
77
+ constructor(map) {
78
+ super(map);
79
+ }
80
+ }
81
+ exports.DiscoverEventSourceRequestSourceMySQLParameters = DiscoverEventSourceRequestSourceMySQLParameters;
82
+ //# sourceMappingURL=DiscoverEventSourceRequestSourceMySqlparameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceRequestSourceMySqlparameters.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceRequestSourceMySqlparameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAkE9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,QAAQ;SAChB,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;AA7GD,0GA6GC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DiscoverEventSourceResponseBody } from "./DiscoverEventSourceResponseBody";
3
+ export declare class DiscoverEventSourceResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DiscoverEventSourceResponseBody;
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.DiscoverEventSourceResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DiscoverEventSourceResponseBody_1 = require("./DiscoverEventSourceResponseBody");
40
+ class DiscoverEventSourceResponse 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: DiscoverEventSourceResponseBody_1.DiscoverEventSourceResponseBody,
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.DiscoverEventSourceResponse = DiscoverEventSourceResponse;
69
+ //# sourceMappingURL=DiscoverEventSourceResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceResponse.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponse.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,35 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DiscoverEventSourceResponseBodyData } from "./DiscoverEventSourceResponseBodyData";
3
+ export declare class DiscoverEventSourceResponseBody extends $dara.Model {
4
+ /**
5
+ * @example
6
+ * Success
7
+ */
8
+ code?: string;
9
+ data?: DiscoverEventSourceResponseBodyData;
10
+ /**
11
+ * @example
12
+ * success
13
+ */
14
+ message?: string;
15
+ /**
16
+ * @example
17
+ * C7043799-F4DA-5290-9249-97C35987****
18
+ */
19
+ requestId?: string;
20
+ /**
21
+ * @example
22
+ * true
23
+ */
24
+ success?: boolean;
25
+ static names(): {
26
+ [key: string]: string;
27
+ };
28
+ static types(): {
29
+ [key: string]: any;
30
+ };
31
+ validate(): void;
32
+ constructor(map?: {
33
+ [key: string]: any;
34
+ });
35
+ }
@@ -0,0 +1,70 @@
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.DiscoverEventSourceResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DiscoverEventSourceResponseBodyData_1 = require("./DiscoverEventSourceResponseBodyData");
40
+ class DiscoverEventSourceResponseBody extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ code: 'Code',
44
+ data: 'Data',
45
+ message: 'Message',
46
+ requestId: 'RequestId',
47
+ success: 'Success',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ code: 'string',
53
+ data: DiscoverEventSourceResponseBodyData_1.DiscoverEventSourceResponseBodyData,
54
+ message: 'string',
55
+ requestId: 'string',
56
+ success: 'boolean',
57
+ };
58
+ }
59
+ validate() {
60
+ if (this.data && typeof this.data.validate === 'function') {
61
+ this.data.validate();
62
+ }
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DiscoverEventSourceResponseBody = DiscoverEventSourceResponseBody;
70
+ //# sourceMappingURL=DiscoverEventSourceResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceResponseBody.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAsB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,yEAAmC;YACzC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AApDD,0EAoDC"}
@@ -0,0 +1,15 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery } from "./DiscoverEventSourceResponseBodyDataSourceMySqldiscovery";
3
+ export declare class DiscoverEventSourceResponseBodyData extends $dara.Model {
4
+ sourceMySQLDiscovery?: DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery;
5
+ static names(): {
6
+ [key: string]: string;
7
+ };
8
+ static types(): {
9
+ [key: string]: any;
10
+ };
11
+ validate(): void;
12
+ constructor(map?: {
13
+ [key: string]: any;
14
+ });
15
+ }
@@ -0,0 +1,62 @@
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.DiscoverEventSourceResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DiscoverEventSourceResponseBodyDataSourceMySqldiscovery_1 = require("./DiscoverEventSourceResponseBodyDataSourceMySqldiscovery");
40
+ class DiscoverEventSourceResponseBodyData extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ sourceMySQLDiscovery: 'SourceMySQLDiscovery',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ sourceMySQLDiscovery: DiscoverEventSourceResponseBodyDataSourceMySqldiscovery_1.DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery,
49
+ };
50
+ }
51
+ validate() {
52
+ if (this.sourceMySQLDiscovery && typeof this.sourceMySQLDiscovery.validate === 'function') {
53
+ this.sourceMySQLDiscovery.validate();
54
+ }
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.DiscoverEventSourceResponseBodyData = DiscoverEventSourceResponseBodyData;
62
+ //# sourceMappingURL=DiscoverEventSourceResponseBodyData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceResponseBodyData.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponseBodyData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uIAAoI;AAGpI,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAElE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,iHAAuD;SAC9E,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,oBAAoB,IAAI,OAAQ,IAAI,CAAC,oBAA4B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjG,IAAI,CAAC,oBAA4B,CAAC,QAAQ,EAAE,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,kFAwBC"}
@@ -0,0 +1,22 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema } from "./DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema";
3
+ export declare class DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery extends $dara.Model {
4
+ databaseNames?: string[];
5
+ /**
6
+ * @example
7
+ * [{\\"is_active\\":\\"1\\",\\"name\\":\\"0c0c5d1a-e844-44a8-902d-4f62cbcb0479\\",\\"id\\":\\"21\\"},{\\"is_active\\":\\"1\\",\\"name\\":\\"18ef033e-70bb-4795-8222-6cfb54f38f26\\",\\"id\\":\\"22\\"}]
8
+ */
9
+ simpleData?: string;
10
+ tableNames?: string[];
11
+ tableSchema?: DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema;
12
+ static names(): {
13
+ [key: string]: string;
14
+ };
15
+ static types(): {
16
+ [key: string]: any;
17
+ };
18
+ validate(): void;
19
+ constructor(map?: {
20
+ [key: string]: any;
21
+ });
22
+ }
@@ -0,0 +1,74 @@
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.DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema_1 = require("./DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema");
40
+ class DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ databaseNames: 'DatabaseNames',
44
+ simpleData: 'SimpleData',
45
+ tableNames: 'TableNames',
46
+ tableSchema: 'TableSchema',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ databaseNames: { 'type': 'array', 'itemType': 'string' },
52
+ simpleData: 'string',
53
+ tableNames: { 'type': 'array', 'itemType': 'string' },
54
+ tableSchema: DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema_1.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema,
55
+ };
56
+ }
57
+ validate() {
58
+ if (Array.isArray(this.databaseNames)) {
59
+ $dara.Model.validateArray(this.databaseNames);
60
+ }
61
+ if (Array.isArray(this.tableNames)) {
62
+ $dara.Model.validateArray(this.tableNames);
63
+ }
64
+ if (this.tableSchema && typeof this.tableSchema.validate === 'function') {
65
+ this.tableSchema.validate();
66
+ }
67
+ super.validate();
68
+ }
69
+ constructor(map) {
70
+ super(map);
71
+ }
72
+ }
73
+ exports.DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery = DiscoverEventSourceResponseBodyDataSourceMySQLDiscovery;
74
+ //# sourceMappingURL=DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6JAA0J;AAG1J,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAStF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACxD,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,WAAW,EAAE,uIAAkE;SAChF,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,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,IAAG,IAAI,CAAC,WAAW,IAAI,OAAQ,IAAI,CAAC,WAAmB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/E,IAAI,CAAC,WAAmB,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3CD,0HA2CC"}
@@ -0,0 +1,20 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns } from "./DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns";
3
+ export declare class DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema extends $dara.Model {
4
+ columns?: DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns[];
5
+ /**
6
+ * @example
7
+ * map
8
+ */
9
+ tableName?: string;
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ validate(): void;
17
+ constructor(map?: {
18
+ [key: string]: any;
19
+ });
20
+ }
@@ -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.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns_1 = require("./DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns");
40
+ class DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ columns: 'Columns',
44
+ tableName: 'TableName',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ columns: { 'type': 'array', 'itemType': DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns_1.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns },
50
+ tableName: 'string',
51
+ };
52
+ }
53
+ validate() {
54
+ if (Array.isArray(this.columns)) {
55
+ $dara.Model.validateArray(this.columns);
56
+ }
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema = DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchema;
64
+ //# sourceMappingURL=DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2KAAwK;AAGxK,MAAa,kEAAmE,SAAQ,KAAK,CAAC,KAAK;IAOjG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qJAAyE,EAAE;YACnH,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,gJA+BC"}
@@ -0,0 +1,38 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * auto_increment
6
+ */
7
+ extra?: string;
8
+ /**
9
+ * @example
10
+ * id
11
+ */
12
+ field?: string;
13
+ /**
14
+ * @example
15
+ * NO
16
+ */
17
+ isNull?: string;
18
+ /**
19
+ * @example
20
+ * PRI
21
+ */
22
+ key?: string;
23
+ /**
24
+ * @example
25
+ * int
26
+ */
27
+ type?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }