@kernhq/module-hr 0.10.0 → 0.10.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/contract/capabilities.d.ts +16 -0
- package/dist/contract/capabilities.d.ts.map +1 -1
- package/dist/contract/capabilities.js +16 -0
- package/dist/contract/capabilities.js.map +1 -1
- package/dist/policy/accrual.d.ts +35 -4
- package/dist/policy/accrual.d.ts.map +1 -1
- package/dist/policy/accrual.js +141 -15
- package/dist/policy/accrual.js.map +1 -1
- package/dist/policy/working-time.d.ts +115 -9
- package/dist/policy/working-time.d.ts.map +1 -1
- package/dist/policy/working-time.js +120 -20
- package/dist/policy/working-time.js.map +1 -1
- package/dist/server/jobs.d.ts +14 -6
- package/dist/server/jobs.d.ts.map +1 -1
- package/dist/server/jobs.js +458 -144
- package/dist/server/jobs.js.map +1 -1
- package/dist/server/packs/index.d.ts +14 -0
- package/dist/server/packs/index.d.ts.map +1 -1
- package/dist/server/packs/index.js +19 -0
- package/dist/server/packs/index.js.map +1 -1
- package/dist/server/router.d.ts +1887 -111
- package/dist/server/router.d.ts.map +1 -1
- package/dist/server/router.js +129 -63
- package/dist/server/router.js.map +1 -1
- package/dist/server/schema.d.ts +17 -0
- package/dist/server/schema.d.ts.map +1 -1
- package/dist/server/schema.js +81 -2
- package/dist/server/schema.js.map +1 -1
- package/dist/server/services/approvals.d.ts.map +1 -1
- package/dist/server/services/approvals.js +12 -3
- package/dist/server/services/approvals.js.map +1 -1
- package/dist/server/services/attendance.d.ts +120 -6
- package/dist/server/services/attendance.d.ts.map +1 -1
- package/dist/server/services/attendance.js +226 -13
- package/dist/server/services/attendance.js.map +1 -1
- package/dist/server/services/policies.d.ts +6 -0
- package/dist/server/services/policies.d.ts.map +1 -1
- package/dist/server/services/policies.js +6 -0
- package/dist/server/services/policies.js.map +1 -1
- package/migrations/0005_approval_requester.sql +11 -1
- package/migrations/0006_schedule_no_overlap.sql +85 -0
- package/migrations/0007_hot_path_indexes.sql +38 -0
- package/migrations/0009_beyond_cap_minutes.sql +15 -0
- package/migrations/meta/0005_snapshot.json +4047 -0
- package/migrations/meta/0007_snapshot.json +4225 -0
- package/migrations/meta/0009_snapshot.json +4231 -0
- package/migrations/meta/_journal.json +21 -0
- package/package.json +7 -7
- package/src/client/components/ClockControls.svelte +127 -20
- package/src/client/components/ClockControls.test.ts +446 -0
- package/src/client/components/DelegationDialog.svelte +12 -3
- package/src/client/components/LeaveRequestDialog.svelte +254 -25
- package/src/client/components/PersonFormDialog.svelte +53 -3
- package/src/client/components/PersonPanel.svelte +134 -26
- package/src/client/i18n.ts +5 -927
- package/src/client/messages.test.ts +154 -0
- package/src/client/messages.ts +3388 -0
- package/src/client/mock.ts +1573 -161
- package/src/client/module.ts +15 -1
- package/src/client/pages/ApprovalsPage.svelte +120 -46
- package/src/client/pages/AttendancePage.svelte +106 -20
- package/src/client/pages/DirectoryPage.svelte +192 -55
- package/src/client/pages/LeavePage.svelte +280 -25
- package/src/client/pages/OfficesPage.svelte +26 -8
- package/src/client/pages/leave-and-attendance.test.ts +588 -0
- package/src/client/query.ts +12 -0
- package/src/client/settings/CalendarsSettings.svelte +1363 -12
- package/src/client/settings/CapabilitiesSettings.svelte +276 -19
- package/src/client/settings/GeneralSettings.svelte +420 -0
- package/src/client/settings/LeaveSettings.svelte +884 -12
- package/src/client/settings/OfficesSettings.svelte +1182 -12
- package/src/client/settings/SchedulesSettings.svelte +1149 -12
- package/src/client/summary.ts +14 -7
- package/src/client/widgets/ApprovalsWidget.svelte +133 -20
- package/src/client/widgets/HeadcountWidget.svelte +74 -8
- package/src/client/widgets/LeaveBalanceWidget.svelte +40 -5
- package/src/client/widgets/WhosOutWidget.svelte +47 -8
- package/src/contract/capabilities.ts +17 -0
package/dist/server/router.d.ts
CHANGED
|
@@ -16,7 +16,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
16
16
|
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, {
|
|
17
17
|
workspaceId: string;
|
|
18
18
|
kernel: Kernel;
|
|
19
|
-
principal:
|
|
19
|
+
principal: {
|
|
20
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
21
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
22
|
+
email: string | null;
|
|
23
|
+
name: string | null;
|
|
24
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
25
|
+
instanceAdmin: boolean;
|
|
26
|
+
service: string | null;
|
|
27
|
+
memberships: {
|
|
28
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
29
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
30
|
+
roleIds: string[];
|
|
31
|
+
groupIds: string[];
|
|
32
|
+
status: "active" | "invited" | "suspended";
|
|
33
|
+
}[];
|
|
34
|
+
permissionVersion: number;
|
|
35
|
+
};
|
|
20
36
|
requestId: string;
|
|
21
37
|
ip: string;
|
|
22
38
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -91,7 +107,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
91
107
|
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, {
|
|
92
108
|
workspaceId: string;
|
|
93
109
|
kernel: Kernel;
|
|
94
|
-
principal:
|
|
110
|
+
principal: {
|
|
111
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
112
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
113
|
+
email: string | null;
|
|
114
|
+
name: string | null;
|
|
115
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
116
|
+
instanceAdmin: boolean;
|
|
117
|
+
service: string | null;
|
|
118
|
+
memberships: {
|
|
119
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
120
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
121
|
+
roleIds: string[];
|
|
122
|
+
groupIds: string[];
|
|
123
|
+
status: "active" | "invited" | "suspended";
|
|
124
|
+
}[];
|
|
125
|
+
permissionVersion: number;
|
|
126
|
+
};
|
|
95
127
|
requestId: string;
|
|
96
128
|
ip: string;
|
|
97
129
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -147,7 +179,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
147
179
|
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"> & {
|
|
148
180
|
workspaceId: string;
|
|
149
181
|
kernel: Kernel;
|
|
150
|
-
principal:
|
|
182
|
+
principal: {
|
|
183
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
184
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
185
|
+
email: string | null;
|
|
186
|
+
name: string | null;
|
|
187
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
188
|
+
instanceAdmin: boolean;
|
|
189
|
+
service: string | null;
|
|
190
|
+
memberships: {
|
|
191
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
192
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
193
|
+
roleIds: string[];
|
|
194
|
+
groupIds: string[];
|
|
195
|
+
status: "active" | "invited" | "suspended";
|
|
196
|
+
}[];
|
|
197
|
+
permissionVersion: number;
|
|
198
|
+
};
|
|
151
199
|
requestId: string;
|
|
152
200
|
ip: string;
|
|
153
201
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -202,7 +250,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
202
250
|
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, {
|
|
203
251
|
workspaceId: string;
|
|
204
252
|
kernel: Kernel;
|
|
205
|
-
principal:
|
|
253
|
+
principal: {
|
|
254
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
255
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
256
|
+
email: string | null;
|
|
257
|
+
name: string | null;
|
|
258
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
259
|
+
instanceAdmin: boolean;
|
|
260
|
+
service: string | null;
|
|
261
|
+
memberships: {
|
|
262
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
263
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
264
|
+
roleIds: string[];
|
|
265
|
+
groupIds: string[];
|
|
266
|
+
status: "active" | "invited" | "suspended";
|
|
267
|
+
}[];
|
|
268
|
+
permissionVersion: number;
|
|
269
|
+
};
|
|
206
270
|
requestId: string;
|
|
207
271
|
ip: string;
|
|
208
272
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -274,7 +338,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
274
338
|
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, {
|
|
275
339
|
workspaceId: string;
|
|
276
340
|
kernel: Kernel;
|
|
277
|
-
principal:
|
|
341
|
+
principal: {
|
|
342
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
343
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
344
|
+
email: string | null;
|
|
345
|
+
name: string | null;
|
|
346
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
347
|
+
instanceAdmin: boolean;
|
|
348
|
+
service: string | null;
|
|
349
|
+
memberships: {
|
|
350
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
351
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
352
|
+
roleIds: string[];
|
|
353
|
+
groupIds: string[];
|
|
354
|
+
status: "active" | "invited" | "suspended";
|
|
355
|
+
}[];
|
|
356
|
+
permissionVersion: number;
|
|
357
|
+
};
|
|
278
358
|
requestId: string;
|
|
279
359
|
ip: string;
|
|
280
360
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -337,7 +417,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
337
417
|
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, {
|
|
338
418
|
workspaceId: string;
|
|
339
419
|
kernel: Kernel;
|
|
340
|
-
principal:
|
|
420
|
+
principal: {
|
|
421
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
422
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
423
|
+
email: string | null;
|
|
424
|
+
name: string | null;
|
|
425
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
426
|
+
instanceAdmin: boolean;
|
|
427
|
+
service: string | null;
|
|
428
|
+
memberships: {
|
|
429
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
430
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
431
|
+
roleIds: string[];
|
|
432
|
+
groupIds: string[];
|
|
433
|
+
status: "active" | "invited" | "suspended";
|
|
434
|
+
}[];
|
|
435
|
+
permissionVersion: number;
|
|
436
|
+
};
|
|
341
437
|
requestId: string;
|
|
342
438
|
ip: string;
|
|
343
439
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -395,7 +491,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
395
491
|
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, {
|
|
396
492
|
workspaceId: string;
|
|
397
493
|
kernel: Kernel;
|
|
398
|
-
principal:
|
|
494
|
+
principal: {
|
|
495
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
496
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
497
|
+
email: string | null;
|
|
498
|
+
name: string | null;
|
|
499
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
500
|
+
instanceAdmin: boolean;
|
|
501
|
+
service: string | null;
|
|
502
|
+
memberships: {
|
|
503
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
504
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
505
|
+
roleIds: string[];
|
|
506
|
+
groupIds: string[];
|
|
507
|
+
status: "active" | "invited" | "suspended";
|
|
508
|
+
}[];
|
|
509
|
+
permissionVersion: number;
|
|
510
|
+
};
|
|
399
511
|
requestId: string;
|
|
400
512
|
ip: string;
|
|
401
513
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -443,7 +555,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
443
555
|
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, {
|
|
444
556
|
workspaceId: string;
|
|
445
557
|
kernel: Kernel;
|
|
446
|
-
principal:
|
|
558
|
+
principal: {
|
|
559
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
560
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
561
|
+
email: string | null;
|
|
562
|
+
name: string | null;
|
|
563
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
564
|
+
instanceAdmin: boolean;
|
|
565
|
+
service: string | null;
|
|
566
|
+
memberships: {
|
|
567
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
568
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
569
|
+
roleIds: string[];
|
|
570
|
+
groupIds: string[];
|
|
571
|
+
status: "active" | "invited" | "suspended";
|
|
572
|
+
}[];
|
|
573
|
+
permissionVersion: number;
|
|
574
|
+
};
|
|
447
575
|
requestId: string;
|
|
448
576
|
ip: string;
|
|
449
577
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -487,7 +615,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
487
615
|
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, {
|
|
488
616
|
workspaceId: string;
|
|
489
617
|
kernel: Kernel;
|
|
490
|
-
principal:
|
|
618
|
+
principal: {
|
|
619
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
620
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
621
|
+
email: string | null;
|
|
622
|
+
name: string | null;
|
|
623
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
624
|
+
instanceAdmin: boolean;
|
|
625
|
+
service: string | null;
|
|
626
|
+
memberships: {
|
|
627
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
628
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
629
|
+
roleIds: string[];
|
|
630
|
+
groupIds: string[];
|
|
631
|
+
status: "active" | "invited" | "suspended";
|
|
632
|
+
}[];
|
|
633
|
+
permissionVersion: number;
|
|
634
|
+
};
|
|
491
635
|
requestId: string;
|
|
492
636
|
ip: string;
|
|
493
637
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -542,7 +686,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
542
686
|
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, {
|
|
543
687
|
workspaceId: string;
|
|
544
688
|
kernel: Kernel;
|
|
545
|
-
principal:
|
|
689
|
+
principal: {
|
|
690
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
691
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
692
|
+
email: string | null;
|
|
693
|
+
name: string | null;
|
|
694
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
695
|
+
instanceAdmin: boolean;
|
|
696
|
+
service: string | null;
|
|
697
|
+
memberships: {
|
|
698
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
699
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
700
|
+
roleIds: string[];
|
|
701
|
+
groupIds: string[];
|
|
702
|
+
status: "active" | "invited" | "suspended";
|
|
703
|
+
}[];
|
|
704
|
+
permissionVersion: number;
|
|
705
|
+
};
|
|
546
706
|
requestId: string;
|
|
547
707
|
ip: string;
|
|
548
708
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -599,7 +759,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
599
759
|
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, {
|
|
600
760
|
workspaceId: string;
|
|
601
761
|
kernel: Kernel;
|
|
602
|
-
principal:
|
|
762
|
+
principal: {
|
|
763
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
764
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
765
|
+
email: string | null;
|
|
766
|
+
name: string | null;
|
|
767
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
768
|
+
instanceAdmin: boolean;
|
|
769
|
+
service: string | null;
|
|
770
|
+
memberships: {
|
|
771
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
772
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
773
|
+
roleIds: string[];
|
|
774
|
+
groupIds: string[];
|
|
775
|
+
status: "active" | "invited" | "suspended";
|
|
776
|
+
}[];
|
|
777
|
+
permissionVersion: number;
|
|
778
|
+
};
|
|
603
779
|
requestId: string;
|
|
604
780
|
ip: string;
|
|
605
781
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -655,7 +831,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
655
831
|
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, {
|
|
656
832
|
workspaceId: string;
|
|
657
833
|
kernel: Kernel;
|
|
658
|
-
principal:
|
|
834
|
+
principal: {
|
|
835
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
836
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
837
|
+
email: string | null;
|
|
838
|
+
name: string | null;
|
|
839
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
840
|
+
instanceAdmin: boolean;
|
|
841
|
+
service: string | null;
|
|
842
|
+
memberships: {
|
|
843
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
844
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
845
|
+
roleIds: string[];
|
|
846
|
+
groupIds: string[];
|
|
847
|
+
status: "active" | "invited" | "suspended";
|
|
848
|
+
}[];
|
|
849
|
+
permissionVersion: number;
|
|
850
|
+
};
|
|
659
851
|
requestId: string;
|
|
660
852
|
ip: string;
|
|
661
853
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -731,7 +923,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
731
923
|
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, {
|
|
732
924
|
workspaceId: string;
|
|
733
925
|
kernel: Kernel;
|
|
734
|
-
principal:
|
|
926
|
+
principal: {
|
|
927
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
928
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
929
|
+
email: string | null;
|
|
930
|
+
name: string | null;
|
|
931
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
932
|
+
instanceAdmin: boolean;
|
|
933
|
+
service: string | null;
|
|
934
|
+
memberships: {
|
|
935
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
936
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
937
|
+
roleIds: string[];
|
|
938
|
+
groupIds: string[];
|
|
939
|
+
status: "active" | "invited" | "suspended";
|
|
940
|
+
}[];
|
|
941
|
+
permissionVersion: number;
|
|
942
|
+
};
|
|
735
943
|
requestId: string;
|
|
736
944
|
ip: string;
|
|
737
945
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -774,7 +982,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
774
982
|
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, {
|
|
775
983
|
workspaceId: string;
|
|
776
984
|
kernel: Kernel;
|
|
777
|
-
principal:
|
|
985
|
+
principal: {
|
|
986
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
987
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
988
|
+
email: string | null;
|
|
989
|
+
name: string | null;
|
|
990
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
991
|
+
instanceAdmin: boolean;
|
|
992
|
+
service: string | null;
|
|
993
|
+
memberships: {
|
|
994
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
995
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
996
|
+
roleIds: string[];
|
|
997
|
+
groupIds: string[];
|
|
998
|
+
status: "active" | "invited" | "suspended";
|
|
999
|
+
}[];
|
|
1000
|
+
permissionVersion: number;
|
|
1001
|
+
};
|
|
778
1002
|
requestId: string;
|
|
779
1003
|
ip: string;
|
|
780
1004
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -819,7 +1043,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
819
1043
|
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, {
|
|
820
1044
|
workspaceId: string;
|
|
821
1045
|
kernel: Kernel;
|
|
822
|
-
principal:
|
|
1046
|
+
principal: {
|
|
1047
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1048
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1049
|
+
email: string | null;
|
|
1050
|
+
name: string | null;
|
|
1051
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1052
|
+
instanceAdmin: boolean;
|
|
1053
|
+
service: string | null;
|
|
1054
|
+
memberships: {
|
|
1055
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1056
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1057
|
+
roleIds: string[];
|
|
1058
|
+
groupIds: string[];
|
|
1059
|
+
status: "active" | "invited" | "suspended";
|
|
1060
|
+
}[];
|
|
1061
|
+
permissionVersion: number;
|
|
1062
|
+
};
|
|
823
1063
|
requestId: string;
|
|
824
1064
|
ip: string;
|
|
825
1065
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -864,7 +1104,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
864
1104
|
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, {
|
|
865
1105
|
workspaceId: string;
|
|
866
1106
|
kernel: Kernel;
|
|
867
|
-
principal:
|
|
1107
|
+
principal: {
|
|
1108
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1109
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1110
|
+
email: string | null;
|
|
1111
|
+
name: string | null;
|
|
1112
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1113
|
+
instanceAdmin: boolean;
|
|
1114
|
+
service: string | null;
|
|
1115
|
+
memberships: {
|
|
1116
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1117
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1118
|
+
roleIds: string[];
|
|
1119
|
+
groupIds: string[];
|
|
1120
|
+
status: "active" | "invited" | "suspended";
|
|
1121
|
+
}[];
|
|
1122
|
+
permissionVersion: number;
|
|
1123
|
+
};
|
|
868
1124
|
requestId: string;
|
|
869
1125
|
ip: string;
|
|
870
1126
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -907,7 +1163,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
907
1163
|
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, {
|
|
908
1164
|
workspaceId: string;
|
|
909
1165
|
kernel: Kernel;
|
|
910
|
-
principal:
|
|
1166
|
+
principal: {
|
|
1167
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1168
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1169
|
+
email: string | null;
|
|
1170
|
+
name: string | null;
|
|
1171
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1172
|
+
instanceAdmin: boolean;
|
|
1173
|
+
service: string | null;
|
|
1174
|
+
memberships: {
|
|
1175
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1176
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1177
|
+
roleIds: string[];
|
|
1178
|
+
groupIds: string[];
|
|
1179
|
+
status: "active" | "invited" | "suspended";
|
|
1180
|
+
}[];
|
|
1181
|
+
permissionVersion: number;
|
|
1182
|
+
};
|
|
911
1183
|
requestId: string;
|
|
912
1184
|
ip: string;
|
|
913
1185
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -944,7 +1216,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
944
1216
|
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, {
|
|
945
1217
|
workspaceId: string;
|
|
946
1218
|
kernel: Kernel;
|
|
947
|
-
principal:
|
|
1219
|
+
principal: {
|
|
1220
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1221
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1222
|
+
email: string | null;
|
|
1223
|
+
name: string | null;
|
|
1224
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1225
|
+
instanceAdmin: boolean;
|
|
1226
|
+
service: string | null;
|
|
1227
|
+
memberships: {
|
|
1228
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1229
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1230
|
+
roleIds: string[];
|
|
1231
|
+
groupIds: string[];
|
|
1232
|
+
status: "active" | "invited" | "suspended";
|
|
1233
|
+
}[];
|
|
1234
|
+
permissionVersion: number;
|
|
1235
|
+
};
|
|
948
1236
|
requestId: string;
|
|
949
1237
|
ip: string;
|
|
950
1238
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -985,7 +1273,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
985
1273
|
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, {
|
|
986
1274
|
workspaceId: string;
|
|
987
1275
|
kernel: Kernel;
|
|
988
|
-
principal:
|
|
1276
|
+
principal: {
|
|
1277
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1278
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1279
|
+
email: string | null;
|
|
1280
|
+
name: string | null;
|
|
1281
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1282
|
+
instanceAdmin: boolean;
|
|
1283
|
+
service: string | null;
|
|
1284
|
+
memberships: {
|
|
1285
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1286
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1287
|
+
roleIds: string[];
|
|
1288
|
+
groupIds: string[];
|
|
1289
|
+
status: "active" | "invited" | "suspended";
|
|
1290
|
+
}[];
|
|
1291
|
+
permissionVersion: number;
|
|
1292
|
+
};
|
|
989
1293
|
requestId: string;
|
|
990
1294
|
ip: string;
|
|
991
1295
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1029,7 +1333,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1029
1333
|
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, {
|
|
1030
1334
|
workspaceId: string;
|
|
1031
1335
|
kernel: Kernel;
|
|
1032
|
-
principal:
|
|
1336
|
+
principal: {
|
|
1337
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1338
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1339
|
+
email: string | null;
|
|
1340
|
+
name: string | null;
|
|
1341
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1342
|
+
instanceAdmin: boolean;
|
|
1343
|
+
service: string | null;
|
|
1344
|
+
memberships: {
|
|
1345
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1346
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1347
|
+
roleIds: string[];
|
|
1348
|
+
groupIds: string[];
|
|
1349
|
+
status: "active" | "invited" | "suspended";
|
|
1350
|
+
}[];
|
|
1351
|
+
permissionVersion: number;
|
|
1352
|
+
};
|
|
1033
1353
|
requestId: string;
|
|
1034
1354
|
ip: string;
|
|
1035
1355
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1074,7 +1394,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1074
1394
|
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, {
|
|
1075
1395
|
workspaceId: string;
|
|
1076
1396
|
kernel: Kernel;
|
|
1077
|
-
principal:
|
|
1397
|
+
principal: {
|
|
1398
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1399
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1400
|
+
email: string | null;
|
|
1401
|
+
name: string | null;
|
|
1402
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1403
|
+
instanceAdmin: boolean;
|
|
1404
|
+
service: string | null;
|
|
1405
|
+
memberships: {
|
|
1406
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1407
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1408
|
+
roleIds: string[];
|
|
1409
|
+
groupIds: string[];
|
|
1410
|
+
status: "active" | "invited" | "suspended";
|
|
1411
|
+
}[];
|
|
1412
|
+
permissionVersion: number;
|
|
1413
|
+
};
|
|
1078
1414
|
requestId: string;
|
|
1079
1415
|
ip: string;
|
|
1080
1416
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1112,7 +1448,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1112
1448
|
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, {
|
|
1113
1449
|
workspaceId: string;
|
|
1114
1450
|
kernel: Kernel;
|
|
1115
|
-
principal:
|
|
1451
|
+
principal: {
|
|
1452
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1453
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1454
|
+
email: string | null;
|
|
1455
|
+
name: string | null;
|
|
1456
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1457
|
+
instanceAdmin: boolean;
|
|
1458
|
+
service: string | null;
|
|
1459
|
+
memberships: {
|
|
1460
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1461
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1462
|
+
roleIds: string[];
|
|
1463
|
+
groupIds: string[];
|
|
1464
|
+
status: "active" | "invited" | "suspended";
|
|
1465
|
+
}[];
|
|
1466
|
+
permissionVersion: number;
|
|
1467
|
+
};
|
|
1116
1468
|
requestId: string;
|
|
1117
1469
|
ip: string;
|
|
1118
1470
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1175,7 +1527,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1175
1527
|
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, {
|
|
1176
1528
|
workspaceId: string;
|
|
1177
1529
|
kernel: Kernel;
|
|
1178
|
-
principal:
|
|
1530
|
+
principal: {
|
|
1531
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1532
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1533
|
+
email: string | null;
|
|
1534
|
+
name: string | null;
|
|
1535
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1536
|
+
instanceAdmin: boolean;
|
|
1537
|
+
service: string | null;
|
|
1538
|
+
memberships: {
|
|
1539
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1540
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1541
|
+
roleIds: string[];
|
|
1542
|
+
groupIds: string[];
|
|
1543
|
+
status: "active" | "invited" | "suspended";
|
|
1544
|
+
}[];
|
|
1545
|
+
permissionVersion: number;
|
|
1546
|
+
};
|
|
1179
1547
|
requestId: string;
|
|
1180
1548
|
ip: string;
|
|
1181
1549
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1237,7 +1605,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1237
1605
|
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, {
|
|
1238
1606
|
workspaceId: string;
|
|
1239
1607
|
kernel: Kernel;
|
|
1240
|
-
principal:
|
|
1608
|
+
principal: {
|
|
1609
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1610
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1611
|
+
email: string | null;
|
|
1612
|
+
name: string | null;
|
|
1613
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1614
|
+
instanceAdmin: boolean;
|
|
1615
|
+
service: string | null;
|
|
1616
|
+
memberships: {
|
|
1617
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1618
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1619
|
+
roleIds: string[];
|
|
1620
|
+
groupIds: string[];
|
|
1621
|
+
status: "active" | "invited" | "suspended";
|
|
1622
|
+
}[];
|
|
1623
|
+
permissionVersion: number;
|
|
1624
|
+
};
|
|
1241
1625
|
requestId: string;
|
|
1242
1626
|
ip: string;
|
|
1243
1627
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1315,7 +1699,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1315
1699
|
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, {
|
|
1316
1700
|
workspaceId: string;
|
|
1317
1701
|
kernel: Kernel;
|
|
1318
|
-
principal:
|
|
1702
|
+
principal: {
|
|
1703
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1704
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1705
|
+
email: string | null;
|
|
1706
|
+
name: string | null;
|
|
1707
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1708
|
+
instanceAdmin: boolean;
|
|
1709
|
+
service: string | null;
|
|
1710
|
+
memberships: {
|
|
1711
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1712
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1713
|
+
roleIds: string[];
|
|
1714
|
+
groupIds: string[];
|
|
1715
|
+
status: "active" | "invited" | "suspended";
|
|
1716
|
+
}[];
|
|
1717
|
+
permissionVersion: number;
|
|
1718
|
+
};
|
|
1319
1719
|
requestId: string;
|
|
1320
1720
|
ip: string;
|
|
1321
1721
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1394,7 +1794,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1394
1794
|
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, {
|
|
1395
1795
|
workspaceId: string;
|
|
1396
1796
|
kernel: Kernel;
|
|
1397
|
-
principal:
|
|
1797
|
+
principal: {
|
|
1798
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1799
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1800
|
+
email: string | null;
|
|
1801
|
+
name: string | null;
|
|
1802
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1803
|
+
instanceAdmin: boolean;
|
|
1804
|
+
service: string | null;
|
|
1805
|
+
memberships: {
|
|
1806
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1807
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1808
|
+
roleIds: string[];
|
|
1809
|
+
groupIds: string[];
|
|
1810
|
+
status: "active" | "invited" | "suspended";
|
|
1811
|
+
}[];
|
|
1812
|
+
permissionVersion: number;
|
|
1813
|
+
};
|
|
1398
1814
|
requestId: string;
|
|
1399
1815
|
ip: string;
|
|
1400
1816
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1429,7 +1845,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1429
1845
|
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, {
|
|
1430
1846
|
workspaceId: string;
|
|
1431
1847
|
kernel: Kernel;
|
|
1432
|
-
principal:
|
|
1848
|
+
principal: {
|
|
1849
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1850
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1851
|
+
email: string | null;
|
|
1852
|
+
name: string | null;
|
|
1853
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1854
|
+
instanceAdmin: boolean;
|
|
1855
|
+
service: string | null;
|
|
1856
|
+
memberships: {
|
|
1857
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1858
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1859
|
+
roleIds: string[];
|
|
1860
|
+
groupIds: string[];
|
|
1861
|
+
status: "active" | "invited" | "suspended";
|
|
1862
|
+
}[];
|
|
1863
|
+
permissionVersion: number;
|
|
1864
|
+
};
|
|
1433
1865
|
requestId: string;
|
|
1434
1866
|
ip: string;
|
|
1435
1867
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1491,7 +1923,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1491
1923
|
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, {
|
|
1492
1924
|
workspaceId: string;
|
|
1493
1925
|
kernel: Kernel;
|
|
1494
|
-
principal:
|
|
1926
|
+
principal: {
|
|
1927
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
1928
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
1929
|
+
email: string | null;
|
|
1930
|
+
name: string | null;
|
|
1931
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
1932
|
+
instanceAdmin: boolean;
|
|
1933
|
+
service: string | null;
|
|
1934
|
+
memberships: {
|
|
1935
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
1936
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
1937
|
+
roleIds: string[];
|
|
1938
|
+
groupIds: string[];
|
|
1939
|
+
status: "active" | "invited" | "suspended";
|
|
1940
|
+
}[];
|
|
1941
|
+
permissionVersion: number;
|
|
1942
|
+
};
|
|
1495
1943
|
requestId: string;
|
|
1496
1944
|
ip: string;
|
|
1497
1945
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1555,7 +2003,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1555
2003
|
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, {
|
|
1556
2004
|
workspaceId: string;
|
|
1557
2005
|
kernel: Kernel;
|
|
1558
|
-
principal:
|
|
2006
|
+
principal: {
|
|
2007
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2008
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2009
|
+
email: string | null;
|
|
2010
|
+
name: string | null;
|
|
2011
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2012
|
+
instanceAdmin: boolean;
|
|
2013
|
+
service: string | null;
|
|
2014
|
+
memberships: {
|
|
2015
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2016
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2017
|
+
roleIds: string[];
|
|
2018
|
+
groupIds: string[];
|
|
2019
|
+
status: "active" | "invited" | "suspended";
|
|
2020
|
+
}[];
|
|
2021
|
+
permissionVersion: number;
|
|
2022
|
+
};
|
|
1559
2023
|
requestId: string;
|
|
1560
2024
|
ip: string;
|
|
1561
2025
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1602,7 +2066,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1602
2066
|
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, {
|
|
1603
2067
|
workspaceId: string;
|
|
1604
2068
|
kernel: Kernel;
|
|
1605
|
-
principal:
|
|
2069
|
+
principal: {
|
|
2070
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2071
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2072
|
+
email: string | null;
|
|
2073
|
+
name: string | null;
|
|
2074
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2075
|
+
instanceAdmin: boolean;
|
|
2076
|
+
service: string | null;
|
|
2077
|
+
memberships: {
|
|
2078
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2079
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2080
|
+
roleIds: string[];
|
|
2081
|
+
groupIds: string[];
|
|
2082
|
+
status: "active" | "invited" | "suspended";
|
|
2083
|
+
}[];
|
|
2084
|
+
permissionVersion: number;
|
|
2085
|
+
};
|
|
1606
2086
|
requestId: string;
|
|
1607
2087
|
ip: string;
|
|
1608
2088
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1639,7 +2119,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1639
2119
|
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, {
|
|
1640
2120
|
workspaceId: string;
|
|
1641
2121
|
kernel: Kernel;
|
|
1642
|
-
principal:
|
|
2122
|
+
principal: {
|
|
2123
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2124
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2125
|
+
email: string | null;
|
|
2126
|
+
name: string | null;
|
|
2127
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2128
|
+
instanceAdmin: boolean;
|
|
2129
|
+
service: string | null;
|
|
2130
|
+
memberships: {
|
|
2131
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2132
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2133
|
+
roleIds: string[];
|
|
2134
|
+
groupIds: string[];
|
|
2135
|
+
status: "active" | "invited" | "suspended";
|
|
2136
|
+
}[];
|
|
2137
|
+
permissionVersion: number;
|
|
2138
|
+
};
|
|
1643
2139
|
requestId: string;
|
|
1644
2140
|
ip: string;
|
|
1645
2141
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1713,7 +2209,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1713
2209
|
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, {
|
|
1714
2210
|
workspaceId: string;
|
|
1715
2211
|
kernel: Kernel;
|
|
1716
|
-
principal:
|
|
2212
|
+
principal: {
|
|
2213
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2214
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2215
|
+
email: string | null;
|
|
2216
|
+
name: string | null;
|
|
2217
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2218
|
+
instanceAdmin: boolean;
|
|
2219
|
+
service: string | null;
|
|
2220
|
+
memberships: {
|
|
2221
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2222
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2223
|
+
roleIds: string[];
|
|
2224
|
+
groupIds: string[];
|
|
2225
|
+
status: "active" | "invited" | "suspended";
|
|
2226
|
+
}[];
|
|
2227
|
+
permissionVersion: number;
|
|
2228
|
+
};
|
|
1717
2229
|
requestId: string;
|
|
1718
2230
|
ip: string;
|
|
1719
2231
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1755,7 +2267,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1755
2267
|
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, {
|
|
1756
2268
|
workspaceId: string;
|
|
1757
2269
|
kernel: Kernel;
|
|
1758
|
-
principal:
|
|
2270
|
+
principal: {
|
|
2271
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2272
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2273
|
+
email: string | null;
|
|
2274
|
+
name: string | null;
|
|
2275
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2276
|
+
instanceAdmin: boolean;
|
|
2277
|
+
service: string | null;
|
|
2278
|
+
memberships: {
|
|
2279
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2280
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2281
|
+
roleIds: string[];
|
|
2282
|
+
groupIds: string[];
|
|
2283
|
+
status: "active" | "invited" | "suspended";
|
|
2284
|
+
}[];
|
|
2285
|
+
permissionVersion: number;
|
|
2286
|
+
};
|
|
1759
2287
|
requestId: string;
|
|
1760
2288
|
ip: string;
|
|
1761
2289
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1797,7 +2325,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1797
2325
|
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, {
|
|
1798
2326
|
workspaceId: string;
|
|
1799
2327
|
kernel: Kernel;
|
|
1800
|
-
principal:
|
|
2328
|
+
principal: {
|
|
2329
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2330
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2331
|
+
email: string | null;
|
|
2332
|
+
name: string | null;
|
|
2333
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2334
|
+
instanceAdmin: boolean;
|
|
2335
|
+
service: string | null;
|
|
2336
|
+
memberships: {
|
|
2337
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2338
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2339
|
+
roleIds: string[];
|
|
2340
|
+
groupIds: string[];
|
|
2341
|
+
status: "active" | "invited" | "suspended";
|
|
2342
|
+
}[];
|
|
2343
|
+
permissionVersion: number;
|
|
2344
|
+
};
|
|
1801
2345
|
requestId: string;
|
|
1802
2346
|
ip: string;
|
|
1803
2347
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1843,7 +2387,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1843
2387
|
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, {
|
|
1844
2388
|
workspaceId: string;
|
|
1845
2389
|
kernel: Kernel;
|
|
1846
|
-
principal:
|
|
2390
|
+
principal: {
|
|
2391
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2392
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2393
|
+
email: string | null;
|
|
2394
|
+
name: string | null;
|
|
2395
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2396
|
+
instanceAdmin: boolean;
|
|
2397
|
+
service: string | null;
|
|
2398
|
+
memberships: {
|
|
2399
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2400
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2401
|
+
roleIds: string[];
|
|
2402
|
+
groupIds: string[];
|
|
2403
|
+
status: "active" | "invited" | "suspended";
|
|
2404
|
+
}[];
|
|
2405
|
+
permissionVersion: number;
|
|
2406
|
+
};
|
|
1847
2407
|
requestId: string;
|
|
1848
2408
|
ip: string;
|
|
1849
2409
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1890,7 +2450,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1890
2450
|
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, {
|
|
1891
2451
|
workspaceId: string;
|
|
1892
2452
|
kernel: Kernel;
|
|
1893
|
-
principal:
|
|
2453
|
+
principal: {
|
|
2454
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2455
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2456
|
+
email: string | null;
|
|
2457
|
+
name: string | null;
|
|
2458
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2459
|
+
instanceAdmin: boolean;
|
|
2460
|
+
service: string | null;
|
|
2461
|
+
memberships: {
|
|
2462
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2463
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2464
|
+
roleIds: string[];
|
|
2465
|
+
groupIds: string[];
|
|
2466
|
+
status: "active" | "invited" | "suspended";
|
|
2467
|
+
}[];
|
|
2468
|
+
permissionVersion: number;
|
|
2469
|
+
};
|
|
1894
2470
|
requestId: string;
|
|
1895
2471
|
ip: string;
|
|
1896
2472
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1926,7 +2502,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1926
2502
|
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, {
|
|
1927
2503
|
workspaceId: string;
|
|
1928
2504
|
kernel: Kernel;
|
|
1929
|
-
principal:
|
|
2505
|
+
principal: {
|
|
2506
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2507
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2508
|
+
email: string | null;
|
|
2509
|
+
name: string | null;
|
|
2510
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2511
|
+
instanceAdmin: boolean;
|
|
2512
|
+
service: string | null;
|
|
2513
|
+
memberships: {
|
|
2514
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2515
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2516
|
+
roleIds: string[];
|
|
2517
|
+
groupIds: string[];
|
|
2518
|
+
status: "active" | "invited" | "suspended";
|
|
2519
|
+
}[];
|
|
2520
|
+
permissionVersion: number;
|
|
2521
|
+
};
|
|
1930
2522
|
requestId: string;
|
|
1931
2523
|
ip: string;
|
|
1932
2524
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -1968,7 +2560,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
1968
2560
|
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, {
|
|
1969
2561
|
workspaceId: string;
|
|
1970
2562
|
kernel: Kernel;
|
|
1971
|
-
principal:
|
|
2563
|
+
principal: {
|
|
2564
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2565
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2566
|
+
email: string | null;
|
|
2567
|
+
name: string | null;
|
|
2568
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2569
|
+
instanceAdmin: boolean;
|
|
2570
|
+
service: string | null;
|
|
2571
|
+
memberships: {
|
|
2572
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2573
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2574
|
+
roleIds: string[];
|
|
2575
|
+
groupIds: string[];
|
|
2576
|
+
status: "active" | "invited" | "suspended";
|
|
2577
|
+
}[];
|
|
2578
|
+
permissionVersion: number;
|
|
2579
|
+
};
|
|
1972
2580
|
requestId: string;
|
|
1973
2581
|
ip: string;
|
|
1974
2582
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2014,7 +2622,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2014
2622
|
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, {
|
|
2015
2623
|
workspaceId: string;
|
|
2016
2624
|
kernel: Kernel;
|
|
2017
|
-
principal:
|
|
2625
|
+
principal: {
|
|
2626
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2627
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2628
|
+
email: string | null;
|
|
2629
|
+
name: string | null;
|
|
2630
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2631
|
+
instanceAdmin: boolean;
|
|
2632
|
+
service: string | null;
|
|
2633
|
+
memberships: {
|
|
2634
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2635
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2636
|
+
roleIds: string[];
|
|
2637
|
+
groupIds: string[];
|
|
2638
|
+
status: "active" | "invited" | "suspended";
|
|
2639
|
+
}[];
|
|
2640
|
+
permissionVersion: number;
|
|
2641
|
+
};
|
|
2018
2642
|
requestId: string;
|
|
2019
2643
|
ip: string;
|
|
2020
2644
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2052,7 +2676,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2052
2676
|
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, {
|
|
2053
2677
|
workspaceId: string;
|
|
2054
2678
|
kernel: Kernel;
|
|
2055
|
-
principal:
|
|
2679
|
+
principal: {
|
|
2680
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2681
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2682
|
+
email: string | null;
|
|
2683
|
+
name: string | null;
|
|
2684
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2685
|
+
instanceAdmin: boolean;
|
|
2686
|
+
service: string | null;
|
|
2687
|
+
memberships: {
|
|
2688
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2689
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2690
|
+
roleIds: string[];
|
|
2691
|
+
groupIds: string[];
|
|
2692
|
+
status: "active" | "invited" | "suspended";
|
|
2693
|
+
}[];
|
|
2694
|
+
permissionVersion: number;
|
|
2695
|
+
};
|
|
2056
2696
|
requestId: string;
|
|
2057
2697
|
ip: string;
|
|
2058
2698
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2109,7 +2749,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2109
2749
|
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, {
|
|
2110
2750
|
workspaceId: string;
|
|
2111
2751
|
kernel: Kernel;
|
|
2112
|
-
principal:
|
|
2752
|
+
principal: {
|
|
2753
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2754
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2755
|
+
email: string | null;
|
|
2756
|
+
name: string | null;
|
|
2757
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2758
|
+
instanceAdmin: boolean;
|
|
2759
|
+
service: string | null;
|
|
2760
|
+
memberships: {
|
|
2761
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2762
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2763
|
+
roleIds: string[];
|
|
2764
|
+
groupIds: string[];
|
|
2765
|
+
status: "active" | "invited" | "suspended";
|
|
2766
|
+
}[];
|
|
2767
|
+
permissionVersion: number;
|
|
2768
|
+
};
|
|
2113
2769
|
requestId: string;
|
|
2114
2770
|
ip: string;
|
|
2115
2771
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2165,7 +2821,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2165
2821
|
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, {
|
|
2166
2822
|
workspaceId: string;
|
|
2167
2823
|
kernel: Kernel;
|
|
2168
|
-
principal:
|
|
2824
|
+
principal: {
|
|
2825
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2826
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2827
|
+
email: string | null;
|
|
2828
|
+
name: string | null;
|
|
2829
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2830
|
+
instanceAdmin: boolean;
|
|
2831
|
+
service: string | null;
|
|
2832
|
+
memberships: {
|
|
2833
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2834
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2835
|
+
roleIds: string[];
|
|
2836
|
+
groupIds: string[];
|
|
2837
|
+
status: "active" | "invited" | "suspended";
|
|
2838
|
+
}[];
|
|
2839
|
+
permissionVersion: number;
|
|
2840
|
+
};
|
|
2169
2841
|
requestId: string;
|
|
2170
2842
|
ip: string;
|
|
2171
2843
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2233,7 +2905,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2233
2905
|
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, {
|
|
2234
2906
|
workspaceId: string;
|
|
2235
2907
|
kernel: Kernel;
|
|
2236
|
-
principal:
|
|
2908
|
+
principal: {
|
|
2909
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2910
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2911
|
+
email: string | null;
|
|
2912
|
+
name: string | null;
|
|
2913
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2914
|
+
instanceAdmin: boolean;
|
|
2915
|
+
service: string | null;
|
|
2916
|
+
memberships: {
|
|
2917
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
2918
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
2919
|
+
roleIds: string[];
|
|
2920
|
+
groupIds: string[];
|
|
2921
|
+
status: "active" | "invited" | "suspended";
|
|
2922
|
+
}[];
|
|
2923
|
+
permissionVersion: number;
|
|
2924
|
+
};
|
|
2237
2925
|
requestId: string;
|
|
2238
2926
|
ip: string;
|
|
2239
2927
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2300,7 +2988,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2300
2988
|
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, {
|
|
2301
2989
|
workspaceId: string;
|
|
2302
2990
|
kernel: Kernel;
|
|
2303
|
-
principal:
|
|
2991
|
+
principal: {
|
|
2992
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
2993
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
2994
|
+
email: string | null;
|
|
2995
|
+
name: string | null;
|
|
2996
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
2997
|
+
instanceAdmin: boolean;
|
|
2998
|
+
service: string | null;
|
|
2999
|
+
memberships: {
|
|
3000
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3001
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3002
|
+
roleIds: string[];
|
|
3003
|
+
groupIds: string[];
|
|
3004
|
+
status: "active" | "invited" | "suspended";
|
|
3005
|
+
}[];
|
|
3006
|
+
permissionVersion: number;
|
|
3007
|
+
};
|
|
2304
3008
|
requestId: string;
|
|
2305
3009
|
ip: string;
|
|
2306
3010
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2336,7 +3040,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2336
3040
|
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, {
|
|
2337
3041
|
workspaceId: string;
|
|
2338
3042
|
kernel: Kernel;
|
|
2339
|
-
principal:
|
|
3043
|
+
principal: {
|
|
3044
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3045
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3046
|
+
email: string | null;
|
|
3047
|
+
name: string | null;
|
|
3048
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3049
|
+
instanceAdmin: boolean;
|
|
3050
|
+
service: string | null;
|
|
3051
|
+
memberships: {
|
|
3052
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3053
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3054
|
+
roleIds: string[];
|
|
3055
|
+
groupIds: string[];
|
|
3056
|
+
status: "active" | "invited" | "suspended";
|
|
3057
|
+
}[];
|
|
3058
|
+
permissionVersion: number;
|
|
3059
|
+
};
|
|
2340
3060
|
requestId: string;
|
|
2341
3061
|
ip: string;
|
|
2342
3062
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2395,7 +3115,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2395
3115
|
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, {
|
|
2396
3116
|
workspaceId: string;
|
|
2397
3117
|
kernel: Kernel;
|
|
2398
|
-
principal:
|
|
3118
|
+
principal: {
|
|
3119
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3120
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3121
|
+
email: string | null;
|
|
3122
|
+
name: string | null;
|
|
3123
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3124
|
+
instanceAdmin: boolean;
|
|
3125
|
+
service: string | null;
|
|
3126
|
+
memberships: {
|
|
3127
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3128
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3129
|
+
roleIds: string[];
|
|
3130
|
+
groupIds: string[];
|
|
3131
|
+
status: "active" | "invited" | "suspended";
|
|
3132
|
+
}[];
|
|
3133
|
+
permissionVersion: number;
|
|
3134
|
+
};
|
|
2399
3135
|
requestId: string;
|
|
2400
3136
|
ip: string;
|
|
2401
3137
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2465,7 +3201,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2465
3201
|
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, {
|
|
2466
3202
|
workspaceId: string;
|
|
2467
3203
|
kernel: Kernel;
|
|
2468
|
-
principal:
|
|
3204
|
+
principal: {
|
|
3205
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3206
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3207
|
+
email: string | null;
|
|
3208
|
+
name: string | null;
|
|
3209
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3210
|
+
instanceAdmin: boolean;
|
|
3211
|
+
service: string | null;
|
|
3212
|
+
memberships: {
|
|
3213
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3214
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3215
|
+
roleIds: string[];
|
|
3216
|
+
groupIds: string[];
|
|
3217
|
+
status: "active" | "invited" | "suspended";
|
|
3218
|
+
}[];
|
|
3219
|
+
permissionVersion: number;
|
|
3220
|
+
};
|
|
2469
3221
|
requestId: string;
|
|
2470
3222
|
ip: string;
|
|
2471
3223
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2535,7 +3287,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2535
3287
|
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, {
|
|
2536
3288
|
workspaceId: string;
|
|
2537
3289
|
kernel: Kernel;
|
|
2538
|
-
principal:
|
|
3290
|
+
principal: {
|
|
3291
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3292
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3293
|
+
email: string | null;
|
|
3294
|
+
name: string | null;
|
|
3295
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3296
|
+
instanceAdmin: boolean;
|
|
3297
|
+
service: string | null;
|
|
3298
|
+
memberships: {
|
|
3299
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3300
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3301
|
+
roleIds: string[];
|
|
3302
|
+
groupIds: string[];
|
|
3303
|
+
status: "active" | "invited" | "suspended";
|
|
3304
|
+
}[];
|
|
3305
|
+
permissionVersion: number;
|
|
3306
|
+
};
|
|
2539
3307
|
requestId: string;
|
|
2540
3308
|
ip: string;
|
|
2541
3309
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2574,7 +3342,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2574
3342
|
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, {
|
|
2575
3343
|
workspaceId: string;
|
|
2576
3344
|
kernel: Kernel;
|
|
2577
|
-
principal:
|
|
3345
|
+
principal: {
|
|
3346
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3347
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3348
|
+
email: string | null;
|
|
3349
|
+
name: string | null;
|
|
3350
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3351
|
+
instanceAdmin: boolean;
|
|
3352
|
+
service: string | null;
|
|
3353
|
+
memberships: {
|
|
3354
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3355
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3356
|
+
roleIds: string[];
|
|
3357
|
+
groupIds: string[];
|
|
3358
|
+
status: "active" | "invited" | "suspended";
|
|
3359
|
+
}[];
|
|
3360
|
+
permissionVersion: number;
|
|
3361
|
+
};
|
|
2578
3362
|
requestId: string;
|
|
2579
3363
|
ip: string;
|
|
2580
3364
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2629,7 +3413,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2629
3413
|
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, {
|
|
2630
3414
|
workspaceId: string;
|
|
2631
3415
|
kernel: Kernel;
|
|
2632
|
-
principal:
|
|
3416
|
+
principal: {
|
|
3417
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3418
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3419
|
+
email: string | null;
|
|
3420
|
+
name: string | null;
|
|
3421
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3422
|
+
instanceAdmin: boolean;
|
|
3423
|
+
service: string | null;
|
|
3424
|
+
memberships: {
|
|
3425
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3426
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3427
|
+
roleIds: string[];
|
|
3428
|
+
groupIds: string[];
|
|
3429
|
+
status: "active" | "invited" | "suspended";
|
|
3430
|
+
}[];
|
|
3431
|
+
permissionVersion: number;
|
|
3432
|
+
};
|
|
2633
3433
|
requestId: string;
|
|
2634
3434
|
ip: string;
|
|
2635
3435
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2670,7 +3470,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2670
3470
|
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, {
|
|
2671
3471
|
workspaceId: string;
|
|
2672
3472
|
kernel: Kernel;
|
|
2673
|
-
principal:
|
|
3473
|
+
principal: {
|
|
3474
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3475
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3476
|
+
email: string | null;
|
|
3477
|
+
name: string | null;
|
|
3478
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3479
|
+
instanceAdmin: boolean;
|
|
3480
|
+
service: string | null;
|
|
3481
|
+
memberships: {
|
|
3482
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3483
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3484
|
+
roleIds: string[];
|
|
3485
|
+
groupIds: string[];
|
|
3486
|
+
status: "active" | "invited" | "suspended";
|
|
3487
|
+
}[];
|
|
3488
|
+
permissionVersion: number;
|
|
3489
|
+
};
|
|
2674
3490
|
requestId: string;
|
|
2675
3491
|
ip: string;
|
|
2676
3492
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2715,7 +3531,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2715
3531
|
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, {
|
|
2716
3532
|
workspaceId: string;
|
|
2717
3533
|
kernel: Kernel;
|
|
2718
|
-
principal:
|
|
3534
|
+
principal: {
|
|
3535
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3536
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3537
|
+
email: string | null;
|
|
3538
|
+
name: string | null;
|
|
3539
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3540
|
+
instanceAdmin: boolean;
|
|
3541
|
+
service: string | null;
|
|
3542
|
+
memberships: {
|
|
3543
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3544
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3545
|
+
roleIds: string[];
|
|
3546
|
+
groupIds: string[];
|
|
3547
|
+
status: "active" | "invited" | "suspended";
|
|
3548
|
+
}[];
|
|
3549
|
+
permissionVersion: number;
|
|
3550
|
+
};
|
|
2719
3551
|
requestId: string;
|
|
2720
3552
|
ip: string;
|
|
2721
3553
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2759,7 +3591,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2759
3591
|
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, {
|
|
2760
3592
|
workspaceId: string;
|
|
2761
3593
|
kernel: Kernel;
|
|
2762
|
-
principal:
|
|
3594
|
+
principal: {
|
|
3595
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3596
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3597
|
+
email: string | null;
|
|
3598
|
+
name: string | null;
|
|
3599
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3600
|
+
instanceAdmin: boolean;
|
|
3601
|
+
service: string | null;
|
|
3602
|
+
memberships: {
|
|
3603
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3604
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3605
|
+
roleIds: string[];
|
|
3606
|
+
groupIds: string[];
|
|
3607
|
+
status: "active" | "invited" | "suspended";
|
|
3608
|
+
}[];
|
|
3609
|
+
permissionVersion: number;
|
|
3610
|
+
};
|
|
2763
3611
|
requestId: string;
|
|
2764
3612
|
ip: string;
|
|
2765
3613
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2808,7 +3656,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2808
3656
|
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, {
|
|
2809
3657
|
workspaceId: string;
|
|
2810
3658
|
kernel: Kernel;
|
|
2811
|
-
principal:
|
|
3659
|
+
principal: {
|
|
3660
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3661
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3662
|
+
email: string | null;
|
|
3663
|
+
name: string | null;
|
|
3664
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3665
|
+
instanceAdmin: boolean;
|
|
3666
|
+
service: string | null;
|
|
3667
|
+
memberships: {
|
|
3668
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3669
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3670
|
+
roleIds: string[];
|
|
3671
|
+
groupIds: string[];
|
|
3672
|
+
status: "active" | "invited" | "suspended";
|
|
3673
|
+
}[];
|
|
3674
|
+
permissionVersion: number;
|
|
3675
|
+
};
|
|
2812
3676
|
requestId: string;
|
|
2813
3677
|
ip: string;
|
|
2814
3678
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2846,7 +3710,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2846
3710
|
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, {
|
|
2847
3711
|
workspaceId: string;
|
|
2848
3712
|
kernel: Kernel;
|
|
2849
|
-
principal:
|
|
3713
|
+
principal: {
|
|
3714
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3715
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3716
|
+
email: string | null;
|
|
3717
|
+
name: string | null;
|
|
3718
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3719
|
+
instanceAdmin: boolean;
|
|
3720
|
+
service: string | null;
|
|
3721
|
+
memberships: {
|
|
3722
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3723
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3724
|
+
roleIds: string[];
|
|
3725
|
+
groupIds: string[];
|
|
3726
|
+
status: "active" | "invited" | "suspended";
|
|
3727
|
+
}[];
|
|
3728
|
+
permissionVersion: number;
|
|
3729
|
+
};
|
|
2850
3730
|
requestId: string;
|
|
2851
3731
|
ip: string;
|
|
2852
3732
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2924,7 +3804,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2924
3804
|
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, {
|
|
2925
3805
|
workspaceId: string;
|
|
2926
3806
|
kernel: Kernel;
|
|
2927
|
-
principal:
|
|
3807
|
+
principal: {
|
|
3808
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3809
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3810
|
+
email: string | null;
|
|
3811
|
+
name: string | null;
|
|
3812
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3813
|
+
instanceAdmin: boolean;
|
|
3814
|
+
service: string | null;
|
|
3815
|
+
memberships: {
|
|
3816
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3817
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3818
|
+
roleIds: string[];
|
|
3819
|
+
groupIds: string[];
|
|
3820
|
+
status: "active" | "invited" | "suspended";
|
|
3821
|
+
}[];
|
|
3822
|
+
permissionVersion: number;
|
|
3823
|
+
};
|
|
2928
3824
|
requestId: string;
|
|
2929
3825
|
ip: string;
|
|
2930
3826
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2995,7 +3891,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
2995
3891
|
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, {
|
|
2996
3892
|
workspaceId: string;
|
|
2997
3893
|
kernel: Kernel;
|
|
2998
|
-
principal:
|
|
3894
|
+
principal: {
|
|
3895
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3896
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3897
|
+
email: string | null;
|
|
3898
|
+
name: string | null;
|
|
3899
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3900
|
+
instanceAdmin: boolean;
|
|
3901
|
+
service: string | null;
|
|
3902
|
+
memberships: {
|
|
3903
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3904
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3905
|
+
roleIds: string[];
|
|
3906
|
+
groupIds: string[];
|
|
3907
|
+
status: "active" | "invited" | "suspended";
|
|
3908
|
+
}[];
|
|
3909
|
+
permissionVersion: number;
|
|
3910
|
+
};
|
|
2999
3911
|
requestId: string;
|
|
3000
3912
|
ip: string;
|
|
3001
3913
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3059,7 +3971,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3059
3971
|
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, {
|
|
3060
3972
|
workspaceId: string;
|
|
3061
3973
|
kernel: Kernel;
|
|
3062
|
-
principal:
|
|
3974
|
+
principal: {
|
|
3975
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
3976
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
3977
|
+
email: string | null;
|
|
3978
|
+
name: string | null;
|
|
3979
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
3980
|
+
instanceAdmin: boolean;
|
|
3981
|
+
service: string | null;
|
|
3982
|
+
memberships: {
|
|
3983
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
3984
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
3985
|
+
roleIds: string[];
|
|
3986
|
+
groupIds: string[];
|
|
3987
|
+
status: "active" | "invited" | "suspended";
|
|
3988
|
+
}[];
|
|
3989
|
+
permissionVersion: number;
|
|
3990
|
+
};
|
|
3063
3991
|
requestId: string;
|
|
3064
3992
|
ip: string;
|
|
3065
3993
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3116,7 +4044,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3116
4044
|
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, {
|
|
3117
4045
|
workspaceId: string;
|
|
3118
4046
|
kernel: Kernel;
|
|
3119
|
-
principal:
|
|
4047
|
+
principal: {
|
|
4048
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4049
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4050
|
+
email: string | null;
|
|
4051
|
+
name: string | null;
|
|
4052
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4053
|
+
instanceAdmin: boolean;
|
|
4054
|
+
service: string | null;
|
|
4055
|
+
memberships: {
|
|
4056
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4057
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4058
|
+
roleIds: string[];
|
|
4059
|
+
groupIds: string[];
|
|
4060
|
+
status: "active" | "invited" | "suspended";
|
|
4061
|
+
}[];
|
|
4062
|
+
permissionVersion: number;
|
|
4063
|
+
};
|
|
3120
4064
|
requestId: string;
|
|
3121
4065
|
ip: string;
|
|
3122
4066
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3151,7 +4095,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3151
4095
|
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, {
|
|
3152
4096
|
workspaceId: string;
|
|
3153
4097
|
kernel: Kernel;
|
|
3154
|
-
principal:
|
|
4098
|
+
principal: {
|
|
4099
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4100
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4101
|
+
email: string | null;
|
|
4102
|
+
name: string | null;
|
|
4103
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4104
|
+
instanceAdmin: boolean;
|
|
4105
|
+
service: string | null;
|
|
4106
|
+
memberships: {
|
|
4107
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4108
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4109
|
+
roleIds: string[];
|
|
4110
|
+
groupIds: string[];
|
|
4111
|
+
status: "active" | "invited" | "suspended";
|
|
4112
|
+
}[];
|
|
4113
|
+
permissionVersion: number;
|
|
4114
|
+
};
|
|
3155
4115
|
requestId: string;
|
|
3156
4116
|
ip: string;
|
|
3157
4117
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3211,7 +4171,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3211
4171
|
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, {
|
|
3212
4172
|
workspaceId: string;
|
|
3213
4173
|
kernel: Kernel;
|
|
3214
|
-
principal:
|
|
4174
|
+
principal: {
|
|
4175
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4176
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4177
|
+
email: string | null;
|
|
4178
|
+
name: string | null;
|
|
4179
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4180
|
+
instanceAdmin: boolean;
|
|
4181
|
+
service: string | null;
|
|
4182
|
+
memberships: {
|
|
4183
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4184
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4185
|
+
roleIds: string[];
|
|
4186
|
+
groupIds: string[];
|
|
4187
|
+
status: "active" | "invited" | "suspended";
|
|
4188
|
+
}[];
|
|
4189
|
+
permissionVersion: number;
|
|
4190
|
+
};
|
|
3215
4191
|
requestId: string;
|
|
3216
4192
|
ip: string;
|
|
3217
4193
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3246,7 +4222,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3246
4222
|
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, {
|
|
3247
4223
|
workspaceId: string;
|
|
3248
4224
|
kernel: Kernel;
|
|
3249
|
-
principal:
|
|
4225
|
+
principal: {
|
|
4226
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4227
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4228
|
+
email: string | null;
|
|
4229
|
+
name: string | null;
|
|
4230
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4231
|
+
instanceAdmin: boolean;
|
|
4232
|
+
service: string | null;
|
|
4233
|
+
memberships: {
|
|
4234
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4235
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4236
|
+
roleIds: string[];
|
|
4237
|
+
groupIds: string[];
|
|
4238
|
+
status: "active" | "invited" | "suspended";
|
|
4239
|
+
}[];
|
|
4240
|
+
permissionVersion: number;
|
|
4241
|
+
};
|
|
3250
4242
|
requestId: string;
|
|
3251
4243
|
ip: string;
|
|
3252
4244
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3302,7 +4294,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3302
4294
|
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, {
|
|
3303
4295
|
workspaceId: string;
|
|
3304
4296
|
kernel: Kernel;
|
|
3305
|
-
principal:
|
|
4297
|
+
principal: {
|
|
4298
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4299
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4300
|
+
email: string | null;
|
|
4301
|
+
name: string | null;
|
|
4302
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4303
|
+
instanceAdmin: boolean;
|
|
4304
|
+
service: string | null;
|
|
4305
|
+
memberships: {
|
|
4306
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4307
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4308
|
+
roleIds: string[];
|
|
4309
|
+
groupIds: string[];
|
|
4310
|
+
status: "active" | "invited" | "suspended";
|
|
4311
|
+
}[];
|
|
4312
|
+
permissionVersion: number;
|
|
4313
|
+
};
|
|
3306
4314
|
requestId: string;
|
|
3307
4315
|
ip: string;
|
|
3308
4316
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3356,7 +4364,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3356
4364
|
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, {
|
|
3357
4365
|
workspaceId: string;
|
|
3358
4366
|
kernel: Kernel;
|
|
3359
|
-
principal:
|
|
4367
|
+
principal: {
|
|
4368
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4369
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4370
|
+
email: string | null;
|
|
4371
|
+
name: string | null;
|
|
4372
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4373
|
+
instanceAdmin: boolean;
|
|
4374
|
+
service: string | null;
|
|
4375
|
+
memberships: {
|
|
4376
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4377
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4378
|
+
roleIds: string[];
|
|
4379
|
+
groupIds: string[];
|
|
4380
|
+
status: "active" | "invited" | "suspended";
|
|
4381
|
+
}[];
|
|
4382
|
+
permissionVersion: number;
|
|
4383
|
+
};
|
|
3360
4384
|
requestId: string;
|
|
3361
4385
|
ip: string;
|
|
3362
4386
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3397,7 +4421,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3397
4421
|
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, {
|
|
3398
4422
|
workspaceId: string;
|
|
3399
4423
|
kernel: Kernel;
|
|
3400
|
-
principal:
|
|
4424
|
+
principal: {
|
|
4425
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4426
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4427
|
+
email: string | null;
|
|
4428
|
+
name: string | null;
|
|
4429
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4430
|
+
instanceAdmin: boolean;
|
|
4431
|
+
service: string | null;
|
|
4432
|
+
memberships: {
|
|
4433
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4434
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4435
|
+
roleIds: string[];
|
|
4436
|
+
groupIds: string[];
|
|
4437
|
+
status: "active" | "invited" | "suspended";
|
|
4438
|
+
}[];
|
|
4439
|
+
permissionVersion: number;
|
|
4440
|
+
};
|
|
3401
4441
|
requestId: string;
|
|
3402
4442
|
ip: string;
|
|
3403
4443
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3456,7 +4496,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3456
4496
|
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, {
|
|
3457
4497
|
workspaceId: string;
|
|
3458
4498
|
kernel: Kernel;
|
|
3459
|
-
principal:
|
|
4499
|
+
principal: {
|
|
4500
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4501
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4502
|
+
email: string | null;
|
|
4503
|
+
name: string | null;
|
|
4504
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4505
|
+
instanceAdmin: boolean;
|
|
4506
|
+
service: string | null;
|
|
4507
|
+
memberships: {
|
|
4508
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4509
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4510
|
+
roleIds: string[];
|
|
4511
|
+
groupIds: string[];
|
|
4512
|
+
status: "active" | "invited" | "suspended";
|
|
4513
|
+
}[];
|
|
4514
|
+
permissionVersion: number;
|
|
4515
|
+
};
|
|
3460
4516
|
requestId: string;
|
|
3461
4517
|
ip: string;
|
|
3462
4518
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3512,7 +4568,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3512
4568
|
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, {
|
|
3513
4569
|
workspaceId: string;
|
|
3514
4570
|
kernel: Kernel;
|
|
3515
|
-
principal:
|
|
4571
|
+
principal: {
|
|
4572
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4573
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4574
|
+
email: string | null;
|
|
4575
|
+
name: string | null;
|
|
4576
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4577
|
+
instanceAdmin: boolean;
|
|
4578
|
+
service: string | null;
|
|
4579
|
+
memberships: {
|
|
4580
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4581
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4582
|
+
roleIds: string[];
|
|
4583
|
+
groupIds: string[];
|
|
4584
|
+
status: "active" | "invited" | "suspended";
|
|
4585
|
+
}[];
|
|
4586
|
+
permissionVersion: number;
|
|
4587
|
+
};
|
|
3516
4588
|
requestId: string;
|
|
3517
4589
|
ip: string;
|
|
3518
4590
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3564,7 +4636,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3564
4636
|
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, {
|
|
3565
4637
|
workspaceId: string;
|
|
3566
4638
|
kernel: Kernel;
|
|
3567
|
-
principal:
|
|
4639
|
+
principal: {
|
|
4640
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4641
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4642
|
+
email: string | null;
|
|
4643
|
+
name: string | null;
|
|
4644
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4645
|
+
instanceAdmin: boolean;
|
|
4646
|
+
service: string | null;
|
|
4647
|
+
memberships: {
|
|
4648
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4649
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4650
|
+
roleIds: string[];
|
|
4651
|
+
groupIds: string[];
|
|
4652
|
+
status: "active" | "invited" | "suspended";
|
|
4653
|
+
}[];
|
|
4654
|
+
permissionVersion: number;
|
|
4655
|
+
};
|
|
3568
4656
|
requestId: string;
|
|
3569
4657
|
ip: string;
|
|
3570
4658
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3618,7 +4706,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3618
4706
|
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, {
|
|
3619
4707
|
workspaceId: string;
|
|
3620
4708
|
kernel: Kernel;
|
|
3621
|
-
principal:
|
|
4709
|
+
principal: {
|
|
4710
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4711
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4712
|
+
email: string | null;
|
|
4713
|
+
name: string | null;
|
|
4714
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4715
|
+
instanceAdmin: boolean;
|
|
4716
|
+
service: string | null;
|
|
4717
|
+
memberships: {
|
|
4718
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4719
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4720
|
+
roleIds: string[];
|
|
4721
|
+
groupIds: string[];
|
|
4722
|
+
status: "active" | "invited" | "suspended";
|
|
4723
|
+
}[];
|
|
4724
|
+
permissionVersion: number;
|
|
4725
|
+
};
|
|
3622
4726
|
requestId: string;
|
|
3623
4727
|
ip: string;
|
|
3624
4728
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3659,7 +4763,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3659
4763
|
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, {
|
|
3660
4764
|
workspaceId: string;
|
|
3661
4765
|
kernel: Kernel;
|
|
3662
|
-
principal:
|
|
4766
|
+
principal: {
|
|
4767
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4768
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4769
|
+
email: string | null;
|
|
4770
|
+
name: string | null;
|
|
4771
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4772
|
+
instanceAdmin: boolean;
|
|
4773
|
+
service: string | null;
|
|
4774
|
+
memberships: {
|
|
4775
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4776
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4777
|
+
roleIds: string[];
|
|
4778
|
+
groupIds: string[];
|
|
4779
|
+
status: "active" | "invited" | "suspended";
|
|
4780
|
+
}[];
|
|
4781
|
+
permissionVersion: number;
|
|
4782
|
+
};
|
|
3663
4783
|
requestId: string;
|
|
3664
4784
|
ip: string;
|
|
3665
4785
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3748,7 +4868,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3748
4868
|
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, {
|
|
3749
4869
|
workspaceId: string;
|
|
3750
4870
|
kernel: Kernel;
|
|
3751
|
-
principal:
|
|
4871
|
+
principal: {
|
|
4872
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4873
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4874
|
+
email: string | null;
|
|
4875
|
+
name: string | null;
|
|
4876
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4877
|
+
instanceAdmin: boolean;
|
|
4878
|
+
service: string | null;
|
|
4879
|
+
memberships: {
|
|
4880
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4881
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4882
|
+
roleIds: string[];
|
|
4883
|
+
groupIds: string[];
|
|
4884
|
+
status: "active" | "invited" | "suspended";
|
|
4885
|
+
}[];
|
|
4886
|
+
permissionVersion: number;
|
|
4887
|
+
};
|
|
3752
4888
|
requestId: string;
|
|
3753
4889
|
ip: string;
|
|
3754
4890
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3837,7 +4973,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3837
4973
|
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, {
|
|
3838
4974
|
workspaceId: string;
|
|
3839
4975
|
kernel: Kernel;
|
|
3840
|
-
principal:
|
|
4976
|
+
principal: {
|
|
4977
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
4978
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
4979
|
+
email: string | null;
|
|
4980
|
+
name: string | null;
|
|
4981
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
4982
|
+
instanceAdmin: boolean;
|
|
4983
|
+
service: string | null;
|
|
4984
|
+
memberships: {
|
|
4985
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
4986
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
4987
|
+
roleIds: string[];
|
|
4988
|
+
groupIds: string[];
|
|
4989
|
+
status: "active" | "invited" | "suspended";
|
|
4990
|
+
}[];
|
|
4991
|
+
permissionVersion: number;
|
|
4992
|
+
};
|
|
3841
4993
|
requestId: string;
|
|
3842
4994
|
ip: string;
|
|
3843
4995
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3910,7 +5062,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3910
5062
|
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, {
|
|
3911
5063
|
workspaceId: string;
|
|
3912
5064
|
kernel: Kernel;
|
|
3913
|
-
principal:
|
|
5065
|
+
principal: {
|
|
5066
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5067
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5068
|
+
email: string | null;
|
|
5069
|
+
name: string | null;
|
|
5070
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5071
|
+
instanceAdmin: boolean;
|
|
5072
|
+
service: string | null;
|
|
5073
|
+
memberships: {
|
|
5074
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5075
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5076
|
+
roleIds: string[];
|
|
5077
|
+
groupIds: string[];
|
|
5078
|
+
status: "active" | "invited" | "suspended";
|
|
5079
|
+
}[];
|
|
5080
|
+
permissionVersion: number;
|
|
5081
|
+
};
|
|
3914
5082
|
requestId: string;
|
|
3915
5083
|
ip: string;
|
|
3916
5084
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -3984,7 +5152,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
3984
5152
|
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, {
|
|
3985
5153
|
workspaceId: string;
|
|
3986
5154
|
kernel: Kernel;
|
|
3987
|
-
principal:
|
|
5155
|
+
principal: {
|
|
5156
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5157
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5158
|
+
email: string | null;
|
|
5159
|
+
name: string | null;
|
|
5160
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5161
|
+
instanceAdmin: boolean;
|
|
5162
|
+
service: string | null;
|
|
5163
|
+
memberships: {
|
|
5164
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5165
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5166
|
+
roleIds: string[];
|
|
5167
|
+
groupIds: string[];
|
|
5168
|
+
status: "active" | "invited" | "suspended";
|
|
5169
|
+
}[];
|
|
5170
|
+
permissionVersion: number;
|
|
5171
|
+
};
|
|
3988
5172
|
requestId: string;
|
|
3989
5173
|
ip: string;
|
|
3990
5174
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4065,7 +5249,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4065
5249
|
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, {
|
|
4066
5250
|
workspaceId: string;
|
|
4067
5251
|
kernel: Kernel;
|
|
4068
|
-
principal:
|
|
5252
|
+
principal: {
|
|
5253
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5254
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5255
|
+
email: string | null;
|
|
5256
|
+
name: string | null;
|
|
5257
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5258
|
+
instanceAdmin: boolean;
|
|
5259
|
+
service: string | null;
|
|
5260
|
+
memberships: {
|
|
5261
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5262
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5263
|
+
roleIds: string[];
|
|
5264
|
+
groupIds: string[];
|
|
5265
|
+
status: "active" | "invited" | "suspended";
|
|
5266
|
+
}[];
|
|
5267
|
+
permissionVersion: number;
|
|
5268
|
+
};
|
|
4069
5269
|
requestId: string;
|
|
4070
5270
|
ip: string;
|
|
4071
5271
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4103,7 +5303,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4103
5303
|
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, {
|
|
4104
5304
|
workspaceId: string;
|
|
4105
5305
|
kernel: Kernel;
|
|
4106
|
-
principal:
|
|
5306
|
+
principal: {
|
|
5307
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5308
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5309
|
+
email: string | null;
|
|
5310
|
+
name: string | null;
|
|
5311
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5312
|
+
instanceAdmin: boolean;
|
|
5313
|
+
service: string | null;
|
|
5314
|
+
memberships: {
|
|
5315
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5316
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5317
|
+
roleIds: string[];
|
|
5318
|
+
groupIds: string[];
|
|
5319
|
+
status: "active" | "invited" | "suspended";
|
|
5320
|
+
}[];
|
|
5321
|
+
permissionVersion: number;
|
|
5322
|
+
};
|
|
4107
5323
|
requestId: string;
|
|
4108
5324
|
ip: string;
|
|
4109
5325
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4172,7 +5388,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4172
5388
|
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, {
|
|
4173
5389
|
workspaceId: string;
|
|
4174
5390
|
kernel: Kernel;
|
|
4175
|
-
principal:
|
|
5391
|
+
principal: {
|
|
5392
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5393
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5394
|
+
email: string | null;
|
|
5395
|
+
name: string | null;
|
|
5396
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5397
|
+
instanceAdmin: boolean;
|
|
5398
|
+
service: string | null;
|
|
5399
|
+
memberships: {
|
|
5400
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5401
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5402
|
+
roleIds: string[];
|
|
5403
|
+
groupIds: string[];
|
|
5404
|
+
status: "active" | "invited" | "suspended";
|
|
5405
|
+
}[];
|
|
5406
|
+
permissionVersion: number;
|
|
5407
|
+
};
|
|
4176
5408
|
requestId: string;
|
|
4177
5409
|
ip: string;
|
|
4178
5410
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4212,7 +5444,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4212
5444
|
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, {
|
|
4213
5445
|
workspaceId: string;
|
|
4214
5446
|
kernel: Kernel;
|
|
4215
|
-
principal:
|
|
5447
|
+
principal: {
|
|
5448
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5449
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5450
|
+
email: string | null;
|
|
5451
|
+
name: string | null;
|
|
5452
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5453
|
+
instanceAdmin: boolean;
|
|
5454
|
+
service: string | null;
|
|
5455
|
+
memberships: {
|
|
5456
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5457
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5458
|
+
roleIds: string[];
|
|
5459
|
+
groupIds: string[];
|
|
5460
|
+
status: "active" | "invited" | "suspended";
|
|
5461
|
+
}[];
|
|
5462
|
+
permissionVersion: number;
|
|
5463
|
+
};
|
|
4216
5464
|
requestId: string;
|
|
4217
5465
|
ip: string;
|
|
4218
5466
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4283,7 +5531,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4283
5531
|
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, {
|
|
4284
5532
|
workspaceId: string;
|
|
4285
5533
|
kernel: Kernel;
|
|
4286
|
-
principal:
|
|
5534
|
+
principal: {
|
|
5535
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5536
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5537
|
+
email: string | null;
|
|
5538
|
+
name: string | null;
|
|
5539
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5540
|
+
instanceAdmin: boolean;
|
|
5541
|
+
service: string | null;
|
|
5542
|
+
memberships: {
|
|
5543
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5544
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5545
|
+
roleIds: string[];
|
|
5546
|
+
groupIds: string[];
|
|
5547
|
+
status: "active" | "invited" | "suspended";
|
|
5548
|
+
}[];
|
|
5549
|
+
permissionVersion: number;
|
|
5550
|
+
};
|
|
4287
5551
|
requestId: string;
|
|
4288
5552
|
ip: string;
|
|
4289
5553
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4387,7 +5651,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4387
5651
|
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, {
|
|
4388
5652
|
workspaceId: string;
|
|
4389
5653
|
kernel: Kernel;
|
|
4390
|
-
principal:
|
|
5654
|
+
principal: {
|
|
5655
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5656
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5657
|
+
email: string | null;
|
|
5658
|
+
name: string | null;
|
|
5659
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5660
|
+
instanceAdmin: boolean;
|
|
5661
|
+
service: string | null;
|
|
5662
|
+
memberships: {
|
|
5663
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5664
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5665
|
+
roleIds: string[];
|
|
5666
|
+
groupIds: string[];
|
|
5667
|
+
status: "active" | "invited" | "suspended";
|
|
5668
|
+
}[];
|
|
5669
|
+
permissionVersion: number;
|
|
5670
|
+
};
|
|
4391
5671
|
requestId: string;
|
|
4392
5672
|
ip: string;
|
|
4393
5673
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4481,7 +5761,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4481
5761
|
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, {
|
|
4482
5762
|
workspaceId: string;
|
|
4483
5763
|
kernel: Kernel;
|
|
4484
|
-
principal:
|
|
5764
|
+
principal: {
|
|
5765
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5766
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5767
|
+
email: string | null;
|
|
5768
|
+
name: string | null;
|
|
5769
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5770
|
+
instanceAdmin: boolean;
|
|
5771
|
+
service: string | null;
|
|
5772
|
+
memberships: {
|
|
5773
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5774
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5775
|
+
roleIds: string[];
|
|
5776
|
+
groupIds: string[];
|
|
5777
|
+
status: "active" | "invited" | "suspended";
|
|
5778
|
+
}[];
|
|
5779
|
+
permissionVersion: number;
|
|
5780
|
+
};
|
|
4485
5781
|
requestId: string;
|
|
4486
5782
|
ip: string;
|
|
4487
5783
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4516,7 +5812,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4516
5812
|
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, {
|
|
4517
5813
|
workspaceId: string;
|
|
4518
5814
|
kernel: Kernel;
|
|
4519
|
-
principal:
|
|
5815
|
+
principal: {
|
|
5816
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5817
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5818
|
+
email: string | null;
|
|
5819
|
+
name: string | null;
|
|
5820
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5821
|
+
instanceAdmin: boolean;
|
|
5822
|
+
service: string | null;
|
|
5823
|
+
memberships: {
|
|
5824
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5825
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5826
|
+
roleIds: string[];
|
|
5827
|
+
groupIds: string[];
|
|
5828
|
+
status: "active" | "invited" | "suspended";
|
|
5829
|
+
}[];
|
|
5830
|
+
permissionVersion: number;
|
|
5831
|
+
};
|
|
4520
5832
|
requestId: string;
|
|
4521
5833
|
ip: string;
|
|
4522
5834
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4560,7 +5872,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4560
5872
|
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, {
|
|
4561
5873
|
workspaceId: string;
|
|
4562
5874
|
kernel: Kernel;
|
|
4563
|
-
principal:
|
|
5875
|
+
principal: {
|
|
5876
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5877
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5878
|
+
email: string | null;
|
|
5879
|
+
name: string | null;
|
|
5880
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5881
|
+
instanceAdmin: boolean;
|
|
5882
|
+
service: string | null;
|
|
5883
|
+
memberships: {
|
|
5884
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5885
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5886
|
+
roleIds: string[];
|
|
5887
|
+
groupIds: string[];
|
|
5888
|
+
status: "active" | "invited" | "suspended";
|
|
5889
|
+
}[];
|
|
5890
|
+
permissionVersion: number;
|
|
5891
|
+
};
|
|
4564
5892
|
requestId: string;
|
|
4565
5893
|
ip: string;
|
|
4566
5894
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4630,7 +5958,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4630
5958
|
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, {
|
|
4631
5959
|
workspaceId: string;
|
|
4632
5960
|
kernel: Kernel;
|
|
4633
|
-
principal:
|
|
5961
|
+
principal: {
|
|
5962
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
5963
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
5964
|
+
email: string | null;
|
|
5965
|
+
name: string | null;
|
|
5966
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
5967
|
+
instanceAdmin: boolean;
|
|
5968
|
+
service: string | null;
|
|
5969
|
+
memberships: {
|
|
5970
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
5971
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
5972
|
+
roleIds: string[];
|
|
5973
|
+
groupIds: string[];
|
|
5974
|
+
status: "active" | "invited" | "suspended";
|
|
5975
|
+
}[];
|
|
5976
|
+
permissionVersion: number;
|
|
5977
|
+
};
|
|
4634
5978
|
requestId: string;
|
|
4635
5979
|
ip: string;
|
|
4636
5980
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4704,7 +6048,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4704
6048
|
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, {
|
|
4705
6049
|
workspaceId: string;
|
|
4706
6050
|
kernel: Kernel;
|
|
4707
|
-
principal:
|
|
6051
|
+
principal: {
|
|
6052
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6053
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6054
|
+
email: string | null;
|
|
6055
|
+
name: string | null;
|
|
6056
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6057
|
+
instanceAdmin: boolean;
|
|
6058
|
+
service: string | null;
|
|
6059
|
+
memberships: {
|
|
6060
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6061
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6062
|
+
roleIds: string[];
|
|
6063
|
+
groupIds: string[];
|
|
6064
|
+
status: "active" | "invited" | "suspended";
|
|
6065
|
+
}[];
|
|
6066
|
+
permissionVersion: number;
|
|
6067
|
+
};
|
|
4708
6068
|
requestId: string;
|
|
4709
6069
|
ip: string;
|
|
4710
6070
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4756,7 +6116,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4756
6116
|
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, {
|
|
4757
6117
|
workspaceId: string;
|
|
4758
6118
|
kernel: Kernel;
|
|
4759
|
-
principal:
|
|
6119
|
+
principal: {
|
|
6120
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6121
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6122
|
+
email: string | null;
|
|
6123
|
+
name: string | null;
|
|
6124
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6125
|
+
instanceAdmin: boolean;
|
|
6126
|
+
service: string | null;
|
|
6127
|
+
memberships: {
|
|
6128
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6129
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6130
|
+
roleIds: string[];
|
|
6131
|
+
groupIds: string[];
|
|
6132
|
+
status: "active" | "invited" | "suspended";
|
|
6133
|
+
}[];
|
|
6134
|
+
permissionVersion: number;
|
|
6135
|
+
};
|
|
4760
6136
|
requestId: string;
|
|
4761
6137
|
ip: string;
|
|
4762
6138
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4821,7 +6197,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4821
6197
|
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, {
|
|
4822
6198
|
workspaceId: string;
|
|
4823
6199
|
kernel: Kernel;
|
|
4824
|
-
principal:
|
|
6200
|
+
principal: {
|
|
6201
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6202
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6203
|
+
email: string | null;
|
|
6204
|
+
name: string | null;
|
|
6205
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6206
|
+
instanceAdmin: boolean;
|
|
6207
|
+
service: string | null;
|
|
6208
|
+
memberships: {
|
|
6209
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6210
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6211
|
+
roleIds: string[];
|
|
6212
|
+
groupIds: string[];
|
|
6213
|
+
status: "active" | "invited" | "suspended";
|
|
6214
|
+
}[];
|
|
6215
|
+
permissionVersion: number;
|
|
6216
|
+
};
|
|
4825
6217
|
requestId: string;
|
|
4826
6218
|
ip: string;
|
|
4827
6219
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4882,7 +6274,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4882
6274
|
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, {
|
|
4883
6275
|
workspaceId: string;
|
|
4884
6276
|
kernel: Kernel;
|
|
4885
|
-
principal:
|
|
6277
|
+
principal: {
|
|
6278
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6279
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6280
|
+
email: string | null;
|
|
6281
|
+
name: string | null;
|
|
6282
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6283
|
+
instanceAdmin: boolean;
|
|
6284
|
+
service: string | null;
|
|
6285
|
+
memberships: {
|
|
6286
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6287
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6288
|
+
roleIds: string[];
|
|
6289
|
+
groupIds: string[];
|
|
6290
|
+
status: "active" | "invited" | "suspended";
|
|
6291
|
+
}[];
|
|
6292
|
+
permissionVersion: number;
|
|
6293
|
+
};
|
|
4886
6294
|
requestId: string;
|
|
4887
6295
|
ip: string;
|
|
4888
6296
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4919,7 +6327,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4919
6327
|
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, {
|
|
4920
6328
|
workspaceId: string;
|
|
4921
6329
|
kernel: Kernel;
|
|
4922
|
-
principal:
|
|
6330
|
+
principal: {
|
|
6331
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6332
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6333
|
+
email: string | null;
|
|
6334
|
+
name: string | null;
|
|
6335
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6336
|
+
instanceAdmin: boolean;
|
|
6337
|
+
service: string | null;
|
|
6338
|
+
memberships: {
|
|
6339
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6340
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6341
|
+
roleIds: string[];
|
|
6342
|
+
groupIds: string[];
|
|
6343
|
+
status: "active" | "invited" | "suspended";
|
|
6344
|
+
}[];
|
|
6345
|
+
permissionVersion: number;
|
|
6346
|
+
};
|
|
4923
6347
|
requestId: string;
|
|
4924
6348
|
ip: string;
|
|
4925
6349
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -4971,7 +6395,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
4971
6395
|
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, {
|
|
4972
6396
|
workspaceId: string;
|
|
4973
6397
|
kernel: Kernel;
|
|
4974
|
-
principal:
|
|
6398
|
+
principal: {
|
|
6399
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6400
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6401
|
+
email: string | null;
|
|
6402
|
+
name: string | null;
|
|
6403
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6404
|
+
instanceAdmin: boolean;
|
|
6405
|
+
service: string | null;
|
|
6406
|
+
memberships: {
|
|
6407
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6408
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6409
|
+
roleIds: string[];
|
|
6410
|
+
groupIds: string[];
|
|
6411
|
+
status: "active" | "invited" | "suspended";
|
|
6412
|
+
}[];
|
|
6413
|
+
permissionVersion: number;
|
|
6414
|
+
};
|
|
4975
6415
|
requestId: string;
|
|
4976
6416
|
ip: string;
|
|
4977
6417
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5038,7 +6478,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5038
6478
|
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, {
|
|
5039
6479
|
workspaceId: string;
|
|
5040
6480
|
kernel: Kernel;
|
|
5041
|
-
principal:
|
|
6481
|
+
principal: {
|
|
6482
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6483
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6484
|
+
email: string | null;
|
|
6485
|
+
name: string | null;
|
|
6486
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6487
|
+
instanceAdmin: boolean;
|
|
6488
|
+
service: string | null;
|
|
6489
|
+
memberships: {
|
|
6490
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6491
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6492
|
+
roleIds: string[];
|
|
6493
|
+
groupIds: string[];
|
|
6494
|
+
status: "active" | "invited" | "suspended";
|
|
6495
|
+
}[];
|
|
6496
|
+
permissionVersion: number;
|
|
6497
|
+
};
|
|
5042
6498
|
requestId: string;
|
|
5043
6499
|
ip: string;
|
|
5044
6500
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5112,7 +6568,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5112
6568
|
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, {
|
|
5113
6569
|
workspaceId: string;
|
|
5114
6570
|
kernel: Kernel;
|
|
5115
|
-
principal:
|
|
6571
|
+
principal: {
|
|
6572
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6573
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6574
|
+
email: string | null;
|
|
6575
|
+
name: string | null;
|
|
6576
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6577
|
+
instanceAdmin: boolean;
|
|
6578
|
+
service: string | null;
|
|
6579
|
+
memberships: {
|
|
6580
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6581
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6582
|
+
roleIds: string[];
|
|
6583
|
+
groupIds: string[];
|
|
6584
|
+
status: "active" | "invited" | "suspended";
|
|
6585
|
+
}[];
|
|
6586
|
+
permissionVersion: number;
|
|
6587
|
+
};
|
|
5116
6588
|
requestId: string;
|
|
5117
6589
|
ip: string;
|
|
5118
6590
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5196,7 +6668,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5196
6668
|
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, {
|
|
5197
6669
|
workspaceId: string;
|
|
5198
6670
|
kernel: Kernel;
|
|
5199
|
-
principal:
|
|
6671
|
+
principal: {
|
|
6672
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6673
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6674
|
+
email: string | null;
|
|
6675
|
+
name: string | null;
|
|
6676
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6677
|
+
instanceAdmin: boolean;
|
|
6678
|
+
service: string | null;
|
|
6679
|
+
memberships: {
|
|
6680
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6681
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6682
|
+
roleIds: string[];
|
|
6683
|
+
groupIds: string[];
|
|
6684
|
+
status: "active" | "invited" | "suspended";
|
|
6685
|
+
}[];
|
|
6686
|
+
permissionVersion: number;
|
|
6687
|
+
};
|
|
5200
6688
|
requestId: string;
|
|
5201
6689
|
ip: string;
|
|
5202
6690
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5263,7 +6751,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5263
6751
|
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, {
|
|
5264
6752
|
workspaceId: string;
|
|
5265
6753
|
kernel: Kernel;
|
|
5266
|
-
principal:
|
|
6754
|
+
principal: {
|
|
6755
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6756
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6757
|
+
email: string | null;
|
|
6758
|
+
name: string | null;
|
|
6759
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6760
|
+
instanceAdmin: boolean;
|
|
6761
|
+
service: string | null;
|
|
6762
|
+
memberships: {
|
|
6763
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6764
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6765
|
+
roleIds: string[];
|
|
6766
|
+
groupIds: string[];
|
|
6767
|
+
status: "active" | "invited" | "suspended";
|
|
6768
|
+
}[];
|
|
6769
|
+
permissionVersion: number;
|
|
6770
|
+
};
|
|
5267
6771
|
requestId: string;
|
|
5268
6772
|
ip: string;
|
|
5269
6773
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5325,7 +6829,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5325
6829
|
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, {
|
|
5326
6830
|
workspaceId: string;
|
|
5327
6831
|
kernel: Kernel;
|
|
5328
|
-
principal:
|
|
6832
|
+
principal: {
|
|
6833
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6834
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6835
|
+
email: string | null;
|
|
6836
|
+
name: string | null;
|
|
6837
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6838
|
+
instanceAdmin: boolean;
|
|
6839
|
+
service: string | null;
|
|
6840
|
+
memberships: {
|
|
6841
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6842
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6843
|
+
roleIds: string[];
|
|
6844
|
+
groupIds: string[];
|
|
6845
|
+
status: "active" | "invited" | "suspended";
|
|
6846
|
+
}[];
|
|
6847
|
+
permissionVersion: number;
|
|
6848
|
+
};
|
|
5329
6849
|
requestId: string;
|
|
5330
6850
|
ip: string;
|
|
5331
6851
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5409,7 +6929,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5409
6929
|
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, {
|
|
5410
6930
|
workspaceId: string;
|
|
5411
6931
|
kernel: Kernel;
|
|
5412
|
-
principal:
|
|
6932
|
+
principal: {
|
|
6933
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
6934
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
6935
|
+
email: string | null;
|
|
6936
|
+
name: string | null;
|
|
6937
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
6938
|
+
instanceAdmin: boolean;
|
|
6939
|
+
service: string | null;
|
|
6940
|
+
memberships: {
|
|
6941
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
6942
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
6943
|
+
roleIds: string[];
|
|
6944
|
+
groupIds: string[];
|
|
6945
|
+
status: "active" | "invited" | "suspended";
|
|
6946
|
+
}[];
|
|
6947
|
+
permissionVersion: number;
|
|
6948
|
+
};
|
|
5413
6949
|
requestId: string;
|
|
5414
6950
|
ip: string;
|
|
5415
6951
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5479,7 +7015,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5479
7015
|
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, {
|
|
5480
7016
|
workspaceId: string;
|
|
5481
7017
|
kernel: Kernel;
|
|
5482
|
-
principal:
|
|
7018
|
+
principal: {
|
|
7019
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7020
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7021
|
+
email: string | null;
|
|
7022
|
+
name: string | null;
|
|
7023
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7024
|
+
instanceAdmin: boolean;
|
|
7025
|
+
service: string | null;
|
|
7026
|
+
memberships: {
|
|
7027
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7028
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7029
|
+
roleIds: string[];
|
|
7030
|
+
groupIds: string[];
|
|
7031
|
+
status: "active" | "invited" | "suspended";
|
|
7032
|
+
}[];
|
|
7033
|
+
permissionVersion: number;
|
|
7034
|
+
};
|
|
5483
7035
|
requestId: string;
|
|
5484
7036
|
ip: string;
|
|
5485
7037
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5534,7 +7086,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5534
7086
|
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"> & {
|
|
5535
7087
|
workspaceId: string;
|
|
5536
7088
|
kernel: Kernel;
|
|
5537
|
-
principal:
|
|
7089
|
+
principal: {
|
|
7090
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7091
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7092
|
+
email: string | null;
|
|
7093
|
+
name: string | null;
|
|
7094
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7095
|
+
instanceAdmin: boolean;
|
|
7096
|
+
service: string | null;
|
|
7097
|
+
memberships: {
|
|
7098
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7099
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7100
|
+
roleIds: string[];
|
|
7101
|
+
groupIds: string[];
|
|
7102
|
+
status: "active" | "invited" | "suspended";
|
|
7103
|
+
}[];
|
|
7104
|
+
permissionVersion: number;
|
|
7105
|
+
};
|
|
5538
7106
|
requestId: string;
|
|
5539
7107
|
ip: string;
|
|
5540
7108
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5631,7 +7199,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5631
7199
|
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"> & {
|
|
5632
7200
|
workspaceId: string;
|
|
5633
7201
|
kernel: Kernel;
|
|
5634
|
-
principal:
|
|
7202
|
+
principal: {
|
|
7203
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7204
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7205
|
+
email: string | null;
|
|
7206
|
+
name: string | null;
|
|
7207
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7208
|
+
instanceAdmin: boolean;
|
|
7209
|
+
service: string | null;
|
|
7210
|
+
memberships: {
|
|
7211
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7212
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7213
|
+
roleIds: string[];
|
|
7214
|
+
groupIds: string[];
|
|
7215
|
+
status: "active" | "invited" | "suspended";
|
|
7216
|
+
}[];
|
|
7217
|
+
permissionVersion: number;
|
|
7218
|
+
};
|
|
5635
7219
|
requestId: string;
|
|
5636
7220
|
ip: string;
|
|
5637
7221
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5722,7 +7306,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5722
7306
|
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"> & {
|
|
5723
7307
|
workspaceId: string;
|
|
5724
7308
|
kernel: Kernel;
|
|
5725
|
-
principal:
|
|
7309
|
+
principal: {
|
|
7310
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7311
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7312
|
+
email: string | null;
|
|
7313
|
+
name: string | null;
|
|
7314
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7315
|
+
instanceAdmin: boolean;
|
|
7316
|
+
service: string | null;
|
|
7317
|
+
memberships: {
|
|
7318
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7319
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7320
|
+
roleIds: string[];
|
|
7321
|
+
groupIds: string[];
|
|
7322
|
+
status: "active" | "invited" | "suspended";
|
|
7323
|
+
}[];
|
|
7324
|
+
permissionVersion: number;
|
|
7325
|
+
};
|
|
5726
7326
|
requestId: string;
|
|
5727
7327
|
ip: string;
|
|
5728
7328
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5820,7 +7420,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5820
7420
|
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, {
|
|
5821
7421
|
workspaceId: string;
|
|
5822
7422
|
kernel: Kernel;
|
|
5823
|
-
principal:
|
|
7423
|
+
principal: {
|
|
7424
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7425
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7426
|
+
email: string | null;
|
|
7427
|
+
name: string | null;
|
|
7428
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7429
|
+
instanceAdmin: boolean;
|
|
7430
|
+
service: string | null;
|
|
7431
|
+
memberships: {
|
|
7432
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7433
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7434
|
+
roleIds: string[];
|
|
7435
|
+
groupIds: string[];
|
|
7436
|
+
status: "active" | "invited" | "suspended";
|
|
7437
|
+
}[];
|
|
7438
|
+
permissionVersion: number;
|
|
7439
|
+
};
|
|
5824
7440
|
requestId: string;
|
|
5825
7441
|
ip: string;
|
|
5826
7442
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -5901,7 +7517,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
5901
7517
|
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, {
|
|
5902
7518
|
workspaceId: string;
|
|
5903
7519
|
kernel: Kernel;
|
|
5904
|
-
principal:
|
|
7520
|
+
principal: {
|
|
7521
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7522
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7523
|
+
email: string | null;
|
|
7524
|
+
name: string | null;
|
|
7525
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7526
|
+
instanceAdmin: boolean;
|
|
7527
|
+
service: string | null;
|
|
7528
|
+
memberships: {
|
|
7529
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7530
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7531
|
+
roleIds: string[];
|
|
7532
|
+
groupIds: string[];
|
|
7533
|
+
status: "active" | "invited" | "suspended";
|
|
7534
|
+
}[];
|
|
7535
|
+
permissionVersion: number;
|
|
7536
|
+
};
|
|
5905
7537
|
requestId: string;
|
|
5906
7538
|
ip: string;
|
|
5907
7539
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6013,7 +7645,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6013
7645
|
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, {
|
|
6014
7646
|
workspaceId: string;
|
|
6015
7647
|
kernel: Kernel;
|
|
6016
|
-
principal:
|
|
7648
|
+
principal: {
|
|
7649
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7650
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7651
|
+
email: string | null;
|
|
7652
|
+
name: string | null;
|
|
7653
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7654
|
+
instanceAdmin: boolean;
|
|
7655
|
+
service: string | null;
|
|
7656
|
+
memberships: {
|
|
7657
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7658
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7659
|
+
roleIds: string[];
|
|
7660
|
+
groupIds: string[];
|
|
7661
|
+
status: "active" | "invited" | "suspended";
|
|
7662
|
+
}[];
|
|
7663
|
+
permissionVersion: number;
|
|
7664
|
+
};
|
|
6017
7665
|
requestId: string;
|
|
6018
7666
|
ip: string;
|
|
6019
7667
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6119,7 +7767,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6119
7767
|
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, {
|
|
6120
7768
|
workspaceId: string;
|
|
6121
7769
|
kernel: Kernel;
|
|
6122
|
-
principal:
|
|
7770
|
+
principal: {
|
|
7771
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7772
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7773
|
+
email: string | null;
|
|
7774
|
+
name: string | null;
|
|
7775
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7776
|
+
instanceAdmin: boolean;
|
|
7777
|
+
service: string | null;
|
|
7778
|
+
memberships: {
|
|
7779
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7780
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7781
|
+
roleIds: string[];
|
|
7782
|
+
groupIds: string[];
|
|
7783
|
+
status: "active" | "invited" | "suspended";
|
|
7784
|
+
}[];
|
|
7785
|
+
permissionVersion: number;
|
|
7786
|
+
};
|
|
6123
7787
|
requestId: string;
|
|
6124
7788
|
ip: string;
|
|
6125
7789
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6155,7 +7819,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6155
7819
|
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, {
|
|
6156
7820
|
workspaceId: string;
|
|
6157
7821
|
kernel: Kernel;
|
|
6158
|
-
principal:
|
|
7822
|
+
principal: {
|
|
7823
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7824
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7825
|
+
email: string | null;
|
|
7826
|
+
name: string | null;
|
|
7827
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7828
|
+
instanceAdmin: boolean;
|
|
7829
|
+
service: string | null;
|
|
7830
|
+
memberships: {
|
|
7831
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7832
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7833
|
+
roleIds: string[];
|
|
7834
|
+
groupIds: string[];
|
|
7835
|
+
status: "active" | "invited" | "suspended";
|
|
7836
|
+
}[];
|
|
7837
|
+
permissionVersion: number;
|
|
7838
|
+
};
|
|
6159
7839
|
requestId: string;
|
|
6160
7840
|
ip: string;
|
|
6161
7841
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6204,7 +7884,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6204
7884
|
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, {
|
|
6205
7885
|
workspaceId: string;
|
|
6206
7886
|
kernel: Kernel;
|
|
6207
|
-
principal:
|
|
7887
|
+
principal: {
|
|
7888
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7889
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7890
|
+
email: string | null;
|
|
7891
|
+
name: string | null;
|
|
7892
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7893
|
+
instanceAdmin: boolean;
|
|
7894
|
+
service: string | null;
|
|
7895
|
+
memberships: {
|
|
7896
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7897
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7898
|
+
roleIds: string[];
|
|
7899
|
+
groupIds: string[];
|
|
7900
|
+
status: "active" | "invited" | "suspended";
|
|
7901
|
+
}[];
|
|
7902
|
+
permissionVersion: number;
|
|
7903
|
+
};
|
|
6208
7904
|
requestId: string;
|
|
6209
7905
|
ip: string;
|
|
6210
7906
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6263,7 +7959,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6263
7959
|
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, {
|
|
6264
7960
|
workspaceId: string;
|
|
6265
7961
|
kernel: Kernel;
|
|
6266
|
-
principal:
|
|
7962
|
+
principal: {
|
|
7963
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
7964
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
7965
|
+
email: string | null;
|
|
7966
|
+
name: string | null;
|
|
7967
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
7968
|
+
instanceAdmin: boolean;
|
|
7969
|
+
service: string | null;
|
|
7970
|
+
memberships: {
|
|
7971
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
7972
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
7973
|
+
roleIds: string[];
|
|
7974
|
+
groupIds: string[];
|
|
7975
|
+
status: "active" | "invited" | "suspended";
|
|
7976
|
+
}[];
|
|
7977
|
+
permissionVersion: number;
|
|
7978
|
+
};
|
|
6267
7979
|
requestId: string;
|
|
6268
7980
|
ip: string;
|
|
6269
7981
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6300,7 +8012,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6300
8012
|
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, {
|
|
6301
8013
|
workspaceId: string;
|
|
6302
8014
|
kernel: Kernel;
|
|
6303
|
-
principal:
|
|
8015
|
+
principal: {
|
|
8016
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8017
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8018
|
+
email: string | null;
|
|
8019
|
+
name: string | null;
|
|
8020
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
8021
|
+
instanceAdmin: boolean;
|
|
8022
|
+
service: string | null;
|
|
8023
|
+
memberships: {
|
|
8024
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8025
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
8026
|
+
roleIds: string[];
|
|
8027
|
+
groupIds: string[];
|
|
8028
|
+
status: "active" | "invited" | "suspended";
|
|
8029
|
+
}[];
|
|
8030
|
+
permissionVersion: number;
|
|
8031
|
+
};
|
|
6304
8032
|
requestId: string;
|
|
6305
8033
|
ip: string;
|
|
6306
8034
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6360,7 +8088,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6360
8088
|
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, {
|
|
6361
8089
|
workspaceId: string;
|
|
6362
8090
|
kernel: Kernel;
|
|
6363
|
-
principal:
|
|
8091
|
+
principal: {
|
|
8092
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8093
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8094
|
+
email: string | null;
|
|
8095
|
+
name: string | null;
|
|
8096
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
8097
|
+
instanceAdmin: boolean;
|
|
8098
|
+
service: string | null;
|
|
8099
|
+
memberships: {
|
|
8100
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8101
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
8102
|
+
roleIds: string[];
|
|
8103
|
+
groupIds: string[];
|
|
8104
|
+
status: "active" | "invited" | "suspended";
|
|
8105
|
+
}[];
|
|
8106
|
+
permissionVersion: number;
|
|
8107
|
+
};
|
|
6364
8108
|
requestId: string;
|
|
6365
8109
|
ip: string;
|
|
6366
8110
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6441,7 +8185,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6441
8185
|
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, {
|
|
6442
8186
|
workspaceId: string;
|
|
6443
8187
|
kernel: Kernel;
|
|
6444
|
-
principal:
|
|
8188
|
+
principal: {
|
|
8189
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8190
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8191
|
+
email: string | null;
|
|
8192
|
+
name: string | null;
|
|
8193
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
8194
|
+
instanceAdmin: boolean;
|
|
8195
|
+
service: string | null;
|
|
8196
|
+
memberships: {
|
|
8197
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8198
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
8199
|
+
roleIds: string[];
|
|
8200
|
+
groupIds: string[];
|
|
8201
|
+
status: "active" | "invited" | "suspended";
|
|
8202
|
+
}[];
|
|
8203
|
+
permissionVersion: number;
|
|
8204
|
+
};
|
|
6445
8205
|
requestId: string;
|
|
6446
8206
|
ip: string;
|
|
6447
8207
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -6514,7 +8274,23 @@ export declare function implement_(kernel: Kernel): {
|
|
|
6514
8274
|
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, {
|
|
6515
8275
|
workspaceId: string;
|
|
6516
8276
|
kernel: Kernel;
|
|
6517
|
-
principal:
|
|
8277
|
+
principal: {
|
|
8278
|
+
kind: "service" | "user" | "api_key" | "anonymous";
|
|
8279
|
+
userId: (string & import("zod").$brand<"UserId">) | null;
|
|
8280
|
+
email: string | null;
|
|
8281
|
+
name: string | null;
|
|
8282
|
+
locale: "en" | "fa" | "ar" | "de";
|
|
8283
|
+
instanceAdmin: boolean;
|
|
8284
|
+
service: string | null;
|
|
8285
|
+
memberships: {
|
|
8286
|
+
workspaceId: string & import("zod").$brand<"WorkspaceId">;
|
|
8287
|
+
role: "owner" | "admin" | "member" | "guest";
|
|
8288
|
+
roleIds: string[];
|
|
8289
|
+
groupIds: string[];
|
|
8290
|
+
status: "active" | "invited" | "suspended";
|
|
8291
|
+
}[];
|
|
8292
|
+
permissionVersion: number;
|
|
8293
|
+
};
|
|
6518
8294
|
requestId: string;
|
|
6519
8295
|
ip: string;
|
|
6520
8296
|
headers: Record<string, string | string[] | undefined>;
|