cf-service-sdk 0.0.53 → 0.0.55

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.
@@ -314,6 +314,14 @@ export declare enum AppNotificationNotificationTypeChoices {
314
314
  /** Warning */
315
315
  Warning = "WARNING"
316
316
  }
317
+ export type AuditLogItemType = {
318
+ __typename?: 'AuditLogItemType';
319
+ description?: Maybe<Scalars['String']['output']>;
320
+ id: Scalars['ID']['output'];
321
+ timestamp: Scalars['DateTime']['output'];
322
+ title: Scalars['String']['output'];
323
+ type: Scalars['String']['output'];
324
+ };
317
325
  /** BusinessProfileType */
318
326
  export type BusinessProfileType = {
319
327
  __typename?: 'BusinessProfileType';
@@ -498,8 +506,8 @@ export type CallReportFilterInput = {
498
506
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
499
507
  /** Custom start date (used if date_group is 'custom') */
500
508
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
501
- /** Filter by specific user/salesperson (omit for all users) */
502
- userId?: InputMaybe<Scalars['ID']['input']>;
509
+ /** Filter by specific user/salesperson(s) (omit for all users) */
510
+ userId?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
503
511
  };
504
512
  /** Call log entry for the report table */
505
513
  export type CallReportLogObject = {
@@ -574,6 +582,7 @@ export type CampaignContactItemType = {
574
582
  companyId?: Maybe<Scalars['ID']['output']>;
575
583
  /** Company name of the contact */
576
584
  companyName?: Maybe<Scalars['String']['output']>;
585
+ companyOwners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
577
586
  /** State of the contact */
578
587
  companyState?: Maybe<Scalars['String']['output']>;
579
588
  /** ID of the contact */
@@ -813,6 +822,8 @@ export type CompanyFilterInput = {
813
822
  metalGrade?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
814
823
  /** Filter by metal type ID(s) */
815
824
  metalType?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
825
+ /** Filter by owner user ID(s) */
826
+ owners?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
816
827
  /** Filter by product category ID(s) */
817
828
  productCategory?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
818
829
  /** Filter by product type ID(s) */
@@ -860,6 +871,8 @@ export type CompanyInput = {
860
871
  /** List of company locations to create/update */
861
872
  locations?: InputMaybe<Array<InputMaybe<CompanyLocationInput>>>;
862
873
  logoUrl?: InputMaybe<Scalars['String']['input']>;
874
+ /** List of user IDs to assign as owners of the company */
875
+ owners?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
863
876
  phone?: InputMaybe<Scalars['String']['input']>;
864
877
  productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
865
878
  state?: InputMaybe<Scalars['String']['input']>;
@@ -975,6 +988,8 @@ export type CompanyObject = {
975
988
  address1?: Maybe<Scalars['String']['output']>;
976
989
  address2?: Maybe<Scalars['String']['output']>;
977
990
  annualRevenue?: Maybe<Scalars['String']['output']>;
991
+ /** Audit logs for the company */
992
+ auditLogs?: Maybe<Array<Maybe<AuditLogItemType>>>;
978
993
  /** Average score of all matched products for this company */
979
994
  averageScore?: Maybe<Scalars['Float']['output']>;
980
995
  city?: Maybe<Scalars['String']['output']>;
@@ -1002,6 +1017,8 @@ export type CompanyObject = {
1002
1017
  locations?: Maybe<Array<Maybe<CompanyLocationType>>>;
1003
1018
  logoUrl?: Maybe<Scalars['String']['output']>;
1004
1019
  ownedByUser?: Maybe<Scalars['Boolean']['output']>;
1020
+ /** List of company owners */
1021
+ owners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
1005
1022
  phone?: Maybe<Scalars['String']['output']>;
1006
1023
  pk?: Maybe<Scalars['ID']['output']>;
1007
1024
  /** Primary company location */
@@ -1017,6 +1034,29 @@ export type CompanyObject = {
1017
1034
  website?: Maybe<Scalars['String']['output']>;
1018
1035
  zipCode?: Maybe<Scalars['String']['output']>;
1019
1036
  };
1037
+ export type CompanyOwnersObject = {
1038
+ __typename?: 'CompanyOwnersObject';
1039
+ id?: Maybe<Scalars['ID']['output']>;
1040
+ user?: Maybe<UserType>;
1041
+ };
1042
+ /** Extended pagination information for companies */
1043
+ export type CompanyPaginationInfo = {
1044
+ __typename?: 'CompanyPaginationInfo';
1045
+ /** Current page number */
1046
+ currentPage?: Maybe<Scalars['Int']['output']>;
1047
+ /** Whether there is a next page */
1048
+ hasNextPage?: Maybe<Scalars['Boolean']['output']>;
1049
+ /** Whether there is a previous page */
1050
+ hasPreviousPage?: Maybe<Scalars['Boolean']['output']>;
1051
+ /** Number of items per page */
1052
+ pageSize?: Maybe<Scalars['Int']['output']>;
1053
+ /** Total number of items */
1054
+ totalCount?: Maybe<Scalars['Int']['output']>;
1055
+ /** Total number of pages */
1056
+ totalPages?: Maybe<Scalars['Int']['output']>;
1057
+ /** Total number of visible companies in the database */
1058
+ totalVisibleCompanies?: Maybe<Scalars['Int']['output']>;
1059
+ };
1020
1060
  export type CompanyProductMetalScoreObject = {
1021
1061
  __typename?: 'CompanyProductMetalScoreObject';
1022
1062
  /** Account ID who assigned this product metal */
@@ -1139,6 +1179,7 @@ export type ContactObject = {
1139
1179
  __typename?: 'ContactObject';
1140
1180
  companyId?: Maybe<Scalars['ID']['output']>;
1141
1181
  companyName?: Maybe<Scalars['String']['output']>;
1182
+ companyOwners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
1142
1183
  contactLog?: Maybe<Array<Maybe<ContactLogObject>>>;
1143
1184
  email?: Maybe<Scalars['String']['output']>;
1144
1185
  firstName?: Maybe<Scalars['String']['output']>;
@@ -1433,6 +1474,8 @@ export type EmailToneInput = {
1433
1474
  emailContent: Scalars['String']['input'];
1434
1475
  /** Number of variations to generate (default: 3) */
1435
1476
  numVariations?: InputMaybe<Scalars['Int']['input']>;
1477
+ /** List of previous variations to avoid repetition */
1478
+ previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1436
1479
  /** Original email subject (optional) */
1437
1480
  subject?: InputMaybe<Scalars['String']['input']>;
1438
1481
  /** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
@@ -1589,9 +1632,17 @@ export type MetalGradeObject = {
1589
1632
  };
1590
1633
  export type MetalTypeObject = {
1591
1634
  __typename?: 'MetalTypeObject';
1635
+ /** Buyer types and example buyers */
1636
+ buyerTypes?: Maybe<Scalars['String']['output']>;
1592
1637
  id: Scalars['ID']['output'];
1638
+ /** Industry tags */
1639
+ industryTags?: Maybe<Scalars['String']['output']>;
1593
1640
  name: Scalars['String']['output'];
1594
1641
  orderBy: Scalars['Int']['output'];
1642
+ /** Synonyms */
1643
+ synonyms?: Maybe<Scalars['String']['output']>;
1644
+ /** Typical uses and applications */
1645
+ use?: Maybe<Scalars['String']['output']>;
1595
1646
  };
1596
1647
  /** MicrosoftUserInput for creating/updating Microsoft user */
1597
1648
  export type MicrosoftUserInput = {
@@ -2082,7 +2133,7 @@ export type PaginatedCompanyList = {
2082
2133
  /** List of companies */
2083
2134
  items?: Maybe<Array<Maybe<CompanyObject>>>;
2084
2135
  /** Pagination information */
2085
- pagination?: Maybe<PaginationInfo>;
2136
+ pagination?: Maybe<CompanyPaginationInfo>;
2086
2137
  };
2087
2138
  /** Paginated list of company notes */
2088
2139
  export type PaginatedCompanyNoteList = {
@@ -2166,11 +2217,19 @@ export type ProductCategoryLightweightObject = {
2166
2217
  };
2167
2218
  export type ProductCategoryObject = {
2168
2219
  __typename?: 'ProductCategoryObject';
2220
+ /** Buyer types and example buyers */
2221
+ buyerTypes?: Maybe<Scalars['String']['output']>;
2169
2222
  id?: Maybe<Scalars['ID']['output']>;
2223
+ /** Industry tags */
2224
+ industryTags?: Maybe<Scalars['String']['output']>;
2170
2225
  name: Scalars['String']['output'];
2171
2226
  orderBy: Scalars['Int']['output'];
2172
2227
  pk?: Maybe<Scalars['ID']['output']>;
2173
2228
  productTypes?: Maybe<Array<Maybe<ProductTypeObject>>>;
2229
+ /** Synonyms */
2230
+ synonyms?: Maybe<Scalars['String']['output']>;
2231
+ /** Typical uses and applications */
2232
+ use?: Maybe<Scalars['String']['output']>;
2174
2233
  };
2175
2234
  /** Input type for product metal score combinations */
2176
2235
  export type ProductMetalScoreInput = {
@@ -3633,6 +3692,18 @@ export type CreateCompanyMutation = {
3633
3692
  name?: string | null;
3634
3693
  description?: string | null;
3635
3694
  } | null> | null;
3695
+ owners?: Array<{
3696
+ __typename?: 'CompanyOwnersObject';
3697
+ id?: string | null;
3698
+ user?: {
3699
+ __typename?: 'UserType';
3700
+ id?: string | null;
3701
+ email?: string | null;
3702
+ firstName?: string | null;
3703
+ lastName?: string | null;
3704
+ picture?: string | null;
3705
+ } | null;
3706
+ } | null> | null;
3636
3707
  locations?: Array<{
3637
3708
  __typename?: 'CompanyLocationType';
3638
3709
  id?: string | null;
@@ -3734,6 +3805,18 @@ export type CreateCompanyMutation = {
3734
3805
  totalReplied?: number | null;
3735
3806
  totalBounced?: number | null;
3736
3807
  } | null;
3808
+ companyOwners?: Array<{
3809
+ __typename?: 'CompanyOwnersObject';
3810
+ id?: string | null;
3811
+ user?: {
3812
+ __typename?: 'UserType';
3813
+ id?: string | null;
3814
+ email?: string | null;
3815
+ firstName?: string | null;
3816
+ lastName?: string | null;
3817
+ picture?: string | null;
3818
+ } | null;
3819
+ } | null> | null;
3737
3820
  } | null> | null;
3738
3821
  productMetalScores?: Array<{
3739
3822
  __typename?: 'CompanyProductMetalScoreObject';
@@ -3760,6 +3843,10 @@ export type CreateCompanyMutation = {
3760
3843
  id?: string | null;
3761
3844
  name: string;
3762
3845
  orderBy: number;
3846
+ synonyms?: string | null;
3847
+ use?: string | null;
3848
+ buyerTypes?: string | null;
3849
+ industryTags?: string | null;
3763
3850
  pk?: string | null;
3764
3851
  } | null> | null;
3765
3852
  } | null;
@@ -3768,6 +3855,10 @@ export type CreateCompanyMutation = {
3768
3855
  id: string;
3769
3856
  name: string;
3770
3857
  orderBy: number;
3858
+ synonyms?: string | null;
3859
+ use?: string | null;
3860
+ buyerTypes?: string | null;
3861
+ industryTags?: string | null;
3771
3862
  } | null;
3772
3863
  metalGrade?: {
3773
3864
  __typename?: 'MetalGradeObject';
@@ -3778,6 +3869,10 @@ export type CreateCompanyMutation = {
3778
3869
  id: string;
3779
3870
  name: string;
3780
3871
  orderBy: number;
3872
+ synonyms?: string | null;
3873
+ use?: string | null;
3874
+ buyerTypes?: string | null;
3875
+ industryTags?: string | null;
3781
3876
  } | null;
3782
3877
  } | null;
3783
3878
  productCategory?: {
@@ -4233,6 +4328,14 @@ export type CreateCompanyMutation = {
4233
4328
  picture?: string | null;
4234
4329
  } | null;
4235
4330
  } | null> | null;
4331
+ auditLogs?: Array<{
4332
+ __typename?: 'AuditLogItemType';
4333
+ id: string;
4334
+ type: string;
4335
+ title: string;
4336
+ description?: string | null;
4337
+ timestamp: any;
4338
+ } | null> | null;
4236
4339
  industry?: {
4237
4340
  __typename?: 'IndustryTypeObject';
4238
4341
  id?: string | null;
@@ -4683,6 +4786,18 @@ export type CreateContactMutation = {
4683
4786
  totalReplied?: number | null;
4684
4787
  totalBounced?: number | null;
4685
4788
  } | null;
4789
+ companyOwners?: Array<{
4790
+ __typename?: 'CompanyOwnersObject';
4791
+ id?: string | null;
4792
+ user?: {
4793
+ __typename?: 'UserType';
4794
+ id?: string | null;
4795
+ email?: string | null;
4796
+ firstName?: string | null;
4797
+ lastName?: string | null;
4798
+ picture?: string | null;
4799
+ } | null;
4800
+ } | null> | null;
4686
4801
  } | null;
4687
4802
  } | null;
4688
4803
  };
@@ -5799,6 +5914,18 @@ export type SendEmailToContactMutation = {
5799
5914
  totalReplied?: number | null;
5800
5915
  totalBounced?: number | null;
5801
5916
  } | null;
5917
+ companyOwners?: Array<{
5918
+ __typename?: 'CompanyOwnersObject';
5919
+ id?: string | null;
5920
+ user?: {
5921
+ __typename?: 'UserType';
5922
+ id?: string | null;
5923
+ email?: string | null;
5924
+ firstName?: string | null;
5925
+ lastName?: string | null;
5926
+ picture?: string | null;
5927
+ } | null;
5928
+ } | null> | null;
5802
5929
  } | null;
5803
5930
  } | null;
5804
5931
  } | null;
@@ -6267,6 +6394,18 @@ export type UpdateCompanyMutation = {
6267
6394
  name?: string | null;
6268
6395
  description?: string | null;
6269
6396
  } | null> | null;
6397
+ owners?: Array<{
6398
+ __typename?: 'CompanyOwnersObject';
6399
+ id?: string | null;
6400
+ user?: {
6401
+ __typename?: 'UserType';
6402
+ id?: string | null;
6403
+ email?: string | null;
6404
+ firstName?: string | null;
6405
+ lastName?: string | null;
6406
+ picture?: string | null;
6407
+ } | null;
6408
+ } | null> | null;
6270
6409
  locations?: Array<{
6271
6410
  __typename?: 'CompanyLocationType';
6272
6411
  id?: string | null;
@@ -6368,6 +6507,18 @@ export type UpdateCompanyMutation = {
6368
6507
  totalReplied?: number | null;
6369
6508
  totalBounced?: number | null;
6370
6509
  } | null;
6510
+ companyOwners?: Array<{
6511
+ __typename?: 'CompanyOwnersObject';
6512
+ id?: string | null;
6513
+ user?: {
6514
+ __typename?: 'UserType';
6515
+ id?: string | null;
6516
+ email?: string | null;
6517
+ firstName?: string | null;
6518
+ lastName?: string | null;
6519
+ picture?: string | null;
6520
+ } | null;
6521
+ } | null> | null;
6371
6522
  } | null> | null;
6372
6523
  productMetalScores?: Array<{
6373
6524
  __typename?: 'CompanyProductMetalScoreObject';
@@ -6394,6 +6545,10 @@ export type UpdateCompanyMutation = {
6394
6545
  id?: string | null;
6395
6546
  name: string;
6396
6547
  orderBy: number;
6548
+ synonyms?: string | null;
6549
+ use?: string | null;
6550
+ buyerTypes?: string | null;
6551
+ industryTags?: string | null;
6397
6552
  pk?: string | null;
6398
6553
  } | null> | null;
6399
6554
  } | null;
@@ -6402,6 +6557,10 @@ export type UpdateCompanyMutation = {
6402
6557
  id: string;
6403
6558
  name: string;
6404
6559
  orderBy: number;
6560
+ synonyms?: string | null;
6561
+ use?: string | null;
6562
+ buyerTypes?: string | null;
6563
+ industryTags?: string | null;
6405
6564
  } | null;
6406
6565
  metalGrade?: {
6407
6566
  __typename?: 'MetalGradeObject';
@@ -6412,6 +6571,10 @@ export type UpdateCompanyMutation = {
6412
6571
  id: string;
6413
6572
  name: string;
6414
6573
  orderBy: number;
6574
+ synonyms?: string | null;
6575
+ use?: string | null;
6576
+ buyerTypes?: string | null;
6577
+ industryTags?: string | null;
6415
6578
  } | null;
6416
6579
  } | null;
6417
6580
  productCategory?: {
@@ -6867,6 +7030,14 @@ export type UpdateCompanyMutation = {
6867
7030
  picture?: string | null;
6868
7031
  } | null;
6869
7032
  } | null> | null;
7033
+ auditLogs?: Array<{
7034
+ __typename?: 'AuditLogItemType';
7035
+ id: string;
7036
+ type: string;
7037
+ title: string;
7038
+ description?: string | null;
7039
+ timestamp: any;
7040
+ } | null> | null;
6870
7041
  industry?: {
6871
7042
  __typename?: 'IndustryTypeObject';
6872
7043
  id?: string | null;
@@ -7317,6 +7488,18 @@ export type UpdateContactMutation = {
7317
7488
  totalReplied?: number | null;
7318
7489
  totalBounced?: number | null;
7319
7490
  } | null;
7491
+ companyOwners?: Array<{
7492
+ __typename?: 'CompanyOwnersObject';
7493
+ id?: string | null;
7494
+ user?: {
7495
+ __typename?: 'UserType';
7496
+ id?: string | null;
7497
+ email?: string | null;
7498
+ firstName?: string | null;
7499
+ lastName?: string | null;
7500
+ picture?: string | null;
7501
+ } | null;
7502
+ } | null> | null;
7320
7503
  } | null;
7321
7504
  } | null;
7322
7505
  };
@@ -8478,6 +8661,18 @@ export type CampaignContactsQuery = {
8478
8661
  noteType?: string | null;
8479
8662
  noteId?: string | null;
8480
8663
  } | null;
8664
+ companyOwners?: Array<{
8665
+ __typename?: 'CompanyOwnersObject';
8666
+ id?: string | null;
8667
+ user?: {
8668
+ __typename?: 'UserType';
8669
+ id?: string | null;
8670
+ email?: string | null;
8671
+ firstName?: string | null;
8672
+ lastName?: string | null;
8673
+ picture?: string | null;
8674
+ } | null;
8675
+ } | null> | null;
8481
8676
  } | null> | null;
8482
8677
  pagination?: {
8483
8678
  __typename?: 'PaginationInfo';
@@ -8564,6 +8759,18 @@ export type CampaignLogsQuery = {
8564
8759
  totalReplied?: number | null;
8565
8760
  totalBounced?: number | null;
8566
8761
  } | null;
8762
+ companyOwners?: Array<{
8763
+ __typename?: 'CompanyOwnersObject';
8764
+ id?: string | null;
8765
+ user?: {
8766
+ __typename?: 'UserType';
8767
+ id?: string | null;
8768
+ email?: string | null;
8769
+ firstName?: string | null;
8770
+ lastName?: string | null;
8771
+ picture?: string | null;
8772
+ } | null;
8773
+ } | null> | null;
8567
8774
  } | null;
8568
8775
  campaignStats?: {
8569
8776
  __typename?: 'CampaignContactStatsType';
@@ -8732,6 +8939,18 @@ export type CampaignLogsQuery = {
8732
8939
  totalReplied?: number | null;
8733
8940
  totalBounced?: number | null;
8734
8941
  } | null;
8942
+ companyOwners?: Array<{
8943
+ __typename?: 'CompanyOwnersObject';
8944
+ id?: string | null;
8945
+ user?: {
8946
+ __typename?: 'UserType';
8947
+ id?: string | null;
8948
+ email?: string | null;
8949
+ firstName?: string | null;
8950
+ lastName?: string | null;
8951
+ picture?: string | null;
8952
+ } | null;
8953
+ } | null> | null;
8735
8954
  } | null;
8736
8955
  } | null> | null;
8737
8956
  } | null> | null;
@@ -8914,6 +9133,18 @@ export type CompaniesQuery = {
8914
9133
  name?: string | null;
8915
9134
  description?: string | null;
8916
9135
  } | null> | null;
9136
+ owners?: Array<{
9137
+ __typename?: 'CompanyOwnersObject';
9138
+ id?: string | null;
9139
+ user?: {
9140
+ __typename?: 'UserType';
9141
+ id?: string | null;
9142
+ email?: string | null;
9143
+ firstName?: string | null;
9144
+ lastName?: string | null;
9145
+ picture?: string | null;
9146
+ } | null;
9147
+ } | null> | null;
8917
9148
  locations?: Array<{
8918
9149
  __typename?: 'CompanyLocationType';
8919
9150
  id?: string | null;
@@ -9015,6 +9246,18 @@ export type CompaniesQuery = {
9015
9246
  totalReplied?: number | null;
9016
9247
  totalBounced?: number | null;
9017
9248
  } | null;
9249
+ companyOwners?: Array<{
9250
+ __typename?: 'CompanyOwnersObject';
9251
+ id?: string | null;
9252
+ user?: {
9253
+ __typename?: 'UserType';
9254
+ id?: string | null;
9255
+ email?: string | null;
9256
+ firstName?: string | null;
9257
+ lastName?: string | null;
9258
+ picture?: string | null;
9259
+ } | null;
9260
+ } | null> | null;
9018
9261
  } | null> | null;
9019
9262
  productMetalScores?: Array<{
9020
9263
  __typename?: 'CompanyProductMetalScoreObject';
@@ -9041,6 +9284,10 @@ export type CompaniesQuery = {
9041
9284
  id?: string | null;
9042
9285
  name: string;
9043
9286
  orderBy: number;
9287
+ synonyms?: string | null;
9288
+ use?: string | null;
9289
+ buyerTypes?: string | null;
9290
+ industryTags?: string | null;
9044
9291
  pk?: string | null;
9045
9292
  } | null> | null;
9046
9293
  } | null;
@@ -9049,6 +9296,10 @@ export type CompaniesQuery = {
9049
9296
  id: string;
9050
9297
  name: string;
9051
9298
  orderBy: number;
9299
+ synonyms?: string | null;
9300
+ use?: string | null;
9301
+ buyerTypes?: string | null;
9302
+ industryTags?: string | null;
9052
9303
  } | null;
9053
9304
  metalGrade?: {
9054
9305
  __typename?: 'MetalGradeObject';
@@ -9059,6 +9310,10 @@ export type CompaniesQuery = {
9059
9310
  id: string;
9060
9311
  name: string;
9061
9312
  orderBy: number;
9313
+ synonyms?: string | null;
9314
+ use?: string | null;
9315
+ buyerTypes?: string | null;
9316
+ industryTags?: string | null;
9062
9317
  } | null;
9063
9318
  } | null;
9064
9319
  productCategory?: {
@@ -9404,6 +9659,14 @@ export type CompaniesQuery = {
9404
9659
  picture?: string | null;
9405
9660
  } | null;
9406
9661
  } | null> | null;
9662
+ auditLogs?: Array<{
9663
+ __typename?: 'AuditLogItemType';
9664
+ id: string;
9665
+ type: string;
9666
+ title: string;
9667
+ description?: string | null;
9668
+ timestamp: any;
9669
+ } | null> | null;
9407
9670
  industry?: {
9408
9671
  __typename?: 'IndustryTypeObject';
9409
9672
  id?: string | null;
@@ -9458,13 +9721,14 @@ export type CompaniesQuery = {
9458
9721
  } | null;
9459
9722
  } | null> | null;
9460
9723
  pagination?: {
9461
- __typename?: 'PaginationInfo';
9724
+ __typename?: 'CompanyPaginationInfo';
9462
9725
  currentPage?: number | null;
9463
9726
  pageSize?: number | null;
9464
9727
  totalPages?: number | null;
9465
9728
  totalCount?: number | null;
9466
9729
  hasNextPage?: boolean | null;
9467
9730
  hasPreviousPage?: boolean | null;
9731
+ totalVisibleCompanies?: number | null;
9468
9732
  } | null;
9469
9733
  } | null;
9470
9734
  };
