@ledgerhq/revault-api 1.83.0 → 1.83.1

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.
@@ -6237,13 +6237,9 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6237
6237
  senders: z.ZodArray<z.ZodString>;
6238
6238
  recipients: z.ZodArray<z.ZodString>;
6239
6239
  type: z.ZodEnum<{
6240
- CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
6241
- CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
6242
- CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
6243
- CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
6244
- CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
6240
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
6241
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
6245
6242
  }>;
6246
- reason: z.ZodNullable<z.ZodString>;
6247
6243
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6248
6244
  requestId: z.ZodNullable<z.ZodString>;
6249
6245
  }, z.core.$strip> | z.ZodObject<{
@@ -6265,9 +6261,39 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6265
6261
  senders: z.ZodArray<z.ZodString>;
6266
6262
  recipients: z.ZodArray<z.ZodString>;
6267
6263
  type: z.ZodEnum<{
6268
- BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
6269
- BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
6264
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
6265
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
6266
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
6267
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
6268
+ }>;
6269
+ note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6270
+ requestId: z.ZodNullable<z.ZodString>;
6271
+ }, z.core.$strip> | z.ZodObject<{
6272
+ id: z.ZodString;
6273
+ hash: z.ZodString;
6274
+ block: z.ZodObject<{
6275
+ height: z.ZodNullable<z.ZodString>;
6276
+ time: z.ZodNullable<z.ZodString>;
6277
+ }, z.core.$strip>;
6278
+ status: z.ZodEnum<{
6279
+ FAILED: "FAILED";
6280
+ PENDING: "PENDING";
6281
+ SUCCESSFUL: "SUCCESSFUL";
6282
+ UNKNOWN: "UNKNOWN";
6283
+ }>;
6284
+ confirmations: z.ZodString;
6285
+ amount: z.ZodString;
6286
+ fee: z.ZodString;
6287
+ senders: z.ZodArray<z.ZodString>;
6288
+ recipients: z.ZodArray<z.ZodString>;
6289
+ type: z.ZodEnum<{
6290
+ CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
6291
+ CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
6292
+ CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
6293
+ CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
6294
+ CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
6270
6295
  }>;
6296
+ reason: z.ZodNullable<z.ZodString>;
6271
6297
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6272
6298
  requestId: z.ZodNullable<z.ZodString>;
6273
6299
  }, z.core.$strip> | z.ZodObject<{
@@ -6524,12 +6550,7 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6524
6550
  senders: z.ZodArray<z.ZodString>;
6525
6551
  recipients: z.ZodArray<z.ZodString>;
6526
6552
  type: z.ZodEnum<{
6527
- HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
6528
- HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
6529
- HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
6530
- HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
6531
- HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
6532
- HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
6553
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
6533
6554
  }>;
6534
6555
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6535
6556
  requestId: z.ZodNullable<z.ZodString>;
@@ -6552,7 +6573,12 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6552
6573
  senders: z.ZodArray<z.ZodString>;
6553
6574
  recipients: z.ZodArray<z.ZodString>;
6554
6575
  type: z.ZodEnum<{
6555
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
6576
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
6577
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
6578
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
6579
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
6580
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
6581
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
6556
6582
  }>;
6557
6583
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6558
6584
  requestId: z.ZodNullable<z.ZodString>;
@@ -6750,7 +6776,7 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6750
6776
  }>;
6751
6777
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6752
6778
  requestId: z.ZodNullable<z.ZodString>;
