@fairmint/canton-node-sdk 0.0.222 → 0.0.223

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 (67) hide show
  1. package/build/src/generated/apps/common/src/main/openapi/common-external.d.ts +295 -0
  2. package/build/src/generated/apps/common/src/main/openapi/common-external.d.ts.map +1 -0
  3. package/build/src/generated/apps/common/src/main/openapi/common-external.js +7 -0
  4. package/build/src/generated/apps/common/src/main/openapi/common-external.js.map +1 -0
  5. package/build/src/generated/apps/common/src/main/openapi/common-internal.d.ts +204 -0
  6. package/build/src/generated/apps/common/src/main/openapi/common-internal.d.ts.map +1 -0
  7. package/build/src/generated/apps/common/src/main/openapi/common-internal.js +7 -0
  8. package/build/src/generated/apps/common/src/main/openapi/common-internal.js.map +1 -0
  9. package/build/src/generated/apps/scan/src/main/openapi/scan-stream-server.d.ts +73 -0
  10. package/build/src/generated/apps/scan/src/main/openapi/scan-stream-server.d.ts.map +1 -0
  11. package/build/src/generated/apps/scan/src/main/openapi/scan-stream-server.js +7 -0
  12. package/build/src/generated/apps/scan/src/main/openapi/scan-stream-server.js.map +1 -0
  13. package/build/src/generated/apps/scan/src/main/openapi/scan.d.ts +4969 -0
  14. package/build/src/generated/apps/scan/src/main/openapi/scan.d.ts.map +1 -0
  15. package/build/src/generated/apps/scan/src/main/openapi/scan.js +7 -0
  16. package/build/src/generated/apps/scan/src/main/openapi/scan.js.map +1 -0
  17. package/build/src/generated/apps/splitwell/src/main/openapi/splitwell-internal.d.ts +636 -0
  18. package/build/src/generated/apps/splitwell/src/main/openapi/splitwell-internal.d.ts.map +1 -0
  19. package/build/src/generated/apps/splitwell/src/main/openapi/splitwell-internal.js +7 -0
  20. package/build/src/generated/apps/splitwell/src/main/openapi/splitwell-internal.js.map +1 -0
  21. package/build/src/generated/apps/sv/src/main/openapi/sv-internal.d.ts +2024 -0
  22. package/build/src/generated/apps/sv/src/main/openapi/sv-internal.d.ts.map +1 -0
  23. package/build/src/generated/apps/sv/src/main/openapi/sv-internal.js +7 -0
  24. package/build/src/generated/apps/sv/src/main/openapi/sv-internal.js.map +1 -0
  25. package/build/src/generated/apps/validator/src/main/openapi/ans-external.d.ts +189 -0
  26. package/build/src/generated/apps/validator/src/main/openapi/ans-external.d.ts.map +1 -0
  27. package/build/src/generated/apps/validator/src/main/openapi/ans-external.js +7 -0
  28. package/build/src/generated/apps/validator/src/main/openapi/ans-external.js.map +1 -0
  29. package/build/src/generated/apps/validator/src/main/openapi/scan-proxy.d.ts +969 -0
  30. package/build/src/generated/apps/validator/src/main/openapi/scan-proxy.d.ts.map +1 -0
  31. package/build/src/generated/apps/validator/src/main/openapi/scan-proxy.js +7 -0
  32. package/build/src/generated/apps/validator/src/main/openapi/scan-proxy.js.map +1 -0
  33. package/build/src/generated/apps/validator/src/main/openapi/validator-internal.d.ts +1230 -0
  34. package/build/src/generated/apps/validator/src/main/openapi/validator-internal.d.ts.map +1 -0
  35. package/build/src/generated/apps/validator/src/main/openapi/validator-internal.js +7 -0
  36. package/build/src/generated/apps/validator/src/main/openapi/validator-internal.js.map +1 -0
  37. package/build/src/generated/apps/wallet/src/main/openapi/wallet-external.d.ts +535 -0
  38. package/build/src/generated/apps/wallet/src/main/openapi/wallet-external.d.ts.map +1 -0
  39. package/build/src/generated/apps/wallet/src/main/openapi/wallet-external.js +7 -0
  40. package/build/src/generated/apps/wallet/src/main/openapi/wallet-external.js.map +1 -0
  41. package/build/src/generated/apps/wallet/src/main/openapi/wallet-internal.d.ts +2521 -0
  42. package/build/src/generated/apps/wallet/src/main/openapi/wallet-internal.d.ts.map +1 -0
  43. package/build/src/generated/apps/wallet/src/main/openapi/wallet-internal.js +7 -0
  44. package/build/src/generated/apps/wallet/src/main/openapi/wallet-internal.js.map +1 -0
  45. package/package.json +5 -1
  46. package/.gitmodules +0 -6
  47. package/.nvmrc +0 -1
  48. package/scripts/collapse-manifest.ts +0 -66
  49. package/scripts/generate-all-client-methods.ts +0 -332
  50. package/scripts/generate-openapi-types.ts +0 -46
  51. package/scripts/generate-operation-tests.ts +0 -198
  52. package/scripts/grant-user-rights.ts +0 -213
  53. package/scripts/list-identity-providers.ts +0 -46
  54. package/scripts/localnet/localnet-cloud.sh +0 -5
  55. package/scripts/localnet/localnet-status.sh +0 -5
  56. package/scripts/localnet/setup-localnet.sh +0 -5
  57. package/scripts/localnet/setup-quickstart-localnet.sh +0 -5
  58. package/scripts/localnet/start-localnet.sh +0 -5
  59. package/scripts/localnet/stop-localnet.sh +0 -5
  60. package/scripts/localnet-cloud.sh +0 -653
  61. package/scripts/localnet-status.sh +0 -5
  62. package/scripts/prepare-release.ts +0 -222
  63. package/scripts/revoke-user-rights.ts +0 -219
  64. package/scripts/setup-localnet.sh +0 -5
  65. package/scripts/setup-quickstart-localnet.sh +0 -5
  66. package/scripts/start-localnet.sh +0 -5
  67. package/scripts/stop-localnet.sh +0 -5
