cf-service-sdk 0.1.46 → 0.1.48

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.
@@ -1964,6 +1964,21 @@ export type CreateNotificationInput = {
1964
1964
  title: Scalars['String']['input'];
1965
1965
  userId: Scalars['ID']['input'];
1966
1966
  };
1967
+ export type CreateQuote = {
1968
+ __typename?: 'CreateQuote';
1969
+ message?: Maybe<Scalars['String']['output']>;
1970
+ quote?: Maybe<QuoteObject>;
1971
+ success?: Maybe<Scalars['Boolean']['output']>;
1972
+ };
1973
+ export type CreateQuoteInputType = {
1974
+ companyId: Scalars['ID']['input'];
1975
+ contactId?: InputMaybe<Scalars['ID']['input']>;
1976
+ expirationDate?: InputMaybe<Scalars['Date']['input']>;
1977
+ notes?: InputMaybe<Scalars['String']['input']>;
1978
+ status?: InputMaybe<QuoteStatus>;
1979
+ title: Scalars['String']['input'];
1980
+ value: Scalars['Decimal']['input'];
1981
+ };
1967
1982
  /** Mutation to create a new sales goal */
1968
1983
  export type CreateSalesGoal = {
1969
1984
  __typename?: 'CreateSalesGoal';
@@ -2184,6 +2199,11 @@ export type DeleteNotification = {
2184
2199
  message?: Maybe<Scalars['String']['output']>;
2185
2200
  success?: Maybe<Scalars['Boolean']['output']>;
2186
2201
  };
2202
+ export type DeleteQuote = {
2203
+ __typename?: 'DeleteQuote';
2204
+ message?: Maybe<Scalars['String']['output']>;
2205
+ success?: Maybe<Scalars['Boolean']['output']>;
2206
+ };
2187
2207
  /** Mutation to delete a sales goal */
2188
2208
  export type DeleteSalesGoal = {
2189
2209
  __typename?: 'DeleteSalesGoal';
@@ -2533,13 +2553,13 @@ export type HideRecord = {
2533
2553
  message?: Maybe<Scalars['String']['output']>;
2534
2554
  success?: Maybe<Scalars['Boolean']['output']>;
2535
2555
  };
2536
- /** Industry sector with its details */
2537
2556
  export type IndustrySectorObject = {
2538
2557
  __typename?: 'IndustrySectorObject';
2539
- description: Scalars['String']['output'];
2540
- id: Scalars['ID']['output'];
2541
- name: Scalars['String']['output'];
2542
- orderBy: Scalars['Int']['output'];
2558
+ description?: Maybe<Scalars['String']['output']>;
2559
+ id?: Maybe<Scalars['ID']['output']>;
2560
+ name?: Maybe<Scalars['String']['output']>;
2561
+ orderBy?: Maybe<Scalars['Int']['output']>;
2562
+ pk?: Maybe<Scalars['ID']['output']>;
2543
2563
  };
2544
2564
  export type IndustryTypeObject = {
2545
2565
  __typename?: 'IndustryTypeObject';
@@ -2823,6 +2843,7 @@ export type Mutation = {
2823
2843
  createMysupplier?: Maybe<Procurement_MySupplierType>;
2824
2844
  /** Create a new notification for a user */
2825
2845
  createNotification?: Maybe<CreateNotification>;
2846
+ createQuote?: Maybe<CreateQuote>;
2826
2847
  createRfq?: Maybe<Procurement_RfqType>;
2827
2848
  createRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
2828
2849
  /** Mutation to create a new sales goal */
@@ -2852,6 +2873,7 @@ export type Mutation = {
2852
2873
  deleteMysupplier?: Maybe<DeleteMutation>;
2853
2874
  /** Delete a notification */
2854
2875
  deleteNotification?: Maybe<DeleteNotification>;
2876
+ deleteQuote?: Maybe<DeleteQuote>;
2855
2877
  deleteRfq?: Maybe<DeleteMutation>;
2856
2878
  deleteRfqlineitem?: Maybe<DeleteMutation>;
2857
2879
  /** Mutation to delete a sales goal */
@@ -3017,6 +3039,9 @@ export type Mutation = {
3017
3039
  /** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
3018
3040
  updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
3019
3041
  updateMysupplier?: Maybe<Procurement_MySupplierType>;
3042
+ updateQuote?: Maybe<UpdateQuote>;
3043
+ /** Lightweight mutation for kanban drag-and-drop. */
3044
+ updateQuoteStatus?: Maybe<UpdateQuoteStatus>;
3020
3045
  updateRfq?: Maybe<Procurement_RfqType>;
3021
3046
  updateRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
3022
3047
  /** Mutation to update an existing sales goal */
@@ -3170,6 +3195,10 @@ export type MutationCreateNotificationArgs = {
3170
3195
  input: CreateNotificationInput;
3171
3196
  };
3172
3197
  /** Mutations */
3198
+ export type MutationCreateQuoteArgs = {
3199
+ input: CreateQuoteInputType;
3200
+ };
3201
+ /** Mutations */
3173
3202
  export type MutationCreateRfqArgs = {
3174
3203
  input: RfqInput;
3175
3204
  };
@@ -3244,6 +3273,10 @@ export type MutationDeleteNotificationArgs = {
3244
3273
  notificationId: Scalars['ID']['input'];
3245
3274
  };
3246
3275
  /** Mutations */
3276
+ export type MutationDeleteQuoteArgs = {
3277
+ id: Scalars['ID']['input'];
3278
+ };
3279
+ /** Mutations */
3247
3280
  export type MutationDeleteRfqArgs = {
3248
3281
  id: Scalars['ID']['input'];
3249
3282
  };
@@ -3607,6 +3640,15 @@ export type MutationUpdateMysupplierArgs = {
3607
3640
  input: MySupplierInput;
3608
3641
  };
3609
3642
  /** Mutations */
3643
+ export type MutationUpdateQuoteArgs = {
3644
+ input: UpdateQuoteInputType;
3645
+ };
3646
+ /** Mutations */
3647
+ export type MutationUpdateQuoteStatusArgs = {
3648
+ id: Scalars['ID']['input'];
3649
+ status: QuoteStatus;
3650
+ };
3651
+ /** Mutations */
3610
3652
  export type MutationUpdateRfqArgs = {
3611
3653
  id: Scalars['ID']['input'];
3612
3654
  input: RfqInput;
@@ -3824,6 +3866,12 @@ export type PaginatedProcurement_SupplierListResponse = {
3824
3866
  /** List of results */
3825
3867
  results: Array<Maybe<Procurement_SupplierListType>>;
3826
3868
  };
3869
+ export type PaginatedQuoteList = {
3870
+ __typename?: 'PaginatedQuoteList';
3871
+ items: Array<QuoteObject>;
3872
+ pagination: PaginationInfo;
3873
+ totalValue: Scalars['Decimal']['output'];
3874
+ };
3827
3875
  /** Paginated list of recent history items */
3828
3876
  export type PaginatedRecentHistoryList = {
3829
3877
  __typename?: 'PaginatedRecentHistoryList';
@@ -3877,11 +3925,11 @@ export type PaginationInfo = {
3877
3925
  /** Total number of pages */
3878
3926
  totalPages?: Maybe<Scalars['Int']['output']>;
3879
3927
  };
3880
- /** Standard pagination input for all list queries */
3928
+ /** Input type for pagination parameters */
3881
3929
  export type PaginationInput = {
3882
3930
  /** Page number (1-based) */
3883
3931
  page?: InputMaybe<Scalars['Int']['input']>;
3884
- /** Number of items per page */
3932
+ /** Number of items per page (max 200) */
3885
3933
  pageSize?: InputMaybe<Scalars['Int']['input']>;
3886
3934
  };
3887
3935
  export type PauseCampaign = {
@@ -4248,6 +4296,8 @@ export type Query = {
4248
4296
  companyAudiencesAndCampaigns?: Maybe<CompanyAudiencesAndCampaignsObject>;
4249
4297
  companyExternalIdentifier?: Maybe<ExternalIdentifierType>;
4250
4298
  companyMetadata?: Maybe<Scalars['GenericScalar']['output']>;
4299
+ /** Lightweight company picker query: paginated, account-scoped, name-only filter. Use this for company-search popovers where OpenSearch / contacts / locations / scores aren't needed. */
4300
+ companyNameSearch?: Maybe<PaginatedCompanyList>;
4251
4301
  companyNote?: Maybe<CompanyNoteObject>;
4252
4302
  companyNotes?: Maybe<PaginatedCompanyNoteList>;
4253
4303
  companySearch?: Maybe<PaginatedCompanyList>;
@@ -4303,6 +4353,10 @@ export type Query = {
4303
4353
  pendingInvitations?: Maybe<Array<Maybe<AccountInvitationType>>>;
4304
4354
  productCategories?: Maybe<Array<Maybe<ProductCategoryObject>>>;
4305
4355
  productTypes?: Maybe<Array<Maybe<ProductTypeObject>>>;
4356
+ quote?: Maybe<QuoteObject>;
4357
+ quoteFilterOptions?: Maybe<QuoteFilterOptions>;
4358
+ quotePerformance?: Maybe<QuotePerformanceObject>;
4359
+ quotes?: Maybe<PaginatedQuoteList>;
4306
4360
  /** Get recent history of all activities */
4307
4361
  recentHistory?: Maybe<PaginatedRecentHistoryList>;
4308
4362
  /** Get recent notifications from the last 7 days */
@@ -4509,6 +4563,11 @@ export type QueryCompanyMetadataArgs = {
4509
4563
  companyId: Scalars['ID']['input'];
4510
4564
  };
4511
4565
  /** Query */
4566
+ export type QueryCompanyNameSearchArgs = {
4567
+ pagination?: InputMaybe<PaginationInput>;
4568
+ search?: InputMaybe<Scalars['String']['input']>;
4569
+ };
4570
+ /** Query */
4512
4571
  export type QueryCompanyNoteArgs = {
4513
4572
  id: Scalars['ID']['input'];
4514
4573
  };
@@ -4643,6 +4702,26 @@ export type QueryProductTypesArgs = {
4643
4702
  name?: InputMaybe<Scalars['String']['input']>;
4644
4703
  };
4645
4704
  /** Query */
4705
+ export type QueryQuoteArgs = {
4706
+ id: Scalars['ID']['input'];
4707
+ };
4708
+ /** Query */
4709
+ export type QueryQuotePerformanceArgs = {
4710
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4711
+ dateFrom?: InputMaybe<Scalars['Date']['input']>;
4712
+ dateTo?: InputMaybe<Scalars['Date']['input']>;
4713
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4714
+ regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4715
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4716
+ states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4717
+ };
4718
+ /** Query */
4719
+ export type QueryQuotesArgs = {
4720
+ filters?: InputMaybe<QuoteFilterInput>;
4721
+ pagination?: InputMaybe<PaginationInput>;
4722
+ sort?: InputMaybe<QuoteSortInput>;
4723
+ };
4724
+ /** Query */
4646
4725
  export type QueryRecentHistoryArgs = {
4647
4726
  filter?: InputMaybe<RecentHistoryFilterInput>;
4648
4727
  pagination?: InputMaybe<PaginationInput>;
@@ -4760,6 +4839,117 @@ export type QueryTasksArgs = {
4760
4839
  sortBy?: InputMaybe<Scalars['String']['input']>;
4761
4840
  sortDirection?: InputMaybe<Scalars['String']['input']>;
4762
4841
  };
4842
+ export type QuoteFilterInput = {
4843
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4844
+ dateFrom?: InputMaybe<Scalars['Date']['input']>;
4845
+ dateTo?: InputMaybe<Scalars['Date']['input']>;
4846
+ /** Filter by company industry */
4847
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4848
+ /** Filter by company location region */
4849
+ regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4850
+ /** Filter by quote.created_by */
4851
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
4852
+ /** Search by title, quote number, or company name */
4853
+ search?: InputMaybe<Scalars['String']['input']>;
4854
+ /** Filter by company location state */
4855
+ states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4856
+ statuses?: InputMaybe<Array<InputMaybe<QuoteStatus>>>;
4857
+ };
4858
+ /** An id-keyed filter option (industry, salesperson) with a label and count. */
4859
+ export type QuoteFilterOptionEntity = {
4860
+ __typename?: 'QuoteFilterOptionEntity';
4861
+ count: Scalars['Int']['output'];
4862
+ id: Scalars['ID']['output'];
4863
+ name: Scalars['String']['output'];
4864
+ };
4865
+ /** A string-keyed filter option (region, state) with a quote count. */
4866
+ export type QuoteFilterOptionString = {
4867
+ __typename?: 'QuoteFilterOptionString';
4868
+ count: Scalars['Int']['output'];
4869
+ value: Scalars['String']['output'];
4870
+ };
4871
+ /** Option lists powering the Quote Performance dashboard top-bar filters. */
4872
+ export type QuoteFilterOptions = {
4873
+ __typename?: 'QuoteFilterOptions';
4874
+ companies: Array<QuoteFilterOptionEntity>;
4875
+ industries: Array<QuoteFilterOptionEntity>;
4876
+ regions: Array<QuoteFilterOptionString>;
4877
+ salespeople: Array<QuoteFilterOptionEntity>;
4878
+ states: Array<QuoteFilterOptionString>;
4879
+ };
4880
+ export type QuoteObject = {
4881
+ __typename?: 'QuoteObject';
4882
+ companyId: Scalars['ID']['output'];
4883
+ companyName: Scalars['String']['output'];
4884
+ contactFirstName?: Maybe<Scalars['String']['output']>;
4885
+ contactFullName?: Maybe<Scalars['String']['output']>;
4886
+ contactId?: Maybe<Scalars['ID']['output']>;
4887
+ contactLastName?: Maybe<Scalars['String']['output']>;
4888
+ createdAt: Scalars['DateTime']['output'];
4889
+ createdById?: Maybe<Scalars['ID']['output']>;
4890
+ createdByName?: Maybe<Scalars['String']['output']>;
4891
+ expirationDate?: Maybe<Scalars['Date']['output']>;
4892
+ id: Scalars['ID']['output'];
4893
+ lastUpdatedByName?: Maybe<Scalars['String']['output']>;
4894
+ lostAt?: Maybe<Scalars['DateTime']['output']>;
4895
+ notes: Scalars['String']['output'];
4896
+ quoteNumber: Scalars['String']['output'];
4897
+ status: QuoteStatus;
4898
+ title: Scalars['String']['output'];
4899
+ updatedAt: Scalars['DateTime']['output'];
4900
+ value: Scalars['Decimal']['output'];
4901
+ wonAt?: Maybe<Scalars['DateTime']['output']>;
4902
+ };
4903
+ export type QuotePerformanceObject = {
4904
+ __typename?: 'QuotePerformanceObject';
4905
+ /** Null when there are no won quotes */
4906
+ avgDaysToWin?: Maybe<Scalars['Float']['output']>;
4907
+ avgQuoteSize: Scalars['Decimal']['output'];
4908
+ byStage: Array<QuoteStageBreakdown>;
4909
+ lostCount: Scalars['Int']['output'];
4910
+ lostRate: Scalars['Float']['output'];
4911
+ lostRevenue: Scalars['Decimal']['output'];
4912
+ openPipelineCount: Scalars['Int']['output'];
4913
+ openPipelineValue: Scalars['Decimal']['output'];
4914
+ quotesCreated: Scalars['Int']['output'];
4915
+ winRate: Scalars['Float']['output'];
4916
+ winRateTrend: Array<QuoteWinRateTrendPoint>;
4917
+ wonCount: Scalars['Int']['output'];
4918
+ wonRevenue: Scalars['Decimal']['output'];
4919
+ };
4920
+ export declare enum QuoteSortField {
4921
+ CreatedAt = "CREATED_AT",
4922
+ ExpirationDate = "EXPIRATION_DATE",
4923
+ Status = "STATUS",
4924
+ UpdatedAt = "UPDATED_AT",
4925
+ Value = "VALUE"
4926
+ }
4927
+ export type QuoteSortInput = {
4928
+ direction?: InputMaybe<SortDirection>;
4929
+ field?: InputMaybe<QuoteSortField>;
4930
+ };
4931
+ export type QuoteStageBreakdown = {
4932
+ __typename?: 'QuoteStageBreakdown';
4933
+ count: Scalars['Int']['output'];
4934
+ status: QuoteStatus;
4935
+ totalValue: Scalars['Decimal']['output'];
4936
+ };
4937
+ /** An enumeration. */
4938
+ export declare enum QuoteStatus {
4939
+ Draft = "DRAFT",
4940
+ Lost = "LOST",
4941
+ Negotiating = "NEGOTIATING",
4942
+ Sent = "SENT",
4943
+ Won = "WON"
4944
+ }
4945
+ export type QuoteWinRateTrendPoint = {
4946
+ __typename?: 'QuoteWinRateTrendPoint';
4947
+ /** First day of the bucket month */
4948
+ period: Scalars['Date']['output'];
4949
+ quotesCreated: Scalars['Int']['output'];
4950
+ /** Percent: 0.0 - 100.0 */
4951
+ winRate: Scalars['Float']['output'];
4952
+ };
4763
4953
  /** Simplified supplier object for RFQ filter dropdown */
4764
4954
  export type RfqSupplierObject = {
4765
4955
  __typename?: 'RFQSupplierObject';
@@ -5857,6 +6047,28 @@ export type UpdateEmailTemplate = {
5857
6047
  message?: Maybe<Scalars['String']['output']>;
5858
6048
  success?: Maybe<Scalars['Boolean']['output']>;
5859
6049
  };
6050
+ export type UpdateQuote = {
6051
+ __typename?: 'UpdateQuote';
6052
+ message?: Maybe<Scalars['String']['output']>;
6053
+ quote?: Maybe<QuoteObject>;
6054
+ success?: Maybe<Scalars['Boolean']['output']>;
6055
+ };
6056
+ export type UpdateQuoteInputType = {
6057
+ contactId?: InputMaybe<Scalars['ID']['input']>;
6058
+ expirationDate?: InputMaybe<Scalars['Date']['input']>;
6059
+ id: Scalars['ID']['input'];
6060
+ notes?: InputMaybe<Scalars['String']['input']>;
6061
+ status?: InputMaybe<QuoteStatus>;
6062
+ title?: InputMaybe<Scalars['String']['input']>;
6063
+ value?: InputMaybe<Scalars['Decimal']['input']>;
6064
+ };
6065
+ /** Lightweight mutation for kanban drag-and-drop. */
6066
+ export type UpdateQuoteStatus = {
6067
+ __typename?: 'UpdateQuoteStatus';
6068
+ message?: Maybe<Scalars['String']['output']>;
6069
+ quote?: Maybe<QuoteObject>;
6070
+ success?: Maybe<Scalars['Boolean']['output']>;
6071
+ };
5860
6072
  /** Mutation to update an existing sales goal */
5861
6073
  export type UpdateSalesGoal = {
5862
6074
  __typename?: 'UpdateSalesGoal';
@@ -8227,10 +8439,11 @@ export type CreateCompanyMutation = {
8227
8439
  description?: string | null;
8228
8440
  industrySector?: {
8229
8441
  __typename?: 'IndustrySectorObject';
8230
- id: string;
8231
- name: string;
8232
- description: string;
8233
- orderBy: number;
8442
+ id?: string | null;
8443
+ pk?: string | null;
8444
+ name?: string | null;
8445
+ description?: string | null;
8446
+ orderBy?: number | null;
8234
8447
  } | null;
8235
8448
  } | null;
8236
8449
  } | null> | null;
@@ -8263,10 +8476,11 @@ export type CreateCompanyMutation = {
8263
8476
  description?: string | null;
8264
8477
  industrySector?: {
8265
8478
  __typename?: 'IndustrySectorObject';
8266
- id: string;
8267
- name: string;
8268
- description: string;
8269
- orderBy: number;
8479
+ id?: string | null;
8480
+ pk?: string | null;
8481
+ name?: string | null;
8482
+ description?: string | null;
8483
+ orderBy?: number | null;
8270
8484
  } | null;
8271
8485
  } | null;
8272
8486
  industries?: Array<{
@@ -8282,10 +8496,11 @@ export type CreateCompanyMutation = {
8282
8496
  description?: string | null;
8283
8497
  industrySector?: {
8284
8498
  __typename?: 'IndustrySectorObject';
8285
- id: string;
8286
- name: string;
8287
- description: string;
8288
- orderBy: number;
8499
+ id?: string | null;
8500
+ pk?: string | null;
8501
+ name?: string | null;
8502
+ description?: string | null;
8503
+ orderBy?: number | null;
8289
8504
  } | null;
8290
8505
  } | null;
8291
8506
  } | null> | null;
@@ -9214,10 +9429,11 @@ export type CreateMysupplierMutation = {
9214
9429
  description?: string | null;
9215
9430
  industrySector?: {
9216
9431
  __typename?: 'IndustrySectorObject';
9217
- id: string;
9218
- name: string;
9219
- description: string;
9220
- orderBy: number;
9432
+ id?: string | null;
9433
+ pk?: string | null;
9434
+ name?: string | null;
9435
+ description?: string | null;
9436
+ orderBy?: number | null;
9221
9437
  } | null;
9222
9438
  } | null;
9223
9439
  } | null> | null;
@@ -9244,10 +9460,11 @@ export type CreateMysupplierMutation = {
9244
9460
  description?: string | null;
9245
9461
  industrySector?: {
9246
9462
  __typename?: 'IndustrySectorObject';
9247
- id: string;
9248
- name: string;
9249
- description: string;
9250
- orderBy: number;
9463
+ id?: string | null;
9464
+ pk?: string | null;
9465
+ name?: string | null;
9466
+ description?: string | null;
9467
+ orderBy?: number | null;
9251
9468
  } | null;
9252
9469
  } | null;
9253
9470
  industries?: Array<{
@@ -9263,10 +9480,11 @@ export type CreateMysupplierMutation = {
9263
9480
  description?: string | null;
9264
9481
  industrySector?: {
9265
9482
  __typename?: 'IndustrySectorObject';
9266
- id: string;
9267
- name: string;
9268
- description: string;
9269
- orderBy: number;
9483
+ id?: string | null;
9484
+ pk?: string | null;
9485
+ name?: string | null;
9486
+ description?: string | null;
9487
+ orderBy?: number | null;
9270
9488
  } | null;
9271
9489
  } | null;
9272
9490
  } | null> | null;
@@ -9348,6 +9566,40 @@ export type CreateNotificationMutation = {
9348
9566
  } | null;
9349
9567
  } | null;
9350
9568
  };
9569
+ export type CreateQuoteMutationVariables = Exact<{
9570
+ input: CreateQuoteInputType;
9571
+ }>;
9572
+ export type CreateQuoteMutation = {
9573
+ __typename?: 'Mutation';
9574
+ createQuote?: {
9575
+ __typename?: 'CreateQuote';
9576
+ success?: boolean | null;
9577
+ message?: string | null;
9578
+ quote?: {
9579
+ __typename?: 'QuoteObject';
9580
+ id: string;
9581
+ quoteNumber: string;
9582
+ title: string;
9583
+ value: any;
9584
+ status: QuoteStatus;
9585
+ expirationDate?: any | null;
9586
+ notes: string;
9587
+ companyId: string;
9588
+ companyName: string;
9589
+ contactId?: string | null;
9590
+ contactFirstName?: string | null;
9591
+ contactLastName?: string | null;
9592
+ contactFullName?: string | null;
9593
+ createdById?: string | null;
9594
+ createdByName?: string | null;
9595
+ lastUpdatedByName?: string | null;
9596
+ createdAt: any;
9597
+ updatedAt: any;
9598
+ wonAt?: any | null;
9599
+ lostAt?: any | null;
9600
+ } | null;
9601
+ } | null;
9602
+ };
9351
9603
  export type CreateRfqMutationVariables = Exact<{
9352
9604
  input: RfqInput;
9353
9605
  }>;
@@ -10349,10 +10601,11 @@ export type CreateSupplierlistMutation = {
10349
10601
  description?: string | null;
10350
10602
  industrySector?: {
10351
10603
  __typename?: 'IndustrySectorObject';
10352
- id: string;
10353
- name: string;
10354
- description: string;
10355
- orderBy: number;
10604
+ id?: string | null;
10605
+ pk?: string | null;
10606
+ name?: string | null;
10607
+ description?: string | null;
10608
+ orderBy?: number | null;
10356
10609
  } | null;
10357
10610
  } | null;
10358
10611
  } | null> | null;
@@ -10375,10 +10628,11 @@ export type CreateSupplierlistMutation = {
10375
10628
  description?: string | null;
10376
10629
  industrySector?: {
10377
10630
  __typename?: 'IndustrySectorObject';
10378
- id: string;
10379
- name: string;
10380
- description: string;
10381
- orderBy: number;
10631
+ id?: string | null;
10632
+ pk?: string | null;
10633
+ name?: string | null;
10634
+ description?: string | null;
10635
+ orderBy?: number | null;
10382
10636
  } | null;
10383
10637
  } | null;
10384
10638
  industries?: Array<{
@@ -10394,10 +10648,11 @@ export type CreateSupplierlistMutation = {
10394
10648
  description?: string | null;
10395
10649
  industrySector?: {
10396
10650
  __typename?: 'IndustrySectorObject';
10397
- id: string;
10398
- name: string;
10399
- description: string;
10400
- orderBy: number;
10651
+ id?: string | null;
10652
+ pk?: string | null;
10653
+ name?: string | null;
10654
+ description?: string | null;
10655
+ orderBy?: number | null;
10401
10656
  } | null;
10402
10657
  } | null;
10403
10658
  } | null> | null;
@@ -10745,6 +11000,17 @@ export type DeleteNotificationMutation = {
10745
11000
  message?: string | null;
10746
11001
  } | null;
10747
11002
  };
11003
+ export type DeleteQuoteMutationVariables = Exact<{
11004
+ id: Scalars['ID']['input'];
11005
+ }>;
11006
+ export type DeleteQuoteMutation = {
11007
+ __typename?: 'Mutation';
11008
+ deleteQuote?: {
11009
+ __typename?: 'DeleteQuote';
11010
+ success?: boolean | null;
11011
+ message?: string | null;
11012
+ } | null;
11013
+ };
10748
11014
  export type DeleteRfqMutationVariables = Exact<{
10749
11015
  id: Scalars['ID']['input'];
10750
11016
  }>;
@@ -14921,10 +15187,11 @@ export type UpdateCompanyMutation = {
14921
15187
  description?: string | null;
14922
15188
  industrySector?: {
14923
15189
  __typename?: 'IndustrySectorObject';
14924
- id: string;
14925
- name: string;
14926
- description: string;
14927
- orderBy: number;
15190
+ id?: string | null;
15191
+ pk?: string | null;
15192
+ name?: string | null;
15193
+ description?: string | null;
15194
+ orderBy?: number | null;
14928
15195
  } | null;
14929
15196
  } | null;
14930
15197
  } | null> | null;
@@ -14957,10 +15224,11 @@ export type UpdateCompanyMutation = {
14957
15224
  description?: string | null;
14958
15225
  industrySector?: {
14959
15226
  __typename?: 'IndustrySectorObject';
14960
- id: string;
14961
- name: string;
14962
- description: string;
14963
- orderBy: number;
15227
+ id?: string | null;
15228
+ pk?: string | null;
15229
+ name?: string | null;
15230
+ description?: string | null;
15231
+ orderBy?: number | null;
14964
15232
  } | null;
14965
15233
  } | null;
14966
15234
  industries?: Array<{
@@ -14976,10 +15244,11 @@ export type UpdateCompanyMutation = {
14976
15244
  description?: string | null;
14977
15245
  industrySector?: {
14978
15246
  __typename?: 'IndustrySectorObject';
14979
- id: string;
14980
- name: string;
14981
- description: string;
14982
- orderBy: number;
15247
+ id?: string | null;
15248
+ pk?: string | null;
15249
+ name?: string | null;
15250
+ description?: string | null;
15251
+ orderBy?: number | null;
14983
15252
  } | null;
14984
15253
  } | null;
14985
15254
  } | null> | null;
@@ -15976,10 +16245,11 @@ export type UpdateMysupplierMutation = {
15976
16245
  description?: string | null;
15977
16246
  industrySector?: {
15978
16247
  __typename?: 'IndustrySectorObject';
15979
- id: string;
15980
- name: string;
15981
- description: string;
15982
- orderBy: number;
16248
+ id?: string | null;
16249
+ pk?: string | null;
16250
+ name?: string | null;
16251
+ description?: string | null;
16252
+ orderBy?: number | null;
15983
16253
  } | null;
15984
16254
  } | null;
15985
16255
  } | null> | null;
@@ -16006,10 +16276,11 @@ export type UpdateMysupplierMutation = {
16006
16276
  description?: string | null;
16007
16277
  industrySector?: {
16008
16278
  __typename?: 'IndustrySectorObject';
16009
- id: string;
16010
- name: string;
16011
- description: string;
16012
- orderBy: number;
16279
+ id?: string | null;
16280
+ pk?: string | null;
16281
+ name?: string | null;
16282
+ description?: string | null;
16283
+ orderBy?: number | null;
16013
16284
  } | null;
16014
16285
  } | null;
16015
16286
  industries?: Array<{
@@ -16025,10 +16296,11 @@ export type UpdateMysupplierMutation = {
16025
16296
  description?: string | null;
16026
16297
  industrySector?: {
16027
16298
  __typename?: 'IndustrySectorObject';
16028
- id: string;
16029
- name: string;
16030
- description: string;
16031
- orderBy: number;
16299
+ id?: string | null;
16300
+ pk?: string | null;
16301
+ name?: string | null;
16302
+ description?: string | null;
16303
+ orderBy?: number | null;
16032
16304
  } | null;
16033
16305
  } | null;
16034
16306
  } | null> | null;
@@ -16085,6 +16357,75 @@ export type UpdateMysupplierMutation = {
16085
16357
  } | null;
16086
16358
  } | null;
16087
16359
  };
16360
+ export type UpdateQuoteMutationVariables = Exact<{
16361
+ input: UpdateQuoteInputType;
16362
+ }>;
16363
+ export type UpdateQuoteMutation = {
16364
+ __typename?: 'Mutation';
16365
+ updateQuote?: {
16366
+ __typename?: 'UpdateQuote';
16367
+ success?: boolean | null;
16368
+ message?: string | null;
16369
+ quote?: {
16370
+ __typename?: 'QuoteObject';
16371
+ id: string;
16372
+ quoteNumber: string;
16373
+ title: string;
16374
+ value: any;
16375
+ status: QuoteStatus;
16376
+ expirationDate?: any | null;
16377
+ notes: string;
16378
+ companyId: string;
16379
+ companyName: string;
16380
+ contactId?: string | null;
16381
+ contactFirstName?: string | null;
16382
+ contactLastName?: string | null;
16383
+ contactFullName?: string | null;
16384
+ createdById?: string | null;
16385
+ createdByName?: string | null;
16386
+ lastUpdatedByName?: string | null;
16387
+ createdAt: any;
16388
+ updatedAt: any;
16389
+ wonAt?: any | null;
16390
+ lostAt?: any | null;
16391
+ } | null;
16392
+ } | null;
16393
+ };
16394
+ export type UpdateQuoteStatusMutationVariables = Exact<{
16395
+ id: Scalars['ID']['input'];
16396
+ status: QuoteStatus;
16397
+ }>;
16398
+ export type UpdateQuoteStatusMutation = {
16399
+ __typename?: 'Mutation';
16400
+ updateQuoteStatus?: {
16401
+ __typename?: 'UpdateQuoteStatus';
16402
+ success?: boolean | null;
16403
+ message?: string | null;
16404
+ quote?: {
16405
+ __typename?: 'QuoteObject';
16406
+ id: string;
16407
+ quoteNumber: string;
16408
+ title: string;
16409
+ value: any;
16410
+ status: QuoteStatus;
16411
+ expirationDate?: any | null;
16412
+ notes: string;
16413
+ companyId: string;
16414
+ companyName: string;
16415
+ contactId?: string | null;
16416
+ contactFirstName?: string | null;
16417
+ contactLastName?: string | null;
16418
+ contactFullName?: string | null;
16419
+ createdById?: string | null;
16420
+ createdByName?: string | null;
16421
+ lastUpdatedByName?: string | null;
16422
+ createdAt: any;
16423
+ updatedAt: any;
16424
+ wonAt?: any | null;
16425
+ lostAt?: any | null;
16426
+ } | null;
16427
+ } | null;
16428
+ };
16088
16429
  export type UpdateRfqMutationVariables = Exact<{
16089
16430
  id: Scalars['ID']['input'];
16090
16431
  input: RfqInput;
@@ -17068,10 +17409,11 @@ export type UpdateSupplierlistMutation = {
17068
17409
  description?: string | null;
17069
17410
  industrySector?: {
17070
17411
  __typename?: 'IndustrySectorObject';
17071
- id: string;
17072
- name: string;
17073
- description: string;
17074
- orderBy: number;
17412
+ id?: string | null;
17413
+ pk?: string | null;
17414
+ name?: string | null;
17415
+ description?: string | null;
17416
+ orderBy?: number | null;
17075
17417
  } | null;
17076
17418
  } | null;
17077
17419
  } | null> | null;
@@ -17094,10 +17436,11 @@ export type UpdateSupplierlistMutation = {
17094
17436
  description?: string | null;
17095
17437
  industrySector?: {
17096
17438
  __typename?: 'IndustrySectorObject';
17097
- id: string;
17098
- name: string;
17099
- description: string;
17100
- orderBy: number;
17439
+ id?: string | null;
17440
+ pk?: string | null;
17441
+ name?: string | null;
17442
+ description?: string | null;
17443
+ orderBy?: number | null;
17101
17444
  } | null;
17102
17445
  } | null;
17103
17446
  industries?: Array<{
@@ -17113,10 +17456,11 @@ export type UpdateSupplierlistMutation = {
17113
17456
  description?: string | null;
17114
17457
  industrySector?: {
17115
17458
  __typename?: 'IndustrySectorObject';
17116
- id: string;
17117
- name: string;
17118
- description: string;
17119
- orderBy: number;
17459
+ id?: string | null;
17460
+ pk?: string | null;
17461
+ name?: string | null;
17462
+ description?: string | null;
17463
+ orderBy?: number | null;
17120
17464
  } | null;
17121
17465
  } | null;
17122
17466
  } | null> | null;
@@ -21002,10 +21346,11 @@ export type CompaniesQuery = {
21002
21346
  description?: string | null;
21003
21347
  industrySector?: {
21004
21348
  __typename?: 'IndustrySectorObject';
21005
- id: string;
21006
- name: string;
21007
- description: string;
21008
- orderBy: number;
21349
+ id?: string | null;
21350
+ pk?: string | null;
21351
+ name?: string | null;
21352
+ description?: string | null;
21353
+ orderBy?: number | null;
21009
21354
  } | null;
21010
21355
  } | null;
21011
21356
  } | null> | null;
@@ -21038,10 +21383,11 @@ export type CompaniesQuery = {
21038
21383
  description?: string | null;
21039
21384
  industrySector?: {
21040
21385
  __typename?: 'IndustrySectorObject';
21041
- id: string;
21042
- name: string;
21043
- description: string;
21044
- orderBy: number;
21386
+ id?: string | null;
21387
+ pk?: string | null;
21388
+ name?: string | null;
21389
+ description?: string | null;
21390
+ orderBy?: number | null;
21045
21391
  } | null;
21046
21392
  } | null;
21047
21393
  industries?: Array<{
@@ -21057,10 +21403,11 @@ export type CompaniesQuery = {
21057
21403
  description?: string | null;
21058
21404
  industrySector?: {
21059
21405
  __typename?: 'IndustrySectorObject';
21060
- id: string;
21061
- name: string;
21062
- description: string;
21063
- orderBy: number;
21406
+ id?: string | null;
21407
+ pk?: string | null;
21408
+ name?: string | null;
21409
+ description?: string | null;
21410
+ orderBy?: number | null;
21064
21411
  } | null;
21065
21412
  } | null;
21066
21413
  } | null> | null;
@@ -21709,10 +22056,11 @@ export type CompanyQuery = {
21709
22056
  description?: string | null;
21710
22057
  industrySector?: {
21711
22058
  __typename?: 'IndustrySectorObject';
21712
- id: string;
21713
- name: string;
21714
- description: string;
21715
- orderBy: number;
22059
+ id?: string | null;
22060
+ pk?: string | null;
22061
+ name?: string | null;
22062
+ description?: string | null;
22063
+ orderBy?: number | null;
21716
22064
  } | null;
21717
22065
  } | null;
21718
22066
  } | null> | null;
@@ -21745,10 +22093,11 @@ export type CompanyQuery = {
21745
22093
  description?: string | null;
21746
22094
  industrySector?: {
21747
22095
  __typename?: 'IndustrySectorObject';
21748
- id: string;
21749
- name: string;
21750
- description: string;
21751
- orderBy: number;
22096
+ id?: string | null;
22097
+ pk?: string | null;
22098
+ name?: string | null;
22099
+ description?: string | null;
22100
+ orderBy?: number | null;
21752
22101
  } | null;
21753
22102
  } | null;
21754
22103
  industries?: Array<{
@@ -21764,10 +22113,11 @@ export type CompanyQuery = {
21764
22113
  description?: string | null;
21765
22114
  industrySector?: {
21766
22115
  __typename?: 'IndustrySectorObject';
21767
- id: string;
21768
- name: string;
21769
- description: string;
21770
- orderBy: number;
22116
+ id?: string | null;
22117
+ pk?: string | null;
22118
+ name?: string | null;
22119
+ description?: string | null;
22120
+ orderBy?: number | null;
21771
22121
  } | null;
21772
22122
  } | null;
21773
22123
  } | null> | null;
@@ -21878,366 +22228,13 @@ export type CompanyMetadataQuery = {
21878
22228
  __typename?: 'Query';
21879
22229
  companyMetadata?: any | null;
21880
22230
  };
21881
- export type CompanyNoteQueryVariables = Exact<{
21882
- id: Scalars['ID']['input'];
21883
- }>;
21884
- export type CompanyNoteQuery = {
21885
- __typename?: 'Query';
21886
- companyNote?: {
21887
- __typename?: 'CompanyNoteObject';
21888
- id?: string | null;
21889
- accountId?: number | null;
21890
- contactPersonId?: number | null;
21891
- contactPersonName?: string | null;
21892
- date?: any | null;
21893
- noteType?: string | null;
21894
- duration?: string | null;
21895
- competitorsMentioned?: string | null;
21896
- notes?: string | null;
21897
- summary?: string | null;
21898
- setReminder?: boolean | null;
21899
- pinned?: boolean | null;
21900
- followUpDate?: any | null;
21901
- followUpAction?: string | null;
21902
- createdAt?: any | null;
21903
- updatedAt?: any | null;
21904
- companyId?: number | null;
21905
- companyName?: string | null;
21906
- userId?: number | null;
21907
- userFirstName?: string | null;
21908
- userLastName?: string | null;
21909
- callCampaignLogId?: number | null;
21910
- callCampaignName?: string | null;
21911
- callCampaignId?: number | null;
21912
- callCampaignLogOutcome?: string | null;
21913
- combinedCampaignLogId?: string | null;
21914
- combinedCampaignId?: string | null;
21915
- combinedCampaignName?: string | null;
21916
- combinedCampaignStepId?: string | null;
21917
- combinedCampaignStepOrder?: number | null;
21918
- lastUpdatedByName?: string | null;
21919
- tasks?: Array<{
21920
- __typename?: 'TaskObject';
21921
- id?: number | null;
21922
- title?: string | null;
21923
- category?: string | null;
21924
- description?: string | null;
21925
- dueDate?: any | null;
21926
- priority?: string | null;
21927
- reminderType?: string | null;
21928
- status?: string | null;
21929
- completedAt?: any | null;
21930
- createdAt?: any | null;
21931
- updatedAt?: any | null;
21932
- companyId?: number | null;
21933
- companyName?: string | null;
21934
- contactId?: number | null;
21935
- contactName?: string | null;
21936
- overdue?: boolean | null;
21937
- assignedTo?: {
21938
- __typename?: 'UserType';
21939
- id?: string | null;
21940
- email?: string | null;
21941
- firstName?: string | null;
21942
- lastName?: string | null;
21943
- picture?: string | null;
21944
- } | null;
21945
- callCampaign?: {
21946
- __typename?: 'CallCampaignObject';
21947
- id?: string | null;
21948
- createdAt?: any | null;
21949
- updatedAt?: any | null;
21950
- name?: string | null;
21951
- description?: string | null;
21952
- status?: string | null;
21953
- contacts?: number | null;
21954
- called?: number | null;
21955
- connected?: number | null;
21956
- lastActivity?: any | null;
21957
- script?: string | null;
21958
- callScriptTemplateId?: string | null;
21959
- user?: {
21960
- __typename?: 'UserType';
21961
- id?: string | null;
21962
- email?: string | null;
21963
- firstName?: string | null;
21964
- lastName?: string | null;
21965
- picture?: string | null;
21966
- } | null;
21967
- account?: {
21968
- __typename?: 'AccountType';
21969
- id?: string | null;
21970
- name?: string | null;
21971
- isActive?: boolean | null;
21972
- createdAt?: any | null;
21973
- updatedAt?: any | null;
21974
- } | null;
21975
- segments?: Array<{
21976
- __typename?: 'SegmentObject';
21977
- id?: string | null;
21978
- name?: string | null;
21979
- description?: string | null;
21980
- state?: string | null;
21981
- industry?: string | null;
21982
- metalType?: string | null;
21983
- productCategory?: string | null;
21984
- segmentType?: string | null;
21985
- createdAt?: any | null;
21986
- updatedAt?: any | null;
21987
- isSystemTemplate?: boolean | null;
21988
- totalContacts?: number | null;
21989
- status?: string | null;
21990
- createdBy?: string | null;
21991
- } | null> | null;
21992
- stats?: {
21993
- __typename?: 'CallCampaignStatsObject';
21994
- totalContacts?: number | null;
21995
- calledCount?: number | null;
21996
- connectedCount?: number | null;
21997
- remainingCount?: number | null;
21998
- lastActivity?: any | null;
21999
- statusCounts?: any | null;
22000
- } | null;
22001
- createdBy?: {
22002
- __typename?: 'UserType';
22003
- id?: string | null;
22004
- email?: string | null;
22005
- firstName?: string | null;
22006
- lastName?: string | null;
22007
- picture?: string | null;
22008
- } | null;
22009
- } | null;
22010
- callCampaignLog?: {
22011
- __typename?: 'CallCampaignLogObject';
22012
- id?: string | null;
22013
- status?: string | null;
22014
- outcome?: string | null;
22015
- lastCalled?: any | null;
22016
- notes?: string | null;
22017
- businessSize?: string | null;
22018
- businessRevenue?: string | null;
22019
- businessEmployees?: number | null;
22020
- businessLocation?: string | null;
22021
- businessIndustry?: string | null;
22022
- createdAt?: any | null;
22023
- updatedAt?: any | null;
22024
- metadata?: any | null;
22025
- productsOfInterest?: any | null;
22026
- businessOpportunities?: any | null;
22027
- currentSupplier?: string | null;
22028
- campaignId?: string | null;
22029
- campaignName?: string | null;
22030
- segmentId?: number | null;
22031
- segmentName?: string | null;
22032
- contactId?: number | null;
22033
- contactName?: string | null;
22034
- userId?: number | null;
22035
- userName?: string | null;
22036
- accountId?: number | null;
22037
- } | null;
22038
- createdBy?: {
22039
- __typename?: 'UserType';
22040
- id?: string | null;
22041
- email?: string | null;
22042
- firstName?: string | null;
22043
- lastName?: string | null;
22044
- picture?: string | null;
22045
- } | null;
22046
- } | null> | null;
22047
- } | null;
22048
- };
22049
- export type CompanyNotesQueryVariables = Exact<{
22050
- filters?: InputMaybe<CompanyNoteFilterInput>;
22051
- pagination?: InputMaybe<PaginationInput>;
22052
- sort?: InputMaybe<CompanyNoteSortInput>;
22053
- }>;
22054
- export type CompanyNotesQuery = {
22055
- __typename?: 'Query';
22056
- companyNotes?: {
22057
- __typename?: 'PaginatedCompanyNoteList';
22058
- items?: Array<{
22059
- __typename?: 'CompanyNoteObject';
22060
- id?: string | null;
22061
- accountId?: number | null;
22062
- contactPersonId?: number | null;
22063
- contactPersonName?: string | null;
22064
- date?: any | null;
22065
- noteType?: string | null;
22066
- duration?: string | null;
22067
- competitorsMentioned?: string | null;
22068
- notes?: string | null;
22069
- summary?: string | null;
22070
- setReminder?: boolean | null;
22071
- pinned?: boolean | null;
22072
- followUpDate?: any | null;
22073
- followUpAction?: string | null;
22074
- createdAt?: any | null;
22075
- updatedAt?: any | null;
22076
- companyId?: number | null;
22077
- companyName?: string | null;
22078
- userId?: number | null;
22079
- userFirstName?: string | null;
22080
- userLastName?: string | null;
22081
- callCampaignLogId?: number | null;
22082
- callCampaignName?: string | null;
22083
- callCampaignId?: number | null;
22084
- callCampaignLogOutcome?: string | null;
22085
- combinedCampaignLogId?: string | null;
22086
- combinedCampaignId?: string | null;
22087
- combinedCampaignName?: string | null;
22088
- combinedCampaignStepId?: string | null;
22089
- combinedCampaignStepOrder?: number | null;
22090
- lastUpdatedByName?: string | null;
22091
- tasks?: Array<{
22092
- __typename?: 'TaskObject';
22093
- id?: number | null;
22094
- title?: string | null;
22095
- category?: string | null;
22096
- description?: string | null;
22097
- dueDate?: any | null;
22098
- priority?: string | null;
22099
- reminderType?: string | null;
22100
- status?: string | null;
22101
- completedAt?: any | null;
22102
- createdAt?: any | null;
22103
- updatedAt?: any | null;
22104
- companyId?: number | null;
22105
- companyName?: string | null;
22106
- contactId?: number | null;
22107
- contactName?: string | null;
22108
- overdue?: boolean | null;
22109
- assignedTo?: {
22110
- __typename?: 'UserType';
22111
- id?: string | null;
22112
- email?: string | null;
22113
- firstName?: string | null;
22114
- lastName?: string | null;
22115
- picture?: string | null;
22116
- } | null;
22117
- callCampaign?: {
22118
- __typename?: 'CallCampaignObject';
22119
- id?: string | null;
22120
- createdAt?: any | null;
22121
- updatedAt?: any | null;
22122
- name?: string | null;
22123
- description?: string | null;
22124
- status?: string | null;
22125
- contacts?: number | null;
22126
- called?: number | null;
22127
- connected?: number | null;
22128
- lastActivity?: any | null;
22129
- script?: string | null;
22130
- callScriptTemplateId?: string | null;
22131
- user?: {
22132
- __typename?: 'UserType';
22133
- id?: string | null;
22134
- email?: string | null;
22135
- firstName?: string | null;
22136
- lastName?: string | null;
22137
- picture?: string | null;
22138
- } | null;
22139
- account?: {
22140
- __typename?: 'AccountType';
22141
- id?: string | null;
22142
- name?: string | null;
22143
- isActive?: boolean | null;
22144
- createdAt?: any | null;
22145
- updatedAt?: any | null;
22146
- } | null;
22147
- segments?: Array<{
22148
- __typename?: 'SegmentObject';
22149
- id?: string | null;
22150
- name?: string | null;
22151
- description?: string | null;
22152
- state?: string | null;
22153
- industry?: string | null;
22154
- metalType?: string | null;
22155
- productCategory?: string | null;
22156
- segmentType?: string | null;
22157
- createdAt?: any | null;
22158
- updatedAt?: any | null;
22159
- isSystemTemplate?: boolean | null;
22160
- totalContacts?: number | null;
22161
- status?: string | null;
22162
- createdBy?: string | null;
22163
- } | null> | null;
22164
- stats?: {
22165
- __typename?: 'CallCampaignStatsObject';
22166
- totalContacts?: number | null;
22167
- calledCount?: number | null;
22168
- connectedCount?: number | null;
22169
- remainingCount?: number | null;
22170
- lastActivity?: any | null;
22171
- statusCounts?: any | null;
22172
- } | null;
22173
- createdBy?: {
22174
- __typename?: 'UserType';
22175
- id?: string | null;
22176
- email?: string | null;
22177
- firstName?: string | null;
22178
- lastName?: string | null;
22179
- picture?: string | null;
22180
- } | null;
22181
- } | null;
22182
- callCampaignLog?: {
22183
- __typename?: 'CallCampaignLogObject';
22184
- id?: string | null;
22185
- status?: string | null;
22186
- outcome?: string | null;
22187
- lastCalled?: any | null;
22188
- notes?: string | null;
22189
- businessSize?: string | null;
22190
- businessRevenue?: string | null;
22191
- businessEmployees?: number | null;
22192
- businessLocation?: string | null;
22193
- businessIndustry?: string | null;
22194
- createdAt?: any | null;
22195
- updatedAt?: any | null;
22196
- metadata?: any | null;
22197
- productsOfInterest?: any | null;
22198
- businessOpportunities?: any | null;
22199
- currentSupplier?: string | null;
22200
- campaignId?: string | null;
22201
- campaignName?: string | null;
22202
- segmentId?: number | null;
22203
- segmentName?: string | null;
22204
- contactId?: number | null;
22205
- contactName?: string | null;
22206
- userId?: number | null;
22207
- userName?: string | null;
22208
- accountId?: number | null;
22209
- } | null;
22210
- createdBy?: {
22211
- __typename?: 'UserType';
22212
- id?: string | null;
22213
- email?: string | null;
22214
- firstName?: string | null;
22215
- lastName?: string | null;
22216
- picture?: string | null;
22217
- } | null;
22218
- } | null> | null;
22219
- } | null> | null;
22220
- pagination?: {
22221
- __typename?: 'PaginationInfo';
22222
- currentPage?: number | null;
22223
- pageSize?: number | null;
22224
- totalPages?: number | null;
22225
- totalCount?: number | null;
22226
- hasNextPage?: boolean | null;
22227
- hasPreviousPage?: boolean | null;
22228
- } | null;
22229
- } | null;
22230
- };
22231
- export type CompanySearchQueryVariables = Exact<{
22232
- filters?: InputMaybe<CompanyFilterInput>;
22231
+ export type CompanyNameSearchQueryVariables = Exact<{
22232
+ search?: InputMaybe<Scalars['String']['input']>;
22233
22233
  pagination?: InputMaybe<PaginationInput>;
22234
- sort?: InputMaybe<CompanySortInput>;
22235
- sortHierarchy?: InputMaybe<Array<InputMaybe<CompanySortInput>> | InputMaybe<CompanySortInput>>;
22236
- semanticSearch?: InputMaybe<SemanticSearchConfigInput>;
22237
22234
  }>;
22238
- export type CompanySearchQuery = {
22235
+ export type CompanyNameSearchQuery = {
22239
22236
  __typename?: 'Query';
22240
- companySearch?: {
22237
+ companyNameSearch?: {
22241
22238
  __typename?: 'PaginatedCompanyList';
22242
22239
  items?: Array<{
22243
22240
  __typename?: 'CompanyObject';
@@ -22816,10 +22813,1077 @@ export type CompanySearchQuery = {
22816
22813
  description?: string | null;
22817
22814
  industrySector?: {
22818
22815
  __typename?: 'IndustrySectorObject';
22816
+ id?: string | null;
22817
+ pk?: string | null;
22818
+ name?: string | null;
22819
+ description?: string | null;
22820
+ orderBy?: number | null;
22821
+ } | null;
22822
+ } | null;
22823
+ } | null> | null;
22824
+ companyServices?: Array<{
22825
+ __typename?: 'CompanyServiceType';
22826
+ id: string;
22827
+ serviceName: string;
22828
+ } | null> | null;
22829
+ supplierLists: Array<{
22830
+ __typename?: 'Procurement_SupplierListType';
22831
+ id: string;
22832
+ createdAt: any;
22833
+ updatedAt: any;
22834
+ name: string;
22835
+ description?: string | null;
22836
+ color?: string | null;
22837
+ isFavorite: boolean;
22838
+ }>;
22839
+ mySuppliers: Array<{
22840
+ __typename?: 'Procurement_MySupplierType';
22841
+ id: string;
22842
+ createdAt: any;
22843
+ updatedAt: any;
22844
+ }>;
22845
+ industry?: {
22846
+ __typename?: 'IndustryTypeObject';
22847
+ id?: string | null;
22848
+ pk?: string | null;
22849
+ name?: string | null;
22850
+ description?: string | null;
22851
+ industrySector?: {
22852
+ __typename?: 'IndustrySectorObject';
22853
+ id?: string | null;
22854
+ pk?: string | null;
22855
+ name?: string | null;
22856
+ description?: string | null;
22857
+ orderBy?: number | null;
22858
+ } | null;
22859
+ } | null;
22860
+ industries?: Array<{
22861
+ __typename?: 'CompanyIndustryObject';
22862
+ id?: string | null;
22863
+ pk?: string | null;
22864
+ matchScore?: number | null;
22865
+ industry?: {
22866
+ __typename?: 'IndustryTypeObject';
22867
+ id?: string | null;
22868
+ pk?: string | null;
22869
+ name?: string | null;
22870
+ description?: string | null;
22871
+ industrySector?: {
22872
+ __typename?: 'IndustrySectorObject';
22873
+ id?: string | null;
22874
+ pk?: string | null;
22875
+ name?: string | null;
22876
+ description?: string | null;
22877
+ orderBy?: number | null;
22878
+ } | null;
22879
+ } | null;
22880
+ } | null> | null;
22881
+ primaryLocation?: {
22882
+ __typename?: 'CompanyLocationType';
22883
+ id?: string | null;
22884
+ address1?: string | null;
22885
+ address2?: string | null;
22886
+ city?: string | null;
22887
+ state?: string | null;
22888
+ zipCode?: string | null;
22889
+ country?: string | null;
22890
+ isPrimary?: boolean | null;
22891
+ locationType?: string | null;
22892
+ locationName?: string | null;
22893
+ phone?: string | null;
22894
+ email?: string | null;
22895
+ region?: string | null;
22896
+ latitude?: number | null;
22897
+ longitude?: number | null;
22898
+ distance?: number | null;
22899
+ createdAt?: any | null;
22900
+ updatedAt?: any | null;
22901
+ fullAddress?: string | null;
22902
+ } | null;
22903
+ lastContactedBy?: {
22904
+ __typename?: 'UserType';
22905
+ id?: string | null;
22906
+ email?: string | null;
22907
+ firstName?: string | null;
22908
+ lastName?: string | null;
22909
+ picture?: string | null;
22910
+ } | null;
22911
+ lastContactedVia?: {
22912
+ __typename?: 'LastContactedViaType';
22913
+ actionType?: string | null;
22914
+ actionId?: string | null;
22915
+ campaignName?: string | null;
22916
+ campaignId?: string | null;
22917
+ callCampaignId?: string | null;
22918
+ combinedCampaignId?: string | null;
22919
+ stepType?: string | null;
22920
+ stepOrder?: number | null;
22921
+ noteType?: string | null;
22922
+ noteId?: string | null;
22923
+ } | null;
22924
+ statusData?: {
22925
+ __typename?: 'CompanyStatusType';
22926
+ id?: string | null;
22927
+ status?: string | null;
22928
+ updatedBy?: string | null;
22929
+ updatedAt?: any | null;
22930
+ } | null;
22931
+ } | null> | null;
22932
+ pagination?: {
22933
+ __typename?: 'CompanyPaginationInfo';
22934
+ currentPage?: number | null;
22935
+ pageSize?: number | null;
22936
+ totalPages?: number | null;
22937
+ totalCount?: number | null;
22938
+ hasNextPage?: boolean | null;
22939
+ hasPreviousPage?: boolean | null;
22940
+ totalVisibleCompanies?: number | null;
22941
+ } | null;
22942
+ } | null;
22943
+ };
22944
+ export type CompanyNoteQueryVariables = Exact<{
22945
+ id: Scalars['ID']['input'];
22946
+ }>;
22947
+ export type CompanyNoteQuery = {
22948
+ __typename?: 'Query';
22949
+ companyNote?: {
22950
+ __typename?: 'CompanyNoteObject';
22951
+ id?: string | null;
22952
+ accountId?: number | null;
22953
+ contactPersonId?: number | null;
22954
+ contactPersonName?: string | null;
22955
+ date?: any | null;
22956
+ noteType?: string | null;
22957
+ duration?: string | null;
22958
+ competitorsMentioned?: string | null;
22959
+ notes?: string | null;
22960
+ summary?: string | null;
22961
+ setReminder?: boolean | null;
22962
+ pinned?: boolean | null;
22963
+ followUpDate?: any | null;
22964
+ followUpAction?: string | null;
22965
+ createdAt?: any | null;
22966
+ updatedAt?: any | null;
22967
+ companyId?: number | null;
22968
+ companyName?: string | null;
22969
+ userId?: number | null;
22970
+ userFirstName?: string | null;
22971
+ userLastName?: string | null;
22972
+ callCampaignLogId?: number | null;
22973
+ callCampaignName?: string | null;
22974
+ callCampaignId?: number | null;
22975
+ callCampaignLogOutcome?: string | null;
22976
+ combinedCampaignLogId?: string | null;
22977
+ combinedCampaignId?: string | null;
22978
+ combinedCampaignName?: string | null;
22979
+ combinedCampaignStepId?: string | null;
22980
+ combinedCampaignStepOrder?: number | null;
22981
+ lastUpdatedByName?: string | null;
22982
+ tasks?: Array<{
22983
+ __typename?: 'TaskObject';
22984
+ id?: number | null;
22985
+ title?: string | null;
22986
+ category?: string | null;
22987
+ description?: string | null;
22988
+ dueDate?: any | null;
22989
+ priority?: string | null;
22990
+ reminderType?: string | null;
22991
+ status?: string | null;
22992
+ completedAt?: any | null;
22993
+ createdAt?: any | null;
22994
+ updatedAt?: any | null;
22995
+ companyId?: number | null;
22996
+ companyName?: string | null;
22997
+ contactId?: number | null;
22998
+ contactName?: string | null;
22999
+ overdue?: boolean | null;
23000
+ assignedTo?: {
23001
+ __typename?: 'UserType';
23002
+ id?: string | null;
23003
+ email?: string | null;
23004
+ firstName?: string | null;
23005
+ lastName?: string | null;
23006
+ picture?: string | null;
23007
+ } | null;
23008
+ callCampaign?: {
23009
+ __typename?: 'CallCampaignObject';
23010
+ id?: string | null;
23011
+ createdAt?: any | null;
23012
+ updatedAt?: any | null;
23013
+ name?: string | null;
23014
+ description?: string | null;
23015
+ status?: string | null;
23016
+ contacts?: number | null;
23017
+ called?: number | null;
23018
+ connected?: number | null;
23019
+ lastActivity?: any | null;
23020
+ script?: string | null;
23021
+ callScriptTemplateId?: string | null;
23022
+ user?: {
23023
+ __typename?: 'UserType';
23024
+ id?: string | null;
23025
+ email?: string | null;
23026
+ firstName?: string | null;
23027
+ lastName?: string | null;
23028
+ picture?: string | null;
23029
+ } | null;
23030
+ account?: {
23031
+ __typename?: 'AccountType';
23032
+ id?: string | null;
23033
+ name?: string | null;
23034
+ isActive?: boolean | null;
23035
+ createdAt?: any | null;
23036
+ updatedAt?: any | null;
23037
+ } | null;
23038
+ segments?: Array<{
23039
+ __typename?: 'SegmentObject';
23040
+ id?: string | null;
23041
+ name?: string | null;
23042
+ description?: string | null;
23043
+ state?: string | null;
23044
+ industry?: string | null;
23045
+ metalType?: string | null;
23046
+ productCategory?: string | null;
23047
+ segmentType?: string | null;
23048
+ createdAt?: any | null;
23049
+ updatedAt?: any | null;
23050
+ isSystemTemplate?: boolean | null;
23051
+ totalContacts?: number | null;
23052
+ status?: string | null;
23053
+ createdBy?: string | null;
23054
+ } | null> | null;
23055
+ stats?: {
23056
+ __typename?: 'CallCampaignStatsObject';
23057
+ totalContacts?: number | null;
23058
+ calledCount?: number | null;
23059
+ connectedCount?: number | null;
23060
+ remainingCount?: number | null;
23061
+ lastActivity?: any | null;
23062
+ statusCounts?: any | null;
23063
+ } | null;
23064
+ createdBy?: {
23065
+ __typename?: 'UserType';
23066
+ id?: string | null;
23067
+ email?: string | null;
23068
+ firstName?: string | null;
23069
+ lastName?: string | null;
23070
+ picture?: string | null;
23071
+ } | null;
23072
+ } | null;
23073
+ callCampaignLog?: {
23074
+ __typename?: 'CallCampaignLogObject';
23075
+ id?: string | null;
23076
+ status?: string | null;
23077
+ outcome?: string | null;
23078
+ lastCalled?: any | null;
23079
+ notes?: string | null;
23080
+ businessSize?: string | null;
23081
+ businessRevenue?: string | null;
23082
+ businessEmployees?: number | null;
23083
+ businessLocation?: string | null;
23084
+ businessIndustry?: string | null;
23085
+ createdAt?: any | null;
23086
+ updatedAt?: any | null;
23087
+ metadata?: any | null;
23088
+ productsOfInterest?: any | null;
23089
+ businessOpportunities?: any | null;
23090
+ currentSupplier?: string | null;
23091
+ campaignId?: string | null;
23092
+ campaignName?: string | null;
23093
+ segmentId?: number | null;
23094
+ segmentName?: string | null;
23095
+ contactId?: number | null;
23096
+ contactName?: string | null;
23097
+ userId?: number | null;
23098
+ userName?: string | null;
23099
+ accountId?: number | null;
23100
+ } | null;
23101
+ createdBy?: {
23102
+ __typename?: 'UserType';
23103
+ id?: string | null;
23104
+ email?: string | null;
23105
+ firstName?: string | null;
23106
+ lastName?: string | null;
23107
+ picture?: string | null;
23108
+ } | null;
23109
+ } | null> | null;
23110
+ } | null;
23111
+ };
23112
+ export type CompanyNotesQueryVariables = Exact<{
23113
+ filters?: InputMaybe<CompanyNoteFilterInput>;
23114
+ pagination?: InputMaybe<PaginationInput>;
23115
+ sort?: InputMaybe<CompanyNoteSortInput>;
23116
+ }>;
23117
+ export type CompanyNotesQuery = {
23118
+ __typename?: 'Query';
23119
+ companyNotes?: {
23120
+ __typename?: 'PaginatedCompanyNoteList';
23121
+ items?: Array<{
23122
+ __typename?: 'CompanyNoteObject';
23123
+ id?: string | null;
23124
+ accountId?: number | null;
23125
+ contactPersonId?: number | null;
23126
+ contactPersonName?: string | null;
23127
+ date?: any | null;
23128
+ noteType?: string | null;
23129
+ duration?: string | null;
23130
+ competitorsMentioned?: string | null;
23131
+ notes?: string | null;
23132
+ summary?: string | null;
23133
+ setReminder?: boolean | null;
23134
+ pinned?: boolean | null;
23135
+ followUpDate?: any | null;
23136
+ followUpAction?: string | null;
23137
+ createdAt?: any | null;
23138
+ updatedAt?: any | null;
23139
+ companyId?: number | null;
23140
+ companyName?: string | null;
23141
+ userId?: number | null;
23142
+ userFirstName?: string | null;
23143
+ userLastName?: string | null;
23144
+ callCampaignLogId?: number | null;
23145
+ callCampaignName?: string | null;
23146
+ callCampaignId?: number | null;
23147
+ callCampaignLogOutcome?: string | null;
23148
+ combinedCampaignLogId?: string | null;
23149
+ combinedCampaignId?: string | null;
23150
+ combinedCampaignName?: string | null;
23151
+ combinedCampaignStepId?: string | null;
23152
+ combinedCampaignStepOrder?: number | null;
23153
+ lastUpdatedByName?: string | null;
23154
+ tasks?: Array<{
23155
+ __typename?: 'TaskObject';
23156
+ id?: number | null;
23157
+ title?: string | null;
23158
+ category?: string | null;
23159
+ description?: string | null;
23160
+ dueDate?: any | null;
23161
+ priority?: string | null;
23162
+ reminderType?: string | null;
23163
+ status?: string | null;
23164
+ completedAt?: any | null;
23165
+ createdAt?: any | null;
23166
+ updatedAt?: any | null;
23167
+ companyId?: number | null;
23168
+ companyName?: string | null;
23169
+ contactId?: number | null;
23170
+ contactName?: string | null;
23171
+ overdue?: boolean | null;
23172
+ assignedTo?: {
23173
+ __typename?: 'UserType';
23174
+ id?: string | null;
23175
+ email?: string | null;
23176
+ firstName?: string | null;
23177
+ lastName?: string | null;
23178
+ picture?: string | null;
23179
+ } | null;
23180
+ callCampaign?: {
23181
+ __typename?: 'CallCampaignObject';
23182
+ id?: string | null;
23183
+ createdAt?: any | null;
23184
+ updatedAt?: any | null;
23185
+ name?: string | null;
23186
+ description?: string | null;
23187
+ status?: string | null;
23188
+ contacts?: number | null;
23189
+ called?: number | null;
23190
+ connected?: number | null;
23191
+ lastActivity?: any | null;
23192
+ script?: string | null;
23193
+ callScriptTemplateId?: string | null;
23194
+ user?: {
23195
+ __typename?: 'UserType';
23196
+ id?: string | null;
23197
+ email?: string | null;
23198
+ firstName?: string | null;
23199
+ lastName?: string | null;
23200
+ picture?: string | null;
23201
+ } | null;
23202
+ account?: {
23203
+ __typename?: 'AccountType';
23204
+ id?: string | null;
23205
+ name?: string | null;
23206
+ isActive?: boolean | null;
23207
+ createdAt?: any | null;
23208
+ updatedAt?: any | null;
23209
+ } | null;
23210
+ segments?: Array<{
23211
+ __typename?: 'SegmentObject';
23212
+ id?: string | null;
23213
+ name?: string | null;
23214
+ description?: string | null;
23215
+ state?: string | null;
23216
+ industry?: string | null;
23217
+ metalType?: string | null;
23218
+ productCategory?: string | null;
23219
+ segmentType?: string | null;
23220
+ createdAt?: any | null;
23221
+ updatedAt?: any | null;
23222
+ isSystemTemplate?: boolean | null;
23223
+ totalContacts?: number | null;
23224
+ status?: string | null;
23225
+ createdBy?: string | null;
23226
+ } | null> | null;
23227
+ stats?: {
23228
+ __typename?: 'CallCampaignStatsObject';
23229
+ totalContacts?: number | null;
23230
+ calledCount?: number | null;
23231
+ connectedCount?: number | null;
23232
+ remainingCount?: number | null;
23233
+ lastActivity?: any | null;
23234
+ statusCounts?: any | null;
23235
+ } | null;
23236
+ createdBy?: {
23237
+ __typename?: 'UserType';
23238
+ id?: string | null;
23239
+ email?: string | null;
23240
+ firstName?: string | null;
23241
+ lastName?: string | null;
23242
+ picture?: string | null;
23243
+ } | null;
23244
+ } | null;
23245
+ callCampaignLog?: {
23246
+ __typename?: 'CallCampaignLogObject';
23247
+ id?: string | null;
23248
+ status?: string | null;
23249
+ outcome?: string | null;
23250
+ lastCalled?: any | null;
23251
+ notes?: string | null;
23252
+ businessSize?: string | null;
23253
+ businessRevenue?: string | null;
23254
+ businessEmployees?: number | null;
23255
+ businessLocation?: string | null;
23256
+ businessIndustry?: string | null;
23257
+ createdAt?: any | null;
23258
+ updatedAt?: any | null;
23259
+ metadata?: any | null;
23260
+ productsOfInterest?: any | null;
23261
+ businessOpportunities?: any | null;
23262
+ currentSupplier?: string | null;
23263
+ campaignId?: string | null;
23264
+ campaignName?: string | null;
23265
+ segmentId?: number | null;
23266
+ segmentName?: string | null;
23267
+ contactId?: number | null;
23268
+ contactName?: string | null;
23269
+ userId?: number | null;
23270
+ userName?: string | null;
23271
+ accountId?: number | null;
23272
+ } | null;
23273
+ createdBy?: {
23274
+ __typename?: 'UserType';
23275
+ id?: string | null;
23276
+ email?: string | null;
23277
+ firstName?: string | null;
23278
+ lastName?: string | null;
23279
+ picture?: string | null;
23280
+ } | null;
23281
+ } | null> | null;
23282
+ } | null> | null;
23283
+ pagination?: {
23284
+ __typename?: 'PaginationInfo';
23285
+ currentPage?: number | null;
23286
+ pageSize?: number | null;
23287
+ totalPages?: number | null;
23288
+ totalCount?: number | null;
23289
+ hasNextPage?: boolean | null;
23290
+ hasPreviousPage?: boolean | null;
23291
+ } | null;
23292
+ } | null;
23293
+ };
23294
+ export type CompanySearchQueryVariables = Exact<{
23295
+ filters?: InputMaybe<CompanyFilterInput>;
23296
+ pagination?: InputMaybe<PaginationInput>;
23297
+ sort?: InputMaybe<CompanySortInput>;
23298
+ sortHierarchy?: InputMaybe<Array<InputMaybe<CompanySortInput>> | InputMaybe<CompanySortInput>>;
23299
+ semanticSearch?: InputMaybe<SemanticSearchConfigInput>;
23300
+ }>;
23301
+ export type CompanySearchQuery = {
23302
+ __typename?: 'Query';
23303
+ companySearch?: {
23304
+ __typename?: 'PaginatedCompanyList';
23305
+ items?: Array<{
23306
+ __typename?: 'CompanyObject';
23307
+ id?: string | null;
23308
+ createdAt: any;
23309
+ updatedAt: any;
23310
+ companyName: string;
23311
+ location?: string | null;
23312
+ state?: string | null;
23313
+ employeeSize?: string | null;
23314
+ website?: string | null;
23315
+ description?: string | null;
23316
+ keywords?: string | null;
23317
+ isCustomer: boolean;
23318
+ logoUrl?: string | null;
23319
+ facebookUrl?: string | null;
23320
+ twitterUrl?: string | null;
23321
+ linkedinUrl?: string | null;
23322
+ address1?: string | null;
23323
+ address2?: string | null;
23324
+ city?: string | null;
23325
+ zipCode?: string | null;
23326
+ phone?: string | null;
23327
+ email?: string | null;
23328
+ annualRevenue?: string | null;
23329
+ version: CrmCompanyVersionChoices;
23330
+ externalIdentifiers?: Array<string | null> | null;
23331
+ mailLogs?: Array<string | null> | null;
23332
+ productsSold?: Array<string | null> | null;
23333
+ pk?: string | null;
23334
+ averageScore?: number | null;
23335
+ ownedByUser?: boolean | null;
23336
+ isProspect?: boolean | null;
23337
+ hasSavedContacts?: boolean | null;
23338
+ purchaseMetalConfidence?: number | null;
23339
+ lastContactedAt?: any | null;
23340
+ status?: string | null;
23341
+ filterMatchScore?: number | null;
23342
+ tags?: Array<{
23343
+ __typename?: 'TagObject';
23344
+ id?: string | null;
23345
+ pk?: string | null;
23346
+ name?: string | null;
23347
+ description?: string | null;
23348
+ } | null> | null;
23349
+ owners?: Array<{
23350
+ __typename?: 'CompanyOwnersObject';
23351
+ id?: string | null;
23352
+ isPrimary?: boolean | null;
23353
+ user?: {
23354
+ __typename?: 'UserType';
23355
+ id?: string | null;
23356
+ email?: string | null;
23357
+ firstName?: string | null;
23358
+ lastName?: string | null;
23359
+ picture?: string | null;
23360
+ } | null;
23361
+ } | null> | null;
23362
+ statuses?: Array<{
23363
+ __typename?: 'CompanyStatusType';
23364
+ id?: string | null;
23365
+ status?: string | null;
23366
+ updatedBy?: string | null;
23367
+ updatedAt?: any | null;
23368
+ } | null> | null;
23369
+ locations?: Array<{
23370
+ __typename?: 'CompanyLocationType';
23371
+ id?: string | null;
23372
+ address1?: string | null;
23373
+ address2?: string | null;
23374
+ city?: string | null;
23375
+ state?: string | null;
23376
+ zipCode?: string | null;
23377
+ country?: string | null;
23378
+ isPrimary?: boolean | null;
23379
+ locationType?: string | null;
23380
+ locationName?: string | null;
23381
+ phone?: string | null;
23382
+ email?: string | null;
23383
+ region?: string | null;
23384
+ latitude?: number | null;
23385
+ longitude?: number | null;
23386
+ distance?: number | null;
23387
+ createdAt?: any | null;
23388
+ updatedAt?: any | null;
23389
+ fullAddress?: string | null;
23390
+ } | null> | null;
23391
+ companyNotes?: Array<{
23392
+ __typename?: 'CompanyNoteObject';
23393
+ id?: string | null;
23394
+ accountId?: number | null;
23395
+ contactPersonId?: number | null;
23396
+ contactPersonName?: string | null;
23397
+ date?: any | null;
23398
+ noteType?: string | null;
23399
+ duration?: string | null;
23400
+ competitorsMentioned?: string | null;
23401
+ notes?: string | null;
23402
+ summary?: string | null;
23403
+ setReminder?: boolean | null;
23404
+ pinned?: boolean | null;
23405
+ followUpDate?: any | null;
23406
+ followUpAction?: string | null;
23407
+ createdAt?: any | null;
23408
+ updatedAt?: any | null;
23409
+ companyId?: number | null;
23410
+ companyName?: string | null;
23411
+ userId?: number | null;
23412
+ userFirstName?: string | null;
23413
+ userLastName?: string | null;
23414
+ callCampaignLogId?: number | null;
23415
+ callCampaignName?: string | null;
23416
+ callCampaignId?: number | null;
23417
+ callCampaignLogOutcome?: string | null;
23418
+ combinedCampaignLogId?: string | null;
23419
+ combinedCampaignId?: string | null;
23420
+ combinedCampaignName?: string | null;
23421
+ combinedCampaignStepId?: string | null;
23422
+ combinedCampaignStepOrder?: number | null;
23423
+ lastUpdatedByName?: string | null;
23424
+ tasks?: Array<{
23425
+ __typename?: 'TaskObject';
23426
+ id?: number | null;
23427
+ title?: string | null;
23428
+ category?: string | null;
23429
+ description?: string | null;
23430
+ dueDate?: any | null;
23431
+ priority?: string | null;
23432
+ reminderType?: string | null;
23433
+ status?: string | null;
23434
+ completedAt?: any | null;
23435
+ createdAt?: any | null;
23436
+ updatedAt?: any | null;
23437
+ companyId?: number | null;
23438
+ companyName?: string | null;
23439
+ contactId?: number | null;
23440
+ contactName?: string | null;
23441
+ overdue?: boolean | null;
23442
+ assignedTo?: {
23443
+ __typename?: 'UserType';
23444
+ id?: string | null;
23445
+ email?: string | null;
23446
+ firstName?: string | null;
23447
+ lastName?: string | null;
23448
+ picture?: string | null;
23449
+ } | null;
23450
+ callCampaign?: {
23451
+ __typename?: 'CallCampaignObject';
23452
+ id?: string | null;
23453
+ createdAt?: any | null;
23454
+ updatedAt?: any | null;
23455
+ name?: string | null;
23456
+ description?: string | null;
23457
+ status?: string | null;
23458
+ contacts?: number | null;
23459
+ called?: number | null;
23460
+ connected?: number | null;
23461
+ lastActivity?: any | null;
23462
+ script?: string | null;
23463
+ callScriptTemplateId?: string | null;
23464
+ user?: {
23465
+ __typename?: 'UserType';
23466
+ id?: string | null;
23467
+ email?: string | null;
23468
+ firstName?: string | null;
23469
+ lastName?: string | null;
23470
+ picture?: string | null;
23471
+ } | null;
23472
+ account?: {
23473
+ __typename?: 'AccountType';
23474
+ id?: string | null;
23475
+ name?: string | null;
23476
+ isActive?: boolean | null;
23477
+ createdAt?: any | null;
23478
+ updatedAt?: any | null;
23479
+ } | null;
23480
+ segments?: Array<{
23481
+ __typename?: 'SegmentObject';
23482
+ id?: string | null;
23483
+ name?: string | null;
23484
+ description?: string | null;
23485
+ state?: string | null;
23486
+ industry?: string | null;
23487
+ metalType?: string | null;
23488
+ productCategory?: string | null;
23489
+ segmentType?: string | null;
23490
+ createdAt?: any | null;
23491
+ updatedAt?: any | null;
23492
+ isSystemTemplate?: boolean | null;
23493
+ totalContacts?: number | null;
23494
+ status?: string | null;
23495
+ createdBy?: string | null;
23496
+ } | null> | null;
23497
+ stats?: {
23498
+ __typename?: 'CallCampaignStatsObject';
23499
+ totalContacts?: number | null;
23500
+ calledCount?: number | null;
23501
+ connectedCount?: number | null;
23502
+ remainingCount?: number | null;
23503
+ lastActivity?: any | null;
23504
+ statusCounts?: any | null;
23505
+ } | null;
23506
+ createdBy?: {
23507
+ __typename?: 'UserType';
23508
+ id?: string | null;
23509
+ email?: string | null;
23510
+ firstName?: string | null;
23511
+ lastName?: string | null;
23512
+ picture?: string | null;
23513
+ } | null;
23514
+ } | null;
23515
+ callCampaignLog?: {
23516
+ __typename?: 'CallCampaignLogObject';
23517
+ id?: string | null;
23518
+ status?: string | null;
23519
+ outcome?: string | null;
23520
+ lastCalled?: any | null;
23521
+ notes?: string | null;
23522
+ businessSize?: string | null;
23523
+ businessRevenue?: string | null;
23524
+ businessEmployees?: number | null;
23525
+ businessLocation?: string | null;
23526
+ businessIndustry?: string | null;
23527
+ createdAt?: any | null;
23528
+ updatedAt?: any | null;
23529
+ metadata?: any | null;
23530
+ productsOfInterest?: any | null;
23531
+ businessOpportunities?: any | null;
23532
+ currentSupplier?: string | null;
23533
+ campaignId?: string | null;
23534
+ campaignName?: string | null;
23535
+ segmentId?: number | null;
23536
+ segmentName?: string | null;
23537
+ contactId?: number | null;
23538
+ contactName?: string | null;
23539
+ userId?: number | null;
23540
+ userName?: string | null;
23541
+ accountId?: number | null;
23542
+ } | null;
23543
+ createdBy?: {
23544
+ __typename?: 'UserType';
23545
+ id?: string | null;
23546
+ email?: string | null;
23547
+ firstName?: string | null;
23548
+ lastName?: string | null;
23549
+ picture?: string | null;
23550
+ } | null;
23551
+ } | null> | null;
23552
+ } | null> | null;
23553
+ contacts?: Array<{
23554
+ __typename?: 'ContactObject';
23555
+ id?: string | null;
23556
+ firstName?: string | null;
23557
+ lastName?: string | null;
23558
+ email?: string | null;
23559
+ workEmail?: string | null;
23560
+ workEmail2?: string | null;
23561
+ personalEmail?: string | null;
23562
+ personalEmail2?: string | null;
23563
+ phone?: string | null;
23564
+ phone2?: string | null;
23565
+ phone3?: string | null;
23566
+ title?: string | null;
23567
+ linkedinUrl?: string | null;
23568
+ isPrimary?: boolean | null;
23569
+ isCustomer?: boolean | null;
23570
+ notes?: string | null;
23571
+ lastContactedAt?: any | null;
23572
+ ownedByUser?: boolean | null;
23573
+ companyName?: string | null;
23574
+ companyId?: string | null;
23575
+ isProspect?: boolean | null;
23576
+ isSavedToCrm?: boolean | null;
23577
+ lastContactedBy?: {
23578
+ __typename?: 'UserType';
23579
+ id?: string | null;
23580
+ email?: string | null;
23581
+ firstName?: string | null;
23582
+ lastName?: string | null;
23583
+ picture?: string | null;
23584
+ } | null;
23585
+ lastContactedVia?: {
23586
+ __typename?: 'LastContactedViaType';
23587
+ actionType?: string | null;
23588
+ actionId?: string | null;
23589
+ campaignName?: string | null;
23590
+ campaignId?: string | null;
23591
+ callCampaignId?: string | null;
23592
+ combinedCampaignId?: string | null;
23593
+ stepType?: string | null;
23594
+ stepOrder?: number | null;
23595
+ noteType?: string | null;
23596
+ noteId?: string | null;
23597
+ } | null;
23598
+ contactLog?: Array<{
23599
+ __typename?: 'ContactLogObject';
23600
+ id?: string | null;
23601
+ sentAt?: any | null;
23602
+ openedAt?: any | null;
23603
+ clickedAt?: any | null;
23604
+ bouncedAt?: any | null;
23605
+ status?: string | null;
23606
+ } | null> | null;
23607
+ inSegments?: Array<{
23608
+ __typename?: 'SegmentIdObject';
23609
+ id?: string | null;
23610
+ name?: string | null;
23611
+ state?: string | null;
23612
+ industry?: string | null;
23613
+ } | null> | null;
23614
+ stats?: {
23615
+ __typename?: 'ContactStatsType';
23616
+ totalOpened?: number | null;
23617
+ totalReplied?: number | null;
23618
+ totalBounced?: number | null;
23619
+ } | null;
23620
+ companyOwners?: Array<{
23621
+ __typename?: 'CompanyOwnersObject';
23622
+ id?: string | null;
23623
+ isPrimary?: boolean | null;
23624
+ user?: {
23625
+ __typename?: 'UserType';
23626
+ id?: string | null;
23627
+ email?: string | null;
23628
+ firstName?: string | null;
23629
+ lastName?: string | null;
23630
+ picture?: string | null;
23631
+ } | null;
23632
+ } | null> | null;
23633
+ } | null> | null;
23634
+ tasks?: Array<{
23635
+ __typename?: 'TaskObject';
23636
+ id?: number | null;
23637
+ title?: string | null;
23638
+ category?: string | null;
23639
+ description?: string | null;
23640
+ dueDate?: any | null;
23641
+ priority?: string | null;
23642
+ reminderType?: string | null;
23643
+ status?: string | null;
23644
+ completedAt?: any | null;
23645
+ createdAt?: any | null;
23646
+ updatedAt?: any | null;
23647
+ companyId?: number | null;
23648
+ companyName?: string | null;
23649
+ contactId?: number | null;
23650
+ contactName?: string | null;
23651
+ overdue?: boolean | null;
23652
+ assignedTo?: {
23653
+ __typename?: 'UserType';
23654
+ id?: string | null;
23655
+ email?: string | null;
23656
+ firstName?: string | null;
23657
+ lastName?: string | null;
23658
+ picture?: string | null;
23659
+ } | null;
23660
+ callCampaign?: {
23661
+ __typename?: 'CallCampaignObject';
23662
+ id?: string | null;
23663
+ createdAt?: any | null;
23664
+ updatedAt?: any | null;
23665
+ name?: string | null;
23666
+ description?: string | null;
23667
+ status?: string | null;
23668
+ contacts?: number | null;
23669
+ called?: number | null;
23670
+ connected?: number | null;
23671
+ lastActivity?: any | null;
23672
+ script?: string | null;
23673
+ callScriptTemplateId?: string | null;
23674
+ user?: {
23675
+ __typename?: 'UserType';
23676
+ id?: string | null;
23677
+ email?: string | null;
23678
+ firstName?: string | null;
23679
+ lastName?: string | null;
23680
+ picture?: string | null;
23681
+ } | null;
23682
+ account?: {
23683
+ __typename?: 'AccountType';
23684
+ id?: string | null;
23685
+ name?: string | null;
23686
+ isActive?: boolean | null;
23687
+ createdAt?: any | null;
23688
+ updatedAt?: any | null;
23689
+ } | null;
23690
+ segments?: Array<{
23691
+ __typename?: 'SegmentObject';
23692
+ id?: string | null;
23693
+ name?: string | null;
23694
+ description?: string | null;
23695
+ state?: string | null;
23696
+ industry?: string | null;
23697
+ metalType?: string | null;
23698
+ productCategory?: string | null;
23699
+ segmentType?: string | null;
23700
+ createdAt?: any | null;
23701
+ updatedAt?: any | null;
23702
+ isSystemTemplate?: boolean | null;
23703
+ totalContacts?: number | null;
23704
+ status?: string | null;
23705
+ createdBy?: string | null;
23706
+ } | null> | null;
23707
+ stats?: {
23708
+ __typename?: 'CallCampaignStatsObject';
23709
+ totalContacts?: number | null;
23710
+ calledCount?: number | null;
23711
+ connectedCount?: number | null;
23712
+ remainingCount?: number | null;
23713
+ lastActivity?: any | null;
23714
+ statusCounts?: any | null;
23715
+ } | null;
23716
+ createdBy?: {
23717
+ __typename?: 'UserType';
23718
+ id?: string | null;
23719
+ email?: string | null;
23720
+ firstName?: string | null;
23721
+ lastName?: string | null;
23722
+ picture?: string | null;
23723
+ } | null;
23724
+ } | null;
23725
+ callCampaignLog?: {
23726
+ __typename?: 'CallCampaignLogObject';
23727
+ id?: string | null;
23728
+ status?: string | null;
23729
+ outcome?: string | null;
23730
+ lastCalled?: any | null;
23731
+ notes?: string | null;
23732
+ businessSize?: string | null;
23733
+ businessRevenue?: string | null;
23734
+ businessEmployees?: number | null;
23735
+ businessLocation?: string | null;
23736
+ businessIndustry?: string | null;
23737
+ createdAt?: any | null;
23738
+ updatedAt?: any | null;
23739
+ metadata?: any | null;
23740
+ productsOfInterest?: any | null;
23741
+ businessOpportunities?: any | null;
23742
+ currentSupplier?: string | null;
23743
+ campaignId?: string | null;
23744
+ campaignName?: string | null;
23745
+ segmentId?: number | null;
23746
+ segmentName?: string | null;
23747
+ contactId?: number | null;
23748
+ contactName?: string | null;
23749
+ userId?: number | null;
23750
+ userName?: string | null;
23751
+ accountId?: number | null;
23752
+ } | null;
23753
+ companyNote?: {
23754
+ __typename?: 'CompanyNoteObject';
23755
+ id?: string | null;
23756
+ accountId?: number | null;
23757
+ contactPersonId?: number | null;
23758
+ contactPersonName?: string | null;
23759
+ date?: any | null;
23760
+ noteType?: string | null;
23761
+ duration?: string | null;
23762
+ competitorsMentioned?: string | null;
23763
+ notes?: string | null;
23764
+ summary?: string | null;
23765
+ setReminder?: boolean | null;
23766
+ pinned?: boolean | null;
23767
+ followUpDate?: any | null;
23768
+ followUpAction?: string | null;
23769
+ createdAt?: any | null;
23770
+ updatedAt?: any | null;
23771
+ companyId?: number | null;
23772
+ companyName?: string | null;
23773
+ userId?: number | null;
23774
+ userFirstName?: string | null;
23775
+ userLastName?: string | null;
23776
+ callCampaignLogId?: number | null;
23777
+ callCampaignName?: string | null;
23778
+ callCampaignId?: number | null;
23779
+ callCampaignLogOutcome?: string | null;
23780
+ combinedCampaignLogId?: string | null;
23781
+ combinedCampaignId?: string | null;
23782
+ combinedCampaignName?: string | null;
23783
+ combinedCampaignStepId?: string | null;
23784
+ combinedCampaignStepOrder?: number | null;
23785
+ lastUpdatedByName?: string | null;
23786
+ } | null;
23787
+ createdBy?: {
23788
+ __typename?: 'UserType';
23789
+ id?: string | null;
23790
+ email?: string | null;
23791
+ firstName?: string | null;
23792
+ lastName?: string | null;
23793
+ picture?: string | null;
23794
+ } | null;
23795
+ } | null> | null;
23796
+ auditLogs?: Array<{
23797
+ __typename?: 'AuditLogItemType';
23798
+ id: string;
23799
+ type: string;
23800
+ title: string;
23801
+ description?: string | null;
23802
+ timestamp: any;
23803
+ } | null> | null;
23804
+ productMetalScores?: Array<{
23805
+ __typename?: 'CompanyProductMetalScoreObject';
23806
+ id: string;
23807
+ createdAt: any;
23808
+ updatedAt?: any | null;
23809
+ score: any;
23810
+ matchedFilter?: boolean | null;
23811
+ reasoning?: string | null;
23812
+ isUserAssigned?: boolean | null;
23813
+ userId?: string | null;
23814
+ accountId?: string | null;
23815
+ userFirstName?: string | null;
23816
+ userLastName?: string | null;
23817
+ source?: string | null;
23818
+ productType?: {
23819
+ __typename?: 'ProductTypeObject';
23820
+ id?: string | null;
23821
+ name?: string | null;
23822
+ orderBy?: number | null;
23823
+ pk?: string | null;
23824
+ productCategories?: Array<{
23825
+ __typename?: 'ProductCategoryObject';
23826
+ id?: string | null;
23827
+ name: string;
23828
+ orderBy: number;
23829
+ synonyms?: string | null;
23830
+ use?: string | null;
23831
+ buyerTypes?: string | null;
23832
+ industryTags?: string | null;
23833
+ pk?: string | null;
23834
+ } | null> | null;
23835
+ } | null;
23836
+ metalType?: {
23837
+ __typename?: 'MetalTypeObject';
23838
+ id: string;
23839
+ name: string;
23840
+ orderBy: number;
23841
+ synonyms?: string | null;
23842
+ use?: string | null;
23843
+ buyerTypes?: string | null;
23844
+ industryTags?: string | null;
23845
+ } | null;
23846
+ metalGrade?: {
23847
+ __typename?: 'MetalGradeObject';
23848
+ id: string;
23849
+ name: string;
23850
+ metalType?: {
23851
+ __typename?: 'MetalTypeObject';
22819
23852
  id: string;
22820
23853
  name: string;
22821
- description: string;
22822
23854
  orderBy: number;
23855
+ synonyms?: string | null;
23856
+ use?: string | null;
23857
+ buyerTypes?: string | null;
23858
+ industryTags?: string | null;
23859
+ } | null;
23860
+ } | null;
23861
+ productCategory?: {
23862
+ __typename?: 'ProductCategoryLightweightObject';
23863
+ id?: string | null;
23864
+ pk?: string | null;
23865
+ name?: string | null;
23866
+ orderBy?: number | null;
23867
+ } | null;
23868
+ } | null> | null;
23869
+ companyIndustries?: Array<{
23870
+ __typename?: 'CompanyIndustryObject';
23871
+ id?: string | null;
23872
+ pk?: string | null;
23873
+ matchScore?: number | null;
23874
+ industry?: {
23875
+ __typename?: 'IndustryTypeObject';
23876
+ id?: string | null;
23877
+ pk?: string | null;
23878
+ name?: string | null;
23879
+ description?: string | null;
23880
+ industrySector?: {
23881
+ __typename?: 'IndustrySectorObject';
23882
+ id?: string | null;
23883
+ pk?: string | null;
23884
+ name?: string | null;
23885
+ description?: string | null;
23886
+ orderBy?: number | null;
22823
23887
  } | null;
22824
23888
  } | null;
22825
23889
  } | null> | null;
@@ -22852,10 +23916,11 @@ export type CompanySearchQuery = {
22852
23916
  description?: string | null;
22853
23917
  industrySector?: {
22854
23918
  __typename?: 'IndustrySectorObject';
22855
- id: string;
22856
- name: string;
22857
- description: string;
22858
- orderBy: number;
23919
+ id?: string | null;
23920
+ pk?: string | null;
23921
+ name?: string | null;
23922
+ description?: string | null;
23923
+ orderBy?: number | null;
22859
23924
  } | null;
22860
23925
  } | null;
22861
23926
  industries?: Array<{
@@ -22871,10 +23936,11 @@ export type CompanySearchQuery = {
22871
23936
  description?: string | null;
22872
23937
  industrySector?: {
22873
23938
  __typename?: 'IndustrySectorObject';
22874
- id: string;
22875
- name: string;
22876
- description: string;
22877
- orderBy: number;
23939
+ id?: string | null;
23940
+ pk?: string | null;
23941
+ name?: string | null;
23942
+ description?: string | null;
23943
+ orderBy?: number | null;
22878
23944
  } | null;
22879
23945
  } | null;
22880
23946
  } | null> | null;
@@ -23580,10 +24646,11 @@ export type IndustrySectorsQuery = {
23580
24646
  __typename?: 'Query';
23581
24647
  industrySectors?: Array<{
23582
24648
  __typename?: 'IndustrySectorObject';
23583
- id: string;
23584
- name: string;
23585
- description: string;
23586
- orderBy: number;
24649
+ id?: string | null;
24650
+ pk?: string | null;
24651
+ name?: string | null;
24652
+ description?: string | null;
24653
+ orderBy?: number | null;
23587
24654
  } | null> | null;
23588
24655
  };
23589
24656
  export type IndustryTypesQueryVariables = Exact<{
@@ -23599,10 +24666,11 @@ export type IndustryTypesQuery = {
23599
24666
  description?: string | null;
23600
24667
  industrySector?: {
23601
24668
  __typename?: 'IndustrySectorObject';
23602
- id: string;
23603
- name: string;
23604
- description: string;
23605
- orderBy: number;
24669
+ id?: string | null;
24670
+ pk?: string | null;
24671
+ name?: string | null;
24672
+ description?: string | null;
24673
+ orderBy?: number | null;
23606
24674
  } | null;
23607
24675
  } | null> | null;
23608
24676
  };
@@ -24347,10 +25415,11 @@ export type MysupplierQuery = {
24347
25415
  description?: string | null;
24348
25416
  industrySector?: {
24349
25417
  __typename?: 'IndustrySectorObject';
24350
- id: string;
24351
- name: string;
24352
- description: string;
24353
- orderBy: number;
25418
+ id?: string | null;
25419
+ pk?: string | null;
25420
+ name?: string | null;
25421
+ description?: string | null;
25422
+ orderBy?: number | null;
24354
25423
  } | null;
24355
25424
  } | null;
24356
25425
  } | null> | null;
@@ -24377,10 +25446,11 @@ export type MysupplierQuery = {
24377
25446
  description?: string | null;
24378
25447
  industrySector?: {
24379
25448
  __typename?: 'IndustrySectorObject';
24380
- id: string;
24381
- name: string;
24382
- description: string;
24383
- orderBy: number;
25449
+ id?: string | null;
25450
+ pk?: string | null;
25451
+ name?: string | null;
25452
+ description?: string | null;
25453
+ orderBy?: number | null;
24384
25454
  } | null;
24385
25455
  } | null;
24386
25456
  industries?: Array<{
@@ -24396,10 +25466,11 @@ export type MysupplierQuery = {
24396
25466
  description?: string | null;
24397
25467
  industrySector?: {
24398
25468
  __typename?: 'IndustrySectorObject';
24399
- id: string;
24400
- name: string;
24401
- description: string;
24402
- orderBy: number;
25469
+ id?: string | null;
25470
+ pk?: string | null;
25471
+ name?: string | null;
25472
+ description?: string | null;
25473
+ orderBy?: number | null;
24403
25474
  } | null;
24404
25475
  } | null;
24405
25476
  } | null> | null;
@@ -25046,10 +26117,11 @@ export type MysupplierListQuery = {
25046
26117
  description?: string | null;
25047
26118
  industrySector?: {
25048
26119
  __typename?: 'IndustrySectorObject';
25049
- id: string;
25050
- name: string;
25051
- description: string;
25052
- orderBy: number;
26120
+ id?: string | null;
26121
+ pk?: string | null;
26122
+ name?: string | null;
26123
+ description?: string | null;
26124
+ orderBy?: number | null;
25053
26125
  } | null;
25054
26126
  } | null;
25055
26127
  } | null> | null;
@@ -25076,10 +26148,11 @@ export type MysupplierListQuery = {
25076
26148
  description?: string | null;
25077
26149
  industrySector?: {
25078
26150
  __typename?: 'IndustrySectorObject';
25079
- id: string;
25080
- name: string;
25081
- description: string;
25082
- orderBy: number;
26151
+ id?: string | null;
26152
+ pk?: string | null;
26153
+ name?: string | null;
26154
+ description?: string | null;
26155
+ orderBy?: number | null;
25083
26156
  } | null;
25084
26157
  } | null;
25085
26158
  industries?: Array<{
@@ -25095,10 +26168,11 @@ export type MysupplierListQuery = {
25095
26168
  description?: string | null;
25096
26169
  industrySector?: {
25097
26170
  __typename?: 'IndustrySectorObject';
25098
- id: string;
25099
- name: string;
25100
- description: string;
25101
- orderBy: number;
26171
+ id?: string | null;
26172
+ pk?: string | null;
26173
+ name?: string | null;
26174
+ description?: string | null;
26175
+ orderBy?: number | null;
25102
26176
  } | null;
25103
26177
  } | null;
25104
26178
  } | null> | null;
@@ -25293,6 +26367,154 @@ export type ProductTypesQuery = {
25293
26367
  } | null> | null;
25294
26368
  } | null> | null;
25295
26369
  };
26370
+ export type QuoteQueryVariables = Exact<{
26371
+ id: Scalars['ID']['input'];
26372
+ }>;
26373
+ export type QuoteQuery = {
26374
+ __typename?: 'Query';
26375
+ quote?: {
26376
+ __typename?: 'QuoteObject';
26377
+ id: string;
26378
+ quoteNumber: string;
26379
+ title: string;
26380
+ value: any;
26381
+ status: QuoteStatus;
26382
+ expirationDate?: any | null;
26383
+ notes: string;
26384
+ companyId: string;
26385
+ companyName: string;
26386
+ contactId?: string | null;
26387
+ contactFirstName?: string | null;
26388
+ contactLastName?: string | null;
26389
+ contactFullName?: string | null;
26390
+ createdById?: string | null;
26391
+ createdByName?: string | null;
26392
+ lastUpdatedByName?: string | null;
26393
+ createdAt: any;
26394
+ updatedAt: any;
26395
+ wonAt?: any | null;
26396
+ lostAt?: any | null;
26397
+ } | null;
26398
+ };
26399
+ export type QuoteFilterOptionsQueryVariables = Exact<{
26400
+ [key: string]: never;
26401
+ }>;
26402
+ export type QuoteFilterOptionsQuery = {
26403
+ __typename?: 'Query';
26404
+ quoteFilterOptions?: {
26405
+ __typename?: 'QuoteFilterOptions';
26406
+ regions: Array<{
26407
+ __typename?: 'QuoteFilterOptionString';
26408
+ value: string;
26409
+ count: number;
26410
+ }>;
26411
+ states: Array<{
26412
+ __typename?: 'QuoteFilterOptionString';
26413
+ value: string;
26414
+ count: number;
26415
+ }>;
26416
+ industries: Array<{
26417
+ __typename?: 'QuoteFilterOptionEntity';
26418
+ id: string;
26419
+ name: string;
26420
+ count: number;
26421
+ }>;
26422
+ salespeople: Array<{
26423
+ __typename?: 'QuoteFilterOptionEntity';
26424
+ id: string;
26425
+ name: string;
26426
+ count: number;
26427
+ }>;
26428
+ companies: Array<{
26429
+ __typename?: 'QuoteFilterOptionEntity';
26430
+ id: string;
26431
+ name: string;
26432
+ count: number;
26433
+ }>;
26434
+ } | null;
26435
+ };
26436
+ export type QuotePerformanceQueryVariables = Exact<{
26437
+ dateFrom?: InputMaybe<Scalars['Date']['input']>;
26438
+ dateTo?: InputMaybe<Scalars['Date']['input']>;
26439
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
26440
+ regions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
26441
+ states?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
26442
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
26443
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
26444
+ }>;
26445
+ export type QuotePerformanceQuery = {
26446
+ __typename?: 'Query';
26447
+ quotePerformance?: {
26448
+ __typename?: 'QuotePerformanceObject';
26449
+ winRate: number;
26450
+ lostRate: number;
26451
+ wonRevenue: any;
26452
+ lostRevenue: any;
26453
+ avgDaysToWin?: number | null;
26454
+ avgQuoteSize: any;
26455
+ quotesCreated: number;
26456
+ openPipelineValue: any;
26457
+ openPipelineCount: number;
26458
+ wonCount: number;
26459
+ lostCount: number;
26460
+ byStage: Array<{
26461
+ __typename?: 'QuoteStageBreakdown';
26462
+ status: QuoteStatus;
26463
+ count: number;
26464
+ totalValue: any;
26465
+ }>;
26466
+ winRateTrend: Array<{
26467
+ __typename?: 'QuoteWinRateTrendPoint';
26468
+ period: any;
26469
+ quotesCreated: number;
26470
+ winRate: number;
26471
+ }>;
26472
+ } | null;
26473
+ };
26474
+ export type QuotesQueryVariables = Exact<{
26475
+ filters?: InputMaybe<QuoteFilterInput>;
26476
+ pagination?: InputMaybe<PaginationInput>;
26477
+ sort?: InputMaybe<QuoteSortInput>;
26478
+ }>;
26479
+ export type QuotesQuery = {
26480
+ __typename?: 'Query';
26481
+ quotes?: {
26482
+ __typename?: 'PaginatedQuoteList';
26483
+ totalValue: any;
26484
+ items: Array<{
26485
+ __typename?: 'QuoteObject';
26486
+ id: string;
26487
+ quoteNumber: string;
26488
+ title: string;
26489
+ value: any;
26490
+ status: QuoteStatus;
26491
+ expirationDate?: any | null;
26492
+ notes: string;
26493
+ companyId: string;
26494
+ companyName: string;
26495
+ contactId?: string | null;
26496
+ contactFirstName?: string | null;
26497
+ contactLastName?: string | null;
26498
+ contactFullName?: string | null;
26499
+ createdById?: string | null;
26500
+ createdByName?: string | null;
26501
+ lastUpdatedByName?: string | null;
26502
+ createdAt: any;
26503
+ updatedAt: any;
26504
+ wonAt?: any | null;
26505
+ lostAt?: any | null;
26506
+ }>;
26507
+ pagination: {
26508
+ __typename?: 'PaginationInfo';
26509
+ currentPage?: number | null;
26510
+ pageSize?: number | null;
26511
+ totalPages?: number | null;
26512
+ totalCount?: number | null;
26513
+ hasNextPage?: boolean | null;
26514
+ hasPreviousPage?: boolean | null;
26515
+ };
26516
+ } | null;
26517
+ };
25296
26518
  export type RecentHistoryQueryVariables = Exact<{
25297
26519
  filter?: InputMaybe<RecentHistoryFilterInput>;
25298
26520
  sort?: InputMaybe<RecentHistorySortInput>;
@@ -25980,10 +27202,11 @@ export type RecentHistoryQuery = {
25980
27202
  description?: string | null;
25981
27203
  industrySector?: {
25982
27204
  __typename?: 'IndustrySectorObject';
25983
- id: string;
25984
- name: string;
25985
- description: string;
25986
- orderBy: number;
27205
+ id?: string | null;
27206
+ pk?: string | null;
27207
+ name?: string | null;
27208
+ description?: string | null;
27209
+ orderBy?: number | null;
25987
27210
  } | null;
25988
27211
  } | null;
25989
27212
  } | null> | null;
@@ -26016,10 +27239,11 @@ export type RecentHistoryQuery = {
26016
27239
  description?: string | null;
26017
27240
  industrySector?: {
26018
27241
  __typename?: 'IndustrySectorObject';
26019
- id: string;
26020
- name: string;
26021
- description: string;
26022
- orderBy: number;
27242
+ id?: string | null;
27243
+ pk?: string | null;
27244
+ name?: string | null;
27245
+ description?: string | null;
27246
+ orderBy?: number | null;
26023
27247
  } | null;
26024
27248
  } | null;
26025
27249
  industries?: Array<{
@@ -26035,10 +27259,11 @@ export type RecentHistoryQuery = {
26035
27259
  description?: string | null;
26036
27260
  industrySector?: {
26037
27261
  __typename?: 'IndustrySectorObject';
26038
- id: string;
26039
- name: string;
26040
- description: string;
26041
- orderBy: number;
27262
+ id?: string | null;
27263
+ pk?: string | null;
27264
+ name?: string | null;
27265
+ description?: string | null;
27266
+ orderBy?: number | null;
26042
27267
  } | null;
26043
27268
  } | null;
26044
27269
  } | null> | null;
@@ -27898,10 +29123,11 @@ export type SupplierQuery = {
27898
29123
  description?: string | null;
27899
29124
  industrySector?: {
27900
29125
  __typename?: 'IndustrySectorObject';
27901
- id: string;
27902
- name: string;
27903
- description: string;
27904
- orderBy: number;
29126
+ id?: string | null;
29127
+ pk?: string | null;
29128
+ name?: string | null;
29129
+ description?: string | null;
29130
+ orderBy?: number | null;
27905
29131
  } | null;
27906
29132
  } | null;
27907
29133
  } | null> | null;
@@ -27934,10 +29160,11 @@ export type SupplierQuery = {
27934
29160
  description?: string | null;
27935
29161
  industrySector?: {
27936
29162
  __typename?: 'IndustrySectorObject';
27937
- id: string;
27938
- name: string;
27939
- description: string;
27940
- orderBy: number;
29163
+ id?: string | null;
29164
+ pk?: string | null;
29165
+ name?: string | null;
29166
+ description?: string | null;
29167
+ orderBy?: number | null;
27941
29168
  } | null;
27942
29169
  } | null;
27943
29170
  industries?: Array<{
@@ -27953,10 +29180,11 @@ export type SupplierQuery = {
27953
29180
  description?: string | null;
27954
29181
  industrySector?: {
27955
29182
  __typename?: 'IndustrySectorObject';
27956
- id: string;
27957
- name: string;
27958
- description: string;
27959
- orderBy: number;
29183
+ id?: string | null;
29184
+ pk?: string | null;
29185
+ name?: string | null;
29186
+ description?: string | null;
29187
+ orderBy?: number | null;
27960
29188
  } | null;
27961
29189
  } | null;
27962
29190
  } | null> | null;
@@ -28708,10 +29936,11 @@ export type SupplierlistQuery = {
28708
29936
  description?: string | null;
28709
29937
  industrySector?: {
28710
29938
  __typename?: 'IndustrySectorObject';
28711
- id: string;
28712
- name: string;
28713
- description: string;
28714
- orderBy: number;
29939
+ id?: string | null;
29940
+ pk?: string | null;
29941
+ name?: string | null;
29942
+ description?: string | null;
29943
+ orderBy?: number | null;
28715
29944
  } | null;
28716
29945
  } | null;
28717
29946
  } | null> | null;
@@ -28734,10 +29963,11 @@ export type SupplierlistQuery = {
28734
29963
  description?: string | null;
28735
29964
  industrySector?: {
28736
29965
  __typename?: 'IndustrySectorObject';
28737
- id: string;
28738
- name: string;
28739
- description: string;
28740
- orderBy: number;
29966
+ id?: string | null;
29967
+ pk?: string | null;
29968
+ name?: string | null;
29969
+ description?: string | null;
29970
+ orderBy?: number | null;
28741
29971
  } | null;
28742
29972
  } | null;
28743
29973
  industries?: Array<{
@@ -28753,10 +29983,11 @@ export type SupplierlistQuery = {
28753
29983
  description?: string | null;
28754
29984
  industrySector?: {
28755
29985
  __typename?: 'IndustrySectorObject';
28756
- id: string;
28757
- name: string;
28758
- description: string;
28759
- orderBy: number;
29986
+ id?: string | null;
29987
+ pk?: string | null;
29988
+ name?: string | null;
29989
+ description?: string | null;
29990
+ orderBy?: number | null;
28760
29991
  } | null;
28761
29992
  } | null;
28762
29993
  } | null> | null;
@@ -29407,10 +30638,11 @@ export type SupplierlistListQuery = {
29407
30638
  description?: string | null;
29408
30639
  industrySector?: {
29409
30640
  __typename?: 'IndustrySectorObject';
29410
- id: string;
29411
- name: string;
29412
- description: string;
29413
- orderBy: number;
30641
+ id?: string | null;
30642
+ pk?: string | null;
30643
+ name?: string | null;
30644
+ description?: string | null;
30645
+ orderBy?: number | null;
29414
30646
  } | null;
29415
30647
  } | null;
29416
30648
  } | null> | null;
