@burdenoff/microfe-botmanor 2026.813.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 (160) hide show
  1. package/README.md +12 -0
  2. package/dist/botlit/BotlitRoutes.js +357 -0
  3. package/dist/botlit/BotlitRoutes.js.map +1 -0
  4. package/dist/botlit/BotmanorRoot.js +12 -0
  5. package/dist/botlit/BotmanorRoot.js.map +1 -0
  6. package/dist/botlit/BotmanorRootInner.js +101 -0
  7. package/dist/botlit/BotmanorRootInner.js.map +1 -0
  8. package/dist/botlit/components/Badge.js +39 -0
  9. package/dist/botlit/components/Badge.js.map +1 -0
  10. package/dist/botlit/components/Button.js +46 -0
  11. package/dist/botlit/components/Button.js.map +1 -0
  12. package/dist/botlit/components/Card.js +31 -0
  13. package/dist/botlit/components/Card.js.map +1 -0
  14. package/dist/botlit/components/ChannelSelectorSheet.js +130 -0
  15. package/dist/botlit/components/ChannelSelectorSheet.js.map +1 -0
  16. package/dist/botlit/components/EmptyState.js +35 -0
  17. package/dist/botlit/components/EmptyState.js.map +1 -0
  18. package/dist/botlit/components/ErrorState.js +33 -0
  19. package/dist/botlit/components/ErrorState.js.map +1 -0
  20. package/dist/botlit/components/Input.js +59 -0
  21. package/dist/botlit/components/Input.js.map +1 -0
  22. package/dist/botlit/components/PageLayout.js +34 -0
  23. package/dist/botlit/components/PageLayout.js.map +1 -0
  24. package/dist/botlit/components/QuotaExhaustedDialog.js +20 -0
  25. package/dist/botlit/components/QuotaExhaustedDialog.js.map +1 -0
  26. package/dist/botlit/components/RouteLoader.js +52 -0
  27. package/dist/botlit/components/RouteLoader.js.map +1 -0
  28. package/dist/botlit/components/VersionHistoryPanel.js +144 -0
  29. package/dist/botlit/components/VersionHistoryPanel.js.map +1 -0
  30. package/dist/botlit/components/WorkspaceRequired.js +70 -0
  31. package/dist/botlit/components/WorkspaceRequired.js.map +1 -0
  32. package/dist/botlit/hooks/index.js +16 -0
  33. package/dist/botlit/hooks/internal/mutationInput.js +16 -0
  34. package/dist/botlit/hooks/internal/mutationInput.js.map +1 -0
  35. package/dist/botlit/hooks/internal/workspaceGateway.js +99 -0
  36. package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -0
  37. package/dist/botlit/hooks/useA2A.js +184 -0
  38. package/dist/botlit/hooks/useA2A.js.map +1 -0
  39. package/dist/botlit/hooks/useAgents.js +469 -0
  40. package/dist/botlit/hooks/useAgents.js.map +1 -0
  41. package/dist/botlit/hooks/useBots.js +306 -0
  42. package/dist/botlit/hooks/useBots.js.map +1 -0
  43. package/dist/botlit/hooks/useBuckets.js +119 -0
  44. package/dist/botlit/hooks/useBuckets.js.map +1 -0
  45. package/dist/botlit/hooks/useChannels.js +213 -0
  46. package/dist/botlit/hooks/useChannels.js.map +1 -0
  47. package/dist/botlit/hooks/useConversations.js +64 -0
  48. package/dist/botlit/hooks/useConversations.js.map +1 -0
  49. package/dist/botlit/hooks/useExecutions.js +86 -0
  50. package/dist/botlit/hooks/useExecutions.js.map +1 -0
  51. package/dist/botlit/hooks/useKnowledgeBases.js +113 -0
  52. package/dist/botlit/hooks/useKnowledgeBases.js.map +1 -0
  53. package/dist/botlit/hooks/useLLMProviders.js +83 -0
  54. package/dist/botlit/hooks/useLLMProviders.js.map +1 -0
  55. package/dist/botlit/hooks/useMCPServers.js +134 -0
  56. package/dist/botlit/hooks/useMCPServers.js.map +1 -0
  57. package/dist/botlit/hooks/usePolicies.js +120 -0
  58. package/dist/botlit/hooks/usePolicies.js.map +1 -0
  59. package/dist/botlit/hooks/usePromptTemplates.js +161 -0
  60. package/dist/botlit/hooks/usePromptTemplates.js.map +1 -0
  61. package/dist/botlit/hooks/useRetrievalProfiles.js +146 -0
  62. package/dist/botlit/hooks/useRetrievalProfiles.js.map +1 -0
  63. package/dist/botlit/hooks/useSkills.js +132 -0
  64. package/dist/botlit/hooks/useSkills.js.map +1 -0
  65. package/dist/botlit/hooks/useStore.js +167 -0
  66. package/dist/botlit/hooks/useStore.js.map +1 -0
  67. package/dist/botlit/hooks/useUserPlatformConnection.js +172 -0
  68. package/dist/botlit/hooks/useUserPlatformConnection.js.map +1 -0
  69. package/dist/botlit/index.js +11 -0
  70. package/dist/botlit/pages/A2AAgentDetailPage.js +589 -0
  71. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -0
  72. package/dist/botlit/pages/A2ARegistryPage.js +240 -0
  73. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -0
  74. package/dist/botlit/pages/AgentBuilderPage.js +486 -0
  75. package/dist/botlit/pages/AgentBuilderPage.js.map +1 -0
  76. package/dist/botlit/pages/AgentDetailPage.js +517 -0
  77. package/dist/botlit/pages/AgentDetailPage.js.map +1 -0
  78. package/dist/botlit/pages/AgentsListPage.js +294 -0
  79. package/dist/botlit/pages/AgentsListPage.js.map +1 -0
  80. package/dist/botlit/pages/BotChannelsTab.js +530 -0
  81. package/dist/botlit/pages/BotChannelsTab.js.map +1 -0
  82. package/dist/botlit/pages/BotDetailPage.js +872 -0
  83. package/dist/botlit/pages/BotDetailPage.js.map +1 -0
  84. package/dist/botlit/pages/BotWorkflowTab.js +229 -0
  85. package/dist/botlit/pages/BotWorkflowTab.js.map +1 -0
  86. package/dist/botlit/pages/BotsListPage.js +313 -0
  87. package/dist/botlit/pages/BotsListPage.js.map +1 -0
  88. package/dist/botlit/pages/BucketsPage.js +604 -0
  89. package/dist/botlit/pages/BucketsPage.js.map +1 -0
  90. package/dist/botlit/pages/ChannelDetailPage.js +955 -0
  91. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -0
  92. package/dist/botlit/pages/ChannelRoutesPage.js +218 -0
  93. package/dist/botlit/pages/ChannelRoutesPage.js.map +1 -0
  94. package/dist/botlit/pages/ChannelsPage.js +304 -0
  95. package/dist/botlit/pages/ChannelsPage.js.map +1 -0
  96. package/dist/botlit/pages/ChatPage.js +247 -0
  97. package/dist/botlit/pages/ChatPage.js.map +1 -0
  98. package/dist/botlit/pages/DashboardPage.js +318 -0
  99. package/dist/botlit/pages/DashboardPage.js.map +1 -0
  100. package/dist/botlit/pages/ExecutionDetailPage.js +313 -0
  101. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -0
  102. package/dist/botlit/pages/ExecutionsPage.js +294 -0
  103. package/dist/botlit/pages/ExecutionsPage.js.map +1 -0
  104. package/dist/botlit/pages/InstalledPackagesPage.js +619 -0
  105. package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -0
  106. package/dist/botlit/pages/KnowledgeBaseDetailPage.js +473 -0
  107. package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -0
  108. package/dist/botlit/pages/KnowledgeBasesPage.js +150 -0
  109. package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -0
  110. package/dist/botlit/pages/MCPServerDetailPage.js +550 -0
  111. package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -0
  112. package/dist/botlit/pages/MCPServersPage.js +321 -0
  113. package/dist/botlit/pages/MCPServersPage.js.map +1 -0
  114. package/dist/botlit/pages/PoliciesPage.js +224 -0
  115. package/dist/botlit/pages/PoliciesPage.js.map +1 -0
  116. package/dist/botlit/pages/PolicyDetailPage.js +861 -0
  117. package/dist/botlit/pages/PolicyDetailPage.js.map +1 -0
  118. package/dist/botlit/pages/PromptStudioPage.js +236 -0
  119. package/dist/botlit/pages/PromptStudioPage.js.map +1 -0
  120. package/dist/botlit/pages/PromptTemplateDetailPage.js +812 -0
  121. package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -0
  122. package/dist/botlit/pages/PromptTemplatesPage.js +269 -0
  123. package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -0
  124. package/dist/botlit/pages/RetrievalProfileDetailPage.js +559 -0
  125. package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -0
  126. package/dist/botlit/pages/RetrievalProfilesPage.js +219 -0
  127. package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -0
  128. package/dist/botlit/pages/SettingsPage.js +655 -0
  129. package/dist/botlit/pages/SettingsPage.js.map +1 -0
  130. package/dist/botlit/pages/SkillDetailPage.js +778 -0
  131. package/dist/botlit/pages/SkillDetailPage.js.map +1 -0
  132. package/dist/botlit/pages/SkillsPage.js +206 -0
  133. package/dist/botlit/pages/SkillsPage.js.map +1 -0
  134. package/dist/botlit/pages/StorePackageDetailPage.js +462 -0
  135. package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -0
  136. package/dist/botlit/pages/StorePage.js +315 -0
  137. package/dist/botlit/pages/StorePage.js.map +1 -0
  138. package/dist/botlit/providers/BotlitProvider.js +93 -0
  139. package/dist/botlit/providers/BotlitProvider.js.map +1 -0
  140. package/dist/botlit/store/botlitStore.js +101 -0
  141. package/dist/botlit/store/botlitStore.js.map +1 -0
  142. package/dist/botlit/utils/cn.js +10 -0
  143. package/dist/botlit/utils/cn.js.map +1 -0
  144. package/dist/botlit/utils/formatters.js +37 -0
  145. package/dist/botlit/utils/formatters.js.map +1 -0
  146. package/dist/botlit/utils/navigation.js +9 -0
  147. package/dist/botlit/utils/navigation.js.map +1 -0
  148. package/dist/botlit/utils/unions.js +14 -0
  149. package/dist/botlit/utils/unions.js.map +1 -0
  150. package/dist/generated/global-operations.js +66 -0
  151. package/dist/generated/global-operations.js.map +1 -0
  152. package/dist/generated/global-types.js +8 -0
  153. package/dist/generated/global-types.js.map +1 -0
  154. package/dist/generated/wspace-operations.js +1591 -0
  155. package/dist/generated/wspace-operations.js.map +1 -0
  156. package/dist/generated/wspace-types.js +12 -0
  157. package/dist/generated/wspace-types.js.map +1 -0
  158. package/dist/index.js +13 -0
  159. package/dist/utils/nativeBridge.js +2 -0
  160. package/package.json +133 -0
