@marcoappio/marco-config 2.0.166 → 2.0.168
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/account.d.ts +1 -1
- package/dist/clients/draft.d.ts +2 -0
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +5 -0
- package/dist/clients/index.d.ts +4 -2
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +1 -1
- package/dist/sdk/endpoints/index.d.ts +19 -17
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +15 -13
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +13 -11
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +2 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -5
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +2 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +7 -6
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +19 -17
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPullContact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -31,6 +31,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
31
31
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
32
32
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
33
33
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
34
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
34
35
|
}, undefined>;
|
|
35
36
|
}, undefined>], undefined>, undefined>;
|
|
36
37
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBxB,CAAA"}
|
|
@@ -2,7 +2,7 @@ export declare const pull: {
|
|
|
2
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
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -52,7 +52,7 @@ export declare const pull: {
|
|
|
52
52
|
contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
53
53
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
54
54
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
55
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
55
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
56
56
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
57
57
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
58
58
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -82,7 +82,7 @@ export declare const pull: {
|
|
|
82
82
|
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
83
83
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
84
84
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
85
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
85
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
86
86
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
87
87
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
88
88
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -111,6 +111,7 @@ export declare const pull: {
|
|
|
111
111
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
112
112
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
113
113
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
114
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
114
115
|
}, undefined>;
|
|
115
116
|
}, undefined>], undefined>, undefined>;
|
|
116
117
|
}, undefined>;
|
|
@@ -123,7 +124,7 @@ export declare const pull: {
|
|
|
123
124
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
124
125
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
125
126
|
}, undefined>, undefined>;
|
|
126
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
127
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
127
128
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
128
129
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
129
130
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -186,7 +187,7 @@ export declare const pull: {
|
|
|
186
187
|
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
187
188
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
188
189
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
189
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
190
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
190
191
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
191
192
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
192
193
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
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"}
|
|
@@ -6,7 +6,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
6
6
|
readonly order: v.StringSchema<undefined>;
|
|
7
7
|
readonly version: v.NumberSchema<undefined>;
|
|
8
8
|
}, undefined>, undefined>;
|
|
9
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
9
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
10
10
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
11
11
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
12
12
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2,7 +2,7 @@ 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.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -43,7 +43,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
43
43
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
44
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
45
|
};
|
|
46
|
-
readonly '~standard': v.
|
|
46
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
47
47
|
color?: string | undefined;
|
|
48
48
|
firstName?: string | null | undefined;
|
|
49
49
|
lastName?: string | null | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
76
76
|
readonly id: v.NumberSchema<undefined>;
|
|
77
77
|
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
78
78
|
}, undefined>], undefined>, undefined>;
|
|
79
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
79
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
80
80
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
81
81
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
82
82
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -20,12 +20,13 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
20
20
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
21
21
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
22
22
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
23
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
23
24
|
}, undefined>;
|
|
24
25
|
readonly clientID: v.StringSchema<undefined>;
|
|
25
26
|
readonly id: v.NumberSchema<undefined>;
|
|
26
27
|
readonly name: v.LiteralSchema<"upsert", undefined>;
|
|
27
28
|
}, undefined>], undefined>, undefined>;
|
|
28
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
29
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
29
30
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
30
31
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
31
32
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBxB,CAAA"}
|
|
@@ -43,7 +43,7 @@ export declare const push: {
|
|
|
43
43
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
44
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
45
|
};
|
|
46
|
-
readonly '~standard': import("valibot").
|
|
46
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
47
47
|
color?: string | undefined;
|
|
48
48
|
firstName?: string | null | undefined;
|
|
49
49
|
lastName?: string | null | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const push: {
|
|
|
76
76
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
77
77
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
78
78
|
}, undefined>], undefined>, undefined>;
|
|
79
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
79
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
80
80
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
81
81
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
82
82
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -106,12 +106,13 @@ export declare const push: {
|
|
|
106
106
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
107
107
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
108
108
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
109
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
109
110
|
}, undefined>;
|
|
110
111
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
111
112
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
112
113
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
113
114
|
}, undefined>], undefined>, undefined>;
|
|
114
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
115
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
115
116
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
116
117
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
117
118
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -132,7 +133,7 @@ export declare const push: {
|
|
|
132
133
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
133
134
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
134
135
|
}, undefined>], undefined>, undefined>;
|
|
135
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
136
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
136
137
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
137
138
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
138
139
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -157,7 +158,7 @@ export declare const push: {
|
|
|
157
158
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
158
159
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
159
160
|
};
|
|
160
|
-
readonly '~standard': import("valibot").
|
|
161
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
161
162
|
firstName?: string | null | undefined;
|
|
162
163
|
lastName?: string | null | undefined;
|
|
163
164
|
}, {
|
|
@@ -185,7 +186,7 @@ export declare const push: {
|
|
|
185
186
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
186
187
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
187
188
|
}, undefined>], undefined>, undefined>;
|
|
188
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
189
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
189
190
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
190
191
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
191
192
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -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"}
|
|
@@ -11,7 +11,7 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
11
11
|
readonly id: v.NumberSchema<undefined>;
|
|
12
12
|
readonly name: v.LiteralSchema<"setMessageSeen", undefined>;
|
|
13
13
|
}, undefined>], undefined>, undefined>;
|
|
14
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
14
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
15
15
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
16
16
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
17
17
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -12,7 +12,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
12
12
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
13
13
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
14
14
|
};
|
|
15
|
-
readonly '~standard': v.
|
|
15
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
16
16
|
firstName?: string | null | undefined;
|
|
17
17
|
lastName?: string | null | undefined;
|
|
18
18
|
}, {
|
|
@@ -40,7 +40,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
40
40
|
readonly id: v.NumberSchema<undefined>;
|
|
41
41
|
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
42
42
|
}, undefined>], undefined>, undefined>;
|
|
43
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
43
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
44
44
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
45
45
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
46
46
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const user: {
|
|
2
|
-
deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
2
|
+
deleteUser: import("../../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
3
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const auth: {
|
|
2
2
|
refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
3
3
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
4
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
4
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
5
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -29,7 +29,7 @@ export declare const auth: {
|
|
|
29
29
|
}, undefined>], undefined>>;
|
|
30
30
|
sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
31
31
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
32
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
33
33
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
34
34
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
35
35
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -41,7 +41,7 @@ export declare const auth: {
|
|
|
41
41
|
verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
42
42
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
43
43
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
44
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
45
45
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
46
46
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
47
47
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", v.ObjectSchema<{
|
|
3
3
|
readonly refreshToken: v.StringSchema<undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
4
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
|
|
3
3
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
4
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", v.ObjectSchema<{
|
|
3
3
|
readonly code: v.StringSchema<undefined>;
|
|
4
4
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly status: v.LiteralSchema<"ok", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -2,7 +2,7 @@ export declare const publicGroup: {
|
|
|
2
2
|
auth: {
|
|
3
3
|
refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
4
4
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
5
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -30,7 +30,7 @@ export declare const publicGroup: {
|
|
|
30
30
|
}, undefined>], undefined>>;
|
|
31
31
|
sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
32
32
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
33
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
33
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
34
34
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
35
35
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
36
36
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -42,7 +42,7 @@ export declare const publicGroup: {
|
|
|
42
42
|
verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
43
43
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
44
44
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
45
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
46
46
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
47
47
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
48
48
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -78,7 +78,7 @@ export declare const publicGroup: {
|
|
|
78
78
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
79
79
|
}, undefined>], undefined>>;
|
|
80
80
|
};
|
|
81
|
-
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
81
|
+
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
82
82
|
readonly data: import("valibot").ObjectSchema<{
|
|
83
83
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
84
84
|
}, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const marcoSDK: {
|
|
|
2
2
|
endpoints: {
|
|
3
3
|
private: {
|
|
4
4
|
emailMessage: {
|
|
5
|
-
getHTML: import("..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
+
getHTML: import("..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -20,7 +20,7 @@ export declare const marcoSDK: {
|
|
|
20
20
|
account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
21
21
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
22
22
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
23
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
23
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
24
24
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
25
25
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
26
26
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -70,7 +70,7 @@ export declare const marcoSDK: {
|
|
|
70
70
|
contact: import("..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
71
71
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
72
72
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
73
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
73
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
74
74
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
75
75
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
76
76
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -100,7 +100,7 @@ export declare const marcoSDK: {
|
|
|
100
100
|
draft: import("..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
101
101
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
102
102
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
103
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
103
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
104
104
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
105
105
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
106
106
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -129,6 +129,7 @@ export declare const marcoSDK: {
|
|
|
129
129
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
130
130
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
131
131
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
132
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
132
133
|
}, undefined>;
|
|
133
134
|
}, undefined>], undefined>, undefined>;
|
|
134
135
|
}, undefined>;
|
|
@@ -141,7 +142,7 @@ export declare const marcoSDK: {
|
|
|
141
142
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
142
143
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
143
144
|
}, undefined>, undefined>;
|
|
144
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
145
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
145
146
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
146
147
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
147
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -204,7 +205,7 @@ export declare const marcoSDK: {
|
|
|
204
205
|
user: import("..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
205
206
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
206
207
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
207
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
208
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
208
209
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
209
210
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
210
211
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -279,7 +280,7 @@ export declare const marcoSDK: {
|
|
|
279
280
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
280
281
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
281
282
|
};
|
|
282
|
-
readonly '~standard': import("valibot").
|
|
283
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
283
284
|
color?: string | undefined;
|
|
284
285
|
firstName?: string | null | undefined;
|
|
285
286
|
lastName?: string | null | undefined;
|
|
@@ -312,7 +313,7 @@ export declare const marcoSDK: {
|
|
|
312
313
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
313
314
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
314
315
|
}, undefined>], undefined>, undefined>;
|
|
315
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
316
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
316
317
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
317
318
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
318
319
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -342,12 +343,13 @@ export declare const marcoSDK: {
|
|
|
342
343
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
343
344
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
344
345
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
346
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
345
347
|
}, undefined>;
|
|
346
348
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
347
349
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
348
350
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
349
351
|
}, undefined>], undefined>, undefined>;
|
|
350
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
352
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
351
353
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
352
354
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
353
355
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -368,7 +370,7 @@ export declare const marcoSDK: {
|
|
|
368
370
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
369
371
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
370
372
|
}, undefined>], undefined>, undefined>;
|
|
371
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
373
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
372
374
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
373
375
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
374
376
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -393,7 +395,7 @@ export declare const marcoSDK: {
|
|
|
393
395
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
394
396
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
395
397
|
};
|
|
396
|
-
readonly '~standard': import("valibot").
|
|
398
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
397
399
|
firstName?: string | null | undefined;
|
|
398
400
|
lastName?: string | null | undefined;
|
|
399
401
|
}, {
|
|
@@ -421,7 +423,7 @@ export declare const marcoSDK: {
|
|
|
421
423
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
422
424
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
423
425
|
}, undefined>], undefined>, undefined>;
|
|
424
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
426
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
425
427
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
426
428
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
427
429
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -433,7 +435,7 @@ export declare const marcoSDK: {
|
|
|
433
435
|
};
|
|
434
436
|
};
|
|
435
437
|
user: {
|
|
436
|
-
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
438
|
+
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
437
439
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
438
440
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
439
441
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -445,7 +447,7 @@ export declare const marcoSDK: {
|
|
|
445
447
|
auth: {
|
|
446
448
|
refreshAuth: import("..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
447
449
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
448
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
450
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
449
451
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
450
452
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
451
453
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -473,7 +475,7 @@ export declare const marcoSDK: {
|
|
|
473
475
|
}, undefined>], undefined>>;
|
|
474
476
|
sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
475
477
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
476
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
478
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
477
479
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
478
480
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
479
481
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -485,7 +487,7 @@ export declare const marcoSDK: {
|
|
|
485
487
|
verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
486
488
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
487
489
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
488
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
490
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
489
491
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
490
492
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
491
493
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -521,7 +523,7 @@ export declare const marcoSDK: {
|
|
|
521
523
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
522
524
|
}, undefined>], undefined>>;
|
|
523
525
|
};
|
|
524
|
-
healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
526
|
+
healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
525
527
|
readonly data: import("valibot").ObjectSchema<{
|
|
526
528
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
527
529
|
}, undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marcoappio/marco-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.168",
|
|
4
4
|
"author": "team@marcoapp.io",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "git@github.com:marcoappio/marco-config.git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"eslint-plugin-sort-destructure-keys": "1.4.0",
|
|
31
31
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
32
32
|
"eslint-plugin-typescript-sort-keys": "2.3.0",
|
|
33
|
-
"valibot": "1.0.0-beta.
|
|
33
|
+
"valibot": "1.0.0-beta.9"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@auto-it/npm": "11.2.0",
|