@bcrumbs.net/inbox 0.0.41 → 0.0.42

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 (44) hide show
  1. package/assets/ar/inbox.json +238 -236
  2. package/assets/en/inbox.json +240 -238
  3. package/index.cjs.d.ts +1 -1
  4. package/index.cjs.js +37224 -36732
  5. package/index.esm.d.ts +1 -1
  6. package/index.esm.js +37213 -36721
  7. package/package.json +4 -4
  8. package/src/app/auth/hooks/useCurrentUser.d.ts +13 -0
  9. package/src/app/auth/hooks/useRoles.d.ts +6 -0
  10. package/src/app/auth/pages/Welcome.d.ts +1 -2
  11. package/src/app/auth/redux/actions/loginAction.d.ts +2 -14
  12. package/src/app/auth/redux/actions/registerAction.d.ts +0 -16
  13. package/src/app/auth/redux/auth.slice.d.ts +8 -25
  14. package/src/app/auth/redux/auth.types.d.ts +2 -2
  15. package/src/app/broadcast/components/BroadcastAnalysisCards.d.ts +11 -0
  16. package/src/app/broadcast/components/BroadcastAnalysisCharts.d.ts +10 -0
  17. package/src/app/broadcast/components/BroadcastAnalysisContent.d.ts +7 -0
  18. package/src/app/broadcast/components/BroadcastAnalysisEngagementFunnel.d.ts +8 -0
  19. package/src/app/broadcast/components/BroadcastAnalysisHeader.d.ts +6 -0
  20. package/src/app/broadcast/components/BroadcastAnalysisMessageStatusChart.d.ts +10 -0
  21. package/src/app/broadcast/components/BroadcastAnalysisReciepients.d.ts +3 -0
  22. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +15 -0
  23. package/src/app/broadcast/components/BroadcastAnalysisReciepientsTable.d.ts +12 -0
  24. package/src/app/broadcast/components/BroadcastListTable.d.ts +8 -0
  25. package/src/app/broadcast/components/BroadcastSampleContacts.d.ts +1 -1
  26. package/src/app/broadcast/components/BroadcastSectionCard.d.ts +6 -1
  27. package/src/app/broadcast/components/StatisticsCard.d.ts +7 -3
  28. package/src/app/broadcast/pages/BroadcastAnalysis.d.ts +2 -0
  29. package/src/app/broadcast/utils/helper.d.ts +1 -0
  30. package/src/app/contact/types.d.ts +1 -0
  31. package/src/app/generic/hooks/usePaginatedQuery.d.ts +1 -1
  32. package/src/app/inbox/components/Chat/ChatContent.d.ts +30 -0
  33. package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +3 -2
  34. package/src/app/inbox/components/Popups/SummaryPopup.d.ts +7 -0
  35. package/src/app/inbox/hooks/useCanContribute.d.ts +2 -2
  36. package/src/app/inbox/hooks/useConvFilters.d.ts +4 -5
  37. package/src/app/inbox/utils/convs.d.ts +5 -3
  38. package/src/app/resources/config/types.d.ts +1 -0
  39. package/src/assets/locales/translations.d.ts +56 -0
  40. package/src/environments/types.d.ts +1 -0
  41. package/src/graphql.autogenerated.d.ts +191 -60
  42. package/src/store/index.d.ts +72 -225
  43. package/src/store/reducers.d.ts +8 -25
  44. package/src/utils/globalHelper.d.ts +6 -0
@@ -607,6 +607,32 @@ export type BulkImportContactsResult = {
607
607
  /** The job ID to track the import progress. */
608
608
  jobId: Scalars['String']['output'];
609
609
  };
