@kl1/contracts 1.0.71 → 1.0.72

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.
@@ -36127,12 +36127,890 @@ export declare const apiContract: {
36127
36127
  responses: {
36128
36128
  201: import("zod").ZodObject<{
36129
36129
  requestId: import("zod").ZodString;
36130
- message: import("zod").ZodString;
36130
+ data: import("zod").ZodObject<{
36131
+ id: import("zod").ZodString;
36132
+ createdAt: import("zod").ZodDate;
36133
+ updatedAt: import("zod").ZodDate;
36134
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36135
+ name: import("zod").ZodString;
36136
+ address: import("zod").ZodNullable<import("zod").ZodString>;
36137
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
36138
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
36139
+ contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
36140
+ socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
36141
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
36142
+ id: import("zod").ZodString;
36143
+ createdAt: import("zod").ZodDate;
36144
+ updatedAt: import("zod").ZodDate;
36145
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36146
+ name: import("zod").ZodString;
36147
+ }, "strip", import("zod").ZodTypeAny, {
36148
+ id: string;
36149
+ name: string;
36150
+ createdAt: Date;
36151
+ updatedAt: Date;
36152
+ deletedAt: Date | null;
36153
+ }, {
36154
+ id: string;
36155
+ name: string;
36156
+ createdAt: Date;
36157
+ updatedAt: Date;
36158
+ deletedAt: Date | null;
36159
+ }>, "many">;
36160
+ company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
36161
+ id: import("zod").ZodString;
36162
+ createdAt: import("zod").ZodDate;
36163
+ updatedAt: import("zod").ZodDate;
36164
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36165
+ name: import("zod").ZodOptional<import("zod").ZodString>;
36166
+ phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36167
+ address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36168
+ industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36169
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
36170
+ id: import("zod").ZodString;
36171
+ createdAt: import("zod").ZodDate;
36172
+ updatedAt: import("zod").ZodDate;
36173
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36174
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
36175
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
36176
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
36177
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
36178
+ attribute: import("zod").ZodObject<Omit<{
36179
+ id: import("zod").ZodString;
36180
+ createdAt: import("zod").ZodDate;
36181
+ updatedAt: import("zod").ZodDate;
36182
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36183
+ systemName: import("zod").ZodString;
36184
+ displayName: import("zod").ZodString;
36185
+ 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">]>;
36186
+ position: import("zod").ZodNumber;
36187
+ isDefault: import("zod").ZodBoolean;
36188
+ isArchived: import("zod").ZodBoolean;
36189
+ isRequired: import("zod").ZodBoolean;
36190
+ isUnique: import("zod").ZodBoolean;
36191
+ options: import("zod").ZodArray<import("zod").ZodObject<{
36192
+ position: import("zod").ZodNumber;
36193
+ value: import("zod").ZodString;
36194
+ label: import("zod").ZodString;
36195
+ isDefault: import("zod").ZodBoolean;
36196
+ id: import("zod").ZodString;
36197
+ }, "strip", import("zod").ZodTypeAny, {
36198
+ id: string;
36199
+ position: number;
36200
+ value: string;
36201
+ label: string;
36202
+ isDefault: boolean;
36203
+ }, {
36204
+ id: string;
36205
+ position: number;
36206
+ value: string;
36207
+ label: string;
36208
+ isDefault: boolean;
36209
+ }>, "many">;
36210
+ group: import("zod").ZodObject<{
36211
+ id: import("zod").ZodString;
36212
+ createdAt: import("zod").ZodDate;
36213
+ updatedAt: import("zod").ZodDate;
36214
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36215
+ systemName: import("zod").ZodString;
36216
+ displayName: import("zod").ZodString;
36217
+ }, "strip", import("zod").ZodTypeAny, {
36218
+ id: string;
36219
+ createdAt: Date;
36220
+ updatedAt: Date;
36221
+ deletedAt: Date | null;
36222
+ systemName: string;
36223
+ displayName: string;
36224
+ }, {
36225
+ id: string;
36226
+ createdAt: Date;
36227
+ updatedAt: Date;
36228
+ deletedAt: Date | null;
36229
+ systemName: string;
36230
+ displayName: string;
36231
+ }>;
36232
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
36233
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36234
+ id: string;
36235
+ position: number;
36236
+ createdAt: Date;
36237
+ updatedAt: Date;
36238
+ deletedAt: Date | null;
36239
+ systemName: string;
36240
+ displayName: string;
36241
+ isDefault: boolean;
36242
+ isArchived: boolean;
36243
+ isRequired: boolean;
36244
+ isUnique: boolean;
36245
+ }, {
36246
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36247
+ id: string;
36248
+ position: number;
36249
+ createdAt: Date;
36250
+ updatedAt: Date;
36251
+ deletedAt: Date | null;
36252
+ systemName: string;
36253
+ displayName: string;
36254
+ isDefault: boolean;
36255
+ isArchived: boolean;
36256
+ isRequired: boolean;
36257
+ isUnique: boolean;
36258
+ }>;
36259
+ }, "strip", import("zod").ZodTypeAny, {
36260
+ id: string;
36261
+ createdAt: Date;
36262
+ updatedAt: Date;
36263
+ deletedAt: Date | null;
36264
+ attribute: {
36265
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36266
+ id: string;
36267
+ position: number;
36268
+ createdAt: Date;
36269
+ updatedAt: Date;
36270
+ deletedAt: Date | null;
36271
+ systemName: string;
36272
+ displayName: string;
36273
+ isDefault: boolean;
36274
+ isArchived: boolean;
36275
+ isRequired: boolean;
36276
+ isUnique: boolean;
36277
+ };
36278
+ textValue: string | null;
36279
+ booleanValue: boolean | null;
36280
+ numberValue: number | null;
36281
+ dateValue: Date | null;
36282
+ }, {
36283
+ id: string;
36284
+ createdAt: Date;
36285
+ updatedAt: Date;
36286
+ deletedAt: Date | null;
36287
+ attribute: {
36288
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36289
+ id: string;
36290
+ position: number;
36291
+ createdAt: Date;
36292
+ updatedAt: Date;
36293
+ deletedAt: Date | null;
36294
+ systemName: string;
36295
+ displayName: string;
36296
+ isDefault: boolean;
36297
+ isArchived: boolean;
36298
+ isRequired: boolean;
36299
+ isUnique: boolean;
36300
+ };
36301
+ textValue: string | null;
36302
+ booleanValue: boolean | null;
36303
+ numberValue: number | null;
36304
+ dateValue: Date | null;
36305
+ }>, "many">>;
36306
+ }, "customFields">, "strip", import("zod").ZodTypeAny, {
36307
+ id: string;
36308
+ createdAt: Date;
36309
+ updatedAt: Date;
36310
+ deletedAt: Date | null;
36311
+ address?: string | null | undefined;
36312
+ name?: string | undefined;
36313
+ phone?: string | null | undefined;
36314
+ industry?: string | null | undefined;
36315
+ }, {
36316
+ id: string;
36317
+ createdAt: Date;
36318
+ updatedAt: Date;
36319
+ deletedAt: Date | null;
36320
+ address?: string | null | undefined;
36321
+ name?: string | undefined;
36322
+ phone?: string | null | undefined;
36323
+ industry?: string | null | undefined;
36324
+ }>>;
36325
+ customFields: import("zod").ZodArray<import("zod").ZodObject<{
36326
+ id: import("zod").ZodString;
36327
+ createdAt: import("zod").ZodDate;
36328
+ updatedAt: import("zod").ZodDate;
36329
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36330
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
36331
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
36332
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
36333
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
36334
+ attribute: import("zod").ZodObject<Omit<{
36335
+ id: import("zod").ZodString;
36336
+ createdAt: import("zod").ZodDate;
36337
+ updatedAt: import("zod").ZodDate;
36338
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36339
+ systemName: import("zod").ZodString;
36340
+ displayName: import("zod").ZodString;
36341
+ 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">]>;
36342
+ position: import("zod").ZodNumber;
36343
+ isDefault: import("zod").ZodBoolean;
36344
+ isArchived: import("zod").ZodBoolean;
36345
+ isRequired: import("zod").ZodBoolean;
36346
+ isUnique: import("zod").ZodBoolean;
36347
+ options: import("zod").ZodArray<import("zod").ZodObject<{
36348
+ position: import("zod").ZodNumber;
36349
+ value: import("zod").ZodString;
36350
+ label: import("zod").ZodString;
36351
+ isDefault: import("zod").ZodBoolean;
36352
+ id: import("zod").ZodString;
36353
+ }, "strip", import("zod").ZodTypeAny, {
36354
+ id: string;
36355
+ position: number;
36356
+ value: string;
36357
+ label: string;
36358
+ isDefault: boolean;
36359
+ }, {
36360
+ id: string;
36361
+ position: number;
36362
+ value: string;
36363
+ label: string;
36364
+ isDefault: boolean;
36365
+ }>, "many">;
36366
+ group: import("zod").ZodObject<{
36367
+ id: import("zod").ZodString;
36368
+ createdAt: import("zod").ZodDate;
36369
+ updatedAt: import("zod").ZodDate;
36370
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36371
+ systemName: import("zod").ZodString;
36372
+ displayName: import("zod").ZodString;
36373
+ }, "strip", import("zod").ZodTypeAny, {
36374
+ id: string;
36375
+ createdAt: Date;
36376
+ updatedAt: Date;
36377
+ deletedAt: Date | null;
36378
+ systemName: string;
36379
+ displayName: string;
36380
+ }, {
36381
+ id: string;
36382
+ createdAt: Date;
36383
+ updatedAt: Date;
36384
+ deletedAt: Date | null;
36385
+ systemName: string;
36386
+ displayName: string;
36387
+ }>;
36388
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
36389
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36390
+ id: string;
36391
+ position: number;
36392
+ createdAt: Date;
36393
+ updatedAt: Date;
36394
+ deletedAt: Date | null;
36395
+ systemName: string;
36396
+ displayName: string;
36397
+ isDefault: boolean;
36398
+ isArchived: boolean;
36399
+ isRequired: boolean;
36400
+ isUnique: boolean;
36401
+ }, {
36402
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36403
+ id: string;
36404
+ position: number;
36405
+ createdAt: Date;
36406
+ updatedAt: Date;
36407
+ deletedAt: Date | null;
36408
+ systemName: string;
36409
+ displayName: string;
36410
+ isDefault: boolean;
36411
+ isArchived: boolean;
36412
+ isRequired: boolean;
36413
+ isUnique: boolean;
36414
+ }>;
36415
+ uploads: import("zod").ZodArray<import("zod").ZodObject<{
36416
+ id: import("zod").ZodString;
36417
+ createdAt: import("zod").ZodDate;
36418
+ updatedAt: import("zod").ZodDate;
36419
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36420
+ bucketName: import("zod").ZodString;
36421
+ fileName: import("zod").ZodString;
36422
+ fileSize: import("zod").ZodNumber;
36423
+ fileKey: import("zod").ZodString;
36424
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
36425
+ status: import("zod").ZodOptional<import("zod").ZodString>;
36426
+ }, "strip", import("zod").ZodTypeAny, {
36427
+ id: string;
36428
+ createdAt: Date;
36429
+ updatedAt: Date;
36430
+ deletedAt: Date | null;
36431
+ fileName: string;
36432
+ fileKey: string;
36433
+ bucketName: string;
36434
+ fileSize: number;
36435
+ fileUrl: string | null;
36436
+ status?: string | undefined;
36437
+ }, {
36438
+ id: string;
36439
+ createdAt: Date;
36440
+ updatedAt: Date;
36441
+ deletedAt: Date | null;
36442
+ fileName: string;
36443
+ fileKey: string;
36444
+ bucketName: string;
36445
+ fileSize: number;
36446
+ fileUrl: string | null;
36447
+ status?: string | undefined;
36448
+ }>, "many">;
36449
+ }, "strip", import("zod").ZodTypeAny, {
36450
+ id: string;
36451
+ createdAt: Date;
36452
+ updatedAt: Date;
36453
+ deletedAt: Date | null;
36454
+ attribute: {
36455
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36456
+ id: string;
36457
+ position: number;
36458
+ createdAt: Date;
36459
+ updatedAt: Date;
36460
+ deletedAt: Date | null;
36461
+ systemName: string;
36462
+ displayName: string;
36463
+ isDefault: boolean;
36464
+ isArchived: boolean;
36465
+ isRequired: boolean;
36466
+ isUnique: boolean;
36467
+ };
36468
+ textValue: string | null;
36469
+ booleanValue: boolean | null;
36470
+ numberValue: number | null;
36471
+ dateValue: Date | null;
36472
+ uploads: {
36473
+ id: string;
36474
+ createdAt: Date;
36475
+ updatedAt: Date;
36476
+ deletedAt: Date | null;
36477
+ fileName: string;
36478
+ fileKey: string;
36479
+ bucketName: string;
36480
+ fileSize: number;
36481
+ fileUrl: string | null;
36482
+ status?: string | undefined;
36483
+ }[];
36484
+ }, {
36485
+ id: string;
36486
+ createdAt: Date;
36487
+ updatedAt: Date;
36488
+ deletedAt: Date | null;
36489
+ attribute: {
36490
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36491
+ id: string;
36492
+ position: number;
36493
+ createdAt: Date;
36494
+ updatedAt: Date;
36495
+ deletedAt: Date | null;
36496
+ systemName: string;
36497
+ displayName: string;
36498
+ isDefault: boolean;
36499
+ isArchived: boolean;
36500
+ isRequired: boolean;
36501
+ isUnique: boolean;
36502
+ };
36503
+ textValue: string | null;
36504
+ booleanValue: boolean | null;
36505
+ numberValue: number | null;
36506
+ dateValue: Date | null;
36507
+ uploads: {
36508
+ id: string;
36509
+ createdAt: Date;
36510
+ updatedAt: Date;
36511
+ deletedAt: Date | null;
36512
+ fileName: string;
36513
+ fileKey: string;
36514
+ bucketName: string;
36515
+ fileSize: number;
36516
+ fileUrl: string | null;
36517
+ status?: string | undefined;
36518
+ }[];
36519
+ }>, "many">;
36520
+ contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
36521
+ id: import("zod").ZodString;
36522
+ createdAt: import("zod").ZodDate;
36523
+ updatedAt: import("zod").ZodDate;
36524
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36525
+ email: import("zod").ZodString;
36526
+ isPrimary: import("zod").ZodBoolean;
36527
+ }, "strip", import("zod").ZodTypeAny, {
36528
+ id: string;
36529
+ isPrimary: boolean;
36530
+ email: string;
36531
+ createdAt: Date;
36532
+ updatedAt: Date;
36533
+ deletedAt: Date | null;
36534
+ }, {
36535
+ id: string;
36536
+ isPrimary: boolean;
36537
+ email: string;
36538
+ createdAt: Date;
36539
+ updatedAt: Date;
36540
+ deletedAt: Date | null;
36541
+ }>, "many">;
36542
+ contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
36543
+ id: import("zod").ZodString;
36544
+ createdAt: import("zod").ZodDate;
36545
+ updatedAt: import("zod").ZodDate;
36546
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36547
+ phone: import("zod").ZodString;
36548
+ isPrimary: import("zod").ZodBoolean;
36549
+ }, "strip", import("zod").ZodTypeAny, {
36550
+ id: string;
36551
+ isPrimary: boolean;
36552
+ createdAt: Date;
36553
+ updatedAt: Date;
36554
+ deletedAt: Date | null;
36555
+ phone: string;
36556
+ }, {
36557
+ id: string;
36558
+ isPrimary: boolean;
36559
+ createdAt: Date;
36560
+ updatedAt: Date;
36561
+ deletedAt: Date | null;
36562
+ phone: string;
36563
+ }>, "many">;
36564
+ activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
36565
+ id: import("zod").ZodString;
36566
+ createdAt: import("zod").ZodDate;
36567
+ updatedAt: import("zod").ZodDate;
36568
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36569
+ entityId: import("zod").ZodString;
36570
+ description: import("zod").ZodString;
36571
+ entityType: import("zod").ZodObject<{
36572
+ id: import("zod").ZodString;
36573
+ createdAt: import("zod").ZodDate;
36574
+ updatedAt: import("zod").ZodDate;
36575
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36576
+ entity: import("zod").ZodString;
36577
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36578
+ }, "strip", import("zod").ZodTypeAny, {
36579
+ id: string;
36580
+ description: string | null;
36581
+ createdAt: Date;
36582
+ updatedAt: Date;
36583
+ deletedAt: Date | null;
36584
+ entity: string;
36585
+ }, {
36586
+ id: string;
36587
+ description: string | null;
36588
+ createdAt: Date;
36589
+ updatedAt: Date;
36590
+ deletedAt: Date | null;
36591
+ entity: string;
36592
+ }>;
36593
+ }, "strip", import("zod").ZodTypeAny, {
36594
+ id: string;
36595
+ description: string;
36596
+ createdAt: Date;
36597
+ updatedAt: Date;
36598
+ deletedAt: Date | null;
36599
+ entityId: string;
36600
+ entityType: {
36601
+ id: string;
36602
+ description: string | null;
36603
+ createdAt: Date;
36604
+ updatedAt: Date;
36605
+ deletedAt: Date | null;
36606
+ entity: string;
36607
+ };
36608
+ }, {
36609
+ id: string;
36610
+ description: string;
36611
+ createdAt: Date;
36612
+ updatedAt: Date;
36613
+ deletedAt: Date | null;
36614
+ entityId: string;
36615
+ entityType: {
36616
+ id: string;
36617
+ description: string | null;
36618
+ createdAt: Date;
36619
+ updatedAt: Date;
36620
+ deletedAt: Date | null;
36621
+ entity: string;
36622
+ };
36623
+ }>, "many">>;
36624
+ }, "strip", import("zod").ZodTypeAny, {
36625
+ id: string;
36626
+ channel: string | null;
36627
+ address: string | null;
36628
+ name: string;
36629
+ createdAt: Date;
36630
+ updatedAt: Date;
36631
+ deletedAt: Date | null;
36632
+ customFields: {
36633
+ id: string;
36634
+ createdAt: Date;
36635
+ updatedAt: Date;
36636
+ deletedAt: Date | null;
36637
+ attribute: {
36638
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36639
+ id: string;
36640
+ position: number;
36641
+ createdAt: Date;
36642
+ updatedAt: Date;
36643
+ deletedAt: Date | null;
36644
+ systemName: string;
36645
+ displayName: string;
36646
+ isDefault: boolean;
36647
+ isArchived: boolean;
36648
+ isRequired: boolean;
36649
+ isUnique: boolean;
36650
+ };
36651
+ textValue: string | null;
36652
+ booleanValue: boolean | null;
36653
+ numberValue: number | null;
36654
+ dateValue: Date | null;
36655
+ uploads: {
36656
+ id: string;
36657
+ createdAt: Date;
36658
+ updatedAt: Date;
36659
+ deletedAt: Date | null;
36660
+ fileName: string;
36661
+ fileKey: string;
36662
+ bucketName: string;
36663
+ fileSize: number;
36664
+ fileUrl: string | null;
36665
+ status?: string | undefined;
36666
+ }[];
36667
+ }[];
36668
+ company: {
36669
+ id: string;
36670
+ createdAt: Date;
36671
+ updatedAt: Date;
36672
+ deletedAt: Date | null;
36673
+ address?: string | null | undefined;
36674
+ name?: string | undefined;
36675
+ phone?: string | null | undefined;
36676
+ industry?: string | null | undefined;
36677
+ } | null;
36678
+ notes: string | null;
36679
+ contactProfile: string | null;
36680
+ socialProfileUrl: string | null;
36681
+ tags: {
36682
+ id: string;
36683
+ name: string;
36684
+ createdAt: Date;
36685
+ updatedAt: Date;
36686
+ deletedAt: Date | null;
36687
+ }[];
36688
+ contactEmails: {
36689
+ id: string;
36690
+ isPrimary: boolean;
36691
+ email: string;
36692
+ createdAt: Date;
36693
+ updatedAt: Date;
36694
+ deletedAt: Date | null;
36695
+ }[];
36696
+ contactPhones: {
36697
+ id: string;
36698
+ isPrimary: boolean;
36699
+ createdAt: Date;
36700
+ updatedAt: Date;
36701
+ deletedAt: Date | null;
36702
+ phone: string;
36703
+ }[];
36704
+ activityLogs?: {
36705
+ id: string;
36706
+ description: string;
36707
+ createdAt: Date;
36708
+ updatedAt: Date;
36709
+ deletedAt: Date | null;
36710
+ entityId: string;
36711
+ entityType: {
36712
+ id: string;
36713
+ description: string | null;
36714
+ createdAt: Date;
36715
+ updatedAt: Date;
36716
+ deletedAt: Date | null;
36717
+ entity: string;
36718
+ };
36719
+ }[] | undefined;
36720
+ }, {
36721
+ id: string;
36722
+ channel: string | null;
36723
+ address: string | null;
36724
+ name: string;
36725
+ createdAt: Date;
36726
+ updatedAt: Date;
36727
+ deletedAt: Date | null;
36728
+ customFields: {
36729
+ id: string;
36730
+ createdAt: Date;
36731
+ updatedAt: Date;
36732
+ deletedAt: Date | null;
36733
+ attribute: {
36734
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36735
+ id: string;
36736
+ position: number;
36737
+ createdAt: Date;
36738
+ updatedAt: Date;
36739
+ deletedAt: Date | null;
36740
+ systemName: string;
36741
+ displayName: string;
36742
+ isDefault: boolean;
36743
+ isArchived: boolean;
36744
+ isRequired: boolean;
36745
+ isUnique: boolean;
36746
+ };
36747
+ textValue: string | null;
36748
+ booleanValue: boolean | null;
36749
+ numberValue: number | null;
36750
+ dateValue: Date | null;
36751
+ uploads: {
36752
+ id: string;
36753
+ createdAt: Date;
36754
+ updatedAt: Date;
36755
+ deletedAt: Date | null;
36756
+ fileName: string;
36757
+ fileKey: string;
36758
+ bucketName: string;
36759
+ fileSize: number;
36760
+ fileUrl: string | null;
36761
+ status?: string | undefined;
36762
+ }[];
36763
+ }[];
36764
+ company: {
36765
+ id: string;
36766
+ createdAt: Date;
36767
+ updatedAt: Date;
36768
+ deletedAt: Date | null;
36769
+ address?: string | null | undefined;
36770
+ name?: string | undefined;
36771
+ phone?: string | null | undefined;
36772
+ industry?: string | null | undefined;
36773
+ } | null;
36774
+ notes: string | null;
36775
+ contactProfile: string | null;
36776
+ socialProfileUrl: string | null;
36777
+ tags: {
36778
+ id: string;
36779
+ name: string;
36780
+ createdAt: Date;
36781
+ updatedAt: Date;
36782
+ deletedAt: Date | null;
36783
+ }[];
36784
+ contactEmails: {
36785
+ id: string;
36786
+ isPrimary: boolean;
36787
+ email: string;
36788
+ createdAt: Date;
36789
+ updatedAt: Date;
36790
+ deletedAt: Date | null;
36791
+ }[];
36792
+ contactPhones: {
36793
+ id: string;
36794
+ isPrimary: boolean;
36795
+ createdAt: Date;
36796
+ updatedAt: Date;
36797
+ deletedAt: Date | null;
36798
+ phone: string;
36799
+ }[];
36800
+ activityLogs?: {
36801
+ id: string;
36802
+ description: string;
36803
+ createdAt: Date;
36804
+ updatedAt: Date;
36805
+ deletedAt: Date | null;
36806
+ entityId: string;
36807
+ entityType: {
36808
+ id: string;
36809
+ description: string | null;
36810
+ createdAt: Date;
36811
+ updatedAt: Date;
36812
+ deletedAt: Date | null;
36813
+ entity: string;
36814
+ };
36815
+ }[] | undefined;
36816
+ }>;
36131
36817
  }, "strip", import("zod").ZodTypeAny, {
36132
- message: string;
36818
+ data: {
36819
+ id: string;
36820
+ channel: string | null;
36821
+ address: string | null;
36822
+ name: string;
36823
+ createdAt: Date;
36824
+ updatedAt: Date;
36825
+ deletedAt: Date | null;
36826
+ customFields: {
36827
+ id: string;
36828
+ createdAt: Date;
36829
+ updatedAt: Date;
36830
+ deletedAt: Date | null;
36831
+ attribute: {
36832
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36833
+ id: string;
36834
+ position: number;
36835
+ createdAt: Date;
36836
+ updatedAt: Date;
36837
+ deletedAt: Date | null;
36838
+ systemName: string;
36839
+ displayName: string;
36840
+ isDefault: boolean;
36841
+ isArchived: boolean;
36842
+ isRequired: boolean;
36843
+ isUnique: boolean;
36844
+ };
36845
+ textValue: string | null;
36846
+ booleanValue: boolean | null;
36847
+ numberValue: number | null;
36848
+ dateValue: Date | null;
36849
+ uploads: {
36850
+ id: string;
36851
+ createdAt: Date;
36852
+ updatedAt: Date;
36853
+ deletedAt: Date | null;
36854
+ fileName: string;
36855
+ fileKey: string;
36856
+ bucketName: string;
36857
+ fileSize: number;
36858
+ fileUrl: string | null;
36859
+ status?: string | undefined;
36860
+ }[];
36861
+ }[];
36862
+ company: {
36863
+ id: string;
36864
+ createdAt: Date;
36865
+ updatedAt: Date;
36866
+ deletedAt: Date | null;
36867
+ address?: string | null | undefined;
36868
+ name?: string | undefined;
36869
+ phone?: string | null | undefined;
36870
+ industry?: string | null | undefined;
36871
+ } | null;
36872
+ notes: string | null;
36873
+ contactProfile: string | null;
36874
+ socialProfileUrl: string | null;
36875
+ tags: {
36876
+ id: string;
36877
+ name: string;
36878
+ createdAt: Date;
36879
+ updatedAt: Date;
36880
+ deletedAt: Date | null;
36881
+ }[];
36882
+ contactEmails: {
36883
+ id: string;
36884
+ isPrimary: boolean;
36885
+ email: string;
36886
+ createdAt: Date;
36887
+ updatedAt: Date;
36888
+ deletedAt: Date | null;
36889
+ }[];
36890
+ contactPhones: {
36891
+ id: string;
36892
+ isPrimary: boolean;
36893
+ createdAt: Date;
36894
+ updatedAt: Date;
36895
+ deletedAt: Date | null;
36896
+ phone: string;
36897
+ }[];
36898
+ activityLogs?: {
36899
+ id: string;
36900
+ description: string;
36901
+ createdAt: Date;
36902
+ updatedAt: Date;
36903
+ deletedAt: Date | null;
36904
+ entityId: string;
36905
+ entityType: {
36906
+ id: string;
36907
+ description: string | null;
36908
+ createdAt: Date;
36909
+ updatedAt: Date;
36910
+ deletedAt: Date | null;
36911
+ entity: string;
36912
+ };
36913
+ }[] | undefined;
36914
+ };
36133
36915
  requestId: string;
36134
36916
  }, {
36135
- message: string;
36917
+ data: {
36918
+ id: string;
36919
+ channel: string | null;
36920
+ address: string | null;
36921
+ name: string;
36922
+ createdAt: Date;
36923
+ updatedAt: Date;
36924
+ deletedAt: Date | null;
36925
+ customFields: {
36926
+ id: string;
36927
+ createdAt: Date;
36928
+ updatedAt: Date;
36929
+ deletedAt: Date | null;
36930
+ attribute: {
36931
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
36932
+ id: string;
36933
+ position: number;
36934
+ createdAt: Date;
36935
+ updatedAt: Date;
36936
+ deletedAt: Date | null;
36937
+ systemName: string;
36938
+ displayName: string;
36939
+ isDefault: boolean;
36940
+ isArchived: boolean;
36941
+ isRequired: boolean;
36942
+ isUnique: boolean;
36943
+ };
36944
+ textValue: string | null;
36945
+ booleanValue: boolean | null;
36946
+ numberValue: number | null;
36947
+ dateValue: Date | null;
36948
+ uploads: {
36949
+ id: string;
36950
+ createdAt: Date;
36951
+ updatedAt: Date;
36952
+ deletedAt: Date | null;
36953
+ fileName: string;
36954
+ fileKey: string;
36955
+ bucketName: string;
36956
+ fileSize: number;
36957
+ fileUrl: string | null;
36958
+ status?: string | undefined;
36959
+ }[];
36960
+ }[];
36961
+ company: {
36962
+ id: string;
36963
+ createdAt: Date;
36964
+ updatedAt: Date;
36965
+ deletedAt: Date | null;
36966
+ address?: string | null | undefined;
36967
+ name?: string | undefined;
36968
+ phone?: string | null | undefined;
36969
+ industry?: string | null | undefined;
36970
+ } | null;
36971
+ notes: string | null;
36972
+ contactProfile: string | null;
36973
+ socialProfileUrl: string | null;
36974
+ tags: {
36975
+ id: string;
36976
+ name: string;
36977
+ createdAt: Date;
36978
+ updatedAt: Date;
36979
+ deletedAt: Date | null;
36980
+ }[];
36981
+ contactEmails: {
36982
+ id: string;
36983
+ isPrimary: boolean;
36984
+ email: string;
36985
+ createdAt: Date;
36986
+ updatedAt: Date;
36987
+ deletedAt: Date | null;
36988
+ }[];
36989
+ contactPhones: {
36990
+ id: string;
36991
+ isPrimary: boolean;
36992
+ createdAt: Date;
36993
+ updatedAt: Date;
36994
+ deletedAt: Date | null;
36995
+ phone: string;
36996
+ }[];
36997
+ activityLogs?: {
36998
+ id: string;
36999
+ description: string;
37000
+ createdAt: Date;
37001
+ updatedAt: Date;
37002
+ deletedAt: Date | null;
37003
+ entityId: string;
37004
+ entityType: {
37005
+ id: string;
37006
+ description: string | null;
37007
+ createdAt: Date;
37008
+ updatedAt: Date;
37009
+ deletedAt: Date | null;
37010
+ entity: string;
37011
+ };
37012
+ }[] | undefined;
37013
+ };
36136
37014
  requestId: string;
36137
37015
  }>;
36138
37016
  400: import("zod").ZodObject<{