@kernhq/module-hr 0.20.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/router.d.ts +138 -2329
- package/dist/server/router.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/server/router.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Principal } from '@kernhq/contracts';
|
|
1
2
|
import { type Kernel, type RequestContext, type Tx } from '@kernhq/kernel';
|
|
2
3
|
import { type SubjectAppliers } from './services/approvals.js';
|
|
3
4
|
import { AttendanceService } from './services/attendance.js';
|
|
@@ -160,23 +161,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
160
161
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
161
162
|
workspaceId: string;
|
|
162
163
|
kernel: Kernel;
|
|
163
|
-
principal:
|
|
164
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
165
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
166
|
-
email: string | null;
|
|
167
|
-
name: string | null;
|
|
168
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
169
|
-
instanceAdmin: boolean;
|
|
170
|
-
service: string | null;
|
|
171
|
-
memberships: {
|
|
172
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
173
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
174
|
-
roleIds: string[];
|
|
175
|
-
groupIds: string[];
|
|
176
|
-
status: "active" | "invited" | "suspended";
|
|
177
|
-
}[];
|
|
178
|
-
permissionVersion: number;
|
|
179
|
-
};
|
|
164
|
+
principal: Principal;
|
|
180
165
|
requestId: string;
|
|
181
166
|
ip: string;
|
|
182
167
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -253,23 +238,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
253
238
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
254
239
|
workspaceId: string;
|
|
255
240
|
kernel: Kernel;
|
|
256
|
-
principal:
|
|
257
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
258
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
259
|
-
email: string | null;
|
|
260
|
-
name: string | null;
|
|
261
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
262
|
-
instanceAdmin: boolean;
|
|
263
|
-
service: string | null;
|
|
264
|
-
memberships: {
|
|
265
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
266
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
267
|
-
roleIds: string[];
|
|
268
|
-
groupIds: string[];
|
|
269
|
-
status: "active" | "invited" | "suspended";
|
|
270
|
-
}[];
|
|
271
|
-
permissionVersion: number;
|
|
272
|
-
};
|
|
241
|
+
principal: Principal;
|
|
273
242
|
requestId: string;
|
|
274
243
|
ip: string;
|
|
275
244
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -327,23 +296,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
327
296
|
me: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext>, RequestContext>, Omit<RequestContext, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers"> & {
|
|
328
297
|
workspaceId: string;
|
|
329
298
|
kernel: Kernel;
|
|
330
|
-
principal:
|
|
331
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
332
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
333
|
-
email: string | null;
|
|
334
|
-
name: string | null;
|
|
335
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
336
|
-
instanceAdmin: boolean;
|
|
337
|
-
service: string | null;
|
|
338
|
-
memberships: {
|
|
339
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
340
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
341
|
-
roleIds: string[];
|
|
342
|
-
groupIds: string[];
|
|
343
|
-
status: "active" | "invited" | "suspended";
|
|
344
|
-
}[];
|
|
345
|
-
permissionVersion: number;
|
|
346
|
-
};
|
|
299
|
+
principal: Principal;
|
|
347
300
|
requestId: string;
|
|
348
301
|
ip: string;
|
|
349
302
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -400,23 +353,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
400
353
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
401
354
|
workspaceId: string;
|
|
402
355
|
kernel: Kernel;
|
|
403
|
-
principal:
|
|
404
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
405
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
406
|
-
email: string | null;
|
|
407
|
-
name: string | null;
|
|
408
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
409
|
-
instanceAdmin: boolean;
|
|
410
|
-
service: string | null;
|
|
411
|
-
memberships: {
|
|
412
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
413
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
414
|
-
roleIds: string[];
|
|
415
|
-
groupIds: string[];
|
|
416
|
-
status: "active" | "invited" | "suspended";
|
|
417
|
-
}[];
|
|
418
|
-
permissionVersion: number;
|
|
419
|
-
};
|
|
356
|
+
principal: Principal;
|
|
420
357
|
requestId: string;
|
|
421
358
|
ip: string;
|
|
422
359
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -490,23 +427,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
490
427
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
491
428
|
workspaceId: string;
|
|
492
429
|
kernel: Kernel;
|
|
493
|
-
principal:
|
|
494
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
495
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
496
|
-
email: string | null;
|
|
497
|
-
name: string | null;
|
|
498
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
499
|
-
instanceAdmin: boolean;
|
|
500
|
-
service: string | null;
|
|
501
|
-
memberships: {
|
|
502
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
503
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
504
|
-
roleIds: string[];
|
|
505
|
-
groupIds: string[];
|
|
506
|
-
status: "active" | "invited" | "suspended";
|
|
507
|
-
}[];
|
|
508
|
-
permissionVersion: number;
|
|
509
|
-
};
|
|
430
|
+
principal: Principal;
|
|
510
431
|
requestId: string;
|
|
511
432
|
ip: string;
|
|
512
433
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -571,23 +492,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
571
492
|
offboard: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
572
493
|
workspaceId: string;
|
|
573
494
|
kernel: Kernel;
|
|
574
|
-
principal:
|
|
575
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
576
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
577
|
-
email: string | null;
|
|
578
|
-
name: string | null;
|
|
579
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
580
|
-
instanceAdmin: boolean;
|
|
581
|
-
service: string | null;
|
|
582
|
-
memberships: {
|
|
583
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
584
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
585
|
-
roleIds: string[];
|
|
586
|
-
groupIds: string[];
|
|
587
|
-
status: "active" | "invited" | "suspended";
|
|
588
|
-
}[];
|
|
589
|
-
permissionVersion: number;
|
|
590
|
-
};
|
|
495
|
+
principal: Principal;
|
|
591
496
|
requestId: string;
|
|
592
497
|
ip: string;
|
|
593
498
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -647,23 +552,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
647
552
|
history: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
648
553
|
workspaceId: string;
|
|
649
554
|
kernel: Kernel;
|
|
650
|
-
principal:
|
|
651
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
652
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
653
|
-
email: string | null;
|
|
654
|
-
name: string | null;
|
|
655
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
656
|
-
instanceAdmin: boolean;
|
|
657
|
-
service: string | null;
|
|
658
|
-
memberships: {
|
|
659
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
660
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
661
|
-
roleIds: string[];
|
|
662
|
-
groupIds: string[];
|
|
663
|
-
status: "active" | "invited" | "suspended";
|
|
664
|
-
}[];
|
|
665
|
-
permissionVersion: number;
|
|
666
|
-
};
|
|
555
|
+
principal: Principal;
|
|
667
556
|
requestId: string;
|
|
668
557
|
ip: string;
|
|
669
558
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -711,23 +600,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
711
600
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
712
601
|
workspaceId: string;
|
|
713
602
|
kernel: Kernel;
|
|
714
|
-
principal:
|
|
715
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
716
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
717
|
-
email: string | null;
|
|
718
|
-
name: string | null;
|
|
719
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
720
|
-
instanceAdmin: boolean;
|
|
721
|
-
service: string | null;
|
|
722
|
-
memberships: {
|
|
723
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
724
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
725
|
-
roleIds: string[];
|
|
726
|
-
groupIds: string[];
|
|
727
|
-
status: "active" | "invited" | "suspended";
|
|
728
|
-
}[];
|
|
729
|
-
permissionVersion: number;
|
|
730
|
-
};
|
|
603
|
+
principal: Principal;
|
|
731
604
|
requestId: string;
|
|
732
605
|
ip: string;
|
|
733
606
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -771,23 +644,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
771
644
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
772
645
|
workspaceId: string;
|
|
773
646
|
kernel: Kernel;
|
|
774
|
-
principal:
|
|
775
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
776
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
777
|
-
email: string | null;
|
|
778
|
-
name: string | null;
|
|
779
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
780
|
-
instanceAdmin: boolean;
|
|
781
|
-
service: string | null;
|
|
782
|
-
memberships: {
|
|
783
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
784
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
785
|
-
roleIds: string[];
|
|
786
|
-
groupIds: string[];
|
|
787
|
-
status: "active" | "invited" | "suspended";
|
|
788
|
-
}[];
|
|
789
|
-
permissionVersion: number;
|
|
790
|
-
};
|
|
647
|
+
principal: Principal;
|
|
791
648
|
requestId: string;
|
|
792
649
|
ip: string;
|
|
793
650
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -842,23 +699,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
842
699
|
current: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
843
700
|
workspaceId: string;
|
|
844
701
|
kernel: Kernel;
|
|
845
|
-
principal:
|
|
846
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
847
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
848
|
-
email: string | null;
|
|
849
|
-
name: string | null;
|
|
850
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
851
|
-
instanceAdmin: boolean;
|
|
852
|
-
service: string | null;
|
|
853
|
-
memberships: {
|
|
854
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
855
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
856
|
-
roleIds: string[];
|
|
857
|
-
groupIds: string[];
|
|
858
|
-
status: "active" | "invited" | "suspended";
|
|
859
|
-
}[];
|
|
860
|
-
permissionVersion: number;
|
|
861
|
-
};
|
|
702
|
+
principal: Principal;
|
|
862
703
|
requestId: string;
|
|
863
704
|
ip: string;
|
|
864
705
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -915,23 +756,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
915
756
|
history: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
916
757
|
workspaceId: string;
|
|
917
758
|
kernel: Kernel;
|
|
918
|
-
principal:
|
|
919
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
920
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
921
|
-
email: string | null;
|
|
922
|
-
name: string | null;
|
|
923
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
924
|
-
instanceAdmin: boolean;
|
|
925
|
-
service: string | null;
|
|
926
|
-
memberships: {
|
|
927
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
928
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
929
|
-
roleIds: string[];
|
|
930
|
-
groupIds: string[];
|
|
931
|
-
status: "active" | "invited" | "suspended";
|
|
932
|
-
}[];
|
|
933
|
-
permissionVersion: number;
|
|
934
|
-
};
|
|
759
|
+
principal: Principal;
|
|
935
760
|
requestId: string;
|
|
936
761
|
ip: string;
|
|
937
762
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -987,23 +812,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
987
812
|
change: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
988
813
|
workspaceId: string;
|
|
989
814
|
kernel: Kernel;
|
|
990
|
-
principal:
|
|
991
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
992
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
993
|
-
email: string | null;
|
|
994
|
-
name: string | null;
|
|
995
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
996
|
-
instanceAdmin: boolean;
|
|
997
|
-
service: string | null;
|
|
998
|
-
memberships: {
|
|
999
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1000
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1001
|
-
roleIds: string[];
|
|
1002
|
-
groupIds: string[];
|
|
1003
|
-
status: "active" | "invited" | "suspended";
|
|
1004
|
-
}[];
|
|
1005
|
-
permissionVersion: number;
|
|
1006
|
-
};
|
|
815
|
+
principal: Principal;
|
|
1007
816
|
requestId: string;
|
|
1008
817
|
ip: string;
|
|
1009
818
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1079,23 +888,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1079
888
|
tree: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1080
889
|
workspaceId: string;
|
|
1081
890
|
kernel: Kernel;
|
|
1082
|
-
principal:
|
|
1083
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1084
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1085
|
-
email: string | null;
|
|
1086
|
-
name: string | null;
|
|
1087
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1088
|
-
instanceAdmin: boolean;
|
|
1089
|
-
service: string | null;
|
|
1090
|
-
memberships: {
|
|
1091
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1092
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1093
|
-
roleIds: string[];
|
|
1094
|
-
groupIds: string[];
|
|
1095
|
-
status: "active" | "invited" | "suspended";
|
|
1096
|
-
}[];
|
|
1097
|
-
permissionVersion: number;
|
|
1098
|
-
};
|
|
891
|
+
principal: Principal;
|
|
1099
892
|
requestId: string;
|
|
1100
893
|
ip: string;
|
|
1101
894
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1138,23 +931,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1138
931
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1139
932
|
workspaceId: string;
|
|
1140
933
|
kernel: Kernel;
|
|
1141
|
-
principal:
|
|
1142
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1143
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1144
|
-
email: string | null;
|
|
1145
|
-
name: string | null;
|
|
1146
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1147
|
-
instanceAdmin: boolean;
|
|
1148
|
-
service: string | null;
|
|
1149
|
-
memberships: {
|
|
1150
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1151
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1152
|
-
roleIds: string[];
|
|
1153
|
-
groupIds: string[];
|
|
1154
|
-
status: "active" | "invited" | "suspended";
|
|
1155
|
-
}[];
|
|
1156
|
-
permissionVersion: number;
|
|
1157
|
-
};
|
|
934
|
+
principal: Principal;
|
|
1158
935
|
requestId: string;
|
|
1159
936
|
ip: string;
|
|
1160
937
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1199,23 +976,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1199
976
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1200
977
|
workspaceId: string;
|
|
1201
978
|
kernel: Kernel;
|
|
1202
|
-
principal:
|
|
1203
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1204
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1205
|
-
email: string | null;
|
|
1206
|
-
name: string | null;
|
|
1207
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1208
|
-
instanceAdmin: boolean;
|
|
1209
|
-
service: string | null;
|
|
1210
|
-
memberships: {
|
|
1211
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1212
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1213
|
-
roleIds: string[];
|
|
1214
|
-
groupIds: string[];
|
|
1215
|
-
status: "active" | "invited" | "suspended";
|
|
1216
|
-
}[];
|
|
1217
|
-
permissionVersion: number;
|
|
1218
|
-
};
|
|
979
|
+
principal: Principal;
|
|
1219
980
|
requestId: string;
|
|
1220
981
|
ip: string;
|
|
1221
982
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1260,23 +1021,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1260
1021
|
move: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1261
1022
|
workspaceId: string;
|
|
1262
1023
|
kernel: Kernel;
|
|
1263
|
-
principal:
|
|
1264
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1265
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1266
|
-
email: string | null;
|
|
1267
|
-
name: string | null;
|
|
1268
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1269
|
-
instanceAdmin: boolean;
|
|
1270
|
-
service: string | null;
|
|
1271
|
-
memberships: {
|
|
1272
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1273
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1274
|
-
roleIds: string[];
|
|
1275
|
-
groupIds: string[];
|
|
1276
|
-
status: "active" | "invited" | "suspended";
|
|
1277
|
-
}[];
|
|
1278
|
-
permissionVersion: number;
|
|
1279
|
-
};
|
|
1024
|
+
principal: Principal;
|
|
1280
1025
|
requestId: string;
|
|
1281
1026
|
ip: string;
|
|
1282
1027
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1319,23 +1064,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1319
1064
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1320
1065
|
workspaceId: string;
|
|
1321
1066
|
kernel: Kernel;
|
|
1322
|
-
principal:
|
|
1323
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1324
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1325
|
-
email: string | null;
|
|
1326
|
-
name: string | null;
|
|
1327
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1328
|
-
instanceAdmin: boolean;
|
|
1329
|
-
service: string | null;
|
|
1330
|
-
memberships: {
|
|
1331
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1332
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1333
|
-
roleIds: string[];
|
|
1334
|
-
groupIds: string[];
|
|
1335
|
-
status: "active" | "invited" | "suspended";
|
|
1336
|
-
}[];
|
|
1337
|
-
permissionVersion: number;
|
|
1338
|
-
};
|
|
1067
|
+
principal: Principal;
|
|
1339
1068
|
requestId: string;
|
|
1340
1069
|
ip: string;
|
|
1341
1070
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1372,23 +1101,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1372
1101
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1373
1102
|
workspaceId: string;
|
|
1374
1103
|
kernel: Kernel;
|
|
1375
|
-
principal:
|
|
1376
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1377
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1378
|
-
email: string | null;
|
|
1379
|
-
name: string | null;
|
|
1380
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1381
|
-
instanceAdmin: boolean;
|
|
1382
|
-
service: string | null;
|
|
1383
|
-
memberships: {
|
|
1384
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1385
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1386
|
-
roleIds: string[];
|
|
1387
|
-
groupIds: string[];
|
|
1388
|
-
status: "active" | "invited" | "suspended";
|
|
1389
|
-
}[];
|
|
1390
|
-
permissionVersion: number;
|
|
1391
|
-
};
|
|
1104
|
+
principal: Principal;
|
|
1392
1105
|
requestId: string;
|
|
1393
1106
|
ip: string;
|
|
1394
1107
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1429,23 +1142,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1429
1142
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1430
1143
|
workspaceId: string;
|
|
1431
1144
|
kernel: Kernel;
|
|
1432
|
-
principal:
|
|
1433
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1434
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1435
|
-
email: string | null;
|
|
1436
|
-
name: string | null;
|
|
1437
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1438
|
-
instanceAdmin: boolean;
|
|
1439
|
-
service: string | null;
|
|
1440
|
-
memberships: {
|
|
1441
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1442
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1443
|
-
roleIds: string[];
|
|
1444
|
-
groupIds: string[];
|
|
1445
|
-
status: "active" | "invited" | "suspended";
|
|
1446
|
-
}[];
|
|
1447
|
-
permissionVersion: number;
|
|
1448
|
-
};
|
|
1145
|
+
principal: Principal;
|
|
1449
1146
|
requestId: string;
|
|
1450
1147
|
ip: string;
|
|
1451
1148
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1489,23 +1186,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1489
1186
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1490
1187
|
workspaceId: string;
|
|
1491
1188
|
kernel: Kernel;
|
|
1492
|
-
principal:
|
|
1493
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1494
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1495
|
-
email: string | null;
|
|
1496
|
-
name: string | null;
|
|
1497
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1498
|
-
instanceAdmin: boolean;
|
|
1499
|
-
service: string | null;
|
|
1500
|
-
memberships: {
|
|
1501
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1502
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1503
|
-
roleIds: string[];
|
|
1504
|
-
groupIds: string[];
|
|
1505
|
-
status: "active" | "invited" | "suspended";
|
|
1506
|
-
}[];
|
|
1507
|
-
permissionVersion: number;
|
|
1508
|
-
};
|
|
1189
|
+
principal: Principal;
|
|
1509
1190
|
requestId: string;
|
|
1510
1191
|
ip: string;
|
|
1511
1192
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1550,23 +1231,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1550
1231
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1551
1232
|
workspaceId: string;
|
|
1552
1233
|
kernel: Kernel;
|
|
1553
|
-
principal:
|
|
1554
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1555
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1556
|
-
email: string | null;
|
|
1557
|
-
name: string | null;
|
|
1558
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1559
|
-
instanceAdmin: boolean;
|
|
1560
|
-
service: string | null;
|
|
1561
|
-
memberships: {
|
|
1562
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1563
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1564
|
-
roleIds: string[];
|
|
1565
|
-
groupIds: string[];
|
|
1566
|
-
status: "active" | "invited" | "suspended";
|
|
1567
|
-
}[];
|
|
1568
|
-
permissionVersion: number;
|
|
1569
|
-
};
|
|
1234
|
+
principal: Principal;
|
|
1570
1235
|
requestId: string;
|
|
1571
1236
|
ip: string;
|
|
1572
1237
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1604,23 +1269,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1604
1269
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1605
1270
|
workspaceId: string;
|
|
1606
1271
|
kernel: Kernel;
|
|
1607
|
-
principal:
|
|
1608
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1609
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1610
|
-
email: string | null;
|
|
1611
|
-
name: string | null;
|
|
1612
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1613
|
-
instanceAdmin: boolean;
|
|
1614
|
-
service: string | null;
|
|
1615
|
-
memberships: {
|
|
1616
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1617
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1618
|
-
roleIds: string[];
|
|
1619
|
-
groupIds: string[];
|
|
1620
|
-
status: "active" | "invited" | "suspended";
|
|
1621
|
-
}[];
|
|
1622
|
-
permissionVersion: number;
|
|
1623
|
-
};
|
|
1272
|
+
principal: Principal;
|
|
1624
1273
|
requestId: string;
|
|
1625
1274
|
ip: string;
|
|
1626
1275
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1683,23 +1332,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1683
1332
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1684
1333
|
workspaceId: string;
|
|
1685
1334
|
kernel: Kernel;
|
|
1686
|
-
principal:
|
|
1687
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1688
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1689
|
-
email: string | null;
|
|
1690
|
-
name: string | null;
|
|
1691
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1692
|
-
instanceAdmin: boolean;
|
|
1693
|
-
service: string | null;
|
|
1694
|
-
memberships: {
|
|
1695
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1696
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1697
|
-
roleIds: string[];
|
|
1698
|
-
groupIds: string[];
|
|
1699
|
-
status: "active" | "invited" | "suspended";
|
|
1700
|
-
}[];
|
|
1701
|
-
permissionVersion: number;
|
|
1702
|
-
};
|
|
1335
|
+
principal: Principal;
|
|
1703
1336
|
requestId: string;
|
|
1704
1337
|
ip: string;
|
|
1705
1338
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1761,23 +1394,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1761
1394
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1762
1395
|
workspaceId: string;
|
|
1763
1396
|
kernel: Kernel;
|
|
1764
|
-
principal:
|
|
1765
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1766
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1767
|
-
email: string | null;
|
|
1768
|
-
name: string | null;
|
|
1769
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1770
|
-
instanceAdmin: boolean;
|
|
1771
|
-
service: string | null;
|
|
1772
|
-
memberships: {
|
|
1773
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1774
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1775
|
-
roleIds: string[];
|
|
1776
|
-
groupIds: string[];
|
|
1777
|
-
status: "active" | "invited" | "suspended";
|
|
1778
|
-
}[];
|
|
1779
|
-
permissionVersion: number;
|
|
1780
|
-
};
|
|
1397
|
+
principal: Principal;
|
|
1781
1398
|
requestId: string;
|
|
1782
1399
|
ip: string;
|
|
1783
1400
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1855,23 +1472,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1855
1472
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1856
1473
|
workspaceId: string;
|
|
1857
1474
|
kernel: Kernel;
|
|
1858
|
-
principal:
|
|
1859
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1860
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1861
|
-
email: string | null;
|
|
1862
|
-
name: string | null;
|
|
1863
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1864
|
-
instanceAdmin: boolean;
|
|
1865
|
-
service: string | null;
|
|
1866
|
-
memberships: {
|
|
1867
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1868
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1869
|
-
roleIds: string[];
|
|
1870
|
-
groupIds: string[];
|
|
1871
|
-
status: "active" | "invited" | "suspended";
|
|
1872
|
-
}[];
|
|
1873
|
-
permissionVersion: number;
|
|
1874
|
-
};
|
|
1475
|
+
principal: Principal;
|
|
1875
1476
|
requestId: string;
|
|
1876
1477
|
ip: string;
|
|
1877
1478
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1950,23 +1551,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1950
1551
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
1951
1552
|
workspaceId: string;
|
|
1952
1553
|
kernel: Kernel;
|
|
1953
|
-
principal:
|
|
1954
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1955
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1956
|
-
email: string | null;
|
|
1957
|
-
name: string | null;
|
|
1958
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
1959
|
-
instanceAdmin: boolean;
|
|
1960
|
-
service: string | null;
|
|
1961
|
-
memberships: {
|
|
1962
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1963
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
1964
|
-
roleIds: string[];
|
|
1965
|
-
groupIds: string[];
|
|
1966
|
-
status: "active" | "invited" | "suspended";
|
|
1967
|
-
}[];
|
|
1968
|
-
permissionVersion: number;
|
|
1969
|
-
};
|
|
1554
|
+
principal: Principal;
|
|
1970
1555
|
requestId: string;
|
|
1971
1556
|
ip: string;
|
|
1972
1557
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2001,23 +1586,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2001
1586
|
setDefault: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2002
1587
|
workspaceId: string;
|
|
2003
1588
|
kernel: Kernel;
|
|
2004
|
-
principal:
|
|
2005
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2006
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2007
|
-
email: string | null;
|
|
2008
|
-
name: string | null;
|
|
2009
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2010
|
-
instanceAdmin: boolean;
|
|
2011
|
-
service: string | null;
|
|
2012
|
-
memberships: {
|
|
2013
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2014
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2015
|
-
roleIds: string[];
|
|
2016
|
-
groupIds: string[];
|
|
2017
|
-
status: "active" | "invited" | "suspended";
|
|
2018
|
-
}[];
|
|
2019
|
-
permissionVersion: number;
|
|
2020
|
-
};
|
|
1589
|
+
principal: Principal;
|
|
2021
1590
|
requestId: string;
|
|
2022
1591
|
ip: string;
|
|
2023
1592
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2079,23 +1648,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2079
1648
|
people: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2080
1649
|
workspaceId: string;
|
|
2081
1650
|
kernel: Kernel;
|
|
2082
|
-
principal:
|
|
2083
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2084
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2085
|
-
email: string | null;
|
|
2086
|
-
name: string | null;
|
|
2087
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2088
|
-
instanceAdmin: boolean;
|
|
2089
|
-
service: string | null;
|
|
2090
|
-
memberships: {
|
|
2091
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2092
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2093
|
-
roleIds: string[];
|
|
2094
|
-
groupIds: string[];
|
|
2095
|
-
status: "active" | "invited" | "suspended";
|
|
2096
|
-
}[];
|
|
2097
|
-
permissionVersion: number;
|
|
2098
|
-
};
|
|
1651
|
+
principal: Principal;
|
|
2099
1652
|
requestId: string;
|
|
2100
1653
|
ip: string;
|
|
2101
1654
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2161,23 +1714,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2161
1714
|
assign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2162
1715
|
workspaceId: string;
|
|
2163
1716
|
kernel: Kernel;
|
|
2164
|
-
principal:
|
|
2165
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2166
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2167
|
-
email: string | null;
|
|
2168
|
-
name: string | null;
|
|
2169
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2170
|
-
instanceAdmin: boolean;
|
|
2171
|
-
service: string | null;
|
|
2172
|
-
memberships: {
|
|
2173
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2174
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2175
|
-
roleIds: string[];
|
|
2176
|
-
groupIds: string[];
|
|
2177
|
-
status: "active" | "invited" | "suspended";
|
|
2178
|
-
}[];
|
|
2179
|
-
permissionVersion: number;
|
|
2180
|
-
};
|
|
1717
|
+
principal: Principal;
|
|
2181
1718
|
requestId: string;
|
|
2182
1719
|
ip: string;
|
|
2183
1720
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2224,23 +1761,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2224
1761
|
unassign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2225
1762
|
workspaceId: string;
|
|
2226
1763
|
kernel: Kernel;
|
|
2227
|
-
principal:
|
|
2228
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2229
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2230
|
-
email: string | null;
|
|
2231
|
-
name: string | null;
|
|
2232
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2233
|
-
instanceAdmin: boolean;
|
|
2234
|
-
service: string | null;
|
|
2235
|
-
memberships: {
|
|
2236
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2237
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2238
|
-
roleIds: string[];
|
|
2239
|
-
groupIds: string[];
|
|
2240
|
-
status: "active" | "invited" | "suspended";
|
|
2241
|
-
}[];
|
|
2242
|
-
permissionVersion: number;
|
|
2243
|
-
};
|
|
1764
|
+
principal: Principal;
|
|
2244
1765
|
requestId: string;
|
|
2245
1766
|
ip: string;
|
|
2246
1767
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2277,23 +1798,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2277
1798
|
resolveFor: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2278
1799
|
workspaceId: string;
|
|
2279
1800
|
kernel: Kernel;
|
|
2280
|
-
principal:
|
|
2281
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2282
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2283
|
-
email: string | null;
|
|
2284
|
-
name: string | null;
|
|
2285
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2286
|
-
instanceAdmin: boolean;
|
|
2287
|
-
service: string | null;
|
|
2288
|
-
memberships: {
|
|
2289
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2290
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2291
|
-
roleIds: string[];
|
|
2292
|
-
groupIds: string[];
|
|
2293
|
-
status: "active" | "invited" | "suspended";
|
|
2294
|
-
}[];
|
|
2295
|
-
permissionVersion: number;
|
|
2296
|
-
};
|
|
1801
|
+
principal: Principal;
|
|
2297
1802
|
requestId: string;
|
|
2298
1803
|
ip: string;
|
|
2299
1804
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2367,23 +1872,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2367
1872
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2368
1873
|
workspaceId: string;
|
|
2369
1874
|
kernel: Kernel;
|
|
2370
|
-
principal:
|
|
2371
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2372
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2373
|
-
email: string | null;
|
|
2374
|
-
name: string | null;
|
|
2375
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2376
|
-
instanceAdmin: boolean;
|
|
2377
|
-
service: string | null;
|
|
2378
|
-
memberships: {
|
|
2379
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2380
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2381
|
-
roleIds: string[];
|
|
2382
|
-
groupIds: string[];
|
|
2383
|
-
status: "active" | "invited" | "suspended";
|
|
2384
|
-
}[];
|
|
2385
|
-
permissionVersion: number;
|
|
2386
|
-
};
|
|
1875
|
+
principal: Principal;
|
|
2387
1876
|
requestId: string;
|
|
2388
1877
|
ip: string;
|
|
2389
1878
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2425,23 +1914,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2425
1914
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2426
1915
|
workspaceId: string;
|
|
2427
1916
|
kernel: Kernel;
|
|
2428
|
-
principal:
|
|
2429
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2430
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2431
|
-
email: string | null;
|
|
2432
|
-
name: string | null;
|
|
2433
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2434
|
-
instanceAdmin: boolean;
|
|
2435
|
-
service: string | null;
|
|
2436
|
-
memberships: {
|
|
2437
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2438
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2439
|
-
roleIds: string[];
|
|
2440
|
-
groupIds: string[];
|
|
2441
|
-
status: "active" | "invited" | "suspended";
|
|
2442
|
-
}[];
|
|
2443
|
-
permissionVersion: number;
|
|
2444
|
-
};
|
|
1917
|
+
principal: Principal;
|
|
2445
1918
|
requestId: string;
|
|
2446
1919
|
ip: string;
|
|
2447
1920
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2483,23 +1956,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2483
1956
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2484
1957
|
workspaceId: string;
|
|
2485
1958
|
kernel: Kernel;
|
|
2486
|
-
principal:
|
|
2487
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2488
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2489
|
-
email: string | null;
|
|
2490
|
-
name: string | null;
|
|
2491
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2492
|
-
instanceAdmin: boolean;
|
|
2493
|
-
service: string | null;
|
|
2494
|
-
memberships: {
|
|
2495
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2496
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2497
|
-
roleIds: string[];
|
|
2498
|
-
groupIds: string[];
|
|
2499
|
-
status: "active" | "invited" | "suspended";
|
|
2500
|
-
}[];
|
|
2501
|
-
permissionVersion: number;
|
|
2502
|
-
};
|
|
1959
|
+
principal: Principal;
|
|
2503
1960
|
requestId: string;
|
|
2504
1961
|
ip: string;
|
|
2505
1962
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2545,23 +2002,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2545
2002
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2546
2003
|
workspaceId: string;
|
|
2547
2004
|
kernel: Kernel;
|
|
2548
|
-
principal:
|
|
2549
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2550
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2551
|
-
email: string | null;
|
|
2552
|
-
name: string | null;
|
|
2553
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2554
|
-
instanceAdmin: boolean;
|
|
2555
|
-
service: string | null;
|
|
2556
|
-
memberships: {
|
|
2557
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2558
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2559
|
-
roleIds: string[];
|
|
2560
|
-
groupIds: string[];
|
|
2561
|
-
status: "active" | "invited" | "suspended";
|
|
2562
|
-
}[];
|
|
2563
|
-
permissionVersion: number;
|
|
2564
|
-
};
|
|
2005
|
+
principal: Principal;
|
|
2565
2006
|
requestId: string;
|
|
2566
2007
|
ip: string;
|
|
2567
2008
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2608,23 +2049,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2608
2049
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2609
2050
|
workspaceId: string;
|
|
2610
2051
|
kernel: Kernel;
|
|
2611
|
-
principal:
|
|
2612
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2613
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2614
|
-
email: string | null;
|
|
2615
|
-
name: string | null;
|
|
2616
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2617
|
-
instanceAdmin: boolean;
|
|
2618
|
-
service: string | null;
|
|
2619
|
-
memberships: {
|
|
2620
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2621
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2622
|
-
roleIds: string[];
|
|
2623
|
-
groupIds: string[];
|
|
2624
|
-
status: "active" | "invited" | "suspended";
|
|
2625
|
-
}[];
|
|
2626
|
-
permissionVersion: number;
|
|
2627
|
-
};
|
|
2052
|
+
principal: Principal;
|
|
2628
2053
|
requestId: string;
|
|
2629
2054
|
ip: string;
|
|
2630
2055
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2660,23 +2085,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2660
2085
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2661
2086
|
workspaceId: string;
|
|
2662
2087
|
kernel: Kernel;
|
|
2663
|
-
principal:
|
|
2664
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2665
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2666
|
-
email: string | null;
|
|
2667
|
-
name: string | null;
|
|
2668
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2669
|
-
instanceAdmin: boolean;
|
|
2670
|
-
service: string | null;
|
|
2671
|
-
memberships: {
|
|
2672
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2673
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2674
|
-
roleIds: string[];
|
|
2675
|
-
groupIds: string[];
|
|
2676
|
-
status: "active" | "invited" | "suspended";
|
|
2677
|
-
}[];
|
|
2678
|
-
permissionVersion: number;
|
|
2679
|
-
};
|
|
2088
|
+
principal: Principal;
|
|
2680
2089
|
requestId: string;
|
|
2681
2090
|
ip: string;
|
|
2682
2091
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2718,23 +2127,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2718
2127
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2719
2128
|
workspaceId: string;
|
|
2720
2129
|
kernel: Kernel;
|
|
2721
|
-
principal:
|
|
2722
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2723
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2724
|
-
email: string | null;
|
|
2725
|
-
name: string | null;
|
|
2726
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2727
|
-
instanceAdmin: boolean;
|
|
2728
|
-
service: string | null;
|
|
2729
|
-
memberships: {
|
|
2730
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2731
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2732
|
-
roleIds: string[];
|
|
2733
|
-
groupIds: string[];
|
|
2734
|
-
status: "active" | "invited" | "suspended";
|
|
2735
|
-
}[];
|
|
2736
|
-
permissionVersion: number;
|
|
2737
|
-
};
|
|
2130
|
+
principal: Principal;
|
|
2738
2131
|
requestId: string;
|
|
2739
2132
|
ip: string;
|
|
2740
2133
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2780,23 +2173,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2780
2173
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2781
2174
|
workspaceId: string;
|
|
2782
2175
|
kernel: Kernel;
|
|
2783
|
-
principal:
|
|
2784
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2785
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2786
|
-
email: string | null;
|
|
2787
|
-
name: string | null;
|
|
2788
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2789
|
-
instanceAdmin: boolean;
|
|
2790
|
-
service: string | null;
|
|
2791
|
-
memberships: {
|
|
2792
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2793
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2794
|
-
roleIds: string[];
|
|
2795
|
-
groupIds: string[];
|
|
2796
|
-
status: "active" | "invited" | "suspended";
|
|
2797
|
-
}[];
|
|
2798
|
-
permissionVersion: number;
|
|
2799
|
-
};
|
|
2176
|
+
principal: Principal;
|
|
2800
2177
|
requestId: string;
|
|
2801
2178
|
ip: string;
|
|
2802
2179
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2834,23 +2211,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2834
2211
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2835
2212
|
workspaceId: string;
|
|
2836
2213
|
kernel: Kernel;
|
|
2837
|
-
principal:
|
|
2838
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2839
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2840
|
-
email: string | null;
|
|
2841
|
-
name: string | null;
|
|
2842
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2843
|
-
instanceAdmin: boolean;
|
|
2844
|
-
service: string | null;
|
|
2845
|
-
memberships: {
|
|
2846
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2847
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2848
|
-
roleIds: string[];
|
|
2849
|
-
groupIds: string[];
|
|
2850
|
-
status: "active" | "invited" | "suspended";
|
|
2851
|
-
}[];
|
|
2852
|
-
permissionVersion: number;
|
|
2853
|
-
};
|
|
2214
|
+
principal: Principal;
|
|
2854
2215
|
requestId: string;
|
|
2855
2216
|
ip: string;
|
|
2856
2217
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2907,23 +2268,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2907
2268
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2908
2269
|
workspaceId: string;
|
|
2909
2270
|
kernel: Kernel;
|
|
2910
|
-
principal:
|
|
2911
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2912
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2913
|
-
email: string | null;
|
|
2914
|
-
name: string | null;
|
|
2915
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2916
|
-
instanceAdmin: boolean;
|
|
2917
|
-
service: string | null;
|
|
2918
|
-
memberships: {
|
|
2919
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2920
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2921
|
-
roleIds: string[];
|
|
2922
|
-
groupIds: string[];
|
|
2923
|
-
status: "active" | "invited" | "suspended";
|
|
2924
|
-
}[];
|
|
2925
|
-
permissionVersion: number;
|
|
2926
|
-
};
|
|
2271
|
+
principal: Principal;
|
|
2927
2272
|
requestId: string;
|
|
2928
2273
|
ip: string;
|
|
2929
2274
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2979,23 +2324,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2979
2324
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
2980
2325
|
workspaceId: string;
|
|
2981
2326
|
kernel: Kernel;
|
|
2982
|
-
principal:
|
|
2983
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2984
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2985
|
-
email: string | null;
|
|
2986
|
-
name: string | null;
|
|
2987
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
2988
|
-
instanceAdmin: boolean;
|
|
2989
|
-
service: string | null;
|
|
2990
|
-
memberships: {
|
|
2991
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2992
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
2993
|
-
roleIds: string[];
|
|
2994
|
-
groupIds: string[];
|
|
2995
|
-
status: "active" | "invited" | "suspended";
|
|
2996
|
-
}[];
|
|
2997
|
-
permissionVersion: number;
|
|
2998
|
-
};
|
|
2327
|
+
principal: Principal;
|
|
2999
2328
|
requestId: string;
|
|
3000
2329
|
ip: string;
|
|
3001
2330
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3063,23 +2392,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3063
2392
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3064
2393
|
workspaceId: string;
|
|
3065
2394
|
kernel: Kernel;
|
|
3066
|
-
principal:
|
|
3067
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3068
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3069
|
-
email: string | null;
|
|
3070
|
-
name: string | null;
|
|
3071
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3072
|
-
instanceAdmin: boolean;
|
|
3073
|
-
service: string | null;
|
|
3074
|
-
memberships: {
|
|
3075
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3076
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3077
|
-
roleIds: string[];
|
|
3078
|
-
groupIds: string[];
|
|
3079
|
-
status: "active" | "invited" | "suspended";
|
|
3080
|
-
}[];
|
|
3081
|
-
permissionVersion: number;
|
|
3082
|
-
};
|
|
2395
|
+
principal: Principal;
|
|
3083
2396
|
requestId: string;
|
|
3084
2397
|
ip: string;
|
|
3085
2398
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3146,23 +2459,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3146
2459
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3147
2460
|
workspaceId: string;
|
|
3148
2461
|
kernel: Kernel;
|
|
3149
|
-
principal:
|
|
3150
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3151
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3152
|
-
email: string | null;
|
|
3153
|
-
name: string | null;
|
|
3154
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3155
|
-
instanceAdmin: boolean;
|
|
3156
|
-
service: string | null;
|
|
3157
|
-
memberships: {
|
|
3158
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3159
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3160
|
-
roleIds: string[];
|
|
3161
|
-
groupIds: string[];
|
|
3162
|
-
status: "active" | "invited" | "suspended";
|
|
3163
|
-
}[];
|
|
3164
|
-
permissionVersion: number;
|
|
3165
|
-
};
|
|
2462
|
+
principal: Principal;
|
|
3166
2463
|
requestId: string;
|
|
3167
2464
|
ip: string;
|
|
3168
2465
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3198,23 +2495,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3198
2495
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3199
2496
|
workspaceId: string;
|
|
3200
2497
|
kernel: Kernel;
|
|
3201
|
-
principal:
|
|
3202
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3203
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3204
|
-
email: string | null;
|
|
3205
|
-
name: string | null;
|
|
3206
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3207
|
-
instanceAdmin: boolean;
|
|
3208
|
-
service: string | null;
|
|
3209
|
-
memberships: {
|
|
3210
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3211
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3212
|
-
roleIds: string[];
|
|
3213
|
-
groupIds: string[];
|
|
3214
|
-
status: "active" | "invited" | "suspended";
|
|
3215
|
-
}[];
|
|
3216
|
-
permissionVersion: number;
|
|
3217
|
-
};
|
|
2498
|
+
principal: Principal;
|
|
3218
2499
|
requestId: string;
|
|
3219
2500
|
ip: string;
|
|
3220
2501
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3273,23 +2554,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3273
2554
|
add: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3274
2555
|
workspaceId: string;
|
|
3275
2556
|
kernel: Kernel;
|
|
3276
|
-
principal:
|
|
3277
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3278
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3279
|
-
email: string | null;
|
|
3280
|
-
name: string | null;
|
|
3281
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3282
|
-
instanceAdmin: boolean;
|
|
3283
|
-
service: string | null;
|
|
3284
|
-
memberships: {
|
|
3285
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3286
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3287
|
-
roleIds: string[];
|
|
3288
|
-
groupIds: string[];
|
|
3289
|
-
status: "active" | "invited" | "suspended";
|
|
3290
|
-
}[];
|
|
3291
|
-
permissionVersion: number;
|
|
3292
|
-
};
|
|
2557
|
+
principal: Principal;
|
|
3293
2558
|
requestId: string;
|
|
3294
2559
|
ip: string;
|
|
3295
2560
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3359,23 +2624,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3359
2624
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3360
2625
|
workspaceId: string;
|
|
3361
2626
|
kernel: Kernel;
|
|
3362
|
-
principal:
|
|
3363
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3364
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3365
|
-
email: string | null;
|
|
3366
|
-
name: string | null;
|
|
3367
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3368
|
-
instanceAdmin: boolean;
|
|
3369
|
-
service: string | null;
|
|
3370
|
-
memberships: {
|
|
3371
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3372
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3373
|
-
roleIds: string[];
|
|
3374
|
-
groupIds: string[];
|
|
3375
|
-
status: "active" | "invited" | "suspended";
|
|
3376
|
-
}[];
|
|
3377
|
-
permissionVersion: number;
|
|
3378
|
-
};
|
|
2627
|
+
principal: Principal;
|
|
3379
2628
|
requestId: string;
|
|
3380
2629
|
ip: string;
|
|
3381
2630
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3445,23 +2694,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3445
2694
|
remove: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3446
2695
|
workspaceId: string;
|
|
3447
2696
|
kernel: Kernel;
|
|
3448
|
-
principal:
|
|
3449
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3450
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3451
|
-
email: string | null;
|
|
3452
|
-
name: string | null;
|
|
3453
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3454
|
-
instanceAdmin: boolean;
|
|
3455
|
-
service: string | null;
|
|
3456
|
-
memberships: {
|
|
3457
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3458
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3459
|
-
roleIds: string[];
|
|
3460
|
-
groupIds: string[];
|
|
3461
|
-
status: "active" | "invited" | "suspended";
|
|
3462
|
-
}[];
|
|
3463
|
-
permissionVersion: number;
|
|
3464
|
-
};
|
|
2697
|
+
principal: Principal;
|
|
3465
2698
|
requestId: string;
|
|
3466
2699
|
ip: string;
|
|
3467
2700
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3500,23 +2733,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3500
2733
|
preview: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3501
2734
|
workspaceId: string;
|
|
3502
2735
|
kernel: Kernel;
|
|
3503
|
-
principal:
|
|
3504
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3505
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3506
|
-
email: string | null;
|
|
3507
|
-
name: string | null;
|
|
3508
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3509
|
-
instanceAdmin: boolean;
|
|
3510
|
-
service: string | null;
|
|
3511
|
-
memberships: {
|
|
3512
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3513
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3514
|
-
roleIds: string[];
|
|
3515
|
-
groupIds: string[];
|
|
3516
|
-
status: "active" | "invited" | "suspended";
|
|
3517
|
-
}[];
|
|
3518
|
-
permissionVersion: number;
|
|
3519
|
-
};
|
|
2736
|
+
principal: Principal;
|
|
3520
2737
|
requestId: string;
|
|
3521
2738
|
ip: string;
|
|
3522
2739
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3571,23 +2788,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3571
2788
|
apply: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3572
2789
|
workspaceId: string;
|
|
3573
2790
|
kernel: Kernel;
|
|
3574
|
-
principal:
|
|
3575
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3576
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3577
|
-
email: string | null;
|
|
3578
|
-
name: string | null;
|
|
3579
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3580
|
-
instanceAdmin: boolean;
|
|
3581
|
-
service: string | null;
|
|
3582
|
-
memberships: {
|
|
3583
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3584
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3585
|
-
roleIds: string[];
|
|
3586
|
-
groupIds: string[];
|
|
3587
|
-
status: "active" | "invited" | "suspended";
|
|
3588
|
-
}[];
|
|
3589
|
-
permissionVersion: number;
|
|
3590
|
-
};
|
|
2791
|
+
principal: Principal;
|
|
3591
2792
|
requestId: string;
|
|
3592
2793
|
ip: string;
|
|
3593
2794
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3628,23 +2829,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3628
2829
|
workingDays: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3629
2830
|
workspaceId: string;
|
|
3630
2831
|
kernel: Kernel;
|
|
3631
|
-
principal:
|
|
3632
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3633
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3634
|
-
email: string | null;
|
|
3635
|
-
name: string | null;
|
|
3636
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3637
|
-
instanceAdmin: boolean;
|
|
3638
|
-
service: string | null;
|
|
3639
|
-
memberships: {
|
|
3640
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3641
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3642
|
-
roleIds: string[];
|
|
3643
|
-
groupIds: string[];
|
|
3644
|
-
status: "active" | "invited" | "suspended";
|
|
3645
|
-
}[];
|
|
3646
|
-
permissionVersion: number;
|
|
3647
|
-
};
|
|
2832
|
+
principal: Principal;
|
|
3648
2833
|
requestId: string;
|
|
3649
2834
|
ip: string;
|
|
3650
2835
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3689,23 +2874,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3689
2874
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3690
2875
|
workspaceId: string;
|
|
3691
2876
|
kernel: Kernel;
|
|
3692
|
-
principal:
|
|
3693
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3694
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3695
|
-
email: string | null;
|
|
3696
|
-
name: string | null;
|
|
3697
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3698
|
-
instanceAdmin: boolean;
|
|
3699
|
-
service: string | null;
|
|
3700
|
-
memberships: {
|
|
3701
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3702
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3703
|
-
roleIds: string[];
|
|
3704
|
-
groupIds: string[];
|
|
3705
|
-
status: "active" | "invited" | "suspended";
|
|
3706
|
-
}[];
|
|
3707
|
-
permissionVersion: number;
|
|
3708
|
-
};
|
|
2877
|
+
principal: Principal;
|
|
3709
2878
|
requestId: string;
|
|
3710
2879
|
ip: string;
|
|
3711
2880
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3749,23 +2918,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3749
2918
|
attach: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3750
2919
|
workspaceId: string;
|
|
3751
2920
|
kernel: Kernel;
|
|
3752
|
-
principal:
|
|
3753
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3754
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3755
|
-
email: string | null;
|
|
3756
|
-
name: string | null;
|
|
3757
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3758
|
-
instanceAdmin: boolean;
|
|
3759
|
-
service: string | null;
|
|
3760
|
-
memberships: {
|
|
3761
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3762
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3763
|
-
roleIds: string[];
|
|
3764
|
-
groupIds: string[];
|
|
3765
|
-
status: "active" | "invited" | "suspended";
|
|
3766
|
-
}[];
|
|
3767
|
-
permissionVersion: number;
|
|
3768
|
-
};
|
|
2921
|
+
principal: Principal;
|
|
3769
2922
|
requestId: string;
|
|
3770
2923
|
ip: string;
|
|
3771
2924
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3814,23 +2967,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3814
2967
|
remove: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3815
2968
|
workspaceId: string;
|
|
3816
2969
|
kernel: Kernel;
|
|
3817
|
-
principal:
|
|
3818
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3819
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3820
|
-
email: string | null;
|
|
3821
|
-
name: string | null;
|
|
3822
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3823
|
-
instanceAdmin: boolean;
|
|
3824
|
-
service: string | null;
|
|
3825
|
-
memberships: {
|
|
3826
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3827
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3828
|
-
roleIds: string[];
|
|
3829
|
-
groupIds: string[];
|
|
3830
|
-
status: "active" | "invited" | "suspended";
|
|
3831
|
-
}[];
|
|
3832
|
-
permissionVersion: number;
|
|
3833
|
-
};
|
|
2970
|
+
principal: Principal;
|
|
3834
2971
|
requestId: string;
|
|
3835
2972
|
ip: string;
|
|
3836
2973
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3868,23 +3005,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3868
3005
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3869
3006
|
workspaceId: string;
|
|
3870
3007
|
kernel: Kernel;
|
|
3871
|
-
principal:
|
|
3872
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3873
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3874
|
-
email: string | null;
|
|
3875
|
-
name: string | null;
|
|
3876
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3877
|
-
instanceAdmin: boolean;
|
|
3878
|
-
service: string | null;
|
|
3879
|
-
memberships: {
|
|
3880
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3881
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3882
|
-
roleIds: string[];
|
|
3883
|
-
groupIds: string[];
|
|
3884
|
-
status: "active" | "invited" | "suspended";
|
|
3885
|
-
}[];
|
|
3886
|
-
permissionVersion: number;
|
|
3887
|
-
};
|
|
3008
|
+
principal: Principal;
|
|
3888
3009
|
requestId: string;
|
|
3889
3010
|
ip: string;
|
|
3890
3011
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3962,23 +3083,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3962
3083
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
3963
3084
|
workspaceId: string;
|
|
3964
3085
|
kernel: Kernel;
|
|
3965
|
-
principal:
|
|
3966
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3967
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3968
|
-
email: string | null;
|
|
3969
|
-
name: string | null;
|
|
3970
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
3971
|
-
instanceAdmin: boolean;
|
|
3972
|
-
service: string | null;
|
|
3973
|
-
memberships: {
|
|
3974
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3975
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
3976
|
-
roleIds: string[];
|
|
3977
|
-
groupIds: string[];
|
|
3978
|
-
status: "active" | "invited" | "suspended";
|
|
3979
|
-
}[];
|
|
3980
|
-
permissionVersion: number;
|
|
3981
|
-
};
|
|
3086
|
+
principal: Principal;
|
|
3982
3087
|
requestId: string;
|
|
3983
3088
|
ip: string;
|
|
3984
3089
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4049,23 +3154,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4049
3154
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4050
3155
|
workspaceId: string;
|
|
4051
3156
|
kernel: Kernel;
|
|
4052
|
-
principal:
|
|
4053
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4054
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4055
|
-
email: string | null;
|
|
4056
|
-
name: string | null;
|
|
4057
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4058
|
-
instanceAdmin: boolean;
|
|
4059
|
-
service: string | null;
|
|
4060
|
-
memberships: {
|
|
4061
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4062
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4063
|
-
roleIds: string[];
|
|
4064
|
-
groupIds: string[];
|
|
4065
|
-
status: "active" | "invited" | "suspended";
|
|
4066
|
-
}[];
|
|
4067
|
-
permissionVersion: number;
|
|
4068
|
-
};
|
|
3157
|
+
principal: Principal;
|
|
4069
3158
|
requestId: string;
|
|
4070
3159
|
ip: string;
|
|
4071
3160
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4129,23 +3218,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4129
3218
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4130
3219
|
workspaceId: string;
|
|
4131
3220
|
kernel: Kernel;
|
|
4132
|
-
principal:
|
|
4133
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4134
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4135
|
-
email: string | null;
|
|
4136
|
-
name: string | null;
|
|
4137
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4138
|
-
instanceAdmin: boolean;
|
|
4139
|
-
service: string | null;
|
|
4140
|
-
memberships: {
|
|
4141
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4142
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4143
|
-
roleIds: string[];
|
|
4144
|
-
groupIds: string[];
|
|
4145
|
-
status: "active" | "invited" | "suspended";
|
|
4146
|
-
}[];
|
|
4147
|
-
permissionVersion: number;
|
|
4148
|
-
};
|
|
3221
|
+
principal: Principal;
|
|
4149
3222
|
requestId: string;
|
|
4150
3223
|
ip: string;
|
|
4151
3224
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4202,23 +3275,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4202
3275
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4203
3276
|
workspaceId: string;
|
|
4204
3277
|
kernel: Kernel;
|
|
4205
|
-
principal:
|
|
4206
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4207
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4208
|
-
email: string | null;
|
|
4209
|
-
name: string | null;
|
|
4210
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4211
|
-
instanceAdmin: boolean;
|
|
4212
|
-
service: string | null;
|
|
4213
|
-
memberships: {
|
|
4214
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4215
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4216
|
-
roleIds: string[];
|
|
4217
|
-
groupIds: string[];
|
|
4218
|
-
status: "active" | "invited" | "suspended";
|
|
4219
|
-
}[];
|
|
4220
|
-
permissionVersion: number;
|
|
4221
|
-
};
|
|
3278
|
+
principal: Principal;
|
|
4222
3279
|
requestId: string;
|
|
4223
3280
|
ip: string;
|
|
4224
3281
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4253,23 +3310,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4253
3310
|
assign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4254
3311
|
workspaceId: string;
|
|
4255
3312
|
kernel: Kernel;
|
|
4256
|
-
principal:
|
|
4257
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4258
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4259
|
-
email: string | null;
|
|
4260
|
-
name: string | null;
|
|
4261
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4262
|
-
instanceAdmin: boolean;
|
|
4263
|
-
service: string | null;
|
|
4264
|
-
memberships: {
|
|
4265
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4266
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4267
|
-
roleIds: string[];
|
|
4268
|
-
groupIds: string[];
|
|
4269
|
-
status: "active" | "invited" | "suspended";
|
|
4270
|
-
}[];
|
|
4271
|
-
permissionVersion: number;
|
|
4272
|
-
};
|
|
3313
|
+
principal: Principal;
|
|
4273
3314
|
requestId: string;
|
|
4274
3315
|
ip: string;
|
|
4275
3316
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4329,23 +3370,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4329
3370
|
unassign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4330
3371
|
workspaceId: string;
|
|
4331
3372
|
kernel: Kernel;
|
|
4332
|
-
principal:
|
|
4333
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4334
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4335
|
-
email: string | null;
|
|
4336
|
-
name: string | null;
|
|
4337
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4338
|
-
instanceAdmin: boolean;
|
|
4339
|
-
service: string | null;
|
|
4340
|
-
memberships: {
|
|
4341
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4342
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4343
|
-
roleIds: string[];
|
|
4344
|
-
groupIds: string[];
|
|
4345
|
-
status: "active" | "invited" | "suspended";
|
|
4346
|
-
}[];
|
|
4347
|
-
permissionVersion: number;
|
|
4348
|
-
};
|
|
3373
|
+
principal: Principal;
|
|
4349
3374
|
requestId: string;
|
|
4350
3375
|
ip: string;
|
|
4351
3376
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4380,23 +3405,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4380
3405
|
resolveFor: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4381
3406
|
workspaceId: string;
|
|
4382
3407
|
kernel: Kernel;
|
|
4383
|
-
principal:
|
|
4384
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4385
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4386
|
-
email: string | null;
|
|
4387
|
-
name: string | null;
|
|
4388
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4389
|
-
instanceAdmin: boolean;
|
|
4390
|
-
service: string | null;
|
|
4391
|
-
memberships: {
|
|
4392
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4393
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4394
|
-
roleIds: string[];
|
|
4395
|
-
groupIds: string[];
|
|
4396
|
-
status: "active" | "invited" | "suspended";
|
|
4397
|
-
}[];
|
|
4398
|
-
permissionVersion: number;
|
|
4399
|
-
};
|
|
3408
|
+
principal: Principal;
|
|
4400
3409
|
requestId: string;
|
|
4401
3410
|
ip: string;
|
|
4402
3411
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4452,23 +3461,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4452
3461
|
preview: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4453
3462
|
workspaceId: string;
|
|
4454
3463
|
kernel: Kernel;
|
|
4455
|
-
principal:
|
|
4456
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4457
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4458
|
-
email: string | null;
|
|
4459
|
-
name: string | null;
|
|
4460
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4461
|
-
instanceAdmin: boolean;
|
|
4462
|
-
service: string | null;
|
|
4463
|
-
memberships: {
|
|
4464
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4465
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4466
|
-
roleIds: string[];
|
|
4467
|
-
groupIds: string[];
|
|
4468
|
-
status: "active" | "invited" | "suspended";
|
|
4469
|
-
}[];
|
|
4470
|
-
permissionVersion: number;
|
|
4471
|
-
};
|
|
3464
|
+
principal: Principal;
|
|
4472
3465
|
requestId: string;
|
|
4473
3466
|
ip: string;
|
|
4474
3467
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4522,23 +3515,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4522
3515
|
run: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4523
3516
|
workspaceId: string;
|
|
4524
3517
|
kernel: Kernel;
|
|
4525
|
-
principal:
|
|
4526
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4527
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4528
|
-
email: string | null;
|
|
4529
|
-
name: string | null;
|
|
4530
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4531
|
-
instanceAdmin: boolean;
|
|
4532
|
-
service: string | null;
|
|
4533
|
-
memberships: {
|
|
4534
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4535
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4536
|
-
roleIds: string[];
|
|
4537
|
-
groupIds: string[];
|
|
4538
|
-
status: "active" | "invited" | "suspended";
|
|
4539
|
-
}[];
|
|
4540
|
-
permissionVersion: number;
|
|
4541
|
-
};
|
|
3518
|
+
principal: Principal;
|
|
4542
3519
|
requestId: string;
|
|
4543
3520
|
ip: string;
|
|
4544
3521
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4579,23 +3556,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4579
3556
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4580
3557
|
workspaceId: string;
|
|
4581
3558
|
kernel: Kernel;
|
|
4582
|
-
principal:
|
|
4583
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4584
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4585
|
-
email: string | null;
|
|
4586
|
-
name: string | null;
|
|
4587
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4588
|
-
instanceAdmin: boolean;
|
|
4589
|
-
service: string | null;
|
|
4590
|
-
memberships: {
|
|
4591
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4592
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4593
|
-
roleIds: string[];
|
|
4594
|
-
groupIds: string[];
|
|
4595
|
-
status: "active" | "invited" | "suspended";
|
|
4596
|
-
}[];
|
|
4597
|
-
permissionVersion: number;
|
|
4598
|
-
};
|
|
3559
|
+
principal: Principal;
|
|
4599
3560
|
requestId: string;
|
|
4600
3561
|
ip: string;
|
|
4601
3562
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4654,23 +3615,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4654
3615
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4655
3616
|
workspaceId: string;
|
|
4656
3617
|
kernel: Kernel;
|
|
4657
|
-
principal:
|
|
4658
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4659
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4660
|
-
email: string | null;
|
|
4661
|
-
name: string | null;
|
|
4662
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4663
|
-
instanceAdmin: boolean;
|
|
4664
|
-
service: string | null;
|
|
4665
|
-
memberships: {
|
|
4666
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4667
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4668
|
-
roleIds: string[];
|
|
4669
|
-
groupIds: string[];
|
|
4670
|
-
status: "active" | "invited" | "suspended";
|
|
4671
|
-
}[];
|
|
4672
|
-
permissionVersion: number;
|
|
4673
|
-
};
|
|
3618
|
+
principal: Principal;
|
|
4674
3619
|
requestId: string;
|
|
4675
3620
|
ip: string;
|
|
4676
3621
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4726,23 +3671,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4726
3671
|
lock: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4727
3672
|
workspaceId: string;
|
|
4728
3673
|
kernel: Kernel;
|
|
4729
|
-
principal:
|
|
4730
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4731
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4732
|
-
email: string | null;
|
|
4733
|
-
name: string | null;
|
|
4734
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4735
|
-
instanceAdmin: boolean;
|
|
4736
|
-
service: string | null;
|
|
4737
|
-
memberships: {
|
|
4738
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4739
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4740
|
-
roleIds: string[];
|
|
4741
|
-
groupIds: string[];
|
|
4742
|
-
status: "active" | "invited" | "suspended";
|
|
4743
|
-
}[];
|
|
4744
|
-
permissionVersion: number;
|
|
4745
|
-
};
|
|
3674
|
+
principal: Principal;
|
|
4746
3675
|
requestId: string;
|
|
4747
3676
|
ip: string;
|
|
4748
3677
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4794,23 +3723,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4794
3723
|
unlock: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4795
3724
|
workspaceId: string;
|
|
4796
3725
|
kernel: Kernel;
|
|
4797
|
-
principal:
|
|
4798
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4799
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4800
|
-
email: string | null;
|
|
4801
|
-
name: string | null;
|
|
4802
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4803
|
-
instanceAdmin: boolean;
|
|
4804
|
-
service: string | null;
|
|
4805
|
-
memberships: {
|
|
4806
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4807
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4808
|
-
roleIds: string[];
|
|
4809
|
-
groupIds: string[];
|
|
4810
|
-
status: "active" | "invited" | "suspended";
|
|
4811
|
-
}[];
|
|
4812
|
-
permissionVersion: number;
|
|
4813
|
-
};
|
|
3726
|
+
principal: Principal;
|
|
4814
3727
|
requestId: string;
|
|
4815
3728
|
ip: string;
|
|
4816
3729
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4864,23 +3777,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4864
3777
|
state: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4865
3778
|
workspaceId: string;
|
|
4866
3779
|
kernel: Kernel;
|
|
4867
|
-
principal:
|
|
4868
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4869
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4870
|
-
email: string | null;
|
|
4871
|
-
name: string | null;
|
|
4872
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4873
|
-
instanceAdmin: boolean;
|
|
4874
|
-
service: string | null;
|
|
4875
|
-
memberships: {
|
|
4876
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4877
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4878
|
-
roleIds: string[];
|
|
4879
|
-
groupIds: string[];
|
|
4880
|
-
status: "active" | "invited" | "suspended";
|
|
4881
|
-
}[];
|
|
4882
|
-
permissionVersion: number;
|
|
4883
|
-
};
|
|
3780
|
+
principal: Principal;
|
|
4884
3781
|
requestId: string;
|
|
4885
3782
|
ip: string;
|
|
4886
3783
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4921,23 +3818,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4921
3818
|
clockIn: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
4922
3819
|
workspaceId: string;
|
|
4923
3820
|
kernel: Kernel;
|
|
4924
|
-
principal:
|
|
4925
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4926
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4927
|
-
email: string | null;
|
|
4928
|
-
name: string | null;
|
|
4929
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
4930
|
-
instanceAdmin: boolean;
|
|
4931
|
-
service: string | null;
|
|
4932
|
-
memberships: {
|
|
4933
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4934
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
4935
|
-
roleIds: string[];
|
|
4936
|
-
groupIds: string[];
|
|
4937
|
-
status: "active" | "invited" | "suspended";
|
|
4938
|
-
}[];
|
|
4939
|
-
permissionVersion: number;
|
|
4940
|
-
};
|
|
3821
|
+
principal: Principal;
|
|
4941
3822
|
requestId: string;
|
|
4942
3823
|
ip: string;
|
|
4943
3824
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5027,23 +3908,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5027
3908
|
clockOut: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5028
3909
|
workspaceId: string;
|
|
5029
3910
|
kernel: Kernel;
|
|
5030
|
-
principal:
|
|
5031
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5032
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5033
|
-
email: string | null;
|
|
5034
|
-
name: string | null;
|
|
5035
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5036
|
-
instanceAdmin: boolean;
|
|
5037
|
-
service: string | null;
|
|
5038
|
-
memberships: {
|
|
5039
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5040
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5041
|
-
roleIds: string[];
|
|
5042
|
-
groupIds: string[];
|
|
5043
|
-
status: "active" | "invited" | "suspended";
|
|
5044
|
-
}[];
|
|
5045
|
-
permissionVersion: number;
|
|
5046
|
-
};
|
|
3911
|
+
principal: Principal;
|
|
5047
3912
|
requestId: string;
|
|
5048
3913
|
ip: string;
|
|
5049
3914
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5133,23 +3998,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5133
3998
|
breakStart: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5134
3999
|
workspaceId: string;
|
|
5135
4000
|
kernel: Kernel;
|
|
5136
|
-
principal:
|
|
5137
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5138
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5139
|
-
email: string | null;
|
|
5140
|
-
name: string | null;
|
|
5141
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5142
|
-
instanceAdmin: boolean;
|
|
5143
|
-
service: string | null;
|
|
5144
|
-
memberships: {
|
|
5145
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5146
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5147
|
-
roleIds: string[];
|
|
5148
|
-
groupIds: string[];
|
|
5149
|
-
status: "active" | "invited" | "suspended";
|
|
5150
|
-
}[];
|
|
5151
|
-
permissionVersion: number;
|
|
5152
|
-
};
|
|
4001
|
+
principal: Principal;
|
|
5153
4002
|
requestId: string;
|
|
5154
4003
|
ip: string;
|
|
5155
4004
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5223,23 +4072,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5223
4072
|
breakEnd: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5224
4073
|
workspaceId: string;
|
|
5225
4074
|
kernel: Kernel;
|
|
5226
|
-
principal:
|
|
5227
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5228
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5229
|
-
email: string | null;
|
|
5230
|
-
name: string | null;
|
|
5231
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5232
|
-
instanceAdmin: boolean;
|
|
5233
|
-
service: string | null;
|
|
5234
|
-
memberships: {
|
|
5235
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5236
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5237
|
-
roleIds: string[];
|
|
5238
|
-
groupIds: string[];
|
|
5239
|
-
status: "active" | "invited" | "suspended";
|
|
5240
|
-
}[];
|
|
5241
|
-
permissionVersion: number;
|
|
5242
|
-
};
|
|
4075
|
+
principal: Principal;
|
|
5243
4076
|
requestId: string;
|
|
5244
4077
|
ip: string;
|
|
5245
4078
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5314,23 +4147,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5314
4147
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5315
4148
|
workspaceId: string;
|
|
5316
4149
|
kernel: Kernel;
|
|
5317
|
-
principal:
|
|
5318
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5319
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5320
|
-
email: string | null;
|
|
5321
|
-
name: string | null;
|
|
5322
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5323
|
-
instanceAdmin: boolean;
|
|
5324
|
-
service: string | null;
|
|
5325
|
-
memberships: {
|
|
5326
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5327
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5328
|
-
roleIds: string[];
|
|
5329
|
-
groupIds: string[];
|
|
5330
|
-
status: "active" | "invited" | "suspended";
|
|
5331
|
-
}[];
|
|
5332
|
-
permissionVersion: number;
|
|
5333
|
-
};
|
|
4150
|
+
principal: Principal;
|
|
5334
4151
|
requestId: string;
|
|
5335
4152
|
ip: string;
|
|
5336
4153
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5412,23 +4229,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5412
4229
|
void: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5413
4230
|
workspaceId: string;
|
|
5414
4231
|
kernel: Kernel;
|
|
5415
|
-
principal:
|
|
5416
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5417
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5418
|
-
email: string | null;
|
|
5419
|
-
name: string | null;
|
|
5420
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5421
|
-
instanceAdmin: boolean;
|
|
5422
|
-
service: string | null;
|
|
5423
|
-
memberships: {
|
|
5424
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5425
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5426
|
-
roleIds: string[];
|
|
5427
|
-
groupIds: string[];
|
|
5428
|
-
status: "active" | "invited" | "suspended";
|
|
5429
|
-
}[];
|
|
5430
|
-
permissionVersion: number;
|
|
5431
|
-
};
|
|
4232
|
+
principal: Principal;
|
|
5432
4233
|
requestId: string;
|
|
5433
4234
|
ip: string;
|
|
5434
4235
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5466,23 +4267,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5466
4267
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5467
4268
|
workspaceId: string;
|
|
5468
4269
|
kernel: Kernel;
|
|
5469
|
-
principal:
|
|
5470
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5471
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5472
|
-
email: string | null;
|
|
5473
|
-
name: string | null;
|
|
5474
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5475
|
-
instanceAdmin: boolean;
|
|
5476
|
-
service: string | null;
|
|
5477
|
-
memberships: {
|
|
5478
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5479
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5480
|
-
roleIds: string[];
|
|
5481
|
-
groupIds: string[];
|
|
5482
|
-
status: "active" | "invited" | "suspended";
|
|
5483
|
-
}[];
|
|
5484
|
-
permissionVersion: number;
|
|
5485
|
-
};
|
|
4270
|
+
principal: Principal;
|
|
5486
4271
|
requestId: string;
|
|
5487
4272
|
ip: string;
|
|
5488
4273
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5552,23 +4337,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5552
4337
|
recompute: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5553
4338
|
workspaceId: string;
|
|
5554
4339
|
kernel: Kernel;
|
|
5555
|
-
principal:
|
|
5556
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5557
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5558
|
-
email: string | null;
|
|
5559
|
-
name: string | null;
|
|
5560
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5561
|
-
instanceAdmin: boolean;
|
|
5562
|
-
service: string | null;
|
|
5563
|
-
memberships: {
|
|
5564
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5565
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5566
|
-
roleIds: string[];
|
|
5567
|
-
groupIds: string[];
|
|
5568
|
-
status: "active" | "invited" | "suspended";
|
|
5569
|
-
}[];
|
|
5570
|
-
permissionVersion: number;
|
|
5571
|
-
};
|
|
4340
|
+
principal: Principal;
|
|
5572
4341
|
requestId: string;
|
|
5573
4342
|
ip: string;
|
|
5574
4343
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5608,23 +4377,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5608
4377
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5609
4378
|
workspaceId: string;
|
|
5610
4379
|
kernel: Kernel;
|
|
5611
|
-
principal:
|
|
5612
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5613
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5614
|
-
email: string | null;
|
|
5615
|
-
name: string | null;
|
|
5616
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5617
|
-
instanceAdmin: boolean;
|
|
5618
|
-
service: string | null;
|
|
5619
|
-
memberships: {
|
|
5620
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5621
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5622
|
-
roleIds: string[];
|
|
5623
|
-
groupIds: string[];
|
|
5624
|
-
status: "active" | "invited" | "suspended";
|
|
5625
|
-
}[];
|
|
5626
|
-
permissionVersion: number;
|
|
5627
|
-
};
|
|
4380
|
+
principal: Principal;
|
|
5628
4381
|
requestId: string;
|
|
5629
4382
|
ip: string;
|
|
5630
4383
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5695,23 +4448,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5695
4448
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5696
4449
|
workspaceId: string;
|
|
5697
4450
|
kernel: Kernel;
|
|
5698
|
-
principal:
|
|
5699
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5700
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5701
|
-
email: string | null;
|
|
5702
|
-
name: string | null;
|
|
5703
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5704
|
-
instanceAdmin: boolean;
|
|
5705
|
-
service: string | null;
|
|
5706
|
-
memberships: {
|
|
5707
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5708
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5709
|
-
roleIds: string[];
|
|
5710
|
-
groupIds: string[];
|
|
5711
|
-
status: "active" | "invited" | "suspended";
|
|
5712
|
-
}[];
|
|
5713
|
-
permissionVersion: number;
|
|
5714
|
-
};
|
|
4451
|
+
principal: Principal;
|
|
5715
4452
|
requestId: string;
|
|
5716
4453
|
ip: string;
|
|
5717
4454
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5815,23 +4552,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5815
4552
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5816
4553
|
workspaceId: string;
|
|
5817
4554
|
kernel: Kernel;
|
|
5818
|
-
principal:
|
|
5819
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5820
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5821
|
-
email: string | null;
|
|
5822
|
-
name: string | null;
|
|
5823
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5824
|
-
instanceAdmin: boolean;
|
|
5825
|
-
service: string | null;
|
|
5826
|
-
memberships: {
|
|
5827
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5828
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5829
|
-
roleIds: string[];
|
|
5830
|
-
groupIds: string[];
|
|
5831
|
-
status: "active" | "invited" | "suspended";
|
|
5832
|
-
}[];
|
|
5833
|
-
permissionVersion: number;
|
|
5834
|
-
};
|
|
4555
|
+
principal: Principal;
|
|
5835
4556
|
requestId: string;
|
|
5836
4557
|
ip: string;
|
|
5837
4558
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5925,23 +4646,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5925
4646
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5926
4647
|
workspaceId: string;
|
|
5927
4648
|
kernel: Kernel;
|
|
5928
|
-
principal:
|
|
5929
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5930
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5931
|
-
email: string | null;
|
|
5932
|
-
name: string | null;
|
|
5933
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5934
|
-
instanceAdmin: boolean;
|
|
5935
|
-
service: string | null;
|
|
5936
|
-
memberships: {
|
|
5937
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5938
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5939
|
-
roleIds: string[];
|
|
5940
|
-
groupIds: string[];
|
|
5941
|
-
status: "active" | "invited" | "suspended";
|
|
5942
|
-
}[];
|
|
5943
|
-
permissionVersion: number;
|
|
5944
|
-
};
|
|
4649
|
+
principal: Principal;
|
|
5945
4650
|
requestId: string;
|
|
5946
4651
|
ip: string;
|
|
5947
4652
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5976,23 +4681,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5976
4681
|
assign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
5977
4682
|
workspaceId: string;
|
|
5978
4683
|
kernel: Kernel;
|
|
5979
|
-
principal:
|
|
5980
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5981
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5982
|
-
email: string | null;
|
|
5983
|
-
name: string | null;
|
|
5984
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
5985
|
-
instanceAdmin: boolean;
|
|
5986
|
-
service: string | null;
|
|
5987
|
-
memberships: {
|
|
5988
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5989
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
5990
|
-
roleIds: string[];
|
|
5991
|
-
groupIds: string[];
|
|
5992
|
-
status: "active" | "invited" | "suspended";
|
|
5993
|
-
}[];
|
|
5994
|
-
permissionVersion: number;
|
|
5995
|
-
};
|
|
4684
|
+
principal: Principal;
|
|
5996
4685
|
requestId: string;
|
|
5997
4686
|
ip: string;
|
|
5998
4687
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6036,23 +4725,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6036
4725
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6037
4726
|
workspaceId: string;
|
|
6038
4727
|
kernel: Kernel;
|
|
6039
|
-
principal:
|
|
6040
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6041
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6042
|
-
email: string | null;
|
|
6043
|
-
name: string | null;
|
|
6044
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6045
|
-
instanceAdmin: boolean;
|
|
6046
|
-
service: string | null;
|
|
6047
|
-
memberships: {
|
|
6048
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6049
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6050
|
-
roleIds: string[];
|
|
6051
|
-
groupIds: string[];
|
|
6052
|
-
status: "active" | "invited" | "suspended";
|
|
6053
|
-
}[];
|
|
6054
|
-
permissionVersion: number;
|
|
6055
|
-
};
|
|
4728
|
+
principal: Principal;
|
|
6056
4729
|
requestId: string;
|
|
6057
4730
|
ip: string;
|
|
6058
4731
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6122,23 +4795,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6122
4795
|
request: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6123
4796
|
workspaceId: string;
|
|
6124
4797
|
kernel: Kernel;
|
|
6125
|
-
principal:
|
|
6126
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6127
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6128
|
-
email: string | null;
|
|
6129
|
-
name: string | null;
|
|
6130
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6131
|
-
instanceAdmin: boolean;
|
|
6132
|
-
service: string | null;
|
|
6133
|
-
memberships: {
|
|
6134
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6135
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6136
|
-
roleIds: string[];
|
|
6137
|
-
groupIds: string[];
|
|
6138
|
-
status: "active" | "invited" | "suspended";
|
|
6139
|
-
}[];
|
|
6140
|
-
permissionVersion: number;
|
|
6141
|
-
};
|
|
4798
|
+
principal: Principal;
|
|
6142
4799
|
requestId: string;
|
|
6143
4800
|
ip: string;
|
|
6144
4801
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6212,23 +4869,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6212
4869
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6213
4870
|
workspaceId: string;
|
|
6214
4871
|
kernel: Kernel;
|
|
6215
|
-
principal:
|
|
6216
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6217
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6218
|
-
email: string | null;
|
|
6219
|
-
name: string | null;
|
|
6220
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6221
|
-
instanceAdmin: boolean;
|
|
6222
|
-
service: string | null;
|
|
6223
|
-
memberships: {
|
|
6224
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6225
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6226
|
-
roleIds: string[];
|
|
6227
|
-
groupIds: string[];
|
|
6228
|
-
status: "active" | "invited" | "suspended";
|
|
6229
|
-
}[];
|
|
6230
|
-
permissionVersion: number;
|
|
6231
|
-
};
|
|
4872
|
+
principal: Principal;
|
|
6232
4873
|
requestId: string;
|
|
6233
4874
|
ip: string;
|
|
6234
4875
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6273,23 +4914,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6273
4914
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6274
4915
|
workspaceId: string;
|
|
6275
4916
|
kernel: Kernel;
|
|
6276
|
-
principal:
|
|
6277
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6278
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6279
|
-
email: string | null;
|
|
6280
|
-
name: string | null;
|
|
6281
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6282
|
-
instanceAdmin: boolean;
|
|
6283
|
-
service: string | null;
|
|
6284
|
-
memberships: {
|
|
6285
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6286
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6287
|
-
roleIds: string[];
|
|
6288
|
-
groupIds: string[];
|
|
6289
|
-
status: "active" | "invited" | "suspended";
|
|
6290
|
-
}[];
|
|
6291
|
-
permissionVersion: number;
|
|
6292
|
-
};
|
|
4917
|
+
principal: Principal;
|
|
6293
4918
|
requestId: string;
|
|
6294
4919
|
ip: string;
|
|
6295
4920
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6341,23 +4966,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6341
4966
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6342
4967
|
workspaceId: string;
|
|
6343
4968
|
kernel: Kernel;
|
|
6344
|
-
principal:
|
|
6345
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6346
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6347
|
-
email: string | null;
|
|
6348
|
-
name: string | null;
|
|
6349
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6350
|
-
instanceAdmin: boolean;
|
|
6351
|
-
service: string | null;
|
|
6352
|
-
memberships: {
|
|
6353
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6354
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6355
|
-
roleIds: string[];
|
|
6356
|
-
groupIds: string[];
|
|
6357
|
-
status: "active" | "invited" | "suspended";
|
|
6358
|
-
}[];
|
|
6359
|
-
permissionVersion: number;
|
|
6360
|
-
};
|
|
4969
|
+
principal: Principal;
|
|
6361
4970
|
requestId: string;
|
|
6362
4971
|
ip: string;
|
|
6363
4972
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6410,23 +5019,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6410
5019
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6411
5020
|
workspaceId: string;
|
|
6412
5021
|
kernel: Kernel;
|
|
6413
|
-
principal:
|
|
6414
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6415
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6416
|
-
email: string | null;
|
|
6417
|
-
name: string | null;
|
|
6418
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6419
|
-
instanceAdmin: boolean;
|
|
6420
|
-
service: string | null;
|
|
6421
|
-
memberships: {
|
|
6422
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6423
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6424
|
-
roleIds: string[];
|
|
6425
|
-
groupIds: string[];
|
|
6426
|
-
status: "active" | "invited" | "suspended";
|
|
6427
|
-
}[];
|
|
6428
|
-
permissionVersion: number;
|
|
6429
|
-
};
|
|
5022
|
+
principal: Principal;
|
|
6430
5023
|
requestId: string;
|
|
6431
5024
|
ip: string;
|
|
6432
5025
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6463,23 +5056,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6463
5056
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6464
5057
|
workspaceId: string;
|
|
6465
5058
|
kernel: Kernel;
|
|
6466
|
-
principal:
|
|
6467
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6468
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6469
|
-
email: string | null;
|
|
6470
|
-
name: string | null;
|
|
6471
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6472
|
-
instanceAdmin: boolean;
|
|
6473
|
-
service: string | null;
|
|
6474
|
-
memberships: {
|
|
6475
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6476
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6477
|
-
roleIds: string[];
|
|
6478
|
-
groupIds: string[];
|
|
6479
|
-
status: "active" | "invited" | "suspended";
|
|
6480
|
-
}[];
|
|
6481
|
-
permissionVersion: number;
|
|
6482
|
-
};
|
|
5059
|
+
principal: Principal;
|
|
6483
5060
|
requestId: string;
|
|
6484
5061
|
ip: string;
|
|
6485
5062
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6519,23 +5096,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6519
5096
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6520
5097
|
workspaceId: string;
|
|
6521
5098
|
kernel: Kernel;
|
|
6522
|
-
principal:
|
|
6523
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6524
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6525
|
-
email: string | null;
|
|
6526
|
-
name: string | null;
|
|
6527
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6528
|
-
instanceAdmin: boolean;
|
|
6529
|
-
service: string | null;
|
|
6530
|
-
memberships: {
|
|
6531
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6532
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6533
|
-
roleIds: string[];
|
|
6534
|
-
groupIds: string[];
|
|
6535
|
-
status: "active" | "invited" | "suspended";
|
|
6536
|
-
}[];
|
|
6537
|
-
permissionVersion: number;
|
|
6538
|
-
};
|
|
5099
|
+
principal: Principal;
|
|
6539
5100
|
requestId: string;
|
|
6540
5101
|
ip: string;
|
|
6541
5102
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6577,23 +5138,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6577
5138
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6578
5139
|
workspaceId: string;
|
|
6579
5140
|
kernel: Kernel;
|
|
6580
|
-
principal:
|
|
6581
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6582
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6583
|
-
email: string | null;
|
|
6584
|
-
name: string | null;
|
|
6585
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6586
|
-
instanceAdmin: boolean;
|
|
6587
|
-
service: string | null;
|
|
6588
|
-
memberships: {
|
|
6589
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6590
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6591
|
-
roleIds: string[];
|
|
6592
|
-
groupIds: string[];
|
|
6593
|
-
status: "active" | "invited" | "suspended";
|
|
6594
|
-
}[];
|
|
6595
|
-
permissionVersion: number;
|
|
6596
|
-
};
|
|
5141
|
+
principal: Principal;
|
|
6597
5142
|
requestId: string;
|
|
6598
5143
|
ip: string;
|
|
6599
5144
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6636,23 +5181,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6636
5181
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6637
5182
|
workspaceId: string;
|
|
6638
5183
|
kernel: Kernel;
|
|
6639
|
-
principal:
|
|
6640
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6641
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6642
|
-
email: string | null;
|
|
6643
|
-
name: string | null;
|
|
6644
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6645
|
-
instanceAdmin: boolean;
|
|
6646
|
-
service: string | null;
|
|
6647
|
-
memberships: {
|
|
6648
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6649
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6650
|
-
roleIds: string[];
|
|
6651
|
-
groupIds: string[];
|
|
6652
|
-
status: "active" | "invited" | "suspended";
|
|
6653
|
-
}[];
|
|
6654
|
-
permissionVersion: number;
|
|
6655
|
-
};
|
|
5184
|
+
principal: Principal;
|
|
6656
5185
|
requestId: string;
|
|
6657
5186
|
ip: string;
|
|
6658
5187
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6688,23 +5217,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6688
5217
|
assignments: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6689
5218
|
workspaceId: string;
|
|
6690
5219
|
kernel: Kernel;
|
|
6691
|
-
principal:
|
|
6692
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6693
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6694
|
-
email: string | null;
|
|
6695
|
-
name: string | null;
|
|
6696
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6697
|
-
instanceAdmin: boolean;
|
|
6698
|
-
service: string | null;
|
|
6699
|
-
memberships: {
|
|
6700
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6701
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6702
|
-
roleIds: string[];
|
|
6703
|
-
groupIds: string[];
|
|
6704
|
-
status: "active" | "invited" | "suspended";
|
|
6705
|
-
}[];
|
|
6706
|
-
permissionVersion: number;
|
|
6707
|
-
};
|
|
5220
|
+
principal: Principal;
|
|
6708
5221
|
requestId: string;
|
|
6709
5222
|
ip: string;
|
|
6710
5223
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6747,23 +5260,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6747
5260
|
assign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6748
5261
|
workspaceId: string;
|
|
6749
5262
|
kernel: Kernel;
|
|
6750
|
-
principal:
|
|
6751
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6752
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6753
|
-
email: string | null;
|
|
6754
|
-
name: string | null;
|
|
6755
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6756
|
-
instanceAdmin: boolean;
|
|
6757
|
-
service: string | null;
|
|
6758
|
-
memberships: {
|
|
6759
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6760
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6761
|
-
roleIds: string[];
|
|
6762
|
-
groupIds: string[];
|
|
6763
|
-
status: "active" | "invited" | "suspended";
|
|
6764
|
-
}[];
|
|
6765
|
-
permissionVersion: number;
|
|
6766
|
-
};
|
|
5263
|
+
principal: Principal;
|
|
6767
5264
|
requestId: string;
|
|
6768
5265
|
ip: string;
|
|
6769
5266
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6809,23 +5306,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6809
5306
|
unassign: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6810
5307
|
workspaceId: string;
|
|
6811
5308
|
kernel: Kernel;
|
|
6812
|
-
principal:
|
|
6813
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6814
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6815
|
-
email: string | null;
|
|
6816
|
-
name: string | null;
|
|
6817
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6818
|
-
instanceAdmin: boolean;
|
|
6819
|
-
service: string | null;
|
|
6820
|
-
memberships: {
|
|
6821
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6822
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6823
|
-
roleIds: string[];
|
|
6824
|
-
groupIds: string[];
|
|
6825
|
-
status: "active" | "invited" | "suspended";
|
|
6826
|
-
}[];
|
|
6827
|
-
permissionVersion: number;
|
|
6828
|
-
};
|
|
5309
|
+
principal: Principal;
|
|
6829
5310
|
requestId: string;
|
|
6830
5311
|
ip: string;
|
|
6831
5312
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6861,23 +5342,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6861
5342
|
days: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6862
5343
|
workspaceId: string;
|
|
6863
5344
|
kernel: Kernel;
|
|
6864
|
-
principal:
|
|
6865
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6866
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6867
|
-
email: string | null;
|
|
6868
|
-
name: string | null;
|
|
6869
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6870
|
-
instanceAdmin: boolean;
|
|
6871
|
-
service: string | null;
|
|
6872
|
-
memberships: {
|
|
6873
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6874
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6875
|
-
roleIds: string[];
|
|
6876
|
-
groupIds: string[];
|
|
6877
|
-
status: "active" | "invited" | "suspended";
|
|
6878
|
-
}[];
|
|
6879
|
-
permissionVersion: number;
|
|
6880
|
-
};
|
|
5345
|
+
principal: Principal;
|
|
6881
5346
|
requestId: string;
|
|
6882
5347
|
ip: string;
|
|
6883
5348
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6934,23 +5399,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6934
5399
|
set: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
6935
5400
|
workspaceId: string;
|
|
6936
5401
|
kernel: Kernel;
|
|
6937
|
-
principal:
|
|
6938
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6939
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6940
|
-
email: string | null;
|
|
6941
|
-
name: string | null;
|
|
6942
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
6943
|
-
instanceAdmin: boolean;
|
|
6944
|
-
service: string | null;
|
|
6945
|
-
memberships: {
|
|
6946
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6947
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
6948
|
-
roleIds: string[];
|
|
6949
|
-
groupIds: string[];
|
|
6950
|
-
status: "active" | "invited" | "suspended";
|
|
6951
|
-
}[];
|
|
6952
|
-
permissionVersion: number;
|
|
6953
|
-
};
|
|
5402
|
+
principal: Principal;
|
|
6954
5403
|
requestId: string;
|
|
6955
5404
|
ip: string;
|
|
6956
5405
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7008,23 +5457,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7008
5457
|
clear: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7009
5458
|
workspaceId: string;
|
|
7010
5459
|
kernel: Kernel;
|
|
7011
|
-
principal:
|
|
7012
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7013
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7014
|
-
email: string | null;
|
|
7015
|
-
name: string | null;
|
|
7016
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7017
|
-
instanceAdmin: boolean;
|
|
7018
|
-
service: string | null;
|
|
7019
|
-
memberships: {
|
|
7020
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7021
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7022
|
-
roleIds: string[];
|
|
7023
|
-
groupIds: string[];
|
|
7024
|
-
status: "active" | "invited" | "suspended";
|
|
7025
|
-
}[];
|
|
7026
|
-
permissionVersion: number;
|
|
7027
|
-
};
|
|
5460
|
+
principal: Principal;
|
|
7028
5461
|
requestId: string;
|
|
7029
5462
|
ip: string;
|
|
7030
5463
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7060,23 +5493,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7060
5493
|
coverage: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7061
5494
|
workspaceId: string;
|
|
7062
5495
|
kernel: Kernel;
|
|
7063
|
-
principal:
|
|
7064
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7065
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7066
|
-
email: string | null;
|
|
7067
|
-
name: string | null;
|
|
7068
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7069
|
-
instanceAdmin: boolean;
|
|
7070
|
-
service: string | null;
|
|
7071
|
-
memberships: {
|
|
7072
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7073
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7074
|
-
roleIds: string[];
|
|
7075
|
-
groupIds: string[];
|
|
7076
|
-
status: "active" | "invited" | "suspended";
|
|
7077
|
-
}[];
|
|
7078
|
-
permissionVersion: number;
|
|
7079
|
-
};
|
|
5496
|
+
principal: Principal;
|
|
7080
5497
|
requestId: string;
|
|
7081
5498
|
ip: string;
|
|
7082
5499
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7139,23 +5556,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7139
5556
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7140
5557
|
workspaceId: string;
|
|
7141
5558
|
kernel: Kernel;
|
|
7142
|
-
principal:
|
|
7143
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7144
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7145
|
-
email: string | null;
|
|
7146
|
-
name: string | null;
|
|
7147
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7148
|
-
instanceAdmin: boolean;
|
|
7149
|
-
service: string | null;
|
|
7150
|
-
memberships: {
|
|
7151
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7152
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7153
|
-
roleIds: string[];
|
|
7154
|
-
groupIds: string[];
|
|
7155
|
-
status: "active" | "invited" | "suspended";
|
|
7156
|
-
}[];
|
|
7157
|
-
permissionVersion: number;
|
|
7158
|
-
};
|
|
5559
|
+
principal: Principal;
|
|
7159
5560
|
requestId: string;
|
|
7160
5561
|
ip: string;
|
|
7161
5562
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7207,23 +5608,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7207
5608
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7208
5609
|
workspaceId: string;
|
|
7209
5610
|
kernel: Kernel;
|
|
7210
|
-
principal:
|
|
7211
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7212
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7213
|
-
email: string | null;
|
|
7214
|
-
name: string | null;
|
|
7215
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7216
|
-
instanceAdmin: boolean;
|
|
7217
|
-
service: string | null;
|
|
7218
|
-
memberships: {
|
|
7219
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7220
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7221
|
-
roleIds: string[];
|
|
7222
|
-
groupIds: string[];
|
|
7223
|
-
status: "active" | "invited" | "suspended";
|
|
7224
|
-
}[];
|
|
7225
|
-
permissionVersion: number;
|
|
7226
|
-
};
|
|
5611
|
+
principal: Principal;
|
|
7227
5612
|
requestId: string;
|
|
7228
5613
|
ip: string;
|
|
7229
5614
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7288,23 +5673,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7288
5673
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7289
5674
|
workspaceId: string;
|
|
7290
5675
|
kernel: Kernel;
|
|
7291
|
-
principal:
|
|
7292
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7293
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7294
|
-
email: string | null;
|
|
7295
|
-
name: string | null;
|
|
7296
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7297
|
-
instanceAdmin: boolean;
|
|
7298
|
-
service: string | null;
|
|
7299
|
-
memberships: {
|
|
7300
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7301
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7302
|
-
roleIds: string[];
|
|
7303
|
-
groupIds: string[];
|
|
7304
|
-
status: "active" | "invited" | "suspended";
|
|
7305
|
-
}[];
|
|
7306
|
-
permissionVersion: number;
|
|
7307
|
-
};
|
|
5676
|
+
principal: Principal;
|
|
7308
5677
|
requestId: string;
|
|
7309
5678
|
ip: string;
|
|
7310
5679
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7365,23 +5734,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7365
5734
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7366
5735
|
workspaceId: string;
|
|
7367
5736
|
kernel: Kernel;
|
|
7368
|
-
principal:
|
|
7369
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7370
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7371
|
-
email: string | null;
|
|
7372
|
-
name: string | null;
|
|
7373
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7374
|
-
instanceAdmin: boolean;
|
|
7375
|
-
service: string | null;
|
|
7376
|
-
memberships: {
|
|
7377
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7378
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7379
|
-
roleIds: string[];
|
|
7380
|
-
groupIds: string[];
|
|
7381
|
-
status: "active" | "invited" | "suspended";
|
|
7382
|
-
}[];
|
|
7383
|
-
permissionVersion: number;
|
|
7384
|
-
};
|
|
5737
|
+
principal: Principal;
|
|
7385
5738
|
requestId: string;
|
|
7386
5739
|
ip: string;
|
|
7387
5740
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7418,23 +5771,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7418
5771
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7419
5772
|
workspaceId: string;
|
|
7420
5773
|
kernel: Kernel;
|
|
7421
|
-
principal:
|
|
7422
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7423
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7424
|
-
email: string | null;
|
|
7425
|
-
name: string | null;
|
|
7426
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7427
|
-
instanceAdmin: boolean;
|
|
7428
|
-
service: string | null;
|
|
7429
|
-
memberships: {
|
|
7430
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7431
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7432
|
-
roleIds: string[];
|
|
7433
|
-
groupIds: string[];
|
|
7434
|
-
status: "active" | "invited" | "suspended";
|
|
7435
|
-
}[];
|
|
7436
|
-
permissionVersion: number;
|
|
7437
|
-
};
|
|
5774
|
+
principal: Principal;
|
|
7438
5775
|
requestId: string;
|
|
7439
5776
|
ip: string;
|
|
7440
5777
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7486,23 +5823,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7486
5823
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7487
5824
|
workspaceId: string;
|
|
7488
5825
|
kernel: Kernel;
|
|
7489
|
-
principal:
|
|
7490
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7491
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7492
|
-
email: string | null;
|
|
7493
|
-
name: string | null;
|
|
7494
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7495
|
-
instanceAdmin: boolean;
|
|
7496
|
-
service: string | null;
|
|
7497
|
-
memberships: {
|
|
7498
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7499
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7500
|
-
roleIds: string[];
|
|
7501
|
-
groupIds: string[];
|
|
7502
|
-
status: "active" | "invited" | "suspended";
|
|
7503
|
-
}[];
|
|
7504
|
-
permissionVersion: number;
|
|
7505
|
-
};
|
|
5826
|
+
principal: Principal;
|
|
7506
5827
|
requestId: string;
|
|
7507
5828
|
ip: string;
|
|
7508
5829
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7569,23 +5890,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7569
5890
|
adjust: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7570
5891
|
workspaceId: string;
|
|
7571
5892
|
kernel: Kernel;
|
|
7572
|
-
principal:
|
|
7573
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7574
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7575
|
-
email: string | null;
|
|
7576
|
-
name: string | null;
|
|
7577
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7578
|
-
instanceAdmin: boolean;
|
|
7579
|
-
service: string | null;
|
|
7580
|
-
memberships: {
|
|
7581
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7582
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7583
|
-
roleIds: string[];
|
|
7584
|
-
groupIds: string[];
|
|
7585
|
-
status: "active" | "invited" | "suspended";
|
|
7586
|
-
}[];
|
|
7587
|
-
permissionVersion: number;
|
|
7588
|
-
};
|
|
5893
|
+
principal: Principal;
|
|
7589
5894
|
requestId: string;
|
|
7590
5895
|
ip: string;
|
|
7591
5896
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7659,23 +5964,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7659
5964
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7660
5965
|
workspaceId: string;
|
|
7661
5966
|
kernel: Kernel;
|
|
7662
|
-
principal:
|
|
7663
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7664
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7665
|
-
email: string | null;
|
|
7666
|
-
name: string | null;
|
|
7667
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7668
|
-
instanceAdmin: boolean;
|
|
7669
|
-
service: string | null;
|
|
7670
|
-
memberships: {
|
|
7671
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7672
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7673
|
-
roleIds: string[];
|
|
7674
|
-
groupIds: string[];
|
|
7675
|
-
status: "active" | "invited" | "suspended";
|
|
7676
|
-
}[];
|
|
7677
|
-
permissionVersion: number;
|
|
7678
|
-
};
|
|
5967
|
+
principal: Principal;
|
|
7679
5968
|
requestId: string;
|
|
7680
5969
|
ip: string;
|
|
7681
5970
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7759,23 +6048,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7759
6048
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7760
6049
|
workspaceId: string;
|
|
7761
6050
|
kernel: Kernel;
|
|
7762
|
-
principal:
|
|
7763
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7764
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7765
|
-
email: string | null;
|
|
7766
|
-
name: string | null;
|
|
7767
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7768
|
-
instanceAdmin: boolean;
|
|
7769
|
-
service: string | null;
|
|
7770
|
-
memberships: {
|
|
7771
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7772
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7773
|
-
roleIds: string[];
|
|
7774
|
-
groupIds: string[];
|
|
7775
|
-
status: "active" | "invited" | "suspended";
|
|
7776
|
-
}[];
|
|
7777
|
-
permissionVersion: number;
|
|
7778
|
-
};
|
|
6051
|
+
principal: Principal;
|
|
7779
6052
|
requestId: string;
|
|
7780
6053
|
ip: string;
|
|
7781
6054
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7842,23 +6115,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7842
6115
|
simulate: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7843
6116
|
workspaceId: string;
|
|
7844
6117
|
kernel: Kernel;
|
|
7845
|
-
principal:
|
|
7846
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7847
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7848
|
-
email: string | null;
|
|
7849
|
-
name: string | null;
|
|
7850
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7851
|
-
instanceAdmin: boolean;
|
|
7852
|
-
service: string | null;
|
|
7853
|
-
memberships: {
|
|
7854
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7855
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7856
|
-
roleIds: string[];
|
|
7857
|
-
groupIds: string[];
|
|
7858
|
-
status: "active" | "invited" | "suspended";
|
|
7859
|
-
}[];
|
|
7860
|
-
permissionVersion: number;
|
|
7861
|
-
};
|
|
6118
|
+
principal: Principal;
|
|
7862
6119
|
requestId: string;
|
|
7863
6120
|
ip: string;
|
|
7864
6121
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -7920,23 +6177,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
7920
6177
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
7921
6178
|
workspaceId: string;
|
|
7922
6179
|
kernel: Kernel;
|
|
7923
|
-
principal:
|
|
7924
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7925
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7926
|
-
email: string | null;
|
|
7927
|
-
name: string | null;
|
|
7928
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
7929
|
-
instanceAdmin: boolean;
|
|
7930
|
-
service: string | null;
|
|
7931
|
-
memberships: {
|
|
7932
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7933
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
7934
|
-
roleIds: string[];
|
|
7935
|
-
groupIds: string[];
|
|
7936
|
-
status: "active" | "invited" | "suspended";
|
|
7937
|
-
}[];
|
|
7938
|
-
permissionVersion: number;
|
|
7939
|
-
};
|
|
6180
|
+
principal: Principal;
|
|
7940
6181
|
requestId: string;
|
|
7941
6182
|
ip: string;
|
|
7942
6183
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8020,23 +6261,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8020
6261
|
cancel: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8021
6262
|
workspaceId: string;
|
|
8022
6263
|
kernel: Kernel;
|
|
8023
|
-
principal:
|
|
8024
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8025
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8026
|
-
email: string | null;
|
|
8027
|
-
name: string | null;
|
|
8028
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8029
|
-
instanceAdmin: boolean;
|
|
8030
|
-
service: string | null;
|
|
8031
|
-
memberships: {
|
|
8032
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8033
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8034
|
-
roleIds: string[];
|
|
8035
|
-
groupIds: string[];
|
|
8036
|
-
status: "active" | "invited" | "suspended";
|
|
8037
|
-
}[];
|
|
8038
|
-
permissionVersion: number;
|
|
8039
|
-
};
|
|
6264
|
+
principal: Principal;
|
|
8040
6265
|
requestId: string;
|
|
8041
6266
|
ip: string;
|
|
8042
6267
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8106,23 +6331,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8106
6331
|
calendar: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8107
6332
|
workspaceId: string;
|
|
8108
6333
|
kernel: Kernel;
|
|
8109
|
-
principal:
|
|
8110
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8111
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8112
|
-
email: string | null;
|
|
8113
|
-
name: string | null;
|
|
8114
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8115
|
-
instanceAdmin: boolean;
|
|
8116
|
-
service: string | null;
|
|
8117
|
-
memberships: {
|
|
8118
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8119
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8120
|
-
roleIds: string[];
|
|
8121
|
-
groupIds: string[];
|
|
8122
|
-
status: "active" | "invited" | "suspended";
|
|
8123
|
-
}[];
|
|
8124
|
-
permissionVersion: number;
|
|
8125
|
-
};
|
|
6334
|
+
principal: Principal;
|
|
8126
6335
|
requestId: string;
|
|
8127
6336
|
ip: string;
|
|
8128
6337
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8177,23 +6386,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8177
6386
|
inbox: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext>, RequestContext>, Omit<RequestContext, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers"> & {
|
|
8178
6387
|
workspaceId: string;
|
|
8179
6388
|
kernel: Kernel;
|
|
8180
|
-
principal:
|
|
8181
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8182
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8183
|
-
email: string | null;
|
|
8184
|
-
name: string | null;
|
|
8185
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8186
|
-
instanceAdmin: boolean;
|
|
8187
|
-
service: string | null;
|
|
8188
|
-
memberships: {
|
|
8189
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8190
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8191
|
-
roleIds: string[];
|
|
8192
|
-
groupIds: string[];
|
|
8193
|
-
status: "active" | "invited" | "suspended";
|
|
8194
|
-
}[];
|
|
8195
|
-
permissionVersion: number;
|
|
8196
|
-
};
|
|
6389
|
+
principal: Principal;
|
|
8197
6390
|
requestId: string;
|
|
8198
6391
|
ip: string;
|
|
8199
6392
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8293,23 +6486,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8293
6486
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext>, RequestContext>, Omit<RequestContext, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers"> & {
|
|
8294
6487
|
workspaceId: string;
|
|
8295
6488
|
kernel: Kernel;
|
|
8296
|
-
principal:
|
|
8297
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8298
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8299
|
-
email: string | null;
|
|
8300
|
-
name: string | null;
|
|
8301
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8302
|
-
instanceAdmin: boolean;
|
|
8303
|
-
service: string | null;
|
|
8304
|
-
memberships: {
|
|
8305
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8306
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8307
|
-
roleIds: string[];
|
|
8308
|
-
groupIds: string[];
|
|
8309
|
-
status: "active" | "invited" | "suspended";
|
|
8310
|
-
}[];
|
|
8311
|
-
permissionVersion: number;
|
|
8312
|
-
};
|
|
6489
|
+
principal: Principal;
|
|
8313
6490
|
requestId: string;
|
|
8314
6491
|
ip: string;
|
|
8315
6492
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8400,23 +6577,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8400
6577
|
decide: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext>, RequestContext>, Omit<RequestContext, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers"> & {
|
|
8401
6578
|
workspaceId: string;
|
|
8402
6579
|
kernel: Kernel;
|
|
8403
|
-
principal:
|
|
8404
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8405
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8406
|
-
email: string | null;
|
|
8407
|
-
name: string | null;
|
|
8408
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8409
|
-
instanceAdmin: boolean;
|
|
8410
|
-
service: string | null;
|
|
8411
|
-
memberships: {
|
|
8412
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8413
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8414
|
-
roleIds: string[];
|
|
8415
|
-
groupIds: string[];
|
|
8416
|
-
status: "active" | "invited" | "suspended";
|
|
8417
|
-
}[];
|
|
8418
|
-
permissionVersion: number;
|
|
8419
|
-
};
|
|
6580
|
+
principal: Principal;
|
|
8420
6581
|
requestId: string;
|
|
8421
6582
|
ip: string;
|
|
8422
6583
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8514,23 +6675,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8514
6675
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8515
6676
|
workspaceId: string;
|
|
8516
6677
|
kernel: Kernel;
|
|
8517
|
-
principal:
|
|
8518
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8519
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8520
|
-
email: string | null;
|
|
8521
|
-
name: string | null;
|
|
8522
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8523
|
-
instanceAdmin: boolean;
|
|
8524
|
-
service: string | null;
|
|
8525
|
-
memberships: {
|
|
8526
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8527
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8528
|
-
roleIds: string[];
|
|
8529
|
-
groupIds: string[];
|
|
8530
|
-
status: "active" | "invited" | "suspended";
|
|
8531
|
-
}[];
|
|
8532
|
-
permissionVersion: number;
|
|
8533
|
-
};
|
|
6678
|
+
principal: Principal;
|
|
8534
6679
|
requestId: string;
|
|
8535
6680
|
ip: string;
|
|
8536
6681
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8611,23 +6756,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8611
6756
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8612
6757
|
workspaceId: string;
|
|
8613
6758
|
kernel: Kernel;
|
|
8614
|
-
principal:
|
|
8615
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8616
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8617
|
-
email: string | null;
|
|
8618
|
-
name: string | null;
|
|
8619
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8620
|
-
instanceAdmin: boolean;
|
|
8621
|
-
service: string | null;
|
|
8622
|
-
memberships: {
|
|
8623
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8624
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8625
|
-
roleIds: string[];
|
|
8626
|
-
groupIds: string[];
|
|
8627
|
-
status: "active" | "invited" | "suspended";
|
|
8628
|
-
}[];
|
|
8629
|
-
permissionVersion: number;
|
|
8630
|
-
};
|
|
6759
|
+
principal: Principal;
|
|
8631
6760
|
requestId: string;
|
|
8632
6761
|
ip: string;
|
|
8633
6762
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8739,23 +6868,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8739
6868
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8740
6869
|
workspaceId: string;
|
|
8741
6870
|
kernel: Kernel;
|
|
8742
|
-
principal:
|
|
8743
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8744
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8745
|
-
email: string | null;
|
|
8746
|
-
name: string | null;
|
|
8747
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8748
|
-
instanceAdmin: boolean;
|
|
8749
|
-
service: string | null;
|
|
8750
|
-
memberships: {
|
|
8751
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8752
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8753
|
-
roleIds: string[];
|
|
8754
|
-
groupIds: string[];
|
|
8755
|
-
status: "active" | "invited" | "suspended";
|
|
8756
|
-
}[];
|
|
8757
|
-
permissionVersion: number;
|
|
8758
|
-
};
|
|
6871
|
+
principal: Principal;
|
|
8759
6872
|
requestId: string;
|
|
8760
6873
|
ip: string;
|
|
8761
6874
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8861,23 +6974,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8861
6974
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8862
6975
|
workspaceId: string;
|
|
8863
6976
|
kernel: Kernel;
|
|
8864
|
-
principal:
|
|
8865
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8866
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8867
|
-
email: string | null;
|
|
8868
|
-
name: string | null;
|
|
8869
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8870
|
-
instanceAdmin: boolean;
|
|
8871
|
-
service: string | null;
|
|
8872
|
-
memberships: {
|
|
8873
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8874
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8875
|
-
roleIds: string[];
|
|
8876
|
-
groupIds: string[];
|
|
8877
|
-
status: "active" | "invited" | "suspended";
|
|
8878
|
-
}[];
|
|
8879
|
-
permissionVersion: number;
|
|
8880
|
-
};
|
|
6977
|
+
principal: Principal;
|
|
8881
6978
|
requestId: string;
|
|
8882
6979
|
ip: string;
|
|
8883
6980
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8913,23 +7010,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8913
7010
|
delegations: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8914
7011
|
workspaceId: string;
|
|
8915
7012
|
kernel: Kernel;
|
|
8916
|
-
principal:
|
|
8917
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8918
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8919
|
-
email: string | null;
|
|
8920
|
-
name: string | null;
|
|
8921
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8922
|
-
instanceAdmin: boolean;
|
|
8923
|
-
service: string | null;
|
|
8924
|
-
memberships: {
|
|
8925
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8926
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8927
|
-
roleIds: string[];
|
|
8928
|
-
groupIds: string[];
|
|
8929
|
-
status: "active" | "invited" | "suspended";
|
|
8930
|
-
}[];
|
|
8931
|
-
permissionVersion: number;
|
|
8932
|
-
};
|
|
7013
|
+
principal: Principal;
|
|
8933
7014
|
requestId: string;
|
|
8934
7015
|
ip: string;
|
|
8935
7016
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -8978,23 +7059,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
8978
7059
|
delegate: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
8979
7060
|
workspaceId: string;
|
|
8980
7061
|
kernel: Kernel;
|
|
8981
|
-
principal:
|
|
8982
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8983
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8984
|
-
email: string | null;
|
|
8985
|
-
name: string | null;
|
|
8986
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
8987
|
-
instanceAdmin: boolean;
|
|
8988
|
-
service: string | null;
|
|
8989
|
-
memberships: {
|
|
8990
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8991
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
8992
|
-
roleIds: string[];
|
|
8993
|
-
groupIds: string[];
|
|
8994
|
-
status: "active" | "invited" | "suspended";
|
|
8995
|
-
}[];
|
|
8996
|
-
permissionVersion: number;
|
|
8997
|
-
};
|
|
7062
|
+
principal: Principal;
|
|
8998
7063
|
requestId: string;
|
|
8999
7064
|
ip: string;
|
|
9000
7065
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9053,23 +7118,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9053
7118
|
revokeDelegation: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9054
7119
|
workspaceId: string;
|
|
9055
7120
|
kernel: Kernel;
|
|
9056
|
-
principal:
|
|
9057
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9058
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9059
|
-
email: string | null;
|
|
9060
|
-
name: string | null;
|
|
9061
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9062
|
-
instanceAdmin: boolean;
|
|
9063
|
-
service: string | null;
|
|
9064
|
-
memberships: {
|
|
9065
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9066
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9067
|
-
roleIds: string[];
|
|
9068
|
-
groupIds: string[];
|
|
9069
|
-
status: "active" | "invited" | "suspended";
|
|
9070
|
-
}[];
|
|
9071
|
-
permissionVersion: number;
|
|
9072
|
-
};
|
|
7121
|
+
principal: Principal;
|
|
9073
7122
|
requestId: string;
|
|
9074
7123
|
ip: string;
|
|
9075
7124
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9106,23 +7155,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9106
7155
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9107
7156
|
workspaceId: string;
|
|
9108
7157
|
kernel: Kernel;
|
|
9109
|
-
principal:
|
|
9110
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9111
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9112
|
-
email: string | null;
|
|
9113
|
-
name: string | null;
|
|
9114
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9115
|
-
instanceAdmin: boolean;
|
|
9116
|
-
service: string | null;
|
|
9117
|
-
memberships: {
|
|
9118
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9119
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9120
|
-
roleIds: string[];
|
|
9121
|
-
groupIds: string[];
|
|
9122
|
-
status: "active" | "invited" | "suspended";
|
|
9123
|
-
}[];
|
|
9124
|
-
permissionVersion: number;
|
|
9125
|
-
};
|
|
7158
|
+
principal: Principal;
|
|
9126
7159
|
requestId: string;
|
|
9127
7160
|
ip: string;
|
|
9128
7161
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9182,23 +7215,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9182
7215
|
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9183
7216
|
workspaceId: string;
|
|
9184
7217
|
kernel: Kernel;
|
|
9185
|
-
principal:
|
|
9186
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9187
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9188
|
-
email: string | null;
|
|
9189
|
-
name: string | null;
|
|
9190
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9191
|
-
instanceAdmin: boolean;
|
|
9192
|
-
service: string | null;
|
|
9193
|
-
memberships: {
|
|
9194
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9195
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9196
|
-
roleIds: string[];
|
|
9197
|
-
groupIds: string[];
|
|
9198
|
-
status: "active" | "invited" | "suspended";
|
|
9199
|
-
}[];
|
|
9200
|
-
permissionVersion: number;
|
|
9201
|
-
};
|
|
7218
|
+
principal: Principal;
|
|
9202
7219
|
requestId: string;
|
|
9203
7220
|
ip: string;
|
|
9204
7221
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9279,23 +7296,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9279
7296
|
update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9280
7297
|
workspaceId: string;
|
|
9281
7298
|
kernel: Kernel;
|
|
9282
|
-
principal:
|
|
9283
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9284
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9285
|
-
email: string | null;
|
|
9286
|
-
name: string | null;
|
|
9287
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9288
|
-
instanceAdmin: boolean;
|
|
9289
|
-
service: string | null;
|
|
9290
|
-
memberships: {
|
|
9291
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9292
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9293
|
-
roleIds: string[];
|
|
9294
|
-
groupIds: string[];
|
|
9295
|
-
status: "active" | "invited" | "suspended";
|
|
9296
|
-
}[];
|
|
9297
|
-
permissionVersion: number;
|
|
9298
|
-
};
|
|
7299
|
+
principal: Principal;
|
|
9299
7300
|
requestId: string;
|
|
9300
7301
|
ip: string;
|
|
9301
7302
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9368,23 +7369,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9368
7369
|
archive: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9369
7370
|
workspaceId: string;
|
|
9370
7371
|
kernel: Kernel;
|
|
9371
|
-
principal:
|
|
9372
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9373
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9374
|
-
email: string | null;
|
|
9375
|
-
name: string | null;
|
|
9376
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9377
|
-
instanceAdmin: boolean;
|
|
9378
|
-
service: string | null;
|
|
9379
|
-
memberships: {
|
|
9380
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9381
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9382
|
-
roleIds: string[];
|
|
9383
|
-
groupIds: string[];
|
|
9384
|
-
status: "active" | "invited" | "suspended";
|
|
9385
|
-
}[];
|
|
9386
|
-
permissionVersion: number;
|
|
9387
|
-
};
|
|
7372
|
+
principal: Principal;
|
|
9388
7373
|
requestId: string;
|
|
9389
7374
|
ip: string;
|
|
9390
7375
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9421,23 +7406,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9421
7406
|
attendance: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9422
7407
|
workspaceId: string;
|
|
9423
7408
|
kernel: Kernel;
|
|
9424
|
-
principal:
|
|
9425
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9426
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9427
|
-
email: string | null;
|
|
9428
|
-
name: string | null;
|
|
9429
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9430
|
-
instanceAdmin: boolean;
|
|
9431
|
-
service: string | null;
|
|
9432
|
-
memberships: {
|
|
9433
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9434
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9435
|
-
roleIds: string[];
|
|
9436
|
-
groupIds: string[];
|
|
9437
|
-
status: "active" | "invited" | "suspended";
|
|
9438
|
-
}[];
|
|
9439
|
-
permissionVersion: number;
|
|
9440
|
-
};
|
|
7409
|
+
principal: Principal;
|
|
9441
7410
|
requestId: string;
|
|
9442
7411
|
ip: string;
|
|
9443
7412
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9538,23 +7507,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9538
7507
|
overtime: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9539
7508
|
workspaceId: string;
|
|
9540
7509
|
kernel: Kernel;
|
|
9541
|
-
principal:
|
|
9542
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9543
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9544
|
-
email: string | null;
|
|
9545
|
-
name: string | null;
|
|
9546
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9547
|
-
instanceAdmin: boolean;
|
|
9548
|
-
service: string | null;
|
|
9549
|
-
memberships: {
|
|
9550
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9551
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9552
|
-
roleIds: string[];
|
|
9553
|
-
groupIds: string[];
|
|
9554
|
-
status: "active" | "invited" | "suspended";
|
|
9555
|
-
}[];
|
|
9556
|
-
permissionVersion: number;
|
|
9557
|
-
};
|
|
7510
|
+
principal: Principal;
|
|
9558
7511
|
requestId: string;
|
|
9559
7512
|
ip: string;
|
|
9560
7513
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9645,23 +7598,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9645
7598
|
absence: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9646
7599
|
workspaceId: string;
|
|
9647
7600
|
kernel: Kernel;
|
|
9648
|
-
principal:
|
|
9649
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9650
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9651
|
-
email: string | null;
|
|
9652
|
-
name: string | null;
|
|
9653
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9654
|
-
instanceAdmin: boolean;
|
|
9655
|
-
service: string | null;
|
|
9656
|
-
memberships: {
|
|
9657
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9658
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9659
|
-
roleIds: string[];
|
|
9660
|
-
groupIds: string[];
|
|
9661
|
-
status: "active" | "invited" | "suspended";
|
|
9662
|
-
}[];
|
|
9663
|
-
permissionVersion: number;
|
|
9664
|
-
};
|
|
7601
|
+
principal: Principal;
|
|
9665
7602
|
requestId: string;
|
|
9666
7603
|
ip: string;
|
|
9667
7604
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9763,23 +7700,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9763
7700
|
leaveBalance: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9764
7701
|
workspaceId: string;
|
|
9765
7702
|
kernel: Kernel;
|
|
9766
|
-
principal:
|
|
9767
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9768
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9769
|
-
email: string | null;
|
|
9770
|
-
name: string | null;
|
|
9771
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9772
|
-
instanceAdmin: boolean;
|
|
9773
|
-
service: string | null;
|
|
9774
|
-
memberships: {
|
|
9775
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9776
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9777
|
-
roleIds: string[];
|
|
9778
|
-
groupIds: string[];
|
|
9779
|
-
status: "active" | "invited" | "suspended";
|
|
9780
|
-
}[];
|
|
9781
|
-
permissionVersion: number;
|
|
9782
|
-
};
|
|
7703
|
+
principal: Principal;
|
|
9783
7704
|
requestId: string;
|
|
9784
7705
|
ip: string;
|
|
9785
7706
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9883,23 +7804,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9883
7804
|
v1: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9884
7805
|
workspaceId: string;
|
|
9885
7806
|
kernel: Kernel;
|
|
9886
|
-
principal:
|
|
9887
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9888
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9889
|
-
email: string | null;
|
|
9890
|
-
name: string | null;
|
|
9891
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9892
|
-
instanceAdmin: boolean;
|
|
9893
|
-
service: string | null;
|
|
9894
|
-
memberships: {
|
|
9895
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
9896
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
9897
|
-
roleIds: string[];
|
|
9898
|
-
groupIds: string[];
|
|
9899
|
-
status: "active" | "invited" | "suspended";
|
|
9900
|
-
}[];
|
|
9901
|
-
permissionVersion: number;
|
|
9902
|
-
};
|
|
7807
|
+
principal: Principal;
|
|
9903
7808
|
requestId: string;
|
|
9904
7809
|
ip: string;
|
|
9905
7810
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -9990,23 +7895,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
9990
7895
|
preview: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
9991
7896
|
workspaceId: string;
|
|
9992
7897
|
kernel: Kernel;
|
|
9993
|
-
principal:
|
|
9994
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
9995
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
9996
|
-
email: string | null;
|
|
9997
|
-
name: string | null;
|
|
9998
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
9999
|
-
instanceAdmin: boolean;
|
|
10000
|
-
service: string | null;
|
|
10001
|
-
memberships: {
|
|
10002
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10003
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10004
|
-
roleIds: string[];
|
|
10005
|
-
groupIds: string[];
|
|
10006
|
-
status: "active" | "invited" | "suspended";
|
|
10007
|
-
}[];
|
|
10008
|
-
permissionVersion: number;
|
|
10009
|
-
};
|
|
7898
|
+
principal: Principal;
|
|
10010
7899
|
requestId: string;
|
|
10011
7900
|
ip: string;
|
|
10012
7901
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -10165,23 +8054,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
10165
8054
|
subjectAccess: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
10166
8055
|
workspaceId: string;
|
|
10167
8056
|
kernel: Kernel;
|
|
10168
|
-
principal:
|
|
10169
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
10170
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
10171
|
-
email: string | null;
|
|
10172
|
-
name: string | null;
|
|
10173
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
10174
|
-
instanceAdmin: boolean;
|
|
10175
|
-
service: string | null;
|
|
10176
|
-
memberships: {
|
|
10177
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10178
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10179
|
-
roleIds: string[];
|
|
10180
|
-
groupIds: string[];
|
|
10181
|
-
status: "active" | "invited" | "suspended";
|
|
10182
|
-
}[];
|
|
10183
|
-
permissionVersion: number;
|
|
10184
|
-
};
|
|
8057
|
+
principal: Principal;
|
|
10185
8058
|
requestId: string;
|
|
10186
8059
|
ip: string;
|
|
10187
8060
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -10696,23 +8569,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
10696
8569
|
erase: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
10697
8570
|
workspaceId: string;
|
|
10698
8571
|
kernel: Kernel;
|
|
10699
|
-
principal:
|
|
10700
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
10701
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
10702
|
-
email: string | null;
|
|
10703
|
-
name: string | null;
|
|
10704
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
10705
|
-
instanceAdmin: boolean;
|
|
10706
|
-
service: string | null;
|
|
10707
|
-
memberships: {
|
|
10708
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10709
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10710
|
-
roleIds: string[];
|
|
10711
|
-
groupIds: string[];
|
|
10712
|
-
status: "active" | "invited" | "suspended";
|
|
10713
|
-
}[];
|
|
10714
|
-
permissionVersion: number;
|
|
10715
|
-
};
|
|
8572
|
+
principal: Principal;
|
|
10716
8573
|
requestId: string;
|
|
10717
8574
|
ip: string;
|
|
10718
8575
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -10815,23 +8672,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
10815
8672
|
list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext>, RequestContext>, Omit<RequestContext, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers"> & {
|
|
10816
8673
|
workspaceId: string;
|
|
10817
8674
|
kernel: Kernel;
|
|
10818
|
-
principal:
|
|
10819
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
10820
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
10821
|
-
email: string | null;
|
|
10822
|
-
name: string | null;
|
|
10823
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
10824
|
-
instanceAdmin: boolean;
|
|
10825
|
-
service: string | null;
|
|
10826
|
-
memberships: {
|
|
10827
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10828
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10829
|
-
roleIds: string[];
|
|
10830
|
-
groupIds: string[];
|
|
10831
|
-
status: "active" | "invited" | "suspended";
|
|
10832
|
-
}[];
|
|
10833
|
-
permissionVersion: number;
|
|
10834
|
-
};
|
|
8675
|
+
principal: Principal;
|
|
10835
8676
|
requestId: string;
|
|
10836
8677
|
ip: string;
|
|
10837
8678
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -10886,23 +8727,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
10886
8727
|
get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
10887
8728
|
workspaceId: string;
|
|
10888
8729
|
kernel: Kernel;
|
|
10889
|
-
principal:
|
|
10890
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
10891
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
10892
|
-
email: string | null;
|
|
10893
|
-
name: string | null;
|
|
10894
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
10895
|
-
instanceAdmin: boolean;
|
|
10896
|
-
service: string | null;
|
|
10897
|
-
memberships: {
|
|
10898
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10899
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10900
|
-
roleIds: string[];
|
|
10901
|
-
groupIds: string[];
|
|
10902
|
-
status: "active" | "invited" | "suspended";
|
|
10903
|
-
}[];
|
|
10904
|
-
permissionVersion: number;
|
|
10905
|
-
};
|
|
8730
|
+
principal: Principal;
|
|
10906
8731
|
requestId: string;
|
|
10907
8732
|
ip: string;
|
|
10908
8733
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -10954,23 +8779,7 @@ export declare function implement_(kernel: Kernel): {
|
|
|
10954
8779
|
set: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "requestId" | "kernel" | "principal" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
|
|
10955
8780
|
workspaceId: string;
|
|
10956
8781
|
kernel: Kernel;
|
|
10957
|
-
principal:
|
|
10958
|
-
kind: "service" | "user" | "api_key" | "anonymous";
|
|
10959
|
-
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
10960
|
-
email: string | null;
|
|
10961
|
-
name: string | null;
|
|
10962
|
-
locale: "en" | "fa" | "ar" | "de";
|
|
10963
|
-
instanceAdmin: boolean;
|
|
10964
|
-
service: string | null;
|
|
10965
|
-
memberships: {
|
|
10966
|
-
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
10967
|
-
role: "owner" | "admin" | "member" | "guest";
|
|
10968
|
-
roleIds: string[];
|
|
10969
|
-
groupIds: string[];
|
|
10970
|
-
status: "active" | "invited" | "suspended";
|
|
10971
|
-
}[];
|
|
10972
|
-
permissionVersion: number;
|
|
10973
|
-
};
|
|
8782
|
+
principal: Principal;
|
|
10974
8783
|
requestId: string;
|
|
10975
8784
|
ip: string;
|
|
10976
8785
|
headers: Record<string, string | string[] | undefined>;
|