cf-service-sdk 0.1.23 → 0.1.24
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 +148 -0
- package/dist/generated/graphql.js +70 -4
- package/dist/mutations.d.ts +2 -0
- package/dist/mutations.js +22 -2
- package/dist/queries.js +1 -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 = {
|
|
@@ -2251,6 +2253,30 @@ export type EmailIntegrationType = {
|
|
|
2251
2253
|
provider: Scalars['String']['output'];
|
|
2252
2254
|
updatedAt: Scalars['DateTime']['output'];
|
|
2253
2255
|
};
|
|
2256
|
+
/**
|
|
2257
|
+
* Input for updating account-level automated email report settings.
|
|
2258
|
+
*
|
|
2259
|
+
* Stored in AccountProfile.report_emails as:
|
|
2260
|
+
* {
|
|
2261
|
+
* "enabled": bool,
|
|
2262
|
+
* "frequency": "monday" | "friday",
|
|
2263
|
+
* "send_time": "HH:MM",
|
|
2264
|
+
* "recipients": [user_id, ...],
|
|
2265
|
+
* "reports": ["sales_activity", "current_pipeline", ...]
|
|
2266
|
+
* }
|
|
2267
|
+
*/
|
|
2268
|
+
export type EmailReportSettingsInput = {
|
|
2269
|
+
/** Enable or disable automated report emails for this account */
|
|
2270
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2271
|
+
/** Send day: 'monday' or 'friday' */
|
|
2272
|
+
frequency?: InputMaybe<Scalars['String']['input']>;
|
|
2273
|
+
/** User IDs of account members to receive the report */
|
|
2274
|
+
recipients?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
2275
|
+
/** Report keys: 'sales_activity', 'current_pipeline', 'goals_vs_activity', 'email_activity', 'call_activity', 'site_visit' */
|
|
2276
|
+
reports?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2277
|
+
/** Send time in HH:MM format, e.g. '08:00' */
|
|
2278
|
+
sendTime?: InputMaybe<Scalars['String']['input']>;
|
|
2279
|
+
};
|
|
2254
2280
|
/** EmailTemplateInput for creating/updating email templates */
|
|
2255
2281
|
export type EmailTemplateInput = {
|
|
2256
2282
|
/** Template description */
|
|
@@ -2838,6 +2864,12 @@ export type Mutation = {
|
|
|
2838
2864
|
sendTestEmail?: Maybe<SendTestEmail>;
|
|
2839
2865
|
/** Send test email for combined campaign using content from first email step */
|
|
2840
2866
|
sendTestEmailCombined?: Maybe<SendTestEmailCombined>;
|
|
2867
|
+
/**
|
|
2868
|
+
* SendTestEmailReport — immediately send one report email to the requesting user.
|
|
2869
|
+
*
|
|
2870
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
2871
|
+
*/
|
|
2872
|
+
sendTestEmailReport?: Maybe<SendTestEmailReport>;
|
|
2841
2873
|
setLeadNotInterested?: Maybe<SetLeadAsNotInterestedMutation>;
|
|
2842
2874
|
/** Signup - Register a new user and create their account */
|
|
2843
2875
|
signup?: Maybe<Signup>;
|
|
@@ -2877,6 +2909,15 @@ export type Mutation = {
|
|
|
2877
2909
|
/** UpdateCompanyProfile - Update the company profile JSON field for the user's account */
|
|
2878
2910
|
updateCompanyProfile?: Maybe<UpdateCompanyProfile>;
|
|
2879
2911
|
updateContact?: Maybe<UpdateContact>;
|
|
2912
|
+
/**
|
|
2913
|
+
* UpdateEmailReportSettings — save automated report email preferences for the account.
|
|
2914
|
+
*
|
|
2915
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
2916
|
+
* Settings are stored in AccountProfile.report_emails as a JSON blob so that
|
|
2917
|
+
* individual sub-fields can be queried directly via Django ORM, e.g.:
|
|
2918
|
+
* AccountProfile.objects.filter(report_emails__frequency='monday')
|
|
2919
|
+
*/
|
|
2920
|
+
updateEmailReportSettings?: Maybe<UpdateEmailReportSettings>;
|
|
2880
2921
|
/** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
|
|
2881
2922
|
updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
|
|
2882
2923
|
updateMysupplier?: Maybe<Procurement_MySupplierType>;
|
|
@@ -3448,6 +3489,10 @@ export type MutationUpdateContactArgs = {
|
|
|
3448
3489
|
input?: InputMaybe<ContactInput>;
|
|
3449
3490
|
};
|
|
3450
3491
|
/** Mutations */
|
|
3492
|
+
export type MutationUpdateEmailReportSettingsArgs = {
|
|
3493
|
+
input: EmailReportSettingsInput;
|
|
3494
|
+
};
|
|
3495
|
+
/** Mutations */
|
|
3451
3496
|
export type MutationUpdateEmailTemplateArgs = {
|
|
3452
3497
|
input: EmailTemplateInput;
|
|
3453
3498
|
uuid: Scalars['UUID']['input'];
|
|
@@ -5103,6 +5148,16 @@ export type SendTestEmailCombined = {
|
|
|
5103
5148
|
message?: Maybe<Scalars['String']['output']>;
|
|
5104
5149
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5105
5150
|
};
|
|
5151
|
+
/**
|
|
5152
|
+
* SendTestEmailReport — immediately send one report email to the requesting user.
|
|
5153
|
+
*
|
|
5154
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
5155
|
+
*/
|
|
5156
|
+
export type SendTestEmailReport = {
|
|
5157
|
+
__typename?: 'SendTestEmailReport';
|
|
5158
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
5159
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5160
|
+
};
|
|
5106
5161
|
/** Input type for setting a lead as not interested */
|
|
5107
5162
|
export type SetLeadAsNotInterestedInput = {
|
|
5108
5163
|
/** ID of the contact to mark as not interested */
|
|
@@ -5514,6 +5569,20 @@ export type UpdateContact = {
|
|
|
5514
5569
|
__typename?: 'UpdateContact';
|
|
5515
5570
|
contact?: Maybe<ContactObject>;
|
|
5516
5571
|
};
|
|
5572
|
+
/**
|
|
5573
|
+
* UpdateEmailReportSettings — save automated report email preferences for the account.
|
|
5574
|
+
*
|
|
5575
|
+
* Gated by the 'automated_report_emails_enabled' feature flag on the account.
|
|
5576
|
+
* Settings are stored in AccountProfile.report_emails as a JSON blob so that
|
|
5577
|
+
* individual sub-fields can be queried directly via Django ORM, e.g.:
|
|
5578
|
+
* AccountProfile.objects.filter(report_emails__frequency='monday')
|
|
5579
|
+
*/
|
|
5580
|
+
export type UpdateEmailReportSettings = {
|
|
5581
|
+
__typename?: 'UpdateEmailReportSettings';
|
|
5582
|
+
accountProfile?: Maybe<AccountProfileType>;
|
|
5583
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
5584
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5585
|
+
};
|
|
5517
5586
|
/** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
|
|
5518
5587
|
export type UpdateEmailTemplate = {
|
|
5519
5588
|
__typename?: 'UpdateEmailTemplate';
|
|
@@ -12660,6 +12729,17 @@ export type SendTestEmailCombinedMutation = {
|
|
|
12660
12729
|
message?: string | null;
|
|
12661
12730
|
} | null;
|
|
12662
12731
|
};
|
|
12732
|
+
export type SendTestEmailReportMutationVariables = Exact<{
|
|
12733
|
+
[key: string]: never;
|
|
12734
|
+
}>;
|
|
12735
|
+
export type SendTestEmailReportMutation = {
|
|
12736
|
+
__typename?: 'Mutation';
|
|
12737
|
+
sendTestEmailReport?: {
|
|
12738
|
+
__typename?: 'SendTestEmailReport';
|
|
12739
|
+
success?: boolean | null;
|
|
12740
|
+
message?: string | null;
|
|
12741
|
+
} | null;
|
|
12742
|
+
};
|
|
12663
12743
|
export type SetLeadNotInterestedMutationVariables = Exact<{
|
|
12664
12744
|
input?: InputMaybe<SetLeadAsNotInterestedInput>;
|
|
12665
12745
|
}>;
|
|
@@ -14671,6 +14751,7 @@ export type UpdateCompanyProfileMutation = {
|
|
|
14671
14751
|
__typename?: 'AccountProfileType';
|
|
14672
14752
|
id: string;
|
|
14673
14753
|
companyProfile?: any | null;
|
|
14754
|
+
reportEmails: any;
|
|
14674
14755
|
} | null;
|
|
14675
14756
|
} | null;
|
|
14676
14757
|
};
|
|
@@ -14762,6 +14843,23 @@ export type UpdateContactMutation = {
|
|
|
14762
14843
|
} | null;
|
|
14763
14844
|
} | null;
|
|
14764
14845
|
};
|
|
14846
|
+
export type UpdateEmailReportSettingsMutationVariables = Exact<{
|
|
14847
|
+
input: EmailReportSettingsInput;
|
|
14848
|
+
}>;
|
|
14849
|
+
export type UpdateEmailReportSettingsMutation = {
|
|
14850
|
+
__typename?: 'Mutation';
|
|
14851
|
+
updateEmailReportSettings?: {
|
|
14852
|
+
__typename?: 'UpdateEmailReportSettings';
|
|
14853
|
+
success?: boolean | null;
|
|
14854
|
+
message?: string | null;
|
|
14855
|
+
accountProfile?: {
|
|
14856
|
+
__typename?: 'AccountProfileType';
|
|
14857
|
+
id: string;
|
|
14858
|
+
companyProfile?: any | null;
|
|
14859
|
+
reportEmails: any;
|
|
14860
|
+
} | null;
|
|
14861
|
+
} | null;
|
|
14862
|
+
};
|
|
14765
14863
|
export type UpdateEmailTemplateMutationVariables = Exact<{
|
|
14766
14864
|
input: EmailTemplateInput;
|
|
14767
14865
|
uuid: Scalars['UUID']['input'];
|
|
@@ -16825,6 +16923,7 @@ export type AccountProfileQuery = {
|
|
|
16825
16923
|
__typename?: 'AccountProfileType';
|
|
16826
16924
|
id: string;
|
|
16827
16925
|
companyProfile?: any | null;
|
|
16926
|
+
reportEmails: any;
|
|
16828
16927
|
} | null;
|
|
16829
16928
|
};
|
|
16830
16929
|
export type AccountSubscriptionQueryVariables = Exact<{
|
|
@@ -32584,6 +32683,30 @@ export declare function useSendTestEmailCombinedMutation(baseOptions?: Apollo.Mu
|
|
|
32584
32683
|
export type SendTestEmailCombinedMutationHookResult = ReturnType<typeof useSendTestEmailCombinedMutation>;
|
|
32585
32684
|
export type SendTestEmailCombinedMutationResult = Apollo.MutationResult<SendTestEmailCombinedMutation>;
|
|
32586
32685
|
export type SendTestEmailCombinedMutationOptions = Apollo.BaseMutationOptions<SendTestEmailCombinedMutation, SendTestEmailCombinedMutationVariables>;
|
|
32686
|
+
export declare const SendTestEmailReportDocument: Apollo.DocumentNode;
|
|
32687
|
+
export type SendTestEmailReportMutationFn = Apollo.MutationFunction<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>;
|
|
32688
|
+
/**
|
|
32689
|
+
* __useSendTestEmailReportMutation__
|
|
32690
|
+
*
|
|
32691
|
+
* To run a mutation, you first call `useSendTestEmailReportMutation` within a React component and pass it any options that fit your needs.
|
|
32692
|
+
* When your component renders, `useSendTestEmailReportMutation` returns a tuple that includes:
|
|
32693
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
32694
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
32695
|
+
*
|
|
32696
|
+
* @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;
|
|
32697
|
+
*
|
|
32698
|
+
* @example
|
|
32699
|
+
* const [sendTestEmailReportMutation, { data, loading, error }] = useSendTestEmailReportMutation({
|
|
32700
|
+
* variables: {
|
|
32701
|
+
* },
|
|
32702
|
+
* });
|
|
32703
|
+
*/
|
|
32704
|
+
export declare function useSendTestEmailReportMutation(baseOptions?: Apollo.MutationHookOptions<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>): Apollo.MutationTuple<SendTestEmailReportMutation, Exact<{
|
|
32705
|
+
[key: string]: never;
|
|
32706
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
32707
|
+
export type SendTestEmailReportMutationHookResult = ReturnType<typeof useSendTestEmailReportMutation>;
|
|
32708
|
+
export type SendTestEmailReportMutationResult = Apollo.MutationResult<SendTestEmailReportMutation>;
|
|
32709
|
+
export type SendTestEmailReportMutationOptions = Apollo.BaseMutationOptions<SendTestEmailReportMutation, SendTestEmailReportMutationVariables>;
|
|
32587
32710
|
export declare const SetLeadNotInterestedDocument: Apollo.DocumentNode;
|
|
32588
32711
|
export type SetLeadNotInterestedMutationFn = Apollo.MutationFunction<SetLeadNotInterestedMutation, SetLeadNotInterestedMutationVariables>;
|
|
32589
32712
|
/**
|
|
@@ -33214,6 +33337,31 @@ export declare function useUpdateContactMutation(baseOptions?: Apollo.MutationHo
|
|
|
33214
33337
|
export type UpdateContactMutationHookResult = ReturnType<typeof useUpdateContactMutation>;
|
|
33215
33338
|
export type UpdateContactMutationResult = Apollo.MutationResult<UpdateContactMutation>;
|
|
33216
33339
|
export type UpdateContactMutationOptions = Apollo.BaseMutationOptions<UpdateContactMutation, UpdateContactMutationVariables>;
|
|
33340
|
+
export declare const UpdateEmailReportSettingsDocument: Apollo.DocumentNode;
|
|
33341
|
+
export type UpdateEmailReportSettingsMutationFn = Apollo.MutationFunction<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>;
|
|
33342
|
+
/**
|
|
33343
|
+
* __useUpdateEmailReportSettingsMutation__
|
|
33344
|
+
*
|
|
33345
|
+
* To run a mutation, you first call `useUpdateEmailReportSettingsMutation` within a React component and pass it any options that fit your needs.
|
|
33346
|
+
* When your component renders, `useUpdateEmailReportSettingsMutation` returns a tuple that includes:
|
|
33347
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
33348
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
33349
|
+
*
|
|
33350
|
+
* @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;
|
|
33351
|
+
*
|
|
33352
|
+
* @example
|
|
33353
|
+
* const [updateEmailReportSettingsMutation, { data, loading, error }] = useUpdateEmailReportSettingsMutation({
|
|
33354
|
+
* variables: {
|
|
33355
|
+
* input: // value for 'input'
|
|
33356
|
+
* },
|
|
33357
|
+
* });
|
|
33358
|
+
*/
|
|
33359
|
+
export declare function useUpdateEmailReportSettingsMutation(baseOptions?: Apollo.MutationHookOptions<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>): Apollo.MutationTuple<UpdateEmailReportSettingsMutation, Exact<{
|
|
33360
|
+
input: EmailReportSettingsInput;
|
|
33361
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
33362
|
+
export type UpdateEmailReportSettingsMutationHookResult = ReturnType<typeof useUpdateEmailReportSettingsMutation>;
|
|
33363
|
+
export type UpdateEmailReportSettingsMutationResult = Apollo.MutationResult<UpdateEmailReportSettingsMutation>;
|
|
33364
|
+
export type UpdateEmailReportSettingsMutationOptions = Apollo.BaseMutationOptions<UpdateEmailReportSettingsMutation, UpdateEmailReportSettingsMutationVariables>;
|
|
33217
33365
|
export declare const UpdateEmailTemplateDocument: Apollo.DocumentNode;
|
|
33218
33366
|
export type UpdateEmailTemplateMutationFn = Apollo.MutationFunction<UpdateEmailTemplateMutation, UpdateEmailTemplateMutationVariables>;
|
|
33219
33367
|
/**
|
|
@@ -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
|
`;
|
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
|
@@ -11715,5 +11715,6 @@ query AccountProfile {
|
|
|
11715
11715
|
accountProfile {
|
|
11716
11716
|
id
|
|
11717
11717
|
companyProfile
|
|
11718
|
+
reportEmails
|
|
11718
11719
|
}
|
|
11719
11720
|
}`;
|
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,
|