@burdenoff/microfe-channel 2026.1013.2 → 2026.1114.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/channel/ChannelRoot.d.ts +0 -2
  2. package/dist/channel/ChannelRoot.js +9 -6
  3. package/dist/channel/ChannelRoot.js.map +1 -1
  4. package/dist/channel/ChannelRoutes.d.ts +1 -2
  5. package/dist/channel/ChannelRoutes.js +5 -6
  6. package/dist/channel/ChannelRoutes.js.map +1 -1
  7. package/dist/channel/components/AdapterCredentialsForm.d.ts +2 -4
  8. package/dist/channel/components/AdapterCredentialsForm.js +1 -2
  9. package/dist/channel/components/AdapterCredentialsForm.js.map +1 -1
  10. package/dist/channel/components/FeatureNotEnabled.d.ts +1 -2
  11. package/dist/channel/components/FeatureNotEnabled.js +1 -2
  12. package/dist/channel/components/FeatureNotEnabled.js.map +1 -1
  13. package/dist/channel/components/MarkdownEditor.d.ts +1 -2
  14. package/dist/channel/components/MarkdownEditor.js +2 -5
  15. package/dist/channel/components/MarkdownEditor.js.map +1 -1
  16. package/dist/channel/components/PermissionGuard.d.ts +0 -2
  17. package/dist/channel/components/PermissionGuard.js +1 -2
  18. package/dist/channel/components/PermissionGuard.js.map +1 -1
  19. package/dist/channel/config/adapterCredentials.d.ts +0 -2
  20. package/dist/channel/config/adapterCredentials.js +3 -7
  21. package/dist/channel/config/adapterCredentials.js.map +1 -1
  22. package/dist/channel/constants/permissions.d.ts +0 -1
  23. package/dist/channel/constants/permissions.js +1 -2
  24. package/dist/channel/constants/permissions.js.map +1 -1
  25. package/dist/channel/graphql/global-client.d.ts +0 -2
  26. package/dist/channel/graphql/global-client.js +5 -6
  27. package/dist/channel/graphql/global-client.js.map +1 -1
  28. package/dist/channel/hooks/useChannelOrgSettings.d.ts +0 -2
  29. package/dist/channel/hooks/useChannelOrgSettings.js +20 -21
  30. package/dist/channel/hooks/useChannelOrgSettings.js.map +1 -1
  31. package/dist/channel/hooks/useChannelSubscription.d.ts +0 -1
  32. package/dist/channel/hooks/useChannelSubscription.js +7 -12
  33. package/dist/channel/hooks/useChannelSubscription.js.map +1 -1
  34. package/dist/channel/hooks/useChannels.d.ts +20 -30
  35. package/dist/channel/hooks/useChannels.js +100 -101
  36. package/dist/channel/hooks/useChannels.js.map +1 -1
  37. package/dist/channel/hooks/useTr.d.ts +0 -1
  38. package/dist/channel/hooks/useTr.js +1 -2
  39. package/dist/channel/hooks/useTr.js.map +1 -1
  40. package/dist/channel/index.d.ts +0 -1
  41. package/dist/channel/index.js +3 -2
  42. package/dist/channel/modules/channels/hooks/useExport.d.ts +0 -2
  43. package/dist/channel/modules/channels/hooks/useExport.js +77 -80
  44. package/dist/channel/modules/channels/hooks/useExport.js.map +1 -1
  45. package/dist/channel/modules/channels/i18n.d.ts +0 -2
  46. package/dist/channel/modules/channels/i18n.js +1 -2
  47. package/dist/channel/modules/channels/i18n.js.map +1 -1
  48. package/dist/channel/modules/channels/pages/ChannelDashboardPage.d.ts +1 -2
  49. package/dist/channel/modules/channels/pages/ChannelDashboardPage.js +10 -11
  50. package/dist/channel/modules/channels/pages/ChannelDashboardPage.js.map +1 -1
  51. package/dist/channel/modules/channels/pages/ChannelDetailsPage.d.ts +1 -2
  52. package/dist/channel/modules/channels/pages/ChannelDetailsPage.js +400 -401
  53. package/dist/channel/modules/channels/pages/ChannelDetailsPage.js.map +1 -1
  54. package/dist/channel/modules/channels/pages/ChannelSettingsPage.d.ts +1 -2
  55. package/dist/channel/modules/channels/pages/ChannelSettingsPage.js +8 -7
  56. package/dist/channel/modules/channels/pages/ChannelSettingsPage.js.map +1 -1
  57. package/dist/channel/modules/channels/pages/ChannelUsersPage.d.ts +1 -2
  58. package/dist/channel/modules/channels/pages/ChannelUsersPage.js +5 -10
  59. package/dist/channel/modules/channels/pages/ChannelUsersPage.js.map +1 -1
  60. package/dist/channel/modules/channels/pages/ChannelsListPage.d.ts +1 -2
  61. package/dist/channel/modules/channels/pages/ChannelsListPage.js +287 -288
  62. package/dist/channel/modules/channels/pages/ChannelsListPage.js.map +1 -1
  63. package/dist/channel/modules/channels/pages/ConnectionDetailsPage.d.ts +1 -2
  64. package/dist/channel/modules/channels/pages/ConnectionDetailsPage.js +11 -12
  65. package/dist/channel/modules/channels/pages/ConnectionDetailsPage.js.map +1 -1
  66. package/dist/channel/modules/channels/pages/ConnectionsListPage.d.ts +1 -2
  67. package/dist/channel/modules/channels/pages/ConnectionsListPage.js +1 -2
  68. package/dist/channel/modules/channels/pages/ConnectionsListPage.js.map +1 -1
  69. package/dist/channel/modules/channels/pages/CreateChannelPage.d.ts +1 -2
  70. package/dist/channel/modules/channels/pages/CreateChannelPage.js +4 -5
  71. package/dist/channel/modules/channels/pages/CreateChannelPage.js.map +1 -1
  72. package/dist/channel/modules/channels/pages/CreateConnectionPage.d.ts +1 -2
  73. package/dist/channel/modules/channels/pages/CreateConnectionPage.js +37 -38
  74. package/dist/channel/modules/channels/pages/CreateConnectionPage.js.map +1 -1
  75. package/dist/channel/modules/channels/pages/DeliveryHistoryPage.d.ts +1 -2
  76. package/dist/channel/modules/channels/pages/DeliveryHistoryPage.js +7 -12
  77. package/dist/channel/modules/channels/pages/DeliveryHistoryPage.js.map +1 -1
  78. package/dist/channel/modules/channels/pages/EditChannelPage.d.ts +1 -2
  79. package/dist/channel/modules/channels/pages/EditChannelPage.js +105 -103
  80. package/dist/channel/modules/channels/pages/EditChannelPage.js.map +1 -1
  81. package/dist/channel/modules/channels/pages/EditConnectionPage.d.ts +1 -2
  82. package/dist/channel/modules/channels/pages/EditConnectionPage.js +22 -23
  83. package/dist/channel/modules/channels/pages/EditConnectionPage.js.map +1 -1
  84. package/dist/channel/modules/channels/pages/SendMessagePage.d.ts +1 -2
  85. package/dist/channel/modules/channels/pages/SendMessagePage.js +180 -187
  86. package/dist/channel/modules/channels/pages/SendMessagePage.js.map +1 -1
  87. package/dist/channel/modules/channels/pages/WebhookEventsPage.d.ts +1 -2
  88. package/dist/channel/modules/channels/pages/WebhookEventsPage.js +144 -149
  89. package/dist/channel/modules/channels/pages/WebhookEventsPage.js.map +1 -1
  90. package/dist/channel/pages/ChannelLandingPage.d.ts +1 -2
  91. package/dist/channel/pages/ChannelLandingPage.js +20 -21
  92. package/dist/channel/pages/ChannelLandingPage.js.map +1 -1
  93. package/dist/channel/providers/ChannelProvider.d.ts +0 -2
  94. package/dist/channel/providers/ChannelProvider.js +1 -2
  95. package/dist/channel/providers/ChannelProvider.js.map +1 -1
  96. package/dist/channel/types/index.d.ts +0 -2
  97. package/dist/channel/utils/shellBridge.d.ts +0 -1
  98. package/dist/channel/utils/shellBridge.js +1 -2
  99. package/dist/channel/utils/shellBridge.js.map +1 -1
  100. package/dist/dev/App.d.ts +1 -2
  101. package/dist/dev/main.d.ts +0 -2
  102. package/dist/generated/global-operations.d.ts +885 -336
  103. package/dist/generated/global-operations.js +2 -3
  104. package/dist/generated/global-operations.js.map +1 -1
  105. package/dist/generated/global-types.d.ts +2 -22
  106. package/dist/generated/global-types.js +1 -2
  107. package/dist/generated/global-types.js.map +1 -1
  108. package/dist/generated/wspace-operations.d.ts +4 -2
  109. package/dist/generated/wspace-types.d.ts +4 -24
  110. package/dist/index.d.ts +0 -1
  111. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
  112. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
  113. package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
  114. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
  115. package/dist/translations/en.d.ts +0 -1
  116. package/dist/utils/nativeBridge.d.ts +0 -1
  117. package/dist/utils/nativeBridge.js +1 -2
  118. package/package.json +65 -43
  119. package/dist/channel/ChannelRoot.d.ts.map +0 -1
  120. package/dist/channel/ChannelRoutes.d.ts.map +0 -1
  121. package/dist/channel/components/AdapterCredentialsForm.d.ts.map +0 -1
  122. package/dist/channel/components/FeatureNotEnabled.d.ts.map +0 -1
  123. package/dist/channel/components/MarkdownEditor.d.ts.map +0 -1
  124. package/dist/channel/components/PermissionGuard.d.ts.map +0 -1
  125. package/dist/channel/config/adapterCredentials.d.ts.map +0 -1
  126. package/dist/channel/constants/permissions.d.ts.map +0 -1
  127. package/dist/channel/graphql/global-client.d.ts.map +0 -1
  128. package/dist/channel/hooks/useChannelOrgSettings.d.ts.map +0 -1
  129. package/dist/channel/hooks/useChannelSubscription.d.ts.map +0 -1
  130. package/dist/channel/hooks/useChannels.d.ts.map +0 -1
  131. package/dist/channel/hooks/useTr.d.ts.map +0 -1
  132. package/dist/channel/index.d.ts.map +0 -1
  133. package/dist/channel/modules/channels/hooks/useExport.d.ts.map +0 -1
  134. package/dist/channel/modules/channels/i18n.d.ts.map +0 -1
  135. package/dist/channel/modules/channels/pages/ChannelDashboardPage.d.ts.map +0 -1
  136. package/dist/channel/modules/channels/pages/ChannelDetailsPage.d.ts.map +0 -1
  137. package/dist/channel/modules/channels/pages/ChannelSettingsPage.d.ts.map +0 -1
  138. package/dist/channel/modules/channels/pages/ChannelUsersPage.d.ts.map +0 -1
  139. package/dist/channel/modules/channels/pages/ChannelsListPage.d.ts.map +0 -1
  140. package/dist/channel/modules/channels/pages/ConnectionDetailsPage.d.ts.map +0 -1
  141. package/dist/channel/modules/channels/pages/ConnectionsListPage.d.ts.map +0 -1
  142. package/dist/channel/modules/channels/pages/CreateChannelPage.d.ts.map +0 -1
  143. package/dist/channel/modules/channels/pages/CreateConnectionPage.d.ts.map +0 -1
  144. package/dist/channel/modules/channels/pages/DeliveryHistoryPage.d.ts.map +0 -1
  145. package/dist/channel/modules/channels/pages/EditChannelPage.d.ts.map +0 -1
  146. package/dist/channel/modules/channels/pages/EditConnectionPage.d.ts.map +0 -1
  147. package/dist/channel/modules/channels/pages/SendMessagePage.d.ts.map +0 -1
  148. package/dist/channel/modules/channels/pages/WebhookEventsPage.d.ts.map +0 -1
  149. package/dist/channel/pages/ChannelLandingPage.d.ts.map +0 -1
  150. package/dist/channel/providers/ChannelProvider.d.ts.map +0 -1
  151. package/dist/channel/types/index.d.ts.map +0 -1
  152. package/dist/channel/utils/shellBridge.d.ts.map +0 -1
  153. package/dist/dev/App.d.ts.map +0 -1
  154. package/dist/dev/main.d.ts.map +0 -1
  155. package/dist/generated/global-operations.d.ts.map +0 -1
  156. package/dist/generated/global-types.d.ts.map +0 -1
  157. package/dist/generated/wspace-operations.d.ts.map +0 -1
  158. package/dist/generated/wspace-types.d.ts.map +0 -1
  159. package/dist/index.d.ts.map +0 -1
  160. package/dist/translations/en.d.ts.map +0 -1
  161. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { gql as e } from "@apollo/client";
2
2
  import * as t from "@apollo/client/react";
