@ledgerhq/revault-api 1.29.3 → 1.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.d.mts +31 -101
  2. package/package.json +1 -1
package/lib/index.d.mts CHANGED
@@ -6,11 +6,12 @@ import * as z from 'zod';
6
6
  import z__default, { z as z$1 } from 'zod';
7
7
  import * as trpc_to_openapi from 'trpc-to-openapi';
8
8
  import * as socket_io from 'socket.io';
9
- import * as _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs from '@trpc/server/dist/unstable-core-do-not-import.d-CSxj_rbP.cjs';
9
+ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable-core-do-not-import';
10
10
  import * as fastify_types_type_provider from 'fastify/types/type-provider';
11
11
  import * as http from 'http';
12
12
  import * as fastify from 'fastify';
13
13
  export { A as AccountResponse, a as AccountSortBy, c as ApiChallenge, H as HsmCertificate, P as PsdChallenge, d as PsdPairingData, e as PsdPairingInputData, f as PsdSignature, g as PubKey, R as RequestSortBy, v as UserChallengeResponse, U as UserRegistrationChallenge, h as UserRegistrationChallengeResponse, i as UserRegistrationDeviceData, V as VaultRequestCreateInput, s as VaultRequestResponse, z as zAccountResponse, b as zAccountSortBy, j as zPsdPairingData, k as zPsdPairingInputData, l as zPsdSignature, m as zPubKey, t as zRequestSortBy, u as zUserChallengeResponse, n as zUserRegistrationChallenge, o as zUserRegistrationChallengeResponse, p as zUserRegistrationDeviceData, q as zVaultRequestCreateInput, r as zVaultRequestResponse } from './app-types-mEeONvZb.mjs';
14
+ export { CreateWebhookPayload, DeleteWebhookResponse, WebhookResponse, WebhooksResponse, zCreateWebhookPayload, zDeleteWebhookResponse, zWebhookResponse } from '@ledgerhq/revault-notifier-types/webhook';
14
15
 