6753
- }, z.core.$strip> | z.ZodObject<{
6779
+ }, z.core.$strip>, ...(z.ZodObject<{
6754
6780
  id: z.ZodString;
6755
6781
  hash: z.ZodString;
6756
6782
  block: z.ZodObject<{
@@ -6769,14 +6795,12 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6769
6795
  senders: z.ZodArray<z.ZodString>;
6770
6796
  recipients: z.ZodArray<z.ZodString>;
6771
6797
  type: z.ZodEnum<{
6772
- TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
6773
- TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
6774
- TRON_LIKE_SEND: "TRON_LIKE_SEND";
6775
- TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
6798
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
6799
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
6776
6800
  }>;
6777
6801
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6778
6802
  requestId: z.ZodNullable<z.ZodString>;
6779
- }, z.core.$strip>, ...(z.ZodObject<{
6803
+ }, z.core.$strip> | z.ZodObject<{
6780
6804
  id: z.ZodString;
6781
6805
  hash: z.ZodString;
6782
6806
  block: z.ZodObject<{
@@ -6795,13 +6819,11 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6795
6819
  senders: z.ZodArray<z.ZodString>;
6796
6820
  recipients: z.ZodArray<z.ZodString>;
6797
6821
  type: z.ZodEnum<{
6798
- CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
6799
- CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
6800
- CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
6801
- CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
6802
- CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
6822
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
6823
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
6824
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
6825
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
6803
6826
  }>;
6804
- reason: z.ZodNullable<z.ZodString>;
6805
6827
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6806
6828
  requestId: z.ZodNullable<z.ZodString>;
6807
6829
  }, z.core.$strip> | z.ZodObject<{
@@ -6823,9 +6845,13 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6823
6845
  senders: z.ZodArray<z.ZodString>;
6824
6846
  recipients: z.ZodArray<z.ZodString>;
6825
6847
  type: z.ZodEnum<{
6826
- BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
6827
- BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
6848
+ CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
6849
+ CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
6850
+ CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
6851
+ CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
6852
+ CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
6828
6853
  }>;
6854
+ reason: z.ZodNullable<z.ZodString>;
6829
6855
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6830
6856
  requestId: z.ZodNullable<z.ZodString>;
6831
6857
  }, z.core.$strip> | z.ZodObject<{
@@ -7082,12 +7108,7 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
7082
7108
  senders: z.ZodArray<z.ZodString>;
7083
7109
  recipients: z.ZodArray<z.ZodString>;
7084
7110
  type: z.ZodEnum<{
7085
- HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
7086
- HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
7087
- HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
7088
- HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
7089
- HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
7090
- HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
7111
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
7091
7112
  }>;
7092
7113
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
7093
7114
  requestId: z.ZodNullable<z.ZodString>;
@@ -7110,7 +7131,12 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
7110
7131
  senders: z.ZodArray<z.ZodString>;
7111
7132
  recipients: z.ZodArray<z.ZodString>;
7112
7133
  type: z.ZodEnum<{
7113
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
7134
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
7135
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
7136
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
7137
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
7138
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
7139
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
7114
7140
  }>;
7115
7141
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
7116
7142
  requestId: z.ZodNullable<z.ZodString>;
@@ -7308,32 +7334,6 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
7308
7334
  }>;
7309
7335
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
7310
7336
  requestId: z.ZodNullable<z.ZodString>;
7311
- }, z.core.$strip> | z.ZodObject<{
7312
- id: z.ZodString;
7313
- hash: z.ZodString;
7314
- block: z.ZodObject<{
7315
- height: z.ZodNullable<z.ZodString>;
7316
- time: z.ZodNullable<z.ZodString>;
7317
- }, z.core.$strip>;
7318
- status: z.ZodEnum<{
7319
- FAILED: "FAILED";
7320
- PENDING: "PENDING";
7321
- SUCCESSFUL: "SUCCESSFUL";
7322
- UNKNOWN: "UNKNOWN";
7323
- }>;
7324
- confirmations: z.ZodString;
7325
- amount: z.ZodString;
7326
- fee: z.ZodString;
7327
- senders: z.ZodArray<z.ZodString>;
7328
- recipients: z.ZodArray<z.ZodString>;
7329
- type: z.ZodEnum<{
7330
- TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
7331
- TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
7332
- TRON_LIKE_SEND: "TRON_LIKE_SEND";
7333
- TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
7334
- }>;
7335
- note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
7336
- requestId: z.ZodNullable<z.ZodString>;
7337
7337
  }, z.core.$strip>)[]], "type">;
7338
7338
  type TransactionWithMetaResponse = z.infer<typeof zTransactionWithMetaResponse>;
7339
7339
  declare const zBitcoinUtxoResponse: z.ZodObject<{
@@ -23330,367 +23330,367 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23330
23330
  create: import("@trpc/server").TRPCMutationProcedure<{
23331
23331
  input: {
23332
23332
  request: {
23333
- type: "TRADELINK_CREATE_CUSTODIAN";
23333
+ type: "UPDATE_QUORUM";
23334
23334
  data: {
23335
- settlement: {
23336
- quorum: number;
23337
- userIds: string[];
23338
- }[];
23339
- withdraw: {
23340
- quorum: number;
23341
- userIds: string[];
23342
- }[];
23343
- arbitration: {
23344
- quorum: number;
23345
- userIds: string[];
23335
+ quorum: number;
23336
+ };
23337
+ note?: Note | undefined;
23338
+ } | {
23339
+ type: "CREATE_TRANSACTION";
23340
+ data: {
23341
+ accountId: string;
23342
+ transaction: TransactionData;
23343
+ maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
23344
+ };
23345
+ note?: Note | undefined;
23346
+ } | {
23347
+ type: "SIGN_DIGESTS";
23348
+ data: {
23349
+ accountId: string;
23350
+ digests: {
23351
+ digest: string;
23352
+ derivationPath: string;
23346
23353
  }[];
23347
23354
  };
23348
23355
  note?: Note | undefined;
23349
23356
  } | {
23350
- type: "TRADELINK_ACTIVATE_ACCOUNT";
23357
+ type: "EDIT_ACCOUNT";
23351
23358
  targetId: string;
23352
- data: null;
23359
+ data: {
23360
+ name: string;
23361
+ governance: {
23362
+ type: "CLASSIC";
23363
+ policy: {
23364
+ policyId: string;
23365
+ } | {
23366
+ rules: {
23367
+ reviewSteps: ({
23368
+ quorum: number;
23369
+ userIds: string[];
23370
+ } | {
23371
+ quorum: number;
23372
+ groupId: string;
23373
+ })[];
23374
+ threshold?: {
23375
+ min: string | null;
23376
+ max: string | null;
23377
+ } | undefined;
23378
+ whitelistIds?: string[] | undefined;
23379
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23380
+ }[];
23381
+ };
23382
+ } | {
23383
+ type: "TRADELINK";
23384
+ exchangeConfigs: {
23385
+ exchangeId: string;
23386
+ repledgeAuthorized: boolean;
23387
+ needsAssetManagerApprovalForSettlements: boolean;
23388
+ }[];
23389
+ } | {
23390
+ type: "RAW_SIGNING";
23391
+ policy: {
23392
+ rules: {
23393
+ operationType: "SIGN_DIGESTS";
23394
+ reviewSteps: {
23395
+ quorum: number;
23396
+ userIds: string[];
23397
+ }[];
23398
+ }[];
23399
+ };
23400
+ };
23401
+ };
23353
23402
  note?: Note | undefined;
23354
23403
  } | {
23355
- type: "TRADELINK_EDIT_CUSTODIAN";
23404
+ type: "CREATE_GROUP";
23405
+ data: {
23406
+ name: string;
23407
+ description: string | null;
23408
+ members: string[];
23409
+ };
23410
+ note?: Note | undefined;
23411
+ } | {
23412
+ type: "EDIT_GROUP";
23356
23413
  targetId: string;
23357
23414
  data: {
23358
- settlement: {
23359
- quorum: number;
23360
- userIds: string[];
23361
- }[];
23362
- withdraw: {
23363
- quorum: number;
23364
- userIds: string[];
23365
- }[];
23366
- arbitration: {
23367
- quorum: number;
23368
- userIds: string[];
23369
- }[];
23415
+ name: string;
23416
+ description: string | null;
23417
+ members: string[];
23370
23418
  };
23371
23419
  note?: Note | undefined;
23372
23420
  } | {
23373
- type: "TRADELINK_CREATE_EXCHANGE";
23421
+ type: "CREATE_WHITELIST";
23374
23422
  data: {
23375
- tradelinkId: string;
23376
- groups: {
23377
- quorum: number;
23378
- userIds: string[];
23379
- }[];
23380
- whitelist: {
23423
+ name: string;
23424
+ description: string | null;
23425
+ addresses: {
23381
23426
  name: string;
23382
23427
  currency: string;
23383
23428
  address: string;
23429
+ destinationTag?: string | undefined;
23384
23430
  }[];
23431
+ type: "SMART_CONTRACT" | "TRANSACTION";
23385
23432
  };
23386
23433
  note?: Note | undefined;
23387
23434
  } | {
23388
- type: "TRADELINK_EDIT_EXCHANGE";
23435
+ type: "EDIT_WHITELIST";
23389
23436
  targetId: string;
23390
23437
  data: {
23391
- tradelinkId: string;
23392
- groups: {
23393
- quorum: number;
23394
- userIds: string[];
23395
- }[];
23396
- whitelist: {
23438
+ name: string;
23439
+ addresses: {
23397
23440
  name: string;
23398
23441
  currency: string;
23399
23442
  address: string;
23443
+ destinationTag?: string | undefined;
23400
23444
  }[];
23401
23445
  };
23402
23446
  note?: Note | undefined;
23403
23447
  } | {
23404
- type: "TRADELINK_CREATE_ASSET_MANAGER";
23448
+ type: "CREATE_ENTITY";
23405
23449
  data: {
23406
- tradelinkId: string;
23407
- groups: {
23408
- quorum: number;
23409
- userIds: string[];
23410
- }[];
23411
- whitelist: {
23412
- name: string;
23413
- currency: string;
23414
- address: string;
23415
- }[];
23450
+ name: string;
23451
+ accountIds: string[];
23452
+ memberIds: string[];
23416
23453
  };
23417
23454
  note?: Note | undefined;
23418
23455
  } | {
23419
- type: "TRADELINK_EDIT_ASSET_MANAGER";
23456
+ type: "EDIT_ENTITY";
23420
23457
  targetId: string;
23421
23458
  data: {
23422
- tradelinkId: string;
23423
- groups: {
23424
- quorum: number;
23425
- userIds: string[];
23426
- }[];
23427
- whitelist: {
23428
- name: string;
23429
- currency: string;
23430
- address: string;
23431
- }[];
23432
- };
23433
- note?: Note | undefined;
23434
- } | {
23435
- type: "TRADELINK_ADJUST_PLEDGE";
23436
- data: {
23437
- accountId: string;
23438
- exchangeId: string;
23439
- amount: string;
23440
- };
23441
- note?: Note | undefined;
23442
- } | {
23443
- type: "TRADELINK_REPLEDGE";
23444
- data: {
23445
- accountId: string;
23446
- exchangeId: string;
23447
- amount: string;
23448
- };
23449
- note?: Note | undefined;
23450
- } | {
23451
- type: "TRADELINK_CREATE_SETTLEMENT";
23452
- data: {
23453
- accountId: string;
23454
- exchangeId: string;
23455
- transaction: SendOnlyTransactionData;
23459
+ name: string;
23460
+ accountIds: string[];
23461
+ memberIds: string[];
23456
23462
  };
23457
23463
  note?: Note | undefined;
23458
23464
  } | {
23459
- type: "TRADELINK_FORCE_UNPLEDGE";
23460
- data: {
23461
- accountId: string;
23462
- exchangeId: string;
23463
- };
23465
+ type: "REVOKE_ENTITY";
23466
+ targetId: string;
23467
+ data: Record<string, never>;
23464
23468
  note?: Note | undefined;
23465
23469
  } | {
23466
- type: "TRADELINK_WITHDRAW";
23470
+ type: "CREATE_PSD_USER";
23467
23471
  data: {
23468
- accountId: string;
23469
- transaction: SendOnlyTransactionData;
23472
+ registrationId: string;
23470
23473
  };
23471
23474
  note?: Note | undefined;
23472
23475
  } | {
23473
- type: "TRADELINK_ARBITRATE";
23476
+ type: "CREATE_API_USER";
23474
23477
  data: {
23475
- accountId: string;
23476
- transaction: SendOnlyTransactionData;
23478
+ name: string;
23479
+ pubKey: string;
23480
+ role: "ADMIN" | "OPERATOR";
23481
+ viewAll?: boolean | undefined;
23477
23482
  };
23478
23483
  note?: Note | undefined;
23479
23484
  } | {
23480
- type: "UPDATE_QUORUM";
23481
- data: {
23482
- quorum: number;
23483
- };
23485
+ type: "REVOKE_USER";
23486
+ targetId: string;
23487
+ data: Record<string, never>;
23484
23488
  note?: Note | undefined;
23485
23489
  } | {
23486
- type: "CREATE_TRANSACTION";
23490
+ type: "EDIT_WORKSPACE_RULE";
23487
23491
  data: {
23488
- accountId: string;
23489
- transaction: TransactionData;
23490
- maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
23492
+ permission: "CREATE_ACCOUNT_WITH_POLICY";
23493
+ reviewConfig: {
23494
+ quorum: number;
23495
+ userIds: string[];
23496
+ }[];
23491
23497
  };
23492
23498
  note?: Note | undefined;
23493
23499
  } | {
23494
- type: "SIGN_DIGESTS";
23500
+ type: "CREATE_POLICY";
23495
23501
  data: {
23496
- accountId: string;
23497
- digests: {
23498
- digest: string;
23499
- derivationPath: string;
23502
+ name: string;
23503
+ description: string | null;
23504
+ asset: {
23505
+ network: string;
23506
+ contractAddress: string | null;
23507
+ tokenIdentifier: string | null;
23508
+ } | null;
23509
+ govRules: {
23510
+ reviewSteps: ({
23511
+ quorum: number;
23512
+ userIds: string[];
23513
+ } | {
23514
+ quorum: number;
23515
+ groupId: string;
23516
+ })[];
23517
+ threshold?: {
23518
+ min: string | null;
23519
+ max: string | null;
23520
+ } | undefined;
23521
+ whitelistIds?: string[] | undefined;
23522
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23500
23523
  }[];
23501
23524
  };
23502
23525
  note?: Note | undefined;
23503
23526
  } | {
23504
- type: "EDIT_ACCOUNT";
23527
+ type: "EDIT_POLICY";
23505
23528
  targetId: string;
23506
23529
  data: {
23507
23530
  name: string;
23508
- governance: {
23509
- type: "CLASSIC";
23510
- policy: {
23511
- policyId: string;
23531
+ description: string | null;
23532
+ govRules: {
23533
+ reviewSteps: ({
23534
+ quorum: number;
23535
+ userIds: string[];
23512
23536
  } | {
23513
- rules: {
23514
- reviewSteps: ({
23515
- quorum: number;
23516
- userIds: string[];
23517
- } | {
23518
- quorum: number;
23519
- groupId: string;
23520
- })[];
23521
- threshold?: {
23522
- min: string | null;
23523
- max: string | null;
23524
- } | undefined;
23525
- whitelistIds?: string[] | undefined;
23526
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23527
- }[];
23528
- };
23529
- } | {
23530
- type: "TRADELINK";
23531
- exchangeConfigs: {
23532
- exchangeId: string;
23533
- repledgeAuthorized: boolean;
23534
- needsAssetManagerApprovalForSettlements: boolean;
23535
- }[];
23536
- } | {
23537
- type: "RAW_SIGNING";
23538
- policy: {
23539
- rules: {
23540
- operationType: "SIGN_DIGESTS";
23541
- reviewSteps: {
23542
- quorum: number;
23543
- userIds: string[];
23544
- }[];
23545
- }[];
23546
- };
23547
- };
23537
+ quorum: number;
23538
+ groupId: string;
23539
+ })[];
23540
+ threshold?: {
23541
+ min: string | null;
23542
+ max: string | null;
23543
+ } | undefined;
23544
+ whitelistIds?: string[] | undefined;
23545
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23546
+ }[];
23548
23547
  };
23549
23548
  note?: Note | undefined;
23550
23549
  } | {
23551
- type: "CREATE_GROUP";
23550
+ type: "TRADELINK_ACTIVATE_ACCOUNT";
23551
+ targetId: string;
23552
+ data: null;
23553
+ note?: Note | undefined;
23554
+ } | {
23555
+ type: "TRADELINK_CREATE_CUSTODIAN";
23552
23556
  data: {
23553
- name: string;
23554
- description: string | null;
23555
- members: string[];
23557
+ settlement: {
23558
+ quorum: number;
23559
+ userIds: string[];
23560
+ }[];
23561
+ withdraw: {
23562
+ quorum: number;
23563
+ userIds: string[];
23564
+ }[];
23565
+ arbitration: {
23566
+ quorum: number;
23567
+ userIds: string[];
23568
+ }[];
23556
23569
  };
23557
23570
  note?: Note | undefined;
23558
23571
  } | {
23559
- type: "EDIT_GROUP";
23572
+ type: "TRADELINK_EDIT_CUSTODIAN";
23560
23573
  targetId: string;
23561
23574
  data: {
23562
- name: string;
23563
- description: string | null;
23564
- members: string[];
23575
+ settlement: {
23576
+ quorum: number;
23577
+ userIds: string[];
23578
+ }[];
23579
+ withdraw: {
23580
+ quorum: number;
23581
+ userIds: string[];
23582
+ }[];
23583
+ arbitration: {
23584
+ quorum: number;
23585
+ userIds: string[];
23586
+ }[];
23565
23587
  };
23566
23588
  note?: Note | undefined;
23567
23589
  } | {
23568
- type: "CREATE_WHITELIST";
23590
+ type: "TRADELINK_CREATE_EXCHANGE";
23569
23591
  data: {
23570
- name: string;
23571
- description: string | null;
23572
- addresses: {
23592
+ tradelinkId: string;
23593
+ groups: {
23594
+ quorum: number;
23595
+ userIds: string[];
23596
+ }[];
23597
+ whitelist: {
23573
23598
  name: string;
23574
23599
  currency: string;
23575
23600
  address: string;
23576
- destinationTag?: string | undefined;
23577
23601
  }[];
23578
- type: "SMART_CONTRACT" | "TRANSACTION";
23579
23602
  };
23580
23603
  note?: Note | undefined;
23581
23604
  } | {
23582
- type: "EDIT_WHITELIST";
23605
+ type: "TRADELINK_EDIT_EXCHANGE";
23583
23606
  targetId: string;
23584
23607
  data: {
23585
- name: string;
23586
- addresses: {
23608
+ tradelinkId: string;
23609
+ groups: {
23610
+ quorum: number;
23611
+ userIds: string[];
23612
+ }[];
23613
+ whitelist: {
23587
23614
  name: string;
23588
23615
  currency: string;
23589
23616
  address: string;
23590
- destinationTag?: string | undefined;
23591
23617
  }[];
23592
23618
  };
23593
23619
  note?: Note | undefined;
23594
23620
  } | {
23595
- type: "CREATE_ENTITY";
23621
+ type: "TRADELINK_CREATE_ASSET_MANAGER";
23596
23622
  data: {
23597
- name: string;
23598
- accountIds: string[];
23599
- memberIds: string[];
23623
+ tradelinkId: string;
23624
+ groups: {
23625
+ quorum: number;
23626
+ userIds: string[];
23627
+ }[];
23628
+ whitelist: {
23629
+ name: string;
23630
+ currency: string;
23631
+ address: string;
23632
+ }[];
23600
23633
  };
23601
23634
  note?: Note | undefined;
23602
23635
  } | {
23603
- type: "EDIT_ENTITY";
23636
+ type: "TRADELINK_EDIT_ASSET_MANAGER";
23604
23637
  targetId: string;
23605
23638
  data: {
23606
- name: string;
23607
- accountIds: string[];
23608
- memberIds: string[];
23639
+ tradelinkId: string;
23640
+ groups: {
23641
+ quorum: number;
23642
+ userIds: string[];
23643
+ }[];
23644
+ whitelist: {
23645
+ name: string;
23646
+ currency: string;
23647
+ address: string;
23648
+ }[];
23609
23649
  };
23610
23650
  note?: Note | undefined;
23611
23651
  } | {
23612
- type: "REVOKE_ENTITY";
23613
- targetId: string;
23614
- data: Record<string, never>;
23615
- note?: Note | undefined;
23616
- } | {
23617
- type: "CREATE_PSD_USER";
23652
+ type: "TRADELINK_ADJUST_PLEDGE";
23618
23653
  data: {
23619
- registrationId: string;
23654
+ accountId: string;
23655
+ exchangeId: string;
23656
+ amount: string;
23620
23657
  };
23621
23658
  note?: Note | undefined;
23622
23659
  } | {
23623
- type: "CREATE_API_USER";
23660
+ type: "TRADELINK_REPLEDGE";
23624
23661
  data: {
23625
- name: string;
23626
- pubKey: string;
23627
- role: "ADMIN" | "OPERATOR";
23628
- viewAll?: boolean | undefined;
23662
+ accountId: string;
23663
+ exchangeId: string;
23664
+ amount: string;
23629
23665
  };
23630
23666
  note?: Note | undefined;
23631
23667
  } | {
23632
- type: "REVOKE_USER";
23633
- targetId: string;
23634
- data: Record<string, never>;
23635
- note?: Note | undefined;
23636
- } | {
23637
- type: "EDIT_WORKSPACE_RULE";
23668
+ type: "TRADELINK_CREATE_SETTLEMENT";
23638
23669
  data: {
23639
- permission: "CREATE_ACCOUNT_WITH_POLICY";
23640
- reviewConfig: {
23641
- quorum: number;
23642
- userIds: string[];
23643
- }[];
23670
+ accountId: string;
23671
+ exchangeId: string;
23672
+ transaction: SendOnlyTransactionData;
23644
23673
  };
23645
23674
  note?: Note | undefined;
23646
23675
  } | {
23647
- type: "CREATE_POLICY";
23676
+ type: "TRADELINK_FORCE_UNPLEDGE";
23648
23677
  data: {
23649
- name: string;
23650
- description: string | null;
23651
- asset: {
23652
- network: string;
23653
- contractAddress: string | null;
23654
- tokenIdentifier: string | null;
23655
- } | null;
23656
- govRules: {
23657
- reviewSteps: ({
23658
- quorum: number;
23659
- userIds: string[];
23660
- } | {
23661
- quorum: number;
23662
- groupId: string;
23663
- })[];
23664
- threshold?: {
23665
- min: string | null;
23666
- max: string | null;
23667
- } | undefined;
23668
- whitelistIds?: string[] | undefined;
23669
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23670
- }[];
23678
+ accountId: string;
23679
+ exchangeId: string;
23671
23680
  };
23672
23681
  note?: Note | undefined;
23673
23682
  } | {
23674
- type: "EDIT_POLICY";
23675
- targetId: string;
23683
+ type: "TRADELINK_WITHDRAW";
23676
23684
  data: {
23677
- name: string;
23678
- description: string | null;
23679
- govRules: {
23680
- reviewSteps: ({
23681
- quorum: number;
23682
- userIds: string[];
23683
- } | {
23684
- quorum: number;
23685
- groupId: string;
23686
- })[];
23687
- threshold?: {
23688
- min: string | null;
23689
- max: string | null;
23690
- } | undefined;
23691
- whitelistIds?: string[] | undefined;
23692
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
23693
- }[];
23685
+ accountId: string;
23686
+ transaction: SendOnlyTransactionData;
23687
+ };
23688
+ note?: Note | undefined;
23689
+ } | {
23690
+ type: "TRADELINK_ARBITRATE";
23691
+ data: {
23692
+ accountId: string;
23693
+ transaction: SendOnlyTransactionData;
23694
23694
  };
23695
23695
  note?: Note | undefined;
23696
23696
  } | {
@@ -24644,20 +24644,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24644
24644
  }[];
24645
24645
  };
24646
24646
  output: {
24647
- type: "TRADELINK_CREATE_CUSTODIAN";
24647
+ type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
24648
24648
  data: {
24649
- settlement: {
24650
- quorum: number;
24651
- userIds: string[];
24652
- }[];
24653
- withdraw: {
24654
- quorum: number;
24655
- userIds: string[];
24656
- }[];
24657
- arbitration: {
24658
- quorum: number;
24659
- userIds: string[];
24660
- }[];
24649
+ previousPublicKeys: string[];
24650
+ requestedPublicKeys: string[];
24661
24651
  };
24662
24652
  id: string;
24663
24653
  legacyId: number;
@@ -24687,50 +24677,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24687
24677
  tinyUrl: string;
24688
24678
  }[] | undefined;
24689
24679
  } | {
24690
- type: "TRADELINK_ACTIVATE_ACCOUNT";
24691
- data: null;
24692
- id: string;
24693
- legacyId: number;
24694
- state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
24695
- reviewSteps: {
24696
- stageName: string;
24697
- quorum: number;
24698
- }[];
24699
- currentStepIndex: number;
24700
- expiresAt: Date;
24701
- targetId: string | null;
24702
- note: Note | null;
24703
- reviews: RequestReview[];
24704
- createdAt: Date;
24705
- updatedAt: Date;
24706
- createdById: string;
24707
- inflight?: {
24708
- completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
24709
- retryAfter: Date;
24710
- } | undefined;
24711
- scanHistory?: {
24712
- type: "creation" | "pre_signature";
24713
- timestamp: string;
24714
- riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
24715
- riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
24716
- message: string;
24717
- tinyUrl: string;
24718
- }[] | undefined;
24719
- } | {
24720
- type: "TRADELINK_EDIT_CUSTODIAN";
24680
+ type: "UPDATE_QUORUM";
24721
24681
  data: {
24722
- settlement: {
24723
- quorum: number;
24724
- userIds: string[];
24725
- }[];
24726
- withdraw: {
24727
- quorum: number;
24728
- userIds: string[];
24729
- }[];
24730
- arbitration: {
24731
- quorum: number;
24732
- userIds: string[];
24733
- }[];
24682
+ quorum: number;
24734
24683
  };
24735
24684
  id: string;
24736
24685
  legacyId: number;
@@ -24760,18 +24709,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24760
24709
  tinyUrl: string;
24761
24710
  }[] | undefined;
24762
24711
  } | {
24763
- type: "TRADELINK_CREATE_EXCHANGE";
24712
+ type: "CREATE_TRANSACTION";
24764
24713
  data: {
24765
- tradelinkId: string;
24766
- groups: {
24767
- quorum: number;
24768
- userIds: string[];
24769
- }[];
24770
- whitelist: {
24771
- name: string;
24772
- currency: string;
24773
- address: string;
24774
- }[];
24714
+ accountId: string;
24715
+ transaction: TransactionData;
24716
+ maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
24775
24717
  };
24776
24718
  id: string;
24777
24719
  legacyId: number;
@@ -24801,18 +24743,33 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24801
24743
  tinyUrl: string;
24802
24744
  }[] | undefined;
24803
24745
  } | {
24804
- type: "TRADELINK_EDIT_EXCHANGE";
24746
+ type: "SIGN_MESSAGE";
24805
24747
  data: {
24806
- tradelinkId: string;
24807
- groups: {
24808
- quorum: number;
24809
- userIds: string[];
24810
- }[];
24811
- whitelist: {
24812
- name: string;
24813
- currency: string;
24814
- address: string;
24815
- }[];
24748
+ message: {
24749
+ type: "EIP191";
24750
+ data: string;
24751
+ } | {
24752
+ type: "EIP712";
24753
+ data: {
24754
+ types: Record<string, {
24755
+ name: string;
24756
+ type: string;
24757
+ }[]>;
24758
+ primaryType: string;
24759
+ domain: Record<string, any>;
24760
+ message: Record<string, any>;
24761
+ };
24762
+ } | {
24763
+ type: "CIP8";
24764
+ data: string;
24765
+ signingKey: "PAYMENT" | "STAKE";
24766
+ } | {
24767
+ type: "BIP137";
24768
+ data: string;
24769
+ };
24770
+ accountId: string;
24771
+ address: string;
24772
+ derivationPath: string;
24816
24773
  };
24817
24774
  id: string;
24818
24775
  legacyId: number;
@@ -24842,17 +24799,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24842
24799
  tinyUrl: string;
24843
24800
  }[] | undefined;
24844
24801
  } | {
24845
- type: "TRADELINK_CREATE_ASSET_MANAGER";
24802
+ type: "SIGN_DIGESTS";
24846
24803
  data: {
24847
- tradelinkId: string;
24848
- groups: {
24849
- quorum: number;
24850
- userIds: string[];
24851
- }[];
24852
- whitelist: {
24853
- name: string;
24854
- currency: string;
24855
- address: string;
24804
+ accountId: string;
24805
+ digests: {
24806
+ digest: string;
24807
+ derivationPath: string;
24856
24808
  }[];
24857
24809
  };
24858
24810
  id: string;
@@ -24883,18 +24835,58 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24883
24835
  tinyUrl: string;
24884
24836
  }[] | undefined;
24885
24837
  } | {
24886
- type: "TRADELINK_EDIT_ASSET_MANAGER";
24838
+ type: "CREATE_ACCOUNT";
24887
24839
  data: {
24888
- tradelinkId: string;
24889
- groups: {
24890
- quorum: number;
24891
- userIds: string[];
24892
- }[];
24893
- whitelist: {
24894
- name: string;
24895
- currency: string;
24896
- address: string;
24897
- }[];
24840
+ name: string;
24841
+ currency: string;
24842
+ contractAddress: string | null;
24843
+ tokenIdentifier: string | null;
24844
+ bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
24845
+ governance: {
24846
+ type: "CLASSIC";
24847
+ policy: {
24848
+ policyId: string;
24849
+ } | {
24850
+ rules: {
24851
+ reviewSteps: ({
24852
+ quorum: number;
24853
+ userIds: string[];
24854
+ } | {
24855
+ quorum: number;
24856
+ groupId: string;
24857
+ })[];
24858
+ threshold?: {
24859
+ min: string | null;
24860
+ max: string | null;
24861
+ } | undefined;
24862
+ whitelistIds?: string[] | undefined;
24863
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
24864
+ }[];
24865
+ };
24866
+ } | {
24867
+ type: "TRADELINK";
24868
+ assetManagerId: string;
24869
+ exchangeConfigs: {
24870
+ exchangeId: string;
24871
+ repledgeAuthorized: boolean;
24872
+ needsAssetManagerApprovalForSettlements: boolean;
24873
+ }[];
24874
+ } | {
24875
+ type: "RAW_SIGNING";
24876
+ policy: {
24877
+ rules: {
24878
+ operationType: "SIGN_DIGESTS";
24879
+ reviewSteps: {
24880
+ quorum: number;
24881
+ userIds: string[];
24882
+ }[];
24883
+ }[];
24884
+ };
24885
+ };
24886
+ portfolioIds?: string[] | undefined;
24887
+ index: number;
24888
+ derivationPath: string;
24889
+ type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
24898
24890
  };
24899
24891
  id: string;
24900
24892
  legacyId: number;
@@ -24924,11 +24916,49 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24924
24916
  tinyUrl: string;
24925
24917
  }[] | undefined;
24926
24918
  } | {
24927
- type: "TRADELINK_ADJUST_PLEDGE";
24919
+ type: "EDIT_ACCOUNT";
24928
24920
  data: {
24929
- accountId: string;
24930
- exchangeId: string;
24931
- amount: string;
24921
+ name: string;
24922
+ governance: {
24923
+ type: "CLASSIC";
24924
+ policy: {
24925
+ policyId: string;
24926
+ } | {
24927
+ rules: {
24928
+ reviewSteps: ({
24929
+ quorum: number;
24930
+ userIds: string[];
24931
+ } | {
24932
+ quorum: number;
24933
+ groupId: string;
24934
+ })[];
24935
+ threshold?: {
24936
+ min: string | null;
24937
+ max: string | null;
24938
+ } | undefined;
24939
+ whitelistIds?: string[] | undefined;
24940
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
24941
+ }[];
24942
+ };
24943
+ } | {
24944
+ type: "TRADELINK";
24945
+ exchangeConfigs: {
24946
+ exchangeId: string;
24947
+ repledgeAuthorized: boolean;
24948
+ needsAssetManagerApprovalForSettlements: boolean;
24949
+ }[];
24950
+ } | {
24951
+ type: "RAW_SIGNING";
24952
+ policy: {
24953
+ rules: {
24954
+ operationType: "SIGN_DIGESTS";
24955
+ reviewSteps: {
24956
+ quorum: number;
24957
+ userIds: string[];
24958
+ }[];
24959
+ }[];
24960
+ };
24961
+ };
24932
24962
  };
24933
24963
  id: string;
24934
24964
  legacyId: number;
@@ -24958,11 +24988,25 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24958
24988
  tinyUrl: string;
24959
24989
  }[] | undefined;
24960
24990
  } | {
24961
- type: "TRADELINK_REPLEDGE";
24991
+ type: "EDIT_TOKEN_RULE";
24962
24992
  data: {
24963
- accountId: string;
24964
- exchangeId: string;
24965
- amount: string;
24993
+ parentAccountId: string;
24994
+ contractAddress: string;
24995
+ rules: {
24996
+ reviewSteps: ({
24997
+ quorum: number;
24998
+ userIds: string[];
24999
+ } | {
25000
+ quorum: number;
25001
+ groupId: string;
25002
+ })[];
25003
+ threshold?: {
25004
+ min: string | null;
25005
+ max: string | null;
25006
+ } | undefined;
25007
+ whitelistIds?: string[] | undefined;
25008
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25009
+ }[];
24966
25010
  };
24967
25011
  id: string;
24968
25012
  legacyId: number;
@@ -24992,11 +25036,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24992
25036
  tinyUrl: string;
24993
25037
  }[] | undefined;
24994
25038
  } | {
24995
- type: "TRADELINK_CREATE_SETTLEMENT";
25039
+ type: "CREATE_GROUP";
24996
25040
  data: {
24997
- accountId: string;
24998
- exchangeId: string;
24999
- transaction: SendOnlyTransactionData;
25041
+ name: string;
25042
+ description: string | null;
25043
+ members: string[];
25000
25044
  };
25001
25045
  id: string;
25002
25046
  legacyId: number;
@@ -25026,10 +25070,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25026
25070
  tinyUrl: string;
25027
25071
  }[] | undefined;
25028
25072
  } | {
25029
- type: "TRADELINK_FORCE_UNPLEDGE";
25073
+ type: "EDIT_GROUP";
25030
25074
  data: {
25031
- accountId: string;
25032
- exchangeId: string;
25075
+ name: string;
25076
+ description: string | null;
25077
+ members: string[];
25033
25078
  };
25034
25079
  id: string;
25035
25080
  legacyId: number;
@@ -25059,11 +25104,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25059
25104
  tinyUrl: string;
25060
25105
  }[] | undefined;
25061
25106
  } | {
25062
- type: "TRADELINK_WITHDRAW";
25063
- data: {
25064
- accountId: string;
25065
- transaction: SendOnlyTransactionData;
25066
- };
25107
+ type: "REVOKE_GROUP";
25108
+ data: Record<string, never>;
25067
25109
  id: string;
25068
25110
  legacyId: number;
25069
25111
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25092,10 +25134,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25092
25134
  tinyUrl: string;
25093
25135
  }[] | undefined;
