@marcoappio/marco-config 2.0.188 → 2.0.190
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.d.ts +2 -2
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +159 -33
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +6 -2
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.js +2 -2
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -2
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +111 -22
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +102 -19
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.js +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +3 -3
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.js +3 -3
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +55 -10
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +3 -3
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.js +3 -3
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +3 -3
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +3 -3
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +47 -9
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +14 -3
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +4 -4
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +11 -2
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +3 -3
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +3 -1
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/deleteUser.js +2 -2
- package/dist/sdk/endpoints/private/user/index.d.ts +3 -1
- package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +48 -11
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +14 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.js +4 -4
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +11 -2
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.js +3 -3
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +23 -6
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +7 -7
- package/dist/sdk/endpoints/public/index.d.ts +48 -11
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +220 -33
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +77 -31
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +19 -12
- package/dist/sdk/validation/index.d.ts +61 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/sdk/validation/index.js +2 -3
- package/dist/types/Endpoint.d.ts +4 -9
- package/dist/types/Endpoint.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +4 -0
- package/dist/types/SDKError.d.ts.map +1 -0
- package/dist/types/SDKError.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export declare const privateGroup: {
|
|
2
2
|
emailMessage: {
|
|
3
3
|
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<{
|
|
4
|
-
readonly
|
|
4
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
5
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
6
|
+
}, undefined>;
|
|
5
7
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
6
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
7
|
-
readonly
|
|
9
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
10
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
11
|
+
}, undefined>;
|
|
8
12
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
9
13
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
10
14
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -19,10 +23,19 @@ export declare const privateGroup: {
|
|
|
19
23
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
20
24
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
21
25
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
22
|
-
readonly
|
|
26
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
27
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
28
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
29
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
30
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
31
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
}, undefined>;
|
|
23
34
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
24
35
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
25
|
-
readonly
|
|
36
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
37
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
38
|
+
}, undefined>;
|
|
26
39
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
27
40
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
28
41
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -72,10 +85,19 @@ export declare const privateGroup: {
|
|
|
72
85
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
73
86
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
74
87
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
75
|
-
readonly
|
|
88
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
89
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
90
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
91
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
92
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
93
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
94
|
+
}, undefined>;
|
|
95
|
+
}, undefined>;
|
|
76
96
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
77
97
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
78
|
-
readonly
|
|
98
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
99
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
100
|
+
}, undefined>;
|
|
79
101
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
80
102
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
81
103
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -101,10 +123,19 @@ export declare const privateGroup: {
|
|
|
101
123
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
102
124
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
103
125
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
104
|
-
readonly
|
|
126
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
127
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
128
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
129
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
130
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
131
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
132
|
+
}, undefined>;
|
|
133
|
+
}, undefined>;
|
|
105
134
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
106
135
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
107
|
-
readonly
|
|
136
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
137
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
138
|
+
}, undefined>;
|
|
108
139
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
109
140
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
110
141
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -143,10 +174,19 @@ export declare const privateGroup: {
|
|
|
143
174
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
144
175
|
}, undefined>, undefined>;
|
|
145
176
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
146
|
-
readonly
|
|
177
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
178
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
179
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
180
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
181
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
182
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
183
|
+
}, undefined>;
|
|
184
|
+
}, undefined>;
|
|
147
185
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
148
186
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
149
|
-
readonly
|
|
187
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
188
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
189
|
+
}, undefined>;
|
|
150
190
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
151
191
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
152
192
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -206,10 +246,19 @@ export declare const privateGroup: {
|
|
|
206
246
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
207
247
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
208
248
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
209
|
-
readonly
|
|
249
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
250
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
251
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
252
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
253
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
254
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
255
|
+
}, undefined>;
|
|
256
|
+
}, undefined>;
|
|
210
257
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
211
258
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
212
|
-
readonly
|
|
259
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
260
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
261
|
+
}, undefined>;
|
|
213
262
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
214
263
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
215
264
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -317,10 +366,19 @@ export declare const privateGroup: {
|
|
|
317
366
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
318
367
|
}, undefined>], undefined>, undefined>;
|
|
319
368
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
320
|
-
readonly
|
|
369
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
370
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
371
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
372
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
373
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
374
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
375
|
+
}, undefined>;
|
|
376
|
+
}, undefined>;
|
|
321
377
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
322
378
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
323
|
-
readonly
|
|
379
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
380
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
381
|
+
}, undefined>;
|
|
324
382
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
325
383
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
326
384
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -435,10 +493,19 @@ export declare const privateGroup: {
|
|
|
435
493
|
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
436
494
|
}, undefined>)[], undefined>, undefined>;
|
|
437
495
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
438
|
-
readonly
|
|
496
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
497
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
498
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
499
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
500
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
501
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
502
|
+
}, undefined>;
|
|
503
|
+
}, undefined>;
|
|
439
504
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
440
505
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
441
|
-
readonly
|
|
506
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
507
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
508
|
+
}, undefined>;
|
|
442
509
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
443
510
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
444
511
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -456,13 +523,24 @@ export declare const privateGroup: {
|
|
|
456
523
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
457
524
|
}, undefined>], undefined>, undefined>;
|
|
458
525
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
459
|
-
readonly
|
|
526
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
527
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
528
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
529
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
530
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
531
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
532
|
+
}, undefined>;
|
|
533
|
+
}, undefined>;
|
|
460
534
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
461
535
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
462
|
-
readonly
|
|
536
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
537
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
538
|
+
}, undefined>;
|
|
463
539
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
464
540
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
465
|
-
readonly
|
|
541
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
542
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
543
|
+
}, undefined>;
|
|
466
544
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
467
545
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
468
546
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -509,10 +587,19 @@ export declare const privateGroup: {
|
|
|
509
587
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
510
588
|
}, undefined>], undefined>, undefined>;
|
|
511
589
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
512
|
-
readonly
|
|
590
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
591
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
592
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
593
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
594
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
595
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
596
|
+
}, undefined>;
|
|
597
|
+
}, undefined>;
|
|
513
598
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
514
599
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
515
|
-
readonly
|
|
600
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
601
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
602
|
+
}, undefined>;
|
|
516
603
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
517
604
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
518
605
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -521,7 +608,9 @@ export declare const privateGroup: {
|
|
|
521
608
|
};
|
|
522
609
|
user: {
|
|
523
610
|
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<{
|
|
524
|
-
readonly
|
|
611
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
612
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
613
|
+
}, undefined>;
|
|
525
614
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
526
615
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
527
616
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -4,10 +4,19 @@ export declare const sync: {
|
|
|
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<{
|
|
7
|
-
readonly
|
|
7
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
8
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
9
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
10
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
11
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
12
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
}, undefined>;
|
|
8
15
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
9
16
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
10
|
-
readonly
|
|
17
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
18
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
19
|
+
}, undefined>;
|
|
11
20
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
12
21
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
13
22
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -57,10 +66,19 @@ export declare const sync: {
|
|
|
57
66
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
58
67
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
59
68
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
60
|
-
readonly
|
|
69
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
70
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
71
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
72
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
73
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
74
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
75
|
+
}, undefined>;
|
|
76
|
+
}, undefined>;
|
|
61
77
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
62
78
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
63
|
-
readonly
|
|
79
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
80
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
81
|
+
}, undefined>;
|
|
64
82
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
65
83
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
66
84
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -86,10 +104,19 @@ export declare const sync: {
|
|
|
86
104
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
87
105
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
88
106
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
89
|
-
readonly
|
|
107
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
108
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
109
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
110
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
111
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
112
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
}, undefined>;
|
|
90
115
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
91
116
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
92
|
-
readonly
|
|
117
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
118
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
119
|
+
}, undefined>;
|
|
93
120
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
94
121
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
95
122
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -128,10 +155,19 @@ export declare const sync: {
|
|
|
128
155
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
129
156
|
}, undefined>, undefined>;
|
|
130
157
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
131
|
-
readonly
|
|
158
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
159
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
160
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
161
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
162
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
163
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
164
|
+
}, undefined>;
|
|
165
|
+
}, undefined>;
|
|
132
166
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
133
167
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
134
|
-
readonly
|
|
168
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
169
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
170
|
+
}, undefined>;
|
|
135
171
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
136
172
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
137
173
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -191,10 +227,19 @@ export declare const sync: {
|
|
|
191
227
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
192
228
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
193
229
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
194
|
-
readonly
|
|
230
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
231
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
232
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
233
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
234
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
235
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
236
|
+
}, undefined>;
|
|
237
|
+
}, undefined>;
|
|
195
238
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
196
239
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
197
|
-
readonly
|
|
240
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
241
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
242
|
+
}, undefined>;
|
|
198
243
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
199
244
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
200
245
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -302,10 +347,19 @@ export declare const sync: {
|
|
|
302
347
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
303
348
|
}, undefined>], undefined>, undefined>;
|
|
304
349
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
305
|
-
readonly
|
|
350
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
351
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
352
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
353
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
354
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
355
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
356
|
+
}, undefined>;
|
|
357
|
+
}, undefined>;
|
|
306
358
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
307
359
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
308
|
-
readonly
|
|
360
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
361
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
362
|
+
}, undefined>;
|
|
309
363
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
310
364
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
311
365
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -420,10 +474,19 @@ export declare const sync: {
|
|
|
420
474
|
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
421
475
|
}, undefined>)[], undefined>, undefined>;
|
|
422
476
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
423
|
-
readonly
|
|
477
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
478
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
479
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
480
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
481
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
482
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
483
|
+
}, undefined>;
|
|
484
|
+
}, undefined>;
|
|
424
485
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
425
486
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
426
|
-
readonly
|
|
487
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
488
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
489
|
+
}, undefined>;
|
|
427
490
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
428
491
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
429
492
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -441,13 +504,24 @@ export declare const sync: {
|
|
|
441
504
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
442
505
|
}, undefined>], undefined>, undefined>;
|
|
443
506
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
444
|
-
readonly
|
|
507
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
508
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
509
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
510
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
511
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
512
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
513
|
+
}, undefined>;
|
|
514
|
+
}, undefined>;
|
|
445
515
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
446
516
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
447
|
-
readonly
|
|
517
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
518
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
519
|
+
}, undefined>;
|
|
448
520
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
449
521
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
450
|
-
readonly
|
|
522
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
523
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
524
|
+
}, undefined>;
|
|
451
525
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
452
526
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
453
527
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -494,10 +568,19 @@ export declare const sync: {
|
|
|
494
568
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
495
569
|
}, undefined>], undefined>, undefined>;
|
|
496
570
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
497
|
-
readonly
|
|
571
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
572
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
573
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
574
|
+
readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
575
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
576
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
577
|
+
}, undefined>;
|
|
578
|
+
}, undefined>;
|
|
498
579
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
499
580
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
500
|
-
readonly
|
|
581
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
582
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
583
|
+
}, undefined>;
|
|
501
584
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
502
585
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
503
586
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -3,10 +3,19 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
-
readonly
|
|
6
|
+
readonly data: v.ObjectSchema<{
|
|
7
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
8
|
+
readonly issues: v.ObjectSchema<{
|
|
9
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
10
|
+
readonly other: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
11
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
}, undefined>;
|
|
7
14
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
15
|
}, undefined>, v.ObjectSchema<{
|
|
9
|
-
readonly
|
|
16
|
+
readonly data: v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
18
|
+
}, undefined>;
|
|
10
19
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
20
|
}, undefined>, v.ObjectSchema<{
|
|
12
21
|
readonly data: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { account } from '../../../../../clients/account';
|
|
3
3
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import {
|
|
4
|
+
import { errors } from '../../../../../sdk/validation/errors';
|
|
5
5
|
export const syncPullAccount = createEndpoint({
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
@@ -10,8 +10,8 @@ export const syncPullAccount = createEndpoint({
|
|
|
10
10
|
method: 'POST',
|
|
11
11
|
path: account.pullURL,
|
|
12
12
|
response: v.union([
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
errors.validationFailedErrorSchema,
|
|
14
|
+
errors.authFailedErrorSchema,
|
|
15
15
|
v.object({
|
|
16
16
|
data: v.object({
|
|
17
17
|
cookie: v.number(),
|
|
@@ -3,10 +3,19 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
-
readonly
|
|
6
|
+
readonly data: v.ObjectSchema<{
|
|
7
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
8
|
+
readonly issues: v.ObjectSchema<{
|
|
9
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
10
|
+
readonly other: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
11
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
}, undefined>;
|
|
7
14
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
15
|
}, undefined>, v.ObjectSchema<{
|
|
9
|
-
readonly
|
|
16
|
+
readonly data: v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
18
|
+
}, undefined>;
|
|
10
19
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
20
|
}, undefined>, v.ObjectSchema<{
|
|
12
21
|
readonly data: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
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;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { contact } from '../../../../../clients/contact';
|
|
3
3
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import {
|
|
4
|
+
import { errors } from '../../../../../sdk/validation/errors';
|
|
5
5
|
export const syncPullContact = createEndpoint({
|
|
6
6
|
body: v.object({
|
|
7
7
|
clientGroupID: v.string(),
|
|
@@ -10,8 +10,8 @@ export const syncPullContact = createEndpoint({
|
|
|
10
10
|
method: 'POST',
|
|
11
11
|
path: contact.pullURL,
|
|
12
12
|
response: v.union([
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
errors.validationFailedErrorSchema,
|
|
14
|
+
errors.authFailedErrorSchema,
|
|
15
15
|
v.object({
|
|
16
16
|
data: v.object({
|
|
17
17
|
cookie: v.number(),
|
|
@@ -3,10 +3,19 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
-
readonly
|
|
6
|
+
readonly data: v.ObjectSchema<{
|
|
7
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
8
|
+
readonly issues: v.ObjectSchema<{
|
|
9
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
10
|
+
readonly other: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
11
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
}, undefined>;
|
|
7
14
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
15
|
}, undefined>, v.ObjectSchema<{
|
|
9
|
-
readonly
|
|
16
|
+
readonly data: v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
18
|
+
}, undefined>;
|
|
10
19
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
20
|
}, undefined>, v.ObjectSchema<{
|
|
12
21
|
readonly data: v.ObjectSchema<{
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBxB,CAAA"}
|