cf-service-sdk 0.1.46 → 0.1.47
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 +1835 -359
- package/dist/generated/graphql.js +1203 -63
- package/dist/mutations.d.ts +4 -0
- package/dist/mutations.js +97 -3
- package/dist/queries.d.ts +5 -0
- package/dist/queries.js +763 -3
- package/dist/sdk.d.ts +10 -1
- package/dist/sdk.js +53 -0
- package/package.json +1 -1
|
@@ -1964,6 +1964,21 @@ export type CreateNotificationInput = {
|
|
|
1964
1964
|
title: Scalars['String']['input'];
|
|
1965
1965
|
userId: Scalars['ID']['input'];
|
|
1966
1966
|
};
|
|
1967
|
+
export type CreateQuote = {
|
|
1968
|
+
__typename?: 'CreateQuote';
|
|
1969
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1970
|
+
quote?: Maybe<QuoteObject>;
|
|
1971
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1972
|
+
};
|
|
1973
|
+
export type CreateQuoteInputType = {
|
|
1974
|
+
companyId: Scalars['ID']['input'];
|
|
1975
|
+
contactId?: InputMaybe<Scalars['ID']['input']>;
|
|
1976
|
+
expirationDate?: InputMaybe<Scalars['Date']['input']>;
|
|
1977
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
1978
|
+
status?: InputMaybe<QuoteStatus>;
|
|
1979
|
+
title: Scalars['String']['input'];
|
|
1980
|
+
value: Scalars['Decimal']['input'];
|
|
1981
|
+
};
|
|
1967
1982
|
/** Mutation to create a new sales goal */
|
|
1968
1983
|
export type CreateSalesGoal = {
|
|
1969
1984
|
__typename?: 'CreateSalesGoal';
|
|
@@ -2184,6 +2199,11 @@ export type DeleteNotification = {
|
|
|
2184
2199
|
message?: Maybe<Scalars['String']['output']>;
|
|
2185
2200
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2186
2201
|
};
|
|
2202
|
+
export type DeleteQuote = {
|
|
2203
|
+
__typename?: 'DeleteQuote';
|
|
2204
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
2205
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2206
|
+
};
|
|
2187
2207
|
/** Mutation to delete a sales goal */
|
|
2188
2208
|
export type DeleteSalesGoal = {
|
|
2189
2209
|
__typename?: 'DeleteSalesGoal';
|
|
@@ -2823,6 +2843,7 @@ export type Mutation = {
|
|
|
2823
2843
|
createMysupplier?: Maybe<Procurement_MySupplierType>;
|
|
2824
2844
|
/** Create a new notification for a user */
|
|
2825
2845
|
createNotification?: Maybe<CreateNotification>;
|
|
2846
|
+
createQuote?: Maybe<CreateQuote>;
|
|
2826
2847
|
createRfq?: Maybe<Procurement_RfqType>;
|
|
2827
2848
|
createRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
|
|
2828
2849
|
/** Mutation to create a new sales goal */
|
|
@@ -2852,6 +2873,7 @@ export type Mutation = {
|
|
|
2852
2873
|
deleteMysupplier?: Maybe<DeleteMutation>;
|
|
2853
2874
|
/** Delete a notification */
|
|
2854
2875
|
deleteNotification?: Maybe<DeleteNotification>;
|
|
2876
|
+
deleteQuote?: Maybe<DeleteQuote>;
|
|
2855
2877
|
deleteRfq?: Maybe<DeleteMutation>;
|
|
2856
2878
|
deleteRfqlineitem?: Maybe<DeleteMutation>;
|
|
2857
2879
|
/** Mutation to delete a sales goal */
|
|
@@ -3017,6 +3039,9 @@ export type Mutation = {
|
|
|
3017
3039
|
/** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
|
|
3018
3040
|
updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
|
|
3019
3041
|
updateMysupplier?: Maybe<Procurement_MySupplierType>;
|
|
3042
|
+
updateQuote?: Maybe<UpdateQuote>;
|
|
3043
|
+
/** Lightweight mutation for kanban drag-and-drop. */
|
|
3044
|
+
updateQuoteStatus?: Maybe<UpdateQuoteStatus>;
|
|
3020
3045
|
updateRfq?: Maybe<Procurement_RfqType>;
|
|
3021
3046
|
updateRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
|
|
3022
3047
|
/** Mutation to update an existing sales goal */
|
|
@@ -3170,6 +3195,10 @@ export type MutationCreateNotificationArgs = {
|
|
|
3170
3195
|
input: CreateNotificationInput;
|
|
3171
3196
|
};
|
|
3172
3197
|
/** Mutations */
|
|
3198
|
+
export type MutationCreateQuoteArgs = {
|
|
3199
|
+
input: CreateQuoteInputType;
|
|
3200
|
+
};
|
|
3201
|
+
/** Mutations */
|
|
3173
3202
|
export type MutationCreateRfqArgs = {
|
|
3174
3203
|
input: RfqInput;
|
|
3175
3204
|
};
|
|
@@ -3244,6 +3273,10 @@ export type MutationDeleteNotificationArgs = {
|
|
|
3244
3273
|
notificationId: Scalars['ID']['input'];
|
|
3245
3274
|
};
|
|
3246
3275
|
/** Mutations */
|
|
3276
|
+
export type MutationDeleteQuoteArgs = {
|
|
3277
|
+
id: Scalars['ID']['input'];
|
|
3278
|
+
};
|
|
3279
|
+
/** Mutations */
|
|
3247
3280
|
export type MutationDeleteRfqArgs = {
|
|
3248
3281
|
id: Scalars['ID']['input'];
|
|
3249
3282
|
};
|
|
@@ -3607,6 +3640,15 @@ export type MutationUpdateMysupplierArgs = {
|
|
|
3607
3640
|
input: MySupplierInput;
|
|
3608
3641
|
};
|
|
3609
3642
|
/** Mutations */
|
|
3643
|
+
export type MutationUpdateQuoteArgs = {
|
|
3644
|
+
input: UpdateQuoteInputType;
|
|
3645
|
+
};
|
|
3646
|
+
/** Mutations */
|
|
3647
|
+
export type MutationUpdateQuoteStatusArgs = {
|
|
3648
|
+
id: Scalars['ID']['input'];
|
|
3649
|
+
status: QuoteStatus;
|
|
3650
|
+
};
|
|
3651
|
+
/** Mutations */
|
|
3610
3652
|
export type MutationUpdateRfqArgs = {
|
|
3611
3653
|
id: Scalars['ID']['input'];
|
|
3612
3654
|
input: RfqInput;
|
|
@@ -3824,6 +3866,12 @@ export type PaginatedProcurement_SupplierListResponse = {
|
|
|
3824
3866
|
/** List of results */
|
|
3825
3867
|
results: Array<Maybe<Procurement_SupplierListType>>;
|
|
3826
3868
|
};
|
|
3869
|
+
export type PaginatedQuoteList = {
|
|
3870
|
+
__typename?: 'PaginatedQuoteList';
|
|
3871
|
+
items: Array<QuoteObject>;
|
|
3872
|
+
pagination: PaginationInfo;
|
|
3873
|
+
totalValue: Scalars['Decimal']['output'];
|
|
3874
|
+
};
|
|
3827
3875
|
/** Paginated list of recent history items */
|
|
3828
3876
|
export type PaginatedRecentHistoryList = {
|
|
3829
3877
|
__typename?: 'PaginatedRecentHistoryList';
|
|
@@ -3877,11 +3925,11 @@ export type PaginationInfo = {
|
|
|
3877
3925
|
/** Total number of pages */
|
|
3878
3926
|
totalPages?: Maybe<Scalars['Int']['output']>;
|
|
3879
3927
|
};
|
|
3880
|
-
/**
|
|
3928
|
+
/** Input type for pagination parameters */
|
|
3881
3929
|
export type PaginationInput = {
|
|
3882
3930
|
/** Page number (1-based) */
|
|
3883
3931
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3884
|
-
/** Number of items per page */
|
|
3932
|
+
/** Number of items per page (max 200) */
|
|
3885
3933
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
3886
3934
|
};
|
|
3887
3935
|
export type PauseCampaign = {
|
|
@@ -4248,6 +4296,8 @@ export type Query = {
|
|
|
4248
4296
|
companyAudiencesAndCampaigns?: Maybe<CompanyAudiencesAndCampaignsObject>;
|
|
4249
4297
|
companyExternalIdentifier?: Maybe<ExternalIdentifierType>;
|
|
4250
4298
|
companyMetadata?: Maybe<Scalars['GenericScalar']['output']>;
|
|
4299
|
+
/** Lightweight company picker query: paginated, account-scoped, name-only filter. Use this for company-search popovers where OpenSearch / contacts / locations / scores aren't needed. */
|
|
4300
|
+
companyNameSearch?: Maybe<PaginatedCompanyList>;
|
|
4251
4301
|
companyNote?: Maybe<CompanyNoteObject>;
|
|
4252
4302
|
companyNotes?: Maybe<PaginatedCompanyNoteList>;
|
|
4253
4303
|
companySearch?: Maybe<PaginatedCompanyList>;
|
|
@@ -4303,6 +4353,10 @@ export type Query = {
|
|
|
4303
4353
|
pendingInvitations?: Maybe<Array<Maybe<AccountInvitationType>>>;
|
|
4304
4354
|
productCategories?: Maybe<Array<Maybe<ProductCategoryObject>>>;
|
|
4305
4355
|
productTypes?: Maybe<Array<Maybe<ProductTypeObject>>>;
|
|
4356
|
+
quote?: Maybe<QuoteObject>;
|
|
4357
|
+
quoteFilterOptions?: Maybe<QuoteFilterOptions>;
|
|
4358
|
+
quotePerformance?: Maybe<QuotePerformanceObject>;
|
|
4359
|
+
quotes?: Maybe<PaginatedQuoteList>;
|
|
4306
4360
|
/** Get recent history of all activities */
|
|
4307
4361
|
recentHistory?: Maybe<PaginatedRecentHistoryList>;
|
|
4308
4362
|
/** Get recent notifications from the last 7 days */
|
|
@@ -4509,6 +4563,11 @@ export type QueryCompanyMetadataArgs = {
|
|
|
4509
4563
|
companyId: Scalars['ID']['input'];
|
|
4510
4564
|
};
|
|
4511
4565
|
/** Query */
|
|
4566
|
+
export type QueryCompanyNameSearchArgs = {
|
|
4567
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
4568
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
4569
|
+
};
|
|
4570
|
+
/** Query */
|
|
4512
4571
|
export type QueryCompanyNoteArgs = {
|
|
4513
4572
|
id: Scalars['ID']['input'];
|
|
4514
4573
|
};
|
|
@@ -4643,6 +4702,26 @@ export type QueryProductTypesArgs = {
|
|
|
4643
4702
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4644
4703
|
};
|
|
4645
4704
|
/** Query */
|
|
4705
|
+
export type QueryQuoteArgs = {
|
|
4706
|
+
id: Scalars['ID']['input'];
|
|
4707
|
+
};
|
|
4708
|
+
/** Query */
|
|
4709
|
+
export type QueryQuotePerformanceArgs = {
|
|
4710
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4711
|
+
dateFrom?: InputMaybe<Scalars['Date']['input']>;
|
|
4712
|
+
dateTo?: InputMaybe<Scalars['Date']['input']>;
|
|
4713
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4714
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4715
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4716
|
+
states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4717
|
+
};
|
|
4718
|
+
/** Query */
|
|
4719
|
+
export type QueryQuotesArgs = {
|
|
4720
|
+
filters?: InputMaybe<QuoteFilterInput>;
|
|
4721
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
4722
|
+
sort?: InputMaybe<QuoteSortInput>;
|
|
4723
|
+
};
|
|
4724
|
+
/** Query */
|
|
4646
4725
|
export type QueryRecentHistoryArgs = {
|
|
4647
4726
|
filter?: InputMaybe<RecentHistoryFilterInput>;
|
|
4648
4727
|
pagination?: InputMaybe<PaginationInput>;
|
|
@@ -4760,6 +4839,117 @@ export type QueryTasksArgs = {
|
|
|
4760
4839
|
sortBy?: InputMaybe<Scalars['String']['input']>;
|
|
4761
4840
|
sortDirection?: InputMaybe<Scalars['String']['input']>;
|
|
4762
4841
|
};
|
|
4842
|
+
export type QuoteFilterInput = {
|
|
4843
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4844
|
+
dateFrom?: InputMaybe<Scalars['Date']['input']>;
|
|
4845
|
+
dateTo?: InputMaybe<Scalars['Date']['input']>;
|
|
4846
|
+
/** Filter by company industry */
|
|
4847
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4848
|
+
/** Filter by company location region */
|
|
4849
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4850
|
+
/** Filter by quote.created_by */
|
|
4851
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
4852
|
+
/** Search by title, quote number, or company name */
|
|
4853
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
4854
|
+
/** Filter by company location state */
|
|
4855
|
+
states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4856
|
+
statuses?: InputMaybe<Array<InputMaybe<QuoteStatus>>>;
|
|
4857
|
+
};
|
|
4858
|
+
/** An id-keyed filter option (industry, salesperson) with a label and count. */
|
|
4859
|
+
export type QuoteFilterOptionEntity = {
|
|
4860
|
+
__typename?: 'QuoteFilterOptionEntity';
|
|
4861
|
+
count: Scalars['Int']['output'];
|
|
4862
|
+
id: Scalars['ID']['output'];
|
|
4863
|
+
name: Scalars['String']['output'];
|
|
4864
|
+
};
|
|
4865
|
+
/** A string-keyed filter option (region, state) with a quote count. */
|
|
4866
|
+
export type QuoteFilterOptionString = {
|
|
4867
|
+
__typename?: 'QuoteFilterOptionString';
|
|
4868
|
+
count: Scalars['Int']['output'];
|
|
4869
|
+
value: Scalars['String']['output'];
|
|
4870
|
+
};
|
|
4871
|
+
/** Option lists powering the Quote Performance dashboard top-bar filters. */
|
|
4872
|
+
export type QuoteFilterOptions = {
|
|
4873
|
+
__typename?: 'QuoteFilterOptions';
|
|
4874
|
+
companies: Array<QuoteFilterOptionEntity>;
|
|
4875
|
+
industries: Array<QuoteFilterOptionEntity>;
|
|
4876
|
+
regions: Array<QuoteFilterOptionString>;
|
|
4877
|
+
salespeople: Array<QuoteFilterOptionEntity>;
|
|
4878
|
+
states: Array<QuoteFilterOptionString>;
|
|
4879
|
+
};
|
|
4880
|
+
export type QuoteObject = {
|
|
4881
|
+
__typename?: 'QuoteObject';
|
|
4882
|
+
companyId: Scalars['ID']['output'];
|
|
4883
|
+
companyName: Scalars['String']['output'];
|
|
4884
|
+
contactFirstName?: Maybe<Scalars['String']['output']>;
|
|
4885
|
+
contactFullName?: Maybe<Scalars['String']['output']>;
|
|
4886
|
+
contactId?: Maybe<Scalars['ID']['output']>;
|
|
4887
|
+
contactLastName?: Maybe<Scalars['String']['output']>;
|
|
4888
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4889
|
+
createdById?: Maybe<Scalars['ID']['output']>;
|
|
4890
|
+
createdByName?: Maybe<Scalars['String']['output']>;
|
|
4891
|
+
expirationDate?: Maybe<Scalars['Date']['output']>;
|
|
4892
|
+
id: Scalars['ID']['output'];
|
|
4893
|
+
lastUpdatedByName?: Maybe<Scalars['String']['output']>;
|
|
4894
|
+
lostAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4895
|
+
notes: Scalars['String']['output'];
|
|
4896
|
+
quoteNumber: Scalars['String']['output'];
|
|
4897
|
+
status: QuoteStatus;
|
|
4898
|
+
title: Scalars['String']['output'];
|
|
4899
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4900
|
+
value: Scalars['Decimal']['output'];
|
|
4901
|
+
wonAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4902
|
+
};
|
|
4903
|
+
export type QuotePerformanceObject = {
|
|
4904
|
+
__typename?: 'QuotePerformanceObject';
|
|
4905
|
+
/** Null when there are no won quotes */
|
|
4906
|
+
avgDaysToWin?: Maybe<Scalars['Float']['output']>;
|
|
4907
|
+
avgQuoteSize: Scalars['Decimal']['output'];
|
|
4908
|
+
byStage: Array<QuoteStageBreakdown>;
|
|
4909
|
+
lostCount: Scalars['Int']['output'];
|
|
4910
|
+
lostRate: Scalars['Float']['output'];
|
|
4911
|
+
lostRevenue: Scalars['Decimal']['output'];
|
|
4912
|
+
openPipelineCount: Scalars['Int']['output'];
|
|
4913
|
+
openPipelineValue: Scalars['Decimal']['output'];
|
|
4914
|
+
quotesCreated: Scalars['Int']['output'];
|
|
4915
|
+
winRate: Scalars['Float']['output'];
|
|
4916
|
+
winRateTrend: Array<QuoteWinRateTrendPoint>;
|
|
4917
|
+
wonCount: Scalars['Int']['output'];
|
|
4918
|
+
wonRevenue: Scalars['Decimal']['output'];
|
|
4919
|
+
};
|
|
4920
|
+
export declare enum QuoteSortField {
|
|
4921
|
+
CreatedAt = "CREATED_AT",
|
|
4922
|
+
ExpirationDate = "EXPIRATION_DATE",
|
|
4923
|
+
Status = "STATUS",
|
|
4924
|
+
UpdatedAt = "UPDATED_AT",
|
|
4925
|
+
Value = "VALUE"
|
|
4926
|
+
}
|
|
4927
|
+
export type QuoteSortInput = {
|
|
4928
|
+
direction?: InputMaybe<SortDirection>;
|
|
4929
|
+
field?: InputMaybe<QuoteSortField>;
|
|
4930
|
+
};
|
|
4931
|
+
export type QuoteStageBreakdown = {
|
|
4932
|
+
__typename?: 'QuoteStageBreakdown';
|
|
4933
|
+
count: Scalars['Int']['output'];
|
|
4934
|
+
status: QuoteStatus;
|
|
4935
|
+
totalValue: Scalars['Decimal']['output'];
|
|
4936
|
+
};
|
|
4937
|
+
/** An enumeration. */
|
|
4938
|
+
export declare enum QuoteStatus {
|
|
4939
|
+
Draft = "DRAFT",
|
|
4940
|
+
Lost = "LOST",
|
|
4941
|
+
Negotiating = "NEGOTIATING",
|
|
4942
|
+
Sent = "SENT",
|
|
4943
|
+
Won = "WON"
|
|
4944
|
+
}
|
|
4945
|
+
export type QuoteWinRateTrendPoint = {
|
|
4946
|
+
__typename?: 'QuoteWinRateTrendPoint';
|
|
4947
|
+
/** First day of the bucket month */
|
|
4948
|
+
period: Scalars['Date']['output'];
|
|
4949
|
+
quotesCreated: Scalars['Int']['output'];
|
|
4950
|
+
/** Percent: 0.0 - 100.0 */
|
|
4951
|
+
winRate: Scalars['Float']['output'];
|
|
4952
|
+
};
|
|
4763
4953
|
/** Simplified supplier object for RFQ filter dropdown */
|
|
4764
4954
|
export type RfqSupplierObject = {
|
|
4765
4955
|
__typename?: 'RFQSupplierObject';
|
|
@@ -5857,6 +6047,28 @@ export type UpdateEmailTemplate = {
|
|
|
5857
6047
|
message?: Maybe<Scalars['String']['output']>;
|
|
5858
6048
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
5859
6049
|
};
|
|
6050
|
+
export type UpdateQuote = {
|
|
6051
|
+
__typename?: 'UpdateQuote';
|
|
6052
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
6053
|
+
quote?: Maybe<QuoteObject>;
|
|
6054
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
6055
|
+
};
|
|
6056
|
+
export type UpdateQuoteInputType = {
|
|
6057
|
+
contactId?: InputMaybe<Scalars['ID']['input']>;
|
|
6058
|
+
expirationDate?: InputMaybe<Scalars['Date']['input']>;
|
|
6059
|
+
id: Scalars['ID']['input'];
|
|
6060
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
6061
|
+
status?: InputMaybe<QuoteStatus>;
|
|
6062
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
6063
|
+
value?: InputMaybe<Scalars['Decimal']['input']>;
|
|
6064
|
+
};
|
|
6065
|
+
/** Lightweight mutation for kanban drag-and-drop. */
|
|
6066
|
+
export type UpdateQuoteStatus = {
|
|
6067
|
+
__typename?: 'UpdateQuoteStatus';
|
|
6068
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
6069
|
+
quote?: Maybe<QuoteObject>;
|
|
6070
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
6071
|
+
};
|
|
5860
6072
|
/** Mutation to update an existing sales goal */
|
|
5861
6073
|
export type UpdateSalesGoal = {
|
|
5862
6074
|
__typename?: 'UpdateSalesGoal';
|
|
@@ -9348,6 +9560,40 @@ export type CreateNotificationMutation = {
|
|
|
9348
9560
|
} | null;
|
|
9349
9561
|
} | null;
|
|
9350
9562
|
};
|
|
9563
|
+
export type CreateQuoteMutationVariables = Exact<{
|
|
9564
|
+
input: CreateQuoteInputType;
|
|
9565
|
+
}>;
|
|
9566
|
+
export type CreateQuoteMutation = {
|
|
9567
|
+
__typename?: 'Mutation';
|
|
9568
|
+
createQuote?: {
|
|
9569
|
+
__typename?: 'CreateQuote';
|
|
9570
|
+
success?: boolean | null;
|
|
9571
|
+
message?: string | null;
|
|
9572
|
+
quote?: {
|
|
9573
|
+
__typename?: 'QuoteObject';
|
|
9574
|
+
id: string;
|
|
9575
|
+
quoteNumber: string;
|
|
9576
|
+
title: string;
|
|
9577
|
+
value: any;
|
|
9578
|
+
status: QuoteStatus;
|
|
9579
|
+
expirationDate?: any | null;
|
|
9580
|
+
notes: string;
|
|
9581
|
+
companyId: string;
|
|
9582
|
+
companyName: string;
|
|
9583
|
+
contactId?: string | null;
|
|
9584
|
+
contactFirstName?: string | null;
|
|
9585
|
+
contactLastName?: string | null;
|
|
9586
|
+
contactFullName?: string | null;
|
|
9587
|
+
createdById?: string | null;
|
|
9588
|
+
createdByName?: string | null;
|
|
9589
|
+
lastUpdatedByName?: string | null;
|
|
9590
|
+
createdAt: any;
|
|
9591
|
+
updatedAt: any;
|
|
9592
|
+
wonAt?: any | null;
|
|
9593
|
+
lostAt?: any | null;
|
|
9594
|
+
} | null;
|
|
9595
|
+
} | null;
|
|
9596
|
+
};
|
|
9351
9597
|
export type CreateRfqMutationVariables = Exact<{
|
|
9352
9598
|
input: RfqInput;
|
|
9353
9599
|
}>;
|
|
@@ -10745,6 +10991,17 @@ export type DeleteNotificationMutation = {
|
|
|
10745
10991
|
message?: string | null;
|
|
10746
10992
|
} | null;
|
|
10747
10993
|
};
|
|
10994
|
+
export type DeleteQuoteMutationVariables = Exact<{
|
|
10995
|
+
id: Scalars['ID']['input'];
|
|
10996
|
+
}>;
|
|
10997
|
+
export type DeleteQuoteMutation = {
|
|
10998
|
+
__typename?: 'Mutation';
|
|
10999
|
+
deleteQuote?: {
|
|
11000
|
+
__typename?: 'DeleteQuote';
|
|
11001
|
+
success?: boolean | null;
|
|
11002
|
+
message?: string | null;
|
|
11003
|
+
} | null;
|
|
11004
|
+
};
|
|
10748
11005
|
export type DeleteRfqMutationVariables = Exact<{
|
|
10749
11006
|
id: Scalars['ID']['input'];
|
|
10750
11007
|
}>;
|
|
@@ -16085,6 +16342,75 @@ export type UpdateMysupplierMutation = {
|
|
|
16085
16342
|
} | null;
|
|
16086
16343
|
} | null;
|
|
16087
16344
|
};
|
|
16345
|
+
export type UpdateQuoteMutationVariables = Exact<{
|
|
16346
|
+
input: UpdateQuoteInputType;
|
|
16347
|
+
}>;
|
|
16348
|
+
export type UpdateQuoteMutation = {
|
|
16349
|
+
__typename?: 'Mutation';
|
|
16350
|
+
updateQuote?: {
|
|
16351
|
+
__typename?: 'UpdateQuote';
|
|
16352
|
+
success?: boolean | null;
|
|
16353
|
+
message?: string | null;
|
|
16354
|
+
quote?: {
|
|
16355
|
+
__typename?: 'QuoteObject';
|
|
16356
|
+
id: string;
|
|
16357
|
+
quoteNumber: string;
|
|
16358
|
+
title: string;
|
|
16359
|
+
value: any;
|
|
16360
|
+
status: QuoteStatus;
|
|
16361
|
+
expirationDate?: any | null;
|
|
16362
|
+
notes: string;
|
|
16363
|
+
companyId: string;
|
|
16364
|
+
companyName: string;
|
|
16365
|
+
contactId?: string | null;
|
|
16366
|
+
contactFirstName?: string | null;
|
|
16367
|
+
contactLastName?: string | null;
|
|
16368
|
+
contactFullName?: string | null;
|
|
16369
|
+
createdById?: string | null;
|
|
16370
|
+
createdByName?: string | null;
|
|
16371
|
+
lastUpdatedByName?: string | null;
|
|
16372
|
+
createdAt: any;
|
|
16373
|
+
updatedAt: any;
|
|
16374
|
+
wonAt?: any | null;
|
|
16375
|
+
lostAt?: any | null;
|
|
16376
|
+
} | null;
|
|
16377
|
+
} | null;
|
|
16378
|
+
};
|
|
16379
|
+
export type UpdateQuoteStatusMutationVariables = Exact<{
|
|
16380
|
+
id: Scalars['ID']['input'];
|
|
16381
|
+
status: QuoteStatus;
|
|
16382
|
+
}>;
|
|
16383
|
+
export type UpdateQuoteStatusMutation = {
|
|
16384
|
+
__typename?: 'Mutation';
|
|
16385
|
+
updateQuoteStatus?: {
|
|
16386
|
+
__typename?: 'UpdateQuoteStatus';
|
|
16387
|
+
success?: boolean | null;
|
|
16388
|
+
message?: string | null;
|
|
16389
|
+
quote?: {
|
|
16390
|
+
__typename?: 'QuoteObject';
|
|
16391
|
+
id: string;
|
|
16392
|
+
quoteNumber: string;
|
|
16393
|
+
title: string;
|
|
16394
|
+
value: any;
|
|
16395
|
+
status: QuoteStatus;
|
|
16396
|
+
expirationDate?: any | null;
|
|
16397
|
+
notes: string;
|
|
16398
|
+
companyId: string;
|
|
16399
|
+
companyName: string;
|
|
16400
|
+
contactId?: string | null;
|
|
16401
|
+
contactFirstName?: string | null;
|
|
16402
|
+
contactLastName?: string | null;
|
|
16403
|
+
contactFullName?: string | null;
|
|
16404
|
+
createdById?: string | null;
|
|
16405
|
+
createdByName?: string | null;
|
|
16406
|
+
lastUpdatedByName?: string | null;
|
|
16407
|
+
createdAt: any;
|
|
16408
|
+
updatedAt: any;
|
|
16409
|
+
wonAt?: any | null;
|
|
16410
|
+
lostAt?: any | null;
|
|
16411
|
+
} | null;
|
|
16412
|
+
} | null;
|
|
16413
|
+
};
|
|
16088
16414
|
export type UpdateRfqMutationVariables = Exact<{
|
|
16089
16415
|
id: Scalars['ID']['input'];
|
|
16090
16416
|
input: RfqInput;
|
|
@@ -21878,366 +22204,1076 @@ export type CompanyMetadataQuery = {
|
|
|
21878
22204
|
__typename?: 'Query';
|
|
21879
22205
|
companyMetadata?: any | null;
|
|
21880
22206
|
};
|
|
21881
|
-
export type
|
|
21882
|
-
|
|
21883
|
-
}>;
|
|
21884
|
-
export type CompanyNoteQuery = {
|
|
21885
|
-
__typename?: 'Query';
|
|
21886
|
-
companyNote?: {
|
|
21887
|
-
__typename?: 'CompanyNoteObject';
|
|
21888
|
-
id?: string | null;
|
|
21889
|
-
accountId?: number | null;
|
|
21890
|
-
contactPersonId?: number | null;
|
|
21891
|
-
contactPersonName?: string | null;
|
|
21892
|
-
date?: any | null;
|
|
21893
|
-
noteType?: string | null;
|
|
21894
|
-
duration?: string | null;
|
|
21895
|
-
competitorsMentioned?: string | null;
|
|
21896
|
-
notes?: string | null;
|
|
21897
|
-
summary?: string | null;
|
|
21898
|
-
setReminder?: boolean | null;
|
|
21899
|
-
pinned?: boolean | null;
|
|
21900
|
-
followUpDate?: any | null;
|
|
21901
|
-
followUpAction?: string | null;
|
|
21902
|
-
createdAt?: any | null;
|
|
21903
|
-
updatedAt?: any | null;
|
|
21904
|
-
companyId?: number | null;
|
|
21905
|
-
companyName?: string | null;
|
|
21906
|
-
userId?: number | null;
|
|
21907
|
-
userFirstName?: string | null;
|
|
21908
|
-
userLastName?: string | null;
|
|
21909
|
-
callCampaignLogId?: number | null;
|
|
21910
|
-
callCampaignName?: string | null;
|
|
21911
|
-
callCampaignId?: number | null;
|
|
21912
|
-
callCampaignLogOutcome?: string | null;
|
|
21913
|
-
combinedCampaignLogId?: string | null;
|
|
21914
|
-
combinedCampaignId?: string | null;
|
|
21915
|
-
combinedCampaignName?: string | null;
|
|
21916
|
-
combinedCampaignStepId?: string | null;
|
|
21917
|
-
combinedCampaignStepOrder?: number | null;
|
|
21918
|
-
lastUpdatedByName?: string | null;
|
|
21919
|
-
tasks?: Array<{
|
|
21920
|
-
__typename?: 'TaskObject';
|
|
21921
|
-
id?: number | null;
|
|
21922
|
-
title?: string | null;
|
|
21923
|
-
category?: string | null;
|
|
21924
|
-
description?: string | null;
|
|
21925
|
-
dueDate?: any | null;
|
|
21926
|
-
priority?: string | null;
|
|
21927
|
-
reminderType?: string | null;
|
|
21928
|
-
status?: string | null;
|
|
21929
|
-
completedAt?: any | null;
|
|
21930
|
-
createdAt?: any | null;
|
|
21931
|
-
updatedAt?: any | null;
|
|
21932
|
-
companyId?: number | null;
|
|
21933
|
-
companyName?: string | null;
|
|
21934
|
-
contactId?: number | null;
|
|
21935
|
-
contactName?: string | null;
|
|
21936
|
-
overdue?: boolean | null;
|
|
21937
|
-
assignedTo?: {
|
|
21938
|
-
__typename?: 'UserType';
|
|
21939
|
-
id?: string | null;
|
|
21940
|
-
email?: string | null;
|
|
21941
|
-
firstName?: string | null;
|
|
21942
|
-
lastName?: string | null;
|
|
21943
|
-
picture?: string | null;
|
|
21944
|
-
} | null;
|
|
21945
|
-
callCampaign?: {
|
|
21946
|
-
__typename?: 'CallCampaignObject';
|
|
21947
|
-
id?: string | null;
|
|
21948
|
-
createdAt?: any | null;
|
|
21949
|
-
updatedAt?: any | null;
|
|
21950
|
-
name?: string | null;
|
|
21951
|
-
description?: string | null;
|
|
21952
|
-
status?: string | null;
|
|
21953
|
-
contacts?: number | null;
|
|
21954
|
-
called?: number | null;
|
|
21955
|
-
connected?: number | null;
|
|
21956
|
-
lastActivity?: any | null;
|
|
21957
|
-
script?: string | null;
|
|
21958
|
-
callScriptTemplateId?: string | null;
|
|
21959
|
-
user?: {
|
|
21960
|
-
__typename?: 'UserType';
|
|
21961
|
-
id?: string | null;
|
|
21962
|
-
email?: string | null;
|
|
21963
|
-
firstName?: string | null;
|
|
21964
|
-
lastName?: string | null;
|
|
21965
|
-
picture?: string | null;
|
|
21966
|
-
} | null;
|
|
21967
|
-
account?: {
|
|
21968
|
-
__typename?: 'AccountType';
|
|
21969
|
-
id?: string | null;
|
|
21970
|
-
name?: string | null;
|
|
21971
|
-
isActive?: boolean | null;
|
|
21972
|
-
createdAt?: any | null;
|
|
21973
|
-
updatedAt?: any | null;
|
|
21974
|
-
} | null;
|
|
21975
|
-
segments?: Array<{
|
|
21976
|
-
__typename?: 'SegmentObject';
|
|
21977
|
-
id?: string | null;
|
|
21978
|
-
name?: string | null;
|
|
21979
|
-
description?: string | null;
|
|
21980
|
-
state?: string | null;
|
|
21981
|
-
industry?: string | null;
|
|
21982
|
-
metalType?: string | null;
|
|
21983
|
-
productCategory?: string | null;
|
|
21984
|
-
segmentType?: string | null;
|
|
21985
|
-
createdAt?: any | null;
|
|
21986
|
-
updatedAt?: any | null;
|
|
21987
|
-
isSystemTemplate?: boolean | null;
|
|
21988
|
-
totalContacts?: number | null;
|
|
21989
|
-
status?: string | null;
|
|
21990
|
-
createdBy?: string | null;
|
|
21991
|
-
} | null> | null;
|
|
21992
|
-
stats?: {
|
|
21993
|
-
__typename?: 'CallCampaignStatsObject';
|
|
21994
|
-
totalContacts?: number | null;
|
|
21995
|
-
calledCount?: number | null;
|
|
21996
|
-
connectedCount?: number | null;
|
|
21997
|
-
remainingCount?: number | null;
|
|
21998
|
-
lastActivity?: any | null;
|
|
21999
|
-
statusCounts?: any | null;
|
|
22000
|
-
} | null;
|
|
22001
|
-
createdBy?: {
|
|
22002
|
-
__typename?: 'UserType';
|
|
22003
|
-
id?: string | null;
|
|
22004
|
-
email?: string | null;
|
|
22005
|
-
firstName?: string | null;
|
|
22006
|
-
lastName?: string | null;
|
|
22007
|
-
picture?: string | null;
|
|
22008
|
-
} | null;
|
|
22009
|
-
} | null;
|
|
22010
|
-
callCampaignLog?: {
|
|
22011
|
-
__typename?: 'CallCampaignLogObject';
|
|
22012
|
-
id?: string | null;
|
|
22013
|
-
status?: string | null;
|
|
22014
|
-
outcome?: string | null;
|
|
22015
|
-
lastCalled?: any | null;
|
|
22016
|
-
notes?: string | null;
|
|
22017
|
-
businessSize?: string | null;
|
|
22018
|
-
businessRevenue?: string | null;
|
|
22019
|
-
businessEmployees?: number | null;
|
|
22020
|
-
businessLocation?: string | null;
|
|
22021
|
-
businessIndustry?: string | null;
|
|
22022
|
-
createdAt?: any | null;
|
|
22023
|
-
updatedAt?: any | null;
|
|
22024
|
-
metadata?: any | null;
|
|
22025
|
-
productsOfInterest?: any | null;
|
|
22026
|
-
businessOpportunities?: any | null;
|
|
22027
|
-
currentSupplier?: string | null;
|
|
22028
|
-
campaignId?: string | null;
|
|
22029
|
-
campaignName?: string | null;
|
|
22030
|
-
segmentId?: number | null;
|
|
22031
|
-
segmentName?: string | null;
|
|
22032
|
-
contactId?: number | null;
|
|
22033
|
-
contactName?: string | null;
|
|
22034
|
-
userId?: number | null;
|
|
22035
|
-
userName?: string | null;
|
|
22036
|
-
accountId?: number | null;
|
|
22037
|
-
} | null;
|
|
22038
|
-
createdBy?: {
|
|
22039
|
-
__typename?: 'UserType';
|
|
22040
|
-
id?: string | null;
|
|
22041
|
-
email?: string | null;
|
|
22042
|
-
firstName?: string | null;
|
|
22043
|
-
lastName?: string | null;
|
|
22044
|
-
picture?: string | null;
|
|
22045
|
-
} | null;
|
|
22046
|
-
} | null> | null;
|
|
22047
|
-
} | null;
|
|
22048
|
-
};
|
|
22049
|
-
export type CompanyNotesQueryVariables = Exact<{
|
|
22050
|
-
filters?: InputMaybe<CompanyNoteFilterInput>;
|
|
22051
|
-
pagination?: InputMaybe<PaginationInput>;
|
|
22052
|
-
sort?: InputMaybe<CompanyNoteSortInput>;
|
|
22053
|
-
}>;
|
|
22054
|
-
export type CompanyNotesQuery = {
|
|
22055
|
-
__typename?: 'Query';
|
|
22056
|
-
companyNotes?: {
|
|
22057
|
-
__typename?: 'PaginatedCompanyNoteList';
|
|
22058
|
-
items?: Array<{
|
|
22059
|
-
__typename?: 'CompanyNoteObject';
|
|
22060
|
-
id?: string | null;
|
|
22061
|
-
accountId?: number | null;
|
|
22062
|
-
contactPersonId?: number | null;
|
|
22063
|
-
contactPersonName?: string | null;
|
|
22064
|
-
date?: any | null;
|
|
22065
|
-
noteType?: string | null;
|
|
22066
|
-
duration?: string | null;
|
|
22067
|
-
competitorsMentioned?: string | null;
|
|
22068
|
-
notes?: string | null;
|
|
22069
|
-
summary?: string | null;
|
|
22070
|
-
setReminder?: boolean | null;
|
|
22071
|
-
pinned?: boolean | null;
|
|
22072
|
-
followUpDate?: any | null;
|
|
22073
|
-
followUpAction?: string | null;
|
|
22074
|
-
createdAt?: any | null;
|
|
22075
|
-
updatedAt?: any | null;
|
|
22076
|
-
companyId?: number | null;
|
|
22077
|
-
companyName?: string | null;
|
|
22078
|
-
userId?: number | null;
|
|
22079
|
-
userFirstName?: string | null;
|
|
22080
|
-
userLastName?: string | null;
|
|
22081
|
-
callCampaignLogId?: number | null;
|
|
22082
|
-
callCampaignName?: string | null;
|
|
22083
|
-
callCampaignId?: number | null;
|
|
22084
|
-
callCampaignLogOutcome?: string | null;
|
|
22085
|
-
combinedCampaignLogId?: string | null;
|
|
22086
|
-
combinedCampaignId?: string | null;
|
|
22087
|
-
combinedCampaignName?: string | null;
|
|
22088
|
-
combinedCampaignStepId?: string | null;
|
|
22089
|
-
combinedCampaignStepOrder?: number | null;
|
|
22090
|
-
lastUpdatedByName?: string | null;
|
|
22091
|
-
tasks?: Array<{
|
|
22092
|
-
__typename?: 'TaskObject';
|
|
22093
|
-
id?: number | null;
|
|
22094
|
-
title?: string | null;
|
|
22095
|
-
category?: string | null;
|
|
22096
|
-
description?: string | null;
|
|
22097
|
-
dueDate?: any | null;
|
|
22098
|
-
priority?: string | null;
|
|
22099
|
-
reminderType?: string | null;
|
|
22100
|
-
status?: string | null;
|
|
22101
|
-
completedAt?: any | null;
|
|
22102
|
-
createdAt?: any | null;
|
|
22103
|
-
updatedAt?: any | null;
|
|
22104
|
-
companyId?: number | null;
|
|
22105
|
-
companyName?: string | null;
|
|
22106
|
-
contactId?: number | null;
|
|
22107
|
-
contactName?: string | null;
|
|
22108
|
-
overdue?: boolean | null;
|
|
22109
|
-
assignedTo?: {
|
|
22110
|
-
__typename?: 'UserType';
|
|
22111
|
-
id?: string | null;
|
|
22112
|
-
email?: string | null;
|
|
22113
|
-
firstName?: string | null;
|
|
22114
|
-
lastName?: string | null;
|
|
22115
|
-
picture?: string | null;
|
|
22116
|
-
} | null;
|
|
22117
|
-
callCampaign?: {
|
|
22118
|
-
__typename?: 'CallCampaignObject';
|
|
22119
|
-
id?: string | null;
|
|
22120
|
-
createdAt?: any | null;
|
|
22121
|
-
updatedAt?: any | null;
|
|
22122
|
-
name?: string | null;
|
|
22123
|
-
description?: string | null;
|
|
22124
|
-
status?: string | null;
|
|
22125
|
-
contacts?: number | null;
|
|
22126
|
-
called?: number | null;
|
|
22127
|
-
connected?: number | null;
|
|
22128
|
-
lastActivity?: any | null;
|
|
22129
|
-
script?: string | null;
|
|
22130
|
-
callScriptTemplateId?: string | null;
|
|
22131
|
-
user?: {
|
|
22132
|
-
__typename?: 'UserType';
|
|
22133
|
-
id?: string | null;
|
|
22134
|
-
email?: string | null;
|
|
22135
|
-
firstName?: string | null;
|
|
22136
|
-
lastName?: string | null;
|
|
22137
|
-
picture?: string | null;
|
|
22138
|
-
} | null;
|
|
22139
|
-
account?: {
|
|
22140
|
-
__typename?: 'AccountType';
|
|
22141
|
-
id?: string | null;
|
|
22142
|
-
name?: string | null;
|
|
22143
|
-
isActive?: boolean | null;
|
|
22144
|
-
createdAt?: any | null;
|
|
22145
|
-
updatedAt?: any | null;
|
|
22146
|
-
} | null;
|
|
22147
|
-
segments?: Array<{
|
|
22148
|
-
__typename?: 'SegmentObject';
|
|
22149
|
-
id?: string | null;
|
|
22150
|
-
name?: string | null;
|
|
22151
|
-
description?: string | null;
|
|
22152
|
-
state?: string | null;
|
|
22153
|
-
industry?: string | null;
|
|
22154
|
-
metalType?: string | null;
|
|
22155
|
-
productCategory?: string | null;
|
|
22156
|
-
segmentType?: string | null;
|
|
22157
|
-
createdAt?: any | null;
|
|
22158
|
-
updatedAt?: any | null;
|
|
22159
|
-
isSystemTemplate?: boolean | null;
|
|
22160
|
-
totalContacts?: number | null;
|
|
22161
|
-
status?: string | null;
|
|
22162
|
-
createdBy?: string | null;
|
|
22163
|
-
} | null> | null;
|
|
22164
|
-
stats?: {
|
|
22165
|
-
__typename?: 'CallCampaignStatsObject';
|
|
22166
|
-
totalContacts?: number | null;
|
|
22167
|
-
calledCount?: number | null;
|
|
22168
|
-
connectedCount?: number | null;
|
|
22169
|
-
remainingCount?: number | null;
|
|
22170
|
-
lastActivity?: any | null;
|
|
22171
|
-
statusCounts?: any | null;
|
|
22172
|
-
} | null;
|
|
22173
|
-
createdBy?: {
|
|
22174
|
-
__typename?: 'UserType';
|
|
22175
|
-
id?: string | null;
|
|
22176
|
-
email?: string | null;
|
|
22177
|
-
firstName?: string | null;
|
|
22178
|
-
lastName?: string | null;
|
|
22179
|
-
picture?: string | null;
|
|
22180
|
-
} | null;
|
|
22181
|
-
} | null;
|
|
22182
|
-
callCampaignLog?: {
|
|
22183
|
-
__typename?: 'CallCampaignLogObject';
|
|
22184
|
-
id?: string | null;
|
|
22185
|
-
status?: string | null;
|
|
22186
|
-
outcome?: string | null;
|
|
22187
|
-
lastCalled?: any | null;
|
|
22188
|
-
notes?: string | null;
|
|
22189
|
-
businessSize?: string | null;
|
|
22190
|
-
businessRevenue?: string | null;
|
|
22191
|
-
businessEmployees?: number | null;
|
|
22192
|
-
businessLocation?: string | null;
|
|
22193
|
-
businessIndustry?: string | null;
|
|
22194
|
-
createdAt?: any | null;
|
|
22195
|
-
updatedAt?: any | null;
|
|
22196
|
-
metadata?: any | null;
|
|
22197
|
-
productsOfInterest?: any | null;
|
|
22198
|
-
businessOpportunities?: any | null;
|
|
22199
|
-
currentSupplier?: string | null;
|
|
22200
|
-
campaignId?: string | null;
|
|
22201
|
-
campaignName?: string | null;
|
|
22202
|
-
segmentId?: number | null;
|
|
22203
|
-
segmentName?: string | null;
|
|
22204
|
-
contactId?: number | null;
|
|
22205
|
-
contactName?: string | null;
|
|
22206
|
-
userId?: number | null;
|
|
22207
|
-
userName?: string | null;
|
|
22208
|
-
accountId?: number | null;
|
|
22209
|
-
} | null;
|
|
22210
|
-
createdBy?: {
|
|
22211
|
-
__typename?: 'UserType';
|
|
22212
|
-
id?: string | null;
|
|
22213
|
-
email?: string | null;
|
|
22214
|
-
firstName?: string | null;
|
|
22215
|
-
lastName?: string | null;
|
|
22216
|
-
picture?: string | null;
|
|
22217
|
-
} | null;
|
|
22218
|
-
} | null> | null;
|
|
22219
|
-
} | null> | null;
|
|
22220
|
-
pagination?: {
|
|
22221
|
-
__typename?: 'PaginationInfo';
|
|
22222
|
-
currentPage?: number | null;
|
|
22223
|
-
pageSize?: number | null;
|
|
22224
|
-
totalPages?: number | null;
|
|
22225
|
-
totalCount?: number | null;
|
|
22226
|
-
hasNextPage?: boolean | null;
|
|
22227
|
-
hasPreviousPage?: boolean | null;
|
|
22228
|
-
} | null;
|
|
22229
|
-
} | null;
|
|
22230
|
-
};
|
|
22231
|
-
export type CompanySearchQueryVariables = Exact<{
|
|
22232
|
-
filters?: InputMaybe<CompanyFilterInput>;
|
|
22207
|
+
export type CompanyNameSearchQueryVariables = Exact<{
|
|
22208
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
22233
22209
|
pagination?: InputMaybe<PaginationInput>;
|
|
22234
|
-
sort?: InputMaybe<CompanySortInput>;
|
|
22235
|
-
sortHierarchy?: InputMaybe<Array<InputMaybe<CompanySortInput>> | InputMaybe<CompanySortInput>>;
|
|
22236
|
-
semanticSearch?: InputMaybe<SemanticSearchConfigInput>;
|
|
22237
22210
|
}>;
|
|
22238
|
-
export type
|
|
22211
|
+
export type CompanyNameSearchQuery = {
|
|
22239
22212
|
__typename?: 'Query';
|
|
22240
|
-
|
|
22213
|
+
companyNameSearch?: {
|
|
22214
|
+
__typename?: 'PaginatedCompanyList';
|
|
22215
|
+
items?: Array<{
|
|
22216
|
+
__typename?: 'CompanyObject';
|
|
22217
|
+
id?: string | null;
|
|
22218
|
+
createdAt: any;
|
|
22219
|
+
updatedAt: any;
|
|
22220
|
+
companyName: string;
|
|
22221
|
+
location?: string | null;
|
|
22222
|
+
state?: string | null;
|
|
22223
|
+
employeeSize?: string | null;
|
|
22224
|
+
website?: string | null;
|
|
22225
|
+
description?: string | null;
|
|
22226
|
+
keywords?: string | null;
|
|
22227
|
+
isCustomer: boolean;
|
|
22228
|
+
logoUrl?: string | null;
|
|
22229
|
+
facebookUrl?: string | null;
|
|
22230
|
+
twitterUrl?: string | null;
|
|
22231
|
+
linkedinUrl?: string | null;
|
|
22232
|
+
address1?: string | null;
|
|
22233
|
+
address2?: string | null;
|
|
22234
|
+
city?: string | null;
|
|
22235
|
+
zipCode?: string | null;
|
|
22236
|
+
phone?: string | null;
|
|
22237
|
+
email?: string | null;
|
|
22238
|
+
annualRevenue?: string | null;
|
|
22239
|
+
version: CrmCompanyVersionChoices;
|
|
22240
|
+
externalIdentifiers?: Array<string | null> | null;
|
|
22241
|
+
mailLogs?: Array<string | null> | null;
|
|
22242
|
+
productsSold?: Array<string | null> | null;
|
|
22243
|
+
pk?: string | null;
|
|
22244
|
+
averageScore?: number | null;
|
|
22245
|
+
ownedByUser?: boolean | null;
|
|
22246
|
+
isProspect?: boolean | null;
|
|
22247
|
+
hasSavedContacts?: boolean | null;
|
|
22248
|
+
purchaseMetalConfidence?: number | null;
|
|
22249
|
+
lastContactedAt?: any | null;
|
|
22250
|
+
status?: string | null;
|
|
22251
|
+
filterMatchScore?: number | null;
|
|
22252
|
+
tags?: Array<{
|
|
22253
|
+
__typename?: 'TagObject';
|
|
22254
|
+
id?: string | null;
|
|
22255
|
+
pk?: string | null;
|
|
22256
|
+
name?: string | null;
|
|
22257
|
+
description?: string | null;
|
|
22258
|
+
} | null> | null;
|
|
22259
|
+
owners?: Array<{
|
|
22260
|
+
__typename?: 'CompanyOwnersObject';
|
|
22261
|
+
id?: string | null;
|
|
22262
|
+
isPrimary?: boolean | null;
|
|
22263
|
+
user?: {
|
|
22264
|
+
__typename?: 'UserType';
|
|
22265
|
+
id?: string | null;
|
|
22266
|
+
email?: string | null;
|
|
22267
|
+
firstName?: string | null;
|
|
22268
|
+
lastName?: string | null;
|
|
22269
|
+
picture?: string | null;
|
|
22270
|
+
} | null;
|
|
22271
|
+
} | null> | null;
|
|
22272
|
+
statuses?: Array<{
|
|
22273
|
+
__typename?: 'CompanyStatusType';
|
|
22274
|
+
id?: string | null;
|
|
22275
|
+
status?: string | null;
|
|
22276
|
+
updatedBy?: string | null;
|
|
22277
|
+
updatedAt?: any | null;
|
|
22278
|
+
} | null> | null;
|
|
22279
|
+
locations?: Array<{
|
|
22280
|
+
__typename?: 'CompanyLocationType';
|
|
22281
|
+
id?: string | null;
|
|
22282
|
+
address1?: string | null;
|
|
22283
|
+
address2?: string | null;
|
|
22284
|
+
city?: string | null;
|
|
22285
|
+
state?: string | null;
|
|
22286
|
+
zipCode?: string | null;
|
|
22287
|
+
country?: string | null;
|
|
22288
|
+
isPrimary?: boolean | null;
|
|
22289
|
+
locationType?: string | null;
|
|
22290
|
+
locationName?: string | null;
|
|
22291
|
+
phone?: string | null;
|
|
22292
|
+
email?: string | null;
|
|
22293
|
+
region?: string | null;
|
|
22294
|
+
latitude?: number | null;
|
|
22295
|
+
longitude?: number | null;
|
|
22296
|
+
distance?: number | null;
|
|
22297
|
+
createdAt?: any | null;
|
|
22298
|
+
updatedAt?: any | null;
|
|
22299
|
+
fullAddress?: string | null;
|
|
22300
|
+
} | null> | null;
|
|
22301
|
+
companyNotes?: Array<{
|
|
22302
|
+
__typename?: 'CompanyNoteObject';
|
|
22303
|
+
id?: string | null;
|
|
22304
|
+
accountId?: number | null;
|
|
22305
|
+
contactPersonId?: number | null;
|
|
22306
|
+
contactPersonName?: string | null;
|
|
22307
|
+
date?: any | null;
|
|
22308
|
+
noteType?: string | null;
|
|
22309
|
+
duration?: string | null;
|
|
22310
|
+
competitorsMentioned?: string | null;
|
|
22311
|
+
notes?: string | null;
|
|
22312
|
+
summary?: string | null;
|
|
22313
|
+
setReminder?: boolean | null;
|
|
22314
|
+
pinned?: boolean | null;
|
|
22315
|
+
followUpDate?: any | null;
|
|
22316
|
+
followUpAction?: string | null;
|
|
22317
|
+
createdAt?: any | null;
|
|
22318
|
+
updatedAt?: any | null;
|
|
22319
|
+
companyId?: number | null;
|
|
22320
|
+
companyName?: string | null;
|
|
22321
|
+
userId?: number | null;
|
|
22322
|
+
userFirstName?: string | null;
|
|
22323
|
+
userLastName?: string | null;
|
|
22324
|
+
callCampaignLogId?: number | null;
|
|
22325
|
+
callCampaignName?: string | null;
|
|
22326
|
+
callCampaignId?: number | null;
|
|
22327
|
+
callCampaignLogOutcome?: string | null;
|
|
22328
|
+
combinedCampaignLogId?: string | null;
|
|
22329
|
+
combinedCampaignId?: string | null;
|
|
22330
|
+
combinedCampaignName?: string | null;
|
|
22331
|
+
combinedCampaignStepId?: string | null;
|
|
22332
|
+
combinedCampaignStepOrder?: number | null;
|
|
22333
|
+
lastUpdatedByName?: string | null;
|
|
22334
|
+
tasks?: Array<{
|
|
22335
|
+
__typename?: 'TaskObject';
|
|
22336
|
+
id?: number | null;
|
|
22337
|
+
title?: string | null;
|
|
22338
|
+
category?: string | null;
|
|
22339
|
+
description?: string | null;
|
|
22340
|
+
dueDate?: any | null;
|
|
22341
|
+
priority?: string | null;
|
|
22342
|
+
reminderType?: string | null;
|
|
22343
|
+
status?: string | null;
|
|
22344
|
+
completedAt?: any | null;
|
|
22345
|
+
createdAt?: any | null;
|
|
22346
|
+
updatedAt?: any | null;
|
|
22347
|
+
companyId?: number | null;
|
|
22348
|
+
companyName?: string | null;
|
|
22349
|
+
contactId?: number | null;
|
|
22350
|
+
contactName?: string | null;
|
|
22351
|
+
overdue?: boolean | null;
|
|
22352
|
+
assignedTo?: {
|
|
22353
|
+
__typename?: 'UserType';
|
|
22354
|
+
id?: string | null;
|
|
22355
|
+
email?: string | null;
|
|
22356
|
+
firstName?: string | null;
|
|
22357
|
+
lastName?: string | null;
|
|
22358
|
+
picture?: string | null;
|
|
22359
|
+
} | null;
|
|
22360
|
+
callCampaign?: {
|
|
22361
|
+
__typename?: 'CallCampaignObject';
|
|
22362
|
+
id?: string | null;
|
|
22363
|
+
createdAt?: any | null;
|
|
22364
|
+
updatedAt?: any | null;
|
|
22365
|
+
name?: string | null;
|
|
22366
|
+
description?: string | null;
|
|
22367
|
+
status?: string | null;
|
|
22368
|
+
contacts?: number | null;
|
|
22369
|
+
called?: number | null;
|
|
22370
|
+
connected?: number | null;
|
|
22371
|
+
lastActivity?: any | null;
|
|
22372
|
+
script?: string | null;
|
|
22373
|
+
callScriptTemplateId?: string | null;
|
|
22374
|
+
user?: {
|
|
22375
|
+
__typename?: 'UserType';
|
|
22376
|
+
id?: string | null;
|
|
22377
|
+
email?: string | null;
|
|
22378
|
+
firstName?: string | null;
|
|
22379
|
+
lastName?: string | null;
|
|
22380
|
+
picture?: string | null;
|
|
22381
|
+
} | null;
|
|
22382
|
+
account?: {
|
|
22383
|
+
__typename?: 'AccountType';
|
|
22384
|
+
id?: string | null;
|
|
22385
|
+
name?: string | null;
|
|
22386
|
+
isActive?: boolean | null;
|
|
22387
|
+
createdAt?: any | null;
|
|
22388
|
+
updatedAt?: any | null;
|
|
22389
|
+
} | null;
|
|
22390
|
+
segments?: Array<{
|
|
22391
|
+
__typename?: 'SegmentObject';
|
|
22392
|
+
id?: string | null;
|
|
22393
|
+
name?: string | null;
|
|
22394
|
+
description?: string | null;
|
|
22395
|
+
state?: string | null;
|
|
22396
|
+
industry?: string | null;
|
|
22397
|
+
metalType?: string | null;
|
|
22398
|
+
productCategory?: string | null;
|
|
22399
|
+
segmentType?: string | null;
|
|
22400
|
+
createdAt?: any | null;
|
|
22401
|
+
updatedAt?: any | null;
|
|
22402
|
+
isSystemTemplate?: boolean | null;
|
|
22403
|
+
totalContacts?: number | null;
|
|
22404
|
+
status?: string | null;
|
|
22405
|
+
createdBy?: string | null;
|
|
22406
|
+
} | null> | null;
|
|
22407
|
+
stats?: {
|
|
22408
|
+
__typename?: 'CallCampaignStatsObject';
|
|
22409
|
+
totalContacts?: number | null;
|
|
22410
|
+
calledCount?: number | null;
|
|
22411
|
+
connectedCount?: number | null;
|
|
22412
|
+
remainingCount?: number | null;
|
|
22413
|
+
lastActivity?: any | null;
|
|
22414
|
+
statusCounts?: any | null;
|
|
22415
|
+
} | null;
|
|
22416
|
+
createdBy?: {
|
|
22417
|
+
__typename?: 'UserType';
|
|
22418
|
+
id?: string | null;
|
|
22419
|
+
email?: string | null;
|
|
22420
|
+
firstName?: string | null;
|
|
22421
|
+
lastName?: string | null;
|
|
22422
|
+
picture?: string | null;
|
|
22423
|
+
} | null;
|
|
22424
|
+
} | null;
|
|
22425
|
+
callCampaignLog?: {
|
|
22426
|
+
__typename?: 'CallCampaignLogObject';
|
|
22427
|
+
id?: string | null;
|
|
22428
|
+
status?: string | null;
|
|
22429
|
+
outcome?: string | null;
|
|
22430
|
+
lastCalled?: any | null;
|
|
22431
|
+
notes?: string | null;
|
|
22432
|
+
businessSize?: string | null;
|
|
22433
|
+
businessRevenue?: string | null;
|
|
22434
|
+
businessEmployees?: number | null;
|
|
22435
|
+
businessLocation?: string | null;
|
|
22436
|
+
businessIndustry?: string | null;
|
|
22437
|
+
createdAt?: any | null;
|
|
22438
|
+
updatedAt?: any | null;
|
|
22439
|
+
metadata?: any | null;
|
|
22440
|
+
productsOfInterest?: any | null;
|
|
22441
|
+
businessOpportunities?: any | null;
|
|
22442
|
+
currentSupplier?: string | null;
|
|
22443
|
+
campaignId?: string | null;
|
|
22444
|
+
campaignName?: string | null;
|
|
22445
|
+
segmentId?: number | null;
|
|
22446
|
+
segmentName?: string | null;
|
|
22447
|
+
contactId?: number | null;
|
|
22448
|
+
contactName?: string | null;
|
|
22449
|
+
userId?: number | null;
|
|
22450
|
+
userName?: string | null;
|
|
22451
|
+
accountId?: number | null;
|
|
22452
|
+
} | null;
|
|
22453
|
+
createdBy?: {
|
|
22454
|
+
__typename?: 'UserType';
|
|
22455
|
+
id?: string | null;
|
|
22456
|
+
email?: string | null;
|
|
22457
|
+
firstName?: string | null;
|
|
22458
|
+
lastName?: string | null;
|
|
22459
|
+
picture?: string | null;
|
|
22460
|
+
} | null;
|
|
22461
|
+
} | null> | null;
|
|
22462
|
+
} | null> | null;
|
|
22463
|
+
contacts?: Array<{
|
|
22464
|
+
__typename?: 'ContactObject';
|
|
22465
|
+
id?: string | null;
|
|
22466
|
+
firstName?: string | null;
|
|
22467
|
+
lastName?: string | null;
|
|
22468
|
+
email?: string | null;
|
|
22469
|
+
workEmail?: string | null;
|
|
22470
|
+
workEmail2?: string | null;
|
|
22471
|
+
personalEmail?: string | null;
|
|
22472
|
+
personalEmail2?: string | null;
|
|
22473
|
+
phone?: string | null;
|
|
22474
|
+
phone2?: string | null;
|
|
22475
|
+
phone3?: string | null;
|
|
22476
|
+
title?: string | null;
|
|
22477
|
+
linkedinUrl?: string | null;
|
|
22478
|
+
isPrimary?: boolean | null;
|
|
22479
|
+
isCustomer?: boolean | null;
|
|
22480
|
+
notes?: string | null;
|
|
22481
|
+
lastContactedAt?: any | null;
|
|
22482
|
+
ownedByUser?: boolean | null;
|
|
22483
|
+
companyName?: string | null;
|
|
22484
|
+
companyId?: string | null;
|
|
22485
|
+
isProspect?: boolean | null;
|
|
22486
|
+
isSavedToCrm?: boolean | null;
|
|
22487
|
+
lastContactedBy?: {
|
|
22488
|
+
__typename?: 'UserType';
|
|
22489
|
+
id?: string | null;
|
|
22490
|
+
email?: string | null;
|
|
22491
|
+
firstName?: string | null;
|
|
22492
|
+
lastName?: string | null;
|
|
22493
|
+
picture?: string | null;
|
|
22494
|
+
} | null;
|
|
22495
|
+
lastContactedVia?: {
|
|
22496
|
+
__typename?: 'LastContactedViaType';
|
|
22497
|
+
actionType?: string | null;
|
|
22498
|
+
actionId?: string | null;
|
|
22499
|
+
campaignName?: string | null;
|
|
22500
|
+
campaignId?: string | null;
|
|
22501
|
+
callCampaignId?: string | null;
|
|
22502
|
+
combinedCampaignId?: string | null;
|
|
22503
|
+
stepType?: string | null;
|
|
22504
|
+
stepOrder?: number | null;
|
|
22505
|
+
noteType?: string | null;
|
|
22506
|
+
noteId?: string | null;
|
|
22507
|
+
} | null;
|
|
22508
|
+
contactLog?: Array<{
|
|
22509
|
+
__typename?: 'ContactLogObject';
|
|
22510
|
+
id?: string | null;
|
|
22511
|
+
sentAt?: any | null;
|
|
22512
|
+
openedAt?: any | null;
|
|
22513
|
+
clickedAt?: any | null;
|
|
22514
|
+
bouncedAt?: any | null;
|
|
22515
|
+
status?: string | null;
|
|
22516
|
+
} | null> | null;
|
|
22517
|
+
inSegments?: Array<{
|
|
22518
|
+
__typename?: 'SegmentIdObject';
|
|
22519
|
+
id?: string | null;
|
|
22520
|
+
name?: string | null;
|
|
22521
|
+
state?: string | null;
|
|
22522
|
+
industry?: string | null;
|
|
22523
|
+
} | null> | null;
|
|
22524
|
+
stats?: {
|
|
22525
|
+
__typename?: 'ContactStatsType';
|
|
22526
|
+
totalOpened?: number | null;
|
|
22527
|
+
totalReplied?: number | null;
|
|
22528
|
+
totalBounced?: number | null;
|
|
22529
|
+
} | null;
|
|
22530
|
+
companyOwners?: Array<{
|
|
22531
|
+
__typename?: 'CompanyOwnersObject';
|
|
22532
|
+
id?: string | null;
|
|
22533
|
+
isPrimary?: boolean | null;
|
|
22534
|
+
user?: {
|
|
22535
|
+
__typename?: 'UserType';
|
|
22536
|
+
id?: string | null;
|
|
22537
|
+
email?: string | null;
|
|
22538
|
+
firstName?: string | null;
|
|
22539
|
+
lastName?: string | null;
|
|
22540
|
+
picture?: string | null;
|
|
22541
|
+
} | null;
|
|
22542
|
+
} | null> | null;
|
|
22543
|
+
} | null> | null;
|
|
22544
|
+
tasks?: Array<{
|
|
22545
|
+
__typename?: 'TaskObject';
|
|
22546
|
+
id?: number | null;
|
|
22547
|
+
title?: string | null;
|
|
22548
|
+
category?: string | null;
|
|
22549
|
+
description?: string | null;
|
|
22550
|
+
dueDate?: any | null;
|
|
22551
|
+
priority?: string | null;
|
|
22552
|
+
reminderType?: string | null;
|
|
22553
|
+
status?: string | null;
|
|
22554
|
+
completedAt?: any | null;
|
|
22555
|
+
createdAt?: any | null;
|
|
22556
|
+
updatedAt?: any | null;
|
|
22557
|
+
companyId?: number | null;
|
|
22558
|
+
companyName?: string | null;
|
|
22559
|
+
contactId?: number | null;
|
|
22560
|
+
contactName?: string | null;
|
|
22561
|
+
overdue?: boolean | null;
|
|
22562
|
+
assignedTo?: {
|
|
22563
|
+
__typename?: 'UserType';
|
|
22564
|
+
id?: string | null;
|
|
22565
|
+
email?: string | null;
|
|
22566
|
+
firstName?: string | null;
|
|
22567
|
+
lastName?: string | null;
|
|
22568
|
+
picture?: string | null;
|
|
22569
|
+
} | null;
|
|
22570
|
+
callCampaign?: {
|
|
22571
|
+
__typename?: 'CallCampaignObject';
|
|
22572
|
+
id?: string | null;
|
|
22573
|
+
createdAt?: any | null;
|
|
22574
|
+
updatedAt?: any | null;
|
|
22575
|
+
name?: string | null;
|
|
22576
|
+
description?: string | null;
|
|
22577
|
+
status?: string | null;
|
|
22578
|
+
contacts?: number | null;
|
|
22579
|
+
called?: number | null;
|
|
22580
|
+
connected?: number | null;
|
|
22581
|
+
lastActivity?: any | null;
|
|
22582
|
+
script?: string | null;
|
|
22583
|
+
callScriptTemplateId?: string | null;
|
|
22584
|
+
user?: {
|
|
22585
|
+
__typename?: 'UserType';
|
|
22586
|
+
id?: string | null;
|
|
22587
|
+
email?: string | null;
|
|
22588
|
+
firstName?: string | null;
|
|
22589
|
+
lastName?: string | null;
|
|
22590
|
+
picture?: string | null;
|
|
22591
|
+
} | null;
|
|
22592
|
+
account?: {
|
|
22593
|
+
__typename?: 'AccountType';
|
|
22594
|
+
id?: string | null;
|
|
22595
|
+
name?: string | null;
|
|
22596
|
+
isActive?: boolean | null;
|
|
22597
|
+
createdAt?: any | null;
|
|
22598
|
+
updatedAt?: any | null;
|
|
22599
|
+
} | null;
|
|
22600
|
+
segments?: Array<{
|
|
22601
|
+
__typename?: 'SegmentObject';
|
|
22602
|
+
id?: string | null;
|
|
22603
|
+
name?: string | null;
|
|
22604
|
+
description?: string | null;
|
|
22605
|
+
state?: string | null;
|
|
22606
|
+
industry?: string | null;
|
|
22607
|
+
metalType?: string | null;
|
|
22608
|
+
productCategory?: string | null;
|
|
22609
|
+
segmentType?: string | null;
|
|
22610
|
+
createdAt?: any | null;
|
|
22611
|
+
updatedAt?: any | null;
|
|
22612
|
+
isSystemTemplate?: boolean | null;
|
|
22613
|
+
totalContacts?: number | null;
|
|
22614
|
+
status?: string | null;
|
|
22615
|
+
createdBy?: string | null;
|
|
22616
|
+
} | null> | null;
|
|
22617
|
+
stats?: {
|
|
22618
|
+
__typename?: 'CallCampaignStatsObject';
|
|
22619
|
+
totalContacts?: number | null;
|
|
22620
|
+
calledCount?: number | null;
|
|
22621
|
+
connectedCount?: number | null;
|
|
22622
|
+
remainingCount?: number | null;
|
|
22623
|
+
lastActivity?: any | null;
|
|
22624
|
+
statusCounts?: any | null;
|
|
22625
|
+
} | null;
|
|
22626
|
+
createdBy?: {
|
|
22627
|
+
__typename?: 'UserType';
|
|
22628
|
+
id?: string | null;
|
|
22629
|
+
email?: string | null;
|
|
22630
|
+
firstName?: string | null;
|
|
22631
|
+
lastName?: string | null;
|
|
22632
|
+
picture?: string | null;
|
|
22633
|
+
} | null;
|
|
22634
|
+
} | null;
|
|
22635
|
+
callCampaignLog?: {
|
|
22636
|
+
__typename?: 'CallCampaignLogObject';
|
|
22637
|
+
id?: string | null;
|
|
22638
|
+
status?: string | null;
|
|
22639
|
+
outcome?: string | null;
|
|
22640
|
+
lastCalled?: any | null;
|
|
22641
|
+
notes?: string | null;
|
|
22642
|
+
businessSize?: string | null;
|
|
22643
|
+
businessRevenue?: string | null;
|
|
22644
|
+
businessEmployees?: number | null;
|
|
22645
|
+
businessLocation?: string | null;
|
|
22646
|
+
businessIndustry?: string | null;
|
|
22647
|
+
createdAt?: any | null;
|
|
22648
|
+
updatedAt?: any | null;
|
|
22649
|
+
metadata?: any | null;
|
|
22650
|
+
productsOfInterest?: any | null;
|
|
22651
|
+
businessOpportunities?: any | null;
|
|
22652
|
+
currentSupplier?: string | null;
|
|
22653
|
+
campaignId?: string | null;
|
|
22654
|
+
campaignName?: string | null;
|
|
22655
|
+
segmentId?: number | null;
|
|
22656
|
+
segmentName?: string | null;
|
|
22657
|
+
contactId?: number | null;
|
|
22658
|
+
contactName?: string | null;
|
|
22659
|
+
userId?: number | null;
|
|
22660
|
+
userName?: string | null;
|
|
22661
|
+
accountId?: number | null;
|
|
22662
|
+
} | null;
|
|
22663
|
+
companyNote?: {
|
|
22664
|
+
__typename?: 'CompanyNoteObject';
|
|
22665
|
+
id?: string | null;
|
|
22666
|
+
accountId?: number | null;
|
|
22667
|
+
contactPersonId?: number | null;
|
|
22668
|
+
contactPersonName?: string | null;
|
|
22669
|
+
date?: any | null;
|
|
22670
|
+
noteType?: string | null;
|
|
22671
|
+
duration?: string | null;
|
|
22672
|
+
competitorsMentioned?: string | null;
|
|
22673
|
+
notes?: string | null;
|
|
22674
|
+
summary?: string | null;
|
|
22675
|
+
setReminder?: boolean | null;
|
|
22676
|
+
pinned?: boolean | null;
|
|
22677
|
+
followUpDate?: any | null;
|
|
22678
|
+
followUpAction?: string | null;
|
|
22679
|
+
createdAt?: any | null;
|
|
22680
|
+
updatedAt?: any | null;
|
|
22681
|
+
companyId?: number | null;
|
|
22682
|
+
companyName?: string | null;
|
|
22683
|
+
userId?: number | null;
|
|
22684
|
+
userFirstName?: string | null;
|
|
22685
|
+
userLastName?: string | null;
|
|
22686
|
+
callCampaignLogId?: number | null;
|
|
22687
|
+
callCampaignName?: string | null;
|
|
22688
|
+
callCampaignId?: number | null;
|
|
22689
|
+
callCampaignLogOutcome?: string | null;
|
|
22690
|
+
combinedCampaignLogId?: string | null;
|
|
22691
|
+
combinedCampaignId?: string | null;
|
|
22692
|
+
combinedCampaignName?: string | null;
|
|
22693
|
+
combinedCampaignStepId?: string | null;
|
|
22694
|
+
combinedCampaignStepOrder?: number | null;
|
|
22695
|
+
lastUpdatedByName?: string | null;
|
|
22696
|
+
} | null;
|
|
22697
|
+
createdBy?: {
|
|
22698
|
+
__typename?: 'UserType';
|
|
22699
|
+
id?: string | null;
|
|
22700
|
+
email?: string | null;
|
|
22701
|
+
firstName?: string | null;
|
|
22702
|
+
lastName?: string | null;
|
|
22703
|
+
picture?: string | null;
|
|
22704
|
+
} | null;
|
|
22705
|
+
} | null> | null;
|
|
22706
|
+
auditLogs?: Array<{
|
|
22707
|
+
__typename?: 'AuditLogItemType';
|
|
22708
|
+
id: string;
|
|
22709
|
+
type: string;
|
|
22710
|
+
title: string;
|
|
22711
|
+
description?: string | null;
|
|
22712
|
+
timestamp: any;
|
|
22713
|
+
} | null> | null;
|
|
22714
|
+
productMetalScores?: Array<{
|
|
22715
|
+
__typename?: 'CompanyProductMetalScoreObject';
|
|
22716
|
+
id: string;
|
|
22717
|
+
createdAt: any;
|
|
22718
|
+
updatedAt?: any | null;
|
|
22719
|
+
score: any;
|
|
22720
|
+
matchedFilter?: boolean | null;
|
|
22721
|
+
reasoning?: string | null;
|
|
22722
|
+
isUserAssigned?: boolean | null;
|
|
22723
|
+
userId?: string | null;
|
|
22724
|
+
accountId?: string | null;
|
|
22725
|
+
userFirstName?: string | null;
|
|
22726
|
+
userLastName?: string | null;
|
|
22727
|
+
source?: string | null;
|
|
22728
|
+
productType?: {
|
|
22729
|
+
__typename?: 'ProductTypeObject';
|
|
22730
|
+
id?: string | null;
|
|
22731
|
+
name?: string | null;
|
|
22732
|
+
orderBy?: number | null;
|
|
22733
|
+
pk?: string | null;
|
|
22734
|
+
productCategories?: Array<{
|
|
22735
|
+
__typename?: 'ProductCategoryObject';
|
|
22736
|
+
id?: string | null;
|
|
22737
|
+
name: string;
|
|
22738
|
+
orderBy: number;
|
|
22739
|
+
synonyms?: string | null;
|
|
22740
|
+
use?: string | null;
|
|
22741
|
+
buyerTypes?: string | null;
|
|
22742
|
+
industryTags?: string | null;
|
|
22743
|
+
pk?: string | null;
|
|
22744
|
+
} | null> | null;
|
|
22745
|
+
} | null;
|
|
22746
|
+
metalType?: {
|
|
22747
|
+
__typename?: 'MetalTypeObject';
|
|
22748
|
+
id: string;
|
|
22749
|
+
name: string;
|
|
22750
|
+
orderBy: number;
|
|
22751
|
+
synonyms?: string | null;
|
|
22752
|
+
use?: string | null;
|
|
22753
|
+
buyerTypes?: string | null;
|
|
22754
|
+
industryTags?: string | null;
|
|
22755
|
+
} | null;
|
|
22756
|
+
metalGrade?: {
|
|
22757
|
+
__typename?: 'MetalGradeObject';
|
|
22758
|
+
id: string;
|
|
22759
|
+
name: string;
|
|
22760
|
+
metalType?: {
|
|
22761
|
+
__typename?: 'MetalTypeObject';
|
|
22762
|
+
id: string;
|
|
22763
|
+
name: string;
|
|
22764
|
+
orderBy: number;
|
|
22765
|
+
synonyms?: string | null;
|
|
22766
|
+
use?: string | null;
|
|
22767
|
+
buyerTypes?: string | null;
|
|
22768
|
+
industryTags?: string | null;
|
|
22769
|
+
} | null;
|
|
22770
|
+
} | null;
|
|
22771
|
+
productCategory?: {
|
|
22772
|
+
__typename?: 'ProductCategoryLightweightObject';
|
|
22773
|
+
id?: string | null;
|
|
22774
|
+
pk?: string | null;
|
|
22775
|
+
name?: string | null;
|
|
22776
|
+
orderBy?: number | null;
|
|
22777
|
+
} | null;
|
|
22778
|
+
} | null> | null;
|
|
22779
|
+
companyIndustries?: Array<{
|
|
22780
|
+
__typename?: 'CompanyIndustryObject';
|
|
22781
|
+
id?: string | null;
|
|
22782
|
+
pk?: string | null;
|
|
22783
|
+
matchScore?: number | null;
|
|
22784
|
+
industry?: {
|
|
22785
|
+
__typename?: 'IndustryTypeObject';
|
|
22786
|
+
id?: string | null;
|
|
22787
|
+
pk?: string | null;
|
|
22788
|
+
name?: string | null;
|
|
22789
|
+
description?: string | null;
|
|
22790
|
+
industrySector?: {
|
|
22791
|
+
__typename?: 'IndustrySectorObject';
|
|
22792
|
+
id: string;
|
|
22793
|
+
name: string;
|
|
22794
|
+
description: string;
|
|
22795
|
+
orderBy: number;
|
|
22796
|
+
} | null;
|
|
22797
|
+
} | null;
|
|
22798
|
+
} | null> | null;
|
|
22799
|
+
companyServices?: Array<{
|
|
22800
|
+
__typename?: 'CompanyServiceType';
|
|
22801
|
+
id: string;
|
|
22802
|
+
serviceName: string;
|
|
22803
|
+
} | null> | null;
|
|
22804
|
+
supplierLists: Array<{
|
|
22805
|
+
__typename?: 'Procurement_SupplierListType';
|
|
22806
|
+
id: string;
|
|
22807
|
+
createdAt: any;
|
|
22808
|
+
updatedAt: any;
|
|
22809
|
+
name: string;
|
|
22810
|
+
description?: string | null;
|
|
22811
|
+
color?: string | null;
|
|
22812
|
+
isFavorite: boolean;
|
|
22813
|
+
}>;
|
|
22814
|
+
mySuppliers: Array<{
|
|
22815
|
+
__typename?: 'Procurement_MySupplierType';
|
|
22816
|
+
id: string;
|
|
22817
|
+
createdAt: any;
|
|
22818
|
+
updatedAt: any;
|
|
22819
|
+
}>;
|
|
22820
|
+
industry?: {
|
|
22821
|
+
__typename?: 'IndustryTypeObject';
|
|
22822
|
+
id?: string | null;
|
|
22823
|
+
pk?: string | null;
|
|
22824
|
+
name?: string | null;
|
|
22825
|
+
description?: string | null;
|
|
22826
|
+
industrySector?: {
|
|
22827
|
+
__typename?: 'IndustrySectorObject';
|
|
22828
|
+
id: string;
|
|
22829
|
+
name: string;
|
|
22830
|
+
description: string;
|
|
22831
|
+
orderBy: number;
|
|
22832
|
+
} | null;
|
|
22833
|
+
} | null;
|
|
22834
|
+
industries?: Array<{
|
|
22835
|
+
__typename?: 'CompanyIndustryObject';
|
|
22836
|
+
id?: string | null;
|
|
22837
|
+
pk?: string | null;
|
|
22838
|
+
matchScore?: number | null;
|
|
22839
|
+
industry?: {
|
|
22840
|
+
__typename?: 'IndustryTypeObject';
|
|
22841
|
+
id?: string | null;
|
|
22842
|
+
pk?: string | null;
|
|
22843
|
+
name?: string | null;
|
|
22844
|
+
description?: string | null;
|
|
22845
|
+
industrySector?: {
|
|
22846
|
+
__typename?: 'IndustrySectorObject';
|
|
22847
|
+
id: string;
|
|
22848
|
+
name: string;
|
|
22849
|
+
description: string;
|
|
22850
|
+
orderBy: number;
|
|
22851
|
+
} | null;
|
|
22852
|
+
} | null;
|
|
22853
|
+
} | null> | null;
|
|
22854
|
+
primaryLocation?: {
|
|
22855
|
+
__typename?: 'CompanyLocationType';
|
|
22856
|
+
id?: string | null;
|
|
22857
|
+
address1?: string | null;
|
|
22858
|
+
address2?: string | null;
|
|
22859
|
+
city?: string | null;
|
|
22860
|
+
state?: string | null;
|
|
22861
|
+
zipCode?: string | null;
|
|
22862
|
+
country?: string | null;
|
|
22863
|
+
isPrimary?: boolean | null;
|
|
22864
|
+
locationType?: string | null;
|
|
22865
|
+
locationName?: string | null;
|
|
22866
|
+
phone?: string | null;
|
|
22867
|
+
email?: string | null;
|
|
22868
|
+
region?: string | null;
|
|
22869
|
+
latitude?: number | null;
|
|
22870
|
+
longitude?: number | null;
|
|
22871
|
+
distance?: number | null;
|
|
22872
|
+
createdAt?: any | null;
|
|
22873
|
+
updatedAt?: any | null;
|
|
22874
|
+
fullAddress?: string | null;
|
|
22875
|
+
} | null;
|
|
22876
|
+
lastContactedBy?: {
|
|
22877
|
+
__typename?: 'UserType';
|
|
22878
|
+
id?: string | null;
|
|
22879
|
+
email?: string | null;
|
|
22880
|
+
firstName?: string | null;
|
|
22881
|
+
lastName?: string | null;
|
|
22882
|
+
picture?: string | null;
|
|
22883
|
+
} | null;
|
|
22884
|
+
lastContactedVia?: {
|
|
22885
|
+
__typename?: 'LastContactedViaType';
|
|
22886
|
+
actionType?: string | null;
|
|
22887
|
+
actionId?: string | null;
|
|
22888
|
+
campaignName?: string | null;
|
|
22889
|
+
campaignId?: string | null;
|
|
22890
|
+
callCampaignId?: string | null;
|
|
22891
|
+
combinedCampaignId?: string | null;
|
|
22892
|
+
stepType?: string | null;
|
|
22893
|
+
stepOrder?: number | null;
|
|
22894
|
+
noteType?: string | null;
|
|
22895
|
+
noteId?: string | null;
|
|
22896
|
+
} | null;
|
|
22897
|
+
statusData?: {
|
|
22898
|
+
__typename?: 'CompanyStatusType';
|
|
22899
|
+
id?: string | null;
|
|
22900
|
+
status?: string | null;
|
|
22901
|
+
updatedBy?: string | null;
|
|
22902
|
+
updatedAt?: any | null;
|
|
22903
|
+
} | null;
|
|
22904
|
+
} | null> | null;
|
|
22905
|
+
pagination?: {
|
|
22906
|
+
__typename?: 'CompanyPaginationInfo';
|
|
22907
|
+
currentPage?: number | null;
|
|
22908
|
+
pageSize?: number | null;
|
|
22909
|
+
totalPages?: number | null;
|
|
22910
|
+
totalCount?: number | null;
|
|
22911
|
+
hasNextPage?: boolean | null;
|
|
22912
|
+
hasPreviousPage?: boolean | null;
|
|
22913
|
+
totalVisibleCompanies?: number | null;
|
|
22914
|
+
} | null;
|
|
22915
|
+
} | null;
|
|
22916
|
+
};
|
|
22917
|
+
export type CompanyNoteQueryVariables = Exact<{
|
|
22918
|
+
id: Scalars['ID']['input'];
|
|
22919
|
+
}>;
|
|
22920
|
+
export type CompanyNoteQuery = {
|
|
22921
|
+
__typename?: 'Query';
|
|
22922
|
+
companyNote?: {
|
|
22923
|
+
__typename?: 'CompanyNoteObject';
|
|
22924
|
+
id?: string | null;
|
|
22925
|
+
accountId?: number | null;
|
|
22926
|
+
contactPersonId?: number | null;
|
|
22927
|
+
contactPersonName?: string | null;
|
|
22928
|
+
date?: any | null;
|
|
22929
|
+
noteType?: string | null;
|
|
22930
|
+
duration?: string | null;
|
|
22931
|
+
competitorsMentioned?: string | null;
|
|
22932
|
+
notes?: string | null;
|
|
22933
|
+
summary?: string | null;
|
|
22934
|
+
setReminder?: boolean | null;
|
|
22935
|
+
pinned?: boolean | null;
|
|
22936
|
+
followUpDate?: any | null;
|
|
22937
|
+
followUpAction?: string | null;
|
|
22938
|
+
createdAt?: any | null;
|
|
22939
|
+
updatedAt?: any | null;
|
|
22940
|
+
companyId?: number | null;
|
|
22941
|
+
companyName?: string | null;
|
|
22942
|
+
userId?: number | null;
|
|
22943
|
+
userFirstName?: string | null;
|
|
22944
|
+
userLastName?: string | null;
|
|
22945
|
+
callCampaignLogId?: number | null;
|
|
22946
|
+
callCampaignName?: string | null;
|
|
22947
|
+
callCampaignId?: number | null;
|
|
22948
|
+
callCampaignLogOutcome?: string | null;
|
|
22949
|
+
combinedCampaignLogId?: string | null;
|
|
22950
|
+
combinedCampaignId?: string | null;
|
|
22951
|
+
combinedCampaignName?: string | null;
|
|
22952
|
+
combinedCampaignStepId?: string | null;
|
|
22953
|
+
combinedCampaignStepOrder?: number | null;
|
|
22954
|
+
lastUpdatedByName?: string | null;
|
|
22955
|
+
tasks?: Array<{
|
|
22956
|
+
__typename?: 'TaskObject';
|
|
22957
|
+
id?: number | null;
|
|
22958
|
+
title?: string | null;
|
|
22959
|
+
category?: string | null;
|
|
22960
|
+
description?: string | null;
|
|
22961
|
+
dueDate?: any | null;
|
|
22962
|
+
priority?: string | null;
|
|
22963
|
+
reminderType?: string | null;
|
|
22964
|
+
status?: string | null;
|
|
22965
|
+
completedAt?: any | null;
|
|
22966
|
+
createdAt?: any | null;
|
|
22967
|
+
updatedAt?: any | null;
|
|
22968
|
+
companyId?: number | null;
|
|
22969
|
+
companyName?: string | null;
|
|
22970
|
+
contactId?: number | null;
|
|
22971
|
+
contactName?: string | null;
|
|
22972
|
+
overdue?: boolean | null;
|
|
22973
|
+
assignedTo?: {
|
|
22974
|
+
__typename?: 'UserType';
|
|
22975
|
+
id?: string | null;
|
|
22976
|
+
email?: string | null;
|
|
22977
|
+
firstName?: string | null;
|
|
22978
|
+
lastName?: string | null;
|
|
22979
|
+
picture?: string | null;
|
|
22980
|
+
} | null;
|
|
22981
|
+
callCampaign?: {
|
|
22982
|
+
__typename?: 'CallCampaignObject';
|
|
22983
|
+
id?: string | null;
|
|
22984
|
+
createdAt?: any | null;
|
|
22985
|
+
updatedAt?: any | null;
|
|
22986
|
+
name?: string | null;
|
|
22987
|
+
description?: string | null;
|
|
22988
|
+
status?: string | null;
|
|
22989
|
+
contacts?: number | null;
|
|
22990
|
+
called?: number | null;
|
|
22991
|
+
connected?: number | null;
|
|
22992
|
+
lastActivity?: any | null;
|
|
22993
|
+
script?: string | null;
|
|
22994
|
+
callScriptTemplateId?: string | null;
|
|
22995
|
+
user?: {
|
|
22996
|
+
__typename?: 'UserType';
|
|
22997
|
+
id?: string | null;
|
|
22998
|
+
email?: string | null;
|
|
22999
|
+
firstName?: string | null;
|
|
23000
|
+
lastName?: string | null;
|
|
23001
|
+
picture?: string | null;
|
|
23002
|
+
} | null;
|
|
23003
|
+
account?: {
|
|
23004
|
+
__typename?: 'AccountType';
|
|
23005
|
+
id?: string | null;
|
|
23006
|
+
name?: string | null;
|
|
23007
|
+
isActive?: boolean | null;
|
|
23008
|
+
createdAt?: any | null;
|
|
23009
|
+
updatedAt?: any | null;
|
|
23010
|
+
} | null;
|
|
23011
|
+
segments?: Array<{
|
|
23012
|
+
__typename?: 'SegmentObject';
|
|
23013
|
+
id?: string | null;
|
|
23014
|
+
name?: string | null;
|
|
23015
|
+
description?: string | null;
|
|
23016
|
+
state?: string | null;
|
|
23017
|
+
industry?: string | null;
|
|
23018
|
+
metalType?: string | null;
|
|
23019
|
+
productCategory?: string | null;
|
|
23020
|
+
segmentType?: string | null;
|
|
23021
|
+
createdAt?: any | null;
|
|
23022
|
+
updatedAt?: any | null;
|
|
23023
|
+
isSystemTemplate?: boolean | null;
|
|
23024
|
+
totalContacts?: number | null;
|
|
23025
|
+
status?: string | null;
|
|
23026
|
+
createdBy?: string | null;
|
|
23027
|
+
} | null> | null;
|
|
23028
|
+
stats?: {
|
|
23029
|
+
__typename?: 'CallCampaignStatsObject';
|
|
23030
|
+
totalContacts?: number | null;
|
|
23031
|
+
calledCount?: number | null;
|
|
23032
|
+
connectedCount?: number | null;
|
|
23033
|
+
remainingCount?: number | null;
|
|
23034
|
+
lastActivity?: any | null;
|
|
23035
|
+
statusCounts?: any | null;
|
|
23036
|
+
} | null;
|
|
23037
|
+
createdBy?: {
|
|
23038
|
+
__typename?: 'UserType';
|
|
23039
|
+
id?: string | null;
|
|
23040
|
+
email?: string | null;
|
|
23041
|
+
firstName?: string | null;
|
|
23042
|
+
lastName?: string | null;
|
|
23043
|
+
picture?: string | null;
|
|
23044
|
+
} | null;
|
|
23045
|
+
} | null;
|
|
23046
|
+
callCampaignLog?: {
|
|
23047
|
+
__typename?: 'CallCampaignLogObject';
|
|
23048
|
+
id?: string | null;
|
|
23049
|
+
status?: string | null;
|
|
23050
|
+
outcome?: string | null;
|
|
23051
|
+
lastCalled?: any | null;
|
|
23052
|
+
notes?: string | null;
|
|
23053
|
+
businessSize?: string | null;
|
|
23054
|
+
businessRevenue?: string | null;
|
|
23055
|
+
businessEmployees?: number | null;
|
|
23056
|
+
businessLocation?: string | null;
|
|
23057
|
+
businessIndustry?: string | null;
|
|
23058
|
+
createdAt?: any | null;
|
|
23059
|
+
updatedAt?: any | null;
|
|
23060
|
+
metadata?: any | null;
|
|
23061
|
+
productsOfInterest?: any | null;
|
|
23062
|
+
businessOpportunities?: any | null;
|
|
23063
|
+
currentSupplier?: string | null;
|
|
23064
|
+
campaignId?: string | null;
|
|
23065
|
+
campaignName?: string | null;
|
|
23066
|
+
segmentId?: number | null;
|
|
23067
|
+
segmentName?: string | null;
|
|
23068
|
+
contactId?: number | null;
|
|
23069
|
+
contactName?: string | null;
|
|
23070
|
+
userId?: number | null;
|
|
23071
|
+
userName?: string | null;
|
|
23072
|
+
accountId?: number | null;
|
|
23073
|
+
} | null;
|
|
23074
|
+
createdBy?: {
|
|
23075
|
+
__typename?: 'UserType';
|
|
23076
|
+
id?: string | null;
|
|
23077
|
+
email?: string | null;
|
|
23078
|
+
firstName?: string | null;
|
|
23079
|
+
lastName?: string | null;
|
|
23080
|
+
picture?: string | null;
|
|
23081
|
+
} | null;
|
|
23082
|
+
} | null> | null;
|
|
23083
|
+
} | null;
|
|
23084
|
+
};
|
|
23085
|
+
export type CompanyNotesQueryVariables = Exact<{
|
|
23086
|
+
filters?: InputMaybe<CompanyNoteFilterInput>;
|
|
23087
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
23088
|
+
sort?: InputMaybe<CompanyNoteSortInput>;
|
|
23089
|
+
}>;
|
|
23090
|
+
export type CompanyNotesQuery = {
|
|
23091
|
+
__typename?: 'Query';
|
|
23092
|
+
companyNotes?: {
|
|
23093
|
+
__typename?: 'PaginatedCompanyNoteList';
|
|
23094
|
+
items?: Array<{
|
|
23095
|
+
__typename?: 'CompanyNoteObject';
|
|
23096
|
+
id?: string | null;
|
|
23097
|
+
accountId?: number | null;
|
|
23098
|
+
contactPersonId?: number | null;
|
|
23099
|
+
contactPersonName?: string | null;
|
|
23100
|
+
date?: any | null;
|
|
23101
|
+
noteType?: string | null;
|
|
23102
|
+
duration?: string | null;
|
|
23103
|
+
competitorsMentioned?: string | null;
|
|
23104
|
+
notes?: string | null;
|
|
23105
|
+
summary?: string | null;
|
|
23106
|
+
setReminder?: boolean | null;
|
|
23107
|
+
pinned?: boolean | null;
|
|
23108
|
+
followUpDate?: any | null;
|
|
23109
|
+
followUpAction?: string | null;
|
|
23110
|
+
createdAt?: any | null;
|
|
23111
|
+
updatedAt?: any | null;
|
|
23112
|
+
companyId?: number | null;
|
|
23113
|
+
companyName?: string | null;
|
|
23114
|
+
userId?: number | null;
|
|
23115
|
+
userFirstName?: string | null;
|
|
23116
|
+
userLastName?: string | null;
|
|
23117
|
+
callCampaignLogId?: number | null;
|
|
23118
|
+
callCampaignName?: string | null;
|
|
23119
|
+
callCampaignId?: number | null;
|
|
23120
|
+
callCampaignLogOutcome?: string | null;
|
|
23121
|
+
combinedCampaignLogId?: string | null;
|
|
23122
|
+
combinedCampaignId?: string | null;
|
|
23123
|
+
combinedCampaignName?: string | null;
|
|
23124
|
+
combinedCampaignStepId?: string | null;
|
|
23125
|
+
combinedCampaignStepOrder?: number | null;
|
|
23126
|
+
lastUpdatedByName?: string | null;
|
|
23127
|
+
tasks?: Array<{
|
|
23128
|
+
__typename?: 'TaskObject';
|
|
23129
|
+
id?: number | null;
|
|
23130
|
+
title?: string | null;
|
|
23131
|
+
category?: string | null;
|
|
23132
|
+
description?: string | null;
|
|
23133
|
+
dueDate?: any | null;
|
|
23134
|
+
priority?: string | null;
|
|
23135
|
+
reminderType?: string | null;
|
|
23136
|
+
status?: string | null;
|
|
23137
|
+
completedAt?: any | null;
|
|
23138
|
+
createdAt?: any | null;
|
|
23139
|
+
updatedAt?: any | null;
|
|
23140
|
+
companyId?: number | null;
|
|
23141
|
+
companyName?: string | null;
|
|
23142
|
+
contactId?: number | null;
|
|
23143
|
+
contactName?: string | null;
|
|
23144
|
+
overdue?: boolean | null;
|
|
23145
|
+
assignedTo?: {
|
|
23146
|
+
__typename?: 'UserType';
|
|
23147
|
+
id?: string | null;
|
|
23148
|
+
email?: string | null;
|
|
23149
|
+
firstName?: string | null;
|
|
23150
|
+
lastName?: string | null;
|
|
23151
|
+
picture?: string | null;
|
|
23152
|
+
} | null;
|
|
23153
|
+
callCampaign?: {
|
|
23154
|
+
__typename?: 'CallCampaignObject';
|
|
23155
|
+
id?: string | null;
|
|
23156
|
+
createdAt?: any | null;
|
|
23157
|
+
updatedAt?: any | null;
|
|
23158
|
+
name?: string | null;
|
|
23159
|
+
description?: string | null;
|
|
23160
|
+
status?: string | null;
|
|
23161
|
+
contacts?: number | null;
|
|
23162
|
+
called?: number | null;
|
|
23163
|
+
connected?: number | null;
|
|
23164
|
+
lastActivity?: any | null;
|
|
23165
|
+
script?: string | null;
|
|
23166
|
+
callScriptTemplateId?: string | null;
|
|
23167
|
+
user?: {
|
|
23168
|
+
__typename?: 'UserType';
|
|
23169
|
+
id?: string | null;
|
|
23170
|
+
email?: string | null;
|
|
23171
|
+
firstName?: string | null;
|
|
23172
|
+
lastName?: string | null;
|
|
23173
|
+
picture?: string | null;
|
|
23174
|
+
} | null;
|
|
23175
|
+
account?: {
|
|
23176
|
+
__typename?: 'AccountType';
|
|
23177
|
+
id?: string | null;
|
|
23178
|
+
name?: string | null;
|
|
23179
|
+
isActive?: boolean | null;
|
|
23180
|
+
createdAt?: any | null;
|
|
23181
|
+
updatedAt?: any | null;
|
|
23182
|
+
} | null;
|
|
23183
|
+
segments?: Array<{
|
|
23184
|
+
__typename?: 'SegmentObject';
|
|
23185
|
+
id?: string | null;
|
|
23186
|
+
name?: string | null;
|
|
23187
|
+
description?: string | null;
|
|
23188
|
+
state?: string | null;
|
|
23189
|
+
industry?: string | null;
|
|
23190
|
+
metalType?: string | null;
|
|
23191
|
+
productCategory?: string | null;
|
|
23192
|
+
segmentType?: string | null;
|
|
23193
|
+
createdAt?: any | null;
|
|
23194
|
+
updatedAt?: any | null;
|
|
23195
|
+
isSystemTemplate?: boolean | null;
|
|
23196
|
+
totalContacts?: number | null;
|
|
23197
|
+
status?: string | null;
|
|
23198
|
+
createdBy?: string | null;
|
|
23199
|
+
} | null> | null;
|
|
23200
|
+
stats?: {
|
|
23201
|
+
__typename?: 'CallCampaignStatsObject';
|
|
23202
|
+
totalContacts?: number | null;
|
|
23203
|
+
calledCount?: number | null;
|
|
23204
|
+
connectedCount?: number | null;
|
|
23205
|
+
remainingCount?: number | null;
|
|
23206
|
+
lastActivity?: any | null;
|
|
23207
|
+
statusCounts?: any | null;
|
|
23208
|
+
} | null;
|
|
23209
|
+
createdBy?: {
|
|
23210
|
+
__typename?: 'UserType';
|
|
23211
|
+
id?: string | null;
|
|
23212
|
+
email?: string | null;
|
|
23213
|
+
firstName?: string | null;
|
|
23214
|
+
lastName?: string | null;
|
|
23215
|
+
picture?: string | null;
|
|
23216
|
+
} | null;
|
|
23217
|
+
} | null;
|
|
23218
|
+
callCampaignLog?: {
|
|
23219
|
+
__typename?: 'CallCampaignLogObject';
|
|
23220
|
+
id?: string | null;
|
|
23221
|
+
status?: string | null;
|
|
23222
|
+
outcome?: string | null;
|
|
23223
|
+
lastCalled?: any | null;
|
|
23224
|
+
notes?: string | null;
|
|
23225
|
+
businessSize?: string | null;
|
|
23226
|
+
businessRevenue?: string | null;
|
|
23227
|
+
businessEmployees?: number | null;
|
|
23228
|
+
businessLocation?: string | null;
|
|
23229
|
+
businessIndustry?: string | null;
|
|
23230
|
+
createdAt?: any | null;
|
|
23231
|
+
updatedAt?: any | null;
|
|
23232
|
+
metadata?: any | null;
|
|
23233
|
+
productsOfInterest?: any | null;
|
|
23234
|
+
businessOpportunities?: any | null;
|
|
23235
|
+
currentSupplier?: string | null;
|
|
23236
|
+
campaignId?: string | null;
|
|
23237
|
+
campaignName?: string | null;
|
|
23238
|
+
segmentId?: number | null;
|
|
23239
|
+
segmentName?: string | null;
|
|
23240
|
+
contactId?: number | null;
|
|
23241
|
+
contactName?: string | null;
|
|
23242
|
+
userId?: number | null;
|
|
23243
|
+
userName?: string | null;
|
|
23244
|
+
accountId?: number | null;
|
|
23245
|
+
} | null;
|
|
23246
|
+
createdBy?: {
|
|
23247
|
+
__typename?: 'UserType';
|
|
23248
|
+
id?: string | null;
|
|
23249
|
+
email?: string | null;
|
|
23250
|
+
firstName?: string | null;
|
|
23251
|
+
lastName?: string | null;
|
|
23252
|
+
picture?: string | null;
|
|
23253
|
+
} | null;
|
|
23254
|
+
} | null> | null;
|
|
23255
|
+
} | null> | null;
|
|
23256
|
+
pagination?: {
|
|
23257
|
+
__typename?: 'PaginationInfo';
|
|
23258
|
+
currentPage?: number | null;
|
|
23259
|
+
pageSize?: number | null;
|
|
23260
|
+
totalPages?: number | null;
|
|
23261
|
+
totalCount?: number | null;
|
|
23262
|
+
hasNextPage?: boolean | null;
|
|
23263
|
+
hasPreviousPage?: boolean | null;
|
|
23264
|
+
} | null;
|
|
23265
|
+
} | null;
|
|
23266
|
+
};
|
|
23267
|
+
export type CompanySearchQueryVariables = Exact<{
|
|
23268
|
+
filters?: InputMaybe<CompanyFilterInput>;
|
|
23269
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
23270
|
+
sort?: InputMaybe<CompanySortInput>;
|
|
23271
|
+
sortHierarchy?: InputMaybe<Array<InputMaybe<CompanySortInput>> | InputMaybe<CompanySortInput>>;
|
|
23272
|
+
semanticSearch?: InputMaybe<SemanticSearchConfigInput>;
|
|
23273
|
+
}>;
|
|
23274
|
+
export type CompanySearchQuery = {
|
|
23275
|
+
__typename?: 'Query';
|
|
23276
|
+
companySearch?: {
|
|
22241
23277
|
__typename?: 'PaginatedCompanyList';
|
|
22242
23278
|
items?: Array<{
|
|
22243
23279
|
__typename?: 'CompanyObject';
|
|
@@ -25293,6 +26329,154 @@ export type ProductTypesQuery = {
|
|
|
25293
26329
|
} | null> | null;
|
|
25294
26330
|
} | null> | null;
|
|
25295
26331
|
};
|
|
26332
|
+
export type QuoteQueryVariables = Exact<{
|
|
26333
|
+
id: Scalars['ID']['input'];
|
|
26334
|
+
}>;
|
|
26335
|
+
export type QuoteQuery = {
|
|
26336
|
+
__typename?: 'Query';
|
|
26337
|
+
quote?: {
|
|
26338
|
+
__typename?: 'QuoteObject';
|
|
26339
|
+
id: string;
|
|
26340
|
+
quoteNumber: string;
|
|
26341
|
+
title: string;
|
|
26342
|
+
value: any;
|
|
26343
|
+
status: QuoteStatus;
|
|
26344
|
+
expirationDate?: any | null;
|
|
26345
|
+
notes: string;
|
|
26346
|
+
companyId: string;
|
|
26347
|
+
companyName: string;
|
|
26348
|
+
contactId?: string | null;
|
|
26349
|
+
contactFirstName?: string | null;
|
|
26350
|
+
contactLastName?: string | null;
|
|
26351
|
+
contactFullName?: string | null;
|
|
26352
|
+
createdById?: string | null;
|
|
26353
|
+
createdByName?: string | null;
|
|
26354
|
+
lastUpdatedByName?: string | null;
|
|
26355
|
+
createdAt: any;
|
|
26356
|
+
updatedAt: any;
|
|
26357
|
+
wonAt?: any | null;
|
|
26358
|
+
lostAt?: any | null;
|
|
26359
|
+
} | null;
|
|
26360
|
+
};
|
|
26361
|
+
export type QuoteFilterOptionsQueryVariables = Exact<{
|
|
26362
|
+
[key: string]: never;
|
|
26363
|
+
}>;
|
|
26364
|
+
export type QuoteFilterOptionsQuery = {
|
|
26365
|
+
__typename?: 'Query';
|
|
26366
|
+
quoteFilterOptions?: {
|
|
26367
|
+
__typename?: 'QuoteFilterOptions';
|
|
26368
|
+
regions: Array<{
|
|
26369
|
+
__typename?: 'QuoteFilterOptionString';
|
|
26370
|
+
value: string;
|
|
26371
|
+
count: number;
|
|
26372
|
+
}>;
|
|
26373
|
+
states: Array<{
|
|
26374
|
+
__typename?: 'QuoteFilterOptionString';
|
|
26375
|
+
value: string;
|
|
26376
|
+
count: number;
|
|
26377
|
+
}>;
|
|
26378
|
+
industries: Array<{
|
|
26379
|
+
__typename?: 'QuoteFilterOptionEntity';
|
|
26380
|
+
id: string;
|
|
26381
|
+
name: string;
|
|
26382
|
+
count: number;
|
|
26383
|
+
}>;
|
|
26384
|
+
salespeople: Array<{
|
|
26385
|
+
__typename?: 'QuoteFilterOptionEntity';
|
|
26386
|
+
id: string;
|
|
26387
|
+
name: string;
|
|
26388
|
+
count: number;
|
|
26389
|
+
}>;
|
|
26390
|
+
companies: Array<{
|
|
26391
|
+
__typename?: 'QuoteFilterOptionEntity';
|
|
26392
|
+
id: string;
|
|
26393
|
+
name: string;
|
|
26394
|
+
count: number;
|
|
26395
|
+
}>;
|
|
26396
|
+
} | null;
|
|
26397
|
+
};
|
|
26398
|
+
export type QuotePerformanceQueryVariables = Exact<{
|
|
26399
|
+
dateFrom?: InputMaybe<Scalars['Date']['input']>;
|
|
26400
|
+
dateTo?: InputMaybe<Scalars['Date']['input']>;
|
|
26401
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
26402
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
26403
|
+
states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
26404
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
26405
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
26406
|
+
}>;
|
|
26407
|
+
export type QuotePerformanceQuery = {
|
|
26408
|
+
__typename?: 'Query';
|
|
26409
|
+
quotePerformance?: {
|
|
26410
|
+
__typename?: 'QuotePerformanceObject';
|
|
26411
|
+
winRate: number;
|
|
26412
|
+
lostRate: number;
|
|
26413
|
+
wonRevenue: any;
|
|
26414
|
+
lostRevenue: any;
|
|
26415
|
+
avgDaysToWin?: number | null;
|
|
26416
|
+
avgQuoteSize: any;
|
|
26417
|
+
quotesCreated: number;
|
|
26418
|
+
openPipelineValue: any;
|
|
26419
|
+
openPipelineCount: number;
|
|
26420
|
+
wonCount: number;
|
|
26421
|
+
lostCount: number;
|
|
26422
|
+
byStage: Array<{
|
|
26423
|
+
__typename?: 'QuoteStageBreakdown';
|
|
26424
|
+
status: QuoteStatus;
|
|
26425
|
+
count: number;
|
|
26426
|
+
totalValue: any;
|
|
26427
|
+
}>;
|
|
26428
|
+
winRateTrend: Array<{
|
|
26429
|
+
__typename?: 'QuoteWinRateTrendPoint';
|
|
26430
|
+
period: any;
|
|
26431
|
+
quotesCreated: number;
|
|
26432
|
+
winRate: number;
|
|
26433
|
+
}>;
|
|
26434
|
+
} | null;
|
|
26435
|
+
};
|
|
26436
|
+
export type QuotesQueryVariables = Exact<{
|
|
26437
|
+
filters?: InputMaybe<QuoteFilterInput>;
|
|
26438
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
26439
|
+
sort?: InputMaybe<QuoteSortInput>;
|
|
26440
|
+
}>;
|
|
26441
|
+
export type QuotesQuery = {
|
|
26442
|
+
__typename?: 'Query';
|
|
26443
|
+
quotes?: {
|
|
26444
|
+
__typename?: 'PaginatedQuoteList';
|
|
26445
|
+
totalValue: any;
|
|
26446
|
+
items: Array<{
|
|
26447
|
+
__typename?: 'QuoteObject';
|
|
26448
|
+
id: string;
|
|
26449
|
+
quoteNumber: string;
|
|
26450
|
+
title: string;
|
|
26451
|
+
value: any;
|
|
26452
|
+
status: QuoteStatus;
|
|
26453
|
+
expirationDate?: any | null;
|
|
26454
|
+
notes: string;
|
|
26455
|
+
companyId: string;
|
|
26456
|
+
companyName: string;
|
|
26457
|
+
contactId?: string | null;
|
|
26458
|
+
contactFirstName?: string | null;
|
|
26459
|
+
contactLastName?: string | null;
|
|
26460
|
+
contactFullName?: string | null;
|
|
26461
|
+
createdById?: string | null;
|
|
26462
|
+
createdByName?: string | null;
|
|
26463
|
+
lastUpdatedByName?: string | null;
|
|
26464
|
+
createdAt: any;
|
|
26465
|
+
updatedAt: any;
|
|
26466
|
+
wonAt?: any | null;
|
|
26467
|
+
lostAt?: any | null;
|
|
26468
|
+
}>;
|
|
26469
|
+
pagination: {
|
|
26470
|
+
__typename?: 'PaginationInfo';
|
|
26471
|
+
currentPage?: number | null;
|
|
26472
|
+
pageSize?: number | null;
|
|
26473
|
+
totalPages?: number | null;
|
|
26474
|
+
totalCount?: number | null;
|
|
26475
|
+
hasNextPage?: boolean | null;
|
|
26476
|
+
hasPreviousPage?: boolean | null;
|
|
26477
|
+
};
|
|
26478
|
+
} | null;
|
|
26479
|
+
};
|
|
25296
26480
|
export type RecentHistoryQueryVariables = Exact<{
|
|
25297
26481
|
filter?: InputMaybe<RecentHistoryFilterInput>;
|
|
25298
26482
|
sort?: InputMaybe<RecentHistorySortInput>;
|
|
@@ -31614,6 +32798,31 @@ export declare function useCreateNotificationMutation(baseOptions?: Apollo.Mutat
|
|
|
31614
32798
|
export type CreateNotificationMutationHookResult = ReturnType<typeof useCreateNotificationMutation>;
|
|
31615
32799
|
export type CreateNotificationMutationResult = Apollo.MutationResult<CreateNotificationMutation>;
|
|
31616
32800
|
export type CreateNotificationMutationOptions = Apollo.BaseMutationOptions<CreateNotificationMutation, CreateNotificationMutationVariables>;
|
|
32801
|
+
export declare const CreateQuoteDocument: Apollo.DocumentNode;
|
|
32802
|
+
export type CreateQuoteMutationFn = Apollo.MutationFunction<CreateQuoteMutation, CreateQuoteMutationVariables>;
|
|
32803
|
+
/**
|
|
32804
|
+
* __useCreateQuoteMutation__
|
|
32805
|
+
*
|
|
32806
|
+
* To run a mutation, you first call `useCreateQuoteMutation` within a React component and pass it any options that fit your needs.
|
|
32807
|
+
* When your component renders, `useCreateQuoteMutation` returns a tuple that includes:
|
|
32808
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
32809
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
32810
|
+
*
|
|
32811
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
32812
|
+
*
|
|
32813
|
+
* @example
|
|
32814
|
+
* const [createQuoteMutation, { data, loading, error }] = useCreateQuoteMutation({
|
|
32815
|
+
* variables: {
|
|
32816
|
+
* input: // value for 'input'
|
|
32817
|
+
* },
|
|
32818
|
+
* });
|
|
32819
|
+
*/
|
|
32820
|
+
export declare function useCreateQuoteMutation(baseOptions?: Apollo.MutationHookOptions<CreateQuoteMutation, CreateQuoteMutationVariables>): Apollo.MutationTuple<CreateQuoteMutation, Exact<{
|
|
32821
|
+
input: CreateQuoteInputType;
|
|
32822
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
32823
|
+
export type CreateQuoteMutationHookResult = ReturnType<typeof useCreateQuoteMutation>;
|
|
32824
|
+
export type CreateQuoteMutationResult = Apollo.MutationResult<CreateQuoteMutation>;
|
|
32825
|
+
export type CreateQuoteMutationOptions = Apollo.BaseMutationOptions<CreateQuoteMutation, CreateQuoteMutationVariables>;
|
|
31617
32826
|
export declare const CreateRfqDocument: Apollo.DocumentNode;
|
|
31618
32827
|
export type CreateRfqMutationFn = Apollo.MutationFunction<CreateRfqMutation, CreateRfqMutationVariables>;
|
|
31619
32828
|
/**
|
|
@@ -32068,6 +33277,31 @@ export declare function useDeleteNotificationMutation(baseOptions?: Apollo.Mutat
|
|
|
32068
33277
|
export type DeleteNotificationMutationHookResult = ReturnType<typeof useDeleteNotificationMutation>;
|
|
32069
33278
|
export type DeleteNotificationMutationResult = Apollo.MutationResult<DeleteNotificationMutation>;
|
|
32070
33279
|
export type DeleteNotificationMutationOptions = Apollo.BaseMutationOptions<DeleteNotificationMutation, DeleteNotificationMutationVariables>;
|
|
33280
|
+
export declare const DeleteQuoteDocument: Apollo.DocumentNode;
|
|
33281
|
+
export type DeleteQuoteMutationFn = Apollo.MutationFunction<DeleteQuoteMutation, DeleteQuoteMutationVariables>;
|
|
33282
|
+
/**
|
|
33283
|
+
* __useDeleteQuoteMutation__
|
|
33284
|
+
*
|
|
33285
|
+
* To run a mutation, you first call `useDeleteQuoteMutation` within a React component and pass it any options that fit your needs.
|
|
33286
|
+
* When your component renders, `useDeleteQuoteMutation` returns a tuple that includes:
|
|
33287
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
33288
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
33289
|
+
*
|
|
33290
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
33291
|
+
*
|
|
33292
|
+
* @example
|
|
33293
|
+
* const [deleteQuoteMutation, { data, loading, error }] = useDeleteQuoteMutation({
|
|
33294
|
+
* variables: {
|
|
33295
|
+
* id: // value for 'id'
|
|
33296
|
+
* },
|
|
33297
|
+
* });
|
|
33298
|
+
*/
|
|
33299
|
+
export declare function useDeleteQuoteMutation(baseOptions?: Apollo.MutationHookOptions<DeleteQuoteMutation, DeleteQuoteMutationVariables>): Apollo.MutationTuple<DeleteQuoteMutation, Exact<{
|
|
33300
|
+
id: Scalars["ID"]["input"];
|
|
33301
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
33302
|
+
export type DeleteQuoteMutationHookResult = ReturnType<typeof useDeleteQuoteMutation>;
|
|
33303
|
+
export type DeleteQuoteMutationResult = Apollo.MutationResult<DeleteQuoteMutation>;
|
|
33304
|
+
export type DeleteQuoteMutationOptions = Apollo.BaseMutationOptions<DeleteQuoteMutation, DeleteQuoteMutationVariables>;
|
|
32071
33305
|
export declare const DeleteRfqDocument: Apollo.DocumentNode;
|
|
32072
33306
|
export type DeleteRfqMutationFn = Apollo.MutationFunction<DeleteRfqMutation, DeleteRfqMutationVariables>;
|
|
32073
33307
|
/**
|
|
@@ -34182,6 +35416,58 @@ export declare function useUpdateMysupplierMutation(baseOptions?: Apollo.Mutatio
|
|
|
34182
35416
|
export type UpdateMysupplierMutationHookResult = ReturnType<typeof useUpdateMysupplierMutation>;
|
|
34183
35417
|
export type UpdateMysupplierMutationResult = Apollo.MutationResult<UpdateMysupplierMutation>;
|
|
34184
35418
|
export type UpdateMysupplierMutationOptions = Apollo.BaseMutationOptions<UpdateMysupplierMutation, UpdateMysupplierMutationVariables>;
|
|
35419
|
+
export declare const UpdateQuoteDocument: Apollo.DocumentNode;
|
|
35420
|
+
export type UpdateQuoteMutationFn = Apollo.MutationFunction<UpdateQuoteMutation, UpdateQuoteMutationVariables>;
|
|
35421
|
+
/**
|
|
35422
|
+
* __useUpdateQuoteMutation__
|
|
35423
|
+
*
|
|
35424
|
+
* To run a mutation, you first call `useUpdateQuoteMutation` within a React component and pass it any options that fit your needs.
|
|
35425
|
+
* When your component renders, `useUpdateQuoteMutation` returns a tuple that includes:
|
|
35426
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
35427
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
35428
|
+
*
|
|
35429
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
35430
|
+
*
|
|
35431
|
+
* @example
|
|
35432
|
+
* const [updateQuoteMutation, { data, loading, error }] = useUpdateQuoteMutation({
|
|
35433
|
+
* variables: {
|
|
35434
|
+
* input: // value for 'input'
|
|
35435
|
+
* },
|
|
35436
|
+
* });
|
|
35437
|
+
*/
|
|
35438
|
+
export declare function useUpdateQuoteMutation(baseOptions?: Apollo.MutationHookOptions<UpdateQuoteMutation, UpdateQuoteMutationVariables>): Apollo.MutationTuple<UpdateQuoteMutation, Exact<{
|
|
35439
|
+
input: UpdateQuoteInputType;
|
|
35440
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
35441
|
+
export type UpdateQuoteMutationHookResult = ReturnType<typeof useUpdateQuoteMutation>;
|
|
35442
|
+
export type UpdateQuoteMutationResult = Apollo.MutationResult<UpdateQuoteMutation>;
|
|
35443
|
+
export type UpdateQuoteMutationOptions = Apollo.BaseMutationOptions<UpdateQuoteMutation, UpdateQuoteMutationVariables>;
|
|
35444
|
+
export declare const UpdateQuoteStatusDocument: Apollo.DocumentNode;
|
|
35445
|
+
export type UpdateQuoteStatusMutationFn = Apollo.MutationFunction<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>;
|
|
35446
|
+
/**
|
|
35447
|
+
* __useUpdateQuoteStatusMutation__
|
|
35448
|
+
*
|
|
35449
|
+
* To run a mutation, you first call `useUpdateQuoteStatusMutation` within a React component and pass it any options that fit your needs.
|
|
35450
|
+
* When your component renders, `useUpdateQuoteStatusMutation` returns a tuple that includes:
|
|
35451
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
35452
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
35453
|
+
*
|
|
35454
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
35455
|
+
*
|
|
35456
|
+
* @example
|
|
35457
|
+
* const [updateQuoteStatusMutation, { data, loading, error }] = useUpdateQuoteStatusMutation({
|
|
35458
|
+
* variables: {
|
|
35459
|
+
* id: // value for 'id'
|
|
35460
|
+
* status: // value for 'status'
|
|
35461
|
+
* },
|
|
35462
|
+
* });
|
|
35463
|
+
*/
|
|
35464
|
+
export declare function useUpdateQuoteStatusMutation(baseOptions?: Apollo.MutationHookOptions<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>): Apollo.MutationTuple<UpdateQuoteStatusMutation, Exact<{
|
|
35465
|
+
id: Scalars["ID"]["input"];
|
|
35466
|
+
status: QuoteStatus;
|
|
35467
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
35468
|
+
export type UpdateQuoteStatusMutationHookResult = ReturnType<typeof useUpdateQuoteStatusMutation>;
|
|
35469
|
+
export type UpdateQuoteStatusMutationResult = Apollo.MutationResult<UpdateQuoteStatusMutation>;
|
|
35470
|
+
export type UpdateQuoteStatusMutationOptions = Apollo.BaseMutationOptions<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>;
|
|
34185
35471
|
export declare const UpdateRfqDocument: Apollo.DocumentNode;
|
|
34186
35472
|
export type UpdateRfqMutationFn = Apollo.MutationFunction<UpdateRfqMutation, UpdateRfqMutationVariables>;
|
|
34187
35473
|
/**
|
|
@@ -35767,6 +37053,40 @@ export type CompanyMetadataQueryHookResult = ReturnType<typeof useCompanyMetadat
|
|
|
35767
37053
|
export type CompanyMetadataLazyQueryHookResult = ReturnType<typeof useCompanyMetadataLazyQuery>;
|
|
35768
37054
|
export type CompanyMetadataSuspenseQueryHookResult = ReturnType<typeof useCompanyMetadataSuspenseQuery>;
|
|
35769
37055
|
export type CompanyMetadataQueryResult = Apollo.QueryResult<CompanyMetadataQuery, CompanyMetadataQueryVariables>;
|
|
37056
|
+
export declare const CompanyNameSearchDocument: Apollo.DocumentNode;
|
|
37057
|
+
/**
|
|
37058
|
+
* __useCompanyNameSearchQuery__
|
|
37059
|
+
*
|
|
37060
|
+
* To run a query within a React component, call `useCompanyNameSearchQuery` and pass it any options that fit your needs.
|
|
37061
|
+
* When your component renders, `useCompanyNameSearchQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
37062
|
+
* you can use to render your UI.
|
|
37063
|
+
*
|
|
37064
|
+
* @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;
|
|
37065
|
+
*
|
|
37066
|
+
* @example
|
|
37067
|
+
* const { data, loading, error } = useCompanyNameSearchQuery({
|
|
37068
|
+
* variables: {
|
|
37069
|
+
* search: // value for 'search'
|
|
37070
|
+
* pagination: // value for 'pagination'
|
|
37071
|
+
* },
|
|
37072
|
+
* });
|
|
37073
|
+
*/
|
|
37074
|
+
export declare function useCompanyNameSearchQuery(baseOptions?: Apollo.QueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.QueryResult<CompanyNameSearchQuery, Exact<{
|
|
37075
|
+
search?: InputMaybe<Scalars["String"]["input"]>;
|
|
37076
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
37077
|
+
}>>;
|
|
37078
|
+
export declare function useCompanyNameSearchLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.LazyQueryResultTuple<CompanyNameSearchQuery, Exact<{
|
|
37079
|
+
search?: InputMaybe<Scalars["String"]["input"]>;
|
|
37080
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
37081
|
+
}>>;
|
|
37082
|
+
export declare function useCompanyNameSearchSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.UseSuspenseQueryResult<CompanyNameSearchQuery | undefined, Exact<{
|
|
37083
|
+
search?: InputMaybe<Scalars["String"]["input"]>;
|
|
37084
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
37085
|
+
}>>;
|
|
37086
|
+
export type CompanyNameSearchQueryHookResult = ReturnType<typeof useCompanyNameSearchQuery>;
|
|
37087
|
+
export type CompanyNameSearchLazyQueryHookResult = ReturnType<typeof useCompanyNameSearchLazyQuery>;
|
|
37088
|
+
export type CompanyNameSearchSuspenseQueryHookResult = ReturnType<typeof useCompanyNameSearchSuspenseQuery>;
|
|
37089
|
+
export type CompanyNameSearchQueryResult = Apollo.QueryResult<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>;
|
|
35770
37090
|
export declare const CompanyNoteDocument: Apollo.DocumentNode;
|
|
35771
37091
|
/**
|
|
35772
37092
|
* __useCompanyNoteQuery__
|
|
@@ -37031,6 +38351,162 @@ export type ProductTypesQueryHookResult = ReturnType<typeof useProductTypesQuery
|
|
|
37031
38351
|
export type ProductTypesLazyQueryHookResult = ReturnType<typeof useProductTypesLazyQuery>;
|
|
37032
38352
|
export type ProductTypesSuspenseQueryHookResult = ReturnType<typeof useProductTypesSuspenseQuery>;
|
|
37033
38353
|
export type ProductTypesQueryResult = Apollo.QueryResult<ProductTypesQuery, ProductTypesQueryVariables>;
|
|
38354
|
+
export declare const QuoteDocument: Apollo.DocumentNode;
|
|
38355
|
+
/**
|
|
38356
|
+
* __useQuoteQuery__
|
|
38357
|
+
*
|
|
38358
|
+
* To run a query within a React component, call `useQuoteQuery` and pass it any options that fit your needs.
|
|
38359
|
+
* When your component renders, `useQuoteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
38360
|
+
* you can use to render your UI.
|
|
38361
|
+
*
|
|
38362
|
+
* @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;
|
|
38363
|
+
*
|
|
38364
|
+
* @example
|
|
38365
|
+
* const { data, loading, error } = useQuoteQuery({
|
|
38366
|
+
* variables: {
|
|
38367
|
+
* id: // value for 'id'
|
|
38368
|
+
* },
|
|
38369
|
+
* });
|
|
38370
|
+
*/
|
|
38371
|
+
export declare function useQuoteQuery(baseOptions: Apollo.QueryHookOptions<QuoteQuery, QuoteQueryVariables> & ({
|
|
38372
|
+
variables: QuoteQueryVariables;
|
|
38373
|
+
skip?: boolean;
|
|
38374
|
+
} | {
|
|
38375
|
+
skip: boolean;
|
|
38376
|
+
})): Apollo.QueryResult<QuoteQuery, Exact<{
|
|
38377
|
+
id: Scalars["ID"]["input"];
|
|
38378
|
+
}>>;
|
|
38379
|
+
export declare function useQuoteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuoteQuery, QuoteQueryVariables>): Apollo.LazyQueryResultTuple<QuoteQuery, Exact<{
|
|
38380
|
+
id: Scalars["ID"]["input"];
|
|
38381
|
+
}>>;
|
|
38382
|
+
export declare function useQuoteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuoteQuery, QuoteQueryVariables>): Apollo.UseSuspenseQueryResult<QuoteQuery | undefined, Exact<{
|
|
38383
|
+
id: Scalars["ID"]["input"];
|
|
38384
|
+
}>>;
|
|
38385
|
+
export type QuoteQueryHookResult = ReturnType<typeof useQuoteQuery>;
|
|
38386
|
+
export type QuoteLazyQueryHookResult = ReturnType<typeof useQuoteLazyQuery>;
|
|
38387
|
+
export type QuoteSuspenseQueryHookResult = ReturnType<typeof useQuoteSuspenseQuery>;
|
|
38388
|
+
export type QuoteQueryResult = Apollo.QueryResult<QuoteQuery, QuoteQueryVariables>;
|
|
38389
|
+
export declare const QuoteFilterOptionsDocument: Apollo.DocumentNode;
|
|
38390
|
+
/**
|
|
38391
|
+
* __useQuoteFilterOptionsQuery__
|
|
38392
|
+
*
|
|
38393
|
+
* To run a query within a React component, call `useQuoteFilterOptionsQuery` and pass it any options that fit your needs.
|
|
38394
|
+
* When your component renders, `useQuoteFilterOptionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
38395
|
+
* you can use to render your UI.
|
|
38396
|
+
*
|
|
38397
|
+
* @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;
|
|
38398
|
+
*
|
|
38399
|
+
* @example
|
|
38400
|
+
* const { data, loading, error } = useQuoteFilterOptionsQuery({
|
|
38401
|
+
* variables: {
|
|
38402
|
+
* },
|
|
38403
|
+
* });
|
|
38404
|
+
*/
|
|
38405
|
+
export declare function useQuoteFilterOptionsQuery(baseOptions?: Apollo.QueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.QueryResult<QuoteFilterOptionsQuery, Exact<{
|
|
38406
|
+
[key: string]: never;
|
|
38407
|
+
}>>;
|
|
38408
|
+
export declare function useQuoteFilterOptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.LazyQueryResultTuple<QuoteFilterOptionsQuery, Exact<{
|
|
38409
|
+
[key: string]: never;
|
|
38410
|
+
}>>;
|
|
38411
|
+
export declare function useQuoteFilterOptionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.UseSuspenseQueryResult<QuoteFilterOptionsQuery | undefined, Exact<{
|
|
38412
|
+
[key: string]: never;
|
|
38413
|
+
}>>;
|
|
38414
|
+
export type QuoteFilterOptionsQueryHookResult = ReturnType<typeof useQuoteFilterOptionsQuery>;
|
|
38415
|
+
export type QuoteFilterOptionsLazyQueryHookResult = ReturnType<typeof useQuoteFilterOptionsLazyQuery>;
|
|
38416
|
+
export type QuoteFilterOptionsSuspenseQueryHookResult = ReturnType<typeof useQuoteFilterOptionsSuspenseQuery>;
|
|
38417
|
+
export type QuoteFilterOptionsQueryResult = Apollo.QueryResult<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>;
|
|
38418
|
+
export declare const QuotePerformanceDocument: Apollo.DocumentNode;
|
|
38419
|
+
/**
|
|
38420
|
+
* __useQuotePerformanceQuery__
|
|
38421
|
+
*
|
|
38422
|
+
* To run a query within a React component, call `useQuotePerformanceQuery` and pass it any options that fit your needs.
|
|
38423
|
+
* When your component renders, `useQuotePerformanceQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
38424
|
+
* you can use to render your UI.
|
|
38425
|
+
*
|
|
38426
|
+
* @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;
|
|
38427
|
+
*
|
|
38428
|
+
* @example
|
|
38429
|
+
* const { data, loading, error } = useQuotePerformanceQuery({
|
|
38430
|
+
* variables: {
|
|
38431
|
+
* dateFrom: // value for 'dateFrom'
|
|
38432
|
+
* dateTo: // value for 'dateTo'
|
|
38433
|
+
* companyIds: // value for 'companyIds'
|
|
38434
|
+
* regions: // value for 'regions'
|
|
38435
|
+
* states: // value for 'states'
|
|
38436
|
+
* industryIds: // value for 'industryIds'
|
|
38437
|
+
* salespersonIds: // value for 'salespersonIds'
|
|
38438
|
+
* },
|
|
38439
|
+
* });
|
|
38440
|
+
*/
|
|
38441
|
+
export declare function useQuotePerformanceQuery(baseOptions?: Apollo.QueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.QueryResult<QuotePerformanceQuery, Exact<{
|
|
38442
|
+
dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38443
|
+
dateTo?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38444
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38445
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38446
|
+
states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38447
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38448
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38449
|
+
}>>;
|
|
38450
|
+
export declare function useQuotePerformanceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.LazyQueryResultTuple<QuotePerformanceQuery, Exact<{
|
|
38451
|
+
dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38452
|
+
dateTo?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38453
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38454
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38455
|
+
states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38456
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38457
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38458
|
+
}>>;
|
|
38459
|
+
export declare function useQuotePerformanceSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.UseSuspenseQueryResult<QuotePerformanceQuery | undefined, Exact<{
|
|
38460
|
+
dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38461
|
+
dateTo?: InputMaybe<Scalars["Date"]["input"]>;
|
|
38462
|
+
companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38463
|
+
regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38464
|
+
states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
38465
|
+
industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38466
|
+
salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
38467
|
+
}>>;
|
|
38468
|
+
export type QuotePerformanceQueryHookResult = ReturnType<typeof useQuotePerformanceQuery>;
|
|
38469
|
+
export type QuotePerformanceLazyQueryHookResult = ReturnType<typeof useQuotePerformanceLazyQuery>;
|
|
38470
|
+
export type QuotePerformanceSuspenseQueryHookResult = ReturnType<typeof useQuotePerformanceSuspenseQuery>;
|
|
38471
|
+
export type QuotePerformanceQueryResult = Apollo.QueryResult<QuotePerformanceQuery, QuotePerformanceQueryVariables>;
|
|
38472
|
+
export declare const QuotesDocument: Apollo.DocumentNode;
|
|
38473
|
+
/**
|
|
38474
|
+
* __useQuotesQuery__
|
|
38475
|
+
*
|
|
38476
|
+
* To run a query within a React component, call `useQuotesQuery` and pass it any options that fit your needs.
|
|
38477
|
+
* When your component renders, `useQuotesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
38478
|
+
* you can use to render your UI.
|
|
38479
|
+
*
|
|
38480
|
+
* @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;
|
|
38481
|
+
*
|
|
38482
|
+
* @example
|
|
38483
|
+
* const { data, loading, error } = useQuotesQuery({
|
|
38484
|
+
* variables: {
|
|
38485
|
+
* filters: // value for 'filters'
|
|
38486
|
+
* pagination: // value for 'pagination'
|
|
38487
|
+
* sort: // value for 'sort'
|
|
38488
|
+
* },
|
|
38489
|
+
* });
|
|
38490
|
+
*/
|
|
38491
|
+
export declare function useQuotesQuery(baseOptions?: Apollo.QueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.QueryResult<QuotesQuery, Exact<{
|
|
38492
|
+
filters?: InputMaybe<QuoteFilterInput>;
|
|
38493
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
38494
|
+
sort?: InputMaybe<QuoteSortInput>;
|
|
38495
|
+
}>>;
|
|
38496
|
+
export declare function useQuotesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.LazyQueryResultTuple<QuotesQuery, Exact<{
|
|
38497
|
+
filters?: InputMaybe<QuoteFilterInput>;
|
|
38498
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
38499
|
+
sort?: InputMaybe<QuoteSortInput>;
|
|
38500
|
+
}>>;
|
|
38501
|
+
export declare function useQuotesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.UseSuspenseQueryResult<QuotesQuery | undefined, Exact<{
|
|
38502
|
+
filters?: InputMaybe<QuoteFilterInput>;
|
|
38503
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
38504
|
+
sort?: InputMaybe<QuoteSortInput>;
|
|
38505
|
+
}>>;
|
|
38506
|
+
export type QuotesQueryHookResult = ReturnType<typeof useQuotesQuery>;
|
|
38507
|
+
export type QuotesLazyQueryHookResult = ReturnType<typeof useQuotesLazyQuery>;
|
|
38508
|
+
export type QuotesSuspenseQueryHookResult = ReturnType<typeof useQuotesSuspenseQuery>;
|
|
38509
|
+
export type QuotesQueryResult = Apollo.QueryResult<QuotesQuery, QuotesQueryVariables>;
|
|
37034
38510
|
export declare const RecentHistoryDocument: Apollo.DocumentNode;
|
|
37035
38511
|
/**
|
|
37036
38512
|
* __useRecentHistoryQuery__
|