@burdenoff/microfe-export 2026.1124.2 → 2026.1125.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/export/ExportRoutes.js +62 -57
- package/dist/export/ExportRoutes.js.map +1 -1
- package/dist/export/components/ConfirmDestructiveDialog.js +18 -14
- package/dist/export/components/ConfirmDestructiveDialog.js.map +1 -1
- package/dist/export/components/DownloadStatus.js +14 -10
- package/dist/export/components/DownloadStatus.js.map +1 -1
- package/dist/export/components/ExportProgressBar.d.ts +3 -1
- package/dist/export/components/ExportProgressBar.js +23 -11
- package/dist/export/components/ExportProgressBar.js.map +1 -1
- package/dist/export/components/loadingSystem.d.ts +64 -0
- package/dist/export/components/loadingSystem.js +49 -0
- package/dist/export/components/loadingSystem.js.map +1 -0
- package/dist/export/hooks/exportBackgroundTask.d.ts +18 -0
- package/dist/export/hooks/exportBackgroundTask.js +46 -0
- package/dist/export/hooks/exportBackgroundTask.js.map +1 -0
- package/dist/export/hooks/useExportQueries.d.ts +12 -12
- package/dist/export/hooks/useExportQueries.js +166 -156
- package/dist/export/hooks/useExportQueries.js.map +1 -1
- package/dist/export/pages/CreateExportPage.js +29 -27
- package/dist/export/pages/CreateExportPage.js.map +1 -1
- package/dist/export/pages/ExportDashboardPage.js +114 -113
- package/dist/export/pages/ExportDashboardPage.js.map +1 -1
- package/dist/export/pages/ExportDetailPage.js +104 -98
- package/dist/export/pages/ExportDetailPage.js.map +1 -1
- package/dist/export/pages/ExportHistoryPage.js +150 -149
- package/dist/export/pages/ExportHistoryPage.js.map +1 -1
- package/dist/export/pages/ExportTemplatesPage.js +156 -154
- package/dist/export/pages/ExportTemplatesPage.js.map +1 -1
- package/dist/export/pages/TemplateDetailPage.js +142 -136
- package/dist/export/pages/TemplateDetailPage.js.map +1 -1
- package/dist/export/pages/v2/DownloadDetailPage.js +108 -103
- package/dist/export/pages/v2/DownloadDetailPage.js.map +1 -1
- package/dist/export/pages/v2/DownloadsPage.js +153 -152
- package/dist/export/pages/v2/DownloadsPage.js.map +1 -1
- package/dist/export/pages/v2/NewDownloadPage.js +142 -138
- package/dist/export/pages/v2/NewDownloadPage.js.map +1 -1
- package/dist/export/workspace-v2/DownloadCells.js +32 -20
- package/dist/export/workspace-v2/DownloadCells.js.map +1 -1
- package/dist/export/workspace-v2/NewDownloadDialog.js +1 -1
- package/dist/export/workspace-v2/NewDownloadDialog.js.map +1 -1
- package/dist/export/workspace-v2/useExportAccess.d.ts +2 -2
- package/dist/export/workspace-v2/useExportAccess.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +0 -42
- package/dist/generated/wspace-operations.js +6 -16
- package/dist/generated/wspace-operations.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExportAccess.js","names":["useExportAccess","loading","usePermissionLoading","canCreate","usePermission","canWorkspace","canSetups","canCancel","canDelete"],"sources":["../../../src/export/workspace-v2/useExportAccess.ts"],"sourcesContent":["/**\n * What this person may do on \"Download your data\" (BOFF-15822). Members see\n * what admins can do, locked and told why, never hidden; the export service\n * checks the same permissions (`@rbac` on each call).\n */\nimport {\n usePermission,\n usePermissionLoading,\n} from \"@burdenoff/fe-libs/shared/providers/shell\";\n\nexport interface ExportAccess {\n /** The permissions have loaded: a lock can show. */\n settled: boolean;\n /** Start a download (`export:create`). */\n canCreate: boolean;\n /** Download everyone's data in the workspace (`export:workspace_admin`). */\n canWorkspace: boolean;\n /** Save and delete setups (`export:manage_templates`). */\n canSetups: boolean;\n /** Cancel a download that is preparing (`export:cancel`). */\n canCancel: boolean;\n /** Delete a download (`export:delete`). */\n canDelete: boolean;\n}\n\n/**\n * The workspace's export permissions, from the shell's permission set (no\n * request of its own). Whether someone may download the whole organization is\n *
|
|
1
|
+
{"version":3,"file":"useExportAccess.js","names":["useExportAccess","loading","usePermissionLoading","canCreate","usePermission","canWorkspace","canSetups","canCancel","canDelete"],"sources":["../../../src/export/workspace-v2/useExportAccess.ts"],"sourcesContent":["/**\n * What this person may do on \"Download your data\" (BOFF-15822). Members see\n * what admins can do, locked and told why, never hidden; the export service\n * checks the same permissions (`@rbac` on each call).\n */\nimport {\n usePermission,\n usePermissionLoading,\n} from \"@burdenoff/fe-libs/shared/providers/shell\";\n\nexport interface ExportAccess {\n /** The permissions have loaded: a lock can show. */\n settled: boolean;\n /** Start a download (`export:create`). */\n canCreate: boolean;\n /** Download everyone's data in the workspace (`export:workspace_admin`). */\n canWorkspace: boolean;\n /** Save and delete setups (`export:manage_templates`). */\n canSetups: boolean;\n /** Cancel a download that is preparing (`export:cancel`). */\n canCancel: boolean;\n /** Delete a download (`export:delete`). */\n canDelete: boolean;\n}\n\n/**\n * The workspace's export permissions, from the shell's permission set (no\n * request of its own). Whether someone may download the whole organization is\n * separate (`useOrganizationExportPermission`): no one may yet, and nothing is\n * asked (BOFF-16327).\n */\nexport function useExportAccess(): ExportAccess {\n const loading = usePermissionLoading();\n const canCreate = usePermission(\"export:create\");\n const canWorkspace = usePermission(\"export:workspace_admin\");\n const canSetups = usePermission(\"export:manage_templates\");\n const canCancel = usePermission(\"export:cancel\");\n const canDelete = usePermission(\"export:delete\");\n return {\n settled: !loading,\n canCreate,\n canWorkspace,\n canSetups,\n canCancel,\n canDelete,\n };\n}\n"],"mappings":";;AA+BA,SAAgBA,IAAgC;CAC9C,IAAMC,IAAUC,EAAqB,GAC/BC,IAAYC,EAAc,eAAe,GACzCC,IAAeD,EAAc,wBAAwB,GACrDE,IAAYF,EAAc,yBAAyB,GACnDG,IAAYH,EAAc,eAAe,GACzCI,IAAYJ,EAAc,eAAe;CAC/C,OAAO;EACL,SAAS,CAACH;EACV;EACA;EACA;EACA;EACA;CACF;AACF"}
|
|
@@ -217,18 +217,6 @@ export type UpdateExportTemplateMutation = {
|
|
|
217
217
|
updatedAt: string;
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
|
-
export type ExportOrganizationPermissionQueryVariables = Exact<{
|
|
221
|
-
scopeId: string;
|
|
222
|
-
}>;
|
|
223
|
-
export type ExportOrganizationPermissionQuery = {
|
|
224
|
-
myPermissions: {
|
|
225
|
-
scopeId: string;
|
|
226
|
-
permissions: Array<{
|
|
227
|
-
resourceType: string;
|
|
228
|
-
allowedActions: Array<string>;
|
|
229
|
-
}>;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
220
|
export type GetAvailableExportEntitiesQueryVariables = Exact<{
|
|
233
221
|
context: Types.ContextInput;
|
|
234
222
|
pagination?: Types.ExportPaginationInput | null | undefined;
|
|
@@ -643,36 +631,6 @@ export declare function useUpdateExportTemplateMutation(baseOptions?: ApolloReac
|
|
|
643
631
|
export type UpdateExportTemplateMutationHookResult = ReturnType<typeof useUpdateExportTemplateMutation>;
|
|
644
632
|
export type UpdateExportTemplateMutationResult = Apollo.MutationResult<Types.UpdateExportTemplateMutation>;
|
|
645
633
|
export type UpdateExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>;
|
|
646
|
-
export declare const ExportOrganizationPermissionDocument: Apollo.DocumentNode;
|
|
647
|
-
/**
|
|
648
|
-
* __useExportOrganizationPermissionQuery__
|
|
649
|
-
*
|
|
650
|
-
* To run a query within a React component, call `useExportOrganizationPermissionQuery` and pass it any options that fit your needs.
|
|
651
|
-
* When your component renders, `useExportOrganizationPermissionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
652
|
-
* you can use to render your UI.
|
|
653
|
-
*
|
|
654
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
655
|
-
*
|
|
656
|
-
* @example
|
|
657
|
-
* const { data, loading, error } = useExportOrganizationPermissionQuery({
|
|
658
|
-
* variables: {
|
|
659
|
-
* scopeId: // value for 'scopeId'
|
|
660
|
-
* },
|
|
661
|
-
* });
|
|
662
|
-
*/
|
|
663
|
-
export declare function useExportOrganizationPermissionQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables> & ({
|
|
664
|
-
variables: Types.ExportOrganizationPermissionQueryVariables;
|
|
665
|
-
skip?: boolean;
|
|
666
|
-
} | {
|
|
667
|
-
skip: boolean;
|
|
668
|
-
})): ApolloReactHooks.useQuery.Result<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables, "complete" | "empty" | "streaming", Types.ExportOrganizationPermissionQueryVariables, undefined>;
|
|
669
|
-
export declare function useExportOrganizationPermissionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables, "complete" | "empty" | "streaming", undefined>;
|
|
670
|
-
export declare function useExportOrganizationPermissionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>;
|
|
671
|
-
export declare function useExportOrganizationPermissionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ExportOrganizationPermissionQuery | undefined, Types.ExportOrganizationPermissionQueryVariables>;
|
|
672
|
-
export type ExportOrganizationPermissionQueryHookResult = ReturnType<typeof useExportOrganizationPermissionQuery>;
|
|
673
|
-
export type ExportOrganizationPermissionLazyQueryHookResult = ReturnType<typeof useExportOrganizationPermissionLazyQuery>;
|
|
674
|
-
export type ExportOrganizationPermissionSuspenseQueryHookResult = ReturnType<typeof useExportOrganizationPermissionSuspenseQuery>;
|
|
675
|
-
export type ExportOrganizationPermissionQueryResult = Apollo.QueryResult<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>;
|
|
676
634
|
export declare const GetAvailableExportEntitiesDocument: Apollo.DocumentNode;
|
|
677
635
|
/**
|
|
678
636
|
* __useGetAvailableExportEntitiesQuery__
|
|
@@ -110,16 +110,6 @@ var t = e`
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
`, c = e`
|
|
113
|
-
query ExportOrganizationPermission($scopeId: String!) {
|
|
114
|
-
myPermissions(scopeId: $scopeId) {
|
|
115
|
-
scopeId
|
|
116
|
-
permissions {
|
|
117
|
-
resourceType
|
|
118
|
-
allowedActions
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
`, l = e`
|
|
123
113
|
query GetAvailableExportEntities($context: ContextInput!, $pagination: ExportPaginationInput) {
|
|
124
114
|
getAvailableExportEntities(context: $context, pagination: $pagination) {
|
|
125
115
|
edges {
|
|
@@ -143,7 +133,7 @@ var t = e`
|
|
|
143
133
|
totalCount
|
|
144
134
|
}
|
|
145
135
|
}
|
|
146
|
-
`,
|
|
136
|
+
`, l = e`
|
|
147
137
|
query GetExportJob($context: ContextInput, $id: ID!) {
|
|
148
138
|
getExportJob(context: $context, id: $id) {
|
|
149
139
|
id
|
|
@@ -214,7 +204,7 @@ e`
|
|
|
214
204
|
}
|
|
215
205
|
}
|
|
216
206
|
`;
|
|
217
|
-
var
|
|
207
|
+
var u = e`
|
|
218
208
|
query GetExportTemplate($context: ContextInput, $id: ID!) {
|
|
219
209
|
getExportTemplate(context: $context, id: $id) {
|
|
220
210
|
id
|
|
@@ -234,7 +224,7 @@ var d = e`
|
|
|
234
224
|
updatedBy
|
|
235
225
|
}
|
|
236
226
|
}
|
|
237
|
-
`,
|
|
227
|
+
`, d = e`
|
|
238
228
|
query ListExportTemplates($context: ContextInput!, $pagination: ExportPaginationInput) {
|
|
239
229
|
listExportTemplates(context: $context, pagination: $pagination) {
|
|
240
230
|
edges {
|
|
@@ -263,7 +253,7 @@ var d = e`
|
|
|
263
253
|
totalCount
|
|
264
254
|
}
|
|
265
255
|
}
|
|
266
|
-
`,
|
|
256
|
+
`, f = e`
|
|
267
257
|
query ListExportJobs($filter: ExportJobFilterInput, $pagination: ExportPaginationInput, $context: ContextInput!) {
|
|
268
258
|
listExportJobs(filter: $filter, pagination: $pagination, context: $context) {
|
|
269
259
|
edges {
|
|
@@ -305,7 +295,7 @@ var d = e`
|
|
|
305
295
|
totalCount
|
|
306
296
|
}
|
|
307
297
|
}
|
|
308
|
-
`,
|
|
298
|
+
`, p = e`
|
|
309
299
|
subscription ExportJobProgress($jobId: ID!) {
|
|
310
300
|
exportJobProgress(jobId: $jobId) {
|
|
311
301
|
id
|
|
@@ -346,6 +336,6 @@ var d = e`
|
|
|
346
336
|
}
|
|
347
337
|
}
|
|
348
338
|
`;
|
|
349
|
-
export { t as CancelExportJobDocument, n as CreateExportJobDocument, r as CreateExportTemplateDocument, i as DeleteExportJobDocument, a as DeleteExportTemplateDocument,
|
|
339
|
+
export { t as CancelExportJobDocument, n as CreateExportJobDocument, r as CreateExportTemplateDocument, i as DeleteExportJobDocument, a as DeleteExportTemplateDocument, p as ExportJobProgressDocument, c as GetAvailableExportEntitiesDocument, l as GetExportJobDocument, u as GetExportTemplateDocument, f as ListExportJobsDocument, d as ListExportTemplatesDocument, o as RetryExportJobDocument, s as UpdateExportTemplateDocument };
|
|
350
340
|
|
|
351
341
|
//# sourceMappingURL=wspace-operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wspace-operations.js","names":["CancelExportJobDocument","CreateExportJobDocument","CreateExportTemplateDocument","DeleteExportJobDocument","DeleteExportTemplateDocument","RetryExportJobDocument","UpdateExportTemplateDocument","ExportOrganizationPermissionDocument","GetAvailableExportEntitiesDocument","GetExportJobDocument","GetExportTemplateDocument","ListExportTemplatesDocument","ListExportJobsDocument","ExportJobProgressDocument"],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\n/**\n * Operation context for filtering and scoping data.\n * All fields are optional and can be extended as needed.\n */\nexport type ContextInput = {\n /** App ID for app-level scoping */\n appId?: string | number | null | undefined;\n /** Additional custom context as JSON */\n custom?: Record<string, unknown> | null | undefined;\n /** Project ID for project-level scoping */\n projectId?: string | number | null | undefined;\n /** User ID for user-level scoping */\n userId?: string | number | null | undefined;\n /** Workspace ID for workspace-level scoping */\n workspaceId?: string | number | null | undefined;\n};\n\nexport type CreateExportJobInput = {\n context?: ContextInput | null | undefined;\n dateRangeEnd?: string | null | undefined;\n dateRangeStart?: string | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes: Array<string>;\n exportScope?: ExportScope | null | undefined;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n name: string;\n organizationId?: string | number | null | undefined;\n templateId?: string | number | null | undefined;\n};\n\nexport type CreateExportTemplateInput = {\n context?: ContextInput | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes: Array<string>;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n name: string;\n};\n\nexport type ExportArchiveFormat =\n | 'ZIP';\n\nexport type ExportFormat =\n | 'CSV'\n | 'JSON';\n\nexport type ExportJobFilterInput = {\n context?: ContextInput | null | undefined;\n dateFrom?: string | null | undefined;\n dateTo?: string | null | undefined;\n entityTypes?: Array<string> | null | undefined;\n format?: ExportFormat | null | undefined;\n search?: string | null | undefined;\n status?: Array<ExportJobStatus> | null | undefined;\n};\n\nexport type ExportJobStatus =\n | 'CANCELLED'\n | 'COMPLETED'\n | 'CREATED'\n | 'DELETED'\n | 'EXPIRED'\n | 'FAILED'\n | 'QUEUED'\n | 'RUNNING';\n\nexport type ExportPaginationInput = {\n after?: string | null | undefined;\n before?: string | null | undefined;\n first?: number | null | undefined;\n last?: number | null | undefined;\n sortBy?: ExportSortField | null | undefined;\n sortDirection?: SortDirection | null | undefined;\n};\n\nexport type ExportScope =\n | 'INDIVIDUAL'\n | 'ORG_ADMIN'\n | 'WORKSPACE_ADMIN';\n\nexport type ExportSortField =\n | 'CREATED_AT'\n | 'NAME'\n | 'STATUS'\n | 'TOTAL_SIZE_BYTES'\n | 'UPDATED_AT';\n\n/** Standard sort direction */\nexport type SortDirection =\n | 'ASC'\n | 'DESC';\n\nexport type UpdateExportTemplateInput = {\n context?: ContextInput | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes?: Array<string> | null | undefined;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n isDefault?: boolean | null | undefined;\n name?: string | null | undefined;\n};\n\nexport type CancelExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type CancelExportJobMutation = { cancelExportJob: { id: string, status: Types.ExportJobStatus, updatedAt: string } };\n\nexport type CreateExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n input: Types.CreateExportJobInput;\n}>;\n\n\nexport type CreateExportJobMutation = { createExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, dateRangeStart: string | null, dateRangeEnd: string | null, processedEntities: number, totalEntities: number, totalSizeBytes: string, progress: number, templateId: string | null, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type CreateExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n input: Types.CreateExportTemplateInput;\n}>;\n\n\nexport type CreateExportTemplateMutation = { createExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type DeleteExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type DeleteExportJobMutation = { deleteExportJob: boolean };\n\nexport type DeleteExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type DeleteExportTemplateMutation = { deleteExportTemplate: boolean };\n\nexport type RetryExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type RetryExportJobMutation = { retryExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, archiveFormat: Types.ExportArchiveFormat, progress: number, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, format: Types.ExportFormat, processedEntities: number, totalEntities: number, totalSizeBytes: string, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type UpdateExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n input: Types.UpdateExportTemplateInput;\n}>;\n\n\nexport type UpdateExportTemplateMutation = { updateExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, isDefault: boolean, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type ExportOrganizationPermissionQueryVariables = Exact<{\n scopeId: string;\n}>;\n\n\nexport type ExportOrganizationPermissionQuery = { myPermissions: { scopeId: string, permissions: Array<{ resourceType: string, allowedActions: Array<string> }> } };\n\nexport type GetAvailableExportEntitiesQueryVariables = Exact<{\n context: Types.ContextInput;\n pagination?: Types.ExportPaginationInput | null | undefined;\n}>;\n\n\nexport type GetAvailableExportEntitiesQuery = { getAvailableExportEntities: { totalCount: number, edges: Array<{ cursor: string, node: { entityType: string, displayName: string, description: string | null, enabled: boolean, estimatedSize: string | null, supportsDateRange: boolean, supportsMediaExport: boolean } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type GetExportJobQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportJobQuery = { getExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, dateRangeStart: string | null, dateRangeEnd: string | null, processedEntities: number, totalEntities: number, totalSizeBytes: string, progress: number, errorMessage: string | null, errorCode: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, temporalWorkflowId: string | null, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null, parts: Array<{ id: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null }>, template: { id: string, name: string, description: string | null } | null } | null };\n\nexport type GetExportPartQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportPartQuery = { getExportPart: { id: string, jobId: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null, createdAt: string } | null };\n\nexport type GetExportTemplateQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportTemplateQuery = { getExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null } | null };\n\nexport type ListExportTemplatesQueryVariables = Exact<{\n context: Types.ContextInput;\n pagination?: Types.ExportPaginationInput | null | undefined;\n}>;\n\n\nexport type ListExportTemplatesQuery = { listExportTemplates: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type ListExportJobsQueryVariables = Exact<{\n filter?: Types.ExportJobFilterInput | null | undefined;\n pagination?: Types.ExportPaginationInput | null | undefined;\n context: Types.ContextInput;\n}>;\n\n\nexport type ListExportJobsQuery = { listExportJobs: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, progress: number, totalEntities: number, processedEntities: number, totalSizeBytes: string, errorMessage: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type ExportJobProgressSubscriptionVariables = Exact<{\n jobId: string | number;\n}>;\n\n\nexport type ExportJobProgressSubscription = { exportJobProgress: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, progress: number, processedEntities: number, totalEntities: number, totalSizeBytes: string, errorMessage: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string, parts: Array<{ id: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null }> } };\n\n\nexport const CancelExportJobDocument = gql`\n mutation CancelExportJob($context: ContextInput, $id: ID!) {\n cancelExportJob(context: $context, id: $id) {\n id\n status\n updatedAt\n }\n}\n `;\nexport type CancelExportJobMutationFn = Apollo.MutationFunction<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>;\n\n/**\n * __useCancelExportJobMutation__\n *\n * To run a mutation, you first call `useCancelExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCancelExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [cancelExportJobMutation, { data, loading, error }] = useCancelExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useCancelExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>(CancelExportJobDocument, options);\n }\nexport type CancelExportJobMutationHookResult = ReturnType<typeof useCancelExportJobMutation>;\nexport type CancelExportJobMutationResult = Apollo.MutationResult<Types.CancelExportJobMutation>;\nexport type CancelExportJobMutationOptions = Apollo.BaseMutationOptions<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>;\nexport const CreateExportJobDocument = gql`\n mutation CreateExportJob($context: ContextInput, $input: CreateExportJobInput!) {\n createExportJob(context: $context, input: $input) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n entityFilters\n includeMedia\n includeMetadata\n dateRangeStart\n dateRangeEnd\n processedEntities\n totalEntities\n totalSizeBytes\n progress\n templateId\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type CreateExportJobMutationFn = Apollo.MutationFunction<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>;\n\n/**\n * __useCreateExportJobMutation__\n *\n * To run a mutation, you first call `useCreateExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createExportJobMutation, { data, loading, error }] = useCreateExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>(CreateExportJobDocument, options);\n }\nexport type CreateExportJobMutationHookResult = ReturnType<typeof useCreateExportJobMutation>;\nexport type CreateExportJobMutationResult = Apollo.MutationResult<Types.CreateExportJobMutation>;\nexport type CreateExportJobMutationOptions = Apollo.BaseMutationOptions<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>;\nexport const CreateExportTemplateDocument = gql`\n mutation CreateExportTemplate($context: ContextInput, $input: CreateExportTemplateInput!) {\n createExportTemplate(context: $context, input: $input) {\n id\n name\n description\n entityTypes\n format\n entityFilters\n includeMedia\n includeMetadata\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type CreateExportTemplateMutationFn = Apollo.MutationFunction<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>;\n\n/**\n * __useCreateExportTemplateMutation__\n *\n * To run a mutation, you first call `useCreateExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createExportTemplateMutation, { data, loading, error }] = useCreateExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>(CreateExportTemplateDocument, options);\n }\nexport type CreateExportTemplateMutationHookResult = ReturnType<typeof useCreateExportTemplateMutation>;\nexport type CreateExportTemplateMutationResult = Apollo.MutationResult<Types.CreateExportTemplateMutation>;\nexport type CreateExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>;\nexport const DeleteExportJobDocument = gql`\n mutation DeleteExportJob($context: ContextInput, $id: ID!) {\n deleteExportJob(context: $context, id: $id)\n}\n `;\nexport type DeleteExportJobMutationFn = Apollo.MutationFunction<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>;\n\n/**\n * __useDeleteExportJobMutation__\n *\n * To run a mutation, you first call `useDeleteExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteExportJobMutation, { data, loading, error }] = useDeleteExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>(DeleteExportJobDocument, options);\n }\nexport type DeleteExportJobMutationHookResult = ReturnType<typeof useDeleteExportJobMutation>;\nexport type DeleteExportJobMutationResult = Apollo.MutationResult<Types.DeleteExportJobMutation>;\nexport type DeleteExportJobMutationOptions = Apollo.BaseMutationOptions<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>;\nexport const DeleteExportTemplateDocument = gql`\n mutation DeleteExportTemplate($context: ContextInput, $id: ID!) {\n deleteExportTemplate(context: $context, id: $id)\n}\n `;\nexport type DeleteExportTemplateMutationFn = Apollo.MutationFunction<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>;\n\n/**\n * __useDeleteExportTemplateMutation__\n *\n * To run a mutation, you first call `useDeleteExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteExportTemplateMutation, { data, loading, error }] = useDeleteExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>(DeleteExportTemplateDocument, options);\n }\nexport type DeleteExportTemplateMutationHookResult = ReturnType<typeof useDeleteExportTemplateMutation>;\nexport type DeleteExportTemplateMutationResult = Apollo.MutationResult<Types.DeleteExportTemplateMutation>;\nexport type DeleteExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>;\nexport const RetryExportJobDocument = gql`\n mutation RetryExportJob($context: ContextInput, $id: ID!) {\n retryExportJob(context: $context, id: $id) {\n id\n name\n description\n status\n archiveFormat\n progress\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n format\n processedEntities\n totalEntities\n totalSizeBytes\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type RetryExportJobMutationFn = Apollo.MutationFunction<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>;\n\n/**\n * __useRetryExportJobMutation__\n *\n * To run a mutation, you first call `useRetryExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRetryExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [retryExportJobMutation, { data, loading, error }] = useRetryExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useRetryExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>(RetryExportJobDocument, options);\n }\nexport type RetryExportJobMutationHookResult = ReturnType<typeof useRetryExportJobMutation>;\nexport type RetryExportJobMutationResult = Apollo.MutationResult<Types.RetryExportJobMutation>;\nexport type RetryExportJobMutationOptions = Apollo.BaseMutationOptions<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>;\nexport const UpdateExportTemplateDocument = gql`\n mutation UpdateExportTemplate($context: ContextInput, $id: ID!, $input: UpdateExportTemplateInput!) {\n updateExportTemplate(context: $context, id: $id, input: $input) {\n id\n name\n description\n entityTypes\n format\n isDefault\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type UpdateExportTemplateMutationFn = Apollo.MutationFunction<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>;\n\n/**\n * __useUpdateExportTemplateMutation__\n *\n * To run a mutation, you first call `useUpdateExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateExportTemplateMutation, { data, loading, error }] = useUpdateExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>(UpdateExportTemplateDocument, options);\n }\nexport type UpdateExportTemplateMutationHookResult = ReturnType<typeof useUpdateExportTemplateMutation>;\nexport type UpdateExportTemplateMutationResult = Apollo.MutationResult<Types.UpdateExportTemplateMutation>;\nexport type UpdateExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>;\nexport const ExportOrganizationPermissionDocument = gql`\n query ExportOrganizationPermission($scopeId: String!) {\n myPermissions(scopeId: $scopeId) {\n scopeId\n permissions {\n resourceType\n allowedActions\n }\n }\n}\n `;\n\n/**\n * __useExportOrganizationPermissionQuery__\n *\n * To run a query within a React component, call `useExportOrganizationPermissionQuery` and pass it any options that fit your needs.\n * When your component renders, `useExportOrganizationPermissionQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useExportOrganizationPermissionQuery({\n * variables: {\n * scopeId: // value for 'scopeId'\n * },\n * });\n */\nexport function useExportOrganizationPermissionQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables> & ({ variables: Types.ExportOrganizationPermissionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>(ExportOrganizationPermissionDocument, options);\n }\nexport function useExportOrganizationPermissionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>(ExportOrganizationPermissionDocument, options);\n }\n// @ts-ignore\nexport function useExportOrganizationPermissionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>;\nexport function useExportOrganizationPermissionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ExportOrganizationPermissionQuery | undefined, Types.ExportOrganizationPermissionQueryVariables>;\nexport function useExportOrganizationPermissionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>(ExportOrganizationPermissionDocument, options);\n }\nexport type ExportOrganizationPermissionQueryHookResult = ReturnType<typeof useExportOrganizationPermissionQuery>;\nexport type ExportOrganizationPermissionLazyQueryHookResult = ReturnType<typeof useExportOrganizationPermissionLazyQuery>;\nexport type ExportOrganizationPermissionSuspenseQueryHookResult = ReturnType<typeof useExportOrganizationPermissionSuspenseQuery>;\nexport type ExportOrganizationPermissionQueryResult = Apollo.QueryResult<Types.ExportOrganizationPermissionQuery, Types.ExportOrganizationPermissionQueryVariables>;\nexport const GetAvailableExportEntitiesDocument = gql`\n query GetAvailableExportEntities($context: ContextInput!, $pagination: ExportPaginationInput) {\n getAvailableExportEntities(context: $context, pagination: $pagination) {\n edges {\n cursor\n node {\n entityType\n displayName\n description\n enabled\n estimatedSize\n supportsDateRange\n supportsMediaExport\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetAvailableExportEntitiesQuery__\n *\n * To run a query within a React component, call `useGetAvailableExportEntitiesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetAvailableExportEntitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetAvailableExportEntitiesQuery({\n * variables: {\n * context: // value for 'context'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetAvailableExportEntitiesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables> & ({ variables: Types.GetAvailableExportEntitiesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\nexport function useGetAvailableExportEntitiesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\n// @ts-ignore\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>;\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAvailableExportEntitiesQuery | undefined, Types.GetAvailableExportEntitiesQueryVariables>;\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\nexport type GetAvailableExportEntitiesQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesQuery>;\nexport type GetAvailableExportEntitiesLazyQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesLazyQuery>;\nexport type GetAvailableExportEntitiesSuspenseQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesSuspenseQuery>;\nexport type GetAvailableExportEntitiesQueryResult = Apollo.QueryResult<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>;\nexport const GetExportJobDocument = gql`\n query GetExportJob($context: ContextInput, $id: ID!) {\n getExportJob(context: $context, id: $id) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n entityFilters\n includeMedia\n includeMetadata\n dateRangeStart\n dateRangeEnd\n parts {\n id\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n }\n processedEntities\n totalEntities\n totalSizeBytes\n progress\n errorMessage\n errorCode\n startedAt\n completedAt\n expiresAt\n templateId\n template {\n id\n name\n description\n }\n temporalWorkflowId\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n}\n `;\n\n/**\n * __useGetExportJobQuery__\n *\n * To run a query within a React component, call `useGetExportJobQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportJobQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportJobQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportJobQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables> & ({ variables: Types.GetExportJobQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\nexport function useGetExportJobLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\n// @ts-ignore\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>;\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportJobQuery | undefined, Types.GetExportJobQueryVariables>;\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\nexport type GetExportJobQueryHookResult = ReturnType<typeof useGetExportJobQuery>;\nexport type GetExportJobLazyQueryHookResult = ReturnType<typeof useGetExportJobLazyQuery>;\nexport type GetExportJobSuspenseQueryHookResult = ReturnType<typeof useGetExportJobSuspenseQuery>;\nexport type GetExportJobQueryResult = Apollo.QueryResult<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>;\nexport const GetExportPartDocument = gql`\n query GetExportPart($context: ContextInput, $id: ID!) {\n getExportPart(context: $context, id: $id) {\n id\n jobId\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n createdAt\n }\n}\n `;\n\n/**\n * __useGetExportPartQuery__\n *\n * To run a query within a React component, call `useGetExportPartQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportPartQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportPartQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportPartQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables> & ({ variables: Types.GetExportPartQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\nexport function useGetExportPartLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\n// @ts-ignore\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>;\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportPartQuery | undefined, Types.GetExportPartQueryVariables>;\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\nexport type GetExportPartQueryHookResult = ReturnType<typeof useGetExportPartQuery>;\nexport type GetExportPartLazyQueryHookResult = ReturnType<typeof useGetExportPartLazyQuery>;\nexport type GetExportPartSuspenseQueryHookResult = ReturnType<typeof useGetExportPartSuspenseQuery>;\nexport type GetExportPartQueryResult = Apollo.QueryResult<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>;\nexport const GetExportTemplateDocument = gql`\n query GetExportTemplate($context: ContextInput, $id: ID!) {\n getExportTemplate(context: $context, id: $id) {\n id\n name\n description\n entityTypes\n format\n entityFilters\n includeMedia\n includeMetadata\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n}\n `;\n\n/**\n * __useGetExportTemplateQuery__\n *\n * To run a query within a React component, call `useGetExportTemplateQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportTemplateQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportTemplateQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables> & ({ variables: Types.GetExportTemplateQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\nexport function useGetExportTemplateLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\n// @ts-ignore\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>;\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportTemplateQuery | undefined, Types.GetExportTemplateQueryVariables>;\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\nexport type GetExportTemplateQueryHookResult = ReturnType<typeof useGetExportTemplateQuery>;\nexport type GetExportTemplateLazyQueryHookResult = ReturnType<typeof useGetExportTemplateLazyQuery>;\nexport type GetExportTemplateSuspenseQueryHookResult = ReturnType<typeof useGetExportTemplateSuspenseQuery>;\nexport type GetExportTemplateQueryResult = Apollo.QueryResult<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>;\nexport const ListExportTemplatesDocument = gql`\n query ListExportTemplates($context: ContextInput!, $pagination: ExportPaginationInput) {\n listExportTemplates(context: $context, pagination: $pagination) {\n edges {\n cursor\n node {\n id\n name\n description\n entityTypes\n format\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useListExportTemplatesQuery__\n *\n * To run a query within a React component, call `useListExportTemplatesQuery` and pass it any options that fit your needs.\n * When your component renders, `useListExportTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useListExportTemplatesQuery({\n * variables: {\n * context: // value for 'context'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useListExportTemplatesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables> & ({ variables: Types.ListExportTemplatesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\nexport function useListExportTemplatesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\n// @ts-ignore\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>;\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportTemplatesQuery | undefined, Types.ListExportTemplatesQueryVariables>;\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\nexport type ListExportTemplatesQueryHookResult = ReturnType<typeof useListExportTemplatesQuery>;\nexport type ListExportTemplatesLazyQueryHookResult = ReturnType<typeof useListExportTemplatesLazyQuery>;\nexport type ListExportTemplatesSuspenseQueryHookResult = ReturnType<typeof useListExportTemplatesSuspenseQuery>;\nexport type ListExportTemplatesQueryResult = Apollo.QueryResult<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>;\nexport const ListExportJobsDocument = gql`\n query ListExportJobs($filter: ExportJobFilterInput, $pagination: ExportPaginationInput, $context: ContextInput!) {\n listExportJobs(filter: $filter, pagination: $pagination, context: $context) {\n edges {\n cursor\n node {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n progress\n totalEntities\n processedEntities\n totalSizeBytes\n errorMessage\n startedAt\n completedAt\n expiresAt\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useListExportJobsQuery__\n *\n * To run a query within a React component, call `useListExportJobsQuery` and pass it any options that fit your needs.\n * When your component renders, `useListExportJobsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useListExportJobsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useListExportJobsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables> & ({ variables: Types.ListExportJobsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\nexport function useListExportJobsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\n// @ts-ignore\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>;\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportJobsQuery | undefined, Types.ListExportJobsQueryVariables>;\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\nexport type ListExportJobsQueryHookResult = ReturnType<typeof useListExportJobsQuery>;\nexport type ListExportJobsLazyQueryHookResult = ReturnType<typeof useListExportJobsLazyQuery>;\nexport type ListExportJobsSuspenseQueryHookResult = ReturnType<typeof useListExportJobsSuspenseQuery>;\nexport type ListExportJobsQueryResult = Apollo.QueryResult<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>;\nexport const ExportJobProgressDocument = gql`\n subscription ExportJobProgress($jobId: ID!) {\n exportJobProgress(jobId: $jobId) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n progress\n processedEntities\n totalEntities\n totalSizeBytes\n errorMessage\n startedAt\n completedAt\n expiresAt\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n parts {\n id\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n }\n }\n}\n `;\n\n/**\n * __useExportJobProgressSubscription__\n *\n * To run a query within a React component, call `useExportJobProgressSubscription` and pass it any options that fit your needs.\n * When your component renders, `useExportJobProgressSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useExportJobProgressSubscription({\n * variables: {\n * jobId: // value for 'jobId'\n * },\n * });\n */\nexport function useExportJobProgressSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ExportJobProgressSubscription, Types.ExportJobProgressSubscriptionVariables> & ({ variables: Types.ExportJobProgressSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ExportJobProgressSubscription, Types.ExportJobProgressSubscriptionVariables>(ExportJobProgressDocument, options);\n }\nexport type ExportJobProgressSubscriptionHookResult = ReturnType<typeof useExportJobProgressSubscription>;\nexport type ExportJobProgressSubscriptionResult = Apollo.SubscriptionResult<Types.ExportJobProgressSubscription>;"],"mappings":";;;AAiPA,IAAaA,IAA0B,CAAG;;;;;;;;OAoC7BC,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4D7BC,IAA+B,CAAG;;;;;;;;;;;;;;;;;;;OA+ClCC,IAA0B,CAAG;;;;OAgC7BC,IAA+B,CAAG;;;;OAgClCC,IAAyB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OAsD5BC,IAA+B,CAAG;;;;;;;;;;;;;;;OA4ClCC,IAAuC,CAAG;;;;;;;;;;OA+C1CC,IAAqC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;OA8DxCC,IAAuB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FF,CAAG;;;;;;;;;;;;;;;;AAqDxC,IAAaC,IAA4B,CAAG;;;;;;;;;;;;;;;;;;;;OA0D/BC,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmEjCC,IAAyB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiF5BC,IAA4B,CAAG"}
|
|
1
|
+
{"version":3,"file":"wspace-operations.js","names":["CancelExportJobDocument","CreateExportJobDocument","CreateExportTemplateDocument","DeleteExportJobDocument","DeleteExportTemplateDocument","RetryExportJobDocument","UpdateExportTemplateDocument","GetAvailableExportEntitiesDocument","GetExportJobDocument","GetExportTemplateDocument","ListExportTemplatesDocument","ListExportJobsDocument","ExportJobProgressDocument"],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\n/**\n * Operation context for filtering and scoping data.\n * All fields are optional and can be extended as needed.\n */\nexport type ContextInput = {\n /** App ID for app-level scoping */\n appId?: string | number | null | undefined;\n /** Additional custom context as JSON */\n custom?: Record<string, unknown> | null | undefined;\n /** Project ID for project-level scoping */\n projectId?: string | number | null | undefined;\n /** User ID for user-level scoping */\n userId?: string | number | null | undefined;\n /** Workspace ID for workspace-level scoping */\n workspaceId?: string | number | null | undefined;\n};\n\nexport type CreateExportJobInput = {\n context?: ContextInput | null | undefined;\n dateRangeEnd?: string | null | undefined;\n dateRangeStart?: string | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes: Array<string>;\n exportScope?: ExportScope | null | undefined;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n name: string;\n organizationId?: string | number | null | undefined;\n templateId?: string | number | null | undefined;\n};\n\nexport type CreateExportTemplateInput = {\n context?: ContextInput | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes: Array<string>;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n name: string;\n};\n\nexport type ExportArchiveFormat =\n | 'ZIP';\n\nexport type ExportFormat =\n | 'CSV'\n | 'JSON';\n\nexport type ExportJobFilterInput = {\n context?: ContextInput | null | undefined;\n dateFrom?: string | null | undefined;\n dateTo?: string | null | undefined;\n entityTypes?: Array<string> | null | undefined;\n format?: ExportFormat | null | undefined;\n search?: string | null | undefined;\n status?: Array<ExportJobStatus> | null | undefined;\n};\n\nexport type ExportJobStatus =\n | 'CANCELLED'\n | 'COMPLETED'\n | 'CREATED'\n | 'DELETED'\n | 'EXPIRED'\n | 'FAILED'\n | 'QUEUED'\n | 'RUNNING';\n\nexport type ExportPaginationInput = {\n after?: string | null | undefined;\n before?: string | null | undefined;\n first?: number | null | undefined;\n last?: number | null | undefined;\n sortBy?: ExportSortField | null | undefined;\n sortDirection?: SortDirection | null | undefined;\n};\n\nexport type ExportScope =\n | 'INDIVIDUAL'\n | 'ORG_ADMIN'\n | 'WORKSPACE_ADMIN';\n\nexport type ExportSortField =\n | 'CREATED_AT'\n | 'NAME'\n | 'STATUS'\n | 'TOTAL_SIZE_BYTES'\n | 'UPDATED_AT';\n\n/** Standard sort direction */\nexport type SortDirection =\n | 'ASC'\n | 'DESC';\n\nexport type UpdateExportTemplateInput = {\n context?: ContextInput | null | undefined;\n description?: string | null | undefined;\n entityFilters?: Record<string, unknown> | null | undefined;\n entityTypes?: Array<string> | null | undefined;\n format?: ExportFormat | null | undefined;\n includeMedia?: boolean | null | undefined;\n includeMetadata?: boolean | null | undefined;\n isDefault?: boolean | null | undefined;\n name?: string | null | undefined;\n};\n\nexport type CancelExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type CancelExportJobMutation = { cancelExportJob: { id: string, status: Types.ExportJobStatus, updatedAt: string } };\n\nexport type CreateExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n input: Types.CreateExportJobInput;\n}>;\n\n\nexport type CreateExportJobMutation = { createExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, dateRangeStart: string | null, dateRangeEnd: string | null, processedEntities: number, totalEntities: number, totalSizeBytes: string, progress: number, templateId: string | null, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type CreateExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n input: Types.CreateExportTemplateInput;\n}>;\n\n\nexport type CreateExportTemplateMutation = { createExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type DeleteExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type DeleteExportJobMutation = { deleteExportJob: boolean };\n\nexport type DeleteExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type DeleteExportTemplateMutation = { deleteExportTemplate: boolean };\n\nexport type RetryExportJobMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type RetryExportJobMutation = { retryExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, archiveFormat: Types.ExportArchiveFormat, progress: number, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, format: Types.ExportFormat, processedEntities: number, totalEntities: number, totalSizeBytes: string, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type UpdateExportTemplateMutationVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n input: Types.UpdateExportTemplateInput;\n}>;\n\n\nexport type UpdateExportTemplateMutation = { updateExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, isDefault: boolean, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } };\n\nexport type GetAvailableExportEntitiesQueryVariables = Exact<{\n context: Types.ContextInput;\n pagination?: Types.ExportPaginationInput | null | undefined;\n}>;\n\n\nexport type GetAvailableExportEntitiesQuery = { getAvailableExportEntities: { totalCount: number, edges: Array<{ cursor: string, node: { entityType: string, displayName: string, description: string | null, enabled: boolean, estimatedSize: string | null, supportsDateRange: boolean, supportsMediaExport: boolean } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type GetExportJobQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportJobQuery = { getExportJob: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, dateRangeStart: string | null, dateRangeEnd: string | null, processedEntities: number, totalEntities: number, totalSizeBytes: string, progress: number, errorMessage: string | null, errorCode: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, temporalWorkflowId: string | null, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null, parts: Array<{ id: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null }>, template: { id: string, name: string, description: string | null } | null } | null };\n\nexport type GetExportPartQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportPartQuery = { getExportPart: { id: string, jobId: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null, createdAt: string } | null };\n\nexport type GetExportTemplateQueryVariables = Exact<{\n context?: Types.ContextInput | null | undefined;\n id: string | number;\n}>;\n\n\nexport type GetExportTemplateQuery = { getExportTemplate: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, entityFilters: Record<string, unknown> | null, includeMedia: boolean, includeMetadata: boolean, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null } | null };\n\nexport type ListExportTemplatesQueryVariables = Exact<{\n context: Types.ContextInput;\n pagination?: Types.ExportPaginationInput | null | undefined;\n}>;\n\n\nexport type ListExportTemplatesQuery = { listExportTemplates: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, name: string, description: string | null, entityTypes: Array<string>, format: Types.ExportFormat, isDefault: boolean, workspaceId: string, tenantId: string | null, createdBy: string, createdAt: string, updatedAt: string, updatedBy: string | null } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type ListExportJobsQueryVariables = Exact<{\n filter?: Types.ExportJobFilterInput | null | undefined;\n pagination?: Types.ExportPaginationInput | null | undefined;\n context: Types.ContextInput;\n}>;\n\n\nexport type ListExportJobsQuery = { listExportJobs: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, progress: number, totalEntities: number, processedEntities: number, totalSizeBytes: string, errorMessage: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string } }>, pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null } } };\n\nexport type ExportJobProgressSubscriptionVariables = Exact<{\n jobId: string | number;\n}>;\n\n\nexport type ExportJobProgressSubscription = { exportJobProgress: { id: string, name: string, description: string | null, status: Types.ExportJobStatus, format: Types.ExportFormat, archiveFormat: Types.ExportArchiveFormat, archiveFileId: string | null, downloadUrl: string | null, downloadExpiresAt: string | null, exportScope: Types.ExportScope, organizationId: string | null, entityTypes: Array<string>, progress: number, processedEntities: number, totalEntities: number, totalSizeBytes: string, errorMessage: string | null, startedAt: string | null, completedAt: string | null, expiresAt: string | null, templateId: string | null, workspaceId: string, createdBy: string, createdAt: string, updatedAt: string, parts: Array<{ id: string, partNumber: number, fileName: string, sizeBytes: string, entityTypes: Array<string>, downloadUrl: string | null, downloadExpiresAt: string | null, checksum: string | null }> } };\n\n\nexport const CancelExportJobDocument = gql`\n mutation CancelExportJob($context: ContextInput, $id: ID!) {\n cancelExportJob(context: $context, id: $id) {\n id\n status\n updatedAt\n }\n}\n `;\nexport type CancelExportJobMutationFn = Apollo.MutationFunction<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>;\n\n/**\n * __useCancelExportJobMutation__\n *\n * To run a mutation, you first call `useCancelExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCancelExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [cancelExportJobMutation, { data, loading, error }] = useCancelExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useCancelExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>(CancelExportJobDocument, options);\n }\nexport type CancelExportJobMutationHookResult = ReturnType<typeof useCancelExportJobMutation>;\nexport type CancelExportJobMutationResult = Apollo.MutationResult<Types.CancelExportJobMutation>;\nexport type CancelExportJobMutationOptions = Apollo.BaseMutationOptions<Types.CancelExportJobMutation, Types.CancelExportJobMutationVariables>;\nexport const CreateExportJobDocument = gql`\n mutation CreateExportJob($context: ContextInput, $input: CreateExportJobInput!) {\n createExportJob(context: $context, input: $input) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n entityFilters\n includeMedia\n includeMetadata\n dateRangeStart\n dateRangeEnd\n processedEntities\n totalEntities\n totalSizeBytes\n progress\n templateId\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type CreateExportJobMutationFn = Apollo.MutationFunction<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>;\n\n/**\n * __useCreateExportJobMutation__\n *\n * To run a mutation, you first call `useCreateExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createExportJobMutation, { data, loading, error }] = useCreateExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>(CreateExportJobDocument, options);\n }\nexport type CreateExportJobMutationHookResult = ReturnType<typeof useCreateExportJobMutation>;\nexport type CreateExportJobMutationResult = Apollo.MutationResult<Types.CreateExportJobMutation>;\nexport type CreateExportJobMutationOptions = Apollo.BaseMutationOptions<Types.CreateExportJobMutation, Types.CreateExportJobMutationVariables>;\nexport const CreateExportTemplateDocument = gql`\n mutation CreateExportTemplate($context: ContextInput, $input: CreateExportTemplateInput!) {\n createExportTemplate(context: $context, input: $input) {\n id\n name\n description\n entityTypes\n format\n entityFilters\n includeMedia\n includeMetadata\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type CreateExportTemplateMutationFn = Apollo.MutationFunction<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>;\n\n/**\n * __useCreateExportTemplateMutation__\n *\n * To run a mutation, you first call `useCreateExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createExportTemplateMutation, { data, loading, error }] = useCreateExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>(CreateExportTemplateDocument, options);\n }\nexport type CreateExportTemplateMutationHookResult = ReturnType<typeof useCreateExportTemplateMutation>;\nexport type CreateExportTemplateMutationResult = Apollo.MutationResult<Types.CreateExportTemplateMutation>;\nexport type CreateExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.CreateExportTemplateMutation, Types.CreateExportTemplateMutationVariables>;\nexport const DeleteExportJobDocument = gql`\n mutation DeleteExportJob($context: ContextInput, $id: ID!) {\n deleteExportJob(context: $context, id: $id)\n}\n `;\nexport type DeleteExportJobMutationFn = Apollo.MutationFunction<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>;\n\n/**\n * __useDeleteExportJobMutation__\n *\n * To run a mutation, you first call `useDeleteExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteExportJobMutation, { data, loading, error }] = useDeleteExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>(DeleteExportJobDocument, options);\n }\nexport type DeleteExportJobMutationHookResult = ReturnType<typeof useDeleteExportJobMutation>;\nexport type DeleteExportJobMutationResult = Apollo.MutationResult<Types.DeleteExportJobMutation>;\nexport type DeleteExportJobMutationOptions = Apollo.BaseMutationOptions<Types.DeleteExportJobMutation, Types.DeleteExportJobMutationVariables>;\nexport const DeleteExportTemplateDocument = gql`\n mutation DeleteExportTemplate($context: ContextInput, $id: ID!) {\n deleteExportTemplate(context: $context, id: $id)\n}\n `;\nexport type DeleteExportTemplateMutationFn = Apollo.MutationFunction<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>;\n\n/**\n * __useDeleteExportTemplateMutation__\n *\n * To run a mutation, you first call `useDeleteExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteExportTemplateMutation, { data, loading, error }] = useDeleteExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>(DeleteExportTemplateDocument, options);\n }\nexport type DeleteExportTemplateMutationHookResult = ReturnType<typeof useDeleteExportTemplateMutation>;\nexport type DeleteExportTemplateMutationResult = Apollo.MutationResult<Types.DeleteExportTemplateMutation>;\nexport type DeleteExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.DeleteExportTemplateMutation, Types.DeleteExportTemplateMutationVariables>;\nexport const RetryExportJobDocument = gql`\n mutation RetryExportJob($context: ContextInput, $id: ID!) {\n retryExportJob(context: $context, id: $id) {\n id\n name\n description\n status\n archiveFormat\n progress\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n format\n processedEntities\n totalEntities\n totalSizeBytes\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type RetryExportJobMutationFn = Apollo.MutationFunction<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>;\n\n/**\n * __useRetryExportJobMutation__\n *\n * To run a mutation, you first call `useRetryExportJobMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRetryExportJobMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [retryExportJobMutation, { data, loading, error }] = useRetryExportJobMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useRetryExportJobMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>(RetryExportJobDocument, options);\n }\nexport type RetryExportJobMutationHookResult = ReturnType<typeof useRetryExportJobMutation>;\nexport type RetryExportJobMutationResult = Apollo.MutationResult<Types.RetryExportJobMutation>;\nexport type RetryExportJobMutationOptions = Apollo.BaseMutationOptions<Types.RetryExportJobMutation, Types.RetryExportJobMutationVariables>;\nexport const UpdateExportTemplateDocument = gql`\n mutation UpdateExportTemplate($context: ContextInput, $id: ID!, $input: UpdateExportTemplateInput!) {\n updateExportTemplate(context: $context, id: $id, input: $input) {\n id\n name\n description\n entityTypes\n format\n isDefault\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type UpdateExportTemplateMutationFn = Apollo.MutationFunction<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>;\n\n/**\n * __useUpdateExportTemplateMutation__\n *\n * To run a mutation, you first call `useUpdateExportTemplateMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateExportTemplateMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateExportTemplateMutation, { data, loading, error }] = useUpdateExportTemplateMutation({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateExportTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>(UpdateExportTemplateDocument, options);\n }\nexport type UpdateExportTemplateMutationHookResult = ReturnType<typeof useUpdateExportTemplateMutation>;\nexport type UpdateExportTemplateMutationResult = Apollo.MutationResult<Types.UpdateExportTemplateMutation>;\nexport type UpdateExportTemplateMutationOptions = Apollo.BaseMutationOptions<Types.UpdateExportTemplateMutation, Types.UpdateExportTemplateMutationVariables>;\nexport const GetAvailableExportEntitiesDocument = gql`\n query GetAvailableExportEntities($context: ContextInput!, $pagination: ExportPaginationInput) {\n getAvailableExportEntities(context: $context, pagination: $pagination) {\n edges {\n cursor\n node {\n entityType\n displayName\n description\n enabled\n estimatedSize\n supportsDateRange\n supportsMediaExport\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetAvailableExportEntitiesQuery__\n *\n * To run a query within a React component, call `useGetAvailableExportEntitiesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetAvailableExportEntitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetAvailableExportEntitiesQuery({\n * variables: {\n * context: // value for 'context'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetAvailableExportEntitiesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables> & ({ variables: Types.GetAvailableExportEntitiesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\nexport function useGetAvailableExportEntitiesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\n// @ts-ignore\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>;\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAvailableExportEntitiesQuery | undefined, Types.GetAvailableExportEntitiesQueryVariables>;\nexport function useGetAvailableExportEntitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>(GetAvailableExportEntitiesDocument, options);\n }\nexport type GetAvailableExportEntitiesQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesQuery>;\nexport type GetAvailableExportEntitiesLazyQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesLazyQuery>;\nexport type GetAvailableExportEntitiesSuspenseQueryHookResult = ReturnType<typeof useGetAvailableExportEntitiesSuspenseQuery>;\nexport type GetAvailableExportEntitiesQueryResult = Apollo.QueryResult<Types.GetAvailableExportEntitiesQuery, Types.GetAvailableExportEntitiesQueryVariables>;\nexport const GetExportJobDocument = gql`\n query GetExportJob($context: ContextInput, $id: ID!) {\n getExportJob(context: $context, id: $id) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n entityFilters\n includeMedia\n includeMetadata\n dateRangeStart\n dateRangeEnd\n parts {\n id\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n }\n processedEntities\n totalEntities\n totalSizeBytes\n progress\n errorMessage\n errorCode\n startedAt\n completedAt\n expiresAt\n templateId\n template {\n id\n name\n description\n }\n temporalWorkflowId\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n}\n `;\n\n/**\n * __useGetExportJobQuery__\n *\n * To run a query within a React component, call `useGetExportJobQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportJobQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportJobQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportJobQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables> & ({ variables: Types.GetExportJobQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\nexport function useGetExportJobLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\n// @ts-ignore\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>;\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportJobQuery | undefined, Types.GetExportJobQueryVariables>;\nexport function useGetExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>(GetExportJobDocument, options);\n }\nexport type GetExportJobQueryHookResult = ReturnType<typeof useGetExportJobQuery>;\nexport type GetExportJobLazyQueryHookResult = ReturnType<typeof useGetExportJobLazyQuery>;\nexport type GetExportJobSuspenseQueryHookResult = ReturnType<typeof useGetExportJobSuspenseQuery>;\nexport type GetExportJobQueryResult = Apollo.QueryResult<Types.GetExportJobQuery, Types.GetExportJobQueryVariables>;\nexport const GetExportPartDocument = gql`\n query GetExportPart($context: ContextInput, $id: ID!) {\n getExportPart(context: $context, id: $id) {\n id\n jobId\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n createdAt\n }\n}\n `;\n\n/**\n * __useGetExportPartQuery__\n *\n * To run a query within a React component, call `useGetExportPartQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportPartQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportPartQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportPartQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables> & ({ variables: Types.GetExportPartQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\nexport function useGetExportPartLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\n// @ts-ignore\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>;\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportPartQuery | undefined, Types.GetExportPartQueryVariables>;\nexport function useGetExportPartSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>(GetExportPartDocument, options);\n }\nexport type GetExportPartQueryHookResult = ReturnType<typeof useGetExportPartQuery>;\nexport type GetExportPartLazyQueryHookResult = ReturnType<typeof useGetExportPartLazyQuery>;\nexport type GetExportPartSuspenseQueryHookResult = ReturnType<typeof useGetExportPartSuspenseQuery>;\nexport type GetExportPartQueryResult = Apollo.QueryResult<Types.GetExportPartQuery, Types.GetExportPartQueryVariables>;\nexport const GetExportTemplateDocument = gql`\n query GetExportTemplate($context: ContextInput, $id: ID!) {\n getExportTemplate(context: $context, id: $id) {\n id\n name\n description\n entityTypes\n format\n entityFilters\n includeMedia\n includeMetadata\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n}\n `;\n\n/**\n * __useGetExportTemplateQuery__\n *\n * To run a query within a React component, call `useGetExportTemplateQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetExportTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetExportTemplateQuery({\n * variables: {\n * context: // value for 'context'\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetExportTemplateQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables> & ({ variables: Types.GetExportTemplateQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\nexport function useGetExportTemplateLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\n// @ts-ignore\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>;\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetExportTemplateQuery | undefined, Types.GetExportTemplateQueryVariables>;\nexport function useGetExportTemplateSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>(GetExportTemplateDocument, options);\n }\nexport type GetExportTemplateQueryHookResult = ReturnType<typeof useGetExportTemplateQuery>;\nexport type GetExportTemplateLazyQueryHookResult = ReturnType<typeof useGetExportTemplateLazyQuery>;\nexport type GetExportTemplateSuspenseQueryHookResult = ReturnType<typeof useGetExportTemplateSuspenseQuery>;\nexport type GetExportTemplateQueryResult = Apollo.QueryResult<Types.GetExportTemplateQuery, Types.GetExportTemplateQueryVariables>;\nexport const ListExportTemplatesDocument = gql`\n query ListExportTemplates($context: ContextInput!, $pagination: ExportPaginationInput) {\n listExportTemplates(context: $context, pagination: $pagination) {\n edges {\n cursor\n node {\n id\n name\n description\n entityTypes\n format\n isDefault\n workspaceId\n tenantId\n createdBy\n createdAt\n updatedAt\n updatedBy\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useListExportTemplatesQuery__\n *\n * To run a query within a React component, call `useListExportTemplatesQuery` and pass it any options that fit your needs.\n * When your component renders, `useListExportTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useListExportTemplatesQuery({\n * variables: {\n * context: // value for 'context'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useListExportTemplatesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables> & ({ variables: Types.ListExportTemplatesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\nexport function useListExportTemplatesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\n// @ts-ignore\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>;\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportTemplatesQuery | undefined, Types.ListExportTemplatesQueryVariables>;\nexport function useListExportTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>(ListExportTemplatesDocument, options);\n }\nexport type ListExportTemplatesQueryHookResult = ReturnType<typeof useListExportTemplatesQuery>;\nexport type ListExportTemplatesLazyQueryHookResult = ReturnType<typeof useListExportTemplatesLazyQuery>;\nexport type ListExportTemplatesSuspenseQueryHookResult = ReturnType<typeof useListExportTemplatesSuspenseQuery>;\nexport type ListExportTemplatesQueryResult = Apollo.QueryResult<Types.ListExportTemplatesQuery, Types.ListExportTemplatesQueryVariables>;\nexport const ListExportJobsDocument = gql`\n query ListExportJobs($filter: ExportJobFilterInput, $pagination: ExportPaginationInput, $context: ContextInput!) {\n listExportJobs(filter: $filter, pagination: $pagination, context: $context) {\n edges {\n cursor\n node {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n progress\n totalEntities\n processedEntities\n totalSizeBytes\n errorMessage\n startedAt\n completedAt\n expiresAt\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useListExportJobsQuery__\n *\n * To run a query within a React component, call `useListExportJobsQuery` and pass it any options that fit your needs.\n * When your component renders, `useListExportJobsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useListExportJobsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useListExportJobsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables> & ({ variables: Types.ListExportJobsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\nexport function useListExportJobsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\n// @ts-ignore\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>;\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListExportJobsQuery | undefined, Types.ListExportJobsQueryVariables>;\nexport function useListExportJobsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>(ListExportJobsDocument, options);\n }\nexport type ListExportJobsQueryHookResult = ReturnType<typeof useListExportJobsQuery>;\nexport type ListExportJobsLazyQueryHookResult = ReturnType<typeof useListExportJobsLazyQuery>;\nexport type ListExportJobsSuspenseQueryHookResult = ReturnType<typeof useListExportJobsSuspenseQuery>;\nexport type ListExportJobsQueryResult = Apollo.QueryResult<Types.ListExportJobsQuery, Types.ListExportJobsQueryVariables>;\nexport const ExportJobProgressDocument = gql`\n subscription ExportJobProgress($jobId: ID!) {\n exportJobProgress(jobId: $jobId) {\n id\n name\n description\n status\n format\n archiveFormat\n archiveFileId\n downloadUrl\n downloadExpiresAt\n exportScope\n organizationId\n entityTypes\n progress\n processedEntities\n totalEntities\n totalSizeBytes\n errorMessage\n startedAt\n completedAt\n expiresAt\n templateId\n workspaceId\n createdBy\n createdAt\n updatedAt\n parts {\n id\n partNumber\n fileName\n sizeBytes\n entityTypes\n downloadUrl\n downloadExpiresAt\n checksum\n }\n }\n}\n `;\n\n/**\n * __useExportJobProgressSubscription__\n *\n * To run a query within a React component, call `useExportJobProgressSubscription` and pass it any options that fit your needs.\n * When your component renders, `useExportJobProgressSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useExportJobProgressSubscription({\n * variables: {\n * jobId: // value for 'jobId'\n * },\n * });\n */\nexport function useExportJobProgressSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ExportJobProgressSubscription, Types.ExportJobProgressSubscriptionVariables> & ({ variables: Types.ExportJobProgressSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ExportJobProgressSubscription, Types.ExportJobProgressSubscriptionVariables>(ExportJobProgressDocument, options);\n }\nexport type ExportJobProgressSubscriptionHookResult = ReturnType<typeof useExportJobProgressSubscription>;\nexport type ExportJobProgressSubscriptionResult = Apollo.SubscriptionResult<Types.ExportJobProgressSubscription>;"],"mappings":";;;AA0OA,IAAaA,IAA0B,CAAG;;;;;;;;OAoC7BC,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4D7BC,IAA+B,CAAG;;;;;;;;;;;;;;;;;;;OA+ClCC,IAA0B,CAAG;;;;OAgC7BC,IAA+B,CAAG;;;;OAgClCC,IAAyB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OAsD5BC,IAA+B,CAAG;;;;;;;;;;;;;;;OA4ClCC,IAAqC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;OA8DxCC,IAAuB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FF,CAAG;;;;;;;;;;;;;;;;AAqDxC,IAAaC,IAA4B,CAAG;;;;;;;;;;;;;;;;;;;;OA0D/BC,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmEjCC,IAAyB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiF5BC,IAA4B,CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-export",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1125.2",
|
|
4
4
|
"description": "Burdenoff Export Microfrontend - Data export management interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@apollo/client": "^4.3.7",
|
|
49
|
-
"@burdenoff/fe-libs": "2026.
|
|
49
|
+
"@burdenoff/fe-libs": "2026.1124.16",
|
|
50
50
|
"@tanstack/react-query": "^5.106.1",
|
|
51
51
|
"clsx": "^2.1.1",
|
|
52
52
|
"graphql": "^16.15.0",
|