@burdenoff/microfe-integrations 2026.1102.2 → 2026.1107.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/generated/global-types.d.ts +406 -203
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +412 -0
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +230 -100
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +9819 -363
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +11 -3
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/integrations/components/ConnectorSubmissionCard.d.ts.map +1 -1
  12. package/dist/integrations/components/ConnectorSubmissionCard.js +137 -83
  13. package/dist/integrations/components/ConnectorSubmissionCard.js.map +1 -1
  14. package/dist/integrations/components/MailMessageBody.d.ts +7 -0
  15. package/dist/integrations/components/MailMessageBody.d.ts.map +1 -0
  16. package/dist/integrations/components/MailMessageBody.js +175 -0
  17. package/dist/integrations/components/MailMessageBody.js.map +1 -0
  18. package/dist/integrations/hooks/useConnectorSubmissions.d.ts +9 -1
  19. package/dist/integrations/hooks/useConnectorSubmissions.d.ts.map +1 -1
  20. package/dist/integrations/hooks/useConnectorSubmissions.js +35 -25
  21. package/dist/integrations/hooks/useConnectorSubmissions.js.map +1 -1
  22. package/dist/integrations/hooks/useMailbox.d.ts +65 -4
  23. package/dist/integrations/hooks/useMailbox.d.ts.map +1 -1
  24. package/dist/integrations/hooks/useMailbox.js +108 -29
  25. package/dist/integrations/hooks/useMailbox.js.map +1 -1
  26. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts.map +1 -1
  27. package/dist/integrations/pages/ConnectorSubmissionsPage.js +606 -319
  28. package/dist/integrations/pages/ConnectorSubmissionsPage.js.map +1 -1
  29. package/dist/integrations/pages/MailboxInbox.d.ts.map +1 -1
  30. package/dist/integrations/pages/MailboxInbox.js +418 -251
  31. package/dist/integrations/pages/MailboxInbox.js.map +1 -1
  32. package/dist/integrations/store/mailboxStore.d.ts +3 -0
  33. package/dist/integrations/store/mailboxStore.d.ts.map +1 -1
  34. package/dist/integrations/store/mailboxStore.js +7 -0
  35. package/dist/integrations/store/mailboxStore.js.map +1 -1
  36. package/dist/integrations/utils/mailHtml.d.ts +33 -0
  37. package/dist/integrations/utils/mailHtml.d.ts.map +1 -0
  38. package/dist/integrations/utils/mailHtml.js +127 -0
  39. package/dist/integrations/utils/mailHtml.js.map +1 -0
  40. package/dist/node_modules/dompurify/dist/purify.es.js +894 -0
  41. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -0
  42. package/package.json +5 -2
@@ -118,6 +118,20 @@ export type ConnectorSubmissionFieldsFragment = {
118
118
  reviewedAt?: string | null;
119
119
  reviewNotes?: string | null;
120
120
  providerId?: string | null;
121
+ oauth?: {
122
+ __typename?: 'ConnectorSubmissionOAuth';
123
+ authorizeUrl: string;
124
+ tokenUrl: string;
125
+ revokeUrl?: string | null;
126
+ userInfoUrl?: string | null;
127
+ scopes: Array<string>;
128
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
129
+ pkce: boolean;
130
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
131
+ clientId: string;
132
+ hasClientSecret: boolean;
133
+ clientUpdatedAt?: string | null;
134
+ } | null;
121
135
  };
122
136
  export type IntegrationLogFieldsFragment = {
123
137
  __typename?: 'IntegrationLog';
@@ -260,8 +274,30 @@ export type ApproveConnectorSubmissionMutation = {
260
274
  reviewedAt?: string | null;
261
275
  reviewNotes?: string | null;
262
276
  providerId?: string | null;
277
+ oauth?: {
278
+ __typename?: 'ConnectorSubmissionOAuth';
279
+ authorizeUrl: string;
280
+ tokenUrl: string;
281
+ revokeUrl?: string | null;
282
+ userInfoUrl?: string | null;
283
+ scopes: Array<string>;
284
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
285
+ pkce: boolean;
286
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
287
+ clientId: string;
288
+ hasClientSecret: boolean;
289
+ clientUpdatedAt?: string | null;
290
+ } | null;
263
291
  };
264
292
  };
