@marcoappio/marco-config 2.0.366 → 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 +63 -11
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/private/index.d.ts +63 -11
  4. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  5. package/dist/sdk/endpoints/private/sync/index.d.ts +63 -11
  6. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  7. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +14 -2
  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 +12 -3
  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 +14 -2
  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 +63 -11
  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 +16 -3
  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 +63 -11
  25. package/dist/sdk/index.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -43,8 +43,16 @@ export declare const endpoints: {
43
43
  pull: {
44
44
  account: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
45
45
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
46
- readonly cookie: import("valibot").UnknownSchema;
47
- }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
46
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
47
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
48
+ readonly id: import("valibot").StringSchema<undefined>;
49
+ readonly order: import("valibot").StringSchema<undefined>;
50
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
51
+ readonly version: import("valibot").NumberSchema<undefined>;
52
+ }, undefined>, undefined>;
53
+ }, undefined>, import("valibot").ObjectSchema<{
54
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
55
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
48
56
  readonly data: import("valibot").ObjectSchema<{
49
57
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
50
58
  readonly issues: import("valibot").ObjectSchema<{
@@ -62,7 +70,11 @@ export declare const endpoints: {
62
70
  }, undefined>, import("valibot").ObjectSchema<{
63
71
  readonly data: import("valibot").ObjectSchema<{
64
72
  readonly cookie: import("valibot").ObjectSchema<{
73
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
74
+ readonly id: import("valibot").StringSchema<undefined>;
65
75
  readonly order: import("valibot").StringSchema<undefined>;
76
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
77
+ readonly version: import("valibot").NumberSchema<undefined>;
66
78
  }, undefined>;
67
79
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
68
80
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -108,9 +120,15 @@ export declare const endpoints: {
108
120
  }, undefined>], undefined>>;
109
121
  contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
110
122
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
111
- readonly cookie: import("valibot").UnknownSchema;
123
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
124
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
125
+ readonly id: import("valibot").StringSchema<undefined>;
126
+ readonly order: import("valibot").StringSchema<undefined>;
127
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
128
+ readonly version: import("valibot").NumberSchema<undefined>;
129
+ }, undefined>, undefined>;
112
130
  }, undefined>, import("valibot").ObjectSchema<{
113
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
131
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
114
132
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
115
133
  readonly data: import("valibot").ObjectSchema<{
116
134
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -129,9 +147,12 @@ export declare const endpoints: {
129
147
  }, undefined>, import("valibot").ObjectSchema<{
130
148
  readonly data: import("valibot").ObjectSchema<{
131
149
  readonly cookie: import("valibot").ObjectSchema<{
150
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
151
+ readonly id: import("valibot").StringSchema<undefined>;
132
152
  readonly order: import("valibot").StringSchema<undefined>;
153
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
154
+ readonly version: import("valibot").NumberSchema<undefined>;
133
155
  }, undefined>;
134
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
135
156
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
136
157
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
137
158
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -152,8 +173,16 @@ export declare const endpoints: {
152
173
  }, undefined>], undefined>>;
153
174
  draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
154
175
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
155
- readonly cookie: import("valibot").UnknownSchema;
156
- }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
176
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
177
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
178
+ readonly id: import("valibot").StringSchema<undefined>;
179
+ readonly order: import("valibot").StringSchema<undefined>;
180
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
181
+ readonly version: import("valibot").NumberSchema<undefined>;
182
+ }, undefined>, undefined>;
183
+ }, undefined>, import("valibot").ObjectSchema<{
184
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
185
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
157
186
  readonly data: import("valibot").ObjectSchema<{
158
187
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
159
188
  readonly issues: import("valibot").ObjectSchema<{
@@ -171,7 +200,11 @@ export declare const endpoints: {
171
200
  }, undefined>, import("valibot").ObjectSchema<{
172
201
  readonly data: import("valibot").ObjectSchema<{
173
202
  readonly cookie: import("valibot").ObjectSchema<{
203
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
204
+ readonly id: import("valibot").StringSchema<undefined>;
174
205
  readonly order: import("valibot").StringSchema<undefined>;
206
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
207
+ readonly version: import("valibot").NumberSchema<undefined>;
175
208
  }, undefined>;
176
209
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
177
210
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -216,9 +249,17 @@ export declare const endpoints: {
216
249
  }, undefined>], undefined>>;
217
250
  thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
218
251
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
219
- readonly cookie: import("valibot").UnknownSchema;
252
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
253
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
254
+ readonly id: import("valibot").StringSchema<undefined>;
255
+ readonly order: import("valibot").StringSchema<undefined>;
256
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
257
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
258
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
259
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
260
+ }, undefined>, undefined>;
220
261
  }, undefined>, import("valibot").ObjectSchema<{
221
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
262
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
222
263
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
223
264
  readonly data: import("valibot").ObjectSchema<{
224
265
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -237,9 +278,14 @@ export declare const endpoints: {
237
278
  }, undefined>, import("valibot").ObjectSchema<{
238
279
  readonly data: import("valibot").ObjectSchema<{
239
280
  readonly cookie: import("valibot").ObjectSchema<{
281
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
282
+ readonly id: import("valibot").StringSchema<undefined>;
240
283
  readonly order: import("valibot").StringSchema<undefined>;
284
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
285
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
286
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
287
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
241
288
  }, undefined>;
242
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
243
289
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
244
290
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
245
291
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -315,7 +361,13 @@ export declare const endpoints: {
315
361
  readonly status: import("valibot").LiteralSchema<401, undefined>;
316
362
  }, undefined>, import("valibot").ObjectSchema<{
317
363
  readonly data: import("valibot").ObjectSchema<{
318
- readonly cookie: import("valibot").NumberSchema<undefined>;
364
+ readonly cookie: import("valibot").ObjectSchema<{
365
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
366
+ readonly id: import("valibot").StringSchema<undefined>;
367
+ readonly order: import("valibot").StringSchema<undefined>;
368
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
369
+ readonly version: import("valibot").NumberSchema<undefined>;
370
+ }, undefined>;
319
371
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
320
372
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
321
373
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -40,8 +40,16 @@ export declare const privateGroup: {
40
40
  pull: {
41
41
  account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
42
42
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
43
- readonly cookie: import("valibot").UnknownSchema;
44
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
43
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
44
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
45
+ readonly id: import("valibot").StringSchema<undefined>;
46
+ readonly order: import("valibot").StringSchema<undefined>;
47
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
48
+ readonly version: import("valibot").NumberSchema<undefined>;
49
+ }, undefined>, undefined>;
50
+ }, undefined>, import("valibot").ObjectSchema<{
51
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
52
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
53
  readonly data: import("valibot").ObjectSchema<{
46
54
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
47
55
  readonly issues: import("valibot").ObjectSchema<{
@@ -59,7 +67,11 @@ export declare const privateGroup: {
59
67
  }, undefined>, import("valibot").ObjectSchema<{
60
68
  readonly data: import("valibot").ObjectSchema<{
61
69
  readonly cookie: import("valibot").ObjectSchema<{
70
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
71
+ readonly id: import("valibot").StringSchema<undefined>;
62
72
  readonly order: import("valibot").StringSchema<undefined>;
73
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
74
+ readonly version: import("valibot").NumberSchema<undefined>;
63
75
  }, undefined>;
64
76
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
65
77
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -105,9 +117,15 @@ export declare const privateGroup: {
105
117
  }, undefined>], undefined>>;
106
118
  contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
107
119
  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").UnknownSchema;
120
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
121
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
122
+ readonly id: import("valibot").StringSchema<undefined>;
123
+ readonly order: import("valibot").StringSchema<undefined>;
124
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
125
+ readonly version: import("valibot").NumberSchema<undefined>;
126
+ }, undefined>, undefined>;
109
127
  }, 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>;
128
+ 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
129
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
112
130
  readonly data: import("valibot").ObjectSchema<{
113
131
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -126,9 +144,12 @@ export declare const privateGroup: {
126
144
  }, undefined>, import("valibot").ObjectSchema<{
127
145
  readonly data: import("valibot").ObjectSchema<{
128
146
  readonly cookie: import("valibot").ObjectSchema<{
147
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
148
+ readonly id: import("valibot").StringSchema<undefined>;
129
149
  readonly order: import("valibot").StringSchema<undefined>;
150
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
151
+ readonly version: import("valibot").NumberSchema<undefined>;
130
152
  }, undefined>;
131
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
132
153
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
133
154
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
134
155
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -149,8 +170,16 @@ export declare const privateGroup: {
149
170
  }, undefined>], undefined>>;
150
171
  draft: import("../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
151
172
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
152
- readonly cookie: import("valibot").UnknownSchema;
153
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
173
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
174
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
175
+ readonly id: import("valibot").StringSchema<undefined>;
176
+ readonly order: import("valibot").StringSchema<undefined>;
177
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
178
+ readonly version: import("valibot").NumberSchema<undefined>;
179
+ }, undefined>, undefined>;
180
+ }, undefined>, import("valibot").ObjectSchema<{
181
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
182
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
154
183
  readonly data: import("valibot").ObjectSchema<{
155
184
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
156
185
  readonly issues: import("valibot").ObjectSchema<{
@@ -168,7 +197,11 @@ export declare const privateGroup: {
168
197
  }, undefined>, import("valibot").ObjectSchema<{
169
198
  readonly data: import("valibot").ObjectSchema<{
170
199
  readonly cookie: import("valibot").ObjectSchema<{
200
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
+ readonly id: import("valibot").StringSchema<undefined>;
171
202
  readonly order: import("valibot").StringSchema<undefined>;
203
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
204
+ readonly version: import("valibot").NumberSchema<undefined>;
172
205
  }, undefined>;
173
206
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
174
207
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -213,9 +246,17 @@ export declare const privateGroup: {
213
246
  }, undefined>], undefined>>;
214
247
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
215
248
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
216
- readonly cookie: import("valibot").UnknownSchema;
249
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
250
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
251
+ readonly id: import("valibot").StringSchema<undefined>;
252
+ readonly order: import("valibot").StringSchema<undefined>;
253
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
254
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
255
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
256
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
257
+ }, undefined>, undefined>;
217
258
  }, undefined>, import("valibot").ObjectSchema<{
218
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
259
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
219
260
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
220
261
  readonly data: import("valibot").ObjectSchema<{
221
262
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -234,9 +275,14 @@ export declare const privateGroup: {
234
275
  }, undefined>, import("valibot").ObjectSchema<{
235
276
  readonly data: import("valibot").ObjectSchema<{
236
277
  readonly cookie: import("valibot").ObjectSchema<{
278
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
279
+ readonly id: import("valibot").StringSchema<undefined>;
237
280
  readonly order: import("valibot").StringSchema<undefined>;
281
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
282
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
283
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
284
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
238
285
  }, undefined>;
239
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
240
286
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
241
287
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
242
288
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -312,7 +358,13 @@ export declare const privateGroup: {
312
358
  readonly status: import("valibot").LiteralSchema<401, undefined>;
313
359
  }, undefined>, import("valibot").ObjectSchema<{
314
360
  readonly data: import("valibot").ObjectSchema<{
315
- readonly cookie: import("valibot").NumberSchema<undefined>;
361
+ readonly cookie: import("valibot").ObjectSchema<{
362
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
363
+ readonly id: import("valibot").StringSchema<undefined>;
364
+ readonly order: import("valibot").StringSchema<undefined>;
365
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
366
+ readonly version: import("valibot").NumberSchema<undefined>;
367
+ }, undefined>;
316
368
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
317
369
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
318
370
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -2,8 +2,16 @@ export declare const sync: {
2
2
  pull: {
3
3
  account: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
4
4
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
5
- readonly cookie: import("valibot").UnknownSchema;
6
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
5
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
6
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
7
+ readonly id: import("valibot").StringSchema<undefined>;
8
+ readonly order: import("valibot").StringSchema<undefined>;
9
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
10
+ readonly version: import("valibot").NumberSchema<undefined>;
11
+ }, undefined>, undefined>;
12
+ }, undefined>, import("valibot").ObjectSchema<{
13
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
14
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
7
15
  readonly data: import("valibot").ObjectSchema<{
8
16
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
9
17
  readonly issues: import("valibot").ObjectSchema<{
@@ -21,7 +29,11 @@ export declare const sync: {
21
29
  }, undefined>, import("valibot").ObjectSchema<{
22
30
  readonly data: import("valibot").ObjectSchema<{
23
31
  readonly cookie: import("valibot").ObjectSchema<{
32
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
33
+ readonly id: import("valibot").StringSchema<undefined>;
24
34
  readonly order: import("valibot").StringSchema<undefined>;
35
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
36
+ readonly version: import("valibot").NumberSchema<undefined>;
25
37
  }, undefined>;
26
38
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
27
39
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -67,9 +79,15 @@ export declare const sync: {
67
79
  }, undefined>], undefined>>;
68
80
  contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
69
81
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
70
- readonly cookie: import("valibot").UnknownSchema;
82
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
83
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
84
+ readonly id: import("valibot").StringSchema<undefined>;
85
+ readonly order: import("valibot").StringSchema<undefined>;
86
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
87
+ readonly version: import("valibot").NumberSchema<undefined>;
88
+ }, undefined>, undefined>;
71
89
  }, undefined>, import("valibot").ObjectSchema<{
72
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
90
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
73
91
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
74
92
  readonly data: import("valibot").ObjectSchema<{
75
93
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -88,9 +106,12 @@ export declare const sync: {
88
106
  }, undefined>, import("valibot").ObjectSchema<{
89
107
  readonly data: import("valibot").ObjectSchema<{
90
108
  readonly cookie: import("valibot").ObjectSchema<{
109
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
110
+ readonly id: import("valibot").StringSchema<undefined>;
91
111
  readonly order: import("valibot").StringSchema<undefined>;
112
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
113
+ readonly version: import("valibot").NumberSchema<undefined>;
92
114
  }, undefined>;
93
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
94
115
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
95
116
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
96
117
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -111,8 +132,16 @@ export declare const sync: {
111
132
  }, undefined>], undefined>>;
112
133
  draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
113
134
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
114
- readonly cookie: import("valibot").UnknownSchema;
115
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
135
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
136
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
137
+ readonly id: import("valibot").StringSchema<undefined>;
138
+ readonly order: import("valibot").StringSchema<undefined>;
139
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
140
+ readonly version: import("valibot").NumberSchema<undefined>;
141
+ }, undefined>, undefined>;
142
+ }, undefined>, import("valibot").ObjectSchema<{
143
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
144
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
116
145
  readonly data: import("valibot").ObjectSchema<{
117
146
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
118
147
  readonly issues: import("valibot").ObjectSchema<{
@@ -130,7 +159,11 @@ export declare const sync: {
130
159
  }, undefined>, import("valibot").ObjectSchema<{
131
160
  readonly data: import("valibot").ObjectSchema<{
132
161
  readonly cookie: import("valibot").ObjectSchema<{
162
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
163
+ readonly id: import("valibot").StringSchema<undefined>;
133
164
  readonly order: import("valibot").StringSchema<undefined>;
165
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
166
+ readonly version: import("valibot").NumberSchema<undefined>;
134
167
  }, undefined>;
135
168
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
136
169
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -175,9 +208,17 @@ export declare const sync: {
175
208
  }, undefined>], undefined>>;
176
209
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
177
210
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
178
- readonly cookie: import("valibot").UnknownSchema;
211
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
212
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
213
+ readonly id: import("valibot").StringSchema<undefined>;
214
+ readonly order: import("valibot").StringSchema<undefined>;
215
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
216
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
217
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
218
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
219
+ }, undefined>, undefined>;
179
220
  }, undefined>, import("valibot").ObjectSchema<{
180
- readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
221
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
181
222
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
182
223
  readonly data: import("valibot").ObjectSchema<{
183
224
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -196,9 +237,14 @@ export declare const sync: {
196
237
  }, undefined>, import("valibot").ObjectSchema<{
197
238
  readonly data: import("valibot").ObjectSchema<{
198
239
  readonly cookie: import("valibot").ObjectSchema<{
240
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
241
+ readonly id: import("valibot").StringSchema<undefined>;
199
242
  readonly order: import("valibot").StringSchema<undefined>;
243
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
244
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
245
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
246
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
200
247
  }, undefined>;
201
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
202
248
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
203
249
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
204
250
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -274,7 +320,13 @@ export declare const sync: {
274
320
  readonly status: import("valibot").LiteralSchema<401, undefined>;
275
321
  }, undefined>, import("valibot").ObjectSchema<{
276
322
  readonly data: import("valibot").ObjectSchema<{
277
- readonly cookie: import("valibot").NumberSchema<undefined>;
323
+ readonly cookie: import("valibot").ObjectSchema<{
324
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
325
+ readonly id: import("valibot").StringSchema<undefined>;
326
+ readonly order: import("valibot").StringSchema<undefined>;
327
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
328
+ readonly version: import("valibot").NumberSchema<undefined>;
329
+ }, undefined>;
278
330
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
279
331
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
280
332
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -1,8 +1,16 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", 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.UnknownSchema;
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<{
@@ -20,7 +28,11 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
20
28
  }, undefined>, v.ObjectSchema<{
21
29
  readonly data: v.ObjectSchema<{
22
30
  readonly cookie: v.ObjectSchema<{
31
+ readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly id: v.StringSchema<undefined>;
23
33
  readonly order: v.StringSchema<undefined>;
34
+ readonly pageNum: v.NumberSchema<undefined>;
35
+ readonly version: v.NumberSchema<undefined>;
24
36
  }, undefined>;
25
37
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
26
38
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6B1B,CAAA"}
@@ -3,19 +3,29 @@ import { account } from '../../../../../clients/account';
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 syncPullAccount = createEndpoint({
7
14
  body: v.object({
8
15
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: v.unknown(),
16
+ cookie: v.nullable(cookieSchema),
10
17
  }),
11
18
  method: 'POST',
12
19
  path: account.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.object({ order: v.string() }),
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,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.UnknownSchema;
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>;
@@ -22,9 +28,12 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
22
28
  }, undefined>, v.ObjectSchema<{
23
29
  readonly data: v.ObjectSchema<{
24
30
  readonly cookie: v.ObjectSchema<{
31
+ readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly id: v.StringSchema<undefined>;
25
33
  readonly order: v.StringSchema<undefined>;
34
+ readonly pageNum: v.NumberSchema<undefined>;
35
+ readonly version: v.NumberSchema<undefined>;
26
36
  }, undefined>;
27
- readonly hasMore: v.BooleanSchema<undefined>;
28
37
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
29
38
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
30
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.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.object({ order: v.string() }),
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.UnknownSchema;
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<{
@@ -20,7 +28,11 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
20
28
  }, undefined>, v.ObjectSchema<{
21
29
  readonly data: v.ObjectSchema<{
22
30
  readonly cookie: v.ObjectSchema<{
31
+ readonly hasMore: v.BooleanSchema<undefined>;
32
+ readonly id: v.StringSchema<undefined>;
23
33
  readonly order: v.StringSchema<undefined>;
34
+ readonly pageNum: v.NumberSchema<undefined>;
35
+ readonly version: v.NumberSchema<undefined>;
24
36
  }, undefined>;
25
37
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
26
38
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
@@ -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: v.unknown(),
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.object({ order: v.string() }),
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").UnknownSchema;
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<{
@@ -20,7 +28,11 @@ export declare const pull: {
20
28
  }, undefined>, import("valibot").ObjectSchema<{
21
29
  readonly data: import("valibot").ObjectSchema<{
22
30
  readonly cookie: import("valibot").ObjectSchema<{
31
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
32
+ readonly id: import("valibot").StringSchema<undefined>;
23
33
  readonly order: import("valibot").StringSchema<undefined>;
34
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
35
+ readonly version: import("valibot").NumberSchema<undefined>;
24
36
  }, undefined>;
25
37
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
26
38
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -66,9 +78,15 @@ export declare const pull: {
66
78
  }, undefined>], undefined>>;
67
79
  contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
68
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>;
69
- readonly cookie: import("valibot").UnknownSchema;
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>;
70
88
  }, undefined>, import("valibot").ObjectSchema<{
71
- 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>;
72
90
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
73
91
  readonly data: import("valibot").ObjectSchema<{
74
92
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -87,9 +105,12 @@ export declare const pull: {
87
105
  }, undefined>, import("valibot").ObjectSchema<{
88
106
  readonly data: import("valibot").ObjectSchema<{
89
107
  readonly cookie: import("valibot").ObjectSchema<{
108
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
109
+ readonly id: import("valibot").StringSchema<undefined>;
90
110
  readonly order: import("valibot").StringSchema<undefined>;
111
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
112
+ readonly version: import("valibot").NumberSchema<undefined>;
91
113
  }, undefined>;
92
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
93
114
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
94
115
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
95
116
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -110,8 +131,16 @@ export declare const pull: {
110
131
  }, undefined>], undefined>>;
111
132
  draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
112
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>;
113
- readonly cookie: import("valibot").UnknownSchema;
114
- }, 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<{
115
144
  readonly data: import("valibot").ObjectSchema<{
116
145
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
117
146
  readonly issues: import("valibot").ObjectSchema<{
@@ -129,7 +158,11 @@ export declare const pull: {
129
158
  }, undefined>, import("valibot").ObjectSchema<{
130
159
  readonly data: import("valibot").ObjectSchema<{
131
160
  readonly cookie: import("valibot").ObjectSchema<{
161
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
162
+ readonly id: import("valibot").StringSchema<undefined>;
132
163
  readonly order: import("valibot").StringSchema<undefined>;
164
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
165
+ readonly version: import("valibot").NumberSchema<undefined>;
133
166
  }, undefined>;
134
167
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
135
168
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -174,9 +207,17 @@ export declare const pull: {
174
207
  }, undefined>], undefined>>;
175
208
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
176
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>;
177
- readonly cookie: import("valibot").UnknownSchema;
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>;
178
219
  }, undefined>, import("valibot").ObjectSchema<{
179
- 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>;
180
221
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
181
222
  readonly data: import("valibot").ObjectSchema<{
182
223
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -195,9 +236,14 @@ export declare const pull: {
195
236
  }, undefined>, import("valibot").ObjectSchema<{
196
237
  readonly data: import("valibot").ObjectSchema<{
197
238
  readonly cookie: import("valibot").ObjectSchema<{
239
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
240
+ readonly id: import("valibot").StringSchema<undefined>;
198
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>;
199
246
  }, undefined>;
200
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
247
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
202
248
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
203
249
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -273,7 +319,13 @@ export declare const pull: {
273
319
  readonly status: import("valibot").LiteralSchema<401, undefined>;
274
320
  }, undefined>, import("valibot").ObjectSchema<{
275
321
  readonly data: import("valibot").ObjectSchema<{
276
- 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>;
277
329
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
278
330
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
279
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.UnknownSchema;
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>;
@@ -22,9 +30,14 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
22
30
  }, undefined>, v.ObjectSchema<{
23
31
  readonly data: v.ObjectSchema<{
24
32
  readonly cookie: v.ObjectSchema<{
33
+ readonly hasMore: v.BooleanSchema<undefined>;
34
+ readonly id: v.StringSchema<undefined>;
25
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>;
26
40
  }, undefined>;
27
- readonly hasMore: v.BooleanSchema<undefined>;
28
41
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
29
42
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
30
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.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.object({ order: v.string() }),
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").UnknownSchema;
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<{
@@ -61,7 +69,11 @@ export declare const marcoSDK: {
61
69
  }, undefined>, import("valibot").ObjectSchema<{
62
70
  readonly data: import("valibot").ObjectSchema<{
63
71
  readonly cookie: import("valibot").ObjectSchema<{
72
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
73
+ readonly id: import("valibot").StringSchema<undefined>;
64
74
  readonly order: import("valibot").StringSchema<undefined>;
75
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
76
+ readonly version: import("valibot").NumberSchema<undefined>;
65
77
  }, undefined>;
66
78
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
67
79
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -107,9 +119,15 @@ export declare const marcoSDK: {
107
119
  }, undefined>], undefined>>;
108
120
  contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
109
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>;
110
- readonly cookie: import("valibot").UnknownSchema;
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>;
111
129
  }, undefined>, import("valibot").ObjectSchema<{
112
- 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>;
113
131
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
114
132
  readonly data: import("valibot").ObjectSchema<{
115
133
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -128,9 +146,12 @@ export declare const marcoSDK: {
128
146
  }, undefined>, import("valibot").ObjectSchema<{
129
147
  readonly data: import("valibot").ObjectSchema<{
130
148
  readonly cookie: import("valibot").ObjectSchema<{
149
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
150
+ readonly id: import("valibot").StringSchema<undefined>;
131
151
  readonly order: import("valibot").StringSchema<undefined>;
152
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
153
+ readonly version: import("valibot").NumberSchema<undefined>;
132
154
  }, undefined>;
133
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
134
155
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
135
156
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
136
157
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -151,8 +172,16 @@ export declare const marcoSDK: {
151
172
  }, undefined>], undefined>>;
152
173
  draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
153
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>;
154
- readonly cookie: import("valibot").UnknownSchema;
155
- }, 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<{
156
185
  readonly data: import("valibot").ObjectSchema<{
157
186
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
158
187
  readonly issues: import("valibot").ObjectSchema<{
@@ -170,7 +199,11 @@ export declare const marcoSDK: {
170
199
  }, undefined>, import("valibot").ObjectSchema<{
171
200
  readonly data: import("valibot").ObjectSchema<{
172
201
  readonly cookie: import("valibot").ObjectSchema<{
202
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
203
+ readonly id: import("valibot").StringSchema<undefined>;
173
204
  readonly order: import("valibot").StringSchema<undefined>;
205
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
206
+ readonly version: import("valibot").NumberSchema<undefined>;
174
207
  }, undefined>;
175
208
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
176
209
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -215,9 +248,17 @@ export declare const marcoSDK: {
215
248
  }, undefined>], undefined>>;
216
249
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
217
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>;
218
- readonly cookie: import("valibot").UnknownSchema;
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>;
219
260
  }, undefined>, import("valibot").ObjectSchema<{
220
- 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>;
221
262
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
222
263
  readonly data: import("valibot").ObjectSchema<{
223
264
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -236,9 +277,14 @@ export declare const marcoSDK: {
236
277
  }, undefined>, import("valibot").ObjectSchema<{
237
278
  readonly data: import("valibot").ObjectSchema<{
238
279
  readonly cookie: import("valibot").ObjectSchema<{
280
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
281
+ readonly id: import("valibot").StringSchema<undefined>;
239
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>;
240
287
  }, undefined>;
241
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
288
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
243
289
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
244
290
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -314,7 +360,13 @@ export declare const marcoSDK: {
314
360
  readonly status: import("valibot").LiteralSchema<401, undefined>;
315
361
  }, undefined>, import("valibot").ObjectSchema<{
316
362
  readonly data: import("valibot").ObjectSchema<{
317
- 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>;
318
370
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
319
371
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
320
372
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.366",
4
+ "version": "2.0.367",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",