@marcoappio/marco-config 2.0.159 → 2.0.160
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/draft.d.ts +107 -0
- package/dist/clients/draft.d.ts.map +1 -0
- package/dist/clients/draft.js +43 -0
- package/dist/clients/index.d.ts +105 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/index.js +2 -0
- package/dist/sdk/endpoints/index.d.ts +140 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +140 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +140 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +40 -0
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/pull/draft.js +28 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +38 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.js +2 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +104 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/push/draft.js +36 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +102 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.js +2 -1
- package/dist/sdk/index.d.ts +140 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { draft } from '../../../../../clients/draft';
|
|
3
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
+
import { errorManifest } from '../../../../../sdk/validation/errors';
|
|
5
|
+
export const syncPushDraft = createEndpoint({
|
|
6
|
+
body: v.object({
|
|
7
|
+
clientGroupID: v.string(),
|
|
8
|
+
mutations: v.array(v.union([
|
|
9
|
+
v.object({
|
|
10
|
+
args: draft.mutators.delete.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('delete'),
|
|
14
|
+
}),
|
|
15
|
+
v.object({
|
|
16
|
+
args: draft.mutators.update.delta,
|
|
17
|
+
clientID: v.string(),
|
|
18
|
+
id: v.number(),
|
|
19
|
+
name: v.literal('update'),
|
|
20
|
+
}),
|
|
21
|
+
v.object({
|
|
22
|
+
args: draft.mutators.create.delta,
|
|
23
|
+
clientID: v.string(),
|
|
24
|
+
id: v.number(),
|
|
25
|
+
name: v.literal('create'),
|
|
26
|
+
}),
|
|
27
|
+
])),
|
|
28
|
+
}),
|
|
29
|
+
method: 'POST',
|
|
30
|
+
path: draft.pushURL,
|
|
31
|
+
response: v.union([
|
|
32
|
+
errorManifest.validationFailedErrorSchema,
|
|
33
|
+
errorManifest.authenticationFailedErrorSchema,
|
|
34
|
+
v.object({ status: v.literal(200) }),
|
|
35
|
+
]),
|
|
36
|
+
});
|
|
@@ -85,6 +85,108 @@ export declare const push: {
|
|
|
85
85
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
86
86
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
87
87
|
}, undefined>], undefined>>;
|
|
88
|
+
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
89
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
90
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
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").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
95
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
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
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
165
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
166
|
+
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
|
+
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").UnknownSchema;
|
|
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>;
|
|
170
|
+
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
|
+
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
|
+
}, undefined>;
|
|
173
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
174
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
175
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
176
|
+
}, undefined>;
|
|
177
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
178
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
179
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
180
|
+
}, undefined>], undefined>, undefined>;
|
|
181
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
182
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
183
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
184
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
185
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
186
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
187
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
188
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
189
|
+
}, undefined>], undefined>>;
|
|
88
190
|
thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
|
|
89
191
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
90
192
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { syncPushAccount as account } from './account';
|
|
2
|
+
import { syncPushDraft as draft } from './draft';
|
|
2
3
|
import { syncPushThread as thread } from './thread';
|
|
3
4
|
import { syncPushUser as user } from './user';
|
|
4
|
-
export const push = { account, thread, user };
|
|
5
|
+
export const push = { account, draft, thread, user };
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -83,6 +83,44 @@ export declare const marcoSDK: {
|
|
|
83
83
|
}, undefined>;
|
|
84
84
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
85
85
|
}, undefined>], undefined>>;
|
|
86
|
+
draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
87
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
88
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
89
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
90
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
91
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
92
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
93
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
94
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
95
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
96
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
97
|
+
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
98
|
+
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
99
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
100
|
+
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
101
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
102
|
+
readonly key: import("valibot").StringSchema<undefined>;
|
|
103
|
+
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
104
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
105
|
+
readonly key: import("valibot").StringSchema<undefined>;
|
|
106
|
+
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
107
|
+
readonly value: import("valibot").ObjectSchema<{
|
|
108
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
109
|
+
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>;
|
|
110
|
+
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>;
|
|
111
|
+
readonly content: import("valibot").UnknownSchema;
|
|
112
|
+
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>;
|
|
113
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
114
|
+
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>;
|
|
115
|
+
}, undefined>;
|
|
116
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
117
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
118
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
}, undefined>], undefined>, undefined>;
|
|
121
|
+
}, undefined>;
|
|
122
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
123
|
+
}, undefined>], undefined>>;
|
|
86
124
|
thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
87
125
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
88
126
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
@@ -270,6 +308,108 @@ export declare const marcoSDK: {
|
|
|
270
308
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
271
309
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
272
310
|
}, undefined>], undefined>>;
|
|
311
|
+
draft: import("..").EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
312
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
313
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
314
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
315
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
316
|
+
}, undefined>;
|
|
317
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
318
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
319
|
+
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
320
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
321
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
322
|
+
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
323
|
+
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>;
|
|
324
|
+
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>;
|
|
325
|
+
readonly content: import("valibot").UnknownSchema;
|
|
326
|
+
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>;
|
|
327
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
328
|
+
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>;
|
|
329
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
330
|
+
readonly entries: {
|
|
331
|
+
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>;
|
|
332
|
+
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>;
|
|
333
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
334
|
+
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>;
|
|
335
|
+
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>;
|
|
336
|
+
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>;
|
|
337
|
+
};
|
|
338
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
339
|
+
bcc?: string[] | undefined;
|
|
340
|
+
cc?: string[] | undefined;
|
|
341
|
+
replyTo?: string[] | undefined;
|
|
342
|
+
to?: string[] | undefined;
|
|
343
|
+
content?: unknown;
|
|
344
|
+
subject?: string | undefined;
|
|
345
|
+
}, {
|
|
346
|
+
bcc?: string[] | undefined;
|
|
347
|
+
cc?: string[] | undefined;
|
|
348
|
+
replyTo?: string[] | undefined;
|
|
349
|
+
to?: string[] | undefined;
|
|
350
|
+
content?: unknown;
|
|
351
|
+
subject?: string | undefined;
|
|
352
|
+
}>;
|
|
353
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
354
|
+
bcc?: string[] | undefined;
|
|
355
|
+
cc?: string[] | undefined;
|
|
356
|
+
replyTo?: string[] | undefined;
|
|
357
|
+
to?: string[] | undefined;
|
|
358
|
+
content?: unknown;
|
|
359
|
+
subject?: string | undefined;
|
|
360
|
+
}, 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>;
|
|
361
|
+
readonly '~types'?: {
|
|
362
|
+
readonly input: {
|
|
363
|
+
bcc?: string[] | undefined;
|
|
364
|
+
cc?: string[] | undefined;
|
|
365
|
+
replyTo?: string[] | undefined;
|
|
366
|
+
to?: string[] | undefined;
|
|
367
|
+
content?: unknown;
|
|
368
|
+
subject?: string | undefined;
|
|
369
|
+
};
|
|
370
|
+
readonly output: {
|
|
371
|
+
bcc?: string[] | undefined;
|
|
372
|
+
cc?: string[] | undefined;
|
|
373
|
+
replyTo?: string[] | undefined;
|
|
374
|
+
to?: string[] | undefined;
|
|
375
|
+
content?: unknown;
|
|
376
|
+
subject?: string | undefined;
|
|
377
|
+
};
|
|
378
|
+
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;
|
|
379
|
+
} | undefined;
|
|
380
|
+
};
|
|
381
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
382
|
+
}, undefined>;
|
|
383
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
384
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
385
|
+
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
386
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
387
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
388
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
389
|
+
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>;
|
|
390
|
+
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>;
|
|
391
|
+
readonly content: import("valibot").UnknownSchema;
|
|
392
|
+
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>;
|
|
393
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
394
|
+
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>;
|
|
395
|
+
}, undefined>;
|
|
396
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
397
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
398
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
399
|
+
}, undefined>;
|
|
400
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
401
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
402
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
403
|
+
}, undefined>], undefined>, undefined>;
|
|
404
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
405
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
406
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
407
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
408
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
409
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
410
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
411
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
412
|
+
}, undefined>], undefined>>;
|
|
273
413
|
thread: import("..").EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
|
|
274
414
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
275
415
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|