@@ -0,0 +1,9 @@
1
+ //#region src/botlit/utils/navigation.ts
2
+ function e(e, t) {
3
+ let n = e.endsWith("/") ? e.slice(0, -1) : e;
4
+ return !t || t === "" ? n || "/" : n + (t.startsWith("/") ? t : `/${t}`);
5
+ }
6
+ //#endregion
7
+ export { e as joinPath };
8
+
9
+ //# sourceMappingURL=navigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation.js","names":[],"sources":["../../../src/botlit/utils/navigation.ts"],"sourcesContent":["/**\n * Navigation utilities for the Botlit microfrontend\n * @module botlit/utils\n */\n\n/**\n * Join basePath with a relative path, correctly handling slashes\n *\n * @param basePath - The base path (e.g., '/' or '/botlit')\n * @param relativePath - The relative path (e.g., 'bots/new' or '/bots/new')\n * @returns The joined path (e.g., '/botlit/bots/new')\n *\n * @example\n * joinPath('/', 'bots/new') // => '/bots/new'\n * joinPath('/', '/bots/new') // => '/bots/new'\n * joinPath('/botlit', 'bots') // => '/botlit/bots'\n * joinPath('/botlit/', 'bots') // => '/botlit/bots'\n * joinPath('/botlit', '') // => '/botlit'\n */\nexport function joinPath(basePath: string, relativePath: string): string {\n // Remove trailing slash from base\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n\n // Handle empty relative path (go to base)\n if (!relativePath || relativePath === '') {\n return cleanBase || '/';\n }\n\n // Ensure relative path starts with /\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n\n // Join them\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAmBA,SAAgB,EAAS,GAAkB,GAA8B;CAEvE,IAAM,IAAY,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG;AAWnE,QARI,CAAC,KAAgB,MAAiB,KAC7B,KAAa,MAOf,KAHW,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI"}
@@ -0,0 +1,14 @@
1
+ //#region src/botlit/utils/unions.ts
2
+ function e(e, t, n) {
3
+ return t.find((t) => t === e) ?? n;
4
+ }
5
+ function t(e, t) {
6
+ return e?.[t] === !0;
7
+ }
8
+ function n(e) {
9
+ return Array.isArray(e) ? e.filter((e) => typeof e == "object" && !!e && !Array.isArray(e)) : [];
10
+ }
11
+ //#endregion
12
+ export { t as jsonBoolean, n as jsonRecords, e as toUnion };
13
+
14
+ //# sourceMappingURL=unions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unions.js","names":[],"sources":["../../../src/botlit/utils/unions.ts"],"sourcesContent":["/**\n * Union narrowing helpers\n * @module botlit/utils\n *\n * wspace-botlit-svc returns enum columns as plain `String` through the\n * generated types, while the UI renders them against closed unions\n * (`ChannelType`, `PolicyType`, `Visibility`…). Narrowing has to happen at the\n * boundary — a value the service adds later must fall back to something\n * renderable rather than reaching a lookup table that has no entry for it.\n */\n\n/**\n * Narrows a free-form service string onto the union the UI renders.\n *\n * The match is by value, so the element returned from `allowed` is genuinely a\n * `TUnion` — no cast is involved.\n */\nexport function toUnion<TUnion extends string>(\n value: string | null | undefined,\n allowed: readonly TUnion[],\n fallback: TUnion\n): TUnion {\n return allowed.find((candidate) => candidate === value) ?? fallback;\n}\n\n/** Reads a string out of a free-form JSON object, or `undefined`. */\nexport function jsonString(\n source: Record<string, unknown> | null | undefined,\n key: string\n): string | undefined {\n const value = source?.[key];\n return typeof value === 'string' && value !== '' ? value : undefined;\n}\n\n/** Reads a boolean out of a free-form JSON object (absent counts as `false`). */\nexport function jsonBoolean(\n source: Record<string, unknown> | null | undefined,\n key: string\n): boolean {\n return source?.[key] === true;\n}\n\n/** Reads a number out of a free-form JSON object, or `undefined`. */\nexport function jsonNumber(\n source: Record<string, unknown> | null | undefined,\n key: string\n): number | undefined {\n const value = source?.[key];\n return typeof value === 'number' && Number.isFinite(value) ? value : undefined;\n}\n\n/** Reads an array of records out of a free-form JSON value. */\nexport function jsonRecords(value: unknown): Record<string, unknown>[] {\n if (!Array.isArray(value)) return [];\n return value.filter(\n (entry): entry is Record<string, unknown> =>\n typeof entry === 'object' && entry !== null && !Array.isArray(entry)\n );\n}\n"],"mappings":";AAiBA,SAAgB,EACd,GACA,GACA,GACQ;AACR,QAAO,EAAQ,MAAM,MAAc,MAAc,EAAM,IAAI;;AAa7D,SAAgB,EACd,GACA,GACS;AACT,QAAO,IAAS,OAAS;;AAa3B,SAAgB,EAAY,GAA2C;AAErE,QADK,MAAM,QAAQ,EAAM,GAClB,EAAM,QACV,MACC,OAAO,KAAU,cAAY,KAAkB,CAAC,MAAM,QAAQ,EAAM,CACvE,GAJiC,EAAE"}
@@ -0,0 +1,66 @@
1
+ import { gql as e } from "@apollo/client";
2
+ import "@apollo/client/react";
3
+ //#region src/generated/global-operations.ts
4
+ var t = e`
5
+ query MyUserPlatformConnection($channelId: ID!) {
6
+ myUserPlatformConnection(channelId: $channelId) {
7
+ id
8
+ channelId
9
+ platform
10
+ externalUserId
11
+ externalUsername
12
+ externalDisplayName
13
+ dmAllowed
14
+ notificationsEnabled
15
+ connectedAt
16
+ canReceiveDm
17
+ isTokenExpired
18
+ userTokenExpiresAt
19
+ integrationConnectionId
20
+ }
21
+ }
22
+ `, n = e`
23
+ mutation UpdateUserPlatformConnectionNotifications($id: ID!, $notificationsEnabled: Boolean!) {
24
+ updateUserPlatformConnectionNotifications(
25
+ id: $id
26
+ notificationsEnabled: $notificationsEnabled
27
+ ) {
28
+ id
29
+ notificationsEnabled
30
+ updatedAt
31
+ }
32
+ }
33
+ `, r = e`
34
+ mutation RevokeUserPlatformConnection($id: ID!) {
35
+ revokeUserPlatformConnection(id: $id) {
36
+ id
37
+ dmAllowed
38
+ updatedAt
39
+ }
40
+ }
41
+ `, i = e`
42
+ mutation LinkIntegrationConnection($integrationConnectionId: ID!, $channelId: ID!) {
43
+ linkIntegrationConnection(
44
+ integrationConnectionId: $integrationConnectionId
45
+ channelId: $channelId
46
+ ) {
47
+ id
48
+ channelId
49
+ platform
50
+ externalUserId
51
+ externalUsername
52
+ externalDisplayName
53
+ dmAllowed
54
+ notificationsEnabled
55
+ connectedAt
56
+ canReceiveDm
57
+ isTokenExpired
58
+ userTokenExpiresAt
59
+ integrationConnectionId
60
+ }
61
+ }
62
+ `;
63
+ //#endregion
64
+ export { i as LinkIntegrationConnectionDocument, t as MyUserPlatformConnectionDocument, r as RevokeUserPlatformConnectionDocument, n as UpdateUserPlatformConnectionNotificationsDocument };
65
+
66
+ //# sourceMappingURL=global-operations.js.map
@@ -0,0 +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 MyUserPlatformConnectionQueryVariables = Types.Exact<{\n channelId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MyUserPlatformConnectionQuery = { __typename?: 'Query', myUserPlatformConnection?: { __typename?: 'UserPlatformConnection', id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername?: string | null, externalDisplayName?: string | null, dmAllowed: boolean, notificationsEnabled: boolean, connectedAt?: string | null, canReceiveDm: boolean, isTokenExpired: boolean, userTokenExpiresAt?: string | null, integrationConnectionId?: string | null } | null };\n\nexport type UpdateUserPlatformConnectionNotificationsMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n notificationsEnabled: Types.Scalars['Boolean']['input'];\n}>;\n\n\nexport type UpdateUserPlatformConnectionNotificationsMutation = { __typename?: 'Mutation', updateUserPlatformConnectionNotifications: { __typename?: 'UserPlatformConnection', id: string, notificationsEnabled: boolean, updatedAt: string } };\n\nexport type RevokeUserPlatformConnectionMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type RevokeUserPlatformConnectionMutation = { __typename?: 'Mutation', revokeUserPlatformConnection: { __typename?: 'UserPlatformConnection', id: string, dmAllowed: boolean, updatedAt: string } };\n\nexport type LinkIntegrationConnectionMutationVariables = Types.Exact<{\n integrationConnectionId: Types.Scalars['ID']['input'];\n channelId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type LinkIntegrationConnectionMutation = { __typename?: 'Mutation', linkIntegrationConnection: { __typename?: 'UserPlatformConnection', id: string, channelId: string, platform: Types.ChannelPlatform, externalUserId: string, externalUsername?: string | null, externalDisplayName?: string | null, dmAllowed: boolean, notificationsEnabled: boolean, connectedAt?: string | null, canReceiveDm: boolean, isTokenExpired: boolean, userTokenExpiresAt?: string | null, integrationConnectionId?: string | null } };\n\n\nexport const MyUserPlatformConnectionDocument = gql`\n query MyUserPlatformConnection($channelId: ID!) {\n myUserPlatformConnection(channelId: $channelId) {\n id\n channelId\n platform\n externalUserId\n externalUsername\n externalDisplayName\n dmAllowed\n notificationsEnabled\n connectedAt\n canReceiveDm\n isTokenExpired\n userTokenExpiresAt\n integrationConnectionId\n }\n}\n `;\n\n/**\n * __useMyUserPlatformConnectionQuery__\n *\n * To run a query within a React component, call `useMyUserPlatformConnectionQuery` and pass it any options that fit your needs.\n * When your component renders, `useMyUserPlatformConnectionQuery` 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 } = useMyUserPlatformConnectionQuery({\n * variables: {\n * channelId: // value for 'channelId'\n * },\n * });\n */\nexport function useMyUserPlatformConnectionQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables> & ({ variables: Types.MyUserPlatformConnectionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>(MyUserPlatformConnectionDocument, options);\n }\nexport function useMyUserPlatformConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>(MyUserPlatformConnectionDocument, options);\n }\n// @ts-ignore\nexport function useMyUserPlatformConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>;\nexport function useMyUserPlatformConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MyUserPlatformConnectionQuery | undefined, Types.MyUserPlatformConnectionQueryVariables>;\nexport function useMyUserPlatformConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>(MyUserPlatformConnectionDocument, options);\n }\nexport type MyUserPlatformConnectionQueryHookResult = ReturnType<typeof useMyUserPlatformConnectionQuery>;\nexport type MyUserPlatformConnectionLazyQueryHookResult = ReturnType<typeof useMyUserPlatformConnectionLazyQuery>;\nexport type MyUserPlatformConnectionSuspenseQueryHookResult = ReturnType<typeof useMyUserPlatformConnectionSuspenseQuery>;\nexport type MyUserPlatformConnectionQueryResult = Apollo.QueryResult<Types.MyUserPlatformConnectionQuery, Types.MyUserPlatformConnectionQueryVariables>;\nexport const UpdateUserPlatformConnectionNotificationsDocument = gql`\n mutation UpdateUserPlatformConnectionNotifications($id: ID!, $notificationsEnabled: Boolean!) {\n updateUserPlatformConnectionNotifications(\n id: $id\n notificationsEnabled: $notificationsEnabled\n ) {\n id\n notificationsEnabled\n updatedAt\n }\n}\n `;\nexport type UpdateUserPlatformConnectionNotificationsMutationFn = Apollo.MutationFunction<Types.UpdateUserPlatformConnectionNotificationsMutation, Types.UpdateUserPlatformConnectionNotificationsMutationVariables>;\n\n/**\n * __useUpdateUserPlatformConnectionNotificationsMutation__\n *\n * To run a mutation, you first call `useUpdateUserPlatformConnectionNotificationsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateUserPlatformConnectionNotificationsMutation` 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 [updateUserPlatformConnectionNotificationsMutation, { data, loading, error }] = useUpdateUserPlatformConnectionNotificationsMutation({\n * variables: {\n * id: // value for 'id'\n * notificationsEnabled: // value for 'notificationsEnabled'\n * },\n * });\n */\nexport function useUpdateUserPlatformConnectionNotificationsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateUserPlatformConnectionNotificationsMutation, Types.UpdateUserPlatformConnectionNotificationsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateUserPlatformConnectionNotificationsMutation, Types.UpdateUserPlatformConnectionNotificationsMutationVariables>(UpdateUserPlatformConnectionNotificationsDocument, options);\n }\nexport type UpdateUserPlatformConnectionNotificationsMutationHookResult = ReturnType<typeof useUpdateUserPlatformConnectionNotificationsMutation>;\nexport type UpdateUserPlatformConnectionNotificationsMutationResult = Apollo.MutationResult<Types.UpdateUserPlatformConnectionNotificationsMutation>;\nexport type UpdateUserPlatformConnectionNotificationsMutationOptions = Apollo.BaseMutationOptions<Types.UpdateUserPlatformConnectionNotificationsMutation, Types.UpdateUserPlatformConnectionNotificationsMutationVariables>;\nexport const RevokeUserPlatformConnectionDocument = gql`\n mutation RevokeUserPlatformConnection($id: ID!) {\n revokeUserPlatformConnection(id: $id) {\n id\n dmAllowed\n updatedAt\n }\n}\n `;\nexport type RevokeUserPlatformConnectionMutationFn = Apollo.MutationFunction<Types.RevokeUserPlatformConnectionMutation, Types.RevokeUserPlatformConnectionMutationVariables>;\n\n/**\n * __useRevokeUserPlatformConnectionMutation__\n *\n * To run a mutation, you first call `useRevokeUserPlatformConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRevokeUserPlatformConnectionMutation` 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 [revokeUserPlatformConnectionMutation, { data, loading, error }] = useRevokeUserPlatformConnectionMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useRevokeUserPlatformConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RevokeUserPlatformConnectionMutation, Types.RevokeUserPlatformConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RevokeUserPlatformConnectionMutation, Types.RevokeUserPlatformConnectionMutationVariables>(RevokeUserPlatformConnectionDocument, options);\n }\nexport type RevokeUserPlatformConnectionMutationHookResult = ReturnType<typeof useRevokeUserPlatformConnectionMutation>;\nexport type RevokeUserPlatformConnectionMutationResult = Apollo.MutationResult<Types.RevokeUserPlatformConnectionMutation>;\nexport type RevokeUserPlatformConnectionMutationOptions = Apollo.BaseMutationOptions<Types.RevokeUserPlatformConnectionMutation, Types.RevokeUserPlatformConnectionMutationVariables>;\nexport const LinkIntegrationConnectionDocument = gql`\n mutation LinkIntegrationConnection($integrationConnectionId: ID!, $channelId: ID!) {\n linkIntegrationConnection(\n integrationConnectionId: $integrationConnectionId\n channelId: $channelId\n ) {\n id\n channelId\n platform\n externalUserId\n externalUsername\n externalDisplayName\n dmAllowed\n notificationsEnabled\n connectedAt\n canReceiveDm\n isTokenExpired\n userTokenExpiresAt\n integrationConnectionId\n }\n}\n `;\nexport type LinkIntegrationConnectionMutationFn = Apollo.MutationFunction<Types.LinkIntegrationConnectionMutation, Types.LinkIntegrationConnectionMutationVariables>;\n\n/**\n * __useLinkIntegrationConnectionMutation__\n *\n * To run a mutation, you first call `useLinkIntegrationConnectionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useLinkIntegrationConnectionMutation` 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 [linkIntegrationConnectionMutation, { data, loading, error }] = useLinkIntegrationConnectionMutation({\n * variables: {\n * integrationConnectionId: // value for 'integrationConnectionId'\n * channelId: // value for 'channelId'\n * },\n * });\n */\nexport function useLinkIntegrationConnectionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LinkIntegrationConnectionMutation, Types.LinkIntegrationConnectionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.LinkIntegrationConnectionMutation, Types.LinkIntegrationConnectionMutationVariables>(LinkIntegrationConnectionDocument, options);\n }\nexport type LinkIntegrationConnectionMutationHookResult = ReturnType<typeof useLinkIntegrationConnectionMutation>;\nexport type LinkIntegrationConnectionMutationResult = Apollo.MutationResult<Types.LinkIntegrationConnectionMutation>;\nexport type LinkIntegrationConnectionMutationOptions = Apollo.BaseMutationOptions<Types.LinkIntegrationConnectionMutation, Types.LinkIntegrationConnectionMutationVariables>;"],"mappings":";;;AAsCA,IAAa,IAAmC,CAAG;;;;;;;;;;;;;;;;;;OAuDtC,IAAoD,CAAG;;;;;;;;;;;OAuCvD,IAAuC,CAAG;;;;;;;;OAmC1C,IAAoC,CAAG"}
@@ -0,0 +1,8 @@
1
+ //#region src/generated/global-types.ts
2
+ var e = /* @__PURE__ */ function(e) {
3
+ return e.Communication = "COMMUNICATION", e.Notification = "NOTIFICATION", e;
4
+ }({});
5
+ //#endregion
6
+ export { e as ChannelType };
7
+
8
+ //# sourceMappingURL=global-types.js.map