@bcrumbs.net/inbox 0.0.63 → 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 +1286 -376
- package/index.esm.js +1288 -379
- 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/ClerkSessionBridge.d.ts +4 -0
- package/src/app/auth/config/clerkAppearance.d.ts +153 -49
- package/src/app/auth/config/clerkLocalization.d.ts +6 -0
- package/src/app/auth/pages/Auth.style.d.ts +14 -0
- package/src/app/auth/pages/Login.d.ts +1 -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/broadcast/constants.d.ts +2 -0
- package/src/app/contact/components/ImportProgressDialog.d.ts +2 -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/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/resources/components/ListResources/Utils.d.ts +1 -0
- 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 +7 -0
- package/src/assets/locales/translations.d.ts +145 -0
- package/src/environments/environment.dev.d.ts +2 -0
- package/src/environments/types.d.ts +2 -0
- package/src/graphql.autogenerated.d.ts +908 -2
- package/src/graphql.billing.autogenerated.d.ts +193 -0
- 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,17 +1492,25 @@ 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
|
/**
|
|
@@ -2121,6 +2134,8 @@ export type Mutation = {
|
|
|
2121
2134
|
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
2122
2135
|
*/
|
|
2123
2136
|
cancelBroadcast: Broadcast;
|
|
2137
|
+
/** Mark a checklist step complete. Idempotent — completing a done step is a no-op. */
|
|
2138
|
+
completeOnboardingStep: WorkspaceOnboarding;
|
|
2124
2139
|
/** Continue a live conversation on another integration and append switch history. */
|
|
2125
2140
|
continueConvOn: Conversation;
|
|
2126
2141
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
@@ -2141,7 +2156,10 @@ export type Mutation = {
|
|
|
2141
2156
|
/** Create a tag. You should have the MANAGE_WORKSPACE permission to create a tag. */
|
|
2142
2157
|
createTag: Tag;
|
|
2143
2158
|
createWebhook: Webhook;
|
|
2144
|
-
/**
|
|
2159
|
+
/**
|
|
2160
|
+
* Create a workspace and link it to the current authenticated user.
|
|
2161
|
+
* Also creates the workspace's onboarding record.
|
|
2162
|
+
*/
|
|
2145
2163
|
createWorkspace: Workspace;
|
|
2146
2164
|
/** Delete an agent. You should have the MANAGE_WORKSPACE permission to delete an agent. */
|
|
2147
2165
|
deleteAgent: Agent;
|
|
@@ -2167,6 +2185,8 @@ export type Mutation = {
|
|
|
2167
2185
|
* Removes core data, then calls internal endpoints on bot, billing, and auth to remove related data.
|
|
2168
2186
|
*/
|
|
2169
2187
|
deleteWorkspace: DeleteWorkspaceResult;
|
|
2188
|
+
/** Finish or dismiss the checklist so it stops being shown. Idempotent. */
|
|
2189
|
+
dismissWorkspaceOnboarding: WorkspaceOnboarding;
|
|
2170
2190
|
/** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
|
|
2171
2191
|
endConv: Conversation;
|
|
2172
2192
|
/** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
|
|
@@ -2201,11 +2221,15 @@ export type Mutation = {
|
|
|
2201
2221
|
reactToMessage: Message;
|
|
2202
2222
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
2203
2223
|
removeQuickReply: QuickReply;
|
|
2224
|
+
/** Remove a user from a workspace membership. Caller must be a member. */
|
|
2225
|
+
removeWorkspaceMember: Scalars['Boolean']['output'];
|
|
2204
2226
|
/**
|
|
2205
2227
|
* Retry failed broadcast targets whose failure reason is transient.
|
|
2206
2228
|
* You should have the MANAGE_CONVS permission to retry failed broadcast targets.
|
|
2207
2229
|
*/
|
|
2208
2230
|
retryFailedBroadcastTargets: RetryFailedBroadcastTargetsPayload;
|
|
2231
|
+
/** Revoke a pending or approved workspace invitation. Caller must be a member. */
|
|
2232
|
+
revokeWorkspaceInvitation: Scalars['Boolean']['output'];
|
|
2209
2233
|
say?: Maybe<HelloMessage>;
|
|
2210
2234
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
2211
2235
|
sendNotification: Message;
|
|
@@ -2241,6 +2265,10 @@ export type Mutation = {
|
|
|
2241
2265
|
untagConv: Conversation;
|
|
2242
2266
|
/** Untag a message. */
|
|
2243
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;
|
|
2244
2272
|
};
|
|
2245
2273
|
export type MutationAddMessageArgs = {
|
|
2246
2274
|
input: MessageInput;
|
|
@@ -2287,6 +2315,9 @@ export type MutationBulkUndeleteClientsArgs = {
|
|
|
2287
2315
|
export type MutationCancelBroadcastArgs = {
|
|
2288
2316
|
input: BroadcastCancelInput;
|
|
2289
2317
|
};
|
|
2318
|
+
export type MutationCompleteOnboardingStepArgs = {
|
|
2319
|
+
input: CompleteOnboardingStepInput;
|
|
2320
|
+
};
|
|
2290
2321
|
export type MutationContinueConvOnArgs = {
|
|
2291
2322
|
input: ConvContinueOnInput;
|
|
2292
2323
|
};
|
|
@@ -2353,6 +2384,9 @@ export type MutationDeleteWebhookArgs = {
|
|
|
2353
2384
|
export type MutationDeleteWorkspaceArgs = {
|
|
2354
2385
|
input: DeleteWorkspaceInput;
|
|
2355
2386
|
};
|
|
2387
|
+
export type MutationDismissWorkspaceOnboardingArgs = {
|
|
2388
|
+
input: WorkspaceOnboardingInput;
|
|
2389
|
+
};
|
|
2356
2390
|
export type MutationEndConvArgs = {
|
|
2357
2391
|
input: ConvEndInput;
|
|
2358
2392
|
};
|
|
@@ -2407,9 +2441,16 @@ export type MutationReactToMessageArgs = {
|
|
|
2407
2441
|
export type MutationRemoveQuickReplyArgs = {
|
|
2408
2442
|
input: QuickReplyRemoveInput;
|
|
2409
2443
|
};
|
|
2444
|
+
export type MutationRemoveWorkspaceMemberArgs = {
|
|
2445
|
+
userId: Scalars['ID']['input'];
|
|
2446
|
+
workspaceId: Scalars['Int']['input'];
|
|
2447
|
+
};
|
|
2410
2448
|
export type MutationRetryFailedBroadcastTargetsArgs = {
|
|
2411
2449
|
input: RetryFailedBroadcastTargetsInput;
|
|
2412
2450
|
};
|
|
2451
|
+
export type MutationRevokeWorkspaceInvitationArgs = {
|
|
2452
|
+
id: Scalars['ID']['input'];
|
|
2453
|
+
};
|
|
2413
2454
|
export type MutationSayArgs = {
|
|
2414
2455
|
input: UserInput;
|
|
2415
2456
|
};
|
|
@@ -2455,6 +2496,12 @@ export type MutationUntagConvArgs = {
|
|
|
2455
2496
|
export type MutationUntagMessageArgs = {
|
|
2456
2497
|
input: MessageTagInput;
|
|
2457
2498
|
};
|
|
2499
|
+
export type MutationUpdateWorkspaceArgs = {
|
|
2500
|
+
input: UpdateWorkspaceInput;
|
|
2501
|
+
};
|
|
2502
|
+
export type MutationUpdateWorkspaceProfileArgs = {
|
|
2503
|
+
input: UpdateWorkspaceProfileInput;
|
|
2504
|
+
};
|
|
2458
2505
|
/**
|
|
2459
2506
|
* NoteType is an enum of the note types.
|
|
2460
2507
|
* It can be:
|
|
@@ -2476,6 +2523,30 @@ export declare const NoteType: {
|
|
|
2476
2523
|
readonly UNTAG: "UNTAG";
|
|
2477
2524
|
};
|
|
2478
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];
|
|
2479
2550
|
/** OpenConversationsNeedResponseInput is an input for counting open conversations that need a response. */
|
|
2480
2551
|
export type OpenConversationsNeedResponseInput = {
|
|
2481
2552
|
/** The assignee id of the conversation. Used to filter the conversations by the assignee id. */
|
|
@@ -2578,6 +2649,8 @@ export type Query = {
|
|
|
2578
2649
|
me: UserRole;
|
|
2579
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. */
|
|
2580
2651
|
messages: MessagesPayload;
|
|
2652
|
+
/** Get the accepted values for the workspace profile fields. */
|
|
2653
|
+
onboardingOptions: OnboardingOptions;
|
|
2581
2654
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2582
2655
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
2583
2656
|
/** Get quick replies. */
|
|
@@ -2604,6 +2677,15 @@ export type Query = {
|
|
|
2604
2677
|
webhooks: WebhooksPayload;
|
|
2605
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. */
|
|
2606
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>;
|
|
2607
2689
|
/** Get workspace settings. */
|
|
2608
2690
|
workspaceSettings?: Maybe<WorkspaceSettings>;
|
|
2609
2691
|
/** Get workspaces with pagination and filters. */
|
|
@@ -2745,6 +2827,15 @@ export type QueryWorkspaceBroadcastMessageStatusesArgs = {
|
|
|
2745
2827
|
input: WorkspaceBroadcastMessageStatusesInput;
|
|
2746
2828
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2747
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
|
+
};
|
|
2748
2839
|
export type QueryWorkspaceSettingsArgs = {
|
|
2749
2840
|
input: WorkspaceSettingsInput;
|
|
2750
2841
|
};
|
|
@@ -3085,6 +3176,22 @@ export type TokenUsageTotalInput = {
|
|
|
3085
3176
|
startDate: Scalars['DateTime']['input'];
|
|
3086
3177
|
workspaceId: Scalars['Int']['input'];
|
|
3087
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
|
+
};
|
|
3088
3195
|
export type UploadSignatureResult = {
|
|
3089
3196
|
__typename?: 'UploadSignatureResult';
|
|
3090
3197
|
sas: Scalars['String']['output'];
|
|
@@ -3255,7 +3362,15 @@ export type Workspace = {
|
|
|
3255
3362
|
createDate: Scalars['DateTime']['output'];
|
|
3256
3363
|
id: Scalars['Int']['output'];
|
|
3257
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'];
|
|
3258
3371
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
3372
|
+
/** Company profile answers. All fields are null for workspaces that predate the form. */
|
|
3373
|
+
profile: WorkspaceProfile;
|
|
3259
3374
|
subscriptionType?: Maybe<Scalars['String']['output']>;
|
|
3260
3375
|
taxNumber?: Maybe<Scalars['String']['output']>;
|
|
3261
3376
|
taxOffice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3280,6 +3395,58 @@ export type WorkspaceBroadcastMessageStatusesInput = {
|
|
|
3280
3395
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
3281
3396
|
workspaceId: Scalars['Int']['input'];
|
|
3282
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
|
+
};
|
|
3283
3450
|
/** WorkspaceSettings represents configuration options for a workspace. */
|
|
3284
3451
|
export type WorkspaceSettings = {
|
|
3285
3452
|
__typename?: 'WorkspaceSettings';
|
|
@@ -3287,6 +3454,12 @@ export type WorkspaceSettings = {
|
|
|
3287
3454
|
autoUnarchiveOnMessage?: Maybe<Scalars['Boolean']['output']>;
|
|
3288
3455
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3289
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']>>;
|
|
3290
3463
|
/** The unique identifier of the workspace settings record. */
|
|
3291
3464
|
id: Scalars['ID']['output'];
|
|
3292
3465
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. */
|
|
@@ -3295,6 +3468,10 @@ export type WorkspaceSettings = {
|
|
|
3295
3468
|
testNums?: Maybe<Array<WorkspaceTestNumber>>;
|
|
3296
3469
|
/** The unique identifier of the workspace. */
|
|
3297
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>;
|
|
3298
3475
|
};
|
|
3299
3476
|
/** Input for fetching workspace settings. */
|
|
3300
3477
|
export type WorkspaceSettingsInput = {
|
|
@@ -3307,12 +3484,22 @@ export type WorkspaceSettingsPatchInput = {
|
|
|
3307
3484
|
autoUnarchiveOnMessage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3308
3485
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3309
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']>>;
|
|
3310
3493
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
|
|
3311
3494
|
optOutKeyword?: InputMaybe<Scalars['String']['input']>;
|
|
3312
3495
|
/** Test phone numbers used for workspace validation. */
|
|
3313
3496
|
testNums?: InputMaybe<Array<WorkspaceTestNumberInput>>;
|
|
3314
3497
|
/** The unique identifier of the workspace. */
|
|
3315
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>;
|
|
3316
3503
|
};
|
|
3317
3504
|
/** Test number details for workspace settings. */
|
|
3318
3505
|
export type WorkspaceTestNumber = {
|
|
@@ -3348,6 +3535,23 @@ export type WorkspacesPayload = {
|
|
|
3348
3535
|
nodes: Array<Workspace>;
|
|
3349
3536
|
pageInfo: PageInfo;
|
|
3350
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];
|
|
3351
3555
|
export type AiFragment = {
|
|
3352
3556
|
__typename?: 'AI';
|
|
3353
3557
|
workspaceId: number;
|
|
@@ -3964,6 +4168,13 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3964
4168
|
replyToContent: string;
|
|
3965
4169
|
replyToType: MessageType;
|
|
3966
4170
|
} | null;
|
|
4171
|
+
reactions?: Array<{
|
|
4172
|
+
__typename?: 'MessageReaction';
|
|
4173
|
+
emoji: string;
|
|
4174
|
+
isAgent: boolean;
|
|
4175
|
+
agentId?: string | null;
|
|
4176
|
+
createdAt: any;
|
|
4177
|
+
}> | null;
|
|
3967
4178
|
}> | null;
|
|
3968
4179
|
};
|
|
3969
4180
|
};
|
|
@@ -4479,6 +4690,13 @@ export type ConversationFragment = {
|
|
|
4479
4690
|
replyToContent: string;
|
|
4480
4691
|
replyToType: MessageType;
|
|
4481
4692
|
} | null;
|
|
4693
|
+
reactions?: Array<{
|
|
4694
|
+
__typename?: 'MessageReaction';
|
|
4695
|
+
emoji: string;
|
|
4696
|
+
isAgent: boolean;
|
|
4697
|
+
agentId?: string | null;
|
|
4698
|
+
createdAt: any;
|
|
4699
|
+
}> | null;
|
|
4482
4700
|
}> | null;
|
|
4483
4701
|
client?: {
|
|
4484
4702
|
__typename?: 'ConversationClient';
|
|
@@ -4515,6 +4733,13 @@ export type MessageFragment = {
|
|
|
4515
4733
|
replyToContent: string;
|
|
4516
4734
|
replyToType: MessageType;
|
|
4517
4735
|
} | null;
|
|
4736
|
+
reactions?: Array<{
|
|
4737
|
+
__typename?: 'MessageReaction';
|
|
4738
|
+
emoji: string;
|
|
4739
|
+
isAgent: boolean;
|
|
4740
|
+
agentId?: string | null;
|
|
4741
|
+
createdAt: any;
|
|
4742
|
+
}> | null;
|
|
4518
4743
|
};
|
|
4519
4744
|
export type TagFragment = {
|
|
4520
4745
|
__typename?: 'Tag';
|
|
@@ -4568,6 +4793,79 @@ export type AddMessageMutation = {
|
|
|
4568
4793
|
replyToContent: string;
|
|
4569
4794
|
replyToType: MessageType;
|
|
4570
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;
|
|
4571
4869
|
};
|
|
4572
4870
|
};
|
|
4573
4871
|
export type AgentQueryVariables = Exact<{
|
|
@@ -4674,6 +4972,13 @@ export type AssignConvMutation = {
|
|
|
4674
4972
|
replyToContent: string;
|
|
4675
4973
|
replyToType: MessageType;
|
|
4676
4974
|
} | null;
|
|
4975
|
+
reactions?: Array<{
|
|
4976
|
+
__typename?: 'MessageReaction';
|
|
4977
|
+
emoji: string;
|
|
4978
|
+
isAgent: boolean;
|
|
4979
|
+
agentId?: string | null;
|
|
4980
|
+
createdAt: any;
|
|
4981
|
+
}> | null;
|
|
4677
4982
|
}> | null;
|
|
4678
4983
|
client?: {
|
|
4679
4984
|
__typename?: 'ConversationClient';
|
|
@@ -4748,6 +5053,13 @@ export type ConvQuery = {
|
|
|
4748
5053
|
replyToContent: string;
|
|
4749
5054
|
replyToType: MessageType;
|
|
4750
5055
|
} | null;
|
|
5056
|
+
reactions?: Array<{
|
|
5057
|
+
__typename?: 'MessageReaction';
|
|
5058
|
+
emoji: string;
|
|
5059
|
+
isAgent: boolean;
|
|
5060
|
+
agentId?: string | null;
|
|
5061
|
+
createdAt: any;
|
|
5062
|
+
}> | null;
|
|
4751
5063
|
}> | null;
|
|
4752
5064
|
client?: {
|
|
4753
5065
|
__typename?: 'ConversationClient';
|
|
@@ -4858,6 +5170,13 @@ export type ConvsQuery = {
|
|
|
4858
5170
|
replyToContent: string;
|
|
4859
5171
|
replyToType: MessageType;
|
|
4860
5172
|
} | null;
|
|
5173
|
+
reactions?: Array<{
|
|
5174
|
+
__typename?: 'MessageReaction';
|
|
5175
|
+
emoji: string;
|
|
5176
|
+
isAgent: boolean;
|
|
5177
|
+
agentId?: string | null;
|
|
5178
|
+
createdAt: any;
|
|
5179
|
+
}> | null;
|
|
4861
5180
|
}> | null;
|
|
4862
5181
|
client?: {
|
|
4863
5182
|
__typename?: 'ConversationClient';
|
|
@@ -4977,6 +5296,13 @@ export type EndConvMutation = {
|
|
|
4977
5296
|
replyToContent: string;
|
|
4978
5297
|
replyToType: MessageType;
|
|
4979
5298
|
} | null;
|
|
5299
|
+
reactions?: Array<{
|
|
5300
|
+
__typename?: 'MessageReaction';
|
|
5301
|
+
emoji: string;
|
|
5302
|
+
isAgent: boolean;
|
|
5303
|
+
agentId?: string | null;
|
|
5304
|
+
createdAt: any;
|
|
5305
|
+
}> | null;
|
|
4980
5306
|
}> | null;
|
|
4981
5307
|
client?: {
|
|
4982
5308
|
__typename?: 'ConversationClient';
|
|
@@ -5051,6 +5377,13 @@ export type HandoverConvMutation = {
|
|
|
5051
5377
|
replyToContent: string;
|
|
5052
5378
|
replyToType: MessageType;
|
|
5053
5379
|
} | null;
|
|
5380
|
+
reactions?: Array<{
|
|
5381
|
+
__typename?: 'MessageReaction';
|
|
5382
|
+
emoji: string;
|
|
5383
|
+
isAgent: boolean;
|
|
5384
|
+
agentId?: string | null;
|
|
5385
|
+
createdAt: any;
|
|
5386
|
+
}> | null;
|
|
5054
5387
|
}> | null;
|
|
5055
5388
|
client?: {
|
|
5056
5389
|
__typename?: 'ConversationClient';
|
|
@@ -5096,6 +5429,13 @@ export type MessagesQuery = {
|
|
|
5096
5429
|
replyToContent: string;
|
|
5097
5430
|
replyToType: MessageType;
|
|
5098
5431
|
} | null;
|
|
5432
|
+
reactions?: Array<{
|
|
5433
|
+
__typename?: 'MessageReaction';
|
|
5434
|
+
emoji: string;
|
|
5435
|
+
isAgent: boolean;
|
|
5436
|
+
agentId?: string | null;
|
|
5437
|
+
createdAt: any;
|
|
5438
|
+
}> | null;
|
|
5099
5439
|
}> | null;
|
|
5100
5440
|
pageInfo?: {
|
|
5101
5441
|
__typename?: 'PageInfo';
|
|
@@ -5187,6 +5527,13 @@ export type PatchConvMutation = {
|
|
|
5187
5527
|
replyToContent: string;
|
|
5188
5528
|
replyToType: MessageType;
|
|
5189
5529
|
} | null;
|
|
5530
|
+
reactions?: Array<{
|
|
5531
|
+
__typename?: 'MessageReaction';
|
|
5532
|
+
emoji: string;
|
|
5533
|
+
isAgent: boolean;
|
|
5534
|
+
agentId?: string | null;
|
|
5535
|
+
createdAt: any;
|
|
5536
|
+
}> | null;
|
|
5190
5537
|
}> | null;
|
|
5191
5538
|
client?: {
|
|
5192
5539
|
__typename?: 'ConversationClient';
|
|
@@ -5261,6 +5608,13 @@ export type StartConvMutation = {
|
|
|
5261
5608
|
replyToContent: string;
|
|
5262
5609
|
replyToType: MessageType;
|
|
5263
5610
|
} | null;
|
|
5611
|
+
reactions?: Array<{
|
|
5612
|
+
__typename?: 'MessageReaction';
|
|
5613
|
+
emoji: string;
|
|
5614
|
+
isAgent: boolean;
|
|
5615
|
+
agentId?: string | null;
|
|
5616
|
+
createdAt: any;
|
|
5617
|
+
}> | null;
|
|
5264
5618
|
}> | null;
|
|
5265
5619
|
client?: {
|
|
5266
5620
|
__typename?: 'ConversationClient';
|
|
@@ -5364,6 +5718,13 @@ export type TagConvMutation = {
|
|
|
5364
5718
|
replyToContent: string;
|
|
5365
5719
|
replyToType: MessageType;
|
|
5366
5720
|
} | null;
|
|
5721
|
+
reactions?: Array<{
|
|
5722
|
+
__typename?: 'MessageReaction';
|
|
5723
|
+
emoji: string;
|
|
5724
|
+
isAgent: boolean;
|
|
5725
|
+
agentId?: string | null;
|
|
5726
|
+
createdAt: any;
|
|
5727
|
+
}> | null;
|
|
5367
5728
|
}> | null;
|
|
5368
5729
|
client?: {
|
|
5369
5730
|
__typename?: 'ConversationClient';
|
|
@@ -5483,6 +5844,13 @@ export type UntagConvMutation = {
|
|
|
5483
5844
|
replyToContent: string;
|
|
5484
5845
|
replyToType: MessageType;
|
|
5485
5846
|
} | null;
|
|
5847
|
+
reactions?: Array<{
|
|
5848
|
+
__typename?: 'MessageReaction';
|
|
5849
|
+
emoji: string;
|
|
5850
|
+
isAgent: boolean;
|
|
5851
|
+
agentId?: string | null;
|
|
5852
|
+
createdAt: any;
|
|
5853
|
+
}> | null;
|
|
5486
5854
|
}> | null;
|
|
5487
5855
|
client?: {
|
|
5488
5856
|
__typename?: 'ConversationClient';
|
|
@@ -6067,6 +6435,85 @@ export type ValidateBulkImportContactsQuery = {
|
|
|
6067
6435
|
}>;
|
|
6068
6436
|
};
|
|
6069
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
|
+
};
|
|
6070
6517
|
export type ApiKeyFragment = {
|
|
6071
6518
|
__typename?: 'ApiKey';
|
|
6072
6519
|
workspaceId: number;
|
|
@@ -6386,12 +6833,41 @@ export type WorkspaceSettingsFragment = {
|
|
|
6386
6833
|
convTTL?: number | null;
|
|
6387
6834
|
optOutKeyword?: string | null;
|
|
6388
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;
|
|
6389
6841
|
testNums?: Array<{
|
|
6390
6842
|
__typename?: 'WorkspaceTestNumber';
|
|
6391
6843
|
phone: string;
|
|
6392
6844
|
active?: boolean | null;
|
|
6393
6845
|
}> | null;
|
|
6394
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
|
+
};
|
|
6395
6871
|
export type IsWorkspaceNameAvailableQueryVariables = Exact<{
|
|
6396
6872
|
name: Scalars['String']['input'];
|
|
6397
6873
|
}>;
|
|
@@ -6411,6 +6887,11 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6411
6887
|
convTTL?: number | null;
|
|
6412
6888
|
optOutKeyword?: string | null;
|
|
6413
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;
|
|
6414
6895
|
testNums?: Array<{
|
|
6415
6896
|
__typename?: 'WorkspaceTestNumber';
|
|
6416
6897
|
phone: string;
|
|
@@ -6418,6 +6899,73 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6418
6899
|
}> | null;
|
|
6419
6900
|
};
|
|
6420
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
|
+
};
|
|
6421
6969
|
export type WorkspaceSettingsQueryVariables = Exact<{
|
|
6422
6970
|
input: WorkspaceSettingsInput;
|
|
6423
6971
|
}>;
|
|
@@ -6430,6 +6978,11 @@ export type WorkspaceSettingsQuery = {
|
|
|
6430
6978
|
convTTL?: number | null;
|
|
6431
6979
|
optOutKeyword?: string | null;
|
|
6432
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;
|
|
6433
6986
|
testNums?: Array<{
|
|
6434
6987
|
__typename?: 'WorkspaceTestNumber';
|
|
6435
6988
|
phone: string;
|
|
@@ -6488,6 +7041,8 @@ export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
6488
7041
|
export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
6489
7042
|
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
6490
7043
|
export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
|
|
7044
|
+
export declare const WorkspaceOnboardingFragmentDoc: Apollo.DocumentNode;
|
|
7045
|
+
export declare const WorkspaceProfileFragmentDoc: Apollo.DocumentNode;
|
|
6491
7046
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
6492
7047
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
6493
7048
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
@@ -7711,6 +8266,22 @@ export declare function useAddMessageMutation(baseOptions?: Apollo.MutationHookO
|
|
|
7711
8266
|
export type AddMessageMutationHookResult = ReturnType<typeof useAddMessageMutation>;
|
|
7712
8267
|
export type AddMessageMutationResult = Apollo.MutationResult<AddMessageMutation>;
|
|
7713
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>;
|
|
7714
8285
|
export declare const AgentDocument: Apollo.DocumentNode;
|
|
7715
8286
|
/**
|
|
7716
8287
|
* __useAgentQuery__
|
|
@@ -9219,6 +9790,157 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
|
|
|
9219
9790
|
input: ValidateBulkImportContactsInput;
|
|
9220
9791
|
}>;
|
|
9221
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
|
+
};
|
|
9222
9944
|
export declare const ApiKeysDocument: Apollo.DocumentNode;
|
|
9223
9945
|
/**
|
|
9224
9946
|
* __useApiKeysQuery__
|
|
@@ -9658,6 +10380,31 @@ export declare function refetchWebhooksQuery(variables: WebhooksQueryVariables):
|
|
|
9658
10380
|
input: WebhooksInput;
|
|
9659
10381
|
}>;
|
|
9660
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>;
|
|
9661
10408
|
export declare const IsWorkspaceNameAvailableDocument: Apollo.DocumentNode;
|
|
9662
10409
|
/**
|
|
9663
10410
|
* __useIsWorkspaceNameAvailableQuery__
|
|
@@ -9724,6 +10471,165 @@ export declare function usePatchWorkspaceSettingsMutation(baseOptions?: Apollo.M
|
|
|
9724
10471
|
export type PatchWorkspaceSettingsMutationHookResult = ReturnType<typeof usePatchWorkspaceSettingsMutation>;
|
|
9725
10472
|
export type PatchWorkspaceSettingsMutationResult = Apollo.MutationResult<PatchWorkspaceSettingsMutation>;
|
|
9726
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
|
+
};
|
|
9727
10633
|
export declare const WorkspaceSettingsDocument: Apollo.DocumentNode;
|
|
9728
10634
|
/**
|
|
9729
10635
|
* __useWorkspaceSettingsQuery__
|