25094
25136
  } | {
25095
- type: "TRADELINK_ARBITRATE";
25137
+ type: "CREATE_WHITELIST";
25096
25138
  data: {
25097
- accountId: string;
25098
- transaction: SendOnlyTransactionData;
25139
+ name: string;
25140
+ description: string | null;
25141
+ addresses: {
25142
+ name: string;
25143
+ currency: string;
25144
+ address: string;
25145
+ destinationTag?: string | undefined;
25146
+ }[];
25147
+ type: "SMART_CONTRACT" | "TRANSACTION";
25099
25148
  };
25100
25149
  id: string;
25101
25150
  legacyId: number;
@@ -25125,9 +25174,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25125
25174
  tinyUrl: string;
25126
25175
  }[] | undefined;
25127
25176
  } | {
25128
- type: "UPDATE_QUORUM";
25177
+ type: "EDIT_WHITELIST";
25129
25178
  data: {
25130
- quorum: number;
25179
+ name: string;
25180
+ addresses: {
25181
+ name: string;
25182
+ currency: string;
25183
+ address: string;
25184
+ destinationTag?: string | undefined;
25185
+ }[];
25131
25186
  };
25132
25187
  id: string;
25133
25188
  legacyId: number;
@@ -25157,10 +25212,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25157
25212
  tinyUrl: string;
25158
25213
  }[] | undefined;
