@secrecy/trpc-api-types 1.24.0 → 1.25.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/README.md +1 -1
- package/dist/index.d.cts +400 -262
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as _neondatabase_api_client from '@neondatabase/api-client';
|
|
2
|
-
import type * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
3
2
|
import type * as _prisma_client from '@prisma/client';
|
|
4
3
|
import type * as _trpc_server from '@trpc/server';
|
|
5
4
|
import type * as superjson from 'superjson';
|
|
@@ -469,21 +468,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
469
468
|
devs: bigint | null;
|
|
470
469
|
devsBase: bigint | null;
|
|
471
470
|
devsUnit: bigint | null;
|
|
472
|
-
devsPrice:
|
|
471
|
+
devsPrice: number | null;
|
|
473
472
|
usersBase: bigint | null;
|
|
474
473
|
usersUnit: bigint | null;
|
|
475
|
-
usersPrice:
|
|
474
|
+
usersPrice: number | null;
|
|
476
475
|
perFileSize: bigint | null;
|
|
477
476
|
perFileSizeBase: bigint | null;
|
|
478
477
|
perFileSizeUnit: bigint | null;
|
|
479
|
-
perFileSizePrice:
|
|
478
|
+
perFileSizePrice: number | null;
|
|
480
479
|
bandwidth: bigint | null;
|
|
481
480
|
bandwidthBase: bigint | null;
|
|
482
481
|
bandwidthUnit: bigint | null;
|
|
483
|
-
bandwidthPrice:
|
|
482
|
+
bandwidthPrice: number | null;
|
|
484
483
|
totalStorageSizeBase: bigint | null;
|
|
485
484
|
totalStorageSizeUnit: bigint | null;
|
|
486
|
-
totalStorageSizePrice:
|
|
485
|
+
totalStorageSizePrice: number | null;
|
|
487
486
|
};
|
|
488
487
|
_output_out: {
|
|
489
488
|
id: string;
|
|
@@ -492,21 +491,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
492
491
|
devs: bigint | null;
|
|
493
492
|
devsBase: bigint | null;
|
|
494
493
|
devsUnit: bigint | null;
|
|
495
|
-
devsPrice:
|
|
494
|
+
devsPrice: number | null;
|
|
496
495
|
usersBase: bigint | null;
|
|
497
496
|
usersUnit: bigint | null;
|
|
498
|
-
usersPrice:
|
|
497
|
+
usersPrice: number | null;
|
|
499
498
|
perFileSize: bigint | null;
|
|
500
499
|
perFileSizeBase: bigint | null;
|
|
501
500
|
perFileSizeUnit: bigint | null;
|
|
502
|
-
perFileSizePrice:
|
|
501
|
+
perFileSizePrice: number | null;
|
|
503
502
|
bandwidth: bigint | null;
|
|
504
503
|
bandwidthBase: bigint | null;
|
|
505
504
|
bandwidthUnit: bigint | null;
|
|
506
|
-
bandwidthPrice:
|
|
505
|
+
bandwidthPrice: number | null;
|
|
507
506
|
totalStorageSizeBase: bigint | null;
|
|
508
507
|
totalStorageSizeUnit: bigint | null;
|
|
509
|
-
totalStorageSizePrice:
|
|
508
|
+
totalStorageSizePrice: number | null;
|
|
510
509
|
};
|
|
511
510
|
}, unknown>;
|
|
512
511
|
notification: _trpc_server.BuildProcedure<"query", {
|
|
@@ -667,7 +666,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
667
666
|
}>;
|
|
668
667
|
_meta: object;
|
|
669
668
|
_ctx_out: {
|
|
670
|
-
session:
|
|
669
|
+
session: SecrecySession | null;
|
|
671
670
|
req: {
|
|
672
671
|
headers: Headers;
|
|
673
672
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -690,19 +689,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
690
689
|
descriptor: {
|
|
691
690
|
devsBase: bigint | null;
|
|
692
691
|
devsUnit: bigint | null;
|
|
693
|
-
devsPrice:
|
|
692
|
+
devsPrice: number | null;
|
|
694
693
|
usersBase: bigint | null;
|
|
695
694
|
usersUnit: bigint | null;
|
|
696
|
-
usersPrice:
|
|
695
|
+
usersPrice: number | null;
|
|
697
696
|
perFileSizeBase: bigint | null;
|
|
698
697
|
perFileSizeUnit: bigint | null;
|
|
699
|
-
perFileSizePrice:
|
|
698
|
+
perFileSizePrice: number | null;
|
|
700
699
|
bandwidthBase: bigint | null;
|
|
701
700
|
bandwidthUnit: bigint | null;
|
|
702
|
-
bandwidthPrice:
|
|
701
|
+
bandwidthPrice: number | null;
|
|
703
702
|
totalStorageSizeBase: bigint | null;
|
|
704
703
|
totalStorageSizeUnit: bigint | null;
|
|
705
|
-
totalStorageSizePrice:
|
|
704
|
+
totalStorageSizePrice: number | null;
|
|
706
705
|
devsMax: bigint | null;
|
|
707
706
|
usersMax: bigint | null;
|
|
708
707
|
perFileSizeMax: bigint | null;
|
|
@@ -710,10 +709,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
710
709
|
totalStorageSizeMax: bigint | null;
|
|
711
710
|
};
|
|
712
711
|
} & {
|
|
713
|
-
price:
|
|
714
|
-
monthly: number;
|
|
715
|
-
yearly: number;
|
|
716
|
-
};
|
|
712
|
+
price: number;
|
|
717
713
|
})[];
|
|
718
714
|
_output_out: ({
|
|
719
715
|
codes: string[];
|
|
@@ -725,19 +721,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
725
721
|
descriptor: {
|
|
726
722
|
devsBase: bigint | null;
|
|
727
723
|
devsUnit: bigint | null;
|
|
728
|
-
devsPrice:
|
|
724
|
+
devsPrice: number | null;
|
|
729
725
|
usersBase: bigint | null;
|
|
730
726
|
usersUnit: bigint | null;
|
|
731
|
-
usersPrice:
|
|
727
|
+
usersPrice: number | null;
|
|
732
728
|
perFileSizeBase: bigint | null;
|
|
733
729
|
perFileSizeUnit: bigint | null;
|
|
734
|
-
perFileSizePrice:
|
|
730
|
+
perFileSizePrice: number | null;
|
|
735
731
|
bandwidthBase: bigint | null;
|
|
736
732
|
bandwidthUnit: bigint | null;
|
|
737
|
-
bandwidthPrice:
|
|
733
|
+
bandwidthPrice: number | null;
|
|
738
734
|
totalStorageSizeBase: bigint | null;
|
|
739
735
|
totalStorageSizeUnit: bigint | null;
|
|
740
|
-
totalStorageSizePrice:
|
|
736
|
+
totalStorageSizePrice: number | null;
|
|
741
737
|
devsMax: bigint | null;
|
|
742
738
|
usersMax: bigint | null;
|
|
743
739
|
perFileSizeMax: bigint | null;
|
|
@@ -745,10 +741,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
745
741
|
totalStorageSizeMax: bigint | null;
|
|
746
742
|
};
|
|
747
743
|
} & {
|
|
748
|
-
price:
|
|
749
|
-
monthly: number;
|
|
750
|
-
yearly: number;
|
|
751
|
-
};
|
|
744
|
+
price: number;
|
|
752
745
|
})[];
|
|
753
746
|
}, unknown>;
|
|
754
747
|
settings: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2464,19 +2457,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2464
2457
|
}>;
|
|
2465
2458
|
_meta: object;
|
|
2466
2459
|
_ctx_out: {
|
|
2467
|
-
session:
|
|
2468
|
-
appId: string;
|
|
2469
|
-
appPlanId: string;
|
|
2470
|
-
appFakeUserId: string | undefined;
|
|
2471
|
-
sessionId: string;
|
|
2472
|
-
accountId: string;
|
|
2473
|
-
accountInfosId: string;
|
|
2474
|
-
accountRole: _prisma_client.$Enums.AccountRole;
|
|
2475
|
-
userId: string;
|
|
2476
|
-
userRole: _prisma_client.$Enums.UserRole;
|
|
2477
|
-
userPlan: _prisma_client.$Enums.PlanKind;
|
|
2478
|
-
isCare?: boolean | undefined;
|
|
2479
|
-
};
|
|
2460
|
+
session: SecrecySession;
|
|
2480
2461
|
req: {
|
|
2481
2462
|
headers: Headers;
|
|
2482
2463
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2510,9 +2491,78 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2510
2491
|
ssNumber: string;
|
|
2511
2492
|
};
|
|
2512
2493
|
_output_in: {
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2494
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2495
|
+
job: string;
|
|
2496
|
+
specialties: string[];
|
|
2497
|
+
} & {
|
|
2498
|
+
user: {
|
|
2499
|
+
id: string;
|
|
2500
|
+
lastname: string;
|
|
2501
|
+
firstname: string;
|
|
2502
|
+
avatar: string | null;
|
|
2503
|
+
isSearchable: boolean;
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
_output_out: {
|
|
2507
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2508
|
+
job: string;
|
|
2509
|
+
specialties: string[];
|
|
2510
|
+
} & {
|
|
2511
|
+
user: {
|
|
2512
|
+
id: string;
|
|
2513
|
+
lastname: string;
|
|
2514
|
+
firstname: string;
|
|
2515
|
+
avatar: string | null;
|
|
2516
|
+
isSearchable: boolean;
|
|
2517
|
+
};
|
|
2518
|
+
};
|
|
2519
|
+
}, unknown>;
|
|
2520
|
+
update: _trpc_server.BuildProcedure<"mutation", {
|
|
2521
|
+
_config: _trpc_server.RootConfig<{
|
|
2522
|
+
ctx: {
|
|
2523
|
+
req: {
|
|
2524
|
+
headers: Headers;
|
|
2525
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2526
|
+
};
|
|
2527
|
+
res: {
|
|
2528
|
+
headers: Headers;
|
|
2529
|
+
};
|
|
2530
|
+
session: SecrecySession | null;
|
|
2531
|
+
locale: Locales;
|
|
2532
|
+
ls: TranslationFunctions;
|
|
2533
|
+
};
|
|
2534
|
+
meta: object;
|
|
2535
|
+
errorShape: {
|
|
2536
|
+
message: string;
|
|
2537
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2538
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2539
|
+
} | {
|
|
2540
|
+
data: {
|
|
2541
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2542
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2543
|
+
httpStatus: number;
|
|
2544
|
+
path?: string | undefined;
|
|
2545
|
+
stack?: string | undefined;
|
|
2546
|
+
};
|
|
2547
|
+
message: string;
|
|
2548
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2549
|
+
};
|
|
2550
|
+
transformer: typeof superjson.default;
|
|
2551
|
+
}>;
|
|
2552
|
+
_meta: object;
|
|
2553
|
+
_ctx_out: {
|
|
2554
|
+
session: SecrecySession;
|
|
2555
|
+
req: {
|
|
2556
|
+
headers: Headers;
|
|
2557
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2558
|
+
};
|
|
2559
|
+
res: {
|
|
2560
|
+
headers: Headers;
|
|
2561
|
+
};
|
|
2562
|
+
locale: Locales;
|
|
2563
|
+
ls: TranslationFunctions;
|
|
2564
|
+
};
|
|
2565
|
+
_input_in: {
|
|
2516
2566
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2517
2567
|
job: string;
|
|
2518
2568
|
specialties: string[];
|
|
@@ -2523,10 +2573,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2523
2573
|
adeliNumber: string;
|
|
2524
2574
|
ssNumber: string;
|
|
2525
2575
|
};
|
|
2526
|
-
|
|
2527
|
-
userId: string;
|
|
2528
|
-
id: string;
|
|
2529
|
-
validated: boolean;
|
|
2576
|
+
_input_out: {
|
|
2530
2577
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2531
2578
|
job: string;
|
|
2532
2579
|
specialties: string[];
|
|
@@ -2537,8 +2584,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2537
2584
|
adeliNumber: string;
|
|
2538
2585
|
ssNumber: string;
|
|
2539
2586
|
};
|
|
2587
|
+
_output_in: {
|
|
2588
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2589
|
+
job: string;
|
|
2590
|
+
specialties: string[];
|
|
2591
|
+
} & {
|
|
2592
|
+
user: {
|
|
2593
|
+
id: string;
|
|
2594
|
+
lastname: string;
|
|
2595
|
+
firstname: string;
|
|
2596
|
+
avatar: string | null;
|
|
2597
|
+
isSearchable: boolean;
|
|
2598
|
+
};
|
|
2599
|
+
};
|
|
2600
|
+
_output_out: {
|
|
2601
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2602
|
+
job: string;
|
|
2603
|
+
specialties: string[];
|
|
2604
|
+
} & {
|
|
2605
|
+
user: {
|
|
2606
|
+
id: string;
|
|
2607
|
+
lastname: string;
|
|
2608
|
+
firstname: string;
|
|
2609
|
+
avatar: string | null;
|
|
2610
|
+
isSearchable: boolean;
|
|
2611
|
+
};
|
|
2612
|
+
};
|
|
2540
2613
|
}, unknown>;
|
|
2541
|
-
|
|
2614
|
+
delete: _trpc_server.BuildProcedure<"mutation", {
|
|
2542
2615
|
_config: _trpc_server.RootConfig<{
|
|
2543
2616
|
ctx: {
|
|
2544
2617
|
req: {
|
|
@@ -2572,19 +2645,61 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2572
2645
|
}>;
|
|
2573
2646
|
_meta: object;
|
|
2574
2647
|
_ctx_out: {
|
|
2575
|
-
session:
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2648
|
+
session: SecrecySession;
|
|
2649
|
+
req: {
|
|
2650
|
+
headers: Headers;
|
|
2651
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2652
|
+
};
|
|
2653
|
+
res: {
|
|
2654
|
+
headers: Headers;
|
|
2655
|
+
};
|
|
2656
|
+
locale: Locales;
|
|
2657
|
+
ls: TranslationFunctions;
|
|
2658
|
+
};
|
|
2659
|
+
_input_in: {};
|
|
2660
|
+
_input_out: {};
|
|
2661
|
+
_output_in: {
|
|
2662
|
+
success: boolean;
|
|
2663
|
+
};
|
|
2664
|
+
_output_out: {
|
|
2665
|
+
success: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
}, unknown>;
|
|
2668
|
+
get: _trpc_server.BuildProcedure<"query", {
|
|
2669
|
+
_config: _trpc_server.RootConfig<{
|
|
2670
|
+
ctx: {
|
|
2671
|
+
req: {
|
|
2672
|
+
headers: Headers;
|
|
2673
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2674
|
+
};
|
|
2675
|
+
res: {
|
|
2676
|
+
headers: Headers;
|
|
2677
|
+
};
|
|
2678
|
+
session: SecrecySession | null;
|
|
2679
|
+
locale: Locales;
|
|
2680
|
+
ls: TranslationFunctions;
|
|
2681
|
+
};
|
|
2682
|
+
meta: object;
|
|
2683
|
+
errorShape: {
|
|
2684
|
+
message: string;
|
|
2685
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2686
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2687
|
+
} | {
|
|
2688
|
+
data: {
|
|
2689
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2690
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2691
|
+
httpStatus: number;
|
|
2692
|
+
path?: string | undefined;
|
|
2693
|
+
stack?: string | undefined;
|
|
2694
|
+
};
|
|
2695
|
+
message: string;
|
|
2696
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2587
2697
|
};
|
|
2698
|
+
transformer: typeof superjson.default;
|
|
2699
|
+
}>;
|
|
2700
|
+
_meta: object;
|
|
2701
|
+
_ctx_out: {
|
|
2702
|
+
session: SecrecySession;
|
|
2588
2703
|
req: {
|
|
2589
2704
|
headers: Headers;
|
|
2590
2705
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2602,32 +2717,30 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2602
2717
|
id: string;
|
|
2603
2718
|
};
|
|
2604
2719
|
_output_in: {
|
|
2605
|
-
userId: string;
|
|
2606
|
-
id: string;
|
|
2607
|
-
validated: boolean;
|
|
2608
2720
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2609
2721
|
job: string;
|
|
2610
2722
|
specialties: string[];
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2723
|
+
} & {
|
|
2724
|
+
user: {
|
|
2725
|
+
id: string;
|
|
2726
|
+
lastname: string;
|
|
2727
|
+
firstname: string;
|
|
2728
|
+
avatar: string | null;
|
|
2729
|
+
isSearchable: boolean;
|
|
2730
|
+
};
|
|
2617
2731
|
};
|
|
2618
2732
|
_output_out: {
|
|
2619
|
-
userId: string;
|
|
2620
|
-
id: string;
|
|
2621
|
-
validated: boolean;
|
|
2622
2733
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2623
2734
|
job: string;
|
|
2624
2735
|
specialties: string[];
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2736
|
+
} & {
|
|
2737
|
+
user: {
|
|
2738
|
+
id: string;
|
|
2739
|
+
lastname: string;
|
|
2740
|
+
firstname: string;
|
|
2741
|
+
avatar: string | null;
|
|
2742
|
+
isSearchable: boolean;
|
|
2743
|
+
};
|
|
2631
2744
|
};
|
|
2632
2745
|
}, unknown>;
|
|
2633
2746
|
list: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2664,19 +2777,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2664
2777
|
}>;
|
|
2665
2778
|
_meta: object;
|
|
2666
2779
|
_ctx_out: {
|
|
2667
|
-
session:
|
|
2668
|
-
appId: string;
|
|
2669
|
-
appPlanId: string;
|
|
2670
|
-
appFakeUserId: string | undefined;
|
|
2671
|
-
sessionId: string;
|
|
2672
|
-
accountId: string;
|
|
2673
|
-
accountInfosId: string;
|
|
2674
|
-
accountRole: _prisma_client.$Enums.AccountRole;
|
|
2675
|
-
userId: string;
|
|
2676
|
-
userRole: _prisma_client.$Enums.UserRole;
|
|
2677
|
-
userPlan: _prisma_client.$Enums.PlanKind;
|
|
2678
|
-
isCare?: boolean | undefined;
|
|
2679
|
-
};
|
|
2780
|
+
session: SecrecySession;
|
|
2680
2781
|
req: {
|
|
2681
2782
|
headers: Headers;
|
|
2682
2783
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2689,34 +2790,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2689
2790
|
};
|
|
2690
2791
|
_input_in: {};
|
|
2691
2792
|
_input_out: {};
|
|
2692
|
-
_output_in: {
|
|
2693
|
-
userId: string;
|
|
2694
|
-
id: string;
|
|
2695
|
-
validated: boolean;
|
|
2793
|
+
_output_in: ({
|
|
2696
2794
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2697
2795
|
job: string;
|
|
2698
2796
|
specialties: string[];
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
validated: boolean;
|
|
2797
|
+
} & {
|
|
2798
|
+
user: {
|
|
2799
|
+
id: string;
|
|
2800
|
+
lastname: string;
|
|
2801
|
+
firstname: string;
|
|
2802
|
+
avatar: string | null;
|
|
2803
|
+
isSearchable: boolean;
|
|
2804
|
+
};
|
|
2805
|
+
})[];
|
|
2806
|
+
_output_out: ({
|
|
2710
2807
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2711
2808
|
job: string;
|
|
2712
2809
|
specialties: string[];
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2810
|
+
} & {
|
|
2811
|
+
user: {
|
|
2812
|
+
id: string;
|
|
2813
|
+
lastname: string;
|
|
2814
|
+
firstname: string;
|
|
2815
|
+
avatar: string | null;
|
|
2816
|
+
isSearchable: boolean;
|
|
2817
|
+
};
|
|
2818
|
+
})[];
|
|
2720
2819
|
}, unknown>;
|
|
2721
2820
|
}>;
|
|
2722
2821
|
}>;
|
|
@@ -3310,20 +3409,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3310
3409
|
key: string;
|
|
3311
3410
|
type: "cloud";
|
|
3312
3411
|
md5: string;
|
|
3313
|
-
md5Encrypted: string;
|
|
3314
3412
|
parts: {
|
|
3315
3413
|
md5: string;
|
|
3316
3414
|
order: number;
|
|
3317
3415
|
contentUrl: string;
|
|
3318
3416
|
}[];
|
|
3417
|
+
md5Encrypted: string;
|
|
3319
3418
|
publicKey: string;
|
|
3320
3419
|
totalSize: bigint;
|
|
3321
3420
|
} | {
|
|
3322
3421
|
id: string;
|
|
3323
3422
|
key: string;
|
|
3324
3423
|
type: "lite";
|
|
3325
|
-
content: Buffer;
|
|
3326
3424
|
md5: string;
|
|
3425
|
+
content: Buffer;
|
|
3327
3426
|
md5Encrypted: string;
|
|
3328
3427
|
publicKey: string;
|
|
3329
3428
|
totalSize: bigint;
|
|
@@ -3360,20 +3459,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3360
3459
|
key: string;
|
|
3361
3460
|
type: "cloud";
|
|
3362
3461
|
md5: string;
|
|
3363
|
-
md5Encrypted: string;
|
|
3364
3462
|
parts: {
|
|
3365
3463
|
md5: string;
|
|
3366
3464
|
order: number;
|
|
3367
3465
|
contentUrl: string;
|
|
3368
3466
|
}[];
|
|
3467
|
+
md5Encrypted: string;
|
|
3369
3468
|
publicKey: string;
|
|
3370
3469
|
totalSize: bigint;
|
|
3371
3470
|
} | {
|
|
3372
3471
|
id: string;
|
|
3373
3472
|
key: string;
|
|
3374
3473
|
type: "lite";
|
|
3375
|
-
content: Buffer;
|
|
3376
3474
|
md5: string;
|
|
3475
|
+
content: Buffer;
|
|
3377
3476
|
md5Encrypted: string;
|
|
3378
3477
|
publicKey: string;
|
|
3379
3478
|
totalSize: bigint;
|
|
@@ -3462,20 +3561,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3462
3561
|
key: string;
|
|
3463
3562
|
type: "cloud";
|
|
3464
3563
|
md5: string;
|
|
3465
|
-
md5Encrypted: string;
|
|
3466
3564
|
parts: {
|
|
3467
3565
|
md5: string;
|
|
3468
3566
|
order: number;
|
|
3469
3567
|
contentUrl: string;
|
|
3470
3568
|
}[];
|
|
3569
|
+
md5Encrypted: string;
|
|
3471
3570
|
publicKey: string;
|
|
3472
3571
|
totalSize: bigint;
|
|
3473
3572
|
} | {
|
|
3474
3573
|
id: string;
|
|
3475
3574
|
key: string;
|
|
3476
3575
|
type: "lite";
|
|
3477
|
-
content: Buffer;
|
|
3478
3576
|
md5: string;
|
|
3577
|
+
content: Buffer;
|
|
3479
3578
|
md5Encrypted: string;
|
|
3480
3579
|
publicKey: string;
|
|
3481
3580
|
totalSize: bigint;
|
|
@@ -3512,20 +3611,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3512
3611
|
key: string;
|
|
3513
3612
|
type: "cloud";
|
|
3514
3613
|
md5: string;
|
|
3515
|
-
md5Encrypted: string;
|
|
3516
3614
|
parts: {
|
|
3517
3615
|
md5: string;
|
|
3518
3616
|
order: number;
|
|
3519
3617
|
contentUrl: string;
|
|
3520
3618
|
}[];
|
|
3619
|
+
md5Encrypted: string;
|
|
3521
3620
|
publicKey: string;
|
|
3522
3621
|
totalSize: bigint;
|
|
3523
3622
|
} | {
|
|
3524
3623
|
id: string;
|
|
3525
3624
|
key: string;
|
|
3526
3625
|
type: "lite";
|
|
3527
|
-
content: Buffer;
|
|
3528
3626
|
md5: string;
|
|
3627
|
+
content: Buffer;
|
|
3529
3628
|
md5Encrypted: string;
|
|
3530
3629
|
publicKey: string;
|
|
3531
3630
|
totalSize: bigint;
|
|
@@ -4240,16 +4339,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4240
4339
|
};
|
|
4241
4340
|
_input_in: {
|
|
4242
4341
|
fileSize: bigint;
|
|
4243
|
-
content: Buffer;
|
|
4244
4342
|
md5: string;
|
|
4343
|
+
content: Buffer;
|
|
4245
4344
|
md5Encrypted: string;
|
|
4246
4345
|
fileKey: string;
|
|
4247
4346
|
fileSizeBefore: bigint;
|
|
4248
4347
|
};
|
|
4249
4348
|
_input_out: {
|
|
4250
4349
|
fileSize: bigint;
|
|
4251
|
-
content: Buffer;
|
|
4252
4350
|
md5: string;
|
|
4351
|
+
content: Buffer;
|
|
4253
4352
|
md5Encrypted: string;
|
|
4254
4353
|
fileKey: string;
|
|
4255
4354
|
fileSizeBefore: bigint;
|
|
@@ -6058,11 +6157,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6058
6157
|
userId: string;
|
|
6059
6158
|
nodes: {
|
|
6060
6159
|
id: string;
|
|
6160
|
+
nameKey: string | null;
|
|
6061
6161
|
files: {
|
|
6062
6162
|
id: string;
|
|
6063
6163
|
key: string;
|
|
6064
6164
|
}[];
|
|
6065
|
-
nameKey: string | null;
|
|
6066
6165
|
}[];
|
|
6067
6166
|
rights: "admin" | "write" | "read";
|
|
6068
6167
|
};
|
|
@@ -6070,11 +6169,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6070
6169
|
userId: string;
|
|
6071
6170
|
nodes: {
|
|
6072
6171
|
id: string;
|
|
6172
|
+
nameKey: string | null;
|
|
6073
6173
|
files: {
|
|
6074
6174
|
id: string;
|
|
6075
6175
|
key: string;
|
|
6076
6176
|
}[];
|
|
6077
|
-
nameKey: string | null;
|
|
6078
6177
|
}[];
|
|
6079
6178
|
rights: "admin" | "write" | "read";
|
|
6080
6179
|
};
|
|
@@ -7951,13 +8050,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7951
8050
|
_input_in: {
|
|
7952
8051
|
appId?: string | undefined;
|
|
7953
8052
|
} & {
|
|
7954
|
-
pgVersion?:
|
|
8053
|
+
pgVersion?: 15 | 16 | 14 | undefined;
|
|
7955
8054
|
regionId?: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2" | undefined;
|
|
7956
8055
|
};
|
|
7957
8056
|
_input_out: {
|
|
7958
8057
|
appId?: string | undefined;
|
|
7959
8058
|
} & {
|
|
7960
|
-
pgVersion:
|
|
8059
|
+
pgVersion: 15 | 16 | 14;
|
|
7961
8060
|
regionId: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2";
|
|
7962
8061
|
};
|
|
7963
8062
|
_output_in: {
|
|
@@ -8261,14 +8360,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8261
8360
|
_input_in: {
|
|
8262
8361
|
appId?: string | undefined;
|
|
8263
8362
|
} & {
|
|
8264
|
-
limit?: number | undefined;
|
|
8265
8363
|
cursor?: string | undefined;
|
|
8364
|
+
limit?: number | undefined;
|
|
8266
8365
|
};
|
|
8267
8366
|
_input_out: {
|
|
8268
8367
|
appId?: string | undefined;
|
|
8269
8368
|
} & {
|
|
8270
|
-
limit?: number | undefined;
|
|
8271
8369
|
cursor?: string | undefined;
|
|
8370
|
+
limit?: number | undefined;
|
|
8272
8371
|
};
|
|
8273
8372
|
_output_in: {
|
|
8274
8373
|
operations: {
|
|
@@ -11158,13 +11257,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11158
11257
|
lang: "fr" | "en";
|
|
11159
11258
|
};
|
|
11160
11259
|
_output_in: {
|
|
11161
|
-
order: number;
|
|
11162
11260
|
question: string;
|
|
11261
|
+
order: number;
|
|
11163
11262
|
answer: string;
|
|
11164
11263
|
}[];
|
|
11165
11264
|
_output_out: {
|
|
11166
|
-
order: number;
|
|
11167
11265
|
question: string;
|
|
11266
|
+
order: number;
|
|
11168
11267
|
answer: string;
|
|
11169
11268
|
}[];
|
|
11170
11269
|
}, unknown>;
|
|
@@ -14924,10 +15023,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
14924
15023
|
}>;
|
|
14925
15024
|
_meta: object;
|
|
14926
15025
|
_ctx_out: {
|
|
14927
|
-
session:
|
|
14928
|
-
appId?: null | undefined;
|
|
14929
|
-
appPlanId?: null | undefined;
|
|
14930
|
-
};
|
|
15026
|
+
session: SecrecySession;
|
|
14931
15027
|
req: {
|
|
14932
15028
|
headers: Headers;
|
|
14933
15029
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -16069,33 +16165,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16069
16165
|
};
|
|
16070
16166
|
_output_in: {
|
|
16071
16167
|
plan: {
|
|
16168
|
+
codes: string[];
|
|
16072
16169
|
id: string;
|
|
16073
16170
|
kind: string;
|
|
16074
|
-
|
|
16171
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16172
|
+
descriptorId: string;
|
|
16173
|
+
} & {
|
|
16075
16174
|
descriptor: {
|
|
16076
|
-
id: string;
|
|
16077
16175
|
devsBase: bigint | null;
|
|
16078
16176
|
devsUnit: bigint | null;
|
|
16079
|
-
devsPrice:
|
|
16177
|
+
devsPrice: number | null;
|
|
16080
16178
|
usersBase: bigint | null;
|
|
16081
16179
|
usersUnit: bigint | null;
|
|
16082
|
-
usersPrice:
|
|
16180
|
+
usersPrice: number | null;
|
|
16083
16181
|
perFileSizeBase: bigint | null;
|
|
16084
16182
|
perFileSizeUnit: bigint | null;
|
|
16085
|
-
perFileSizePrice:
|
|
16183
|
+
perFileSizePrice: number | null;
|
|
16086
16184
|
bandwidthBase: bigint | null;
|
|
16087
16185
|
bandwidthUnit: bigint | null;
|
|
16088
|
-
bandwidthPrice:
|
|
16186
|
+
bandwidthPrice: number | null;
|
|
16089
16187
|
totalStorageSizeBase: bigint | null;
|
|
16090
16188
|
totalStorageSizeUnit: bigint | null;
|
|
16091
|
-
totalStorageSizePrice:
|
|
16189
|
+
totalStorageSizePrice: number | null;
|
|
16092
16190
|
devsMax: bigint | null;
|
|
16093
16191
|
usersMax: bigint | null;
|
|
16094
16192
|
perFileSizeMax: bigint | null;
|
|
16095
16193
|
bandwidthMax: bigint | null;
|
|
16096
16194
|
totalStorageSizeMax: bigint | null;
|
|
16097
16195
|
};
|
|
16098
|
-
}
|
|
16196
|
+
};
|
|
16099
16197
|
id: string;
|
|
16100
16198
|
createdAt: Date;
|
|
16101
16199
|
users: {
|
|
@@ -16117,63 +16215,67 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16117
16215
|
} | null;
|
|
16118
16216
|
};
|
|
16119
16217
|
plans: ({
|
|
16218
|
+
codes: string[];
|
|
16120
16219
|
id: string;
|
|
16121
16220
|
kind: string;
|
|
16122
|
-
|
|
16221
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16222
|
+
descriptorId: string;
|
|
16223
|
+
} & {
|
|
16123
16224
|
descriptor: {
|
|
16124
|
-
id: string;
|
|
16125
16225
|
devsBase: bigint | null;
|
|
16126
16226
|
devsUnit: bigint | null;
|
|
16127
|
-
devsPrice:
|
|
16227
|
+
devsPrice: number | null;
|
|
16128
16228
|
usersBase: bigint | null;
|
|
16129
16229
|
usersUnit: bigint | null;
|
|
16130
|
-
usersPrice:
|
|
16230
|
+
usersPrice: number | null;
|
|
16131
16231
|
perFileSizeBase: bigint | null;
|
|
16132
16232
|
perFileSizeUnit: bigint | null;
|
|
16133
|
-
perFileSizePrice:
|
|
16233
|
+
perFileSizePrice: number | null;
|
|
16134
16234
|
bandwidthBase: bigint | null;
|
|
16135
16235
|
bandwidthUnit: bigint | null;
|
|
16136
|
-
bandwidthPrice:
|
|
16236
|
+
bandwidthPrice: number | null;
|
|
16137
16237
|
totalStorageSizeBase: bigint | null;
|
|
16138
16238
|
totalStorageSizeUnit: bigint | null;
|
|
16139
|
-
totalStorageSizePrice:
|
|
16239
|
+
totalStorageSizePrice: number | null;
|
|
16140
16240
|
devsMax: bigint | null;
|
|
16141
16241
|
usersMax: bigint | null;
|
|
16142
16242
|
perFileSizeMax: bigint | null;
|
|
16143
16243
|
bandwidthMax: bigint | null;
|
|
16144
16244
|
totalStorageSizeMax: bigint | null;
|
|
16145
16245
|
};
|
|
16146
|
-
}
|
|
16246
|
+
})[];
|
|
16147
16247
|
};
|
|
16148
16248
|
_output_out: {
|
|
16149
16249
|
plan: {
|
|
16250
|
+
codes: string[];
|
|
16150
16251
|
id: string;
|
|
16151
16252
|
kind: string;
|
|
16152
|
-
|
|
16253
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16254
|
+
descriptorId: string;
|
|
16255
|
+
} & {
|
|
16153
16256
|
descriptor: {
|
|
16154
|
-
id: string;
|
|
16155
16257
|
devsBase: bigint | null;
|
|
16156
16258
|
devsUnit: bigint | null;
|
|
16157
|
-
devsPrice:
|
|
16259
|
+
devsPrice: number | null;
|
|
16158
16260
|
usersBase: bigint | null;
|
|
16159
16261
|
usersUnit: bigint | null;
|
|
16160
|
-
usersPrice:
|
|
16262
|
+
usersPrice: number | null;
|
|
16161
16263
|
perFileSizeBase: bigint | null;
|
|
16162
16264
|
perFileSizeUnit: bigint | null;
|
|
16163
|
-
perFileSizePrice:
|
|
16265
|
+
perFileSizePrice: number | null;
|
|
16164
16266
|
bandwidthBase: bigint | null;
|
|
16165
16267
|
bandwidthUnit: bigint | null;
|
|
16166
|
-
bandwidthPrice:
|
|
16268
|
+
bandwidthPrice: number | null;
|
|
16167
16269
|
totalStorageSizeBase: bigint | null;
|
|
16168
16270
|
totalStorageSizeUnit: bigint | null;
|
|
16169
|
-
totalStorageSizePrice:
|
|
16271
|
+
totalStorageSizePrice: number | null;
|
|
16170
16272
|
devsMax: bigint | null;
|
|
16171
16273
|
usersMax: bigint | null;
|
|
16172
16274
|
perFileSizeMax: bigint | null;
|
|
16173
16275
|
bandwidthMax: bigint | null;
|
|
16174
16276
|
totalStorageSizeMax: bigint | null;
|
|
16175
16277
|
};
|
|
16176
|
-
}
|
|
16278
|
+
};
|
|
16177
16279
|
id: string;
|
|
16178
16280
|
createdAt: Date;
|
|
16179
16281
|
users: {
|
|
@@ -16195,33 +16297,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16195
16297
|
} | null;
|
|
16196
16298
|
};
|
|
16197
16299
|
plans: ({
|
|
16300
|
+
codes: string[];
|
|
16198
16301
|
id: string;
|
|
16199
16302
|
kind: string;
|
|
16200
|
-
|
|
16303
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16304
|
+
descriptorId: string;
|
|
16305
|
+
} & {
|
|
16201
16306
|
descriptor: {
|
|
16202
|
-
id: string;
|
|
16203
16307
|
devsBase: bigint | null;
|
|
16204
16308
|
devsUnit: bigint | null;
|
|
16205
|
-
devsPrice:
|
|
16309
|
+
devsPrice: number | null;
|
|
16206
16310
|
usersBase: bigint | null;
|
|
16207
16311
|
usersUnit: bigint | null;
|
|
16208
|
-
usersPrice:
|
|
16312
|
+
usersPrice: number | null;
|
|
16209
16313
|
perFileSizeBase: bigint | null;
|
|
16210
16314
|
perFileSizeUnit: bigint | null;
|
|
16211
|
-
perFileSizePrice:
|
|
16315
|
+
perFileSizePrice: number | null;
|
|
16212
16316
|
bandwidthBase: bigint | null;
|
|
16213
16317
|
bandwidthUnit: bigint | null;
|
|
16214
|
-
bandwidthPrice:
|
|
16318
|
+
bandwidthPrice: number | null;
|
|
16215
16319
|
totalStorageSizeBase: bigint | null;
|
|
16216
16320
|
totalStorageSizeUnit: bigint | null;
|
|
16217
|
-
totalStorageSizePrice:
|
|
16321
|
+
totalStorageSizePrice: number | null;
|
|
16218
16322
|
devsMax: bigint | null;
|
|
16219
16323
|
usersMax: bigint | null;
|
|
16220
16324
|
perFileSizeMax: bigint | null;
|
|
16221
16325
|
bandwidthMax: bigint | null;
|
|
16222
16326
|
totalStorageSizeMax: bigint | null;
|
|
16223
16327
|
};
|
|
16224
|
-
}
|
|
16328
|
+
})[];
|
|
16225
16329
|
};
|
|
16226
16330
|
}, unknown>;
|
|
16227
16331
|
applications: _trpc_server.BuildProcedure<"query", {
|
|
@@ -16277,33 +16381,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16277
16381
|
};
|
|
16278
16382
|
_output_in: {
|
|
16279
16383
|
plan: {
|
|
16384
|
+
codes: string[];
|
|
16280
16385
|
id: string;
|
|
16281
16386
|
kind: string;
|
|
16282
|
-
|
|
16387
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16388
|
+
descriptorId: string;
|
|
16389
|
+
} & {
|
|
16283
16390
|
descriptor: {
|
|
16284
|
-
id: string;
|
|
16285
16391
|
devsBase: bigint | null;
|
|
16286
16392
|
devsUnit: bigint | null;
|
|
16287
|
-
devsPrice:
|
|
16393
|
+
devsPrice: number | null;
|
|
16288
16394
|
usersBase: bigint | null;
|
|
16289
16395
|
usersUnit: bigint | null;
|
|
16290
|
-
usersPrice:
|
|
16396
|
+
usersPrice: number | null;
|
|
16291
16397
|
perFileSizeBase: bigint | null;
|
|
16292
16398
|
perFileSizeUnit: bigint | null;
|
|
16293
|
-
perFileSizePrice:
|
|
16399
|
+
perFileSizePrice: number | null;
|
|
16294
16400
|
bandwidthBase: bigint | null;
|
|
16295
16401
|
bandwidthUnit: bigint | null;
|
|
16296
|
-
bandwidthPrice:
|
|
16402
|
+
bandwidthPrice: number | null;
|
|
16297
16403
|
totalStorageSizeBase: bigint | null;
|
|
16298
16404
|
totalStorageSizeUnit: bigint | null;
|
|
16299
|
-
totalStorageSizePrice:
|
|
16405
|
+
totalStorageSizePrice: number | null;
|
|
16300
16406
|
devsMax: bigint | null;
|
|
16301
16407
|
usersMax: bigint | null;
|
|
16302
16408
|
perFileSizeMax: bigint | null;
|
|
16303
16409
|
bandwidthMax: bigint | null;
|
|
16304
16410
|
totalStorageSizeMax: bigint | null;
|
|
16305
16411
|
};
|
|
16306
|
-
}
|
|
16412
|
+
};
|
|
16307
16413
|
id: string;
|
|
16308
16414
|
createdAt: Date;
|
|
16309
16415
|
users: {
|
|
@@ -16325,63 +16431,67 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16325
16431
|
} | null;
|
|
16326
16432
|
};
|
|
16327
16433
|
plans: ({
|
|
16434
|
+
codes: string[];
|
|
16328
16435
|
id: string;
|
|
16329
16436
|
kind: string;
|
|
16330
|
-
|
|
16437
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16438
|
+
descriptorId: string;
|
|
16439
|
+
} & {
|
|
16331
16440
|
descriptor: {
|
|
16332
|
-
id: string;
|
|
16333
16441
|
devsBase: bigint | null;
|
|
16334
16442
|
devsUnit: bigint | null;
|
|
16335
|
-
devsPrice:
|
|
16443
|
+
devsPrice: number | null;
|
|
16336
16444
|
usersBase: bigint | null;
|
|
16337
16445
|
usersUnit: bigint | null;
|
|
16338
|
-
usersPrice:
|
|
16446
|
+
usersPrice: number | null;
|
|
16339
16447
|
perFileSizeBase: bigint | null;
|
|
16340
16448
|
perFileSizeUnit: bigint | null;
|
|
16341
|
-
perFileSizePrice:
|
|
16449
|
+
perFileSizePrice: number | null;
|
|
16342
16450
|
bandwidthBase: bigint | null;
|
|
16343
16451
|
bandwidthUnit: bigint | null;
|
|
16344
|
-
bandwidthPrice:
|
|
16452
|
+
bandwidthPrice: number | null;
|
|
16345
16453
|
totalStorageSizeBase: bigint | null;
|
|
16346
16454
|
totalStorageSizeUnit: bigint | null;
|
|
16347
|
-
totalStorageSizePrice:
|
|
16455
|
+
totalStorageSizePrice: number | null;
|
|
16348
16456
|
devsMax: bigint | null;
|
|
16349
16457
|
usersMax: bigint | null;
|
|
16350
16458
|
perFileSizeMax: bigint | null;
|
|
16351
16459
|
bandwidthMax: bigint | null;
|
|
16352
16460
|
totalStorageSizeMax: bigint | null;
|
|
16353
16461
|
};
|
|
16354
|
-
}
|
|
16462
|
+
})[];
|
|
16355
16463
|
}[];
|
|
16356
16464
|
_output_out: {
|
|
16357
16465
|
plan: {
|
|
16466
|
+
codes: string[];
|
|
16358
16467
|
id: string;
|
|
16359
16468
|
kind: string;
|
|
16360
|
-
|
|
16469
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16470
|
+
descriptorId: string;
|
|
16471
|
+
} & {
|
|
16361
16472
|
descriptor: {
|
|
16362
|
-
id: string;
|
|
16363
16473
|
devsBase: bigint | null;
|
|
16364
16474
|
devsUnit: bigint | null;
|
|
16365
|
-
devsPrice:
|
|
16475
|
+
devsPrice: number | null;
|
|
16366
16476
|
usersBase: bigint | null;
|
|
16367
16477
|
usersUnit: bigint | null;
|
|
16368
|
-
usersPrice:
|
|
16478
|
+
usersPrice: number | null;
|
|
16369
16479
|
perFileSizeBase: bigint | null;
|
|
16370
16480
|
perFileSizeUnit: bigint | null;
|
|
16371
|
-
perFileSizePrice:
|
|
16481
|
+
perFileSizePrice: number | null;
|
|
16372
16482
|
bandwidthBase: bigint | null;
|
|
16373
16483
|
bandwidthUnit: bigint | null;
|
|
16374
|
-
bandwidthPrice:
|
|
16484
|
+
bandwidthPrice: number | null;
|
|
16375
16485
|
totalStorageSizeBase: bigint | null;
|
|
16376
16486
|
totalStorageSizeUnit: bigint | null;
|
|
16377
|
-
totalStorageSizePrice:
|
|
16487
|
+
totalStorageSizePrice: number | null;
|
|
16378
16488
|
devsMax: bigint | null;
|
|
16379
16489
|
usersMax: bigint | null;
|
|
16380
16490
|
perFileSizeMax: bigint | null;
|
|
16381
16491
|
bandwidthMax: bigint | null;
|
|
16382
16492
|
totalStorageSizeMax: bigint | null;
|
|
16383
16493
|
};
|
|
16384
|
-
}
|
|
16494
|
+
};
|
|
16385
16495
|
id: string;
|
|
16386
16496
|
createdAt: Date;
|
|
16387
16497
|
users: {
|
|
@@ -16403,35 +16513,109 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16403
16513
|
} | null;
|
|
16404
16514
|
};
|
|
16405
16515
|
plans: ({
|
|
16516
|
+
codes: string[];
|
|
16406
16517
|
id: string;
|
|
16407
16518
|
kind: string;
|
|
16408
|
-
|
|
16519
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16520
|
+
descriptorId: string;
|
|
16521
|
+
} & {
|
|
16409
16522
|
descriptor: {
|
|
16410
|
-
id: string;
|
|
16411
16523
|
devsBase: bigint | null;
|
|
16412
16524
|
devsUnit: bigint | null;
|
|
16413
|
-
devsPrice:
|
|
16525
|
+
devsPrice: number | null;
|
|
16414
16526
|
usersBase: bigint | null;
|
|
16415
16527
|
usersUnit: bigint | null;
|
|
16416
|
-
usersPrice:
|
|
16528
|
+
usersPrice: number | null;
|
|
16417
16529
|
perFileSizeBase: bigint | null;
|
|
16418
16530
|
perFileSizeUnit: bigint | null;
|
|
16419
|
-
perFileSizePrice:
|
|
16531
|
+
perFileSizePrice: number | null;
|
|
16420
16532
|
bandwidthBase: bigint | null;
|
|
16421
16533
|
bandwidthUnit: bigint | null;
|
|
16422
|
-
bandwidthPrice:
|
|
16534
|
+
bandwidthPrice: number | null;
|
|
16423
16535
|
totalStorageSizeBase: bigint | null;
|
|
16424
16536
|
totalStorageSizeUnit: bigint | null;
|
|
16425
|
-
totalStorageSizePrice:
|
|
16537
|
+
totalStorageSizePrice: number | null;
|
|
16426
16538
|
devsMax: bigint | null;
|
|
16427
16539
|
usersMax: bigint | null;
|
|
16428
16540
|
perFileSizeMax: bigint | null;
|
|
16429
16541
|
bandwidthMax: bigint | null;
|
|
16430
16542
|
totalStorageSizeMax: bigint | null;
|
|
16431
16543
|
};
|
|
16432
|
-
}
|
|
16544
|
+
})[];
|
|
16433
16545
|
}[];
|
|
16434
16546
|
}, unknown>;
|
|
16547
|
+
cancelSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
16548
|
+
_config: _trpc_server.RootConfig<{
|
|
16549
|
+
ctx: {
|
|
16550
|
+
req: {
|
|
16551
|
+
headers: Headers;
|
|
16552
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16553
|
+
};
|
|
16554
|
+
res: {
|
|
16555
|
+
headers: Headers;
|
|
16556
|
+
};
|
|
16557
|
+
session: SecrecySession | null;
|
|
16558
|
+
locale: Locales;
|
|
16559
|
+
ls: TranslationFunctions;
|
|
16560
|
+
};
|
|
16561
|
+
meta: object;
|
|
16562
|
+
errorShape: {
|
|
16563
|
+
message: string;
|
|
16564
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16565
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16566
|
+
} | {
|
|
16567
|
+
data: {
|
|
16568
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
16569
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
16570
|
+
httpStatus: number;
|
|
16571
|
+
path?: string | undefined;
|
|
16572
|
+
stack?: string | undefined;
|
|
16573
|
+
};
|
|
16574
|
+
message: string;
|
|
16575
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16576
|
+
};
|
|
16577
|
+
transformer: typeof superjson.default;
|
|
16578
|
+
}>;
|
|
16579
|
+
_meta: object;
|
|
16580
|
+
_ctx_out: {
|
|
16581
|
+
session: {
|
|
16582
|
+
appId: string;
|
|
16583
|
+
appPlanId: string;
|
|
16584
|
+
appFakeUserId: string | undefined;
|
|
16585
|
+
sessionId: string;
|
|
16586
|
+
accountId: string;
|
|
16587
|
+
accountInfosId: string;
|
|
16588
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
16589
|
+
userId: string;
|
|
16590
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
16591
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
16592
|
+
isCare?: boolean | undefined;
|
|
16593
|
+
};
|
|
16594
|
+
req: {
|
|
16595
|
+
headers: Headers;
|
|
16596
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16597
|
+
};
|
|
16598
|
+
res: {
|
|
16599
|
+
headers: Headers;
|
|
16600
|
+
};
|
|
16601
|
+
locale: Locales;
|
|
16602
|
+
ls: TranslationFunctions;
|
|
16603
|
+
};
|
|
16604
|
+
_input_in: {
|
|
16605
|
+
appId: string;
|
|
16606
|
+
prorate: boolean;
|
|
16607
|
+
};
|
|
16608
|
+
_input_out: {
|
|
16609
|
+
appId: string;
|
|
16610
|
+
prorate: boolean;
|
|
16611
|
+
};
|
|
16612
|
+
_output_in: {
|
|
16613
|
+
isCancelled: boolean;
|
|
16614
|
+
};
|
|
16615
|
+
_output_out: {
|
|
16616
|
+
isCancelled: boolean;
|
|
16617
|
+
};
|
|
16618
|
+
}, unknown>;
|
|
16435
16619
|
createApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
16436
16620
|
_config: _trpc_server.RootConfig<{
|
|
16437
16621
|
ctx: {
|
|
@@ -16563,11 +16747,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16563
16747
|
};
|
|
16564
16748
|
_input_in: {
|
|
16565
16749
|
appId: string;
|
|
16566
|
-
planCode: "tech_solo_month" | "
|
|
16750
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16567
16751
|
};
|
|
16568
16752
|
_input_out: {
|
|
16569
16753
|
appId: string;
|
|
16570
|
-
planCode: "tech_solo_month" | "
|
|
16754
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16571
16755
|
};
|
|
16572
16756
|
_output_in: {
|
|
16573
16757
|
url: string | null;
|
|
@@ -17289,11 +17473,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17289
17473
|
};
|
|
17290
17474
|
_input_in: {
|
|
17291
17475
|
appId: string;
|
|
17292
|
-
|
|
17476
|
+
userId: string;
|
|
17293
17477
|
};
|
|
17294
17478
|
_input_out: {
|
|
17295
17479
|
appId: string;
|
|
17296
|
-
|
|
17480
|
+
userId: string;
|
|
17297
17481
|
};
|
|
17298
17482
|
_output_in: {
|
|
17299
17483
|
isUpdated: boolean;
|
|
@@ -17511,62 +17695,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17511
17695
|
locale: Locales;
|
|
17512
17696
|
ls: TranslationFunctions;
|
|
17513
17697
|
};
|
|
17514
|
-
_input_in: {
|
|
17515
|
-
|
|
17516
|
-
_output_in: {
|
|
17517
|
-
isDeleted: boolean;
|
|
17518
|
-
};
|
|
17519
|
-
_output_out: {
|
|
17520
|
-
isDeleted: boolean;
|
|
17698
|
+
_input_in: {
|
|
17699
|
+
isTemporary: boolean;
|
|
17521
17700
|
};
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
_config: _trpc_server.RootConfig<{
|
|
17525
|
-
ctx: {
|
|
17526
|
-
req: {
|
|
17527
|
-
headers: Headers;
|
|
17528
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17529
|
-
};
|
|
17530
|
-
res: {
|
|
17531
|
-
headers: Headers;
|
|
17532
|
-
};
|
|
17533
|
-
session: SecrecySession | null;
|
|
17534
|
-
locale: Locales;
|
|
17535
|
-
ls: TranslationFunctions;
|
|
17536
|
-
};
|
|
17537
|
-
meta: object;
|
|
17538
|
-
errorShape: {
|
|
17539
|
-
message: string;
|
|
17540
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17541
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17542
|
-
} | {
|
|
17543
|
-
data: {
|
|
17544
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
17545
|
-
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
17546
|
-
httpStatus: number;
|
|
17547
|
-
path?: string | undefined;
|
|
17548
|
-
stack?: string | undefined;
|
|
17549
|
-
};
|
|
17550
|
-
message: string;
|
|
17551
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17552
|
-
};
|
|
17553
|
-
transformer: typeof superjson.default;
|
|
17554
|
-
}>;
|
|
17555
|
-
_meta: object;
|
|
17556
|
-
_ctx_out: {
|
|
17557
|
-
session: SecrecySession;
|
|
17558
|
-
req: {
|
|
17559
|
-
headers: Headers;
|
|
17560
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17561
|
-
};
|
|
17562
|
-
res: {
|
|
17563
|
-
headers: Headers;
|
|
17564
|
-
};
|
|
17565
|
-
locale: Locales;
|
|
17566
|
-
ls: TranslationFunctions;
|
|
17701
|
+
_input_out: {
|
|
17702
|
+
isTemporary: boolean;
|
|
17567
17703
|
};
|
|
17568
|
-
_input_in: {} | undefined;
|
|
17569
|
-
_input_out: {} | undefined;
|
|
17570
17704
|
_output_in: {
|
|
17571
17705
|
isDeleted: boolean;
|
|
17572
17706
|
};
|
|
@@ -17997,8 +18131,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17997
18131
|
locale: Locales;
|
|
17998
18132
|
ls: TranslationFunctions;
|
|
17999
18133
|
};
|
|
18000
|
-
_input_in: {
|
|
18001
|
-
|
|
18134
|
+
_input_in: {
|
|
18135
|
+
prorate: boolean;
|
|
18136
|
+
};
|
|
18137
|
+
_input_out: {
|
|
18138
|
+
prorate: boolean;
|
|
18139
|
+
};
|
|
18002
18140
|
_output_in: {
|
|
18003
18141
|
isCancelled: boolean;
|
|
18004
18142
|
};
|