cf-service-sdk 0.0.26 → 0.0.27
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 +45 -0
- package/dist/generated/graphql.js +30 -0
- package/dist/mutations.js +12 -0
- package/dist/queries.js +18 -0
- package/package.json +1 -1
|
@@ -693,6 +693,8 @@ export type CompanyFilterInput = {
|
|
|
693
693
|
showOwned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
694
694
|
/** Filter by state(s) */
|
|
695
695
|
state?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
696
|
+
/** Filter by tag ID(s) */
|
|
697
|
+
tag?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
696
698
|
/** Filter by zip code(s) - searches all company locations */
|
|
697
699
|
zipCode?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
698
700
|
};
|
|
@@ -872,6 +874,7 @@ export type CompanyObject = {
|
|
|
872
874
|
primaryLocation?: Maybe<CompanyLocationType>;
|
|
873
875
|
productMetalScores?: Maybe<Array<Maybe<CompanyProductMetalScoreObject>>>;
|
|
874
876
|
state?: Maybe<Scalars['String']['output']>;
|
|
877
|
+
tags?: Maybe<Array<Maybe<TagObject>>>;
|
|
875
878
|
tasks?: Maybe<Array<Maybe<TaskObject>>>;
|
|
876
879
|
twitterUrl?: Maybe<Scalars['String']['output']>;
|
|
877
880
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -2375,6 +2378,13 @@ export type SubmitFeedback = {
|
|
|
2375
2378
|
message?: Maybe<Scalars['String']['output']>;
|
|
2376
2379
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2377
2380
|
};
|
|
2381
|
+
export type TagObject = {
|
|
2382
|
+
__typename?: 'TagObject';
|
|
2383
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2384
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
2385
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
2386
|
+
pk?: Maybe<Scalars['ID']['output']>;
|
|
2387
|
+
};
|
|
2378
2388
|
export type TaskFilterInput = {
|
|
2379
2389
|
companyId?: InputMaybe<Scalars['Int']['input']>;
|
|
2380
2390
|
dueDateFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -3199,6 +3209,13 @@ export type CreateCompanyMutation = {
|
|
|
3199
3209
|
averageScore?: number | null;
|
|
3200
3210
|
ownedByUser?: boolean | null;
|
|
3201
3211
|
isProspect?: boolean | null;
|
|
3212
|
+
tags?: Array<{
|
|
3213
|
+
__typename?: 'TagObject';
|
|
3214
|
+
id?: string | null;
|
|
3215
|
+
pk?: string | null;
|
|
3216
|
+
name?: string | null;
|
|
3217
|
+
description?: string | null;
|
|
3218
|
+
} | null> | null;
|
|
3202
3219
|
locations?: Array<{
|
|
3203
3220
|
__typename?: 'CompanyLocationType';
|
|
3204
3221
|
id?: string | null;
|
|
@@ -5572,6 +5589,13 @@ export type UpdateCompanyMutation = {
|
|
|
5572
5589
|
averageScore?: number | null;
|
|
5573
5590
|
ownedByUser?: boolean | null;
|
|
5574
5591
|
isProspect?: boolean | null;
|
|
5592
|
+
tags?: Array<{
|
|
5593
|
+
__typename?: 'TagObject';
|
|
5594
|
+
id?: string | null;
|
|
5595
|
+
pk?: string | null;
|
|
5596
|
+
name?: string | null;
|
|
5597
|
+
description?: string | null;
|
|
5598
|
+
} | null> | null;
|
|
5575
5599
|
locations?: Array<{
|
|
5576
5600
|
__typename?: 'CompanyLocationType';
|
|
5577
5601
|
id?: string | null;
|
|
@@ -7735,6 +7759,13 @@ export type CompaniesQuery = {
|
|
|
7735
7759
|
averageScore?: number | null;
|
|
7736
7760
|
ownedByUser?: boolean | null;
|
|
7737
7761
|
isProspect?: boolean | null;
|
|
7762
|
+
tags?: Array<{
|
|
7763
|
+
__typename?: 'TagObject';
|
|
7764
|
+
id?: string | null;
|
|
7765
|
+
pk?: string | null;
|
|
7766
|
+
name?: string | null;
|
|
7767
|
+
description?: string | null;
|
|
7768
|
+
} | null> | null;
|
|
7738
7769
|
locations?: Array<{
|
|
7739
7770
|
__typename?: 'CompanyLocationType';
|
|
7740
7771
|
id?: string | null;
|
|
@@ -8271,6 +8302,13 @@ export type CompanyQuery = {
|
|
|
8271
8302
|
averageScore?: number | null;
|
|
8272
8303
|
ownedByUser?: boolean | null;
|
|
8273
8304
|
isProspect?: boolean | null;
|
|
8305
|
+
tags?: Array<{
|
|
8306
|
+
__typename?: 'TagObject';
|
|
8307
|
+
id?: string | null;
|
|
8308
|
+
pk?: string | null;
|
|
8309
|
+
name?: string | null;
|
|
8310
|
+
description?: string | null;
|
|
8311
|
+
} | null> | null;
|
|
8274
8312
|
locations?: Array<{
|
|
8275
8313
|
__typename?: 'CompanyLocationType';
|
|
8276
8314
|
id?: string | null;
|
|
@@ -10017,6 +10055,13 @@ export type RecentHistoryQuery = {
|
|
|
10017
10055
|
averageScore?: number | null;
|
|
10018
10056
|
ownedByUser?: boolean | null;
|
|
10019
10057
|
isProspect?: boolean | null;
|
|
10058
|
+
tags?: Array<{
|
|
10059
|
+
__typename?: 'TagObject';
|
|
10060
|
+
id?: string | null;
|
|
10061
|
+
pk?: string | null;
|
|
10062
|
+
name?: string | null;
|
|
10063
|
+
description?: string | null;
|
|
10064
|
+
} | null> | null;
|
|
10020
10065
|
locations?: Array<{
|
|
10021
10066
|
__typename?: 'CompanyLocationType';
|
|
10022
10067
|
id?: string | null;
|
|
@@ -1268,6 +1268,12 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
1268
1268
|
phone
|
|
1269
1269
|
email
|
|
1270
1270
|
annualRevenue
|
|
1271
|
+
tags {
|
|
1272
|
+
id
|
|
1273
|
+
pk
|
|
1274
|
+
name
|
|
1275
|
+
description
|
|
1276
|
+
}
|
|
1271
1277
|
locations {
|
|
1272
1278
|
id
|
|
1273
1279
|
address1
|
|
@@ -4311,6 +4317,12 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
4311
4317
|
phone
|
|
4312
4318
|
email
|
|
4313
4319
|
annualRevenue
|
|
4320
|
+
tags {
|
|
4321
|
+
id
|
|
4322
|
+
pk
|
|
4323
|
+
name
|
|
4324
|
+
description
|
|
4325
|
+
}
|
|
4314
4326
|
locations {
|
|
4315
4327
|
id
|
|
4316
4328
|
address1
|
|
@@ -6802,6 +6814,12 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
6802
6814
|
phone
|
|
6803
6815
|
email
|
|
6804
6816
|
annualRevenue
|
|
6817
|
+
tags {
|
|
6818
|
+
id
|
|
6819
|
+
pk
|
|
6820
|
+
name
|
|
6821
|
+
description
|
|
6822
|
+
}
|
|
6805
6823
|
locations {
|
|
6806
6824
|
id
|
|
6807
6825
|
address1
|
|
@@ -7323,6 +7341,12 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
7323
7341
|
phone
|
|
7324
7342
|
email
|
|
7325
7343
|
annualRevenue
|
|
7344
|
+
tags {
|
|
7345
|
+
id
|
|
7346
|
+
pk
|
|
7347
|
+
name
|
|
7348
|
+
description
|
|
7349
|
+
}
|
|
7326
7350
|
locations {
|
|
7327
7351
|
id
|
|
7328
7352
|
address1
|
|
@@ -9480,6 +9504,12 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
9480
9504
|
phone
|
|
9481
9505
|
email
|
|
9482
9506
|
annualRevenue
|
|
9507
|
+
tags {
|
|
9508
|
+
id
|
|
9509
|
+
pk
|
|
9510
|
+
name
|
|
9511
|
+
description
|
|
9512
|
+
}
|
|
9483
9513
|
locations {
|
|
9484
9514
|
id
|
|
9485
9515
|
address1
|
package/dist/mutations.js
CHANGED
|
@@ -313,6 +313,12 @@ mutation CreateCompany($input: CompanyInput) {
|
|
|
313
313
|
phone
|
|
314
314
|
email
|
|
315
315
|
annualRevenue
|
|
316
|
+
tags {
|
|
317
|
+
id
|
|
318
|
+
pk
|
|
319
|
+
name
|
|
320
|
+
description
|
|
321
|
+
}
|
|
316
322
|
locations {
|
|
317
323
|
id
|
|
318
324
|
address1
|
|
@@ -889,6 +895,12 @@ mutation UpdateCompany($input: CompanyInput) {
|
|
|
889
895
|
phone
|
|
890
896
|
email
|
|
891
897
|
annualRevenue
|
|
898
|
+
tags {
|
|
899
|
+
id
|
|
900
|
+
pk
|
|
901
|
+
name
|
|
902
|
+
description
|
|
903
|
+
}
|
|
892
904
|
locations {
|
|
893
905
|
id
|
|
894
906
|
address1
|
package/dist/queries.js
CHANGED
|
@@ -100,6 +100,12 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
|
|
|
100
100
|
phone
|
|
101
101
|
email
|
|
102
102
|
annualRevenue
|
|
103
|
+
tags {
|
|
104
|
+
id
|
|
105
|
+
pk
|
|
106
|
+
name
|
|
107
|
+
description
|
|
108
|
+
}
|
|
103
109
|
locations {
|
|
104
110
|
id
|
|
105
111
|
address1
|
|
@@ -2333,6 +2339,12 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
|
|
|
2333
2339
|
phone
|
|
2334
2340
|
email
|
|
2335
2341
|
annualRevenue
|
|
2342
|
+
tags {
|
|
2343
|
+
id
|
|
2344
|
+
pk
|
|
2345
|
+
name
|
|
2346
|
+
description
|
|
2347
|
+
}
|
|
2336
2348
|
locations {
|
|
2337
2349
|
id
|
|
2338
2350
|
address1
|
|
@@ -2921,6 +2933,12 @@ query Company($id: String) {
|
|
|
2921
2933
|
phone
|
|
2922
2934
|
email
|
|
2923
2935
|
annualRevenue
|
|
2936
|
+
tags {
|
|
2937
|
+
id
|
|
2938
|
+
pk
|
|
2939
|
+
name
|
|
2940
|
+
description
|
|
2941
|
+
}
|
|
2924
2942
|
locations {
|
|
2925
2943
|
id
|
|
2926
2944
|
address1
|