@kl1/contracts 1.0.14 → 1.0.15

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.
@@ -26847,6 +26847,1032 @@ export declare const apiContract: {
26847
26847
  authorization: string;
26848
26848
  }>>>;
26849
26849
  };
26850
+ createContactByPhone: {
26851
+ body: import("zod").ZodObject<{
26852
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
26853
+ }, "strip", import("zod").ZodTypeAny, {
26854
+ phoneNumber: string;
26855
+ }, {
26856
+ phoneNumber: string;
26857
+ }>;
26858
+ summary: "Create a new contact using phone number";
26859
+ method: "POST";
26860
+ responses: {
26861
+ 201: import("zod").ZodObject<{
26862
+ requestId: import("zod").ZodString;
26863
+ data: import("zod").ZodObject<{
26864
+ id: import("zod").ZodString;
26865
+ createdAt: import("zod").ZodDate;
26866
+ updatedAt: import("zod").ZodDate;
26867
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26868
+ name: import("zod").ZodString;
26869
+ address: import("zod").ZodNullable<import("zod").ZodString>;
26870
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
26871
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
26872
+ contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
26873
+ socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
26874
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
26875
+ id: import("zod").ZodString;
26876
+ createdAt: import("zod").ZodDate;
26877
+ updatedAt: import("zod").ZodDate;
26878
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26879
+ name: import("zod").ZodString;
26880
+ }, "strip", import("zod").ZodTypeAny, {
26881
+ id: string;
26882
+ name: string;
26883
+ createdAt: Date;
26884
+ updatedAt: Date;
26885
+ deletedAt: Date | null;
26886
+ }, {
26887
+ id: string;
26888
+ name: string;
26889
+ createdAt: Date;
26890
+ updatedAt: Date;
26891
+ deletedAt: Date | null;
26892
+ }>, "many">;
26893
+ company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
26894
+ id: import("zod").ZodString;
26895
+ createdAt: import("zod").ZodDate;
26896
+ updatedAt: import("zod").ZodDate;
26897
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26898
+ name: import("zod").ZodOptional<import("zod").ZodString>;
26899
+ phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
26900
+ address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
26901
+ industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
26902
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
26903
+ id: import("zod").ZodString;
26904
+ createdAt: import("zod").ZodDate;
26905
+ updatedAt: import("zod").ZodDate;
26906
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26907
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
26908
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
26909
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
26910
+ dateValue: import("zod").ZodNullable<import("zod").ZodString>;
26911
+ attribute: import("zod").ZodObject<Omit<{
26912
+ id: import("zod").ZodString;
26913
+ createdAt: import("zod").ZodDate;
26914
+ updatedAt: import("zod").ZodDate;
26915
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26916
+ systemName: import("zod").ZodString;
26917
+ displayName: import("zod").ZodString;
26918
+ 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">]>;
26919
+ position: import("zod").ZodNumber;
26920
+ isDefault: import("zod").ZodBoolean;
26921
+ isArchived: import("zod").ZodBoolean;
26922
+ isRequired: import("zod").ZodBoolean;
26923
+ isUnique: import("zod").ZodBoolean;
26924
+ options: import("zod").ZodArray<import("zod").ZodObject<{
26925
+ position: import("zod").ZodNumber;
26926
+ value: import("zod").ZodString;
26927
+ label: import("zod").ZodString;
26928
+ isDefault: import("zod").ZodBoolean;
26929
+ id: import("zod").ZodString;
26930
+ }, "strip", import("zod").ZodTypeAny, {
26931
+ id: string;
26932
+ position: number;
26933
+ value: string;
26934
+ label: string;
26935
+ isDefault: boolean;
26936
+ }, {
26937
+ id: string;
26938
+ position: number;
26939
+ value: string;
26940
+ label: string;
26941
+ isDefault: boolean;
26942
+ }>, "many">;
26943
+ group: import("zod").ZodObject<{
26944
+ id: import("zod").ZodString;
26945
+ createdAt: import("zod").ZodDate;
26946
+ updatedAt: import("zod").ZodDate;
26947
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
26948
+ systemName: import("zod").ZodString;
26949
+ displayName: import("zod").ZodString;
26950
+ }, "strip", import("zod").ZodTypeAny, {
26951
+ id: string;
26952
+ createdAt: Date;
26953
+ updatedAt: Date;
26954
+ deletedAt: Date | null;
26955
+ systemName: string;
26956
+ displayName: string;
26957
+ }, {
26958
+ id: string;
26959
+ createdAt: Date;
26960
+ updatedAt: Date;
26961
+ deletedAt: Date | null;
26962
+ systemName: string;
26963
+ displayName: string;
26964
+ }>;
26965
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
26966
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
26967
+ id: string;
26968
+ position: number;
26969
+ createdAt: Date;
26970
+ updatedAt: Date;
26971
+ deletedAt: Date | null;
26972
+ isDefault: boolean;
26973
+ systemName: string;
26974
+ displayName: string;
26975
+ isArchived: boolean;
26976
+ isRequired: boolean;
26977
+ isUnique: boolean;
26978
+ }, {
26979
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
26980
+ id: string;
26981
+ position: number;
26982
+ createdAt: Date;
26983
+ updatedAt: Date;
26984
+ deletedAt: Date | null;
26985
+ isDefault: boolean;
26986
+ systemName: string;
26987
+ displayName: string;
26988
+ isArchived: boolean;
26989
+ isRequired: boolean;
26990
+ isUnique: boolean;
26991
+ }>;
26992
+ }, "strip", import("zod").ZodTypeAny, {
26993
+ id: string;
26994
+ createdAt: Date;
26995
+ updatedAt: Date;
26996
+ deletedAt: Date | null;
26997
+ attribute: {
26998
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
26999
+ id: string;
27000
+ position: number;
27001
+ createdAt: Date;
27002
+ updatedAt: Date;
27003
+ deletedAt: Date | null;
27004
+ isDefault: boolean;
27005
+ systemName: string;
27006
+ displayName: string;
27007
+ isArchived: boolean;
27008
+ isRequired: boolean;
27009
+ isUnique: boolean;
27010
+ };
27011
+ textValue: string | null;
27012
+ booleanValue: boolean | null;
27013
+ numberValue: number | null;
27014
+ dateValue: string | null;
27015
+ }, {
27016
+ id: string;
27017
+ createdAt: Date;
27018
+ updatedAt: Date;
27019
+ deletedAt: Date | null;
27020
+ attribute: {
27021
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27022
+ id: string;
27023
+ position: number;
27024
+ createdAt: Date;
27025
+ updatedAt: Date;
27026
+ deletedAt: Date | null;
27027
+ isDefault: boolean;
27028
+ systemName: string;
27029
+ displayName: string;
27030
+ isArchived: boolean;
27031
+ isRequired: boolean;
27032
+ isUnique: boolean;
27033
+ };
27034
+ textValue: string | null;
27035
+ booleanValue: boolean | null;
27036
+ numberValue: number | null;
27037
+ dateValue: string | null;
27038
+ }>, "many">>;
27039
+ }, "customFields">, "strip", import("zod").ZodTypeAny, {
27040
+ id: string;
27041
+ createdAt: Date;
27042
+ updatedAt: Date;
27043
+ deletedAt: Date | null;
27044
+ address?: string | null | undefined;
27045
+ name?: string | undefined;
27046
+ phone?: string | null | undefined;
27047
+ industry?: string | null | undefined;
27048
+ }, {
27049
+ id: string;
27050
+ createdAt: Date;
27051
+ updatedAt: Date;
27052
+ deletedAt: Date | null;
27053
+ address?: string | null | undefined;
27054
+ name?: string | undefined;
27055
+ phone?: string | null | undefined;
27056
+ industry?: string | null | undefined;
27057
+ }>>;
27058
+ customFields: import("zod").ZodArray<import("zod").ZodObject<{
27059
+ id: import("zod").ZodString;
27060
+ createdAt: import("zod").ZodDate;
27061
+ updatedAt: import("zod").ZodDate;
27062
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27063
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
27064
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
27065
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
27066
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
27067
+ attribute: import("zod").ZodObject<Omit<{
27068
+ id: import("zod").ZodString;
27069
+ createdAt: import("zod").ZodDate;
27070
+ updatedAt: import("zod").ZodDate;
27071
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27072
+ systemName: import("zod").ZodString;
27073
+ displayName: import("zod").ZodString;
27074
+ 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">]>;
27075
+ position: import("zod").ZodNumber;
27076
+ isDefault: import("zod").ZodBoolean;
27077
+ isArchived: import("zod").ZodBoolean;
27078
+ isRequired: import("zod").ZodBoolean;
27079
+ isUnique: import("zod").ZodBoolean;
27080
+ options: import("zod").ZodArray<import("zod").ZodObject<{
27081
+ position: import("zod").ZodNumber;
27082
+ value: import("zod").ZodString;
27083
+ label: import("zod").ZodString;
27084
+ isDefault: import("zod").ZodBoolean;
27085
+ id: import("zod").ZodString;
27086
+ }, "strip", import("zod").ZodTypeAny, {
27087
+ id: string;
27088
+ position: number;
27089
+ value: string;
27090
+ label: string;
27091
+ isDefault: boolean;
27092
+ }, {
27093
+ id: string;
27094
+ position: number;
27095
+ value: string;
27096
+ label: string;
27097
+ isDefault: boolean;
27098
+ }>, "many">;
27099
+ group: import("zod").ZodObject<{
27100
+ id: import("zod").ZodString;
27101
+ createdAt: import("zod").ZodDate;
27102
+ updatedAt: import("zod").ZodDate;
27103
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27104
+ systemName: import("zod").ZodString;
27105
+ displayName: import("zod").ZodString;
27106
+ }, "strip", import("zod").ZodTypeAny, {
27107
+ id: string;
27108
+ createdAt: Date;
27109
+ updatedAt: Date;
27110
+ deletedAt: Date | null;
27111
+ systemName: string;
27112
+ displayName: string;
27113
+ }, {
27114
+ id: string;
27115
+ createdAt: Date;
27116
+ updatedAt: Date;
27117
+ deletedAt: Date | null;
27118
+ systemName: string;
27119
+ displayName: string;
27120
+ }>;
27121
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
27122
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27123
+ id: string;
27124
+ position: number;
27125
+ createdAt: Date;
27126
+ updatedAt: Date;
27127
+ deletedAt: Date | null;
27128
+ isDefault: boolean;
27129
+ systemName: string;
27130
+ displayName: string;
27131
+ isArchived: boolean;
27132
+ isRequired: boolean;
27133
+ isUnique: boolean;
27134
+ }, {
27135
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27136
+ id: string;
27137
+ position: number;
27138
+ createdAt: Date;
27139
+ updatedAt: Date;
27140
+ deletedAt: Date | null;
27141
+ isDefault: boolean;
27142
+ systemName: string;
27143
+ displayName: string;
27144
+ isArchived: boolean;
27145
+ isRequired: boolean;
27146
+ isUnique: boolean;
27147
+ }>;
27148
+ uploads: import("zod").ZodArray<import("zod").ZodObject<{
27149
+ id: import("zod").ZodString;
27150
+ createdAt: import("zod").ZodDate;
27151
+ updatedAt: import("zod").ZodDate;
27152
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27153
+ customFieldId: import("zod").ZodString;
27154
+ upload: import("zod").ZodObject<{
27155
+ id: import("zod").ZodString;
27156
+ createdAt: import("zod").ZodDate;
27157
+ updatedAt: import("zod").ZodDate;
27158
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27159
+ bucketName: import("zod").ZodString;
27160
+ fileName: import("zod").ZodString;
27161
+ fileSize: import("zod").ZodNumber;
27162
+ fileKey: import("zod").ZodString;
27163
+ }, "strip", import("zod").ZodTypeAny, {
27164
+ id: string;
27165
+ createdAt: Date;
27166
+ updatedAt: Date;
27167
+ deletedAt: Date | null;
27168
+ fileName: string;
27169
+ fileKey: string;
27170
+ bucketName: string;
27171
+ fileSize: number;
27172
+ }, {
27173
+ id: string;
27174
+ createdAt: Date;
27175
+ updatedAt: Date;
27176
+ deletedAt: Date | null;
27177
+ fileName: string;
27178
+ fileKey: string;
27179
+ bucketName: string;
27180
+ fileSize: number;
27181
+ }>;
27182
+ }, "strip", import("zod").ZodTypeAny, {
27183
+ id: string;
27184
+ createdAt: Date;
27185
+ updatedAt: Date;
27186
+ deletedAt: Date | null;
27187
+ customFieldId: string;
27188
+ upload: {
27189
+ id: string;
27190
+ createdAt: Date;
27191
+ updatedAt: Date;
27192
+ deletedAt: Date | null;
27193
+ fileName: string;
27194
+ fileKey: string;
27195
+ bucketName: string;
27196
+ fileSize: number;
27197
+ };
27198
+ }, {
27199
+ id: string;
27200
+ createdAt: Date;
27201
+ updatedAt: Date;
27202
+ deletedAt: Date | null;
27203
+ customFieldId: string;
27204
+ upload: {
27205
+ id: string;
27206
+ createdAt: Date;
27207
+ updatedAt: Date;
27208
+ deletedAt: Date | null;
27209
+ fileName: string;
27210
+ fileKey: string;
27211
+ bucketName: string;
27212
+ fileSize: number;
27213
+ };
27214
+ }>, "many">;
27215
+ }, "strip", import("zod").ZodTypeAny, {
27216
+ id: string;
27217
+ createdAt: Date;
27218
+ updatedAt: Date;
27219
+ deletedAt: Date | null;
27220
+ attribute: {
27221
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27222
+ id: string;
27223
+ position: number;
27224
+ createdAt: Date;
27225
+ updatedAt: Date;
27226
+ deletedAt: Date | null;
27227
+ isDefault: boolean;
27228
+ systemName: string;
27229
+ displayName: string;
27230
+ isArchived: boolean;
27231
+ isRequired: boolean;
27232
+ isUnique: boolean;
27233
+ };
27234
+ textValue: string | null;
27235
+ booleanValue: boolean | null;
27236
+ numberValue: number | null;
27237
+ dateValue: Date | null;
27238
+ uploads: {
27239
+ id: string;
27240
+ createdAt: Date;
27241
+ updatedAt: Date;
27242
+ deletedAt: Date | null;
27243
+ customFieldId: string;
27244
+ upload: {
27245
+ id: string;
27246
+ createdAt: Date;
27247
+ updatedAt: Date;
27248
+ deletedAt: Date | null;
27249
+ fileName: string;
27250
+ fileKey: string;
27251
+ bucketName: string;
27252
+ fileSize: number;
27253
+ };
27254
+ }[];
27255
+ }, {
27256
+ id: string;
27257
+ createdAt: Date;
27258
+ updatedAt: Date;
27259
+ deletedAt: Date | null;
27260
+ attribute: {
27261
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27262
+ id: string;
27263
+ position: number;
27264
+ createdAt: Date;
27265
+ updatedAt: Date;
27266
+ deletedAt: Date | null;
27267
+ isDefault: boolean;
27268
+ systemName: string;
27269
+ displayName: string;
27270
+ isArchived: boolean;
27271
+ isRequired: boolean;
27272
+ isUnique: boolean;
27273
+ };
27274
+ textValue: string | null;
27275
+ booleanValue: boolean | null;
27276
+ numberValue: number | null;
27277
+ dateValue: Date | null;
27278
+ uploads: {
27279
+ id: string;
27280
+ createdAt: Date;
27281
+ updatedAt: Date;
27282
+ deletedAt: Date | null;
27283
+ customFieldId: string;
27284
+ upload: {
27285
+ id: string;
27286
+ createdAt: Date;
27287
+ updatedAt: Date;
27288
+ deletedAt: Date | null;
27289
+ fileName: string;
27290
+ fileKey: string;
27291
+ bucketName: string;
27292
+ fileSize: number;
27293
+ };
27294
+ }[];
27295
+ }>, "many">;
27296
+ contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
27297
+ id: import("zod").ZodString;
27298
+ createdAt: import("zod").ZodDate;
27299
+ updatedAt: import("zod").ZodDate;
27300
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27301
+ email: import("zod").ZodString;
27302
+ isPrimary: import("zod").ZodBoolean;
27303
+ }, "strip", import("zod").ZodTypeAny, {
27304
+ id: string;
27305
+ isPrimary: boolean;
27306
+ email: string;
27307
+ createdAt: Date;
27308
+ updatedAt: Date;
27309
+ deletedAt: Date | null;
27310
+ }, {
27311
+ id: string;
27312
+ isPrimary: boolean;
27313
+ email: string;
27314
+ createdAt: Date;
27315
+ updatedAt: Date;
27316
+ deletedAt: Date | null;
27317
+ }>, "many">;
27318
+ contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
27319
+ id: import("zod").ZodString;
27320
+ createdAt: import("zod").ZodDate;
27321
+ updatedAt: import("zod").ZodDate;
27322
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27323
+ phone: import("zod").ZodString;
27324
+ isPrimary: import("zod").ZodBoolean;
27325
+ }, "strip", import("zod").ZodTypeAny, {
27326
+ id: string;
27327
+ isPrimary: boolean;
27328
+ createdAt: Date;
27329
+ updatedAt: Date;
27330
+ deletedAt: Date | null;
27331
+ phone: string;
27332
+ }, {
27333
+ id: string;
27334
+ isPrimary: boolean;
27335
+ createdAt: Date;
27336
+ updatedAt: Date;
27337
+ deletedAt: Date | null;
27338
+ phone: string;
27339
+ }>, "many">;
27340
+ activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
27341
+ id: import("zod").ZodString;
27342
+ createdAt: import("zod").ZodDate;
27343
+ updatedAt: import("zod").ZodDate;
27344
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27345
+ entityId: import("zod").ZodString;
27346
+ description: import("zod").ZodString;
27347
+ entityType: import("zod").ZodObject<{
27348
+ id: import("zod").ZodString;
27349
+ createdAt: import("zod").ZodDate;
27350
+ updatedAt: import("zod").ZodDate;
27351
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
27352
+ entity: import("zod").ZodString;
27353
+ description: import("zod").ZodNullable<import("zod").ZodString>;
27354
+ }, "strip", import("zod").ZodTypeAny, {
27355
+ id: string;
27356
+ description: string | null;
27357
+ createdAt: Date;
27358
+ updatedAt: Date;
27359
+ deletedAt: Date | null;
27360
+ entity: string;
27361
+ }, {
27362
+ id: string;
27363
+ description: string | null;
27364
+ createdAt: Date;
27365
+ updatedAt: Date;
27366
+ deletedAt: Date | null;
27367
+ entity: string;
27368
+ }>;
27369
+ }, "strip", import("zod").ZodTypeAny, {
27370
+ id: string;
27371
+ description: string;
27372
+ createdAt: Date;
27373
+ updatedAt: Date;
27374
+ deletedAt: Date | null;
27375
+ entityId: string;
27376
+ entityType: {
27377
+ id: string;
27378
+ description: string | null;
27379
+ createdAt: Date;
27380
+ updatedAt: Date;
27381
+ deletedAt: Date | null;
27382
+ entity: string;
27383
+ };
27384
+ }, {
27385
+ id: string;
27386
+ description: string;
27387
+ createdAt: Date;
27388
+ updatedAt: Date;
27389
+ deletedAt: Date | null;
27390
+ entityId: string;
27391
+ entityType: {
27392
+ id: string;
27393
+ description: string | null;
27394
+ createdAt: Date;
27395
+ updatedAt: Date;
27396
+ deletedAt: Date | null;
27397
+ entity: string;
27398
+ };
27399
+ }>, "many">>;
27400
+ }, "strip", import("zod").ZodTypeAny, {
27401
+ id: string;
27402
+ channel: string | null;
27403
+ address: string | null;
27404
+ name: string;
27405
+ createdAt: Date;
27406
+ updatedAt: Date;
27407
+ deletedAt: Date | null;
27408
+ customFields: {
27409
+ id: string;
27410
+ createdAt: Date;
27411
+ updatedAt: Date;
27412
+ deletedAt: Date | null;
27413
+ attribute: {
27414
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27415
+ id: string;
27416
+ position: number;
27417
+ createdAt: Date;
27418
+ updatedAt: Date;
27419
+ deletedAt: Date | null;
27420
+ isDefault: boolean;
27421
+ systemName: string;
27422
+ displayName: string;
27423
+ isArchived: boolean;
27424
+ isRequired: boolean;
27425
+ isUnique: boolean;
27426
+ };
27427
+ textValue: string | null;
27428
+ booleanValue: boolean | null;
27429
+ numberValue: number | null;
27430
+ dateValue: Date | null;
27431
+ uploads: {
27432
+ id: string;
27433
+ createdAt: Date;
27434
+ updatedAt: Date;
27435
+ deletedAt: Date | null;
27436
+ customFieldId: string;
27437
+ upload: {
27438
+ id: string;
27439
+ createdAt: Date;
27440
+ updatedAt: Date;
27441
+ deletedAt: Date | null;
27442
+ fileName: string;
27443
+ fileKey: string;
27444
+ bucketName: string;
27445
+ fileSize: number;
27446
+ };
27447
+ }[];
27448
+ }[];
27449
+ notes: string | null;
27450
+ contactProfile: string | null;
27451
+ socialProfileUrl: string | null;
27452
+ tags: {
27453
+ id: string;
27454
+ name: string;
27455
+ createdAt: Date;
27456
+ updatedAt: Date;
27457
+ deletedAt: Date | null;
27458
+ }[];
27459
+ company: {
27460
+ id: string;
27461
+ createdAt: Date;
27462
+ updatedAt: Date;
27463
+ deletedAt: Date | null;
27464
+ address?: string | null | undefined;
27465
+ name?: string | undefined;
27466
+ phone?: string | null | undefined;
27467
+ industry?: string | null | undefined;
27468
+ } | null;
27469
+ contactEmails: {
27470
+ id: string;
27471
+ isPrimary: boolean;
27472
+ email: string;
27473
+ createdAt: Date;
27474
+ updatedAt: Date;
27475
+ deletedAt: Date | null;
27476
+ }[];
27477
+ contactPhones: {
27478
+ id: string;
27479
+ isPrimary: boolean;
27480
+ createdAt: Date;
27481
+ updatedAt: Date;
27482
+ deletedAt: Date | null;
27483
+ phone: string;
27484
+ }[];
27485
+ activityLogs?: {
27486
+ id: string;
27487
+ description: string;
27488
+ createdAt: Date;
27489
+ updatedAt: Date;
27490
+ deletedAt: Date | null;
27491
+ entityId: string;
27492
+ entityType: {
27493
+ id: string;
27494
+ description: string | null;
27495
+ createdAt: Date;
27496
+ updatedAt: Date;
27497
+ deletedAt: Date | null;
27498
+ entity: string;
27499
+ };
27500
+ }[] | undefined;
27501
+ }, {
27502
+ id: string;
27503
+ channel: string | null;
27504
+ address: string | null;
27505
+ name: string;
27506
+ createdAt: Date;
27507
+ updatedAt: Date;
27508
+ deletedAt: Date | null;
27509
+ customFields: {
27510
+ id: string;
27511
+ createdAt: Date;
27512
+ updatedAt: Date;
27513
+ deletedAt: Date | null;
27514
+ attribute: {
27515
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27516
+ id: string;
27517
+ position: number;
27518
+ createdAt: Date;
27519
+ updatedAt: Date;
27520
+ deletedAt: Date | null;
27521
+ isDefault: boolean;
27522
+ systemName: string;
27523
+ displayName: string;
27524
+ isArchived: boolean;
27525
+ isRequired: boolean;
27526
+ isUnique: boolean;
27527
+ };
27528
+ textValue: string | null;
27529
+ booleanValue: boolean | null;
27530
+ numberValue: number | null;
27531
+ dateValue: Date | null;
27532
+ uploads: {
27533
+ id: string;
27534
+ createdAt: Date;
27535
+ updatedAt: Date;
27536
+ deletedAt: Date | null;
27537
+ customFieldId: string;
27538
+ upload: {
27539
+ id: string;
27540
+ createdAt: Date;
27541
+ updatedAt: Date;
27542
+ deletedAt: Date | null;
27543
+ fileName: string;
27544
+ fileKey: string;
27545
+ bucketName: string;
27546
+ fileSize: number;
27547
+ };
27548
+ }[];
27549
+ }[];
27550
+ notes: string | null;
27551
+ contactProfile: string | null;
27552
+ socialProfileUrl: string | null;
27553
+ tags: {
27554
+ id: string;
27555
+ name: string;
27556
+ createdAt: Date;
27557
+ updatedAt: Date;
27558
+ deletedAt: Date | null;
27559
+ }[];
27560
+ company: {
27561
+ id: string;
27562
+ createdAt: Date;
27563
+ updatedAt: Date;
27564
+ deletedAt: Date | null;
27565
+ address?: string | null | undefined;
27566
+ name?: string | undefined;
27567
+ phone?: string | null | undefined;
27568
+ industry?: string | null | undefined;
27569
+ } | null;
27570
+ contactEmails: {
27571
+ id: string;
27572
+ isPrimary: boolean;
27573
+ email: string;
27574
+ createdAt: Date;
27575
+ updatedAt: Date;
27576
+ deletedAt: Date | null;
27577
+ }[];
27578
+ contactPhones: {
27579
+ id: string;
27580
+ isPrimary: boolean;
27581
+ createdAt: Date;
27582
+ updatedAt: Date;
27583
+ deletedAt: Date | null;
27584
+ phone: string;
27585
+ }[];
27586
+ activityLogs?: {
27587
+ id: string;
27588
+ description: string;
27589
+ createdAt: Date;
27590
+ updatedAt: Date;
27591
+ deletedAt: Date | null;
27592
+ entityId: string;
27593
+ entityType: {
27594
+ id: string;
27595
+ description: string | null;
27596
+ createdAt: Date;
27597
+ updatedAt: Date;
27598
+ deletedAt: Date | null;
27599
+ entity: string;
27600
+ };
27601
+ }[] | undefined;
27602
+ }>;
27603
+ }, "strip", import("zod").ZodTypeAny, {
27604
+ data: {
27605
+ id: string;
27606
+ channel: string | null;
27607
+ address: string | null;
27608
+ name: string;
27609
+ createdAt: Date;
27610
+ updatedAt: Date;
27611
+ deletedAt: Date | null;
27612
+ customFields: {
27613
+ id: string;
27614
+ createdAt: Date;
27615
+ updatedAt: Date;
27616
+ deletedAt: Date | null;
27617
+ attribute: {
27618
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27619
+ id: string;
27620
+ position: number;
27621
+ createdAt: Date;
27622
+ updatedAt: Date;
27623
+ deletedAt: Date | null;
27624
+ isDefault: boolean;
27625
+ systemName: string;
27626
+ displayName: string;
27627
+ isArchived: boolean;
27628
+ isRequired: boolean;
27629
+ isUnique: boolean;
27630
+ };
27631
+ textValue: string | null;
27632
+ booleanValue: boolean | null;
27633
+ numberValue: number | null;
27634
+ dateValue: Date | null;
27635
+ uploads: {
27636
+ id: string;
27637
+ createdAt: Date;
27638
+ updatedAt: Date;
27639
+ deletedAt: Date | null;
27640
+ customFieldId: string;
27641
+ upload: {
27642
+ id: string;
27643
+ createdAt: Date;
27644
+ updatedAt: Date;
27645
+ deletedAt: Date | null;
27646
+ fileName: string;
27647
+ fileKey: string;
27648
+ bucketName: string;
27649
+ fileSize: number;
27650
+ };
27651
+ }[];
27652
+ }[];
27653
+ notes: string | null;
27654
+ contactProfile: string | null;
27655
+ socialProfileUrl: string | null;
27656
+ tags: {
27657
+ id: string;
27658
+ name: string;
27659
+ createdAt: Date;
27660
+ updatedAt: Date;
27661
+ deletedAt: Date | null;
27662
+ }[];
27663
+ company: {
27664
+ id: string;
27665
+ createdAt: Date;
27666
+ updatedAt: Date;
27667
+ deletedAt: Date | null;
27668
+ address?: string | null | undefined;
27669
+ name?: string | undefined;
27670
+ phone?: string | null | undefined;
27671
+ industry?: string | null | undefined;
27672
+ } | null;
27673
+ contactEmails: {
27674
+ id: string;
27675
+ isPrimary: boolean;
27676
+ email: string;
27677
+ createdAt: Date;
27678
+ updatedAt: Date;
27679
+ deletedAt: Date | null;
27680
+ }[];
27681
+ contactPhones: {
27682
+ id: string;
27683
+ isPrimary: boolean;
27684
+ createdAt: Date;
27685
+ updatedAt: Date;
27686
+ deletedAt: Date | null;
27687
+ phone: string;
27688
+ }[];
27689
+ activityLogs?: {
27690
+ id: string;
27691
+ description: string;
27692
+ createdAt: Date;
27693
+ updatedAt: Date;
27694
+ deletedAt: Date | null;
27695
+ entityId: string;
27696
+ entityType: {
27697
+ id: string;
27698
+ description: string | null;
27699
+ createdAt: Date;
27700
+ updatedAt: Date;
27701
+ deletedAt: Date | null;
27702
+ entity: string;
27703
+ };
27704
+ }[] | undefined;
27705
+ };
27706
+ requestId: string;
27707
+ }, {
27708
+ data: {
27709
+ id: string;
27710
+ channel: string | null;
27711
+ address: string | null;
27712
+ name: string;
27713
+ createdAt: Date;
27714
+ updatedAt: Date;
27715
+ deletedAt: Date | null;
27716
+ customFields: {
27717
+ id: string;
27718
+ createdAt: Date;
27719
+ updatedAt: Date;
27720
+ deletedAt: Date | null;
27721
+ attribute: {
27722
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
27723
+ id: string;
27724
+ position: number;
27725
+ createdAt: Date;
27726
+ updatedAt: Date;
27727
+ deletedAt: Date | null;
27728
+ isDefault: boolean;
27729
+ systemName: string;
27730
+ displayName: string;
27731
+ isArchived: boolean;
27732
+ isRequired: boolean;
27733
+ isUnique: boolean;
27734
+ };
27735
+ textValue: string | null;
27736
+ booleanValue: boolean | null;
27737
+ numberValue: number | null;
27738
+ dateValue: Date | null;
27739
+ uploads: {
27740
+ id: string;
27741
+ createdAt: Date;
27742
+ updatedAt: Date;
27743
+ deletedAt: Date | null;
27744
+ customFieldId: string;
27745
+ upload: {
27746
+ id: string;
27747
+ createdAt: Date;
27748
+ updatedAt: Date;
27749
+ deletedAt: Date | null;
27750
+ fileName: string;
27751
+ fileKey: string;
27752
+ bucketName: string;
27753
+ fileSize: number;
27754
+ };
27755
+ }[];
27756
+ }[];
27757
+ notes: string | null;
27758
+ contactProfile: string | null;
27759
+ socialProfileUrl: string | null;
27760
+ tags: {
27761
+ id: string;
27762
+ name: string;
27763
+ createdAt: Date;
27764
+ updatedAt: Date;
27765
+ deletedAt: Date | null;
27766
+ }[];
27767
+ company: {
27768
+ id: string;
27769
+ createdAt: Date;
27770
+ updatedAt: Date;
27771
+ deletedAt: Date | null;
27772
+ address?: string | null | undefined;
27773
+ name?: string | undefined;
27774
+ phone?: string | null | undefined;
27775
+ industry?: string | null | undefined;
27776
+ } | null;
27777
+ contactEmails: {
27778
+ id: string;
27779
+ isPrimary: boolean;
27780
+ email: string;
27781
+ createdAt: Date;
27782
+ updatedAt: Date;
27783
+ deletedAt: Date | null;
27784
+ }[];
27785
+ contactPhones: {
27786
+ id: string;
27787
+ isPrimary: boolean;
27788
+ createdAt: Date;
27789
+ updatedAt: Date;
27790
+ deletedAt: Date | null;
27791
+ phone: string;
27792
+ }[];
27793
+ activityLogs?: {
27794
+ id: string;
27795
+ description: string;
27796
+ createdAt: Date;
27797
+ updatedAt: Date;
27798
+ deletedAt: Date | null;
27799
+ entityId: string;
27800
+ entityType: {
27801
+ id: string;
27802
+ description: string | null;
27803
+ createdAt: Date;
27804
+ updatedAt: Date;
27805
+ deletedAt: Date | null;
27806
+ entity: string;
27807
+ };
27808
+ }[] | undefined;
27809
+ };
27810
+ requestId: string;
27811
+ }>;
27812
+ 400: import("zod").ZodObject<{
27813
+ message: import("zod").ZodString;
27814
+ }, "strip", import("zod").ZodTypeAny, {
27815
+ message: string;
27816
+ }, {
27817
+ message: string;
27818
+ }>;
27819
+ 409: import("zod").ZodObject<{
27820
+ message: import("zod").ZodString;
27821
+ }, "strip", import("zod").ZodTypeAny, {
27822
+ message: string;
27823
+ }, {
27824
+ message: string;
27825
+ }>;
27826
+ 500: import("zod").ZodObject<{
27827
+ message: import("zod").ZodString;
27828
+ }, "strip", import("zod").ZodTypeAny, {
27829
+ message: string;
27830
+ }, {
27831
+ message: string;
27832
+ }>;
27833
+ 401: import("zod").ZodObject<{
27834
+ message: import("zod").ZodString;
27835
+ error: import("zod").ZodAny;
27836
+ }, "strip", import("zod").ZodTypeAny, {
27837
+ message: string;
27838
+ error?: any;
27839
+ }, {
27840
+ message: string;
27841
+ error?: any;
27842
+ }>;
27843
+ 404: import("zod").ZodObject<{
27844
+ message: import("zod").ZodString;
27845
+ error: import("zod").ZodAny;
27846
+ }, "strip", import("zod").ZodTypeAny, {
27847
+ message: string;
27848
+ error?: any;
27849
+ }, {
27850
+ message: string;
27851
+ error?: any;
27852
+ }>;
27853
+ 422: import("zod").ZodObject<{
27854
+ message: import("zod").ZodString;
27855
+ error: import("zod").ZodAny;
27856
+ }, "strip", import("zod").ZodTypeAny, {
27857
+ message: string;
27858
+ error?: any;
27859
+ }, {
27860
+ message: string;
27861
+ error?: any;
27862
+ }>;
27863
+ };
27864
+ path: "contact/phone";
27865
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
27866
+ 'x-tenant': import("zod").ZodString;
27867
+ authorization: import("zod").ZodString;
27868
+ }, "strip", import("zod").ZodTypeAny, {
27869
+ 'x-tenant': string;
27870
+ authorization: string;
27871
+ }, {
27872
+ 'x-tenant': string;
27873
+ authorization: string;
27874
+ }>>>;
27875
+ };
26850
27876
  };
26851
27877
  };
26852
27878
  export declare const platformContract: {