610
+ /**
611
+ * BulkPermanentDeleteClientsByFilterInput is an input for the bulk permanent delete clients by filter mutation.
612
+ * This completely removes clients from the database (not just soft delete).
613
+ */
614
+ export type BulkPermanentDeleteClientsByFilterInput = {
615
+ /** The stage ID to filter clients. Clients with this stage will be permanently deleted. */
616
+ stageId?: InputMaybe<Scalars['String']['input']>;
617
+ /** Array of tags to filter clients. Clients with any of these tags will be permanently deleted. */
618
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
619
+ workspaceId: Scalars['Int']['input'];
620
+ };
621
+ /**
622
+ * BulkPermanentDeleteClientsInput is an input for the bulk permanent delete clients mutation.
623
+ * This completely removes clients from the database (not just soft delete).
624
+ */
625
+ export type BulkPermanentDeleteClientsInput = {
626
+ /** Array of client IDs to permanently delete. */
627
+ ids: Array<Scalars['ID']['input']>;
628
+ workspaceId: Scalars['Int']['input'];
629
+ };
630
+ /** BulkPermanentDeleteClientsResult is the result of a bulk permanent delete clients mutation. */
631
+ export type BulkPermanentDeleteClientsResult = {
632
+ __typename?: 'BulkPermanentDeleteClientsResult';
633
+ /** Number of clients successfully permanently deleted. */
634
+ deletedCount: Scalars['Int']['output'];
635
+ };
610
636
  /** Client is an entity that represents a client (The contact that is sending messages to a workspace channel). */
