@marcoappio/marco-config 2.0.538 → 2.0.539
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/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()),
|