@marcoappio/marco-config 2.0.362 → 2.0.363

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,7 @@ 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;
128
130
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
129
131
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
130
132
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -207,14 +209,10 @@ export declare const endpoints: {
207
209
  }, undefined>], undefined>>;
208
210
  thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
209
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>;
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<{
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<{
218
216
  readonly data: import("valibot").ObjectSchema<{
219
217
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
220
218
  readonly issues: import("valibot").ObjectSchema<{
@@ -231,13 +229,7 @@ export declare const endpoints: {
231
229
  readonly status: import("valibot").LiteralSchema<401, undefined>;
232
230
  }, undefined>, import("valibot").ObjectSchema<{
233
231
  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>;
232
+ readonly cookie: import("valibot").UnknownSchema;
241
233
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
242
234
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
243
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/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,7 @@ 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;
125
127
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
126
128
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
127
129
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -204,14 +206,10 @@ export declare const privateGroup: {
204
206
  }, undefined>], undefined>>;
205
207
  thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
206
208
  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<{
209
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
210
+ }, undefined>, import("valibot").ObjectSchema<{
211
+ 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>;
212
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
215
213
  readonly data: import("valibot").ObjectSchema<{
216
214
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
217
215
  readonly issues: import("valibot").ObjectSchema<{
@@ -228,13 +226,7 @@ export declare const privateGroup: {
228
226
  readonly status: import("valibot").LiteralSchema<401, undefined>;
229
227
  }, undefined>, import("valibot").ObjectSchema<{
230
228
  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>;
229
+ readonly cookie: import("valibot").UnknownSchema;
238
230
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
239
231
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
240
232
  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,7 @@ 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;
87
89
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
88
90
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
89
91
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -166,14 +168,10 @@ export declare const sync: {
166
168
  }, undefined>], undefined>>;
167
169
  thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
168
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>;
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<{
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<{
177
175
  readonly data: import("valibot").ObjectSchema<{
178
176
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
179
177
  readonly issues: import("valibot").ObjectSchema<{
@@ -190,13 +188,7 @@ export declare const sync: {
190
188
  readonly status: import("valibot").LiteralSchema<401, undefined>;
191
189
  }, undefined>, import("valibot").ObjectSchema<{
192
190
  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>;
191
+ readonly cookie: import("valibot").UnknownSchema;
200
192
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
201
193
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
202
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/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,7 @@ 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;
23
25
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
24
26
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
25
27
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8B1B,CAAA"}
@@ -6,16 +6,19 @@ 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(),
19
22
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
23
  patch: v.array(v.union([
21
24
  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,7 @@ 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;
86
88
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
87
89
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
88
90
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -165,14 +167,10 @@ export declare const pull: {
165
167
  }, undefined>], undefined>>;
166
168
  thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
167
169
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
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<{
170
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
171
+ }, undefined>, import("valibot").ObjectSchema<{
172
+ 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>;
173
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
176
174
  readonly data: import("valibot").ObjectSchema<{
177
175
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
178
176
  readonly issues: import("valibot").ObjectSchema<{
@@ -189,13 +187,7 @@ export declare const pull: {
189
187
  readonly status: import("valibot").LiteralSchema<401, undefined>;
190
188
  }, undefined>, import("valibot").ObjectSchema<{
191
189
  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>;
190
+ readonly cookie: import("valibot").UnknownSchema;
199
191
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
200
192
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
201
193
  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,7 @@ 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;
127
129
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
128
130
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
129
131
  readonly op: import("valibot").LiteralSchema<"clear", undefined>;
@@ -206,14 +208,10 @@ export declare const marcoSDK: {
206
208
  }, undefined>], undefined>>;
207
209
  thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
208
210
  readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
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<{
211
+ readonly cookie: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
212
+ }, undefined>, import("valibot").ObjectSchema<{
213
+ 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>;
214
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
217
215
  readonly data: import("valibot").ObjectSchema<{
218
216
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
219
217
  readonly issues: import("valibot").ObjectSchema<{
@@ -230,13 +228,7 @@ export declare const marcoSDK: {
230
228
  readonly status: import("valibot").LiteralSchema<401, undefined>;
231
229
  }, undefined>, import("valibot").ObjectSchema<{
232
230
  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>;
231
+ readonly cookie: import("valibot").UnknownSchema;
240
232
  readonly hasMore: import("valibot").BooleanSchema<undefined>;
241
233
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
242
234
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").Object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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.363",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",