@marcoappio/marco-config 2.0.120 → 2.0.122

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.
@@ -4,7 +4,7 @@ export declare const endpoints: {
4
4
  private: {
5
5
  sync: {
6
6
  pull: {
7
- syncPullAccount: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
7
+ account: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
8
8
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
9
9
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
10
10
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -18,10 +18,10 @@ export declare const endpoints: {
18
18
  readonly cookie: import("valibot").NumberSchema<undefined>;
19
19
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
20
20
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
21
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
22
+ }, undefined>, import("valibot").ObjectSchema<{
21
23
  readonly key: import("valibot").StringSchema<undefined>;
22
24
  readonly op: import("valibot").LiteralSchema<"del", undefined>;
23
- }, undefined>, import("valibot").ObjectSchema<{
24
- readonly op: import("valibot").LiteralSchema<"clear", undefined>;
25
25
  }, undefined>, import("valibot").ObjectSchema<{
26
26
  readonly key: import("valibot").StringSchema<undefined>;
27
27
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
@@ -44,9 +44,85 @@ export declare const endpoints: {
44
44
  }, undefined>;
45
45
  readonly status: import("valibot").LiteralSchema<200, undefined>;
46
46
  }, undefined>], undefined>>;
47
+ contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
48
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
49
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
50
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
51
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
52
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
53
+ }, undefined>, import("valibot").ObjectSchema<{
54
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
55
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
56
+ }, undefined>, import("valibot").ObjectSchema<{
57
+ readonly data: import("valibot").ObjectSchema<{
58
+ readonly cookie: import("valibot").NumberSchema<undefined>;
59
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
60
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
61
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
62
+ }, undefined>, import("valibot").ObjectSchema<{
63
+ readonly key: import("valibot").StringSchema<undefined>;
64
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
65
+ }, undefined>, import("valibot").ObjectSchema<{
66
+ readonly key: import("valibot").StringSchema<undefined>;
67
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
68
+ readonly value: import("valibot").ObjectSchema<{
69
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
71
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
72
+ }, undefined>;
73
+ }, undefined>], undefined>, undefined>;
74
+ }, undefined>;
75
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
76
+ }, undefined>], undefined>>;
77
+ thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
78
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
79
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
80
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
81
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
82
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
83
+ }, undefined>, import("valibot").ObjectSchema<{
84
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
85
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
86
+ }, undefined>, import("valibot").ObjectSchema<{
87
+ readonly data: import("valibot").ObjectSchema<{
88
+ readonly cookie: import("valibot").ObjectSchema<{
89
+ readonly id: import("valibot").StringSchema<undefined>;
90
+ readonly version: import("valibot").NumberSchema<undefined>;
91
+ }, undefined>;
92
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
93
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
94
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
95
+ }, undefined>, import("valibot").ObjectSchema<{
96
+ readonly key: import("valibot").StringSchema<undefined>;
97
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
98
+ }, undefined>, import("valibot").ObjectSchema<{
99
+ readonly key: import("valibot").StringSchema<undefined>;
100
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
101
+ readonly value: import("valibot").ObjectSchema<{
102
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
103
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
104
+ readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
105
+ readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
106
+ readonly associationType: import("valibot").EnumSchema<typeof import("../../types").ContactAssociationType, undefined>;
107
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
108
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
+ }, undefined>, undefined>;
110
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
111
+ readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
112
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
113
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
114
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
115
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
116
+ readonly seen: import("valibot").BooleanSchema<undefined>;
117
+ }, undefined>, undefined>;
118
+ }, undefined>;
119
+ }, undefined>], undefined>, undefined>;
120
+ }, undefined>;
121
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
122
+ }, undefined>], undefined>>;
47
123
  };
