cantonjs-splice-validator 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +143 -0
  2. package/dist/createAnsClient.d.ts +33 -0
  3. package/dist/createAnsClient.js +22 -0
  4. package/dist/createAnsClient.js.map +1 -0
  5. package/dist/createLegacyWalletClient.d.ts +51 -0
  6. package/dist/createLegacyWalletClient.js +81 -0
  7. package/dist/createLegacyWalletClient.js.map +1 -0
  8. package/dist/createScanProxyClient.d.ts +108 -0
  9. package/dist/createScanProxyClient.js +161 -0
  10. package/dist/createScanProxyClient.js.map +1 -0
  11. package/dist/experimental/createExperimentalScanProxyClient.d.ts +81 -0
  12. package/dist/experimental/createExperimentalScanProxyClient.js +135 -0
  13. package/dist/experimental/createExperimentalScanProxyClient.js.map +1 -0
  14. package/dist/experimental/createExperimentalValidatorInternalClient.d.ts +183 -0
  15. package/dist/experimental/createExperimentalValidatorInternalClient.js +327 -0
  16. package/dist/experimental/createExperimentalValidatorInternalClient.js.map +1 -0
  17. package/dist/experimental/index.d.ts +2 -0
  18. package/dist/experimental/index.js +3 -0
  19. package/dist/experimental/index.js.map +1 -0
  20. package/dist/generated/ans.types.d.ts +194 -0
  21. package/dist/generated/ans.types.js +6 -0
  22. package/dist/generated/ans.types.js.map +1 -0
  23. package/dist/generated/scanProxy.types.d.ts +836 -0
  24. package/dist/generated/scanProxy.types.js +6 -0
  25. package/dist/generated/scanProxy.types.js.map +1 -0
  26. package/dist/generated/validatorInternal.types.d.ts +1297 -0
  27. package/dist/generated/validatorInternal.types.js +6 -0
  28. package/dist/generated/validatorInternal.types.js.map +1 -0
  29. package/dist/generated/walletExternal.types.d.ts +544 -0
  30. package/dist/generated/walletExternal.types.js +6 -0
  31. package/dist/generated/walletExternal.types.js.map +1 -0
  32. package/dist/index.d.ts +5 -0
  33. package/dist/index.js +5 -0
  34. package/dist/index.js.map +1 -0
  35. package/package.json +67 -0