293
+ export type ArchiveMailboxThreadMutationVariables = Types.Exact<{
294
+ connectionId: Types.Scalars['ID']['input'];
295
+ threadId: Types.Scalars['ID']['input'];
296
+ }>;
297
+ export type ArchiveMailboxThreadMutation = {
298
+ __typename?: 'Mutation';
299
+ archiveMailboxThread: boolean;
300
+ };
265
301
  export type AuthenticateConnectionMutationVariables = Types.Exact<{
266
302
  input: Types.AuthenticateConnectionInput;
267
303
  }>;
@@ -522,6 +558,30 @@ export type InstallProviderPluginMutation = {
522
558
  }>;
523
559
  };
524
560
  };
561
+ export type MailboxAttachmentInitiateUploadMutationVariables = Types.Exact<{
562
+ input: Types.InitiateUploadInput;
563
+ }>;
564
+ export type MailboxAttachmentInitiateUploadMutation = {
565
+ __typename?: 'Mutation';
566
+ initiateUpload: {
567
+ __typename?: 'UploadSessionWithUrls';
568
+ uploadUrl?: string | null;
569
+ session: {
570
+ __typename?: 'UploadSession';
571
+ id: string;
572
+ };
573
+ };
574
+ };
575
+ export type MailboxAttachmentCompleteUploadMutationVariables = Types.Exact<{
576
+ input: Types.CompleteUploadInput;
577
+ }>;
578
+ export type MailboxAttachmentCompleteUploadMutation = {
579
+ __typename?: 'Mutation';
580
+ completeUpload: {
581
+ __typename?: 'CompleteUploadResponse';
582
+ fileId: string;
583
+ };
584
+ };
525
585
  export type RefreshConnectionTokenMutationVariables = Types.Exact<{
526
586
  connectionId: Types.Scalars['ID']['input'];
527
587
  }>;
@@ -572,6 +632,20 @@ export type RejectConnectorSubmissionMutation = {
572
632
  reviewedAt?: string | null;
573
633
  reviewNotes?: string | null;
574
634
  providerId?: string | null;
635
+ oauth?: {
636
+ __typename?: 'ConnectorSubmissionOAuth';
637
+ authorizeUrl: string;
638
+ tokenUrl: string;
639
+ revokeUrl?: string | null;
640
+ userInfoUrl?: string | null;
641
+ scopes: Array<string>;
642
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
643
+ pkce: boolean;
644
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
645
+ clientId: string;
646
+ hasClientSecret: boolean;
647
+ clientUpdatedAt?: string | null;
648
+ } | null;
575
649
  };
576
650
  };
577
651
  export type RevokeConnectionMutationVariables = Types.Exact<{
@@ -643,6 +717,20 @@ export type SubmitConnectorMutation = {
643
717
  reviewedAt?: string | null;
644
718
  reviewNotes?: string | null;
645
719
  providerId?: string | null;
720
+ oauth?: {
721
+ __typename?: 'ConnectorSubmissionOAuth';
722
+ authorizeUrl: string;
723
+ tokenUrl: string;
724
+ revokeUrl?: string | null;
725
+ userInfoUrl?: string | null;
726
+ scopes: Array<string>;
727
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
728
+ pkce: boolean;
729
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
730
+ clientId: string;
731
+ hasClientSecret: boolean;
732
+ clientUpdatedAt?: string | null;
733
+ } | null;
646
734
  };
647
735
  };
648
736
  export type TagConnectionMutationVariables = Types.Exact<{
@@ -704,6 +792,14 @@ export type TestConnectionMutation = {
704
792
  latencyMs?: number | null;
705
793
  };
706
794
  };
795
+ export type TrashMailboxThreadMutationVariables = Types.Exact<{
796
+ connectionId: Types.Scalars['ID']['input'];
797
+ threadId: Types.Scalars['ID']['input'];
798
+ }>;
799
+ export type TrashMailboxThreadMutation = {
800
+ __typename?: 'Mutation';
801
+ trashMailboxThread: boolean;
802
+ };
707
803
  export type UninstallProviderPluginMutationVariables = Types.Exact<{
708
804
  id: Types.Scalars['ID']['input'];
709
805
  }>;