3
- //#region src/generated/global-operations.ts
3
+ // src/generated/global-operations.ts
4
4
  var n = {}, r = e`
5
5
  fragment ChannelFields on Channel {
6
6
  id
@@ -462,7 +462,6 @@ function I(e) {
462
462
  };
463
463
  return t.useMutation(F, r);
464
464
  }
465
- //#endregion
466
- export { l as ActivateChannelDocument, u as CreateChannelDocument, d as CreateConnectionDocument, f as DeactivateChannelDocument, p as DeleteChannelDocument, m as DeleteConnectionDocument, h as DeliverNotificationDocument, g as ExportChannelUsersDocument, _ as ExportChannelsDocument, v as ExportDeliveryAttemptsDocument, y as ExportWebhookEventsDocument, E as GetChannelDocument, D as GetChannelExportJobDocument, O as GetChannelOrgSettingsDocument, k as GetChannelsDocument, A as GetConnectionDocument, j as GetDeliveryAttemptsDocument, M as GetDeliveryStatsDocument, N as GetUserPlatformConnectionsDocument, P as GetWebhookEventsDocument, b as RetryDeliveryDocument, x as RunChannelHealthCheckDocument, S as TestConnectionHealthDocument, C as UpdateChannelDocument, w as UpdateChannelOrgSettingsDocument, T as UpdateConnectionDocument, I as useSendNotificationMutation };
465
+ export { l as ActivateChannelDocument, r as ChannelFieldsFragmentDoc, a as ConnectionFieldsFragmentDoc, i as ConnectionSummaryFieldsFragmentDoc, u as CreateChannelDocument, d as CreateConnectionDocument, f as DeactivateChannelDocument, p as DeleteChannelDocument, m as DeleteConnectionDocument, h as DeliverNotificationDocument, o as DeliveryAttemptFieldsFragmentDoc, g as ExportChannelUsersDocument, _ as ExportChannelsDocument, v as ExportDeliveryAttemptsDocument, y as ExportWebhookEventsDocument, E as GetChannelDocument, D as GetChannelExportJobDocument, O as GetChannelOrgSettingsDocument, k as GetChannelsDocument, A as GetConnectionDocument, j as GetDeliveryAttemptsDocument, M as GetDeliveryStatsDocument, N as GetUserPlatformConnectionsDocument, P as GetWebhookEventsDocument, b as RetryDeliveryDocument, x as RunChannelHealthCheckDocument, F as SendNotificationDocument, S as TestConnectionHealthDocument, C as UpdateChannelDocument, w as UpdateChannelOrgSettingsDocument, T as UpdateConnectionDocument, s as UserPlatformConnectionFieldsFragmentDoc, c as WebhookEventFieldsFragmentDoc, I as useSendNotificationMutation };
467
466
 
468
467
  //# sourceMappingURL=global-operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"global-operations.js","names":[],"sources":["../../src/generated/global-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './global-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type ChannelFieldsFragment = { __typename?: 'Channel', id: string, name: string, description?: string | null, platform: Types.ChannelPlatform, adapterType?: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt?: string | null, healthCheckError?: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig?: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelTagAssignment', id: string, tagId: string }> };\n\nexport type ConnectionSummaryFieldsFragment = { __typename?: 'ChannelConnection', id: string, authType: Types.ChannelAuthType, isActive: boolean, isHealthy: boolean, needsTokenRefresh: boolean, lastTestedAt?: string | null, testStatus?: string | null, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> };\n\nexport type ConnectionFieldsFragment = { __typename?: 'ChannelConnection', id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata?: Record<string, unknown> | null, tokenExpiresAt?: string | null, lastRefreshedAt?: string | null, lastTestedAt?: string | null, testStatus?: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry?: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> };\n\nexport type DeliveryAttemptFieldsFragment = { __typename?: 'MessageDeliveryAttempt', id: string, channelId: string, content: string, format?: string | null, platformOptions?: Record<string, unknown> | null, platformResponse?: Record<string, unknown> | null, status: Types.DeliveryStatus, retryCount: number, nextRetryAt?: string | null, sentAt?: string | null, errorMessage?: string | null, expiresAt: string, createdAt: string, updatedAt: string };\n\nexport type UserPlatformConnectionFieldsFragment = { __typename?: 'UserPlatformConnection', id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername?: string | null, externalDisplayName?: string | null, externalEmail?: string | null, externalAvatarUrl?: string | null, externalMetadata?: Record<string, unknown> | null, internalUserId?: string | null, organizationId: string, source: Types.UserPlatformSource, connectedAt?: string | null, dmAllowed: boolean, dmConversationId?: string | null, notificationsEnabled: boolean, userTokenExpiresAt?: string | null, userTokenScope?: string | null, pairingCode?: string | null, pairingCodeExpiresAt?: string | null, pairingStatus?: Types.PairingStatus | null, pairingApprovedAt?: string | null, presenceStatus: Types.UserPresenceStatus, customStatus?: string | null, lastActiveAt?: string | null, isActive: boolean, roles: Array<string>, permissions: Array<string>, lastSyncedAt: string, deletedAt?: string | null, createdAt: string, updatedAt: string, isTokenExpired: boolean, canReceiveDm: boolean };\n\nexport type WebhookEventFieldsFragment = { __typename?: 'WebhookEvent', id: string, channelId: string, eventType: string, status: Types.WebhookProcessingStatus, payload: Record<string, unknown>, signature?: string | null, isDuplicate: boolean, originalEventId?: string | null, errorMessage?: string | null, processingResult?: Record<string, unknown> | null, processedAt?: string | null, expiresAt: string, createdAt: string, updatedAt: string, context?: { __typename?: 'OperationContext', tenantId?: string | null, userId?: string | null, appId?: string | null, workspaceId?: string | null, projectId?: string | null, organizationId?: string | null, custom?: Record<string, unknown> | null } | null };\n\nexport type ActivateChannelMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ActivateChannelMutation = { __typename?: 'Mutation', activateChannel: { __typename?: 'Channel', id: string, status: Types.ChannelStatus } };\n\nexport type CreateChannelMutationVariables = Types.Exact<{\n input: Types.CreateChannelInput;\n}>;\n\n\nexport type CreateChannelMutation = { __typename?: 'Mutation', createChannel: { __typename?: 'Channel', id: string, name: string, description?: string | null, platform: Types.ChannelPlatform, adapterType?: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt?: string | null, healthCheckError?: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig?: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelTagAssignment', id: string, tagId: string }> } };\n\nexport type CreateConnectionMutationVariables = Types.Exact<{\n input: Types.CreateConnectionInput;\n}>;\n\n\nexport type CreateConnectionMutation = { __typename?: 'Mutation', createConnection: { __typename?: 'ChannelConnection', id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata?: Record<string, unknown> | null, tokenExpiresAt?: string | null, lastRefreshedAt?: string | null, lastTestedAt?: string | null, testStatus?: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry?: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> } };\n\nexport type DeactivateChannelMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeactivateChannelMutation = { __typename?: 'Mutation', deactivateChannel: { __typename?: 'Channel', id: string, status: Types.ChannelStatus } };\n\nexport type DeleteChannelMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteChannelMutation = { __typename?: 'Mutation', deleteChannel: boolean };\n\nexport type DeleteConnectionMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteConnectionMutation = { __typename?: 'Mutation', deleteConnection: boolean };\n\nexport type DeliverBulkNotificationMutationVariables = Types.Exact<{\n input: Types.BulkChannelDeliveryInput;\n}>;\n\n\nexport type DeliverBulkNotificationMutation = { __typename?: 'Mutation', deliverBulkNotification: { __typename?: 'BulkChannelDeliveryResult', totalCount: number, successCount: number, failedCount: number, results: Array<{ __typename?: 'ChannelDeliveryResult', success: boolean, messageId?: string | null, externalId?: string | null, status: Types.DeliveryStatus, platform: Types.ChannelPlatform, sentAt?: string | null, metadata?: Record<string, unknown> | null, error?: { __typename?: 'ChannelDeliveryError', code: string, message: string, retryable: boolean } | null }> } };\n\nexport type DeliverNotificationMutationVariables = Types.Exact<{\n input: Types.ChannelDeliveryInput;\n}>;\n\n\nexport type DeliverNotificationMutation = { __typename?: 'Mutation', deliverNotification: { __typename?: 'ChannelDeliveryResult', success: boolean, messageId?: string | null, externalId?: string | null, status: Types.DeliveryStatus, platform: Types.ChannelPlatform, sentAt?: string | null, metadata?: Record<string, unknown> | null, error?: { __typename?: 'ChannelDeliveryError', code: string, message: string, retryable: boolean, details?: Record<string, unknown> | null } | null } };\n\nexport type ExportChannelUsersMutationVariables = Types.Exact<{\n filter: Types.ExportChannelUsersFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportChannelUsersMutation = { __typename?: 'Mutation', exportChannelUsers: { __typename?: 'ChannelExportJob', id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount?: number | null, downloadUrl?: string | null, error?: string | null } };\n\nexport type ExportChannelsMutationVariables = Types.Exact<{\n filter: Types.ExportChannelsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportChannelsMutation = { __typename?: 'Mutation', exportChannels: { __typename?: 'ChannelExportJob', id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount?: number | null, downloadUrl?: string | null, error?: string | null } };\n\nexport type ExportDeliveryAttemptsMutationVariables = Types.Exact<{\n filter: Types.ExportDeliveryAttemptsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportDeliveryAttemptsMutation = { __typename?: 'Mutation', exportDeliveryAttempts: { __typename?: 'ChannelExportJob', id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount?: number | null, downloadUrl?: string | null, error?: string | null } };\n\nexport type ExportWebhookEventsMutationVariables = Types.Exact<{\n filter: Types.ExportWebhookEventsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportWebhookEventsMutation = { __typename?: 'Mutation', exportWebhookEvents: { __typename?: 'ChannelExportJob', id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount?: number | null, downloadUrl?: string | null, error?: string | null } };\n\nexport type RetryDeliveryMutationVariables = Types.Exact<{\n attemptId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type RetryDeliveryMutation = { __typename?: 'Mutation', retryDelivery: { __typename?: 'MessageDeliveryResult', success: boolean, messageId?: string | null, attemptId: string, error?: string | null, willRetry: boolean, nextRetryAt?: string | null } };\n\nexport type RunChannelHealthCheckMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type RunChannelHealthCheckMutation = { __typename?: 'Mutation', runChannelHealthCheck: { __typename?: 'ChannelHealthCheck', channelId: string, isHealthy: boolean, status: string, responseTimeMs?: number | null, lastCheckAt: string, error?: string | null } };\n\nexport type TestConnectionHealthMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type TestConnectionHealthMutation = { __typename?: 'Mutation', testConnectionHealth: { __typename?: 'ConnectionTestResult', success: boolean, message: string, responseTimeMs?: number | null, platformInfo?: Record<string, unknown> | null, error?: string | null } };\n\nexport type UpdateChannelMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateChannelInput;\n}>;\n\n\nexport type UpdateChannelMutation = { __typename?: 'Mutation', updateChannel: { __typename?: 'Channel', id: string, name: string, description?: string | null, platform: Types.ChannelPlatform, adapterType?: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt?: string | null, healthCheckError?: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig?: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelTagAssignment', id: string, tagId: string }> } };\n\nexport type UpdateChannelOrgSettingsMutationVariables = Types.Exact<{\n organizationId: Types.Scalars['ID']['input'];\n input: Types.ChannelOrgSettingsInput;\n}>;\n\n\nexport type UpdateChannelOrgSettingsMutation = { __typename?: 'Mutation', updateChannelOrgSettings: { __typename?: 'ChannelOrgSettings', organizationId: string, defaultPriority: number, rateLimitPerMinute: number, rateLimitPerHour: number, healthCheckIntervalMinutes: number, enableAuditLogging: boolean, enableWebhookVerification: boolean, sessionTimeoutMinutes: number, updatedAt: string } };\n\nexport type UpdateConnectionMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateConnectionInput;\n}>;\n\n\nexport type UpdateConnectionMutation = { __typename?: 'Mutation', updateConnection: { __typename?: 'ChannelConnection', id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata?: Record<string, unknown> | null, tokenExpiresAt?: string | null, lastRefreshedAt?: string | null, lastTestedAt?: string | null, testStatus?: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry?: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> } };\n\nexport type GetChannelQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetChannelQuery = { __typename?: 'Query', getChannel?: { __typename?: 'Channel', id: string, name: string, description?: string | null, platform: Types.ChannelPlatform, adapterType?: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt?: string | null, healthCheckError?: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig?: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, connection?: { __typename?: 'ChannelConnection', id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata?: Record<string, unknown> | null, tokenExpiresAt?: string | null, lastRefreshedAt?: string | null, lastTestedAt?: string | null, testStatus?: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry?: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> } | null, tagAssignments: Array<{ __typename?: 'ChannelTagAssignment', id: string, tagId: string }> } | null };\n\nexport type GetChannelExportJobQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetChannelExportJobQuery = { __typename?: 'Query', channelExportJob?: { __typename?: 'ChannelExportJob', id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount?: number | null, downloadUrl?: string | null, error?: string | null } | null };\n\nexport type GetChannelOrgSettingsQueryVariables = Types.Exact<{\n organizationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetChannelOrgSettingsQuery = { __typename?: 'Query', getChannelOrgSettings: { __typename?: 'ChannelOrgSettings', organizationId: string, defaultPriority: number, rateLimitPerMinute: number, rateLimitPerHour: number, healthCheckIntervalMinutes: number, enableAuditLogging: boolean, enableWebhookVerification: boolean, sessionTimeoutMinutes: number, updatedAt: string } };\n\nexport type GetChannelsQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.ChannelFilterInput>;\n pagination?: Types.InputMaybe<Types.ChannelPaginationInput>;\n}>;\n\n\nexport type GetChannelsQuery = { __typename?: 'Query', getChannels: { __typename?: 'ChannelList', total: number, hasMore: boolean, items: Array<{ __typename?: 'Channel', id: string, name: string, description?: string | null, platform: Types.ChannelPlatform, adapterType?: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt?: string | null, healthCheckError?: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig?: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, connection?: { __typename?: 'ChannelConnection', id: string, authType: Types.ChannelAuthType, isActive: boolean, isHealthy: boolean, needsTokenRefresh: boolean, lastTestedAt?: string | null, testStatus?: string | null, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> } | null, tagAssignments: Array<{ __typename?: 'ChannelTagAssignment', id: string, tagId: string }> }> } };\n\nexport type GetConnectionQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetConnectionQuery = { __typename?: 'Query', getConnection?: { __typename?: 'ChannelConnection', id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata?: Record<string, unknown> | null, tokenExpiresAt?: string | null, lastRefreshedAt?: string | null, lastTestedAt?: string | null, testStatus?: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry?: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ __typename?: 'ChannelConnectionTagAssignment', id: string, tagId: string }> } | null };\n\nexport type GetDeliveryAttemptsQueryVariables = Types.Exact<{\n channelId: Types.Scalars['ID']['input'];\n limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n cursor?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type GetDeliveryAttemptsQuery = { __typename?: 'Query', getChannelDeliveryAttempts: { __typename?: 'DeliveryAttemptList', nextCursor?: string | null, hasMore: boolean, total: number, items: Array<{ __typename?: 'MessageDeliveryAttempt', id: string, channelId: string, content: string, format?: string | null, platformOptions?: Record<string, unknown> | null, platformResponse?: Record<string, unknown> | null, status: Types.DeliveryStatus, retryCount: number, nextRetryAt?: string | null, sentAt?: string | null, errorMessage?: string | null, expiresAt: string, createdAt: string, updatedAt: string }> } };\n\nexport type GetDeliveryStatsQueryVariables = Types.Exact<{\n channelId: Types.Scalars['ID']['input'];\n startDate?: Types.InputMaybe<Types.Scalars['DateTime']['input']>;\n endDate?: Types.InputMaybe<Types.Scalars['DateTime']['input']>;\n}>;\n\n\nexport type GetDeliveryStatsQuery = { __typename?: 'Query', getDeliveryStats: { __typename?: 'DeliveryStats', channelId: string, totalAttempts: number, successfulDeliveries: number, failedDeliveries: number, pendingDeliveries: number, avgDeliveryTimeMs: number, successRate: number, startDate: string, endDate: string } };\n\nexport type GetUserPlatformConnectionsQueryVariables = Types.Exact<{\n channelId: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.UserPlatformConnectionFilterInput>;\n pagination?: Types.InputMaybe<Types.ChannelPaginationInput>;\n cursor?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type GetUserPlatformConnectionsQuery = { __typename?: 'Query', listUserPlatformConnectionsByChannel: { __typename?: 'UserPlatformConnectionList', nextCursor?: string | null, hasMore: boolean, total: number, items: Array<{ __typename?: 'UserPlatformConnection', id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername?: string | null, externalDisplayName?: string | null, externalEmail?: string | null, externalAvatarUrl?: string | null, externalMetadata?: Record<string, unknown> | null, internalUserId?: string | null, organizationId: string, source: Types.UserPlatformSource, connectedAt?: string | null, dmAllowed: boolean, dmConversationId?: string | null, notificationsEnabled: boolean, userTokenExpiresAt?: string | null, userTokenScope?: string | null, pairingCode?: string | null, pairingCodeExpiresAt?: string | null, pairingStatus?: Types.PairingStatus | null, pairingApprovedAt?: string | null, presenceStatus: Types.UserPresenceStatus, customStatus?: string | null, lastActiveAt?: string | null, isActive: boolean, roles: Array<string>, permissions: Array<string>, lastSyncedAt: string, deletedAt?: string | null, createdAt: string, updatedAt: string, isTokenExpired: boolean, canReceiveDm: boolean }> } };\n\nexport type GetWebhookEventsQueryVariables = Types.Exact<{\n channelId: Types.Scalars['ID']['input'];\n limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n cursor?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type GetWebhookEventsQuery = { __typename?: 'Query', getChannelWebhookEvents: { __typename?: 'WebhookEventList', nextCursor?: string | null, hasMore: boolean, total: number, items: Array<{ __typename?: 'WebhookEvent', id: string, channelId: string, eventType: string, status: Types.WebhookProcessingStatus, payload: Record<string, unknown>, signature?: string | null, isDuplicate: boolean, originalEventId?: string | null, errorMessage?: string | null, processingResult?: Record<string, unknown> | null, processedAt?: string | null, expiresAt: string, createdAt: string, updatedAt: string, context?: { __typename?: 'OperationContext', tenantId?: string | null, userId?: string | null, appId?: string | null, workspaceId?: string | null, projectId?: string | null, organizationId?: string | null, custom?: Record<string, unknown> | null } | null }> } };\n\nexport type SendNotificationMutationVariables = Types.Exact<{\n input: Types.TriggerNotificationInput;\n}>;\n\n\nexport type SendNotificationMutation = { __typename?: 'Mutation', triggerNotification: { __typename?: 'Notification', id: string, status: Types.NotificationStatus, deliveryStatus?: Types.NotificationDeliveryStatus | null, triggerStatus: Types.TriggerStatus, sentAt?: string | null, title: string, message: string, errorMessage?: string | null, errorCode?: string | null } };\n\nexport const ChannelFieldsFragmentDoc = gql`\n fragment ChannelFields on Channel {\n id\n name\n description\n platform\n adapterType\n status\n priority\n connectionHealth\n lastHealthCheckAt\n healthCheckError\n consecutiveFailures\n organizationId\n createdBy\n onBehalfOf\n platformConfig\n isConnected\n messageCount24h\n createdAt\n updatedAt\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const ConnectionSummaryFieldsFragmentDoc = gql`\n fragment ConnectionSummaryFields on ChannelConnection {\n id\n authType\n isActive\n isHealthy\n needsTokenRefresh\n lastTestedAt\n testStatus\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const ConnectionFieldsFragmentDoc = gql`\n fragment ConnectionFields on ChannelConnection {\n id\n channelId\n authType\n isActive\n platformMetadata\n tokenExpiresAt\n lastRefreshedAt\n lastTestedAt\n testStatus\n needsTokenRefresh\n isHealthy\n daysUntilExpiry\n createdAt\n updatedAt\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const DeliveryAttemptFieldsFragmentDoc = gql`\n fragment DeliveryAttemptFields on MessageDeliveryAttempt {\n id\n channelId\n content\n format\n platformOptions\n platformResponse\n status\n retryCount\n nextRetryAt\n sentAt\n errorMessage\n expiresAt\n createdAt\n updatedAt\n}\n `;\nexport const UserPlatformConnectionFieldsFragmentDoc = gql`\n fragment UserPlatformConnectionFields on UserPlatformConnection {\n id\n channelId\n platform\n externalUserId\n externalUsername\n externalDisplayName\n externalEmail\n externalAvatarUrl\n externalMetadata\n internalUserId\n organizationId\n source\n connectedAt\n dmAllowed\n dmConversationId\n notificationsEnabled\n userTokenExpiresAt\n userTokenScope\n pairingCode\n pairingCodeExpiresAt\n pairingStatus\n pairingApprovedAt\n presenceStatus\n customStatus\n lastActiveAt\n isActive\n roles\n permissions\n lastSyncedAt\n deletedAt\n createdAt\n updatedAt\n isTokenExpired\n canReceiveDm\n}\n `;\nexport const WebhookEventFieldsFragmentDoc = gql`\n fragment WebhookEventFields on WebhookEvent {\n id\n channelId\n eventType\n status\n payload\n signature\n isDuplicate\n originalEventId\n errorMessage\n processingResult\n processedAt\n context {\n tenantId\n userId\n appId\n workspaceId\n projectId\n organizationId\n custom\n }\n expiresAt\n createdAt\n updatedAt\n}\n `;\nexport const ActivateChannelDocument = gql`\n mutation ActivateChannel($id: ID!) {\n activateChannel(id: $id) {\n id\n status\n }\n}\n `;\nexport type ActivateChannelMutationFn = Apollo.MutationFunction<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>;\n\n/**\n * __useActivateChannelMutation__\n *\n * To run a mutation, you first call `useActivateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useActivateChannelMutation` 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 [activateChannelMutation, { data, loading, error }] = useActivateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useActivateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>(ActivateChannelDocument, options);\n }\nexport type ActivateChannelMutationHookResult = ReturnType<typeof useActivateChannelMutation>;\nexport type ActivateChannelMutationResult = Apollo.MutationResult<Types.ActivateChannelMutation>;\nexport type ActivateChannelMutationOptions = Apollo.BaseMutationOptions<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>;\nexport const CreateChannelDocument = gql`\n mutation CreateChannel($input: CreateChannelInput!) {\n createChannel(input: $input) {\n ...ChannelFields\n }\n}\n ${ChannelFieldsFragmentDoc}`;\nexport type CreateChannelMutationFn = Apollo.MutationFunction<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>;\n\n/**\n * __useCreateChannelMutation__\n *\n * To run a mutation, you first call `useCreateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateChannelMutation` 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 [createChannelMutation, { data, loading, error }] = useCreateChannelMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>(CreateChannelDocument, options);\n }\nexport type CreateChannelMutationHookResult = ReturnType<typeof useCreateChannelMutation>;\nexport type CreateChannelMutationResult = Apollo.MutationResult<Types.CreateChannelMutation>;\nexport type CreateChannelMutationOptions = Apollo.BaseMutationOptions<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>;\nexport const CreateConnectionDocument = gql`\n mutation CreateConnection($input: CreateConnectionInput!) {\n createConnection(input: $input) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\nexport type CreateConnectionMutationFn = Apollo.MutationFunction<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>;\n\n/**\n * __useCreateConnectionMutation__\n *\n * To run a mutation, you first call `useCreateConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateConnectionMutation` 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 [createConnectionMutation, { data, loading, error }] = useCreateConnectionMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>(CreateConnectionDocument, options);\n }\nexport type CreateConnectionMutationHookResult = ReturnType<typeof useCreateConnectionMutation>;\nexport type CreateConnectionMutationResult = Apollo.MutationResult<Types.CreateConnectionMutation>;\nexport type CreateConnectionMutationOptions = Apollo.BaseMutationOptions<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>;\nexport const DeactivateChannelDocument = gql`\n mutation DeactivateChannel($id: ID!) {\n deactivateChannel(id: $id) {\n id\n status\n }\n}\n `;\nexport type DeactivateChannelMutationFn = Apollo.MutationFunction<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>;\n\n/**\n * __useDeactivateChannelMutation__\n *\n * To run a mutation, you first call `useDeactivateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeactivateChannelMutation` 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 [deactivateChannelMutation, { data, loading, error }] = useDeactivateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeactivateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>(DeactivateChannelDocument, options);\n }\nexport type DeactivateChannelMutationHookResult = ReturnType<typeof useDeactivateChannelMutation>;\nexport type DeactivateChannelMutationResult = Apollo.MutationResult<Types.DeactivateChannelMutation>;\nexport type DeactivateChannelMutationOptions = Apollo.BaseMutationOptions<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>;\nexport const DeleteChannelDocument = gql`\n mutation DeleteChannel($id: ID!) {\n deleteChannel(id: $id)\n}\n `;\nexport type DeleteChannelMutationFn = Apollo.MutationFunction<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>;\n\n/**\n * __useDeleteChannelMutation__\n *\n * To run a mutation, you first call `useDeleteChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteChannelMutation` 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 [deleteChannelMutation, { data, loading, error }] = useDeleteChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>(DeleteChannelDocument, options);\n }\nexport type DeleteChannelMutationHookResult = ReturnType<typeof useDeleteChannelMutation>;\nexport type DeleteChannelMutationResult = Apollo.MutationResult<Types.DeleteChannelMutation>;\nexport type DeleteChannelMutationOptions = Apollo.BaseMutationOptions<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>;\nexport const DeleteConnectionDocument = gql`\n mutation DeleteConnection($id: ID!) {\n deleteConnection(id: $id)\n}\n `;\nexport type DeleteConnectionMutationFn = Apollo.MutationFunction<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>;\n\n/**\n * __useDeleteConnectionMutation__\n *\n * To run a mutation, you first call `useDeleteConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteConnectionMutation` 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 [deleteConnectionMutation, { data, loading, error }] = useDeleteConnectionMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>(DeleteConnectionDocument, options);\n }\nexport type DeleteConnectionMutationHookResult = ReturnType<typeof useDeleteConnectionMutation>;\nexport type DeleteConnectionMutationResult = Apollo.MutationResult<Types.DeleteConnectionMutation>;\nexport type DeleteConnectionMutationOptions = Apollo.BaseMutationOptions<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>;\nexport const DeliverBulkNotificationDocument = gql`\n mutation DeliverBulkNotification($input: BulkChannelDeliveryInput!) {\n deliverBulkNotification(input: $input) {\n totalCount\n successCount\n failedCount\n results {\n success\n messageId\n externalId\n status\n platform\n error {\n code\n message\n retryable\n }\n sentAt\n metadata\n }\n }\n}\n `;\nexport type DeliverBulkNotificationMutationFn = Apollo.MutationFunction<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>;\n\n/**\n * __useDeliverBulkNotificationMutation__\n *\n * To run a mutation, you first call `useDeliverBulkNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeliverBulkNotificationMutation` 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 [deliverBulkNotificationMutation, { data, loading, error }] = useDeliverBulkNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useDeliverBulkNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>(DeliverBulkNotificationDocument, options);\n }\nexport type DeliverBulkNotificationMutationHookResult = ReturnType<typeof useDeliverBulkNotificationMutation>;\nexport type DeliverBulkNotificationMutationResult = Apollo.MutationResult<Types.DeliverBulkNotificationMutation>;\nexport type DeliverBulkNotificationMutationOptions = Apollo.BaseMutationOptions<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>;\nexport const DeliverNotificationDocument = gql`\n mutation DeliverNotification($input: ChannelDeliveryInput!) {\n deliverNotification(input: $input) {\n success\n messageId\n externalId\n status\n platform\n error {\n code\n message\n retryable\n details\n }\n sentAt\n metadata\n }\n}\n `;\nexport type DeliverNotificationMutationFn = Apollo.MutationFunction<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>;\n\n/**\n * __useDeliverNotificationMutation__\n *\n * To run a mutation, you first call `useDeliverNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeliverNotificationMutation` 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 [deliverNotificationMutation, { data, loading, error }] = useDeliverNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useDeliverNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>(DeliverNotificationDocument, options);\n }\nexport type DeliverNotificationMutationHookResult = ReturnType<typeof useDeliverNotificationMutation>;\nexport type DeliverNotificationMutationResult = Apollo.MutationResult<Types.DeliverNotificationMutation>;\nexport type DeliverNotificationMutationOptions = Apollo.BaseMutationOptions<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>;\nexport const ExportChannelUsersDocument = gql`\n mutation ExportChannelUsers($filter: ExportChannelUsersFilter!, $format: ChannelExportFormat!) {\n exportChannelUsers(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportChannelUsersMutationFn = Apollo.MutationFunction<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>;\n\n/**\n * __useExportChannelUsersMutation__\n *\n * To run a mutation, you first call `useExportChannelUsersMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportChannelUsersMutation` 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 [exportChannelUsersMutation, { data, loading, error }] = useExportChannelUsersMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportChannelUsersMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>(ExportChannelUsersDocument, options);\n }\nexport type ExportChannelUsersMutationHookResult = ReturnType<typeof useExportChannelUsersMutation>;\nexport type ExportChannelUsersMutationResult = Apollo.MutationResult<Types.ExportChannelUsersMutation>;\nexport type ExportChannelUsersMutationOptions = Apollo.BaseMutationOptions<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>;\nexport const ExportChannelsDocument = gql`\n mutation ExportChannels($filter: ExportChannelsFilter!, $format: ChannelExportFormat!) {\n exportChannels(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportChannelsMutationFn = Apollo.MutationFunction<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>;\n\n/**\n * __useExportChannelsMutation__\n *\n * To run a mutation, you first call `useExportChannelsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportChannelsMutation` 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 [exportChannelsMutation, { data, loading, error }] = useExportChannelsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportChannelsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>(ExportChannelsDocument, options);\n }\nexport type ExportChannelsMutationHookResult = ReturnType<typeof useExportChannelsMutation>;\nexport type ExportChannelsMutationResult = Apollo.MutationResult<Types.ExportChannelsMutation>;\nexport type ExportChannelsMutationOptions = Apollo.BaseMutationOptions<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>;\nexport const ExportDeliveryAttemptsDocument = gql`\n mutation ExportDeliveryAttempts($filter: ExportDeliveryAttemptsFilter!, $format: ChannelExportFormat!) {\n exportDeliveryAttempts(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportDeliveryAttemptsMutationFn = Apollo.MutationFunction<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>;\n\n/**\n * __useExportDeliveryAttemptsMutation__\n *\n * To run a mutation, you first call `useExportDeliveryAttemptsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportDeliveryAttemptsMutation` 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 [exportDeliveryAttemptsMutation, { data, loading, error }] = useExportDeliveryAttemptsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportDeliveryAttemptsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>(ExportDeliveryAttemptsDocument, options);\n }\nexport type ExportDeliveryAttemptsMutationHookResult = ReturnType<typeof useExportDeliveryAttemptsMutation>;\nexport type ExportDeliveryAttemptsMutationResult = Apollo.MutationResult<Types.ExportDeliveryAttemptsMutation>;\nexport type ExportDeliveryAttemptsMutationOptions = Apollo.BaseMutationOptions<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>;\nexport const ExportWebhookEventsDocument = gql`\n mutation ExportWebhookEvents($filter: ExportWebhookEventsFilter!, $format: ChannelExportFormat!) {\n exportWebhookEvents(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportWebhookEventsMutationFn = Apollo.MutationFunction<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>;\n\n/**\n * __useExportWebhookEventsMutation__\n *\n * To run a mutation, you first call `useExportWebhookEventsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportWebhookEventsMutation` 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 [exportWebhookEventsMutation, { data, loading, error }] = useExportWebhookEventsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportWebhookEventsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>(ExportWebhookEventsDocument, options);\n }\nexport type ExportWebhookEventsMutationHookResult = ReturnType<typeof useExportWebhookEventsMutation>;\nexport type ExportWebhookEventsMutationResult = Apollo.MutationResult<Types.ExportWebhookEventsMutation>;\nexport type ExportWebhookEventsMutationOptions = Apollo.BaseMutationOptions<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>;\nexport const RetryDeliveryDocument = gql`\n mutation RetryDelivery($attemptId: ID!) {\n retryDelivery(attemptId: $attemptId) {\n success\n messageId\n attemptId\n error\n willRetry\n nextRetryAt\n }\n}\n `;\nexport type RetryDeliveryMutationFn = Apollo.MutationFunction<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>;\n\n/**\n * __useRetryDeliveryMutation__\n *\n * To run a mutation, you first call `useRetryDeliveryMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRetryDeliveryMutation` 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 [retryDeliveryMutation, { data, loading, error }] = useRetryDeliveryMutation({\n * variables: {\n * attemptId: // value for 'attemptId'\n * },\n * });\n */\nexport function useRetryDeliveryMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>(RetryDeliveryDocument, options);\n }\nexport type RetryDeliveryMutationHookResult = ReturnType<typeof useRetryDeliveryMutation>;\nexport type RetryDeliveryMutationResult = Apollo.MutationResult<Types.RetryDeliveryMutation>;\nexport type RetryDeliveryMutationOptions = Apollo.BaseMutationOptions<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>;\nexport const RunChannelHealthCheckDocument = gql`\n mutation RunChannelHealthCheck($id: ID!) {\n runChannelHealthCheck(id: $id) {\n channelId\n isHealthy\n status\n responseTimeMs\n lastCheckAt\n error\n }\n}\n `;\nexport type RunChannelHealthCheckMutationFn = Apollo.MutationFunction<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>;\n\n/**\n * __useRunChannelHealthCheckMutation__\n *\n * To run a mutation, you first call `useRunChannelHealthCheckMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRunChannelHealthCheckMutation` 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 [runChannelHealthCheckMutation, { data, loading, error }] = useRunChannelHealthCheckMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useRunChannelHealthCheckMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>(RunChannelHealthCheckDocument, options);\n }\nexport type RunChannelHealthCheckMutationHookResult = ReturnType<typeof useRunChannelHealthCheckMutation>;\nexport type RunChannelHealthCheckMutationResult = Apollo.MutationResult<Types.RunChannelHealthCheckMutation>;\nexport type RunChannelHealthCheckMutationOptions = Apollo.BaseMutationOptions<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>;\nexport const TestConnectionHealthDocument = gql`\n mutation TestConnectionHealth($id: ID!) {\n testConnectionHealth(id: $id) {\n success\n message\n responseTimeMs\n platformInfo\n error\n }\n}\n `;\nexport type TestConnectionHealthMutationFn = Apollo.MutationFunction<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>;\n\n/**\n * __useTestConnectionHealthMutation__\n *\n * To run a mutation, you first call `useTestConnectionHealthMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useTestConnectionHealthMutation` 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 [testConnectionHealthMutation, { data, loading, error }] = useTestConnectionHealthMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useTestConnectionHealthMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>(TestConnectionHealthDocument, options);\n }\nexport type TestConnectionHealthMutationHookResult = ReturnType<typeof useTestConnectionHealthMutation>;\nexport type TestConnectionHealthMutationResult = Apollo.MutationResult<Types.TestConnectionHealthMutation>;\nexport type TestConnectionHealthMutationOptions = Apollo.BaseMutationOptions<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>;\nexport const UpdateChannelDocument = gql`\n mutation UpdateChannel($id: ID!, $input: UpdateChannelInput!) {\n updateChannel(id: $id, input: $input) {\n ...ChannelFields\n }\n}\n ${ChannelFieldsFragmentDoc}`;\nexport type UpdateChannelMutationFn = Apollo.MutationFunction<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>;\n\n/**\n * __useUpdateChannelMutation__\n *\n * To run a mutation, you first call `useUpdateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateChannelMutation` 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 [updateChannelMutation, { data, loading, error }] = useUpdateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>(UpdateChannelDocument, options);\n }\nexport type UpdateChannelMutationHookResult = ReturnType<typeof useUpdateChannelMutation>;\nexport type UpdateChannelMutationResult = Apollo.MutationResult<Types.UpdateChannelMutation>;\nexport type UpdateChannelMutationOptions = Apollo.BaseMutationOptions<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>;\nexport const UpdateChannelOrgSettingsDocument = gql`\n mutation UpdateChannelOrgSettings($organizationId: ID!, $input: ChannelOrgSettingsInput!) {\n updateChannelOrgSettings(organizationId: $organizationId, input: $input) {\n organizationId\n defaultPriority\n rateLimitPerMinute\n rateLimitPerHour\n healthCheckIntervalMinutes\n enableAuditLogging\n enableWebhookVerification\n sessionTimeoutMinutes\n updatedAt\n }\n}\n `;\nexport type UpdateChannelOrgSettingsMutationFn = Apollo.MutationFunction<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>;\n\n/**\n * __useUpdateChannelOrgSettingsMutation__\n *\n * To run a mutation, you first call `useUpdateChannelOrgSettingsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateChannelOrgSettingsMutation` 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 [updateChannelOrgSettingsMutation, { data, loading, error }] = useUpdateChannelOrgSettingsMutation({\n * variables: {\n * organizationId: // value for 'organizationId'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateChannelOrgSettingsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>(UpdateChannelOrgSettingsDocument, options);\n }\nexport type UpdateChannelOrgSettingsMutationHookResult = ReturnType<typeof useUpdateChannelOrgSettingsMutation>;\nexport type UpdateChannelOrgSettingsMutationResult = Apollo.MutationResult<Types.UpdateChannelOrgSettingsMutation>;\nexport type UpdateChannelOrgSettingsMutationOptions = Apollo.BaseMutationOptions<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>;\nexport const UpdateConnectionDocument = gql`\n mutation UpdateConnection($id: ID!, $input: UpdateConnectionInput!) {\n updateConnection(id: $id, input: $input) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\nexport type UpdateConnectionMutationFn = Apollo.MutationFunction<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>;\n\n/**\n * __useUpdateConnectionMutation__\n *\n * To run a mutation, you first call `useUpdateConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConnectionMutation` 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 [updateConnectionMutation, { data, loading, error }] = useUpdateConnectionMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>(UpdateConnectionDocument, options);\n }\nexport type UpdateConnectionMutationHookResult = ReturnType<typeof useUpdateConnectionMutation>;\nexport type UpdateConnectionMutationResult = Apollo.MutationResult<Types.UpdateConnectionMutation>;\nexport type UpdateConnectionMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>;\nexport const GetChannelDocument = gql`\n query GetChannel($id: ID!) {\n getChannel(id: $id) {\n ...ChannelFields\n connection {\n ...ConnectionFields\n }\n }\n}\n ${ChannelFieldsFragmentDoc}\n${ConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetChannelQuery__\n *\n * To run a query within a React component, call `useGetChannelQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelQuery` 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 } = useGetChannelQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetChannelQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables> & ({ variables: Types.GetChannelQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\nexport function useGetChannelLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelQuery, Types.GetChannelQueryVariables>;\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelQuery | undefined, Types.GetChannelQueryVariables>;\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\nexport type GetChannelQueryHookResult = ReturnType<typeof useGetChannelQuery>;\nexport type GetChannelLazyQueryHookResult = ReturnType<typeof useGetChannelLazyQuery>;\nexport type GetChannelSuspenseQueryHookResult = ReturnType<typeof useGetChannelSuspenseQuery>;\nexport type GetChannelQueryResult = Apollo.QueryResult<Types.GetChannelQuery, Types.GetChannelQueryVariables>;\nexport const GetChannelExportJobDocument = gql`\n query GetChannelExportJob($id: ID!) {\n channelExportJob(id: $id) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\n\n/**\n * __useGetChannelExportJobQuery__\n *\n * To run a query within a React component, call `useGetChannelExportJobQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelExportJobQuery` 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 } = useGetChannelExportJobQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetChannelExportJobQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables> & ({ variables: Types.GetChannelExportJobQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\nexport function useGetChannelExportJobLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>;\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelExportJobQuery | undefined, Types.GetChannelExportJobQueryVariables>;\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\nexport type GetChannelExportJobQueryHookResult = ReturnType<typeof useGetChannelExportJobQuery>;\nexport type GetChannelExportJobLazyQueryHookResult = ReturnType<typeof useGetChannelExportJobLazyQuery>;\nexport type GetChannelExportJobSuspenseQueryHookResult = ReturnType<typeof useGetChannelExportJobSuspenseQuery>;\nexport type GetChannelExportJobQueryResult = Apollo.QueryResult<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>;\nexport const GetChannelOrgSettingsDocument = gql`\n query GetChannelOrgSettings($organizationId: ID!) {\n getChannelOrgSettings(organizationId: $organizationId) {\n organizationId\n defaultPriority\n rateLimitPerMinute\n rateLimitPerHour\n healthCheckIntervalMinutes\n enableAuditLogging\n enableWebhookVerification\n sessionTimeoutMinutes\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetChannelOrgSettingsQuery__\n *\n * To run a query within a React component, call `useGetChannelOrgSettingsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelOrgSettingsQuery` 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 } = useGetChannelOrgSettingsQuery({\n * variables: {\n * organizationId: // value for 'organizationId'\n * },\n * });\n */\nexport function useGetChannelOrgSettingsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables> & ({ variables: Types.GetChannelOrgSettingsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\nexport function useGetChannelOrgSettingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>;\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelOrgSettingsQuery | undefined, Types.GetChannelOrgSettingsQueryVariables>;\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\nexport type GetChannelOrgSettingsQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsQuery>;\nexport type GetChannelOrgSettingsLazyQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsLazyQuery>;\nexport type GetChannelOrgSettingsSuspenseQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsSuspenseQuery>;\nexport type GetChannelOrgSettingsQueryResult = Apollo.QueryResult<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>;\nexport const GetChannelsDocument = gql`\n query GetChannels($filter: ChannelFilterInput, $pagination: ChannelPaginationInput) {\n getChannels(filter: $filter, pagination: $pagination) {\n items {\n ...ChannelFields\n connection {\n ...ConnectionSummaryFields\n }\n }\n total\n hasMore\n }\n}\n ${ChannelFieldsFragmentDoc}\n${ConnectionSummaryFieldsFragmentDoc}`;\n\n/**\n * __useGetChannelsQuery__\n *\n * To run a query within a React component, call `useGetChannelsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelsQuery` 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 } = useGetChannelsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetChannelsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\nexport function useGetChannelsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>;\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelsQuery | undefined, Types.GetChannelsQueryVariables>;\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\nexport type GetChannelsQueryHookResult = ReturnType<typeof useGetChannelsQuery>;\nexport type GetChannelsLazyQueryHookResult = ReturnType<typeof useGetChannelsLazyQuery>;\nexport type GetChannelsSuspenseQueryHookResult = ReturnType<typeof useGetChannelsSuspenseQuery>;\nexport type GetChannelsQueryResult = Apollo.QueryResult<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>;\nexport const GetConnectionDocument = gql`\n query GetConnection($id: ID!) {\n getConnection(id: $id) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetConnectionQuery__\n *\n * To run a query within a React component, call `useGetConnectionQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConnectionQuery` 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 } = useGetConnectionQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetConnectionQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables> & ({ variables: Types.GetConnectionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\nexport function useGetConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\n// @ts-ignore\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>;\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery | undefined, Types.GetConnectionQueryVariables>;\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\nexport type GetConnectionQueryHookResult = ReturnType<typeof useGetConnectionQuery>;\nexport type GetConnectionLazyQueryHookResult = ReturnType<typeof useGetConnectionLazyQuery>;\nexport type GetConnectionSuspenseQueryHookResult = ReturnType<typeof useGetConnectionSuspenseQuery>;\nexport type GetConnectionQueryResult = Apollo.QueryResult<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>;\nexport const GetDeliveryAttemptsDocument = gql`\n query GetDeliveryAttempts($channelId: ID!, $limit: Int, $cursor: String) {\n getChannelDeliveryAttempts(\n channelId: $channelId\n limit: $limit\n cursor: $cursor\n ) {\n items {\n ...DeliveryAttemptFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${DeliveryAttemptFieldsFragmentDoc}`;\n\n/**\n * __useGetDeliveryAttemptsQuery__\n *\n * To run a query within a React component, call `useGetDeliveryAttemptsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetDeliveryAttemptsQuery` 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 } = useGetDeliveryAttemptsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * limit: // value for 'limit'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetDeliveryAttemptsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables> & ({ variables: Types.GetDeliveryAttemptsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\nexport function useGetDeliveryAttemptsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\n// @ts-ignore\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>;\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryAttemptsQuery | undefined, Types.GetDeliveryAttemptsQueryVariables>;\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\nexport type GetDeliveryAttemptsQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsQuery>;\nexport type GetDeliveryAttemptsLazyQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsLazyQuery>;\nexport type GetDeliveryAttemptsSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsSuspenseQuery>;\nexport type GetDeliveryAttemptsQueryResult = Apollo.QueryResult<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>;\nexport const GetDeliveryStatsDocument = gql`\n query GetDeliveryStats($channelId: ID!, $startDate: DateTime, $endDate: DateTime) {\n getDeliveryStats(\n channelId: $channelId\n startDate: $startDate\n endDate: $endDate\n ) {\n channelId\n totalAttempts\n successfulDeliveries\n failedDeliveries\n pendingDeliveries\n avgDeliveryTimeMs\n successRate\n startDate\n endDate\n }\n}\n `;\n\n/**\n * __useGetDeliveryStatsQuery__\n *\n * To run a query within a React component, call `useGetDeliveryStatsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetDeliveryStatsQuery` 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 } = useGetDeliveryStatsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * startDate: // value for 'startDate'\n * endDate: // value for 'endDate'\n * },\n * });\n */\nexport function useGetDeliveryStatsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables> & ({ variables: Types.GetDeliveryStatsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\nexport function useGetDeliveryStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\n// @ts-ignore\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>;\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryStatsQuery | undefined, Types.GetDeliveryStatsQueryVariables>;\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\nexport type GetDeliveryStatsQueryHookResult = ReturnType<typeof useGetDeliveryStatsQuery>;\nexport type GetDeliveryStatsLazyQueryHookResult = ReturnType<typeof useGetDeliveryStatsLazyQuery>;\nexport type GetDeliveryStatsSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryStatsSuspenseQuery>;\nexport type GetDeliveryStatsQueryResult = Apollo.QueryResult<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>;\nexport const GetUserPlatformConnectionsDocument = gql`\n query GetUserPlatformConnections($channelId: ID!, $filter: UserPlatformConnectionFilterInput, $pagination: ChannelPaginationInput, $cursor: String) {\n listUserPlatformConnectionsByChannel(\n channelId: $channelId\n filter: $filter\n pagination: $pagination\n cursor: $cursor\n ) {\n items {\n ...UserPlatformConnectionFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${UserPlatformConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetUserPlatformConnectionsQuery__\n *\n * To run a query within a React component, call `useGetUserPlatformConnectionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUserPlatformConnectionsQuery` 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 } = useGetUserPlatformConnectionsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetUserPlatformConnectionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables> & ({ variables: Types.GetUserPlatformConnectionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\nexport function useGetUserPlatformConnectionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\n// @ts-ignore\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>;\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUserPlatformConnectionsQuery | undefined, Types.GetUserPlatformConnectionsQueryVariables>;\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\nexport type GetUserPlatformConnectionsQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsQuery>;\nexport type GetUserPlatformConnectionsLazyQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsLazyQuery>;\nexport type GetUserPlatformConnectionsSuspenseQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsSuspenseQuery>;\nexport type GetUserPlatformConnectionsQueryResult = Apollo.QueryResult<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>;\nexport const GetWebhookEventsDocument = gql`\n query GetWebhookEvents($channelId: ID!, $limit: Int, $cursor: String) {\n getChannelWebhookEvents(channelId: $channelId, limit: $limit, cursor: $cursor) {\n items {\n ...WebhookEventFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${WebhookEventFieldsFragmentDoc}`;\n\n/**\n * __useGetWebhookEventsQuery__\n *\n * To run a query within a React component, call `useGetWebhookEventsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWebhookEventsQuery` 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 } = useGetWebhookEventsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * limit: // value for 'limit'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetWebhookEventsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables> & ({ variables: Types.GetWebhookEventsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\nexport function useGetWebhookEventsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\n// @ts-ignore\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>;\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWebhookEventsQuery | undefined, Types.GetWebhookEventsQueryVariables>;\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\nexport type GetWebhookEventsQueryHookResult = ReturnType<typeof useGetWebhookEventsQuery>;\nexport type GetWebhookEventsLazyQueryHookResult = ReturnType<typeof useGetWebhookEventsLazyQuery>;\nexport type GetWebhookEventsSuspenseQueryHookResult = ReturnType<typeof useGetWebhookEventsSuspenseQuery>;\nexport type GetWebhookEventsQueryResult = Apollo.QueryResult<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>;\nexport const SendNotificationDocument = gql`\n mutation SendNotification($input: TriggerNotificationInput!) {\n triggerNotification(input: $input) {\n id\n status\n deliveryStatus\n triggerStatus\n sentAt\n title\n message\n errorMessage\n errorCode\n }\n}\n `;\nexport type SendNotificationMutationFn = Apollo.MutationFunction<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>;\n\n/**\n * __useSendNotificationMutation__\n *\n * To run a mutation, you first call `useSendNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useSendNotificationMutation` 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 [sendNotificationMutation, { data, loading, error }] = useSendNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useSendNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>(SendNotificationDocument, options);\n }\nexport type SendNotificationMutationHookResult = ReturnType<typeof useSendNotificationMutation>;\nexport type SendNotificationMutationResult = Apollo.MutationResult<Types.SendNotificationMutation>;\nexport type SendNotificationMutationOptions = Apollo.BaseMutationOptions<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>;"],"mappings":";;;AAMA,IAAM,IAAiB,EAAE,EAkOZ,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OA2B9B,IAAqC,CAAG;;;;;;;;;;;;;;OAexC,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;OAsBjC,IAAmC,CAAG;;;;;;;;;;;;;;;;;OAkBtC,IAA0C,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsC7C,IAAgC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BnC,IAA0B,CAAG;;;;;;;OAkC7B,IAAwB,CAAG;;;;;;MAMlC,KA2BO,IAA2B,CAAG;;;;;;MAMrC,KA2BO,IAA4B,CAAG;;;;;;;OAkC/B,IAAwB,CAAG;;;;OA+B3B,IAA2B,CAAG;;;;;AA+BI,CAAG;;;;;;;;;;;;;;;;;;;;;;;AAiDlD,IAAa,IAA8B,CAAG;;;;;;;;;;;;;;;;;;OA6CjC,IAA6B,CAAG;;;;;;;;;;;;OAwChC,IAAyB,CAAG;;;;;;;;;;;;OAwC5B,IAAiC,CAAG;;;;;;;;;;;;OAwCpC,IAA8B,CAAG;;;;;;;;;;;;OAwCjC,IAAwB,CAAG;;;;;;;;;;;OAsC3B,IAAgC,CAAG;;;;;;;;;;;OAsCnC,IAA+B,CAAG;;;;;;;;;;OAqClC,IAAwB,CAAG;;;;;;MAMlC,KA4BO,IAAmC,CAAG;;;;;;;;;;;;;;OA0CtC,IAA2B,CAAG;;;;;;MAMrC,KA4BO,IAAqB,CAAG;;;;;;;;;MAS/B,EAAyB;EAC7B,KAqCW,IAA8B,CAAG;;;;;;;;;;;;OAiDjC,IAAgC,CAAG;;;;;;;;;;;;;;OAmDnC,IAAsB,CAAG;;;;;;;;;;;;;MAahC,EAAyB;EAC7B,KAsCW,IAAwB,CAAG;;;;;;MAMlC,KAqCO,IAA8B,CAAG;;;;;;;;;;;;;;;MAexC,KAuCO,IAA2B,CAAG;;;;;;;;;;;;;;;;;;OAyD9B,IAAqC,CAAG;;;;;;;;;;;;;;;;MAgB/C,KAwCO,IAA2B,CAAG;;;;;;;;;;;MAWrC,KAuCO,IAA2B,CAAG;;;;;;;;;;;;;;;AAkC3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ"}
1
+ {"version":3,"file":"global-operations.js","names":["ApolloReactHooks","defaultOptions","ChannelFieldsFragmentDoc","ConnectionSummaryFieldsFragmentDoc","ConnectionFieldsFragmentDoc","DeliveryAttemptFieldsFragmentDoc","UserPlatformConnectionFieldsFragmentDoc","WebhookEventFieldsFragmentDoc","ActivateChannelDocument","CreateChannelDocument","CreateConnectionDocument","DeactivateChannelDocument","DeleteChannelDocument","DeleteConnectionDocument","DeliverNotificationDocument","ExportChannelUsersDocument","ExportChannelsDocument","ExportDeliveryAttemptsDocument","ExportWebhookEventsDocument","RetryDeliveryDocument","RunChannelHealthCheckDocument","TestConnectionHealthDocument","UpdateChannelDocument","UpdateChannelOrgSettingsDocument","UpdateConnectionDocument","GetChannelDocument","GetChannelExportJobDocument","GetChannelOrgSettingsDocument","GetChannelsDocument","GetConnectionDocument","GetDeliveryAttemptsDocument","GetDeliveryStatsDocument","GetUserPlatformConnectionsDocument","GetWebhookEventsDocument","SendNotificationDocument","useSendNotificationMutation","options","baseOptions"],"sources":["../../src/generated/global-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 './global-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 * Specific adapter/provider type for each ChannelPlatform.\n * ChannelPlatform = High-level category (EMAIL, SMS, PUSH, etc.)\n * AdapterType = Specific provider implementation\n *\n * Currently supported adapters (must match Prisma schema):\n * EMAIL: AWS_SES, AZURE_ACS\n * SMS: AWS_SNS, TWILIO_SMS\n * WHATSAPP: WHATSAPP_CLOUD, WHATSAPP_TWILIO\n * SLACK: SLACK_BOT\n * TEAMS: TEAMS_BOT\n * DISCORD: DISCORD_BOT\n * PUSH: FCM\n * INAPP: INAPP_NATIVE\n * WEBHOOK: WEBHOOK_HTTP\n */\nexport type AdapterType =\n /** Amazon Simple Email Service */\n | 'AWS_SES'\n /** Amazon SNS */\n | 'AWS_SNS'\n /** Azure Communication Services Email */\n | 'AZURE_ACS'\n /** Discord Bot API */\n | 'DISCORD_BOT'\n /** Firebase Cloud Messaging (Android + iOS + Web) */\n | 'FCM'\n /** Native Burdenoff In-App Notifications */\n | 'INAPP_NATIVE'\n /** Slack Bot API */\n | 'SLACK_BOT'\n /** Microsoft Teams Bot */\n | 'TEAMS_BOT'\n /** Twilio SMS */\n | 'TWILIO_SMS'\n /** Generic HTTP Webhook */\n | 'WEBHOOK_HTTP'\n /** WhatsApp Cloud API (Meta) */\n | 'WHATSAPP_CLOUD'\n /** WhatsApp via Twilio */\n | 'WHATSAPP_TWILIO';\n\n/** Input for delivering the same notification to multiple recipients */\nexport type BulkChannelDeliveryInput = {\n /** Channel connection ID to use (optional - uses default if not provided) */\n connectionId?: string | number | null | undefined;\n /** Notification content (same for all recipients) */\n content: ChannelDeliveryContentInput;\n /** Optional reference to originating notification in notification-svc */\n notificationId?: string | number | null | undefined;\n /** Delivery options (priority, scheduling, retry policy) */\n options?: ChannelDeliveryOptionsInput | null | undefined;\n /** Organization ID for multi-tenancy */\n organizationId: string | number;\n /** Target delivery platform (EMAIL, SMS, PUSH, SLACK, TEAMS, etc.) */\n platform: ChannelPlatform;\n /** List of recipient identifiers (same format as single delivery) */\n recipients: Array<string>;\n};\n\n/** Authentication method for channel connection */\nexport type ChannelAuthType =\n /** API Key authentication */\n | 'API_KEY'\n /** Bot token (Discord, Slack) */\n | 'BOT_TOKEN'\n /** OAuth 2.0 flow (Slack, Teams, Discord) */\n | 'OAUTH2'\n /** SMTP/IMAP credentials (Email) */\n | 'SMTP_IMAP'\n /** Webhook-only (no authentication) */\n | 'WEBHOOK';\n\n/** Attachment input for channel delivery */\nexport type ChannelDeliveryAttachmentInput = {\n /** Content (Base64 encoded) or URL */\n content: string;\n /** Content type (MIME type) */\n contentType: string;\n /** Filename */\n filename: string;\n /** Whether content is a URL (true) or Base64 encoded data (false) */\n isUrl?: boolean | null | undefined;\n};\n\n/** Notification content for channel delivery */\nexport type ChannelDeliveryContentInput = {\n /** Attachments (used for email, MMS, etc.) */\n attachments?: Array<ChannelDeliveryAttachmentInput> | null | undefined;\n /** Structured data payload (passed to platform adapters) */\n data?: Record<string, unknown> | null | undefined;\n /** HTML content (used for email body) */\n html?: string | null | undefined;\n /** Subject line (used for email subject) */\n subject?: string | null | undefined;\n /** Template name (for platforms that support templates) */\n templateName?: string | null | undefined;\n /** Template variables (for template-based messages) */\n templateVariables?: Record<string, unknown> | null | undefined;\n /** Plain text content (used for SMS, push notification body, etc.) */\n text?: string | null | undefined;\n /** Title (used for push notification title, in-app notification title) */\n title?: string | null | undefined;\n};\n\n/** Input for delivering a notification to a single recipient */\nexport type ChannelDeliveryInput = {\n /** Channel connection ID to use (optional - uses default if not provided) */\n connectionId?: string | number | null | undefined;\n /** Notification content */\n content: ChannelDeliveryContentInput;\n /**\n * Internal Botlit user ID. When provided, the service automatically resolves\n * the user's DM conversation ID from their UserPlatformConnection record and\n * uses it as the delivery recipient. Requires the user to have connected via\n * OAuth (dmAllowed=true) with notificationsEnabled=true.\n *\n * Either `recipient` or `internalUserId` must be provided.\n */\n internalUserId?: string | number | null | undefined;\n /** Optional reference to originating notification in notification-svc */\n notificationId?: string | number | null | undefined;\n /** Delivery options (priority, scheduling, retry policy) */\n options?: ChannelDeliveryOptionsInput | null | undefined;\n /** Organization ID for multi-tenancy */\n organizationId: string | number;\n /** Target delivery platform (EMAIL, SMS, PUSH, SLACK, TEAMS, etc.) */\n platform: ChannelPlatform;\n /**\n * Recipient identifier based on platform:\n * - EMAIL: email address\n * - SMS: phone number (E.164 format)\n * - PUSH: device token\n * - SLACK/TEAMS/DISCORD: user ID or channel ID\n * - WHATSAPP: phone number\n * - WEBHOOK: webhook URL\n * - INAPP: user ID\n *\n * Either `recipient` or `internalUserId` must be provided.\n */\n recipient?: string | null | undefined;\n};\n\n/** Delivery options for channel delivery */\nexport type ChannelDeliveryOptionsInput = {\n /** Idempotency key (for deduplication) */\n idempotencyKey?: string | null | undefined;\n /** Custom metadata to include in delivery tracking */\n metadata?: Record<string, unknown> | null | undefined;\n /** Delivery priority level */\n priority?: DeliveryPriority | null | undefined;\n /** Custom retry policy override */\n retryPolicy?: ChannelRetryPolicyInput | null | undefined;\n /** Schedule for later delivery (ISO 8601 timestamp) */\n scheduledAt?: string | null | undefined;\n /** Time-to-live in seconds (after which delivery should not be attempted) */\n ttlSeconds?: number | null | undefined;\n};\n\nexport type ChannelExportFormat =\n /** Comma-separated values; first row is the header. */\n | 'CSV'\n /** JSON array; one row per element. */\n | 'JSON'\n /** JSON-Lines; one row per line (streaming-friendly). */\n | 'JSONL';\n\nexport type ChannelExportStatus =\n /** Job finished successfully; downloadUrl is populated. */\n | 'COMPLETED'\n /** Job accepted and queued. */\n | 'CREATED'\n /** Job failed; error contains the reason. */\n | 'FAILED'\n /** Job is materialising the export payload. */\n | 'RUNNING';\n\n/** Filter input for querying channels */\nexport type ChannelFilterInput = {\n /** Filter by adapter type */\n adapterType?: AdapterType | null | undefined;\n /** Filter by channel type (NOTIFICATION or COMMUNICATION) */\n channelType?: ChannelType | null | undefined;\n /** Filter by operation context */\n context?: ContextFilterInput | null | undefined;\n /** Filter by creator */\n createdBy?: string | number | null | undefined;\n /** Filter by organization ID */\n organizationId?: string | number | null | undefined;\n /** Filter by platform */\n platform?: ChannelPlatform | null | undefined;\n /** Search by name */\n search?: string | null | undefined;\n /** Filter by status */\n status?: ChannelStatus | null | undefined;\n};\n\n/** Input for updating organization-level channel settings */\nexport type ChannelOrgSettingsInput = {\n /** Default priority for new channels (0–4) */\n defaultPriority?: number | null | undefined;\n /** Enable audit logging */\n enableAuditLogging?: boolean | null | undefined;\n /** Enable webhook signature verification */\n enableWebhookVerification?: boolean | null | undefined;\n /** Health check interval in minutes */\n healthCheckIntervalMinutes?: number | null | undefined;\n /** Rate limit per hour */\n rateLimitPerHour?: number | null | undefined;\n /** Rate limit per minute */\n rateLimitPerMinute?: number | null | undefined;\n /** Session timeout in minutes */\n sessionTimeoutMinutes?: number | null | undefined;\n};\n\nexport type ChannelPaginationInput = {\n cursor?: string | null | undefined;\n limit?: number | null | undefined;\n offset?: number | null | undefined;\n};\n\n/** Supported channel platforms for bi-directional communication */\nexport type ChannelPlatform =\n /** Discord server integration */\n | 'DISCORD'\n /** Email via SMTP/IMAP/SendGrid/SES/ACS */\n | 'EMAIL'\n /** Push notifications via FCM/APNs */\n | 'PUSH'\n /** Slack workspace integration */\n | 'SLACK'\n /** SMS via Twilio/AWS SNS */\n | 'SMS'\n /** Microsoft Teams integration */\n | 'TEAMS'\n /** Custom webchat widget */\n | 'WEBCHAT'\n /** Generic HTTP webhooks */\n | 'WEBHOOK'\n /** WhatsApp Business API */\n | 'WHATSAPP';\n\n/** Retry policy for channel delivery */\nexport type ChannelRetryPolicyInput = {\n /** Backoff multiplier for exponential backoff */\n backoffMultiplier?: number | null | undefined;\n /** Initial delay in milliseconds before first retry */\n initialDelayMs?: number | null | undefined;\n /** Maximum delay in milliseconds between retries */\n maxDelayMs?: number | null | undefined;\n /** Maximum number of retry attempts */\n maxRetries?: number | null | undefined;\n};\n\n/** Channel connection status */\nexport type ChannelStatus =\n /** Channel is active and operational */\n | 'ACTIVE'\n /** Channel is archived (soft deleted) */\n | 'ARCHIVED'\n /** Channel has errors and needs attention */\n | 'ERROR'\n /** Channel is inactive (manual disable) */\n | 'INACTIVE'\n /** Channel is suspended (rate limit, violation) */\n | 'SUSPENDED';\n\n/**\n * Channel type discriminator — determines delivery behaviour and webhook handling.\n *\n * NOTIFICATION channels (EMAIL, SMS) are outbound-only:\n * - Support priority-based failover across adapters.\n * - No inbound webhook processing.\n * - No DM conversations.\n * - Recipient resolved via externalEmail (email) or externalUserId (phone).\n *\n * COMMUNICATION channels (SLACK, TEAMS, DISCORD, WHATSAPP, WEBCHAT, INAPP, WEBHOOK)\n * are bi-directional:\n * - Inbound webhooks processed and forwarded to conversations-svc.\n * - DM conversations tracked via dmConversationId.\n * - Recipient resolved via dmConversationId set during OAuth / pairing.\n */\nexport type ChannelType =\n /**\n * Bi-directional platform channels: SLACK, TEAMS, DISCORD,\n * WHATSAPP, WEBCHAT, INAPP, WEBHOOK.\n * Processes inbound webhooks and supports DM conversations.\n */\n | 'COMMUNICATION'\n /**\n * Outbound-only delivery channels: EMAIL, SMS.\n * Supports adapter-level failover (e.g. AWS SES → Azure ACS).\n */\n | 'NOTIFICATION';\n\n/**\n * Real-time health status of a channel's connection.\n * Monitored by the system based on API calls and health checks.\n *\n * - `status` = Admin-controlled (ACTIVE, INACTIVE, ARCHIVED)\n * - `connectionHealth` = System-monitored (HEALTHY, DEGRADED, UNHEALTHY)\n *\n * Example: Channel status = ACTIVE but connectionHealth = UNHEALTHY\n * means admin enabled the channel but the API is down.\n */\nexport type ConnectionHealth =\n /** Partial failures, high latency, or rate limiting */\n | 'DEGRADED'\n /** Connection working, all requests succeeding */\n | 'HEALTHY'\n /** Connection failing, most requests rejected */\n | 'UNHEALTHY'\n /** Never tested or no recent health check */\n | 'UNKNOWN';\n\n/**\n * Context filter input for querying records by context.\n * Supports exact match filtering on context fields.\n */\nexport type ContextFilterInput = {\n /** Filter by organization ID */\n organizationId?: string | number | null | undefined;\n /** Filter by project ID */\n projectId?: string | number | null | undefined;\n /** Filter by user ID */\n userId?: string | number | null | undefined;\n /** Filter by workspace ID */\n workspaceId?: string | number | null | undefined;\n};\n\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 /** Additional custom context as JSON */\n custom?: Record<string, unknown> | null | undefined;\n /** Organization ID for organization-level scoping */\n organizationId?: string | number | 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\n/** Input for creating a new channel */\nexport type CreateChannelInput = {\n /** Specific adapter type (SENDGRID, AWS_SES, TWILIO, etc.) */\n adapterType?: AdapterType | null | undefined;\n /**\n * Channel type: NOTIFICATION (EMAIL/SMS) or COMMUNICATION (SLACK/TEAMS/etc).\n * If omitted, defaults based on platform:\n * EMAIL, SMS → NOTIFICATION\n * All others → COMMUNICATION\n */\n channelType?: ChannelType | null | undefined;\n /** Operation context for scoping */\n context?: ContextInput | null | undefined;\n /** Optional description */\n description?: string | null | undefined;\n /** Channel name */\n name: string;\n /** Organization ID (opaque reference) */\n organizationId: string | number;\n /** Channel platform (Slack, Teams, Discord, etc.) */\n platform: ChannelPlatform;\n /** Platform-specific configuration (webhook URLs, etc.) */\n platformConfig?: Record<string, unknown> | null | undefined;\n /**\n * Priority for fallback ordering (lower = higher priority).\n * Default is 100. Use 1 for highest priority.\n * All ACTIVE channels are included in the failover chain.\n */\n priority?: number | null | undefined;\n /** Channel status (default: ACTIVE) */\n status?: ChannelStatus | null | undefined;\n};\n\n/** Input for creating a channel connection (OAuth flow) */\nexport type CreateConnectionInput = {\n /** API key or bot token (for direct auth) */\n apiKey?: string | null | undefined;\n /** OAuth authorization code (for OAuth flows) */\n authCode?: string | null | undefined;\n /** Authentication type */\n authType: ChannelAuthType;\n /** Channel ID to connect */\n channelId: string | number;\n /** Operation context for scoping */\n context?: ContextInput | null | undefined;\n /** Platform-specific credentials (email: SMTP/IMAP config) */\n credentials?: Record<string, unknown> | null | undefined;\n /** Redirect URI (for OAuth) */\n redirectUri?: string | null | undefined;\n};\n\nexport type CreateNotificationInput = {\n actions?: Array<NotificationActionInput> | null | undefined;\n appName?: string | null | undefined;\n body: string;\n channel: NotificationChannel;\n data?: Record<string, unknown> | null | undefined;\n expiresAt?: string | null | undefined;\n htmlBody?: string | null | undefined;\n media?: Array<NotificationMediaInput> | null | undefined;\n metadata?: Record<string, unknown> | null | undefined;\n priority?: NotificationPriority | null | undefined;\n recipient: RecipientInput;\n redirectUrl?: string | null | undefined;\n subject?: string | null | undefined;\n topicId?: string | number | null | undefined;\n trackClicks?: boolean | null | undefined;\n trackOpens?: boolean | null | undefined;\n type?: NotificationType | null | undefined;\n};\n\n/** Delivery priority levels */\nexport type DeliveryPriority =\n /** High priority - expedited delivery */\n | 'HIGH'\n /** Low priority - can be delayed */\n | 'LOW'\n /** Normal priority - standard delivery */\n | 'NORMAL'\n /** Urgent priority - immediate delivery */\n | 'URGENT';\n\n/** Message delivery attempt status */\nexport type DeliveryStatus =\n /** Message bounced */\n | 'BOUNCED'\n /** Link clicked by recipient */\n | 'CLICKED'\n /** Delivered to recipient */\n | 'DELIVERED'\n /** Delivery failed */\n | 'FAILED'\n /** Message opened by recipient */\n | 'OPENED'\n /** Delivery pending */\n | 'PENDING'\n /** Queued for delivery */\n | 'QUEUED'\n /** Rate limited by platform */\n | 'RATE_LIMITED'\n /** Message rejected by recipient */\n | 'REJECTED'\n /** Retrying after failure */\n | 'RETRYING'\n /** Currently sending */\n | 'SENDING'\n /** Successfully sent */\n | 'SENT';\n\n/** Filter for channel user (UserPlatformConnection) exports */\nexport type ExportChannelUsersFilter = {\n channelId?: string | number | null | undefined;\n createdAfter?: string | null | undefined;\n createdBefore?: string | null | undefined;\n notificationsEnabled?: boolean | null | undefined;\n organizationId: string | number;\n platform?: ChannelPlatform | null | undefined;\n};\n\n/** Filter for channel list exports */\nexport type ExportChannelsFilter = {\n createdAfter?: string | null | undefined;\n createdBefore?: string | null | undefined;\n organizationId: string | number;\n platform?: ChannelPlatform | null | undefined;\n status?: ChannelStatus | null | undefined;\n};\n\n/** Filter for delivery attempt exports */\nexport type ExportDeliveryAttemptsFilter = {\n channelId?: string | number | null | undefined;\n createdAfter?: string | null | undefined;\n createdBefore?: string | null | undefined;\n organizationId?: string | number | null | undefined;\n status?: DeliveryStatus | null | undefined;\n};\n\n/** Filter for webhook event exports */\nexport type ExportWebhookEventsFilter = {\n channelId?: string | number | null | undefined;\n createdAfter?: string | null | undefined;\n createdBefore?: string | null | undefined;\n organizationId?: string | number | null | undefined;\n processingStatus?: WebhookProcessingStatus | null | undefined;\n};\n\nexport type NotificationActionInput = {\n actionType?: string | null | undefined;\n id?: string | null | undefined;\n label: string;\n metadata?: Record<string, unknown> | null | undefined;\n style?: string | null | undefined;\n url: string;\n};\n\nexport type NotificationChannel =\n | 'DISCORD'\n | 'EMAIL'\n | 'IN_APP'\n | 'PUSH'\n | 'SLACK'\n | 'SMS'\n | 'TEAMS'\n | 'TELEGRAM'\n | 'WEBHOOK'\n | 'WHATSAPP';\n\nexport type NotificationDeliveryStatus =\n | 'BOUNCED'\n | 'CLICKED'\n | 'COMPLAINED'\n | 'DELIVERED'\n | 'DELIVERING'\n | 'FAILED'\n | 'OPENED'\n | 'PENDING'\n | 'PROCESSING'\n | 'QUEUED'\n | 'RETRYING'\n | 'SENT'\n | 'UNSUBSCRIBED';\n\nexport type NotificationMediaInput = {\n contentType?: string | null | undefined;\n kind?: string | null | undefined;\n label?: string | null | undefined;\n thumbnailUrl?: string | null | undefined;\n url: string;\n};\n\nexport type NotificationPriority =\n | 'HIGH'\n | 'LOW'\n | 'MEDIUM'\n | 'URGENT';\n\nexport type NotificationStatus =\n | 'CANCELLED'\n | 'DELIVERED'\n | 'DRAFT'\n | 'EXPIRED'\n | 'FAILED'\n | 'PENDING'\n | 'READ'\n | 'SCHEDULED'\n | 'SENT'\n | 'TRIGGERED';\n\nexport type NotificationType =\n | 'ALERT'\n | 'MARKETING'\n | 'SYSTEM'\n | 'TRANSACTIONAL';\n\n/** Status of a Bundle-2 pairing code flow (WhatsApp / Discord). */\nexport type PairingStatus =\n /** User approved the pairing code in the dashboard — dmAllowed set to true. */\n | 'APPROVED'\n /** Pairing code expired before the user approved it — a new code must be requested. */\n | 'EXPIRED'\n /** Pairing code generated and sent to user; waiting for dashboard approval. */\n | 'PENDING';\n\nexport type RecipientInput = {\n email?: string | null | undefined;\n locale?: string | null | undefined;\n name?: string | null | undefined;\n phoneNumber?: string | null | undefined;\n pushToken?: string | null | undefined;\n slackUserId?: string | null | undefined;\n teamsUserId?: string | null | undefined;\n timezone?: string | null | undefined;\n userId?: string | number | null | undefined;\n webhookUrl?: string | null | undefined;\n whatsappNumber?: string | null | undefined;\n};\n\nexport type TriggerNotificationInput = {\n /** Specific channel instance ID from channel service (takes precedence) */\n channelId?: string | number | null | undefined;\n /** Channels to deliver to (deprecated - use channelId or platform instead) */\n channels?: Array<NotificationChannel> | null | undefined;\n /** Also deliver as in-app notification alongside the primary platform */\n includeInApp?: boolean | null | undefined;\n /** Or create and trigger a new notification */\n notification?: CreateNotificationInput | null | undefined;\n /** ID of an existing notification to trigger */\n notificationId?: string | number | null | undefined;\n /** Platform type for auto-failover (EMAIL, SMS, etc.) */\n platform?: NotificationChannel | null | undefined;\n /** User IDs for in-app notifications (required when includeInApp is true) */\n userIds?: Array<string | number> | null | undefined;\n};\n\nexport type TriggerStatus =\n | 'CANCELLED'\n | 'FAILED'\n | 'PENDING'\n | 'TRIGGERED';\n\n/** Input for updating an existing channel */\nexport type UpdateChannelInput = {\n /** Specific adapter type */\n adapterType?: AdapterType | null | undefined;\n /** Operation context for scoping */\n context?: ContextInput | null | undefined;\n /** Description */\n description?: string | null | undefined;\n /** Channel name */\n name?: string | null | undefined;\n /** Platform configuration */\n platformConfig?: Record<string, unknown> | null | undefined;\n /** Priority for fallback ordering (lower = higher priority) */\n priority?: number | null | undefined;\n /** Channel status */\n status?: ChannelStatus | null | undefined;\n};\n\n/** Input for updating a connection (credentials, metadata, etc.) */\nexport type UpdateConnectionInput = {\n /** Operation context for scoping */\n context?: ContextInput | null | undefined;\n /**\n * Platform-specific credentials (API keys, tokens, etc.)\n * Will be encrypted before storage.\n */\n credentials?: Record<string, unknown> | null | undefined;\n /** Connection status */\n isActive?: boolean | null | undefined;\n /** Platform-specific metadata (non-sensitive) */\n platformMetadata?: Record<string, unknown> | null | undefined;\n};\n\n/** Filter input for querying user platform connections */\nexport type UserPlatformConnectionFilterInput = {\n /** Filter by operation context */\n context?: ContextFilterInput | null | undefined;\n /** Only return connections where dmAllowed = true */\n dmAllowed?: boolean | null | undefined;\n /** Filter by active status */\n isActive?: boolean | null | undefined;\n /** Only return connections where notificationsEnabled = true */\n notificationsEnabled?: boolean | null | undefined;\n /** Filter by platform */\n platform?: ChannelPlatform | null | undefined;\n /** Filter by presence status */\n presenceStatus?: UserPresenceStatus | null | undefined;\n /** Search by display name, username, or email */\n search?: string | null | undefined;\n /** Filter by connection source */\n source?: UserPlatformSource | null | undefined;\n};\n\n/**\n * How a UserPlatformConnection was established.\n * Controls whether dmAllowed can be set to true.\n */\nexport type UserPlatformSource =\n /** Bulk-imported user record (e.g. from CSV or directory sync). */\n | 'IMPORT'\n /** Admin manually added the user (back-office operation). */\n | 'MANUAL'\n /**\n * Connected via dashboard OAuth flow (Slack, Teams, Google Chat).\n * Grants dmAllowed = true immediately after token exchange.\n */\n | 'OAUTH'\n /**\n * Connected via pairing code (WhatsApp, Discord).\n * Grants dmAllowed = true once the user approves the pairing code in the dashboard.\n */\n | 'PAIRED'\n /**\n * Passively observed from an inbound webhook event.\n * Never grants dmAllowed = true automatically.\n */\n | 'SEEN';\n\n/**\n * User presence status on the communication platform.\n * Synced from platform webhooks or periodic polling.\n */\nexport type UserPresenceStatus =\n /** User is away or idle */\n | 'AWAY'\n /** User is in Do Not Disturb mode */\n | 'DND'\n /** User is offline */\n | 'OFFLINE'\n /** User is currently online and active */\n | 'ONLINE';\n\n/** Webhook event processing status */\nexport type WebhookProcessingStatus =\n /** Successfully processed */\n | 'COMPLETED'\n /** Processing failed */\n | 'FAILED'\n /** Webhook ignored (duplicate, invalid signature) */\n | 'IGNORED'\n /** Webhook received, pending processing */\n | 'PENDING'\n /** Currently processing */\n | 'PROCESSING';\n\nexport type ChannelFieldsFragment = { id: string, name: string, description: string | null, platform: Types.ChannelPlatform, adapterType: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt: string | null, healthCheckError: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> };\n\nexport type ConnectionSummaryFieldsFragment = { id: string, authType: Types.ChannelAuthType, isActive: boolean, isHealthy: boolean, needsTokenRefresh: boolean, lastTestedAt: string | null, testStatus: string | null, tagAssignments: Array<{ id: string, tagId: string }> };\n\nexport type ConnectionFieldsFragment = { id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata: Record<string, unknown> | null, tokenExpiresAt: string | null, lastRefreshedAt: string | null, lastTestedAt: string | null, testStatus: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> };\n\nexport type DeliveryAttemptFieldsFragment = { id: string, channelId: string, content: string, format: string | null, platformOptions: Record<string, unknown> | null, platformResponse: Record<string, unknown> | null, status: Types.DeliveryStatus, retryCount: number, nextRetryAt: string | null, sentAt: string | null, errorMessage: string | null, expiresAt: string, createdAt: string, updatedAt: string };\n\nexport type UserPlatformConnectionFieldsFragment = { id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername: string | null, externalDisplayName: string | null, externalEmail: string | null, externalAvatarUrl: string | null, externalMetadata: Record<string, unknown> | null, internalUserId: string | null, organizationId: string, source: Types.UserPlatformSource, connectedAt: string | null, dmAllowed: boolean, dmConversationId: string | null, notificationsEnabled: boolean, userTokenExpiresAt: string | null, userTokenScope: string | null, pairingCode: string | null, pairingCodeExpiresAt: string | null, pairingStatus: Types.PairingStatus | null, pairingApprovedAt: string | null, presenceStatus: Types.UserPresenceStatus, customStatus: string | null, lastActiveAt: string | null, isActive: boolean, roles: Array<string>, permissions: Array<string>, lastSyncedAt: string, deletedAt: string | null, createdAt: string, updatedAt: string, isTokenExpired: boolean, canReceiveDm: boolean };\n\nexport type WebhookEventFieldsFragment = { id: string, channelId: string, eventType: string, status: Types.WebhookProcessingStatus, payload: Record<string, unknown>, signature: string | null, isDuplicate: boolean, originalEventId: string | null, errorMessage: string | null, processingResult: Record<string, unknown> | null, processedAt: string | null, expiresAt: string, createdAt: string, updatedAt: string, context: { tenantId: string | null, userId: string | null, appId: string | null, workspaceId: string | null, projectId: string | null, organizationId: string | null, custom: Record<string, unknown> | null } | null };\n\nexport type ActivateChannelMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type ActivateChannelMutation = { activateChannel: { id: string, status: Types.ChannelStatus } };\n\nexport type CreateChannelMutationVariables = Exact<{\n input: Types.CreateChannelInput;\n}>;\n\n\nexport type CreateChannelMutation = { createChannel: { id: string, name: string, description: string | null, platform: Types.ChannelPlatform, adapterType: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt: string | null, healthCheckError: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } };\n\nexport type CreateConnectionMutationVariables = Exact<{\n input: Types.CreateConnectionInput;\n}>;\n\n\nexport type CreateConnectionMutation = { createConnection: { id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata: Record<string, unknown> | null, tokenExpiresAt: string | null, lastRefreshedAt: string | null, lastTestedAt: string | null, testStatus: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } };\n\nexport type DeactivateChannelMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type DeactivateChannelMutation = { deactivateChannel: { id: string, status: Types.ChannelStatus } };\n\nexport type DeleteChannelMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type DeleteChannelMutation = { deleteChannel: boolean };\n\nexport type DeleteConnectionMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type DeleteConnectionMutation = { deleteConnection: boolean };\n\nexport type DeliverBulkNotificationMutationVariables = Exact<{\n input: Types.BulkChannelDeliveryInput;\n}>;\n\n\nexport type DeliverBulkNotificationMutation = { deliverBulkNotification: { totalCount: number, successCount: number, failedCount: number, results: Array<{ success: boolean, messageId: string | null, externalId: string | null, status: Types.DeliveryStatus, platform: Types.ChannelPlatform, sentAt: string | null, metadata: Record<string, unknown> | null, error: { code: string, message: string, retryable: boolean } | null }> } };\n\nexport type DeliverNotificationMutationVariables = Exact<{\n input: Types.ChannelDeliveryInput;\n}>;\n\n\nexport type DeliverNotificationMutation = { deliverNotification: { success: boolean, messageId: string | null, externalId: string | null, status: Types.DeliveryStatus, platform: Types.ChannelPlatform, sentAt: string | null, metadata: Record<string, unknown> | null, error: { code: string, message: string, retryable: boolean, details: Record<string, unknown> | null } | null } };\n\nexport type ExportChannelUsersMutationVariables = Exact<{\n filter: Types.ExportChannelUsersFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportChannelUsersMutation = { exportChannelUsers: { id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount: number | null, downloadUrl: string | null, error: string | null } };\n\nexport type ExportChannelsMutationVariables = Exact<{\n filter: Types.ExportChannelsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportChannelsMutation = { exportChannels: { id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount: number | null, downloadUrl: string | null, error: string | null } };\n\nexport type ExportDeliveryAttemptsMutationVariables = Exact<{\n filter: Types.ExportDeliveryAttemptsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportDeliveryAttemptsMutation = { exportDeliveryAttempts: { id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount: number | null, downloadUrl: string | null, error: string | null } };\n\nexport type ExportWebhookEventsMutationVariables = Exact<{\n filter: Types.ExportWebhookEventsFilter;\n format: Types.ChannelExportFormat;\n}>;\n\n\nexport type ExportWebhookEventsMutation = { exportWebhookEvents: { id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount: number | null, downloadUrl: string | null, error: string | null } };\n\nexport type RetryDeliveryMutationVariables = Exact<{\n attemptId: string | number;\n}>;\n\n\nexport type RetryDeliveryMutation = { retryDelivery: { success: boolean, messageId: string | null, attemptId: string, error: string | null, willRetry: boolean, nextRetryAt: string | null } };\n\nexport type RunChannelHealthCheckMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type RunChannelHealthCheckMutation = { runChannelHealthCheck: { channelId: string, isHealthy: boolean, status: string, responseTimeMs: number | null, lastCheckAt: string, error: string | null } };\n\nexport type TestConnectionHealthMutationVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type TestConnectionHealthMutation = { testConnectionHealth: { success: boolean, message: string, responseTimeMs: number | null, platformInfo: Record<string, unknown> | null, error: string | null } };\n\nexport type UpdateChannelMutationVariables = Exact<{\n id: string | number;\n input: Types.UpdateChannelInput;\n}>;\n\n\nexport type UpdateChannelMutation = { updateChannel: { id: string, name: string, description: string | null, platform: Types.ChannelPlatform, adapterType: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt: string | null, healthCheckError: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } };\n\nexport type UpdateChannelOrgSettingsMutationVariables = Exact<{\n organizationId: string | number;\n input: Types.ChannelOrgSettingsInput;\n}>;\n\n\nexport type UpdateChannelOrgSettingsMutation = { updateChannelOrgSettings: { organizationId: string, defaultPriority: number, rateLimitPerMinute: number, rateLimitPerHour: number, healthCheckIntervalMinutes: number, enableAuditLogging: boolean, enableWebhookVerification: boolean, sessionTimeoutMinutes: number, updatedAt: string } };\n\nexport type UpdateConnectionMutationVariables = Exact<{\n id: string | number;\n input: Types.UpdateConnectionInput;\n}>;\n\n\nexport type UpdateConnectionMutation = { updateConnection: { id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata: Record<string, unknown> | null, tokenExpiresAt: string | null, lastRefreshedAt: string | null, lastTestedAt: string | null, testStatus: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } };\n\nexport type GetChannelQueryVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type GetChannelQuery = { getChannel: { id: string, name: string, description: string | null, platform: Types.ChannelPlatform, adapterType: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt: string | null, healthCheckError: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, connection: { id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata: Record<string, unknown> | null, tokenExpiresAt: string | null, lastRefreshedAt: string | null, lastTestedAt: string | null, testStatus: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } | null, tagAssignments: Array<{ id: string, tagId: string }> } | null };\n\nexport type GetChannelExportJobQueryVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type GetChannelExportJobQuery = { channelExportJob: { id: string, status: Types.ChannelExportStatus, entityType: string, format: Types.ChannelExportFormat, rowCount: number | null, downloadUrl: string | null, error: string | null } | null };\n\nexport type GetChannelOrgSettingsQueryVariables = Exact<{\n organizationId: string | number;\n}>;\n\n\nexport type GetChannelOrgSettingsQuery = { getChannelOrgSettings: { organizationId: string, defaultPriority: number, rateLimitPerMinute: number, rateLimitPerHour: number, healthCheckIntervalMinutes: number, enableAuditLogging: boolean, enableWebhookVerification: boolean, sessionTimeoutMinutes: number, updatedAt: string } };\n\nexport type GetChannelsQueryVariables = Exact<{\n filter?: Types.ChannelFilterInput | null | undefined;\n pagination?: Types.ChannelPaginationInput | null | undefined;\n}>;\n\n\nexport type GetChannelsQuery = { getChannels: { total: number, hasMore: boolean, items: Array<{ id: string, name: string, description: string | null, platform: Types.ChannelPlatform, adapterType: Types.AdapterType | null, status: Types.ChannelStatus, priority: number, connectionHealth: Types.ConnectionHealth, lastHealthCheckAt: string | null, healthCheckError: string | null, consecutiveFailures: number, organizationId: string, createdBy: string, onBehalfOf: string, platformConfig: Record<string, unknown> | null, isConnected: boolean, messageCount24h: number, createdAt: string, updatedAt: string, connection: { id: string, authType: Types.ChannelAuthType, isActive: boolean, isHealthy: boolean, needsTokenRefresh: boolean, lastTestedAt: string | null, testStatus: string | null, tagAssignments: Array<{ id: string, tagId: string }> } | null, tagAssignments: Array<{ id: string, tagId: string }> }> } };\n\nexport type GetConnectionQueryVariables = Exact<{\n id: string | number;\n}>;\n\n\nexport type GetConnectionQuery = { getConnection: { id: string, channelId: string, authType: Types.ChannelAuthType, isActive: boolean, platformMetadata: Record<string, unknown> | null, tokenExpiresAt: string | null, lastRefreshedAt: string | null, lastTestedAt: string | null, testStatus: string | null, needsTokenRefresh: boolean, isHealthy: boolean, daysUntilExpiry: number | null, createdAt: string, updatedAt: string, tagAssignments: Array<{ id: string, tagId: string }> } | null };\n\nexport type GetDeliveryAttemptsQueryVariables = Exact<{\n channelId: string | number;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n}>;\n\n\nexport type GetDeliveryAttemptsQuery = { getChannelDeliveryAttempts: { nextCursor: string | null, hasMore: boolean, total: number, items: Array<{ id: string, channelId: string, content: string, format: string | null, platformOptions: Record<string, unknown> | null, platformResponse: Record<string, unknown> | null, status: Types.DeliveryStatus, retryCount: number, nextRetryAt: string | null, sentAt: string | null, errorMessage: string | null, expiresAt: string, createdAt: string, updatedAt: string }> } };\n\nexport type GetDeliveryStatsQueryVariables = Exact<{\n channelId: string | number;\n startDate?: string | null | undefined;\n endDate?: string | null | undefined;\n}>;\n\n\nexport type GetDeliveryStatsQuery = { getDeliveryStats: { channelId: string, totalAttempts: number, successfulDeliveries: number, failedDeliveries: number, pendingDeliveries: number, avgDeliveryTimeMs: number, successRate: number, startDate: string, endDate: string } };\n\nexport type GetUserPlatformConnectionsQueryVariables = Exact<{\n channelId: string | number;\n filter?: Types.UserPlatformConnectionFilterInput | null | undefined;\n pagination?: Types.ChannelPaginationInput | null | undefined;\n cursor?: string | null | undefined;\n}>;\n\n\nexport type GetUserPlatformConnectionsQuery = { listUserPlatformConnectionsByChannel: { nextCursor: string | null, hasMore: boolean, total: number, items: Array<{ id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername: string | null, externalDisplayName: string | null, externalEmail: string | null, externalAvatarUrl: string | null, externalMetadata: Record<string, unknown> | null, internalUserId: string | null, organizationId: string, source: Types.UserPlatformSource, connectedAt: string | null, dmAllowed: boolean, dmConversationId: string | null, notificationsEnabled: boolean, userTokenExpiresAt: string | null, userTokenScope: string | null, pairingCode: string | null, pairingCodeExpiresAt: string | null, pairingStatus: Types.PairingStatus | null, pairingApprovedAt: string | null, presenceStatus: Types.UserPresenceStatus, customStatus: string | null, lastActiveAt: string | null, isActive: boolean, roles: Array<string>, permissions: Array<string>, lastSyncedAt: string, deletedAt: string | null, createdAt: string, updatedAt: string, isTokenExpired: boolean, canReceiveDm: boolean }> } };\n\nexport type GetWebhookEventsQueryVariables = Exact<{\n channelId: string | number;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n}>;\n\n\nexport type GetWebhookEventsQuery = { getChannelWebhookEvents: { nextCursor: string | null, hasMore: boolean, total: number, items: Array<{ id: string, channelId: string, eventType: string, status: Types.WebhookProcessingStatus, payload: Record<string, unknown>, signature: string | null, isDuplicate: boolean, originalEventId: string | null, errorMessage: string | null, processingResult: Record<string, unknown> | null, processedAt: string | null, expiresAt: string, createdAt: string, updatedAt: string, context: { tenantId: string | null, userId: string | null, appId: string | null, workspaceId: string | null, projectId: string | null, organizationId: string | null, custom: Record<string, unknown> | null } | null }> } };\n\nexport type SendNotificationMutationVariables = Exact<{\n input: Types.TriggerNotificationInput;\n}>;\n\n\nexport type SendNotificationMutation = { triggerNotification: { id: string, status: Types.NotificationStatus, deliveryStatus: Types.NotificationDeliveryStatus | null, triggerStatus: Types.TriggerStatus, sentAt: string | null, title: string, message: string, errorMessage: string | null, errorCode: string | null } };\n\nexport const ChannelFieldsFragmentDoc = gql`\n fragment ChannelFields on Channel {\n id\n name\n description\n platform\n adapterType\n status\n priority\n connectionHealth\n lastHealthCheckAt\n healthCheckError\n consecutiveFailures\n organizationId\n createdBy\n onBehalfOf\n platformConfig\n isConnected\n messageCount24h\n createdAt\n updatedAt\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const ConnectionSummaryFieldsFragmentDoc = gql`\n fragment ConnectionSummaryFields on ChannelConnection {\n id\n authType\n isActive\n isHealthy\n needsTokenRefresh\n lastTestedAt\n testStatus\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const ConnectionFieldsFragmentDoc = gql`\n fragment ConnectionFields on ChannelConnection {\n id\n channelId\n authType\n isActive\n platformMetadata\n tokenExpiresAt\n lastRefreshedAt\n lastTestedAt\n testStatus\n needsTokenRefresh\n isHealthy\n daysUntilExpiry\n createdAt\n updatedAt\n tagAssignments {\n id\n tagId\n }\n}\n `;\nexport const DeliveryAttemptFieldsFragmentDoc = gql`\n fragment DeliveryAttemptFields on MessageDeliveryAttempt {\n id\n channelId\n content\n format\n platformOptions\n platformResponse\n status\n retryCount\n nextRetryAt\n sentAt\n errorMessage\n expiresAt\n createdAt\n updatedAt\n}\n `;\nexport const UserPlatformConnectionFieldsFragmentDoc = gql`\n fragment UserPlatformConnectionFields on UserPlatformConnection {\n id\n channelId\n platform\n externalUserId\n externalUsername\n externalDisplayName\n externalEmail\n externalAvatarUrl\n externalMetadata\n internalUserId\n organizationId\n source\n connectedAt\n dmAllowed\n dmConversationId\n notificationsEnabled\n userTokenExpiresAt\n userTokenScope\n pairingCode\n pairingCodeExpiresAt\n pairingStatus\n pairingApprovedAt\n presenceStatus\n customStatus\n lastActiveAt\n isActive\n roles\n permissions\n lastSyncedAt\n deletedAt\n createdAt\n updatedAt\n isTokenExpired\n canReceiveDm\n}\n `;\nexport const WebhookEventFieldsFragmentDoc = gql`\n fragment WebhookEventFields on WebhookEvent {\n id\n channelId\n eventType\n status\n payload\n signature\n isDuplicate\n originalEventId\n errorMessage\n processingResult\n processedAt\n context {\n tenantId\n userId\n appId\n workspaceId\n projectId\n organizationId\n custom\n }\n expiresAt\n createdAt\n updatedAt\n}\n `;\nexport const ActivateChannelDocument = gql`\n mutation ActivateChannel($id: ID!) {\n activateChannel(id: $id) {\n id\n status\n }\n}\n `;\nexport type ActivateChannelMutationFn = Apollo.MutationFunction<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>;\n\n/**\n * __useActivateChannelMutation__\n *\n * To run a mutation, you first call `useActivateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useActivateChannelMutation` 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 [activateChannelMutation, { data, loading, error }] = useActivateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useActivateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>(ActivateChannelDocument, options);\n }\nexport type ActivateChannelMutationHookResult = ReturnType<typeof useActivateChannelMutation>;\nexport type ActivateChannelMutationResult = Apollo.MutationResult<Types.ActivateChannelMutation>;\nexport type ActivateChannelMutationOptions = Apollo.BaseMutationOptions<Types.ActivateChannelMutation, Types.ActivateChannelMutationVariables>;\nexport const CreateChannelDocument = gql`\n mutation CreateChannel($input: CreateChannelInput!) {\n createChannel(input: $input) {\n ...ChannelFields\n }\n}\n ${ChannelFieldsFragmentDoc}`;\nexport type CreateChannelMutationFn = Apollo.MutationFunction<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>;\n\n/**\n * __useCreateChannelMutation__\n *\n * To run a mutation, you first call `useCreateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateChannelMutation` 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 [createChannelMutation, { data, loading, error }] = useCreateChannelMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>(CreateChannelDocument, options);\n }\nexport type CreateChannelMutationHookResult = ReturnType<typeof useCreateChannelMutation>;\nexport type CreateChannelMutationResult = Apollo.MutationResult<Types.CreateChannelMutation>;\nexport type CreateChannelMutationOptions = Apollo.BaseMutationOptions<Types.CreateChannelMutation, Types.CreateChannelMutationVariables>;\nexport const CreateConnectionDocument = gql`\n mutation CreateConnection($input: CreateConnectionInput!) {\n createConnection(input: $input) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\nexport type CreateConnectionMutationFn = Apollo.MutationFunction<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>;\n\n/**\n * __useCreateConnectionMutation__\n *\n * To run a mutation, you first call `useCreateConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateConnectionMutation` 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 [createConnectionMutation, { data, loading, error }] = useCreateConnectionMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>(CreateConnectionDocument, options);\n }\nexport type CreateConnectionMutationHookResult = ReturnType<typeof useCreateConnectionMutation>;\nexport type CreateConnectionMutationResult = Apollo.MutationResult<Types.CreateConnectionMutation>;\nexport type CreateConnectionMutationOptions = Apollo.BaseMutationOptions<Types.CreateConnectionMutation, Types.CreateConnectionMutationVariables>;\nexport const DeactivateChannelDocument = gql`\n mutation DeactivateChannel($id: ID!) {\n deactivateChannel(id: $id) {\n id\n status\n }\n}\n `;\nexport type DeactivateChannelMutationFn = Apollo.MutationFunction<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>;\n\n/**\n * __useDeactivateChannelMutation__\n *\n * To run a mutation, you first call `useDeactivateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeactivateChannelMutation` 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 [deactivateChannelMutation, { data, loading, error }] = useDeactivateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeactivateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>(DeactivateChannelDocument, options);\n }\nexport type DeactivateChannelMutationHookResult = ReturnType<typeof useDeactivateChannelMutation>;\nexport type DeactivateChannelMutationResult = Apollo.MutationResult<Types.DeactivateChannelMutation>;\nexport type DeactivateChannelMutationOptions = Apollo.BaseMutationOptions<Types.DeactivateChannelMutation, Types.DeactivateChannelMutationVariables>;\nexport const DeleteChannelDocument = gql`\n mutation DeleteChannel($id: ID!) {\n deleteChannel(id: $id)\n}\n `;\nexport type DeleteChannelMutationFn = Apollo.MutationFunction<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>;\n\n/**\n * __useDeleteChannelMutation__\n *\n * To run a mutation, you first call `useDeleteChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteChannelMutation` 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 [deleteChannelMutation, { data, loading, error }] = useDeleteChannelMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>(DeleteChannelDocument, options);\n }\nexport type DeleteChannelMutationHookResult = ReturnType<typeof useDeleteChannelMutation>;\nexport type DeleteChannelMutationResult = Apollo.MutationResult<Types.DeleteChannelMutation>;\nexport type DeleteChannelMutationOptions = Apollo.BaseMutationOptions<Types.DeleteChannelMutation, Types.DeleteChannelMutationVariables>;\nexport const DeleteConnectionDocument = gql`\n mutation DeleteConnection($id: ID!) {\n deleteConnection(id: $id)\n}\n `;\nexport type DeleteConnectionMutationFn = Apollo.MutationFunction<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>;\n\n/**\n * __useDeleteConnectionMutation__\n *\n * To run a mutation, you first call `useDeleteConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteConnectionMutation` 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 [deleteConnectionMutation, { data, loading, error }] = useDeleteConnectionMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>(DeleteConnectionDocument, options);\n }\nexport type DeleteConnectionMutationHookResult = ReturnType<typeof useDeleteConnectionMutation>;\nexport type DeleteConnectionMutationResult = Apollo.MutationResult<Types.DeleteConnectionMutation>;\nexport type DeleteConnectionMutationOptions = Apollo.BaseMutationOptions<Types.DeleteConnectionMutation, Types.DeleteConnectionMutationVariables>;\nexport const DeliverBulkNotificationDocument = gql`\n mutation DeliverBulkNotification($input: BulkChannelDeliveryInput!) {\n deliverBulkNotification(input: $input) {\n totalCount\n successCount\n failedCount\n results {\n success\n messageId\n externalId\n status\n platform\n error {\n code\n message\n retryable\n }\n sentAt\n metadata\n }\n }\n}\n `;\nexport type DeliverBulkNotificationMutationFn = Apollo.MutationFunction<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>;\n\n/**\n * __useDeliverBulkNotificationMutation__\n *\n * To run a mutation, you first call `useDeliverBulkNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeliverBulkNotificationMutation` 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 [deliverBulkNotificationMutation, { data, loading, error }] = useDeliverBulkNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useDeliverBulkNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>(DeliverBulkNotificationDocument, options);\n }\nexport type DeliverBulkNotificationMutationHookResult = ReturnType<typeof useDeliverBulkNotificationMutation>;\nexport type DeliverBulkNotificationMutationResult = Apollo.MutationResult<Types.DeliverBulkNotificationMutation>;\nexport type DeliverBulkNotificationMutationOptions = Apollo.BaseMutationOptions<Types.DeliverBulkNotificationMutation, Types.DeliverBulkNotificationMutationVariables>;\nexport const DeliverNotificationDocument = gql`\n mutation DeliverNotification($input: ChannelDeliveryInput!) {\n deliverNotification(input: $input) {\n success\n messageId\n externalId\n status\n platform\n error {\n code\n message\n retryable\n details\n }\n sentAt\n metadata\n }\n}\n `;\nexport type DeliverNotificationMutationFn = Apollo.MutationFunction<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>;\n\n/**\n * __useDeliverNotificationMutation__\n *\n * To run a mutation, you first call `useDeliverNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeliverNotificationMutation` 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 [deliverNotificationMutation, { data, loading, error }] = useDeliverNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useDeliverNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>(DeliverNotificationDocument, options);\n }\nexport type DeliverNotificationMutationHookResult = ReturnType<typeof useDeliverNotificationMutation>;\nexport type DeliverNotificationMutationResult = Apollo.MutationResult<Types.DeliverNotificationMutation>;\nexport type DeliverNotificationMutationOptions = Apollo.BaseMutationOptions<Types.DeliverNotificationMutation, Types.DeliverNotificationMutationVariables>;\nexport const ExportChannelUsersDocument = gql`\n mutation ExportChannelUsers($filter: ExportChannelUsersFilter!, $format: ChannelExportFormat!) {\n exportChannelUsers(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportChannelUsersMutationFn = Apollo.MutationFunction<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>;\n\n/**\n * __useExportChannelUsersMutation__\n *\n * To run a mutation, you first call `useExportChannelUsersMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportChannelUsersMutation` 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 [exportChannelUsersMutation, { data, loading, error }] = useExportChannelUsersMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportChannelUsersMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>(ExportChannelUsersDocument, options);\n }\nexport type ExportChannelUsersMutationHookResult = ReturnType<typeof useExportChannelUsersMutation>;\nexport type ExportChannelUsersMutationResult = Apollo.MutationResult<Types.ExportChannelUsersMutation>;\nexport type ExportChannelUsersMutationOptions = Apollo.BaseMutationOptions<Types.ExportChannelUsersMutation, Types.ExportChannelUsersMutationVariables>;\nexport const ExportChannelsDocument = gql`\n mutation ExportChannels($filter: ExportChannelsFilter!, $format: ChannelExportFormat!) {\n exportChannels(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportChannelsMutationFn = Apollo.MutationFunction<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>;\n\n/**\n * __useExportChannelsMutation__\n *\n * To run a mutation, you first call `useExportChannelsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportChannelsMutation` 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 [exportChannelsMutation, { data, loading, error }] = useExportChannelsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportChannelsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>(ExportChannelsDocument, options);\n }\nexport type ExportChannelsMutationHookResult = ReturnType<typeof useExportChannelsMutation>;\nexport type ExportChannelsMutationResult = Apollo.MutationResult<Types.ExportChannelsMutation>;\nexport type ExportChannelsMutationOptions = Apollo.BaseMutationOptions<Types.ExportChannelsMutation, Types.ExportChannelsMutationVariables>;\nexport const ExportDeliveryAttemptsDocument = gql`\n mutation ExportDeliveryAttempts($filter: ExportDeliveryAttemptsFilter!, $format: ChannelExportFormat!) {\n exportDeliveryAttempts(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportDeliveryAttemptsMutationFn = Apollo.MutationFunction<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>;\n\n/**\n * __useExportDeliveryAttemptsMutation__\n *\n * To run a mutation, you first call `useExportDeliveryAttemptsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportDeliveryAttemptsMutation` 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 [exportDeliveryAttemptsMutation, { data, loading, error }] = useExportDeliveryAttemptsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportDeliveryAttemptsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>(ExportDeliveryAttemptsDocument, options);\n }\nexport type ExportDeliveryAttemptsMutationHookResult = ReturnType<typeof useExportDeliveryAttemptsMutation>;\nexport type ExportDeliveryAttemptsMutationResult = Apollo.MutationResult<Types.ExportDeliveryAttemptsMutation>;\nexport type ExportDeliveryAttemptsMutationOptions = Apollo.BaseMutationOptions<Types.ExportDeliveryAttemptsMutation, Types.ExportDeliveryAttemptsMutationVariables>;\nexport const ExportWebhookEventsDocument = gql`\n mutation ExportWebhookEvents($filter: ExportWebhookEventsFilter!, $format: ChannelExportFormat!) {\n exportWebhookEvents(filter: $filter, format: $format) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\nexport type ExportWebhookEventsMutationFn = Apollo.MutationFunction<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>;\n\n/**\n * __useExportWebhookEventsMutation__\n *\n * To run a mutation, you first call `useExportWebhookEventsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExportWebhookEventsMutation` 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 [exportWebhookEventsMutation, { data, loading, error }] = useExportWebhookEventsMutation({\n * variables: {\n * filter: // value for 'filter'\n * format: // value for 'format'\n * },\n * });\n */\nexport function useExportWebhookEventsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>(ExportWebhookEventsDocument, options);\n }\nexport type ExportWebhookEventsMutationHookResult = ReturnType<typeof useExportWebhookEventsMutation>;\nexport type ExportWebhookEventsMutationResult = Apollo.MutationResult<Types.ExportWebhookEventsMutation>;\nexport type ExportWebhookEventsMutationOptions = Apollo.BaseMutationOptions<Types.ExportWebhookEventsMutation, Types.ExportWebhookEventsMutationVariables>;\nexport const RetryDeliveryDocument = gql`\n mutation RetryDelivery($attemptId: ID!) {\n retryDelivery(attemptId: $attemptId) {\n success\n messageId\n attemptId\n error\n willRetry\n nextRetryAt\n }\n}\n `;\nexport type RetryDeliveryMutationFn = Apollo.MutationFunction<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>;\n\n/**\n * __useRetryDeliveryMutation__\n *\n * To run a mutation, you first call `useRetryDeliveryMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRetryDeliveryMutation` 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 [retryDeliveryMutation, { data, loading, error }] = useRetryDeliveryMutation({\n * variables: {\n * attemptId: // value for 'attemptId'\n * },\n * });\n */\nexport function useRetryDeliveryMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>(RetryDeliveryDocument, options);\n }\nexport type RetryDeliveryMutationHookResult = ReturnType<typeof useRetryDeliveryMutation>;\nexport type RetryDeliveryMutationResult = Apollo.MutationResult<Types.RetryDeliveryMutation>;\nexport type RetryDeliveryMutationOptions = Apollo.BaseMutationOptions<Types.RetryDeliveryMutation, Types.RetryDeliveryMutationVariables>;\nexport const RunChannelHealthCheckDocument = gql`\n mutation RunChannelHealthCheck($id: ID!) {\n runChannelHealthCheck(id: $id) {\n channelId\n isHealthy\n status\n responseTimeMs\n lastCheckAt\n error\n }\n}\n `;\nexport type RunChannelHealthCheckMutationFn = Apollo.MutationFunction<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>;\n\n/**\n * __useRunChannelHealthCheckMutation__\n *\n * To run a mutation, you first call `useRunChannelHealthCheckMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRunChannelHealthCheckMutation` 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 [runChannelHealthCheckMutation, { data, loading, error }] = useRunChannelHealthCheckMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useRunChannelHealthCheckMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>(RunChannelHealthCheckDocument, options);\n }\nexport type RunChannelHealthCheckMutationHookResult = ReturnType<typeof useRunChannelHealthCheckMutation>;\nexport type RunChannelHealthCheckMutationResult = Apollo.MutationResult<Types.RunChannelHealthCheckMutation>;\nexport type RunChannelHealthCheckMutationOptions = Apollo.BaseMutationOptions<Types.RunChannelHealthCheckMutation, Types.RunChannelHealthCheckMutationVariables>;\nexport const TestConnectionHealthDocument = gql`\n mutation TestConnectionHealth($id: ID!) {\n testConnectionHealth(id: $id) {\n success\n message\n responseTimeMs\n platformInfo\n error\n }\n}\n `;\nexport type TestConnectionHealthMutationFn = Apollo.MutationFunction<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>;\n\n/**\n * __useTestConnectionHealthMutation__\n *\n * To run a mutation, you first call `useTestConnectionHealthMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useTestConnectionHealthMutation` 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 [testConnectionHealthMutation, { data, loading, error }] = useTestConnectionHealthMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useTestConnectionHealthMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>(TestConnectionHealthDocument, options);\n }\nexport type TestConnectionHealthMutationHookResult = ReturnType<typeof useTestConnectionHealthMutation>;\nexport type TestConnectionHealthMutationResult = Apollo.MutationResult<Types.TestConnectionHealthMutation>;\nexport type TestConnectionHealthMutationOptions = Apollo.BaseMutationOptions<Types.TestConnectionHealthMutation, Types.TestConnectionHealthMutationVariables>;\nexport const UpdateChannelDocument = gql`\n mutation UpdateChannel($id: ID!, $input: UpdateChannelInput!) {\n updateChannel(id: $id, input: $input) {\n ...ChannelFields\n }\n}\n ${ChannelFieldsFragmentDoc}`;\nexport type UpdateChannelMutationFn = Apollo.MutationFunction<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>;\n\n/**\n * __useUpdateChannelMutation__\n *\n * To run a mutation, you first call `useUpdateChannelMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateChannelMutation` 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 [updateChannelMutation, { data, loading, error }] = useUpdateChannelMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateChannelMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>(UpdateChannelDocument, options);\n }\nexport type UpdateChannelMutationHookResult = ReturnType<typeof useUpdateChannelMutation>;\nexport type UpdateChannelMutationResult = Apollo.MutationResult<Types.UpdateChannelMutation>;\nexport type UpdateChannelMutationOptions = Apollo.BaseMutationOptions<Types.UpdateChannelMutation, Types.UpdateChannelMutationVariables>;\nexport const UpdateChannelOrgSettingsDocument = gql`\n mutation UpdateChannelOrgSettings($organizationId: ID!, $input: ChannelOrgSettingsInput!) {\n updateChannelOrgSettings(organizationId: $organizationId, input: $input) {\n organizationId\n defaultPriority\n rateLimitPerMinute\n rateLimitPerHour\n healthCheckIntervalMinutes\n enableAuditLogging\n enableWebhookVerification\n sessionTimeoutMinutes\n updatedAt\n }\n}\n `;\nexport type UpdateChannelOrgSettingsMutationFn = Apollo.MutationFunction<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>;\n\n/**\n * __useUpdateChannelOrgSettingsMutation__\n *\n * To run a mutation, you first call `useUpdateChannelOrgSettingsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateChannelOrgSettingsMutation` 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 [updateChannelOrgSettingsMutation, { data, loading, error }] = useUpdateChannelOrgSettingsMutation({\n * variables: {\n * organizationId: // value for 'organizationId'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateChannelOrgSettingsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>(UpdateChannelOrgSettingsDocument, options);\n }\nexport type UpdateChannelOrgSettingsMutationHookResult = ReturnType<typeof useUpdateChannelOrgSettingsMutation>;\nexport type UpdateChannelOrgSettingsMutationResult = Apollo.MutationResult<Types.UpdateChannelOrgSettingsMutation>;\nexport type UpdateChannelOrgSettingsMutationOptions = Apollo.BaseMutationOptions<Types.UpdateChannelOrgSettingsMutation, Types.UpdateChannelOrgSettingsMutationVariables>;\nexport const UpdateConnectionDocument = gql`\n mutation UpdateConnection($id: ID!, $input: UpdateConnectionInput!) {\n updateConnection(id: $id, input: $input) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\nexport type UpdateConnectionMutationFn = Apollo.MutationFunction<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>;\n\n/**\n * __useUpdateConnectionMutation__\n *\n * To run a mutation, you first call `useUpdateConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConnectionMutation` 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 [updateConnectionMutation, { data, loading, error }] = useUpdateConnectionMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>(UpdateConnectionDocument, options);\n }\nexport type UpdateConnectionMutationHookResult = ReturnType<typeof useUpdateConnectionMutation>;\nexport type UpdateConnectionMutationResult = Apollo.MutationResult<Types.UpdateConnectionMutation>;\nexport type UpdateConnectionMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>;\nexport const GetChannelDocument = gql`\n query GetChannel($id: ID!) {\n getChannel(id: $id) {\n ...ChannelFields\n connection {\n ...ConnectionFields\n }\n }\n}\n ${ChannelFieldsFragmentDoc}\n${ConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetChannelQuery__\n *\n * To run a query within a React component, call `useGetChannelQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelQuery` 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 } = useGetChannelQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetChannelQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables> & ({ variables: Types.GetChannelQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\nexport function useGetChannelLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelQuery, Types.GetChannelQueryVariables>;\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelQuery | undefined, Types.GetChannelQueryVariables>;\nexport function useGetChannelSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelQuery, Types.GetChannelQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelQuery, Types.GetChannelQueryVariables>(GetChannelDocument, options);\n }\nexport type GetChannelQueryHookResult = ReturnType<typeof useGetChannelQuery>;\nexport type GetChannelLazyQueryHookResult = ReturnType<typeof useGetChannelLazyQuery>;\nexport type GetChannelSuspenseQueryHookResult = ReturnType<typeof useGetChannelSuspenseQuery>;\nexport type GetChannelQueryResult = Apollo.QueryResult<Types.GetChannelQuery, Types.GetChannelQueryVariables>;\nexport const GetChannelExportJobDocument = gql`\n query GetChannelExportJob($id: ID!) {\n channelExportJob(id: $id) {\n id\n status\n entityType\n format\n rowCount\n downloadUrl\n error\n }\n}\n `;\n\n/**\n * __useGetChannelExportJobQuery__\n *\n * To run a query within a React component, call `useGetChannelExportJobQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelExportJobQuery` 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 } = useGetChannelExportJobQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetChannelExportJobQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables> & ({ variables: Types.GetChannelExportJobQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\nexport function useGetChannelExportJobLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>;\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelExportJobQuery | undefined, Types.GetChannelExportJobQueryVariables>;\nexport function useGetChannelExportJobSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>(GetChannelExportJobDocument, options);\n }\nexport type GetChannelExportJobQueryHookResult = ReturnType<typeof useGetChannelExportJobQuery>;\nexport type GetChannelExportJobLazyQueryHookResult = ReturnType<typeof useGetChannelExportJobLazyQuery>;\nexport type GetChannelExportJobSuspenseQueryHookResult = ReturnType<typeof useGetChannelExportJobSuspenseQuery>;\nexport type GetChannelExportJobQueryResult = Apollo.QueryResult<Types.GetChannelExportJobQuery, Types.GetChannelExportJobQueryVariables>;\nexport const GetChannelOrgSettingsDocument = gql`\n query GetChannelOrgSettings($organizationId: ID!) {\n getChannelOrgSettings(organizationId: $organizationId) {\n organizationId\n defaultPriority\n rateLimitPerMinute\n rateLimitPerHour\n healthCheckIntervalMinutes\n enableAuditLogging\n enableWebhookVerification\n sessionTimeoutMinutes\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetChannelOrgSettingsQuery__\n *\n * To run a query within a React component, call `useGetChannelOrgSettingsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelOrgSettingsQuery` 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 } = useGetChannelOrgSettingsQuery({\n * variables: {\n * organizationId: // value for 'organizationId'\n * },\n * });\n */\nexport function useGetChannelOrgSettingsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables> & ({ variables: Types.GetChannelOrgSettingsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\nexport function useGetChannelOrgSettingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>;\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelOrgSettingsQuery | undefined, Types.GetChannelOrgSettingsQueryVariables>;\nexport function useGetChannelOrgSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>(GetChannelOrgSettingsDocument, options);\n }\nexport type GetChannelOrgSettingsQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsQuery>;\nexport type GetChannelOrgSettingsLazyQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsLazyQuery>;\nexport type GetChannelOrgSettingsSuspenseQueryHookResult = ReturnType<typeof useGetChannelOrgSettingsSuspenseQuery>;\nexport type GetChannelOrgSettingsQueryResult = Apollo.QueryResult<Types.GetChannelOrgSettingsQuery, Types.GetChannelOrgSettingsQueryVariables>;\nexport const GetChannelsDocument = gql`\n query GetChannels($filter: ChannelFilterInput, $pagination: ChannelPaginationInput) {\n getChannels(filter: $filter, pagination: $pagination) {\n items {\n ...ChannelFields\n connection {\n ...ConnectionSummaryFields\n }\n }\n total\n hasMore\n }\n}\n ${ChannelFieldsFragmentDoc}\n${ConnectionSummaryFieldsFragmentDoc}`;\n\n/**\n * __useGetChannelsQuery__\n *\n * To run a query within a React component, call `useGetChannelsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetChannelsQuery` 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 } = useGetChannelsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetChannelsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\nexport function useGetChannelsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\n// @ts-ignore\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>;\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetChannelsQuery | undefined, Types.GetChannelsQueryVariables>;\nexport function useGetChannelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>(GetChannelsDocument, options);\n }\nexport type GetChannelsQueryHookResult = ReturnType<typeof useGetChannelsQuery>;\nexport type GetChannelsLazyQueryHookResult = ReturnType<typeof useGetChannelsLazyQuery>;\nexport type GetChannelsSuspenseQueryHookResult = ReturnType<typeof useGetChannelsSuspenseQuery>;\nexport type GetChannelsQueryResult = Apollo.QueryResult<Types.GetChannelsQuery, Types.GetChannelsQueryVariables>;\nexport const GetConnectionDocument = gql`\n query GetConnection($id: ID!) {\n getConnection(id: $id) {\n ...ConnectionFields\n }\n}\n ${ConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetConnectionQuery__\n *\n * To run a query within a React component, call `useGetConnectionQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConnectionQuery` 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 } = useGetConnectionQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetConnectionQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables> & ({ variables: Types.GetConnectionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\nexport function useGetConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\n// @ts-ignore\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>;\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery | undefined, Types.GetConnectionQueryVariables>;\nexport function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>(GetConnectionDocument, options);\n }\nexport type GetConnectionQueryHookResult = ReturnType<typeof useGetConnectionQuery>;\nexport type GetConnectionLazyQueryHookResult = ReturnType<typeof useGetConnectionLazyQuery>;\nexport type GetConnectionSuspenseQueryHookResult = ReturnType<typeof useGetConnectionSuspenseQuery>;\nexport type GetConnectionQueryResult = Apollo.QueryResult<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>;\nexport const GetDeliveryAttemptsDocument = gql`\n query GetDeliveryAttempts($channelId: ID!, $limit: Int, $cursor: String) {\n getChannelDeliveryAttempts(\n channelId: $channelId\n limit: $limit\n cursor: $cursor\n ) {\n items {\n ...DeliveryAttemptFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${DeliveryAttemptFieldsFragmentDoc}`;\n\n/**\n * __useGetDeliveryAttemptsQuery__\n *\n * To run a query within a React component, call `useGetDeliveryAttemptsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetDeliveryAttemptsQuery` 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 } = useGetDeliveryAttemptsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * limit: // value for 'limit'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetDeliveryAttemptsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables> & ({ variables: Types.GetDeliveryAttemptsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\nexport function useGetDeliveryAttemptsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\n// @ts-ignore\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>;\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryAttemptsQuery | undefined, Types.GetDeliveryAttemptsQueryVariables>;\nexport function useGetDeliveryAttemptsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>(GetDeliveryAttemptsDocument, options);\n }\nexport type GetDeliveryAttemptsQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsQuery>;\nexport type GetDeliveryAttemptsLazyQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsLazyQuery>;\nexport type GetDeliveryAttemptsSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryAttemptsSuspenseQuery>;\nexport type GetDeliveryAttemptsQueryResult = Apollo.QueryResult<Types.GetDeliveryAttemptsQuery, Types.GetDeliveryAttemptsQueryVariables>;\nexport const GetDeliveryStatsDocument = gql`\n query GetDeliveryStats($channelId: ID!, $startDate: DateTime, $endDate: DateTime) {\n getDeliveryStats(\n channelId: $channelId\n startDate: $startDate\n endDate: $endDate\n ) {\n channelId\n totalAttempts\n successfulDeliveries\n failedDeliveries\n pendingDeliveries\n avgDeliveryTimeMs\n successRate\n startDate\n endDate\n }\n}\n `;\n\n/**\n * __useGetDeliveryStatsQuery__\n *\n * To run a query within a React component, call `useGetDeliveryStatsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetDeliveryStatsQuery` 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 } = useGetDeliveryStatsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * startDate: // value for 'startDate'\n * endDate: // value for 'endDate'\n * },\n * });\n */\nexport function useGetDeliveryStatsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables> & ({ variables: Types.GetDeliveryStatsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\nexport function useGetDeliveryStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\n// @ts-ignore\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>;\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryStatsQuery | undefined, Types.GetDeliveryStatsQueryVariables>;\nexport function useGetDeliveryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>(GetDeliveryStatsDocument, options);\n }\nexport type GetDeliveryStatsQueryHookResult = ReturnType<typeof useGetDeliveryStatsQuery>;\nexport type GetDeliveryStatsLazyQueryHookResult = ReturnType<typeof useGetDeliveryStatsLazyQuery>;\nexport type GetDeliveryStatsSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryStatsSuspenseQuery>;\nexport type GetDeliveryStatsQueryResult = Apollo.QueryResult<Types.GetDeliveryStatsQuery, Types.GetDeliveryStatsQueryVariables>;\nexport const GetUserPlatformConnectionsDocument = gql`\n query GetUserPlatformConnections($channelId: ID!, $filter: UserPlatformConnectionFilterInput, $pagination: ChannelPaginationInput, $cursor: String) {\n listUserPlatformConnectionsByChannel(\n channelId: $channelId\n filter: $filter\n pagination: $pagination\n cursor: $cursor\n ) {\n items {\n ...UserPlatformConnectionFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${UserPlatformConnectionFieldsFragmentDoc}`;\n\n/**\n * __useGetUserPlatformConnectionsQuery__\n *\n * To run a query within a React component, call `useGetUserPlatformConnectionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUserPlatformConnectionsQuery` 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 } = useGetUserPlatformConnectionsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetUserPlatformConnectionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables> & ({ variables: Types.GetUserPlatformConnectionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\nexport function useGetUserPlatformConnectionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\n// @ts-ignore\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>;\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUserPlatformConnectionsQuery | undefined, Types.GetUserPlatformConnectionsQueryVariables>;\nexport function useGetUserPlatformConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>(GetUserPlatformConnectionsDocument, options);\n }\nexport type GetUserPlatformConnectionsQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsQuery>;\nexport type GetUserPlatformConnectionsLazyQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsLazyQuery>;\nexport type GetUserPlatformConnectionsSuspenseQueryHookResult = ReturnType<typeof useGetUserPlatformConnectionsSuspenseQuery>;\nexport type GetUserPlatformConnectionsQueryResult = Apollo.QueryResult<Types.GetUserPlatformConnectionsQuery, Types.GetUserPlatformConnectionsQueryVariables>;\nexport const GetWebhookEventsDocument = gql`\n query GetWebhookEvents($channelId: ID!, $limit: Int, $cursor: String) {\n getChannelWebhookEvents(channelId: $channelId, limit: $limit, cursor: $cursor) {\n items {\n ...WebhookEventFields\n }\n nextCursor\n hasMore\n total\n }\n}\n ${WebhookEventFieldsFragmentDoc}`;\n\n/**\n * __useGetWebhookEventsQuery__\n *\n * To run a query within a React component, call `useGetWebhookEventsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWebhookEventsQuery` 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 } = useGetWebhookEventsQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * limit: // value for 'limit'\n * cursor: // value for 'cursor'\n * },\n * });\n */\nexport function useGetWebhookEventsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables> & ({ variables: Types.GetWebhookEventsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\nexport function useGetWebhookEventsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\n// @ts-ignore\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>;\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWebhookEventsQuery | undefined, Types.GetWebhookEventsQueryVariables>;\nexport function useGetWebhookEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>(GetWebhookEventsDocument, options);\n }\nexport type GetWebhookEventsQueryHookResult = ReturnType<typeof useGetWebhookEventsQuery>;\nexport type GetWebhookEventsLazyQueryHookResult = ReturnType<typeof useGetWebhookEventsLazyQuery>;\nexport type GetWebhookEventsSuspenseQueryHookResult = ReturnType<typeof useGetWebhookEventsSuspenseQuery>;\nexport type GetWebhookEventsQueryResult = Apollo.QueryResult<Types.GetWebhookEventsQuery, Types.GetWebhookEventsQueryVariables>;\nexport const SendNotificationDocument = gql`\n mutation SendNotification($input: TriggerNotificationInput!) {\n triggerNotification(input: $input) {\n id\n status\n deliveryStatus\n triggerStatus\n sentAt\n title\n message\n errorMessage\n errorCode\n }\n}\n `;\nexport type SendNotificationMutationFn = Apollo.MutationFunction<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>;\n\n/**\n * __useSendNotificationMutation__\n *\n * To run a mutation, you first call `useSendNotificationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useSendNotificationMutation` 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 [sendNotificationMutation, { data, loading, error }] = useSendNotificationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useSendNotificationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>(SendNotificationDocument, options);\n }\nexport type SendNotificationMutationHookResult = ReturnType<typeof useSendNotificationMutation>;\nexport type SendNotificationMutationResult = Apollo.MutationResult<Types.SendNotificationMutation>;\nexport type SendNotificationMutationOptions = Apollo.BaseMutationOptions<Types.SendNotificationMutation, Types.SendNotificationMutationVariables>;"],"mappings":";;;AAUA,IAAMC,IAAiB,CAAC,GA06BXC,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OA2B9BC,IAAqC,CAAG;;;;;;;;;;;;;;OAexCC,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;OAsBjCC,IAAmC,CAAG;;;;;;;;;;;;;;;;;OAkBtCC,IAA0C,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsC7CC,IAAgC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BnCC,IAA0B,CAAG;;;;;;;OAkC7BC,IAAwB,CAAG;;;;;;MAMlCP,KA2BOQ,IAA2B,CAAG;;;;;;MAMrCN,KA2BOO,IAA4B,CAAG;;;;;;;OAkC/BC,IAAwB,CAAG;;;;OA+B3BC,IAA2B,CAAG;;;;;AA+BI,CAAG;;;;;;;;;;;;;;;;;;;;;;;AAiDlD,IAAaC,IAA8B,CAAG;;;;;;;;;;;;;;;;;;OA6CjCC,IAA6B,CAAG;;;;;;;;;;;;OAwChCC,IAAyB,CAAG;;;;;;;;;;;;OAwC5BC,IAAiC,CAAG;;;;;;;;;;;;OAwCpCC,IAA8B,CAAG;;;;;;;;;;;;OAwCjCC,IAAwB,CAAG;;;;;;;;;;;OAsC3BC,IAAgC,CAAG;;;;;;;;;;;OAsCnCC,IAA+B,CAAG;;;;;;;;;;OAqClCC,IAAwB,CAAG;;;;;;MAMlCpB,KA4BOqB,IAAmC,CAAG;;;;;;;;;;;;;;OA0CtCC,IAA2B,CAAG;;;;;;MAMrCpB,KA4BOqB,IAAqB,CAAG;;;;;;;;;MAS/BvB,EAAyB;EAC7BE,KAqCWsB,IAA8B,CAAG;;;;;;;;;;;;OAiDjCC,IAAgC,CAAG;;;;;;;;;;;;;;OAmDnCC,IAAsB,CAAG;;;;;;;;;;;;;MAahC1B,EAAyB;EAC7BC,KAsCW0B,IAAwB,CAAG;;;;;;MAMlCzB,KAqCO0B,IAA8B,CAAG;;;;;;;;;;;;;;;MAexCzB,KAuCO0B,IAA2B,CAAG;;;;;;;;;;;;;;;;;;OAyD9BC,IAAqC,CAAG;;;;;;;;;;;;;;;;MAgB/C1B,KAwCO2B,IAA2B,CAAG;;;;;;;;;;;MAWrC1B,KAuCO2B,IAA2B,CAAG;;;;;;;;;;;;;;;AAkC3C,SAAgBC,EAA4B,GAA6H;CACjK,IAAMC,IAAU;EAAC,GAAGnC;EAAgB,GAAGoC;CAAW;CAClD,OAAOrC,EAAiB,YAAqFkC,GAA0BE,CAAO;AAChJ"}
@@ -1,24 +1,5 @@
1
1
  export type Maybe<T> = T | null;
2
2
  export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
4
- [key: string]: unknown;
5
- }> = {
6
- [K in keyof T]: T[K];
7
- };
8
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
- [SubKey in K]?: Maybe<T[SubKey]>;
10
- };
11
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
- [SubKey in K]: Maybe<T[SubKey]>;
13
- };
14
- export type MakeEmpty<T extends {
15
- [key: string]: unknown;
16
- }, K extends keyof T> = {
17
- [_ in K]?: never;
18
- };
19
- export type Incremental<T> = T | {
20
- [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
- };
22
3
  /** All built-in and custom scalars, mapped to their actual values */
23
4
  export type Scalars = {
24
5
  ID: {
@@ -68,8 +49,8 @@ export type Scalars = {
68
49
  output: File;
69
50
  };
70
51
  _SubscriptionsPlaceholder: {
71
- input: any;
72
- output: any;
52
+ input: unknown;
53
+ output: unknown;
73
54
  };
74
55
  };
75
56
  /** API Key for programmatic access */
@@ -23524,4 +23505,3 @@ export type UserRegisterInput = {
23524
23505
  phoneNumber?: InputMaybe<Scalars['String']['input']>;
23525
23506
  username: Scalars['String']['input'];
23526
23507
  };
23527
- //# sourceMappingURL=global-types.d.ts.map
@@ -1,4 +1,4 @@
1
- //#region src/generated/global-types.ts
1
+ // src/generated/global-types.ts
2
2
  var e = /* @__PURE__ */ function(e) {
3
3
  return e.Csv = "CSV", e.Json = "JSON", e.Jsonl = "JSONL", e;
4
4
  }({}), t = /* @__PURE__ */ function(e) {
@@ -8,7 +8,6 @@ var e = /* @__PURE__ */ function(e) {
8
8
  }({}), r = /* @__PURE__ */ function(e) {
9
9
  return e.High = "HIGH", e.Low = "LOW", e.Medium = "MEDIUM", e.Urgent = "URGENT", e;
10
10
  }({});
11
- //#endregion
12
11
  export { e as ChannelExportFormat, t as ChannelExportStatus, n as NotificationChannel, r as NotificationPriority };
13
12
 
14
13
  //# sourceMappingURL=global-types.js.map