cf-service-sdk 0.0.89 → 0.0.91
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 +14 -0
- package/dist/generated/graphql.js +10 -0
- package/dist/mutations.js +3 -0
- package/dist/queries.js +7 -0
- package/package.json +1 -1
|
@@ -1023,6 +1023,8 @@ export type CombinedCampaignLogObject = {
|
|
|
1023
1023
|
outcome?: Maybe<Scalars['String']['output']>;
|
|
1024
1024
|
productsOfInterest?: Maybe<Scalars['GenericScalar']['output']>;
|
|
1025
1025
|
scheduledFor?: Maybe<Scalars['DateTime']['output']>;
|
|
1026
|
+
/** Actual subject from sent email (populated from ContactLog) */
|
|
1027
|
+
sentSubject?: Maybe<Scalars['String']['output']>;
|
|
1026
1028
|
startedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1027
1029
|
status?: Maybe<Scalars['String']['output']>;
|
|
1028
1030
|
step?: Maybe<CombinedCampaignStepObject>;
|
|
@@ -2426,6 +2428,8 @@ export type MailLogObject = {
|
|
|
2426
2428
|
sentAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2427
2429
|
/** Email preview snippet */
|
|
2428
2430
|
snippet?: Maybe<Scalars['String']['output']>;
|
|
2431
|
+
/** Source of email: 'mail_log' for external emails, 'contact_log' for campaign/CRM emails */
|
|
2432
|
+
source?: Maybe<Scalars['String']['output']>;
|
|
2429
2433
|
/** Status of email sending process (PENDING, SENT, FAILED) */
|
|
2430
2434
|
status?: Maybe<Scalars['String']['output']>;
|
|
2431
2435
|
/** Email subject line */
|
|
@@ -10735,6 +10739,7 @@ export type SendEmailToEmailThreadMutation = {
|
|
|
10735
10739
|
contactEmail?: string | null;
|
|
10736
10740
|
createdAt?: any | null;
|
|
10737
10741
|
updatedAt?: any | null;
|
|
10742
|
+
source?: string | null;
|
|
10738
10743
|
} | null;
|
|
10739
10744
|
} | null;
|
|
10740
10745
|
};
|
|
@@ -10779,6 +10784,7 @@ export type SendManualEmailMutation = {
|
|
|
10779
10784
|
taskId?: string | null;
|
|
10780
10785
|
draftSubject?: string | null;
|
|
10781
10786
|
draftBody?: string | null;
|
|
10787
|
+
sentSubject?: string | null;
|
|
10782
10788
|
createdAt?: any | null;
|
|
10783
10789
|
updatedAt?: any | null;
|
|
10784
10790
|
contactName?: string | null;
|
|
@@ -11860,6 +11866,7 @@ export type UpdateCombinedCampaignLogMutation = {
|
|
|
11860
11866
|
taskId?: string | null;
|
|
11861
11867
|
draftSubject?: string | null;
|
|
11862
11868
|
draftBody?: string | null;
|
|
11869
|
+
sentSubject?: string | null;
|
|
11863
11870
|
createdAt?: any | null;
|
|
11864
11871
|
updatedAt?: any | null;
|
|
11865
11872
|
contactName?: string | null;
|
|
@@ -15936,6 +15943,7 @@ export type CampaignContactsQuery = {
|
|
|
15936
15943
|
taskId?: string | null;
|
|
15937
15944
|
draftSubject?: string | null;
|
|
15938
15945
|
draftBody?: string | null;
|
|
15946
|
+
sentSubject?: string | null;
|
|
15939
15947
|
createdAt?: any | null;
|
|
15940
15948
|
updatedAt?: any | null;
|
|
15941
15949
|
contactName?: string | null;
|
|
@@ -16763,6 +16771,7 @@ export type CombinedCampaignContactsQuery = {
|
|
|
16763
16771
|
taskId?: string | null;
|
|
16764
16772
|
draftSubject?: string | null;
|
|
16765
16773
|
draftBody?: string | null;
|
|
16774
|
+
sentSubject?: string | null;
|
|
16766
16775
|
createdAt?: any | null;
|
|
16767
16776
|
updatedAt?: any | null;
|
|
16768
16777
|
contactName?: string | null;
|
|
@@ -17051,6 +17060,7 @@ export type CombinedCampaignLogsQuery = {
|
|
|
17051
17060
|
taskId?: string | null;
|
|
17052
17061
|
draftSubject?: string | null;
|
|
17053
17062
|
draftBody?: string | null;
|
|
17063
|
+
sentSubject?: string | null;
|
|
17054
17064
|
createdAt?: any | null;
|
|
17055
17065
|
updatedAt?: any | null;
|
|
17056
17066
|
contactName?: string | null;
|
|
@@ -20392,6 +20402,7 @@ export type EmailThreadQuery = {
|
|
|
20392
20402
|
contactEmail?: string | null;
|
|
20393
20403
|
createdAt?: any | null;
|
|
20394
20404
|
updatedAt?: any | null;
|
|
20405
|
+
source?: string | null;
|
|
20395
20406
|
} | null> | null;
|
|
20396
20407
|
} | null;
|
|
20397
20408
|
};
|
|
@@ -20439,6 +20450,7 @@ export type EmailThreadsByCompanyQuery = {
|
|
|
20439
20450
|
contactEmail?: string | null;
|
|
20440
20451
|
createdAt?: any | null;
|
|
20441
20452
|
updatedAt?: any | null;
|
|
20453
|
+
source?: string | null;
|
|
20442
20454
|
} | null> | null;
|
|
20443
20455
|
} | null> | null;
|
|
20444
20456
|
pagination?: {
|
|
@@ -20529,6 +20541,7 @@ export type MailLogQuery = {
|
|
|
20529
20541
|
contactEmail?: string | null;
|
|
20530
20542
|
createdAt?: any | null;
|
|
20531
20543
|
updatedAt?: any | null;
|
|
20544
|
+
source?: string | null;
|
|
20532
20545
|
} | null;
|
|
20533
20546
|
};
|
|
20534
20547
|
export type MailLogsQueryVariables = Exact<{
|
|
@@ -20566,6 +20579,7 @@ export type MailLogsQuery = {
|
|
|
20566
20579
|
contactEmail?: string | null;
|
|
20567
20580
|
createdAt?: any | null;
|
|
20568
20581
|
updatedAt?: any | null;
|
|
20582
|
+
source?: string | null;
|
|
20569
20583
|
} | null> | null;
|
|
20570
20584
|
pagination?: {
|
|
20571
20585
|
__typename?: 'PaginationInfo';
|
|
@@ -7528,6 +7528,7 @@ exports.SendEmailToEmailThreadDocument = (0, client_1.gql) `
|
|
|
7528
7528
|
contactEmail
|
|
7529
7529
|
createdAt
|
|
7530
7530
|
updatedAt
|
|
7531
|
+
source
|
|
7531
7532
|
}
|
|
7532
7533
|
contactLogId
|
|
7533
7534
|
}
|
|
@@ -7816,6 +7817,7 @@ exports.SendManualEmailDocument = (0, client_1.gql) `
|
|
|
7816
7817
|
}
|
|
7817
7818
|
draftSubject
|
|
7818
7819
|
draftBody
|
|
7820
|
+
sentSubject
|
|
7819
7821
|
createdAt
|
|
7820
7822
|
updatedAt
|
|
7821
7823
|
contactName
|
|
@@ -9136,6 +9138,7 @@ exports.UpdateCombinedCampaignLogDocument = (0, client_1.gql) `
|
|
|
9136
9138
|
}
|
|
9137
9139
|
draftSubject
|
|
9138
9140
|
draftBody
|
|
9141
|
+
sentSubject
|
|
9139
9142
|
createdAt
|
|
9140
9143
|
updatedAt
|
|
9141
9144
|
contactName
|
|
@@ -13510,6 +13513,7 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
|
13510
13513
|
}
|
|
13511
13514
|
draftSubject
|
|
13512
13515
|
draftBody
|
|
13516
|
+
sentSubject
|
|
13513
13517
|
createdAt
|
|
13514
13518
|
updatedAt
|
|
13515
13519
|
contactName
|
|
@@ -14408,6 +14412,7 @@ exports.CombinedCampaignContactsDocument = (0, client_1.gql) `
|
|
|
14408
14412
|
}
|
|
14409
14413
|
draftSubject
|
|
14410
14414
|
draftBody
|
|
14415
|
+
sentSubject
|
|
14411
14416
|
createdAt
|
|
14412
14417
|
updatedAt
|
|
14413
14418
|
contactName
|
|
@@ -14712,6 +14717,7 @@ exports.CombinedCampaignLogsDocument = (0, client_1.gql) `
|
|
|
14712
14717
|
}
|
|
14713
14718
|
draftSubject
|
|
14714
14719
|
draftBody
|
|
14720
|
+
sentSubject
|
|
14715
14721
|
createdAt
|
|
14716
14722
|
updatedAt
|
|
14717
14723
|
contactName
|
|
@@ -18257,6 +18263,7 @@ exports.EmailThreadDocument = (0, client_1.gql) `
|
|
|
18257
18263
|
contactEmail
|
|
18258
18264
|
createdAt
|
|
18259
18265
|
updatedAt
|
|
18266
|
+
source
|
|
18260
18267
|
}
|
|
18261
18268
|
emailCount
|
|
18262
18269
|
lastEmailAt
|
|
@@ -18326,6 +18333,7 @@ exports.EmailThreadsByCompanyDocument = (0, client_1.gql) `
|
|
|
18326
18333
|
contactEmail
|
|
18327
18334
|
createdAt
|
|
18328
18335
|
updatedAt
|
|
18336
|
+
source
|
|
18329
18337
|
}
|
|
18330
18338
|
emailCount
|
|
18331
18339
|
lastEmailAt
|
|
@@ -18516,6 +18524,7 @@ exports.MailLogDocument = (0, client_1.gql) `
|
|
|
18516
18524
|
contactEmail
|
|
18517
18525
|
createdAt
|
|
18518
18526
|
updatedAt
|
|
18527
|
+
source
|
|
18519
18528
|
}
|
|
18520
18529
|
}
|
|
18521
18530
|
`;
|
|
@@ -18577,6 +18586,7 @@ exports.MailLogsDocument = (0, client_1.gql) `
|
|
|
18577
18586
|
contactEmail
|
|
18578
18587
|
createdAt
|
|
18579
18588
|
updatedAt
|
|
18589
|
+
source
|
|
18580
18590
|
}
|
|
18581
18591
|
pagination {
|
|
18582
18592
|
currentPage
|
package/dist/mutations.js
CHANGED
|
@@ -3413,6 +3413,7 @@ mutation SendEmailToEmailThread($action: String!, $attachments: JSONString, $bcc
|
|
|
3413
3413
|
contactEmail
|
|
3414
3414
|
createdAt
|
|
3415
3415
|
updatedAt
|
|
3416
|
+
source
|
|
3416
3417
|
}
|
|
3417
3418
|
contactLogId
|
|
3418
3419
|
}
|
|
@@ -4227,6 +4228,7 @@ mutation UpdateCombinedCampaignLog($id: ID!, $input: UpdateCombinedCampaignLogIn
|
|
|
4227
4228
|
}
|
|
4228
4229
|
draftSubject
|
|
4229
4230
|
draftBody
|
|
4231
|
+
sentSubject
|
|
4230
4232
|
createdAt
|
|
4231
4233
|
updatedAt
|
|
4232
4234
|
contactName
|
|
@@ -4493,6 +4495,7 @@ mutation SendManualEmail($bcc: [String], $body: String!, $cc: [String], $logId:
|
|
|
4493
4495
|
}
|
|
4494
4496
|
draftSubject
|
|
4495
4497
|
draftBody
|
|
4498
|
+
sentSubject
|
|
4496
4499
|
createdAt
|
|
4497
4500
|
updatedAt
|
|
4498
4501
|
contactName
|
package/dist/queries.js
CHANGED
|
@@ -4973,6 +4973,7 @@ query CombinedCampaignLogs($campaignId: ID!, $filters: CombinedCampaignFilterInp
|
|
|
4973
4973
|
}
|
|
4974
4974
|
draftSubject
|
|
4975
4975
|
draftBody
|
|
4976
|
+
sentSubject
|
|
4976
4977
|
createdAt
|
|
4977
4978
|
updatedAt
|
|
4978
4979
|
contactName
|
|
@@ -5294,6 +5295,7 @@ query CombinedCampaignContacts($campaignUuid: ID!, $activityType: String, $page:
|
|
|
5294
5295
|
}
|
|
5295
5296
|
draftSubject
|
|
5296
5297
|
draftBody
|
|
5298
|
+
sentSubject
|
|
5297
5299
|
createdAt
|
|
5298
5300
|
updatedAt
|
|
5299
5301
|
contactName
|
|
@@ -5401,6 +5403,7 @@ query MailLogs($filters: MailLogFilterInput) {
|
|
|
5401
5403
|
contactEmail
|
|
5402
5404
|
createdAt
|
|
5403
5405
|
updatedAt
|
|
5406
|
+
source
|
|
5404
5407
|
}
|
|
5405
5408
|
pagination {
|
|
5406
5409
|
currentPage
|
|
@@ -5441,6 +5444,7 @@ query MailLog($id: Int!) {
|
|
|
5441
5444
|
contactEmail
|
|
5442
5445
|
createdAt
|
|
5443
5446
|
updatedAt
|
|
5447
|
+
source
|
|
5444
5448
|
}
|
|
5445
5449
|
}`;
|
|
5446
5450
|
exports.EMAIL_THREAD = (0, client_1.gql) `
|
|
@@ -5475,6 +5479,7 @@ query EmailThread($threadId: String!, $companyId: Int) {
|
|
|
5475
5479
|
contactEmail
|
|
5476
5480
|
createdAt
|
|
5477
5481
|
updatedAt
|
|
5482
|
+
source
|
|
5478
5483
|
}
|
|
5479
5484
|
emailCount
|
|
5480
5485
|
lastEmailAt
|
|
@@ -5514,6 +5519,7 @@ query EmailThreadsByCompany($companyId: Int!, $page: Int, $pageSize: Int) {
|
|
|
5514
5519
|
contactEmail
|
|
5515
5520
|
createdAt
|
|
5516
5521
|
updatedAt
|
|
5522
|
+
source
|
|
5517
5523
|
}
|
|
5518
5524
|
emailCount
|
|
5519
5525
|
lastEmailAt
|
|
@@ -8325,6 +8331,7 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
|
|
|
8325
8331
|
}
|
|
8326
8332
|
draftSubject
|
|
8327
8333
|
draftBody
|
|
8334
|
+
sentSubject
|
|
8328
8335
|
createdAt
|
|
8329
8336
|
updatedAt
|
|
8330
8337
|
contactName
|