@marcoappio/marco-config 2.0.162 → 2.0.164
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/clients/account.d.ts +7 -7
- package/dist/clients/account.js +6 -6
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/contact.js +1 -1
- package/dist/clients/draft.d.ts +12 -77
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +25 -27
- package/dist/clients/index.d.ts +27 -93
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +5 -5
- package/dist/clients/thread.js +5 -5
- package/dist/clients/user.d.ts +3 -3
- package/dist/clients/user.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +39 -107
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.d.ts → emailMessage/getEmailMessageHTML.d.ts} +2 -2
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.js → emailMessage/getEmailMessageHTML.js} +1 -1
- package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +35 -103
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +33 -101
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -5
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -16
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -73
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +1 -7
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -85
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +39 -107
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/JSONContent.d.ts +11 -0
- package/dist/types/JSONContent.d.ts.map +1 -0
- package/dist/types/JSONContent.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +2 -2
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.js +0 -4
|
@@ -3,7 +3,7 @@ export declare const push: {
|
|
|
3
3
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
4
4
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
5
|
readonly args: import("valibot").ObjectSchema<{
|
|
6
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
6
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
readonly imapPasswordConfig: import("valibot").ObjectSchema<{
|
|
8
8
|
readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
|
|
9
9
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -18,21 +18,21 @@ export declare const push: {
|
|
|
18
18
|
readonly args: import("valibot").ObjectSchema<{
|
|
19
19
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
20
20
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
21
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
22
22
|
}, undefined>;
|
|
23
23
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
24
24
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
25
25
|
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
26
26
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
27
27
|
readonly args: import("valibot").ObjectSchema<{
|
|
28
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
28
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
31
31
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
32
32
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
33
33
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
34
34
|
readonly args: import("valibot").ObjectSchema<{
|
|
35
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
35
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
36
36
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
37
37
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
38
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -43,7 +43,7 @@ export declare const push: {
|
|
|
43
43
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
44
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
45
|
};
|
|
46
|
-
readonly '~standard': import("valibot").
|
|
46
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
47
47
|
color?: string | undefined;
|
|
48
48
|
firstName?: string | null | undefined;
|
|
49
49
|
lastName?: string | null | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const push: {
|
|
|
76
76
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
77
77
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
78
78
|
}, undefined>], undefined>, undefined>;
|
|
79
|
-
}, undefined>, import("valibot").GenericSchema
|
|
79
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
80
80
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
81
81
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
82
82
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -89,96 +89,29 @@ export declare const push: {
|
|
|
89
89
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
90
90
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
91
91
|
readonly args: import("valibot").ObjectSchema<{
|
|
92
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
92
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
93
93
|
}, undefined>;
|
|
94
94
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
95
95
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
96
96
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
97
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
98
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
99
|
-
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
100
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
101
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
102
|
-
readonly content: import("valibot").UnknownSchema;
|
|
103
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
104
|
-
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
105
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
106
|
-
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
107
|
-
readonly entries: {
|
|
108
|
-
readonly bcc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
109
|
-
readonly cc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
110
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
111
|
-
readonly replyTo: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
112
|
-
readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
113
|
-
readonly to: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
114
|
-
};
|
|
115
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
116
|
-
bcc?: string[] | undefined;
|
|
117
|
-
cc?: string[] | undefined;
|
|
118
|
-
replyTo?: string[] | undefined;
|
|
119
|
-
to?: string[] | undefined;
|
|
120
|
-
content?: unknown;
|
|
121
|
-
subject?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
bcc?: string[] | undefined;
|
|
124
|
-
cc?: string[] | undefined;
|
|
125
|
-
replyTo?: string[] | undefined;
|
|
126
|
-
to?: string[] | undefined;
|
|
127
|
-
content?: unknown;
|
|
128
|
-
subject?: string | undefined;
|
|
129
|
-
}>;
|
|
130
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
131
|
-
bcc?: string[] | undefined;
|
|
132
|
-
cc?: string[] | undefined;
|
|
133
|
-
replyTo?: string[] | undefined;
|
|
134
|
-
to?: string[] | undefined;
|
|
135
|
-
content?: unknown;
|
|
136
|
-
subject?: string | undefined;
|
|
137
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
|
|
138
|
-
readonly '~types'?: {
|
|
139
|
-
readonly input: {
|
|
140
|
-
bcc?: string[] | undefined;
|
|
141
|
-
cc?: string[] | undefined;
|
|
142
|
-
replyTo?: string[] | undefined;
|
|
143
|
-
to?: string[] | undefined;
|
|
144
|
-
content?: unknown;
|
|
145
|
-
subject?: string | undefined;
|
|
146
|
-
};
|
|
147
|
-
readonly output: {
|
|
148
|
-
bcc?: string[] | undefined;
|
|
149
|
-
cc?: string[] | undefined;
|
|
150
|
-
replyTo?: string[] | undefined;
|
|
151
|
-
to?: string[] | undefined;
|
|
152
|
-
content?: unknown;
|
|
153
|
-
subject?: string | undefined;
|
|
154
|
-
};
|
|
155
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
|
|
156
|
-
} | undefined;
|
|
157
|
-
};
|
|
158
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
159
|
-
}, undefined>;
|
|
160
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
161
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
162
|
-
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
163
97
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
98
|
readonly args: import("valibot").ObjectSchema<{
|
|
165
99
|
readonly body: import("valibot").ObjectSchema<{
|
|
166
100
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
167
101
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
168
|
-
readonly content: import("valibot").
|
|
169
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
102
|
+
readonly content: import("valibot").GenericSchema<import("../../../../..").JSONContent>;
|
|
170
103
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
171
104
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
172
105
|
}, undefined>;
|
|
173
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
174
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
106
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
107
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
175
108
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
176
109
|
}, undefined>;
|
|
177
110
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
178
111
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
179
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
112
|
+
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
180
113
|
}, undefined>], undefined>, undefined>;
|
|
181
|
-
}, undefined>, import("valibot").GenericSchema
|
|
114
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
182
115
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
183
116
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
184
117
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -191,15 +124,15 @@ export declare const push: {
|
|
|
191
124
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
192
125
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
193
126
|
readonly args: import("valibot").ObjectSchema<{
|
|
194
|
-
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
127
|
+
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
195
128
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
196
|
-
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
129
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
197
130
|
}, undefined>;
|
|
198
131
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
199
132
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
200
133
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
201
134
|
}, undefined>], undefined>, undefined>;
|
|
202
|
-
}, undefined>, import("valibot").GenericSchema
|
|
135
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
203
136
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
204
137
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
205
138
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -215,7 +148,7 @@ export declare const push: {
|
|
|
215
148
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
216
149
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
217
150
|
readonly args: import("valibot").ObjectSchema<{
|
|
218
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
151
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
219
152
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
220
153
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
221
154
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -224,7 +157,7 @@ export declare const push: {
|
|
|
224
157
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
225
158
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
226
159
|
};
|
|
227
|
-
readonly '~standard': import("valibot").
|
|
160
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
228
161
|
firstName?: string | null | undefined;
|
|
229
162
|
lastName?: string | null | undefined;
|
|
230
163
|
}, {
|
|
@@ -252,7 +185,7 @@ export declare const push: {
|
|
|
252
185
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
253
186
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
254
187
|
}, undefined>], undefined>, undefined>;
|
|
255
|
-
}, undefined>, import("valibot").GenericSchema
|
|
188
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
256
189
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
257
190
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
258
191
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -3,15 +3,15 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
6
|
+
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
readonly seen: v.BooleanSchema<undefined>;
|
|
8
|
-
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
8
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
readonly clientID: v.StringSchema<undefined>;
|
|
11
11
|
readonly id: v.NumberSchema<undefined>;
|
|
12
12
|
readonly name: v.LiteralSchema<"setMessageSeen", undefined>;
|
|
13
13
|
}, undefined>], undefined>, undefined>;
|
|
14
|
-
}, undefined>, v.GenericSchema
|
|
14
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
15
15
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
16
16
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
17
17
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -3,7 +3,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
readonly settings: Omit<v.ObjectSchema<{
|
|
8
8
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
9
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -12,7 +12,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
12
12
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
13
13
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
14
14
|
};
|
|
15
|
-
readonly '~standard': v.
|
|
15
|
+
readonly '~standard': v.StandardProps<{
|
|
16
16
|
firstName?: string | null | undefined;
|
|
17
17
|
lastName?: string | null | undefined;
|
|
18
18
|
}, {
|
|
@@ -40,7 +40,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
40
40
|
readonly id: v.NumberSchema<undefined>;
|
|
41
41
|
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
42
42
|
}, undefined>], undefined>, undefined>;
|
|
43
|
-
}, undefined>, v.GenericSchema
|
|
43
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
44
44
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
45
45
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
46
46
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", v.GenericSchema
|
|
2
|
+
export declare const deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const user: {
|
|
2
|
-
deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema
|
|
2
|
+
deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
3
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const auth: {
|
|
2
2
|
refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
3
3
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
4
|
-
}, undefined>, import("valibot").GenericSchema
|
|
4
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
5
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -29,7 +29,7 @@ export declare const auth: {
|
|
|
29
29
|
}, undefined>], undefined>>;
|
|
30
30
|
sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
31
31
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
|
-
}, undefined>, import("valibot").GenericSchema
|
|
32
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
33
33
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
34
34
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
35
35
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -41,7 +41,7 @@ export declare const auth: {
|
|
|
41
41
|
verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
42
42
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
43
43
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>, import("valibot").GenericSchema
|
|
44
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
45
45
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
46
46
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
47
47
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", v.ObjectSchema<{
|
|
3
3
|
readonly refreshToken: v.StringSchema<undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema
|
|
4
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
|
|
3
3
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema
|
|
4
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", v.ObjectSchema<{
|
|
3
3
|
readonly code: v.StringSchema<undefined>;
|
|
4
4
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema
|
|
5
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema
|
|
2
|
+
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly status: v.LiteralSchema<"ok", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -2,7 +2,7 @@ export declare const publicGroup: {
|
|
|
2
2
|
auth: {
|
|
3
3
|
refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
4
4
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
5
|
-
}, undefined>, import("valibot").GenericSchema
|
|
5
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -30,7 +30,7 @@ export declare const publicGroup: {
|
|
|
30
30
|
}, undefined>], undefined>>;
|
|
31
31
|
sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
32
32
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
33
|
-
}, undefined>, import("valibot").GenericSchema
|
|
33
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
34
34
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
35
35
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
36
36
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -42,7 +42,7 @@ export declare const publicGroup: {
|
|
|
42
42
|
verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
43
43
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
44
44
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
-
}, undefined>, import("valibot").GenericSchema
|
|
45
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
46
46
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
47
47
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
48
48
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -78,7 +78,7 @@ export declare const publicGroup: {
|
|
|
78
78
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
79
79
|
}, undefined>], undefined>>;
|
|
80
80
|
};
|
|
81
|
-
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema
|
|
81
|
+
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
82
82
|
readonly data: import("valibot").ObjectSchema<{
|
|
83
83
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
84
84
|
}, undefined>;
|