25159
25214
  } | {
25160
- type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
25215
+ type: "CREATE_ENTITY";
25161
25216
  data: {
25162
- previousPublicKeys: string[];
25163
- requestedPublicKeys: string[];
25217
+ name: string;
25218
+ accountIds: string[];
25219
+ memberIds: string[];
25164
25220
  };
25165
25221
  id: string;
25166
25222
  legacyId: number;
@@ -25190,11 +25246,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25190
25246
  tinyUrl: string;
25191
25247
  }[] | undefined;
25192
25248
  } | {
25193
- type: "CREATE_TRANSACTION";
25249
+ type: "EDIT_ENTITY";
25194
25250
  data: {
25195
- accountId: string;
25196
- transaction: TransactionData;
25197
- maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
25251
+ name: string;
25252
+ accountIds: string[];
25253
+ memberIds: string[];
25198
25254
  };
25199
25255
  id: string;
25200
25256
  legacyId: number;
@@ -25224,34 +25280,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25224
25280
  tinyUrl: string;
25225
25281
  }[] | undefined;
25226
25282
  } | {
25227
- type: "SIGN_MESSAGE";
25228
- data: {
25229
- message: {
25230
- type: "EIP191";
25231
- data: string;
25232
- } | {
25233
- type: "EIP712";
25234
- data: {
25235
- types: Record<string, {
25236
- name: string;
25237
- type: string;
25238
- }[]>;
25239
- primaryType: string;
25240
- domain: Record<string, any>;
25241
- message: Record<string, any>;
25242
- };
25243
- } | {
25244
- type: "CIP8";
25245
- data: string;
25246
- signingKey: "PAYMENT" | "STAKE";
25247
- } | {
25248
- type: "BIP137";
25249
- data: string;
25250
- };
25251
- accountId: string;
25252
- address: string;
25253
- derivationPath: string;
25254
- };
25283
+ type: "REVOKE_ENTITY";
25284
+ data: Record<string, never>;
25255
25285
  id: string;
25256
25286
  legacyId: number;
25257
25287
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25280,13 +25310,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25280
25310
  tinyUrl: string;
25281
25311
  }[] | undefined;
25282
25312
  } | {
25283
- type: "SIGN_DIGESTS";
25313
+ type: "CREATE_PSD_USER";
25284
25314
  data: {
25285
- accountId: string;
25286
- digests: {
25287
- digest: string;
25288
- derivationPath: string;
25289
- }[];
25315
+ registrationId: string;
25290
25316
  };
25291
25317
  id: string;
25292
25318
  legacyId: number;
@@ -25316,58 +25342,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25316
25342
  tinyUrl: string;
25317
25343
  }[] | undefined;
25318
25344
  } | {
25319
- type: "CREATE_ACCOUNT";
25345
+ type: "CREATE_API_USER";
25320
25346
  data: {
25321
25347
  name: string;
25322
- currency: string;
25323
- contractAddress: string | null;
25324
- tokenIdentifier: string | null;
25325
- bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
25326
- governance: {
25327
- type: "CLASSIC";
25328
- policy: {
25329
- policyId: string;
25330
- } | {
25331
- rules: {
25332
- reviewSteps: ({
25333
- quorum: number;
25334
- userIds: string[];
25335
- } | {
25336
- quorum: number;
25337
- groupId: string;
25338
- })[];
25339
- threshold?: {
25340
- min: string | null;
25341
- max: string | null;
25342
- } | undefined;
25343
- whitelistIds?: string[] | undefined;
25344
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25345
- }[];
25346
- };
25347
- } | {
25348
- type: "TRADELINK";
25349
- assetManagerId: string;
25350
- exchangeConfigs: {
25351
- exchangeId: string;
25352
- repledgeAuthorized: boolean;
25353
- needsAssetManagerApprovalForSettlements: boolean;
25354
- }[];
25355
- } | {
25356
- type: "RAW_SIGNING";
25357
- policy: {
25358
- rules: {
25359
- operationType: "SIGN_DIGESTS";
25360
- reviewSteps: {
25361
- quorum: number;
25362
- userIds: string[];
25363
- }[];
25364
- }[];
25365
- };
25366
- };
25367
- portfolioIds?: string[] | undefined;
25368
- index: number;
25369
- derivationPath: string;
25370
- type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
25348
+ pubKey: string;
25349
+ role: "ADMIN" | "OPERATOR";
25350
+ viewAll?: boolean | undefined;
25371
25351
  };
25372
25352
  id: string;
25373
25353
  legacyId: number;
@@ -25397,49 +25377,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25397
25377
  tinyUrl: string;
25398
25378
  }[] | undefined;
25399
25379
  } | {
25400
- type: "EDIT_ACCOUNT";
25380
+ type: "CREATE_API_USER_ACCESS";
25401
25381
  data: {
25402
25382
  name: string;
25403
- governance: {
25404
- type: "CLASSIC";
25405
- policy: {
25406
- policyId: string;
25407
- } | {
25408
- rules: {
25409
- reviewSteps: ({
25410
- quorum: number;
25411
- userIds: string[];
25412
- } | {
25413
- quorum: number;
25414
- groupId: string;
25415
- })[];
25416
- threshold?: {
25417
- min: string | null;
25418
- max: string | null;
25419
- } | undefined;
25420
- whitelistIds?: string[] | undefined;
25421
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25422
- }[];
25423
- };
25424
- } | {
25425
- type: "TRADELINK";
25426
- exchangeConfigs: {
25427
- exchangeId: string;
25428
- repledgeAuthorized: boolean;
25429
- needsAssetManagerApprovalForSettlements: boolean;
25430
- }[];
25431
- } | {
25432
- type: "RAW_SIGNING";
25433
- policy: {
25434
- rules: {
25435
- operationType: "SIGN_DIGESTS";
25436
- reviewSteps: {
25437
- quorum: number;
25438
- userIds: string[];
25439
- }[];
25440
- }[];
25441
- };
25442
- };
25443
25383
  };
25444
25384
  id: string;
25445
25385
  legacyId: number;
@@ -25469,26 +25409,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25469
25409
  tinyUrl: string;
25470
25410
  }[] | undefined;
25471
25411
  } | {
25472
- type: "EDIT_TOKEN_RULE";
25473
- data: {
25474
- parentAccountId: string;
25475
- contractAddress: string;
25476
- rules: {
25477
- reviewSteps: ({
25478
- quorum: number;
25479
- userIds: string[];
25480
- } | {
25481
- quorum: number;
25482
- groupId: string;
25483
- })[];
25484
- threshold?: {
25485
- min: string | null;
25486
- max: string | null;
25487
- } | undefined;
25488
- whitelistIds?: string[] | undefined;
25489
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25490
- }[];
25491
- };
25412
+ type: "REVOKE_USER";
25413
+ data: Record<string, never>;
25492
25414
  id: string;
25493
25415
  legacyId: number;
25494
25416
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25517,11 +25439,13 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25517
25439
  tinyUrl: string;
25518
25440
  }[] | undefined;
25519
25441
  } | {
25520
- type: "CREATE_GROUP";
25442
+ type: "EDIT_WORKSPACE_RULE";
25521
25443
  data: {
25522
- name: string;
25523
- description: string | null;
25524
- members: string[];
25444
+ permission: "CREATE_ACCOUNT_WITH_POLICY";
25445
+ reviewConfig: {
25446
+ quorum: number;
25447
+ userIds: string[];
25448
+ }[];
25525
25449
  };
25526
25450
  id: string;
25527
25451
  legacyId: number;
@@ -25551,11 +25475,13 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25551
25475
  tinyUrl: string;
25552
25476
  }[] | undefined;
25553
25477
  } | {
25554
- type: "EDIT_GROUP";
25478
+ type: "CREATE_SCICONFIG";
25555
25479
  data: {
25556
- name: string;
25557
- description: string | null;
25558
- members: string[];
25480
+ account: string;
25481
+ config: {
25482
+ dapps: string[] | null;
25483
+ customContractCallEnabled: boolean;
25484
+ };
25559
25485
  };
25560
25486
  id: string;
25561
25487
  legacyId: number;
@@ -25585,8 +25511,13 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25585
25511
  tinyUrl: string;
25586
25512
  }[] | undefined;
25587
25513
  } | {
25588
- type: "REVOKE_GROUP";
25589
- data: Record<string, never>;
25514
+ type: "EDIT_SCICONFIG";
25515
+ data: {
25516
+ config: {
25517
+ dapps: string[] | null;
25518
+ customContractCallEnabled: boolean;
25519
+ };
25520
+ };
25590
25521
  id: string;
25591
25522
  legacyId: number;
25592
25523
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25615,17 +25546,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25615
25546
  tinyUrl: string;
25616
25547
  }[] | undefined;
25617
25548
  } | {
25618
- type: "CREATE_WHITELIST";
25549
+ type: "CREATE_API_KEY";
25619
25550
  data: {
25620
25551
  name: string;
25621
- description: string | null;
25622
- addresses: {
25623
- name: string;
25624
- currency: string;
25625
- address: string;
25626
- destinationTag?: string | undefined;
25627
- }[];
25628
- type: "SMART_CONTRACT" | "TRANSACTION";
25552
+ entities: string[];
25553
+ scopes: Record<string, never>;
25629
25554
  };
25630
25555
  id: string;
25631
25556
  legacyId: number;
@@ -25655,15 +25580,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25655
25580
  tinyUrl: string;
25656
25581
  }[] | undefined;
25657
25582
  } | {
25658
- type: "EDIT_WHITELIST";
25583
+ type: "EDIT_API_KEY";
25659
25584
  data: {
25660
25585
  name: string;
25661
- addresses: {
25662
- name: string;
25663
- currency: string;
25664
- address: string;
25665
- destinationTag?: string | undefined;
25666
- }[];
25586
+ entities: string[];
25587
+ scopes: Record<string, never>;
25667
25588
  };
25668
25589
  id: string;
25669
25590
  legacyId: number;
@@ -25693,12 +25614,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25693
25614
  tinyUrl: string;
25694
25615
  }[] | undefined;
25695
25616
  } | {
25696
- type: "CREATE_ENTITY";
25697
- data: {
25698
- name: string;
25699
- accountIds: string[];
25700
- memberIds: string[];
25701
- };
25617
+ type: "REVOKE_API_KEY";
25618
+ data: Record<string, never>;
25702
25619
  id: string;
25703
25620
  legacyId: number;
25704
25621
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25727,11 +25644,30 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25727
25644
  tinyUrl: string;
25728
25645
  }[] | undefined;
25729
25646
  } | {
25730
- type: "EDIT_ENTITY";
25647
+ type: "CREATE_POLICY";
25731
25648
  data: {
25732
25649
  name: string;
25733
- accountIds: string[];
25734
- memberIds: string[];
25650
+ description: string | null;
25651
+ asset: {
25652
+ network: string;
25653
+ contractAddress: string | null;
25654
+ tokenIdentifier: string | null;
25655
+ } | null;
25656
+ govRules: {
25657
+ reviewSteps: ({
25658
+ quorum: number;
25659
+ userIds: string[];
25660
+ } | {
25661
+ quorum: number;
25662
+ groupId: string;
25663
+ })[];
25664
+ threshold?: {
25665
+ min: string | null;
25666
+ max: string | null;
25667
+ } | undefined;
25668
+ whitelistIds?: string[] | undefined;
25669
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25670
+ }[];
25735
25671
  };
25736
25672
  id: string;
25737
25673
  legacyId: number;
@@ -25761,8 +25697,26 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25761
25697
  tinyUrl: string;
25762
25698
  }[] | undefined;
25763
25699
  } | {
25764
- type: "REVOKE_ENTITY";
25765
- data: Record<string, never>;
25700
+ type: "EDIT_POLICY";
25701
+ data: {
25702
+ name: string;
25703
+ description: string | null;
25704
+ govRules: {
25705
+ reviewSteps: ({
25706
+ quorum: number;
25707
+ userIds: string[];
25708
+ } | {
25709
+ quorum: number;
25710
+ groupId: string;
25711
+ })[];
25712
+ threshold?: {
25713
+ min: string | null;
25714
+ max: string | null;
25715
+ } | undefined;
25716
+ whitelistIds?: string[] | undefined;
25717
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
25718
+ }[];
25719
+ };
25766
25720
  id: string;
25767
25721
  legacyId: number;
25768
25722
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25791,10 +25745,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25791
25745
  tinyUrl: string;
25792
25746
  }[] | undefined;
25793
25747
  } | {
25794
- type: "CREATE_PSD_USER";
25795
- data: {
25796
- registrationId: string;
25797
- };
25748
+ type: "TRADELINK_ACTIVATE_ACCOUNT";
25749
+ data: null;
25798
25750
  id: string;
25799
25751
  legacyId: number;
25800
25752
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25823,12 +25775,20 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25823
25775
  tinyUrl: string;
25824
25776
  }[] | undefined;
25825
25777
  } | {
25826
- type: "CREATE_API_USER";
25778
+ type: "TRADELINK_CREATE_CUSTODIAN";
25827
25779
  data: {
25828
- name: string;
25829
- pubKey: string;
25830
- role: "ADMIN" | "OPERATOR";
25831
- viewAll?: boolean | undefined;
25780
+ settlement: {
25781
+ quorum: number;
25782
+ userIds: string[];
25783
+ }[];
25784
+ withdraw: {
25785
+ quorum: number;
25786
+ userIds: string[];
25787
+ }[];
25788
+ arbitration: {
25789
+ quorum: number;
25790
+ userIds: string[];
25791
+ }[];
25832
25792
  };
25833
25793
  id: string;
25834
25794
  legacyId: number;
@@ -25858,9 +25818,20 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25858
25818
  tinyUrl: string;
25859
25819
  }[] | undefined;