@@ -724,6 +820,61 @@ export type UpdateConnectionMutation = {
724
820
  description?: string | null;
725
821
  };
726
822
  };
823
+ export type UpdateConnectorSubmissionOAuthClientMutationVariables = Types.Exact<{
824
+ id: Types.Scalars['ID']['input'];
825
+ input: Types.ConnectorOAuthClientInput;
826
+ }>;
827
+ export type UpdateConnectorSubmissionOAuthClientMutation = {
828
+ __typename?: 'Mutation';
829
+ updateConnectorSubmissionOAuthClient: {
830
+ __typename?: 'ConnectorSubmission';
831
+ id: string;
832
+ key: string;
833
+ name: string;
834
+ description: string;
835
+ category: Types.ProviderCategory;
836
+ authType: Types.AuthType;
837
+ icon?: string | null;
838
+ color?: string | null;
839
+ website: string;
840
+ docsUrl: string;
841
+ baseUrl: string;
842
+ apiVersion?: string | null;
843
+ apiKeyPlacement?: Types.ConnectorApiKeyPlacement | null;
844
+ apiKeyName?: string | null;
845
+ apiKeyPrefix?: string | null;
846
+ supportedFeatures: Array<string>;
847
+ publisherName: string;
848
+ supportEmail: string;
849
+ privacyPolicyUrl: string;
850
+ termsUrl?: string | null;
851
+ repositoryUrl?: string | null;
852
+ version: string;
853
+ submitterNotes?: string | null;
854
+ status: Types.ConnectorSubmissionStatus;
855
+ submittedBy: string;
856
+ submittedAt: string;
857
+ reviewDueAt: string;
858
+ isReviewOverdue: boolean;
859
+ reviewedAt?: string | null;
860
+ reviewNotes?: string | null;
861
+ providerId?: string | null;
862
+ oauth?: {
863
+ __typename?: 'ConnectorSubmissionOAuth';
864
+ authorizeUrl: string;
865
+ tokenUrl: string;
866
+ revokeUrl?: string | null;
867
+ userInfoUrl?: string | null;
868
+ scopes: Array<string>;
869
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
870
+ pkce: boolean;
871
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
872
+ clientId: string;
873
+ hasClientSecret: boolean;
874
+ clientUpdatedAt?: string | null;
875
+ } | null;
876
+ };
877
+ };
727
878
  export type UpdateProviderPluginMutationVariables = Types.Exact<{
728
879
  id: Types.Scalars['ID']['input'];
729
880
  input: Types.UpdateProviderPluginInput;
@@ -868,6 +1019,20 @@ export type WithdrawConnectorSubmissionMutation = {
868
1019
  reviewedAt?: string | null;
869
1020
  reviewNotes?: string | null;
870
1021
  providerId?: string | null;
1022
+ oauth?: {
1023
+ __typename?: 'ConnectorSubmissionOAuth';
1024
+ authorizeUrl: string;
1025
+ tokenUrl: string;
1026
+ revokeUrl?: string | null;
1027
+ userInfoUrl?: string | null;
1028
+ scopes: Array<string>;
1029
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
1030
+ pkce: boolean;
1031
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
1032
+ clientId: string;
1033
+ hasClientSecret: boolean;
1034
+ clientUpdatedAt?: string | null;
1035
+ } | null;
871
1036
  };
872
1037
  };
873
1038
  export type ConnectorSubmissionsQueryVariables = Types.Exact<{
@@ -913,6 +1078,20 @@ export type ConnectorSubmissionsQuery = {
913
1078
  reviewedAt?: string | null;
914
1079
  reviewNotes?: string | null;
915
1080
  providerId?: string | null;
1081
+ oauth?: {
1082
+ __typename?: 'ConnectorSubmissionOAuth';
1083
+ authorizeUrl: string;
1084
+ tokenUrl: string;
1085
+ revokeUrl?: string | null;
1086
+ userInfoUrl?: string | null;
1087
+ scopes: Array<string>;
1088
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
1089
+ pkce: boolean;
1090
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
1091
+ clientId: string;
1092
+ hasClientSecret: boolean;
1093
+ clientUpdatedAt?: string | null;
1094
+ } | null;
916
1095
  }>;
917
1096
  };
