@ledgerhq/revault-api 1.49.0 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -11,8 +11,8 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
11
11
  import * as fastify_types_type_provider from 'fastify/types/type-provider';
12
12
  import * as http from 'http';
13
13
  import * as fastify from 'fastify';
14
- import { A as AssetResponse } from './app-types-CPQeirCC.mjs';
15
- export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, M as AdminResponse, H as ApproveVaultRequestInput, J as Challenge, D as ChallengeResponse, C as CurrencyResponse, G as GroupResponse, u as GroupSortBy, R as RequestSortBy, S as SoftChallenge, n as TokenResponse, T as TransactionResponse, U as UserResponse, O as UserSortBy, V as VaultRequestCreateInput, x as VaultRequestResponse, W as WhitelistResponse, Y as WhitelistSortBy, E as genTransactionSchemas, z as zAccountFreshAddress, e as zAccountLiveDataResponse, f as zAccountResponse, g as zAccountSortBy, L as zAdminResponse, F as zApproveVaultRequestInput, o as zAssetCapabilitiesResponse, p as zAssetResponse, h as zBalance, B as zChallengeResponse, q as zCurrencyResponse, m as zEstimateFeesResponse, s as zGroupResponse, t as zGroupSortBy, y as zRequestSortBy, I as zRequestTaskResponse, i as zStake, j as zStakeSortBy, k as zStakingValidator, l as zStakingValidatorSortBy, r as zTokenResponse, K as zUserResponse, N as zUserSortBy, v as zVaultRequestCreateInput, w as zVaultRequestResponse, P as zWhitelistAddressResponse, Q as zWhitelistResponse, X as zWhitelistSortBy } from './app-types-CPQeirCC.mjs';
14
+ import { A as AssetResponse } from './app-types-CoSpdjR8.mjs';
15
+ export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, M as AdminResponse, H as ApproveVaultRequestInput, J as Challenge, D as ChallengeResponse, C as CurrencyResponse, G as GroupResponse, u as GroupSortBy, R as RequestSortBy, S as SoftChallenge, n as TokenResponse, T as TransactionResponse, U as UserResponse, O as UserSortBy, V as VaultRequestCreateInput, x as VaultRequestResponse, W as WhitelistResponse, Y as WhitelistSortBy, E as genTransactionSchemas, z as zAccountFreshAddress, e as zAccountLiveDataResponse, f as zAccountResponse, g as zAccountSortBy, L as zAdminResponse, F as zApproveVaultRequestInput, o as zAssetCapabilitiesResponse, p as zAssetResponse, h as zBalance, B as zChallengeResponse, q as zCurrencyResponse, m as zEstimateFeesResponse, s as zGroupResponse, t as zGroupSortBy, y as zRequestSortBy, I as zRequestTaskResponse, i as zStake, j as zStakeSortBy, k as zStakingValidator, l as zStakingValidatorSortBy, r as zTokenResponse, K as zUserResponse, N as zUserSortBy, v as zVaultRequestCreateInput, w as zVaultRequestResponse, P as zWhitelistAddressResponse, Q as zWhitelistResponse, X as zWhitelistSortBy } from './app-types-CoSpdjR8.mjs';
16
16
 
17
17
  declare const zGovernableAction: z$1.ZodEnum<{
18
18
  SEND: "SEND";
@@ -202,7 +202,6 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
202
202
  CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
203
203
  CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
204
204
  CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
205
- CANTON_LIKE_TAP: "CANTON_LIKE_TAP";
206
205
  }>;
207
206
  reason: z__default.ZodNullable<z__default.ZodString>;
208
207
  note: z__default.ZodNullable<z__default.ZodObject<{
@@ -367,6 +366,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
367
366
  HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
368
367
  HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
369
368
  HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
369
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
370
370
  }>;
371
371
  note: z__default.ZodNullable<z__default.ZodObject<{
372
372
  title: z__default.ZodString;
@@ -609,7 +609,6 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
609
609
  CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
610
610
  CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
611
611
  CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
612
- CANTON_LIKE_TAP: "CANTON_LIKE_TAP";
613
612
  }>;
614
613
  reason: z__default.ZodNullable<z__default.ZodString>;
615
614
  note: z__default.ZodNullable<z__default.ZodObject<{
@@ -774,6 +773,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
774
773
  HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
775
774
  HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
776
775
  HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
776
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
777
777
  }>;
778
778
  note: z__default.ZodNullable<z__default.ZodObject<{
779
779
  title: z__default.ZodString;
@@ -1639,7 +1639,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1639
1639
  deviceUserId: string;
1640
1640
  id: string;
1641
1641
  workspaceName: string;
1642
- state: "INITIAL" | "PENDING" | "COMPLETED";
1642
+ state: "INITIAL" | "PENDING" | "COMPLETED" | "CONSUMED";
1643
1643
  }[];
