@kl1/contracts 1.2.25-uat → 1.2.27-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 +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14725 -14189
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- 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 +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- 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 +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- 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 +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- 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 +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.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 +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
- 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 +4 -3
- 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 +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- 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 +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- 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 +3 -2
- 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 +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- 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 +3 -2
- 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 +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- 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 +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- 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 +9 -6
- 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 +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4246 -4208
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4243 -4206
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -44,41 +44,43 @@ 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;
|
47
49
|
email?: {
|
48
50
|
isPrimary: boolean;
|
49
51
|
email: string;
|
50
52
|
}[] | 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;
|
57
58
|
notes?: string | undefined;
|
58
59
|
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;
|
63
65
|
email?: {
|
64
66
|
isPrimary: boolean;
|
65
67
|
email: string;
|
66
68
|
}[] | 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;
|
73
74
|
notes?: string | undefined;
|
74
75
|
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";
|
79
80
|
responses: {
|
80
|
-
201: z.ZodObject<{
|
81
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
81
82
|
requestId: z.ZodString;
|
83
|
+
}, {
|
82
84
|
data: z.ZodObject<{
|
83
85
|
id: z.ZodString;
|
84
86
|
createdAt: z.ZodDate;
|
@@ -90,13 +92,14 @@ export declare const publicApiContract: {
|
|
90
92
|
notes: z.ZodNullable<z.ZodString>;
|
91
93
|
contactProfile: z.ZodNullable<z.ZodString>;
|
92
94
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
93
|
-
tags: z.ZodArray<z.ZodObject<{
|
95
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
94
96
|
id: z.ZodString;
|
95
97
|
createdAt: z.ZodDate;
|
96
98
|
updatedAt: z.ZodDate;
|
97
99
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
100
|
+
}, {
|
98
101
|
name: z.ZodString;
|
99
|
-
}
|
102
|
+
}>, "strip", z.ZodTypeAny, {
|
100
103
|
name: string;
|
101
104
|
id: string;
|
102
105
|
createdAt: Date;
|
@@ -109,29 +112,32 @@ export declare const publicApiContract: {
|
|
109
112
|
updatedAt: Date;
|
110
113
|
deletedAt: Date | null;
|
111
114
|
}>, "many">;
|
112
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
115
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
113
116
|
id: z.ZodString;
|
114
117
|
createdAt: z.ZodDate;
|
115
118
|
updatedAt: z.ZodDate;
|
116
119
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
120
|
+
}, {
|
117
121
|
name: z.ZodOptional<z.ZodString>;
|
118
122
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
119
123
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
120
124
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
121
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
125
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
122
126
|
id: z.ZodString;
|
123
127
|
createdAt: z.ZodDate;
|
124
128
|
updatedAt: z.ZodDate;
|
125
129
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
130
|
+
}, {
|
126
131
|
textValue: z.ZodNullable<z.ZodString>;
|
127
132
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
128
133
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
129
134
|
dateValue: z.ZodNullable<z.ZodDate>;
|
130
|
-
attribute: z.ZodObject<Omit<{
|
135
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
131
136
|
id: z.ZodString;
|
132
137
|
createdAt: z.ZodDate;
|
133
138
|
updatedAt: z.ZodDate;
|
134
139
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
140
|
+
}, {
|
135
141
|
systemName: z.ZodString;
|
136
142
|
displayName: z.ZodString;
|
137
143
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -140,13 +146,14 @@ export declare const publicApiContract: {
|
|
140
146
|
isArchived: z.ZodBoolean;
|
141
147
|
isRequired: z.ZodBoolean;
|
142
148
|
isUnique: z.ZodBoolean;
|
143
|
-
options: z.ZodArray<z.ZodObject<{
|
144
|
-
position: z.ZodNumber;
|
145
|
-
value: z.ZodString;
|
149
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
146
150
|
label: z.ZodString;
|
151
|
+
value: z.ZodString;
|
147
152
|
isDefault: z.ZodBoolean;
|
153
|
+
position: z.ZodNumber;
|
154
|
+
}, {
|
148
155
|
id: z.ZodString;
|
149
|
-
}
|
156
|
+
}>, "strip", z.ZodTypeAny, {
|
150
157
|
id: string;
|
151
158
|
position: number;
|
152
159
|
value: string;
|
@@ -159,14 +166,15 @@ export declare const publicApiContract: {
|
|
159
166
|
label: string;
|
160
167
|
isDefault: boolean;
|
161
168
|
}>, "many">;
|
162
|
-
group: z.ZodObject<{
|
169
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
163
170
|
id: z.ZodString;
|
164
171
|
createdAt: z.ZodDate;
|
165
172
|
updatedAt: z.ZodDate;
|
166
173
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
174
|
+
}, {
|
167
175
|
systemName: z.ZodString;
|
168
176
|
displayName: z.ZodString;
|
169
|
-
}
|
177
|
+
}>, "strip", z.ZodTypeAny, {
|
170
178
|
id: string;
|
171
179
|
createdAt: Date;
|
172
180
|
updatedAt: Date;
|
@@ -181,7 +189,7 @@ export declare const publicApiContract: {
|
|
181
189
|
systemName: string;
|
182
190
|
displayName: string;
|
183
191
|
}>;
|
184
|
-
}
|
192
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
185
193
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
186
194
|
id: string;
|
187
195
|
position: number;
|
@@ -208,7 +216,7 @@ export declare const publicApiContract: {
|
|
208
216
|
isRequired: boolean;
|
209
217
|
isUnique: boolean;
|
210
218
|
}>;
|
211
|
-
}
|
219
|
+
}>, "strip", z.ZodTypeAny, {
|
212
220
|
id: string;
|
213
221
|
createdAt: Date;
|
214
222
|
updatedAt: Date;
|
@@ -255,7 +263,7 @@ export declare const publicApiContract: {
|
|
255
263
|
numberValue: number | null;
|
256
264
|
dateValue: Date | null;
|
257
265
|
}>, "many">>;
|
258
|
-
}
|
266
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
259
267
|
id: string;
|
260
268
|
createdAt: Date;
|
261
269
|
updatedAt: Date;
|
@@ -283,11 +291,12 @@ export declare const publicApiContract: {
|
|
283
291
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
284
292
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
285
293
|
dateValue: z.ZodNullable<z.ZodDate>;
|
286
|
-
attribute: z.ZodObject<Omit<{
|
294
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
287
295
|
id: z.ZodString;
|
288
296
|
createdAt: z.ZodDate;
|
289
297
|
updatedAt: z.ZodDate;
|
290
298
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
299
|
+
}, {
|
291
300
|
systemName: z.ZodString;
|
292
301
|
displayName: z.ZodString;
|
293
302
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -296,13 +305,14 @@ export declare const publicApiContract: {
|
|
296
305
|
isArchived: z.ZodBoolean;
|
297
306
|
isRequired: z.ZodBoolean;
|
298
307
|
isUnique: z.ZodBoolean;
|
299
|
-
options: z.ZodArray<z.ZodObject<{
|
300
|
-
position: z.ZodNumber;
|
301
|
-
value: z.ZodString;
|
308
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
302
309
|
label: z.ZodString;
|
310
|
+
value: z.ZodString;
|
303
311
|
isDefault: z.ZodBoolean;
|
312
|
+
position: z.ZodNumber;
|
313
|
+
}, {
|
304
314
|
id: z.ZodString;
|
305
|
-
}
|
315
|
+
}>, "strip", z.ZodTypeAny, {
|
306
316
|
id: string;
|
307
317
|
position: number;
|
308
318
|
value: string;
|
@@ -315,14 +325,15 @@ export declare const publicApiContract: {
|
|
315
325
|
label: string;
|
316
326
|
isDefault: boolean;
|
317
327
|
}>, "many">;
|
318
|
-
group: z.ZodObject<{
|
328
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
319
329
|
id: z.ZodString;
|
320
330
|
createdAt: z.ZodDate;
|
321
331
|
updatedAt: z.ZodDate;
|
322
332
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
333
|
+
}, {
|
323
334
|
systemName: z.ZodString;
|
324
335
|
displayName: z.ZodString;
|
325
|
-
}
|
336
|
+
}>, "strip", z.ZodTypeAny, {
|
326
337
|
id: string;
|
327
338
|
createdAt: Date;
|
328
339
|
updatedAt: Date;
|
@@ -337,7 +348,7 @@ export declare const publicApiContract: {
|
|
337
348
|
systemName: string;
|
338
349
|
displayName: string;
|
339
350
|
}>;
|
340
|
-
}
|
351
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
341
352
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
342
353
|
id: string;
|
343
354
|
position: number;
|
@@ -364,18 +375,19 @@ export declare const publicApiContract: {
|
|
364
375
|
isRequired: boolean;
|
365
376
|
isUnique: boolean;
|
366
377
|
}>;
|
367
|
-
uploads: z.ZodArray<z.ZodObject<{
|
378
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
368
379
|
id: z.ZodString;
|
369
380
|
createdAt: z.ZodDate;
|
370
381
|
updatedAt: z.ZodDate;
|
371
382
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
383
|
+
}, {
|
372
384
|
bucketName: z.ZodString;
|
373
385
|
fileName: z.ZodString;
|
374
386
|
fileSize: z.ZodNumber;
|
375
387
|
fileKey: z.ZodString;
|
376
388
|
fileUrl: z.ZodNullable<z.ZodString>;
|
377
389
|
status: z.ZodNullable<z.ZodString>;
|
378
|
-
}
|
390
|
+
}>, "strip", z.ZodTypeAny, {
|
379
391
|
id: string;
|
380
392
|
status: string | null;
|
381
393
|
createdAt: Date;
|
@@ -766,7 +778,7 @@ export declare const publicApiContract: {
|
|
766
778
|
};
|
767
779
|
}[] | undefined;
|
768
780
|
}>;
|
769
|
-
}
|
781
|
+
}>, "strip", z.ZodTypeAny, {
|
770
782
|
data: {
|
771
783
|
name: string;
|
772
784
|
id: string;
|
@@ -1020,7 +1032,6 @@ export declare const publicApiContract: {
|
|
1020
1032
|
error?: any;
|
1021
1033
|
}>;
|
1022
1034
|
};
|
1023
|
-
path: "api/v1/contacts";
|
1024
1035
|
};
|
1025
1036
|
getAllTags: {
|
1026
1037
|
method: "GET";
|
@@ -1034,16 +1045,19 @@ export declare const publicApiContract: {
|
|
1034
1045
|
group?: "general" | "contact" | undefined;
|
1035
1046
|
keyword?: string | undefined;
|
1036
1047
|
}>>;
|
1048
|
+
path: "api/v1/tags";
|
1037
1049
|
responses: {
|
1038
|
-
200: z.ZodObject<{
|
1050
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
1039
1051
|
requestId: z.ZodString;
|
1040
|
-
|
1052
|
+
}, {
|
1053
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1041
1054
|
id: z.ZodString;
|
1042
1055
|
createdAt: z.ZodDate;
|
1043
1056
|
updatedAt: z.ZodDate;
|
1044
1057
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1058
|
+
}, {
|
1045
1059
|
name: z.ZodString;
|
1046
|
-
}
|
1060
|
+
}>, "strip", z.ZodTypeAny, {
|
1047
1061
|
name: string;
|
1048
1062
|
id: string;
|
1049
1063
|
createdAt: Date;
|
@@ -1056,7 +1070,7 @@ export declare const publicApiContract: {
|
|
1056
1070
|
updatedAt: Date;
|
1057
1071
|
deletedAt: Date | null;
|
1058
1072
|
}>, "many">;
|
1059
|
-
}
|
1073
|
+
}>, "strip", z.ZodTypeAny, {
|
1060
1074
|
requestId: string;
|
1061
1075
|
tags: {
|
1062
1076
|
name: string;
|
@@ -1130,7 +1144,6 @@ export declare const publicApiContract: {
|
|
1130
1144
|
error?: any;
|
1131
1145
|
}>;
|
1132
1146
|
};
|
1133
|
-
path: "api/v1/tags";
|
1134
1147
|
};
|
1135
1148
|
getAllContact: {
|
1136
1149
|
summary: "Get all contacts";
|
@@ -1150,11 +1163,11 @@ export declare const publicApiContract: {
|
|
1150
1163
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
1151
1164
|
}, "strip", z.ZodTypeAny, {
|
1152
1165
|
type: string;
|
1153
|
-
value:
|
1166
|
+
value: string | string[];
|
1154
1167
|
attributeId: string;
|
1155
1168
|
}, {
|
1156
1169
|
type: string;
|
1157
|
-
value:
|
1170
|
+
value: string | string[];
|
1158
1171
|
attributeId: string;
|
1159
1172
|
}>, "many">>;
|
1160
1173
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1162,45 +1175,47 @@ export declare const publicApiContract: {
|
|
1162
1175
|
email: z.ZodOptional<z.ZodString>;
|
1163
1176
|
notes: z.ZodOptional<z.ZodString>;
|
1164
1177
|
}, "strip", z.ZodTypeAny, {
|
1165
|
-
page?: number | undefined;
|
1166
|
-
pageSize?: number | undefined;
|
1167
|
-
keyword?: string | undefined;
|
1168
|
-
company?: string[] | undefined;
|
1169
1178
|
name?: string | undefined;
|
1170
|
-
address?: string | undefined;
|
1171
1179
|
channel?: string[] | undefined;
|
1172
|
-
|
1180
|
+
address?: string | undefined;
|
1181
|
+
page?: number | undefined;
|
1182
|
+
email?: string | undefined;
|
1183
|
+
pageSize?: number | undefined;
|
1184
|
+
phone?: string | undefined;
|
1173
1185
|
customFields?: {
|
1174
1186
|
type: string;
|
1175
|
-
value:
|
1187
|
+
value: string | string[];
|
1176
1188
|
attributeId: string;
|
1177
1189
|
}[] | undefined;
|
1178
|
-
|
1179
|
-
phone?: string | undefined;
|
1180
|
-
email?: string | undefined;
|
1190
|
+
company?: string[] | undefined;
|
1181
1191
|
notes?: string | undefined;
|
1182
|
-
|
1183
|
-
page?: number | undefined;
|
1184
|
-
pageSize?: number | undefined;
|
1192
|
+
tags?: string[] | undefined;
|
1185
1193
|
keyword?: string | undefined;
|
1186
|
-
|
1194
|
+
selectedDate?: string | undefined;
|
1195
|
+
}, {
|
1187
1196
|
name?: string | undefined;
|
1188
|
-
address?: string | undefined;
|
1189
1197
|
channel?: string[] | undefined;
|
1190
|
-
|
1198
|
+
address?: string | undefined;
|
1199
|
+
page?: number | undefined;
|
1200
|
+
email?: string | undefined;
|
1201
|
+
pageSize?: number | undefined;
|
1202
|
+
phone?: string | undefined;
|
1191
1203
|
customFields?: {
|
1192
1204
|
type: string;
|
1193
|
-
value:
|
1205
|
+
value: string | string[];
|
1194
1206
|
attributeId: string;
|
1195
1207
|
}[] | undefined;
|
1196
|
-
|
1197
|
-
phone?: string | undefined;
|
1198
|
-
email?: string | undefined;
|
1208
|
+
company?: string[] | undefined;
|
1199
1209
|
notes?: string | undefined;
|
1210
|
+
tags?: string[] | undefined;
|
1211
|
+
keyword?: string | undefined;
|
1212
|
+
selectedDate?: string | undefined;
|
1200
1213
|
}>;
|
1214
|
+
path: "api/v1/contacts";
|
1201
1215
|
responses: {
|
1202
|
-
200: z.ZodObject<{
|
1216
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
1203
1217
|
requestId: z.ZodString;
|
1218
|
+
}, {
|
1204
1219
|
page: z.ZodNumber;
|
1205
1220
|
pageSize: z.ZodNumber;
|
1206
1221
|
total: z.ZodNumber;
|
@@ -1216,13 +1231,14 @@ export declare const publicApiContract: {
|
|
1216
1231
|
notes: z.ZodNullable<z.ZodString>;
|
1217
1232
|
contactProfile: z.ZodNullable<z.ZodString>;
|
1218
1233
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1219
|
-
tags: z.ZodArray<z.ZodObject<{
|
1234
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1220
1235
|
id: z.ZodString;
|
1221
1236
|
createdAt: z.ZodDate;
|
1222
1237
|
updatedAt: z.ZodDate;
|
1223
1238
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1239
|
+
}, {
|
1224
1240
|
name: z.ZodString;
|
1225
|
-
}
|
1241
|
+
}>, "strip", z.ZodTypeAny, {
|
1226
1242
|
name: string;
|
1227
1243
|
id: string;
|
1228
1244
|
createdAt: Date;
|
@@ -1235,29 +1251,32 @@ export declare const publicApiContract: {
|
|
1235
1251
|
updatedAt: Date;
|
1236
1252
|
deletedAt: Date | null;
|
1237
1253
|
}>, "many">;
|
1238
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
1254
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1239
1255
|
id: z.ZodString;
|
1240
1256
|
createdAt: z.ZodDate;
|
1241
1257
|
updatedAt: z.ZodDate;
|
1242
1258
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1259
|
+
}, {
|
1243
1260
|
name: z.ZodOptional<z.ZodString>;
|
1244
1261
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1245
1262
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1246
1263
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1247
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1264
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1248
1265
|
id: z.ZodString;
|
1249
1266
|
createdAt: z.ZodDate;
|
1250
1267
|
updatedAt: z.ZodDate;
|
1251
1268
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1269
|
+
}, {
|
1252
1270
|
textValue: z.ZodNullable<z.ZodString>;
|
1253
1271
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1254
1272
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1255
1273
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1256
|
-
attribute: z.ZodObject<Omit<{
|
1274
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1257
1275
|
id: z.ZodString;
|
1258
1276
|
createdAt: z.ZodDate;
|
1259
1277
|
updatedAt: z.ZodDate;
|
1260
1278
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1279
|
+
}, {
|
1261
1280
|
systemName: z.ZodString;
|
1262
1281
|
displayName: z.ZodString;
|
1263
1282
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1266,13 +1285,14 @@ export declare const publicApiContract: {
|
|
1266
1285
|
isArchived: z.ZodBoolean;
|
1267
1286
|
isRequired: z.ZodBoolean;
|
1268
1287
|
isUnique: z.ZodBoolean;
|
1269
|
-
options: z.ZodArray<z.ZodObject<{
|
1270
|
-
position: z.ZodNumber;
|
1271
|
-
value: z.ZodString;
|
1288
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1272
1289
|
label: z.ZodString;
|
1290
|
+
value: z.ZodString;
|
1273
1291
|
isDefault: z.ZodBoolean;
|
1292
|
+
position: z.ZodNumber;
|
1293
|
+
}, {
|
1274
1294
|
id: z.ZodString;
|
1275
|
-
}
|
1295
|
+
}>, "strip", z.ZodTypeAny, {
|
1276
1296
|
id: string;
|
1277
1297
|
position: number;
|
1278
1298
|
value: string;
|
@@ -1285,14 +1305,15 @@ export declare const publicApiContract: {
|
|
1285
1305
|
label: string;
|
1286
1306
|
isDefault: boolean;
|
1287
1307
|
}>, "many">;
|
1288
|
-
group: z.ZodObject<{
|
1308
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1289
1309
|
id: z.ZodString;
|
1290
1310
|
createdAt: z.ZodDate;
|
1291
1311
|
updatedAt: z.ZodDate;
|
1292
1312
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1313
|
+
}, {
|
1293
1314
|
systemName: z.ZodString;
|
1294
1315
|
displayName: z.ZodString;
|
1295
|
-
}
|
1316
|
+
}>, "strip", z.ZodTypeAny, {
|
1296
1317
|
id: string;
|
1297
1318
|
createdAt: Date;
|
1298
1319
|
updatedAt: Date;
|
@@ -1307,7 +1328,7 @@ export declare const publicApiContract: {
|
|
1307
1328
|
systemName: string;
|
1308
1329
|
displayName: string;
|
1309
1330
|
}>;
|
1310
|
-
}
|
1331
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1311
1332
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1312
1333
|
id: string;
|
1313
1334
|
position: number;
|
@@ -1334,7 +1355,7 @@ export declare const publicApiContract: {
|
|
1334
1355
|
isRequired: boolean;
|
1335
1356
|
isUnique: boolean;
|
1336
1357
|
}>;
|
1337
|
-
}
|
1358
|
+
}>, "strip", z.ZodTypeAny, {
|
1338
1359
|
id: string;
|
1339
1360
|
createdAt: Date;
|
1340
1361
|
updatedAt: Date;
|
@@ -1381,7 +1402,7 @@ export declare const publicApiContract: {
|
|
1381
1402
|
numberValue: number | null;
|
1382
1403
|
dateValue: Date | null;
|
1383
1404
|
}>, "many">>;
|
1384
|
-
}
|
1405
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
1385
1406
|
id: string;
|
1386
1407
|
createdAt: Date;
|
1387
1408
|
updatedAt: Date;
|
@@ -1409,11 +1430,12 @@ export declare const publicApiContract: {
|
|
1409
1430
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1410
1431
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1411
1432
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1412
|
-
attribute: z.ZodObject<Omit<{
|
1433
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1413
1434
|
id: z.ZodString;
|
1414
1435
|
createdAt: z.ZodDate;
|
1415
1436
|
updatedAt: z.ZodDate;
|
1416
1437
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1438
|
+
}, {
|
1417
1439
|
systemName: z.ZodString;
|
1418
1440
|
displayName: z.ZodString;
|
1419
1441
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1422,13 +1444,14 @@ export declare const publicApiContract: {
|
|
1422
1444
|
isArchived: z.ZodBoolean;
|
1423
1445
|
isRequired: z.ZodBoolean;
|
1424
1446
|
isUnique: z.ZodBoolean;
|
1425
|
-
options: z.ZodArray<z.ZodObject<{
|
1426
|
-
position: z.ZodNumber;
|
1427
|
-
value: z.ZodString;
|
1447
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1428
1448
|
label: z.ZodString;
|
1449
|
+
value: z.ZodString;
|
1429
1450
|
isDefault: z.ZodBoolean;
|
1451
|
+
position: z.ZodNumber;
|
1452
|
+
}, {
|
1430
1453
|
id: z.ZodString;
|
1431
|
-
}
|
1454
|
+
}>, "strip", z.ZodTypeAny, {
|
1432
1455
|
id: string;
|
1433
1456
|
position: number;
|
1434
1457
|
value: string;
|
@@ -1441,14 +1464,15 @@ export declare const publicApiContract: {
|
|
1441
1464
|
label: string;
|
1442
1465
|
isDefault: boolean;
|
1443
1466
|
}>, "many">;
|
1444
|
-
group: z.ZodObject<{
|
1467
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1445
1468
|
id: z.ZodString;
|
1446
1469
|
createdAt: z.ZodDate;
|
1447
1470
|
updatedAt: z.ZodDate;
|
1448
1471
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1472
|
+
}, {
|
1449
1473
|
systemName: z.ZodString;
|
1450
1474
|
displayName: z.ZodString;
|
1451
|
-
}
|
1475
|
+
}>, "strip", z.ZodTypeAny, {
|
1452
1476
|
id: string;
|
1453
1477
|
createdAt: Date;
|
1454
1478
|
updatedAt: Date;
|
@@ -1463,7 +1487,7 @@ export declare const publicApiContract: {
|
|
1463
1487
|
systemName: string;
|
1464
1488
|
displayName: string;
|
1465
1489
|
}>;
|
1466
|
-
}
|
1490
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1467
1491
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1468
1492
|
id: string;
|
1469
1493
|
position: number;
|
@@ -1490,18 +1514,19 @@ export declare const publicApiContract: {
|
|
1490
1514
|
isRequired: boolean;
|
1491
1515
|
isUnique: boolean;
|
1492
1516
|
}>;
|
1493
|
-
uploads: z.ZodArray<z.ZodObject<{
|
1517
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1494
1518
|
id: z.ZodString;
|
1495
1519
|
createdAt: z.ZodDate;
|
1496
1520
|
updatedAt: z.ZodDate;
|
1497
1521
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1522
|
+
}, {
|
1498
1523
|
bucketName: z.ZodString;
|
1499
1524
|
fileName: z.ZodString;
|
1500
1525
|
fileSize: z.ZodNumber;
|
1501
1526
|
fileKey: z.ZodString;
|
1502
1527
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1503
1528
|
status: z.ZodNullable<z.ZodString>;
|
1504
|
-
}
|
1529
|
+
}>, "strip", z.ZodTypeAny, {
|
1505
1530
|
id: string;
|
1506
1531
|
status: string | null;
|
1507
1532
|
createdAt: Date;
|
@@ -1892,7 +1917,7 @@ export declare const publicApiContract: {
|
|
1892
1917
|
};
|
1893
1918
|
}[] | undefined;
|
1894
1919
|
}>, "many">;
|
1895
|
-
}
|
1920
|
+
}>, "strip", z.ZodTypeAny, {
|
1896
1921
|
data: {
|
1897
1922
|
name: string;
|
1898
1923
|
id: string;
|
@@ -2154,7 +2179,6 @@ export declare const publicApiContract: {
|
|
2154
2179
|
error?: any;
|
2155
2180
|
}>;
|
2156
2181
|
};
|
2157
|
-
path: "api/v1/contacts";
|
2158
2182
|
};
|
2159
2183
|
getContactFields: {
|
2160
2184
|
summary: "Get contact custom fields.";
|
@@ -2169,9 +2193,11 @@ export declare const publicApiContract: {
|
|
2169
2193
|
page?: number | undefined;
|
2170
2194
|
pageSize?: number | undefined;
|
2171
2195
|
}>;
|
2196
|
+
path: "api/v1/contacts/fields";
|
2172
2197
|
responses: {
|
2173
|
-
200: z.ZodObject<{
|
2198
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
2174
2199
|
requestId: z.ZodString;
|
2200
|
+
}, {
|
2175
2201
|
page: z.ZodNumber;
|
2176
2202
|
pageSize: z.ZodNumber;
|
2177
2203
|
total: z.ZodNumber;
|
@@ -2185,11 +2211,12 @@ export declare const publicApiContract: {
|
|
2185
2211
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2186
2212
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2187
2213
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2188
|
-
attribute: z.ZodObject<Omit<{
|
2214
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2189
2215
|
id: z.ZodString;
|
2190
2216
|
createdAt: z.ZodDate;
|
2191
2217
|
updatedAt: z.ZodDate;
|
2192
2218
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2219
|
+
}, {
|
2193
2220
|
systemName: z.ZodString;
|
2194
2221
|
displayName: z.ZodString;
|
2195
2222
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2198,13 +2225,14 @@ export declare const publicApiContract: {
|
|
2198
2225
|
isArchived: z.ZodBoolean;
|
2199
2226
|
isRequired: z.ZodBoolean;
|
2200
2227
|
isUnique: z.ZodBoolean;
|
2201
|
-
options: z.ZodArray<z.ZodObject<{
|
2202
|
-
position: z.ZodNumber;
|
2203
|
-
value: z.ZodString;
|
2228
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2204
2229
|
label: z.ZodString;
|
2230
|
+
value: z.ZodString;
|
2205
2231
|
isDefault: z.ZodBoolean;
|
2232
|
+
position: z.ZodNumber;
|
2233
|
+
}, {
|
2206
2234
|
id: z.ZodString;
|
2207
|
-
}
|
2235
|
+
}>, "strip", z.ZodTypeAny, {
|
2208
2236
|
id: string;
|
2209
2237
|
position: number;
|
2210
2238
|
value: string;
|
@@ -2217,14 +2245,15 @@ export declare const publicApiContract: {
|
|
2217
2245
|
label: string;
|
2218
2246
|
isDefault: boolean;
|
2219
2247
|
}>, "many">;
|
2220
|
-
group: z.ZodObject<{
|
2248
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2221
2249
|
id: z.ZodString;
|
2222
2250
|
createdAt: z.ZodDate;
|
2223
2251
|
updatedAt: z.ZodDate;
|
2224
2252
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2253
|
+
}, {
|
2225
2254
|
systemName: z.ZodString;
|
2226
2255
|
displayName: z.ZodString;
|
2227
|
-
}
|
2256
|
+
}>, "strip", z.ZodTypeAny, {
|
2228
2257
|
id: string;
|
2229
2258
|
createdAt: Date;
|
2230
2259
|
updatedAt: Date;
|
@@ -2239,7 +2268,7 @@ export declare const publicApiContract: {
|
|
2239
2268
|
systemName: string;
|
2240
2269
|
displayName: string;
|
2241
2270
|
}>;
|
2242
|
-
}
|
2271
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2243
2272
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2244
2273
|
id: string;
|
2245
2274
|
position: number;
|
@@ -2266,18 +2295,19 @@ export declare const publicApiContract: {
|
|
2266
2295
|
isRequired: boolean;
|
2267
2296
|
isUnique: boolean;
|
2268
2297
|
}>;
|
2269
|
-
uploads: z.ZodArray<z.ZodObject<{
|
2298
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2270
2299
|
id: z.ZodString;
|
2271
2300
|
createdAt: z.ZodDate;
|
2272
2301
|
updatedAt: z.ZodDate;
|
2273
2302
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2303
|
+
}, {
|
2274
2304
|
bucketName: z.ZodString;
|
2275
2305
|
fileName: z.ZodString;
|
2276
2306
|
fileSize: z.ZodNumber;
|
2277
2307
|
fileKey: z.ZodString;
|
2278
2308
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2279
2309
|
status: z.ZodNullable<z.ZodString>;
|
2280
|
-
}
|
2310
|
+
}>, "strip", z.ZodTypeAny, {
|
2281
2311
|
id: string;
|
2282
2312
|
status: string | null;
|
2283
2313
|
createdAt: Date;
|
@@ -2371,7 +2401,7 @@ export declare const publicApiContract: {
|
|
2371
2401
|
fileUrl: string | null;
|
2372
2402
|
}[];
|
2373
2403
|
}>, "many">;
|
2374
|
-
}
|
2404
|
+
}>, "strip", z.ZodTypeAny, {
|
2375
2405
|
data: {
|
2376
2406
|
id: string;
|
2377
2407
|
createdAt: Date;
|
@@ -2511,7 +2541,6 @@ export declare const publicApiContract: {
|
|
2511
2541
|
error?: any;
|
2512
2542
|
}>;
|
2513
2543
|
};
|
2514
|
-
path: "api/v1/contacts/fields";
|
2515
2544
|
};
|
2516
2545
|
updateContact: {
|
2517
2546
|
body: z.ZodObject<{
|
@@ -2544,36 +2573,36 @@ export declare const publicApiContract: {
|
|
2544
2573
|
customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2545
2574
|
}, "strip", z.ZodTypeAny, {
|
2546
2575
|
name?: string | undefined;
|
2576
|
+
channel?: string | undefined;
|
2577
|
+
address?: string | undefined;
|
2547
2578
|
email?: {
|
2548
2579
|
isPrimary: boolean;
|
2549
2580
|
email: string;
|
2550
2581
|
}[] | undefined;
|
2551
|
-
channel?: string | undefined;
|
2552
|
-
address?: string | undefined;
|
2553
2582
|
phone?: {
|
2554
2583
|
isPrimary: boolean;
|
2555
2584
|
phone: string;
|
2556
2585
|
}[] | undefined;
|
2586
|
+
customFields?: Record<string, string> | undefined;
|
2587
|
+
company?: string | undefined;
|
2557
2588
|
notes?: string | undefined;
|
2558
2589
|
tags?: string[] | undefined;
|
2559
|
-
company?: string | undefined;
|
2560
|
-
customFields?: Record<string, string> | undefined;
|
2561
2590
|
}, {
|
2562
2591
|
name?: string | undefined;
|
2592
|
+
channel?: string | undefined;
|
2593
|
+
address?: string | undefined;
|
2563
2594
|
email?: {
|
2564
2595
|
isPrimary: boolean;
|
2565
2596
|
email: string;
|
2566
2597
|
}[] | undefined;
|
2567
|
-
channel?: string | undefined;
|
2568
|
-
address?: string | undefined;
|
2569
2598
|
phone?: {
|
2570
2599
|
isPrimary: boolean;
|
2571
2600
|
phone: string;
|
2572
2601
|
}[] | undefined;
|
2602
|
+
customFields?: Record<string, string> | undefined;
|
2603
|
+
company?: string | undefined;
|
2573
2604
|
notes?: string | undefined;
|
2574
2605
|
tags?: string[] | undefined;
|
2575
|
-
company?: string | undefined;
|
2576
|
-
customFields?: Record<string, string> | undefined;
|
2577
2606
|
}>;
|
2578
2607
|
summary: "Update a contact";
|
2579
2608
|
method: "PATCH";
|
@@ -2584,6 +2613,7 @@ export declare const publicApiContract: {
|
|
2584
2613
|
}, {
|
2585
2614
|
id: string;
|
2586
2615
|
}>;
|
2616
|
+
path: "api/v1/contacts/:id";
|
2587
2617
|
responses: {
|
2588
2618
|
200: z.ZodObject<{
|
2589
2619
|
status: z.ZodString;
|
@@ -2599,13 +2629,14 @@ export declare const publicApiContract: {
|
|
2599
2629
|
notes: z.ZodNullable<z.ZodString>;
|
2600
2630
|
contactProfile: z.ZodNullable<z.ZodString>;
|
2601
2631
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
2602
|
-
tags: z.ZodArray<z.ZodObject<{
|
2632
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2603
2633
|
id: z.ZodString;
|
2604
2634
|
createdAt: z.ZodDate;
|
2605
2635
|
updatedAt: z.ZodDate;
|
2606
2636
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2637
|
+
}, {
|
2607
2638
|
name: z.ZodString;
|
2608
|
-
}
|
2639
|
+
}>, "strip", z.ZodTypeAny, {
|
2609
2640
|
name: string;
|
2610
2641
|
id: string;
|
2611
2642
|
createdAt: Date;
|
@@ -2618,29 +2649,32 @@ export declare const publicApiContract: {
|
|
2618
2649
|
updatedAt: Date;
|
2619
2650
|
deletedAt: Date | null;
|
2620
2651
|
}>, "many">;
|
2621
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
2652
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2622
2653
|
id: z.ZodString;
|
2623
2654
|
createdAt: z.ZodDate;
|
2624
2655
|
updatedAt: z.ZodDate;
|
2625
2656
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2657
|
+
}, {
|
2626
2658
|
name: z.ZodOptional<z.ZodString>;
|
2627
2659
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2628
2660
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2629
2661
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2630
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2662
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2631
2663
|
id: z.ZodString;
|
2632
2664
|
createdAt: z.ZodDate;
|
2633
2665
|
updatedAt: z.ZodDate;
|
2634
2666
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2667
|
+
}, {
|
2635
2668
|
textValue: z.ZodNullable<z.ZodString>;
|
2636
2669
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2637
2670
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2638
2671
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2639
|
-
attribute: z.ZodObject<Omit<{
|
2672
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2640
2673
|
id: z.ZodString;
|
2641
2674
|
createdAt: z.ZodDate;
|
2642
2675
|
updatedAt: z.ZodDate;
|
2643
2676
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2677
|
+
}, {
|
2644
2678
|
systemName: z.ZodString;
|
2645
2679
|
displayName: z.ZodString;
|
2646
2680
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2649,13 +2683,14 @@ export declare const publicApiContract: {
|
|
2649
2683
|
isArchived: z.ZodBoolean;
|
2650
2684
|
isRequired: z.ZodBoolean;
|
2651
2685
|
isUnique: z.ZodBoolean;
|
2652
|
-
options: z.ZodArray<z.ZodObject<{
|
2653
|
-
position: z.ZodNumber;
|
2654
|
-
value: z.ZodString;
|
2686
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2655
2687
|
label: z.ZodString;
|
2688
|
+
value: z.ZodString;
|
2656
2689
|
isDefault: z.ZodBoolean;
|
2690
|
+
position: z.ZodNumber;
|
2691
|
+
}, {
|
2657
2692
|
id: z.ZodString;
|
2658
|
-
}
|
2693
|
+
}>, "strip", z.ZodTypeAny, {
|
2659
2694
|
id: string;
|
2660
2695
|
position: number;
|
2661
2696
|
value: string;
|
@@ -2668,14 +2703,15 @@ export declare const publicApiContract: {
|
|
2668
2703
|
label: string;
|
2669
2704
|
isDefault: boolean;
|
2670
2705
|
}>, "many">;
|
2671
|
-
group: z.ZodObject<{
|
2706
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2672
2707
|
id: z.ZodString;
|
2673
2708
|
createdAt: z.ZodDate;
|
2674
2709
|
updatedAt: z.ZodDate;
|
2675
2710
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2711
|
+
}, {
|
2676
2712
|
systemName: z.ZodString;
|
2677
2713
|
displayName: z.ZodString;
|
2678
|
-
}
|
2714
|
+
}>, "strip", z.ZodTypeAny, {
|
2679
2715
|
id: string;
|
2680
2716
|
createdAt: Date;
|
2681
2717
|
updatedAt: Date;
|
@@ -2690,7 +2726,7 @@ export declare const publicApiContract: {
|
|
2690
2726
|
systemName: string;
|
2691
2727
|
displayName: string;
|
2692
2728
|
}>;
|
2693
|
-
}
|
2729
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2694
2730
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2695
2731
|
id: string;
|
2696
2732
|
position: number;
|
@@ -2717,7 +2753,7 @@ export declare const publicApiContract: {
|
|
2717
2753
|
isRequired: boolean;
|
2718
2754
|
isUnique: boolean;
|
2719
2755
|
}>;
|
2720
|
-
}
|
2756
|
+
}>, "strip", z.ZodTypeAny, {
|
2721
2757
|
id: string;
|
2722
2758
|
createdAt: Date;
|
2723
2759
|
updatedAt: Date;
|
@@ -2764,7 +2800,7 @@ export declare const publicApiContract: {
|
|
2764
2800
|
numberValue: number | null;
|
2765
2801
|
dateValue: Date | null;
|
2766
2802
|
}>, "many">>;
|
2767
|
-
}
|
2803
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
2768
2804
|
id: string;
|
2769
2805
|
createdAt: Date;
|
2770
2806
|
updatedAt: Date;
|
@@ -2792,11 +2828,12 @@ export declare const publicApiContract: {
|
|
2792
2828
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2793
2829
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2794
2830
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2795
|
-
attribute: z.ZodObject<Omit<{
|
2831
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2796
2832
|
id: z.ZodString;
|
2797
2833
|
createdAt: z.ZodDate;
|
2798
2834
|
updatedAt: z.ZodDate;
|
2799
2835
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2836
|
+
}, {
|
2800
2837
|
systemName: z.ZodString;
|
2801
2838
|
displayName: z.ZodString;
|
2802
2839
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2805,13 +2842,14 @@ export declare const publicApiContract: {
|
|
2805
2842
|
isArchived: z.ZodBoolean;
|
2806
2843
|
isRequired: z.ZodBoolean;
|
2807
2844
|
isUnique: z.ZodBoolean;
|
2808
|
-
options: z.ZodArray<z.ZodObject<{
|
2809
|
-
position: z.ZodNumber;
|
2810
|
-
value: z.ZodString;
|
2845
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2811
2846
|
label: z.ZodString;
|
2847
|
+
value: z.ZodString;
|
2812
2848
|
isDefault: z.ZodBoolean;
|
2849
|
+
position: z.ZodNumber;
|
2850
|
+
}, {
|
2813
2851
|
id: z.ZodString;
|
2814
|
-
}
|
2852
|
+
}>, "strip", z.ZodTypeAny, {
|
2815
2853
|
id: string;
|
2816
2854
|
position: number;
|
2817
2855
|
value: string;
|
@@ -2824,14 +2862,15 @@ export declare const publicApiContract: {
|
|
2824
2862
|
label: string;
|
2825
2863
|
isDefault: boolean;
|
2826
2864
|
}>, "many">;
|
2827
|
-
group: z.ZodObject<{
|
2865
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2828
2866
|
id: z.ZodString;
|
2829
2867
|
createdAt: z.ZodDate;
|
2830
2868
|
updatedAt: z.ZodDate;
|
2831
2869
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2870
|
+
}, {
|
2832
2871
|
systemName: z.ZodString;
|
2833
2872
|
displayName: z.ZodString;
|
2834
|
-
}
|
2873
|
+
}>, "strip", z.ZodTypeAny, {
|
2835
2874
|
id: string;
|
2836
2875
|
createdAt: Date;
|
2837
2876
|
updatedAt: Date;
|
@@ -2846,7 +2885,7 @@ export declare const publicApiContract: {
|
|
2846
2885
|
systemName: string;
|
2847
2886
|
displayName: string;
|
2848
2887
|
}>;
|
2849
|
-
}
|
2888
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2850
2889
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2851
2890
|
id: string;
|
2852
2891
|
position: number;
|
@@ -2873,18 +2912,19 @@ export declare const publicApiContract: {
|
|
2873
2912
|
isRequired: boolean;
|
2874
2913
|
isUnique: boolean;
|
2875
2914
|
}>;
|
2876
|
-
uploads: z.ZodArray<z.ZodObject<{
|
2915
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2877
2916
|
id: z.ZodString;
|
2878
2917
|
createdAt: z.ZodDate;
|
2879
2918
|
updatedAt: z.ZodDate;
|
2880
2919
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2920
|
+
}, {
|
2881
2921
|
bucketName: z.ZodString;
|
2882
2922
|
fileName: z.ZodString;
|
2883
2923
|
fileSize: z.ZodNumber;
|
2884
2924
|
fileKey: z.ZodString;
|
2885
2925
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2886
2926
|
status: z.ZodNullable<z.ZodString>;
|
2887
|
-
}
|
2927
|
+
}>, "strip", z.ZodTypeAny, {
|
2888
2928
|
id: string;
|
2889
2929
|
status: string | null;
|
2890
2930
|
createdAt: Date;
|
@@ -3534,7 +3574,6 @@ export declare const publicApiContract: {
|
|
3534
3574
|
error?: any;
|
3535
3575
|
}>;
|
3536
3576
|
};
|
3537
|
-
path: "api/v1/contacts/:id";
|
3538
3577
|
};
|
3539
3578
|
createContactAttachmentRecords: {
|
3540
3579
|
body: z.ZodObject<{
|
@@ -3582,9 +3621,11 @@ export declare const publicApiContract: {
|
|
3582
3621
|
}>;
|
3583
3622
|
summary: "Create a new contact attachment";
|
3584
3623
|
method: "POST";
|
3624
|
+
path: "api/v1/contacts/attachments";
|
3585
3625
|
responses: {
|
3586
|
-
201: z.ZodObject<{
|
3626
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
3587
3627
|
requestId: z.ZodString;
|
3628
|
+
}, {
|
3588
3629
|
message: z.ZodObject<{
|
3589
3630
|
id: z.ZodString;
|
3590
3631
|
createdAt: z.ZodDate;
|
@@ -3594,11 +3635,12 @@ export declare const publicApiContract: {
|
|
3594
3635
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3595
3636
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3596
3637
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3597
|
-
attribute: z.ZodObject<Omit<{
|
3638
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3598
3639
|
id: z.ZodString;
|
3599
3640
|
createdAt: z.ZodDate;
|
3600
3641
|
updatedAt: z.ZodDate;
|
3601
3642
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3643
|
+
}, {
|
3602
3644
|
systemName: z.ZodString;
|
3603
3645
|
displayName: z.ZodString;
|
3604
3646
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3607,13 +3649,14 @@ export declare const publicApiContract: {
|
|
3607
3649
|
isArchived: z.ZodBoolean;
|
3608
3650
|
isRequired: z.ZodBoolean;
|
3609
3651
|
isUnique: z.ZodBoolean;
|
3610
|
-
options: z.ZodArray<z.ZodObject<{
|
3611
|
-
position: z.ZodNumber;
|
3612
|
-
value: z.ZodString;
|
3652
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3613
3653
|
label: z.ZodString;
|
3654
|
+
value: z.ZodString;
|
3614
3655
|
isDefault: z.ZodBoolean;
|
3656
|
+
position: z.ZodNumber;
|
3657
|
+
}, {
|
3615
3658
|
id: z.ZodString;
|
3616
|
-
}
|
3659
|
+
}>, "strip", z.ZodTypeAny, {
|
3617
3660
|
id: string;
|
3618
3661
|
position: number;
|
3619
3662
|
value: string;
|
@@ -3626,14 +3669,15 @@ export declare const publicApiContract: {
|
|
3626
3669
|
label: string;
|
3627
3670
|
isDefault: boolean;
|
3628
3671
|
}>, "many">;
|
3629
|
-
group: z.ZodObject<{
|
3672
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
3630
3673
|
id: z.ZodString;
|
3631
3674
|
createdAt: z.ZodDate;
|
3632
3675
|
updatedAt: z.ZodDate;
|
3633
3676
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3677
|
+
}, {
|
3634
3678
|
systemName: z.ZodString;
|
3635
3679
|
displayName: z.ZodString;
|
3636
|
-
}
|
3680
|
+
}>, "strip", z.ZodTypeAny, {
|
3637
3681
|
id: string;
|
3638
3682
|
createdAt: Date;
|
3639
3683
|
updatedAt: Date;
|
@@ -3648,7 +3692,7 @@ export declare const publicApiContract: {
|
|
3648
3692
|
systemName: string;
|
3649
3693
|
displayName: string;
|
3650
3694
|
}>;
|
3651
|
-
}
|
3695
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
3652
3696
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3653
3697
|
id: string;
|
3654
3698
|
position: number;
|
@@ -3675,18 +3719,19 @@ export declare const publicApiContract: {
|
|
3675
3719
|
isRequired: boolean;
|
3676
3720
|
isUnique: boolean;
|
3677
3721
|
}>;
|
3678
|
-
uploads: z.ZodArray<z.ZodObject<{
|
3722
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3679
3723
|
id: z.ZodString;
|
3680
3724
|
createdAt: z.ZodDate;
|
3681
3725
|
updatedAt: z.ZodDate;
|
3682
3726
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3727
|
+
}, {
|
3683
3728
|
bucketName: z.ZodString;
|
3684
3729
|
fileName: z.ZodString;
|
3685
3730
|
fileSize: z.ZodNumber;
|
3686
3731
|
fileKey: z.ZodString;
|
3687
3732
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3688
3733
|
status: z.ZodNullable<z.ZodString>;
|
3689
|
-
}
|
3734
|
+
}>, "strip", z.ZodTypeAny, {
|
3690
3735
|
id: string;
|
3691
3736
|
status: string | null;
|
3692
3737
|
createdAt: Date;
|
@@ -3780,7 +3825,7 @@ export declare const publicApiContract: {
|
|
3780
3825
|
fileUrl: string | null;
|
3781
3826
|
}[];
|
3782
3827
|
}>;
|
3783
|
-
}
|
3828
|
+
}>, "strip", z.ZodTypeAny, {
|
3784
3829
|
message: {
|
3785
3830
|
id: string;
|
3786
3831
|
createdAt: Date;
|
@@ -3912,7 +3957,6 @@ export declare const publicApiContract: {
|
|
3912
3957
|
error?: any;
|
3913
3958
|
}>;
|
3914
3959
|
};
|
3915
|
-
path: "api/v1/contacts/attachments";
|
3916
3960
|
};
|
3917
3961
|
getContactById: {
|
3918
3962
|
summary: "Get a contact by id";
|
@@ -3924,6 +3968,7 @@ export declare const publicApiContract: {
|
|
3924
3968
|
}, {
|
3925
3969
|
id: string;
|
3926
3970
|
}>;
|
3971
|
+
path: "api/v1/contacts/:id";
|
3927
3972
|
responses: {
|
3928
3973
|
200: z.ZodObject<{
|
3929
3974
|
status: z.ZodString;
|
@@ -3939,13 +3984,14 @@ export declare const publicApiContract: {
|
|
3939
3984
|
notes: z.ZodNullable<z.ZodString>;
|
3940
3985
|
contactProfile: z.ZodNullable<z.ZodString>;
|
3941
3986
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3942
|
-
tags: z.ZodArray<z.ZodObject<{
|
3987
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3943
3988
|
id: z.ZodString;
|
3944
3989
|
createdAt: z.ZodDate;
|
3945
3990
|
updatedAt: z.ZodDate;
|
3946
3991
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3992
|
+
}, {
|
3947
3993
|
name: z.ZodString;
|
3948
|
-
}
|
3994
|
+
}>, "strip", z.ZodTypeAny, {
|
3949
3995
|
name: string;
|
3950
3996
|
id: string;
|
3951
3997
|
createdAt: Date;
|
@@ -3958,29 +4004,32 @@ export declare const publicApiContract: {
|
|
3958
4004
|
updatedAt: Date;
|
3959
4005
|
deletedAt: Date | null;
|
3960
4006
|
}>, "many">;
|
3961
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
4007
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3962
4008
|
id: z.ZodString;
|
3963
4009
|
createdAt: z.ZodDate;
|
3964
4010
|
updatedAt: z.ZodDate;
|
3965
4011
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4012
|
+
}, {
|
3966
4013
|
name: z.ZodOptional<z.ZodString>;
|
3967
4014
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3968
4015
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3969
4016
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3970
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4017
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3971
4018
|
id: z.ZodString;
|
3972
4019
|
createdAt: z.ZodDate;
|
3973
4020
|
updatedAt: z.ZodDate;
|
3974
4021
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4022
|
+
}, {
|
3975
4023
|
textValue: z.ZodNullable<z.ZodString>;
|
3976
4024
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3977
4025
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3978
4026
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3979
|
-
attribute: z.ZodObject<Omit<{
|
4027
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3980
4028
|
id: z.ZodString;
|
3981
4029
|
createdAt: z.ZodDate;
|
3982
4030
|
updatedAt: z.ZodDate;
|
3983
4031
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4032
|
+
}, {
|
3984
4033
|
systemName: z.ZodString;
|
3985
4034
|
displayName: z.ZodString;
|
3986
4035
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3989,13 +4038,14 @@ export declare const publicApiContract: {
|
|
3989
4038
|
isArchived: z.ZodBoolean;
|
3990
4039
|
isRequired: z.ZodBoolean;
|
3991
4040
|
isUnique: z.ZodBoolean;
|
3992
|
-
options: z.ZodArray<z.ZodObject<{
|
3993
|
-
position: z.ZodNumber;
|
3994
|
-
value: z.ZodString;
|
4041
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3995
4042
|
label: z.ZodString;
|
4043
|
+
value: z.ZodString;
|
3996
4044
|
isDefault: z.ZodBoolean;
|
4045
|
+
position: z.ZodNumber;
|
4046
|
+
}, {
|
3997
4047
|
id: z.ZodString;
|
3998
|
-
}
|
4048
|
+
}>, "strip", z.ZodTypeAny, {
|
3999
4049
|
id: string;
|
4000
4050
|
position: number;
|
4001
4051
|
value: string;
|
@@ -4008,14 +4058,15 @@ export declare const publicApiContract: {
|
|
4008
4058
|
label: string;
|
4009
4059
|
isDefault: boolean;
|
4010
4060
|
}>, "many">;
|
4011
|
-
group: z.ZodObject<{
|
4061
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4012
4062
|
id: z.ZodString;
|
4013
4063
|
createdAt: z.ZodDate;
|
4014
4064
|
updatedAt: z.ZodDate;
|
4015
4065
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4066
|
+
}, {
|
4016
4067
|
systemName: z.ZodString;
|
4017
4068
|
displayName: z.ZodString;
|
4018
|
-
}
|
4069
|
+
}>, "strip", z.ZodTypeAny, {
|
4019
4070
|
id: string;
|
4020
4071
|
createdAt: Date;
|
4021
4072
|
updatedAt: Date;
|
@@ -4030,7 +4081,7 @@ export declare const publicApiContract: {
|
|
4030
4081
|
systemName: string;
|
4031
4082
|
displayName: string;
|
4032
4083
|
}>;
|
4033
|
-
}
|
4084
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4034
4085
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4035
4086
|
id: string;
|
4036
4087
|
position: number;
|
@@ -4057,7 +4108,7 @@ export declare const publicApiContract: {
|
|
4057
4108
|
isRequired: boolean;
|
4058
4109
|
isUnique: boolean;
|
4059
4110
|
}>;
|
4060
|
-
}
|
4111
|
+
}>, "strip", z.ZodTypeAny, {
|
4061
4112
|
id: string;
|
4062
4113
|
createdAt: Date;
|
4063
4114
|
updatedAt: Date;
|
@@ -4104,7 +4155,7 @@ export declare const publicApiContract: {
|
|
4104
4155
|
numberValue: number | null;
|
4105
4156
|
dateValue: Date | null;
|
4106
4157
|
}>, "many">>;
|
4107
|
-
}
|
4158
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
4108
4159
|
id: string;
|
4109
4160
|
createdAt: Date;
|
4110
4161
|
updatedAt: Date;
|
@@ -4132,11 +4183,12 @@ export declare const publicApiContract: {
|
|
4132
4183
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4133
4184
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4134
4185
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4135
|
-
attribute: z.ZodObject<Omit<{
|
4186
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4136
4187
|
id: z.ZodString;
|
4137
4188
|
createdAt: z.ZodDate;
|
4138
4189
|
updatedAt: z.ZodDate;
|
4139
4190
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4191
|
+
}, {
|
4140
4192
|
systemName: z.ZodString;
|
4141
4193
|
displayName: z.ZodString;
|
4142
4194
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4145,13 +4197,14 @@ export declare const publicApiContract: {
|
|
4145
4197
|
isArchived: z.ZodBoolean;
|
4146
4198
|
isRequired: z.ZodBoolean;
|
4147
4199
|
isUnique: z.ZodBoolean;
|
4148
|
-
options: z.ZodArray<z.ZodObject<{
|
4149
|
-
position: z.ZodNumber;
|
4150
|
-
value: z.ZodString;
|
4200
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4151
4201
|
label: z.ZodString;
|
4202
|
+
value: z.ZodString;
|
4152
4203
|
isDefault: z.ZodBoolean;
|
4204
|
+
position: z.ZodNumber;
|
4205
|
+
}, {
|
4153
4206
|
id: z.ZodString;
|
4154
|
-
}
|
4207
|
+
}>, "strip", z.ZodTypeAny, {
|
4155
4208
|
id: string;
|
4156
4209
|
position: number;
|
4157
4210
|
value: string;
|
@@ -4164,14 +4217,15 @@ export declare const publicApiContract: {
|
|
4164
4217
|
label: string;
|
4165
4218
|
isDefault: boolean;
|
4166
4219
|
}>, "many">;
|
4167
|
-
group: z.ZodObject<{
|
4220
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4168
4221
|
id: z.ZodString;
|
4169
4222
|
createdAt: z.ZodDate;
|
4170
4223
|
updatedAt: z.ZodDate;
|
4171
4224
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4225
|
+
}, {
|
4172
4226
|
systemName: z.ZodString;
|
4173
4227
|
displayName: z.ZodString;
|
4174
|
-
}
|
4228
|
+
}>, "strip", z.ZodTypeAny, {
|
4175
4229
|
id: string;
|
4176
4230
|
createdAt: Date;
|
4177
4231
|
updatedAt: Date;
|
@@ -4186,7 +4240,7 @@ export declare const publicApiContract: {
|
|
4186
4240
|
systemName: string;
|
4187
4241
|
displayName: string;
|
4188
4242
|
}>;
|
4189
|
-
}
|
4243
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4190
4244
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4191
4245
|
id: string;
|
4192
4246
|
position: number;
|
@@ -4213,18 +4267,19 @@ export declare const publicApiContract: {
|
|
4213
4267
|
isRequired: boolean;
|
4214
4268
|
isUnique: boolean;
|
4215
4269
|
}>;
|
4216
|
-
uploads: z.ZodArray<z.ZodObject<{
|
4270
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4217
4271
|
id: z.ZodString;
|
4218
4272
|
createdAt: z.ZodDate;
|
4219
4273
|
updatedAt: z.ZodDate;
|
4220
4274
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4275
|
+
}, {
|
4221
4276
|
bucketName: z.ZodString;
|
4222
4277
|
fileName: z.ZodString;
|
4223
4278
|
fileSize: z.ZodNumber;
|
4224
4279
|
fileKey: z.ZodString;
|
4225
4280
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4226
4281
|
status: z.ZodNullable<z.ZodString>;
|
4227
|
-
}
|
4282
|
+
}>, "strip", z.ZodTypeAny, {
|
4228
4283
|
id: string;
|
4229
4284
|
status: string | null;
|
4230
4285
|
createdAt: Date;
|
@@ -4874,7 +4929,6 @@ export declare const publicApiContract: {
|
|
4874
4929
|
error?: any;
|
4875
4930
|
}>;
|
4876
4931
|
};
|
4877
|
-
path: "api/v1/contacts/:id";
|
4878
4932
|
};
|
4879
4933
|
deleteContact: {
|
4880
4934
|
body: null;
|
@@ -4887,6 +4941,7 @@ export declare const publicApiContract: {
|
|
4887
4941
|
}, {
|
4888
4942
|
id: string;
|
4889
4943
|
}>;
|
4944
|
+
path: "api/v1/contacts/:id";
|
4890
4945
|
responses: {
|
4891
4946
|
200: z.ZodObject<{
|
4892
4947
|
status: z.ZodString;
|
@@ -4902,13 +4957,14 @@ export declare const publicApiContract: {
|
|
4902
4957
|
notes: z.ZodNullable<z.ZodString>;
|
4903
4958
|
contactProfile: z.ZodNullable<z.ZodString>;
|
4904
4959
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
4905
|
-
tags: z.ZodArray<z.ZodObject<{
|
4960
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4906
4961
|
id: z.ZodString;
|
4907
4962
|
createdAt: z.ZodDate;
|
4908
4963
|
updatedAt: z.ZodDate;
|
4909
4964
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4965
|
+
}, {
|
4910
4966
|
name: z.ZodString;
|
4911
|
-
}
|
4967
|
+
}>, "strip", z.ZodTypeAny, {
|
4912
4968
|
name: string;
|
4913
4969
|
id: string;
|
4914
4970
|
createdAt: Date;
|
@@ -4921,29 +4977,32 @@ export declare const publicApiContract: {
|
|
4921
4977
|
updatedAt: Date;
|
4922
4978
|
deletedAt: Date | null;
|
4923
4979
|
}>, "many">;
|
4924
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
4980
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4925
4981
|
id: z.ZodString;
|
4926
4982
|
createdAt: z.ZodDate;
|
4927
4983
|
updatedAt: z.ZodDate;
|
4928
4984
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4985
|
+
}, {
|
4929
4986
|
name: z.ZodOptional<z.ZodString>;
|
4930
4987
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4931
4988
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4932
4989
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4933
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4990
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4934
4991
|
id: z.ZodString;
|
4935
4992
|
createdAt: z.ZodDate;
|
4936
4993
|
updatedAt: z.ZodDate;
|
4937
4994
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4995
|
+
}, {
|
4938
4996
|
textValue: z.ZodNullable<z.ZodString>;
|
4939
4997
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4940
4998
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4941
4999
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4942
|
-
attribute: z.ZodObject<Omit<{
|
5000
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4943
5001
|
id: z.ZodString;
|
4944
5002
|
createdAt: z.ZodDate;
|
4945
5003
|
updatedAt: z.ZodDate;
|
4946
5004
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5005
|
+
}, {
|
4947
5006
|
systemName: z.ZodString;
|
4948
5007
|
displayName: z.ZodString;
|
4949
5008
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4952,13 +5011,14 @@ export declare const publicApiContract: {
|
|
4952
5011
|
isArchived: z.ZodBoolean;
|
4953
5012
|
isRequired: z.ZodBoolean;
|
4954
5013
|
isUnique: z.ZodBoolean;
|
4955
|
-
options: z.ZodArray<z.ZodObject<{
|
4956
|
-
position: z.ZodNumber;
|
4957
|
-
value: z.ZodString;
|
5014
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4958
5015
|
label: z.ZodString;
|
5016
|
+
value: z.ZodString;
|
4959
5017
|
isDefault: z.ZodBoolean;
|
5018
|
+
position: z.ZodNumber;
|
5019
|
+
}, {
|
4960
5020
|
id: z.ZodString;
|
4961
|
-
}
|
5021
|
+
}>, "strip", z.ZodTypeAny, {
|
4962
5022
|
id: string;
|
4963
5023
|
position: number;
|
4964
5024
|
value: string;
|
@@ -4971,14 +5031,15 @@ export declare const publicApiContract: {
|
|
4971
5031
|
label: string;
|
4972
5032
|
isDefault: boolean;
|
4973
5033
|
}>, "many">;
|
4974
|
-
group: z.ZodObject<{
|
5034
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4975
5035
|
id: z.ZodString;
|
4976
5036
|
createdAt: z.ZodDate;
|
4977
5037
|
updatedAt: z.ZodDate;
|
4978
5038
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5039
|
+
}, {
|
4979
5040
|
systemName: z.ZodString;
|
4980
5041
|
displayName: z.ZodString;
|
4981
|
-
}
|
5042
|
+
}>, "strip", z.ZodTypeAny, {
|
4982
5043
|
id: string;
|
4983
5044
|
createdAt: Date;
|
4984
5045
|
updatedAt: Date;
|
@@ -4993,7 +5054,7 @@ export declare const publicApiContract: {
|
|
4993
5054
|
systemName: string;
|
4994
5055
|
displayName: string;
|
4995
5056
|
}>;
|
4996
|
-
}
|
5057
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4997
5058
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4998
5059
|
id: string;
|
4999
5060
|
position: number;
|
@@ -5020,7 +5081,7 @@ export declare const publicApiContract: {
|
|
5020
5081
|
isRequired: boolean;
|
5021
5082
|
isUnique: boolean;
|
5022
5083
|
}>;
|
5023
|
-
}
|
5084
|
+
}>, "strip", z.ZodTypeAny, {
|
5024
5085
|
id: string;
|
5025
5086
|
createdAt: Date;
|
5026
5087
|
updatedAt: Date;
|
@@ -5067,7 +5128,7 @@ export declare const publicApiContract: {
|
|
5067
5128
|
numberValue: number | null;
|
5068
5129
|
dateValue: Date | null;
|
5069
5130
|
}>, "many">>;
|
5070
|
-
}
|
5131
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
5071
5132
|
id: string;
|
5072
5133
|
createdAt: Date;
|
5073
5134
|
updatedAt: Date;
|
@@ -5095,11 +5156,12 @@ export declare const publicApiContract: {
|
|
5095
5156
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5096
5157
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5097
5158
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5098
|
-
attribute: z.ZodObject<Omit<{
|
5159
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5099
5160
|
id: z.ZodString;
|
5100
5161
|
createdAt: z.ZodDate;
|
5101
5162
|
updatedAt: z.ZodDate;
|
5102
5163
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5164
|
+
}, {
|
5103
5165
|
systemName: z.ZodString;
|
5104
5166
|
displayName: z.ZodString;
|
5105
5167
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5108,13 +5170,14 @@ export declare const publicApiContract: {
|
|
5108
5170
|
isArchived: z.ZodBoolean;
|
5109
5171
|
isRequired: z.ZodBoolean;
|
5110
5172
|
isUnique: z.ZodBoolean;
|
5111
|
-
options: z.ZodArray<z.ZodObject<{
|
5112
|
-
position: z.ZodNumber;
|
5113
|
-
value: z.ZodString;
|
5173
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5114
5174
|
label: z.ZodString;
|
5175
|
+
value: z.ZodString;
|
5115
5176
|
isDefault: z.ZodBoolean;
|
5177
|
+
position: z.ZodNumber;
|
5178
|
+
}, {
|
5116
5179
|
id: z.ZodString;
|
5117
|
-
}
|
5180
|
+
}>, "strip", z.ZodTypeAny, {
|
5118
5181
|
id: string;
|
5119
5182
|
position: number;
|
5120
5183
|
value: string;
|
@@ -5127,14 +5190,15 @@ export declare const publicApiContract: {
|
|
5127
5190
|
label: string;
|
5128
5191
|
isDefault: boolean;
|
5129
5192
|
}>, "many">;
|
5130
|
-
group: z.ZodObject<{
|
5193
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
5131
5194
|
id: z.ZodString;
|
5132
5195
|
createdAt: z.ZodDate;
|
5133
5196
|
updatedAt: z.ZodDate;
|
5134
5197
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5198
|
+
}, {
|
5135
5199
|
systemName: z.ZodString;
|
5136
5200
|
displayName: z.ZodString;
|
5137
|
-
}
|
5201
|
+
}>, "strip", z.ZodTypeAny, {
|
5138
5202
|
id: string;
|
5139
5203
|
createdAt: Date;
|
5140
5204
|
updatedAt: Date;
|
@@ -5149,7 +5213,7 @@ export declare const publicApiContract: {
|
|
5149
5213
|
systemName: string;
|
5150
5214
|
displayName: string;
|
5151
5215
|
}>;
|
5152
|
-
}
|
5216
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
5153
5217
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5154
5218
|
id: string;
|
5155
5219
|
position: number;
|
@@ -5176,18 +5240,19 @@ export declare const publicApiContract: {
|
|
5176
5240
|
isRequired: boolean;
|
5177
5241
|
isUnique: boolean;
|
5178
5242
|
}>;
|
5179
|
-
uploads: z.ZodArray<z.ZodObject<{
|
5243
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5180
5244
|
id: z.ZodString;
|
5181
5245
|
createdAt: z.ZodDate;
|
5182
5246
|
updatedAt: z.ZodDate;
|
5183
5247
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5248
|
+
}, {
|
5184
5249
|
bucketName: z.ZodString;
|
5185
5250
|
fileName: z.ZodString;
|
5186
5251
|
fileSize: z.ZodNumber;
|
5187
5252
|
fileKey: z.ZodString;
|
5188
5253
|
fileUrl: z.ZodNullable<z.ZodString>;
|
5189
5254
|
status: z.ZodNullable<z.ZodString>;
|
5190
|
-
}
|
5255
|
+
}>, "strip", z.ZodTypeAny, {
|
5191
5256
|
id: string;
|
5192
5257
|
status: string | null;
|
5193
5258
|
createdAt: Date;
|
@@ -5837,7 +5902,6 @@ export declare const publicApiContract: {
|
|
5837
5902
|
error?: any;
|
5838
5903
|
}>;
|
5839
5904
|
};
|
5840
|
-
path: "api/v1/contacts/:id";
|
5841
5905
|
};
|
5842
5906
|
};
|
5843
5907
|
//# sourceMappingURL=index.d.ts.map
|