@marcoappio/marco-config 2.0.362 → 2.0.364

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.
@@ -106,8 +106,10 @@ export declare const endpoints: {
106
106
  }, undefined>], undefined>>;
107
107
  contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
108
108
  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").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
110
- }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
109
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
110
+ }, undefined>, import("valibot").ObjectSchema<{
111
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
112
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
111
113
  readonly data: import("valibot").ObjectSchema<{
112
114
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
113
115
  readonly issues: import("valibot").ObjectSchema<{
@@ -124,7 +126,8 @@ export declare const endpoints: {
124
126
  readonly status: import("valibot").LiteralSchema<401, undefined>;
125
127
  }, undefined>, import("valibot").ObjectSchema<{
126
128
  readonly data: import("valibot").ObjectSchema<{
127
- readonly cookie: import("valibot").NumberSchema<undefined>;
129
+ readonly cookie: import("valibot").UnknownSchema;
130
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
128
131
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
129
132
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
130
133
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -207,14 +210,10 @@ export declare const endpoints: {
207
210
  }, undefined>], undefined>>;
208
211
  thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
209
212
  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").NullableSchema<import("valibot").ObjectSchema<{
211
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
212
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
213
- readonly order: import("valibot").StringSchema<undefined>;
214
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
215
- readonly version: import("valibot").NumberSchema<undefined>;
216
- }, undefined>, undefined>;
217
- }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
213
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
214
+ }, undefined>, import("valibot").ObjectSchema<{
215
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
216
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
218
217
  readonly data: import("valibot").ObjectSchema<{
219
218
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
220
219
  readonly issues: import("valibot").ObjectSchema<{
@@ -231,13 +230,7 @@ export declare const endpoints: {
231
230
  readonly status: import("valibot").LiteralSchema<401, undefined>;
232
231
  }, undefined>, import("valibot").ObjectSchema<{
233
232
  readonly data: import("valibot").ObjectSchema<{
234
- readonly cookie: import("valibot").ObjectSchema<{
235
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
236
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
237
- readonly order: import("valibot").StringSchema<undefined>;
238
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
239
- readonly version: import("valibot").NumberSchema<undefined>;
240
- }, undefined>;
233
+ readonly cookie: import("valibot").UnknownSchema;
241
234
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
235
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
243
236
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -103,8 +103,10 @@ export declare const privateGroup: {
103
103
  }, undefined>], undefined>>;
104
104
  contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
105
105
  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").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
107
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
106
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
107
+ }, undefined>, import("valibot").ObjectSchema<{
108
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
109
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
108
110
  readonly data: import("valibot").ObjectSchema<{
109
111
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
110
112
  readonly issues: import("valibot").ObjectSchema<{
@@ -121,7 +123,8 @@ export declare const privateGroup: {
121
123
  readonly status: import("valibot").LiteralSchema<401, undefined>;
122
124
  }, undefined>, import("valibot").ObjectSchema<{
123
125
  readonly data: import("valibot").ObjectSchema<{
124
- readonly cookie: import("valibot").NumberSchema<undefined>;
126
+ readonly cookie: import("valibot").UnknownSchema;
127
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
125
128
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
126
129
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
127
130
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -204,14 +207,10 @@ export declare const privateGroup: {
204
207
  }, undefined>], undefined>>;
205
208
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
206
209
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
207
- readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
208
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
209
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
210
- readonly order: import("valibot").StringSchema<undefined>;
211
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
212
- readonly version: import("valibot").NumberSchema<undefined>;
213
- }, undefined>, undefined>;
214
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
210
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
211
+ }, undefined>, import("valibot").ObjectSchema<{
212
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
213
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
215
214
  readonly data: import("valibot").ObjectSchema<{
216
215
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
217
216
  readonly issues: import("valibot").ObjectSchema<{
@@ -228,13 +227,7 @@ export declare const privateGroup: {
228
227
  readonly status: import("valibot").LiteralSchema<401, undefined>;
229
228
  }, undefined>, import("valibot").ObjectSchema<{
230
229
  readonly data: import("valibot").ObjectSchema<{
231
- readonly cookie: import("valibot").ObjectSchema<{
232
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
233
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
234
- readonly order: import("valibot").StringSchema<undefined>;
235
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
236
- readonly version: import("valibot").NumberSchema<undefined>;
237
- }, undefined>;
230
+ readonly cookie: import("valibot").UnknownSchema;
238
231
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
239
232
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
240
233
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -65,8 +65,10 @@ export declare const sync: {
65
65
  }, undefined>], undefined>>;
66
66
  contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
67
67
  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").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
69
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
68
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
69
+ }, undefined>, import("valibot").ObjectSchema<{
70
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
71
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
70
72
  readonly data: import("valibot").ObjectSchema<{
71
73
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
72
74
  readonly issues: import("valibot").ObjectSchema<{
@@ -83,7 +85,8 @@ export declare const sync: {
83
85
  readonly status: import("valibot").LiteralSchema<401, undefined>;
84
86
  }, undefined>, import("valibot").ObjectSchema<{
85
87
  readonly data: import("valibot").ObjectSchema<{
86
- readonly cookie: import("valibot").NumberSchema<undefined>;
88
+ readonly cookie: import("valibot").UnknownSchema;
89
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
87
90
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
88
91
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
89
92
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -166,14 +169,10 @@ export declare const sync: {
166
169
  }, undefined>], undefined>>;
167
170
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
168
171
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
169
- readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
170
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
171
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
172
- readonly order: import("valibot").StringSchema<undefined>;
173
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
174
- readonly version: import("valibot").NumberSchema<undefined>;
175
- }, undefined>, undefined>;
176
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
172
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
173
+ }, undefined>, import("valibot").ObjectSchema<{
174
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
175
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
177
176
  readonly data: import("valibot").ObjectSchema<{
178
177
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
179
178
  readonly issues: import("valibot").ObjectSchema<{
@@ -190,13 +189,7 @@ export declare const sync: {
190
189
  readonly status: import("valibot").LiteralSchema<401, undefined>;
191
190
  }, undefined>, import("valibot").ObjectSchema<{
192
191
  readonly data: import("valibot").ObjectSchema<{
193
- readonly cookie: import("valibot").ObjectSchema<{
194
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
195
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
196
- readonly order: import("valibot").StringSchema<undefined>;
197
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
198
- readonly version: import("valibot").NumberSchema<undefined>;
199
- }, undefined>;
192
+ readonly cookie: import("valibot").UnknownSchema;
200
193
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
194
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
202
195
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -1,8 +1,10 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullContact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ readonly cookie: v.OptionalSchema<v.UnknownSchema, undefined>;
5
+ }, undefined>, v.ObjectSchema<{
6
+ readonly numRows: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
7
+ }, undefined>, v.UnionSchema<[v.ObjectSchema<{
6
8
  readonly data: v.ObjectSchema<{
7
9
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
8
10
  readonly issues: v.ObjectSchema<{
@@ -19,7 +21,8 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
19
21
  readonly status: v.LiteralSchema<401, undefined>;
20
22
  }, undefined>, v.ObjectSchema<{
21
23
  readonly data: v.ObjectSchema<{
22
- readonly cookie: v.NumberSchema<undefined>;
24
+ readonly cookie: v.UnknownSchema;
25
+ readonly hasMore: v.BooleanSchema<undefined>;
23
26
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
24
27
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
25
28
  readonly op: v.LiteralSchema<"clear", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyB1B,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;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
@@ -6,16 +6,20 @@ import { errors } from '../../../../../sdk/validation/errors';
6
6
  export const syncPullContact = createEndpoint({
7
7
  body: v.object({
8
8
  clientGroupID: marcoSchemas.string.required(),
9
- cookie: marcoSchemas.number.nullable(),
9
+ cookie: v.optional(v.unknown()),
10
10
  }),
11
11
  method: 'POST',
12
12
  path: contact.pullUrl,
13
+ query: v.object({
14
+ numRows: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(1_000))),
15
+ }),
13
16
  response: v.union([
14
17
  errors.validationFailedErrorSchema,
15
18
  errors.authFailedErrorSchema,
16
19
  v.object({
17
20
  data: v.object({
18
- cookie: v.number(),
21
+ cookie: v.unknown(),
22
+ hasMore: v.boolean(),
19
23
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
24
  patch: v.array(v.union([
21
25
  v.object({ op: v.literal('clear') }),
@@ -64,8 +64,10 @@ export declare const pull: {
64
64
  }, undefined>], undefined>>;
65
65
  contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
66
66
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
67
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
68
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
67
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
68
+ }, undefined>, import("valibot").ObjectSchema<{
69
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
70
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
69
71
  readonly data: import("valibot").ObjectSchema<{
70
72
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
71
73
  readonly issues: import("valibot").ObjectSchema<{
@@ -82,7 +84,8 @@ export declare const pull: {
82
84
  readonly status: import("valibot").LiteralSchema<401, undefined>;
83
85
  }, undefined>, import("valibot").ObjectSchema<{
84
86
  readonly data: import("valibot").ObjectSchema<{
85
- readonly cookie: import("valibot").NumberSchema<undefined>;
87
+ readonly cookie: import("valibot").UnknownSchema;
88
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
86
89
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
87
90
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
88
91
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -165,14 +168,10 @@ export declare const pull: {
165
168
  }, undefined>], undefined>>;
166
169
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
167
170
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
168
- readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
169
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
170
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
171
- readonly order: import("valibot").StringSchema<undefined>;
172
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
173
- readonly version: import("valibot").NumberSchema<undefined>;
174
- }, undefined>, undefined>;
175
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
171
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
172
+ }, undefined>, import("valibot").ObjectSchema<{
173
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
174
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
176
175
  readonly data: import("valibot").ObjectSchema<{
177
176
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
178
177
  readonly issues: import("valibot").ObjectSchema<{
@@ -189,13 +188,7 @@ export declare const pull: {
189
188
  readonly status: import("valibot").LiteralSchema<401, undefined>;
190
189
  }, undefined>, import("valibot").ObjectSchema<{
191
190
  readonly data: import("valibot").ObjectSchema<{
192
- readonly cookie: import("valibot").ObjectSchema<{
193
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
194
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
195
- readonly order: import("valibot").StringSchema<undefined>;
196
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
197
- readonly version: import("valibot").NumberSchema<undefined>;
198
- }, undefined>;
191
+ readonly cookie: import("valibot").UnknownSchema;
199
192
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
200
193
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
201
194
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -1,14 +1,10 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", v.ObjectSchema<{
3
3
  readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
- readonly cookie: v.NullableSchema<v.ObjectSchema<{
5
- readonly hasMore: v.BooleanSchema<undefined>;
6
- readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7
- readonly order: v.StringSchema<undefined>;
8
- readonly pageNumber: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
9
- readonly version: v.NumberSchema<undefined>;
10
- }, undefined>, undefined>;
11
- }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ readonly cookie: v.OptionalSchema<v.UnknownSchema, undefined>;
5
+ }, undefined>, v.ObjectSchema<{
6
+ readonly numRows: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
7
+ }, undefined>, v.UnionSchema<[v.ObjectSchema<{
12
8
  readonly data: v.ObjectSchema<{
13
9
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
14
10
  readonly issues: v.ObjectSchema<{
@@ -25,13 +21,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
25
21
  readonly status: v.LiteralSchema<401, undefined>;
26
22
  }, undefined>, v.ObjectSchema<{
27
23
  readonly data: v.ObjectSchema<{
28
- readonly cookie: v.ObjectSchema<{
29
- readonly hasMore: v.BooleanSchema<undefined>;
30
- readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
31
- readonly order: v.StringSchema<undefined>;
32
- readonly pageNumber: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
33
- readonly version: v.NumberSchema<undefined>;
34
- }, undefined>;
24
+ readonly cookie: v.UnknownSchema;
35
25
  readonly hasMore: v.BooleanSchema<undefined>;
36
26
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
37
27
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
@@ -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;AAe5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBzB,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;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BzB,CAAA"}
@@ -3,26 +3,22 @@ import { thread } from '../../../../../clients/thread';
3
3
  import { marcoSchemas } from '../../../../../schemas';
4
4
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
5
5
  import { errors } from '../../../../../sdk/validation/errors';
6
- const cookieSchema = v.object({
7
- hasMore: v.boolean(),
8
- id: v.nullable(v.string()),
9
- order: v.string(),
10
- pageNumber: v.pipe(v.number(), v.integer(), v.minValue(0)),
11
- version: v.number(),
12
- });
13
6
  export const syncPullThread = createEndpoint({
14
7
  body: v.object({
15
8
  clientGroupID: marcoSchemas.string.required(),
16
- cookie: v.nullable(cookieSchema),
9
+ cookie: v.optional(v.unknown()),
17
10
  }),
18
11
  method: 'POST',
19
12
  path: thread.pullUrl,
13
+ query: v.object({
14
+ numRows: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(1_000))),
15
+ }),
20
16
  response: v.union([
21
17
  errors.validationFailedErrorSchema,
22
18
  errors.authFailedErrorSchema,
23
19
  v.object({
24
20
  data: v.object({
25
- cookie: cookieSchema,
21
+ cookie: v.unknown(),
26
22
  hasMore: v.boolean(),
27
23
  lastMutationIDChanges: v.record(v.string(), v.number()),
28
24
  patch: v.array(v.union([
@@ -105,8 +105,10 @@ export declare const marcoSDK: {
105
105
  }, undefined>], undefined>>;
106
106
  contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
107
107
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
108
- readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
109
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
108
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
109
+ }, undefined>, import("valibot").ObjectSchema<{
110
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
111
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
110
112
  readonly data: import("valibot").ObjectSchema<{
111
113
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
112
114
  readonly issues: import("valibot").ObjectSchema<{
@@ -123,7 +125,8 @@ export declare const marcoSDK: {
123
125
  readonly status: import("valibot").LiteralSchema<401, undefined>;
124
126
  }, undefined>, import("valibot").ObjectSchema<{
125
127
  readonly data: import("valibot").ObjectSchema<{
126
- readonly cookie: import("valibot").NumberSchema<undefined>;
128
+ readonly cookie: import("valibot").UnknownSchema;
129
+ readonly hasMore: import("valibot").BooleanSchema<undefined>;
127
130
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
128
131
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
129
132
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -206,14 +209,10 @@ export declare const marcoSDK: {
206
209
  }, undefined>], undefined>>;
207
210
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
208
211
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
209
- readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
210
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
211
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
212
- readonly order: import("valibot").StringSchema<undefined>;
213
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
214
- readonly version: import("valibot").NumberSchema<undefined>;
215
- }, undefined>, undefined>;
216
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
212
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
213
+ }, undefined>, import("valibot").ObjectSchema<{
214
+ readonly numRows: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
215
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
217
216
  readonly data: import("valibot").ObjectSchema<{
218
217
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
219
218
  readonly issues: import("valibot").ObjectSchema<{
@@ -230,13 +229,7 @@ export declare const marcoSDK: {
230
229
  readonly status: import("valibot").LiteralSchema<401, undefined>;
231
230
  }, undefined>, import("valibot").ObjectSchema<{
232
231
  readonly data: import("valibot").ObjectSchema<{
233
- readonly cookie: import("valibot").ObjectSchema<{
234
- readonly hasMore: import("valibot").BooleanSchema<undefined>;
235
- readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
236
- readonly order: import("valibot").StringSchema<undefined>;
237
- readonly pageNumber: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
238
- readonly version: import("valibot").NumberSchema<undefined>;
239
- }, undefined>;
232
+ readonly cookie: import("valibot").UnknownSchema;
240
233
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
241
234
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
242
235
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.362",
4
+ "version": "2.0.364",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",