918
1097
  connectorSubmissionReviewStats: {
@@ -1388,6 +1567,35 @@ export type MailboxAccountsQuery = {
1388
1567
  status: Types.ConnectionStatus;
1389
1568
  }>;
1390
1569
  };
1570
+ export type MailboxAttachmentQueryVariables = Types.Exact<{
1571
+ connectionId: Types.Scalars['ID']['input'];
1572
+ messageId: Types.Scalars['ID']['input'];
1573
+ attachmentId: Types.Scalars['ID']['input'];
1574
+ }>;
1575
+ export type MailboxAttachmentQuery = {
1576
+ __typename?: 'Query';
1577
+ mailboxAttachment: {
1578
+ __typename?: 'MailboxAttachmentContent';
1579
+ filename: string;
1580
+ mimeType: string;
1581
+ size: number;
1582
+ contentBase64: string;
1583
+ };
1584
+ };
1585
+ export type MailboxLabelsQueryVariables = Types.Exact<{
1586
+ connectionId: Types.Scalars['ID']['input'];
1587
+ }>;
1588
+ export type MailboxLabelsQuery = {
1589
+ __typename?: 'Query';
1590
+ mailboxLabels: Array<{
1591
+ __typename?: 'MailboxLabel';
1592
+ id: string;
1593
+ name: string;
1594
+ kind: Types.MailboxLabelKind;
1595
+ unreadCount?: number | null;
1596
+ totalCount?: number | null;
1597
+ }>;
1598
+ };
1391
1599
  export type MailboxMessagesQueryVariables = Types.Exact<{
1392
1600
  input: Types.MailboxMessagesInput;
1393
1601
  }>;
@@ -1437,6 +1645,16 @@ export type MailboxThreadQuery = {
1437
1645
  isUnread: boolean;
1438
1646
  hasAttachments: boolean;
1439
1647
  bodyText: string;
1648
+ bodyHtml?: string | null;
1649
+ attachments: Array<{
1650
+ __typename?: 'MailboxAttachment';
1651
+ id: string;
1652
+ filename: string;
1653
+ mimeType: string;
1654
+ size: number;
1655
+ isInline: boolean;
1656
+ contentId?: string | null;
1657
+ }>;
1440
1658
  from?: {
1441
1659
  __typename?: 'MailboxAddress';
1442
1660
  name?: string | null;
@@ -1498,6 +1716,20 @@ export type MyConnectorSubmissionsQuery = {
1498
1716
  reviewedAt?: string | null;
1499
1717
  reviewNotes?: string | null;
1500
1718
  providerId?: string | null;
1719
+ oauth?: {
1720
+ __typename?: 'ConnectorSubmissionOAuth';
1721
+ authorizeUrl: string;
1722
+ tokenUrl: string;
1723
+ revokeUrl?: string | null;
1724
+ userInfoUrl?: string | null;
1725
+ scopes: Array<string>;
1726
+ scopeSeparator: Types.ConnectorOAuthScopeSeparator;
1727
+ pkce: boolean;
1728
+ tokenAuthMethod: Types.ConnectorOAuthTokenAuthMethod;
1729
+ clientId: string;
1730
+ hasClientSecret: boolean;
1731
+ clientUpdatedAt?: string | null;
1732
+ } | null;
1501
1733
  }>;
1502
1734
  };
1503
1735
  };
