cf-service-sdk 0.0.82 → 0.0.84
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 +10 -0
- package/dist/generated/graphql.js +8 -2
- package/dist/mutations.js +3 -2
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +2 -2
- package/package.json +1 -1
|
@@ -1793,6 +1793,7 @@ export type CreateTaskInput = {
|
|
|
1793
1793
|
};
|
|
1794
1794
|
export type CustomContactInput = {
|
|
1795
1795
|
companyCity?: InputMaybe<Scalars['String']['input']>;
|
|
1796
|
+
companyId?: InputMaybe<Scalars['ID']['input']>;
|
|
1796
1797
|
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
1797
1798
|
companyState?: InputMaybe<Scalars['String']['input']>;
|
|
1798
1799
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1801,6 +1802,7 @@ export type CustomContactInput = {
|
|
|
1801
1802
|
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
1802
1803
|
notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1803
1804
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1805
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
1804
1806
|
};
|
|
1805
1807
|
export type DashboardStatsType = {
|
|
1806
1808
|
__typename?: 'DashboardStatsType';
|
|
@@ -2129,12 +2131,14 @@ export type LoginWithMicrosoft = {
|
|
|
2129
2131
|
};
|
|
2130
2132
|
export type ManualContactInput = {
|
|
2131
2133
|
companyCity?: InputMaybe<Scalars['String']['input']>;
|
|
2134
|
+
companyId?: InputMaybe<Scalars['ID']['input']>;
|
|
2132
2135
|
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
2133
2136
|
companyState?: InputMaybe<Scalars['String']['input']>;
|
|
2134
2137
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
2135
2138
|
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
2136
2139
|
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
2137
2140
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
2141
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
2138
2142
|
};
|
|
2139
2143
|
/** Mark all unread notifications as read for the current user */
|
|
2140
2144
|
export type MarkAllNotificationsAsRead = {
|
|
@@ -2351,6 +2355,7 @@ export type MutationAddContactsToCombinedCampaignArgs = {
|
|
|
2351
2355
|
/** Mutations */
|
|
2352
2356
|
export type MutationAddContactsToSegmentArgs = {
|
|
2353
2357
|
contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
|
|
2358
|
+
processSignals?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2354
2359
|
segmentId: Scalars['ID']['input'];
|
|
2355
2360
|
};
|
|
2356
2361
|
/** Mutations */
|
|
@@ -3828,6 +3833,7 @@ export type UpdateCombinedCampaignLogInput = {
|
|
|
3828
3833
|
/** Bulk update combined campaign logs (e.g., mark all as completed) */
|
|
3829
3834
|
export type UpdateCombinedCampaignLogs = {
|
|
3830
3835
|
__typename?: 'UpdateCombinedCampaignLogs';
|
|
3836
|
+
contactLogFailures?: Maybe<Scalars['Int']['output']>;
|
|
3831
3837
|
message?: Maybe<Scalars['String']['output']>;
|
|
3832
3838
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
3833
3839
|
updatedCount?: Maybe<Scalars['Int']['output']>;
|
|
@@ -4132,6 +4138,7 @@ export type AddContactsToCombinedCampaignMutation = {
|
|
|
4132
4138
|
};
|
|
4133
4139
|
export type AddContactsToSegmentMutationVariables = Exact<{
|
|
4134
4140
|
contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
|
|
4141
|
+
processSignals?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4135
4142
|
segmentId: Scalars['ID']['input'];
|
|
4136
4143
|
}>;
|
|
4137
4144
|
export type AddContactsToSegmentMutation = {
|
|
@@ -13512,6 +13519,7 @@ export type UpdateCombinedCampaignLogsMutation = {
|
|
|
13512
13519
|
updateCombinedCampaignLogs?: {
|
|
13513
13520
|
__typename?: 'UpdateCombinedCampaignLogs';
|
|
13514
13521
|
updatedCount?: number | null;
|
|
13522
|
+
contactLogFailures?: number | null;
|
|
13515
13523
|
success?: boolean | null;
|
|
13516
13524
|
message?: string | null;
|
|
13517
13525
|
} | null;
|
|
@@ -36917,12 +36925,14 @@ export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContacts
|
|
|
36917
36925
|
* const [addContactsToSegmentMutation, { data, loading, error }] = useAddContactsToSegmentMutation({
|
|
36918
36926
|
* variables: {
|
|
36919
36927
|
* contactIds: // value for 'contactIds'
|
|
36928
|
+
* processSignals: // value for 'processSignals'
|
|
36920
36929
|
* segmentId: // value for 'segmentId'
|
|
36921
36930
|
* },
|
|
36922
36931
|
* });
|
|
36923
36932
|
*/
|
|
36924
36933
|
export declare function useAddContactsToSegmentMutation(baseOptions?: Apollo.MutationHookOptions<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>): Apollo.MutationTuple<AddContactsToSegmentMutation, Exact<{
|
|
36925
36934
|
contactIds: Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>;
|
|
36935
|
+
processSignals?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
36926
36936
|
segmentId: Scalars["ID"]["input"];
|
|
36927
36937
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
36928
36938
|
export type AddContactsToSegmentMutationHookResult = ReturnType<typeof useAddContactsToSegmentMutation>;
|
|
@@ -763,8 +763,12 @@ function useAddContactsToCombinedCampaignMutation(baseOptions) {
|
|
|
763
763
|
return Apollo.useMutation(exports.AddContactsToCombinedCampaignDocument, options);
|
|
764
764
|
}
|
|
765
765
|
exports.AddContactsToSegmentDocument = (0, client_1.gql) `
|
|
766
|
-
mutation AddContactsToSegment($contactIds: [ID]!, $segmentId: ID!) {
|
|
767
|
-
addContactsToSegment(
|
|
766
|
+
mutation AddContactsToSegment($contactIds: [ID]!, $processSignals: Boolean, $segmentId: ID!) {
|
|
767
|
+
addContactsToSegment(
|
|
768
|
+
contactIds: $contactIds
|
|
769
|
+
processSignals: $processSignals
|
|
770
|
+
segmentId: $segmentId
|
|
771
|
+
) {
|
|
768
772
|
segment {
|
|
769
773
|
id
|
|
770
774
|
name
|
|
@@ -799,6 +803,7 @@ exports.AddContactsToSegmentDocument = (0, client_1.gql) `
|
|
|
799
803
|
* const [addContactsToSegmentMutation, { data, loading, error }] = useAddContactsToSegmentMutation({
|
|
800
804
|
* variables: {
|
|
801
805
|
* contactIds: // value for 'contactIds'
|
|
806
|
+
* processSignals: // value for 'processSignals'
|
|
802
807
|
* segmentId: // value for 'segmentId'
|
|
803
808
|
* },
|
|
804
809
|
* });
|
|
@@ -10953,6 +10958,7 @@ exports.UpdateCombinedCampaignLogsDocument = (0, client_1.gql) `
|
|
|
10953
10958
|
status: $status
|
|
10954
10959
|
) {
|
|
10955
10960
|
updatedCount
|
|
10961
|
+
contactLogFailures
|
|
10956
10962
|
success
|
|
10957
10963
|
message
|
|
10958
10964
|
}
|
package/dist/mutations.js
CHANGED
|
@@ -827,6 +827,7 @@ exports.UPDATE_COMBINED_CAMPAIGN_LOGS = (0, client_1.gql) `
|
|
|
827
827
|
mutation UpdateCombinedCampaignLogs($logIds: [ID]!, $notes: String, $outcome: String, $status: String) {
|
|
828
828
|
updateCombinedCampaignLogs(logIds: $logIds, notes: $notes, outcome: $outcome, status: $status) {
|
|
829
829
|
updatedCount
|
|
830
|
+
contactLogFailures
|
|
830
831
|
success
|
|
831
832
|
message
|
|
832
833
|
}
|
|
@@ -11355,8 +11356,8 @@ mutation DeleteSegment($id: ID!) {
|
|
|
11355
11356
|
}
|
|
11356
11357
|
}`;
|
|
11357
11358
|
exports.ADD_CONTACTS_TO_SEGMENT = (0, client_1.gql) `
|
|
11358
|
-
mutation AddContactsToSegment($contactIds: [ID]!, $segmentId: ID!) {
|
|
11359
|
-
addContactsToSegment(contactIds: $contactIds, segmentId: $segmentId) {
|
|
11359
|
+
mutation AddContactsToSegment($contactIds: [ID]!, $processSignals: Boolean, $segmentId: ID!) {
|
|
11360
|
+
addContactsToSegment(contactIds: $contactIds, processSignals: $processSignals, segmentId: $segmentId) {
|
|
11360
11361
|
segment {
|
|
11361
11362
|
id
|
|
11362
11363
|
name
|
package/dist/sdk.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class CloudForgeSDK {
|
|
|
11
11
|
acceptInvitation(input: InvitationResponseInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
12
12
|
addContactsToCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
13
13
|
addContactsToCombinedCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
14
|
-
addContactsToSegment(contactIds: string[], segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
14
|
+
addContactsToSegment(contactIds: string[], segmentId: string, processSignals?: boolean): Promise<import("@apollo/client").FetchResult<any>>;
|
|
15
15
|
addSegmentToCallCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
16
16
|
addSegmentToCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
17
17
|
aiAgentChat(message: string, conversationId?: string, enableTools?: boolean): Promise<import("@apollo/client").FetchResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -51,10 +51,10 @@ class CloudForgeSDK {
|
|
|
51
51
|
variables: { campaignId, contacts }
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
async addContactsToSegment(contactIds, segmentId) {
|
|
54
|
+
async addContactsToSegment(contactIds, segmentId, processSignals) {
|
|
55
55
|
return this.apolloClient.mutate({
|
|
56
56
|
mutation: mutations_1.ADD_CONTACTS_TO_SEGMENT,
|
|
57
|
-
variables: { contactIds, segmentId }
|
|
57
|
+
variables: { contactIds, segmentId, processSignals }
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
async addSegmentToCallCampaign(campaignId, segmentId) {
|