@burdenoff/microfe-integrations 2026.1107.1 → 2026.1109.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 (245) hide show
  1. package/dist/dev/main.d.ts +0 -2
  2. package/dist/generated/global-operations.d.ts +4 -2
  3. package/dist/generated/global-types.d.ts +210 -190
  4. package/dist/generated/wspace-operations.d.ts +1195 -670
  5. package/dist/generated/wspace-operations.js +265 -149
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +8728 -376
  8. package/dist/generated/wspace-types.js +6 -3
  9. package/dist/generated/wspace-types.js.map +1 -1
  10. package/dist/index.d.ts +0 -1
  11. package/dist/integrations/ConnectSourceDialog.d.ts +0 -2
  12. package/dist/integrations/ConnectSourceDialog.js +13 -14
  13. package/dist/integrations/ConnectSourceDialog.js.map +1 -1
  14. package/dist/integrations/ConnectionsPanel.d.ts +0 -2
  15. package/dist/integrations/ConnectionsPanel.js +5 -6
  16. package/dist/integrations/ConnectionsPanel.js.map +1 -1
  17. package/dist/integrations/IntegrationsAdminRoot.d.ts +0 -2
  18. package/dist/integrations/IntegrationsAdminRoot.js +14 -11
  19. package/dist/integrations/IntegrationsAdminRoot.js.map +1 -1
  20. package/dist/integrations/IntegrationsAdminRoutes.d.ts +1 -2
  21. package/dist/integrations/IntegrationsAdminRoutes.js +1 -2
  22. package/dist/integrations/IntegrationsAdminRoutes.js.map +1 -1
  23. package/dist/integrations/IntegrationsRoot.d.ts +0 -2
  24. package/dist/integrations/IntegrationsRoot.js +9 -6
  25. package/dist/integrations/IntegrationsRoot.js.map +1 -1
  26. package/dist/integrations/IntegrationsUserRoutes.d.ts +1 -2
  27. package/dist/integrations/IntegrationsUserRoutes.js +7 -8
  28. package/dist/integrations/IntegrationsUserRoutes.js.map +1 -1
  29. package/dist/integrations/components/AddConnectionDialog.d.ts +1 -3
  30. package/dist/integrations/components/AddConnectionDialog.js +12 -15
  31. package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
  32. package/dist/integrations/components/AuthMethodsEditor.d.ts +0 -2
  33. package/dist/integrations/components/AuthMethodsEditor.js +1 -2
  34. package/dist/integrations/components/AuthMethodsEditor.js.map +1 -1
  35. package/dist/integrations/components/ConfirmDialog.d.ts +1 -3
  36. package/dist/integrations/components/ConfirmDialog.js +1 -2
  37. package/dist/integrations/components/ConfirmDialog.js.map +1 -1
  38. package/dist/integrations/components/ConnectionCard.d.ts +0 -2
  39. package/dist/integrations/components/ConnectionCard.js +9 -10
  40. package/dist/integrations/components/ConnectionCard.js.map +1 -1
  41. package/dist/integrations/components/ConnectionModalFrame.d.ts +0 -2
  42. package/dist/integrations/components/ConnectionModalFrame.js +2 -3
  43. package/dist/integrations/components/ConnectionModalFrame.js.map +1 -1
  44. package/dist/integrations/components/ConnectionSharing.d.ts +0 -2
  45. package/dist/integrations/components/ConnectionSharing.js +7 -8
  46. package/dist/integrations/components/ConnectionSharing.js.map +1 -1
  47. package/dist/integrations/components/ConnectionStatusBadge.d.ts +0 -2
  48. package/dist/integrations/components/ConnectionStatusBadge.js +1 -2
  49. package/dist/integrations/components/ConnectionStatusBadge.js.map +1 -1
  50. package/dist/integrations/components/ConnectorSubmissionCard.d.ts +2 -4
  51. package/dist/integrations/components/ConnectorSubmissionCard.js +8 -9
  52. package/dist/integrations/components/ConnectorSubmissionCard.js.map +1 -1
  53. package/dist/integrations/components/ConnectorSubmissionPager.d.ts +1 -2
  54. package/dist/integrations/components/ConnectorSubmissionPager.js +1 -2
  55. package/dist/integrations/components/ConnectorSubmissionPager.js.map +1 -1
  56. package/dist/integrations/components/MailMessageBody.d.ts +5 -0
  57. package/dist/integrations/components/MailMessageBody.js +174 -0
  58. package/dist/integrations/components/MailMessageBody.js.map +1 -0
  59. package/dist/integrations/components/ProviderCard.d.ts +0 -2
  60. package/dist/integrations/components/ProviderCard.js +8 -9
  61. package/dist/integrations/components/ProviderCard.js.map +1 -1
  62. package/dist/integrations/constants/featureFlags.d.ts +0 -1
  63. package/dist/integrations/constants/featureFlags.js +1 -2
  64. package/dist/integrations/constants/featureFlags.js.map +1 -1
  65. package/dist/integrations/constants/permissions.d.ts +0 -1
  66. package/dist/integrations/constants/permissions.js +1 -2
  67. package/dist/integrations/constants/permissions.js.map +1 -1
  68. package/dist/integrations/events/integrations-events.d.ts +0 -1
  69. package/dist/integrations/events/useIntegrationsEventBus.d.ts +0 -2
  70. package/dist/integrations/events/useIntegrationsEventBus.js +1 -2
  71. package/dist/integrations/events/useIntegrationsEventBus.js.map +1 -1
  72. package/dist/integrations/hooks/useConnections.d.ts +3 -14
  73. package/dist/integrations/hooks/useConnections.js +74 -75
  74. package/dist/integrations/hooks/useConnections.js.map +1 -1
  75. package/dist/integrations/hooks/useConnectorSubmissions.d.ts +2 -10
  76. package/dist/integrations/hooks/useConnectorSubmissions.js +23 -24
  77. package/dist/integrations/hooks/useConnectorSubmissions.js.map +1 -1
  78. package/dist/integrations/hooks/useFormatDate.d.ts +0 -1
  79. package/dist/integrations/hooks/useFormatDate.js +1 -2
  80. package/dist/integrations/hooks/useFormatDate.js.map +1 -1
  81. package/dist/integrations/hooks/useFormatLastUsed.d.ts +0 -1
  82. package/dist/integrations/hooks/useFormatLastUsed.js +1 -2
  83. package/dist/integrations/hooks/useFormatLastUsed.js.map +1 -1
  84. package/dist/integrations/hooks/useLabel.d.ts +0 -2
  85. package/dist/integrations/hooks/useLabel.js +1 -2
  86. package/dist/integrations/hooks/useLabel.js.map +1 -1
  87. package/dist/integrations/hooks/useLogs.d.ts +1 -6
  88. package/dist/integrations/hooks/useLogs.js +6 -7
  89. package/dist/integrations/hooks/useLogs.js.map +1 -1
  90. package/dist/integrations/hooks/useMailbox.d.ts +77 -40
  91. package/dist/integrations/hooks/useMailbox.js +113 -35
  92. package/dist/integrations/hooks/useMailbox.js.map +1 -1
  93. package/dist/integrations/hooks/useProviders.d.ts +3 -14
  94. package/dist/integrations/hooks/useProviders.js +42 -43
  95. package/dist/integrations/hooks/useProviders.js.map +1 -1
  96. package/dist/integrations/hooks/useTr.d.ts +0 -1
  97. package/dist/integrations/hooks/useTr.js +1 -2
  98. package/dist/integrations/hooks/useTr.js.map +1 -1
  99. package/dist/integrations/index.d.ts +0 -1
  100. package/dist/integrations/index.js +9 -8
  101. package/dist/integrations/pages/AddConnectionWizard.d.ts +1 -2
  102. package/dist/integrations/pages/AddConnectionWizard.js +291 -306
  103. package/dist/integrations/pages/AddConnectionWizard.js.map +1 -1
  104. package/dist/integrations/pages/ConnectionDetail.d.ts +1 -2
  105. package/dist/integrations/pages/ConnectionDetail.js +241 -246
  106. package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
  107. package/dist/integrations/pages/ConnectionLogs.d.ts +1 -2
  108. package/dist/integrations/pages/ConnectionLogs.js +154 -155
  109. package/dist/integrations/pages/ConnectionLogs.js.map +1 -1
  110. package/dist/integrations/pages/ConnectionsList.d.ts +1 -2
  111. package/dist/integrations/pages/ConnectionsList.js +40 -41
  112. package/dist/integrations/pages/ConnectionsList.js.map +1 -1
  113. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts +1 -2
  114. package/dist/integrations/pages/ConnectorReviewQueuePage.js +9 -10
  115. package/dist/integrations/pages/ConnectorReviewQueuePage.js.map +1 -1
  116. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts +1 -2
  117. package/dist/integrations/pages/ConnectorSubmissionsPage.js +138 -139
  118. package/dist/integrations/pages/ConnectorSubmissionsPage.js.map +1 -1
  119. package/dist/integrations/pages/IntegrationsOverview.d.ts +1 -2
  120. package/dist/integrations/pages/IntegrationsOverview.js +35 -36
  121. package/dist/integrations/pages/IntegrationsOverview.js.map +1 -1
  122. package/dist/integrations/pages/IntegrationsSettings.d.ts +1 -2
  123. package/dist/integrations/pages/IntegrationsSettings.js +7 -8
  124. package/dist/integrations/pages/IntegrationsSettings.js.map +1 -1
  125. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts +1 -2
  126. package/dist/integrations/pages/IntegrationsUserLandingPage.js +1 -2
  127. package/dist/integrations/pages/IntegrationsUserLandingPage.js.map +1 -1
  128. package/dist/integrations/pages/MailboxInbox.d.ts +1 -2
  129. package/dist/integrations/pages/MailboxInbox.js +442 -280
  130. package/dist/integrations/pages/MailboxInbox.js.map +1 -1
  131. package/dist/integrations/pages/ProviderCatalog.d.ts +1 -2
  132. package/dist/integrations/pages/ProviderCatalog.js +107 -108
  133. package/dist/integrations/pages/ProviderCatalog.js.map +1 -1
  134. package/dist/integrations/pages/ProviderDetail.d.ts +1 -2
  135. package/dist/integrations/pages/ProviderDetail.js +21 -22
  136. package/dist/integrations/pages/ProviderDetail.js.map +1 -1
  137. package/dist/integrations/pages/ProviderEditorPage.d.ts +1 -2
  138. package/dist/integrations/pages/ProviderEditorPage.js +261 -264
  139. package/dist/integrations/pages/ProviderEditorPage.js.map +1 -1
  140. package/dist/integrations/providers/IntegrationsProvider.d.ts +0 -2
  141. package/dist/integrations/providers/IntegrationsProvider.js +109 -96
  142. package/dist/integrations/providers/IntegrationsProvider.js.map +1 -1
  143. package/dist/integrations/store/integrationsStore.d.ts +0 -2
  144. package/dist/integrations/store/integrationsStore.js +1 -2
  145. package/dist/integrations/store/integrationsStore.js.map +1 -1
  146. package/dist/integrations/store/mailboxStore.d.ts +3 -2
  147. package/dist/integrations/store/mailboxStore.js +8 -2
  148. package/dist/integrations/store/mailboxStore.js.map +1 -1
  149. package/dist/integrations/translations/en.d.ts +0 -1
  150. package/dist/integrations/types/index.d.ts +0 -1
  151. package/dist/integrations/utils/appearance.d.ts +0 -1
  152. package/dist/integrations/utils/appearance.js +1 -2
  153. package/dist/integrations/utils/appearance.js.map +1 -1
  154. package/dist/integrations/utils/cn.d.ts +0 -2
  155. package/dist/integrations/utils/cn.js +2 -3
  156. package/dist/integrations/utils/cn.js.map +1 -1
  157. package/dist/integrations/utils/constants.d.ts +0 -1
  158. package/dist/integrations/utils/constants.js +1 -2
  159. package/dist/integrations/utils/constants.js.map +1 -1
  160. package/dist/integrations/utils/integrationsHelpers.d.ts +0 -2
  161. package/dist/integrations/utils/integrationsHelpers.js +1 -2
  162. package/dist/integrations/utils/integrationsHelpers.js.map +1 -1
  163. package/dist/integrations/utils/mailHtml.d.ts +31 -0
  164. package/dist/integrations/utils/mailHtml.js +126 -0
  165. package/dist/integrations/utils/mailHtml.js.map +1 -0
  166. package/dist/integrations/utils/mappers.d.ts +0 -2
  167. package/dist/integrations/utils/mappers.js +2 -3
  168. package/dist/integrations/utils/mappers.js.map +1 -1
  169. package/dist/integrations/utils/navigation.d.ts +0 -1
  170. package/dist/integrations/utils/navigation.js +2 -8
  171. package/dist/integrations/utils/navigation.js.map +1 -1
  172. package/dist/integrations/utils/paths.d.ts +0 -1
  173. package/dist/integrations/utils/paths.js +1 -2
  174. package/dist/integrations/utils/paths.js.map +1 -1
  175. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  176. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  177. package/dist/node_modules/dompurify/dist/purify.es.js +878 -0
  178. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -0
  179. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
  180. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  181. package/dist/utils/nativeBridge.d.ts +0 -1
  182. package/dist/utils/nativeBridge.js +1 -2
  183. package/package.json +67 -50
  184. package/dist/dev/main.d.ts.map +0 -1
  185. package/dist/generated/global-operations.d.ts.map +0 -1
  186. package/dist/generated/global-types.d.ts.map +0 -1
  187. package/dist/generated/wspace-operations.d.ts.map +0 -1
  188. package/dist/generated/wspace-types.d.ts.map +0 -1
  189. package/dist/index.d.ts.map +0 -1
  190. package/dist/integrations/ConnectSourceDialog.d.ts.map +0 -1
  191. package/dist/integrations/ConnectionsPanel.d.ts.map +0 -1
  192. package/dist/integrations/IntegrationsAdminRoot.d.ts.map +0 -1
  193. package/dist/integrations/IntegrationsAdminRoutes.d.ts.map +0 -1
  194. package/dist/integrations/IntegrationsRoot.d.ts.map +0 -1
  195. package/dist/integrations/IntegrationsUserRoutes.d.ts.map +0 -1
  196. package/dist/integrations/components/AddConnectionDialog.d.ts.map +0 -1
  197. package/dist/integrations/components/AuthMethodsEditor.d.ts.map +0 -1
  198. package/dist/integrations/components/ConfirmDialog.d.ts.map +0 -1
  199. package/dist/integrations/components/ConnectionCard.d.ts.map +0 -1
  200. package/dist/integrations/components/ConnectionModalFrame.d.ts.map +0 -1
  201. package/dist/integrations/components/ConnectionSharing.d.ts.map +0 -1
  202. package/dist/integrations/components/ConnectionStatusBadge.d.ts.map +0 -1
  203. package/dist/integrations/components/ConnectorSubmissionCard.d.ts.map +0 -1
  204. package/dist/integrations/components/ConnectorSubmissionPager.d.ts.map +0 -1
  205. package/dist/integrations/components/ProviderCard.d.ts.map +0 -1
  206. package/dist/integrations/constants/featureFlags.d.ts.map +0 -1
  207. package/dist/integrations/constants/permissions.d.ts.map +0 -1
  208. package/dist/integrations/events/integrations-events.d.ts.map +0 -1
  209. package/dist/integrations/events/useIntegrationsEventBus.d.ts.map +0 -1
  210. package/dist/integrations/hooks/useConnections.d.ts.map +0 -1
  211. package/dist/integrations/hooks/useConnectorSubmissions.d.ts.map +0 -1
  212. package/dist/integrations/hooks/useFormatDate.d.ts.map +0 -1
  213. package/dist/integrations/hooks/useFormatLastUsed.d.ts.map +0 -1
  214. package/dist/integrations/hooks/useLabel.d.ts.map +0 -1
  215. package/dist/integrations/hooks/useLogs.d.ts.map +0 -1
  216. package/dist/integrations/hooks/useMailbox.d.ts.map +0 -1
  217. package/dist/integrations/hooks/useProviders.d.ts.map +0 -1
  218. package/dist/integrations/hooks/useTr.d.ts.map +0 -1
  219. package/dist/integrations/index.d.ts.map +0 -1
  220. package/dist/integrations/pages/AddConnectionWizard.d.ts.map +0 -1
  221. package/dist/integrations/pages/ConnectionDetail.d.ts.map +0 -1
  222. package/dist/integrations/pages/ConnectionLogs.d.ts.map +0 -1
  223. package/dist/integrations/pages/ConnectionsList.d.ts.map +0 -1
  224. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts.map +0 -1
  225. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts.map +0 -1
  226. package/dist/integrations/pages/IntegrationsOverview.d.ts.map +0 -1
  227. package/dist/integrations/pages/IntegrationsSettings.d.ts.map +0 -1
  228. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts.map +0 -1
  229. package/dist/integrations/pages/MailboxInbox.d.ts.map +0 -1
  230. package/dist/integrations/pages/ProviderCatalog.d.ts.map +0 -1
  231. package/dist/integrations/pages/ProviderDetail.d.ts.map +0 -1
  232. package/dist/integrations/pages/ProviderEditorPage.d.ts.map +0 -1
  233. package/dist/integrations/providers/IntegrationsProvider.d.ts.map +0 -1
  234. package/dist/integrations/store/integrationsStore.d.ts.map +0 -1
  235. package/dist/integrations/store/mailboxStore.d.ts.map +0 -1
  236. package/dist/integrations/translations/en.d.ts.map +0 -1
  237. package/dist/integrations/types/index.d.ts.map +0 -1
  238. package/dist/integrations/utils/appearance.d.ts.map +0 -1
  239. package/dist/integrations/utils/cn.d.ts.map +0 -1
  240. package/dist/integrations/utils/constants.d.ts.map +0 -1
  241. package/dist/integrations/utils/integrationsHelpers.d.ts.map +0 -1
  242. package/dist/integrations/utils/mappers.d.ts.map +0 -1
  243. package/dist/integrations/utils/navigation.d.ts.map +0 -1
  244. package/dist/integrations/utils/paths.d.ts.map +0 -1
  245. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,206 +1,639 @@
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
8
+ export type Incremental<T> = T | {
9
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
10
+ };
1
11
  import * as Types from './wspace-types';
2
12
  import * as Apollo from '@apollo/client';
3
13
  import * as ApolloReactHooks from '@apollo/client/react';
