@kl1/contracts 1.1.4-uat → 1.1.5-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +74 -1
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +71 -1
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +74 -1
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3 -0
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +3 -0
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/chatwoot/index.d.ts +0 -7527
- package/dist/src/chatwoot/index.d.ts.map +0 -1
- package/dist/src/chatwoot/schema.d.ts +0 -79
- package/dist/src/chatwoot/schema.d.ts.map +0 -1
- package/dist/src/chatwoot/validation.d.ts +0 -53
- package/dist/src/chatwoot/validation.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
package/dist/src/contract.d.ts
CHANGED
@@ -649,18 +649,21 @@ export declare const apiContract: {
|
|
649
649
|
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
650
650
|
pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
651
651
|
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
652
|
+
contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
652
653
|
level1: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"open">, import("zod").ZodLiteral<"close">, import("zod").ZodLiteral<"inbox">, import("zod").ZodLiteral<"sent">, import("zod").ZodLiteral<"scheduled">, import("zod").ZodLiteral<"starred">]>>;
|
653
654
|
level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
|
654
655
|
}, "strip", import("zod").ZodTypeAny, {
|
655
656
|
page: number;
|
656
657
|
pageSize: number;
|
657
658
|
keyword?: string | undefined;
|
659
|
+
contactLabels?: string[] | undefined;
|
658
660
|
level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
|
659
661
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
660
662
|
}, {
|
661
663
|
page?: number | undefined;
|
662
664
|
pageSize?: number | undefined;
|
663
665
|
keyword?: string | undefined;
|
666
|
+
contactLabels?: string[] | undefined;
|
664
667
|
level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
|
665
668
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
666
669
|
}>;
|
@@ -12128,8 +12131,71 @@ export declare const apiContract: {
|
|
12128
12131
|
'x-client-timezone'?: string | undefined;
|
12129
12132
|
}>>>;
|
12130
12133
|
};
|
12134
|
+
sync: {
|
12135
|
+
summary: "Sync all accounts state from email engine to system";
|
12136
|
+
method: "GET";
|
12137
|
+
responses: {
|
12138
|
+
401: import("zod").ZodObject<{
|
12139
|
+
message: import("zod").ZodString;
|
12140
|
+
error: import("zod").ZodAny;
|
12141
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12142
|
+
message: string;
|
12143
|
+
error?: any;
|
12144
|
+
}, {
|
12145
|
+
message: string;
|
12146
|
+
error?: any;
|
12147
|
+
}>;
|
12148
|
+
404: import("zod").ZodObject<{
|
12149
|
+
message: import("zod").ZodString;
|
12150
|
+
error: import("zod").ZodAny;
|
12151
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12152
|
+
message: string;
|
12153
|
+
error?: any;
|
12154
|
+
}, {
|
12155
|
+
message: string;
|
12156
|
+
error?: any;
|
12157
|
+
}>;
|
12158
|
+
422: import("zod").ZodObject<{
|
12159
|
+
message: import("zod").ZodString;
|
12160
|
+
error: import("zod").ZodAny;
|
12161
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12162
|
+
message: string;
|
12163
|
+
error?: any;
|
12164
|
+
}, {
|
12165
|
+
message: string;
|
12166
|
+
error?: any;
|
12167
|
+
}>;
|
12168
|
+
200: import("zod").ZodObject<{
|
12169
|
+
requestId: import("zod").ZodString;
|
12170
|
+
message: import("zod").ZodString;
|
12171
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12172
|
+
message: string;
|
12173
|
+
requestId: string;
|
12174
|
+
}, {
|
12175
|
+
message: string;
|
12176
|
+
requestId: string;
|
12177
|
+
}>;
|
12178
|
+
};
|
12179
|
+
path: "mail/account/sync";
|
12180
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
12181
|
+
'x-tenant': import("zod").ZodString;
|
12182
|
+
authorization: import("zod").ZodString;
|
12183
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
12184
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
12185
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12186
|
+
'x-tenant': string;
|
12187
|
+
authorization: string;
|
12188
|
+
'x-client-timezone': string;
|
12189
|
+
'x-code'?: string | undefined;
|
12190
|
+
}, {
|
12191
|
+
'x-tenant': string;
|
12192
|
+
authorization: string;
|
12193
|
+
'x-code'?: string | undefined;
|
12194
|
+
'x-client-timezone'?: string | undefined;
|
12195
|
+
}>>>;
|
12196
|
+
};
|
12131
12197
|
getById: {
|
12132
|
-
summary: "Get
|
12198
|
+
summary: "Get an account by id";
|
12133
12199
|
method: "GET";
|
12134
12200
|
pathParams: import("zod").ZodObject<{
|
12135
12201
|
id: import("zod").ZodString;
|
@@ -12354,6 +12420,13 @@ export declare const apiContract: {
|
|
12354
12420
|
getAll: {
|
12355
12421
|
summary: "Get all accounts";
|
12356
12422
|
method: "GET";
|
12423
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
12424
|
+
state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
|
12425
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12426
|
+
state?: "connected" | "disconnected" | undefined;
|
12427
|
+
}, {
|
12428
|
+
state?: "connected" | "disconnected" | undefined;
|
12429
|
+
}>>;
|
12357
12430
|
responses: {
|
12358
12431
|
401: import("zod").ZodObject<{
|
12359
12432
|
message: import("zod").ZodString;
|