48
124
  push: {
49
- syncPushAccount: EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
125
+ account: EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
50
126
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
51
127
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
52
128
  readonly args: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
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,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -1,7 +1,7 @@
1
1
  export declare const privateGroup: {
2
2
  sync: {
3
3
  pull: {
4
- syncPullAccount: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
4
+ account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
5
5
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
6
6
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
7
7
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -15,10 +15,10 @@ export declare const privateGroup: {
15
15
  readonly cookie: import("valibot").NumberSchema<undefined>;
16
16
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
17
17
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
18
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
19
+ }, undefined>, import("valibot").ObjectSchema<{
18
20
  readonly key: import("valibot").StringSchema<undefined>;
19
21
  readonly op: import("valibot").LiteralSchema<"del", undefined>;
20
- }, undefined>, import("valibot").ObjectSchema<{
21
- readonly op: import("valibot").LiteralSchema<"clear", undefined>;
22
22
  }, undefined>, import("valibot").ObjectSchema<{
23
23
  readonly key: import("valibot").StringSchema<undefined>;
24
24
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
@@ -41,9 +41,85 @@ export declare const privateGroup: {
41
41
  }, undefined>;
42
42
  readonly status: import("valibot").LiteralSchema<200, undefined>;
43
43
  }, undefined>], undefined>>;
44
+ contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
45
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
46
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
47
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
48
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
49
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
50
+ }, undefined>, import("valibot").ObjectSchema<{
51
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
52
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
53
+ }, undefined>, import("valibot").ObjectSchema<{
54
+ readonly data: import("valibot").ObjectSchema<{
55
+ readonly cookie: import("valibot").NumberSchema<undefined>;
56
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
57
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
58
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
59
+ }, undefined>, import("valibot").ObjectSchema<{
60
+ readonly key: import("valibot").StringSchema<undefined>;
61
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
62
+ }, undefined>, import("valibot").ObjectSchema<{
63
+ readonly key: import("valibot").StringSchema<undefined>;
64
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
65
+ readonly value: import("valibot").ObjectSchema<{
66
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
67
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
68
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
69
+ }, undefined>;
70
+ }, undefined>], undefined>, undefined>;
71
+ }, undefined>;
72
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
73
+ }, undefined>], undefined>>;
74
+ thread: import("../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
75
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
76
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
77
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
78
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
79
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
80
+ }, undefined>, import("valibot").ObjectSchema<{
81
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
82
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
83
+ }, undefined>, import("valibot").ObjectSchema<{
84
+ readonly data: import("valibot").ObjectSchema<{
85
+ readonly cookie: import("valibot").ObjectSchema<{
86
+ readonly id: import("valibot").StringSchema<undefined>;
87
+ readonly version: import("valibot").NumberSchema<undefined>;
88
+ }, undefined>;
89
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
90
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
91
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
92
+ }, undefined>, import("valibot").ObjectSchema<{
93
+ readonly key: import("valibot").StringSchema<undefined>;
94
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
95
+ }, undefined>, import("valibot").ObjectSchema<{
96
+ readonly key: import("valibot").StringSchema<undefined>;
97
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
98
+ readonly value: import("valibot").ObjectSchema<{
99
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
100
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
101
+ readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
102
+ readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
103
+ readonly associationType: import("valibot").EnumSchema<typeof import("../../..").ContactAssociationType, undefined>;
104
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
105
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
106
+ }, undefined>, undefined>;
107
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
108
+ readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
110
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
111
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
112
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
113
+ readonly seen: import("valibot").BooleanSchema<undefined>;
114
+ }, undefined>, undefined>;
115
+ }, undefined>;
116
+ }, undefined>], undefined>, undefined>;
117
+ }, undefined>;
118
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
119
+ }, undefined>], undefined>>;
44
120
  };
