cf-service-sdk 0.1.19 → 0.1.21
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 +266 -0
- package/dist/generated/graphql.js +155 -2
- package/dist/mutations.js +2 -2
- package/dist/queries.d.ts +3 -0
- package/dist/queries.js +49 -1
- package/dist/sdk.d.ts +5 -2
- package/dist/sdk.js +20 -2
- 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']>;
|
|
@@ -2132,6 +2151,13 @@ export type DisconnectNylasIntegration = {
|
|
|
2132
2151
|
message?: Maybe<Scalars['String']['output']>;
|
|
2133
2152
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2134
2153
|
};
|
|
2154
|
+
/** GraphQL input type for an email attachment */
|
|
2155
|
+
export type EmailAttachmentInput = {
|
|
2156
|
+
name: Scalars['String']['input'];
|
|
2157
|
+
size?: InputMaybe<Scalars['Int']['input']>;
|
|
2158
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
2159
|
+
url: Scalars['String']['input'];
|
|
2160
|
+
};
|
|
2135
2161
|
/** Filter input for email campaign report queries. */
|
|
2136
2162
|
export type EmailCampaignReportFilterInput = {
|
|
2137
2163
|
/** Date range type: today, yesterday, this_week, last_week, this_month, last_month, custom */
|
|
@@ -2371,6 +2397,18 @@ export type GenerateNewEmail = {
|
|
|
2371
2397
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2372
2398
|
variablesUsed?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2373
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
|
+
};
|
|
2374
2412
|
/** Input type for hidden record mutations */
|
|
2375
2413
|
export type HiddenRecordInput = {
|
|
2376
2414
|
/** ID of the record to hide/unhide */
|
|
@@ -3270,6 +3308,7 @@ export type MutationSendEmailToEmailThreadArgs = {
|
|
|
3270
3308
|
};
|
|
3271
3309
|
/** Mutations */
|
|
3272
3310
|
export type MutationSendManualEmailArgs = {
|
|
3311
|
+
attachmentUrls?: InputMaybe<Array<InputMaybe<EmailAttachmentInput>>>;
|
|
3273
3312
|
bcc?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
3274
3313
|
body: Scalars['String']['input'];
|
|
3275
3314
|
cc?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -3701,6 +3740,18 @@ export type PauseCombinedCampaign = {
|
|
|
3701
3740
|
message?: Maybe<Scalars['String']['output']>;
|
|
3702
3741
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
3703
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
|
+
};
|
|
3704
3755
|
/** Plan limitations exposed to clients */
|
|
3705
3756
|
export type PlanLimitationsType = {
|
|
3706
3757
|
__typename?: 'PlanLimitationsType';
|
|
@@ -4067,6 +4118,12 @@ export type Query = {
|
|
|
4067
4118
|
/** Get all email threads for a specific company, grouped by thread_id or subject */
|
|
4068
4119
|
emailThreadsByCompany?: Maybe<PaginatedEmailThreadList>;
|
|
4069
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>;
|
|
4070
4127
|
industrySectors?: Maybe<Array<Maybe<IndustrySectorObject>>>;
|
|
4071
4128
|
industryTypes?: Maybe<Array<Maybe<IndustryTypeObject>>>;
|
|
4072
4129
|
/** Get a specific mail log by ID */
|
|
@@ -4353,6 +4410,21 @@ export type QueryEmailThreadsByCompanyArgs = {
|
|
|
4353
4410
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
4354
4411
|
};
|
|
4355
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 */
|
|
4356
4428
|
export type QueryMailLogArgs = {
|
|
4357
4429
|
id: Scalars['Int']['input'];
|
|
4358
4430
|
};
|
|
@@ -5080,6 +5152,11 @@ export type StartCombinedCampaign = {
|
|
|
5080
5152
|
message?: Maybe<Scalars['String']['output']>;
|
|
5081
5153
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5082
5154
|
};
|
|
5155
|
+
export type StructuredFormattingType = {
|
|
5156
|
+
__typename?: 'StructuredFormattingType';
|
|
5157
|
+
mainText?: Maybe<Scalars['String']['output']>;
|
|
5158
|
+
secondaryText?: Maybe<Scalars['String']['output']>;
|
|
5159
|
+
};
|
|
5083
5160
|
/** SubmitFeedback - Submit feedback */
|
|
5084
5161
|
export type SubmitFeedback = {
|
|
5085
5162
|
__typename?: 'SubmitFeedback';
|
|
@@ -11999,6 +12076,7 @@ export type SendEmailToEmailThreadMutation = {
|
|
|
11999
12076
|
} | null;
|
|
12000
12077
|
};
|
|
12001
12078
|
export type SendManualEmailMutationVariables = Exact<{
|
|
12079
|
+
attachmentUrls?: InputMaybe<Array<InputMaybe<EmailAttachmentInput>> | InputMaybe<EmailAttachmentInput>>;
|
|
12002
12080
|
bcc?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
12003
12081
|
body: Scalars['String']['input'];
|
|
12004
12082
|
cc?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
@@ -22699,6 +22777,75 @@ export type EmployeeSizesQuery = {
|
|
|
22699
22777
|
abbreviation?: string | null;
|
|
22700
22778
|
} | null> | null;
|
|
22701
22779
|
};
|
|
22780
|
+
export type GooglePlaceDetailsQueryVariables = Exact<{
|
|
22781
|
+
placeId: Scalars['String']['input'];
|
|
22782
|
+
fields?: InputMaybe<Scalars['String']['input']>;
|
|
22783
|
+
}>;
|
|
22784
|
+
export type GooglePlaceDetailsQuery = {
|
|
22785
|
+
__typename?: 'Query';
|
|
22786
|
+
googlePlaceDetails?: {
|
|
22787
|
+
__typename?: 'PlaceDetailsResponseType';
|
|
22788
|
+
status?: string | null;
|
|
22789
|
+
errorMessage?: string | null;
|
|
22790
|
+
result?: {
|
|
22791
|
+
__typename?: 'PlaceDetailResultType';
|
|
22792
|
+
formattedAddress?: string | null;
|
|
22793
|
+
name?: string | null;
|
|
22794
|
+
addressComponents?: Array<{
|
|
22795
|
+
__typename?: 'AddressComponentType';
|
|
22796
|
+
longName?: string | null;
|
|
22797
|
+
shortName?: string | null;
|
|
22798
|
+
types?: Array<string | null> | null;
|
|
22799
|
+
} | null> | null;
|
|
22800
|
+
} | null;
|
|
22801
|
+
} | null;
|
|
22802
|
+
};
|
|
22803
|
+
export type GooglePlacesAutocompleteQueryVariables = Exact<{
|
|
22804
|
+
searchInput: Scalars['String']['input'];
|
|
22805
|
+
components?: InputMaybe<Scalars['String']['input']>;
|
|
22806
|
+
types?: InputMaybe<Scalars['String']['input']>;
|
|
22807
|
+
}>;
|
|
22808
|
+
export type GooglePlacesAutocompleteQuery = {
|
|
22809
|
+
__typename?: 'Query';
|
|
22810
|
+
googlePlacesAutocomplete?: {
|
|
22811
|
+
__typename?: 'AutocompleteResponseType';
|
|
22812
|
+
status?: string | null;
|
|
22813
|
+
errorMessage?: string | null;
|
|
22814
|
+
predictions?: Array<{
|
|
22815
|
+
__typename?: 'AutocompletePredictionType';
|
|
22816
|
+
description?: string | null;
|
|
22817
|
+
placeId?: string | null;
|
|
22818
|
+
types?: Array<string | null> | null;
|
|
22819
|
+
structuredFormatting?: {
|
|
22820
|
+
__typename?: 'StructuredFormattingType';
|
|
22821
|
+
mainText?: string | null;
|
|
22822
|
+
secondaryText?: string | null;
|
|
22823
|
+
} | null;
|
|
22824
|
+
} | null> | null;
|
|
22825
|
+
} | null;
|
|
22826
|
+
};
|
|
22827
|
+
export type GoogleReverseGeocodeQueryVariables = Exact<{
|
|
22828
|
+
latlng: Scalars['String']['input'];
|
|
22829
|
+
}>;
|
|
22830
|
+
export type GoogleReverseGeocodeQuery = {
|
|
22831
|
+
__typename?: 'Query';
|
|
22832
|
+
googleReverseGeocode?: {
|
|
22833
|
+
__typename?: 'GeocodeResponseType';
|
|
22834
|
+
status?: string | null;
|
|
22835
|
+
errorMessage?: string | null;
|
|
22836
|
+
results?: Array<{
|
|
22837
|
+
__typename?: 'GeocodeResultType';
|
|
22838
|
+
formattedAddress?: string | null;
|
|
22839
|
+
placeId?: string | null;
|
|
22840
|
+
addressComponents?: Array<{
|
|
22841
|
+
__typename?: 'AddressComponentType';
|
|
22842
|
+
longName?: string | null;
|
|
22843
|
+
shortName?: string | null;
|
|
22844
|
+
types?: Array<string | null> | null;
|
|
22845
|
+
} | null> | null;
|
|
22846
|
+
} | null> | null;
|
|
22847
|
+
} | null;
|
|
22848
|
+
};
|
|
22702
22849
|
export type IndustrySectorsQueryVariables = Exact<{
|
|
22703
22850
|
[key: string]: never;
|
|
22704
22851
|
}>;
|
|
@@ -32257,6 +32404,7 @@ export type SendManualEmailMutationFn = Apollo.MutationFunction<SendManualEmailM
|
|
|
32257
32404
|
* @example
|
|
32258
32405
|
* const [sendManualEmailMutation, { data, loading, error }] = useSendManualEmailMutation({
|
|
32259
32406
|
* variables: {
|
|
32407
|
+
* attachmentUrls: // value for 'attachmentUrls'
|
|
32260
32408
|
* bcc: // value for 'bcc'
|
|
32261
32409
|
* body: // value for 'body'
|
|
32262
32410
|
* cc: // value for 'cc'
|
|
@@ -32267,6 +32415,7 @@ export type SendManualEmailMutationFn = Apollo.MutationFunction<SendManualEmailM
|
|
|
32267
32415
|
* });
|
|
32268
32416
|
*/
|
|
32269
32417
|
export declare function useSendManualEmailMutation(baseOptions?: Apollo.MutationHookOptions<SendManualEmailMutation, SendManualEmailMutationVariables>): Apollo.MutationTuple<SendManualEmailMutation, Exact<{
|
|
32418
|
+
attachmentUrls?: InputMaybe<Array<InputMaybe<EmailAttachmentInput>> | InputMaybe<EmailAttachmentInput>>;
|
|
32270
32419
|
bcc?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
32271
32420
|
body: Scalars["String"]["input"];
|
|
32272
32421
|
cc?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
@@ -35268,6 +35417,123 @@ export type EmployeeSizesQueryHookResult = ReturnType<typeof useEmployeeSizesQue
|
|
|
35268
35417
|
export type EmployeeSizesLazyQueryHookResult = ReturnType<typeof useEmployeeSizesLazyQuery>;
|
|
35269
35418
|
export type EmployeeSizesSuspenseQueryHookResult = ReturnType<typeof useEmployeeSizesSuspenseQuery>;
|
|
35270
35419
|
export type EmployeeSizesQueryResult = Apollo.QueryResult<EmployeeSizesQuery, EmployeeSizesQueryVariables>;
|
|
35420
|
+
export declare const GooglePlaceDetailsDocument: Apollo.DocumentNode;
|
|
35421
|
+
/**
|
|
35422
|
+
* __useGooglePlaceDetailsQuery__
|
|
35423
|
+
*
|
|
35424
|
+
* To run a query within a React component, call `useGooglePlaceDetailsQuery` and pass it any options that fit your needs.
|
|
35425
|
+
* When your component renders, `useGooglePlaceDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35426
|
+
* you can use to render your UI.
|
|
35427
|
+
*
|
|
35428
|
+
* @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;
|
|
35429
|
+
*
|
|
35430
|
+
* @example
|
|
35431
|
+
* const { data, loading, error } = useGooglePlaceDetailsQuery({
|
|
35432
|
+
* variables: {
|
|
35433
|
+
* placeId: // value for 'placeId'
|
|
35434
|
+
* fields: // value for 'fields'
|
|
35435
|
+
* },
|
|
35436
|
+
* });
|
|
35437
|
+
*/
|
|
35438
|
+
export declare function useGooglePlaceDetailsQuery(baseOptions: Apollo.QueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables> & ({
|
|
35439
|
+
variables: GooglePlaceDetailsQueryVariables;
|
|
35440
|
+
skip?: boolean;
|
|
35441
|
+
} | {
|
|
35442
|
+
skip: boolean;
|
|
35443
|
+
})): Apollo.QueryResult<GooglePlaceDetailsQuery, Exact<{
|
|
35444
|
+
placeId: Scalars["String"]["input"];
|
|
35445
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35446
|
+
}>>;
|
|
35447
|
+
export declare function useGooglePlaceDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>): Apollo.LazyQueryResultTuple<GooglePlaceDetailsQuery, Exact<{
|
|
35448
|
+
placeId: Scalars["String"]["input"];
|
|
35449
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35450
|
+
}>>;
|
|
35451
|
+
export declare function useGooglePlaceDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<GooglePlaceDetailsQuery | undefined, Exact<{
|
|
35452
|
+
placeId: Scalars["String"]["input"];
|
|
35453
|
+
fields?: InputMaybe<Scalars["String"]["input"]>;
|
|
35454
|
+
}>>;
|
|
35455
|
+
export type GooglePlaceDetailsQueryHookResult = ReturnType<typeof useGooglePlaceDetailsQuery>;
|
|
35456
|
+
export type GooglePlaceDetailsLazyQueryHookResult = ReturnType<typeof useGooglePlaceDetailsLazyQuery>;
|
|
35457
|
+
export type GooglePlaceDetailsSuspenseQueryHookResult = ReturnType<typeof useGooglePlaceDetailsSuspenseQuery>;
|
|
35458
|
+
export type GooglePlaceDetailsQueryResult = Apollo.QueryResult<GooglePlaceDetailsQuery, GooglePlaceDetailsQueryVariables>;
|
|
35459
|
+
export declare const GooglePlacesAutocompleteDocument: Apollo.DocumentNode;
|
|
35460
|
+
/**
|
|
35461
|
+
* __useGooglePlacesAutocompleteQuery__
|
|
35462
|
+
*
|
|
35463
|
+
* To run a query within a React component, call `useGooglePlacesAutocompleteQuery` and pass it any options that fit your needs.
|
|
35464
|
+
* When your component renders, `useGooglePlacesAutocompleteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35465
|
+
* you can use to render your UI.
|
|
35466
|
+
*
|
|
35467
|
+
* @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;
|
|
35468
|
+
*
|
|
35469
|
+
* @example
|
|
35470
|
+
* const { data, loading, error } = useGooglePlacesAutocompleteQuery({
|
|
35471
|
+
* variables: {
|
|
35472
|
+
* searchInput: // value for 'searchInput'
|
|
35473
|
+
* components: // value for 'components'
|
|
35474
|
+
* types: // value for 'types'
|
|
35475
|
+
* },
|
|
35476
|
+
* });
|
|
35477
|
+
*/
|
|
35478
|
+
export declare function useGooglePlacesAutocompleteQuery(baseOptions: Apollo.QueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables> & ({
|
|
35479
|
+
variables: GooglePlacesAutocompleteQueryVariables;
|
|
35480
|
+
skip?: boolean;
|
|
35481
|
+
} | {
|
|
35482
|
+
skip: boolean;
|
|
35483
|
+
})): Apollo.QueryResult<GooglePlacesAutocompleteQuery, Exact<{
|
|
35484
|
+
searchInput: Scalars["String"]["input"];
|
|
35485
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35486
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35487
|
+
}>>;
|
|
35488
|
+
export declare function useGooglePlacesAutocompleteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>): Apollo.LazyQueryResultTuple<GooglePlacesAutocompleteQuery, Exact<{
|
|
35489
|
+
searchInput: Scalars["String"]["input"];
|
|
35490
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35491
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35492
|
+
}>>;
|
|
35493
|
+
export declare function useGooglePlacesAutocompleteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>): Apollo.UseSuspenseQueryResult<GooglePlacesAutocompleteQuery | undefined, Exact<{
|
|
35494
|
+
searchInput: Scalars["String"]["input"];
|
|
35495
|
+
components?: InputMaybe<Scalars["String"]["input"]>;
|
|
35496
|
+
types?: InputMaybe<Scalars["String"]["input"]>;
|
|
35497
|
+
}>>;
|
|
35498
|
+
export type GooglePlacesAutocompleteQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteQuery>;
|
|
35499
|
+
export type GooglePlacesAutocompleteLazyQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteLazyQuery>;
|
|
35500
|
+
export type GooglePlacesAutocompleteSuspenseQueryHookResult = ReturnType<typeof useGooglePlacesAutocompleteSuspenseQuery>;
|
|
35501
|
+
export type GooglePlacesAutocompleteQueryResult = Apollo.QueryResult<GooglePlacesAutocompleteQuery, GooglePlacesAutocompleteQueryVariables>;
|
|
35502
|
+
export declare const GoogleReverseGeocodeDocument: Apollo.DocumentNode;
|
|
35503
|
+
/**
|
|
35504
|
+
* __useGoogleReverseGeocodeQuery__
|
|
35505
|
+
*
|
|
35506
|
+
* To run a query within a React component, call `useGoogleReverseGeocodeQuery` and pass it any options that fit your needs.
|
|
35507
|
+
* When your component renders, `useGoogleReverseGeocodeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35508
|
+
* you can use to render your UI.
|
|
35509
|
+
*
|
|
35510
|
+
* @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;
|
|
35511
|
+
*
|
|
35512
|
+
* @example
|
|
35513
|
+
* const { data, loading, error } = useGoogleReverseGeocodeQuery({
|
|
35514
|
+
* variables: {
|
|
35515
|
+
* latlng: // value for 'latlng'
|
|
35516
|
+
* },
|
|
35517
|
+
* });
|
|
35518
|
+
*/
|
|
35519
|
+
export declare function useGoogleReverseGeocodeQuery(baseOptions: Apollo.QueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables> & ({
|
|
35520
|
+
variables: GoogleReverseGeocodeQueryVariables;
|
|
35521
|
+
skip?: boolean;
|
|
35522
|
+
} | {
|
|
35523
|
+
skip: boolean;
|
|
35524
|
+
})): Apollo.QueryResult<GoogleReverseGeocodeQuery, Exact<{
|
|
35525
|
+
latlng: Scalars["String"]["input"];
|
|
35526
|
+
}>>;
|
|
35527
|
+
export declare function useGoogleReverseGeocodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>): Apollo.LazyQueryResultTuple<GoogleReverseGeocodeQuery, Exact<{
|
|
35528
|
+
latlng: Scalars["String"]["input"];
|
|
35529
|
+
}>>;
|
|
35530
|
+
export declare function useGoogleReverseGeocodeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>): Apollo.UseSuspenseQueryResult<GoogleReverseGeocodeQuery | undefined, Exact<{
|
|
35531
|
+
latlng: Scalars["String"]["input"];
|
|
35532
|
+
}>>;
|
|
35533
|
+
export type GoogleReverseGeocodeQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeQuery>;
|
|
35534
|
+
export type GoogleReverseGeocodeLazyQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeLazyQuery>;
|
|
35535
|
+
export type GoogleReverseGeocodeSuspenseQueryHookResult = ReturnType<typeof useGoogleReverseGeocodeSuspenseQuery>;
|
|
35536
|
+
export type GoogleReverseGeocodeQueryResult = Apollo.QueryResult<GoogleReverseGeocodeQuery, GoogleReverseGeocodeQueryVariables>;
|
|
35271
35537
|
export declare const IndustrySectorsDocument: Apollo.DocumentNode;
|
|
35272
35538
|
/**
|
|
35273
35539
|
* __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;
|
|
@@ -8457,8 +8466,9 @@ function useSendEmailToEmailThreadMutation(baseOptions) {
|
|
|
8457
8466
|
return Apollo.useMutation(exports.SendEmailToEmailThreadDocument, options);
|
|
8458
8467
|
}
|
|
8459
8468
|
exports.SendManualEmailDocument = (0, client_1.gql) `
|
|
8460
|
-
mutation SendManualEmail($bcc: [String], $body: String!, $cc: [String], $logId: ID!, $subject: String!, $to: String!) {
|
|
8469
|
+
mutation SendManualEmail($attachmentUrls: [EmailAttachmentInput], $bcc: [String], $body: String!, $cc: [String], $logId: ID!, $subject: String!, $to: String!) {
|
|
8461
8470
|
sendManualEmail(
|
|
8471
|
+
attachmentUrls: $attachmentUrls
|
|
8462
8472
|
bcc: $bcc
|
|
8463
8473
|
body: $body
|
|
8464
8474
|
cc: $cc
|
|
@@ -8933,6 +8943,7 @@ exports.SendManualEmailDocument = (0, client_1.gql) `
|
|
|
8933
8943
|
* @example
|
|
8934
8944
|
* const [sendManualEmailMutation, { data, loading, error }] = useSendManualEmailMutation({
|
|
8935
8945
|
* variables: {
|
|
8946
|
+
* attachmentUrls: // value for 'attachmentUrls'
|
|
8936
8947
|
* bcc: // value for 'bcc'
|
|
8937
8948
|
* body: // value for 'body'
|
|
8938
8949
|
* cc: // value for 'cc'
|
|
@@ -20565,6 +20576,148 @@ function useEmployeeSizesSuspenseQuery(baseOptions) {
|
|
|
20565
20576
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
20566
20577
|
return Apollo.useSuspenseQuery(exports.EmployeeSizesDocument, options);
|
|
20567
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
|
+
}
|
|
20568
20721
|
exports.IndustrySectorsDocument = (0, client_1.gql) `
|
|
20569
20722
|
query IndustrySectors {
|
|
20570
20723
|
industrySectors {
|
package/dist/mutations.js
CHANGED
|
@@ -4410,8 +4410,8 @@ mutation UpdateCombinedCampaignLogs($logIds: [ID]!, $notes: String, $outcome: St
|
|
|
4410
4410
|
}
|
|
4411
4411
|
}`;
|
|
4412
4412
|
exports.SEND_MANUAL_EMAIL = (0, client_1.gql) `
|
|
4413
|
-
mutation SendManualEmail($bcc: [String], $body: String!, $cc: [String], $logId: ID!, $subject: String!, $to: String!) {
|
|
4414
|
-
sendManualEmail(bcc: $bcc, body: $body, cc: $cc, logId: $logId, subject: $subject, to: $to) {
|
|
4413
|
+
mutation SendManualEmail($attachmentUrls: [EmailAttachmentInput], $bcc: [String], $body: String!, $cc: [String], $logId: ID!, $subject: String!, $to: String!) {
|
|
4414
|
+
sendManualEmail(attachmentUrls: $attachmentUrls, bcc: $bcc, body: $body, cc: $cc, logId: $logId, subject: $subject, to: $to) {
|
|
4415
4415
|
log {
|
|
4416
4416
|
id
|
|
4417
4417
|
uuid
|
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) {
|
package/dist/sdk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CloudForgeClientOptions } from "./client";
|
|
2
|
-
import { AddContactToSupplierListInput, AddCustomContactToSupplierInput, AddSupplierToMySuppliersInput, AddSupplierToSupplierListInput, AutomatedProspectingCampaignInput, BulkAssignOwnersInput, CallReportFilterInput, CallScriptTemplateInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanyProfileInput, CompanySortInput, CompleteRfqInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSalesGoalInput, CreateSegmentMutationVariables, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CustomContactInput, EmailCampaignReportFilterInput, EmailToneInput, FileUploadInput, GenerateCallCampaignScriptInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MailLogFilterInput, MicrosoftUserInput, MySupplierInput, PaginationInput, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, RemoveContactFromMySupplierInput, RemoveContactFromSupplierListInput, RemoveCustomContactFromSupplierInput, RemoveSupplierFromSupplierListInput, RfqInput, RfqLineItemInput, SalesGoalFilterInput, SaveNylasConnectionMutationVariables, Scalars, ScheduleRfqInput, SegmentFilterInput, SendRfqInput, SendRfqTestEmailInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, SupplierListInput, SupplierSearchFilterInput, SupplierSortInput, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSalesGoalInput, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
|
|
2
|
+
import { AddContactToSupplierListInput, AddCustomContactToSupplierInput, AddSupplierToMySuppliersInput, AddSupplierToSupplierListInput, AutomatedProspectingCampaignInput, BulkAssignOwnersInput, CallReportFilterInput, CallScriptTemplateInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanyProfileInput, CompanySortInput, CompleteRfqInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSalesGoalInput, CreateSegmentMutationVariables, CreateTaskMutationVariables, CrmCurrentPipelineFilterInput, CrmFilterInput, CustomContactInput, EmailAttachmentInput, EmailCampaignReportFilterInput, EmailToneInput, FileUploadInput, GenerateCallCampaignScriptInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MailLogFilterInput, MicrosoftUserInput, MySupplierInput, PaginationInput, Procurement_MySupplierFilterInput, Procurement_RfqFilterInput, Procurement_RfqLineItemFilterInput, Procurement_SupplierListFilterInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, RemoveContactFromMySupplierInput, RemoveContactFromSupplierListInput, RemoveCustomContactFromSupplierInput, RemoveSupplierFromSupplierListInput, RfqInput, RfqLineItemInput, SalesGoalFilterInput, SaveNylasConnectionMutationVariables, Scalars, ScheduleRfqInput, SegmentFilterInput, SendRfqInput, SendRfqTestEmailInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, SupplierListInput, SupplierSearchFilterInput, SupplierSortInput, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSalesGoalInput, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
|
|
3
3
|
export declare class CloudForgeSDK {
|
|
4
4
|
private client;
|
|
5
5
|
private apolloClient;
|
|
@@ -105,7 +105,7 @@ export declare class CloudForgeSDK {
|
|
|
105
105
|
scheduleRfq(input: ScheduleRfqInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
106
106
|
sendEmailToContact(contactId: string, subject: string, template: string, campaignId?: string, fileAttachments?: Scalars['JSONString']['input'], segmentId?: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
107
107
|
sendEmailToEmailThread(action: string, body: string, mailLogId: number, attachments?: Scalars['JSONString']['input'], bccEmails?: string[], ccEmails?: string[], subject?: string, toEmails?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
108
|
-
sendManualEmail(body: string, logId: string, subject: string, to: string, bcc?: string[], cc?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
108
|
+
sendManualEmail(body: string, logId: string, subject: string, to: string, attachmentUrls?: EmailAttachmentInput[], bcc?: string[], cc?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
109
109
|
sendRfq(input: SendRfqInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
110
110
|
sendRfqTestEmail(input: SendRfqTestEmailInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
111
111
|
sendTestEmail(campaignId: string, emailAddress: string, subject: string, template: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
@@ -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
|
@@ -610,10 +610,10 @@ class CloudForgeSDK {
|
|
|
610
610
|
variables: { action, body, mailLogId, attachments, bccEmails, ccEmails, subject, toEmails }
|
|
611
611
|
});
|
|
612
612
|
}
|
|
613
|
-
async sendManualEmail(body, logId, subject, to, bcc, cc) {
|
|
613
|
+
async sendManualEmail(body, logId, subject, to, attachmentUrls, bcc, cc) {
|
|
614
614
|
return this.apolloClient.mutate({
|
|
615
615
|
mutation: mutations_1.SEND_MANUAL_EMAIL,
|
|
616
|
-
variables: { body, logId, subject, to, bcc, cc }
|
|
616
|
+
variables: { body, logId, subject, to, attachmentUrls, bcc, cc }
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
async sendRfq(input) {
|
|
@@ -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
|