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