45
121
  push: {
46
- syncPushAccount: import("../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
122
+ account: import("../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
47
123
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
48
124
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
49
125
  readonly args: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  export declare const sync: {
2
2
  pull: {
3
- syncPullAccount: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
3
+ account: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
4
4
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
5
5
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
6
6
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -14,10 +14,10 @@ export declare const sync: {
14
14
  readonly cookie: import("valibot").NumberSchema<undefined>;
15
15
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
16
16
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
17
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
18
+ }, undefined>, import("valibot").ObjectSchema<{
17
19
  readonly key: import("valibot").StringSchema<undefined>;
18
20
  readonly op: import("valibot").LiteralSchema<"del", undefined>;
19
- }, undefined>, import("valibot").ObjectSchema<{
20
- readonly op: import("valibot").LiteralSchema<"clear", undefined>;
21
21
  }, undefined>, import("valibot").ObjectSchema<{
22
22
  readonly key: import("valibot").StringSchema<undefined>;
23
23
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
@@ -40,9 +40,85 @@ export declare const sync: {
40
40
  }, undefined>;
41
41
  readonly status: import("valibot").LiteralSchema<200, undefined>;
42
42
  }, undefined>], undefined>>;
43
+ contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
44
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
45
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
46
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
47
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
48
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
49
+ }, undefined>, import("valibot").ObjectSchema<{
50
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
51
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
52
+ }, undefined>, import("valibot").ObjectSchema<{
53
+ readonly data: import("valibot").ObjectSchema<{
54
+ readonly cookie: import("valibot").NumberSchema<undefined>;
55
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
56
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
57
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
58
+ }, undefined>, import("valibot").ObjectSchema<{
59
+ readonly key: import("valibot").StringSchema<undefined>;
60
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
61
+ }, undefined>, import("valibot").ObjectSchema<{
62
+ readonly key: import("valibot").StringSchema<undefined>;
63
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
64
+ readonly value: import("valibot").ObjectSchema<{
65
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
66
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
67
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
68
+ }, undefined>;
69
+ }, undefined>], undefined>, undefined>;
70
+ }, undefined>;
71
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
72
+ }, undefined>], undefined>>;
73
+ thread: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
74
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
75
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
76
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
77
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
78
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
79
+ }, undefined>, import("valibot").ObjectSchema<{
80
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
81
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
82
+ }, undefined>, import("valibot").ObjectSchema<{
83
+ readonly data: import("valibot").ObjectSchema<{
84
+ readonly cookie: import("valibot").ObjectSchema<{
85
+ readonly id: import("valibot").StringSchema<undefined>;
86
+ readonly version: import("valibot").NumberSchema<undefined>;
87
+ }, undefined>;
88
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
89
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
90
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
91
+ }, undefined>, import("valibot").ObjectSchema<{
92
+ readonly key: import("valibot").StringSchema<undefined>;
93
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
94
+ }, undefined>, import("valibot").ObjectSchema<{
95
+ readonly key: import("valibot").StringSchema<undefined>;
96
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
97
+ readonly value: import("valibot").ObjectSchema<{
98
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
99
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
100
+ readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
101
+ readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
102
+ readonly associationType: import("valibot").EnumSchema<typeof import("../../../..").ContactAssociationType, undefined>;
103
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
104
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
105
+ }, undefined>, undefined>;
106
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
107
+ readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
108
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
109
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
110
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
111
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
112
+ readonly seen: import("valibot").BooleanSchema<undefined>;
113
+ }, undefined>, undefined>;
114
+ }, undefined>;
115
+ }, undefined>], undefined>, undefined>;
116
+ }, undefined>;
117
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
118
+ }, undefined>], undefined>>;
43
119
  };
