@marcoappio/marco-config 2.0.537 → 2.0.538
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/sdk/endpoints/private/models/account/getAccounts.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +1 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +1 -1
- package/dist/sdk/endpoints/private/models/label/getLabels.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/label/getLabels.js +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreads.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setContent.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +1 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
5
|
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfi
|
|
|
5
5
|
import { authFailedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
6
6
|
export const getAccounts = createEndpoint({
|
|
7
7
|
method: 'GET',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts',
|
|
9
9
|
query: v.object({
|
|
10
10
|
cursor: v.optional(v.string()),
|
|
11
11
|
ids: v.optional(v.array(v.string())),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/pv/models/contacts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly emailAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfi
|
|
|
5
5
|
import { authFailedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
6
6
|
export const getContacts = createEndpoint({
|
|
7
7
|
method: 'GET',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/contacts',
|
|
9
9
|
query: v.object({
|
|
10
10
|
cursor: v.optional(v.string()),
|
|
11
11
|
emailAddress: v.optional(v.string()),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getDrafts: import("../../../../../types").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getDrafts: import("../../../../../types").EndpointConfig<"/v1/pv/models/drafts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -6,7 +6,7 @@ import { authFailedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSc
|
|
|
6
6
|
import { DRAFT_STATUSES } from '../../../../../types';
|
|
7
7
|
export const getDrafts = createEndpoint({
|
|
8
8
|
method: 'GET',
|
|
9
|
-
path: '/v1/pv/models/
|
|
9
|
+
path: '/v1/pv/models/drafts',
|
|
10
10
|
query: v.object({
|
|
11
11
|
accountId: v.optional(v.string()),
|
|
12
12
|
cursor: v.optional(v.string()),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getLabels: import("../../../../../types").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getLabels: import("../../../../../types").EndpointConfig<"/v1/pv/models/labels", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly accountIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4
4
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -6,7 +6,7 @@ import { authFailedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSc
|
|
|
6
6
|
import { LABEL_SPECIAL_USES } from '../../../../../types';
|
|
7
7
|
export const getLabels = createEndpoint({
|
|
8
8
|
method: 'GET',
|
|
9
|
-
path: '/v1/pv/models/
|
|
9
|
+
path: '/v1/pv/models/labels',
|
|
10
10
|
query: v.object({
|
|
11
11
|
accountIds: v.optional(v.array(v.string())),
|
|
12
12
|
cursor: v.optional(v.string()),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getThreadByMessageId: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getThreadByMessageId: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/by-message/:messageId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -4,7 +4,7 @@ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfi
|
|
|
4
4
|
import { authFailedErrorSchema, messageNotFoundErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
|
|
5
5
|
export const getThreadByMessageId = createEndpoint({
|
|
6
6
|
method: 'GET',
|
|
7
|
-
path: '/v1/pv/models/
|
|
7
|
+
path: '/v1/pv/models/threads/by-message/:messageId',
|
|
8
8
|
response: v.union([
|
|
9
9
|
authFailedErrorSchema,
|
|
10
10
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/list", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly flagged: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
5
5
|
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -16,7 +16,7 @@ const getThreadListQuerySchema = v.object({
|
|
|
16
16
|
});
|
|
17
17
|
export const getThreadList = createEndpoint({
|
|
18
18
|
method: 'GET',
|
|
19
|
-
path: '/v1/pv/models/
|
|
19
|
+
path: '/v1/pv/models/threads/list',
|
|
20
20
|
query: getThreadListQuerySchema,
|
|
21
21
|
response: v.union([
|
|
22
22
|
authFailedErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getThreads: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const getThreads: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/full", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
readonly labelIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
@@ -11,7 +11,7 @@ const getThreadsQuerySchema = v.object({
|
|
|
11
11
|
});
|
|
12
12
|
export const getThreads = createEndpoint({
|
|
13
13
|
method: 'GET',
|
|
14
|
-
path: '/v1/pv/models/
|
|
14
|
+
path: '/v1/pv/models/threads/full',
|
|
15
15
|
query: getThreadsQuerySchema,
|
|
16
16
|
response: v.union([
|
|
17
17
|
authFailedErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const createAccount: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const createAccount: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/create", v.ObjectSchema<{
|
|
3
3
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const createAccount = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.createAccount,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const createAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const createAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/aliases/create", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly alias: v.ObjectSchema<{
|
|
5
5
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const createAlias = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.createAlias,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/aliases/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteAccount: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteAccount: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/delete", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly data: v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteAccount = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.deleteAccount,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/aliases/:aliasId/delete", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteAlias = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.deleteAlias,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/aliases/:aliasId/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setAliasName: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setAliasName: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/aliases/:aliasId/set-name", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly displayName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setAliasName = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.setAliasName,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/aliases/:aliasId/set-name',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setAliasPrimary: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setAliasPrimary: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/aliases/:aliasId/set-primary", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setAliasPrimary = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.setAliasPrimary,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/aliases/:aliasId/set-primary',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setConnectionConfigImap: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setConnectionConfigImap: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/connection/set-imap", v.ObjectSchema<{
|
|
3
3
|
readonly connectionConfig: v.ObjectSchema<{
|
|
4
4
|
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setConnectionConfigImap = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.setConnectionConfigImapRaw,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/connection/set-imap',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setConnectionConfigOauth: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setConnectionConfigOauth: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/connection/set-oauth", v.ObjectSchema<{
|
|
3
3
|
readonly connectionConfig: v.ObjectSchema<{
|
|
4
4
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly provider: v.PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setConnectionConfigOauth = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.setConnectionConfigOauth,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/connection/set-oauth',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setSettings: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setSettings: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/:accountId/set-settings", v.ObjectSchema<{
|
|
3
3
|
readonly color: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
4
4
|
readonly displayName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setSettings = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.account.setSettings,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/accounts/:accountId/set-settings',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const cancelSend: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const cancelSend: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/cancel-send", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const cancelSend = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.cancelSend,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/cancel-send',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const createAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const createAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/attachments/create", v.ObjectSchema<{
|
|
3
3
|
readonly attachment: v.ObjectSchema<{
|
|
4
4
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const createAttachment = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.createAttachment,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/attachments/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const createDraft: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const createDraft: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/create", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
5
5
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const createDraft = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.createDraft,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/attachments/:attachmentId/delete", v.ObjectSchema<{
|
|
3
3
|
readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteAttachment = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.deleteAttachment,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/attachments/:attachmentId/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteDraft: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteDraft: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/delete", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly data: v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteDraft = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.deleteDraft,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const scheduleSend: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const scheduleSend: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/schedule-send", v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
5
5
|
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const scheduleSend = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.scheduleSend,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/schedule-send',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setContent: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setContent: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/set-content", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
5
5
|
readonly index: v.NumberSchema<undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setContent = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.setContent,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/set-content',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/set-envelope", v.ObjectSchema<{
|
|
3
3
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
4
4
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>;
|
|
5
5
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setEnvelope = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.setEnvelope,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/set-envelope',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/models/drafts/:draftId/set-from", v.ObjectSchema<{
|
|
3
3
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setFrom = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.draft.setFrom,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/drafts/:draftId/set-from',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const addLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const addLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/labels/add", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const addLabel = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.addLabel,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/labels/add',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteThreads: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteThreads: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/delete", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteThreads = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.delete,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const removeLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const removeLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/labels/remove", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const removeLabel = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.removeLabel,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/labels/remove',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setArchive: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setArchive: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-archive", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setArchive = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setArchive,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-archive',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setFlagged: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setFlagged: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-flagged", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setFlagged = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setFlagged,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-flagged',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setInbox: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setInbox: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-inbox", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setInbox = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setInbox,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-inbox',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setSeen: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setSeen: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-seen", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setSeen = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setSeen,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-seen',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setSpam: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setSpam: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-spam", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setSpam = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setSpam,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-spam',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setTrash: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const setTrash: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/set-trash", v.ObjectSchema<{
|
|
3
3
|
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
4
4
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
5
5
|
}, undefined>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setTrash = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.thread.setTrash,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/
|
|
8
|
+
path: '/v1/pv/models/threads/set-trash',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const createView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/
|
|
2
|
+
export declare const createView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/views/create", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly view: v.ObjectSchema<{
|
|
5
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>]>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const createView = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.createView,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/user/
|
|
8
|
+
path: '/v1/pv/models/user/views/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deletePushToken: import("../../../../..").EndpointConfig<"/v1/pv/models/user/push-
|
|
2
|
+
export declare const deletePushToken: import("../../../../..").EndpointConfig<"/v1/pv/models/user/push-tokens/delete", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly token: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deletePushToken = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.deleteSettingsPushNotificationToken,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/user/push-
|
|
8
|
+
path: '/v1/pv/models/user/push-tokens/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/
|
|
2
|
+
export declare const deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/views/:viewId/delete", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly viewId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const deleteView = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.deleteView,
|
|
7
7
|
method: 'DELETE',
|
|
8
|
-
path: '/v1/pv/models/user/
|
|
8
|
+
path: '/v1/pv/models/user/views/:viewId/delete',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setPushToken: import("../../../../..").EndpointConfig<"/v1/pv/models/user/push-
|
|
2
|
+
export declare const setPushToken: import("../../../../..").EndpointConfig<"/v1/pv/models/user/push-tokens/create", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly pushNotificationToken: v.ObjectSchema<{
|
|
5
5
|
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setPushToken = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.setSettingsPushNotificationToken,
|
|
7
7
|
method: 'POST',
|
|
8
|
-
path: '/v1/pv/models/user/push-
|
|
8
|
+
path: '/v1/pv/models/user/push-tokens/create',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const setSettingsName: import("../../../../..").EndpointConfig<"/v1/pv/models/user/name", v.ObjectSchema<{
|
|
2
|
+
export declare const setSettingsName: import("../../../../..").EndpointConfig<"/v1/pv/models/user/set-name", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const setSettingsName = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.setSettingsName,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/user/name',
|
|
8
|
+
path: '/v1/pv/models/user/set-name',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/
|
|
2
|
+
export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/views/:viewId/update", v.ObjectSchema<{
|
|
3
3
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly view: v.ObjectSchema<{
|
|
5
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>]>;
|
|
@@ -5,7 +5,7 @@ import { mutatorSchemas } from '../../../../../zero';
|
|
|
5
5
|
export const updateView = createEndpoint({
|
|
6
6
|
body: mutatorSchemas.user.updateView,
|
|
7
7
|
method: 'PATCH',
|
|
8
|
-
path: '/v1/pv/models/user/
|
|
8
|
+
path: '/v1/pv/models/user/views/:viewId/update',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|