@marcoappio/marco-config 2.0.538 → 2.0.540
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/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/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/user/deleteView.d.ts +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.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/accounts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/list", 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/accounts',
|
|
8
|
+
path: '/v1/pv/models/accounts/list',
|
|
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/contacts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/pv/models/contacts/list", 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/contacts',
|
|
8
|
+
path: '/v1/pv/models/contacts/list',
|
|
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/drafts", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const getDrafts: import("../../../../../types").EndpointConfig<"/v1/pv/models/drafts/list", 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/drafts',
|
|
9
|
+
path: '/v1/pv/models/drafts/list',
|
|
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/labels", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const getLabels: import("../../../../../types").EndpointConfig<"/v1/pv/models/labels/list", 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/labels',
|
|
9
|
+
path: '/v1/pv/models/labels/list',
|
|
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 createAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const createAlias: import("../../../../..").EndpointConfig<"/v1/pv/models/account/: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/account/: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/account/: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/account/: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/account/:accountId/alias/: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/account/:accountId/alias/: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/account/:accountId/alias/: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/account/:accountId/alias/: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/account/:accountId/alias/: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/account/:accountId/alias/: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/account/: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/account/: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/account/: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/account/: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/account/: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/account/: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/draft/: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/draft/: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/draft/: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/draft/: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 deleteAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/
|
|
2
|
+
export declare const deleteAttachment: import("../../../../..").EndpointConfig<"/v1/pv/models/draft/:draftId/attachment/: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/draft/:draftId/attachment/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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/draft/: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 deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/
|
|
2
|
+
export declare const deleteView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/view/: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/view/: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 updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/
|
|
2
|
+
export declare const updateView: import("../../../../..").EndpointConfig<"/v1/pv/models/user/view/: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/view/:viewId/update',
|
|
9
9
|
response: v.union([
|
|
10
10
|
authFailedErrorSchema,
|
|
11
11
|
userNotFoundErrorSchema,
|