@kl1/contracts 1.4.62 → 1.4.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +21 -20
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -3
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +132 -116
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +22 -20
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +9 -6
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +4 -2
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +29 -22
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/validation.d.ts +20 -17
- package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +5 -0
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +100 -91
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +1 -0
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +3915 -1965
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +90 -82
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +178 -104
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +13716 -12748
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3523 -3254
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +227 -155
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +52 -29
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +162 -55
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +15 -6
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +86 -30
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +437 -318
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +28 -14
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +137 -56
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +66841 -98172
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -1
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +106 -100
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +3335 -3151
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
- 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 +1 -0
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- 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 +2116 -1968
- 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/invoice/index.d.ts +3 -1
- package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
- package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
- package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/index.d.ts +5930 -3695
- package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
- package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
- package/dist/api-contracts/src/line/index.d.ts +2077 -1937
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +10 -9
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +157 -148
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +223 -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 +2 -1
- 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 +426 -306
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +105 -46
- 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 +27 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
- package/dist/api-contracts/src/mail/schemas/account.schema.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 +34 -21
- 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 +18 -6
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2109 -1960
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +20 -13
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +12 -9
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +4 -3
- package/dist/api-contracts/src/notification/validation.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 +87 -83
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +80 -75
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +588 -542
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +32 -10
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +474 -6
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +65 -58
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2505 -2381
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
- 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 +5 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.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 +756 -702
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
- 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 +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +564 -452
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +32 -30
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +1 -0
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +137 -126
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +4 -3
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +3 -2
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
- 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 +5 -3
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +2494 -2370
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1754 -1630
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1848 -1705
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +15 -4
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +145 -132
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +1 -0
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2062 -1907
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
- 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 +3 -0
- 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 +19 -18
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +2 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +2 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1296 -1084
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1295 -1084
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -133,9 +133,27 @@ export declare const contactContract: {
|
|
133
133
|
}>;
|
134
134
|
summary: "Create a new contact";
|
135
135
|
method: "POST";
|
136
|
+
path: "ccs/api/v1/contact";
|
137
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
138
|
+
'x-tenant': z.ZodString;
|
139
|
+
'x-service-token': z.ZodString;
|
140
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
141
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
143
|
+
'x-tenant': string;
|
144
|
+
'x-service-token': string;
|
145
|
+
'x-client-timezone': string;
|
146
|
+
'x-code'?: string | undefined;
|
147
|
+
}, {
|
148
|
+
'x-tenant': string;
|
149
|
+
'x-service-token': string;
|
150
|
+
'x-code'?: string | undefined;
|
151
|
+
'x-client-timezone'?: string | undefined;
|
152
|
+
}>>>;
|
136
153
|
responses: {
|
137
154
|
201: z.ZodObject<{
|
138
155
|
requestId: z.ZodString;
|
156
|
+
} & {
|
139
157
|
data: z.ZodObject<{
|
140
158
|
id: z.ZodString;
|
141
159
|
createdAt: z.ZodDate;
|
@@ -152,6 +170,7 @@ export declare const contactContract: {
|
|
152
170
|
createdAt: z.ZodDate;
|
153
171
|
updatedAt: z.ZodDate;
|
154
172
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
173
|
+
} & {
|
155
174
|
name: z.ZodString;
|
156
175
|
}, "strip", z.ZodTypeAny, {
|
157
176
|
name: string;
|
@@ -171,6 +190,7 @@ export declare const contactContract: {
|
|
171
190
|
createdAt: z.ZodDate;
|
172
191
|
updatedAt: z.ZodDate;
|
173
192
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
193
|
+
} & {
|
174
194
|
name: z.ZodOptional<z.ZodString>;
|
175
195
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
176
196
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -180,6 +200,7 @@ export declare const contactContract: {
|
|
180
200
|
createdAt: z.ZodDate;
|
181
201
|
updatedAt: z.ZodDate;
|
182
202
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
203
|
+
} & {
|
183
204
|
textValue: z.ZodNullable<z.ZodString>;
|
184
205
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
185
206
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -189,6 +210,7 @@ export declare const contactContract: {
|
|
189
210
|
createdAt: z.ZodDate;
|
190
211
|
updatedAt: z.ZodDate;
|
191
212
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
213
|
+
} & {
|
192
214
|
systemName: z.ZodString;
|
193
215
|
displayName: z.ZodString;
|
194
216
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -198,10 +220,11 @@ export declare const contactContract: {
|
|
198
220
|
isRequired: z.ZodBoolean;
|
199
221
|
isUnique: z.ZodBoolean;
|
200
222
|
options: z.ZodArray<z.ZodObject<{
|
201
|
-
position: z.ZodNumber;
|
202
|
-
value: z.ZodString;
|
203
223
|
label: z.ZodString;
|
224
|
+
value: z.ZodString;
|
204
225
|
isDefault: z.ZodBoolean;
|
226
|
+
position: z.ZodNumber;
|
227
|
+
} & {
|
205
228
|
id: z.ZodString;
|
206
229
|
}, "strip", z.ZodTypeAny, {
|
207
230
|
id: string;
|
@@ -221,6 +244,7 @@ export declare const contactContract: {
|
|
221
244
|
createdAt: z.ZodDate;
|
222
245
|
updatedAt: z.ZodDate;
|
223
246
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
247
|
+
} & {
|
224
248
|
systemName: z.ZodString;
|
225
249
|
displayName: z.ZodString;
|
226
250
|
}, "strip", z.ZodTypeAny, {
|
@@ -398,6 +422,7 @@ export declare const contactContract: {
|
|
398
422
|
createdAt: z.ZodDate;
|
399
423
|
updatedAt: z.ZodDate;
|
400
424
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
425
|
+
} & {
|
401
426
|
systemName: z.ZodString;
|
402
427
|
displayName: z.ZodString;
|
403
428
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -407,10 +432,11 @@ export declare const contactContract: {
|
|
407
432
|
isRequired: z.ZodBoolean;
|
408
433
|
isUnique: z.ZodBoolean;
|
409
434
|
options: z.ZodArray<z.ZodObject<{
|
410
|
-
position: z.ZodNumber;
|
411
|
-
value: z.ZodString;
|
412
435
|
label: z.ZodString;
|
436
|
+
value: z.ZodString;
|
413
437
|
isDefault: z.ZodBoolean;
|
438
|
+
position: z.ZodNumber;
|
439
|
+
} & {
|
414
440
|
id: z.ZodString;
|
415
441
|
}, "strip", z.ZodTypeAny, {
|
416
442
|
id: string;
|
@@ -430,6 +456,7 @@ export declare const contactContract: {
|
|
430
456
|
createdAt: z.ZodDate;
|
431
457
|
updatedAt: z.ZodDate;
|
432
458
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
459
|
+
} & {
|
433
460
|
systemName: z.ZodString;
|
434
461
|
displayName: z.ZodString;
|
435
462
|
}, "strip", z.ZodTypeAny, {
|
@@ -479,6 +506,7 @@ export declare const contactContract: {
|
|
479
506
|
createdAt: z.ZodDate;
|
480
507
|
updatedAt: z.ZodDate;
|
481
508
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
509
|
+
} & {
|
482
510
|
bucketName: z.ZodString;
|
483
511
|
fileName: z.ZodString;
|
484
512
|
fileSize: z.ZodNumber;
|
@@ -1187,23 +1215,6 @@ export declare const contactContract: {
|
|
1187
1215
|
error?: any;
|
1188
1216
|
}>;
|
1189
1217
|
};
|
1190
|
-
path: "ccs/api/v1/contact";
|
1191
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1192
|
-
'x-tenant': z.ZodString;
|
1193
|
-
'x-service-token': z.ZodString;
|
1194
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
1195
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1196
|
-
}, "strip", z.ZodTypeAny, {
|
1197
|
-
'x-tenant': string;
|
1198
|
-
'x-service-token': string;
|
1199
|
-
'x-client-timezone': string;
|
1200
|
-
'x-code'?: string | undefined;
|
1201
|
-
}, {
|
1202
|
-
'x-tenant': string;
|
1203
|
-
'x-service-token': string;
|
1204
|
-
'x-code'?: string | undefined;
|
1205
|
-
'x-client-timezone'?: string | undefined;
|
1206
|
-
}>>>;
|
1207
1218
|
};
|
1208
1219
|
getAll: {
|
1209
1220
|
summary: "Get all contacts";
|
@@ -1223,11 +1234,11 @@ export declare const contactContract: {
|
|
1223
1234
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
1224
1235
|
}, "strip", z.ZodTypeAny, {
|
1225
1236
|
type: string;
|
1226
|
-
value:
|
1237
|
+
value: string | string[];
|
1227
1238
|
attributeId: string;
|
1228
1239
|
}, {
|
1229
1240
|
type: string;
|
1230
|
-
value:
|
1241
|
+
value: string | string[];
|
1231
1242
|
attributeId: string;
|
1232
1243
|
}>, "many">>;
|
1233
1244
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1235,45 +1246,63 @@ export declare const contactContract: {
|
|
1235
1246
|
email: z.ZodOptional<z.ZodString>;
|
1236
1247
|
notes: z.ZodOptional<z.ZodString>;
|
1237
1248
|
}, "strip", z.ZodTypeAny, {
|
1238
|
-
page?: number | undefined;
|
1239
|
-
pageSize?: number | undefined;
|
1240
|
-
keyword?: string | undefined;
|
1241
|
-
company?: string[] | undefined;
|
1242
1249
|
name?: string | undefined;
|
1243
|
-
address?: string | undefined;
|
1244
1250
|
channel?: string[] | undefined;
|
1245
|
-
|
1251
|
+
address?: string | undefined;
|
1252
|
+
page?: number | undefined;
|
1253
|
+
email?: string | undefined;
|
1254
|
+
pageSize?: number | undefined;
|
1255
|
+
phone?: string | undefined;
|
1246
1256
|
customFields?: {
|
1247
1257
|
type: string;
|
1248
|
-
value:
|
1258
|
+
value: string | string[];
|
1249
1259
|
attributeId: string;
|
1250
1260
|
}[] | undefined;
|
1251
|
-
|
1252
|
-
phone?: string | undefined;
|
1253
|
-
email?: string | undefined;
|
1261
|
+
company?: string[] | undefined;
|
1254
1262
|
notes?: string | undefined;
|
1255
|
-
|
1256
|
-
page?: number | undefined;
|
1257
|
-
pageSize?: number | undefined;
|
1263
|
+
tags?: string[] | undefined;
|
1258
1264
|
keyword?: string | undefined;
|
1259
|
-
|
1265
|
+
selectedDate?: string | undefined;
|
1266
|
+
}, {
|
1260
1267
|
name?: string | undefined;
|
1261
|
-
address?: string | undefined;
|
1262
1268
|
channel?: string[] | undefined;
|
1263
|
-
|
1269
|
+
address?: string | undefined;
|
1270
|
+
page?: number | undefined;
|
1271
|
+
email?: string | undefined;
|
1272
|
+
pageSize?: number | undefined;
|
1273
|
+
phone?: string | undefined;
|
1264
1274
|
customFields?: {
|
1265
1275
|
type: string;
|
1266
|
-
value:
|
1276
|
+
value: string | string[];
|
1267
1277
|
attributeId: string;
|
1268
1278
|
}[] | undefined;
|
1269
|
-
|
1270
|
-
phone?: string | undefined;
|
1271
|
-
email?: string | undefined;
|
1279
|
+
company?: string[] | undefined;
|
1272
1280
|
notes?: string | undefined;
|
1281
|
+
tags?: string[] | undefined;
|
1282
|
+
keyword?: string | undefined;
|
1283
|
+
selectedDate?: string | undefined;
|
1273
1284
|
}>;
|
1285
|
+
path: "ccs/api/v1/contact";
|
1286
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1287
|
+
'x-tenant': z.ZodString;
|
1288
|
+
'x-service-token': z.ZodString;
|
1289
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1290
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
1292
|
+
'x-tenant': string;
|
1293
|
+
'x-service-token': string;
|
1294
|
+
'x-client-timezone': string;
|
1295
|
+
'x-code'?: string | undefined;
|
1296
|
+
}, {
|
1297
|
+
'x-tenant': string;
|
1298
|
+
'x-service-token': string;
|
1299
|
+
'x-code'?: string | undefined;
|
1300
|
+
'x-client-timezone'?: string | undefined;
|
1301
|
+
}>>>;
|
1274
1302
|
responses: {
|
1275
1303
|
200: z.ZodObject<{
|
1276
1304
|
requestId: z.ZodString;
|
1305
|
+
} & {
|
1277
1306
|
page: z.ZodNumber;
|
1278
1307
|
pageSize: z.ZodNumber;
|
1279
1308
|
total: z.ZodNumber;
|
@@ -1294,6 +1323,7 @@ export declare const contactContract: {
|
|
1294
1323
|
createdAt: z.ZodDate;
|
1295
1324
|
updatedAt: z.ZodDate;
|
1296
1325
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1326
|
+
} & {
|
1297
1327
|
name: z.ZodString;
|
1298
1328
|
}, "strip", z.ZodTypeAny, {
|
1299
1329
|
name: string;
|
@@ -1313,6 +1343,7 @@ export declare const contactContract: {
|
|
1313
1343
|
createdAt: z.ZodDate;
|
1314
1344
|
updatedAt: z.ZodDate;
|
1315
1345
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1346
|
+
} & {
|
1316
1347
|
name: z.ZodOptional<z.ZodString>;
|
1317
1348
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1318
1349
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1322,6 +1353,7 @@ export declare const contactContract: {
|
|
1322
1353
|
createdAt: z.ZodDate;
|
1323
1354
|
updatedAt: z.ZodDate;
|
1324
1355
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1356
|
+
} & {
|
1325
1357
|
textValue: z.ZodNullable<z.ZodString>;
|
1326
1358
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1327
1359
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -1331,6 +1363,7 @@ export declare const contactContract: {
|
|
1331
1363
|
createdAt: z.ZodDate;
|
1332
1364
|
updatedAt: z.ZodDate;
|
1333
1365
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1366
|
+
} & {
|
1334
1367
|
systemName: z.ZodString;
|
1335
1368
|
displayName: z.ZodString;
|
1336
1369
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1340,10 +1373,11 @@ export declare const contactContract: {
|
|
1340
1373
|
isRequired: z.ZodBoolean;
|
1341
1374
|
isUnique: z.ZodBoolean;
|
1342
1375
|
options: z.ZodArray<z.ZodObject<{
|
1343
|
-
position: z.ZodNumber;
|
1344
|
-
value: z.ZodString;
|
1345
1376
|
label: z.ZodString;
|
1377
|
+
value: z.ZodString;
|
1346
1378
|
isDefault: z.ZodBoolean;
|
1379
|
+
position: z.ZodNumber;
|
1380
|
+
} & {
|
1347
1381
|
id: z.ZodString;
|
1348
1382
|
}, "strip", z.ZodTypeAny, {
|
1349
1383
|
id: string;
|
@@ -1363,6 +1397,7 @@ export declare const contactContract: {
|
|
1363
1397
|
createdAt: z.ZodDate;
|
1364
1398
|
updatedAt: z.ZodDate;
|
1365
1399
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1400
|
+
} & {
|
1366
1401
|
systemName: z.ZodString;
|
1367
1402
|
displayName: z.ZodString;
|
1368
1403
|
}, "strip", z.ZodTypeAny, {
|
@@ -1540,6 +1575,7 @@ export declare const contactContract: {
|
|
1540
1575
|
createdAt: z.ZodDate;
|
1541
1576
|
updatedAt: z.ZodDate;
|
1542
1577
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1578
|
+
} & {
|
1543
1579
|
systemName: z.ZodString;
|
1544
1580
|
displayName: z.ZodString;
|
1545
1581
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1549,10 +1585,11 @@ export declare const contactContract: {
|
|
1549
1585
|
isRequired: z.ZodBoolean;
|
1550
1586
|
isUnique: z.ZodBoolean;
|
1551
1587
|
options: z.ZodArray<z.ZodObject<{
|
1552
|
-
position: z.ZodNumber;
|
1553
|
-
value: z.ZodString;
|
1554
1588
|
label: z.ZodString;
|
1589
|
+
value: z.ZodString;
|
1555
1590
|
isDefault: z.ZodBoolean;
|
1591
|
+
position: z.ZodNumber;
|
1592
|
+
} & {
|
1556
1593
|
id: z.ZodString;
|
1557
1594
|
}, "strip", z.ZodTypeAny, {
|
1558
1595
|
id: string;
|
@@ -1572,6 +1609,7 @@ export declare const contactContract: {
|
|
1572
1609
|
createdAt: z.ZodDate;
|
1573
1610
|
updatedAt: z.ZodDate;
|
1574
1611
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1612
|
+
} & {
|
1575
1613
|
systemName: z.ZodString;
|
1576
1614
|
displayName: z.ZodString;
|
1577
1615
|
}, "strip", z.ZodTypeAny, {
|
@@ -1621,6 +1659,7 @@ export declare const contactContract: {
|
|
1621
1659
|
createdAt: z.ZodDate;
|
1622
1660
|
updatedAt: z.ZodDate;
|
1623
1661
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1662
|
+
} & {
|
1624
1663
|
bucketName: z.ZodString;
|
1625
1664
|
fileName: z.ZodString;
|
1626
1665
|
fileSize: z.ZodNumber;
|
@@ -2337,23 +2376,6 @@ export declare const contactContract: {
|
|
2337
2376
|
error?: any;
|
2338
2377
|
}>;
|
2339
2378
|
};
|
2340
|
-
path: "ccs/api/v1/contact";
|
2341
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2342
|
-
'x-tenant': z.ZodString;
|
2343
|
-
'x-service-token': z.ZodString;
|
2344
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
2345
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2346
|
-
}, "strip", z.ZodTypeAny, {
|
2347
|
-
'x-tenant': string;
|
2348
|
-
'x-service-token': string;
|
2349
|
-
'x-client-timezone': string;
|
2350
|
-
'x-code'?: string | undefined;
|
2351
|
-
}, {
|
2352
|
-
'x-tenant': string;
|
2353
|
-
'x-service-token': string;
|
2354
|
-
'x-code'?: string | undefined;
|
2355
|
-
'x-client-timezone'?: string | undefined;
|
2356
|
-
}>>>;
|
2357
2379
|
};
|
2358
2380
|
filterContacts: {
|
2359
2381
|
summary: "Get all contacts by filtering with only keyword";
|
@@ -2369,23 +2391,41 @@ export declare const contactContract: {
|
|
2369
2391
|
}, "strip", z.ZodTypeAny, {
|
2370
2392
|
page?: number | undefined;
|
2371
2393
|
pageSize?: number | undefined;
|
2372
|
-
keyword?: string | undefined;
|
2373
2394
|
channelType?: string | undefined;
|
2395
|
+
keyword?: string | undefined;
|
2374
2396
|
channelIds?: string[] | undefined;
|
2375
2397
|
withEmail?: boolean | undefined;
|
2376
2398
|
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2377
2399
|
}, {
|
2378
2400
|
page?: number | undefined;
|
2379
2401
|
pageSize?: number | undefined;
|
2380
|
-
keyword?: string | undefined;
|
2381
2402
|
channelType?: string | undefined;
|
2403
|
+
keyword?: string | undefined;
|
2382
2404
|
channelIds?: string[] | undefined;
|
2383
2405
|
withEmail?: boolean | undefined;
|
2384
2406
|
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2385
2407
|
}>;
|
2408
|
+
path: "ccs/api/v1/contact/list";
|
2409
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2410
|
+
'x-tenant': z.ZodString;
|
2411
|
+
'x-service-token': z.ZodString;
|
2412
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2413
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2414
|
+
}, "strip", z.ZodTypeAny, {
|
2415
|
+
'x-tenant': string;
|
2416
|
+
'x-service-token': string;
|
2417
|
+
'x-client-timezone': string;
|
2418
|
+
'x-code'?: string | undefined;
|
2419
|
+
}, {
|
2420
|
+
'x-tenant': string;
|
2421
|
+
'x-service-token': string;
|
2422
|
+
'x-code'?: string | undefined;
|
2423
|
+
'x-client-timezone'?: string | undefined;
|
2424
|
+
}>>>;
|
2386
2425
|
responses: {
|
2387
2426
|
200: z.ZodObject<{
|
2388
2427
|
requestId: z.ZodString;
|
2428
|
+
} & {
|
2389
2429
|
page: z.ZodNumber;
|
2390
2430
|
pageSize: z.ZodNumber;
|
2391
2431
|
total: z.ZodNumber;
|
@@ -2406,6 +2446,7 @@ export declare const contactContract: {
|
|
2406
2446
|
createdAt: z.ZodDate;
|
2407
2447
|
updatedAt: z.ZodDate;
|
2408
2448
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2449
|
+
} & {
|
2409
2450
|
name: z.ZodString;
|
2410
2451
|
}, "strip", z.ZodTypeAny, {
|
2411
2452
|
name: string;
|
@@ -2425,6 +2466,7 @@ export declare const contactContract: {
|
|
2425
2466
|
createdAt: z.ZodDate;
|
2426
2467
|
updatedAt: z.ZodDate;
|
2427
2468
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2469
|
+
} & {
|
2428
2470
|
name: z.ZodOptional<z.ZodString>;
|
2429
2471
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2430
2472
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -2434,6 +2476,7 @@ export declare const contactContract: {
|
|
2434
2476
|
createdAt: z.ZodDate;
|
2435
2477
|
updatedAt: z.ZodDate;
|
2436
2478
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2479
|
+
} & {
|
2437
2480
|
textValue: z.ZodNullable<z.ZodString>;
|
2438
2481
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2439
2482
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -2443,6 +2486,7 @@ export declare const contactContract: {
|
|
2443
2486
|
createdAt: z.ZodDate;
|
2444
2487
|
updatedAt: z.ZodDate;
|
2445
2488
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2489
|
+
} & {
|
2446
2490
|
systemName: z.ZodString;
|
2447
2491
|
displayName: z.ZodString;
|
2448
2492
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2452,10 +2496,11 @@ export declare const contactContract: {
|
|
2452
2496
|
isRequired: z.ZodBoolean;
|
2453
2497
|
isUnique: z.ZodBoolean;
|
2454
2498
|
options: z.ZodArray<z.ZodObject<{
|
2455
|
-
position: z.ZodNumber;
|
2456
|
-
value: z.ZodString;
|
2457
2499
|
label: z.ZodString;
|
2500
|
+
value: z.ZodString;
|
2458
2501
|
isDefault: z.ZodBoolean;
|
2502
|
+
position: z.ZodNumber;
|
2503
|
+
} & {
|
2459
2504
|
id: z.ZodString;
|
2460
2505
|
}, "strip", z.ZodTypeAny, {
|
2461
2506
|
id: string;
|
@@ -2475,6 +2520,7 @@ export declare const contactContract: {
|
|
2475
2520
|
createdAt: z.ZodDate;
|
2476
2521
|
updatedAt: z.ZodDate;
|
2477
2522
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2523
|
+
} & {
|
2478
2524
|
systemName: z.ZodString;
|
2479
2525
|
displayName: z.ZodString;
|
2480
2526
|
}, "strip", z.ZodTypeAny, {
|
@@ -2652,6 +2698,7 @@ export declare const contactContract: {
|
|
2652
2698
|
createdAt: z.ZodDate;
|
2653
2699
|
updatedAt: z.ZodDate;
|
2654
2700
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2701
|
+
} & {
|
2655
2702
|
systemName: z.ZodString;
|
2656
2703
|
displayName: z.ZodString;
|
2657
2704
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2661,10 +2708,11 @@ export declare const contactContract: {
|
|
2661
2708
|
isRequired: z.ZodBoolean;
|
2662
2709
|
isUnique: z.ZodBoolean;
|
2663
2710
|
options: z.ZodArray<z.ZodObject<{
|
2664
|
-
position: z.ZodNumber;
|
2665
|
-
value: z.ZodString;
|
2666
2711
|
label: z.ZodString;
|
2712
|
+
value: z.ZodString;
|
2667
2713
|
isDefault: z.ZodBoolean;
|
2714
|
+
position: z.ZodNumber;
|
2715
|
+
} & {
|
2668
2716
|
id: z.ZodString;
|
2669
2717
|
}, "strip", z.ZodTypeAny, {
|
2670
2718
|
id: string;
|
@@ -2684,6 +2732,7 @@ export declare const contactContract: {
|
|
2684
2732
|
createdAt: z.ZodDate;
|
2685
2733
|
updatedAt: z.ZodDate;
|
2686
2734
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2735
|
+
} & {
|
2687
2736
|
systemName: z.ZodString;
|
2688
2737
|
displayName: z.ZodString;
|
2689
2738
|
}, "strip", z.ZodTypeAny, {
|
@@ -2733,6 +2782,7 @@ export declare const contactContract: {
|
|
2733
2782
|
createdAt: z.ZodDate;
|
2734
2783
|
updatedAt: z.ZodDate;
|
2735
2784
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2785
|
+
} & {
|
2736
2786
|
bucketName: z.ZodString;
|
2737
2787
|
fileName: z.ZodString;
|
2738
2788
|
fileSize: z.ZodNumber;
|
@@ -3449,23 +3499,6 @@ export declare const contactContract: {
|
|
3449
3499
|
error?: any;
|
3450
3500
|
}>;
|
3451
3501
|
};
|
3452
|
-
path: "ccs/api/v1/contact/list";
|
3453
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3454
|
-
'x-tenant': z.ZodString;
|
3455
|
-
'x-service-token': z.ZodString;
|
3456
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
3457
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3458
|
-
}, "strip", z.ZodTypeAny, {
|
3459
|
-
'x-tenant': string;
|
3460
|
-
'x-service-token': string;
|
3461
|
-
'x-client-timezone': string;
|
3462
|
-
'x-code'?: string | undefined;
|
3463
|
-
}, {
|
3464
|
-
'x-tenant': string;
|
3465
|
-
'x-service-token': string;
|
3466
|
-
'x-code'?: string | undefined;
|
3467
|
-
'x-client-timezone'?: string | undefined;
|
3468
|
-
}>>>;
|
3469
3502
|
};
|
3470
3503
|
update: {
|
3471
3504
|
body: z.ZodObject<{
|
@@ -3520,60 +3553,60 @@ export declare const contactContract: {
|
|
3520
3553
|
name?: {
|
3521
3554
|
[x: string]: any;
|
3522
3555
|
} | undefined;
|
3523
|
-
email?: {
|
3524
|
-
[x: string]: any;
|
3525
|
-
} | undefined;
|
3526
3556
|
channel?: {
|
3527
3557
|
[x: string]: any;
|
3528
3558
|
} | undefined;
|
3529
3559
|
address?: {
|
3530
3560
|
[x: string]: any;
|
3531
3561
|
} | undefined;
|
3532
|
-
|
3562
|
+
email?: {
|
3533
3563
|
[x: string]: any;
|
3534
3564
|
} | undefined;
|
3535
|
-
|
3565
|
+
phone?: {
|
3536
3566
|
[x: string]: any;
|
3537
3567
|
} | undefined;
|
3538
|
-
|
3568
|
+
customFields?: {
|
3539
3569
|
[x: string]: any;
|
3540
|
-
} | undefined;
|
3570
|
+
}[] | undefined;
|
3541
3571
|
company?: {
|
3542
3572
|
[x: string]: any;
|
3543
3573
|
} | undefined;
|
3544
|
-
|
3574
|
+
notes?: {
|
3545
3575
|
[x: string]: any;
|
3546
|
-
}
|
3576
|
+
} | undefined;
|
3577
|
+
tags?: {
|
3578
|
+
[x: string]: any;
|
3579
|
+
} | undefined;
|
3547
3580
|
mailRoomId?: string | undefined;
|
3548
3581
|
isTheMailRoomOwner?: boolean | undefined;
|
3549
3582
|
}, {
|
3550
3583
|
name?: {
|
3551
3584
|
[x: string]: any;
|
3552
3585
|
} | undefined;
|
3553
|
-
email?: {
|
3554
|
-
[x: string]: any;
|
3555
|
-
} | undefined;
|
3556
3586
|
channel?: {
|
3557
3587
|
[x: string]: any;
|
3558
3588
|
} | undefined;
|
3559
3589
|
address?: {
|
3560
3590
|
[x: string]: any;
|
3561
3591
|
} | undefined;
|
3562
|
-
|
3592
|
+
email?: {
|
3563
3593
|
[x: string]: any;
|
3564
3594
|
} | undefined;
|
3565
|
-
|
3595
|
+
phone?: {
|
3566
3596
|
[x: string]: any;
|
3567
3597
|
} | undefined;
|
3568
|
-
|
3598
|
+
customFields?: {
|
3569
3599
|
[x: string]: any;
|
3570
|
-
} | undefined;
|
3600
|
+
}[] | undefined;
|
3571
3601
|
company?: {
|
3572
3602
|
[x: string]: any;
|
3573
3603
|
} | undefined;
|
3574
|
-
|
3604
|
+
notes?: {
|
3575
3605
|
[x: string]: any;
|
3576
|
-
}
|
3606
|
+
} | undefined;
|
3607
|
+
tags?: {
|
3608
|
+
[x: string]: any;
|
3609
|
+
} | undefined;
|
3577
3610
|
mailRoomId?: string | undefined;
|
3578
3611
|
isTheMailRoomOwner?: boolean | undefined;
|
3579
3612
|
}>;
|
@@ -3586,9 +3619,27 @@ export declare const contactContract: {
|
|
3586
3619
|
}, {
|
3587
3620
|
id: string;
|
3588
3621
|
}>;
|
3622
|
+
path: "ccs/api/v1/contact/:id";
|
3623
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3624
|
+
'x-tenant': z.ZodString;
|
3625
|
+
'x-service-token': z.ZodString;
|
3626
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3627
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
3629
|
+
'x-tenant': string;
|
3630
|
+
'x-service-token': string;
|
3631
|
+
'x-client-timezone': string;
|
3632
|
+
'x-code'?: string | undefined;
|
3633
|
+
}, {
|
3634
|
+
'x-tenant': string;
|
3635
|
+
'x-service-token': string;
|
3636
|
+
'x-code'?: string | undefined;
|
3637
|
+
'x-client-timezone'?: string | undefined;
|
3638
|
+
}>>>;
|
3589
3639
|
responses: {
|
3590
3640
|
200: z.ZodObject<{
|
3591
3641
|
requestId: z.ZodString;
|
3642
|
+
} & {
|
3592
3643
|
data: z.ZodObject<{
|
3593
3644
|
id: z.ZodString;
|
3594
3645
|
createdAt: z.ZodDate;
|
@@ -3605,6 +3656,7 @@ export declare const contactContract: {
|
|
3605
3656
|
createdAt: z.ZodDate;
|
3606
3657
|
updatedAt: z.ZodDate;
|
3607
3658
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3659
|
+
} & {
|
3608
3660
|
name: z.ZodString;
|
3609
3661
|
}, "strip", z.ZodTypeAny, {
|
3610
3662
|
name: string;
|
@@ -3624,6 +3676,7 @@ export declare const contactContract: {
|
|
3624
3676
|
createdAt: z.ZodDate;
|
3625
3677
|
updatedAt: z.ZodDate;
|
3626
3678
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3679
|
+
} & {
|
3627
3680
|
name: z.ZodOptional<z.ZodString>;
|
3628
3681
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3629
3682
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -3633,6 +3686,7 @@ export declare const contactContract: {
|
|
3633
3686
|
createdAt: z.ZodDate;
|
3634
3687
|
updatedAt: z.ZodDate;
|
3635
3688
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3689
|
+
} & {
|
3636
3690
|
textValue: z.ZodNullable<z.ZodString>;
|
3637
3691
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3638
3692
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -3642,6 +3696,7 @@ export declare const contactContract: {
|
|
3642
3696
|
createdAt: z.ZodDate;
|
3643
3697
|
updatedAt: z.ZodDate;
|
3644
3698
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3699
|
+
} & {
|
3645
3700
|
systemName: z.ZodString;
|
3646
3701
|
displayName: z.ZodString;
|
3647
3702
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3651,10 +3706,11 @@ export declare const contactContract: {
|
|
3651
3706
|
isRequired: z.ZodBoolean;
|
3652
3707
|
isUnique: z.ZodBoolean;
|
3653
3708
|
options: z.ZodArray<z.ZodObject<{
|
3654
|
-
position: z.ZodNumber;
|
3655
|
-
value: z.ZodString;
|
3656
3709
|
label: z.ZodString;
|
3710
|
+
value: z.ZodString;
|
3657
3711
|
isDefault: z.ZodBoolean;
|
3712
|
+
position: z.ZodNumber;
|
3713
|
+
} & {
|
3658
3714
|
id: z.ZodString;
|
3659
3715
|
}, "strip", z.ZodTypeAny, {
|
3660
3716
|
id: string;
|
@@ -3674,6 +3730,7 @@ export declare const contactContract: {
|
|
3674
3730
|
createdAt: z.ZodDate;
|
3675
3731
|
updatedAt: z.ZodDate;
|
3676
3732
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3733
|
+
} & {
|
3677
3734
|
systemName: z.ZodString;
|
3678
3735
|
displayName: z.ZodString;
|
3679
3736
|
}, "strip", z.ZodTypeAny, {
|
@@ -3851,6 +3908,7 @@ export declare const contactContract: {
|
|
3851
3908
|
createdAt: z.ZodDate;
|
3852
3909
|
updatedAt: z.ZodDate;
|
3853
3910
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3911
|
+
} & {
|
3854
3912
|
systemName: z.ZodString;
|
3855
3913
|
displayName: z.ZodString;
|
3856
3914
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3860,10 +3918,11 @@ export declare const contactContract: {
|
|
3860
3918
|
isRequired: z.ZodBoolean;
|
3861
3919
|
isUnique: z.ZodBoolean;
|
3862
3920
|
options: z.ZodArray<z.ZodObject<{
|
3863
|
-
position: z.ZodNumber;
|
3864
|
-
value: z.ZodString;
|
3865
3921
|
label: z.ZodString;
|
3922
|
+
value: z.ZodString;
|
3866
3923
|
isDefault: z.ZodBoolean;
|
3924
|
+
position: z.ZodNumber;
|
3925
|
+
} & {
|
3867
3926
|
id: z.ZodString;
|
3868
3927
|
}, "strip", z.ZodTypeAny, {
|
3869
3928
|
id: string;
|
@@ -3883,6 +3942,7 @@ export declare const contactContract: {
|
|
3883
3942
|
createdAt: z.ZodDate;
|
3884
3943
|
updatedAt: z.ZodDate;
|
3885
3944
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3945
|
+
} & {
|
3886
3946
|
systemName: z.ZodString;
|
3887
3947
|
displayName: z.ZodString;
|
3888
3948
|
}, "strip", z.ZodTypeAny, {
|
@@ -3932,6 +3992,7 @@ export declare const contactContract: {
|
|
3932
3992
|
createdAt: z.ZodDate;
|
3933
3993
|
updatedAt: z.ZodDate;
|
3934
3994
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3995
|
+
} & {
|
3935
3996
|
bucketName: z.ZodString;
|
3936
3997
|
fileName: z.ZodString;
|
3937
3998
|
fileSize: z.ZodNumber;
|
@@ -4640,6 +4701,18 @@ export declare const contactContract: {
|
|
4640
4701
|
error?: any;
|
4641
4702
|
}>;
|
4642
4703
|
};
|
4704
|
+
};
|
4705
|
+
delete: {
|
4706
|
+
body: null;
|
4707
|
+
summary: "Delete a contact";
|
4708
|
+
method: "DELETE";
|
4709
|
+
pathParams: z.ZodObject<{
|
4710
|
+
id: z.ZodString;
|
4711
|
+
}, "strip", z.ZodTypeAny, {
|
4712
|
+
id: string;
|
4713
|
+
}, {
|
4714
|
+
id: string;
|
4715
|
+
}>;
|
4643
4716
|
path: "ccs/api/v1/contact/:id";
|
4644
4717
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4645
4718
|
'x-tenant': z.ZodString;
|
@@ -4657,21 +4730,10 @@ export declare const contactContract: {
|
|
4657
4730
|
'x-code'?: string | undefined;
|
4658
4731
|
'x-client-timezone'?: string | undefined;
|
4659
4732
|
}>>>;
|
4660
|
-
};
|
4661
|
-
delete: {
|
4662
|
-
body: null;
|
4663
|
-
summary: "Delete a contact";
|
4664
|
-
method: "DELETE";
|
4665
|
-
pathParams: z.ZodObject<{
|
4666
|
-
id: z.ZodString;
|
4667
|
-
}, "strip", z.ZodTypeAny, {
|
4668
|
-
id: string;
|
4669
|
-
}, {
|
4670
|
-
id: string;
|
4671
|
-
}>;
|
4672
4733
|
responses: {
|
4673
4734
|
200: z.ZodObject<{
|
4674
4735
|
requestId: z.ZodString;
|
4736
|
+
} & {
|
4675
4737
|
message: z.ZodString;
|
4676
4738
|
}, "strip", z.ZodTypeAny, {
|
4677
4739
|
message: string;
|
@@ -4732,11 +4794,22 @@ export declare const contactContract: {
|
|
4732
4794
|
error?: any;
|
4733
4795
|
}>;
|
4734
4796
|
};
|
4735
|
-
|
4736
|
-
|
4737
|
-
|
4738
|
-
|
4739
|
-
|
4797
|
+
};
|
4798
|
+
createContactByPhone: {
|
4799
|
+
body: z.ZodObject<{
|
4800
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
4801
|
+
}, "strip", z.ZodTypeAny, {
|
4802
|
+
phoneNumber: string;
|
4803
|
+
}, {
|
4804
|
+
phoneNumber: string;
|
4805
|
+
}>;
|
4806
|
+
summary: "Create a new contact using phone number";
|
4807
|
+
method: "POST";
|
4808
|
+
path: "ccs/api/v1/contact/phone";
|
4809
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4810
|
+
'x-tenant': z.ZodString;
|
4811
|
+
'x-service-token': z.ZodString;
|
4812
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4740
4813
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4741
4814
|
}, "strip", z.ZodTypeAny, {
|
4742
4815
|
'x-tenant': string;
|
@@ -4749,20 +4822,10 @@ export declare const contactContract: {
|
|
4749
4822
|
'x-code'?: string | undefined;
|
4750
4823
|
'x-client-timezone'?: string | undefined;
|
4751
4824
|
}>>>;
|
4752
|
-
};
|
4753
|
-
createContactByPhone: {
|
4754
|
-
body: z.ZodObject<{
|
4755
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
4756
|
-
}, "strip", z.ZodTypeAny, {
|
4757
|
-
phoneNumber: string;
|
4758
|
-
}, {
|
4759
|
-
phoneNumber: string;
|
4760
|
-
}>;
|
4761
|
-
summary: "Create a new contact using phone number";
|
4762
|
-
method: "POST";
|
4763
4825
|
responses: {
|
4764
4826
|
201: z.ZodObject<{
|
4765
4827
|
requestId: z.ZodString;
|
4828
|
+
} & {
|
4766
4829
|
data: z.ZodObject<{
|
4767
4830
|
id: z.ZodString;
|
4768
4831
|
createdAt: z.ZodDate;
|
@@ -4779,6 +4842,7 @@ export declare const contactContract: {
|
|
4779
4842
|
createdAt: z.ZodDate;
|
4780
4843
|
updatedAt: z.ZodDate;
|
4781
4844
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4845
|
+
} & {
|
4782
4846
|
name: z.ZodString;
|
4783
4847
|
}, "strip", z.ZodTypeAny, {
|
4784
4848
|
name: string;
|
@@ -4798,6 +4862,7 @@ export declare const contactContract: {
|
|
4798
4862
|
createdAt: z.ZodDate;
|
4799
4863
|
updatedAt: z.ZodDate;
|
4800
4864
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4865
|
+
} & {
|
4801
4866
|
name: z.ZodOptional<z.ZodString>;
|
4802
4867
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4803
4868
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -4807,6 +4872,7 @@ export declare const contactContract: {
|
|
4807
4872
|
createdAt: z.ZodDate;
|
4808
4873
|
updatedAt: z.ZodDate;
|
4809
4874
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4875
|
+
} & {
|
4810
4876
|
textValue: z.ZodNullable<z.ZodString>;
|
4811
4877
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4812
4878
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -4816,6 +4882,7 @@ export declare const contactContract: {
|
|
4816
4882
|
createdAt: z.ZodDate;
|
4817
4883
|
updatedAt: z.ZodDate;
|
4818
4884
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4885
|
+
} & {
|
4819
4886
|
systemName: z.ZodString;
|
4820
4887
|
displayName: z.ZodString;
|
4821
4888
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4825,10 +4892,11 @@ export declare const contactContract: {
|
|
4825
4892
|
isRequired: z.ZodBoolean;
|
4826
4893
|
isUnique: z.ZodBoolean;
|
4827
4894
|
options: z.ZodArray<z.ZodObject<{
|
4828
|
-
position: z.ZodNumber;
|
4829
|
-
value: z.ZodString;
|
4830
4895
|
label: z.ZodString;
|
4896
|
+
value: z.ZodString;
|
4831
4897
|
isDefault: z.ZodBoolean;
|
4898
|
+
position: z.ZodNumber;
|
4899
|
+
} & {
|
4832
4900
|
id: z.ZodString;
|
4833
4901
|
}, "strip", z.ZodTypeAny, {
|
4834
4902
|
id: string;
|
@@ -4848,6 +4916,7 @@ export declare const contactContract: {
|
|
4848
4916
|
createdAt: z.ZodDate;
|
4849
4917
|
updatedAt: z.ZodDate;
|
4850
4918
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4919
|
+
} & {
|
4851
4920
|
systemName: z.ZodString;
|
4852
4921
|
displayName: z.ZodString;
|
4853
4922
|
}, "strip", z.ZodTypeAny, {
|
@@ -5025,6 +5094,7 @@ export declare const contactContract: {
|
|
5025
5094
|
createdAt: z.ZodDate;
|
5026
5095
|
updatedAt: z.ZodDate;
|
5027
5096
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5097
|
+
} & {
|
5028
5098
|
systemName: z.ZodString;
|
5029
5099
|
displayName: z.ZodString;
|
5030
5100
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5034,10 +5104,11 @@ export declare const contactContract: {
|
|
5034
5104
|
isRequired: z.ZodBoolean;
|
5035
5105
|
isUnique: z.ZodBoolean;
|
5036
5106
|
options: z.ZodArray<z.ZodObject<{
|
5037
|
-
position: z.ZodNumber;
|
5038
|
-
value: z.ZodString;
|
5039
5107
|
label: z.ZodString;
|
5108
|
+
value: z.ZodString;
|
5040
5109
|
isDefault: z.ZodBoolean;
|
5110
|
+
position: z.ZodNumber;
|
5111
|
+
} & {
|
5041
5112
|
id: z.ZodString;
|
5042
5113
|
}, "strip", z.ZodTypeAny, {
|
5043
5114
|
id: string;
|
@@ -5057,6 +5128,7 @@ export declare const contactContract: {
|
|
5057
5128
|
createdAt: z.ZodDate;
|
5058
5129
|
updatedAt: z.ZodDate;
|
5059
5130
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5131
|
+
} & {
|
5060
5132
|
systemName: z.ZodString;
|
5061
5133
|
displayName: z.ZodString;
|
5062
5134
|
}, "strip", z.ZodTypeAny, {
|
@@ -5106,6 +5178,7 @@ export declare const contactContract: {
|
|
5106
5178
|
createdAt: z.ZodDate;
|
5107
5179
|
updatedAt: z.ZodDate;
|
5108
5180
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5181
|
+
} & {
|
5109
5182
|
bucketName: z.ZodString;
|
5110
5183
|
fileName: z.ZodString;
|
5111
5184
|
fileSize: z.ZodNumber;
|
@@ -5814,23 +5887,6 @@ export declare const contactContract: {
|
|
5814
5887
|
error?: any;
|
5815
5888
|
}>;
|
5816
5889
|
};
|
5817
|
-
path: "ccs/api/v1/contact/phone";
|
5818
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5819
|
-
'x-tenant': z.ZodString;
|
5820
|
-
'x-service-token': z.ZodString;
|
5821
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
5822
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5823
|
-
}, "strip", z.ZodTypeAny, {
|
5824
|
-
'x-tenant': string;
|
5825
|
-
'x-service-token': string;
|
5826
|
-
'x-client-timezone': string;
|
5827
|
-
'x-code'?: string | undefined;
|
5828
|
-
}, {
|
5829
|
-
'x-tenant': string;
|
5830
|
-
'x-service-token': string;
|
5831
|
-
'x-code'?: string | undefined;
|
5832
|
-
'x-client-timezone'?: string | undefined;
|
5833
|
-
}>>>;
|
5834
5890
|
};
|
5835
5891
|
createContactPlatform: {
|
5836
5892
|
body: z.ZodObject<{
|
@@ -5851,9 +5907,27 @@ export declare const contactContract: {
|
|
5851
5907
|
}>;
|
5852
5908
|
summary: "Create a new contact and platform contact for sms ";
|
5853
5909
|
method: "POST";
|
5910
|
+
path: "ccs/api/v1/contact/platform-contact";
|
5911
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5912
|
+
'x-tenant': z.ZodString;
|
5913
|
+
'x-service-token': z.ZodString;
|
5914
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5915
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5916
|
+
}, "strip", z.ZodTypeAny, {
|
5917
|
+
'x-tenant': string;
|
5918
|
+
'x-service-token': string;
|
5919
|
+
'x-client-timezone': string;
|
5920
|
+
'x-code'?: string | undefined;
|
5921
|
+
}, {
|
5922
|
+
'x-tenant': string;
|
5923
|
+
'x-service-token': string;
|
5924
|
+
'x-code'?: string | undefined;
|
5925
|
+
'x-client-timezone'?: string | undefined;
|
5926
|
+
}>>>;
|
5854
5927
|
responses: {
|
5855
5928
|
200: z.ZodObject<{
|
5856
5929
|
requestId: z.ZodString;
|
5930
|
+
} & {
|
5857
5931
|
data: z.ZodObject<{
|
5858
5932
|
id: z.ZodString;
|
5859
5933
|
createdAt: z.ZodDate;
|
@@ -5870,6 +5944,7 @@ export declare const contactContract: {
|
|
5870
5944
|
createdAt: z.ZodDate;
|
5871
5945
|
updatedAt: z.ZodDate;
|
5872
5946
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5947
|
+
} & {
|
5873
5948
|
name: z.ZodString;
|
5874
5949
|
}, "strip", z.ZodTypeAny, {
|
5875
5950
|
name: string;
|
@@ -5889,6 +5964,7 @@ export declare const contactContract: {
|
|
5889
5964
|
createdAt: z.ZodDate;
|
5890
5965
|
updatedAt: z.ZodDate;
|
5891
5966
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5967
|
+
} & {
|
5892
5968
|
name: z.ZodOptional<z.ZodString>;
|
5893
5969
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5894
5970
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -5898,6 +5974,7 @@ export declare const contactContract: {
|
|
5898
5974
|
createdAt: z.ZodDate;
|
5899
5975
|
updatedAt: z.ZodDate;
|
5900
5976
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5977
|
+
} & {
|
5901
5978
|
textValue: z.ZodNullable<z.ZodString>;
|
5902
5979
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5903
5980
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -5907,6 +5984,7 @@ export declare const contactContract: {
|
|
5907
5984
|
createdAt: z.ZodDate;
|
5908
5985
|
updatedAt: z.ZodDate;
|
5909
5986
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5987
|
+
} & {
|
5910
5988
|
systemName: z.ZodString;
|
5911
5989
|
displayName: z.ZodString;
|
5912
5990
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5916,10 +5994,11 @@ export declare const contactContract: {
|
|
5916
5994
|
isRequired: z.ZodBoolean;
|
5917
5995
|
isUnique: z.ZodBoolean;
|
5918
5996
|
options: z.ZodArray<z.ZodObject<{
|
5919
|
-
position: z.ZodNumber;
|
5920
|
-
value: z.ZodString;
|
5921
5997
|
label: z.ZodString;
|
5998
|
+
value: z.ZodString;
|
5922
5999
|
isDefault: z.ZodBoolean;
|
6000
|
+
position: z.ZodNumber;
|
6001
|
+
} & {
|
5923
6002
|
id: z.ZodString;
|
5924
6003
|
}, "strip", z.ZodTypeAny, {
|
5925
6004
|
id: string;
|
@@ -5939,6 +6018,7 @@ export declare const contactContract: {
|
|
5939
6018
|
createdAt: z.ZodDate;
|
5940
6019
|
updatedAt: z.ZodDate;
|
5941
6020
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6021
|
+
} & {
|
5942
6022
|
systemName: z.ZodString;
|
5943
6023
|
displayName: z.ZodString;
|
5944
6024
|
}, "strip", z.ZodTypeAny, {
|
@@ -6116,6 +6196,7 @@ export declare const contactContract: {
|
|
6116
6196
|
createdAt: z.ZodDate;
|
6117
6197
|
updatedAt: z.ZodDate;
|
6118
6198
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6199
|
+
} & {
|
6119
6200
|
systemName: z.ZodString;
|
6120
6201
|
displayName: z.ZodString;
|
6121
6202
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6125,10 +6206,11 @@ export declare const contactContract: {
|
|
6125
6206
|
isRequired: z.ZodBoolean;
|
6126
6207
|
isUnique: z.ZodBoolean;
|
6127
6208
|
options: z.ZodArray<z.ZodObject<{
|
6128
|
-
position: z.ZodNumber;
|
6129
|
-
value: z.ZodString;
|
6130
6209
|
label: z.ZodString;
|
6210
|
+
value: z.ZodString;
|
6131
6211
|
isDefault: z.ZodBoolean;
|
6212
|
+
position: z.ZodNumber;
|
6213
|
+
} & {
|
6132
6214
|
id: z.ZodString;
|
6133
6215
|
}, "strip", z.ZodTypeAny, {
|
6134
6216
|
id: string;
|
@@ -6148,6 +6230,7 @@ export declare const contactContract: {
|
|
6148
6230
|
createdAt: z.ZodDate;
|
6149
6231
|
updatedAt: z.ZodDate;
|
6150
6232
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6233
|
+
} & {
|
6151
6234
|
systemName: z.ZodString;
|
6152
6235
|
displayName: z.ZodString;
|
6153
6236
|
}, "strip", z.ZodTypeAny, {
|
@@ -6197,6 +6280,7 @@ export declare const contactContract: {
|
|
6197
6280
|
createdAt: z.ZodDate;
|
6198
6281
|
updatedAt: z.ZodDate;
|
6199
6282
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6283
|
+
} & {
|
6200
6284
|
bucketName: z.ZodString;
|
6201
6285
|
fileName: z.ZodString;
|
6202
6286
|
fileSize: z.ZodNumber;
|
@@ -6855,6 +6939,7 @@ export declare const contactContract: {
|
|
6855
6939
|
}>;
|
6856
6940
|
201: z.ZodObject<{
|
6857
6941
|
requestId: z.ZodString;
|
6942
|
+
} & {
|
6858
6943
|
data: z.ZodObject<{
|
6859
6944
|
id: z.ZodString;
|
6860
6945
|
createdAt: z.ZodDate;
|
@@ -6871,6 +6956,7 @@ export declare const contactContract: {
|
|
6871
6956
|
createdAt: z.ZodDate;
|
6872
6957
|
updatedAt: z.ZodDate;
|
6873
6958
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6959
|
+
} & {
|
6874
6960
|
name: z.ZodString;
|
6875
6961
|
}, "strip", z.ZodTypeAny, {
|
6876
6962
|
name: string;
|
@@ -6890,6 +6976,7 @@ export declare const contactContract: {
|
|
6890
6976
|
createdAt: z.ZodDate;
|
6891
6977
|
updatedAt: z.ZodDate;
|
6892
6978
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6979
|
+
} & {
|
6893
6980
|
name: z.ZodOptional<z.ZodString>;
|
6894
6981
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6895
6982
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -6899,6 +6986,7 @@ export declare const contactContract: {
|
|
6899
6986
|
createdAt: z.ZodDate;
|
6900
6987
|
updatedAt: z.ZodDate;
|
6901
6988
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6989
|
+
} & {
|
6902
6990
|
textValue: z.ZodNullable<z.ZodString>;
|
6903
6991
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6904
6992
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -6908,6 +6996,7 @@ export declare const contactContract: {
|
|
6908
6996
|
createdAt: z.ZodDate;
|
6909
6997
|
updatedAt: z.ZodDate;
|
6910
6998
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6999
|
+
} & {
|
6911
7000
|
systemName: z.ZodString;
|
6912
7001
|
displayName: z.ZodString;
|
6913
7002
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6917,10 +7006,11 @@ export declare const contactContract: {
|
|
6917
7006
|
isRequired: z.ZodBoolean;
|
6918
7007
|
isUnique: z.ZodBoolean;
|
6919
7008
|
options: z.ZodArray<z.ZodObject<{
|
6920
|
-
position: z.ZodNumber;
|
6921
|
-
value: z.ZodString;
|
6922
7009
|
label: z.ZodString;
|
7010
|
+
value: z.ZodString;
|
6923
7011
|
isDefault: z.ZodBoolean;
|
7012
|
+
position: z.ZodNumber;
|
7013
|
+
} & {
|
6924
7014
|
id: z.ZodString;
|
6925
7015
|
}, "strip", z.ZodTypeAny, {
|
6926
7016
|
id: string;
|
@@ -6940,6 +7030,7 @@ export declare const contactContract: {
|
|
6940
7030
|
createdAt: z.ZodDate;
|
6941
7031
|
updatedAt: z.ZodDate;
|
6942
7032
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7033
|
+
} & {
|
6943
7034
|
systemName: z.ZodString;
|
6944
7035
|
displayName: z.ZodString;
|
6945
7036
|
}, "strip", z.ZodTypeAny, {
|
@@ -7117,6 +7208,7 @@ export declare const contactContract: {
|
|
7117
7208
|
createdAt: z.ZodDate;
|
7118
7209
|
updatedAt: z.ZodDate;
|
7119
7210
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7211
|
+
} & {
|
7120
7212
|
systemName: z.ZodString;
|
7121
7213
|
displayName: z.ZodString;
|
7122
7214
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -7126,10 +7218,11 @@ export declare const contactContract: {
|
|
7126
7218
|
isRequired: z.ZodBoolean;
|
7127
7219
|
isUnique: z.ZodBoolean;
|
7128
7220
|
options: z.ZodArray<z.ZodObject<{
|
7129
|
-
position: z.ZodNumber;
|
7130
|
-
value: z.ZodString;
|
7131
7221
|
label: z.ZodString;
|
7222
|
+
value: z.ZodString;
|
7132
7223
|
isDefault: z.ZodBoolean;
|
7224
|
+
position: z.ZodNumber;
|
7225
|
+
} & {
|
7133
7226
|
id: z.ZodString;
|
7134
7227
|
}, "strip", z.ZodTypeAny, {
|
7135
7228
|
id: string;
|
@@ -7149,6 +7242,7 @@ export declare const contactContract: {
|
|
7149
7242
|
createdAt: z.ZodDate;
|
7150
7243
|
updatedAt: z.ZodDate;
|
7151
7244
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7245
|
+
} & {
|
7152
7246
|
systemName: z.ZodString;
|
7153
7247
|
displayName: z.ZodString;
|
7154
7248
|
}, "strip", z.ZodTypeAny, {
|
@@ -7198,6 +7292,7 @@ export declare const contactContract: {
|
|
7198
7292
|
createdAt: z.ZodDate;
|
7199
7293
|
updatedAt: z.ZodDate;
|
7200
7294
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7295
|
+
} & {
|
7201
7296
|
bucketName: z.ZodString;
|
7202
7297
|
fileName: z.ZodString;
|
7203
7298
|
fileSize: z.ZodNumber;
|
@@ -7906,7 +8001,21 @@ export declare const contactContract: {
|
|
7906
8001
|
error?: any;
|
7907
8002
|
}>;
|
7908
8003
|
};
|
7909
|
-
|
8004
|
+
};
|
8005
|
+
updateFromOngoingCall: {
|
8006
|
+
body: z.ZodObject<{
|
8007
|
+
name: z.ZodOptional<z.ZodString>;
|
8008
|
+
companyId: z.ZodOptional<z.ZodString>;
|
8009
|
+
}, "strip", z.ZodTypeAny, {
|
8010
|
+
name?: string | undefined;
|
8011
|
+
companyId?: string | undefined;
|
8012
|
+
}, {
|
8013
|
+
name?: string | undefined;
|
8014
|
+
companyId?: string | undefined;
|
8015
|
+
}>;
|
8016
|
+
summary: "Update a contact with name and company while making ongoing call";
|
8017
|
+
method: "PATCH";
|
8018
|
+
path: "ccs/api/v1/contact/:id/ongoing";
|
7910
8019
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7911
8020
|
'x-tenant': z.ZodString;
|
7912
8021
|
'x-service-token': z.ZodString;
|
@@ -7923,23 +8032,10 @@ export declare const contactContract: {
|
|
7923
8032
|
'x-code'?: string | undefined;
|
7924
8033
|
'x-client-timezone'?: string | undefined;
|
7925
8034
|
}>>>;
|
7926
|
-
};
|
7927
|
-
updateFromOngoingCall: {
|
7928
|
-
body: z.ZodObject<{
|
7929
|
-
name: z.ZodOptional<z.ZodString>;
|
7930
|
-
companyId: z.ZodOptional<z.ZodString>;
|
7931
|
-
}, "strip", z.ZodTypeAny, {
|
7932
|
-
name?: string | undefined;
|
7933
|
-
companyId?: string | undefined;
|
7934
|
-
}, {
|
7935
|
-
name?: string | undefined;
|
7936
|
-
companyId?: string | undefined;
|
7937
|
-
}>;
|
7938
|
-
summary: "Update a contact with name and company while making ongoing call";
|
7939
|
-
method: "PATCH";
|
7940
8035
|
responses: {
|
7941
8036
|
201: z.ZodObject<{
|
7942
8037
|
requestId: z.ZodString;
|
8038
|
+
} & {
|
7943
8039
|
data: z.ZodObject<{
|
7944
8040
|
id: z.ZodString;
|
7945
8041
|
createdAt: z.ZodDate;
|
@@ -7956,6 +8052,7 @@ export declare const contactContract: {
|
|
7956
8052
|
createdAt: z.ZodDate;
|
7957
8053
|
updatedAt: z.ZodDate;
|
7958
8054
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8055
|
+
} & {
|
7959
8056
|
name: z.ZodString;
|
7960
8057
|
}, "strip", z.ZodTypeAny, {
|
7961
8058
|
name: string;
|
@@ -7975,6 +8072,7 @@ export declare const contactContract: {
|
|
7975
8072
|
createdAt: z.ZodDate;
|
7976
8073
|
updatedAt: z.ZodDate;
|
7977
8074
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8075
|
+
} & {
|
7978
8076
|
name: z.ZodOptional<z.ZodString>;
|
7979
8077
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7980
8078
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -7984,6 +8082,7 @@ export declare const contactContract: {
|
|
7984
8082
|
createdAt: z.ZodDate;
|
7985
8083
|
updatedAt: z.ZodDate;
|
7986
8084
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8085
|
+
} & {
|
7987
8086
|
textValue: z.ZodNullable<z.ZodString>;
|
7988
8087
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
7989
8088
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -7993,6 +8092,7 @@ export declare const contactContract: {
|
|
7993
8092
|
createdAt: z.ZodDate;
|
7994
8093
|
updatedAt: z.ZodDate;
|
7995
8094
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8095
|
+
} & {
|
7996
8096
|
systemName: z.ZodString;
|
7997
8097
|
displayName: z.ZodString;
|
7998
8098
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -8002,10 +8102,11 @@ export declare const contactContract: {
|
|
8002
8102
|
isRequired: z.ZodBoolean;
|
8003
8103
|
isUnique: z.ZodBoolean;
|
8004
8104
|
options: z.ZodArray<z.ZodObject<{
|
8005
|
-
position: z.ZodNumber;
|
8006
|
-
value: z.ZodString;
|
8007
8105
|
label: z.ZodString;
|
8106
|
+
value: z.ZodString;
|
8008
8107
|
isDefault: z.ZodBoolean;
|
8108
|
+
position: z.ZodNumber;
|
8109
|
+
} & {
|
8009
8110
|
id: z.ZodString;
|
8010
8111
|
}, "strip", z.ZodTypeAny, {
|
8011
8112
|
id: string;
|
@@ -8025,6 +8126,7 @@ export declare const contactContract: {
|
|
8025
8126
|
createdAt: z.ZodDate;
|
8026
8127
|
updatedAt: z.ZodDate;
|
8027
8128
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8129
|
+
} & {
|
8028
8130
|
systemName: z.ZodString;
|
8029
8131
|
displayName: z.ZodString;
|
8030
8132
|
}, "strip", z.ZodTypeAny, {
|
@@ -8202,6 +8304,7 @@ export declare const contactContract: {
|
|
8202
8304
|
createdAt: z.ZodDate;
|
8203
8305
|
updatedAt: z.ZodDate;
|
8204
8306
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8307
|
+
} & {
|
8205
8308
|
systemName: z.ZodString;
|
8206
8309
|
displayName: z.ZodString;
|
8207
8310
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -8211,10 +8314,11 @@ export declare const contactContract: {
|
|
8211
8314
|
isRequired: z.ZodBoolean;
|
8212
8315
|
isUnique: z.ZodBoolean;
|
8213
8316
|
options: z.ZodArray<z.ZodObject<{
|
8214
|
-
position: z.ZodNumber;
|
8215
|
-
value: z.ZodString;
|
8216
8317
|
label: z.ZodString;
|
8318
|
+
value: z.ZodString;
|
8217
8319
|
isDefault: z.ZodBoolean;
|
8320
|
+
position: z.ZodNumber;
|
8321
|
+
} & {
|
8218
8322
|
id: z.ZodString;
|
8219
8323
|
}, "strip", z.ZodTypeAny, {
|
8220
8324
|
id: string;
|
@@ -8234,6 +8338,7 @@ export declare const contactContract: {
|
|
8234
8338
|
createdAt: z.ZodDate;
|
8235
8339
|
updatedAt: z.ZodDate;
|
8236
8340
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8341
|
+
} & {
|
8237
8342
|
systemName: z.ZodString;
|
8238
8343
|
displayName: z.ZodString;
|
8239
8344
|
}, "strip", z.ZodTypeAny, {
|
@@ -8283,6 +8388,7 @@ export declare const contactContract: {
|
|
8283
8388
|
createdAt: z.ZodDate;
|
8284
8389
|
updatedAt: z.ZodDate;
|
8285
8390
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8391
|
+
} & {
|
8286
8392
|
bucketName: z.ZodString;
|
8287
8393
|
fileName: z.ZodString;
|
8288
8394
|
fileSize: z.ZodNumber;
|
@@ -8991,23 +9097,6 @@ export declare const contactContract: {
|
|
8991
9097
|
error?: any;
|
8992
9098
|
}>;
|
8993
9099
|
};
|
8994
|
-
path: "ccs/api/v1/contact/:id/ongoing";
|
8995
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8996
|
-
'x-tenant': z.ZodString;
|
8997
|
-
'x-service-token': z.ZodString;
|
8998
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
8999
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9000
|
-
}, "strip", z.ZodTypeAny, {
|
9001
|
-
'x-tenant': string;
|
9002
|
-
'x-service-token': string;
|
9003
|
-
'x-client-timezone': string;
|
9004
|
-
'x-code'?: string | undefined;
|
9005
|
-
}, {
|
9006
|
-
'x-tenant': string;
|
9007
|
-
'x-service-token': string;
|
9008
|
-
'x-code'?: string | undefined;
|
9009
|
-
'x-client-timezone'?: string | undefined;
|
9010
|
-
}>>>;
|
9011
9100
|
};
|
9012
9101
|
merge: {
|
9013
9102
|
body: z.ZodObject<{
|
@@ -9084,9 +9173,27 @@ export declare const contactContract: {
|
|
9084
9173
|
}>;
|
9085
9174
|
summary: "Merge contacts into a single contact.";
|
9086
9175
|
method: "POST";
|
9176
|
+
path: "ccs/api/v1/contact/merge";
|
9177
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9178
|
+
'x-tenant': z.ZodString;
|
9179
|
+
'x-service-token': z.ZodString;
|
9180
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
9181
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9182
|
+
}, "strip", z.ZodTypeAny, {
|
9183
|
+
'x-tenant': string;
|
9184
|
+
'x-service-token': string;
|
9185
|
+
'x-client-timezone': string;
|
9186
|
+
'x-code'?: string | undefined;
|
9187
|
+
}, {
|
9188
|
+
'x-tenant': string;
|
9189
|
+
'x-service-token': string;
|
9190
|
+
'x-code'?: string | undefined;
|
9191
|
+
'x-client-timezone'?: string | undefined;
|
9192
|
+
}>>>;
|
9087
9193
|
responses: {
|
9088
9194
|
200: z.ZodObject<{
|
9089
9195
|
requestId: z.ZodString;
|
9196
|
+
} & {
|
9090
9197
|
data: z.ZodObject<{
|
9091
9198
|
id: z.ZodString;
|
9092
9199
|
createdAt: z.ZodDate;
|
@@ -9103,6 +9210,7 @@ export declare const contactContract: {
|
|
9103
9210
|
createdAt: z.ZodDate;
|
9104
9211
|
updatedAt: z.ZodDate;
|
9105
9212
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9213
|
+
} & {
|
9106
9214
|
name: z.ZodString;
|
9107
9215
|
}, "strip", z.ZodTypeAny, {
|
9108
9216
|
name: string;
|
@@ -9122,6 +9230,7 @@ export declare const contactContract: {
|
|
9122
9230
|
createdAt: z.ZodDate;
|
9123
9231
|
updatedAt: z.ZodDate;
|
9124
9232
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9233
|
+
} & {
|
9125
9234
|
name: z.ZodOptional<z.ZodString>;
|
9126
9235
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9127
9236
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -9131,6 +9240,7 @@ export declare const contactContract: {
|
|
9131
9240
|
createdAt: z.ZodDate;
|
9132
9241
|
updatedAt: z.ZodDate;
|
9133
9242
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9243
|
+
} & {
|
9134
9244
|
textValue: z.ZodNullable<z.ZodString>;
|
9135
9245
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
9136
9246
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -9140,6 +9250,7 @@ export declare const contactContract: {
|
|
9140
9250
|
createdAt: z.ZodDate;
|
9141
9251
|
updatedAt: z.ZodDate;
|
9142
9252
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9253
|
+
} & {
|
9143
9254
|
systemName: z.ZodString;
|
9144
9255
|
displayName: z.ZodString;
|
9145
9256
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -9149,10 +9260,11 @@ export declare const contactContract: {
|
|
9149
9260
|
isRequired: z.ZodBoolean;
|
9150
9261
|
isUnique: z.ZodBoolean;
|
9151
9262
|
options: z.ZodArray<z.ZodObject<{
|
9152
|
-
position: z.ZodNumber;
|
9153
|
-
value: z.ZodString;
|
9154
9263
|
label: z.ZodString;
|
9264
|
+
value: z.ZodString;
|
9155
9265
|
isDefault: z.ZodBoolean;
|
9266
|
+
position: z.ZodNumber;
|
9267
|
+
} & {
|
9156
9268
|
id: z.ZodString;
|
9157
9269
|
}, "strip", z.ZodTypeAny, {
|
9158
9270
|
id: string;
|
@@ -9172,6 +9284,7 @@ export declare const contactContract: {
|
|
9172
9284
|
createdAt: z.ZodDate;
|
9173
9285
|
updatedAt: z.ZodDate;
|
9174
9286
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9287
|
+
} & {
|
9175
9288
|
systemName: z.ZodString;
|
9176
9289
|
displayName: z.ZodString;
|
9177
9290
|
}, "strip", z.ZodTypeAny, {
|
@@ -9349,6 +9462,7 @@ export declare const contactContract: {
|
|
9349
9462
|
createdAt: z.ZodDate;
|
9350
9463
|
updatedAt: z.ZodDate;
|
9351
9464
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9465
|
+
} & {
|
9352
9466
|
systemName: z.ZodString;
|
9353
9467
|
displayName: z.ZodString;
|
9354
9468
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -9358,10 +9472,11 @@ export declare const contactContract: {
|
|
9358
9472
|
isRequired: z.ZodBoolean;
|
9359
9473
|
isUnique: z.ZodBoolean;
|
9360
9474
|
options: z.ZodArray<z.ZodObject<{
|
9361
|
-
position: z.ZodNumber;
|
9362
|
-
value: z.ZodString;
|
9363
9475
|
label: z.ZodString;
|
9476
|
+
value: z.ZodString;
|
9364
9477
|
isDefault: z.ZodBoolean;
|
9478
|
+
position: z.ZodNumber;
|
9479
|
+
} & {
|
9365
9480
|
id: z.ZodString;
|
9366
9481
|
}, "strip", z.ZodTypeAny, {
|
9367
9482
|
id: string;
|
@@ -9381,6 +9496,7 @@ export declare const contactContract: {
|
|
9381
9496
|
createdAt: z.ZodDate;
|
9382
9497
|
updatedAt: z.ZodDate;
|
9383
9498
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9499
|
+
} & {
|
9384
9500
|
systemName: z.ZodString;
|
9385
9501
|
displayName: z.ZodString;
|
9386
9502
|
}, "strip", z.ZodTypeAny, {
|
@@ -9430,6 +9546,7 @@ export declare const contactContract: {
|
|
9430
9546
|
createdAt: z.ZodDate;
|
9431
9547
|
updatedAt: z.ZodDate;
|
9432
9548
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9549
|
+
} & {
|
9433
9550
|
bucketName: z.ZodString;
|
9434
9551
|
fileName: z.ZodString;
|
9435
9552
|
fileSize: z.ZodNumber;
|
@@ -10138,7 +10255,21 @@ export declare const contactContract: {
|
|
10138
10255
|
error?: any;
|
10139
10256
|
}>;
|
10140
10257
|
};
|
10141
|
-
|
10258
|
+
};
|
10259
|
+
checkContactPhone: {
|
10260
|
+
body: z.ZodObject<{
|
10261
|
+
contactId: z.ZodOptional<z.ZodString>;
|
10262
|
+
phoneNumber: z.ZodString;
|
10263
|
+
}, "strip", z.ZodTypeAny, {
|
10264
|
+
phoneNumber: string;
|
10265
|
+
contactId?: string | undefined;
|
10266
|
+
}, {
|
10267
|
+
phoneNumber: string;
|
10268
|
+
contactId?: string | undefined;
|
10269
|
+
}>;
|
10270
|
+
summary: "Check whether a contact owns a phone number";
|
10271
|
+
method: "POST";
|
10272
|
+
path: "ccs/api/v1/contact/check/phone";
|
10142
10273
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10143
10274
|
'x-tenant': z.ZodString;
|
10144
10275
|
'x-service-token': z.ZodString;
|
@@ -10155,23 +10286,10 @@ export declare const contactContract: {
|
|
10155
10286
|
'x-code'?: string | undefined;
|
10156
10287
|
'x-client-timezone'?: string | undefined;
|
10157
10288
|
}>>>;
|
10158
|
-
};
|
10159
|
-
checkContactPhone: {
|
10160
|
-
body: z.ZodObject<{
|
10161
|
-
contactId: z.ZodOptional<z.ZodString>;
|
10162
|
-
phoneNumber: z.ZodString;
|
10163
|
-
}, "strip", z.ZodTypeAny, {
|
10164
|
-
phoneNumber: string;
|
10165
|
-
contactId?: string | undefined;
|
10166
|
-
}, {
|
10167
|
-
phoneNumber: string;
|
10168
|
-
contactId?: string | undefined;
|
10169
|
-
}>;
|
10170
|
-
summary: "Check whether a contact owns a phone number";
|
10171
|
-
method: "POST";
|
10172
10289
|
responses: {
|
10173
10290
|
200: z.ZodObject<{
|
10174
10291
|
requestId: z.ZodString;
|
10292
|
+
} & {
|
10175
10293
|
existed: z.ZodBoolean;
|
10176
10294
|
}, "strip", z.ZodTypeAny, {
|
10177
10295
|
requestId: string;
|
@@ -10232,7 +10350,21 @@ export declare const contactContract: {
|
|
10232
10350
|
error?: any;
|
10233
10351
|
}>;
|
10234
10352
|
};
|
10235
|
-
|
10353
|
+
};
|
10354
|
+
checkContactEmail: {
|
10355
|
+
body: z.ZodObject<{
|
10356
|
+
contactId: z.ZodOptional<z.ZodString>;
|
10357
|
+
email: z.ZodString;
|
10358
|
+
}, "strip", z.ZodTypeAny, {
|
10359
|
+
email: string;
|
10360
|
+
contactId?: string | undefined;
|
10361
|
+
}, {
|
10362
|
+
email: string;
|
10363
|
+
contactId?: string | undefined;
|
10364
|
+
}>;
|
10365
|
+
summary: "Check whether a contact owns a email";
|
10366
|
+
method: "POST";
|
10367
|
+
path: "ccs/api/v1/contact/check/email";
|
10236
10368
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10237
10369
|
'x-tenant': z.ZodString;
|
10238
10370
|
'x-service-token': z.ZodString;
|
@@ -10249,23 +10381,10 @@ export declare const contactContract: {
|
|
10249
10381
|
'x-code'?: string | undefined;
|
10250
10382
|
'x-client-timezone'?: string | undefined;
|
10251
10383
|
}>>>;
|
10252
|
-
};
|
10253
|
-
checkContactEmail: {
|
10254
|
-
body: z.ZodObject<{
|
10255
|
-
contactId: z.ZodOptional<z.ZodString>;
|
10256
|
-
email: z.ZodString;
|
10257
|
-
}, "strip", z.ZodTypeAny, {
|
10258
|
-
email: string;
|
10259
|
-
contactId?: string | undefined;
|
10260
|
-
}, {
|
10261
|
-
email: string;
|
10262
|
-
contactId?: string | undefined;
|
10263
|
-
}>;
|
10264
|
-
summary: "Check whether a contact owns a email";
|
10265
|
-
method: "POST";
|
10266
10384
|
responses: {
|
10267
10385
|
200: z.ZodObject<{
|
10268
10386
|
requestId: z.ZodString;
|
10387
|
+
} & {
|
10269
10388
|
existed: z.ZodBoolean;
|
10270
10389
|
}, "strip", z.ZodTypeAny, {
|
10271
10390
|
requestId: string;
|
@@ -10326,23 +10445,6 @@ export declare const contactContract: {
|
|
10326
10445
|
error?: any;
|
10327
10446
|
}>;
|
10328
10447
|
};
|
10329
|
-
path: "ccs/api/v1/contact/check/email";
|
10330
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10331
|
-
'x-tenant': z.ZodString;
|
10332
|
-
'x-service-token': z.ZodString;
|
10333
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
10334
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
10335
|
-
}, "strip", z.ZodTypeAny, {
|
10336
|
-
'x-tenant': string;
|
10337
|
-
'x-service-token': string;
|
10338
|
-
'x-client-timezone': string;
|
10339
|
-
'x-code'?: string | undefined;
|
10340
|
-
}, {
|
10341
|
-
'x-tenant': string;
|
10342
|
-
'x-service-token': string;
|
10343
|
-
'x-code'?: string | undefined;
|
10344
|
-
'x-client-timezone'?: string | undefined;
|
10345
|
-
}>>>;
|
10346
10448
|
};
|
10347
10449
|
createContactAttachmentRecords: {
|
10348
10450
|
body: z.ZodObject<{
|
@@ -10390,9 +10492,27 @@ export declare const contactContract: {
|
|
10390
10492
|
}>;
|
10391
10493
|
summary: "Create a new contact attachment";
|
10392
10494
|
method: "POST";
|
10495
|
+
path: "ccs/api/v1/contact/attachments";
|
10496
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10497
|
+
'x-tenant': z.ZodString;
|
10498
|
+
'x-service-token': z.ZodString;
|
10499
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
10500
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
10501
|
+
}, "strip", z.ZodTypeAny, {
|
10502
|
+
'x-tenant': string;
|
10503
|
+
'x-service-token': string;
|
10504
|
+
'x-client-timezone': string;
|
10505
|
+
'x-code'?: string | undefined;
|
10506
|
+
}, {
|
10507
|
+
'x-tenant': string;
|
10508
|
+
'x-service-token': string;
|
10509
|
+
'x-code'?: string | undefined;
|
10510
|
+
'x-client-timezone'?: string | undefined;
|
10511
|
+
}>>>;
|
10393
10512
|
responses: {
|
10394
10513
|
201: z.ZodObject<{
|
10395
10514
|
requestId: z.ZodString;
|
10515
|
+
} & {
|
10396
10516
|
message: z.ZodObject<{
|
10397
10517
|
id: z.ZodString;
|
10398
10518
|
createdAt: z.ZodDate;
|
@@ -10407,6 +10527,7 @@ export declare const contactContract: {
|
|
10407
10527
|
createdAt: z.ZodDate;
|
10408
10528
|
updatedAt: z.ZodDate;
|
10409
10529
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10530
|
+
} & {
|
10410
10531
|
systemName: z.ZodString;
|
10411
10532
|
displayName: z.ZodString;
|
10412
10533
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -10416,10 +10537,11 @@ export declare const contactContract: {
|
|
10416
10537
|
isRequired: z.ZodBoolean;
|
10417
10538
|
isUnique: z.ZodBoolean;
|
10418
10539
|
options: z.ZodArray<z.ZodObject<{
|
10419
|
-
position: z.ZodNumber;
|
10420
|
-
value: z.ZodString;
|
10421
10540
|
label: z.ZodString;
|
10541
|
+
value: z.ZodString;
|
10422
10542
|
isDefault: z.ZodBoolean;
|
10543
|
+
position: z.ZodNumber;
|
10544
|
+
} & {
|
10423
10545
|
id: z.ZodString;
|
10424
10546
|
}, "strip", z.ZodTypeAny, {
|
10425
10547
|
id: string;
|
@@ -10439,6 +10561,7 @@ export declare const contactContract: {
|
|
10439
10561
|
createdAt: z.ZodDate;
|
10440
10562
|
updatedAt: z.ZodDate;
|
10441
10563
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10564
|
+
} & {
|
10442
10565
|
systemName: z.ZodString;
|
10443
10566
|
displayName: z.ZodString;
|
10444
10567
|
}, "strip", z.ZodTypeAny, {
|
@@ -10488,6 +10611,7 @@ export declare const contactContract: {
|
|
10488
10611
|
createdAt: z.ZodDate;
|
10489
10612
|
updatedAt: z.ZodDate;
|
10490
10613
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10614
|
+
} & {
|
10491
10615
|
bucketName: z.ZodString;
|
10492
10616
|
fileName: z.ZodString;
|
10493
10617
|
fileSize: z.ZodNumber;
|
@@ -10717,7 +10841,18 @@ export declare const contactContract: {
|
|
10717
10841
|
error?: any;
|
10718
10842
|
}>;
|
10719
10843
|
};
|
10720
|
-
|
10844
|
+
};
|
10845
|
+
getById: {
|
10846
|
+
summary: "Get a contact by id";
|
10847
|
+
method: "GET";
|
10848
|
+
pathParams: z.ZodObject<{
|
10849
|
+
id: z.ZodString;
|
10850
|
+
}, "strip", z.ZodTypeAny, {
|
10851
|
+
id: string;
|
10852
|
+
}, {
|
10853
|
+
id: string;
|
10854
|
+
}>;
|
10855
|
+
path: "ccs/api/v1/contact/:id";
|
10721
10856
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10722
10857
|
'x-tenant': z.ZodString;
|
10723
10858
|
'x-service-token': z.ZodString;
|
@@ -10734,20 +10869,10 @@ export declare const contactContract: {
|
|
10734
10869
|
'x-code'?: string | undefined;
|
10735
10870
|
'x-client-timezone'?: string | undefined;
|
10736
10871
|
}>>>;
|
10737
|
-
};
|
10738
|
-
getById: {
|
10739
|
-
summary: "Get a contact by id";
|
10740
|
-
method: "GET";
|
10741
|
-
pathParams: z.ZodObject<{
|
10742
|
-
id: z.ZodString;
|
10743
|
-
}, "strip", z.ZodTypeAny, {
|
10744
|
-
id: string;
|
10745
|
-
}, {
|
10746
|
-
id: string;
|
10747
|
-
}>;
|
10748
10872
|
responses: {
|
10749
10873
|
200: z.ZodObject<{
|
10750
10874
|
requestId: z.ZodString;
|
10875
|
+
} & {
|
10751
10876
|
data: z.ZodObject<{
|
10752
10877
|
id: z.ZodString;
|
10753
10878
|
createdAt: z.ZodDate;
|
@@ -10764,6 +10889,7 @@ export declare const contactContract: {
|
|
10764
10889
|
createdAt: z.ZodDate;
|
10765
10890
|
updatedAt: z.ZodDate;
|
10766
10891
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10892
|
+
} & {
|
10767
10893
|
name: z.ZodString;
|
10768
10894
|
}, "strip", z.ZodTypeAny, {
|
10769
10895
|
name: string;
|
@@ -10783,6 +10909,7 @@ export declare const contactContract: {
|
|
10783
10909
|
createdAt: z.ZodDate;
|
10784
10910
|
updatedAt: z.ZodDate;
|
10785
10911
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10912
|
+
} & {
|
10786
10913
|
name: z.ZodOptional<z.ZodString>;
|
10787
10914
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10788
10915
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -10792,6 +10919,7 @@ export declare const contactContract: {
|
|
10792
10919
|
createdAt: z.ZodDate;
|
10793
10920
|
updatedAt: z.ZodDate;
|
10794
10921
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10922
|
+
} & {
|
10795
10923
|
textValue: z.ZodNullable<z.ZodString>;
|
10796
10924
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
10797
10925
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -10801,6 +10929,7 @@ export declare const contactContract: {
|
|
10801
10929
|
createdAt: z.ZodDate;
|
10802
10930
|
updatedAt: z.ZodDate;
|
10803
10931
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10932
|
+
} & {
|
10804
10933
|
systemName: z.ZodString;
|
10805
10934
|
displayName: z.ZodString;
|
10806
10935
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -10810,10 +10939,11 @@ export declare const contactContract: {
|
|
10810
10939
|
isRequired: z.ZodBoolean;
|
10811
10940
|
isUnique: z.ZodBoolean;
|
10812
10941
|
options: z.ZodArray<z.ZodObject<{
|
10813
|
-
position: z.ZodNumber;
|
10814
|
-
value: z.ZodString;
|
10815
10942
|
label: z.ZodString;
|
10943
|
+
value: z.ZodString;
|
10816
10944
|
isDefault: z.ZodBoolean;
|
10945
|
+
position: z.ZodNumber;
|
10946
|
+
} & {
|
10817
10947
|
id: z.ZodString;
|
10818
10948
|
}, "strip", z.ZodTypeAny, {
|
10819
10949
|
id: string;
|
@@ -10833,6 +10963,7 @@ export declare const contactContract: {
|
|
10833
10963
|
createdAt: z.ZodDate;
|
10834
10964
|
updatedAt: z.ZodDate;
|
10835
10965
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10966
|
+
} & {
|
10836
10967
|
systemName: z.ZodString;
|
10837
10968
|
displayName: z.ZodString;
|
10838
10969
|
}, "strip", z.ZodTypeAny, {
|
@@ -11010,6 +11141,7 @@ export declare const contactContract: {
|
|
11010
11141
|
createdAt: z.ZodDate;
|
11011
11142
|
updatedAt: z.ZodDate;
|
11012
11143
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11144
|
+
} & {
|
11013
11145
|
systemName: z.ZodString;
|
11014
11146
|
displayName: z.ZodString;
|
11015
11147
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -11019,10 +11151,11 @@ export declare const contactContract: {
|
|
11019
11151
|
isRequired: z.ZodBoolean;
|
11020
11152
|
isUnique: z.ZodBoolean;
|
11021
11153
|
options: z.ZodArray<z.ZodObject<{
|
11022
|
-
position: z.ZodNumber;
|
11023
|
-
value: z.ZodString;
|
11024
11154
|
label: z.ZodString;
|
11155
|
+
value: z.ZodString;
|
11025
11156
|
isDefault: z.ZodBoolean;
|
11157
|
+
position: z.ZodNumber;
|
11158
|
+
} & {
|
11026
11159
|
id: z.ZodString;
|
11027
11160
|
}, "strip", z.ZodTypeAny, {
|
11028
11161
|
id: string;
|
@@ -11042,6 +11175,7 @@ export declare const contactContract: {
|
|
11042
11175
|
createdAt: z.ZodDate;
|
11043
11176
|
updatedAt: z.ZodDate;
|
11044
11177
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11178
|
+
} & {
|
11045
11179
|
systemName: z.ZodString;
|
11046
11180
|
displayName: z.ZodString;
|
11047
11181
|
}, "strip", z.ZodTypeAny, {
|
@@ -11091,6 +11225,7 @@ export declare const contactContract: {
|
|
11091
11225
|
createdAt: z.ZodDate;
|
11092
11226
|
updatedAt: z.ZodDate;
|
11093
11227
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11228
|
+
} & {
|
11094
11229
|
bucketName: z.ZodString;
|
11095
11230
|
fileName: z.ZodString;
|
11096
11231
|
fileSize: z.ZodNumber;
|
@@ -11799,52 +11934,36 @@ export declare const contactContract: {
|
|
11799
11934
|
error?: any;
|
11800
11935
|
}>;
|
11801
11936
|
};
|
11802
|
-
path: "ccs/api/v1/contact/:id";
|
11803
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11804
|
-
'x-tenant': z.ZodString;
|
11805
|
-
'x-service-token': z.ZodString;
|
11806
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
11807
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
11808
|
-
}, "strip", z.ZodTypeAny, {
|
11809
|
-
'x-tenant': string;
|
11810
|
-
'x-service-token': string;
|
11811
|
-
'x-client-timezone': string;
|
11812
|
-
'x-code'?: string | undefined;
|
11813
|
-
}, {
|
11814
|
-
'x-tenant': string;
|
11815
|
-
'x-service-token': string;
|
11816
|
-
'x-code'?: string | undefined;
|
11817
|
-
'x-client-timezone'?: string | undefined;
|
11818
|
-
}>>>;
|
11819
11937
|
};
|
11820
11938
|
getExportContacts: {
|
11821
11939
|
method: "GET";
|
11822
11940
|
query: z.ZodObject<{
|
11823
|
-
name: z.ZodOptional<z.ZodString>;
|
11824
|
-
channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
11825
|
-
address: z.ZodOptional<z.ZodString>;
|
11826
11941
|
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
11827
|
-
email: z.ZodOptional<z.ZodString>;
|
11828
11942
|
pageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
11829
|
-
|
11943
|
+
keyword: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
11944
|
+
company: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
11945
|
+
name: z.ZodOptional<z.ZodString>;
|
11946
|
+
address: z.ZodOptional<z.ZodString>;
|
11947
|
+
channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
11948
|
+
selectedDate: z.ZodOptional<z.ZodString>;
|
11830
11949
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
11831
11950
|
attributeId: z.ZodString;
|
11832
11951
|
type: z.ZodString;
|
11833
11952
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
11834
11953
|
}, "strip", z.ZodTypeAny, {
|
11835
11954
|
type: string;
|
11836
|
-
value:
|
11955
|
+
value: string | string[];
|
11837
11956
|
attributeId: string;
|
11838
11957
|
}, {
|
11839
11958
|
type: string;
|
11840
|
-
value:
|
11959
|
+
value: string | string[];
|
11841
11960
|
attributeId: string;
|
11842
11961
|
}>, "many">>;
|
11843
|
-
company: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
11844
|
-
notes: z.ZodOptional<z.ZodString>;
|
11845
11962
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
11846
|
-
|
11847
|
-
|
11963
|
+
phone: z.ZodOptional<z.ZodString>;
|
11964
|
+
email: z.ZodOptional<z.ZodString>;
|
11965
|
+
notes: z.ZodOptional<z.ZodString>;
|
11966
|
+
} & {
|
11848
11967
|
fileExtension: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>>>;
|
11849
11968
|
}, "strip", z.ZodTypeAny, {
|
11850
11969
|
name?: string | undefined;
|
@@ -11856,7 +11975,7 @@ export declare const contactContract: {
|
|
11856
11975
|
phone?: string | undefined;
|
11857
11976
|
customFields?: {
|
11858
11977
|
type: string;
|
11859
|
-
value:
|
11978
|
+
value: string | string[];
|
11860
11979
|
attributeId: string;
|
11861
11980
|
}[] | undefined;
|
11862
11981
|
company?: string[] | undefined;
|
@@ -11875,7 +11994,7 @@ export declare const contactContract: {
|
|
11875
11994
|
phone?: string | undefined;
|
11876
11995
|
customFields?: {
|
11877
11996
|
type: string;
|
11878
|
-
value:
|
11997
|
+
value: string | string[];
|
11879
11998
|
attributeId: string;
|
11880
11999
|
}[] | undefined;
|
11881
12000
|
company?: string[] | undefined;
|
@@ -11885,6 +12004,23 @@ export declare const contactContract: {
|
|
11885
12004
|
selectedDate?: string | undefined;
|
11886
12005
|
fileExtension?: "csv" | "xlsx" | undefined;
|
11887
12006
|
}>;
|
12007
|
+
path: "cs/contact/export";
|
12008
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
12009
|
+
'x-tenant': z.ZodString;
|
12010
|
+
'x-service-token': z.ZodString;
|
12011
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
12012
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
12013
|
+
}, "strip", z.ZodTypeAny, {
|
12014
|
+
'x-tenant': string;
|
12015
|
+
'x-service-token': string;
|
12016
|
+
'x-client-timezone': string;
|
12017
|
+
'x-code'?: string | undefined;
|
12018
|
+
}, {
|
12019
|
+
'x-tenant': string;
|
12020
|
+
'x-service-token': string;
|
12021
|
+
'x-code'?: string | undefined;
|
12022
|
+
'x-client-timezone'?: string | undefined;
|
12023
|
+
}>>>;
|
11888
12024
|
responses: {
|
11889
12025
|
200: null;
|
11890
12026
|
400: z.ZodObject<{
|
@@ -11915,23 +12051,6 @@ export declare const contactContract: {
|
|
11915
12051
|
error?: any;
|
11916
12052
|
}>;
|
11917
12053
|
};
|
11918
|
-
path: "cs/contact/export";
|
11919
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11920
|
-
'x-tenant': z.ZodString;
|
11921
|
-
'x-service-token': z.ZodString;
|
11922
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
11923
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
11924
|
-
}, "strip", z.ZodTypeAny, {
|
11925
|
-
'x-tenant': string;
|
11926
|
-
'x-service-token': string;
|
11927
|
-
'x-client-timezone': string;
|
11928
|
-
'x-code'?: string | undefined;
|
11929
|
-
}, {
|
11930
|
-
'x-tenant': string;
|
11931
|
-
'x-service-token': string;
|
11932
|
-
'x-code'?: string | undefined;
|
11933
|
-
'x-client-timezone'?: string | undefined;
|
11934
|
-
}>>>;
|
11935
12054
|
};
|
11936
12055
|
};
|
11937
12056
|
//# sourceMappingURL=index.d.ts.map
|