cf-service-sdk 0.1.23 → 0.1.25
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 +152 -0
- package/dist/generated/graphql.js +72 -4
- package/dist/mutations.d.ts +2 -0
- package/dist/mutations.js +22 -2
- package/dist/queries.js +3 -0
- package/dist/sdk.d.ts +3 -1
- package/dist/sdk.js +11 -0
- package/package.json +1 -1
|
@@ -133,6 +133,8 @@ export type AccountProfileType = {
|
|
|
133
133
|
/** Additional company profile information in JSON format to be user in Email Generation */
|
|
134
134
|
companyProfile?: Maybe<Scalars['JSONString']['output']>;
|
|
135
135
|
id: Scalars['ID']['output'];
|
|
136
|
+
/** Automated report email settings. Structure: {enabled: bool, frequency: 'monday'|'friday', send_time: 'HH:MM', recipients: [user_id, ...], reports: ['sales_activity', ...]} */
|
|
137
|
+
reportEmails: Scalars['JSONString']['output'];
|
|
136
138
|
};
|
|
137
139
|
/** AccountType */
|
|
138
140
|
export type AccountType = {
|
|
@@ -737,6 +739,8 @@ export type CampaignContactItemType = {
|
|
|
737
739
|
phone?: Maybe<Scalars['String']['output']>;
|
|
738
740
|
populatedBody?: Maybe<Scalars['String']['output']>;
|
|
739
741
|
populatedSubject?: Maybe<Scalars['String']['output']>;
|
|
742
|
+
/** Number of replies from this contact in this campaign */
|
|
743
|
+
replyCount?: Maybe<Scalars['Int']['output']>;
|
|
740
744
|
/** Step ID for combined campaign contacts */
|
|
741
745
|
stepId?: Maybe<Scalars['ID']['output']>;
|
|
742
746
|
/** Step order for combined campaign contacts */
|
|
@@ -2251,6 +2255,30 @@ export type EmailIntegrationType = {
|
|
|
2251
2255
|
provider: Scalars['String']['output'];
|
|
2252
2256
|
updatedAt: Scalars['DateTime']['output'];
|
|
2253
2257
|
};
|
|
2258
|
+
/**
|
|
2259
|
+
* Input for updating account-level automated email report settings.
|
|
2260
|
+
*
|
|
2261
|
+
* Stored in AccountProfile.report_emails as:
|
|
2262
|
+
* {
|
|
2263
|
+
* "enabled": bool,
|
|
2264
|
+
* "frequency": "monday" | "friday",
|
|
2265
|
+
* "send_time": "HH:MM",
|
|
2266
|
+
* "recipients": [user_id, ...],
|
|
2267
|
+
* "reports": ["sales_activity", "current_pipeline", ...]
|
|
2268
|
+
* }
|
|
2269
|
+
*/
|
|
2270
|
+
export type EmailReportSettingsInput = {
|
|
2271
|
+
/** Enable or disable automated report emails for this account */
|
|
2272
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2273
|
+
/** Send day: 'monday' or 'friday' */
|
|
2274
|
+
frequency?: InputMaybe<Scalars['String']['input']>;
|
|
2275
|
+
/** User IDs of account members to receive the report */
|
|
2276
|
+
recipients?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
2277
|
+
/** Report keys: 'sales_activity', 'current_pipeline', 'goals_vs_activity', 'email_activity', 'call_activity', 'site_visit' */
|
|
2278
|
+
reports?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2279
|
+
/** Send time in HH:MM format, e.g. '08:00' */
|
|
2280
|
+
sendTime?: InputMaybe<Scalars['String']['input']>;
|
|
2281
|
+
};
|
|
2254
2282
|
/** EmailTemplateInput for creating/updating email templates */
|
|
2255
2283
|
export type EmailTemplateInput = {
|
|
2256
2284
|
/** Template description */
|
|
@@ -2838,6 +2866,12 @@ export type Mutation = {
|
|
|
2838
2866
|
sendTestEmail?: Maybe<SendTestEmail>;
|
|
2839
2867
|
/** Send test email for combined campaign using content from first email step */
|
|
2840
2868
|
sendTestEmailCombined?: Maybe<SendTestEmailCombined>;
|
|
2869
|
+
/**
|
|
2870
|
+
* SendTestEmailReport — immediately send one report email to the requesting user.
|
|
2871
|
+
*
|
|
2872
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
2873
|
+
*/
|
|
2874
|
+
sendTestEmailReport?: Maybe<SendTestEmailReport>;
|
|
2841
2875
|
setLeadNotInterested?: Maybe<SetLeadAsNotInterestedMutation>;
|
|
2842
2876
|
/** Signup - Register a new user and create their account */
|
|
2843
2877
|
signup?: Maybe<Signup>;
|
|
@@ -2877,6 +2911,15 @@ export type Mutation = {
|
|
|
2877
2911
|
/** UpdateCompanyProfile - Update the company profile JSON field for the user's account */
|
|
2878
2912
|
updateCompanyProfile?: Maybe<UpdateCompanyProfile>;
|
|
2879
2913
|
updateContact?: Maybe<UpdateContact>;
|
|
2914
|
+
/**
|
|
2915
|
+
* UpdateEmailReportSettings — save automated report email preferences for the account.
|
|
2916
|
+
*
|
|
2917
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
2918
|
+
* Settings are stored in AccountProfile.report_emails as a JSON blob so that
|
|
2919
|
+
* individual sub-fields can be queried directly via Django ORM, e.g.:
|
|
2920
|
+
* AccountProfile.objects.filter(report_emails__frequency='monday')
|
|
2921
|
+
*/
|
|
2922
|
+
updateEmailReportSettings?: Maybe<UpdateEmailReportSettings>;
|
|
2880
2923
|
/** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
|
|
2881
2924
|
updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
|
|
2882
2925
|
updateMysupplier?: Maybe<Procurement_MySupplierType>;
|
|
@@ -3448,6 +3491,10 @@ export type MutationUpdateContactArgs = {
|
|
|
3448
3491
|
input?: InputMaybe<ContactInput>;
|
|
3449
3492
|
};
|
|
3450
3493
|
/** Mutations */
|
|
3494
|
+
export type MutationUpdateEmailReportSettingsArgs = {
|
|
3495
|
+
input: EmailReportSettingsInput;
|
|
3496
|
+
};
|
|
3497
|
+
/** Mutations */
|
|
3451
3498
|
export type MutationUpdateEmailTemplateArgs = {
|
|
3452
3499
|
input: EmailTemplateInput;
|
|
3453
3500
|
uuid: Scalars['UUID']['input'];
|
|
@@ -5103,6 +5150,16 @@ export type SendTestEmailCombined = {
|
|
|
5103
5150
|
message?: Maybe<Scalars['String']['output']>;
|
|
5104
5151
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5105
5152
|
};
|
|
5153
|
+
/**
|
|
5154
|
+
* SendTestEmailReport — immediately send one report email to the requesting user.
|
|
5155
|
+
*
|
|
5156
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
5157
|
+
*/
|
|
5158
|
+
export type SendTestEmailReport = {
|
|
5159
|
+
__typename?: 'SendTestEmailReport';
|
|
5160
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
5161
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5162
|
+
};
|
|
5106
5163
|
/** Input type for setting a lead as not interested */
|
|
5107
5164
|
export type SetLeadAsNotInterestedInput = {
|
|
5108
5165
|
/** ID of the contact to mark as not interested */
|
|
@@ -5514,6 +5571,20 @@ export type UpdateContact = {
|
|
|
5514
5571
|
__typename?: 'UpdateContact';
|
|
5515
5572
|
contact?: Maybe<ContactObject>;
|
|
5516
5573
|
};
|
|
5574
|
+
/**
|
|
5575
|
+
* UpdateEmailReportSettings — save automated report email preferences for the account.
|
|
5576
|
+
*
|
|
5577
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
5578
|
+
* Settings are stored in AccountProfile.report_emails as a JSON blob so that
|
|
5579
|
+
* individual sub-fields can be queried directly via Django ORM, e.g.:
|
|
5580
|
+
* AccountProfile.objects.filter(report_emails__frequency='monday')
|
|
5581
|
+
*/
|
|
5582
|
+
export type UpdateEmailReportSettings = {
|
|
5583
|
+
__typename?: 'UpdateEmailReportSettings';
|
|
5584
|
+
accountProfile?: Maybe<AccountProfileType>;
|
|
5585
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
5586
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5587
|
+
};
|
|
5517
5588
|
/** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
|
|
5518
5589
|
export type UpdateEmailTemplate = {
|
|
5519
5590
|
__typename?: 'UpdateEmailTemplate';
|
|
@@ -12660,6 +12731,17 @@ export type SendTestEmailCombinedMutation = {
|
|
|
12660
12731
|
message?: string | null;
|
|
12661
12732
|
} | null;
|
|
12662
12733
|
};
|
|
12734
|
+
export type SendTestEmailReportMutationVariables = Exact<{
|
|
12735
|
+
[key: string]: never;
|
|
12736
|
+
}>;
|
|
12737
|
+
export type SendTestEmailReportMutation = {
|
|
12738
|
+
__typename?: 'Mutation';
|
|
12739
|
+
sendTestEmailReport?: {
|
|
12740
|
+
__typename?: 'SendTestEmailReport';
|
|
12741
|
+
success?: boolean | null;
|
|
12742
|
+
message?: string | null;
|
|
12743
|
+
} | null;
|
|
12744
|
+
};
|
|
12663
12745
|
export type SetLeadNotInterestedMutationVariables = Exact<{
|
|
12664
12746
|
input?: InputMaybe<SetLeadAsNotInterestedInput>;
|
|
12665
12747
|
}>;
|
|
@@ -14671,6 +14753,7 @@ export type UpdateCompanyProfileMutation = {
|
|
|
14671
14753
|
__typename?: 'AccountProfileType';
|
|
14672
14754
|
id: string;
|
|
14673
14755
|
companyProfile?: any | null;
|
|
14756
|
+
reportEmails: any;
|
|
14674
14757
|
} | null;
|
|
14675
14758
|
} | null;
|
|
14676
14759
|
};
|
|
@@ -14762,6 +14845,23 @@ export type UpdateContactMutation = {
|
|
|
14762
14845
|
} | null;
|
|
14763
14846
|
} | null;
|
|
14764
14847
|
};
|
|
14848
|
+
export type UpdateEmailReportSettingsMutationVariables = Exact<{
|
|
14849
|
+
input: EmailReportSettingsInput;
|
|
14850
|
+
}>;
|
|
14851
|
+
export type UpdateEmailReportSettingsMutation = {
|
|
14852
|
+
__typename?: 'Mutation';
|
|
14853
|
+
updateEmailReportSettings?: {
|
|
14854
|
+
__typename?: 'UpdateEmailReportSettings';
|
|
14855
|
+
success?: boolean | null;
|
|
14856
|
+
message?: string | null;
|
|
14857
|
+
accountProfile?: {
|
|
14858
|
+
__typename?: 'AccountProfileType';
|
|
14859
|
+
id: string;
|
|
14860
|
+
companyProfile?: any | null;
|
|
14861
|
+
reportEmails: any;
|
|
14862
|
+
} | null;
|
|
14863
|
+
} | null;
|
|
14864
|
+
};
|
|
14765
14865
|
export type UpdateEmailTemplateMutationVariables = Exact<{
|
|
14766
14866
|
input: EmailTemplateInput;
|
|
14767
14867
|
uuid: Scalars['UUID']['input'];
|
|
@@ -16825,6 +16925,7 @@ export type AccountProfileQuery = {
|
|
|
16825
16925
|
__typename?: 'AccountProfileType';
|
|
16826
16926
|
id: string;
|
|
16827
16927
|
companyProfile?: any | null;
|
|
16928
|
+
reportEmails: any;
|
|
16828
16929
|
} | null;
|
|
16829
16930
|
};
|
|
16830
16931
|
export type AccountSubscriptionQueryVariables = Exact<{
|
|
@@ -18011,6 +18112,7 @@ export type CampaignContactsQuery = {
|
|
|
18011
18112
|
stepOrder?: number | null;
|
|
18012
18113
|
populatedSubject?: string | null;
|
|
18013
18114
|
populatedBody?: string | null;
|
|
18115
|
+
replyCount?: number | null;
|
|
18014
18116
|
lastContactedBy?: {
|
|
18015
18117
|
__typename?: 'UserType';
|
|
18016
18118
|
id?: string | null;
|
|
@@ -18904,6 +19006,7 @@ export type CombinedCampaignContactsQuery = {
|
|
|
18904
19006
|
stepOrder?: number | null;
|
|
18905
19007
|
populatedSubject?: string | null;
|
|
18906
19008
|
populatedBody?: string | null;
|
|
19009
|
+
replyCount?: number | null;
|
|
18907
19010
|
lastContactedBy?: {
|
|
18908
19011
|
__typename?: 'UserType';
|
|
18909
19012
|
id?: string | null;
|
|
@@ -32584,6 +32687,30 @@ export declare function useSendTestEmailCombinedMutation(baseOptions?: Apollo.Mu
|
|
|
32584
32687
|
export type SendTestEmailCombinedMutationHookResult = ReturnType<typeof useSendTestEmailCombinedMutation>;
|
|
32585
32688
|
export type SendTestEmailCombinedMutationResult = Apollo.MutationResult<SendTestEmailCombinedMutation>;
|
|
32586
32689
|
export type SendTestEmailCombinedMutationOptions = Apollo.BaseMutationOptions<SendTestEmailCombinedMutation, SendTestEmailCombinedMutationVariables>;
|
|
32690
|
+
export declare const SendTestEmailReportDocument: Apollo.DocumentNode;
|
|
32691
|
+
export type SendTestEmailReportMutationFn = Apollo.MutationFunction<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>;
|
|
32692
|
+
/**
|
|
32693
|
+
* __useSendTestEmailReportMutation__
|
|
32694
|
+
*
|
|
32695
|
+
* To run a mutation, you first call `useSendTestEmailReportMutation` within a React component and pass it any options that fit your needs.
|
|
32696
|
+
* When your component renders, `useSendTestEmailReportMutation` returns a tuple that includes:
|
|
32697
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
32698
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
32699
|
+
*
|
|
32700
|
+
* @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;
|
|
32701
|
+
*
|
|
32702
|
+
* @example
|
|
32703
|
+
* const [sendTestEmailReportMutation, { data, loading, error }] = useSendTestEmailReportMutation({
|
|
32704
|
+
* variables: {
|
|
32705
|
+
* },
|
|
32706
|
+
* });
|
|
32707
|
+
*/
|
|
32708
|
+
export declare function useSendTestEmailReportMutation(baseOptions?: Apollo.MutationHookOptions<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>): Apollo.MutationTuple<SendTestEmailReportMutation, Exact<{
|
|
32709
|
+
[key: string]: never;
|
|
32710
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
32711
|
+
export type SendTestEmailReportMutationHookResult = ReturnType<typeof useSendTestEmailReportMutation>;
|
|
32712
|
+
export type SendTestEmailReportMutationResult = Apollo.MutationResult<SendTestEmailReportMutation>;
|
|
32713
|
+
export type SendTestEmailReportMutationOptions = Apollo.BaseMutationOptions<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>;
|
|
32587
32714
|
export declare const SetLeadNotInterestedDocument: Apollo.DocumentNode;
|
|
32588
32715
|
export type SetLeadNotInterestedMutationFn = Apollo.MutationFunction<SetLeadNotInterestedMutation, SetLeadNotInterestedMutationVariables>;
|
|
32589
32716
|
/**
|
|
@@ -33214,6 +33341,31 @@ export declare function useUpdateContactMutation(baseOptions?: Apollo.MutationHo
|
|
|
33214
33341
|
export type UpdateContactMutationHookResult = ReturnType<typeof useUpdateContactMutation>;
|
|
33215
33342
|
export type UpdateContactMutationResult = Apollo.MutationResult<UpdateContactMutation>;
|
|
33216
33343
|
export type UpdateContactMutationOptions = Apollo.BaseMutationOptions<UpdateContactMutation, UpdateContactMutationVariables>;
|
|
33344
|
+
export declare const UpdateEmailReportSettingsDocument: Apollo.DocumentNode;
|
|
33345
|
+
export type UpdateEmailReportSettingsMutationFn = Apollo.MutationFunction<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>;
|
|
33346
|
+
/**
|
|
33347
|
+
* __useUpdateEmailReportSettingsMutation__
|
|
33348
|
+
*
|
|
33349
|
+
* To run a mutation, you first call `useUpdateEmailReportSettingsMutation` within a React component and pass it any options that fit your needs.
|
|
33350
|
+
* When your component renders, `useUpdateEmailReportSettingsMutation` returns a tuple that includes:
|
|
33351
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
33352
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
33353
|
+
*
|
|
33354
|
+
* @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;
|
|
33355
|
+
*
|
|
33356
|
+
* @example
|
|
33357
|
+
* const [updateEmailReportSettingsMutation, { data, loading, error }] = useUpdateEmailReportSettingsMutation({
|
|
33358
|
+
* variables: {
|
|
33359
|
+
* input: // value for 'input'
|
|
33360
|
+
* },
|
|
33361
|
+
* });
|
|
33362
|
+
*/
|
|
33363
|
+
export declare function useUpdateEmailReportSettingsMutation(baseOptions?: Apollo.MutationHookOptions<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>): Apollo.MutationTuple<UpdateEmailReportSettingsMutation, Exact<{
|
|
33364
|
+
input: EmailReportSettingsInput;
|
|
33365
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
33366
|
+
export type UpdateEmailReportSettingsMutationHookResult = ReturnType<typeof useUpdateEmailReportSettingsMutation>;
|
|
33367
|
+
export type UpdateEmailReportSettingsMutationResult = Apollo.MutationResult<UpdateEmailReportSettingsMutation>;
|
|
33368
|
+
export type UpdateEmailReportSettingsMutationOptions = Apollo.BaseMutationOptions<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>;
|
|
33217
33369
|
export declare const UpdateEmailTemplateDocument: Apollo.DocumentNode;
|
|
33218
33370
|
export type UpdateEmailTemplateMutationFn = Apollo.MutationFunction<UpdateEmailTemplateMutation, UpdateEmailTemplateMutationVariables>;
|
|
33219
33371
|
/**
|
|
@@ -35,10 +35,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.CreateRfqDocument = exports.CreateNotificationDocument = exports.CreateMysupplierDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignTemplateDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallScriptTemplateDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.ComposeAutomatedProspectingEmailDocument = exports.CompleteRfqDocument = exports.CompleteCampaignDocument = exports.ClearAllSavedSearchSpotsDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.BulkAssignCompanyOwnersDocument = exports.AddSupplierToSupplierListDocument = exports.AddSupplierToMySuppliersDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddCustomContactToSupplierListDocument = exports.AddContactsToSegmentsDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCombinedCampaignDocument = exports.AddContactsToCampaignDocument = exports.AddContactToSupplierListDocument = exports.AddContactToAutomatedProspectingDocument = exports.AcceptInvitationDocument = exports.UserBusinessProfileStateChoices = exports.UserAccountInvitationStatusChoices = exports.SortDirection = exports.SaasSubscriptionStatusChoices = exports.SaasPlanPlanTypeChoices = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.MailLogTypeEnum = exports.DateRangeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CampaignEmailTemplateCampaignTypeChoices = exports.CallCampaignLogOutcomeEnum = exports.AppSalesGoalTypeChoices = void 0;
|
|
37
37
|
exports.RemoveMemberDocument = exports.RemoveCustomContactFromSupplierListDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RemoveContactFromSupplierListDocument = exports.RemoveContactFromMySupplierDocument = exports.RemoveContactFromAutomatedProspectingDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.LaunchAutomatedProspectingDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.GenerateNewEmailDocument = exports.GenerateCallCampaignScriptDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSupplierlistDocument = exports.DeleteSegmentDocument = exports.DeleteSavedSearchSpotDocument = exports.DeleteSalesGoalDocument = exports.DeleteRfqlineitemDocument = exports.DeleteRfqDocument = exports.DeleteNotificationDocument = exports.DeleteMysupplierDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignTemplateDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallScriptTemplateDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSupplierlistDocument = exports.CreateSegmentDocument = exports.CreateSavedSearchSpotDocument = exports.CreateSalesGoalDocument = exports.CreateRfqlineitemDocument = void 0;
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.UserProfileDocument = void 0;
|
|
38
|
+
exports.UpdateSupplierlistDocument = exports.UpdateSegmentDocument = exports.UpdateSalesGoalDocument = exports.UpdateRfqlineitemDocument = exports.UpdateRfqDocument = exports.UpdateMysupplierDocument = exports.UpdateEmailTemplateDocument = exports.UpdateEmailReportSettingsDocument = exports.UpdateContactDocument = exports.UpdateCompanyProfileDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyExternalIdentifierDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignTemplateDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallScriptTemplateDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UpdateAutomatedProspectingIndustriesDocument = exports.UpdateAutomatedProspectingCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnskipAutomatedProspectingDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SkipAutomatedProspectingDocument = exports.SignupDocument = exports.SetLeadNotInterestedDocument = exports.SendTestEmailReportDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendRfqTestEmailDocument = exports.SendRfqDocument = exports.SendManualEmailDocument = exports.SendEmailToEmailThreadDocument = exports.SendEmailToContactDocument = exports.ScheduleRfqDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.SaveAutomatedProspectingConfigDocument = exports.ResumeCombinedCampaignDocument = exports.RequestProAccessDocument = exports.RemoveSupplierFromSupplierListDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = void 0;
|
|
39
|
+
exports.DashboardStatsDocument = exports.CurrentPipelineTotalDocument = exports.CurrentAccountDocument = exports.CrmFunnelReportDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanySearchDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyMetadataDocument = exports.CompanyExternalIdentifierDocument = exports.CompanyAudiencesAndCampaignsDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignTemplatesDocument = exports.CombinedCampaignTemplateDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallScriptTemplatesDocument = exports.CallScriptTemplateDocument = exports.CallCampaignsDocument = exports.CallCampaignScriptPreviewDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AutomatedProspectingStatsDocument = exports.AutomatedProspectingConfigDocument = exports.AutomatedProspectingCampaignsDocument = exports.AutomatedProspectingCampaignDocument = exports.AccountSubscriptionDocument = exports.AccountProfileDocument = exports.AccountMembersDocument = exports.AccountFeatureFlagsDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = void 0;
|
|
40
|
+
exports.TasksDocument = exports.TaskDocument = exports.SuppliersDocument = exports.SupplierlistListDocument = exports.SupplierlistDocument = exports.SupplierListCustomContactsDocument = exports.SupplierListContactsDocument = exports.SupplierDocument = exports.SuggestedCompanyFiltersDocument = exports.StatesOptionsDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.SavedSearchSpotsDocument = exports.SalesGoalsDocument = exports.SalesGoalReportDocument = exports.SalesGoalDocument = exports.RfqlineitemListDocument = exports.RfqlineitemDocument = exports.RfqSuppliersDocument = exports.RfqListDocument = exports.RfqDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MysupplierListDocument = exports.MysupplierDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.MailLogsDocument = exports.MailLogDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.GoogleReverseGeocodeDocument = exports.GooglePlacesAutocompleteDocument = exports.GooglePlaceDetailsDocument = exports.EmployeeSizesDocument = exports.EmailThreadsByCompanyDocument = exports.EmailThreadDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.EmailCampaignReportStatsDocument = exports.EmailCampaignReportOverviewDocument = exports.EmailCampaignReportByCampaignDocument = void 0;
|
|
41
|
+
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = void 0;
|
|
42
42
|
exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
|
|
43
43
|
exports.useAddContactToAutomatedProspectingMutation = useAddContactToAutomatedProspectingMutation;
|
|
44
44
|
exports.useAddContactToSupplierListMutation = useAddContactToSupplierListMutation;
|
|
@@ -141,6 +141,7 @@ exports.useSendRfqMutation = useSendRfqMutation;
|
|
|
141
141
|
exports.useSendRfqTestEmailMutation = useSendRfqTestEmailMutation;
|
|
142
142
|
exports.useSendTestEmailMutation = useSendTestEmailMutation;
|
|
143
143
|
exports.useSendTestEmailCombinedMutation = useSendTestEmailCombinedMutation;
|
|
144
|
+
exports.useSendTestEmailReportMutation = useSendTestEmailReportMutation;
|
|
144
145
|
exports.useSetLeadNotInterestedMutation = useSetLeadNotInterestedMutation;
|
|
145
146
|
exports.useSignupMutation = useSignupMutation;
|
|
146
147
|
exports.useSkipAutomatedProspectingMutation = useSkipAutomatedProspectingMutation;
|
|
@@ -165,6 +166,7 @@ exports.useUpdateCompanyExternalIdentifierMutation = useUpdateCompanyExternalIde
|
|
|
165
166
|
exports.useUpdateCompanyNoteMutation = useUpdateCompanyNoteMutation;
|
|
166
167
|
exports.useUpdateCompanyProfileMutation = useUpdateCompanyProfileMutation;
|
|
167
168
|
exports.useUpdateContactMutation = useUpdateContactMutation;
|
|
169
|
+
exports.useUpdateEmailReportSettingsMutation = useUpdateEmailReportSettingsMutation;
|
|
168
170
|
exports.useUpdateEmailTemplateMutation = useUpdateEmailTemplateMutation;
|
|
169
171
|
exports.useUpdateMysupplierMutation = useUpdateMysupplierMutation;
|
|
170
172
|
exports.useUpdateRfqMutation = useUpdateRfqMutation;
|
|
@@ -9112,6 +9114,34 @@ function useSendTestEmailCombinedMutation(baseOptions) {
|
|
|
9112
9114
|
const options = { ...defaultOptions, ...baseOptions };
|
|
9113
9115
|
return Apollo.useMutation(exports.SendTestEmailCombinedDocument, options);
|
|
9114
9116
|
}
|
|
9117
|
+
exports.SendTestEmailReportDocument = (0, client_1.gql) `
|
|
9118
|
+
mutation SendTestEmailReport {
|
|
9119
|
+
sendTestEmailReport {
|
|
9120
|
+
success
|
|
9121
|
+
message
|
|
9122
|
+
}
|
|
9123
|
+
}
|
|
9124
|
+
`;
|
|
9125
|
+
/**
|
|
9126
|
+
* __useSendTestEmailReportMutation__
|
|
9127
|
+
*
|
|
9128
|
+
* To run a mutation, you first call `useSendTestEmailReportMutation` within a React component and pass it any options that fit your needs.
|
|
9129
|
+
* When your component renders, `useSendTestEmailReportMutation` returns a tuple that includes:
|
|
9130
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9131
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9132
|
+
*
|
|
9133
|
+
* @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;
|
|
9134
|
+
*
|
|
9135
|
+
* @example
|
|
9136
|
+
* const [sendTestEmailReportMutation, { data, loading, error }] = useSendTestEmailReportMutation({
|
|
9137
|
+
* variables: {
|
|
9138
|
+
* },
|
|
9139
|
+
* });
|
|
9140
|
+
*/
|
|
9141
|
+
function useSendTestEmailReportMutation(baseOptions) {
|
|
9142
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
9143
|
+
return Apollo.useMutation(exports.SendTestEmailReportDocument, options);
|
|
9144
|
+
}
|
|
9115
9145
|
exports.SetLeadNotInterestedDocument = (0, client_1.gql) `
|
|
9116
9146
|
mutation SetLeadNotInterested($input: SetLeadAsNotInterestedInput) {
|
|
9117
9147
|
setLeadNotInterested(input: $input) {
|
|
@@ -11401,6 +11431,7 @@ exports.UpdateCompanyProfileDocument = (0, client_1.gql) `
|
|
|
11401
11431
|
accountProfile {
|
|
11402
11432
|
id
|
|
11403
11433
|
companyProfile
|
|
11434
|
+
reportEmails
|
|
11404
11435
|
}
|
|
11405
11436
|
}
|
|
11406
11437
|
}
|
|
@@ -11524,6 +11555,40 @@ function useUpdateContactMutation(baseOptions) {
|
|
|
11524
11555
|
const options = { ...defaultOptions, ...baseOptions };
|
|
11525
11556
|
return Apollo.useMutation(exports.UpdateContactDocument, options);
|
|
11526
11557
|
}
|
|
11558
|
+
exports.UpdateEmailReportSettingsDocument = (0, client_1.gql) `
|
|
11559
|
+
mutation UpdateEmailReportSettings($input: EmailReportSettingsInput!) {
|
|
11560
|
+
updateEmailReportSettings(input: $input) {
|
|
11561
|
+
success
|
|
11562
|
+
message
|
|
11563
|
+
accountProfile {
|
|
11564
|
+
id
|
|
11565
|
+
companyProfile
|
|
11566
|
+
reportEmails
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
}
|
|
11570
|
+
`;
|
|
11571
|
+
/**
|
|
11572
|
+
* __useUpdateEmailReportSettingsMutation__
|
|
11573
|
+
*
|
|
11574
|
+
* To run a mutation, you first call `useUpdateEmailReportSettingsMutation` within a React component and pass it any options that fit your needs.
|
|
11575
|
+
* When your component renders, `useUpdateEmailReportSettingsMutation` returns a tuple that includes:
|
|
11576
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11577
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11578
|
+
*
|
|
11579
|
+
* @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;
|
|
11580
|
+
*
|
|
11581
|
+
* @example
|
|
11582
|
+
* const [updateEmailReportSettingsMutation, { data, loading, error }] = useUpdateEmailReportSettingsMutation({
|
|
11583
|
+
* variables: {
|
|
11584
|
+
* input: // value for 'input'
|
|
11585
|
+
* },
|
|
11586
|
+
* });
|
|
11587
|
+
*/
|
|
11588
|
+
function useUpdateEmailReportSettingsMutation(baseOptions) {
|
|
11589
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
11590
|
+
return Apollo.useMutation(exports.UpdateEmailReportSettingsDocument, options);
|
|
11591
|
+
}
|
|
11527
11592
|
exports.UpdateEmailTemplateDocument = (0, client_1.gql) `
|
|
11528
11593
|
mutation UpdateEmailTemplate($input: EmailTemplateInput!, $uuid: UUID!) {
|
|
11529
11594
|
updateEmailTemplate(input: $input, uuid: $uuid) {
|
|
@@ -13681,6 +13746,7 @@ exports.AccountProfileDocument = (0, client_1.gql) `
|
|
|
13681
13746
|
accountProfile {
|
|
13682
13747
|
id
|
|
13683
13748
|
companyProfile
|
|
13749
|
+
reportEmails
|
|
13684
13750
|
}
|
|
13685
13751
|
}
|
|
13686
13752
|
`;
|
|
@@ -15572,6 +15638,7 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
|
15572
15638
|
}
|
|
15573
15639
|
populatedSubject
|
|
15574
15640
|
populatedBody
|
|
15641
|
+
replyCount
|
|
15575
15642
|
}
|
|
15576
15643
|
pagination {
|
|
15577
15644
|
currentPage
|
|
@@ -16536,6 +16603,7 @@ exports.CombinedCampaignContactsDocument = (0, client_1.gql) `
|
|
|
16536
16603
|
}
|
|
16537
16604
|
populatedSubject
|
|
16538
16605
|
populatedBody
|
|
16606
|
+
replyCount
|
|
16539
16607
|
}
|
|
16540
16608
|
pagination {
|
|
16541
16609
|
currentPage
|
package/dist/mutations.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ export declare const LOGIN_WITH_MICROSOFT: import("@apollo/client").DocumentNode
|
|
|
72
72
|
export declare const SUBMIT_FEEDBACK: import("@apollo/client").DocumentNode;
|
|
73
73
|
export declare const REQUEST_PRO_ACCESS: import("@apollo/client").DocumentNode;
|
|
74
74
|
export declare const UPDATE_COMPANY_PROFILE: import("@apollo/client").DocumentNode;
|
|
75
|
+
export declare const UPDATE_EMAIL_REPORT_SETTINGS: import("@apollo/client").DocumentNode;
|
|
76
|
+
export declare const SEND_TEST_EMAIL_REPORT: import("@apollo/client").DocumentNode;
|
|
75
77
|
export declare const CREATE_SEGMENT: import("@apollo/client").DocumentNode;
|
|
76
78
|
export declare const UPDATE_SEGMENT: import("@apollo/client").DocumentNode;
|
|
77
79
|
export declare const DELETE_SEGMENT: import("@apollo/client").DocumentNode;
|
package/dist/mutations.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = exports.DELETE_COMBINED_CAMPAIGN_TEMPLATE = exports.UPDATE_COMBINED_CAMPAIGN_TEMPLATE = exports.CREATE_COMBINED_CAMPAIGN_TEMPLATE = exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = exports.ADD_CONTACTS_TO_COMBINED_CAMPAIGN = exports.SEND_TEST_EMAIL_COMBINED = exports.SEND_MANUAL_EMAIL = exports.UPDATE_COMBINED_CAMPAIGN_LOGS = exports.UPDATE_COMBINED_CAMPAIGN_LOG = exports.CANCEL_COMBINED_CAMPAIGN = exports.RESUME_COMBINED_CAMPAIGN = exports.PAUSE_COMBINED_CAMPAIGN = exports.SCHEDULE_COMBINED_CAMPAIGN = exports.START_COMBINED_CAMPAIGN = exports.DELETE_COMBINED_CAMPAIGN = exports.UPDATE_COMBINED_CAMPAIGN = exports.CREATE_COMBINED_CAMPAIGN = exports.SEND_EMAIL_TO_EMAIL_THREAD = exports.COMPLETE_RFQ = exports.SCHEDULE_RFQ = exports.SEND_RFQ = exports.REMOVE_CONTACT_FROM_MY_SUPPLIER = exports.ADD_SUPPLIER_TO_MY_SUPPLIERS = exports.SEND_RFQ_TEST_EMAIL = exports.REMOVE_SUPPLIER_FROM_SUPPLIER_LIST = exports.ADD_SUPPLIER_TO_SUPPLIER_LIST = exports.REMOVE_CUSTOM_CONTACT_FROM_SUPPLIER_LIST = exports.ADD_CUSTOM_CONTACT_TO_SUPPLIER_LIST = exports.REMOVE_CONTACT_FROM_SUPPLIER_LIST = exports.ADD_CONTACT_TO_SUPPLIER_LIST = exports.UPDATE_RFQLINEITEM = exports.DELETE_RFQLINEITEM = exports.CREATE_RFQLINEITEM = exports.UPDATE_SUPPLIERLIST = exports.DELETE_SUPPLIERLIST = exports.CREATE_SUPPLIERLIST = exports.UPDATE_RFQ = exports.DELETE_RFQ = exports.CREATE_RFQ = exports.UPDATE_MYSUPPLIER = exports.DELETE_MYSUPPLIER = exports.CREATE_MYSUPPLIER = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.UPDATE_AUTOMATED_PROSPECTING_INDUSTRIES = exports.UNSKIP_AUTOMATED_PROSPECTING = exports.UPDATE_AUTOMATED_PROSPECTING_CAMPAIGN = exports.REMOVE_CONTACT_FROM_AUTOMATED_PROSPECTING = exports.ADD_CONTACT_TO_AUTOMATED_PROSPECTING = exports.SKIP_AUTOMATED_PROSPECTING = exports.LAUNCH_AUTOMATED_PROSPECTING = exports.COMPOSE_AUTOMATED_PROSPECTING_EMAIL = exports.SAVE_AUTOMATED_PROSPECTING_CONFIG = exports.CLEAR_ALL_SAVED_SEARCH_SPOTS = exports.DELETE_SAVED_SEARCH_SPOT = exports.CREATE_SAVED_SEARCH_SPOT = exports.DELETE_CALL_SCRIPT_TEMPLATE = exports.UPDATE_CALL_SCRIPT_TEMPLATE = exports.CREATE_CALL_SCRIPT_TEMPLATE = exports.GENERATE_CALL_CAMPAIGN_SCRIPT = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_SALES_GOAL = exports.UPDATE_SALES_GOAL = exports.CREATE_SALES_GOAL = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = exports.MARK_NOTIFICATION_AS_READ = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.GENERATE_NEW_EMAIL = void 0;
|
|
4
|
+
exports.DELETE_EMAIL_TEMPLATE = exports.UPDATE_EMAIL_TEMPLATE = exports.CREATE_EMAIL_TEMPLATE = exports.PREVIEW_CAMPAIGN_EMAIL = exports.SCHEDULE_CAMPAIGN = exports.SEND_EMAIL_TO_CONTACT = exports.SEND_TEST_EMAIL = exports.CANCEL_CAMPAIGN = exports.COMPLETE_CAMPAIGN = exports.PAUSE_CAMPAIGN = exports.START_CAMPAIGN = exports.REMOVE_SEGMENT_FROM_CAMPAIGN = exports.ADD_SEGMENT_TO_CAMPAIGN = exports.DELETE_CAMPAIGN = exports.UPDATE_CAMPAIGN = exports.CREATE_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_CAMPAIGN = exports.ADD_CONTACTS_TO_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_SEGMENT = exports.ADD_CONTACTS_TO_SEGMENTS = exports.ADD_CONTACTS_TO_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.SEND_TEST_EMAIL_REPORT = exports.UPDATE_EMAIL_REPORT_SETTINGS = exports.UPDATE_COMPANY_PROFILE = exports.REQUEST_PRO_ACCESS = exports.SUBMIT_FEEDBACK = exports.LOGIN_WITH_MICROSOFT = exports.LOGIN_WITH_GOOGLE = exports.UNSUBSCRIBE_FROM_EMAILS = exports.VALIDATE_OTP_AND_RESET_PASSWORD = exports.CHANGE_PASSWORD = exports.UPDATE_USER_PROFILE = exports.LOGIN = exports.CANCEL_INVITATION = exports.REMOVE_MEMBER = exports.REJECT_INVITATION = exports.ACCEPT_INVITATION = exports.INVITE_USER = exports.UPLOAD_FILE = exports.FORGOT_PASSWORD = exports.SIGNUP = exports.UPDATE_COMPANY_EXTERNAL_IDENTIFIER = exports.SET_LEAD_NOT_INTERESTED = exports.BULK_ASSIGN_COMPANY_OWNERS = exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = void 0;
|
|
5
|
+
exports.UPDATE_AUTOMATED_PROSPECTING_INDUSTRIES = exports.UNSKIP_AUTOMATED_PROSPECTING = exports.UPDATE_AUTOMATED_PROSPECTING_CAMPAIGN = exports.REMOVE_CONTACT_FROM_AUTOMATED_PROSPECTING = exports.ADD_CONTACT_TO_AUTOMATED_PROSPECTING = exports.SKIP_AUTOMATED_PROSPECTING = exports.LAUNCH_AUTOMATED_PROSPECTING = exports.COMPOSE_AUTOMATED_PROSPECTING_EMAIL = exports.SAVE_AUTOMATED_PROSPECTING_CONFIG = exports.CLEAR_ALL_SAVED_SEARCH_SPOTS = exports.DELETE_SAVED_SEARCH_SPOT = exports.CREATE_SAVED_SEARCH_SPOT = exports.DELETE_CALL_SCRIPT_TEMPLATE = exports.UPDATE_CALL_SCRIPT_TEMPLATE = exports.CREATE_CALL_SCRIPT_TEMPLATE = exports.GENERATE_CALL_CAMPAIGN_SCRIPT = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_SALES_GOAL = exports.UPDATE_SALES_GOAL = exports.CREATE_SALES_GOAL = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = exports.MARK_NOTIFICATION_AS_READ = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.GENERATE_NEW_EMAIL = exports.REDUCE_SPAM = exports.EMAIL_TONE = void 0;
|
|
6
6
|
const client_1 = require("@apollo/client");
|
|
7
7
|
exports.CREATE_MYSUPPLIER = (0, client_1.gql) `
|
|
8
8
|
mutation CreateMysupplier($input: MySupplierInput!) {
|
|
@@ -7066,9 +7066,29 @@ mutation UpdateCompanyProfile($input: CompanyProfileInput!) {
|
|
|
7066
7066
|
accountProfile {
|
|
7067
7067
|
id
|
|
7068
7068
|
companyProfile
|
|
7069
|
+
reportEmails
|
|
7069
7070
|
}
|
|
7070
7071
|
}
|
|
7071
7072
|
}`;
|
|
7073
|
+
exports.UPDATE_EMAIL_REPORT_SETTINGS = (0, client_1.gql) `
|
|
7074
|
+
mutation UpdateEmailReportSettings($input: EmailReportSettingsInput!) {
|
|
7075
|
+
updateEmailReportSettings(input: $input) {
|
|
7076
|
+
success
|
|
7077
|
+
message
|
|
7078
|
+
accountProfile {
|
|
7079
|
+
id
|
|
7080
|
+
companyProfile
|
|
7081
|
+
reportEmails
|
|
7082
|
+
}
|
|
7083
|
+
}
|
|
7084
|
+
}`;
|
|
7085
|
+
exports.SEND_TEST_EMAIL_REPORT = (0, client_1.gql) `
|
|
7086
|
+
mutation SendTestEmailReport {
|
|
7087
|
+
sendTestEmailReport {
|
|
7088
|
+
success
|
|
7089
|
+
message
|
|
7090
|
+
}
|
|
7091
|
+
}`;
|
|
7072
7092
|
exports.CREATE_SEGMENT = (0, client_1.gql) `
|
|
7073
7093
|
mutation CreateSegment($input: SegmentInput!) {
|
|
7074
7094
|
createSegment(input: $input) {
|
package/dist/queries.js
CHANGED
|
@@ -5628,6 +5628,7 @@ query CombinedCampaignContacts($campaignUuid: ID!, $activityType: String, $page:
|
|
|
5628
5628
|
}
|
|
5629
5629
|
populatedSubject
|
|
5630
5630
|
populatedBody
|
|
5631
|
+
replyCount
|
|
5631
5632
|
}
|
|
5632
5633
|
pagination {
|
|
5633
5634
|
currentPage
|
|
@@ -8699,6 +8700,7 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
|
|
|
8699
8700
|
}
|
|
8700
8701
|
populatedSubject
|
|
8701
8702
|
populatedBody
|
|
8703
|
+
replyCount
|
|
8702
8704
|
}
|
|
8703
8705
|
pagination {
|
|
8704
8706
|
currentPage
|
|
@@ -11715,5 +11717,6 @@ query AccountProfile {
|
|
|
11715
11717
|
accountProfile {
|
|
11716
11718
|
id
|
|
11717
11719
|
companyProfile
|
|
11720
|
+
reportEmails
|
|
11718
11721
|
}
|
|
11719
11722
|
}`;
|
package/dist/sdk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CloudForgeClientOptions } from "./client";
|
|
2
|
-
import { AddContactToSupplierListInput, AddCustomContactToSupplierInput, AddSupplierToMySuppliersInput, AddSupplierToSupplierListInput, AutomatedProspectingCampaignInput, BulkAssignOwnersInput, CallReportFilterInput, CallScriptTemplateInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanyProfileInput, CompanySortInput, CompleteRfqInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSalesGoalInput, CreateSegmentMutationVariables, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CustomContactInput, EmailAttachmentInput, EmailCampaignReportFilterInput, EmailToneInput, FileUploadInput, GenerateCallCampaignScriptInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MailLogFilterInput, MicrosoftUserInput, MySupplierInput, PaginationInput, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, RemoveContactFromMySupplierInput, RemoveContactFromSupplierListInput, RemoveCustomContactFromSupplierInput, RemoveSupplierFromSupplierListInput, RfqInput, RfqLineItemInput, SalesGoalFilterInput, SaveNylasConnectionMutationVariables, Scalars, ScheduleRfqInput, SegmentFilterInput, SendRfqInput, SendRfqTestEmailInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, SupplierListInput, SupplierSearchFilterInput, SupplierSortInput, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSalesGoalInput, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
|
|
2
|
+
import { AddContactToSupplierListInput, AddCustomContactToSupplierInput, AddSupplierToMySuppliersInput, AddSupplierToSupplierListInput, AutomatedProspectingCampaignInput, BulkAssignOwnersInput, CallReportFilterInput, CallScriptTemplateInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanyProfileInput, CompanySortInput, CompleteRfqInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSalesGoalInput, CreateSegmentMutationVariables, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CustomContactInput, EmailAttachmentInput, EmailCampaignReportFilterInput, EmailReportSettingsInput, EmailToneInput, FileUploadInput, GenerateCallCampaignScriptInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MailLogFilterInput, MicrosoftUserInput, MySupplierInput, PaginationInput, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, RemoveContactFromMySupplierInput, RemoveContactFromSupplierListInput, RemoveCustomContactFromSupplierInput, RemoveSupplierFromSupplierListInput, RfqInput, RfqLineItemInput, SalesGoalFilterInput, SaveNylasConnectionMutationVariables, Scalars, ScheduleRfqInput, SegmentFilterInput, SendRfqInput, SendRfqTestEmailInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, SupplierListInput, SupplierSearchFilterInput, SupplierSortInput, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSalesGoalInput, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
|
|
3
3
|
export declare class CloudForgeSDK {
|
|
4
4
|
private client;
|
|
5
5
|
private apolloClient;
|
|
@@ -110,6 +110,7 @@ export declare class CloudForgeSDK {
|
|
|
110
110
|
sendRfqTestEmail(input: SendRfqTestEmailInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
111
111
|
sendTestEmail(campaignId: string, emailAddress: string, subject: string, template: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
112
112
|
sendTestEmailCombined(campaignId: string, emailAddress: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
113
|
+
sendTestEmailReport(): Promise<import("@apollo/client").FetchResult<any>>;
|
|
113
114
|
setLeadNotInterested(input?: SetLeadAsNotInterestedInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
114
115
|
signup(input: SignupInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
115
116
|
skipAutomatedProspecting(campaignId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
@@ -134,6 +135,7 @@ export declare class CloudForgeSDK {
|
|
|
134
135
|
updateCompanyNote(input: CompanyNoteInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
135
136
|
updateCompanyProfile(input: CompanyProfileInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
136
137
|
updateContact(input: UpdateContactMutationVariables): Promise<import("@apollo/client").FetchResult<any>>;
|
|
138
|
+
updateEmailReportSettings(input: EmailReportSettingsInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
137
139
|
updateEmailTemplate(input: UpdateEmailTemplateMutationVariables, uuid: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
138
140
|
updateMysupplier(id: string, input: MySupplierInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
139
141
|
updateRfq(id: string, input: RfqInput): Promise<import("@apollo/client").FetchResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -640,6 +640,11 @@ class CloudForgeSDK {
|
|
|
640
640
|
variables: { campaignId, emailAddress }
|
|
641
641
|
});
|
|
642
642
|
}
|
|
643
|
+
async sendTestEmailReport() {
|
|
644
|
+
return this.apolloClient.mutate({
|
|
645
|
+
mutation: mutations_1.SEND_TEST_EMAIL_REPORT
|
|
646
|
+
});
|
|
647
|
+
}
|
|
643
648
|
async setLeadNotInterested(input) {
|
|
644
649
|
return this.apolloClient.mutate({
|
|
645
650
|
mutation: mutations_1.SET_LEAD_NOT_INTERESTED,
|
|
@@ -784,6 +789,12 @@ class CloudForgeSDK {
|
|
|
784
789
|
variables: { ...input }
|
|
785
790
|
});
|
|
786
791
|
}
|
|
792
|
+
async updateEmailReportSettings(input) {
|
|
793
|
+
return this.apolloClient.mutate({
|
|
794
|
+
mutation: mutations_1.UPDATE_EMAIL_REPORT_SETTINGS,
|
|
795
|
+
variables: { ...input }
|
|
796
|
+
});
|
|
797
|
+
}
|
|
787
798
|
async updateEmailTemplate(input, uuid) {
|
|
788
799
|
return this.apolloClient.mutate({
|
|
789
800
|
mutation: mutations_1.UPDATE_EMAIL_TEMPLATE,
|