@kl1/contracts 1.4.17 → 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.
- package/dist/api-contracts/src/chat/index.d.ts +3 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +1 -1
- package/dist/api-contracts/src/contract.d.ts +1393 -336
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +1057 -0
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/index.js +59 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -38975,7 +38975,7 @@ export declare const apiContract: {
|
|
38975
38975
|
error?: any;
|
38976
38976
|
}>;
|
38977
38977
|
};
|
38978
|
-
path: "
|
38978
|
+
path: "ccs/api/v1/company/:id";
|
38979
38979
|
};
|
38980
38980
|
delete: {
|
38981
38981
|
body: null;
|
@@ -46089,7 +46089,7 @@ export declare const contactContract: {
|
|
46089
46089
|
error?: any;
|
46090
46090
|
}>;
|
46091
46091
|
};
|
46092
|
-
path: "
|
46092
|
+
path: "ccs/api/v1/contact/:id";
|
46093
46093
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
46094
46094
|
'x-tenant': import("zod").ZodString;
|
46095
46095
|
'x-service-token': import("zod").ZodString;
|
@@ -279195,80 +279195,1301 @@ export declare const notificationContract: {
|
|
279195
279195
|
error?: any;
|
279196
279196
|
}>;
|
279197
279197
|
};
|
279198
|
-
path: "ms/notification/read/:id";
|
279198
|
+
path: "ms/notification/read/:id";
|
279199
|
+
};
|
279200
|
+
};
|
279201
|
+
};
|
279202
|
+
export declare const publicApiContract: {
|
279203
|
+
publicApi: {
|
279204
|
+
createContact: {
|
279205
|
+
body: import("zod").ZodObject<{
|
279206
|
+
name: import("zod").ZodString;
|
279207
|
+
email: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
279208
|
+
email: import("zod").ZodString;
|
279209
|
+
isPrimary: import("zod").ZodBoolean;
|
279210
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279211
|
+
isPrimary: boolean;
|
279212
|
+
email: string;
|
279213
|
+
}, {
|
279214
|
+
isPrimary: boolean;
|
279215
|
+
email: string;
|
279216
|
+
}>, "many">>;
|
279217
|
+
channel: import("zod").ZodOptional<import("zod").ZodString>;
|
279218
|
+
address: import("zod").ZodOptional<import("zod").ZodString>;
|
279219
|
+
phone: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
279220
|
+
phone: import("zod").ZodString;
|
279221
|
+
isPrimary: import("zod").ZodBoolean;
|
279222
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279223
|
+
isPrimary: boolean;
|
279224
|
+
phone: string;
|
279225
|
+
}, {
|
279226
|
+
isPrimary: boolean;
|
279227
|
+
phone: string;
|
279228
|
+
}>, "many">>;
|
279229
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
279230
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
279231
|
+
company: import("zod").ZodOptional<import("zod").ZodString>;
|
279232
|
+
customFields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
279233
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279234
|
+
name: string;
|
279235
|
+
customFields: Record<string, string>;
|
279236
|
+
email?: {
|
279237
|
+
isPrimary: boolean;
|
279238
|
+
email: string;
|
279239
|
+
}[] | undefined;
|
279240
|
+
channel?: string | undefined;
|
279241
|
+
address?: string | undefined;
|
279242
|
+
phone?: {
|
279243
|
+
isPrimary: boolean;
|
279244
|
+
phone: string;
|
279245
|
+
}[] | undefined;
|
279246
|
+
notes?: string | undefined;
|
279247
|
+
tags?: string[] | undefined;
|
279248
|
+
company?: string | undefined;
|
279249
|
+
}, {
|
279250
|
+
name: string;
|
279251
|
+
customFields: Record<string, string>;
|
279252
|
+
email?: {
|
279253
|
+
isPrimary: boolean;
|
279254
|
+
email: string;
|
279255
|
+
}[] | undefined;
|
279256
|
+
channel?: string | undefined;
|
279257
|
+
address?: string | undefined;
|
279258
|
+
phone?: {
|
279259
|
+
isPrimary: boolean;
|
279260
|
+
phone: string;
|
279261
|
+
}[] | undefined;
|
279262
|
+
notes?: string | undefined;
|
279263
|
+
tags?: string[] | undefined;
|
279264
|
+
company?: string | undefined;
|
279265
|
+
}>;
|
279266
|
+
summary: "Create a new contact";
|
279267
|
+
method: "POST";
|
279268
|
+
responses: {
|
279269
|
+
201: import("zod").ZodObject<{
|
279270
|
+
requestId: import("zod").ZodString;
|
279271
|
+
data: import("zod").ZodObject<{
|
279272
|
+
id: import("zod").ZodString;
|
279273
|
+
createdAt: import("zod").ZodDate;
|
279274
|
+
updatedAt: import("zod").ZodDate;
|
279275
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279276
|
+
name: import("zod").ZodString;
|
279277
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
279278
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
279279
|
+
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
279280
|
+
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
279281
|
+
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
279282
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
279283
|
+
id: import("zod").ZodString;
|
279284
|
+
createdAt: import("zod").ZodDate;
|
279285
|
+
updatedAt: import("zod").ZodDate;
|
279286
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279287
|
+
name: import("zod").ZodString;
|
279288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279289
|
+
name: string;
|
279290
|
+
id: string;
|
279291
|
+
createdAt: Date;
|
279292
|
+
updatedAt: Date;
|
279293
|
+
deletedAt: Date | null;
|
279294
|
+
}, {
|
279295
|
+
name: string;
|
279296
|
+
id: string;
|
279297
|
+
createdAt: Date;
|
279298
|
+
updatedAt: Date;
|
279299
|
+
deletedAt: Date | null;
|
279300
|
+
}>, "many">;
|
279301
|
+
company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
|
279302
|
+
id: import("zod").ZodString;
|
279303
|
+
createdAt: import("zod").ZodDate;
|
279304
|
+
updatedAt: import("zod").ZodDate;
|
279305
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279306
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
279307
|
+
phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
279308
|
+
address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
279309
|
+
industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
279310
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
279311
|
+
id: import("zod").ZodString;
|
279312
|
+
createdAt: import("zod").ZodDate;
|
279313
|
+
updatedAt: import("zod").ZodDate;
|
279314
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279315
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
279316
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
279317
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
279318
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
279319
|
+
attribute: import("zod").ZodObject<Omit<{
|
279320
|
+
id: import("zod").ZodString;
|
279321
|
+
createdAt: import("zod").ZodDate;
|
279322
|
+
updatedAt: import("zod").ZodDate;
|
279323
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279324
|
+
systemName: import("zod").ZodString;
|
279325
|
+
displayName: import("zod").ZodString;
|
279326
|
+
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">]>;
|
279327
|
+
position: import("zod").ZodNumber;
|
279328
|
+
isDefault: import("zod").ZodBoolean;
|
279329
|
+
isArchived: import("zod").ZodBoolean;
|
279330
|
+
isRequired: import("zod").ZodBoolean;
|
279331
|
+
isUnique: import("zod").ZodBoolean;
|
279332
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
279333
|
+
position: import("zod").ZodNumber;
|
279334
|
+
value: import("zod").ZodString;
|
279335
|
+
label: import("zod").ZodString;
|
279336
|
+
isDefault: import("zod").ZodBoolean;
|
279337
|
+
id: import("zod").ZodString;
|
279338
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279339
|
+
id: string;
|
279340
|
+
position: number;
|
279341
|
+
value: string;
|
279342
|
+
label: string;
|
279343
|
+
isDefault: boolean;
|
279344
|
+
}, {
|
279345
|
+
id: string;
|
279346
|
+
position: number;
|
279347
|
+
value: string;
|
279348
|
+
label: string;
|
279349
|
+
isDefault: boolean;
|
279350
|
+
}>, "many">;
|
279351
|
+
group: import("zod").ZodObject<{
|
279352
|
+
id: import("zod").ZodString;
|
279353
|
+
createdAt: import("zod").ZodDate;
|
279354
|
+
updatedAt: import("zod").ZodDate;
|
279355
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279356
|
+
systemName: import("zod").ZodString;
|
279357
|
+
displayName: import("zod").ZodString;
|
279358
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279359
|
+
id: string;
|
279360
|
+
createdAt: Date;
|
279361
|
+
updatedAt: Date;
|
279362
|
+
deletedAt: Date | null;
|
279363
|
+
systemName: string;
|
279364
|
+
displayName: string;
|
279365
|
+
}, {
|
279366
|
+
id: string;
|
279367
|
+
createdAt: Date;
|
279368
|
+
updatedAt: Date;
|
279369
|
+
deletedAt: Date | null;
|
279370
|
+
systemName: string;
|
279371
|
+
displayName: string;
|
279372
|
+
}>;
|
279373
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
279374
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279375
|
+
id: string;
|
279376
|
+
position: number;
|
279377
|
+
createdAt: Date;
|
279378
|
+
updatedAt: Date;
|
279379
|
+
deletedAt: Date | null;
|
279380
|
+
systemName: string;
|
279381
|
+
displayName: string;
|
279382
|
+
isDefault: boolean;
|
279383
|
+
isArchived: boolean;
|
279384
|
+
isRequired: boolean;
|
279385
|
+
isUnique: boolean;
|
279386
|
+
}, {
|
279387
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279388
|
+
id: string;
|
279389
|
+
position: number;
|
279390
|
+
createdAt: Date;
|
279391
|
+
updatedAt: Date;
|
279392
|
+
deletedAt: Date | null;
|
279393
|
+
systemName: string;
|
279394
|
+
displayName: string;
|
279395
|
+
isDefault: boolean;
|
279396
|
+
isArchived: boolean;
|
279397
|
+
isRequired: boolean;
|
279398
|
+
isUnique: boolean;
|
279399
|
+
}>;
|
279400
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279401
|
+
id: string;
|
279402
|
+
createdAt: Date;
|
279403
|
+
updatedAt: Date;
|
279404
|
+
deletedAt: Date | null;
|
279405
|
+
attribute: {
|
279406
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279407
|
+
id: string;
|
279408
|
+
position: number;
|
279409
|
+
createdAt: Date;
|
279410
|
+
updatedAt: Date;
|
279411
|
+
deletedAt: Date | null;
|
279412
|
+
systemName: string;
|
279413
|
+
displayName: string;
|
279414
|
+
isDefault: boolean;
|
279415
|
+
isArchived: boolean;
|
279416
|
+
isRequired: boolean;
|
279417
|
+
isUnique: boolean;
|
279418
|
+
};
|
279419
|
+
textValue: string | null;
|
279420
|
+
booleanValue: boolean | null;
|
279421
|
+
numberValue: number | null;
|
279422
|
+
dateValue: Date | null;
|
279423
|
+
}, {
|
279424
|
+
id: string;
|
279425
|
+
createdAt: Date;
|
279426
|
+
updatedAt: Date;
|
279427
|
+
deletedAt: Date | null;
|
279428
|
+
attribute: {
|
279429
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279430
|
+
id: string;
|
279431
|
+
position: number;
|
279432
|
+
createdAt: Date;
|
279433
|
+
updatedAt: Date;
|
279434
|
+
deletedAt: Date | null;
|
279435
|
+
systemName: string;
|
279436
|
+
displayName: string;
|
279437
|
+
isDefault: boolean;
|
279438
|
+
isArchived: boolean;
|
279439
|
+
isRequired: boolean;
|
279440
|
+
isUnique: boolean;
|
279441
|
+
};
|
279442
|
+
textValue: string | null;
|
279443
|
+
booleanValue: boolean | null;
|
279444
|
+
numberValue: number | null;
|
279445
|
+
dateValue: Date | null;
|
279446
|
+
}>, "many">>;
|
279447
|
+
}, "customFields">, "strip", import("zod").ZodTypeAny, {
|
279448
|
+
id: string;
|
279449
|
+
createdAt: Date;
|
279450
|
+
updatedAt: Date;
|
279451
|
+
deletedAt: Date | null;
|
279452
|
+
name?: string | undefined;
|
279453
|
+
address?: string | null | undefined;
|
279454
|
+
phone?: string | null | undefined;
|
279455
|
+
industry?: string | null | undefined;
|
279456
|
+
}, {
|
279457
|
+
id: string;
|
279458
|
+
createdAt: Date;
|
279459
|
+
updatedAt: Date;
|
279460
|
+
deletedAt: Date | null;
|
279461
|
+
name?: string | undefined;
|
279462
|
+
address?: string | null | undefined;
|
279463
|
+
phone?: string | null | undefined;
|
279464
|
+
industry?: string | null | undefined;
|
279465
|
+
}>>;
|
279466
|
+
customFields: import("zod").ZodArray<import("zod").ZodObject<{
|
279467
|
+
id: import("zod").ZodString;
|
279468
|
+
createdAt: import("zod").ZodDate;
|
279469
|
+
updatedAt: import("zod").ZodDate;
|
279470
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279471
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
279472
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
279473
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
279474
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
279475
|
+
attribute: import("zod").ZodObject<Omit<{
|
279476
|
+
id: import("zod").ZodString;
|
279477
|
+
createdAt: import("zod").ZodDate;
|
279478
|
+
updatedAt: import("zod").ZodDate;
|
279479
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279480
|
+
systemName: import("zod").ZodString;
|
279481
|
+
displayName: import("zod").ZodString;
|
279482
|
+
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">]>;
|
279483
|
+
position: import("zod").ZodNumber;
|
279484
|
+
isDefault: import("zod").ZodBoolean;
|
279485
|
+
isArchived: import("zod").ZodBoolean;
|
279486
|
+
isRequired: import("zod").ZodBoolean;
|
279487
|
+
isUnique: import("zod").ZodBoolean;
|
279488
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
279489
|
+
position: import("zod").ZodNumber;
|
279490
|
+
value: import("zod").ZodString;
|
279491
|
+
label: import("zod").ZodString;
|
279492
|
+
isDefault: import("zod").ZodBoolean;
|
279493
|
+
id: import("zod").ZodString;
|
279494
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279495
|
+
id: string;
|
279496
|
+
position: number;
|
279497
|
+
value: string;
|
279498
|
+
label: string;
|
279499
|
+
isDefault: boolean;
|
279500
|
+
}, {
|
279501
|
+
id: string;
|
279502
|
+
position: number;
|
279503
|
+
value: string;
|
279504
|
+
label: string;
|
279505
|
+
isDefault: boolean;
|
279506
|
+
}>, "many">;
|
279507
|
+
group: import("zod").ZodObject<{
|
279508
|
+
id: import("zod").ZodString;
|
279509
|
+
createdAt: import("zod").ZodDate;
|
279510
|
+
updatedAt: import("zod").ZodDate;
|
279511
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279512
|
+
systemName: import("zod").ZodString;
|
279513
|
+
displayName: import("zod").ZodString;
|
279514
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279515
|
+
id: string;
|
279516
|
+
createdAt: Date;
|
279517
|
+
updatedAt: Date;
|
279518
|
+
deletedAt: Date | null;
|
279519
|
+
systemName: string;
|
279520
|
+
displayName: string;
|
279521
|
+
}, {
|
279522
|
+
id: string;
|
279523
|
+
createdAt: Date;
|
279524
|
+
updatedAt: Date;
|
279525
|
+
deletedAt: Date | null;
|
279526
|
+
systemName: string;
|
279527
|
+
displayName: string;
|
279528
|
+
}>;
|
279529
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
279530
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279531
|
+
id: string;
|
279532
|
+
position: number;
|
279533
|
+
createdAt: Date;
|
279534
|
+
updatedAt: Date;
|
279535
|
+
deletedAt: Date | null;
|
279536
|
+
systemName: string;
|
279537
|
+
displayName: string;
|
279538
|
+
isDefault: boolean;
|
279539
|
+
isArchived: boolean;
|
279540
|
+
isRequired: boolean;
|
279541
|
+
isUnique: boolean;
|
279542
|
+
}, {
|
279543
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279544
|
+
id: string;
|
279545
|
+
position: number;
|
279546
|
+
createdAt: Date;
|
279547
|
+
updatedAt: Date;
|
279548
|
+
deletedAt: Date | null;
|
279549
|
+
systemName: string;
|
279550
|
+
displayName: string;
|
279551
|
+
isDefault: boolean;
|
279552
|
+
isArchived: boolean;
|
279553
|
+
isRequired: boolean;
|
279554
|
+
isUnique: boolean;
|
279555
|
+
}>;
|
279556
|
+
uploads: import("zod").ZodArray<import("zod").ZodObject<{
|
279557
|
+
id: import("zod").ZodString;
|
279558
|
+
createdAt: import("zod").ZodDate;
|
279559
|
+
updatedAt: import("zod").ZodDate;
|
279560
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279561
|
+
bucketName: import("zod").ZodString;
|
279562
|
+
fileName: import("zod").ZodString;
|
279563
|
+
fileSize: import("zod").ZodNumber;
|
279564
|
+
fileKey: import("zod").ZodString;
|
279565
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
279566
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
279567
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279568
|
+
id: string;
|
279569
|
+
status: string | null;
|
279570
|
+
createdAt: Date;
|
279571
|
+
updatedAt: Date;
|
279572
|
+
deletedAt: Date | null;
|
279573
|
+
fileName: string;
|
279574
|
+
fileKey: string;
|
279575
|
+
bucketName: string;
|
279576
|
+
fileSize: number;
|
279577
|
+
fileUrl: string | null;
|
279578
|
+
}, {
|
279579
|
+
id: string;
|
279580
|
+
status: string | null;
|
279581
|
+
createdAt: Date;
|
279582
|
+
updatedAt: Date;
|
279583
|
+
deletedAt: Date | null;
|
279584
|
+
fileName: string;
|
279585
|
+
fileKey: string;
|
279586
|
+
bucketName: string;
|
279587
|
+
fileSize: number;
|
279588
|
+
fileUrl: string | null;
|
279589
|
+
}>, "many">;
|
279590
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279591
|
+
id: string;
|
279592
|
+
createdAt: Date;
|
279593
|
+
updatedAt: Date;
|
279594
|
+
deletedAt: Date | null;
|
279595
|
+
attribute: {
|
279596
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279597
|
+
id: string;
|
279598
|
+
position: number;
|
279599
|
+
createdAt: Date;
|
279600
|
+
updatedAt: Date;
|
279601
|
+
deletedAt: Date | null;
|
279602
|
+
systemName: string;
|
279603
|
+
displayName: string;
|
279604
|
+
isDefault: boolean;
|
279605
|
+
isArchived: boolean;
|
279606
|
+
isRequired: boolean;
|
279607
|
+
isUnique: boolean;
|
279608
|
+
};
|
279609
|
+
textValue: string | null;
|
279610
|
+
booleanValue: boolean | null;
|
279611
|
+
numberValue: number | null;
|
279612
|
+
dateValue: Date | null;
|
279613
|
+
uploads: {
|
279614
|
+
id: string;
|
279615
|
+
status: string | null;
|
279616
|
+
createdAt: Date;
|
279617
|
+
updatedAt: Date;
|
279618
|
+
deletedAt: Date | null;
|
279619
|
+
fileName: string;
|
279620
|
+
fileKey: string;
|
279621
|
+
bucketName: string;
|
279622
|
+
fileSize: number;
|
279623
|
+
fileUrl: string | null;
|
279624
|
+
}[];
|
279625
|
+
}, {
|
279626
|
+
id: string;
|
279627
|
+
createdAt: Date;
|
279628
|
+
updatedAt: Date;
|
279629
|
+
deletedAt: Date | null;
|
279630
|
+
attribute: {
|
279631
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279632
|
+
id: string;
|
279633
|
+
position: number;
|
279634
|
+
createdAt: Date;
|
279635
|
+
updatedAt: Date;
|
279636
|
+
deletedAt: Date | null;
|
279637
|
+
systemName: string;
|
279638
|
+
displayName: string;
|
279639
|
+
isDefault: boolean;
|
279640
|
+
isArchived: boolean;
|
279641
|
+
isRequired: boolean;
|
279642
|
+
isUnique: boolean;
|
279643
|
+
};
|
279644
|
+
textValue: string | null;
|
279645
|
+
booleanValue: boolean | null;
|
279646
|
+
numberValue: number | null;
|
279647
|
+
dateValue: Date | null;
|
279648
|
+
uploads: {
|
279649
|
+
id: string;
|
279650
|
+
status: string | null;
|
279651
|
+
createdAt: Date;
|
279652
|
+
updatedAt: Date;
|
279653
|
+
deletedAt: Date | null;
|
279654
|
+
fileName: string;
|
279655
|
+
fileKey: string;
|
279656
|
+
bucketName: string;
|
279657
|
+
fileSize: number;
|
279658
|
+
fileUrl: string | null;
|
279659
|
+
}[];
|
279660
|
+
}>, "many">;
|
279661
|
+
contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
|
279662
|
+
id: import("zod").ZodString;
|
279663
|
+
createdAt: import("zod").ZodDate;
|
279664
|
+
updatedAt: import("zod").ZodDate;
|
279665
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279666
|
+
email: import("zod").ZodString;
|
279667
|
+
isPrimary: import("zod").ZodBoolean;
|
279668
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279669
|
+
id: string;
|
279670
|
+
isPrimary: boolean;
|
279671
|
+
email: string;
|
279672
|
+
createdAt: Date;
|
279673
|
+
updatedAt: Date;
|
279674
|
+
deletedAt: Date | null;
|
279675
|
+
}, {
|
279676
|
+
id: string;
|
279677
|
+
isPrimary: boolean;
|
279678
|
+
email: string;
|
279679
|
+
createdAt: Date;
|
279680
|
+
updatedAt: Date;
|
279681
|
+
deletedAt: Date | null;
|
279682
|
+
}>, "many">;
|
279683
|
+
contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
|
279684
|
+
id: import("zod").ZodString;
|
279685
|
+
createdAt: import("zod").ZodDate;
|
279686
|
+
updatedAt: import("zod").ZodDate;
|
279687
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279688
|
+
phone: import("zod").ZodString;
|
279689
|
+
isPrimary: import("zod").ZodBoolean;
|
279690
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279691
|
+
id: string;
|
279692
|
+
isPrimary: boolean;
|
279693
|
+
createdAt: Date;
|
279694
|
+
updatedAt: Date;
|
279695
|
+
deletedAt: Date | null;
|
279696
|
+
phone: string;
|
279697
|
+
}, {
|
279698
|
+
id: string;
|
279699
|
+
isPrimary: boolean;
|
279700
|
+
createdAt: Date;
|
279701
|
+
updatedAt: Date;
|
279702
|
+
deletedAt: Date | null;
|
279703
|
+
phone: string;
|
279704
|
+
}>, "many">;
|
279705
|
+
activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
279706
|
+
id: import("zod").ZodString;
|
279707
|
+
createdAt: import("zod").ZodDate;
|
279708
|
+
updatedAt: import("zod").ZodDate;
|
279709
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279710
|
+
entityId: import("zod").ZodString;
|
279711
|
+
description: import("zod").ZodString;
|
279712
|
+
entityType: import("zod").ZodObject<{
|
279713
|
+
id: import("zod").ZodString;
|
279714
|
+
createdAt: import("zod").ZodDate;
|
279715
|
+
updatedAt: import("zod").ZodDate;
|
279716
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
279717
|
+
entity: import("zod").ZodString;
|
279718
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
279719
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279720
|
+
id: string;
|
279721
|
+
description: string | null;
|
279722
|
+
createdAt: Date;
|
279723
|
+
updatedAt: Date;
|
279724
|
+
deletedAt: Date | null;
|
279725
|
+
entity: string;
|
279726
|
+
}, {
|
279727
|
+
id: string;
|
279728
|
+
description: string | null;
|
279729
|
+
createdAt: Date;
|
279730
|
+
updatedAt: Date;
|
279731
|
+
deletedAt: Date | null;
|
279732
|
+
entity: string;
|
279733
|
+
}>;
|
279734
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279735
|
+
id: string;
|
279736
|
+
description: string;
|
279737
|
+
createdAt: Date;
|
279738
|
+
updatedAt: Date;
|
279739
|
+
deletedAt: Date | null;
|
279740
|
+
entityId: string;
|
279741
|
+
entityType: {
|
279742
|
+
id: string;
|
279743
|
+
description: string | null;
|
279744
|
+
createdAt: Date;
|
279745
|
+
updatedAt: Date;
|
279746
|
+
deletedAt: Date | null;
|
279747
|
+
entity: string;
|
279748
|
+
};
|
279749
|
+
}, {
|
279750
|
+
id: string;
|
279751
|
+
description: string;
|
279752
|
+
createdAt: Date;
|
279753
|
+
updatedAt: Date;
|
279754
|
+
deletedAt: Date | null;
|
279755
|
+
entityId: string;
|
279756
|
+
entityType: {
|
279757
|
+
id: string;
|
279758
|
+
description: string | null;
|
279759
|
+
createdAt: Date;
|
279760
|
+
updatedAt: Date;
|
279761
|
+
deletedAt: Date | null;
|
279762
|
+
entity: string;
|
279763
|
+
};
|
279764
|
+
}>, "many">>;
|
279765
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279766
|
+
name: string;
|
279767
|
+
id: string;
|
279768
|
+
channel: string | null;
|
279769
|
+
address: string | null;
|
279770
|
+
createdAt: Date;
|
279771
|
+
updatedAt: Date;
|
279772
|
+
deletedAt: Date | null;
|
279773
|
+
customFields: {
|
279774
|
+
id: string;
|
279775
|
+
createdAt: Date;
|
279776
|
+
updatedAt: Date;
|
279777
|
+
deletedAt: Date | null;
|
279778
|
+
attribute: {
|
279779
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279780
|
+
id: string;
|
279781
|
+
position: number;
|
279782
|
+
createdAt: Date;
|
279783
|
+
updatedAt: Date;
|
279784
|
+
deletedAt: Date | null;
|
279785
|
+
systemName: string;
|
279786
|
+
displayName: string;
|
279787
|
+
isDefault: boolean;
|
279788
|
+
isArchived: boolean;
|
279789
|
+
isRequired: boolean;
|
279790
|
+
isUnique: boolean;
|
279791
|
+
};
|
279792
|
+
textValue: string | null;
|
279793
|
+
booleanValue: boolean | null;
|
279794
|
+
numberValue: number | null;
|
279795
|
+
dateValue: Date | null;
|
279796
|
+
uploads: {
|
279797
|
+
id: string;
|
279798
|
+
status: string | null;
|
279799
|
+
createdAt: Date;
|
279800
|
+
updatedAt: Date;
|
279801
|
+
deletedAt: Date | null;
|
279802
|
+
fileName: string;
|
279803
|
+
fileKey: string;
|
279804
|
+
bucketName: string;
|
279805
|
+
fileSize: number;
|
279806
|
+
fileUrl: string | null;
|
279807
|
+
}[];
|
279808
|
+
}[];
|
279809
|
+
company: {
|
279810
|
+
id: string;
|
279811
|
+
createdAt: Date;
|
279812
|
+
updatedAt: Date;
|
279813
|
+
deletedAt: Date | null;
|
279814
|
+
name?: string | undefined;
|
279815
|
+
address?: string | null | undefined;
|
279816
|
+
phone?: string | null | undefined;
|
279817
|
+
industry?: string | null | undefined;
|
279818
|
+
} | null;
|
279819
|
+
notes: string | null;
|
279820
|
+
contactProfile: string | null;
|
279821
|
+
socialProfileUrl: string | null;
|
279822
|
+
tags: {
|
279823
|
+
name: string;
|
279824
|
+
id: string;
|
279825
|
+
createdAt: Date;
|
279826
|
+
updatedAt: Date;
|
279827
|
+
deletedAt: Date | null;
|
279828
|
+
}[];
|
279829
|
+
contactEmails: {
|
279830
|
+
id: string;
|
279831
|
+
isPrimary: boolean;
|
279832
|
+
email: string;
|
279833
|
+
createdAt: Date;
|
279834
|
+
updatedAt: Date;
|
279835
|
+
deletedAt: Date | null;
|
279836
|
+
}[];
|
279837
|
+
contactPhones: {
|
279838
|
+
id: string;
|
279839
|
+
isPrimary: boolean;
|
279840
|
+
createdAt: Date;
|
279841
|
+
updatedAt: Date;
|
279842
|
+
deletedAt: Date | null;
|
279843
|
+
phone: string;
|
279844
|
+
}[];
|
279845
|
+
activityLogs?: {
|
279846
|
+
id: string;
|
279847
|
+
description: string;
|
279848
|
+
createdAt: Date;
|
279849
|
+
updatedAt: Date;
|
279850
|
+
deletedAt: Date | null;
|
279851
|
+
entityId: string;
|
279852
|
+
entityType: {
|
279853
|
+
id: string;
|
279854
|
+
description: string | null;
|
279855
|
+
createdAt: Date;
|
279856
|
+
updatedAt: Date;
|
279857
|
+
deletedAt: Date | null;
|
279858
|
+
entity: string;
|
279859
|
+
};
|
279860
|
+
}[] | undefined;
|
279861
|
+
}, {
|
279862
|
+
name: string;
|
279863
|
+
id: string;
|
279864
|
+
channel: string | null;
|
279865
|
+
address: string | null;
|
279866
|
+
createdAt: Date;
|
279867
|
+
updatedAt: Date;
|
279868
|
+
deletedAt: Date | null;
|
279869
|
+
customFields: {
|
279870
|
+
id: string;
|
279871
|
+
createdAt: Date;
|
279872
|
+
updatedAt: Date;
|
279873
|
+
deletedAt: Date | null;
|
279874
|
+
attribute: {
|
279875
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279876
|
+
id: string;
|
279877
|
+
position: number;
|
279878
|
+
createdAt: Date;
|
279879
|
+
updatedAt: Date;
|
279880
|
+
deletedAt: Date | null;
|
279881
|
+
systemName: string;
|
279882
|
+
displayName: string;
|
279883
|
+
isDefault: boolean;
|
279884
|
+
isArchived: boolean;
|
279885
|
+
isRequired: boolean;
|
279886
|
+
isUnique: boolean;
|
279887
|
+
};
|
279888
|
+
textValue: string | null;
|
279889
|
+
booleanValue: boolean | null;
|
279890
|
+
numberValue: number | null;
|
279891
|
+
dateValue: Date | null;
|
279892
|
+
uploads: {
|
279893
|
+
id: string;
|
279894
|
+
status: string | null;
|
279895
|
+
createdAt: Date;
|
279896
|
+
updatedAt: Date;
|
279897
|
+
deletedAt: Date | null;
|
279898
|
+
fileName: string;
|
279899
|
+
fileKey: string;
|
279900
|
+
bucketName: string;
|
279901
|
+
fileSize: number;
|
279902
|
+
fileUrl: string | null;
|
279903
|
+
}[];
|
279904
|
+
}[];
|
279905
|
+
company: {
|
279906
|
+
id: string;
|
279907
|
+
createdAt: Date;
|
279908
|
+
updatedAt: Date;
|
279909
|
+
deletedAt: Date | null;
|
279910
|
+
name?: string | undefined;
|
279911
|
+
address?: string | null | undefined;
|
279912
|
+
phone?: string | null | undefined;
|
279913
|
+
industry?: string | null | undefined;
|
279914
|
+
} | null;
|
279915
|
+
notes: string | null;
|
279916
|
+
contactProfile: string | null;
|
279917
|
+
socialProfileUrl: string | null;
|
279918
|
+
tags: {
|
279919
|
+
name: string;
|
279920
|
+
id: string;
|
279921
|
+
createdAt: Date;
|
279922
|
+
updatedAt: Date;
|
279923
|
+
deletedAt: Date | null;
|
279924
|
+
}[];
|
279925
|
+
contactEmails: {
|
279926
|
+
id: string;
|
279927
|
+
isPrimary: boolean;
|
279928
|
+
email: string;
|
279929
|
+
createdAt: Date;
|
279930
|
+
updatedAt: Date;
|
279931
|
+
deletedAt: Date | null;
|
279932
|
+
}[];
|
279933
|
+
contactPhones: {
|
279934
|
+
id: string;
|
279935
|
+
isPrimary: boolean;
|
279936
|
+
createdAt: Date;
|
279937
|
+
updatedAt: Date;
|
279938
|
+
deletedAt: Date | null;
|
279939
|
+
phone: string;
|
279940
|
+
}[];
|
279941
|
+
activityLogs?: {
|
279942
|
+
id: string;
|
279943
|
+
description: string;
|
279944
|
+
createdAt: Date;
|
279945
|
+
updatedAt: Date;
|
279946
|
+
deletedAt: Date | null;
|
279947
|
+
entityId: string;
|
279948
|
+
entityType: {
|
279949
|
+
id: string;
|
279950
|
+
description: string | null;
|
279951
|
+
createdAt: Date;
|
279952
|
+
updatedAt: Date;
|
279953
|
+
deletedAt: Date | null;
|
279954
|
+
entity: string;
|
279955
|
+
};
|
279956
|
+
}[] | undefined;
|
279957
|
+
}>;
|
279958
|
+
}, "strip", import("zod").ZodTypeAny, {
|
279959
|
+
data: {
|
279960
|
+
name: string;
|
279961
|
+
id: string;
|
279962
|
+
channel: string | null;
|
279963
|
+
address: string | null;
|
279964
|
+
createdAt: Date;
|
279965
|
+
updatedAt: Date;
|
279966
|
+
deletedAt: Date | null;
|
279967
|
+
customFields: {
|
279968
|
+
id: string;
|
279969
|
+
createdAt: Date;
|
279970
|
+
updatedAt: Date;
|
279971
|
+
deletedAt: Date | null;
|
279972
|
+
attribute: {
|
279973
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
279974
|
+
id: string;
|
279975
|
+
position: number;
|
279976
|
+
createdAt: Date;
|
279977
|
+
updatedAt: Date;
|
279978
|
+
deletedAt: Date | null;
|
279979
|
+
systemName: string;
|
279980
|
+
displayName: string;
|
279981
|
+
isDefault: boolean;
|
279982
|
+
isArchived: boolean;
|
279983
|
+
isRequired: boolean;
|
279984
|
+
isUnique: boolean;
|
279985
|
+
};
|
279986
|
+
textValue: string | null;
|
279987
|
+
booleanValue: boolean | null;
|
279988
|
+
numberValue: number | null;
|
279989
|
+
dateValue: Date | null;
|
279990
|
+
uploads: {
|
279991
|
+
id: string;
|
279992
|
+
status: string | null;
|
279993
|
+
createdAt: Date;
|
279994
|
+
updatedAt: Date;
|
279995
|
+
deletedAt: Date | null;
|
279996
|
+
fileName: string;
|
279997
|
+
fileKey: string;
|
279998
|
+
bucketName: string;
|
279999
|
+
fileSize: number;
|
280000
|
+
fileUrl: string | null;
|
280001
|
+
}[];
|
280002
|
+
}[];
|
280003
|
+
company: {
|
280004
|
+
id: string;
|
280005
|
+
createdAt: Date;
|
280006
|
+
updatedAt: Date;
|
280007
|
+
deletedAt: Date | null;
|
280008
|
+
name?: string | undefined;
|
280009
|
+
address?: string | null | undefined;
|
280010
|
+
phone?: string | null | undefined;
|
280011
|
+
industry?: string | null | undefined;
|
280012
|
+
} | null;
|
280013
|
+
notes: string | null;
|
280014
|
+
contactProfile: string | null;
|
280015
|
+
socialProfileUrl: string | null;
|
280016
|
+
tags: {
|
280017
|
+
name: string;
|
280018
|
+
id: string;
|
280019
|
+
createdAt: Date;
|
280020
|
+
updatedAt: Date;
|
280021
|
+
deletedAt: Date | null;
|
280022
|
+
}[];
|
280023
|
+
contactEmails: {
|
280024
|
+
id: string;
|
280025
|
+
isPrimary: boolean;
|
280026
|
+
email: string;
|
280027
|
+
createdAt: Date;
|
280028
|
+
updatedAt: Date;
|
280029
|
+
deletedAt: Date | null;
|
280030
|
+
}[];
|
280031
|
+
contactPhones: {
|
280032
|
+
id: string;
|
280033
|
+
isPrimary: boolean;
|
280034
|
+
createdAt: Date;
|
280035
|
+
updatedAt: Date;
|
280036
|
+
deletedAt: Date | null;
|
280037
|
+
phone: string;
|
280038
|
+
}[];
|
280039
|
+
activityLogs?: {
|
280040
|
+
id: string;
|
280041
|
+
description: string;
|
280042
|
+
createdAt: Date;
|
280043
|
+
updatedAt: Date;
|
280044
|
+
deletedAt: Date | null;
|
280045
|
+
entityId: string;
|
280046
|
+
entityType: {
|
280047
|
+
id: string;
|
280048
|
+
description: string | null;
|
280049
|
+
createdAt: Date;
|
280050
|
+
updatedAt: Date;
|
280051
|
+
deletedAt: Date | null;
|
280052
|
+
entity: string;
|
280053
|
+
};
|
280054
|
+
}[] | undefined;
|
280055
|
+
};
|
280056
|
+
requestId: string;
|
280057
|
+
}, {
|
280058
|
+
data: {
|
280059
|
+
name: string;
|
280060
|
+
id: string;
|
280061
|
+
channel: string | null;
|
280062
|
+
address: string | null;
|
280063
|
+
createdAt: Date;
|
280064
|
+
updatedAt: Date;
|
280065
|
+
deletedAt: Date | null;
|
280066
|
+
customFields: {
|
280067
|
+
id: string;
|
280068
|
+
createdAt: Date;
|
280069
|
+
updatedAt: Date;
|
280070
|
+
deletedAt: Date | null;
|
280071
|
+
attribute: {
|
280072
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
280073
|
+
id: string;
|
280074
|
+
position: number;
|
280075
|
+
createdAt: Date;
|
280076
|
+
updatedAt: Date;
|
280077
|
+
deletedAt: Date | null;
|
280078
|
+
systemName: string;
|
280079
|
+
displayName: string;
|
280080
|
+
isDefault: boolean;
|
280081
|
+
isArchived: boolean;
|
280082
|
+
isRequired: boolean;
|
280083
|
+
isUnique: boolean;
|
280084
|
+
};
|
280085
|
+
textValue: string | null;
|
280086
|
+
booleanValue: boolean | null;
|
280087
|
+
numberValue: number | null;
|
280088
|
+
dateValue: Date | null;
|
280089
|
+
uploads: {
|
280090
|
+
id: string;
|
280091
|
+
status: string | null;
|
280092
|
+
createdAt: Date;
|
280093
|
+
updatedAt: Date;
|
280094
|
+
deletedAt: Date | null;
|
280095
|
+
fileName: string;
|
280096
|
+
fileKey: string;
|
280097
|
+
bucketName: string;
|
280098
|
+
fileSize: number;
|
280099
|
+
fileUrl: string | null;
|
280100
|
+
}[];
|
280101
|
+
}[];
|
280102
|
+
company: {
|
280103
|
+
id: string;
|
280104
|
+
createdAt: Date;
|
280105
|
+
updatedAt: Date;
|
280106
|
+
deletedAt: Date | null;
|
280107
|
+
name?: string | undefined;
|
280108
|
+
address?: string | null | undefined;
|
280109
|
+
phone?: string | null | undefined;
|
280110
|
+
industry?: string | null | undefined;
|
280111
|
+
} | null;
|
280112
|
+
notes: string | null;
|
280113
|
+
contactProfile: string | null;
|
280114
|
+
socialProfileUrl: string | null;
|
280115
|
+
tags: {
|
280116
|
+
name: string;
|
280117
|
+
id: string;
|
280118
|
+
createdAt: Date;
|
280119
|
+
updatedAt: Date;
|
280120
|
+
deletedAt: Date | null;
|
280121
|
+
}[];
|
280122
|
+
contactEmails: {
|
280123
|
+
id: string;
|
280124
|
+
isPrimary: boolean;
|
280125
|
+
email: string;
|
280126
|
+
createdAt: Date;
|
280127
|
+
updatedAt: Date;
|
280128
|
+
deletedAt: Date | null;
|
280129
|
+
}[];
|
280130
|
+
contactPhones: {
|
280131
|
+
id: string;
|
280132
|
+
isPrimary: boolean;
|
280133
|
+
createdAt: Date;
|
280134
|
+
updatedAt: Date;
|
280135
|
+
deletedAt: Date | null;
|
280136
|
+
phone: string;
|
280137
|
+
}[];
|
280138
|
+
activityLogs?: {
|
280139
|
+
id: string;
|
280140
|
+
description: string;
|
280141
|
+
createdAt: Date;
|
280142
|
+
updatedAt: Date;
|
280143
|
+
deletedAt: Date | null;
|
280144
|
+
entityId: string;
|
280145
|
+
entityType: {
|
280146
|
+
id: string;
|
280147
|
+
description: string | null;
|
280148
|
+
createdAt: Date;
|
280149
|
+
updatedAt: Date;
|
280150
|
+
deletedAt: Date | null;
|
280151
|
+
entity: string;
|
280152
|
+
};
|
280153
|
+
}[] | undefined;
|
280154
|
+
};
|
280155
|
+
requestId: string;
|
280156
|
+
}>;
|
280157
|
+
400: import("zod").ZodObject<{
|
280158
|
+
message: import("zod").ZodString;
|
280159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280160
|
+
message: string;
|
280161
|
+
}, {
|
280162
|
+
message: string;
|
280163
|
+
}>;
|
280164
|
+
409: import("zod").ZodObject<{
|
280165
|
+
message: import("zod").ZodString;
|
280166
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280167
|
+
message: string;
|
280168
|
+
}, {
|
280169
|
+
message: string;
|
280170
|
+
}>;
|
280171
|
+
401: import("zod").ZodObject<{
|
280172
|
+
message: import("zod").ZodString;
|
280173
|
+
error: import("zod").ZodAny;
|
280174
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280175
|
+
message: string;
|
280176
|
+
error?: any;
|
280177
|
+
}, {
|
280178
|
+
message: string;
|
280179
|
+
error?: any;
|
280180
|
+
}>;
|
280181
|
+
404: import("zod").ZodObject<{
|
280182
|
+
message: import("zod").ZodString;
|
280183
|
+
error: import("zod").ZodAny;
|
280184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280185
|
+
message: string;
|
280186
|
+
error?: any;
|
280187
|
+
}, {
|
280188
|
+
message: string;
|
280189
|
+
error?: any;
|
280190
|
+
}>;
|
280191
|
+
422: import("zod").ZodObject<{
|
280192
|
+
message: import("zod").ZodString;
|
280193
|
+
error: import("zod").ZodAny;
|
280194
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280195
|
+
message: string;
|
280196
|
+
error?: any;
|
280197
|
+
}, {
|
280198
|
+
message: string;
|
280199
|
+
error?: any;
|
280200
|
+
}>;
|
280201
|
+
500: import("zod").ZodObject<{
|
280202
|
+
message: import("zod").ZodString;
|
280203
|
+
error: import("zod").ZodAny;
|
280204
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280205
|
+
message: string;
|
280206
|
+
error?: any;
|
280207
|
+
}, {
|
280208
|
+
message: string;
|
280209
|
+
error?: any;
|
280210
|
+
}>;
|
280211
|
+
};
|
280212
|
+
path: "api/v1/contacts";
|
280213
|
+
};
|
280214
|
+
getAllTags: {
|
280215
|
+
method: "GET";
|
280216
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
280217
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>>>;
|
280218
|
+
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
280219
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280220
|
+
group?: "general" | "contact" | undefined;
|
280221
|
+
keyword?: string | undefined;
|
280222
|
+
}, {
|
280223
|
+
group?: "general" | "contact" | undefined;
|
280224
|
+
keyword?: string | undefined;
|
280225
|
+
}>>;
|
280226
|
+
responses: {
|
280227
|
+
200: import("zod").ZodObject<{
|
280228
|
+
requestId: import("zod").ZodString;
|
280229
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
280230
|
+
id: import("zod").ZodString;
|
280231
|
+
createdAt: import("zod").ZodDate;
|
280232
|
+
updatedAt: import("zod").ZodDate;
|
280233
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
280234
|
+
name: import("zod").ZodString;
|
280235
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280236
|
+
name: string;
|
280237
|
+
id: string;
|
280238
|
+
createdAt: Date;
|
280239
|
+
updatedAt: Date;
|
280240
|
+
deletedAt: Date | null;
|
280241
|
+
}, {
|
280242
|
+
name: string;
|
280243
|
+
id: string;
|
280244
|
+
createdAt: Date;
|
280245
|
+
updatedAt: Date;
|
280246
|
+
deletedAt: Date | null;
|
280247
|
+
}>, "many">;
|
280248
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280249
|
+
requestId: string;
|
280250
|
+
tags: {
|
280251
|
+
name: string;
|
280252
|
+
id: string;
|
280253
|
+
createdAt: Date;
|
280254
|
+
updatedAt: Date;
|
280255
|
+
deletedAt: Date | null;
|
280256
|
+
}[];
|
280257
|
+
}, {
|
280258
|
+
requestId: string;
|
280259
|
+
tags: {
|
280260
|
+
name: string;
|
280261
|
+
id: string;
|
280262
|
+
createdAt: Date;
|
280263
|
+
updatedAt: Date;
|
280264
|
+
deletedAt: Date | null;
|
280265
|
+
}[];
|
280266
|
+
}>;
|
280267
|
+
400: import("zod").ZodObject<{
|
280268
|
+
message: import("zod").ZodString;
|
280269
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280270
|
+
message: string;
|
280271
|
+
}, {
|
280272
|
+
message: string;
|
280273
|
+
}>;
|
280274
|
+
409: import("zod").ZodObject<{
|
280275
|
+
message: import("zod").ZodString;
|
280276
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280277
|
+
message: string;
|
280278
|
+
}, {
|
280279
|
+
message: string;
|
280280
|
+
}>;
|
280281
|
+
401: import("zod").ZodObject<{
|
280282
|
+
message: import("zod").ZodString;
|
280283
|
+
error: import("zod").ZodAny;
|
280284
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280285
|
+
message: string;
|
280286
|
+
error?: any;
|
280287
|
+
}, {
|
280288
|
+
message: string;
|
280289
|
+
error?: any;
|
280290
|
+
}>;
|
280291
|
+
404: import("zod").ZodObject<{
|
280292
|
+
message: import("zod").ZodString;
|
280293
|
+
error: import("zod").ZodAny;
|
280294
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280295
|
+
message: string;
|
280296
|
+
error?: any;
|
280297
|
+
}, {
|
280298
|
+
message: string;
|
280299
|
+
error?: any;
|
280300
|
+
}>;
|
280301
|
+
422: import("zod").ZodObject<{
|
280302
|
+
message: import("zod").ZodString;
|
280303
|
+
error: import("zod").ZodAny;
|
280304
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280305
|
+
message: string;
|
280306
|
+
error?: any;
|
280307
|
+
}, {
|
280308
|
+
message: string;
|
280309
|
+
error?: any;
|
280310
|
+
}>;
|
280311
|
+
500: import("zod").ZodObject<{
|
280312
|
+
message: import("zod").ZodString;
|
280313
|
+
error: import("zod").ZodAny;
|
280314
|
+
}, "strip", import("zod").ZodTypeAny, {
|
280315
|
+
message: string;
|
280316
|
+
error?: any;
|
280317
|
+
}, {
|
280318
|
+
message: string;
|
280319
|
+
error?: any;
|
280320
|
+
}>;
|
280321
|
+
};
|
280322
|
+
path: "api/v1/tags";
|
279199
280323
|
};
|
279200
|
-
|
279201
|
-
|
279202
|
-
|
279203
|
-
|
279204
|
-
|
279205
|
-
|
279206
|
-
|
279207
|
-
|
279208
|
-
|
279209
|
-
|
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;
|
279210
280347
|
}, "strip", import("zod").ZodTypeAny, {
|
279211
|
-
|
279212
|
-
|
280348
|
+
total: number;
|
280349
|
+
page: number;
|
280350
|
+
pageSize: number;
|
280351
|
+
lastPage: number;
|
280352
|
+
requestId: string;
|
280353
|
+
data?: any;
|
279213
280354
|
}, {
|
279214
|
-
|
279215
|
-
|
279216
|
-
|
279217
|
-
|
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
|
+
};
|
280419
|
+
getAllContact: {
|
280420
|
+
summary: "Get all contacts";
|
280421
|
+
method: "GET";
|
280422
|
+
query: import("zod").ZodObject<{
|
280423
|
+
page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
280424
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
280425
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
280426
|
+
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
280427
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
279218
280428
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
279219
|
-
|
279220
|
-
|
279221
|
-
|
280429
|
+
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
280430
|
+
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
280431
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
280432
|
+
attributeId: import("zod").ZodString;
|
280433
|
+
type: import("zod").ZodString;
|
280434
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
279222
280435
|
}, "strip", import("zod").ZodTypeAny, {
|
279223
|
-
|
279224
|
-
|
280436
|
+
type: string;
|
280437
|
+
value: (string | string[]) & (string | string[] | undefined);
|
280438
|
+
attributeId: string;
|
279225
280439
|
}, {
|
279226
|
-
|
279227
|
-
|
280440
|
+
type: string;
|
280441
|
+
value: (string | string[]) & (string | string[] | undefined);
|
280442
|
+
attributeId: string;
|
279228
280443
|
}>, "many">>;
|
279229
|
-
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
279230
280444
|
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
279231
|
-
|
279232
|
-
|
280445
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
280446
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
280447
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
279233
280448
|
}, "strip", import("zod").ZodTypeAny, {
|
279234
|
-
|
279235
|
-
|
279236
|
-
|
279237
|
-
|
279238
|
-
|
279239
|
-
}[] | undefined;
|
279240
|
-
channel?: string | undefined;
|
280449
|
+
page?: number | undefined;
|
280450
|
+
pageSize?: number | undefined;
|
280451
|
+
keyword?: string | undefined;
|
280452
|
+
company?: string[] | undefined;
|
280453
|
+
name?: string | undefined;
|
279241
280454
|
address?: string | undefined;
|
279242
|
-
|
279243
|
-
|
279244
|
-
|
280455
|
+
channel?: string[] | undefined;
|
280456
|
+
selectedDate?: string | undefined;
|
280457
|
+
customFields?: {
|
280458
|
+
type: string;
|
280459
|
+
value: (string | string[]) & (string | string[] | undefined);
|
280460
|
+
attributeId: string;
|
279245
280461
|
}[] | undefined;
|
279246
|
-
notes?: string | undefined;
|
279247
280462
|
tags?: string[] | undefined;
|
279248
|
-
|
280463
|
+
phone?: string | undefined;
|
280464
|
+
email?: string | undefined;
|
280465
|
+
notes?: string | undefined;
|
279249
280466
|
}, {
|
279250
|
-
|
279251
|
-
|
279252
|
-
|
279253
|
-
|
279254
|
-
|
279255
|
-
}[] | undefined;
|
279256
|
-
channel?: string | undefined;
|
280467
|
+
page?: number | undefined;
|
280468
|
+
pageSize?: number | undefined;
|
280469
|
+
keyword?: string | undefined;
|
280470
|
+
company?: string[] | undefined;
|
280471
|
+
name?: string | undefined;
|
279257
280472
|
address?: string | undefined;
|
279258
|
-
|
279259
|
-
|
279260
|
-
|
280473
|
+
channel?: string[] | undefined;
|
280474
|
+
selectedDate?: string | undefined;
|
280475
|
+
customFields?: {
|
280476
|
+
type: string;
|
280477
|
+
value: (string | string[]) & (string | string[] | undefined);
|
280478
|
+
attributeId: string;
|
279261
280479
|
}[] | undefined;
|
279262
|
-
notes?: string | undefined;
|
279263
280480
|
tags?: string[] | undefined;
|
279264
|
-
|
280481
|
+
phone?: string | undefined;
|
280482
|
+
email?: string | undefined;
|
280483
|
+
notes?: string | undefined;
|
279265
280484
|
}>;
|
279266
|
-
summary: "Create a new contact";
|
279267
|
-
method: "POST";
|
279268
280485
|
responses: {
|
279269
|
-
|
280486
|
+
200: import("zod").ZodObject<{
|
279270
280487
|
requestId: import("zod").ZodString;
|
279271
|
-
|
280488
|
+
page: import("zod").ZodNumber;
|
280489
|
+
pageSize: import("zod").ZodNumber;
|
280490
|
+
total: import("zod").ZodNumber;
|
280491
|
+
lastPage: import("zod").ZodNumber;
|
280492
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
279272
280493
|
id: import("zod").ZodString;
|
279273
280494
|
createdAt: import("zod").ZodDate;
|
279274
280495
|
updatedAt: import("zod").ZodDate;
|
@@ -279954,7 +281175,7 @@ export declare const publicApiContract: {
|
|
279954
281175
|
entity: string;
|
279955
281176
|
};
|
279956
281177
|
}[] | undefined;
|
279957
|
-
}>;
|
281178
|
+
}>, "many">;
|
279958
281179
|
}, "strip", import("zod").ZodTypeAny, {
|
279959
281180
|
data: {
|
279960
281181
|
name: string;
|
@@ -280052,217 +281273,115 @@ export declare const publicApiContract: {
|
|
280052
281273
|
entity: string;
|
280053
281274
|
};
|
280054
281275
|
}[] | undefined;
|
280055
|
-
};
|
280056
|
-
|
280057
|
-
|
280058
|
-
|
280059
|
-
|
280060
|
-
id: string;
|
280061
|
-
channel: string | null;
|
280062
|
-
address: string | null;
|
280063
|
-
createdAt: Date;
|
280064
|
-
updatedAt: Date;
|
280065
|
-
deletedAt: Date | null;
|
280066
|
-
customFields: {
|
280067
|
-
id: string;
|
280068
|
-
createdAt: Date;
|
280069
|
-
updatedAt: Date;
|
280070
|
-
deletedAt: Date | null;
|
280071
|
-
attribute: {
|
280072
|
-
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
280073
|
-
id: string;
|
280074
|
-
position: number;
|
280075
|
-
createdAt: Date;
|
280076
|
-
updatedAt: Date;
|
280077
|
-
deletedAt: Date | null;
|
280078
|
-
systemName: string;
|
280079
|
-
displayName: string;
|
280080
|
-
isDefault: boolean;
|
280081
|
-
isArchived: boolean;
|
280082
|
-
isRequired: boolean;
|
280083
|
-
isUnique: boolean;
|
280084
|
-
};
|
280085
|
-
textValue: string | null;
|
280086
|
-
booleanValue: boolean | null;
|
280087
|
-
numberValue: number | null;
|
280088
|
-
dateValue: Date | null;
|
280089
|
-
uploads: {
|
280090
|
-
id: string;
|
280091
|
-
status: string | null;
|
280092
|
-
createdAt: Date;
|
280093
|
-
updatedAt: Date;
|
280094
|
-
deletedAt: Date | null;
|
280095
|
-
fileName: string;
|
280096
|
-
fileKey: string;
|
280097
|
-
bucketName: string;
|
280098
|
-
fileSize: number;
|
280099
|
-
fileUrl: string | null;
|
280100
|
-
}[];
|
280101
|
-
}[];
|
280102
|
-
company: {
|
280103
|
-
id: string;
|
280104
|
-
createdAt: Date;
|
280105
|
-
updatedAt: Date;
|
280106
|
-
deletedAt: Date | null;
|
280107
|
-
name?: string | undefined;
|
280108
|
-
address?: string | null | undefined;
|
280109
|
-
phone?: string | null | undefined;
|
280110
|
-
industry?: string | null | undefined;
|
280111
|
-
} | null;
|
280112
|
-
notes: string | null;
|
280113
|
-
contactProfile: string | null;
|
280114
|
-
socialProfileUrl: string | null;
|
280115
|
-
tags: {
|
280116
|
-
name: string;
|
280117
|
-
id: string;
|
280118
|
-
createdAt: Date;
|
280119
|
-
updatedAt: Date;
|
280120
|
-
deletedAt: Date | null;
|
280121
|
-
}[];
|
280122
|
-
contactEmails: {
|
280123
|
-
id: string;
|
280124
|
-
isPrimary: boolean;
|
280125
|
-
email: string;
|
280126
|
-
createdAt: Date;
|
280127
|
-
updatedAt: Date;
|
280128
|
-
deletedAt: Date | null;
|
280129
|
-
}[];
|
280130
|
-
contactPhones: {
|
280131
|
-
id: string;
|
280132
|
-
isPrimary: boolean;
|
280133
|
-
createdAt: Date;
|
280134
|
-
updatedAt: Date;
|
280135
|
-
deletedAt: Date | null;
|
280136
|
-
phone: string;
|
280137
|
-
}[];
|
280138
|
-
activityLogs?: {
|
280139
|
-
id: string;
|
280140
|
-
description: string;
|
280141
|
-
createdAt: Date;
|
280142
|
-
updatedAt: Date;
|
280143
|
-
deletedAt: Date | null;
|
280144
|
-
entityId: string;
|
280145
|
-
entityType: {
|
280146
|
-
id: string;
|
280147
|
-
description: string | null;
|
280148
|
-
createdAt: Date;
|
280149
|
-
updatedAt: Date;
|
280150
|
-
deletedAt: Date | null;
|
280151
|
-
entity: string;
|
280152
|
-
};
|
280153
|
-
}[] | undefined;
|
280154
|
-
};
|
281276
|
+
}[];
|
281277
|
+
total: number;
|
281278
|
+
page: number;
|
281279
|
+
pageSize: number;
|
281280
|
+
lastPage: number;
|
280155
281281
|
requestId: string;
|
280156
|
-
}>;
|
280157
|
-
400: import("zod").ZodObject<{
|
280158
|
-
message: import("zod").ZodString;
|
280159
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280160
|
-
message: string;
|
280161
|
-
}, {
|
280162
|
-
message: string;
|
280163
|
-
}>;
|
280164
|
-
409: import("zod").ZodObject<{
|
280165
|
-
message: import("zod").ZodString;
|
280166
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280167
|
-
message: string;
|
280168
|
-
}, {
|
280169
|
-
message: string;
|
280170
|
-
}>;
|
280171
|
-
401: import("zod").ZodObject<{
|
280172
|
-
message: import("zod").ZodString;
|
280173
|
-
error: import("zod").ZodAny;
|
280174
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280175
|
-
message: string;
|
280176
|
-
error?: any;
|
280177
|
-
}, {
|
280178
|
-
message: string;
|
280179
|
-
error?: any;
|
280180
|
-
}>;
|
280181
|
-
404: import("zod").ZodObject<{
|
280182
|
-
message: import("zod").ZodString;
|
280183
|
-
error: import("zod").ZodAny;
|
280184
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280185
|
-
message: string;
|
280186
|
-
error?: any;
|
280187
|
-
}, {
|
280188
|
-
message: string;
|
280189
|
-
error?: any;
|
280190
|
-
}>;
|
280191
|
-
422: import("zod").ZodObject<{
|
280192
|
-
message: import("zod").ZodString;
|
280193
|
-
error: import("zod").ZodAny;
|
280194
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280195
|
-
message: string;
|
280196
|
-
error?: any;
|
280197
|
-
}, {
|
280198
|
-
message: string;
|
280199
|
-
error?: any;
|
280200
|
-
}>;
|
280201
|
-
500: import("zod").ZodObject<{
|
280202
|
-
message: import("zod").ZodString;
|
280203
|
-
error: import("zod").ZodAny;
|
280204
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280205
|
-
message: string;
|
280206
|
-
error?: any;
|
280207
281282
|
}, {
|
280208
|
-
|
280209
|
-
error?: any;
|
280210
|
-
}>;
|
280211
|
-
};
|
280212
|
-
path: "api/v1/contacts";
|
280213
|
-
};
|
280214
|
-
getAllTags: {
|
280215
|
-
method: "GET";
|
280216
|
-
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
280217
|
-
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>>>;
|
280218
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
280219
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280220
|
-
group?: "general" | "contact" | undefined;
|
280221
|
-
keyword?: string | undefined;
|
280222
|
-
}, {
|
280223
|
-
group?: "general" | "contact" | undefined;
|
280224
|
-
keyword?: string | undefined;
|
280225
|
-
}>>;
|
280226
|
-
responses: {
|
280227
|
-
200: import("zod").ZodObject<{
|
280228
|
-
requestId: import("zod").ZodString;
|
280229
|
-
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
280230
|
-
id: import("zod").ZodString;
|
280231
|
-
createdAt: import("zod").ZodDate;
|
280232
|
-
updatedAt: import("zod").ZodDate;
|
280233
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
280234
|
-
name: import("zod").ZodString;
|
280235
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280236
|
-
name: string;
|
280237
|
-
id: string;
|
280238
|
-
createdAt: Date;
|
280239
|
-
updatedAt: Date;
|
280240
|
-
deletedAt: Date | null;
|
280241
|
-
}, {
|
280242
|
-
name: string;
|
280243
|
-
id: string;
|
280244
|
-
createdAt: Date;
|
280245
|
-
updatedAt: Date;
|
280246
|
-
deletedAt: Date | null;
|
280247
|
-
}>, "many">;
|
280248
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280249
|
-
requestId: string;
|
280250
|
-
tags: {
|
281283
|
+
data: {
|
280251
281284
|
name: string;
|
280252
281285
|
id: string;
|
281286
|
+
channel: string | null;
|
281287
|
+
address: string | null;
|
280253
281288
|
createdAt: Date;
|
280254
281289
|
updatedAt: Date;
|
280255
281290
|
deletedAt: Date | null;
|
281291
|
+
customFields: {
|
281292
|
+
id: string;
|
281293
|
+
createdAt: Date;
|
281294
|
+
updatedAt: Date;
|
281295
|
+
deletedAt: Date | null;
|
281296
|
+
attribute: {
|
281297
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
281298
|
+
id: string;
|
281299
|
+
position: number;
|
281300
|
+
createdAt: Date;
|
281301
|
+
updatedAt: Date;
|
281302
|
+
deletedAt: Date | null;
|
281303
|
+
systemName: string;
|
281304
|
+
displayName: string;
|
281305
|
+
isDefault: boolean;
|
281306
|
+
isArchived: boolean;
|
281307
|
+
isRequired: boolean;
|
281308
|
+
isUnique: boolean;
|
281309
|
+
};
|
281310
|
+
textValue: string | null;
|
281311
|
+
booleanValue: boolean | null;
|
281312
|
+
numberValue: number | null;
|
281313
|
+
dateValue: Date | null;
|
281314
|
+
uploads: {
|
281315
|
+
id: string;
|
281316
|
+
status: string | null;
|
281317
|
+
createdAt: Date;
|
281318
|
+
updatedAt: Date;
|
281319
|
+
deletedAt: Date | null;
|
281320
|
+
fileName: string;
|
281321
|
+
fileKey: string;
|
281322
|
+
bucketName: string;
|
281323
|
+
fileSize: number;
|
281324
|
+
fileUrl: string | null;
|
281325
|
+
}[];
|
281326
|
+
}[];
|
281327
|
+
company: {
|
281328
|
+
id: string;
|
281329
|
+
createdAt: Date;
|
281330
|
+
updatedAt: Date;
|
281331
|
+
deletedAt: Date | null;
|
281332
|
+
name?: string | undefined;
|
281333
|
+
address?: string | null | undefined;
|
281334
|
+
phone?: string | null | undefined;
|
281335
|
+
industry?: string | null | undefined;
|
281336
|
+
} | null;
|
281337
|
+
notes: string | null;
|
281338
|
+
contactProfile: string | null;
|
281339
|
+
socialProfileUrl: string | null;
|
281340
|
+
tags: {
|
281341
|
+
name: string;
|
281342
|
+
id: string;
|
281343
|
+
createdAt: Date;
|
281344
|
+
updatedAt: Date;
|
281345
|
+
deletedAt: Date | null;
|
281346
|
+
}[];
|
281347
|
+
contactEmails: {
|
281348
|
+
id: string;
|
281349
|
+
isPrimary: boolean;
|
281350
|
+
email: string;
|
281351
|
+
createdAt: Date;
|
281352
|
+
updatedAt: Date;
|
281353
|
+
deletedAt: Date | null;
|
281354
|
+
}[];
|
281355
|
+
contactPhones: {
|
281356
|
+
id: string;
|
281357
|
+
isPrimary: boolean;
|
281358
|
+
createdAt: Date;
|
281359
|
+
updatedAt: Date;
|
281360
|
+
deletedAt: Date | null;
|
281361
|
+
phone: string;
|
281362
|
+
}[];
|
281363
|
+
activityLogs?: {
|
281364
|
+
id: string;
|
281365
|
+
description: string;
|
281366
|
+
createdAt: Date;
|
281367
|
+
updatedAt: Date;
|
281368
|
+
deletedAt: Date | null;
|
281369
|
+
entityId: string;
|
281370
|
+
entityType: {
|
281371
|
+
id: string;
|
281372
|
+
description: string | null;
|
281373
|
+
createdAt: Date;
|
281374
|
+
updatedAt: Date;
|
281375
|
+
deletedAt: Date | null;
|
281376
|
+
entity: string;
|
281377
|
+
};
|
281378
|
+
}[] | undefined;
|
280256
281379
|
}[];
|
280257
|
-
|
281380
|
+
total: number;
|
281381
|
+
page: number;
|
281382
|
+
pageSize: number;
|
281383
|
+
lastPage: number;
|
280258
281384
|
requestId: string;
|
280259
|
-
tags: {
|
280260
|
-
name: string;
|
280261
|
-
id: string;
|
280262
|
-
createdAt: Date;
|
280263
|
-
updatedAt: Date;
|
280264
|
-
deletedAt: Date | null;
|
280265
|
-
}[];
|
280266
281385
|
}>;
|
280267
281386
|
400: import("zod").ZodObject<{
|
280268
281387
|
message: import("zod").ZodString;
|
@@ -280319,81 +281438,22 @@ export declare const publicApiContract: {
|
|
280319
281438
|
error?: any;
|
280320
281439
|
}>;
|
280321
281440
|
};
|
280322
|
-
path: "api/v1/
|
281441
|
+
path: "api/v1/contacts";
|
280323
281442
|
};
|
280324
|
-
|
280325
|
-
summary: "Get
|
281443
|
+
getContactBySocialPlatformId: {
|
281444
|
+
summary: "Get contacts by social platform id.";
|
280326
281445
|
method: "GET";
|
280327
281446
|
query: import("zod").ZodObject<{
|
280328
|
-
|
280329
|
-
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
280330
|
-
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
280331
|
-
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
280332
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
280333
|
-
address: import("zod").ZodOptional<import("zod").ZodString>;
|
280334
|
-
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
280335
|
-
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
280336
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
280337
|
-
attributeId: import("zod").ZodString;
|
280338
|
-
type: import("zod").ZodString;
|
280339
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
280340
|
-
}, "strip", import("zod").ZodTypeAny, {
|
280341
|
-
type: string;
|
280342
|
-
value: (string | string[]) & (string | string[] | undefined);
|
280343
|
-
attributeId: string;
|
280344
|
-
}, {
|
280345
|
-
type: string;
|
280346
|
-
value: (string | string[]) & (string | string[] | undefined);
|
280347
|
-
attributeId: string;
|
280348
|
-
}>, "many">>;
|
280349
|
-
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
280350
|
-
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
280351
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
280352
|
-
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
281447
|
+
socialPlatformId: import("zod").ZodString;
|
280353
281448
|
}, "strip", import("zod").ZodTypeAny, {
|
280354
|
-
|
280355
|
-
pageSize?: number | undefined;
|
280356
|
-
keyword?: string | undefined;
|
280357
|
-
company?: string[] | undefined;
|
280358
|
-
name?: string | undefined;
|
280359
|
-
address?: string | undefined;
|
280360
|
-
channel?: string[] | undefined;
|
280361
|
-
selectedDate?: string | undefined;
|
280362
|
-
customFields?: {
|
280363
|
-
type: string;
|
280364
|
-
value: (string | string[]) & (string | string[] | undefined);
|
280365
|
-
attributeId: string;
|
280366
|
-
}[] | undefined;
|
280367
|
-
tags?: string[] | undefined;
|
280368
|
-
phone?: string | undefined;
|
280369
|
-
email?: string | undefined;
|
280370
|
-
notes?: string | undefined;
|
281449
|
+
socialPlatformId: string;
|
280371
281450
|
}, {
|
280372
|
-
|
280373
|
-
pageSize?: number | undefined;
|
280374
|
-
keyword?: string | undefined;
|
280375
|
-
company?: string[] | undefined;
|
280376
|
-
name?: string | undefined;
|
280377
|
-
address?: string | undefined;
|
280378
|
-
channel?: string[] | undefined;
|
280379
|
-
selectedDate?: string | undefined;
|
280380
|
-
customFields?: {
|
280381
|
-
type: string;
|
280382
|
-
value: (string | string[]) & (string | string[] | undefined);
|
280383
|
-
attributeId: string;
|
280384
|
-
}[] | undefined;
|
280385
|
-
tags?: string[] | undefined;
|
280386
|
-
phone?: string | undefined;
|
280387
|
-
email?: string | undefined;
|
280388
|
-
notes?: string | undefined;
|
281451
|
+
socialPlatformId: string;
|
280389
281452
|
}>;
|
280390
281453
|
responses: {
|
280391
281454
|
200: import("zod").ZodObject<{
|
280392
|
-
|
280393
|
-
|
280394
|
-
pageSize: import("zod").ZodNumber;
|
280395
|
-
total: import("zod").ZodNumber;
|
280396
|
-
lastPage: import("zod").ZodNumber;
|
281455
|
+
status: import("zod").ZodString;
|
281456
|
+
message: import("zod").ZodString;
|
280397
281457
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
280398
281458
|
id: import("zod").ZodString;
|
280399
281459
|
createdAt: import("zod").ZodDate;
|
@@ -281081,6 +282141,7 @@ export declare const publicApiContract: {
|
|
281081
282141
|
};
|
281082
282142
|
}[] | undefined;
|
281083
282143
|
}>, "many">;
|
282144
|
+
requestId: import("zod").ZodString;
|
281084
282145
|
}, "strip", import("zod").ZodTypeAny, {
|
281085
282146
|
data: {
|
281086
282147
|
name: string;
|
@@ -281179,10 +282240,8 @@ export declare const publicApiContract: {
|
|
281179
282240
|
};
|
281180
282241
|
}[] | undefined;
|
281181
282242
|
}[];
|
281182
|
-
|
281183
|
-
|
281184
|
-
pageSize: number;
|
281185
|
-
lastPage: number;
|
282243
|
+
message: string;
|
282244
|
+
status: string;
|
281186
282245
|
requestId: string;
|
281187
282246
|
}, {
|
281188
282247
|
data: {
|
@@ -281282,10 +282341,8 @@ export declare const publicApiContract: {
|
|
281282
282341
|
};
|
281283
282342
|
}[] | undefined;
|
281284
282343
|
}[];
|
281285
|
-
|
281286
|
-
|
281287
|
-
pageSize: number;
|
281288
|
-
lastPage: number;
|
282344
|
+
message: string;
|
282345
|
+
status: string;
|
281289
282346
|
requestId: string;
|
281290
282347
|
}>;
|
281291
282348
|
400: import("zod").ZodObject<{
|
@@ -281343,7 +282400,7 @@ export declare const publicApiContract: {
|
|
281343
282400
|
error?: any;
|
281344
282401
|
}>;
|
281345
282402
|
};
|
281346
|
-
path: "api/v1/contacts";
|
282403
|
+
path: "api/v1/contacts/social-platform";
|
281347
282404
|
};
|
281348
282405
|
getContactFields: {
|
281349
282406
|
summary: "Get contact custom fields.";
|