@odatano/core 0.3.2 → 0.3.3

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 (52) hide show
  1. package/@cds-models/CardanoODataService/index.d.ts +1969 -0
  2. package/@cds-models/CardanoODataService/index.d.ts.map +1 -0
  3. package/@cds-models/CardanoODataService/index.js +329 -0
  4. package/@cds-models/CardanoODataService/index.js.map +1 -0
  5. package/@cds-models/CardanoODataService/index.ts +646 -0
  6. package/@cds-models/CardanoTransactionService/index.d.ts +1860 -0
  7. package/@cds-models/CardanoTransactionService/index.d.ts.map +1 -0
  8. package/@cds-models/CardanoTransactionService/index.js +328 -0
  9. package/@cds-models/CardanoTransactionService/index.js.map +1 -0
  10. package/@cds-models/CardanoTransactionService/index.ts +602 -0
  11. package/@cds-models/CardanoWatcherAdminService/index.js +113 -0
  12. package/@cds-models/CardanoWatcherAdminService/index.js.map +1 -0
  13. package/@cds-models/CardanoWatcherAdminService/index.ts +263 -0
  14. package/@cds-models/_/index.d.ts +66 -0
  15. package/@cds-models/_/index.d.ts.map +1 -0
  16. package/@cds-models/_/index.js +42 -0
  17. package/@cds-models/_/index.js.map +1 -0
  18. package/@cds-models/_/index.ts +96 -0
  19. package/@cds-models/cds/outbox/index.js +8 -0
  20. package/@cds-models/cds/outbox/index.js.map +1 -0
  21. package/@cds-models/cds/outbox/index.ts +27 -0
  22. package/@cds-models/cds/xt/MTXServices/index.js +8 -0
  23. package/@cds-models/cds/xt/MTXServices/index.js.map +1 -0
  24. package/@cds-models/cds/xt/MTXServices/index.ts +4 -0
  25. package/@cds-models/index.d.ts +168 -0
  26. package/@cds-models/index.d.ts.map +1 -0
  27. package/@cds-models/index.js +113 -0
  28. package/@cds-models/index.js.map +1 -0
  29. package/@cds-models/index.ts +84 -0
  30. package/@cds-models/odatano/cardano/index.d.ts +2882 -0
  31. package/@cds-models/odatano/cardano/index.d.ts.map +1 -0
  32. package/@cds-models/odatano/cardano/index.js +554 -0
  33. package/@cds-models/odatano/cardano/index.js.map +1 -0
  34. package/@cds-models/odatano/cardano/index.ts +802 -0
  35. package/@cds-models/odatano/reeve/index.js +83 -0
  36. package/@cds-models/odatano/reeve/index.js.map +1 -0
  37. package/@cds-models/odatano/reeve/index.ts +57 -0
  38. package/@cds-models/odatano/transactions/index.js +56 -0
  39. package/@cds-models/odatano/transactions/index.js.map +1 -0
  40. package/@cds-models/odatano/transactions/index.ts +18 -0
  41. package/@cds-models/odatano/watch/index.js +120 -0
  42. package/@cds-models/odatano/watch/index.js.map +1 -0
  43. package/@cds-models/odatano/watch/index.ts +110 -0
  44. package/@cds-models/sap/common/index.d.ts +678 -0
  45. package/@cds-models/sap/common/index.d.ts.map +1 -0
  46. package/@cds-models/sap/common/index.js +270 -0
  47. package/@cds-models/sap/common/index.js.map +1 -0
  48. package/@cds-models/sap/common/index.ts +249 -0
  49. package/package.json +1 -1
  50. package/src/plugin.d.ts.map +1 -1
  51. package/src/plugin.js +5 -0
  52. package/src/plugin.js.map +1 -1
