@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,646 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ import * as _odatano_cardano from './../odatano/cardano';
3
+ import * as __ from './../_';
4
+
5
+ export default class {
6
+ declare static readonly GetNetworkInformation: typeof GetNetworkInformation;
7
+ declare static readonly GetBlockByHash: typeof GetBlockByHash;
8
+ declare static readonly GetEpochByNumber: typeof GetEpochByNumber;
9
+ declare static readonly GetPoolById: typeof GetPoolById;
10
+ declare static readonly GetDrepById: typeof GetDrepById;
11
+ declare static readonly GetAccountByStakeAddress: typeof GetAccountByStakeAddress;
12
+ declare static readonly GetTransactionByHash: typeof GetTransactionByHash;
13
+ declare static readonly GetMetadataByTxHash: typeof GetMetadataByTxHash;
14
+ declare static readonly GetAddressByBech32: typeof GetAddressByBech32;
15
+ declare static readonly GetUTxOsByAddress: typeof GetUTxOsByAddress;
16
+ declare static readonly GetAssetsByAddress: typeof GetAssetsByAddress;
17
+ declare static readonly GetLatestTransactionsByAddress: typeof GetLatestTransactionsByAddress;
18
+ declare static readonly GetLatestBlock: typeof GetLatestBlock;
19
+ declare static readonly GetLatestEpoch: typeof GetLatestEpoch;
20
+ declare static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
21
+ }
22
+
23
+ export function _NetworkInformationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
24
+ return class NetworkInformation extends Base {
25
+ declare validFrom?: __.CdsTimestamp | null
26
+ declare validTo?: __.CdsTimestamp | null
27
+ declare network?: __.Key<string>
28
+ declare maxSupply?: _odatano_cardano.Lovelace | null
29
+ declare totalSupply?: _odatano_cardano.Lovelace | null
30
+ declare circulatingSupply?: _odatano_cardano.Lovelace | null
31
+ declare lockedSupply?: _odatano_cardano.Lovelace | null
32
+ declare treasurySupply?: _odatano_cardano.Lovelace | null
33
+ declare reservesSupply?: _odatano_cardano.Lovelace | null
34
+ declare liveStake?: _odatano_cardano.Lovelace | null
35
+ declare activeStake?: _odatano_cardano.Lovelace | null
36
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
37
+ declare static readonly keys: __.KeysOf<NetworkInformation>;
38
+ declare static readonly elements: __.ElementsOf<NetworkInformation>;
39
+ declare static readonly actions: globalThis.Record<never, never>;
40
+ };
41
+ }
42
+ export class NetworkInformation extends _NetworkInformationAspect(__.Entity) {}
43
+ Object.defineProperty(NetworkInformation, 'name', { value: 'CardanoODataService.NetworkInformation' })
44
+ Object.defineProperty(NetworkInformation, 'is_singular', { value: true })
45
+ export class NetworkInformation_ extends Array<NetworkInformation> {$count?: number}
46
+ Object.defineProperty(NetworkInformation_, 'name', { value: 'CardanoODataService.NetworkInformation' })
47
+
48
+ export function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
49
+ return class Block extends Base {
50
+ declare hash?: __.Key<string>
51
+ declare time?: string | null
52
+ declare height?: number | null
53
+ declare slotLeader?: string | null
54
+ declare epochNumber?: number | null
55
+ declare epoch?: __.Association.to<Epoch> | null
56
+ declare epochSlot?: number | null
57
+ declare size?: number | null
58
+ declare txCount?: number | null
59
+ declare fees?: _odatano_cardano.Lovelace | null
60
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
61
+ declare static readonly keys: __.KeysOf<Block>;
62
+ declare static readonly elements: __.ElementsOf<Block>;
63
+ declare static readonly actions: globalThis.Record<never, never>;
64
+ };
65
+ }
66
+ export class Block extends _BlockAspect(__.Entity) {}
67
+ Object.defineProperty(Block, 'name', { value: 'CardanoODataService.Blocks' })
68
+ Object.defineProperty(Block, 'is_singular', { value: true })
69
+ export class Blocks extends Array<Block> {$count?: number}
70
+ Object.defineProperty(Blocks, 'name', { value: 'CardanoODataService.Blocks' })
71
+
72
+ export function _EpochAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
73
+ return class Epoch extends Base {
74
+ declare epoch?: __.Key<number>
75
+ declare startTime?: number | null
76
+ declare endTime?: number | null
77
+ declare firstBlockTime?: number | null
78
+ declare lastBlockTime?: number | null
79
+ declare blockCount?: number | null
80
+ declare txCount?: number | null
81
+ declare output?: string | null
82
+ declare fees?: _odatano_cardano.Lovelace | null
83
+ declare activeStake?: _odatano_cardano.Lovelace | null
84
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
85
+ declare static readonly keys: __.KeysOf<Epoch>;
86
+ declare static readonly elements: __.ElementsOf<Epoch>;
87
+ declare static readonly actions: globalThis.Record<never, never>;
88
+ };
89
+ }
90
+ export class Epoch extends _EpochAspect(__.Entity) {}
91
+ Object.defineProperty(Epoch, 'name', { value: 'CardanoODataService.Epochs' })
92
+ Object.defineProperty(Epoch, 'is_singular', { value: true })
93
+ export class Epochs extends Array<Epoch> {$count?: number}
94
+ Object.defineProperty(Epochs, 'name', { value: 'CardanoODataService.Epochs' })
95
+
96
+ export function _PoolAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
97
+ return class Pool extends Base {
98
+ declare poolId?: __.Key<string>
99
+ declare vrfKeyHash?: string | null
100
+ declare blocksMinted?: number | null
101
+ declare blocksEpoch?: number | null
102
+ declare liveStake?: _odatano_cardano.Lovelace | null
103
+ declare liveSize?: number | null
104
+ declare liveSaturation?: number | null
105
+ declare liveDelegators?: number | null
106
+ declare activeStake?: _odatano_cardano.Lovelace | null
107
+ declare activeSize?: number | null
108
+ declare pledge?: _odatano_cardano.Lovelace | null
109
+ declare margin?: number | null
110
+ declare fixedCost?: _odatano_cardano.Lovelace | null
111
+ declare rewardAccount?: string | null
112
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
113
+ declare static readonly keys: __.KeysOf<Pool>;
114
+ declare static readonly elements: __.ElementsOf<Pool>;
115
+ declare static readonly actions: globalThis.Record<never, never>;
116
+ };
117
+ }
118
+ export class Pool extends _PoolAspect(__.Entity) {}
119
+ Object.defineProperty(Pool, 'name', { value: 'CardanoODataService.Pools' })
120
+ Object.defineProperty(Pool, 'is_singular', { value: true })
121
+ export class Pools extends Array<Pool> {$count?: number}
122
+ Object.defineProperty(Pools, 'name', { value: 'CardanoODataService.Pools' })
123
+
124
+ export function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
125
+ return class Drep extends Base {
126
+ declare drepId?: __.Key<string>
127
+ declare hex?: string | null
128
+ declare amount?: _odatano_cardano.Lovelace | null
129
+ declare hasScript?: boolean | null
130
+ declare lastActiveEpoch?: number | null
131
+ declare retired?: boolean | null
132
+ declare expired?: boolean | null
133
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
134
+ declare static readonly keys: __.KeysOf<Drep>;
135
+ declare static readonly elements: __.ElementsOf<Drep>;
136
+ declare static readonly actions: globalThis.Record<never, never>;
137
+ };
138
+ }
139
+ export class Drep extends _DrepAspect(__.Entity) {}
140
+ Object.defineProperty(Drep, 'name', { value: 'CardanoODataService.Dreps' })
141
+ Object.defineProperty(Drep, 'is_singular', { value: true })
142
+ export class Dreps extends Array<Drep> {$count?: number}
143
+ Object.defineProperty(Dreps, 'name', { value: 'CardanoODataService.Dreps' })
144
+
145
+ export function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
146
+ return class Transaction extends Base {
147
+ declare hash?: __.Key<_odatano_cardano.Blake2b256>
148
+ declare blockHash?: _odatano_cardano.Blake2b256 | null
149
+ declare blockHeight?: number | null
150
+ declare blockTime?: number | null
151
+ declare slot?: number | null
152
+ declare txIndex?: number | null
153
+ declare fee?: _odatano_cardano.Lovelace | null
154
+ declare deposit?: _odatano_cardano.Lovelace | null
155
+ declare size?: number | null
156
+ declare metadata?: __.Composition.of.many<TransactionMetadata_>
157
+ declare inputs?: __.Composition.of.many<TransactionInputs>
158
+ declare outputs?: __.Composition.of.many<TransactionOutputs>
159
+ declare hasMetadata?: boolean | null
160
+ declare hasInputs?: boolean | null
161
+ declare hasOutputs?: boolean | null
162
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
163
+ declare static readonly keys: __.KeysOf<Transaction>;
164
+ declare static readonly elements: __.ElementsOf<Transaction>;
165
+ declare static readonly actions: globalThis.Record<never, never>;
166
+ };
167
+ }
168
+ export class Transaction extends _TransactionAspect(__.Entity) {}
169
+ Object.defineProperty(Transaction, 'name', { value: 'CardanoODataService.Transactions' })
170
+ Object.defineProperty(Transaction, 'is_singular', { value: true })
171
+ export class Transactions extends Array<Transaction> {$count?: number}
172
+ Object.defineProperty(Transactions, 'name', { value: 'CardanoODataService.Transactions' })
173
+
174
+ export function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
175
+ return class TransactionInput extends Base {
176
+ declare tx?: __.Key<__.Association.to<Transaction>>
177
+ declare tx_hash?: __.Key<_odatano_cardano.Blake2b256>
178
+ declare inputIndex?: __.Key<number>
179
+ declare address?: __.Association.to<Address> | null
180
+ declare address_address?: _odatano_cardano.Bech32 | null
181
+ declare utxoData_dataHash?: _odatano_cardano.Blake2b256 | null
182
+ declare utxoData_inlineDatum?: string | null
183
+ declare utxoData_referenceScriptHash?: _odatano_cardano.Blake2b256 | null
184
+ declare isCollateral?: boolean | null
185
+ declare isReference?: boolean | null
186
+ declare assets?: __.Composition.of.many<TransactionInputAssets>
187
+ declare hasAddresses?: boolean | null
188
+ declare hasAssets?: boolean | null
189
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
190
+ declare static readonly keys: __.KeysOf<TransactionInput>;
191
+ declare static readonly elements: __.ElementsOf<TransactionInput>;
192
+ declare static readonly actions: globalThis.Record<never, never>;
193
+ };
194
+ }
195
+ export class TransactionInput extends _TransactionInputAspect(__.Entity) {}
196
+ Object.defineProperty(TransactionInput, 'name', { value: 'CardanoODataService.TransactionInputs' })
197
+ Object.defineProperty(TransactionInput, 'is_singular', { value: true })
198
+ export class TransactionInputs extends Array<TransactionInput> {$count?: number}
199
+ Object.defineProperty(TransactionInputs, 'name', { value: 'CardanoODataService.TransactionInputs' })
200
+
201
+ export function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
202
+ return class TransactionOutput extends Base {
203
+ declare tx?: __.Key<__.Association.to<Transaction>>
204
+ declare tx_hash?: __.Key<_odatano_cardano.Blake2b256>
205
+ declare outputIndex?: __.Key<number>
206
+ declare address?: __.Association.to<Address> | null
207
+ declare address_address?: _odatano_cardano.Bech32 | null
208
+ declare utxo_dataHash?: _odatano_cardano.Blake2b256 | null
209
+ declare utxo_inlineDatum?: string | null
210
+ declare utxo_referenceScriptHash?: _odatano_cardano.Blake2b256 | null
211
+ declare assets?: __.Composition.of.many<TransactionOutputAssets>
212
+ declare hasAddresses?: boolean | null
213
+ declare hasAssets?: boolean | null
214
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
215
+ declare static readonly keys: __.KeysOf<TransactionOutput>;
216
+ declare static readonly elements: __.ElementsOf<TransactionOutput>;
217
+ declare static readonly actions: globalThis.Record<never, never>;
218
+ };
219
+ }
220
+ export class TransactionOutput extends _TransactionOutputAspect(__.Entity) {}
221
+ Object.defineProperty(TransactionOutput, 'name', { value: 'CardanoODataService.TransactionOutputs' })
222
+ Object.defineProperty(TransactionOutput, 'is_singular', { value: true })
223
+ export class TransactionOutputs extends Array<TransactionOutput> {$count?: number}
224
+ Object.defineProperty(TransactionOutputs, 'name', { value: 'CardanoODataService.TransactionOutputs' })
225
+
226
+ export function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
227
+ return class TransactionInputAsset extends Base {
228
+ declare input?: __.Key<__.Association.to<TransactionInput>>
229
+ declare input_inputIndex?: __.Key<number>
230
+ declare input_tx_hash?: __.Key<_odatano_cardano.Blake2b256>
231
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
232
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
233
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
234
+ declare asset_assetNameHex?: string | null
235
+ declare asset_assetName?: string | null
236
+ declare asset_fingerprint?: string | null
237
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
238
+ declare static readonly keys: __.KeysOf<TransactionInputAsset>;
239
+ declare static readonly elements: __.ElementsOf<TransactionInputAsset>;
240
+ declare static readonly actions: globalThis.Record<never, never>;
241
+ };
242
+ }
243
+ export class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {}
244
+ Object.defineProperty(TransactionInputAsset, 'name', { value: 'CardanoODataService.TransactionInputAssets' })
245
+ Object.defineProperty(TransactionInputAsset, 'is_singular', { value: true })
246
+ export class TransactionInputAssets extends Array<TransactionInputAsset> {$count?: number}
247
+ Object.defineProperty(TransactionInputAssets, 'name', { value: 'CardanoODataService.TransactionInputAssets' })
248
+
249
+ export function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
250
+ return class TransactionOutputAsset extends Base {
251
+ declare output?: __.Key<__.Association.to<TransactionOutput>>
252
+ declare output_outputIndex?: __.Key<number>
253
+ declare output_tx_hash?: __.Key<_odatano_cardano.Blake2b256>
254
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
255
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
256
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
257
+ declare asset_assetNameHex?: string | null
258
+ declare asset_assetName?: string | null
259
+ declare asset_fingerprint?: string | null
260
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
261
+ declare static readonly keys: __.KeysOf<TransactionOutputAsset>;
262
+ declare static readonly elements: __.ElementsOf<TransactionOutputAsset>;
263
+ declare static readonly actions: globalThis.Record<never, never>;
264
+ };
265
+ }
266
+ export class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {}
267
+ Object.defineProperty(TransactionOutputAsset, 'name', { value: 'CardanoODataService.TransactionOutputAssets' })
268
+ Object.defineProperty(TransactionOutputAsset, 'is_singular', { value: true })
269
+ export class TransactionOutputAssets extends Array<TransactionOutputAsset> {$count?: number}
270
+ Object.defineProperty(TransactionOutputAssets, 'name', { value: 'CardanoODataService.TransactionOutputAssets' })
271
+
272
+ export function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
273
+ return class Account extends Base {
274
+ declare validFrom?: __.CdsTimestamp | null
275
+ declare validTo?: __.CdsTimestamp | null
276
+ declare stakeAddress?: __.Key<string>
277
+ declare active?: boolean | null
278
+ declare activeEpoch?: number | null
279
+ declare controlledAmount?: _odatano_cardano.Lovelace | null
280
+ declare rewardsSum?: _odatano_cardano.Lovelace | null
281
+ declare withdrawalsSum?: _odatano_cardano.Lovelace | null
282
+ declare reservesSum?: _odatano_cardano.Lovelace | null
283
+ declare treasurySum?: _odatano_cardano.Lovelace | null
284
+ declare withdrawableAmount?: _odatano_cardano.Lovelace | null
285
+ declare poolId?: __.Association.to<Pool> | null
286
+ declare poolId_poolId?: string | null
287
+ declare drepId?: __.Association.to<Drep> | null
288
+ declare drepId_drepId?: string | null
289
+ declare Address?: __.Composition.of.many<Addresses>
290
+ declare hasAddresses?: boolean | null
291
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
292
+ declare static readonly keys: __.KeysOf<Account>;
293
+ declare static readonly elements: __.ElementsOf<Account>;
294
+ declare static readonly actions: globalThis.Record<never, never>;
295
+ };
296
+ }
297
+ export class Account extends _AccountAspect(__.Entity) {}
298
+ Object.defineProperty(Account, 'name', { value: 'CardanoODataService.Accounts' })
299
+ Object.defineProperty(Account, 'is_singular', { value: true })
300
+ export class Accounts extends Array<Account> {$count?: number}
301
+ Object.defineProperty(Accounts, 'name', { value: 'CardanoODataService.Accounts' })
302
+
303
+ export function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
304
+ return class Address extends Base {
305
+ declare validFrom?: __.CdsTimestamp | null
306
+ declare validTo?: __.CdsTimestamp | null
307
+ declare address?: __.Key<_odatano_cardano.Bech32>
308
+ declare stakeAddress?: _odatano_cardano.Bech32 | null
309
+ declare type?: string | null
310
+ declare isScript?: boolean | null
311
+ declare totalLovelace?: _odatano_cardano.Lovelace | null
312
+ declare transactions?: __.Composition.of.many<AddressTransactions>
313
+ declare assets?: __.Composition.of.many<AddressAssets>
314
+ declare utxos?: __.Composition.of.many<AddressUTxOs>
315
+ declare hasTransactions?: boolean | null
316
+ declare hasAssets?: boolean | null
317
+ declare hasUTxOs?: boolean | null
318
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
319
+ declare static readonly keys: __.KeysOf<Address>;
320
+ declare static readonly elements: __.ElementsOf<Address>;
321
+ declare static readonly actions: globalThis.Record<never, never>;
322
+ };
323
+ }
324
+ export class Address extends _AddressAspect(__.Entity) {}
325
+ Object.defineProperty(Address, 'name', { value: 'CardanoODataService.Addresses' })
326
+ Object.defineProperty(Address, 'is_singular', { value: true })
327
+ export class Addresses extends Array<Address> {$count?: number}
328
+ Object.defineProperty(Addresses, 'name', { value: 'CardanoODataService.Addresses' })
329
+
330
+ export function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
331
+ return class AddressAsset extends Base {
332
+ declare validFrom?: __.CdsTimestamp | null
333
+ declare validTo?: __.CdsTimestamp | null
334
+ declare address?: __.Key<__.Association.to<Address>>
335
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
336
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
337
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
338
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
339
+ declare asset_assetNameHex?: string | null
340
+ declare asset_assetName?: string | null
341
+ declare asset_fingerprint?: string | null
342
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
343
+ declare static readonly keys: __.KeysOf<AddressAsset>;
344
+ declare static readonly elements: __.ElementsOf<AddressAsset>;
345
+ declare static readonly actions: globalThis.Record<never, never>;
346
+ };
347
+ }
348
+ export class AddressAsset extends _AddressAssetAspect(__.Entity) {}
349
+ Object.defineProperty(AddressAsset, 'name', { value: 'CardanoODataService.AddressAssets' })
350
+ Object.defineProperty(AddressAsset, 'is_singular', { value: true })
351
+ export class AddressAssets extends Array<AddressAsset> {$count?: number}
352
+ Object.defineProperty(AddressAssets, 'name', { value: 'CardanoODataService.AddressAssets' })
353
+
354
+ export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
355
+ return class AddressUTxO extends Base {
356
+ declare validFrom?: __.CdsTimestamp | null
357
+ declare validTo?: __.CdsTimestamp | null
358
+ declare address?: __.Key<__.Association.to<Address>>
359
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
360
+ declare hash?: __.Key<_odatano_cardano.Blake2b256>
361
+ declare index?: __.Key<number>
362
+ declare blockHash?: _odatano_cardano.Blake2b256 | null
363
+ declare utxodata_dataHash?: _odatano_cardano.Blake2b256 | null
364
+ declare utxodata_inlineDatum?: string | null
365
+ declare utxodata_referenceScriptHash?: _odatano_cardano.Blake2b256 | null
366
+ declare lovelace?: _odatano_cardano.Lovelace | null
367
+ declare assets?: __.Composition.of.many<UTxOAssets>
368
+ declare hasAssets?: boolean | null
369
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
370
+ declare static readonly keys: __.KeysOf<AddressUTxO>;
371
+ declare static readonly elements: __.ElementsOf<AddressUTxO>;
372
+ declare static readonly actions: globalThis.Record<never, never>;
373
+ };
374
+ }
375
+ export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {}
376
+ Object.defineProperty(AddressUTxO, 'name', { value: 'CardanoODataService.AddressUTxOs' })
377
+ Object.defineProperty(AddressUTxO, 'is_singular', { value: true })
378
+ export class AddressUTxOs extends Array<AddressUTxO> {$count?: number}
379
+ Object.defineProperty(AddressUTxOs, 'name', { value: 'CardanoODataService.AddressUTxOs' })
380
+
381
+ export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
382
+ return class AddressTransaction extends Base {
383
+ declare address?: __.Key<__.Association.to<Address>>
384
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
385
+ declare tx?: __.Key<__.Association.to<Transaction>>
386
+ declare tx_hash?: __.Key<_odatano_cardano.Blake2b256>
387
+ declare netAmount?: number | null
388
+ declare blockTime?: number | null
389
+ declare netAssets?: string | null
390
+ declare hasAssets?: boolean | null
391
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
392
+ declare static readonly keys: __.KeysOf<AddressTransaction>;
393
+ declare static readonly elements: __.ElementsOf<AddressTransaction>;
394
+ declare static readonly actions: globalThis.Record<never, never>;
395
+ };
396
+ }
397
+ export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {}
398
+ Object.defineProperty(AddressTransaction, 'name', { value: 'CardanoODataService.AddressTransactions' })
399
+ Object.defineProperty(AddressTransaction, 'is_singular', { value: true })
400
+ export class AddressTransactions extends Array<AddressTransaction> {$count?: number}
401
+ Object.defineProperty(AddressTransactions, 'name', { value: 'CardanoODataService.AddressTransactions' })
402
+
403
+ export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
404
+ return class UTxOAsset extends Base {
405
+ declare validFrom?: __.CdsTimestamp | null
406
+ declare validTo?: __.CdsTimestamp | null
407
+ declare utxo?: __.Key<__.Association.to<AddressUTxO>>
408
+ declare utxo_hash?: __.Key<_odatano_cardano.Blake2b256>
409
+ declare utxo_index?: __.Key<number>
410
+ declare utxo_address_address?: __.Key<_odatano_cardano.Bech32>
411
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
412
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
413
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
414
+ declare asset_assetNameHex?: string | null
415
+ declare asset_assetName?: string | null
416
+ declare asset_fingerprint?: string | null
417
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
418
+ declare static readonly keys: __.KeysOf<UTxOAsset>;
419
+ declare static readonly elements: __.ElementsOf<UTxOAsset>;
420
+ declare static readonly actions: globalThis.Record<never, never>;
421
+ };
422
+ }
423
+ export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {}
424
+ Object.defineProperty(UTxOAsset, 'name', { value: 'CardanoODataService.UTxOAssets' })
425
+ Object.defineProperty(UTxOAsset, 'is_singular', { value: true })
426
+ export class UTxOAssets extends Array<UTxOAsset> {$count?: number}
427
+ Object.defineProperty(UTxOAssets, 'name', { value: 'CardanoODataService.UTxOAssets' })
428
+
429
+ export function _TransactionMetadataAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
430
+ return class TransactionMetadata extends Base {
431
+ declare id?: __.Key<number>
432
+ declare tx?: __.Key<__.Association.to<Transaction>>
433
+ declare tx_hash?: __.Key<_odatano_cardano.Blake2b256>
434
+ declare label?: string | null
435
+ declare payload?: string | null
436
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
437
+ declare static readonly keys: __.KeysOf<TransactionMetadata>;
438
+ declare static readonly elements: __.ElementsOf<TransactionMetadata>;
439
+ declare static readonly actions: globalThis.Record<never, never>;
440
+ };
441
+ }
442
+ export class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {}
443
+ Object.defineProperty(TransactionMetadata, 'name', { value: 'CardanoODataService.TransactionMetadata' })
444
+ Object.defineProperty(TransactionMetadata, 'is_singular', { value: true })
445
+ export class TransactionMetadata_ extends Array<TransactionMetadata> {$count?: number}
446
+ Object.defineProperty(TransactionMetadata_, 'name', { value: 'CardanoODataService.TransactionMetadata' })
447
+
448
+ export function _LedgerProtocolParameterAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
449
+ return class LedgerProtocolParameter extends Base {
450
+ declare network?: __.Key<string>
451
+ declare epoch?: __.Key<number>
452
+ declare minFeeA?: number | null
453
+ declare minFeeB?: number | null
454
+ declare maxBlockSize?: number | null
455
+ declare maxTxSize?: number | null
456
+ declare maxBlockHeaderSize?: number | null
457
+ declare keyDeposit?: string | null
458
+ declare poolDeposit?: string | null
459
+ declare eMax?: number | null
460
+ declare nOpt?: number | null
461
+ declare a0?: number | null
462
+ declare rho?: number | null
463
+ declare tau?: number | null
464
+ declare minPoolCost?: string | null
465
+ declare decentralisationParam?: number | null
466
+ declare extraEntropy?: string | null
467
+ declare protocolMajorVer?: number | null
468
+ declare protocolMinorVer?: number | null
469
+ declare minUtxo?: string | null
470
+ declare nonce?: string | null
471
+ declare costModels?: string | null
472
+ declare priceMem?: number | null
473
+ declare priceStep?: number | null
474
+ declare maxTxExMem?: string | null
475
+ declare maxTxExSteps?: string | null
476
+ declare maxBlockExMem?: string | null
477
+ declare maxBlockExSteps?: string | null
478
+ declare maxValSize?: string | null
479
+ declare collateralPercent?: number | null
480
+ declare maxCollateralInputs?: number | null
481
+ declare coinsPerUtxoSize?: string | null
482
+ declare coinsPerUtxoWord?: string | null
483
+ declare fetchedAt?: __.CdsTimestamp | null
484
+ declare source?: string | null
485
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
486
+ declare static readonly keys: __.KeysOf<LedgerProtocolParameter>;
487
+ declare static readonly elements: __.ElementsOf<LedgerProtocolParameter>;
488
+ declare static readonly actions: globalThis.Record<never, never>;
489
+ };
490
+ }
491
+ export class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {}
492
+ Object.defineProperty(LedgerProtocolParameter, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' })
493
+ Object.defineProperty(LedgerProtocolParameter, 'is_singular', { value: true })
494
+ export class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {$count?: number}
495
+ Object.defineProperty(LedgerProtocolParameters, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' })
496
+
497
+
498
+ export declare const GetNetworkInformation: {
499
+ // positional
500
+ (): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
501
+ // named
502
+ ({}: globalThis.Record<never, never>): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
503
+ // metadata (do not use)
504
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<NetworkInformation | null> | NetworkInformation | null, __self: never
505
+ kind: 'action'
506
+ }
507
+
508
+ export declare const GetBlockByHash: {
509
+ // positional
510
+ (hash: _odatano_cardano.Blake2b256 | null): globalThis.Promise<Block | null> | Block | null
511
+ // named
512
+ ({hash}: {hash?: _odatano_cardano.Blake2b256 | null}): globalThis.Promise<Block | null> | Block | null
513
+ // metadata (do not use)
514
+ __parameters: {hash?: _odatano_cardano.Blake2b256 | null}, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
515
+ kind: 'action'
516
+ }
517
+
518
+ export declare const GetEpochByNumber: {
519
+ // positional
520
+ (epochNumber: number | null): globalThis.Promise<Epoch | null> | Epoch | null
521
+ // named
522
+ ({epochNumber}: {epochNumber?: number | null}): globalThis.Promise<Epoch | null> | Epoch | null
523
+ // metadata (do not use)
524
+ __parameters: {epochNumber?: number | null}, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
525
+ kind: 'action'
526
+ }
527
+
528
+ export declare const GetPoolById: {
529
+ // positional
530
+ (poolId: string | null): globalThis.Promise<Pool | null> | Pool | null
531
+ // named
532
+ ({poolId}: {poolId?: string | null}): globalThis.Promise<Pool | null> | Pool | null
533
+ // metadata (do not use)
534
+ __parameters: {poolId?: string | null}, __returns: globalThis.Promise<Pool | null> | Pool | null, __self: never
535
+ kind: 'action'
536
+ }
537
+
538
+ export declare const GetDrepById: {
539
+ // positional
540
+ (drepId: string | null): globalThis.Promise<Drep | null> | Drep | null
541
+ // named
542
+ ({drepId}: {drepId?: string | null}): globalThis.Promise<Drep | null> | Drep | null
543
+ // metadata (do not use)
544
+ __parameters: {drepId?: string | null}, __returns: globalThis.Promise<Drep | null> | Drep | null, __self: never
545
+ kind: 'action'
546
+ }
547
+
548
+ export declare const GetAccountByStakeAddress: {
549
+ // positional
550
+ (stakeAddress: _odatano_cardano.Bech32 | null): globalThis.Promise<Account | null> | Account | null
551
+ // named
552
+ ({stakeAddress}: {stakeAddress?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Account | null> | Account | null
553
+ // metadata (do not use)
554
+ __parameters: {stakeAddress?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Account | null> | Account | null, __self: never
555
+ kind: 'action'
556
+ }
557
+
558
+ export declare const GetTransactionByHash: {
559
+ // positional
560
+ (hash: _odatano_cardano.Blake2b256 | null): globalThis.Promise<Transaction | null> | Transaction | null
561
+ // named
562
+ ({hash}: {hash?: _odatano_cardano.Blake2b256 | null}): globalThis.Promise<Transaction | null> | Transaction | null
563
+ // metadata (do not use)
564
+ __parameters: {hash?: _odatano_cardano.Blake2b256 | null}, __returns: globalThis.Promise<Transaction | null> | Transaction | null, __self: never
565
+ kind: 'action'
566
+ }
567
+
568
+ export declare const GetMetadataByTxHash: {
569
+ // positional
570
+ (tx_hash: _odatano_cardano.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
571
+ // named
572
+ ({tx_hash}: {tx_hash?: _odatano_cardano.Blake2b256 | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
573
+ // metadata (do not use)
574
+ __parameters: {tx_hash?: _odatano_cardano.Blake2b256 | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
575
+ kind: 'action'
576
+ }
577
+
578
+ export declare const GetAddressByBech32: {
579
+ // positional
580
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<Address | null> | Address | null
581
+ // named
582
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Address | null> | Address | null
583
+ // metadata (do not use)
584
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Address | null> | Address | null, __self: never
585
+ kind: 'action'
586
+ }
587
+
588
+ export declare const GetUTxOsByAddress: {
589
+ // positional
590
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
591
+ // named
592
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
593
+ // metadata (do not use)
594
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
595
+ kind: 'action'
596
+ }
597
+
598
+ export declare const GetAssetsByAddress: {
599
+ // positional
600
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
601
+ // named
602
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
603
+ // metadata (do not use)
604
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
605
+ kind: 'action'
606
+ }
607
+
608
+ export declare const GetLatestTransactionsByAddress: {
609
+ // positional
610
+ (address: _odatano_cardano.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
611
+ // named
612
+ ({address, limit}: {address?: _odatano_cardano.Bech32 | null, limit?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
613
+ // metadata (do not use)
614
+ __parameters: {address?: _odatano_cardano.Bech32 | null, limit?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
615
+ kind: 'action'
616
+ }
617
+
618
+ export declare const GetLatestBlock: {
619
+ // positional
620
+ (): globalThis.Promise<Block | null> | Block | null
621
+ // named
622
+ ({}: globalThis.Record<never, never>): globalThis.Promise<Block | null> | Block | null
623
+ // metadata (do not use)
624
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
625
+ kind: 'action'
626
+ }
627
+
628
+ export declare const GetLatestEpoch: {
629
+ // positional
630
+ (): globalThis.Promise<Epoch | null> | Epoch | null
631
+ // named
632
+ ({}: globalThis.Record<never, never>): globalThis.Promise<Epoch | null> | Epoch | null
633
+ // metadata (do not use)
634
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
635
+ kind: 'action'
636
+ }
637
+
638
+ export declare const GetLedgerProtocolParameters: {
639
+ // positional
640
+ (): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
641
+ // named
642
+ ({}: globalThis.Record<never, never>): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
643
+ // metadata (do not use)
644
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null, __self: never
645
+ kind: 'action'
646
+ }