@sweepbright/api-client 0.41.0 → 0.42.0-pre.1

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.
Files changed (60) hide show
  1. package/dist/client.d.ts +24 -125
  2. package/dist/client.js +3 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/common/logResponse.d.ts +7 -0
  5. package/dist/common/logResponse.js +17 -1
  6. package/dist/common/logResponse.js.map +1 -1
  7. package/dist/common/serializeIncludes.d.ts +1 -0
  8. package/dist/common/serializeIncludes.js +14 -0
  9. package/dist/common/serializeIncludes.js.map +1 -0
  10. package/dist/entities/channelAccount.d.ts +15 -0
  11. package/dist/entities/channelAccount.js +3 -0
  12. package/dist/entities/channelAccount.js.map +1 -0
  13. package/dist/entities/contact.d.ts +34 -0
  14. package/dist/entities/contact.js +3 -0
  15. package/dist/entities/contact.js.map +1 -0
  16. package/dist/entities/negotiator.d.ts +12 -8
  17. package/dist/entities/property.d.ts +22 -9
  18. package/dist/entities/property.js.map +1 -1
  19. package/dist/index.d.ts +7 -1
  20. package/dist/index.js +3 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/oauth-manager/CustomEndpointsAuthenticationService.d.ts +1 -0
  23. package/dist/oauth-manager/CustomEndpointsAuthenticationService.js +4 -0
  24. package/dist/oauth-manager/CustomEndpointsAuthenticationService.js.map +1 -1
  25. package/dist/oauth-manager/OAuthEndpointAuthenticationService.js +3 -0
  26. package/dist/oauth-manager/OAuthEndpointAuthenticationService.js.map +1 -1
  27. package/dist/oauth-manager/factories/createTokenStorage.js.map +1 -1
  28. package/dist/resources/channel_accounts.d.ts +4 -13
  29. package/dist/resources/channel_accounts.js +7 -8
  30. package/dist/resources/channel_accounts.js.map +1 -1
  31. package/dist/resources/channels.d.ts +1 -12
  32. package/dist/resources/channels.js.map +1 -1
  33. package/dist/resources/companies.d.ts +2 -5
  34. package/dist/resources/companies.js +2 -1
  35. package/dist/resources/companies.js.map +1 -1
  36. package/dist/resources/contact_preferences.d.ts +2 -4
  37. package/dist/resources/contact_preferences.js.map +1 -1
  38. package/dist/resources/contacts.d.ts +4 -12
  39. package/dist/resources/contacts.js +7 -1
  40. package/dist/resources/contacts.js.map +1 -1
  41. package/dist/resources/estates.d.ts +9 -47
  42. package/dist/resources/estates.js +9 -4
  43. package/dist/resources/estates.js.map +1 -1
  44. package/dist/resources/events.d.ts +1 -47
  45. package/dist/resources/events.js +0 -13
  46. package/dist/resources/events.js.map +1 -1
  47. package/dist/resources/leads.d.ts +3 -37
  48. package/dist/resources/leads.js.map +1 -1
  49. package/dist/resources/negotiators.d.ts +2 -8
  50. package/dist/resources/negotiators.js.map +1 -1
  51. package/dist/resources/offices.d.ts +2 -5
  52. package/dist/resources/offices.js +5 -5
  53. package/dist/resources/offices.js.map +1 -1
  54. package/dist/schemas/officeSchema.d.ts +646 -622
  55. package/dist/schemas/officeSchema.js +8 -7
  56. package/dist/schemas/officeSchema.js.map +1 -1
  57. package/dist/types.d.ts +305 -7
  58. package/dist/types.js +187 -1
  59. package/dist/types.js.map +1 -1
  60. package/package.json +5 -5
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { MeasurementSystem } from './../entities/office';
3
3
  export declare const measurementSystemSchema: z.ZodNativeEnum<typeof MeasurementSystem>;
