@marcoappio/marco-config 2.0.366 → 2.0.368

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 +48 -11
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/private/index.d.ts +48 -11
  4. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  5. package/dist/sdk/endpoints/private/sync/index.d.ts +48 -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 +8 -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 +9 -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 +8 -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 +9 -2
  16. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +48 -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 +4 -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 +5 -1
  24. package/dist/sdk/index.d.ts +48 -11
  25. package/dist/sdk/index.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -43,8 +43,13 @@ 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 order: import("valibot").StringSchema<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<{
48
53
  readonly data: import("valibot").ObjectSchema<{
49
54
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
50
55
  readonly issues: import("valibot").ObjectSchema<{
@@ -63,6 +68,7 @@ export declare const endpoints: {
63
68
  readonly data: import("valibot").ObjectSchema<{
64
69
  readonly cookie: import("valibot").ObjectSchema<{
65
70
  readonly order: import("valibot").StringSchema<undefined>;
71
+ readonly version: import("valibot").NumberSchema<undefined>;
66
72
  }, undefined>;
67
73
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
68
74
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -108,9 +114,15 @@ export declare const endpoints: {
108
114
  }, undefined>], undefined>>;
109
115
  contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
110
116
  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;
117
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
118
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
119
+ readonly id: import("valibot").StringSchema<undefined>;
120
+ readonly order: import("valibot").StringSchema<undefined>;
121
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
122
+ readonly version: import("valibot").NumberSchema<undefined>;
123
+ }, undefined>, undefined>;
112
124
  }, 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>;
125
+ 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
126
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
115
127
  readonly data: import("valibot").ObjectSchema<{
116
128
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -129,9 +141,12 @@ export declare const endpoints: {
129
141
  }, undefined>, import("valibot").ObjectSchema<{
130
142
  readonly data: import("valibot").ObjectSchema<{
131
143
  readonly cookie: import("valibot").ObjectSchema<{
144
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
145
+ readonly id: import("valibot").StringSchema<undefined>;
132
146
  readonly order: import("valibot").StringSchema<undefined>;
147
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
148
+ readonly version: import("valibot").NumberSchema<undefined>;
133
149
  }, undefined>;
134
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
135
150
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
136
151
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
137
152
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -152,8 +167,13 @@ export declare const endpoints: {
152
167
  }, undefined>], undefined>>;
153
168
  draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
154
169
  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<{
170
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
171
+ readonly order: import("valibot").StringSchema<undefined>;
172
+ readonly version: import("valibot").NumberSchema<undefined>;
173
+ }, undefined>, undefined>;
174
+ }, undefined>, import("valibot").ObjectSchema<{
175
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
176
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
157
177
  readonly data: import("valibot").ObjectSchema<{
158
178
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
159
179
  readonly issues: import("valibot").ObjectSchema<{
@@ -172,6 +192,7 @@ export declare const endpoints: {
172
192
  readonly data: import("valibot").ObjectSchema<{
173
193
  readonly cookie: import("valibot").ObjectSchema<{
174
194
  readonly order: import("valibot").StringSchema<undefined>;
195
+ readonly version: import("valibot").NumberSchema<undefined>;
175
196
  }, undefined>;
176
197
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
177
198
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -216,9 +237,17 @@ export declare const endpoints: {
216
237
  }, undefined>], undefined>>;
217
238
  thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
218
239
  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;
240
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
241
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
+ readonly id: import("valibot").StringSchema<undefined>;
243
+ readonly order: import("valibot").StringSchema<undefined>;
244
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
245
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
246
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
247
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
248
+ }, undefined>, undefined>;
220
249
  }, 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>;
250
+ 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
251
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
223
252
  readonly data: import("valibot").ObjectSchema<{
224
253
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -237,9 +266,14 @@ export declare const endpoints: {
237
266
  }, undefined>, import("valibot").ObjectSchema<{
238
267
  readonly data: import("valibot").ObjectSchema<{
239
268
  readonly cookie: import("valibot").ObjectSchema<{
269
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
270
+ readonly id: import("valibot").StringSchema<undefined>;
240
271
  readonly order: import("valibot").StringSchema<undefined>;
272
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
273
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
274
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
275
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
241
276
  }, undefined>;
242
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
243
277
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
244
278
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
245
279
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -315,7 +349,10 @@ export declare const endpoints: {
315
349
  readonly status: import("valibot").LiteralSchema<401, undefined>;
316
350
  }, undefined>, import("valibot").ObjectSchema<{
317
351
  readonly data: import("valibot").ObjectSchema<{
318
- readonly cookie: import("valibot").NumberSchema<undefined>;
352
+ readonly cookie: import("valibot").ObjectSchema<{
353
+ readonly order: import("valibot").StringSchema<undefined>;
354
+ readonly version: import("valibot").NumberSchema<undefined>;
355
+ }, undefined>;
319
356
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
320
357
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
321
358
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -40,8 +40,13 @@ 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 order: import("valibot").StringSchema<undefined>;
45
+ readonly version: import("valibot").NumberSchema<undefined>;
46
+ }, undefined>, undefined>;
47
+ }, undefined>, import("valibot").ObjectSchema<{
48
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
49
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
50
  readonly data: import("valibot").ObjectSchema<{
46
51
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
47
52
  readonly issues: import("valibot").ObjectSchema<{
@@ -60,6 +65,7 @@ export declare const privateGroup: {
60
65
  readonly data: import("valibot").ObjectSchema<{
61
66
  readonly cookie: import("valibot").ObjectSchema<{
62
67
  readonly order: import("valibot").StringSchema<undefined>;
68
+ readonly version: import("valibot").NumberSchema<undefined>;
63
69
  }, undefined>;
64
70
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
65
71
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -105,9 +111,15 @@ export declare const privateGroup: {
105
111
  }, undefined>], undefined>>;
106
112
  contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
107
113
  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;
114
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
115
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
116
+ readonly id: import("valibot").StringSchema<undefined>;
117
+ readonly order: import("valibot").StringSchema<undefined>;
118
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
119
+ readonly version: import("valibot").NumberSchema<undefined>;
120
+ }, undefined>, undefined>;
109
121
  }, 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>;
122
+ 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
123
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
112
124
  readonly data: import("valibot").ObjectSchema<{
113
125
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -126,9 +138,12 @@ export declare const privateGroup: {
126
138
  }, undefined>, import("valibot").ObjectSchema<{
127
139
  readonly data: import("valibot").ObjectSchema<{
128
140
  readonly cookie: import("valibot").ObjectSchema<{
141
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
142
+ readonly id: import("valibot").StringSchema<undefined>;
129
143
  readonly order: import("valibot").StringSchema<undefined>;
144
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
145
+ readonly version: import("valibot").NumberSchema<undefined>;
130
146
  }, undefined>;
131
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
132
147
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
133
148
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
134
149
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -149,8 +164,13 @@ export declare const privateGroup: {
149
164
  }, undefined>], undefined>>;
150
165
  draft: import("../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
151
166
  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<{
167
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
168
+ readonly order: import("valibot").StringSchema<undefined>;
169
+ readonly version: import("valibot").NumberSchema<undefined>;
170
+ }, undefined>, undefined>;
171
+ }, undefined>, import("valibot").ObjectSchema<{
172
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
173
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
154
174
  readonly data: import("valibot").ObjectSchema<{
155
175
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
156
176
  readonly issues: import("valibot").ObjectSchema<{
@@ -169,6 +189,7 @@ export declare const privateGroup: {
169
189
  readonly data: import("valibot").ObjectSchema<{
170
190
  readonly cookie: import("valibot").ObjectSchema<{
171
191
  readonly order: import("valibot").StringSchema<undefined>;
192
+ readonly version: import("valibot").NumberSchema<undefined>;
172
193
  }, undefined>;
173
194
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
174
195
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -213,9 +234,17 @@ export declare const privateGroup: {
213
234
  }, undefined>], undefined>>;
214
235
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
215
236
  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;
237
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
238
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
239
+ readonly id: import("valibot").StringSchema<undefined>;
240
+ readonly order: import("valibot").StringSchema<undefined>;
241
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
242
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
243
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
244
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
245
+ }, undefined>, undefined>;
217
246
  }, 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>;
247
+ 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
248
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
220
249
  readonly data: import("valibot").ObjectSchema<{
221
250
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -234,9 +263,14 @@ export declare const privateGroup: {
234
263
  }, undefined>, import("valibot").ObjectSchema<{
235
264
  readonly data: import("valibot").ObjectSchema<{
236
265
  readonly cookie: import("valibot").ObjectSchema<{
266
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
267
+ readonly id: import("valibot").StringSchema<undefined>;
237
268
  readonly order: import("valibot").StringSchema<undefined>;
269
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
270
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
271
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
272
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
238
273
  }, undefined>;
239
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
240
274
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
241
275
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
242
276
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -312,7 +346,10 @@ export declare const privateGroup: {
312
346
  readonly status: import("valibot").LiteralSchema<401, undefined>;
313
347
  }, undefined>, import("valibot").ObjectSchema<{
314
348
  readonly data: import("valibot").ObjectSchema<{
315
- readonly cookie: import("valibot").NumberSchema<undefined>;
349
+ readonly cookie: import("valibot").ObjectSchema<{
350
+ readonly order: import("valibot").StringSchema<undefined>;
351
+ readonly version: import("valibot").NumberSchema<undefined>;
352
+ }, undefined>;
316
353
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
317
354
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
318
355
  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,13 @@ 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 order: import("valibot").StringSchema<undefined>;
7
+ readonly version: import("valibot").NumberSchema<undefined>;
8
+ }, undefined>, undefined>;
9
+ }, undefined>, import("valibot").ObjectSchema<{
10
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
11
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
7
12
  readonly data: import("valibot").ObjectSchema<{
8
13
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
9
14
  readonly issues: import("valibot").ObjectSchema<{
@@ -22,6 +27,7 @@ export declare const sync: {
22
27
  readonly data: import("valibot").ObjectSchema<{
23
28
  readonly cookie: import("valibot").ObjectSchema<{
24
29
  readonly order: import("valibot").StringSchema<undefined>;
30
+ readonly version: import("valibot").NumberSchema<undefined>;
25
31
  }, undefined>;
26
32
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
27
33
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -67,9 +73,15 @@ export declare const sync: {
67
73
  }, undefined>], undefined>>;
68
74
  contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
69
75
  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;
76
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
77
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
78
+ readonly id: import("valibot").StringSchema<undefined>;
79
+ readonly order: import("valibot").StringSchema<undefined>;
80
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
81
+ readonly version: import("valibot").NumberSchema<undefined>;
82
+ }, undefined>, undefined>;
71
83
  }, 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>;
84
+ 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
85
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
74
86
  readonly data: import("valibot").ObjectSchema<{
75
87
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -88,9 +100,12 @@ export declare const sync: {
88
100
  }, undefined>, import("valibot").ObjectSchema<{
89
101
  readonly data: import("valibot").ObjectSchema<{
90
102
  readonly cookie: import("valibot").ObjectSchema<{
103
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
104
+ readonly id: import("valibot").StringSchema<undefined>;
91
105
  readonly order: import("valibot").StringSchema<undefined>;
106
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
107
+ readonly version: import("valibot").NumberSchema<undefined>;
92
108
  }, undefined>;
93
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
94
109
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
95
110
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
96
111
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -111,8 +126,13 @@ export declare const sync: {
111
126
  }, undefined>], undefined>>;
112
127
  draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
113
128
  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<{
129
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
130
+ readonly order: import("valibot").StringSchema<undefined>;
131
+ readonly version: import("valibot").NumberSchema<undefined>;
132
+ }, undefined>, undefined>;
133
+ }, undefined>, import("valibot").ObjectSchema<{
134
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
135
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
116
136
  readonly data: import("valibot").ObjectSchema<{
117
137
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
118
138
  readonly issues: import("valibot").ObjectSchema<{
@@ -131,6 +151,7 @@ export declare const sync: {
131
151
  readonly data: import("valibot").ObjectSchema<{
132
152
  readonly cookie: import("valibot").ObjectSchema<{
133
153
  readonly order: import("valibot").StringSchema<undefined>;
154
+ readonly version: import("valibot").NumberSchema<undefined>;
134
155
  }, 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<{
@@ -175,9 +196,17 @@ export declare const sync: {
175
196
  }, undefined>], undefined>>;
176
197
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
177
198
  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;
199
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
200
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
+ readonly id: import("valibot").StringSchema<undefined>;
202
+ readonly order: import("valibot").StringSchema<undefined>;
203
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
204
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
205
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
206
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
207
+ }, undefined>, undefined>;
179
208
  }, 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>;
209
+ 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
210
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
182
211
  readonly data: import("valibot").ObjectSchema<{
183
212
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -196,9 +225,14 @@ export declare const sync: {
196
225
  }, undefined>, import("valibot").ObjectSchema<{
197
226
  readonly data: import("valibot").ObjectSchema<{
198
227
  readonly cookie: import("valibot").ObjectSchema<{
228
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
229
+ readonly id: import("valibot").StringSchema<undefined>;
199
230
  readonly order: import("valibot").StringSchema<undefined>;
231
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
232
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
233
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
234
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
200
235
  }, undefined>;
201
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
202
236
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
203
237
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
204
238
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -274,7 +308,10 @@ export declare const sync: {
274
308
  readonly status: import("valibot").LiteralSchema<401, undefined>;
275
309
  }, undefined>, import("valibot").ObjectSchema<{
276
310
  readonly data: import("valibot").ObjectSchema<{
277
- readonly cookie: import("valibot").NumberSchema<undefined>;
311
+ readonly cookie: import("valibot").ObjectSchema<{
312
+ readonly order: import("valibot").StringSchema<undefined>;
313
+ readonly version: import("valibot").NumberSchema<undefined>;
314
+ }, undefined>;
278
315
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
279
316
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
280
317
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -1,8 +1,13 @@
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 order: v.StringSchema<undefined>;
6
+ readonly version: v.NumberSchema<undefined>;
7
+ }, undefined>, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
10
+ }, undefined>, v.UnionSchema<[v.ObjectSchema<{
6
11
  readonly data: v.ObjectSchema<{
7
12
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
8
13
  readonly issues: v.ObjectSchema<{
@@ -21,6 +26,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
21
26
  readonly data: v.ObjectSchema<{
22
27
  readonly cookie: v.ObjectSchema<{
23
28
  readonly order: v.StringSchema<undefined>;
29
+ readonly version: v.NumberSchema<undefined>;
24
30
  }, undefined>;
25
31
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
26
32
  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;AAY5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6B1B,CAAA"}
@@ -3,19 +3,26 @@ 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
+ order: v.string(),
8
+ version: v.number(),
9
+ });
6
10
  export const syncPullAccount = createEndpoint({
7
11
  body: v.object({
8
12
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: v.unknown(),
13
+ cookie: v.nullable(cookieSchema),
10
14
  }),
11
15
  method: 'POST',
12
16
  path: account.pullUrl,
17
+ query: v.object({
18
+ pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
19
+ }),
13
20
  response: v.union([
14
21
  errors.validationFailedErrorSchema,
15
22
  errors.authFailedErrorSchema,
16
23
  v.object({
17
24
  data: v.object({
18
- cookie: v.object({ order: v.string() }),
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') }),
@@ -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,13 @@
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 order: v.StringSchema<undefined>;
6
+ readonly version: v.NumberSchema<undefined>;
7
+ }, undefined>, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
10
+ }, undefined>, v.UnionSchema<[v.ObjectSchema<{
6
11
  readonly data: v.ObjectSchema<{
7
12
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
8
13
  readonly issues: v.ObjectSchema<{
@@ -21,6 +26,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
21
26
  readonly data: v.ObjectSchema<{
22
27
  readonly cookie: v.ObjectSchema<{
23
28
  readonly order: v.StringSchema<undefined>;
29
+ readonly version: v.NumberSchema<undefined>;
24
30
  }, undefined>;
25
31
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
26
32
  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;AAY5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BxB,CAAA"}
@@ -3,19 +3,26 @@ 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
+ order: v.string(),
8
+ version: v.number(),
9
+ });
6
10
  export const syncPullDraft = createEndpoint({
7
11
  body: v.object({
8
12
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: v.unknown(),
13
+ cookie: v.nullable(cookieSchema),
10
14
  }),
11
15
  method: 'POST',
12
16
  path: draft.pullUrl,
17
+ query: v.object({
18
+ pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
19
+ }),
13
20
  response: v.union([
14
21
  errors.validationFailedErrorSchema,
15
22
  errors.authFailedErrorSchema,
16
23
  v.object({
17
24
  data: v.object({
18
- cookie: v.object({ order: v.string() }),
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') }),
@@ -1,8 +1,13 @@
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 order: import("valibot").StringSchema<undefined>;
6
+ readonly version: import("valibot").NumberSchema<undefined>;
7
+ }, undefined>, undefined>;
8
+ }, undefined>, import("valibot").ObjectSchema<{
9
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
10
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
11
  readonly data: import("valibot").ObjectSchema<{
7
12
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
8
13
  readonly issues: import("valibot").ObjectSchema<{
@@ -21,6 +26,7 @@ export declare const pull: {
21
26
  readonly data: import("valibot").ObjectSchema<{
22
27
  readonly cookie: import("valibot").ObjectSchema<{
23
28
  readonly order: import("valibot").StringSchema<undefined>;
29
+ readonly version: import("valibot").NumberSchema<undefined>;
24
30
  }, undefined>;
25
31
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
26
32
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -66,9 +72,15 @@ export declare const pull: {
66
72
  }, undefined>], undefined>>;
67
73
  contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
68
74
  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;
75
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
76
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
77
+ readonly id: import("valibot").StringSchema<undefined>;
78
+ readonly order: import("valibot").StringSchema<undefined>;
79
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
80
+ readonly version: import("valibot").NumberSchema<undefined>;
81
+ }, undefined>, undefined>;
70
82
  }, 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>;
83
+ 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
84
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
73
85
  readonly data: import("valibot").ObjectSchema<{
74
86
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -87,9 +99,12 @@ export declare const pull: {
87
99
  }, undefined>, import("valibot").ObjectSchema<{
88
100
  readonly data: import("valibot").ObjectSchema<{
89
101
  readonly cookie: import("valibot").ObjectSchema<{
102
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
103
+ readonly id: import("valibot").StringSchema<undefined>;
90
104
  readonly order: import("valibot").StringSchema<undefined>;
105
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
106
+ readonly version: import("valibot").NumberSchema<undefined>;
91
107
  }, undefined>;
92
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
93
108
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
94
109
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
95
110
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -110,8 +125,13 @@ export declare const pull: {
110
125
  }, undefined>], undefined>>;
111
126
  draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
112
127
  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<{
128
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
129
+ readonly order: import("valibot").StringSchema<undefined>;
130
+ readonly version: import("valibot").NumberSchema<undefined>;
131
+ }, undefined>, undefined>;
132
+ }, undefined>, import("valibot").ObjectSchema<{
133
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
134
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
115
135
  readonly data: import("valibot").ObjectSchema<{
116
136
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
117
137
  readonly issues: import("valibot").ObjectSchema<{
@@ -130,6 +150,7 @@ export declare const pull: {
130
150
  readonly data: import("valibot").ObjectSchema<{
131
151
  readonly cookie: import("valibot").ObjectSchema<{
132
152
  readonly order: import("valibot").StringSchema<undefined>;
153
+ readonly version: import("valibot").NumberSchema<undefined>;
133
154
  }, 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<{
@@ -174,9 +195,17 @@ export declare const pull: {
174
195
  }, undefined>], undefined>>;
175
196
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
176
197
  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;
198
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
199
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
200
+ readonly id: import("valibot").StringSchema<undefined>;
201
+ readonly order: import("valibot").StringSchema<undefined>;
202
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
203
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
204
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
205
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
206
+ }, undefined>, undefined>;
178
207
  }, 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>;
208
+ 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
209
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
181
210
  readonly data: import("valibot").ObjectSchema<{
182
211
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -195,9 +224,14 @@ export declare const pull: {
195
224
  }, undefined>, import("valibot").ObjectSchema<{
196
225
  readonly data: import("valibot").ObjectSchema<{
197
226
  readonly cookie: import("valibot").ObjectSchema<{
227
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
228
+ readonly id: import("valibot").StringSchema<undefined>;
198
229
  readonly order: import("valibot").StringSchema<undefined>;
230
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
231
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
232
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
233
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
199
234
  }, undefined>;
200
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
235
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
202
236
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
203
237
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -273,7 +307,10 @@ export declare const pull: {
273
307
  readonly status: import("valibot").LiteralSchema<401, undefined>;
274
308
  }, undefined>, import("valibot").ObjectSchema<{
275
309
  readonly data: import("valibot").ObjectSchema<{
276
- readonly cookie: import("valibot").NumberSchema<undefined>;
310
+ readonly cookie: import("valibot").ObjectSchema<{
311
+ readonly order: import("valibot").StringSchema<undefined>;
312
+ readonly version: import("valibot").NumberSchema<undefined>;
313
+ }, undefined>;
277
314
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
278
315
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
279
316
  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,10 @@ 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 order: v.StringSchema<undefined>;
24
+ readonly version: v.NumberSchema<undefined>;
25
+ }, undefined>;
23
26
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
24
27
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
25
28
  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;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
@@ -3,6 +3,10 @@ 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
+ order: v.string(),
8
+ version: v.number(),
9
+ });
6
10
  export const syncPullUser = createEndpoint({
7
11
  body: v.object({
8
12
  clientGroupID: marcoSchemas.string.required(),
@@ -15,7 +19,7 @@ export const syncPullUser = createEndpoint({
15
19
  errors.authFailedErrorSchema,
16
20
  v.object({
17
21
  data: v.object({
18
- cookie: v.number(),
22
+ cookie: cookieSchema,
19
23
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
24
  patch: v.array(v.union([
21
25
  v.object({ op: v.literal('clear') }),
@@ -42,8 +42,13 @@ 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 order: import("valibot").StringSchema<undefined>;
47
+ readonly version: import("valibot").NumberSchema<undefined>;
48
+ }, undefined>, undefined>;
49
+ }, undefined>, import("valibot").ObjectSchema<{
50
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
51
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
47
52
  readonly data: import("valibot").ObjectSchema<{
48
53
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
49
54
  readonly issues: import("valibot").ObjectSchema<{
@@ -62,6 +67,7 @@ export declare const marcoSDK: {
62
67
  readonly data: import("valibot").ObjectSchema<{
63
68
  readonly cookie: import("valibot").ObjectSchema<{
64
69
  readonly order: import("valibot").StringSchema<undefined>;
70
+ readonly version: import("valibot").NumberSchema<undefined>;
65
71
  }, undefined>;
66
72
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
67
73
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -107,9 +113,15 @@ export declare const marcoSDK: {
107
113
  }, undefined>], undefined>>;
108
114
  contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
109
115
  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;
116
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
117
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
118
+ readonly id: import("valibot").StringSchema<undefined>;
119
+ readonly order: import("valibot").StringSchema<undefined>;
120
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
121
+ readonly version: import("valibot").NumberSchema<undefined>;
122
+ }, undefined>, undefined>;
111
123
  }, 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>;
124
+ 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
125
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
114
126
  readonly data: import("valibot").ObjectSchema<{
115
127
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -128,9 +140,12 @@ export declare const marcoSDK: {
128
140
  }, undefined>, import("valibot").ObjectSchema<{
129
141
  readonly data: import("valibot").ObjectSchema<{
130
142
  readonly cookie: import("valibot").ObjectSchema<{
143
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
144
+ readonly id: import("valibot").StringSchema<undefined>;
131
145
  readonly order: import("valibot").StringSchema<undefined>;
146
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
147
+ readonly version: import("valibot").NumberSchema<undefined>;
132
148
  }, undefined>;
133
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
134
149
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
135
150
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
136
151
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -151,8 +166,13 @@ export declare const marcoSDK: {
151
166
  }, undefined>], undefined>>;
152
167
  draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
153
168
  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<{
169
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
170
+ readonly order: import("valibot").StringSchema<undefined>;
171
+ readonly version: import("valibot").NumberSchema<undefined>;
172
+ }, undefined>, undefined>;
173
+ }, undefined>, import("valibot").ObjectSchema<{
174
+ readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
175
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
156
176
  readonly data: import("valibot").ObjectSchema<{
157
177
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
158
178
  readonly issues: import("valibot").ObjectSchema<{
@@ -171,6 +191,7 @@ export declare const marcoSDK: {
171
191
  readonly data: import("valibot").ObjectSchema<{
172
192
  readonly cookie: import("valibot").ObjectSchema<{
173
193
  readonly order: import("valibot").StringSchema<undefined>;
194
+ readonly version: import("valibot").NumberSchema<undefined>;
174
195
  }, undefined>;
175
196
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
176
197
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -215,9 +236,17 @@ export declare const marcoSDK: {
215
236
  }, undefined>], undefined>>;
216
237
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
217
238
  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;
239
+ readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
240
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
241
+ readonly id: import("valibot").StringSchema<undefined>;
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>;
247
+ }, undefined>, undefined>;
219
248
  }, 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>;
249
+ 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
250
  }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
222
251
  readonly data: import("valibot").ObjectSchema<{
223
252
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -236,9 +265,14 @@ export declare const marcoSDK: {
236
265
  }, undefined>, import("valibot").ObjectSchema<{
237
266
  readonly data: import("valibot").ObjectSchema<{
238
267
  readonly cookie: import("valibot").ObjectSchema<{
268
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
269
+ readonly id: import("valibot").StringSchema<undefined>;
239
270
  readonly order: import("valibot").StringSchema<undefined>;
271
+ readonly pageNum: import("valibot").NumberSchema<undefined>;
272
+ readonly sentAt: import("valibot").NumberSchema<undefined>;
273
+ readonly versionMax: import("valibot").NumberSchema<undefined>;
274
+ readonly versionMin: import("valibot").NumberSchema<undefined>;
240
275
  }, undefined>;
241
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
276
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
243
277
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
244
278
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -314,7 +348,10 @@ export declare const marcoSDK: {
314
348
  readonly status: import("valibot").LiteralSchema<401, undefined>;
315
349
  }, undefined>, import("valibot").ObjectSchema<{
316
350
  readonly data: import("valibot").ObjectSchema<{
317
- readonly cookie: import("valibot").NumberSchema<undefined>;
351
+ readonly cookie: import("valibot").ObjectSchema<{
352
+ readonly order: import("valibot").StringSchema<undefined>;
353
+ readonly version: import("valibot").NumberSchema<undefined>;
354
+ }, undefined>;
318
355
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
319
356
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
320
357
  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.368",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",