@marcoappio/marco-config 2.0.535 → 2.0.537
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/index.js +1 -1
- package/dist/marcoPublicConfig.d.ts +5 -0
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +15 -0
- package/dist/schemas/boolean.d.ts +5 -0
- package/dist/schemas/boolean.d.ts.map +1 -0
- package/dist/schemas/boolean.js +4 -0
- package/dist/schemas/index.d.ts +257 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +23 -0
- package/dist/schemas/models/account.d.ts +54 -0
- package/dist/schemas/models/account.d.ts.map +1 -0
- package/dist/schemas/models/account.js +33 -0
- package/dist/schemas/models/contact.d.ts +9 -0
- package/dist/schemas/models/contact.d.ts.map +1 -0
- package/dist/schemas/models/contact.js +8 -0
- package/dist/schemas/models/draft.d.ts +48 -0
- package/dist/schemas/models/draft.d.ts.map +1 -0
- package/dist/schemas/models/draft.js +35 -0
- package/dist/schemas/models/index.d.ts +6 -0
- package/dist/schemas/models/index.d.ts.map +1 -0
- package/dist/schemas/models/index.js +5 -0
- package/dist/schemas/models/thread.d.ts +122 -0
- package/dist/schemas/models/thread.d.ts.map +1 -0
- package/dist/schemas/models/thread.js +55 -0
- package/dist/schemas/models/user.d.ts +35 -0
- package/dist/schemas/models/user.d.ts.map +1 -0
- package/dist/schemas/models/user.js +24 -0
- package/dist/schemas/number.d.ts +2 -0
- package/dist/schemas/number.d.ts.map +1 -1
- package/dist/schemas/number.js +2 -0
- package/dist/schemas/paginatedResponse.d.ts +10 -0
- package/dist/schemas/paginatedResponse.d.ts.map +1 -0
- package/dist/schemas/paginatedResponse.js +5 -0
- package/dist/schemas/websocket.d.ts +12 -0
- package/dist/schemas/websocket.d.ts.map +1 -0
- package/dist/schemas/websocket.js +9 -0
- package/dist/sdk/endpoints/index.d.ts +14 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +14 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +4 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +68 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +26 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/index.js +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +41 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +26 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/index.js +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +25 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/index.js +1 -0
- package/dist/sdk/endpoints/private/models/index.d.ts +15 -0
- package/dist/sdk/endpoints/private/models/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/index.js +14 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.d.ts +44 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.js +27 -0
- package/dist/sdk/endpoints/private/models/label/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/label/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/label/index.js +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +55 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +30 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +75 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.js +25 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts +5 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/index.js +4 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +33 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/getUser.js +16 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/index.js +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +49 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +39 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +60 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +85 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +47 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +20 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts +11 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/index.js +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +38 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +23 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +17 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts +7 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/index.js +6 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +37 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.js +19 -0
- package/dist/sdk/index.d.ts +50 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +72 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +30 -0
- package/dist/sdk/validation/index.d.ts +36 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/PokeEvent.d.ts +6 -0
- package/dist/types/PokeEvent.d.ts.map +1 -0
- package/dist/types/PokeEvent.js +1 -0
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- 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/dist/zero/index.d.ts +935 -925
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +1 -0
- package/dist/zero/mutatorSchemas.d.ts +1 -1
- package/dist/zero/mutators.d.ts +281 -281
- package/dist/zero/queries.d.ts +290 -282
- package/dist/zero/queries.d.ts.map +1 -1
- package/dist/zero/queries.js +14 -8
- package/dist/zero/schema.d.ts +281 -281
- package/dist/zero/schema.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
+
import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
4
|
+
import { mutatorSchemas } from '../../../../../zero';
|
|
5
|
+
export const setPushToken = createEndpoint({
|
|
6
|
+
body: mutatorSchemas.user.setSettingsPushNotificationToken,
|
|
7
|
+
method: 'POST',
|
|
8
|
+
path: '/v1/pv/models/user/push-token',
|
|
9
|
+
response: v.union([
|
|
10
|
+
authFailedErrorSchema,
|
|
11
|
+
userNotFoundErrorSchema,
|
|
12
|
+
mutationRejectedErrorSchema,
|
|
13
|
+
validationFailedErrorSchema,
|
|
14
|
+
v.object({
|
|
15
|
+
status: v.literal(201),
|
|
16
|
+
}),
|
|
17
|
+
]),
|
|
18
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const setSettingsName: import("../../../../..").EndpointConfig<"/v1/pv/models/user/name", v.ObjectSchema<{
|
|
3
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
+
readonly data: v.ObjectSchema<{
|
|
7
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
10
|
+
}, undefined>, v.ObjectSchema<{
|
|
11
|
+
readonly data: v.ObjectSchema<{
|
|
12
|
+
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
15
|
+
}, undefined>, v.ObjectSchema<{
|
|
16
|
+
readonly data: v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
20
|
+
}, undefined>, v.ObjectSchema<{
|
|
21
|
+
readonly data: v.ObjectSchema<{
|
|
22
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
23
|
+
readonly issues: v.ObjectSchema<{
|
|
24
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
25
|
+
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
26
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
readonly status: v.LiteralSchema<400, undefined>;
|
|
30
|
+
}, undefined>, v.ObjectSchema<{
|
|
31
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
32
|
+
}, undefined>], undefined>>;
|
|
33
|
+
//# sourceMappingURL=setSettingsName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setSettingsName.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/user/setSettingsName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAa1B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
+
import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
4
|
+
import { mutatorSchemas } from '../../../../../zero';
|
|
5
|
+
export const setSettingsName = createEndpoint({
|
|
6
|
+
body: mutatorSchemas.user.setSettingsName,
|
|
7
|
+
method: 'PATCH',
|
|
8
|
+
path: '/v1/pv/models/user/name',
|
|
9
|
+
response: v.union([
|
|
10
|
+
authFailedErrorSchema,
|
|
11
|
+
userNotFoundErrorSchema,
|
|
12
|
+
mutationRejectedErrorSchema,
|
|
13
|
+
validationFailedErrorSchema,
|
|
14
|
+
v.object({
|
|
15
|
+
status: v.literal(200),
|
|
16
|
+
}),
|
|
17
|
+
]),
|
|
18
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/view", v.ObjectSchema<{
|
|
3
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
+
readonly view: v.ObjectSchema<{
|
|
5
|
+
readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 2, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
6
|
+
readonly icon: v.PicklistSchema<readonly [import("../../../../..").CustomViewIcon.AIRPLANE, import("../../../../..").CustomViewIcon.BELL, import("../../../../..").CustomViewIcon.BRIEFCASE, import("../../../../..").CustomViewIcon.CLOCK, import("../../../../..").CustomViewIcon.CREDIT_CARD, import("../../../../..").CustomViewIcon.HEART, import("../../../../..").CustomViewIcon.HOME, import("../../../../..").CustomViewIcon.KEY, import("../../../../..").CustomViewIcon.MOON, import("../../../../..").CustomViewIcon.PERSON, import("../../../../..").CustomViewIcon.SHOPPING_CART, import("../../../../..").CustomViewIcon.STAR], undefined>;
|
|
7
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
+
readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
+
}, undefined>;
|
|
10
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
11
|
+
readonly data: v.ObjectSchema<{
|
|
12
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
15
|
+
}, undefined>, v.ObjectSchema<{
|
|
16
|
+
readonly data: v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
20
|
+
}, undefined>, v.ObjectSchema<{
|
|
21
|
+
readonly data: v.ObjectSchema<{
|
|
22
|
+
readonly code: v.LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
25
|
+
}, undefined>, v.ObjectSchema<{
|
|
26
|
+
readonly data: v.ObjectSchema<{
|
|
27
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
30
|
+
}, undefined>, v.ObjectSchema<{
|
|
31
|
+
readonly data: v.ObjectSchema<{
|
|
32
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
33
|
+
readonly issues: v.ObjectSchema<{
|
|
34
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
35
|
+
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
36
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
readonly status: v.LiteralSchema<400, undefined>;
|
|
40
|
+
}, undefined>, v.ObjectSchema<{
|
|
41
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
42
|
+
}, undefined>], undefined>>;
|
|
43
|
+
//# sourceMappingURL=updateView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateView.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/user/updateView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
+
import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, viewNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
4
|
+
import { mutatorSchemas } from '../../../../../zero';
|
|
5
|
+
export const updateView = createEndpoint({
|
|
6
|
+
body: mutatorSchemas.user.updateView,
|
|
7
|
+
method: 'PATCH',
|
|
8
|
+
path: '/v1/pv/models/user/view',
|
|
9
|
+
response: v.union([
|
|
10
|
+
authFailedErrorSchema,
|
|
11
|
+
userNotFoundErrorSchema,
|
|
12
|
+
viewNotFoundErrorSchema,
|
|
13
|
+
mutationRejectedErrorSchema,
|
|
14
|
+
validationFailedErrorSchema,
|
|
15
|
+
v.object({
|
|
16
|
+
status: v.literal(200),
|
|
17
|
+
}),
|
|
18
|
+
]),
|
|
19
|
+
});
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -52,6 +52,20 @@ export declare const marcoSDK: {
|
|
|
52
52
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
53
53
|
}, undefined>], undefined>>;
|
|
54
54
|
};
|
|
55
|
+
models: {
|
|
56
|
+
account: typeof import("./endpoints/private/models/account");
|
|
57
|
+
contact: typeof import("./endpoints/private/models/contact");
|
|
58
|
+
draft: typeof import("./endpoints/private/models/draft");
|
|
59
|
+
label: typeof import("./endpoints/private/models/label");
|
|
60
|
+
thread: typeof import("./endpoints/private/models/thread");
|
|
61
|
+
user: typeof import("./endpoints/private/models/user");
|
|
62
|
+
};
|
|
63
|
+
mutations: {
|
|
64
|
+
account: typeof import("./endpoints/private/mutations/account");
|
|
65
|
+
draft: typeof import("./endpoints/private/mutations/draft");
|
|
66
|
+
thread: typeof import("./endpoints/private/mutations/thread");
|
|
67
|
+
user: typeof import("./endpoints/private/mutations/user");
|
|
68
|
+
};
|
|
55
69
|
user: {
|
|
56
70
|
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
57
71
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -246,6 +260,12 @@ export declare const marcoSDK: {
|
|
|
246
260
|
}, undefined>;
|
|
247
261
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
248
262
|
}, undefined>;
|
|
263
|
+
readonly aliasNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
264
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
265
|
+
readonly code: import("valibot").LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
|
|
266
|
+
}, undefined>;
|
|
267
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
268
|
+
}, undefined>;
|
|
249
269
|
readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
250
270
|
readonly data: import("valibot").ObjectSchema<{
|
|
251
271
|
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
@@ -300,6 +320,18 @@ export declare const marcoSDK: {
|
|
|
300
320
|
}, undefined>;
|
|
301
321
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
302
322
|
}, undefined>;
|
|
323
|
+
readonly contactNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
324
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
325
|
+
readonly code: import("valibot").LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
|
|
326
|
+
}, undefined>;
|
|
327
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
328
|
+
}, undefined>;
|
|
329
|
+
readonly draftNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
330
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
331
|
+
readonly code: import("valibot").LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
|
|
332
|
+
}, undefined>;
|
|
333
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
334
|
+
}, undefined>;
|
|
303
335
|
readonly fileTooLargeErrorSchema: import("valibot").ObjectSchema<{
|
|
304
336
|
readonly data: import("valibot").ObjectSchema<{
|
|
305
337
|
readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
|
|
@@ -324,6 +356,12 @@ export declare const marcoSDK: {
|
|
|
324
356
|
}, undefined>;
|
|
325
357
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
326
358
|
}, undefined>;
|
|
359
|
+
readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
360
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
361
|
+
readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
364
|
+
}, undefined>;
|
|
327
365
|
readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
328
366
|
readonly data: import("valibot").ObjectSchema<{
|
|
329
367
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
@@ -336,6 +374,12 @@ export declare const marcoSDK: {
|
|
|
336
374
|
}, undefined>;
|
|
337
375
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
338
376
|
}, undefined>;
|
|
377
|
+
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
378
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
379
|
+
readonly code: import("valibot").LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
380
|
+
}, undefined>;
|
|
381
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
382
|
+
}, undefined>;
|
|
339
383
|
readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
|
|
340
384
|
readonly data: import("valibot").ObjectSchema<{
|
|
341
385
|
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
@@ -359,6 +403,12 @@ export declare const marcoSDK: {
|
|
|
359
403
|
}, undefined>;
|
|
360
404
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
361
405
|
}, undefined>;
|
|
406
|
+
readonly viewNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
407
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
408
|
+
readonly code: import("valibot").LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
409
|
+
}, undefined>;
|
|
410
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
411
|
+
}, undefined>;
|
|
362
412
|
};
|
|
363
413
|
utils: {
|
|
364
414
|
flattenRequirements: <T extends Record<string, any>>(schema: import("valibot").ObjectSchema<T, any>) => { [K in keyof T]: {
|
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"}
|
|
@@ -89,6 +89,42 @@ export declare const mutationRejectedErrorSchema: v.ObjectSchema<{
|
|
|
89
89
|
}, undefined>;
|
|
90
90
|
readonly status: v.LiteralSchema<409, undefined>;
|
|
91
91
|
}, undefined>;
|
|
92
|
+
export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
93
|
+
readonly data: v.ObjectSchema<{
|
|
94
|
+
readonly code: v.LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
95
|
+
}, undefined>;
|
|
96
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
97
|
+
}, undefined>;
|
|
98
|
+
export declare const draftNotFoundErrorSchema: v.ObjectSchema<{
|
|
99
|
+
readonly data: v.ObjectSchema<{
|
|
100
|
+
readonly code: v.LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
export declare const contactNotFoundErrorSchema: v.ObjectSchema<{
|
|
105
|
+
readonly data: v.ObjectSchema<{
|
|
106
|
+
readonly code: v.LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
109
|
+
}, undefined>;
|
|
110
|
+
export declare const labelNotFoundErrorSchema: v.ObjectSchema<{
|
|
111
|
+
readonly data: v.ObjectSchema<{
|
|
112
|
+
readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
115
|
+
}, undefined>;
|
|
116
|
+
export declare const aliasNotFoundErrorSchema: v.ObjectSchema<{
|
|
117
|
+
readonly data: v.ObjectSchema<{
|
|
118
|
+
readonly code: v.LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
121
|
+
}, undefined>;
|
|
122
|
+
export declare const viewNotFoundErrorSchema: v.ObjectSchema<{
|
|
123
|
+
readonly data: v.ObjectSchema<{
|
|
124
|
+
readonly code: v.LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
125
|
+
}, undefined>;
|
|
126
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
127
|
+
}, undefined>;
|
|
92
128
|
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
93
129
|
readonly data: v.ObjectSchema<{
|
|
94
130
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -125,6 +161,12 @@ export declare const errors: {
|
|
|
125
161
|
}, undefined>;
|
|
126
162
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
127
163
|
}, undefined>;
|
|
164
|
+
readonly aliasNotFoundErrorSchema: v.ObjectSchema<{
|
|
165
|
+
readonly data: v.ObjectSchema<{
|
|
166
|
+
readonly code: v.LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
|
|
167
|
+
}, undefined>;
|
|
168
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
169
|
+
}, undefined>;
|
|
128
170
|
readonly attachmentNotFoundErrorSchema: v.ObjectSchema<{
|
|
129
171
|
readonly data: v.ObjectSchema<{
|
|
130
172
|
readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
@@ -179,6 +221,18 @@ export declare const errors: {
|
|
|
179
221
|
}, undefined>;
|
|
180
222
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
181
223
|
}, undefined>;
|
|
224
|
+
readonly contactNotFoundErrorSchema: v.ObjectSchema<{
|
|
225
|
+
readonly data: v.ObjectSchema<{
|
|
226
|
+
readonly code: v.LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
|
|
227
|
+
}, undefined>;
|
|
228
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
229
|
+
}, undefined>;
|
|
230
|
+
readonly draftNotFoundErrorSchema: v.ObjectSchema<{
|
|
231
|
+
readonly data: v.ObjectSchema<{
|
|
232
|
+
readonly code: v.LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
|
|
233
|
+
}, undefined>;
|
|
234
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
235
|
+
}, undefined>;
|
|
182
236
|
readonly fileTooLargeErrorSchema: v.ObjectSchema<{
|
|
183
237
|
readonly data: v.ObjectSchema<{
|
|
184
238
|
readonly code: v.LiteralSchema<"FILE_TOO_LARGE", undefined>;
|
|
@@ -203,6 +257,12 @@ export declare const errors: {
|
|
|
203
257
|
}, undefined>;
|
|
204
258
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
205
259
|
}, undefined>;
|
|
260
|
+
readonly labelNotFoundErrorSchema: v.ObjectSchema<{
|
|
261
|
+
readonly data: v.ObjectSchema<{
|
|
262
|
+
readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
263
|
+
}, undefined>;
|
|
264
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
265
|
+
}, undefined>;
|
|
206
266
|
readonly messageNotFoundErrorSchema: v.ObjectSchema<{
|
|
207
267
|
readonly data: v.ObjectSchema<{
|
|
208
268
|
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
@@ -215,6 +275,12 @@ export declare const errors: {
|
|
|
215
275
|
}, undefined>;
|
|
216
276
|
readonly status: v.LiteralSchema<409, undefined>;
|
|
217
277
|
}, undefined>;
|
|
278
|
+
readonly threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
279
|
+
readonly data: v.ObjectSchema<{
|
|
280
|
+
readonly code: v.LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
281
|
+
}, undefined>;
|
|
282
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
283
|
+
}, undefined>;
|
|
218
284
|
readonly userMarkedForDeletionErrorSchema: v.ObjectSchema<{
|
|
219
285
|
readonly data: v.ObjectSchema<{
|
|
220
286
|
readonly code: v.LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
@@ -238,5 +304,11 @@ export declare const errors: {
|
|
|
238
304
|
}, undefined>;
|
|
239
305
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
240
306
|
}, undefined>;
|
|
307
|
+
readonly viewNotFoundErrorSchema: v.ObjectSchema<{
|
|
308
|
+
readonly data: v.ObjectSchema<{
|
|
309
|
+
readonly code: v.LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
310
|
+
}, undefined>;
|
|
311
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
312
|
+
}, undefined>;
|
|
241
313
|
};
|
|
242
314
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BT,CAAA"}
|
|
@@ -59,6 +59,30 @@ export const mutationRejectedErrorSchema = v.object({
|
|
|
59
59
|
data: v.object({ code: v.literal('MUTATION_REJECTED') }),
|
|
60
60
|
status: v.literal(409),
|
|
61
61
|
});
|
|
62
|
+
export const threadNotFoundErrorSchema = v.object({
|
|
63
|
+
data: v.object({ code: v.literal('THREAD_NOT_FOUND') }),
|
|
64
|
+
status: v.literal(404),
|
|
65
|
+
});
|
|
66
|
+
export const draftNotFoundErrorSchema = v.object({
|
|
67
|
+
data: v.object({ code: v.literal('DRAFT_NOT_FOUND') }),
|
|
68
|
+
status: v.literal(404),
|
|
69
|
+
});
|
|
70
|
+
export const contactNotFoundErrorSchema = v.object({
|
|
71
|
+
data: v.object({ code: v.literal('CONTACT_NOT_FOUND') }),
|
|
72
|
+
status: v.literal(404),
|
|
73
|
+
});
|
|
74
|
+
export const labelNotFoundErrorSchema = v.object({
|
|
75
|
+
data: v.object({ code: v.literal('LABEL_NOT_FOUND') }),
|
|
76
|
+
status: v.literal(404),
|
|
77
|
+
});
|
|
78
|
+
export const aliasNotFoundErrorSchema = v.object({
|
|
79
|
+
data: v.object({ code: v.literal('ALIAS_NOT_FOUND') }),
|
|
80
|
+
status: v.literal(404),
|
|
81
|
+
});
|
|
82
|
+
export const viewNotFoundErrorSchema = v.object({
|
|
83
|
+
data: v.object({ code: v.literal('VIEW_NOT_FOUND') }),
|
|
84
|
+
status: v.literal(404),
|
|
85
|
+
});
|
|
62
86
|
export const validationFailedErrorSchema = v.object({
|
|
63
87
|
data: v.object({
|
|
64
88
|
code: v.literal('VALIDATION_FAILED'),
|
|
@@ -84,6 +108,7 @@ export const invalidImageDimensionsErrorSchema = v.object({
|
|
|
84
108
|
});
|
|
85
109
|
export const errors = {
|
|
86
110
|
accountNotFoundErrorSchema,
|
|
111
|
+
aliasNotFoundErrorSchema,
|
|
87
112
|
attachmentNotFoundErrorSchema,
|
|
88
113
|
attachmentStateInvalidErrorSchema,
|
|
89
114
|
authCodeExpiredErrorSchema,
|
|
@@ -93,13 +118,18 @@ export const errors = {
|
|
|
93
118
|
authRefreshTokenInvalid,
|
|
94
119
|
authServerResponseUnexpectedErrorSchema,
|
|
95
120
|
authTooManyAttemptsErrorSchema,
|
|
121
|
+
contactNotFoundErrorSchema,
|
|
122
|
+
draftNotFoundErrorSchema,
|
|
96
123
|
fileTooLargeErrorSchema,
|
|
97
124
|
invalidFileTypeErrorSchema,
|
|
98
125
|
invalidImageDimensionsErrorSchema,
|
|
99
126
|
inviteNotFoundErrorSchema,
|
|
127
|
+
labelNotFoundErrorSchema,
|
|
100
128
|
messageNotFoundErrorSchema,
|
|
101
129
|
mutationRejectedErrorSchema,
|
|
130
|
+
threadNotFoundErrorSchema,
|
|
102
131
|
userMarkedForDeletionErrorSchema,
|
|
103
132
|
userNotFoundErrorSchema,
|
|
104
133
|
validationFailedErrorSchema,
|
|
134
|
+
viewNotFoundErrorSchema,
|
|
105
135
|
};
|
|
@@ -6,6 +6,12 @@ export declare const validation: {
|
|
|
6
6
|
}, undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
|
+
readonly aliasNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
10
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
11
|
+
readonly code: import("valibot").LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
14
|
+
}, undefined>;
|
|
9
15
|
readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
10
16
|
readonly data: import("valibot").ObjectSchema<{
|
|
11
17
|
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
@@ -60,6 +66,18 @@ export declare const validation: {
|
|
|
60
66
|
}, undefined>;
|
|
61
67
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
62
68
|
}, undefined>;
|
|
69
|
+
readonly contactNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
70
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
71
|
+
readonly code: import("valibot").LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
|
|
72
|
+
}, undefined>;
|
|
73
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
74
|
+
}, undefined>;
|
|
75
|
+
readonly draftNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
76
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
77
|
+
readonly code: import("valibot").LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
|
|
78
|
+
}, undefined>;
|
|
79
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
80
|
+
}, undefined>;
|
|
63
81
|
readonly fileTooLargeErrorSchema: import("valibot").ObjectSchema<{
|
|
64
82
|
readonly data: import("valibot").ObjectSchema<{
|
|
65
83
|
readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
|
|
@@ -84,6 +102,12 @@ export declare const validation: {
|
|
|
84
102
|
}, undefined>;
|
|
85
103
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
86
104
|
}, undefined>;
|
|
105
|
+
readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
106
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
107
|
+
readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
108
|
+
}, undefined>;
|
|
109
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
110
|
+
}, undefined>;
|
|
87
111
|
readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
88
112
|
readonly data: import("valibot").ObjectSchema<{
|
|
89
113
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
@@ -96,6 +120,12 @@ export declare const validation: {
|
|
|
96
120
|
}, undefined>;
|
|
97
121
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
98
122
|
}, undefined>;
|
|
123
|
+
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
124
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
125
|
+
readonly code: import("valibot").LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
126
|
+
}, undefined>;
|
|
127
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
128
|
+
}, undefined>;
|
|
99
129
|
readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
|
|
100
130
|
readonly data: import("valibot").ObjectSchema<{
|
|
101
131
|
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
@@ -119,6 +149,12 @@ export declare const validation: {
|
|
|
119
149
|
}, undefined>;
|
|
120
150
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
121
151
|
}, undefined>;
|
|
152
|
+
readonly viewNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
153
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
154
|
+
readonly code: import("valibot").LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
157
|
+
}, undefined>;
|
|
122
158
|
};
|
|
123
159
|
utils: {
|
|
124
160
|
flattenRequirements: <T extends Record<string, any>>(schema: import("valibot").ObjectSchema<T, any>) => { [K in keyof T]: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as v from 'valibot';
|
|
2
|
+
import type { marcoSchemas } from '../schemas';
|
|
3
|
+
export declare const POKE_MODELS: readonly ["user", "account", "contact", "draft", "thread", "label"];
|
|
4
|
+
export type PokeModel = (typeof POKE_MODELS)[number];
|
|
5
|
+
export type PokeEvent = v.InferOutput<typeof marcoSchemas.websocket.pokeEvent>;
|
|
6
|
+
//# sourceMappingURL=PokeEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PokeEvent.d.ts","sourceRoot":"","sources":["../../src/types/PokeEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,WAAW,qEAAsE,CAAA;AAE9F,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AACpD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const POKE_MODELS = ['user', 'account', 'contact', 'draft', 'thread', 'label'];
|
package/dist/types/SDKError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type * as v from 'valibot';
|
|
2
2
|
import type { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.
|
|
3
|
+
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema>;
|
|
4
4
|
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './LabelSpecialUse';
|
|
|
10
10
|
export * from './MarcoPlatform';
|
|
11
11
|
export * from './MessageRecipientType';
|
|
12
12
|
export * from './OAuthProvider';
|
|
13
|
+
export * from './PokeEvent';
|
|
13
14
|
export * from './SDKError';
|
|
14
15
|
export * from './UserSettings';
|
|
15
16
|
export * from './Zero';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
|
package/dist/types/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export * from './LabelSpecialUse';
|
|
|
10
10
|
export * from './MarcoPlatform';
|
|
11
11
|
export * from './MessageRecipientType';
|
|
12
12
|
export * from './OAuthProvider';
|
|
13
|
+
export * from './PokeEvent';
|
|
13
14
|
export * from './SDKError';
|
|
14
15
|
export * from './UserSettings';
|
|
15
16
|
export * from './Zero';
|