@marcoappio/marco-config 2.0.365 → 2.0.367

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.
Files changed (26) hide show
  1. package/dist/sdk/endpoints/index.d.ts +75 -15
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/private/index.d.ts +75 -15
  4. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  5. package/dist/sdk/endpoints/private/sync/index.d.ts +75 -15
  6. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  7. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +17 -3
  8. package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
  9. package/dist/sdk/endpoints/private/sync/pull/account.js +12 -2
  10. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +15 -4
  11. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
  12. package/dist/sdk/endpoints/private/sync/pull/contact.js +10 -4
  13. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +17 -3
  14. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
  15. package/dist/sdk/endpoints/private/sync/pull/draft.js +12 -2
  16. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +75 -15
  17. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +19 -4
  19. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/sync/pull/thread.js +12 -4
  21. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +7 -1
  22. package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
  23. package/dist/sdk/endpoints/private/sync/pull/user.js +8 -1
  24. package/dist/sdk/index.d.ts +75 -15
  25. package/dist/sdk/index.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -1,9 +1,15 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullContact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: v.OptionalSchema<v.UnknownSchema, undefined>;
4
+ readonly cookie: v.NullableSchema<v.ObjectSchema<{
5
+ readonly hasMore: v.BooleanSchema<undefined>;
6
+ readonly id: v.StringSchema<undefined>;
7
+ readonly order: v.StringSchema<undefined>;
8
+ readonly pageNum: v.NumberSchema<undefined>;
9
+ readonly version: v.NumberSchema<undefined>;
10
+ }, undefined>, undefined>;
5
11
  }, undefined>, v.ObjectSchema<{
6
- readonly numRows: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
12
+ readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
7
13
  }, undefined>, v.UnionSchema<[v.ObjectSchema<{
8
14
  readonly data: v.ObjectSchema<{
9
15
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -21,8 +27,13 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
21
27
  readonly status: v.LiteralSchema<401, undefined>;
22
28
  }, undefined>, v.ObjectSchema<{
23
29
  readonly data: v.ObjectSchema<{
24
- readonly cookie: v.UnknownSchema;
25
- readonly hasMore: v.BooleanSchema<undefined>;
30
+ readonly cookie: v.ObjectSchema<{
31
+ readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly id: v.StringSchema<undefined>;
33
+ readonly order: v.StringSchema<undefined>;
34
+ readonly pageNum: v.NumberSchema<undefined>;
35
+ readonly version: v.NumberSchema<undefined>;
36
+ }, undefined>;
26
37
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
27
38
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
28
39
  readonly op: v.LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
1
+ {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8B1B,CAAA"}
@@ -3,23 +3,29 @@ import { contact } from '../../../../../clients/contact';
3
3
  import { marcoSchemas } from '../../../../../schemas';
4
4
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
5
5
  import { errors } from '../../../../../sdk/validation/errors';
6
+ const cookieSchema = v.object({
7
+ hasMore: v.boolean(),
8
+ id: v.string(),
9
+ order: v.string(),
10
+ pageNum: v.number(),
11
+ version: v.number(),
12
+ });
6
13
  export const syncPullContact = createEndpoint({
7
14
  body: v.object({
8
15
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: v.optional(v.unknown()),
16
+ cookie: v.nullable(cookieSchema),
10
17
  }),
11
18
  method: 'POST',
12
19
  path: contact.pullUrl,
13
20
  query: v.object({
14
- numRows: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
21
+ pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
15
22
  }),
16
23
  response: v.union([
17
24
  errors.validationFailedErrorSchema,
18
25
  errors.authFailedErrorSchema,
19
26
  v.object({
20
27
  data: v.object({
21
- cookie: v.unknown(),
22
- hasMore: v.boolean(),
28
+ cookie: cookieSchema,
23
29
  lastMutationIDChanges: v.record(v.string(), v.number()),
24
30
  patch: v.array(v.union([
25
31
  v.object({ op: v.literal('clear') }),
@@ -1,8 +1,16 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ readonly cookie: v.NullableSchema<v.ObjectSchema<{
5
+ readonly hasMore: v.BooleanSchema<undefined>;
6
+ readonly id: v.StringSchema<undefined>;
7
+ readonly order: v.StringSchema<undefined>;
8
+ readonly pageNum: v.NumberSchema<undefined>;
9
+ readonly version: v.NumberSchema<undefined>;
10
+ }, undefined>, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
13
+ }, undefined>, v.UnionSchema<[v.ObjectSchema<{
6
14
  readonly data: v.ObjectSchema<{
7
15
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
8
16
  readonly issues: v.ObjectSchema<{
@@ -19,7 +27,13 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
19
27
  readonly status: v.LiteralSchema<401, undefined>;
20
28
  }, undefined>, v.ObjectSchema<{
21
29
  readonly data: v.ObjectSchema<{
22
- readonly cookie: v.NumberSchema<undefined>;
30
+ readonly cookie: v.ObjectSchema<{
31
+ readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly id: v.StringSchema<undefined>;
33
+ readonly order: v.StringSchema<undefined>;
34
+ readonly pageNum: v.NumberSchema<undefined>;
35
+ readonly version: v.NumberSchema<undefined>;
36
+ }, undefined>;
23
37
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
24
38
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
25
39
  readonly op: v.LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBxB,CAAA"}
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BxB,CAAA"}
@@ -3,19 +3,29 @@ import { draft } from '../../../../../clients/draft';
3
3
  import { marcoSchemas } from '../../../../../schemas';
4
4
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
5
5
  import { errors } from '../../../../../sdk/validation/errors';
6
+ const cookieSchema = v.object({
7
+ hasMore: v.boolean(),
8
+ id: v.string(),
9
+ order: v.string(),
10
+ pageNum: v.number(),
11
+ version: v.number(),
12
+ });
6
13
  export const syncPullDraft = createEndpoint({
7
14
  body: v.object({
8
15
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: marcoSchemas.number.nullable(),
16
+ cookie: v.nullable(cookieSchema),
10
17
  }),
11
18
  method: 'POST',
12
19
  path: draft.pullUrl,
20
+ query: v.object({
21
+ pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
22
+ }),
13
23
  response: v.union([
14
24
  errors.validationFailedErrorSchema,
15
25
  errors.authFailedErrorSchema,
16
26
  v.object({
17
27
  data: v.object({
18
- cookie: v.number(),
28
+ cookie: cookieSchema,
19
29
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
30
  patch: v.array(v.union([
21
31
  v.object({ op: v.literal('clear') }),
@@ -1,8 +1,16 @@
1
1
  export declare const pull: {
2
2
  account: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
3
3
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
5
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
4
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
5
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
6
+ readonly id: import("valibot").StringSchema<undefined>;
7
+ readonly order: import("valibot").StringSchema<undefined>;
8
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
9
+ readonly version: import("valibot").NumberSchema<undefined>;
10
+ }, undefined>, undefined>;
11
+ }, undefined>, import("valibot").ObjectSchema<{
12
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
13
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
14
  readonly data: import("valibot").ObjectSchema<{
7
15
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
8
16
  readonly issues: import("valibot").ObjectSchema<{
@@ -19,7 +27,13 @@ export declare const pull: {
19
27
  readonly status: import("valibot").LiteralSchema<401, undefined>;
20
28
  }, undefined>, import("valibot").ObjectSchema<{
21
29
  readonly data: import("valibot").ObjectSchema<{
22
- readonly cookie: import("valibot").NumberSchema<undefined>;
30
+ readonly cookie: import("valibot").ObjectSchema<{
31
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
32
+ readonly id: import("valibot").StringSchema<undefined>;
33
+ readonly order: import("valibot").StringSchema<undefined>;
34
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
35
+ readonly version: import("valibot").NumberSchema<undefined>;
36
+ }, undefined>;
23
37
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
24
38
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
25
39
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -64,9 +78,15 @@ export declare const pull: {
64
78
  }, undefined>], undefined>>;
65
79
  contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
66
80
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
67
- readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
81
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
82
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
83
+ readonly id: import("valibot").StringSchema<undefined>;
84
+ readonly order: import("valibot").StringSchema<undefined>;
85
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
86
+ readonly version: import("valibot").NumberSchema<undefined>;
87
+ }, undefined>, undefined>;
68
88
  }, undefined>, import("valibot").ObjectSchema<{
69
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
89
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
70
90
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
71
91
  readonly data: import("valibot").ObjectSchema<{
72
92
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -84,8 +104,13 @@ export declare const pull: {
84
104
  readonly status: import("valibot").LiteralSchema<401, undefined>;
85
105
  }, undefined>, import("valibot").ObjectSchema<{
86
106
  readonly data: import("valibot").ObjectSchema<{
87
- readonly cookie: import("valibot").UnknownSchema;
88
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
107
+ readonly cookie: import("valibot").ObjectSchema<{
108
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
109
+ readonly id: import("valibot").StringSchema<undefined>;
110
+ readonly order: import("valibot").StringSchema<undefined>;
111
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
112
+ readonly version: import("valibot").NumberSchema<undefined>;
113
+ }, undefined>;
89
114
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
90
115
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
91
116
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -106,8 +131,16 @@ export declare const pull: {
106
131
  }, undefined>], undefined>>;
107
132
  draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
108
133
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
109
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
110
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
134
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
135
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
136
+ readonly id: import("valibot").StringSchema<undefined>;
137
+ readonly order: import("valibot").StringSchema<undefined>;
138
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
139
+ readonly version: import("valibot").NumberSchema<undefined>;
140
+ }, undefined>, undefined>;
141
+ }, undefined>, import("valibot").ObjectSchema<{
142
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
143
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
111
144
  readonly data: import("valibot").ObjectSchema<{
112
145
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
113
146
  readonly issues: import("valibot").ObjectSchema<{
@@ -124,7 +157,13 @@ export declare const pull: {
124
157
  readonly status: import("valibot").LiteralSchema<401, undefined>;
125
158
  }, undefined>, import("valibot").ObjectSchema<{
126
159
  readonly data: import("valibot").ObjectSchema<{
127
- readonly cookie: import("valibot").NumberSchema<undefined>;
160
+ readonly cookie: import("valibot").ObjectSchema<{
161
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
162
+ readonly id: import("valibot").StringSchema<undefined>;
163
+ readonly order: import("valibot").StringSchema<undefined>;
164
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
165
+ readonly version: import("valibot").NumberSchema<undefined>;
166
+ }, undefined>;
128
167
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
129
168
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
130
169
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -168,9 +207,17 @@ export declare const pull: {
168
207
  }, undefined>], undefined>>;
169
208
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
170
209
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
171
- readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
210
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
211
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
212
+ readonly id: import("valibot").StringSchema<undefined>;
213
+ readonly order: import("valibot").StringSchema<undefined>;
214
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
215
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
216
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
217
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
218
+ }, undefined>, undefined>;
172
219
  }, undefined>, import("valibot").ObjectSchema<{
173
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
220
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
174
221
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
175
222
  readonly data: import("valibot").ObjectSchema<{
176
223
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -188,8 +235,15 @@ export declare const pull: {
188
235
  readonly status: import("valibot").LiteralSchema<401, undefined>;
189
236
  }, undefined>, import("valibot").ObjectSchema<{
190
237
  readonly data: import("valibot").ObjectSchema<{
191
- readonly cookie: import("valibot").UnknownSchema;
192
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
238
+ readonly cookie: import("valibot").ObjectSchema<{
239
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
240
+ readonly id: import("valibot").StringSchema<undefined>;
241
+ readonly order: import("valibot").StringSchema<undefined>;
242
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
243
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
244
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
245
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
246
+ }, undefined>;
193
247
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
194
248
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
195
249
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -265,7 +319,13 @@ export declare const pull: {
265
319
  readonly status: import("valibot").LiteralSchema<401, undefined>;
266
320
  }, undefined>, import("valibot").ObjectSchema<{
267
321
  readonly data: import("valibot").ObjectSchema<{
268
- readonly cookie: import("valibot").NumberSchema<undefined>;
322
+ readonly cookie: import("valibot").ObjectSchema<{
323
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
324
+ readonly id: import("valibot").StringSchema<undefined>;
325
+ readonly order: import("valibot").StringSchema<undefined>;
326
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
327
+ readonly version: import("valibot").NumberSchema<undefined>;
328
+ }, undefined>;
269
329
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
270
330
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
271
331
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -1,9 +1,17 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: v.OptionalSchema<v.UnknownSchema, undefined>;
4
+ readonly cookie: v.NullableSchema<v.ObjectSchema<{
5
+ readonly hasMore: v.BooleanSchema<undefined>;
6
+ readonly id: v.StringSchema<undefined>;
7
+ readonly order: v.StringSchema<undefined>;
8
+ readonly pageNum: v.NumberSchema<undefined>;
9
+ readonly sentAt: v.NumberSchema<undefined>;
10
+ readonly versionMax: v.NumberSchema<undefined>;
11
+ readonly versionMin: v.NumberSchema<undefined>;
12
+ }, undefined>, undefined>;
5
13
  }, undefined>, v.ObjectSchema<{
6
- readonly numRows: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
14
+ readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
7
15
  }, undefined>, v.UnionSchema<[v.ObjectSchema<{
8
16
  readonly data: v.ObjectSchema<{
9
17
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -21,8 +29,15 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
21
29
  readonly status: v.LiteralSchema<401, undefined>;
22
30
  }, undefined>, v.ObjectSchema<{
23
31
  readonly data: v.ObjectSchema<{
24
- readonly cookie: v.UnknownSchema;
25
- readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly cookie: v.ObjectSchema<{
33
+ readonly hasMore: v.BooleanSchema<undefined>;
34
+ readonly id: v.StringSchema<undefined>;
35
+ readonly order: v.StringSchema<undefined>;
36
+ readonly pageNum: v.NumberSchema<undefined>;
37
+ readonly sentAt: v.NumberSchema<undefined>;
38
+ readonly versionMax: v.NumberSchema<undefined>;
39
+ readonly versionMin: v.NumberSchema<undefined>;
40
+ }, undefined>;
26
41
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
27
42
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
28
43
  readonly op: v.LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BzB,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiB5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BzB,CAAA"}
@@ -3,23 +3,31 @@ import { thread } from '../../../../../clients/thread';
3
3
  import { marcoSchemas } from '../../../../../schemas';
4
4
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
5
5
  import { errors } from '../../../../../sdk/validation/errors';
6
+ const cookieSchema = v.object({
7
+ hasMore: v.boolean(),
8
+ id: v.string(),
9
+ order: v.string(),
10
+ pageNum: v.number(),
11
+ sentAt: v.number(),
12
+ versionMax: v.number(),
13
+ versionMin: v.number(),
14
+ });
6
15
  export const syncPullThread = createEndpoint({
7
16
  body: v.object({
8
17
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: v.optional(v.unknown()),
18
+ cookie: v.nullable(cookieSchema),
10
19
  }),
11
20
  method: 'POST',
12
21
  path: thread.pullUrl,
13
22
  query: v.object({
14
- numRows: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
23
+ pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
15
24
  }),
16
25
  response: v.union([
17
26
  errors.validationFailedErrorSchema,
18
27
  errors.authFailedErrorSchema,
19
28
  v.object({
20
29
  data: v.object({
21
- cookie: v.unknown(),
22
- hasMore: v.boolean(),
30
+ cookie: cookieSchema,
23
31
  lastMutationIDChanges: v.record(v.string(), v.number()),
24
32
  patch: v.array(v.union([
25
33
  v.object({ op: v.literal('clear') }),
@@ -19,7 +19,13 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
19
19
  readonly status: v.LiteralSchema<401, undefined>;
20
20
  }, undefined>, v.ObjectSchema<{
21
21
  readonly data: v.ObjectSchema<{
22
- readonly cookie: v.NumberSchema<undefined>;
22
+ readonly cookie: v.ObjectSchema<{
23
+ readonly hasMore: v.BooleanSchema<undefined>;
24
+ readonly id: v.StringSchema<undefined>;
25
+ readonly order: v.StringSchema<undefined>;
26
+ readonly pageNum: v.NumberSchema<undefined>;
27
+ readonly version: v.NumberSchema<undefined>;
28
+ }, undefined>;
23
29
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
24
30
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
25
31
  readonly op: v.LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
@@ -3,6 +3,13 @@ import { user } from '../../../../../clients/user';
3
3
  import { marcoSchemas } from '../../../../../schemas';
4
4
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
5
5
  import { errors } from '../../../../../sdk/validation/errors';
6
+ const cookieSchema = v.object({
7
+ hasMore: v.boolean(),
8
+ id: v.string(),
9
+ order: v.string(),
10
+ pageNum: v.number(),
11
+ version: v.number(),
12
+ });
6
13
  export const syncPullUser = createEndpoint({
7
14
  body: v.object({
8
15
  clientGroupID: marcoSchemas.string.required(),
@@ -15,7 +22,7 @@ export const syncPullUser = createEndpoint({
15
22
  errors.authFailedErrorSchema,
16
23
  v.object({
17
24
  data: v.object({
18
- cookie: v.number(),
25
+ cookie: cookieSchema,
19
26
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
27
  patch: v.array(v.union([
21
28
  v.object({ op: v.literal('clear') }),
@@ -42,8 +42,16 @@ export declare const marcoSDK: {
42
42
  pull: {
43
43
  account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
44
44
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
45
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
46
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
46
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
47
+ readonly id: import("valibot").StringSchema<undefined>;
48
+ readonly order: import("valibot").StringSchema<undefined>;
49
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
50
+ readonly version: import("valibot").NumberSchema<undefined>;
51
+ }, undefined>, undefined>;
52
+ }, undefined>, import("valibot").ObjectSchema<{
53
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
54
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
47
55
  readonly data: import("valibot").ObjectSchema<{
48
56
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
49
57
  readonly issues: import("valibot").ObjectSchema<{
@@ -60,7 +68,13 @@ export declare const marcoSDK: {
60
68
  readonly status: import("valibot").LiteralSchema<401, undefined>;
61
69
  }, undefined>, import("valibot").ObjectSchema<{
62
70
  readonly data: import("valibot").ObjectSchema<{
63
- readonly cookie: import("valibot").NumberSchema<undefined>;
71
+ readonly cookie: import("valibot").ObjectSchema<{
72
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
73
+ readonly id: import("valibot").StringSchema<undefined>;
74
+ readonly order: import("valibot").StringSchema<undefined>;
75
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
76
+ readonly version: import("valibot").NumberSchema<undefined>;
77
+ }, undefined>;
64
78
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
65
79
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
66
80
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -105,9 +119,15 @@ export declare const marcoSDK: {
105
119
  }, undefined>], undefined>>;
106
120
  contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
107
121
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
108
- readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
122
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
123
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
124
+ readonly id: import("valibot").StringSchema<undefined>;
125
+ readonly order: import("valibot").StringSchema<undefined>;
126
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
127
+ readonly version: import("valibot").NumberSchema<undefined>;
128
+ }, undefined>, undefined>;
109
129
  }, undefined>, import("valibot").ObjectSchema<{
110
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
130
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
111
131
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
112
132
  readonly data: import("valibot").ObjectSchema<{
113
133
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -125,8 +145,13 @@ export declare const marcoSDK: {
125
145
  readonly status: import("valibot").LiteralSchema<401, undefined>;
126
146
  }, undefined>, import("valibot").ObjectSchema<{
127
147
  readonly data: import("valibot").ObjectSchema<{
128
- readonly cookie: import("valibot").UnknownSchema;
129
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
148
+ readonly cookie: import("valibot").ObjectSchema<{
149
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
150
+ readonly id: import("valibot").StringSchema<undefined>;
151
+ readonly order: import("valibot").StringSchema<undefined>;
152
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
153
+ readonly version: import("valibot").NumberSchema<undefined>;
154
+ }, undefined>;
130
155
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
131
156
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
132
157
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -147,8 +172,16 @@ export declare const marcoSDK: {
147
172
  }, undefined>], undefined>>;
148
173
  draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
149
174
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
150
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
151
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
175
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
176
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
177
+ readonly id: import("valibot").StringSchema<undefined>;
178
+ readonly order: import("valibot").StringSchema<undefined>;
179
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
180
+ readonly version: import("valibot").NumberSchema<undefined>;
181
+ }, undefined>, undefined>;
182
+ }, undefined>, import("valibot").ObjectSchema<{
183
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
184
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
152
185
  readonly data: import("valibot").ObjectSchema<{
153
186
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
154
187
  readonly issues: import("valibot").ObjectSchema<{
@@ -165,7 +198,13 @@ export declare const marcoSDK: {
165
198
  readonly status: import("valibot").LiteralSchema<401, undefined>;
166
199
  }, undefined>, import("valibot").ObjectSchema<{
167
200
  readonly data: import("valibot").ObjectSchema<{
168
- readonly cookie: import("valibot").NumberSchema<undefined>;
201
+ readonly cookie: import("valibot").ObjectSchema<{
202
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
203
+ readonly id: import("valibot").StringSchema<undefined>;
204
+ readonly order: import("valibot").StringSchema<undefined>;
205
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
206
+ readonly version: import("valibot").NumberSchema<undefined>;
207
+ }, undefined>;
169
208
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
170
209
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
171
210
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -209,9 +248,17 @@ export declare const marcoSDK: {
209
248
  }, undefined>], undefined>>;
210
249
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
211
250
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
- readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
251
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
252
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
253
+ readonly id: import("valibot").StringSchema<undefined>;
254
+ readonly order: import("valibot").StringSchema<undefined>;
255
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
256
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
257
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
258
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
259
+ }, undefined>, undefined>;
213
260
  }, undefined>, import("valibot").ObjectSchema<{
214
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
261
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
215
262
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
216
263
  readonly data: import("valibot").ObjectSchema<{
217
264
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -229,8 +276,15 @@ export declare const marcoSDK: {
229
276
  readonly status: import("valibot").LiteralSchema<401, undefined>;
230
277
  }, undefined>, import("valibot").ObjectSchema<{
231
278
  readonly data: import("valibot").ObjectSchema<{
232
- readonly cookie: import("valibot").UnknownSchema;
233
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
279
+ readonly cookie: import("valibot").ObjectSchema<{
280
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
281
+ readonly id: import("valibot").StringSchema<undefined>;
282
+ readonly order: import("valibot").StringSchema<undefined>;
283
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
284
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
285
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
286
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
287
+ }, undefined>;
234
288
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
235
289
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
236
290
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -306,7 +360,13 @@ export declare const marcoSDK: {
306
360
  readonly status: import("valibot").LiteralSchema<401, undefined>;
307
361
  }, undefined>, import("valibot").ObjectSchema<{
308
362
  readonly data: import("valibot").ObjectSchema<{
309
- readonly cookie: import("valibot").NumberSchema<undefined>;
363
+ readonly cookie: import("valibot").ObjectSchema<{
364
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
365
+ readonly id: import("valibot").StringSchema<undefined>;
366
+ readonly order: import("valibot").StringSchema<undefined>;
367
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
368
+ readonly version: import("valibot").NumberSchema<undefined>;
369
+ }, undefined>;
310
370
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
311
371
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
312
372
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;