4
4
  export declare const settingsDataSchema: z.ZodObject<{
5
- data: z.ZodObject<{
5
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6
6
  about_en: z.ZodString;
7
7
  'about_en-GB': z.ZodString;
8
8
  about_fr: z.ZodString;
@@ -90,7 +90,6 @@ export declare const settingsDataSchema: z.ZodObject<{
90
90
  description: z.ZodString;
91
91
  about: z.ZodString;
92
92
  }, "strip", z.ZodTypeAny, {
93
- email: string;
94
93
  about_en: string;
95
94
  'about_en-GB': string;
96
95
  about_fr: string;
@@ -123,6 +122,7 @@ export declare const settingsDataSchema: z.ZodObject<{
123
122
  description_nl: string;
124
123
  disabled_reason: string;
125
124
  domain_agency_id: string;
125
+ email: string;
126
126
  homepage_cover: string;
127
127
  homepage_cover_image: string;
128
128
  homepage_cover_video: string;
@@ -177,7 +177,6 @@ export declare const settingsDataSchema: z.ZodObject<{
177
177
  logic_immo_agency_id?: string | null | undefined;
178
178
  unassigned_leads_admin_id?: number | null | undefined;
179
179
  }, {
180
- email: string;
181
180
  about_en: string;
182
181
  'about_en-GB': string;
183
182
  about_fr: string;
@@ -210,6 +209,7 @@ export declare const settingsDataSchema: z.ZodObject<{
210
209
  description_nl: string;
211
210
  disabled_reason: string;
212
211
  domain_agency_id: string;
212
+ email: string;
213
213
  homepage_cover: string;
214
214
  homepage_cover_image: string;
215
215
  homepage_cover_video: string;
@@ -263,10 +263,9 @@ export declare const settingsDataSchema: z.ZodObject<{
263
263
  livechat_app_id?: string | null | undefined;
264
264
  logic_immo_agency_id?: string | null | undefined;
265
265
  unassigned_leads_admin_id?: number | null | undefined;
266
- }>;
266
+ }>>>;
267
267
  }, "strip", z.ZodTypeAny, {
268
- data: {
269
- email: string;
268
+ data?: {
270
269
  about_en: string;
271
270
  'about_en-GB': string;
272
271
  about_fr: string;
@@ -299,6 +298,7 @@ export declare const settingsDataSchema: z.ZodObject<{
299
298
  description_nl: string;
300
299
  disabled_reason: string;
301
300
  domain_agency_id: string;
301
+ email: string;
302
302
  homepage_cover: string;
303
303
  homepage_cover_image: string;
304
304
  homepage_cover_video: string;
@@ -352,10 +352,9 @@ export declare const settingsDataSchema: z.ZodObject<{
352
352
  livechat_app_id?: string | null | undefined;
353
353
  logic_immo_agency_id?: string | null | undefined;
354
354
  unassigned_leads_admin_id?: number | null | undefined;
355
- };
355
+ } | null | undefined;
356
356
  }, {
357
- data: {
358
- email: string;
357
+ data?: {
359
358
  about_en: string;
360
359
  'about_en-GB': string;
361
360
  about_fr: string;
@@ -388,6 +387,7 @@ export declare const settingsDataSchema: z.ZodObject<{
388
387
  description_nl: string;
389
388
  disabled_reason: string;
390
389
  domain_agency_id: string;
390
+ email: string;
391
391
  homepage_cover: string;
392
392
  homepage_cover_image: string;
393
393
  homepage_cover_video: string;
@@ -441,7 +441,7 @@ export declare const settingsDataSchema: z.ZodObject<{
441
441
  livechat_app_id?: string | null | undefined;
442
442
  logic_immo_agency_id?: string | null | undefined;
443
443
  unassigned_leads_admin_id?: number | null | undefined;
444
- };
444
+ } | null | undefined;
445
445
  }>;
446
446
  export declare const officeSettingsSchema: z.ZodObject<{
447
447
  measurement_system: z.ZodNativeEnum<typeof MeasurementSystem>;
@@ -466,9 +466,9 @@ export declare const officeSettingsSchema: z.ZodObject<{
466
466
  locale: z.ZodString;
467
467
  office_id: z.ZodString;
468
468
  }, "strip", z.ZodTypeAny, {
469
+ id: number;
469
470
  first_name: string;
470
471
  last_name: string;
471
- id: number;
472
472
  full_name: string;
473
473
  role_id: string;
474
474
  created_at: string;
@@ -481,9 +481,9 @@ export declare const officeSettingsSchema: z.ZodObject<{
481
481
  launchdarkly_hash?: string | null | undefined;
482
482
  appointment_service_url?: string | null | undefined;
483
483
  }, {
484
+ id: number;
484
485
  first_name: string;
485
486
  last_name: string;
486
- id: number;
487
487
  full_name: string;
488
488
  role_id: string;
489
489
  created_at: string;
@@ -503,9 +503,9 @@ export declare const officeSettingsSchema: z.ZodObject<{
503
503
  country: string;
504
504
  visit_duration: number;
505
505
  default_assignee: {
506
+ id: number;
506
507
  first_name: string;
507
508
  last_name: string;
508
- id: number;
509
509
  full_name: string;
510
510
  role_id: string;
511
511
  created_at: string;
@@ -526,9 +526,9 @@ export declare const officeSettingsSchema: z.ZodObject<{
526
526
  country: string;
527
527
  visit_duration: number;
528
528
  default_assignee: {
529
+ id: number;
529
530
  first_name: string;
530
531
  last_name: string;
531
- id: number;
532
532
  full_name: string;
533
533
  role_id: string;
534
534
  created_at: string;
@@ -544,7 +544,7 @@ export declare const officeSettingsSchema: z.ZodObject<{
544
544
  use_bright_matching?: boolean | null | undefined;
545
545
  }>;
546
546
  export declare const officeSettingsDataSchema: z.ZodObject<{
547
- data: z.ZodObject<{
547
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
548
548
  measurement_system: z.ZodNativeEnum<typeof MeasurementSystem>;
549
549
  numeral_system: z.ZodString;
550
550
  currency: z.ZodNativeEnum<typeof import("../common/currencies").Currency>;
@@ -567,9 +567,9 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
567
567
  locale: z.ZodString;
568
568
  office_id: z.ZodString;
569
569
  }, "strip", z.ZodTypeAny, {
570
+ id: number;
570
571
  first_name: string;
571
572
  last_name: string;
572
- id: number;
573
573
  full_name: string;
574
574
  role_id: string;
575
575
  created_at: string;
@@ -582,9 +582,9 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
582
582
  launchdarkly_hash?: string | null | undefined;
583
583
  appointment_service_url?: string | null | undefined;
584
584
  }, {
585
+ id: number;
585
586
  first_name: string;
586
587
  last_name: string;
587
- id: number;
588
588
  full_name: string;
589
589
  role_id: string;
590
590
  created_at: string;
@@ -604,9 +604,9 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
604
604
  country: string;
605
605
  visit_duration: number;
606
606
  default_assignee: {
607
+ id: number;
607
608
  first_name: string;
608
609
  last_name: string;
609
- id: number;
610
610
  full_name: string;
611
611
  role_id: string;
612
612
  created_at: string;
@@ -627,9 +627,9 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
627
627
  country: string;
628
628
  visit_duration: number;
629
629
  default_assignee: {
630
+ id: number;
630
631
  first_name: string;
631
632
  last_name: string;
632
- id: number;
633
633
  full_name: string;
634
634
  role_id: string;
635
635
  created_at: string;
@@ -643,18 +643,18 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
643
643
  appointment_service_url?: string | null | undefined;
644
644
  };
645
645
  use_bright_matching?: boolean | null | undefined;
646
- }>;
646
+ }>>>;
647
647
  }, "strip", z.ZodTypeAny, {
648
- data: {
648
+ data?: {
649
649
  measurement_system: MeasurementSystem;
650
650
  numeral_system: string;
651
651
  currency: import("../common/currencies").Currency;
652
652
  country: string;
653
653
  visit_duration: number;
654
654
  default_assignee: {
655
+ id: number;
655
656
  first_name: string;
656
657
  last_name: string;
657
- id: number;
658
658
  full_name: string;
659
659
  role_id: string;
660
660
  created_at: string;
@@ -668,18 +668,18 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
668
668
  appointment_service_url?: string | null | undefined;
669
669
  };
670
670
  use_bright_matching?: boolean | null | undefined;
671
- };
671
+ } | null | undefined;
672
672
  }, {
673
- data: {
673
+ data?: {
674
674
  measurement_system: MeasurementSystem;
675
675
  numeral_system: string;
676
676
  currency: import("../common/currencies").Currency;
677
677
  country: string;
678
678
  visit_duration: number;
679
679
  default_assignee: {
680
+ id: number;
680
681
  first_name: string;
681
682
  last_name: string;
682
- id: number;
683
683
  full_name: string;
684
684
  role_id: string;
685
685
  created_at: string;
@@ -693,7 +693,7 @@ export declare const officeSettingsDataSchema: z.ZodObject<{
693
693
  appointment_service_url?: string | null | undefined;
694
694
  };
695
695
  use_bright_matching?: boolean | null | undefined;
696
- };
696
+ } | null | undefined;
697
697
  }>;
698
698
  export declare const planSchema: z.ZodObject<{
699
699
  id: z.ZodString;
@@ -712,7 +712,7 @@ export declare const planSchema: z.ZodObject<{
712
712
  interval: string;
713
713
  }>;
714
714
  export declare const planDataSchema: z.ZodObject<{
715
- data: z.ZodObject<{
715
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
716
716
  id: z.ZodString;
717
717
  max_users: z.ZodNumber;
718
718
  price: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -727,34 +727,34 @@ export declare const planDataSchema: z.ZodObject<{
727
727
  max_users: number;
728
728
  price: Record<string, any>;
729
729
  interval: string;
730
- }>;
730
+ }>>>;
731
731
  }, "strip", z.ZodTypeAny, {
732
- data: {
732
+ data?: {
733
733
  id: string;
734
734
  max_users: number;
735
735
  price: Record<string, any>;
736
736
  interval: string;
737
- };
737
+ } | null | undefined;
738
738
  }, {
739
- data: {
739
+ data?: {
740
740
  id: string;
741
741
  max_users: number;
742
742
  price: Record<string, any>;
743
743
  interval: string;
744
- };
744
+ } | null | undefined;
745
745
  }>;
746
746
  export declare const photoSchema: z.ZodObject<{
747
747
  uploaded_at: z.ZodString;
748
748
  photo_file_id: z.ZodString;
749
749
  url: z.ZodString;
750
750
  }, "strip", z.ZodTypeAny, {
751
- url: string;
752
751
  uploaded_at: string;
753
752
  photo_file_id: string;
754
- }, {
755
753
  url: string;
754
+ }, {
756
755
  uploaded_at: string;
757
756
  photo_file_id: string;
757
+ url: string;
758
758
  }>;
759
759
  export declare const photoDataSchema: z.ZodObject<{
760
760
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -762,25 +762,25 @@ export declare const photoDataSchema: z.ZodObject<{
762
762
  photo_file_id: z.ZodString;
763
763
  url: z.ZodString;
764
764
  }, "strip", z.ZodTypeAny, {
765
- url: string;
766
765
  uploaded_at: string;
767
766
  photo_file_id: string;
768
- }, {
769
767
  url: string;
768
+ }, {
770
769
  uploaded_at: string;
771
770
  photo_file_id: string;
771
+ url: string;
772
772
  }>>>;
773
773
  }, "strip", z.ZodTypeAny, {
774
774
  data?: {
775
- url: string;
776
775
  uploaded_at: string;
777
776
  photo_file_id: string;
777
+ url: string;
778
778
  } | null | undefined;
779
779
  }, {
780
780
  data?: {
781
- url: string;
782
781
  uploaded_at: string;
783
782
  photo_file_id: string;
783
+ url: string;
784
784
  } | null | undefined;
785
785
  }>;
786
786
  export declare const companySchema: z.ZodObject<{
@@ -796,8 +796,9 @@ export declare const companySchema: z.ZodObject<{
796
796
  disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
797
797
  created_at: z.ZodString;
798
798
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
799
- plan: z.ZodObject<{
800
- data: z.ZodObject<{
799
+ website_log: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
800
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
801
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
801
802
  id: z.ZodString;
802
803
  max_users: z.ZodNumber;
803
804
  price: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -812,51 +813,51 @@ export declare const companySchema: z.ZodObject<{
812
813
  max_users: number;
813
814
  price: Record<string, any>;
814
815
  interval: string;
815
- }>;
816
+ }>>>;
816
817
  }, "strip", z.ZodTypeAny, {
817
- data: {
818
+ data?: {
818
819
  id: string;
819
820
  max_users: number;
820
821
  price: Record<string, any>;
821
822
  interval: string;
822
- };
823
+ } | null | undefined;
823
824
  }, {
824
- data: {
825
+ data?: {
825
826
  id: string;
826
827
  max_users: number;
827
828
  price: Record<string, any>;
828
829
  interval: string;
829
- };
830
- }>;
830
+ } | null | undefined;
831
+ }>>>;
831
832
  photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
832
833
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
833
834
  uploaded_at: z.ZodString;
834
835
  photo_file_id: z.ZodString;
835
836
  url: z.ZodString;
836
837
  }, "strip", z.ZodTypeAny, {
837
- url: string;
838
838
  uploaded_at: string;
839
839
  photo_file_id: string;
840
- }, {
841
840
  url: string;
841
+ }, {
842
842
  uploaded_at: string;
843
843
  photo_file_id: string;
844
+ url: string;
844
845
  }>>>;
845
846
  }, "strip", z.ZodTypeAny, {
846
847
  data?: {
847
- url: string;
848
848
  uploaded_at: string;
849
849
  photo_file_id: string;
850
+ url: string;
850
851
  } | null | undefined;
851
852
  }, {
852
853
  data?: {
853
- url: string;
854
854
  uploaded_at: string;
855
855
  photo_file_id: string;
856
+ url: string;
856
857
  } | null | undefined;
857
858
  }>>>;
858
- settings: z.ZodObject<{
859
- data: z.ZodObject<{
859
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
860
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
860
861
  about_en: z.ZodString;
861
862
  'about_en-GB': z.ZodString;
862
863
  about_fr: z.ZodString;
@@ -944,7 +945,6 @@ export declare const companySchema: z.ZodObject<{
944
945
  description: z.ZodString;
945
946
  about: z.ZodString;
946
947
  }, "strip", z.ZodTypeAny, {
947
- email: string;
948
948
  about_en: string;
949
949
  'about_en-GB': string;
950
950
  about_fr: string;
@@ -977,6 +977,7 @@ export declare const companySchema: z.ZodObject<{
977
977
  description_nl: string;
978
978
  disabled_reason: string;
979
979
  domain_agency_id: string;
980
+ email: string;
980
981
  homepage_cover: string;
981
982
  homepage_cover_image: string;
982
983
  homepage_cover_video: string;
@@ -1031,7 +1032,6 @@ export declare const companySchema: z.ZodObject<{
1031
1032
  logic_immo_agency_id?: string | null | undefined;
1032
1033
  unassigned_leads_admin_id?: number | null | undefined;
1033
1034
  }, {
1034
- email: string;
1035
1035
  about_en: string;
1036
1036
  'about_en-GB': string;
1037
1037
  about_fr: string;
@@ -1064,6 +1064,7 @@ export declare const companySchema: z.ZodObject<{
1064
1064
  description_nl: string;
1065
1065
  disabled_reason: string;
1066
1066
  domain_agency_id: string;
1067
+ email: string;
1067
1068
  homepage_cover: string;
1068
1069
  homepage_cover_image: string;
1069
1070
  homepage_cover_video: string;
@@ -1117,10 +1118,9 @@ export declare const companySchema: z.ZodObject<{
1117
1118
  livechat_app_id?: string | null | undefined;
1118
1119
  logic_immo_agency_id?: string | null | undefined;
1119
1120
  unassigned_leads_admin_id?: number | null | undefined;
1120
- }>;
1121
+ }>>>;
1121
1122
  }, "strip", z.ZodTypeAny, {
1122
- data: {
1123
- email: string;
1123
+ data?: {
1124
1124
  about_en: string;
1125
1125
  'about_en-GB': string;
1126
1126
  about_fr: string;
@@ -1153,6 +1153,7 @@ export declare const companySchema: z.ZodObject<{
1153
1153
  description_nl: string;
1154
1154
  disabled_reason: string;
1155
1155
  domain_agency_id: string;
1156
+ email: string;
1156
1157
  homepage_cover: string;
1157
1158
  homepage_cover_image: string;
1158
1159
  homepage_cover_video: string;
@@ -1206,10 +1207,9 @@ export declare const companySchema: z.ZodObject<{
1206
1207
  livechat_app_id?: string | null | undefined;
1207
1208
  logic_immo_agency_id?: string | null | undefined;
1208
1209
  unassigned_leads_admin_id?: number | null | undefined;
1209
- };
1210
+ } | null | undefined;
1210
1211
  }, {
1211
- data: {
1212
- email: string;
1212
+ data?: {
1213
1213
  about_en: string;
1214
1214
  'about_en-GB': string;
1215
1215
  about_fr: string;
@@ -1242,6 +1242,7 @@ export declare const companySchema: z.ZodObject<{
1242
1242
  description_nl: string;
1243
1243
  disabled_reason: string;
1244
1244
  domain_agency_id: string;
1245
+ email: string;
1245
1246
  homepage_cover: string;
1246
1247
  homepage_cover_image: string;
1247
1248
  homepage_cover_video: string;
@@ -1295,8 +1296,8 @@ export declare const companySchema: z.ZodObject<{
1295
1296
  livechat_app_id?: string | null | undefined;
1296
1297
  logic_immo_agency_id?: string | null | undefined;
1297
1298
  unassigned_leads_admin_id?: number | null | undefined;
1298
- };
1299
- }>;
1299
+ } | null | undefined;
1300
+ }>>>;
1300
1301
  }, "strip", z.ZodTypeAny, {
1301
1302
  intercom_app_id: string;
1302
1303
  id: string;
@@ -1307,17 +1308,27 @@ export declare const companySchema: z.ZodObject<{
1307
1308
  member_allowed: number;
1308
1309
  contacts_count: number;
1309
1310
  channels_count: number;
1310
- plan: {
1311
- data: {
1311
+ updated_at?: string | null | undefined;
1312
+ referrer?: {} | null | undefined;
1313
+ disabled_at?: string | null | undefined;
1314
+ website_log?: {} | null | undefined;
1315
+ plan?: {
1316
+ data?: {
1312
1317
  id: string;
1313
1318
  max_users: number;
1314
1319
  price: Record<string, any>;
1315
1320
  interval: string;
1316
- };
1317
- };
1318
- settings: {
1319
- data: {
1320
- email: string;
1321
+ } | null | undefined;
1322
+ } | null | undefined;
1323
+ photo?: {
1324
+ data?: {
1325
+ uploaded_at: string;
1326
+ photo_file_id: string;
1327
+ url: string;
1328
+ } | null | undefined;
1329
+ } | null | undefined;
1330
+ settings?: {
1331
+ data?: {
1321
1332
  about_en: string;
1322
1333
  'about_en-GB': string;
1323
1334
  about_fr: string;
@@ -1350,6 +1361,7 @@ export declare const companySchema: z.ZodObject<{
1350
1361
  description_nl: string;
1351
1362
  disabled_reason: string;
1352
1363
  domain_agency_id: string;
1364
+ email: string;
1353
1365
  homepage_cover: string;
1354
1366
  homepage_cover_image: string;
1355
1367
  homepage_cover_video: string;
@@ -1403,16 +1415,6 @@ export declare const companySchema: z.ZodObject<{
1403
1415
  livechat_app_id?: string | null | undefined;
1404
1416
  logic_immo_agency_id?: string | null | undefined;
1405
1417
  unassigned_leads_admin_id?: number | null | undefined;
1406
- };
1407
- };
1408
- updated_at?: string | null | undefined;
1409
- referrer?: {} | null | undefined;
1410
- disabled_at?: string | null | undefined;
1411
- photo?: {
1412
- data?: {
1413
- url: string;
1414
- uploaded_at: string;
1415
- photo_file_id: string;
1416
1418
  } | null | undefined;
1417
1419
  } | null | undefined;
1418
1420
  }, {
@@ -1425,17 +1427,27 @@ export declare const companySchema: z.ZodObject<{
1425
1427
  member_allowed: number;
1426
1428
  contacts_count: number;
1427
1429
  channels_count: number;
1428
- plan: {
1429
- data: {
1430
+ updated_at?: string | null | undefined;
1431
+ referrer?: {} | null | undefined;
1432
+ disabled_at?: string | null | undefined;
1433
+ website_log?: {} | null | undefined;
1434
+ plan?: {
1435
+ data?: {
1430
1436
  id: string;
1431
1437
  max_users: number;
1432
1438
  price: Record<string, any>;
1433
1439
  interval: string;
1434
- };
1435
- };
1436
- settings: {
1437
- data: {
1438
- email: string;
1440
+ } | null | undefined;
1441
+ } | null | undefined;
1442
+ photo?: {
1443
+ data?: {
1444
+ uploaded_at: string;
1445
+ photo_file_id: string;
1446
+ url: string;
1447
+ } | null | undefined;
1448
+ } | null | undefined;
1449
+ settings?: {
1450
+ data?: {
1439
1451
  about_en: string;
1440
1452
  'about_en-GB': string;
1441
1453
  about_fr: string;
@@ -1468,6 +1480,7 @@ export declare const companySchema: z.ZodObject<{
1468
1480
  description_nl: string;
1469
1481
  disabled_reason: string;
1470
1482
  domain_agency_id: string;
1483
+ email: string;
1471
1484
  homepage_cover: string;
1472
1485
  homepage_cover_image: string;
1473
1486
  homepage_cover_video: string;
@@ -1521,21 +1534,11 @@ export declare const companySchema: z.ZodObject<{
1521
1534
  livechat_app_id?: string | null | undefined;
1522
1535
  logic_immo_agency_id?: string | null | undefined;
1523
1536
  unassigned_leads_admin_id?: number | null | undefined;
1524
- };
1525
- };
1526
- updated_at?: string | null | undefined;
1527
- referrer?: {} | null | undefined;
1528
- disabled_at?: string | null | undefined;
1529
- photo?: {
1530
- data?: {
1531
- url: string;
1532
- uploaded_at: string;
1533
- photo_file_id: string;
1534
1537
  } | null | undefined;
1535
1538
  } | null | undefined;
1536
1539
  }>;
1537
1540
  export declare const companyDataSchema: z.ZodObject<{
1538
- data: z.ZodObject<{
1541
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1539
1542
  id: z.ZodString;
1540
1543
  name: z.ZodString;
1541
1544
  locale: z.ZodString;
@@ -1548,8 +1551,9 @@ export declare const companyDataSchema: z.ZodObject<{
1548
1551
  disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1549
1552
  created_at: z.ZodString;
1550
1553
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1551
- plan: z.ZodObject<{
1552
- data: z.ZodObject<{
1554
+ website_log: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
1555
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1556
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1553
1557
  id: z.ZodString;
1554
1558
  max_users: z.ZodNumber;
1555
1559
  price: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1564,51 +1568,51 @@ export declare const companyDataSchema: z.ZodObject<{
1564
1568
  max_users: number;
1565
1569
  price: Record<string, any>;
1566
1570
  interval: string;
1567
- }>;
1571
+ }>>>;
1568
1572
  }, "strip", z.ZodTypeAny, {
1569
- data: {
1573
+ data?: {
1570
1574
  id: string;
1571
1575
  max_users: number;
1572
1576
  price: Record<string, any>;
1573
1577
  interval: string;
1574
- };
1578
+ } | null | undefined;
1575
1579
  }, {
1576
- data: {
1580
+ data?: {
1577
1581
  id: string;
1578
1582
  max_users: number;
1579
1583
  price: Record<string, any>;
1580
1584
  interval: string;
1581
- };
1582
- }>;
1585
+ } | null | undefined;
1586
+ }>>>;
1583
1587
  photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1584
1588
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1585
1589
  uploaded_at: z.ZodString;
1586
1590
  photo_file_id: z.ZodString;
1587
1591
  url: z.ZodString;
1588
1592
  }, "strip", z.ZodTypeAny, {
1589
- url: string;
1590
1593
  uploaded_at: string;
1591
1594
  photo_file_id: string;
1592
- }, {
1593
1595
  url: string;
1596
+ }, {
1594
1597
  uploaded_at: string;
1595
1598
  photo_file_id: string;
1599
+ url: string;
1596
1600
  }>>>;
1597
1601
  }, "strip", z.ZodTypeAny, {
1598
1602
  data?: {
1599
- url: string;
1600
1603
  uploaded_at: string;
1601
1604
  photo_file_id: string;
1605
+ url: string;
1602
1606
  } | null | undefined;
1603
1607
  }, {
1604
1608
  data?: {
1605
- url: string;
1606
1609
  uploaded_at: string;
1607
1610
  photo_file_id: string;
1611
+ url: string;
1608
1612
  } | null | undefined;
1609
1613
  }>>>;
1610
- settings: z.ZodObject<{
1611
- data: z.ZodObject<{
1614
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1615
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1612
1616
  about_en: z.ZodString;
1613
1617
  'about_en-GB': z.ZodString;
1614
1618
  about_fr: z.ZodString;
@@ -1696,7 +1700,6 @@ export declare const companyDataSchema: z.ZodObject<{
1696
1700
  description: z.ZodString;
1697
1701
  about: z.ZodString;
1698
1702
  }, "strip", z.ZodTypeAny, {
1699
- email: string;
1700
1703
  about_en: string;
1701
1704
  'about_en-GB': string;
1702
1705
  about_fr: string;
@@ -1729,6 +1732,7 @@ export declare const companyDataSchema: z.ZodObject<{
1729
1732
  description_nl: string;
1730
1733
  disabled_reason: string;
1731
1734
  domain_agency_id: string;
1735
+ email: string;
1732
1736
  homepage_cover: string;
1733
1737
  homepage_cover_image: string;
1734
1738
  homepage_cover_video: string;
@@ -1783,7 +1787,6 @@ export declare const companyDataSchema: z.ZodObject<{
1783
1787
  logic_immo_agency_id?: string | null | undefined;
1784
1788
  unassigned_leads_admin_id?: number | null | undefined;
1785
1789
  }, {
1786
- email: string;
1787
1790
  about_en: string;
1788
1791
  'about_en-GB': string;
1789
1792
  about_fr: string;
@@ -1816,6 +1819,7 @@ export declare const companyDataSchema: z.ZodObject<{
1816
1819
  description_nl: string;
1817
1820
  disabled_reason: string;
1818
1821
  domain_agency_id: string;
1822
+ email: string;
1819
1823
  homepage_cover: string;
1820
1824
  homepage_cover_image: string;
1821
1825
  homepage_cover_video: string;
@@ -1869,10 +1873,9 @@ export declare const companyDataSchema: z.ZodObject<{
1869
1873
  livechat_app_id?: string | null | undefined;
1870
1874
  logic_immo_agency_id?: string | null | undefined;
1871
1875
  unassigned_leads_admin_id?: number | null | undefined;
1872
- }>;
1876
+ }>>>;
1873
1877
  }, "strip", z.ZodTypeAny, {
1874
- data: {
1875
- email: string;
1878
+ data?: {
1876
1879
  about_en: string;
1877
1880
  'about_en-GB': string;
1878
1881
  about_fr: string;
@@ -1905,6 +1908,7 @@ export declare const companyDataSchema: z.ZodObject<{
1905
1908
  description_nl: string;
1906
1909
  disabled_reason: string;
1907
1910
  domain_agency_id: string;
1911
+ email: string;
1908
1912
  homepage_cover: string;
1909
1913
  homepage_cover_image: string;
1910
1914
  homepage_cover_video: string;
@@ -1958,10 +1962,9 @@ export declare const companyDataSchema: z.ZodObject<{
1958
1962
  livechat_app_id?: string | null | undefined;
1959
1963
  logic_immo_agency_id?: string | null | undefined;
1960
1964
  unassigned_leads_admin_id?: number | null | undefined;
1961
- };
1965
+ } | null | undefined;
1962
1966
  }, {
1963
- data: {
1964
- email: string;
1967
+ data?: {
1965
1968
  about_en: string;
1966
1969
  'about_en-GB': string;
1967
1970
  about_fr: string;
@@ -1994,6 +1997,7 @@ export declare const companyDataSchema: z.ZodObject<{
1994
1997
  description_nl: string;
1995
1998
  disabled_reason: string;
1996
1999
  domain_agency_id: string;
2000
+ email: string;
1997
2001
  homepage_cover: string;
1998
2002
  homepage_cover_image: string;
1999
2003
  homepage_cover_video: string;
@@ -2047,8 +2051,8 @@ export declare const companyDataSchema: z.ZodObject<{
2047
2051
  livechat_app_id?: string | null | undefined;
2048
2052
  logic_immo_agency_id?: string | null | undefined;
2049
2053
  unassigned_leads_admin_id?: number | null | undefined;
2050
- };
2051
- }>;
2054
+ } | null | undefined;
2055
+ }>>>;
2052
2056
  }, "strip", z.ZodTypeAny, {
2053
2057
  intercom_app_id: string;
2054
2058
  id: string;
@@ -2059,17 +2063,27 @@ export declare const companyDataSchema: z.ZodObject<{
2059
2063
  member_allowed: number;
2060
2064
  contacts_count: number;
2061
2065
  channels_count: number;
2062
- plan: {
2063
- data: {
2066
+ updated_at?: string | null | undefined;
2067
+ referrer?: {} | null | undefined;
2068
+ disabled_at?: string | null | undefined;
2069
+ website_log?: {} | null | undefined;
2070
+ plan?: {
2071
+ data?: {
2064
2072
  id: string;
2065
2073
  max_users: number;
2066
2074
  price: Record<string, any>;
2067
2075
  interval: string;
2068
- };
2069
- };
2070
- settings: {
2071
- data: {
2072
- email: string;
2076
+ } | null | undefined;
2077
+ } | null | undefined;
2078
+ photo?: {
2079
+ data?: {
2080
+ uploaded_at: string;
2081
+ photo_file_id: string;
2082
+ url: string;
2083
+ } | null | undefined;
2084
+ } | null | undefined;
2085
+ settings?: {
2086
+ data?: {
2073
2087
  about_en: string;
2074
2088
  'about_en-GB': string;
2075
2089
  about_fr: string;
@@ -2102,6 +2116,7 @@ export declare const companyDataSchema: z.ZodObject<{
2102
2116
  description_nl: string;
2103
2117
  disabled_reason: string;
2104
2118
  domain_agency_id: string;
2119
+ email: string;
2105
2120
  homepage_cover: string;
2106
2121
  homepage_cover_image: string;
2107
2122
  homepage_cover_video: string;
@@ -2155,16 +2170,6 @@ export declare const companyDataSchema: z.ZodObject<{
2155
2170
  livechat_app_id?: string | null | undefined;
2156
2171
  logic_immo_agency_id?: string | null | undefined;
2157
2172
  unassigned_leads_admin_id?: number | null | undefined;
2158
- };
2159
- };
2160
- updated_at?: string | null | undefined;
2161
- referrer?: {} | null | undefined;
2162
- disabled_at?: string | null | undefined;
2163
- photo?: {
2164
- data?: {
2165
- url: string;
2166
- uploaded_at: string;
2167
- photo_file_id: string;
2168
2173
  } | null | undefined;
2169
2174
  } | null | undefined;
2170
2175
  }, {
@@ -2177,17 +2182,27 @@ export declare const companyDataSchema: z.ZodObject<{
2177
2182
  member_allowed: number;
2178
2183
  contacts_count: number;
2179
2184
  channels_count: number;
2180
- plan: {
2181
- data: {
2185
+ updated_at?: string | null | undefined;
2186
+ referrer?: {} | null | undefined;
2187
+ disabled_at?: string | null | undefined;
2188
+ website_log?: {} | null | undefined;
2189
+ plan?: {
2190
+ data?: {
2182
2191
  id: string;
2183
2192
  max_users: number;
2184
2193
  price: Record<string, any>;
2185
2194
  interval: string;
2186
- };
2187
- };
2188
- settings: {
2189
- data: {
2190
- email: string;
2195
+ } | null | undefined;
2196
+ } | null | undefined;
2197
+ photo?: {
2198
+ data?: {
2199
+ uploaded_at: string;
2200
+ photo_file_id: string;
2201
+ url: string;
2202
+ } | null | undefined;
2203
+ } | null | undefined;
2204
+ settings?: {
2205
+ data?: {
2191
2206
  about_en: string;
2192
2207
  'about_en-GB': string;
2193
2208
  about_fr: string;
@@ -2220,6 +2235,7 @@ export declare const companyDataSchema: z.ZodObject<{
2220
2235
  description_nl: string;
2221
2236
  disabled_reason: string;
2222
2237
  domain_agency_id: string;
2238
+ email: string;
2223
2239
  homepage_cover: string;
2224
2240
  homepage_cover_image: string;
2225
2241
  homepage_cover_video: string;
@@ -2273,21 +2289,11 @@ export declare const companyDataSchema: z.ZodObject<{
2273
2289
  livechat_app_id?: string | null | undefined;
2274
2290
  logic_immo_agency_id?: string | null | undefined;
2275
2291
  unassigned_leads_admin_id?: number | null | undefined;
2276
- };
2277
- };
2278
- updated_at?: string | null | undefined;
2279
- referrer?: {} | null | undefined;
2280
- disabled_at?: string | null | undefined;
2281
- photo?: {
2282
- data?: {
2283
- url: string;
2284
- uploaded_at: string;
2285
- photo_file_id: string;
2286
2292
  } | null | undefined;
2287
2293
  } | null | undefined;
2288
- }>;
2294
+ }>>>;
2289
2295
  }, "strip", z.ZodTypeAny, {
2290
- data: {
2296
+ data?: {
2291
2297
  intercom_app_id: string;
2292
2298
  id: string;
2293
2299
  created_at: string;
@@ -2297,17 +2303,27 @@ export declare const companyDataSchema: z.ZodObject<{
2297
2303
  member_allowed: number;
2298
2304
  contacts_count: number;
2299
2305
  channels_count: number;
2300
- plan: {
2301
- data: {
2306
+ updated_at?: string | null | undefined;
2307
+ referrer?: {} | null | undefined;
2308
+ disabled_at?: string | null | undefined;
2309
+ website_log?: {} | null | undefined;
2310
+ plan?: {
2311
+ data?: {
2302
2312
  id: string;
2303
2313
  max_users: number;
2304
2314
  price: Record<string, any>;
2305
2315
  interval: string;
2306
- };
2307
- };
2308
- settings: {
2309
- data: {
2310
- email: string;
2316
+ } | null | undefined;
2317
+ } | null | undefined;
2318
+ photo?: {
2319
+ data?: {
2320
+ uploaded_at: string;
2321
+ photo_file_id: string;
2322
+ url: string;
2323
+ } | null | undefined;
2324
+ } | null | undefined;
2325
+ settings?: {
2326
+ data?: {
2311
2327
  about_en: string;
2312
2328
  'about_en-GB': string;
2313
2329
  about_fr: string;
@@ -2340,6 +2356,7 @@ export declare const companyDataSchema: z.ZodObject<{
2340
2356
  description_nl: string;
2341
2357
  disabled_reason: string;
2342
2358
  domain_agency_id: string;
2359
+ email: string;
2343
2360
  homepage_cover: string;
2344
2361
  homepage_cover_image: string;
2345
2362
  homepage_cover_video: string;
@@ -2393,21 +2410,11 @@ export declare const companyDataSchema: z.ZodObject<{
2393
2410
  livechat_app_id?: string | null | undefined;
2394
2411
  logic_immo_agency_id?: string | null | undefined;
2395
2412
  unassigned_leads_admin_id?: number | null | undefined;
2396
- };
2397
- };
2398
- updated_at?: string | null | undefined;
2399
- referrer?: {} | null | undefined;
2400
- disabled_at?: string | null | undefined;
2401
- photo?: {
2402
- data?: {
2403
- url: string;
2404
- uploaded_at: string;
2405
- photo_file_id: string;
2406
2413
  } | null | undefined;
2407
2414
  } | null | undefined;
2408
- };
2415
+ } | null | undefined;
2409
2416
  }, {
2410
- data: {
2417
+ data?: {
2411
2418
  intercom_app_id: string;
2412
2419
  id: string;
2413
2420
  created_at: string;
@@ -2417,17 +2424,27 @@ export declare const companyDataSchema: z.ZodObject<{
2417
2424
  member_allowed: number;
2418
2425
  contacts_count: number;
2419
2426
  channels_count: number;
2420
- plan: {
2421
- data: {
2427
+ updated_at?: string | null | undefined;
2428
+ referrer?: {} | null | undefined;
2429
+ disabled_at?: string | null | undefined;
2430
+ website_log?: {} | null | undefined;
2431
+ plan?: {
2432
+ data?: {
2422
2433
  id: string;
2423
2434
  max_users: number;
2424
2435
  price: Record<string, any>;
2425
2436
  interval: string;
2426
- };
2427
- };
2428
- settings: {
2429
- data: {
2430
- email: string;
2437
+ } | null | undefined;
2438
+ } | null | undefined;
2439
+ photo?: {
2440
+ data?: {
2441
+ uploaded_at: string;
2442
+ photo_file_id: string;
2443
+ url: string;
2444
+ } | null | undefined;
2445
+ } | null | undefined;
2446
+ settings?: {
2447
+ data?: {
2431
2448
  about_en: string;
2432
2449
  'about_en-GB': string;
2433
2450
  about_fr: string;
@@ -2460,6 +2477,7 @@ export declare const companyDataSchema: z.ZodObject<{
2460
2477
  description_nl: string;
2461
2478
  disabled_reason: string;
2462
2479
  domain_agency_id: string;
2480
+ email: string;
2463
2481
  homepage_cover: string;
2464
2482
  homepage_cover_image: string;
2465
2483
  homepage_cover_video: string;
@@ -2513,19 +2531,9 @@ export declare const companyDataSchema: z.ZodObject<{
2513
2531
  livechat_app_id?: string | null | undefined;
2514
2532
  logic_immo_agency_id?: string | null | undefined;
2515
2533
  unassigned_leads_admin_id?: number | null | undefined;
2516
- };
2517
- };
2518
- updated_at?: string | null | undefined;
2519
- referrer?: {} | null | undefined;
2520
- disabled_at?: string | null | undefined;
2521
- photo?: {
2522
- data?: {
2523
- url: string;
2524
- uploaded_at: string;
2525
- photo_file_id: string;
2526
2534
  } | null | undefined;
2527
2535
  } | null | undefined;
2528
- };
2536
+ } | null | undefined;
2529
2537
  }>;
2530
2538
  export declare const officeSchema: z.ZodObject<{
2531
2539
  id: z.ZodString;
@@ -2533,7 +2541,7 @@ export declare const officeSchema: z.ZodObject<{
2533
2541
  properties_count: z.ZodNumber;
2534
2542
  contacts_count: z.ZodNumber;
2535
2543
  company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2536
- data: z.ZodObject<{
2544
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2537
2545
  id: z.ZodString;
2538
2546
  name: z.ZodString;
2539
2547
  locale: z.ZodString;
@@ -2546,8 +2554,9 @@ export declare const officeSchema: z.ZodObject<{
2546
2554
  disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
2555
  created_at: z.ZodString;
2548
2556
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2549
- plan: z.ZodObject<{
2550
- data: z.ZodObject<{
2557
+ website_log: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
2558
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2559
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2551
2560
  id: z.ZodString;
2552
2561
  max_users: z.ZodNumber;
2553
2562
  price: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -2562,51 +2571,51 @@ export declare const officeSchema: z.ZodObject<{
2562
2571
  max_users: number;
2563
2572
  price: Record<string, any>;
2564
2573
  interval: string;
2565
- }>;
2574
+ }>>>;
2566
2575
  }, "strip", z.ZodTypeAny, {
2567
- data: {
2576
+ data?: {
2568
2577
  id: string;
2569
2578
  max_users: number;
2570
2579
  price: Record<string, any>;
2571
2580
  interval: string;
2572
- };
2581
+ } | null | undefined;
2573
2582
  }, {
2574
- data: {
2583
+ data?: {
2575
2584
  id: string;
2576
2585
  max_users: number;
2577
2586
  price: Record<string, any>;
2578
2587
  interval: string;
2579
- };
2580
- }>;
2588
+ } | null | undefined;
2589
+ }>>>;
2581
2590
  photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2582
2591
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2583
2592
  uploaded_at: z.ZodString;
2584
2593
  photo_file_id: z.ZodString;
2585
2594
  url: z.ZodString;
2586
2595
  }, "strip", z.ZodTypeAny, {
2587
- url: string;
2588
2596
  uploaded_at: string;
2589
2597
  photo_file_id: string;
2590
- }, {
2591
2598
  url: string;
2599
+ }, {
2592
2600
  uploaded_at: string;
2593
2601
  photo_file_id: string;
2602
+ url: string;
2594
2603
  }>>>;
2595
2604
  }, "strip", z.ZodTypeAny, {
2596
2605
  data?: {
2597
- url: string;
2598
2606
  uploaded_at: string;
2599
2607
  photo_file_id: string;
2608
+ url: string;
2600
2609
  } | null | undefined;
2601
2610
  }, {
2602
2611
  data?: {
2603
- url: string;
2604
2612
  uploaded_at: string;
2605
2613
  photo_file_id: string;
2614
+ url: string;
2606
2615
  } | null | undefined;
2607
2616
  }>>>;
2608
- settings: z.ZodObject<{
2609
- data: z.ZodObject<{
2617
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2618
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2610
2619
  about_en: z.ZodString;
2611
2620
  'about_en-GB': z.ZodString;
2612
2621
  about_fr: z.ZodString;
@@ -2694,7 +2703,6 @@ export declare const officeSchema: z.ZodObject<{
2694
2703
  description: z.ZodString;
2695
2704
  about: z.ZodString;
2696
2705
  }, "strip", z.ZodTypeAny, {
2697
- email: string;
2698
2706
  about_en: string;
2699
2707
  'about_en-GB': string;
2700
2708
  about_fr: string;
@@ -2727,6 +2735,7 @@ export declare const officeSchema: z.ZodObject<{
2727
2735
  description_nl: string;
2728
2736
  disabled_reason: string;
2729
2737
  domain_agency_id: string;
2738
+ email: string;
2730
2739
  homepage_cover: string;
2731
2740
  homepage_cover_image: string;
2732
2741
  homepage_cover_video: string;
@@ -2781,7 +2790,6 @@ export declare const officeSchema: z.ZodObject<{
2781
2790
  logic_immo_agency_id?: string | null | undefined;
2782
2791
  unassigned_leads_admin_id?: number | null | undefined;
2783
2792
  }, {
2784
- email: string;
2785
2793
  about_en: string;
2786
2794
  'about_en-GB': string;
2787
2795
  about_fr: string;
@@ -2814,6 +2822,7 @@ export declare const officeSchema: z.ZodObject<{
2814
2822
  description_nl: string;
2815
2823
  disabled_reason: string;
2816
2824
  domain_agency_id: string;
2825
+ email: string;
2817
2826
  homepage_cover: string;
2818
2827
  homepage_cover_image: string;
2819
2828
  homepage_cover_video: string;
@@ -2867,10 +2876,9 @@ export declare const officeSchema: z.ZodObject<{
2867
2876
  livechat_app_id?: string | null | undefined;
2868
2877
  logic_immo_agency_id?: string | null | undefined;
2869
2878
  unassigned_leads_admin_id?: number | null | undefined;
2870
- }>;
2879
+ }>>>;
2871
2880
  }, "strip", z.ZodTypeAny, {
2872
- data: {
2873
- email: string;
2881
+ data?: {
2874
2882
  about_en: string;
2875
2883
  'about_en-GB': string;
2876
2884
  about_fr: string;
@@ -2903,6 +2911,7 @@ export declare const officeSchema: z.ZodObject<{
2903
2911
  description_nl: string;
2904
2912
  disabled_reason: string;
2905
2913
  domain_agency_id: string;
2914
+ email: string;
2906
2915
  homepage_cover: string;
2907
2916
  homepage_cover_image: string;
2908
2917
  homepage_cover_video: string;
@@ -2956,10 +2965,9 @@ export declare const officeSchema: z.ZodObject<{
2956
2965
  livechat_app_id?: string | null | undefined;
2957
2966
  logic_immo_agency_id?: string | null | undefined;
2958
2967
  unassigned_leads_admin_id?: number | null | undefined;
2959
- };
2968
+ } | null | undefined;
2960
2969
  }, {
2961
- data: {
2962
- email: string;
2970
+ data?: {
2963
2971
  about_en: string;
2964
2972
  'about_en-GB': string;
2965
2973
  about_fr: string;
@@ -2992,6 +3000,7 @@ export declare const officeSchema: z.ZodObject<{
2992
3000
  description_nl: string;
2993
3001
  disabled_reason: string;
2994
3002
  domain_agency_id: string;
3003
+ email: string;
2995
3004
  homepage_cover: string;
2996
3005
  homepage_cover_image: string;
2997
3006
  homepage_cover_video: string;
@@ -3045,8 +3054,8 @@ export declare const officeSchema: z.ZodObject<{
3045
3054
  livechat_app_id?: string | null | undefined;
3046
3055
  logic_immo_agency_id?: string | null | undefined;
3047
3056
  unassigned_leads_admin_id?: number | null | undefined;
3048
- };
3049
- }>;
3057
+ } | null | undefined;
3058
+ }>>>;
3050
3059
  }, "strip", z.ZodTypeAny, {
3051
3060
  intercom_app_id: string;
3052
3061
  id: string;
@@ -3057,17 +3066,27 @@ export declare const officeSchema: z.ZodObject<{
3057
3066
  member_allowed: number;
3058
3067
  contacts_count: number;
3059
3068
  channels_count: number;
3060
- plan: {
3061
- data: {
3069
+ updated_at?: string | null | undefined;
3070
+ referrer?: {} | null | undefined;
3071
+ disabled_at?: string | null | undefined;
3072
+ website_log?: {} | null | undefined;
3073
+ plan?: {
3074
+ data?: {
3062
3075
  id: string;
3063
3076
  max_users: number;
3064
3077
  price: Record<string, any>;
3065
3078
  interval: string;
3066
- };
3067
- };
3068
- settings: {
3069
- data: {
3070
- email: string;
3079
+ } | null | undefined;
3080
+ } | null | undefined;
3081
+ photo?: {
3082
+ data?: {
3083
+ uploaded_at: string;
3084
+ photo_file_id: string;
3085
+ url: string;
3086
+ } | null | undefined;
3087
+ } | null | undefined;
3088
+ settings?: {
3089
+ data?: {
3071
3090
  about_en: string;
3072
3091
  'about_en-GB': string;
3073
3092
  about_fr: string;
@@ -3100,6 +3119,7 @@ export declare const officeSchema: z.ZodObject<{
3100
3119
  description_nl: string;
3101
3120
  disabled_reason: string;
3102
3121
  domain_agency_id: string;
3122
+ email: string;
3103
3123
  homepage_cover: string;
3104
3124
  homepage_cover_image: string;
3105
3125
  homepage_cover_video: string;
@@ -3153,16 +3173,6 @@ export declare const officeSchema: z.ZodObject<{
3153
3173
  livechat_app_id?: string | null | undefined;
3154
3174
  logic_immo_agency_id?: string | null | undefined;
3155
3175
  unassigned_leads_admin_id?: number | null | undefined;
3156
- };
3157
- };
3158
- updated_at?: string | null | undefined;
3159
- referrer?: {} | null | undefined;
3160
- disabled_at?: string | null | undefined;
3161
- photo?: {
3162
- data?: {
3163
- url: string;
3164
- uploaded_at: string;
3165
- photo_file_id: string;
3166
3176
  } | null | undefined;
3167
3177
  } | null | undefined;
3168
3178
  }, {
@@ -3175,17 +3185,27 @@ export declare const officeSchema: z.ZodObject<{
3175
3185
  member_allowed: number;
3176
3186
  contacts_count: number;
3177
3187
  channels_count: number;
3178
- plan: {
3179
- data: {
3188
+ updated_at?: string | null | undefined;
3189
+ referrer?: {} | null | undefined;
3190
+ disabled_at?: string | null | undefined;
3191
+ website_log?: {} | null | undefined;
3192
+ plan?: {
3193
+ data?: {
3180
3194
  id: string;
3181
3195
  max_users: number;
3182
3196
  price: Record<string, any>;
3183
3197
  interval: string;
3184
- };
3185
- };
3186
- settings: {
3187
- data: {
3188
- email: string;
3198
+ } | null | undefined;
3199
+ } | null | undefined;
3200
+ photo?: {
3201
+ data?: {
3202
+ uploaded_at: string;
3203
+ photo_file_id: string;
3204
+ url: string;
3205
+ } | null | undefined;
3206
+ } | null | undefined;
3207
+ settings?: {
3208
+ data?: {
3189
3209
  about_en: string;
3190
3210
  'about_en-GB': string;
3191
3211
  about_fr: string;
@@ -3218,6 +3238,7 @@ export declare const officeSchema: z.ZodObject<{
3218
3238
  description_nl: string;
3219
3239
  disabled_reason: string;
3220
3240
  domain_agency_id: string;
3241
+ email: string;
3221
3242
  homepage_cover: string;
3222
3243
  homepage_cover_image: string;
3223
3244
  homepage_cover_video: string;
@@ -3271,21 +3292,11 @@ export declare const officeSchema: z.ZodObject<{
3271
3292
  livechat_app_id?: string | null | undefined;
3272
3293
  logic_immo_agency_id?: string | null | undefined;
3273
3294
  unassigned_leads_admin_id?: number | null | undefined;
3274
- };
3275
- };
3276
- updated_at?: string | null | undefined;
3277
- referrer?: {} | null | undefined;
3278
- disabled_at?: string | null | undefined;
3279
- photo?: {
3280
- data?: {
3281
- url: string;
3282
- uploaded_at: string;
3283
- photo_file_id: string;
3284
3295
  } | null | undefined;
3285
3296
  } | null | undefined;
3286
- }>;
3297
+ }>>>;
3287
3298
  }, "strip", z.ZodTypeAny, {
3288
- data: {
3299
+ data?: {
3289
3300
  intercom_app_id: string;
3290
3301
  id: string;
3291
3302
  created_at: string;
@@ -3295,17 +3306,27 @@ export declare const officeSchema: z.ZodObject<{
3295
3306
  member_allowed: number;
3296
3307
  contacts_count: number;
3297
3308
  channels_count: number;
3298
- plan: {
3299
- data: {
3309
+ updated_at?: string | null | undefined;
3310
+ referrer?: {} | null | undefined;
3311
+ disabled_at?: string | null | undefined;
3312
+ website_log?: {} | null | undefined;
3313
+ plan?: {
3314
+ data?: {
3300
3315
  id: string;
3301
3316
  max_users: number;
3302
3317
  price: Record<string, any>;
3303
3318
  interval: string;
3304
- };
3305
- };
3306
- settings: {
3307
- data: {
3308
- email: string;
3319
+ } | null | undefined;
3320
+ } | null | undefined;
3321
+ photo?: {
3322
+ data?: {
3323
+ uploaded_at: string;
3324
+ photo_file_id: string;
3325
+ url: string;
3326
+ } | null | undefined;
3327
+ } | null | undefined;
3328
+ settings?: {
3329
+ data?: {
3309
3330
  about_en: string;
3310
3331
  'about_en-GB': string;
3311
3332
  about_fr: string;
@@ -3338,6 +3359,7 @@ export declare const officeSchema: z.ZodObject<{
3338
3359
  description_nl: string;
3339
3360
  disabled_reason: string;
3340
3361
  domain_agency_id: string;
3362
+ email: string;
3341
3363
  homepage_cover: string;
3342
3364
  homepage_cover_image: string;
3343
3365
  homepage_cover_video: string;
@@ -3391,21 +3413,11 @@ export declare const officeSchema: z.ZodObject<{
3391
3413
  livechat_app_id?: string | null | undefined;
3392
3414
  logic_immo_agency_id?: string | null | undefined;
3393
3415
  unassigned_leads_admin_id?: number | null | undefined;
3394
- };
3395
- };
3396
- updated_at?: string | null | undefined;
3397
- referrer?: {} | null | undefined;
3398
- disabled_at?: string | null | undefined;
3399
- photo?: {
3400
- data?: {
3401
- url: string;
3402
- uploaded_at: string;
3403
- photo_file_id: string;
3404
3416
  } | null | undefined;
3405
3417
  } | null | undefined;
3406
- };
3418
+ } | null | undefined;
3407
3419
  }, {
3408
- data: {
3420
+ data?: {
3409
3421
  intercom_app_id: string;
3410
3422
  id: string;
3411
3423
  created_at: string;
@@ -3415,17 +3427,27 @@ export declare const officeSchema: z.ZodObject<{
3415
3427
  member_allowed: number;
3416
3428
  contacts_count: number;
3417
3429
  channels_count: number;
3418
- plan: {
3419
- data: {
3430
+ updated_at?: string | null | undefined;
3431
+ referrer?: {} | null | undefined;
3432
+ disabled_at?: string | null | undefined;
3433
+ website_log?: {} | null | undefined;
3434
+ plan?: {
3435
+ data?: {
3420
3436
  id: string;
3421
3437
  max_users: number;
3422
3438
  price: Record<string, any>;
3423
3439
  interval: string;
3424
- };
3425
- };
3426
- settings: {
3427
- data: {
3428
- email: string;
3440
+ } | null | undefined;
3441
+ } | null | undefined;
3442
+ photo?: {
3443
+ data?: {
3444
+ uploaded_at: string;
3445
+ photo_file_id: string;
3446
+ url: string;
3447
+ } | null | undefined;
3448
+ } | null | undefined;
3449
+ settings?: {
3450
+ data?: {
3429
3451
  about_en: string;
3430
3452
  'about_en-GB': string;
3431
3453
  about_fr: string;
@@ -3458,6 +3480,7 @@ export declare const officeSchema: z.ZodObject<{
3458
3480
  description_nl: string;
3459
3481
  disabled_reason: string;
3460
3482
  domain_agency_id: string;
3483
+ email: string;
3461
3484
  homepage_cover: string;
3462
3485
  homepage_cover_image: string;
3463
3486
  homepage_cover_video: string;
@@ -3511,22 +3534,12 @@ export declare const officeSchema: z.ZodObject<{
3511
3534
  livechat_app_id?: string | null | undefined;
3512
3535
  logic_immo_agency_id?: string | null | undefined;
3513
3536
  unassigned_leads_admin_id?: number | null | undefined;
3514
- };
3515
- };
3516
- updated_at?: string | null | undefined;
3517
- referrer?: {} | null | undefined;
3518
- disabled_at?: string | null | undefined;
3519
- photo?: {
3520
- data?: {
3521
- url: string;
3522
- uploaded_at: string;
3523
- photo_file_id: string;
3524
3537
  } | null | undefined;
3525
3538
  } | null | undefined;
3526
- };
3539
+ } | null | undefined;
3527
3540
  }>>>;
3528
3541
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3529
- data: z.ZodObject<{
3542
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3530
3543
  measurement_system: z.ZodNativeEnum<typeof MeasurementSystem>;
3531
3544
  numeral_system: z.ZodString;
3532
3545
  currency: z.ZodNativeEnum<typeof import("../common/currencies").Currency>;
@@ -3549,9 +3562,9 @@ export declare const officeSchema: z.ZodObject<{
3549
3562
  locale: z.ZodString;
3550
3563
  office_id: z.ZodString;
3551
3564
  }, "strip", z.ZodTypeAny, {
3565
+ id: number;
3552
3566
  first_name: string;
3553
3567
  last_name: string;
3554
- id: number;
3555
3568
  full_name: string;
3556
3569
  role_id: string;
3557
3570
  created_at: string;
@@ -3564,9 +3577,9 @@ export declare const officeSchema: z.ZodObject<{
3564
3577
  launchdarkly_hash?: string | null | undefined;
3565
3578
  appointment_service_url?: string | null | undefined;
3566
3579
  }, {
3580
+ id: number;
3567
3581
  first_name: string;
3568
3582
  last_name: string;
3569
- id: number;
3570
3583
  full_name: string;
3571
3584
  role_id: string;
3572
3585
  created_at: string;
@@ -3586,9 +3599,9 @@ export declare const officeSchema: z.ZodObject<{
3586
3599
  country: string;
3587
3600
  visit_duration: number;
3588
3601
  default_assignee: {
3602
+ id: number;
3589
3603
  first_name: string;
3590
3604
  last_name: string;
3591
- id: number;
3592
3605
  full_name: string;
3593
3606
  role_id: string;
3594
3607
  created_at: string;
@@ -3609,9 +3622,9 @@ export declare const officeSchema: z.ZodObject<{
3609
3622
  country: string;
3610
3623
  visit_duration: number;
3611
3624
  default_assignee: {
3625
+ id: number;
3612
3626
  first_name: string;
3613
3627
  last_name: string;
3614
- id: number;
3615
3628
  full_name: string;
3616
3629
  role_id: string;
3617
3630
  created_at: string;
@@ -3625,18 +3638,18 @@ export declare const officeSchema: z.ZodObject<{
3625
3638
  appointment_service_url?: string | null | undefined;
3626
3639
  };
3627
3640
  use_bright_matching?: boolean | null | undefined;
3628
- }>;
3641
+ }>>>;
3629
3642
  }, "strip", z.ZodTypeAny, {
3630
- data: {
3643
+ data?: {
3631
3644
  measurement_system: MeasurementSystem;
3632
3645
  numeral_system: string;
3633
3646
  currency: import("../common/currencies").Currency;
3634
3647
  country: string;
3635
3648
  visit_duration: number;
3636
3649
  default_assignee: {
3650
+ id: number;
3637
3651
  first_name: string;
3638
3652
  last_name: string;
3639
- id: number;
3640
3653
  full_name: string;
3641
3654
  role_id: string;
3642
3655
  created_at: string;
@@ -3650,18 +3663,18 @@ export declare const officeSchema: z.ZodObject<{
3650
3663
  appointment_service_url?: string | null | undefined;
3651
3664
  };
3652
3665
  use_bright_matching?: boolean | null | undefined;
3653
- };
3666
+ } | null | undefined;
3654
3667
  }, {
3655
- data: {
3668
+ data?: {
3656
3669
  measurement_system: MeasurementSystem;
3657
3670
  numeral_system: string;
3658
3671
  currency: import("../common/currencies").Currency;
3659
3672
  country: string;
3660
3673
  visit_duration: number;
3661
3674
  default_assignee: {
3675
+ id: number;
3662
3676
  first_name: string;
3663
3677
  last_name: string;
3664
- id: number;
3665
3678
  full_name: string;
3666
3679
  role_id: string;
3667
3680
  created_at: string;
@@ -3675,35 +3688,71 @@ export declare const officeSchema: z.ZodObject<{
3675
3688
  appointment_service_url?: string | null | undefined;
3676
3689
  };
3677
3690
  use_bright_matching?: boolean | null | undefined;
3678
- };
3691
+ } | null | undefined;
3679
3692
  }>>>;
3680
3693
  }, "strip", z.ZodTypeAny, {
3681
3694
  id: string;
3682
3695
  name: string;
3683
3696
  contacts_count: number;
3684
3697
  properties_count: number;
3685
- company?: {
3686
- data: {
3687
- intercom_app_id: string;
3688
- id: string;
3689
- created_at: string;
3698
+ settings?: {
3699
+ data?: {
3700
+ measurement_system: MeasurementSystem;
3701
+ numeral_system: string;
3702
+ currency: import("../common/currencies").Currency;
3703
+ country: string;
3704
+ visit_duration: number;
3705
+ default_assignee: {
3706
+ id: number;
3707
+ first_name: string;
3708
+ last_name: string;
3709
+ full_name: string;
3710
+ role_id: string;
3711
+ created_at: string;
3712
+ updated_at: string;
3713
+ locale: string;
3714
+ office_id: string;
3715
+ email?: string | null | undefined;
3716
+ phone?: string | null | undefined;
3717
+ intercom_hash?: string | null | undefined;
3718
+ launchdarkly_hash?: string | null | undefined;
3719
+ appointment_service_url?: string | null | undefined;
3720
+ };
3721
+ use_bright_matching?: boolean | null | undefined;
3722
+ } | null | undefined;
3723
+ } | null | undefined;
3724
+ company?: {
3725
+ data?: {
3726
+ intercom_app_id: string;
3727
+ id: string;
3728
+ created_at: string;
3690
3729
  locale: string;
3691
3730
  name: string;
3692
3731
  member_count: number;
3693
3732
  member_allowed: number;
3694
3733
  contacts_count: number;
3695
3734
  channels_count: number;
3696
- plan: {
3697
- data: {
3735
+ updated_at?: string | null | undefined;
3736
+ referrer?: {} | null | undefined;
3737
+ disabled_at?: string | null | undefined;
3738
+ website_log?: {} | null | undefined;
3739
+ plan?: {
3740
+ data?: {
3698
3741
  id: string;
3699
3742
  max_users: number;
3700
3743
  price: Record<string, any>;
3701
3744
  interval: string;
3702
- };
3703
- };
3704
- settings: {
3705
- data: {
3706
- email: string;
3745
+ } | null | undefined;
3746
+ } | null | undefined;
3747
+ photo?: {
3748
+ data?: {
3749
+ uploaded_at: string;
3750
+ photo_file_id: string;
3751
+ url: string;
3752
+ } | null | undefined;
3753
+ } | null | undefined;
3754
+ settings?: {
3755
+ data?: {
3707
3756
  about_en: string;
3708
3757
  'about_en-GB': string;
3709
3758
  about_fr: string;
@@ -3736,6 +3785,7 @@ export declare const officeSchema: z.ZodObject<{
3736
3785
  description_nl: string;
3737
3786
  disabled_reason: string;
3738
3787
  domain_agency_id: string;
3788
+ email: string;
3739
3789
  homepage_cover: string;
3740
3790
  homepage_cover_image: string;
3741
3791
  homepage_cover_video: string;
@@ -3789,31 +3839,26 @@ export declare const officeSchema: z.ZodObject<{
3789
3839
  livechat_app_id?: string | null | undefined;
3790
3840
  logic_immo_agency_id?: string | null | undefined;
3791
3841
  unassigned_leads_admin_id?: number | null | undefined;
3792
- };
3793
- };
3794
- updated_at?: string | null | undefined;
3795
- referrer?: {} | null | undefined;
3796
- disabled_at?: string | null | undefined;
3797
- photo?: {
3798
- data?: {
3799
- url: string;
3800
- uploaded_at: string;
3801
- photo_file_id: string;
3802
3842
  } | null | undefined;
3803
3843
  } | null | undefined;
3804
- };
3844
+ } | null | undefined;
3805
3845
  } | null | undefined;
3846
+ }, {
3847
+ id: string;
3848
+ name: string;
3849
+ contacts_count: number;
3850
+ properties_count: number;
3806
3851
  settings?: {
3807
- data: {
3852
+ data?: {
3808
3853
  measurement_system: MeasurementSystem;
3809
3854
  numeral_system: string;
3810
3855
  currency: import("../common/currencies").Currency;
3811
3856
  country: string;
3812
3857
  visit_duration: number;
3813
3858
  default_assignee: {
3859
+ id: number;
3814
3860
  first_name: string;
3815
3861
  last_name: string;
3816
- id: number;
3817
3862
  full_name: string;
3818
3863
  role_id: string;
3819
3864
  created_at: string;
@@ -3827,15 +3872,10 @@ export declare const officeSchema: z.ZodObject<{
3827
3872
  appointment_service_url?: string | null | undefined;
3828
3873
  };
3829
3874
  use_bright_matching?: boolean | null | undefined;
3830
- };
3875
+ } | null | undefined;
3831
3876
  } | null | undefined;
3832
- }, {
3833
- id: string;
3834
- name: string;
3835
- contacts_count: number;
3836
- properties_count: number;
3837
3877
  company?: {
3838
- data: {
3878
+ data?: {
3839
3879
  intercom_app_id: string;
3840
3880
  id: string;
3841
3881
  created_at: string;
@@ -3845,17 +3885,27 @@ export declare const officeSchema: z.ZodObject<{
3845
3885
  member_allowed: number;
3846
3886
  contacts_count: number;
3847
3887
  channels_count: number;
3848
- plan: {
3849
- data: {
3888
+ updated_at?: string | null | undefined;
3889
+ referrer?: {} | null | undefined;
3890
+ disabled_at?: string | null | undefined;
3891
+ website_log?: {} | null | undefined;
3892
+ plan?: {
3893
+ data?: {
3850
3894
  id: string;
3851
3895
  max_users: number;
3852
3896
  price: Record<string, any>;
3853
3897
  interval: string;
3854
- };
3855
- };
3856
- settings: {
3857
- data: {
3858
- email: string;
3898
+ } | null | undefined;
3899
+ } | null | undefined;
3900
+ photo?: {
3901
+ data?: {
3902
+ uploaded_at: string;
3903
+ photo_file_id: string;
3904
+ url: string;
3905
+ } | null | undefined;
3906
+ } | null | undefined;
3907
+ settings?: {
3908
+ data?: {
3859
3909
  about_en: string;
3860
3910
  'about_en-GB': string;
3861
3911
  about_fr: string;
@@ -3888,6 +3938,7 @@ export declare const officeSchema: z.ZodObject<{
3888
3938
  description_nl: string;
3889
3939
  disabled_reason: string;
3890
3940
  domain_agency_id: string;
3941
+ email: string;
3891
3942
  homepage_cover: string;
3892
3943
  homepage_cover_image: string;
3893
3944
  homepage_cover_video: string;
@@ -3941,55 +3992,19 @@ export declare const officeSchema: z.ZodObject<{
3941
3992
  livechat_app_id?: string | null | undefined;
3942
3993
  logic_immo_agency_id?: string | null | undefined;
3943
3994
  unassigned_leads_admin_id?: number | null | undefined;
3944
- };
3945
- };
3946
- updated_at?: string | null | undefined;
3947
- referrer?: {} | null | undefined;
3948
- disabled_at?: string | null | undefined;
3949
- photo?: {
3950
- data?: {
3951
- url: string;
3952
- uploaded_at: string;
3953
- photo_file_id: string;
3954
3995
  } | null | undefined;
3955
3996
  } | null | undefined;
3956
- };
3957
- } | null | undefined;
3958
- settings?: {
3959
- data: {
3960
- measurement_system: MeasurementSystem;
3961
- numeral_system: string;
3962
- currency: import("../common/currencies").Currency;
3963
- country: string;
3964
- visit_duration: number;
3965
- default_assignee: {
3966
- first_name: string;
3967
- last_name: string;
3968
- id: number;
3969
- full_name: string;
3970
- role_id: string;
3971
- created_at: string;
3972
- updated_at: string;
3973
- locale: string;
3974
- office_id: string;
3975
- email?: string | null | undefined;
3976
- phone?: string | null | undefined;
3977
- intercom_hash?: string | null | undefined;
3978
- launchdarkly_hash?: string | null | undefined;
3979
- appointment_service_url?: string | null | undefined;
3980
- };
3981
- use_bright_matching?: boolean | null | undefined;
3982
- };
3997
+ } | null | undefined;
3983
3998
  } | null | undefined;
3984
3999
  }>;
3985
4000
  export declare const officeDataSchema: z.ZodObject<{
3986
- data: z.ZodObject<{
4001
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3987
4002
  id: z.ZodString;
3988
4003
  name: z.ZodString;
3989
4004
  properties_count: z.ZodNumber;
3990
4005
  contacts_count: z.ZodNumber;
3991
4006
  company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3992
- data: z.ZodObject<{
4007
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3993
4008
  id: z.ZodString;
3994
4009
  name: z.ZodString;
3995
4010
  locale: z.ZodString;
@@ -4002,8 +4017,9 @@ export declare const officeDataSchema: z.ZodObject<{
4002
4017
  disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4003
4018
  created_at: z.ZodString;
4004
4019
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4005
- plan: z.ZodObject<{
4006
- data: z.ZodObject<{
4020
+ website_log: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
4021
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4022
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4007
4023
  id: z.ZodString;
4008
4024
  max_users: z.ZodNumber;
4009
4025
  price: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4018,51 +4034,51 @@ export declare const officeDataSchema: z.ZodObject<{
4018
4034
  max_users: number;
4019
4035
  price: Record<string, any>;
4020
4036
  interval: string;
4021
- }>;
4037
+ }>>>;
4022
4038
  }, "strip", z.ZodTypeAny, {
4023
- data: {
4039
+ data?: {
4024
4040
  id: string;
4025
4041
  max_users: number;
4026
4042
  price: Record<string, any>;
4027
4043
  interval: string;
4028
- };
4044
+ } | null | undefined;
4029
4045
  }, {
4030
- data: {
4046
+ data?: {
4031
4047
  id: string;
4032
4048
  max_users: number;
4033
4049
  price: Record<string, any>;
4034
4050
  interval: string;
4035
- };
4036
- }>;
4051
+ } | null | undefined;
4052
+ }>>>;
4037
4053
  photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4038
4054
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4039
4055
  uploaded_at: z.ZodString;
4040
4056
  photo_file_id: z.ZodString;
4041
4057
  url: z.ZodString;
4042
4058
  }, "strip", z.ZodTypeAny, {
4043
- url: string;
4044
4059
  uploaded_at: string;
4045
4060
  photo_file_id: string;
4046
- }, {
4047
4061
  url: string;
4062
+ }, {
4048
4063
  uploaded_at: string;
4049
4064
  photo_file_id: string;
4065
+ url: string;
4050
4066
  }>>>;
4051
4067
  }, "strip", z.ZodTypeAny, {
4052
4068
  data?: {
4053
- url: string;
4054
4069
  uploaded_at: string;
4055
4070
  photo_file_id: string;
4071
+ url: string;
4056
4072
  } | null | undefined;
4057
4073
  }, {
4058
4074
  data?: {
4059
- url: string;
4060
4075
  uploaded_at: string;
4061
4076
  photo_file_id: string;
4077
+ url: string;
4062
4078
  } | null | undefined;
4063
4079
  }>>>;
4064
- settings: z.ZodObject<{
4065
- data: z.ZodObject<{
4080
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4081
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4066
4082
  about_en: z.ZodString;
4067
4083
  'about_en-GB': z.ZodString;
4068
4084
  about_fr: z.ZodString;
@@ -4150,7 +4166,6 @@ export declare const officeDataSchema: z.ZodObject<{
4150
4166
  description: z.ZodString;
4151
4167
  about: z.ZodString;
4152
4168
  }, "strip", z.ZodTypeAny, {
4153
- email: string;
4154
4169
  about_en: string;
4155
4170
  'about_en-GB': string;
4156
4171
  about_fr: string;
@@ -4183,6 +4198,7 @@ export declare const officeDataSchema: z.ZodObject<{
4183
4198
  description_nl: string;
4184
4199
  disabled_reason: string;
4185
4200
  domain_agency_id: string;
4201
+ email: string;
4186
4202
  homepage_cover: string;
4187
4203
  homepage_cover_image: string;
4188
4204
  homepage_cover_video: string;
@@ -4237,7 +4253,6 @@ export declare const officeDataSchema: z.ZodObject<{
4237
4253
  logic_immo_agency_id?: string | null | undefined;
4238
4254
  unassigned_leads_admin_id?: number | null | undefined;
4239
4255
  }, {
4240
- email: string;
4241
4256
  about_en: string;
4242
4257
  'about_en-GB': string;
4243
4258
  about_fr: string;
@@ -4270,6 +4285,7 @@ export declare const officeDataSchema: z.ZodObject<{
4270
4285
  description_nl: string;
4271
4286
  disabled_reason: string;
4272
4287
  domain_agency_id: string;
4288
+ email: string;
4273
4289
  homepage_cover: string;
4274
4290
  homepage_cover_image: string;
4275
4291
  homepage_cover_video: string;
@@ -4323,10 +4339,9 @@ export declare const officeDataSchema: z.ZodObject<{
4323
4339
  livechat_app_id?: string | null | undefined;
4324
4340
  logic_immo_agency_id?: string | null | undefined;
4325
4341
  unassigned_leads_admin_id?: number | null | undefined;
4326
- }>;
4342
+ }>>>;
4327
4343
  }, "strip", z.ZodTypeAny, {
4328
- data: {
4329
- email: string;
4344
+ data?: {
4330
4345
  about_en: string;
4331
4346
  'about_en-GB': string;
4332
4347
  about_fr: string;
@@ -4359,6 +4374,7 @@ export declare const officeDataSchema: z.ZodObject<{
4359
4374
  description_nl: string;
4360
4375
  disabled_reason: string;
4361
4376
  domain_agency_id: string;
4377
+ email: string;
4362
4378
  homepage_cover: string;
4363
4379
  homepage_cover_image: string;
4364
4380
  homepage_cover_video: string;
@@ -4412,10 +4428,9 @@ export declare const officeDataSchema: z.ZodObject<{
4412
4428
  livechat_app_id?: string | null | undefined;
4413
4429
  logic_immo_agency_id?: string | null | undefined;
4414
4430
  unassigned_leads_admin_id?: number | null | undefined;
4415
- };
4431
+ } | null | undefined;
4416
4432
  }, {
4417
- data: {
4418
- email: string;
4433
+ data?: {
4419
4434
  about_en: string;
4420
4435
  'about_en-GB': string;
4421
4436
  about_fr: string;
@@ -4448,6 +4463,7 @@ export declare const officeDataSchema: z.ZodObject<{
4448
4463
  description_nl: string;
4449
4464
  disabled_reason: string;
4450
4465
  domain_agency_id: string;
4466
+ email: string;
4451
4467
  homepage_cover: string;
4452
4468
  homepage_cover_image: string;
4453
4469
  homepage_cover_video: string;
@@ -4501,8 +4517,8 @@ export declare const officeDataSchema: z.ZodObject<{
4501
4517
  livechat_app_id?: string | null | undefined;
4502
4518
  logic_immo_agency_id?: string | null | undefined;
4503
4519
  unassigned_leads_admin_id?: number | null | undefined;
4504
- };
4505
- }>;
4520
+ } | null | undefined;
4521
+ }>>>;
4506
4522
  }, "strip", z.ZodTypeAny, {
4507
4523
  intercom_app_id: string;
4508
4524
  id: string;
@@ -4513,17 +4529,27 @@ export declare const officeDataSchema: z.ZodObject<{
4513
4529
  member_allowed: number;
4514
4530
  contacts_count: number;
4515
4531
  channels_count: number;
4516
- plan: {
4517
- data: {
4532
+ updated_at?: string | null | undefined;
4533
+ referrer?: {} | null | undefined;
4534
+ disabled_at?: string | null | undefined;
4535
+ website_log?: {} | null | undefined;
4536
+ plan?: {
4537
+ data?: {
4518
4538
  id: string;
4519
4539
  max_users: number;
4520
4540
  price: Record<string, any>;
4521
4541
  interval: string;
4522
- };
4523
- };
4524
- settings: {
4525
- data: {
4526
- email: string;
4542
+ } | null | undefined;
4543
+ } | null | undefined;
4544
+ photo?: {
4545
+ data?: {
4546
+ uploaded_at: string;
4547
+ photo_file_id: string;
4548
+ url: string;
4549
+ } | null | undefined;
4550
+ } | null | undefined;
4551
+ settings?: {
4552
+ data?: {
4527
4553
  about_en: string;
4528
4554
  'about_en-GB': string;
4529
4555
  about_fr: string;
@@ -4556,6 +4582,7 @@ export declare const officeDataSchema: z.ZodObject<{
4556
4582
  description_nl: string;
4557
4583
  disabled_reason: string;
4558
4584
  domain_agency_id: string;
4585
+ email: string;
4559
4586
  homepage_cover: string;
4560
4587
  homepage_cover_image: string;
4561
4588
  homepage_cover_video: string;
@@ -4609,16 +4636,6 @@ export declare const officeDataSchema: z.ZodObject<{
4609
4636
  livechat_app_id?: string | null | undefined;
4610
4637
  logic_immo_agency_id?: string | null | undefined;
4611
4638
  unassigned_leads_admin_id?: number | null | undefined;
4612
- };
4613
- };
4614
- updated_at?: string | null | undefined;
4615
- referrer?: {} | null | undefined;
4616
- disabled_at?: string | null | undefined;
4617
- photo?: {
4618
- data?: {
4619
- url: string;
4620
- uploaded_at: string;
4621
- photo_file_id: string;
4622
4639
  } | null | undefined;
4623
4640
  } | null | undefined;
4624
4641
  }, {
@@ -4631,17 +4648,27 @@ export declare const officeDataSchema: z.ZodObject<{
4631
4648
  member_allowed: number;
4632
4649
  contacts_count: number;
4633
4650
  channels_count: number;
4634
- plan: {
4635
- data: {
4651
+ updated_at?: string | null | undefined;
4652
+ referrer?: {} | null | undefined;
4653
+ disabled_at?: string | null | undefined;
4654
+ website_log?: {} | null | undefined;
4655
+ plan?: {
4656
+ data?: {
4636
4657
  id: string;
4637
4658
  max_users: number;
4638
4659
  price: Record<string, any>;
4639
4660
  interval: string;
4640
- };
4641
- };
4642
- settings: {
4643
- data: {
4644
- email: string;
4661
+ } | null | undefined;
4662
+ } | null | undefined;
4663
+ photo?: {
4664
+ data?: {
4665
+ uploaded_at: string;
4666
+ photo_file_id: string;
4667
+ url: string;
4668
+ } | null | undefined;
4669
+ } | null | undefined;
4670
+ settings?: {
4671
+ data?: {
4645
4672
  about_en: string;
4646
4673
  'about_en-GB': string;
4647
4674
  about_fr: string;
@@ -4674,6 +4701,7 @@ export declare const officeDataSchema: z.ZodObject<{
4674
4701
  description_nl: string;
4675
4702
  disabled_reason: string;
4676
4703
  domain_agency_id: string;
4704
+ email: string;
4677
4705
  homepage_cover: string;
4678
4706
  homepage_cover_image: string;
4679
4707
  homepage_cover_video: string;
@@ -4727,21 +4755,11 @@ export declare const officeDataSchema: z.ZodObject<{
4727
4755
  livechat_app_id?: string | null | undefined;
4728
4756
  logic_immo_agency_id?: string | null | undefined;
4729
4757
  unassigned_leads_admin_id?: number | null | undefined;
4730
- };
4731
- };
4732
- updated_at?: string | null | undefined;
4733
- referrer?: {} | null | undefined;
4734
- disabled_at?: string | null | undefined;
4735
- photo?: {
4736
- data?: {
4737
- url: string;
4738
- uploaded_at: string;
4739
- photo_file_id: string;
4740
4758
  } | null | undefined;
4741
4759
  } | null | undefined;
4742
- }>;
4760
+ }>>>;
4743
4761
  }, "strip", z.ZodTypeAny, {
4744
- data: {
4762
+ data?: {
4745
4763
  intercom_app_id: string;
4746
4764
  id: string;
4747
4765
  created_at: string;
@@ -4751,17 +4769,27 @@ export declare const officeDataSchema: z.ZodObject<{
4751
4769
  member_allowed: number;
4752
4770
  contacts_count: number;
4753
4771
  channels_count: number;
4754
- plan: {
4755
- data: {
4772
+ updated_at?: string | null | undefined;
4773
+ referrer?: {} | null | undefined;
4774
+ disabled_at?: string | null | undefined;
4775
+ website_log?: {} | null | undefined;
4776
+ plan?: {
4777
+ data?: {
4756
4778
  id: string;
4757
4779
  max_users: number;
4758
4780
  price: Record<string, any>;
4759
4781
  interval: string;
4760
- };
4761
- };
4762
- settings: {
4763
- data: {
4764
- email: string;
4782
+ } | null | undefined;
4783
+ } | null | undefined;
4784
+ photo?: {
4785
+ data?: {
4786
+ uploaded_at: string;
4787
+ photo_file_id: string;
4788
+ url: string;
4789
+ } | null | undefined;
4790
+ } | null | undefined;
4791
+ settings?: {
4792
+ data?: {
4765
4793
  about_en: string;
4766
4794
  'about_en-GB': string;
4767
4795
  about_fr: string;
@@ -4794,6 +4822,7 @@ export declare const officeDataSchema: z.ZodObject<{
4794
4822
  description_nl: string;
4795
4823
  disabled_reason: string;
4796
4824
  domain_agency_id: string;
4825
+ email: string;
4797
4826
  homepage_cover: string;
4798
4827
  homepage_cover_image: string;
4799
4828
  homepage_cover_video: string;
@@ -4847,21 +4876,11 @@ export declare const officeDataSchema: z.ZodObject<{
4847
4876
  livechat_app_id?: string | null | undefined;
4848
4877
  logic_immo_agency_id?: string | null | undefined;
4849
4878
  unassigned_leads_admin_id?: number | null | undefined;
4850
- };
4851
- };
4852
- updated_at?: string | null | undefined;
4853
- referrer?: {} | null | undefined;
4854
- disabled_at?: string | null | undefined;
4855
- photo?: {
4856
- data?: {
4857
- url: string;
4858
- uploaded_at: string;
4859
- photo_file_id: string;
4860
4879
  } | null | undefined;
4861
4880
  } | null | undefined;
4862
- };
4881
+ } | null | undefined;
4863
4882
  }, {
4864
- data: {
4883
+ data?: {
4865
4884
  intercom_app_id: string;
4866
4885
  id: string;
4867
4886
  created_at: string;
@@ -4871,17 +4890,27 @@ export declare const officeDataSchema: z.ZodObject<{
4871
4890
  member_allowed: number;
4872
4891
  contacts_count: number;
4873
4892
  channels_count: number;
4874
- plan: {
4875
- data: {
4893
+ updated_at?: string | null | undefined;
4894
+ referrer?: {} | null | undefined;
4895
+ disabled_at?: string | null | undefined;
4896
+ website_log?: {} | null | undefined;
4897
+ plan?: {
4898
+ data?: {
4876
4899
  id: string;
4877
4900
  max_users: number;
4878
4901
  price: Record<string, any>;
4879
4902
  interval: string;
4880
- };
4881
- };
4882
- settings: {
4883
- data: {
4884
- email: string;
4903
+ } | null | undefined;
4904
+ } | null | undefined;
4905
+ photo?: {
4906
+ data?: {
4907
+ uploaded_at: string;
4908
+ photo_file_id: string;
4909
+ url: string;
4910
+ } | null | undefined;
4911
+ } | null | undefined;
4912
+ settings?: {
4913
+ data?: {
4885
4914
  about_en: string;
4886
4915
  'about_en-GB': string;
4887
4916
  about_fr: string;
@@ -4914,6 +4943,7 @@ export declare const officeDataSchema: z.ZodObject<{
4914
4943
  description_nl: string;
4915
4944
  disabled_reason: string;
4916
4945
  domain_agency_id: string;
4946
+ email: string;
4917
4947
  homepage_cover: string;
4918
4948
  homepage_cover_image: string;
4919
4949
  homepage_cover_video: string;
@@ -4967,22 +4997,12 @@ export declare const officeDataSchema: z.ZodObject<{
4967
4997
  livechat_app_id?: string | null | undefined;
4968
4998
  logic_immo_agency_id?: string | null | undefined;
4969
4999
  unassigned_leads_admin_id?: number | null | undefined;
4970
- };
4971
- };
4972
- updated_at?: string | null | undefined;
4973
- referrer?: {} | null | undefined;
4974
- disabled_at?: string | null | undefined;
4975
- photo?: {
4976
- data?: {
4977
- url: string;
4978
- uploaded_at: string;
4979
- photo_file_id: string;
4980
5000
  } | null | undefined;
4981
5001
  } | null | undefined;
4982
- };
5002
+ } | null | undefined;
4983
5003
  }>>>;
4984
5004
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4985
- data: z.ZodObject<{
5005
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4986
5006
  measurement_system: z.ZodNativeEnum<typeof MeasurementSystem>;
4987
5007
  numeral_system: z.ZodString;
4988
5008
  currency: z.ZodNativeEnum<typeof import("../common/currencies").Currency>;
@@ -5005,9 +5025,9 @@ export declare const officeDataSchema: z.ZodObject<{
5005
5025
  locale: z.ZodString;
5006
5026
  office_id: z.ZodString;
5007
5027
  }, "strip", z.ZodTypeAny, {
5028
+ id: number;
5008
5029
  first_name: string;
5009
5030
  last_name: string;
5010
- id: number;
5011
5031
  full_name: string;
5012
5032
  role_id: string;
5013
5033
  created_at: string;
@@ -5020,9 +5040,9 @@ export declare const officeDataSchema: z.ZodObject<{
5020
5040
  launchdarkly_hash?: string | null | undefined;
5021
5041
  appointment_service_url?: string | null | undefined;
5022
5042
  }, {
5043
+ id: number;
5023
5044
  first_name: string;
5024
5045
  last_name: string;
5025
- id: number;
5026
5046
  full_name: string;
5027
5047
  role_id: string;
5028
5048
  created_at: string;
@@ -5042,9 +5062,9 @@ export declare const officeDataSchema: z.ZodObject<{
5042
5062
  country: string;
5043
5063
  visit_duration: number;
5044
5064
  default_assignee: {
5065
+ id: number;
5045
5066
  first_name: string;
5046
5067
  last_name: string;
5047
- id: number;
5048
5068
  full_name: string;
5049
5069
  role_id: string;
5050
5070
  created_at: string;
@@ -5065,9 +5085,9 @@ export declare const officeDataSchema: z.ZodObject<{
5065
5085
  country: string;
5066
5086
  visit_duration: number;
5067
5087
  default_assignee: {
5088
+ id: number;
5068
5089
  first_name: string;
5069
5090
  last_name: string;
5070
- id: number;
5071
5091
  full_name: string;
5072
5092
  role_id: string;
5073
5093
  created_at: string;
@@ -5081,18 +5101,18 @@ export declare const officeDataSchema: z.ZodObject<{
5081
5101
  appointment_service_url?: string | null | undefined;
5082
5102
  };
5083
5103
  use_bright_matching?: boolean | null | undefined;
5084
- }>;
5104
+ }>>>;
5085
5105
  }, "strip", z.ZodTypeAny, {
5086
- data: {
5106
+ data?: {
5087
5107
  measurement_system: MeasurementSystem;
5088
5108
  numeral_system: string;
5089
5109
  currency: import("../common/currencies").Currency;
5090
5110
  country: string;
5091
5111
  visit_duration: number;
5092
5112
  default_assignee: {
5113
+ id: number;
5093
5114
  first_name: string;
5094
5115
  last_name: string;
5095
- id: number;
5096
5116
  full_name: string;
5097
5117
  role_id: string;
5098
5118
  created_at: string;
@@ -5106,18 +5126,18 @@ export declare const officeDataSchema: z.ZodObject<{
5106
5126
  appointment_service_url?: string | null | undefined;
5107
5127
  };
5108
5128
  use_bright_matching?: boolean | null | undefined;
5109
- };
5129
+ } | null | undefined;
5110
5130
  }, {
5111
- data: {
5131
+ data?: {
5112
5132
  measurement_system: MeasurementSystem;
5113
5133
  numeral_system: string;
5114
5134
  currency: import("../common/currencies").Currency;
5115
5135
  country: string;
5116
5136
  visit_duration: number;
5117
5137
  default_assignee: {
5138
+ id: number;
5118
5139
  first_name: string;
5119
5140
  last_name: string;
5120
- id: number;
5121
5141
  full_name: string;
5122
5142
  role_id: string;
5123
5143
  created_at: string;
@@ -5131,15 +5151,41 @@ export declare const officeDataSchema: z.ZodObject<{
5131
5151
  appointment_service_url?: string | null | undefined;
5132
5152
  };
5133
5153
  use_bright_matching?: boolean | null | undefined;
5134
- };
5154
+ } | null | undefined;
5135
5155
  }>>>;
5136
5156
  }, "strip", z.ZodTypeAny, {
5137
5157
  id: string;
5138
5158
  name: string;
5139
5159
  contacts_count: number;
5140
5160
  properties_count: number;
5161
+ settings?: {
5162
+ data?: {
5163
+ measurement_system: MeasurementSystem;
5164
+ numeral_system: string;
5165
+ currency: import("../common/currencies").Currency;
5166
+ country: string;
5167
+ visit_duration: number;
5168
+ default_assignee: {
5169
+ id: number;
5170
+ first_name: string;
5171
+ last_name: string;
5172
+ full_name: string;
5173
+ role_id: string;
5174
+ created_at: string;
5175
+ updated_at: string;
5176
+ locale: string;
5177
+ office_id: string;
5178
+ email?: string | null | undefined;
5179
+ phone?: string | null | undefined;
5180
+ intercom_hash?: string | null | undefined;
5181
+ launchdarkly_hash?: string | null | undefined;
5182
+ appointment_service_url?: string | null | undefined;
5183
+ };
5184
+ use_bright_matching?: boolean | null | undefined;
5185
+ } | null | undefined;
5186
+ } | null | undefined;
5141
5187
  company?: {
5142
- data: {
5188
+ data?: {
5143
5189
  intercom_app_id: string;
5144
5190
  id: string;
5145
5191
  created_at: string;
@@ -5149,17 +5195,27 @@ export declare const officeDataSchema: z.ZodObject<{
5149
5195
  member_allowed: number;
5150
5196
  contacts_count: number;
5151
5197
  channels_count: number;
5152
- plan: {
5153
- data: {
5198
+ updated_at?: string | null | undefined;
5199
+ referrer?: {} | null | undefined;
5200
+ disabled_at?: string | null | undefined;
5201
+ website_log?: {} | null | undefined;
5202
+ plan?: {
5203
+ data?: {
5154
5204
  id: string;
5155
5205
  max_users: number;
5156
5206
  price: Record<string, any>;
5157
5207
  interval: string;
5158
- };
5159
- };
5160
- settings: {
5161
- data: {
5162
- email: string;
5208
+ } | null | undefined;
5209
+ } | null | undefined;
5210
+ photo?: {
5211
+ data?: {
5212
+ uploaded_at: string;
5213
+ photo_file_id: string;
5214
+ url: string;
5215
+ } | null | undefined;
5216
+ } | null | undefined;
5217
+ settings?: {
5218
+ data?: {
5163
5219
  about_en: string;
5164
5220
  'about_en-GB': string;
5165
5221
  about_fr: string;
@@ -5192,6 +5248,7 @@ export declare const officeDataSchema: z.ZodObject<{
5192
5248
  description_nl: string;
5193
5249
  disabled_reason: string;
5194
5250
  domain_agency_id: string;
5251
+ email: string;
5195
5252
  homepage_cover: string;
5196
5253
  homepage_cover_image: string;
5197
5254
  homepage_cover_video: string;
@@ -5245,31 +5302,26 @@ export declare const officeDataSchema: z.ZodObject<{
5245
5302
  livechat_app_id?: string | null | undefined;
5246
5303
  logic_immo_agency_id?: string | null | undefined;
5247
5304
  unassigned_leads_admin_id?: number | null | undefined;
5248
- };
5249
- };
5250
- updated_at?: string | null | undefined;
5251
- referrer?: {} | null | undefined;
5252
- disabled_at?: string | null | undefined;
5253
- photo?: {
5254
- data?: {
5255
- url: string;
5256
- uploaded_at: string;
5257
- photo_file_id: string;
5258
5305
  } | null | undefined;
5259
5306
  } | null | undefined;
5260
- };
5307
+ } | null | undefined;
5261
5308
  } | null | undefined;
5309
+ }, {
5310
+ id: string;
5311
+ name: string;
5312
+ contacts_count: number;
5313
+ properties_count: number;
5262
5314
  settings?: {
5263
- data: {
5315
+ data?: {
5264
5316
  measurement_system: MeasurementSystem;
5265
5317
  numeral_system: string;
5266
5318
  currency: import("../common/currencies").Currency;
5267
5319
  country: string;
5268
5320
  visit_duration: number;
5269
5321
  default_assignee: {
5322
+ id: number;
5270
5323
  first_name: string;
5271
5324
  last_name: string;
5272
- id: number;
5273
5325
  full_name: string;
5274
5326
  role_id: string;
5275
5327
  created_at: string;
@@ -5283,15 +5335,10 @@ export declare const officeDataSchema: z.ZodObject<{
5283
5335
  appointment_service_url?: string | null | undefined;
5284
5336
  };
5285
5337
  use_bright_matching?: boolean | null | undefined;
5286
- };
5338
+ } | null | undefined;
5287
5339
  } | null | undefined;
5288
- }, {
5289
- id: string;
5290
- name: string;
5291
- contacts_count: number;
5292
- properties_count: number;
5293
5340
  company?: {
5294
- data: {
5341
+ data?: {
5295
5342
  intercom_app_id: string;
5296
5343
  id: string;
5297
5344
  created_at: string;
@@ -5301,17 +5348,27 @@ export declare const officeDataSchema: z.ZodObject<{
5301
5348
  member_allowed: number;
5302
5349
  contacts_count: number;
5303
5350
  channels_count: number;
5304
- plan: {
5305
- data: {
5351
+ updated_at?: string | null | undefined;
5352
+ referrer?: {} | null | undefined;
5353
+ disabled_at?: string | null | undefined;
5354
+ website_log?: {} | null | undefined;
5355
+ plan?: {
5356
+ data?: {
5306
5357
  id: string;
5307
5358
  max_users: number;
5308
5359
  price: Record<string, any>;
5309
5360
  interval: string;
5310
- };
5311
- };
5312
- settings: {
5313
- data: {
5314
- email: string;
5361
+ } | null | undefined;
5362
+ } | null | undefined;
5363
+ photo?: {
5364
+ data?: {
5365
+ uploaded_at: string;
5366
+ photo_file_id: string;
5367
+ url: string;
5368
+ } | null | undefined;
5369
+ } | null | undefined;
5370
+ settings?: {
5371
+ data?: {
5315
5372
  about_en: string;
5316
5373
  'about_en-GB': string;
5317
5374
  about_fr: string;
@@ -5344,6 +5401,7 @@ export declare const officeDataSchema: z.ZodObject<{
5344
5401
  description_nl: string;
5345
5402
  disabled_reason: string;
5346
5403
  domain_agency_id: string;
5404
+ email: string;
5347
5405
  homepage_cover: string;
5348
5406
  homepage_cover_image: string;
5349
5407
  homepage_cover_video: string;
@@ -5397,31 +5455,28 @@ export declare const officeDataSchema: z.ZodObject<{
5397
5455
  livechat_app_id?: string | null | undefined;
5398
5456
  logic_immo_agency_id?: string | null | undefined;
5399
5457
  unassigned_leads_admin_id?: number | null | undefined;
5400
- };
5401
- };
5402
- updated_at?: string | null | undefined;
5403
- referrer?: {} | null | undefined;
5404
- disabled_at?: string | null | undefined;
5405
- photo?: {
5406
- data?: {
5407
- url: string;
5408
- uploaded_at: string;
5409
- photo_file_id: string;
5410
5458
  } | null | undefined;
5411
5459
  } | null | undefined;
5412
- };
5460
+ } | null | undefined;
5413
5461
  } | null | undefined;
5462
+ }>>>;
5463
+ }, "strip", z.ZodTypeAny, {
5464
+ data?: {
5465
+ id: string;
5466
+ name: string;
5467
+ contacts_count: number;
5468
+ properties_count: number;
5414
5469
  settings?: {
5415
- data: {
5470
+ data?: {
5416
5471
  measurement_system: MeasurementSystem;
5417
5472
  numeral_system: string;
5418
5473
  currency: import("../common/currencies").Currency;
5419
5474
  country: string;
5420
5475
  visit_duration: number;
5421
5476
  default_assignee: {
5477
+ id: number;
5422
5478
  first_name: string;
5423
5479
  last_name: string;
5424
- id: number;
5425
5480
  full_name: string;
5426
5481
  role_id: string;
5427
5482
  created_at: string;
@@ -5435,17 +5490,10 @@ export declare const officeDataSchema: z.ZodObject<{
5435
5490
  appointment_service_url?: string | null | undefined;
5436
5491
  };
5437
5492
  use_bright_matching?: boolean | null | undefined;
5438
- };
5493
+ } | null | undefined;
5439
5494
  } | null | undefined;
5440
- }>;
5441
- }, "strip", z.ZodTypeAny, {
5442
- data: {
5443
- id: string;
5444
- name: string;
5445
- contacts_count: number;
5446
- properties_count: number;
5447
5495
  company?: {
5448
- data: {
5496
+ data?: {
5449
5497
  intercom_app_id: string;
5450
5498
  id: string;
5451
5499
  created_at: string;
@@ -5455,17 +5503,27 @@ export declare const officeDataSchema: z.ZodObject<{
5455
5503
  member_allowed: number;
5456
5504
  contacts_count: number;
5457
5505
  channels_count: number;
5458
- plan: {
5459
- data: {
5506
+ updated_at?: string | null | undefined;
5507
+ referrer?: {} | null | undefined;
5508
+ disabled_at?: string | null | undefined;
5509
+ website_log?: {} | null | undefined;
5510
+ plan?: {
5511
+ data?: {
5460
5512
  id: string;
5461
5513
  max_users: number;
5462
5514
  price: Record<string, any>;
5463
5515
  interval: string;
5464
- };
5465
- };
5466
- settings: {
5467
- data: {
5468
- email: string;
5516
+ } | null | undefined;
5517
+ } | null | undefined;
5518
+ photo?: {
5519
+ data?: {
5520
+ uploaded_at: string;
5521
+ photo_file_id: string;
5522
+ url: string;
5523
+ } | null | undefined;
5524
+ } | null | undefined;
5525
+ settings?: {
5526
+ data?: {
5469
5527
  about_en: string;
5470
5528
  'about_en-GB': string;
5471
5529
  about_fr: string;
@@ -5498,6 +5556,7 @@ export declare const officeDataSchema: z.ZodObject<{
5498
5556
  description_nl: string;
5499
5557
  disabled_reason: string;
5500
5558
  domain_agency_id: string;
5559
+ email: string;
5501
5560
  homepage_cover: string;
5502
5561
  homepage_cover_image: string;
5503
5562
  homepage_cover_video: string;
@@ -5551,31 +5610,28 @@ export declare const officeDataSchema: z.ZodObject<{
5551
5610
  livechat_app_id?: string | null | undefined;
5552
5611
  logic_immo_agency_id?: string | null | undefined;
5553
5612
  unassigned_leads_admin_id?: number | null | undefined;
5554
- };
5555
- };
5556
- updated_at?: string | null | undefined;
5557
- referrer?: {} | null | undefined;
5558
- disabled_at?: string | null | undefined;
5559
- photo?: {
5560
- data?: {
5561
- url: string;
5562
- uploaded_at: string;
5563
- photo_file_id: string;
5564
5613
  } | null | undefined;
5565
5614
  } | null | undefined;
5566
- };
5615
+ } | null | undefined;
5567
5616
  } | null | undefined;
5617
+ } | null | undefined;
5618
+ }, {
5619
+ data?: {
5620
+ id: string;
5621
+ name: string;
5622
+ contacts_count: number;
5623
+ properties_count: number;
5568
5624
  settings?: {
5569
- data: {
5625
+ data?: {
5570
5626
  measurement_system: MeasurementSystem;
5571
5627
  numeral_system: string;
5572
5628
  currency: import("../common/currencies").Currency;
5573
5629
  country: string;
5574
5630
  visit_duration: number;
5575
5631
  default_assignee: {
5632
+ id: number;
5576
5633
  first_name: string;
5577
5634
  last_name: string;
5578
- id: number;
5579
5635
  full_name: string;
5580
5636
  role_id: string;
5581
5637
  created_at: string;
@@ -5589,17 +5645,10 @@ export declare const officeDataSchema: z.ZodObject<{
5589
5645
  appointment_service_url?: string | null | undefined;
5590
5646
  };
5591
5647
  use_bright_matching?: boolean | null | undefined;
5592
- };
5648
+ } | null | undefined;
5593
5649
  } | null | undefined;
5594
- };
5595
- }, {
5596
- data: {
5597
- id: string;
5598
- name: string;
5599
- contacts_count: number;
5600
- properties_count: number;
5601
5650
  company?: {
5602
- data: {
5651
+ data?: {
5603
5652
  intercom_app_id: string;
5604
5653
  id: string;
5605
5654
  created_at: string;
@@ -5609,17 +5658,27 @@ export declare const officeDataSchema: z.ZodObject<{
5609
5658
  member_allowed: number;
5610
5659
  contacts_count: number;
5611
5660
  channels_count: number;
5612
- plan: {
5613
- data: {
5661
+ updated_at?: string | null | undefined;
5662
+ referrer?: {} | null | undefined;
5663
+ disabled_at?: string | null | undefined;
5664
+ website_log?: {} | null | undefined;
5665
+ plan?: {
5666
+ data?: {
5614
5667
  id: string;
5615
5668
  max_users: number;
5616
5669
  price: Record<string, any>;
5617
5670
  interval: string;
5618
- };
5619
- };
5620
- settings: {
5621
- data: {
5622
- email: string;
5671
+ } | null | undefined;
5672
+ } | null | undefined;
5673
+ photo?: {
5674
+ data?: {
5675
+ uploaded_at: string;
5676
+ photo_file_id: string;
5677
+ url: string;
5678
+ } | null | undefined;
5679
+ } | null | undefined;
5680
+ settings?: {
5681
+ data?: {
5623
5682
  about_en: string;
5624
5683
  'about_en-GB': string;
5625
5684
  about_fr: string;
@@ -5652,6 +5711,7 @@ export declare const officeDataSchema: z.ZodObject<{
5652
5711
  description_nl: string;
5653
5712
  disabled_reason: string;
5654
5713
  domain_agency_id: string;
5714
+ email: string;
5655
5715
  homepage_cover: string;
5656
5716
  homepage_cover_image: string;
5657
5717
  homepage_cover_video: string;
@@ -5705,45 +5765,9 @@ export declare const officeDataSchema: z.ZodObject<{
5705
5765
  livechat_app_id?: string | null | undefined;
5706
5766
  logic_immo_agency_id?: string | null | undefined;
5707
5767
  unassigned_leads_admin_id?: number | null | undefined;
5708
- };
5709
- };
5710
- updated_at?: string | null | undefined;
5711
- referrer?: {} | null | undefined;
5712
- disabled_at?: string | null | undefined;
5713
- photo?: {
5714
- data?: {
5715
- url: string;
5716
- uploaded_at: string;
5717
- photo_file_id: string;
5718
5768
  } | null | undefined;
5719
5769
  } | null | undefined;
5720
- };
5721
- } | null | undefined;
5722
- settings?: {
5723
- data: {
5724
- measurement_system: MeasurementSystem;
5725
- numeral_system: string;
5726
- currency: import("../common/currencies").Currency;
5727
- country: string;
5728
- visit_duration: number;
5729
- default_assignee: {
5730
- first_name: string;
5731
- last_name: string;
5732
- id: number;
5733
- full_name: string;
5734
- role_id: string;
5735
- created_at: string;
5736
- updated_at: string;
5737
- locale: string;
5738
- office_id: string;
5739
- email?: string | null | undefined;
5740
- phone?: string | null | undefined;
5741
- intercom_hash?: string | null | undefined;
5742
- launchdarkly_hash?: string | null | undefined;
5743
- appointment_service_url?: string | null | undefined;
5744
- };
5745
- use_bright_matching?: boolean | null | undefined;
5746
- };
5770
+ } | null | undefined;
5747
5771
  } | null | undefined;
5748
- };
5772
+ } | null | undefined;
5749
5773
  }>;