@@ -29433,10 +30665,11 @@ export type SupplierlistListQuery = {
29433
30665
  description?: string | null;
29434
30666
  industrySector?: {
29435
30667
  __typename?: 'IndustrySectorObject';
29436
- id: string;
29437
- name: string;
29438
- description: string;
29439
- orderBy: number;
30668
+ id?: string | null;
30669
+ pk?: string | null;
30670
+ name?: string | null;
30671
+ description?: string | null;
30672
+ orderBy?: number | null;
29440
30673
  } | null;
29441
30674
  } | null;
29442
30675
  industries?: Array<{
@@ -29452,10 +30685,11 @@ export type SupplierlistListQuery = {
29452
30685
  description?: string | null;
29453
30686
  industrySector?: {
29454
30687
  __typename?: 'IndustrySectorObject';
29455
- id: string;
29456
- name: string;
29457
- description: string;
29458
- orderBy: number;
30688
+ id?: string | null;
30689
+ pk?: string | null;
30690
+ name?: string | null;
30691
+ description?: string | null;
30692
+ orderBy?: number | null;
29459
30693
  } | null;
29460
30694
  } | null;
29461
30695
  } | null> | null;
@@ -30218,10 +31452,11 @@ export type SuppliersQuery = {
30218
31452
  description?: string | null;
30219
31453
  industrySector?: {
30220
31454
  __typename?: 'IndustrySectorObject';
30221
- id: string;
30222
- name: string;
30223
- description: string;
30224
- orderBy: number;
31455
+ id?: string | null;
31456
+ pk?: string | null;
31457
+ name?: string | null;
31458
+ description?: string | null;
31459
+ orderBy?: number | null;
30225
31460
  } | null;
30226
31461
  } | null;