@@ -0,0 +1,836 @@
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
+ * @description Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
210
+ * This is an aggregate of `/v0/holdings/state` by owner party ID with better performance than client-side computation.
211
+ */
212
+ post: operations["getHoldingsSummaryAt"];
213
+ delete?: never;
214
+ options?: never;
215
+ head?: never;
216
+ patch?: never;
217
+ trace?: never;
218
+ };
219
+ "/v0/scan-proxy/unclaimed-development-fund-coupons": {
220
+ parameters: {
221
+ query?: never;
222
+ header?: never;
223
+ path?: never;
224
+ cookie?: never;
225
+ };
226
+ /** @description List all unclaimed development fund coupons. */
227
+ get: operations["listUnclaimedDevelopmentFundCoupons"];
228
+ put?: never;
229
+ post?: never;
230
+ delete?: never;
231
+ options?: never;
232
+ head?: never;
233
+ patch?: never;
234
+ trace?: never;
235
+ };
236
+ }
237
+ export type webhooks = Record<string, never>;
238
+ export interface components {
239
+ schemas: {
240
+ GetOpenAndIssuingMiningRoundsProxyResponse: {
241
+ open_mining_rounds: components["schemas"]["ContractWithState"][];
242
+ issuing_mining_rounds: components["schemas"]["ContractWithState"][];
243
+ };
244
+ GetAmuletRulesProxyResponse: {
245
+ amulet_rules: components["schemas"]["ContractWithState"];
246
+ };
247
+ GetDsoPartyIdResponse: {
248
+ dso_party_id: string;
249
+ };
250
+ GetDsoInfoResponse: {
251
+ [key: string]: unknown;
252
+ };
253
+ ContractId: string;
254
+ Contract: {
255
+ contract_id?: components["schemas"]["ContractId"];
256
+ template_id?: string;
257
+ package_name?: string;
258
+ payload?: {
259
+ [key: string]: unknown;
260
+ };
261
+ } & {
262
+ [key: string]: unknown;
263
+ };
264
+ /** @description If defined, a contract of Daml template `Splice.Amulet.FeaturedAppRight`. */
265
+ LookupFeaturedAppRightResponse: {
266
+ featured_app_right?: components["schemas"]["Contract"];
267
+ };
268
+ ContractWithState: {
269
+ contract?: components["schemas"]["Contract"];
270
+ state?: string;
271
+ domain_id?: string;
272
+ } & {
273
+ [key: string]: unknown;
274
+ };
275
+ AnsEntry: {
276
+ /**
277
+ * @description If present, Daml contract ID of template `Splice.Ans:AnsEntry`.
278
+ * If absent, this is a DSO-provided entry for either the DSO or an SV.
279
+ */
280
+ contract_id?: string;
281
+ /** @description Owner party ID of this ANS entry. */
282
+ user: string;
283
+ /** @description The ANS entry name. */
284
+ name: string;
285
+ /** @description Either empty, or an http/https URL supplied by the `user`. */
286
+ url: string;
287
+ /** @description Arbitrary description text supplied by `user`; may be empty. */
288
+ description: string;
289
+ /**
290
+ * Format: date-time
291
+ * @description Time after which this ANS entry expires; if renewed, it will have a
292
+ * new `contract_id` and `expires_at`.
293
+ * If `null` or absent, does not expire; this is the case only for
294
+ * special entries provided by the DSO.
295
+ */
296
+ expires_at?: string;
297
+ };
298
+ LookupEntryByPartyResponse: {
299
+ entry: components["schemas"]["AnsEntry"];
300
+ };
301
+ ErrorResponse: {
302
+ error?: string;
303
+ message?: string;
304
+ details?: {
305
+ [key: string]: unknown;
306
+ };
307
+ } & {
308
+ [key: string]: unknown;
309
+ };
310
+ ListEntriesResponse: {
311
+ entries: components["schemas"]["AnsEntry"][];
312
+ };
313
+ LookupEntryByNameResponse: {
314
+ entry: components["schemas"]["AnsEntry"];
315
+ };
316
+ GetAnsRulesRequest: {
317
+ cached_ans_rules_contract_id?: components["schemas"]["ContractId"];
318
+ cached_ans_rules_domain_id?: string;
319
+ };
320
+ MaybeCachedContractWithState: {
321
+ contract_id?: components["schemas"]["ContractId"];
322
+ contract?: components["schemas"]["ContractWithState"];
323
+ cached?: boolean;
324
+ } & {
325
+ [key: string]: unknown;
326
+ };
327
+ /** @description A contract state update of Daml template `Splice.Ans.AnsRules`. */
328
+ GetAnsRulesResponse: {
329
+ ans_rules_update: components["schemas"]["MaybeCachedContractWithState"];
330
+ };
331
+ /** @description A Daml contract of template `Splice.AmuletRules:TransferPreapproval`. */
332
+ LookupTransferPreapprovalByPartyResponse: {
333
+ transfer_preapproval: components["schemas"]["ContractWithState"];
334
+ };
335
+ /** @description A Daml contract of template `Splice.ExternalPartyAmuletRules:TransferCommandCounter`. */
336
+ LookupTransferCommandCounterByPartyResponse: {
337
+ transfer_command_counter: components["schemas"]["ContractWithState"];
338
+ };
339
+ BaseLookupTransferCommandStatusResponse: {
340
+ /**
341
+ * @description The status of the transfer command.
342
+ * created:
343
+ * The transfer command has been created and is waiting for automation to complete it.
344
+ * sent:
345
+ * The transfer command has been completed and the transfer to the receiver has finished.
346
+ * failed:
347
+ * The transfer command has failed permanently and nothing has been transferred. Refer to
348
+ * failure_reason for details. A new transfer command can be created.
349
+ */
350
+ status: string;
351
+ };
352
+ TransferCommandCreatedResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
353
+ /**
354
+ * @description discriminator enum property added by openapi-typescript
355
+ * @enum {string}
356
+ */
357
+ status: "created";
358
+ };
359
+ TransferCommandSentResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
360
+ /**
361
+ * @description discriminator enum property added by openapi-typescript
362
+ * @enum {string}
363
+ */
364
+ status: "sent";
365
+ };
366
+ TransferCommandFailedResponse: components["schemas"]["BaseLookupTransferCommandStatusResponse"] & {
367
+ /**
368
+ * @description The reason for the failure of the TransferCommand.
369
+ * failed:
370
+ * Completing the transfer failed, check the reason for details.
371
+ * withdrawn:
372
+ * The sender has withdrawn the TransferCommand before it could be completed.
373
+ * expired:
374
+ * The expiry time on the TransferCommand was reached before it could be completed.
375
+ * @enum {string}
376
+ */
377
+ failure_kind: "failed" | "expired" | "withdrawn";
378
+ /** @description Human readable description of the failure */
379
+ reason: string;
380
+ } & {
381
+ /**
382
+ * @description discriminator enum property added by openapi-typescript
383
+ * @enum {string}
384
+ */
385
+ status: "failed";
386
+ };
387
+ TransferCommandContractStatus: components["schemas"]["TransferCommandCreatedResponse"] | components["schemas"]["TransferCommandSentResponse"] | components["schemas"]["TransferCommandFailedResponse"];
388
+ /**
389
+ * @description A contract of Daml template `Splice.ExternalPartyAmuletRules:TransferCommand`,
390
+ * and its status determined by the latest transactions.
391
+ */
392
+ TransferCommandContractWithStatus: {
393
+ contract: components["schemas"]["Contract"];
394
+ status: components["schemas"]["TransferCommandContractStatus"];
395
+ };
396
+ TransferCommandMap: {
397
+ [key: string]: components["schemas"]["TransferCommandContractWithStatus"];
398
+ };
399
+ LookupTransferCommandStatusResponse: {
400
+ transfer_commands_by_contract_id: components["schemas"]["TransferCommandMap"];
401
+ };
402
+ HoldingsSummaryRequest: {
403
+ /**
404
+ * Format: int64
405
+ * @description The migration id for which to return the summary.
406
+ */
407
+ migration_id: number;
408
+ /**
409
+ * Format: date-time
410
+ * @description The timestamp at which the contract set was active.
411
+ * This needs to be an exact timestamp, i.e.,
412
+ * 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).
413
+ * 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.
414
+ */
415
+ record_time: string;
416
+ /**
417
+ * @description How to match the record_time. "exact" requires the record_time to match exactly.
418
+ * "at_or_before" finds the most recent snapshot at or before the given record_time.
419
+ * @default exact
420
+ * @enum {string}
421
+ */
422
+ record_time_match: "exact" | "at_or_before";
423
+ /** @description The owners for which to compute the summary. */
424
+ owner_party_ids: string[];
425
+ /**
426
+ * Format: int64
427
+ * @description Compute holding fees as of this round. Defaults to the earliest open mining round.
428
+ */
429
+ as_of_round?: number;
430
+ };
431
+ /** @description Aggregate Amulet totals for a particular owner party ID. */
432
+ HoldingsSummary: {
433
+ /** @description Owner party ID of the amulet. Guaranteed to be unique among `summaries`. */
434
+ party_id: string;
435
+ /**
436
+ * @description Sum of unlocked amulet at time of reception, not counting holding
437
+ * fees deducted since.
438
+ */
439
+ total_unlocked_coin: string;
440
+ /**
441
+ * @description Sum of locked amulet at time of original amulet reception, not
442
+ * counting holding fees deducted since.
443
+ */
444
+ total_locked_coin: string;
445
+ /** @description `total_unlocked_coin` + `total_locked_coin`. */
446
+ total_coin_holdings: string;
447
+ /**
448
+ * @description Sum of holding fees as of `computed_as_of_round` that apply to
449
+ * unlocked amulet.
450
+ */
451
+ accumulated_holding_fees_unlocked: string;
452
+ /**
453
+ * @description Sum of holding fees as of `computed_as_of_round` that apply to
454
+ * locked amulet, including fees applied since the amulet's creation
455
+ * round.
456
+ */
457
+ accumulated_holding_fees_locked: string;
458
+ /** @description Same as `accumulated_holding_fees_unlocked` + `accumulated_holding_fees_locked`. */
459
+ accumulated_holding_fees_total: string;
460
+ /** @description Same as `total_unlocked_coin` - `accumulated_holding_fees_unlocked`. */
461
+ total_available_coin: string;
462
+ };
463
+ HoldingsSummaryResponse: {
464
+ /**
465
+ * Format: date-time
466
+ * @description The same `record_time` as in the request.
467
+ */
468
+ record_time: string;
469
+ /**
470
+ * Format: int64
471
+ * @description The same `migration_id` as in the request.
472
+ */
473
+ migration_id: number;
474
+ /**
475
+ * Format: int64
476
+ * @description The same `as_of_round` as in the request, with the same default.
477
+ */
478
+ computed_as_of_round: number;
479
+ summaries: components["schemas"]["HoldingsSummary"][];
480
+ };
481
+ ListUnclaimedDevelopmentFundCouponsResponse: {
482
+ /** @description Contracts of the Daml template `Splice.Amulet:UnclaimedDevelopmentFundCoupon`. */
483
+ "unclaimed-development-fund-coupons": components["schemas"]["ContractWithState"][];
484
+ };
485
+ };
486
+ responses: {
487
+ /** @description bad request */
488
+ 400: {
489
+ headers: {
490
+ [name: string]: unknown;
491
+ };
492
+ content: {
493
+ "application/json": components["schemas"]["ErrorResponse"];
494
+ };
495
+ };
496
+ /** @description not found */
497
+ 404: {
498
+ headers: {
499
+ [name: string]: unknown;
500
+ };
501
+ content: {
502
+ "application/json": components["schemas"]["ErrorResponse"];
503
+ };
504
+ };
505
+ /** @description internal server error */
506
+ 500: {
507
+ headers: {
508
+ [name: string]: unknown;
509
+ };
510
+ content: {
511
+ "application/json": components["schemas"]["ErrorResponse"];
512
+ };
513
+ };
514
+ };
515
+ parameters: never;
516
+ requestBodies: never;
517
+ headers: never;
518
+ pathItems: never;
519
+ }
520
+ export type $defs = Record<string, never>;
521
+ export interface operations {
522
+ getDsoPartyId: {
523
+ parameters: {
524
+ query?: never;
525
+ header?: never;
526
+ path?: never;
527
+ cookie?: never;
528
+ };
529
+ requestBody?: never;
530
+ responses: {
531
+ /** @description ok */
532
+ 200: {
533
+ headers: {
534
+ [name: string]: unknown;
535
+ };
536
+ content: {
537
+ "application/json": components["schemas"]["GetDsoPartyIdResponse"];
538
+ };
539
+ };
540
+ };
541
+ };
542
+ getDsoInfo: {
543
+ parameters: {
544
+ query?: never;
545
+ header?: never;
546
+ path?: never;
547
+ cookie?: never;
548
+ };
549
+ requestBody?: never;
550
+ responses: {
551
+ /** @description ok */
552
+ 200: {
553
+ headers: {
554
+ [name: string]: unknown;
555
+ };
556
+ content: {
557
+ "application/json": components["schemas"]["GetDsoInfoResponse"];
558
+ };
559
+ };
560
+ };
561
+ };
562
+ lookupFeaturedAppRight: {
563
+ parameters: {
564
+ query?: never;
565
+ header?: never;
566
+ path: {
567
+ provider_party_id: string;
568
+ };
569
+ cookie?: never;
570
+ };
571
+ requestBody?: never;
572
+ responses: {
573
+ /** @description ok */
574
+ 200: {
575
+ headers: {
576
+ [name: string]: unknown;
577
+ };
578
+ content: {
579
+ "application/json": components["schemas"]["LookupFeaturedAppRightResponse"];
580
+ };
581
+ };
582
+ };
583
+ };
584
+ getOpenAndIssuingMiningRounds: {
585
+ parameters: {
586
+ query?: never;
587
+ header?: never;
588
+ path?: never;
589
+ cookie?: never;
590
+ };
591
+ requestBody?: never;
592
+ responses: {
593
+ /** @description ok */
594
+ 200: {
595
+ headers: {
596
+ [name: string]: unknown;
597
+ };
598
+ content: {
599
+ "application/json": components["schemas"]["GetOpenAndIssuingMiningRoundsProxyResponse"];
600
+ };
601
+ };
602
+ };
603
+ };
604
+ getAmuletRules: {
605
+ parameters: {
606
+ query?: never;
607
+ header?: never;
608
+ path?: never;
609
+ cookie?: never;
610
+ };
611
+ requestBody?: never;
612
+ responses: {
613
+ /** @description ok */
614
+ 200: {
615
+ headers: {
616
+ [name: string]: unknown;
617
+ };
618
+ content: {
619
+ "application/json": components["schemas"]["GetAmuletRulesProxyResponse"];
620
+ };
621
+ };
622
+ };
623
+ };
624
+ lookupAnsEntryByParty: {
625
+ parameters: {
626
+ query?: never;
627
+ header?: never;
628
+ path: {
629
+ party: string;
630
+ };
631
+ cookie?: never;
632
+ };
633
+ requestBody?: never;
634
+ responses: {
635
+ /** @description ok */
636
+ 200: {
637
+ headers: {
638
+ [name: string]: unknown;
639
+ };
640
+ content: {
641
+ "application/json": components["schemas"]["LookupEntryByPartyResponse"];
642
+ };
643
+ };
644
+ 404: components["responses"]["404"];
645
+ };
646
+ };
647
+ listAnsEntries: {
648
+ parameters: {
649
+ query: {
650
+ name_prefix?: string;
651
+ page_size: number;
652
+ };
653
+ header?: never;
654
+ path?: never;
655
+ cookie?: never;
656
+ };
657
+ requestBody?: never;
658
+ responses: {
659
+ /** @description ok */
660
+ 200: {
661
+ headers: {
662
+ [name: string]: unknown;
663
+ };
664
+ content: {
665
+ "application/json": components["schemas"]["ListEntriesResponse"];
666
+ };
667
+ };
668
+ };
669
+ };
670
+ lookupAnsEntryByName: {
671
+ parameters: {
672
+ query?: never;
673
+ header?: never;
674
+ path: {
675
+ name: string;
676
+ };
677
+ cookie?: never;
678
+ };
679
+ requestBody?: never;
680
+ responses: {
681
+ /** @description ok */
682
+ 200: {
683
+ headers: {
684
+ [name: string]: unknown;
685
+ };
686
+ content: {
687
+ "application/json": components["schemas"]["LookupEntryByNameResponse"];
688
+ };
689
+ };
690
+ 404: components["responses"]["404"];
691
+ };
692
+ };
693
+ getAnsRules: {
694
+ parameters: {
695
+ query?: never;
696
+ header?: never;
697
+ path?: never;
698
+ cookie?: never;
699
+ };
700
+ requestBody: {
701
+ content: {
702
+ "application/json": components["schemas"]["GetAnsRulesRequest"];
703
+ };
704
+ };
705
+ responses: {
706
+ /** @description ok */
707
+ 200: {
708
+ headers: {
709
+ [name: string]: unknown;
710
+ };
711
+ content: {
712
+ "application/json": components["schemas"]["GetAnsRulesResponse"];
713
+ };
714
+ };
715
+ };
716
+ };
717
+ lookupTransferPreapprovalByParty: {
718
+ parameters: {
719
+ query?: never;
720
+ header?: never;
721
+ path: {
722
+ party: string;
723
+ };
724
+ cookie?: never;
725
+ };
726
+ requestBody?: never;
727
+ responses: {
728
+ /** @description ok */
729
+ 200: {
730
+ headers: {
731
+ [name: string]: unknown;
732
+ };
733
+ content: {
734
+ "application/json": components["schemas"]["LookupTransferPreapprovalByPartyResponse"];
735
+ };
736
+ };
737
+ 404: components["responses"]["404"];
738
+ };
739
+ };
740
+ lookupTransferCommandCounterByParty: {
741
+ parameters: {
742
+ query?: never;
743
+ header?: never;
744
+ path: {
745
+ party: string;
746
+ };
747
+ cookie?: never;
748
+ };
749
+ requestBody?: never;
750
+ responses: {
751
+ /** @description ok */
752
+ 200: {
753
+ headers: {
754
+ [name: string]: unknown;
755
+ };
756
+ content: {
757
+ "application/json": components["schemas"]["LookupTransferCommandCounterByPartyResponse"];
758
+ };
759
+ };
760
+ /** @description No TransferCommandCounter exists for this party. This means the nonce that should be used is 0. */
761
+ 404: components["responses"]["404"];
762
+ };
763
+ };
764
+ lookupTransferCommandStatus: {
765
+ parameters: {
766
+ query: {
767
+ sender: string;
768
+ nonce: number;
769
+ };
770
+ header?: never;
771
+ path?: never;
772
+ cookie?: never;
773
+ };
774
+ requestBody?: never;
775
+ responses: {
776
+ /** @description ok */
777
+ 200: {
778
+ headers: {
779
+ [name: string]: unknown;
780
+ };
781
+ content: {
782
+ "application/json": components["schemas"]["LookupTransferCommandStatusResponse"];
783
+ };
784
+ };
785
+ /** @description No TransferCommand exists with this contract id within the last 24h */
786
+ 404: components["responses"]["404"];
787
+ };
788
+ };
789
+ getHoldingsSummaryAt: {
790
+ parameters: {
791
+ query?: never;
792
+ header?: never;
793
+ path?: never;
794
+ cookie?: never;
795
+ };
796
+ requestBody: {
797
+ content: {
798
+ "application/json": components["schemas"]["HoldingsSummaryRequest"];
799
+ };
800
+ };
801
+ responses: {
802
+ /** @description ok */
803
+ 200: {
804
+ headers: {
805
+ [name: string]: unknown;
806
+ };
807
+ content: {
808
+ "application/json": components["schemas"]["HoldingsSummaryResponse"];
809
+ };
810
+ };
811
+ 400: components["responses"]["400"];
812
+ 404: components["responses"]["404"];
813
+ 500: components["responses"]["500"];
814
+ };
815
+ };
816
+ listUnclaimedDevelopmentFundCoupons: {
817
+ parameters: {
818
+ query?: never;
819
+ header?: never;
820
+ path?: never;
821
+ cookie?: never;
822
+ };
823
+ requestBody?: never;
824
+ responses: {
825
+ /** @description ok */
826
+ 200: {
827
+ headers: {
828
+ [name: string]: unknown;
829
+ };
830
+ content: {
831
+ "application/json": components["schemas"]["ListUnclaimedDevelopmentFundCouponsResponse"];
832
+ };
833
+ };
834
+ };
835
+ };
836
+ }