@kl1/contracts 1.4.18 → 1.4.19

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.
@@ -280321,6 +280321,101 @@ export declare const publicApiContract: {
280321
280321
  };
280322
280322
  path: "api/v1/tags";
280323
280323
  };
280324
+ getAllChannel: {
280325
+ method: "GET";
280326
+ query: import("zod").ZodObject<{
280327
+ page: import("zod").ZodDefault<import("zod").ZodNumber>;
280328
+ pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
280329
+ keyword: import("zod").ZodOptional<import("zod").ZodString>;
280330
+ }, "strip", import("zod").ZodTypeAny, {
280331
+ page: number;
280332
+ pageSize: number;
280333
+ keyword?: string | undefined;
280334
+ }, {
280335
+ page?: number | undefined;
280336
+ pageSize?: number | undefined;
280337
+ keyword?: string | undefined;
280338
+ }>;
280339
+ responses: {
280340
+ 200: import("zod").ZodObject<{
280341
+ requestId: import("zod").ZodString;
280342
+ page: import("zod").ZodNumber;
280343
+ pageSize: import("zod").ZodNumber;
280344
+ total: import("zod").ZodNumber;
280345
+ lastPage: import("zod").ZodNumber;
280346
+ data: import("zod").ZodAny;
280347
+ }, "strip", import("zod").ZodTypeAny, {
280348
+ total: number;
280349
+ page: number;
280350
+ pageSize: number;
280351
+ lastPage: number;
280352
+ requestId: string;
280353
+ data?: any;
280354
+ }, {
280355
+ total: number;
280356
+ page: number;
280357
+ pageSize: number;
280358
+ lastPage: number;
280359
+ requestId: string;
280360
+ data?: any;
280361
+ }>;
280362
+ 400: import("zod").ZodObject<{
280363
+ message: import("zod").ZodString;
280364
+ }, "strip", import("zod").ZodTypeAny, {
280365
+ message: string;
280366
+ }, {
280367
+ message: string;
280368
+ }>;
280369
+ 409: import("zod").ZodObject<{
280370
+ message: import("zod").ZodString;
280371
+ }, "strip", import("zod").ZodTypeAny, {
280372
+ message: string;
280373
+ }, {
280374
+ message: string;
280375
+ }>;
280376
+ 401: import("zod").ZodObject<{
280377
+ message: import("zod").ZodString;
280378
+ error: import("zod").ZodAny;
280379
+ }, "strip", import("zod").ZodTypeAny, {
280380
+ message: string;
280381
+ error?: any;
280382
+ }, {
280383
+ message: string;
280384
+ error?: any;
280385
+ }>;
280386
+ 404: import("zod").ZodObject<{
280387
+ message: import("zod").ZodString;
280388
+ error: import("zod").ZodAny;
280389
+ }, "strip", import("zod").ZodTypeAny, {
280390
+ message: string;
280391
+ error?: any;
280392
+ }, {
280393
+ message: string;
280394
+ error?: any;
280395
+ }>;
280396
+ 422: import("zod").ZodObject<{
280397
+ message: import("zod").ZodString;
280398
+ error: import("zod").ZodAny;
280399
+ }, "strip", import("zod").ZodTypeAny, {
280400
+ message: string;
280401
+ error?: any;
280402
+ }, {
280403
+ message: string;
280404
+ error?: any;
280405
+ }>;
280406
+ 500: import("zod").ZodObject<{
280407
+ message: import("zod").ZodString;
280408
+ error: import("zod").ZodAny;
280409
+ }, "strip", import("zod").ZodTypeAny, {
280410
+ message: string;
280411
+ error?: any;
280412
+ }, {
280413
+ message: string;
280414
+ error?: any;
280415
+ }>;
280416
+ };
280417
+ path: "api/v1/channels";
280418
+ };
280324
280419
  getAllContact: {
280325
280420
  summary: "Get all contacts";
280326
280421
  method: "GET";
@@ -281345,6 +281440,968 @@ export declare const publicApiContract: {
281345
281440
  };
281346
281441
  path: "api/v1/contacts";
281347
281442
  };