30227
31462
  } | null> | null;
@@ -30254,10 +31489,11 @@ export type SuppliersQuery = {
30254
31489
  description?: string | null;
30255
31490
  industrySector?: {
30256
31491
  __typename?: 'IndustrySectorObject';
30257
- id: string;
30258
- name: string;
30259
- description: string;
30260
- orderBy: number;
31492
+ id?: string | null;
31493
+ pk?: string | null;
31494
+ name?: string | null;
31495
+ description?: string | null;
31496
+ orderBy?: number | null;
30261
31497
  } | null;
30262
31498
  } | null;
30263
31499
  industries?: Array<{
@@ -30273,10 +31509,11 @@ export type SuppliersQuery = {
30273
31509
  description?: string | null;
30274
31510
  industrySector?: {
30275
31511
  __typename?: 'IndustrySectorObject';
30276
- id: string;
30277
- name: string;
30278
- description: string;
30279
- orderBy: number;
31512
+ id?: string | null;
31513
+ pk?: string | null;
31514
+ name?: string | null;
31515
+ description?: string | null;
31516
+ orderBy?: number | null;
30280
31517
  } | null;
30281
31518
  } | null;
30282
31519
  } | null> | null;
@@ -31614,6 +32851,31 @@ export declare function useCreateNotificationMutation(baseOptions?: Apollo.Mutat
31614
32851
  export type CreateNotificationMutationHookResult = ReturnType<typeof useCreateNotificationMutation>;
31615
32852
  export type CreateNotificationMutationResult = Apollo.MutationResult<CreateNotificationMutation>;
31616
32853
  export type CreateNotificationMutationOptions = Apollo.BaseMutationOptions<CreateNotificationMutation, CreateNotificationMutationVariables>;
32854
+ export declare const CreateQuoteDocument: Apollo.DocumentNode;
32855
+ export type CreateQuoteMutationFn = Apollo.MutationFunction<CreateQuoteMutation, CreateQuoteMutationVariables>;
32856
+ /**
32857
+ * __useCreateQuoteMutation__
32858
+ *
32859
+ * To run a mutation, you first call `useCreateQuoteMutation` within a React component and pass it any options that fit your needs.
32860
+ * When your component renders, `useCreateQuoteMutation` returns a tuple that includes:
32861
+ * - A mutate function that you can call at any time to execute the mutation
32862
+ * - An object with fields that represent the current status of the mutation's execution
32863
+ *
32864
+ * @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;
32865
+ *
32866
+ * @example
32867
+ * const [createQuoteMutation, { data, loading, error }] = useCreateQuoteMutation({
32868
+ * variables: {
32869
+ * input: // value for 'input'
32870
+ * },
32871
+ * });
32872
+ */
32873
+ export declare function useCreateQuoteMutation(baseOptions?: Apollo.MutationHookOptions<CreateQuoteMutation, CreateQuoteMutationVariables>): Apollo.MutationTuple<CreateQuoteMutation, Exact<{
32874
+ input: CreateQuoteInputType;
32875
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
32876
+ export type CreateQuoteMutationHookResult = ReturnType<typeof useCreateQuoteMutation>;
32877
+ export type CreateQuoteMutationResult = Apollo.MutationResult<CreateQuoteMutation>;
32878
+ export type CreateQuoteMutationOptions = Apollo.BaseMutationOptions<CreateQuoteMutation, CreateQuoteMutationVariables>;
31617
32879
  export declare const CreateRfqDocument: Apollo.DocumentNode;
31618
32880
  export type CreateRfqMutationFn = Apollo.MutationFunction<CreateRfqMutation, CreateRfqMutationVariables>;
31619
32881
  /**
@@ -32068,6 +33330,31 @@ export declare function useDeleteNotificationMutation(baseOptions?: Apollo.Mutat
32068
33330
  export type DeleteNotificationMutationHookResult = ReturnType<typeof useDeleteNotificationMutation>;
32069
33331
  export type DeleteNotificationMutationResult = Apollo.MutationResult<DeleteNotificationMutation>;
32070
33332
  export type DeleteNotificationMutationOptions = Apollo.BaseMutationOptions<DeleteNotificationMutation, DeleteNotificationMutationVariables>;
33333
+ export declare const DeleteQuoteDocument: Apollo.DocumentNode;
33334
+ export type DeleteQuoteMutationFn = Apollo.MutationFunction<DeleteQuoteMutation, DeleteQuoteMutationVariables>;
33335
+ /**
33336
+ * __useDeleteQuoteMutation__
33337
+ *
33338
+ * To run a mutation, you first call `useDeleteQuoteMutation` within a React component and pass it any options that fit your needs.
33339
+ * When your component renders, `useDeleteQuoteMutation` returns a tuple that includes:
33340
+ * - A mutate function that you can call at any time to execute the mutation
33341
+ * - An object with fields that represent the current status of the mutation's execution
33342
+ *
33343
+ * @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;
33344
+ *
33345
+ * @example
33346
+ * const [deleteQuoteMutation, { data, loading, error }] = useDeleteQuoteMutation({
33347
+ * variables: {
33348
+ * id: // value for 'id'
33349
+ * },
33350
+ * });
33351
+ */
33352
+ export declare function useDeleteQuoteMutation(baseOptions?: Apollo.MutationHookOptions<DeleteQuoteMutation, DeleteQuoteMutationVariables>): Apollo.MutationTuple<DeleteQuoteMutation, Exact<{
33353
+ id: Scalars["ID"]["input"];
33354
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
33355
+ export type DeleteQuoteMutationHookResult = ReturnType<typeof useDeleteQuoteMutation>;
33356
+ export type DeleteQuoteMutationResult = Apollo.MutationResult<DeleteQuoteMutation>;
33357
+ export type DeleteQuoteMutationOptions = Apollo.BaseMutationOptions<DeleteQuoteMutation, DeleteQuoteMutationVariables>;
32071
33358
  export declare const DeleteRfqDocument: Apollo.DocumentNode;
32072
33359
  export type DeleteRfqMutationFn = Apollo.MutationFunction<DeleteRfqMutation, DeleteRfqMutationVariables>;
32073
33360
  /**
@@ -34182,6 +35469,58 @@ export declare function useUpdateMysupplierMutation(baseOptions?: Apollo.Mutatio
34182
35469
  export type UpdateMysupplierMutationHookResult = ReturnType<typeof useUpdateMysupplierMutation>;
34183
35470
  export type UpdateMysupplierMutationResult = Apollo.MutationResult<UpdateMysupplierMutation>;
34184
35471
  export type UpdateMysupplierMutationOptions = Apollo.BaseMutationOptions<UpdateMysupplierMutation, UpdateMysupplierMutationVariables>;
35472
+ export declare const UpdateQuoteDocument: Apollo.DocumentNode;
35473
+ export type UpdateQuoteMutationFn = Apollo.MutationFunction<UpdateQuoteMutation, UpdateQuoteMutationVariables>;
35474
+ /**
35475
+ * __useUpdateQuoteMutation__
35476
+ *
35477
+ * To run a mutation, you first call `useUpdateQuoteMutation` within a React component and pass it any options that fit your needs.
35478
+ * When your component renders, `useUpdateQuoteMutation` returns a tuple that includes:
35479
+ * - A mutate function that you can call at any time to execute the mutation
35480
+ * - An object with fields that represent the current status of the mutation's execution
35481
+ *
35482
+ * @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;
35483
+ *
35484
+ * @example
35485
+ * const [updateQuoteMutation, { data, loading, error }] = useUpdateQuoteMutation({
35486
+ * variables: {
35487
+ * input: // value for 'input'
35488
+ * },
35489
+ * });
35490
+ */
35491
+ export declare function useUpdateQuoteMutation(baseOptions?: Apollo.MutationHookOptions<UpdateQuoteMutation, UpdateQuoteMutationVariables>): Apollo.MutationTuple<UpdateQuoteMutation, Exact<{
35492
+ input: UpdateQuoteInputType;
35493
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
35494
+ export type UpdateQuoteMutationHookResult = ReturnType<typeof useUpdateQuoteMutation>;
35495
+ export type UpdateQuoteMutationResult = Apollo.MutationResult<UpdateQuoteMutation>;
35496
+ export type UpdateQuoteMutationOptions = Apollo.BaseMutationOptions<UpdateQuoteMutation, UpdateQuoteMutationVariables>;
35497
+ export declare const UpdateQuoteStatusDocument: Apollo.DocumentNode;
35498
+ export type UpdateQuoteStatusMutationFn = Apollo.MutationFunction<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>;
35499
+ /**
35500
+ * __useUpdateQuoteStatusMutation__
35501
+ *
35502
+ * To run a mutation, you first call `useUpdateQuoteStatusMutation` within a React component and pass it any options that fit your needs.
35503
+ * When your component renders, `useUpdateQuoteStatusMutation` returns a tuple that includes:
35504
+ * - A mutate function that you can call at any time to execute the mutation
35505
+ * - An object with fields that represent the current status of the mutation's execution
35506
+ *
35507
+ * @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;
35508
+ *
35509
+ * @example
35510
+ * const [updateQuoteStatusMutation, { data, loading, error }] = useUpdateQuoteStatusMutation({
35511
+ * variables: {
35512
+ * id: // value for 'id'
35513
+ * status: // value for 'status'
35514
+ * },
35515
+ * });
35516
+ */
35517
+ export declare function useUpdateQuoteStatusMutation(baseOptions?: Apollo.MutationHookOptions<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>): Apollo.MutationTuple<UpdateQuoteStatusMutation, Exact<{
35518
+ id: Scalars["ID"]["input"];
35519
+ status: QuoteStatus;
35520
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
35521
+ export type UpdateQuoteStatusMutationHookResult = ReturnType<typeof useUpdateQuoteStatusMutation>;
35522
+ export type UpdateQuoteStatusMutationResult = Apollo.MutationResult<UpdateQuoteStatusMutation>;
35523
+ export type UpdateQuoteStatusMutationOptions = Apollo.BaseMutationOptions<UpdateQuoteStatusMutation, UpdateQuoteStatusMutationVariables>;
34185
35524
  export declare const UpdateRfqDocument: Apollo.DocumentNode;
34186
35525
  export type UpdateRfqMutationFn = Apollo.MutationFunction<UpdateRfqMutation, UpdateRfqMutationVariables>;
34187
35526
  /**
@@ -35767,6 +37106,40 @@ export type CompanyMetadataQueryHookResult = ReturnType<typeof useCompanyMetadat
35767
37106
  export type CompanyMetadataLazyQueryHookResult = ReturnType<typeof useCompanyMetadataLazyQuery>;
35768
37107
  export type CompanyMetadataSuspenseQueryHookResult = ReturnType<typeof useCompanyMetadataSuspenseQuery>;
35769
37108
  export type CompanyMetadataQueryResult = Apollo.QueryResult<CompanyMetadataQuery, CompanyMetadataQueryVariables>;
37109
+ export declare const CompanyNameSearchDocument: Apollo.DocumentNode;
37110
+ /**
37111
+ * __useCompanyNameSearchQuery__
37112
+ *
37113
+ * To run a query within a React component, call `useCompanyNameSearchQuery` and pass it any options that fit your needs.
37114
+ * When your component renders, `useCompanyNameSearchQuery` returns an object from Apollo Client that contains loading, error, and data properties
37115
+ * you can use to render your UI.
37116
+ *
37117
+ * @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;
37118
+ *
37119
+ * @example
37120
+ * const { data, loading, error } = useCompanyNameSearchQuery({
37121
+ * variables: {
37122
+ * search: // value for 'search'
37123
+ * pagination: // value for 'pagination'
37124
+ * },
37125
+ * });
37126
+ */
37127
+ export declare function useCompanyNameSearchQuery(baseOptions?: Apollo.QueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.QueryResult<CompanyNameSearchQuery, Exact<{
37128
+ search?: InputMaybe<Scalars["String"]["input"]>;
37129
+ pagination?: InputMaybe<PaginationInput>;
37130
+ }>>;
37131
+ export declare function useCompanyNameSearchLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.LazyQueryResultTuple<CompanyNameSearchQuery, Exact<{
37132
+ search?: InputMaybe<Scalars["String"]["input"]>;
37133
+ pagination?: InputMaybe<PaginationInput>;
37134
+ }>>;
37135
+ export declare function useCompanyNameSearchSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>): Apollo.UseSuspenseQueryResult<CompanyNameSearchQuery | undefined, Exact<{
37136
+ search?: InputMaybe<Scalars["String"]["input"]>;
37137
+ pagination?: InputMaybe<PaginationInput>;
37138
+ }>>;
37139
+ export type CompanyNameSearchQueryHookResult = ReturnType<typeof useCompanyNameSearchQuery>;
37140
+ export type CompanyNameSearchLazyQueryHookResult = ReturnType<typeof useCompanyNameSearchLazyQuery>;
37141
+ export type CompanyNameSearchSuspenseQueryHookResult = ReturnType<typeof useCompanyNameSearchSuspenseQuery>;
37142
+ export type CompanyNameSearchQueryResult = Apollo.QueryResult<CompanyNameSearchQuery, CompanyNameSearchQueryVariables>;
35770
37143
  export declare const CompanyNoteDocument: Apollo.DocumentNode;
35771
37144
  /**
35772
37145
  * __useCompanyNoteQuery__
@@ -37031,6 +38404,162 @@ export type ProductTypesQueryHookResult = ReturnType<typeof useProductTypesQuery
37031
38404
  export type ProductTypesLazyQueryHookResult = ReturnType<typeof useProductTypesLazyQuery>;
37032
38405
  export type ProductTypesSuspenseQueryHookResult = ReturnType<typeof useProductTypesSuspenseQuery>;
37033
38406
  export type ProductTypesQueryResult = Apollo.QueryResult<ProductTypesQuery, ProductTypesQueryVariables>;
38407
+ export declare const QuoteDocument: Apollo.DocumentNode;
38408
+ /**
38409
+ * __useQuoteQuery__
38410
+ *
38411
+ * To run a query within a React component, call `useQuoteQuery` and pass it any options that fit your needs.
38412
+ * When your component renders, `useQuoteQuery` returns an object from Apollo Client that contains loading, error, and data properties
38413
+ * you can use to render your UI.
38414
+ *
38415
+ * @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;
38416
+ *
38417
+ * @example
38418
+ * const { data, loading, error } = useQuoteQuery({
38419
+ * variables: {
38420
+ * id: // value for 'id'
38421
+ * },
38422
+ * });
38423
+ */
38424
+ export declare function useQuoteQuery(baseOptions: Apollo.QueryHookOptions<QuoteQuery, QuoteQueryVariables> & ({
38425
+ variables: QuoteQueryVariables;
38426
+ skip?: boolean;
38427
+ } | {
38428
+ skip: boolean;
38429
+ })): Apollo.QueryResult<QuoteQuery, Exact<{
38430
+ id: Scalars["ID"]["input"];
38431
+ }>>;
38432
+ export declare function useQuoteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuoteQuery, QuoteQueryVariables>): Apollo.LazyQueryResultTuple<QuoteQuery, Exact<{
38433
+ id: Scalars["ID"]["input"];
38434
+ }>>;
38435
+ export declare function useQuoteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuoteQuery, QuoteQueryVariables>): Apollo.UseSuspenseQueryResult<QuoteQuery | undefined, Exact<{
38436
+ id: Scalars["ID"]["input"];
38437
+ }>>;
38438
+ export type QuoteQueryHookResult = ReturnType<typeof useQuoteQuery>;
38439
+ export type QuoteLazyQueryHookResult = ReturnType<typeof useQuoteLazyQuery>;
38440
+ export type QuoteSuspenseQueryHookResult = ReturnType<typeof useQuoteSuspenseQuery>;
38441
+ export type QuoteQueryResult = Apollo.QueryResult<QuoteQuery, QuoteQueryVariables>;
38442
+ export declare const QuoteFilterOptionsDocument: Apollo.DocumentNode;
38443
+ /**
38444
+ * __useQuoteFilterOptionsQuery__
38445
+ *
38446
+ * To run a query within a React component, call `useQuoteFilterOptionsQuery` and pass it any options that fit your needs.
38447
+ * When your component renders, `useQuoteFilterOptionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
38448
+ * you can use to render your UI.
38449
+ *
38450
+ * @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;
38451
+ *
38452
+ * @example
38453
+ * const { data, loading, error } = useQuoteFilterOptionsQuery({
38454
+ * variables: {
38455
+ * },
38456
+ * });
38457
+ */
38458
+ export declare function useQuoteFilterOptionsQuery(baseOptions?: Apollo.QueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.QueryResult<QuoteFilterOptionsQuery, Exact<{
38459
+ [key: string]: never;
38460
+ }>>;
38461
+ export declare function useQuoteFilterOptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.LazyQueryResultTuple<QuoteFilterOptionsQuery, Exact<{
38462
+ [key: string]: never;
38463
+ }>>;
38464
+ export declare function useQuoteFilterOptionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>): Apollo.UseSuspenseQueryResult<QuoteFilterOptionsQuery | undefined, Exact<{
38465
+ [key: string]: never;
38466
+ }>>;
38467
+ export type QuoteFilterOptionsQueryHookResult = ReturnType<typeof useQuoteFilterOptionsQuery>;
38468
+ export type QuoteFilterOptionsLazyQueryHookResult = ReturnType<typeof useQuoteFilterOptionsLazyQuery>;
38469
+ export type QuoteFilterOptionsSuspenseQueryHookResult = ReturnType<typeof useQuoteFilterOptionsSuspenseQuery>;
38470
+ export type QuoteFilterOptionsQueryResult = Apollo.QueryResult<QuoteFilterOptionsQuery, QuoteFilterOptionsQueryVariables>;
38471
+ export declare const QuotePerformanceDocument: Apollo.DocumentNode;
38472
+ /**
38473
+ * __useQuotePerformanceQuery__
38474
+ *
38475
+ * To run a query within a React component, call `useQuotePerformanceQuery` and pass it any options that fit your needs.
38476
+ * When your component renders, `useQuotePerformanceQuery` returns an object from Apollo Client that contains loading, error, and data properties
38477
+ * you can use to render your UI.
38478
+ *
38479
+ * @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;
38480
+ *
38481
+ * @example
38482
+ * const { data, loading, error } = useQuotePerformanceQuery({
38483
+ * variables: {
38484
+ * dateFrom: // value for 'dateFrom'
38485
+ * dateTo: // value for 'dateTo'
38486
+ * companyIds: // value for 'companyIds'
38487
+ * regions: // value for 'regions'
38488
+ * states: // value for 'states'
38489
+ * industryIds: // value for 'industryIds'
38490
+ * salespersonIds: // value for 'salespersonIds'
38491
+ * },
38492
+ * });
38493
+ */
38494
+ export declare function useQuotePerformanceQuery(baseOptions?: Apollo.QueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.QueryResult<QuotePerformanceQuery, Exact<{
38495
+ dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
38496
+ dateTo?: InputMaybe<Scalars["Date"]["input"]>;
38497
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38498
+ regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38499
+ states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38500
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38501
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38502
+ }>>;
38503
+ export declare function useQuotePerformanceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.LazyQueryResultTuple<QuotePerformanceQuery, Exact<{
38504
+ dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
38505
+ dateTo?: InputMaybe<Scalars["Date"]["input"]>;
38506
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38507
+ regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38508
+ states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38509
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38510
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38511
+ }>>;
38512
+ export declare function useQuotePerformanceSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuotePerformanceQuery, QuotePerformanceQueryVariables>): Apollo.UseSuspenseQueryResult<QuotePerformanceQuery | undefined, Exact<{
38513
+ dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
38514
+ dateTo?: InputMaybe<Scalars["Date"]["input"]>;
38515
+ companyIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38516
+ regions?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38517
+ states?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
38518
+ industryIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38519
+ salespersonIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
38520
+ }>>;
38521
+ export type QuotePerformanceQueryHookResult = ReturnType<typeof useQuotePerformanceQuery>;
38522
+ export type QuotePerformanceLazyQueryHookResult = ReturnType<typeof useQuotePerformanceLazyQuery>;
38523
+ export type QuotePerformanceSuspenseQueryHookResult = ReturnType<typeof useQuotePerformanceSuspenseQuery>;
38524
+ export type QuotePerformanceQueryResult = Apollo.QueryResult<QuotePerformanceQuery, QuotePerformanceQueryVariables>;
38525
+ export declare const QuotesDocument: Apollo.DocumentNode;
38526
+ /**
38527
+ * __useQuotesQuery__
38528
+ *
38529
+ * To run a query within a React component, call `useQuotesQuery` and pass it any options that fit your needs.
38530
+ * When your component renders, `useQuotesQuery` returns an object from Apollo Client that contains loading, error, and data properties
38531
+ * you can use to render your UI.
38532
+ *
38533
+ * @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;
38534
+ *
38535
+ * @example
38536
+ * const { data, loading, error } = useQuotesQuery({
38537
+ * variables: {
38538
+ * filters: // value for 'filters'
38539
+ * pagination: // value for 'pagination'
38540
+ * sort: // value for 'sort'
38541
+ * },
38542
+ * });
38543
+ */
38544
+ export declare function useQuotesQuery(baseOptions?: Apollo.QueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.QueryResult<QuotesQuery, Exact<{
38545
+ filters?: InputMaybe<QuoteFilterInput>;
38546
+ pagination?: InputMaybe<PaginationInput>;
38547
+ sort?: InputMaybe<QuoteSortInput>;
38548
+ }>>;
38549
+ export declare function useQuotesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.LazyQueryResultTuple<QuotesQuery, Exact<{
38550
+ filters?: InputMaybe<QuoteFilterInput>;
38551
+ pagination?: InputMaybe<PaginationInput>;
38552
+ sort?: InputMaybe<QuoteSortInput>;
38553
+ }>>;
38554
+ export declare function useQuotesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuotesQuery, QuotesQueryVariables>): Apollo.UseSuspenseQueryResult<QuotesQuery | undefined, Exact<{
38555
+ filters?: InputMaybe<QuoteFilterInput>;
38556
+ pagination?: InputMaybe<PaginationInput>;
38557
+ sort?: InputMaybe<QuoteSortInput>;
38558
+ }>>;
38559
+ export type QuotesQueryHookResult = ReturnType<typeof useQuotesQuery>;
38560
+ export type QuotesLazyQueryHookResult = ReturnType<typeof useQuotesLazyQuery>;
38561
+ export type QuotesSuspenseQueryHookResult = ReturnType<typeof useQuotesSuspenseQuery>;
38562
+ export type QuotesQueryResult = Apollo.QueryResult<QuotesQuery, QuotesQueryVariables>;
37034
38563
  export declare const RecentHistoryDocument: Apollo.DocumentNode;
37035
38564
  /**
37036
38565
  * __useRecentHistoryQuery__