@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,602 @@
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
+ /**
6
+ * Cardano Transaction Service
7
+ *
8
+ * Handles transaction building and submission operations.
9
+ * Separate from the read-only CardanoODataService to provide
10
+ * clear separation between general query and command operations.
11
+ */
12
+ export default class {
13
+ declare static readonly BuildSimpleAdaTransaction: typeof BuildSimpleAdaTransaction;
14
+ declare static readonly BuildTransactionWithMetadata: typeof BuildTransactionWithMetadata;
15
+ declare static readonly BuildMultiAssetTransaction: typeof BuildMultiAssetTransaction;
16
+ declare static readonly BuildMintTransaction: typeof BuildMintTransaction;
17
+ declare static readonly BuildPlutusSpendTransaction: typeof BuildPlutusSpendTransaction;
18
+ declare static readonly SetCollateral: typeof SetCollateral;
19
+ declare static readonly GetBuildDetails: typeof GetBuildDetails;
20
+ declare static readonly SubmitTransaction: typeof SubmitTransaction;
21
+ declare static readonly SubmitSignedTransaction: typeof SubmitSignedTransaction;
22
+ declare static readonly CreateSigningRequest: typeof CreateSigningRequest;
23
+ declare static readonly GetSigningRequest: typeof GetSigningRequest;
24
+ declare static readonly GetSigningRequestsByAddress: typeof GetSigningRequestsByAddress;
25
+ declare static readonly GetTransactionBuildsByAddress: typeof GetTransactionBuildsByAddress;
26
+ }
27
+
28
+ export function _TransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
29
+ return class TransactionBuild extends Base {
30
+ declare validFrom?: __.CdsTimestamp | null
31
+ declare validTo?: __.CdsTimestamp | null
32
+ declare id?: __.Key<string>
33
+ declare network?: string | null
34
+ declare builderEngine?: string | null
35
+ declare senderAddress?: _odatano_cardano.Bech32 | null
36
+ declare changeAddress?: _odatano_cardano.Bech32 | null
37
+ declare unsignedTxCbor?: string | null
38
+ declare txBodyHash?: _odatano_cardano.Blake2b256 | null
39
+ declare fee?: _odatano_cardano.Lovelace | null
40
+ declare size?: number | null
41
+ declare createdAt?: number | null
42
+ declare inputs?: __.Composition.of.many<TransactionBuildInputs>
43
+ declare outputs?: __.Composition.of.many<TransactionBuildOutputs>
44
+ declare submission?: __.Association.to<TransactionSubmission> | null
45
+ declare hasInputs?: boolean | null
46
+ declare hasOutputs?: boolean | null
47
+ declare wasSubmitted?: boolean | null
48
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
49
+ declare static readonly keys: __.KeysOf<TransactionBuild>;
50
+ declare static readonly elements: __.ElementsOf<TransactionBuild>;
51
+ declare static readonly actions: globalThis.Record<never, never>;
52
+ };
53
+ }
54
+ export class TransactionBuild extends _TransactionBuildAspect(__.Entity) {}
55
+ Object.defineProperty(TransactionBuild, 'name', { value: 'CardanoTransactionService.TransactionBuilds' })
56
+ Object.defineProperty(TransactionBuild, 'is_singular', { value: true })
57
+ export class TransactionBuilds extends Array<TransactionBuild> {$count?: number}
58
+ Object.defineProperty(TransactionBuilds, 'name', { value: 'CardanoTransactionService.TransactionBuilds' })
59
+
60
+ export function _TransactionBuildInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
61
+ return class TransactionBuildInput extends Base {
62
+ declare build?: __.Key<__.Association.to<TransactionBuild>>
63
+ declare build_id?: __.Key<string>
64
+ declare inputIndex?: __.Key<number>
65
+ declare txHash?: _odatano_cardano.Blake2b256 | null
66
+ declare outputIndex?: number | null
67
+ declare address?: _odatano_cardano.Bech32 | null
68
+ declare lovelace?: _odatano_cardano.Lovelace | null
69
+ declare assets?: __.Composition.of.many<TransactionBuildInputAssets>
70
+ declare hasAssets?: boolean | null
71
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
72
+ declare static readonly keys: __.KeysOf<TransactionBuildInput>;
73
+ declare static readonly elements: __.ElementsOf<TransactionBuildInput>;
74
+ declare static readonly actions: globalThis.Record<never, never>;
75
+ };
76
+ }
77
+ export class TransactionBuildInput extends _TransactionBuildInputAspect(__.Entity) {}
78
+ Object.defineProperty(TransactionBuildInput, 'name', { value: 'CardanoTransactionService.TransactionBuildInputs' })
79
+ Object.defineProperty(TransactionBuildInput, 'is_singular', { value: true })
80
+ export class TransactionBuildInputs extends Array<TransactionBuildInput> {$count?: number}
81
+ Object.defineProperty(TransactionBuildInputs, 'name', { value: 'CardanoTransactionService.TransactionBuildInputs' })
82
+
83
+ export function _TransactionBuildOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
84
+ return class TransactionBuildOutput extends Base {
85
+ declare build?: __.Key<__.Association.to<TransactionBuild>>
86
+ declare build_id?: __.Key<string>
87
+ declare outputIndex?: __.Key<number>
88
+ declare address?: _odatano_cardano.Bech32 | null
89
+ declare lovelace?: _odatano_cardano.Lovelace | null
90
+ declare isChange?: boolean | null
91
+ declare assets?: __.Composition.of.many<TransactionBuildOutputAssets>
92
+ declare hasAssets?: boolean | null
93
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
94
+ declare static readonly keys: __.KeysOf<TransactionBuildOutput>;
95
+ declare static readonly elements: __.ElementsOf<TransactionBuildOutput>;
96
+ declare static readonly actions: globalThis.Record<never, never>;
97
+ };
98
+ }
99
+ export class TransactionBuildOutput extends _TransactionBuildOutputAspect(__.Entity) {}
100
+ Object.defineProperty(TransactionBuildOutput, 'name', { value: 'CardanoTransactionService.TransactionBuildOutputs' })
101
+ Object.defineProperty(TransactionBuildOutput, 'is_singular', { value: true })
102
+ export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {$count?: number}
103
+ Object.defineProperty(TransactionBuildOutputs, 'name', { value: 'CardanoTransactionService.TransactionBuildOutputs' })
104
+
105
+ export function _TransactionBuildInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
106
+ return class TransactionBuildInputAsset extends Base {
107
+ declare input?: __.Key<__.Association.to<TransactionBuildInput>>
108
+ declare input_inputIndex?: __.Key<number>
109
+ declare input_build_id?: __.Key<string>
110
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
111
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
112
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
113
+ declare asset_assetNameHex?: string | null
114
+ declare asset_assetName?: string | null
115
+ declare asset_fingerprint?: string | null
116
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
117
+ declare static readonly keys: __.KeysOf<TransactionBuildInputAsset>;
118
+ declare static readonly elements: __.ElementsOf<TransactionBuildInputAsset>;
119
+ declare static readonly actions: globalThis.Record<never, never>;
120
+ };
121
+ }
122
+ export class TransactionBuildInputAsset extends _TransactionBuildInputAssetAspect(__.Entity) {}
123
+ Object.defineProperty(TransactionBuildInputAsset, 'name', { value: 'CardanoTransactionService.TransactionBuildInputAssets' })
124
+ Object.defineProperty(TransactionBuildInputAsset, 'is_singular', { value: true })
125
+ export class TransactionBuildInputAssets extends Array<TransactionBuildInputAsset> {$count?: number}
126
+ Object.defineProperty(TransactionBuildInputAssets, 'name', { value: 'CardanoTransactionService.TransactionBuildInputAssets' })
127
+
128
+ export function _TransactionBuildOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
129
+ return class TransactionBuildOutputAsset extends Base {
130
+ declare output?: __.Key<__.Association.to<TransactionBuildOutput>>
131
+ declare output_outputIndex?: __.Key<number>
132
+ declare output_build_id?: __.Key<string>
133
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
134
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
135
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
136
+ declare asset_assetNameHex?: string | null
137
+ declare asset_assetName?: string | null
138
+ declare asset_fingerprint?: string | null
139
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
140
+ declare static readonly keys: __.KeysOf<TransactionBuildOutputAsset>;
141
+ declare static readonly elements: __.ElementsOf<TransactionBuildOutputAsset>;
142
+ declare static readonly actions: globalThis.Record<never, never>;
143
+ };
144
+ }
145
+ export class TransactionBuildOutputAsset extends _TransactionBuildOutputAssetAspect(__.Entity) {}
146
+ Object.defineProperty(TransactionBuildOutputAsset, 'name', { value: 'CardanoTransactionService.TransactionBuildOutputAssets' })
147
+ Object.defineProperty(TransactionBuildOutputAsset, 'is_singular', { value: true })
148
+ export class TransactionBuildOutputAssets extends Array<TransactionBuildOutputAsset> {$count?: number}
149
+ Object.defineProperty(TransactionBuildOutputAssets, 'name', { value: 'CardanoTransactionService.TransactionBuildOutputAssets' })
150
+
151
+ export function _TransactionSubmissionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
152
+ return class TransactionSubmission extends Base {
153
+ declare id?: __.Key<string>
154
+ declare build?: __.Association.to<TransactionBuild> | null
155
+ declare build_id?: string | null
156
+ declare signedTxCbor?: string | null
157
+ declare txHash?: _odatano_cardano.Blake2b256 | null
158
+ declare submittedAt?: number | null
159
+ declare status?: _odatano_cardano.SubmissionStatus | null
160
+ declare errorCode?: string | null
161
+ declare errorMessage?: string | null
162
+ declare retryCount?: number | null
163
+ declare errors?: __.Composition.of.many<TransactionSubmissionErrors>
164
+ declare hasErrors?: boolean | null
165
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
166
+ declare static readonly keys: __.KeysOf<TransactionSubmission>;
167
+ declare static readonly elements: __.ElementsOf<TransactionSubmission>;
168
+ declare static readonly actions: {
169
+ CheckSubmissionStatus: {
170
+ // positional
171
+ (): TransactionSubmissions
172
+ // named
173
+ ({}: globalThis.Record<never, never>): TransactionSubmissions
174
+ // metadata (do not use)
175
+ __parameters: globalThis.Record<never, never>, __returns: TransactionSubmissions, __self: TransactionSubmission
176
+ kind: 'action'
177
+ }
178
+ };
179
+ };
180
+ }
181
+ /**
182
+ * TransactionSubmissions status flow:
183
+ * pending ──[submit to chain]──→ submitted (internal, in SubmitTransaction handler)
184
+ * submitted ──[CheckSubmissionStatus]──→ confirmed | stays submitted (conditional)
185
+ * pending | submitted ──→ failed (on blockchain error)
186
+ */
187
+ export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {}
188
+ Object.defineProperty(TransactionSubmission, 'name', { value: 'CardanoTransactionService.TransactionSubmissions' })
189
+ Object.defineProperty(TransactionSubmission, 'is_singular', { value: true })
190
+ /**
191
+ * TransactionSubmissions status flow:
192
+ * pending ──[submit to chain]──→ submitted (internal, in SubmitTransaction handler)
193
+ * submitted ──[CheckSubmissionStatus]──→ confirmed | stays submitted (conditional)
194
+ * pending | submitted ──→ failed (on blockchain error)
195
+ */
196
+ export class TransactionSubmissions extends Array<TransactionSubmission> {$count?: number}
197
+ Object.defineProperty(TransactionSubmissions, 'name', { value: 'CardanoTransactionService.TransactionSubmissions' })
198
+
199
+ export function _TransactionSubmissionErrorAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
200
+ return class TransactionSubmissionError extends Base {
201
+ declare id?: __.Key<string>
202
+ declare submission?: __.Association.to<TransactionSubmission> | null
203
+ declare submission_id?: string | null
204
+ declare occurredAt?: number | null
205
+ declare errorType?: string | null
206
+ declare errorCode?: string | null
207
+ declare errorMessage?: string | null
208
+ declare errorDetails?: string | null
209
+ declare isRecoverable?: boolean | null
210
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
211
+ declare static readonly keys: __.KeysOf<TransactionSubmissionError>;
212
+ declare static readonly elements: __.ElementsOf<TransactionSubmissionError>;
213
+ declare static readonly actions: globalThis.Record<never, never>;
214
+ };
215
+ }
216
+ export class TransactionSubmissionError extends _TransactionSubmissionErrorAspect(__.Entity) {}
217
+ Object.defineProperty(TransactionSubmissionError, 'name', { value: 'CardanoTransactionService.TransactionSubmissionErrors' })
218
+ Object.defineProperty(TransactionSubmissionError, 'is_singular', { value: true })
219
+ export class TransactionSubmissionErrors extends Array<TransactionSubmissionError> {$count?: number}
220
+ Object.defineProperty(TransactionSubmissionErrors, 'name', { value: 'CardanoTransactionService.TransactionSubmissionErrors' })
221
+
222
+ export function _SigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
223
+ return class SigningRequest extends Base {
224
+ declare id?: __.Key<string>
225
+ declare build?: __.Association.to<TransactionBuild> | null
226
+ declare build_id?: string | null
227
+ declare txBodyHash?: _odatano_cardano.Blake2b256 | null
228
+ declare unsignedTxCbor?: string | null
229
+ declare network?: string | null
230
+ declare status?: _odatano_cardano.SigningStatus | null
231
+ declare createdAt?: __.CdsTimestamp | null
232
+ declare expiresAt?: __.CdsTimestamp | null
233
+ declare signedAt?: __.CdsTimestamp | null
234
+ declare submittedAt?: __.CdsTimestamp | null
235
+ declare cardanoCliCommand?: string | null
236
+ declare cip30TxCbor?: string | null
237
+ declare signerType?: string | null
238
+ declare signerInfo?: string | null
239
+ declare verifications?: __.Composition.of.many<SignatureVerifications>
240
+ declare submission?: __.Association.to<TransactionSubmission> | null
241
+ declare submission_id?: string | null
242
+ declare errorMessage?: string | null
243
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
244
+ declare static readonly keys: __.KeysOf<SigningRequest>;
245
+ declare static readonly elements: __.ElementsOf<SigningRequest>;
246
+ declare static readonly actions: {
247
+ VerifySignature: {
248
+ // positional
249
+ (signedTxCbor: string | null, signerType: string | null, signerInfo: string | null): SignatureVerifications
250
+ // named
251
+ ({signedTxCbor, signerType, signerInfo}: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}): SignatureVerifications
252
+ // metadata (do not use)
253
+ __parameters: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}, __returns: SignatureVerifications, __self: SigningRequest
254
+ kind: 'action'
255
+ }
256
+ SubmitVerifiedTransaction: {
257
+ // positional
258
+ (signedTxCbor: string | null, signerType: string | null, signerInfo: string | null): TransactionSubmissions
259
+ // named
260
+ ({signedTxCbor, signerType, signerInfo}: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}): TransactionSubmissions
261
+ // metadata (do not use)
262
+ __parameters: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}, __returns: TransactionSubmissions, __self: SigningRequest
263
+ kind: 'action'
264
+ }
265
+ };
266
+ };
267
+ }
268
+ /**
269
+ * SigningRequests status flow:
270
+ * pending ──[VerifySignature]──→ verified | failed (conditional in handler)
271
+ * pending | verified ──[SubmitVerifiedTransaction]──→ submitted
272
+ * pending ──[checkExpire]──→ expired (custom time-based logic in handler)
273
+ */
274
+ export class SigningRequest extends _SigningRequestAspect(__.Entity) {}
275
+ Object.defineProperty(SigningRequest, 'name', { value: 'CardanoTransactionService.SigningRequests' })
276
+ Object.defineProperty(SigningRequest, 'is_singular', { value: true })
277
+ /**
278
+ * SigningRequests status flow:
279
+ * pending ──[VerifySignature]──→ verified | failed (conditional in handler)
280
+ * pending | verified ──[SubmitVerifiedTransaction]──→ submitted
281
+ * pending ──[checkExpire]──→ expired (custom time-based logic in handler)
282
+ */
283
+ export class SigningRequests extends Array<SigningRequest> {$count?: number}
284
+ Object.defineProperty(SigningRequests, 'name', { value: 'CardanoTransactionService.SigningRequests' })
285
+
286
+ export function _SignatureVerificationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
287
+ return class SignatureVerification extends Base {
288
+ declare id?: __.Key<string>
289
+ declare signingRequest?: __.Association.to<SigningRequest> | null
290
+ declare signingRequest_id?: string | null
291
+ declare signedTxCbor?: string | null
292
+ declare isValid?: boolean | null
293
+ declare txBodyHash?: _odatano_cardano.Blake2b256 | null
294
+ declare witnessCount?: number | null
295
+ declare signerKeyHashes?: string | null
296
+ declare errorMessage?: string | null
297
+ declare warnings?: string | null
298
+ declare verifiedAt?: __.CdsTimestamp | null
299
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
300
+ declare static readonly keys: __.KeysOf<SignatureVerification>;
301
+ declare static readonly elements: __.ElementsOf<SignatureVerification>;
302
+ declare static readonly actions: globalThis.Record<never, never>;
303
+ };
304
+ }
305
+ export class SignatureVerification extends _SignatureVerificationAspect(__.Entity) {}
306
+ Object.defineProperty(SignatureVerification, 'name', { value: 'CardanoTransactionService.SignatureVerifications' })
307
+ Object.defineProperty(SignatureVerification, 'is_singular', { value: true })
308
+ export class SignatureVerifications extends Array<SignatureVerification> {$count?: number}
309
+ Object.defineProperty(SignatureVerifications, 'name', { value: 'CardanoTransactionService.SignatureVerifications' })
310
+
311
+ export function _AddressSigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
312
+ return class AddressSigningRequest extends Base {
313
+ declare address?: __.Key<__.Association.to<Address>>
314
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
315
+ declare signingRequest?: __.Key<__.Association.to<SigningRequest>>
316
+ declare signingRequest_id?: __.Key<string>
317
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
318
+ declare static readonly keys: __.KeysOf<AddressSigningRequest>;
319
+ declare static readonly elements: __.ElementsOf<AddressSigningRequest>;
320
+ declare static readonly actions: globalThis.Record<never, never>;
321
+ };
322
+ }
323
+ export class AddressSigningRequest extends _AddressSigningRequestAspect(__.Entity) {}
324
+ Object.defineProperty(AddressSigningRequest, 'name', { value: 'CardanoTransactionService.AddressSigningRequests' })
325
+ Object.defineProperty(AddressSigningRequest, 'is_singular', { value: true })
326
+ export class AddressSigningRequests extends Array<AddressSigningRequest> {$count?: number}
327
+ Object.defineProperty(AddressSigningRequests, 'name', { value: 'CardanoTransactionService.AddressSigningRequests' })
328
+
329
+ export function _AddressTransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
330
+ return class AddressTransactionBuild extends Base {
331
+ declare address?: __.Key<__.Association.to<Address>>
332
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
333
+ declare txBuild?: __.Key<__.Association.to<TransactionBuild>>
334
+ declare txBuild_id?: __.Key<string>
335
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
336
+ declare static readonly keys: __.KeysOf<AddressTransactionBuild>;
337
+ declare static readonly elements: __.ElementsOf<AddressTransactionBuild>;
338
+ declare static readonly actions: globalThis.Record<never, never>;
339
+ };
340
+ }
341
+ export class AddressTransactionBuild extends _AddressTransactionBuildAspect(__.Entity) {}
342
+ Object.defineProperty(AddressTransactionBuild, 'name', { value: 'CardanoTransactionService.AddressTransactionBuilds' })
343
+ Object.defineProperty(AddressTransactionBuild, 'is_singular', { value: true })
344
+ export class AddressTransactionBuilds extends Array<AddressTransactionBuild> {$count?: number}
345
+ Object.defineProperty(AddressTransactionBuilds, 'name', { value: 'CardanoTransactionService.AddressTransactionBuilds' })
346
+
347
+ export function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
348
+ return class Address extends Base {
349
+ declare validFrom?: __.CdsTimestamp | null
350
+ declare validTo?: __.CdsTimestamp | null
351
+ declare address?: __.Key<_odatano_cardano.Bech32>
352
+ declare stakeAddress?: _odatano_cardano.Bech32 | null
353
+ declare type?: string | null
354
+ declare isScript?: boolean | null
355
+ declare totalLovelace?: _odatano_cardano.Lovelace | null
356
+ declare transactions?: __.Composition.of.many<AddressTransactions>
357
+ declare assets?: __.Composition.of.many<AddressAssets>
358
+ declare utxos?: __.Composition.of.many<AddressUTxOs>
359
+ declare hasTransactions?: boolean | null
360
+ declare hasAssets?: boolean | null
361
+ declare hasUTxOs?: boolean | null
362
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
363
+ declare static readonly keys: __.KeysOf<Address>;
364
+ declare static readonly elements: __.ElementsOf<Address>;
365
+ declare static readonly actions: globalThis.Record<never, never>;
366
+ };
367
+ }
368
+ export class Address extends _AddressAspect(__.Entity) {}
369
+ Object.defineProperty(Address, 'name', { value: 'CardanoTransactionService.Addresses' })
370
+ Object.defineProperty(Address, 'is_singular', { value: true })
371
+ export class Addresses extends Array<Address> {$count?: number}
372
+ Object.defineProperty(Addresses, 'name', { value: 'CardanoTransactionService.Addresses' })
373
+
374
+ export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
375
+ return class AddressTransaction extends Base {
376
+ declare address?: __.Key<__.Association.to<Address>>
377
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
378
+ declare tx?: __.Key<__.Association.to<_odatano_cardano.Transaction>>
379
+ declare tx_hash?: __.Key<_odatano_cardano.Blake2b256>
380
+ declare netAmount?: number | null
381
+ declare blockTime?: number | null
382
+ declare netAssets?: string | null
383
+ declare hasAssets?: boolean | null
384
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
385
+ declare static readonly keys: __.KeysOf<AddressTransaction>;
386
+ declare static readonly elements: __.ElementsOf<AddressTransaction>;
387
+ declare static readonly actions: globalThis.Record<never, never>;
388
+ };
389
+ }
390
+ export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {}
391
+ Object.defineProperty(AddressTransaction, 'name', { value: 'CardanoTransactionService.AddressTransactions' })
392
+ Object.defineProperty(AddressTransaction, 'is_singular', { value: true })
393
+ export class AddressTransactions extends Array<AddressTransaction> {$count?: number}
394
+ Object.defineProperty(AddressTransactions, 'name', { value: 'CardanoTransactionService.AddressTransactions' })
395
+
396
+ export function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
397
+ return class AddressAsset extends Base {
398
+ declare validFrom?: __.CdsTimestamp | null
399
+ declare validTo?: __.CdsTimestamp | null
400
+ declare address?: __.Key<__.Association.to<Address>>
401
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
402
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
403
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
404
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
405
+ declare asset_assetNameHex?: string | null
406
+ declare asset_assetName?: string | null
407
+ declare asset_fingerprint?: string | null
408
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
409
+ declare static readonly keys: __.KeysOf<AddressAsset>;
410
+ declare static readonly elements: __.ElementsOf<AddressAsset>;
411
+ declare static readonly actions: globalThis.Record<never, never>;
412
+ };
413
+ }
414
+ export class AddressAsset extends _AddressAssetAspect(__.Entity) {}
415
+ Object.defineProperty(AddressAsset, 'name', { value: 'CardanoTransactionService.AddressAssets' })
416
+ Object.defineProperty(AddressAsset, 'is_singular', { value: true })
417
+ export class AddressAssets extends Array<AddressAsset> {$count?: number}
418
+ Object.defineProperty(AddressAssets, 'name', { value: 'CardanoTransactionService.AddressAssets' })
419
+
420
+ export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
421
+ return class AddressUTxO extends Base {
422
+ declare validFrom?: __.CdsTimestamp | null
423
+ declare validTo?: __.CdsTimestamp | null
424
+ declare address?: __.Key<__.Association.to<Address>>
425
+ declare address_address?: __.Key<_odatano_cardano.Bech32>
426
+ declare hash?: __.Key<_odatano_cardano.Blake2b256>
427
+ declare index?: __.Key<number>
428
+ declare blockHash?: _odatano_cardano.Blake2b256 | null
429
+ declare utxodata_dataHash?: _odatano_cardano.Blake2b256 | null
430
+ declare utxodata_inlineDatum?: string | null
431
+ declare utxodata_referenceScriptHash?: _odatano_cardano.Blake2b256 | null
432
+ declare lovelace?: _odatano_cardano.Lovelace | null
433
+ declare assets?: __.Composition.of.many<UTxOAssets>
434
+ declare hasAssets?: boolean | null
435
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
436
+ declare static readonly keys: __.KeysOf<AddressUTxO>;
437
+ declare static readonly elements: __.ElementsOf<AddressUTxO>;
438
+ declare static readonly actions: globalThis.Record<never, never>;
439
+ };
440
+ }
441
+ export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {}
442
+ Object.defineProperty(AddressUTxO, 'name', { value: 'CardanoTransactionService.AddressUTxOs' })
443
+ Object.defineProperty(AddressUTxO, 'is_singular', { value: true })
444
+ export class AddressUTxOs extends Array<AddressUTxO> {$count?: number}
445
+ Object.defineProperty(AddressUTxOs, 'name', { value: 'CardanoTransactionService.AddressUTxOs' })
446
+
447
+ export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
448
+ return class UTxOAsset extends Base {
449
+ declare validFrom?: __.CdsTimestamp | null
450
+ declare validTo?: __.CdsTimestamp | null
451
+ declare utxo?: __.Key<__.Association.to<AddressUTxO>>
452
+ declare utxo_hash?: __.Key<_odatano_cardano.Blake2b256>
453
+ declare utxo_index?: __.Key<number>
454
+ declare utxo_address_address?: __.Key<_odatano_cardano.Bech32>
455
+ declare unit?: __.Key<_odatano_cardano.AssetUnit>
456
+ declare asset_quantity?: _odatano_cardano.Lovelace | null
457
+ declare asset_policyId?: _odatano_cardano.Blake2b224 | null
458
+ declare asset_assetNameHex?: string | null
459
+ declare asset_assetName?: string | null
460
+ declare asset_fingerprint?: string | null
461
+ static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
462
+ declare static readonly keys: __.KeysOf<UTxOAsset>;
463
+ declare static readonly elements: __.ElementsOf<UTxOAsset>;
464
+ declare static readonly actions: globalThis.Record<never, never>;
465
+ };
466
+ }
467
+ export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {}
468
+ Object.defineProperty(UTxOAsset, 'name', { value: 'CardanoTransactionService.UTxOAssets' })
469
+ Object.defineProperty(UTxOAsset, 'is_singular', { value: true })
470
+ export class UTxOAssets extends Array<UTxOAsset> {$count?: number}
471
+ Object.defineProperty(UTxOAssets, 'name', { value: 'CardanoTransactionService.UTxOAssets' })
472
+
473
+
474
+ export declare const BuildSimpleAdaTransaction: {
475
+ // positional
476
+ (senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, changeAddress: _odatano_cardano.Bech32 | null, outputDatumJson: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
477
+ // named
478
+ ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, changeAddress?: _odatano_cardano.Bech32 | null, outputDatumJson?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
479
+ // metadata (do not use)
480
+ __parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, changeAddress?: _odatano_cardano.Bech32 | null, outputDatumJson?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
481
+ kind: 'action'
482
+ }
483
+
484
+ export declare const BuildTransactionWithMetadata: {
485
+ // positional
486
+ (senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, changeAddress: _odatano_cardano.Bech32 | null, metadataJson: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
487
+ // named
488
+ ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, metadataJson}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, changeAddress?: _odatano_cardano.Bech32 | null, metadataJson?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
489
+ // metadata (do not use)
490
+ __parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, changeAddress?: _odatano_cardano.Bech32 | null, metadataJson?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
491
+ kind: 'action'
492
+ }
493
+
494
+ export declare const BuildMultiAssetTransaction: {
495
+ // positional
496
+ (senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, assetsJson: string | null, changeAddress: _odatano_cardano.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
497
+ // named
498
+ ({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, assetsJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
499
+ // metadata (do not use)
500
+ __parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, assetsJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
501
+ kind: 'action'
502
+ }
503
+
504
+ export declare const BuildMintTransaction: {
505
+ // positional
506
+ (senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _odatano_cardano.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
507
+ // named
508
+ ({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
509
+ // metadata (do not use)
510
+ __parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
511
+ kind: 'action'
512
+ }
513
+
514
+ export declare const BuildPlutusSpendTransaction: {
515
+ // positional
516
+ (senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _odatano_cardano.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
517
+ // named
518
+ ({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
519
+ // metadata (do not use)
520
+ __parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
521
+ kind: 'action'
522
+ }
523
+
524
+ export declare const SetCollateral: {
525
+ // positional
526
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
527
+ // named
528
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
529
+ // metadata (do not use)
530
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
531
+ kind: 'action'
532
+ }
533
+
534
+ export declare const GetBuildDetails: {
535
+ // positional
536
+ (buildId: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
537
+ // named
538
+ ({buildId}: {buildId?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
539
+ // metadata (do not use)
540
+ __parameters: {buildId?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
541
+ kind: 'action'
542
+ }
543
+
544
+ export declare const SubmitTransaction: {
545
+ // positional
546
+ (buildId: string | null, signedTxCbor: string | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
547
+ // named
548
+ ({buildId, signedTxCbor}: {buildId?: string | null, signedTxCbor?: string | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
549
+ // metadata (do not use)
550
+ __parameters: {buildId?: string | null, signedTxCbor?: string | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
551
+ kind: 'action'
552
+ }
553
+
554
+ export declare const SubmitSignedTransaction: {
555
+ // positional
556
+ (signedTxCbor: string | null, network: string | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
557
+ // named
558
+ ({signedTxCbor, network}: {signedTxCbor?: string | null, network?: string | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
559
+ // metadata (do not use)
560
+ __parameters: {signedTxCbor?: string | null, network?: string | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
561
+ kind: 'action'
562
+ }
563
+
564
+ export declare const CreateSigningRequest: {
565
+ // positional
566
+ (buildId: string | null, message: string | null): globalThis.Promise<SigningRequest | null> | SigningRequest | null
567
+ // named
568
+ ({buildId, message}: {buildId?: string | null, message?: string | null}): globalThis.Promise<SigningRequest | null> | SigningRequest | null
569
+ // metadata (do not use)
570
+ __parameters: {buildId?: string | null, message?: string | null}, __returns: globalThis.Promise<SigningRequest | null> | SigningRequest | null, __self: never
571
+ kind: 'action'
572
+ }
573
+
574
+ export declare const GetSigningRequest: {
575
+ // positional
576
+ (signingRequestId: string | null): globalThis.Promise<SigningRequest | null> | SigningRequest | null
577
+ // named
578
+ ({signingRequestId}: {signingRequestId?: string | null}): globalThis.Promise<SigningRequest | null> | SigningRequest | null
579
+ // metadata (do not use)
580
+ __parameters: {signingRequestId?: string | null}, __returns: globalThis.Promise<SigningRequest | null> | SigningRequest | null, __self: never
581
+ kind: 'action'
582
+ }
583
+
584
+ export declare const GetSigningRequestsByAddress: {
585
+ // positional
586
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
587
+ // named
588
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
589
+ // metadata (do not use)
590
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>, __self: never
591
+ kind: 'action'
592
+ }
593
+
594
+ export declare const GetTransactionBuildsByAddress: {
595
+ // positional
596
+ (address: _odatano_cardano.Bech32 | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
597
+ // named
598
+ ({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
599
+ // metadata (do not use)
600
+ __parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
601
+ kind: 'action'
602
+ }