611
637
  export type Client = {
612
638
  __typename?: 'Client';
@@ -1054,6 +1080,24 @@ export type ConvsReportPayload = {
1054
1080
  __typename?: 'ConvsReportPayload';
1055
1081
  nodes?: Maybe<Array<ConversationReport>>;
1056
1082
  };
1083
+ /** CreateWorkspaceInput is an input of the createWorkspace mutation. */
1084
+ export type CreateWorkspaceInput = {
1085
+ accountId?: InputMaybe<Scalars['String']['input']>;
1086
+ address?: InputMaybe<Scalars['String']['input']>;
1087
+ city?: InputMaybe<Scalars['String']['input']>;
1088
+ companyUserId?: InputMaybe<Scalars['Int']['input']>;
1089
+ contactPersonEmail?: InputMaybe<Scalars['String']['input']>;
1090
+ contactPersonName?: InputMaybe<Scalars['String']['input']>;
1091
+ contactPersonPhoneNumber?: InputMaybe<Scalars['String']['input']>;
1092
+ country?: InputMaybe<Scalars['String']['input']>;
1093
+ /** The name of the workspace. */
1094
+ name: Scalars['String']['input'];
1095
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
1096
+ subscriptionType?: InputMaybe<Scalars['String']['input']>;
1097
+ taxNumber?: InputMaybe<Scalars['String']['input']>;
1098
+ taxOffice?: InputMaybe<Scalars['String']['input']>;
1099
+ website?: InputMaybe<Scalars['String']['input']>;
1100
+ };
1057
1101
  /**
1058
1102
  * ErrorCode is an enum for the error codes.
1059
1103
  * - UNAUTHENTICATED: The user is not authenticated.
@@ -1473,6 +1517,16 @@ export type Mutation = {
1473
1517
  bulkImportContacts: BulkImportContactsResult;
1474
1518
  /** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
1475
1519
  bulkPatchTags: Scalars['Boolean']['output'];
1520
+ /**
1521
+ * Bulk permanently delete clients by IDs. This completely removes clients from the database (not just soft delete).
1522
+ * You should have the MANAGE_CLIENTS permission to permanently delete clients.
1523
+ */
1524
+ bulkPermanentDeleteClients: BulkPermanentDeleteClientsResult;
1525
+ /**
1526
+ * Bulk permanently delete clients by tags and stageId. This completely removes clients from the database (not just soft delete).
1527
+ * You should have the MANAGE_WORKSPACE permission to permanently delete clients.
1528
+ */
1529
+ bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
1476
1530
  /**
1477
1531
  * Cancel a scheduled broadcast that hasn't started yet (scheduled -> draft).
1478
1532
  * You should have the MANAGE_CONVS permission to cancel a broadcast.
@@ -1491,6 +1545,8 @@ export type Mutation = {
1491
1545
  /** Create a tag. You should have the MANAGE_WORKSPACE permission to create a tag. */
1492
1546
  createTag: Tag;
1493
1547
  createWebhook: Webhook;
1548
+ /** Create a workspace and link it to the current authenticated user. */
1549
+ createWorkspace: Workspace;
1494
1550
  /** Delete an agent. You should have the MANAGE_WORKSPACE permission to delete an agent. */
1495
1551
  deleteAgent: Agent;
1496
1552
  deleteAi: Ai;
@@ -1577,6 +1633,12 @@ export type MutationBulkImportContactsArgs = {
1577
1633
  export type MutationBulkPatchTagsArgs = {
1578
1634
  input: TagBulkPatchInput;
1579
1635
  };
1636
+ export type MutationBulkPermanentDeleteClientsArgs = {
1637
+ input: BulkPermanentDeleteClientsInput;
1638
+ };
1639
+ export type MutationBulkPermanentDeleteClientsByFilterArgs = {
1640
+ input: BulkPermanentDeleteClientsByFilterInput;
1641
+ };
1580
1642
  export type MutationCancelBroadcastArgs = {
1581
1643
  input: BroadcastCancelInput;
1582
1644
  };
@@ -1604,6 +1666,9 @@ export type MutationCreateTagArgs = {
1604
1666
  export type MutationCreateWebhookArgs = {
1605
1667
  input: WebhookCreateInput;
1606
1668
  };
1669
+ export type MutationCreateWorkspaceArgs = {
1670
+ input: CreateWorkspaceInput;
1671
+ };
1607
1672
  export type MutationDeleteAgentArgs = {
1608
1673
  input: AgentInput;
1609
1674
  };
@@ -1766,28 +1831,6 @@ export declare const Permission: {
1766
1831
  readonly MANAGE_WORKSPACE: "MANAGE_WORKSPACE";
1767
1832
  };
1768
1833
  export type Permission = typeof Permission[keyof typeof Permission];
1769
- /** Plan represents a subscription plan. */
1770
- export type Plan = {
1771
- __typename?: 'Plan';
1772
- broadcastMessageCount: Scalars['Int']['output'];
1773
- convCount: Scalars['Int']['output'];
1774
- createdAt: Scalars['DateTime']['output'];
1775
- deletedAt?: Maybe<Scalars['DateTime']['output']>;
1776
- id: Scalars['Int']['output'];
1777
- isBroadcast80PercentUsed?: Maybe<Scalars['Boolean']['output']>;
1778
- isBroadcast100PercentUsed?: Maybe<Scalars['Boolean']['output']>;
1779
- isBroadcastUsed?: Maybe<Scalars['Boolean']['output']>;
1780
- isConv80PercentUsed?: Maybe<Scalars['Boolean']['output']>;
1781
- isConv100PercentUsed?: Maybe<Scalars['Boolean']['output']>;
1782
- isConvUsed?: Maybe<Scalars['Boolean']['output']>;
1783
- lastUseDate?: Maybe<Scalars['DateTime']['output']>;
1784
- monthlyPrice: Scalars['Float']['output'];
1785
- planType: Scalars['String']['output'];
1786
- updatedAt: Scalars['DateTime']['output'];
1787
- userCount: Scalars['Int']['output'];
1788
- userId: Scalars['Int']['output'];
1789
- yearlyPrice: Scalars['Float']['output'];
1790
- };
1791
1834
  export type Query = {
1792
1835
  __typename?: 'Query';
1793
1836
  /** Get an agent. */
@@ -1829,14 +1872,17 @@ export type Query = {
1829
1872
  integration: Integration;
1830
1873
  /** Get the integrations. */
1831
1874
  integrations: IntegrationsPayload;
1875
+ /**
1876
+ * Validate that a workspace name is not already used.
1877
+ * Returns true if the name is available (not used), false otherwise.
1878
+ */
1879
+ isWorkspaceNameAvailable: Scalars['Boolean']['output'];
1832
1880
  me: UserRole;
1833
1881
  /** Get the messages of a conversation. */
1834
1882
  messages: MessagesPayload;
1835
1883
  /** Get the count of open conversations that have recent client messages (conversations that need a response). */
1836
1884
  openConversationsNeedResponseCount: Scalars['Int']['output'];
1837
1885
  sources: SourcesPayload;
1838
- /** Get the current subscription for a workspace. */
1839
- subscription: SubscriptionPlan;
1840
1886
  /** Get tags. */
1841
1887
  tags: TagsPayload;
1842
1888
  /** Get token usage logs with pagination. */
@@ -1921,6 +1967,9 @@ export type QueryIntegrationArgs = {
1921
1967
  export type QueryIntegrationsArgs = {
1922
1968
  input: IntegrationsInput;
1923
1969
  };
1970
+ export type QueryIsWorkspaceNameAvailableArgs = {
1971
+ name: Scalars['String']['input'];
1972
+ };
1924
1973
  export type QueryMeArgs = {
1925
1974
  input: InputInitWorkspace;
1926
1975
  };
@@ -1934,9 +1983,6 @@ export type QueryOpenConversationsNeedResponseCountArgs = {
1934
1983
  export type QuerySourcesArgs = {
1935
1984
  input: SourcesInput;
1936
1985
  };
1937
- export type QuerySubscriptionArgs = {
1938
- input: SubscriptionInput;
1939
- };
1940
1986
  export type QueryTagsArgs = {
1941
1987
  input: TagsInput;
1942
1988
  };
@@ -2100,39 +2146,6 @@ export type StatusUpdateDto = {
2100
2146
  traceId?: Maybe<Scalars['String']['output']>;
2101
2147
  workspaceId: Scalars['Int']['output'];
2102
2148
  };
2103
- /** SubscriptionInput is an input for the subscription query. */
2104
- export type SubscriptionInput = {
2105
- workspaceId: Scalars['Int']['input'];
2106
- };
2107
- /** SubscriptionPlan represents a user's subscription to a plan. */
2108
- export type SubscriptionPlan = {
2109
- __typename?: 'SubscriptionPlan';
2110
- accountDiscountPercentage: Scalars['Int']['output'];
2111
- accountManagerId?: Maybe<Scalars['Int']['output']>;
2112
- createdAt: Scalars['DateTime']['output'];
2113
- customizable: Scalars['Boolean']['output'];
2114
- endDate: Scalars['DateTime']['output'];
2115
- failedPaymentTimes: Scalars['Int']['output'];
2116
- freeCredits: Scalars['Float']['output'];
2117
- id: Scalars['Int']['output'];
2118
- isUsed?: Maybe<Scalars['Boolean']['output']>;
2119
- lastPausedDate?: Maybe<Scalars['DateTime']['output']>;
2120
- paused: Scalars['Boolean']['output'];
2121
- paymentMethodId?: Maybe<Scalars['Int']['output']>;
2122
- plan?: Maybe<Plan>;
2123
- planId: Scalars['Int']['output'];
2124
- promoType?: Maybe<Scalars['String']['output']>;
2125
- promoValue?: Maybe<Scalars['Float']['output']>;
2126
- reactivationDate?: Maybe<Scalars['DateTime']['output']>;
2127
- reactivationPeriodLeft?: Maybe<Scalars['BigInt']['output']>;
2128
- renewalInProgress: Scalars['Boolean']['output'];
2129
- renewalsPaid: Scalars['Int']['output'];
2130
- startDate: Scalars['DateTime']['output'];
2131
- term: Scalars['String']['output'];
2132
- updatedAt: Scalars['DateTime']['output'];
2133
- updatingPaymentTries: Scalars['Int']['output'];
2134
- workspaceId: Scalars['Int']['output'];
2135
- };
2136
2149
  export type Tag = {
2137
2150
  __typename?: 'Tag';
2138
2151
  createdAt: Scalars['DateTime']['output'];
@@ -3157,6 +3170,26 @@ export type BulkImportContactsJobStatusQuery = {
3157
3170
  skipped?: number | null;
3158
3171
  } | null;
3159
3172
  };
3173
+ export type BulkPermanentDeleteClientsMutationVariables = Exact<{
3174
+ input: BulkPermanentDeleteClientsInput;
3175
+ }>;
3176
+ export type BulkPermanentDeleteClientsMutation = {
3177
+ __typename?: 'Mutation';
3178
+ bulkPermanentDeleteClients: {
3179
+ __typename?: 'BulkPermanentDeleteClientsResult';
3180
+ deletedCount: number;
3181
+ };
3182
+ };
3183
+ export type BulkPermanentDeleteClientsByFilterMutationVariables = Exact<{
3184
+ input: BulkPermanentDeleteClientsByFilterInput;
3185
+ }>;
3186
+ export type BulkPermanentDeleteClientsByFilterMutation = {
3187
+ __typename?: 'Mutation';
3188
+ bulkPermanentDeleteClientsByFilter: {
3189
+ __typename?: 'BulkPermanentDeleteClientsResult';
3190
+ deletedCount: number;
3191
+ };
3192
+ };
3160
3193
  export type CancelBroadcastMutationVariables = Exact<{
3161
3194
  input: BroadcastCancelInput;
3162
3195
  }>;
@@ -4456,6 +4489,13 @@ export type WorkspaceSettingsFragment = {
4456
4489
  active?: boolean | null;
4457
4490
  }> | null;
4458
4491
  };
4492
+ export type IsWorkspaceNameAvailableQueryVariables = Exact<{
4493
+ name: Scalars['String']['input'];
4494
+ }>;
4495
+ export type IsWorkspaceNameAvailableQuery = {
4496
+ __typename?: 'Query';
4497
+ isWorkspaceNameAvailable: boolean;
4498
+ };
4459
4499
  export type PatchWorkspaceSettingsMutationVariables = Exact<{
4460
4500
  input: WorkspaceSettingsPatchInput;
4461
4501
  }>;
@@ -5455,6 +5495,56 @@ export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkI
5455
5495
  input: BulkImportContactsJobStatusInput;
5456
5496
  }>;
5457
5497
  };
5498
+ export declare const BulkPermanentDeleteClientsDocument: Apollo.DocumentNode;
5499
+ export type BulkPermanentDeleteClientsMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
5500
+ /**
5501
+ * __useBulkPermanentDeleteClientsMutation__
5502
+ *
5503
+ * To run a mutation, you first call `useBulkPermanentDeleteClientsMutation` within a React component and pass it any options that fit your needs.
5504
+ * When your component renders, `useBulkPermanentDeleteClientsMutation` returns a tuple that includes:
5505
+ * - A mutate function that you can call at any time to execute the mutation
5506
+ * - An object with fields that represent the current status of the mutation's execution
5507
+ *
5508
+ * @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;
5509
+ *
5510
+ * @example
5511
+ * const [bulkPermanentDeleteClientsMutation, { data, loading, error }] = useBulkPermanentDeleteClientsMutation({
5512
+ * variables: {
5513
+ * input: // value for 'input'
5514
+ * },
5515
+ * });
5516
+ */
5517
+ export declare function useBulkPermanentDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsMutation, Exact<{
5518
+ input: BulkPermanentDeleteClientsInput;
5519
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5520
+ export type BulkPermanentDeleteClientsMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsMutation>;
5521
+ export type BulkPermanentDeleteClientsMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsMutation>;
5522
+ export type BulkPermanentDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
5523
+ export declare const BulkPermanentDeleteClientsByFilterDocument: Apollo.DocumentNode;
5524
+ export type BulkPermanentDeleteClientsByFilterMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
5525
+ /**
5526
+ * __useBulkPermanentDeleteClientsByFilterMutation__
5527
+ *
5528
+ * To run a mutation, you first call `useBulkPermanentDeleteClientsByFilterMutation` within a React component and pass it any options that fit your needs.
5529
+ * When your component renders, `useBulkPermanentDeleteClientsByFilterMutation` returns a tuple that includes:
5530
+ * - A mutate function that you can call at any time to execute the mutation
5531
+ * - An object with fields that represent the current status of the mutation's execution
5532
+ *
5533
+ * @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;
5534
+ *
5535
+ * @example
5536
+ * const [bulkPermanentDeleteClientsByFilterMutation, { data, loading, error }] = useBulkPermanentDeleteClientsByFilterMutation({
5537
+ * variables: {
5538
+ * input: // value for 'input'
5539
+ * },
5540
+ * });
5541
+ */
5542
+ export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsByFilterMutation, Exact<{
5543
+ input: BulkPermanentDeleteClientsByFilterInput;
5544
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5545
+ export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
5546
+ export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
5547
+ export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
5458
5548
  export declare const CancelBroadcastDocument: Apollo.DocumentNode;
5459
5549
  export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
5460
5550
  /**
@@ -6976,6 +7066,47 @@ export declare function refetchWebhooksQuery(variables: WebhooksQueryVariables):
6976
7066
  input: WebhooksInput;
6977
7067
  }>;
6978
7068
  };
7069
+ export declare const IsWorkspaceNameAvailableDocument: Apollo.DocumentNode;
7070
+ /**
7071
+ * __useIsWorkspaceNameAvailableQuery__
7072
+ *
7073
+ * To run a query within a React component, call `useIsWorkspaceNameAvailableQuery` and pass it any options that fit your needs.
7074
+ * When your component renders, `useIsWorkspaceNameAvailableQuery` returns an object from Apollo Client that contains loading, error, and data properties
7075
+ * you can use to render your UI.
7076
+ *
7077
+ * @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;
7078
+ *
7079
+ * @example
7080
+ * const { data, loading, error } = useIsWorkspaceNameAvailableQuery({
7081
+ * variables: {
7082
+ * name: // value for 'name'
7083
+ * },
7084
+ * });
7085
+ */
7086
+ export declare function useIsWorkspaceNameAvailableQuery(baseOptions: Apollo.QueryHookOptions<IsWorkspaceNameAvailableQuery, IsWorkspaceNameAvailableQueryVariables> & ({
7087
+ variables: IsWorkspaceNameAvailableQueryVariables;
7088
+ skip?: boolean;
7089
+ } | {
7090
+ skip: boolean;
7091
+ })): Apollo.QueryResult<IsWorkspaceNameAvailableQuery, Exact<{
7092
+ name: string;
7093
+ }>>;
7094
+ export declare function useIsWorkspaceNameAvailableLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IsWorkspaceNameAvailableQuery, IsWorkspaceNameAvailableQueryVariables>): Apollo.LazyQueryResultTuple<IsWorkspaceNameAvailableQuery, Exact<{
7095
+ name: string;
7096
+ }>>;
7097
+ export declare function useIsWorkspaceNameAvailableSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<IsWorkspaceNameAvailableQuery, IsWorkspaceNameAvailableQueryVariables>): Apollo.UseSuspenseQueryResult<IsWorkspaceNameAvailableQuery | undefined, Exact<{
7098
+ name: string;
7099
+ }>>;
7100
+ export type IsWorkspaceNameAvailableQueryHookResult = ReturnType<typeof useIsWorkspaceNameAvailableQuery>;
7101
+ export type IsWorkspaceNameAvailableLazyQueryHookResult = ReturnType<typeof useIsWorkspaceNameAvailableLazyQuery>;
7102
+ export type IsWorkspaceNameAvailableSuspenseQueryHookResult = ReturnType<typeof useIsWorkspaceNameAvailableSuspenseQuery>;
7103
+ export type IsWorkspaceNameAvailableQueryResult = Apollo.QueryResult<IsWorkspaceNameAvailableQuery, IsWorkspaceNameAvailableQueryVariables>;
7104
+ export declare function refetchIsWorkspaceNameAvailableQuery(variables: IsWorkspaceNameAvailableQueryVariables): {
7105
+ query: Apollo.DocumentNode;
7106
+ variables: Exact<{
7107
+ name: string;
7108
+ }>;
7109
+ };
6979
7110
  export declare const PatchWorkspaceSettingsDocument: Apollo.DocumentNode;
6980
7111
  export type PatchWorkspaceSettingsMutationFn = Apollo.MutationFunction<PatchWorkspaceSettingsMutation, PatchWorkspaceSettingsMutationVariables>;
6981
7112
  /**