@@ -9510,6 +9774,18 @@ export type CompanyQuery = {
9510
9774
  name?: string | null;
9511
9775
  description?: string | null;
9512
9776
  } | null> | null;
9777
+ owners?: Array<{
9778
+ __typename?: 'CompanyOwnersObject';
9779
+ id?: string | null;
9780
+ user?: {
9781
+ __typename?: 'UserType';
9782
+ id?: string | null;
9783
+ email?: string | null;
9784
+ firstName?: string | null;
9785
+ lastName?: string | null;
9786
+ picture?: string | null;
9787
+ } | null;
9788
+ } | null> | null;
9513
9789
  locations?: Array<{
9514
9790
  __typename?: 'CompanyLocationType';
9515
9791
  id?: string | null;
@@ -9611,6 +9887,18 @@ export type CompanyQuery = {
9611
9887
  totalReplied?: number | null;
9612
9888
  totalBounced?: number | null;
9613
9889
  } | null;
9890
+ companyOwners?: Array<{
9891
+ __typename?: 'CompanyOwnersObject';
9892
+ id?: string | null;
9893
+ user?: {
9894
+ __typename?: 'UserType';
9895
+ id?: string | null;
9896
+ email?: string | null;
9897
+ firstName?: string | null;
9898
+ lastName?: string | null;
9899
+ picture?: string | null;
9900
+ } | null;
9901
+ } | null> | null;
9614
9902
  } | null> | null;
