cf-service-sdk 0.0.65 → 0.0.67
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 +143 -0
- package/dist/generated/graphql.js +96 -3
- package/dist/mutations.d.ts +1 -0
- package/dist/mutations.js +34 -1
- package/dist/queries.js +36 -0
- package/dist/sdk.d.ts +1 -0
- package/dist/sdk.js +6 -0
- package/package.json +1 -1
|
@@ -1039,6 +1039,8 @@ export type CompanyFilterInput = {
|
|
|
1039
1039
|
showOwned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1040
1040
|
/** Filter by state(s) */
|
|
1041
1041
|
state?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1042
|
+
/** Filter by company statuses */
|
|
1043
|
+
statuses?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1042
1044
|
/** Filter by tag ID(s) */
|
|
1043
1045
|
tag?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
1044
1046
|
/** Filter by zip code(s) - searches all company locations */
|
|
@@ -1085,6 +1087,8 @@ export type CompanyInput = {
|
|
|
1085
1087
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1086
1088
|
productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
|
|
1087
1089
|
state?: InputMaybe<Scalars['String']['input']>;
|
|
1090
|
+
/** Company status */
|
|
1091
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
1088
1092
|
twitterUrl?: InputMaybe<Scalars['String']['input']>;
|
|
1089
1093
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
1090
1094
|
zipCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1281,6 +1285,10 @@ export type CompanyObject = {
|
|
|
1281
1285
|
/** Confidence score for the company's likely to purchase metals */
|
|
1282
1286
|
purchaseMetalConfidence?: Maybe<Scalars['Float']['output']>;
|
|
1283
1287
|
state?: Maybe<Scalars['String']['output']>;
|
|
1288
|
+
/** Company status (e.g., 'CONVERSATION', 'OUTREACH', etc.) */
|
|
1289
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
1290
|
+
/** List of all possible company statuses */
|
|
1291
|
+
statuses?: Maybe<Array<Maybe<CompanyStatusType>>>;
|
|
1284
1292
|
/** List of tags associated with the company */
|
|
1285
1293
|
tags?: Maybe<Array<Maybe<TagObject>>>;
|
|
1286
1294
|
/** All tasks associated with the company */
|
|
@@ -1363,6 +1371,14 @@ export type CompanySortInput = {
|
|
|
1363
1371
|
/** Field to sort by */
|
|
1364
1372
|
field: CompanySortField;
|
|
1365
1373
|
};
|
|
1374
|
+
export type CompanyStatusType = {
|
|
1375
|
+
__typename?: 'CompanyStatusType';
|
|
1376
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
1377
|
+
/** User who last updated the status */
|
|
1378
|
+
lastUpdatedBy?: Maybe<UserType>;
|
|
1379
|
+
/** Company status (e.g., 'CONVERSATION', 'OUTREACH', etc.) */
|
|
1380
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
1381
|
+
};
|
|
1366
1382
|
export type CompleteCampaign = {
|
|
1367
1383
|
__typename?: 'CompleteCampaign';
|
|
1368
1384
|
campaign?: Maybe<CampaignObject>;
|
|
@@ -1810,6 +1826,15 @@ export type ForgotPassword = {
|
|
|
1810
1826
|
message?: Maybe<Scalars['String']['output']>;
|
|
1811
1827
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1812
1828
|
};
|
|
1829
|
+
/** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
|
|
1830
|
+
export type GenerateNewEmail = {
|
|
1831
|
+
__typename?: 'GenerateNewEmail';
|
|
1832
|
+
body?: Maybe<Scalars['String']['output']>;
|
|
1833
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1834
|
+
subject?: Maybe<Scalars['String']['output']>;
|
|
1835
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1836
|
+
variablesUsed?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1837
|
+
};
|
|
1813
1838
|
/** Input type for hidden record mutations */
|
|
1814
1839
|
export type HiddenRecordInput = {
|
|
1815
1840
|
/** ID of the record to hide/unhide */
|
|
@@ -2021,6 +2046,8 @@ export type Mutation = {
|
|
|
2021
2046
|
emailTone?: Maybe<EmailTone>;
|
|
2022
2047
|
/** ForgotPassword - Request a password reset */
|
|
2023
2048
|
forgotPassword?: Maybe<ForgotPassword>;
|
|
2049
|
+
/** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
|
|
2050
|
+
generateNewEmail?: Maybe<GenerateNewEmail>;
|
|
2024
2051
|
/** Mutation to hide a record (contact or company) from query results */
|
|
2025
2052
|
hideRecord?: Maybe<HideRecord>;
|
|
2026
2053
|
/** InviteUser - Invite a user to join an account */
|
|
@@ -2243,6 +2270,11 @@ export type MutationForgotPasswordArgs = {
|
|
|
2243
2270
|
email: Scalars['String']['input'];
|
|
2244
2271
|
};
|
|
2245
2272
|
/** Mutations */
|
|
2273
|
+
export type MutationGenerateNewEmailArgs = {
|
|
2274
|
+
prompt: Scalars['String']['input'];
|
|
2275
|
+
variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2276
|
+
};
|
|
2277
|
+
/** Mutations */
|
|
2246
2278
|
export type MutationHideRecordArgs = {
|
|
2247
2279
|
input: HiddenRecordInput;
|
|
2248
2280
|
};
|
|
@@ -4554,6 +4586,7 @@ export type CreateCompanyMutation = {
|
|
|
4554
4586
|
isProspect?: boolean | null;
|
|
4555
4587
|
purchaseMetalConfidence?: number | null;
|
|
4556
4588
|
lastContactedAt?: any | null;
|
|
4589
|
+
status?: string | null;
|
|
4557
4590
|
tags?: Array<{
|
|
4558
4591
|
__typename?: 'TagObject';
|
|
4559
4592
|
id?: string | null;
|
|
@@ -4573,6 +4606,19 @@ export type CreateCompanyMutation = {
|
|
|
4573
4606
|
picture?: string | null;
|
|
4574
4607
|
} | null;
|
|
4575
4608
|
} | null> | null;
|
|
4609
|
+
statuses?: Array<{
|
|
4610
|
+
__typename?: 'CompanyStatusType';
|
|
4611
|
+
id?: string | null;
|
|
4612
|
+
status?: string | null;
|
|
4613
|
+
lastUpdatedBy?: {
|
|
4614
|
+
__typename?: 'UserType';
|
|
4615
|
+
id?: string | null;
|
|
4616
|
+
email?: string | null;
|
|
4617
|
+
firstName?: string | null;
|
|
4618
|
+
lastName?: string | null;
|
|
4619
|
+
picture?: string | null;
|
|
4620
|
+
} | null;
|
|
4621
|
+
} | null> | null;
|
|
4576
4622
|
locations?: Array<{
|
|
4577
4623
|
__typename?: 'CompanyLocationType';
|
|
4578
4624
|
id?: string | null;
|
|
@@ -6058,6 +6104,20 @@ export type ForgotPasswordMutation = {
|
|
|
6058
6104
|
message?: string | null;
|
|
6059
6105
|
} | null;
|
|
6060
6106
|
};
|
|
6107
|
+
export type GenerateNewEmailMutationVariables = Exact<{
|
|
6108
|
+
prompt: Scalars['String']['input'];
|
|
6109
|
+
variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
6110
|
+
}>;
|
|
6111
|
+
export type GenerateNewEmailMutation = {
|
|
6112
|
+
__typename?: 'Mutation';
|
|
6113
|
+
generateNewEmail?: {
|
|
6114
|
+
__typename?: 'GenerateNewEmail';
|
|
6115
|
+
success?: boolean | null;
|
|
6116
|
+
message?: string | null;
|
|
6117
|
+
subject?: string | null;
|
|
6118
|
+
body?: string | null;
|
|
6119
|
+
} | null;
|
|
6120
|
+
};
|
|
6061
6121
|
export type HideRecordMutationVariables = Exact<{
|
|
6062
6122
|
input: HiddenRecordInput;
|
|
6063
6123
|
}>;
|
|
@@ -8555,6 +8615,7 @@ export type UpdateCompanyMutation = {
|
|
|
8555
8615
|
isProspect?: boolean | null;
|
|
8556
8616
|
purchaseMetalConfidence?: number | null;
|
|
8557
8617
|
lastContactedAt?: any | null;
|
|
8618
|
+
status?: string | null;
|
|
8558
8619
|
tags?: Array<{
|
|
8559
8620
|
__typename?: 'TagObject';
|
|
8560
8621
|
id?: string | null;
|
|
@@ -8574,6 +8635,19 @@ export type UpdateCompanyMutation = {
|
|
|
8574
8635
|
picture?: string | null;
|
|
8575
8636
|
} | null;
|
|
8576
8637
|
} | null> | null;
|
|
8638
|
+
statuses?: Array<{
|
|
8639
|
+
__typename?: 'CompanyStatusType';
|
|
8640
|
+
id?: string | null;
|
|
8641
|
+
status?: string | null;
|
|
8642
|
+
lastUpdatedBy?: {
|
|
8643
|
+
__typename?: 'UserType';
|
|
8644
|
+
id?: string | null;
|
|
8645
|
+
email?: string | null;
|
|
8646
|
+
firstName?: string | null;
|
|
8647
|
+
lastName?: string | null;
|
|
8648
|
+
picture?: string | null;
|
|
8649
|
+
} | null;
|
|
8650
|
+
} | null> | null;
|
|
8577
8651
|
locations?: Array<{
|
|
8578
8652
|
__typename?: 'CompanyLocationType';
|
|
8579
8653
|
id?: string | null;
|
|
@@ -11899,6 +11973,7 @@ export type CompaniesQuery = {
|
|
|
11899
11973
|
isProspect?: boolean | null;
|
|
11900
11974
|
purchaseMetalConfidence?: number | null;
|
|
11901
11975
|
lastContactedAt?: any | null;
|
|
11976
|
+
status?: string | null;
|
|
11902
11977
|
tags?: Array<{
|
|
11903
11978
|
__typename?: 'TagObject';
|
|
11904
11979
|
id?: string | null;
|
|
@@ -11918,6 +11993,19 @@ export type CompaniesQuery = {
|
|
|
11918
11993
|
picture?: string | null;
|
|
11919
11994
|
} | null;
|
|
11920
11995
|
} | null> | null;
|
|
11996
|
+
statuses?: Array<{
|
|
11997
|
+
__typename?: 'CompanyStatusType';
|
|
11998
|
+
id?: string | null;
|
|
11999
|
+
status?: string | null;
|
|
12000
|
+
lastUpdatedBy?: {
|
|
12001
|
+
__typename?: 'UserType';
|
|
12002
|
+
id?: string | null;
|
|
12003
|
+
email?: string | null;
|
|
12004
|
+
firstName?: string | null;
|
|
12005
|
+
lastName?: string | null;
|
|
12006
|
+
picture?: string | null;
|
|
12007
|
+
} | null;
|
|
12008
|
+
} | null> | null;
|
|
11921
12009
|
locations?: Array<{
|
|
11922
12010
|
__typename?: 'CompanyLocationType';
|
|
11923
12011
|
id?: string | null;
|
|
@@ -12547,6 +12635,7 @@ export type CompanyQuery = {
|
|
|
12547
12635
|
isProspect?: boolean | null;
|
|
12548
12636
|
purchaseMetalConfidence?: number | null;
|
|
12549
12637
|
lastContactedAt?: any | null;
|
|
12638
|
+
status?: string | null;
|
|
12550
12639
|
tags?: Array<{
|
|
12551
12640
|
__typename?: 'TagObject';
|
|
12552
12641
|
id?: string | null;
|
|
@@ -12566,6 +12655,19 @@ export type CompanyQuery = {
|
|
|
12566
12655
|
picture?: string | null;
|
|
12567
12656
|
} | null;
|
|
12568
12657
|
} | null> | null;
|
|
12658
|
+
statuses?: Array<{
|
|
12659
|
+
__typename?: 'CompanyStatusType';
|
|
12660
|
+
id?: string | null;
|
|
12661
|
+
status?: string | null;
|
|
12662
|
+
lastUpdatedBy?: {
|
|
12663
|
+
__typename?: 'UserType';
|
|
12664
|
+
id?: string | null;
|
|
12665
|
+
email?: string | null;
|
|
12666
|
+
firstName?: string | null;
|
|
12667
|
+
lastName?: string | null;
|
|
12668
|
+
picture?: string | null;
|
|
12669
|
+
} | null;
|
|
12670
|
+
} | null> | null;
|
|
12569
12671
|
locations?: Array<{
|
|
12570
12672
|
__typename?: 'CompanyLocationType';
|
|
12571
12673
|
id?: string | null;
|
|
@@ -14621,6 +14723,7 @@ export type RecentHistoryQuery = {
|
|
|
14621
14723
|
isProspect?: boolean | null;
|
|
14622
14724
|
purchaseMetalConfidence?: number | null;
|
|
14623
14725
|
lastContactedAt?: any | null;
|
|
14726
|
+
status?: string | null;
|
|
14624
14727
|
tags?: Array<{
|
|
14625
14728
|
__typename?: 'TagObject';
|
|
14626
14729
|
id?: string | null;
|
|
@@ -14640,6 +14743,19 @@ export type RecentHistoryQuery = {
|
|
|
14640
14743
|
picture?: string | null;
|
|
14641
14744
|
} | null;
|
|
14642
14745
|
} | null> | null;
|
|
14746
|
+
statuses?: Array<{
|
|
14747
|
+
__typename?: 'CompanyStatusType';
|
|
14748
|
+
id?: string | null;
|
|
14749
|
+
status?: string | null;
|
|
14750
|
+
lastUpdatedBy?: {
|
|
14751
|
+
__typename?: 'UserType';
|
|
14752
|
+
id?: string | null;
|
|
14753
|
+
email?: string | null;
|
|
14754
|
+
firstName?: string | null;
|
|
14755
|
+
lastName?: string | null;
|
|
14756
|
+
picture?: string | null;
|
|
14757
|
+
} | null;
|
|
14758
|
+
} | null> | null;
|
|
14643
14759
|
locations?: Array<{
|
|
14644
14760
|
__typename?: 'CompanyLocationType';
|
|
14645
14761
|
id?: string | null;
|
|
@@ -16655,6 +16771,33 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
|
|
|
16655
16771
|
export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
|
|
16656
16772
|
export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
|
|
16657
16773
|
export type ForgotPasswordMutationOptions = Apollo.BaseMutationOptions<ForgotPasswordMutation, ForgotPasswordMutationVariables>;
|
|
16774
|
+
export declare const GenerateNewEmailDocument: Apollo.DocumentNode;
|
|
16775
|
+
export type GenerateNewEmailMutationFn = Apollo.MutationFunction<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
|
|
16776
|
+
/**
|
|
16777
|
+
* __useGenerateNewEmailMutation__
|
|
16778
|
+
*
|
|
16779
|
+
* To run a mutation, you first call `useGenerateNewEmailMutation` within a React component and pass it any options that fit your needs.
|
|
16780
|
+
* When your component renders, `useGenerateNewEmailMutation` returns a tuple that includes:
|
|
16781
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
16782
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
16783
|
+
*
|
|
16784
|
+
* @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;
|
|
16785
|
+
*
|
|
16786
|
+
* @example
|
|
16787
|
+
* const [generateNewEmailMutation, { data, loading, error }] = useGenerateNewEmailMutation({
|
|
16788
|
+
* variables: {
|
|
16789
|
+
* prompt: // value for 'prompt'
|
|
16790
|
+
* variables: // value for 'variables'
|
|
16791
|
+
* },
|
|
16792
|
+
* });
|
|
16793
|
+
*/
|
|
16794
|
+
export declare function useGenerateNewEmailMutation(baseOptions?: Apollo.MutationHookOptions<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>): Apollo.MutationTuple<GenerateNewEmailMutation, Exact<{
|
|
16795
|
+
prompt: Scalars["String"]["input"];
|
|
16796
|
+
variables?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
16797
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
16798
|
+
export type GenerateNewEmailMutationHookResult = ReturnType<typeof useGenerateNewEmailMutation>;
|
|
16799
|
+
export type GenerateNewEmailMutationResult = Apollo.MutationResult<GenerateNewEmailMutation>;
|
|
16800
|
+
export type GenerateNewEmailMutationOptions = Apollo.BaseMutationOptions<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
|
|
16658
16801
|
export declare const HideRecordDocument: Apollo.DocumentNode;
|
|
16659
16802
|
export type HideRecordMutationFn = Apollo.MutationFunction<HideRecordMutation, HideRecordMutationVariables>;
|
|
16660
16803
|
/**
|
|
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = void 0;
|
|
36
|
+
exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.GenerateNewEmailDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCombinedCampaignDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = void 0;
|
|
37
|
+
exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = void 0;
|
|
38
|
+
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = void 0;
|
|
39
39
|
exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
|
|
40
40
|
exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
|
|
41
41
|
exports.useAddContactsToCombinedCampaignMutation = useAddContactsToCombinedCampaignMutation;
|
|
@@ -72,6 +72,7 @@ exports.useDeleteTaskMutation = useDeleteTaskMutation;
|
|
|
72
72
|
exports.useDisconnectNylasIntegrationMutation = useDisconnectNylasIntegrationMutation;
|
|
73
73
|
exports.useEmailToneMutation = useEmailToneMutation;
|
|
74
74
|
exports.useForgotPasswordMutation = useForgotPasswordMutation;
|
|
75
|
+
exports.useGenerateNewEmailMutation = useGenerateNewEmailMutation;
|
|
75
76
|
exports.useHideRecordMutation = useHideRecordMutation;
|
|
76
77
|
exports.useInviteUserMutation = useInviteUserMutation;
|
|
77
78
|
exports.useLoginMutation = useLoginMutation;
|
|
@@ -1737,6 +1738,17 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
1737
1738
|
picture
|
|
1738
1739
|
}
|
|
1739
1740
|
}
|
|
1741
|
+
statuses {
|
|
1742
|
+
id
|
|
1743
|
+
status
|
|
1744
|
+
lastUpdatedBy {
|
|
1745
|
+
id
|
|
1746
|
+
email
|
|
1747
|
+
firstName
|
|
1748
|
+
lastName
|
|
1749
|
+
picture
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1740
1752
|
locations {
|
|
1741
1753
|
id
|
|
1742
1754
|
address1
|
|
@@ -2378,6 +2390,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
2378
2390
|
isProspect
|
|
2379
2391
|
purchaseMetalConfidence
|
|
2380
2392
|
lastContactedAt
|
|
2393
|
+
status
|
|
2381
2394
|
}
|
|
2382
2395
|
}
|
|
2383
2396
|
}
|
|
@@ -3492,6 +3505,38 @@ function useForgotPasswordMutation(baseOptions) {
|
|
|
3492
3505
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3493
3506
|
return Apollo.useMutation(exports.ForgotPasswordDocument, options);
|
|
3494
3507
|
}
|
|
3508
|
+
exports.GenerateNewEmailDocument = (0, client_1.gql) `
|
|
3509
|
+
mutation GenerateNewEmail($prompt: String!, $variables: [String]) {
|
|
3510
|
+
generateNewEmail(prompt: $prompt, variables: $variables) {
|
|
3511
|
+
success
|
|
3512
|
+
message
|
|
3513
|
+
subject
|
|
3514
|
+
body
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
`;
|
|
3518
|
+
/**
|
|
3519
|
+
* __useGenerateNewEmailMutation__
|
|
3520
|
+
*
|
|
3521
|
+
* To run a mutation, you first call `useGenerateNewEmailMutation` within a React component and pass it any options that fit your needs.
|
|
3522
|
+
* When your component renders, `useGenerateNewEmailMutation` returns a tuple that includes:
|
|
3523
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3524
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3525
|
+
*
|
|
3526
|
+
* @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;
|
|
3527
|
+
*
|
|
3528
|
+
* @example
|
|
3529
|
+
* const [generateNewEmailMutation, { data, loading, error }] = useGenerateNewEmailMutation({
|
|
3530
|
+
* variables: {
|
|
3531
|
+
* prompt: // value for 'prompt'
|
|
3532
|
+
* variables: // value for 'variables'
|
|
3533
|
+
* },
|
|
3534
|
+
* });
|
|
3535
|
+
*/
|
|
3536
|
+
function useGenerateNewEmailMutation(baseOptions) {
|
|
3537
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3538
|
+
return Apollo.useMutation(exports.GenerateNewEmailDocument, options);
|
|
3539
|
+
}
|
|
3495
3540
|
exports.HideRecordDocument = (0, client_1.gql) `
|
|
3496
3541
|
mutation HideRecord($input: HiddenRecordInput!) {
|
|
3497
3542
|
hideRecord(input: $input) {
|
|
@@ -6583,6 +6628,17 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
6583
6628
|
picture
|
|
6584
6629
|
}
|
|
6585
6630
|
}
|
|
6631
|
+
statuses {
|
|
6632
|
+
id
|
|
6633
|
+
status
|
|
6634
|
+
lastUpdatedBy {
|
|
6635
|
+
id
|
|
6636
|
+
email
|
|
6637
|
+
firstName
|
|
6638
|
+
lastName
|
|
6639
|
+
picture
|
|
6640
|
+
}
|
|
6641
|
+
}
|
|
6586
6642
|
locations {
|
|
6587
6643
|
id
|
|
6588
6644
|
address1
|
|
@@ -7224,6 +7280,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
7224
7280
|
isProspect
|
|
7225
7281
|
purchaseMetalConfidence
|
|
7226
7282
|
lastContactedAt
|
|
7283
|
+
status
|
|
7227
7284
|
}
|
|
7228
7285
|
}
|
|
7229
7286
|
}
|
|
@@ -10357,6 +10414,17 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
10357
10414
|
picture
|
|
10358
10415
|
}
|
|
10359
10416
|
}
|
|
10417
|
+
statuses {
|
|
10418
|
+
id
|
|
10419
|
+
status
|
|
10420
|
+
lastUpdatedBy {
|
|
10421
|
+
id
|
|
10422
|
+
email
|
|
10423
|
+
firstName
|
|
10424
|
+
lastName
|
|
10425
|
+
picture
|
|
10426
|
+
}
|
|
10427
|
+
}
|
|
10360
10428
|
locations {
|
|
10361
10429
|
id
|
|
10362
10430
|
address1
|
|
@@ -10896,6 +10964,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
10896
10964
|
isProspect
|
|
10897
10965
|
purchaseMetalConfidence
|
|
10898
10966
|
lastContactedAt
|
|
10967
|
+
status
|
|
10899
10968
|
}
|
|
10900
10969
|
pagination {
|
|
10901
10970
|
currentPage
|
|
@@ -10980,6 +11049,17 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
10980
11049
|
picture
|
|
10981
11050
|
}
|
|
10982
11051
|
}
|
|
11052
|
+
statuses {
|
|
11053
|
+
id
|
|
11054
|
+
status
|
|
11055
|
+
lastUpdatedBy {
|
|
11056
|
+
id
|
|
11057
|
+
email
|
|
11058
|
+
firstName
|
|
11059
|
+
lastName
|
|
11060
|
+
picture
|
|
11061
|
+
}
|
|
11062
|
+
}
|
|
10983
11063
|
locations {
|
|
10984
11064
|
id
|
|
10985
11065
|
address1
|
|
@@ -11621,6 +11701,7 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
11621
11701
|
isProspect
|
|
11622
11702
|
purchaseMetalConfidence
|
|
11623
11703
|
lastContactedAt
|
|
11704
|
+
status
|
|
11624
11705
|
}
|
|
11625
11706
|
}
|
|
11626
11707
|
`;
|
|
@@ -13434,6 +13515,17 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
13434
13515
|
picture
|
|
13435
13516
|
}
|
|
13436
13517
|
}
|
|
13518
|
+
statuses {
|
|
13519
|
+
id
|
|
13520
|
+
status
|
|
13521
|
+
lastUpdatedBy {
|
|
13522
|
+
id
|
|
13523
|
+
email
|
|
13524
|
+
firstName
|
|
13525
|
+
lastName
|
|
13526
|
+
picture
|
|
13527
|
+
}
|
|
13528
|
+
}
|
|
13437
13529
|
locations {
|
|
13438
13530
|
id
|
|
13439
13531
|
address1
|
|
@@ -13940,6 +14032,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
13940
14032
|
isProspect
|
|
13941
14033
|
purchaseMetalConfidence
|
|
13942
14034
|
lastContactedAt
|
|
14035
|
+
status
|
|
13943
14036
|
}
|
|
13944
14037
|
contactName
|
|
13945
14038
|
contactTitle
|
package/dist/mutations.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare const UPDATE_EMAIL_TEMPLATE: import("@apollo/client").DocumentNod
|
|
|
59
59
|
export declare const DELETE_EMAIL_TEMPLATE: import("@apollo/client").DocumentNode;
|
|
60
60
|
export declare const EMAIL_TONE: import("@apollo/client").DocumentNode;
|
|
61
61
|
export declare const REDUCE_SPAM: import("@apollo/client").DocumentNode;
|
|
62
|
+
export declare const GENERATE_NEW_EMAIL: import("@apollo/client").DocumentNode;
|
|
62
63
|
export declare const SAVE_NYLAS_CONNECTION: import("@apollo/client").DocumentNode;
|
|
63
64
|
export declare const DISCONNECT_NYLAS_INTEGRATION: import("@apollo/client").DocumentNode;
|
|
64
65
|
export declare const CREATE_NOTIFICATION: import("@apollo/client").DocumentNode;
|
package/dist/mutations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = 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.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 = void 0;
|
|
4
|
-
exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = 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_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.REDUCE_SPAM = exports.EMAIL_TONE = 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 = void 0;
|
|
4
|
+
exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = 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_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 = 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 = void 0;
|
|
5
5
|
const client_1 = require("@apollo/client");
|
|
6
6
|
exports.CREATE_COMBINED_CAMPAIGN = (0, client_1.gql) `
|
|
7
7
|
mutation CreateCombinedCampaign($input: CombinedCampaignInput!, $steps: [CombinedCampaignStepInput]) {
|
|
@@ -1718,6 +1718,17 @@ mutation CreateCompany($input: CompanyInput) {
|
|
|
1718
1718
|
picture
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
|
+
statuses {
|
|
1722
|
+
id
|
|
1723
|
+
status
|
|
1724
|
+
lastUpdatedBy {
|
|
1725
|
+
id
|
|
1726
|
+
email
|
|
1727
|
+
firstName
|
|
1728
|
+
lastName
|
|
1729
|
+
picture
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1721
1732
|
locations {
|
|
1722
1733
|
id
|
|
1723
1734
|
address1
|
|
@@ -2359,6 +2370,7 @@ mutation CreateCompany($input: CompanyInput) {
|
|
|
2359
2370
|
isProspect
|
|
2360
2371
|
purchaseMetalConfidence
|
|
2361
2372
|
lastContactedAt
|
|
2373
|
+
status
|
|
2362
2374
|
}
|
|
2363
2375
|
}
|
|
2364
2376
|
}`;
|
|
@@ -2404,6 +2416,17 @@ mutation UpdateCompany($input: CompanyInput) {
|
|
|
2404
2416
|
picture
|
|
2405
2417
|
}
|
|
2406
2418
|
}
|
|
2419
|
+
statuses {
|
|
2420
|
+
id
|
|
2421
|
+
status
|
|
2422
|
+
lastUpdatedBy {
|
|
2423
|
+
id
|
|
2424
|
+
email
|
|
2425
|
+
firstName
|
|
2426
|
+
lastName
|
|
2427
|
+
picture
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2407
2430
|
locations {
|
|
2408
2431
|
id
|
|
2409
2432
|
address1
|
|
@@ -3045,6 +3068,7 @@ mutation UpdateCompany($input: CompanyInput) {
|
|
|
3045
3068
|
isProspect
|
|
3046
3069
|
purchaseMetalConfidence
|
|
3047
3070
|
lastContactedAt
|
|
3071
|
+
status
|
|
3048
3072
|
}
|
|
3049
3073
|
}
|
|
3050
3074
|
}`;
|
|
@@ -4111,6 +4135,15 @@ mutation ReduceSpam($input: ReduceSpamInput!) {
|
|
|
4111
4135
|
}
|
|
4112
4136
|
}
|
|
4113
4137
|
}`;
|
|
4138
|
+
exports.GENERATE_NEW_EMAIL = (0, client_1.gql) `
|
|
4139
|
+
mutation GenerateNewEmail($prompt: String!, $variables: [String]) {
|
|
4140
|
+
generateNewEmail(prompt: $prompt, variables: $variables) {
|
|
4141
|
+
success
|
|
4142
|
+
message
|
|
4143
|
+
subject
|
|
4144
|
+
body
|
|
4145
|
+
}
|
|
4146
|
+
}`;
|
|
4114
4147
|
exports.SAVE_NYLAS_CONNECTION = (0, client_1.gql) `
|
|
4115
4148
|
mutation SaveNylasConnection($input: SaveNylasConnectionInput!) {
|
|
4116
4149
|
saveNylasConnection(input: $input) {
|
package/dist/queries.js
CHANGED
|
@@ -653,6 +653,17 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
|
|
|
653
653
|
picture
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
+
statuses {
|
|
657
|
+
id
|
|
658
|
+
status
|
|
659
|
+
lastUpdatedBy {
|
|
660
|
+
id
|
|
661
|
+
email
|
|
662
|
+
firstName
|
|
663
|
+
lastName
|
|
664
|
+
picture
|
|
665
|
+
}
|
|
666
|
+
}
|
|
656
667
|
locations {
|
|
657
668
|
id
|
|
658
669
|
address1
|
|
@@ -1159,6 +1170,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
|
|
|
1159
1170
|
isProspect
|
|
1160
1171
|
purchaseMetalConfidence
|
|
1161
1172
|
lastContactedAt
|
|
1173
|
+
status
|
|
1162
1174
|
}
|
|
1163
1175
|
contactName
|
|
1164
1176
|
contactTitle
|
|
@@ -3479,6 +3491,17 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
|
|
|
3479
3491
|
picture
|
|
3480
3492
|
}
|
|
3481
3493
|
}
|
|
3494
|
+
statuses {
|
|
3495
|
+
id
|
|
3496
|
+
status
|
|
3497
|
+
lastUpdatedBy {
|
|
3498
|
+
id
|
|
3499
|
+
email
|
|
3500
|
+
firstName
|
|
3501
|
+
lastName
|
|
3502
|
+
picture
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3482
3505
|
locations {
|
|
3483
3506
|
id
|
|
3484
3507
|
address1
|
|
@@ -4018,6 +4041,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
|
|
|
4018
4041
|
isProspect
|
|
4019
4042
|
purchaseMetalConfidence
|
|
4020
4043
|
lastContactedAt
|
|
4044
|
+
status
|
|
4021
4045
|
}
|
|
4022
4046
|
pagination {
|
|
4023
4047
|
currentPage
|
|
@@ -4229,6 +4253,17 @@ query Company($id: String) {
|
|
|
4229
4253
|
picture
|
|
4230
4254
|
}
|
|
4231
4255
|
}
|
|
4256
|
+
statuses {
|
|
4257
|
+
id
|
|
4258
|
+
status
|
|
4259
|
+
lastUpdatedBy {
|
|
4260
|
+
id
|
|
4261
|
+
email
|
|
4262
|
+
firstName
|
|
4263
|
+
lastName
|
|
4264
|
+
picture
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4232
4267
|
locations {
|
|
4233
4268
|
id
|
|
4234
4269
|
address1
|
|
@@ -4870,6 +4905,7 @@ query Company($id: String) {
|
|
|
4870
4905
|
isProspect
|
|
4871
4906
|
purchaseMetalConfidence
|
|
4872
4907
|
lastContactedAt
|
|
4908
|
+
status
|
|
4873
4909
|
}
|
|
4874
4910
|
}`;
|
|
4875
4911
|
exports.CONTACT = (0, client_1.gql) `
|
package/dist/sdk.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare class CloudForgeSDK {
|
|
|
44
44
|
disconnectNylasIntegration(): Promise<import("@apollo/client").FetchResult<any>>;
|
|
45
45
|
emailTone(input: EmailToneInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
46
46
|
forgotPassword(email: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
47
|
+
generateNewEmail(prompt: string, variables?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
47
48
|
hideRecord(input: HiddenRecordInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
48
49
|
inviteUser(input: InviteUserInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
49
50
|
login(email: string, password: string): Promise<import("@apollo/client").FetchResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -247,6 +247,12 @@ class CloudForgeSDK {
|
|
|
247
247
|
variables: { email }
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
|
+
async generateNewEmail(prompt, variables) {
|
|
251
|
+
return this.apolloClient.mutate({
|
|
252
|
+
mutation: mutations_1.GENERATE_NEW_EMAIL,
|
|
253
|
+
variables: { prompt, variables }
|
|
254
|
+
});
|
|
255
|
+
}
|
|
250
256
|
async hideRecord(input) {
|
|
251
257
|
return this.apolloClient.mutate({
|
|
252
258
|
mutation: mutations_1.HIDE_RECORD,
|