@burdenoff/microfe-workspaces 2026.1013.2 → 2026.1016.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.
Files changed (98) hide show
  1. package/dist/WorkspacesRoot.d.ts +33 -0
  2. package/dist/WorkspacesRoutes.d.ts +9 -0
  3. package/dist/components/CreateProjectDialog.d.ts +5 -0
  4. package/dist/components/CreateWorkspaceDialog.d.ts +1 -0
  5. package/dist/components/InviteMemberDialog.d.ts +6 -0
  6. package/dist/components/MemberListItem.d.ts +9 -0
  7. package/dist/components/ProjectCard.d.ts +13 -0
  8. package/dist/components/ProjectMemberPickerDialog.d.ts +8 -0
  9. package/dist/components/RenameProjectDialog.d.ts +11 -0
  10. package/dist/components/WorkspaceCard.d.ts +6 -0
  11. package/dist/components/WorkspaceContextPathSync.d.ts +23 -0
  12. package/dist/components/WorkspacesErrorBoundary.d.ts +28 -0
  13. package/dist/components/index.d.ts +7 -0
  14. package/dist/components/tags/ProjectTagsWidget.d.ts +21 -0
  15. package/dist/components/tags/ProjectTagsWidget.js +38 -38
  16. package/dist/constants/permissions.d.ts +32 -0
  17. package/dist/generated/global-operations.d.ts +257 -0
  18. package/dist/generated/global-operations.js +844 -152
  19. package/dist/generated/global-types.d.ts +23507 -0
  20. package/dist/generated/wspace-operations.d.ts +1457 -0
  21. package/dist/generated/wspace-operations.js +4277 -626
  22. package/dist/generated/wspace-types.d.ts +57824 -0
  23. package/dist/hooks/index.d.ts +8 -0
  24. package/dist/hooks/useMemberMutations.d.ts +59 -0
  25. package/dist/hooks/useOrgsWithPermission.d.ts +6 -0
  26. package/dist/hooks/usePendingInvitations.d.ts +7 -0
  27. package/dist/hooks/useProjectMemberMutations.d.ts +3 -0
  28. package/dist/hooks/useProjectMembers.d.ts +4 -0
  29. package/dist/hooks/useProjectMutations.d.ts +39 -0
  30. package/dist/hooks/useProjects.d.ts +14 -0
  31. package/dist/hooks/useScopedNavigation.d.ts +3 -0
  32. package/dist/hooks/useTenants.d.ts +11 -0
  33. package/dist/hooks/useTr.d.ts +26 -0
  34. package/dist/hooks/useWorkspaceActivity.d.ts +11 -0
  35. package/dist/hooks/useWorkspaceMembers.d.ts +25 -0
  36. package/dist/hooks/useWorkspaceMutations.d.ts +34 -0
  37. package/dist/hooks/useWorkspacePermissions.d.ts +32 -0
  38. package/dist/hooks/useWorkspaceRoles.d.ts +12 -0
  39. package/dist/hooks/useWorkspaces.d.ts +19 -0
  40. package/dist/hooks/useWorkspacesEventEmitter.d.ts +16 -0
  41. package/dist/hooks/useWorkspacesPageView.d.ts +26 -0
  42. package/dist/index.d.ts +35 -0
  43. package/dist/pages/ActivityListPage.d.ts +1 -0
  44. package/dist/pages/CreateWorkspacePage.d.ts +1 -0
  45. package/dist/pages/InviteAcceptancePage.d.ts +5 -0
  46. package/dist/pages/MembersListPage.d.ts +1 -0
  47. package/dist/pages/PendingInvitesPage.d.ts +1 -0
  48. package/dist/pages/ProjectDetailPage.d.ts +1 -0
  49. package/dist/pages/ProjectMembersPage.d.ts +1 -0
  50. package/dist/pages/ProjectsListPage.d.ts +1 -0
  51. package/dist/pages/WorkspaceDetailPage.d.ts +1 -0
  52. package/dist/pages/WorkspaceInvitePage.d.ts +1 -0
  53. package/dist/pages/WorkspaceSettingsPage.d.ts +1 -0
  54. package/dist/pages/WorkspaceSettingsPage.js +38 -37
  55. package/dist/pages/WorkspacesListPage.d.ts +1 -0
  56. package/dist/pages/dashboard/DashboardCustomizer.d.ts +11 -0
  57. package/dist/pages/dashboard/DashboardGrid.d.ts +6 -0
  58. package/dist/pages/dashboard/DashboardPage.d.ts +19 -0
  59. package/dist/pages/dashboard/WidgetWrapper.d.ts +16 -0
  60. package/dist/pages/dashboard/config.d.ts +27 -0
  61. package/dist/pages/dashboard/hooks/useDashboardData.d.ts +13 -0
  62. package/dist/pages/dashboard/hooks/useDashboardPreferences.d.ts +2 -0
  63. package/dist/pages/dashboard/reorder.d.ts +26 -0
  64. package/dist/pages/dashboard/types.d.ts +197 -0
  65. package/dist/pages/dashboard/widgets/AgentsWidget.d.ts +2 -0
  66. package/dist/pages/dashboard/widgets/GroupsWidget.d.ts +2 -0
  67. package/dist/pages/dashboard/widgets/MembersWidget.d.ts +2 -0
  68. package/dist/pages/dashboard/widgets/ProjectsWidget.d.ts +2 -0
  69. package/dist/pages/dashboard/widgets/QuickActionsWidget.d.ts +2 -0
  70. package/dist/pages/dashboard/widgets/RecentActivityWidget.d.ts +2 -0
  71. package/dist/pages/dashboard/widgets/SessionsWidget.d.ts +2 -0
  72. package/dist/pages/dashboard/widgets/StorageWidget.d.ts +2 -0
  73. package/dist/pages/dashboard/widgets/StorageWidget.js +2 -2
  74. package/dist/pages/dashboard/widgets/TagCloudWidget.d.ts +2 -0
  75. package/dist/pages/dashboard/widgets/TipsWidget.d.ts +2 -0
  76. package/dist/pages/dashboard/widgets/UpcomingEventsWidget.d.ts +2 -0
  77. package/dist/pages/dashboard/widgets/VibesWidget.d.ts +2 -0
  78. package/dist/pages/dashboard/widgets/WelcomeWidget.d.ts +2 -0
  79. package/dist/pages/dashboard/widgets/WorkflowRunsWidget.d.ts +2 -0
  80. package/dist/pages/dashboard/widgets/WorkflowStatsWidget.d.ts +2 -0
  81. package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.d.ts +2 -0
  82. package/dist/pages/dashboard/widgets/WorkspacesWidget.d.ts +2 -0
  83. package/dist/providers/WorkspacesProvider.d.ts +11 -0
  84. package/dist/store/workspacesStore.d.ts +80 -0
  85. package/dist/translations/en.d.ts +921 -0
  86. package/dist/types/index.d.ts +336 -0
  87. package/dist/utils/formatters.d.ts +53 -0
  88. package/dist/utils/formatters.js +1 -1
  89. package/dist/utils/i18n.d.ts +11 -0
  90. package/dist/utils/index.d.ts +2 -0
  91. package/dist/utils/invitationDisplay.d.ts +6 -0
  92. package/dist/utils/nativeBridge.d.ts +2 -0
  93. package/dist/utils/projectTags.d.ts +6 -0
  94. package/dist/utils/slug.d.ts +12 -0
  95. package/dist/utils/telemetryError.d.ts +1 -0
  96. package/dist/utils/tokenHelpers.d.ts +112 -0
  97. package/dist/utils/workspaceBulkInviteCsv.d.ts +9 -0
  98. package/package.json +37 -23