9615
9903
  productMetalScores?: Array<{
9616
9904
  __typename?: 'CompanyProductMetalScoreObject';
@@ -9637,6 +9925,10 @@ export type CompanyQuery = {
9637
9925
  id?: string | null;
9638
9926
  name: string;
9639
9927
  orderBy: number;
9928
+ synonyms?: string | null;
9929
+ use?: string | null;
9930
+ buyerTypes?: string | null;
9931
+ industryTags?: string | null;
9640
9932
  pk?: string | null;
9641
9933
  } | null> | null;
9642
9934
  } | null;
@@ -9645,6 +9937,10 @@ export type CompanyQuery = {
9645
9937
  id: string;
9646
9938
  name: string;
9647
9939
  orderBy: number;
9940
+ synonyms?: string | null;
9941
+ use?: string | null;
9942
+ buyerTypes?: string | null;
9943
+ industryTags?: string | null;
9648
9944
  } | null;
9649
9945
  metalGrade?: {
9650
9946
  __typename?: 'MetalGradeObject';
@@ -9655,6 +9951,10 @@ export type CompanyQuery = {
9655
9951
  id: string;
9656
9952
  name: string;
9657
9953
  orderBy: number;
9954
+ synonyms?: string | null;
9955
+ use?: string | null;
9956
+ buyerTypes?: string | null;
9957
+ industryTags?: string | null;
9658
9958
  } | null;
9659
9959
  } | null;
