@secrecy/lib 1.39.0-fix-lp-fixes.1 → 1.39.0-fix-dashboard-lp-tech-fixes.2
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/dist/types/client.d.ts
CHANGED
|
@@ -630,18 +630,20 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
630
630
|
_input_in: {} | undefined;
|
|
631
631
|
_input_out: {} | undefined;
|
|
632
632
|
_output_in: {
|
|
633
|
-
codes: string[];
|
|
634
633
|
id: string;
|
|
635
|
-
|
|
636
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
634
|
+
name: string;
|
|
637
635
|
descriptorId: string;
|
|
636
|
+
stripePricesId: string | null;
|
|
637
|
+
isCustomPlan?: boolean | undefined;
|
|
638
|
+
canHaveDatabase?: boolean | undefined;
|
|
638
639
|
};
|
|
639
640
|
_output_out: {
|
|
640
|
-
codes: string[];
|
|
641
641
|
id: string;
|
|
642
|
-
|
|
643
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
642
|
+
name: string;
|
|
644
643
|
descriptorId: string;
|
|
644
|
+
isCustomPlan: boolean;
|
|
645
|
+
canHaveDatabase: boolean;
|
|
646
|
+
stripePricesId: string | null;
|
|
645
647
|
};
|
|
646
648
|
}, unknown>>;
|
|
647
649
|
};
|
|
@@ -680,7 +682,19 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
680
682
|
}>;
|
|
681
683
|
_meta: object;
|
|
682
684
|
_ctx_out: {
|
|
683
|
-
session:
|
|
685
|
+
session: {
|
|
686
|
+
appId: string;
|
|
687
|
+
appPlanId: string;
|
|
688
|
+
appFakeUserId: string | undefined;
|
|
689
|
+
sessionId: string;
|
|
690
|
+
accountId: string;
|
|
691
|
+
accountInfosId: string;
|
|
692
|
+
accountRole: _prisma_client.AccountRole;
|
|
693
|
+
userId: string;
|
|
694
|
+
userRole: _prisma_client.UserRole;
|
|
695
|
+
userPlan: _prisma_client.PlanKind;
|
|
696
|
+
isCare?: boolean;
|
|
697
|
+
};
|
|
684
698
|
req: {
|
|
685
699
|
headers: Headers;
|
|
686
700
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -691,14 +705,17 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
691
705
|
locale: Locales;
|
|
692
706
|
ls: TranslationFunctions;
|
|
693
707
|
};
|
|
694
|
-
_input_in: {
|
|
695
|
-
|
|
708
|
+
_input_in: {
|
|
709
|
+
appId?: string | undefined;
|
|
710
|
+
};
|
|
711
|
+
_input_out: {
|
|
712
|
+
appId?: string | undefined;
|
|
713
|
+
};
|
|
696
714
|
_output_in: ({
|
|
697
|
-
codes: string[];
|
|
698
715
|
id: string;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
716
|
+
name: string;
|
|
717
|
+
isCustomPlan?: boolean | undefined;
|
|
718
|
+
canHaveDatabase?: boolean | undefined;
|
|
702
719
|
} & {
|
|
703
720
|
descriptor: {
|
|
704
721
|
devsBase: bigint | null;
|
|
@@ -724,13 +741,14 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
724
741
|
};
|
|
725
742
|
} & {
|
|
726
743
|
price: number;
|
|
744
|
+
} & {
|
|
745
|
+
isCurrent: boolean;
|
|
727
746
|
})[];
|
|
728
747
|
_output_out: ({
|
|
729
|
-
codes: string[];
|
|
730
748
|
id: string;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
749
|
+
name: string;
|
|
750
|
+
isCustomPlan: boolean;
|
|
751
|
+
canHaveDatabase: boolean;
|
|
734
752
|
} & {
|
|
735
753
|
descriptor: {
|
|
736
754
|
devsBase: bigint | null;
|
|
@@ -756,6 +774,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
756
774
|
};
|
|
757
775
|
} & {
|
|
758
776
|
price: number;
|
|
777
|
+
} & {
|
|
778
|
+
isCurrent: boolean;
|
|
759
779
|
})[];
|
|
760
780
|
}, unknown>>;
|
|
761
781
|
};
|
|
@@ -2368,44 +2388,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2368
2388
|
}, unknown>>;
|
|
2369
2389
|
};
|
|
2370
2390
|
};
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
ctx: {
|
|
2377
|
-
req: {
|
|
2378
|
-
headers: Headers;
|
|
2379
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2380
|
-
};
|
|
2381
|
-
res: {
|
|
2382
|
-
headers: Headers;
|
|
2383
|
-
};
|
|
2384
|
-
session: SecrecySession | null;
|
|
2385
|
-
locale: Locales;
|
|
2386
|
-
ls: TranslationFunctions;
|
|
2387
|
-
};
|
|
2388
|
-
meta: object;
|
|
2389
|
-
errorShape: {
|
|
2390
|
-
message: string;
|
|
2391
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2392
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2393
|
-
} | {
|
|
2394
|
-
data: {
|
|
2395
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2396
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2397
|
-
httpStatus: number;
|
|
2398
|
-
path?: string;
|
|
2399
|
-
stack?: string;
|
|
2400
|
-
};
|
|
2401
|
-
message: string;
|
|
2402
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2403
|
-
};
|
|
2404
|
-
transformer: typeof superjson;
|
|
2405
|
-
}>;
|
|
2406
|
-
_meta: object;
|
|
2407
|
-
_ctx_out: {
|
|
2408
|
-
session: SecrecySession;
|
|
2391
|
+
cloud: {
|
|
2392
|
+
addDataToHistory: {
|
|
2393
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
2394
|
+
_config: import("@trpc/server").RootConfig<{
|
|
2395
|
+
ctx: {
|
|
2409
2396
|
req: {
|
|
2410
2397
|
headers: Headers;
|
|
2411
2398
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2413,555 +2400,180 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2413
2400
|
res: {
|
|
2414
2401
|
headers: Headers;
|
|
2415
2402
|
};
|
|
2403
|
+
session: SecrecySession | null;
|
|
2416
2404
|
locale: Locales;
|
|
2417
2405
|
ls: TranslationFunctions;
|
|
2418
2406
|
};
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2407
|
+
meta: object;
|
|
2408
|
+
errorShape: {
|
|
2409
|
+
message: string;
|
|
2410
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2411
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2412
|
+
} | {
|
|
2413
|
+
data: {
|
|
2414
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2415
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2416
|
+
httpStatus: number;
|
|
2417
|
+
path?: string;
|
|
2418
|
+
stack?: string;
|
|
2419
|
+
};
|
|
2420
|
+
message: string;
|
|
2421
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2429
2422
|
};
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
adeliNumber: string;
|
|
2439
|
-
ssNumber: string;
|
|
2423
|
+
transformer: typeof superjson;
|
|
2424
|
+
}>;
|
|
2425
|
+
_meta: object;
|
|
2426
|
+
_ctx_out: {
|
|
2427
|
+
session: SecrecySessionWithApp;
|
|
2428
|
+
req: {
|
|
2429
|
+
headers: Headers;
|
|
2430
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2440
2431
|
};
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2432
|
+
res: {
|
|
2433
|
+
headers: Headers;
|
|
2434
|
+
};
|
|
2435
|
+
locale: Locales;
|
|
2436
|
+
ls: TranslationFunctions;
|
|
2437
|
+
};
|
|
2438
|
+
_input_in: {
|
|
2439
|
+
dataId: string;
|
|
2440
|
+
nodeId: string;
|
|
2441
|
+
};
|
|
2442
|
+
_input_out: {
|
|
2443
|
+
dataId: string;
|
|
2444
|
+
nodeId: string;
|
|
2445
|
+
};
|
|
2446
|
+
_output_in: {
|
|
2447
|
+
id: string;
|
|
2448
|
+
createdAt: Date;
|
|
2449
|
+
deletedAt: Date | null;
|
|
2450
|
+
name: string;
|
|
2451
|
+
updatedAt: Date;
|
|
2452
|
+
type: "FILE" | "FOLDER";
|
|
2453
|
+
parentId: string | null;
|
|
2454
|
+
isFavorite: boolean;
|
|
2455
|
+
currentDataId: string | null;
|
|
2456
|
+
} & {
|
|
2457
|
+
users: [{
|
|
2458
|
+
id: string;
|
|
2459
|
+
lastname: string;
|
|
2460
|
+
firstname: string;
|
|
2461
|
+
avatar: string | null;
|
|
2462
|
+
isSearchable: boolean;
|
|
2463
|
+
}, "admin" | "write" | "read"][];
|
|
2464
|
+
createdBy: {
|
|
2465
|
+
id: string;
|
|
2466
|
+
lastname: string;
|
|
2467
|
+
firstname: string;
|
|
2468
|
+
avatar: string | null;
|
|
2469
|
+
isSearchable: boolean;
|
|
2470
|
+
};
|
|
2471
|
+
access: {
|
|
2472
|
+
rights: "admin" | "write" | "read";
|
|
2473
|
+
nameKey: string | null;
|
|
2474
|
+
isRoot: boolean;
|
|
2475
|
+
sharedByPubKey: string;
|
|
2476
|
+
};
|
|
2477
|
+
} & {
|
|
2478
|
+
sizes: {
|
|
2479
|
+
size: bigint;
|
|
2480
|
+
sizeBefore: bigint;
|
|
2481
|
+
};
|
|
2482
|
+
} & {
|
|
2483
|
+
current: {
|
|
2484
|
+
id: string;
|
|
2485
|
+
createdAt: Date;
|
|
2486
|
+
size: bigint;
|
|
2487
|
+
md5: string;
|
|
2488
|
+
storageType: "s3" | "lite";
|
|
2489
|
+
sizeBefore: bigint;
|
|
2490
|
+
md5Encrypted: string;
|
|
2491
|
+
userAppUserId: string;
|
|
2492
|
+
userAppAppId: string;
|
|
2493
|
+
validatedAt: Date | null;
|
|
2494
|
+
access: {
|
|
2495
|
+
key: string;
|
|
2496
|
+
sharedByPubKey: string;
|
|
2497
|
+
};
|
|
2498
|
+
} | null;
|
|
2499
|
+
history: {
|
|
2500
|
+
id: string;
|
|
2501
|
+
createdAt: Date;
|
|
2502
|
+
size: bigint;
|
|
2503
|
+
md5: string;
|
|
2504
|
+
storageType: "s3" | "lite";
|
|
2505
|
+
sizeBefore: bigint;
|
|
2506
|
+
md5Encrypted: string;
|
|
2507
|
+
userAppUserId: string;
|
|
2508
|
+
userAppAppId: string;
|
|
2509
|
+
validatedAt: Date | null;
|
|
2510
|
+
access: {
|
|
2511
|
+
key: string;
|
|
2512
|
+
sharedByPubKey: string;
|
|
2513
|
+
};
|
|
2514
|
+
}[];
|
|
2515
|
+
parent: ({
|
|
2516
|
+
id: string;
|
|
2517
|
+
createdAt: Date;
|
|
2518
|
+
deletedAt: Date | null;
|
|
2519
|
+
name: string;
|
|
2520
|
+
updatedAt: Date;
|
|
2521
|
+
type: "FILE" | "FOLDER";
|
|
2522
|
+
parentId: string | null;
|
|
2523
|
+
isFavorite: boolean;
|
|
2524
|
+
currentDataId: string | null;
|
|
2445
2525
|
} & {
|
|
2446
|
-
|
|
2526
|
+
users: [{
|
|
2527
|
+
id: string;
|
|
2528
|
+
lastname: string;
|
|
2529
|
+
firstname: string;
|
|
2530
|
+
avatar: string | null;
|
|
2531
|
+
isSearchable: boolean;
|
|
2532
|
+
}, "admin" | "write" | "read"][];
|
|
2533
|
+
createdBy: {
|
|
2447
2534
|
id: string;
|
|
2448
2535
|
lastname: string;
|
|
2449
2536
|
firstname: string;
|
|
2450
2537
|
avatar: string | null;
|
|
2451
2538
|
isSearchable: boolean;
|
|
2452
2539
|
};
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2540
|
+
access: {
|
|
2541
|
+
rights: "admin" | "write" | "read";
|
|
2542
|
+
nameKey: string | null;
|
|
2543
|
+
isRoot: boolean;
|
|
2544
|
+
sharedByPubKey: string;
|
|
2545
|
+
};
|
|
2546
|
+
}) | null;
|
|
2547
|
+
children: ({
|
|
2548
|
+
id: string;
|
|
2549
|
+
createdAt: Date;
|
|
2550
|
+
deletedAt: Date | null;
|
|
2551
|
+
name: string;
|
|
2552
|
+
updatedAt: Date;
|
|
2553
|
+
type: "FILE" | "FOLDER";
|
|
2554
|
+
parentId: string | null;
|
|
2555
|
+
isFavorite: boolean;
|
|
2556
|
+
currentDataId: string | null;
|
|
2458
2557
|
} & {
|
|
2459
|
-
|
|
2558
|
+
users: [{
|
|
2559
|
+
id: string;
|
|
2560
|
+
lastname: string;
|
|
2561
|
+
firstname: string;
|
|
2562
|
+
avatar: string | null;
|
|
2563
|
+
isSearchable: boolean;
|
|
2564
|
+
}, "admin" | "write" | "read"][];
|
|
2565
|
+
createdBy: {
|
|
2460
2566
|
id: string;
|
|
2461
2567
|
lastname: string;
|
|
2462
2568
|
firstname: string;
|
|
2463
2569
|
avatar: string | null;
|
|
2464
2570
|
isSearchable: boolean;
|
|
2465
2571
|
};
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
_config: import("@trpc/server").RootConfig<{
|
|
2472
|
-
ctx: {
|
|
2473
|
-
req: {
|
|
2474
|
-
headers: Headers;
|
|
2475
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2476
|
-
};
|
|
2477
|
-
res: {
|
|
2478
|
-
headers: Headers;
|
|
2479
|
-
};
|
|
2480
|
-
session: SecrecySession | null;
|
|
2481
|
-
locale: Locales;
|
|
2482
|
-
ls: TranslationFunctions;
|
|
2483
|
-
};
|
|
2484
|
-
meta: object;
|
|
2485
|
-
errorShape: {
|
|
2486
|
-
message: string;
|
|
2487
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2488
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2489
|
-
} | {
|
|
2490
|
-
data: {
|
|
2491
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2492
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2493
|
-
httpStatus: number;
|
|
2494
|
-
path?: string;
|
|
2495
|
-
stack?: string;
|
|
2496
|
-
};
|
|
2497
|
-
message: string;
|
|
2498
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2499
|
-
};
|
|
2500
|
-
transformer: typeof superjson;
|
|
2501
|
-
}>;
|
|
2502
|
-
_meta: object;
|
|
2503
|
-
_ctx_out: {
|
|
2504
|
-
session: SecrecySession;
|
|
2505
|
-
req: {
|
|
2506
|
-
headers: Headers;
|
|
2507
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2508
|
-
};
|
|
2509
|
-
res: {
|
|
2510
|
-
headers: Headers;
|
|
2511
|
-
};
|
|
2512
|
-
locale: Locales;
|
|
2513
|
-
ls: TranslationFunctions;
|
|
2514
|
-
};
|
|
2515
|
-
_input_in: {
|
|
2516
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2517
|
-
job: string;
|
|
2518
|
-
specialties: string[];
|
|
2519
|
-
activePrescriber: boolean;
|
|
2520
|
-
internationalPrescriberNumber: string | null;
|
|
2521
|
-
institution: string | null;
|
|
2522
|
-
rppsNumber: string;
|
|
2523
|
-
adeliNumber: string;
|
|
2524
|
-
ssNumber: string;
|
|
2525
|
-
};
|
|
2526
|
-
_input_out: {
|
|
2527
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2528
|
-
job: string;
|
|
2529
|
-
specialties: string[];
|
|
2530
|
-
activePrescriber: boolean;
|
|
2531
|
-
internationalPrescriberNumber: string | null;
|
|
2532
|
-
institution: string | null;
|
|
2533
|
-
rppsNumber: string;
|
|
2534
|
-
adeliNumber: string;
|
|
2535
|
-
ssNumber: string;
|
|
2536
|
-
};
|
|
2537
|
-
_output_in: {
|
|
2538
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2539
|
-
job: string;
|
|
2540
|
-
specialties: string[];
|
|
2541
|
-
} & {
|
|
2542
|
-
user: {
|
|
2543
|
-
id: string;
|
|
2544
|
-
lastname: string;
|
|
2545
|
-
firstname: string;
|
|
2546
|
-
avatar: string | null;
|
|
2547
|
-
isSearchable: boolean;
|
|
2548
|
-
};
|
|
2549
|
-
};
|
|
2550
|
-
_output_out: {
|
|
2551
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2552
|
-
job: string;
|
|
2553
|
-
specialties: string[];
|
|
2554
|
-
} & {
|
|
2555
|
-
user: {
|
|
2556
|
-
id: string;
|
|
2557
|
-
lastname: string;
|
|
2558
|
-
firstname: string;
|
|
2559
|
-
avatar: string | null;
|
|
2560
|
-
isSearchable: boolean;
|
|
2561
|
-
};
|
|
2562
|
-
};
|
|
2563
|
-
}, unknown>>;
|
|
2564
|
-
};
|
|
2565
|
-
delete: {
|
|
2566
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
2567
|
-
_config: import("@trpc/server").RootConfig<{
|
|
2568
|
-
ctx: {
|
|
2569
|
-
req: {
|
|
2570
|
-
headers: Headers;
|
|
2571
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2572
|
-
};
|
|
2573
|
-
res: {
|
|
2574
|
-
headers: Headers;
|
|
2575
|
-
};
|
|
2576
|
-
session: SecrecySession | null;
|
|
2577
|
-
locale: Locales;
|
|
2578
|
-
ls: TranslationFunctions;
|
|
2579
|
-
};
|
|
2580
|
-
meta: object;
|
|
2581
|
-
errorShape: {
|
|
2582
|
-
message: string;
|
|
2583
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2584
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2585
|
-
} | {
|
|
2586
|
-
data: {
|
|
2587
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2588
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2589
|
-
httpStatus: number;
|
|
2590
|
-
path?: string;
|
|
2591
|
-
stack?: string;
|
|
2592
|
-
};
|
|
2593
|
-
message: string;
|
|
2594
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2595
|
-
};
|
|
2596
|
-
transformer: typeof superjson;
|
|
2597
|
-
}>;
|
|
2598
|
-
_meta: object;
|
|
2599
|
-
_ctx_out: {
|
|
2600
|
-
session: SecrecySession;
|
|
2601
|
-
req: {
|
|
2602
|
-
headers: Headers;
|
|
2603
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2604
|
-
};
|
|
2605
|
-
res: {
|
|
2606
|
-
headers: Headers;
|
|
2607
|
-
};
|
|
2608
|
-
locale: Locales;
|
|
2609
|
-
ls: TranslationFunctions;
|
|
2610
|
-
};
|
|
2611
|
-
_input_in: {};
|
|
2612
|
-
_input_out: {};
|
|
2613
|
-
_output_in: {
|
|
2614
|
-
success: boolean;
|
|
2615
|
-
};
|
|
2616
|
-
_output_out: {
|
|
2617
|
-
success: boolean;
|
|
2618
|
-
};
|
|
2619
|
-
}, unknown>>;
|
|
2620
|
-
};
|
|
2621
|
-
get: {
|
|
2622
|
-
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
2623
|
-
_config: import("@trpc/server").RootConfig<{
|
|
2624
|
-
ctx: {
|
|
2625
|
-
req: {
|
|
2626
|
-
headers: Headers;
|
|
2627
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2628
|
-
};
|
|
2629
|
-
res: {
|
|
2630
|
-
headers: Headers;
|
|
2631
|
-
};
|
|
2632
|
-
session: SecrecySession | null;
|
|
2633
|
-
locale: Locales;
|
|
2634
|
-
ls: TranslationFunctions;
|
|
2635
|
-
};
|
|
2636
|
-
meta: object;
|
|
2637
|
-
errorShape: {
|
|
2638
|
-
message: string;
|
|
2639
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2640
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2641
|
-
} | {
|
|
2642
|
-
data: {
|
|
2643
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2644
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2645
|
-
httpStatus: number;
|
|
2646
|
-
path?: string;
|
|
2647
|
-
stack?: string;
|
|
2648
|
-
};
|
|
2649
|
-
message: string;
|
|
2650
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2651
|
-
};
|
|
2652
|
-
transformer: typeof superjson;
|
|
2653
|
-
}>;
|
|
2654
|
-
_meta: object;
|
|
2655
|
-
_ctx_out: {
|
|
2656
|
-
session: SecrecySession;
|
|
2657
|
-
req: {
|
|
2658
|
-
headers: Headers;
|
|
2659
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2660
|
-
};
|
|
2661
|
-
res: {
|
|
2662
|
-
headers: Headers;
|
|
2663
|
-
};
|
|
2664
|
-
locale: Locales;
|
|
2665
|
-
ls: TranslationFunctions;
|
|
2666
|
-
};
|
|
2667
|
-
_input_in: {
|
|
2668
|
-
id: string;
|
|
2669
|
-
};
|
|
2670
|
-
_input_out: {
|
|
2671
|
-
id: string;
|
|
2672
|
-
};
|
|
2673
|
-
_output_in: {
|
|
2674
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2675
|
-
job: string;
|
|
2676
|
-
specialties: string[];
|
|
2677
|
-
} & {
|
|
2678
|
-
user: {
|
|
2679
|
-
id: string;
|
|
2680
|
-
lastname: string;
|
|
2681
|
-
firstname: string;
|
|
2682
|
-
avatar: string | null;
|
|
2683
|
-
isSearchable: boolean;
|
|
2684
|
-
};
|
|
2685
|
-
};
|
|
2686
|
-
_output_out: {
|
|
2687
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2688
|
-
job: string;
|
|
2689
|
-
specialties: string[];
|
|
2690
|
-
} & {
|
|
2691
|
-
user: {
|
|
2692
|
-
id: string;
|
|
2693
|
-
lastname: string;
|
|
2694
|
-
firstname: string;
|
|
2695
|
-
avatar: string | null;
|
|
2696
|
-
isSearchable: boolean;
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
}, unknown>>;
|
|
2700
|
-
};
|
|
2701
|
-
list: {
|
|
2702
|
-
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
2703
|
-
_config: import("@trpc/server").RootConfig<{
|
|
2704
|
-
ctx: {
|
|
2705
|
-
req: {
|
|
2706
|
-
headers: Headers;
|
|
2707
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2708
|
-
};
|
|
2709
|
-
res: {
|
|
2710
|
-
headers: Headers;
|
|
2711
|
-
};
|
|
2712
|
-
session: SecrecySession | null;
|
|
2713
|
-
locale: Locales;
|
|
2714
|
-
ls: TranslationFunctions;
|
|
2715
|
-
};
|
|
2716
|
-
meta: object;
|
|
2717
|
-
errorShape: {
|
|
2718
|
-
message: string;
|
|
2719
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2720
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2721
|
-
} | {
|
|
2722
|
-
data: {
|
|
2723
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2724
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2725
|
-
httpStatus: number;
|
|
2726
|
-
path?: string;
|
|
2727
|
-
stack?: string;
|
|
2728
|
-
};
|
|
2729
|
-
message: string;
|
|
2730
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2731
|
-
};
|
|
2732
|
-
transformer: typeof superjson;
|
|
2733
|
-
}>;
|
|
2734
|
-
_meta: object;
|
|
2735
|
-
_ctx_out: {
|
|
2736
|
-
session: SecrecySession;
|
|
2737
|
-
req: {
|
|
2738
|
-
headers: Headers;
|
|
2739
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2740
|
-
};
|
|
2741
|
-
res: {
|
|
2742
|
-
headers: Headers;
|
|
2743
|
-
};
|
|
2744
|
-
locale: Locales;
|
|
2745
|
-
ls: TranslationFunctions;
|
|
2746
|
-
};
|
|
2747
|
-
_input_in: {};
|
|
2748
|
-
_input_out: {};
|
|
2749
|
-
_output_in: ({
|
|
2750
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2751
|
-
job: string;
|
|
2752
|
-
specialties: string[];
|
|
2753
|
-
} & {
|
|
2754
|
-
user: {
|
|
2755
|
-
id: string;
|
|
2756
|
-
lastname: string;
|
|
2757
|
-
firstname: string;
|
|
2758
|
-
avatar: string | null;
|
|
2759
|
-
isSearchable: boolean;
|
|
2760
|
-
};
|
|
2761
|
-
})[];
|
|
2762
|
-
_output_out: ({
|
|
2763
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2764
|
-
job: string;
|
|
2765
|
-
specialties: string[];
|
|
2766
|
-
} & {
|
|
2767
|
-
user: {
|
|
2768
|
-
id: string;
|
|
2769
|
-
lastname: string;
|
|
2770
|
-
firstname: string;
|
|
2771
|
-
avatar: string | null;
|
|
2772
|
-
isSearchable: boolean;
|
|
2773
|
-
};
|
|
2774
|
-
})[];
|
|
2775
|
-
}, unknown>>;
|
|
2776
|
-
};
|
|
2777
|
-
};
|
|
2778
|
-
};
|
|
2779
|
-
cloud: {
|
|
2780
|
-
addDataToHistory: {
|
|
2781
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
2782
|
-
_config: import("@trpc/server").RootConfig<{
|
|
2783
|
-
ctx: {
|
|
2784
|
-
req: {
|
|
2785
|
-
headers: Headers;
|
|
2786
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2787
|
-
};
|
|
2788
|
-
res: {
|
|
2789
|
-
headers: Headers;
|
|
2790
|
-
};
|
|
2791
|
-
session: SecrecySession | null;
|
|
2792
|
-
locale: Locales;
|
|
2793
|
-
ls: TranslationFunctions;
|
|
2794
|
-
};
|
|
2795
|
-
meta: object;
|
|
2796
|
-
errorShape: {
|
|
2797
|
-
message: string;
|
|
2798
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2799
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2800
|
-
} | {
|
|
2801
|
-
data: {
|
|
2802
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2803
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2804
|
-
httpStatus: number;
|
|
2805
|
-
path?: string;
|
|
2806
|
-
stack?: string;
|
|
2807
|
-
};
|
|
2808
|
-
message: string;
|
|
2809
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2810
|
-
};
|
|
2811
|
-
transformer: typeof superjson;
|
|
2812
|
-
}>;
|
|
2813
|
-
_meta: object;
|
|
2814
|
-
_ctx_out: {
|
|
2815
|
-
session: SecrecySessionWithApp;
|
|
2816
|
-
req: {
|
|
2817
|
-
headers: Headers;
|
|
2818
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2819
|
-
};
|
|
2820
|
-
res: {
|
|
2821
|
-
headers: Headers;
|
|
2822
|
-
};
|
|
2823
|
-
locale: Locales;
|
|
2824
|
-
ls: TranslationFunctions;
|
|
2825
|
-
};
|
|
2826
|
-
_input_in: {
|
|
2827
|
-
dataId: string;
|
|
2828
|
-
nodeId: string;
|
|
2829
|
-
};
|
|
2830
|
-
_input_out: {
|
|
2831
|
-
dataId: string;
|
|
2832
|
-
nodeId: string;
|
|
2833
|
-
};
|
|
2834
|
-
_output_in: {
|
|
2835
|
-
id: string;
|
|
2836
|
-
createdAt: Date;
|
|
2837
|
-
deletedAt: Date | null;
|
|
2838
|
-
name: string;
|
|
2839
|
-
updatedAt: Date;
|
|
2840
|
-
type: "FILE" | "FOLDER";
|
|
2841
|
-
parentId: string | null;
|
|
2842
|
-
isFavorite: boolean;
|
|
2843
|
-
currentDataId: string | null;
|
|
2844
|
-
} & {
|
|
2845
|
-
users: [{
|
|
2846
|
-
id: string;
|
|
2847
|
-
lastname: string;
|
|
2848
|
-
firstname: string;
|
|
2849
|
-
avatar: string | null;
|
|
2850
|
-
isSearchable: boolean;
|
|
2851
|
-
}, "admin" | "write" | "read"][];
|
|
2852
|
-
createdBy: {
|
|
2853
|
-
id: string;
|
|
2854
|
-
lastname: string;
|
|
2855
|
-
firstname: string;
|
|
2856
|
-
avatar: string | null;
|
|
2857
|
-
isSearchable: boolean;
|
|
2858
|
-
};
|
|
2859
|
-
access: {
|
|
2860
|
-
rights: "admin" | "write" | "read";
|
|
2861
|
-
nameKey: string | null;
|
|
2862
|
-
isRoot: boolean;
|
|
2863
|
-
sharedByPubKey: string;
|
|
2864
|
-
};
|
|
2865
|
-
} & {
|
|
2866
|
-
sizes: {
|
|
2867
|
-
size: bigint;
|
|
2868
|
-
sizeBefore: bigint;
|
|
2869
|
-
};
|
|
2870
|
-
} & {
|
|
2871
|
-
current: {
|
|
2872
|
-
id: string;
|
|
2873
|
-
createdAt: Date;
|
|
2874
|
-
size: bigint;
|
|
2875
|
-
md5: string;
|
|
2876
|
-
storageType: "s3" | "lite";
|
|
2877
|
-
sizeBefore: bigint;
|
|
2878
|
-
md5Encrypted: string;
|
|
2879
|
-
userAppUserId: string;
|
|
2880
|
-
userAppAppId: string;
|
|
2881
|
-
validatedAt: Date | null;
|
|
2882
|
-
access: {
|
|
2883
|
-
key: string;
|
|
2884
|
-
sharedByPubKey: string;
|
|
2885
|
-
};
|
|
2886
|
-
} | null;
|
|
2887
|
-
history: {
|
|
2888
|
-
id: string;
|
|
2889
|
-
createdAt: Date;
|
|
2890
|
-
size: bigint;
|
|
2891
|
-
md5: string;
|
|
2892
|
-
storageType: "s3" | "lite";
|
|
2893
|
-
sizeBefore: bigint;
|
|
2894
|
-
md5Encrypted: string;
|
|
2895
|
-
userAppUserId: string;
|
|
2896
|
-
userAppAppId: string;
|
|
2897
|
-
validatedAt: Date | null;
|
|
2898
|
-
access: {
|
|
2899
|
-
key: string;
|
|
2900
|
-
sharedByPubKey: string;
|
|
2901
|
-
};
|
|
2902
|
-
}[];
|
|
2903
|
-
parent: ({
|
|
2904
|
-
id: string;
|
|
2905
|
-
createdAt: Date;
|
|
2906
|
-
deletedAt: Date | null;
|
|
2907
|
-
name: string;
|
|
2908
|
-
updatedAt: Date;
|
|
2909
|
-
type: "FILE" | "FOLDER";
|
|
2910
|
-
parentId: string | null;
|
|
2911
|
-
isFavorite: boolean;
|
|
2912
|
-
currentDataId: string | null;
|
|
2913
|
-
} & {
|
|
2914
|
-
users: [{
|
|
2915
|
-
id: string;
|
|
2916
|
-
lastname: string;
|
|
2917
|
-
firstname: string;
|
|
2918
|
-
avatar: string | null;
|
|
2919
|
-
isSearchable: boolean;
|
|
2920
|
-
}, "admin" | "write" | "read"][];
|
|
2921
|
-
createdBy: {
|
|
2922
|
-
id: string;
|
|
2923
|
-
lastname: string;
|
|
2924
|
-
firstname: string;
|
|
2925
|
-
avatar: string | null;
|
|
2926
|
-
isSearchable: boolean;
|
|
2927
|
-
};
|
|
2928
|
-
access: {
|
|
2929
|
-
rights: "admin" | "write" | "read";
|
|
2930
|
-
nameKey: string | null;
|
|
2931
|
-
isRoot: boolean;
|
|
2932
|
-
sharedByPubKey: string;
|
|
2933
|
-
};
|
|
2934
|
-
}) | null;
|
|
2935
|
-
children: ({
|
|
2936
|
-
id: string;
|
|
2937
|
-
createdAt: Date;
|
|
2938
|
-
deletedAt: Date | null;
|
|
2939
|
-
name: string;
|
|
2940
|
-
updatedAt: Date;
|
|
2941
|
-
type: "FILE" | "FOLDER";
|
|
2942
|
-
parentId: string | null;
|
|
2943
|
-
isFavorite: boolean;
|
|
2944
|
-
currentDataId: string | null;
|
|
2945
|
-
} & {
|
|
2946
|
-
users: [{
|
|
2947
|
-
id: string;
|
|
2948
|
-
lastname: string;
|
|
2949
|
-
firstname: string;
|
|
2950
|
-
avatar: string | null;
|
|
2951
|
-
isSearchable: boolean;
|
|
2952
|
-
}, "admin" | "write" | "read"][];
|
|
2953
|
-
createdBy: {
|
|
2954
|
-
id: string;
|
|
2955
|
-
lastname: string;
|
|
2956
|
-
firstname: string;
|
|
2957
|
-
avatar: string | null;
|
|
2958
|
-
isSearchable: boolean;
|
|
2959
|
-
};
|
|
2960
|
-
access: {
|
|
2961
|
-
rights: "admin" | "write" | "read";
|
|
2962
|
-
nameKey: string | null;
|
|
2963
|
-
isRoot: boolean;
|
|
2964
|
-
sharedByPubKey: string;
|
|
2572
|
+
access: {
|
|
2573
|
+
rights: "admin" | "write" | "read";
|
|
2574
|
+
nameKey: string | null;
|
|
2575
|
+
isRoot: boolean;
|
|
2576
|
+
sharedByPubKey: string;
|
|
2965
2577
|
};
|
|
2966
2578
|
} & {
|
|
2967
2579
|
sizes: {
|
|
@@ -16127,11 +15739,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16127
15739
|
};
|
|
16128
15740
|
_output_in: {
|
|
16129
15741
|
plan: {
|
|
16130
|
-
codes: string[];
|
|
16131
15742
|
id: string;
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
15743
|
+
name: string;
|
|
15744
|
+
isCustomPlan?: boolean | undefined;
|
|
15745
|
+
canHaveDatabase?: boolean | undefined;
|
|
16135
15746
|
} & {
|
|
16136
15747
|
descriptor: {
|
|
16137
15748
|
devsBase: bigint | null;
|
|
@@ -16176,44 +15787,13 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16176
15787
|
id: string;
|
|
16177
15788
|
} | null;
|
|
16178
15789
|
};
|
|
16179
|
-
plans: ({
|
|
16180
|
-
codes: string[];
|
|
16181
|
-
id: string;
|
|
16182
|
-
kind: string;
|
|
16183
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16184
|
-
descriptorId: string;
|
|
16185
|
-
} & {
|
|
16186
|
-
descriptor: {
|
|
16187
|
-
devsBase: bigint | null;
|
|
16188
|
-
devsUnit: bigint | null;
|
|
16189
|
-
devsPrice: number | null;
|
|
16190
|
-
usersBase: bigint | null;
|
|
16191
|
-
usersUnit: bigint | null;
|
|
16192
|
-
usersPrice: number | null;
|
|
16193
|
-
perDataSizeBase: bigint | null;
|
|
16194
|
-
perDataSizeUnit: bigint | null;
|
|
16195
|
-
perDataSizePrice: number | null;
|
|
16196
|
-
bandwidthBase: bigint | null;
|
|
16197
|
-
bandwidthUnit: bigint | null;
|
|
16198
|
-
bandwidthPrice: number | null;
|
|
16199
|
-
totalStorageSizeBase: bigint | null;
|
|
16200
|
-
totalStorageSizeUnit: bigint | null;
|
|
16201
|
-
totalStorageSizePrice: number | null;
|
|
16202
|
-
devsMax: bigint | null;
|
|
16203
|
-
usersMax: bigint | null;
|
|
16204
|
-
perDataSizeMax: bigint | null;
|
|
16205
|
-
bandwidthMax: bigint | null;
|
|
16206
|
-
totalStorageSizeMax: bigint | null;
|
|
16207
|
-
};
|
|
16208
|
-
})[];
|
|
16209
15790
|
};
|
|
16210
15791
|
_output_out: {
|
|
16211
15792
|
plan: {
|
|
16212
|
-
codes: string[];
|
|
16213
15793
|
id: string;
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
15794
|
+
name: string;
|
|
15795
|
+
isCustomPlan: boolean;
|
|
15796
|
+
canHaveDatabase: boolean;
|
|
16217
15797
|
} & {
|
|
16218
15798
|
descriptor: {
|
|
16219
15799
|
devsBase: bigint | null;
|
|
@@ -16258,36 +15838,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16258
15838
|
id: string;
|
|
16259
15839
|
} | null;
|
|
16260
15840
|
};
|
|
16261
|
-
plans: ({
|
|
16262
|
-
codes: string[];
|
|
16263
|
-
id: string;
|
|
16264
|
-
kind: string;
|
|
16265
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16266
|
-
descriptorId: string;
|
|
16267
|
-
} & {
|
|
16268
|
-
descriptor: {
|
|
16269
|
-
devsBase: bigint | null;
|
|
16270
|
-
devsUnit: bigint | null;
|
|
16271
|
-
devsPrice: number | null;
|
|
16272
|
-
usersBase: bigint | null;
|
|
16273
|
-
usersUnit: bigint | null;
|
|
16274
|
-
usersPrice: number | null;
|
|
16275
|
-
perDataSizeBase: bigint | null;
|
|
16276
|
-
perDataSizeUnit: bigint | null;
|
|
16277
|
-
perDataSizePrice: number | null;
|
|
16278
|
-
bandwidthBase: bigint | null;
|
|
16279
|
-
bandwidthUnit: bigint | null;
|
|
16280
|
-
bandwidthPrice: number | null;
|
|
16281
|
-
totalStorageSizeBase: bigint | null;
|
|
16282
|
-
totalStorageSizeUnit: bigint | null;
|
|
16283
|
-
totalStorageSizePrice: number | null;
|
|
16284
|
-
devsMax: bigint | null;
|
|
16285
|
-
usersMax: bigint | null;
|
|
16286
|
-
perDataSizeMax: bigint | null;
|
|
16287
|
-
bandwidthMax: bigint | null;
|
|
16288
|
-
totalStorageSizeMax: bigint | null;
|
|
16289
|
-
};
|
|
16290
|
-
})[];
|
|
16291
15841
|
};
|
|
16292
15842
|
}, unknown>>;
|
|
16293
15843
|
};
|
|
@@ -16328,110 +15878,27 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16328
15878
|
_ctx_out: {
|
|
16329
15879
|
session: SecrecySession;
|
|
16330
15880
|
req: {
|
|
16331
|
-
headers: Headers;
|
|
16332
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16333
|
-
};
|
|
16334
|
-
res: {
|
|
16335
|
-
headers: Headers;
|
|
16336
|
-
};
|
|
16337
|
-
locale: Locales;
|
|
16338
|
-
ls: TranslationFunctions;
|
|
16339
|
-
};
|
|
16340
|
-
_input_in: {
|
|
16341
|
-
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16342
|
-
};
|
|
16343
|
-
_input_out: {
|
|
16344
|
-
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16345
|
-
};
|
|
16346
|
-
_output_in: {
|
|
16347
|
-
plan: {
|
|
16348
|
-
codes: string[];
|
|
16349
|
-
id: string;
|
|
16350
|
-
kind: string;
|
|
16351
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16352
|
-
descriptorId: string;
|
|
16353
|
-
} & {
|
|
16354
|
-
descriptor: {
|
|
16355
|
-
devsBase: bigint | null;
|
|
16356
|
-
devsUnit: bigint | null;
|
|
16357
|
-
devsPrice: number | null;
|
|
16358
|
-
usersBase: bigint | null;
|
|
16359
|
-
usersUnit: bigint | null;
|
|
16360
|
-
usersPrice: number | null;
|
|
16361
|
-
perDataSizeBase: bigint | null;
|
|
16362
|
-
perDataSizeUnit: bigint | null;
|
|
16363
|
-
perDataSizePrice: number | null;
|
|
16364
|
-
bandwidthBase: bigint | null;
|
|
16365
|
-
bandwidthUnit: bigint | null;
|
|
16366
|
-
bandwidthPrice: number | null;
|
|
16367
|
-
totalStorageSizeBase: bigint | null;
|
|
16368
|
-
totalStorageSizeUnit: bigint | null;
|
|
16369
|
-
totalStorageSizePrice: number | null;
|
|
16370
|
-
devsMax: bigint | null;
|
|
16371
|
-
usersMax: bigint | null;
|
|
16372
|
-
perDataSizeMax: bigint | null;
|
|
16373
|
-
bandwidthMax: bigint | null;
|
|
16374
|
-
totalStorageSizeMax: bigint | null;
|
|
16375
|
-
};
|
|
16376
|
-
};
|
|
16377
|
-
id: string;
|
|
16378
|
-
createdAt: Date;
|
|
16379
|
-
users: {
|
|
16380
|
-
userId: string;
|
|
16381
|
-
}[];
|
|
16382
|
-
ownerId: string;
|
|
16383
|
-
blocked: boolean;
|
|
16384
|
-
name: string;
|
|
16385
|
-
color: string | null;
|
|
16386
|
-
logo: string | null;
|
|
16387
|
-
updatedAt: Date;
|
|
16388
|
-
origin: string[];
|
|
16389
|
-
planId: string | null;
|
|
16390
|
-
quotasId: string;
|
|
16391
|
-
metricsId: string;
|
|
16392
|
-
owner: {
|
|
16393
|
-
user: {
|
|
16394
|
-
id: string;
|
|
16395
|
-
} | null;
|
|
16396
|
-
};
|
|
16397
|
-
plans: ({
|
|
16398
|
-
codes: string[];
|
|
16399
|
-
id: string;
|
|
16400
|
-
kind: string;
|
|
16401
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16402
|
-
descriptorId: string;
|
|
16403
|
-
} & {
|
|
16404
|
-
descriptor: {
|
|
16405
|
-
devsBase: bigint | null;
|
|
16406
|
-
devsUnit: bigint | null;
|
|
16407
|
-
devsPrice: number | null;
|
|
16408
|
-
usersBase: bigint | null;
|
|
16409
|
-
usersUnit: bigint | null;
|
|
16410
|
-
usersPrice: number | null;
|
|
16411
|
-
perDataSizeBase: bigint | null;
|
|
16412
|
-
perDataSizeUnit: bigint | null;
|
|
16413
|
-
perDataSizePrice: number | null;
|
|
16414
|
-
bandwidthBase: bigint | null;
|
|
16415
|
-
bandwidthUnit: bigint | null;
|
|
16416
|
-
bandwidthPrice: number | null;
|
|
16417
|
-
totalStorageSizeBase: bigint | null;
|
|
16418
|
-
totalStorageSizeUnit: bigint | null;
|
|
16419
|
-
totalStorageSizePrice: number | null;
|
|
16420
|
-
devsMax: bigint | null;
|
|
16421
|
-
usersMax: bigint | null;
|
|
16422
|
-
perDataSizeMax: bigint | null;
|
|
16423
|
-
bandwidthMax: bigint | null;
|
|
16424
|
-
totalStorageSizeMax: bigint | null;
|
|
16425
|
-
};
|
|
16426
|
-
})[];
|
|
16427
|
-
}[];
|
|
16428
|
-
_output_out: {
|
|
15881
|
+
headers: Headers;
|
|
15882
|
+
body: ReadableStream<Uint8Array> | null;
|
|
15883
|
+
};
|
|
15884
|
+
res: {
|
|
15885
|
+
headers: Headers;
|
|
15886
|
+
};
|
|
15887
|
+
locale: Locales;
|
|
15888
|
+
ls: TranslationFunctions;
|
|
15889
|
+
};
|
|
15890
|
+
_input_in: {
|
|
15891
|
+
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
15892
|
+
};
|
|
15893
|
+
_input_out: {
|
|
15894
|
+
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
15895
|
+
};
|
|
15896
|
+
_output_in: {
|
|
16429
15897
|
plan: {
|
|
16430
|
-
codes: string[];
|
|
16431
15898
|
id: string;
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
15899
|
+
name: string;
|
|
15900
|
+
isCustomPlan?: boolean | undefined;
|
|
15901
|
+
canHaveDatabase?: boolean | undefined;
|
|
16435
15902
|
} & {
|
|
16436
15903
|
descriptor: {
|
|
16437
15904
|
devsBase: bigint | null;
|
|
@@ -16476,12 +15943,13 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16476
15943
|
id: string;
|
|
16477
15944
|
} | null;
|
|
16478
15945
|
};
|
|
16479
|
-
|
|
16480
|
-
|
|
15946
|
+
}[];
|
|
15947
|
+
_output_out: {
|
|
15948
|
+
plan: {
|
|
16481
15949
|
id: string;
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
15950
|
+
name: string;
|
|
15951
|
+
isCustomPlan: boolean;
|
|
15952
|
+
canHaveDatabase: boolean;
|
|
16485
15953
|
} & {
|
|
16486
15954
|
descriptor: {
|
|
16487
15955
|
devsBase: bigint | null;
|
|
@@ -16505,82 +15973,28 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16505
15973
|
bandwidthMax: bigint | null;
|
|
16506
15974
|
totalStorageSizeMax: bigint | null;
|
|
16507
15975
|
};
|
|
16508
|
-
})[];
|
|
16509
|
-
}[];
|
|
16510
|
-
}, unknown>>;
|
|
16511
|
-
};
|
|
16512
|
-
cancelSubscription: {
|
|
16513
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
16514
|
-
_config: import("@trpc/server").RootConfig<{
|
|
16515
|
-
ctx: {
|
|
16516
|
-
req: {
|
|
16517
|
-
headers: Headers;
|
|
16518
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16519
|
-
};
|
|
16520
|
-
res: {
|
|
16521
|
-
headers: Headers;
|
|
16522
|
-
};
|
|
16523
|
-
session: SecrecySession | null;
|
|
16524
|
-
locale: Locales;
|
|
16525
|
-
ls: TranslationFunctions;
|
|
16526
|
-
};
|
|
16527
|
-
meta: object;
|
|
16528
|
-
errorShape: {
|
|
16529
|
-
message: string;
|
|
16530
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16531
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16532
|
-
} | {
|
|
16533
|
-
data: {
|
|
16534
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
16535
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
16536
|
-
httpStatus: number;
|
|
16537
|
-
path?: string;
|
|
16538
|
-
stack?: string;
|
|
16539
|
-
};
|
|
16540
|
-
message: string;
|
|
16541
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16542
15976
|
};
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
_ctx_out: {
|
|
16547
|
-
session: {
|
|
16548
|
-
appId: string;
|
|
16549
|
-
appPlanId: string;
|
|
16550
|
-
appFakeUserId: string | undefined;
|
|
16551
|
-
sessionId: string;
|
|
16552
|
-
accountId: string;
|
|
16553
|
-
accountInfosId: string;
|
|
16554
|
-
accountRole: _prisma_client.AccountRole;
|
|
15977
|
+
id: string;
|
|
15978
|
+
createdAt: Date;
|
|
15979
|
+
users: {
|
|
16555
15980
|
userId: string;
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
15981
|
+
}[];
|
|
15982
|
+
ownerId: string;
|
|
15983
|
+
blocked: boolean;
|
|
15984
|
+
name: string;
|
|
15985
|
+
color: string | null;
|
|
15986
|
+
logo: string | null;
|
|
15987
|
+
updatedAt: Date;
|
|
15988
|
+
origin: string[];
|
|
15989
|
+
planId: string | null;
|
|
15990
|
+
quotasId: string;
|
|
15991
|
+
metricsId: string;
|
|
15992
|
+
owner: {
|
|
15993
|
+
user: {
|
|
15994
|
+
id: string;
|
|
15995
|
+
} | null;
|
|
16566
15996
|
};
|
|
16567
|
-
|
|
16568
|
-
ls: TranslationFunctions;
|
|
16569
|
-
};
|
|
16570
|
-
_input_in: {
|
|
16571
|
-
appId: string;
|
|
16572
|
-
prorate: boolean;
|
|
16573
|
-
};
|
|
16574
|
-
_input_out: {
|
|
16575
|
-
appId: string;
|
|
16576
|
-
prorate: boolean;
|
|
16577
|
-
};
|
|
16578
|
-
_output_in: {
|
|
16579
|
-
isCancelled: boolean;
|
|
16580
|
-
};
|
|
16581
|
-
_output_out: {
|
|
16582
|
-
isCancelled: boolean;
|
|
16583
|
-
};
|
|
15997
|
+
}[];
|
|
16584
15998
|
}, unknown>>;
|
|
16585
15999
|
};
|
|
16586
16000
|
createApplication: {
|
|
@@ -16657,80 +16071,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16657
16071
|
};
|
|
16658
16072
|
}, unknown>>;
|
|
16659
16073
|
};
|
|
16660
|
-
createSubscription: {
|
|
16661
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
16662
|
-
_config: import("@trpc/server").RootConfig<{
|
|
16663
|
-
ctx: {
|
|
16664
|
-
req: {
|
|
16665
|
-
headers: Headers;
|
|
16666
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16667
|
-
};
|
|
16668
|
-
res: {
|
|
16669
|
-
headers: Headers;
|
|
16670
|
-
};
|
|
16671
|
-
session: SecrecySession | null;
|
|
16672
|
-
locale: Locales;
|
|
16673
|
-
ls: TranslationFunctions;
|
|
16674
|
-
};
|
|
16675
|
-
meta: object;
|
|
16676
|
-
errorShape: {
|
|
16677
|
-
message: string;
|
|
16678
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16679
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16680
|
-
} | {
|
|
16681
|
-
data: {
|
|
16682
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
16683
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
16684
|
-
httpStatus: number;
|
|
16685
|
-
path?: string;
|
|
16686
|
-
stack?: string;
|
|
16687
|
-
};
|
|
16688
|
-
message: string;
|
|
16689
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16690
|
-
};
|
|
16691
|
-
transformer: typeof superjson;
|
|
16692
|
-
}>;
|
|
16693
|
-
_meta: object;
|
|
16694
|
-
_ctx_out: {
|
|
16695
|
-
session: {
|
|
16696
|
-
appId: string;
|
|
16697
|
-
appPlanId: string;
|
|
16698
|
-
appFakeUserId: string | undefined;
|
|
16699
|
-
sessionId: string;
|
|
16700
|
-
accountId: string;
|
|
16701
|
-
accountInfosId: string;
|
|
16702
|
-
accountRole: _prisma_client.AccountRole;
|
|
16703
|
-
userId: string;
|
|
16704
|
-
userRole: _prisma_client.UserRole;
|
|
16705
|
-
userPlan: _prisma_client.PlanKind;
|
|
16706
|
-
isCare?: boolean;
|
|
16707
|
-
};
|
|
16708
|
-
req: {
|
|
16709
|
-
headers: Headers;
|
|
16710
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16711
|
-
};
|
|
16712
|
-
res: {
|
|
16713
|
-
headers: Headers;
|
|
16714
|
-
};
|
|
16715
|
-
locale: Locales;
|
|
16716
|
-
ls: TranslationFunctions;
|
|
16717
|
-
};
|
|
16718
|
-
_input_in: {
|
|
16719
|
-
appId: string;
|
|
16720
|
-
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16721
|
-
};
|
|
16722
|
-
_input_out: {
|
|
16723
|
-
appId: string;
|
|
16724
|
-
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16725
|
-
};
|
|
16726
|
-
_output_in: {
|
|
16727
|
-
url: string | null;
|
|
16728
|
-
};
|
|
16729
|
-
_output_out: {
|
|
16730
|
-
url: string | null;
|
|
16731
|
-
};
|
|
16732
|
-
}, unknown>>;
|
|
16733
|
-
};
|
|
16734
16074
|
deleteApplication: {
|
|
16735
16075
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
16736
16076
|
_config: import("@trpc/server").RootConfig<{
|
|
@@ -17475,6 +16815,80 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
17475
16815
|
};
|
|
17476
16816
|
}, unknown>>;
|
|
17477
16817
|
};
|
|
16818
|
+
switchPlan: {
|
|
16819
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
16820
|
+
_config: import("@trpc/server").RootConfig<{
|
|
16821
|
+
ctx: {
|
|
16822
|
+
req: {
|
|
16823
|
+
headers: Headers;
|
|
16824
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16825
|
+
};
|
|
16826
|
+
res: {
|
|
16827
|
+
headers: Headers;
|
|
16828
|
+
};
|
|
16829
|
+
session: SecrecySession | null;
|
|
16830
|
+
locale: Locales;
|
|
16831
|
+
ls: TranslationFunctions;
|
|
16832
|
+
};
|
|
16833
|
+
meta: object;
|
|
16834
|
+
errorShape: {
|
|
16835
|
+
message: string;
|
|
16836
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16837
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16838
|
+
} | {
|
|
16839
|
+
data: {
|
|
16840
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
16841
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
16842
|
+
httpStatus: number;
|
|
16843
|
+
path?: string;
|
|
16844
|
+
stack?: string;
|
|
16845
|
+
};
|
|
16846
|
+
message: string;
|
|
16847
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16848
|
+
};
|
|
16849
|
+
transformer: typeof superjson;
|
|
16850
|
+
}>;
|
|
16851
|
+
_meta: object;
|
|
16852
|
+
_ctx_out: {
|
|
16853
|
+
session: {
|
|
16854
|
+
appId: string;
|
|
16855
|
+
appPlanId: string;
|
|
16856
|
+
appFakeUserId: string | undefined;
|
|
16857
|
+
sessionId: string;
|
|
16858
|
+
accountId: string;
|
|
16859
|
+
accountInfosId: string;
|
|
16860
|
+
accountRole: _prisma_client.AccountRole;
|
|
16861
|
+
userId: string;
|
|
16862
|
+
userRole: _prisma_client.UserRole;
|
|
16863
|
+
userPlan: _prisma_client.PlanKind;
|
|
16864
|
+
isCare?: boolean;
|
|
16865
|
+
};
|
|
16866
|
+
req: {
|
|
16867
|
+
headers: Headers;
|
|
16868
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16869
|
+
};
|
|
16870
|
+
res: {
|
|
16871
|
+
headers: Headers;
|
|
16872
|
+
};
|
|
16873
|
+
locale: Locales;
|
|
16874
|
+
ls: TranslationFunctions;
|
|
16875
|
+
};
|
|
16876
|
+
_input_in: {
|
|
16877
|
+
appId: string;
|
|
16878
|
+
planName: string;
|
|
16879
|
+
};
|
|
16880
|
+
_input_out: {
|
|
16881
|
+
appId: string;
|
|
16882
|
+
planName: string;
|
|
16883
|
+
};
|
|
16884
|
+
_output_in: {
|
|
16885
|
+
url: string | null;
|
|
16886
|
+
};
|
|
16887
|
+
_output_out: {
|
|
16888
|
+
url: string | null;
|
|
16889
|
+
};
|
|
16890
|
+
}, unknown>>;
|
|
16891
|
+
};
|
|
17478
16892
|
};
|
|
17479
16893
|
user: {
|
|
17480
16894
|
byId: {
|