@marcoappio/marco-config 2.0.369 → 2.0.371
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/index.d.ts +6 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +6 -0
- package/dist/clients/user.d.ts.map +1 -1
- package/dist/clients/user.js +6 -0
- package/dist/sdk/endpoints/index.d.ts +12 -1
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +12 -1
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +12 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +4 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +4 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.js +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +6 -0
- package/dist/sdk/index.d.ts +12 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clients/index.d.ts
CHANGED
|
@@ -460,6 +460,12 @@ export declare const marcoClients: {
|
|
|
460
460
|
}, undefined>;
|
|
461
461
|
}, undefined>;
|
|
462
462
|
mutators: {
|
|
463
|
+
deleteSettingsPushNotificationToken: {
|
|
464
|
+
delta: import("valibot").ObjectSchema<{
|
|
465
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
466
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
467
|
+
}, undefined>;
|
|
468
|
+
};
|
|
463
469
|
setSettingsName: {
|
|
464
470
|
delta: import("valibot").ObjectSchema<{
|
|
465
471
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
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
|
@@ -14,6 +14,12 @@ export declare const user: {
|
|
|
14
14
|
}, undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
mutators: {
|
|
17
|
+
deleteSettingsPushNotificationToken: {
|
|
18
|
+
delta: v.ObjectSchema<{
|
|
19
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
};
|
|
17
23
|
setSettingsName: {
|
|
18
24
|
delta: v.ObjectSchema<{
|
|
19
25
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BM,CAAA"}
|
package/dist/clients/user.js
CHANGED
|
@@ -18,6 +18,12 @@ export const user = {
|
|
|
18
18
|
settings: userSettings,
|
|
19
19
|
}),
|
|
20
20
|
mutators: {
|
|
21
|
+
deleteSettingsPushNotificationToken: {
|
|
22
|
+
delta: v.object({
|
|
23
|
+
id: marcoSchemas.string.required(),
|
|
24
|
+
token: marcoSchemas.string.required(),
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
21
27
|
setSettingsName: {
|
|
22
28
|
delta: v.object({
|
|
23
29
|
id: marcoSchemas.string.required(),
|
|
@@ -323,7 +323,10 @@ export declare const endpoints: {
|
|
|
323
323
|
}, undefined>], undefined>>;
|
|
324
324
|
user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
325
325
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
326
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").
|
|
326
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
327
|
+
readonly order: import("valibot").StringSchema<undefined>;
|
|
328
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
329
|
+
}, undefined>, undefined>;
|
|
327
330
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
328
331
|
readonly data: import("valibot").ObjectSchema<{
|
|
329
332
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -822,6 +825,14 @@ export declare const endpoints: {
|
|
|
822
825
|
user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
823
826
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
824
827
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
828
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
829
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
830
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
831
|
+
}, undefined>;
|
|
832
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
833
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
834
|
+
readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
835
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
825
836
|
readonly args: import("valibot").ObjectSchema<{
|
|
826
837
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
827
838
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/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;;;;;;;;;;;;;;;;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;CAGM,CAAA"}
|
|
@@ -320,7 +320,10 @@ export declare const privateGroup: {
|
|
|
320
320
|
}, undefined>], undefined>>;
|
|
321
321
|
user: import("../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
322
322
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
323
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").
|
|
323
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
324
|
+
readonly order: import("valibot").StringSchema<undefined>;
|
|
325
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
326
|
+
}, undefined>, undefined>;
|
|
324
327
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
325
328
|
readonly data: import("valibot").ObjectSchema<{
|
|
326
329
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -819,6 +822,14 @@ export declare const privateGroup: {
|
|
|
819
822
|
user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
820
823
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
821
824
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
825
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
826
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
827
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
828
|
+
}, undefined>;
|
|
829
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
830
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
831
|
+
readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
832
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
822
833
|
readonly args: import("valibot").ObjectSchema<{
|
|
823
834
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
824
835
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -282,7 +282,10 @@ export declare const sync: {
|
|
|
282
282
|
}, undefined>], undefined>>;
|
|
283
283
|
user: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
284
284
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
285
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").
|
|
285
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
286
|
+
readonly order: import("valibot").StringSchema<undefined>;
|
|
287
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
288
|
+
}, undefined>, undefined>;
|
|
286
289
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
287
290
|
readonly data: import("valibot").ObjectSchema<{
|
|
288
291
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -781,6 +784,14 @@ export declare const sync: {
|
|
|
781
784
|
user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
782
785
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
783
786
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
787
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
788
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
789
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
790
|
+
}, undefined>;
|
|
791
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
792
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
793
|
+
readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
794
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
784
795
|
readonly args: import("valibot").ObjectSchema<{
|
|
785
796
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
786
797
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/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"}
|
|
@@ -281,7 +281,10 @@ export declare const pull: {
|
|
|
281
281
|
}, undefined>], undefined>>;
|
|
282
282
|
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
283
283
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
284
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").
|
|
284
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
285
|
+
readonly order: import("valibot").StringSchema<undefined>;
|
|
286
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
287
|
+
}, undefined>, undefined>;
|
|
285
288
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
286
289
|
readonly data: import("valibot").ObjectSchema<{
|
|
287
290
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", 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"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", 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.
|
|
4
|
+
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
|
+
readonly order: v.StringSchema<undefined>;
|
|
6
|
+
readonly version: v.NumberSchema<undefined>;
|
|
7
|
+
}, undefined>, undefined>;
|
|
5
8
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
9
|
readonly data: v.ObjectSchema<{
|
|
7
10
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", 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;AAY5B,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;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
|
|
@@ -10,7 +10,7 @@ const cookieSchema = v.object({
|
|
|
10
10
|
export const syncPullUser = createEndpoint({
|
|
11
11
|
body: v.object({
|
|
12
12
|
clientGroupID: marcoSchemas.string.required(),
|
|
13
|
-
cookie:
|
|
13
|
+
cookie: v.nullable(cookieSchema),
|
|
14
14
|
}),
|
|
15
15
|
method: 'POST',
|
|
16
16
|
path: user.pullUrl,
|
|
@@ -448,6 +448,14 @@ export declare const push: {
|
|
|
448
448
|
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
449
449
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
450
450
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
451
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
452
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
453
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
454
|
+
}, undefined>;
|
|
455
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
456
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
457
|
+
readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
458
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
451
459
|
readonly args: import("valibot").ObjectSchema<{
|
|
452
460
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
453
461
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -2,6 +2,14 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
|
+
readonly args: v.ObjectSchema<{
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
10
|
+
readonly id: v.NumberSchema<undefined>;
|
|
11
|
+
readonly name: v.LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
12
|
+
}, undefined> | v.ObjectSchema<{
|
|
5
13
|
readonly args: v.ObjectSchema<{
|
|
6
14
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
15
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoCvB,CAAA"}
|
|
@@ -6,6 +6,12 @@ export const syncPushUser = createEndpoint({
|
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
8
|
mutations: v.array(v.union(Object.values({
|
|
9
|
+
deleteSettingsPushNotificationToken: v.object({
|
|
10
|
+
args: user.mutators.deleteSettingsPushNotificationToken.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('deleteSettingsPushNotificationToken'),
|
|
14
|
+
}),
|
|
9
15
|
setSettingsName: v.object({
|
|
10
16
|
args: user.mutators.setSettingsName.delta,
|
|
11
17
|
clientID: v.string(),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -322,7 +322,10 @@ export declare const marcoSDK: {
|
|
|
322
322
|
}, undefined>], undefined>>;
|
|
323
323
|
user: import("..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
324
324
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
325
|
-
readonly cookie: import("valibot").NullableSchema<import("valibot").
|
|
325
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
326
|
+
readonly order: import("valibot").StringSchema<undefined>;
|
|
327
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
328
|
+
}, undefined>, undefined>;
|
|
326
329
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
327
330
|
readonly data: import("valibot").ObjectSchema<{
|
|
328
331
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -821,6 +824,14 @@ export declare const marcoSDK: {
|
|
|
821
824
|
user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
822
825
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
823
826
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").ObjectSchema<{
|
|
827
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
828
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
829
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
830
|
+
}, undefined>;
|
|
831
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
832
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
833
|
+
readonly name: import("valibot").LiteralSchema<"deleteSettingsPushNotificationToken", undefined>;
|
|
834
|
+
}, undefined> | import("valibot").ObjectSchema<{
|
|
824
835
|
readonly args: import("valibot").ObjectSchema<{
|
|
825
836
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
826
837
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
package/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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