cf-service-sdk 0.1.20 → 0.1.22
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 +258 -0
- package/dist/generated/graphql.js +153 -1
- package/dist/queries.d.ts +3 -0
- package/dist/queries.js +50 -1
- package/dist/sdk.d.ts +3 -0
- package/dist/sdk.js +18 -0
- package/package.json +1 -1
|
@@ -228,6 +228,12 @@ export type AddSupplierToSupplierListInput = {
|
|
|
228
228
|
companyId: Scalars['ID']['input'];
|
|
229
229
|
supplierListId: Scalars['ID']['input'];
|
|
230
230
|
};
|
|
231
|
+
export type AddressComponentType = {
|
|
232
|
+
__typename?: 'AddressComponentType';
|
|
233
|
+
longName?: Maybe<Scalars['String']['output']>;
|
|
234
|
+
shortName?: Maybe<Scalars['String']['output']>;
|
|
235
|
+
types?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
236
|
+
};
|
|
231
237
|
/** An enumeration. */
|
|
232
238
|
export declare enum AppSalesGoalTypeChoices {
|
|
233
239
|
/** Custom */
|
|
@@ -247,6 +253,19 @@ export type AuditLogItemType = {
|
|
|
247
253
|
title: Scalars['String']['output'];
|
|
248
254
|
type: Scalars['String']['output'];
|
|
249
255
|
};
|
|
256
|
+
export type AutocompletePredictionType = {
|
|
257
|
+
__typename?: 'AutocompletePredictionType';
|
|
258
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
259
|
+
placeId?: Maybe<Scalars['String']['output']>;
|
|
260
|
+
structuredFormatting?: Maybe<StructuredFormattingType>;
|
|
261
|
+
types?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
262
|
+
};
|
|
263
|
+
export type AutocompleteResponseType = {
|
|
264
|
+
__typename?: 'AutocompleteResponseType';
|
|
265
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
266
|
+
predictions?: Maybe<Array<Maybe<AutocompletePredictionType>>>;
|
|
267
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
268
|
+
};
|
|
250
269
|
export type AutomatedProspectingCampaignInput = {
|
|
251
270
|
activeDays?: InputMaybe<Scalars['GenericScalar']['input']>;
|
|
252
271
|
additionalNotes?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2378,6 +2397,18 @@ export type GenerateNewEmail = {
|
|
|
2378
2397
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2379
2398
|
variablesUsed?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2380
2399
|
};
|
|
2400
|
+
export type GeocodeResponseType = {
|
|
2401
|
+
__typename?: 'GeocodeResponseType';
|
|
2402
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
2403
|
+
results?: Maybe<Array<Maybe<GeocodeResultType>>>;
|
|
2404
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
2405
|
+
};
|
|
2406
|
+
export type GeocodeResultType = {
|
|
2407
|
+
__typename?: 'GeocodeResultType';
|
|
2408
|
+
addressComponents?: Maybe<Array<Maybe<AddressComponentType>>>;
|
|
2409
|
+
formattedAddress?: Maybe<Scalars['String']['output']>;
|
|
2410
|
+
placeId?: Maybe<Scalars['String']['output']>;
|
|
2411
|
+
};
|
|
2381
2412
|
/** Input type for hidden record mutations */
|
|
2382
2413
|
export type HiddenRecordInput = {
|
|
2383
2414
|
/** ID of the record to hide/unhide */
|
|
@@ -3709,6 +3740,18 @@ export type PauseCombinedCampaign = {
|
|
|
3709
3740
|
message?: Maybe<Scalars['String']['output']>;
|
|
3710
3741
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
3711
3742
|
};
|
|
3743
|
+
export type PlaceDetailResultType = {
|
|
3744
|
+
__typename?: 'PlaceDetailResultType';
|
|
3745
|
+
addressComponents?: Maybe<Array<Maybe<AddressComponentType>>>;
|
|
3746
|
+
formattedAddress?: Maybe<Scalars['String']['output']>;
|
|
3747
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
3748
|
+
};
|
|
3749
|
+
export type PlaceDetailsResponseType = {
|
|
3750
|
+
__typename?: 'PlaceDetailsResponseType';
|
|
3751
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
3752
|
+
result?: Maybe<PlaceDetailResultType>;
|
|
3753
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
3754
|
+
};
|
|
3712
3755
|
/** Plan limitations exposed to clients */
|
|
3713
3756
|
export type PlanLimitationsType = {
|
|
3714
3757
|
__typename?: 'PlanLimitationsType';
|
|
@@ -4075,6 +4118,12 @@ export type Query = {
|
|
|
4075
4118
|
/** Get all email threads for a specific company, grouped by thread_id or subject */
|
|
4076
4119
|
emailThreadsByCompany?: Maybe<PaginatedEmailThreadList>;
|
|
4077
4120
|
employeeSizes?: Maybe<Array<Maybe<EmployeeSizeData>>>;
|
|
4121
|
+
/** Get place details by place_id via Google Maps proxy */
|
|
4122
|
+
googlePlaceDetails?: Maybe<PlaceDetailsResponseType>;
|
|
4123
|
+
/** Get place autocomplete predictions via Google Maps proxy */
|
|
4124
|
+
googlePlacesAutocomplete?: Maybe<AutocompleteResponseType>;
|
|
4125
|
+
/** Reverse geocode coordinates to an address via Google Maps proxy */
|
|
4126
|
+
googleReverseGeocode?: Maybe<GeocodeResponseType>;
|
|
4078
4127
|
industrySectors?: Maybe<Array<Maybe<IndustrySectorObject>>>;
|
|
4079
4128
|
industryTypes?: Maybe<Array<Maybe<IndustryTypeObject>>>;
|
|
4080
4129
|
/** Get a specific mail log by ID */
|
|
@@ -4361,6 +4410,21 @@ export type QueryEmailThreadsByCompanyArgs = {
|
|
|
4361
4410
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
4362
4411
|
};
|
|
4363
4412
|
/** Query */
|
|
4413
|
+
export type QueryGooglePlaceDetailsArgs = {
|
|
4414
|
+
fields?: InputMaybe<Scalars['String']['input']>;
|
|
4415
|
+
placeId: Scalars['String']['input'];
|
|
4416
|
+
};
|
|
4417
|
+
/** Query */
|
|
4418
|
+
export type QueryGooglePlacesAutocompleteArgs = {
|
|
4419
|
+
components?: InputMaybe<Scalars['String']['input']>;
|
|
4420
|
+
searchInput: Scalars['String']['input'];
|
|
4421
|
+
types?: InputMaybe<Scalars['String']['input']>;
|
|
4422
|
+
};
|
|
4423
|
+
/** Query */
|
|
4424
|
+
export type QueryGoogleReverseGeocodeArgs = {
|
|
4425
|
+
latlng: Scalars['String']['input'];
|
|
4426
|
+
};
|
|
4427
|
+
/** Query */
|
|
4364
4428
|
export type QueryMailLogArgs = {
|
|
4365
4429
|
id: Scalars['Int']['input'];
|
|
4366
4430
|
};
|
|
@@ -5088,6 +5152,11 @@ export type StartCombinedCampaign = {
|
|
|
5088
5152
|
message?: Maybe<Scalars['String']['output']>;
|
|
5089
5153
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5090
5154
|
};
|
|
5155
|
+
export type StructuredFormattingType = {
|
|
5156
|
+
__typename?: 'StructuredFormattingType';
|
|
5157
|
+
mainText?: Maybe<Scalars['String']['output']>;
|
|
5158
|
+
secondaryText?: Maybe<Scalars['String']['output']>;
|
|
5159
|
+
};
|
|
5091
5160
|
/** SubmitFeedback - Submit feedback */
|
|
5092
5161
|
export type SubmitFeedback = {
|
|
5093
5162
|
__typename?: 'SubmitFeedback';
|
|
@@ -5124,6 +5193,8 @@ export type SuggestedFilterValues = {
|
|
|
5124
5193
|
geoLat?: Maybe<Scalars['Float']['output']>;
|
|
5125
5194
|
/** Longitude of the source company's primary location */
|
|
5126
5195
|
geoLon?: Maybe<Scalars['Float']['output']>;
|
|
5196
|
+
/** Industry type IDs from the source company */
|
|
5197
|
+
industryType?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
|
|
5127
5198
|
/** Suggested keywords filter (company description + keyword tags) */
|
|
5128
5199
|
keywords?: Maybe<Scalars['String']['output']>;
|
|
5129
5200
|
};
|
|
@@ -22708,6 +22779,75 @@ export type EmployeeSizesQuery = {
|
|
|
22708
22779
|
abbreviation?: string | null;
|
|
22709
22780
|
} | null> | null;
|
|
22710
22781
|
};
|
|
22782
|
+
export type GooglePlaceDetailsQueryVariables = Exact<{
|
|
22783
|
+
placeId: Scalars['String']['input'];
|
|
22784
|
+
fields?: InputMaybe<Scalars['String']['input']>;
|
|
22785
|
+
}>;
|
|
22786
|
+
export type GooglePlaceDetailsQuery = {
|
|
22787
|
+
__typename?: 'Query';
|
|
22788
|
+
googlePlaceDetails?: {
|
|
22789
|
+
__typename?: 'PlaceDetailsResponseType';
|
|
22790
|
+
status?: string | null;
|
|
22791
|
+
errorMessage?: string | null;
|
|
22792
|
+
result?: {
|
|
22793
|
+
__typename?: 'PlaceDetailResultType';
|
|
22794
|
+
formattedAddress?: string | null;
|
|
22795
|
+
name?: string | null;
|
|
22796
|
+
addressComponents?: Array<{
|
|
22797
|
+
__typename?: 'AddressComponentType';
|
|
22798
|
+
longName?: string | null;
|
|
22799
|
+
shortName?: string | null;
|
|
22800
|
+
types?: Array<string | null> | null;
|
|
22801
|
+
} | null> | null;
|
|
22802
|
+
} | null;
|
|
22803
|
+
} | null;
|
|
22804
|
+
};
|
|
22805
|
+
export type GooglePlacesAutocompleteQueryVariables = Exact<{
|
|
22806
|
+
searchInput: Scalars['String']['input'];
|
|
22807
|
+
components?: InputMaybe<Scalars['String']['input']>;
|
|
22808
|
+
types?: InputMaybe<Scalars['String']['input']>;
|
|
22809
|
+
}>;
|
|
22810
|
+
export type GooglePlacesAutocompleteQuery = {
|
|
22811
|
+
__typename?: 'Query';
|
|
22812
|
+
googlePlacesAutocomplete?: {
|
|
22813
|
+
__typename?: 'AutocompleteResponseType';
|
|
22814
|
+
status?: string | null;
|
|
22815
|
+
errorMessage?: string | null;
|
|
22816
|
+
predictions?: Array<{
|
|
22817
|
+
__typename?: 'AutocompletePredictionType';
|
|
22818
|
+
description?: string | null;
|
|
22819
|
+
placeId?: string | null;
|
|
22820
|
+
types?: Array<string | null> | null;
|
|
22821
|
+
structuredFormatting?: {
|
|
22822
|
+
__typename?: 'StructuredFormattingType';
|
|
22823
|
+
mainText?: string | null;
|
|
22824
|
+
secondaryText?: string | null;
|
|
22825
|
+
} | null;
|
|
22826
|
+
} | null> | null;
|
|
22827
|
+
} | null;
|
|
22828
|
+
};
|
|
22829
|
+
export type GoogleReverseGeocodeQueryVariables = Exact<{
|
|
22830
|
+
latlng: Scalars['String']['input'];
|
|
22831
|
+
}>;
|
|
22832
|
+
export type GoogleReverseGeocodeQuery = {
|
|
22833
|
+
__typename?: 'Query';
|
|
22834
|
+
googleReverseGeocode?: {
|
|
22835
|
+
__typename?: 'GeocodeResponseType';
|
|
22836
|
+
status?: string | null;
|
|
22837
|
+
errorMessage?: string | null;
|
|
22838
|
+
results?: Array<{
|
|
22839
|
+
__typename?: 'GeocodeResultType';
|
|
22840
|
+
formattedAddress?: string | null;
|
|
22841
|
+
placeId?: string | null;
|
|
22842
|
+
addressComponents?: Array<{
|
|
22843
|
+
__typename?: 'AddressComponentType';
|
|
22844
|
+
longName?: string | null;
|
|
22845
|
+
shortName?: string | null;
|
|
22846
|
+
types?: Array<string | null> | null;
|
|
22847
|
+
} | null> | null;
|
|
22848
|
+
} | null> | null;
|
|
22849
|
+
} | null;
|
|
22850
|
+
};
|
|
22711
22851
|
export type IndustrySectorsQueryVariables = Exact<{
|
|
22712
22852
|
[key: string]: never;
|
|
22713
22853
|
}>;
|
|
@@ -26220,6 +26360,7 @@ export type SuggestedCompanyFiltersQuery = {
|
|
|
26220
26360
|
keywords?: string | null;
|
|
26221
26361
|
geoLat?: number | null;
|
|
26222
26362
|
geoLon?: number | null;
|
|
26363
|
+
industryType?: Array<string | null> | null;
|
|
26223
26364
|
} | null;
|
|
26224
26365
|
sortHierarchy?: Array<{
|
|
26225
26366
|
__typename?: 'SuggestedSort';
|
|
@@ -35279,6 +35420,123 @@ export type EmployeeSizesQueryHookResult = ReturnType<typeof useEmployeeSizesQue
|
|
|
35279
35420
|
export type EmployeeSizesLazyQueryHookResult = ReturnType<typeof useEmployeeSizesLazyQuery>;
|
|
35280
35421
|
export type EmployeeSizesSuspenseQueryHookResult = ReturnType<typeof useEmployeeSizesSuspenseQuery>;
|
|
35281
35422
|
export type EmployeeSizesQueryResult = Apollo.QueryResult<EmployeeSizesQuery, EmployeeSizesQueryVariables>;
|
|
35423
|
+
export declare const GooglePlaceDetailsDocument: Apollo.DocumentNode;
|
|
35424
|
+
/**
|
|
35425
|
+
* __useGooglePlaceDetailsQuery__
|
|
35426
|
+
*
|
|
35427
|
+
* To run a query within a React component, call `useGooglePlaceDetailsQuery` and pass it any options that fit your needs.
|
|
35428
|
+
* When your component renders, `useGooglePlaceDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35429
|
+
* you can use to render your UI.
|
|
35430
|
+
*
|
|
35431
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
35432
|
+
*
|
|
35433
|
+
* @example
|
|
35434
|
+
* const { data, loading, error } = useGooglePlaceDetailsQuery({
|
|
35435
|
+
* variables: {
|
|
35436
|
+
* placeId: // value for 'placeId'
|
|
35437
|
+
* fields: // value for 'fields'
|
|
35438
|
+
* },
|
|
35439
|
+
* });
|
|
35440
|
+
*/
|
|
35441
|
+
export declare function useGooglePlaceDetailsQuery(baseOptions: Apollo.QueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables> & ({
|
|
35442
|
+
variables: GooglePlaceDetailsQueryVariables;
|
|
35443
|
+
skip?: boolean;
|
|
35444
|
+
} | {
|
|
35445
|
+
skip: boolean;
|
|
35446
|
+
})): Apollo.QueryResult<GooglePlaceDetailsQuery, Exact<{
|
|
35447
|
+
placeId: Scalars["String"]["input"];
|
|
35448
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35449
|
+
}>>;
|
|
35450
|
+
export declare function useGooglePlaceDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>): Apollo.LazyQueryResultTuple<GooglePlaceDetailsQuery, Exact<{
|
|
35451
|
+
placeId: Scalars["String"]["input"];
|
|
35452
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35453
|
+
}>>;
|
|
35454
|
+
export declare function useGooglePlaceDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<GooglePlaceDetailsQuery | undefined, Exact<{
|
|
35455
|
+
placeId: Scalars["String"]["input"];
|
|
35456
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35457
|
+
}>>;
|
|
35458
|
+
export type GooglePlaceDetailsQueryHookResult = ReturnType<typeof useGooglePlaceDetailsQuery>;
|
|
35459
|
+
export type GooglePlaceDetailsLazyQueryHookResult = ReturnType<typeof useGooglePlaceDetailsLazyQuery>;
|
|
35460
|
+
export type GooglePlaceDetailsSuspenseQueryHookResult = ReturnType<typeof useGooglePlaceDetailsSuspenseQuery>;
|
|
35461
|
+
export type GooglePlaceDetailsQueryResult = Apollo.QueryResult<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>;
|
|
35462
|
+
export declare const GooglePlacesAutocompleteDocument: Apollo.DocumentNode;
|
|
35463
|
+
/**
|
|
35464
|
+
* __useGooglePlacesAutocompleteQuery__
|
|
35465
|
+
*
|
|
35466
|
+
* To run a query within a React component, call `useGooglePlacesAutocompleteQuery` and pass it any options that fit your needs.
|
|
35467
|
+
* When your component renders, `useGooglePlacesAutocompleteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35468
|
+
* you can use to render your UI.
|
|
35469
|
+
*
|
|
35470
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
35471
|
+
*
|
|
35472
|
+
* @example
|
|
35473
|
+
* const { data, loading, error } = useGooglePlacesAutocompleteQuery({
|
|
35474
|
+
* variables: {
|
|
35475
|
+
* searchInput: // value for 'searchInput'
|
|
35476
|
+
* components: // value for 'components'
|
|
35477
|
+
* types: // value for 'types'
|
|
35478
|
+
* },
|
|
35479
|
+
* });
|
|
35480
|
+
*/
|
|
35481
|
+
export declare function useGooglePlacesAutocompleteQuery(baseOptions: Apollo.QueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables> & ({
|
|
35482
|
+
variables: GooglePlacesAutocompleteQueryVariables;
|
|
35483
|
+
skip?: boolean;
|
|
35484
|
+
} | {
|
|
35485
|
+
skip: boolean;
|
|
35486
|
+
})): Apollo.QueryResult<GooglePlacesAutocompleteQuery, Exact<{
|
|
35487
|
+
searchInput: Scalars["String"]["input"];
|
|
35488
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35489
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35490
|
+
}>>;
|
|
35491
|
+
export declare function useGooglePlacesAutocompleteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>): Apollo.LazyQueryResultTuple<GooglePlacesAutocompleteQuery, Exact<{
|
|
35492
|
+
searchInput: Scalars["String"]["input"];
|
|
35493
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35494
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35495
|
+
}>>;
|
|
35496
|
+
export declare function useGooglePlacesAutocompleteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>): Apollo.UseSuspenseQueryResult<GooglePlacesAutocompleteQuery | undefined, Exact<{
|
|
35497
|
+
searchInput: Scalars["String"]["input"];
|
|
35498
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35499
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35500
|
+
}>>;
|
|
35501
|
+
export type GooglePlacesAutocompleteQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteQuery>;
|
|
35502
|
+
export type GooglePlacesAutocompleteLazyQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteLazyQuery>;
|
|
35503
|
+
export type GooglePlacesAutocompleteSuspenseQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteSuspenseQuery>;
|
|
35504
|
+
export type GooglePlacesAutocompleteQueryResult = Apollo.QueryResult<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>;
|
|
35505
|
+
export declare const GoogleReverseGeocodeDocument: Apollo.DocumentNode;
|
|
35506
|
+
/**
|
|
35507
|
+
* __useGoogleReverseGeocodeQuery__
|
|
35508
|
+
*
|
|
35509
|
+
* To run a query within a React component, call `useGoogleReverseGeocodeQuery` and pass it any options that fit your needs.
|
|
35510
|
+
* When your component renders, `useGoogleReverseGeocodeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35511
|
+
* you can use to render your UI.
|
|
35512
|
+
*
|
|
35513
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
35514
|
+
*
|
|
35515
|
+
* @example
|
|
35516
|
+
* const { data, loading, error } = useGoogleReverseGeocodeQuery({
|
|
35517
|
+
* variables: {
|
|
35518
|
+
* latlng: // value for 'latlng'
|
|
35519
|
+
* },
|
|
35520
|
+
* });
|
|
35521
|
+
*/
|
|
35522
|
+
export declare function useGoogleReverseGeocodeQuery(baseOptions: Apollo.QueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables> & ({
|
|
35523
|
+
variables: GoogleReverseGeocodeQueryVariables;
|
|
35524
|
+
skip?: boolean;
|
|
35525
|
+
} | {
|
|
35526
|
+
skip: boolean;
|
|
35527
|
+
})): Apollo.QueryResult<GoogleReverseGeocodeQuery, Exact<{
|
|
35528
|
+
latlng: Scalars["String"]["input"];
|
|
35529
|
+
}>>;
|
|
35530
|
+
export declare function useGoogleReverseGeocodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>): Apollo.LazyQueryResultTuple<GoogleReverseGeocodeQuery, Exact<{
|
|
35531
|
+
latlng: Scalars["String"]["input"];
|
|
35532
|
+
}>>;
|
|
35533
|
+
export declare function useGoogleReverseGeocodeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>): Apollo.UseSuspenseQueryResult<GoogleReverseGeocodeQuery | undefined, Exact<{
|
|
35534
|
+
latlng: Scalars["String"]["input"];
|
|
35535
|
+
}>>;
|
|
35536
|
+
export type GoogleReverseGeocodeQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeQuery>;
|
|
35537
|
+
export type GoogleReverseGeocodeLazyQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeLazyQuery>;
|
|
35538
|
+
export type GoogleReverseGeocodeSuspenseQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeSuspenseQuery>;
|
|
35539
|
+
export type GoogleReverseGeocodeQueryResult = Apollo.QueryResult<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>;
|
|
35282
35540
|
export declare const IndustrySectorsDocument: Apollo.DocumentNode;
|
|
35283
35541
|
/**
|
|
35284
35542
|
* __useIndustrySectorsQuery__
|
|
@@ -37,7 +37,7 @@ exports.CreateRfqDocument = exports.CreateNotificationDocument = exports.CreateM
|
|
|
37
37
|
exports.RemoveMemberDocument = exports.RemoveCustomContactFromSupplierListDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RemoveContactFromSupplierListDocument = exports.RemoveContactFromMySupplierDocument = exports.RemoveContactFromAutomatedProspectingDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.LaunchAutomatedProspectingDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.GenerateNewEmailDocument = exports.GenerateCallCampaignScriptDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSupplierlistDocument = exports.DeleteSegmentDocument = exports.DeleteSavedSearchSpotDocument = exports.DeleteSalesGoalDocument = exports.DeleteRfqlineitemDocument = exports.DeleteRfqDocument = exports.DeleteNotificationDocument = exports.DeleteMysupplierDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignTemplateDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallScriptTemplateDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSupplierlistDocument = exports.CreateSegmentDocument = exports.CreateSavedSearchSpotDocument = exports.CreateSalesGoalDocument = exports.CreateRfqlineitemDocument = void 0;
|
|
38
38
|
exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSupplierlistDocument = exports.UpdateSegmentDocument = exports.UpdateSalesGoalDocument = exports.UpdateRfqlineitemDocument = exports.UpdateRfqDocument = exports.UpdateMysupplierDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyProfileDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyExternalIdentifierDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignTemplateDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallScriptTemplateDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UpdateAutomatedProspectingIndustriesDocument = exports.UpdateAutomatedProspectingCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnskipAutomatedProspectingDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SkipAutomatedProspectingDocument = exports.SignupDocument = exports.SetLeadNotInterestedDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendRfqTestEmailDocument = exports.SendRfqDocument = exports.SendManualEmailDocument = exports.SendEmailToEmailThreadDocument = exports.SendEmailToContactDocument = exports.ScheduleRfqDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.SaveAutomatedProspectingConfigDocument = exports.ResumeCombinedCampaignDocument = exports.RequestProAccessDocument = exports.RemoveSupplierFromSupplierListDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = void 0;
|
|
39
39
|
exports.EmailCampaignReportOverviewDocument = exports.EmailCampaignReportByCampaignDocument = exports.DashboardStatsDocument = exports.CurrentPipelineTotalDocument = exports.CurrentAccountDocument = exports.CrmFunnelReportDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanySearchDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyMetadataDocument = exports.CompanyExternalIdentifierDocument = exports.CompanyAudiencesAndCampaignsDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignTemplatesDocument = exports.CombinedCampaignTemplateDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallScriptTemplatesDocument = exports.CallScriptTemplateDocument = exports.CallCampaignsDocument = exports.CallCampaignScriptPreviewDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AutomatedProspectingStatsDocument = exports.AutomatedProspectingConfigDocument = exports.AutomatedProspectingCampaignsDocument = exports.AutomatedProspectingCampaignDocument = exports.AccountSubscriptionDocument = exports.AccountProfileDocument = exports.AccountMembersDocument = exports.AccountFeatureFlagsDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = void 0;
|
|
40
|
-
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SuppliersDocument = exports.SupplierlistListDocument = exports.SupplierlistDocument = exports.SupplierListCustomContactsDocument = exports.SupplierListContactsDocument = exports.SupplierDocument = exports.SuggestedCompanyFiltersDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.SavedSearchSpotsDocument = exports.SalesGoalsDocument = exports.SalesGoalReportDocument = exports.SalesGoalDocument = exports.RfqlineitemListDocument = exports.RfqlineitemDocument = exports.RfqSuppliersDocument = exports.RfqListDocument = exports.RfqDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MysupplierListDocument = exports.MysupplierDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.MailLogsDocument = exports.MailLogDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailThreadsByCompanyDocument = exports.EmailThreadDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.EmailCampaignReportStatsDocument = void 0;
|
|
40
|
+
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SuppliersDocument = exports.SupplierlistListDocument = exports.SupplierlistDocument = exports.SupplierListCustomContactsDocument = exports.SupplierListContactsDocument = exports.SupplierDocument = exports.SuggestedCompanyFiltersDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.SavedSearchSpotsDocument = exports.SalesGoalsDocument = exports.SalesGoalReportDocument = exports.SalesGoalDocument = exports.RfqlineitemListDocument = exports.RfqlineitemDocument = exports.RfqSuppliersDocument = exports.RfqListDocument = exports.RfqDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MysupplierListDocument = exports.MysupplierDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.MailLogsDocument = exports.MailLogDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.GoogleReverseGeocodeDocument = exports.GooglePlacesAutocompleteDocument = exports.GooglePlaceDetailsDocument = exports.EmployeeSizesDocument = exports.EmailThreadsByCompanyDocument = exports.EmailThreadDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.EmailCampaignReportStatsDocument = void 0;
|
|
41
41
|
exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
|
|
42
42
|
exports.useAddContactToAutomatedProspectingMutation = useAddContactToAutomatedProspectingMutation;
|
|
43
43
|
exports.useAddContactToSupplierListMutation = useAddContactToSupplierListMutation;
|
|
@@ -337,6 +337,15 @@ exports.useEmailThreadsByCompanySuspenseQuery = useEmailThreadsByCompanySuspense
|
|
|
337
337
|
exports.useEmployeeSizesQuery = useEmployeeSizesQuery;
|
|
338
338
|
exports.useEmployeeSizesLazyQuery = useEmployeeSizesLazyQuery;
|
|
339
339
|
exports.useEmployeeSizesSuspenseQuery = useEmployeeSizesSuspenseQuery;
|
|
340
|
+
exports.useGooglePlaceDetailsQuery = useGooglePlaceDetailsQuery;
|
|
341
|
+
exports.useGooglePlaceDetailsLazyQuery = useGooglePlaceDetailsLazyQuery;
|
|
342
|
+
exports.useGooglePlaceDetailsSuspenseQuery = useGooglePlaceDetailsSuspenseQuery;
|
|
343
|
+
exports.useGooglePlacesAutocompleteQuery = useGooglePlacesAutocompleteQuery;
|
|
344
|
+
exports.useGooglePlacesAutocompleteLazyQuery = useGooglePlacesAutocompleteLazyQuery;
|
|
345
|
+
exports.useGooglePlacesAutocompleteSuspenseQuery = useGooglePlacesAutocompleteSuspenseQuery;
|
|
346
|
+
exports.useGoogleReverseGeocodeQuery = useGoogleReverseGeocodeQuery;
|
|
347
|
+
exports.useGoogleReverseGeocodeLazyQuery = useGoogleReverseGeocodeLazyQuery;
|
|
348
|
+
exports.useGoogleReverseGeocodeSuspenseQuery = useGoogleReverseGeocodeSuspenseQuery;
|
|
340
349
|
exports.useIndustrySectorsQuery = useIndustrySectorsQuery;
|
|
341
350
|
exports.useIndustrySectorsLazyQuery = useIndustrySectorsLazyQuery;
|
|
342
351
|
exports.useIndustrySectorsSuspenseQuery = useIndustrySectorsSuspenseQuery;
|
|
@@ -20567,6 +20576,148 @@ function useEmployeeSizesSuspenseQuery(baseOptions) {
|
|
|
20567
20576
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
20568
20577
|
return Apollo.useSuspenseQuery(exports.EmployeeSizesDocument, options);
|
|
20569
20578
|
}
|
|
20579
|
+
exports.GooglePlaceDetailsDocument = (0, client_1.gql) `
|
|
20580
|
+
query GooglePlaceDetails($placeId: String!, $fields: String) {
|
|
20581
|
+
googlePlaceDetails(placeId: $placeId, fields: $fields) {
|
|
20582
|
+
status
|
|
20583
|
+
result {
|
|
20584
|
+
addressComponents {
|
|
20585
|
+
longName
|
|
20586
|
+
shortName
|
|
20587
|
+
types
|
|
20588
|
+
}
|
|
20589
|
+
formattedAddress
|
|
20590
|
+
name
|
|
20591
|
+
}
|
|
20592
|
+
errorMessage
|
|
20593
|
+
}
|
|
20594
|
+
}
|
|
20595
|
+
`;
|
|
20596
|
+
/**
|
|
20597
|
+
* __useGooglePlaceDetailsQuery__
|
|
20598
|
+
*
|
|
20599
|
+
* To run a query within a React component, call `useGooglePlaceDetailsQuery` and pass it any options that fit your needs.
|
|
20600
|
+
* When your component renders, `useGooglePlaceDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
20601
|
+
* you can use to render your UI.
|
|
20602
|
+
*
|
|
20603
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
20604
|
+
*
|
|
20605
|
+
* @example
|
|
20606
|
+
* const { data, loading, error } = useGooglePlaceDetailsQuery({
|
|
20607
|
+
* variables: {
|
|
20608
|
+
* placeId: // value for 'placeId'
|
|
20609
|
+
* fields: // value for 'fields'
|
|
20610
|
+
* },
|
|
20611
|
+
* });
|
|
20612
|
+
*/
|
|
20613
|
+
function useGooglePlaceDetailsQuery(baseOptions) {
|
|
20614
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20615
|
+
return Apollo.useQuery(exports.GooglePlaceDetailsDocument, options);
|
|
20616
|
+
}
|
|
20617
|
+
function useGooglePlaceDetailsLazyQuery(baseOptions) {
|
|
20618
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20619
|
+
return Apollo.useLazyQuery(exports.GooglePlaceDetailsDocument, options);
|
|
20620
|
+
}
|
|
20621
|
+
function useGooglePlaceDetailsSuspenseQuery(baseOptions) {
|
|
20622
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
20623
|
+
return Apollo.useSuspenseQuery(exports.GooglePlaceDetailsDocument, options);
|
|
20624
|
+
}
|
|
20625
|
+
exports.GooglePlacesAutocompleteDocument = (0, client_1.gql) `
|
|
20626
|
+
query GooglePlacesAutocomplete($searchInput: String!, $components: String, $types: String) {
|
|
20627
|
+
googlePlacesAutocomplete(
|
|
20628
|
+
searchInput: $searchInput
|
|
20629
|
+
components: $components
|
|
20630
|
+
types: $types
|
|
20631
|
+
) {
|
|
20632
|
+
status
|
|
20633
|
+
predictions {
|
|
20634
|
+
description
|
|
20635
|
+
placeId
|
|
20636
|
+
structuredFormatting {
|
|
20637
|
+
mainText
|
|
20638
|
+
secondaryText
|
|
20639
|
+
}
|
|
20640
|
+
types
|
|
20641
|
+
}
|
|
20642
|
+
errorMessage
|
|
20643
|
+
}
|
|
20644
|
+
}
|
|
20645
|
+
`;
|
|
20646
|
+
/**
|
|
20647
|
+
* __useGooglePlacesAutocompleteQuery__
|
|
20648
|
+
*
|
|
20649
|
+
* To run a query within a React component, call `useGooglePlacesAutocompleteQuery` and pass it any options that fit your needs.
|
|
20650
|
+
* When your component renders, `useGooglePlacesAutocompleteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
20651
|
+
* you can use to render your UI.
|
|
20652
|
+
*
|
|
20653
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
20654
|
+
*
|
|
20655
|
+
* @example
|
|
20656
|
+
* const { data, loading, error } = useGooglePlacesAutocompleteQuery({
|
|
20657
|
+
* variables: {
|
|
20658
|
+
* searchInput: // value for 'searchInput'
|
|
20659
|
+
* components: // value for 'components'
|
|
20660
|
+
* types: // value for 'types'
|
|
20661
|
+
* },
|
|
20662
|
+
* });
|
|
20663
|
+
*/
|
|
20664
|
+
function useGooglePlacesAutocompleteQuery(baseOptions) {
|
|
20665
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20666
|
+
return Apollo.useQuery(exports.GooglePlacesAutocompleteDocument, options);
|
|
20667
|
+
}
|
|
20668
|
+
function useGooglePlacesAutocompleteLazyQuery(baseOptions) {
|
|
20669
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20670
|
+
return Apollo.useLazyQuery(exports.GooglePlacesAutocompleteDocument, options);
|
|
20671
|
+
}
|
|
20672
|
+
function useGooglePlacesAutocompleteSuspenseQuery(baseOptions) {
|
|
20673
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
20674
|
+
return Apollo.useSuspenseQuery(exports.GooglePlacesAutocompleteDocument, options);
|
|
20675
|
+
}
|
|
20676
|
+
exports.GoogleReverseGeocodeDocument = (0, client_1.gql) `
|
|
20677
|
+
query GoogleReverseGeocode($latlng: String!) {
|
|
20678
|
+
googleReverseGeocode(latlng: $latlng) {
|
|
20679
|
+
status
|
|
20680
|
+
results {
|
|
20681
|
+
addressComponents {
|
|
20682
|
+
longName
|
|
20683
|
+
shortName
|
|
20684
|
+
types
|
|
20685
|
+
}
|
|
20686
|
+
formattedAddress
|
|
20687
|
+
placeId
|
|
20688
|
+
}
|
|
20689
|
+
errorMessage
|
|
20690
|
+
}
|
|
20691
|
+
}
|
|
20692
|
+
`;
|
|
20693
|
+
/**
|
|
20694
|
+
* __useGoogleReverseGeocodeQuery__
|
|
20695
|
+
*
|
|
20696
|
+
* To run a query within a React component, call `useGoogleReverseGeocodeQuery` and pass it any options that fit your needs.
|
|
20697
|
+
* When your component renders, `useGoogleReverseGeocodeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
20698
|
+
* you can use to render your UI.
|
|
20699
|
+
*
|
|
20700
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
20701
|
+
*
|
|
20702
|
+
* @example
|
|
20703
|
+
* const { data, loading, error } = useGoogleReverseGeocodeQuery({
|
|
20704
|
+
* variables: {
|
|
20705
|
+
* latlng: // value for 'latlng'
|
|
20706
|
+
* },
|
|
20707
|
+
* });
|
|
20708
|
+
*/
|
|
20709
|
+
function useGoogleReverseGeocodeQuery(baseOptions) {
|
|
20710
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20711
|
+
return Apollo.useQuery(exports.GoogleReverseGeocodeDocument, options);
|
|
20712
|
+
}
|
|
20713
|
+
function useGoogleReverseGeocodeLazyQuery(baseOptions) {
|
|
20714
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
20715
|
+
return Apollo.useLazyQuery(exports.GoogleReverseGeocodeDocument, options);
|
|
20716
|
+
}
|
|
20717
|
+
function useGoogleReverseGeocodeSuspenseQuery(baseOptions) {
|
|
20718
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
20719
|
+
return Apollo.useSuspenseQuery(exports.GoogleReverseGeocodeDocument, options);
|
|
20720
|
+
}
|
|
20570
20721
|
exports.IndustrySectorsDocument = (0, client_1.gql) `
|
|
20571
20722
|
query IndustrySectors {
|
|
20572
20723
|
industrySectors {
|
|
@@ -24537,6 +24688,7 @@ exports.SuggestedCompanyFiltersDocument = (0, client_1.gql) `
|
|
|
24537
24688
|
keywords
|
|
24538
24689
|
geoLat
|
|
24539
24690
|
geoLon
|
|
24691
|
+
industryType
|
|
24540
24692
|
}
|
|
24541
24693
|
sortHierarchy {
|
|
24542
24694
|
field
|
package/dist/queries.d.ts
CHANGED
|
@@ -67,6 +67,9 @@ export declare const EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN: import("@apollo/client")
|
|
|
67
67
|
export declare const SEGMENTS: import("@apollo/client").DocumentNode;
|
|
68
68
|
export declare const SEGMENT: import("@apollo/client").DocumentNode;
|
|
69
69
|
export declare const CONTACTS_IN_SEGMENT: import("@apollo/client").DocumentNode;
|
|
70
|
+
export declare const GOOGLE_REVERSE_GEOCODE: import("@apollo/client").DocumentNode;
|
|
71
|
+
export declare const GOOGLE_PLACES_AUTOCOMPLETE: import("@apollo/client").DocumentNode;
|
|
72
|
+
export declare const GOOGLE_PLACE_DETAILS: import("@apollo/client").DocumentNode;
|
|
70
73
|
export declare const AUTOMATED_PROSPECTING_CONFIG: import("@apollo/client").DocumentNode;
|
|
71
74
|
export declare const AUTOMATED_PROSPECTING_CAMPAIGNS: import("@apollo/client").DocumentNode;
|
|
72
75
|
export declare const AUTOMATED_PROSPECTING_CAMPAIGN: import("@apollo/client").DocumentNode;
|
package/dist/queries.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TASK = exports.TASKS = exports.SALES_GOAL = exports.SALES_GOALS = exports.CALL_CAMPAIGN_SCRIPT_PREVIEW = exports.CALL_CAMPAIGN_REPORT = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = exports.CALL_SCRIPT_TEMPLATE = exports.CALL_SCRIPT_TEMPLATES = exports.RECENT_HISTORY = exports.SALES_GOAL_REPORT = exports.CURRENT_PIPELINE_TOTAL = exports.CRM_FUNNEL_REPORT = exports.DASHBOARD_STATS = exports.EMAIL_THREADS_BY_COMPANY = exports.EMAIL_THREAD = exports.MAIL_LOG = exports.MAIL_LOGS = exports.COMBINED_CAMPAIGN_TEMPLATE = exports.COMBINED_CAMPAIGN_TEMPLATES = exports.COMBINED_CAMPAIGN_STEPS = exports.COMBINED_CAMPAIGN_CONTACTS = exports.COMBINED_CAMPAIGN_LOGS = exports.COMBINED_CAMPAIGN = exports.COMBINED_CAMPAIGNS = exports.ACCOUNT_SUBSCRIPTION = exports.SUPPLIER_LIST_CUSTOM_CONTACTS = exports.SUPPLIER_LIST_CONTACTS = exports.RFQ_SUPPLIERS = exports.SUPPLIER = exports.SUPPLIERS = exports.RFQLINEITEM_LIST = exports.RFQLINEITEM = exports.SUPPLIERLIST_LIST = exports.SUPPLIERLIST = exports.RFQ_LIST = exports.RFQ = exports.MYSUPPLIER_LIST = exports.MYSUPPLIER = exports.PRODUCT_TYPES = exports.PRODUCT_CATEGORIES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.METAL_GRADES = exports.METAL_TYPES = exports.SAVED_SEARCH_SPOTS = void 0;
|
|
4
|
-
exports.ACCOUNT_PROFILE = exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.ACCOUNT_FEATURE_FLAGS = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.SUGGESTED_COMPANY_FILTERS = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = exports.COMPANIES = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.AUTOMATED_PROSPECTING_STATS = exports.AUTOMATED_PROSPECTING_CAMPAIGN = exports.AUTOMATED_PROSPECTING_CAMPAIGNS = exports.AUTOMATED_PROSPECTING_CONFIG = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN = exports.EMAIL_CAMPAIGN_REPORT_OVERVIEW = exports.EMAIL_CAMPAIGN_REPORT_STATS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = void 0;
|
|
4
|
+
exports.ACCOUNT_PROFILE = exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.ACCOUNT_FEATURE_FLAGS = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.SUGGESTED_COMPANY_FILTERS = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = exports.COMPANIES = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.AUTOMATED_PROSPECTING_STATS = exports.AUTOMATED_PROSPECTING_CAMPAIGN = exports.AUTOMATED_PROSPECTING_CAMPAIGNS = exports.AUTOMATED_PROSPECTING_CONFIG = exports.GOOGLE_PLACE_DETAILS = exports.GOOGLE_PLACES_AUTOCOMPLETE = exports.GOOGLE_REVERSE_GEOCODE = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN = exports.EMAIL_CAMPAIGN_REPORT_OVERVIEW = exports.EMAIL_CAMPAIGN_REPORT_STATS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = void 0;
|
|
5
5
|
const client_1 = require("@apollo/client");
|
|
6
6
|
exports.SAVED_SEARCH_SPOTS = (0, client_1.gql) `
|
|
7
7
|
query SavedSearchSpots {
|
|
@@ -8879,6 +8879,54 @@ query ContactsInSegment($segmentId: ID!, $pagination: PaginationInput) {
|
|
|
8879
8879
|
}
|
|
8880
8880
|
}
|
|
8881
8881
|
}`;
|
|
8882
|
+
exports.GOOGLE_REVERSE_GEOCODE = (0, client_1.gql) `
|
|
8883
|
+
query GoogleReverseGeocode($latlng: String!) {
|
|
8884
|
+
googleReverseGeocode(latlng: $latlng) {
|
|
8885
|
+
status
|
|
8886
|
+
results {
|
|
8887
|
+
addressComponents {
|
|
8888
|
+
longName
|
|
8889
|
+
shortName
|
|
8890
|
+
types
|
|
8891
|
+
}
|
|
8892
|
+
formattedAddress
|
|
8893
|
+
placeId
|
|
8894
|
+
}
|
|
8895
|
+
errorMessage
|
|
8896
|
+
}
|
|
8897
|
+
}`;
|
|
8898
|
+
exports.GOOGLE_PLACES_AUTOCOMPLETE = (0, client_1.gql) `
|
|
8899
|
+
query GooglePlacesAutocomplete($searchInput: String!, $components: String, $types: String) {
|
|
8900
|
+
googlePlacesAutocomplete(searchInput: $searchInput, components: $components, types: $types) {
|
|
8901
|
+
status
|
|
8902
|
+
predictions {
|
|
8903
|
+
description
|
|
8904
|
+
placeId
|
|
8905
|
+
structuredFormatting {
|
|
8906
|
+
mainText
|
|
8907
|
+
secondaryText
|
|
8908
|
+
}
|
|
8909
|
+
types
|
|
8910
|
+
}
|
|
8911
|
+
errorMessage
|
|
8912
|
+
}
|
|
8913
|
+
}`;
|
|
8914
|
+
exports.GOOGLE_PLACE_DETAILS = (0, client_1.gql) `
|
|
8915
|
+
query GooglePlaceDetails($placeId: String!, $fields: String) {
|
|
8916
|
+
googlePlaceDetails(placeId: $placeId, fields: $fields) {
|
|
8917
|
+
status
|
|
8918
|
+
result {
|
|
8919
|
+
addressComponents {
|
|
8920
|
+
longName
|
|
8921
|
+
shortName
|
|
8922
|
+
types
|
|
8923
|
+
}
|
|
8924
|
+
formattedAddress
|
|
8925
|
+
name
|
|
8926
|
+
}
|
|
8927
|
+
errorMessage
|
|
8928
|
+
}
|
|
8929
|
+
}`;
|
|
8882
8930
|
exports.AUTOMATED_PROSPECTING_CONFIG = (0, client_1.gql) `
|
|
8883
8931
|
query AutomatedProspectingConfig($accountId: ID!) {
|
|
8884
8932
|
automatedProspectingConfig(accountId: $accountId) {
|
|
@@ -11537,6 +11585,7 @@ query SuggestedCompanyFilters($similarToCompany: ID) {
|
|
|
11537
11585
|
keywords
|
|
11538
11586
|
geoLat
|
|
11539
11587
|
geoLon
|
|
11588
|
+
industryType
|
|
11540
11589
|
}
|
|
11541
11590
|
sortHierarchy {
|
|
11542
11591
|
field
|
package/dist/sdk.d.ts
CHANGED
|
@@ -199,6 +199,9 @@ export declare class CloudForgeSDK {
|
|
|
199
199
|
emailThread(threadId: string, companyId?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
200
200
|
emailThreadsByCompany(companyId: number, page?: number, pageSize?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
201
201
|
employeeSizes(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
202
|
+
googlePlaceDetails(placeId: string, fields?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
203
|
+
googlePlacesAutocomplete(searchInput: string, components?: string, types?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
204
|
+
googleReverseGeocode(latlng: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
202
205
|
industrySectors(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
203
206
|
industryTypes(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
204
207
|
mailLog(id: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -1168,6 +1168,24 @@ class CloudForgeSDK {
|
|
|
1168
1168
|
query: queries_1.EMPLOYEE_SIZES
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
|
+
async googlePlaceDetails(placeId, fields) {
|
|
1172
|
+
return this.apolloClient.query({
|
|
1173
|
+
query: queries_1.GOOGLE_PLACE_DETAILS,
|
|
1174
|
+
variables: { placeId, fields }
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
async googlePlacesAutocomplete(searchInput, components, types) {
|
|
1178
|
+
return this.apolloClient.query({
|
|
1179
|
+
query: queries_1.GOOGLE_PLACES_AUTOCOMPLETE,
|
|
1180
|
+
variables: { searchInput, components, types }
|
|
1181
|
+
});
|
|
1182
|
+
}
|
|
1183
|
+
async googleReverseGeocode(latlng) {
|
|
1184
|
+
return this.apolloClient.query({
|
|
1185
|
+
query: queries_1.GOOGLE_REVERSE_GEOCODE,
|
|
1186
|
+
variables: { latlng }
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1171
1189
|
async industrySectors() {
|
|
1172
1190
|
return this.apolloClient.query({
|
|
1173
1191
|
query: queries_1.INDUSTRY_SECTORS
|