cf-service-sdk 0.0.34 → 0.0.40
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/README.md +53 -0
- package/dist/generated/graphql.d.ts +280 -0
- package/dist/generated/graphql.js +236 -3
- package/dist/mutations.d.ts +1 -0
- package/dist/mutations.js +107 -1
- package/dist/queries.js +105 -0
- package/dist/sdk.d.ts +1 -0
- package/dist/sdk.js +5 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Cloud Forge TypeScript SDK (cf-typescript-sdk)
|
|
2
|
+
|
|
3
|
+
## Local Setup Instructions
|
|
4
|
+
|
|
5
|
+
### 1. Clone the repository
|
|
6
|
+
If not already cloned:
|
|
7
|
+
```sh
|
|
8
|
+
git clone <repo-url>
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### 2. Install Node.js
|
|
12
|
+
- Recommended: Node.js v18+
|
|
13
|
+
- [Download Node.js](https://nodejs.org/)
|
|
14
|
+
|
|
15
|
+
### 3. Install dependencies
|
|
16
|
+
```sh
|
|
17
|
+
npm install
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### 4. Build the SDK
|
|
21
|
+
```sh
|
|
22
|
+
npm run build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### 5. (Optional) Generate code and update schema
|
|
26
|
+
If you need to update the GraphQL schema or regenerate SDK code:
|
|
27
|
+
```sh
|
|
28
|
+
npm run update-schema
|
|
29
|
+
npm run generate
|
|
30
|
+
npm run generate-sdk
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### 6. Publish (if needed)
|
|
34
|
+
```sh
|
|
35
|
+
npm publish --access public
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Troubleshooting
|
|
41
|
+
- Ensure Node.js and npm are installed and in your PATH.
|
|
42
|
+
- If you use codegen, ensure any required backend services are running.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Useful Commands
|
|
47
|
+
- Clean build: `./clean.sh`
|
|
48
|
+
- Test: `npm test`
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Contact
|
|
53
|
+
For issues, contact the repo maintainer.
|
|
@@ -702,6 +702,13 @@ export type ChangePassword = {
|
|
|
702
702
|
message?: Maybe<Scalars['String']['output']>;
|
|
703
703
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
704
704
|
};
|
|
705
|
+
/** Clear (delete) all notifications for the current user */
|
|
706
|
+
export type ClearAllNotifications = {
|
|
707
|
+
__typename?: 'ClearAllNotifications';
|
|
708
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
709
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
710
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
711
|
+
};
|
|
705
712
|
/** Input type for filtering companies */
|
|
706
713
|
export type CompanyFilterInput = {
|
|
707
714
|
/** Filter by city(ies) - searches all company locations */
|
|
@@ -984,6 +991,8 @@ export type ContactFilterInput = {
|
|
|
984
991
|
searchQuery?: InputMaybe<Scalars['String']['input']>;
|
|
985
992
|
/** Filter by segment IDs (contacts must be in these segments) */
|
|
986
993
|
segmentIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
994
|
+
/** Filter to show only contacts with owned companies */
|
|
995
|
+
showOwned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
987
996
|
};
|
|
988
997
|
export type ContactInput = {
|
|
989
998
|
companyId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1492,6 +1501,8 @@ export type Mutation = {
|
|
|
1492
1501
|
cancelInvitation?: Maybe<CancelInvitation>;
|
|
1493
1502
|
/** ChangePassword - Change the password for the current user */
|
|
1494
1503
|
changePassword?: Maybe<ChangePassword>;
|
|
1504
|
+
/** Clear (delete) all notifications for the current user */
|
|
1505
|
+
clearAllNotifications?: Maybe<ClearAllNotifications>;
|
|
1495
1506
|
completeCampaign?: Maybe<CompleteCampaign>;
|
|
1496
1507
|
createCallCampaign?: Maybe<CreateCallCampaign>;
|
|
1497
1508
|
createCallCampaignLog?: Maybe<CreateCallCampaignLog>;
|
|
@@ -2535,6 +2546,7 @@ export type TaskObject = {
|
|
|
2535
2546
|
contactId?: Maybe<Scalars['Int']['output']>;
|
|
2536
2547
|
contactName?: Maybe<Scalars['String']['output']>;
|
|
2537
2548
|
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2549
|
+
createdBy?: Maybe<UserType>;
|
|
2538
2550
|
description?: Maybe<Scalars['String']['output']>;
|
|
2539
2551
|
dueDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2540
2552
|
id?: Maybe<Scalars['Int']['output']>;
|
|
@@ -3059,6 +3071,18 @@ export type ChangePasswordMutation = {
|
|
|
3059
3071
|
message?: string | null;
|
|
3060
3072
|
} | null;
|
|
3061
3073
|
};
|
|
3074
|
+
export type ClearAllNotificationsMutationVariables = Exact<{
|
|
3075
|
+
[key: string]: never;
|
|
3076
|
+
}>;
|
|
3077
|
+
export type ClearAllNotificationsMutation = {
|
|
3078
|
+
__typename?: 'Mutation';
|
|
3079
|
+
clearAllNotifications?: {
|
|
3080
|
+
__typename?: 'ClearAllNotifications';
|
|
3081
|
+
count?: number | null;
|
|
3082
|
+
success?: boolean | null;
|
|
3083
|
+
message?: string | null;
|
|
3084
|
+
} | null;
|
|
3085
|
+
};
|
|
3062
3086
|
export type CompleteCampaignMutationVariables = Exact<{
|
|
3063
3087
|
id: Scalars['ID']['input'];
|
|
3064
3088
|
}>;
|
|
@@ -3335,6 +3359,14 @@ export type CreateCallCampaignLogMutation = {
|
|
|
3335
3359
|
callCampaignId?: number | null;
|
|
3336
3360
|
callCampaignLogOutcome?: string | null;
|
|
3337
3361
|
} | null;
|
|
3362
|
+
createdBy?: {
|
|
3363
|
+
__typename?: 'UserType';
|
|
3364
|
+
id?: string | null;
|
|
3365
|
+
email?: string | null;
|
|
3366
|
+
firstName?: string | null;
|
|
3367
|
+
lastName?: string | null;
|
|
3368
|
+
picture?: string | null;
|
|
3369
|
+
} | null;
|
|
3338
3370
|
} | null> | null;
|
|
3339
3371
|
} | null;
|
|
3340
3372
|
} | null;
|
|
@@ -3868,8 +3900,24 @@ export type CreateCompanyMutation = {
|
|
|
3868
3900
|
callCampaignId?: number | null;
|
|
3869
3901
|
callCampaignLogOutcome?: string | null;
|
|
3870
3902
|
} | null;
|
|
3903
|
+
createdBy?: {
|
|
3904
|
+
__typename?: 'UserType';
|
|
3905
|
+
id?: string | null;
|
|
3906
|
+
email?: string | null;
|
|
3907
|
+
firstName?: string | null;
|
|
3908
|
+
lastName?: string | null;
|
|
3909
|
+
picture?: string | null;
|
|
3910
|
+
} | null;
|
|
3871
3911
|
} | null> | null;
|
|
3872
3912
|
} | null;
|
|
3913
|
+
createdBy?: {
|
|
3914
|
+
__typename?: 'UserType';
|
|
3915
|
+
id?: string | null;
|
|
3916
|
+
email?: string | null;
|
|
3917
|
+
firstName?: string | null;
|
|
3918
|
+
lastName?: string | null;
|
|
3919
|
+
picture?: string | null;
|
|
3920
|
+
} | null;
|
|
3873
3921
|
} | null> | null;
|
|
3874
3922
|
} | null> | null;
|
|
3875
3923
|
tasks?: Array<{
|
|
@@ -4007,6 +4055,14 @@ export type CreateCompanyMutation = {
|
|
|
4007
4055
|
callCampaignId?: number | null;
|
|
4008
4056
|
callCampaignLogOutcome?: string | null;
|
|
4009
4057
|
} | null;
|
|
4058
|
+
createdBy?: {
|
|
4059
|
+
__typename?: 'UserType';
|
|
4060
|
+
id?: string | null;
|
|
4061
|
+
email?: string | null;
|
|
4062
|
+
firstName?: string | null;
|
|
4063
|
+
lastName?: string | null;
|
|
4064
|
+
picture?: string | null;
|
|
4065
|
+
} | null;
|
|
4010
4066
|
} | null> | null;
|
|
4011
4067
|
industry?: {
|
|
4012
4068
|
__typename?: 'IndustryTypeObject';
|
|
@@ -4366,8 +4422,24 @@ export type CreateCompanyNoteMutation = {
|
|
|
4366
4422
|
callCampaignId?: number | null;
|
|
4367
4423
|
callCampaignLogOutcome?: string | null;
|
|
4368
4424
|
} | null;
|
|
4425
|
+
createdBy?: {
|
|
4426
|
+
__typename?: 'UserType';
|
|
4427
|
+
id?: string | null;
|
|
4428
|
+
email?: string | null;
|
|
4429
|
+
firstName?: string | null;
|
|
4430
|
+
lastName?: string | null;
|
|
4431
|
+
picture?: string | null;
|
|
4432
|
+
} | null;
|
|
4369
4433
|
} | null> | null;
|
|
4370
4434
|
} | null;
|
|
4435
|
+
createdBy?: {
|
|
4436
|
+
__typename?: 'UserType';
|
|
4437
|
+
id?: string | null;
|
|
4438
|
+
email?: string | null;
|
|
4439
|
+
firstName?: string | null;
|
|
4440
|
+
lastName?: string | null;
|
|
4441
|
+
picture?: string | null;
|
|
4442
|
+
} | null;
|
|
4371
4443
|
} | null> | null;
|
|
4372
4444
|
} | null;
|
|
4373
4445
|
} | null;
|
|
@@ -4642,6 +4714,14 @@ export type CreateTaskMutation = {
|
|
|
4642
4714
|
callCampaignId?: number | null;
|
|
4643
4715
|
callCampaignLogOutcome?: string | null;
|
|
4644
4716
|
} | null;
|
|
4717
|
+
createdBy?: {
|
|
4718
|
+
__typename?: 'UserType';
|
|
4719
|
+
id?: string | null;
|
|
4720
|
+
email?: string | null;
|
|
4721
|
+
firstName?: string | null;
|
|
4722
|
+
lastName?: string | null;
|
|
4723
|
+
picture?: string | null;
|
|
4724
|
+
} | null;
|
|
4645
4725
|
} | null;
|
|
4646
4726
|
} | null;
|
|
4647
4727
|
};
|
|
@@ -5854,6 +5934,14 @@ export type UpdateCallCampaignLogMutation = {
|
|
|
5854
5934
|
callCampaignId?: number | null;
|
|
5855
5935
|
callCampaignLogOutcome?: string | null;
|
|
5856
5936
|
} | null;
|
|
5937
|
+
createdBy?: {
|
|
5938
|
+
__typename?: 'UserType';
|
|
5939
|
+
id?: string | null;
|
|
5940
|
+
email?: string | null;
|
|
5941
|
+
firstName?: string | null;
|
|
5942
|
+
lastName?: string | null;
|
|
5943
|
+
picture?: string | null;
|
|
5944
|
+
} | null;
|
|
5857
5945
|
} | null> | null;
|
|
5858
5946
|
} | null;
|
|
5859
5947
|
} | null;
|
|
@@ -6387,8 +6475,24 @@ export type UpdateCompanyMutation = {
|
|
|
6387
6475
|
callCampaignId?: number | null;
|
|
6388
6476
|
callCampaignLogOutcome?: string | null;
|
|
6389
6477
|
} | null;
|
|
6478
|
+
createdBy?: {
|
|
6479
|
+
__typename?: 'UserType';
|
|
6480
|
+
id?: string | null;
|
|
6481
|
+
email?: string | null;
|
|
6482
|
+
firstName?: string | null;
|
|
6483
|
+
lastName?: string | null;
|
|
6484
|
+
picture?: string | null;
|
|
6485
|
+
} | null;
|
|
6390
6486
|
} | null> | null;
|
|
6391
6487
|
} | null;
|
|
6488
|
+
createdBy?: {
|
|
6489
|
+
__typename?: 'UserType';
|
|
6490
|
+
id?: string | null;
|
|
6491
|
+
email?: string | null;
|
|
6492
|
+
firstName?: string | null;
|
|
6493
|
+
lastName?: string | null;
|
|
6494
|
+
picture?: string | null;
|
|
6495
|
+
} | null;
|
|
6392
6496
|
} | null> | null;
|
|
6393
6497
|
} | null> | null;
|
|
6394
6498
|
tasks?: Array<{
|
|
@@ -6526,6 +6630,14 @@ export type UpdateCompanyMutation = {
|
|
|
6526
6630
|
callCampaignId?: number | null;
|
|
6527
6631
|
callCampaignLogOutcome?: string | null;
|
|
6528
6632
|
} | null;
|
|
6633
|
+
createdBy?: {
|
|
6634
|
+
__typename?: 'UserType';
|
|
6635
|
+
id?: string | null;
|
|
6636
|
+
email?: string | null;
|
|
6637
|
+
firstName?: string | null;
|
|
6638
|
+
lastName?: string | null;
|
|
6639
|
+
picture?: string | null;
|
|
6640
|
+
} | null;
|
|
6529
6641
|
} | null> | null;
|
|
6530
6642
|
industry?: {
|
|
6531
6643
|
__typename?: 'IndustryTypeObject';
|
|
@@ -6885,8 +6997,24 @@ export type UpdateCompanyNoteMutation = {
|
|
|
6885
6997
|
callCampaignId?: number | null;
|
|
6886
6998
|
callCampaignLogOutcome?: string | null;
|
|
6887
6999
|
} | null;
|
|
7000
|
+
createdBy?: {
|
|
7001
|
+
__typename?: 'UserType';
|
|
7002
|
+
id?: string | null;
|
|
7003
|
+
email?: string | null;
|
|
7004
|
+
firstName?: string | null;
|
|
7005
|
+
lastName?: string | null;
|
|
7006
|
+
picture?: string | null;
|
|
7007
|
+
} | null;
|
|
6888
7008
|
} | null> | null;
|
|
6889
7009
|
} | null;
|
|
7010
|
+
createdBy?: {
|
|
7011
|
+
__typename?: 'UserType';
|
|
7012
|
+
id?: string | null;
|
|
7013
|
+
email?: string | null;
|
|
7014
|
+
firstName?: string | null;
|
|
7015
|
+
lastName?: string | null;
|
|
7016
|
+
picture?: string | null;
|
|
7017
|
+
} | null;
|
|
6890
7018
|
} | null> | null;
|
|
6891
7019
|
} | null;
|
|
6892
7020
|
} | null;
|
|
@@ -7139,6 +7267,14 @@ export type UpdateTaskMutation = {
|
|
|
7139
7267
|
callCampaignId?: number | null;
|
|
7140
7268
|
callCampaignLogOutcome?: string | null;
|
|
7141
7269
|
} | null;
|
|
7270
|
+
createdBy?: {
|
|
7271
|
+
__typename?: 'UserType';
|
|
7272
|
+
id?: string | null;
|
|
7273
|
+
email?: string | null;
|
|
7274
|
+
firstName?: string | null;
|
|
7275
|
+
lastName?: string | null;
|
|
7276
|
+
picture?: string | null;
|
|
7277
|
+
} | null;
|
|
7142
7278
|
} | null;
|
|
7143
7279
|
} | null;
|
|
7144
7280
|
};
|
|
@@ -7479,6 +7615,14 @@ export type CallCampaignLogQuery = {
|
|
|
7479
7615
|
callCampaignId?: number | null;
|
|
7480
7616
|
callCampaignLogOutcome?: string | null;
|
|
7481
7617
|
} | null;
|
|
7618
|
+
createdBy?: {
|
|
7619
|
+
__typename?: 'UserType';
|
|
7620
|
+
id?: string | null;
|
|
7621
|
+
email?: string | null;
|
|
7622
|
+
firstName?: string | null;
|
|
7623
|
+
lastName?: string | null;
|
|
7624
|
+
picture?: string | null;
|
|
7625
|
+
} | null;
|
|
7482
7626
|
} | null> | null;
|
|
7483
7627
|
} | null;
|
|
7484
7628
|
};
|
|
@@ -7626,6 +7770,14 @@ export type CallCampaignLogsQuery = {
|
|
|
7626
7770
|
callCampaignId?: number | null;
|
|
7627
7771
|
callCampaignLogOutcome?: string | null;
|
|
7628
7772
|
} | null;
|
|
7773
|
+
createdBy?: {
|
|
7774
|
+
__typename?: 'UserType';
|
|
7775
|
+
id?: string | null;
|
|
7776
|
+
email?: string | null;
|
|
7777
|
+
firstName?: string | null;
|
|
7778
|
+
lastName?: string | null;
|
|
7779
|
+
picture?: string | null;
|
|
7780
|
+
} | null;
|
|
7629
7781
|
} | null> | null;
|
|
7630
7782
|
} | null> | null;
|
|
7631
7783
|
pagination?: {
|
|
@@ -8531,6 +8683,14 @@ export type CompaniesQuery = {
|
|
|
8531
8683
|
overdue?: boolean | null;
|
|
8532
8684
|
} | null> | null;
|
|
8533
8685
|
} | null;
|
|
8686
|
+
createdBy?: {
|
|
8687
|
+
__typename?: 'UserType';
|
|
8688
|
+
id?: string | null;
|
|
8689
|
+
email?: string | null;
|
|
8690
|
+
firstName?: string | null;
|
|
8691
|
+
lastName?: string | null;
|
|
8692
|
+
picture?: string | null;
|
|
8693
|
+
} | null;
|
|
8534
8694
|
} | null> | null;
|
|
8535
8695
|
} | null> | null;
|
|
8536
8696
|
tasks?: Array<{
|
|
@@ -8668,6 +8828,14 @@ export type CompaniesQuery = {
|
|
|
8668
8828
|
callCampaignId?: number | null;
|
|
8669
8829
|
callCampaignLogOutcome?: string | null;
|
|
8670
8830
|
} | null;
|
|
8831
|
+
createdBy?: {
|
|
8832
|
+
__typename?: 'UserType';
|
|
8833
|
+
id?: string | null;
|
|
8834
|
+
email?: string | null;
|
|
8835
|
+
firstName?: string | null;
|
|
8836
|
+
lastName?: string | null;
|
|
8837
|
+
picture?: string | null;
|
|
8838
|
+
} | null;
|
|
8671
8839
|
} | null> | null;
|
|
8672
8840
|
industry?: {
|
|
8673
8841
|
__typename?: 'IndustryTypeObject';
|
|
@@ -9191,8 +9359,24 @@ export type CompanyQuery = {
|
|
|
9191
9359
|
callCampaignId?: number | null;
|
|
9192
9360
|
callCampaignLogOutcome?: string | null;
|
|
9193
9361
|
} | null;
|
|
9362
|
+
createdBy?: {
|
|
9363
|
+
__typename?: 'UserType';
|
|
9364
|
+
id?: string | null;
|
|
9365
|
+
email?: string | null;
|
|
9366
|
+
firstName?: string | null;
|
|
9367
|
+
lastName?: string | null;
|
|
9368
|
+
picture?: string | null;
|
|
9369
|
+
} | null;
|
|
9194
9370
|
} | null> | null;
|
|
9195
9371
|
} | null;
|
|
9372
|
+
createdBy?: {
|
|
9373
|
+
__typename?: 'UserType';
|
|
9374
|
+
id?: string | null;
|
|
9375
|
+
email?: string | null;
|
|
9376
|
+
firstName?: string | null;
|
|
9377
|
+
lastName?: string | null;
|
|
9378
|
+
picture?: string | null;
|
|
9379
|
+
} | null;
|
|
9196
9380
|
} | null> | null;
|
|
9197
9381
|
} | null> | null;
|
|
9198
9382
|
tasks?: Array<{
|
|
@@ -9330,6 +9514,14 @@ export type CompanyQuery = {
|
|
|
9330
9514
|
callCampaignId?: number | null;
|
|
9331
9515
|
callCampaignLogOutcome?: string | null;
|
|
9332
9516
|
} | null;
|
|
9517
|
+
createdBy?: {
|
|
9518
|
+
__typename?: 'UserType';
|
|
9519
|
+
id?: string | null;
|
|
9520
|
+
email?: string | null;
|
|
9521
|
+
firstName?: string | null;
|
|
9522
|
+
lastName?: string | null;
|
|
9523
|
+
picture?: string | null;
|
|
9524
|
+
} | null;
|
|
9333
9525
|
} | null> | null;
|
|
9334
9526
|
industry?: {
|
|
9335
9527
|
__typename?: 'IndustryTypeObject';
|
|
@@ -9686,8 +9878,24 @@ export type CompanyNoteQuery = {
|
|
|
9686
9878
|
callCampaignId?: number | null;
|
|
9687
9879
|
callCampaignLogOutcome?: string | null;
|
|
9688
9880
|
} | null;
|
|
9881
|
+
createdBy?: {
|
|
9882
|
+
__typename?: 'UserType';
|
|
9883
|
+
id?: string | null;
|
|
9884
|
+
email?: string | null;
|
|
9885
|
+
firstName?: string | null;
|
|
9886
|
+
lastName?: string | null;
|
|
9887
|
+
picture?: string | null;
|
|
9888
|
+
} | null;
|
|
9689
9889
|
} | null> | null;
|
|
9690
9890
|
} | null;
|
|
9891
|
+
createdBy?: {
|
|
9892
|
+
__typename?: 'UserType';
|
|
9893
|
+
id?: string | null;
|
|
9894
|
+
email?: string | null;
|
|
9895
|
+
firstName?: string | null;
|
|
9896
|
+
lastName?: string | null;
|
|
9897
|
+
picture?: string | null;
|
|
9898
|
+
} | null;
|
|
9691
9899
|
} | null> | null;
|
|
9692
9900
|
} | null;
|
|
9693
9901
|
};
|
|
@@ -9981,8 +10189,24 @@ export type CompanyNotesQuery = {
|
|
|
9981
10189
|
callCampaignId?: number | null;
|
|
9982
10190
|
callCampaignLogOutcome?: string | null;
|
|
9983
10191
|
} | null;
|
|
10192
|
+
createdBy?: {
|
|
10193
|
+
__typename?: 'UserType';
|
|
10194
|
+
id?: string | null;
|
|
10195
|
+
email?: string | null;
|
|
10196
|
+
firstName?: string | null;
|
|
10197
|
+
lastName?: string | null;
|
|
10198
|
+
picture?: string | null;
|
|
10199
|
+
} | null;
|
|
9984
10200
|
} | null> | null;
|
|
9985
10201
|
} | null;
|
|
10202
|
+
createdBy?: {
|
|
10203
|
+
__typename?: 'UserType';
|
|
10204
|
+
id?: string | null;
|
|
10205
|
+
email?: string | null;
|
|
10206
|
+
firstName?: string | null;
|
|
10207
|
+
lastName?: string | null;
|
|
10208
|
+
picture?: string | null;
|
|
10209
|
+
} | null;
|
|
9986
10210
|
} | null> | null;
|
|
9987
10211
|
} | null> | null;
|
|
9988
10212
|
pagination?: {
|
|
@@ -10845,6 +11069,14 @@ export type RecentHistoryQuery = {
|
|
|
10845
11069
|
callCampaignId?: number | null;
|
|
10846
11070
|
callCampaignLogOutcome?: string | null;
|
|
10847
11071
|
} | null;
|
|
11072
|
+
createdBy?: {
|
|
11073
|
+
__typename?: 'UserType';
|
|
11074
|
+
id?: string | null;
|
|
11075
|
+
email?: string | null;
|
|
11076
|
+
firstName?: string | null;
|
|
11077
|
+
lastName?: string | null;
|
|
11078
|
+
picture?: string | null;
|
|
11079
|
+
} | null;
|
|
10848
11080
|
} | null> | null;
|
|
10849
11081
|
} | null> | null;
|
|
10850
11082
|
tasks?: Array<{
|
|
@@ -10982,6 +11214,14 @@ export type RecentHistoryQuery = {
|
|
|
10982
11214
|
callCampaignId?: number | null;
|
|
10983
11215
|
callCampaignLogOutcome?: string | null;
|
|
10984
11216
|
} | null;
|
|
11217
|
+
createdBy?: {
|
|
11218
|
+
__typename?: 'UserType';
|
|
11219
|
+
id?: string | null;
|
|
11220
|
+
email?: string | null;
|
|
11221
|
+
firstName?: string | null;
|
|
11222
|
+
lastName?: string | null;
|
|
11223
|
+
picture?: string | null;
|
|
11224
|
+
} | null;
|
|
10985
11225
|
} | null> | null;
|
|
10986
11226
|
industry?: {
|
|
10987
11227
|
__typename?: 'IndustryTypeObject';
|
|
@@ -11328,6 +11568,14 @@ export type TaskQuery = {
|
|
|
11328
11568
|
callCampaignId?: number | null;
|
|
11329
11569
|
callCampaignLogOutcome?: string | null;
|
|
11330
11570
|
} | null;
|
|
11571
|
+
createdBy?: {
|
|
11572
|
+
__typename?: 'UserType';
|
|
11573
|
+
id?: string | null;
|
|
11574
|
+
email?: string | null;
|
|
11575
|
+
firstName?: string | null;
|
|
11576
|
+
lastName?: string | null;
|
|
11577
|
+
picture?: string | null;
|
|
11578
|
+
} | null;
|
|
11331
11579
|
} | null;
|
|
11332
11580
|
};
|
|
11333
11581
|
export type TasksQueryVariables = Exact<{
|
|
@@ -11474,6 +11722,14 @@ export type TasksQuery = {
|
|
|
11474
11722
|
callCampaignId?: number | null;
|
|
11475
11723
|
callCampaignLogOutcome?: string | null;
|
|
11476
11724
|
} | null;
|
|
11725
|
+
createdBy?: {
|
|
11726
|
+
__typename?: 'UserType';
|
|
11727
|
+
id?: string | null;
|
|
11728
|
+
email?: string | null;
|
|
11729
|
+
firstName?: string | null;
|
|
11730
|
+
lastName?: string | null;
|
|
11731
|
+
picture?: string | null;
|
|
11732
|
+
} | null;
|
|
11477
11733
|
} | null> | null;
|
|
11478
11734
|
pagination?: {
|
|
11479
11735
|
__typename?: 'PaginationInfo';
|
|
@@ -11747,6 +12003,30 @@ export declare function useChangePasswordMutation(baseOptions?: Apollo.MutationH
|
|
|
11747
12003
|
export type ChangePasswordMutationHookResult = ReturnType<typeof useChangePasswordMutation>;
|
|
11748
12004
|
export type ChangePasswordMutationResult = Apollo.MutationResult<ChangePasswordMutation>;
|
|
11749
12005
|
export type ChangePasswordMutationOptions = Apollo.BaseMutationOptions<ChangePasswordMutation, ChangePasswordMutationVariables>;
|
|
12006
|
+
export declare const ClearAllNotificationsDocument: Apollo.DocumentNode;
|
|
12007
|
+
export type ClearAllNotificationsMutationFn = Apollo.MutationFunction<ClearAllNotificationsMutation, ClearAllNotificationsMutationVariables>;
|
|
12008
|
+
/**
|
|
12009
|
+
* __useClearAllNotificationsMutation__
|
|
12010
|
+
*
|
|
12011
|
+
* To run a mutation, you first call `useClearAllNotificationsMutation` within a React component and pass it any options that fit your needs.
|
|
12012
|
+
* When your component renders, `useClearAllNotificationsMutation` returns a tuple that includes:
|
|
12013
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
12014
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
12015
|
+
*
|
|
12016
|
+
* @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;
|
|
12017
|
+
*
|
|
12018
|
+
* @example
|
|
12019
|
+
* const [clearAllNotificationsMutation, { data, loading, error }] = useClearAllNotificationsMutation({
|
|
12020
|
+
* variables: {
|
|
12021
|
+
* },
|
|
12022
|
+
* });
|
|
12023
|
+
*/
|
|
12024
|
+
export declare function useClearAllNotificationsMutation(baseOptions?: Apollo.MutationHookOptions<ClearAllNotificationsMutation, ClearAllNotificationsMutationVariables>): Apollo.MutationTuple<ClearAllNotificationsMutation, Exact<{
|
|
12025
|
+
[key: string]: never;
|
|
12026
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12027
|
+
export type ClearAllNotificationsMutationHookResult = ReturnType<typeof useClearAllNotificationsMutation>;
|
|
12028
|
+
export type ClearAllNotificationsMutationResult = Apollo.MutationResult<ClearAllNotificationsMutation>;
|
|
12029
|
+
export type ClearAllNotificationsMutationOptions = Apollo.BaseMutationOptions<ClearAllNotificationsMutation, ClearAllNotificationsMutationVariables>;
|
|
11750
12030
|
export declare const CompleteCampaignDocument: Apollo.DocumentNode;
|
|
11751
12031
|
export type CompleteCampaignMutationFn = Apollo.MutationFunction<CompleteCampaignMutation, CompleteCampaignMutationVariables>;
|
|
11752
12032
|
/**
|