@kl1/contracts 1.2.27-uat → 1.2.29-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +21 -21
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +152 -168
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -55
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +111 -123
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -13
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +6 -8
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +41 -45
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +60 -72
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +18 -23
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +121 -130
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +4 -5
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1697 -1543
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +66 -54
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +86 -72
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +17916 -14660
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3981 -3226
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +4020 -3555
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +468 -525
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +118 -136
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +113 -140
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +24 -33
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +66 -82
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +816 -934
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +68 -82
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +352 -433
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +35561 -32035
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +54 -0
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
- package/dist/api-contracts/src/cx-log/index.d.ts +917 -944
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +594 -626
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +376 -417
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +38 -39
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +3 -4
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +116 -122
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +3386 -2890
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +138 -140
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +150 -160
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +2 -3
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +176 -55
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +29 -5
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +3718 -3231
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +16 -16
- package/dist/api-contracts/src/line/index.d.ts +3738 -3263
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +15 -16
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +164 -153
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +246 -256
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +3050 -3095
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +44 -50
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +379 -385
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +1509 -1532
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +486 -490
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +468 -473
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +3718 -3233
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +146 -156
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +38 -42
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +280 -344
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +44 -58
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +108 -133
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +83 -88
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +260 -241
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +96 -118
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +24 -31
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +233 -255
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +276 -306
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +84 -91
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +4 -5
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2955 -2496
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +68 -72
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +6 -7
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1329 -1394
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +222 -242
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +4 -5
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +958 -1057
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +100 -123
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +34 -36
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +130 -136
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +8 -9
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +35 -36
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +6 -7
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +3442 -2983
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +8425 -6944
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +3577 -3105
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +152 -163
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +4 -5
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1860 -1543
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +4 -5
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +173 -192
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +10 -13
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +3 -4
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +3271 -3172
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3270 -3172
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -44,43 +44,41 @@ export declare const publicApiContract: {
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
45
45
|
name: string;
|
46
46
|
customFields: Record<string, string>;
|
47
|
-
channel?: string | undefined;
|
48
|
-
address?: string | undefined;
|
49
47
|
email?: {
|
50
48
|
isPrimary: boolean;
|
51
49
|
email: string;
|
52
50
|
}[] | undefined;
|
51
|
+
channel?: string | undefined;
|
52
|
+
address?: string | undefined;
|
53
53
|
phone?: {
|
54
54
|
isPrimary: boolean;
|
55
55
|
phone: string;
|
56
56
|
}[] | undefined;
|
57
|
-
company?: string | undefined;
|
58
57
|
notes?: string | undefined;
|
59
58
|
tags?: string[] | undefined;
|
59
|
+
company?: string | undefined;
|
60
60
|
}, {
|
61
61
|
name: string;
|
62
62
|
customFields: Record<string, string>;
|
63
|
-
channel?: string | undefined;
|
64
|
-
address?: string | undefined;
|
65
63
|
email?: {
|
66
64
|
isPrimary: boolean;
|
67
65
|
email: string;
|
68
66
|
}[] | undefined;
|
67
|
+
channel?: string | undefined;
|
68
|
+
address?: string | undefined;
|
69
69
|
phone?: {
|
70
70
|
isPrimary: boolean;
|
71
71
|
phone: string;
|
72
72
|
}[] | undefined;
|
73
|
-
company?: string | undefined;
|
74
73
|
notes?: string | undefined;
|
75
74
|
tags?: string[] | undefined;
|
75
|
+
company?: string | undefined;
|
76
76
|
}>;
|
77
77
|
summary: "Create a new contact";
|
78
78
|
method: "POST";
|
79
|
-
path: "api/v1/contacts";
|
80
79
|
responses: {
|
81
|
-
201: z.ZodObject<
|
80
|
+
201: z.ZodObject<{
|
82
81
|
requestId: z.ZodString;
|
83
|
-
}, {
|
84
82
|
data: z.ZodObject<{
|
85
83
|
id: z.ZodString;
|
86
84
|
createdAt: z.ZodDate;
|
@@ -92,52 +90,48 @@ export declare const publicApiContract: {
|
|
92
90
|
notes: z.ZodNullable<z.ZodString>;
|
93
91
|
contactProfile: z.ZodNullable<z.ZodString>;
|
94
92
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
95
|
-
tags: z.ZodArray<z.ZodObject<
|
93
|
+
tags: z.ZodArray<z.ZodObject<{
|
96
94
|
id: z.ZodString;
|
97
95
|
createdAt: z.ZodDate;
|
98
96
|
updatedAt: z.ZodDate;
|
99
97
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
100
|
-
}, {
|
101
98
|
name: z.ZodString;
|
102
|
-
}
|
103
|
-
name: string;
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
104
100
|
id: string;
|
101
|
+
name: string;
|
105
102
|
createdAt: Date;
|
106
103
|
updatedAt: Date;
|
107
104
|
deletedAt: Date | null;
|
108
105
|
}, {
|
109
|
-
name: string;
|
110
106
|
id: string;
|
107
|
+
name: string;
|
111
108
|
createdAt: Date;
|
112
109
|
updatedAt: Date;
|
113
110
|
deletedAt: Date | null;
|
114
111
|
}>, "many">;
|
115
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
112
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
116
113
|
id: z.ZodString;
|
117
114
|
createdAt: z.ZodDate;
|
118
115
|
updatedAt: z.ZodDate;
|
119
116
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
120
|
-
}, {
|
121
117
|
name: z.ZodOptional<z.ZodString>;
|
122
118
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
123
119
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
124
120
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
125
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
121
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
126
122
|
id: z.ZodString;
|
127
123
|
createdAt: z.ZodDate;
|
128
124
|
updatedAt: z.ZodDate;
|
129
125
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
130
|
-
}, {
|
131
126
|
textValue: z.ZodNullable<z.ZodString>;
|
132
127
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
133
128
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
134
129
|
dateValue: z.ZodNullable<z.ZodDate>;
|
135
|
-
attribute: z.ZodObject<Omit<
|
130
|
+
attribute: z.ZodObject<Omit<{
|
136
131
|
id: z.ZodString;
|
137
132
|
createdAt: z.ZodDate;
|
138
133
|
updatedAt: z.ZodDate;
|
139
134
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
140
|
-
}, {
|
141
135
|
systemName: z.ZodString;
|
142
136
|
displayName: z.ZodString;
|
143
137
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -146,14 +140,13 @@ export declare const publicApiContract: {
|
|
146
140
|
isArchived: z.ZodBoolean;
|
147
141
|
isRequired: z.ZodBoolean;
|
148
142
|
isUnique: z.ZodBoolean;
|
149
|
-
options: z.ZodArray<z.ZodObject<
|
150
|
-
|
143
|
+
options: z.ZodArray<z.ZodObject<{
|
144
|
+
position: z.ZodNumber;
|
151
145
|
value: z.ZodString;
|
146
|
+
label: z.ZodString;
|
152
147
|
isDefault: z.ZodBoolean;
|
153
|
-
position: z.ZodNumber;
|
154
|
-
}, {
|
155
148
|
id: z.ZodString;
|
156
|
-
}
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
157
150
|
id: string;
|
158
151
|
position: number;
|
159
152
|
value: string;
|
@@ -166,15 +159,14 @@ export declare const publicApiContract: {
|
|
166
159
|
label: string;
|
167
160
|
isDefault: boolean;
|
168
161
|
}>, "many">;
|
169
|
-
group: z.ZodObject<
|
162
|
+
group: z.ZodObject<{
|
170
163
|
id: z.ZodString;
|
171
164
|
createdAt: z.ZodDate;
|
172
165
|
updatedAt: z.ZodDate;
|
173
166
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
174
|
-
}, {
|
175
167
|
systemName: z.ZodString;
|
176
168
|
displayName: z.ZodString;
|
177
|
-
}
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
178
170
|
id: string;
|
179
171
|
createdAt: Date;
|
180
172
|
updatedAt: Date;
|
@@ -189,7 +181,7 @@ export declare const publicApiContract: {
|
|
189
181
|
systemName: string;
|
190
182
|
displayName: string;
|
191
183
|
}>;
|
192
|
-
}
|
184
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
193
185
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
194
186
|
id: string;
|
195
187
|
position: number;
|
@@ -216,7 +208,7 @@ export declare const publicApiContract: {
|
|
216
208
|
isRequired: boolean;
|
217
209
|
isUnique: boolean;
|
218
210
|
}>;
|
219
|
-
}
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
220
212
|
id: string;
|
221
213
|
createdAt: Date;
|
222
214
|
updatedAt: Date;
|
@@ -263,13 +255,13 @@ export declare const publicApiContract: {
|
|
263
255
|
numberValue: number | null;
|
264
256
|
dateValue: Date | null;
|
265
257
|
}>, "many">>;
|
266
|
-
}
|
258
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
267
259
|
id: string;
|
268
260
|
createdAt: Date;
|
269
261
|
updatedAt: Date;
|
270
262
|
deletedAt: Date | null;
|
271
|
-
name?: string | undefined;
|
272
263
|
address?: string | null | undefined;
|
264
|
+
name?: string | undefined;
|
273
265
|
phone?: string | null | undefined;
|
274
266
|
industry?: string | null | undefined;
|
275
267
|
}, {
|
@@ -277,8 +269,8 @@ export declare const publicApiContract: {
|
|
277
269
|
createdAt: Date;
|
278
270
|
updatedAt: Date;
|
279
271
|
deletedAt: Date | null;
|
280
|
-
name?: string | undefined;
|
281
272
|
address?: string | null | undefined;
|
273
|
+
name?: string | undefined;
|
282
274
|
phone?: string | null | undefined;
|
283
275
|
industry?: string | null | undefined;
|
284
276
|
}>>;
|
@@ -291,12 +283,11 @@ export declare const publicApiContract: {
|
|
291
283
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
292
284
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
293
285
|
dateValue: z.ZodNullable<z.ZodDate>;
|
294
|
-
attribute: z.ZodObject<Omit<
|
286
|
+
attribute: z.ZodObject<Omit<{
|
295
287
|
id: z.ZodString;
|
296
288
|
createdAt: z.ZodDate;
|
297
289
|
updatedAt: z.ZodDate;
|
298
290
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
299
|
-
}, {
|
300
291
|
systemName: z.ZodString;
|
301
292
|
displayName: z.ZodString;
|
302
293
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -305,14 +296,13 @@ export declare const publicApiContract: {
|
|
305
296
|
isArchived: z.ZodBoolean;
|
306
297
|
isRequired: z.ZodBoolean;
|
307
298
|
isUnique: z.ZodBoolean;
|
308
|
-
options: z.ZodArray<z.ZodObject<
|
309
|
-
|
299
|
+
options: z.ZodArray<z.ZodObject<{
|
300
|
+
position: z.ZodNumber;
|
310
301
|
value: z.ZodString;
|
302
|
+
label: z.ZodString;
|
311
303
|
isDefault: z.ZodBoolean;
|
312
|
-
position: z.ZodNumber;
|
313
|
-
}, {
|
314
304
|
id: z.ZodString;
|
315
|
-
}
|
305
|
+
}, "strip", z.ZodTypeAny, {
|
316
306
|
id: string;
|
317
307
|
position: number;
|
318
308
|
value: string;
|
@@ -325,15 +315,14 @@ export declare const publicApiContract: {
|
|
325
315
|
label: string;
|
326
316
|
isDefault: boolean;
|
327
317
|
}>, "many">;
|
328
|
-
group: z.ZodObject<
|
318
|
+
group: z.ZodObject<{
|
329
319
|
id: z.ZodString;
|
330
320
|
createdAt: z.ZodDate;
|
331
321
|
updatedAt: z.ZodDate;
|
332
322
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
333
|
-
}, {
|
334
323
|
systemName: z.ZodString;
|
335
324
|
displayName: z.ZodString;
|
336
|
-
}
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
337
326
|
id: string;
|
338
327
|
createdAt: Date;
|
339
328
|
updatedAt: Date;
|
@@ -348,7 +337,7 @@ export declare const publicApiContract: {
|
|
348
337
|
systemName: string;
|
349
338
|
displayName: string;
|
350
339
|
}>;
|
351
|
-
}
|
340
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
352
341
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
353
342
|
id: string;
|
354
343
|
position: number;
|
@@ -375,19 +364,18 @@ export declare const publicApiContract: {
|
|
375
364
|
isRequired: boolean;
|
376
365
|
isUnique: boolean;
|
377
366
|
}>;
|
378
|
-
uploads: z.ZodArray<z.ZodObject<
|
367
|
+
uploads: z.ZodArray<z.ZodObject<{
|
379
368
|
id: z.ZodString;
|
380
369
|
createdAt: z.ZodDate;
|
381
370
|
updatedAt: z.ZodDate;
|
382
371
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
383
|
-
}, {
|
384
372
|
bucketName: z.ZodString;
|
385
373
|
fileName: z.ZodString;
|
386
374
|
fileSize: z.ZodNumber;
|
387
375
|
fileKey: z.ZodString;
|
388
376
|
fileUrl: z.ZodNullable<z.ZodString>;
|
389
377
|
status: z.ZodNullable<z.ZodString>;
|
390
|
-
}
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
391
379
|
id: string;
|
392
380
|
status: string | null;
|
393
381
|
createdAt: Date;
|
@@ -586,10 +574,10 @@ export declare const publicApiContract: {
|
|
586
574
|
};
|
587
575
|
}>, "many">>;
|
588
576
|
}, "strip", z.ZodTypeAny, {
|
589
|
-
name: string;
|
590
577
|
id: string;
|
591
578
|
channel: string | null;
|
592
579
|
address: string | null;
|
580
|
+
name: string;
|
593
581
|
createdAt: Date;
|
594
582
|
updatedAt: Date;
|
595
583
|
deletedAt: Date | null;
|
@@ -634,8 +622,8 @@ export declare const publicApiContract: {
|
|
634
622
|
createdAt: Date;
|
635
623
|
updatedAt: Date;
|
636
624
|
deletedAt: Date | null;
|
637
|
-
name?: string | undefined;
|
638
625
|
address?: string | null | undefined;
|
626
|
+
name?: string | undefined;
|
639
627
|
phone?: string | null | undefined;
|
640
628
|
industry?: string | null | undefined;
|
641
629
|
} | null;
|
@@ -643,8 +631,8 @@ export declare const publicApiContract: {
|
|
643
631
|
contactProfile: string | null;
|
644
632
|
socialProfileUrl: string | null;
|
645
633
|
tags: {
|
646
|
-
name: string;
|
647
634
|
id: string;
|
635
|
+
name: string;
|
648
636
|
createdAt: Date;
|
649
637
|
updatedAt: Date;
|
650
638
|
deletedAt: Date | null;
|
@@ -682,10 +670,10 @@ export declare const publicApiContract: {
|
|
682
670
|
};
|
683
671
|
}[] | undefined;
|
684
672
|
}, {
|
685
|
-
name: string;
|
686
673
|
id: string;
|
687
674
|
channel: string | null;
|
688
675
|
address: string | null;
|
676
|
+
name: string;
|
689
677
|
createdAt: Date;
|
690
678
|
updatedAt: Date;
|
691
679
|
deletedAt: Date | null;
|
@@ -730,8 +718,8 @@ export declare const publicApiContract: {
|
|
730
718
|
createdAt: Date;
|
731
719
|
updatedAt: Date;
|
732
720
|
deletedAt: Date | null;
|
733
|
-
name?: string | undefined;
|
734
721
|
address?: string | null | undefined;
|
722
|
+
name?: string | undefined;
|
735
723
|
phone?: string | null | undefined;
|
736
724
|
industry?: string | null | undefined;
|
737
725
|
} | null;
|
@@ -739,8 +727,8 @@ export declare const publicApiContract: {
|
|
739
727
|
contactProfile: string | null;
|
740
728
|
socialProfileUrl: string | null;
|
741
729
|
tags: {
|
742
|
-
name: string;
|
743
730
|
id: string;
|
731
|
+
name: string;
|
744
732
|
createdAt: Date;
|
745
733
|
updatedAt: Date;
|
746
734
|
deletedAt: Date | null;
|
@@ -778,12 +766,12 @@ export declare const publicApiContract: {
|
|
778
766
|
};
|
779
767
|
}[] | undefined;
|
780
768
|
}>;
|
781
|
-
}
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
782
770
|
data: {
|
783
|
-
name: string;
|
784
771
|
id: string;
|
785
772
|
channel: string | null;
|
786
773
|
address: string | null;
|
774
|
+
name: string;
|
787
775
|
createdAt: Date;
|
788
776
|
updatedAt: Date;
|
789
777
|
deletedAt: Date | null;
|
@@ -828,8 +816,8 @@ export declare const publicApiContract: {
|
|
828
816
|
createdAt: Date;
|
829
817
|
updatedAt: Date;
|
830
818
|
deletedAt: Date | null;
|
831
|
-
name?: string | undefined;
|
832
819
|
address?: string | null | undefined;
|
820
|
+
name?: string | undefined;
|
833
821
|
phone?: string | null | undefined;
|
834
822
|
industry?: string | null | undefined;
|
835
823
|
} | null;
|
@@ -837,8 +825,8 @@ export declare const publicApiContract: {
|
|
837
825
|
contactProfile: string | null;
|
838
826
|
socialProfileUrl: string | null;
|
839
827
|
tags: {
|
840
|
-
name: string;
|
841
828
|
id: string;
|
829
|
+
name: string;
|
842
830
|
createdAt: Date;
|
843
831
|
updatedAt: Date;
|
844
832
|
deletedAt: Date | null;
|
@@ -879,10 +867,10 @@ export declare const publicApiContract: {
|
|
879
867
|
requestId: string;
|
880
868
|
}, {
|
881
869
|
data: {
|
882
|
-
name: string;
|
883
870
|
id: string;
|
884
871
|
channel: string | null;
|
885
872
|
address: string | null;
|
873
|
+
name: string;
|
886
874
|
createdAt: Date;
|
887
875
|
updatedAt: Date;
|
888
876
|
deletedAt: Date | null;
|
@@ -927,8 +915,8 @@ export declare const publicApiContract: {
|
|
927
915
|
createdAt: Date;
|
928
916
|
updatedAt: Date;
|
929
917
|
deletedAt: Date | null;
|
930
|
-
name?: string | undefined;
|
931
918
|
address?: string | null | undefined;
|
919
|
+
name?: string | undefined;
|
932
920
|
phone?: string | null | undefined;
|
933
921
|
industry?: string | null | undefined;
|
934
922
|
} | null;
|
@@ -936,8 +924,8 @@ export declare const publicApiContract: {
|
|
936
924
|
contactProfile: string | null;
|
937
925
|
socialProfileUrl: string | null;
|
938
926
|
tags: {
|
939
|
-
name: string;
|
940
927
|
id: string;
|
928
|
+
name: string;
|
941
929
|
createdAt: Date;
|
942
930
|
updatedAt: Date;
|
943
931
|
deletedAt: Date | null;
|
@@ -1032,6 +1020,7 @@ export declare const publicApiContract: {
|
|
1032
1020
|
error?: any;
|
1033
1021
|
}>;
|
1034
1022
|
};
|
1023
|
+
path: "api/v1/contacts";
|
1035
1024
|
};
|
1036
1025
|
getAllTags: {
|
1037
1026
|
method: "GET";
|
@@ -1045,36 +1034,33 @@ export declare const publicApiContract: {
|
|
1045
1034
|
group?: "general" | "contact" | undefined;
|
1046
1035
|
keyword?: string | undefined;
|
1047
1036
|
}>>;
|
1048
|
-
path: "api/v1/tags";
|
1049
1037
|
responses: {
|
1050
|
-
200: z.ZodObject<
|
1038
|
+
200: z.ZodObject<{
|
1051
1039
|
requestId: z.ZodString;
|
1052
|
-
|
1053
|
-
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1040
|
+
tags: z.ZodArray<z.ZodObject<{
|
1054
1041
|
id: z.ZodString;
|
1055
1042
|
createdAt: z.ZodDate;
|
1056
1043
|
updatedAt: z.ZodDate;
|
1057
1044
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1058
|
-
}, {
|
1059
1045
|
name: z.ZodString;
|
1060
|
-
}
|
1061
|
-
name: string;
|
1046
|
+
}, "strip", z.ZodTypeAny, {
|
1062
1047
|
id: string;
|
1048
|
+
name: string;
|
1063
1049
|
createdAt: Date;
|
1064
1050
|
updatedAt: Date;
|
1065
1051
|
deletedAt: Date | null;
|
1066
1052
|
}, {
|
1067
|
-
name: string;
|
1068
1053
|
id: string;
|
1054
|
+
name: string;
|
1069
1055
|
createdAt: Date;
|
1070
1056
|
updatedAt: Date;
|
1071
1057
|
deletedAt: Date | null;
|
1072
1058
|
}>, "many">;
|
1073
|
-
}
|
1059
|
+
}, "strip", z.ZodTypeAny, {
|
1074
1060
|
requestId: string;
|
1075
1061
|
tags: {
|
1076
|
-
name: string;
|
1077
1062
|
id: string;
|
1063
|
+
name: string;
|
1078
1064
|
createdAt: Date;
|
1079
1065
|
updatedAt: Date;
|
1080
1066
|
deletedAt: Date | null;
|
@@ -1082,8 +1068,8 @@ export declare const publicApiContract: {
|
|
1082
1068
|
}, {
|
1083
1069
|
requestId: string;
|
1084
1070
|
tags: {
|
1085
|
-
name: string;
|
1086
1071
|
id: string;
|
1072
|
+
name: string;
|
1087
1073
|
createdAt: Date;
|
1088
1074
|
updatedAt: Date;
|
1089
1075
|
deletedAt: Date | null;
|
@@ -1144,6 +1130,7 @@ export declare const publicApiContract: {
|
|
1144
1130
|
error?: any;
|
1145
1131
|
}>;
|
1146
1132
|
};
|
1133
|
+
path: "api/v1/tags";
|
1147
1134
|
};
|
1148
1135
|
getAllContact: {
|
1149
1136
|
summary: "Get all contacts";
|
@@ -1163,11 +1150,11 @@ export declare const publicApiContract: {
|
|
1163
1150
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
1164
1151
|
}, "strip", z.ZodTypeAny, {
|
1165
1152
|
type: string;
|
1166
|
-
value: string | string[];
|
1153
|
+
value: (string | string[]) & (string | string[] | undefined);
|
1167
1154
|
attributeId: string;
|
1168
1155
|
}, {
|
1169
1156
|
type: string;
|
1170
|
-
value: string | string[];
|
1157
|
+
value: (string | string[]) & (string | string[] | undefined);
|
1171
1158
|
attributeId: string;
|
1172
1159
|
}>, "many">>;
|
1173
1160
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1175,47 +1162,45 @@ export declare const publicApiContract: {
|
|
1175
1162
|
email: z.ZodOptional<z.ZodString>;
|
1176
1163
|
notes: z.ZodOptional<z.ZodString>;
|
1177
1164
|
}, "strip", z.ZodTypeAny, {
|
1178
|
-
name?: string | undefined;
|
1179
|
-
channel?: string[] | undefined;
|
1180
|
-
address?: string | undefined;
|
1181
1165
|
page?: number | undefined;
|
1182
|
-
email?: string | undefined;
|
1183
1166
|
pageSize?: number | undefined;
|
1184
|
-
|
1167
|
+
keyword?: string | undefined;
|
1168
|
+
company?: string[] | undefined;
|
1169
|
+
name?: string | undefined;
|
1170
|
+
address?: string | undefined;
|
1171
|
+
channel?: string[] | undefined;
|
1172
|
+
selectedDate?: string | undefined;
|
1185
1173
|
customFields?: {
|
1186
1174
|
type: string;
|
1187
|
-
value: string | string[];
|
1175
|
+
value: (string | string[]) & (string | string[] | undefined);
|
1188
1176
|
attributeId: string;
|
1189
1177
|
}[] | undefined;
|
1190
|
-
company?: string[] | undefined;
|
1191
|
-
notes?: string | undefined;
|
1192
1178
|
tags?: string[] | undefined;
|
1193
|
-
|
1194
|
-
|
1179
|
+
phone?: string | undefined;
|
1180
|
+
email?: string | undefined;
|
1181
|
+
notes?: string | undefined;
|
1195
1182
|
}, {
|
1196
|
-
name?: string | undefined;
|
1197
|
-
channel?: string[] | undefined;
|
1198
|
-
address?: string | undefined;
|
1199
1183
|
page?: number | undefined;
|
1200
|
-
email?: string | undefined;
|
1201
1184
|
pageSize?: number | undefined;
|
1202
|
-
|
1185
|
+
keyword?: string | undefined;
|
1186
|
+
company?: string[] | undefined;
|
1187
|
+
name?: string | undefined;
|
1188
|
+
address?: string | undefined;
|
1189
|
+
channel?: string[] | undefined;
|
1190
|
+
selectedDate?: string | undefined;
|
1203
1191
|
customFields?: {
|
1204
1192
|
type: string;
|
1205
|
-
value: string | string[];
|
1193
|
+
value: (string | string[]) & (string | string[] | undefined);
|
1206
1194
|
attributeId: string;
|
1207
1195
|
}[] | undefined;
|
1208
|
-
company?: string[] | undefined;
|
1209
|
-
notes?: string | undefined;
|
1210
1196
|
tags?: string[] | undefined;
|
1211
|
-
|
1212
|
-
|
1197
|
+
phone?: string | undefined;
|
1198
|
+
email?: string | undefined;
|
1199
|
+
notes?: string | undefined;
|
1213
1200
|
}>;
|
1214
|
-
path: "api/v1/contacts";
|
1215
1201
|
responses: {
|
1216
|
-
200: z.ZodObject<
|
1202
|
+
200: z.ZodObject<{
|
1217
1203
|
requestId: z.ZodString;
|
1218
|
-
}, {
|
1219
1204
|
page: z.ZodNumber;
|
1220
1205
|
pageSize: z.ZodNumber;
|
1221
1206
|
total: z.ZodNumber;
|
@@ -1231,52 +1216,48 @@ export declare const publicApiContract: {
|
|
1231
1216
|
notes: z.ZodNullable<z.ZodString>;
|
1232
1217
|
contactProfile: z.ZodNullable<z.ZodString>;
|
1233
1218
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1234
|
-
tags: z.ZodArray<z.ZodObject<
|
1219
|
+
tags: z.ZodArray<z.ZodObject<{
|
1235
1220
|
id: z.ZodString;
|
1236
1221
|
createdAt: z.ZodDate;
|
1237
1222
|
updatedAt: z.ZodDate;
|
1238
1223
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1239
|
-
}, {
|
1240
1224
|
name: z.ZodString;
|
1241
|
-
}
|
1242
|
-
name: string;
|
1225
|
+
}, "strip", z.ZodTypeAny, {
|
1243
1226
|
id: string;
|
1227
|
+
name: string;
|
1244
1228
|
createdAt: Date;
|
1245
1229
|
updatedAt: Date;
|
1246
1230
|
deletedAt: Date | null;
|
1247
1231
|
}, {
|
1248
|
-
name: string;
|
1249
1232
|
id: string;
|
1233
|
+
name: string;
|
1250
1234
|
createdAt: Date;
|
1251
1235
|
updatedAt: Date;
|
1252
1236
|
deletedAt: Date | null;
|
1253
1237
|
}>, "many">;
|
1254
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
1238
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
1255
1239
|
id: z.ZodString;
|
1256
1240
|
createdAt: z.ZodDate;
|
1257
1241
|
updatedAt: z.ZodDate;
|
1258
1242
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1259
|
-
}, {
|
1260
1243
|
name: z.ZodOptional<z.ZodString>;
|
1261
1244
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1262
1245
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1263
1246
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1264
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
1247
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1265
1248
|
id: z.ZodString;
|
1266
1249
|
createdAt: z.ZodDate;
|
1267
1250
|
updatedAt: z.ZodDate;
|
1268
1251
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1269
|
-
}, {
|
1270
1252
|
textValue: z.ZodNullable<z.ZodString>;
|
1271
1253
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1272
1254
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1273
1255
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1274
|
-
attribute: z.ZodObject<Omit<
|
1256
|
+
attribute: z.ZodObject<Omit<{
|
1275
1257
|
id: z.ZodString;
|
1276
1258
|
createdAt: z.ZodDate;
|
1277
1259
|
updatedAt: z.ZodDate;
|
1278
1260
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1279
|
-
}, {
|
1280
1261
|
systemName: z.ZodString;
|
1281
1262
|
displayName: z.ZodString;
|
1282
1263
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1285,14 +1266,13 @@ export declare const publicApiContract: {
|
|
1285
1266
|
isArchived: z.ZodBoolean;
|
1286
1267
|
isRequired: z.ZodBoolean;
|
1287
1268
|
isUnique: z.ZodBoolean;
|
1288
|
-
options: z.ZodArray<z.ZodObject<
|
1289
|
-
|
1269
|
+
options: z.ZodArray<z.ZodObject<{
|
1270
|
+
position: z.ZodNumber;
|
1290
1271
|
value: z.ZodString;
|
1272
|
+
label: z.ZodString;
|
1291
1273
|
isDefault: z.ZodBoolean;
|
1292
|
-
position: z.ZodNumber;
|
1293
|
-
}, {
|
1294
1274
|
id: z.ZodString;
|
1295
|
-
}
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
1296
1276
|
id: string;
|
1297
1277
|
position: number;
|
1298
1278
|
value: string;
|
@@ -1305,15 +1285,14 @@ export declare const publicApiContract: {
|
|
1305
1285
|
label: string;
|
1306
1286
|
isDefault: boolean;
|
1307
1287
|
}>, "many">;
|
1308
|
-
group: z.ZodObject<
|
1288
|
+
group: z.ZodObject<{
|
1309
1289
|
id: z.ZodString;
|
1310
1290
|
createdAt: z.ZodDate;
|
1311
1291
|
updatedAt: z.ZodDate;
|
1312
1292
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1313
|
-
}, {
|
1314
1293
|
systemName: z.ZodString;
|
1315
1294
|
displayName: z.ZodString;
|
1316
|
-
}
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
1317
1296
|
id: string;
|
1318
1297
|
createdAt: Date;
|
1319
1298
|
updatedAt: Date;
|
@@ -1328,7 +1307,7 @@ export declare const publicApiContract: {
|
|
1328
1307
|
systemName: string;
|
1329
1308
|
displayName: string;
|
1330
1309
|
}>;
|
1331
|
-
}
|
1310
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
1332
1311
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1333
1312
|
id: string;
|
1334
1313
|
position: number;
|
@@ -1355,7 +1334,7 @@ export declare const publicApiContract: {
|
|
1355
1334
|
isRequired: boolean;
|
1356
1335
|
isUnique: boolean;
|
1357
1336
|
}>;
|
1358
|
-
}
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
1359
1338
|
id: string;
|
1360
1339
|
createdAt: Date;
|
1361
1340
|
updatedAt: Date;
|
@@ -1402,13 +1381,13 @@ export declare const publicApiContract: {
|
|
1402
1381
|
numberValue: number | null;
|
1403
1382
|
dateValue: Date | null;
|
1404
1383
|
}>, "many">>;
|
1405
|
-
}
|
1384
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
1406
1385
|
id: string;
|
1407
1386
|
createdAt: Date;
|
1408
1387
|
updatedAt: Date;
|
1409
1388
|
deletedAt: Date | null;
|
1410
|
-
name?: string | undefined;
|
1411
1389
|
address?: string | null | undefined;
|
1390
|
+
name?: string | undefined;
|
1412
1391
|
phone?: string | null | undefined;
|
1413
1392
|
industry?: string | null | undefined;
|
1414
1393
|
}, {
|
@@ -1416,8 +1395,8 @@ export declare const publicApiContract: {
|
|
1416
1395
|
createdAt: Date;
|
1417
1396
|
updatedAt: Date;
|
1418
1397
|
deletedAt: Date | null;
|
1419
|
-
name?: string | undefined;
|
1420
1398
|
address?: string | null | undefined;
|
1399
|
+
name?: string | undefined;
|
1421
1400
|
phone?: string | null | undefined;
|
1422
1401
|
industry?: string | null | undefined;
|
1423
1402
|
}>>;
|
@@ -1430,12 +1409,11 @@ export declare const publicApiContract: {
|
|
1430
1409
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1431
1410
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1432
1411
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1433
|
-
attribute: z.ZodObject<Omit<
|
1412
|
+
attribute: z.ZodObject<Omit<{
|
1434
1413
|
id: z.ZodString;
|
1435
1414
|
createdAt: z.ZodDate;
|
1436
1415
|
updatedAt: z.ZodDate;
|
1437
1416
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1438
|
-
}, {
|
1439
1417
|
systemName: z.ZodString;
|
1440
1418
|
displayName: z.ZodString;
|
1441
1419
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1444,14 +1422,13 @@ export declare const publicApiContract: {
|
|
1444
1422
|
isArchived: z.ZodBoolean;
|
1445
1423
|
isRequired: z.ZodBoolean;
|
1446
1424
|
isUnique: z.ZodBoolean;
|
1447
|
-
options: z.ZodArray<z.ZodObject<
|
1448
|
-
|
1425
|
+
options: z.ZodArray<z.ZodObject<{
|
1426
|
+
position: z.ZodNumber;
|
1449
1427
|
value: z.ZodString;
|
1428
|
+
label: z.ZodString;
|
1450
1429
|
isDefault: z.ZodBoolean;
|
1451
|
-
position: z.ZodNumber;
|
1452
|
-
}, {
|
1453
1430
|
id: z.ZodString;
|
1454
|
-
}
|
1431
|
+
}, "strip", z.ZodTypeAny, {
|
1455
1432
|
id: string;
|
1456
1433
|
position: number;
|
1457
1434
|
value: string;
|
@@ -1464,15 +1441,14 @@ export declare const publicApiContract: {
|
|
1464
1441
|
label: string;
|
1465
1442
|
isDefault: boolean;
|
1466
1443
|
}>, "many">;
|
1467
|
-
group: z.ZodObject<
|
1444
|
+
group: z.ZodObject<{
|
1468
1445
|
id: z.ZodString;
|
1469
1446
|
createdAt: z.ZodDate;
|
1470
1447
|
updatedAt: z.ZodDate;
|
1471
1448
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1472
|
-
}, {
|
1473
1449
|
systemName: z.ZodString;
|
1474
1450
|
displayName: z.ZodString;
|
1475
|
-
}
|
1451
|
+
}, "strip", z.ZodTypeAny, {
|
1476
1452
|
id: string;
|
1477
1453
|
createdAt: Date;
|
1478
1454
|
updatedAt: Date;
|
@@ -1487,7 +1463,7 @@ export declare const publicApiContract: {
|
|
1487
1463
|
systemName: string;
|
1488
1464
|
displayName: string;
|
1489
1465
|
}>;
|
1490
|
-
}
|
1466
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
1491
1467
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1492
1468
|
id: string;
|
1493
1469
|
position: number;
|
@@ -1514,19 +1490,18 @@ export declare const publicApiContract: {
|
|
1514
1490
|
isRequired: boolean;
|
1515
1491
|
isUnique: boolean;
|
1516
1492
|
}>;
|
1517
|
-
uploads: z.ZodArray<z.ZodObject<
|
1493
|
+
uploads: z.ZodArray<z.ZodObject<{
|
1518
1494
|
id: z.ZodString;
|
1519
1495
|
createdAt: z.ZodDate;
|
1520
1496
|
updatedAt: z.ZodDate;
|
1521
1497
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1522
|
-
}, {
|
1523
1498
|
bucketName: z.ZodString;
|
1524
1499
|
fileName: z.ZodString;
|
1525
1500
|
fileSize: z.ZodNumber;
|
1526
1501
|
fileKey: z.ZodString;
|
1527
1502
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1528
1503
|
status: z.ZodNullable<z.ZodString>;
|
1529
|
-
}
|
1504
|
+
}, "strip", z.ZodTypeAny, {
|
1530
1505
|
id: string;
|
1531
1506
|
status: string | null;
|
1532
1507
|
createdAt: Date;
|
@@ -1725,10 +1700,10 @@ export declare const publicApiContract: {
|
|
1725
1700
|
};
|
1726
1701
|
}>, "many">>;
|
1727
1702
|
}, "strip", z.ZodTypeAny, {
|
1728
|
-
name: string;
|
1729
1703
|
id: string;
|
1730
1704
|
channel: string | null;
|
1731
1705
|
address: string | null;
|
1706
|
+
name: string;
|
1732
1707
|
createdAt: Date;
|
1733
1708
|
updatedAt: Date;
|
1734
1709
|
deletedAt: Date | null;
|
@@ -1773,8 +1748,8 @@ export declare const publicApiContract: {
|
|
1773
1748
|
createdAt: Date;
|
1774
1749
|
updatedAt: Date;
|
1775
1750
|
deletedAt: Date | null;
|
1776
|
-
name?: string | undefined;
|
1777
1751
|
address?: string | null | undefined;
|
1752
|
+
name?: string | undefined;
|
1778
1753
|
phone?: string | null | undefined;
|
1779
1754
|
industry?: string | null | undefined;
|
1780
1755
|
} | null;
|
@@ -1782,8 +1757,8 @@ export declare const publicApiContract: {
|
|
1782
1757
|
contactProfile: string | null;
|
1783
1758
|
socialProfileUrl: string | null;
|
1784
1759
|
tags: {
|
1785
|
-
name: string;
|
1786
1760
|
id: string;
|
1761
|
+
name: string;
|
1787
1762
|
createdAt: Date;
|
1788
1763
|
updatedAt: Date;
|
1789
1764
|
deletedAt: Date | null;
|
@@ -1821,10 +1796,10 @@ export declare const publicApiContract: {
|
|
1821
1796
|
};
|
1822
1797
|
}[] | undefined;
|
1823
1798
|
}, {
|
1824
|
-
name: string;
|
1825
1799
|
id: string;
|
1826
1800
|
channel: string | null;
|
1827
1801
|
address: string | null;
|
1802
|
+
name: string;
|
1828
1803
|
createdAt: Date;
|
1829
1804
|
updatedAt: Date;
|
1830
1805
|
deletedAt: Date | null;
|
@@ -1869,8 +1844,8 @@ export declare const publicApiContract: {
|
|
1869
1844
|
createdAt: Date;
|
1870
1845
|
updatedAt: Date;
|
1871
1846
|
deletedAt: Date | null;
|
1872
|
-
name?: string | undefined;
|
1873
1847
|
address?: string | null | undefined;
|
1848
|
+
name?: string | undefined;
|
1874
1849
|
phone?: string | null | undefined;
|
1875
1850
|
industry?: string | null | undefined;
|
1876
1851
|
} | null;
|
@@ -1878,8 +1853,8 @@ export declare const publicApiContract: {
|
|
1878
1853
|
contactProfile: string | null;
|
1879
1854
|
socialProfileUrl: string | null;
|
1880
1855
|
tags: {
|
1881
|
-
name: string;
|
1882
1856
|
id: string;
|
1857
|
+
name: string;
|
1883
1858
|
createdAt: Date;
|
1884
1859
|
updatedAt: Date;
|
1885
1860
|
deletedAt: Date | null;
|
@@ -1917,12 +1892,12 @@ export declare const publicApiContract: {
|
|
1917
1892
|
};
|
1918
1893
|
}[] | undefined;
|
1919
1894
|
}>, "many">;
|
1920
|
-
}
|
1895
|
+
}, "strip", z.ZodTypeAny, {
|
1921
1896
|
data: {
|
1922
|
-
name: string;
|
1923
1897
|
id: string;
|
1924
1898
|
channel: string | null;
|
1925
1899
|
address: string | null;
|
1900
|
+
name: string;
|
1926
1901
|
createdAt: Date;
|
1927
1902
|
updatedAt: Date;
|
1928
1903
|
deletedAt: Date | null;
|
@@ -1967,8 +1942,8 @@ export declare const publicApiContract: {
|
|
1967
1942
|
createdAt: Date;
|
1968
1943
|
updatedAt: Date;
|
1969
1944
|
deletedAt: Date | null;
|
1970
|
-
name?: string | undefined;
|
1971
1945
|
address?: string | null | undefined;
|
1946
|
+
name?: string | undefined;
|
1972
1947
|
phone?: string | null | undefined;
|
1973
1948
|
industry?: string | null | undefined;
|
1974
1949
|
} | null;
|
@@ -1976,8 +1951,8 @@ export declare const publicApiContract: {
|
|
1976
1951
|
contactProfile: string | null;
|
1977
1952
|
socialProfileUrl: string | null;
|
1978
1953
|
tags: {
|
1979
|
-
name: string;
|
1980
1954
|
id: string;
|
1955
|
+
name: string;
|
1981
1956
|
createdAt: Date;
|
1982
1957
|
updatedAt: Date;
|
1983
1958
|
deletedAt: Date | null;
|
@@ -2022,10 +1997,10 @@ export declare const publicApiContract: {
|
|
2022
1997
|
requestId: string;
|
2023
1998
|
}, {
|
2024
1999
|
data: {
|
2025
|
-
name: string;
|
2026
2000
|
id: string;
|
2027
2001
|
channel: string | null;
|
2028
2002
|
address: string | null;
|
2003
|
+
name: string;
|
2029
2004
|
createdAt: Date;
|
2030
2005
|
updatedAt: Date;
|
2031
2006
|
deletedAt: Date | null;
|
@@ -2070,8 +2045,8 @@ export declare const publicApiContract: {
|
|
2070
2045
|
createdAt: Date;
|
2071
2046
|
updatedAt: Date;
|
2072
2047
|
deletedAt: Date | null;
|
2073
|
-
name?: string | undefined;
|
2074
2048
|
address?: string | null | undefined;
|
2049
|
+
name?: string | undefined;
|
2075
2050
|
phone?: string | null | undefined;
|
2076
2051
|
industry?: string | null | undefined;
|
2077
2052
|
} | null;
|
@@ -2079,8 +2054,8 @@ export declare const publicApiContract: {
|
|
2079
2054
|
contactProfile: string | null;
|
2080
2055
|
socialProfileUrl: string | null;
|
2081
2056
|
tags: {
|
2082
|
-
name: string;
|
2083
2057
|
id: string;
|
2058
|
+
name: string;
|
2084
2059
|
createdAt: Date;
|
2085
2060
|
updatedAt: Date;
|
2086
2061
|
deletedAt: Date | null;
|
@@ -2179,6 +2154,7 @@ export declare const publicApiContract: {
|
|
2179
2154
|
error?: any;
|
2180
2155
|
}>;
|
2181
2156
|
};
|
2157
|
+
path: "api/v1/contacts";
|
2182
2158
|
};
|
2183
2159
|
getContactFields: {
|
2184
2160
|
summary: "Get contact custom fields.";
|
@@ -2193,11 +2169,9 @@ export declare const publicApiContract: {
|
|
2193
2169
|
page?: number | undefined;
|
2194
2170
|
pageSize?: number | undefined;
|
2195
2171
|
}>;
|
2196
|
-
path: "api/v1/contacts/fields";
|
2197
2172
|
responses: {
|
2198
|
-
200: z.ZodObject<
|
2173
|
+
200: z.ZodObject<{
|
2199
2174
|
requestId: z.ZodString;
|
2200
|
-
}, {
|
2201
2175
|
page: z.ZodNumber;
|
2202
2176
|
pageSize: z.ZodNumber;
|
2203
2177
|
total: z.ZodNumber;
|
@@ -2211,12 +2185,11 @@ export declare const publicApiContract: {
|
|
2211
2185
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2212
2186
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2213
2187
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2214
|
-
attribute: z.ZodObject<Omit<
|
2188
|
+
attribute: z.ZodObject<Omit<{
|
2215
2189
|
id: z.ZodString;
|
2216
2190
|
createdAt: z.ZodDate;
|
2217
2191
|
updatedAt: z.ZodDate;
|
2218
2192
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2219
|
-
}, {
|
2220
2193
|
systemName: z.ZodString;
|
2221
2194
|
displayName: z.ZodString;
|
2222
2195
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2225,14 +2198,13 @@ export declare const publicApiContract: {
|
|
2225
2198
|
isArchived: z.ZodBoolean;
|
2226
2199
|
isRequired: z.ZodBoolean;
|
2227
2200
|
isUnique: z.ZodBoolean;
|
2228
|
-
options: z.ZodArray<z.ZodObject<
|
2229
|
-
|
2201
|
+
options: z.ZodArray<z.ZodObject<{
|
2202
|
+
position: z.ZodNumber;
|
2230
2203
|
value: z.ZodString;
|
2204
|
+
label: z.ZodString;
|
2231
2205
|
isDefault: z.ZodBoolean;
|
2232
|
-
position: z.ZodNumber;
|
2233
|
-
}, {
|
2234
2206
|
id: z.ZodString;
|
2235
|
-
}
|
2207
|
+
}, "strip", z.ZodTypeAny, {
|
2236
2208
|
id: string;
|
2237
2209
|
position: number;
|
2238
2210
|
value: string;
|
@@ -2245,15 +2217,14 @@ export declare const publicApiContract: {
|
|
2245
2217
|
label: string;
|
2246
2218
|
isDefault: boolean;
|
2247
2219
|
}>, "many">;
|
2248
|
-
group: z.ZodObject<
|
2220
|
+
group: z.ZodObject<{
|
2249
2221
|
id: z.ZodString;
|
2250
2222
|
createdAt: z.ZodDate;
|
2251
2223
|
updatedAt: z.ZodDate;
|
2252
2224
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2253
|
-
}, {
|
2254
2225
|
systemName: z.ZodString;
|
2255
2226
|
displayName: z.ZodString;
|
2256
|
-
}
|
2227
|
+
}, "strip", z.ZodTypeAny, {
|
2257
2228
|
id: string;
|
2258
2229
|
createdAt: Date;
|
2259
2230
|
updatedAt: Date;
|
@@ -2268,7 +2239,7 @@ export declare const publicApiContract: {
|
|
2268
2239
|
systemName: string;
|
2269
2240
|
displayName: string;
|
2270
2241
|
}>;
|
2271
|
-
}
|
2242
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
2272
2243
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2273
2244
|
id: string;
|
2274
2245
|
position: number;
|
@@ -2295,19 +2266,18 @@ export declare const publicApiContract: {
|
|
2295
2266
|
isRequired: boolean;
|
2296
2267
|
isUnique: boolean;
|
2297
2268
|
}>;
|
2298
|
-
uploads: z.ZodArray<z.ZodObject<
|
2269
|
+
uploads: z.ZodArray<z.ZodObject<{
|
2299
2270
|
id: z.ZodString;
|
2300
2271
|
createdAt: z.ZodDate;
|
2301
2272
|
updatedAt: z.ZodDate;
|
2302
2273
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2303
|
-
}, {
|
2304
2274
|
bucketName: z.ZodString;
|
2305
2275
|
fileName: z.ZodString;
|
2306
2276
|
fileSize: z.ZodNumber;
|
2307
2277
|
fileKey: z.ZodString;
|
2308
2278
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2309
2279
|
status: z.ZodNullable<z.ZodString>;
|
2310
|
-
}
|
2280
|
+
}, "strip", z.ZodTypeAny, {
|
2311
2281
|
id: string;
|
2312
2282
|
status: string | null;
|
2313
2283
|
createdAt: Date;
|
@@ -2401,7 +2371,7 @@ export declare const publicApiContract: {
|
|
2401
2371
|
fileUrl: string | null;
|
2402
2372
|
}[];
|
2403
2373
|
}>, "many">;
|
2404
|
-
}
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
2405
2375
|
data: {
|
2406
2376
|
id: string;
|
2407
2377
|
createdAt: Date;
|
@@ -2541,6 +2511,7 @@ export declare const publicApiContract: {
|
|
2541
2511
|
error?: any;
|
2542
2512
|
}>;
|
2543
2513
|
};
|
2514
|
+
path: "api/v1/contacts/fields";
|
2544
2515
|
};
|
2545
2516
|
updateContact: {
|
2546
2517
|
body: z.ZodObject<{
|
@@ -2573,36 +2544,36 @@ export declare const publicApiContract: {
|
|
2573
2544
|
customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2574
2545
|
}, "strip", z.ZodTypeAny, {
|
2575
2546
|
name?: string | undefined;
|
2576
|
-
channel?: string | undefined;
|
2577
|
-
address?: string | undefined;
|
2578
2547
|
email?: {
|
2579
2548
|
isPrimary: boolean;
|
2580
2549
|
email: string;
|
2581
2550
|
}[] | undefined;
|
2551
|
+
channel?: string | undefined;
|
2552
|
+
address?: string | undefined;
|
2582
2553
|
phone?: {
|
2583
2554
|
isPrimary: boolean;
|
2584
2555
|
phone: string;
|
2585
2556
|
}[] | undefined;
|
2586
|
-
customFields?: Record<string, string> | undefined;
|
2587
|
-
company?: string | undefined;
|
2588
2557
|
notes?: string | undefined;
|
2589
2558
|
tags?: string[] | undefined;
|
2559
|
+
company?: string | undefined;
|
2560
|
+
customFields?: Record<string, string> | undefined;
|
2590
2561
|
}, {
|
2591
2562
|
name?: string | undefined;
|
2592
|
-
channel?: string | undefined;
|
2593
|
-
address?: string | undefined;
|
2594
2563
|
email?: {
|
2595
2564
|
isPrimary: boolean;
|
2596
2565
|
email: string;
|
2597
2566
|
}[] | undefined;
|
2567
|
+
channel?: string | undefined;
|
2568
|
+
address?: string | undefined;
|
2598
2569
|
phone?: {
|
2599
2570
|
isPrimary: boolean;
|
2600
2571
|
phone: string;
|
2601
2572
|
}[] | undefined;
|
2602
|
-
customFields?: Record<string, string> | undefined;
|
2603
|
-
company?: string | undefined;
|
2604
2573
|
notes?: string | undefined;
|
2605
2574
|
tags?: string[] | undefined;
|
2575
|
+
company?: string | undefined;
|
2576
|
+
customFields?: Record<string, string> | undefined;
|
2606
2577
|
}>;
|
2607
2578
|
summary: "Update a contact";
|
2608
2579
|
method: "PATCH";
|
@@ -2613,7 +2584,6 @@ export declare const publicApiContract: {
|
|
2613
2584
|
}, {
|
2614
2585
|
id: string;
|
2615
2586
|
}>;
|
2616
|
-
path: "api/v1/contacts/:id";
|
2617
2587
|
responses: {
|
2618
2588
|
200: z.ZodObject<{
|
2619
2589
|
status: z.ZodString;
|
@@ -2629,52 +2599,48 @@ export declare const publicApiContract: {
|
|
2629
2599
|
notes: z.ZodNullable<z.ZodString>;
|
2630
2600
|
contactProfile: z.ZodNullable<z.ZodString>;
|
2631
2601
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
2632
|
-
tags: z.ZodArray<z.ZodObject<
|
2602
|
+
tags: z.ZodArray<z.ZodObject<{
|
2633
2603
|
id: z.ZodString;
|
2634
2604
|
createdAt: z.ZodDate;
|
2635
2605
|
updatedAt: z.ZodDate;
|
2636
2606
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2637
|
-
}, {
|
2638
2607
|
name: z.ZodString;
|
2639
|
-
}
|
2640
|
-
name: string;
|
2608
|
+
}, "strip", z.ZodTypeAny, {
|
2641
2609
|
id: string;
|
2610
|
+
name: string;
|
2642
2611
|
createdAt: Date;
|
2643
2612
|
updatedAt: Date;
|
2644
2613
|
deletedAt: Date | null;
|
2645
2614
|
}, {
|
2646
|
-
name: string;
|
2647
2615
|
id: string;
|
2616
|
+
name: string;
|
2648
2617
|
createdAt: Date;
|
2649
2618
|
updatedAt: Date;
|
2650
2619
|
deletedAt: Date | null;
|
2651
2620
|
}>, "many">;
|
2652
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
2621
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
2653
2622
|
id: z.ZodString;
|
2654
2623
|
createdAt: z.ZodDate;
|
2655
2624
|
updatedAt: z.ZodDate;
|
2656
2625
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2657
|
-
}, {
|
2658
2626
|
name: z.ZodOptional<z.ZodString>;
|
2659
2627
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2660
2628
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2661
2629
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2662
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
2630
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2663
2631
|
id: z.ZodString;
|
2664
2632
|
createdAt: z.ZodDate;
|
2665
2633
|
updatedAt: z.ZodDate;
|
2666
2634
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2667
|
-
}, {
|
2668
2635
|
textValue: z.ZodNullable<z.ZodString>;
|
2669
2636
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2670
2637
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2671
2638
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2672
|
-
attribute: z.ZodObject<Omit<
|
2639
|
+
attribute: z.ZodObject<Omit<{
|
2673
2640
|
id: z.ZodString;
|
2674
2641
|
createdAt: z.ZodDate;
|
2675
2642
|
updatedAt: z.ZodDate;
|
2676
2643
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2677
|
-
}, {
|
2678
2644
|
systemName: z.ZodString;
|
2679
2645
|
displayName: z.ZodString;
|
2680
2646
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2683,14 +2649,13 @@ export declare const publicApiContract: {
|
|
2683
2649
|
isArchived: z.ZodBoolean;
|
2684
2650
|
isRequired: z.ZodBoolean;
|
2685
2651
|
isUnique: z.ZodBoolean;
|
2686
|
-
options: z.ZodArray<z.ZodObject<
|
2687
|
-
|
2652
|
+
options: z.ZodArray<z.ZodObject<{
|
2653
|
+
position: z.ZodNumber;
|
2688
2654
|
value: z.ZodString;
|
2655
|
+
label: z.ZodString;
|
2689
2656
|
isDefault: z.ZodBoolean;
|
2690
|
-
position: z.ZodNumber;
|
2691
|
-
}, {
|
2692
2657
|
id: z.ZodString;
|
2693
|
-
}
|
2658
|
+
}, "strip", z.ZodTypeAny, {
|
2694
2659
|
id: string;
|
2695
2660
|
position: number;
|
2696
2661
|
value: string;
|
@@ -2703,15 +2668,14 @@ export declare const publicApiContract: {
|
|
2703
2668
|
label: string;
|
2704
2669
|
isDefault: boolean;
|
2705
2670
|
}>, "many">;
|
2706
|
-
group: z.ZodObject<
|
2671
|
+
group: z.ZodObject<{
|
2707
2672
|
id: z.ZodString;
|
2708
2673
|
createdAt: z.ZodDate;
|
2709
2674
|
updatedAt: z.ZodDate;
|
2710
2675
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2711
|
-
}, {
|
2712
2676
|
systemName: z.ZodString;
|
2713
2677
|
displayName: z.ZodString;
|
2714
|
-
}
|
2678
|
+
}, "strip", z.ZodTypeAny, {
|
2715
2679
|
id: string;
|
2716
2680
|
createdAt: Date;
|
2717
2681
|
updatedAt: Date;
|
@@ -2726,7 +2690,7 @@ export declare const publicApiContract: {
|
|
2726
2690
|
systemName: string;
|
2727
2691
|
displayName: string;
|
2728
2692
|
}>;
|
2729
|
-
}
|
2693
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
2730
2694
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2731
2695
|
id: string;
|
2732
2696
|
position: number;
|
@@ -2753,7 +2717,7 @@ export declare const publicApiContract: {
|
|
2753
2717
|
isRequired: boolean;
|
2754
2718
|
isUnique: boolean;
|
2755
2719
|
}>;
|
2756
|
-
}
|
2720
|
+
}, "strip", z.ZodTypeAny, {
|
2757
2721
|
id: string;
|
2758
2722
|
createdAt: Date;
|
2759
2723
|
updatedAt: Date;
|
@@ -2800,13 +2764,13 @@ export declare const publicApiContract: {
|
|
2800
2764
|
numberValue: number | null;
|
2801
2765
|
dateValue: Date | null;
|
2802
2766
|
}>, "many">>;
|
2803
|
-
}
|
2767
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
2804
2768
|
id: string;
|
2805
2769
|
createdAt: Date;
|
2806
2770
|
updatedAt: Date;
|
2807
2771
|
deletedAt: Date | null;
|
2808
|
-
name?: string | undefined;
|
2809
2772
|
address?: string | null | undefined;
|
2773
|
+
name?: string | undefined;
|
2810
2774
|
phone?: string | null | undefined;
|
2811
2775
|
industry?: string | null | undefined;
|
2812
2776
|
}, {
|
@@ -2814,8 +2778,8 @@ export declare const publicApiContract: {
|
|
2814
2778
|
createdAt: Date;
|
2815
2779
|
updatedAt: Date;
|
2816
2780
|
deletedAt: Date | null;
|
2817
|
-
name?: string | undefined;
|
2818
2781
|
address?: string | null | undefined;
|
2782
|
+
name?: string | undefined;
|
2819
2783
|
phone?: string | null | undefined;
|
2820
2784
|
industry?: string | null | undefined;
|
2821
2785
|
}>>;
|
@@ -2828,12 +2792,11 @@ export declare const publicApiContract: {
|
|
2828
2792
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2829
2793
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2830
2794
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2831
|
-
attribute: z.ZodObject<Omit<
|
2795
|
+
attribute: z.ZodObject<Omit<{
|
2832
2796
|
id: z.ZodString;
|
2833
2797
|
createdAt: z.ZodDate;
|
2834
2798
|
updatedAt: z.ZodDate;
|
2835
2799
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2836
|
-
}, {
|
2837
2800
|
systemName: z.ZodString;
|
2838
2801
|
displayName: z.ZodString;
|
2839
2802
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2842,14 +2805,13 @@ export declare const publicApiContract: {
|
|
2842
2805
|
isArchived: z.ZodBoolean;
|
2843
2806
|
isRequired: z.ZodBoolean;
|
2844
2807
|
isUnique: z.ZodBoolean;
|
2845
|
-
options: z.ZodArray<z.ZodObject<
|
2846
|
-
|
2808
|
+
options: z.ZodArray<z.ZodObject<{
|
2809
|
+
position: z.ZodNumber;
|
2847
2810
|
value: z.ZodString;
|
2811
|
+
label: z.ZodString;
|
2848
2812
|
isDefault: z.ZodBoolean;
|
2849
|
-
position: z.ZodNumber;
|
2850
|
-
}, {
|
2851
2813
|
id: z.ZodString;
|
2852
|
-
}
|
2814
|
+
}, "strip", z.ZodTypeAny, {
|
2853
2815
|
id: string;
|
2854
2816
|
position: number;
|
2855
2817
|
value: string;
|
@@ -2862,15 +2824,14 @@ export declare const publicApiContract: {
|
|
2862
2824
|
label: string;
|
2863
2825
|
isDefault: boolean;
|
2864
2826
|
}>, "many">;
|
2865
|
-
group: z.ZodObject<
|
2827
|
+
group: z.ZodObject<{
|
2866
2828
|
id: z.ZodString;
|
2867
2829
|
createdAt: z.ZodDate;
|
2868
2830
|
updatedAt: z.ZodDate;
|
2869
2831
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2870
|
-
}, {
|
2871
2832
|
systemName: z.ZodString;
|
2872
2833
|
displayName: z.ZodString;
|
2873
|
-
}
|
2834
|
+
}, "strip", z.ZodTypeAny, {
|
2874
2835
|
id: string;
|
2875
2836
|
createdAt: Date;
|
2876
2837
|
updatedAt: Date;
|
@@ -2885,7 +2846,7 @@ export declare const publicApiContract: {
|
|
2885
2846
|
systemName: string;
|
2886
2847
|
displayName: string;
|
2887
2848
|
}>;
|
2888
|
-
}
|
2849
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
2889
2850
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2890
2851
|
id: string;
|
2891
2852
|
position: number;
|
@@ -2912,19 +2873,18 @@ export declare const publicApiContract: {
|
|
2912
2873
|
isRequired: boolean;
|
2913
2874
|
isUnique: boolean;
|
2914
2875
|
}>;
|
2915
|
-
uploads: z.ZodArray<z.ZodObject<
|
2876
|
+
uploads: z.ZodArray<z.ZodObject<{
|
2916
2877
|
id: z.ZodString;
|
2917
2878
|
createdAt: z.ZodDate;
|
2918
2879
|
updatedAt: z.ZodDate;
|
2919
2880
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2920
|
-
}, {
|
2921
2881
|
bucketName: z.ZodString;
|
2922
2882
|
fileName: z.ZodString;
|
2923
2883
|
fileSize: z.ZodNumber;
|
2924
2884
|
fileKey: z.ZodString;
|
2925
2885
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2926
2886
|
status: z.ZodNullable<z.ZodString>;
|
2927
|
-
}
|
2887
|
+
}, "strip", z.ZodTypeAny, {
|
2928
2888
|
id: string;
|
2929
2889
|
status: string | null;
|
2930
2890
|
createdAt: Date;
|
@@ -3123,10 +3083,10 @@ export declare const publicApiContract: {
|
|
3123
3083
|
};
|
3124
3084
|
}>, "many">>;
|
3125
3085
|
}, "strip", z.ZodTypeAny, {
|
3126
|
-
name: string;
|
3127
3086
|
id: string;
|
3128
3087
|
channel: string | null;
|
3129
3088
|
address: string | null;
|
3089
|
+
name: string;
|
3130
3090
|
createdAt: Date;
|
3131
3091
|
updatedAt: Date;
|
3132
3092
|
deletedAt: Date | null;
|
@@ -3171,8 +3131,8 @@ export declare const publicApiContract: {
|
|
3171
3131
|
createdAt: Date;
|
3172
3132
|
updatedAt: Date;
|
3173
3133
|
deletedAt: Date | null;
|
3174
|
-
name?: string | undefined;
|
3175
3134
|
address?: string | null | undefined;
|
3135
|
+
name?: string | undefined;
|
3176
3136
|
phone?: string | null | undefined;
|
3177
3137
|
industry?: string | null | undefined;
|
3178
3138
|
} | null;
|
@@ -3180,8 +3140,8 @@ export declare const publicApiContract: {
|
|
3180
3140
|
contactProfile: string | null;
|
3181
3141
|
socialProfileUrl: string | null;
|
3182
3142
|
tags: {
|
3183
|
-
name: string;
|
3184
3143
|
id: string;
|
3144
|
+
name: string;
|
3185
3145
|
createdAt: Date;
|
3186
3146
|
updatedAt: Date;
|
3187
3147
|
deletedAt: Date | null;
|
@@ -3219,10 +3179,10 @@ export declare const publicApiContract: {
|
|
3219
3179
|
};
|
3220
3180
|
}[] | undefined;
|
3221
3181
|
}, {
|
3222
|
-
name: string;
|
3223
3182
|
id: string;
|
3224
3183
|
channel: string | null;
|
3225
3184
|
address: string | null;
|
3185
|
+
name: string;
|
3226
3186
|
createdAt: Date;
|
3227
3187
|
updatedAt: Date;
|
3228
3188
|
deletedAt: Date | null;
|
@@ -3267,8 +3227,8 @@ export declare const publicApiContract: {
|
|
3267
3227
|
createdAt: Date;
|
3268
3228
|
updatedAt: Date;
|
3269
3229
|
deletedAt: Date | null;
|
3270
|
-
name?: string | undefined;
|
3271
3230
|
address?: string | null | undefined;
|
3231
|
+
name?: string | undefined;
|
3272
3232
|
phone?: string | null | undefined;
|
3273
3233
|
industry?: string | null | undefined;
|
3274
3234
|
} | null;
|
@@ -3276,8 +3236,8 @@ export declare const publicApiContract: {
|
|
3276
3236
|
contactProfile: string | null;
|
3277
3237
|
socialProfileUrl: string | null;
|
3278
3238
|
tags: {
|
3279
|
-
name: string;
|
3280
3239
|
id: string;
|
3240
|
+
name: string;
|
3281
3241
|
createdAt: Date;
|
3282
3242
|
updatedAt: Date;
|
3283
3243
|
deletedAt: Date | null;
|
@@ -3318,10 +3278,10 @@ export declare const publicApiContract: {
|
|
3318
3278
|
requestId: z.ZodString;
|
3319
3279
|
}, "strip", z.ZodTypeAny, {
|
3320
3280
|
data: {
|
3321
|
-
name: string;
|
3322
3281
|
id: string;
|
3323
3282
|
channel: string | null;
|
3324
3283
|
address: string | null;
|
3284
|
+
name: string;
|
3325
3285
|
createdAt: Date;
|
3326
3286
|
updatedAt: Date;
|
3327
3287
|
deletedAt: Date | null;
|
@@ -3366,8 +3326,8 @@ export declare const publicApiContract: {
|
|
3366
3326
|
createdAt: Date;
|
3367
3327
|
updatedAt: Date;
|
3368
3328
|
deletedAt: Date | null;
|
3369
|
-
name?: string | undefined;
|
3370
3329
|
address?: string | null | undefined;
|
3330
|
+
name?: string | undefined;
|
3371
3331
|
phone?: string | null | undefined;
|
3372
3332
|
industry?: string | null | undefined;
|
3373
3333
|
} | null;
|
@@ -3375,8 +3335,8 @@ export declare const publicApiContract: {
|
|
3375
3335
|
contactProfile: string | null;
|
3376
3336
|
socialProfileUrl: string | null;
|
3377
3337
|
tags: {
|
3378
|
-
name: string;
|
3379
3338
|
id: string;
|
3339
|
+
name: string;
|
3380
3340
|
createdAt: Date;
|
3381
3341
|
updatedAt: Date;
|
3382
3342
|
deletedAt: Date | null;
|
@@ -3419,10 +3379,10 @@ export declare const publicApiContract: {
|
|
3419
3379
|
requestId: string;
|
3420
3380
|
}, {
|
3421
3381
|
data: {
|
3422
|
-
name: string;
|
3423
3382
|
id: string;
|
3424
3383
|
channel: string | null;
|
3425
3384
|
address: string | null;
|
3385
|
+
name: string;
|
3426
3386
|
createdAt: Date;
|
3427
3387
|
updatedAt: Date;
|
3428
3388
|
deletedAt: Date | null;
|
@@ -3467,8 +3427,8 @@ export declare const publicApiContract: {
|
|
3467
3427
|
createdAt: Date;
|
3468
3428
|
updatedAt: Date;
|
3469
3429
|
deletedAt: Date | null;
|
3470
|
-
name?: string | undefined;
|
3471
3430
|
address?: string | null | undefined;
|
3431
|
+
name?: string | undefined;
|
3472
3432
|
phone?: string | null | undefined;
|
3473
3433
|
industry?: string | null | undefined;
|
3474
3434
|
} | null;
|
@@ -3476,8 +3436,8 @@ export declare const publicApiContract: {
|
|
3476
3436
|
contactProfile: string | null;
|
3477
3437
|
socialProfileUrl: string | null;
|
3478
3438
|
tags: {
|
3479
|
-
name: string;
|
3480
3439
|
id: string;
|
3440
|
+
name: string;
|
3481
3441
|
createdAt: Date;
|
3482
3442
|
updatedAt: Date;
|
3483
3443
|
deletedAt: Date | null;
|
@@ -3574,6 +3534,7 @@ export declare const publicApiContract: {
|
|
3574
3534
|
error?: any;
|
3575
3535
|
}>;
|
3576
3536
|
};
|
3537
|
+
path: "api/v1/contacts/:id";
|
3577
3538
|
};
|
3578
3539
|
createContactAttachmentRecords: {
|
3579
3540
|
body: z.ZodObject<{
|
@@ -3621,11 +3582,9 @@ export declare const publicApiContract: {
|
|
3621
3582
|
}>;
|
3622
3583
|
summary: "Create a new contact attachment";
|
3623
3584
|
method: "POST";
|
3624
|
-
path: "api/v1/contacts/attachments";
|
3625
3585
|
responses: {
|
3626
|
-
201: z.ZodObject<
|
3586
|
+
201: z.ZodObject<{
|
3627
3587
|
requestId: z.ZodString;
|
3628
|
-
}, {
|
3629
3588
|
message: z.ZodObject<{
|
3630
3589
|
id: z.ZodString;
|
3631
3590
|
createdAt: z.ZodDate;
|
@@ -3635,12 +3594,11 @@ export declare const publicApiContract: {
|
|
3635
3594
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3636
3595
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3637
3596
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3638
|
-
attribute: z.ZodObject<Omit<
|
3597
|
+
attribute: z.ZodObject<Omit<{
|
3639
3598
|
id: z.ZodString;
|
3640
3599
|
createdAt: z.ZodDate;
|
3641
3600
|
updatedAt: z.ZodDate;
|
3642
3601
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3643
|
-
}, {
|
3644
3602
|
systemName: z.ZodString;
|
3645
3603
|
displayName: z.ZodString;
|
3646
3604
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3649,14 +3607,13 @@ export declare const publicApiContract: {
|
|
3649
3607
|
isArchived: z.ZodBoolean;
|
3650
3608
|
isRequired: z.ZodBoolean;
|
3651
3609
|
isUnique: z.ZodBoolean;
|
3652
|
-
options: z.ZodArray<z.ZodObject<
|
3653
|
-
|
3610
|
+
options: z.ZodArray<z.ZodObject<{
|
3611
|
+
position: z.ZodNumber;
|
3654
3612
|
value: z.ZodString;
|
3613
|
+
label: z.ZodString;
|
3655
3614
|
isDefault: z.ZodBoolean;
|
3656
|
-
position: z.ZodNumber;
|
3657
|
-
}, {
|
3658
3615
|
id: z.ZodString;
|
3659
|
-
}
|
3616
|
+
}, "strip", z.ZodTypeAny, {
|
3660
3617
|
id: string;
|
3661
3618
|
position: number;
|
3662
3619
|
value: string;
|
@@ -3669,15 +3626,14 @@ export declare const publicApiContract: {
|
|
3669
3626
|
label: string;
|
3670
3627
|
isDefault: boolean;
|
3671
3628
|
}>, "many">;
|
3672
|
-
group: z.ZodObject<
|
3629
|
+
group: z.ZodObject<{
|
3673
3630
|
id: z.ZodString;
|
3674
3631
|
createdAt: z.ZodDate;
|
3675
3632
|
updatedAt: z.ZodDate;
|
3676
3633
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3677
|
-
}, {
|
3678
3634
|
systemName: z.ZodString;
|
3679
3635
|
displayName: z.ZodString;
|
3680
|
-
}
|
3636
|
+
}, "strip", z.ZodTypeAny, {
|
3681
3637
|
id: string;
|
3682
3638
|
createdAt: Date;
|
3683
3639
|
updatedAt: Date;
|
@@ -3692,7 +3648,7 @@ export declare const publicApiContract: {
|
|
3692
3648
|
systemName: string;
|
3693
3649
|
displayName: string;
|
3694
3650
|
}>;
|
3695
|
-
}
|
3651
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
3696
3652
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3697
3653
|
id: string;
|
3698
3654
|
position: number;
|
@@ -3719,19 +3675,18 @@ export declare const publicApiContract: {
|
|
3719
3675
|
isRequired: boolean;
|
3720
3676
|
isUnique: boolean;
|
3721
3677
|
}>;
|
3722
|
-
uploads: z.ZodArray<z.ZodObject<
|
3678
|
+
uploads: z.ZodArray<z.ZodObject<{
|
3723
3679
|
id: z.ZodString;
|
3724
3680
|
createdAt: z.ZodDate;
|
3725
3681
|
updatedAt: z.ZodDate;
|
3726
3682
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3727
|
-
}, {
|
3728
3683
|
bucketName: z.ZodString;
|
3729
3684
|
fileName: z.ZodString;
|
3730
3685
|
fileSize: z.ZodNumber;
|
3731
3686
|
fileKey: z.ZodString;
|
3732
3687
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3733
3688
|
status: z.ZodNullable<z.ZodString>;
|
3734
|
-
}
|
3689
|
+
}, "strip", z.ZodTypeAny, {
|
3735
3690
|
id: string;
|
3736
3691
|
status: string | null;
|
3737
3692
|
createdAt: Date;
|
@@ -3825,7 +3780,7 @@ export declare const publicApiContract: {
|
|
3825
3780
|
fileUrl: string | null;
|
3826
3781
|
}[];
|
3827
3782
|
}>;
|
3828
|
-
}
|
3783
|
+
}, "strip", z.ZodTypeAny, {
|
3829
3784
|
message: {
|
3830
3785
|
id: string;
|
3831
3786
|
createdAt: Date;
|
@@ -3957,6 +3912,7 @@ export declare const publicApiContract: {
|
|
3957
3912
|
error?: any;
|
3958
3913
|
}>;
|
3959
3914
|
};
|
3915
|
+
path: "api/v1/contacts/attachments";
|
3960
3916
|
};
|
3961
3917
|
getContactById: {
|
3962
3918
|
summary: "Get a contact by id";
|
@@ -3968,7 +3924,6 @@ export declare const publicApiContract: {
|
|
3968
3924
|
}, {
|
3969
3925
|
id: string;
|
3970
3926
|
}>;
|
3971
|
-
path: "api/v1/contacts/:id";
|
3972
3927
|
responses: {
|
3973
3928
|
200: z.ZodObject<{
|
3974
3929
|
status: z.ZodString;
|
@@ -3984,52 +3939,48 @@ export declare const publicApiContract: {
|
|
3984
3939
|
notes: z.ZodNullable<z.ZodString>;
|
3985
3940
|
contactProfile: z.ZodNullable<z.ZodString>;
|
3986
3941
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3987
|
-
tags: z.ZodArray<z.ZodObject<
|
3942
|
+
tags: z.ZodArray<z.ZodObject<{
|
3988
3943
|
id: z.ZodString;
|
3989
3944
|
createdAt: z.ZodDate;
|
3990
3945
|
updatedAt: z.ZodDate;
|
3991
3946
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3992
|
-
}, {
|
3993
3947
|
name: z.ZodString;
|
3994
|
-
}
|
3995
|
-
name: string;
|
3948
|
+
}, "strip", z.ZodTypeAny, {
|
3996
3949
|
id: string;
|
3950
|
+
name: string;
|
3997
3951
|
createdAt: Date;
|
3998
3952
|
updatedAt: Date;
|
3999
3953
|
deletedAt: Date | null;
|
4000
3954
|
}, {
|
4001
|
-
name: string;
|
4002
3955
|
id: string;
|
3956
|
+
name: string;
|
4003
3957
|
createdAt: Date;
|
4004
3958
|
updatedAt: Date;
|
4005
3959
|
deletedAt: Date | null;
|
4006
3960
|
}>, "many">;
|
4007
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
3961
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
4008
3962
|
id: z.ZodString;
|
4009
3963
|
createdAt: z.ZodDate;
|
4010
3964
|
updatedAt: z.ZodDate;
|
4011
3965
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4012
|
-
}, {
|
4013
3966
|
name: z.ZodOptional<z.ZodString>;
|
4014
3967
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4015
3968
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4016
3969
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4017
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
3970
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4018
3971
|
id: z.ZodString;
|
4019
3972
|
createdAt: z.ZodDate;
|
4020
3973
|
updatedAt: z.ZodDate;
|
4021
3974
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4022
|
-
}, {
|
4023
3975
|
textValue: z.ZodNullable<z.ZodString>;
|
4024
3976
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4025
3977
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4026
3978
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4027
|
-
attribute: z.ZodObject<Omit<
|
3979
|
+
attribute: z.ZodObject<Omit<{
|
4028
3980
|
id: z.ZodString;
|
4029
3981
|
createdAt: z.ZodDate;
|
4030
3982
|
updatedAt: z.ZodDate;
|
4031
3983
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4032
|
-
}, {
|
4033
3984
|
systemName: z.ZodString;
|
4034
3985
|
displayName: z.ZodString;
|
4035
3986
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4038,14 +3989,13 @@ export declare const publicApiContract: {
|
|
4038
3989
|
isArchived: z.ZodBoolean;
|
4039
3990
|
isRequired: z.ZodBoolean;
|
4040
3991
|
isUnique: z.ZodBoolean;
|
4041
|
-
options: z.ZodArray<z.ZodObject<
|
4042
|
-
|
3992
|
+
options: z.ZodArray<z.ZodObject<{
|
3993
|
+
position: z.ZodNumber;
|
4043
3994
|
value: z.ZodString;
|
3995
|
+
label: z.ZodString;
|
4044
3996
|
isDefault: z.ZodBoolean;
|
4045
|
-
position: z.ZodNumber;
|
4046
|
-
}, {
|
4047
3997
|
id: z.ZodString;
|
4048
|
-
}
|
3998
|
+
}, "strip", z.ZodTypeAny, {
|
4049
3999
|
id: string;
|
4050
4000
|
position: number;
|
4051
4001
|
value: string;
|
@@ -4058,15 +4008,14 @@ export declare const publicApiContract: {
|
|
4058
4008
|
label: string;
|
4059
4009
|
isDefault: boolean;
|
4060
4010
|
}>, "many">;
|
4061
|
-
group: z.ZodObject<
|
4011
|
+
group: z.ZodObject<{
|
4062
4012
|
id: z.ZodString;
|
4063
4013
|
createdAt: z.ZodDate;
|
4064
4014
|
updatedAt: z.ZodDate;
|
4065
4015
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4066
|
-
}, {
|
4067
4016
|
systemName: z.ZodString;
|
4068
4017
|
displayName: z.ZodString;
|
4069
|
-
}
|
4018
|
+
}, "strip", z.ZodTypeAny, {
|
4070
4019
|
id: string;
|
4071
4020
|
createdAt: Date;
|
4072
4021
|
updatedAt: Date;
|
@@ -4081,7 +4030,7 @@ export declare const publicApiContract: {
|
|
4081
4030
|
systemName: string;
|
4082
4031
|
displayName: string;
|
4083
4032
|
}>;
|
4084
|
-
}
|
4033
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
4085
4034
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4086
4035
|
id: string;
|
4087
4036
|
position: number;
|
@@ -4108,7 +4057,7 @@ export declare const publicApiContract: {
|
|
4108
4057
|
isRequired: boolean;
|
4109
4058
|
isUnique: boolean;
|
4110
4059
|
}>;
|
4111
|
-
}
|
4060
|
+
}, "strip", z.ZodTypeAny, {
|
4112
4061
|
id: string;
|
4113
4062
|
createdAt: Date;
|
4114
4063
|
updatedAt: Date;
|
@@ -4155,13 +4104,13 @@ export declare const publicApiContract: {
|
|
4155
4104
|
numberValue: number | null;
|
4156
4105
|
dateValue: Date | null;
|
4157
4106
|
}>, "many">>;
|
4158
|
-
}
|
4107
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
4159
4108
|
id: string;
|
4160
4109
|
createdAt: Date;
|
4161
4110
|
updatedAt: Date;
|
4162
4111
|
deletedAt: Date | null;
|
4163
|
-
name?: string | undefined;
|
4164
4112
|
address?: string | null | undefined;
|
4113
|
+
name?: string | undefined;
|
4165
4114
|
phone?: string | null | undefined;
|
4166
4115
|
industry?: string | null | undefined;
|
4167
4116
|
}, {
|
@@ -4169,8 +4118,8 @@ export declare const publicApiContract: {
|
|
4169
4118
|
createdAt: Date;
|
4170
4119
|
updatedAt: Date;
|
4171
4120
|
deletedAt: Date | null;
|
4172
|
-
name?: string | undefined;
|
4173
4121
|
address?: string | null | undefined;
|
4122
|
+
name?: string | undefined;
|
4174
4123
|
phone?: string | null | undefined;
|
4175
4124
|
industry?: string | null | undefined;
|
4176
4125
|
}>>;
|
@@ -4183,12 +4132,11 @@ export declare const publicApiContract: {
|
|
4183
4132
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4184
4133
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4185
4134
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4186
|
-
attribute: z.ZodObject<Omit<
|
4135
|
+
attribute: z.ZodObject<Omit<{
|
4187
4136
|
id: z.ZodString;
|
4188
4137
|
createdAt: z.ZodDate;
|
4189
4138
|
updatedAt: z.ZodDate;
|
4190
4139
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4191
|
-
}, {
|
4192
4140
|
systemName: z.ZodString;
|
4193
4141
|
displayName: z.ZodString;
|
4194
4142
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4197,14 +4145,13 @@ export declare const publicApiContract: {
|
|
4197
4145
|
isArchived: z.ZodBoolean;
|
4198
4146
|
isRequired: z.ZodBoolean;
|
4199
4147
|
isUnique: z.ZodBoolean;
|
4200
|
-
options: z.ZodArray<z.ZodObject<
|
4201
|
-
|
4148
|
+
options: z.ZodArray<z.ZodObject<{
|
4149
|
+
position: z.ZodNumber;
|
4202
4150
|
value: z.ZodString;
|
4151
|
+
label: z.ZodString;
|
4203
4152
|
isDefault: z.ZodBoolean;
|
4204
|
-
position: z.ZodNumber;
|
4205
|
-
}, {
|
4206
4153
|
id: z.ZodString;
|
4207
|
-
}
|
4154
|
+
}, "strip", z.ZodTypeAny, {
|
4208
4155
|
id: string;
|
4209
4156
|
position: number;
|
4210
4157
|
value: string;
|
@@ -4217,15 +4164,14 @@ export declare const publicApiContract: {
|
|
4217
4164
|
label: string;
|
4218
4165
|
isDefault: boolean;
|
4219
4166
|
}>, "many">;
|
4220
|
-
group: z.ZodObject<
|
4167
|
+
group: z.ZodObject<{
|
4221
4168
|
id: z.ZodString;
|
4222
4169
|
createdAt: z.ZodDate;
|
4223
4170
|
updatedAt: z.ZodDate;
|
4224
4171
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4225
|
-
}, {
|
4226
4172
|
systemName: z.ZodString;
|
4227
4173
|
displayName: z.ZodString;
|
4228
|
-
}
|
4174
|
+
}, "strip", z.ZodTypeAny, {
|
4229
4175
|
id: string;
|
4230
4176
|
createdAt: Date;
|
4231
4177
|
updatedAt: Date;
|
@@ -4240,7 +4186,7 @@ export declare const publicApiContract: {
|
|
4240
4186
|
systemName: string;
|
4241
4187
|
displayName: string;
|
4242
4188
|
}>;
|
4243
|
-
}
|
4189
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
4244
4190
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4245
4191
|
id: string;
|
4246
4192
|
position: number;
|
@@ -4267,19 +4213,18 @@ export declare const publicApiContract: {
|
|
4267
4213
|
isRequired: boolean;
|
4268
4214
|
isUnique: boolean;
|
4269
4215
|
}>;
|
4270
|
-
uploads: z.ZodArray<z.ZodObject<
|
4216
|
+
uploads: z.ZodArray<z.ZodObject<{
|
4271
4217
|
id: z.ZodString;
|
4272
4218
|
createdAt: z.ZodDate;
|
4273
4219
|
updatedAt: z.ZodDate;
|
4274
4220
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4275
|
-
}, {
|
4276
4221
|
bucketName: z.ZodString;
|
4277
4222
|
fileName: z.ZodString;
|
4278
4223
|
fileSize: z.ZodNumber;
|
4279
4224
|
fileKey: z.ZodString;
|
4280
4225
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4281
4226
|
status: z.ZodNullable<z.ZodString>;
|
4282
|
-
}
|
4227
|
+
}, "strip", z.ZodTypeAny, {
|
4283
4228
|
id: string;
|
4284
4229
|
status: string | null;
|
4285
4230
|
createdAt: Date;
|
@@ -4478,10 +4423,10 @@ export declare const publicApiContract: {
|
|
4478
4423
|
};
|
4479
4424
|
}>, "many">>;
|
4480
4425
|
}, "strip", z.ZodTypeAny, {
|
4481
|
-
name: string;
|
4482
4426
|
id: string;
|
4483
4427
|
channel: string | null;
|
4484
4428
|
address: string | null;
|
4429
|
+
name: string;
|
4485
4430
|
createdAt: Date;
|
4486
4431
|
updatedAt: Date;
|
4487
4432
|
deletedAt: Date | null;
|
@@ -4526,8 +4471,8 @@ export declare const publicApiContract: {
|
|
4526
4471
|
createdAt: Date;
|
4527
4472
|
updatedAt: Date;
|
4528
4473
|
deletedAt: Date | null;
|
4529
|
-
name?: string | undefined;
|
4530
4474
|
address?: string | null | undefined;
|
4475
|
+
name?: string | undefined;
|
4531
4476
|
phone?: string | null | undefined;
|
4532
4477
|
industry?: string | null | undefined;
|
4533
4478
|
} | null;
|
@@ -4535,8 +4480,8 @@ export declare const publicApiContract: {
|
|
4535
4480
|
contactProfile: string | null;
|
4536
4481
|
socialProfileUrl: string | null;
|
4537
4482
|
tags: {
|
4538
|
-
name: string;
|
4539
4483
|
id: string;
|
4484
|
+
name: string;
|
4540
4485
|
createdAt: Date;
|
4541
4486
|
updatedAt: Date;
|
4542
4487
|
deletedAt: Date | null;
|
@@ -4574,10 +4519,10 @@ export declare const publicApiContract: {
|
|
4574
4519
|
};
|
4575
4520
|
}[] | undefined;
|
4576
4521
|
}, {
|
4577
|
-
name: string;
|
4578
4522
|
id: string;
|
4579
4523
|
channel: string | null;
|
4580
4524
|
address: string | null;
|
4525
|
+
name: string;
|
4581
4526
|
createdAt: Date;
|
4582
4527
|
updatedAt: Date;
|
4583
4528
|
deletedAt: Date | null;
|
@@ -4622,8 +4567,8 @@ export declare const publicApiContract: {
|
|
4622
4567
|
createdAt: Date;
|
4623
4568
|
updatedAt: Date;
|
4624
4569
|
deletedAt: Date | null;
|
4625
|
-
name?: string | undefined;
|
4626
4570
|
address?: string | null | undefined;
|
4571
|
+
name?: string | undefined;
|
4627
4572
|
phone?: string | null | undefined;
|
4628
4573
|
industry?: string | null | undefined;
|
4629
4574
|
} | null;
|
@@ -4631,8 +4576,8 @@ export declare const publicApiContract: {
|
|
4631
4576
|
contactProfile: string | null;
|
4632
4577
|
socialProfileUrl: string | null;
|
4633
4578
|
tags: {
|
4634
|
-
name: string;
|
4635
4579
|
id: string;
|
4580
|
+
name: string;
|
4636
4581
|
createdAt: Date;
|
4637
4582
|
updatedAt: Date;
|
4638
4583
|
deletedAt: Date | null;
|
@@ -4673,10 +4618,10 @@ export declare const publicApiContract: {
|
|
4673
4618
|
requestId: z.ZodString;
|
4674
4619
|
}, "strip", z.ZodTypeAny, {
|
4675
4620
|
data: {
|
4676
|
-
name: string;
|
4677
4621
|
id: string;
|
4678
4622
|
channel: string | null;
|
4679
4623
|
address: string | null;
|
4624
|
+
name: string;
|
4680
4625
|
createdAt: Date;
|
4681
4626
|
updatedAt: Date;
|
4682
4627
|
deletedAt: Date | null;
|
@@ -4721,8 +4666,8 @@ export declare const publicApiContract: {
|
|
4721
4666
|
createdAt: Date;
|
4722
4667
|
updatedAt: Date;
|
4723
4668
|
deletedAt: Date | null;
|
4724
|
-
name?: string | undefined;
|
4725
4669
|
address?: string | null | undefined;
|
4670
|
+
name?: string | undefined;
|
4726
4671
|
phone?: string | null | undefined;
|
4727
4672
|
industry?: string | null | undefined;
|
4728
4673
|
} | null;
|
@@ -4730,8 +4675,8 @@ export declare const publicApiContract: {
|
|
4730
4675
|
contactProfile: string | null;
|
4731
4676
|
socialProfileUrl: string | null;
|
4732
4677
|
tags: {
|
4733
|
-
name: string;
|
4734
4678
|
id: string;
|
4679
|
+
name: string;
|
4735
4680
|
createdAt: Date;
|
4736
4681
|
updatedAt: Date;
|
4737
4682
|
deletedAt: Date | null;
|
@@ -4774,10 +4719,10 @@ export declare const publicApiContract: {
|
|
4774
4719
|
requestId: string;
|
4775
4720
|
}, {
|
4776
4721
|
data: {
|
4777
|
-
name: string;
|
4778
4722
|
id: string;
|
4779
4723
|
channel: string | null;
|
4780
4724
|
address: string | null;
|
4725
|
+
name: string;
|
4781
4726
|
createdAt: Date;
|
4782
4727
|
updatedAt: Date;
|
4783
4728
|
deletedAt: Date | null;
|
@@ -4822,8 +4767,8 @@ export declare const publicApiContract: {
|
|
4822
4767
|
createdAt: Date;
|
4823
4768
|
updatedAt: Date;
|
4824
4769
|
deletedAt: Date | null;
|
4825
|
-
name?: string | undefined;
|
4826
4770
|
address?: string | null | undefined;
|
4771
|
+
name?: string | undefined;
|
4827
4772
|
phone?: string | null | undefined;
|
4828
4773
|
industry?: string | null | undefined;
|
4829
4774
|
} | null;
|
@@ -4831,8 +4776,8 @@ export declare const publicApiContract: {
|
|
4831
4776
|
contactProfile: string | null;
|
4832
4777
|
socialProfileUrl: string | null;
|
4833
4778
|
tags: {
|
4834
|
-
name: string;
|
4835
4779
|
id: string;
|
4780
|
+
name: string;
|
4836
4781
|
createdAt: Date;
|
4837
4782
|
updatedAt: Date;
|
4838
4783
|
deletedAt: Date | null;
|
@@ -4929,6 +4874,7 @@ export declare const publicApiContract: {
|
|
4929
4874
|
error?: any;
|
4930
4875
|
}>;
|
4931
4876
|
};
|
4877
|
+
path: "api/v1/contacts/:id";
|
4932
4878
|
};
|
4933
4879
|
deleteContact: {
|
4934
4880
|
body: null;
|
@@ -4941,7 +4887,6 @@ export declare const publicApiContract: {
|
|
4941
4887
|
}, {
|
4942
4888
|
id: string;
|
4943
4889
|
}>;
|
4944
|
-
path: "api/v1/contacts/:id";
|
4945
4890
|
responses: {
|
4946
4891
|
200: z.ZodObject<{
|
4947
4892
|
status: z.ZodString;
|
@@ -4957,52 +4902,48 @@ export declare const publicApiContract: {
|
|
4957
4902
|
notes: z.ZodNullable<z.ZodString>;
|
4958
4903
|
contactProfile: z.ZodNullable<z.ZodString>;
|
4959
4904
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
4960
|
-
tags: z.ZodArray<z.ZodObject<
|
4905
|
+
tags: z.ZodArray<z.ZodObject<{
|
4961
4906
|
id: z.ZodString;
|
4962
4907
|
createdAt: z.ZodDate;
|
4963
4908
|
updatedAt: z.ZodDate;
|
4964
4909
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4965
|
-
}, {
|
4966
4910
|
name: z.ZodString;
|
4967
|
-
}
|
4968
|
-
name: string;
|
4911
|
+
}, "strip", z.ZodTypeAny, {
|
4969
4912
|
id: string;
|
4913
|
+
name: string;
|
4970
4914
|
createdAt: Date;
|
4971
4915
|
updatedAt: Date;
|
4972
4916
|
deletedAt: Date | null;
|
4973
4917
|
}, {
|
4974
|
-
name: string;
|
4975
4918
|
id: string;
|
4919
|
+
name: string;
|
4976
4920
|
createdAt: Date;
|
4977
4921
|
updatedAt: Date;
|
4978
4922
|
deletedAt: Date | null;
|
4979
4923
|
}>, "many">;
|
4980
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
4924
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
4981
4925
|
id: z.ZodString;
|
4982
4926
|
createdAt: z.ZodDate;
|
4983
4927
|
updatedAt: z.ZodDate;
|
4984
4928
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4985
|
-
}, {
|
4986
4929
|
name: z.ZodOptional<z.ZodString>;
|
4987
4930
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4988
4931
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4989
4932
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4990
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
4933
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4991
4934
|
id: z.ZodString;
|
4992
4935
|
createdAt: z.ZodDate;
|
4993
4936
|
updatedAt: z.ZodDate;
|
4994
4937
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4995
|
-
}, {
|
4996
4938
|
textValue: z.ZodNullable<z.ZodString>;
|
4997
4939
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4998
4940
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4999
4941
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5000
|
-
attribute: z.ZodObject<Omit<
|
4942
|
+
attribute: z.ZodObject<Omit<{
|
5001
4943
|
id: z.ZodString;
|
5002
4944
|
createdAt: z.ZodDate;
|
5003
4945
|
updatedAt: z.ZodDate;
|
5004
4946
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5005
|
-
}, {
|
5006
4947
|
systemName: z.ZodString;
|
5007
4948
|
displayName: z.ZodString;
|
5008
4949
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5011,14 +4952,13 @@ export declare const publicApiContract: {
|
|
5011
4952
|
isArchived: z.ZodBoolean;
|
5012
4953
|
isRequired: z.ZodBoolean;
|
5013
4954
|
isUnique: z.ZodBoolean;
|
5014
|
-
options: z.ZodArray<z.ZodObject<
|
5015
|
-
|
4955
|
+
options: z.ZodArray<z.ZodObject<{
|
4956
|
+
position: z.ZodNumber;
|
5016
4957
|
value: z.ZodString;
|
4958
|
+
label: z.ZodString;
|
5017
4959
|
isDefault: z.ZodBoolean;
|
5018
|
-
position: z.ZodNumber;
|
5019
|
-
}, {
|
5020
4960
|
id: z.ZodString;
|
5021
|
-
}
|
4961
|
+
}, "strip", z.ZodTypeAny, {
|
5022
4962
|
id: string;
|
5023
4963
|
position: number;
|
5024
4964
|
value: string;
|
@@ -5031,15 +4971,14 @@ export declare const publicApiContract: {
|
|
5031
4971
|
label: string;
|
5032
4972
|
isDefault: boolean;
|
5033
4973
|
}>, "many">;
|
5034
|
-
group: z.ZodObject<
|
4974
|
+
group: z.ZodObject<{
|
5035
4975
|
id: z.ZodString;
|
5036
4976
|
createdAt: z.ZodDate;
|
5037
4977
|
updatedAt: z.ZodDate;
|
5038
4978
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5039
|
-
}, {
|
5040
4979
|
systemName: z.ZodString;
|
5041
4980
|
displayName: z.ZodString;
|
5042
|
-
}
|
4981
|
+
}, "strip", z.ZodTypeAny, {
|
5043
4982
|
id: string;
|
5044
4983
|
createdAt: Date;
|
5045
4984
|
updatedAt: Date;
|
@@ -5054,7 +4993,7 @@ export declare const publicApiContract: {
|
|
5054
4993
|
systemName: string;
|
5055
4994
|
displayName: string;
|
5056
4995
|
}>;
|
5057
|
-
}
|
4996
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
5058
4997
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5059
4998
|
id: string;
|
5060
4999
|
position: number;
|
@@ -5081,7 +5020,7 @@ export declare const publicApiContract: {
|
|
5081
5020
|
isRequired: boolean;
|
5082
5021
|
isUnique: boolean;
|
5083
5022
|
}>;
|
5084
|
-
}
|
5023
|
+
}, "strip", z.ZodTypeAny, {
|
5085
5024
|
id: string;
|
5086
5025
|
createdAt: Date;
|
5087
5026
|
updatedAt: Date;
|
@@ -5128,13 +5067,13 @@ export declare const publicApiContract: {
|
|
5128
5067
|
numberValue: number | null;
|
5129
5068
|
dateValue: Date | null;
|
5130
5069
|
}>, "many">>;
|
5131
|
-
}
|
5070
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
5132
5071
|
id: string;
|
5133
5072
|
createdAt: Date;
|
5134
5073
|
updatedAt: Date;
|
5135
5074
|
deletedAt: Date | null;
|
5136
|
-
name?: string | undefined;
|
5137
5075
|
address?: string | null | undefined;
|
5076
|
+
name?: string | undefined;
|
5138
5077
|
phone?: string | null | undefined;
|
5139
5078
|
industry?: string | null | undefined;
|
5140
5079
|
}, {
|
@@ -5142,8 +5081,8 @@ export declare const publicApiContract: {
|
|
5142
5081
|
createdAt: Date;
|
5143
5082
|
updatedAt: Date;
|
5144
5083
|
deletedAt: Date | null;
|
5145
|
-
name?: string | undefined;
|
5146
5084
|
address?: string | null | undefined;
|
5085
|
+
name?: string | undefined;
|
5147
5086
|
phone?: string | null | undefined;
|
5148
5087
|
industry?: string | null | undefined;
|
5149
5088
|
}>>;
|
@@ -5156,12 +5095,11 @@ export declare const publicApiContract: {
|
|
5156
5095
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5157
5096
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5158
5097
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5159
|
-
attribute: z.ZodObject<Omit<
|
5098
|
+
attribute: z.ZodObject<Omit<{
|
5160
5099
|
id: z.ZodString;
|
5161
5100
|
createdAt: z.ZodDate;
|
5162
5101
|
updatedAt: z.ZodDate;
|
5163
5102
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5164
|
-
}, {
|
5165
5103
|
systemName: z.ZodString;
|
5166
5104
|
displayName: z.ZodString;
|
5167
5105
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5170,14 +5108,13 @@ export declare const publicApiContract: {
|
|
5170
5108
|
isArchived: z.ZodBoolean;
|
5171
5109
|
isRequired: z.ZodBoolean;
|
5172
5110
|
isUnique: z.ZodBoolean;
|
5173
|
-
options: z.ZodArray<z.ZodObject<
|
5174
|
-
|
5111
|
+
options: z.ZodArray<z.ZodObject<{
|
5112
|
+
position: z.ZodNumber;
|
5175
5113
|
value: z.ZodString;
|
5114
|
+
label: z.ZodString;
|
5176
5115
|
isDefault: z.ZodBoolean;
|
5177
|
-
position: z.ZodNumber;
|
5178
|
-
}, {
|
5179
5116
|
id: z.ZodString;
|
5180
|
-
}
|
5117
|
+
}, "strip", z.ZodTypeAny, {
|
5181
5118
|
id: string;
|
5182
5119
|
position: number;
|
5183
5120
|
value: string;
|
@@ -5190,15 +5127,14 @@ export declare const publicApiContract: {
|
|
5190
5127
|
label: string;
|
5191
5128
|
isDefault: boolean;
|
5192
5129
|
}>, "many">;
|
5193
|
-
group: z.ZodObject<
|
5130
|
+
group: z.ZodObject<{
|
5194
5131
|
id: z.ZodString;
|
5195
5132
|
createdAt: z.ZodDate;
|
5196
5133
|
updatedAt: z.ZodDate;
|
5197
5134
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5198
|
-
}, {
|
5199
5135
|
systemName: z.ZodString;
|
5200
5136
|
displayName: z.ZodString;
|
5201
|
-
}
|
5137
|
+
}, "strip", z.ZodTypeAny, {
|
5202
5138
|
id: string;
|
5203
5139
|
createdAt: Date;
|
5204
5140
|
updatedAt: Date;
|
@@ -5213,7 +5149,7 @@ export declare const publicApiContract: {
|
|
5213
5149
|
systemName: string;
|
5214
5150
|
displayName: string;
|
5215
5151
|
}>;
|
5216
|
-
}
|
5152
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
5217
5153
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5218
5154
|
id: string;
|
5219
5155
|
position: number;
|
@@ -5240,19 +5176,18 @@ export declare const publicApiContract: {
|
|
5240
5176
|
isRequired: boolean;
|
5241
5177
|
isUnique: boolean;
|
5242
5178
|
}>;
|
5243
|
-
uploads: z.ZodArray<z.ZodObject<
|
5179
|
+
uploads: z.ZodArray<z.ZodObject<{
|
5244
5180
|
id: z.ZodString;
|
5245
5181
|
createdAt: z.ZodDate;
|
5246
5182
|
updatedAt: z.ZodDate;
|
5247
5183
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5248
|
-
}, {
|
5249
5184
|
bucketName: z.ZodString;
|
5250
5185
|
fileName: z.ZodString;
|
5251
5186
|
fileSize: z.ZodNumber;
|
5252
5187
|
fileKey: z.ZodString;
|
5253
5188
|
fileUrl: z.ZodNullable<z.ZodString>;
|
5254
5189
|
status: z.ZodNullable<z.ZodString>;
|
5255
|
-
}
|
5190
|
+
}, "strip", z.ZodTypeAny, {
|
5256
5191
|
id: string;
|
5257
5192
|
status: string | null;
|
5258
5193
|
createdAt: Date;
|
@@ -5451,10 +5386,10 @@ export declare const publicApiContract: {
|
|
5451
5386
|
};
|
5452
5387
|
}>, "many">>;
|
5453
5388
|
}, "strip", z.ZodTypeAny, {
|
5454
|
-
name: string;
|
5455
5389
|
id: string;
|
5456
5390
|
channel: string | null;
|
5457
5391
|
address: string | null;
|
5392
|
+
name: string;
|
5458
5393
|
createdAt: Date;
|
5459
5394
|
updatedAt: Date;
|
5460
5395
|
deletedAt: Date | null;
|
@@ -5499,8 +5434,8 @@ export declare const publicApiContract: {
|
|
5499
5434
|
createdAt: Date;
|
5500
5435
|
updatedAt: Date;
|
5501
5436
|
deletedAt: Date | null;
|
5502
|
-
name?: string | undefined;
|
5503
5437
|
address?: string | null | undefined;
|
5438
|
+
name?: string | undefined;
|
5504
5439
|
phone?: string | null | undefined;
|
5505
5440
|
industry?: string | null | undefined;
|
5506
5441
|
} | null;
|
@@ -5508,8 +5443,8 @@ export declare const publicApiContract: {
|
|
5508
5443
|
contactProfile: string | null;
|
5509
5444
|
socialProfileUrl: string | null;
|
5510
5445
|
tags: {
|
5511
|
-
name: string;
|
5512
5446
|
id: string;
|
5447
|
+
name: string;
|
5513
5448
|
createdAt: Date;
|
5514
5449
|
updatedAt: Date;
|
5515
5450
|
deletedAt: Date | null;
|
@@ -5547,10 +5482,10 @@ export declare const publicApiContract: {
|
|
5547
5482
|
};
|
5548
5483
|
}[] | undefined;
|
5549
5484
|
}, {
|
5550
|
-
name: string;
|
5551
5485
|
id: string;
|
5552
5486
|
channel: string | null;
|
5553
5487
|
address: string | null;
|
5488
|
+
name: string;
|
5554
5489
|
createdAt: Date;
|
5555
5490
|
updatedAt: Date;
|
5556
5491
|
deletedAt: Date | null;
|
@@ -5595,8 +5530,8 @@ export declare const publicApiContract: {
|
|
5595
5530
|
createdAt: Date;
|
5596
5531
|
updatedAt: Date;
|
5597
5532
|
deletedAt: Date | null;
|
5598
|
-
name?: string | undefined;
|
5599
5533
|
address?: string | null | undefined;
|
5534
|
+
name?: string | undefined;
|
5600
5535
|
phone?: string | null | undefined;
|
5601
5536
|
industry?: string | null | undefined;
|
5602
5537
|
} | null;
|
@@ -5604,8 +5539,8 @@ export declare const publicApiContract: {
|
|
5604
5539
|
contactProfile: string | null;
|
5605
5540
|
socialProfileUrl: string | null;
|
5606
5541
|
tags: {
|
5607
|
-
name: string;
|
5608
5542
|
id: string;
|
5543
|
+
name: string;
|
5609
5544
|
createdAt: Date;
|
5610
5545
|
updatedAt: Date;
|
5611
5546
|
deletedAt: Date | null;
|
@@ -5646,10 +5581,10 @@ export declare const publicApiContract: {
|
|
5646
5581
|
requestId: z.ZodString;
|
5647
5582
|
}, "strip", z.ZodTypeAny, {
|
5648
5583
|
data: {
|
5649
|
-
name: string;
|
5650
5584
|
id: string;
|
5651
5585
|
channel: string | null;
|
5652
5586
|
address: string | null;
|
5587
|
+
name: string;
|
5653
5588
|
createdAt: Date;
|
5654
5589
|
updatedAt: Date;
|
5655
5590
|
deletedAt: Date | null;
|
@@ -5694,8 +5629,8 @@ export declare const publicApiContract: {
|
|
5694
5629
|
createdAt: Date;
|
5695
5630
|
updatedAt: Date;
|
5696
5631
|
deletedAt: Date | null;
|
5697
|
-
name?: string | undefined;
|
5698
5632
|
address?: string | null | undefined;
|
5633
|
+
name?: string | undefined;
|
5699
5634
|
phone?: string | null | undefined;
|
5700
5635
|
industry?: string | null | undefined;
|
5701
5636
|
} | null;
|
@@ -5703,8 +5638,8 @@ export declare const publicApiContract: {
|
|
5703
5638
|
contactProfile: string | null;
|
5704
5639
|
socialProfileUrl: string | null;
|
5705
5640
|
tags: {
|
5706
|
-
name: string;
|
5707
5641
|
id: string;
|
5642
|
+
name: string;
|
5708
5643
|
createdAt: Date;
|
5709
5644
|
updatedAt: Date;
|
5710
5645
|
deletedAt: Date | null;
|
@@ -5747,10 +5682,10 @@ export declare const publicApiContract: {
|
|
5747
5682
|
requestId: string;
|
5748
5683
|
}, {
|
5749
5684
|
data: {
|
5750
|
-
name: string;
|
5751
5685
|
id: string;
|
5752
5686
|
channel: string | null;
|
5753
5687
|
address: string | null;
|
5688
|
+
name: string;
|
5754
5689
|
createdAt: Date;
|
5755
5690
|
updatedAt: Date;
|
5756
5691
|
deletedAt: Date | null;
|
@@ -5795,8 +5730,8 @@ export declare const publicApiContract: {
|
|
5795
5730
|
createdAt: Date;
|
5796
5731
|
updatedAt: Date;
|
5797
5732
|
deletedAt: Date | null;
|
5798
|
-
name?: string | undefined;
|
5799
5733
|
address?: string | null | undefined;
|
5734
|
+
name?: string | undefined;
|
5800
5735
|
phone?: string | null | undefined;
|
5801
5736
|
industry?: string | null | undefined;
|
5802
5737
|
} | null;
|
@@ -5804,8 +5739,8 @@ export declare const publicApiContract: {
|
|
5804
5739
|
contactProfile: string | null;
|
5805
5740
|
socialProfileUrl: string | null;
|
5806
5741
|
tags: {
|
5807
|
-
name: string;
|
5808
5742
|
id: string;
|
5743
|
+
name: string;
|
5809
5744
|
createdAt: Date;
|
5810
5745
|
updatedAt: Date;
|
5811
5746
|
deletedAt: Date | null;
|
@@ -5902,6 +5837,7 @@ export declare const publicApiContract: {
|
|
5902
5837
|
error?: any;
|
5903
5838
|
}>;
|
5904
5839
|
};
|
5840
|
+
path: "api/v1/contacts/:id";
|
5905
5841
|
};
|
5906
5842
|
};
|
5907
5843
|
//# sourceMappingURL=index.d.ts.map
|