@@ -0,0 +1,1457 @@
1
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
+ /** Internal type. DO NOT USE DIRECTLY. */
3
+ type Exact<T extends {
4
+ [key: string]: unknown;
5
+ }> = {
6
+ [K in keyof T]: T[K];
7
+ };
8
+ /** Internal type. DO NOT USE DIRECTLY. */
9
+ export type Incremental<T> = T | {
10
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
11
+ };
12
+ /**
13
+ * Input for adding a member to a workspace.
14
+ * Workspace ID is read from gateway context (x-workspace-id header).
15
+ */
16
+ export type AddWorkspaceMemberInput = {
17
+ /** Operation context for scoping */
18
+ context?: WorkspaceContextInput | null | undefined;
19
+ /** User ID to add as member */
20
+ userId: string;
21
+ };
22
+ /** Input for creating a new invitation */
23
+ export type CreateInvitationInput = {
24
+ /** Operation context for scoping */
25
+ context?: WorkspaceContextInput | null | undefined;
26
+ /** Email address of the invitee */
27
+ email: string;
28
+ /** Expiration timestamp (defaults to 7 days from creation) */
29
+ expiresAt?: string | null | undefined;
30
+ /** User ID if inviting an existing user */
31
+ invitedUserId?: string | null | undefined;
32
+ /** Project ID for project invitations */
33
+ projectId?: string | null | undefined;
34
+ /** Array of role IDs to assign upon acceptance */
35
+ roleIds?: Array<string> | null | undefined;
36
+ /** Universal entity-owned tags to attach during creation */
37
+ tags?: Record<string, unknown> | null | undefined;
38
+ /** Workspace ID for workspace invitations */
39
+ workspaceId?: string | null | undefined;
40
+ };
41
+ /**
42
+ * Input for creating a new project.
43
+ * Workspace ID is read from gateway context (x-workspace-id header).
44
+ */
45
+ export type CreateProjectInput = {
46
+ /** Project configuration and settings */
47
+ config?: Record<string, unknown> | null | undefined;
48
+ /** Unique project key/code (auto-generated if not provided) */
49
+ key?: string | null | undefined;
50
+ /** Display name of the project */
51
+ name: string;
52
+ /** Initial project status (defaults to ACTIVE) */
53
+ status?: ProjectStatus | null | undefined;
54
+ /** Universal entity-owned tags to attach during creation */
55
+ tags?: Record<string, unknown> | null | undefined;
56
+ };
57
+ /**
58
+ * Input for creating a new workspace.
59
+ * tenantId is populated from gateway context (x-tenant-id header).
60
+ * ownerId defaults to the authenticated actor (x-actor-id header).
61
+ */
62
+ export type CreateWorkspaceInput = {
63
+ /** Physical or mailing address */
64
+ address?: string | null | undefined;
65
+ /** Primary contact email */
66
+ contactEmail?: string | null | undefined;
67
+ /** Operation context for scoping */
68
+ context?: WorkspaceContextInput | null | undefined;
69
+ /** Custom domain for the workspace */
70
+ domain?: string | null | undefined;
71
+ /** Display name of the workspace */
72
+ name: string;
73
+ /** Organization ID if part of an organization */
74
+ orgId?: string | null | undefined;
75
+ /** Type of workspace (defaults to WORKSPACE) */
76
+ type?: WorkspaceType | null | undefined;
77
+ /** Public website URL */
78
+ website?: string | null | undefined;
79
+ };
80
+ export type GetProjectTagsInput = {
81
+ entityId: string;
82
+ };
83
+ export type GetWorkspaceTagsInput = {
84
+ entityId: string;
85
+ };
86
+ export type InviteStatus =
87
+ /** Invitation has been accepted by the invitee */
88
+ 'ACCEPTED'
89
+ /** Invitation has been cancelled by the inviter */
90
+ | 'CANCELLED'
91
+ /** Invitation has expired and is no longer valid */
92
+ | 'EXPIRED'
93
+ /** Invitation has been sent but not yet accepted */
94
+ | 'PENDING'
95
+ /** Invitation has been rejected by the invitee */
96
+ | 'REJECTED';
97
+ /** Standard pagination input */
98
+ export type PaginationInput = {
99
+ /** Number of items to return (default: 10, max: 100) */
100
+ limit?: number | null | undefined;
101
+ /** Number of items to skip (default: 0) */
102
+ offset?: number | null | undefined;
103
+ };
104
+ /** Filter input for querying projects */
105
+ export type ProjectFilterInput = {
106
+ /** Filter archived projects */
107
+ archived?: boolean | null | undefined;
108
+ /** Filter by creator user ID */
109
+ creatorId?: string | null | undefined;
110
+ /** When hierarchy paths are provided, include descendants below them */
111
+ includeDescendants?: boolean | null | undefined;
112
+ /** Require all provided tags/paths to match instead of any */
113
+ matchAllTags?: boolean | null | undefined;
114
+ /** Search by name or key (partial match) */
115
+ search?: string | null | undefined;
116
+ /** Filter by project status */
117
+ status?: ProjectStatus | null | undefined;
118
+ /**
119
+ * Filter by tag hierarchy paths stored on the project entity.
120
+ * Useful for parent-tag filtering with descendant expansion.
121
+ */
122
+ tagHierarchyPaths?: Array<string> | null | undefined;
123
+ /** Filter by exact tag IDs stored on the project entity */
124
+ tagIds?: Array<string> | null | undefined;
125
+ /** Filter by exact tag keys stored on the project entity */
126
+ tagKeys?: Array<string> | null | undefined;
127
+ /** Filter by workspace ID */
128
+ workspaceId?: string | null | undefined;
129
+ };
130
+ export type ProjectStatus =
131
+ /** Project is active and operational */
132
+ 'ACTIVE'
133
+ /** Project is archived but not deleted */
134
+ | 'ARCHIVED'
135
+ /** Project is temporarily inactive */
136
+ | 'INACTIVE';
137
+ export type ReplaceProjectTagsInput = {
138
+ entityId: string;
139
+ tagIds: Array<string>;
140
+ };
141
+ export type ReplaceWorkspaceTagsInput = {
142
+ entityId: string;
143
+ tagIds: Array<string>;
144
+ };
145
+ export type TagProjectInput = {
146
+ entityId: string;
147
+ metadata?: Record<string, unknown> | null | undefined;
148
+ source?: string | null | undefined;
149
+ tagId: string;
150
+ validFrom?: string | null | undefined;
151
+ validTo?: string | null | undefined;
152
+ };
153
+ export type TagWorkspaceInput = {
154
+ entityId: string;
155
+ metadata?: Record<string, unknown> | null | undefined;
156
+ source?: string | null | undefined;
157
+ tagId: string;
158
+ validFrom?: string | null | undefined;
159
+ validTo?: string | null | undefined;
160
+ };
161
+ export type UntagProjectInput = {
162
+ entityId: string;
163
+ tagId: string;
164
+ };
165
+ export type UntagWorkspaceInput = {
166
+ entityId: string;
167
+ tagId: string;
168
+ };
169
+ /** Input for updating an existing invitation */
170
+ export type UpdateInvitationInput = {
171
+ /** Operation context for scoping */
172
+ context?: WorkspaceContextInput | null | undefined;
173
+ /** Updated expiration timestamp */
174
+ expiresAt?: string | null | undefined;
175
+ /** Array of role IDs to assign */
176
+ roleIds?: Array<string> | null | undefined;
177
+ /** Updated status */
178
+ status?: InviteStatus | null | undefined;
179
+ /** Universal entity-owned tags to replace on the invitation */
180
+ tags?: Record<string, unknown> | null | undefined;
181
+ };
182
+ /** Input for updating an existing project */
183
+ export type UpdateProjectInput = {
184
+ /** Whether the project is archived */
185
+ archived?: boolean | null | undefined;
186
+ /** Project configuration and settings */
187
+ config?: Record<string, unknown> | null | undefined;
188
+ /** Unique project key/code */
189
+ key?: string | null | undefined;
190
+ /** Display name of the project */
191
+ name?: string | null | undefined;
192
+ /** Current operational status */
193
+ status?: ProjectStatus | null | undefined;
194
+ /** Universal entity-owned tags to replace on the project */
195
+ tags?: Record<string, unknown> | null | undefined;
196
+ };
197
+ /** Input for updating an existing workspace */
198
+ export type UpdateWorkspaceInput = {
199
+ /** Physical or mailing address */
200
+ address?: string | null | undefined;
201
+ /** Primary contact email */
202
+ contactEmail?: string | null | undefined;
203
+ /** Operation context for scoping */
204
+ context?: WorkspaceContextInput | null | undefined;
205
+ /** Custom domain for the workspace */
206
+ domain?: string | null | undefined;
207
+ /** Display name of the workspace */
208
+ name?: string | null | undefined;
209
+ /** Current owner user ID */
210
+ ownerId?: string | null | undefined;
211
+ /** Current operational status */
212
+ status?: WorkspaceStatus | null | undefined;
213
+ /** Public website URL */
214
+ website?: string | null | undefined;
215
+ };
216
+ /** Filter input for context-based queries */
217
+ export type WorkspaceContextFilterInput = {
218
+ /** Filter by metadata fields */
219
+ metadata?: Record<string, unknown> | null | undefined;
220
+ /** Filter by operation type */
221
+ type?: string | null | undefined;
222
+ };
223
+ /** Input for operation context */
224
+ export type WorkspaceContextInput = {
225
+ /** Additional context data */
226
+ metadata?: Record<string, unknown> | null | undefined;
227
+ /** Operation type identifier */
228
+ type?: string | null | undefined;
229
+ };
230
+ /** Filter input for querying workspaces */
231
+ export type WorkspaceFilterInput = {
232
+ /** Filter by operation context */
233
+ context?: WorkspaceContextFilterInput | null | undefined;
234
+ /** Filter by creator user ID */
235
+ createdById?: string | null | undefined;
236
+ /** Filter by organization ID */
237
+ orgId?: string | null | undefined;
238
+ /** Filter by owner user ID */
239
+ ownerId?: string | null | undefined;
240
+ /** Search by name (partial match) */
241
+ search?: string | null | undefined;
242
+ /** Filter by workspace status */
243
+ status?: WorkspaceStatus | null | undefined;
244
+ /** Filter by tenant ID */
245
+ tenantId?: string | null | undefined;
246
+ /** Filter by workspace type */
247
+ type?: WorkspaceType | null | undefined;
248
+ };
249
+ export type WorkspaceStatus =
250
+ /** Workspace is active and operational */
251
+ 'ACTIVE'
252
+ /** Workspace is archived but not deleted */
253
+ | 'ARCHIVED'
254
+ /** Workspace is marked for deletion */
255
+ | 'DELETED'
256
+ /** Workspace is temporarily suspended */
257
+ | 'SUSPENDED';
258
+ export type WorkspaceType =
259
+ /** Personal single-user workspace */
260
+ 'user'
261
+ /** Standard multi-user workspace */
262
+ | 'workspace';
263
+ export type DashboardProjectsQueryVariables = Exact<{
264
+ filter?: ProjectFilterInput | null | undefined;
265
+ }>;
266
+ export type DashboardProjectsQuery = {
267
+ projects: {
268
+ total: number;
269
+ items: Array<{
270
+ id: string;
271
+ name: string;
272
+ key: string;
273
+ status: ProjectStatus;
274
+ workspaceId: string;
275
+ createdAt: string;
276
+ }>;
277
+ };
278
+ };
279
+ export type DashboardWorkspaceDataQueryVariables = Exact<{
280
+ [key: string]: never;
281
+ }>;
282
+ export type DashboardWorkspaceDataQuery = {
283
+ getRecentActivities: Array<{
284
+ id: string;
285
+ action: string;
286
+ resourceType: string | null;
287
+ resourceId: string | null;
288
+ userId: string;
289
+ description: string | null;
290
+ details: Record<string, unknown> | null;
291
+ timestamp: string;
292
+ }>;
293
+ upcomingEvents: Array<{
294
+ id: string;
295
+ title: string;
296
+ startTime: string;
297
+ endTime: string;
298
+ calendarId: string;
299
+ allDay: boolean;
300
+ }>;
301
+ getTags: {
302
+ total: number;
303
+ items: Array<{
304
+ id: string;
305
+ label: string;
306
+ key: string;
307
+ }>;
308
+ };
309
+ myGroups: {
310
+ totalCount: number;
311
+ edges: Array<{
312
+ node: {
313
+ id: string;
314
+ name: string;
315
+ description: string | null;
316
+ };
317
+ }>;
318
+ };
319
+ dashboardSummary: {
320
+ activeWorkflowsCount: number;
321
+ archivedWorkflowsCount: number;
322
+ workflowsCount: number;
323
+ runsCountTotal: number;
324
+ runsRunningCount: number;
325
+ runsFailedLast24h: number;
326
+ workflowSuccessRate: number | null;
327
+ recentWorkflows: Array<{
328
+ workflowKey: string;
329
+ name: string;
330
+ version: string;
331
+ updatedAt: string;
332
+ }>;
333
+ recentRuns: Array<{
334
+ id: string;
335
+ status: string;
336
+ workflowKey: string;
337
+ startedAt: string | null;
338
+ }>;
339
+ };
340
+ workspaceResourceUsage: {
341
+ currentStorageGb: number;
342
+ } | null;
343
+ workspaceResourceLimits: {
344
+ maxStorageGb: number | null;
345
+ } | null;
346
+ };
347
+ export type AddWorkspaceMemberMutationVariables = Exact<{
348
+ input: AddWorkspaceMemberInput;
349
+ }>;
350
+ export type AddWorkspaceMemberMutation = {
351
+ addWorkspaceMember: {
352
+ id: string;
353
+ workspaceId: string;
354
+ userId: string;
355
+ createdAt: string;
356
+ updatedAt: string;
357
+ context: {
358
+ type: string | null;
359
+ metadata: Record<string, unknown> | null;
360
+ } | null;
361
+ };
362
+ };
363
+ export type RemoveWorkspaceMemberMutationVariables = Exact<{
364
+ id: string;
365
+ }>;
366
+ export type RemoveWorkspaceMemberMutation = {
367
+ removeWorkspaceMember: boolean;
368
+ };
369
+ export type RemoveUserFromWorkspaceMutationVariables = Exact<{
370
+ userId: string;
371
+ }>;
372
+ export type RemoveUserFromWorkspaceMutation = {
373
+ removeUserFromWorkspace: boolean;
374
+ };
375
+ export type CreateInvitationMutationVariables = Exact<{
376
+ input: CreateInvitationInput;
377
+ }>;
378
+ export type CreateInvitationMutation = {
379
+ createInvitation: {
380
+ id: string;
381
+ email: string;
382
+ status: InviteStatus;
383
+ roleIds: Array<string>;
384
+ workspaceId: string | null;
385
+ projectId: string | null;
386
+ invitedUserId: string | null;
387
+ invitedById: string | null;
388
+ expiresAt: string | null;
389
+ createdAt: string;
390
+ context: {
391
+ type: string | null;
392
+ metadata: Record<string, unknown> | null;
393
+ } | null;
394
+ };
395
+ };
396
+ export type UpdateInvitationMutationVariables = Exact<{
397
+ id: string;
398
+ input: UpdateInvitationInput;
399
+ }>;
400
+ export type UpdateInvitationMutation = {
401
+ updateInvitation: {
402
+ id: string;
403
+ email: string;
404
+ status: InviteStatus;
405
+ roleIds: Array<string>;
406
+ expiresAt: string | null;
407
+ updatedAt: string;
408
+ context: {
409
+ type: string | null;
410
+ metadata: Record<string, unknown> | null;
411
+ } | null;
412
+ };
413
+ };
414
+ export type AcceptInvitationMutationVariables = Exact<{
415
+ id: string;
416
+ }>;
417
+ export type AcceptInvitationMutation = {
418
+ acceptInvitation: {
419
+ id: string;
420
+ status: InviteStatus;
421
+ updatedAt: string;
422
+ };
423
+ };
424
+ export type RejectInvitationMutationVariables = Exact<{
425
+ id: string;
426
+ }>;
427
+ export type RejectInvitationMutation = {
428
+ rejectInvitation: {
429
+ id: string;
430
+ status: InviteStatus;
431
+ updatedAt: string;
432
+ };
433
+ };
434
+ export type CancelInvitationMutationVariables = Exact<{
435
+ id: string;
436
+ }>;
437
+ export type CancelInvitationMutation = {
438
+ cancelInvitation: {
439
+ id: string;
440
+ status: InviteStatus;
441
+ updatedAt: string;
442
+ };
443
+ };
444
+ export type ResendInvitationMutationVariables = Exact<{
445
+ id: string;
446
+ }>;
447
+ export type ResendInvitationMutation = {
448
+ resendInvitation: {
449
+ id: string;
450
+ updatedAt: string;
451
+ };
452
+ };
453
+ export type DeleteInvitationMutationVariables = Exact<{
454
+ id: string;
455
+ }>;
456
+ export type DeleteInvitationMutation = {
457
+ deleteInvitation: boolean;
458
+ };
459
+ export type BulkCreateInvitationsMutationVariables = Exact<{
460
+ inputs: Array<CreateInvitationInput> | CreateInvitationInput;
461
+ }>;
462
+ export type BulkCreateInvitationsMutation = {
463
+ bulkCreateInvitations: Array<{
464
+ id: string;
465
+ email: string;
466
+ status: InviteStatus;
467
+ workspaceId: string | null;
468
+ projectId: string | null;
469
+ createdAt: string;
470
+ context: {
471
+ type: string | null;
472
+ metadata: Record<string, unknown> | null;
473
+ } | null;
474
+ }>;
475
+ };
476
+ export type CreateProjectMutationVariables = Exact<{
477
+ input: CreateProjectInput;
478
+ }>;
479
+ export type CreateProjectMutation = {
480
+ createProject: {
481
+ id: string;
482
+ name: string;
483
+ key: string;
484
+ workspaceId: string;
485
+ creatorId: string;
486
+ status: ProjectStatus;
487
+ tags: Record<string, unknown>;
488
+ createdAt: string;
489
+ };
490
+ };
491
+ export type UpdateProjectMutationVariables = Exact<{
492
+ id: string;
493
+ input: UpdateProjectInput;
494
+ }>;
495
+ export type UpdateProjectMutation = {
496
+ updateProject: {
497
+ id: string;
498
+ name: string;
499
+ key: string;
500
+ status: ProjectStatus;
501
+ config: Record<string, unknown> | null;
502
+ tags: Record<string, unknown>;
503
+ archived: boolean;
504
+ updatedAt: string;
505
+ };
506
+ };
507
+ export type DeleteProjectMutationVariables = Exact<{
508
+ id: string;
509
+ }>;
510
+ export type DeleteProjectMutation = {
511
+ deleteProject: boolean;
512
+ };
513
+ export type ArchiveProjectMutationVariables = Exact<{
514
+ id: string;
515
+ }>;
516
+ export type ArchiveProjectMutation = {
517
+ archiveProject: {
518
+ id: string;
519
+ archived: boolean;
520
+ updatedAt: string;
521
+ };
522
+ };
523
+ export type UnarchiveProjectMutationVariables = Exact<{
524
+ id: string;
525
+ }>;
526
+ export type UnarchiveProjectMutation = {
527
+ unarchiveProject: {
528
+ id: string;
529
+ archived: boolean;
530
+ updatedAt: string;
531
+ };
532
+ };
533
+ export type SwitchProjectMutationVariables = Exact<{
534
+ projectId: string;
535
+ }>;
536
+ export type SwitchProjectMutation = {
537
+ switchProject: {
538
+ token: string;
539
+ expiresAt: string;
540
+ project: {
541
+ id: string;
542
+ name: string;
543
+ key: string;
544
+ workspaceId: string;
545
+ status: ProjectStatus;
546
+ tags: Record<string, unknown>;
547
+ archived: boolean;
548
+ };
549
+ };
550
+ };
551
+ export type TagProjectMutationVariables = Exact<{
552
+ input: TagProjectInput;
553
+ }>;
554
+ export type TagProjectMutation = {
555
+ tagProject: {
556
+ id: string;
557
+ tagId: string;
558
+ entityType: string;
559
+ entityId: string;
560
+ source: string;
561
+ assignedBy: string | null;
562
+ assignedAt: string | null;
563
+ validFrom: string | null;
564
+ validTo: string | null;
565
+ metadata: Record<string, unknown> | null;
566
+ tag: {
567
+ id: string;
568
+ key: string;
569
+ label: string;
570
+ value: string | null;
571
+ vocabularyId: string;
572
+ parentId: string | null;
573
+ hierarchyPath: string | null;
574
+ color: string | null;
575
+ icon: string | null;
576
+ description: string | null;
577
+ vocabulary: {
578
+ key: string;
579
+ };
580
+ } | null;
581
+ };
582
+ };
583
+ export type UntagProjectMutationVariables = Exact<{
584
+ input: UntagProjectInput;
585
+ }>;
586
+ export type UntagProjectMutation = {
587
+ untagProject: boolean;
588
+ };
589
+ export type ReplaceProjectTagsMutationVariables = Exact<{
590
+ input: ReplaceProjectTagsInput;
591
+ }>;
592
+ export type ReplaceProjectTagsMutation = {
593
+ replaceProjectTags: Array<{
594
+ id: string;
595
+ tagId: string;
596
+ entityType: string;
597
+ entityId: string;
598
+ source: string;
599
+ assignedBy: string | null;
600
+ assignedAt: string | null;
601
+ validFrom: string | null;
602
+ validTo: string | null;
603
+ metadata: Record<string, unknown> | null;
604
+ tag: {
605
+ id: string;
606
+ key: string;
607
+ label: string;
608
+ value: string | null;
609
+ vocabularyId: string;
610
+ parentId: string | null;
611
+ hierarchyPath: string | null;
612
+ color: string | null;
613
+ icon: string | null;
614
+ description: string | null;
615
+ vocabulary: {
616
+ key: string;
617
+ };
618
+ } | null;
619
+ }>;
620
+ };
621
+ export type CreateWorkspaceMutationVariables = Exact<{
622
+ input: CreateWorkspaceInput;
623
+ }>;
624
+ export type CreateWorkspaceMutation = {
625
+ createWorkspace: {
626
+ id: string;
627
+ name: string;
628
+ type: WorkspaceType;
629
+ status: WorkspaceStatus;
630
+ tenantId: string;
631
+ ownerId: string;
632
+ createdAt: string;
633
+ context: {
634
+ type: string | null;
635
+ metadata: Record<string, unknown> | null;
636
+ } | null;
637
+ };
638
+ };
639
+ export type UpdateWorkspaceMutationVariables = Exact<{
640
+ id: string;
641
+ input: UpdateWorkspaceInput;
642
+ }>;
643
+ export type UpdateWorkspaceMutation = {
644
+ updateWorkspace: {
645
+ id: string;
646
+ name: string;
647
+ type: WorkspaceType;
648
+ status: WorkspaceStatus;
649
+ domain: string | null;
650
+ contactEmail: string | null;
651
+ website: string | null;
652
+ address: string | null;
653
+ ownerId: string;
654
+ updatedAt: string;
655
+ context: {
656
+ type: string | null;
657
+ metadata: Record<string, unknown> | null;
658
+ } | null;
659
+ };
660
+ };
661
+ export type DeleteWorkspaceMutationVariables = Exact<{
662
+ id: string;
663
+ }>;
664
+ export type DeleteWorkspaceMutation = {
665
+ deleteWorkspace: boolean;
666
+ };
667
+ export type ArchiveWorkspaceMutationVariables = Exact<{
668
+ id: string;
669
+ }>;
670
+ export type ArchiveWorkspaceMutation = {
671
+ updateWorkspace: {
672
+ id: string;
673
+ name: string;
674
+ status: WorkspaceStatus;
675
+ updatedAt: string;
676
+ };
677
+ };
678
+ export type ReactivateWorkspaceMutationVariables = Exact<{
679
+ id: string;
680
+ }>;
681
+ export type ReactivateWorkspaceMutation = {
682
+ updateWorkspace: {
683
+ id: string;
684
+ name: string;
685
+ status: WorkspaceStatus;
686
+ updatedAt: string;
687
+ };
688
+ };
689
+ export type InitializeWorkspaceMutationVariables = Exact<{
690
+ id: string;
691
+ }>;
692
+ export type InitializeWorkspaceMutation = {
693
+ initializeWorkspace: {
694
+ id: string;
695
+ status: WorkspaceStatus;
696
+ updatedAt: string;
697
+ };
698
+ };
699
+ export type TagWorkspaceMutationVariables = Exact<{
700
+ input: TagWorkspaceInput;
701
+ }>;
702
+ export type TagWorkspaceMutation = {
703
+ tagWorkspace: {
704
+ id: string;
705
+ tagId: string;
706
+ entityType: string;
707
+ entityId: string;
708
+ source: string;
709
+ assignedBy: string | null;
710
+ assignedAt: string | null;
711
+ validFrom: string | null;
712
+ validTo: string | null;
713
+ metadata: Record<string, unknown> | null;
714
+ tag: {
715
+ id: string;
716
+ key: string;
717
+ label: string;
718
+ value: string | null;
719
+ color: string | null;
720
+ icon: string | null;
721
+ description: string | null;
722
+ vocabularyId: string;
723
+ parentId: string | null;
724
+ hierarchyPath: string | null;
725
+ } | null;
726
+ };
727
+ };
728
+ export type UntagWorkspaceMutationVariables = Exact<{
729
+ input: UntagWorkspaceInput;
730
+ }>;
731
+ export type UntagWorkspaceMutation = {
732
+ untagWorkspace: boolean;
733
+ };
734
+ export type ReplaceWorkspaceTagsMutationVariables = Exact<{
735
+ input: ReplaceWorkspaceTagsInput;
736
+ }>;
737
+ export type ReplaceWorkspaceTagsMutation = {
738
+ replaceWorkspaceTags: Array<{
739
+ id: string;
740
+ tagId: string;
741
+ entityType: string;
742
+ entityId: string;
743
+ source: string;
744
+ assignedBy: string | null;
745
+ assignedAt: string | null;
746
+ validFrom: string | null;
747
+ validTo: string | null;
748
+ metadata: Record<string, unknown> | null;
749
+ tag: {
750
+ id: string;
751
+ key: string;
752
+ label: string;
753
+ value: string | null;
754
+ color: string | null;
755
+ icon: string | null;
756
+ description: string | null;
757
+ vocabularyId: string;
758
+ parentId: string | null;
759
+ hierarchyPath: string | null;
760
+ } | null;
761
+ }>;
762
+ };
763
+ export type WorkspaceMemberFieldsFragment = {
764
+ id: string;
765
+ workspaceId: string;
766
+ userId: string;
767
+ createdAt: string;
768
+ updatedAt: string;
769
+ context: {
770
+ type: string | null;
771
+ metadata: Record<string, unknown> | null;
772
+ } | null;
773
+ };
774
+ export type InvitationCardFieldsFragment = {
775
+ id: string;
776
+ email: string;
777
+ status: InviteStatus;
778
+ roleIds: Array<string>;
779
+ workspaceId: string | null;
780
+ invitedById: string | null;
781
+ expiresAt: string | null;
782
+ createdAt: string;
783
+ context: {
784
+ type: string | null;
785
+ metadata: Record<string, unknown> | null;
786
+ } | null;
787
+ };
788
+ export type InvitationFullFieldsFragment = {
789
+ projectId: string | null;
790
+ invitedUserId: string | null;
791
+ updatedAt: string;
792
+ deletedAt: string | null;
793
+ id: string;
794
+ email: string;
795
+ status: InviteStatus;
796
+ roleIds: Array<string>;
797
+ workspaceId: string | null;
798
+ invitedById: string | null;
799
+ expiresAt: string | null;
800
+ createdAt: string;
801
+ context: {
802
+ type: string | null;
803
+ metadata: Record<string, unknown> | null;
804
+ } | null;
805
+ };
806
+ export type GetWorkspaceMembersQueryVariables = Exact<{
807
+ workspaceId: string;
808
+ pagination?: PaginationInput | null | undefined;
809
+ }>;
810
+ export type GetWorkspaceMembersQuery = {
811
+ workspaceMembers: {
812
+ total: number;
813
+ hasMore: boolean;
814
+ items: Array<{
815
+ id: string;
816
+ workspaceId: string;
817
+ userId: string;
818
+ createdAt: string;
819
+ updatedAt: string;
820
+ context: {
821
+ type: string | null;
822
+ metadata: Record<string, unknown> | null;
823
+ } | null;
824
+ }>;
825
+ };
826
+ };
827
+ export type GetWorkspaceMemberQueryVariables = Exact<{
828
+ id: string;
829
+ }>;
830
+ export type GetWorkspaceMemberQuery = {
831
+ workspaceMember: {
832
+ id: string;
833
+ workspaceId: string;
834
+ userId: string;
835
+ createdAt: string;
836
+ updatedAt: string;
837
+ context: {
838
+ type: string | null;
839
+ metadata: Record<string, unknown> | null;
840
+ } | null;
841
+ } | null;
842
+ };
843
+ export type GetUserWorkspacesQueryVariables = Exact<{
844
+ userId: string;
845
+ pagination?: PaginationInput | null | undefined;
846
+ }>;
847
+ export type GetUserWorkspacesQuery = {
848
+ userWorkspaces: {
849
+ total: number;
850
+ hasMore: boolean;
851
+ items: Array<{
852
+ id: string;
853
+ workspaceId: string;
854
+ userId: string;
855
+ createdAt: string;
856
+ updatedAt: string;
857
+ context: {
858
+ type: string | null;
859
+ metadata: Record<string, unknown> | null;
860
+ } | null;
861
+ }>;
862
+ };
863
+ };
864
+ export type GetWorkspaceInvitationsQueryVariables = Exact<{
865
+ status?: InviteStatus | null | undefined;
866
+ pagination?: PaginationInput | null | undefined;
867
+ }>;
868
+ export type GetWorkspaceInvitationsQuery = {
869
+ workspaceInvitations: {
870
+ total: number;
871
+ hasMore: boolean;
872
+ items: Array<{
873
+ projectId: string | null;
874
+ invitedUserId: string | null;
875
+ updatedAt: string;
876
+ deletedAt: string | null;
877
+ id: string;
878
+ email: string;
879
+ status: InviteStatus;
880
+ roleIds: Array<string>;
881
+ workspaceId: string | null;
882
+ invitedById: string | null;
883
+ expiresAt: string | null;
884
+ createdAt: string;
885
+ context: {
886
+ type: string | null;
887
+ metadata: Record<string, unknown> | null;
888
+ } | null;
889
+ }>;
890
+ };
891
+ };
892
+ export type GetInvitationQueryVariables = Exact<{
893
+ id: string;
894
+ }>;
895
+ export type GetInvitationQuery = {
896
+ invitation: {
897
+ projectId: string | null;
898
+ invitedUserId: string | null;
899
+ updatedAt: string;
900
+ deletedAt: string | null;
901
+ id: string;
902
+ email: string;
903
+ status: InviteStatus;
904
+ roleIds: Array<string>;
905
+ workspaceId: string | null;
906
+ invitedById: string | null;
907
+ expiresAt: string | null;
908
+ createdAt: string;
909
+ context: {
910
+ type: string | null;
911
+ metadata: Record<string, unknown> | null;
912
+ } | null;
913
+ } | null;
914
+ };
915
+ export type GetMyPendingInvitationsQueryVariables = Exact<{
916
+ [key: string]: never;
917
+ }>;
918
+ export type GetMyPendingInvitationsQuery = {
919
+ myPendingInvitations: Array<{
920
+ deletedAt: string | null;
921
+ id: string;
922
+ email: string;
923
+ status: InviteStatus;
924
+ roleIds: Array<string>;
925
+ workspaceId: string | null;
926
+ invitedById: string | null;
927
+ expiresAt: string | null;
928
+ createdAt: string;
929
+ context: {
930
+ type: string | null;
931
+ metadata: Record<string, unknown> | null;
932
+ } | null;
933
+ }>;
934
+ };
935
+ export type ProjectCardFieldsFragment = {
936
+ id: string;
937
+ name: string;
938
+ key: string;
939
+ workspaceId: string;
940
+ status: ProjectStatus;
941
+ tags: Record<string, unknown>;
942
+ archived: boolean;
943
+ createdAt: string;
944
+ updatedAt: string;
945
+ };
946
+ export type ProjectFullFieldsFragment = {
947
+ creatorId: string;
948
+ config: Record<string, unknown> | null;
949
+ deletedAt: string | null;
950
+ id: string;
951
+ name: string;
952
+ key: string;
953
+ workspaceId: string;
954
+ status: ProjectStatus;
955
+ tags: Record<string, unknown>;
956
+ archived: boolean;
957
+ createdAt: string;
958
+ updatedAt: string;
959
+ tagAssignments: Array<{
960
+ id: string;
961
+ tagId: string;
962
+ entityType: string;
963
+ entityId: string;
964
+ source: string;
965
+ assignedBy: string | null;
966
+ assignedAt: string | null;
967
+ validFrom: string | null;
968
+ validTo: string | null;
969
+ metadata: Record<string, unknown> | null;
970
+ tag: {
971
+ id: string;
972
+ key: string;
973
+ label: string;
974
+ value: string | null;
975
+ vocabularyId: string;
976
+ parentId: string | null;
977
+ hierarchyPath: string | null;
978
+ color: string | null;
979
+ icon: string | null;
980
+ description: string | null;
981
+ vocabulary: {
982
+ key: string;
983
+ };
984
+ } | null;
985
+ }> | null;
986
+ };
987
+ export type GetProjectsQueryVariables = Exact<{
988
+ filter?: ProjectFilterInput | null | undefined;
989
+ pagination?: PaginationInput | null | undefined;
990
+ }>;
991
+ export type GetProjectsQuery = {
992
+ projects: {
993
+ total: number;
994
+ hasMore: boolean;
995
+ items: Array<{
996
+ creatorId: string;
997
+ config: Record<string, unknown> | null;
998
+ deletedAt: string | null;
999
+ id: string;
1000
+ name: string;
1001
+ key: string;
1002
+ workspaceId: string;
1003
+ status: ProjectStatus;
1004
+ tags: Record<string, unknown>;
1005
+ archived: boolean;
1006
+ createdAt: string;
1007
+ updatedAt: string;
1008
+ tagAssignments: Array<{
1009
+ id: string;
1010
+ tagId: string;
1011
+ entityType: string;
1012
+ entityId: string;
1013
+ source: string;
1014
+ assignedBy: string | null;
1015
+ assignedAt: string | null;
1016
+ validFrom: string | null;
1017
+ validTo: string | null;
1018
+ metadata: Record<string, unknown> | null;
1019
+ tag: {
1020
+ id: string;
1021
+ key: string;
1022
+ label: string;
1023
+ value: string | null;
1024
+ vocabularyId: string;
1025
+ parentId: string | null;
1026
+ hierarchyPath: string | null;
1027
+ color: string | null;
1028
+ icon: string | null;
1029
+ description: string | null;
1030
+ vocabulary: {
1031
+ key: string;
1032
+ };
1033
+ } | null;
1034
+ }> | null;
1035
+ }>;
1036
+ };
1037
+ };
1038
+ export type GetProjectQueryVariables = Exact<{
1039
+ id: string;
1040
+ }>;
1041
+ export type GetProjectQuery = {
1042
+ project: {
1043
+ creatorId: string;
1044
+ config: Record<string, unknown> | null;
1045
+ deletedAt: string | null;
1046
+ id: string;
1047
+ name: string;
1048
+ key: string;
1049
+ workspaceId: string;
1050
+ status: ProjectStatus;
1051
+ tags: Record<string, unknown>;
1052
+ archived: boolean;
1053
+ createdAt: string;
1054
+ updatedAt: string;
1055
+ tagAssignments: Array<{
1056
+ id: string;
1057
+ tagId: string;
1058
+ entityType: string;
1059
+ entityId: string;
1060
+ source: string;
1061
+ assignedBy: string | null;
1062
+ assignedAt: string | null;
1063
+ validFrom: string | null;
1064
+ validTo: string | null;
1065
+ metadata: Record<string, unknown> | null;
1066
+ tag: {
1067
+ id: string;
1068
+ key: string;
1069
+ label: string;
1070
+ value: string | null;
1071
+ vocabularyId: string;
1072
+ parentId: string | null;
1073
+ hierarchyPath: string | null;
1074
+ color: string | null;
1075
+ icon: string | null;
1076
+ description: string | null;
1077
+ vocabulary: {
1078
+ key: string;
1079
+ };
1080
+ } | null;
1081
+ }> | null;
1082
+ } | null;
1083
+ };
1084
+ export type GetMyProjectsQueryVariables = Exact<{
1085
+ pagination?: PaginationInput | null | undefined;
1086
+ }>;
1087
+ export type GetMyProjectsQuery = {
1088
+ myProjects: {
1089
+ total: number;
1090
+ hasMore: boolean;
1091
+ items: Array<{
1092
+ id: string;
1093
+ name: string;
1094
+ key: string;
1095
+ workspaceId: string;
1096
+ status: ProjectStatus;
1097
+ tags: Record<string, unknown>;
1098
+ archived: boolean;
1099
+ createdAt: string;
1100
+ updatedAt: string;
1101
+ }>;
1102
+ };
1103
+ };
1104
+ export type ProjectTagAssignmentFieldsFragment = {
1105
+ id: string;
1106
+ tagId: string;
1107
+ entityType: string;
1108
+ entityId: string;
1109
+ source: string;
1110
+ assignedBy: string | null;
1111
+ assignedAt: string | null;
1112
+ validFrom: string | null;
1113
+ validTo: string | null;
1114
+ metadata: Record<string, unknown> | null;
1115
+ tag: {
1116
+ id: string;
1117
+ key: string;
1118
+ label: string;
1119
+ value: string | null;
1120
+ vocabularyId: string;
1121
+ parentId: string | null;
1122
+ hierarchyPath: string | null;
1123
+ color: string | null;
1124
+ icon: string | null;
1125
+ description: string | null;
1126
+ vocabulary: {
1127
+ key: string;
1128
+ };
1129
+ } | null;
1130
+ };
1131
+ export type GetProjectTagsQueryVariables = Exact<{
1132
+ input: GetProjectTagsInput;
1133
+ }>;
1134
+ export type GetProjectTagsQuery = {
1135
+ getProjectTags: Array<{
1136
+ id: string;
1137
+ tagId: string;
1138
+ entityType: string;
1139
+ entityId: string;
1140
+ source: string;
1141
+ assignedBy: string | null;
1142
+ assignedAt: string | null;
1143
+ validFrom: string | null;
1144
+ validTo: string | null;
1145
+ metadata: Record<string, unknown> | null;
1146
+ tag: {
1147
+ id: string;
1148
+ key: string;
1149
+ label: string;
1150
+ value: string | null;
1151
+ vocabularyId: string;
1152
+ parentId: string | null;
1153
+ hierarchyPath: string | null;
1154
+ color: string | null;
1155
+ icon: string | null;
1156
+ description: string | null;
1157
+ vocabulary: {
1158
+ key: string;
1159
+ };
1160
+ } | null;
1161
+ }>;
1162
+ };
1163
+ export type WorkspaceCardFieldsFragment = {
1164
+ id: string;
1165
+ name: string;
1166
+ type: WorkspaceType;
1167
+ status: WorkspaceStatus;
1168
+ domain: string | null;
1169
+ contactEmail: string | null;
1170
+ createdAt: string;
1171
+ updatedAt: string;
1172
+ context: {
1173
+ type: string | null;
1174
+ metadata: Record<string, unknown> | null;
1175
+ } | null;
1176
+ };
1177
+ export type WorkspaceFullFieldsFragment = {
1178
+ website: string | null;
1179
+ address: string | null;
1180
+ tenantId: string;
1181
+ orgId: string | null;
1182
+ createdBy: string | null;
1183
+ ownerId: string;
1184
+ deletedAt: string | null;
1185
+ id: string;
1186
+ name: string;
1187
+ type: WorkspaceType;
1188
+ status: WorkspaceStatus;
1189
+ domain: string | null;
1190
+ contactEmail: string | null;
1191
+ createdAt: string;
1192
+ updatedAt: string;
1193
+ tagAssignments: Array<{
1194
+ id: string;
1195
+ tagId: string;
1196
+ entityType: string;
1197
+ entityId: string;
1198
+ source: string;
1199
+ assignedBy: string | null;
1200
+ assignedAt: string | null;
1201
+ validFrom: string | null;
1202
+ validTo: string | null;
1203
+ metadata: Record<string, unknown> | null;
1204
+ tag: {
1205
+ id: string;
1206
+ key: string;
1207
+ label: string;
1208
+ value: string | null;
1209
+ color: string | null;
1210
+ icon: string | null;
1211
+ description: string | null;
1212
+ vocabularyId: string;
1213
+ parentId: string | null;
1214
+ hierarchyPath: string | null;
1215
+ } | null;
1216
+ }> | null;
1217
+ context: {
1218
+ type: string | null;
1219
+ metadata: Record<string, unknown> | null;
1220
+ } | null;
1221
+ };
1222
+ export type GetWorkspacesQueryVariables = Exact<{
1223
+ filter?: WorkspaceFilterInput | null | undefined;
1224
+ pagination?: PaginationInput | null | undefined;
1225
+ }>;
1226
+ export type GetWorkspacesQuery = {
1227
+ workspaces: {
1228
+ total: number;
1229
+ hasMore: boolean;
1230
+ items: Array<{
1231
+ website: string | null;
1232
+ address: string | null;
1233
+ tenantId: string;
1234
+ orgId: string | null;
1235
+ createdBy: string | null;
1236
+ ownerId: string;
1237
+ deletedAt: string | null;
1238
+ id: string;
1239
+ name: string;
1240
+ type: WorkspaceType;
1241
+ status: WorkspaceStatus;
1242
+ domain: string | null;
1243
+ contactEmail: string | null;
1244
+ createdAt: string;
1245
+ updatedAt: string;
1246
+ tagAssignments: Array<{
1247
+ id: string;
1248
+ tagId: string;
1249
+ entityType: string;
1250
+ entityId: string;
1251
+ source: string;
1252
+ assignedBy: string | null;
1253
+ assignedAt: string | null;
1254
+ validFrom: string | null;
1255
+ validTo: string | null;
1256
+ metadata: Record<string, unknown> | null;
1257
+ tag: {
1258
+ id: string;
1259
+ key: string;
1260
+ label: string;
1261
+ value: string | null;
1262
+ color: string | null;
1263
+ icon: string | null;
1264
+ description: string | null;
1265
+ vocabularyId: string;
1266
+ parentId: string | null;
1267
+ hierarchyPath: string | null;
1268
+ } | null;
1269
+ }> | null;
1270
+ context: {
1271
+ type: string | null;
1272
+ metadata: Record<string, unknown> | null;
1273
+ } | null;
1274
+ }>;
1275
+ };
1276
+ };
1277
+ export type GetWorkspaceQueryVariables = Exact<{
1278
+ id: string;
1279
+ }>;
1280
+ export type GetWorkspaceQuery = {
1281
+ workspace: {
1282
+ website: string | null;
1283
+ address: string | null;
1284
+ tenantId: string;
1285
+ orgId: string | null;
1286
+ createdBy: string | null;
1287
+ ownerId: string;
1288
+ deletedAt: string | null;
1289
+ id: string;
1290
+ name: string;
1291
+ type: WorkspaceType;
1292
+ status: WorkspaceStatus;
1293
+ domain: string | null;
1294
+ contactEmail: string | null;
1295
+ createdAt: string;
1296
+ updatedAt: string;
1297
+ tagAssignments: Array<{
1298
+ id: string;
1299
+ tagId: string;
1300
+ entityType: string;
1301
+ entityId: string;
1302
+ source: string;
1303
+ assignedBy: string | null;
1304
+ assignedAt: string | null;
1305
+ validFrom: string | null;
1306
+ validTo: string | null;
1307
+ metadata: Record<string, unknown> | null;
1308
+ tag: {
1309
+ id: string;
1310
+ key: string;
1311
+ label: string;
1312
+ value: string | null;
1313
+ color: string | null;
1314
+ icon: string | null;
1315
+ description: string | null;
1316
+ vocabularyId: string;
1317
+ parentId: string | null;
1318
+ hierarchyPath: string | null;
1319
+ } | null;
1320
+ }> | null;
1321
+ context: {
1322
+ type: string | null;
1323
+ metadata: Record<string, unknown> | null;
1324
+ } | null;
1325
+ } | null;
1326
+ };
1327
+ export type GetMyWorkspacesQueryVariables = Exact<{
1328
+ pagination?: PaginationInput | null | undefined;
1329
+ }>;
1330
+ export type GetMyWorkspacesQuery = {
1331
+ myWorkspaces: {
1332
+ total: number;
1333
+ hasMore: boolean;
1334
+ items: Array<{
1335
+ id: string;
1336
+ name: string;
1337
+ type: WorkspaceType;
1338
+ status: WorkspaceStatus;
1339
+ domain: string | null;
1340
+ contactEmail: string | null;
1341
+ createdAt: string;
1342
+ updatedAt: string;
1343
+ context: {
1344
+ type: string | null;
1345
+ metadata: Record<string, unknown> | null;
1346
+ } | null;
1347
+ }>;
1348
+ };
1349
+ };
1350
+ export type WorkspaceTagAssignmentFieldsFragment = {
1351
+ id: string;
1352
+ tagId: string;
1353
+ entityType: string;
1354
+ entityId: string;
1355
+ source: string;
1356
+ assignedBy: string | null;
1357
+ assignedAt: string | null;
1358
+ validFrom: string | null;
1359
+ validTo: string | null;
1360
+ metadata: Record<string, unknown> | null;
1361
+ tag: {
1362
+ id: string;
1363
+ key: string;
1364
+ label: string;
1365
+ value: string | null;
1366
+ color: string | null;
1367
+ icon: string | null;
1368
+ description: string | null;
1369
+ vocabularyId: string;
1370
+ parentId: string | null;
1371
+ hierarchyPath: string | null;
1372
+ } | null;
1373
+ };
1374
+ export type GetWorkspaceTagsQueryVariables = Exact<{
1375
+ input: GetWorkspaceTagsInput;
1376
+ }>;
1377
+ export type GetWorkspaceTagsQuery = {
1378
+ getWorkspaceTags: Array<{
1379
+ id: string;
1380
+ tagId: string;
1381
+ entityType: string;
1382
+ entityId: string;
1383
+ source: string;
1384
+ assignedBy: string | null;
1385
+ assignedAt: string | null;
1386
+ validFrom: string | null;
1387
+ validTo: string | null;
1388
+ metadata: Record<string, unknown> | null;
1389
+ tag: {
1390
+ id: string;
1391
+ key: string;
1392
+ label: string;
1393
+ value: string | null;
1394
+ color: string | null;
1395
+ icon: string | null;
1396
+ description: string | null;
1397
+ vocabularyId: string;
1398
+ parentId: string | null;
1399
+ hierarchyPath: string | null;
1400
+ } | null;
1401
+ }>;
1402
+ };
1403
+ export declare const WorkspaceMemberFieldsFragmentDoc: DocumentNode<WorkspaceMemberFieldsFragment, unknown>;
1404
+ export declare const InvitationCardFieldsFragmentDoc: DocumentNode<InvitationCardFieldsFragment, unknown>;
1405
+ export declare const InvitationFullFieldsFragmentDoc: DocumentNode<InvitationFullFieldsFragment, unknown>;
1406
+ export declare const ProjectCardFieldsFragmentDoc: DocumentNode<ProjectCardFieldsFragment, unknown>;
1407
+ export declare const ProjectTagAssignmentFieldsFragmentDoc: DocumentNode<ProjectTagAssignmentFieldsFragment, unknown>;
1408
+ export declare const ProjectFullFieldsFragmentDoc: DocumentNode<ProjectFullFieldsFragment, unknown>;
1409
+ export declare const WorkspaceCardFieldsFragmentDoc: DocumentNode<WorkspaceCardFieldsFragment, unknown>;
1410
+ export declare const WorkspaceTagAssignmentFieldsFragmentDoc: DocumentNode<WorkspaceTagAssignmentFieldsFragment, unknown>;
1411
+ export declare const WorkspaceFullFieldsFragmentDoc: DocumentNode<WorkspaceFullFieldsFragment, unknown>;
1412
+ export declare const DashboardProjectsDocument: DocumentNode<DashboardProjectsQuery, DashboardProjectsQueryVariables>;
1413
+ export declare const DashboardWorkspaceDataDocument: DocumentNode<DashboardWorkspaceDataQuery, DashboardWorkspaceDataQueryVariables>;
1414
+ export declare const AddWorkspaceMemberDocument: DocumentNode<AddWorkspaceMemberMutation, AddWorkspaceMemberMutationVariables>;
1415
+ export declare const RemoveWorkspaceMemberDocument: DocumentNode<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>;
1416
+ export declare const RemoveUserFromWorkspaceDocument: DocumentNode<RemoveUserFromWorkspaceMutation, RemoveUserFromWorkspaceMutationVariables>;
1417
+ export declare const CreateInvitationDocument: DocumentNode<CreateInvitationMutation, CreateInvitationMutationVariables>;
1418
+ export declare const UpdateInvitationDocument: DocumentNode<UpdateInvitationMutation, UpdateInvitationMutationVariables>;
1419
+ export declare const AcceptInvitationDocument: DocumentNode<AcceptInvitationMutation, AcceptInvitationMutationVariables>;
1420
+ export declare const RejectInvitationDocument: DocumentNode<RejectInvitationMutation, RejectInvitationMutationVariables>;
1421
+ export declare const CancelInvitationDocument: DocumentNode<CancelInvitationMutation, CancelInvitationMutationVariables>;
1422
+ export declare const ResendInvitationDocument: DocumentNode<ResendInvitationMutation, ResendInvitationMutationVariables>;
1423
+ export declare const DeleteInvitationDocument: DocumentNode<DeleteInvitationMutation, DeleteInvitationMutationVariables>;
1424
+ export declare const BulkCreateInvitationsDocument: DocumentNode<BulkCreateInvitationsMutation, BulkCreateInvitationsMutationVariables>;
1425
+ export declare const CreateProjectDocument: DocumentNode<CreateProjectMutation, CreateProjectMutationVariables>;
1426
+ export declare const UpdateProjectDocument: DocumentNode<UpdateProjectMutation, UpdateProjectMutationVariables>;
1427
+ export declare const DeleteProjectDocument: DocumentNode<DeleteProjectMutation, DeleteProjectMutationVariables>;
1428
+ export declare const ArchiveProjectDocument: DocumentNode<ArchiveProjectMutation, ArchiveProjectMutationVariables>;
1429
+ export declare const UnarchiveProjectDocument: DocumentNode<UnarchiveProjectMutation, UnarchiveProjectMutationVariables>;
1430
+ export declare const SwitchProjectDocument: DocumentNode<SwitchProjectMutation, SwitchProjectMutationVariables>;
1431
+ export declare const TagProjectDocument: DocumentNode<TagProjectMutation, TagProjectMutationVariables>;
1432
+ export declare const UntagProjectDocument: DocumentNode<UntagProjectMutation, UntagProjectMutationVariables>;
1433
+ export declare const ReplaceProjectTagsDocument: DocumentNode<ReplaceProjectTagsMutation, ReplaceProjectTagsMutationVariables>;
1434
+ export declare const CreateWorkspaceDocument: DocumentNode<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>;
1435
+ export declare const UpdateWorkspaceDocument: DocumentNode<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
1436
+ export declare const DeleteWorkspaceDocument: DocumentNode<DeleteWorkspaceMutation, DeleteWorkspaceMutationVariables>;
1437
+ export declare const ArchiveWorkspaceDocument: DocumentNode<ArchiveWorkspaceMutation, ArchiveWorkspaceMutationVariables>;
1438
+ export declare const ReactivateWorkspaceDocument: DocumentNode<ReactivateWorkspaceMutation, ReactivateWorkspaceMutationVariables>;
1439
+ export declare const InitializeWorkspaceDocument: DocumentNode<InitializeWorkspaceMutation, InitializeWorkspaceMutationVariables>;
1440
+ export declare const TagWorkspaceDocument: DocumentNode<TagWorkspaceMutation, TagWorkspaceMutationVariables>;
1441
+ export declare const UntagWorkspaceDocument: DocumentNode<UntagWorkspaceMutation, UntagWorkspaceMutationVariables>;
1442
+ export declare const ReplaceWorkspaceTagsDocument: DocumentNode<ReplaceWorkspaceTagsMutation, ReplaceWorkspaceTagsMutationVariables>;
1443
+ export declare const GetWorkspaceMembersDocument: DocumentNode<GetWorkspaceMembersQuery, GetWorkspaceMembersQueryVariables>;
1444
+ export declare const GetWorkspaceMemberDocument: DocumentNode<GetWorkspaceMemberQuery, GetWorkspaceMemberQueryVariables>;
1445
+ export declare const GetUserWorkspacesDocument: DocumentNode<GetUserWorkspacesQuery, GetUserWorkspacesQueryVariables>;
1446
+ export declare const GetWorkspaceInvitationsDocument: DocumentNode<GetWorkspaceInvitationsQuery, GetWorkspaceInvitationsQueryVariables>;
1447
+ export declare const GetInvitationDocument: DocumentNode<GetInvitationQuery, GetInvitationQueryVariables>;
1448
+ export declare const GetMyPendingInvitationsDocument: DocumentNode<GetMyPendingInvitationsQuery, GetMyPendingInvitationsQueryVariables>;
1449
+ export declare const GetProjectsDocument: DocumentNode<GetProjectsQuery, GetProjectsQueryVariables>;
1450
+ export declare const GetProjectDocument: DocumentNode<GetProjectQuery, GetProjectQueryVariables>;
1451
+ export declare const GetMyProjectsDocument: DocumentNode<GetMyProjectsQuery, GetMyProjectsQueryVariables>;
1452
+ export declare const GetProjectTagsDocument: DocumentNode<GetProjectTagsQuery, GetProjectTagsQueryVariables>;
1453
+ export declare const GetWorkspacesDocument: DocumentNode<GetWorkspacesQuery, GetWorkspacesQueryVariables>;
1454
+ export declare const GetWorkspaceDocument: DocumentNode<GetWorkspaceQuery, GetWorkspaceQueryVariables>;
1455
+ export declare const GetMyWorkspacesDocument: DocumentNode<GetMyWorkspacesQuery, GetMyWorkspacesQueryVariables>;
1456
+ export declare const GetWorkspaceTagsDocument: DocumentNode<GetWorkspaceTagsQuery, GetWorkspaceTagsQueryVariables>;
1457
+ export {};