1644
1644
  meta: {
1645
1645
  [x: string]: unknown;
@@ -1676,7 +1676,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1676
1676
  deviceUserId: string;
1677
1677
  id: string;
1678
1678
  workspaceName: string;
1679
- state: "INITIAL" | "PENDING" | "COMPLETED";
1679
+ state: "INITIAL" | "PENDING" | "COMPLETED" | "CONSUMED";
1680
1680
  };
1681
1681
  meta: {
1682
1682
  [x: string]: unknown;
@@ -1783,7 +1783,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1783
1783
  deviceUserId: string;
1784
1784
  id: string;
1785
1785
  workspaceName: string;
1786
- state: "INITIAL" | "PENDING" | "COMPLETED";
1786
+ state: "INITIAL" | "PENDING" | "COMPLETED" | "CONSUMED";
1787
1787
  };
1788
1788
  meta: {
1789
1789
  [x: string]: unknown;
@@ -1846,7 +1846,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1846
1846
  deviceUserId: string;
1847
1847
  id: string;
1848
1848
  workspaceName: string;
1849
- state: "INITIAL" | "PENDING" | "COMPLETED";
1849
+ state: "INITIAL" | "PENDING" | "COMPLETED" | "CONSUMED";
1850
1850
  };
1851
1851
  meta: {
1852
1852
  [x: string]: unknown;
@@ -1880,7 +1880,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1880
1880
  deviceUserId: string;
1881
1881
  id: string;
1882
1882
  workspaceName: string;
1883
- state: "INITIAL" | "PENDING" | "COMPLETED";
1883
+ state: "INITIAL" | "PENDING" | "COMPLETED" | "CONSUMED";
1884
1884
  }[];
