cf-service-sdk 0.0.69 → 0.0.71
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/dist/generated/graphql.d.ts +600 -1
- package/dist/generated/graphql.js +535 -4
- package/dist/mutations.d.ts +1 -0
- package/dist/mutations.js +9 -1
- package/dist/queries.js +500 -0
- package/dist/sdk.d.ts +2 -1
- package/dist/sdk.js +6 -0
- package/package.json +1 -1
|
@@ -319,6 +319,25 @@ export type AuditLogItemType = {
|
|
|
319
319
|
title: Scalars['String']['output'];
|
|
320
320
|
type: Scalars['String']['output'];
|
|
321
321
|
};
|
|
322
|
+
export type BulkAssignCompanyOwnerMutation = {
|
|
323
|
+
__typename?: 'BulkAssignCompanyOwnerMutation';
|
|
324
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
325
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
326
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
327
|
+
};
|
|
328
|
+
/** Input type for bulk assigning owners to companies */
|
|
329
|
+
export type BulkAssignOwnersInput = {
|
|
330
|
+
/** Optional filter to select companies for bulk owner assignment */
|
|
331
|
+
companyFilter?: InputMaybe<CompanyFilterInput>;
|
|
332
|
+
/** List of company IDs to assign owners to */
|
|
333
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
334
|
+
/** List of user IDs to assign as owners */
|
|
335
|
+
ownerUserIds: Array<InputMaybe<Scalars['ID']['input']>>;
|
|
336
|
+
/** Whether to replace existing owners or add to them */
|
|
337
|
+
replaceExisting?: InputMaybe<Scalars['Boolean']['input']>;
|
|
338
|
+
/** If true, apply the owner assignment to all companies matching the filter */
|
|
339
|
+
selectAllInFilter?: InputMaybe<Scalars['Boolean']['input']>;
|
|
340
|
+
};
|
|
322
341
|
/** BusinessProfileType */
|
|
323
342
|
export type BusinessProfileType = {
|
|
324
343
|
__typename?: 'BusinessProfileType';
|
|
@@ -535,7 +554,7 @@ export type CallReportLogObject = {
|
|
|
535
554
|
productsOfInterest?: Maybe<Scalars['JSONString']['output']>;
|
|
536
555
|
salespersonId?: Maybe<Scalars['Int']['output']>;
|
|
537
556
|
salespersonName?: Maybe<Scalars['String']['output']>;
|
|
538
|
-
/** Source of the call log: 'CallCampaign' or '
|
|
557
|
+
/** Source of the call log: 'CallCampaign', 'CombinedCampaign', or 'CRMNote' */
|
|
539
558
|
source?: Maybe<Scalars['String']['output']>;
|
|
540
559
|
tasks?: Maybe<Array<Maybe<TaskObject>>>;
|
|
541
560
|
timestamp?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -615,6 +634,8 @@ export type CampaignContactItemType = {
|
|
|
615
634
|
lastContactedVia?: Maybe<LastContactedViaType>;
|
|
616
635
|
/** Last name of the contact */
|
|
617
636
|
lastName?: Maybe<Scalars['String']['output']>;
|
|
637
|
+
/** Logs for this contact in the combined campaign */
|
|
638
|
+
logs?: Maybe<Array<Maybe<CombinedCampaignLogObject>>>;
|
|
618
639
|
/** Phone of the contact */
|
|
619
640
|
phone?: Maybe<Scalars['String']['output']>;
|
|
620
641
|
/** Step ID for combined campaign contacts */
|
|
@@ -1321,6 +1342,8 @@ export type CompanyObject = {
|
|
|
1321
1342
|
/** List of all company locations */
|
|
1322
1343
|
locations?: Maybe<Array<Maybe<CompanyLocationType>>>;
|
|
1323
1344
|
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
1345
|
+
/** Mail logs for external emails (placeholder for SDK generation) */
|
|
1346
|
+
mailLogs?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1324
1347
|
/** Indicates if the company is owned by the current user */
|
|
1325
1348
|
ownedByUser?: Maybe<Scalars['Boolean']['output']>;
|
|
1326
1349
|
/** List of company owners */
|
|
@@ -1332,6 +1355,8 @@ export type CompanyObject = {
|
|
|
1332
1355
|
primaryLocation?: Maybe<CompanyLocationType>;
|
|
1333
1356
|
/** List of product metal scores associated with the company */
|
|
1334
1357
|
productMetalScores?: Maybe<Array<Maybe<CompanyProductMetalScoreObject>>>;
|
|
1358
|
+
/** Products sold by the company (placeholder for SDK generation) */
|
|
1359
|
+
productsSold?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1335
1360
|
/** Confidence score for the company's likely to purchase metals */
|
|
1336
1361
|
purchaseMetalConfidence?: Maybe<Scalars['Float']['output']>;
|
|
1337
1362
|
state?: Maybe<Scalars['String']['output']>;
|
|
@@ -2061,6 +2086,7 @@ export type Mutation = {
|
|
|
2061
2086
|
addContactsToSegment?: Maybe<AddContactsToSegment>;
|
|
2062
2087
|
addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
|
|
2063
2088
|
addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
|
|
2089
|
+
bulkAssignCompanyOwners?: Maybe<BulkAssignCompanyOwnerMutation>;
|
|
2064
2090
|
cancelCampaign?: Maybe<CancelCampaign>;
|
|
2065
2091
|
/** Cancel a combined campaign */
|
|
2066
2092
|
cancelCombinedCampaign?: Maybe<CancelCombinedCampaign>;
|
|
@@ -2226,6 +2252,10 @@ export type MutationAddSegmentToCampaignArgs = {
|
|
|
2226
2252
|
segmentId: Scalars['ID']['input'];
|
|
2227
2253
|
};
|
|
2228
2254
|
/** Mutations */
|
|
2255
|
+
export type MutationBulkAssignCompanyOwnersArgs = {
|
|
2256
|
+
input?: InputMaybe<BulkAssignOwnersInput>;
|
|
2257
|
+
};
|
|
2258
|
+
/** Mutations */
|
|
2229
2259
|
export type MutationCancelCampaignArgs = {
|
|
2230
2260
|
id: Scalars['ID']['input'];
|
|
2231
2261
|
};
|
|
@@ -4024,6 +4054,18 @@ export type AddSegmentToCampaignMutation = {
|
|
|
4024
4054
|
} | null;
|
|
4025
4055
|
} | null;
|
|
4026
4056
|
};
|
|
4057
|
+
export type BulkAssignCompanyOwnersMutationVariables = Exact<{
|
|
4058
|
+
input?: InputMaybe<BulkAssignOwnersInput>;
|
|
4059
|
+
}>;
|
|
4060
|
+
export type BulkAssignCompanyOwnersMutation = {
|
|
4061
|
+
__typename?: 'Mutation';
|
|
4062
|
+
bulkAssignCompanyOwners?: {
|
|
4063
|
+
__typename?: 'BulkAssignCompanyOwnerMutation';
|
|
4064
|
+
success?: boolean | null;
|
|
4065
|
+
message?: string | null;
|
|
4066
|
+
error?: string | null;
|
|
4067
|
+
} | null;
|
|
4068
|
+
};
|
|
4027
4069
|
export type CancelCampaignMutationVariables = Exact<{
|
|
4028
4070
|
id: Scalars['ID']['input'];
|
|
4029
4071
|
}>;
|
|
@@ -19856,6 +19898,272 @@ export type CampaignContactsQuery = {
|
|
|
19856
19898
|
picture?: string | null;
|
|
19857
19899
|
} | null;
|
|
19858
19900
|
} | null> | null;
|
|
19901
|
+
logs?: Array<{
|
|
19902
|
+
__typename?: 'CombinedCampaignLogObject';
|
|
19903
|
+
id?: string | null;
|
|
19904
|
+
uuid?: string | null;
|
|
19905
|
+
contact?: string | null;
|
|
19906
|
+
status?: string | null;
|
|
19907
|
+
scheduledFor?: any | null;
|
|
19908
|
+
startedAt?: any | null;
|
|
19909
|
+
completedAt?: any | null;
|
|
19910
|
+
outcome?: string | null;
|
|
19911
|
+
notes?: string | null;
|
|
19912
|
+
currentSupplier?: string | null;
|
|
19913
|
+
productsOfInterest?: any | null;
|
|
19914
|
+
businessOpportunities?: any | null;
|
|
19915
|
+
businessSize?: string | null;
|
|
19916
|
+
businessRevenue?: string | null;
|
|
19917
|
+
businessEmployees?: number | null;
|
|
19918
|
+
businessLocation?: string | null;
|
|
19919
|
+
businessIndustry?: string | null;
|
|
19920
|
+
metadata?: any | null;
|
|
19921
|
+
errorMessage?: string | null;
|
|
19922
|
+
attempts?: number | null;
|
|
19923
|
+
lastAttemptAt?: any | null;
|
|
19924
|
+
contactLogId?: string | null;
|
|
19925
|
+
taskId?: string | null;
|
|
19926
|
+
draftSubject?: string | null;
|
|
19927
|
+
draftBody?: string | null;
|
|
19928
|
+
createdAt?: any | null;
|
|
19929
|
+
updatedAt?: any | null;
|
|
19930
|
+
contactName?: string | null;
|
|
19931
|
+
contactEmail?: string | null;
|
|
19932
|
+
companyName?: string | null;
|
|
19933
|
+
campaign?: {
|
|
19934
|
+
__typename?: 'CombinedCampaignObject';
|
|
19935
|
+
id?: string | null;
|
|
19936
|
+
uuid?: string | null;
|
|
19937
|
+
name?: string | null;
|
|
19938
|
+
description?: string | null;
|
|
19939
|
+
status?: string | null;
|
|
19940
|
+
scheduledFor?: any | null;
|
|
19941
|
+
startedAt?: any | null;
|
|
19942
|
+
completedAt?: any | null;
|
|
19943
|
+
cancelledAt?: any | null;
|
|
19944
|
+
pausedAt?: any | null;
|
|
19945
|
+
settings?: any | null;
|
|
19946
|
+
totalContacts?: number | null;
|
|
19947
|
+
completedContacts?: number | null;
|
|
19948
|
+
lastActivity?: any | null;
|
|
19949
|
+
stepsPreview?: any | null;
|
|
19950
|
+
createdAt?: any | null;
|
|
19951
|
+
updatedAt?: any | null;
|
|
19952
|
+
steps?: Array<{
|
|
19953
|
+
__typename?: 'CombinedCampaignStepObject';
|
|
19954
|
+
id?: string | null;
|
|
19955
|
+
uuid?: string | null;
|
|
19956
|
+
order?: number | null;
|
|
19957
|
+
stepType?: string | null;
|
|
19958
|
+
status?: string | null;
|
|
19959
|
+
subject?: string | null;
|
|
19960
|
+
template?: string | null;
|
|
19961
|
+
taskTitle?: string | null;
|
|
19962
|
+
taskDescription?: string | null;
|
|
19963
|
+
taskCategory?: string | null;
|
|
19964
|
+
taskPriority?: string | null;
|
|
19965
|
+
delay?: number | null;
|
|
19966
|
+
delayUnit?: string | null;
|
|
19967
|
+
condition?: string | null;
|
|
19968
|
+
useBusinessDays?: boolean | null;
|
|
19969
|
+
settings?: any | null;
|
|
19970
|
+
createdAt?: any | null;
|
|
19971
|
+
updatedAt?: any | null;
|
|
19972
|
+
} | null> | null;
|
|
19973
|
+
segments?: Array<{
|
|
19974
|
+
__typename?: 'SegmentObject';
|
|
19975
|
+
id?: string | null;
|
|
19976
|
+
name?: string | null;
|
|
19977
|
+
description?: string | null;
|
|
19978
|
+
state?: string | null;
|
|
19979
|
+
industry?: string | null;
|
|
19980
|
+
metalType?: string | null;
|
|
19981
|
+
productCategory?: string | null;
|
|
19982
|
+
segmentType?: string | null;
|
|
19983
|
+
createdAt?: any | null;
|
|
19984
|
+
updatedAt?: any | null;
|
|
19985
|
+
isSystemTemplate?: boolean | null;
|
|
19986
|
+
totalContacts?: number | null;
|
|
19987
|
+
status?: string | null;
|
|
19988
|
+
} | null> | null;
|
|
19989
|
+
stepStats?: Array<{
|
|
19990
|
+
__typename?: 'CombinedCampaignStepStatsObject';
|
|
19991
|
+
stepId?: string | null;
|
|
19992
|
+
stepOrder?: number | null;
|
|
19993
|
+
stepType?: string | null;
|
|
19994
|
+
completed?: number | null;
|
|
19995
|
+
skipped?: number | null;
|
|
19996
|
+
total?: number | null;
|
|
19997
|
+
completionRate?: number | null;
|
|
19998
|
+
} | null> | null;
|
|
19999
|
+
} | null;
|
|
20000
|
+
step?: {
|
|
20001
|
+
__typename?: 'CombinedCampaignStepObject';
|
|
20002
|
+
id?: string | null;
|
|
20003
|
+
uuid?: string | null;
|
|
20004
|
+
order?: number | null;
|
|
20005
|
+
stepType?: string | null;
|
|
20006
|
+
status?: string | null;
|
|
20007
|
+
subject?: string | null;
|
|
20008
|
+
template?: string | null;
|
|
20009
|
+
taskTitle?: string | null;
|
|
20010
|
+
taskDescription?: string | null;
|
|
20011
|
+
taskCategory?: string | null;
|
|
20012
|
+
taskPriority?: string | null;
|
|
20013
|
+
delay?: number | null;
|
|
20014
|
+
delayUnit?: string | null;
|
|
20015
|
+
condition?: string | null;
|
|
20016
|
+
useBusinessDays?: boolean | null;
|
|
20017
|
+
settings?: any | null;
|
|
20018
|
+
createdAt?: any | null;
|
|
20019
|
+
updatedAt?: any | null;
|
|
20020
|
+
} | null;
|
|
20021
|
+
tasks?: Array<{
|
|
20022
|
+
__typename?: 'TaskObject';
|
|
20023
|
+
id?: number | null;
|
|
20024
|
+
title?: string | null;
|
|
20025
|
+
category?: string | null;
|
|
20026
|
+
description?: string | null;
|
|
20027
|
+
dueDate?: any | null;
|
|
20028
|
+
priority?: string | null;
|
|
20029
|
+
reminderType?: string | null;
|
|
20030
|
+
status?: string | null;
|
|
20031
|
+
completedAt?: any | null;
|
|
20032
|
+
createdAt?: any | null;
|
|
20033
|
+
updatedAt?: any | null;
|
|
20034
|
+
companyId?: number | null;
|
|
20035
|
+
companyName?: string | null;
|
|
20036
|
+
contactId?: number | null;
|
|
20037
|
+
contactName?: string | null;
|
|
20038
|
+
overdue?: boolean | null;
|
|
20039
|
+
assignedTo?: {
|
|
20040
|
+
__typename?: 'UserType';
|
|
20041
|
+
id?: string | null;
|
|
20042
|
+
email?: string | null;
|
|
20043
|
+
firstName?: string | null;
|
|
20044
|
+
lastName?: string | null;
|
|
20045
|
+
picture?: string | null;
|
|
20046
|
+
} | null;
|
|
20047
|
+
callCampaign?: {
|
|
20048
|
+
__typename?: 'CallCampaignObject';
|
|
20049
|
+
id?: string | null;
|
|
20050
|
+
createdAt?: any | null;
|
|
20051
|
+
updatedAt?: any | null;
|
|
20052
|
+
name?: string | null;
|
|
20053
|
+
description?: string | null;
|
|
20054
|
+
status?: string | null;
|
|
20055
|
+
contacts?: number | null;
|
|
20056
|
+
called?: number | null;
|
|
20057
|
+
connected?: number | null;
|
|
20058
|
+
lastActivity?: any | null;
|
|
20059
|
+
user?: {
|
|
20060
|
+
__typename?: 'UserType';
|
|
20061
|
+
id?: string | null;
|
|
20062
|
+
email?: string | null;
|
|
20063
|
+
firstName?: string | null;
|
|
20064
|
+
lastName?: string | null;
|
|
20065
|
+
picture?: string | null;
|
|
20066
|
+
} | null;
|
|
20067
|
+
account?: {
|
|
20068
|
+
__typename?: 'AccountType';
|
|
20069
|
+
id?: string | null;
|
|
20070
|
+
name?: string | null;
|
|
20071
|
+
isActive?: boolean | null;
|
|
20072
|
+
createdAt?: any | null;
|
|
20073
|
+
updatedAt?: any | null;
|
|
20074
|
+
} | null;
|
|
20075
|
+
segments?: Array<{
|
|
20076
|
+
__typename?: 'SegmentObject';
|
|
20077
|
+
id?: string | null;
|
|
20078
|
+
name?: string | null;
|
|
20079
|
+
description?: string | null;
|
|
20080
|
+
state?: string | null;
|
|
20081
|
+
industry?: string | null;
|
|
20082
|
+
metalType?: string | null;
|
|
20083
|
+
productCategory?: string | null;
|
|
20084
|
+
segmentType?: string | null;
|
|
20085
|
+
createdAt?: any | null;
|
|
20086
|
+
updatedAt?: any | null;
|
|
20087
|
+
isSystemTemplate?: boolean | null;
|
|
20088
|
+
totalContacts?: number | null;
|
|
20089
|
+
status?: string | null;
|
|
20090
|
+
} | null> | null;
|
|
20091
|
+
stats?: {
|
|
20092
|
+
__typename?: 'CallCampaignStatsObject';
|
|
20093
|
+
totalContacts?: number | null;
|
|
20094
|
+
calledCount?: number | null;
|
|
20095
|
+
connectedCount?: number | null;
|
|
20096
|
+
remainingCount?: number | null;
|
|
20097
|
+
lastActivity?: any | null;
|
|
20098
|
+
statusCounts?: any | null;
|
|
20099
|
+
} | null;
|
|
20100
|
+
} | null;
|
|
20101
|
+
callCampaignLog?: {
|
|
20102
|
+
__typename?: 'CallCampaignLogObject';
|
|
20103
|
+
id?: string | null;
|
|
20104
|
+
status?: string | null;
|
|
20105
|
+
outcome?: string | null;
|
|
20106
|
+
lastCalled?: any | null;
|
|
20107
|
+
notes?: string | null;
|
|
20108
|
+
businessSize?: string | null;
|
|
20109
|
+
businessRevenue?: string | null;
|
|
20110
|
+
businessEmployees?: number | null;
|
|
20111
|
+
businessLocation?: string | null;
|
|
20112
|
+
businessIndustry?: string | null;
|
|
20113
|
+
createdAt?: any | null;
|
|
20114
|
+
updatedAt?: any | null;
|
|
20115
|
+
metadata?: any | null;
|
|
20116
|
+
productsOfInterest?: any | null;
|
|
20117
|
+
businessOpportunities?: any | null;
|
|
20118
|
+
currentSupplier?: string | null;
|
|
20119
|
+
campaignId?: string | null;
|
|
20120
|
+
campaignName?: string | null;
|
|
20121
|
+
segmentId?: number | null;
|
|
20122
|
+
segmentName?: string | null;
|
|
20123
|
+
contactId?: number | null;
|
|
20124
|
+
contactName?: string | null;
|
|
20125
|
+
userId?: number | null;
|
|
20126
|
+
userName?: string | null;
|
|
20127
|
+
accountId?: number | null;
|
|
20128
|
+
} | null;
|
|
20129
|
+
companyNote?: {
|
|
20130
|
+
__typename?: 'CompanyNoteObject';
|
|
20131
|
+
id?: string | null;
|
|
20132
|
+
accountId?: number | null;
|
|
20133
|
+
contactPersonId?: number | null;
|
|
20134
|
+
contactPersonName?: string | null;
|
|
20135
|
+
date?: any | null;
|
|
20136
|
+
noteType?: string | null;
|
|
20137
|
+
duration?: string | null;
|
|
20138
|
+
competitorsMentioned?: string | null;
|
|
20139
|
+
notes?: string | null;
|
|
20140
|
+
summary?: string | null;
|
|
20141
|
+
setReminder?: boolean | null;
|
|
20142
|
+
pinned?: boolean | null;
|
|
20143
|
+
followUpDate?: any | null;
|
|
20144
|
+
followUpAction?: string | null;
|
|
20145
|
+
createdAt?: any | null;
|
|
20146
|
+
updatedAt?: any | null;
|
|
20147
|
+
companyId?: number | null;
|
|
20148
|
+
companyName?: string | null;
|
|
20149
|
+
userId?: number | null;
|
|
20150
|
+
userFirstName?: string | null;
|
|
20151
|
+
userLastName?: string | null;
|
|
20152
|
+
callCampaignLogId?: number | null;
|
|
20153
|
+
callCampaignName?: string | null;
|
|
20154
|
+
callCampaignId?: number | null;
|
|
20155
|
+
callCampaignLogOutcome?: string | null;
|
|
20156
|
+
} | null;
|
|
20157
|
+
createdBy?: {
|
|
20158
|
+
__typename?: 'UserType';
|
|
20159
|
+
id?: string | null;
|
|
20160
|
+
email?: string | null;
|
|
20161
|
+
firstName?: string | null;
|
|
20162
|
+
lastName?: string | null;
|
|
20163
|
+
picture?: string | null;
|
|
20164
|
+
} | null;
|
|
20165
|
+
} | null> | null;
|
|
20166
|
+
} | null> | null;
|
|
19859
20167
|
} | null> | null;
|
|
19860
20168
|
pagination?: {
|
|
19861
20169
|
__typename?: 'PaginationInfo';
|
|
@@ -20417,6 +20725,272 @@ export type CombinedCampaignContactsQuery = {
|
|
|
20417
20725
|
picture?: string | null;
|
|
20418
20726
|
} | null;
|
|
20419
20727
|
} | null> | null;
|
|
20728
|
+
logs?: Array<{
|
|
20729
|
+
__typename?: 'CombinedCampaignLogObject';
|
|
20730
|
+
id?: string | null;
|
|
20731
|
+
uuid?: string | null;
|
|
20732
|
+
contact?: string | null;
|
|
20733
|
+
status?: string | null;
|
|
20734
|
+
scheduledFor?: any | null;
|
|
20735
|
+
startedAt?: any | null;
|
|
20736
|
+
completedAt?: any | null;
|
|
20737
|
+
outcome?: string | null;
|
|
20738
|
+
notes?: string | null;
|
|
20739
|
+
currentSupplier?: string | null;
|
|
20740
|
+
productsOfInterest?: any | null;
|
|
20741
|
+
businessOpportunities?: any | null;
|
|
20742
|
+
businessSize?: string | null;
|
|
20743
|
+
businessRevenue?: string | null;
|
|
20744
|
+
businessEmployees?: number | null;
|
|
20745
|
+
businessLocation?: string | null;
|
|
20746
|
+
businessIndustry?: string | null;
|
|
20747
|
+
metadata?: any | null;
|
|
20748
|
+
errorMessage?: string | null;
|
|
20749
|
+
attempts?: number | null;
|
|
20750
|
+
lastAttemptAt?: any | null;
|
|
20751
|
+
contactLogId?: string | null;
|
|
20752
|
+
taskId?: string | null;
|
|
20753
|
+
draftSubject?: string | null;
|
|
20754
|
+
draftBody?: string | null;
|
|
20755
|
+
createdAt?: any | null;
|
|
20756
|
+
updatedAt?: any | null;
|
|
20757
|
+
contactName?: string | null;
|
|
20758
|
+
contactEmail?: string | null;
|
|
20759
|
+
companyName?: string | null;
|
|
20760
|
+
campaign?: {
|
|
20761
|
+
__typename?: 'CombinedCampaignObject';
|
|
20762
|
+
id?: string | null;
|
|
20763
|
+
uuid?: string | null;
|
|
20764
|
+
name?: string | null;
|
|
20765
|
+
description?: string | null;
|
|
20766
|
+
status?: string | null;
|
|
20767
|
+
scheduledFor?: any | null;
|
|
20768
|
+
startedAt?: any | null;
|
|
20769
|
+
completedAt?: any | null;
|
|
20770
|
+
cancelledAt?: any | null;
|
|
20771
|
+
pausedAt?: any | null;
|
|
20772
|
+
settings?: any | null;
|
|
20773
|
+
totalContacts?: number | null;
|
|
20774
|
+
completedContacts?: number | null;
|
|
20775
|
+
lastActivity?: any | null;
|
|
20776
|
+
stepsPreview?: any | null;
|
|
20777
|
+
createdAt?: any | null;
|
|
20778
|
+
updatedAt?: any | null;
|
|
20779
|
+
steps?: Array<{
|
|
20780
|
+
__typename?: 'CombinedCampaignStepObject';
|
|
20781
|
+
id?: string | null;
|
|
20782
|
+
uuid?: string | null;
|
|
20783
|
+
order?: number | null;
|
|
20784
|
+
stepType?: string | null;
|
|
20785
|
+
status?: string | null;
|
|
20786
|
+
subject?: string | null;
|
|
20787
|
+
template?: string | null;
|
|
20788
|
+
taskTitle?: string | null;
|
|
20789
|
+
taskDescription?: string | null;
|
|
20790
|
+
taskCategory?: string | null;
|
|
20791
|
+
taskPriority?: string | null;
|
|
20792
|
+
delay?: number | null;
|
|
20793
|
+
delayUnit?: string | null;
|
|
20794
|
+
condition?: string | null;
|
|
20795
|
+
useBusinessDays?: boolean | null;
|
|
20796
|
+
settings?: any | null;
|
|
20797
|
+
createdAt?: any | null;
|
|
20798
|
+
updatedAt?: any | null;
|
|
20799
|
+
} | null> | null;
|
|
20800
|
+
segments?: Array<{
|
|
20801
|
+
__typename?: 'SegmentObject';
|
|
20802
|
+
id?: string | null;
|
|
20803
|
+
name?: string | null;
|
|
20804
|
+
description?: string | null;
|
|
20805
|
+
state?: string | null;
|
|
20806
|
+
industry?: string | null;
|
|
20807
|
+
metalType?: string | null;
|
|
20808
|
+
productCategory?: string | null;
|
|
20809
|
+
segmentType?: string | null;
|
|
20810
|
+
createdAt?: any | null;
|
|
20811
|
+
updatedAt?: any | null;
|
|
20812
|
+
isSystemTemplate?: boolean | null;
|
|
20813
|
+
totalContacts?: number | null;
|
|
20814
|
+
status?: string | null;
|
|
20815
|
+
} | null> | null;
|
|
20816
|
+
stepStats?: Array<{
|
|
20817
|
+
__typename?: 'CombinedCampaignStepStatsObject';
|
|
20818
|
+
stepId?: string | null;
|
|
20819
|
+
stepOrder?: number | null;
|
|
20820
|
+
stepType?: string | null;
|
|
20821
|
+
completed?: number | null;
|
|
20822
|
+
skipped?: number | null;
|
|
20823
|
+
total?: number | null;
|
|
20824
|
+
completionRate?: number | null;
|
|
20825
|
+
} | null> | null;
|
|
20826
|
+
} | null;
|
|
20827
|
+
step?: {
|
|
20828
|
+
__typename?: 'CombinedCampaignStepObject';
|
|
20829
|
+
id?: string | null;
|
|
20830
|
+
uuid?: string | null;
|
|
20831
|
+
order?: number | null;
|
|
20832
|
+
stepType?: string | null;
|
|
20833
|
+
status?: string | null;
|
|
20834
|
+
subject?: string | null;
|
|
20835
|
+
template?: string | null;
|
|
20836
|
+
taskTitle?: string | null;
|
|
20837
|
+
taskDescription?: string | null;
|
|
20838
|
+
taskCategory?: string | null;
|
|
20839
|
+
taskPriority?: string | null;
|
|
20840
|
+
delay?: number | null;
|
|
20841
|
+
delayUnit?: string | null;
|
|
20842
|
+
condition?: string | null;
|
|
20843
|
+
useBusinessDays?: boolean | null;
|
|
20844
|
+
settings?: any | null;
|
|
20845
|
+
createdAt?: any | null;
|
|
20846
|
+
updatedAt?: any | null;
|
|
20847
|
+
} | null;
|
|
20848
|
+
tasks?: Array<{
|
|
20849
|
+
__typename?: 'TaskObject';
|
|
20850
|
+
id?: number | null;
|
|
20851
|
+
title?: string | null;
|
|
20852
|
+
category?: string | null;
|
|
20853
|
+
description?: string | null;
|
|
20854
|
+
dueDate?: any | null;
|
|
20855
|
+
priority?: string | null;
|
|
20856
|
+
reminderType?: string | null;
|
|
20857
|
+
status?: string | null;
|
|
20858
|
+
completedAt?: any | null;
|
|
20859
|
+
createdAt?: any | null;
|
|
20860
|
+
updatedAt?: any | null;
|
|
20861
|
+
companyId?: number | null;
|
|
20862
|
+
companyName?: string | null;
|
|
20863
|
+
contactId?: number | null;
|
|
20864
|
+
contactName?: string | null;
|
|
20865
|
+
overdue?: boolean | null;
|
|
20866
|
+
assignedTo?: {
|
|
20867
|
+
__typename?: 'UserType';
|
|
20868
|
+
id?: string | null;
|
|
20869
|
+
email?: string | null;
|
|
20870
|
+
firstName?: string | null;
|
|
20871
|
+
lastName?: string | null;
|
|
20872
|
+
picture?: string | null;
|
|
20873
|
+
} | null;
|
|
20874
|
+
callCampaign?: {
|
|
20875
|
+
__typename?: 'CallCampaignObject';
|
|
20876
|
+
id?: string | null;
|
|
20877
|
+
createdAt?: any | null;
|
|
20878
|
+
updatedAt?: any | null;
|
|
20879
|
+
name?: string | null;
|
|
20880
|
+
description?: string | null;
|
|
20881
|
+
status?: string | null;
|
|
20882
|
+
contacts?: number | null;
|
|
20883
|
+
called?: number | null;
|
|
20884
|
+
connected?: number | null;
|
|
20885
|
+
lastActivity?: any | null;
|
|
20886
|
+
user?: {
|
|
20887
|
+
__typename?: 'UserType';
|
|
20888
|
+
id?: string | null;
|
|
20889
|
+
email?: string | null;
|
|
20890
|
+
firstName?: string | null;
|
|
20891
|
+
lastName?: string | null;
|
|
20892
|
+
picture?: string | null;
|
|
20893
|
+
} | null;
|
|
20894
|
+
account?: {
|
|
20895
|
+
__typename?: 'AccountType';
|
|
20896
|
+
id?: string | null;
|
|
20897
|
+
name?: string | null;
|
|
20898
|
+
isActive?: boolean | null;
|
|
20899
|
+
createdAt?: any | null;
|
|
20900
|
+
updatedAt?: any | null;
|
|
20901
|
+
} | null;
|
|
20902
|
+
segments?: Array<{
|
|
20903
|
+
__typename?: 'SegmentObject';
|
|
20904
|
+
id?: string | null;
|
|
20905
|
+
name?: string | null;
|
|
20906
|
+
description?: string | null;
|
|
20907
|
+
state?: string | null;
|
|
20908
|
+
industry?: string | null;
|
|
20909
|
+
metalType?: string | null;
|
|
20910
|
+
productCategory?: string | null;
|
|
20911
|
+
segmentType?: string | null;
|
|
20912
|
+
createdAt?: any | null;
|
|
20913
|
+
updatedAt?: any | null;
|
|
20914
|
+
isSystemTemplate?: boolean | null;
|
|
20915
|
+
totalContacts?: number | null;
|
|
20916
|
+
status?: string | null;
|
|
20917
|
+
} | null> | null;
|
|
20918
|
+
stats?: {
|
|
20919
|
+
__typename?: 'CallCampaignStatsObject';
|
|
20920
|
+
totalContacts?: number | null;
|
|
20921
|
+
calledCount?: number | null;
|
|
20922
|
+
connectedCount?: number | null;
|
|
20923
|
+
remainingCount?: number | null;
|
|
20924
|
+
lastActivity?: any | null;
|
|
20925
|
+
statusCounts?: any | null;
|
|
20926
|
+
} | null;
|
|
20927
|
+
} | null;
|
|
20928
|
+
callCampaignLog?: {
|
|
20929
|
+
__typename?: 'CallCampaignLogObject';
|
|
20930
|
+
id?: string | null;
|
|
20931
|
+
status?: string | null;
|
|
20932
|
+
outcome?: string | null;
|
|
20933
|
+
lastCalled?: any | null;
|
|
20934
|
+
notes?: string | null;
|
|
20935
|
+
businessSize?: string | null;
|
|
20936
|
+
businessRevenue?: string | null;
|
|
20937
|
+
businessEmployees?: number | null;
|
|
20938
|
+
businessLocation?: string | null;
|
|
20939
|
+
businessIndustry?: string | null;
|
|
20940
|
+
createdAt?: any | null;
|
|
20941
|
+
updatedAt?: any | null;
|
|
20942
|
+
metadata?: any | null;
|
|
20943
|
+
productsOfInterest?: any | null;
|
|
20944
|
+
businessOpportunities?: any | null;
|
|
20945
|
+
currentSupplier?: string | null;
|
|
20946
|
+
campaignId?: string | null;
|
|
20947
|
+
campaignName?: string | null;
|
|
20948
|
+
segmentId?: number | null;
|
|
20949
|
+
segmentName?: string | null;
|
|
20950
|
+
contactId?: number | null;
|
|
20951
|
+
contactName?: string | null;
|
|
20952
|
+
userId?: number | null;
|
|
20953
|
+
userName?: string | null;
|
|
20954
|
+
accountId?: number | null;
|
|
20955
|
+
} | null;
|
|
20956
|
+
companyNote?: {
|
|
20957
|
+
__typename?: 'CompanyNoteObject';
|
|
20958
|
+
id?: string | null;
|
|
20959
|
+
accountId?: number | null;
|
|
20960
|
+
contactPersonId?: number | null;
|
|
20961
|
+
contactPersonName?: string | null;
|
|
20962
|
+
date?: any | null;
|
|
20963
|
+
noteType?: string | null;
|
|
20964
|
+
duration?: string | null;
|
|
20965
|
+
competitorsMentioned?: string | null;
|
|
20966
|
+
notes?: string | null;
|
|
20967
|
+
summary?: string | null;
|
|
20968
|
+
setReminder?: boolean | null;
|
|
20969
|
+
pinned?: boolean | null;
|
|
20970
|
+
followUpDate?: any | null;
|
|
20971
|
+
followUpAction?: string | null;
|
|
20972
|
+
createdAt?: any | null;
|
|
20973
|
+
updatedAt?: any | null;
|
|
20974
|
+
companyId?: number | null;
|
|
20975
|
+
companyName?: string | null;
|
|
20976
|
+
userId?: number | null;
|
|
20977
|
+
userFirstName?: string | null;
|
|
20978
|
+
userLastName?: string | null;
|
|
20979
|
+
callCampaignLogId?: number | null;
|
|
20980
|
+
callCampaignName?: string | null;
|
|
20981
|
+
callCampaignId?: number | null;
|
|
20982
|
+
callCampaignLogOutcome?: string | null;
|
|
20983
|
+
} | null;
|
|
20984
|
+
createdBy?: {
|
|
20985
|
+
__typename?: 'UserType';
|
|
20986
|
+
id?: string | null;
|
|
20987
|
+
email?: string | null;
|
|
20988
|
+
firstName?: string | null;
|
|
20989
|
+
lastName?: string | null;
|
|
20990
|
+
picture?: string | null;
|
|
20991
|
+
} | null;
|
|
20992
|
+
} | null> | null;
|
|
20993
|
+
} | null> | null;
|
|
20420
20994
|
} | null> | null;
|
|
20421
20995
|
pagination?: {
|
|
20422
20996
|
__typename?: 'PaginationInfo';
|
|
@@ -32883,6 +33457,31 @@ export declare function useAddSegmentToCampaignMutation(baseOptions?: Apollo.Mut
|
|
|
32883
33457
|
export type AddSegmentToCampaignMutationHookResult = ReturnType<typeof useAddSegmentToCampaignMutation>;
|
|
32884
33458
|
export type AddSegmentToCampaignMutationResult = Apollo.MutationResult<AddSegmentToCampaignMutation>;
|
|
32885
33459
|
export type AddSegmentToCampaignMutationOptions = Apollo.BaseMutationOptions<AddSegmentToCampaignMutation, AddSegmentToCampaignMutationVariables>;
|
|
33460
|
+
export declare const BulkAssignCompanyOwnersDocument: Apollo.DocumentNode;
|
|
33461
|
+
export type BulkAssignCompanyOwnersMutationFn = Apollo.MutationFunction<BulkAssignCompanyOwnersMutation, BulkAssignCompanyOwnersMutationVariables>;
|
|
33462
|
+
/**
|
|
33463
|
+
* __useBulkAssignCompanyOwnersMutation__
|
|
33464
|
+
*
|
|
33465
|
+
* To run a mutation, you first call `useBulkAssignCompanyOwnersMutation` within a React component and pass it any options that fit your needs.
|
|
33466
|
+
* When your component renders, `useBulkAssignCompanyOwnersMutation` returns a tuple that includes:
|
|
33467
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
33468
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
33469
|
+
*
|
|
33470
|
+
* @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;
|
|
33471
|
+
*
|
|
33472
|
+
* @example
|
|
33473
|
+
* const [bulkAssignCompanyOwnersMutation, { data, loading, error }] = useBulkAssignCompanyOwnersMutation({
|
|
33474
|
+
* variables: {
|
|
33475
|
+
* input: // value for 'input'
|
|
33476
|
+
* },
|
|
33477
|
+
* });
|
|
33478
|
+
*/
|
|
33479
|
+
export declare function useBulkAssignCompanyOwnersMutation(baseOptions?: Apollo.MutationHookOptions<BulkAssignCompanyOwnersMutation, BulkAssignCompanyOwnersMutationVariables>): Apollo.MutationTuple<BulkAssignCompanyOwnersMutation, Exact<{
|
|
33480
|
+
input?: InputMaybe<BulkAssignOwnersInput>;
|
|
33481
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
33482
|
+
export type BulkAssignCompanyOwnersMutationHookResult = ReturnType<typeof useBulkAssignCompanyOwnersMutation>;
|
|
33483
|
+
export type BulkAssignCompanyOwnersMutationResult = Apollo.MutationResult<BulkAssignCompanyOwnersMutation>;
|
|
33484
|
+
export type BulkAssignCompanyOwnersMutationOptions = Apollo.BaseMutationOptions<BulkAssignCompanyOwnersMutation, BulkAssignCompanyOwnersMutationVariables>;
|
|
32886
33485
|
export declare const CancelCampaignDocument: Apollo.DocumentNode;
|
|
32887
33486
|
export type CancelCampaignMutationFn = Apollo.MutationFunction<CancelCampaignMutation, CancelCampaignMutationVariables>;
|
|
32888
33487
|
/**
|