25860
25820
  } | {
25861
- type: "CREATE_API_USER_ACCESS";
25821
+ type: "TRADELINK_EDIT_CUSTODIAN";
25862
25822
  data: {
25863
- name: string;
25823
+ settlement: {
25824
+ quorum: number;
25825
+ userIds: string[];
25826
+ }[];
25827
+ withdraw: {
25828
+ quorum: number;
25829
+ userIds: string[];
25830
+ }[];
25831
+ arbitration: {
25832
+ quorum: number;
25833
+ userIds: string[];
25834
+ }[];
25864
25835
  };
25865
25836
  id: string;
25866
25837
  legacyId: number;
@@ -25890,8 +25861,19 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25890
25861
  tinyUrl: string;
25891
25862
  }[] | undefined;
25892
25863
  } | {
25893
- type: "REVOKE_USER";
25894
- data: Record<string, never>;
25864
+ type: "TRADELINK_CREATE_EXCHANGE";
25865
+ data: {
25866
+ tradelinkId: string;
25867
+ groups: {
25868
+ quorum: number;
25869
+ userIds: string[];
25870
+ }[];
25871
+ whitelist: {
25872
+ name: string;
25873
+ currency: string;
25874
+ address: string;
25875
+ }[];
25876
+ };
25895
25877
  id: string;
25896
25878
  legacyId: number;
25897
25879
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -25920,13 +25902,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25920
25902
  tinyUrl: string;
25921
25903
  }[] | undefined;
25922
25904
  } | {
25923
- type: "EDIT_WORKSPACE_RULE";
25905
+ type: "TRADELINK_EDIT_EXCHANGE";
25924
25906
  data: {
25925
- permission: "CREATE_ACCOUNT_WITH_POLICY";
25926
- reviewConfig: {
25907
+ tradelinkId: string;
25908
+ groups: {
25927
25909
  quorum: number;
25928
25910
  userIds: string[];
25929
25911
  }[];
25912
+ whitelist: {
25913
+ name: string;
25914
+ currency: string;
25915
+ address: string;
25916
+ }[];
25930
25917
  };
25931
25918
  id: string;
25932
25919
  legacyId: number;
@@ -25956,13 +25943,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25956
25943
  tinyUrl: string;
25957
25944
  }[] | undefined;
25958
25945
  } | {
25959
- type: "CREATE_SCICONFIG";
25946
+ type: "TRADELINK_CREATE_ASSET_MANAGER";
25960
25947
  data: {
25961
- account: string;
25962
- config: {
25963
- dapps: string[] | null;
25964
- customContractCallEnabled: boolean;
25965
- };
25948
+ tradelinkId: string;
25949
+ groups: {
25950
+ quorum: number;
25951
+ userIds: string[];
25952
+ }[];
25953
+ whitelist: {
25954
+ name: string;
25955
+ currency: string;
25956
+ address: string;
25957
+ }[];
25966
25958
  };
25967
25959
  id: string;
25968
25960
  legacyId: number;
@@ -25992,12 +25984,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25992
25984
  tinyUrl: string;
25993
25985
  }[] | undefined;
25994
25986
  } | {
25995
- type: "EDIT_SCICONFIG";
25987
+ type: "TRADELINK_EDIT_ASSET_MANAGER";
25996
25988
  data: {
25997
- config: {
25998
- dapps: string[] | null;
25999
- customContractCallEnabled: boolean;
26000
- };
25989
+ tradelinkId: string;
25990
+ groups: {
25991
+ quorum: number;
25992
+ userIds: string[];
25993
+ }[];
25994
+ whitelist: {
25995
+ name: string;
25996
+ currency: string;
25997
+ address: string;
25998
+ }[];
26001
25999
  };
26002
26000
  id: string;
26003
26001
  legacyId: number;
@@ -26027,11 +26025,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26027
26025
  tinyUrl: string;
26028
26026
  }[] | undefined;
26029
26027
  } | {
26030
- type: "CREATE_API_KEY";
26028
+ type: "TRADELINK_ADJUST_PLEDGE";
26031
26029
  data: {
26032
- name: string;
26033
- entities: string[];
26034
- scopes: Record<string, never>;
26030
+ accountId: string;
26031
+ exchangeId: string;
26032
+ amount: string;
26035
26033
  };
26036
26034
  id: string;
26037
26035
  legacyId: number;
@@ -26061,11 +26059,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26061
26059
  tinyUrl: string;
26062
26060
  }[] | undefined;
26063
26061
  } | {
26064
- type: "EDIT_API_KEY";
26062
+ type: "TRADELINK_REPLEDGE";
26065
26063
  data: {
26066
- name: string;
26067
- entities: string[];
26068
- scopes: Record<string, never>;
26064
+ accountId: string;
26065
+ exchangeId: string;
26066
+ amount: string;
26069
26067
  };
26070
26068
  id: string;
26071
26069
  legacyId: number;
@@ -26095,8 +26093,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26095
26093
  tinyUrl: string;
26096
26094
  }[] | undefined;
26097
26095
  } | {
26098
- type: "REVOKE_API_KEY";
26099
- data: Record<string, never>;
26096
+ type: "TRADELINK_CREATE_SETTLEMENT";
26097
+ data: {
26098
+ accountId: string;
26099
+ exchangeId: string;
26100
+ transaction: SendOnlyTransactionData;
26101
+ };
26100
26102
  id: string;
26101
26103
  legacyId: number;
26102
26104
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -26125,30 +26127,43 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26125
26127
  tinyUrl: string;
26126
26128
  }[] | undefined;
26127
26129
  } | {
26128
- type: "CREATE_POLICY";
26130
+ type: "TRADELINK_FORCE_UNPLEDGE";
26129
26131
  data: {
26130
- name: string;
26131
- description: string | null;
26132
- asset: {
26133
- network: string;
26134
- contractAddress: string | null;
26135
- tokenIdentifier: string | null;
26136
- } | null;
26137
- govRules: {
26138
- reviewSteps: ({
26139
- quorum: number;
26140
- userIds: string[];
26141
- } | {
26142
- quorum: number;
26143
- groupId: string;
26144
- })[];
26145
- threshold?: {
26146
- min: string | null;
26147
- max: string | null;
26148
- } | undefined;
26149
- whitelistIds?: string[] | undefined;
26150
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26151
- }[];
26132
+ accountId: string;
26133
+ exchangeId: string;
26134
+ };
26135
+ id: string;
26136
+ legacyId: number;
26137
+ state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
26138
+ reviewSteps: {
26139
+ stageName: string;
26140
+ quorum: number;
26141
+ }[];
26142
+ currentStepIndex: number;
26143
+ expiresAt: Date;
26144
+ targetId: string | null;
26145
+ note: Note | null;
26146
+ reviews: RequestReview[];
26147
+ createdAt: Date;
26148
+ updatedAt: Date;
26149
+ createdById: string;
26150
+ inflight?: {
26151
+ completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
26152
+ retryAfter: Date;
26153
+ } | undefined;
26154
+ scanHistory?: {
26155
+ type: "creation" | "pre_signature";
26156
+ timestamp: string;
26157
+ riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
26158
+ riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
26159
+ message: string;
26160
+ tinyUrl: string;
26161
+ }[] | undefined;
26162
+ } | {
26163
+ type: "TRADELINK_WITHDRAW";
26164
+ data: {
26165
+ accountId: string;
26166
+ transaction: SendOnlyTransactionData;
26152
26167
  };
26153
26168
  id: string;
26154
26169
  legacyId: number;
@@ -26178,25 +26193,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26178
26193
  tinyUrl: string;
26179
26194
  }[] | undefined;
26180
26195
  } | {
26181
- type: "EDIT_POLICY";
26196
+ type: "TRADELINK_ARBITRATE";
26182
26197
  data: {
26183
- name: string;
26184
- description: string | null;
26185
- govRules: {
26186
- reviewSteps: ({
26187
- quorum: number;
26188
- userIds: string[];
26189
- } | {
26190
- quorum: number;
26191
- groupId: string;
26192
- })[];
26193
- threshold?: {
26194
- min: string | null;
26195
- max: string | null;
26196
- } | undefined;
26197
- whitelistIds?: string[] | undefined;
26198
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26199
- }[];
26198
+ accountId: string;
26199
+ transaction: SendOnlyTransactionData;
26200
26200
  };
26201
26201
  id: string;
26202
26202
  legacyId: number;
@@ -26277,20 +26277,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26277
26277
  waitForChallenges?: boolean | undefined;
26278
26278
  };
26279
26279
  output: {
26280
- type: "TRADELINK_CREATE_CUSTODIAN";
26280
+ type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
26281
26281
  data: {
26282
- settlement: {
26283
- quorum: number;
26284
- userIds: string[];
26285
- }[];
26286
- withdraw: {
26287
- quorum: number;
26288
- userIds: string[];
26289
- }[];
26290
- arbitration: {
26291
- quorum: number;
26292
- userIds: string[];
26293
- }[];
26282
+ previousPublicKeys: string[];
26283
+ requestedPublicKeys: string[];
26294
26284
  };
26295
26285
  id: string;
26296
26286
  legacyId: number;
@@ -26320,8 +26310,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26320
26310
  tinyUrl: string;
26321
26311
  }[] | undefined;
26322
26312
  } | {
26323
- type: "TRADELINK_ACTIVATE_ACCOUNT";
26324
- data: null;
26313
+ type: "UPDATE_QUORUM";
26314
+ data: {
26315
+ quorum: number;
26316
+ };
26325
26317
  id: string;
26326
26318
  legacyId: number;
26327
26319
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -26350,20 +26342,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26350
26342
  tinyUrl: string;
26351
26343
  }[] | undefined;
26352
26344
  } | {
26353
- type: "TRADELINK_EDIT_CUSTODIAN";
26345
+ type: "CREATE_TRANSACTION";
26354
26346
  data: {
26355
- settlement: {
26356
- quorum: number;
26357
- userIds: string[];
26358
- }[];
26359
- withdraw: {
26360
- quorum: number;
26361
- userIds: string[];
26362
- }[];
26363
- arbitration: {
26364
- quorum: number;
26365
- userIds: string[];
26366
- }[];
26347
+ accountId: string;
26348
+ transaction: TransactionData;
26349
+ maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
26367
26350
  };
26368
26351
  id: string;
26369
26352
  legacyId: number;
@@ -26393,18 +26376,33 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26393
26376
  tinyUrl: string;
26394
26377
  }[] | undefined;
26395
26378
  } | {
26396
- type: "TRADELINK_CREATE_EXCHANGE";
26379
+ type: "SIGN_MESSAGE";
26397
26380
  data: {
26398
- tradelinkId: string;
26399
- groups: {
26400
- quorum: number;
26401
- userIds: string[];
26402
- }[];
26403
- whitelist: {
26404
- name: string;
26405
- currency: string;
26406
- address: string;
26407
- }[];
26381
+ message: {
26382
+ type: "EIP191";
26383
+ data: string;
26384
+ } | {
26385
+ type: "EIP712";
26386
+ data: {
26387
+ types: Record<string, {
26388
+ name: string;
26389
+ type: string;
26390
+ }[]>;
26391
+ primaryType: string;
26392
+ domain: Record<string, any>;
26393
+ message: Record<string, any>;
26394
+ };
26395
+ } | {
26396
+ type: "CIP8";
26397
+ data: string;
26398
+ signingKey: "PAYMENT" | "STAKE";
26399
+ } | {
26400
+ type: "BIP137";
26401
+ data: string;
26402
+ };
26403
+ accountId: string;
26404
+ address: string;
26405
+ derivationPath: string;
26408
26406
  };
26409
26407
  id: string;
26410
26408
  legacyId: number;
@@ -26434,17 +26432,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26434
26432
  tinyUrl: string;
26435
26433
  }[] | undefined;
26436
26434
  } | {
26437
- type: "TRADELINK_EDIT_EXCHANGE";
26435
+ type: "SIGN_DIGESTS";
26438
26436
  data: {
26439
- tradelinkId: string;
26440
- groups: {
26441
- quorum: number;
26442
- userIds: string[];
26443
- }[];
26444
- whitelist: {
26445
- name: string;
26446
- currency: string;
26447
- address: string;
26437
+ accountId: string;
26438
+ digests: {
26439
+ digest: string;
26440
+ derivationPath: string;
26448
26441
  }[];
26449
26442
  };
26450
26443
  id: string;
@@ -26475,18 +26468,58 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26475
26468
  tinyUrl: string;
26476
26469
  }[] | undefined;
26477
26470
  } | {
26478
- type: "TRADELINK_CREATE_ASSET_MANAGER";
26471
+ type: "CREATE_ACCOUNT";
26479
26472
  data: {
26480
- tradelinkId: string;
26481
- groups: {
26482
- quorum: number;
26483
- userIds: string[];
26484
- }[];
26485
- whitelist: {
26486
- name: string;
26487
- currency: string;
26488
- address: string;
26489
- }[];
26473
+ name: string;
26474
+ currency: string;
26475
+ contractAddress: string | null;
26476
+ tokenIdentifier: string | null;
26477
+ bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
26478
+ governance: {
26479
+ type: "CLASSIC";
26480
+ policy: {
26481
+ policyId: string;
26482
+ } | {
26483
+ rules: {
26484
+ reviewSteps: ({
26485
+ quorum: number;
26486
+ userIds: string[];
26487
+ } | {
26488
+ quorum: number;
26489
+ groupId: string;
26490
+ })[];
26491
+ threshold?: {
26492
+ min: string | null;
26493
+ max: string | null;
26494
+ } | undefined;
26495
+ whitelistIds?: string[] | undefined;
26496
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26497
+ }[];
26498
+ };
26499
+ } | {
26500
+ type: "TRADELINK";
26501
+ assetManagerId: string;
26502
+ exchangeConfigs: {
26503
+ exchangeId: string;
26504
+ repledgeAuthorized: boolean;
26505
+ needsAssetManagerApprovalForSettlements: boolean;
26506
+ }[];
26507
+ } | {
26508
+ type: "RAW_SIGNING";
26509
+ policy: {
26510
+ rules: {
26511
+ operationType: "SIGN_DIGESTS";
26512
+ reviewSteps: {
26513
+ quorum: number;
26514
+ userIds: string[];
26515
+ }[];
26516
+ }[];
26517
+ };
26518
+ };
26519
+ portfolioIds?: string[] | undefined;
26520
+ index: number;
26521
+ derivationPath: string;
26522
+ type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
26490
26523
  };
26491
26524
  id: string;
26492
26525
  legacyId: number;
@@ -26516,18 +26549,49 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26516
26549
  tinyUrl: string;
26517
26550
  }[] | undefined;