281443
+ getContactBySocialPlatformId: {
281444
+ summary: "Get contacts by social platform id.";
281445
+ method: "GET";
281446
+ query: import("zod").ZodObject<{
281447
+ socialPlatformId: import("zod").ZodString;
281448
+ }, "strip", import("zod").ZodTypeAny, {
281449
+ socialPlatformId: string;
281450
+ }, {
281451
+ socialPlatformId: string;
281452
+ }>;
281453
+ responses: {
281454
+ 200: import("zod").ZodObject<{
281455
+ status: import("zod").ZodString;
281456
+ message: import("zod").ZodString;
281457
+ data: import("zod").ZodArray<import("zod").ZodObject<{
281458
+ id: import("zod").ZodString;
281459
+ createdAt: import("zod").ZodDate;
281460
+ updatedAt: import("zod").ZodDate;
281461
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281462
+ name: import("zod").ZodString;
281463
+ address: import("zod").ZodNullable<import("zod").ZodString>;
281464
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
281465
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
281466
+ contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
281467
+ socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
281468
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
281469
+ id: import("zod").ZodString;
281470
+ createdAt: import("zod").ZodDate;
281471
+ updatedAt: import("zod").ZodDate;
281472
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281473
+ name: import("zod").ZodString;
281474
+ }, "strip", import("zod").ZodTypeAny, {
281475
+ name: string;
281476
+ id: string;
281477
+ createdAt: Date;
281478
+ updatedAt: Date;
281479
+ deletedAt: Date | null;
281480
+ }, {
281481
+ name: string;
281482
+ id: string;
281483
+ createdAt: Date;
281484
+ updatedAt: Date;
281485
+ deletedAt: Date | null;
281486
+ }>, "many">;
281487
+ company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
281488
+ id: import("zod").ZodString;
281489
+ createdAt: import("zod").ZodDate;
281490
+ updatedAt: import("zod").ZodDate;
281491
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281492
+ name: import("zod").ZodOptional<import("zod").ZodString>;
281493
+ phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
281494
+ address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
281495
+ industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
281496
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
281497
+ id: import("zod").ZodString;
281498
+ createdAt: import("zod").ZodDate;
281499
+ updatedAt: import("zod").ZodDate;
281500
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281501
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
281502
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
281503
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
281504
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
281505
+ attribute: import("zod").ZodObject<Omit<{
281506
+ id: import("zod").ZodString;
281507
+ createdAt: import("zod").ZodDate;
281508
+ updatedAt: import("zod").ZodDate;
281509
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281510
+ systemName: import("zod").ZodString;
281511
+ displayName: import("zod").ZodString;
281512
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
281513
+ position: import("zod").ZodNumber;
281514
+ isDefault: import("zod").ZodBoolean;
281515
+ isArchived: import("zod").ZodBoolean;
281516
+ isRequired: import("zod").ZodBoolean;
281517
+ isUnique: import("zod").ZodBoolean;
281518
+ options: import("zod").ZodArray<import("zod").ZodObject<{
281519
+ position: import("zod").ZodNumber;
281520
+ value: import("zod").ZodString;
281521
+ label: import("zod").ZodString;
281522
+ isDefault: import("zod").ZodBoolean;
281523
+ id: import("zod").ZodString;
281524
+ }, "strip", import("zod").ZodTypeAny, {
281525
+ id: string;
281526
+ position: number;
281527
+ value: string;
281528
+ label: string;
281529
+ isDefault: boolean;
281530
+ }, {
281531
+ id: string;
281532
+ position: number;
281533
+ value: string;
281534
+ label: string;
281535
+ isDefault: boolean;
281536
+ }>, "many">;
281537
+ group: import("zod").ZodObject<{
281538
+ id: import("zod").ZodString;
281539
+ createdAt: import("zod").ZodDate;
281540
+ updatedAt: import("zod").ZodDate;
281541
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281542
+ systemName: import("zod").ZodString;
281543
+ displayName: import("zod").ZodString;
281544
+ }, "strip", import("zod").ZodTypeAny, {
281545
+ id: string;
281546
+ createdAt: Date;
281547
+ updatedAt: Date;
281548
+ deletedAt: Date | null;
281549
+ systemName: string;
281550
+ displayName: string;
281551
+ }, {
281552
+ id: string;
281553
+ createdAt: Date;
281554
+ updatedAt: Date;
281555
+ deletedAt: Date | null;
281556
+ systemName: string;
281557
+ displayName: string;
281558
+ }>;
281559
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
281560
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281561
+ id: string;
281562
+ position: number;
281563
+ createdAt: Date;
281564
+ updatedAt: Date;
281565
+ deletedAt: Date | null;
281566
+ systemName: string;
281567
+ displayName: string;
281568
+ isDefault: boolean;
281569
+ isArchived: boolean;
281570
+ isRequired: boolean;
281571
+ isUnique: boolean;
281572
+ }, {
281573
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281574
+ id: string;
281575
+ position: number;
281576
+ createdAt: Date;
281577
+ updatedAt: Date;
281578
+ deletedAt: Date | null;
281579
+ systemName: string;
281580
+ displayName: string;
281581
+ isDefault: boolean;
281582
+ isArchived: boolean;
281583
+ isRequired: boolean;
281584
+ isUnique: boolean;
281585
+ }>;
281586
+ }, "strip", import("zod").ZodTypeAny, {
281587
+ id: string;
281588
+ createdAt: Date;
281589
+ updatedAt: Date;
281590
+ deletedAt: Date | null;
281591
+ attribute: {
281592
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281593
+ id: string;
281594
+ position: number;
281595
+ createdAt: Date;
281596
+ updatedAt: Date;
281597
+ deletedAt: Date | null;
281598
+ systemName: string;
281599
+ displayName: string;
281600
+ isDefault: boolean;
281601
+ isArchived: boolean;
281602
+ isRequired: boolean;
281603
+ isUnique: boolean;
281604
+ };
281605
+ textValue: string | null;
281606
+ booleanValue: boolean | null;
281607
+ numberValue: number | null;
281608
+ dateValue: Date | null;
281609
+ }, {
281610
+ id: string;
281611
+ createdAt: Date;
281612
+ updatedAt: Date;
281613
+ deletedAt: Date | null;
281614
+ attribute: {
281615
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281616
+ id: string;
281617
+ position: number;
281618
+ createdAt: Date;
281619
+ updatedAt: Date;
281620
+ deletedAt: Date | null;
281621
+ systemName: string;
281622
+ displayName: string;
281623
+ isDefault: boolean;
281624
+ isArchived: boolean;
281625
+ isRequired: boolean;
281626
+ isUnique: boolean;
281627
+ };
281628
+ textValue: string | null;
281629
+ booleanValue: boolean | null;
281630
+ numberValue: number | null;
281631
+ dateValue: Date | null;
281632
+ }>, "many">>;
281633
+ }, "customFields">, "strip", import("zod").ZodTypeAny, {
281634
+ id: string;
281635
+ createdAt: Date;
281636
+ updatedAt: Date;
281637
+ deletedAt: Date | null;
281638
+ name?: string | undefined;
281639
+ address?: string | null | undefined;
281640
+ phone?: string | null | undefined;
281641
+ industry?: string | null | undefined;
281642
+ }, {
281643
+ id: string;
281644
+ createdAt: Date;
281645
+ updatedAt: Date;
281646
+ deletedAt: Date | null;
281647
+ name?: string | undefined;
281648
+ address?: string | null | undefined;
281649
+ phone?: string | null | undefined;
281650
+ industry?: string | null | undefined;
281651
+ }>>;
281652
+ customFields: import("zod").ZodArray<import("zod").ZodObject<{
281653
+ id: import("zod").ZodString;
281654
+ createdAt: import("zod").ZodDate;
281655
+ updatedAt: import("zod").ZodDate;
281656
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281657
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
281658
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
281659
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
281660
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
281661
+ attribute: import("zod").ZodObject<Omit<{
281662
+ id: import("zod").ZodString;
281663
+ createdAt: import("zod").ZodDate;
281664
+ updatedAt: import("zod").ZodDate;
281665
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281666
+ systemName: import("zod").ZodString;
281667
+ displayName: import("zod").ZodString;
281668
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
281669
+ position: import("zod").ZodNumber;
281670
+ isDefault: import("zod").ZodBoolean;
281671
+ isArchived: import("zod").ZodBoolean;
281672
+ isRequired: import("zod").ZodBoolean;
281673
+ isUnique: import("zod").ZodBoolean;
281674
+ options: import("zod").ZodArray<import("zod").ZodObject<{
281675
+ position: import("zod").ZodNumber;
281676
+ value: import("zod").ZodString;
281677
+ label: import("zod").ZodString;
281678
+ isDefault: import("zod").ZodBoolean;
281679
+ id: import("zod").ZodString;
281680
+ }, "strip", import("zod").ZodTypeAny, {
281681
+ id: string;
281682
+ position: number;
281683
+ value: string;
281684
+ label: string;
281685
+ isDefault: boolean;
281686
+ }, {
281687
+ id: string;
281688
+ position: number;
281689
+ value: string;
281690
+ label: string;
281691
+ isDefault: boolean;
281692
+ }>, "many">;
281693
+ group: import("zod").ZodObject<{
281694
+ id: import("zod").ZodString;
281695
+ createdAt: import("zod").ZodDate;
281696
+ updatedAt: import("zod").ZodDate;
281697
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281698
+ systemName: import("zod").ZodString;
281699
+ displayName: import("zod").ZodString;
281700
+ }, "strip", import("zod").ZodTypeAny, {
281701
+ id: string;
281702
+ createdAt: Date;
281703
+ updatedAt: Date;
281704
+ deletedAt: Date | null;
281705
+ systemName: string;
281706
+ displayName: string;
281707
+ }, {
281708
+ id: string;
281709
+ createdAt: Date;
281710
+ updatedAt: Date;
281711
+ deletedAt: Date | null;
281712
+ systemName: string;
281713
+ displayName: string;
281714
+ }>;
281715
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
281716
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281717
+ id: string;
281718
+ position: number;
281719
+ createdAt: Date;
281720
+ updatedAt: Date;
281721
+ deletedAt: Date | null;
281722
+ systemName: string;
281723
+ displayName: string;
281724
+ isDefault: boolean;
281725
+ isArchived: boolean;
281726
+ isRequired: boolean;
281727
+ isUnique: boolean;
281728
+ }, {
281729
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281730
+ id: string;
281731
+ position: number;
281732
+ createdAt: Date;
281733
+ updatedAt: Date;
281734
+ deletedAt: Date | null;
281735
+ systemName: string;
281736
+ displayName: string;
281737
+ isDefault: boolean;
281738
+ isArchived: boolean;
281739
+ isRequired: boolean;
281740
+ isUnique: boolean;
281741
+ }>;
281742
+ uploads: import("zod").ZodArray<import("zod").ZodObject<{
281743
+ id: import("zod").ZodString;
281744
+ createdAt: import("zod").ZodDate;
281745
+ updatedAt: import("zod").ZodDate;
281746
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281747
+ bucketName: import("zod").ZodString;
281748
+ fileName: import("zod").ZodString;
281749
+ fileSize: import("zod").ZodNumber;
281750
+ fileKey: import("zod").ZodString;
281751
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
281752
+ status: import("zod").ZodNullable<import("zod").ZodString>;
281753
+ }, "strip", import("zod").ZodTypeAny, {
281754
+ id: string;
281755
+ status: string | null;
281756
+ createdAt: Date;
281757
+ updatedAt: Date;
281758
+ deletedAt: Date | null;
281759
+ fileName: string;
281760
+ fileKey: string;
281761
+ bucketName: string;
281762
+ fileSize: number;
281763
+ fileUrl: string | null;
281764
+ }, {
281765
+ id: string;
281766
+ status: string | null;
281767
+ createdAt: Date;
281768
+ updatedAt: Date;
281769
+ deletedAt: Date | null;
281770
+ fileName: string;
281771
+ fileKey: string;
281772
+ bucketName: string;
281773
+ fileSize: number;
281774
+ fileUrl: string | null;
281775
+ }>, "many">;
281776
+ }, "strip", import("zod").ZodTypeAny, {
281777
+ id: string;
281778
+ createdAt: Date;
281779
+ updatedAt: Date;
281780
+ deletedAt: Date | null;
281781
+ attribute: {
281782
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281783
+ id: string;
281784
+ position: number;
281785
+ createdAt: Date;
281786
+ updatedAt: Date;
281787
+ deletedAt: Date | null;
281788
+ systemName: string;
281789
+ displayName: string;
281790
+ isDefault: boolean;
281791
+ isArchived: boolean;
281792
+ isRequired: boolean;
281793
+ isUnique: boolean;
281794
+ };
281795
+ textValue: string | null;
281796
+ booleanValue: boolean | null;
281797
+ numberValue: number | null;
281798
+ dateValue: Date | null;
281799
+ uploads: {
281800
+ id: string;
281801
+ status: string | null;
281802
+ createdAt: Date;
281803
+ updatedAt: Date;
281804
+ deletedAt: Date | null;
281805
+ fileName: string;
281806
+ fileKey: string;
281807
+ bucketName: string;
281808
+ fileSize: number;
281809
+ fileUrl: string | null;
281810
+ }[];
281811
+ }, {
281812
+ id: string;
281813
+ createdAt: Date;
281814
+ updatedAt: Date;
281815
+ deletedAt: Date | null;
281816
+ attribute: {
281817
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281818
+ id: string;
281819
+ position: number;
281820
+ createdAt: Date;
281821
+ updatedAt: Date;
281822
+ deletedAt: Date | null;
281823
+ systemName: string;
281824
+ displayName: string;
281825
+ isDefault: boolean;
281826
+ isArchived: boolean;
281827
+ isRequired: boolean;
281828
+ isUnique: boolean;
281829
+ };
281830
+ textValue: string | null;
281831
+ booleanValue: boolean | null;
281832
+ numberValue: number | null;
281833
+ dateValue: Date | null;
281834
+ uploads: {
281835
+ id: string;
281836
+ status: string | null;
281837
+ createdAt: Date;
281838
+ updatedAt: Date;
281839
+ deletedAt: Date | null;
281840
+ fileName: string;
281841
+ fileKey: string;
281842
+ bucketName: string;
281843
+ fileSize: number;
281844
+ fileUrl: string | null;
281845
+ }[];
281846
+ }>, "many">;
281847
+ contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
281848
+ id: import("zod").ZodString;
281849
+ createdAt: import("zod").ZodDate;
281850
+ updatedAt: import("zod").ZodDate;
281851
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281852
+ email: import("zod").ZodString;
281853
+ isPrimary: import("zod").ZodBoolean;
281854
+ }, "strip", import("zod").ZodTypeAny, {
281855
+ id: string;
281856
+ isPrimary: boolean;
281857
+ email: string;
281858
+ createdAt: Date;
281859
+ updatedAt: Date;
281860
+ deletedAt: Date | null;
281861
+ }, {
281862
+ id: string;
281863
+ isPrimary: boolean;
281864
+ email: string;
281865
+ createdAt: Date;
281866
+ updatedAt: Date;
281867
+ deletedAt: Date | null;
281868
+ }>, "many">;
281869
+ contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
281870
+ id: import("zod").ZodString;
281871
+ createdAt: import("zod").ZodDate;
281872
+ updatedAt: import("zod").ZodDate;
281873
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281874
+ phone: import("zod").ZodString;
281875
+ isPrimary: import("zod").ZodBoolean;
281876
+ }, "strip", import("zod").ZodTypeAny, {
281877
+ id: string;
281878
+ isPrimary: boolean;
281879
+ createdAt: Date;
281880
+ updatedAt: Date;
281881
+ deletedAt: Date | null;
281882
+ phone: string;
281883
+ }, {
281884
+ id: string;
281885
+ isPrimary: boolean;
281886
+ createdAt: Date;
281887
+ updatedAt: Date;
281888
+ deletedAt: Date | null;
281889
+ phone: string;
281890
+ }>, "many">;
281891
+ activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
281892
+ id: import("zod").ZodString;
281893
+ createdAt: import("zod").ZodDate;
281894
+ updatedAt: import("zod").ZodDate;
281895
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281896
+ entityId: import("zod").ZodString;
281897
+ description: import("zod").ZodString;
281898
+ entityType: import("zod").ZodObject<{
281899
+ id: import("zod").ZodString;
281900
+ createdAt: import("zod").ZodDate;
281901
+ updatedAt: import("zod").ZodDate;
281902
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
281903
+ entity: import("zod").ZodString;
281904
+ description: import("zod").ZodNullable<import("zod").ZodString>;
281905
+ }, "strip", import("zod").ZodTypeAny, {
281906
+ id: string;
281907
+ description: string | null;
281908
+ createdAt: Date;
281909
+ updatedAt: Date;
281910
+ deletedAt: Date | null;
281911
+ entity: string;
281912
+ }, {
281913
+ id: string;
281914
+ description: string | null;
281915
+ createdAt: Date;
281916
+ updatedAt: Date;
281917
+ deletedAt: Date | null;
281918
+ entity: string;
281919
+ }>;
281920
+ }, "strip", import("zod").ZodTypeAny, {
281921
+ id: string;
281922
+ description: string;
281923
+ createdAt: Date;
281924
+ updatedAt: Date;
281925
+ deletedAt: Date | null;
281926
+ entityId: string;
281927
+ entityType: {
281928
+ id: string;
281929
+ description: string | null;
281930
+ createdAt: Date;
281931
+ updatedAt: Date;
281932
+ deletedAt: Date | null;
281933
+ entity: string;
281934
+ };
281935
+ }, {
281936
+ id: string;
281937
+ description: string;
281938
+ createdAt: Date;
281939
+ updatedAt: Date;
281940
+ deletedAt: Date | null;
281941
+ entityId: string;
281942
+ entityType: {
281943
+ id: string;
281944
+ description: string | null;
281945
+ createdAt: Date;
281946
+ updatedAt: Date;
281947
+ deletedAt: Date | null;
281948
+ entity: string;
281949
+ };
281950
+ }>, "many">>;
281951
+ }, "strip", import("zod").ZodTypeAny, {
281952
+ name: string;
281953
+ id: string;
281954
+ channel: string | null;
281955
+ address: string | null;
281956
+ createdAt: Date;
281957
+ updatedAt: Date;
281958
+ deletedAt: Date | null;
281959
+ customFields: {
281960
+ id: string;
281961
+ createdAt: Date;
281962
+ updatedAt: Date;
281963
+ deletedAt: Date | null;
281964
+ attribute: {
281965
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
281966
+ id: string;
281967
+ position: number;
281968
+ createdAt: Date;
281969
+ updatedAt: Date;
281970
+ deletedAt: Date | null;
281971
+ systemName: string;
281972
+ displayName: string;
281973
+ isDefault: boolean;
281974
+ isArchived: boolean;
281975
+ isRequired: boolean;
281976
+ isUnique: boolean;
281977
+ };
281978
+ textValue: string | null;
281979
+ booleanValue: boolean | null;
281980
+ numberValue: number | null;
281981
+ dateValue: Date | null;
281982
+ uploads: {
281983
+ id: string;
281984
+ status: string | null;
281985
+ createdAt: Date;
281986
+ updatedAt: Date;
281987
+ deletedAt: Date | null;
281988
+ fileName: string;
281989
+ fileKey: string;
281990
+ bucketName: string;
281991
+ fileSize: number;
281992
+ fileUrl: string | null;
281993
+ }[];
281994
+ }[];
281995
+ company: {
281996
+ id: string;
281997
+ createdAt: Date;
281998
+ updatedAt: Date;
281999
+ deletedAt: Date | null;
282000
+ name?: string | undefined;
282001
+ address?: string | null | undefined;
282002
+ phone?: string | null | undefined;
282003
+ industry?: string | null | undefined;
282004
+ } | null;
282005
+ notes: string | null;
282006
+ contactProfile: string | null;
282007
+ socialProfileUrl: string | null;
282008
+ tags: {
282009
+ name: string;
282010
+ id: string;
282011
+ createdAt: Date;
282012
+ updatedAt: Date;
282013
+ deletedAt: Date | null;
282014
+ }[];
282015
+ contactEmails: {
282016
+ id: string;
282017
+ isPrimary: boolean;
282018
+ email: string;
282019
+ createdAt: Date;
282020
+ updatedAt: Date;
282021
+ deletedAt: Date | null;
282022
+ }[];
282023
+ contactPhones: {
282024
+ id: string;
282025
+ isPrimary: boolean;
282026
+ createdAt: Date;
282027
+ updatedAt: Date;
282028
+ deletedAt: Date | null;
282029
+ phone: string;
282030
+ }[];
282031
+ activityLogs?: {
282032
+ id: string;
282033
+ description: string;
282034
+ createdAt: Date;
282035
+ updatedAt: Date;
282036
+ deletedAt: Date | null;
282037
+ entityId: string;
282038
+ entityType: {
282039
+ id: string;
282040
+ description: string | null;
282041
+ createdAt: Date;
282042
+ updatedAt: Date;
282043
+ deletedAt: Date | null;
282044
+ entity: string;
282045
+ };
282046
+ }[] | undefined;
282047
+ }, {
282048
+ name: string;
282049
+ id: string;
282050
+ channel: string | null;
282051
+ address: string | null;
282052
+ createdAt: Date;
282053
+ updatedAt: Date;
282054
+ deletedAt: Date | null;
282055
+ customFields: {
282056
+ id: string;
282057
+ createdAt: Date;
282058
+ updatedAt: Date;
282059
+ deletedAt: Date | null;
282060
+ attribute: {
282061
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
282062
+ id: string;
282063
+ position: number;
282064
+ createdAt: Date;
282065
+ updatedAt: Date;
282066
+ deletedAt: Date | null;
282067
+ systemName: string;
282068
+ displayName: string;
282069
+ isDefault: boolean;
282070
+ isArchived: boolean;
282071
+ isRequired: boolean;
282072
+ isUnique: boolean;
282073
+ };
282074
+ textValue: string | null;
282075
+ booleanValue: boolean | null;
282076
+ numberValue: number | null;
282077
+ dateValue: Date | null;
282078
+ uploads: {
282079
+ id: string;
282080
+ status: string | null;
282081
+ createdAt: Date;
282082
+ updatedAt: Date;
282083
+ deletedAt: Date | null;
282084
+ fileName: string;
282085
+ fileKey: string;
282086
+ bucketName: string;
282087
+ fileSize: number;
282088
+ fileUrl: string | null;
282089
+ }[];
282090
+ }[];
282091
+ company: {
282092
+ id: string;
282093
+ createdAt: Date;
282094
+ updatedAt: Date;
282095
+ deletedAt: Date | null;
282096
+ name?: string | undefined;
282097
+ address?: string | null | undefined;
282098
+ phone?: string | null | undefined;
282099
+ industry?: string | null | undefined;
282100
+ } | null;
282101
+ notes: string | null;
282102
+ contactProfile: string | null;
282103
+ socialProfileUrl: string | null;
282104
+ tags: {
282105
+ name: string;
282106
+ id: string;
282107
+ createdAt: Date;
282108
+ updatedAt: Date;
282109
+ deletedAt: Date | null;
282110
+ }[];
282111
+ contactEmails: {
282112
+ id: string;
282113
+ isPrimary: boolean;
282114
+ email: string;
282115
+ createdAt: Date;
282116
+ updatedAt: Date;
282117
+ deletedAt: Date | null;
282118
+ }[];
282119
+ contactPhones: {
282120
+ id: string;
282121
+ isPrimary: boolean;
282122
+ createdAt: Date;
282123
+ updatedAt: Date;
282124
+ deletedAt: Date | null;
282125
+ phone: string;
282126
+ }[];
282127
+ activityLogs?: {
282128
+ id: string;
282129
+ description: string;
282130
+ createdAt: Date;
282131
+ updatedAt: Date;
282132
+ deletedAt: Date | null;
282133
+ entityId: string;
282134
+ entityType: {
282135
+ id: string;
282136
+ description: string | null;
282137
+ createdAt: Date;
282138
+ updatedAt: Date;
282139
+ deletedAt: Date | null;
282140
+ entity: string;
282141
+ };
282142
+ }[] | undefined;
282143
+ }>, "many">;
282144
+ requestId: import("zod").ZodString;
282145
+ }, "strip", import("zod").ZodTypeAny, {
282146
+ data: {
282147
+ name: string;
282148
+ id: string;
282149
+ channel: string | null;
282150
+ address: string | null;
282151
+ createdAt: Date;
282152
+ updatedAt: Date;
282153
+ deletedAt: Date | null;
282154
+ customFields: {
282155
+ id: string;
282156
+ createdAt: Date;
282157
+ updatedAt: Date;
282158
+ deletedAt: Date | null;
282159
+ attribute: {
282160
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
282161
+ id: string;
282162
+ position: number;
282163
+ createdAt: Date;
282164
+ updatedAt: Date;
282165
+ deletedAt: Date | null;
282166
+ systemName: string;
282167
+ displayName: string;
282168
+ isDefault: boolean;
282169
+ isArchived: boolean;
282170
+ isRequired: boolean;
282171
+ isUnique: boolean;
282172
+ };
282173
+ textValue: string | null;
282174
+ booleanValue: boolean | null;
282175
+ numberValue: number | null;
282176
+ dateValue: Date | null;
282177
+ uploads: {
282178
+ id: string;
282179
+ status: string | null;
282180
+ createdAt: Date;
282181
+ updatedAt: Date;
282182
+ deletedAt: Date | null;
282183
+ fileName: string;
282184
+ fileKey: string;
282185
+ bucketName: string;
282186
+ fileSize: number;
282187
+ fileUrl: string | null;
282188
+ }[];
282189
+ }[];
282190
+ company: {
282191
+ id: string;
282192
+ createdAt: Date;
282193
+ updatedAt: Date;
282194
+ deletedAt: Date | null;
282195
+ name?: string | undefined;
282196
+ address?: string | null | undefined;
282197
+ phone?: string | null | undefined;
282198
+ industry?: string | null | undefined;
282199
+ } | null;
282200
+ notes: string | null;
282201
+ contactProfile: string | null;
282202
+ socialProfileUrl: string | null;
282203
+ tags: {
282204
+ name: string;
282205
+ id: string;
282206
+ createdAt: Date;
282207
+ updatedAt: Date;
282208
+ deletedAt: Date | null;
282209
+ }[];
282210
+ contactEmails: {
282211
+ id: string;
282212
+ isPrimary: boolean;
282213
+ email: string;
282214
+ createdAt: Date;
282215
+ updatedAt: Date;
282216
+ deletedAt: Date | null;
282217
+ }[];
282218
+ contactPhones: {
282219
+ id: string;
282220
+ isPrimary: boolean;
282221
+ createdAt: Date;
282222
+ updatedAt: Date;
282223
+ deletedAt: Date | null;
282224
+ phone: string;
282225
+ }[];
282226
+ activityLogs?: {
282227
+ id: string;
282228
+ description: string;
282229
+ createdAt: Date;
282230
+ updatedAt: Date;
282231
+ deletedAt: Date | null;
282232
+ entityId: string;
282233
+ entityType: {
282234
+ id: string;
282235
+ description: string | null;
282236
+ createdAt: Date;
282237
+ updatedAt: Date;
282238
+ deletedAt: Date | null;
282239
+ entity: string;
282240
+ };
282241
+ }[] | undefined;
282242
+ }[];
282243
+ message: string;
282244
+ status: string;
282245
+ requestId: string;
282246
+ }, {
282247
+ data: {
282248
+ name: string;
282249
+ id: string;
282250
+ channel: string | null;
282251
+ address: string | null;
282252
+ createdAt: Date;
282253
+ updatedAt: Date;
282254
+ deletedAt: Date | null;
282255
+ customFields: {
282256
+ id: string;
282257
+ createdAt: Date;
282258
+ updatedAt: Date;
282259
+ deletedAt: Date | null;
282260
+ attribute: {
282261
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
282262
+ id: string;
282263
+ position: number;
282264
+ createdAt: Date;
282265
+ updatedAt: Date;
282266
+ deletedAt: Date | null;
282267
+ systemName: string;
282268
+ displayName: string;
282269
+ isDefault: boolean;
282270
+ isArchived: boolean;
282271
+ isRequired: boolean;
282272
+ isUnique: boolean;
282273
+ };
282274
+ textValue: string | null;
282275
+ booleanValue: boolean | null;
282276
+ numberValue: number | null;
282277
+ dateValue: Date | null;
282278
+ uploads: {
282279
+ id: string;
282280
+ status: string | null;
282281
+ createdAt: Date;
282282
+ updatedAt: Date;
282283
+ deletedAt: Date | null;
282284
+ fileName: string;
282285
+ fileKey: string;
282286
+ bucketName: string;
282287
+ fileSize: number;
282288
+ fileUrl: string | null;
282289
+ }[];
282290
+ }[];
282291
+ company: {
282292
+ id: string;
282293
+ createdAt: Date;
282294
+ updatedAt: Date;
282295
+ deletedAt: Date | null;
282296
+ name?: string | undefined;
282297
+ address?: string | null | undefined;
282298
+ phone?: string | null | undefined;
282299
+ industry?: string | null | undefined;
282300
+ } | null;
282301
+ notes: string | null;
282302
+ contactProfile: string | null;
282303
+ socialProfileUrl: string | null;
282304
+ tags: {
282305
+ name: string;
282306
+ id: string;
282307
+ createdAt: Date;
282308
+ updatedAt: Date;
282309
+ deletedAt: Date | null;
282310
+ }[];
282311
+ contactEmails: {
282312
+ id: string;
282313
+ isPrimary: boolean;
282314
+ email: string;
282315
+ createdAt: Date;
282316
+ updatedAt: Date;
282317
+ deletedAt: Date | null;
282318
+ }[];
282319
+ contactPhones: {
282320
+ id: string;
282321
+ isPrimary: boolean;
282322
+ createdAt: Date;
282323
+ updatedAt: Date;
282324
+ deletedAt: Date | null;
282325
+ phone: string;
282326
+ }[];
282327
+ activityLogs?: {
282328
+ id: string;
282329
+ description: string;
282330
+ createdAt: Date;
282331
+ updatedAt: Date;
282332
+ deletedAt: Date | null;
282333
+ entityId: string;
282334
+ entityType: {
282335
+ id: string;
282336
+ description: string | null;
282337
+ createdAt: Date;
282338
+ updatedAt: Date;
282339
+ deletedAt: Date | null;
282340
+ entity: string;
282341
+ };
282342
+ }[] | undefined;
282343
+ }[];
282344
+ message: string;
282345
+ status: string;
282346
+ requestId: string;
282347
+ }>;
282348
+ 400: import("zod").ZodObject<{
282349
+ message: import("zod").ZodString;
282350
+ }, "strip", import("zod").ZodTypeAny, {
282351
+ message: string;
282352
+ }, {
282353
+ message: string;
282354
+ }>;
282355
+ 409: import("zod").ZodObject<{
282356
+ message: import("zod").ZodString;
282357
+ }, "strip", import("zod").ZodTypeAny, {
282358
+ message: string;
282359
+ }, {
282360
+ message: string;
282361
+ }>;
282362
+ 401: import("zod").ZodObject<{
282363
+ message: import("zod").ZodString;
282364
+ error: import("zod").ZodAny;
282365
+ }, "strip", import("zod").ZodTypeAny, {
282366
+ message: string;
282367
+ error?: any;
282368
+ }, {
282369
+ message: string;
282370
+ error?: any;
282371
+ }>;
282372
+ 404: import("zod").ZodObject<{
282373
+ message: import("zod").ZodString;
282374
+ error: import("zod").ZodAny;
282375
+ }, "strip", import("zod").ZodTypeAny, {
282376
+ message: string;
282377
+ error?: any;
282378
+ }, {
282379
+ message: string;
282380
+ error?: any;
282381
+ }>;
282382
+ 422: import("zod").ZodObject<{
282383
+ message: import("zod").ZodString;
282384
+ error: import("zod").ZodAny;
282385
+ }, "strip", import("zod").ZodTypeAny, {
282386
+ message: string;
282387
+ error?: any;
282388
+ }, {
282389
+ message: string;
282390
+ error?: any;
282391
+ }>;
282392
+ 500: import("zod").ZodObject<{
282393
+ message: import("zod").ZodString;
282394
+ error: import("zod").ZodAny;
282395
+ }, "strip", import("zod").ZodTypeAny, {
282396
+ message: string;
282397
+ error?: any;
282398
+ }, {
282399
+ message: string;
282400
+ error?: any;
282401
+ }>;
282402
+ };
282403
+ path: "api/v1/contacts/social-platform";
282404
+ };
281348
282405
  getContactFields: {
281349
282406
  summary: "Get contact custom fields.";
281350
282407
  method: "GET";