@marcoappio/marco-config 2.0.368 → 2.0.370

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.
@@ -460,6 +460,12 @@ export declare const marcoClients: {
460
460
  }, undefined>;
461
461
  }, undefined>;
462
462
  mutators: {
463
+ deleteSettingsPushNotificationToken: {
464
+ delta: import("valibot").ObjectSchema<{
465
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
466
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
467
+ }, undefined>;
468
+ };
463
469
  setSettingsName: {
464
470
  delta: import("valibot").ObjectSchema<{
465
471
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
@@ -14,6 +14,12 @@ export declare const user: {
14
14
  }, undefined>;
15
15
  }, undefined>;
16
16
  mutators: {
17
+ deleteSettingsPushNotificationToken: {
18
+ delta: v.ObjectSchema<{
19
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
+ readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
21
+ }, undefined>;
22
+ };
17
23
  setSettingsName: {
18
24
  delta: v.ObjectSchema<{
19
25
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBM,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BM,CAAA"}
@@ -18,6 +18,12 @@ export const user = {
18
18
  settings: userSettings,
19
19
  }),
20
20
  mutators: {
21
+ deleteSettingsPushNotificationToken: {
22
+ delta: v.object({
23
+ id: marcoSchemas.string.required(),
24
+ token: marcoSchemas.string.required(),
25
+ }),
26
+ },
21
27
  setSettingsName: {
22
28
  delta: v.object({
23
29
  id: marcoSchemas.string.required(),
@@ -47,9 +47,7 @@ export declare const endpoints: {
47
47
  readonly order: import("valibot").StringSchema<undefined>;
48
48
  readonly version: import("valibot").NumberSchema<undefined>;
49
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<{
50
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
53
51
  readonly data: import("valibot").ObjectSchema<{
54
52
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
55
53
  readonly issues: import("valibot").ObjectSchema<{
@@ -115,10 +113,8 @@ export declare const endpoints: {
115
113
  contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
116
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>;
117
115
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
118
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
119
116
  readonly id: import("valibot").StringSchema<undefined>;
120
117
  readonly order: import("valibot").StringSchema<undefined>;
121
- readonly pageNum: import("valibot").NumberSchema<undefined>;
122
118
  readonly version: import("valibot").NumberSchema<undefined>;
123
119
  }, undefined>, undefined>;
124
120
  }, undefined>, import("valibot").ObjectSchema<{
@@ -141,12 +137,11 @@ export declare const endpoints: {
141
137
  }, undefined>, import("valibot").ObjectSchema<{
142
138
  readonly data: import("valibot").ObjectSchema<{
143
139
  readonly cookie: import("valibot").ObjectSchema<{
144
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
145
140
  readonly id: import("valibot").StringSchema<undefined>;
146
141
  readonly order: import("valibot").StringSchema<undefined>;
147
- readonly pageNum: import("valibot").NumberSchema<undefined>;
148
142
  readonly version: import("valibot").NumberSchema<undefined>;
149
143
  }, undefined>;
144
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
150
145
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
151
146
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
152
147
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -238,10 +233,8 @@ export declare const endpoints: {
238
233
  thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
239
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>;
240
235
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
241
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
236
  readonly id: import("valibot").StringSchema<undefined>;
243
237
  readonly order: import("valibot").StringSchema<undefined>;
244
- readonly pageNum: import("valibot").NumberSchema<undefined>;
245
238
  readonly sentAt: import("valibot").NumberSchema<undefined>;
246
239
  readonly versionMax: import("valibot").NumberSchema<undefined>;
247
240
  readonly versionMin: import("valibot").NumberSchema<undefined>;
@@ -266,14 +259,13 @@ export declare const endpoints: {
266
259
  }, undefined>, import("valibot").ObjectSchema<{
267
260
  readonly data: import("valibot").ObjectSchema<{
268
261
  readonly cookie: import("valibot").ObjectSchema<{
269
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
270
262
  readonly id: import("valibot").StringSchema<undefined>;
271
263
  readonly order: import("valibot").StringSchema<undefined>;
272
- readonly pageNum: import("valibot").NumberSchema<undefined>;
273
264
  readonly sentAt: import("valibot").NumberSchema<undefined>;
274
265
  readonly versionMax: import("valibot").NumberSchema<undefined>;
275
266
  readonly versionMin: import("valibot").NumberSchema<undefined>;
276
267
  }, undefined>;
268
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
277
269
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
278
270
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
279
271
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -830,6 +822,14 @@ export declare const endpoints: {
830
822
  user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
831
823
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
832
824
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
825
+ readonly args: import("valibot").ObjectSchema<{
826
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
827
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
828
+ }, undefined>;
829
+ readonly clientID: import("valibot").StringSchema<undefined>;
830
+ readonly id: import("valibot").NumberSchema<undefined>;
831
+ readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
832
+ }, undefined> | import("valibot").ObjectSchema<{
833
833
  readonly args: import("valibot").ObjectSchema<{
834
834
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
835
835
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -44,9 +44,7 @@ export declare const privateGroup: {
44
44
  readonly order: import("valibot").StringSchema<undefined>;
45
45
  readonly version: import("valibot").NumberSchema<undefined>;
46
46
  }, undefined>, undefined>;
47
- }, undefined>, import("valibot").ObjectSchema<{
48
- readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
49
- }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
47
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
50
48
  readonly data: import("valibot").ObjectSchema<{
51
49
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
52
50
  readonly issues: import("valibot").ObjectSchema<{
@@ -112,10 +110,8 @@ export declare const privateGroup: {
112
110
  contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
113
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>;
114
112
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
115
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
116
113
  readonly id: import("valibot").StringSchema<undefined>;
117
114
  readonly order: import("valibot").StringSchema<undefined>;
118
- readonly pageNum: import("valibot").NumberSchema<undefined>;
119
115
  readonly version: import("valibot").NumberSchema<undefined>;
120
116
  }, undefined>, undefined>;
121
117
  }, undefined>, import("valibot").ObjectSchema<{
@@ -138,12 +134,11 @@ export declare const privateGroup: {
138
134
  }, undefined>, import("valibot").ObjectSchema<{
139
135
  readonly data: import("valibot").ObjectSchema<{
140
136
  readonly cookie: import("valibot").ObjectSchema<{
141
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
142
137
  readonly id: import("valibot").StringSchema<undefined>;
143
138
  readonly order: import("valibot").StringSchema<undefined>;
144
- readonly pageNum: import("valibot").NumberSchema<undefined>;
145
139
  readonly version: import("valibot").NumberSchema<undefined>;
146
140
  }, undefined>;
141
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
147
142
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
148
143
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
149
144
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -235,10 +230,8 @@ export declare const privateGroup: {
235
230
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
236
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>;
237
232
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
238
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
239
233
  readonly id: import("valibot").StringSchema<undefined>;
240
234
  readonly order: import("valibot").StringSchema<undefined>;
241
- readonly pageNum: import("valibot").NumberSchema<undefined>;
242
235
  readonly sentAt: import("valibot").NumberSchema<undefined>;
243
236
  readonly versionMax: import("valibot").NumberSchema<undefined>;
244
237
  readonly versionMin: import("valibot").NumberSchema<undefined>;
@@ -263,14 +256,13 @@ export declare const privateGroup: {
263
256
  }, undefined>, import("valibot").ObjectSchema<{
264
257
  readonly data: import("valibot").ObjectSchema<{
265
258
  readonly cookie: import("valibot").ObjectSchema<{
266
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
267
259
  readonly id: import("valibot").StringSchema<undefined>;
268
260
  readonly order: import("valibot").StringSchema<undefined>;
269
- readonly pageNum: import("valibot").NumberSchema<undefined>;
270
261
  readonly sentAt: import("valibot").NumberSchema<undefined>;
271
262
  readonly versionMax: import("valibot").NumberSchema<undefined>;
272
263
  readonly versionMin: import("valibot").NumberSchema<undefined>;
273
264
  }, undefined>;
265
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
274
266
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
275
267
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
276
268
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -827,6 +819,14 @@ export declare const privateGroup: {
827
819
  user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
828
820
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
829
821
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
822
+ readonly args: import("valibot").ObjectSchema<{
823
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
824
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
825
+ }, undefined>;
826
+ readonly clientID: import("valibot").StringSchema<undefined>;
827
+ readonly id: import("valibot").NumberSchema<undefined>;
828
+ readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
829
+ }, undefined> | import("valibot").ObjectSchema<{
830
830
  readonly args: import("valibot").ObjectSchema<{
831
831
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
832
832
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -6,9 +6,7 @@ export declare const sync: {
6
6
  readonly order: import("valibot").StringSchema<undefined>;
7
7
  readonly version: import("valibot").NumberSchema<undefined>;
8
8
  }, undefined>, undefined>;
9
- }, undefined>, import("valibot").ObjectSchema<{
10
- readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
11
- }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
9
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
12
10
  readonly data: import("valibot").ObjectSchema<{
13
11
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
14
12
  readonly issues: import("valibot").ObjectSchema<{
@@ -74,10 +72,8 @@ export declare const sync: {
74
72
  contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
75
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>;
76
74
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
77
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
78
75
  readonly id: import("valibot").StringSchema<undefined>;
79
76
  readonly order: import("valibot").StringSchema<undefined>;
80
- readonly pageNum: import("valibot").NumberSchema<undefined>;
81
77
  readonly version: import("valibot").NumberSchema<undefined>;
82
78
  }, undefined>, undefined>;
83
79
  }, undefined>, import("valibot").ObjectSchema<{
@@ -100,12 +96,11 @@ export declare const sync: {
100
96
  }, undefined>, import("valibot").ObjectSchema<{
101
97
  readonly data: import("valibot").ObjectSchema<{
102
98
  readonly cookie: import("valibot").ObjectSchema<{
103
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
104
99
  readonly id: import("valibot").StringSchema<undefined>;
105
100
  readonly order: import("valibot").StringSchema<undefined>;
106
- readonly pageNum: import("valibot").NumberSchema<undefined>;
107
101
  readonly version: import("valibot").NumberSchema<undefined>;
108
102
  }, undefined>;
103
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
109
104
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
110
105
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
111
106
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -197,10 +192,8 @@ export declare const sync: {
197
192
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
198
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>;
199
194
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
200
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
195
  readonly id: import("valibot").StringSchema<undefined>;
202
196
  readonly order: import("valibot").StringSchema<undefined>;
203
- readonly pageNum: import("valibot").NumberSchema<undefined>;
204
197
  readonly sentAt: import("valibot").NumberSchema<undefined>;
205
198
  readonly versionMax: import("valibot").NumberSchema<undefined>;
206
199
  readonly versionMin: import("valibot").NumberSchema<undefined>;
@@ -225,14 +218,13 @@ export declare const sync: {
225
218
  }, undefined>, import("valibot").ObjectSchema<{
226
219
  readonly data: import("valibot").ObjectSchema<{
227
220
  readonly cookie: import("valibot").ObjectSchema<{
228
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
229
221
  readonly id: import("valibot").StringSchema<undefined>;
230
222
  readonly order: import("valibot").StringSchema<undefined>;
231
- readonly pageNum: import("valibot").NumberSchema<undefined>;
232
223
  readonly sentAt: import("valibot").NumberSchema<undefined>;
233
224
  readonly versionMax: import("valibot").NumberSchema<undefined>;
234
225
  readonly versionMin: import("valibot").NumberSchema<undefined>;
235
226
  }, undefined>;
227
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
236
228
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
237
229
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
238
230
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -789,6 +781,14 @@ export declare const sync: {
789
781
  user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
790
782
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
791
783
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
784
+ readonly args: import("valibot").ObjectSchema<{
785
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
786
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
787
+ }, undefined>;
788
+ readonly clientID: import("valibot").StringSchema<undefined>;
789
+ readonly id: import("valibot").NumberSchema<undefined>;
790
+ readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
791
+ }, undefined> | import("valibot").ObjectSchema<{
792
792
  readonly args: import("valibot").ObjectSchema<{
793
793
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
794
794
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -5,9 +5,7 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
5
5
  readonly order: v.StringSchema<undefined>;
6
6
  readonly version: v.NumberSchema<undefined>;
7
7
  }, undefined>, undefined>;
8
- }, undefined>, v.ObjectSchema<{
9
- readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
10
- }, undefined>, v.UnionSchema<[v.ObjectSchema<{
8
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
11
9
  readonly data: v.ObjectSchema<{
12
10
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
13
11
  readonly issues: v.ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6B1B,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"}
@@ -14,9 +14,6 @@ export const syncPullAccount = createEndpoint({
14
14
  }),
15
15
  method: 'POST',
16
16
  path: account.pullUrl,
17
- query: v.object({
18
- pageSize: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1))),
19
- }),
20
17
  response: v.union([
21
18
  errors.validationFailedErrorSchema,
22
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;AAe5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8B1B,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') }),
@@ -5,9 +5,7 @@ export declare const pull: {
5
5
  readonly order: import("valibot").StringSchema<undefined>;
6
6
  readonly version: import("valibot").NumberSchema<undefined>;
7
7
  }, undefined>, undefined>;
8
- }, undefined>, import("valibot").ObjectSchema<{
9
- readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
10
- }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
8
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
11
9
  readonly data: import("valibot").ObjectSchema<{
12
10
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
13
11
  readonly issues: import("valibot").ObjectSchema<{
@@ -73,10 +71,8 @@ export declare const pull: {
73
71
  contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
74
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>;
75
73
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
76
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
77
74
  readonly id: import("valibot").StringSchema<undefined>;
78
75
  readonly order: import("valibot").StringSchema<undefined>;
79
- readonly pageNum: import("valibot").NumberSchema<undefined>;
80
76
  readonly version: import("valibot").NumberSchema<undefined>;
81
77
  }, undefined>, undefined>;
82
78
  }, undefined>, import("valibot").ObjectSchema<{
@@ -99,12 +95,11 @@ export declare const pull: {
99
95
  }, undefined>, import("valibot").ObjectSchema<{
100
96
  readonly data: import("valibot").ObjectSchema<{
101
97
  readonly cookie: import("valibot").ObjectSchema<{
102
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
103
98
  readonly id: import("valibot").StringSchema<undefined>;
104
99
  readonly order: import("valibot").StringSchema<undefined>;
105
- readonly pageNum: import("valibot").NumberSchema<undefined>;
106
100
  readonly version: import("valibot").NumberSchema<undefined>;
107
101
  }, undefined>;
102
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
108
103
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
109
104
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
110
105
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -196,10 +191,8 @@ export declare const pull: {
196
191
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
197
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>;
198
193
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
199
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
200
194
  readonly id: import("valibot").StringSchema<undefined>;
201
195
  readonly order: import("valibot").StringSchema<undefined>;
202
- readonly pageNum: import("valibot").NumberSchema<undefined>;
203
196
  readonly sentAt: import("valibot").NumberSchema<undefined>;
204
197
  readonly versionMax: import("valibot").NumberSchema<undefined>;
205
198
  readonly versionMin: import("valibot").NumberSchema<undefined>;
@@ -224,14 +217,13 @@ export declare const pull: {
224
217
  }, undefined>, import("valibot").ObjectSchema<{
225
218
  readonly data: import("valibot").ObjectSchema<{
226
219
  readonly cookie: import("valibot").ObjectSchema<{
227
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
228
220
  readonly id: import("valibot").StringSchema<undefined>;
229
221
  readonly order: import("valibot").StringSchema<undefined>;
230
- readonly pageNum: import("valibot").NumberSchema<undefined>;
231
222
  readonly sentAt: import("valibot").NumberSchema<undefined>;
232
223
  readonly versionMax: import("valibot").NumberSchema<undefined>;
233
224
  readonly versionMin: import("valibot").NumberSchema<undefined>;
234
225
  }, undefined>;
226
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
235
227
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
236
228
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
237
229
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -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;AAiB5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BzB,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') }),
@@ -448,6 +448,14 @@ export declare const push: {
448
448
  user: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
449
449
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
450
450
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
451
+ readonly args: import("valibot").ObjectSchema<{
452
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
453
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
454
+ }, undefined>;
455
+ readonly clientID: import("valibot").StringSchema<undefined>;
456
+ readonly id: import("valibot").NumberSchema<undefined>;
457
+ readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
458
+ }, undefined> | import("valibot").ObjectSchema<{
451
459
  readonly args: import("valibot").ObjectSchema<{
452
460
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
453
461
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
@@ -2,6 +2,14 @@ import * as v from 'valibot';
2
2
  export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.StringSchema<undefined>;
4
4
  readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
5
+ readonly args: v.ObjectSchema<{
6
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
8
+ }, undefined>;
9
+ readonly clientID: v.StringSchema<undefined>;
10
+ readonly id: v.NumberSchema<undefined>;
11
+ readonly name: v.LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
12
+ }, undefined> | v.ObjectSchema<{
5
13
  readonly args: v.ObjectSchema<{
6
14
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
15
  readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8BvB,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoCvB,CAAA"}
@@ -6,6 +6,12 @@ export const syncPushUser = createEndpoint({
6
6
  body: v.object({
7
7
  clientGroupID: v.string(),
8
8
  mutations: v.array(v.union(Object.values({
9
+ deleteSettingsPushNotificationToken: v.object({
10
+ args: user.mutators.deleteSettingsPushNotificationToken.delta,
11
+ clientID: v.string(),
12
+ id: v.number(),
13
+ name: v.literal('deleteSettingsPushNotificationToken'),
14
+ }),
9
15
  setSettingsName: v.object({
10
16
  args: user.mutators.setSettingsName.delta,
11
17
  clientID: v.string(),
@@ -46,9 +46,7 @@ export declare const marcoSDK: {
46
46
  readonly order: import("valibot").StringSchema<undefined>;
47
47
  readonly version: import("valibot").NumberSchema<undefined>;
48
48
  }, undefined>, undefined>;
49
- }, undefined>, import("valibot").ObjectSchema<{
50
- readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
51
- }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
49
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
52
50
  readonly data: import("valibot").ObjectSchema<{
53
51
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
54
52
  readonly issues: import("valibot").ObjectSchema<{
@@ -114,10 +112,8 @@ export declare const marcoSDK: {
114
112
  contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
115
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>;
116
114
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
117
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
118
115
  readonly id: import("valibot").StringSchema<undefined>;
119
116
  readonly order: import("valibot").StringSchema<undefined>;
120
- readonly pageNum: import("valibot").NumberSchema<undefined>;
121
117
  readonly version: import("valibot").NumberSchema<undefined>;
122
118
  }, undefined>, undefined>;
123
119
  }, undefined>, import("valibot").ObjectSchema<{
@@ -140,12 +136,11 @@ export declare const marcoSDK: {
140
136
  }, undefined>, import("valibot").ObjectSchema<{
141
137
  readonly data: import("valibot").ObjectSchema<{
142
138
  readonly cookie: import("valibot").ObjectSchema<{
143
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
144
139
  readonly id: import("valibot").StringSchema<undefined>;
145
140
  readonly order: import("valibot").StringSchema<undefined>;
146
- readonly pageNum: import("valibot").NumberSchema<undefined>;
147
141
  readonly version: import("valibot").NumberSchema<undefined>;
148
142
  }, undefined>;
143
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
149
144
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
150
145
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
151
146
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -237,10 +232,8 @@ export declare const marcoSDK: {
237
232
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
238
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>;
239
234
  readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
240
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
241
235
  readonly id: import("valibot").StringSchema<undefined>;
242
236
  readonly order: import("valibot").StringSchema<undefined>;
243
- readonly pageNum: import("valibot").NumberSchema<undefined>;
244
237
  readonly sentAt: import("valibot").NumberSchema<undefined>;
245
238
  readonly versionMax: import("valibot").NumberSchema<undefined>;
246
239
  readonly versionMin: import("valibot").NumberSchema<undefined>;
@@ -265,14 +258,13 @@ export declare const marcoSDK: {
265
258
  }, undefined>, import("valibot").ObjectSchema<{
266
259
  readonly data: import("valibot").ObjectSchema<{
267
260
  readonly cookie: import("valibot").ObjectSchema<{
268
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
269
261
  readonly id: import("valibot").StringSchema<undefined>;
270
262
  readonly order: import("valibot").StringSchema<undefined>;
271
- readonly pageNum: import("valibot").NumberSchema<undefined>;
272
263
  readonly sentAt: import("valibot").NumberSchema<undefined>;
273
264
  readonly versionMax: import("valibot").NumberSchema<undefined>;
274
265
  readonly versionMin: import("valibot").NumberSchema<undefined>;
275
266
  }, undefined>;
267
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
276
268
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
277
269
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
278
270
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -829,6 +821,14 @@ export declare const marcoSDK: {
829
821
  user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
830
822
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
831
823
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
824
+ readonly args: import("valibot").ObjectSchema<{
825
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
826
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
827
+ }, undefined>;
828
+ readonly clientID: import("valibot").StringSchema<undefined>;
829
+ readonly id: import("valibot").NumberSchema<undefined>;
830
+ readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
831
+ }, undefined> | import("valibot").ObjectSchema<{
832
832
  readonly args: import("valibot").ObjectSchema<{
833
833
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
834
834
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.368",
4
+ "version": "2.0.370",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",