@kl1/contracts 1.0.25 → 1.0.27
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 +1673 -1458
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1669 -1458
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +399 -0
- package/dist/src/activity-log/index.d.ts.map +1 -0
- package/dist/src/activity-log/schema.d.ts +369 -0
- package/dist/src/activity-log/schema.d.ts.map +1 -0
- package/dist/src/activity-log/validation.d.ts +2 -0
- package/dist/src/activity-log/validation.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +218 -32
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +877 -877
- package/dist/src/chat/validation.d.ts +1009 -1009
- package/dist/src/comment/index.d.ts +4688 -0
- package/dist/src/comment/index.d.ts.map +1 -0
- package/dist/src/comment/schema.d.ts +1257 -0
- package/dist/src/comment/schema.d.ts.map +1 -0
- package/dist/src/comment/validation.d.ts +38 -0
- package/dist/src/comment/validation.d.ts.map +1 -0
- package/dist/src/company/index.d.ts +296 -293
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +191 -54
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1213 -1213
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +14189 -8798
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +24 -20
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +125 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +21 -21
- package/dist/src/mail/room-contract.d.ts +21 -21
- package/dist/src/mail/schemas/room.schema.d.ts +15 -15
- package/dist/src/messenger/index.d.ts +1226 -1096
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +108 -1
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +570 -570
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +4 -10
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1,5 +1,8 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { CompanyContractsValidationSchema } from './validation';
|
3
|
+
import { CompanyCustomFieldSchema, CompanySchema } from './schema';
|
4
|
+
export type Company = z.infer<typeof CompanySchema>;
|
5
|
+
export type CompanyCustomField = z.infer<typeof CompanyCustomFieldSchema>;
|
3
6
|
export type CreateCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.create.request>;
|
4
7
|
export type UpdateCompanyRequest = Partial<CreateCompanyRequest>;
|
5
8
|
export type GetAllCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.getAll.request>;
|
@@ -141,27 +144,27 @@ export declare const companyContract: {
|
|
141
144
|
requestId: z.ZodString;
|
142
145
|
data: z.ZodObject<{
|
143
146
|
id: z.ZodString;
|
144
|
-
createdAt: z.
|
145
|
-
updatedAt: z.
|
146
|
-
deletedAt: z.ZodNullable<z.
|
147
|
+
createdAt: z.ZodString;
|
148
|
+
updatedAt: z.ZodString;
|
149
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
147
150
|
name: z.ZodOptional<z.ZodString>;
|
148
151
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
149
152
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
150
153
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
151
154
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
152
155
|
id: z.ZodString;
|
153
|
-
createdAt: z.
|
154
|
-
updatedAt: z.
|
155
|
-
deletedAt: z.ZodNullable<z.
|
156
|
+
createdAt: z.ZodString;
|
157
|
+
updatedAt: z.ZodString;
|
158
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
156
159
|
textValue: z.ZodNullable<z.ZodString>;
|
157
160
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
158
161
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
159
162
|
dateValue: z.ZodNullable<z.ZodDate>;
|
160
163
|
attribute: z.ZodObject<Omit<{
|
161
164
|
id: z.ZodString;
|
162
|
-
createdAt: z.
|
163
|
-
updatedAt: z.
|
164
|
-
deletedAt: z.ZodNullable<z.
|
165
|
+
createdAt: z.ZodString;
|
166
|
+
updatedAt: z.ZodString;
|
167
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
165
168
|
systemName: z.ZodString;
|
166
169
|
displayName: z.ZodString;
|
167
170
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -191,23 +194,23 @@ export declare const companyContract: {
|
|
191
194
|
}>, "many">;
|
192
195
|
group: z.ZodObject<{
|
193
196
|
id: z.ZodString;
|
194
|
-
createdAt: z.
|
195
|
-
updatedAt: z.
|
196
|
-
deletedAt: z.ZodNullable<z.
|
197
|
+
createdAt: z.ZodString;
|
198
|
+
updatedAt: z.ZodString;
|
199
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
197
200
|
systemName: z.ZodString;
|
198
201
|
displayName: z.ZodString;
|
199
202
|
}, "strip", z.ZodTypeAny, {
|
200
203
|
id: string;
|
201
|
-
createdAt:
|
202
|
-
updatedAt:
|
203
|
-
deletedAt:
|
204
|
+
createdAt: string;
|
205
|
+
updatedAt: string;
|
206
|
+
deletedAt: string | null;
|
204
207
|
systemName: string;
|
205
208
|
displayName: string;
|
206
209
|
}, {
|
207
210
|
id: string;
|
208
|
-
createdAt:
|
209
|
-
updatedAt:
|
210
|
-
deletedAt:
|
211
|
+
createdAt: string;
|
212
|
+
updatedAt: string;
|
213
|
+
deletedAt: string | null;
|
211
214
|
systemName: string;
|
212
215
|
displayName: string;
|
213
216
|
}>;
|
@@ -215,9 +218,9 @@ export declare const companyContract: {
|
|
215
218
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
216
219
|
id: string;
|
217
220
|
position: number;
|
218
|
-
createdAt:
|
219
|
-
updatedAt:
|
220
|
-
deletedAt:
|
221
|
+
createdAt: string;
|
222
|
+
updatedAt: string;
|
223
|
+
deletedAt: string | null;
|
221
224
|
isDefault: boolean;
|
222
225
|
systemName: string;
|
223
226
|
displayName: string;
|
@@ -228,9 +231,9 @@ export declare const companyContract: {
|
|
228
231
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
229
232
|
id: string;
|
230
233
|
position: number;
|
231
|
-
createdAt:
|
232
|
-
updatedAt:
|
233
|
-
deletedAt:
|
234
|
+
createdAt: string;
|
235
|
+
updatedAt: string;
|
236
|
+
deletedAt: string | null;
|
234
237
|
isDefault: boolean;
|
235
238
|
systemName: string;
|
236
239
|
displayName: string;
|
@@ -240,16 +243,16 @@ export declare const companyContract: {
|
|
240
243
|
}>;
|
241
244
|
}, "strip", z.ZodTypeAny, {
|
242
245
|
id: string;
|
243
|
-
createdAt:
|
244
|
-
updatedAt:
|
245
|
-
deletedAt:
|
246
|
+
createdAt: string;
|
247
|
+
updatedAt: string;
|
248
|
+
deletedAt: string | null;
|
246
249
|
attribute: {
|
247
250
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
248
251
|
id: string;
|
249
252
|
position: number;
|
250
|
-
createdAt:
|
251
|
-
updatedAt:
|
252
|
-
deletedAt:
|
253
|
+
createdAt: string;
|
254
|
+
updatedAt: string;
|
255
|
+
deletedAt: string | null;
|
253
256
|
isDefault: boolean;
|
254
257
|
systemName: string;
|
255
258
|
displayName: string;
|
@@ -263,16 +266,16 @@ export declare const companyContract: {
|
|
263
266
|
dateValue: Date | null;
|
264
267
|
}, {
|
265
268
|
id: string;
|
266
|
-
createdAt:
|
267
|
-
updatedAt:
|
268
|
-
deletedAt:
|
269
|
+
createdAt: string;
|
270
|
+
updatedAt: string;
|
271
|
+
deletedAt: string | null;
|
269
272
|
attribute: {
|
270
273
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
271
274
|
id: string;
|
272
275
|
position: number;
|
273
|
-
createdAt:
|
274
|
-
updatedAt:
|
275
|
-
deletedAt:
|
276
|
+
createdAt: string;
|
277
|
+
updatedAt: string;
|
278
|
+
deletedAt: string | null;
|
276
279
|
isDefault: boolean;
|
277
280
|
systemName: string;
|
278
281
|
displayName: string;
|
@@ -287,25 +290,25 @@ export declare const companyContract: {
|
|
287
290
|
}>, "many">>;
|
288
291
|
}, "strip", z.ZodTypeAny, {
|
289
292
|
id: string;
|
290
|
-
createdAt:
|
291
|
-
updatedAt:
|
292
|
-
deletedAt:
|
293
|
+
createdAt: string;
|
294
|
+
updatedAt: string;
|
295
|
+
deletedAt: string | null;
|
293
296
|
name?: string | undefined;
|
294
297
|
phone?: string | null | undefined;
|
295
298
|
address?: string | null | undefined;
|
296
299
|
industry?: string | null | undefined;
|
297
300
|
customFields?: {
|
298
301
|
id: string;
|
299
|
-
createdAt:
|
300
|
-
updatedAt:
|
301
|
-
deletedAt:
|
302
|
+
createdAt: string;
|
303
|
+
updatedAt: string;
|
304
|
+
deletedAt: string | null;
|
302
305
|
attribute: {
|
303
306
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
304
307
|
id: string;
|
305
308
|
position: number;
|
306
|
-
createdAt:
|
307
|
-
updatedAt:
|
308
|
-
deletedAt:
|
309
|
+
createdAt: string;
|
310
|
+
updatedAt: string;
|
311
|
+
deletedAt: string | null;
|
309
312
|
isDefault: boolean;
|
310
313
|
systemName: string;
|
311
314
|
displayName: string;
|
@@ -320,25 +323,25 @@ export declare const companyContract: {
|
|
320
323
|
}[] | undefined;
|
321
324
|
}, {
|
322
325
|
id: string;
|
323
|
-
createdAt:
|
324
|
-
updatedAt:
|
325
|
-
deletedAt:
|
326
|
+
createdAt: string;
|
327
|
+
updatedAt: string;
|
328
|
+
deletedAt: string | null;
|
326
329
|
name?: string | undefined;
|
327
330
|
phone?: string | null | undefined;
|
328
331
|
address?: string | null | undefined;
|
329
332
|
industry?: string | null | undefined;
|
330
333
|
customFields?: {
|
331
334
|
id: string;
|
332
|
-
createdAt:
|
333
|
-
updatedAt:
|
334
|
-
deletedAt:
|
335
|
+
createdAt: string;
|
336
|
+
updatedAt: string;
|
337
|
+
deletedAt: string | null;
|
335
338
|
attribute: {
|
336
339
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
337
340
|
id: string;
|
338
341
|
position: number;
|
339
|
-
createdAt:
|
340
|
-
updatedAt:
|
341
|
-
deletedAt:
|
342
|
+
createdAt: string;
|
343
|
+
updatedAt: string;
|
344
|
+
deletedAt: string | null;
|
342
345
|
isDefault: boolean;
|
343
346
|
systemName: string;
|
344
347
|
displayName: string;
|
@@ -355,25 +358,25 @@ export declare const companyContract: {
|
|
355
358
|
}, "strip", z.ZodTypeAny, {
|
356
359
|
data: {
|
357
360
|
id: string;
|
358
|
-
createdAt:
|
359
|
-
updatedAt:
|
360
|
-
deletedAt:
|
361
|
+
createdAt: string;
|
362
|
+
updatedAt: string;
|
363
|
+
deletedAt: string | null;
|
361
364
|
name?: string | undefined;
|
362
365
|
phone?: string | null | undefined;
|
363
366
|
address?: string | null | undefined;
|
364
367
|
industry?: string | null | undefined;
|
365
368
|
customFields?: {
|
366
369
|
id: string;
|
367
|
-
createdAt:
|
368
|
-
updatedAt:
|
369
|
-
deletedAt:
|
370
|
+
createdAt: string;
|
371
|
+
updatedAt: string;
|
372
|
+
deletedAt: string | null;
|
370
373
|
attribute: {
|
371
374
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
372
375
|
id: string;
|
373
376
|
position: number;
|
374
|
-
createdAt:
|
375
|
-
updatedAt:
|
376
|
-
deletedAt:
|
377
|
+
createdAt: string;
|
378
|
+
updatedAt: string;
|
379
|
+
deletedAt: string | null;
|
377
380
|
isDefault: boolean;
|
378
381
|
systemName: string;
|
379
382
|
displayName: string;
|
@@ -391,25 +394,25 @@ export declare const companyContract: {
|
|
391
394
|
}, {
|
392
395
|
data: {
|
393
396
|
id: string;
|
394
|
-
createdAt:
|
395
|
-
updatedAt:
|
396
|
-
deletedAt:
|
397
|
+
createdAt: string;
|
398
|
+
updatedAt: string;
|
399
|
+
deletedAt: string | null;
|
397
400
|
name?: string | undefined;
|
398
401
|
phone?: string | null | undefined;
|
399
402
|
address?: string | null | undefined;
|
400
403
|
industry?: string | null | undefined;
|
401
404
|
customFields?: {
|
402
405
|
id: string;
|
403
|
-
createdAt:
|
404
|
-
updatedAt:
|
405
|
-
deletedAt:
|
406
|
+
createdAt: string;
|
407
|
+
updatedAt: string;
|
408
|
+
deletedAt: string | null;
|
406
409
|
attribute: {
|
407
410
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
408
411
|
id: string;
|
409
412
|
position: number;
|
410
|
-
createdAt:
|
411
|
-
updatedAt:
|
412
|
-
deletedAt:
|
413
|
+
createdAt: string;
|
414
|
+
updatedAt: string;
|
415
|
+
deletedAt: string | null;
|
413
416
|
isDefault: boolean;
|
414
417
|
systemName: string;
|
415
418
|
displayName: string;
|
@@ -477,7 +480,7 @@ export declare const companyContract: {
|
|
477
480
|
error?: any;
|
478
481
|
}>;
|
479
482
|
};
|
480
|
-
path: "
|
483
|
+
path: "companies";
|
481
484
|
};
|
482
485
|
update: {
|
483
486
|
body: z.ZodObject<{
|
@@ -623,27 +626,27 @@ export declare const companyContract: {
|
|
623
626
|
requestId: z.ZodString;
|
624
627
|
data: z.ZodObject<{
|
625
628
|
id: z.ZodString;
|
626
|
-
createdAt: z.
|
627
|
-
updatedAt: z.
|
628
|
-
deletedAt: z.ZodNullable<z.
|
629
|
+
createdAt: z.ZodString;
|
630
|
+
updatedAt: z.ZodString;
|
631
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
629
632
|
name: z.ZodOptional<z.ZodString>;
|
630
633
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
631
634
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
632
635
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
633
636
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
634
637
|
id: z.ZodString;
|
635
|
-
createdAt: z.
|
636
|
-
updatedAt: z.
|
637
|
-
deletedAt: z.ZodNullable<z.
|
638
|
+
createdAt: z.ZodString;
|
639
|
+
updatedAt: z.ZodString;
|
640
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
638
641
|
textValue: z.ZodNullable<z.ZodString>;
|
639
642
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
640
643
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
641
644
|
dateValue: z.ZodNullable<z.ZodDate>;
|
642
645
|
attribute: z.ZodObject<Omit<{
|
643
646
|
id: z.ZodString;
|
644
|
-
createdAt: z.
|
645
|
-
updatedAt: z.
|
646
|
-
deletedAt: z.ZodNullable<z.
|
647
|
+
createdAt: z.ZodString;
|
648
|
+
updatedAt: z.ZodString;
|
649
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
647
650
|
systemName: z.ZodString;
|
648
651
|
displayName: z.ZodString;
|
649
652
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -673,23 +676,23 @@ export declare const companyContract: {
|
|
673
676
|
}>, "many">;
|
674
677
|
group: z.ZodObject<{
|
675
678
|
id: z.ZodString;
|
676
|
-
createdAt: z.
|
677
|
-
updatedAt: z.
|
678
|
-
deletedAt: z.ZodNullable<z.
|
679
|
+
createdAt: z.ZodString;
|
680
|
+
updatedAt: z.ZodString;
|
681
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
679
682
|
systemName: z.ZodString;
|
680
683
|
displayName: z.ZodString;
|
681
684
|
}, "strip", z.ZodTypeAny, {
|
682
685
|
id: string;
|
683
|
-
createdAt:
|
684
|
-
updatedAt:
|
685
|
-
deletedAt:
|
686
|
+
createdAt: string;
|
687
|
+
updatedAt: string;
|
688
|
+
deletedAt: string | null;
|
686
689
|
systemName: string;
|
687
690
|
displayName: string;
|
688
691
|
}, {
|
689
692
|
id: string;
|
690
|
-
createdAt:
|
691
|
-
updatedAt:
|
692
|
-
deletedAt:
|
693
|
+
createdAt: string;
|
694
|
+
updatedAt: string;
|
695
|
+
deletedAt: string | null;
|
693
696
|
systemName: string;
|
694
697
|
displayName: string;
|
695
698
|
}>;
|
@@ -697,9 +700,9 @@ export declare const companyContract: {
|
|
697
700
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
698
701
|
id: string;
|
699
702
|
position: number;
|
700
|
-
createdAt:
|
701
|
-
updatedAt:
|
702
|
-
deletedAt:
|
703
|
+
createdAt: string;
|
704
|
+
updatedAt: string;
|
705
|
+
deletedAt: string | null;
|
703
706
|
isDefault: boolean;
|
704
707
|
systemName: string;
|
705
708
|
displayName: string;
|
@@ -710,9 +713,9 @@ export declare const companyContract: {
|
|
710
713
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
711
714
|
id: string;
|
712
715
|
position: number;
|
713
|
-
createdAt:
|
714
|
-
updatedAt:
|
715
|
-
deletedAt:
|
716
|
+
createdAt: string;
|
717
|
+
updatedAt: string;
|
718
|
+
deletedAt: string | null;
|
716
719
|
isDefault: boolean;
|
717
720
|
systemName: string;
|
718
721
|
displayName: string;
|
@@ -722,16 +725,16 @@ export declare const companyContract: {
|
|
722
725
|
}>;
|
723
726
|
}, "strip", z.ZodTypeAny, {
|
724
727
|
id: string;
|
725
|
-
createdAt:
|
726
|
-
updatedAt:
|
727
|
-
deletedAt:
|
728
|
+
createdAt: string;
|
729
|
+
updatedAt: string;
|
730
|
+
deletedAt: string | null;
|
728
731
|
attribute: {
|
729
732
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
730
733
|
id: string;
|
731
734
|
position: number;
|
732
|
-
createdAt:
|
733
|
-
updatedAt:
|
734
|
-
deletedAt:
|
735
|
+
createdAt: string;
|
736
|
+
updatedAt: string;
|
737
|
+
deletedAt: string | null;
|
735
738
|
isDefault: boolean;
|
736
739
|
systemName: string;
|
737
740
|
displayName: string;
|
@@ -745,16 +748,16 @@ export declare const companyContract: {
|
|
745
748
|
dateValue: Date | null;
|
746
749
|
}, {
|
747
750
|
id: string;
|
748
|
-
createdAt:
|
749
|
-
updatedAt:
|
750
|
-
deletedAt:
|
751
|
+
createdAt: string;
|
752
|
+
updatedAt: string;
|
753
|
+
deletedAt: string | null;
|
751
754
|
attribute: {
|
752
755
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
753
756
|
id: string;
|
754
757
|
position: number;
|
755
|
-
createdAt:
|
756
|
-
updatedAt:
|
757
|
-
deletedAt:
|
758
|
+
createdAt: string;
|
759
|
+
updatedAt: string;
|
760
|
+
deletedAt: string | null;
|
758
761
|
isDefault: boolean;
|
759
762
|
systemName: string;
|
760
763
|
displayName: string;
|
@@ -769,25 +772,25 @@ export declare const companyContract: {
|
|
769
772
|
}>, "many">>;
|
770
773
|
}, "strip", z.ZodTypeAny, {
|
771
774
|
id: string;
|
772
|
-
createdAt:
|
773
|
-
updatedAt:
|
774
|
-
deletedAt:
|
775
|
+
createdAt: string;
|
776
|
+
updatedAt: string;
|
777
|
+
deletedAt: string | null;
|
775
778
|
name?: string | undefined;
|
776
779
|
phone?: string | null | undefined;
|
777
780
|
address?: string | null | undefined;
|
778
781
|
industry?: string | null | undefined;
|
779
782
|
customFields?: {
|
780
783
|
id: string;
|
781
|
-
createdAt:
|
782
|
-
updatedAt:
|
783
|
-
deletedAt:
|
784
|
+
createdAt: string;
|
785
|
+
updatedAt: string;
|
786
|
+
deletedAt: string | null;
|
784
787
|
attribute: {
|
785
788
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
786
789
|
id: string;
|
787
790
|
position: number;
|
788
|
-
createdAt:
|
789
|
-
updatedAt:
|
790
|
-
deletedAt:
|
791
|
+
createdAt: string;
|
792
|
+
updatedAt: string;
|
793
|
+
deletedAt: string | null;
|
791
794
|
isDefault: boolean;
|
792
795
|
systemName: string;
|
793
796
|
displayName: string;
|
@@ -802,25 +805,25 @@ export declare const companyContract: {
|
|
802
805
|
}[] | undefined;
|
803
806
|
}, {
|
804
807
|
id: string;
|
805
|
-
createdAt:
|
806
|
-
updatedAt:
|
807
|
-
deletedAt:
|
808
|
+
createdAt: string;
|
809
|
+
updatedAt: string;
|
810
|
+
deletedAt: string | null;
|
808
811
|
name?: string | undefined;
|
809
812
|
phone?: string | null | undefined;
|
810
813
|
address?: string | null | undefined;
|
811
814
|
industry?: string | null | undefined;
|
812
815
|
customFields?: {
|
813
816
|
id: string;
|
814
|
-
createdAt:
|
815
|
-
updatedAt:
|
816
|
-
deletedAt:
|
817
|
+
createdAt: string;
|
818
|
+
updatedAt: string;
|
819
|
+
deletedAt: string | null;
|
817
820
|
attribute: {
|
818
821
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
819
822
|
id: string;
|
820
823
|
position: number;
|
821
|
-
createdAt:
|
822
|
-
updatedAt:
|
823
|
-
deletedAt:
|
824
|
+
createdAt: string;
|
825
|
+
updatedAt: string;
|
826
|
+
deletedAt: string | null;
|
824
827
|
isDefault: boolean;
|
825
828
|
systemName: string;
|
826
829
|
displayName: string;
|
@@ -837,25 +840,25 @@ export declare const companyContract: {
|
|
837
840
|
}, "strip", z.ZodTypeAny, {
|
838
841
|
data: {
|
839
842
|
id: string;
|
840
|
-
createdAt:
|
841
|
-
updatedAt:
|
842
|
-
deletedAt:
|
843
|
+
createdAt: string;
|
844
|
+
updatedAt: string;
|
845
|
+
deletedAt: string | null;
|
843
846
|
name?: string | undefined;
|
844
847
|
phone?: string | null | undefined;
|
845
848
|
address?: string | null | undefined;
|
846
849
|
industry?: string | null | undefined;
|
847
850
|
customFields?: {
|
848
851
|
id: string;
|
849
|
-
createdAt:
|
850
|
-
updatedAt:
|
851
|
-
deletedAt:
|
852
|
+
createdAt: string;
|
853
|
+
updatedAt: string;
|
854
|
+
deletedAt: string | null;
|
852
855
|
attribute: {
|
853
856
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
854
857
|
id: string;
|
855
858
|
position: number;
|
856
|
-
createdAt:
|
857
|
-
updatedAt:
|
858
|
-
deletedAt:
|
859
|
+
createdAt: string;
|
860
|
+
updatedAt: string;
|
861
|
+
deletedAt: string | null;
|
859
862
|
isDefault: boolean;
|
860
863
|
systemName: string;
|
861
864
|
displayName: string;
|
@@ -873,25 +876,25 @@ export declare const companyContract: {
|
|
873
876
|
}, {
|
874
877
|
data: {
|
875
878
|
id: string;
|
876
|
-
createdAt:
|
877
|
-
updatedAt:
|
878
|
-
deletedAt:
|
879
|
+
createdAt: string;
|
880
|
+
updatedAt: string;
|
881
|
+
deletedAt: string | null;
|
879
882
|
name?: string | undefined;
|
880
883
|
phone?: string | null | undefined;
|
881
884
|
address?: string | null | undefined;
|
882
885
|
industry?: string | null | undefined;
|
883
886
|
customFields?: {
|
884
887
|
id: string;
|
885
|
-
createdAt:
|
886
|
-
updatedAt:
|
887
|
-
deletedAt:
|
888
|
+
createdAt: string;
|
889
|
+
updatedAt: string;
|
890
|
+
deletedAt: string | null;
|
888
891
|
attribute: {
|
889
892
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
890
893
|
id: string;
|
891
894
|
position: number;
|
892
|
-
createdAt:
|
893
|
-
updatedAt:
|
894
|
-
deletedAt:
|
895
|
+
createdAt: string;
|
896
|
+
updatedAt: string;
|
897
|
+
deletedAt: string | null;
|
895
898
|
isDefault: boolean;
|
896
899
|
systemName: string;
|
897
900
|
displayName: string;
|
@@ -959,7 +962,7 @@ export declare const companyContract: {
|
|
959
962
|
error?: any;
|
960
963
|
}>;
|
961
964
|
};
|
962
|
-
path: "
|
965
|
+
path: "companies/:id";
|
963
966
|
};
|
964
967
|
delete: {
|
965
968
|
body: null;
|
@@ -1035,7 +1038,7 @@ export declare const companyContract: {
|
|
1035
1038
|
error?: any;
|
1036
1039
|
}>;
|
1037
1040
|
};
|
1038
|
-
path: "
|
1041
|
+
path: "companies/:id";
|
1039
1042
|
};
|
1040
1043
|
getById: {
|
1041
1044
|
summary: "Get a company by id";
|
@@ -1052,27 +1055,27 @@ export declare const companyContract: {
|
|
1052
1055
|
requestId: z.ZodString;
|
1053
1056
|
data: z.ZodObject<{
|
1054
1057
|
id: z.ZodString;
|
1055
|
-
createdAt: z.
|
1056
|
-
updatedAt: z.
|
1057
|
-
deletedAt: z.ZodNullable<z.
|
1058
|
+
createdAt: z.ZodString;
|
1059
|
+
updatedAt: z.ZodString;
|
1060
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1058
1061
|
name: z.ZodOptional<z.ZodString>;
|
1059
1062
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1060
1063
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1061
1064
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1062
1065
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1063
1066
|
id: z.ZodString;
|
1064
|
-
createdAt: z.
|
1065
|
-
updatedAt: z.
|
1066
|
-
deletedAt: z.ZodNullable<z.
|
1067
|
+
createdAt: z.ZodString;
|
1068
|
+
updatedAt: z.ZodString;
|
1069
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1067
1070
|
textValue: z.ZodNullable<z.ZodString>;
|
1068
1071
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1069
1072
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1070
1073
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1071
1074
|
attribute: z.ZodObject<Omit<{
|
1072
1075
|
id: z.ZodString;
|
1073
|
-
createdAt: z.
|
1074
|
-
updatedAt: z.
|
1075
|
-
deletedAt: z.ZodNullable<z.
|
1076
|
+
createdAt: z.ZodString;
|
1077
|
+
updatedAt: z.ZodString;
|
1078
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1076
1079
|
systemName: z.ZodString;
|
1077
1080
|
displayName: z.ZodString;
|
1078
1081
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1102,23 +1105,23 @@ export declare const companyContract: {
|
|
1102
1105
|
}>, "many">;
|
1103
1106
|
group: z.ZodObject<{
|
1104
1107
|
id: z.ZodString;
|
1105
|
-
createdAt: z.
|
1106
|
-
updatedAt: z.
|
1107
|
-
deletedAt: z.ZodNullable<z.
|
1108
|
+
createdAt: z.ZodString;
|
1109
|
+
updatedAt: z.ZodString;
|
1110
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1108
1111
|
systemName: z.ZodString;
|
1109
1112
|
displayName: z.ZodString;
|
1110
1113
|
}, "strip", z.ZodTypeAny, {
|
1111
1114
|
id: string;
|
1112
|
-
createdAt:
|
1113
|
-
updatedAt:
|
1114
|
-
deletedAt:
|
1115
|
+
createdAt: string;
|
1116
|
+
updatedAt: string;
|
1117
|
+
deletedAt: string | null;
|
1115
1118
|
systemName: string;
|
1116
1119
|
displayName: string;
|
1117
1120
|
}, {
|
1118
1121
|
id: string;
|
1119
|
-
createdAt:
|
1120
|
-
updatedAt:
|
1121
|
-
deletedAt:
|
1122
|
+
createdAt: string;
|
1123
|
+
updatedAt: string;
|
1124
|
+
deletedAt: string | null;
|
1122
1125
|
systemName: string;
|
1123
1126
|
displayName: string;
|
1124
1127
|
}>;
|
@@ -1126,9 +1129,9 @@ export declare const companyContract: {
|
|
1126
1129
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1127
1130
|
id: string;
|
1128
1131
|
position: number;
|
1129
|
-
createdAt:
|
1130
|
-
updatedAt:
|
1131
|
-
deletedAt:
|
1132
|
+
createdAt: string;
|
1133
|
+
updatedAt: string;
|
1134
|
+
deletedAt: string | null;
|
1132
1135
|
isDefault: boolean;
|
1133
1136
|
systemName: string;
|
1134
1137
|
displayName: string;
|
@@ -1139,9 +1142,9 @@ export declare const companyContract: {
|
|
1139
1142
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1140
1143
|
id: string;
|
1141
1144
|
position: number;
|
1142
|
-
createdAt:
|
1143
|
-
updatedAt:
|
1144
|
-
deletedAt:
|
1145
|
+
createdAt: string;
|
1146
|
+
updatedAt: string;
|
1147
|
+
deletedAt: string | null;
|
1145
1148
|
isDefault: boolean;
|
1146
1149
|
systemName: string;
|
1147
1150
|
displayName: string;
|
@@ -1151,16 +1154,16 @@ export declare const companyContract: {
|
|
1151
1154
|
}>;
|
1152
1155
|
}, "strip", z.ZodTypeAny, {
|
1153
1156
|
id: string;
|
1154
|
-
createdAt:
|
1155
|
-
updatedAt:
|
1156
|
-
deletedAt:
|
1157
|
+
createdAt: string;
|
1158
|
+
updatedAt: string;
|
1159
|
+
deletedAt: string | null;
|
1157
1160
|
attribute: {
|
1158
1161
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1159
1162
|
id: string;
|
1160
1163
|
position: number;
|
1161
|
-
createdAt:
|
1162
|
-
updatedAt:
|
1163
|
-
deletedAt:
|
1164
|
+
createdAt: string;
|
1165
|
+
updatedAt: string;
|
1166
|
+
deletedAt: string | null;
|
1164
1167
|
isDefault: boolean;
|
1165
1168
|
systemName: string;
|
1166
1169
|
displayName: string;
|
@@ -1174,16 +1177,16 @@ export declare const companyContract: {
|
|
1174
1177
|
dateValue: Date | null;
|
1175
1178
|
}, {
|
1176
1179
|
id: string;
|
1177
|
-
createdAt:
|
1178
|
-
updatedAt:
|
1179
|
-
deletedAt:
|
1180
|
+
createdAt: string;
|
1181
|
+
updatedAt: string;
|
1182
|
+
deletedAt: string | null;
|
1180
1183
|
attribute: {
|
1181
1184
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1182
1185
|
id: string;
|
1183
1186
|
position: number;
|
1184
|
-
createdAt:
|
1185
|
-
updatedAt:
|
1186
|
-
deletedAt:
|
1187
|
+
createdAt: string;
|
1188
|
+
updatedAt: string;
|
1189
|
+
deletedAt: string | null;
|
1187
1190
|
isDefault: boolean;
|
1188
1191
|
systemName: string;
|
1189
1192
|
displayName: string;
|
@@ -1198,25 +1201,25 @@ export declare const companyContract: {
|
|
1198
1201
|
}>, "many">>;
|
1199
1202
|
}, "strip", z.ZodTypeAny, {
|
1200
1203
|
id: string;
|
1201
|
-
createdAt:
|
1202
|
-
updatedAt:
|
1203
|
-
deletedAt:
|
1204
|
+
createdAt: string;
|
1205
|
+
updatedAt: string;
|
1206
|
+
deletedAt: string | null;
|
1204
1207
|
name?: string | undefined;
|
1205
1208
|
phone?: string | null | undefined;
|
1206
1209
|
address?: string | null | undefined;
|
1207
1210
|
industry?: string | null | undefined;
|
1208
1211
|
customFields?: {
|
1209
1212
|
id: string;
|
1210
|
-
createdAt:
|
1211
|
-
updatedAt:
|
1212
|
-
deletedAt:
|
1213
|
+
createdAt: string;
|
1214
|
+
updatedAt: string;
|
1215
|
+
deletedAt: string | null;
|
1213
1216
|
attribute: {
|
1214
1217
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1215
1218
|
id: string;
|
1216
1219
|
position: number;
|
1217
|
-
createdAt:
|
1218
|
-
updatedAt:
|
1219
|
-
deletedAt:
|
1220
|
+
createdAt: string;
|
1221
|
+
updatedAt: string;
|
1222
|
+
deletedAt: string | null;
|
1220
1223
|
isDefault: boolean;
|
1221
1224
|
systemName: string;
|
1222
1225
|
displayName: string;
|
@@ -1231,25 +1234,25 @@ export declare const companyContract: {
|
|
1231
1234
|
}[] | undefined;
|
1232
1235
|
}, {
|
1233
1236
|
id: string;
|
1234
|
-
createdAt:
|
1235
|
-
updatedAt:
|
1236
|
-
deletedAt:
|
1237
|
+
createdAt: string;
|
1238
|
+
updatedAt: string;
|
1239
|
+
deletedAt: string | null;
|
1237
1240
|
name?: string | undefined;
|
1238
1241
|
phone?: string | null | undefined;
|
1239
1242
|
address?: string | null | undefined;
|
1240
1243
|
industry?: string | null | undefined;
|
1241
1244
|
customFields?: {
|
1242
1245
|
id: string;
|
1243
|
-
createdAt:
|
1244
|
-
updatedAt:
|
1245
|
-
deletedAt:
|
1246
|
+
createdAt: string;
|
1247
|
+
updatedAt: string;
|
1248
|
+
deletedAt: string | null;
|
1246
1249
|
attribute: {
|
1247
1250
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1248
1251
|
id: string;
|
1249
1252
|
position: number;
|
1250
|
-
createdAt:
|
1251
|
-
updatedAt:
|
1252
|
-
deletedAt:
|
1253
|
+
createdAt: string;
|
1254
|
+
updatedAt: string;
|
1255
|
+
deletedAt: string | null;
|
1253
1256
|
isDefault: boolean;
|
1254
1257
|
systemName: string;
|
1255
1258
|
displayName: string;
|
@@ -1266,25 +1269,25 @@ export declare const companyContract: {
|
|
1266
1269
|
}, "strip", z.ZodTypeAny, {
|
1267
1270
|
data: {
|
1268
1271
|
id: string;
|
1269
|
-
createdAt:
|
1270
|
-
updatedAt:
|
1271
|
-
deletedAt:
|
1272
|
+
createdAt: string;
|
1273
|
+
updatedAt: string;
|
1274
|
+
deletedAt: string | null;
|
1272
1275
|
name?: string | undefined;
|
1273
1276
|
phone?: string | null | undefined;
|
1274
1277
|
address?: string | null | undefined;
|
1275
1278
|
industry?: string | null | undefined;
|
1276
1279
|
customFields?: {
|
1277
1280
|
id: string;
|
1278
|
-
createdAt:
|
1279
|
-
updatedAt:
|
1280
|
-
deletedAt:
|
1281
|
+
createdAt: string;
|
1282
|
+
updatedAt: string;
|
1283
|
+
deletedAt: string | null;
|
1281
1284
|
attribute: {
|
1282
1285
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1283
1286
|
id: string;
|
1284
1287
|
position: number;
|
1285
|
-
createdAt:
|
1286
|
-
updatedAt:
|
1287
|
-
deletedAt:
|
1288
|
+
createdAt: string;
|
1289
|
+
updatedAt: string;
|
1290
|
+
deletedAt: string | null;
|
1288
1291
|
isDefault: boolean;
|
1289
1292
|
systemName: string;
|
1290
1293
|
displayName: string;
|
@@ -1302,25 +1305,25 @@ export declare const companyContract: {
|
|
1302
1305
|
}, {
|
1303
1306
|
data: {
|
1304
1307
|
id: string;
|
1305
|
-
createdAt:
|
1306
|
-
updatedAt:
|
1307
|
-
deletedAt:
|
1308
|
+
createdAt: string;
|
1309
|
+
updatedAt: string;
|
1310
|
+
deletedAt: string | null;
|
1308
1311
|
name?: string | undefined;
|
1309
1312
|
phone?: string | null | undefined;
|
1310
1313
|
address?: string | null | undefined;
|
1311
1314
|
industry?: string | null | undefined;
|
1312
1315
|
customFields?: {
|
1313
1316
|
id: string;
|
1314
|
-
createdAt:
|
1315
|
-
updatedAt:
|
1316
|
-
deletedAt:
|
1317
|
+
createdAt: string;
|
1318
|
+
updatedAt: string;
|
1319
|
+
deletedAt: string | null;
|
1317
1320
|
attribute: {
|
1318
1321
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1319
1322
|
id: string;
|
1320
1323
|
position: number;
|
1321
|
-
createdAt:
|
1322
|
-
updatedAt:
|
1323
|
-
deletedAt:
|
1324
|
+
createdAt: string;
|
1325
|
+
updatedAt: string;
|
1326
|
+
deletedAt: string | null;
|
1324
1327
|
isDefault: boolean;
|
1325
1328
|
systemName: string;
|
1326
1329
|
displayName: string;
|
@@ -1388,7 +1391,7 @@ export declare const companyContract: {
|
|
1388
1391
|
error?: any;
|
1389
1392
|
}>;
|
1390
1393
|
};
|
1391
|
-
path: "
|
1394
|
+
path: "companies/:id";
|
1392
1395
|
};
|
1393
1396
|
getAll: {
|
1394
1397
|
summary: "Get all companies";
|
@@ -1453,27 +1456,27 @@ export declare const companyContract: {
|
|
1453
1456
|
lastPage: z.ZodNumber;
|
1454
1457
|
data: z.ZodArray<z.ZodObject<{
|
1455
1458
|
id: z.ZodString;
|
1456
|
-
createdAt: z.
|
1457
|
-
updatedAt: z.
|
1458
|
-
deletedAt: z.ZodNullable<z.
|
1459
|
+
createdAt: z.ZodString;
|
1460
|
+
updatedAt: z.ZodString;
|
1461
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1459
1462
|
name: z.ZodOptional<z.ZodString>;
|
1460
1463
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1461
1464
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1462
1465
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1463
1466
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1464
1467
|
id: z.ZodString;
|
1465
|
-
createdAt: z.
|
1466
|
-
updatedAt: z.
|
1467
|
-
deletedAt: z.ZodNullable<z.
|
1468
|
+
createdAt: z.ZodString;
|
1469
|
+
updatedAt: z.ZodString;
|
1470
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1468
1471
|
textValue: z.ZodNullable<z.ZodString>;
|
1469
1472
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1470
1473
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1471
1474
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1472
1475
|
attribute: z.ZodObject<Omit<{
|
1473
1476
|
id: z.ZodString;
|
1474
|
-
createdAt: z.
|
1475
|
-
updatedAt: z.
|
1476
|
-
deletedAt: z.ZodNullable<z.
|
1477
|
+
createdAt: z.ZodString;
|
1478
|
+
updatedAt: z.ZodString;
|
1479
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1477
1480
|
systemName: z.ZodString;
|
1478
1481
|
displayName: z.ZodString;
|
1479
1482
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1503,23 +1506,23 @@ export declare const companyContract: {
|
|
1503
1506
|
}>, "many">;
|
1504
1507
|
group: z.ZodObject<{
|
1505
1508
|
id: z.ZodString;
|
1506
|
-
createdAt: z.
|
1507
|
-
updatedAt: z.
|
1508
|
-
deletedAt: z.ZodNullable<z.
|
1509
|
+
createdAt: z.ZodString;
|
1510
|
+
updatedAt: z.ZodString;
|
1511
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1509
1512
|
systemName: z.ZodString;
|
1510
1513
|
displayName: z.ZodString;
|
1511
1514
|
}, "strip", z.ZodTypeAny, {
|
1512
1515
|
id: string;
|
1513
|
-
createdAt:
|
1514
|
-
updatedAt:
|
1515
|
-
deletedAt:
|
1516
|
+
createdAt: string;
|
1517
|
+
updatedAt: string;
|
1518
|
+
deletedAt: string | null;
|
1516
1519
|
systemName: string;
|
1517
1520
|
displayName: string;
|
1518
1521
|
}, {
|
1519
1522
|
id: string;
|
1520
|
-
createdAt:
|
1521
|
-
updatedAt:
|
1522
|
-
deletedAt:
|
1523
|
+
createdAt: string;
|
1524
|
+
updatedAt: string;
|
1525
|
+
deletedAt: string | null;
|
1523
1526
|
systemName: string;
|
1524
1527
|
displayName: string;
|
1525
1528
|
}>;
|
@@ -1527,9 +1530,9 @@ export declare const companyContract: {
|
|
1527
1530
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1528
1531
|
id: string;
|
1529
1532
|
position: number;
|
1530
|
-
createdAt:
|
1531
|
-
updatedAt:
|
1532
|
-
deletedAt:
|
1533
|
+
createdAt: string;
|
1534
|
+
updatedAt: string;
|
1535
|
+
deletedAt: string | null;
|
1533
1536
|
isDefault: boolean;
|
1534
1537
|
systemName: string;
|
1535
1538
|
displayName: string;
|
@@ -1540,9 +1543,9 @@ export declare const companyContract: {
|
|
1540
1543
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1541
1544
|
id: string;
|
1542
1545
|
position: number;
|
1543
|
-
createdAt:
|
1544
|
-
updatedAt:
|
1545
|
-
deletedAt:
|
1546
|
+
createdAt: string;
|
1547
|
+
updatedAt: string;
|
1548
|
+
deletedAt: string | null;
|
1546
1549
|
isDefault: boolean;
|
1547
1550
|
systemName: string;
|
1548
1551
|
displayName: string;
|
@@ -1552,16 +1555,16 @@ export declare const companyContract: {
|
|
1552
1555
|
}>;
|
1553
1556
|
}, "strip", z.ZodTypeAny, {
|
1554
1557
|
id: string;
|
1555
|
-
createdAt:
|
1556
|
-
updatedAt:
|
1557
|
-
deletedAt:
|
1558
|
+
createdAt: string;
|
1559
|
+
updatedAt: string;
|
1560
|
+
deletedAt: string | null;
|
1558
1561
|
attribute: {
|
1559
1562
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1560
1563
|
id: string;
|
1561
1564
|
position: number;
|
1562
|
-
createdAt:
|
1563
|
-
updatedAt:
|
1564
|
-
deletedAt:
|
1565
|
+
createdAt: string;
|
1566
|
+
updatedAt: string;
|
1567
|
+
deletedAt: string | null;
|
1565
1568
|
isDefault: boolean;
|
1566
1569
|
systemName: string;
|
1567
1570
|
displayName: string;
|
@@ -1575,16 +1578,16 @@ export declare const companyContract: {
|
|
1575
1578
|
dateValue: Date | null;
|
1576
1579
|
}, {
|
1577
1580
|
id: string;
|
1578
|
-
createdAt:
|
1579
|
-
updatedAt:
|
1580
|
-
deletedAt:
|
1581
|
+
createdAt: string;
|
1582
|
+
updatedAt: string;
|
1583
|
+
deletedAt: string | null;
|
1581
1584
|
attribute: {
|
1582
1585
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1583
1586
|
id: string;
|
1584
1587
|
position: number;
|
1585
|
-
createdAt:
|
1586
|
-
updatedAt:
|
1587
|
-
deletedAt:
|
1588
|
+
createdAt: string;
|
1589
|
+
updatedAt: string;
|
1590
|
+
deletedAt: string | null;
|
1588
1591
|
isDefault: boolean;
|
1589
1592
|
systemName: string;
|
1590
1593
|
displayName: string;
|
@@ -1599,25 +1602,25 @@ export declare const companyContract: {
|
|
1599
1602
|
}>, "many">>;
|
1600
1603
|
}, "strip", z.ZodTypeAny, {
|
1601
1604
|
id: string;
|
1602
|
-
createdAt:
|
1603
|
-
updatedAt:
|
1604
|
-
deletedAt:
|
1605
|
+
createdAt: string;
|
1606
|
+
updatedAt: string;
|
1607
|
+
deletedAt: string | null;
|
1605
1608
|
name?: string | undefined;
|
1606
1609
|
phone?: string | null | undefined;
|
1607
1610
|
address?: string | null | undefined;
|
1608
1611
|
industry?: string | null | undefined;
|
1609
1612
|
customFields?: {
|
1610
1613
|
id: string;
|
1611
|
-
createdAt:
|
1612
|
-
updatedAt:
|
1613
|
-
deletedAt:
|
1614
|
+
createdAt: string;
|
1615
|
+
updatedAt: string;
|
1616
|
+
deletedAt: string | null;
|
1614
1617
|
attribute: {
|
1615
1618
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1616
1619
|
id: string;
|
1617
1620
|
position: number;
|
1618
|
-
createdAt:
|
1619
|
-
updatedAt:
|
1620
|
-
deletedAt:
|
1621
|
+
createdAt: string;
|
1622
|
+
updatedAt: string;
|
1623
|
+
deletedAt: string | null;
|
1621
1624
|
isDefault: boolean;
|
1622
1625
|
systemName: string;
|
1623
1626
|
displayName: string;
|
@@ -1632,25 +1635,25 @@ export declare const companyContract: {
|
|
1632
1635
|
}[] | undefined;
|
1633
1636
|
}, {
|
1634
1637
|
id: string;
|
1635
|
-
createdAt:
|
1636
|
-
updatedAt:
|
1637
|
-
deletedAt:
|
1638
|
+
createdAt: string;
|
1639
|
+
updatedAt: string;
|
1640
|
+
deletedAt: string | null;
|
1638
1641
|
name?: string | undefined;
|
1639
1642
|
phone?: string | null | undefined;
|
1640
1643
|
address?: string | null | undefined;
|
1641
1644
|
industry?: string | null | undefined;
|
1642
1645
|
customFields?: {
|
1643
1646
|
id: string;
|
1644
|
-
createdAt:
|
1645
|
-
updatedAt:
|
1646
|
-
deletedAt:
|
1647
|
+
createdAt: string;
|
1648
|
+
updatedAt: string;
|
1649
|
+
deletedAt: string | null;
|
1647
1650
|
attribute: {
|
1648
1651
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1649
1652
|
id: string;
|
1650
1653
|
position: number;
|
1651
|
-
createdAt:
|
1652
|
-
updatedAt:
|
1653
|
-
deletedAt:
|
1654
|
+
createdAt: string;
|
1655
|
+
updatedAt: string;
|
1656
|
+
deletedAt: string | null;
|
1654
1657
|
isDefault: boolean;
|
1655
1658
|
systemName: string;
|
1656
1659
|
displayName: string;
|
@@ -1667,25 +1670,25 @@ export declare const companyContract: {
|
|
1667
1670
|
}, "strip", z.ZodTypeAny, {
|
1668
1671
|
data: {
|
1669
1672
|
id: string;
|
1670
|
-
createdAt:
|
1671
|
-
updatedAt:
|
1672
|
-
deletedAt:
|
1673
|
+
createdAt: string;
|
1674
|
+
updatedAt: string;
|
1675
|
+
deletedAt: string | null;
|
1673
1676
|
name?: string | undefined;
|
1674
1677
|
phone?: string | null | undefined;
|
1675
1678
|
address?: string | null | undefined;
|
1676
1679
|
industry?: string | null | undefined;
|
1677
1680
|
customFields?: {
|
1678
1681
|
id: string;
|
1679
|
-
createdAt:
|
1680
|
-
updatedAt:
|
1681
|
-
deletedAt:
|
1682
|
+
createdAt: string;
|
1683
|
+
updatedAt: string;
|
1684
|
+
deletedAt: string | null;
|
1682
1685
|
attribute: {
|
1683
1686
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1684
1687
|
id: string;
|
1685
1688
|
position: number;
|
1686
|
-
createdAt:
|
1687
|
-
updatedAt:
|
1688
|
-
deletedAt:
|
1689
|
+
createdAt: string;
|
1690
|
+
updatedAt: string;
|
1691
|
+
deletedAt: string | null;
|
1689
1692
|
isDefault: boolean;
|
1690
1693
|
systemName: string;
|
1691
1694
|
displayName: string;
|
@@ -1707,25 +1710,25 @@ export declare const companyContract: {
|
|
1707
1710
|
}, {
|
1708
1711
|
data: {
|
1709
1712
|
id: string;
|
1710
|
-
createdAt:
|
1711
|
-
updatedAt:
|
1712
|
-
deletedAt:
|
1713
|
+
createdAt: string;
|
1714
|
+
updatedAt: string;
|
1715
|
+
deletedAt: string | null;
|
1713
1716
|
name?: string | undefined;
|
1714
1717
|
phone?: string | null | undefined;
|
1715
1718
|
address?: string | null | undefined;
|
1716
1719
|
industry?: string | null | undefined;
|
1717
1720
|
customFields?: {
|
1718
1721
|
id: string;
|
1719
|
-
createdAt:
|
1720
|
-
updatedAt:
|
1721
|
-
deletedAt:
|
1722
|
+
createdAt: string;
|
1723
|
+
updatedAt: string;
|
1724
|
+
deletedAt: string | null;
|
1722
1725
|
attribute: {
|
1723
1726
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1724
1727
|
id: string;
|
1725
1728
|
position: number;
|
1726
|
-
createdAt:
|
1727
|
-
updatedAt:
|
1728
|
-
deletedAt:
|
1729
|
+
createdAt: string;
|
1730
|
+
updatedAt: string;
|
1731
|
+
deletedAt: string | null;
|
1729
1732
|
isDefault: boolean;
|
1730
1733
|
systemName: string;
|
1731
1734
|
displayName: string;
|
@@ -1797,7 +1800,7 @@ export declare const companyContract: {
|
|
1797
1800
|
error?: any;
|
1798
1801
|
}>;
|
1799
1802
|
};
|
1800
|
-
path: "
|
1803
|
+
path: "companies";
|
1801
1804
|
};
|
1802
1805
|
};
|
1803
1806
|
//# sourceMappingURL=index.d.ts.map
|