15
16
  type RouteMetricsConfig = {
16
17
  category: string;
@@ -61,7 +62,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
61
62
  ctx: {
62
63
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
63
64
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
64
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
65
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
65
66
  user: _prisma_client.User | null;
66
67
  authorization: string | null;
67
68
  activityTracer: ActivityTracer;
@@ -96,7 +97,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
96
97
  ctx: {
97
98
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
98
99
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
99
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
100
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
100
101
  user: _prisma_client.User | null;
101
102
  authorization: string | null;
102
103
  activityTracer: ActivityTracer;
@@ -194,7 +195,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
194
195
  ctx: {
195
196
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
196
197
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
197
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
198
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
198
199
  user: _prisma_client.User | null;
199
200
  authorization: string | null;
200
201
  activityTracer: ActivityTracer;
@@ -369,7 +370,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
369
370
  ctx: {
370
371
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
371
372
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
372
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
373
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
373
374
  user: _prisma_client.User | null;
374
375
  authorization: string | null;
375
376
  activityTracer: ActivityTracer;
@@ -522,7 +523,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
522
523
  ctx: {
523
524
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
524
525
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
525
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
526
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
526
527
  user: _prisma_client.User | null;
527
528
  authorization: string | null;
528
529
  activityTracer: ActivityTracer;
@@ -829,7 +830,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
829
830
  ctx: {
830
831
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
831
832
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
832
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
833
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
833
834
  user: _prisma_client.User | null;
834
835
  authorization: string | null;
835
836
  activityTracer: ActivityTracer;
@@ -929,7 +930,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
929
930
  ctx: {
930
931
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
931
932
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
932
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
933
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
933
934
  user: _prisma_client.User | null;
934
935
  authorization: string | null;
935
936
  activityTracer: ActivityTracer;
@@ -1129,7 +1130,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1129
1130
  } & MetricsMeta;
1130
1131
  }>;
1131
1132
  listWorkspaces: _trpc_server.TRPCQueryProcedure<{
1132
- input: void;
1133
+ input: {
1134
+ fetchOrgApi: boolean;
1135
+ } | undefined;
1133
1136
  output: {
1134
1137
  name: string;
1135
1138
  status: "ACTIVE" | "INACTIVE";
@@ -1463,7 +1466,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1463
1466
  ctx: {
1464
1467
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
1465
1468
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
1466
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
1469
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
1467
1470
  user: _prisma_client.User | null;
1468
1471
  authorization: string | null;
1469
1472
  activityTracer: ActivityTracer;
@@ -2543,7 +2546,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2543
2546
  ctx: {
2544
2547
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
2545
2548
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
2546
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
2549
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
2547
2550
  user: _prisma_client.User | null;
2548
2551
  authorization: string | null;
2549
2552
  activityTracer: ActivityTracer;
@@ -2684,7 +2687,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2684
2687
  ctx: {
2685
2688
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
2686
2689
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
2687
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
2690
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
2688
2691
  user: _prisma_client.User | null;
2689
2692
  authorization: string | null;
2690
2693
  activityTracer: ActivityTracer;
@@ -2809,7 +2812,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2809
2812
  ctx: {
2810
2813
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
2811
2814
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
2812
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
2815
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
2813
2816
  user: _prisma_client.User | null;
2814
2817
  authorization: string | null;
2815
2818
  activityTracer: ActivityTracer;
@@ -3031,7 +3034,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3031
3034
  ctx: {
3032
3035
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
3033
3036
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
3034
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
3037
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
3035
3038
  user: _prisma_client.User | null;
3036
3039
  authorization: string | null;
3037
3040
  activityTracer: ActivityTracer;
@@ -3142,7 +3145,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3142
3145
  ctx: {
3143
3146
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
3144
3147
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
3145
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
3148
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
3146
3149
  user: _prisma_client.User | null;
3147
3150
  authorization: string | null;
3148
3151
  activityTracer: ActivityTracer;
@@ -15177,7 +15180,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15177
15180
  ctx: {
15178
15181
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
15179
15182
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
15180
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
15183
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
15181
15184
  user: _prisma_client.User | null;
15182
15185
  authorization: string | null;
15183
15186
  activityTracer: ActivityTracer;
@@ -19807,7 +19810,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
19807
19810
  ctx: {
19808
19811
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
19809
19812
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
19810
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
19813
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
19811
19814
  user: _prisma_client.User | null;
19812
19815
  authorization: string | null;
19813
19816
  activityTracer: ActivityTracer;
@@ -19922,7 +19925,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
19922
19925
  ctx: {
19923
19926
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
19924
19927
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
19925
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
19928
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
19926
19929
  user: _prisma_client.User | null;
19927
19930
  authorization: string | null;
19928
19931
  activityTracer: ActivityTracer;
@@ -19957,7 +19960,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
19957
19960
  ctx: {
19958
19961
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
19959
19962
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
19960
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
19963
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
19961
19964
  user: _prisma_client.User | null;
19962
19965
  authorization: string | null;
19963
19966
  activityTracer: ActivityTracer;
@@ -20549,7 +20552,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20549
20552
  ctx: {
20550
20553
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
20551
20554
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
20552
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
20555
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
20553
20556
  user: _prisma_client.User | null;
20554
20557
  authorization: string | null;
20555
20558
  activityTracer: ActivityTracer;
@@ -20592,10 +20595,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20592
20595
  pageSize: number;
20593
20596
  total: number;
20594
20597
  results: {
20595
- id: string;
20596
20598
  url: string;
20597
- createdAt: Date;
20598
20599
  targetType: "REQUEST" | null;
20600
+ id: string;
20601
+ createdAt: Date;
20599
20602
  }[];
20600
20603
  };
20601
20604
  meta: {
@@ -20623,10 +20626,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20623
20626
  id: string;
20624
20627
  };
20625
20628
  output: {
20626
- id: string;
20627
20629
  url: string;
20628
- createdAt: Date;
20629
20630
  targetType: "REQUEST" | null;
20631
+ id: string;
20632
+ createdAt: Date;
20630
20633
  };
20631
20634
  meta: {
20632
20635
  [x: string]: unknown;
@@ -20654,10 +20657,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20654
20657
  targetType: "REQUEST" | null;
20655
20658
  };
20656
20659
  output: {
20657
- id: string;
20658
20660
  url: string;
20659
- createdAt: Date;
20660
20661
  targetType: "REQUEST" | null;
20662
+ id: string;
20663
+ createdAt: Date;
20661
20664
  };
20662
20665
  meta: {
20663
20666
  [x: string]: unknown;
@@ -20711,7 +20714,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20711
20714
  ctx: {
20712
20715
  req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
20713
20716
  res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
20714
- info?: _trpc_server_dist_unstable_core_do_not_import_d_CSxj_rbP_cjs.TRPCRequestInfo | undefined;
20717
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
20715
20718
  user: _prisma_client.User | null;
20716
20719
  authorization: string | null;
20717
20720
  activityTracer: ActivityTracer;
@@ -26299,77 +26302,4 @@ declare const zWorkspaceResponse: z__default.ZodObject<{
26299
26302
  }>;
26300
26303
  type WorkspaceResponse = z__default.infer<typeof zWorkspaceResponse>;
26301
26304
 
26302
- declare const zCreateWebhookPayload: z$1.ZodObject<{
26303
- url: z$1.ZodString;
26304
- targetType: z$1.ZodNullable<z$1.ZodEnum<["REQUEST"]>>;
26305
- }, "strip", z$1.ZodTypeAny, {
26306
- url: string;
26307
- targetType: "REQUEST" | null;
26308
- }, {
26309
- url: string;
26310
- targetType: "REQUEST" | null;
26311
- }>;
26312
- type CreateWebhookPayload = z$1.infer<typeof zCreateWebhookPayload>;
26313
- declare const zWebhookResponse: z$1.ZodObject<{
26314
- id: z$1.ZodString;
26315
- targetType: z$1.ZodNullable<z$1.ZodEnum<["REQUEST"]>>;
26316
- url: z$1.ZodString;
26317
- createdAt: z$1.ZodDate;
26318
- }, "strip", z$1.ZodTypeAny, {
26319
- id: string;
26320
- url: string;
26321
- createdAt: Date;
26322
- targetType: "REQUEST" | null;
26323
- }, {
26324
- id: string;
26325
- url: string;
26326
- createdAt: Date;
26327
- targetType: "REQUEST" | null;
26328
- }>;
26329
- type WebhookResponse = z$1.infer<typeof zWebhookResponse>;
26330
- declare const zWebhooksResponse: z$1.ZodObject<{
26331
- results: z$1.ZodArray<z$1.ZodObject<{
26332
- id: z$1.ZodString;
26333
- targetType: z$1.ZodNullable<z$1.ZodEnum<["REQUEST"]>>;
26334
- url: z$1.ZodString;
26335
- createdAt: z$1.ZodDate;
26336
- }, "strip", z$1.ZodTypeAny, {
26337
- id: string;
26338
- url: string;
26339
- createdAt: Date;
26340
- targetType: "REQUEST" | null;
26341
- }, {
26342
- id: string;
26343
- url: string;
26344
- createdAt: Date;
26345
- targetType: "REQUEST" | null;
26346
- }>, "many">;
26347
- total: z$1.ZodNumber;
26348
- }, "strip", z$1.ZodTypeAny, {
26349
- total: number;
26350
- results: {
26351
- id: string;
26352
- url: string;
26353
- createdAt: Date;
26354
- targetType: "REQUEST" | null;
26355
- }[];
26356
- }, {
26357
- total: number;
26358
- results: {
26359
- id: string;
26360
- url: string;
26361
- createdAt: Date;
26362
- targetType: "REQUEST" | null;
26363
- }[];
26364
- }>;
26365
- type WebhooksResponse = z$1.infer<typeof zWebhooksResponse>;
26366
- declare const zDeleteWebhookResponse: z$1.ZodObject<{
26367
- success: z$1.ZodBoolean;
26368
- }, "strip", z$1.ZodTypeAny, {
26369
- success: boolean;
26370
- }, {
26371
- success: boolean;
26372
- }>;
26373
- type DeleteWebhookResponse = z$1.infer<typeof zDeleteWebhookResponse>;
26374
-
26375
- export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CreateWebhookPayload, type CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeleteWebhookResponse, type DeviceClaim, type EntityResponse, type EntitySortBy, type GroupResponse, type GroupSortBy, type MasterRuleResponse, type Note, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type ReviewStepWithUsers, type SortOrder, type TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionResponse, type TransactionWithMetaResponse, type UserRegistrationCreateInput, type UserRegistrationResponse, type UserResponse, type UserSortBy, type WebhookResponse, type WebhooksResponse, type WhitelistResponse, type WhitelistSortBy, type WorkspaceResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, paginate, serializePage, stableOrdering, zAdminResponse, zAllowedAction, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCreateWebhookPayload, zCurrencyResponse, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeleteWebhookResponse, zDeviceClaim, zEntityResponse, zEntitySortBy, zEstimatedFees as zEstimateFeesResponse, zGroupResponse, zGroupSortBy, zNote, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zOperationType, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zReviewStepsArray, zSortOrder, zTokenResponse, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationCreateInput, zUserRegistrationResponse, zUserResponse, zUserSortBy, zWebhookResponse, zWebhooksResponse, zWhitelistAddressResponse, zWhitelistResponse, zWhitelistSortBy, zWorkspaceResponse, zWorkspaceRuleResponse, zWrappingKeyFragmentInput };
26305
+ export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type GroupResponse, type GroupSortBy, type MasterRuleResponse, type Note, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type ReviewStepWithUsers, type SortOrder, type TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionResponse, type TransactionWithMetaResponse, type UserRegistrationCreateInput, type UserRegistrationResponse, type UserResponse, type UserSortBy, type WhitelistResponse, type WhitelistSortBy, type WorkspaceResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, paginate, serializePage, stableOrdering, zAdminResponse, zAllowedAction, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCurrencyResponse, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zEstimatedFees as zEstimateFeesResponse, zGroupResponse, zGroupSortBy, zNote, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zOperationType, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zReviewStepsArray, zSortOrder, zTokenResponse, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationCreateInput, zUserRegistrationResponse, zUserResponse, zUserSortBy, zWhitelistAddressResponse, zWhitelistResponse, zWhitelistSortBy, zWorkspaceResponse, zWorkspaceRuleResponse, zWrappingKeyFragmentInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/revault-api",
3
- "version": "1.29.3",
3
+ "version": "1.29.4",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "files": [