44
120
  push: {
45
- syncPushAccount: import("../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
121
+ account: import("../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
46
122
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
47
123
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
48
124
  readonly args: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -13,10 +13,10 @@ export declare const syncPullAccount: import("../../../../../types").EndpointCon
13
13
  readonly cookie: v.NumberSchema<undefined>;
14
14
  readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
15
15
  readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
16
+ readonly op: v.LiteralSchema<"clear", undefined>;
17
+ }, undefined>, v.ObjectSchema<{
16
18
  readonly key: v.StringSchema<undefined>;
17
19
  readonly op: v.LiteralSchema<"del", undefined>;
18
- }, undefined>, v.ObjectSchema<{
19
- readonly op: v.LiteralSchema<"clear", undefined>;
20
20
  }, undefined>, v.ObjectSchema<{
21
21
  readonly key: v.StringSchema<undefined>;
22
22
  readonly op: v.LiteralSchema<"put", undefined>;
@@ -18,8 +18,8 @@ export const syncPullAccount = createEndpoint({
18
18
  cookie: v.number(),
19
19
  lastMutationIDChanges: v.record(v.string(), v.number()),
20
20
  patch: v.array(v.union([
21
- v.object({ key: v.string(), op: v.literal('del') }),
22
21
  v.object({ op: v.literal('clear') }),
22
+ v.object({ key: v.string(), op: v.literal('del') }),
23
23
  v.object({ key: v.string(), op: v.literal('put'), value: account.model }),
24
24
  ])),
25
25
  }),
@@ -0,0 +1,32 @@
1
+ import * as v from 'valibot';
2
+ export declare const syncPullContact: import("../../../../../types").EndpointConfig<"/v1/pv/sync/pull/contact", v.ObjectSchema<{
3
+ readonly clientGroupID: v.StringSchema<undefined>;
4
+ readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
+ readonly status: v.LiteralSchema<400, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
10
+ readonly status: v.LiteralSchema<401, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly data: v.ObjectSchema<{
13
+ readonly cookie: v.NumberSchema<undefined>;
14
+ readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
15
+ readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
16
+ readonly op: v.LiteralSchema<"clear", undefined>;
17
+ }, undefined>, v.ObjectSchema<{
18
+ readonly key: v.StringSchema<undefined>;
19
+ readonly op: v.LiteralSchema<"del", undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly key: v.StringSchema<undefined>;
22
+ readonly op: v.LiteralSchema<"put", undefined>;
23
+ readonly value: v.ObjectSchema<{
24
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
26
+ readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
27
+ }, undefined>;
28
+ }, undefined>], undefined>, undefined>;
29
+ }, undefined>;
30
+ readonly status: v.LiteralSchema<200, undefined>;
31
+ }, undefined>], undefined>>;
32
+ //# sourceMappingURL=contact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
@@ -0,0 +1,29 @@
1
+ import * as v from 'valibot';
2
+ import { contact } from '../../../../../clients/contact';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { errorManifest } from '../../../../../sdk/validation/errors';
5
+ import { HTTPMethod } from '../../../../../types';
6
+ export const syncPullContact = createEndpoint({
7
+ body: v.object({
8
+ clientGroupID: v.string(),
9
+ cookie: v.nullable(v.number()),
10
+ }),
11
+ method: HTTPMethod.POST,
12
+ path: contact.pullURL,
13
+ response: v.union([
14
+ errorManifest.validationFailedErrorSchema,
15
+ errorManifest.notAuthenticatedErrorSchema,
16
+ v.object({
17
+ data: v.object({
18
+ cookie: v.number(),
19
+ lastMutationIDChanges: v.record(v.string(), v.number()),
20
+ patch: v.array(v.union([
21
+ v.object({ op: v.literal('clear') }),
22
+ v.object({ key: v.string(), op: v.literal('del') }),
23
+ v.object({ key: v.string(), op: v.literal('put'), value: contact.model }),
24
+ ])),
25
+ }),
26
+ status: v.literal(200),
27
+ }),
28
+ ]),
29
+ });
@@ -1,5 +1,5 @@
1
1
  export declare const pull: {
2
- syncPullAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
2
+ account: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
3
3
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
4
4
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
5
5
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -13,10 +13,10 @@ export declare const pull: {
13
13
  readonly cookie: import("valibot").NumberSchema<undefined>;
14
14
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
15
15
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
16
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
17
+ }, undefined>, import("valibot").ObjectSchema<{
16
18
  readonly key: import("valibot").StringSchema<undefined>;
17
19
  readonly op: import("valibot").LiteralSchema<"del", undefined>;
18
- }, undefined>, import("valibot").ObjectSchema<{
19
- readonly op: import("valibot").LiteralSchema<"clear", undefined>;
20
20
  }, undefined>, import("valibot").ObjectSchema<{
21
21
  readonly key: import("valibot").StringSchema<undefined>;
22
22
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
@@ -39,5 +39,81 @@ export declare const pull: {
39
39
  }, undefined>;
40
40
  readonly status: import("valibot").LiteralSchema<200, undefined>;
41
41
  }, undefined>], undefined>>;
42
+ contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
43
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
44
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
45
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
46
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
47
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
48
+ }, undefined>, import("valibot").ObjectSchema<{
49
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
50
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
51
+ }, undefined>, import("valibot").ObjectSchema<{
52
+ readonly data: import("valibot").ObjectSchema<{
53
+ readonly cookie: import("valibot").NumberSchema<undefined>;
54
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
55
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
56
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
57
+ }, undefined>, import("valibot").ObjectSchema<{
58
+ readonly key: import("valibot").StringSchema<undefined>;
59
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
60
+ }, undefined>, import("valibot").ObjectSchema<{
61
+ readonly key: import("valibot").StringSchema<undefined>;
62
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
63
+ readonly value: import("valibot").ObjectSchema<{
64
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
65
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
66
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
67
+ }, undefined>;
68
+ }, undefined>], undefined>, undefined>;
69
+ }, undefined>;
70
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
71
+ }, undefined>], undefined>>;
72
+ thread: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
73
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
74
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
75
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
76
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
77
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
78
+ }, undefined>, import("valibot").ObjectSchema<{
79
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
80
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
81
+ }, undefined>, import("valibot").ObjectSchema<{
82
+ readonly data: import("valibot").ObjectSchema<{
83
+ readonly cookie: import("valibot").ObjectSchema<{
84
+ readonly id: import("valibot").StringSchema<undefined>;
85
+ readonly version: import("valibot").NumberSchema<undefined>;
86
+ }, undefined>;
87
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
88
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
89
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
90
+ }, undefined>, import("valibot").ObjectSchema<{
91
+ readonly key: import("valibot").StringSchema<undefined>;
92
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
93
+ }, undefined>, import("valibot").ObjectSchema<{
94
+ readonly key: import("valibot").StringSchema<undefined>;
95
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
96
+ readonly value: import("valibot").ObjectSchema<{
97
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
98
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
99
+ readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
100
+ readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
101
+ readonly associationType: import("valibot").EnumSchema<typeof import("../../../../..").ContactAssociationType, undefined>;
102
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
103
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
104
+ }, undefined>, undefined>;
105
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
106
+ readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
107
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
108
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
110
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
111
+ readonly seen: import("valibot").BooleanSchema<undefined>;
112
+ }, undefined>, undefined>;
113
+ }, undefined>;
114
+ }, undefined>], undefined>, undefined>;
115
+ }, undefined>;
116
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
117
+ }, undefined>], undefined>>;
42
118
  };
