@marcoappio/marco-config 2.0.327 → 2.0.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/draft.d.ts +0 -7
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +0 -8
- package/dist/clients/index.d.ts +18 -33
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +18 -26
- package/dist/clients/user.d.ts.map +1 -1
- package/dist/clients/user.js +15 -3
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +7 -0
- package/dist/sdk/endpoints/index.d.ts +22 -37
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +22 -37
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +22 -37
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +0 -9
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +0 -6
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +14 -37
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +14 -28
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +9 -3
- package/dist/sdk/index.d.ts +22 -37
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
package/dist/clients/draft.d.ts
CHANGED
|
@@ -109,13 +109,6 @@ export declare const draft: {
|
|
|
109
109
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
110
110
|
}, undefined>;
|
|
111
111
|
};
|
|
112
|
-
setEmailAccountId: {
|
|
113
|
-
delta: v.ObjectSchema<{
|
|
114
|
-
readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
115
|
-
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
116
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
117
|
-
}, undefined>;
|
|
118
|
-
};
|
|
119
112
|
setEnvelope: {
|
|
120
113
|
delta: v.ObjectSchema<{
|
|
121
114
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqD5B,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqD5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -86,14 +86,6 @@ export const draft = {
|
|
|
86
86
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
87
87
|
}),
|
|
88
88
|
},
|
|
89
|
-
// Deprecated
|
|
90
|
-
setEmailAccountId: {
|
|
91
|
-
delta: v.object({
|
|
92
|
-
emailAccountId: marcoSchemas.string.shortUUID(),
|
|
93
|
-
id: marcoSchemas.string.shortUUID(),
|
|
94
|
-
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
95
|
-
}),
|
|
96
|
-
},
|
|
97
89
|
setEnvelope: {
|
|
98
90
|
delta: v.object({
|
|
99
91
|
envelope: v.omit(bodySchema, ['content']),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -261,13 +261,6 @@ export declare const marcoClients: {
|
|
|
261
261
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
262
262
|
}, undefined>;
|
|
263
263
|
};
|
|
264
|
-
setEmailAccountId: {
|
|
265
|
-
delta: import("valibot").ObjectSchema<{
|
|
266
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
267
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
268
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
269
|
-
}, undefined>;
|
|
270
|
-
};
|
|
271
264
|
setEnvelope: {
|
|
272
265
|
delta: import("valibot").ObjectSchema<{
|
|
273
266
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -449,36 +442,28 @@ export declare const marcoClients: {
|
|
|
449
442
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
450
443
|
readonly settings: import("valibot").ObjectSchema<{
|
|
451
444
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
445
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
446
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
447
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
448
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
449
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
450
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
451
|
+
}, undefined>, undefined>>, undefined>;
|
|
452
|
+
}, undefined>;
|
|
452
453
|
}, undefined>;
|
|
453
454
|
}, undefined>;
|
|
454
455
|
mutators: {
|
|
455
|
-
|
|
456
|
+
setSettingsName: {
|
|
456
457
|
delta: import("valibot").ObjectSchema<{
|
|
457
|
-
readonly
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
}, {
|
|
467
|
-
name?: string | null | undefined;
|
|
468
|
-
}>;
|
|
469
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
470
|
-
name?: string | null | undefined;
|
|
471
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
472
|
-
readonly '~types'?: {
|
|
473
|
-
readonly input: {
|
|
474
|
-
name?: string | null | undefined;
|
|
475
|
-
};
|
|
476
|
-
readonly output: {
|
|
477
|
-
name?: string | null | undefined;
|
|
478
|
-
};
|
|
479
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
480
|
-
} | undefined;
|
|
481
|
-
};
|
|
458
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
459
|
+
}, undefined>;
|
|
460
|
+
};
|
|
461
|
+
setSettingsPushNotifactionToken: {
|
|
462
|
+
delta: import("valibot").ObjectSchema<{
|
|
463
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
464
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
465
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", 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>;
|
|
482
467
|
}, undefined>;
|
|
483
468
|
};
|
|
484
469
|
};
|
|
@@ -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
|
|
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"}
|
package/dist/clients/user.d.ts
CHANGED
|
@@ -4,36 +4,28 @@ export declare const user: {
|
|
|
4
4
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
5
5
|
readonly settings: v.ObjectSchema<{
|
|
6
6
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
readonly notifications: v.ObjectSchema<{
|
|
8
|
+
readonly pushNotificationTokens: v.ObjectSchema<Record<"ios" | "osx" | "web", v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
9
|
+
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
|
+
readonly deviceId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
+
readonly platform: v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"osx", undefined>, v.LiteralSchema<"web", undefined>], undefined>;
|
|
12
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
+
}, undefined>, undefined>>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
7
15
|
}, undefined>;
|
|
8
16
|
}, undefined>;
|
|
9
17
|
mutators: {
|
|
10
|
-
|
|
18
|
+
setSettingsName: {
|
|
19
|
+
delta: v.ObjectSchema<{
|
|
20
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
};
|
|
23
|
+
setSettingsPushNotifactionToken: {
|
|
11
24
|
delta: v.ObjectSchema<{
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly entries: {
|
|
17
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
};
|
|
19
|
-
readonly '~standard': v.StandardSchemaProps<{
|
|
20
|
-
name?: string | null | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
name?: string | null | undefined;
|
|
23
|
-
}>;
|
|
24
|
-
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
25
|
-
name?: string | null | undefined;
|
|
26
|
-
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue>;
|
|
27
|
-
readonly '~types'?: {
|
|
28
|
-
readonly input: {
|
|
29
|
-
name?: string | null | undefined;
|
|
30
|
-
};
|
|
31
|
-
readonly output: {
|
|
32
|
-
name?: string | null | undefined;
|
|
33
|
-
};
|
|
34
|
-
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue;
|
|
35
|
-
} | undefined;
|
|
36
|
-
};
|
|
25
|
+
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
26
|
+
readonly deviceId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
+
readonly platform: v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"osx", undefined>, v.LiteralSchema<"web", undefined>], undefined>;
|
|
28
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
29
|
}, undefined>;
|
|
38
30
|
};
|
|
39
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBM,CAAA"}
|
package/dist/clients/user.js
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { marcoSchemas } from '../schemas';
|
|
3
|
+
const pushNotificationToken = v.object({
|
|
4
|
+
createdAt: marcoSchemas.number.positiveInteger(),
|
|
5
|
+
deviceId: marcoSchemas.string.required(),
|
|
6
|
+
platform: marcoSchemas.app.platform(),
|
|
7
|
+
token: marcoSchemas.string.required(),
|
|
8
|
+
});
|
|
9
|
+
const pushNotificationTokens = v.object(v.entriesFromList(marcoSchemas.app.platform().options.map(x => x.literal), v.record(marcoSchemas.string.required(), pushNotificationToken)));
|
|
3
10
|
const userSettings = v.object({
|
|
4
11
|
name: marcoSchemas.string.nullable(),
|
|
12
|
+
notifications: v.object({
|
|
13
|
+
pushNotificationTokens,
|
|
14
|
+
}),
|
|
5
15
|
});
|
|
6
16
|
export const user = {
|
|
7
17
|
model: v.object({
|
|
@@ -9,12 +19,14 @@ export const user = {
|
|
|
9
19
|
settings: userSettings,
|
|
10
20
|
}),
|
|
11
21
|
mutators: {
|
|
12
|
-
|
|
22
|
+
setSettingsName: {
|
|
13
23
|
delta: v.object({
|
|
14
|
-
|
|
15
|
-
settings: v.partial(userSettings),
|
|
24
|
+
name: marcoSchemas.string.nullable(),
|
|
16
25
|
}),
|
|
17
26
|
},
|
|
27
|
+
setSettingsPushNotifactionToken: {
|
|
28
|
+
delta: pushNotificationToken,
|
|
29
|
+
},
|
|
18
30
|
},
|
|
19
31
|
name: 'user',
|
|
20
32
|
pullUrl: '/v1/pv/sync/pull/user',
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const marcoSchemas: {
|
|
3
|
+
app: {
|
|
4
|
+
platform: () => v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"osx", undefined>, v.LiteralSchema<"web", undefined>], undefined>;
|
|
5
|
+
};
|
|
3
6
|
drafts: {
|
|
4
7
|
contentPatch: {
|
|
5
8
|
instruction: () => v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA6CP,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;CAYpC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,CAAA"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -9,6 +9,13 @@ const patchInstructionSchema = v.object({
|
|
|
9
9
|
value: v.string(),
|
|
10
10
|
});
|
|
11
11
|
export const marcoSchemas = {
|
|
12
|
+
app: {
|
|
13
|
+
platform: () => v.union([
|
|
14
|
+
v.literal('ios'),
|
|
15
|
+
v.literal('osx'),
|
|
16
|
+
v.literal('web'),
|
|
17
|
+
]),
|
|
18
|
+
},
|
|
12
19
|
drafts: {
|
|
13
20
|
contentPatch: {
|
|
14
21
|
instruction: () => patchInstructionSchema,
|
|
@@ -326,6 +326,14 @@ export declare const endpoints: {
|
|
|
326
326
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
327
327
|
readonly settings: import("valibot").ObjectSchema<{
|
|
328
328
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
329
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
330
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
331
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
332
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
333
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
334
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
335
|
+
}, undefined>, undefined>>, undefined>;
|
|
336
|
+
}, undefined>;
|
|
329
337
|
}, undefined>;
|
|
330
338
|
}, undefined>;
|
|
331
339
|
}, undefined>], undefined>, undefined>;
|
|
@@ -569,15 +577,6 @@ export declare const endpoints: {
|
|
|
569
577
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
570
578
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
571
579
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
572
|
-
}, undefined> | import("valibot").ObjectSchema<{
|
|
573
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
574
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
575
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
576
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
577
|
-
}, undefined>;
|
|
578
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
579
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
580
|
-
readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
|
|
581
580
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
582
581
|
readonly args: import("valibot").ObjectSchema<{
|
|
583
582
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -765,38 +764,24 @@ export declare const endpoints: {
|
|
|
765
764
|
}, undefined>], undefined>>;
|
|
766
765
|
user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
767
766
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
768
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
767
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
769
768
|
readonly args: import("valibot").ObjectSchema<{
|
|
770
|
-
readonly
|
|
771
|
-
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
772
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
773
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
774
|
-
readonly entries: {
|
|
775
|
-
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
776
|
-
};
|
|
777
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
778
|
-
name?: string | null | undefined;
|
|
779
|
-
}, {
|
|
780
|
-
name?: string | null | undefined;
|
|
781
|
-
}>;
|
|
782
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
783
|
-
name?: string | null | undefined;
|
|
784
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
785
|
-
readonly '~types'?: {
|
|
786
|
-
readonly input: {
|
|
787
|
-
name?: string | null | undefined;
|
|
788
|
-
};
|
|
789
|
-
readonly output: {
|
|
790
|
-
name?: string | null | undefined;
|
|
791
|
-
};
|
|
792
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
793
|
-
} | undefined;
|
|
794
|
-
};
|
|
769
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
795
770
|
}, undefined>;
|
|
796
771
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
797
772
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
798
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
799
|
-
}, undefined>
|
|
773
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsName", undefined>;
|
|
774
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
775
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
776
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
777
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
778
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
779
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
780
|
+
}, undefined>;
|
|
781
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
782
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
783
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
784
|
+
}, undefined>)[], undefined>, undefined>;
|
|
800
785
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
801
786
|
readonly data: import("valibot").ObjectSchema<{
|
|
802
787
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -323,6 +323,14 @@ export declare const privateGroup: {
|
|
|
323
323
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
324
324
|
readonly settings: import("valibot").ObjectSchema<{
|
|
325
325
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
326
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
327
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
328
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
329
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
330
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
331
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
332
|
+
}, undefined>, undefined>>, undefined>;
|
|
333
|
+
}, undefined>;
|
|
326
334
|
}, undefined>;
|
|
327
335
|
}, undefined>;
|
|
328
336
|
}, undefined>], undefined>, undefined>;
|
|
@@ -566,15 +574,6 @@ export declare const privateGroup: {
|
|
|
566
574
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
567
575
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
568
576
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
569
|
-
}, undefined> | import("valibot").ObjectSchema<{
|
|
570
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
571
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
572
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
573
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
574
|
-
}, undefined>;
|
|
575
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
576
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
577
|
-
readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
|
|
578
577
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
579
578
|
readonly args: import("valibot").ObjectSchema<{
|
|
580
579
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -762,38 +761,24 @@ export declare const privateGroup: {
|
|
|
762
761
|
}, undefined>], undefined>>;
|
|
763
762
|
user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
764
763
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
765
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
764
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
766
765
|
readonly args: import("valibot").ObjectSchema<{
|
|
767
|
-
readonly
|
|
768
|
-
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
769
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
770
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
771
|
-
readonly entries: {
|
|
772
|
-
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
773
|
-
};
|
|
774
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
775
|
-
name?: string | null | undefined;
|
|
776
|
-
}, {
|
|
777
|
-
name?: string | null | undefined;
|
|
778
|
-
}>;
|
|
779
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
780
|
-
name?: string | null | undefined;
|
|
781
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
782
|
-
readonly '~types'?: {
|
|
783
|
-
readonly input: {
|
|
784
|
-
name?: string | null | undefined;
|
|
785
|
-
};
|
|
786
|
-
readonly output: {
|
|
787
|
-
name?: string | null | undefined;
|
|
788
|
-
};
|
|
789
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
790
|
-
} | undefined;
|
|
791
|
-
};
|
|
766
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
792
767
|
}, undefined>;
|
|
793
768
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
794
769
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
795
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
796
|
-
}, undefined>
|
|
770
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsName", undefined>;
|
|
771
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
772
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
773
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
774
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
775
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
776
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
777
|
+
}, undefined>;
|
|
778
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
779
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
780
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
781
|
+
}, undefined>)[], undefined>, undefined>;
|
|
797
782
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
798
783
|
readonly data: import("valibot").ObjectSchema<{
|
|
799
784
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -290,6 +290,14 @@ export declare const sync: {
|
|
|
290
290
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
291
291
|
readonly settings: import("valibot").ObjectSchema<{
|
|
292
292
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
293
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
294
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
295
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
296
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
297
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
298
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
299
|
+
}, undefined>, undefined>>, undefined>;
|
|
300
|
+
}, undefined>;
|
|
293
301
|
}, undefined>;
|
|
294
302
|
}, undefined>;
|
|
295
303
|
}, undefined>], undefined>, undefined>;
|
|
@@ -533,15 +541,6 @@ export declare const sync: {
|
|
|
533
541
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
534
542
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
535
543
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
536
|
-
}, undefined> | import("valibot").ObjectSchema<{
|
|
537
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
538
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
539
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
540
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
541
|
-
}, undefined>;
|
|
542
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
543
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
544
|
-
readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
|
|
545
544
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
546
545
|
readonly args: import("valibot").ObjectSchema<{
|
|
547
546
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -729,38 +728,24 @@ export declare const sync: {
|
|
|
729
728
|
}, undefined>], undefined>>;
|
|
730
729
|
user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
731
730
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
732
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
731
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
733
732
|
readonly args: import("valibot").ObjectSchema<{
|
|
734
|
-
readonly
|
|
735
|
-
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
736
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
737
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
738
|
-
readonly entries: {
|
|
739
|
-
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
740
|
-
};
|
|
741
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
742
|
-
name?: string | null | undefined;
|
|
743
|
-
}, {
|
|
744
|
-
name?: string | null | undefined;
|
|
745
|
-
}>;
|
|
746
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
747
|
-
name?: string | null | undefined;
|
|
748
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
749
|
-
readonly '~types'?: {
|
|
750
|
-
readonly input: {
|
|
751
|
-
name?: string | null | undefined;
|
|
752
|
-
};
|
|
753
|
-
readonly output: {
|
|
754
|
-
name?: string | null | undefined;
|
|
755
|
-
};
|
|
756
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
757
|
-
} | undefined;
|
|
758
|
-
};
|
|
733
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
759
734
|
}, undefined>;
|
|
760
735
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
761
736
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
762
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
763
|
-
}, undefined>
|
|
737
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsName", undefined>;
|
|
738
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
739
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
740
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
741
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
742
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
743
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
744
|
+
}, undefined>;
|
|
745
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
746
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
747
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
748
|
+
}, undefined>)[], undefined>, undefined>;
|
|
764
749
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
765
750
|
readonly data: import("valibot").ObjectSchema<{
|
|
766
751
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -289,6 +289,14 @@ export declare const pull: {
|
|
|
289
289
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
290
290
|
readonly settings: import("valibot").ObjectSchema<{
|
|
291
291
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
292
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
293
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
294
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
295
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
296
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
297
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
298
|
+
}, undefined>, undefined>>, undefined>;
|
|
299
|
+
}, undefined>;
|
|
292
300
|
}, undefined>;
|
|
293
301
|
}, undefined>;
|
|
294
302
|
}, undefined>], undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -33,6 +33,14 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
33
33
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
34
34
|
readonly settings: v.ObjectSchema<{
|
|
35
35
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
+
readonly notifications: v.ObjectSchema<{
|
|
37
|
+
readonly pushNotificationTokens: v.ObjectSchema<Record<"ios" | "osx" | "web", v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
38
|
+
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
39
|
+
readonly deviceId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly platform: v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"osx", undefined>, v.LiteralSchema<"web", undefined>], undefined>;
|
|
41
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
}, undefined>, undefined>>, undefined>;
|
|
43
|
+
}, undefined>;
|
|
36
44
|
}, undefined>;
|
|
37
45
|
}, undefined>;
|
|
38
46
|
}, undefined>], undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
|
|
@@ -95,15 +95,6 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
95
95
|
readonly clientID: v.StringSchema<undefined>;
|
|
96
96
|
readonly id: v.NumberSchema<undefined>;
|
|
97
97
|
readonly name: v.LiteralSchema<"setContent", undefined>;
|
|
98
|
-
}, undefined> | v.ObjectSchema<{
|
|
99
|
-
readonly args: v.ObjectSchema<{
|
|
100
|
-
readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
101
|
-
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
102
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
103
|
-
}, undefined>;
|
|
104
|
-
readonly clientID: v.StringSchema<undefined>;
|
|
105
|
-
readonly id: v.NumberSchema<undefined>;
|
|
106
|
-
readonly name: v.LiteralSchema<"setEmailAccountId", undefined>;
|
|
107
98
|
}, undefined> | v.ObjectSchema<{
|
|
108
99
|
readonly args: v.ObjectSchema<{
|
|
109
100
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAmFxB,CAAA"}
|
|
@@ -48,12 +48,6 @@ export const syncPushDraft = createEndpoint({
|
|
|
48
48
|
id: v.number(),
|
|
49
49
|
name: v.literal('setContent'),
|
|
50
50
|
}),
|
|
51
|
-
setEmailAccountId: v.object({
|
|
52
|
-
args: draft.mutators.setEmailAccountId.delta,
|
|
53
|
-
clientID: v.string(),
|
|
54
|
-
id: v.number(),
|
|
55
|
-
name: v.literal('setEmailAccountId'),
|
|
56
|
-
}),
|
|
57
51
|
setEnvelope: v.object({
|
|
58
52
|
args: draft.mutators.setEnvelope.delta,
|
|
59
53
|
clientID: v.string(),
|
|
@@ -234,15 +234,6 @@ export declare const push: {
|
|
|
234
234
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
235
235
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
236
236
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
237
|
-
}, undefined> | import("valibot").ObjectSchema<{
|
|
238
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
239
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
240
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
241
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
242
|
-
}, undefined>;
|
|
243
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
244
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
245
|
-
readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
|
|
246
237
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
247
238
|
readonly args: import("valibot").ObjectSchema<{
|
|
248
239
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -430,38 +421,24 @@ export declare const push: {
|
|
|
430
421
|
}, undefined>], undefined>>;
|
|
431
422
|
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
432
423
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
433
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
424
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
434
425
|
readonly args: import("valibot").ObjectSchema<{
|
|
435
|
-
readonly
|
|
436
|
-
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
437
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
438
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
439
|
-
readonly entries: {
|
|
440
|
-
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
441
|
-
};
|
|
442
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
443
|
-
name?: string | null | undefined;
|
|
444
|
-
}, {
|
|
445
|
-
name?: string | null | undefined;
|
|
446
|
-
}>;
|
|
447
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
448
|
-
name?: string | null | undefined;
|
|
449
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
450
|
-
readonly '~types'?: {
|
|
451
|
-
readonly input: {
|
|
452
|
-
name?: string | null | undefined;
|
|
453
|
-
};
|
|
454
|
-
readonly output: {
|
|
455
|
-
name?: string | null | undefined;
|
|
456
|
-
};
|
|
457
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
458
|
-
} | undefined;
|
|
459
|
-
};
|
|
426
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
460
427
|
}, undefined>;
|
|
461
428
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
462
429
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
463
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
464
|
-
}, undefined>
|
|
430
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsName", undefined>;
|
|
431
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
432
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
433
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
434
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
435
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
436
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
437
|
+
}, undefined>;
|
|
438
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
439
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
440
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
441
|
+
}, undefined>)[], undefined>, undefined>;
|
|
465
442
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
466
443
|
readonly data: import("valibot").ObjectSchema<{
|
|
467
444
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", 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
|
|
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,38 +1,24 @@
|
|
|
1
1
|
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
|
-
readonly mutations: v.ArraySchema<v.UnionSchema<v.ObjectSchema<{
|
|
4
|
+
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly
|
|
7
|
-
readonly settings: Omit<v.ObjectSchema<{
|
|
8
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
10
|
-
readonly entries: {
|
|
11
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
12
|
-
};
|
|
13
|
-
readonly '~standard': v.StandardSchemaProps<{
|
|
14
|
-
name?: string | null | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
name?: string | null | undefined;
|
|
17
|
-
}>;
|
|
18
|
-
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
19
|
-
name?: string | null | undefined;
|
|
20
|
-
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue>;
|
|
21
|
-
readonly '~types'?: {
|
|
22
|
-
readonly input: {
|
|
23
|
-
name?: string | null | undefined;
|
|
24
|
-
};
|
|
25
|
-
readonly output: {
|
|
26
|
-
name?: string | null | undefined;
|
|
27
|
-
};
|
|
28
|
-
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue;
|
|
29
|
-
} | undefined;
|
|
30
|
-
};
|
|
6
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
31
7
|
}, undefined>;
|
|
32
8
|
readonly clientID: v.StringSchema<undefined>;
|
|
33
9
|
readonly id: v.NumberSchema<undefined>;
|
|
34
|
-
readonly name: v.LiteralSchema<"
|
|
35
|
-
}, undefined>
|
|
10
|
+
readonly name: v.LiteralSchema<"setSettingsName", undefined>;
|
|
11
|
+
}, undefined> | v.ObjectSchema<{
|
|
12
|
+
readonly args: v.ObjectSchema<{
|
|
13
|
+
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
14
|
+
readonly deviceId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
|
+
readonly platform: v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"osx", undefined>, v.LiteralSchema<"web", undefined>], undefined>;
|
|
16
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
19
|
+
readonly id: v.NumberSchema<undefined>;
|
|
20
|
+
readonly name: v.LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
21
|
+
}, undefined>)[], undefined>, undefined>;
|
|
36
22
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
37
23
|
readonly data: v.ObjectSchema<{
|
|
38
24
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", 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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BvB,CAAA"}
|
|
@@ -6,11 +6,17 @@ export const syncPushUser = createEndpoint({
|
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
8
|
mutations: v.array(v.union(Object.values({
|
|
9
|
-
|
|
10
|
-
args: user.mutators.
|
|
9
|
+
setSettingsName: v.object({
|
|
10
|
+
args: user.mutators.setSettingsName.delta,
|
|
11
11
|
clientID: v.string(),
|
|
12
12
|
id: v.number(),
|
|
13
|
-
name: v.literal('
|
|
13
|
+
name: v.literal('setSettingsName'),
|
|
14
|
+
}),
|
|
15
|
+
setSettingsPushNotifactionToken: v.object({
|
|
16
|
+
args: user.mutators.setSettingsPushNotifactionToken.delta,
|
|
17
|
+
clientID: v.string(),
|
|
18
|
+
id: v.number(),
|
|
19
|
+
name: v.literal('setSettingsPushNotifactionToken'),
|
|
14
20
|
}),
|
|
15
21
|
}))),
|
|
16
22
|
}),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -325,6 +325,14 @@ export declare const marcoSDK: {
|
|
|
325
325
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
326
326
|
readonly settings: import("valibot").ObjectSchema<{
|
|
327
327
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
328
|
+
readonly notifications: import("valibot").ObjectSchema<{
|
|
329
|
+
readonly pushNotificationTokens: import("valibot").ObjectSchema<Record<"ios" | "osx" | "web", import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
330
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
331
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
332
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
333
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
334
|
+
}, undefined>, undefined>>, undefined>;
|
|
335
|
+
}, undefined>;
|
|
328
336
|
}, undefined>;
|
|
329
337
|
}, undefined>;
|
|
330
338
|
}, undefined>], undefined>, undefined>;
|
|
@@ -568,15 +576,6 @@ export declare const marcoSDK: {
|
|
|
568
576
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
569
577
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
570
578
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
571
|
-
}, undefined> | import("valibot").ObjectSchema<{
|
|
572
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
573
|
-
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
574
|
-
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
575
|
-
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
576
|
-
}, undefined>;
|
|
577
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
578
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
579
|
-
readonly name: import("valibot").LiteralSchema<"setEmailAccountId", undefined>;
|
|
580
579
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
581
580
|
readonly args: import("valibot").ObjectSchema<{
|
|
582
581
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
@@ -764,38 +763,24 @@ export declare const marcoSDK: {
|
|
|
764
763
|
}, undefined>], undefined>>;
|
|
765
764
|
user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
766
765
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
767
|
-
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<import("valibot").ObjectSchema<{
|
|
766
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
768
767
|
readonly args: import("valibot").ObjectSchema<{
|
|
769
|
-
readonly
|
|
770
|
-
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
771
|
-
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
772
|
-
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
773
|
-
readonly entries: {
|
|
774
|
-
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
775
|
-
};
|
|
776
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
777
|
-
name?: string | null | undefined;
|
|
778
|
-
}, {
|
|
779
|
-
name?: string | null | undefined;
|
|
780
|
-
}>;
|
|
781
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
782
|
-
name?: string | null | undefined;
|
|
783
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue>;
|
|
784
|
-
readonly '~types'?: {
|
|
785
|
-
readonly input: {
|
|
786
|
-
name?: string | null | undefined;
|
|
787
|
-
};
|
|
788
|
-
readonly output: {
|
|
789
|
-
name?: string | null | undefined;
|
|
790
|
-
};
|
|
791
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue;
|
|
792
|
-
} | undefined;
|
|
793
|
-
};
|
|
768
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
794
769
|
}, undefined>;
|
|
795
770
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
796
771
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
797
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
798
|
-
}, undefined>
|
|
772
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsName", undefined>;
|
|
773
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
774
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
775
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
776
|
+
readonly deviceId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
777
|
+
readonly platform: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
778
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
779
|
+
}, undefined>;
|
|
780
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
781
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
782
|
+
readonly name: import("valibot").LiteralSchema<"setSettingsPushNotifactionToken", undefined>;
|
|
783
|
+
}, undefined>)[], undefined>, undefined>;
|
|
799
784
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
800
785
|
readonly data: import("valibot").ObjectSchema<{
|
|
801
786
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,MAAM,CAAA"}
|
package/dist/types/index.js
CHANGED
package/package.json
CHANGED