14
+ export type ApiKeyAuthInput = {
15
+ apiKey: string;
16
+ connectionId: string | number;
17
+ /** Additional schema-shaped fields; apiKey remains the primary secret. */
18
+ values?: Record<string, unknown> | null | undefined;
19
+ };
20
+ /** How the UI collects the credential for an auth method. */
21
+ export type AuthMethodFlow =
22
+ /**
23
+ * Render the method's `configSchema` and save what the user typed
24
+ * (API key, basic auth, bearer token, custom config).
25
+ */
26
+ 'FIELDS'
27
+ /** Nothing to collect and nothing stored — the token is minted on demand. */
28
+ | 'MINTED'
29
+ /**
30
+ * Render a Connect button that runs the OAuth handshake. The user types nothing
31
+ * unless the method also declares fields (bring-your-own OAuth app).
32
+ */
33
+ | 'OAUTH2';
34
+ export type AuthType = 'API_KEY' | 'BASIC_AUTH' | 'BEARER_TOKEN' | 'CUSTOM' | 'OAUTH1' | 'OAUTH2' | 'SERVICE_ACCOUNT'
35
+ /**
36
+ * Provider mints a per-workspace access token via wspace-auth issueWorkspaceToken
37
+ * as a registered platform app (gated by AppWorkspaceAuthorization). No user OAuth.
38
+ */
39
+ | 'WORKSPACE_APP_TOKEN';
40
+ /**
41
+ * Credential material for any auth method, shaped by that method's `configSchema`.
42
+ *
43
+ * This replaces the per-auth-type mutations (`authenticateWithApiKey`,
44
+ * `authenticateWithBasicAuth`, …): the client submits whatever the schema asked
45
+ * for and the server stores it. Properties the schema marks `secret: true` are
46
+ * written only into the encrypted credential payload, never into plain columns.
47
+ */
48
+ export type AuthenticateConnectionInput = {
49
+ /**
50
+ * Auth method to authenticate with. Omit to use the connection's own
51
+ * `authMethodKey`, falling back to the provider default.
52
+ */
53
+ authMethodKey?: string | null | undefined;
54
+ connectionId: string | number;
55
+ values: Record<string, unknown>;
56
+ };
57
+ export type BasicAuthInput = {
58
+ connectionId: string | number;
59
+ password: string;
60
+ username: string;
61
+ /** Additional schema-shaped fields; username/password remain authoritative. */
62
+ values?: Record<string, unknown> | null | undefined;
63
+ };
64
+ export type BearerTokenAuthInput = {
65
+ connectionId: string | number;
66
+ token: string;
67
+ /** Additional schema-shaped fields; token remains authoritative. */
68
+ values?: Record<string, unknown> | null | undefined;
69
+ };
70
+ export type CompleteOAuthInput = {
71
+ code: string;
72
+ connectionId: string | number;
73
+ redirectUri: string;
74
+ state: string;
75
+ };
76
+ export type CompleteUploadInput = {
77
+ /** Optional file description */
78
+ description?: string | null | undefined;
79
+ /**
80
+ * Size of the uploaded file in bytes — required for quota tracking.
81
+ * Must match the fileSize passed to initiateUpload.
82
+ */
83
+ fileSize: string;
84
+ /** Optional folder ID where file will be stored */
85
+ folderId?: string | number | null | undefined;
86
+ /** Upload session ID */
87
+ sessionId: string | number;
88
+ /**
89
+ * Optional client-declared SHA256 of the uploaded bytes (64 lowercase hex characters).
90
+ * Must match a declaration supplied at initiation. Storage verification, when available,
91
+ * is authoritative; a declaration alone is not proof of storage integrity.
92
+ */
93
+ sha256Hash?: string | null | undefined;
94
+ };
95
+ /** How the caller reaches a connection. */
96
+ export type ConnectionAccess =
97
+ /** A workspace administrator who can see and manage the connection but not use it */
98
+ 'ADMINISTRATOR'
99
+ /** Shared with the caller (directly, or through a group or project) as an editor */
100
+ | 'EDITOR' | 'OWNER'
101
+ /** Shared with the caller (directly, or through a group or project) for use */
102
+ | 'USE'
103
+ /** Not shared with the caller, but visible to everyone in the workspace */
104
+ | 'WORKSPACE';
105
+ /** Narrows getConnections to how the caller reaches a connection. */
106
+ export type ConnectionAccessFilter =
107
+ /** Connections the caller owns */
108
+ 'OWNED_BY_ME'
109
+ /** Connections someone else owns and shared with the caller, directly or through a group or project */
110
+ | 'SHARED_WITH_ME';
111
+ export type ConnectionFilterInput = {
112
+ /** Only connections the caller owns, or only those shared with them */
113
+ access?: ConnectionAccessFilter | null | undefined;
114
+ context?: ContextFilterInput | null | undefined;
115
+ providerCategory?: ProviderCategory | null | undefined;
116
+ providerId?: string | number | null | undefined;
117
+ search?: string | null | undefined;
118
+ status?: ConnectionStatus | null | undefined;
119
+ };
120
+ export type ConnectionStatus = 'ACTIVE' | 'ERROR' | 'EXPIRED' | 'INACTIVE' | 'PENDING_AUTH' | 'REVOKED';
121
+ /** Who can reach a connection beyond its owner (BOFF-9726). */
122
+ export type ConnectionVisibility =
123
+ /**
124
+ * Only the owner, the people, groups and projects it is shared with, and workspace administrators,
125
+ * who can see and manage it but not use it
126
+ */
127
+ 'RESTRICTED'
128
+ /** Everyone in the workspace whose role allows it: how every connection behaved before sharing */
129
+ | 'WORKSPACE';
130
+ /** Where an API key connector sends the key. */
131
+ export type ConnectorApiKeyPlacement =
132
+ /** In a request header named by `apiKeyName`. */
133
+ 'HEADER'
134
+ /** In a query parameter named by `apiKeyName`. */
135
+ | 'QUERY';
136
+ /**
137
+ * The OAuth client of your app in the environment you submit to. Alpha and
138
+ * production are separate catalogs, so submit (and register the redirect URI)
139
+ * in each environment with that environment's client.
140
+ */
141
+ export type ConnectorOAuthClientInput = {
142
+ clientId: string;
143
+ /** Write-only. Encrypted before it is stored and never returned. */
144
+ clientSecret: string;
145
+ };
146
+ /** OAuth 2.0 settings. Required for, and only allowed with, authType OAUTH2. */
147
+ export type ConnectorOAuthInput = {
148
+ /** The https authorization endpoint, without a query string. */
149
+ authorizeUrl: string;
150
+ clientId: string;
151
+ /** Write-only. Encrypted before it is stored and never returned. */
152
+ clientSecret: string;
153
+ /** Use PKCE (S256). Defaults to true. */
154
+ pkce?: boolean | null | undefined;
155
+ /** Optional https token revocation endpoint (RFC 7009). */
156
+ revokeUrl?: string | null | undefined;
157
+ /** Defaults to SPACE. */
158
+ scopeSeparator?: ConnectorOAuthScopeSeparator | null | undefined;
159
+ /** Scopes to request (at most 50). */
160
+ scopes?: Array<string> | null | undefined;
161
+ /** Defaults to CLIENT_SECRET_POST. */
162
+ tokenAuthMethod?: ConnectorOAuthTokenAuthMethod | null | undefined;
163
+ /** The https token endpoint, without a query string. */
164
+ tokenUrl: string;
165
+ /** Optional https endpoint returning the signed-in account as JSON. */
166
+ userInfoUrl?: string | null | undefined;
167
+ };
168
+ /** How an OAuth 2.0 connector joins the scopes it requests. */
169
+ export type ConnectorOAuthScopeSeparator =
170
+ /** Comma separated, for APIs that expect it. */
171
+ 'COMMA'
172
+ /** Space separated, as RFC 6749 specifies. */
173
+ | 'SPACE';
174
+ /** How an OAuth 2.0 connector's client authenticates to the token endpoint. */
175
+ export type ConnectorOAuthTokenAuthMethod =
176
+ /** HTTP Basic authentication (client_secret_basic). */
177
+ 'CLIENT_SECRET_BASIC'
178
+ /** client_id and client_secret as form fields (client_secret_post). */
179
+ | 'CLIENT_SECRET_POST';
180
+ export type ConnectorSubmissionFilterInput = {
181
+ status?: ConnectorSubmissionStatus | null | undefined;
182
+ };
183
+ /** Where a connector submission is in review. */
184
+ export type ConnectorSubmissionStatus =
185
+ /** Approved and installed in the catalog. */
186
+ 'APPROVED'
187
+ /** Waiting for a platform reviewer. */
188
+ | 'PENDING_REVIEW'
189
+ /** Rejected; `reviewNotes` says why. */
190
+ | 'REJECTED'
191
+ /** Withdrawn by the developer before a decision. */
192
+ | 'WITHDRAWN';
193
+ /**
194
+ * Context filter input for querying records by context.
195
+ * Supports exact match filtering on context fields.
196
+ */
197
+ export type ContextFilterInput = {
198
+ /** Filter by app ID */
199
+ appId?: string | number | null | undefined;
200
+ /** Filter by project ID */
201
+ projectId?: string | number | null | undefined;
202
+ /** Filter by user ID */
203
+ userId?: string | number | null | undefined;
204
+ /** Filter by workspace ID */
205
+ workspaceId?: string | number | null | undefined;
206
+ };
207
+ /**
208
+ * Operation context for filtering and scoping data.
209
+ * All fields are optional and can be extended as needed.
210
+ */
211
+ export type ContextInput = {
212
+ /** App ID for app-level scoping */
213
+ appId?: string | number | null | undefined;
214
+ /** Additional custom context as JSON */
215
+ custom?: Record<string, unknown> | null | undefined;
216
+ /** Project ID for project-level scoping */
217
+ projectId?: string | number | null | undefined;
218
+ /** User ID for user-level scoping */
219
+ userId?: string | number | null | undefined;
220
+ /** Workspace ID for workspace-level scoping */
221
+ workspaceId?: string | number | null | undefined;
222
+ };
223
+ export type CreateConnectionInput = {
224
+ /**
225
+ * Which of the provider's auth methods to use. Omit to use the provider's
226
+ * default method — the behaviour for every single-method provider.
227
+ */
228
+ authMethodKey?: string | null | undefined;
229
+ config?: Record<string, unknown> | null | undefined;
230
+ context?: ContextInput | null | undefined;
231
+ credentialSecretId?: string | number | null | undefined;
232
+ description?: string | null | undefined;
233
+ managedSecretName?: string | null | undefined;
234
+ name: string;
235
+ providerId: string | number;
236
+ vaultId?: string | number | null | undefined;
237
+ /**
238
+ * Who can reach the new connection. Defaults to WORKSPACE; RESTRICTED keeps it to its owner until
239
+ * it is shared.
240
+ */
241
+ visibility?: ConnectionVisibility | null | undefined;
242
+ };
243
+ export type FileVisibility = 'PRIVATE' | 'PUBLIC' | 'TEAM' | 'WORKSPACE';
244
+ export type GetConnectionTagsInput = {
245
+ entityId: string | number;
246
+ };
247
+ export type InitiateOAuthInput = {
248
+ connectionId: string | number;
249
+ redirectUri: string;
250
+ scopes?: Array<string> | null | undefined;
251
+ };
252
+ export type InitiateUploadInput = {
253
+ /** File extension (e.g., "pdf", "jpg") */
254
+ extension: string;
255
+ /** Name of the file */
256
+ fileName: string;
257
+ /** Total size of the file in bytes */
258
+ fileSize: string;
259
+ /** Optional folder ID where file will be stored */
260
+ folderId?: string | number | null | undefined;
261
+ /** MIME type of the file */
262
+ mimeType: string;
263
+ /** SHA256 hash of the file for deduplication (optional) */
264
+ sha256Hash?: string | null | undefined;
265
+ /** File visibility */
266
+ visibility?: FileVisibility | null | undefined;
267
+ };
268
+ export type InstallProviderPluginInput = {
269
+ apiVersion?: string | null | undefined;
270
+ authType: AuthType;
271
+ availableScopes?: Record<string, unknown> | null | undefined;
272
+ baseUrl?: string | null | undefined;
273
+ category: ProviderCategory;
274
+ color?: string | null | undefined;
275
+ configSchema?: Record<string, unknown> | null | undefined;
276
+ defaultScopes?: Array<string> | null | undefined;
277
+ description?: string | null | undefined;
278
+ displayOrder?: number | null | undefined;
279
+ docsUrl?: string | null | undefined;
280
+ icon?: string | null | undefined;
281
+ key: string;
282
+ name: string;
283
+ oauthConfig?: Record<string, unknown> | null | undefined;
284
+ pluginAuthor?: string | null | undefined;
285
+ pluginRepository?: string | null | undefined;
286
+ pluginVersion?: string | null | undefined;
287
+ rateLimitConfig?: Record<string, unknown> | null | undefined;
288
+ supportedFeatures?: Array<string> | null | undefined;
289
+ website?: string | null | undefined;
290
+ };
291
+ export type IntegrationsPaginationInput = {
292
+ cursor?: string | null | undefined;
293
+ limit?: number | null | undefined;
294
+ offset?: number | null | undefined;
295
+ };
296
+ export type LogAction = 'API_CALL' | 'AUTH_COMPLETED' | 'AUTH_FAILED' | 'AUTH_INITIATED' | 'CONNECTION_CREATED' | 'CONNECTION_DELETED' | 'CONNECTION_UPDATED' | 'CREDENTIAL_UPDATED' | 'PERMISSION_CHANGED' | 'TOKEN_EXPIRED' | 'TOKEN_REFRESHED' | 'TOKEN_REVOKED';
297
+ export type LogFilterInput = {
298
+ action?: LogAction | null | undefined;
299
+ connectionId?: string | number | null | undefined;
300
+ endDate?: string | null | undefined;
301
+ level?: LogLevel | null | undefined;
302
+ startDate?: string | null | undefined;
303
+ };
304
+ export type LogLevel = 'DEBUG' | 'ERROR' | 'INFO' | 'WARNING';
305
+ export type MailboxFolder = 'ALL' | 'INBOX' | 'SENT';
306
+ export type MailboxKind = 'GMAIL' | 'OUTLOOK';
307
+ export type MailboxLabelKind =
308
+ /** An Outlook mail folder. */
309
+ 'FOLDER'
310
+ /** A Gmail system label such as Inbox, Starred or Trash. */
311
+ | 'SYSTEM'
312
+ /** A label the person created in Gmail. */
313
+ | 'USER';
314
+ export type MailboxMessagesInput = {
315
+ connectionId: string | number;
316
+ folder?: MailboxFolder | null | undefined;
317
+ /** A label or folder id from mailboxLabels. When set it replaces folder. */
318
+ folderId?: string | number | null | undefined;
319
+ /** 1-50, default 25. */
320
+ limit?: number | null | undefined;
321
+ pageToken?: string | null | undefined;
322
+ /** Provider search syntax (Gmail search operators, Outlook KQL). At most 500 characters. */
323
+ query?: string | null | undefined;
324
+ };
325
+ export type PluginStatus = 'AVAILABLE' | 'DEPRECATED' | 'DISABLED' | 'INSTALLED';
326
+ export type ProviderCategory = 'ACCOUNTING' | 'ANALYTICS' | 'CALENDAR' | 'CLOUD_STORAGE' | 'COMMUNICATION' | 'CRM' | 'CUSTOM' | 'DEVELOPMENT' | 'EMAIL' | 'PAYMENT' | 'PRODUCTIVITY' | 'SOCIAL';
327
+ export type ProviderFilterInput = {
328
+ authType?: AuthType | null | undefined;
329
+ category?: ProviderCategory | null | undefined;
330
+ isBuiltIn?: boolean | null | undefined;
331
+ isEnabled?: boolean | null | undefined;
332
+ pluginStatus?: PluginStatus | null | undefined;
333
+ search?: string | null | undefined;
334
+ };
335
+ export type ReplaceConnectionTagsInput = {
336
+ entityId: string | number;
337
+ tagIds: Array<string | number>;
338
+ };
339
+ export type SendMailboxMessageInput = {
340
+ /**
341
+ * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10;
342
+ * together at most 17 MB for Gmail and 2.5 MB for Outlook.
343
+ */
344
+ attachmentFileIds?: Array<string | number> | null | undefined;
345
+ bcc?: Array<string> | null | undefined;
346
+ bodyText: string;
347
+ cc?: Array<string> | null | undefined;
348
+ connectionId: string | number;
349
+ /** Reply to this message, keeping it in the same conversation. */
350
+ replyToMessageId?: string | number | null | undefined;
351
+ /** Ignored for an Outlook reply; a Gmail reply without a subject uses "Re: <original subject>". */
352
+ subject?: string | null | undefined;
353
+ to: Array<string>;
354
+ };
355
+ export type SubmitConnectorInput = {
356
+ /** Header or query parameter name carrying the API key. Required for API_KEY connectors. */
357
+ apiKeyName?: string | null | undefined;
358
+ /** Required for API_KEY connectors. */
359
+ apiKeyPlacement?: ConnectorApiKeyPlacement | null | undefined;
360
+ /** Optional word sent before the key in a header, e.g. `Token`. */
361
+ apiKeyPrefix?: string | null | undefined;
362
+ apiVersion?: string | null | undefined;
363
+ /** API_KEY, BEARER_TOKEN, BASIC_AUTH or OAUTH2. */
364
+ authType: AuthType;
365
+ /** The API's https base URL. */
366
+ baseUrl: string;
367
+ category: ProviderCategory;
368
+ /** Brand color as #RRGGBB. */
369
+ color?: string | null | undefined;
370
+ /** What the connector lets a workspace do (10 to 1000 characters). */
371
+ description: string;
372
+ docsUrl: string;
373
+ /** An https image URL or an `iconify:<set>:<name>` icon. */
374
+ icon?: string | null | undefined;
375
+ /** Lowercase slug naming your service, e.g. `acme-crm`. Must be unused. */
376
+ key: string;
377
+ name: string;
378
+ /** Required for OAUTH2 connectors. */
379
+ oauth?: ConnectorOAuthInput | null | undefined;
380
+ privacyPolicyUrl: string;
381
+ publisherName: string;
382
+ repositoryUrl?: string | null | undefined;
383
+ /** A note for the reviewer. */
384
+ submitterNotes?: string | null | undefined;
385
+ supportEmail: string;
386
+ supportedFeatures?: Array<string> | null | undefined;
387
+ termsUrl?: string | null | undefined;
388
+ /** Semantic version, defaults to 1.0.0. */
389
+ version?: string | null | undefined;
390
+ website: string;
391
+ };
392
+ export type TagConnectionInput = {
393
+ entityId: string | number;
394
+ metadata?: Record<string, unknown> | null | undefined;
395
+ source?: string | null | undefined;
396
+ tagId: string | number;
397
+ validFrom?: string | null | undefined;
398
+ validTo?: string | null | undefined;
399
+ };
400
+ export type UntagConnectionInput = {
401
+ entityId: string | number;
402
+ tagId: string | number;
403
+ };
404
+ export type UpdateConnectionInput = {
405
+ config?: Record<string, unknown> | null | undefined;
406
+ description?: string | null | undefined;
407
+ name?: string | null | undefined;
408
+ };
409
+ export type UpdateProviderPluginInput = {
410
+ apiVersion?: string | null | undefined;
411
+ availableScopes?: Record<string, unknown> | null | undefined;
412
+ baseUrl?: string | null | undefined;
413
+ color?: string | null | undefined;
414
+ configSchema?: Record<string, unknown> | null | undefined;
415
+ defaultScopes?: Array<string> | null | undefined;
416
+ description?: string | null | undefined;
417
+ displayOrder?: number | null | undefined;
418
+ docsUrl?: string | null | undefined;
419
+ icon?: string | null | undefined;
420
+ isEnabled?: boolean | null | undefined;
421
+ name?: string | null | undefined;
422
+ oauthConfig?: Record<string, unknown> | null | undefined;
423
+ pluginAuthor?: string | null | undefined;
424
+ pluginRepository?: string | null | undefined;
425
+ pluginVersion?: string | null | undefined;
426
+ rateLimitConfig?: Record<string, unknown> | null | undefined;
427
+ supportedFeatures?: Array<string> | null | undefined;
428
+ website?: string | null | undefined;
429
+ };
430
+ /**
431
+ * Create or replace an auth method on a provider. Matched on `key` within the
432
+ * provider, so re-sending the same key updates in place.
433
+ */
434
+ export type UpsertProviderAuthMethodInput = {
435
+ authType: AuthType;
436
+ availableScopes?: Record<string, unknown> | null | undefined;
437
+ configSchema?: Record<string, unknown> | null | undefined;
438
+ defaultScopes?: Array<string> | null | undefined;
439
+ description?: string | null | undefined;
440
+ displayName: string;
441
+ displayOrder?: number | null | undefined;
442
+ flow?: AuthMethodFlow | null | undefined;
443
+ inject?: Record<string, unknown> | null | undefined;
444
+ isDefault?: boolean | null | undefined;
445
+ isEnabled?: boolean | null | undefined;
446
+ key: string;
447
+ oauthConfig?: Record<string, unknown> | null | undefined;
448
+ };
4
449
  export type IntegrationConnectionFieldsFragment = {
5
- __typename?: 'IntegrationConnection';
6
450
  id: string;
7
451
  name: string;
8
- description?: string | null;
452
+ description: string | null;
9
453
  status: Types.ConnectionStatus;
10
- lastHealthCheck?: string | null;
11
- lastUsedAt?: string | null;
12
- errorMessage?: string | null;
13
- externalAccountId?: string | null;
14
- externalAccountEmail?: string | null;
15
- externalAccountName?: string | null;
454
+ lastHealthCheck: string | null;
455
+ lastUsedAt: string | null;
456
+ errorMessage: string | null;
457
+ externalAccountId: string | null;
458
+ externalAccountEmail: string | null;
459
+ externalAccountName: string | null;
16
460
  grantedScopes: Array<string>;
17
- config?: Record<string, unknown> | null;
18
- metadata?: Record<string, unknown> | null;
461
+ config: Record<string, unknown> | null;
462
+ metadata: Record<string, unknown> | null;
19
463
  createdBy: string;
20
464
  createdAt: string;
21
465
  updatedAt: string;
22
466
  ownerId: string;
23
467
  visibility: Types.ConnectionVisibility;
24
- myAccess?: Types.ConnectionAccess | null;
468
+ myAccess: Types.ConnectionAccess | null;
25
469
  provider: {
26
- __typename?: 'IntegrationProvider';
27
470
  id: string;
28
471
  key: string;
29
472
  name: string;
30
- description?: string | null;
473
+ description: string | null;
31
474
  category: Types.ProviderCategory;
32
475
  authType: Types.AuthType;
33
- icon?: string | null;
34
- color?: string | null;
476
+ icon: string | null;
477
+ color: string | null;
35
478
  pluginStatus: Types.PluginStatus;
36
479
  isEnabled: boolean;
37
480
  connectionCount: number;
38
481
  };
39
482
  tagAssignments: Array<{
40
- __typename?: 'IntegrationConnectionTagAssignment';
41
483
  id: string;
42
484
  tagId: string;
43
485
  entityType: string;
44
486
  entityId: string;
45
487
  source: string;
46
- assignedBy?: string | null;
47
- assignedAt?: string | null;
48
- tag?: {
49
- __typename?: 'UniversalTag';
488
+ assignedBy: string | null;
489
+ assignedAt: string | null;
490
+ tag: {
50
491
  id: string;
51
492
  } | null;
52
493
  }>;
53
494
  };
54
495
  export type IntegrationConnectionSummaryFieldsFragment = {
55
- __typename?: 'IntegrationConnection';
56
496
  id: string;
57
497
  name: string;
58
- description?: string | null;
498
+ description: string | null;
59
499
  status: Types.ConnectionStatus;
60
- lastHealthCheck?: string | null;
61
- lastUsedAt?: string | null;
62
- errorMessage?: string | null;
63
- externalAccountId?: string | null;
64
- externalAccountEmail?: string | null;
65
- externalAccountName?: string | null;
500
+ lastHealthCheck: string | null;
501
+ lastUsedAt: string | null;
502
+ errorMessage: string | null;
503
+ externalAccountId: string | null;
504
+ externalAccountEmail: string | null;
505
+ externalAccountName: string | null;
66
506
  grantedScopes: Array<string>;
67
507
  createdBy: string;
68
508
  createdAt: string;
69
509
  updatedAt: string;
70
510
  ownerId: string;
71
511
  visibility: Types.ConnectionVisibility;
72
- myAccess?: Types.ConnectionAccess | null;
512
+ myAccess: Types.ConnectionAccess | null;
73
513
  provider: {
74
- __typename?: 'IntegrationProvider';
75
514
  id: string;
76
515
  key: string;
77
516
  name: string;
78
- description?: string | null;
517
+ description: string | null;
79
518
  category: Types.ProviderCategory;
80
519
  authType: Types.AuthType;
81
- icon?: string | null;
82
- color?: string | null;
520
+ icon: string | null;
521
+ color: string | null;
83
522
  pluginStatus: Types.PluginStatus;
84
523
  isEnabled: boolean;
85
524
  connectionCount: number;
86
525
  };
87
526
  };
88
527
  export type ConnectorSubmissionFieldsFragment = {
89
- __typename?: 'ConnectorSubmission';
90
528
  id: string;
91
529
  key: string;
92
530
  name: string;
93
531
  description: string;
94
532
  category: Types.ProviderCategory;
95
533
  authType: Types.AuthType;
96
- icon?: string | null;
97
- color?: string | null;
534
+ icon: string | null;
535
+ color: string | null;
98
536
  website: string;
99
537
  docsUrl: string;
100
538
  baseUrl: string;
101
- apiVersion?: string | null;
102
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
103
- apiKeyName?: string | null;
104
- apiKeyPrefix?: string | null;
539
+ apiVersion: string | null;
540
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
541
+ apiKeyName: string | null;
542
+ apiKeyPrefix: string | null;
105
543
  supportedFeatures: Array<string>;
106
544
  publisherName: string;
107
545
  supportEmail: string;
108
546
  privacyPolicyUrl: string;
109
- termsUrl?: string | null;
110
- repositoryUrl?: string | null;
547
+ termsUrl: string | null;
548
+ repositoryUrl: string | null;
111
549
  version: string;
112
- submitterNotes?: string | null;
550
+ submitterNotes: string | null;
113
551
  status: Types.ConnectorSubmissionStatus;
114
552
  submittedBy: string;
115
553
  submittedAt: string;
116
554
  reviewDueAt: string;
117
555
  isReviewOverdue: boolean;
118
- reviewedAt?: string | null;
119
- reviewNotes?: string | null;
120
- providerId?: string | null;
121
- oauth?: {
122
- __typename?: 'ConnectorSubmissionOAuth';
556
+ reviewedAt: string | null;
557
+ reviewNotes: string | null;
558
+ providerId: string | null;
559
+ oauth: {
123
560
  authorizeUrl: string;
124
561
  tokenUrl: string;
125
- revokeUrl?: string | null;
126
- userInfoUrl?: string | null;
562
+ revokeUrl: string | null;
563
+ userInfoUrl: string | null;
127
564
  scopes: Array<string>;
128
565
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
129
566
  pkce: boolean;
130
567
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
131
568
  clientId: string;
132
569
  hasClientSecret: boolean;
133
- clientUpdatedAt?: string | null;
570
+ clientUpdatedAt: string | null;
134
571
  } | null;
135
572
  };
136
573
  export type IntegrationLogFieldsFragment = {
137
- __typename?: 'IntegrationLog';
138
574
  id: string;
139
- connectionId?: string | null;
575
+ connectionId: string | null;
140
576
  action: Types.LogAction;
141
577
  level: Types.LogLevel;
142
578
  message: string;
143
- requestUrl?: string | null;
144
- requestMethod?: string | null;
145
- responseStatus?: number | null;
146
- metadata?: Record<string, unknown> | null;
579
+ requestUrl: string | null;
580
+ requestMethod: string | null;
581
+ responseStatus: number | null;
582
+ metadata: Record<string, unknown> | null;
147
583
  createdAt: string;
148
584
  };
149
585
  export type IntegrationAuthMethodFieldsFragment = {
150
- __typename?: 'IntegrationProviderAuthMethod';
151
586
  id: string;
152
587
  key: string;
153
588
  displayName: string;
154
- description?: string | null;
589
+ description: string | null;
155
590
  authType: Types.AuthType;
156
591
  flow: Types.AuthMethodFlow;
157
592
  defaultScopes: Array<string>;
158
- configSchema?: Record<string, unknown> | null;
593
+ configSchema: Record<string, unknown> | null;
159
594
  isConfigured: boolean;
160
595
  isDefault: boolean;
161
596
  isEnabled: boolean;
162
597
  displayOrder: number;
163
598
  };
164
599
  export type IntegrationProviderFieldsFragment = {
165
- __typename?: 'IntegrationProvider';
166
600
  id: string;
167
601
  key: string;
168
602
  name: string;
169
- description?: string | null;
603
+ description: string | null;
170
604
  category: Types.ProviderCategory;
171
605
  authType: Types.AuthType;
172
- icon?: string | null;
173
- color?: string | null;
174
- website?: string | null;
175
- docsUrl?: string | null;
176
- oauthConfig?: Record<string, unknown> | null;
606
+ icon: string | null;
607
+ color: string | null;
608
+ website: string | null;
609
+ docsUrl: string | null;
610
+ oauthConfig: Record<string, unknown> | null;
177
611
  defaultScopes: Array<string>;
178
- availableScopes?: Record<string, unknown> | null;
179
- baseUrl?: string | null;
180
- apiVersion?: string | null;
181
- rateLimitConfig?: Record<string, unknown> | null;
612
+ availableScopes: Record<string, unknown> | null;
613
+ baseUrl: string | null;
614
+ apiVersion: string | null;
615
+ rateLimitConfig: Record<string, unknown> | null;
182
616
  pluginStatus: Types.PluginStatus;
183
- pluginVersion?: string | null;
184
- pluginAuthor?: string | null;
185
- pluginRepository?: string | null;
617
+ pluginVersion: string | null;
618
+ pluginAuthor: string | null;
619
+ pluginRepository: string | null;
186
620
  isBuiltIn: boolean;
187
621
  isEnabled: boolean;
188
622
  displayOrder: number;
189
623
  supportedFeatures: Array<string>;
190
- configSchema?: Record<string, unknown> | null;
624
+ configSchema: Record<string, unknown> | null;
191
625
  connectionCount: number;
192
626
  createdAt: string;
193
627
  updatedAt: string;
194
628
  authMethods: Array<{
195
- __typename?: 'IntegrationProviderAuthMethod';
196
629
  id: string;
197
630
  key: string;
198
631
  displayName: string;
199
- description?: string | null;
632
+ description: string | null;
200
633
  authType: Types.AuthType;
201
634
  flow: Types.AuthMethodFlow;
202
635
  defaultScopes: Array<string>;
203
- configSchema?: Record<string, unknown> | null;
636
+ configSchema: Record<string, unknown> | null;
204
637
  isConfigured: boolean;
205
638
  isDefault: boolean;
206
639
  isEnabled: boolean;
@@ -208,256 +641,238 @@ export type IntegrationProviderFieldsFragment = {
208
641
  }>;
209
642
  };
210
643
  export type IntegrationProviderSummaryFieldsFragment = {
211
- __typename?: 'IntegrationProvider';
212
644
  id: string;
213
645
  key: string;
214
646
  name: string;
215
- description?: string | null;
647
+ description: string | null;
216
648
  category: Types.ProviderCategory;
217
649
  authType: Types.AuthType;
218
- icon?: string | null;
219
- color?: string | null;
650
+ icon: string | null;
651
+ color: string | null;
220
652
  pluginStatus: Types.PluginStatus;
221
653
  isEnabled: boolean;
222
654
  connectionCount: number;
223
655
  };
224
656
  export type IntegrationConnectionTagAssignmentFieldsFragment = {
225
- __typename?: 'IntegrationConnectionTagAssignment';
226
657
  id: string;
227
658
  tagId: string;
228
659
  entityType: string;
229
660
  entityId: string;
230
661
  source: string;
231
- assignedBy?: string | null;
232
- assignedAt?: string | null;
233
- tag?: {
234
- __typename?: 'UniversalTag';
662
+ assignedBy: string | null;
663
+ assignedAt: string | null;
664
+ tag: {
235
665
  id: string;
236
666
  } | null;
237
667
  };
238
- export type ApproveConnectorSubmissionMutationVariables = Types.Exact<{
239
- id: Types.Scalars['ID']['input'];
240
- notes?: Types.InputMaybe<Types.Scalars['String']['input']>;
668
+ export type ApproveConnectorSubmissionMutationVariables = Exact<{
669
+ id: string | number;
670
+ notes?: string | null | undefined;
241
671
  }>;
242
672
  export type ApproveConnectorSubmissionMutation = {
243
- __typename?: 'Mutation';
244
673
  approveConnectorSubmission: {
245
- __typename?: 'ConnectorSubmission';
246
674
  id: string;
247
675
  key: string;
248
676
  name: string;
249
677
  description: string;
250
678
  category: Types.ProviderCategory;
251
679
  authType: Types.AuthType;
252
- icon?: string | null;
253
- color?: string | null;
680
+ icon: string | null;
681
+ color: string | null;
254
682
  website: string;
255
683
  docsUrl: string;
256
684
  baseUrl: string;
257
- apiVersion?: string | null;
258
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
259
- apiKeyName?: string | null;
260
- apiKeyPrefix?: string | null;
685
+ apiVersion: string | null;
686
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
687
+ apiKeyName: string | null;
688
+ apiKeyPrefix: string | null;
261
689
  supportedFeatures: Array<string>;
262
690
  publisherName: string;
263
691
  supportEmail: string;
264
692
  privacyPolicyUrl: string;
265
- termsUrl?: string | null;
266
- repositoryUrl?: string | null;
693
+ termsUrl: string | null;
694
+ repositoryUrl: string | null;
267
695
  version: string;
268
- submitterNotes?: string | null;
696
+ submitterNotes: string | null;
269
697
  status: Types.ConnectorSubmissionStatus;
270
698
  submittedBy: string;
271
699
  submittedAt: string;
272
700
  reviewDueAt: string;
273
701
  isReviewOverdue: boolean;
274
- reviewedAt?: string | null;
275
- reviewNotes?: string | null;
276
- providerId?: string | null;
277
- oauth?: {
278
- __typename?: 'ConnectorSubmissionOAuth';
702
+ reviewedAt: string | null;
703
+ reviewNotes: string | null;
704
+ providerId: string | null;
705
+ oauth: {
279
706
  authorizeUrl: string;
280
707
  tokenUrl: string;
281
- revokeUrl?: string | null;
282
- userInfoUrl?: string | null;
708
+ revokeUrl: string | null;
709
+ userInfoUrl: string | null;
283
710
  scopes: Array<string>;
284
711
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
285
712
  pkce: boolean;
286
713
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
287
714
  clientId: string;
288
715
  hasClientSecret: boolean;
289
- clientUpdatedAt?: string | null;
716
+ clientUpdatedAt: string | null;
290
717
  } | null;
291
718
  };
292
719
  };
293
- export type AuthenticateConnectionMutationVariables = Types.Exact<{
720
+ export type ArchiveMailboxThreadMutationVariables = Exact<{
721
+ connectionId: string | number;
722
+ threadId: string | number;
723
+ }>;
724
+ export type ArchiveMailboxThreadMutation = {
725
+ archiveMailboxThread: boolean;
726
+ };
727
+ export type AuthenticateConnectionMutationVariables = Exact<{
294
728
  input: Types.AuthenticateConnectionInput;
295
729
  }>;
296
730
  export type AuthenticateConnectionMutation = {
297
- __typename?: 'Mutation';
298
731
  authenticateConnection: {
299
- __typename?: 'IntegrationConnection';
300
732
  id: string;
301
733
  name: string;
302
- description?: string | null;
734
+ description: string | null;
303
735
  status: Types.ConnectionStatus;
304
- lastHealthCheck?: string | null;
305
- lastUsedAt?: string | null;
306
- errorMessage?: string | null;
307
- externalAccountId?: string | null;
308
- externalAccountEmail?: string | null;
309
- externalAccountName?: string | null;
736
+ lastHealthCheck: string | null;
737
+ lastUsedAt: string | null;
738
+ errorMessage: string | null;
739
+ externalAccountId: string | null;
740
+ externalAccountEmail: string | null;
741
+ externalAccountName: string | null;
310
742
  grantedScopes: Array<string>;
311
- config?: Record<string, unknown> | null;
312
- metadata?: Record<string, unknown> | null;
743
+ config: Record<string, unknown> | null;
744
+ metadata: Record<string, unknown> | null;
313
745
  createdBy: string;
314
746
  createdAt: string;
315
747
  updatedAt: string;
316
748
  ownerId: string;
317
749
  visibility: Types.ConnectionVisibility;
318
- myAccess?: Types.ConnectionAccess | null;
750
+ myAccess: Types.ConnectionAccess | null;
319
751
  provider: {
320
- __typename?: 'IntegrationProvider';
321
752
  id: string;
322
753
  key: string;
323
754
  name: string;
324
- description?: string | null;
755
+ description: string | null;
325
756
  category: Types.ProviderCategory;
326
757
  authType: Types.AuthType;
327
- icon?: string | null;
328
- color?: string | null;
758
+ icon: string | null;
759
+ color: string | null;
329
760
  pluginStatus: Types.PluginStatus;
330
761
  isEnabled: boolean;
331
762
  connectionCount: number;
332
763
  };
333
764
  tagAssignments: Array<{
334
- __typename?: 'IntegrationConnectionTagAssignment';
335
765
  id: string;
336
766
  tagId: string;
337
767
  entityType: string;
338
768
  entityId: string;
339
769
  source: string;
340
- assignedBy?: string | null;
341
- assignedAt?: string | null;
342
- tag?: {
343
- __typename?: 'UniversalTag';
770
+ assignedBy: string | null;
771
+ assignedAt: string | null;
772
+ tag: {
344
773
  id: string;
345
774
  } | null;
346
775
  }>;
347
776
  };
348
777
  };
349
- export type AuthenticateWithApiKeyMutationVariables = Types.Exact<{
778
+ export type AuthenticateWithApiKeyMutationVariables = Exact<{
350
779
  input: Types.ApiKeyAuthInput;
351
780
  }>;
352
781
  export type AuthenticateWithApiKeyMutation = {
353
- __typename?: 'Mutation';
354
782
  authenticateWithApiKey: {
355
- __typename?: 'IntegrationConnection';
356
783
  id: string;
357
784
  status: Types.ConnectionStatus;
358
785
  };
359
786
  };
360
- export type AuthenticateWithBasicAuthMutationVariables = Types.Exact<{
787
+ export type AuthenticateWithBasicAuthMutationVariables = Exact<{
361
788
  input: Types.BasicAuthInput;
362
789
  }>;
363
790
  export type AuthenticateWithBasicAuthMutation = {
364
- __typename?: 'Mutation';
365
791
  authenticateWithBasicAuth: {
366
- __typename?: 'IntegrationConnection';
367
792
  id: string;
368
793
  status: Types.ConnectionStatus;
369
794
  };
370
795
  };
371
- export type AuthenticateWithBearerTokenMutationVariables = Types.Exact<{
796
+ export type AuthenticateWithBearerTokenMutationVariables = Exact<{
372
797
  input: Types.BearerTokenAuthInput;
373
798
  }>;
374
799
  export type AuthenticateWithBearerTokenMutation = {
375
- __typename?: 'Mutation';
376
800
  authenticateWithBearerToken: {
377
- __typename?: 'IntegrationConnection';
378
801
  id: string;
379
802
  status: Types.ConnectionStatus;
380
803
  };
381
804
  };
382
- export type CompleteOAuthMutationVariables = Types.Exact<{
805
+ export type CompleteOAuthMutationVariables = Exact<{
383
806
  input: Types.CompleteOAuthInput;
384
807
  }>;
385
808
  export type CompleteOAuthMutation = {
386
- __typename?: 'Mutation';
387
809
  completeOAuth: {
388
- __typename?: 'IntegrationConnection';
389
810
  id: string;
390
811
  status: Types.ConnectionStatus;
391
812
  };
392
813
  };
393
- export type CreateConnectionMutationVariables = Types.Exact<{
814
+ export type CreateConnectionMutationVariables = Exact<{
394
815
  input: Types.CreateConnectionInput;
395
816
  }>;
396
817
  export type CreateConnectionMutation = {
397
- __typename?: 'Mutation';
398
818
  createConnection: {
399
- __typename?: 'IntegrationConnection';
400
819
  id: string;
401
820
  name: string;
402
- description?: string | null;
821
+ description: string | null;
403
822
  status: Types.ConnectionStatus;
404
823
  createdAt: string;
405
824
  };
406
825
  };
407
- export type DeleteConnectionMutationVariables = Types.Exact<{
408
- id: Types.Scalars['ID']['input'];
409
- deleteVaultSecret?: Types.InputMaybe<Types.Scalars['Boolean']['input']>;
826
+ export type DeleteConnectionMutationVariables = Exact<{
827
+ id: string | number;
828
+ deleteVaultSecret?: boolean | null | undefined;
410
829
  }>;
411
830
  export type DeleteConnectionMutation = {
412
- __typename?: 'Mutation';
413
831
  deleteConnection: boolean;
414
832
  };
415
- export type DeleteProviderAuthMethodMutationVariables = Types.Exact<{
416
- providerId: Types.Scalars['ID']['input'];
417
- key: Types.Scalars['String']['input'];
833
+ export type DeleteProviderAuthMethodMutationVariables = Exact<{
834
+ providerId: string | number;
835
+ key: string;
418
836
  }>;
419
837
  export type DeleteProviderAuthMethodMutation = {
420
- __typename?: 'Mutation';
421
838
  deleteProviderAuthMethod: {
422
- __typename?: 'IntegrationProvider';
423
839
  id: string;
424
840
  key: string;
425
841
  name: string;
426
- description?: string | null;
842
+ description: string | null;
427
843
  category: Types.ProviderCategory;
428
844
  authType: Types.AuthType;
429
- icon?: string | null;
430
- color?: string | null;
431
- website?: string | null;
432
- docsUrl?: string | null;
433
- oauthConfig?: Record<string, unknown> | null;
845
+ icon: string | null;
846
+ color: string | null;
847
+ website: string | null;
848
+ docsUrl: string | null;
849
+ oauthConfig: Record<string, unknown> | null;
434
850
  defaultScopes: Array<string>;
435
- availableScopes?: Record<string, unknown> | null;
436
- baseUrl?: string | null;
437
- apiVersion?: string | null;
438
- rateLimitConfig?: Record<string, unknown> | null;
851
+ availableScopes: Record<string, unknown> | null;
852
+ baseUrl: string | null;
853
+ apiVersion: string | null;
854
+ rateLimitConfig: Record<string, unknown> | null;
439
855
  pluginStatus: Types.PluginStatus;
440
- pluginVersion?: string | null;
441
- pluginAuthor?: string | null;
442
- pluginRepository?: string | null;
856
+ pluginVersion: string | null;
857
+ pluginAuthor: string | null;
858
+ pluginRepository: string | null;
443
859
  isBuiltIn: boolean;
444
860
  isEnabled: boolean;
445
861
  displayOrder: number;
446
862
  supportedFeatures: Array<string>;
447
- configSchema?: Record<string, unknown> | null;
863
+ configSchema: Record<string, unknown> | null;
448
864
  connectionCount: number;
449
865
  createdAt: string;
450
866
  updatedAt: string;
451
867
  authMethods: Array<{
452
- __typename?: 'IntegrationProviderAuthMethod';
453
868
  id: string;
454
869
  key: string;
455
870
  displayName: string;
456
- description?: string | null;
871
+ description: string | null;
457
872
  authType: Types.AuthType;
458
873
  flow: Types.AuthMethodFlow;
459
874
  defaultScopes: Array<string>;
460
- configSchema?: Record<string, unknown> | null;
875
+ configSchema: Record<string, unknown> | null;
461
876
  isConfigured: boolean;
462
877
  isDefault: boolean;
463
878
  isEnabled: boolean;
@@ -465,84 +880,75 @@ export type DeleteProviderAuthMethodMutation = {
465
880
  }>;
466
881
  };
467
882
  };
468
- export type DisableProviderMutationVariables = Types.Exact<{
469
- id: Types.Scalars['ID']['input'];
883
+ export type DisableProviderMutationVariables = Exact<{
884
+ id: string | number;
470
885
  }>;
471
886
  export type DisableProviderMutation = {
472
- __typename?: 'Mutation';
473
887
  disableProvider: {
474
- __typename?: 'IntegrationProvider';
475
888
  id: string;
476
889
  isEnabled: boolean;
477
890
  };
478
891
  };
479
- export type EnableProviderMutationVariables = Types.Exact<{
480
- id: Types.Scalars['ID']['input'];
892
+ export type EnableProviderMutationVariables = Exact<{
893
+ id: string | number;
481
894
  }>;
482
895
  export type EnableProviderMutation = {
483
- __typename?: 'Mutation';
484
896
  enableProvider: {
485
- __typename?: 'IntegrationProvider';
486
897
  id: string;
487
898
  isEnabled: boolean;
488
899
  };
489
900
  };
490
- export type InitiateOAuthMutationVariables = Types.Exact<{
901
+ export type InitiateOAuthMutationVariables = Exact<{
491
902
  input: Types.InitiateOAuthInput;
492
903
  }>;
493
904
  export type InitiateOAuthMutation = {
494
- __typename?: 'Mutation';
495
905
  initiateOAuth: {
496
- __typename?: 'OAuthInitiationResult';
497
906
  redirectUrl: string;
498
907
  state: string;
499
908
  };
500
909
  };
501
- export type InstallProviderPluginMutationVariables = Types.Exact<{
910
+ export type InstallProviderPluginMutationVariables = Exact<{
502
911
  input: Types.InstallProviderPluginInput;
503
912
  }>;
504
913
  export type InstallProviderPluginMutation = {
505
- __typename?: 'Mutation';
506
914
  installProviderPlugin: {
507
- __typename?: 'IntegrationProvider';
508
915
  id: string;
509
916
  key: string;
510
917
  name: string;
511
- description?: string | null;
918
+ description: string | null;
512
919
  category: Types.ProviderCategory;
513
920
  authType: Types.AuthType;
514
- icon?: string | null;
515
- color?: string | null;
516
- website?: string | null;
517
- docsUrl?: string | null;
518
- oauthConfig?: Record<string, unknown> | null;
921
+ icon: string | null;
922
+ color: string | null;
923
+ website: string | null;
924
+ docsUrl: string | null;
925
+ oauthConfig: Record<string, unknown> | null;
519
926
  defaultScopes: Array<string>;
520
- availableScopes?: Record<string, unknown> | null;
521
- baseUrl?: string | null;
522
- apiVersion?: string | null;
523
- rateLimitConfig?: Record<string, unknown> | null;
927
+ availableScopes: Record<string, unknown> | null;
928
+ baseUrl: string | null;
929
+ apiVersion: string | null;
930
+ rateLimitConfig: Record<string, unknown> | null;
524
931
  pluginStatus: Types.PluginStatus;
525
- pluginVersion?: string | null;
526
- pluginAuthor?: string | null;
527
- pluginRepository?: string | null;
932
+ pluginVersion: string | null;
933
+ pluginAuthor: string | null;
934
+ pluginRepository: string | null;
528
935
  isBuiltIn: boolean;
529
936
  isEnabled: boolean;
530
937
  displayOrder: number;
531
938
  supportedFeatures: Array<string>;
532
- configSchema?: Record<string, unknown> | null;
939
+ configSchema: Record<string, unknown> | null;
533
940
  connectionCount: number;
534
941
  createdAt: string;
535
942
  updatedAt: string;
536
943
  authMethods: Array<{
537
- __typename?: 'IntegrationProviderAuthMethod';
538
944
  id: string;
539
945
  key: string;
540
946
  displayName: string;
541
- description?: string | null;
947
+ description: string | null;
542
948
  authType: Types.AuthType;
543
949
  flow: Types.AuthMethodFlow;
544
950
  defaultScopes: Array<string>;
545
- configSchema?: Record<string, unknown> | null;
951
+ configSchema: Record<string, unknown> | null;
546
952
  isConfigured: boolean;
547
953
  isDefault: boolean;
548
954
  isEnabled: boolean;
@@ -550,337 +956,332 @@ export type InstallProviderPluginMutation = {
550
956
  }>;
551
957
  };
552
958
  };
553
- export type RefreshConnectionTokenMutationVariables = Types.Exact<{
554
- connectionId: Types.Scalars['ID']['input'];
959
+ export type MailboxAttachmentInitiateUploadMutationVariables = Exact<{
960
+ input: Types.InitiateUploadInput;
961
+ }>;
962
+ export type MailboxAttachmentInitiateUploadMutation = {
963
+ initiateUpload: {
964
+ uploadUrl: string | null;
965
+ session: {
966
+ id: string;
967
+ };
968
+ };
969
+ };
970
+ export type MailboxAttachmentCompleteUploadMutationVariables = Exact<{
971
+ input: Types.CompleteUploadInput;
972
+ }>;
973
+ export type MailboxAttachmentCompleteUploadMutation = {
974
+ completeUpload: {
975
+ fileId: string;
976
+ };
977
+ };
978
+ export type RefreshConnectionTokenMutationVariables = Exact<{
979
+ connectionId: string | number;
555
980
  }>;
556
981
  export type RefreshConnectionTokenMutation = {
557
- __typename?: 'Mutation';
558
982
  refreshConnectionToken: {
559
- __typename?: 'IntegrationConnection';
560
983
  id: string;
561
984
  status: Types.ConnectionStatus;
562
985
  };
563
986
  };
564
- export type RejectConnectorSubmissionMutationVariables = Types.Exact<{
565
- id: Types.Scalars['ID']['input'];
566
- reason: Types.Scalars['String']['input'];
987
+ export type RejectConnectorSubmissionMutationVariables = Exact<{
988
+ id: string | number;
989
+ reason: string;
567
990
  }>;
568
991
  export type RejectConnectorSubmissionMutation = {
569
- __typename?: 'Mutation';
570
992
  rejectConnectorSubmission: {
571
- __typename?: 'ConnectorSubmission';
572
993
  id: string;
573
994
  key: string;
574
995
  name: string;
575
996
  description: string;
576
997
  category: Types.ProviderCategory;
577
998
  authType: Types.AuthType;
578
- icon?: string | null;
579
- color?: string | null;
999
+ icon: string | null;
1000
+ color: string | null;
580
1001
  website: string;
581
1002
  docsUrl: string;
582
1003
  baseUrl: string;
583
- apiVersion?: string | null;
584
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
585
- apiKeyName?: string | null;
586
- apiKeyPrefix?: string | null;
1004
+ apiVersion: string | null;
1005
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1006
+ apiKeyName: string | null;
1007
+ apiKeyPrefix: string | null;
587
1008
  supportedFeatures: Array<string>;
588
1009
  publisherName: string;
589
1010
  supportEmail: string;
590
1011
  privacyPolicyUrl: string;
591
- termsUrl?: string | null;
592
- repositoryUrl?: string | null;
1012
+ termsUrl: string | null;
1013
+ repositoryUrl: string | null;
593
1014
  version: string;
594
- submitterNotes?: string | null;
1015
+ submitterNotes: string | null;
595
1016
  status: Types.ConnectorSubmissionStatus;
596
1017
  submittedBy: string;
597
1018
  submittedAt: string;
598
1019
  reviewDueAt: string;
599
1020
  isReviewOverdue: boolean;
600
- reviewedAt?: string | null;
601
- reviewNotes?: string | null;
602
- providerId?: string | null;
603
- oauth?: {
604
- __typename?: 'ConnectorSubmissionOAuth';
1021
+ reviewedAt: string | null;
1022
+ reviewNotes: string | null;
1023
+ providerId: string | null;
1024
+ oauth: {
605
1025
  authorizeUrl: string;
606
1026
  tokenUrl: string;
607
- revokeUrl?: string | null;
608
- userInfoUrl?: string | null;
1027
+ revokeUrl: string | null;
1028
+ userInfoUrl: string | null;
609
1029
  scopes: Array<string>;
610
1030
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
611
1031
  pkce: boolean;
612
1032
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
613
1033
  clientId: string;
614
1034
  hasClientSecret: boolean;
615
- clientUpdatedAt?: string | null;
1035
+ clientUpdatedAt: string | null;
616
1036
  } | null;
617
1037
  };
618
1038
  };
619
- export type RevokeConnectionMutationVariables = Types.Exact<{
620
- connectionId: Types.Scalars['ID']['input'];
1039
+ export type RevokeConnectionMutationVariables = Exact<{
1040
+ connectionId: string | number;
621
1041
  }>;
622
1042
  export type RevokeConnectionMutation = {
623
- __typename?: 'Mutation';
624
1043
  revokeConnection: {
625
- __typename?: 'IntegrationConnection';
626
1044
  id: string;
627
1045
  status: Types.ConnectionStatus;
628
1046
  };
629
1047
  };
630
- export type SendMailboxMessageMutationVariables = Types.Exact<{
1048
+ export type SendMailboxMessageMutationVariables = Exact<{
631
1049
  input: Types.SendMailboxMessageInput;
632
1050
  }>;
633
1051
  export type SendMailboxMessageMutation = {
634
- __typename?: 'Mutation';
635
1052
  sendMailboxMessage: {
636
- __typename?: 'MailboxSendResult';
637
- messageId?: string | null;
638
- threadId?: string | null;
1053
+ messageId: string | null;
1054
+ threadId: string | null;
639
1055
  };
640
1056
  };
641
- export type SetMailboxMessageReadMutationVariables = Types.Exact<{
642
- connectionId: Types.Scalars['ID']['input'];
643
- messageId: Types.Scalars['ID']['input'];
644
- read: Types.Scalars['Boolean']['input'];
1057
+ export type SetMailboxMessageReadMutationVariables = Exact<{
1058
+ connectionId: string | number;
1059
+ messageId: string | number;
1060
+ read: boolean;
645
1061
  }>;
646
1062
  export type SetMailboxMessageReadMutation = {
647
- __typename?: 'Mutation';
648
1063
  setMailboxMessageRead: boolean;
649
1064
  };
650
- export type SubmitConnectorMutationVariables = Types.Exact<{
1065
+ export type SubmitConnectorMutationVariables = Exact<{
651
1066
  input: Types.SubmitConnectorInput;
652
1067
  }>;
653
1068
  export type SubmitConnectorMutation = {
654
- __typename?: 'Mutation';
655
1069
  submitConnector: {
656
- __typename?: 'ConnectorSubmission';
657
1070
  id: string;
658
1071
  key: string;
659
1072
  name: string;
660
1073
  description: string;
661
1074
  category: Types.ProviderCategory;
662
1075
  authType: Types.AuthType;
663
- icon?: string | null;
664
- color?: string | null;
1076
+ icon: string | null;
1077
+ color: string | null;
665
1078
  website: string;
666
1079
  docsUrl: string;
667
1080
  baseUrl: string;
668
- apiVersion?: string | null;
669
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
670
- apiKeyName?: string | null;
671
- apiKeyPrefix?: string | null;
1081
+ apiVersion: string | null;
1082
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1083
+ apiKeyName: string | null;
1084
+ apiKeyPrefix: string | null;
672
1085
  supportedFeatures: Array<string>;
673
1086
  publisherName: string;
674
1087
  supportEmail: string;
675
1088
  privacyPolicyUrl: string;
676
- termsUrl?: string | null;
677
- repositoryUrl?: string | null;
1089
+ termsUrl: string | null;
1090
+ repositoryUrl: string | null;
678
1091
  version: string;
679
- submitterNotes?: string | null;
1092
+ submitterNotes: string | null;
680
1093
  status: Types.ConnectorSubmissionStatus;
681
1094
  submittedBy: string;
682
1095
  submittedAt: string;
683
1096
  reviewDueAt: string;
684
1097
  isReviewOverdue: boolean;
685
- reviewedAt?: string | null;
686
- reviewNotes?: string | null;
687
- providerId?: string | null;
688
- oauth?: {
689
- __typename?: 'ConnectorSubmissionOAuth';
1098
+ reviewedAt: string | null;
1099
+ reviewNotes: string | null;
1100
+ providerId: string | null;
1101
+ oauth: {
690
1102
  authorizeUrl: string;
691
1103
  tokenUrl: string;
692
- revokeUrl?: string | null;
693
- userInfoUrl?: string | null;
1104
+ revokeUrl: string | null;
1105
+ userInfoUrl: string | null;
694
1106
  scopes: Array<string>;
695
1107
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
696
1108
  pkce: boolean;
697
1109
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
698
1110
  clientId: string;
699
1111
  hasClientSecret: boolean;
700
- clientUpdatedAt?: string | null;
1112
+ clientUpdatedAt: string | null;
701
1113
  } | null;
702
1114
  };
703
1115
  };
704
- export type TagConnectionMutationVariables = Types.Exact<{
1116
+ export type TagConnectionMutationVariables = Exact<{
705
1117
  input: Types.TagConnectionInput;
706
1118
  }>;
707
1119
  export type TagConnectionMutation = {
708
- __typename?: 'Mutation';
709
1120
  tagConnection: {
710
- __typename?: 'IntegrationConnectionTagAssignment';
711
1121
  id: string;
712
1122
  tagId: string;
713
1123
  entityType: string;
714
1124
  entityId: string;
715
1125
  source: string;
716
- assignedBy?: string | null;
717
- assignedAt?: string | null;
718
- tag?: {
719
- __typename?: 'UniversalTag';
1126
+ assignedBy: string | null;
1127
+ assignedAt: string | null;
1128
+ tag: {
720
1129
  id: string;
721
1130
  } | null;
722
1131
  };
723
1132
  };
724
- export type UntagConnectionMutationVariables = Types.Exact<{
1133
+ export type UntagConnectionMutationVariables = Exact<{
725
1134
  input: Types.UntagConnectionInput;
726
1135
  }>;
727
1136
  export type UntagConnectionMutation = {
728
- __typename?: 'Mutation';
729
1137
  untagConnection: boolean;
730
1138
  };
731
- export type ReplaceConnectionTagsMutationVariables = Types.Exact<{
1139
+ export type ReplaceConnectionTagsMutationVariables = Exact<{
732
1140
  input: Types.ReplaceConnectionTagsInput;
733
1141
  }>;
734
1142
  export type ReplaceConnectionTagsMutation = {
735
- __typename?: 'Mutation';
736
1143
  replaceConnectionTags: Array<{
737
- __typename?: 'IntegrationConnectionTagAssignment';
738
1144
  id: string;
739
1145
  tagId: string;
740
1146
  entityType: string;
741
1147
  entityId: string;
742
1148
  source: string;
743
- assignedBy?: string | null;
744
- assignedAt?: string | null;
745
- tag?: {
746
- __typename?: 'UniversalTag';
1149
+ assignedBy: string | null;
1150
+ assignedAt: string | null;
1151
+ tag: {
747
1152
  id: string;
748
1153
  } | null;
749
1154
  }>;
750
1155
  };
751
- export type TestConnectionMutationVariables = Types.Exact<{
752
- connectionId: Types.Scalars['ID']['input'];
1156
+ export type TestConnectionMutationVariables = Exact<{
1157
+ connectionId: string | number;
753
1158
  }>;
754
1159
  export type TestConnectionMutation = {
755
- __typename?: 'Mutation';
756
1160
  testConnection: {
757
- __typename?: 'ConnectionTestResult';
758
1161
  success: boolean;
759
1162
  message: string;
760
- latencyMs?: number | null;
1163
+ latencyMs: number | null;
761
1164
  };
762
1165
  };
763
- export type UninstallProviderPluginMutationVariables = Types.Exact<{
764
- id: Types.Scalars['ID']['input'];
1166
+ export type TrashMailboxThreadMutationVariables = Exact<{
1167
+ connectionId: string | number;
1168
+ threadId: string | number;
1169
+ }>;
1170
+ export type TrashMailboxThreadMutation = {
1171
+ trashMailboxThread: boolean;
1172
+ };
1173
+ export type UninstallProviderPluginMutationVariables = Exact<{
1174
+ id: string | number;
765
1175
  }>;
766
1176
  export type UninstallProviderPluginMutation = {
767
- __typename?: 'Mutation';
768
1177
  uninstallProviderPlugin: boolean;
769
1178
  };
770
- export type UpdateConnectionMutationVariables = Types.Exact<{
771
- id: Types.Scalars['ID']['input'];
1179
+ export type UpdateConnectionMutationVariables = Exact<{
1180
+ id: string | number;
772
1181
  input: Types.UpdateConnectionInput;
773
1182
  }>;
774
1183
  export type UpdateConnectionMutation = {
775
- __typename?: 'Mutation';
776
1184
  updateConnection: {
777
- __typename?: 'IntegrationConnection';
778
1185
  id: string;
779
1186
  name: string;
780
- description?: string | null;
1187
+ description: string | null;
781
1188
  };
782
1189
  };
783
- export type UpdateConnectorSubmissionOAuthClientMutationVariables = Types.Exact<{
784
- id: Types.Scalars['ID']['input'];
1190
+ export type UpdateConnectorSubmissionOAuthClientMutationVariables = Exact<{
1191
+ id: string | number;
785
1192
  input: Types.ConnectorOAuthClientInput;
786
1193
  }>;
787
1194
  export type UpdateConnectorSubmissionOAuthClientMutation = {
788
- __typename?: 'Mutation';
789
1195
  updateConnectorSubmissionOAuthClient: {
790
- __typename?: 'ConnectorSubmission';
791
1196
  id: string;
792
1197
  key: string;
793
1198
  name: string;
794
1199
  description: string;
795
1200
  category: Types.ProviderCategory;
796
1201
  authType: Types.AuthType;
797
- icon?: string | null;
798
- color?: string | null;
1202
+ icon: string | null;
1203
+ color: string | null;
799
1204
  website: string;
800
1205
  docsUrl: string;
801
1206
  baseUrl: string;
802
- apiVersion?: string | null;
803
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
804
- apiKeyName?: string | null;
805
- apiKeyPrefix?: string | null;
1207
+ apiVersion: string | null;
1208
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1209
+ apiKeyName: string | null;
1210
+ apiKeyPrefix: string | null;
806
1211
  supportedFeatures: Array<string>;
807
1212
  publisherName: string;
808
1213
  supportEmail: string;
809
1214
  privacyPolicyUrl: string;
810
- termsUrl?: string | null;
811
- repositoryUrl?: string | null;
1215
+ termsUrl: string | null;
1216
+ repositoryUrl: string | null;
812
1217
  version: string;
813
- submitterNotes?: string | null;
1218
+ submitterNotes: string | null;
814
1219
  status: Types.ConnectorSubmissionStatus;
815
1220
  submittedBy: string;
816
1221
  submittedAt: string;
817
1222
  reviewDueAt: string;
818
1223
  isReviewOverdue: boolean;
819
- reviewedAt?: string | null;
820
- reviewNotes?: string | null;
821
- providerId?: string | null;
822
- oauth?: {
823
- __typename?: 'ConnectorSubmissionOAuth';
1224
+ reviewedAt: string | null;
1225
+ reviewNotes: string | null;
1226
+ providerId: string | null;
1227
+ oauth: {
824
1228
  authorizeUrl: string;
825
1229
  tokenUrl: string;
826
- revokeUrl?: string | null;
827
- userInfoUrl?: string | null;
1230
+ revokeUrl: string | null;
1231
+ userInfoUrl: string | null;
828
1232
  scopes: Array<string>;
829
1233
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
830
1234
  pkce: boolean;
831
1235
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
832
1236
  clientId: string;
833
1237
  hasClientSecret: boolean;
834
- clientUpdatedAt?: string | null;
1238
+ clientUpdatedAt: string | null;
835
1239
  } | null;
836
1240
  };
837
1241
  };
838
- export type UpdateProviderPluginMutationVariables = Types.Exact<{
839
- id: Types.Scalars['ID']['input'];
1242
+ export type UpdateProviderPluginMutationVariables = Exact<{
1243
+ id: string | number;
840
1244
  input: Types.UpdateProviderPluginInput;
841
1245
  }>;
842
1246
  export type UpdateProviderPluginMutation = {
843
- __typename?: 'Mutation';
844
1247
  updateProviderPlugin: {
845
- __typename?: 'IntegrationProvider';
846
1248
  id: string;
847
1249
  key: string;
848
1250
  name: string;
849
- description?: string | null;
1251
+ description: string | null;
850
1252
  category: Types.ProviderCategory;
851
1253
  authType: Types.AuthType;
852
- icon?: string | null;
853
- color?: string | null;
854
- website?: string | null;
855
- docsUrl?: string | null;
856
- oauthConfig?: Record<string, unknown> | null;
1254
+ icon: string | null;
1255
+ color: string | null;
1256
+ website: string | null;
1257
+ docsUrl: string | null;
1258
+ oauthConfig: Record<string, unknown> | null;
857
1259
  defaultScopes: Array<string>;
858
- availableScopes?: Record<string, unknown> | null;
859
- baseUrl?: string | null;
860
- apiVersion?: string | null;
861
- rateLimitConfig?: Record<string, unknown> | null;
1260
+ availableScopes: Record<string, unknown> | null;
1261
+ baseUrl: string | null;
1262
+ apiVersion: string | null;
1263
+ rateLimitConfig: Record<string, unknown> | null;
862
1264
  pluginStatus: Types.PluginStatus;
863
- pluginVersion?: string | null;
864
- pluginAuthor?: string | null;
865
- pluginRepository?: string | null;
1265
+ pluginVersion: string | null;
1266
+ pluginAuthor: string | null;
1267
+ pluginRepository: string | null;
866
1268
  isBuiltIn: boolean;
867
1269
  isEnabled: boolean;
868
1270
  displayOrder: number;
869
1271
  supportedFeatures: Array<string>;
870
- configSchema?: Record<string, unknown> | null;
1272
+ configSchema: Record<string, unknown> | null;
871
1273
  connectionCount: number;
872
1274
  createdAt: string;
873
1275
  updatedAt: string;
874
1276
  authMethods: Array<{
875
- __typename?: 'IntegrationProviderAuthMethod';
876
1277
  id: string;
877
1278
  key: string;
878
1279
  displayName: string;
879
- description?: string | null;
1280
+ description: string | null;
880
1281
  authType: Types.AuthType;
881
1282
  flow: Types.AuthMethodFlow;
882
1283
  defaultScopes: Array<string>;
883
- configSchema?: Record<string, unknown> | null;
1284
+ configSchema: Record<string, unknown> | null;
884
1285
  isConfigured: boolean;
885
1286
  isDefault: boolean;
886
1287
  isEnabled: boolean;
@@ -888,52 +1289,49 @@ export type UpdateProviderPluginMutation = {
888
1289
  }>;
889
1290
  };
890
1291
  };
891
- export type UpsertProviderAuthMethodMutationVariables = Types.Exact<{
892
- providerId: Types.Scalars['ID']['input'];
1292
+ export type UpsertProviderAuthMethodMutationVariables = Exact<{
1293
+ providerId: string | number;
893
1294
  input: Types.UpsertProviderAuthMethodInput;
894
1295
  }>;
895
1296
  export type UpsertProviderAuthMethodMutation = {
896
- __typename?: 'Mutation';
897
1297
  upsertProviderAuthMethod: {
898
- __typename?: 'IntegrationProvider';
899
1298
  id: string;
900
1299
  key: string;
901
1300
  name: string;
902
- description?: string | null;
1301
+ description: string | null;
903
1302
  category: Types.ProviderCategory;
904
1303
  authType: Types.AuthType;
905
- icon?: string | null;
906
- color?: string | null;
907
- website?: string | null;
908
- docsUrl?: string | null;
909
- oauthConfig?: Record<string, unknown> | null;
1304
+ icon: string | null;
1305
+ color: string | null;
1306
+ website: string | null;
1307
+ docsUrl: string | null;
1308
+ oauthConfig: Record<string, unknown> | null;
910
1309
  defaultScopes: Array<string>;
911
- availableScopes?: Record<string, unknown> | null;
912
- baseUrl?: string | null;
913
- apiVersion?: string | null;
914
- rateLimitConfig?: Record<string, unknown> | null;
1310
+ availableScopes: Record<string, unknown> | null;
1311
+ baseUrl: string | null;
1312
+ apiVersion: string | null;
1313
+ rateLimitConfig: Record<string, unknown> | null;
915
1314
  pluginStatus: Types.PluginStatus;
916
- pluginVersion?: string | null;
917
- pluginAuthor?: string | null;
918
- pluginRepository?: string | null;
1315
+ pluginVersion: string | null;
1316
+ pluginAuthor: string | null;
1317
+ pluginRepository: string | null;
919
1318
  isBuiltIn: boolean;
920
1319
  isEnabled: boolean;
921
1320
  displayOrder: number;
922
1321
  supportedFeatures: Array<string>;
923
- configSchema?: Record<string, unknown> | null;
1322
+ configSchema: Record<string, unknown> | null;
924
1323
  connectionCount: number;
925
1324
  createdAt: string;
926
1325
  updatedAt: string;
927
1326
  authMethods: Array<{
928
- __typename?: 'IntegrationProviderAuthMethod';
929
1327
  id: string;
930
1328
  key: string;
931
1329
  displayName: string;
932
- description?: string | null;
1330
+ description: string | null;
933
1331
  authType: Types.AuthType;
934
1332
  flow: Types.AuthMethodFlow;
935
1333
  defaultScopes: Array<string>;
936
- configSchema?: Record<string, unknown> | null;
1334
+ configSchema: Record<string, unknown> | null;
937
1335
  isConfigured: boolean;
938
1336
  isDefault: boolean;
939
1337
  isEnabled: boolean;
@@ -941,327 +1339,298 @@ export type UpsertProviderAuthMethodMutation = {
941
1339
  }>;
942
1340
  };
943
1341
  };
944
- export type WithdrawConnectorSubmissionMutationVariables = Types.Exact<{
945
- id: Types.Scalars['ID']['input'];
1342
+ export type WithdrawConnectorSubmissionMutationVariables = Exact<{
1343
+ id: string | number;
946
1344
  }>;
947
1345
  export type WithdrawConnectorSubmissionMutation = {
948
- __typename?: 'Mutation';
949
1346
  withdrawConnectorSubmission: {
950
- __typename?: 'ConnectorSubmission';
951
1347
  id: string;
952
1348
  key: string;
953
1349
  name: string;
954
1350
  description: string;
955
1351
  category: Types.ProviderCategory;
956
1352
  authType: Types.AuthType;
957
- icon?: string | null;
958
- color?: string | null;
1353
+ icon: string | null;
1354
+ color: string | null;
959
1355
  website: string;
960
1356
  docsUrl: string;
961
1357
  baseUrl: string;
962
- apiVersion?: string | null;
963
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
964
- apiKeyName?: string | null;
965
- apiKeyPrefix?: string | null;
1358
+ apiVersion: string | null;
1359
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1360
+ apiKeyName: string | null;
1361
+ apiKeyPrefix: string | null;
966
1362
  supportedFeatures: Array<string>;
967
1363
  publisherName: string;
968
1364
  supportEmail: string;
969
1365
  privacyPolicyUrl: string;
970
- termsUrl?: string | null;
971
- repositoryUrl?: string | null;
1366
+ termsUrl: string | null;
1367
+ repositoryUrl: string | null;
972
1368
  version: string;
973
- submitterNotes?: string | null;
1369
+ submitterNotes: string | null;
974
1370
  status: Types.ConnectorSubmissionStatus;
975
1371
  submittedBy: string;
976
1372
  submittedAt: string;
977
1373
  reviewDueAt: string;
978
1374
  isReviewOverdue: boolean;
979
- reviewedAt?: string | null;
980
- reviewNotes?: string | null;
981
- providerId?: string | null;
982
- oauth?: {
983
- __typename?: 'ConnectorSubmissionOAuth';
1375
+ reviewedAt: string | null;
1376
+ reviewNotes: string | null;
1377
+ providerId: string | null;
1378
+ oauth: {
984
1379
  authorizeUrl: string;
985
1380
  tokenUrl: string;
986
- revokeUrl?: string | null;
987
- userInfoUrl?: string | null;
1381
+ revokeUrl: string | null;
1382
+ userInfoUrl: string | null;
988
1383
  scopes: Array<string>;
989
1384
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
990
1385
  pkce: boolean;
991
1386
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
992
1387
  clientId: string;
993
1388
  hasClientSecret: boolean;
994
- clientUpdatedAt?: string | null;
1389
+ clientUpdatedAt: string | null;
995
1390
  } | null;
996
1391
  };
997
1392
  };
998
- export type ConnectorSubmissionsQueryVariables = Types.Exact<{
999
- filter?: Types.InputMaybe<Types.ConnectorSubmissionFilterInput>;
1000
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1393
+ export type ConnectorSubmissionsQueryVariables = Exact<{
1394
+ filter?: Types.ConnectorSubmissionFilterInput | null | undefined;
1395
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1001
1396
  }>;
1002
1397
  export type ConnectorSubmissionsQuery = {
1003
- __typename?: 'Query';
1004
1398
  connectorSubmissions: {
1005
- __typename?: 'ConnectorSubmissionList';
1006
1399
  total: number;
1007
1400
  hasMore: boolean;
1008
1401
  items: Array<{
1009
- __typename?: 'ConnectorSubmission';
1010
1402
  id: string;
1011
1403
  key: string;
1012
1404
  name: string;
1013
1405
  description: string;
1014
1406
  category: Types.ProviderCategory;
1015
1407
  authType: Types.AuthType;
1016
- icon?: string | null;
1017
- color?: string | null;
1408
+ icon: string | null;
1409
+ color: string | null;
1018
1410
  website: string;
1019
1411
  docsUrl: string;
1020
1412
  baseUrl: string;
1021
- apiVersion?: string | null;
1022
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
1023
- apiKeyName?: string | null;
1024
- apiKeyPrefix?: string | null;
1413
+ apiVersion: string | null;
1414
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1415
+ apiKeyName: string | null;
1416
+ apiKeyPrefix: string | null;
1025
1417
  supportedFeatures: Array<string>;
1026
1418
  publisherName: string;
1027
1419
  supportEmail: string;
1028
1420
  privacyPolicyUrl: string;
1029
- termsUrl?: string | null;
1030
- repositoryUrl?: string | null;
1421
+ termsUrl: string | null;
1422
+ repositoryUrl: string | null;
1031
1423
  version: string;
1032
- submitterNotes?: string | null;
1424
+ submitterNotes: string | null;
1033
1425
  status: Types.ConnectorSubmissionStatus;
1034
1426
  submittedBy: string;
1035
1427
  submittedAt: string;
1036
1428
  reviewDueAt: string;
1037
1429
  isReviewOverdue: boolean;
1038
- reviewedAt?: string | null;
1039
- reviewNotes?: string | null;
1040
- providerId?: string | null;
1041
- oauth?: {
1042
- __typename?: 'ConnectorSubmissionOAuth';
1430
+ reviewedAt: string | null;
1431
+ reviewNotes: string | null;
1432
+ providerId: string | null;
1433
+ oauth: {
1043
1434
  authorizeUrl: string;
1044
1435
  tokenUrl: string;
1045
- revokeUrl?: string | null;
1046
- userInfoUrl?: string | null;
1436
+ revokeUrl: string | null;
1437
+ userInfoUrl: string | null;
1047
1438
  scopes: Array<string>;
1048
1439
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
1049
1440
  pkce: boolean;
1050
1441
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
1051
1442
  clientId: string;
1052
1443
  hasClientSecret: boolean;
1053
- clientUpdatedAt?: string | null;
1444
+ clientUpdatedAt: string | null;
1054
1445
  } | null;
1055
1446
  }>;
1056
1447
  };
1057
1448
  connectorSubmissionReviewStats: {
1058
- __typename?: 'ConnectorSubmissionReviewStats';
1059
1449
  pending: number;
1060
1450
  overdue: number;
1061
1451
  };
1062
1452
  };
1063
- export type GetConnectionQueryVariables = Types.Exact<{
1064
- id: Types.Scalars['ID']['input'];
1453
+ export type GetConnectionQueryVariables = Exact<{
1454
+ id: string | number;
1065
1455
  }>;
1066
1456
  export type GetConnectionQuery = {
1067
- __typename?: 'Query';
1068
- getConnection?: {
1069
- __typename?: 'IntegrationConnection';
1457
+ getConnection: {
1070
1458
  id: string;
1071
1459
  name: string;
1072
- description?: string | null;
1460
+ description: string | null;
1073
1461
  status: Types.ConnectionStatus;
1074
- lastHealthCheck?: string | null;
1075
- lastUsedAt?: string | null;
1076
- errorMessage?: string | null;
1077
- externalAccountId?: string | null;
1078
- externalAccountEmail?: string | null;
1079
- externalAccountName?: string | null;
1462
+ lastHealthCheck: string | null;
1463
+ lastUsedAt: string | null;
1464
+ errorMessage: string | null;
1465
+ externalAccountId: string | null;
1466
+ externalAccountEmail: string | null;
1467
+ externalAccountName: string | null;
1080
1468
  grantedScopes: Array<string>;
1081
- config?: Record<string, unknown> | null;
1082
- metadata?: Record<string, unknown> | null;
1469
+ config: Record<string, unknown> | null;
1470
+ metadata: Record<string, unknown> | null;
1083
1471
  createdBy: string;
1084
1472
  createdAt: string;
1085
1473
  updatedAt: string;
1086
1474
  ownerId: string;
1087
1475
  visibility: Types.ConnectionVisibility;
1088
- myAccess?: Types.ConnectionAccess | null;
1476
+ myAccess: Types.ConnectionAccess | null;
1089
1477
  provider: {
1090
- __typename?: 'IntegrationProvider';
1091
1478
  id: string;
1092
1479
  key: string;
1093
1480
  name: string;
1094
- description?: string | null;
1481
+ description: string | null;
1095
1482
  category: Types.ProviderCategory;
1096
1483
  authType: Types.AuthType;
1097
- icon?: string | null;
1098
- color?: string | null;
1484
+ icon: string | null;
1485
+ color: string | null;
1099
1486
  pluginStatus: Types.PluginStatus;
1100
1487
  isEnabled: boolean;
1101
1488
  connectionCount: number;
1102
1489
  };
1103
1490
  tagAssignments: Array<{
1104
- __typename?: 'IntegrationConnectionTagAssignment';
1105
1491
  id: string;
1106
1492
  tagId: string;
1107
1493
  entityType: string;
1108
1494
  entityId: string;
1109
1495
  source: string;
1110
- assignedBy?: string | null;
1111
- assignedAt?: string | null;
1112
- tag?: {
1113
- __typename?: 'UniversalTag';
1496
+ assignedBy: string | null;
1497
+ assignedAt: string | null;
1498
+ tag: {
1114
1499
  id: string;
1115
1500
  } | null;
1116
1501
  }>;
1117
1502
  } | null;
1118
1503
  };
1119
- export type GetConnectionLogsQueryVariables = Types.Exact<{
1120
- connectionId: Types.Scalars['ID']['input'];
1121
- filter?: Types.InputMaybe<Types.LogFilterInput>;
1122
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1504
+ export type GetConnectionLogsQueryVariables = Exact<{
1505
+ connectionId: string | number;
1506
+ filter?: Types.LogFilterInput | null | undefined;
1507
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1123
1508
  }>;
1124
1509
  export type GetConnectionLogsQuery = {
1125
- __typename?: 'Query';
1126
1510
  getConnectionLogs: {
1127
- __typename?: 'LogList';
1128
1511
  total: number;
1129
1512
  hasMore: boolean;
1130
1513
  items: Array<{
1131
- __typename?: 'IntegrationLog';
1132
1514
  id: string;
1133
- connectionId?: string | null;
1515
+ connectionId: string | null;
1134
1516
  action: Types.LogAction;
1135
1517
  level: Types.LogLevel;
1136
1518
  message: string;
1137
- requestUrl?: string | null;
1138
- requestMethod?: string | null;
1139
- responseStatus?: number | null;
1140
- metadata?: Record<string, unknown> | null;
1519
+ requestUrl: string | null;
1520
+ requestMethod: string | null;
1521
+ responseStatus: number | null;
1522
+ metadata: Record<string, unknown> | null;
1141
1523
  createdAt: string;
1142
1524
  }>;
1143
1525
  };
1144
1526
  };
1145
- export type GetConnectionTagsQueryVariables = Types.Exact<{
1527
+ export type GetConnectionTagsQueryVariables = Exact<{
1146
1528
  input: Types.GetConnectionTagsInput;
1147
1529
  }>;
1148
1530
  export type GetConnectionTagsQuery = {
1149
- __typename?: 'Query';
1150
1531
  getConnectionTags: Array<{
1151
- __typename?: 'IntegrationConnectionTagAssignment';
1152
1532
  id: string;
1153
1533
  tagId: string;
1154
1534
  entityType: string;
1155
1535
  entityId: string;
1156
1536
  source: string;
1157
- assignedBy?: string | null;
1158
- assignedAt?: string | null;
1159
- tag?: {
1160
- __typename?: 'UniversalTag';
1537
+ assignedBy: string | null;
1538
+ assignedAt: string | null;
1539
+ tag: {
1161
1540
  id: string;
1162
1541
  } | null;
1163
1542
  }>;
1164
1543
  };
1165
- export type GetConnectionsQueryVariables = Types.Exact<{
1166
- filter?: Types.InputMaybe<Types.ConnectionFilterInput>;
1167
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1544
+ export type GetConnectionsQueryVariables = Exact<{
1545
+ filter?: Types.ConnectionFilterInput | null | undefined;
1546
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1168
1547
  }>;
1169
1548
  export type GetConnectionsQuery = {
1170
- __typename?: 'Query';
1171
1549
  getConnections: {
1172
- __typename?: 'ConnectionList';
1173
1550
  total: number;
1174
1551
  hasMore: boolean;
1175
1552
  items: Array<{
1176
- __typename?: 'IntegrationConnection';
1177
1553
  id: string;
1178
1554
  name: string;
1179
- description?: string | null;
1555
+ description: string | null;
1180
1556
  status: Types.ConnectionStatus;
1181
- lastHealthCheck?: string | null;
1182
- lastUsedAt?: string | null;
1183
- errorMessage?: string | null;
1184
- externalAccountId?: string | null;
1185
- externalAccountEmail?: string | null;
1186
- externalAccountName?: string | null;
1557
+ lastHealthCheck: string | null;
1558
+ lastUsedAt: string | null;
1559
+ errorMessage: string | null;
1560
+ externalAccountId: string | null;
1561
+ externalAccountEmail: string | null;
1562
+ externalAccountName: string | null;
1187
1563
  grantedScopes: Array<string>;
1188
- config?: Record<string, unknown> | null;
1189
- metadata?: Record<string, unknown> | null;
1564
+ config: Record<string, unknown> | null;
1565
+ metadata: Record<string, unknown> | null;
1190
1566
  createdBy: string;
1191
1567
  createdAt: string;
1192
1568
  updatedAt: string;
1193
1569
  ownerId: string;
1194
1570
  visibility: Types.ConnectionVisibility;
1195
- myAccess?: Types.ConnectionAccess | null;
1571
+ myAccess: Types.ConnectionAccess | null;
1196
1572
  provider: {
1197
- __typename?: 'IntegrationProvider';
1198
1573
  id: string;
1199
1574
  key: string;
1200
1575
  name: string;
1201
- description?: string | null;
1576
+ description: string | null;
1202
1577
  category: Types.ProviderCategory;
1203
1578
  authType: Types.AuthType;
1204
- icon?: string | null;
1205
- color?: string | null;
1579
+ icon: string | null;
1580
+ color: string | null;
1206
1581
  pluginStatus: Types.PluginStatus;
1207
1582
  isEnabled: boolean;
1208
1583
  connectionCount: number;
1209
1584
  };
1210
1585
  tagAssignments: Array<{
1211
- __typename?: 'IntegrationConnectionTagAssignment';
1212
1586
  id: string;
1213
1587
  tagId: string;
1214
1588
  entityType: string;
1215
1589
  entityId: string;
1216
1590
  source: string;
1217
- assignedBy?: string | null;
1218
- assignedAt?: string | null;
1219
- tag?: {
1220
- __typename?: 'UniversalTag';
1591
+ assignedBy: string | null;
1592
+ assignedAt: string | null;
1593
+ tag: {
1221
1594
  id: string;
1222
1595
  } | null;
1223
1596
  }>;
1224
1597
  }>;
1225
1598
  };
1226
1599
  };
1227
- export type GetConnectionsByProviderQueryVariables = Types.Exact<{
1228
- providerId: Types.Scalars['ID']['input'];
1229
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1600
+ export type GetConnectionsByProviderQueryVariables = Exact<{
1601
+ providerId: string | number;
1602
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1230
1603
  }>;
1231
1604
  export type GetConnectionsByProviderQuery = {
1232
- __typename?: 'Query';
1233
1605
  getConnectionsByProvider: {
1234
- __typename?: 'ConnectionList';
1235
1606
  total: number;
1236
1607
  items: Array<{
1237
- __typename?: 'IntegrationConnection';
1238
1608
  id: string;
1239
1609
  name: string;
1240
- description?: string | null;
1610
+ description: string | null;
1241
1611
  status: Types.ConnectionStatus;
1242
- lastHealthCheck?: string | null;
1243
- lastUsedAt?: string | null;
1244
- errorMessage?: string | null;
1245
- externalAccountId?: string | null;
1246
- externalAccountEmail?: string | null;
1247
- externalAccountName?: string | null;
1612
+ lastHealthCheck: string | null;
1613
+ lastUsedAt: string | null;
1614
+ errorMessage: string | null;
1615
+ externalAccountId: string | null;
1616
+ externalAccountEmail: string | null;
1617
+ externalAccountName: string | null;
1248
1618
  grantedScopes: Array<string>;
1249
1619
  createdBy: string;
1250
1620
  createdAt: string;
1251
1621
  updatedAt: string;
1252
1622
  ownerId: string;
1253
1623
  visibility: Types.ConnectionVisibility;
1254
- myAccess?: Types.ConnectionAccess | null;
1624
+ myAccess: Types.ConnectionAccess | null;
1255
1625
  provider: {
1256
- __typename?: 'IntegrationProvider';
1257
1626
  id: string;
1258
1627
  key: string;
1259
1628
  name: string;
1260
- description?: string | null;
1629
+ description: string | null;
1261
1630
  category: Types.ProviderCategory;
1262
1631
  authType: Types.AuthType;
1263
- icon?: string | null;
1264
- color?: string | null;
1632
+ icon: string | null;
1633
+ color: string | null;
1265
1634
  pluginStatus: Types.PluginStatus;
1266
1635
  isEnabled: boolean;
1267
1636
  connectionCount: number;
@@ -1269,76 +1638,70 @@ export type GetConnectionsByProviderQuery = {
1269
1638
  }>;
1270
1639
  };
1271
1640
  };
1272
- export type GetIntegrationLogsQueryVariables = Types.Exact<{
1273
- filter?: Types.InputMaybe<Types.LogFilterInput>;
1274
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1641
+ export type GetIntegrationLogsQueryVariables = Exact<{
1642
+ filter?: Types.LogFilterInput | null | undefined;
1643
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1275
1644
  }>;
1276
1645
  export type GetIntegrationLogsQuery = {
1277
- __typename?: 'Query';
1278
1646
  getIntegrationLogs: {
1279
- __typename?: 'LogList';
1280
1647
  total: number;
1281
1648
  hasMore: boolean;
1282
1649
  items: Array<{
1283
- __typename?: 'IntegrationLog';
1284
1650
  id: string;
1285
- connectionId?: string | null;
1651
+ connectionId: string | null;
1286
1652
  action: Types.LogAction;
1287
1653
  level: Types.LogLevel;
1288
1654
  message: string;
1289
- requestUrl?: string | null;
1290
- requestMethod?: string | null;
1291
- responseStatus?: number | null;
1292
- metadata?: Record<string, unknown> | null;
1655
+ requestUrl: string | null;
1656
+ requestMethod: string | null;
1657
+ responseStatus: number | null;
1658
+ metadata: Record<string, unknown> | null;
1293
1659
  createdAt: string;
1294
1660
  }>;
1295
1661
  };
1296
1662
  };
1297
- export type GetProviderQueryVariables = Types.Exact<{
1298
- id: Types.Scalars['ID']['input'];
1663
+ export type GetProviderQueryVariables = Exact<{
1664
+ id: string | number;
1299
1665
  }>;
1300
1666
  export type GetProviderQuery = {
1301
- __typename?: 'Query';
1302
- getProvider?: {
1303
- __typename?: 'IntegrationProvider';
1667
+ getProvider: {
1304
1668
  id: string;
1305
1669
  key: string;
1306
1670
  name: string;
1307
- description?: string | null;
1671
+ description: string | null;
1308
1672
  category: Types.ProviderCategory;
1309
1673
  authType: Types.AuthType;
1310
- icon?: string | null;
1311
- color?: string | null;
1312
- website?: string | null;
1313
- docsUrl?: string | null;
1314
- oauthConfig?: Record<string, unknown> | null;
1674
+ icon: string | null;
1675
+ color: string | null;
1676
+ website: string | null;
1677
+ docsUrl: string | null;
1678
+ oauthConfig: Record<string, unknown> | null;
1315
1679
  defaultScopes: Array<string>;
1316
- availableScopes?: Record<string, unknown> | null;
1317
- baseUrl?: string | null;
1318
- apiVersion?: string | null;
1319
- rateLimitConfig?: Record<string, unknown> | null;
1680
+ availableScopes: Record<string, unknown> | null;
1681
+ baseUrl: string | null;
1682
+ apiVersion: string | null;
1683
+ rateLimitConfig: Record<string, unknown> | null;
1320
1684
  pluginStatus: Types.PluginStatus;
1321
- pluginVersion?: string | null;
1322
- pluginAuthor?: string | null;
1323
- pluginRepository?: string | null;
1685
+ pluginVersion: string | null;
1686
+ pluginAuthor: string | null;
1687
+ pluginRepository: string | null;
1324
1688
  isBuiltIn: boolean;
1325
1689
  isEnabled: boolean;
1326
1690
  displayOrder: number;
1327
1691
  supportedFeatures: Array<string>;
1328
- configSchema?: Record<string, unknown> | null;
1692
+ configSchema: Record<string, unknown> | null;
1329
1693
  connectionCount: number;
1330
1694
  createdAt: string;
1331
1695
  updatedAt: string;
1332
1696
  authMethods: Array<{
1333
- __typename?: 'IntegrationProviderAuthMethod';
1334
1697
  id: string;
1335
1698
  key: string;
1336
1699
  displayName: string;
1337
- description?: string | null;
1700
+ description: string | null;
1338
1701
  authType: Types.AuthType;
1339
1702
  flow: Types.AuthMethodFlow;
1340
1703
  defaultScopes: Array<string>;
1341
- configSchema?: Record<string, unknown> | null;
1704
+ configSchema: Record<string, unknown> | null;
1342
1705
  isConfigured: boolean;
1343
1706
  isDefault: boolean;
1344
1707
  isEnabled: boolean;
@@ -1346,51 +1709,48 @@ export type GetProviderQuery = {
1346
1709
  }>;
1347
1710
  } | null;
1348
1711
  };
1349
- export type GetProviderByKeyQueryVariables = Types.Exact<{
1350
- key: Types.Scalars['String']['input'];
1712
+ export type GetProviderByKeyQueryVariables = Exact<{
1713
+ key: string;
1351
1714
  }>;
1352
1715
  export type GetProviderByKeyQuery = {
1353
- __typename?: 'Query';
1354
- getProviderByKey?: {
1355
- __typename?: 'IntegrationProvider';
1716
+ getProviderByKey: {
1356
1717
  id: string;
1357
1718
  key: string;
1358
1719
  name: string;
1359
- description?: string | null;
1720
+ description: string | null;
1360
1721
  category: Types.ProviderCategory;
1361
1722
  authType: Types.AuthType;
1362
- icon?: string | null;
1363
- color?: string | null;
1364
- website?: string | null;
1365
- docsUrl?: string | null;
1366
- oauthConfig?: Record<string, unknown> | null;
1723
+ icon: string | null;
1724
+ color: string | null;
1725
+ website: string | null;
1726
+ docsUrl: string | null;
1727
+ oauthConfig: Record<string, unknown> | null;
1367
1728
  defaultScopes: Array<string>;
1368
- availableScopes?: Record<string, unknown> | null;
1369
- baseUrl?: string | null;
1370
- apiVersion?: string | null;
1371
- rateLimitConfig?: Record<string, unknown> | null;
1729
+ availableScopes: Record<string, unknown> | null;
1730
+ baseUrl: string | null;
1731
+ apiVersion: string | null;
1732
+ rateLimitConfig: Record<string, unknown> | null;
1372
1733
  pluginStatus: Types.PluginStatus;
1373
- pluginVersion?: string | null;
1374
- pluginAuthor?: string | null;
1375
- pluginRepository?: string | null;
1734
+ pluginVersion: string | null;
1735
+ pluginAuthor: string | null;
1736
+ pluginRepository: string | null;
1376
1737
  isBuiltIn: boolean;
1377
1738
  isEnabled: boolean;
1378
1739
  displayOrder: number;
1379
1740
  supportedFeatures: Array<string>;
1380
- configSchema?: Record<string, unknown> | null;
1741
+ configSchema: Record<string, unknown> | null;
1381
1742
  connectionCount: number;
1382
1743
  createdAt: string;
1383
1744
  updatedAt: string;
1384
1745
  authMethods: Array<{
1385
- __typename?: 'IntegrationProviderAuthMethod';
1386
1746
  id: string;
1387
1747
  key: string;
1388
1748
  displayName: string;
1389
- description?: string | null;
1749
+ description: string | null;
1390
1750
  authType: Types.AuthType;
1391
1751
  flow: Types.AuthMethodFlow;
1392
1752
  defaultScopes: Array<string>;
1393
- configSchema?: Record<string, unknown> | null;
1753
+ configSchema: Record<string, unknown> | null;
1394
1754
  isConfigured: boolean;
1395
1755
  isDefault: boolean;
1396
1756
  isEnabled: boolean;
@@ -1398,54 +1758,50 @@ export type GetProviderByKeyQuery = {
1398
1758
  }>;
1399
1759
  } | null;
1400
1760
  };
1401
- export type GetProviderCatalogQueryVariables = Types.Exact<{
1402
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1761
+ export type GetProviderCatalogQueryVariables = Exact<{
1762
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1403
1763
  }>;
1404
1764
  export type GetProviderCatalogQuery = {
1405
- __typename?: 'Query';
1406
1765
  getProviderCatalog: {
1407
- __typename?: 'ProviderList';
1408
1766
  total: number;
1409
1767
  items: Array<{
1410
- __typename?: 'IntegrationProvider';
1411
1768
  id: string;
1412
1769
  key: string;
1413
1770
  name: string;
1414
- description?: string | null;
1771
+ description: string | null;
1415
1772
  category: Types.ProviderCategory;
1416
1773
  authType: Types.AuthType;
1417
- icon?: string | null;
1418
- color?: string | null;
1419
- website?: string | null;
1420
- docsUrl?: string | null;
1421
- oauthConfig?: Record<string, unknown> | null;
1774
+ icon: string | null;
1775
+ color: string | null;
1776
+ website: string | null;
1777
+ docsUrl: string | null;
1778
+ oauthConfig: Record<string, unknown> | null;
1422
1779
  defaultScopes: Array<string>;
1423
- availableScopes?: Record<string, unknown> | null;
1424
- baseUrl?: string | null;
1425
- apiVersion?: string | null;
1426
- rateLimitConfig?: Record<string, unknown> | null;
1780
+ availableScopes: Record<string, unknown> | null;
1781
+ baseUrl: string | null;
1782
+ apiVersion: string | null;
1783
+ rateLimitConfig: Record<string, unknown> | null;
1427
1784
  pluginStatus: Types.PluginStatus;
1428
- pluginVersion?: string | null;
1429
- pluginAuthor?: string | null;
1430
- pluginRepository?: string | null;
1785
+ pluginVersion: string | null;
1786
+ pluginAuthor: string | null;
1787
+ pluginRepository: string | null;
1431
1788
  isBuiltIn: boolean;
1432
1789
  isEnabled: boolean;
1433
1790
  displayOrder: number;
1434
1791
  supportedFeatures: Array<string>;
1435
- configSchema?: Record<string, unknown> | null;
1792
+ configSchema: Record<string, unknown> | null;
1436
1793
  connectionCount: number;
1437
1794
  createdAt: string;
1438
1795
  updatedAt: string;
1439
1796
  authMethods: Array<{
1440
- __typename?: 'IntegrationProviderAuthMethod';
1441
1797
  id: string;
1442
1798
  key: string;
1443
1799
  displayName: string;
1444
- description?: string | null;
1800
+ description: string | null;
1445
1801
  authType: Types.AuthType;
1446
1802
  flow: Types.AuthMethodFlow;
1447
1803
  defaultScopes: Array<string>;
1448
- configSchema?: Record<string, unknown> | null;
1804
+ configSchema: Record<string, unknown> | null;
1449
1805
  isConfigured: boolean;
1450
1806
  isDefault: boolean;
1451
1807
  isEnabled: boolean;
@@ -1454,56 +1810,52 @@ export type GetProviderCatalogQuery = {
1454
1810
  }>;
1455
1811
  };
1456
1812
  };
1457
- export type GetProvidersQueryVariables = Types.Exact<{
1458
- filter?: Types.InputMaybe<Types.ProviderFilterInput>;
1459
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1813
+ export type GetProvidersQueryVariables = Exact<{
1814
+ filter?: Types.ProviderFilterInput | null | undefined;
1815
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1460
1816
  }>;
1461
1817
  export type GetProvidersQuery = {
1462
- __typename?: 'Query';
1463
1818
  getProviders: {
1464
- __typename?: 'ProviderList';
1465
1819
  total: number;
1466
1820
  hasMore: boolean;
1467
1821
  items: Array<{
1468
- __typename?: 'IntegrationProvider';
1469
1822
  id: string;
1470
1823
  key: string;
1471
1824
  name: string;
1472
- description?: string | null;
1825
+ description: string | null;
1473
1826
  category: Types.ProviderCategory;
1474
1827
  authType: Types.AuthType;
1475
- icon?: string | null;
1476
- color?: string | null;
1477
- website?: string | null;
1478
- docsUrl?: string | null;
1479
- oauthConfig?: Record<string, unknown> | null;
1828
+ icon: string | null;
1829
+ color: string | null;
1830
+ website: string | null;
1831
+ docsUrl: string | null;
1832
+ oauthConfig: Record<string, unknown> | null;
1480
1833
  defaultScopes: Array<string>;
1481
- availableScopes?: Record<string, unknown> | null;
1482
- baseUrl?: string | null;
1483
- apiVersion?: string | null;
1484
- rateLimitConfig?: Record<string, unknown> | null;
1834
+ availableScopes: Record<string, unknown> | null;
1835
+ baseUrl: string | null;
1836
+ apiVersion: string | null;
1837
+ rateLimitConfig: Record<string, unknown> | null;
1485
1838
  pluginStatus: Types.PluginStatus;
1486
- pluginVersion?: string | null;
1487
- pluginAuthor?: string | null;
1488
- pluginRepository?: string | null;
1839
+ pluginVersion: string | null;
1840
+ pluginAuthor: string | null;
1841
+ pluginRepository: string | null;
1489
1842
  isBuiltIn: boolean;
1490
1843
  isEnabled: boolean;
1491
1844
  displayOrder: number;
1492
1845
  supportedFeatures: Array<string>;
1493
- configSchema?: Record<string, unknown> | null;
1846
+ configSchema: Record<string, unknown> | null;
1494
1847
  connectionCount: number;
1495
1848
  createdAt: string;
1496
1849
  updatedAt: string;
1497
1850
  authMethods: Array<{
1498
- __typename?: 'IntegrationProviderAuthMethod';
1499
1851
  id: string;
1500
1852
  key: string;
1501
1853
  displayName: string;
1502
- description?: string | null;
1854
+ description: string | null;
1503
1855
  authType: Types.AuthType;
1504
1856
  flow: Types.AuthMethodFlow;
1505
1857
  defaultScopes: Array<string>;
1506
- configSchema?: Record<string, unknown> | null;
1858
+ configSchema: Record<string, unknown> | null;
1507
1859
  isConfigured: boolean;
1508
1860
  isDefault: boolean;
1509
1861
  isEnabled: boolean;
@@ -1512,144 +1864,161 @@ export type GetProvidersQuery = {
1512
1864
  }>;
1513
1865
  };
1514
1866
  };
1515
- export type MailboxAccountsQueryVariables = Types.Exact<{
1867
+ export type MailboxAccountsQueryVariables = Exact<{
1516
1868
  [key: string]: never;
1517
1869
  }>;
1518
1870
  export type MailboxAccountsQuery = {
1519
- __typename?: 'Query';
1520
1871
  mailboxAccounts: Array<{
1521
- __typename?: 'MailboxAccount';
1522
1872
  connectionId: string;
1523
1873
  name: string;
1524
1874
  providerKey: string;
1525
1875
  kind: Types.MailboxKind;
1526
- emailAddress?: string | null;
1876
+ emailAddress: string | null;
1527
1877
  status: Types.ConnectionStatus;
1528
1878
  }>;
1529
1879
  };
1530
- export type MailboxMessagesQueryVariables = Types.Exact<{
1880
+ export type MailboxAttachmentQueryVariables = Exact<{
1881
+ connectionId: string | number;
1882
+ messageId: string | number;
1883
+ attachmentId: string | number;
1884
+ }>;
1885
+ export type MailboxAttachmentQuery = {
1886
+ mailboxAttachment: {
1887
+ filename: string;
1888
+ mimeType: string;
1889
+ size: number;
1890
+ contentBase64: string;
1891
+ };
1892
+ };
1893
+ export type MailboxLabelsQueryVariables = Exact<{
1894
+ connectionId: string | number;
1895
+ }>;
1896
+ export type MailboxLabelsQuery = {
1897
+ mailboxLabels: Array<{
1898
+ id: string;
1899
+ name: string;
1900
+ kind: Types.MailboxLabelKind;
1901
+ unreadCount: number | null;
1902
+ totalCount: number | null;
1903
+ }>;
1904
+ };
1905
+ export type MailboxMessagesQueryVariables = Exact<{
1531
1906
  input: Types.MailboxMessagesInput;
1532
1907
  }>;
1533
1908
  export type MailboxMessagesQuery = {
1534
- __typename?: 'Query';
1535
1909
  mailboxMessages: {
1536
- __typename?: 'MailboxMessagePage';
1537
- nextPageToken?: string | null;
1910
+ nextPageToken: string | null;
1538
1911
  messages: Array<{
1539
- __typename?: 'MailboxMessageSummary';
1540
1912
  id: string;
1541
1913
  threadId: string;
1542
1914
  subject: string;
1543
1915
  snippet: string;
1544
- receivedAt?: string | null;
1916
+ receivedAt: string | null;
1545
1917
  isUnread: boolean;
1546
1918
  hasAttachments: boolean;
1547
- from?: {
1548
- __typename?: 'MailboxAddress';
1549
- name?: string | null;
1919
+ from: {
1920
+ name: string | null;
1550
1921
  email: string;
1551
1922
  } | null;
1552
1923
  to: Array<{
1553
- __typename?: 'MailboxAddress';
1554
- name?: string | null;
1924
+ name: string | null;
1555
1925
  email: string;
1556
1926
  }>;
1557
1927
  }>;
1558
1928
  };
1559
1929
  };
1560
- export type MailboxThreadQueryVariables = Types.Exact<{
1561
- connectionId: Types.Scalars['ID']['input'];
1562
- threadId: Types.Scalars['ID']['input'];
1930
+ export type MailboxThreadQueryVariables = Exact<{
1931
+ connectionId: string | number;
1932
+ threadId: string | number;
1563
1933
  }>;
1564
1934
  export type MailboxThreadQuery = {
1565
- __typename?: 'Query';
1566
1935
  mailboxThread: {
1567
- __typename?: 'MailboxThread';
1568
1936
  id: string;
1569
1937
  subject: string;
1570
1938
  messages: Array<{
1571
- __typename?: 'MailboxMessage';
1572
1939
  id: string;
1573
1940
  threadId: string;
1574
1941
  subject: string;
1575
- receivedAt?: string | null;
1942
+ receivedAt: string | null;
1576
1943
  isUnread: boolean;
1577
1944
  hasAttachments: boolean;
1578
1945
  bodyText: string;
1579
- from?: {
1580
- __typename?: 'MailboxAddress';
1581
- name?: string | null;
1946
+ bodyHtml: string | null;
1947
+ attachments: Array<{
1948
+ id: string;
1949
+ filename: string;
1950
+ mimeType: string;
1951
+ size: number;
1952
+ isInline: boolean;
1953
+ contentId: string | null;
1954
+ }>;
1955
+ from: {
1956
+ name: string | null;
1582
1957
  email: string;
1583
1958
  } | null;
1584
1959
  to: Array<{
1585
- __typename?: 'MailboxAddress';
1586
- name?: string | null;
1960
+ name: string | null;
1587
1961
  email: string;
1588
1962
  }>;
1589
1963
  cc: Array<{
1590
- __typename?: 'MailboxAddress';
1591
- name?: string | null;
1964
+ name: string | null;
1592
1965
  email: string;
1593
1966
  }>;
1594
1967
  }>;
1595
1968
  };
1596
1969
  };
1597
- export type MyConnectorSubmissionsQueryVariables = Types.Exact<{
1598
- filter?: Types.InputMaybe<Types.ConnectorSubmissionFilterInput>;
1599
- pagination?: Types.InputMaybe<Types.IntegrationsPaginationInput>;
1970
+ export type MyConnectorSubmissionsQueryVariables = Exact<{
1971
+ filter?: Types.ConnectorSubmissionFilterInput | null | undefined;
1972
+ pagination?: Types.IntegrationsPaginationInput | null | undefined;
1600
1973
  }>;
1601
1974
  export type MyConnectorSubmissionsQuery = {
1602
- __typename?: 'Query';
1603
1975
  myConnectorSubmissions: {
1604
- __typename?: 'ConnectorSubmissionList';
1605
1976
  total: number;
1606
1977
  hasMore: boolean;
1607
1978
  items: Array<{
1608
- __typename?: 'ConnectorSubmission';
1609
1979
  id: string;
1610
1980
  key: string;
1611
1981
  name: string;
1612
1982
  description: string;
1613
1983
  category: Types.ProviderCategory;
1614
1984
  authType: Types.AuthType;
1615
- icon?: string | null;
1616
- color?: string | null;
1985
+ icon: string | null;
1986
+ color: string | null;
1617
1987
  website: string;
1618
1988
  docsUrl: string;
1619
1989
  baseUrl: string;
1620
- apiVersion?: string | null;
1621
- apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
1622
- apiKeyName?: string | null;
1623
- apiKeyPrefix?: string | null;
1990
+ apiVersion: string | null;
1991
+ apiKeyPlacement: Types.ConnectorApiKeyPlacement | null;
1992
+ apiKeyName: string | null;
1993
+ apiKeyPrefix: string | null;
1624
1994
  supportedFeatures: Array<string>;
1625
1995
  publisherName: string;
1626
1996
  supportEmail: string;
1627
1997
  privacyPolicyUrl: string;
1628
- termsUrl?: string | null;
1629
- repositoryUrl?: string | null;
1998
+ termsUrl: string | null;
1999
+ repositoryUrl: string | null;
1630
2000
  version: string;
1631
- submitterNotes?: string | null;
2001
+ submitterNotes: string | null;
1632
2002
  status: Types.ConnectorSubmissionStatus;
1633
2003
  submittedBy: string;
1634
2004
  submittedAt: string;
1635
2005
  reviewDueAt: string;
1636
2006
  isReviewOverdue: boolean;
1637
- reviewedAt?: string | null;
1638
- reviewNotes?: string | null;
1639
- providerId?: string | null;
1640
- oauth?: {
1641
- __typename?: 'ConnectorSubmissionOAuth';
2007
+ reviewedAt: string | null;
2008
+ reviewNotes: string | null;
2009
+ providerId: string | null;
2010
+ oauth: {
1642
2011
  authorizeUrl: string;
1643
2012
  tokenUrl: string;
1644
- revokeUrl?: string | null;
1645
- userInfoUrl?: string | null;
2013
+ revokeUrl: string | null;
2014
+ userInfoUrl: string | null;
1646
2015
  scopes: Array<string>;
1647
2016
  scopeSeparator: Types.ConnectorOAuthScopeSeparator;
1648
2017
  pkce: boolean;
1649
2018
  tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
1650
2019
  clientId: string;
1651
2020
  hasClientSecret: boolean;
1652
- clientUpdatedAt?: string | null;
2021
+ clientUpdatedAt: string | null;
1653
2022
  } | null;
1654
2023
  }>;
1655
2024
  };
@@ -1686,6 +2055,30 @@ export declare function useApproveConnectorSubmissionMutation(baseOptions?: Apol
1686
2055
  export type ApproveConnectorSubmissionMutationHookResult = ReturnType<typeof useApproveConnectorSubmissionMutation>;
1687
2056
  export type ApproveConnectorSubmissionMutationResult = Apollo.MutationResult<Types.ApproveConnectorSubmissionMutation>;
1688
2057
  export type ApproveConnectorSubmissionMutationOptions = Apollo.BaseMutationOptions<Types.ApproveConnectorSubmissionMutation, Types.ApproveConnectorSubmissionMutationVariables>;
2058
+ export declare const ArchiveMailboxThreadDocument: Apollo.DocumentNode;
2059
+ export type ArchiveMailboxThreadMutationFn = Apollo.MutationFunction<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>;
2060
+ /**
2061
+ * __useArchiveMailboxThreadMutation__
2062
+ *
2063
+ * To run a mutation, you first call `useArchiveMailboxThreadMutation` within a React component and pass it any options that fit your needs.
2064
+ * When your component renders, `useArchiveMailboxThreadMutation` returns a tuple that includes:
2065
+ * - A mutate function that you can call at any time to execute the mutation
2066
+ * - An object with fields that represent the current status of the mutation's execution
2067
+ *
2068
+ * @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;
2069
+ *
2070
+ * @example
2071
+ * const [archiveMailboxThreadMutation, { data, loading, error }] = useArchiveMailboxThreadMutation({
2072
+ * variables: {
2073
+ * connectionId: // value for 'connectionId'
2074
+ * threadId: // value for 'threadId'
2075
+ * },
2076
+ * });
2077
+ */
2078
+ export declare function useArchiveMailboxThreadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ArchiveMailboxThreadMutation, any, Apollo.ApolloCache, undefined>;
2079
+ export type ArchiveMailboxThreadMutationHookResult = ReturnType<typeof useArchiveMailboxThreadMutation>;
2080
+ export type ArchiveMailboxThreadMutationResult = Apollo.MutationResult<Types.ArchiveMailboxThreadMutation>;
2081
+ export type ArchiveMailboxThreadMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>;
1689
2082
  export declare const AuthenticateConnectionDocument: Apollo.DocumentNode;
1690
2083
  export type AuthenticateConnectionMutationFn = Apollo.MutationFunction<Types.AuthenticateConnectionMutation, Types.AuthenticateConnectionMutationVariables>;
1691
2084
  /**
@@ -1964,6 +2357,52 @@ export declare function useInstallProviderPluginMutation(baseOptions?: ApolloRea
1964
2357
  export type InstallProviderPluginMutationHookResult = ReturnType<typeof useInstallProviderPluginMutation>;
1965
2358
  export type InstallProviderPluginMutationResult = Apollo.MutationResult<Types.InstallProviderPluginMutation>;
1966
2359
  export type InstallProviderPluginMutationOptions = Apollo.BaseMutationOptions<Types.InstallProviderPluginMutation, Types.InstallProviderPluginMutationVariables>;
2360
+ export declare const MailboxAttachmentInitiateUploadDocument: Apollo.DocumentNode;
2361
+ export type MailboxAttachmentInitiateUploadMutationFn = Apollo.MutationFunction<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>;
2362
+ /**
2363
+ * __useMailboxAttachmentInitiateUploadMutation__
2364
+ *
2365
+ * To run a mutation, you first call `useMailboxAttachmentInitiateUploadMutation` within a React component and pass it any options that fit your needs.
2366
+ * When your component renders, `useMailboxAttachmentInitiateUploadMutation` returns a tuple that includes:
2367
+ * - A mutate function that you can call at any time to execute the mutation
2368
+ * - An object with fields that represent the current status of the mutation's execution
2369
+ *
2370
+ * @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;
2371
+ *
2372
+ * @example
2373
+ * const [mailboxAttachmentInitiateUploadMutation, { data, loading, error }] = useMailboxAttachmentInitiateUploadMutation({
2374
+ * variables: {
2375
+ * input: // value for 'input'
2376
+ * },
2377
+ * });
2378
+ */
2379
+ export declare function useMailboxAttachmentInitiateUploadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MailboxAttachmentInitiateUploadMutation, any, Apollo.ApolloCache, undefined>;
2380
+ export type MailboxAttachmentInitiateUploadMutationHookResult = ReturnType<typeof useMailboxAttachmentInitiateUploadMutation>;
2381
+ export type MailboxAttachmentInitiateUploadMutationResult = Apollo.MutationResult<Types.MailboxAttachmentInitiateUploadMutation>;
2382
+ export type MailboxAttachmentInitiateUploadMutationOptions = Apollo.BaseMutationOptions<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>;
2383
+ export declare const MailboxAttachmentCompleteUploadDocument: Apollo.DocumentNode;
2384
+ export type MailboxAttachmentCompleteUploadMutationFn = Apollo.MutationFunction<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>;
2385
+ /**
2386
+ * __useMailboxAttachmentCompleteUploadMutation__
2387
+ *
2388
+ * To run a mutation, you first call `useMailboxAttachmentCompleteUploadMutation` within a React component and pass it any options that fit your needs.
2389
+ * When your component renders, `useMailboxAttachmentCompleteUploadMutation` returns a tuple that includes:
2390
+ * - A mutate function that you can call at any time to execute the mutation
2391
+ * - An object with fields that represent the current status of the mutation's execution
2392
+ *
2393
+ * @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;
2394
+ *
2395
+ * @example
2396
+ * const [mailboxAttachmentCompleteUploadMutation, { data, loading, error }] = useMailboxAttachmentCompleteUploadMutation({
2397
+ * variables: {
2398
+ * input: // value for 'input'
2399
+ * },
2400
+ * });
2401
+ */
2402
+ export declare function useMailboxAttachmentCompleteUploadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MailboxAttachmentCompleteUploadMutation, any, Apollo.ApolloCache, undefined>;
2403
+ export type MailboxAttachmentCompleteUploadMutationHookResult = ReturnType<typeof useMailboxAttachmentCompleteUploadMutation>;
2404
+ export type MailboxAttachmentCompleteUploadMutationResult = Apollo.MutationResult<Types.MailboxAttachmentCompleteUploadMutation>;
2405
+ export type MailboxAttachmentCompleteUploadMutationOptions = Apollo.BaseMutationOptions<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>;
1967
2406
  export declare const RefreshConnectionTokenDocument: Apollo.DocumentNode;
1968
2407
  export type RefreshConnectionTokenMutationFn = Apollo.MutationFunction<Types.RefreshConnectionTokenMutation, Types.RefreshConnectionTokenMutationVariables>;
1969
2408
  /**
@@ -2197,6 +2636,30 @@ export declare function useTestConnectionMutation(baseOptions?: ApolloReactHooks
2197
2636
  export type TestConnectionMutationHookResult = ReturnType<typeof useTestConnectionMutation>;
2198
2637
  export type TestConnectionMutationResult = Apollo.MutationResult<Types.TestConnectionMutation>;
2199
2638
  export type TestConnectionMutationOptions = Apollo.BaseMutationOptions<Types.TestConnectionMutation, Types.TestConnectionMutationVariables>;
2639
+ export declare const TrashMailboxThreadDocument: Apollo.DocumentNode;
2640
+ export type TrashMailboxThreadMutationFn = Apollo.MutationFunction<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>;
2641
+ /**
2642
+ * __useTrashMailboxThreadMutation__
2643
+ *
2644
+ * To run a mutation, you first call `useTrashMailboxThreadMutation` within a React component and pass it any options that fit your needs.
2645
+ * When your component renders, `useTrashMailboxThreadMutation` returns a tuple that includes:
2646
+ * - A mutate function that you can call at any time to execute the mutation
2647
+ * - An object with fields that represent the current status of the mutation's execution
2648
+ *
2649
+ * @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;
2650
+ *
2651
+ * @example
2652
+ * const [trashMailboxThreadMutation, { data, loading, error }] = useTrashMailboxThreadMutation({
2653
+ * variables: {
2654
+ * connectionId: // value for 'connectionId'
2655
+ * threadId: // value for 'threadId'
2656
+ * },
2657
+ * });
2658
+ */
2659
+ export declare function useTrashMailboxThreadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TrashMailboxThreadMutation, any, Apollo.ApolloCache, undefined>;
2660
+ export type TrashMailboxThreadMutationHookResult = ReturnType<typeof useTrashMailboxThreadMutation>;
2661
+ export type TrashMailboxThreadMutationResult = Apollo.MutationResult<Types.TrashMailboxThreadMutation>;
2662
+ export type TrashMailboxThreadMutationOptions = Apollo.BaseMutationOptions<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>;
2200
2663
  export declare const UninstallProviderPluginDocument: Apollo.DocumentNode;
2201
2664
  export type UninstallProviderPluginMutationFn = Apollo.MutationFunction<Types.UninstallProviderPluginMutation, Types.UninstallProviderPluginMutationVariables>;
2202
2665
  /**
@@ -2357,8 +2820,8 @@ export declare const ConnectorSubmissionsDocument: Apollo.DocumentNode;
2357
2820
  * },
2358
2821
  * });
2359
2822
  */
2360
- export declare function useConnectorSubmissionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", Types.ConnectorSubmissionsQueryVariables>;
2361
- export declare function useConnectorSubmissionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming">;
2823
+ export declare function useConnectorSubmissionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", Types.ConnectorSubmissionsQueryVariables, undefined>;
2824
+ export declare function useConnectorSubmissionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2362
2825
  export declare function useConnectorSubmissionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>;
2363
2826
  export declare function useConnectorSubmissionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ConnectorSubmissionsQuery, Types.ConnectorSubmissionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ConnectorSubmissionsQuery | undefined, Types.ConnectorSubmissionsQueryVariables>;
2364
2827
  export type ConnectorSubmissionsQueryHookResult = ReturnType<typeof useConnectorSubmissionsQuery>;
@@ -2387,8 +2850,8 @@ export declare function useGetConnectionQuery(baseOptions: ApolloReactHooks.Quer
2387
2850
  skip?: boolean;
2388
2851
  } | {
2389
2852
  skip: boolean;
2390
- })): ApolloReactHooks.useQuery.Result<Types.GetConnectionQuery, Types.GetConnectionQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionQueryVariables>;
2391
- export declare function useGetConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionQuery, Types.GetConnectionQueryVariables, "complete" | "empty" | "streaming">;
2853
+ })): ApolloReactHooks.useQuery.Result<Types.GetConnectionQuery, Types.GetConnectionQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionQueryVariables, undefined>;
2854
+ export declare function useGetConnectionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionQuery, Types.GetConnectionQueryVariables, "complete" | "empty" | "streaming", undefined>;
2392
2855
  export declare function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>;
2393
2856
  export declare function useGetConnectionSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionQuery, Types.GetConnectionQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionQuery | undefined, Types.GetConnectionQueryVariables>;
2394
2857
  export type GetConnectionQueryHookResult = ReturnType<typeof useGetConnectionQuery>;
@@ -2419,8 +2882,8 @@ export declare function useGetConnectionLogsQuery(baseOptions: ApolloReactHooks.
2419
2882
  skip?: boolean;
2420
2883
  } | {
2421
2884
  skip: boolean;
2422
- })): ApolloReactHooks.useQuery.Result<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionLogsQueryVariables>;
2423
- export declare function useGetConnectionLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables, "complete" | "empty" | "streaming">;
2885
+ })): ApolloReactHooks.useQuery.Result<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionLogsQueryVariables, undefined>;
2886
+ export declare function useGetConnectionLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2424
2887
  export declare function useGetConnectionLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables>;
2425
2888
  export declare function useGetConnectionLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionLogsQuery, Types.GetConnectionLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionLogsQuery | undefined, Types.GetConnectionLogsQueryVariables>;
2426
2889
  export type GetConnectionLogsQueryHookResult = ReturnType<typeof useGetConnectionLogsQuery>;
@@ -2449,8 +2912,8 @@ export declare function useGetConnectionTagsQuery(baseOptions: ApolloReactHooks.
2449
2912
  skip?: boolean;
2450
2913
  } | {
2451
2914
  skip: boolean;
2452
- })): ApolloReactHooks.useQuery.Result<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionTagsQueryVariables>;
2453
- export declare function useGetConnectionTagsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables, "complete" | "empty" | "streaming">;
2915
+ })): ApolloReactHooks.useQuery.Result<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionTagsQueryVariables, undefined>;
2916
+ export declare function useGetConnectionTagsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2454
2917
  export declare function useGetConnectionTagsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables>;
2455
2918
  export declare function useGetConnectionTagsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionTagsQuery, Types.GetConnectionTagsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionTagsQuery | undefined, Types.GetConnectionTagsQueryVariables>;
2456
2919
  export type GetConnectionTagsQueryHookResult = ReturnType<typeof useGetConnectionTagsQuery>;
@@ -2475,8 +2938,8 @@ export declare const GetConnectionsDocument: Apollo.DocumentNode;
2475
2938
  * },
2476
2939
  * });
2477
2940
  */
2478
- export declare function useGetConnectionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionsQueryVariables>;
2479
- export declare function useGetConnectionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables, "complete" | "empty" | "streaming">;
2941
+ export declare function useGetConnectionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionsQueryVariables, undefined>;
2942
+ export declare function useGetConnectionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2480
2943
  export declare function useGetConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>;
2481
2944
  export declare function useGetConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionsQuery, Types.GetConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionsQuery | undefined, Types.GetConnectionsQueryVariables>;
2482
2945
  export type GetConnectionsQueryHookResult = ReturnType<typeof useGetConnectionsQuery>;
@@ -2506,8 +2969,8 @@ export declare function useGetConnectionsByProviderQuery(baseOptions: ApolloReac
2506
2969
  skip?: boolean;
2507
2970
  } | {
2508
2971
  skip: boolean;
2509
- })): ApolloReactHooks.useQuery.Result<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionsByProviderQueryVariables>;
2510
- export declare function useGetConnectionsByProviderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables, "complete" | "empty" | "streaming">;
2972
+ })): ApolloReactHooks.useQuery.Result<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables, "complete" | "empty" | "streaming", Types.GetConnectionsByProviderQueryVariables, undefined>;
2973
+ export declare function useGetConnectionsByProviderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables, "complete" | "empty" | "streaming", undefined>;
2511
2974
  export declare function useGetConnectionsByProviderSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables>;
2512
2975
  export declare function useGetConnectionsByProviderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConnectionsByProviderQuery, Types.GetConnectionsByProviderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConnectionsByProviderQuery | undefined, Types.GetConnectionsByProviderQueryVariables>;
2513
2976
  export type GetConnectionsByProviderQueryHookResult = ReturnType<typeof useGetConnectionsByProviderQuery>;
@@ -2532,8 +2995,8 @@ export declare const GetIntegrationLogsDocument: Apollo.DocumentNode;
2532
2995
  * },
2533
2996
  * });
2534
2997
  */
2535
- export declare function useGetIntegrationLogsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables, "complete" | "empty" | "streaming", Types.GetIntegrationLogsQueryVariables>;
2536
- export declare function useGetIntegrationLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables, "complete" | "empty" | "streaming">;
2998
+ export declare function useGetIntegrationLogsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables, "complete" | "empty" | "streaming", Types.GetIntegrationLogsQueryVariables, undefined>;
2999
+ export declare function useGetIntegrationLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2537
3000
  export declare function useGetIntegrationLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>;
2538
3001
  export declare function useGetIntegrationLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetIntegrationLogsQuery, Types.GetIntegrationLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetIntegrationLogsQuery | undefined, Types.GetIntegrationLogsQueryVariables>;
2539
3002
  export type GetIntegrationLogsQueryHookResult = ReturnType<typeof useGetIntegrationLogsQuery>;
@@ -2562,8 +3025,8 @@ export declare function useGetProviderQuery(baseOptions: ApolloReactHooks.QueryH
2562
3025
  skip?: boolean;
2563
3026
  } | {
2564
3027
  skip: boolean;
2565
- })): ApolloReactHooks.useQuery.Result<Types.GetProviderQuery, Types.GetProviderQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderQueryVariables>;
2566
- export declare function useGetProviderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderQuery, Types.GetProviderQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderQuery, Types.GetProviderQueryVariables, "complete" | "empty" | "streaming">;
3028
+ })): ApolloReactHooks.useQuery.Result<Types.GetProviderQuery, Types.GetProviderQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderQueryVariables, undefined>;
3029
+ export declare function useGetProviderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderQuery, Types.GetProviderQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderQuery, Types.GetProviderQueryVariables, "complete" | "empty" | "streaming", undefined>;
2567
3030
  export declare function useGetProviderSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderQuery, Types.GetProviderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderQuery, Types.GetProviderQueryVariables>;
2568
3031
  export declare function useGetProviderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderQuery, Types.GetProviderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderQuery | undefined, Types.GetProviderQueryVariables>;
2569
3032
  export type GetProviderQueryHookResult = ReturnType<typeof useGetProviderQuery>;
@@ -2592,8 +3055,8 @@ export declare function useGetProviderByKeyQuery(baseOptions: ApolloReactHooks.Q
2592
3055
  skip?: boolean;
2593
3056
  } | {
2594
3057
  skip: boolean;
2595
- })): ApolloReactHooks.useQuery.Result<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderByKeyQueryVariables>;
2596
- export declare function useGetProviderByKeyLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables, "complete" | "empty" | "streaming">;
3058
+ })): ApolloReactHooks.useQuery.Result<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderByKeyQueryVariables, undefined>;
3059
+ export declare function useGetProviderByKeyLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables, "complete" | "empty" | "streaming", undefined>;
2597
3060
  export declare function useGetProviderByKeySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables>;
2598
3061
  export declare function useGetProviderByKeySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderByKeyQuery, Types.GetProviderByKeyQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderByKeyQuery | undefined, Types.GetProviderByKeyQueryVariables>;
2599
3062
  export type GetProviderByKeyQueryHookResult = ReturnType<typeof useGetProviderByKeyQuery>;
@@ -2617,8 +3080,8 @@ export declare const GetProviderCatalogDocument: Apollo.DocumentNode;
2617
3080
  * },
2618
3081
  * });
2619
3082
  */
2620
- export declare function useGetProviderCatalogQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderCatalogQueryVariables>;
2621
- export declare function useGetProviderCatalogLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables, "complete" | "empty" | "streaming">;
3083
+ export declare function useGetProviderCatalogQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables, "complete" | "empty" | "streaming", Types.GetProviderCatalogQueryVariables, undefined>;
3084
+ export declare function useGetProviderCatalogLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables, "complete" | "empty" | "streaming", undefined>;
2622
3085
  export declare function useGetProviderCatalogSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>;
2623
3086
  export declare function useGetProviderCatalogSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProviderCatalogQuery, Types.GetProviderCatalogQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProviderCatalogQuery | undefined, Types.GetProviderCatalogQueryVariables>;
2624
3087
  export type GetProviderCatalogQueryHookResult = ReturnType<typeof useGetProviderCatalogQuery>;
@@ -2643,8 +3106,8 @@ export declare const GetProvidersDocument: Apollo.DocumentNode;
2643
3106
  * },
2644
3107
  * });
2645
3108
  */
2646
- export declare function useGetProvidersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetProvidersQuery, Types.GetProvidersQueryVariables, "complete" | "empty" | "streaming", Types.GetProvidersQueryVariables>;
2647
- export declare function useGetProvidersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProvidersQuery, Types.GetProvidersQueryVariables, "complete" | "empty" | "streaming">;
3109
+ export declare function useGetProvidersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetProvidersQuery, Types.GetProvidersQueryVariables, "complete" | "empty" | "streaming", Types.GetProvidersQueryVariables, undefined>;
3110
+ export declare function useGetProvidersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetProvidersQuery, Types.GetProvidersQueryVariables, "complete" | "empty" | "streaming", undefined>;
2648
3111
  export declare function useGetProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>;
2649
3112
  export declare function useGetProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProvidersQuery, Types.GetProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProvidersQuery | undefined, Types.GetProvidersQueryVariables>;
2650
3113
  export type GetProvidersQueryHookResult = ReturnType<typeof useGetProvidersQuery>;
@@ -2667,14 +3130,76 @@ export declare const MailboxAccountsDocument: Apollo.DocumentNode;
2667
3130
  * },
2668
3131
  * });
2669
3132
  */
2670
- export declare function useMailboxAccountsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables, "complete" | "empty" | "streaming", Types.MailboxAccountsQueryVariables>;
2671
- export declare function useMailboxAccountsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables, "complete" | "empty" | "streaming">;
3133
+ export declare function useMailboxAccountsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables, "complete" | "empty" | "streaming", Types.MailboxAccountsQueryVariables, undefined>;
3134
+ export declare function useMailboxAccountsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2672
3135
  export declare function useMailboxAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>;
2673
3136
  export declare function useMailboxAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAccountsQuery | undefined, Types.MailboxAccountsQueryVariables>;
2674
3137
  export type MailboxAccountsQueryHookResult = ReturnType<typeof useMailboxAccountsQuery>;
2675
3138
  export type MailboxAccountsLazyQueryHookResult = ReturnType<typeof useMailboxAccountsLazyQuery>;
2676
3139
  export type MailboxAccountsSuspenseQueryHookResult = ReturnType<typeof useMailboxAccountsSuspenseQuery>;
2677
3140
  export type MailboxAccountsQueryResult = Apollo.QueryResult<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>;
3141
+ export declare const MailboxAttachmentDocument: Apollo.DocumentNode;
3142
+ /**
3143
+ * __useMailboxAttachmentQuery__
3144
+ *
3145
+ * To run a query within a React component, call `useMailboxAttachmentQuery` and pass it any options that fit your needs.
3146
+ * When your component renders, `useMailboxAttachmentQuery` returns an object from Apollo Client that contains loading, error, and data properties
3147
+ * you can use to render your UI.
3148
+ *
3149
+ * @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;
3150
+ *
3151
+ * @example
3152
+ * const { data, loading, error } = useMailboxAttachmentQuery({
3153
+ * variables: {
3154
+ * connectionId: // value for 'connectionId'
3155
+ * messageId: // value for 'messageId'
3156
+ * attachmentId: // value for 'attachmentId'
3157
+ * },
3158
+ * });
3159
+ */
3160
+ export declare function useMailboxAttachmentQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables> & ({
3161
+ variables: Types.MailboxAttachmentQueryVariables;
3162
+ skip?: boolean;
3163
+ } | {
3164
+ skip: boolean;
3165
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables, "complete" | "empty" | "streaming", Types.MailboxAttachmentQueryVariables, undefined>;
3166
+ export declare function useMailboxAttachmentLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables, "complete" | "empty" | "streaming", undefined>;
3167
+ export declare function useMailboxAttachmentSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>;
3168
+ export declare function useMailboxAttachmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAttachmentQuery | undefined, Types.MailboxAttachmentQueryVariables>;
3169
+ export type MailboxAttachmentQueryHookResult = ReturnType<typeof useMailboxAttachmentQuery>;
3170
+ export type MailboxAttachmentLazyQueryHookResult = ReturnType<typeof useMailboxAttachmentLazyQuery>;
3171
+ export type MailboxAttachmentSuspenseQueryHookResult = ReturnType<typeof useMailboxAttachmentSuspenseQuery>;
3172
+ export type MailboxAttachmentQueryResult = Apollo.QueryResult<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>;
3173
+ export declare const MailboxLabelsDocument: Apollo.DocumentNode;
3174
+ /**
3175
+ * __useMailboxLabelsQuery__
3176
+ *
3177
+ * To run a query within a React component, call `useMailboxLabelsQuery` and pass it any options that fit your needs.
3178
+ * When your component renders, `useMailboxLabelsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3179
+ * you can use to render your UI.
3180
+ *
3181
+ * @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;
3182
+ *
3183
+ * @example
3184
+ * const { data, loading, error } = useMailboxLabelsQuery({
3185
+ * variables: {
3186
+ * connectionId: // value for 'connectionId'
3187
+ * },
3188
+ * });
3189
+ */
3190
+ export declare function useMailboxLabelsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables> & ({
3191
+ variables: Types.MailboxLabelsQueryVariables;
3192
+ skip?: boolean;
3193
+ } | {
3194
+ skip: boolean;
3195
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables, "complete" | "empty" | "streaming", Types.MailboxLabelsQueryVariables, undefined>;
3196
+ export declare function useMailboxLabelsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables, "complete" | "empty" | "streaming", undefined>;
3197
+ export declare function useMailboxLabelsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>;
3198
+ export declare function useMailboxLabelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxLabelsQuery | undefined, Types.MailboxLabelsQueryVariables>;
3199
+ export type MailboxLabelsQueryHookResult = ReturnType<typeof useMailboxLabelsQuery>;
3200
+ export type MailboxLabelsLazyQueryHookResult = ReturnType<typeof useMailboxLabelsLazyQuery>;
3201
+ export type MailboxLabelsSuspenseQueryHookResult = ReturnType<typeof useMailboxLabelsSuspenseQuery>;
3202
+ export type MailboxLabelsQueryResult = Apollo.QueryResult<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>;
2678
3203
  export declare const MailboxMessagesDocument: Apollo.DocumentNode;
2679
3204
  /**
2680
3205
  * __useMailboxMessagesQuery__
@@ -2697,8 +3222,8 @@ export declare function useMailboxMessagesQuery(baseOptions: ApolloReactHooks.Qu
2697
3222
  skip?: boolean;
2698
3223
  } | {
2699
3224
  skip: boolean;
2700
- })): ApolloReactHooks.useQuery.Result<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables, "complete" | "empty" | "streaming", Types.MailboxMessagesQueryVariables>;
2701
- export declare function useMailboxMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables, "complete" | "empty" | "streaming">;
3225
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables, "complete" | "empty" | "streaming", Types.MailboxMessagesQueryVariables, undefined>;
3226
+ export declare function useMailboxMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables, "complete" | "empty" | "streaming", undefined>;
2702
3227
  export declare function useMailboxMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables>;
2703
3228
  export declare function useMailboxMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxMessagesQuery, Types.MailboxMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxMessagesQuery | undefined, Types.MailboxMessagesQueryVariables>;
2704
3229
  export type MailboxMessagesQueryHookResult = ReturnType<typeof useMailboxMessagesQuery>;
@@ -2728,8 +3253,8 @@ export declare function useMailboxThreadQuery(baseOptions: ApolloReactHooks.Quer
2728
3253
  skip?: boolean;
2729
3254
  } | {
2730
3255
  skip: boolean;
2731
- })): ApolloReactHooks.useQuery.Result<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables, "complete" | "empty" | "streaming", Types.MailboxThreadQueryVariables>;
2732
- export declare function useMailboxThreadLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables, "complete" | "empty" | "streaming">;
3256
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables, "complete" | "empty" | "streaming", Types.MailboxThreadQueryVariables, undefined>;
3257
+ export declare function useMailboxThreadLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables, "complete" | "empty" | "streaming", undefined>;
2733
3258
  export declare function useMailboxThreadSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables>;
2734
3259
  export declare function useMailboxThreadSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxThreadQuery, Types.MailboxThreadQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxThreadQuery | undefined, Types.MailboxThreadQueryVariables>;
2735
3260
  export type MailboxThreadQueryHookResult = ReturnType<typeof useMailboxThreadQuery>;
@@ -2754,12 +3279,12 @@ export declare const MyConnectorSubmissionsDocument: Apollo.DocumentNode;
2754
3279
  * },
2755
3280
  * });
2756
3281
  */
2757
- export declare function useMyConnectorSubmissionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", Types.MyConnectorSubmissionsQueryVariables>;
2758
- export declare function useMyConnectorSubmissionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming">;
3282
+ export declare function useMyConnectorSubmissionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", Types.MyConnectorSubmissionsQueryVariables, undefined>;
3283
+ export declare function useMyConnectorSubmissionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables, "complete" | "empty" | "streaming", undefined>;
2759
3284
  export declare function useMyConnectorSubmissionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>;
2760
3285
  export declare function useMyConnectorSubmissionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MyConnectorSubmissionsQuery | undefined, Types.MyConnectorSubmissionsQueryVariables>;
2761
3286
  export type MyConnectorSubmissionsQueryHookResult = ReturnType<typeof useMyConnectorSubmissionsQuery>;
2762
3287
  export type MyConnectorSubmissionsLazyQueryHookResult = ReturnType<typeof useMyConnectorSubmissionsLazyQuery>;
2763
3288
  export type MyConnectorSubmissionsSuspenseQueryHookResult = ReturnType<typeof useMyConnectorSubmissionsSuspenseQuery>;
2764
3289
  export type MyConnectorSubmissionsQueryResult = Apollo.QueryResult<Types.MyConnectorSubmissionsQuery, Types.MyConnectorSubmissionsQueryVariables>;
2765
- //# sourceMappingURL=wspace-operations.d.ts.map
3290
+ export {};