9660
9960
  productCategory?: {
@@ -10110,6 +10410,14 @@ export type CompanyQuery = {
10110
10410
  picture?: string | null;
10111
10411
  } | null;
10112
10412
  } | null> | null;
10413
+ auditLogs?: Array<{
10414
+ __typename?: 'AuditLogItemType';
10415
+ id: string;
10416
+ type: string;
10417
+ title: string;
10418
+ description?: string | null;
10419
+ timestamp: any;
10420
+ } | null> | null;
10113
10421
  industry?: {
10114
10422
  __typename?: 'IndustryTypeObject';
10115
10423
  id?: string | null;
@@ -10875,6 +11183,18 @@ export type ContactQuery = {
10875
11183
  totalReplied?: number | null;
10876
11184
  totalBounced?: number | null;
10877
11185
  } | null;
11186
+ companyOwners?: Array<{
11187
+ __typename?: 'CompanyOwnersObject';
11188
+ id?: string | null;
11189
+ user?: {
11190
+ __typename?: 'UserType';
11191
+ id?: string | null;
11192
+ email?: string | null;
11193
+ firstName?: string | null;
11194
+ lastName?: string | null;
11195
+ picture?: string | null;
11196
+ } | null;
11197
+ } | null> | null;
10878
11198
  } | null;
