@kl1/contracts 1.2.27-uat → 1.2.28-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +148 -164
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +47 -51
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +31 -43
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +2 -3
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +6 -8
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +13 -17
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +109 -118
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +2 -3
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1216 -1062
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +50 -38
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +66 -52
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +14158 -10902
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3223 -2468
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3259 -2794
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +224 -281
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +50 -68
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +109 -136
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +24 -33
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +62 -78
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +559 -677
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +42 -56
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +218 -299
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +28558 -25032
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +651 -678
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +425 -457
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +333 -374
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +3 -4
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +112 -118
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +2367 -1871
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +74 -76
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +86 -96
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +2 -3
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +160 -39
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +27 -3
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +2302 -1815
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +3429 -2954
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +11 -12
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +114 -103
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +416 -461
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +65 -88
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -22
- 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 +10 -15
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2060 -1575
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +86 -96
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +12 -16
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +196 -260
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +83 -88
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +174 -155
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +54 -76
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +49 -71
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +60 -90
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +72 -79
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2165 -1706
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +54 -58
- 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 +2 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1137 -1202
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +166 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +626 -725
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +58 -81
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +34 -36
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +108 -114
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +4 -5
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -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 +2 -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 +1799 -1340
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +8313 -6832
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1781 -1309
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +128 -139
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +2 -3
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2013 -1696
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
- 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 +6 -9
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +3 -4
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +3245 -3172
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3245 -3172
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -4,7 +4,6 @@ export declare const mailContract: {
|
|
4
4
|
body: null;
|
5
5
|
summary: "Create a new room for new incoming mail";
|
6
6
|
method: "POST";
|
7
|
-
path: "email-service/mail/room/";
|
8
7
|
responses: {
|
9
8
|
401: import("zod").ZodObject<{
|
10
9
|
message: import("zod").ZodString;
|
@@ -36,11 +35,10 @@ export declare const mailContract: {
|
|
36
35
|
message: string;
|
37
36
|
error?: any;
|
38
37
|
}>;
|
39
|
-
200: import("zod").ZodObject<
|
38
|
+
200: import("zod").ZodObject<{
|
40
39
|
requestId: import("zod").ZodString;
|
41
|
-
}, {
|
42
40
|
message: import("zod").ZodString;
|
43
|
-
}
|
41
|
+
}, "strip", import("zod").ZodTypeAny, {
|
44
42
|
message: string;
|
45
43
|
requestId: string;
|
46
44
|
}, {
|
@@ -48,6 +46,7 @@ export declare const mailContract: {
|
|
48
46
|
requestId: string;
|
49
47
|
}>;
|
50
48
|
};
|
49
|
+
path: "email-service/mail/room/";
|
51
50
|
};
|
52
51
|
getAll: {
|
53
52
|
summary: "Get mail rooms";
|
@@ -75,33 +74,32 @@ export declare const mailContract: {
|
|
75
74
|
}, "strip", import("zod").ZodTypeAny, {
|
76
75
|
page: number;
|
77
76
|
pageSize: number;
|
78
|
-
date?: string | undefined;
|
79
|
-
contacts?: string[] | undefined;
|
80
77
|
keyword?: {
|
81
78
|
value: string;
|
82
79
|
category: "message" | "contact";
|
83
80
|
} | undefined;
|
84
|
-
channels?: string[] | undefined;
|
85
81
|
contactLabels?: string[] | undefined;
|
82
|
+
channels?: string[] | undefined;
|
83
|
+
date?: string | undefined;
|
84
|
+
contacts?: string[] | undefined;
|
86
85
|
assignees?: string[] | undefined;
|
87
86
|
level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
|
88
87
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
89
88
|
}, {
|
90
89
|
page?: number | undefined;
|
91
|
-
date?: string | undefined;
|
92
90
|
pageSize?: number | undefined;
|
93
|
-
contacts?: string[] | undefined;
|
94
91
|
keyword?: {
|
95
92
|
value: string;
|
96
93
|
category: "message" | "contact";
|
97
94
|
} | undefined;
|
98
|
-
channels?: string[] | undefined;
|
99
95
|
contactLabels?: string[] | undefined;
|
96
|
+
channels?: string[] | undefined;
|
97
|
+
date?: string | undefined;
|
98
|
+
contacts?: string[] | undefined;
|
100
99
|
assignees?: string[] | undefined;
|
101
100
|
level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
|
102
101
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
103
102
|
}>;
|
104
|
-
path: "email-service/mail/room";
|
105
103
|
responses: {
|
106
104
|
401: import("zod").ZodObject<{
|
107
105
|
message: import("zod").ZodString;
|
@@ -133,9 +131,8 @@ export declare const mailContract: {
|
|
133
131
|
message: string;
|
134
132
|
error?: any;
|
135
133
|
}>;
|
136
|
-
200: import("zod").ZodObject<
|
134
|
+
200: import("zod").ZodObject<{
|
137
135
|
requestId: import("zod").ZodString;
|
138
|
-
}, {
|
139
136
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
140
137
|
id: import("zod").ZodString;
|
141
138
|
createdAt: import("zod").ZodDate;
|
@@ -5280,12 +5277,11 @@ export declare const mailContract: {
|
|
5280
5277
|
};
|
5281
5278
|
}>;
|
5282
5279
|
unReadMessageCount: import("zod").ZodNumber;
|
5283
|
-
cxlog: import("zod").ZodObject<
|
5280
|
+
cxlog: import("zod").ZodObject<{
|
5284
5281
|
id: import("zod").ZodString;
|
5285
5282
|
createdAt: import("zod").ZodDate;
|
5286
5283
|
updatedAt: import("zod").ZodDate;
|
5287
5284
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
5288
|
-
}, {
|
5289
5285
|
caseId: import("zod").ZodNumber;
|
5290
5286
|
entityId: import("zod").ZodString;
|
5291
5287
|
entityName: import("zod").ZodString;
|
@@ -5297,23 +5293,21 @@ export declare const mailContract: {
|
|
5297
5293
|
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
5298
5294
|
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
5299
5295
|
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
5300
|
-
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<
|
5296
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
5301
5297
|
id: import("zod").ZodString;
|
5302
5298
|
createdAt: import("zod").ZodDate;
|
5303
5299
|
updatedAt: import("zod").ZodDate;
|
5304
5300
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
5305
|
-
}, {
|
5306
5301
|
note: import("zod").ZodNullable<import("zod").ZodString>;
|
5307
5302
|
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
5308
5303
|
type: import("zod").ZodString;
|
5309
|
-
tags: import("zod").ZodArray<import("zod").ZodObject<
|
5304
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
5310
5305
|
id: import("zod").ZodString;
|
5311
5306
|
createdAt: import("zod").ZodDate;
|
5312
5307
|
updatedAt: import("zod").ZodDate;
|
5313
5308
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
5314
|
-
}, {
|
5315
5309
|
name: import("zod").ZodString;
|
5316
|
-
}
|
5310
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5317
5311
|
name: string;
|
5318
5312
|
id: string;
|
5319
5313
|
createdAt: Date;
|
@@ -5326,12 +5320,11 @@ export declare const mailContract: {
|
|
5326
5320
|
updatedAt: Date;
|
5327
5321
|
deletedAt: Date | null;
|
5328
5322
|
}>, "many">;
|
5329
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<
|
5323
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
5330
5324
|
id: import("zod").ZodString;
|
5331
5325
|
createdAt: import("zod").ZodDate;
|
5332
5326
|
updatedAt: import("zod").ZodDate;
|
5333
5327
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
5334
|
-
}, {
|
5335
5328
|
value: import("zod").ZodString;
|
5336
5329
|
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
5337
5330
|
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -5384,7 +5377,7 @@ export declare const mailContract: {
|
|
5384
5377
|
childCategoryList: any[];
|
5385
5378
|
}[];
|
5386
5379
|
}>, "many">;
|
5387
|
-
}
|
5380
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5388
5381
|
id: string;
|
5389
5382
|
value: string;
|
5390
5383
|
createdAt: Date;
|
@@ -5463,7 +5456,7 @@ export declare const mailContract: {
|
|
5463
5456
|
numberValue: number | null;
|
5464
5457
|
dateValue: Date | null;
|
5465
5458
|
}>, "many">>>;
|
5466
|
-
}
|
5459
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5467
5460
|
type: string;
|
5468
5461
|
id: string;
|
5469
5462
|
disposition: string | null;
|
@@ -5566,7 +5559,7 @@ export declare const mailContract: {
|
|
5566
5559
|
dateValue: Date | null;
|
5567
5560
|
}[] | null | undefined;
|
5568
5561
|
}>>;
|
5569
|
-
}
|
5562
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5570
5563
|
id: string;
|
5571
5564
|
channel: string | null;
|
5572
5565
|
direction: string | null;
|
@@ -7601,7 +7594,7 @@ export declare const mailContract: {
|
|
7601
7594
|
total: import("zod").ZodNumber;
|
7602
7595
|
page: import("zod").ZodNumber;
|
7603
7596
|
pageSize: import("zod").ZodNumber;
|
7604
|
-
}
|
7597
|
+
}, "strip", import("zod").ZodTypeAny, {
|
7605
7598
|
data: {
|
7606
7599
|
id: string;
|
7607
7600
|
direction: string;
|
@@ -9509,11 +9502,11 @@ export declare const mailContract: {
|
|
9509
9502
|
requestId: string;
|
9510
9503
|
}>;
|
9511
9504
|
};
|
9505
|
+
path: "email-service/mail/room";
|
9512
9506
|
};
|
9513
9507
|
getRoomCounts: {
|
9514
9508
|
summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
|
9515
9509
|
method: "GET";
|
9516
|
-
path: "email-service/mail/room/count_rooms/all";
|
9517
9510
|
responses: {
|
9518
9511
|
401: import("zod").ZodObject<{
|
9519
9512
|
message: import("zod").ZodString;
|
@@ -9545,9 +9538,8 @@ export declare const mailContract: {
|
|
9545
9538
|
message: string;
|
9546
9539
|
error?: any;
|
9547
9540
|
}>;
|
9548
|
-
200: import("zod").ZodObject<
|
9541
|
+
200: import("zod").ZodObject<{
|
9549
9542
|
requestId: import("zod").ZodString;
|
9550
|
-
}, {
|
9551
9543
|
data: import("zod").ZodObject<{
|
9552
9544
|
general: import("zod").ZodArray<import("zod").ZodObject<{
|
9553
9545
|
name: import("zod").ZodString;
|
@@ -9726,14 +9718,13 @@ export declare const mailContract: {
|
|
9726
9718
|
count: number;
|
9727
9719
|
}>, "many">;
|
9728
9720
|
contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
|
9729
|
-
label: import("zod").ZodObject<
|
9721
|
+
label: import("zod").ZodObject<{
|
9730
9722
|
id: import("zod").ZodString;
|
9731
9723
|
createdAt: import("zod").ZodDate;
|
9732
9724
|
updatedAt: import("zod").ZodDate;
|
9733
9725
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
9734
|
-
}, {
|
9735
9726
|
name: import("zod").ZodString;
|
9736
|
-
}
|
9727
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9737
9728
|
name: string;
|
9738
9729
|
id: string;
|
9739
9730
|
createdAt: Date;
|
@@ -9857,7 +9848,7 @@ export declare const mailContract: {
|
|
9857
9848
|
count: number;
|
9858
9849
|
}[];
|
9859
9850
|
}>;
|
9860
|
-
}
|
9851
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9861
9852
|
data: {
|
9862
9853
|
general: {
|
9863
9854
|
name: string;
|
@@ -9955,6 +9946,7 @@ export declare const mailContract: {
|
|
9955
9946
|
requestId: string;
|
9956
9947
|
}>;
|
9957
9948
|
};
|
9949
|
+
path: "email-service/mail/room/count_rooms/all";
|
9958
9950
|
};
|
9959
9951
|
getAttachments: {
|
9960
9952
|
summary: "Get all the attachments of a room";
|
@@ -9966,7 +9958,6 @@ export declare const mailContract: {
|
|
9966
9958
|
}, {
|
9967
9959
|
id: string;
|
9968
9960
|
}>;
|
9969
|
-
path: "email-service/mail/room/:id/attachments";
|
9970
9961
|
responses: {
|
9971
9962
|
401: import("zod").ZodObject<{
|
9972
9963
|
message: import("zod").ZodString;
|
@@ -9998,9 +9989,8 @@ export declare const mailContract: {
|
|
9998
9989
|
message: string;
|
9999
9990
|
error?: any;
|
10000
9991
|
}>;
|
10001
|
-
200: import("zod").ZodObject<
|
9992
|
+
200: import("zod").ZodObject<{
|
10002
9993
|
requestId: import("zod").ZodString;
|
10003
|
-
}, {
|
10004
9994
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
10005
9995
|
fileName: import("zod").ZodString;
|
10006
9996
|
fileType: import("zod").ZodString;
|
@@ -10008,19 +9998,18 @@ export declare const mailContract: {
|
|
10008
9998
|
uploadId: import("zod").ZodString;
|
10009
9999
|
messageId: import("zod").ZodString;
|
10010
10000
|
roomId: import("zod").ZodString;
|
10011
|
-
upload: import("zod").ZodObject<
|
10001
|
+
upload: import("zod").ZodObject<{
|
10012
10002
|
id: import("zod").ZodString;
|
10013
10003
|
createdAt: import("zod").ZodDate;
|
10014
10004
|
updatedAt: import("zod").ZodDate;
|
10015
10005
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
10016
|
-
}, {
|
10017
10006
|
bucketName: import("zod").ZodString;
|
10018
10007
|
fileName: import("zod").ZodString;
|
10019
10008
|
fileSize: import("zod").ZodNumber;
|
10020
10009
|
fileKey: import("zod").ZodString;
|
10021
10010
|
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
10022
10011
|
status: import("zod").ZodNullable<import("zod").ZodString>;
|
10023
|
-
}
|
10012
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10024
10013
|
id: string;
|
10025
10014
|
status: string | null;
|
10026
10015
|
createdAt: Date;
|
@@ -10082,7 +10071,7 @@ export declare const mailContract: {
|
|
10082
10071
|
messageId: string;
|
10083
10072
|
emailEngineAttachmentId: string;
|
10084
10073
|
}>, "many">;
|
10085
|
-
}
|
10074
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10086
10075
|
data: {
|
10087
10076
|
fileName: string;
|
10088
10077
|
fileType: string;
|
@@ -10128,6 +10117,7 @@ export declare const mailContract: {
|
|
10128
10117
|
requestId: string;
|
10129
10118
|
}>;
|
10130
10119
|
};
|
10120
|
+
path: "email-service/mail/room/:id/attachments";
|
10131
10121
|
};
|
10132
10122
|
getParticipants: {
|
10133
10123
|
summary: "Get all the attachments of a room";
|
@@ -10139,7 +10129,6 @@ export declare const mailContract: {
|
|
10139
10129
|
}, {
|
10140
10130
|
id: string;
|
10141
10131
|
}>;
|
10142
|
-
path: "email-service/mail/room/:id/participants";
|
10143
10132
|
responses: {
|
10144
10133
|
401: import("zod").ZodObject<{
|
10145
10134
|
message: import("zod").ZodString;
|
@@ -10171,9 +10160,8 @@ export declare const mailContract: {
|
|
10171
10160
|
message: string;
|
10172
10161
|
error?: any;
|
10173
10162
|
}>;
|
10174
|
-
200: import("zod").ZodObject<
|
10163
|
+
200: import("zod").ZodObject<{
|
10175
10164
|
requestId: import("zod").ZodString;
|
10176
|
-
}, {
|
10177
10165
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
10178
10166
|
id: import("zod").ZodString;
|
10179
10167
|
createdAt: import("zod").ZodDate;
|
@@ -10329,7 +10317,7 @@ export declare const mailContract: {
|
|
10329
10317
|
isNewContact: boolean;
|
10330
10318
|
};
|
10331
10319
|
}>, "many">;
|
10332
|
-
}
|
10320
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10333
10321
|
data: {
|
10334
10322
|
id: string;
|
10335
10323
|
createdAt: Date;
|
@@ -10397,6 +10385,7 @@ export declare const mailContract: {
|
|
10397
10385
|
requestId: string;
|
10398
10386
|
}>;
|
10399
10387
|
};
|
10388
|
+
path: "email-service/mail/room/:id/participants";
|
10400
10389
|
};
|
10401
10390
|
addNewEmailToContact: {
|
10402
10391
|
body: import("zod").ZodObject<{
|
@@ -10414,7 +10403,6 @@ export declare const mailContract: {
|
|
10414
10403
|
}>;
|
10415
10404
|
summary: "Add a new email of a mail room participant to an existing contact";
|
10416
10405
|
method: "POST";
|
10417
|
-
path: "email-service/mail/room/add_email_to_contact";
|
10418
10406
|
responses: {
|
10419
10407
|
401: import("zod").ZodObject<{
|
10420
10408
|
message: import("zod").ZodString;
|
@@ -10446,11 +10434,10 @@ export declare const mailContract: {
|
|
10446
10434
|
message: string;
|
10447
10435
|
error?: any;
|
10448
10436
|
}>;
|
10449
|
-
200: import("zod").ZodObject<
|
10437
|
+
200: import("zod").ZodObject<{
|
10450
10438
|
requestId: import("zod").ZodString;
|
10451
|
-
}, {
|
10452
10439
|
data: import("zod").ZodString;
|
10453
|
-
}
|
10440
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10454
10441
|
data: string;
|
10455
10442
|
requestId: string;
|
10456
10443
|
}, {
|
@@ -10458,6 +10445,7 @@ export declare const mailContract: {
|
|
10458
10445
|
requestId: string;
|
10459
10446
|
}>;
|
10460
10447
|
};
|
10448
|
+
path: "email-service/mail/room/add_email_to_contact";
|
10461
10449
|
};
|
10462
10450
|
update: {
|
10463
10451
|
body: import("zod").ZodObject<{
|
@@ -10469,16 +10457,16 @@ export declare const mailContract: {
|
|
10469
10457
|
selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
10470
10458
|
}, "strip", import("zod").ZodTypeAny, {
|
10471
10459
|
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
10472
|
-
tags?: string[] | undefined;
|
10473
|
-
note?: string | undefined;
|
10474
10460
|
assigneeId?: string | null | undefined;
|
10461
|
+
note?: string | undefined;
|
10462
|
+
tags?: string[] | undefined;
|
10475
10463
|
handover?: boolean | null | undefined;
|
10476
10464
|
selfAssign?: boolean | null | undefined;
|
10477
10465
|
}, {
|
10478
10466
|
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
10479
|
-
tags?: string[] | undefined;
|
10480
|
-
note?: string | undefined;
|
10481
10467
|
assigneeId?: string | null | undefined;
|
10468
|
+
note?: string | undefined;
|
10469
|
+
tags?: string[] | undefined;
|
10482
10470
|
handover?: boolean | "false" | "true" | null | undefined;
|
10483
10471
|
selfAssign?: boolean | "false" | "true" | null | undefined;
|
10484
10472
|
}>;
|
@@ -10491,7 +10479,6 @@ export declare const mailContract: {
|
|
10491
10479
|
}, {
|
10492
10480
|
id: string;
|
10493
10481
|
}>;
|
10494
|
-
path: "email-service/mail/room/:id";
|
10495
10482
|
responses: {
|
10496
10483
|
401: import("zod").ZodObject<{
|
10497
10484
|
message: import("zod").ZodString;
|
@@ -10523,9 +10510,8 @@ export declare const mailContract: {
|
|
10523
10510
|
message: string;
|
10524
10511
|
error?: any;
|
10525
10512
|
}>;
|
10526
|
-
200: import("zod").ZodObject<
|
10513
|
+
200: import("zod").ZodObject<{
|
10527
10514
|
requestId: import("zod").ZodString;
|
10528
|
-
}, {
|
10529
10515
|
data: import("zod").ZodObject<{
|
10530
10516
|
id: import("zod").ZodString;
|
10531
10517
|
createdAt: import("zod").ZodDate;
|
@@ -15670,12 +15656,11 @@ export declare const mailContract: {
|
|
15670
15656
|
};
|
15671
15657
|
}>;
|
15672
15658
|
unReadMessageCount: import("zod").ZodNumber;
|
15673
|
-
cxlog: import("zod").ZodObject<
|
15659
|
+
cxlog: import("zod").ZodObject<{
|
15674
15660
|
id: import("zod").ZodString;
|
15675
15661
|
createdAt: import("zod").ZodDate;
|
15676
15662
|
updatedAt: import("zod").ZodDate;
|
15677
15663
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
15678
|
-
}, {
|
15679
15664
|
caseId: import("zod").ZodNumber;
|
15680
15665
|
entityId: import("zod").ZodString;
|
15681
15666
|
entityName: import("zod").ZodString;
|
@@ -15687,23 +15672,21 @@ export declare const mailContract: {
|
|
15687
15672
|
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
15688
15673
|
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
15689
15674
|
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
15690
|
-
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<
|
15675
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
15691
15676
|
id: import("zod").ZodString;
|
15692
15677
|
createdAt: import("zod").ZodDate;
|
15693
15678
|
updatedAt: import("zod").ZodDate;
|
15694
15679
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
15695
|
-
}, {
|
15696
15680
|
note: import("zod").ZodNullable<import("zod").ZodString>;
|
15697
15681
|
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
15698
15682
|
type: import("zod").ZodString;
|
15699
|
-
tags: import("zod").ZodArray<import("zod").ZodObject<
|
15683
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
15700
15684
|
id: import("zod").ZodString;
|
15701
15685
|
createdAt: import("zod").ZodDate;
|
15702
15686
|
updatedAt: import("zod").ZodDate;
|
15703
15687
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
15704
|
-
}, {
|
15705
15688
|
name: import("zod").ZodString;
|
15706
|
-
}
|
15689
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15707
15690
|
name: string;
|
15708
15691
|
id: string;
|
15709
15692
|
createdAt: Date;
|
@@ -15716,12 +15699,11 @@ export declare const mailContract: {
|
|
15716
15699
|
updatedAt: Date;
|
15717
15700
|
deletedAt: Date | null;
|
15718
15701
|
}>, "many">;
|
15719
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<
|
15702
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
15720
15703
|
id: import("zod").ZodString;
|
15721
15704
|
createdAt: import("zod").ZodDate;
|
15722
15705
|
updatedAt: import("zod").ZodDate;
|
15723
15706
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
15724
|
-
}, {
|
15725
15707
|
value: import("zod").ZodString;
|
15726
15708
|
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
15727
15709
|
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -15774,7 +15756,7 @@ export declare const mailContract: {
|
|
15774
15756
|
childCategoryList: any[];
|
15775
15757
|
}[];
|
15776
15758
|
}>, "many">;
|
15777
|
-
}
|
15759
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15778
15760
|
id: string;
|
15779
15761
|
value: string;
|
15780
15762
|
createdAt: Date;
|
@@ -15853,7 +15835,7 @@ export declare const mailContract: {
|
|
15853
15835
|
numberValue: number | null;
|
15854
15836
|
dateValue: Date | null;
|
15855
15837
|
}>, "many">>>;
|
15856
|
-
}
|
15838
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15857
15839
|
type: string;
|
15858
15840
|
id: string;
|
15859
15841
|
disposition: string | null;
|
@@ -15956,7 +15938,7 @@ export declare const mailContract: {
|
|
15956
15938
|
dateValue: Date | null;
|
15957
15939
|
}[] | null | undefined;
|
15958
15940
|
}>>;
|
15959
|
-
}
|
15941
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15960
15942
|
id: string;
|
15961
15943
|
channel: string | null;
|
15962
15944
|
direction: string | null;
|
@@ -17988,7 +17970,7 @@ export declare const mailContract: {
|
|
17988
17970
|
};
|
17989
17971
|
unReadMessageCount: number;
|
17990
17972
|
}>;
|
17991
|
-
}
|
17973
|
+
}, "strip", import("zod").ZodTypeAny, {
|
17992
17974
|
data: {
|
17993
17975
|
id: string;
|
17994
17976
|
direction: string;
|
@@ -19890,6 +19872,7 @@ export declare const mailContract: {
|
|
19890
19872
|
requestId: string;
|
19891
19873
|
}>;
|
19892
19874
|
};
|
19875
|
+
path: "email-service/mail/room/:id";
|
19893
19876
|
};
|
19894
19877
|
markAsRead: {
|
19895
19878
|
body: import("zod").ZodObject<{
|
@@ -19901,7 +19884,6 @@ export declare const mailContract: {
|
|
19901
19884
|
}>;
|
19902
19885
|
summary: "Mark all the unread messages of a room as read";
|
19903
19886
|
method: "POST";
|
19904
|
-
path: "email-service/mail/room/mark_as_read";
|
19905
19887
|
responses: {
|
19906
19888
|
401: import("zod").ZodObject<{
|
19907
19889
|
message: import("zod").ZodString;
|
@@ -19933,11 +19915,10 @@ export declare const mailContract: {
|
|
19933
19915
|
message: string;
|
19934
19916
|
error?: any;
|
19935
19917
|
}>;
|
19936
|
-
200: import("zod").ZodObject<
|
19918
|
+
200: import("zod").ZodObject<{
|
19937
19919
|
requestId: import("zod").ZodString;
|
19938
|
-
}, {
|
19939
19920
|
message: import("zod").ZodString;
|
19940
|
-
}
|
19921
|
+
}, "strip", import("zod").ZodTypeAny, {
|
19941
19922
|
message: string;
|
19942
19923
|
requestId: string;
|
19943
19924
|
}, {
|
@@ -19945,6 +19926,7 @@ export declare const mailContract: {
|
|
19945
19926
|
requestId: string;
|
19946
19927
|
}>;
|
19947
19928
|
};
|
19929
|
+
path: "email-service/mail/room/mark_as_read";
|
19948
19930
|
};
|
19949
19931
|
getById: {
|
19950
19932
|
summary: "Get a mail room by id";
|
@@ -19956,7 +19938,6 @@ export declare const mailContract: {
|
|
19956
19938
|
}, {
|
19957
19939
|
id: string;
|
19958
19940
|
}>;
|
19959
|
-
path: "email-service/mail/room/:id";
|
19960
19941
|
responses: {
|
19961
19942
|
401: import("zod").ZodObject<{
|
19962
19943
|
message: import("zod").ZodString;
|
@@ -19988,9 +19969,8 @@ export declare const mailContract: {
|
|
19988
19969
|
message: string;
|
19989
19970
|
error?: any;
|
19990
19971
|
}>;
|
19991
|
-
200: import("zod").ZodObject<
|
19972
|
+
200: import("zod").ZodObject<{
|
19992
19973
|
requestId: import("zod").ZodString;
|
19993
|
-
}, {
|
19994
19974
|
data: import("zod").ZodObject<{
|
19995
19975
|
id: import("zod").ZodString;
|
19996
19976
|
createdAt: import("zod").ZodDate;
|
@@ -25135,12 +25115,11 @@ export declare const mailContract: {
|
|
25135
25115
|
};
|
25136
25116
|
}>;
|
25137
25117
|
unReadMessageCount: import("zod").ZodNumber;
|
25138
|
-
cxlog: import("zod").ZodObject<
|
25118
|
+
cxlog: import("zod").ZodObject<{
|
25139
25119
|
id: import("zod").ZodString;
|
25140
25120
|
createdAt: import("zod").ZodDate;
|
25141
25121
|
updatedAt: import("zod").ZodDate;
|
25142
25122
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25143
|
-
}, {
|
25144
25123
|
caseId: import("zod").ZodNumber;
|
25145
25124
|
entityId: import("zod").ZodString;
|
25146
25125
|
entityName: import("zod").ZodString;
|
@@ -25152,23 +25131,21 @@ export declare const mailContract: {
|
|
25152
25131
|
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
25153
25132
|
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
25154
25133
|
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
25155
|
-
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<
|
25134
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
25156
25135
|
id: import("zod").ZodString;
|
25157
25136
|
createdAt: import("zod").ZodDate;
|
25158
25137
|
updatedAt: import("zod").ZodDate;
|
25159
25138
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25160
|
-
}, {
|
25161
25139
|
note: import("zod").ZodNullable<import("zod").ZodString>;
|
25162
25140
|
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
25163
25141
|
type: import("zod").ZodString;
|
25164
|
-
tags: import("zod").ZodArray<import("zod").ZodObject<
|
25142
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
25165
25143
|
id: import("zod").ZodString;
|
25166
25144
|
createdAt: import("zod").ZodDate;
|
25167
25145
|
updatedAt: import("zod").ZodDate;
|
25168
25146
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25169
|
-
}, {
|
25170
25147
|
name: import("zod").ZodString;
|
25171
|
-
}
|
25148
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25172
25149
|
name: string;
|
25173
25150
|
id: string;
|
25174
25151
|
createdAt: Date;
|
@@ -25181,12 +25158,11 @@ export declare const mailContract: {
|
|
25181
25158
|
updatedAt: Date;
|
25182
25159
|
deletedAt: Date | null;
|
25183
25160
|
}>, "many">;
|
25184
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<
|
25161
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
25185
25162
|
id: import("zod").ZodString;
|
25186
25163
|
createdAt: import("zod").ZodDate;
|
25187
25164
|
updatedAt: import("zod").ZodDate;
|
25188
25165
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25189
|
-
}, {
|
25190
25166
|
value: import("zod").ZodString;
|
25191
25167
|
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
25192
25168
|
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -25239,7 +25215,7 @@ export declare const mailContract: {
|
|
25239
25215
|
childCategoryList: any[];
|
25240
25216
|
}[];
|
25241
25217
|
}>, "many">;
|
25242
|
-
}
|
25218
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25243
25219
|
id: string;
|
25244
25220
|
value: string;
|
25245
25221
|
createdAt: Date;
|
@@ -25318,7 +25294,7 @@ export declare const mailContract: {
|
|
25318
25294
|
numberValue: number | null;
|
25319
25295
|
dateValue: Date | null;
|
25320
25296
|
}>, "many">>>;
|
25321
|
-
}
|
25297
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25322
25298
|
type: string;
|
25323
25299
|
id: string;
|
25324
25300
|
disposition: string | null;
|
@@ -25421,7 +25397,7 @@ export declare const mailContract: {
|
|
25421
25397
|
dateValue: Date | null;
|
25422
25398
|
}[] | null | undefined;
|
25423
25399
|
}>>;
|
25424
|
-
}
|
25400
|
+
}, "strip", import("zod").ZodTypeAny, {
|
25425
25401
|
id: string;
|
25426
25402
|
channel: string | null;
|
25427
25403
|
direction: string | null;
|
@@ -27453,7 +27429,7 @@ export declare const mailContract: {
|
|
27453
27429
|
};
|
27454
27430
|
unReadMessageCount: number;
|
27455
27431
|
}>;
|
27456
|
-
}
|
27432
|
+
}, "strip", import("zod").ZodTypeAny, {
|
27457
27433
|
data: {
|
27458
27434
|
id: string;
|
27459
27435
|
direction: string;
|
@@ -29355,6 +29331,7 @@ export declare const mailContract: {
|
|
29355
29331
|
requestId: string;
|
29356
29332
|
}>;
|
29357
29333
|
};
|
29334
|
+
path: "email-service/mail/room/:id";
|
29358
29335
|
};
|
29359
29336
|
};
|
29360
29337
|
message: {
|
@@ -29448,14 +29425,6 @@ export declare const mailContract: {
|
|
29448
29425
|
address: string;
|
29449
29426
|
name?: string | undefined;
|
29450
29427
|
};
|
29451
|
-
attachments?: {
|
29452
|
-
fileName: string;
|
29453
|
-
fileType: string;
|
29454
|
-
fileKey: string;
|
29455
|
-
bucketName: string;
|
29456
|
-
fileSize: number;
|
29457
|
-
presignedUrl: string;
|
29458
|
-
}[] | undefined;
|
29459
29428
|
cc?: {
|
29460
29429
|
address: string;
|
29461
29430
|
name?: string | undefined;
|
@@ -29469,6 +29438,14 @@ export declare const mailContract: {
|
|
29469
29438
|
action: "forward" | "reply";
|
29470
29439
|
messageId: string;
|
29471
29440
|
} | undefined;
|
29441
|
+
attachments?: {
|
29442
|
+
fileName: string;
|
29443
|
+
fileType: string;
|
29444
|
+
fileKey: string;
|
29445
|
+
bucketName: string;
|
29446
|
+
fileSize: number;
|
29447
|
+
presignedUrl: string;
|
29448
|
+
}[] | undefined;
|
29472
29449
|
}, {
|
29473
29450
|
html: string;
|
29474
29451
|
text: string;
|
@@ -29481,14 +29458,6 @@ export declare const mailContract: {
|
|
29481
29458
|
address: string;
|
29482
29459
|
name?: string | undefined;
|
29483
29460
|
};
|
29484
|
-
attachments?: {
|
29485
|
-
fileName: string;
|
29486
|
-
fileType: string;
|
29487
|
-
fileKey: string;
|
29488
|
-
bucketName: string;
|
29489
|
-
fileSize: number;
|
29490
|
-
presignedUrl: string;
|
29491
|
-
}[] | undefined;
|
29492
29461
|
cc?: {
|
29493
29462
|
address: string;
|
29494
29463
|
name?: string | undefined;
|
@@ -29502,10 +29471,17 @@ export declare const mailContract: {
|
|
29502
29471
|
action: "forward" | "reply";
|
29503
29472
|
messageId: string;
|
29504
29473
|
} | undefined;
|
29474
|
+
attachments?: {
|
29475
|
+
fileName: string;
|
29476
|
+
fileType: string;
|
29477
|
+
fileKey: string;
|
29478
|
+
bucketName: string;
|
29479
|
+
fileSize: number;
|
29480
|
+
presignedUrl: string;
|
29481
|
+
}[] | undefined;
|
29505
29482
|
}>;
|
29506
29483
|
summary: "Submit a message such as compose, reply or forward";
|
29507
29484
|
method: "POST";
|
29508
|
-
path: "email-service/mail/message/submit";
|
29509
29485
|
responses: {
|
29510
29486
|
500: import("zod").ZodObject<{
|
29511
29487
|
message: import("zod").ZodString;
|
@@ -29547,9 +29523,8 @@ export declare const mailContract: {
|
|
29547
29523
|
message: string;
|
29548
29524
|
error?: any;
|
29549
29525
|
}>;
|
29550
|
-
200: import("zod").ZodObject<
|
29526
|
+
200: import("zod").ZodObject<{
|
29551
29527
|
requestId: import("zod").ZodString;
|
29552
|
-
}, {
|
29553
29528
|
data: import("zod").ZodObject<{
|
29554
29529
|
response: import("zod").ZodString;
|
29555
29530
|
messageId: import("zod").ZodString;
|
@@ -29566,7 +29541,7 @@ export declare const mailContract: {
|
|
29566
29541
|
messageId: string;
|
29567
29542
|
sendAt: string;
|
29568
29543
|
}>;
|
29569
|
-
}
|
29544
|
+
}, "strip", import("zod").ZodTypeAny, {
|
29570
29545
|
data: {
|
29571
29546
|
response: string;
|
29572
29547
|
queueId: string;
|
@@ -29584,11 +29559,11 @@ export declare const mailContract: {
|
|
29584
29559
|
requestId: string;
|
29585
29560
|
}>;
|
29586
29561
|
};
|
29562
|
+
path: "email-service/mail/message/submit";
|
29587
29563
|
};
|
29588
29564
|
getTotalUnreadMessageCount: {
|
29589
29565
|
summary: "Get total unread messages counts";
|
29590
29566
|
method: "GET";
|
29591
|
-
path: "email-service/mail/message/new_message_count";
|
29592
29567
|
responses: {
|
29593
29568
|
401: import("zod").ZodObject<{
|
29594
29569
|
message: import("zod").ZodString;
|
@@ -29620,9 +29595,8 @@ export declare const mailContract: {
|
|
29620
29595
|
message: string;
|
29621
29596
|
error?: any;
|
29622
29597
|
}>;
|
29623
|
-
200: import("zod").ZodObject<
|
29598
|
+
200: import("zod").ZodObject<{
|
29624
29599
|
requestId: import("zod").ZodString;
|
29625
|
-
}, {
|
29626
29600
|
data: import("zod").ZodObject<{
|
29627
29601
|
count: import("zod").ZodNumber;
|
29628
29602
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -29630,7 +29604,7 @@ export declare const mailContract: {
|
|
29630
29604
|
}, {
|
29631
29605
|
count: number;
|
29632
29606
|
}>;
|
29633
|
-
}
|
29607
|
+
}, "strip", import("zod").ZodTypeAny, {
|
29634
29608
|
data: {
|
29635
29609
|
count: number;
|
29636
29610
|
};
|
@@ -29642,6 +29616,7 @@ export declare const mailContract: {
|
|
29642
29616
|
requestId: string;
|
29643
29617
|
}>;
|
29644
29618
|
};
|
29619
|
+
path: "email-service/mail/message/new_message_count";
|
29645
29620
|
};
|
29646
29621
|
getById: {
|
29647
29622
|
summary: "Get a message";
|
@@ -29653,7 +29628,6 @@ export declare const mailContract: {
|
|
29653
29628
|
}, {
|
29654
29629
|
id: string;
|
29655
29630
|
}>;
|
29656
|
-
path: "email-service/mail/message/:id";
|
29657
29631
|
responses: {
|
29658
29632
|
401: import("zod").ZodObject<{
|
29659
29633
|
message: import("zod").ZodString;
|
@@ -29685,9 +29659,8 @@ export declare const mailContract: {
|
|
29685
29659
|
message: string;
|
29686
29660
|
error?: any;
|
29687
29661
|
}>;
|
29688
|
-
200: import("zod").ZodObject<
|
29662
|
+
200: import("zod").ZodObject<{
|
29689
29663
|
requestId: import("zod").ZodString;
|
29690
|
-
}, {
|
29691
29664
|
data: import("zod").ZodObject<{
|
29692
29665
|
id: import("zod").ZodString;
|
29693
29666
|
createdAt: import("zod").ZodDate;
|
@@ -30757,7 +30730,7 @@ export declare const mailContract: {
|
|
30757
30730
|
starred: boolean;
|
30758
30731
|
seemsLikeNew: boolean;
|
30759
30732
|
}>;
|
30760
|
-
}
|
30733
|
+
}, "strip", import("zod").ZodTypeAny, {
|
30761
30734
|
data: {
|
30762
30735
|
id: string;
|
30763
30736
|
direction: string;
|
@@ -31101,6 +31074,7 @@ export declare const mailContract: {
|
|
31101
31074
|
requestId: string;
|
31102
31075
|
}>;
|
31103
31076
|
};
|
31077
|
+
path: "email-service/mail/message/:id";
|
31104
31078
|
};
|
31105
31079
|
update: {
|
31106
31080
|
body: import("zod").ZodObject<{
|
@@ -31837,13 +31811,24 @@ export declare const mailContract: {
|
|
31837
31811
|
}>, "many">>;
|
31838
31812
|
}, "strip", import("zod").ZodTypeAny, {
|
31839
31813
|
id?: string | undefined;
|
31840
|
-
direction?: string | undefined;
|
31841
|
-
action?: string | undefined;
|
31842
|
-
date?: Date | undefined;
|
31843
31814
|
createdAt?: Date | undefined;
|
31844
31815
|
updatedAt?: Date | undefined;
|
31845
31816
|
deletedAt?: Date | null | undefined;
|
31846
31817
|
roomId?: string | undefined;
|
31818
|
+
subject?: string | undefined;
|
31819
|
+
textPlain?: string | undefined;
|
31820
|
+
textHtml?: string | undefined;
|
31821
|
+
textId?: string | undefined;
|
31822
|
+
emailEngineEmailId?: string | undefined;
|
31823
|
+
emailEngineMessageId?: string | undefined;
|
31824
|
+
emailEngineReplyTo?: string | null | undefined;
|
31825
|
+
direction?: string | undefined;
|
31826
|
+
date?: Date | undefined;
|
31827
|
+
action?: string | undefined;
|
31828
|
+
unseen?: boolean | undefined;
|
31829
|
+
sendAt?: Date | undefined;
|
31830
|
+
starred?: boolean | undefined;
|
31831
|
+
seemsLikeNew?: boolean | undefined;
|
31847
31832
|
from?: {
|
31848
31833
|
id: string;
|
31849
31834
|
createdAt: Date;
|
@@ -31875,32 +31860,69 @@ export declare const mailContract: {
|
|
31875
31860
|
isNewContact: boolean;
|
31876
31861
|
};
|
31877
31862
|
}[] | undefined;
|
31878
|
-
|
31863
|
+
to?: {
|
31879
31864
|
id: string;
|
31880
31865
|
createdAt: Date;
|
31881
31866
|
updatedAt: Date;
|
31882
31867
|
deletedAt: Date | null;
|
31883
|
-
|
31884
|
-
|
31885
|
-
|
31886
|
-
|
31868
|
+
roomId: string;
|
31869
|
+
messageId: string;
|
31870
|
+
mailUserId: string;
|
31871
|
+
mailUser: {
|
31872
|
+
name: string;
|
31887
31873
|
id: string;
|
31874
|
+
address: string;
|
31888
31875
|
createdAt: Date;
|
31889
31876
|
updatedAt: Date;
|
31890
31877
|
deletedAt: Date | null;
|
31891
|
-
|
31892
|
-
|
31893
|
-
|
31894
|
-
|
31895
|
-
|
31896
|
-
|
31878
|
+
contact: {
|
31879
|
+
name: string;
|
31880
|
+
id: string;
|
31881
|
+
channel: string | null;
|
31882
|
+
address: string | null;
|
31883
|
+
createdAt: Date;
|
31884
|
+
updatedAt: Date;
|
31885
|
+
deletedAt: Date | null;
|
31886
|
+
notes: string | null;
|
31887
|
+
contactProfile: string | null;
|
31888
|
+
socialProfileUrl: string | null;
|
31889
|
+
};
|
31890
|
+
contactId: string;
|
31891
|
+
isNewContact: boolean;
|
31897
31892
|
};
|
31893
|
+
}[] | undefined;
|
31894
|
+
cc?: {
|
31895
|
+
id: string;
|
31896
|
+
createdAt: Date;
|
31897
|
+
updatedAt: Date;
|
31898
|
+
deletedAt: Date | null;
|
31898
31899
|
roomId: string;
|
31899
31900
|
messageId: string;
|
31900
|
-
|
31901
|
+
mailUserId: string;
|
31902
|
+
mailUser: {
|
31903
|
+
name: string;
|
31904
|
+
id: string;
|
31905
|
+
address: string;
|
31906
|
+
createdAt: Date;
|
31907
|
+
updatedAt: Date;
|
31908
|
+
deletedAt: Date | null;
|
31909
|
+
contact: {
|
31910
|
+
name: string;
|
31911
|
+
id: string;
|
31912
|
+
channel: string | null;
|
31913
|
+
address: string | null;
|
31914
|
+
createdAt: Date;
|
31915
|
+
updatedAt: Date;
|
31916
|
+
deletedAt: Date | null;
|
31917
|
+
notes: string | null;
|
31918
|
+
contactProfile: string | null;
|
31919
|
+
socialProfileUrl: string | null;
|
31920
|
+
};
|
31921
|
+
contactId: string;
|
31922
|
+
isNewContact: boolean;
|
31923
|
+
};
|
31901
31924
|
}[] | undefined;
|
31902
|
-
|
31903
|
-
to?: {
|
31925
|
+
bcc?: {
|
31904
31926
|
id: string;
|
31905
31927
|
createdAt: Date;
|
31906
31928
|
updatedAt: Date;
|
@@ -31931,7 +31953,51 @@ export declare const mailContract: {
|
|
31931
31953
|
isNewContact: boolean;
|
31932
31954
|
};
|
31933
31955
|
}[] | undefined;
|
31934
|
-
|
31956
|
+
attachments?: {
|
31957
|
+
id: string;
|
31958
|
+
createdAt: Date;
|
31959
|
+
updatedAt: Date;
|
31960
|
+
deletedAt: Date | null;
|
31961
|
+
fileName: string;
|
31962
|
+
fileType: string;
|
31963
|
+
uploadId: string;
|
31964
|
+
upload: {
|
31965
|
+
id: string;
|
31966
|
+
createdAt: Date;
|
31967
|
+
updatedAt: Date;
|
31968
|
+
deletedAt: Date | null;
|
31969
|
+
extensionName: string;
|
31970
|
+
fileName: string;
|
31971
|
+
fileKey: string;
|
31972
|
+
bucketName: string;
|
31973
|
+
fileSize: number;
|
31974
|
+
fileUrl: string;
|
31975
|
+
};
|
31976
|
+
roomId: string;
|
31977
|
+
messageId: string;
|
31978
|
+
emailEngineAttachmentId: string;
|
31979
|
+
}[] | undefined;
|
31980
|
+
}, {
|
31981
|
+
id?: string | undefined;
|
31982
|
+
createdAt?: Date | undefined;
|
31983
|
+
updatedAt?: Date | undefined;
|
31984
|
+
deletedAt?: Date | null | undefined;
|
31985
|
+
roomId?: string | undefined;
|
31986
|
+
subject?: string | undefined;
|
31987
|
+
textPlain?: string | undefined;
|
31988
|
+
textHtml?: string | undefined;
|
31989
|
+
textId?: string | undefined;
|
31990
|
+
emailEngineEmailId?: string | undefined;
|
31991
|
+
emailEngineMessageId?: string | undefined;
|
31992
|
+
emailEngineReplyTo?: string | null | undefined;
|
31993
|
+
direction?: string | undefined;
|
31994
|
+
date?: Date | undefined;
|
31995
|
+
action?: string | undefined;
|
31996
|
+
unseen?: boolean | undefined;
|
31997
|
+
sendAt?: Date | undefined;
|
31998
|
+
starred?: boolean | undefined;
|
31999
|
+
seemsLikeNew?: boolean | undefined;
|
32000
|
+
from?: {
|
31935
32001
|
id: string;
|
31936
32002
|
createdAt: Date;
|
31937
32003
|
updatedAt: Date;
|
@@ -31962,7 +32028,7 @@ export declare const mailContract: {
|
|
31962
32028
|
isNewContact: boolean;
|
31963
32029
|
};
|
31964
32030
|
}[] | undefined;
|
31965
|
-
|
32031
|
+
to?: {
|
31966
32032
|
id: string;
|
31967
32033
|
createdAt: Date;
|
31968
32034
|
updatedAt: Date;
|
@@ -31993,26 +32059,7 @@ export declare const mailContract: {
|
|
31993
32059
|
isNewContact: boolean;
|
31994
32060
|
};
|
31995
32061
|
}[] | undefined;
|
31996
|
-
|
31997
|
-
textPlain?: string | undefined;
|
31998
|
-
textHtml?: string | undefined;
|
31999
|
-
textId?: string | undefined;
|
32000
|
-
emailEngineEmailId?: string | undefined;
|
32001
|
-
emailEngineMessageId?: string | undefined;
|
32002
|
-
emailEngineReplyTo?: string | null | undefined;
|
32003
|
-
unseen?: boolean | undefined;
|
32004
|
-
starred?: boolean | undefined;
|
32005
|
-
seemsLikeNew?: boolean | undefined;
|
32006
|
-
}, {
|
32007
|
-
id?: string | undefined;
|
32008
|
-
direction?: string | undefined;
|
32009
|
-
action?: string | undefined;
|
32010
|
-
date?: Date | undefined;
|
32011
|
-
createdAt?: Date | undefined;
|
32012
|
-
updatedAt?: Date | undefined;
|
32013
|
-
deletedAt?: Date | null | undefined;
|
32014
|
-
roomId?: string | undefined;
|
32015
|
-
from?: {
|
32062
|
+
cc?: {
|
32016
32063
|
id: string;
|
32017
32064
|
createdAt: Date;
|
32018
32065
|
updatedAt: Date;
|
@@ -32043,32 +32090,7 @@ export declare const mailContract: {
|
|
32043
32090
|
isNewContact: boolean;
|
32044
32091
|
};
|
32045
32092
|
}[] | undefined;
|
32046
|
-
|
32047
|
-
id: string;
|
32048
|
-
createdAt: Date;
|
32049
|
-
updatedAt: Date;
|
32050
|
-
deletedAt: Date | null;
|
32051
|
-
fileName: string;
|
32052
|
-
fileType: string;
|
32053
|
-
uploadId: string;
|
32054
|
-
upload: {
|
32055
|
-
id: string;
|
32056
|
-
createdAt: Date;
|
32057
|
-
updatedAt: Date;
|
32058
|
-
deletedAt: Date | null;
|
32059
|
-
extensionName: string;
|
32060
|
-
fileName: string;
|
32061
|
-
fileKey: string;
|
32062
|
-
bucketName: string;
|
32063
|
-
fileSize: number;
|
32064
|
-
fileUrl: string;
|
32065
|
-
};
|
32066
|
-
roomId: string;
|
32067
|
-
messageId: string;
|
32068
|
-
emailEngineAttachmentId: string;
|
32069
|
-
}[] | undefined;
|
32070
|
-
subject?: string | undefined;
|
32071
|
-
to?: {
|
32093
|
+
bcc?: {
|
32072
32094
|
id: string;
|
32073
32095
|
createdAt: Date;
|
32074
32096
|
updatedAt: Date;
|
@@ -32099,78 +32121,30 @@ export declare const mailContract: {
|
|
32099
32121
|
isNewContact: boolean;
|
32100
32122
|
};
|
32101
32123
|
}[] | undefined;
|
32102
|
-
|
32124
|
+
attachments?: {
|
32103
32125
|
id: string;
|
32104
32126
|
createdAt: Date;
|
32105
32127
|
updatedAt: Date;
|
32106
32128
|
deletedAt: Date | null;
|
32107
|
-
|
32108
|
-
|
32109
|
-
|
32110
|
-
|
32111
|
-
name: string;
|
32129
|
+
fileName: string;
|
32130
|
+
fileType: string;
|
32131
|
+
uploadId: string;
|
32132
|
+
upload: {
|
32112
32133
|
id: string;
|
32113
|
-
address: string;
|
32114
32134
|
createdAt: Date;
|
32115
32135
|
updatedAt: Date;
|
32116
32136
|
deletedAt: Date | null;
|
32117
|
-
|
32118
|
-
|
32119
|
-
|
32120
|
-
|
32121
|
-
|
32122
|
-
|
32123
|
-
updatedAt: Date;
|
32124
|
-
deletedAt: Date | null;
|
32125
|
-
notes: string | null;
|
32126
|
-
contactProfile: string | null;
|
32127
|
-
socialProfileUrl: string | null;
|
32128
|
-
};
|
32129
|
-
contactId: string;
|
32130
|
-
isNewContact: boolean;
|
32137
|
+
extensionName: string;
|
32138
|
+
fileName: string;
|
32139
|
+
fileKey: string;
|
32140
|
+
bucketName: string;
|
32141
|
+
fileSize: number;
|
32142
|
+
fileUrl: string;
|
32131
32143
|
};
|
32132
|
-
}[] | undefined;
|
32133
|
-
bcc?: {
|
32134
|
-
id: string;
|
32135
|
-
createdAt: Date;
|
32136
|
-
updatedAt: Date;
|
32137
|
-
deletedAt: Date | null;
|
32138
32144
|
roomId: string;
|
32139
32145
|
messageId: string;
|
32140
|
-
|
32141
|
-
mailUser: {
|
32142
|
-
name: string;
|
32143
|
-
id: string;
|
32144
|
-
address: string;
|
32145
|
-
createdAt: Date;
|
32146
|
-
updatedAt: Date;
|
32147
|
-
deletedAt: Date | null;
|
32148
|
-
contact: {
|
32149
|
-
name: string;
|
32150
|
-
id: string;
|
32151
|
-
channel: string | null;
|
32152
|
-
address: string | null;
|
32153
|
-
createdAt: Date;
|
32154
|
-
updatedAt: Date;
|
32155
|
-
deletedAt: Date | null;
|
32156
|
-
notes: string | null;
|
32157
|
-
contactProfile: string | null;
|
32158
|
-
socialProfileUrl: string | null;
|
32159
|
-
};
|
32160
|
-
contactId: string;
|
32161
|
-
isNewContact: boolean;
|
32162
|
-
};
|
32146
|
+
emailEngineAttachmentId: string;
|
32163
32147
|
}[] | undefined;
|
32164
|
-
sendAt?: Date | undefined;
|
32165
|
-
textPlain?: string | undefined;
|
32166
|
-
textHtml?: string | undefined;
|
32167
|
-
textId?: string | undefined;
|
32168
|
-
emailEngineEmailId?: string | undefined;
|
32169
|
-
emailEngineMessageId?: string | undefined;
|
32170
|
-
emailEngineReplyTo?: string | null | undefined;
|
32171
|
-
unseen?: boolean | undefined;
|
32172
|
-
starred?: boolean | undefined;
|
32173
|
-
seemsLikeNew?: boolean | undefined;
|
32174
32148
|
}>;
|
32175
32149
|
summary: "Update a message";
|
32176
32150
|
method: "PATCH";
|
@@ -32181,7 +32155,6 @@ export declare const mailContract: {
|
|
32181
32155
|
}, {
|
32182
32156
|
id: string;
|
32183
32157
|
}>;
|
32184
|
-
path: "email-service/mail/message/:id";
|
32185
32158
|
responses: {
|
32186
32159
|
401: import("zod").ZodObject<{
|
32187
32160
|
message: import("zod").ZodString;
|
@@ -32213,9 +32186,8 @@ export declare const mailContract: {
|
|
32213
32186
|
message: string;
|
32214
32187
|
error?: any;
|
32215
32188
|
}>;
|
32216
|
-
200: import("zod").ZodObject<
|
32189
|
+
200: import("zod").ZodObject<{
|
32217
32190
|
requestId: import("zod").ZodString;
|
32218
|
-
}, {
|
32219
32191
|
data: import("zod").ZodObject<{
|
32220
32192
|
id: import("zod").ZodString;
|
32221
32193
|
createdAt: import("zod").ZodDate;
|
@@ -33285,7 +33257,7 @@ export declare const mailContract: {
|
|
33285
33257
|
starred: boolean;
|
33286
33258
|
seemsLikeNew: boolean;
|
33287
33259
|
}>;
|
33288
|
-
}
|
33260
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33289
33261
|
data: {
|
33290
33262
|
id: string;
|
33291
33263
|
direction: string;
|
@@ -33629,6 +33601,7 @@ export declare const mailContract: {
|
|
33629
33601
|
requestId: string;
|
33630
33602
|
}>;
|
33631
33603
|
};
|
33604
|
+
path: "email-service/mail/message/:id";
|
33632
33605
|
};
|
33633
33606
|
delete: {
|
33634
33607
|
body: null;
|
@@ -33641,7 +33614,6 @@ export declare const mailContract: {
|
|
33641
33614
|
}, {
|
33642
33615
|
id: string;
|
33643
33616
|
}>;
|
33644
|
-
path: "email-service/mail/message/:id";
|
33645
33617
|
responses: {
|
33646
33618
|
401: import("zod").ZodObject<{
|
33647
33619
|
message: import("zod").ZodString;
|
@@ -33673,9 +33645,8 @@ export declare const mailContract: {
|
|
33673
33645
|
message: string;
|
33674
33646
|
error?: any;
|
33675
33647
|
}>;
|
33676
|
-
200: import("zod").ZodObject<
|
33648
|
+
200: import("zod").ZodObject<{
|
33677
33649
|
requestId: import("zod").ZodString;
|
33678
|
-
}, {
|
33679
33650
|
data: import("zod").ZodObject<{
|
33680
33651
|
id: import("zod").ZodString;
|
33681
33652
|
createdAt: import("zod").ZodDate;
|
@@ -34745,7 +34716,7 @@ export declare const mailContract: {
|
|
34745
34716
|
starred: boolean;
|
34746
34717
|
seemsLikeNew: boolean;
|
34747
34718
|
}>;
|
34748
|
-
}
|
34719
|
+
}, "strip", import("zod").ZodTypeAny, {
|
34749
34720
|
data: {
|
34750
34721
|
id: string;
|
34751
34722
|
direction: string;
|
@@ -35089,6 +35060,7 @@ export declare const mailContract: {
|
|
35089
35060
|
requestId: string;
|
35090
35061
|
}>;
|
35091
35062
|
};
|
35063
|
+
path: "email-service/mail/message/:id";
|
35092
35064
|
};
|
35093
35065
|
cancelScheduledMessage: {
|
35094
35066
|
body: null;
|
@@ -35101,7 +35073,6 @@ export declare const mailContract: {
|
|
35101
35073
|
}, {
|
35102
35074
|
id: string;
|
35103
35075
|
}>;
|
35104
|
-
path: "email-service/mail/message/scheduled_message/:id";
|
35105
35076
|
responses: {
|
35106
35077
|
401: import("zod").ZodObject<{
|
35107
35078
|
message: import("zod").ZodString;
|
@@ -35133,9 +35104,8 @@ export declare const mailContract: {
|
|
35133
35104
|
message: string;
|
35134
35105
|
error?: any;
|
35135
35106
|
}>;
|
35136
|
-
200: import("zod").ZodObject<
|
35107
|
+
200: import("zod").ZodObject<{
|
35137
35108
|
requestId: import("zod").ZodString;
|
35138
|
-
}, {
|
35139
35109
|
data: import("zod").ZodObject<{
|
35140
35110
|
totalMessagesCount: import("zod").ZodNumber;
|
35141
35111
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -35143,7 +35113,7 @@ export declare const mailContract: {
|
|
35143
35113
|
}, {
|
35144
35114
|
totalMessagesCount: number;
|
35145
35115
|
}>;
|
35146
|
-
}
|
35116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35147
35117
|
data: {
|
35148
35118
|
totalMessagesCount: number;
|
35149
35119
|
};
|
@@ -35155,6 +35125,7 @@ export declare const mailContract: {
|
|
35155
35125
|
requestId: string;
|
35156
35126
|
}>;
|
35157
35127
|
};
|
35128
|
+
path: "email-service/mail/message/scheduled_message/:id";
|
35158
35129
|
};
|
35159
35130
|
};
|
35160
35131
|
account: {
|
@@ -35177,23 +35148,6 @@ export declare const mailContract: {
|
|
35177
35148
|
}>;
|
35178
35149
|
summary: "Register a new mail account";
|
35179
35150
|
method: "POST";
|
35180
|
-
path: "email-service/mail/account";
|
35181
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35182
|
-
'x-tenant': import("zod").ZodString;
|
35183
|
-
authorization: import("zod").ZodString;
|
35184
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
35185
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
35186
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35187
|
-
'x-tenant': string;
|
35188
|
-
authorization: string;
|
35189
|
-
'x-client-timezone': string;
|
35190
|
-
'x-code'?: string | undefined;
|
35191
|
-
}, {
|
35192
|
-
'x-tenant': string;
|
35193
|
-
authorization: string;
|
35194
|
-
'x-code'?: string | undefined;
|
35195
|
-
'x-client-timezone'?: string | undefined;
|
35196
|
-
}>>>;
|
35197
35151
|
responses: {
|
35198
35152
|
401: import("zod").ZodObject<{
|
35199
35153
|
message: import("zod").ZodString;
|
@@ -35225,9 +35179,8 @@ export declare const mailContract: {
|
|
35225
35179
|
message: string;
|
35226
35180
|
error?: any;
|
35227
35181
|
}>;
|
35228
|
-
201: import("zod").ZodObject<
|
35182
|
+
201: import("zod").ZodObject<{
|
35229
35183
|
requestId: import("zod").ZodString;
|
35230
|
-
}, {
|
35231
35184
|
data: import("zod").ZodObject<{
|
35232
35185
|
id: import("zod").ZodString;
|
35233
35186
|
createdAt: import("zod").ZodDate;
|
@@ -35332,7 +35285,7 @@ export declare const mailContract: {
|
|
35332
35285
|
useTlsForImap: boolean;
|
35333
35286
|
};
|
35334
35287
|
}>;
|
35335
|
-
}
|
35288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35336
35289
|
data: {
|
35337
35290
|
name: string;
|
35338
35291
|
id: string;
|
@@ -35411,21 +35364,7 @@ export declare const mailContract: {
|
|
35411
35364
|
message: string;
|
35412
35365
|
}>;
|
35413
35366
|
};
|
35414
|
-
|
35415
|
-
generateOAuth2AuthenticationLink: {
|
35416
|
-
body: import("zod").ZodObject<{
|
35417
|
-
oAuth2AppId: import("zod").ZodString;
|
35418
|
-
mailServerId: import("zod").ZodString;
|
35419
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35420
|
-
mailServerId: string;
|
35421
|
-
oAuth2AppId: string;
|
35422
|
-
}, {
|
35423
|
-
mailServerId: string;
|
35424
|
-
oAuth2AppId: string;
|
35425
|
-
}>;
|
35426
|
-
summary: "Generate oauth2 authentication form link";
|
35427
|
-
method: "POST";
|
35428
|
-
path: "email-service/mail/account/oauth2_authentication_form_link";
|
35367
|
+
path: "email-service/mail/account";
|
35429
35368
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35430
35369
|
'x-tenant': import("zod").ZodString;
|
35431
35370
|
authorization: import("zod").ZodString;
|
@@ -35442,6 +35381,20 @@ export declare const mailContract: {
|
|
35442
35381
|
'x-code'?: string | undefined;
|
35443
35382
|
'x-client-timezone'?: string | undefined;
|
35444
35383
|
}>>>;
|
35384
|
+
};
|
35385
|
+
generateOAuth2AuthenticationLink: {
|
35386
|
+
body: import("zod").ZodObject<{
|
35387
|
+
oAuth2AppId: import("zod").ZodString;
|
35388
|
+
mailServerId: import("zod").ZodString;
|
35389
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35390
|
+
mailServerId: string;
|
35391
|
+
oAuth2AppId: string;
|
35392
|
+
}, {
|
35393
|
+
mailServerId: string;
|
35394
|
+
oAuth2AppId: string;
|
35395
|
+
}>;
|
35396
|
+
summary: "Generate oauth2 authentication form link";
|
35397
|
+
method: "POST";
|
35445
35398
|
responses: {
|
35446
35399
|
401: import("zod").ZodObject<{
|
35447
35400
|
message: import("zod").ZodString;
|
@@ -35473,9 +35426,8 @@ export declare const mailContract: {
|
|
35473
35426
|
message: string;
|
35474
35427
|
error?: any;
|
35475
35428
|
}>;
|
35476
|
-
201: import("zod").ZodObject<
|
35429
|
+
201: import("zod").ZodObject<{
|
35477
35430
|
requestId: import("zod").ZodString;
|
35478
|
-
}, {
|
35479
35431
|
data: import("zod").ZodObject<{
|
35480
35432
|
url: import("zod").ZodString;
|
35481
35433
|
account: import("zod").ZodString;
|
@@ -35486,7 +35438,7 @@ export declare const mailContract: {
|
|
35486
35438
|
url: string;
|
35487
35439
|
account: string;
|
35488
35440
|
}>;
|
35489
|
-
}
|
35441
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35490
35442
|
data: {
|
35491
35443
|
url: string;
|
35492
35444
|
account: string;
|
@@ -35521,11 +35473,7 @@ export declare const mailContract: {
|
|
35521
35473
|
message: string;
|
35522
35474
|
}>;
|
35523
35475
|
};
|
35524
|
-
|
35525
|
-
sync: {
|
35526
|
-
summary: "Sync all accounts state from email engine to system";
|
35527
|
-
method: "GET";
|
35528
|
-
path: "email-service/mail/account/sync";
|
35476
|
+
path: "email-service/mail/account/oauth2_authentication_form_link";
|
35529
35477
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35530
35478
|
'x-tenant': import("zod").ZodString;
|
35531
35479
|
authorization: import("zod").ZodString;
|
@@ -35542,6 +35490,10 @@ export declare const mailContract: {
|
|
35542
35490
|
'x-code'?: string | undefined;
|
35543
35491
|
'x-client-timezone'?: string | undefined;
|
35544
35492
|
}>>>;
|
35493
|
+
};
|
35494
|
+
sync: {
|
35495
|
+
summary: "Sync all accounts state from email engine to system";
|
35496
|
+
method: "GET";
|
35545
35497
|
responses: {
|
35546
35498
|
401: import("zod").ZodObject<{
|
35547
35499
|
message: import("zod").ZodString;
|
@@ -35573,11 +35525,10 @@ export declare const mailContract: {
|
|
35573
35525
|
message: string;
|
35574
35526
|
error?: any;
|
35575
35527
|
}>;
|
35576
|
-
200: import("zod").ZodObject<
|
35528
|
+
200: import("zod").ZodObject<{
|
35577
35529
|
requestId: import("zod").ZodString;
|
35578
|
-
}, {
|
35579
35530
|
message: import("zod").ZodString;
|
35580
|
-
}
|
35531
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35581
35532
|
message: string;
|
35582
35533
|
requestId: string;
|
35583
35534
|
}, {
|
@@ -35585,18 +35536,7 @@ export declare const mailContract: {
|
|
35585
35536
|
requestId: string;
|
35586
35537
|
}>;
|
35587
35538
|
};
|
35588
|
-
|
35589
|
-
getById: {
|
35590
|
-
summary: "Get an account by id";
|
35591
|
-
method: "GET";
|
35592
|
-
pathParams: import("zod").ZodObject<{
|
35593
|
-
id: import("zod").ZodString;
|
35594
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35595
|
-
id: string;
|
35596
|
-
}, {
|
35597
|
-
id: string;
|
35598
|
-
}>;
|
35599
|
-
path: "email-service/mail/account/:id";
|
35539
|
+
path: "email-service/mail/account/sync";
|
35600
35540
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35601
35541
|
'x-tenant': import("zod").ZodString;
|
35602
35542
|
authorization: import("zod").ZodString;
|
@@ -35613,6 +35553,17 @@ export declare const mailContract: {
|
|
35613
35553
|
'x-code'?: string | undefined;
|
35614
35554
|
'x-client-timezone'?: string | undefined;
|
35615
35555
|
}>>>;
|
35556
|
+
};
|
35557
|
+
getById: {
|
35558
|
+
summary: "Get an account by id";
|
35559
|
+
method: "GET";
|
35560
|
+
pathParams: import("zod").ZodObject<{
|
35561
|
+
id: import("zod").ZodString;
|
35562
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35563
|
+
id: string;
|
35564
|
+
}, {
|
35565
|
+
id: string;
|
35566
|
+
}>;
|
35616
35567
|
responses: {
|
35617
35568
|
401: import("zod").ZodObject<{
|
35618
35569
|
message: import("zod").ZodString;
|
@@ -35644,9 +35595,8 @@ export declare const mailContract: {
|
|
35644
35595
|
message: string;
|
35645
35596
|
error?: any;
|
35646
35597
|
}>;
|
35647
|
-
200: import("zod").ZodObject<
|
35598
|
+
200: import("zod").ZodObject<{
|
35648
35599
|
requestId: import("zod").ZodString;
|
35649
|
-
}, {
|
35650
35600
|
data: import("zod").ZodObject<{
|
35651
35601
|
id: import("zod").ZodString;
|
35652
35602
|
createdAt: import("zod").ZodDate;
|
@@ -35751,7 +35701,7 @@ export declare const mailContract: {
|
|
35751
35701
|
useTlsForImap: boolean;
|
35752
35702
|
};
|
35753
35703
|
}>;
|
35754
|
-
}
|
35704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35755
35705
|
data: {
|
35756
35706
|
name: string;
|
35757
35707
|
id: string;
|
@@ -35809,21 +35759,7 @@ export declare const mailContract: {
|
|
35809
35759
|
requestId: string;
|
35810
35760
|
}>;
|
35811
35761
|
};
|
35812
|
-
|
35813
|
-
getAll: {
|
35814
|
-
summary: "Get all accounts";
|
35815
|
-
method: "GET";
|
35816
|
-
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
35817
|
-
state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
|
35818
|
-
withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
35819
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35820
|
-
withDeleted: boolean;
|
35821
|
-
state?: "connected" | "disconnected" | undefined;
|
35822
|
-
}, {
|
35823
|
-
state?: "connected" | "disconnected" | undefined;
|
35824
|
-
withDeleted?: boolean | undefined;
|
35825
|
-
}>>;
|
35826
|
-
path: "email-service/mail/account";
|
35762
|
+
path: "email-service/mail/account/:id";
|
35827
35763
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35828
35764
|
'x-tenant': import("zod").ZodString;
|
35829
35765
|
authorization: import("zod").ZodString;
|
@@ -35840,6 +35776,20 @@ export declare const mailContract: {
|
|
35840
35776
|
'x-code'?: string | undefined;
|
35841
35777
|
'x-client-timezone'?: string | undefined;
|
35842
35778
|
}>>>;
|
35779
|
+
};
|
35780
|
+
getAll: {
|
35781
|
+
summary: "Get all accounts";
|
35782
|
+
method: "GET";
|
35783
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
35784
|
+
state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
|
35785
|
+
withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
35786
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35787
|
+
withDeleted: boolean;
|
35788
|
+
state?: "connected" | "disconnected" | undefined;
|
35789
|
+
}, {
|
35790
|
+
state?: "connected" | "disconnected" | undefined;
|
35791
|
+
withDeleted?: boolean | undefined;
|
35792
|
+
}>>;
|
35843
35793
|
responses: {
|
35844
35794
|
401: import("zod").ZodObject<{
|
35845
35795
|
message: import("zod").ZodString;
|
@@ -35871,9 +35821,8 @@ export declare const mailContract: {
|
|
35871
35821
|
message: string;
|
35872
35822
|
error?: any;
|
35873
35823
|
}>;
|
35874
|
-
200: import("zod").ZodObject<
|
35824
|
+
200: import("zod").ZodObject<{
|
35875
35825
|
requestId: import("zod").ZodString;
|
35876
|
-
}, {
|
35877
35826
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
35878
35827
|
id: import("zod").ZodString;
|
35879
35828
|
createdAt: import("zod").ZodDate;
|
@@ -35978,7 +35927,7 @@ export declare const mailContract: {
|
|
35978
35927
|
useTlsForImap: boolean;
|
35979
35928
|
};
|
35980
35929
|
}>, "many">;
|
35981
|
-
}
|
35930
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35982
35931
|
data: {
|
35983
35932
|
name: string;
|
35984
35933
|
id: string;
|
@@ -36036,6 +35985,23 @@ export declare const mailContract: {
|
|
36036
35985
|
requestId: string;
|
36037
35986
|
}>;
|
36038
35987
|
};
|
35988
|
+
path: "email-service/mail/account";
|
35989
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35990
|
+
'x-tenant': import("zod").ZodString;
|
35991
|
+
authorization: import("zod").ZodString;
|
35992
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
35993
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
35994
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35995
|
+
'x-tenant': string;
|
35996
|
+
authorization: string;
|
35997
|
+
'x-client-timezone': string;
|
35998
|
+
'x-code'?: string | undefined;
|
35999
|
+
}, {
|
36000
|
+
'x-tenant': string;
|
36001
|
+
authorization: string;
|
36002
|
+
'x-code'?: string | undefined;
|
36003
|
+
'x-client-timezone'?: string | undefined;
|
36004
|
+
}>>>;
|
36039
36005
|
};
|
36040
36006
|
update: {
|
36041
36007
|
body: import("zod").ZodObject<{
|
@@ -36092,13 +36058,12 @@ export declare const mailContract: {
|
|
36092
36058
|
}>>;
|
36093
36059
|
state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>>;
|
36094
36060
|
}, "strip", import("zod").ZodTypeAny, {
|
36095
|
-
name?: string | undefined;
|
36096
36061
|
id?: string | undefined;
|
36097
|
-
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
36098
|
-
address?: string | undefined;
|
36099
36062
|
createdAt?: Date | undefined;
|
36100
36063
|
updatedAt?: Date | undefined;
|
36101
36064
|
deletedAt?: Date | null | undefined;
|
36065
|
+
name?: string | undefined;
|
36066
|
+
address?: string | undefined;
|
36102
36067
|
accountId?: string | undefined;
|
36103
36068
|
mailServerId?: string | undefined;
|
36104
36069
|
mailServer?: {
|
@@ -36116,14 +36081,14 @@ export declare const mailContract: {
|
|
36116
36081
|
imapTlsPort: number;
|
36117
36082
|
useTlsForImap: boolean;
|
36118
36083
|
} | undefined;
|
36084
|
+
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
36119
36085
|
}, {
|
36120
|
-
name?: string | undefined;
|
36121
36086
|
id?: string | undefined;
|
36122
|
-
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
36123
|
-
address?: string | undefined;
|
36124
36087
|
createdAt?: Date | undefined;
|
36125
36088
|
updatedAt?: Date | undefined;
|
36126
36089
|
deletedAt?: Date | null | undefined;
|
36090
|
+
name?: string | undefined;
|
36091
|
+
address?: string | undefined;
|
36127
36092
|
accountId?: string | undefined;
|
36128
36093
|
mailServerId?: string | undefined;
|
36129
36094
|
mailServer?: {
|
@@ -36141,6 +36106,7 @@ export declare const mailContract: {
|
|
36141
36106
|
imapTlsPort: number;
|
36142
36107
|
useTlsForImap: boolean;
|
36143
36108
|
} | undefined;
|
36109
|
+
state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
|
36144
36110
|
}>;
|
36145
36111
|
summary: "Update a account by id";
|
36146
36112
|
method: "PATCH";
|
@@ -36151,23 +36117,6 @@ export declare const mailContract: {
|
|
36151
36117
|
}, {
|
36152
36118
|
id: string;
|
36153
36119
|
}>;
|
36154
|
-
path: "email-service/mail/account/:id";
|
36155
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36156
|
-
'x-tenant': import("zod").ZodString;
|
36157
|
-
authorization: import("zod").ZodString;
|
36158
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
36159
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
36160
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36161
|
-
'x-tenant': string;
|
36162
|
-
authorization: string;
|
36163
|
-
'x-client-timezone': string;
|
36164
|
-
'x-code'?: string | undefined;
|
36165
|
-
}, {
|
36166
|
-
'x-tenant': string;
|
36167
|
-
authorization: string;
|
36168
|
-
'x-code'?: string | undefined;
|
36169
|
-
'x-client-timezone'?: string | undefined;
|
36170
|
-
}>>>;
|
36171
36120
|
responses: {
|
36172
36121
|
401: import("zod").ZodObject<{
|
36173
36122
|
message: import("zod").ZodString;
|
@@ -36199,9 +36148,8 @@ export declare const mailContract: {
|
|
36199
36148
|
message: string;
|
36200
36149
|
error?: any;
|
36201
36150
|
}>;
|
36202
|
-
201: import("zod").ZodObject<
|
36151
|
+
201: import("zod").ZodObject<{
|
36203
36152
|
requestId: import("zod").ZodString;
|
36204
|
-
}, {
|
36205
36153
|
data: import("zod").ZodObject<{
|
36206
36154
|
id: import("zod").ZodString;
|
36207
36155
|
createdAt: import("zod").ZodDate;
|
@@ -36306,7 +36254,7 @@ export declare const mailContract: {
|
|
36306
36254
|
useTlsForImap: boolean;
|
36307
36255
|
};
|
36308
36256
|
}>;
|
36309
|
-
}
|
36257
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36310
36258
|
data: {
|
36311
36259
|
name: string;
|
36312
36260
|
id: string;
|
@@ -36364,19 +36312,7 @@ export declare const mailContract: {
|
|
36364
36312
|
requestId: string;
|
36365
36313
|
}>;
|
36366
36314
|
};
|
36367
|
-
|
36368
|
-
disconnect: {
|
36369
|
-
body: null;
|
36370
|
-
summary: "Disconnect an account";
|
36371
|
-
method: "PATCH";
|
36372
|
-
pathParams: import("zod").ZodObject<{
|
36373
|
-
id: import("zod").ZodString;
|
36374
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36375
|
-
id: string;
|
36376
|
-
}, {
|
36377
|
-
id: string;
|
36378
|
-
}>;
|
36379
|
-
path: "email-service/mail/account/:id/disconnect";
|
36315
|
+
path: "email-service/mail/account/:id";
|
36380
36316
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36381
36317
|
'x-tenant': import("zod").ZodString;
|
36382
36318
|
authorization: import("zod").ZodString;
|
@@ -36393,6 +36329,18 @@ export declare const mailContract: {
|
|
36393
36329
|
'x-code'?: string | undefined;
|
36394
36330
|
'x-client-timezone'?: string | undefined;
|
36395
36331
|
}>>>;
|
36332
|
+
};
|
36333
|
+
disconnect: {
|
36334
|
+
body: null;
|
36335
|
+
summary: "Disconnect an account";
|
36336
|
+
method: "PATCH";
|
36337
|
+
pathParams: import("zod").ZodObject<{
|
36338
|
+
id: import("zod").ZodString;
|
36339
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36340
|
+
id: string;
|
36341
|
+
}, {
|
36342
|
+
id: string;
|
36343
|
+
}>;
|
36396
36344
|
responses: {
|
36397
36345
|
401: import("zod").ZodObject<{
|
36398
36346
|
message: import("zod").ZodString;
|
@@ -36424,9 +36372,8 @@ export declare const mailContract: {
|
|
36424
36372
|
message: string;
|
36425
36373
|
error?: any;
|
36426
36374
|
}>;
|
36427
|
-
201: import("zod").ZodObject<
|
36375
|
+
201: import("zod").ZodObject<{
|
36428
36376
|
requestId: import("zod").ZodString;
|
36429
|
-
}, {
|
36430
36377
|
data: import("zod").ZodObject<{
|
36431
36378
|
id: import("zod").ZodString;
|
36432
36379
|
createdAt: import("zod").ZodDate;
|
@@ -36531,7 +36478,7 @@ export declare const mailContract: {
|
|
36531
36478
|
useTlsForImap: boolean;
|
36532
36479
|
};
|
36533
36480
|
}>;
|
36534
|
-
}
|
36481
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36535
36482
|
data: {
|
36536
36483
|
name: string;
|
36537
36484
|
id: string;
|
@@ -36589,19 +36536,7 @@ export declare const mailContract: {
|
|
36589
36536
|
requestId: string;
|
36590
36537
|
}>;
|
36591
36538
|
};
|
36592
|
-
|
36593
|
-
reconnect: {
|
36594
|
-
body: null;
|
36595
|
-
summary: "Reconnect a disconncted account";
|
36596
|
-
method: "PATCH";
|
36597
|
-
pathParams: import("zod").ZodObject<{
|
36598
|
-
id: import("zod").ZodString;
|
36599
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36600
|
-
id: string;
|
36601
|
-
}, {
|
36602
|
-
id: string;
|
36603
|
-
}>;
|
36604
|
-
path: "email-service/mail/account/:id/reconnect";
|
36539
|
+
path: "email-service/mail/account/:id/disconnect";
|
36605
36540
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36606
36541
|
'x-tenant': import("zod").ZodString;
|
36607
36542
|
authorization: import("zod").ZodString;
|
@@ -36618,6 +36553,18 @@ export declare const mailContract: {
|
|
36618
36553
|
'x-code'?: string | undefined;
|
36619
36554
|
'x-client-timezone'?: string | undefined;
|
36620
36555
|
}>>>;
|
36556
|
+
};
|
36557
|
+
reconnect: {
|
36558
|
+
body: null;
|
36559
|
+
summary: "Reconnect a disconncted account";
|
36560
|
+
method: "PATCH";
|
36561
|
+
pathParams: import("zod").ZodObject<{
|
36562
|
+
id: import("zod").ZodString;
|
36563
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36564
|
+
id: string;
|
36565
|
+
}, {
|
36566
|
+
id: string;
|
36567
|
+
}>;
|
36621
36568
|
responses: {
|
36622
36569
|
401: import("zod").ZodObject<{
|
36623
36570
|
message: import("zod").ZodString;
|
@@ -36649,9 +36596,8 @@ export declare const mailContract: {
|
|
36649
36596
|
message: string;
|
36650
36597
|
error?: any;
|
36651
36598
|
}>;
|
36652
|
-
201: import("zod").ZodObject<
|
36599
|
+
201: import("zod").ZodObject<{
|
36653
36600
|
requestId: import("zod").ZodString;
|
36654
|
-
}, {
|
36655
36601
|
data: import("zod").ZodObject<{
|
36656
36602
|
id: import("zod").ZodString;
|
36657
36603
|
createdAt: import("zod").ZodDate;
|
@@ -36756,7 +36702,7 @@ export declare const mailContract: {
|
|
36756
36702
|
useTlsForImap: boolean;
|
36757
36703
|
};
|
36758
36704
|
}>;
|
36759
|
-
}
|
36705
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36760
36706
|
data: {
|
36761
36707
|
name: string;
|
36762
36708
|
id: string;
|
@@ -36814,19 +36760,7 @@ export declare const mailContract: {
|
|
36814
36760
|
requestId: string;
|
36815
36761
|
}>;
|
36816
36762
|
};
|
36817
|
-
|
36818
|
-
delete: {
|
36819
|
-
body: null;
|
36820
|
-
summary: "Delete an account by id";
|
36821
|
-
method: "DELETE";
|
36822
|
-
pathParams: import("zod").ZodObject<{
|
36823
|
-
id: import("zod").ZodString;
|
36824
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36825
|
-
id: string;
|
36826
|
-
}, {
|
36827
|
-
id: string;
|
36828
|
-
}>;
|
36829
|
-
path: "email-service/mail/account/:id";
|
36763
|
+
path: "email-service/mail/account/:id/reconnect";
|
36830
36764
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36831
36765
|
'x-tenant': import("zod").ZodString;
|
36832
36766
|
authorization: import("zod").ZodString;
|
@@ -36843,6 +36777,18 @@ export declare const mailContract: {
|
|
36843
36777
|
'x-code'?: string | undefined;
|
36844
36778
|
'x-client-timezone'?: string | undefined;
|
36845
36779
|
}>>>;
|
36780
|
+
};
|
36781
|
+
delete: {
|
36782
|
+
body: null;
|
36783
|
+
summary: "Delete an account by id";
|
36784
|
+
method: "DELETE";
|
36785
|
+
pathParams: import("zod").ZodObject<{
|
36786
|
+
id: import("zod").ZodString;
|
36787
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36788
|
+
id: string;
|
36789
|
+
}, {
|
36790
|
+
id: string;
|
36791
|
+
}>;
|
36846
36792
|
responses: {
|
36847
36793
|
401: import("zod").ZodObject<{
|
36848
36794
|
message: import("zod").ZodString;
|
@@ -36874,11 +36820,10 @@ export declare const mailContract: {
|
|
36874
36820
|
message: string;
|
36875
36821
|
error?: any;
|
36876
36822
|
}>;
|
36877
|
-
200: import("zod").ZodObject<
|
36823
|
+
200: import("zod").ZodObject<{
|
36878
36824
|
requestId: import("zod").ZodString;
|
36879
|
-
}, {
|
36880
36825
|
message: import("zod").ZodString;
|
36881
|
-
}
|
36826
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36882
36827
|
message: string;
|
36883
36828
|
requestId: string;
|
36884
36829
|
}, {
|
@@ -36886,19 +36831,7 @@ export declare const mailContract: {
|
|
36886
36831
|
requestId: string;
|
36887
36832
|
}>;
|
36888
36833
|
};
|
36889
|
-
|
36890
|
-
deleteEmailEngineAcc: {
|
36891
|
-
body: null;
|
36892
|
-
summary: "Delete an account by id";
|
36893
|
-
method: "DELETE";
|
36894
|
-
pathParams: import("zod").ZodObject<{
|
36895
|
-
account: import("zod").ZodString;
|
36896
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36897
|
-
account: string;
|
36898
|
-
}, {
|
36899
|
-
account: string;
|
36900
|
-
}>;
|
36901
|
-
path: "email-service/mail/account/email-engine/:account";
|
36834
|
+
path: "email-service/mail/account/:id";
|
36902
36835
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36903
36836
|
'x-tenant': import("zod").ZodString;
|
36904
36837
|
authorization: import("zod").ZodString;
|
@@ -36915,6 +36848,18 @@ export declare const mailContract: {
|
|
36915
36848
|
'x-code'?: string | undefined;
|
36916
36849
|
'x-client-timezone'?: string | undefined;
|
36917
36850
|
}>>>;
|
36851
|
+
};
|
36852
|
+
deleteEmailEngineAcc: {
|
36853
|
+
body: null;
|
36854
|
+
summary: "Delete an account by id";
|
36855
|
+
method: "DELETE";
|
36856
|
+
pathParams: import("zod").ZodObject<{
|
36857
|
+
account: import("zod").ZodString;
|
36858
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36859
|
+
account: string;
|
36860
|
+
}, {
|
36861
|
+
account: string;
|
36862
|
+
}>;
|
36918
36863
|
responses: {
|
36919
36864
|
401: import("zod").ZodObject<{
|
36920
36865
|
message: import("zod").ZodString;
|
@@ -36946,11 +36891,10 @@ export declare const mailContract: {
|
|
36946
36891
|
message: string;
|
36947
36892
|
error?: any;
|
36948
36893
|
}>;
|
36949
|
-
200: import("zod").ZodObject<
|
36894
|
+
200: import("zod").ZodObject<{
|
36950
36895
|
requestId: import("zod").ZodString;
|
36951
|
-
}, {
|
36952
36896
|
message: import("zod").ZodString;
|
36953
|
-
}
|
36897
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36954
36898
|
message: string;
|
36955
36899
|
requestId: string;
|
36956
36900
|
}, {
|
@@ -36958,21 +36902,7 @@ export declare const mailContract: {
|
|
36958
36902
|
requestId: string;
|
36959
36903
|
}>;
|
36960
36904
|
};
|
36961
|
-
|
36962
|
-
createOAuth2Acc: {
|
36963
|
-
body: import("zod").ZodObject<{
|
36964
|
-
account: import("zod").ZodString;
|
36965
|
-
name: import("zod").ZodString;
|
36966
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36967
|
-
name: string;
|
36968
|
-
account: string;
|
36969
|
-
}, {
|
36970
|
-
name: string;
|
36971
|
-
account: string;
|
36972
|
-
}>;
|
36973
|
-
summary: "Register OAuth2 account.";
|
36974
|
-
method: "POST";
|
36975
|
-
path: "email-service/mail/account/oauth2";
|
36905
|
+
path: "email-service/mail/account/email-engine/:account";
|
36976
36906
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36977
36907
|
'x-tenant': import("zod").ZodString;
|
36978
36908
|
authorization: import("zod").ZodString;
|
@@ -36989,6 +36919,20 @@ export declare const mailContract: {
|
|
36989
36919
|
'x-code'?: string | undefined;
|
36990
36920
|
'x-client-timezone'?: string | undefined;
|
36991
36921
|
}>>>;
|
36922
|
+
};
|
36923
|
+
createOAuth2Acc: {
|
36924
|
+
body: import("zod").ZodObject<{
|
36925
|
+
account: import("zod").ZodString;
|
36926
|
+
name: import("zod").ZodString;
|
36927
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36928
|
+
name: string;
|
36929
|
+
account: string;
|
36930
|
+
}, {
|
36931
|
+
name: string;
|
36932
|
+
account: string;
|
36933
|
+
}>;
|
36934
|
+
summary: "Register OAuth2 account.";
|
36935
|
+
method: "POST";
|
36992
36936
|
responses: {
|
36993
36937
|
401: import("zod").ZodObject<{
|
36994
36938
|
message: import("zod").ZodString;
|
@@ -37125,6 +37069,23 @@ export declare const mailContract: {
|
|
37125
37069
|
};
|
37126
37070
|
}>;
|
37127
37071
|
};
|
37072
|
+
path: "email-service/mail/account/oauth2";
|
37073
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
37074
|
+
'x-tenant': import("zod").ZodString;
|
37075
|
+
authorization: import("zod").ZodString;
|
37076
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
37077
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
37078
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37079
|
+
'x-tenant': string;
|
37080
|
+
authorization: string;
|
37081
|
+
'x-client-timezone': string;
|
37082
|
+
'x-code'?: string | undefined;
|
37083
|
+
}, {
|
37084
|
+
'x-tenant': string;
|
37085
|
+
authorization: string;
|
37086
|
+
'x-code'?: string | undefined;
|
37087
|
+
'x-client-timezone'?: string | undefined;
|
37088
|
+
}>>>;
|
37128
37089
|
};
|
37129
37090
|
};
|
37130
37091
|
server: {
|
@@ -37162,7 +37123,6 @@ export declare const mailContract: {
|
|
37162
37123
|
}>;
|
37163
37124
|
summary: "Register a new mail server";
|
37164
37125
|
method: "POST";
|
37165
|
-
path: "email-service/mail/server/";
|
37166
37126
|
responses: {
|
37167
37127
|
401: import("zod").ZodObject<{
|
37168
37128
|
message: import("zod").ZodString;
|
@@ -37194,9 +37154,8 @@ export declare const mailContract: {
|
|
37194
37154
|
message: string;
|
37195
37155
|
error?: any;
|
37196
37156
|
}>;
|
37197
|
-
201: import("zod").ZodObject<
|
37157
|
+
201: import("zod").ZodObject<{
|
37198
37158
|
requestId: import("zod").ZodString;
|
37199
|
-
}, {
|
37200
37159
|
data: import("zod").ZodObject<{
|
37201
37160
|
id: import("zod").ZodString;
|
37202
37161
|
createdAt: import("zod").ZodDate;
|
@@ -37240,7 +37199,7 @@ export declare const mailContract: {
|
|
37240
37199
|
imapTlsPort: number;
|
37241
37200
|
useTlsForImap: boolean;
|
37242
37201
|
}>;
|
37243
|
-
}
|
37202
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37244
37203
|
data: {
|
37245
37204
|
name: string;
|
37246
37205
|
id: string;
|
@@ -37276,11 +37235,11 @@ export declare const mailContract: {
|
|
37276
37235
|
requestId: string;
|
37277
37236
|
}>;
|
37278
37237
|
};
|
37238
|
+
path: "email-service/mail/server/";
|
37279
37239
|
};
|
37280
37240
|
getOAuth2Apps: {
|
37281
37241
|
summary: "Get all oauth2 apps";
|
37282
37242
|
method: "GET";
|
37283
|
-
path: "email-service/mail/server/oauth2/apps";
|
37284
37243
|
responses: {
|
37285
37244
|
401: import("zod").ZodObject<{
|
37286
37245
|
message: import("zod").ZodString;
|
@@ -37312,9 +37271,8 @@ export declare const mailContract: {
|
|
37312
37271
|
message: string;
|
37313
37272
|
error?: any;
|
37314
37273
|
}>;
|
37315
|
-
200: import("zod").ZodObject<
|
37274
|
+
200: import("zod").ZodObject<{
|
37316
37275
|
requestId: import("zod").ZodString;
|
37317
|
-
}, {
|
37318
37276
|
data: import("zod").ZodObject<{
|
37319
37277
|
total: import("zod").ZodNumber;
|
37320
37278
|
pages: import("zod").ZodNumber;
|
@@ -37426,7 +37384,7 @@ export declare const mailContract: {
|
|
37426
37384
|
serviceKey: string;
|
37427
37385
|
}[];
|
37428
37386
|
}>;
|
37429
|
-
}
|
37387
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37430
37388
|
data: {
|
37431
37389
|
total: number;
|
37432
37390
|
page: number;
|
@@ -37482,6 +37440,7 @@ export declare const mailContract: {
|
|
37482
37440
|
requestId: string;
|
37483
37441
|
}>;
|
37484
37442
|
};
|
37443
|
+
path: "email-service/mail/server/oauth2/apps";
|
37485
37444
|
};
|
37486
37445
|
getById: {
|
37487
37446
|
summary: "Get a mail server by id";
|
@@ -37493,7 +37452,6 @@ export declare const mailContract: {
|
|
37493
37452
|
}, {
|
37494
37453
|
id: string;
|
37495
37454
|
}>;
|
37496
|
-
path: "email-service/mail/server/:id";
|
37497
37455
|
responses: {
|
37498
37456
|
401: import("zod").ZodObject<{
|
37499
37457
|
message: import("zod").ZodString;
|
@@ -37525,9 +37483,8 @@ export declare const mailContract: {
|
|
37525
37483
|
message: string;
|
37526
37484
|
error?: any;
|
37527
37485
|
}>;
|
37528
|
-
200: import("zod").ZodObject<
|
37486
|
+
200: import("zod").ZodObject<{
|
37529
37487
|
requestId: import("zod").ZodString;
|
37530
|
-
}, {
|
37531
37488
|
data: import("zod").ZodObject<{
|
37532
37489
|
id: import("zod").ZodString;
|
37533
37490
|
createdAt: import("zod").ZodDate;
|
@@ -37571,7 +37528,7 @@ export declare const mailContract: {
|
|
37571
37528
|
imapTlsPort: number;
|
37572
37529
|
useTlsForImap: boolean;
|
37573
37530
|
}>;
|
37574
|
-
}
|
37531
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37575
37532
|
data: {
|
37576
37533
|
name: string;
|
37577
37534
|
id: string;
|
@@ -37607,11 +37564,11 @@ export declare const mailContract: {
|
|
37607
37564
|
requestId: string;
|
37608
37565
|
}>;
|
37609
37566
|
};
|
37567
|
+
path: "email-service/mail/server/:id";
|
37610
37568
|
};
|
37611
37569
|
getAll: {
|
37612
37570
|
summary: "Get all mail servers";
|
37613
37571
|
method: "GET";
|
37614
|
-
path: "email-service/mail/server/";
|
37615
37572
|
responses: {
|
37616
37573
|
401: import("zod").ZodObject<{
|
37617
37574
|
message: import("zod").ZodString;
|
@@ -37643,9 +37600,8 @@ export declare const mailContract: {
|
|
37643
37600
|
message: string;
|
37644
37601
|
error?: any;
|
37645
37602
|
}>;
|
37646
|
-
200: import("zod").ZodObject<
|
37603
|
+
200: import("zod").ZodObject<{
|
37647
37604
|
requestId: import("zod").ZodString;
|
37648
|
-
}, {
|
37649
37605
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
37650
37606
|
id: import("zod").ZodString;
|
37651
37607
|
createdAt: import("zod").ZodDate;
|
@@ -37689,7 +37645,7 @@ export declare const mailContract: {
|
|
37689
37645
|
imapTlsPort: number;
|
37690
37646
|
useTlsForImap: boolean;
|
37691
37647
|
}>, "many">;
|
37692
|
-
}
|
37648
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37693
37649
|
data: {
|
37694
37650
|
name: string;
|
37695
37651
|
id: string;
|
@@ -37725,6 +37681,7 @@ export declare const mailContract: {
|
|
37725
37681
|
requestId: string;
|
37726
37682
|
}>;
|
37727
37683
|
};
|
37684
|
+
path: "email-service/mail/server/";
|
37728
37685
|
};
|
37729
37686
|
update: {
|
37730
37687
|
body: import("zod").ZodObject<{
|
@@ -37767,7 +37724,6 @@ export declare const mailContract: {
|
|
37767
37724
|
}, {
|
37768
37725
|
id: string;
|
37769
37726
|
}>;
|
37770
|
-
path: "email-service/mail/server/:id";
|
37771
37727
|
responses: {
|
37772
37728
|
401: import("zod").ZodObject<{
|
37773
37729
|
message: import("zod").ZodString;
|
@@ -37799,9 +37755,8 @@ export declare const mailContract: {
|
|
37799
37755
|
message: string;
|
37800
37756
|
error?: any;
|
37801
37757
|
}>;
|
37802
|
-
200: import("zod").ZodObject<
|
37758
|
+
200: import("zod").ZodObject<{
|
37803
37759
|
requestId: import("zod").ZodString;
|
37804
|
-
}, {
|
37805
37760
|
data: import("zod").ZodObject<{
|
37806
37761
|
id: import("zod").ZodString;
|
37807
37762
|
createdAt: import("zod").ZodDate;
|
@@ -37845,7 +37800,7 @@ export declare const mailContract: {
|
|
37845
37800
|
imapTlsPort: number;
|
37846
37801
|
useTlsForImap: boolean;
|
37847
37802
|
}>;
|
37848
|
-
}
|
37803
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37849
37804
|
data: {
|
37850
37805
|
name: string;
|
37851
37806
|
id: string;
|
@@ -37881,6 +37836,7 @@ export declare const mailContract: {
|
|
37881
37836
|
requestId: string;
|
37882
37837
|
}>;
|
37883
37838
|
};
|
37839
|
+
path: "email-service/mail/server/:id";
|
37884
37840
|
};
|
37885
37841
|
delete: {
|
37886
37842
|
body: null;
|
@@ -37893,7 +37849,6 @@ export declare const mailContract: {
|
|
37893
37849
|
}, {
|
37894
37850
|
id: string;
|
37895
37851
|
}>;
|
37896
|
-
path: "email-service/mail/server/:id";
|
37897
37852
|
responses: {
|
37898
37853
|
401: import("zod").ZodObject<{
|
37899
37854
|
message: import("zod").ZodString;
|
@@ -37925,9 +37880,8 @@ export declare const mailContract: {
|
|
37925
37880
|
message: string;
|
37926
37881
|
error?: any;
|
37927
37882
|
}>;
|
37928
|
-
200: import("zod").ZodObject<
|
37883
|
+
200: import("zod").ZodObject<{
|
37929
37884
|
requestId: import("zod").ZodString;
|
37930
|
-
}, {
|
37931
37885
|
data: import("zod").ZodObject<{
|
37932
37886
|
id: import("zod").ZodString;
|
37933
37887
|
createdAt: import("zod").ZodDate;
|
@@ -37971,7 +37925,7 @@ export declare const mailContract: {
|
|
37971
37925
|
imapTlsPort: number;
|
37972
37926
|
useTlsForImap: boolean;
|
37973
37927
|
}>;
|
37974
|
-
}
|
37928
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37975
37929
|
data: {
|
37976
37930
|
name: string;
|
37977
37931
|
id: string;
|
@@ -38007,6 +37961,7 @@ export declare const mailContract: {
|
|
38007
37961
|
requestId: string;
|
38008
37962
|
}>;
|
38009
37963
|
};
|
37964
|
+
path: "email-service/mail/server/:id";
|
38010
37965
|
};
|
38011
37966
|
};
|
38012
37967
|
};
|