26518
26551
  } | {
26519
- type: "TRADELINK_EDIT_ASSET_MANAGER";
26552
+ type: "EDIT_ACCOUNT";
26520
26553
  data: {
26521
- tradelinkId: string;
26522
- groups: {
26523
- quorum: number;
26524
- userIds: string[];
26525
- }[];
26526
- whitelist: {
26527
- name: string;
26528
- currency: string;
26529
- address: string;
26530
- }[];
26554
+ name: string;
26555
+ governance: {
26556
+ type: "CLASSIC";
26557
+ policy: {
26558
+ policyId: string;
26559
+ } | {
26560
+ rules: {
26561
+ reviewSteps: ({
26562
+ quorum: number;
26563
+ userIds: string[];
26564
+ } | {
26565
+ quorum: number;
26566
+ groupId: string;
26567
+ })[];
26568
+ threshold?: {
26569
+ min: string | null;
26570
+ max: string | null;
26571
+ } | undefined;
26572
+ whitelistIds?: string[] | undefined;
26573
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26574
+ }[];
26575
+ };
26576
+ } | {
26577
+ type: "TRADELINK";
26578
+ exchangeConfigs: {
26579
+ exchangeId: string;
26580
+ repledgeAuthorized: boolean;
26581
+ needsAssetManagerApprovalForSettlements: boolean;
26582
+ }[];
26583
+ } | {
26584
+ type: "RAW_SIGNING";
26585
+ policy: {
26586
+ rules: {
26587
+ operationType: "SIGN_DIGESTS";
26588
+ reviewSteps: {
26589
+ quorum: number;
26590
+ userIds: string[];
26591
+ }[];
26592
+ }[];
26593
+ };
26594
+ };
26531
26595
  };
26532
26596
  id: string;
26533
26597
  legacyId: number;
@@ -26557,11 +26621,25 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26557
26621
  tinyUrl: string;
26558
26622
  }[] | undefined;
26559
26623
  } | {
26560
- type: "TRADELINK_ADJUST_PLEDGE";
26561
- data: {
26562
- accountId: string;
26563
- exchangeId: string;
26564
- amount: string;
26624
+ type: "EDIT_TOKEN_RULE";
26625
+ data: {
26626
+ parentAccountId: string;
26627
+ contractAddress: string;
26628
+ rules: {
26629
+ reviewSteps: ({
26630
+ quorum: number;
26631
+ userIds: string[];
26632
+ } | {
26633
+ quorum: number;
26634
+ groupId: string;
26635
+ })[];
26636
+ threshold?: {
26637
+ min: string | null;
26638
+ max: string | null;
26639
+ } | undefined;
26640
+ whitelistIds?: string[] | undefined;
26641
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26642
+ }[];
26565
26643
  };
26566
26644
  id: string;
26567
26645
  legacyId: number;
@@ -26591,11 +26669,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26591
26669
  tinyUrl: string;
26592
26670
  }[] | undefined;
26593
26671
  } | {
26594
- type: "TRADELINK_REPLEDGE";
26672
+ type: "CREATE_GROUP";
26595
26673
  data: {
26596
- accountId: string;
26597
- exchangeId: string;
26598
- amount: string;
26674
+ name: string;
26675
+ description: string | null;
26676
+ members: string[];
26599
26677
  };
26600
26678
  id: string;
26601
26679
  legacyId: number;
@@ -26625,11 +26703,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26625
26703
  tinyUrl: string;
26626
26704
  }[] | undefined;
26627
26705
  } | {
26628
- type: "TRADELINK_CREATE_SETTLEMENT";
26706
+ type: "EDIT_GROUP";
26629
26707
  data: {
26630
- accountId: string;
26631
- exchangeId: string;
26632
- transaction: SendOnlyTransactionData;
26708
+ name: string;
26709
+ description: string | null;
26710
+ members: string[];
26633
26711
  };
26634
26712
  id: string;
26635
26713
  legacyId: number;
@@ -26659,11 +26737,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26659
26737
  tinyUrl: string;
26660
26738
  }[] | undefined;
26661
26739
  } | {
26662
- type: "TRADELINK_FORCE_UNPLEDGE";
26663
- data: {
26664
- accountId: string;
26665
- exchangeId: string;
26666
- };
26740
+ type: "REVOKE_GROUP";
26741
+ data: Record<string, never>;
26667
26742
  id: string;
26668
26743
  legacyId: number;
26669
26744
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -26692,10 +26767,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26692
26767
  tinyUrl: string;
26693
26768
  }[] | undefined;
26694
26769
  } | {
26695
- type: "TRADELINK_WITHDRAW";
26770
+ type: "CREATE_WHITELIST";
26696
26771
  data: {
26697
- accountId: string;
26698
- transaction: SendOnlyTransactionData;
26772
+ name: string;
26773
+ description: string | null;
26774
+ addresses: {
26775
+ name: string;
26776
+ currency: string;
26777
+ address: string;
26778
+ destinationTag?: string | undefined;
26779
+ }[];
26780
+ type: "SMART_CONTRACT" | "TRANSACTION";
26699
26781
  };
26700
26782
  id: string;
26701
26783
  legacyId: number;
@@ -26725,10 +26807,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26725
26807
  tinyUrl: string;
26726
26808
  }[] | undefined;
26727
26809
  } | {
26728
- type: "TRADELINK_ARBITRATE";
26810
+ type: "EDIT_WHITELIST";
26729
26811
  data: {
26730
- accountId: string;
26731
- transaction: SendOnlyTransactionData;
26812
+ name: string;
26813
+ addresses: {
26814
+ name: string;
26815
+ currency: string;
26816
+ address: string;
26817
+ destinationTag?: string | undefined;
26818
+ }[];
26732
26819
  };
26733
26820
  id: string;
26734
26821
  legacyId: number;
@@ -26758,9 +26845,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26758
26845
  tinyUrl: string;
26759
26846
  }[] | undefined;
26760
26847
  } | {
26761
- type: "UPDATE_QUORUM";
26848
+ type: "CREATE_ENTITY";
26762
26849
  data: {
26763
- quorum: number;
26850
+ name: string;
26851
+ accountIds: string[];
26852
+ memberIds: string[];
26764
26853
  };
26765
26854
  id: string;
26766
26855
  legacyId: number;
@@ -26790,10 +26879,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26790
26879
  tinyUrl: string;
26791
26880
  }[] | undefined;
26792
26881
  } | {
26793
- type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
26882
+ type: "EDIT_ENTITY";
26794
26883
  data: {
26795
- previousPublicKeys: string[];
26796
- requestedPublicKeys: string[];
26884
+ name: string;
26885
+ accountIds: string[];
26886
+ memberIds: string[];
26797
26887
  };
26798
26888
  id: string;
26799
26889
  legacyId: number;
@@ -26823,12 +26913,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26823
26913
  tinyUrl: string;
26824
26914
  }[] | undefined;
26825
26915
  } | {
26826
- type: "CREATE_TRANSACTION";
26827
- data: {
26828
- accountId: string;
26829
- transaction: TransactionData;
26830
- maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
26831
- };
26916
+ type: "REVOKE_ENTITY";
26917
+ data: Record<string, never>;
26832
26918
  id: string;
26833
26919
  legacyId: number;
26834
26920
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -26857,33 +26943,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26857
26943
  tinyUrl: string;
26858
26944
  }[] | undefined;
26859
26945
  } | {
26860
- type: "SIGN_MESSAGE";
26946
+ type: "CREATE_PSD_USER";
26861
26947
  data: {
26862
- message: {
26863
- type: "EIP191";
26864
- data: string;
26865
- } | {
26866
- type: "EIP712";
26867
- data: {
26868
- types: Record<string, {
26869
- name: string;
26870
- type: string;
26871
- }[]>;
26872
- primaryType: string;
26873
- domain: Record<string, any>;
26874
- message: Record<string, any>;
26875
- };
26876
- } | {
26877
- type: "CIP8";
26878
- data: string;
26879
- signingKey: "PAYMENT" | "STAKE";
26880
- } | {
26881
- type: "BIP137";
26882
- data: string;
26883
- };
26884
- accountId: string;
26885
- address: string;
26886
- derivationPath: string;
26948
+ registrationId: string;
26887
26949
  };
26888
26950
  id: string;
26889
26951
  legacyId: number;
@@ -26913,13 +26975,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26913
26975
  tinyUrl: string;
26914
26976
  }[] | undefined;
26915
26977
  } | {
26916
- type: "SIGN_DIGESTS";
26978
+ type: "CREATE_API_USER";
26917
26979
  data: {
26918
- accountId: string;
26919
- digests: {
26920
- digest: string;
26921
- derivationPath: string;
26922
- }[];
26980
+ name: string;
26981
+ pubKey: string;
26982
+ role: "ADMIN" | "OPERATOR";
26983
+ viewAll?: boolean | undefined;
26923
26984
  };
26924
26985
  id: string;
26925
26986
  legacyId: number;
@@ -26949,58 +27010,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26949
27010
  tinyUrl: string;
26950
27011
  }[] | undefined;
26951
27012
  } | {
26952
- type: "CREATE_ACCOUNT";
27013
+ type: "CREATE_API_USER_ACCESS";
26953
27014
  data: {
26954
27015
  name: string;
26955
- currency: string;
26956
- contractAddress: string | null;
26957
- tokenIdentifier: string | null;
26958
- bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
26959
- governance: {
26960
- type: "CLASSIC";
26961
- policy: {
26962
- policyId: string;
26963
- } | {
26964
- rules: {
26965
- reviewSteps: ({
26966
- quorum: number;
26967
- userIds: string[];
26968
- } | {
26969
- quorum: number;
26970
- groupId: string;
26971
- })[];
26972
- threshold?: {
26973
- min: string | null;
26974
- max: string | null;
26975
- } | undefined;
26976
- whitelistIds?: string[] | undefined;
26977
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
26978
- }[];
26979
- };
26980
- } | {
26981
- type: "TRADELINK";
26982
- assetManagerId: string;
26983
- exchangeConfigs: {
26984
- exchangeId: string;
26985
- repledgeAuthorized: boolean;
26986
- needsAssetManagerApprovalForSettlements: boolean;
26987
- }[];
26988
- } | {
26989
- type: "RAW_SIGNING";
26990
- policy: {
26991
- rules: {
26992
- operationType: "SIGN_DIGESTS";
26993
- reviewSteps: {
26994
- quorum: number;
26995
- userIds: string[];
26996
- }[];
26997
- }[];
26998
- };
26999
- };
27000
- portfolioIds?: string[] | undefined;
27001
- index: number;
27002
- derivationPath: string;
27003
- type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
27004
27016
  };
27005
27017
  id: string;
27006
27018
  legacyId: number;
@@ -27030,50 +27042,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27030
27042
  tinyUrl: string;
27031
27043
  }[] | undefined;
27032
27044
  } | {
27033
- type: "EDIT_ACCOUNT";
27034
- data: {
27035
- name: string;
27036
- governance: {
27037
- type: "CLASSIC";
27038
- policy: {
27039
- policyId: string;
27040
- } | {
27041
- rules: {
27042
- reviewSteps: ({
27043
- quorum: number;
27044
- userIds: string[];
27045
- } | {
27046
- quorum: number;
27047
- groupId: string;
27048
- })[];
27049
- threshold?: {
27050
- min: string | null;
27051
- max: string | null;
27052
- } | undefined;
27053
- whitelistIds?: string[] | undefined;
27054
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27055
- }[];
27056
- };
27057
- } | {
27058
- type: "TRADELINK";
27059
- exchangeConfigs: {
27060
- exchangeId: string;
27061
- repledgeAuthorized: boolean;
27062
- needsAssetManagerApprovalForSettlements: boolean;
27063
- }[];
27064
- } | {
27065
- type: "RAW_SIGNING";
27066
- policy: {
27067
- rules: {
27068
- operationType: "SIGN_DIGESTS";
27069
- reviewSteps: {
27070
- quorum: number;
27071
- userIds: string[];
27072
- }[];
27073
- }[];
27074
- };
27075
- };
27076
- };
27045
+ type: "REVOKE_USER";
27046
+ data: Record<string, never>;
27077
27047
  id: string;
27078
27048
  legacyId: number;
27079
27049
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27102,24 +27072,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27102
27072
  tinyUrl: string;
27103
27073
  }[] | undefined;
