@bcrumbs.net/inbox 0.0.39 → 0.0.40
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 +229 -226
- package/assets/en/inbox.json +231 -228
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +476 -240
- package/index.esm.d.ts +1 -1
- package/index.esm.js +476 -240
- package/package.json +1 -1
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
- package/src/app/contact/components/ImportProgressDialog.d.ts +10 -0
- package/src/app/contact/components/ImportSuccessDialog.d.ts +8 -0
- package/src/app/contact/components/ImportValidationErrorDialog.d.ts +13 -0
- package/src/app/contact/config/contactForm.d.ts +2 -1
- package/src/app/contact/hooks/useAgentFullName.d.ts +6 -0
- package/src/app/contact/hooks/useAgentOptions.d.ts +25 -0
- package/src/app/contact/pages/contact/ContactHeader.d.ts +6 -0
- package/src/app/generic/hooks/useResourceColumns.d.ts +4 -1
- package/src/app/inbox/hooks/useConvFilters.d.ts +4 -1
- package/src/app/inbox/utils/convs.d.ts +7 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +0 -1
- package/src/assets/locales/translations.d.ts +14 -0
- package/src/graphql.autogenerated.d.ts +474 -0
|
@@ -326,6 +326,14 @@ export type Broadcast = {
|
|
|
326
326
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
327
327
|
workspaceId: Scalars['Int']['output'];
|
|
328
328
|
};
|
|
329
|
+
/**
|
|
330
|
+
* BroadcastCancelInput is an input of the broadcast cancel mutation.
|
|
331
|
+
* It cancels a scheduled broadcast that hasn't started yet (scheduled -> draft).
|
|
332
|
+
*/
|
|
333
|
+
export type BroadcastCancelInput = {
|
|
334
|
+
id: Scalars['ID']['input'];
|
|
335
|
+
workspaceId: Scalars['Int']['input'];
|
|
336
|
+
};
|
|
329
337
|
/** BroadcastCreateInput is an input of the broadcast create mutation. */
|
|
330
338
|
export type BroadcastCreateInput = {
|
|
331
339
|
/** The stage of the clients that will receive the broadcast. (Used to target a specific stage of clients) */
|
|
@@ -529,6 +537,8 @@ export type BulkImportContactsJobStatus = {
|
|
|
529
537
|
error?: Maybe<Scalars['String']['output']>;
|
|
530
538
|
/** Number of rows with errors (only available when status is completed or failed). */
|
|
531
539
|
errors?: Maybe<Scalars['Int']['output']>;
|
|
540
|
+
/** Number of rows processed so far (success + errors + skipped). Available while the job is processing. */
|
|
541
|
+
processedCount?: Maybe<Scalars['Int']['output']>;
|
|
532
542
|
/** Number of rows skipped (only available when status is completed). */
|
|
533
543
|
skipped?: Maybe<Scalars['Int']['output']>;
|
|
534
544
|
/** Timestamp when the job started processing. */
|
|
@@ -537,6 +547,8 @@ export type BulkImportContactsJobStatus = {
|
|
|
537
547
|
status: JobStatus;
|
|
538
548
|
/** Number of clients successfully created (only available when status is completed). */
|
|
539
549
|
success?: Maybe<Scalars['Int']['output']>;
|
|
550
|
+
/** Total number of rows in the CSV file. Available once the job starts processing. */
|
|
551
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
540
552
|
/** Total number of rows processed (only available when status is completed or failed). */
|
|
541
553
|
totalProcessed?: Maybe<Scalars['Int']['output']>;
|
|
542
554
|
};
|
|
@@ -611,8 +623,11 @@ export type ClientCreateInput = {
|
|
|
611
623
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
612
624
|
/** The phone of the client. */
|
|
613
625
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
626
|
+
/** The stage of the client. */
|
|
627
|
+
stage?: InputMaybe<Scalars['String']['input']>;
|
|
614
628
|
/** The surname of the client. */
|
|
615
629
|
surname?: InputMaybe<Scalars['String']['input']>;
|
|
630
|
+
/** The tags of the client. */
|
|
616
631
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
617
632
|
workspaceId: Scalars['Int']['input'];
|
|
618
633
|
};
|
|
@@ -699,6 +714,8 @@ export type ClientsInput = {
|
|
|
699
714
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
700
715
|
/** The external client id of the client. Used to filter the clients by the external client id. */
|
|
701
716
|
externalClientId?: InputMaybe<Scalars['String']['input']>;
|
|
717
|
+
/** If true, only return deleted clients. If false or not provided, only return non-deleted clients. */
|
|
718
|
+
isDeleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
702
719
|
/** The name of the client. Used to filter the clients by the name. */
|
|
703
720
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
704
721
|
/** The phone of the client. Used to filter the clients by the phone. */
|
|
@@ -1412,6 +1429,11 @@ export type Mutation = {
|
|
|
1412
1429
|
bulkImportContacts: BulkImportContactsResult;
|
|
1413
1430
|
/** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
|
|
1414
1431
|
bulkPatchTags: Scalars['Boolean']['output'];
|
|
1432
|
+
/**
|
|
1433
|
+
* Cancel a scheduled broadcast that hasn't started yet (scheduled -> draft).
|
|
1434
|
+
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
1435
|
+
*/
|
|
1436
|
+
cancelBroadcast: Broadcast;
|
|
1415
1437
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
1416
1438
|
createAgent: Agent;
|
|
1417
1439
|
createAi: Ai;
|
|
@@ -1482,6 +1504,10 @@ export type Mutation = {
|
|
|
1482
1504
|
tagConv: Conversation;
|
|
1483
1505
|
/** Tag a message. */
|
|
1484
1506
|
tagMessage: Message;
|
|
1507
|
+
/** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
1508
|
+
undeleteClient: Client;
|
|
1509
|
+
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
1510
|
+
undeleteClientByExternalId: Client;
|
|
1485
1511
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
1486
1512
|
untagClient: Client;
|
|
1487
1513
|
/** Untag a conversation. */
|
|
@@ -1507,6 +1533,9 @@ export type MutationBulkImportContactsArgs = {
|
|
|
1507
1533
|
export type MutationBulkPatchTagsArgs = {
|
|
1508
1534
|
input: TagBulkPatchInput;
|
|
1509
1535
|
};
|
|
1536
|
+
export type MutationCancelBroadcastArgs = {
|
|
1537
|
+
input: BroadcastCancelInput;
|
|
1538
|
+
};
|
|
1510
1539
|
export type MutationCreateAgentArgs = {
|
|
1511
1540
|
input: AgentCreateInput;
|
|
1512
1541
|
};
|
|
@@ -1618,6 +1647,12 @@ export type MutationTagConvArgs = {
|
|
|
1618
1647
|
export type MutationTagMessageArgs = {
|
|
1619
1648
|
input: MessageTagInput;
|
|
1620
1649
|
};
|
|
1650
|
+
export type MutationUndeleteClientArgs = {
|
|
1651
|
+
input: ClientInput;
|
|
1652
|
+
};
|
|
1653
|
+
export type MutationUndeleteClientByExternalIdArgs = {
|
|
1654
|
+
input: ClientDeleteByExternalIdInput;
|
|
1655
|
+
};
|
|
1621
1656
|
export type MutationUntagClientArgs = {
|
|
1622
1657
|
input: ClientTagInput;
|
|
1623
1658
|
};
|
|
@@ -1722,6 +1757,10 @@ export type Query = {
|
|
|
1722
1757
|
sources: SourcesPayload;
|
|
1723
1758
|
/** Get tags. */
|
|
1724
1759
|
tags: TagsPayload;
|
|
1760
|
+
/** Get token usage logs with pagination. */
|
|
1761
|
+
tokenUsageLogs: TokenUsageLogsPayload;
|
|
1762
|
+
/** Get total token usage between two dates. */
|
|
1763
|
+
tokenUsageTotal: TokenUsageTotal;
|
|
1725
1764
|
/** Get the upload signature which can be used to upload a file to the cloud storage. */
|
|
1726
1765
|
uploadSignature: UploadSignatureResult;
|
|
1727
1766
|
usersRoles: UsersRolesPayload;
|
|
@@ -1807,6 +1846,13 @@ export type QuerySourcesArgs = {
|
|
|
1807
1846
|
export type QueryTagsArgs = {
|
|
1808
1847
|
input: TagsInput;
|
|
1809
1848
|
};
|
|
1849
|
+
export type QueryTokenUsageLogsArgs = {
|
|
1850
|
+
input: TokenUsageLogsInput;
|
|
1851
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1852
|
+
};
|
|
1853
|
+
export type QueryTokenUsageTotalArgs = {
|
|
1854
|
+
input: TokenUsageTotalInput;
|
|
1855
|
+
};
|
|
1810
1856
|
export type QueryUploadSignatureArgs = {
|
|
1811
1857
|
input: InputUploadSignature;
|
|
1812
1858
|
};
|
|
@@ -2011,6 +2057,51 @@ export declare const TemplateState: {
|
|
|
2011
2057
|
readonly PENDING: "PENDING";
|
|
2012
2058
|
};
|
|
2013
2059
|
export type TemplateState = typeof TemplateState[keyof typeof TemplateState];
|
|
2060
|
+
export type TokenUsageLog = {
|
|
2061
|
+
__typename?: 'TokenUsageLog';
|
|
2062
|
+
aiId?: Maybe<Scalars['ID']['output']>;
|
|
2063
|
+
cachedInputTokens?: Maybe<Scalars['Int']['output']>;
|
|
2064
|
+
clientId?: Maybe<Scalars['ID']['output']>;
|
|
2065
|
+
conversationId?: Maybe<Scalars['ID']['output']>;
|
|
2066
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2067
|
+
id: Scalars['ID']['output'];
|
|
2068
|
+
inputTokens: Scalars['Int']['output'];
|
|
2069
|
+
messageId?: Maybe<Scalars['ID']['output']>;
|
|
2070
|
+
outputTokens: Scalars['Int']['output'];
|
|
2071
|
+
reasoningTokens?: Maybe<Scalars['Int']['output']>;
|
|
2072
|
+
totalTokens: Scalars['Int']['output'];
|
|
2073
|
+
workspaceId: Scalars['Int']['output'];
|
|
2074
|
+
};
|
|
2075
|
+
export type TokenUsageLogsInput = {
|
|
2076
|
+
aiId?: InputMaybe<Scalars['ID']['input']>;
|
|
2077
|
+
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
2078
|
+
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2079
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2080
|
+
messageId?: InputMaybe<Scalars['ID']['input']>;
|
|
2081
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2082
|
+
workspaceId: Scalars['Int']['input'];
|
|
2083
|
+
};
|
|
2084
|
+
export type TokenUsageLogsPayload = {
|
|
2085
|
+
__typename?: 'TokenUsageLogsPayload';
|
|
2086
|
+
nodes?: Maybe<Array<TokenUsageLog>>;
|
|
2087
|
+
pageInfo: PageInfo;
|
|
2088
|
+
};
|
|
2089
|
+
export type TokenUsageTotal = {
|
|
2090
|
+
__typename?: 'TokenUsageTotal';
|
|
2091
|
+
totalCachedInputTokens: Scalars['Int']['output'];
|
|
2092
|
+
totalInputTokens: Scalars['Int']['output'];
|
|
2093
|
+
totalOutputTokens: Scalars['Int']['output'];
|
|
2094
|
+
totalReasoningTokens: Scalars['Int']['output'];
|
|
2095
|
+
totalTokens: Scalars['Int']['output'];
|
|
2096
|
+
workspaceId: Scalars['Int']['output'];
|
|
2097
|
+
};
|
|
2098
|
+
export type TokenUsageTotalInput = {
|
|
2099
|
+
aiId?: InputMaybe<Scalars['ID']['input']>;
|
|
2100
|
+
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2101
|
+
endDate: Scalars['DateTime']['input'];
|
|
2102
|
+
startDate: Scalars['DateTime']['input'];
|
|
2103
|
+
workspaceId: Scalars['Int']['input'];
|
|
2104
|
+
};
|
|
2014
2105
|
export type UploadSignatureResult = {
|
|
2015
2106
|
__typename?: 'UploadSignatureResult';
|
|
2016
2107
|
sas: Scalars['String']['output'];
|
|
@@ -2199,6 +2290,52 @@ export type SourcesQuery = {
|
|
|
2199
2290
|
}> | null;
|
|
2200
2291
|
};
|
|
2201
2292
|
};
|
|
2293
|
+
export type TokenUsageLogsQueryVariables = Exact<{
|
|
2294
|
+
input: TokenUsageLogsInput;
|
|
2295
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2296
|
+
}>;
|
|
2297
|
+
export type TokenUsageLogsQuery = {
|
|
2298
|
+
__typename?: 'Query';
|
|
2299
|
+
tokenUsageLogs: {
|
|
2300
|
+
__typename?: 'TokenUsageLogsPayload';
|
|
2301
|
+
nodes?: Array<{
|
|
2302
|
+
__typename?: 'TokenUsageLog';
|
|
2303
|
+
workspaceId: number;
|
|
2304
|
+
id: string;
|
|
2305
|
+
aiId?: string | null;
|
|
2306
|
+
conversationId?: string | null;
|
|
2307
|
+
clientId?: string | null;
|
|
2308
|
+
messageId?: string | null;
|
|
2309
|
+
inputTokens: number;
|
|
2310
|
+
outputTokens: number;
|
|
2311
|
+
totalTokens: number;
|
|
2312
|
+
reasoningTokens?: number | null;
|
|
2313
|
+
cachedInputTokens?: number | null;
|
|
2314
|
+
createdAt: any;
|
|
2315
|
+
}> | null;
|
|
2316
|
+
pageInfo: {
|
|
2317
|
+
__typename?: 'PageInfo';
|
|
2318
|
+
hasNextPage: boolean;
|
|
2319
|
+
endCursor?: any | null;
|
|
2320
|
+
count?: number | null;
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
export type TokenUsageTotalQueryVariables = Exact<{
|
|
2325
|
+
input: TokenUsageTotalInput;
|
|
2326
|
+
}>;
|
|
2327
|
+
export type TokenUsageTotalQuery = {
|
|
2328
|
+
__typename?: 'Query';
|
|
2329
|
+
tokenUsageTotal: {
|
|
2330
|
+
__typename?: 'TokenUsageTotal';
|
|
2331
|
+
workspaceId: number;
|
|
2332
|
+
totalInputTokens: number;
|
|
2333
|
+
totalOutputTokens: number;
|
|
2334
|
+
totalTokens: number;
|
|
2335
|
+
totalReasoningTokens: number;
|
|
2336
|
+
totalCachedInputTokens: number;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2202
2339
|
export type UserRoleFragment = {
|
|
2203
2340
|
__typename?: 'UserRole';
|
|
2204
2341
|
workspaceId: number;
|
|
@@ -2775,12 +2912,41 @@ export type BulkImportContactsJobStatusQuery = {
|
|
|
2775
2912
|
startedAt?: any | null;
|
|
2776
2913
|
completedAt?: any | null;
|
|
2777
2914
|
error?: string | null;
|
|
2915
|
+
processedCount?: number | null;
|
|
2916
|
+
totalCount?: number | null;
|
|
2778
2917
|
totalProcessed?: number | null;
|
|
2779
2918
|
success?: number | null;
|
|
2780
2919
|
errors?: number | null;
|
|
2781
2920
|
skipped?: number | null;
|
|
2782
2921
|
} | null;
|
|
2783
2922
|
};
|
|
2923
|
+
export type CancelBroadcastMutationVariables = Exact<{
|
|
2924
|
+
input: BroadcastCancelInput;
|
|
2925
|
+
}>;
|
|
2926
|
+
export type CancelBroadcastMutation = {
|
|
2927
|
+
__typename?: 'Mutation';
|
|
2928
|
+
cancelBroadcast: {
|
|
2929
|
+
__typename?: 'Broadcast';
|
|
2930
|
+
workspaceId: number;
|
|
2931
|
+
id: string;
|
|
2932
|
+
name: string;
|
|
2933
|
+
integrationId: string;
|
|
2934
|
+
state: BroadcastState;
|
|
2935
|
+
clientTags?: Array<string> | null;
|
|
2936
|
+
clientStageId?: string | null;
|
|
2937
|
+
templateName: string;
|
|
2938
|
+
templateLang?: string | null;
|
|
2939
|
+
country?: string | null;
|
|
2940
|
+
templateComponents?: any | null;
|
|
2941
|
+
createdAt: any;
|
|
2942
|
+
scheduledAt?: any | null;
|
|
2943
|
+
startedAt?: any | null;
|
|
2944
|
+
completedAt?: any | null;
|
|
2945
|
+
totalCount?: number | null;
|
|
2946
|
+
failedCount?: number | null;
|
|
2947
|
+
error?: string | null;
|
|
2948
|
+
};
|
|
2949
|
+
};
|
|
2784
2950
|
export type ClientQueryVariables = Exact<{
|
|
2785
2951
|
input: ClientInput;
|
|
2786
2952
|
}>;
|
|
@@ -3042,6 +3208,54 @@ export type DeleteBroadcastMutation = {
|
|
|
3042
3208
|
error?: string | null;
|
|
3043
3209
|
};
|
|
3044
3210
|
};
|
|
3211
|
+
export type DeleteClientMutationVariables = Exact<{
|
|
3212
|
+
input: ClientInput;
|
|
3213
|
+
}>;
|
|
3214
|
+
export type DeleteClientMutation = {
|
|
3215
|
+
__typename?: 'Mutation';
|
|
3216
|
+
deleteClient: {
|
|
3217
|
+
__typename?: 'Client';
|
|
3218
|
+
workspaceId: number;
|
|
3219
|
+
id: string;
|
|
3220
|
+
email?: string | null;
|
|
3221
|
+
name?: string | null;
|
|
3222
|
+
surname?: string | null;
|
|
3223
|
+
phone?: string | null;
|
|
3224
|
+
address?: string | null;
|
|
3225
|
+
code?: string | null;
|
|
3226
|
+
city?: string | null;
|
|
3227
|
+
country?: string | null;
|
|
3228
|
+
externalClientId?: string | null;
|
|
3229
|
+
tags?: Array<string> | null;
|
|
3230
|
+
createdAt: any;
|
|
3231
|
+
stageId?: string | null;
|
|
3232
|
+
defaultAgentId?: string | null;
|
|
3233
|
+
};
|
|
3234
|
+
};
|
|
3235
|
+
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
3236
|
+
input: ClientDeleteByExternalIdInput;
|
|
3237
|
+
}>;
|
|
3238
|
+
export type DeleteClientByExternalIdMutation = {
|
|
3239
|
+
__typename?: 'Mutation';
|
|
3240
|
+
deleteClientByExternalId: {
|
|
3241
|
+
__typename?: 'Client';
|
|
3242
|
+
workspaceId: number;
|
|
3243
|
+
id: string;
|
|
3244
|
+
email?: string | null;
|
|
3245
|
+
name?: string | null;
|
|
3246
|
+
surname?: string | null;
|
|
3247
|
+
phone?: string | null;
|
|
3248
|
+
address?: string | null;
|
|
3249
|
+
code?: string | null;
|
|
3250
|
+
city?: string | null;
|
|
3251
|
+
country?: string | null;
|
|
3252
|
+
externalClientId?: string | null;
|
|
3253
|
+
tags?: Array<string> | null;
|
|
3254
|
+
createdAt: any;
|
|
3255
|
+
stageId?: string | null;
|
|
3256
|
+
defaultAgentId?: string | null;
|
|
3257
|
+
};
|
|
3258
|
+
};
|
|
3045
3259
|
export type EndConvMutationVariables = Exact<{
|
|
3046
3260
|
input: ConvEndInput;
|
|
3047
3261
|
}>;
|
|
@@ -3440,6 +3654,54 @@ export type TagsQuery = {
|
|
|
3440
3654
|
}> | null;
|
|
3441
3655
|
};
|
|
3442
3656
|
};
|
|
3657
|
+
export type UndeleteClientMutationVariables = Exact<{
|
|
3658
|
+
input: ClientInput;
|
|
3659
|
+
}>;
|
|
3660
|
+
export type UndeleteClientMutation = {
|
|
3661
|
+
__typename?: 'Mutation';
|
|
3662
|
+
undeleteClient: {
|
|
3663
|
+
__typename?: 'Client';
|
|
3664
|
+
workspaceId: number;
|
|
3665
|
+
id: string;
|
|
3666
|
+
email?: string | null;
|
|
3667
|
+
name?: string | null;
|
|
3668
|
+
surname?: string | null;
|
|
3669
|
+
phone?: string | null;
|
|
3670
|
+
address?: string | null;
|
|
3671
|
+
code?: string | null;
|
|
3672
|
+
city?: string | null;
|
|
3673
|
+
country?: string | null;
|
|
3674
|
+
externalClientId?: string | null;
|
|
3675
|
+
tags?: Array<string> | null;
|
|
3676
|
+
createdAt: any;
|
|
3677
|
+
stageId?: string | null;
|
|
3678
|
+
defaultAgentId?: string | null;
|
|
3679
|
+
};
|
|
3680
|
+
};
|
|
3681
|
+
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
3682
|
+
input: ClientDeleteByExternalIdInput;
|
|
3683
|
+
}>;
|
|
3684
|
+
export type UndeleteClientByExternalIdMutation = {
|
|
3685
|
+
__typename?: 'Mutation';
|
|
3686
|
+
undeleteClientByExternalId: {
|
|
3687
|
+
__typename?: 'Client';
|
|
3688
|
+
workspaceId: number;
|
|
3689
|
+
id: string;
|
|
3690
|
+
email?: string | null;
|
|
3691
|
+
name?: string | null;
|
|
3692
|
+
surname?: string | null;
|
|
3693
|
+
phone?: string | null;
|
|
3694
|
+
address?: string | null;
|
|
3695
|
+
code?: string | null;
|
|
3696
|
+
city?: string | null;
|
|
3697
|
+
country?: string | null;
|
|
3698
|
+
externalClientId?: string | null;
|
|
3699
|
+
tags?: Array<string> | null;
|
|
3700
|
+
createdAt: any;
|
|
3701
|
+
stageId?: string | null;
|
|
3702
|
+
defaultAgentId?: string | null;
|
|
3703
|
+
};
|
|
3704
|
+
};
|
|
3443
3705
|
export type UntagClientMutationVariables = Exact<{
|
|
3444
3706
|
input: ClientTagInput;
|
|
3445
3707
|
}>;
|
|
@@ -4062,6 +4324,93 @@ export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
|
|
|
4062
4324
|
input: SourcesInput;
|
|
4063
4325
|
}>;
|
|
4064
4326
|
};
|
|
4327
|
+
export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
|
|
4328
|
+
/**
|
|
4329
|
+
* __useTokenUsageLogsQuery__
|
|
4330
|
+
*
|
|
4331
|
+
* To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
|
|
4332
|
+
* When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4333
|
+
* you can use to render your UI.
|
|
4334
|
+
*
|
|
4335
|
+
* @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;
|
|
4336
|
+
*
|
|
4337
|
+
* @example
|
|
4338
|
+
* const { data, loading, error } = useTokenUsageLogsQuery({
|
|
4339
|
+
* variables: {
|
|
4340
|
+
* input: // value for 'input'
|
|
4341
|
+
* pageInfo: // value for 'pageInfo'
|
|
4342
|
+
* },
|
|
4343
|
+
* });
|
|
4344
|
+
*/
|
|
4345
|
+
export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
|
|
4346
|
+
variables: TokenUsageLogsQueryVariables;
|
|
4347
|
+
skip?: boolean;
|
|
4348
|
+
} | {
|
|
4349
|
+
skip: boolean;
|
|
4350
|
+
})): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
|
|
4351
|
+
input: TokenUsageLogsInput;
|
|
4352
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4353
|
+
}>>;
|
|
4354
|
+
export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
|
|
4355
|
+
input: TokenUsageLogsInput;
|
|
4356
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4357
|
+
}>>;
|
|
4358
|
+
export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
|
|
4359
|
+
input: TokenUsageLogsInput;
|
|
4360
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4361
|
+
}>>;
|
|
4362
|
+
export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
|
|
4363
|
+
export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
|
|
4364
|
+
export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
|
|
4365
|
+
export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
|
|
4366
|
+
export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
|
|
4367
|
+
query: Apollo.DocumentNode;
|
|
4368
|
+
variables: Exact<{
|
|
4369
|
+
input: TokenUsageLogsInput;
|
|
4370
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4371
|
+
}>;
|
|
4372
|
+
};
|
|
4373
|
+
export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
|
|
4374
|
+
/**
|
|
4375
|
+
* __useTokenUsageTotalQuery__
|
|
4376
|
+
*
|
|
4377
|
+
* To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
|
|
4378
|
+
* When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4379
|
+
* you can use to render your UI.
|
|
4380
|
+
*
|
|
4381
|
+
* @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;
|
|
4382
|
+
*
|
|
4383
|
+
* @example
|
|
4384
|
+
* const { data, loading, error } = useTokenUsageTotalQuery({
|
|
4385
|
+
* variables: {
|
|
4386
|
+
* input: // value for 'input'
|
|
4387
|
+
* },
|
|
4388
|
+
* });
|
|
4389
|
+
*/
|
|
4390
|
+
export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
|
|
4391
|
+
variables: TokenUsageTotalQueryVariables;
|
|
4392
|
+
skip?: boolean;
|
|
4393
|
+
} | {
|
|
4394
|
+
skip: boolean;
|
|
4395
|
+
})): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
|
|
4396
|
+
input: TokenUsageTotalInput;
|
|
4397
|
+
}>>;
|
|
4398
|
+
export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
|
|
4399
|
+
input: TokenUsageTotalInput;
|
|
4400
|
+
}>>;
|
|
4401
|
+
export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
|
|
4402
|
+
input: TokenUsageTotalInput;
|
|
4403
|
+
}>>;
|
|
4404
|
+
export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
|
|
4405
|
+
export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
|
|
4406
|
+
export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
|
|
4407
|
+
export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
|
|
4408
|
+
export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
|
|
4409
|
+
query: Apollo.DocumentNode;
|
|
4410
|
+
variables: Exact<{
|
|
4411
|
+
input: TokenUsageTotalInput;
|
|
4412
|
+
}>;
|
|
4413
|
+
};
|
|
4065
4414
|
export declare const AssignOwnerDocument: Apollo.DocumentNode;
|
|
4066
4415
|
export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
|
|
4067
4416
|
/**
|
|
@@ -4714,6 +5063,31 @@ export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkI
|
|
|
4714
5063
|
input: BulkImportContactsJobStatusInput;
|
|
4715
5064
|
}>;
|
|
4716
5065
|
};
|
|
5066
|
+
export declare const CancelBroadcastDocument: Apollo.DocumentNode;
|
|
5067
|
+
export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
5068
|
+
/**
|
|
5069
|
+
* __useCancelBroadcastMutation__
|
|
5070
|
+
*
|
|
5071
|
+
* To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5072
|
+
* When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
|
|
5073
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5074
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5075
|
+
*
|
|
5076
|
+
* @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;
|
|
5077
|
+
*
|
|
5078
|
+
* @example
|
|
5079
|
+
* const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
|
|
5080
|
+
* variables: {
|
|
5081
|
+
* input: // value for 'input'
|
|
5082
|
+
* },
|
|
5083
|
+
* });
|
|
5084
|
+
*/
|
|
5085
|
+
export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
|
|
5086
|
+
input: BroadcastCancelInput;
|
|
5087
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5088
|
+
export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
|
|
5089
|
+
export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
|
|
5090
|
+
export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
4717
5091
|
export declare const ClientDocument: Apollo.DocumentNode;
|
|
4718
5092
|
/**
|
|
4719
5093
|
* __useClientQuery__
|
|
@@ -5013,6 +5387,56 @@ export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.Mutation
|
|
|
5013
5387
|
export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
|
|
5014
5388
|
export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
|
|
5015
5389
|
export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
|
|
5390
|
+
export declare const DeleteClientDocument: Apollo.DocumentNode;
|
|
5391
|
+
export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
5392
|
+
/**
|
|
5393
|
+
* __useDeleteClientMutation__
|
|
5394
|
+
*
|
|
5395
|
+
* To run a mutation, you first call `useDeleteClientMutation` within a React component and pass it any options that fit your needs.
|
|
5396
|
+
* When your component renders, `useDeleteClientMutation` returns a tuple that includes:
|
|
5397
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5398
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5399
|
+
*
|
|
5400
|
+
* @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;
|
|
5401
|
+
*
|
|
5402
|
+
* @example
|
|
5403
|
+
* const [deleteClientMutation, { data, loading, error }] = useDeleteClientMutation({
|
|
5404
|
+
* variables: {
|
|
5405
|
+
* input: // value for 'input'
|
|
5406
|
+
* },
|
|
5407
|
+
* });
|
|
5408
|
+
*/
|
|
5409
|
+
export declare function useDeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientMutation, DeleteClientMutationVariables>): Apollo.MutationTuple<DeleteClientMutation, Exact<{
|
|
5410
|
+
input: ClientInput;
|
|
5411
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5412
|
+
export type DeleteClientMutationHookResult = ReturnType<typeof useDeleteClientMutation>;
|
|
5413
|
+
export type DeleteClientMutationResult = Apollo.MutationResult<DeleteClientMutation>;
|
|
5414
|
+
export type DeleteClientMutationOptions = Apollo.BaseMutationOptions<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
5415
|
+
export declare const DeleteClientByExternalIdDocument: Apollo.DocumentNode;
|
|
5416
|
+
export type DeleteClientByExternalIdMutationFn = Apollo.MutationFunction<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
5417
|
+
/**
|
|
5418
|
+
* __useDeleteClientByExternalIdMutation__
|
|
5419
|
+
*
|
|
5420
|
+
* To run a mutation, you first call `useDeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
|
|
5421
|
+
* When your component renders, `useDeleteClientByExternalIdMutation` returns a tuple that includes:
|
|
5422
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5423
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5424
|
+
*
|
|
5425
|
+
* @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;
|
|
5426
|
+
*
|
|
5427
|
+
* @example
|
|
5428
|
+
* const [deleteClientByExternalIdMutation, { data, loading, error }] = useDeleteClientByExternalIdMutation({
|
|
5429
|
+
* variables: {
|
|
5430
|
+
* input: // value for 'input'
|
|
5431
|
+
* },
|
|
5432
|
+
* });
|
|
5433
|
+
*/
|
|
5434
|
+
export declare function useDeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<DeleteClientByExternalIdMutation, Exact<{
|
|
5435
|
+
input: ClientDeleteByExternalIdInput;
|
|
5436
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5437
|
+
export type DeleteClientByExternalIdMutationHookResult = ReturnType<typeof useDeleteClientByExternalIdMutation>;
|
|
5438
|
+
export type DeleteClientByExternalIdMutationResult = Apollo.MutationResult<DeleteClientByExternalIdMutation>;
|
|
5439
|
+
export type DeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
5016
5440
|
export declare const EndConvDocument: Apollo.DocumentNode;
|
|
5017
5441
|
export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
|
|
5018
5442
|
/**
|
|
@@ -5325,6 +5749,56 @@ export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
|
5325
5749
|
input: TagsInput;
|
|
5326
5750
|
}>;
|
|
5327
5751
|
};
|
|
5752
|
+
export declare const UndeleteClientDocument: Apollo.DocumentNode;
|
|
5753
|
+
export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
5754
|
+
/**
|
|
5755
|
+
* __useUndeleteClientMutation__
|
|
5756
|
+
*
|
|
5757
|
+
* To run a mutation, you first call `useUndeleteClientMutation` within a React component and pass it any options that fit your needs.
|
|
5758
|
+
* When your component renders, `useUndeleteClientMutation` returns a tuple that includes:
|
|
5759
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5760
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5761
|
+
*
|
|
5762
|
+
* @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;
|
|
5763
|
+
*
|
|
5764
|
+
* @example
|
|
5765
|
+
* const [undeleteClientMutation, { data, loading, error }] = useUndeleteClientMutation({
|
|
5766
|
+
* variables: {
|
|
5767
|
+
* input: // value for 'input'
|
|
5768
|
+
* },
|
|
5769
|
+
* });
|
|
5770
|
+
*/
|
|
5771
|
+
export declare function useUndeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<UndeleteClientMutation, UndeleteClientMutationVariables>): Apollo.MutationTuple<UndeleteClientMutation, Exact<{
|
|
5772
|
+
input: ClientInput;
|
|
5773
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5774
|
+
export type UndeleteClientMutationHookResult = ReturnType<typeof useUndeleteClientMutation>;
|
|
5775
|
+
export type UndeleteClientMutationResult = Apollo.MutationResult<UndeleteClientMutation>;
|
|
5776
|
+
export type UndeleteClientMutationOptions = Apollo.BaseMutationOptions<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
5777
|
+
export declare const UndeleteClientByExternalIdDocument: Apollo.DocumentNode;
|
|
5778
|
+
export type UndeleteClientByExternalIdMutationFn = Apollo.MutationFunction<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
|
|
5779
|
+
/**
|
|
5780
|
+
* __useUndeleteClientByExternalIdMutation__
|
|
5781
|
+
*
|
|
5782
|
+
* To run a mutation, you first call `useUndeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
|
|
5783
|
+
* When your component renders, `useUndeleteClientByExternalIdMutation` returns a tuple that includes:
|
|
5784
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5785
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5786
|
+
*
|
|
5787
|
+
* @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;
|
|
5788
|
+
*
|
|
5789
|
+
* @example
|
|
5790
|
+
* const [undeleteClientByExternalIdMutation, { data, loading, error }] = useUndeleteClientByExternalIdMutation({
|
|
5791
|
+
* variables: {
|
|
5792
|
+
* input: // value for 'input'
|
|
5793
|
+
* },
|
|
5794
|
+
* });
|
|
5795
|
+
*/
|
|
5796
|
+
export declare function useUndeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<UndeleteClientByExternalIdMutation, Exact<{
|
|
5797
|
+
input: ClientDeleteByExternalIdInput;
|
|
5798
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5799
|
+
export type UndeleteClientByExternalIdMutationHookResult = ReturnType<typeof useUndeleteClientByExternalIdMutation>;
|
|
5800
|
+
export type UndeleteClientByExternalIdMutationResult = Apollo.MutationResult<UndeleteClientByExternalIdMutation>;
|
|
5801
|
+
export type UndeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
|
|
5328
5802
|
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
5329
5803
|
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
5330
5804
|
/**
|