cf-service-sdk 0.0.93 → 0.1.0
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 +0 -26
- package/dist/sdk.d.ts +202 -201
- package/package.json +2 -2
|
@@ -42,52 +42,26 @@ export type Scalars = {
|
|
|
42
42
|
input: number;
|
|
43
43
|
output: number;
|
|
44
44
|
};
|
|
45
|
-
/**
|
|
46
|
-
* The `Date` scalar type represents a Date
|
|
47
|
-
* value as specified by
|
|
48
|
-
* [iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
49
|
-
*/
|
|
50
45
|
Date: {
|
|
51
46
|
input: any;
|
|
52
47
|
output: any;
|
|
53
48
|
};
|
|
54
|
-
/**
|
|
55
|
-
* The `DateTime` scalar type represents a DateTime
|
|
56
|
-
* value as specified by
|
|
57
|
-
* [iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
58
|
-
*/
|
|
59
49
|
DateTime: {
|
|
60
50
|
input: any;
|
|
61
51
|
output: any;
|
|
62
52
|
};
|
|
63
|
-
/** The `Decimal` scalar type represents a python Decimal. */
|
|
64
53
|
Decimal: {
|
|
65
54
|
input: any;
|
|
66
55
|
output: any;
|
|
67
56
|
};
|
|
68
|
-
/**
|
|
69
|
-
* The `GenericScalar` scalar type represents a generic
|
|
70
|
-
* GraphQL scalar value that could be:
|
|
71
|
-
* String, Boolean, Int, Float, List or Object.
|
|
72
|
-
*/
|
|
73
57
|
GenericScalar: {
|
|
74
58
|
input: any;
|
|
75
59
|
output: any;
|
|
76
60
|
};
|
|
77
|
-
/**
|
|
78
|
-
* Allows use of a JSON String for input / output from the GraphQL schema.
|
|
79
|
-
*
|
|
80
|
-
* Use of this type is *not recommended* as you lose the benefits of having a defined, static
|
|
81
|
-
* schema (one of the key benefits of GraphQL).
|
|
82
|
-
*/
|
|
83
61
|
JSONString: {
|
|
84
62
|
input: any;
|
|
85
63
|
output: any;
|
|
86
64
|
};
|
|
87
|
-
/**
|
|
88
|
-
* Leverages the internal Python implementation of UUID (uuid.UUID) to provide native UUID objects
|
|
89
|
-
* in fields, resolvers and input.
|
|
90
|
-
*/
|
|
91
65
|
UUID: {
|
|
92
66
|
input: any;
|
|
93
67
|
output: any;
|
package/dist/sdk.d.ts
CHANGED
|
@@ -1,209 +1,210 @@
|
|
|
1
|
+
import { ApolloQueryResult, FetchResult } from "@apollo/client";
|
|
1
2
|
import { CloudForgeClientOptions } from "./client";
|
|
2
|
-
import { AddContactToSupplierListInput, AddCustomContactToSupplierInput, AddSupplierToMySuppliersInput, AddSupplierToSupplierListInput, BulkAssignOwnersInput, CallReportFilterInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanyProfileInput, CompanySortInput, CompleteRfqInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSegmentMutationVariables, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CustomContactInput, EmailCampaignReportFilterInput, EmailToneInput, FileUploadInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MailLogFilterInput, MicrosoftUserInput, MySupplierInput, PaginationInput, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, RemoveContactFromMySupplierInput, RemoveContactFromSupplierListInput, RemoveCustomContactFromSupplierInput, RemoveSupplierFromSupplierListInput, RfqInput, RfqLineItemInput, SaveNylasConnectionMutationVariables, Scalars, ScheduleRfqInput, SegmentFilterInput, SendRfqInput, SendRfqTestEmailInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, SupplierListInput, SupplierSearchFilterInput, SupplierSortInput, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
|
|
3
|
+
import { AcceptInvitationMutation, AccountMembersQuery, AccountProfileQuery, AccountSubscriptionQuery, AddContactToSupplierListInput, AddContactToSupplierListMutation, AddContactsToCampaignMutation, AddContactsToCombinedCampaignMutation, AddContactsToSegmentMutation, AddCustomContactToSupplierInput, AddCustomContactToSupplierListMutation, AddSegmentToCallCampaignMutation, AddSegmentToCampaignMutation, AddSupplierToMySuppliersInput, AddSupplierToMySuppliersMutation, AddSupplierToSupplierListInput, AddSupplierToSupplierListMutation, BulkAssignCompanyOwnersMutation, BulkAssignOwnersInput, BusinessProfileQuery, CallCampaignAnalyticsQuery, CallCampaignLogQuery, CallCampaignLogsQuery, CallCampaignQuery, CallCampaignReportQuery, CallCampaignsQuery, CallReportFilterInput, CampaignAnalyticsQuery, CampaignContactsQuery, CampaignLogsQuery, CampaignQuery, CampaignStatsQuery, CampaignsQuery, CancelCampaignMutation, CancelCombinedCampaignMutation, CancelInvitationMutation, ChangePasswordMutation, ClearAllNotificationsMutation, CombinedCampaignContactsQuery, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignLogsQuery, CombinedCampaignQuery, CombinedCampaignStepInput, CombinedCampaignStepsQuery, CombinedCampaignTemplateInput, CombinedCampaignTemplateQuery, CombinedCampaignTemplatesQuery, CombinedCampaignsQuery, CompaniesQuery, CompanyAudiencesAndCampaignsQuery, CompanyExternalIdentifierQuery, CompanyFilterInput, CompanyMetadataQuery, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteQuery, CompanyNoteSortInput, CompanyNotesQuery, CompanyProfileInput, CompanyQuery, CompanySearchQuery, CompanySortInput, CompleteCampaignMutation, CompleteRfqInput, CompleteRfqMutation, ContactFilterInput, ContactQuery, ContactSortInput, ContactsInSegmentQuery, ContactsQuery, CreateCallCampaignLogMutation, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutation, CreateCallCampaignMutationVariables, CreateCampaignMutation, CreateCampaignMutationVariables, CreateCombinedCampaignMutation, CreateCombinedCampaignTemplateMutation, CreateCompanyMutation, CreateCompanyMutationVariables, CreateCompanyNoteMutation, CreateContactMutation, CreateContactMutationVariables, CreateEmailTemplateMutation, CreateEmailTemplateMutationVariables, CreateMysupplierMutation, CreateNotificationMutation, CreateNotificationMutationVariables, CreateRfqMutation, CreateRfqlineitemMutation, CreateSegmentMutation, CreateSegmentMutationVariables, CreateSupplierlistMutation, CreateTaskMutation, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CrmFunnelReportQuery, CurrentAccountQuery, CurrentPipelineTotalQuery, CustomContactInput, DashboardStatsQuery, DeleteCallCampaignMutation, DeleteCampaignMutation, DeleteCombinedCampaignMutation, DeleteCombinedCampaignTemplateMutation, DeleteCompanyMutation, DeleteCompanyNoteMutation, DeleteContactMutation, DeleteEmailTemplateMutation, DeleteMysupplierMutation, DeleteNotificationMutation, DeleteRfqMutation, DeleteRfqlineitemMutation, DeleteSegmentMutation, DeleteSupplierlistMutation, DeleteTaskMutation, DisconnectNylasIntegrationMutation, EmailCampaignReportByCampaignQuery, EmailCampaignReportFilterInput, EmailCampaignReportOverviewQuery, EmailCampaignReportStatsQuery, EmailTemplateQuery, EmailTemplatesQuery, EmailThreadQuery, EmailThreadsByCompanyQuery, EmailToneInput, EmailToneMutation, EmployeeSizesQuery, FileUploadInput, ForgotPasswordMutation, GenerateNewEmailMutation, HiddenRecordInput, HideRecordMutation, IndustrySectorsQuery, IndustryTypesQuery, InvitationResponseInput, InviteUserInput, InviteUserMutation, LoginMutation, LoginWithGoogleMutation, LoginWithMicrosoftMutation, MailLogFilterInput, MailLogQuery, MailLogsQuery, MarkAllNotificationsAsReadMutation, MarkNotificationAsReadMutation, MetalGradesQuery, MetalTypesQuery, MicrosoftUserInput, MyInvitationsQuery, MySupplierInput, MysupplierListQuery, MysupplierQuery, NotificationQuery, NotificationsQuery, NylasConnectionQuery, PaginationInput, PauseCampaignMutation, PauseCombinedCampaignMutation, PendingInvitationsQuery, PreviewCampaignEmailMutation, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, ProductCategoriesQuery, ProductTypesQuery, RecentHistoryFilterInput, RecentHistoryQuery, RecentHistorySortInput, RecentNotificationsQuery, ReduceSpamInput, ReduceSpamMutation, RejectInvitationMutation, RemoveContactFromMySupplierInput, RemoveContactFromMySupplierMutation, RemoveContactFromSupplierListInput, RemoveContactFromSupplierListMutation, RemoveContactsFromCampaignMutation, RemoveContactsFromCombinedCampaignMutation, RemoveContactsFromSegmentMutation, RemoveCustomContactFromSupplierInput, RemoveCustomContactFromSupplierListMutation, RemoveMemberMutation, RemoveSegmentFromCallCampaignMutation, RemoveSegmentFromCampaignMutation, RemoveSupplierFromSupplierListInput, RemoveSupplierFromSupplierListMutation, ResumeCombinedCampaignMutation, RfqInput, RfqLineItemInput, RfqListQuery, RfqQuery, RfqSuppliersQuery, RfqlineitemListQuery, RfqlineitemQuery, SaveNylasConnectionMutation, SaveNylasConnectionMutationVariables, Scalars, ScheduleCampaignMutation, ScheduleCombinedCampaignMutation, ScheduleRfqInput, ScheduleRfqMutation, SearchContactsQuery, SegmentFilterInput, SegmentQuery, SegmentsQuery, SendEmailToContactMutation, SendEmailToEmailThreadMutation, SendManualEmailMutation, SendRfqInput, SendRfqMutation, SendRfqTestEmailInput, SendRfqTestEmailMutation, SendTestEmailCombinedMutation, SendTestEmailMutation, SetLeadAsNotInterestedInput, SetLeadNotInterestedMutation, SignupInput, SignupMutation, StartCampaignMutation, StartCombinedCampaignMutation, SubmitFeedbackMutation, SubmitFeedbackMutationVariables, SupplierListContactsQuery, SupplierListCustomContactsQuery, SupplierListInput, SupplierQuery, SupplierSearchFilterInput, SupplierSortInput, SupplierlistListQuery, SupplierlistQuery, SuppliersQuery, TaskFilterInput, TaskQuery, TasksQuery, UnhideRecordMutation, UnreadNotificationsCountQuery, UnsubscribeFromEmailsMutation, UpdateCallCampaignLogMutation, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutation, UpdateCallCampaignMutationVariables, UpdateCampaignMutation, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCombinedCampaignLogMutation, UpdateCombinedCampaignLogsMutation, UpdateCombinedCampaignMutation, UpdateCombinedCampaignTemplateMutation, UpdateCompanyExternalIdentifierInput, UpdateCompanyExternalIdentifierMutation, UpdateCompanyMutation, UpdateCompanyMutationVariables, UpdateCompanyNoteMutation, UpdateCompanyProfileMutation, UpdateContactMutation, UpdateContactMutationVariables, UpdateEmailTemplateMutation, UpdateEmailTemplateMutationVariables, UpdateMysupplierMutation, UpdateRfqMutation, UpdateRfqlineitemMutation, UpdateSegmentMutation, UpdateSegmentMutationVariables, UpdateSupplierlistMutation, UpdateTaskMutation, UpdateTaskMutationVariables, UpdateUserProfileMutation, UpdateUserProfileMutationVariables, UploadFileMutation, UsStatesQuery, UserProfileQuery, UserTypeInput, ValidateOtpAndResetPasswordMutation } from "./generated/graphql";
|
|
3
4
|
export declare class CloudForgeSDK {
|
|
4
5
|
private client;
|
|
5
6
|
private apolloClient;
|
|
6
7
|
constructor(options: CloudForgeClientOptions);
|
|
7
8
|
setToken(token: string): void;
|
|
8
9
|
logout(): void;
|
|
9
|
-
executeCustomQuery<T = any>(query: string | any, variables?: Record<string, any>): Promise<
|
|
10
|
-
executeCustomMutation<T = any>(mutation: string | any, variables?: Record<string, any>): Promise<
|
|
11
|
-
acceptInvitation(input: InvitationResponseInput): Promise<
|
|
12
|
-
addContactToSupplierList(input: AddContactToSupplierListInput): Promise<
|
|
13
|
-
addContactsToCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<
|
|
14
|
-
addContactsToCombinedCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<
|
|
15
|
-
addContactsToSegment(contactIds: string[], segmentId: string, processSignals?: boolean): Promise<
|
|
16
|
-
addCustomContactToSupplierList(input: AddCustomContactToSupplierInput): Promise<
|
|
17
|
-
addSegmentToCallCampaign(campaignId: string, segmentId: string): Promise<
|
|
18
|
-
addSegmentToCampaign(campaignId: string, segmentId: string): Promise<
|
|
19
|
-
addSupplierToMySuppliers(input: AddSupplierToMySuppliersInput): Promise<
|
|
20
|
-
addSupplierToSupplierList(input: AddSupplierToSupplierListInput): Promise<
|
|
21
|
-
bulkAssignCompanyOwners(input?: BulkAssignOwnersInput): Promise<
|
|
22
|
-
cancelCampaign(id: string): Promise<
|
|
23
|
-
cancelCombinedCampaign(id: string): Promise<
|
|
24
|
-
cancelInvitation(invitationId: string): Promise<
|
|
25
|
-
changePassword(newPassword: string): Promise<
|
|
26
|
-
clearAllNotifications(): Promise<
|
|
27
|
-
completeCampaign(id: string): Promise<
|
|
28
|
-
completeRfq(input: CompleteRfqInput): Promise<
|
|
29
|
-
createCallCampaign(input: CreateCallCampaignMutationVariables): Promise<
|
|
30
|
-
createCallCampaignLog(input: CreateCallCampaignLogMutationVariables): Promise<
|
|
31
|
-
createCampaign(input: CreateCampaignMutationVariables): Promise<
|
|
32
|
-
createCombinedCampaign(input: CombinedCampaignInput, steps?: CombinedCampaignStepInput[]): Promise<
|
|
33
|
-
createCombinedCampaignTemplate(input: CombinedCampaignTemplateInput): Promise<
|
|
34
|
-
createCompany(input: CreateCompanyMutationVariables): Promise<
|
|
35
|
-
createCompanyNote(input: CompanyNoteInput): Promise<
|
|
36
|
-
createContact(input: CreateContactMutationVariables): Promise<
|
|
37
|
-
createEmailTemplate(input: CreateEmailTemplateMutationVariables): Promise<
|
|
38
|
-
createMysupplier(input: MySupplierInput): Promise<
|
|
39
|
-
createNotification(input: CreateNotificationMutationVariables): Promise<
|
|
40
|
-
createRfq(input: RfqInput): Promise<
|
|
41
|
-
createRfqlineitem(input: RfqLineItemInput): Promise<
|
|
42
|
-
createSegment(input: CreateSegmentMutationVariables): Promise<
|
|
43
|
-
createSupplierlist(input: SupplierListInput): Promise<
|
|
44
|
-
createTask(input: CreateTaskMutationVariables): Promise<
|
|
45
|
-
deleteCallCampaign(id: string): Promise<
|
|
46
|
-
deleteCampaign(id: string): Promise<
|
|
47
|
-
deleteCombinedCampaign(id: string): Promise<
|
|
48
|
-
deleteCombinedCampaignTemplate(uuid: string): Promise<
|
|
49
|
-
deleteCompany(id?: string): Promise<
|
|
50
|
-
deleteCompanyNote(id: string): Promise<
|
|
51
|
-
deleteContact(id?: string): Promise<
|
|
52
|
-
deleteEmailTemplate(uuid: string): Promise<
|
|
53
|
-
deleteMysupplier(id: string): Promise<
|
|
54
|
-
deleteNotification(notificationId: string): Promise<
|
|
55
|
-
deleteRfq(id: string): Promise<
|
|
56
|
-
deleteRfqlineitem(id: string): Promise<
|
|
57
|
-
deleteSegment(id: string): Promise<
|
|
58
|
-
deleteSupplierlist(id: string): Promise<
|
|
59
|
-
deleteTask(id: number): Promise<
|
|
60
|
-
disconnectNylasIntegration(): Promise<
|
|
61
|
-
emailTone(input: EmailToneInput): Promise<
|
|
62
|
-
forgotPassword(email: string): Promise<
|
|
63
|
-
generateNewEmail(prompt: string, variables?: string[]): Promise<
|
|
64
|
-
hideRecord(input: HiddenRecordInput): Promise<
|
|
65
|
-
inviteUser(input: InviteUserInput): Promise<
|
|
66
|
-
login(email: string, password: string): Promise<
|
|
67
|
-
loginWithGoogle(token: string, user?: UserTypeInput): Promise<
|
|
68
|
-
loginWithMicrosoft(accessToken: string, userData?: MicrosoftUserInput): Promise<
|
|
69
|
-
markAllNotificationsAsRead(): Promise<
|
|
70
|
-
markNotificationAsRead(notificationId: string): Promise<
|
|
71
|
-
pauseCampaign(id: string): Promise<
|
|
72
|
-
pauseCombinedCampaign(id: string): Promise<
|
|
73
|
-
previewCampaignEmail(campaignId: string, contactId: string, customSubject?: string, customTemplate?: string): Promise<
|
|
74
|
-
reduceSpam(input: ReduceSpamInput): Promise<
|
|
75
|
-
rejectInvitation(input: InvitationResponseInput): Promise<
|
|
76
|
-
removeContactFromMySupplier(input: RemoveContactFromMySupplierInput): Promise<
|
|
77
|
-
removeContactFromSupplierList(input: RemoveContactFromSupplierListInput): Promise<
|
|
78
|
-
removeContactsFromCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<
|
|
79
|
-
removeContactsFromCombinedCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<
|
|
80
|
-
removeContactsFromSegment(contactIds: string[], segmentId: string): Promise<
|
|
81
|
-
removeCustomContactFromSupplierList(input: RemoveCustomContactFromSupplierInput): Promise<
|
|
82
|
-
removeMember(accountId: string, memberId: string): Promise<
|
|
83
|
-
removeSegmentFromCallCampaign(campaignId: string, segmentId: string): Promise<
|
|
84
|
-
removeSegmentFromCampaign(campaignId: string, segmentId: string): Promise<
|
|
85
|
-
removeSupplierFromSupplierList(input: RemoveSupplierFromSupplierListInput): Promise<
|
|
86
|
-
resumeCombinedCampaign(id: string): Promise<
|
|
87
|
-
saveNylasConnection(input: SaveNylasConnectionMutationVariables): Promise<
|
|
88
|
-
scheduleCampaign(id: string, scheduledFor: string): Promise<
|
|
89
|
-
scheduleCombinedCampaign(id: string, scheduledFor: string): Promise<
|
|
90
|
-
scheduleRfq(input: ScheduleRfqInput): Promise<
|
|
91
|
-
sendEmailToContact(contactId: string, subject: string, template: string, campaignId?: string, fileAttachments?: Scalars['JSONString']['input'], segmentId?: string): Promise<
|
|
92
|
-
sendEmailToEmailThread(action: string, body: string, mailLogId: number, attachments?: Scalars['JSONString']['input'], bccEmails?: string[], ccEmails?: string[], subject?: string, toEmails?: string[]): Promise<
|
|
93
|
-
sendManualEmail(body: string, logId: string, subject: string, to: string, bcc?: string[], cc?: string[]): Promise<
|
|
94
|
-
sendRfq(input: SendRfqInput): Promise<
|
|
95
|
-
sendRfqTestEmail(input: SendRfqTestEmailInput): Promise<
|
|
96
|
-
sendTestEmail(campaignId: string, emailAddress: string, subject: string, template: string): Promise<
|
|
97
|
-
sendTestEmailCombined(campaignId: string, emailAddress: string): Promise<
|
|
98
|
-
setLeadNotInterested(input?: SetLeadAsNotInterestedInput): Promise<
|
|
99
|
-
signup(input: SignupInput): Promise<
|
|
100
|
-
startCampaign(id: string): Promise<
|
|
101
|
-
startCombinedCampaign(id: string): Promise<
|
|
102
|
-
submitFeedback(input: SubmitFeedbackMutationVariables): Promise<
|
|
103
|
-
unhideRecord(input: HiddenRecordInput): Promise<
|
|
104
|
-
unsubscribeFromEmails(emailHash: string, source: string): Promise<
|
|
105
|
-
updateCallCampaign(id: string, input: UpdateCallCampaignMutationVariables): Promise<
|
|
106
|
-
updateCallCampaignLog(id: string, input: UpdateCallCampaignLogMutationVariables): Promise<
|
|
107
|
-
updateCampaign(input: UpdateCampaignMutationVariables): Promise<
|
|
108
|
-
updateCombinedCampaign(input: UpdateCombinedCampaignInput, steps?: CombinedCampaignStepInput[]): Promise<
|
|
109
|
-
updateCombinedCampaignLog(id: string, input: UpdateCombinedCampaignLogInput): Promise<
|
|
110
|
-
updateCombinedCampaignLogs(logIds: string[], notes?: string, outcome?: string, status?: string): Promise<
|
|
111
|
-
updateCombinedCampaignTemplate(input: CombinedCampaignTemplateInput, uuid: string): Promise<
|
|
112
|
-
updateCompany(input: UpdateCompanyMutationVariables): Promise<
|
|
113
|
-
updateCompanyExternalIdentifier(input?: UpdateCompanyExternalIdentifierInput): Promise<
|
|
114
|
-
updateCompanyNote(input: CompanyNoteInput): Promise<
|
|
115
|
-
updateCompanyProfile(input: CompanyProfileInput): Promise<
|
|
116
|
-
updateContact(input: UpdateContactMutationVariables): Promise<
|
|
117
|
-
updateEmailTemplate(input: UpdateEmailTemplateMutationVariables, uuid: string): Promise<
|
|
118
|
-
updateMysupplier(id: string, input: MySupplierInput): Promise<
|
|
119
|
-
updateRfq(id: string, input: RfqInput): Promise<
|
|
120
|
-
updateRfqlineitem(id: string, input: RfqLineItemInput): Promise<
|
|
121
|
-
updateSegment(input: UpdateSegmentMutationVariables): Promise<
|
|
122
|
-
updateSupplierlist(id: string, input: SupplierListInput): Promise<
|
|
123
|
-
updateTask(id: number, input: UpdateTaskMutationVariables): Promise<
|
|
124
|
-
updateUserProfile(input: UpdateUserProfileMutationVariables): Promise<
|
|
125
|
-
uploadFile(input: FileUploadInput): Promise<
|
|
126
|
-
validateOtpAndResetPassword(email: string, newPassword: string, otpCode: string): Promise<
|
|
127
|
-
accountMembers(): Promise<
|
|
128
|
-
accountProfile(): Promise<
|
|
129
|
-
accountSubscription(): Promise<
|
|
130
|
-
businessProfile(): Promise<
|
|
131
|
-
callCampaign(id: string): Promise<
|
|
132
|
-
callCampaignAnalytics(campaignId?: string, startDate?: string, endDate?: string): Promise<
|
|
133
|
-
callCampaignLog(id: string): Promise<
|
|
134
|
-
callCampaignLogs(callCampaignId: string, pagination: PaginationInput, search?: string, status?: string): Promise<
|
|
135
|
-
callCampaignReport(pagination: PaginationInput, filters?: CallReportFilterInput): Promise<
|
|
136
|
-
callCampaigns(pagination: PaginationInput, sortBy?: string, status?: string, createdById?: string): Promise<
|
|
137
|
-
campaign(id: string): Promise<
|
|
138
|
-
campaignAnalytics(campaignId: string): Promise<
|
|
139
|
-
campaignContacts(campaignUuid: string, page?: number, pageSize?: number): Promise<
|
|
140
|
-
campaignLogs(campaignId: string, pagination: PaginationInput, search?: string): Promise<
|
|
141
|
-
campaignStats(fromDate?: string, toDate?: string): Promise<
|
|
142
|
-
campaigns(pagination: PaginationInput, status?: string, sortBy?: string, createdById?: string): Promise<
|
|
143
|
-
combinedCampaign(id: string): Promise<
|
|
144
|
-
combinedCampaignContacts(campaignUuid: string, activityType?: string, page?: number, pageSize?: number, search?: string, status?: string, sortBy?: string): Promise<
|
|
145
|
-
combinedCampaignLogs(campaignId: string, filters?: CombinedCampaignFilterInput, page?: number, pageSize?: number): Promise<
|
|
146
|
-
combinedCampaignSteps(campaignId: string): Promise<
|
|
147
|
-
combinedCampaignTemplate(uuid: string): Promise<
|
|
148
|
-
combinedCampaignTemplates(): Promise<
|
|
149
|
-
combinedCampaigns(pagination?: PaginationInput, status?: string, sortBy?: string, createdById?: string): Promise<
|
|
150
|
-
companies(filters?: CompanyFilterInput, pagination?: PaginationInput, sort?: CompanySortInput): Promise<
|
|
151
|
-
company(id?: string): Promise<
|
|
152
|
-
companyAudiencesAndCampaigns(companyId: string): Promise<
|
|
153
|
-
companyExternalIdentifier(companyId: string): Promise<
|
|
154
|
-
companyMetadata(companyId: string): Promise<
|
|
155
|
-
companyNote(id: string): Promise<
|
|
156
|
-
companyNotes(filters?: CompanyNoteFilterInput, pagination?: PaginationInput, sort?: CompanyNoteSortInput): Promise<
|
|
157
|
-
companySearch(filters?: CompanyFilterInput, pagination?: PaginationInput, sort?: CompanySortInput): Promise<
|
|
158
|
-
contact(id?: string): Promise<
|
|
159
|
-
contacts(): Promise<
|
|
160
|
-
contactsInSegment(segmentId: string, pagination?: PaginationInput): Promise<
|
|
161
|
-
crmFunnelReport(filters: CrmFilterInput): Promise<
|
|
162
|
-
currentAccount(): Promise<
|
|
163
|
-
currentPipelineTotal(filters?: CrmCurrentPipelineFilterInput): Promise<
|
|
164
|
-
dashboardStats(startDate?: string, endDate?: string): Promise<
|
|
165
|
-
emailCampaignReportByCampaign(filters: EmailCampaignReportFilterInput): Promise<
|
|
166
|
-
emailCampaignReportOverview(filters: EmailCampaignReportFilterInput): Promise<
|
|
167
|
-
emailCampaignReportStats(filters: EmailCampaignReportFilterInput): Promise<
|
|
168
|
-
emailTemplate(uuid: string): Promise<
|
|
169
|
-
emailTemplates(campaignType?: string, campaignTypes?: string[]): Promise<
|
|
170
|
-
emailThread(threadId: string, companyId?: number): Promise<
|
|
171
|
-
emailThreadsByCompany(companyId: number, page?: number, pageSize?: number): Promise<
|
|
172
|
-
employeeSizes(): Promise<
|
|
173
|
-
industrySectors(): Promise<
|
|
174
|
-
industryTypes(): Promise<
|
|
175
|
-
mailLog(id: number): Promise<
|
|
176
|
-
mailLogs(filters?: MailLogFilterInput): Promise<
|
|
177
|
-
metalGrades(ids?: string[], name?: string): Promise<
|
|
178
|
-
metalTypes(ids?: string[], name?: string): Promise<
|
|
179
|
-
myInvitations(): Promise<
|
|
180
|
-
mysupplier(id: string): Promise<
|
|
181
|
-
mysupplierList(filters?: Procurement_MySupplierFilterInput, pagination?: PaginationInput): Promise<
|
|
182
|
-
notification(id: string): Promise<
|
|
183
|
-
notifications(limit?: number, offset?: number, unreadOnly?: boolean): Promise<
|
|
184
|
-
nylasConnection(): Promise<
|
|
185
|
-
pendingInvitations(): Promise<
|
|
186
|
-
productCategories(ids?: string[], name?: string): Promise<
|
|
187
|
-
productTypes(ids?: string[], name?: string): Promise<
|
|
188
|
-
recentHistory(filter?: RecentHistoryFilterInput, sort?: RecentHistorySortInput, pagination?: PaginationInput): Promise<
|
|
189
|
-
recentNotifications(limit?: number): Promise<
|
|
190
|
-
rfq(id: string): Promise<
|
|
191
|
-
rfqList(filters?: Procurement_RfqFilterInput, pagination?: PaginationInput): Promise<
|
|
192
|
-
rfqSuppliers(search?: string): Promise<
|
|
193
|
-
rfqlineitem(id: string): Promise<
|
|
194
|
-
rfqlineitemList(filters?: Procurement_RfqLineItemFilterInput, pagination?: PaginationInput): Promise<
|
|
195
|
-
searchContacts(filters?: ContactFilterInput, pagination?: PaginationInput, sort?: ContactSortInput): Promise<
|
|
196
|
-
segment(id: string): Promise<
|
|
197
|
-
segments(pagination?: PaginationInput, includeSystemTemplates?: boolean, filters?: SegmentFilterInput): Promise<
|
|
198
|
-
supplier(id: string): Promise<
|
|
199
|
-
supplierListContacts(supplierListId: string): Promise<
|
|
200
|
-
supplierListCustomContacts(supplierListId: string): Promise<
|
|
201
|
-
supplierlist(id: string): Promise<
|
|
202
|
-
supplierlistList(filters?: Procurement_SupplierListFilterInput, pagination?: PaginationInput): Promise<
|
|
203
|
-
suppliers(filters?: SupplierSearchFilterInput, pagination?: PaginationInput, sort?: SupplierSortInput): Promise<
|
|
204
|
-
task(id: number): Promise<
|
|
205
|
-
tasks(filters?: TaskFilterInput, sortBy?: string, sortDirection?: string): Promise<
|
|
206
|
-
unreadNotificationsCount(): Promise<
|
|
207
|
-
usStates(): Promise<
|
|
208
|
-
userProfile(): Promise<
|
|
10
|
+
executeCustomQuery<T = any>(query: string | any, variables?: Record<string, any>): Promise<ApolloQueryResult<T>>;
|
|
11
|
+
executeCustomMutation<T = any>(mutation: string | any, variables?: Record<string, any>): Promise<FetchResult<T>>;
|
|
12
|
+
acceptInvitation(input: InvitationResponseInput): Promise<FetchResult<AcceptInvitationMutation>>;
|
|
13
|
+
addContactToSupplierList(input: AddContactToSupplierListInput): Promise<FetchResult<AddContactToSupplierListMutation>>;
|
|
14
|
+
addContactsToCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<FetchResult<AddContactsToCampaignMutation>>;
|
|
15
|
+
addContactsToCombinedCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<FetchResult<AddContactsToCombinedCampaignMutation>>;
|
|
16
|
+
addContactsToSegment(contactIds: string[], segmentId: string, processSignals?: boolean): Promise<FetchResult<AddContactsToSegmentMutation>>;
|
|
17
|
+
addCustomContactToSupplierList(input: AddCustomContactToSupplierInput): Promise<FetchResult<AddCustomContactToSupplierListMutation>>;
|
|
18
|
+
addSegmentToCallCampaign(campaignId: string, segmentId: string): Promise<FetchResult<AddSegmentToCallCampaignMutation>>;
|
|
19
|
+
addSegmentToCampaign(campaignId: string, segmentId: string): Promise<FetchResult<AddSegmentToCampaignMutation>>;
|
|
20
|
+
addSupplierToMySuppliers(input: AddSupplierToMySuppliersInput): Promise<FetchResult<AddSupplierToMySuppliersMutation>>;
|
|
21
|
+
addSupplierToSupplierList(input: AddSupplierToSupplierListInput): Promise<FetchResult<AddSupplierToSupplierListMutation>>;
|
|
22
|
+
bulkAssignCompanyOwners(input?: BulkAssignOwnersInput): Promise<FetchResult<BulkAssignCompanyOwnersMutation>>;
|
|
23
|
+
cancelCampaign(id: string): Promise<FetchResult<CancelCampaignMutation>>;
|
|
24
|
+
cancelCombinedCampaign(id: string): Promise<FetchResult<CancelCombinedCampaignMutation>>;
|
|
25
|
+
cancelInvitation(invitationId: string): Promise<FetchResult<CancelInvitationMutation>>;
|
|
26
|
+
changePassword(newPassword: string): Promise<FetchResult<ChangePasswordMutation>>;
|
|
27
|
+
clearAllNotifications(): Promise<FetchResult<ClearAllNotificationsMutation>>;
|
|
28
|
+
completeCampaign(id: string): Promise<FetchResult<CompleteCampaignMutation>>;
|
|
29
|
+
completeRfq(input: CompleteRfqInput): Promise<FetchResult<CompleteRfqMutation>>;
|
|
30
|
+
createCallCampaign(input: CreateCallCampaignMutationVariables): Promise<FetchResult<CreateCallCampaignMutation>>;
|
|
31
|
+
createCallCampaignLog(input: CreateCallCampaignLogMutationVariables): Promise<FetchResult<CreateCallCampaignLogMutation>>;
|
|
32
|
+
createCampaign(input: CreateCampaignMutationVariables): Promise<FetchResult<CreateCampaignMutation>>;
|
|
33
|
+
createCombinedCampaign(input: CombinedCampaignInput, steps?: CombinedCampaignStepInput[]): Promise<FetchResult<CreateCombinedCampaignMutation>>;
|
|
34
|
+
createCombinedCampaignTemplate(input: CombinedCampaignTemplateInput): Promise<FetchResult<CreateCombinedCampaignTemplateMutation>>;
|
|
35
|
+
createCompany(input: CreateCompanyMutationVariables): Promise<FetchResult<CreateCompanyMutation>>;
|
|
36
|
+
createCompanyNote(input: CompanyNoteInput): Promise<FetchResult<CreateCompanyNoteMutation>>;
|
|
37
|
+
createContact(input: CreateContactMutationVariables): Promise<FetchResult<CreateContactMutation>>;
|
|
38
|
+
createEmailTemplate(input: CreateEmailTemplateMutationVariables): Promise<FetchResult<CreateEmailTemplateMutation>>;
|
|
39
|
+
createMysupplier(input: MySupplierInput): Promise<FetchResult<CreateMysupplierMutation>>;
|
|
40
|
+
createNotification(input: CreateNotificationMutationVariables): Promise<FetchResult<CreateNotificationMutation>>;
|
|
41
|
+
createRfq(input: RfqInput): Promise<FetchResult<CreateRfqMutation>>;
|
|
42
|
+
createRfqlineitem(input: RfqLineItemInput): Promise<FetchResult<CreateRfqlineitemMutation>>;
|
|
43
|
+
createSegment(input: CreateSegmentMutationVariables): Promise<FetchResult<CreateSegmentMutation>>;
|
|
44
|
+
createSupplierlist(input: SupplierListInput): Promise<FetchResult<CreateSupplierlistMutation>>;
|
|
45
|
+
createTask(input: CreateTaskMutationVariables): Promise<FetchResult<CreateTaskMutation>>;
|
|
46
|
+
deleteCallCampaign(id: string): Promise<FetchResult<DeleteCallCampaignMutation>>;
|
|
47
|
+
deleteCampaign(id: string): Promise<FetchResult<DeleteCampaignMutation>>;
|
|
48
|
+
deleteCombinedCampaign(id: string): Promise<FetchResult<DeleteCombinedCampaignMutation>>;
|
|
49
|
+
deleteCombinedCampaignTemplate(uuid: string): Promise<FetchResult<DeleteCombinedCampaignTemplateMutation>>;
|
|
50
|
+
deleteCompany(id?: string): Promise<FetchResult<DeleteCompanyMutation>>;
|
|
51
|
+
deleteCompanyNote(id: string): Promise<FetchResult<DeleteCompanyNoteMutation>>;
|
|
52
|
+
deleteContact(id?: string): Promise<FetchResult<DeleteContactMutation>>;
|
|
53
|
+
deleteEmailTemplate(uuid: string): Promise<FetchResult<DeleteEmailTemplateMutation>>;
|
|
54
|
+
deleteMysupplier(id: string): Promise<FetchResult<DeleteMysupplierMutation>>;
|
|
55
|
+
deleteNotification(notificationId: string): Promise<FetchResult<DeleteNotificationMutation>>;
|
|
56
|
+
deleteRfq(id: string): Promise<FetchResult<DeleteRfqMutation>>;
|
|
57
|
+
deleteRfqlineitem(id: string): Promise<FetchResult<DeleteRfqlineitemMutation>>;
|
|
58
|
+
deleteSegment(id: string): Promise<FetchResult<DeleteSegmentMutation>>;
|
|
59
|
+
deleteSupplierlist(id: string): Promise<FetchResult<DeleteSupplierlistMutation>>;
|
|
60
|
+
deleteTask(id: number): Promise<FetchResult<DeleteTaskMutation>>;
|
|
61
|
+
disconnectNylasIntegration(): Promise<FetchResult<DisconnectNylasIntegrationMutation>>;
|
|
62
|
+
emailTone(input: EmailToneInput): Promise<FetchResult<EmailToneMutation>>;
|
|
63
|
+
forgotPassword(email: string): Promise<FetchResult<ForgotPasswordMutation>>;
|
|
64
|
+
generateNewEmail(prompt: string, variables?: string[]): Promise<FetchResult<GenerateNewEmailMutation>>;
|
|
65
|
+
hideRecord(input: HiddenRecordInput): Promise<FetchResult<HideRecordMutation>>;
|
|
66
|
+
inviteUser(input: InviteUserInput): Promise<FetchResult<InviteUserMutation>>;
|
|
67
|
+
login(email: string, password: string): Promise<FetchResult<LoginMutation>>;
|
|
68
|
+
loginWithGoogle(token: string, user?: UserTypeInput): Promise<FetchResult<LoginWithGoogleMutation>>;
|
|
69
|
+
loginWithMicrosoft(accessToken: string, userData?: MicrosoftUserInput): Promise<FetchResult<LoginWithMicrosoftMutation>>;
|
|
70
|
+
markAllNotificationsAsRead(): Promise<FetchResult<MarkAllNotificationsAsReadMutation>>;
|
|
71
|
+
markNotificationAsRead(notificationId: string): Promise<FetchResult<MarkNotificationAsReadMutation>>;
|
|
72
|
+
pauseCampaign(id: string): Promise<FetchResult<PauseCampaignMutation>>;
|
|
73
|
+
pauseCombinedCampaign(id: string): Promise<FetchResult<PauseCombinedCampaignMutation>>;
|
|
74
|
+
previewCampaignEmail(campaignId: string, contactId: string, customSubject?: string, customTemplate?: string): Promise<FetchResult<PreviewCampaignEmailMutation>>;
|
|
75
|
+
reduceSpam(input: ReduceSpamInput): Promise<FetchResult<ReduceSpamMutation>>;
|
|
76
|
+
rejectInvitation(input: InvitationResponseInput): Promise<FetchResult<RejectInvitationMutation>>;
|
|
77
|
+
removeContactFromMySupplier(input: RemoveContactFromMySupplierInput): Promise<FetchResult<RemoveContactFromMySupplierMutation>>;
|
|
78
|
+
removeContactFromSupplierList(input: RemoveContactFromSupplierListInput): Promise<FetchResult<RemoveContactFromSupplierListMutation>>;
|
|
79
|
+
removeContactsFromCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<FetchResult<RemoveContactsFromCampaignMutation>>;
|
|
80
|
+
removeContactsFromCombinedCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<FetchResult<RemoveContactsFromCombinedCampaignMutation>>;
|
|
81
|
+
removeContactsFromSegment(contactIds: string[], segmentId: string): Promise<FetchResult<RemoveContactsFromSegmentMutation>>;
|
|
82
|
+
removeCustomContactFromSupplierList(input: RemoveCustomContactFromSupplierInput): Promise<FetchResult<RemoveCustomContactFromSupplierListMutation>>;
|
|
83
|
+
removeMember(accountId: string, memberId: string): Promise<FetchResult<RemoveMemberMutation>>;
|
|
84
|
+
removeSegmentFromCallCampaign(campaignId: string, segmentId: string): Promise<FetchResult<RemoveSegmentFromCallCampaignMutation>>;
|
|
85
|
+
removeSegmentFromCampaign(campaignId: string, segmentId: string): Promise<FetchResult<RemoveSegmentFromCampaignMutation>>;
|
|
86
|
+
removeSupplierFromSupplierList(input: RemoveSupplierFromSupplierListInput): Promise<FetchResult<RemoveSupplierFromSupplierListMutation>>;
|
|
87
|
+
resumeCombinedCampaign(id: string): Promise<FetchResult<ResumeCombinedCampaignMutation>>;
|
|
88
|
+
saveNylasConnection(input: SaveNylasConnectionMutationVariables): Promise<FetchResult<SaveNylasConnectionMutation>>;
|
|
89
|
+
scheduleCampaign(id: string, scheduledFor: string): Promise<FetchResult<ScheduleCampaignMutation>>;
|
|
90
|
+
scheduleCombinedCampaign(id: string, scheduledFor: string): Promise<FetchResult<ScheduleCombinedCampaignMutation>>;
|
|
91
|
+
scheduleRfq(input: ScheduleRfqInput): Promise<FetchResult<ScheduleRfqMutation>>;
|
|
92
|
+
sendEmailToContact(contactId: string, subject: string, template: string, campaignId?: string, fileAttachments?: Scalars['JSONString']['input'], segmentId?: string): Promise<FetchResult<SendEmailToContactMutation>>;
|
|
93
|
+
sendEmailToEmailThread(action: string, body: string, mailLogId: number, attachments?: Scalars['JSONString']['input'], bccEmails?: string[], ccEmails?: string[], subject?: string, toEmails?: string[]): Promise<FetchResult<SendEmailToEmailThreadMutation>>;
|
|
94
|
+
sendManualEmail(body: string, logId: string, subject: string, to: string, bcc?: string[], cc?: string[]): Promise<FetchResult<SendManualEmailMutation>>;
|
|
95
|
+
sendRfq(input: SendRfqInput): Promise<FetchResult<SendRfqMutation>>;
|
|
96
|
+
sendRfqTestEmail(input: SendRfqTestEmailInput): Promise<FetchResult<SendRfqTestEmailMutation>>;
|
|
97
|
+
sendTestEmail(campaignId: string, emailAddress: string, subject: string, template: string): Promise<FetchResult<SendTestEmailMutation>>;
|
|
98
|
+
sendTestEmailCombined(campaignId: string, emailAddress: string): Promise<FetchResult<SendTestEmailCombinedMutation>>;
|
|
99
|
+
setLeadNotInterested(input?: SetLeadAsNotInterestedInput): Promise<FetchResult<SetLeadNotInterestedMutation>>;
|
|
100
|
+
signup(input: SignupInput): Promise<FetchResult<SignupMutation>>;
|
|
101
|
+
startCampaign(id: string): Promise<FetchResult<StartCampaignMutation>>;
|
|
102
|
+
startCombinedCampaign(id: string): Promise<FetchResult<StartCombinedCampaignMutation>>;
|
|
103
|
+
submitFeedback(input: SubmitFeedbackMutationVariables): Promise<FetchResult<SubmitFeedbackMutation>>;
|
|
104
|
+
unhideRecord(input: HiddenRecordInput): Promise<FetchResult<UnhideRecordMutation>>;
|
|
105
|
+
unsubscribeFromEmails(emailHash: string, source: string): Promise<FetchResult<UnsubscribeFromEmailsMutation>>;
|
|
106
|
+
updateCallCampaign(id: string, input: UpdateCallCampaignMutationVariables): Promise<FetchResult<UpdateCallCampaignMutation>>;
|
|
107
|
+
updateCallCampaignLog(id: string, input: UpdateCallCampaignLogMutationVariables): Promise<FetchResult<UpdateCallCampaignLogMutation>>;
|
|
108
|
+
updateCampaign(input: UpdateCampaignMutationVariables): Promise<FetchResult<UpdateCampaignMutation>>;
|
|
109
|
+
updateCombinedCampaign(input: UpdateCombinedCampaignInput, steps?: CombinedCampaignStepInput[]): Promise<FetchResult<UpdateCombinedCampaignMutation>>;
|
|
110
|
+
updateCombinedCampaignLog(id: string, input: UpdateCombinedCampaignLogInput): Promise<FetchResult<UpdateCombinedCampaignLogMutation>>;
|
|
111
|
+
updateCombinedCampaignLogs(logIds: string[], notes?: string, outcome?: string, status?: string): Promise<FetchResult<UpdateCombinedCampaignLogsMutation>>;
|
|
112
|
+
updateCombinedCampaignTemplate(input: CombinedCampaignTemplateInput, uuid: string): Promise<FetchResult<UpdateCombinedCampaignTemplateMutation>>;
|
|
113
|
+
updateCompany(input: UpdateCompanyMutationVariables): Promise<FetchResult<UpdateCompanyMutation>>;
|
|
114
|
+
updateCompanyExternalIdentifier(input?: UpdateCompanyExternalIdentifierInput): Promise<FetchResult<UpdateCompanyExternalIdentifierMutation>>;
|
|
115
|
+
updateCompanyNote(input: CompanyNoteInput): Promise<FetchResult<UpdateCompanyNoteMutation>>;
|
|
116
|
+
updateCompanyProfile(input: CompanyProfileInput): Promise<FetchResult<UpdateCompanyProfileMutation>>;
|
|
117
|
+
updateContact(input: UpdateContactMutationVariables): Promise<FetchResult<UpdateContactMutation>>;
|
|
118
|
+
updateEmailTemplate(input: UpdateEmailTemplateMutationVariables, uuid: string): Promise<FetchResult<UpdateEmailTemplateMutation>>;
|
|
119
|
+
updateMysupplier(id: string, input: MySupplierInput): Promise<FetchResult<UpdateMysupplierMutation>>;
|
|
120
|
+
updateRfq(id: string, input: RfqInput): Promise<FetchResult<UpdateRfqMutation>>;
|
|
121
|
+
updateRfqlineitem(id: string, input: RfqLineItemInput): Promise<FetchResult<UpdateRfqlineitemMutation>>;
|
|
122
|
+
updateSegment(input: UpdateSegmentMutationVariables): Promise<FetchResult<UpdateSegmentMutation>>;
|
|
123
|
+
updateSupplierlist(id: string, input: SupplierListInput): Promise<FetchResult<UpdateSupplierlistMutation>>;
|
|
124
|
+
updateTask(id: number, input: UpdateTaskMutationVariables): Promise<FetchResult<UpdateTaskMutation>>;
|
|
125
|
+
updateUserProfile(input: UpdateUserProfileMutationVariables): Promise<FetchResult<UpdateUserProfileMutation>>;
|
|
126
|
+
uploadFile(input: FileUploadInput): Promise<FetchResult<UploadFileMutation>>;
|
|
127
|
+
validateOtpAndResetPassword(email: string, newPassword: string, otpCode: string): Promise<FetchResult<ValidateOtpAndResetPasswordMutation>>;
|
|
128
|
+
accountMembers(): Promise<ApolloQueryResult<AccountMembersQuery>>;
|
|
129
|
+
accountProfile(): Promise<ApolloQueryResult<AccountProfileQuery>>;
|
|
130
|
+
accountSubscription(): Promise<ApolloQueryResult<AccountSubscriptionQuery>>;
|
|
131
|
+
businessProfile(): Promise<ApolloQueryResult<BusinessProfileQuery>>;
|
|
132
|
+
callCampaign(id: string): Promise<ApolloQueryResult<CallCampaignQuery>>;
|
|
133
|
+
callCampaignAnalytics(campaignId?: string, startDate?: string, endDate?: string): Promise<ApolloQueryResult<CallCampaignAnalyticsQuery>>;
|
|
134
|
+
callCampaignLog(id: string): Promise<ApolloQueryResult<CallCampaignLogQuery>>;
|
|
135
|
+
callCampaignLogs(callCampaignId: string, pagination: PaginationInput, search?: string, status?: string): Promise<ApolloQueryResult<CallCampaignLogsQuery>>;
|
|
136
|
+
callCampaignReport(pagination: PaginationInput, filters?: CallReportFilterInput): Promise<ApolloQueryResult<CallCampaignReportQuery>>;
|
|
137
|
+
callCampaigns(pagination: PaginationInput, sortBy?: string, status?: string, createdById?: string): Promise<ApolloQueryResult<CallCampaignsQuery>>;
|
|
138
|
+
campaign(id: string): Promise<ApolloQueryResult<CampaignQuery>>;
|
|
139
|
+
campaignAnalytics(campaignId: string): Promise<ApolloQueryResult<CampaignAnalyticsQuery>>;
|
|
140
|
+
campaignContacts(campaignUuid: string, page?: number, pageSize?: number): Promise<ApolloQueryResult<CampaignContactsQuery>>;
|
|
141
|
+
campaignLogs(campaignId: string, pagination: PaginationInput, search?: string): Promise<ApolloQueryResult<CampaignLogsQuery>>;
|
|
142
|
+
campaignStats(fromDate?: string, toDate?: string): Promise<ApolloQueryResult<CampaignStatsQuery>>;
|
|
143
|
+
campaigns(pagination: PaginationInput, status?: string, sortBy?: string, createdById?: string): Promise<ApolloQueryResult<CampaignsQuery>>;
|
|
144
|
+
combinedCampaign(id: string): Promise<ApolloQueryResult<CombinedCampaignQuery>>;
|
|
145
|
+
combinedCampaignContacts(campaignUuid: string, activityType?: string, page?: number, pageSize?: number, search?: string, status?: string, sortBy?: string): Promise<ApolloQueryResult<CombinedCampaignContactsQuery>>;
|
|
146
|
+
combinedCampaignLogs(campaignId: string, filters?: CombinedCampaignFilterInput, page?: number, pageSize?: number): Promise<ApolloQueryResult<CombinedCampaignLogsQuery>>;
|
|
147
|
+
combinedCampaignSteps(campaignId: string): Promise<ApolloQueryResult<CombinedCampaignStepsQuery>>;
|
|
148
|
+
combinedCampaignTemplate(uuid: string): Promise<ApolloQueryResult<CombinedCampaignTemplateQuery>>;
|
|
149
|
+
combinedCampaignTemplates(): Promise<ApolloQueryResult<CombinedCampaignTemplatesQuery>>;
|
|
150
|
+
combinedCampaigns(pagination?: PaginationInput, status?: string, sortBy?: string, createdById?: string): Promise<ApolloQueryResult<CombinedCampaignsQuery>>;
|
|
151
|
+
companies(filters?: CompanyFilterInput, pagination?: PaginationInput, sort?: CompanySortInput): Promise<ApolloQueryResult<CompaniesQuery>>;
|
|
152
|
+
company(id?: string): Promise<ApolloQueryResult<CompanyQuery>>;
|
|
153
|
+
companyAudiencesAndCampaigns(companyId: string): Promise<ApolloQueryResult<CompanyAudiencesAndCampaignsQuery>>;
|
|
154
|
+
companyExternalIdentifier(companyId: string): Promise<ApolloQueryResult<CompanyExternalIdentifierQuery>>;
|
|
155
|
+
companyMetadata(companyId: string): Promise<ApolloQueryResult<CompanyMetadataQuery>>;
|
|
156
|
+
companyNote(id: string): Promise<ApolloQueryResult<CompanyNoteQuery>>;
|
|
157
|
+
companyNotes(filters?: CompanyNoteFilterInput, pagination?: PaginationInput, sort?: CompanyNoteSortInput): Promise<ApolloQueryResult<CompanyNotesQuery>>;
|
|
158
|
+
companySearch(filters?: CompanyFilterInput, pagination?: PaginationInput, sort?: CompanySortInput): Promise<ApolloQueryResult<CompanySearchQuery>>;
|
|
159
|
+
contact(id?: string): Promise<ApolloQueryResult<ContactQuery>>;
|
|
160
|
+
contacts(): Promise<ApolloQueryResult<ContactsQuery>>;
|
|
161
|
+
contactsInSegment(segmentId: string, pagination?: PaginationInput): Promise<ApolloQueryResult<ContactsInSegmentQuery>>;
|
|
162
|
+
crmFunnelReport(filters: CrmFilterInput): Promise<ApolloQueryResult<CrmFunnelReportQuery>>;
|
|
163
|
+
currentAccount(): Promise<ApolloQueryResult<CurrentAccountQuery>>;
|
|
164
|
+
currentPipelineTotal(filters?: CrmCurrentPipelineFilterInput): Promise<ApolloQueryResult<CurrentPipelineTotalQuery>>;
|
|
165
|
+
dashboardStats(startDate?: string, endDate?: string): Promise<ApolloQueryResult<DashboardStatsQuery>>;
|
|
166
|
+
emailCampaignReportByCampaign(filters: EmailCampaignReportFilterInput): Promise<ApolloQueryResult<EmailCampaignReportByCampaignQuery>>;
|
|
167
|
+
emailCampaignReportOverview(filters: EmailCampaignReportFilterInput): Promise<ApolloQueryResult<EmailCampaignReportOverviewQuery>>;
|
|
168
|
+
emailCampaignReportStats(filters: EmailCampaignReportFilterInput): Promise<ApolloQueryResult<EmailCampaignReportStatsQuery>>;
|
|
169
|
+
emailTemplate(uuid: string): Promise<ApolloQueryResult<EmailTemplateQuery>>;
|
|
170
|
+
emailTemplates(campaignType?: string, campaignTypes?: string[]): Promise<ApolloQueryResult<EmailTemplatesQuery>>;
|
|
171
|
+
emailThread(threadId: string, companyId?: number): Promise<ApolloQueryResult<EmailThreadQuery>>;
|
|
172
|
+
emailThreadsByCompany(companyId: number, page?: number, pageSize?: number): Promise<ApolloQueryResult<EmailThreadsByCompanyQuery>>;
|
|
173
|
+
employeeSizes(): Promise<ApolloQueryResult<EmployeeSizesQuery>>;
|
|
174
|
+
industrySectors(): Promise<ApolloQueryResult<IndustrySectorsQuery>>;
|
|
175
|
+
industryTypes(): Promise<ApolloQueryResult<IndustryTypesQuery>>;
|
|
176
|
+
mailLog(id: number): Promise<ApolloQueryResult<MailLogQuery>>;
|
|
177
|
+
mailLogs(filters?: MailLogFilterInput): Promise<ApolloQueryResult<MailLogsQuery>>;
|
|
178
|
+
metalGrades(ids?: string[], name?: string): Promise<ApolloQueryResult<MetalGradesQuery>>;
|
|
179
|
+
metalTypes(ids?: string[], name?: string): Promise<ApolloQueryResult<MetalTypesQuery>>;
|
|
180
|
+
myInvitations(): Promise<ApolloQueryResult<MyInvitationsQuery>>;
|
|
181
|
+
mysupplier(id: string): Promise<ApolloQueryResult<MysupplierQuery>>;
|
|
182
|
+
mysupplierList(filters?: Procurement_MySupplierFilterInput, pagination?: PaginationInput): Promise<ApolloQueryResult<MysupplierListQuery>>;
|
|
183
|
+
notification(id: string): Promise<ApolloQueryResult<NotificationQuery>>;
|
|
184
|
+
notifications(limit?: number, offset?: number, unreadOnly?: boolean): Promise<ApolloQueryResult<NotificationsQuery>>;
|
|
185
|
+
nylasConnection(): Promise<ApolloQueryResult<NylasConnectionQuery>>;
|
|
186
|
+
pendingInvitations(): Promise<ApolloQueryResult<PendingInvitationsQuery>>;
|
|
187
|
+
productCategories(ids?: string[], name?: string): Promise<ApolloQueryResult<ProductCategoriesQuery>>;
|
|
188
|
+
productTypes(ids?: string[], name?: string): Promise<ApolloQueryResult<ProductTypesQuery>>;
|
|
189
|
+
recentHistory(filter?: RecentHistoryFilterInput, sort?: RecentHistorySortInput, pagination?: PaginationInput): Promise<ApolloQueryResult<RecentHistoryQuery>>;
|
|
190
|
+
recentNotifications(limit?: number): Promise<ApolloQueryResult<RecentNotificationsQuery>>;
|
|
191
|
+
rfq(id: string): Promise<ApolloQueryResult<RfqQuery>>;
|
|
192
|
+
rfqList(filters?: Procurement_RfqFilterInput, pagination?: PaginationInput): Promise<ApolloQueryResult<RfqListQuery>>;
|
|
193
|
+
rfqSuppliers(search?: string): Promise<ApolloQueryResult<RfqSuppliersQuery>>;
|
|
194
|
+
rfqlineitem(id: string): Promise<ApolloQueryResult<RfqlineitemQuery>>;
|
|
195
|
+
rfqlineitemList(filters?: Procurement_RfqLineItemFilterInput, pagination?: PaginationInput): Promise<ApolloQueryResult<RfqlineitemListQuery>>;
|
|
196
|
+
searchContacts(filters?: ContactFilterInput, pagination?: PaginationInput, sort?: ContactSortInput): Promise<ApolloQueryResult<SearchContactsQuery>>;
|
|
197
|
+
segment(id: string): Promise<ApolloQueryResult<SegmentQuery>>;
|
|
198
|
+
segments(pagination?: PaginationInput, includeSystemTemplates?: boolean, filters?: SegmentFilterInput): Promise<ApolloQueryResult<SegmentsQuery>>;
|
|
199
|
+
supplier(id: string): Promise<ApolloQueryResult<SupplierQuery>>;
|
|
200
|
+
supplierListContacts(supplierListId: string): Promise<ApolloQueryResult<SupplierListContactsQuery>>;
|
|
201
|
+
supplierListCustomContacts(supplierListId: string): Promise<ApolloQueryResult<SupplierListCustomContactsQuery>>;
|
|
202
|
+
supplierlist(id: string): Promise<ApolloQueryResult<SupplierlistQuery>>;
|
|
203
|
+
supplierlistList(filters?: Procurement_SupplierListFilterInput, pagination?: PaginationInput): Promise<ApolloQueryResult<SupplierlistListQuery>>;
|
|
204
|
+
suppliers(filters?: SupplierSearchFilterInput, pagination?: PaginationInput, sort?: SupplierSortInput): Promise<ApolloQueryResult<SuppliersQuery>>;
|
|
205
|
+
task(id: number): Promise<ApolloQueryResult<TaskQuery>>;
|
|
206
|
+
tasks(filters?: TaskFilterInput, sortBy?: string, sortDirection?: string): Promise<ApolloQueryResult<TasksQuery>>;
|
|
207
|
+
unreadNotificationsCount(): Promise<ApolloQueryResult<UnreadNotificationsCountQuery>>;
|
|
208
|
+
usStates(): Promise<ApolloQueryResult<UsStatesQuery>>;
|
|
209
|
+
userProfile(): Promise<ApolloQueryResult<UserProfileQuery>>;
|
|
209
210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cf-service-sdk",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"update-schema": "node src/update-schema.js",
|
|
23
23
|
"generate": "graphql-codegen --config codegen.yml",
|
|
24
24
|
"generate-sdk": "node generate-sdk.js",
|
|
25
|
-
"prepare": "
|
|
25
|
+
"prepare": "npm run update-schema && npm run generate && npm run generate-sdk && npm run build",
|
|
26
26
|
"prepublishOnly": "npm run prepare",
|
|
27
27
|
"publish": "npm publish --access public",
|
|
28
28
|
"test": "echo \"Error: no test specified\" && exit 1"
|