27104
27074
  } | {
27105
- type: "EDIT_TOKEN_RULE";
27075
+ type: "EDIT_WORKSPACE_RULE";
27106
27076
  data: {
27107
- parentAccountId: string;
27108
- contractAddress: string;
27109
- rules: {
27110
- reviewSteps: ({
27111
- quorum: number;
27112
- userIds: string[];
27113
- } | {
27114
- quorum: number;
27115
- groupId: string;
27116
- })[];
27117
- threshold?: {
27118
- min: string | null;
27119
- max: string | null;
27120
- } | undefined;
27121
- whitelistIds?: string[] | undefined;
27122
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27077
+ permission: "CREATE_ACCOUNT_WITH_POLICY";
27078
+ reviewConfig: {
27079
+ quorum: number;
27080
+ userIds: string[];
27123
27081
  }[];
27124
27082
  };
27125
27083
  id: string;
@@ -27150,11 +27108,13 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27150
27108
  tinyUrl: string;
27151
27109
  }[] | undefined;
27152
27110
  } | {
27153
- type: "CREATE_GROUP";
27111
+ type: "CREATE_SCICONFIG";
27154
27112
  data: {
27155
- name: string;
27156
- description: string | null;
27157
- members: string[];
27113
+ account: string;
27114
+ config: {
27115
+ dapps: string[] | null;
27116
+ customContractCallEnabled: boolean;
27117
+ };
27158
27118
  };
27159
27119
  id: string;
27160
27120
  legacyId: number;
@@ -27184,11 +27144,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27184
27144
  tinyUrl: string;
27185
27145
  }[] | undefined;
27186
27146
  } | {
27187
- type: "EDIT_GROUP";
27147
+ type: "EDIT_SCICONFIG";
27188
27148
  data: {
27189
- name: string;
27190
- description: string | null;
27191
- members: string[];
27149
+ config: {
27150
+ dapps: string[] | null;
27151
+ customContractCallEnabled: boolean;
27152
+ };
27192
27153
  };
27193
27154
  id: string;
27194
27155
  legacyId: number;
@@ -27218,8 +27179,12 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27218
27179
  tinyUrl: string;
27219
27180
  }[] | undefined;
27220
27181
  } | {
27221
- type: "REVOKE_GROUP";
27222
- data: Record<string, never>;
27182
+ type: "CREATE_API_KEY";
27183
+ data: {
27184
+ name: string;
27185
+ entities: string[];
27186
+ scopes: Record<string, never>;
27187
+ };
27223
27188
  id: string;
27224
27189
  legacyId: number;
27225
27190
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27248,17 +27213,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27248
27213
  tinyUrl: string;
27249
27214
  }[] | undefined;
27250
27215
  } | {
27251
- type: "CREATE_WHITELIST";
27216
+ type: "EDIT_API_KEY";
27252
27217
  data: {
27253
27218
  name: string;
27254
- description: string | null;
27255
- addresses: {
27256
- name: string;
27257
- currency: string;
27258
- address: string;
27259
- destinationTag?: string | undefined;
27260
- }[];
27261
- type: "SMART_CONTRACT" | "TRANSACTION";
27219
+ entities: string[];
27220
+ scopes: Record<string, never>;
27262
27221
  };
27263
27222
  id: string;
27264
27223
  legacyId: number;
@@ -27288,16 +27247,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27288
27247
  tinyUrl: string;
27289
27248
  }[] | undefined;
27290
27249
  } | {
27291
- type: "EDIT_WHITELIST";
27292
- data: {
27293
- name: string;
27294
- addresses: {
27295
- name: string;
27296
- currency: string;
27297
- address: string;
27298
- destinationTag?: string | undefined;
27299
- }[];
27300
- };
27250
+ type: "REVOKE_API_KEY";
27251
+ data: Record<string, never>;
27301
27252
  id: string;
27302
27253
  legacyId: number;
27303
27254
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27326,11 +27277,30 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27326
27277
  tinyUrl: string;
27327
27278
  }[] | undefined;
27328
27279
  } | {
27329
- type: "CREATE_ENTITY";
27280
+ type: "CREATE_POLICY";
27330
27281
  data: {
27331
27282
  name: string;
27332
- accountIds: string[];
27333
- memberIds: string[];
27283
+ description: string | null;
27284
+ asset: {
27285
+ network: string;
27286
+ contractAddress: string | null;
27287
+ tokenIdentifier: string | null;
27288
+ } | null;
27289
+ govRules: {
27290
+ reviewSteps: ({
27291
+ quorum: number;
27292
+ userIds: string[];
27293
+ } | {
27294
+ quorum: number;
27295
+ groupId: string;
27296
+ })[];
27297
+ threshold?: {
27298
+ min: string | null;
27299
+ max: string | null;
27300
+ } | undefined;
27301
+ whitelistIds?: string[] | undefined;
27302
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27303
+ }[];
27334
27304
  };
27335
27305
  id: string;
27336
27306
  legacyId: number;
@@ -27360,11 +27330,25 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27360
27330
  tinyUrl: string;
27361
27331
  }[] | undefined;
27362
27332
  } | {
27363
- type: "EDIT_ENTITY";
27333
+ type: "EDIT_POLICY";
27364
27334
  data: {
27365
27335
  name: string;
27366
- accountIds: string[];
27367
- memberIds: string[];
27336
+ description: string | null;
27337
+ govRules: {
27338
+ reviewSteps: ({
27339
+ quorum: number;
27340
+ userIds: string[];
27341
+ } | {
27342
+ quorum: number;
27343
+ groupId: string;
27344
+ })[];
27345
+ threshold?: {
27346
+ min: string | null;
27347
+ max: string | null;
27348
+ } | undefined;
27349
+ whitelistIds?: string[] | undefined;
27350
+ operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27351
+ }[];
27368
27352
  };
27369
27353
  id: string;
27370
27354
  legacyId: number;
@@ -27394,8 +27378,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27394
27378
  tinyUrl: string;
27395
27379
  }[] | undefined;
27396
27380
  } | {
27397
- type: "REVOKE_ENTITY";
27398
- data: Record<string, never>;
27381
+ type: "TRADELINK_ACTIVATE_ACCOUNT";
27382
+ data: null;
27399
27383
  id: string;
27400
27384
  legacyId: number;
27401
27385
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27424,9 +27408,20 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27424
27408
  tinyUrl: string;
27425
27409
  }[] | undefined;
27426
27410
  } | {
27427
- type: "CREATE_PSD_USER";
27411
+ type: "TRADELINK_CREATE_CUSTODIAN";
27428
27412
  data: {
27429
- registrationId: string;
27413
+ settlement: {
27414
+ quorum: number;
27415
+ userIds: string[];
27416
+ }[];
27417
+ withdraw: {
27418
+ quorum: number;
27419
+ userIds: string[];
27420
+ }[];
27421
+ arbitration: {
27422
+ quorum: number;
27423
+ userIds: string[];
27424
+ }[];
27430
27425
  };
27431
27426
  id: string;
27432
27427
  legacyId: number;
@@ -27456,12 +27451,20 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27456
27451
  tinyUrl: string;
27457
27452
  }[] | undefined;
27458
27453
  } | {
27459
- type: "CREATE_API_USER";
27454
+ type: "TRADELINK_EDIT_CUSTODIAN";
27460
27455
  data: {
27461
- name: string;
27462
- pubKey: string;
27463
- role: "ADMIN" | "OPERATOR";
27464
- viewAll?: boolean | undefined;
27456
+ settlement: {
27457
+ quorum: number;
27458
+ userIds: string[];
27459
+ }[];
27460
+ withdraw: {
27461
+ quorum: number;
27462
+ userIds: string[];
27463
+ }[];
27464
+ arbitration: {
27465
+ quorum: number;
27466
+ userIds: string[];
27467
+ }[];
27465
27468
  };
27466
27469
  id: string;
27467
27470
  legacyId: number;
@@ -27491,9 +27494,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27491
27494
  tinyUrl: string;
27492
27495
  }[] | undefined;
27493
27496
  } | {
27494
- type: "CREATE_API_USER_ACCESS";
27497
+ type: "TRADELINK_CREATE_EXCHANGE";
27495
27498
  data: {
27496
- name: string;
27499
+ tradelinkId: string;
27500
+ groups: {
27501
+ quorum: number;
27502
+ userIds: string[];
27503
+ }[];
27504
+ whitelist: {
27505
+ name: string;
27506
+ currency: string;
27507
+ address: string;
27508
+ }[];
27497
27509
  };
27498
27510
  id: string;
27499
27511
  legacyId: number;
@@ -27523,8 +27535,19 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27523
27535
  tinyUrl: string;
27524
27536
  }[] | undefined;
27525
27537
  } | {
27526
- type: "REVOKE_USER";
27527
- data: Record<string, never>;
27538
+ type: "TRADELINK_EDIT_EXCHANGE";
27539
+ data: {
27540
+ tradelinkId: string;
27541
+ groups: {
27542
+ quorum: number;
27543
+ userIds: string[];
27544
+ }[];
27545
+ whitelist: {
27546
+ name: string;
27547
+ currency: string;
27548
+ address: string;
27549
+ }[];
27550
+ };
27528
27551
  id: string;
27529
27552
  legacyId: number;
27530
27553
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27553,13 +27576,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27553
27576
  tinyUrl: string;
27554
27577
  }[] | undefined;
27555
27578
  } | {
27556
- type: "EDIT_WORKSPACE_RULE";
27579
+ type: "TRADELINK_CREATE_ASSET_MANAGER";
27557
27580
  data: {
27558
- permission: "CREATE_ACCOUNT_WITH_POLICY";
27559
- reviewConfig: {
27581
+ tradelinkId: string;
27582
+ groups: {
27560
27583
  quorum: number;
27561
27584
  userIds: string[];
27562
27585
  }[];
27586
+ whitelist: {
27587
+ name: string;
27588
+ currency: string;
27589
+ address: string;
27590
+ }[];
27563
27591
  };
27564
27592
  id: string;
27565
27593
  legacyId: number;
@@ -27589,13 +27617,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27589
27617
  tinyUrl: string;
27590
27618
  }[] | undefined;
27591
27619
  } | {
27592
- type: "CREATE_SCICONFIG";
27620
+ type: "TRADELINK_EDIT_ASSET_MANAGER";
27593
27621
  data: {
27594
- account: string;
27595
- config: {
27596
- dapps: string[] | null;
27597
- customContractCallEnabled: boolean;
27598
- };
27622
+ tradelinkId: string;
27623
+ groups: {
27624
+ quorum: number;
27625
+ userIds: string[];
27626
+ }[];
27627
+ whitelist: {
27628
+ name: string;
27629
+ currency: string;
27630
+ address: string;
27631
+ }[];
27599
27632
  };
27600
27633
  id: string;
27601
27634
  legacyId: number;
@@ -27625,12 +27658,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27625
27658
  tinyUrl: string;
27626
27659
  }[] | undefined;
27627
27660
  } | {
27628
- type: "EDIT_SCICONFIG";
27661
+ type: "TRADELINK_ADJUST_PLEDGE";
27629
27662
  data: {
27630
- config: {
27631
- dapps: string[] | null;
27632
- customContractCallEnabled: boolean;
27633
- };
27663
+ accountId: string;
27664
+ exchangeId: string;
27665
+ amount: string;
27634
27666
  };
27635
27667
  id: string;
27636
27668
  legacyId: number;
@@ -27660,11 +27692,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27660
27692
  tinyUrl: string;
27661
27693
  }[] | undefined;
27662
27694
  } | {
27663
- type: "CREATE_API_KEY";
27695
+ type: "TRADELINK_REPLEDGE";
27664
27696
  data: {
27665
- name: string;
27666
- entities: string[];
27667
- scopes: Record<string, never>;
27697
+ accountId: string;
27698
+ exchangeId: string;
27699
+ amount: string;
27668
27700
  };
27669
27701
  id: string;
27670
27702
  legacyId: number;
@@ -27694,11 +27726,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27694
27726
  tinyUrl: string;
27695
27727
  }[] | undefined;
27696
27728
  } | {
27697
- type: "EDIT_API_KEY";
27729
+ type: "TRADELINK_CREATE_SETTLEMENT";
27698
27730
  data: {
27699
- name: string;
27700
- entities: string[];
27701
- scopes: Record<string, never>;
27731
+ accountId: string;
27732
+ exchangeId: string;
27733
+ transaction: SendOnlyTransactionData;
27702
27734
  };
27703
27735
  id: string;
27704
27736
  legacyId: number;
@@ -27728,8 +27760,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27728
27760
  tinyUrl: string;
27729
27761
  }[] | undefined;
27730
27762
  } | {
27731
- type: "REVOKE_API_KEY";
27732
- data: Record<string, never>;
27763
+ type: "TRADELINK_FORCE_UNPLEDGE";
27764
+ data: {
27765
+ accountId: string;
27766
+ exchangeId: string;
27767
+ };
27733
27768
  id: string;
27734
27769
  legacyId: number;
27735
27770
  state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
@@ -27758,30 +27793,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27758
27793
  tinyUrl: string;
27759
27794
  }[] | undefined;