@@ -0,0 +1,969 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/v0/scan-proxy/dso-party-id": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ get: operations["getDsoPartyId"];
14
+ put?: never;
15
+ post?: never;
16
+ delete?: never;
17
+ options?: never;
18
+ head?: never;
19
+ patch?: never;
20
+ trace?: never;
21
+ };
22
+ "/v0/scan-proxy/dso": {
23
+ parameters: {
24
+ query?: never;
25
+ header?: never;
26
+ path?: never;
27
+ cookie?: never;
28
+ };
29
+ get: operations["getDsoInfo"];
30
+ put?: never;
31
+ post?: never;
32
+ delete?: never;
33
+ options?: never;
34
+ head?: never;
35
+ patch?: never;
36
+ trace?: never;
37
+ };
38
+ "/v0/scan-proxy/featured-apps/{provider_party_id}": {
39
+ parameters: {
40
+ query?: never;
41
+ header?: never;
42
+ path?: never;
43
+ cookie?: never;
44
+ };
45
+ get: operations["lookupFeaturedAppRight"];
46
+ put?: never;
47
+ post?: never;
48
+ delete?: never;
49
+ options?: never;
50
+ head?: never;
51
+ patch?: never;
52
+ trace?: never;
53
+ };
54
+ "/v0/scan-proxy/open-and-issuing-mining-rounds": {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ get: operations["getOpenAndIssuingMiningRounds"];
62
+ put?: never;
63
+ post?: never;
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ patch?: never;
68
+ trace?: never;
69
+ };
70
+ "/v0/scan-proxy/amulet-rules": {
71
+ parameters: {
72
+ query?: never;
73
+ header?: never;
74
+ path?: never;
75
+ cookie?: never;
76
+ };
77
+ get: operations["getAmuletRules"];
78
+ put?: never;
79
+ post?: never;
80
+ delete?: never;
81
+ options?: never;
82
+ head?: never;
83
+ patch?: never;
84
+ trace?: never;
85
+ };
86
+ "/v0/scan-proxy/ans-entries/by-party/{party}": {
87
+ parameters: {
88
+ query?: never;
89
+ header?: never;
90
+ path?: never;
91
+ cookie?: never;
92
+ };
93
+ get: operations["lookupAnsEntryByParty"];
94
+ put?: never;
95
+ post?: never;
96
+ delete?: never;
97
+ options?: never;
98
+ head?: never;
99
+ patch?: never;
100
+ trace?: never;
101
+ };
102
+ "/v0/scan-proxy/ans-entries": {
103
+ parameters: {
104
+ query?: never;
105
+ header?: never;
106
+ path?: never;
107
+ cookie?: never;
108
+ };
109
+ get: operations["listAnsEntries"];
110
+ put?: never;
111
+ post?: never;
112
+ delete?: never;
113
+ options?: never;
114
+ head?: never;
115
+ patch?: never;
116
+ trace?: never;
117
+ };
118
+ "/v0/scan-proxy/ans-entries/by-name/{name}": {
119
+ parameters: {
120
+ query?: never;
121
+ header?: never;
122
+ path?: never;
123
+ cookie?: never;
124
+ };
125
+ get: operations["lookupAnsEntryByName"];
126
+ put?: never;
127
+ post?: never;
128
+ delete?: never;
129
+ options?: never;
130
+ head?: never;
131
+ patch?: never;
132
+ trace?: never;
133
+ };
134
+ "/v0/scan-proxy/ans-rules": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ get?: never;
142
+ put?: never;
143
+ post: operations["getAnsRules"];
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
+ "/v0/scan-proxy/transfer-preapprovals/by-party/{party}": {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ get: operations["lookupTransferPreapprovalByParty"];
158
+ put?: never;
159
+ post?: never;
160
+ delete?: never;
161
+ options?: never;
162
+ head?: never;
163
+ patch?: never;
164
+ trace?: never;
165
+ };
166
+ "/v0/scan-proxy/transfer-command-counter/{party}": {
167
+ parameters: {
168
+ query?: never;
169
+ header?: never;
170
+ path?: never;
171
+ cookie?: never;
172
+ };
173
+ get: operations["lookupTransferCommandCounterByParty"];
174
+ put?: never;
175
+ post?: never;
176
+ delete?: never;
177
+ options?: never;
178
+ head?: never;
179
+ patch?: never;
180
+ trace?: never;
181
+ };
182
+ "/v0/scan-proxy/transfer-command/status": {
183
+ parameters: {
184
+ query?: never;
185
+ header?: never;
186
+ path?: never;
187
+ cookie?: never;
188
+ };
189
+ /** @description Retrieve the status of all transfer commands of the given sender for the specified nonce. */
190
+ get: operations["lookupTransferCommandStatus"];
191
+ put?: never;
192
+ post?: never;
193
+ delete?: never;
194
+ options?: never;
195
+ head?: never;
196
+ patch?: never;
197
+ trace?: never;
198
+ };
199
+ "/v0/scan-proxy/holdings/summary": {
200
+ parameters: {
201
+ query?: never;
202
+ header?: never;
203
+ path?: never;
204
+ cookie?: never;
205
+ };
206
+ get?: never;
207
+ put?: never;
208
+ /**
209
+ * @deprecated
210
+ * @description Deprecated. Please use /v1/scan-proxy/holdings/summary instead. Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
211
+ * This is an aggregate of `/v0/holdings/state` by owner party ID with better performance than client-side computation.
212
+ */
213
+ post: operations["getHoldingsSummaryAt"];
214
+ delete?: never;
215
+ options?: never;
216
+ head?: never;
217
+ patch?: never;
218
+ trace?: never;
219
+ };
220
+ "/v1/scan-proxy/holdings/summary": {
221
+ parameters: {
222
+ query?: never;
223
+ header?: never;
224
+ path?: never;
225
+ cookie?: never;
226
+ };
227
+ get?: never;
228
+ put?: never;
229
+ /**
230
+ * @description Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
231
+ * This is an aggregate of `/v0/holdings/state` by owner party ID with better performance than client-side computation.
232
+ * Unlike /v0/scan-proxy/holdings/summary, this version does not include holding fee fields
233
+ * as they do not express a meaningful aggregate value.
234
+ */
235
+ post: operations["getHoldingsSummaryAtV1"];
236
+ delete?: never;
237
+ options?: never;
238
+ head?: never;
239
+ patch?: never;
240
+ trace?: never;
241
+ };
242
+ "/v0/scan-proxy/unclaimed-development-fund-coupons": {
243
+ parameters: {
244
+ query?: never;
245
+ header?: never;
246
+ path?: never;
247
+ cookie?: never;
248
+ };
249
+ /** @description List all unclaimed development fund coupons. */
250
+ get: operations["listUnclaimedDevelopmentFundCoupons"];
251
+ put?: never;
252
+ post?: never;
253
+ delete?: never;
254
+ options?: never;
255
+ head?: never;
256
+ patch?: never;
257
+ trace?: never;
258
+ };
259
+ }
260
+ export type webhooks = Record<string, never>;
261
+ export interface components {
262
+ schemas: {
263
+ GetOpenAndIssuingMiningRoundsProxyResponse: {
264
+ open_mining_rounds: components["schemas"]["ContractWithState"][];
265
+ issuing_mining_rounds: components["schemas"]["ContractWithState"][];
266
+ };
267
+ GetAmuletRulesProxyResponse: {
268
+ amulet_rules: components["schemas"]["ContractWithState"];
269
+ };
270
+ GetDsoPartyIdResponse: {
271
+ dso_party_id: string;
272
+ };
273
+ Contract: {
274
+ template_id: string;
275
+ contract_id: string;
276
+ payload: Record<string, never>;
277
+ created_event_blob: string;
278
+ created_at: string;
279
+ };
280
+ ContractWithState: {
281
+ contract: components["schemas"]["Contract"];
282
+ domain_id?: string;
283
+ };
284
+ GetDsoInfoResponse: {
285
+ /** @description User ID representing the SV */
286
+ sv_user: string;
287
+ /** @description Party representing the SV */
288
+ sv_party_id: string;
289
+ /**
290
+ * @description Party representing the whole DSO; for Scan only, also returned by
291
+ * `/v0/dso-party-id`
292
+ */
293
+ dso_party_id: string;
294
+ /**
295
+ * @description Threshold required to pass vote requests; also known as the
296
+ * "governance threshold", it is always derived from the number of
297
+ * `svs` in `dso_rules`
298
+ */
299
+ voting_threshold: number;
300
+ /**
301
+ * @description Contract of the Daml template `Splice.Round.OpenMiningRound`, the
302
+ * one with the highest round number on the ledger that has been signed
303
+ * by `dso_party_id`. The round may not be usable as it may not be
304
+ * opened yet, in accordance with its `opensAt` template field
305
+ */
306
+ latest_mining_round: components["schemas"]["ContractWithState"];
307
+ /**
308
+ * @description Contract of the Daml template `Splice.AmuletRules.AmuletRules`,
309
+ * including the full schedule of `AmuletConfig` changes approved by
310
+ * the DSO. Callers should not assume that `initialValue` is up-to-date,
311
+ * and should instead search `futureValues` for the latest configuration
312
+ * valid as of now
313
+ */
314
+ amulet_rules: components["schemas"]["ContractWithState"];
315
+ /**
316
+ * @description Contract of the Daml template `Splice.DsoRules.DsoRules`, listing
317
+ * the governance rules approved by the DSO governing this Splice network.
318
+ */
319
+ dso_rules: components["schemas"]["ContractWithState"];
320
+ /**
321
+ * @description For every one of `svs` listed in `dso_rules`, a contract of the Daml
322
+ * template `Splice.DSO.SvState.SvNodeState`. This does not include
323
+ * states for offboarded SVs, though they may still have an on-ledger
324
+ * state contract
325
+ */
326
+ sv_node_states: components["schemas"]["ContractWithState"][];
327
+ /** @description Initial round from which the network bootstraps */
328
+ initial_round?: string;
329
+ };
330
+ /** @description If defined, a contract of Daml template `Splice.Amulet.FeaturedAppRight`. */
331
+ LookupFeaturedAppRightResponse: {
332
+ featured_app_right?: components["schemas"]["Contract"];
333
+ };
334
+ AnsEntry: {
335
+ /**
336
+ * @description If present, Daml contract ID of template `Splice.Ans:AnsEntry`.
337
+ * If absent, this is a DSO-provided entry for either the DSO or an SV.
338
+ */
339
+ contract_id?: string;
340
+ /** @description Owner party ID of this ANS entry. */
341
+ user: string;
342
+ /** @description The ANS entry name. */
343
+ name: string;
344
+ /** @description Either empty, or an http/https URL supplied by the `user`. */
345
+ url: string;
346
+ /** @description Arbitrary description text supplied by `user`; may be empty. */
347
+ description: string;
348
+ /**
349
+ * Format: date-time
350
+ * @description Time after which this ANS entry expires; if renewed, it will have a
351
+ * new `contract_id` and `expires_at`.
352
+ * If `null` or absent, does not expire; this is the case only for
353
+ * special entries provided by the DSO.
354
+ */
355
+ expires_at?: string;
356
+ };
357
+ LookupEntryByPartyResponse: {
358
+ entry: components["schemas"]["AnsEntry"];
359
+ };
360
+ ErrorResponse: {
361
+ error: string;
362
+ };
363
+ ListEntriesResponse: {
364
+ entries: components["schemas"]["AnsEntry"][];
365
+ };
366
+ LookupEntryByNameResponse: {
367
+ entry: components["schemas"]["AnsEntry"];
368
+ };
369
+ ContractId: string;
370
+ GetAnsRulesRequest: {
371
+ cached_ans_rules_contract_id?: components["schemas"]["ContractId"];
372
+ cached_ans_rules_domain_id?: string;
373
+ };
374
+ MaybeCachedContractWithState: {
375
+ contract?: components["schemas"]["Contract"];
376
+ domain_id?: string;
377
+ };
378
+ /** @description A contract state update of Daml template `Splice.Ans.AnsRules`. */
379
+ GetAnsRulesResponse: {
380
+ ans_rules_update: components["schemas"]["MaybeCachedContractWithState"];
381
+ };
382
+ /** @description A Daml contract of template `Splice.AmuletRules:TransferPreapproval`. */
383
+ LookupTransferPreapprovalByPartyResponse: {
384
+ transfer_preapproval: components["schemas"]["ContractWithState"];
385
+ };
386
+ /** @description A Daml contract of template `Splice.ExternalPartyAmuletRules:TransferCommandCounter`. */
387
+ LookupTransferCommandCounterByPartyResponse: {
388
+ transfer_command_counter: components["schemas"]["ContractWithState"];
389
+ };
390
+ BaseLookupTransferCommandStatusResponse: {
391
+ /**
392
+ * @description The status of the transfer command.
393
+ * created:
394
+ * The transfer command has been created and is waiting for automation to complete it.
395
+ * sent:
396
+ * The transfer command has been completed and the transfer to the receiver has finished.
397
+ * failed:
398
+ * The transfer command has failed permanently and nothing has been transferred. Refer to
399
+ * failure_reason for details. A new transfer command can be created.
400
+ */
401
+ status: string;
402
+ };
403
+ TransferCommandCreatedResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
404
+ /**
405
+ * @description discriminator enum property added by openapi-typescript
406
+ * @enum {string}
407
+ */
408
+ status: "created";
409
+ };
410
+ TransferCommandSentResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
411
+ /**
412
+ * @description discriminator enum property added by openapi-typescript
413
+ * @enum {string}
414
+ */
415
+ status: "sent";
416
+ };
417
+ TransferCommandFailedResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
418
+ /**
419
+ * @description The reason for the failure of the TransferCommand.
420
+ * failed:
421
+ * Completing the transfer failed, check the reason for details.
422
+ * withdrawn:
423
+ * The sender has withdrawn the TransferCommand before it could be completed.
424
+ * expired:
425
+ * The expiry time on the TransferCommand was reached before it could be completed.
426
+ * @enum {string}
427
+ */
428
+ failure_kind: "failed" | "expired" | "withdrawn";
429
+ /** @description Human readable description of the failure */
430
+ reason: string;
431
+ } & {
432
+ /**
433
+ * @description discriminator enum property added by openapi-typescript
434
+ * @enum {string}
435
+ */
436
+ status: "failed";
437
+ };
438
+ TransferCommandContractStatus: components["schemas"]["TransferCommandCreatedResponse"] | components["schemas"]["TransferCommandSentResponse"] | components["schemas"]["TransferCommandFailedResponse"];
439
+ /**
440
+ * @description A contract of Daml template `Splice.ExternalPartyAmuletRules:TransferCommand`,
441
+ * and its status determined by the latest transactions.
442
+ */
443
+ TransferCommandContractWithStatus: {
444
+ contract: components["schemas"]["Contract"];
445
+ status: components["schemas"]["TransferCommandContractStatus"];
446
+ };
447
+ TransferCommandMap: {
448
+ [key: string]: components["schemas"]["TransferCommandContractWithStatus"];
449
+ };
450
+ LookupTransferCommandStatusResponse: {
451
+ transfer_commands_by_contract_id: components["schemas"]["TransferCommandMap"];
452
+ };
453
+ HoldingsSummaryRequest: {
454
+ /**
455
+ * Format: int64
456
+ * @description The migration id for which to return the summary.
457
+ */
458
+ migration_id: number;
459
+ /**
460
+ * Format: date-time
461
+ * @description The timestamp at which the contract set was active.
462
+ * This needs to be an exact timestamp, i.e.,
463
+ * needs to correspond to a timestamp reported by `/v0/state/acs/snapshot-timestamp` if `record_time_match` is set to `exact` (which is the default).
464
+ * If `record_time_match` is set to `at_or_before`, this can be any timestamp, and the most recent snapshot at or before the given `record_time` will be returned.
465
+ */
466
+ record_time: string;
467
+ /**
468
+ * @description How to match the record_time. "exact" requires the record_time to match exactly.
469
+ * "at_or_before" finds the most recent snapshot at or before the given record_time.
470
+ * @default exact
471
+ * @enum {string}
472
+ */
473
+ record_time_match: "exact" | "at_or_before";
474
+ /** @description The owners for which to compute the summary. */
475
+ owner_party_ids: string[];
476
+ /**
477
+ * Format: int64
478
+ * @description Compute holding fees as of this round. Defaults to the earliest open mining round.
479
+ */
480
+ as_of_round?: number;
481
+ };
482
+ /** @description Aggregate Amulet totals for a particular owner party ID. */
483
+ HoldingsSummary: {
484
+ /** @description Owner party ID of the amulet. Guaranteed to be unique among `summaries`. */
485
+ party_id: string;
486
+ /**
487
+ * @description Sum of unlocked amulet at time of reception, not counting holding
488
+ * fees deducted since.
489
+ */
490
+ total_unlocked_coin: string;
491
+ /**
492
+ * @description Sum of locked amulet at time of original amulet reception, not
493
+ * counting holding fees deducted since.
494
+ */
495
+ total_locked_coin: string;
496
+ /** @description `total_unlocked_coin` + `total_locked_coin`. */
497
+ total_coin_holdings: string;
498
+ /**
499
+ * @description Sum of holding fees as of `computed_as_of_round` that apply to
500
+ * unlocked amulet.
501
+ */
502
+ accumulated_holding_fees_unlocked: string;
503
+ /**
504
+ * @description Sum of holding fees as of `computed_as_of_round` that apply to
505
+ * locked amulet, including fees applied since the amulet's creation
506
+ * round.
507
+ */
508
+ accumulated_holding_fees_locked: string;
509
+ /** @description Same as `accumulated_holding_fees_unlocked` + `accumulated_holding_fees_locked`. */
510
+ accumulated_holding_fees_total: string;
511
+ /** @description Same as `total_unlocked_coin` - `accumulated_holding_fees_unlocked`. */
512
+ total_available_coin: string;
513
+ };
514
+ HoldingsSummaryResponse: {
515
+ /**
516
+ * Format: date-time
517
+ * @description The same `record_time` as in the request.
518
+ */
519
+ record_time: string;
520
+ /**
521
+ * Format: int64
522
+ * @description The same `migration_id` as in the request.
523
+ */
524
+ migration_id: number;
525
+ /**
526
+ * Format: int64
527
+ * @description The same `as_of_round` as in the request, with the same default.
528
+ */
529
+ computed_as_of_round: number;
530
+ summaries: components["schemas"]["HoldingsSummary"][];
531
+ };
532
+ HoldingsSummaryRequestV1: {
533
+ /**
534
+ * Format: int64
535
+ * @description The migration id for which to return the summary.
536
+ */
537
+ migration_id: number;
538
+ /**
539
+ * Format: date-time
540
+ * @description The timestamp at which the contract set was active.
541
+ * This needs to be an exact timestamp, i.e.,
542
+ * needs to correspond to a timestamp reported by `/v0/state/acs/snapshot-timestamp` if `record_time_match` is set to `exact` (which is the default).
543
+ * If `record_time_match` is set to `at_or_before`, this can be any timestamp, and the most recent snapshot at or before the given `record_time` will be returned.
544
+ */
545
+ record_time: string;
546
+ /**
547
+ * @description How to match the record_time. "exact" requires the record_time to match exactly.
548
+ * "at_or_before" finds the most recent snapshot at or before the given record_time.
549
+ * @default exact
550
+ * @enum {string}
551
+ */
552
+ record_time_match: "exact" | "at_or_before";
553
+ /** @description The owners for which to compute the summary. */
554
+ owner_party_ids: string[];
555
+ };
556
+ /** @description Aggregate Amulet totals for a particular owner party ID. */
557
+ HoldingsSummaryV1: {
558
+ /** @description Owner party ID of the amulet. Guaranteed to be unique among `summaries`. */
559
+ party_id: string;
560
+ /**
561
+ * @description Sum of unlocked amulet initial amounts, not counting holding
562
+ * fees deducted since.
563
+ */
564
+ total_unlocked_coin: string;
565
+ /**
566
+ * @description Sum of locked amulet initial amounts, not
567
+ * counting holding fees deducted since.
568
+ */
569
+ total_locked_coin: string;
570
+ /** @description `total_unlocked_coin` + `total_locked_coin`. */
571
+ total_coin_holdings: string;
572
+ };
573
+ HoldingsSummaryResponseV1: {
574
+ /**
575
+ * Format: date-time
576
+ * @description The same `record_time` as in the request.
577
+ */
578
+ record_time: string;
579
+ /**
580
+ * Format: int64
581
+ * @description The same `migration_id` as in the request.
582
+ */
583
+ migration_id: number;
584
+ summaries: components["schemas"]["HoldingsSummaryV1"][];
585
+ };
586
+ ListUnclaimedDevelopmentFundCouponsResponse: {
587
+ /** @description Contracts of the Daml template `Splice.Amulet:UnclaimedDevelopmentFundCoupon`. */
588
+ "unclaimed-development-fund-coupons": components["schemas"]["ContractWithState"][];
589
+ };
590
+ };
591
+ responses: {
592
+ /** @description bad request */
593
+ 400: {
594
+ headers: {
595
+ [name: string]: unknown;
596
+ };
597
+ content: {
598
+ "application/json": components["schemas"]["ErrorResponse"];
599
+ };
600
+ };
601
+ /** @description not found */
602
+ 404: {
603
+ headers: {
604
+ [name: string]: unknown;
605
+ };
606
+ content: {
607
+ "application/json": components["schemas"]["ErrorResponse"];
608
+ };
609
+ };
610
+ /** @description internal server error */
611
+ 500: {
612
+ headers: {
613
+ [name: string]: unknown;
614
+ };
615
+ content: {
616
+ "application/json": components["schemas"]["ErrorResponse"];
617
+ };
618
+ };
619
+ };
620
+ parameters: never;
621
+ requestBodies: never;
622
+ headers: never;
623
+ pathItems: never;
624
+ }
625
+ export type $defs = Record<string, never>;
626
+ export interface operations {
627
+ getDsoPartyId: {
628
+ parameters: {
629
+ query?: never;
630
+ header?: never;
631
+ path?: never;
632
+ cookie?: never;
633
+ };
634
+ requestBody?: never;
635
+ responses: {
636
+ /** @description ok */
637
+ 200: {
638
+ headers: {
639
+ [name: string]: unknown;
640
+ };
641
+ content: {
642
+ "application/json": components["schemas"]["GetDsoPartyIdResponse"];
643
+ };
644
+ };
645
+ };
646
+ };
647
+ getDsoInfo: {
648
+ parameters: {
649
+ query?: never;
650
+ header?: never;
651
+ path?: never;
652
+ cookie?: never;
653
+ };
654
+ requestBody?: never;
655
+ responses: {
656
+ /** @description ok */
657
+ 200: {
658
+ headers: {
659
+ [name: string]: unknown;
660
+ };
661
+ content: {
662
+ "application/json": components["schemas"]["GetDsoInfoResponse"];
663
+ };
664
+ };
665
+ };
666
+ };
667
+ lookupFeaturedAppRight: {
668
+ parameters: {
669
+ query?: never;
670
+ header?: never;
671
+ path: {
672
+ provider_party_id: string;
673
+ };
674
+ cookie?: never;
675
+ };
676
+ requestBody?: never;
677
+ responses: {
678
+ /** @description ok */
679
+ 200: {
680
+ headers: {
681
+ [name: string]: unknown;
682
+ };
683
+ content: {
684
+ "application/json": components["schemas"]["LookupFeaturedAppRightResponse"];
685
+ };
686
+ };
687
+ };
688
+ };
689
+ getOpenAndIssuingMiningRounds: {
690
+ parameters: {
691
+ query?: never;
692
+ header?: never;
693
+ path?: never;
694
+ cookie?: never;
695
+ };
696
+ requestBody?: never;
697
+ responses: {
698
+ /** @description ok */
699
+ 200: {
700
+ headers: {
701
+ [name: string]: unknown;
702
+ };
703
+ content: {
704
+ "application/json": components["schemas"]["GetOpenAndIssuingMiningRoundsProxyResponse"];
705
+ };
706
+ };
707
+ };
708
+ };
709
+ getAmuletRules: {
710
+ parameters: {
711
+ query?: never;
712
+ header?: never;
713
+ path?: never;
714
+ cookie?: never;
715
+ };
716
+ requestBody?: never;
717
+ responses: {
718
+ /** @description ok */
719
+ 200: {
720
+ headers: {
721
+ [name: string]: unknown;
722
+ };
723
+ content: {
724
+ "application/json": components["schemas"]["GetAmuletRulesProxyResponse"];
725
+ };
726
+ };
727
+ };
728
+ };
729
+ lookupAnsEntryByParty: {
730
+ parameters: {
731
+ query?: never;
732
+ header?: never;
733
+ path: {
734
+ party: string;
735
+ };
736
+ cookie?: never;
737
+ };
738
+ requestBody?: never;
739
+ responses: {
740
+ /** @description ok */
741
+ 200: {
742
+ headers: {
743
+ [name: string]: unknown;
744
+ };
745
+ content: {
746
+ "application/json": components["schemas"]["LookupEntryByPartyResponse"];
747
+ };
748
+ };
749
+ 404: components["responses"]["404"];
750
+ };
751
+ };
752
+ listAnsEntries: {
753
+ parameters: {
754
+ query: {
755
+ name_prefix?: string;
756
+ page_size: number;
757
+ };
758
+ header?: never;
759
+ path?: never;
760
+ cookie?: never;
761
+ };
762
+ requestBody?: never;
763
+ responses: {
764
+ /** @description ok */
765
+ 200: {
766
+ headers: {
767
+ [name: string]: unknown;
768
+ };
769
+ content: {
770
+ "application/json": components["schemas"]["ListEntriesResponse"];
771
+ };
772
+ };
773
+ };
774
+ };
775
+ lookupAnsEntryByName: {
776
+ parameters: {
777
+ query?: never;
778
+ header?: never;
779
+ path: {
780
+ name: string;
781
+ };
782
+ cookie?: never;
783
+ };
784
+ requestBody?: never;
785
+ responses: {
786
+ /** @description ok */
787
+ 200: {
788
+ headers: {
789
+ [name: string]: unknown;
790
+ };
791
+ content: {
792
+ "application/json": components["schemas"]["LookupEntryByNameResponse"];
793
+ };
794
+ };
795
+ 404: components["responses"]["404"];
796
+ };
797
+ };
798
+ getAnsRules: {
799
+ parameters: {
800
+ query?: never;
801
+ header?: never;
802
+ path?: never;
803
+ cookie?: never;
804
+ };
805
+ requestBody: {
806
+ content: {
807
+ "application/json": components["schemas"]["GetAnsRulesRequest"];
808
+ };
809
+ };
810
+ responses: {
811
+ /** @description ok */
812
+ 200: {
813
+ headers: {
814
+ [name: string]: unknown;
815
+ };
816
+ content: {
817
+ "application/json": components["schemas"]["GetAnsRulesResponse"];
818
+ };
819
+ };
820
+ };
821
+ };
822
+ lookupTransferPreapprovalByParty: {
823
+ parameters: {
824
+ query?: never;
825
+ header?: never;
826
+ path: {
827
+ party: string;
828
+ };
829
+ cookie?: never;
830
+ };
831
+ requestBody?: never;
832
+ responses: {
833
+ /** @description ok */
834
+ 200: {
835
+ headers: {
836
+ [name: string]: unknown;
837
+ };
838
+ content: {
839
+ "application/json": components["schemas"]["LookupTransferPreapprovalByPartyResponse"];
840
+ };
841
+ };
842
+ 404: components["responses"]["404"];
843
+ };
844
+ };
845
+ lookupTransferCommandCounterByParty: {
846
+ parameters: {
847
+ query?: never;
848
+ header?: never;
849
+ path: {
850
+ party: string;
851
+ };
852
+ cookie?: never;
853
+ };
854
+ requestBody?: never;
855
+ responses: {
856
+ /** @description ok */
857
+ 200: {
858
+ headers: {
859
+ [name: string]: unknown;
860
+ };
861
+ content: {
862
+ "application/json": components["schemas"]["LookupTransferCommandCounterByPartyResponse"];
863
+ };
864
+ };
865
+ /** @description No TransferCommandCounter exists for this party. This means the nonce that should be used is 0. */
866
+ 404: components["responses"]["404"];
867
+ };
868
+ };
869
+ lookupTransferCommandStatus: {
870
+ parameters: {
871
+ query: {
872
+ sender: string;
873
+ nonce: number;
874
+ };
875
+ header?: never;
876
+ path?: never;
877
+ cookie?: never;
878
+ };
879
+ requestBody?: never;
880
+ responses: {
881
+ /** @description ok */
882
+ 200: {
883
+ headers: {
884
+ [name: string]: unknown;
885
+ };
886
+ content: {
887
+ "application/json": components["schemas"]["LookupTransferCommandStatusResponse"];
888
+ };
889
+ };
890
+ /** @description No TransferCommand exists with this contract id within the last 24h */
891
+ 404: components["responses"]["404"];
892
+ };
893
+ };
894
+ getHoldingsSummaryAt: {
895
+ parameters: {
896
+ query?: never;
897
+ header?: never;
898
+ path?: never;
899
+ cookie?: never;
900
+ };
901
+ requestBody: {
902
+ content: {
903
+ "application/json": components["schemas"]["HoldingsSummaryRequest"];
904
+ };
905
+ };
906
+ responses: {
907
+ /** @description ok */
908
+ 200: {
909
+ headers: {
910
+ [name: string]: unknown;
911
+ };
912
+ content: {
913
+ "application/json": components["schemas"]["HoldingsSummaryResponse"];
914
+ };
915
+ };
916
+ 400: components["responses"]["400"];
917
+ 404: components["responses"]["404"];
918
+ 500: components["responses"]["500"];
919
+ };
920
+ };
921
+ getHoldingsSummaryAtV1: {
922
+ parameters: {
923
+ query?: never;
924
+ header?: never;
925
+ path?: never;
926
+ cookie?: never;
927
+ };
928
+ requestBody: {
929
+ content: {
930
+ "application/json": components["schemas"]["HoldingsSummaryRequestV1"];
931
+ };
932
+ };
933
+ responses: {
934
+ /** @description ok */
935
+ 200: {
936
+ headers: {
937
+ [name: string]: unknown;
938
+ };
939
+ content: {
940
+ "application/json": components["schemas"]["HoldingsSummaryResponseV1"];
941
+ };
942
+ };
943
+ 400: components["responses"]["400"];
944
+ 404: components["responses"]["404"];
945
+ 500: components["responses"]["500"];
946
+ };
947
+ };
948
+ listUnclaimedDevelopmentFundCoupons: {
949
+ parameters: {
950
+ query?: never;
951
+ header?: never;
952
+ path?: never;
953
+ cookie?: never;
954
+ };
955
+ requestBody?: never;
956
+ responses: {
957
+ /** @description ok */
958
+ 200: {
959
+ headers: {
960
+ [name: string]: unknown;
961
+ };
962
+ content: {
963
+ "application/json": components["schemas"]["ListUnclaimedDevelopmentFundCouponsResponse"];
964
+ };
965
+ };
966
+ };
967
+ };
968
+ }
969
+ //# sourceMappingURL=scan-proxy.d.ts.map