@@ -0,0 +1,83 @@
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.ReevePayload = exports.ReeveMetadataHeader = exports.ReeveOrg = exports.ReevePayloadType = void 0;
37
+ exports._ReeveOrgAspect = _ReeveOrgAspect;
38
+ exports._ReeveMetadataHeaderAspect = _ReeveMetadataHeaderAspect;
39
+ exports._ReevePayloadAspect = _ReevePayloadAspect;
40
+ // This is an automatically generated file. Please do not change its contents manually!
41
+ const __ = __importStar(require("./../../_"));
42
+ // enum
43
+ exports.ReevePayloadType = {
44
+ INDIVIDUAL_TRANSACTIONS: "INDIVIDUAL_TRANSACTIONS",
45
+ REPORT: "REPORT",
46
+ };
47
+ function _ReeveOrgAspect(Base) {
48
+ var _a;
49
+ return _a = class ReeveOrg extends Base {
50
+ },
51
+ _a.kind = 'type',
52
+ _a;
53
+ }
54
+ class ReeveOrg extends _ReeveOrgAspect(__.Entity) {
55
+ }
56
+ exports.ReeveOrg = ReeveOrg;
57
+ Object.defineProperty(ReeveOrg, 'name', { value: 'odatano.reeve.ReeveOrg' });
58
+ Object.defineProperty(ReeveOrg, 'is_singular', { value: true });
59
+ function _ReeveMetadataHeaderAspect(Base) {
60
+ var _a;
61
+ return _a = class ReeveMetadataHeader extends Base {
62
+ },
63
+ _a.kind = 'type',
64
+ _a;
65
+ }
66
+ class ReeveMetadataHeader extends _ReeveMetadataHeaderAspect(__.Entity) {
67
+ }
68
+ exports.ReeveMetadataHeader = ReeveMetadataHeader;
69
+ Object.defineProperty(ReeveMetadataHeader, 'name', { value: 'odatano.reeve.ReeveMetadataHeader' });
70
+ Object.defineProperty(ReeveMetadataHeader, 'is_singular', { value: true });
71
+ function _ReevePayloadAspect(Base) {
72
+ var _a;
73
+ return _a = class ReevePayload extends Base {
74
+ },
75
+ _a.kind = 'type',
76
+ _a;
77
+ }
78
+ class ReevePayload extends _ReevePayloadAspect(__.Entity) {
79
+ }
80
+ exports.ReevePayload = ReevePayload;
81
+ Object.defineProperty(ReevePayload, 'name', { value: 'odatano.reeve.ReevePayload' });
82
+ Object.defineProperty(ReevePayload, 'is_singular', { value: true });
83
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,0CAYC;AAKD,gEAUC;AAKD,kDAWC;AArDD,uFAAuF;AACvF,8CAAgC;AAEhC,OAAO;AACM,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB,EAAE,yBAAyB;IAClD,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,SAAgB,eAAe,CAA+C,IAAW;;IACvF,YAAO,MAAM,QAAS,SAAQ,IAAI;SAUjC;QAJiB,OAAI,GAAiC,MAAO;WAI5D;AACJ,CAAC;AACD,MAAa,QAAS,SAAQ,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC;CAAG;AAA3D,4BAA2D;AAC3D,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,CAAC,CAAA;AAC5E,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;AAE/D,SAAgB,0BAA0B,CAA+C,IAAW;;IAClG,YAAO,MAAM,mBAAoB,SAAQ,IAAI;SAQ5C;QAJiB,OAAI,GAAiC,MAAO;WAI5D;AACJ,CAAC;AACD,MAAa,mBAAoB,SAAQ,0BAA0B,CAAC,EAAE,CAAC,MAAM,CAAC;CAAG;AAAjF,kDAAiF;AACjF,MAAM,CAAC,cAAc,CAAC,mBAAmB,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,mCAAmC,EAAE,CAAC,CAAA;AAClG,MAAM,CAAC,cAAc,CAAC,mBAAmB,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;AAE1E,SAAgB,mBAAmB,CAA+C,IAAW;;IAC3F,YAAO,MAAM,YAAa,SAAQ,IAAI;SASrC;QAJiB,OAAI,GAAiC,MAAO;WAI5D;AACJ,CAAC;AACD,MAAa,YAAa,SAAQ,mBAAmB,CAAC,EAAE,CAAC,MAAM,CAAC;CAAG;AAAnE,oCAAmE;AACnE,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,CAAC,CAAA;AACpF,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA"}
@@ -0,0 +1,57 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ import * as __ from './../../_';
3
+
4
+ // enum
5
+ export const ReevePayloadType = {
6
+ INDIVIDUAL_TRANSACTIONS: "INDIVIDUAL_TRANSACTIONS",
7
+ REPORT: "REPORT",
8
+ } as const;
9
+ export type ReevePayloadType = "INDIVIDUAL_TRANSACTIONS" | "REPORT"
10
+
11
+ export function _ReeveOrgAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
12
+ return class ReeveOrg extends Base {
13
+ declare id?: string | null
14
+ declare name?: string | null
15
+ declare currency_id?: string | null
16
+ declare country_code?: string | null
17
+ declare tax_id_number?: string | null
18
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
19
+ declare static readonly keys: __.KeysOf<ReeveOrg>;
20
+ declare static readonly elements: __.ElementsOf<ReeveOrg>;
21
+ declare static readonly actions: globalThis.Record<never, never>;
22
+ };
23
+ }
24
+ export class ReeveOrg extends _ReeveOrgAspect(__.Entity) {}
25
+ Object.defineProperty(ReeveOrg, 'name', { value: 'odatano.reeve.ReeveOrg' })
26
+ Object.defineProperty(ReeveOrg, 'is_singular', { value: true })
27
+
28
+ export function _ReeveMetadataHeaderAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
29
+ return class ReeveMetadataHeader extends Base {
30
+ declare creation_slot?: number | null
31
+ declare timestamp?: string | null
32
+ declare version?: string | null
33
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
34
+ declare static readonly keys: __.KeysOf<ReeveMetadataHeader>;
35
+ declare static readonly elements: __.ElementsOf<ReeveMetadataHeader>;
36
+ declare static readonly actions: globalThis.Record<never, never>;
37
+ };
38
+ }
39
+ export class ReeveMetadataHeader extends _ReeveMetadataHeaderAspect(__.Entity) {}
40
+ Object.defineProperty(ReeveMetadataHeader, 'name', { value: 'odatano.reeve.ReeveMetadataHeader' })
41
+ Object.defineProperty(ReeveMetadataHeader, 'is_singular', { value: true })
42
+
43
+ export function _ReevePayloadAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
44
+ return class ReevePayload extends Base {
45
+ declare org?: ReeveOrg | null
46
+ declare metadata?: ReeveMetadataHeader | null
47
+ declare type?: ReevePayloadType | null
48
+ declare dataJson?: string | null
49
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
50
+ declare static readonly keys: __.KeysOf<ReevePayload>;
51
+ declare static readonly elements: __.ElementsOf<ReevePayload>;
52
+ declare static readonly actions: globalThis.Record<never, never>;
53
+ };
54
+ }
55
+ export class ReevePayload extends _ReevePayloadAspect(__.Entity) {}
56
+ Object.defineProperty(ReevePayload, 'name', { value: 'odatano.reeve.ReevePayload' })
57
+ Object.defineProperty(ReevePayload, 'is_singular', { value: true })
@@ -0,0 +1,56 @@
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.tetst123_ = exports.tetst123 = void 0;
37
+ exports._tetst123Aspect = _tetst123Aspect;
38
+ // This is an automatically generated file. Please do not change its contents manually!
39
+ const __ = __importStar(require("./../../_"));
40
+ function _tetst123Aspect(Base) {
41
+ var _a;
42
+ return _a = class tetst123 extends Base {
43
+ },
44
+ _a.kind = 'entity',
45
+ _a;
46
+ }
47
+ class tetst123 extends _tetst123Aspect(__.Entity) {
48
+ }
49
+ exports.tetst123 = tetst123;
50
+ Object.defineProperty(tetst123, 'name', { value: 'odatano.transactions.tetst123' });
51
+ Object.defineProperty(tetst123, 'is_singular', { value: true });
52
+ class tetst123_ extends Array {
53
+ }
54
+ exports.tetst123_ = tetst123_;
55
+ Object.defineProperty(tetst123_, 'name', { value: 'odatano.transactions.tetst123' });
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0CASC;AAZD,uFAAuF;AACvF,8CAAgC;AAEhC,SAAgB,eAAe,CAA+C,IAAW;;IACvF,YAAO,MAAM,QAAS,SAAQ,IAAI;SAOjC;QAJiB,OAAI,GAAiC,QAAS;WAI9D;AACJ,CAAC;AACD,MAAa,QAAS,SAAQ,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC;CAAG;AAA3D,4BAA2D;AAC3D,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,+BAA+B,EAAE,CAAC,CAAA;AACnF,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;AAC/D,MAAa,SAAU,SAAQ,KAAe;CAAkB;AAAhE,8BAAgE;AAChE,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,+BAA+B,EAAE,CAAC,CAAA"}
@@ -0,0 +1,18 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ import * as __ from './../../_';
3
+
4
+ export function _tetst123Aspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
5
+ return class tetst123 extends Base {
6
+ declare id?: __.Key<number>
7
+ declare name?: string | null
8
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
9
+ declare static readonly keys: __.KeysOf<tetst123>;
10
+ declare static readonly elements: __.ElementsOf<tetst123>;
11
+ declare static readonly actions: globalThis.Record<never, never>;
12
+ };
13
+ }
14
+ export class tetst123 extends _tetst123Aspect(__.Entity) {}
15
+ Object.defineProperty(tetst123, 'name', { value: 'odatano.transactions.tetst123' })
16
+ Object.defineProperty(tetst123, 'is_singular', { value: true })
17
+ export class tetst123_ extends Array<tetst123> {$count?: number}
18
+ Object.defineProperty(tetst123_, 'name', { value: 'odatano.transactions.tetst123' })
@@ -0,0 +1,120 @@
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.WatcherConfig_ = exports.WatcherConfig = exports.BlockchainEvent_ = exports.BlockchainEvent = exports.TransactionSubmission_ = exports.TransactionSubmission = exports.WatchedAddress_ = exports.WatchedAddress = exports.WatcherActionResult = void 0;
37
+ exports._WatcherActionResultAspect = _WatcherActionResultAspect;
38
+ exports._WatchedAddressAspect = _WatchedAddressAspect;
39
+ exports._TransactionSubmissionAspect = _TransactionSubmissionAspect;
40
+ exports._BlockchainEventAspect = _BlockchainEventAspect;
41
+ exports._WatcherConfigAspect = _WatcherConfigAspect;
42
+ // This is an automatically generated file. Please do not change its contents manually!
43
+ const __ = __importStar(require("./../../_"));
44
+ function _WatcherActionResultAspect(Base) {
45
+ var _a;
46
+ return _a = class WatcherActionResult extends Base {
47
+ },
48
+ _a.kind = 'type',
49
+ _a;
50
+ }
51
+ class WatcherActionResult extends _WatcherActionResultAspect(__.Entity) {
52
+ }
53
+ exports.WatcherActionResult = WatcherActionResult;
54
+ Object.defineProperty(WatcherActionResult, 'name', { value: 'odatano.watch.WatcherActionResult' });
55
+ Object.defineProperty(WatcherActionResult, 'is_singular', { value: true });
56
+ function _WatchedAddressAspect(Base) {
57
+ var _a;
58
+ return _a = class WatchedAddress extends Base {
59
+ },
60
+ _a.kind = 'entity',
61
+ _a;
62
+ }
63
+ class WatchedAddress extends _WatchedAddressAspect(__.Entity) {
64
+ }
65
+ exports.WatchedAddress = WatchedAddress;
66
+ Object.defineProperty(WatchedAddress, 'name', { value: 'odatano.watch.WatchedAddress' });
67
+ Object.defineProperty(WatchedAddress, 'is_singular', { value: true });
68
+ class WatchedAddress_ extends Array {
69
+ }
70
+ exports.WatchedAddress_ = WatchedAddress_;
71
+ Object.defineProperty(WatchedAddress_, 'name', { value: 'odatano.watch.WatchedAddress' });
72
+ function _TransactionSubmissionAspect(Base) {
73
+ var _a;
74
+ return _a = class TransactionSubmission extends Base {
75
+ },
76
+ _a.kind = 'entity',
77
+ _a;
78
+ }
79
+ class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {
80
+ }
81
+ exports.TransactionSubmission = TransactionSubmission;
82
+ Object.defineProperty(TransactionSubmission, 'name', { value: 'odatano.watch.TransactionSubmission' });
83
+ Object.defineProperty(TransactionSubmission, 'is_singular', { value: true });
84
+ class TransactionSubmission_ extends Array {
85
+ }
86
+ exports.TransactionSubmission_ = TransactionSubmission_;
87
+ Object.defineProperty(TransactionSubmission_, 'name', { value: 'odatano.watch.TransactionSubmission' });
88
+ function _BlockchainEventAspect(Base) {
89
+ var _a;
90
+ return _a = class BlockchainEvent extends Base {
91
+ },
92
+ _a.kind = 'entity',
93
+ _a;
94
+ }
95
+ class BlockchainEvent extends _BlockchainEventAspect(__.Entity) {
96
+ }
97
+ exports.BlockchainEvent = BlockchainEvent;
98
+ Object.defineProperty(BlockchainEvent, 'name', { value: 'odatano.watch.BlockchainEvent' });
99
+ Object.defineProperty(BlockchainEvent, 'is_singular', { value: true });
100
+ class BlockchainEvent_ extends Array {
101
+ }
102
+ exports.BlockchainEvent_ = BlockchainEvent_;
103
+ Object.defineProperty(BlockchainEvent_, 'name', { value: 'odatano.watch.BlockchainEvent' });
104
+ function _WatcherConfigAspect(Base) {
105
+ var _a;
106
+ return _a = class WatcherConfig extends Base {
107
+ },
108
+ _a.kind = 'entity',
109
+ _a;
110
+ }
111
+ class WatcherConfig extends _WatcherConfigAspect(__.Entity) {
112
+ }
113
+ exports.WatcherConfig = WatcherConfig;
114
+ Object.defineProperty(WatcherConfig, 'name', { value: 'odatano.watch.WatcherConfig' });
115
+ Object.defineProperty(WatcherConfig, 'is_singular', { value: true });
116
+ class WatcherConfig_ extends Array {
117
+ }
118
+ exports.WatcherConfig_ = WatcherConfig_;
119
+ Object.defineProperty(WatcherConfig_, 'name', { value: 'odatano.watch.WatcherConfig' });
120
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,gEASC;AAKD,sDAcC;AAOD,oEAeC;AAOD,wDAuBC;AAOD,oDAWC;AAxGD,uFAAuF;AACvF,8CAAgC;AAKhC,SAAgB,0BAA0B,CAA+C,IAAW;;IAClG,YAAO,MAAM,mBAAoB,SAAQ,IAAI;SAO5C;QAJiB,OAAI,GAAiC,MAAO;WAI5D;AACJ,CAAC;AACD,MAAa,mBAAoB,SAAQ,0BAA0B,CAAC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MAAM,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,CAAC,CAAA"}
@@ -0,0 +1,110 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ import * as __ from './../../_';
3
+
4
+ export type Blake2b256 = string;
5
+ export type Bech32 = string;
6
+ export type Lovelace = number;
7
+ export function _WatcherActionResultAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
8
+ return class WatcherActionResult extends Base {
9
+ declare success?: boolean | null
10
+ declare message?: string | null
11
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
12
+ declare static readonly keys: __.KeysOf<WatcherActionResult>;
13
+ declare static readonly elements: __.ElementsOf<WatcherActionResult>;
14
+ declare static readonly actions: globalThis.Record<never, never>;
15
+ };
16
+ }
17
+ export class WatcherActionResult extends _WatcherActionResultAspect(__.Entity) {}
18
+ Object.defineProperty(WatcherActionResult, 'name', { value: 'odatano.watch.WatcherActionResult' })
19
+ Object.defineProperty(WatcherActionResult, 'is_singular', { value: true })
20
+
21
+ export function _WatchedAddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
22
+ return class WatchedAddress extends Base {
23
+ declare address?: __.Key<Bech32>
24
+ declare description?: string | null
25
+ declare active?: boolean | null
26
+ declare lastCheckedBlock?: number | null
27
+ declare network?: string | null
28
+ declare events?: __.Composition.of.many<BlockchainEvent_>
29
+ declare hasEvents?: boolean | null
30
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
31
+ declare static readonly keys: __.KeysOf<WatchedAddress>;
32
+ declare static readonly elements: __.ElementsOf<WatchedAddress>;
33
+ declare static readonly actions: globalThis.Record<never, never>;
34
+ };
35
+ }
36
+ export class WatchedAddress extends _WatchedAddressAspect(__.Entity) {}
37
+ Object.defineProperty(WatchedAddress, 'name', { value: 'odatano.watch.WatchedAddress' })
38
+ Object.defineProperty(WatchedAddress, 'is_singular', { value: true })
39
+ export class WatchedAddress_ extends Array<WatchedAddress> {$count?: number}
40
+ Object.defineProperty(WatchedAddress_, 'name', { value: 'odatano.watch.WatchedAddress' })
41
+
42
+ export function _TransactionSubmissionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
43
+ return class TransactionSubmission extends Base {
44
+ declare txHash?: __.Key<Blake2b256>
45
+ declare description?: string | null
46
+ declare active?: boolean | null
47
+ declare currentStatus?: string | null
48
+ declare confirmations?: number | null
49
+ declare network?: string | null
50
+ declare events?: __.Composition.of.many<BlockchainEvent_>
51
+ declare hasEvents?: boolean | null
52
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
53
+ declare static readonly keys: __.KeysOf<TransactionSubmission>;
54
+ declare static readonly elements: __.ElementsOf<TransactionSubmission>;
55
+ declare static readonly actions: globalThis.Record<never, never>;
56
+ };
57
+ }
58
+ export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {}
59
+ Object.defineProperty(TransactionSubmission, 'name', { value: 'odatano.watch.TransactionSubmission' })
60
+ Object.defineProperty(TransactionSubmission, 'is_singular', { value: true })
61
+ export class TransactionSubmission_ extends Array<TransactionSubmission> {$count?: number}
62
+ Object.defineProperty(TransactionSubmission_, 'name', { value: 'odatano.watch.TransactionSubmission' })
63
+
64
+ export function _BlockchainEventAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
65
+ return class BlockchainEvent extends Base {
66
+ declare id?: __.Key<string>
67
+ declare type?: string
68
+ declare description?: string | null
69
+ declare blockHeight?: number | null
70
+ declare blockHash?: Blake2b256 | null
71
+ declare txHash?: Blake2b256 | null
72
+ declare address?: __.Association.to<WatchedAddress> | null
73
+ declare address_address?: Bech32 | null
74
+ declare submission?: __.Association.to<TransactionSubmission> | null
75
+ declare submission_txHash?: Blake2b256 | null
76
+ declare payload?: string | null
77
+ declare processed?: boolean | null
78
+ declare processedAt?: __.CdsTimestamp | null
79
+ declare error?: string | null
80
+ declare network?: string | null
81
+ declare createdAt?: __.CdsTimestamp | null
82
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
83
+ declare static readonly keys: __.KeysOf<BlockchainEvent>;
84
+ declare static readonly elements: __.ElementsOf<BlockchainEvent>;
85
+ declare static readonly actions: globalThis.Record<never, never>;
86
+ };
87
+ }
88
+ export class BlockchainEvent extends _BlockchainEventAspect(__.Entity) {}
89
+ Object.defineProperty(BlockchainEvent, 'name', { value: 'odatano.watch.BlockchainEvent' })
90
+ Object.defineProperty(BlockchainEvent, 'is_singular', { value: true })
91
+ export class BlockchainEvent_ extends Array<BlockchainEvent> {$count?: number}
92
+ Object.defineProperty(BlockchainEvent_, 'name', { value: 'odatano.watch.BlockchainEvent' })
93
+
94
+ export function _WatcherConfigAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
95
+ return class WatcherConfig extends Base {
96
+ declare configKey?: __.Key<string>
97
+ declare value?: string | null
98
+ declare description?: string | null
99
+ declare updatedAt?: __.CdsTimestamp | null
100
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
101
+ declare static readonly keys: __.KeysOf<WatcherConfig>;
102
+ declare static readonly elements: __.ElementsOf<WatcherConfig>;
103
+ declare static readonly actions: globalThis.Record<never, never>;
104
+ };
105
+ }
106
+ export class WatcherConfig extends _WatcherConfigAspect(__.Entity) {}
107
+ Object.defineProperty(WatcherConfig, 'name', { value: 'odatano.watch.WatcherConfig' })
108
+ Object.defineProperty(WatcherConfig, 'is_singular', { value: true })
109
+ export class WatcherConfig_ extends Array<WatcherConfig> {$count?: number}
110
+ Object.defineProperty(WatcherConfig_, 'name', { value: 'odatano.watch.WatcherConfig' })