10879
11199
  };
10880
11200
  export type ContactsQueryVariables = Exact<{
@@ -10945,6 +11265,18 @@ export type ContactsQuery = {
10945
11265
  totalReplied?: number | null;
10946
11266
  totalBounced?: number | null;
10947
11267
  } | null;
11268
+ companyOwners?: Array<{
11269
+ __typename?: 'CompanyOwnersObject';
11270
+ id?: string | null;
11271
+ user?: {
11272
+ __typename?: 'UserType';
11273
+ id?: string | null;
11274
+ email?: string | null;
11275
+ firstName?: string | null;
11276
+ lastName?: string | null;
11277
+ picture?: string | null;
11278
+ } | null;
11279
+ } | null> | null;
10948
11280
  } | null> | null;
10949
11281
  };
10950
11282
  export type ContactsInSegmentQueryVariables = Exact<{
@@ -11018,6 +11350,18 @@ export type ContactsInSegmentQuery = {
11018
11350
  totalReplied?: number | null;
11019
11351
  totalBounced?: number | null;
11020
11352
  } | null;
11353
+ companyOwners?: Array<{
11354
+ __typename?: 'CompanyOwnersObject';
11355
+ id?: string | null;
11356
+ user?: {
11357
+ __typename?: 'UserType';
11358
+ id?: string | null;
11359
+ email?: string | null;
11360
+ firstName?: string | null;
11361
+ lastName?: string | null;
11362
+ picture?: string | null;
11363
+ } | null;
11364
+ } | null> | null;
11021
11365
  } | null> | null;