1885
1885
  meta: {
1886
1886
  [x: string]: unknown;
@@ -2912,7 +2912,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2912
2912
  fee: string;
2913
2913
  senders: string[];
2914
2914
  recipients: string[];
2915
- type: "CANTON_LIKE_SEND" | "CANTON_LIKE_SEND_TOKEN" | "CANTON_LIKE_WITHDRAW" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_PRE_APPROVAL" | "CANTON_LIKE_TAP";
2915
+ type: "CANTON_LIKE_SEND" | "CANTON_LIKE_SEND_TOKEN" | "CANTON_LIKE_WITHDRAW" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_PRE_APPROVAL";
2916
2916
  reason: string | null;
2917
2917
  note: {
2918
2918
  title: string;
@@ -3034,7 +3034,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3034
3034
  fee: string;
3035
3035
  senders: string[];
3036
3036
  recipients: string[];
3037
- type: "HEDERA_LIKE_SEND" | "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_STAKE";
3037
+ type: "HEDERA_LIKE_SEND" | "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_STAKE" | "HEDERA_LIKE_UNSTAKE";
3038
3038
  note: {
3039
3039
  title: string;
3040
3040
  content: string;
@@ -3258,12 +3258,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3258
3258
  currency: string;
3259
3259
  recipient: string;
3260
3260
  type: "CANTON_LIKE_PRE_APPROVAL";
3261
- } | {
3262
- amount: string;
3263
- currency: string;
3264
- maxFee: string | null;
3265
- recipient: string;
3266
- type: "CANTON_LIKE_TAP";
3267
3261
  } | {
3268
3262
  amount: string;
3269
3263
  currency: string;
@@ -5893,6 +5887,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5893
5887
  pendingBy?: string | undefined;
5894
5888
  sortBy?: "createdAt" | "updatedAt" | "expiresAt" | "state" | undefined;
5895
5889
  sortOrder?: "asc" | "desc" | undefined;
5890
+ fromDate?: unknown;
5891
+ toDate?: unknown;
5896
5892
  };
5897
5893
  output: {
5898
5894
  page: number;
@@ -6878,12 +6874,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6878
6874
  currency: string;
6879
6875
  recipient: string;
6880
6876
  type: "CANTON_LIKE_PRE_APPROVAL";
6881
- } | {
6882
- amount: string;
6883
- currency: string;
6884
- maxFee: string | null;
6885
- recipient: string;
6886
- type: "CANTON_LIKE_TAP";
6887
6877
  } | {
6888
6878
  amount: string;
6889
6879
  currency: string;
@@ -9399,12 +9389,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9399
9389
  currency: string;
9400
9390
  recipient: string;
9401
9391
  type: "CANTON_LIKE_PRE_APPROVAL";
9402
- } | {
9403
- amount: string;
9404
- currency: string;
9405
- maxFee: string | null;
9406
- recipient: string;
9407
- type: "CANTON_LIKE_TAP";
9408
9392
  } | {
9409
9393
  amount: string;
9410
9394
  currency: string;
@@ -11590,12 +11574,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11590
11574
  currency: string;
11591
11575
  recipient: string;
11592
11576
  type: "CANTON_LIKE_PRE_APPROVAL";
11593
- } | {
11594
- amount: string;
11595
- currency: string;
11596
- maxFee: string | null;
11597
- recipient: string;
11598
- type: "CANTON_LIKE_TAP";
11599
11577
  } | {
11600
11578
  amount: string;
11601
11579
  currency: string;
@@ -13293,12 +13271,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13293
13271
  currency: string;
13294
13272
  recipient: string;
13295
13273
  type: "CANTON_LIKE_PRE_APPROVAL";
13296
- } | {
13297
- amount: string;
13298
- currency: string;
13299
- maxFee: string | null;
13300
- recipient: string;
13301
- type: "CANTON_LIKE_TAP";
13302
13274
  } | {
13303
13275
  amount: string;
13304
13276
  currency: string;
@@ -15207,12 +15179,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15207
15179
  currency: string;
15208
15180
  recipient: string;
15209
15181
  type: "CANTON_LIKE_PRE_APPROVAL";
15210
- } | {
15211
- amount: string;
15212
- currency: string;
15213
- maxFee: string | null;
15214
- recipient: string;
15215
- type: "CANTON_LIKE_TAP";
15216
15182
  };
15217
15183
  };
15218
15184
  id: string;
@@ -16255,12 +16221,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
16255
16221
  currency: string;
16256
16222
  recipient: string;
16257
16223
  type: "CANTON_LIKE_PRE_APPROVAL";
16258
- } | {
16259
- amount: string;
16260
- currency: string;
16261
- maxFee: string | null;
16262
- recipient: string;
16263
- type: "CANTON_LIKE_TAP";
16264
16224
  } | {
16265
16225
  amount: string;
16266
16226
  currency: string;
@@ -18778,12 +18738,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
18778
18738
  currency: string;
18779
18739
  recipient: string;
18780
18740
  type: "CANTON_LIKE_PRE_APPROVAL";
18781
- } | {
18782
- amount: string;
18783
- currency: string;
18784
- maxFee: string | null;
18785
- recipient: string;
18786
- type: "CANTON_LIKE_TAP";
18787
18741
  } | {
18788
18742
  amount: string;
18789
18743
  currency: string;
@@ -21303,12 +21257,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
21303
21257
  currency: string;
21304
21258
  recipient: string;
21305
21259
  type: "CANTON_LIKE_PRE_APPROVAL";
21306
- } | {
21307
- amount: string;
21308
- currency: string;
21309
- maxFee: string | null;
21310
- recipient: string;
21311
- type: "CANTON_LIKE_TAP";
21312
21260
  } | {
21313
21261
  amount: string;
21314
21262
  currency: string;
@@ -23826,12 +23774,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
23826
23774
  currency: string;
23827
23775
  recipient: string;
23828
23776
  type: "CANTON_LIKE_PRE_APPROVAL";
23829
- } | {
23830
- amount: string;
23831
- currency: string;
23832
- maxFee: string | null;
23833
- recipient: string;
23834
- type: "CANTON_LIKE_TAP";
23835
23777
  } | {
23836
23778
  amount: string;
23837
23779
  currency: string;
@@ -26345,12 +26287,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
26345
26287
  currency: string;
26346
26288
  recipient: string;
26347
26289
  type: "CANTON_LIKE_PRE_APPROVAL";
26348
- } | {
26349
- amount: string;
26350
- currency: string;
26351
- maxFee: string | null;
26352
- recipient: string;
26353
- type: "CANTON_LIKE_TAP";
26354
26290
  } | {
26355
26291
  amount: string;
26356
26292
  currency: string;
@@ -34025,12 +33961,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
34025
33961
  currency: string;
34026
33962
  recipient: string;
34027
33963
  type: "CANTON_LIKE_PRE_APPROVAL";
34028
- } | {
34029
- amount: string;
34030
- currency: string;
34031
- maxFee: string | null;
34032
- recipient: string;
34033
- type: "CANTON_LIKE_TAP";
34034
33964
  } | {
34035
33965
  amount: string;
34036
33966
  currency: string;
@@ -35470,6 +35400,7 @@ declare const zUserRegistrationResponse: z$1.ZodObject<{
35470
35400
  INITIAL: "INITIAL";
35471
35401
  PENDING: "PENDING";
35472
35402
  COMPLETED: "COMPLETED";
35403
+ CONSUMED: "CONSUMED";
35473
35404
  }>;
35474
35405
  }, z$1.core.$strip>;
35475
35406
  type UserRegistrationResponse = z$1.infer<typeof zUserRegistrationResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/revault-api",
3
- "version": "1.49.0",
3
+ "version": "1.50.0",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "files": [