cf-service-sdk 0.1.45 → 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.
@@ -1546,6 +1546,8 @@ export type CompanyObject = {
1546
1546
  facebookUrl?: Maybe<Scalars['String']['output']>;
1547
1547
  /** OpenSearch relevance score for the current search query */
1548
1548
  filterMatchScore?: Maybe<Scalars['Float']['output']>;
1549
+ /** True iff at least one contact under this company has been explicitly saved to the user's CRM */
1550
+ hasSavedContacts?: Maybe<Scalars['Boolean']['output']>;
1549
1551
  id?: Maybe<Scalars['ID']['output']>;
1550
1552
  /** List of industries with match scores */
1551
1553
  industries?: Maybe<Array<Maybe<CompanyIndustryObject>>>;
@@ -1835,6 +1837,8 @@ export type ContactObject = {
1835
1837
  isPrimary?: Maybe<Scalars['Boolean']['output']>;
1836
1838
  /** Indicates if the contact is a prospect for the current user/account */
1837
1839
  isProspect?: Maybe<Scalars['Boolean']['output']>;
1840
+ /** Indicates if this specific contact has been duplicated into the current user account CRM */
1841
+ isSavedToCrm?: Maybe<Scalars['Boolean']['output']>;
1838
1842
  /** Timestamp of the last contact interaction */
1839
1843
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
1840
1844
  /** User who performed the last contact action */
@@ -1960,6 +1964,21 @@ export type CreateNotificationInput = {
1960
1964
  title: Scalars['String']['input'];
1961
1965
  userId: Scalars['ID']['input'];
1962
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
+ };
1963
1982
  /** Mutation to create a new sales goal */
1964
1983
  export type CreateSalesGoal = {
1965
1984
  __typename?: 'CreateSalesGoal';
@@ -2180,6 +2199,11 @@ export type DeleteNotification = {
2180
2199
  message?: Maybe<Scalars['String']['output']>;
2181
2200
  success?: Maybe<Scalars['Boolean']['output']>;
2182
2201
  };
2202
+ export type DeleteQuote = {
2203
+ __typename?: 'DeleteQuote';
2204
+ message?: Maybe<Scalars['String']['output']>;
2205
+ success?: Maybe<Scalars['Boolean']['output']>;
2206
+ };
2183
2207
  /** Mutation to delete a sales goal */
2184
2208
  export type DeleteSalesGoal = {
2185
2209
  __typename?: 'DeleteSalesGoal';
@@ -2819,6 +2843,7 @@ export type Mutation = {
2819
2843
  createMysupplier?: Maybe<Procurement_MySupplierType>;
2820
2844
  /** Create a new notification for a user */
2821
2845
  createNotification?: Maybe<CreateNotification>;
2846
+ createQuote?: Maybe<CreateQuote>;
2822
2847
  createRfq?: Maybe<Procurement_RfqType>;
2823
2848
  createRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
2824
2849
  /** Mutation to create a new sales goal */
@@ -2848,6 +2873,7 @@ export type Mutation = {
2848
2873
  deleteMysupplier?: Maybe<DeleteMutation>;
2849
2874
  /** Delete a notification */
2850
2875
  deleteNotification?: Maybe<DeleteNotification>;
2876
+ deleteQuote?: Maybe<DeleteQuote>;
2851
2877
  deleteRfq?: Maybe<DeleteMutation>;
2852
2878
  deleteRfqlineitem?: Maybe<DeleteMutation>;
2853
2879
  /** Mutation to delete a sales goal */
@@ -3013,6 +3039,9 @@ export type Mutation = {
3013
3039
  /** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
3014
3040
  updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
3015
3041
  updateMysupplier?: Maybe<Procurement_MySupplierType>;
3042
+ updateQuote?: Maybe<UpdateQuote>;
3043
+ /** Lightweight mutation for kanban drag-and-drop. */
3044
+ updateQuoteStatus?: Maybe<UpdateQuoteStatus>;
3016
3045
  updateRfq?: Maybe<Procurement_RfqType>;
3017
3046
  updateRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
3018
3047
  /** Mutation to update an existing sales goal */
@@ -3166,6 +3195,10 @@ export type MutationCreateNotificationArgs = {
3166
3195
  input: CreateNotificationInput;
3167
3196
  };
3168
3197
  /** Mutations */
3198
+ export type MutationCreateQuoteArgs = {
3199
+ input: CreateQuoteInputType;
3200
+ };
3201
+ /** Mutations */
3169
3202
  export type MutationCreateRfqArgs = {
3170
3203
  input: RfqInput;
3171
3204
  };
@@ -3240,6 +3273,10 @@ export type MutationDeleteNotificationArgs = {
3240
3273
  notificationId: Scalars['ID']['input'];
3241
3274
  };
3242
3275
  /** Mutations */
3276
+ export type MutationDeleteQuoteArgs = {
3277
+ id: Scalars['ID']['input'];
3278
+ };
3279
+ /** Mutations */
3243
3280
  export type MutationDeleteRfqArgs = {
3244
3281
  id: Scalars['ID']['input'];
3245
3282
  };
@@ -3603,6 +3640,15 @@ export type MutationUpdateMysupplierArgs = {
3603
3640
  input: MySupplierInput;
3604
3641
  };
3605
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 */
3606
3652
  export type MutationUpdateRfqArgs = {
3607
3653
  id: Scalars['ID']['input'];
3608
3654
  input: RfqInput;
@@ -3820,6 +3866,12 @@ export type PaginatedProcurement_SupplierListResponse = {
3820
3866
  /** List of results */
3821
3867
  results: Array<Maybe<Procurement_SupplierListType>>;
3822
3868
  };
3869
+ export type PaginatedQuoteList = {
3870
+ __typename?: 'PaginatedQuoteList';
3871
+ items: Array<QuoteObject>;
3872
+ pagination: PaginationInfo;
3873
+ totalValue: Scalars['Decimal']['output'];
3874
+ };
3823
3875
  /** Paginated list of recent history items */
3824
3876
  export type PaginatedRecentHistoryList = {
3825
3877
  __typename?: 'PaginatedRecentHistoryList';
@@ -3873,11 +3925,11 @@ export type PaginationInfo = {
3873
3925
  /** Total number of pages */
3874
3926
  totalPages?: Maybe<Scalars['Int']['output']>;
3875
3927
  };
3876
- /** Standard pagination input for all list queries */
3928
+ /** Input type for pagination parameters */
3877
3929
  export type PaginationInput = {
3878
3930
  /** Page number (1-based) */
3879
3931
  page?: InputMaybe<Scalars['Int']['input']>;
3880
- /** Number of items per page */
3932
+ /** Number of items per page (max 200) */
3881
3933
  pageSize?: InputMaybe<Scalars['Int']['input']>;
3882
3934
  };
3883
3935
  export type PauseCampaign = {
@@ -4244,6 +4296,8 @@ export type Query = {
4244
4296
  companyAudiencesAndCampaigns?: Maybe<CompanyAudiencesAndCampaignsObject>;
4245
4297
  companyExternalIdentifier?: Maybe<ExternalIdentifierType>;
4246
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>;
4247
4301
  companyNote?: Maybe<CompanyNoteObject>;
4248
4302
  companyNotes?: Maybe<PaginatedCompanyNoteList>;
4249
4303
  companySearch?: Maybe<PaginatedCompanyList>;
@@ -4299,6 +4353,10 @@ export type Query = {
4299
4353
  pendingInvitations?: Maybe<Array<Maybe<AccountInvitationType>>>;
4300
4354
  productCategories?: Maybe<Array<Maybe<ProductCategoryObject>>>;
4301
4355
  productTypes?: Maybe<Array<Maybe<ProductTypeObject>>>;
4356
+ quote?: Maybe<QuoteObject>;
4357
+ quoteFilterOptions?: Maybe<QuoteFilterOptions>;
4358
+ quotePerformance?: Maybe<QuotePerformanceObject>;
4359
+ quotes?: Maybe<PaginatedQuoteList>;
4302
4360
  /** Get recent history of all activities */
4303
4361
  recentHistory?: Maybe<PaginatedRecentHistoryList>;
4304
4362
  /** Get recent notifications from the last 7 days */
@@ -4505,6 +4563,11 @@ export type QueryCompanyMetadataArgs = {
4505
4563
  companyId: Scalars['ID']['input'];
4506
4564
  };
4507
4565
  /** Query */
4566
+ export type QueryCompanyNameSearchArgs = {
4567
+ pagination?: InputMaybe<PaginationInput>;
4568
+ search?: InputMaybe<Scalars['String']['input']>;
4569
+ };
4570
+ /** Query */
4508
4571
  export type QueryCompanyNoteArgs = {
4509
4572
  id: Scalars['ID']['input'];
4510
4573
  };
@@ -4639,6 +4702,26 @@ export type QueryProductTypesArgs = {
4639
4702
  name?: InputMaybe<Scalars['String']['input']>;
4640
4703
  };
4641
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 */
4642
4725
  export type QueryRecentHistoryArgs = {
4643
4726
  filter?: InputMaybe<RecentHistoryFilterInput>;
4644
4727
  pagination?: InputMaybe<PaginationInput>;
@@ -4756,6 +4839,117 @@ export type QueryTasksArgs = {
4756
4839
  sortBy?: InputMaybe<Scalars['String']['input']>;
4757
4840
  sortDirection?: InputMaybe<Scalars['String']['input']>;
4758
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
+ };
4759
4953
  /** Simplified supplier object for RFQ filter dropdown */
4760
4954
  export type RfqSupplierObject = {
4761
4955
  __typename?: 'RFQSupplierObject';
@@ -5112,6 +5306,7 @@ export type SaveAutomatedProspectingConfig = {
5112
5306
  };
5113
5307
  export type SaveContactsToCrm = {
5114
5308
  __typename?: 'SaveContactsToCrm';
5309
+ contacts?: Maybe<Array<Maybe<ContactObject>>>;
5115
5310
  error?: Maybe<Scalars['String']['output']>;
5116
5311
  savedCompanyIds?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
5117
5312
  success?: Maybe<Scalars['Boolean']['output']>;
@@ -5852,6 +6047,28 @@ export type UpdateEmailTemplate = {
5852
6047
  message?: Maybe<Scalars['String']['output']>;
5853
6048
  success?: Maybe<Scalars['Boolean']['output']>;
5854
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
+ };
5855
6072
  /** Mutation to update an existing sales goal */
5856
6073
  export type UpdateSalesGoal = {
5857
6074
  __typename?: 'UpdateSalesGoal';
@@ -6993,6 +7210,7 @@ export type CompleteRfqMutation = {
6993
7210
  companyName?: string | null;
6994
7211
  companyId?: string | null;
6995
7212
  isProspect?: boolean | null;
7213
+ isSavedToCrm?: boolean | null;
6996
7214
  lastContactedBy?: {
6997
7215
  __typename?: 'UserType';
6998
7216
  id?: string | null;
@@ -7676,6 +7894,7 @@ export type CreateCompanyMutation = {
7676
7894
  averageScore?: number | null;
7677
7895
  ownedByUser?: boolean | null;
7678
7896
  isProspect?: boolean | null;
7897
+ hasSavedContacts?: boolean | null;
7679
7898
  purchaseMetalConfidence?: number | null;
7680
7899
  lastContactedAt?: any | null;
7681
7900
  status?: string | null;
@@ -7914,6 +8133,7 @@ export type CreateCompanyMutation = {
7914
8133
  companyName?: string | null;
7915
8134
  companyId?: string | null;
7916
8135
  isProspect?: boolean | null;
8136
+ isSavedToCrm?: boolean | null;
7917
8137
  lastContactedBy?: {
7918
8138
  __typename?: 'UserType';
7919
8139
  id?: string | null;
@@ -8535,6 +8755,7 @@ export type CreateContactMutation = {
8535
8755
  companyName?: string | null;
8536
8756
  companyId?: string | null;
8537
8757
  isProspect?: boolean | null;
8758
+ isSavedToCrm?: boolean | null;
8538
8759
  lastContactedBy?: {
8539
8760
  __typename?: 'UserType';
8540
8761
  id?: string | null;
@@ -8660,6 +8881,7 @@ export type CreateMysupplierMutation = {
8660
8881
  averageScore?: number | null;
8661
8882
  ownedByUser?: boolean | null;
8662
8883
  isProspect?: boolean | null;
8884
+ hasSavedContacts?: boolean | null;
8663
8885
  purchaseMetalConfidence?: number | null;
8664
8886
  lastContactedAt?: any | null;
8665
8887
  status?: string | null;
@@ -8898,6 +9120,7 @@ export type CreateMysupplierMutation = {
8898
9120
  companyName?: string | null;
8899
9121
  companyId?: string | null;
8900
9122
  isProspect?: boolean | null;
9123
+ isSavedToCrm?: boolean | null;
8901
9124
  lastContactedBy?: {
8902
9125
  __typename?: 'UserType';
8903
9126
  id?: string | null;
@@ -9337,6 +9560,40 @@ export type CreateNotificationMutation = {
9337
9560
  } | null;
9338
9561
  } | null;
9339
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
+ };
9340
9597
  export type CreateRfqMutationVariables = Exact<{
9341
9598
  input: RfqInput;
9342
9599
  }>;
@@ -9391,6 +9648,7 @@ export type CreateRfqMutation = {
9391
9648
  companyName?: string | null;
9392
9649
  companyId?: string | null;
9393
9650
  isProspect?: boolean | null;
9651
+ isSavedToCrm?: boolean | null;
9394
9652
  lastContactedBy?: {
9395
9653
  __typename?: 'UserType';
9396
9654
  id?: string | null;
@@ -9571,6 +9829,7 @@ export type CreateRfqlineitemMutation = {
9571
9829
  companyName?: string | null;
9572
9830
  companyId?: string | null;
9573
9831
  isProspect?: boolean | null;
9832
+ isSavedToCrm?: boolean | null;
9574
9833
  lastContactedBy?: {
9575
9834
  __typename?: 'UserType';
9576
9835
  id?: string | null;
@@ -9791,6 +10050,7 @@ export type CreateSupplierlistMutation = {
9791
10050
  averageScore?: number | null;
9792
10051
  ownedByUser?: boolean | null;
9793
10052
  isProspect?: boolean | null;
10053
+ hasSavedContacts?: boolean | null;
9794
10054
  purchaseMetalConfidence?: number | null;
9795
10055
  lastContactedAt?: any | null;
9796
10056
  status?: string | null;
@@ -10029,6 +10289,7 @@ export type CreateSupplierlistMutation = {
10029
10289
  companyName?: string | null;
10030
10290
  companyId?: string | null;
10031
10291
  isProspect?: boolean | null;
10292
+ isSavedToCrm?: boolean | null;
10032
10293
  lastContactedBy?: {
10033
10294
  __typename?: 'UserType';
10034
10295
  id?: string | null;
@@ -10730,6 +10991,17 @@ export type DeleteNotificationMutation = {
10730
10991
  message?: string | null;
10731
10992
  } | null;
10732
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
+ };
10733
11005
  export type DeleteRfqMutationVariables = Exact<{
10734
11006
  id: Scalars['ID']['input'];
10735
11007
  }>;
@@ -11910,6 +12182,87 @@ export type SaveContactsToCrmMutation = {
11910
12182
  savedCompanyIds?: Array<string | null> | null;
11911
12183
  warnings?: Array<string | null> | null;
11912
12184
  error?: string | null;
12185
+ contacts?: Array<{
12186
+ __typename?: 'ContactObject';
12187
+ id?: string | null;
12188
+ firstName?: string | null;
12189
+ lastName?: string | null;
12190
+ email?: string | null;
12191
+ workEmail?: string | null;
12192
+ workEmail2?: string | null;
12193
+ personalEmail?: string | null;
12194
+ personalEmail2?: string | null;
12195
+ phone?: string | null;
12196
+ phone2?: string | null;
12197
+ phone3?: string | null;
12198
+ title?: string | null;
12199
+ linkedinUrl?: string | null;
12200
+ isPrimary?: boolean | null;
12201
+ isCustomer?: boolean | null;
12202
+ notes?: string | null;
12203
+ lastContactedAt?: any | null;
12204
+ ownedByUser?: boolean | null;
12205
+ companyName?: string | null;
12206
+ companyId?: string | null;
12207
+ isProspect?: boolean | null;
12208
+ isSavedToCrm?: boolean | null;
12209
+ lastContactedBy?: {
12210
+ __typename?: 'UserType';
12211
+ id?: string | null;
12212
+ email?: string | null;
12213
+ firstName?: string | null;
12214
+ lastName?: string | null;
12215
+ picture?: string | null;
12216
+ } | null;
12217
+ lastContactedVia?: {
12218
+ __typename?: 'LastContactedViaType';
12219
+ actionType?: string | null;
12220
+ actionId?: string | null;
12221
+ campaignName?: string | null;
12222
+ campaignId?: string | null;
12223
+ callCampaignId?: string | null;
12224
+ combinedCampaignId?: string | null;
12225
+ stepType?: string | null;
12226
+ stepOrder?: number | null;
12227
+ noteType?: string | null;
12228
+ noteId?: string | null;
12229
+ } | null;
12230
+ contactLog?: Array<{
12231
+ __typename?: 'ContactLogObject';
12232
+ id?: string | null;
12233
+ sentAt?: any | null;
12234
+ openedAt?: any | null;
12235
+ clickedAt?: any | null;
12236
+ bouncedAt?: any | null;
12237
+ status?: string | null;
12238
+ } | null> | null;
12239
+ inSegments?: Array<{
12240
+ __typename?: 'SegmentIdObject';
12241
+ id?: string | null;
12242
+ name?: string | null;
12243
+ state?: string | null;
12244
+ industry?: string | null;
12245
+ } | null> | null;
12246
+ stats?: {
12247
+ __typename?: 'ContactStatsType';
12248
+ totalOpened?: number | null;
12249
+ totalReplied?: number | null;
12250
+ totalBounced?: number | null;
12251
+ } | null;
12252
+ companyOwners?: Array<{
12253
+ __typename?: 'CompanyOwnersObject';
12254
+ id?: string | null;
12255
+ isPrimary?: boolean | null;
12256
+ user?: {
12257
+ __typename?: 'UserType';
12258
+ id?: string | null;
12259
+ email?: string | null;
12260
+ firstName?: string | null;
12261
+ lastName?: string | null;
12262
+ picture?: string | null;
12263
+ } | null;
12264
+ } | null> | null;
12265
+ } | null> | null;
11913
12266
  } | null;
11914
12267
  };
11915
12268
  export type SaveNylasConnectionMutationVariables = Exact<{
@@ -12170,6 +12523,7 @@ export type ScheduleRfqMutation = {
12170
12523
  companyName?: string | null;
12171
12524
  companyId?: string | null;
12172
12525
  isProspect?: boolean | null;
12526
+ isSavedToCrm?: boolean | null;
12173
12527
  lastContactedBy?: {
12174
12528
  __typename?: 'UserType';
12175
12529
  id?: string | null;
@@ -12425,6 +12779,7 @@ export type SendEmailToContactMutation = {
12425
12779
  companyName?: string | null;
12426
12780
  companyId?: string | null;
12427
12781
  isProspect?: boolean | null;
12782
+ isSavedToCrm?: boolean | null;
12428
12783
  lastContactedBy?: {
12429
12784
  __typename?: 'UserType';
12430
12785
  id?: string | null;
@@ -12979,6 +13334,7 @@ export type SendManualEmailMutation = {
12979
13334
  companyName?: string | null;
12980
13335
  companyId?: string | null;
12981
13336
  isProspect?: boolean | null;
13337
+ isSavedToCrm?: boolean | null;
12982
13338
  lastContactedBy?: {
12983
13339
  __typename?: 'UserType';
12984
13340
  id?: string | null;
@@ -14277,6 +14633,7 @@ export type UpdateCompanyMutation = {
14277
14633
  averageScore?: number | null;
14278
14634
  ownedByUser?: boolean | null;
14279
14635
  isProspect?: boolean | null;
14636
+ hasSavedContacts?: boolean | null;
14280
14637
  purchaseMetalConfidence?: number | null;
14281
14638
  lastContactedAt?: any | null;
14282
14639
  status?: string | null;
@@ -14515,6 +14872,7 @@ export type UpdateCompanyMutation = {
14515
14872
  companyName?: string | null;
14516
14873
  companyId?: string | null;
14517
14874
  isProspect?: boolean | null;
14875
+ isSavedToCrm?: boolean | null;
14518
14876
  lastContactedBy?: {
14519
14877
  __typename?: 'UserType';
14520
14878
  id?: string | null;
@@ -15166,6 +15524,7 @@ export type UpdateContactMutation = {
15166
15524
  companyName?: string | null;
15167
15525
  companyId?: string | null;
15168
15526
  isProspect?: boolean | null;
15527
+ isSavedToCrm?: boolean | null;
15169
15528
  lastContactedBy?: {
15170
15529
  __typename?: 'UserType';
15171
15530
  id?: string | null;
@@ -15329,6 +15688,7 @@ export type UpdateMysupplierMutation = {
15329
15688
  averageScore?: number | null;
15330
15689
  ownedByUser?: boolean | null;
15331
15690
  isProspect?: boolean | null;
15691
+ hasSavedContacts?: boolean | null;
15332
15692
  purchaseMetalConfidence?: number | null;
15333
15693
  lastContactedAt?: any | null;
15334
15694
  status?: string | null;
@@ -15567,6 +15927,7 @@ export type UpdateMysupplierMutation = {
15567
15927
  companyName?: string | null;
15568
15928
  companyId?: string | null;
15569
15929
  isProspect?: boolean | null;
15930
+ isSavedToCrm?: boolean | null;
15570
15931
  lastContactedBy?: {
15571
15932
  __typename?: 'UserType';
15572
15933
  id?: string | null;
@@ -15981,6 +16342,75 @@ export type UpdateMysupplierMutation = {
15981
16342
  } | null;
15982
16343
  } | null;
15983
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
+ };
15984
16414
  export type UpdateRfqMutationVariables = Exact<{
15985
16415
  id: Scalars['ID']['input'];
15986
16416
  input: RfqInput;
@@ -16036,6 +16466,7 @@ export type UpdateRfqMutation = {
16036
16466
  companyName?: string | null;
16037
16467
  companyId?: string | null;
16038
16468
  isProspect?: boolean | null;
16469
+ isSavedToCrm?: boolean | null;
16039
16470
  lastContactedBy?: {
16040
16471
  __typename?: 'UserType';
16041
16472
  id?: string | null;
@@ -16217,6 +16648,7 @@ export type UpdateRfqlineitemMutation = {
16217
16648
  companyName?: string | null;
16218
16649
  companyId?: string | null;
16219
16650
  isProspect?: boolean | null;
16651
+ isSavedToCrm?: boolean | null;
16220
16652
  lastContactedBy?: {
16221
16653
  __typename?: 'UserType';
16222
16654
  id?: string | null;
@@ -16417,6 +16849,7 @@ export type UpdateSupplierlistMutation = {
16417
16849
  averageScore?: number | null;
16418
16850
  ownedByUser?: boolean | null;
16419
16851
  isProspect?: boolean | null;
16852
+ hasSavedContacts?: boolean | null;
16420
16853
  purchaseMetalConfidence?: number | null;
16421
16854
  lastContactedAt?: any | null;
16422
16855
  status?: string | null;
@@ -16655,6 +17088,7 @@ export type UpdateSupplierlistMutation = {
16655
17088
  companyName?: string | null;
16656
17089
  companyId?: string | null;
16657
17090
  isProspect?: boolean | null;
17091
+ isSavedToCrm?: boolean | null;
16658
17092
  lastContactedBy?: {
16659
17093
  __typename?: 'UserType';
16660
17094
  id?: string | null;
@@ -18917,6 +19351,7 @@ export type CampaignLogsQuery = {
18917
19351
  companyName?: string | null;
18918
19352
  companyId?: string | null;
18919
19353
  isProspect?: boolean | null;
19354
+ isSavedToCrm?: boolean | null;
18920
19355
  lastContactedBy?: {
18921
19356
  __typename?: 'UserType';
18922
19357
  id?: string | null;
@@ -19118,6 +19553,7 @@ export type CampaignLogsQuery = {
19118
19553
  companyName?: string | null;
19119
19554
  companyId?: string | null;
19120
19555
  isProspect?: boolean | null;
19556
+ isSavedToCrm?: boolean | null;
19121
19557
  lastContactedBy?: {
19122
19558
  __typename?: 'UserType';
19123
19559
  id?: string | null;
@@ -20347,6 +20783,7 @@ export type CompaniesQuery = {
20347
20783
  averageScore?: number | null;
20348
20784
  ownedByUser?: boolean | null;
20349
20785
  isProspect?: boolean | null;
20786
+ hasSavedContacts?: boolean | null;
20350
20787
  purchaseMetalConfidence?: number | null;
20351
20788
  lastContactedAt?: any | null;
20352
20789
  status?: string | null;
@@ -20585,6 +21022,7 @@ export type CompaniesQuery = {
20585
21022
  companyName?: string | null;
20586
21023
  companyId?: string | null;
20587
21024
  isProspect?: boolean | null;
21025
+ isSavedToCrm?: boolean | null;
20588
21026
  lastContactedBy?: {
20589
21027
  __typename?: 'UserType';
20590
21028
  id?: string | null;
@@ -21052,6 +21490,7 @@ export type CompanyQuery = {
21052
21490
  averageScore?: number | null;
21053
21491
  ownedByUser?: boolean | null;
21054
21492
  isProspect?: boolean | null;
21493
+ hasSavedContacts?: boolean | null;
21055
21494
  purchaseMetalConfidence?: number | null;
21056
21495
  lastContactedAt?: any | null;
21057
21496
  status?: string | null;
@@ -21290,6 +21729,7 @@ export type CompanyQuery = {
21290
21729
  companyName?: string | null;
21291
21730
  companyId?: string | null;
21292
21731
  isProspect?: boolean | null;
21732
+ isSavedToCrm?: boolean | null;
21293
21733
  lastContactedBy?: {
21294
21734
  __typename?: 'UserType';
21295
21735
  id?: string | null;
@@ -21764,84 +22204,62 @@ export type CompanyMetadataQuery = {
21764
22204
  __typename?: 'Query';
21765
22205
  companyMetadata?: any | null;
21766
22206
  };
21767
- export type CompanyNoteQueryVariables = Exact<{
21768
- id: Scalars['ID']['input'];
22207
+ export type CompanyNameSearchQueryVariables = Exact<{
22208
+ search?: InputMaybe<Scalars['String']['input']>;
22209
+ pagination?: InputMaybe<PaginationInput>;
21769
22210
  }>;
21770
- export type CompanyNoteQuery = {
22211
+ export type CompanyNameSearchQuery = {
21771
22212
  __typename?: 'Query';
21772
- companyNote?: {
21773
- __typename?: 'CompanyNoteObject';
21774
- id?: string | null;
21775
- accountId?: number | null;
21776
- contactPersonId?: number | null;
21777
- contactPersonName?: string | null;
21778
- date?: any | null;
21779
- noteType?: string | null;
21780
- duration?: string | null;
21781
- competitorsMentioned?: string | null;
21782
- notes?: string | null;
21783
- summary?: string | null;
21784
- setReminder?: boolean | null;
21785
- pinned?: boolean | null;
21786
- followUpDate?: any | null;
21787
- followUpAction?: string | null;
21788
- createdAt?: any | null;
21789
- updatedAt?: any | null;
21790
- companyId?: number | null;
21791
- companyName?: string | null;
21792
- userId?: number | null;
21793
- userFirstName?: string | null;
21794
- userLastName?: string | null;
21795
- callCampaignLogId?: number | null;
21796
- callCampaignName?: string | null;
21797
- callCampaignId?: number | null;
21798
- callCampaignLogOutcome?: string | null;
21799
- combinedCampaignLogId?: string | null;
21800
- combinedCampaignId?: string | null;
21801
- combinedCampaignName?: string | null;
21802
- combinedCampaignStepId?: string | null;
21803
- combinedCampaignStepOrder?: number | null;
21804
- lastUpdatedByName?: string | null;
21805
- tasks?: Array<{
21806
- __typename?: 'TaskObject';
21807
- id?: number | null;
21808
- title?: string | null;
21809
- category?: string | null;
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;
21810
22225
  description?: string | null;
21811
- dueDate?: any | null;
21812
- priority?: string | null;
21813
- reminderType?: 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;
21814
22250
  status?: string | null;
21815
- completedAt?: any | null;
21816
- createdAt?: any | null;
21817
- updatedAt?: any | null;
21818
- companyId?: number | null;
21819
- companyName?: string | null;
21820
- contactId?: number | null;
21821
- contactName?: string | null;
21822
- overdue?: boolean | null;
21823
- assignedTo?: {
21824
- __typename?: 'UserType';
21825
- id?: string | null;
21826
- email?: string | null;
21827
- firstName?: string | null;
21828
- lastName?: string | null;
21829
- picture?: string | null;
21830
- } | null;
21831
- callCampaign?: {
21832
- __typename?: 'CallCampaignObject';
22251
+ filterMatchScore?: number | null;
22252
+ tags?: Array<{
22253
+ __typename?: 'TagObject';
21833
22254
  id?: string | null;
21834
- createdAt?: any | null;
21835
- updatedAt?: any | null;
22255
+ pk?: string | null;
21836
22256
  name?: string | null;
21837
22257
  description?: string | null;
21838
- status?: string | null;
21839
- contacts?: number | null;
21840
- called?: number | null;
21841
- connected?: number | null;
21842
- lastActivity?: any | null;
21843
- script?: string | null;
21844
- callScriptTemplateId?: string | null;
22258
+ } | null> | null;
22259
+ owners?: Array<{
22260
+ __typename?: 'CompanyOwnersObject';
22261
+ id?: string | null;
22262
+ isPrimary?: boolean | null;
21845
22263
  user?: {
21846
22264
  __typename?: 'UserType';
21847
22265
  id?: string | null;
@@ -21850,155 +22268,887 @@ export type CompanyNoteQuery = {
21850
22268
  lastName?: string | null;
21851
22269
  picture?: string | null;
21852
22270
  } | null;
21853
- account?: {
21854
- __typename?: 'AccountType';
21855
- id?: string | null;
21856
- name?: string | null;
21857
- isActive?: boolean | null;
21858
- createdAt?: any | null;
21859
- updatedAt?: any | null;
21860
- } | null;
21861
- segments?: Array<{
21862
- __typename?: 'SegmentObject';
21863
- id?: string | null;
21864
- name?: string | null;
21865
- description?: string | null;
21866
- state?: string | null;
21867
- industry?: string | null;
21868
- metalType?: string | null;
21869
- productCategory?: string | null;
21870
- segmentType?: string | null;
21871
- createdAt?: any | null;
21872
- updatedAt?: any | null;
21873
- isSystemTemplate?: boolean | null;
21874
- totalContacts?: number | null;
21875
- status?: string | null;
21876
- createdBy?: string | null;
21877
- } | null> | null;
21878
- stats?: {
21879
- __typename?: 'CallCampaignStatsObject';
21880
- totalContacts?: number | null;
21881
- calledCount?: number | null;
21882
- connectedCount?: number | null;
21883
- remainingCount?: number | null;
21884
- lastActivity?: any | null;
21885
- statusCounts?: any | null;
21886
- } | null;
21887
- createdBy?: {
21888
- __typename?: 'UserType';
21889
- id?: string | null;
21890
- email?: string | null;
21891
- firstName?: string | null;
21892
- lastName?: string | null;
21893
- picture?: string | null;
21894
- } | null;
21895
- } | null;
21896
- callCampaignLog?: {
21897
- __typename?: 'CallCampaignLogObject';
22271
+ } | null> | null;
22272
+ statuses?: Array<{
22273
+ __typename?: 'CompanyStatusType';
21898
22274
  id?: string | null;
21899
22275
  status?: string | null;
21900
- outcome?: string | null;
21901
- lastCalled?: any | null;
21902
- notes?: string | null;
21903
- businessSize?: string | null;
21904
- businessRevenue?: string | null;
21905
- businessEmployees?: number | null;
21906
- businessLocation?: string | null;
21907
- businessIndustry?: string | null;
21908
- createdAt?: any | null;
22276
+ updatedBy?: string | null;
21909
22277
  updatedAt?: any | null;
21910
- metadata?: any | null;
21911
- productsOfInterest?: any | null;
21912
- businessOpportunities?: any | null;
21913
- currentSupplier?: string | null;
21914
- campaignId?: string | null;
21915
- campaignName?: string | null;
21916
- segmentId?: number | null;
21917
- segmentName?: string | null;
21918
- contactId?: number | null;
21919
- contactName?: string | null;
21920
- userId?: number | null;
21921
- userName?: string | null;
21922
- accountId?: number | null;
21923
- } | null;
21924
- createdBy?: {
21925
- __typename?: 'UserType';
22278
+ } | null> | null;
22279
+ locations?: Array<{
22280
+ __typename?: 'CompanyLocationType';
21926
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;
21927
22292
  email?: string | null;
21928
- firstName?: string | null;
21929
- lastName?: string | null;
21930
- picture?: string | null;
21931
- } | null;
21932
- } | null> | null;
21933
- } | null;
21934
- };
21935
- export type CompanyNotesQueryVariables = Exact<{
21936
- filters?: InputMaybe<CompanyNoteFilterInput>;
21937
- pagination?: InputMaybe<PaginationInput>;
21938
- sort?: InputMaybe<CompanyNoteSortInput>;
21939
- }>;
21940
- export type CompanyNotesQuery = {
21941
- __typename?: 'Query';
21942
- companyNotes?: {
21943
- __typename?: 'PaginatedCompanyNoteList';
21944
- items?: Array<{
21945
- __typename?: 'CompanyNoteObject';
21946
- id?: string | null;
21947
- accountId?: number | null;
21948
- contactPersonId?: number | null;
21949
- contactPersonName?: string | null;
21950
- date?: any | null;
21951
- noteType?: string | null;
21952
- duration?: string | null;
21953
- competitorsMentioned?: string | null;
21954
- notes?: string | null;
21955
- summary?: string | null;
21956
- setReminder?: boolean | null;
21957
- pinned?: boolean | null;
21958
- followUpDate?: any | null;
21959
- followUpAction?: string | null;
21960
- createdAt?: any | null;
21961
- updatedAt?: any | null;
21962
- companyId?: number | null;
21963
- companyName?: string | null;
21964
- userId?: number | null;
21965
- userFirstName?: string | null;
21966
- userLastName?: string | null;
21967
- callCampaignLogId?: number | null;
21968
- callCampaignName?: string | null;
21969
- callCampaignId?: number | null;
21970
- callCampaignLogOutcome?: string | null;
21971
- combinedCampaignLogId?: string | null;
21972
- combinedCampaignId?: string | null;
21973
- combinedCampaignName?: string | null;
21974
- combinedCampaignStepId?: string | null;
21975
- combinedCampaignStepOrder?: number | null;
21976
- lastUpdatedByName?: string | null;
21977
- tasks?: Array<{
21978
- __typename?: 'TaskObject';
21979
- id?: number | null;
21980
- title?: string | null;
21981
- category?: string | null;
21982
- description?: string | null;
21983
- dueDate?: any | null;
21984
- priority?: string | null;
21985
- reminderType?: string | null;
21986
- status?: string | null;
21987
- completedAt?: any | 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;
21988
22317
  createdAt?: any | null;
21989
22318
  updatedAt?: any | null;
21990
22319
  companyId?: number | null;
21991
22320
  companyName?: string | null;
21992
- contactId?: number | null;
21993
- contactName?: string | null;
21994
- overdue?: boolean | null;
21995
- assignedTo?: {
21996
- __typename?: 'UserType';
21997
- id?: string | null;
21998
- email?: string | null;
21999
- firstName?: string | null;
22000
- lastName?: string | null;
22001
- picture?: 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;
22002
23152
  } | null;
22003
23153
  callCampaign?: {
22004
23154
  __typename?: 'CallCampaignObject';
@@ -22157,6 +23307,7 @@ export type CompanySearchQuery = {
22157
23307
  averageScore?: number | null;
22158
23308
  ownedByUser?: boolean | null;
22159
23309
  isProspect?: boolean | null;
23310
+ hasSavedContacts?: boolean | null;
22160
23311
  purchaseMetalConfidence?: number | null;
22161
23312
  lastContactedAt?: any | null;
22162
23313
  status?: string | null;
@@ -22395,6 +23546,7 @@ export type CompanySearchQuery = {
22395
23546
  companyName?: string | null;
22396
23547
  companyId?: string | null;
22397
23548
  isProspect?: boolean | null;
23549
+ isSavedToCrm?: boolean | null;
22398
23550
  lastContactedBy?: {
22399
23551
  __typename?: 'UserType';
22400
23552
  id?: string | null;
@@ -22853,6 +24005,7 @@ export type ContactQuery = {
22853
24005
  companyName?: string | null;
22854
24006
  companyId?: string | null;
22855
24007
  isProspect?: boolean | null;
24008
+ isSavedToCrm?: boolean | null;
22856
24009
  lastContactedBy?: {
22857
24010
  __typename?: 'UserType';
22858
24011
  id?: string | null;
@@ -22939,6 +24092,7 @@ export type ContactsQuery = {
22939
24092
  companyName?: string | null;
22940
24093
  companyId?: string | null;
22941
24094
  isProspect?: boolean | null;
24095
+ isSavedToCrm?: boolean | null;
22942
24096
  lastContactedBy?: {
22943
24097
  __typename?: 'UserType';
22944
24098
  id?: string | null;
@@ -23028,6 +24182,7 @@ export type ContactsInSegmentQuery = {
23028
24182
  companyName?: string | null;
23029
24183
  companyId?: string | null;
23030
24184
  isProspect?: boolean | null;
24185
+ isSavedToCrm?: boolean | null;
23031
24186
  lastContactedBy?: {
23032
24187
  __typename?: 'UserType';
23033
24188
  id?: string | null;
@@ -23683,6 +24838,7 @@ export type MysupplierQuery = {
23683
24838
  averageScore?: number | null;
23684
24839
  ownedByUser?: boolean | null;
23685
24840
  isProspect?: boolean | null;
24841
+ hasSavedContacts?: boolean | null;
23686
24842
  purchaseMetalConfidence?: number | null;
23687
24843
  lastContactedAt?: any | null;
23688
24844
  status?: string | null;
@@ -23921,6 +25077,7 @@ export type MysupplierQuery = {
23921
25077
  companyName?: string | null;
23922
25078
  companyId?: string | null;
23923
25079
  isProspect?: boolean | null;
25080
+ isSavedToCrm?: boolean | null;
23924
25081
  lastContactedBy?: {
23925
25082
  __typename?: 'UserType';
23926
25083
  id?: string | null;
@@ -24380,6 +25537,7 @@ export type MysupplierListQuery = {
24380
25537
  averageScore?: number | null;
24381
25538
  ownedByUser?: boolean | null;
24382
25539
  isProspect?: boolean | null;
25540
+ hasSavedContacts?: boolean | null;
24383
25541
  purchaseMetalConfidence?: number | null;
24384
25542
  lastContactedAt?: any | null;
24385
25543
  status?: string | null;
@@ -24618,6 +25776,7 @@ export type MysupplierListQuery = {
24618
25776
  companyName?: string | null;
24619
25777
  companyId?: string | null;
24620
25778
  isProspect?: boolean | null;
25779
+ isSavedToCrm?: boolean | null;
24621
25780
  lastContactedBy?: {
24622
25781
  __typename?: 'UserType';
24623
25782
  id?: string | null;
@@ -25170,6 +26329,154 @@ export type ProductTypesQuery = {
25170
26329
  } | null> | null;
25171
26330
  } | null> | null;
25172
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
+ };
25173
26480
  export type RecentHistoryQueryVariables = Exact<{
25174
26481
  filter?: InputMaybe<RecentHistoryFilterInput>;
25175
26482
  sort?: InputMaybe<RecentHistorySortInput>;
@@ -25222,6 +26529,7 @@ export type RecentHistoryQuery = {
25222
26529
  companyName?: string | null;
25223
26530
  companyId?: string | null;
25224
26531
  isProspect?: boolean | null;
26532
+ isSavedToCrm?: boolean | null;
25225
26533
  lastContactedBy?: {
25226
26534
  __typename?: 'UserType';
25227
26535
  id?: string | null;
@@ -25311,6 +26619,7 @@ export type RecentHistoryQuery = {
25311
26619
  averageScore?: number | null;
25312
26620
  ownedByUser?: boolean | null;
25313
26621
  isProspect?: boolean | null;
26622
+ hasSavedContacts?: boolean | null;
25314
26623
  purchaseMetalConfidence?: number | null;
25315
26624
  lastContactedAt?: any | null;
25316
26625
  status?: string | null;
@@ -25549,6 +26858,7 @@ export type RecentHistoryQuery = {
25549
26858
  companyName?: string | null;
25550
26859
  companyId?: string | null;
25551
26860
  isProspect?: boolean | null;
26861
+ isSavedToCrm?: boolean | null;
25552
26862
  lastContactedBy?: {
25553
26863
  __typename?: 'UserType';
25554
26864
  id?: string | null;
@@ -26053,6 +27363,7 @@ export type RfqQuery = {
26053
27363
  companyName?: string | null;
26054
27364
  companyId?: string | null;
26055
27365
  isProspect?: boolean | null;
27366
+ isSavedToCrm?: boolean | null;
26056
27367
  lastContactedBy?: {
26057
27368
  __typename?: 'UserType';
26058
27369
  id?: string | null;
@@ -26218,6 +27529,7 @@ export type RfqListQuery = {
26218
27529
  companyName?: string | null;
26219
27530
  companyId?: string | null;
26220
27531
  isProspect?: boolean | null;
27532
+ isSavedToCrm?: boolean | null;
26221
27533
  lastContactedBy?: {
26222
27534
  __typename?: 'UserType';
26223
27535
  id?: string | null;
@@ -26419,6 +27731,7 @@ export type RfqlineitemQuery = {
26419
27731
  companyName?: string | null;
26420
27732
  companyId?: string | null;
26421
27733
  isProspect?: boolean | null;
27734
+ isSavedToCrm?: boolean | null;
26422
27735
  lastContactedBy?: {
26423
27736
  __typename?: 'UserType';
26424
27737
  id?: string | null;
@@ -26584,6 +27897,7 @@ export type RfqlineitemListQuery = {
26584
27897
  companyName?: string | null;
26585
27898
  companyId?: string | null;
26586
27899
  isProspect?: boolean | null;
27900
+ isSavedToCrm?: boolean | null;
26587
27901
  lastContactedBy?: {
26588
27902
  __typename?: 'UserType';
26589
27903
  id?: string | null;
@@ -26856,6 +28170,7 @@ export type SearchContactsQuery = {
26856
28170
  companyName?: string | null;
26857
28171
  companyId?: string | null;
26858
28172
  isProspect?: boolean | null;
28173
+ isSavedToCrm?: boolean | null;
26859
28174
  lastContactedBy?: {
26860
28175
  __typename?: 'UserType';
26861
28176
  id?: string | null;
@@ -27116,6 +28431,7 @@ export type SupplierQuery = {
27116
28431
  companyName?: string | null;
27117
28432
  companyId?: string | null;
27118
28433
  isProspect?: boolean | null;
28434
+ isSavedToCrm?: boolean | null;
27119
28435
  lastContactedBy?: {
27120
28436
  __typename?: 'UserType';
27121
28437
  id?: string | null;
@@ -27221,6 +28537,7 @@ export type SupplierQuery = {
27221
28537
  averageScore?: number | null;
27222
28538
  ownedByUser?: boolean | null;
27223
28539
  isProspect?: boolean | null;
28540
+ hasSavedContacts?: boolean | null;
27224
28541
  purchaseMetalConfidence?: number | null;
27225
28542
  lastContactedAt?: any | null;
27226
28543
  status?: string | null;
@@ -27459,6 +28776,7 @@ export type SupplierQuery = {
27459
28776
  companyName?: string | null;
27460
28777
  companyId?: string | null;
27461
28778
  isProspect?: boolean | null;
28779
+ isSavedToCrm?: boolean | null;
27462
28780
  lastContactedBy?: {
27463
28781
  __typename?: 'UserType';
27464
28782
  id?: string | null;
@@ -27908,6 +29226,7 @@ export type SupplierListContactsQuery = {
27908
29226
  companyName?: string | null;
27909
29227
  companyId?: string | null;
27910
29228
  isProspect?: boolean | null;
29229
+ isSavedToCrm?: boolean | null;
27911
29230
  lastContactedBy?: {
27912
29231
  __typename?: 'UserType';
27913
29232
  id?: string | null;
@@ -28028,6 +29347,7 @@ export type SupplierlistQuery = {
28028
29347
  averageScore?: number | null;
28029
29348
  ownedByUser?: boolean | null;
28030
29349
  isProspect?: boolean | null;
29350
+ hasSavedContacts?: boolean | null;
28031
29351
  purchaseMetalConfidence?: number | null;
28032
29352
  lastContactedAt?: any | null;
28033
29353
  status?: string | null;
@@ -28266,6 +29586,7 @@ export type SupplierlistQuery = {
28266
29586
  companyName?: string | null;
28267
29587
  companyId?: string | null;
28268
29588
  isProspect?: boolean | null;
29589
+ isSavedToCrm?: boolean | null;
28269
29590
  lastContactedBy?: {
28270
29591
  __typename?: 'UserType';
28271
29592
  id?: string | null;
@@ -28725,6 +30046,7 @@ export type SupplierlistListQuery = {
28725
30046
  averageScore?: number | null;
28726
30047
  ownedByUser?: boolean | null;
28727
30048
  isProspect?: boolean | null;
30049
+ hasSavedContacts?: boolean | null;
28728
30050
  purchaseMetalConfidence?: number | null;
28729
30051
  lastContactedAt?: any | null;
28730
30052
  status?: string | null;
@@ -28963,6 +30285,7 @@ export type SupplierlistListQuery = {
28963
30285
  companyName?: string | null;
28964
30286
  companyId?: string | null;
28965
30287
  isProspect?: boolean | null;
30288
+ isSavedToCrm?: boolean | null;
28966
30289
  lastContactedBy?: {
28967
30290
  __typename?: 'UserType';
28968
30291
  id?: string | null;
@@ -29428,6 +30751,7 @@ export type SuppliersQuery = {
29428
30751
  companyName?: string | null;
29429
30752
  companyId?: string | null;
29430
30753
  isProspect?: boolean | null;
30754
+ isSavedToCrm?: boolean | null;
29431
30755
  lastContactedBy?: {
29432
30756
  __typename?: 'UserType';
29433
30757
  id?: string | null;
@@ -29533,6 +30857,7 @@ export type SuppliersQuery = {
29533
30857
  averageScore?: number | null;
29534
30858
  ownedByUser?: boolean | null;
29535
30859
  isProspect?: boolean | null;
30860
+ hasSavedContacts?: boolean | null;
29536
30861
  purchaseMetalConfidence?: number | null;
29537
30862
  lastContactedAt?: any | null;
29538
30863
  status?: string | null;
@@ -29771,6 +31096,7 @@ export type SuppliersQuery = {
29771
31096
  companyName?: string | null;
29772
31097
  companyId?: string | null;
29773
31098
  isProspect?: boolean | null;
31099
+ isSavedToCrm?: boolean | null;
29774
31100
  lastContactedBy?: {
29775
31101
  __typename?: 'UserType';
29776
31102
  id?: string | null;
@@ -31472,6 +32798,31 @@ export declare function useCreateNotificationMutation(baseOptions?: Apollo.Mutat
31472
32798
  export type CreateNotificationMutationHookResult = ReturnType<typeof useCreateNotificationMutation>;
31473
32799
  export type CreateNotificationMutationResult = Apollo.MutationResult<CreateNotificationMutation>;
31474
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>;
31475
32826
  export declare const CreateRfqDocument: Apollo.DocumentNode;
31476
32827
  export type CreateRfqMutationFn = Apollo.MutationFunction<CreateRfqMutation, CreateRfqMutationVariables>;
31477
32828
  /**
@@ -31926,6 +33277,31 @@ export declare function useDeleteNotificationMutation(baseOptions?: Apollo.Mutat
31926
33277
  export type DeleteNotificationMutationHookResult = ReturnType<typeof useDeleteNotificationMutation>;
31927
33278
  export type DeleteNotificationMutationResult = Apollo.MutationResult<DeleteNotificationMutation>;
31928
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>;
31929
33305
  export declare const DeleteRfqDocument: Apollo.DocumentNode;
31930
33306
  export type DeleteRfqMutationFn = Apollo.MutationFunction<DeleteRfqMutation, DeleteRfqMutationVariables>;
31931
33307
  /**
@@ -34040,6 +35416,58 @@ export declare function useUpdateMysupplierMutation(baseOptions?: Apollo.Mutatio
34040
35416
  export type UpdateMysupplierMutationHookResult = ReturnType<typeof useUpdateMysupplierMutation>;
34041
35417
  export type UpdateMysupplierMutationResult = Apollo.MutationResult<UpdateMysupplierMutation>;
34042
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>;
34043
35471
  export declare const UpdateRfqDocument: Apollo.DocumentNode;
34044
35472
  export type UpdateRfqMutationFn = Apollo.MutationFunction<UpdateRfqMutation, UpdateRfqMutationVariables>;
34045
35473
  /**
@@ -35625,6 +37053,40 @@ export type CompanyMetadataQueryHookResult = ReturnType<typeof useCompanyMetadat
35625
37053
  export type CompanyMetadataLazyQueryHookResult = ReturnType<typeof useCompanyMetadataLazyQuery>;
35626
37054
  export type CompanyMetadataSuspenseQueryHookResult = ReturnType<typeof useCompanyMetadataSuspenseQuery>;
35627
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>;
35628
37090
  export declare const CompanyNoteDocument: Apollo.DocumentNode;
35629
37091
  /**
35630
37092
  * __useCompanyNoteQuery__
@@ -36889,6 +38351,162 @@ export type ProductTypesQueryHookResult = ReturnType<typeof useProductTypesQuery
36889
38351
  export type ProductTypesLazyQueryHookResult = ReturnType<typeof useProductTypesLazyQuery>;
36890
38352
  export type ProductTypesSuspenseQueryHookResult = ReturnType<typeof useProductTypesSuspenseQuery>;
36891
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>;
36892
38510
  export declare const RecentHistoryDocument: Apollo.DocumentNode;
36893
38511
  /**
36894
38512
  * __useRecentHistoryQuery__