@@ -1533,6 +1765,30 @@ export declare function useApproveConnectorSubmissionMutation(baseOptions?: Apol
1533
1765
  export type ApproveConnectorSubmissionMutationHookResult = ReturnType<typeof useApproveConnectorSubmissionMutation>;
1534
1766
  export type ApproveConnectorSubmissionMutationResult = Apollo.MutationResult<Types.ApproveConnectorSubmissionMutation>;
1535
1767
  export type ApproveConnectorSubmissionMutationOptions = Apollo.BaseMutationOptions<Types.ApproveConnectorSubmissionMutation, Types.ApproveConnectorSubmissionMutationVariables>;
1768
+ export declare const ArchiveMailboxThreadDocument: Apollo.DocumentNode;
1769
+ export type ArchiveMailboxThreadMutationFn = Apollo.MutationFunction<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>;
1770
+ /**
1771
+ * __useArchiveMailboxThreadMutation__
1772
+ *
1773
+ * To run a mutation, you first call `useArchiveMailboxThreadMutation` within a React component and pass it any options that fit your needs.
1774
+ * When your component renders, `useArchiveMailboxThreadMutation` returns a tuple that includes:
1775
+ * - A mutate function that you can call at any time to execute the mutation
1776
+ * - An object with fields that represent the current status of the mutation's execution
1777
+ *
1778
+ * @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;
1779
+ *
1780
+ * @example
1781
+ * const [archiveMailboxThreadMutation, { data, loading, error }] = useArchiveMailboxThreadMutation({
1782
+ * variables: {
1783
+ * connectionId: // value for 'connectionId'
1784
+ * threadId: // value for 'threadId'
1785
+ * },
1786
+ * });
1787
+ */
1788
+ export declare function useArchiveMailboxThreadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ArchiveMailboxThreadMutation, any, Apollo.ApolloCache, undefined>;
1789
+ export type ArchiveMailboxThreadMutationHookResult = ReturnType<typeof useArchiveMailboxThreadMutation>;
1790
+ export type ArchiveMailboxThreadMutationResult = Apollo.MutationResult<Types.ArchiveMailboxThreadMutation>;
1791
+ export type ArchiveMailboxThreadMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveMailboxThreadMutation, Types.ArchiveMailboxThreadMutationVariables>;
1536
1792
  export declare const AuthenticateConnectionDocument: Apollo.DocumentNode;
1537
1793
  export type AuthenticateConnectionMutationFn = Apollo.MutationFunction<Types.AuthenticateConnectionMutation, Types.AuthenticateConnectionMutationVariables>;
1538
1794
  /**
@@ -1811,6 +2067,52 @@ export declare function useInstallProviderPluginMutation(baseOptions?: ApolloRea
1811
2067
  export type InstallProviderPluginMutationHookResult = ReturnType<typeof useInstallProviderPluginMutation>;
1812
2068
  export type InstallProviderPluginMutationResult = Apollo.MutationResult<Types.InstallProviderPluginMutation>;
1813
2069
  export type InstallProviderPluginMutationOptions = Apollo.BaseMutationOptions<Types.InstallProviderPluginMutation, Types.InstallProviderPluginMutationVariables>;
2070
+ export declare const MailboxAttachmentInitiateUploadDocument: Apollo.DocumentNode;
2071
+ export type MailboxAttachmentInitiateUploadMutationFn = Apollo.MutationFunction<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>;
2072
+ /**
2073
+ * __useMailboxAttachmentInitiateUploadMutation__
2074
+ *
2075
+ * To run a mutation, you first call `useMailboxAttachmentInitiateUploadMutation` within a React component and pass it any options that fit your needs.
2076
+ * When your component renders, `useMailboxAttachmentInitiateUploadMutation` returns a tuple that includes:
2077
+ * - A mutate function that you can call at any time to execute the mutation
2078
+ * - An object with fields that represent the current status of the mutation's execution
2079
+ *
2080
+ * @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;
2081
+ *
2082
+ * @example
2083
+ * const [mailboxAttachmentInitiateUploadMutation, { data, loading, error }] = useMailboxAttachmentInitiateUploadMutation({
2084
+ * variables: {
2085
+ * input: // value for 'input'
2086
+ * },
2087
+ * });
2088
+ */
2089
+ export declare function useMailboxAttachmentInitiateUploadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MailboxAttachmentInitiateUploadMutation, any, Apollo.ApolloCache, undefined>;
2090
+ export type MailboxAttachmentInitiateUploadMutationHookResult = ReturnType<typeof useMailboxAttachmentInitiateUploadMutation>;
2091
+ export type MailboxAttachmentInitiateUploadMutationResult = Apollo.MutationResult<Types.MailboxAttachmentInitiateUploadMutation>;
2092
+ export type MailboxAttachmentInitiateUploadMutationOptions = Apollo.BaseMutationOptions<Types.MailboxAttachmentInitiateUploadMutation, Types.MailboxAttachmentInitiateUploadMutationVariables>;
2093
+ export declare const MailboxAttachmentCompleteUploadDocument: Apollo.DocumentNode;
2094
+ export type MailboxAttachmentCompleteUploadMutationFn = Apollo.MutationFunction<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>;
2095
+ /**
2096
+ * __useMailboxAttachmentCompleteUploadMutation__
2097
+ *
2098
+ * To run a mutation, you first call `useMailboxAttachmentCompleteUploadMutation` within a React component and pass it any options that fit your needs.
2099
+ * When your component renders, `useMailboxAttachmentCompleteUploadMutation` returns a tuple that includes:
2100
+ * - A mutate function that you can call at any time to execute the mutation
2101
+ * - An object with fields that represent the current status of the mutation's execution
2102
+ *
2103
+ * @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;
2104
+ *
2105
+ * @example
2106
+ * const [mailboxAttachmentCompleteUploadMutation, { data, loading, error }] = useMailboxAttachmentCompleteUploadMutation({
2107
+ * variables: {
2108
+ * input: // value for 'input'
2109
+ * },
2110
+ * });
2111
+ */
2112
+ export declare function useMailboxAttachmentCompleteUploadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MailboxAttachmentCompleteUploadMutation, any, Apollo.ApolloCache, undefined>;
2113
+ export type MailboxAttachmentCompleteUploadMutationHookResult = ReturnType<typeof useMailboxAttachmentCompleteUploadMutation>;
2114
+ export type MailboxAttachmentCompleteUploadMutationResult = Apollo.MutationResult<Types.MailboxAttachmentCompleteUploadMutation>;
2115
+ export type MailboxAttachmentCompleteUploadMutationOptions = Apollo.BaseMutationOptions<Types.MailboxAttachmentCompleteUploadMutation, Types.MailboxAttachmentCompleteUploadMutationVariables>;
1814
2116
  export declare const RefreshConnectionTokenDocument: Apollo.DocumentNode;
1815
2117
  export type RefreshConnectionTokenMutationFn = Apollo.MutationFunction<Types.RefreshConnectionTokenMutation, Types.RefreshConnectionTokenMutationVariables>;
1816
2118
  /**
@@ -2044,6 +2346,30 @@ export declare function useTestConnectionMutation(baseOptions?: ApolloReactHooks
2044
2346
  export type TestConnectionMutationHookResult = ReturnType<typeof useTestConnectionMutation>;
2045
2347
  export type TestConnectionMutationResult = Apollo.MutationResult<Types.TestConnectionMutation>;
2046
2348
  export type TestConnectionMutationOptions = Apollo.BaseMutationOptions<Types.TestConnectionMutation, Types.TestConnectionMutationVariables>;
2349
+ export declare const TrashMailboxThreadDocument: Apollo.DocumentNode;
2350
+ export type TrashMailboxThreadMutationFn = Apollo.MutationFunction<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>;
2351
+ /**
2352
+ * __useTrashMailboxThreadMutation__
2353
+ *
2354
+ * To run a mutation, you first call `useTrashMailboxThreadMutation` within a React component and pass it any options that fit your needs.
2355
+ * When your component renders, `useTrashMailboxThreadMutation` returns a tuple that includes:
2356
+ * - A mutate function that you can call at any time to execute the mutation
2357
+ * - An object with fields that represent the current status of the mutation's execution
2358
+ *
2359
+ * @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;
2360
+ *
2361
+ * @example
2362
+ * const [trashMailboxThreadMutation, { data, loading, error }] = useTrashMailboxThreadMutation({
2363
+ * variables: {
2364
+ * connectionId: // value for 'connectionId'
2365
+ * threadId: // value for 'threadId'
2366
+ * },
2367
+ * });
2368
+ */
2369
+ export declare function useTrashMailboxThreadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TrashMailboxThreadMutation, any, Apollo.ApolloCache, undefined>;
2370
+ export type TrashMailboxThreadMutationHookResult = ReturnType<typeof useTrashMailboxThreadMutation>;
2371
+ export type TrashMailboxThreadMutationResult = Apollo.MutationResult<Types.TrashMailboxThreadMutation>;
2372
+ export type TrashMailboxThreadMutationOptions = Apollo.BaseMutationOptions<Types.TrashMailboxThreadMutation, Types.TrashMailboxThreadMutationVariables>;
2047
2373
  export declare const UninstallProviderPluginDocument: Apollo.DocumentNode;
2048
2374
  export type UninstallProviderPluginMutationFn = Apollo.MutationFunction<Types.UninstallProviderPluginMutation, Types.UninstallProviderPluginMutationVariables>;
2049
2375
  /**
@@ -2091,6 +2417,30 @@ export declare function useUpdateConnectionMutation(baseOptions?: ApolloReactHoo
2091
2417
  export type UpdateConnectionMutationHookResult = ReturnType<typeof useUpdateConnectionMutation>;
2092
2418
  export type UpdateConnectionMutationResult = Apollo.MutationResult<Types.UpdateConnectionMutation>;
2093
2419
  export type UpdateConnectionMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConnectionMutation, Types.UpdateConnectionMutationVariables>;
2420
+ export declare const UpdateConnectorSubmissionOAuthClientDocument: Apollo.DocumentNode;
2421
+ export type UpdateConnectorSubmissionOAuthClientMutationFn = Apollo.MutationFunction<Types.UpdateConnectorSubmissionOAuthClientMutation, Types.UpdateConnectorSubmissionOAuthClientMutationVariables>;
2422
+ /**
2423
+ * __useUpdateConnectorSubmissionOAuthClientMutation__
2424
+ *
2425
+ * To run a mutation, you first call `useUpdateConnectorSubmissionOAuthClientMutation` within a React component and pass it any options that fit your needs.
2426
+ * When your component renders, `useUpdateConnectorSubmissionOAuthClientMutation` returns a tuple that includes:
2427
+ * - A mutate function that you can call at any time to execute the mutation
2428
+ * - An object with fields that represent the current status of the mutation's execution
2429
+ *
2430
+ * @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;
2431
+ *
2432
+ * @example
2433
+ * const [updateConnectorSubmissionOAuthClientMutation, { data, loading, error }] = useUpdateConnectorSubmissionOAuthClientMutation({
2434
+ * variables: {
2435
+ * id: // value for 'id'
2436
+ * input: // value for 'input'
2437
+ * },
2438
+ * });
2439
+ */
2440
+ export declare function useUpdateConnectorSubmissionOAuthClientMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConnectorSubmissionOAuthClientMutation, Types.UpdateConnectorSubmissionOAuthClientMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateConnectorSubmissionOAuthClientMutation, any, Apollo.ApolloCache, undefined>;
2441
+ export type UpdateConnectorSubmissionOAuthClientMutationHookResult = ReturnType<typeof useUpdateConnectorSubmissionOAuthClientMutation>;
2442
+ export type UpdateConnectorSubmissionOAuthClientMutationResult = Apollo.MutationResult<Types.UpdateConnectorSubmissionOAuthClientMutation>;
2443
+ export type UpdateConnectorSubmissionOAuthClientMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConnectorSubmissionOAuthClientMutation, Types.UpdateConnectorSubmissionOAuthClientMutationVariables>;
2094
2444
  export declare const UpdateProviderPluginDocument: Apollo.DocumentNode;
2095
2445
  export type UpdateProviderPluginMutationFn = Apollo.MutationFunction<Types.UpdateProviderPluginMutation, Types.UpdateProviderPluginMutationVariables>;
2096
2446
  /**
@@ -2498,6 +2848,68 @@ export type MailboxAccountsQueryHookResult = ReturnType<typeof useMailboxAccount
2498
2848
  export type MailboxAccountsLazyQueryHookResult = ReturnType<typeof useMailboxAccountsLazyQuery>;
2499
2849
  export type MailboxAccountsSuspenseQueryHookResult = ReturnType<typeof useMailboxAccountsSuspenseQuery>;
2500
2850
  export type MailboxAccountsQueryResult = Apollo.QueryResult<Types.MailboxAccountsQuery, Types.MailboxAccountsQueryVariables>;
2851
+ export declare const MailboxAttachmentDocument: Apollo.DocumentNode;
2852
+ /**
2853
+ * __useMailboxAttachmentQuery__
2854
+ *
2855
+ * To run a query within a React component, call `useMailboxAttachmentQuery` and pass it any options that fit your needs.
2856
+ * When your component renders, `useMailboxAttachmentQuery` returns an object from Apollo Client that contains loading, error, and data properties
2857
+ * you can use to render your UI.
2858
+ *
2859
+ * @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;
2860
+ *
2861
+ * @example
2862
+ * const { data, loading, error } = useMailboxAttachmentQuery({
2863
+ * variables: {
2864
+ * connectionId: // value for 'connectionId'
2865
+ * messageId: // value for 'messageId'
2866
+ * attachmentId: // value for 'attachmentId'
2867
+ * },
2868
+ * });
2869
+ */
2870
+ export declare function useMailboxAttachmentQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables> & ({
2871
+ variables: Types.MailboxAttachmentQueryVariables;
2872
+ skip?: boolean;
2873
+ } | {
2874
+ skip: boolean;
2875
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables, "complete" | "empty" | "streaming", Types.MailboxAttachmentQueryVariables>;
2876
+ export declare function useMailboxAttachmentLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables, "complete" | "empty" | "streaming">;
2877
+ export declare function useMailboxAttachmentSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>;
2878
+ export declare function useMailboxAttachmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxAttachmentQuery | undefined, Types.MailboxAttachmentQueryVariables>;
2879
+ export type MailboxAttachmentQueryHookResult = ReturnType<typeof useMailboxAttachmentQuery>;
2880
+ export type MailboxAttachmentLazyQueryHookResult = ReturnType<typeof useMailboxAttachmentLazyQuery>;
2881
+ export type MailboxAttachmentSuspenseQueryHookResult = ReturnType<typeof useMailboxAttachmentSuspenseQuery>;
2882
+ export type MailboxAttachmentQueryResult = Apollo.QueryResult<Types.MailboxAttachmentQuery, Types.MailboxAttachmentQueryVariables>;
2883
+ export declare const MailboxLabelsDocument: Apollo.DocumentNode;
2884
+ /**
2885
+ * __useMailboxLabelsQuery__
2886
+ *
2887
+ * To run a query within a React component, call `useMailboxLabelsQuery` and pass it any options that fit your needs.
2888
+ * When your component renders, `useMailboxLabelsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2889
+ * you can use to render your UI.
2890
+ *
2891
+ * @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;
2892
+ *
2893
+ * @example
2894
+ * const { data, loading, error } = useMailboxLabelsQuery({
2895
+ * variables: {
2896
+ * connectionId: // value for 'connectionId'
2897
+ * },
2898
+ * });
2899
+ */
2900
+ export declare function useMailboxLabelsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables> & ({
2901
+ variables: Types.MailboxLabelsQueryVariables;
2902
+ skip?: boolean;
2903
+ } | {
2904
+ skip: boolean;
2905
+ })): ApolloReactHooks.useQuery.Result<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables, "complete" | "empty" | "streaming", Types.MailboxLabelsQueryVariables>;
2906
+ export declare function useMailboxLabelsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables, "complete" | "empty" | "streaming">;
2907
+ export declare function useMailboxLabelsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>;
2908
+ export declare function useMailboxLabelsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.MailboxLabelsQuery | undefined, Types.MailboxLabelsQueryVariables>;
2909
+ export type MailboxLabelsQueryHookResult = ReturnType<typeof useMailboxLabelsQuery>;
2910
+ export type MailboxLabelsLazyQueryHookResult = ReturnType<typeof useMailboxLabelsLazyQuery>;
2911
+ export type MailboxLabelsSuspenseQueryHookResult = ReturnType<typeof useMailboxLabelsSuspenseQuery>;
2912
+ export type MailboxLabelsQueryResult = Apollo.QueryResult<Types.MailboxLabelsQuery, Types.MailboxLabelsQueryVariables>;
2501
2913
  export declare const MailboxMessagesDocument: Apollo.DocumentNode;
2502
2914
  /**
2503
2915
  * __useMailboxMessagesQuery__