@marcoappio/marco-config 2.0.367 → 2.0.369
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk/endpoints/index.d.ts +3 -26
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +3 -26
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +3 -26
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -9
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.js +0 -6
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -4
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +1 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +0 -6
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.js +0 -3
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +3 -26
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -4
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +1 -2
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +0 -3
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.js +0 -3
- package/dist/sdk/index.d.ts +3 -26
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -44,15 +44,10 @@ export declare const endpoints: {
|
|
|
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
46
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
47
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
48
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
49
47
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
50
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
51
48
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
52
49
|
}, 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<{
|
|
50
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
56
51
|
readonly data: import("valibot").ObjectSchema<{
|
|
57
52
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
58
53
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -70,10 +65,7 @@ export declare const endpoints: {
|
|
|
70
65
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
71
66
|
readonly data: import("valibot").ObjectSchema<{
|
|
72
67
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
73
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
74
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
75
68
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
76
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
77
69
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
78
70
|
}, undefined>;
|
|
79
71
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -121,10 +113,8 @@ export declare const endpoints: {
|
|
|
121
113
|
contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
122
114
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
123
115
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
124
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
125
116
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
126
117
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
127
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
128
118
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
129
119
|
}, undefined>, undefined>;
|
|
130
120
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -147,12 +137,11 @@ export declare const endpoints: {
|
|
|
147
137
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
148
138
|
readonly data: import("valibot").ObjectSchema<{
|
|
149
139
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
150
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
151
140
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
152
141
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
153
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
154
142
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
155
143
|
}, undefined>;
|
|
144
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
156
145
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
157
146
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
158
147
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -174,10 +163,7 @@ export declare const endpoints: {
|
|
|
174
163
|
draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
175
164
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
176
165
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
177
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
178
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
179
166
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
180
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
181
167
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
182
168
|
}, undefined>, undefined>;
|
|
183
169
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -200,10 +186,7 @@ export declare const endpoints: {
|
|
|
200
186
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
201
187
|
readonly data: import("valibot").ObjectSchema<{
|
|
202
188
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
203
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
204
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
205
189
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
206
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
207
190
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
208
191
|
}, undefined>;
|
|
209
192
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -250,10 +233,8 @@ export declare const endpoints: {
|
|
|
250
233
|
thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
251
234
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
252
235
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
253
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
254
236
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
255
237
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
256
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
257
238
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
258
239
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
259
240
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
@@ -278,14 +259,13 @@ export declare const endpoints: {
|
|
|
278
259
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
279
260
|
readonly data: import("valibot").ObjectSchema<{
|
|
280
261
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
281
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
282
262
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
283
263
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
284
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
285
264
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
286
265
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
287
266
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
288
267
|
}, undefined>;
|
|
268
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
289
269
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
290
270
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
291
271
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -362,10 +342,7 @@ export declare const endpoints: {
|
|
|
362
342
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
363
343
|
readonly data: import("valibot").ObjectSchema<{
|
|
364
344
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
365
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
366
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
367
345
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
368
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
369
346
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
370
347
|
}, undefined>;
|
|
371
348
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -41,15 +41,10 @@ export declare const privateGroup: {
|
|
|
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
43
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
44
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
45
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
46
44
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
47
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
48
45
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
49
46
|
}, 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<{
|
|
47
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
53
48
|
readonly data: import("valibot").ObjectSchema<{
|
|
54
49
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
55
50
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -67,10 +62,7 @@ export declare const privateGroup: {
|
|
|
67
62
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
68
63
|
readonly data: import("valibot").ObjectSchema<{
|
|
69
64
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
70
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
71
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
72
65
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
73
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
74
66
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
75
67
|
}, undefined>;
|
|
76
68
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -118,10 +110,8 @@ export declare const privateGroup: {
|
|
|
118
110
|
contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
119
111
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
112
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
121
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
122
113
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
123
114
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
124
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
125
115
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
126
116
|
}, undefined>, undefined>;
|
|
127
117
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -144,12 +134,11 @@ export declare const privateGroup: {
|
|
|
144
134
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
145
135
|
readonly data: import("valibot").ObjectSchema<{
|
|
146
136
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
147
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
148
137
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
149
138
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
150
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
151
139
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
152
140
|
}, undefined>;
|
|
141
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
153
142
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
154
143
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
155
144
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -171,10 +160,7 @@ export declare const privateGroup: {
|
|
|
171
160
|
draft: import("../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
172
161
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
173
162
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
174
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
175
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
176
163
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
177
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
178
164
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
179
165
|
}, undefined>, undefined>;
|
|
180
166
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -197,10 +183,7 @@ export declare const privateGroup: {
|
|
|
197
183
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
198
184
|
readonly data: import("valibot").ObjectSchema<{
|
|
199
185
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
200
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
201
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
202
186
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
203
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
204
187
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
205
188
|
}, undefined>;
|
|
206
189
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -247,10 +230,8 @@ export declare const privateGroup: {
|
|
|
247
230
|
thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
248
231
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
249
232
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
250
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
251
233
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
252
234
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
253
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
254
235
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
255
236
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
256
237
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
@@ -275,14 +256,13 @@ export declare const privateGroup: {
|
|
|
275
256
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
276
257
|
readonly data: import("valibot").ObjectSchema<{
|
|
277
258
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
278
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
279
259
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
280
260
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
281
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
282
261
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
283
262
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
284
263
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
285
264
|
}, undefined>;
|
|
265
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
286
266
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
287
267
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
288
268
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -359,10 +339,7 @@ export declare const privateGroup: {
|
|
|
359
339
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
360
340
|
readonly data: import("valibot").ObjectSchema<{
|
|
361
341
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
362
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
363
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
364
342
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
365
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
366
343
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
367
344
|
}, undefined>;
|
|
368
345
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -3,15 +3,10 @@ export declare const sync: {
|
|
|
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
5
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
6
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
7
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
8
6
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
9
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
10
7
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
11
8
|
}, 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<{
|
|
9
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
15
10
|
readonly data: import("valibot").ObjectSchema<{
|
|
16
11
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
17
12
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -29,10 +24,7 @@ export declare const sync: {
|
|
|
29
24
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
30
25
|
readonly data: import("valibot").ObjectSchema<{
|
|
31
26
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
32
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
33
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
34
27
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
35
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
36
28
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
37
29
|
}, undefined>;
|
|
38
30
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -80,10 +72,8 @@ export declare const sync: {
|
|
|
80
72
|
contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
81
73
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
82
74
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
83
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
84
75
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
85
76
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
86
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
87
77
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
88
78
|
}, undefined>, undefined>;
|
|
89
79
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -106,12 +96,11 @@ export declare const sync: {
|
|
|
106
96
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
107
97
|
readonly data: import("valibot").ObjectSchema<{
|
|
108
98
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
109
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
110
99
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
111
100
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
112
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
113
101
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
114
102
|
}, undefined>;
|
|
103
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
115
104
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
116
105
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
117
106
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -133,10 +122,7 @@ export declare const sync: {
|
|
|
133
122
|
draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
134
123
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
135
124
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
136
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
137
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
138
125
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
139
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
140
126
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
141
127
|
}, undefined>, undefined>;
|
|
142
128
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -159,10 +145,7 @@ export declare const sync: {
|
|
|
159
145
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
160
146
|
readonly data: import("valibot").ObjectSchema<{
|
|
161
147
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
162
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
163
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
164
148
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
165
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
166
149
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
167
150
|
}, undefined>;
|
|
168
151
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -209,10 +192,8 @@ export declare const sync: {
|
|
|
209
192
|
thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
210
193
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
211
194
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
212
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
213
195
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
214
196
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
215
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
216
197
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
217
198
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
218
199
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
@@ -237,14 +218,13 @@ export declare const sync: {
|
|
|
237
218
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
238
219
|
readonly data: import("valibot").ObjectSchema<{
|
|
239
220
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
240
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
241
221
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
242
222
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
243
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
244
223
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
245
224
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
246
225
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
247
226
|
}, undefined>;
|
|
227
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
248
228
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
249
229
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
250
230
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -321,10 +301,7 @@ export declare const sync: {
|
|
|
321
301
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
322
302
|
readonly data: import("valibot").ObjectSchema<{
|
|
323
303
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
324
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
325
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
326
304
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
327
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
328
305
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
329
306
|
}, undefined>;
|
|
330
307
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -2,15 +2,10 @@ 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
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
|
-
readonly id: v.StringSchema<undefined>;
|
|
7
5
|
readonly order: v.StringSchema<undefined>;
|
|
8
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
9
6
|
readonly version: v.NumberSchema<undefined>;
|
|
10
7
|
}, 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<{
|
|
8
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
14
9
|
readonly data: v.ObjectSchema<{
|
|
15
10
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
16
11
|
readonly issues: v.ObjectSchema<{
|
|
@@ -28,10 +23,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
|
|
|
28
23
|
}, undefined>, v.ObjectSchema<{
|
|
29
24
|
readonly data: v.ObjectSchema<{
|
|
30
25
|
readonly cookie: v.ObjectSchema<{
|
|
31
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
32
|
-
readonly id: v.StringSchema<undefined>;
|
|
33
26
|
readonly order: v.StringSchema<undefined>;
|
|
34
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
35
27
|
readonly version: v.NumberSchema<undefined>;
|
|
36
28
|
}, undefined>;
|
|
37
29
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -4,10 +4,7 @@ import { marcoSchemas } from '../../../../../schemas';
|
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
|
-
hasMore: v.boolean(),
|
|
8
|
-
id: v.string(),
|
|
9
7
|
order: v.string(),
|
|
10
|
-
pageNum: v.number(),
|
|
11
8
|
version: v.number(),
|
|
12
9
|
});
|
|
13
10
|
export const syncPullAccount = createEndpoint({
|
|
@@ -17,9 +14,6 @@ export const syncPullAccount = createEndpoint({
|
|
|
17
14
|
}),
|
|
18
15
|
method: 'POST',
|
|
19
16
|
path: account.pullUrl,
|
|
20
|
-
query: v.object({
|
|
21
|
-
pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
|
|
22
|
-
}),
|
|
23
17
|
response: v.union([
|
|
24
18
|
errors.validationFailedErrorSchema,
|
|
25
19
|
errors.authFailedErrorSchema,
|
|
@@ -2,10 +2,8 @@ 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
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
5
|
readonly id: v.StringSchema<undefined>;
|
|
7
6
|
readonly order: v.StringSchema<undefined>;
|
|
8
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
9
7
|
readonly version: v.NumberSchema<undefined>;
|
|
10
8
|
}, undefined>, undefined>;
|
|
11
9
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -28,12 +26,11 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
|
|
|
28
26
|
}, undefined>, v.ObjectSchema<{
|
|
29
27
|
readonly data: v.ObjectSchema<{
|
|
30
28
|
readonly cookie: v.ObjectSchema<{
|
|
31
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
32
29
|
readonly id: v.StringSchema<undefined>;
|
|
33
30
|
readonly order: v.StringSchema<undefined>;
|
|
34
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
35
31
|
readonly version: v.NumberSchema<undefined>;
|
|
36
32
|
}, undefined>;
|
|
33
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
37
34
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
38
35
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
39
36
|
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;
|
|
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;AAa5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
|
|
@@ -4,10 +4,8 @@ import { marcoSchemas } from '../../../../../schemas';
|
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
|
-
hasMore: v.boolean(),
|
|
8
7
|
id: v.string(),
|
|
9
8
|
order: v.string(),
|
|
10
|
-
pageNum: v.number(),
|
|
11
9
|
version: v.number(),
|
|
12
10
|
});
|
|
13
11
|
export const syncPullContact = createEndpoint({
|
|
@@ -26,6 +24,7 @@ export const syncPullContact = createEndpoint({
|
|
|
26
24
|
v.object({
|
|
27
25
|
data: v.object({
|
|
28
26
|
cookie: cookieSchema,
|
|
27
|
+
hasMore: v.boolean(),
|
|
29
28
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
30
29
|
patch: v.array(v.union([
|
|
31
30
|
v.object({ op: v.literal('clear') }),
|
|
@@ -2,10 +2,7 @@ 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
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
|
-
readonly id: v.StringSchema<undefined>;
|
|
7
5
|
readonly order: v.StringSchema<undefined>;
|
|
8
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
9
6
|
readonly version: v.NumberSchema<undefined>;
|
|
10
7
|
}, undefined>, undefined>;
|
|
11
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -28,10 +25,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
28
25
|
}, undefined>, v.ObjectSchema<{
|
|
29
26
|
readonly data: v.ObjectSchema<{
|
|
30
27
|
readonly cookie: v.ObjectSchema<{
|
|
31
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
32
|
-
readonly id: v.StringSchema<undefined>;
|
|
33
28
|
readonly order: v.StringSchema<undefined>;
|
|
34
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
35
29
|
readonly version: v.NumberSchema<undefined>;
|
|
36
30
|
}, undefined>;
|
|
37
31
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
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"}
|
|
@@ -4,10 +4,7 @@ import { marcoSchemas } from '../../../../../schemas';
|
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
|
-
hasMore: v.boolean(),
|
|
8
|
-
id: v.string(),
|
|
9
7
|
order: v.string(),
|
|
10
|
-
pageNum: v.number(),
|
|
11
8
|
version: v.number(),
|
|
12
9
|
});
|
|
13
10
|
export const syncPullDraft = createEndpoint({
|
|
@@ -2,15 +2,10 @@ 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
4
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
5
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
6
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
7
5
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
8
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
9
6
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
10
7
|
}, 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<{
|
|
8
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
14
9
|
readonly data: import("valibot").ObjectSchema<{
|
|
15
10
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
16
11
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -28,10 +23,7 @@ export declare const pull: {
|
|
|
28
23
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
29
24
|
readonly data: import("valibot").ObjectSchema<{
|
|
30
25
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
31
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
32
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
33
26
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
34
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
35
27
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
36
28
|
}, undefined>;
|
|
37
29
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -79,10 +71,8 @@ export declare const pull: {
|
|
|
79
71
|
contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
80
72
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
81
73
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
82
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
83
74
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
84
75
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
85
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
86
76
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
87
77
|
}, undefined>, undefined>;
|
|
88
78
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -105,12 +95,11 @@ export declare const pull: {
|
|
|
105
95
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
106
96
|
readonly data: import("valibot").ObjectSchema<{
|
|
107
97
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
108
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
109
98
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
110
99
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
111
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
112
100
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
113
101
|
}, undefined>;
|
|
102
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
114
103
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
115
104
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
116
105
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -132,10 +121,7 @@ export declare const pull: {
|
|
|
132
121
|
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
133
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>;
|
|
134
123
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
135
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
136
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
137
124
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
138
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
139
125
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
140
126
|
}, undefined>, undefined>;
|
|
141
127
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -158,10 +144,7 @@ export declare const pull: {
|
|
|
158
144
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
159
145
|
readonly data: import("valibot").ObjectSchema<{
|
|
160
146
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
161
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
162
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
163
147
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
164
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
165
148
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
166
149
|
}, undefined>;
|
|
167
150
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -208,10 +191,8 @@ export declare const pull: {
|
|
|
208
191
|
thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
209
192
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
210
193
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
211
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
212
194
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
213
195
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
214
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
215
196
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
216
197
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
217
198
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
@@ -236,14 +217,13 @@ export declare const pull: {
|
|
|
236
217
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
237
218
|
readonly data: import("valibot").ObjectSchema<{
|
|
238
219
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
239
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
240
220
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
241
221
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
242
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
243
222
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
244
223
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
245
224
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
246
225
|
}, undefined>;
|
|
226
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
247
227
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
248
228
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
249
229
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -320,10 +300,7 @@ export declare const pull: {
|
|
|
320
300
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
321
301
|
readonly data: import("valibot").ObjectSchema<{
|
|
322
302
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
323
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
324
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
325
303
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
326
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
327
304
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
328
305
|
}, undefined>;
|
|
329
306
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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
|
|
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"}
|
|
@@ -2,10 +2,8 @@ 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
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
5
|
readonly id: v.StringSchema<undefined>;
|
|
7
6
|
readonly order: v.StringSchema<undefined>;
|
|
8
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
9
7
|
readonly sentAt: v.NumberSchema<undefined>;
|
|
10
8
|
readonly versionMax: v.NumberSchema<undefined>;
|
|
11
9
|
readonly versionMin: v.NumberSchema<undefined>;
|
|
@@ -30,14 +28,13 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
30
28
|
}, undefined>, v.ObjectSchema<{
|
|
31
29
|
readonly data: v.ObjectSchema<{
|
|
32
30
|
readonly cookie: v.ObjectSchema<{
|
|
33
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
34
31
|
readonly id: v.StringSchema<undefined>;
|
|
35
32
|
readonly order: v.StringSchema<undefined>;
|
|
36
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
37
33
|
readonly sentAt: v.NumberSchema<undefined>;
|
|
38
34
|
readonly versionMax: v.NumberSchema<undefined>;
|
|
39
35
|
readonly versionMin: v.NumberSchema<undefined>;
|
|
40
36
|
}, undefined>;
|
|
37
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
41
38
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
42
39
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
43
40
|
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;
|
|
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;AAe5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BzB,CAAA"}
|
|
@@ -4,10 +4,8 @@ import { marcoSchemas } from '../../../../../schemas';
|
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
|
-
hasMore: v.boolean(),
|
|
8
7
|
id: v.string(),
|
|
9
8
|
order: v.string(),
|
|
10
|
-
pageNum: v.number(),
|
|
11
9
|
sentAt: v.number(),
|
|
12
10
|
versionMax: v.number(),
|
|
13
11
|
versionMin: v.number(),
|
|
@@ -28,6 +26,7 @@ export const syncPullThread = createEndpoint({
|
|
|
28
26
|
v.object({
|
|
29
27
|
data: v.object({
|
|
30
28
|
cookie: cookieSchema,
|
|
29
|
+
hasMore: v.boolean(),
|
|
31
30
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
32
31
|
patch: v.array(v.union([
|
|
33
32
|
v.object({ op: v.literal('clear') }),
|
|
@@ -20,10 +20,7 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
20
20
|
}, undefined>, v.ObjectSchema<{
|
|
21
21
|
readonly data: v.ObjectSchema<{
|
|
22
22
|
readonly cookie: v.ObjectSchema<{
|
|
23
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
24
|
-
readonly id: v.StringSchema<undefined>;
|
|
25
23
|
readonly order: v.StringSchema<undefined>;
|
|
26
|
-
readonly pageNum: v.NumberSchema<undefined>;
|
|
27
24
|
readonly version: v.NumberSchema<undefined>;
|
|
28
25
|
}, undefined>;
|
|
29
26
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, 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;
|
|
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"}
|
|
@@ -4,10 +4,7 @@ import { marcoSchemas } from '../../../../../schemas';
|
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
|
-
hasMore: v.boolean(),
|
|
8
|
-
id: v.string(),
|
|
9
7
|
order: v.string(),
|
|
10
|
-
pageNum: v.number(),
|
|
11
8
|
version: v.number(),
|
|
12
9
|
});
|
|
13
10
|
export const syncPullUser = createEndpoint({
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -43,15 +43,10 @@ export declare const marcoSDK: {
|
|
|
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
45
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
46
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
47
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
48
46
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
49
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
50
47
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
51
48
|
}, 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<{
|
|
49
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
55
50
|
readonly data: import("valibot").ObjectSchema<{
|
|
56
51
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
57
52
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -69,10 +64,7 @@ export declare const marcoSDK: {
|
|
|
69
64
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
70
65
|
readonly data: import("valibot").ObjectSchema<{
|
|
71
66
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
72
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
73
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
74
67
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
75
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
76
68
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
77
69
|
}, undefined>;
|
|
78
70
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -120,10 +112,8 @@ export declare const marcoSDK: {
|
|
|
120
112
|
contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
121
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>;
|
|
122
114
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
123
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
124
115
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
125
116
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
126
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
127
117
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
128
118
|
}, undefined>, undefined>;
|
|
129
119
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -146,12 +136,11 @@ export declare const marcoSDK: {
|
|
|
146
136
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
147
137
|
readonly data: import("valibot").ObjectSchema<{
|
|
148
138
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
149
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
150
139
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
151
140
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
152
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
153
141
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
154
142
|
}, undefined>;
|
|
143
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
155
144
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
156
145
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
157
146
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -173,10 +162,7 @@ export declare const marcoSDK: {
|
|
|
173
162
|
draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
174
163
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
175
164
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
176
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
177
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
178
165
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
179
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
180
166
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
181
167
|
}, undefined>, undefined>;
|
|
182
168
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -199,10 +185,7 @@ export declare const marcoSDK: {
|
|
|
199
185
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
200
186
|
readonly data: import("valibot").ObjectSchema<{
|
|
201
187
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
202
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
203
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
204
188
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
205
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
206
189
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
207
190
|
}, undefined>;
|
|
208
191
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -249,10 +232,8 @@ export declare const marcoSDK: {
|
|
|
249
232
|
thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
250
233
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
251
234
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
252
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
253
235
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
254
236
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
255
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
256
237
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
257
238
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
258
239
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
@@ -277,14 +258,13 @@ export declare const marcoSDK: {
|
|
|
277
258
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
278
259
|
readonly data: import("valibot").ObjectSchema<{
|
|
279
260
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
280
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
281
261
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
282
262
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
283
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
284
263
|
readonly sentAt: import("valibot").NumberSchema<undefined>;
|
|
285
264
|
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
286
265
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
287
266
|
}, undefined>;
|
|
267
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
288
268
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
289
269
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
290
270
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -361,10 +341,7 @@ export declare const marcoSDK: {
|
|
|
361
341
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
362
342
|
readonly data: import("valibot").ObjectSchema<{
|
|
363
343
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
364
|
-
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
365
|
-
readonly id: import("valibot").StringSchema<undefined>;
|
|
366
344
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
367
|
-
readonly pageNum: import("valibot").NumberSchema<undefined>;
|
|
368
345
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
369
346
|
}, undefined>;
|
|
370
347
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED