@kl1/contracts 1.0.71 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/contact/index.d.ts +881 -3
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1269 -391
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +8 -8
- package/dist/src/telephony-cdr/schema.d.ts +5 -5
- package/dist/src/telephony-cdr/validation.d.ts +3 -3
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -36127,158 +36127,7 @@ export declare const apiContract: {
|
|
36127
36127
|
responses: {
|
36128
36128
|
201: import("zod").ZodObject<{
|
36129
36129
|
requestId: import("zod").ZodString;
|
36130
|
-
|
36131
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36132
|
-
message: string;
|
36133
|
-
requestId: string;
|
36134
|
-
}, {
|
36135
|
-
message: string;
|
36136
|
-
requestId: string;
|
36137
|
-
}>;
|
36138
|
-
400: import("zod").ZodObject<{
|
36139
|
-
message: import("zod").ZodString;
|
36140
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36141
|
-
message: string;
|
36142
|
-
}, {
|
36143
|
-
message: string;
|
36144
|
-
}>;
|
36145
|
-
409: import("zod").ZodObject<{
|
36146
|
-
message: import("zod").ZodString;
|
36147
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36148
|
-
message: string;
|
36149
|
-
}, {
|
36150
|
-
message: string;
|
36151
|
-
}>;
|
36152
|
-
500: import("zod").ZodObject<{
|
36153
|
-
message: import("zod").ZodString;
|
36154
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36155
|
-
message: string;
|
36156
|
-
}, {
|
36157
|
-
message: string;
|
36158
|
-
}>;
|
36159
|
-
401: import("zod").ZodObject<{
|
36160
|
-
message: import("zod").ZodString;
|
36161
|
-
error: import("zod").ZodAny;
|
36162
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36163
|
-
message: string;
|
36164
|
-
error?: any;
|
36165
|
-
}, {
|
36166
|
-
message: string;
|
36167
|
-
error?: any;
|
36168
|
-
}>;
|
36169
|
-
404: import("zod").ZodObject<{
|
36170
|
-
message: import("zod").ZodString;
|
36171
|
-
error: import("zod").ZodAny;
|
36172
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36173
|
-
message: string;
|
36174
|
-
error?: any;
|
36175
|
-
}, {
|
36176
|
-
message: string;
|
36177
|
-
error?: any;
|
36178
|
-
}>;
|
36179
|
-
422: import("zod").ZodObject<{
|
36180
|
-
message: import("zod").ZodString;
|
36181
|
-
error: import("zod").ZodAny;
|
36182
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36183
|
-
message: string;
|
36184
|
-
error?: any;
|
36185
|
-
}, {
|
36186
|
-
message: string;
|
36187
|
-
error?: any;
|
36188
|
-
}>;
|
36189
|
-
};
|
36190
|
-
path: "contact";
|
36191
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36192
|
-
'x-tenant': import("zod").ZodString;
|
36193
|
-
authorization: import("zod").ZodString;
|
36194
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
36195
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
36196
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36197
|
-
'x-tenant': string;
|
36198
|
-
authorization: string;
|
36199
|
-
'x-client-timezone': string;
|
36200
|
-
'x-code'?: string | undefined;
|
36201
|
-
}, {
|
36202
|
-
'x-tenant': string;
|
36203
|
-
authorization: string;
|
36204
|
-
'x-code'?: string | undefined;
|
36205
|
-
'x-client-timezone'?: string | undefined;
|
36206
|
-
}>>>;
|
36207
|
-
};
|
36208
|
-
getAll: {
|
36209
|
-
summary: "Get all contacts";
|
36210
|
-
method: "GET";
|
36211
|
-
query: import("zod").ZodObject<{
|
36212
|
-
page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
36213
|
-
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
36214
|
-
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
36215
|
-
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
36216
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
36217
|
-
address: import("zod").ZodOptional<import("zod").ZodString>;
|
36218
|
-
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
36219
|
-
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
36220
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
36221
|
-
attributeId: import("zod").ZodString;
|
36222
|
-
type: import("zod").ZodString;
|
36223
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
36224
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36225
|
-
type: string;
|
36226
|
-
value: (string | string[]) & (string | string[] | undefined);
|
36227
|
-
attributeId: string;
|
36228
|
-
}, {
|
36229
|
-
type: string;
|
36230
|
-
value: (string | string[]) & (string | string[] | undefined);
|
36231
|
-
attributeId: string;
|
36232
|
-
}>, "many">>;
|
36233
|
-
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
36234
|
-
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
36235
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
36236
|
-
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
36237
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36238
|
-
page?: number | undefined;
|
36239
|
-
pageSize?: number | undefined;
|
36240
|
-
keyword?: string | undefined;
|
36241
|
-
company?: string[] | undefined;
|
36242
|
-
name?: string | undefined;
|
36243
|
-
address?: string | undefined;
|
36244
|
-
channel?: string[] | undefined;
|
36245
|
-
selectedDate?: string | undefined;
|
36246
|
-
customFields?: {
|
36247
|
-
type: string;
|
36248
|
-
value: (string | string[]) & (string | string[] | undefined);
|
36249
|
-
attributeId: string;
|
36250
|
-
}[] | undefined;
|
36251
|
-
tags?: string[] | undefined;
|
36252
|
-
phone?: string | undefined;
|
36253
|
-
email?: string | undefined;
|
36254
|
-
notes?: string | undefined;
|
36255
|
-
}, {
|
36256
|
-
page?: number | undefined;
|
36257
|
-
pageSize?: number | undefined;
|
36258
|
-
keyword?: string | undefined;
|
36259
|
-
company?: string[] | undefined;
|
36260
|
-
name?: string | undefined;
|
36261
|
-
address?: string | undefined;
|
36262
|
-
channel?: string[] | undefined;
|
36263
|
-
selectedDate?: string | undefined;
|
36264
|
-
customFields?: {
|
36265
|
-
type: string;
|
36266
|
-
value: (string | string[]) & (string | string[] | undefined);
|
36267
|
-
attributeId: string;
|
36268
|
-
}[] | undefined;
|
36269
|
-
tags?: string[] | undefined;
|
36270
|
-
phone?: string | undefined;
|
36271
|
-
email?: string | undefined;
|
36272
|
-
notes?: string | undefined;
|
36273
|
-
}>;
|
36274
|
-
responses: {
|
36275
|
-
200: import("zod").ZodObject<{
|
36276
|
-
requestId: import("zod").ZodString;
|
36277
|
-
page: import("zod").ZodNumber;
|
36278
|
-
pageSize: import("zod").ZodNumber;
|
36279
|
-
total: import("zod").ZodNumber;
|
36280
|
-
lastPage: import("zod").ZodNumber;
|
36281
|
-
data: import("zod").ZodArray<import("zod").ZodObject<{
|
36130
|
+
data: import("zod").ZodObject<{
|
36282
36131
|
id: import("zod").ZodString;
|
36283
36132
|
createdAt: import("zod").ZodDate;
|
36284
36133
|
updatedAt: import("zod").ZodDate;
|
@@ -36964,7 +36813,7 @@ export declare const apiContract: {
|
|
36964
36813
|
entity: string;
|
36965
36814
|
};
|
36966
36815
|
}[] | undefined;
|
36967
|
-
}
|
36816
|
+
}>;
|
36968
36817
|
}, "strip", import("zod").ZodTypeAny, {
|
36969
36818
|
data: {
|
36970
36819
|
id: string;
|
@@ -37062,11 +36911,7 @@ export declare const apiContract: {
|
|
37062
36911
|
entity: string;
|
37063
36912
|
};
|
37064
36913
|
}[] | undefined;
|
37065
|
-
}
|
37066
|
-
total: number;
|
37067
|
-
page: number;
|
37068
|
-
pageSize: number;
|
37069
|
-
lastPage: number;
|
36914
|
+
};
|
37070
36915
|
requestId: string;
|
37071
36916
|
}, {
|
37072
36917
|
data: {
|
@@ -37165,11 +37010,7 @@ export declare const apiContract: {
|
|
37165
37010
|
entity: string;
|
37166
37011
|
};
|
37167
37012
|
}[] | undefined;
|
37168
|
-
}
|
37169
|
-
total: number;
|
37170
|
-
page: number;
|
37171
|
-
pageSize: number;
|
37172
|
-
lastPage: number;
|
37013
|
+
};
|
37173
37014
|
requestId: string;
|
37174
37015
|
}>;
|
37175
37016
|
400: import("zod").ZodObject<{
|
@@ -37242,21 +37083,71 @@ export declare const apiContract: {
|
|
37242
37083
|
'x-client-timezone'?: string | undefined;
|
37243
37084
|
}>>>;
|
37244
37085
|
};
|
37245
|
-
|
37246
|
-
summary: "Get all contacts
|
37086
|
+
getAll: {
|
37087
|
+
summary: "Get all contacts";
|
37247
37088
|
method: "GET";
|
37248
37089
|
query: import("zod").ZodObject<{
|
37249
37090
|
page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
37250
37091
|
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
37251
|
-
keyword: import("zod").ZodOptional<import("zod").ZodString
|
37092
|
+
keyword: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
37093
|
+
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
37094
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
37095
|
+
address: import("zod").ZodOptional<import("zod").ZodString>;
|
37096
|
+
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
37097
|
+
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
37098
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
37099
|
+
attributeId: import("zod").ZodString;
|
37100
|
+
type: import("zod").ZodString;
|
37101
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
37102
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37103
|
+
type: string;
|
37104
|
+
value: (string | string[]) & (string | string[] | undefined);
|
37105
|
+
attributeId: string;
|
37106
|
+
}, {
|
37107
|
+
type: string;
|
37108
|
+
value: (string | string[]) & (string | string[] | undefined);
|
37109
|
+
attributeId: string;
|
37110
|
+
}>, "many">>;
|
37111
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
37112
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
37113
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
37114
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
37252
37115
|
}, "strip", import("zod").ZodTypeAny, {
|
37253
37116
|
page?: number | undefined;
|
37254
37117
|
pageSize?: number | undefined;
|
37255
37118
|
keyword?: string | undefined;
|
37119
|
+
company?: string[] | undefined;
|
37120
|
+
name?: string | undefined;
|
37121
|
+
address?: string | undefined;
|
37122
|
+
channel?: string[] | undefined;
|
37123
|
+
selectedDate?: string | undefined;
|
37124
|
+
customFields?: {
|
37125
|
+
type: string;
|
37126
|
+
value: (string | string[]) & (string | string[] | undefined);
|
37127
|
+
attributeId: string;
|
37128
|
+
}[] | undefined;
|
37129
|
+
tags?: string[] | undefined;
|
37130
|
+
phone?: string | undefined;
|
37131
|
+
email?: string | undefined;
|
37132
|
+
notes?: string | undefined;
|
37256
37133
|
}, {
|
37257
37134
|
page?: number | undefined;
|
37258
37135
|
pageSize?: number | undefined;
|
37259
37136
|
keyword?: string | undefined;
|
37137
|
+
company?: string[] | undefined;
|
37138
|
+
name?: string | undefined;
|
37139
|
+
address?: string | undefined;
|
37140
|
+
channel?: string[] | undefined;
|
37141
|
+
selectedDate?: string | undefined;
|
37142
|
+
customFields?: {
|
37143
|
+
type: string;
|
37144
|
+
value: (string | string[]) & (string | string[] | undefined);
|
37145
|
+
attributeId: string;
|
37146
|
+
}[] | undefined;
|
37147
|
+
tags?: string[] | undefined;
|
37148
|
+
phone?: string | undefined;
|
37149
|
+
email?: string | undefined;
|
37150
|
+
notes?: string | undefined;
|
37260
37151
|
}>;
|
37261
37152
|
responses: {
|
37262
37153
|
200: import("zod").ZodObject<{
|
@@ -38211,7 +38102,7 @@ export declare const apiContract: {
|
|
38211
38102
|
error?: any;
|
38212
38103
|
}>;
|
38213
38104
|
};
|
38214
|
-
path: "contact
|
38105
|
+
path: "contact";
|
38215
38106
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
38216
38107
|
'x-tenant': import("zod").ZodString;
|
38217
38108
|
authorization: import("zod").ZodString;
|
@@ -38229,123 +38120,30 @@ export declare const apiContract: {
|
|
38229
38120
|
'x-client-timezone'?: string | undefined;
|
38230
38121
|
}>>>;
|
38231
38122
|
};
|
38232
|
-
|
38233
|
-
|
38234
|
-
|
38235
|
-
|
38236
|
-
|
38237
|
-
|
38238
|
-
|
38239
|
-
email: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38240
|
-
[x: string]: any;
|
38241
|
-
}, {
|
38242
|
-
[x: string]: any;
|
38243
|
-
}>>;
|
38244
|
-
channel: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38245
|
-
[x: string]: any;
|
38246
|
-
}, {
|
38247
|
-
[x: string]: any;
|
38248
|
-
}>>;
|
38249
|
-
address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38250
|
-
[x: string]: any;
|
38251
|
-
}, {
|
38252
|
-
[x: string]: any;
|
38253
|
-
}>>;
|
38254
|
-
phone: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38255
|
-
[x: string]: any;
|
38256
|
-
}, {
|
38257
|
-
[x: string]: any;
|
38258
|
-
}>>>;
|
38259
|
-
notes: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38260
|
-
[x: string]: any;
|
38261
|
-
}, {
|
38262
|
-
[x: string]: any;
|
38263
|
-
}>>;
|
38264
|
-
tags: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38265
|
-
[x: string]: any;
|
38266
|
-
}, {
|
38267
|
-
[x: string]: any;
|
38268
|
-
}>>;
|
38269
|
-
company: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38270
|
-
[x: string]: any;
|
38271
|
-
}, {
|
38272
|
-
[x: string]: any;
|
38273
|
-
}>>;
|
38274
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
38275
|
-
[x: string]: any;
|
38276
|
-
}, {
|
38277
|
-
[x: string]: any;
|
38278
|
-
}>, "many">>;
|
38279
|
-
}, "strip", import("zod").ZodTypeAny, {
|
38280
|
-
name?: {
|
38281
|
-
[x: string]: any;
|
38282
|
-
} | undefined;
|
38283
|
-
email?: {
|
38284
|
-
[x: string]: any;
|
38285
|
-
} | undefined;
|
38286
|
-
channel?: {
|
38287
|
-
[x: string]: any;
|
38288
|
-
} | undefined;
|
38289
|
-
address?: {
|
38290
|
-
[x: string]: any;
|
38291
|
-
} | undefined;
|
38292
|
-
phone?: {
|
38293
|
-
[x: string]: any;
|
38294
|
-
} | undefined;
|
38295
|
-
notes?: {
|
38296
|
-
[x: string]: any;
|
38297
|
-
} | undefined;
|
38298
|
-
tags?: {
|
38299
|
-
[x: string]: any;
|
38300
|
-
} | undefined;
|
38301
|
-
company?: {
|
38302
|
-
[x: string]: any;
|
38303
|
-
} | undefined;
|
38304
|
-
customFields?: {
|
38305
|
-
[x: string]: any;
|
38306
|
-
}[] | undefined;
|
38307
|
-
}, {
|
38308
|
-
name?: {
|
38309
|
-
[x: string]: any;
|
38310
|
-
} | undefined;
|
38311
|
-
email?: {
|
38312
|
-
[x: string]: any;
|
38313
|
-
} | undefined;
|
38314
|
-
channel?: {
|
38315
|
-
[x: string]: any;
|
38316
|
-
} | undefined;
|
38317
|
-
address?: {
|
38318
|
-
[x: string]: any;
|
38319
|
-
} | undefined;
|
38320
|
-
phone?: {
|
38321
|
-
[x: string]: any;
|
38322
|
-
} | undefined;
|
38323
|
-
notes?: {
|
38324
|
-
[x: string]: any;
|
38325
|
-
} | undefined;
|
38326
|
-
tags?: {
|
38327
|
-
[x: string]: any;
|
38328
|
-
} | undefined;
|
38329
|
-
company?: {
|
38330
|
-
[x: string]: any;
|
38331
|
-
} | undefined;
|
38332
|
-
customFields?: {
|
38333
|
-
[x: string]: any;
|
38334
|
-
}[] | undefined;
|
38335
|
-
}>;
|
38336
|
-
summary: "Update a contact";
|
38337
|
-
method: "PATCH";
|
38338
|
-
pathParams: import("zod").ZodObject<{
|
38339
|
-
id: import("zod").ZodString;
|
38123
|
+
filterContacts: {
|
38124
|
+
summary: "Get all contacts by filtering with only keyword";
|
38125
|
+
method: "GET";
|
38126
|
+
query: import("zod").ZodObject<{
|
38127
|
+
page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
38128
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
38129
|
+
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
38340
38130
|
}, "strip", import("zod").ZodTypeAny, {
|
38341
|
-
|
38131
|
+
page?: number | undefined;
|
38132
|
+
pageSize?: number | undefined;
|
38133
|
+
keyword?: string | undefined;
|
38342
38134
|
}, {
|
38343
|
-
|
38135
|
+
page?: number | undefined;
|
38136
|
+
pageSize?: number | undefined;
|
38137
|
+
keyword?: string | undefined;
|
38344
38138
|
}>;
|
38345
38139
|
responses: {
|
38346
38140
|
200: import("zod").ZodObject<{
|
38347
38141
|
requestId: import("zod").ZodString;
|
38348
|
-
|
38142
|
+
page: import("zod").ZodNumber;
|
38143
|
+
pageSize: import("zod").ZodNumber;
|
38144
|
+
total: import("zod").ZodNumber;
|
38145
|
+
lastPage: import("zod").ZodNumber;
|
38146
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
38349
38147
|
id: import("zod").ZodString;
|
38350
38148
|
createdAt: import("zod").ZodDate;
|
38351
38149
|
updatedAt: import("zod").ZodDate;
|
@@ -39031,7 +38829,7 @@ export declare const apiContract: {
|
|
39031
38829
|
entity: string;
|
39032
38830
|
};
|
39033
38831
|
}[] | undefined;
|
39034
|
-
}>;
|
38832
|
+
}>, "many">;
|
39035
38833
|
}, "strip", import("zod").ZodTypeAny, {
|
39036
38834
|
data: {
|
39037
38835
|
id: string;
|
@@ -39129,7 +38927,11 @@ export declare const apiContract: {
|
|
39129
38927
|
entity: string;
|
39130
38928
|
};
|
39131
38929
|
}[] | undefined;
|
39132
|
-
};
|
38930
|
+
}[];
|
38931
|
+
total: number;
|
38932
|
+
page: number;
|
38933
|
+
pageSize: number;
|
38934
|
+
lastPage: number;
|
39133
38935
|
requestId: string;
|
39134
38936
|
}, {
|
39135
38937
|
data: {
|
@@ -39228,7 +39030,11 @@ export declare const apiContract: {
|
|
39228
39030
|
entity: string;
|
39229
39031
|
};
|
39230
39032
|
}[] | undefined;
|
39231
|
-
};
|
39033
|
+
}[];
|
39034
|
+
total: number;
|
39035
|
+
page: number;
|
39036
|
+
pageSize: number;
|
39037
|
+
lastPage: number;
|
39232
39038
|
requestId: string;
|
39233
39039
|
}>;
|
39234
39040
|
400: import("zod").ZodObject<{
|
@@ -39283,7 +39089,7 @@ export declare const apiContract: {
|
|
39283
39089
|
error?: any;
|
39284
39090
|
}>;
|
39285
39091
|
};
|
39286
|
-
path: "contact
|
39092
|
+
path: "contact/filter/list";
|
39287
39093
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
39288
39094
|
'x-tenant': import("zod").ZodString;
|
39289
39095
|
authorization: import("zod").ZodString;
|
@@ -39301,110 +39107,121 @@ export declare const apiContract: {
|
|
39301
39107
|
'x-client-timezone'?: string | undefined;
|
39302
39108
|
}>>>;
|
39303
39109
|
};
|
39304
|
-
|
39305
|
-
body:
|
39306
|
-
|
39307
|
-
|
39308
|
-
pathParams: import("zod").ZodObject<{
|
39309
|
-
id: import("zod").ZodString;
|
39310
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39311
|
-
id: string;
|
39312
|
-
}, {
|
39313
|
-
id: string;
|
39314
|
-
}>;
|
39315
|
-
responses: {
|
39316
|
-
200: import("zod").ZodObject<{
|
39317
|
-
requestId: import("zod").ZodString;
|
39318
|
-
message: import("zod").ZodString;
|
39319
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39320
|
-
message: string;
|
39321
|
-
requestId: string;
|
39110
|
+
update: {
|
39111
|
+
body: import("zod").ZodObject<{
|
39112
|
+
name: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39113
|
+
[x: string]: any;
|
39322
39114
|
}, {
|
39323
|
-
|
39324
|
-
|
39325
|
-
|
39326
|
-
|
39327
|
-
message: import("zod").ZodString;
|
39328
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39329
|
-
message: string;
|
39115
|
+
[x: string]: any;
|
39116
|
+
}>>;
|
39117
|
+
email: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39118
|
+
[x: string]: any;
|
39330
39119
|
}, {
|
39331
|
-
|
39332
|
-
}
|
39333
|
-
|
39334
|
-
|
39335
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39336
|
-
message: string;
|
39120
|
+
[x: string]: any;
|
39121
|
+
}>>;
|
39122
|
+
channel: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39123
|
+
[x: string]: any;
|
39337
39124
|
}, {
|
39338
|
-
|
39339
|
-
}
|
39340
|
-
|
39341
|
-
|
39342
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39343
|
-
message: string;
|
39125
|
+
[x: string]: any;
|
39126
|
+
}>>;
|
39127
|
+
address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39128
|
+
[x: string]: any;
|
39344
39129
|
}, {
|
39345
|
-
|
39346
|
-
}
|
39347
|
-
|
39348
|
-
|
39349
|
-
error: import("zod").ZodAny;
|
39350
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39351
|
-
message: string;
|
39352
|
-
error?: any;
|
39130
|
+
[x: string]: any;
|
39131
|
+
}>>;
|
39132
|
+
phone: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39133
|
+
[x: string]: any;
|
39353
39134
|
}, {
|
39354
|
-
|
39355
|
-
|
39356
|
-
|
39357
|
-
|
39358
|
-
message: import("zod").ZodString;
|
39359
|
-
error: import("zod").ZodAny;
|
39360
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39361
|
-
message: string;
|
39362
|
-
error?: any;
|
39135
|
+
[x: string]: any;
|
39136
|
+
}>>>;
|
39137
|
+
notes: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39138
|
+
[x: string]: any;
|
39363
39139
|
}, {
|
39364
|
-
|
39365
|
-
|
39366
|
-
|
39367
|
-
|
39368
|
-
message: import("zod").ZodString;
|
39369
|
-
error: import("zod").ZodAny;
|
39370
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39371
|
-
message: string;
|
39372
|
-
error?: any;
|
39140
|
+
[x: string]: any;
|
39141
|
+
}>>;
|
39142
|
+
tags: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39143
|
+
[x: string]: any;
|
39373
39144
|
}, {
|
39374
|
-
|
39375
|
-
|
39376
|
-
|
39377
|
-
|
39378
|
-
|
39379
|
-
|
39380
|
-
|
39381
|
-
|
39382
|
-
|
39383
|
-
|
39145
|
+
[x: string]: any;
|
39146
|
+
}>>;
|
39147
|
+
company: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39148
|
+
[x: string]: any;
|
39149
|
+
}, {
|
39150
|
+
[x: string]: any;
|
39151
|
+
}>>;
|
39152
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").AnyZodObject, {
|
39153
|
+
[x: string]: any;
|
39154
|
+
}, {
|
39155
|
+
[x: string]: any;
|
39156
|
+
}>, "many">>;
|
39384
39157
|
}, "strip", import("zod").ZodTypeAny, {
|
39385
|
-
|
39386
|
-
|
39387
|
-
|
39388
|
-
|
39158
|
+
name?: {
|
39159
|
+
[x: string]: any;
|
39160
|
+
} | undefined;
|
39161
|
+
email?: {
|
39162
|
+
[x: string]: any;
|
39163
|
+
} | undefined;
|
39164
|
+
channel?: {
|
39165
|
+
[x: string]: any;
|
39166
|
+
} | undefined;
|
39167
|
+
address?: {
|
39168
|
+
[x: string]: any;
|
39169
|
+
} | undefined;
|
39170
|
+
phone?: {
|
39171
|
+
[x: string]: any;
|
39172
|
+
} | undefined;
|
39173
|
+
notes?: {
|
39174
|
+
[x: string]: any;
|
39175
|
+
} | undefined;
|
39176
|
+
tags?: {
|
39177
|
+
[x: string]: any;
|
39178
|
+
} | undefined;
|
39179
|
+
company?: {
|
39180
|
+
[x: string]: any;
|
39181
|
+
} | undefined;
|
39182
|
+
customFields?: {
|
39183
|
+
[x: string]: any;
|
39184
|
+
}[] | undefined;
|
39389
39185
|
}, {
|
39390
|
-
|
39391
|
-
|
39392
|
-
|
39393
|
-
|
39394
|
-
|
39395
|
-
|
39396
|
-
|
39397
|
-
|
39398
|
-
|
39186
|
+
name?: {
|
39187
|
+
[x: string]: any;
|
39188
|
+
} | undefined;
|
39189
|
+
email?: {
|
39190
|
+
[x: string]: any;
|
39191
|
+
} | undefined;
|
39192
|
+
channel?: {
|
39193
|
+
[x: string]: any;
|
39194
|
+
} | undefined;
|
39195
|
+
address?: {
|
39196
|
+
[x: string]: any;
|
39197
|
+
} | undefined;
|
39198
|
+
phone?: {
|
39199
|
+
[x: string]: any;
|
39200
|
+
} | undefined;
|
39201
|
+
notes?: {
|
39202
|
+
[x: string]: any;
|
39203
|
+
} | undefined;
|
39204
|
+
tags?: {
|
39205
|
+
[x: string]: any;
|
39206
|
+
} | undefined;
|
39207
|
+
company?: {
|
39208
|
+
[x: string]: any;
|
39209
|
+
} | undefined;
|
39210
|
+
customFields?: {
|
39211
|
+
[x: string]: any;
|
39212
|
+
}[] | undefined;
|
39213
|
+
}>;
|
39214
|
+
summary: "Update a contact";
|
39215
|
+
method: "PATCH";
|
39216
|
+
pathParams: import("zod").ZodObject<{
|
39217
|
+
id: import("zod").ZodString;
|
39399
39218
|
}, "strip", import("zod").ZodTypeAny, {
|
39400
|
-
|
39219
|
+
id: string;
|
39401
39220
|
}, {
|
39402
|
-
|
39221
|
+
id: string;
|
39403
39222
|
}>;
|
39404
|
-
summary: "Create a new contact using phone number";
|
39405
|
-
method: "POST";
|
39406
39223
|
responses: {
|
39407
|
-
|
39224
|
+
200: import("zod").ZodObject<{
|
39408
39225
|
requestId: import("zod").ZodString;
|
39409
39226
|
data: import("zod").ZodObject<{
|
39410
39227
|
id: import("zod").ZodString;
|
@@ -40344,7 +40161,7 @@ export declare const apiContract: {
|
|
40344
40161
|
error?: any;
|
40345
40162
|
}>;
|
40346
40163
|
};
|
40347
|
-
path: "contact
|
40164
|
+
path: "contact/:id";
|
40348
40165
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
40349
40166
|
'x-tenant': import("zod").ZodString;
|
40350
40167
|
authorization: import("zod").ZodString;
|
@@ -40362,19 +40179,1080 @@ export declare const apiContract: {
|
|
40362
40179
|
'x-client-timezone'?: string | undefined;
|
40363
40180
|
}>>>;
|
40364
40181
|
};
|
40365
|
-
|
40182
|
+
delete: {
|
40183
|
+
body: null;
|
40184
|
+
summary: "Delete a contact";
|
40185
|
+
method: "DELETE";
|
40186
|
+
pathParams: import("zod").ZodObject<{
|
40187
|
+
id: import("zod").ZodString;
|
40188
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40189
|
+
id: string;
|
40190
|
+
}, {
|
40191
|
+
id: string;
|
40192
|
+
}>;
|
40193
|
+
responses: {
|
40194
|
+
200: import("zod").ZodObject<{
|
40195
|
+
requestId: import("zod").ZodString;
|
40196
|
+
message: import("zod").ZodString;
|
40197
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40198
|
+
message: string;
|
40199
|
+
requestId: string;
|
40200
|
+
}, {
|
40201
|
+
message: string;
|
40202
|
+
requestId: string;
|
40203
|
+
}>;
|
40204
|
+
400: import("zod").ZodObject<{
|
40205
|
+
message: import("zod").ZodString;
|
40206
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40207
|
+
message: string;
|
40208
|
+
}, {
|
40209
|
+
message: string;
|
40210
|
+
}>;
|
40211
|
+
409: import("zod").ZodObject<{
|
40212
|
+
message: import("zod").ZodString;
|
40213
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40214
|
+
message: string;
|
40215
|
+
}, {
|
40216
|
+
message: string;
|
40217
|
+
}>;
|
40218
|
+
500: import("zod").ZodObject<{
|
40219
|
+
message: import("zod").ZodString;
|
40220
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40221
|
+
message: string;
|
40222
|
+
}, {
|
40223
|
+
message: string;
|
40224
|
+
}>;
|
40225
|
+
401: import("zod").ZodObject<{
|
40226
|
+
message: import("zod").ZodString;
|
40227
|
+
error: import("zod").ZodAny;
|
40228
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40229
|
+
message: string;
|
40230
|
+
error?: any;
|
40231
|
+
}, {
|
40232
|
+
message: string;
|
40233
|
+
error?: any;
|
40234
|
+
}>;
|
40235
|
+
404: import("zod").ZodObject<{
|
40236
|
+
message: import("zod").ZodString;
|
40237
|
+
error: import("zod").ZodAny;
|
40238
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40239
|
+
message: string;
|
40240
|
+
error?: any;
|
40241
|
+
}, {
|
40242
|
+
message: string;
|
40243
|
+
error?: any;
|
40244
|
+
}>;
|
40245
|
+
422: import("zod").ZodObject<{
|
40246
|
+
message: import("zod").ZodString;
|
40247
|
+
error: import("zod").ZodAny;
|
40248
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40249
|
+
message: string;
|
40250
|
+
error?: any;
|
40251
|
+
}, {
|
40252
|
+
message: string;
|
40253
|
+
error?: any;
|
40254
|
+
}>;
|
40255
|
+
};
|
40256
|
+
path: "contact/:id";
|
40257
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
40258
|
+
'x-tenant': import("zod").ZodString;
|
40259
|
+
authorization: import("zod").ZodString;
|
40260
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
40261
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
40262
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40263
|
+
'x-tenant': string;
|
40264
|
+
authorization: string;
|
40265
|
+
'x-client-timezone': string;
|
40266
|
+
'x-code'?: string | undefined;
|
40267
|
+
}, {
|
40268
|
+
'x-tenant': string;
|
40269
|
+
authorization: string;
|
40270
|
+
'x-code'?: string | undefined;
|
40271
|
+
'x-client-timezone'?: string | undefined;
|
40272
|
+
}>>>;
|
40273
|
+
};
|
40274
|
+
createContactByPhone: {
|
40366
40275
|
body: import("zod").ZodObject<{
|
40367
|
-
|
40368
|
-
companyId: import("zod").ZodOptional<import("zod").ZodString>;
|
40276
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
40369
40277
|
}, "strip", import("zod").ZodTypeAny, {
|
40370
|
-
|
40371
|
-
companyId?: string | undefined;
|
40278
|
+
phoneNumber: string;
|
40372
40279
|
}, {
|
40373
|
-
|
40374
|
-
companyId?: string | undefined;
|
40280
|
+
phoneNumber: string;
|
40375
40281
|
}>;
|
40376
|
-
summary: "
|
40377
|
-
method: "
|
40282
|
+
summary: "Create a new contact using phone number";
|
40283
|
+
method: "POST";
|
40284
|
+
responses: {
|
40285
|
+
201: import("zod").ZodObject<{
|
40286
|
+
requestId: import("zod").ZodString;
|
40287
|
+
data: import("zod").ZodObject<{
|
40288
|
+
id: import("zod").ZodString;
|
40289
|
+
createdAt: import("zod").ZodDate;
|
40290
|
+
updatedAt: import("zod").ZodDate;
|
40291
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40292
|
+
name: import("zod").ZodString;
|
40293
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
40294
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
40295
|
+
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
40296
|
+
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
40297
|
+
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
40298
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
40299
|
+
id: import("zod").ZodString;
|
40300
|
+
createdAt: import("zod").ZodDate;
|
40301
|
+
updatedAt: import("zod").ZodDate;
|
40302
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40303
|
+
name: import("zod").ZodString;
|
40304
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40305
|
+
id: string;
|
40306
|
+
name: string;
|
40307
|
+
createdAt: Date;
|
40308
|
+
updatedAt: Date;
|
40309
|
+
deletedAt: Date | null;
|
40310
|
+
}, {
|
40311
|
+
id: string;
|
40312
|
+
name: string;
|
40313
|
+
createdAt: Date;
|
40314
|
+
updatedAt: Date;
|
40315
|
+
deletedAt: Date | null;
|
40316
|
+
}>, "many">;
|
40317
|
+
company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
|
40318
|
+
id: import("zod").ZodString;
|
40319
|
+
createdAt: import("zod").ZodDate;
|
40320
|
+
updatedAt: import("zod").ZodDate;
|
40321
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40322
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
40323
|
+
phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40324
|
+
address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40325
|
+
industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40326
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
40327
|
+
id: import("zod").ZodString;
|
40328
|
+
createdAt: import("zod").ZodDate;
|
40329
|
+
updatedAt: import("zod").ZodDate;
|
40330
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40331
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
40332
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
40333
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
40334
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
40335
|
+
attribute: import("zod").ZodObject<Omit<{
|
40336
|
+
id: import("zod").ZodString;
|
40337
|
+
createdAt: import("zod").ZodDate;
|
40338
|
+
updatedAt: import("zod").ZodDate;
|
40339
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40340
|
+
systemName: import("zod").ZodString;
|
40341
|
+
displayName: import("zod").ZodString;
|
40342
|
+
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">]>;
|
40343
|
+
position: import("zod").ZodNumber;
|
40344
|
+
isDefault: import("zod").ZodBoolean;
|
40345
|
+
isArchived: import("zod").ZodBoolean;
|
40346
|
+
isRequired: import("zod").ZodBoolean;
|
40347
|
+
isUnique: import("zod").ZodBoolean;
|
40348
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
40349
|
+
position: import("zod").ZodNumber;
|
40350
|
+
value: import("zod").ZodString;
|
40351
|
+
label: import("zod").ZodString;
|
40352
|
+
isDefault: import("zod").ZodBoolean;
|
40353
|
+
id: import("zod").ZodString;
|
40354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40355
|
+
id: string;
|
40356
|
+
position: number;
|
40357
|
+
value: string;
|
40358
|
+
label: string;
|
40359
|
+
isDefault: boolean;
|
40360
|
+
}, {
|
40361
|
+
id: string;
|
40362
|
+
position: number;
|
40363
|
+
value: string;
|
40364
|
+
label: string;
|
40365
|
+
isDefault: boolean;
|
40366
|
+
}>, "many">;
|
40367
|
+
group: import("zod").ZodObject<{
|
40368
|
+
id: import("zod").ZodString;
|
40369
|
+
createdAt: import("zod").ZodDate;
|
40370
|
+
updatedAt: import("zod").ZodDate;
|
40371
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40372
|
+
systemName: import("zod").ZodString;
|
40373
|
+
displayName: import("zod").ZodString;
|
40374
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40375
|
+
id: string;
|
40376
|
+
createdAt: Date;
|
40377
|
+
updatedAt: Date;
|
40378
|
+
deletedAt: Date | null;
|
40379
|
+
systemName: string;
|
40380
|
+
displayName: string;
|
40381
|
+
}, {
|
40382
|
+
id: string;
|
40383
|
+
createdAt: Date;
|
40384
|
+
updatedAt: Date;
|
40385
|
+
deletedAt: Date | null;
|
40386
|
+
systemName: string;
|
40387
|
+
displayName: string;
|
40388
|
+
}>;
|
40389
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
40390
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40391
|
+
id: string;
|
40392
|
+
position: number;
|
40393
|
+
createdAt: Date;
|
40394
|
+
updatedAt: Date;
|
40395
|
+
deletedAt: Date | null;
|
40396
|
+
systemName: string;
|
40397
|
+
displayName: string;
|
40398
|
+
isDefault: boolean;
|
40399
|
+
isArchived: boolean;
|
40400
|
+
isRequired: boolean;
|
40401
|
+
isUnique: boolean;
|
40402
|
+
}, {
|
40403
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40404
|
+
id: string;
|
40405
|
+
position: number;
|
40406
|
+
createdAt: Date;
|
40407
|
+
updatedAt: Date;
|
40408
|
+
deletedAt: Date | null;
|
40409
|
+
systemName: string;
|
40410
|
+
displayName: string;
|
40411
|
+
isDefault: boolean;
|
40412
|
+
isArchived: boolean;
|
40413
|
+
isRequired: boolean;
|
40414
|
+
isUnique: boolean;
|
40415
|
+
}>;
|
40416
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40417
|
+
id: string;
|
40418
|
+
createdAt: Date;
|
40419
|
+
updatedAt: Date;
|
40420
|
+
deletedAt: Date | null;
|
40421
|
+
attribute: {
|
40422
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40423
|
+
id: string;
|
40424
|
+
position: number;
|
40425
|
+
createdAt: Date;
|
40426
|
+
updatedAt: Date;
|
40427
|
+
deletedAt: Date | null;
|
40428
|
+
systemName: string;
|
40429
|
+
displayName: string;
|
40430
|
+
isDefault: boolean;
|
40431
|
+
isArchived: boolean;
|
40432
|
+
isRequired: boolean;
|
40433
|
+
isUnique: boolean;
|
40434
|
+
};
|
40435
|
+
textValue: string | null;
|
40436
|
+
booleanValue: boolean | null;
|
40437
|
+
numberValue: number | null;
|
40438
|
+
dateValue: Date | null;
|
40439
|
+
}, {
|
40440
|
+
id: string;
|
40441
|
+
createdAt: Date;
|
40442
|
+
updatedAt: Date;
|
40443
|
+
deletedAt: Date | null;
|
40444
|
+
attribute: {
|
40445
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40446
|
+
id: string;
|
40447
|
+
position: number;
|
40448
|
+
createdAt: Date;
|
40449
|
+
updatedAt: Date;
|
40450
|
+
deletedAt: Date | null;
|
40451
|
+
systemName: string;
|
40452
|
+
displayName: string;
|
40453
|
+
isDefault: boolean;
|
40454
|
+
isArchived: boolean;
|
40455
|
+
isRequired: boolean;
|
40456
|
+
isUnique: boolean;
|
40457
|
+
};
|
40458
|
+
textValue: string | null;
|
40459
|
+
booleanValue: boolean | null;
|
40460
|
+
numberValue: number | null;
|
40461
|
+
dateValue: Date | null;
|
40462
|
+
}>, "many">>;
|
40463
|
+
}, "customFields">, "strip", import("zod").ZodTypeAny, {
|
40464
|
+
id: string;
|
40465
|
+
createdAt: Date;
|
40466
|
+
updatedAt: Date;
|
40467
|
+
deletedAt: Date | null;
|
40468
|
+
address?: string | null | undefined;
|
40469
|
+
name?: string | undefined;
|
40470
|
+
phone?: string | null | undefined;
|
40471
|
+
industry?: string | null | undefined;
|
40472
|
+
}, {
|
40473
|
+
id: string;
|
40474
|
+
createdAt: Date;
|
40475
|
+
updatedAt: Date;
|
40476
|
+
deletedAt: Date | null;
|
40477
|
+
address?: string | null | undefined;
|
40478
|
+
name?: string | undefined;
|
40479
|
+
phone?: string | null | undefined;
|
40480
|
+
industry?: string | null | undefined;
|
40481
|
+
}>>;
|
40482
|
+
customFields: import("zod").ZodArray<import("zod").ZodObject<{
|
40483
|
+
id: import("zod").ZodString;
|
40484
|
+
createdAt: import("zod").ZodDate;
|
40485
|
+
updatedAt: import("zod").ZodDate;
|
40486
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40487
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
40488
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
40489
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
40490
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
40491
|
+
attribute: import("zod").ZodObject<Omit<{
|
40492
|
+
id: import("zod").ZodString;
|
40493
|
+
createdAt: import("zod").ZodDate;
|
40494
|
+
updatedAt: import("zod").ZodDate;
|
40495
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40496
|
+
systemName: import("zod").ZodString;
|
40497
|
+
displayName: import("zod").ZodString;
|
40498
|
+
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">]>;
|
40499
|
+
position: import("zod").ZodNumber;
|
40500
|
+
isDefault: import("zod").ZodBoolean;
|
40501
|
+
isArchived: import("zod").ZodBoolean;
|
40502
|
+
isRequired: import("zod").ZodBoolean;
|
40503
|
+
isUnique: import("zod").ZodBoolean;
|
40504
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
40505
|
+
position: import("zod").ZodNumber;
|
40506
|
+
value: import("zod").ZodString;
|
40507
|
+
label: import("zod").ZodString;
|
40508
|
+
isDefault: import("zod").ZodBoolean;
|
40509
|
+
id: import("zod").ZodString;
|
40510
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40511
|
+
id: string;
|
40512
|
+
position: number;
|
40513
|
+
value: string;
|
40514
|
+
label: string;
|
40515
|
+
isDefault: boolean;
|
40516
|
+
}, {
|
40517
|
+
id: string;
|
40518
|
+
position: number;
|
40519
|
+
value: string;
|
40520
|
+
label: string;
|
40521
|
+
isDefault: boolean;
|
40522
|
+
}>, "many">;
|
40523
|
+
group: import("zod").ZodObject<{
|
40524
|
+
id: import("zod").ZodString;
|
40525
|
+
createdAt: import("zod").ZodDate;
|
40526
|
+
updatedAt: import("zod").ZodDate;
|
40527
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40528
|
+
systemName: import("zod").ZodString;
|
40529
|
+
displayName: import("zod").ZodString;
|
40530
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40531
|
+
id: string;
|
40532
|
+
createdAt: Date;
|
40533
|
+
updatedAt: Date;
|
40534
|
+
deletedAt: Date | null;
|
40535
|
+
systemName: string;
|
40536
|
+
displayName: string;
|
40537
|
+
}, {
|
40538
|
+
id: string;
|
40539
|
+
createdAt: Date;
|
40540
|
+
updatedAt: Date;
|
40541
|
+
deletedAt: Date | null;
|
40542
|
+
systemName: string;
|
40543
|
+
displayName: string;
|
40544
|
+
}>;
|
40545
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
40546
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40547
|
+
id: string;
|
40548
|
+
position: number;
|
40549
|
+
createdAt: Date;
|
40550
|
+
updatedAt: Date;
|
40551
|
+
deletedAt: Date | null;
|
40552
|
+
systemName: string;
|
40553
|
+
displayName: string;
|
40554
|
+
isDefault: boolean;
|
40555
|
+
isArchived: boolean;
|
40556
|
+
isRequired: boolean;
|
40557
|
+
isUnique: boolean;
|
40558
|
+
}, {
|
40559
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40560
|
+
id: string;
|
40561
|
+
position: number;
|
40562
|
+
createdAt: Date;
|
40563
|
+
updatedAt: Date;
|
40564
|
+
deletedAt: Date | null;
|
40565
|
+
systemName: string;
|
40566
|
+
displayName: string;
|
40567
|
+
isDefault: boolean;
|
40568
|
+
isArchived: boolean;
|
40569
|
+
isRequired: boolean;
|
40570
|
+
isUnique: boolean;
|
40571
|
+
}>;
|
40572
|
+
uploads: import("zod").ZodArray<import("zod").ZodObject<{
|
40573
|
+
id: import("zod").ZodString;
|
40574
|
+
createdAt: import("zod").ZodDate;
|
40575
|
+
updatedAt: import("zod").ZodDate;
|
40576
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40577
|
+
bucketName: import("zod").ZodString;
|
40578
|
+
fileName: import("zod").ZodString;
|
40579
|
+
fileSize: import("zod").ZodNumber;
|
40580
|
+
fileKey: import("zod").ZodString;
|
40581
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
40582
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
40583
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40584
|
+
id: string;
|
40585
|
+
createdAt: Date;
|
40586
|
+
updatedAt: Date;
|
40587
|
+
deletedAt: Date | null;
|
40588
|
+
fileName: string;
|
40589
|
+
fileKey: string;
|
40590
|
+
bucketName: string;
|
40591
|
+
fileSize: number;
|
40592
|
+
fileUrl: string | null;
|
40593
|
+
status?: string | undefined;
|
40594
|
+
}, {
|
40595
|
+
id: string;
|
40596
|
+
createdAt: Date;
|
40597
|
+
updatedAt: Date;
|
40598
|
+
deletedAt: Date | null;
|
40599
|
+
fileName: string;
|
40600
|
+
fileKey: string;
|
40601
|
+
bucketName: string;
|
40602
|
+
fileSize: number;
|
40603
|
+
fileUrl: string | null;
|
40604
|
+
status?: string | undefined;
|
40605
|
+
}>, "many">;
|
40606
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40607
|
+
id: string;
|
40608
|
+
createdAt: Date;
|
40609
|
+
updatedAt: Date;
|
40610
|
+
deletedAt: Date | null;
|
40611
|
+
attribute: {
|
40612
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40613
|
+
id: string;
|
40614
|
+
position: number;
|
40615
|
+
createdAt: Date;
|
40616
|
+
updatedAt: Date;
|
40617
|
+
deletedAt: Date | null;
|
40618
|
+
systemName: string;
|
40619
|
+
displayName: string;
|
40620
|
+
isDefault: boolean;
|
40621
|
+
isArchived: boolean;
|
40622
|
+
isRequired: boolean;
|
40623
|
+
isUnique: boolean;
|
40624
|
+
};
|
40625
|
+
textValue: string | null;
|
40626
|
+
booleanValue: boolean | null;
|
40627
|
+
numberValue: number | null;
|
40628
|
+
dateValue: Date | null;
|
40629
|
+
uploads: {
|
40630
|
+
id: string;
|
40631
|
+
createdAt: Date;
|
40632
|
+
updatedAt: Date;
|
40633
|
+
deletedAt: Date | null;
|
40634
|
+
fileName: string;
|
40635
|
+
fileKey: string;
|
40636
|
+
bucketName: string;
|
40637
|
+
fileSize: number;
|
40638
|
+
fileUrl: string | null;
|
40639
|
+
status?: string | undefined;
|
40640
|
+
}[];
|
40641
|
+
}, {
|
40642
|
+
id: string;
|
40643
|
+
createdAt: Date;
|
40644
|
+
updatedAt: Date;
|
40645
|
+
deletedAt: Date | null;
|
40646
|
+
attribute: {
|
40647
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40648
|
+
id: string;
|
40649
|
+
position: number;
|
40650
|
+
createdAt: Date;
|
40651
|
+
updatedAt: Date;
|
40652
|
+
deletedAt: Date | null;
|
40653
|
+
systemName: string;
|
40654
|
+
displayName: string;
|
40655
|
+
isDefault: boolean;
|
40656
|
+
isArchived: boolean;
|
40657
|
+
isRequired: boolean;
|
40658
|
+
isUnique: boolean;
|
40659
|
+
};
|
40660
|
+
textValue: string | null;
|
40661
|
+
booleanValue: boolean | null;
|
40662
|
+
numberValue: number | null;
|
40663
|
+
dateValue: Date | null;
|
40664
|
+
uploads: {
|
40665
|
+
id: string;
|
40666
|
+
createdAt: Date;
|
40667
|
+
updatedAt: Date;
|
40668
|
+
deletedAt: Date | null;
|
40669
|
+
fileName: string;
|
40670
|
+
fileKey: string;
|
40671
|
+
bucketName: string;
|
40672
|
+
fileSize: number;
|
40673
|
+
fileUrl: string | null;
|
40674
|
+
status?: string | undefined;
|
40675
|
+
}[];
|
40676
|
+
}>, "many">;
|
40677
|
+
contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
|
40678
|
+
id: import("zod").ZodString;
|
40679
|
+
createdAt: import("zod").ZodDate;
|
40680
|
+
updatedAt: import("zod").ZodDate;
|
40681
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40682
|
+
email: import("zod").ZodString;
|
40683
|
+
isPrimary: import("zod").ZodBoolean;
|
40684
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40685
|
+
id: string;
|
40686
|
+
isPrimary: boolean;
|
40687
|
+
email: string;
|
40688
|
+
createdAt: Date;
|
40689
|
+
updatedAt: Date;
|
40690
|
+
deletedAt: Date | null;
|
40691
|
+
}, {
|
40692
|
+
id: string;
|
40693
|
+
isPrimary: boolean;
|
40694
|
+
email: string;
|
40695
|
+
createdAt: Date;
|
40696
|
+
updatedAt: Date;
|
40697
|
+
deletedAt: Date | null;
|
40698
|
+
}>, "many">;
|
40699
|
+
contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
|
40700
|
+
id: import("zod").ZodString;
|
40701
|
+
createdAt: import("zod").ZodDate;
|
40702
|
+
updatedAt: import("zod").ZodDate;
|
40703
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40704
|
+
phone: import("zod").ZodString;
|
40705
|
+
isPrimary: import("zod").ZodBoolean;
|
40706
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40707
|
+
id: string;
|
40708
|
+
isPrimary: boolean;
|
40709
|
+
createdAt: Date;
|
40710
|
+
updatedAt: Date;
|
40711
|
+
deletedAt: Date | null;
|
40712
|
+
phone: string;
|
40713
|
+
}, {
|
40714
|
+
id: string;
|
40715
|
+
isPrimary: boolean;
|
40716
|
+
createdAt: Date;
|
40717
|
+
updatedAt: Date;
|
40718
|
+
deletedAt: Date | null;
|
40719
|
+
phone: string;
|
40720
|
+
}>, "many">;
|
40721
|
+
activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
40722
|
+
id: import("zod").ZodString;
|
40723
|
+
createdAt: import("zod").ZodDate;
|
40724
|
+
updatedAt: import("zod").ZodDate;
|
40725
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40726
|
+
entityId: import("zod").ZodString;
|
40727
|
+
description: import("zod").ZodString;
|
40728
|
+
entityType: import("zod").ZodObject<{
|
40729
|
+
id: import("zod").ZodString;
|
40730
|
+
createdAt: import("zod").ZodDate;
|
40731
|
+
updatedAt: import("zod").ZodDate;
|
40732
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40733
|
+
entity: import("zod").ZodString;
|
40734
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
40735
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40736
|
+
id: string;
|
40737
|
+
description: string | null;
|
40738
|
+
createdAt: Date;
|
40739
|
+
updatedAt: Date;
|
40740
|
+
deletedAt: Date | null;
|
40741
|
+
entity: string;
|
40742
|
+
}, {
|
40743
|
+
id: string;
|
40744
|
+
description: string | null;
|
40745
|
+
createdAt: Date;
|
40746
|
+
updatedAt: Date;
|
40747
|
+
deletedAt: Date | null;
|
40748
|
+
entity: string;
|
40749
|
+
}>;
|
40750
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40751
|
+
id: string;
|
40752
|
+
description: string;
|
40753
|
+
createdAt: Date;
|
40754
|
+
updatedAt: Date;
|
40755
|
+
deletedAt: Date | null;
|
40756
|
+
entityId: string;
|
40757
|
+
entityType: {
|
40758
|
+
id: string;
|
40759
|
+
description: string | null;
|
40760
|
+
createdAt: Date;
|
40761
|
+
updatedAt: Date;
|
40762
|
+
deletedAt: Date | null;
|
40763
|
+
entity: string;
|
40764
|
+
};
|
40765
|
+
}, {
|
40766
|
+
id: string;
|
40767
|
+
description: string;
|
40768
|
+
createdAt: Date;
|
40769
|
+
updatedAt: Date;
|
40770
|
+
deletedAt: Date | null;
|
40771
|
+
entityId: string;
|
40772
|
+
entityType: {
|
40773
|
+
id: string;
|
40774
|
+
description: string | null;
|
40775
|
+
createdAt: Date;
|
40776
|
+
updatedAt: Date;
|
40777
|
+
deletedAt: Date | null;
|
40778
|
+
entity: string;
|
40779
|
+
};
|
40780
|
+
}>, "many">>;
|
40781
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40782
|
+
id: string;
|
40783
|
+
channel: string | null;
|
40784
|
+
address: string | null;
|
40785
|
+
name: string;
|
40786
|
+
createdAt: Date;
|
40787
|
+
updatedAt: Date;
|
40788
|
+
deletedAt: Date | null;
|
40789
|
+
customFields: {
|
40790
|
+
id: string;
|
40791
|
+
createdAt: Date;
|
40792
|
+
updatedAt: Date;
|
40793
|
+
deletedAt: Date | null;
|
40794
|
+
attribute: {
|
40795
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40796
|
+
id: string;
|
40797
|
+
position: number;
|
40798
|
+
createdAt: Date;
|
40799
|
+
updatedAt: Date;
|
40800
|
+
deletedAt: Date | null;
|
40801
|
+
systemName: string;
|
40802
|
+
displayName: string;
|
40803
|
+
isDefault: boolean;
|
40804
|
+
isArchived: boolean;
|
40805
|
+
isRequired: boolean;
|
40806
|
+
isUnique: boolean;
|
40807
|
+
};
|
40808
|
+
textValue: string | null;
|
40809
|
+
booleanValue: boolean | null;
|
40810
|
+
numberValue: number | null;
|
40811
|
+
dateValue: Date | null;
|
40812
|
+
uploads: {
|
40813
|
+
id: string;
|
40814
|
+
createdAt: Date;
|
40815
|
+
updatedAt: Date;
|
40816
|
+
deletedAt: Date | null;
|
40817
|
+
fileName: string;
|
40818
|
+
fileKey: string;
|
40819
|
+
bucketName: string;
|
40820
|
+
fileSize: number;
|
40821
|
+
fileUrl: string | null;
|
40822
|
+
status?: string | undefined;
|
40823
|
+
}[];
|
40824
|
+
}[];
|
40825
|
+
company: {
|
40826
|
+
id: string;
|
40827
|
+
createdAt: Date;
|
40828
|
+
updatedAt: Date;
|
40829
|
+
deletedAt: Date | null;
|
40830
|
+
address?: string | null | undefined;
|
40831
|
+
name?: string | undefined;
|
40832
|
+
phone?: string | null | undefined;
|
40833
|
+
industry?: string | null | undefined;
|
40834
|
+
} | null;
|
40835
|
+
notes: string | null;
|
40836
|
+
contactProfile: string | null;
|
40837
|
+
socialProfileUrl: string | null;
|
40838
|
+
tags: {
|
40839
|
+
id: string;
|
40840
|
+
name: string;
|
40841
|
+
createdAt: Date;
|
40842
|
+
updatedAt: Date;
|
40843
|
+
deletedAt: Date | null;
|
40844
|
+
}[];
|
40845
|
+
contactEmails: {
|
40846
|
+
id: string;
|
40847
|
+
isPrimary: boolean;
|
40848
|
+
email: string;
|
40849
|
+
createdAt: Date;
|
40850
|
+
updatedAt: Date;
|
40851
|
+
deletedAt: Date | null;
|
40852
|
+
}[];
|
40853
|
+
contactPhones: {
|
40854
|
+
id: string;
|
40855
|
+
isPrimary: boolean;
|
40856
|
+
createdAt: Date;
|
40857
|
+
updatedAt: Date;
|
40858
|
+
deletedAt: Date | null;
|
40859
|
+
phone: string;
|
40860
|
+
}[];
|
40861
|
+
activityLogs?: {
|
40862
|
+
id: string;
|
40863
|
+
description: string;
|
40864
|
+
createdAt: Date;
|
40865
|
+
updatedAt: Date;
|
40866
|
+
deletedAt: Date | null;
|
40867
|
+
entityId: string;
|
40868
|
+
entityType: {
|
40869
|
+
id: string;
|
40870
|
+
description: string | null;
|
40871
|
+
createdAt: Date;
|
40872
|
+
updatedAt: Date;
|
40873
|
+
deletedAt: Date | null;
|
40874
|
+
entity: string;
|
40875
|
+
};
|
40876
|
+
}[] | undefined;
|
40877
|
+
}, {
|
40878
|
+
id: string;
|
40879
|
+
channel: string | null;
|
40880
|
+
address: string | null;
|
40881
|
+
name: string;
|
40882
|
+
createdAt: Date;
|
40883
|
+
updatedAt: Date;
|
40884
|
+
deletedAt: Date | null;
|
40885
|
+
customFields: {
|
40886
|
+
id: string;
|
40887
|
+
createdAt: Date;
|
40888
|
+
updatedAt: Date;
|
40889
|
+
deletedAt: Date | null;
|
40890
|
+
attribute: {
|
40891
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40892
|
+
id: string;
|
40893
|
+
position: number;
|
40894
|
+
createdAt: Date;
|
40895
|
+
updatedAt: Date;
|
40896
|
+
deletedAt: Date | null;
|
40897
|
+
systemName: string;
|
40898
|
+
displayName: string;
|
40899
|
+
isDefault: boolean;
|
40900
|
+
isArchived: boolean;
|
40901
|
+
isRequired: boolean;
|
40902
|
+
isUnique: boolean;
|
40903
|
+
};
|
40904
|
+
textValue: string | null;
|
40905
|
+
booleanValue: boolean | null;
|
40906
|
+
numberValue: number | null;
|
40907
|
+
dateValue: Date | null;
|
40908
|
+
uploads: {
|
40909
|
+
id: string;
|
40910
|
+
createdAt: Date;
|
40911
|
+
updatedAt: Date;
|
40912
|
+
deletedAt: Date | null;
|
40913
|
+
fileName: string;
|
40914
|
+
fileKey: string;
|
40915
|
+
bucketName: string;
|
40916
|
+
fileSize: number;
|
40917
|
+
fileUrl: string | null;
|
40918
|
+
status?: string | undefined;
|
40919
|
+
}[];
|
40920
|
+
}[];
|
40921
|
+
company: {
|
40922
|
+
id: string;
|
40923
|
+
createdAt: Date;
|
40924
|
+
updatedAt: Date;
|
40925
|
+
deletedAt: Date | null;
|
40926
|
+
address?: string | null | undefined;
|
40927
|
+
name?: string | undefined;
|
40928
|
+
phone?: string | null | undefined;
|
40929
|
+
industry?: string | null | undefined;
|
40930
|
+
} | null;
|
40931
|
+
notes: string | null;
|
40932
|
+
contactProfile: string | null;
|
40933
|
+
socialProfileUrl: string | null;
|
40934
|
+
tags: {
|
40935
|
+
id: string;
|
40936
|
+
name: string;
|
40937
|
+
createdAt: Date;
|
40938
|
+
updatedAt: Date;
|
40939
|
+
deletedAt: Date | null;
|
40940
|
+
}[];
|
40941
|
+
contactEmails: {
|
40942
|
+
id: string;
|
40943
|
+
isPrimary: boolean;
|
40944
|
+
email: string;
|
40945
|
+
createdAt: Date;
|
40946
|
+
updatedAt: Date;
|
40947
|
+
deletedAt: Date | null;
|
40948
|
+
}[];
|
40949
|
+
contactPhones: {
|
40950
|
+
id: string;
|
40951
|
+
isPrimary: boolean;
|
40952
|
+
createdAt: Date;
|
40953
|
+
updatedAt: Date;
|
40954
|
+
deletedAt: Date | null;
|
40955
|
+
phone: string;
|
40956
|
+
}[];
|
40957
|
+
activityLogs?: {
|
40958
|
+
id: string;
|
40959
|
+
description: string;
|
40960
|
+
createdAt: Date;
|
40961
|
+
updatedAt: Date;
|
40962
|
+
deletedAt: Date | null;
|
40963
|
+
entityId: string;
|
40964
|
+
entityType: {
|
40965
|
+
id: string;
|
40966
|
+
description: string | null;
|
40967
|
+
createdAt: Date;
|
40968
|
+
updatedAt: Date;
|
40969
|
+
deletedAt: Date | null;
|
40970
|
+
entity: string;
|
40971
|
+
};
|
40972
|
+
}[] | undefined;
|
40973
|
+
}>;
|
40974
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40975
|
+
data: {
|
40976
|
+
id: string;
|
40977
|
+
channel: string | null;
|
40978
|
+
address: string | null;
|
40979
|
+
name: string;
|
40980
|
+
createdAt: Date;
|
40981
|
+
updatedAt: Date;
|
40982
|
+
deletedAt: Date | null;
|
40983
|
+
customFields: {
|
40984
|
+
id: string;
|
40985
|
+
createdAt: Date;
|
40986
|
+
updatedAt: Date;
|
40987
|
+
deletedAt: Date | null;
|
40988
|
+
attribute: {
|
40989
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40990
|
+
id: string;
|
40991
|
+
position: number;
|
40992
|
+
createdAt: Date;
|
40993
|
+
updatedAt: Date;
|
40994
|
+
deletedAt: Date | null;
|
40995
|
+
systemName: string;
|
40996
|
+
displayName: string;
|
40997
|
+
isDefault: boolean;
|
40998
|
+
isArchived: boolean;
|
40999
|
+
isRequired: boolean;
|
41000
|
+
isUnique: boolean;
|
41001
|
+
};
|
41002
|
+
textValue: string | null;
|
41003
|
+
booleanValue: boolean | null;
|
41004
|
+
numberValue: number | null;
|
41005
|
+
dateValue: Date | null;
|
41006
|
+
uploads: {
|
41007
|
+
id: string;
|
41008
|
+
createdAt: Date;
|
41009
|
+
updatedAt: Date;
|
41010
|
+
deletedAt: Date | null;
|
41011
|
+
fileName: string;
|
41012
|
+
fileKey: string;
|
41013
|
+
bucketName: string;
|
41014
|
+
fileSize: number;
|
41015
|
+
fileUrl: string | null;
|
41016
|
+
status?: string | undefined;
|
41017
|
+
}[];
|
41018
|
+
}[];
|
41019
|
+
company: {
|
41020
|
+
id: string;
|
41021
|
+
createdAt: Date;
|
41022
|
+
updatedAt: Date;
|
41023
|
+
deletedAt: Date | null;
|
41024
|
+
address?: string | null | undefined;
|
41025
|
+
name?: string | undefined;
|
41026
|
+
phone?: string | null | undefined;
|
41027
|
+
industry?: string | null | undefined;
|
41028
|
+
} | null;
|
41029
|
+
notes: string | null;
|
41030
|
+
contactProfile: string | null;
|
41031
|
+
socialProfileUrl: string | null;
|
41032
|
+
tags: {
|
41033
|
+
id: string;
|
41034
|
+
name: string;
|
41035
|
+
createdAt: Date;
|
41036
|
+
updatedAt: Date;
|
41037
|
+
deletedAt: Date | null;
|
41038
|
+
}[];
|
41039
|
+
contactEmails: {
|
41040
|
+
id: string;
|
41041
|
+
isPrimary: boolean;
|
41042
|
+
email: string;
|
41043
|
+
createdAt: Date;
|
41044
|
+
updatedAt: Date;
|
41045
|
+
deletedAt: Date | null;
|
41046
|
+
}[];
|
41047
|
+
contactPhones: {
|
41048
|
+
id: string;
|
41049
|
+
isPrimary: boolean;
|
41050
|
+
createdAt: Date;
|
41051
|
+
updatedAt: Date;
|
41052
|
+
deletedAt: Date | null;
|
41053
|
+
phone: string;
|
41054
|
+
}[];
|
41055
|
+
activityLogs?: {
|
41056
|
+
id: string;
|
41057
|
+
description: string;
|
41058
|
+
createdAt: Date;
|
41059
|
+
updatedAt: Date;
|
41060
|
+
deletedAt: Date | null;
|
41061
|
+
entityId: string;
|
41062
|
+
entityType: {
|
41063
|
+
id: string;
|
41064
|
+
description: string | null;
|
41065
|
+
createdAt: Date;
|
41066
|
+
updatedAt: Date;
|
41067
|
+
deletedAt: Date | null;
|
41068
|
+
entity: string;
|
41069
|
+
};
|
41070
|
+
}[] | undefined;
|
41071
|
+
};
|
41072
|
+
requestId: string;
|
41073
|
+
}, {
|
41074
|
+
data: {
|
41075
|
+
id: string;
|
41076
|
+
channel: string | null;
|
41077
|
+
address: string | null;
|
41078
|
+
name: string;
|
41079
|
+
createdAt: Date;
|
41080
|
+
updatedAt: Date;
|
41081
|
+
deletedAt: Date | null;
|
41082
|
+
customFields: {
|
41083
|
+
id: string;
|
41084
|
+
createdAt: Date;
|
41085
|
+
updatedAt: Date;
|
41086
|
+
deletedAt: Date | null;
|
41087
|
+
attribute: {
|
41088
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41089
|
+
id: string;
|
41090
|
+
position: number;
|
41091
|
+
createdAt: Date;
|
41092
|
+
updatedAt: Date;
|
41093
|
+
deletedAt: Date | null;
|
41094
|
+
systemName: string;
|
41095
|
+
displayName: string;
|
41096
|
+
isDefault: boolean;
|
41097
|
+
isArchived: boolean;
|
41098
|
+
isRequired: boolean;
|
41099
|
+
isUnique: boolean;
|
41100
|
+
};
|
41101
|
+
textValue: string | null;
|
41102
|
+
booleanValue: boolean | null;
|
41103
|
+
numberValue: number | null;
|
41104
|
+
dateValue: Date | null;
|
41105
|
+
uploads: {
|
41106
|
+
id: string;
|
41107
|
+
createdAt: Date;
|
41108
|
+
updatedAt: Date;
|
41109
|
+
deletedAt: Date | null;
|
41110
|
+
fileName: string;
|
41111
|
+
fileKey: string;
|
41112
|
+
bucketName: string;
|
41113
|
+
fileSize: number;
|
41114
|
+
fileUrl: string | null;
|
41115
|
+
status?: string | undefined;
|
41116
|
+
}[];
|
41117
|
+
}[];
|
41118
|
+
company: {
|
41119
|
+
id: string;
|
41120
|
+
createdAt: Date;
|
41121
|
+
updatedAt: Date;
|
41122
|
+
deletedAt: Date | null;
|
41123
|
+
address?: string | null | undefined;
|
41124
|
+
name?: string | undefined;
|
41125
|
+
phone?: string | null | undefined;
|
41126
|
+
industry?: string | null | undefined;
|
41127
|
+
} | null;
|
41128
|
+
notes: string | null;
|
41129
|
+
contactProfile: string | null;
|
41130
|
+
socialProfileUrl: string | null;
|
41131
|
+
tags: {
|
41132
|
+
id: string;
|
41133
|
+
name: string;
|
41134
|
+
createdAt: Date;
|
41135
|
+
updatedAt: Date;
|
41136
|
+
deletedAt: Date | null;
|
41137
|
+
}[];
|
41138
|
+
contactEmails: {
|
41139
|
+
id: string;
|
41140
|
+
isPrimary: boolean;
|
41141
|
+
email: string;
|
41142
|
+
createdAt: Date;
|
41143
|
+
updatedAt: Date;
|
41144
|
+
deletedAt: Date | null;
|
41145
|
+
}[];
|
41146
|
+
contactPhones: {
|
41147
|
+
id: string;
|
41148
|
+
isPrimary: boolean;
|
41149
|
+
createdAt: Date;
|
41150
|
+
updatedAt: Date;
|
41151
|
+
deletedAt: Date | null;
|
41152
|
+
phone: string;
|
41153
|
+
}[];
|
41154
|
+
activityLogs?: {
|
41155
|
+
id: string;
|
41156
|
+
description: string;
|
41157
|
+
createdAt: Date;
|
41158
|
+
updatedAt: Date;
|
41159
|
+
deletedAt: Date | null;
|
41160
|
+
entityId: string;
|
41161
|
+
entityType: {
|
41162
|
+
id: string;
|
41163
|
+
description: string | null;
|
41164
|
+
createdAt: Date;
|
41165
|
+
updatedAt: Date;
|
41166
|
+
deletedAt: Date | null;
|
41167
|
+
entity: string;
|
41168
|
+
};
|
41169
|
+
}[] | undefined;
|
41170
|
+
};
|
41171
|
+
requestId: string;
|
41172
|
+
}>;
|
41173
|
+
400: import("zod").ZodObject<{
|
41174
|
+
message: import("zod").ZodString;
|
41175
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41176
|
+
message: string;
|
41177
|
+
}, {
|
41178
|
+
message: string;
|
41179
|
+
}>;
|
41180
|
+
409: import("zod").ZodObject<{
|
41181
|
+
message: import("zod").ZodString;
|
41182
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41183
|
+
message: string;
|
41184
|
+
}, {
|
41185
|
+
message: string;
|
41186
|
+
}>;
|
41187
|
+
500: import("zod").ZodObject<{
|
41188
|
+
message: import("zod").ZodString;
|
41189
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41190
|
+
message: string;
|
41191
|
+
}, {
|
41192
|
+
message: string;
|
41193
|
+
}>;
|
41194
|
+
401: import("zod").ZodObject<{
|
41195
|
+
message: import("zod").ZodString;
|
41196
|
+
error: import("zod").ZodAny;
|
41197
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41198
|
+
message: string;
|
41199
|
+
error?: any;
|
41200
|
+
}, {
|
41201
|
+
message: string;
|
41202
|
+
error?: any;
|
41203
|
+
}>;
|
41204
|
+
404: import("zod").ZodObject<{
|
41205
|
+
message: import("zod").ZodString;
|
41206
|
+
error: import("zod").ZodAny;
|
41207
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41208
|
+
message: string;
|
41209
|
+
error?: any;
|
41210
|
+
}, {
|
41211
|
+
message: string;
|
41212
|
+
error?: any;
|
41213
|
+
}>;
|
41214
|
+
422: import("zod").ZodObject<{
|
41215
|
+
message: import("zod").ZodString;
|
41216
|
+
error: import("zod").ZodAny;
|
41217
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41218
|
+
message: string;
|
41219
|
+
error?: any;
|
41220
|
+
}, {
|
41221
|
+
message: string;
|
41222
|
+
error?: any;
|
41223
|
+
}>;
|
41224
|
+
};
|
41225
|
+
path: "contact/phone";
|
41226
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
41227
|
+
'x-tenant': import("zod").ZodString;
|
41228
|
+
authorization: import("zod").ZodString;
|
41229
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
41230
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
41231
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41232
|
+
'x-tenant': string;
|
41233
|
+
authorization: string;
|
41234
|
+
'x-client-timezone': string;
|
41235
|
+
'x-code'?: string | undefined;
|
41236
|
+
}, {
|
41237
|
+
'x-tenant': string;
|
41238
|
+
authorization: string;
|
41239
|
+
'x-code'?: string | undefined;
|
41240
|
+
'x-client-timezone'?: string | undefined;
|
41241
|
+
}>>>;
|
41242
|
+
};
|
41243
|
+
updateFromOngoingCall: {
|
41244
|
+
body: import("zod").ZodObject<{
|
41245
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
41246
|
+
companyId: import("zod").ZodOptional<import("zod").ZodString>;
|
41247
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41248
|
+
name?: string | undefined;
|
41249
|
+
companyId?: string | undefined;
|
41250
|
+
}, {
|
41251
|
+
name?: string | undefined;
|
41252
|
+
companyId?: string | undefined;
|
41253
|
+
}>;
|
41254
|
+
summary: "Update a contact with name and company while making ongoing call";
|
41255
|
+
method: "PATCH";
|
40378
41256
|
responses: {
|
40379
41257
|
201: import("zod").ZodObject<{
|
40380
41258
|
requestId: import("zod").ZodString;
|
@@ -149472,8 +150350,8 @@ export declare const telephonyContract: {
|
|
149472
150350
|
status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
149473
150351
|
callFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
149474
150352
|
callTo: import("zod").ZodOptional<import("zod").ZodString>;
|
149475
|
-
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
149476
150353
|
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
150354
|
+
trunk: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
149477
150355
|
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
149478
150356
|
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
149479
150357
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -149481,8 +150359,8 @@ export declare const telephonyContract: {
|
|
149481
150359
|
status?: string[] | undefined;
|
149482
150360
|
callFrom?: string | undefined;
|
149483
150361
|
callTo?: string | undefined;
|
149484
|
-
trunk?: string[] | undefined;
|
149485
150362
|
selectedDate?: string | undefined;
|
150363
|
+
trunk?: string[] | undefined;
|
149486
150364
|
page?: number | undefined;
|
149487
150365
|
pageSize?: number | undefined;
|
149488
150366
|
}, {
|
@@ -149490,8 +150368,8 @@ export declare const telephonyContract: {
|
|
149490
150368
|
status?: string[] | undefined;
|
149491
150369
|
callFrom?: string | undefined;
|
149492
150370
|
callTo?: string | undefined;
|
149493
|
-
trunk?: string[] | undefined;
|
149494
150371
|
selectedDate?: string | undefined;
|
150372
|
+
trunk?: string[] | undefined;
|
149495
150373
|
page?: number | undefined;
|
149496
150374
|
pageSize?: number | undefined;
|
149497
150375
|
}>;
|
@@ -150916,13 +151794,13 @@ export declare const telephonyContract: {
|
|
150916
151794
|
requestId: import("zod").ZodString;
|
150917
151795
|
trunks: import("zod").ZodArray<import("zod").ZodObject<{
|
150918
151796
|
id: import("zod").ZodString;
|
150919
|
-
|
151797
|
+
trunkName: import("zod").ZodString;
|
150920
151798
|
}, "strip", import("zod").ZodTypeAny, {
|
150921
151799
|
id: string;
|
150922
|
-
|
151800
|
+
trunkName: string;
|
150923
151801
|
}, {
|
150924
151802
|
id: string;
|
150925
|
-
|
151803
|
+
trunkName: string;
|
150926
151804
|
}>, "many">;
|
150927
151805
|
status: import("zod").ZodArray<import("zod").ZodEnum<["ANSWERED", "NO ANSWER", "FAILED"]>, "many">;
|
150928
151806
|
type: import("zod").ZodArray<import("zod").ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
|
@@ -150932,7 +151810,7 @@ export declare const telephonyContract: {
|
|
150932
151810
|
requestId: string;
|
150933
151811
|
trunks: {
|
150934
151812
|
id: string;
|
150935
|
-
|
151813
|
+
trunkName: string;
|
150936
151814
|
}[];
|
150937
151815
|
}, {
|
150938
151816
|
type: ("Inbound" | "Outbound" | "Internal")[];
|
@@ -150940,7 +151818,7 @@ export declare const telephonyContract: {
|
|
150940
151818
|
requestId: string;
|
150941
151819
|
trunks: {
|
150942
151820
|
id: string;
|
150943
|
-
|
151821
|
+
trunkName: string;
|
150944
151822
|
}[];
|
150945
151823
|
}>;
|
150946
151824
|
401: import("zod").ZodObject<{
|