27760
27795
  } | {
27761
- type: "CREATE_POLICY";
27796
+ type: "TRADELINK_WITHDRAW";
27762
27797
  data: {
27763
- name: string;
27764
- description: string | null;
27765
- asset: {
27766
- network: string;
27767
- contractAddress: string | null;
27768
- tokenIdentifier: string | null;
27769
- } | null;
27770
- govRules: {
27771
- reviewSteps: ({
27772
- quorum: number;
27773
- userIds: string[];
27774
- } | {
27775
- quorum: number;
27776
- groupId: string;
27777
- })[];
27778
- threshold?: {
27779
- min: string | null;
27780
- max: string | null;
27781
- } | undefined;
27782
- whitelistIds?: string[] | undefined;
27783
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27784
- }[];
27798
+ accountId: string;
27799
+ transaction: SendOnlyTransactionData;
27785
27800
  };
27786
27801
  id: string;
27787
27802
  legacyId: number;
@@ -27811,25 +27826,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27811
27826
  tinyUrl: string;
27812
27827
  }[] | undefined;
27813
27828
  } | {
27814
- type: "EDIT_POLICY";
27829
+ type: "TRADELINK_ARBITRATE";
27815
27830
  data: {
27816
- name: string;
27817
- description: string | null;
27818
- govRules: {
27819
- reviewSteps: ({
27820
- quorum: number;
27821
- userIds: string[];
27822
- } | {
27823
- quorum: number;
27824
- groupId: string;
27825
- })[];
27826
- threshold?: {
27827
- min: string | null;
27828
- max: string | null;
27829
- } | undefined;
27830
- whitelistIds?: string[] | undefined;
27831
- operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
27832
- }[];
27831
+ accountId: string;
27832
+ transaction: SendOnlyTransactionData;
27833
27833
  };
27834
27834
  id: string;
27835
27835
  legacyId: number;
@@ -35825,4 +35825,4 @@ declare const zAuditLogSortBy: z.ZodDefault<z.ZodEnum<{
35825
35825
  type AuditLogSortBy = z.infer<typeof zAuditLogSortBy>;
35826
35826
  //#endregion
35827
35827
  export { EnsureNameAvailableInput as $, zCreateWebhookResponse as $a, convertTxToGovernableIntent as $i, SubProcessorRow as $n, GetObjectsInfoResponse as $r, AccountType$1 as $t, zTradelinkEntityResponse as A, Validator as Aa, Paginated as Ai, AllowedResourcesResponse as An, zAuthResponse as Ar, PortfolioCreateInput as At, zDeleteTradelinkOrgEntityInput as B, zBalance as Ba, zPageQuery as Bi, WrappingKeyProvisioningEphemeralPubKey as Bn, AccountAllowedActionsResponse as Br, zPortfolioCurrentUserAccessResponse as Bt, zUserRegistrationCreateInput as C, CANTON_SPEC as Ca, zUserRegistrationChallenge as Ci, UserRole as Cn, PsdAuthChallengeData as Cr, ReportInput as Ct, TradelinkNetworkResponse as D, BitcoinLikeBalance as Da, CursorPaginated as Di, zPolicyResponse as Dn, zOidcConfig as Dr, zReportResponse as Dt, TradelinkEntityResponse as E, BITCOIN_SPEC as Ea, RiskLevel as Ei, PolicySortBy as En, zExchangeCredentialsResponse as Er, zReportInput as Et, PledgeResponse as F, zTransactionStatus as Fa, paginate as Fi, OnboardingFullState as Fn, zAllAssetsResponse as Fr, PortfolioSummary as Ft, AppRouter as G, zGovernableAction as Ga, EstimatedFees as Gi, zOnboardingOpts as Gn, zAccountCommonFields as Gr, zPortfolioSummary as Gt, zTradelinkNetworkBlueprintResponse as H, zStakeSortBy as Ha, zSortOrder as Hi, zDeviceClaim as Hn, AccountSortBy as Hr, zPortfolioName as Ht, TradelinkNetworkBlueprintResponse as I, AccountFreshAddress as Ia, serializePage as Ii, OnboardingOpts as In, zAssetCapabilitiesResponse as Ir, PortfolioUpdateInput as It, ActivityTracer as J, DeleteWebhookResponse as Ja, TransactionData as Ji, LegalContentBlock as Jn, zBitcoinUtxoResponse as Jr, zPortfoliosByAccountIdsResponse as Jt, BackofficePermissionMeta as K, Note as Ka, SendOnlyTransactionData as Ki, zOnboardingSeedFragment as Kn, zAccountResponse as Kr, zPortfolioUpdateInput as Kt, TradelinkOrgEntityResponse as L, AccountLiveDataResponse as La, stableOrdering as Li, OnboardingSeedChallenge as Ln, zAssetResponse as Lr, PortfoliosByAccountIdsResponse as Lt, zTradelinkSettlementWithAccountAndExchangeInfoResponse as M, zStakingProvisioning as Ma, emptyPage as Mi, zAllowedResourcesResponse as Mn, AssetResponse as Mr, PortfolioHistoryEntryResponse as Mt, CreateTradelinkOrgEntityInput as N, NetworkFamily as Na, fetchAllCursorPages as Ni, zOpenApiResourceType as Nn, CurrencyResponse as Nr, PortfolioSortBy as Nt, TradelinkSettlementWithAccountAndExchangeInfoResponse as O, EthereumLikeEip1559FeeStrategy as Oa, DEFAULT_PAGE_SIZE as Oi, zPolicySortBy as On, AuthResponse as Or, zVisibleReportStatus as Ot, DeleteTradelinkExchangeInput as P, zCommonLiveData as Pa, fetchAllPages as Pi, DeviceClaim as Pn, TokenResponse as Pr, PortfolioStatusFilter as Pt, ChallengeResponse as Q, zCreateWebhookPayload as Qa, TransactionTypeOf as Qi, PrivacyNoticeSection as Qn, zSignedMessageResponse as Qr, zPortfolioAppliedState as Qt, zCreateTradelinkNetworkBlueprintInput as R, zAccountFreshAddress as Ra, zCursorPaginated as Ri, OnboardingSeedFragment as Rn, zCurrencyResponse as Rr, zPortfolioAdminResponse as Rt, UserRegistrationResponse as S, CARDANO_SPEC as Sa, zRefreshPskInputData as Si, UserDeviceType as Sn, zEntitySortBy as Sr, ReportDownloadUrlResponse as St, TradelinkCustodianResponse as T, zCantonTransferProposal as Ta, zUserRegistrationDeviceData as Ti, PolicyResponse as Tn, OidcConfig as Tr, zReportDownloadUrlResponse as Tt, zTradelinkOrgEntityResponse as U, zStakingValidator as Ua, AccountNetworkInfoFields as Ui, zOnboardingFullState as Un, TransactionWithMetaResponse as Ur, zPortfolioSortBy as Ut, zPledgeResponse as V, zStake as Va, zPaginated as Vi, WrappingKeyResponse as Vn, AccountResponse as Vr, zPortfolioHistoryEntryResponse as Vt, zTradelinkWhitelist as W, zStakingValidatorSortBy as Wa, AccountStakingFields as Wi, zOnboardingId as Wn, zAccountAllowedActionsResponse as Wr, zPortfolioStatusFilter as Wt, BackofficePermission as X, WebhookDetailResponse as Xa, TransactionResponse as Xi, LegalInlineContent as Xn, zCantonTransferProposalResponse as Xr, PortfolioAppliedState as Xt, ExtendedPrismaClient as Y, UpdateWebhookPayload as Ya, TransactionDataOf as Yi, LegalInline as Yn, zCantonPreApprovalStateResponse as Yr, PORTFOLIO_NAME_MAX_LENGTH as Yt, ApproveVaultRequestInput as Z, WebhookResponse as Za, TransactionType as Zi, PrivacyNoticeResponse as Zn, zTransactionWithMetaResponse as Zr, normalizePortfolioName as Zt, UserSortBy as _, POLKADOT_SPEC as _a, zPsdPairingData as _i, RequestState as _n, zWorkspaceRuleResponse as _r, zReviewStepsArray as _t, WorkspaceResponse as a, zNetworkAssetFields as aa, ApiChallenge as ai, ClaimedRole as an, zWebhookDetailResponse as ao, zPrivacyNoticeSection as ar, VaultRequestResponseBase as at, zUserSortBy as b, GENERIC_SPEC as ba, zPubKey as bi, RevaultMode as bn, EntitySortBy as br, SoftChallenge as bt, WhitelistAddressSortBy as c, zTransactionResponse as ca, PsdPairingData as ci, MaintenanceMode as cn, HSM_COMPARE_REASONS as co, zSubProcessorsResponse as cr, zChallengeResponse as ct, zWhitelistAddressResponse as d, TEZOS_SPEC as da, PubKey as di, OnboardingStep as dn, HsmCompareDetail as do, zGroupResponse as dr, zRequestSortBy as dt, getTxHsmProps as ea, HSM_OBJECT_TYPES as ei, ActivationStatus as en, zDeleteWebhookResponse as eo, SubProcessorsResponse as er, RequestDataOf as et, zWhitelistAddressSortBy as f, SUI_SPEC as fa, RefreshPskData as fi, OutgoingTransactionStatus as fn, HsmCompareReason as fo, zGroupSortBy as fr, zSignDigestsRequestInput as ft, UserResponse as g, zRippleDestinationTag as ga, UserRegistrationDeviceData as gi, RequestReviewStatus as gn, zRootWorkspaceRuleResponse as gr, ReviewStepWithUsers as gt, AdminResponse as h, RIPPLE_SPEC as ha, UserRegistrationChallengeResponse as hi, ReportStatus as hn, WorkspaceRulesResponse as hr, zVaultRequestResponse as ht, zAuditLogSortBy as i, zEstimatedFees as ia, VersionedObjectInfo as ii, ChallengeType as in, zWebhookDeliveryResponse as io, zPrivacyNoticeResponse as ir, VaultRequestResponse as it, zTradelinkNetworkResponse as j, zEthereumLikeEip1559FeeStrategy as ja, SortOrder as ji, zAllowedActionsResponse as jn, AllAssetsResponse as jr, PortfolioCurrentUserAccessResponse as jt, zTradelinkCustodianResponse as k, StakingProvisioning as ka, PageQuery as ki, AllowedActionsResponse as kn, zApiUserCredentialsResponse as kr, PortfolioAdminResponse as kt, WhitelistResponse as l, zTransactionType as la, PsdPairingInputData as li, MessageType as ln, HsmComparator as lo, GroupResponse as lr, zCreateClassicAccountWithPolicyIdInput as lt, zWhitelistSortBy as m, SOLANA_SPEC as ma, UserRegistrationChallenge as mi, PsdModel as mn, WorkspaceRuleResponse as mr, zVaultRequestCreateInput as mt, AuditLogSortBy as n, zAccountNetworkInfoFields as na, ObjectsContentResponse as ni, AllowedAction as nn, zRotateWebhookSecretResponse as no, zLegalInline as nr, RequestSortBy as nt, zWorkspaceResponse as o, zSendOnlyTransactionData as oa, HsmCertificate as oi, GateUserType as on, zWebhookResponse as oo, zPrivacyNoticeSectionId as or, genTransactionSchemas as ot, zWhitelistResponse as p, STELLAR_SPEC as pa, RefreshPskInputData as pi, PortfolioHistoryAction as pn, HsmWorkspaceComparison as po, RootWorkspaceRuleResponse as pr, zSignMessageRequestInput as pt, RateLimitMetricsMeta as q, CreateWebhookPayload as qa, StakingDataOf as qi, zWrappingKeyFragmentInput as qn, zAccountSortBy as qr, zPortfoliosByAccountIdsInput as qt, zAuditLogResponse as r, zAccountStakingFields as ra, ObjectsVersionResponse as ri, AuditLogType as rn, zUpdateWebhookPayload as ro, zLegalInlineContent as rr, VaultRequestCreateInput as rt, WhitelistAddressResponse as s, zTransactionData as sa, PsdChallenge as si, HsmHostingMode as sn, HSM_COMPARATORS as so, zSubProcessorRow as sr, zApproveVaultRequestInput as st, AuditLogResponse as t, zAccountLiveData as ta, HsmObjectType as ti, AdminPermission as tn, zReplayFailedResponse as to, zLegalContentBlock as tr, RequestReview as tt, WhitelistSortBy as u, TRON_SPEC as ua, PsdSignature as ui, OnboardedUserRole as un, HsmCompareAnomaly as uo, GroupSortBy as ur, zEnsureNameAvailableInput as ut, zAdminResponse as v, HEDERA_SPEC as va, zPsdPairingInputData as vi, RequestType as vn, zWorkspaceRulesResponse as vr, Challenge as vt, zUserRegistrationResponse as w, CantonTransferProposal as wa, zUserRegistrationChallengeResponse as wi, WhitelistType as wn, zPsdAuthChallengeData as wr, ReportResponse as wt, UserRegistrationCreateInput as x, ETHEREUM_SPEC as xa, zRefreshPskData as xi, ReviewConfigType as xn, zEntityResponse as xr, zEnsureNameAvailableOutput as xt, zUserResponse as y, isErc20Address as ya, zPsdSignature as yi, ResourceType as yn, EntityResponse as yr, EnsureNameAvailableOutput as yt, zCreateTradelinkOrgEntityInput as z, zAccountLiveDataResponse as za, zCursorQuery as zi, WrappingKeyFragmentInput as zn, zTokenResponse as zr, zPortfolioCreateInput as zt };
35828
- //# sourceMappingURL=app-lib-wzQKqbv_.d.mts.map
35828
+ //# sourceMappingURL=app-lib-CylpEF5I.d.mts.map