@kl1/contracts 1.0.12 → 1.0.14
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.
- package/dist/index.js +112 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +112 -6
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/chat/schema.d.ts +9 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1178 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +820 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1177 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/index.d.ts +4 -0
- package/dist/src/custom-field/index.d.ts.map +1 -0
- package/dist/src/custom-field/validation.d.ts +15 -0
- package/dist/src/custom-field/validation.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/package.json +46 -46
package/dist/src/contract.d.ts
CHANGED
@@ -24381,6 +24381,1097 @@ export declare const apiContract: {
|
|
24381
24381
|
authorization: string;
|
24382
24382
|
}>>>;
|
24383
24383
|
};
|
24384
|
+
getAll: {
|
24385
|
+
summary: "Get all contacts";
|
24386
|
+
method: "GET";
|
24387
|
+
query: import("zod").ZodObject<{
|
24388
|
+
page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
24389
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
24390
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
24391
|
+
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24392
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
24393
|
+
address: import("zod").ZodOptional<import("zod").ZodString>;
|
24394
|
+
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24395
|
+
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
24396
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24397
|
+
attributeId: import("zod").ZodString;
|
24398
|
+
type: import("zod").ZodString;
|
24399
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24400
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24401
|
+
type: string;
|
24402
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24403
|
+
attributeId: string;
|
24404
|
+
}, {
|
24405
|
+
type: string;
|
24406
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24407
|
+
attributeId: string;
|
24408
|
+
}>, "many">>;
|
24409
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24410
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
24411
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
24412
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
24413
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24414
|
+
page?: number | undefined;
|
24415
|
+
pageSize?: number | undefined;
|
24416
|
+
keyword?: string | undefined;
|
24417
|
+
company?: string[] | undefined;
|
24418
|
+
name?: string | undefined;
|
24419
|
+
address?: string | undefined;
|
24420
|
+
channel?: string[] | undefined;
|
24421
|
+
selectedDate?: string | undefined;
|
24422
|
+
customFields?: {
|
24423
|
+
type: string;
|
24424
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24425
|
+
attributeId: string;
|
24426
|
+
}[] | undefined;
|
24427
|
+
tags?: string[] | undefined;
|
24428
|
+
phone?: string | undefined;
|
24429
|
+
email?: string | undefined;
|
24430
|
+
notes?: string | undefined;
|
24431
|
+
}, {
|
24432
|
+
page?: number | undefined;
|
24433
|
+
pageSize?: number | undefined;
|
24434
|
+
keyword?: string | undefined;
|
24435
|
+
company?: string[] | undefined;
|
24436
|
+
name?: string | undefined;
|
24437
|
+
address?: string | undefined;
|
24438
|
+
channel?: string[] | undefined;
|
24439
|
+
selectedDate?: string | undefined;
|
24440
|
+
customFields?: {
|
24441
|
+
type: string;
|
24442
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24443
|
+
attributeId: string;
|
24444
|
+
}[] | undefined;
|
24445
|
+
tags?: string[] | undefined;
|
24446
|
+
phone?: string | undefined;
|
24447
|
+
email?: string | undefined;
|
24448
|
+
notes?: string | undefined;
|
24449
|
+
}>;
|
24450
|
+
responses: {
|
24451
|
+
200: import("zod").ZodObject<{
|
24452
|
+
requestId: import("zod").ZodString;
|
24453
|
+
page: import("zod").ZodNumber;
|
24454
|
+
pageSize: import("zod").ZodNumber;
|
24455
|
+
total: import("zod").ZodNumber;
|
24456
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
24457
|
+
id: import("zod").ZodString;
|
24458
|
+
createdAt: import("zod").ZodDate;
|
24459
|
+
updatedAt: import("zod").ZodDate;
|
24460
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24461
|
+
name: import("zod").ZodString;
|
24462
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
24463
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
24464
|
+
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
24465
|
+
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
24466
|
+
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
24467
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
24468
|
+
id: import("zod").ZodString;
|
24469
|
+
createdAt: import("zod").ZodDate;
|
24470
|
+
updatedAt: import("zod").ZodDate;
|
24471
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24472
|
+
name: import("zod").ZodString;
|
24473
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24474
|
+
id: string;
|
24475
|
+
name: string;
|
24476
|
+
createdAt: Date;
|
24477
|
+
updatedAt: Date;
|
24478
|
+
deletedAt: Date | null;
|
24479
|
+
}, {
|
24480
|
+
id: string;
|
24481
|
+
name: string;
|
24482
|
+
createdAt: Date;
|
24483
|
+
updatedAt: Date;
|
24484
|
+
deletedAt: Date | null;
|
24485
|
+
}>, "many">;
|
24486
|
+
company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
|
24487
|
+
id: import("zod").ZodString;
|
24488
|
+
createdAt: import("zod").ZodDate;
|
24489
|
+
updatedAt: import("zod").ZodDate;
|
24490
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24491
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
24492
|
+
phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
24493
|
+
address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
24494
|
+
industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
24495
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24496
|
+
id: import("zod").ZodString;
|
24497
|
+
createdAt: import("zod").ZodDate;
|
24498
|
+
updatedAt: import("zod").ZodDate;
|
24499
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24500
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
24501
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
24502
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
24503
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodString>;
|
24504
|
+
attribute: import("zod").ZodObject<Omit<{
|
24505
|
+
id: import("zod").ZodString;
|
24506
|
+
createdAt: import("zod").ZodDate;
|
24507
|
+
updatedAt: import("zod").ZodDate;
|
24508
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24509
|
+
systemName: import("zod").ZodString;
|
24510
|
+
displayName: import("zod").ZodString;
|
24511
|
+
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">]>;
|
24512
|
+
position: import("zod").ZodNumber;
|
24513
|
+
isDefault: import("zod").ZodBoolean;
|
24514
|
+
isArchived: import("zod").ZodBoolean;
|
24515
|
+
isRequired: import("zod").ZodBoolean;
|
24516
|
+
isUnique: import("zod").ZodBoolean;
|
24517
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
24518
|
+
position: import("zod").ZodNumber;
|
24519
|
+
value: import("zod").ZodString;
|
24520
|
+
label: import("zod").ZodString;
|
24521
|
+
isDefault: import("zod").ZodBoolean;
|
24522
|
+
id: import("zod").ZodString;
|
24523
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24524
|
+
id: string;
|
24525
|
+
position: number;
|
24526
|
+
value: string;
|
24527
|
+
label: string;
|
24528
|
+
isDefault: boolean;
|
24529
|
+
}, {
|
24530
|
+
id: string;
|
24531
|
+
position: number;
|
24532
|
+
value: string;
|
24533
|
+
label: string;
|
24534
|
+
isDefault: boolean;
|
24535
|
+
}>, "many">;
|
24536
|
+
group: import("zod").ZodObject<{
|
24537
|
+
id: import("zod").ZodString;
|
24538
|
+
createdAt: import("zod").ZodDate;
|
24539
|
+
updatedAt: import("zod").ZodDate;
|
24540
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24541
|
+
systemName: import("zod").ZodString;
|
24542
|
+
displayName: import("zod").ZodString;
|
24543
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24544
|
+
id: string;
|
24545
|
+
createdAt: Date;
|
24546
|
+
updatedAt: Date;
|
24547
|
+
deletedAt: Date | null;
|
24548
|
+
systemName: string;
|
24549
|
+
displayName: string;
|
24550
|
+
}, {
|
24551
|
+
id: string;
|
24552
|
+
createdAt: Date;
|
24553
|
+
updatedAt: Date;
|
24554
|
+
deletedAt: Date | null;
|
24555
|
+
systemName: string;
|
24556
|
+
displayName: string;
|
24557
|
+
}>;
|
24558
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
24559
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24560
|
+
id: string;
|
24561
|
+
position: number;
|
24562
|
+
createdAt: Date;
|
24563
|
+
updatedAt: Date;
|
24564
|
+
deletedAt: Date | null;
|
24565
|
+
isDefault: boolean;
|
24566
|
+
systemName: string;
|
24567
|
+
displayName: string;
|
24568
|
+
isArchived: boolean;
|
24569
|
+
isRequired: boolean;
|
24570
|
+
isUnique: boolean;
|
24571
|
+
}, {
|
24572
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24573
|
+
id: string;
|
24574
|
+
position: number;
|
24575
|
+
createdAt: Date;
|
24576
|
+
updatedAt: Date;
|
24577
|
+
deletedAt: Date | null;
|
24578
|
+
isDefault: boolean;
|
24579
|
+
systemName: string;
|
24580
|
+
displayName: string;
|
24581
|
+
isArchived: boolean;
|
24582
|
+
isRequired: boolean;
|
24583
|
+
isUnique: boolean;
|
24584
|
+
}>;
|
24585
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24586
|
+
id: string;
|
24587
|
+
createdAt: Date;
|
24588
|
+
updatedAt: Date;
|
24589
|
+
deletedAt: Date | null;
|
24590
|
+
attribute: {
|
24591
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24592
|
+
id: string;
|
24593
|
+
position: number;
|
24594
|
+
createdAt: Date;
|
24595
|
+
updatedAt: Date;
|
24596
|
+
deletedAt: Date | null;
|
24597
|
+
isDefault: boolean;
|
24598
|
+
systemName: string;
|
24599
|
+
displayName: string;
|
24600
|
+
isArchived: boolean;
|
24601
|
+
isRequired: boolean;
|
24602
|
+
isUnique: boolean;
|
24603
|
+
};
|
24604
|
+
textValue: string | null;
|
24605
|
+
booleanValue: boolean | null;
|
24606
|
+
numberValue: number | null;
|
24607
|
+
dateValue: string | null;
|
24608
|
+
}, {
|
24609
|
+
id: string;
|
24610
|
+
createdAt: Date;
|
24611
|
+
updatedAt: Date;
|
24612
|
+
deletedAt: Date | null;
|
24613
|
+
attribute: {
|
24614
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24615
|
+
id: string;
|
24616
|
+
position: number;
|
24617
|
+
createdAt: Date;
|
24618
|
+
updatedAt: Date;
|
24619
|
+
deletedAt: Date | null;
|
24620
|
+
isDefault: boolean;
|
24621
|
+
systemName: string;
|
24622
|
+
displayName: string;
|
24623
|
+
isArchived: boolean;
|
24624
|
+
isRequired: boolean;
|
24625
|
+
isUnique: boolean;
|
24626
|
+
};
|
24627
|
+
textValue: string | null;
|
24628
|
+
booleanValue: boolean | null;
|
24629
|
+
numberValue: number | null;
|
24630
|
+
dateValue: string | null;
|
24631
|
+
}>, "many">>;
|
24632
|
+
}, "customFields">, "strip", import("zod").ZodTypeAny, {
|
24633
|
+
id: string;
|
24634
|
+
createdAt: Date;
|
24635
|
+
updatedAt: Date;
|
24636
|
+
deletedAt: Date | null;
|
24637
|
+
address?: string | null | undefined;
|
24638
|
+
name?: string | undefined;
|
24639
|
+
phone?: string | null | undefined;
|
24640
|
+
industry?: string | null | undefined;
|
24641
|
+
}, {
|
24642
|
+
id: string;
|
24643
|
+
createdAt: Date;
|
24644
|
+
updatedAt: Date;
|
24645
|
+
deletedAt: Date | null;
|
24646
|
+
address?: string | null | undefined;
|
24647
|
+
name?: string | undefined;
|
24648
|
+
phone?: string | null | undefined;
|
24649
|
+
industry?: string | null | undefined;
|
24650
|
+
}>>;
|
24651
|
+
customFields: import("zod").ZodArray<import("zod").ZodObject<{
|
24652
|
+
id: import("zod").ZodString;
|
24653
|
+
createdAt: import("zod").ZodDate;
|
24654
|
+
updatedAt: import("zod").ZodDate;
|
24655
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24656
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
24657
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
24658
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
24659
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
24660
|
+
attribute: import("zod").ZodObject<Omit<{
|
24661
|
+
id: import("zod").ZodString;
|
24662
|
+
createdAt: import("zod").ZodDate;
|
24663
|
+
updatedAt: import("zod").ZodDate;
|
24664
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24665
|
+
systemName: import("zod").ZodString;
|
24666
|
+
displayName: import("zod").ZodString;
|
24667
|
+
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">]>;
|
24668
|
+
position: import("zod").ZodNumber;
|
24669
|
+
isDefault: import("zod").ZodBoolean;
|
24670
|
+
isArchived: import("zod").ZodBoolean;
|
24671
|
+
isRequired: import("zod").ZodBoolean;
|
24672
|
+
isUnique: import("zod").ZodBoolean;
|
24673
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
24674
|
+
position: import("zod").ZodNumber;
|
24675
|
+
value: import("zod").ZodString;
|
24676
|
+
label: import("zod").ZodString;
|
24677
|
+
isDefault: import("zod").ZodBoolean;
|
24678
|
+
id: import("zod").ZodString;
|
24679
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24680
|
+
id: string;
|
24681
|
+
position: number;
|
24682
|
+
value: string;
|
24683
|
+
label: string;
|
24684
|
+
isDefault: boolean;
|
24685
|
+
}, {
|
24686
|
+
id: string;
|
24687
|
+
position: number;
|
24688
|
+
value: string;
|
24689
|
+
label: string;
|
24690
|
+
isDefault: boolean;
|
24691
|
+
}>, "many">;
|
24692
|
+
group: import("zod").ZodObject<{
|
24693
|
+
id: import("zod").ZodString;
|
24694
|
+
createdAt: import("zod").ZodDate;
|
24695
|
+
updatedAt: import("zod").ZodDate;
|
24696
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24697
|
+
systemName: import("zod").ZodString;
|
24698
|
+
displayName: import("zod").ZodString;
|
24699
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24700
|
+
id: string;
|
24701
|
+
createdAt: Date;
|
24702
|
+
updatedAt: Date;
|
24703
|
+
deletedAt: Date | null;
|
24704
|
+
systemName: string;
|
24705
|
+
displayName: string;
|
24706
|
+
}, {
|
24707
|
+
id: string;
|
24708
|
+
createdAt: Date;
|
24709
|
+
updatedAt: Date;
|
24710
|
+
deletedAt: Date | null;
|
24711
|
+
systemName: string;
|
24712
|
+
displayName: string;
|
24713
|
+
}>;
|
24714
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
24715
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24716
|
+
id: string;
|
24717
|
+
position: number;
|
24718
|
+
createdAt: Date;
|
24719
|
+
updatedAt: Date;
|
24720
|
+
deletedAt: Date | null;
|
24721
|
+
isDefault: boolean;
|
24722
|
+
systemName: string;
|
24723
|
+
displayName: string;
|
24724
|
+
isArchived: boolean;
|
24725
|
+
isRequired: boolean;
|
24726
|
+
isUnique: boolean;
|
24727
|
+
}, {
|
24728
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24729
|
+
id: string;
|
24730
|
+
position: number;
|
24731
|
+
createdAt: Date;
|
24732
|
+
updatedAt: Date;
|
24733
|
+
deletedAt: Date | null;
|
24734
|
+
isDefault: boolean;
|
24735
|
+
systemName: string;
|
24736
|
+
displayName: string;
|
24737
|
+
isArchived: boolean;
|
24738
|
+
isRequired: boolean;
|
24739
|
+
isUnique: boolean;
|
24740
|
+
}>;
|
24741
|
+
uploads: import("zod").ZodArray<import("zod").ZodObject<{
|
24742
|
+
id: import("zod").ZodString;
|
24743
|
+
createdAt: import("zod").ZodDate;
|
24744
|
+
updatedAt: import("zod").ZodDate;
|
24745
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24746
|
+
customFieldId: import("zod").ZodString;
|
24747
|
+
upload: import("zod").ZodObject<{
|
24748
|
+
id: import("zod").ZodString;
|
24749
|
+
createdAt: import("zod").ZodDate;
|
24750
|
+
updatedAt: import("zod").ZodDate;
|
24751
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24752
|
+
bucketName: import("zod").ZodString;
|
24753
|
+
fileName: import("zod").ZodString;
|
24754
|
+
fileSize: import("zod").ZodNumber;
|
24755
|
+
fileKey: import("zod").ZodString;
|
24756
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24757
|
+
id: string;
|
24758
|
+
createdAt: Date;
|
24759
|
+
updatedAt: Date;
|
24760
|
+
deletedAt: Date | null;
|
24761
|
+
fileName: string;
|
24762
|
+
fileKey: string;
|
24763
|
+
bucketName: string;
|
24764
|
+
fileSize: number;
|
24765
|
+
}, {
|
24766
|
+
id: string;
|
24767
|
+
createdAt: Date;
|
24768
|
+
updatedAt: Date;
|
24769
|
+
deletedAt: Date | null;
|
24770
|
+
fileName: string;
|
24771
|
+
fileKey: string;
|
24772
|
+
bucketName: string;
|
24773
|
+
fileSize: number;
|
24774
|
+
}>;
|
24775
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24776
|
+
id: string;
|
24777
|
+
createdAt: Date;
|
24778
|
+
updatedAt: Date;
|
24779
|
+
deletedAt: Date | null;
|
24780
|
+
customFieldId: string;
|
24781
|
+
upload: {
|
24782
|
+
id: string;
|
24783
|
+
createdAt: Date;
|
24784
|
+
updatedAt: Date;
|
24785
|
+
deletedAt: Date | null;
|
24786
|
+
fileName: string;
|
24787
|
+
fileKey: string;
|
24788
|
+
bucketName: string;
|
24789
|
+
fileSize: number;
|
24790
|
+
};
|
24791
|
+
}, {
|
24792
|
+
id: string;
|
24793
|
+
createdAt: Date;
|
24794
|
+
updatedAt: Date;
|
24795
|
+
deletedAt: Date | null;
|
24796
|
+
customFieldId: string;
|
24797
|
+
upload: {
|
24798
|
+
id: string;
|
24799
|
+
createdAt: Date;
|
24800
|
+
updatedAt: Date;
|
24801
|
+
deletedAt: Date | null;
|
24802
|
+
fileName: string;
|
24803
|
+
fileKey: string;
|
24804
|
+
bucketName: string;
|
24805
|
+
fileSize: number;
|
24806
|
+
};
|
24807
|
+
}>, "many">;
|
24808
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24809
|
+
id: string;
|
24810
|
+
createdAt: Date;
|
24811
|
+
updatedAt: Date;
|
24812
|
+
deletedAt: Date | null;
|
24813
|
+
attribute: {
|
24814
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24815
|
+
id: string;
|
24816
|
+
position: number;
|
24817
|
+
createdAt: Date;
|
24818
|
+
updatedAt: Date;
|
24819
|
+
deletedAt: Date | null;
|
24820
|
+
isDefault: boolean;
|
24821
|
+
systemName: string;
|
24822
|
+
displayName: string;
|
24823
|
+
isArchived: boolean;
|
24824
|
+
isRequired: boolean;
|
24825
|
+
isUnique: boolean;
|
24826
|
+
};
|
24827
|
+
textValue: string | null;
|
24828
|
+
booleanValue: boolean | null;
|
24829
|
+
numberValue: number | null;
|
24830
|
+
dateValue: Date | null;
|
24831
|
+
uploads: {
|
24832
|
+
id: string;
|
24833
|
+
createdAt: Date;
|
24834
|
+
updatedAt: Date;
|
24835
|
+
deletedAt: Date | null;
|
24836
|
+
customFieldId: string;
|
24837
|
+
upload: {
|
24838
|
+
id: string;
|
24839
|
+
createdAt: Date;
|
24840
|
+
updatedAt: Date;
|
24841
|
+
deletedAt: Date | null;
|
24842
|
+
fileName: string;
|
24843
|
+
fileKey: string;
|
24844
|
+
bucketName: string;
|
24845
|
+
fileSize: number;
|
24846
|
+
};
|
24847
|
+
}[];
|
24848
|
+
}, {
|
24849
|
+
id: string;
|
24850
|
+
createdAt: Date;
|
24851
|
+
updatedAt: Date;
|
24852
|
+
deletedAt: Date | null;
|
24853
|
+
attribute: {
|
24854
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
24855
|
+
id: string;
|
24856
|
+
position: number;
|
24857
|
+
createdAt: Date;
|
24858
|
+
updatedAt: Date;
|
24859
|
+
deletedAt: Date | null;
|
24860
|
+
isDefault: boolean;
|
24861
|
+
systemName: string;
|
24862
|
+
displayName: string;
|
24863
|
+
isArchived: boolean;
|
24864
|
+
isRequired: boolean;
|
24865
|
+
isUnique: boolean;
|
24866
|
+
};
|
24867
|
+
textValue: string | null;
|
24868
|
+
booleanValue: boolean | null;
|
24869
|
+
numberValue: number | null;
|
24870
|
+
dateValue: Date | null;
|
24871
|
+
uploads: {
|
24872
|
+
id: string;
|
24873
|
+
createdAt: Date;
|
24874
|
+
updatedAt: Date;
|
24875
|
+
deletedAt: Date | null;
|
24876
|
+
customFieldId: string;
|
24877
|
+
upload: {
|
24878
|
+
id: string;
|
24879
|
+
createdAt: Date;
|
24880
|
+
updatedAt: Date;
|
24881
|
+
deletedAt: Date | null;
|
24882
|
+
fileName: string;
|
24883
|
+
fileKey: string;
|
24884
|
+
bucketName: string;
|
24885
|
+
fileSize: number;
|
24886
|
+
};
|
24887
|
+
}[];
|
24888
|
+
}>, "many">;
|
24889
|
+
contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
|
24890
|
+
id: import("zod").ZodString;
|
24891
|
+
createdAt: import("zod").ZodDate;
|
24892
|
+
updatedAt: import("zod").ZodDate;
|
24893
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24894
|
+
email: import("zod").ZodString;
|
24895
|
+
isPrimary: import("zod").ZodBoolean;
|
24896
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24897
|
+
id: string;
|
24898
|
+
isPrimary: boolean;
|
24899
|
+
email: string;
|
24900
|
+
createdAt: Date;
|
24901
|
+
updatedAt: Date;
|
24902
|
+
deletedAt: Date | null;
|
24903
|
+
}, {
|
24904
|
+
id: string;
|
24905
|
+
isPrimary: boolean;
|
24906
|
+
email: string;
|
24907
|
+
createdAt: Date;
|
24908
|
+
updatedAt: Date;
|
24909
|
+
deletedAt: Date | null;
|
24910
|
+
}>, "many">;
|
24911
|
+
contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
|
24912
|
+
id: import("zod").ZodString;
|
24913
|
+
createdAt: import("zod").ZodDate;
|
24914
|
+
updatedAt: import("zod").ZodDate;
|
24915
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24916
|
+
phone: import("zod").ZodString;
|
24917
|
+
isPrimary: import("zod").ZodBoolean;
|
24918
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24919
|
+
id: string;
|
24920
|
+
isPrimary: boolean;
|
24921
|
+
createdAt: Date;
|
24922
|
+
updatedAt: Date;
|
24923
|
+
deletedAt: Date | null;
|
24924
|
+
phone: string;
|
24925
|
+
}, {
|
24926
|
+
id: string;
|
24927
|
+
isPrimary: boolean;
|
24928
|
+
createdAt: Date;
|
24929
|
+
updatedAt: Date;
|
24930
|
+
deletedAt: Date | null;
|
24931
|
+
phone: string;
|
24932
|
+
}>, "many">;
|
24933
|
+
activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24934
|
+
id: import("zod").ZodString;
|
24935
|
+
createdAt: import("zod").ZodDate;
|
24936
|
+
updatedAt: import("zod").ZodDate;
|
24937
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24938
|
+
entityId: import("zod").ZodString;
|
24939
|
+
description: import("zod").ZodString;
|
24940
|
+
entityType: import("zod").ZodObject<{
|
24941
|
+
id: import("zod").ZodString;
|
24942
|
+
createdAt: import("zod").ZodDate;
|
24943
|
+
updatedAt: import("zod").ZodDate;
|
24944
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
24945
|
+
entity: import("zod").ZodString;
|
24946
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
24947
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24948
|
+
id: string;
|
24949
|
+
description: string | null;
|
24950
|
+
createdAt: Date;
|
24951
|
+
updatedAt: Date;
|
24952
|
+
deletedAt: Date | null;
|
24953
|
+
entity: string;
|
24954
|
+
}, {
|
24955
|
+
id: string;
|
24956
|
+
description: string | null;
|
24957
|
+
createdAt: Date;
|
24958
|
+
updatedAt: Date;
|
24959
|
+
deletedAt: Date | null;
|
24960
|
+
entity: string;
|
24961
|
+
}>;
|
24962
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24963
|
+
id: string;
|
24964
|
+
description: string;
|
24965
|
+
createdAt: Date;
|
24966
|
+
updatedAt: Date;
|
24967
|
+
deletedAt: Date | null;
|
24968
|
+
entityId: string;
|
24969
|
+
entityType: {
|
24970
|
+
id: string;
|
24971
|
+
description: string | null;
|
24972
|
+
createdAt: Date;
|
24973
|
+
updatedAt: Date;
|
24974
|
+
deletedAt: Date | null;
|
24975
|
+
entity: string;
|
24976
|
+
};
|
24977
|
+
}, {
|
24978
|
+
id: string;
|
24979
|
+
description: string;
|
24980
|
+
createdAt: Date;
|
24981
|
+
updatedAt: Date;
|
24982
|
+
deletedAt: Date | null;
|
24983
|
+
entityId: string;
|
24984
|
+
entityType: {
|
24985
|
+
id: string;
|
24986
|
+
description: string | null;
|
24987
|
+
createdAt: Date;
|
24988
|
+
updatedAt: Date;
|
24989
|
+
deletedAt: Date | null;
|
24990
|
+
entity: string;
|
24991
|
+
};
|
24992
|
+
}>, "many">>;
|
24993
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24994
|
+
id: string;
|
24995
|
+
channel: string | null;
|
24996
|
+
address: string | null;
|
24997
|
+
name: string;
|
24998
|
+
createdAt: Date;
|
24999
|
+
updatedAt: Date;
|
25000
|
+
deletedAt: Date | null;
|
25001
|
+
customFields: {
|
25002
|
+
id: string;
|
25003
|
+
createdAt: Date;
|
25004
|
+
updatedAt: Date;
|
25005
|
+
deletedAt: Date | null;
|
25006
|
+
attribute: {
|
25007
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
25008
|
+
id: string;
|
25009
|
+
position: number;
|
25010
|
+
createdAt: Date;
|
25011
|
+
updatedAt: Date;
|
25012
|
+
deletedAt: Date | null;
|
25013
|
+
isDefault: boolean;
|
25014
|
+
systemName: string;
|
25015
|
+
displayName: string;
|
25016
|
+
isArchived: boolean;
|
25017
|
+
isRequired: boolean;
|
25018
|
+
isUnique: boolean;
|
25019
|
+
};
|
25020
|
+
textValue: string | null;
|
25021
|
+
booleanValue: boolean | null;
|
25022
|
+
numberValue: number | null;
|
25023
|
+
dateValue: Date | null;
|
25024
|
+
uploads: {
|
25025
|
+
id: string;
|
25026
|
+
createdAt: Date;
|
25027
|
+
updatedAt: Date;
|
25028
|
+
deletedAt: Date | null;
|
25029
|
+
customFieldId: string;
|
25030
|
+
upload: {
|
25031
|
+
id: string;
|
25032
|
+
createdAt: Date;
|
25033
|
+
updatedAt: Date;
|
25034
|
+
deletedAt: Date | null;
|
25035
|
+
fileName: string;
|
25036
|
+
fileKey: string;
|
25037
|
+
bucketName: string;
|
25038
|
+
fileSize: number;
|
25039
|
+
};
|
25040
|
+
}[];
|
25041
|
+
}[];
|
25042
|
+
notes: string | null;
|
25043
|
+
contactProfile: string | null;
|
25044
|
+
socialProfileUrl: string | null;
|
25045
|
+
tags: {
|
25046
|
+
id: string;
|
25047
|
+
name: string;
|
25048
|
+
createdAt: Date;
|
25049
|
+
updatedAt: Date;
|
25050
|
+
deletedAt: Date | null;
|
25051
|
+
}[];
|
25052
|
+
company: {
|
25053
|
+
id: string;
|
25054
|
+
createdAt: Date;
|
25055
|
+
updatedAt: Date;
|
25056
|
+
deletedAt: Date | null;
|
25057
|
+
address?: string | null | undefined;
|
25058
|
+
name?: string | undefined;
|
25059
|
+
phone?: string | null | undefined;
|
25060
|
+
industry?: string | null | undefined;
|
25061
|
+
} | null;
|
25062
|
+
contactEmails: {
|
25063
|
+
id: string;
|
25064
|
+
isPrimary: boolean;
|
25065
|
+
email: string;
|
25066
|
+
createdAt: Date;
|
25067
|
+
updatedAt: Date;
|
25068
|
+
deletedAt: Date | null;
|
25069
|
+
}[];
|
25070
|
+
contactPhones: {
|
25071
|
+
id: string;
|
25072
|
+
isPrimary: boolean;
|
25073
|
+
createdAt: Date;
|
25074
|
+
updatedAt: Date;
|
25075
|
+
deletedAt: Date | null;
|
25076
|
+
phone: string;
|
25077
|
+
}[];
|
25078
|
+
activityLogs?: {
|
25079
|
+
id: string;
|
25080
|
+
description: string;
|
25081
|
+
createdAt: Date;
|
25082
|
+
updatedAt: Date;
|
25083
|
+
deletedAt: Date | null;
|
25084
|
+
entityId: string;
|
25085
|
+
entityType: {
|
25086
|
+
id: string;
|
25087
|
+
description: string | null;
|
25088
|
+
createdAt: Date;
|
25089
|
+
updatedAt: Date;
|
25090
|
+
deletedAt: Date | null;
|
25091
|
+
entity: string;
|
25092
|
+
};
|
25093
|
+
}[] | undefined;
|
25094
|
+
}, {
|
25095
|
+
id: string;
|
25096
|
+
channel: string | null;
|
25097
|
+
address: string | null;
|
25098
|
+
name: string;
|
25099
|
+
createdAt: Date;
|
25100
|
+
updatedAt: Date;
|
25101
|
+
deletedAt: Date | null;
|
25102
|
+
customFields: {
|
25103
|
+
id: string;
|
25104
|
+
createdAt: Date;
|
25105
|
+
updatedAt: Date;
|
25106
|
+
deletedAt: Date | null;
|
25107
|
+
attribute: {
|
25108
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
25109
|
+
id: string;
|
25110
|
+
position: number;
|
25111
|
+
createdAt: Date;
|
25112
|
+
updatedAt: Date;
|
25113
|
+
deletedAt: Date | null;
|
25114
|
+
isDefault: boolean;
|
25115
|
+
systemName: string;
|
25116
|
+
displayName: string;
|
25117
|
+
isArchived: boolean;
|
25118
|
+
isRequired: boolean;
|
25119
|
+
isUnique: boolean;
|
25120
|
+
};
|
25121
|
+
textValue: string | null;
|
25122
|
+
booleanValue: boolean | null;
|
25123
|
+
numberValue: number | null;
|
25124
|
+
dateValue: Date | null;
|
25125
|
+
uploads: {
|
25126
|
+
id: string;
|
25127
|
+
createdAt: Date;
|
25128
|
+
updatedAt: Date;
|
25129
|
+
deletedAt: Date | null;
|
25130
|
+
customFieldId: string;
|
25131
|
+
upload: {
|
25132
|
+
id: string;
|
25133
|
+
createdAt: Date;
|
25134
|
+
updatedAt: Date;
|
25135
|
+
deletedAt: Date | null;
|
25136
|
+
fileName: string;
|
25137
|
+
fileKey: string;
|
25138
|
+
bucketName: string;
|
25139
|
+
fileSize: number;
|
25140
|
+
};
|
25141
|
+
}[];
|
25142
|
+
}[];
|
25143
|
+
notes: string | null;
|
25144
|
+
contactProfile: string | null;
|
25145
|
+
socialProfileUrl: string | null;
|
25146
|
+
tags: {
|
25147
|
+
id: string;
|
25148
|
+
name: string;
|
25149
|
+
createdAt: Date;
|
25150
|
+
updatedAt: Date;
|
25151
|
+
deletedAt: Date | null;
|
25152
|
+
}[];
|
25153
|
+
company: {
|
25154
|
+
id: string;
|
25155
|
+
createdAt: Date;
|
25156
|
+
updatedAt: Date;
|
25157
|
+
deletedAt: Date | null;
|
25158
|
+
address?: string | null | undefined;
|
25159
|
+
name?: string | undefined;
|
25160
|
+
phone?: string | null | undefined;
|
25161
|
+
industry?: string | null | undefined;
|
25162
|
+
} | null;
|
25163
|
+
contactEmails: {
|
25164
|
+
id: string;
|
25165
|
+
isPrimary: boolean;
|
25166
|
+
email: string;
|
25167
|
+
createdAt: Date;
|
25168
|
+
updatedAt: Date;
|
25169
|
+
deletedAt: Date | null;
|
25170
|
+
}[];
|
25171
|
+
contactPhones: {
|
25172
|
+
id: string;
|
25173
|
+
isPrimary: boolean;
|
25174
|
+
createdAt: Date;
|
25175
|
+
updatedAt: Date;
|
25176
|
+
deletedAt: Date | null;
|
25177
|
+
phone: string;
|
25178
|
+
}[];
|
25179
|
+
activityLogs?: {
|
25180
|
+
id: string;
|
25181
|
+
description: string;
|
25182
|
+
createdAt: Date;
|
25183
|
+
updatedAt: Date;
|
25184
|
+
deletedAt: Date | null;
|
25185
|
+
entityId: string;
|
25186
|
+
entityType: {
|
25187
|
+
id: string;
|
25188
|
+
description: string | null;
|
25189
|
+
createdAt: Date;
|
25190
|
+
updatedAt: Date;
|
25191
|
+
deletedAt: Date | null;
|
25192
|
+
entity: string;
|
25193
|
+
};
|
25194
|
+
}[] | undefined;
|
25195
|
+
}>, "many">;
|
25196
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25197
|
+
data: {
|
25198
|
+
id: string;
|
25199
|
+
channel: string | null;
|
25200
|
+
address: string | null;
|
25201
|
+
name: string;
|
25202
|
+
createdAt: Date;
|
25203
|
+
updatedAt: Date;
|
25204
|
+
deletedAt: Date | null;
|
25205
|
+
customFields: {
|
25206
|
+
id: string;
|
25207
|
+
createdAt: Date;
|
25208
|
+
updatedAt: Date;
|
25209
|
+
deletedAt: Date | null;
|
25210
|
+
attribute: {
|
25211
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
25212
|
+
id: string;
|
25213
|
+
position: number;
|
25214
|
+
createdAt: Date;
|
25215
|
+
updatedAt: Date;
|
25216
|
+
deletedAt: Date | null;
|
25217
|
+
isDefault: boolean;
|
25218
|
+
systemName: string;
|
25219
|
+
displayName: string;
|
25220
|
+
isArchived: boolean;
|
25221
|
+
isRequired: boolean;
|
25222
|
+
isUnique: boolean;
|
25223
|
+
};
|
25224
|
+
textValue: string | null;
|
25225
|
+
booleanValue: boolean | null;
|
25226
|
+
numberValue: number | null;
|
25227
|
+
dateValue: Date | null;
|
25228
|
+
uploads: {
|
25229
|
+
id: string;
|
25230
|
+
createdAt: Date;
|
25231
|
+
updatedAt: Date;
|
25232
|
+
deletedAt: Date | null;
|
25233
|
+
customFieldId: string;
|
25234
|
+
upload: {
|
25235
|
+
id: string;
|
25236
|
+
createdAt: Date;
|
25237
|
+
updatedAt: Date;
|
25238
|
+
deletedAt: Date | null;
|
25239
|
+
fileName: string;
|
25240
|
+
fileKey: string;
|
25241
|
+
bucketName: string;
|
25242
|
+
fileSize: number;
|
25243
|
+
};
|
25244
|
+
}[];
|
25245
|
+
}[];
|
25246
|
+
notes: string | null;
|
25247
|
+
contactProfile: string | null;
|
25248
|
+
socialProfileUrl: string | null;
|
25249
|
+
tags: {
|
25250
|
+
id: string;
|
25251
|
+
name: string;
|
25252
|
+
createdAt: Date;
|
25253
|
+
updatedAt: Date;
|
25254
|
+
deletedAt: Date | null;
|
25255
|
+
}[];
|
25256
|
+
company: {
|
25257
|
+
id: string;
|
25258
|
+
createdAt: Date;
|
25259
|
+
updatedAt: Date;
|
25260
|
+
deletedAt: Date | null;
|
25261
|
+
address?: string | null | undefined;
|
25262
|
+
name?: string | undefined;
|
25263
|
+
phone?: string | null | undefined;
|
25264
|
+
industry?: string | null | undefined;
|
25265
|
+
} | null;
|
25266
|
+
contactEmails: {
|
25267
|
+
id: string;
|
25268
|
+
isPrimary: boolean;
|
25269
|
+
email: string;
|
25270
|
+
createdAt: Date;
|
25271
|
+
updatedAt: Date;
|
25272
|
+
deletedAt: Date | null;
|
25273
|
+
}[];
|
25274
|
+
contactPhones: {
|
25275
|
+
id: string;
|
25276
|
+
isPrimary: boolean;
|
25277
|
+
createdAt: Date;
|
25278
|
+
updatedAt: Date;
|
25279
|
+
deletedAt: Date | null;
|
25280
|
+
phone: string;
|
25281
|
+
}[];
|
25282
|
+
activityLogs?: {
|
25283
|
+
id: string;
|
25284
|
+
description: string;
|
25285
|
+
createdAt: Date;
|
25286
|
+
updatedAt: Date;
|
25287
|
+
deletedAt: Date | null;
|
25288
|
+
entityId: string;
|
25289
|
+
entityType: {
|
25290
|
+
id: string;
|
25291
|
+
description: string | null;
|
25292
|
+
createdAt: Date;
|
25293
|
+
updatedAt: Date;
|
25294
|
+
deletedAt: Date | null;
|
25295
|
+
entity: string;
|
25296
|
+
};
|
25297
|
+
}[] | undefined;
|
25298
|
+
}[];
|
25299
|
+
total: number;
|
25300
|
+
page: number;
|
25301
|
+
pageSize: number;
|
25302
|
+
requestId: string;
|
25303
|
+
}, {
|
25304
|
+
data: {
|
25305
|
+
id: string;
|
25306
|
+
channel: string | null;
|
25307
|
+
address: string | null;
|
25308
|
+
name: string;
|
25309
|
+
createdAt: Date;
|
25310
|
+
updatedAt: Date;
|
25311
|
+
deletedAt: Date | null;
|
25312
|
+
customFields: {
|
25313
|
+
id: string;
|
25314
|
+
createdAt: Date;
|
25315
|
+
updatedAt: Date;
|
25316
|
+
deletedAt: Date | null;
|
25317
|
+
attribute: {
|
25318
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
25319
|
+
id: string;
|
25320
|
+
position: number;
|
25321
|
+
createdAt: Date;
|
25322
|
+
updatedAt: Date;
|
25323
|
+
deletedAt: Date | null;
|
25324
|
+
isDefault: boolean;
|
25325
|
+
systemName: string;
|
25326
|
+
displayName: string;
|
25327
|
+
isArchived: boolean;
|
25328
|
+
isRequired: boolean;
|
25329
|
+
isUnique: boolean;
|
25330
|
+
};
|
25331
|
+
textValue: string | null;
|
25332
|
+
booleanValue: boolean | null;
|
25333
|
+
numberValue: number | null;
|
25334
|
+
dateValue: Date | null;
|
25335
|
+
uploads: {
|
25336
|
+
id: string;
|
25337
|
+
createdAt: Date;
|
25338
|
+
updatedAt: Date;
|
25339
|
+
deletedAt: Date | null;
|
25340
|
+
customFieldId: string;
|
25341
|
+
upload: {
|
25342
|
+
id: string;
|
25343
|
+
createdAt: Date;
|
25344
|
+
updatedAt: Date;
|
25345
|
+
deletedAt: Date | null;
|
25346
|
+
fileName: string;
|
25347
|
+
fileKey: string;
|
25348
|
+
bucketName: string;
|
25349
|
+
fileSize: number;
|
25350
|
+
};
|
25351
|
+
}[];
|
25352
|
+
}[];
|
25353
|
+
notes: string | null;
|
25354
|
+
contactProfile: string | null;
|
25355
|
+
socialProfileUrl: string | null;
|
25356
|
+
tags: {
|
25357
|
+
id: string;
|
25358
|
+
name: string;
|
25359
|
+
createdAt: Date;
|
25360
|
+
updatedAt: Date;
|
25361
|
+
deletedAt: Date | null;
|
25362
|
+
}[];
|
25363
|
+
company: {
|
25364
|
+
id: string;
|
25365
|
+
createdAt: Date;
|
25366
|
+
updatedAt: Date;
|
25367
|
+
deletedAt: Date | null;
|
25368
|
+
address?: string | null | undefined;
|
25369
|
+
name?: string | undefined;
|
25370
|
+
phone?: string | null | undefined;
|
25371
|
+
industry?: string | null | undefined;
|
25372
|
+
} | null;
|
25373
|
+
contactEmails: {
|
25374
|
+
id: string;
|
25375
|
+
isPrimary: boolean;
|
25376
|
+
email: string;
|
25377
|
+
createdAt: Date;
|
25378
|
+
updatedAt: Date;
|
25379
|
+
deletedAt: Date | null;
|
25380
|
+
}[];
|
25381
|
+
contactPhones: {
|
25382
|
+
id: string;
|
25383
|
+
isPrimary: boolean;
|
25384
|
+
createdAt: Date;
|
25385
|
+
updatedAt: Date;
|
25386
|
+
deletedAt: Date | null;
|
25387
|
+
phone: string;
|
25388
|
+
}[];
|
25389
|
+
activityLogs?: {
|
25390
|
+
id: string;
|
25391
|
+
description: string;
|
25392
|
+
createdAt: Date;
|
25393
|
+
updatedAt: Date;
|
25394
|
+
deletedAt: Date | null;
|
25395
|
+
entityId: string;
|
25396
|
+
entityType: {
|
25397
|
+
id: string;
|
25398
|
+
description: string | null;
|
25399
|
+
createdAt: Date;
|
25400
|
+
updatedAt: Date;
|
25401
|
+
deletedAt: Date | null;
|
25402
|
+
entity: string;
|
25403
|
+
};
|
25404
|
+
}[] | undefined;
|
25405
|
+
}[];
|
25406
|
+
total: number;
|
25407
|
+
page: number;
|
25408
|
+
pageSize: number;
|
25409
|
+
requestId: string;
|
25410
|
+
}>;
|
25411
|
+
400: import("zod").ZodObject<{
|
25412
|
+
message: import("zod").ZodString;
|
25413
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25414
|
+
message: string;
|
25415
|
+
}, {
|
25416
|
+
message: string;
|
25417
|
+
}>;
|
25418
|
+
409: import("zod").ZodObject<{
|
25419
|
+
message: import("zod").ZodString;
|
25420
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25421
|
+
message: string;
|
25422
|
+
}, {
|
25423
|
+
message: string;
|
25424
|
+
}>;
|
25425
|
+
500: import("zod").ZodObject<{
|
25426
|
+
message: import("zod").ZodString;
|
25427
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25428
|
+
message: string;
|
25429
|
+
}, {
|
25430
|
+
message: string;
|
25431
|
+
}>;
|
25432
|
+
401: import("zod").ZodObject<{
|
25433
|
+
message: import("zod").ZodString;
|
25434
|
+
error: import("zod").ZodAny;
|
25435
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25436
|
+
message: string;
|
25437
|
+
error?: any;
|
25438
|
+
}, {
|
25439
|
+
message: string;
|
25440
|
+
error?: any;
|
25441
|
+
}>;
|
25442
|
+
404: import("zod").ZodObject<{
|
25443
|
+
message: import("zod").ZodString;
|
25444
|
+
error: import("zod").ZodAny;
|
25445
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25446
|
+
message: string;
|
25447
|
+
error?: any;
|
25448
|
+
}, {
|
25449
|
+
message: string;
|
25450
|
+
error?: any;
|
25451
|
+
}>;
|
25452
|
+
422: import("zod").ZodObject<{
|
25453
|
+
message: import("zod").ZodString;
|
25454
|
+
error: import("zod").ZodAny;
|
25455
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25456
|
+
message: string;
|
25457
|
+
error?: any;
|
25458
|
+
}, {
|
25459
|
+
message: string;
|
25460
|
+
error?: any;
|
25461
|
+
}>;
|
25462
|
+
};
|
25463
|
+
path: "contact";
|
25464
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
25465
|
+
'x-tenant': import("zod").ZodString;
|
25466
|
+
authorization: import("zod").ZodString;
|
25467
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25468
|
+
'x-tenant': string;
|
25469
|
+
authorization: string;
|
25470
|
+
}, {
|
25471
|
+
'x-tenant': string;
|
25472
|
+
authorization: string;
|
25473
|
+
}>>>;
|
25474
|
+
};
|
24384
25475
|
update: {
|
24385
25476
|
body: import("zod").ZodObject<{
|
24386
25477
|
name: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -25670,6 +26761,92 @@ export declare const apiContract: {
|
|
25670
26761
|
authorization: string;
|
25671
26762
|
}>>>;
|
25672
26763
|
};
|
26764
|
+
delete: {
|
26765
|
+
body: null;
|
26766
|
+
summary: "Delete a contact";
|
26767
|
+
method: "DELETE";
|
26768
|
+
pathParams: import("zod").ZodObject<{
|
26769
|
+
id: import("zod").ZodString;
|
26770
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26771
|
+
id: string;
|
26772
|
+
}, {
|
26773
|
+
id: string;
|
26774
|
+
}>;
|
26775
|
+
responses: {
|
26776
|
+
200: import("zod").ZodObject<{
|
26777
|
+
requestId: import("zod").ZodString;
|
26778
|
+
message: import("zod").ZodString;
|
26779
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26780
|
+
message: string;
|
26781
|
+
requestId: string;
|
26782
|
+
}, {
|
26783
|
+
message: string;
|
26784
|
+
requestId: string;
|
26785
|
+
}>;
|
26786
|
+
400: import("zod").ZodObject<{
|
26787
|
+
message: import("zod").ZodString;
|
26788
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26789
|
+
message: string;
|
26790
|
+
}, {
|
26791
|
+
message: string;
|
26792
|
+
}>;
|
26793
|
+
409: import("zod").ZodObject<{
|
26794
|
+
message: import("zod").ZodString;
|
26795
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26796
|
+
message: string;
|
26797
|
+
}, {
|
26798
|
+
message: string;
|
26799
|
+
}>;
|
26800
|
+
500: import("zod").ZodObject<{
|
26801
|
+
message: import("zod").ZodString;
|
26802
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26803
|
+
message: string;
|
26804
|
+
}, {
|
26805
|
+
message: string;
|
26806
|
+
}>;
|
26807
|
+
401: import("zod").ZodObject<{
|
26808
|
+
message: import("zod").ZodString;
|
26809
|
+
error: import("zod").ZodAny;
|
26810
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26811
|
+
message: string;
|
26812
|
+
error?: any;
|
26813
|
+
}, {
|
26814
|
+
message: string;
|
26815
|
+
error?: any;
|
26816
|
+
}>;
|
26817
|
+
404: import("zod").ZodObject<{
|
26818
|
+
message: import("zod").ZodString;
|
26819
|
+
error: import("zod").ZodAny;
|
26820
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26821
|
+
message: string;
|
26822
|
+
error?: any;
|
26823
|
+
}, {
|
26824
|
+
message: string;
|
26825
|
+
error?: any;
|
26826
|
+
}>;
|
26827
|
+
422: import("zod").ZodObject<{
|
26828
|
+
message: import("zod").ZodString;
|
26829
|
+
error: import("zod").ZodAny;
|
26830
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26831
|
+
message: string;
|
26832
|
+
error?: any;
|
26833
|
+
}, {
|
26834
|
+
message: string;
|
26835
|
+
error?: any;
|
26836
|
+
}>;
|
26837
|
+
};
|
26838
|
+
path: "contact/:id";
|
26839
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
26840
|
+
'x-tenant': import("zod").ZodString;
|
26841
|
+
authorization: import("zod").ZodString;
|
26842
|
+
}, "strip", import("zod").ZodTypeAny, {
|
26843
|
+
'x-tenant': string;
|
26844
|
+
authorization: string;
|
26845
|
+
}, {
|
26846
|
+
'x-tenant': string;
|
26847
|
+
authorization: string;
|
26848
|
+
}>>>;
|
26849
|
+
};
|
25673
26850
|
};
|
25674
26851
|
};
|
25675
26852
|
export declare const platformContract: {
|