11022
11366
  pagination?: {
11023
11367
  __typename?: 'PaginationInfo';
@@ -11176,6 +11520,10 @@ export type MetalGradesQuery = {
11176
11520
  id: string;
11177
11521
  name: string;
11178
11522
  orderBy: number;
11523
+ synonyms?: string | null;
11524
+ use?: string | null;
11525
+ buyerTypes?: string | null;
11526
+ industryTags?: string | null;
11179
11527
  } | null;
11180
11528
  } | null> | null;
11181
11529
  };
@@ -11189,6 +11537,10 @@ export type MetalTypesQuery = {
11189
11537
  id: string;
11190
11538
  name: string;
11191
11539
  orderBy: number;
11540
+ synonyms?: string | null;
11541
+ use?: string | null;
11542
+ buyerTypes?: string | null;
11543
+ industryTags?: string | null;
11192
11544
  } | null> | null;
11193
11545
  };
11194
11546
  export type MyInvitationsQueryVariables = Exact<{
@@ -11293,6 +11645,10 @@ export type ProductCategoriesQuery = {
11293
11645
  id?: string | null;
11294
11646
  name: string;
11295
11647
  orderBy: number;
11648
+ synonyms?: string | null;
11649
+ use?: string | null;
11650
+ buyerTypes?: string | null;
11651
+ industryTags?: string | null;
11296
11652
  pk?: string | null;
11297
11653
  productTypes?: Array<{
11298
11654
  __typename?: 'ProductTypeObject';
@@ -11319,6 +11675,10 @@ export type ProductTypesQuery = {
11319
11675
  id?: string | null;
11320
11676
  name: string;
11321
11677
  orderBy: number;
11678
+ synonyms?: string | null;
11679
+ use?: string | null;
11680
+ buyerTypes?: string | null;
11681
+ industryTags?: string | null;
11322
11682
  pk?: string | null;
11323
11683
  } | null> | null;
11324
11684
  } | null> | null;
@@ -11414,6 +11774,18 @@ export type RecentHistoryQuery = {
11414
11774
  totalReplied?: number | null;
11415
11775
  totalBounced?: number | null;
11416
11776
  } | null;
11777
+ companyOwners?: Array<{
11778
+ __typename?: 'CompanyOwnersObject';
11779
+ id?: string | null;
11780
+ user?: {
11781
+ __typename?: 'UserType';
11782
+ id?: string | null;
11783
+ email?: string | null;
11784
+ firstName?: string | null;
11785
+ lastName?: string | null;
11786
+ picture?: string | null;
11787
+ } | null;
11788
+ } | null> | null;
11417
11789
  } | null;
11418
11790
  company?: {
11419
11791
  __typename?: 'CompanyObject';
@@ -11452,6 +11824,18 @@ export type RecentHistoryQuery = {
11452
11824
  name?: string | null;
11453
11825
  description?: string | null;
11454
11826
  } | null> | null;
11827
+ owners?: Array<{
11828
+ __typename?: 'CompanyOwnersObject';
11829
+ id?: string | null;
11830
+ user?: {
11831
+ __typename?: 'UserType';
11832
+ id?: string | null;
11833
+ email?: string | null;
11834
+ firstName?: string | null;
11835
+ lastName?: string | null;
11836
+ picture?: string | null;
11837
+ } | null;
11838
+ } | null> | null;
11455
11839
  locations?: Array<{
11456
11840
  __typename?: 'CompanyLocationType';
11457
11841
  id?: string | null;
@@ -11553,6 +11937,18 @@ export type RecentHistoryQuery = {
11553
11937
  totalReplied?: number | null;
11554
11938
  totalBounced?: number | null;
11555
11939
  } | null;
11940
+ companyOwners?: Array<{
11941
+ __typename?: 'CompanyOwnersObject';
11942
+ id?: string | null;
11943
+ user?: {
11944
+ __typename?: 'UserType';
11945
+ id?: string | null;
11946
+ email?: string | null;
11947
+ firstName?: string | null;
11948
+ lastName?: string | null;
11949
+ picture?: string | null;
11950
+ } | null;
11951
+ } | null> | null;
11556
11952
  } | null> | null;
11557
11953
  productMetalScores?: Array<{
11558
11954
  __typename?: 'CompanyProductMetalScoreObject';
@@ -11579,6 +11975,10 @@ export type RecentHistoryQuery = {
11579
11975
  id?: string | null;
11580
11976
  name: string;
11581
11977
  orderBy: number;
11978
+ synonyms?: string | null;
11979
+ use?: string | null;
11980
+ buyerTypes?: string | null;
11981
+ industryTags?: string | null;
11582
11982
  pk?: string | null;
11583
11983
  } | null> | null;
11584
11984
  } | null;
@@ -11587,6 +11987,10 @@ export type RecentHistoryQuery = {
11587
11987
  id: string;
11588
11988
  name: string;
11589
11989
  orderBy: number;
11990
+ synonyms?: string | null;
11991
+ use?: string | null;
11992
+ buyerTypes?: string | null;
11993
+ industryTags?: string | null;
11590
11994
  } | null;
11591
11995
  metalGrade?: {
11592
11996
  __typename?: 'MetalGradeObject';
@@ -11597,6 +12001,10 @@ export type RecentHistoryQuery = {
11597
12001
  id: string;
11598
12002
  name: string;
11599
12003
  orderBy: number;
12004
+ synonyms?: string | null;
12005
+ use?: string | null;
12006
+ buyerTypes?: string | null;
12007
+ industryTags?: string | null;
11600
12008
  } | null;
11601
12009
  } | null;
11602
12010
  productCategory?: {
@@ -11908,6 +12316,14 @@ export type RecentHistoryQuery = {
11908
12316
  picture?: string | null;
11909
12317
  } | null;
11910
12318
  } | null> | null;
12319
+ auditLogs?: Array<{
12320
+ __typename?: 'AuditLogItemType';
12321
+ id: string;
12322
+ type: string;
12323
+ title: string;
12324
+ description?: string | null;
12325
+ timestamp: any;
12326
+ } | null> | null;
11911
12327
  industry?: {
11912
12328
  __typename?: 'IndustryTypeObject';
11913
12329
  id?: string | null;
@@ -12064,6 +12480,18 @@ export type SearchContactsQuery = {
12064
12480
  totalReplied?: number | null;
12065
12481
  totalBounced?: number | null;
12066
12482
  } | null;
12483
+ companyOwners?: Array<{
12484
+ __typename?: 'CompanyOwnersObject';
12485
+ id?: string | null;
12486
+ user?: {
12487
+ __typename?: 'UserType';
12488
+ id?: string | null;
12489
+ email?: string | null;
12490
+ firstName?: string | null;
12491
+ lastName?: string | null;
12492
+ picture?: string | null;
12493
+ } | null;
12494
+ } | null> | null;
12067
12495
  } | null> | null;
12068
12496
  pagination?: {
12069
12497
  __typename?: 'PaginationInfo';