@bcrumbs.net/inbox 0.0.62 → 0.0.64
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.
- package/assets/ar/inbox.json +3 -0
- package/assets/en/inbox.json +3 -0
- package/e2e/auth.setup.d.ts +1 -0
- package/e2e/checkout/checkout.flows.d.ts +18 -0
- package/e2e/global.teardown.d.ts +1 -0
- package/e2e/support/auth.d.ts +18 -0
- package/e2e/support/cleanup.d.ts +20 -0
- package/e2e/support/config.d.ts +23 -0
- package/e2e/support/fixtures.d.ts +16 -0
- package/e2e/support/identifiers.d.ts +13 -0
- package/e2e/support/index.d.ts +6 -0
- package/index.cjs.js +1363 -427
- package/index.esm.js +1365 -430
- package/package.json +2 -2
- package/playwright.config.d.ts +0 -4
- package/src/app/ai/components/playground/ThreadMessages.d.ts +3 -1
- package/src/app/auth/components/AcceptInvitation.d.ts +2 -0
- package/src/app/auth/components/AuthLanguagePicker.d.ts +3 -0
- package/src/app/auth/components/AuthVisualCarousel.d.ts +1 -0
- package/src/app/auth/components/ClerkForgetPanel.d.ts +6 -0
- package/src/app/auth/components/ClerkResetPasswordPanel.d.ts +6 -0
- package/src/app/auth/components/ClerkSessionBridge.d.ts +16 -0
- package/src/app/auth/components/ClerkSignInPanel.d.ts +2 -0
- package/src/app/auth/components/ClerkSignUpPanel.d.ts +2 -0
- package/src/app/auth/components/password-page/PasswordFormView.d.ts +10 -1
- package/src/app/auth/config/authProvider.d.ts +12 -0
- package/src/app/auth/config/clerkAppearance.d.ts +534 -0
- package/src/app/auth/config/clerkLocalization.d.ts +6 -0
- package/src/app/auth/pages/Auth.style.d.ts +28 -0
- package/src/app/auth/pages/CheckAuth.d.ts +7 -4
- package/src/app/auth/pages/Forget.d.ts +2 -2
- package/src/app/auth/pages/Login.d.ts +3 -3
- package/src/app/auth/pages/Password.d.ts +2 -2
- package/src/app/auth/pages/Register.d.ts +2 -3
- package/src/app/auth/utils/clerkTracking.d.ts +9 -0
- package/src/app/billing/pages/GatewayWelcomePage.d.ts +2 -0
- package/src/app/billing/pages/GuidePage.d.ts +1 -0
- package/src/app/billing/utils/isGatewayPlan.d.ts +2 -0
- package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +6 -6
- package/src/app/broadcast/constants.d.ts +2 -0
- package/src/app/contact/components/ImportProgressDialog.d.ts +2 -1
- package/src/app/generic/hooks/useOnlineStatus.d.ts +1 -1
- package/src/app/generic/hooks/usePaginatedQuery.d.ts +1 -0
- package/src/app/inbox/components/Chat/ChatContent.d.ts +3 -1
- package/src/app/inbox/components/NewDetails/ContactActionsMenu.d.ts +9 -0
- package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
- package/src/app/inbox/components/Shared/MobileChatDetailsSlider.d.ts +1 -0
- package/src/app/inbox/components/Shared/MobileDetailsSwipeHint.d.ts +1 -1
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +8 -0
- package/src/app/inbox/hooks/useConvEnhance.d.ts +3 -1
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +7 -0
- package/src/app/inbox/utils/convAssistStorage.d.ts +9 -4
- package/src/app/inbox/utils/convs.d.ts +4 -0
- package/src/app/inbox/utils/sounds.d.ts +2 -0
- package/src/app/layout/components/LogoutPopin.d.ts +6 -3
- package/src/app/layout/components/language/index.d.ts +5 -1
- package/src/app/layout/constants/index.d.ts +35 -0
- package/src/app/managemnet/config/webhookDefinition.d.ts +4 -0
- package/src/app/managemnet/pages/generalSettings/WritingAssistanceSettings.d.ts +9 -0
- package/src/app/managemnet/pages/generalSettings/holidayConstants.d.ts +5 -0
- package/src/app/managemnet/pages/generalSettings/writingConstants.d.ts +6 -0
- package/src/app/resources/components/Agents/CreateAgent.d.ts +7 -3
- package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +3 -1
- package/src/app/subscriptions/components/Plans/PlanCard.d.ts +3 -1
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionCreditsCard.d.ts +5 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +0 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
- package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +17 -2
- package/src/app/subscriptions/constants/Plans.d.ts +2 -1
- package/src/app/subscriptions/utils/estimateUpgradeProration.d.ts +26 -0
- package/src/assets/locales/translations.d.ts +151 -0
- package/src/environments/environment.dev.d.ts +2 -0
- package/src/environments/types.d.ts +7 -0
- package/src/graphql.autogenerated.d.ts +981 -4
- package/src/graphql.billing.autogenerated.d.ts +193 -0
- package/src/lib/EmbeddedMobileMenu.d.ts +1 -2
- package/src/lib/index.d.ts +1 -0
|
@@ -953,7 +953,7 @@ export type ClientTagInput = {
|
|
|
953
953
|
};
|
|
954
954
|
/** ClientsInput is an input of the clients query. */
|
|
955
955
|
export type ClientsInput = {
|
|
956
|
-
/** Filter clients who
|
|
956
|
+
/** Filter clients who opened a conversation in the last X days. */
|
|
957
957
|
activeInLastDays?: InputMaybe<Scalars['Int']['input']>;
|
|
958
958
|
/** The city of the client. Used to filter the clients by the city. */
|
|
959
959
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -989,6 +989,11 @@ export type ClientsPayload = {
|
|
|
989
989
|
nodes?: Maybe<Array<Client>>;
|
|
990
990
|
pageInfo?: Maybe<PageInfo>;
|
|
991
991
|
};
|
|
992
|
+
/** CompleteOnboardingStepInput marks a single checklist step as done. */
|
|
993
|
+
export type CompleteOnboardingStepInput = {
|
|
994
|
+
stepId: OnboardingStepId;
|
|
995
|
+
workspaceId: Scalars['Int']['input'];
|
|
996
|
+
};
|
|
992
997
|
export type Configurations = {
|
|
993
998
|
__typename?: 'Configurations';
|
|
994
999
|
askForAddress?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1487,20 +1492,31 @@ export type CreateWorkspaceInput = {
|
|
|
1487
1492
|
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
1488
1493
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
1489
1494
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
1495
|
+
companySize?: InputMaybe<Scalars['String']['input']>;
|
|
1490
1496
|
companyUserId?: InputMaybe<Scalars['Int']['input']>;
|
|
1491
1497
|
contactPersonEmail?: InputMaybe<Scalars['String']['input']>;
|
|
1492
1498
|
contactPersonName?: InputMaybe<Scalars['String']['input']>;
|
|
1493
1499
|
contactPersonPhoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1494
1500
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
1501
|
+
creatorRole?: InputMaybe<Scalars['String']['input']>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Profile answers from the create-workspace form. Stored on the workspace's
|
|
1504
|
+
* onboarding record. Accepted values come from the onboardingOptions query.
|
|
1505
|
+
*/
|
|
1506
|
+
industry?: InputMaybe<Scalars['String']['input']>;
|
|
1495
1507
|
/** The name of the workspace. */
|
|
1496
1508
|
name: Scalars['String']['input'];
|
|
1497
1509
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1498
1510
|
subscriptionType?: InputMaybe<Scalars['String']['input']>;
|
|
1499
1511
|
taxNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1500
1512
|
taxOffice?: InputMaybe<Scalars['String']['input']>;
|
|
1513
|
+
useCase?: InputMaybe<Scalars['String']['input']>;
|
|
1501
1514
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
1502
1515
|
};
|
|
1503
|
-
/**
|
|
1516
|
+
/**
|
|
1517
|
+
* Counts of auth records removed when deleting a workspace.
|
|
1518
|
+
* User accounts are preserved; users is always 0.
|
|
1519
|
+
*/
|
|
1504
1520
|
export type DeleteWorkspaceAuthCounts = {
|
|
1505
1521
|
__typename?: 'DeleteWorkspaceAuthCounts';
|
|
1506
1522
|
memberships: Scalars['Int']['output'];
|
|
@@ -1827,6 +1843,8 @@ export type Message = {
|
|
|
1827
1843
|
messageId: Scalars['ID']['output'];
|
|
1828
1844
|
/** The note type of the message. */
|
|
1829
1845
|
noteType?: Maybe<NoteType>;
|
|
1846
|
+
/** Emoji reactions on this message. */
|
|
1847
|
+
reactions?: Maybe<Array<MessageReaction>>;
|
|
1830
1848
|
/** The sender identifier. It is used to identify the sender of the message in the provider's system. */
|
|
1831
1849
|
senderId?: Maybe<Scalars['String']['output']>;
|
|
1832
1850
|
/** The referral source type when the message originated from an ad or referral link. */
|
|
@@ -1918,6 +1936,36 @@ export type MessageInput = {
|
|
|
1918
1936
|
type: MessageType;
|
|
1919
1937
|
workspaceId: Scalars['Int']['input'];
|
|
1920
1938
|
};
|
|
1939
|
+
/** MessageReaction is an emoji reaction on a message. */
|
|
1940
|
+
export type MessageReaction = {
|
|
1941
|
+
__typename?: 'MessageReaction';
|
|
1942
|
+
/**
|
|
1943
|
+
* The agent id when the reaction was added by a known agent. Null when the
|
|
1944
|
+
* business reacted from the channel app itself.
|
|
1945
|
+
*/
|
|
1946
|
+
agentId?: Maybe<Scalars['ID']['output']>;
|
|
1947
|
+
/** When the reaction was added. */
|
|
1948
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1949
|
+
/** The emoji character of the reaction. */
|
|
1950
|
+
emoji: Scalars['String']['output'];
|
|
1951
|
+
/**
|
|
1952
|
+
* Whether the reaction was added by the business side rather than the client.
|
|
1953
|
+
* A message holds at most one reaction per side.
|
|
1954
|
+
*/
|
|
1955
|
+
isAgent: Scalars['Boolean']['output'];
|
|
1956
|
+
};
|
|
1957
|
+
/** MessageReactionInput is an input of the message reaction mutations. */
|
|
1958
|
+
export type MessageReactionInput = {
|
|
1959
|
+
/** The id of the conversation. */
|
|
1960
|
+
convId: Scalars['ID']['input'];
|
|
1961
|
+
/** The emoji character of the reaction. */
|
|
1962
|
+
emoji: Scalars['String']['input'];
|
|
1963
|
+
/** The integration/channel id of the conversation. */
|
|
1964
|
+
integrationId: Scalars['ID']['input'];
|
|
1965
|
+
/** The id of the message to react to. */
|
|
1966
|
+
messageId: Scalars['ID']['input'];
|
|
1967
|
+
workspaceId: Scalars['Int']['input'];
|
|
1968
|
+
};
|
|
1921
1969
|
/**
|
|
1922
1970
|
* MessageStatus is an enum of the message statuses.
|
|
1923
1971
|
* It can be:
|
|
@@ -2086,6 +2134,8 @@ export type Mutation = {
|
|
|
2086
2134
|
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
2087
2135
|
*/
|
|
2088
2136
|
cancelBroadcast: Broadcast;
|
|
2137
|
+
/** Mark a checklist step complete. Idempotent — completing a done step is a no-op. */
|
|
2138
|
+
completeOnboardingStep: WorkspaceOnboarding;
|
|
2089
2139
|
/** Continue a live conversation on another integration and append switch history. */
|
|
2090
2140
|
continueConvOn: Conversation;
|
|
2091
2141
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
@@ -2106,7 +2156,10 @@ export type Mutation = {
|
|
|
2106
2156
|
/** Create a tag. You should have the MANAGE_WORKSPACE permission to create a tag. */
|
|
2107
2157
|
createTag: Tag;
|
|
2108
2158
|
createWebhook: Webhook;
|
|
2109
|
-
/**
|
|
2159
|
+
/**
|
|
2160
|
+
* Create a workspace and link it to the current authenticated user.
|
|
2161
|
+
* Also creates the workspace's onboarding record.
|
|
2162
|
+
*/
|
|
2110
2163
|
createWorkspace: Workspace;
|
|
2111
2164
|
/** Delete an agent. You should have the MANAGE_WORKSPACE permission to delete an agent. */
|
|
2112
2165
|
deleteAgent: Agent;
|
|
@@ -2126,10 +2179,14 @@ export type Mutation = {
|
|
|
2126
2179
|
deleteTag: Tag;
|
|
2127
2180
|
deleteWebhook: Webhook;
|
|
2128
2181
|
/**
|
|
2129
|
-
* Permanently delete a workspace.
|
|
2182
|
+
* Permanently delete a workspace. Allowed for user, partner, or internalService callers only
|
|
2183
|
+
* (not apiKey / agentApiKey). Users must be OWNER; partners may delete their own workspace.
|
|
2184
|
+
* If a previous delete removed roles then failed, retry is allowed when no roles remain.
|
|
2130
2185
|
* Removes core data, then calls internal endpoints on bot, billing, and auth to remove related data.
|
|
2131
2186
|
*/
|
|
2132
2187
|
deleteWorkspace: DeleteWorkspaceResult;
|
|
2188
|
+
/** Finish or dismiss the checklist so it stops being shown. Idempotent. */
|
|
2189
|
+
dismissWorkspaceOnboarding: WorkspaceOnboarding;
|
|
2133
2190
|
/** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
|
|
2134
2191
|
endConv: Conversation;
|
|
2135
2192
|
/** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
|
|
@@ -2160,13 +2217,19 @@ export type Mutation = {
|
|
|
2160
2217
|
patchWorkspaceSettings: WorkspaceSettings;
|
|
2161
2218
|
/** Put a client (Update a client if it exists, create a new one if it doesn't). You should have the MANAGE_CLIENTS permission to put a client. */
|
|
2162
2219
|
putClient: Client;
|
|
2220
|
+
/** React to a message with an emoji. */
|
|
2221
|
+
reactToMessage: Message;
|
|
2163
2222
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
2164
2223
|
removeQuickReply: QuickReply;
|
|
2224
|
+
/** Remove a user from a workspace membership. Caller must be a member. */
|
|
2225
|
+
removeWorkspaceMember: Scalars['Boolean']['output'];
|
|
2165
2226
|
/**
|
|
2166
2227
|
* Retry failed broadcast targets whose failure reason is transient.
|
|
2167
2228
|
* You should have the MANAGE_CONVS permission to retry failed broadcast targets.
|
|
2168
2229
|
*/
|
|
2169
2230
|
retryFailedBroadcastTargets: RetryFailedBroadcastTargetsPayload;
|
|
2231
|
+
/** Revoke a pending or approved workspace invitation. Caller must be a member. */
|
|
2232
|
+
revokeWorkspaceInvitation: Scalars['Boolean']['output'];
|
|
2170
2233
|
say?: Maybe<HelloMessage>;
|
|
2171
2234
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
2172
2235
|
sendNotification: Message;
|
|
@@ -2194,12 +2257,18 @@ export type Mutation = {
|
|
|
2194
2257
|
undeleteClient: Client;
|
|
2195
2258
|
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2196
2259
|
undeleteClientByExternalId: Client;
|
|
2260
|
+
/** Remove an emoji reaction from a message. */
|
|
2261
|
+
unreactToMessage: Message;
|
|
2197
2262
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
2198
2263
|
untagClient: Client;
|
|
2199
2264
|
/** Untag a conversation. */
|
|
2200
2265
|
untagConv: Conversation;
|
|
2201
2266
|
/** Untag a message. */
|
|
2202
2267
|
untagMessage: Message;
|
|
2268
|
+
/** Rename a workspace. Caller must be a member; name must be unique. */
|
|
2269
|
+
updateWorkspace: Workspace;
|
|
2270
|
+
/** Save the company profile answers for an existing workspace. */
|
|
2271
|
+
updateWorkspaceProfile: WorkspaceProfile;
|
|
2203
2272
|
};
|
|
2204
2273
|
export type MutationAddMessageArgs = {
|
|
2205
2274
|
input: MessageInput;
|
|
@@ -2246,6 +2315,9 @@ export type MutationBulkUndeleteClientsArgs = {
|
|
|
2246
2315
|
export type MutationCancelBroadcastArgs = {
|
|
2247
2316
|
input: BroadcastCancelInput;
|
|
2248
2317
|
};
|
|
2318
|
+
export type MutationCompleteOnboardingStepArgs = {
|
|
2319
|
+
input: CompleteOnboardingStepInput;
|
|
2320
|
+
};
|
|
2249
2321
|
export type MutationContinueConvOnArgs = {
|
|
2250
2322
|
input: ConvContinueOnInput;
|
|
2251
2323
|
};
|
|
@@ -2312,6 +2384,9 @@ export type MutationDeleteWebhookArgs = {
|
|
|
2312
2384
|
export type MutationDeleteWorkspaceArgs = {
|
|
2313
2385
|
input: DeleteWorkspaceInput;
|
|
2314
2386
|
};
|
|
2387
|
+
export type MutationDismissWorkspaceOnboardingArgs = {
|
|
2388
|
+
input: WorkspaceOnboardingInput;
|
|
2389
|
+
};
|
|
2315
2390
|
export type MutationEndConvArgs = {
|
|
2316
2391
|
input: ConvEndInput;
|
|
2317
2392
|
};
|
|
@@ -2360,12 +2435,22 @@ export type MutationPatchWorkspaceSettingsArgs = {
|
|
|
2360
2435
|
export type MutationPutClientArgs = {
|
|
2361
2436
|
input: ClientPutInput;
|
|
2362
2437
|
};
|
|
2438
|
+
export type MutationReactToMessageArgs = {
|
|
2439
|
+
input: MessageReactionInput;
|
|
2440
|
+
};
|
|
2363
2441
|
export type MutationRemoveQuickReplyArgs = {
|
|
2364
2442
|
input: QuickReplyRemoveInput;
|
|
2365
2443
|
};
|
|
2444
|
+
export type MutationRemoveWorkspaceMemberArgs = {
|
|
2445
|
+
userId: Scalars['ID']['input'];
|
|
2446
|
+
workspaceId: Scalars['Int']['input'];
|
|
2447
|
+
};
|
|
2366
2448
|
export type MutationRetryFailedBroadcastTargetsArgs = {
|
|
2367
2449
|
input: RetryFailedBroadcastTargetsInput;
|
|
2368
2450
|
};
|
|
2451
|
+
export type MutationRevokeWorkspaceInvitationArgs = {
|
|
2452
|
+
id: Scalars['ID']['input'];
|
|
2453
|
+
};
|
|
2369
2454
|
export type MutationSayArgs = {
|
|
2370
2455
|
input: UserInput;
|
|
2371
2456
|
};
|
|
@@ -2399,6 +2484,9 @@ export type MutationUndeleteClientArgs = {
|
|
|
2399
2484
|
export type MutationUndeleteClientByExternalIdArgs = {
|
|
2400
2485
|
input: ClientDeleteByExternalIdInput;
|
|
2401
2486
|
};
|
|
2487
|
+
export type MutationUnreactToMessageArgs = {
|
|
2488
|
+
input: MessageReactionInput;
|
|
2489
|
+
};
|
|
2402
2490
|
export type MutationUntagClientArgs = {
|
|
2403
2491
|
input: ClientTagInput;
|
|
2404
2492
|
};
|
|
@@ -2408,6 +2496,12 @@ export type MutationUntagConvArgs = {
|
|
|
2408
2496
|
export type MutationUntagMessageArgs = {
|
|
2409
2497
|
input: MessageTagInput;
|
|
2410
2498
|
};
|
|
2499
|
+
export type MutationUpdateWorkspaceArgs = {
|
|
2500
|
+
input: UpdateWorkspaceInput;
|
|
2501
|
+
};
|
|
2502
|
+
export type MutationUpdateWorkspaceProfileArgs = {
|
|
2503
|
+
input: UpdateWorkspaceProfileInput;
|
|
2504
|
+
};
|
|
2411
2505
|
/**
|
|
2412
2506
|
* NoteType is an enum of the note types.
|
|
2413
2507
|
* It can be:
|
|
@@ -2429,6 +2523,30 @@ export declare const NoteType: {
|
|
|
2429
2523
|
readonly UNTAG: "UNTAG";
|
|
2430
2524
|
};
|
|
2431
2525
|
export type NoteType = typeof NoteType[keyof typeof NoteType];
|
|
2526
|
+
/**
|
|
2527
|
+
* OnboardingOptions are the accepted values for the profile fields, served from the
|
|
2528
|
+
* service so the frontend's dropdowns cannot drift from what will validate.
|
|
2529
|
+
*/
|
|
2530
|
+
export type OnboardingOptions = {
|
|
2531
|
+
__typename?: 'OnboardingOptions';
|
|
2532
|
+
companySizes: Array<Scalars['String']['output']>;
|
|
2533
|
+
creatorRoles: Array<Scalars['String']['output']>;
|
|
2534
|
+
industries: Array<Scalars['String']['output']>;
|
|
2535
|
+
useCases: Array<Scalars['String']['output']>;
|
|
2536
|
+
};
|
|
2537
|
+
/**
|
|
2538
|
+
* OnboardingStepId identifies a step of the workspace setup checklist.
|
|
2539
|
+
* Values mirror the client's step ids.
|
|
2540
|
+
*/
|
|
2541
|
+
export declare const OnboardingStepId: {
|
|
2542
|
+
readonly CHANNEL: "channel";
|
|
2543
|
+
readonly FIRSTMESSAGE: "firstMessage";
|
|
2544
|
+
readonly INVITE: "invite";
|
|
2545
|
+
readonly TESTAI: "testAi";
|
|
2546
|
+
readonly UPLOADFILE: "uploadFile";
|
|
2547
|
+
readonly WORKSPACE: "workspace";
|
|
2548
|
+
};
|
|
2549
|
+
export type OnboardingStepId = typeof OnboardingStepId[keyof typeof OnboardingStepId];
|
|
2432
2550
|
/** OpenConversationsNeedResponseInput is an input for counting open conversations that need a response. */
|
|
2433
2551
|
export type OpenConversationsNeedResponseInput = {
|
|
2434
2552
|
/** The assignee id of the conversation. Used to filter the conversations by the assignee id. */
|
|
@@ -2531,6 +2649,8 @@ export type Query = {
|
|
|
2531
2649
|
me: UserRole;
|
|
2532
2650
|
/** Get messages with optional filters. If you don't have the MANAGE_CONVS permission, it will return only messages for conversations assigned to you. */
|
|
2533
2651
|
messages: MessagesPayload;
|
|
2652
|
+
/** Get the accepted values for the workspace profile fields. */
|
|
2653
|
+
onboardingOptions: OnboardingOptions;
|
|
2534
2654
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2535
2655
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
2536
2656
|
/** Get quick replies. */
|
|
@@ -2557,6 +2677,15 @@ export type Query = {
|
|
|
2557
2677
|
webhooks: WebhooksPayload;
|
|
2558
2678
|
/** Paginated message statuses for broadcasts in a date range, plus messages without a broadcast in the same period. You should have the MANAGE_CONVS permission. */
|
|
2559
2679
|
workspaceBroadcastMessageStatuses: BroadcastMessageStatusesPayload;
|
|
2680
|
+
/**
|
|
2681
|
+
* List pending/approved invitations for a workspace. Empty when Clerk is off.
|
|
2682
|
+
* Caller must be a member.
|
|
2683
|
+
*/
|
|
2684
|
+
workspaceInvitations: Array<WorkspaceInvitation>;
|
|
2685
|
+
/** List members of a workspace. Caller must be a member. */
|
|
2686
|
+
workspaceMembers: Array<WorkspaceMember>;
|
|
2687
|
+
/** Get the onboarding record for a workspace, or null if the workspace has none. */
|
|
2688
|
+
workspaceOnboarding?: Maybe<WorkspaceOnboarding>;
|
|
2560
2689
|
/** Get workspace settings. */
|
|
2561
2690
|
workspaceSettings?: Maybe<WorkspaceSettings>;
|
|
2562
2691
|
/** Get workspaces with pagination and filters. */
|
|
@@ -2698,6 +2827,15 @@ export type QueryWorkspaceBroadcastMessageStatusesArgs = {
|
|
|
2698
2827
|
input: WorkspaceBroadcastMessageStatusesInput;
|
|
2699
2828
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2700
2829
|
};
|
|
2830
|
+
export type QueryWorkspaceInvitationsArgs = {
|
|
2831
|
+
workspaceId: Scalars['Int']['input'];
|
|
2832
|
+
};
|
|
2833
|
+
export type QueryWorkspaceMembersArgs = {
|
|
2834
|
+
workspaceId: Scalars['Int']['input'];
|
|
2835
|
+
};
|
|
2836
|
+
export type QueryWorkspaceOnboardingArgs = {
|
|
2837
|
+
input: WorkspaceOnboardingInput;
|
|
2838
|
+
};
|
|
2701
2839
|
export type QueryWorkspaceSettingsArgs = {
|
|
2702
2840
|
input: WorkspaceSettingsInput;
|
|
2703
2841
|
};
|
|
@@ -2737,6 +2875,30 @@ export type QuickReplyRemoveInput = {
|
|
|
2737
2875
|
id: Scalars['ID']['input'];
|
|
2738
2876
|
workspaceId: Scalars['Int']['input'];
|
|
2739
2877
|
};
|
|
2878
|
+
/** ReactionUpdateDTO is data transfer object for an inbound emoji reaction. */
|
|
2879
|
+
export type ReactionUpdateDto = {
|
|
2880
|
+
__typename?: 'ReactionUpdateDTO';
|
|
2881
|
+
/** Whether to add (react) or remove (unreact) the reaction. */
|
|
2882
|
+
action: Scalars['String']['output'];
|
|
2883
|
+
createdAt: Scalars['String']['output'];
|
|
2884
|
+
debug?: Maybe<Scalars['Boolean']['output']>;
|
|
2885
|
+
/** The emoji character of the reaction. Empty string when action is unreact. */
|
|
2886
|
+
emoji: Scalars['String']['output'];
|
|
2887
|
+
/** The external id of the client whose conversation the reaction belongs to. */
|
|
2888
|
+
externalClientId: Scalars['String']['output'];
|
|
2889
|
+
/** The external id of the message being reacted to. */
|
|
2890
|
+
externalMessageId: Scalars['String']['output'];
|
|
2891
|
+
integrationId: Scalars['ID']['output'];
|
|
2892
|
+
integrationType: IntegrationType;
|
|
2893
|
+
/**
|
|
2894
|
+
* Whether the reaction was applied by the business side, either an agent or
|
|
2895
|
+
* the business's own channel app.
|
|
2896
|
+
*/
|
|
2897
|
+
isAgent?: Maybe<Scalars['Boolean']['output']>;
|
|
2898
|
+
spanId?: Maybe<Scalars['String']['output']>;
|
|
2899
|
+
traceId?: Maybe<Scalars['String']['output']>;
|
|
2900
|
+
workspaceId: Scalars['Int']['output'];
|
|
2901
|
+
};
|
|
2740
2902
|
/** RetryFailedBroadcastTargetsInput is an input of the retry failed broadcast targets mutation. */
|
|
2741
2903
|
export type RetryFailedBroadcastTargetsInput = {
|
|
2742
2904
|
id: Scalars['ID']['input'];
|
|
@@ -3014,6 +3176,22 @@ export type TokenUsageTotalInput = {
|
|
|
3014
3176
|
startDate: Scalars['DateTime']['input'];
|
|
3015
3177
|
workspaceId: Scalars['Int']['input'];
|
|
3016
3178
|
};
|
|
3179
|
+
/** UpdateWorkspaceInput renames (and later may patch) a workspace the caller belongs to. */
|
|
3180
|
+
export type UpdateWorkspaceInput = {
|
|
3181
|
+
id: Scalars['Int']['input'];
|
|
3182
|
+
name: Scalars['String']['input'];
|
|
3183
|
+
};
|
|
3184
|
+
/**
|
|
3185
|
+
* UpdateWorkspaceProfileInput saves the company profile answers.
|
|
3186
|
+
* Omitted fields are left unchanged; an explicit null clears one.
|
|
3187
|
+
*/
|
|
3188
|
+
export type UpdateWorkspaceProfileInput = {
|
|
3189
|
+
companySize?: InputMaybe<Scalars['String']['input']>;
|
|
3190
|
+
creatorRole?: InputMaybe<Scalars['String']['input']>;
|
|
3191
|
+
industry?: InputMaybe<Scalars['String']['input']>;
|
|
3192
|
+
useCase?: InputMaybe<Scalars['String']['input']>;
|
|
3193
|
+
workspaceId: Scalars['Int']['input'];
|
|
3194
|
+
};
|
|
3017
3195
|
export type UploadSignatureResult = {
|
|
3018
3196
|
__typename?: 'UploadSignatureResult';
|
|
3019
3197
|
sas: Scalars['String']['output'];
|
|
@@ -3184,7 +3362,15 @@ export type Workspace = {
|
|
|
3184
3362
|
createDate: Scalars['DateTime']['output'];
|
|
3185
3363
|
id: Scalars['Int']['output'];
|
|
3186
3364
|
name: Scalars['String']['output'];
|
|
3365
|
+
/**
|
|
3366
|
+
* Whether the setup checklist should still be shown for this workspace.
|
|
3367
|
+
* False once it has been dismissed, or if the workspace has no onboarding record.
|
|
3368
|
+
* Lets the client skip the workspaceOnboarding query entirely in the common case.
|
|
3369
|
+
*/
|
|
3370
|
+
onboardingPending: Scalars['Boolean']['output'];
|
|
3187
3371
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
3372
|
+
/** Company profile answers. All fields are null for workspaces that predate the form. */
|
|
3373
|
+
profile: WorkspaceProfile;
|
|
3188
3374
|
subscriptionType?: Maybe<Scalars['String']['output']>;
|
|
3189
3375
|
taxNumber?: Maybe<Scalars['String']['output']>;
|
|
3190
3376
|
taxOffice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3209,6 +3395,58 @@ export type WorkspaceBroadcastMessageStatusesInput = {
|
|
|
3209
3395
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
3210
3396
|
workspaceId: Scalars['Int']['input'];
|
|
3211
3397
|
};
|
|
3398
|
+
/** Pending or approved workspace invitation (Clerk invite flow). */
|
|
3399
|
+
export type WorkspaceInvitation = {
|
|
3400
|
+
__typename?: 'WorkspaceInvitation';
|
|
3401
|
+
approvedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3402
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3403
|
+
email: Scalars['String']['output'];
|
|
3404
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
3405
|
+
id: Scalars['ID']['output'];
|
|
3406
|
+
status: Scalars['String']['output'];
|
|
3407
|
+
};
|
|
3408
|
+
/** WorkspaceMember is a user linked to a workspace via CompanyMembership. */
|
|
3409
|
+
export type WorkspaceMember = {
|
|
3410
|
+
__typename?: 'WorkspaceMember';
|
|
3411
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
3412
|
+
id: Scalars['ID']['output'];
|
|
3413
|
+
isEnabled: Scalars['Boolean']['output'];
|
|
3414
|
+
userName?: Maybe<Scalars['String']['output']>;
|
|
3415
|
+
};
|
|
3416
|
+
/**
|
|
3417
|
+
* WorkspaceOnboarding is the setup checklist for a workspace.
|
|
3418
|
+
* It is scoped to the workspace, not to the member viewing it: each step is a
|
|
3419
|
+
* workspace-level achievement, so a step completed by one member is done for all.
|
|
3420
|
+
*/
|
|
3421
|
+
export type WorkspaceOnboarding = {
|
|
3422
|
+
__typename?: 'WorkspaceOnboarding';
|
|
3423
|
+
/**
|
|
3424
|
+
* Steps completed so far. Which steps are *applicable* is decided by the client,
|
|
3425
|
+
* because it depends on whether workspace AI is enabled.
|
|
3426
|
+
*/
|
|
3427
|
+
completedSteps: Array<OnboardingStepId>;
|
|
3428
|
+
/** When the checklist was finished or dismissed. Null while it is still showing. */
|
|
3429
|
+
dismissedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3430
|
+
startedAt: Scalars['DateTime']['output'];
|
|
3431
|
+
workspaceId: Scalars['Int']['output'];
|
|
3432
|
+
};
|
|
3433
|
+
/** WorkspaceOnboardingInput identifies the workspace being operated on. */
|
|
3434
|
+
export type WorkspaceOnboardingInput = {
|
|
3435
|
+
workspaceId: Scalars['Int']['input'];
|
|
3436
|
+
};
|
|
3437
|
+
/**
|
|
3438
|
+
* WorkspaceProfile is the information collected on the create-workspace form.
|
|
3439
|
+
* Every field is optional so a partially completed form can still be saved, and all
|
|
3440
|
+
* are null for a workspace created before the form existed.
|
|
3441
|
+
* Accepted values come from the onboardingOptions query.
|
|
3442
|
+
*/
|
|
3443
|
+
export type WorkspaceProfile = {
|
|
3444
|
+
__typename?: 'WorkspaceProfile';
|
|
3445
|
+
companySize?: Maybe<Scalars['String']['output']>;
|
|
3446
|
+
creatorRole?: Maybe<Scalars['String']['output']>;
|
|
3447
|
+
industry?: Maybe<Scalars['String']['output']>;
|
|
3448
|
+
useCase?: Maybe<Scalars['String']['output']>;
|
|
3449
|
+
};
|
|
3212
3450
|
/** WorkspaceSettings represents configuration options for a workspace. */
|
|
3213
3451
|
export type WorkspaceSettings = {
|
|
3214
3452
|
__typename?: 'WorkspaceSettings';
|
|
@@ -3216,6 +3454,12 @@ export type WorkspaceSettings = {
|
|
|
3216
3454
|
autoUnarchiveOnMessage?: Maybe<Scalars['Boolean']['output']>;
|
|
3217
3455
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3218
3456
|
convTTL?: Maybe<Scalars['Int']['output']>;
|
|
3457
|
+
/** Auto-reply message sent to contacts on holiday weekdays when a conversation is with a live agent. */
|
|
3458
|
+
holidayMessage?: Maybe<Scalars['String']['output']>;
|
|
3459
|
+
/** IANA timezone used to evaluate holiday weekdays (e.g. Asia/Amman). Defaults to UTC when unset. */
|
|
3460
|
+
holidayTimezone?: Maybe<Scalars['String']['output']>;
|
|
3461
|
+
/** Recurring holiday weekdays as SUN|MON|TUE|WED|THU|FRI|SAT. Empty means holidays are disabled. */
|
|
3462
|
+
holidayWeekdays?: Maybe<Array<Scalars['String']['output']>>;
|
|
3219
3463
|
/** The unique identifier of the workspace settings record. */
|
|
3220
3464
|
id: Scalars['ID']['output'];
|
|
3221
3465
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. */
|
|
@@ -3224,6 +3468,10 @@ export type WorkspaceSettings = {
|
|
|
3224
3468
|
testNums?: Maybe<Array<WorkspaceTestNumber>>;
|
|
3225
3469
|
/** The unique identifier of the workspace. */
|
|
3226
3470
|
workspaceId: Scalars['Int']['output'];
|
|
3471
|
+
/** Brand voice / default tone for Enhance. Defaults to FRIENDLY when unset. */
|
|
3472
|
+
writingBrandVoice?: Maybe<WritingBrandVoice>;
|
|
3473
|
+
/** Target reading level for Enhance (simplify). Defaults to STANDARD when unset. */
|
|
3474
|
+
writingReadingLevel?: Maybe<WritingReadingLevel>;
|
|
3227
3475
|
};
|
|
3228
3476
|
/** Input for fetching workspace settings. */
|
|
3229
3477
|
export type WorkspaceSettingsInput = {
|
|
@@ -3236,12 +3484,22 @@ export type WorkspaceSettingsPatchInput = {
|
|
|
3236
3484
|
autoUnarchiveOnMessage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3237
3485
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3238
3486
|
convTTL?: InputMaybe<Scalars['Int']['input']>;
|
|
3487
|
+
/** Auto-reply message sent on holiday weekdays for live-agent conversations. Empty clears the message. */
|
|
3488
|
+
holidayMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3489
|
+
/** IANA timezone used to evaluate holiday weekdays (e.g. Asia/Amman). */
|
|
3490
|
+
holidayTimezone?: InputMaybe<Scalars['String']['input']>;
|
|
3491
|
+
/** Recurring holiday weekdays as SUN|MON|TUE|WED|THU|FRI|SAT. Empty clears holidays. */
|
|
3492
|
+
holidayWeekdays?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3239
3493
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
|
|
3240
3494
|
optOutKeyword?: InputMaybe<Scalars['String']['input']>;
|
|
3241
3495
|
/** Test phone numbers used for workspace validation. */
|
|
3242
3496
|
testNums?: InputMaybe<Array<WorkspaceTestNumberInput>>;
|
|
3243
3497
|
/** The unique identifier of the workspace. */
|
|
3244
3498
|
workspaceId: Scalars['Int']['input'];
|
|
3499
|
+
/** Brand voice / default tone for Enhance. Set to null to clear (Enhance uses FRIENDLY). */
|
|
3500
|
+
writingBrandVoice?: InputMaybe<WritingBrandVoice>;
|
|
3501
|
+
/** Target reading level for Enhance (simplify). Set to null to clear (Enhance uses STANDARD). */
|
|
3502
|
+
writingReadingLevel?: InputMaybe<WritingReadingLevel>;
|
|
3245
3503
|
};
|
|
3246
3504
|
/** Test number details for workspace settings. */
|
|
3247
3505
|
export type WorkspaceTestNumber = {
|
|
@@ -3277,6 +3535,23 @@ export type WorkspacesPayload = {
|
|
|
3277
3535
|
nodes: Array<Workspace>;
|
|
3278
3536
|
pageInfo: PageInfo;
|
|
3279
3537
|
};
|
|
3538
|
+
/** Default brand voice / tone for workspace writing assistance (Enhance tone adjustment). */
|
|
3539
|
+
export declare const WritingBrandVoice: {
|
|
3540
|
+
readonly CONCISE: "CONCISE";
|
|
3541
|
+
readonly EMPATHETIC: "EMPATHETIC";
|
|
3542
|
+
readonly ENTHUSIASTIC: "ENTHUSIASTIC";
|
|
3543
|
+
readonly FORMAL: "FORMAL";
|
|
3544
|
+
readonly FRIENDLY: "FRIENDLY";
|
|
3545
|
+
readonly PLAYFUL: "PLAYFUL";
|
|
3546
|
+
};
|
|
3547
|
+
export type WritingBrandVoice = typeof WritingBrandVoice[keyof typeof WritingBrandVoice];
|
|
3548
|
+
/** Target reading level for workspace writing assistance (Enhance simplify). */
|
|
3549
|
+
export declare const WritingReadingLevel: {
|
|
3550
|
+
readonly SIMPLE: "SIMPLE";
|
|
3551
|
+
readonly STANDARD: "STANDARD";
|
|
3552
|
+
readonly TECHNICAL: "TECHNICAL";
|
|
3553
|
+
};
|
|
3554
|
+
export type WritingReadingLevel = typeof WritingReadingLevel[keyof typeof WritingReadingLevel];
|
|
3280
3555
|
export type AiFragment = {
|
|
3281
3556
|
__typename?: 'AI';
|
|
3282
3557
|
workspaceId: number;
|
|
@@ -3893,6 +4168,13 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3893
4168
|
replyToContent: string;
|
|
3894
4169
|
replyToType: MessageType;
|
|
3895
4170
|
} | null;
|
|
4171
|
+
reactions?: Array<{
|
|
4172
|
+
__typename?: 'MessageReaction';
|
|
4173
|
+
emoji: string;
|
|
4174
|
+
isAgent: boolean;
|
|
4175
|
+
agentId?: string | null;
|
|
4176
|
+
createdAt: any;
|
|
4177
|
+
}> | null;
|
|
3896
4178
|
}> | null;
|
|
3897
4179
|
};
|
|
3898
4180
|
};
|
|
@@ -4408,6 +4690,13 @@ export type ConversationFragment = {
|
|
|
4408
4690
|
replyToContent: string;
|
|
4409
4691
|
replyToType: MessageType;
|
|
4410
4692
|
} | null;
|
|
4693
|
+
reactions?: Array<{
|
|
4694
|
+
__typename?: 'MessageReaction';
|
|
4695
|
+
emoji: string;
|
|
4696
|
+
isAgent: boolean;
|
|
4697
|
+
agentId?: string | null;
|
|
4698
|
+
createdAt: any;
|
|
4699
|
+
}> | null;
|
|
4411
4700
|
}> | null;
|
|
4412
4701
|
client?: {
|
|
4413
4702
|
__typename?: 'ConversationClient';
|
|
@@ -4444,6 +4733,13 @@ export type MessageFragment = {
|
|
|
4444
4733
|
replyToContent: string;
|
|
4445
4734
|
replyToType: MessageType;
|
|
4446
4735
|
} | null;
|
|
4736
|
+
reactions?: Array<{
|
|
4737
|
+
__typename?: 'MessageReaction';
|
|
4738
|
+
emoji: string;
|
|
4739
|
+
isAgent: boolean;
|
|
4740
|
+
agentId?: string | null;
|
|
4741
|
+
createdAt: any;
|
|
4742
|
+
}> | null;
|
|
4447
4743
|
};
|
|
4448
4744
|
export type TagFragment = {
|
|
4449
4745
|
__typename?: 'Tag';
|
|
@@ -4497,6 +4793,79 @@ export type AddMessageMutation = {
|
|
|
4497
4793
|
replyToContent: string;
|
|
4498
4794
|
replyToType: MessageType;
|
|
4499
4795
|
} | null;
|
|
4796
|
+
reactions?: Array<{
|
|
4797
|
+
__typename?: 'MessageReaction';
|
|
4798
|
+
emoji: string;
|
|
4799
|
+
isAgent: boolean;
|
|
4800
|
+
agentId?: string | null;
|
|
4801
|
+
createdAt: any;
|
|
4802
|
+
}> | null;
|
|
4803
|
+
};
|
|
4804
|
+
};
|
|
4805
|
+
export type ReactToMessageMutationVariables = Exact<{
|
|
4806
|
+
input: MessageReactionInput;
|
|
4807
|
+
}>;
|
|
4808
|
+
export type ReactToMessageMutation = {
|
|
4809
|
+
__typename?: 'Mutation';
|
|
4810
|
+
reactToMessage: {
|
|
4811
|
+
__typename?: 'Message';
|
|
4812
|
+
messageId: string;
|
|
4813
|
+
content: string;
|
|
4814
|
+
type: MessageType;
|
|
4815
|
+
noteType?: NoteType | null;
|
|
4816
|
+
isAgent: boolean;
|
|
4817
|
+
agentId?: string | null;
|
|
4818
|
+
status?: MessageStatus | null;
|
|
4819
|
+
failedReason?: string | null;
|
|
4820
|
+
externalMessageId?: string | null;
|
|
4821
|
+
tags?: Array<string> | null;
|
|
4822
|
+
createdAt: any;
|
|
4823
|
+
context?: {
|
|
4824
|
+
__typename?: 'MessageContext';
|
|
4825
|
+
replyToId?: string | null;
|
|
4826
|
+
replyToContent: string;
|
|
4827
|
+
replyToType: MessageType;
|
|
4828
|
+
} | null;
|
|
4829
|
+
reactions?: Array<{
|
|
4830
|
+
__typename?: 'MessageReaction';
|
|
4831
|
+
emoji: string;
|
|
4832
|
+
isAgent: boolean;
|
|
4833
|
+
agentId?: string | null;
|
|
4834
|
+
createdAt: any;
|
|
4835
|
+
}> | null;
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
export type UnreactToMessageMutationVariables = Exact<{
|
|
4839
|
+
input: MessageReactionInput;
|
|
4840
|
+
}>;
|
|
4841
|
+
export type UnreactToMessageMutation = {
|
|
4842
|
+
__typename?: 'Mutation';
|
|
4843
|
+
unreactToMessage: {
|
|
4844
|
+
__typename?: 'Message';
|
|
4845
|
+
messageId: string;
|
|
4846
|
+
content: string;
|
|
4847
|
+
type: MessageType;
|
|
4848
|
+
noteType?: NoteType | null;
|
|
4849
|
+
isAgent: boolean;
|
|
4850
|
+
agentId?: string | null;
|
|
4851
|
+
status?: MessageStatus | null;
|
|
4852
|
+
failedReason?: string | null;
|
|
4853
|
+
externalMessageId?: string | null;
|
|
4854
|
+
tags?: Array<string> | null;
|
|
4855
|
+
createdAt: any;
|
|
4856
|
+
context?: {
|
|
4857
|
+
__typename?: 'MessageContext';
|
|
4858
|
+
replyToId?: string | null;
|
|
4859
|
+
replyToContent: string;
|
|
4860
|
+
replyToType: MessageType;
|
|
4861
|
+
} | null;
|
|
4862
|
+
reactions?: Array<{
|
|
4863
|
+
__typename?: 'MessageReaction';
|
|
4864
|
+
emoji: string;
|
|
4865
|
+
isAgent: boolean;
|
|
4866
|
+
agentId?: string | null;
|
|
4867
|
+
createdAt: any;
|
|
4868
|
+
}> | null;
|
|
4500
4869
|
};
|
|
4501
4870
|
};
|
|
4502
4871
|
export type AgentQueryVariables = Exact<{
|
|
@@ -4603,6 +4972,13 @@ export type AssignConvMutation = {
|
|
|
4603
4972
|
replyToContent: string;
|
|
4604
4973
|
replyToType: MessageType;
|
|
4605
4974
|
} | null;
|
|
4975
|
+
reactions?: Array<{
|
|
4976
|
+
__typename?: 'MessageReaction';
|
|
4977
|
+
emoji: string;
|
|
4978
|
+
isAgent: boolean;
|
|
4979
|
+
agentId?: string | null;
|
|
4980
|
+
createdAt: any;
|
|
4981
|
+
}> | null;
|
|
4606
4982
|
}> | null;
|
|
4607
4983
|
client?: {
|
|
4608
4984
|
__typename?: 'ConversationClient';
|
|
@@ -4677,6 +5053,13 @@ export type ConvQuery = {
|
|
|
4677
5053
|
replyToContent: string;
|
|
4678
5054
|
replyToType: MessageType;
|
|
4679
5055
|
} | null;
|
|
5056
|
+
reactions?: Array<{
|
|
5057
|
+
__typename?: 'MessageReaction';
|
|
5058
|
+
emoji: string;
|
|
5059
|
+
isAgent: boolean;
|
|
5060
|
+
agentId?: string | null;
|
|
5061
|
+
createdAt: any;
|
|
5062
|
+
}> | null;
|
|
4680
5063
|
}> | null;
|
|
4681
5064
|
client?: {
|
|
4682
5065
|
__typename?: 'ConversationClient';
|
|
@@ -4787,6 +5170,13 @@ export type ConvsQuery = {
|
|
|
4787
5170
|
replyToContent: string;
|
|
4788
5171
|
replyToType: MessageType;
|
|
4789
5172
|
} | null;
|
|
5173
|
+
reactions?: Array<{
|
|
5174
|
+
__typename?: 'MessageReaction';
|
|
5175
|
+
emoji: string;
|
|
5176
|
+
isAgent: boolean;
|
|
5177
|
+
agentId?: string | null;
|
|
5178
|
+
createdAt: any;
|
|
5179
|
+
}> | null;
|
|
4790
5180
|
}> | null;
|
|
4791
5181
|
client?: {
|
|
4792
5182
|
__typename?: 'ConversationClient';
|
|
@@ -4906,6 +5296,13 @@ export type EndConvMutation = {
|
|
|
4906
5296
|
replyToContent: string;
|
|
4907
5297
|
replyToType: MessageType;
|
|
4908
5298
|
} | null;
|
|
5299
|
+
reactions?: Array<{
|
|
5300
|
+
__typename?: 'MessageReaction';
|
|
5301
|
+
emoji: string;
|
|
5302
|
+
isAgent: boolean;
|
|
5303
|
+
agentId?: string | null;
|
|
5304
|
+
createdAt: any;
|
|
5305
|
+
}> | null;
|
|
4909
5306
|
}> | null;
|
|
4910
5307
|
client?: {
|
|
4911
5308
|
__typename?: 'ConversationClient';
|
|
@@ -4980,6 +5377,13 @@ export type HandoverConvMutation = {
|
|
|
4980
5377
|
replyToContent: string;
|
|
4981
5378
|
replyToType: MessageType;
|
|
4982
5379
|
} | null;
|
|
5380
|
+
reactions?: Array<{
|
|
5381
|
+
__typename?: 'MessageReaction';
|
|
5382
|
+
emoji: string;
|
|
5383
|
+
isAgent: boolean;
|
|
5384
|
+
agentId?: string | null;
|
|
5385
|
+
createdAt: any;
|
|
5386
|
+
}> | null;
|
|
4983
5387
|
}> | null;
|
|
4984
5388
|
client?: {
|
|
4985
5389
|
__typename?: 'ConversationClient';
|
|
@@ -5025,6 +5429,13 @@ export type MessagesQuery = {
|
|
|
5025
5429
|
replyToContent: string;
|
|
5026
5430
|
replyToType: MessageType;
|
|
5027
5431
|
} | null;
|
|
5432
|
+
reactions?: Array<{
|
|
5433
|
+
__typename?: 'MessageReaction';
|
|
5434
|
+
emoji: string;
|
|
5435
|
+
isAgent: boolean;
|
|
5436
|
+
agentId?: string | null;
|
|
5437
|
+
createdAt: any;
|
|
5438
|
+
}> | null;
|
|
5028
5439
|
}> | null;
|
|
5029
5440
|
pageInfo?: {
|
|
5030
5441
|
__typename?: 'PageInfo';
|
|
@@ -5116,6 +5527,13 @@ export type PatchConvMutation = {
|
|
|
5116
5527
|
replyToContent: string;
|
|
5117
5528
|
replyToType: MessageType;
|
|
5118
5529
|
} | null;
|
|
5530
|
+
reactions?: Array<{
|
|
5531
|
+
__typename?: 'MessageReaction';
|
|
5532
|
+
emoji: string;
|
|
5533
|
+
isAgent: boolean;
|
|
5534
|
+
agentId?: string | null;
|
|
5535
|
+
createdAt: any;
|
|
5536
|
+
}> | null;
|
|
5119
5537
|
}> | null;
|
|
5120
5538
|
client?: {
|
|
5121
5539
|
__typename?: 'ConversationClient';
|
|
@@ -5190,6 +5608,13 @@ export type StartConvMutation = {
|
|
|
5190
5608
|
replyToContent: string;
|
|
5191
5609
|
replyToType: MessageType;
|
|
5192
5610
|
} | null;
|
|
5611
|
+
reactions?: Array<{
|
|
5612
|
+
__typename?: 'MessageReaction';
|
|
5613
|
+
emoji: string;
|
|
5614
|
+
isAgent: boolean;
|
|
5615
|
+
agentId?: string | null;
|
|
5616
|
+
createdAt: any;
|
|
5617
|
+
}> | null;
|
|
5193
5618
|
}> | null;
|
|
5194
5619
|
client?: {
|
|
5195
5620
|
__typename?: 'ConversationClient';
|
|
@@ -5293,6 +5718,13 @@ export type TagConvMutation = {
|
|
|
5293
5718
|
replyToContent: string;
|
|
5294
5719
|
replyToType: MessageType;
|
|
5295
5720
|
} | null;
|
|
5721
|
+
reactions?: Array<{
|
|
5722
|
+
__typename?: 'MessageReaction';
|
|
5723
|
+
emoji: string;
|
|
5724
|
+
isAgent: boolean;
|
|
5725
|
+
agentId?: string | null;
|
|
5726
|
+
createdAt: any;
|
|
5727
|
+
}> | null;
|
|
5296
5728
|
}> | null;
|
|
5297
5729
|
client?: {
|
|
5298
5730
|
__typename?: 'ConversationClient';
|
|
@@ -5412,6 +5844,13 @@ export type UntagConvMutation = {
|
|
|
5412
5844
|
replyToContent: string;
|
|
5413
5845
|
replyToType: MessageType;
|
|
5414
5846
|
} | null;
|
|
5847
|
+
reactions?: Array<{
|
|
5848
|
+
__typename?: 'MessageReaction';
|
|
5849
|
+
emoji: string;
|
|
5850
|
+
isAgent: boolean;
|
|
5851
|
+
agentId?: string | null;
|
|
5852
|
+
createdAt: any;
|
|
5853
|
+
}> | null;
|
|
5415
5854
|
}> | null;
|
|
5416
5855
|
client?: {
|
|
5417
5856
|
__typename?: 'ConversationClient';
|
|
@@ -5996,6 +6435,85 @@ export type ValidateBulkImportContactsQuery = {
|
|
|
5996
6435
|
}>;
|
|
5997
6436
|
};
|
|
5998
6437
|
};
|
|
6438
|
+
export type WorkspaceOnboardingFragment = {
|
|
6439
|
+
__typename?: 'WorkspaceOnboarding';
|
|
6440
|
+
workspaceId: number;
|
|
6441
|
+
completedSteps: Array<OnboardingStepId>;
|
|
6442
|
+
startedAt: any;
|
|
6443
|
+
dismissedAt?: any | null;
|
|
6444
|
+
};
|
|
6445
|
+
export type WorkspaceProfileFragment = {
|
|
6446
|
+
__typename?: 'WorkspaceProfile';
|
|
6447
|
+
industry?: string | null;
|
|
6448
|
+
companySize?: string | null;
|
|
6449
|
+
creatorRole?: string | null;
|
|
6450
|
+
useCase?: string | null;
|
|
6451
|
+
};
|
|
6452
|
+
export type CompleteOnboardingStepMutationVariables = Exact<{
|
|
6453
|
+
input: CompleteOnboardingStepInput;
|
|
6454
|
+
}>;
|
|
6455
|
+
export type CompleteOnboardingStepMutation = {
|
|
6456
|
+
__typename?: 'Mutation';
|
|
6457
|
+
completeOnboardingStep: {
|
|
6458
|
+
__typename?: 'WorkspaceOnboarding';
|
|
6459
|
+
workspaceId: number;
|
|
6460
|
+
completedSteps: Array<OnboardingStepId>;
|
|
6461
|
+
startedAt: any;
|
|
6462
|
+
dismissedAt?: any | null;
|
|
6463
|
+
};
|
|
6464
|
+
};
|
|
6465
|
+
export type DismissWorkspaceOnboardingMutationVariables = Exact<{
|
|
6466
|
+
input: WorkspaceOnboardingInput;
|
|
6467
|
+
}>;
|
|
6468
|
+
export type DismissWorkspaceOnboardingMutation = {
|
|
6469
|
+
__typename?: 'Mutation';
|
|
6470
|
+
dismissWorkspaceOnboarding: {
|
|
6471
|
+
__typename?: 'WorkspaceOnboarding';
|
|
6472
|
+
workspaceId: number;
|
|
6473
|
+
completedSteps: Array<OnboardingStepId>;
|
|
6474
|
+
startedAt: any;
|
|
6475
|
+
dismissedAt?: any | null;
|
|
6476
|
+
};
|
|
6477
|
+
};
|
|
6478
|
+
export type OnboardingOptionsQueryVariables = Exact<{
|
|
6479
|
+
[key: string]: never;
|
|
6480
|
+
}>;
|
|
6481
|
+
export type OnboardingOptionsQuery = {
|
|
6482
|
+
__typename?: 'Query';
|
|
6483
|
+
onboardingOptions: {
|
|
6484
|
+
__typename?: 'OnboardingOptions';
|
|
6485
|
+
industries: Array<string>;
|
|
6486
|
+
companySizes: Array<string>;
|
|
6487
|
+
creatorRoles: Array<string>;
|
|
6488
|
+
useCases: Array<string>;
|
|
6489
|
+
};
|
|
6490
|
+
};
|
|
6491
|
+
export type UpdateWorkspaceProfileMutationVariables = Exact<{
|
|
6492
|
+
input: UpdateWorkspaceProfileInput;
|
|
6493
|
+
}>;
|
|
6494
|
+
export type UpdateWorkspaceProfileMutation = {
|
|
6495
|
+
__typename?: 'Mutation';
|
|
6496
|
+
updateWorkspaceProfile: {
|
|
6497
|
+
__typename?: 'WorkspaceProfile';
|
|
6498
|
+
industry?: string | null;
|
|
6499
|
+
companySize?: string | null;
|
|
6500
|
+
creatorRole?: string | null;
|
|
6501
|
+
useCase?: string | null;
|
|
6502
|
+
};
|
|
6503
|
+
};
|
|
6504
|
+
export type WorkspaceOnboardingQueryVariables = Exact<{
|
|
6505
|
+
input: WorkspaceOnboardingInput;
|
|
6506
|
+
}>;
|
|
6507
|
+
export type WorkspaceOnboardingQuery = {
|
|
6508
|
+
__typename?: 'Query';
|
|
6509
|
+
workspaceOnboarding?: {
|
|
6510
|
+
__typename?: 'WorkspaceOnboarding';
|
|
6511
|
+
workspaceId: number;
|
|
6512
|
+
completedSteps: Array<OnboardingStepId>;
|
|
6513
|
+
startedAt: any;
|
|
6514
|
+
dismissedAt?: any | null;
|
|
6515
|
+
} | null;
|
|
6516
|
+
};
|
|
5999
6517
|
export type ApiKeyFragment = {
|
|
6000
6518
|
__typename?: 'ApiKey';
|
|
6001
6519
|
workspaceId: number;
|
|
@@ -6315,12 +6833,41 @@ export type WorkspaceSettingsFragment = {
|
|
|
6315
6833
|
convTTL?: number | null;
|
|
6316
6834
|
optOutKeyword?: string | null;
|
|
6317
6835
|
autoUnarchiveOnMessage?: boolean | null;
|
|
6836
|
+
holidayWeekdays?: Array<string> | null;
|
|
6837
|
+
holidayMessage?: string | null;
|
|
6838
|
+
holidayTimezone?: string | null;
|
|
6839
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
6840
|
+
writingBrandVoice?: WritingBrandVoice | null;
|
|
6318
6841
|
testNums?: Array<{
|
|
6319
6842
|
__typename?: 'WorkspaceTestNumber';
|
|
6320
6843
|
phone: string;
|
|
6321
6844
|
active?: boolean | null;
|
|
6322
6845
|
}> | null;
|
|
6323
6846
|
};
|
|
6847
|
+
export type CreateWorkspaceMutationVariables = Exact<{
|
|
6848
|
+
input: CreateWorkspaceInput;
|
|
6849
|
+
}>;
|
|
6850
|
+
export type CreateWorkspaceMutation = {
|
|
6851
|
+
__typename?: 'Mutation';
|
|
6852
|
+
createWorkspace: {
|
|
6853
|
+
__typename?: 'Workspace';
|
|
6854
|
+
id: number;
|
|
6855
|
+
name: string;
|
|
6856
|
+
address?: string | null;
|
|
6857
|
+
city?: string | null;
|
|
6858
|
+
country?: string | null;
|
|
6859
|
+
website?: string | null;
|
|
6860
|
+
companyUserId?: number | null;
|
|
6861
|
+
phoneNumber?: string | null;
|
|
6862
|
+
taxOffice?: string | null;
|
|
6863
|
+
taxNumber?: string | null;
|
|
6864
|
+
contactPersonName?: string | null;
|
|
6865
|
+
contactPersonEmail?: string | null;
|
|
6866
|
+
contactPersonPhoneNumber?: string | null;
|
|
6867
|
+
accountId?: string | null;
|
|
6868
|
+
createDate: any;
|
|
6869
|
+
};
|
|
6870
|
+
};
|
|
6324
6871
|
export type IsWorkspaceNameAvailableQueryVariables = Exact<{
|
|
6325
6872
|
name: Scalars['String']['input'];
|
|
6326
6873
|
}>;
|
|
@@ -6340,6 +6887,11 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6340
6887
|
convTTL?: number | null;
|
|
6341
6888
|
optOutKeyword?: string | null;
|
|
6342
6889
|
autoUnarchiveOnMessage?: boolean | null;
|
|
6890
|
+
holidayWeekdays?: Array<string> | null;
|
|
6891
|
+
holidayMessage?: string | null;
|
|
6892
|
+
holidayTimezone?: string | null;
|
|
6893
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
6894
|
+
writingBrandVoice?: WritingBrandVoice | null;
|
|
6343
6895
|
testNums?: Array<{
|
|
6344
6896
|
__typename?: 'WorkspaceTestNumber';
|
|
6345
6897
|
phone: string;
|
|
@@ -6347,6 +6899,73 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6347
6899
|
}> | null;
|
|
6348
6900
|
};
|
|
6349
6901
|
};
|
|
6902
|
+
export type RemoveWorkspaceMemberMutationVariables = Exact<{
|
|
6903
|
+
workspaceId: Scalars['Int']['input'];
|
|
6904
|
+
userId: Scalars['ID']['input'];
|
|
6905
|
+
}>;
|
|
6906
|
+
export type RemoveWorkspaceMemberMutation = {
|
|
6907
|
+
__typename?: 'Mutation';
|
|
6908
|
+
removeWorkspaceMember: boolean;
|
|
6909
|
+
};
|
|
6910
|
+
export type RevokeWorkspaceInvitationMutationVariables = Exact<{
|
|
6911
|
+
id: Scalars['ID']['input'];
|
|
6912
|
+
}>;
|
|
6913
|
+
export type RevokeWorkspaceInvitationMutation = {
|
|
6914
|
+
__typename?: 'Mutation';
|
|
6915
|
+
revokeWorkspaceInvitation: boolean;
|
|
6916
|
+
};
|
|
6917
|
+
export type UpdateWorkspaceMutationVariables = Exact<{
|
|
6918
|
+
input: UpdateWorkspaceInput;
|
|
6919
|
+
}>;
|
|
6920
|
+
export type UpdateWorkspaceMutation = {
|
|
6921
|
+
__typename?: 'Mutation';
|
|
6922
|
+
updateWorkspace: {
|
|
6923
|
+
__typename?: 'Workspace';
|
|
6924
|
+
id: number;
|
|
6925
|
+
name: string;
|
|
6926
|
+
address?: string | null;
|
|
6927
|
+
city?: string | null;
|
|
6928
|
+
country?: string | null;
|
|
6929
|
+
website?: string | null;
|
|
6930
|
+
companyUserId?: number | null;
|
|
6931
|
+
phoneNumber?: string | null;
|
|
6932
|
+
taxOffice?: string | null;
|
|
6933
|
+
taxNumber?: string | null;
|
|
6934
|
+
contactPersonName?: string | null;
|
|
6935
|
+
contactPersonEmail?: string | null;
|
|
6936
|
+
contactPersonPhoneNumber?: string | null;
|
|
6937
|
+
accountId?: string | null;
|
|
6938
|
+
createDate: any;
|
|
6939
|
+
};
|
|
6940
|
+
};
|
|
6941
|
+
export type WorkspaceInvitationsQueryVariables = Exact<{
|
|
6942
|
+
workspaceId: Scalars['Int']['input'];
|
|
6943
|
+
}>;
|
|
6944
|
+
export type WorkspaceInvitationsQuery = {
|
|
6945
|
+
__typename?: 'Query';
|
|
6946
|
+
workspaceInvitations: Array<{
|
|
6947
|
+
__typename?: 'WorkspaceInvitation';
|
|
6948
|
+
id: string;
|
|
6949
|
+
email: string;
|
|
6950
|
+
status: string;
|
|
6951
|
+
expiresAt: any;
|
|
6952
|
+
createdAt: any;
|
|
6953
|
+
approvedAt?: any | null;
|
|
6954
|
+
}>;
|
|
6955
|
+
};
|
|
6956
|
+
export type WorkspaceMembersQueryVariables = Exact<{
|
|
6957
|
+
workspaceId: Scalars['Int']['input'];
|
|
6958
|
+
}>;
|
|
6959
|
+
export type WorkspaceMembersQuery = {
|
|
6960
|
+
__typename?: 'Query';
|
|
6961
|
+
workspaceMembers: Array<{
|
|
6962
|
+
__typename?: 'WorkspaceMember';
|
|
6963
|
+
id: string;
|
|
6964
|
+
email?: string | null;
|
|
6965
|
+
userName?: string | null;
|
|
6966
|
+
isEnabled: boolean;
|
|
6967
|
+
}>;
|
|
6968
|
+
};
|
|
6350
6969
|
export type WorkspaceSettingsQueryVariables = Exact<{
|
|
6351
6970
|
input: WorkspaceSettingsInput;
|
|
6352
6971
|
}>;
|
|
@@ -6359,6 +6978,11 @@ export type WorkspaceSettingsQuery = {
|
|
|
6359
6978
|
convTTL?: number | null;
|
|
6360
6979
|
optOutKeyword?: string | null;
|
|
6361
6980
|
autoUnarchiveOnMessage?: boolean | null;
|
|
6981
|
+
holidayWeekdays?: Array<string> | null;
|
|
6982
|
+
holidayMessage?: string | null;
|
|
6983
|
+
holidayTimezone?: string | null;
|
|
6984
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
6985
|
+
writingBrandVoice?: WritingBrandVoice | null;
|
|
6362
6986
|
testNums?: Array<{
|
|
6363
6987
|
__typename?: 'WorkspaceTestNumber';
|
|
6364
6988
|
phone: string;
|
|
@@ -6417,6 +7041,8 @@ export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
6417
7041
|
export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
6418
7042
|
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
6419
7043
|
export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
|
|
7044
|
+
export declare const WorkspaceOnboardingFragmentDoc: Apollo.DocumentNode;
|
|
7045
|
+
export declare const WorkspaceProfileFragmentDoc: Apollo.DocumentNode;
|
|
6420
7046
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
6421
7047
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
6422
7048
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
@@ -7640,6 +8266,22 @@ export declare function useAddMessageMutation(baseOptions?: Apollo.MutationHookO
|
|
|
7640
8266
|
export type AddMessageMutationHookResult = ReturnType<typeof useAddMessageMutation>;
|
|
7641
8267
|
export type AddMessageMutationResult = Apollo.MutationResult<AddMessageMutation>;
|
|
7642
8268
|
export type AddMessageMutationOptions = Apollo.BaseMutationOptions<AddMessageMutation, AddMessageMutationVariables>;
|
|
8269
|
+
export declare const ReactToMessageDocument: Apollo.DocumentNode;
|
|
8270
|
+
export type ReactToMessageMutationFn = Apollo.MutationFunction<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
8271
|
+
export declare function useReactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<ReactToMessageMutation, ReactToMessageMutationVariables>): Apollo.MutationTuple<ReactToMessageMutation, Exact<{
|
|
8272
|
+
input: MessageReactionInput;
|
|
8273
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8274
|
+
export type ReactToMessageMutationHookResult = ReturnType<typeof useReactToMessageMutation>;
|
|
8275
|
+
export type ReactToMessageMutationResult = Apollo.MutationResult<ReactToMessageMutation>;
|
|
8276
|
+
export type ReactToMessageMutationOptions = Apollo.BaseMutationOptions<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
8277
|
+
export declare const UnreactToMessageDocument: Apollo.DocumentNode;
|
|
8278
|
+
export type UnreactToMessageMutationFn = Apollo.MutationFunction<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
8279
|
+
export declare function useUnreactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>): Apollo.MutationTuple<UnreactToMessageMutation, Exact<{
|
|
8280
|
+
input: MessageReactionInput;
|
|
8281
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8282
|
+
export type UnreactToMessageMutationHookResult = ReturnType<typeof useUnreactToMessageMutation>;
|
|
8283
|
+
export type UnreactToMessageMutationResult = Apollo.MutationResult<UnreactToMessageMutation>;
|
|
8284
|
+
export type UnreactToMessageMutationOptions = Apollo.BaseMutationOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
7643
8285
|
export declare const AgentDocument: Apollo.DocumentNode;
|
|
7644
8286
|
/**
|
|
7645
8287
|
* __useAgentQuery__
|
|
@@ -9148,6 +9790,157 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
|
|
|
9148
9790
|
input: ValidateBulkImportContactsInput;
|
|
9149
9791
|
}>;
|
|
9150
9792
|
};
|
|
9793
|
+
export declare const CompleteOnboardingStepDocument: Apollo.DocumentNode;
|
|
9794
|
+
export type CompleteOnboardingStepMutationFn = Apollo.MutationFunction<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>;
|
|
9795
|
+
/**
|
|
9796
|
+
* __useCompleteOnboardingStepMutation__
|
|
9797
|
+
*
|
|
9798
|
+
* To run a mutation, you first call `useCompleteOnboardingStepMutation` within a React component and pass it any options that fit your needs.
|
|
9799
|
+
* When your component renders, `useCompleteOnboardingStepMutation` returns a tuple that includes:
|
|
9800
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9801
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9802
|
+
*
|
|
9803
|
+
* @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;
|
|
9804
|
+
*
|
|
9805
|
+
* @example
|
|
9806
|
+
* const [completeOnboardingStepMutation, { data, loading, error }] = useCompleteOnboardingStepMutation({
|
|
9807
|
+
* variables: {
|
|
9808
|
+
* input: // value for 'input'
|
|
9809
|
+
* },
|
|
9810
|
+
* });
|
|
9811
|
+
*/
|
|
9812
|
+
export declare function useCompleteOnboardingStepMutation(baseOptions?: Apollo.MutationHookOptions<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>): Apollo.MutationTuple<CompleteOnboardingStepMutation, Exact<{
|
|
9813
|
+
input: CompleteOnboardingStepInput;
|
|
9814
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9815
|
+
export type CompleteOnboardingStepMutationHookResult = ReturnType<typeof useCompleteOnboardingStepMutation>;
|
|
9816
|
+
export type CompleteOnboardingStepMutationResult = Apollo.MutationResult<CompleteOnboardingStepMutation>;
|
|
9817
|
+
export type CompleteOnboardingStepMutationOptions = Apollo.BaseMutationOptions<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>;
|
|
9818
|
+
export declare const DismissWorkspaceOnboardingDocument: Apollo.DocumentNode;
|
|
9819
|
+
export type DismissWorkspaceOnboardingMutationFn = Apollo.MutationFunction<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>;
|
|
9820
|
+
/**
|
|
9821
|
+
* __useDismissWorkspaceOnboardingMutation__
|
|
9822
|
+
*
|
|
9823
|
+
* To run a mutation, you first call `useDismissWorkspaceOnboardingMutation` within a React component and pass it any options that fit your needs.
|
|
9824
|
+
* When your component renders, `useDismissWorkspaceOnboardingMutation` returns a tuple that includes:
|
|
9825
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9826
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9827
|
+
*
|
|
9828
|
+
* @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;
|
|
9829
|
+
*
|
|
9830
|
+
* @example
|
|
9831
|
+
* const [dismissWorkspaceOnboardingMutation, { data, loading, error }] = useDismissWorkspaceOnboardingMutation({
|
|
9832
|
+
* variables: {
|
|
9833
|
+
* input: // value for 'input'
|
|
9834
|
+
* },
|
|
9835
|
+
* });
|
|
9836
|
+
*/
|
|
9837
|
+
export declare function useDismissWorkspaceOnboardingMutation(baseOptions?: Apollo.MutationHookOptions<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>): Apollo.MutationTuple<DismissWorkspaceOnboardingMutation, Exact<{
|
|
9838
|
+
input: WorkspaceOnboardingInput;
|
|
9839
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9840
|
+
export type DismissWorkspaceOnboardingMutationHookResult = ReturnType<typeof useDismissWorkspaceOnboardingMutation>;
|
|
9841
|
+
export type DismissWorkspaceOnboardingMutationResult = Apollo.MutationResult<DismissWorkspaceOnboardingMutation>;
|
|
9842
|
+
export type DismissWorkspaceOnboardingMutationOptions = Apollo.BaseMutationOptions<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>;
|
|
9843
|
+
export declare const OnboardingOptionsDocument: Apollo.DocumentNode;
|
|
9844
|
+
/**
|
|
9845
|
+
* __useOnboardingOptionsQuery__
|
|
9846
|
+
*
|
|
9847
|
+
* To run a query within a React component, call `useOnboardingOptionsQuery` and pass it any options that fit your needs.
|
|
9848
|
+
* When your component renders, `useOnboardingOptionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9849
|
+
* you can use to render your UI.
|
|
9850
|
+
*
|
|
9851
|
+
* @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;
|
|
9852
|
+
*
|
|
9853
|
+
* @example
|
|
9854
|
+
* const { data, loading, error } = useOnboardingOptionsQuery({
|
|
9855
|
+
* variables: {
|
|
9856
|
+
* },
|
|
9857
|
+
* });
|
|
9858
|
+
*/
|
|
9859
|
+
export declare function useOnboardingOptionsQuery(baseOptions?: Apollo.QueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.QueryResult<OnboardingOptionsQuery, Exact<{
|
|
9860
|
+
[key: string]: never;
|
|
9861
|
+
}>>;
|
|
9862
|
+
export declare function useOnboardingOptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.LazyQueryResultTuple<OnboardingOptionsQuery, Exact<{
|
|
9863
|
+
[key: string]: never;
|
|
9864
|
+
}>>;
|
|
9865
|
+
export declare function useOnboardingOptionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.UseSuspenseQueryResult<OnboardingOptionsQuery | undefined, Exact<{
|
|
9866
|
+
[key: string]: never;
|
|
9867
|
+
}>>;
|
|
9868
|
+
export type OnboardingOptionsQueryHookResult = ReturnType<typeof useOnboardingOptionsQuery>;
|
|
9869
|
+
export type OnboardingOptionsLazyQueryHookResult = ReturnType<typeof useOnboardingOptionsLazyQuery>;
|
|
9870
|
+
export type OnboardingOptionsSuspenseQueryHookResult = ReturnType<typeof useOnboardingOptionsSuspenseQuery>;
|
|
9871
|
+
export type OnboardingOptionsQueryResult = Apollo.QueryResult<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>;
|
|
9872
|
+
export declare function refetchOnboardingOptionsQuery(variables?: OnboardingOptionsQueryVariables): {
|
|
9873
|
+
query: Apollo.DocumentNode;
|
|
9874
|
+
variables: Exact<{
|
|
9875
|
+
[key: string]: never;
|
|
9876
|
+
}> | undefined;
|
|
9877
|
+
};
|
|
9878
|
+
export declare const UpdateWorkspaceProfileDocument: Apollo.DocumentNode;
|
|
9879
|
+
export type UpdateWorkspaceProfileMutationFn = Apollo.MutationFunction<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>;
|
|
9880
|
+
/**
|
|
9881
|
+
* __useUpdateWorkspaceProfileMutation__
|
|
9882
|
+
*
|
|
9883
|
+
* To run a mutation, you first call `useUpdateWorkspaceProfileMutation` within a React component and pass it any options that fit your needs.
|
|
9884
|
+
* When your component renders, `useUpdateWorkspaceProfileMutation` returns a tuple that includes:
|
|
9885
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9886
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9887
|
+
*
|
|
9888
|
+
* @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;
|
|
9889
|
+
*
|
|
9890
|
+
* @example
|
|
9891
|
+
* const [updateWorkspaceProfileMutation, { data, loading, error }] = useUpdateWorkspaceProfileMutation({
|
|
9892
|
+
* variables: {
|
|
9893
|
+
* input: // value for 'input'
|
|
9894
|
+
* },
|
|
9895
|
+
* });
|
|
9896
|
+
*/
|
|
9897
|
+
export declare function useUpdateWorkspaceProfileMutation(baseOptions?: Apollo.MutationHookOptions<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>): Apollo.MutationTuple<UpdateWorkspaceProfileMutation, Exact<{
|
|
9898
|
+
input: UpdateWorkspaceProfileInput;
|
|
9899
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9900
|
+
export type UpdateWorkspaceProfileMutationHookResult = ReturnType<typeof useUpdateWorkspaceProfileMutation>;
|
|
9901
|
+
export type UpdateWorkspaceProfileMutationResult = Apollo.MutationResult<UpdateWorkspaceProfileMutation>;
|
|
9902
|
+
export type UpdateWorkspaceProfileMutationOptions = Apollo.BaseMutationOptions<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>;
|
|
9903
|
+
export declare const WorkspaceOnboardingDocument: Apollo.DocumentNode;
|
|
9904
|
+
/**
|
|
9905
|
+
* __useWorkspaceOnboardingQuery__
|
|
9906
|
+
*
|
|
9907
|
+
* To run a query within a React component, call `useWorkspaceOnboardingQuery` and pass it any options that fit your needs.
|
|
9908
|
+
* When your component renders, `useWorkspaceOnboardingQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9909
|
+
* you can use to render your UI.
|
|
9910
|
+
*
|
|
9911
|
+
* @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;
|
|
9912
|
+
*
|
|
9913
|
+
* @example
|
|
9914
|
+
* const { data, loading, error } = useWorkspaceOnboardingQuery({
|
|
9915
|
+
* variables: {
|
|
9916
|
+
* input: // value for 'input'
|
|
9917
|
+
* },
|
|
9918
|
+
* });
|
|
9919
|
+
*/
|
|
9920
|
+
export declare function useWorkspaceOnboardingQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables> & ({
|
|
9921
|
+
variables: WorkspaceOnboardingQueryVariables;
|
|
9922
|
+
skip?: boolean;
|
|
9923
|
+
} | {
|
|
9924
|
+
skip: boolean;
|
|
9925
|
+
})): Apollo.QueryResult<WorkspaceOnboardingQuery, Exact<{
|
|
9926
|
+
input: WorkspaceOnboardingInput;
|
|
9927
|
+
}>>;
|
|
9928
|
+
export declare function useWorkspaceOnboardingLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceOnboardingQuery, Exact<{
|
|
9929
|
+
input: WorkspaceOnboardingInput;
|
|
9930
|
+
}>>;
|
|
9931
|
+
export declare function useWorkspaceOnboardingSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceOnboardingQuery | undefined, Exact<{
|
|
9932
|
+
input: WorkspaceOnboardingInput;
|
|
9933
|
+
}>>;
|
|
9934
|
+
export type WorkspaceOnboardingQueryHookResult = ReturnType<typeof useWorkspaceOnboardingQuery>;
|
|
9935
|
+
export type WorkspaceOnboardingLazyQueryHookResult = ReturnType<typeof useWorkspaceOnboardingLazyQuery>;
|
|
9936
|
+
export type WorkspaceOnboardingSuspenseQueryHookResult = ReturnType<typeof useWorkspaceOnboardingSuspenseQuery>;
|
|
9937
|
+
export type WorkspaceOnboardingQueryResult = Apollo.QueryResult<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>;
|
|
9938
|
+
export declare function refetchWorkspaceOnboardingQuery(variables: WorkspaceOnboardingQueryVariables): {
|
|
9939
|
+
query: Apollo.DocumentNode;
|
|
9940
|
+
variables: Exact<{
|
|
9941
|
+
input: WorkspaceOnboardingInput;
|
|
9942
|
+
}>;
|
|
9943
|
+
};
|
|
9151
9944
|
export declare const ApiKeysDocument: Apollo.DocumentNode;
|
|
9152
9945
|
/**
|
|
9153
9946
|
* __useApiKeysQuery__
|
|
@@ -9587,6 +10380,31 @@ export declare function refetchWebhooksQuery(variables: WebhooksQueryVariables):
|
|
|
9587
10380
|
input: WebhooksInput;
|
|
9588
10381
|
}>;
|
|
9589
10382
|
};
|
|
10383
|
+
export declare const CreateWorkspaceDocument: Apollo.DocumentNode;
|
|
10384
|
+
export type CreateWorkspaceMutationFn = Apollo.MutationFunction<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>;
|
|
10385
|
+
/**
|
|
10386
|
+
* __useCreateWorkspaceMutation__
|
|
10387
|
+
*
|
|
10388
|
+
* To run a mutation, you first call `useCreateWorkspaceMutation` within a React component and pass it any options that fit your needs.
|
|
10389
|
+
* When your component renders, `useCreateWorkspaceMutation` returns a tuple that includes:
|
|
10390
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10391
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10392
|
+
*
|
|
10393
|
+
* @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;
|
|
10394
|
+
*
|
|
10395
|
+
* @example
|
|
10396
|
+
* const [createWorkspaceMutation, { data, loading, error }] = useCreateWorkspaceMutation({
|
|
10397
|
+
* variables: {
|
|
10398
|
+
* input: // value for 'input'
|
|
10399
|
+
* },
|
|
10400
|
+
* });
|
|
10401
|
+
*/
|
|
10402
|
+
export declare function useCreateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>): Apollo.MutationTuple<CreateWorkspaceMutation, Exact<{
|
|
10403
|
+
input: CreateWorkspaceInput;
|
|
10404
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10405
|
+
export type CreateWorkspaceMutationHookResult = ReturnType<typeof useCreateWorkspaceMutation>;
|
|
10406
|
+
export type CreateWorkspaceMutationResult = Apollo.MutationResult<CreateWorkspaceMutation>;
|
|
10407
|
+
export type CreateWorkspaceMutationOptions = Apollo.BaseMutationOptions<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>;
|
|
9590
10408
|
export declare const IsWorkspaceNameAvailableDocument: Apollo.DocumentNode;
|
|
9591
10409
|
/**
|
|
9592
10410
|
* __useIsWorkspaceNameAvailableQuery__
|
|
@@ -9653,6 +10471,165 @@ export declare function usePatchWorkspaceSettingsMutation(baseOptions?: Apollo.M
|
|
|
9653
10471
|
export type PatchWorkspaceSettingsMutationHookResult = ReturnType<typeof usePatchWorkspaceSettingsMutation>;
|
|
9654
10472
|
export type PatchWorkspaceSettingsMutationResult = Apollo.MutationResult<PatchWorkspaceSettingsMutation>;
|
|
9655
10473
|
export type PatchWorkspaceSettingsMutationOptions = Apollo.BaseMutationOptions<PatchWorkspaceSettingsMutation, PatchWorkspaceSettingsMutationVariables>;
|
|
10474
|
+
export declare const RemoveWorkspaceMemberDocument: Apollo.DocumentNode;
|
|
10475
|
+
export type RemoveWorkspaceMemberMutationFn = Apollo.MutationFunction<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>;
|
|
10476
|
+
/**
|
|
10477
|
+
* __useRemoveWorkspaceMemberMutation__
|
|
10478
|
+
*
|
|
10479
|
+
* To run a mutation, you first call `useRemoveWorkspaceMemberMutation` within a React component and pass it any options that fit your needs.
|
|
10480
|
+
* When your component renders, `useRemoveWorkspaceMemberMutation` returns a tuple that includes:
|
|
10481
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10482
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10483
|
+
*
|
|
10484
|
+
* @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;
|
|
10485
|
+
*
|
|
10486
|
+
* @example
|
|
10487
|
+
* const [removeWorkspaceMemberMutation, { data, loading, error }] = useRemoveWorkspaceMemberMutation({
|
|
10488
|
+
* variables: {
|
|
10489
|
+
* workspaceId: // value for 'workspaceId'
|
|
10490
|
+
* userId: // value for 'userId'
|
|
10491
|
+
* },
|
|
10492
|
+
* });
|
|
10493
|
+
*/
|
|
10494
|
+
export declare function useRemoveWorkspaceMemberMutation(baseOptions?: Apollo.MutationHookOptions<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>): Apollo.MutationTuple<RemoveWorkspaceMemberMutation, Exact<{
|
|
10495
|
+
workspaceId: number;
|
|
10496
|
+
userId: string;
|
|
10497
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10498
|
+
export type RemoveWorkspaceMemberMutationHookResult = ReturnType<typeof useRemoveWorkspaceMemberMutation>;
|
|
10499
|
+
export type RemoveWorkspaceMemberMutationResult = Apollo.MutationResult<RemoveWorkspaceMemberMutation>;
|
|
10500
|
+
export type RemoveWorkspaceMemberMutationOptions = Apollo.BaseMutationOptions<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>;
|
|
10501
|
+
export declare const RevokeWorkspaceInvitationDocument: Apollo.DocumentNode;
|
|
10502
|
+
export type RevokeWorkspaceInvitationMutationFn = Apollo.MutationFunction<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>;
|
|
10503
|
+
/**
|
|
10504
|
+
* __useRevokeWorkspaceInvitationMutation__
|
|
10505
|
+
*
|
|
10506
|
+
* To run a mutation, you first call `useRevokeWorkspaceInvitationMutation` within a React component and pass it any options that fit your needs.
|
|
10507
|
+
* When your component renders, `useRevokeWorkspaceInvitationMutation` returns a tuple that includes:
|
|
10508
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10509
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10510
|
+
*
|
|
10511
|
+
* @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;
|
|
10512
|
+
*
|
|
10513
|
+
* @example
|
|
10514
|
+
* const [revokeWorkspaceInvitationMutation, { data, loading, error }] = useRevokeWorkspaceInvitationMutation({
|
|
10515
|
+
* variables: {
|
|
10516
|
+
* id: // value for 'id'
|
|
10517
|
+
* },
|
|
10518
|
+
* });
|
|
10519
|
+
*/
|
|
10520
|
+
export declare function useRevokeWorkspaceInvitationMutation(baseOptions?: Apollo.MutationHookOptions<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>): Apollo.MutationTuple<RevokeWorkspaceInvitationMutation, Exact<{
|
|
10521
|
+
id: string;
|
|
10522
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10523
|
+
export type RevokeWorkspaceInvitationMutationHookResult = ReturnType<typeof useRevokeWorkspaceInvitationMutation>;
|
|
10524
|
+
export type RevokeWorkspaceInvitationMutationResult = Apollo.MutationResult<RevokeWorkspaceInvitationMutation>;
|
|
10525
|
+
export type RevokeWorkspaceInvitationMutationOptions = Apollo.BaseMutationOptions<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>;
|
|
10526
|
+
export declare const UpdateWorkspaceDocument: Apollo.DocumentNode;
|
|
10527
|
+
export type UpdateWorkspaceMutationFn = Apollo.MutationFunction<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
|
|
10528
|
+
/**
|
|
10529
|
+
* __useUpdateWorkspaceMutation__
|
|
10530
|
+
*
|
|
10531
|
+
* To run a mutation, you first call `useUpdateWorkspaceMutation` within a React component and pass it any options that fit your needs.
|
|
10532
|
+
* When your component renders, `useUpdateWorkspaceMutation` returns a tuple that includes:
|
|
10533
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10534
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10535
|
+
*
|
|
10536
|
+
* @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;
|
|
10537
|
+
*
|
|
10538
|
+
* @example
|
|
10539
|
+
* const [updateWorkspaceMutation, { data, loading, error }] = useUpdateWorkspaceMutation({
|
|
10540
|
+
* variables: {
|
|
10541
|
+
* input: // value for 'input'
|
|
10542
|
+
* },
|
|
10543
|
+
* });
|
|
10544
|
+
*/
|
|
10545
|
+
export declare function useUpdateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>): Apollo.MutationTuple<UpdateWorkspaceMutation, Exact<{
|
|
10546
|
+
input: UpdateWorkspaceInput;
|
|
10547
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10548
|
+
export type UpdateWorkspaceMutationHookResult = ReturnType<typeof useUpdateWorkspaceMutation>;
|
|
10549
|
+
export type UpdateWorkspaceMutationResult = Apollo.MutationResult<UpdateWorkspaceMutation>;
|
|
10550
|
+
export type UpdateWorkspaceMutationOptions = Apollo.BaseMutationOptions<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
|
|
10551
|
+
export declare const WorkspaceInvitationsDocument: Apollo.DocumentNode;
|
|
10552
|
+
/**
|
|
10553
|
+
* __useWorkspaceInvitationsQuery__
|
|
10554
|
+
*
|
|
10555
|
+
* To run a query within a React component, call `useWorkspaceInvitationsQuery` and pass it any options that fit your needs.
|
|
10556
|
+
* When your component renders, `useWorkspaceInvitationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10557
|
+
* you can use to render your UI.
|
|
10558
|
+
*
|
|
10559
|
+
* @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;
|
|
10560
|
+
*
|
|
10561
|
+
* @example
|
|
10562
|
+
* const { data, loading, error } = useWorkspaceInvitationsQuery({
|
|
10563
|
+
* variables: {
|
|
10564
|
+
* workspaceId: // value for 'workspaceId'
|
|
10565
|
+
* },
|
|
10566
|
+
* });
|
|
10567
|
+
*/
|
|
10568
|
+
export declare function useWorkspaceInvitationsQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables> & ({
|
|
10569
|
+
variables: WorkspaceInvitationsQueryVariables;
|
|
10570
|
+
skip?: boolean;
|
|
10571
|
+
} | {
|
|
10572
|
+
skip: boolean;
|
|
10573
|
+
})): Apollo.QueryResult<WorkspaceInvitationsQuery, Exact<{
|
|
10574
|
+
workspaceId: number;
|
|
10575
|
+
}>>;
|
|
10576
|
+
export declare function useWorkspaceInvitationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceInvitationsQuery, Exact<{
|
|
10577
|
+
workspaceId: number;
|
|
10578
|
+
}>>;
|
|
10579
|
+
export declare function useWorkspaceInvitationsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceInvitationsQuery | undefined, Exact<{
|
|
10580
|
+
workspaceId: number;
|
|
10581
|
+
}>>;
|
|
10582
|
+
export type WorkspaceInvitationsQueryHookResult = ReturnType<typeof useWorkspaceInvitationsQuery>;
|
|
10583
|
+
export type WorkspaceInvitationsLazyQueryHookResult = ReturnType<typeof useWorkspaceInvitationsLazyQuery>;
|
|
10584
|
+
export type WorkspaceInvitationsSuspenseQueryHookResult = ReturnType<typeof useWorkspaceInvitationsSuspenseQuery>;
|
|
10585
|
+
export type WorkspaceInvitationsQueryResult = Apollo.QueryResult<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>;
|
|
10586
|
+
export declare function refetchWorkspaceInvitationsQuery(variables: WorkspaceInvitationsQueryVariables): {
|
|
10587
|
+
query: Apollo.DocumentNode;
|
|
10588
|
+
variables: Exact<{
|
|
10589
|
+
workspaceId: number;
|
|
10590
|
+
}>;
|
|
10591
|
+
};
|
|
10592
|
+
export declare const WorkspaceMembersDocument: Apollo.DocumentNode;
|
|
10593
|
+
/**
|
|
10594
|
+
* __useWorkspaceMembersQuery__
|
|
10595
|
+
*
|
|
10596
|
+
* To run a query within a React component, call `useWorkspaceMembersQuery` and pass it any options that fit your needs.
|
|
10597
|
+
* When your component renders, `useWorkspaceMembersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10598
|
+
* you can use to render your UI.
|
|
10599
|
+
*
|
|
10600
|
+
* @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;
|
|
10601
|
+
*
|
|
10602
|
+
* @example
|
|
10603
|
+
* const { data, loading, error } = useWorkspaceMembersQuery({
|
|
10604
|
+
* variables: {
|
|
10605
|
+
* workspaceId: // value for 'workspaceId'
|
|
10606
|
+
* },
|
|
10607
|
+
* });
|
|
10608
|
+
*/
|
|
10609
|
+
export declare function useWorkspaceMembersQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables> & ({
|
|
10610
|
+
variables: WorkspaceMembersQueryVariables;
|
|
10611
|
+
skip?: boolean;
|
|
10612
|
+
} | {
|
|
10613
|
+
skip: boolean;
|
|
10614
|
+
})): Apollo.QueryResult<WorkspaceMembersQuery, Exact<{
|
|
10615
|
+
workspaceId: number;
|
|
10616
|
+
}>>;
|
|
10617
|
+
export declare function useWorkspaceMembersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceMembersQuery, Exact<{
|
|
10618
|
+
workspaceId: number;
|
|
10619
|
+
}>>;
|
|
10620
|
+
export declare function useWorkspaceMembersSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceMembersQuery | undefined, Exact<{
|
|
10621
|
+
workspaceId: number;
|
|
10622
|
+
}>>;
|
|
10623
|
+
export type WorkspaceMembersQueryHookResult = ReturnType<typeof useWorkspaceMembersQuery>;
|
|
10624
|
+
export type WorkspaceMembersLazyQueryHookResult = ReturnType<typeof useWorkspaceMembersLazyQuery>;
|
|
10625
|
+
export type WorkspaceMembersSuspenseQueryHookResult = ReturnType<typeof useWorkspaceMembersSuspenseQuery>;
|
|
10626
|
+
export type WorkspaceMembersQueryResult = Apollo.QueryResult<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>;
|
|
10627
|
+
export declare function refetchWorkspaceMembersQuery(variables: WorkspaceMembersQueryVariables): {
|
|
10628
|
+
query: Apollo.DocumentNode;
|
|
10629
|
+
variables: Exact<{
|
|
10630
|
+
workspaceId: number;
|
|
10631
|
+
}>;
|
|
10632
|
+
};
|
|
9656
10633
|
export declare const WorkspaceSettingsDocument: Apollo.DocumentNode;
|
|
9657
10634
|
/**
|
|
9658
10635
|
* __useWorkspaceSettingsQuery__
|