43
119
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA"}
@@ -1,2 +1,4 @@
1
- import { syncPullAccount } from './account';
2
- export const pull = { syncPullAccount };
1
+ import { syncPullAccount as account } from './account';
2
+ import { syncPullContact as contact } from './contact';
3
+ import { syncPullThread as thread } from './thread';
4
+ export const pull = { account, contact, thread };
@@ -0,0 +1,48 @@
1
+ import * as v from 'valibot';
2
+ export declare const syncPullThread: import("../../../../../types").EndpointConfig<"/v1/pv/sync/pull/thread", v.ObjectSchema<{
3
+ readonly clientGroupID: v.StringSchema<undefined>;
4
+ readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
+ readonly status: v.LiteralSchema<400, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
10
+ readonly status: v.LiteralSchema<401, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly data: v.ObjectSchema<{
13
+ readonly cookie: v.ObjectSchema<{
14
+ readonly id: v.StringSchema<undefined>;
15
+ readonly version: v.NumberSchema<undefined>;
16
+ }, undefined>;
17
+ readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
18
+ readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
19
+ readonly op: v.LiteralSchema<"clear", undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly key: v.StringSchema<undefined>;
22
+ readonly op: v.LiteralSchema<"del", undefined>;
23
+ }, undefined>, v.ObjectSchema<{
24
+ readonly key: v.StringSchema<undefined>;
25
+ readonly op: v.LiteralSchema<"put", undefined>;
26
+ readonly value: v.ObjectSchema<{
27
+ readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
28
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
29
+ readonly messages: v.ArraySchema<v.ObjectSchema<{
30
+ readonly contacts: v.ArraySchema<v.ObjectSchema<{
31
+ readonly associationType: v.EnumSchema<typeof import("../../../../../types").ContactAssociationType, undefined>;
32
+ readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
33
+ readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
34
+ }, undefined>, undefined>;
35
+ readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
36
+ readonly envelopeSubject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
37
+ readonly flagged: v.BooleanSchema<undefined>;
38
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
39
+ readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
40
+ readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
41
+ readonly seen: v.BooleanSchema<undefined>;
42
+ }, undefined>, undefined>;
43
+ }, undefined>;
44
+ }, undefined>], undefined>, undefined>;
45
+ }, undefined>;
46
+ readonly status: v.LiteralSchema<200, undefined>;
47
+ }, undefined>], undefined>>;
48
+ //# sourceMappingURL=thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2BzB,CAAA"}
@@ -0,0 +1,32 @@
1
+ import * as v from 'valibot';
2
+ import { thread } from '../../../../../clients/thread';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { errorManifest } from '../../../../../sdk/validation/errors';
5
+ import { HTTPMethod } from '../../../../../types';
6
+ export const syncPullThread = createEndpoint({
7
+ body: v.object({
8
+ clientGroupID: v.string(),
9
+ cookie: v.nullable(v.number()),
10
+ }),
11
+ method: HTTPMethod.POST,
12
+ path: thread.pullURL,
13
+ response: v.union([
14
+ errorManifest.validationFailedErrorSchema,
15
+ errorManifest.notAuthenticatedErrorSchema,
16
+ v.object({
17
+ data: v.object({
18
+ cookie: v.object({
19
+ id: v.string(),
20
+ version: v.number(),
21
+ }),
22
+ lastMutationIDChanges: v.record(v.string(), v.number()),
23
+ patch: v.array(v.union([
24
+ v.object({ op: v.literal('clear') }),
25
+ v.object({ key: v.string(), op: v.literal('del') }),
26
+ v.object({ key: v.string(), op: v.literal('put'), value: thread.model }),
27
+ ])),
28
+ }),
29
+ status: v.literal(200),
30
+ }),
31
+ ]),
32
+ });
@@ -1,5 +1,5 @@
1
1
  export declare const push: {
2
- syncPushAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
2
+ account: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
3
3
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
4
4
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
5
5
  readonly args: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAc,CAAA"}
@@ -1,2 +1,2 @@
1
- import { syncPushAccount } from './account';
2
- export const push = { syncPushAccount };
1
+ import { syncPushAccount as account } from './account';
2
+ export const push = { account };
@@ -3,7 +3,7 @@ export declare const marcoSDK: {
3
3
  private: {
4
4
  sync: {
5
5
  pull: {
6
- syncPullAccount: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
6
+ account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
7
7
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
8
8
  readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
9
9
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
@@ -17,10 +17,10 @@ export declare const marcoSDK: {
17
17
  readonly cookie: import("valibot").NumberSchema<undefined>;
18
18
  readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
19
19
  readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
20
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
21
+ }, undefined>, import("valibot").ObjectSchema<{
20
22
  readonly key: import("valibot").StringSchema<undefined>;
21
23
  readonly op: import("valibot").LiteralSchema<"del", undefined>;
22
- }, undefined>, import("valibot").ObjectSchema<{
23
- readonly op: import("valibot").LiteralSchema<"clear", undefined>;
24
24
  }, undefined>, import("valibot").ObjectSchema<{
25
25
  readonly key: import("valibot").StringSchema<undefined>;
26
26
  readonly op: import("valibot").LiteralSchema<"put", undefined>;
@@ -43,9 +43,85 @@ export declare const marcoSDK: {
43
43
  }, undefined>;
44
44
  readonly status: import("valibot").LiteralSchema<200, undefined>;
45
45
  }, undefined>], undefined>>;
46
+ contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
47
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
48
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
49
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
50
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
51
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
52
+ }, undefined>, import("valibot").ObjectSchema<{
53
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
54
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
55
+ }, undefined>, import("valibot").ObjectSchema<{
56
+ readonly data: import("valibot").ObjectSchema<{
57
+ readonly cookie: import("valibot").NumberSchema<undefined>;
58
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
59
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
60
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
61
+ }, undefined>, import("valibot").ObjectSchema<{
62
+ readonly key: import("valibot").StringSchema<undefined>;
63
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
64
+ }, undefined>, import("valibot").ObjectSchema<{
65
+ readonly key: import("valibot").StringSchema<undefined>;
66
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
67
+ readonly value: import("valibot").ObjectSchema<{
68
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
69
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
71
+ }, undefined>;
72
+ }, undefined>], undefined>, undefined>;
73
+ }, undefined>;
74
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
75
+ }, undefined>], undefined>>;
76
+ thread: import("..").EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
77
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
78
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
79
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
80
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
81
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
82
+ }, undefined>, import("valibot").ObjectSchema<{
83
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
84
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
85
+ }, undefined>, import("valibot").ObjectSchema<{
86
+ readonly data: import("valibot").ObjectSchema<{
87
+ readonly cookie: import("valibot").ObjectSchema<{
88
+ readonly id: import("valibot").StringSchema<undefined>;
89
+ readonly version: import("valibot").NumberSchema<undefined>;
90
+ }, undefined>;
91
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
92
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
93
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
94
+ }, undefined>, import("valibot").ObjectSchema<{
95
+ readonly key: import("valibot").StringSchema<undefined>;
96
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
97
+ }, undefined>, import("valibot").ObjectSchema<{
98
+ readonly key: import("valibot").StringSchema<undefined>;
99
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
100
+ readonly value: import("valibot").ObjectSchema<{
101
+ readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
102
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
103
+ readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
104
+ readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
105
+ readonly associationType: import("valibot").EnumSchema<typeof import("..").ContactAssociationType, undefined>;
106
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
107
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
108
+ }, undefined>, undefined>;
109
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
110
+ readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
111
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
112
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
113
+ readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
114
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
115
+ readonly seen: import("valibot").BooleanSchema<undefined>;
116
+ }, undefined>, undefined>;
117
+ }, undefined>;
118
+ }, undefined>], undefined>, undefined>;
119
+ }, undefined>;
120
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
121
+ }, undefined>], undefined>>;
46
122
  };
47
123
  push: {
48
- syncPushAccount: import("..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
124
+ account: import("..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
49
125
  readonly clientGroupID: import("valibot").StringSchema<undefined>;
50
126
  readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
51
127
  readonly args: import("valibot").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.120",
3
+ "version": "2.0.122",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",