@pear-protocol/types 1.14.1 → 1.15.1
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/auth/api-keys.d.ts +0 -1
- package/dist/auth/api-keys.js +1 -1
- package/dist/auth/entities.d.ts +0 -1
- package/dist/auth/entities.js +1 -1
- package/dist/auth/response.d.ts +0 -2
- package/dist/bundle.d.ts +1 -1
- package/dist/bundle.js +1 -1
- package/dist/common/refinement.js +1 -1
- package/dist/common/schema.d.ts +0 -1
- package/dist/common/schema.js +1 -2
- package/dist/execution/entities.d.ts +0 -13
- package/dist/execution/responses.d.ts +0 -8
- package/dist/fee/entities.d.ts +41 -0
- package/dist/fee/entities.js +19 -0
- package/dist/{admin/client-ids → fee}/index.d.ts +0 -1
- package/dist/{admin/client-ids → fee}/index.js +0 -1
- package/dist/fee/queries.d.ts +17 -0
- package/dist/fee/queries.js +12 -0
- package/dist/fee/responses.d.ts +35 -0
- package/dist/fee/responses.js +29 -0
- package/dist/instrument/entities.d.ts +10 -0
- package/dist/instrument/entities.js +22 -1
- package/dist/instrument/queries.d.ts +2 -2
- package/dist/instrument/responses.d.ts +12 -0
- package/dist/instrument/responses.js +8 -2
- package/dist/ladder/entities.d.ts +3 -0
- package/dist/ladder/payloads.js +1 -2
- package/dist/ladder/responses.d.ts +9 -0
- package/dist/market/queries.d.ts +2 -2
- package/dist/notification/queries.d.ts +1 -1
- package/dist/order/entities.d.ts +0 -2
- package/dist/order/entities.js +1 -5
- package/dist/portfolio/entities.d.ts +4 -0
- package/dist/portfolio/entities.js +10 -1
- package/dist/portfolio/responses.d.ts +4 -0
- package/dist/schedule/entities.d.ts +27 -37
- package/dist/schedule/entities.js +24 -28
- package/dist/schedule/index.d.ts +1 -0
- package/dist/schedule/index.js +1 -0
- package/dist/schedule/payloads.d.ts +28 -28
- package/dist/schedule/payloads.js +23 -33
- package/dist/schedule/randomization.d.ts +10 -0
- package/dist/schedule/randomization.js +15 -0
- package/dist/schedule/responses.d.ts +24 -20
- package/dist/statistics/entities.d.ts +20 -0
- package/dist/statistics/entities.js +23 -1
- package/dist/statistics/queries.d.ts +28 -0
- package/dist/statistics/queries.js +26 -1
- package/dist/statistics/responses.d.ts +22 -0
- package/dist/statistics/responses.js +5 -2
- package/dist/sync/payloads.d.ts +12 -1
- package/dist/sync/payloads.js +5 -2
- package/dist/sync/responses.d.ts +1 -0
- package/dist/sync/responses.js +3 -0
- package/dist/trade/responses.d.ts +0 -20
- package/dist/trigger/entities/index.d.ts +10 -0
- package/dist/trigger/entities/index.js +4 -0
- package/dist/trigger/responses.d.ts +6 -0
- package/dist/users/entities.d.ts +0 -1
- package/dist/users/entities.js +1 -1
- package/dist/users/response.d.ts +0 -1
- package/package.json +1 -1
- package/dist/admin/client-ids/entities.d.ts +0 -11
- package/dist/admin/client-ids/entities.js +0 -13
- package/dist/admin/client-ids/payloads.d.ts +0 -14
- package/dist/admin/client-ids/payloads.js +0 -13
- package/dist/admin/client-ids/queries.d.ts +0 -10
- package/dist/admin/client-ids/queries.js +0 -7
- package/dist/admin/client-ids/responses.d.ts +0 -11
- package/dist/admin/client-ids/responses.js +0 -6
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const ClientIdEntity: z.ZodObject<{
|
|
3
|
-
id: z.ZodUUID;
|
|
4
|
-
code: z.ZodString;
|
|
5
|
-
label: z.ZodString;
|
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7
|
-
isActive: z.ZodBoolean;
|
|
8
|
-
createdAt: z.ZodString;
|
|
9
|
-
updatedAt: z.ZodString;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export type ClientIdEntity = z.output<typeof ClientIdEntity>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
const ClientIdEntity = z.object({
|
|
4
|
-
id: z.uuid(),
|
|
5
|
-
code: z.string(),
|
|
6
|
-
label: z.string(),
|
|
7
|
-
description: z.string().optional(),
|
|
8
|
-
isActive: z.boolean(),
|
|
9
|
-
createdAt: z.string(),
|
|
10
|
-
updatedAt: z.string()
|
|
11
|
-
}).describe("Client ID registry entry");
|
|
12
|
-
|
|
13
|
-
export { ClientIdEntity };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const CreateClientIdPayload: z.ZodObject<{
|
|
3
|
-
code: z.ZodString;
|
|
4
|
-
label: z.ZodString;
|
|
5
|
-
description: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type CreateClientIdPayloadInput = z.input<typeof CreateClientIdPayload>;
|
|
8
|
-
export type CreateClientIdPayload = z.output<typeof CreateClientIdPayload>;
|
|
9
|
-
export declare const UpdateClientIdPayload: z.ZodObject<{
|
|
10
|
-
label: z.ZodOptional<z.ZodString>;
|
|
11
|
-
description: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type UpdateClientIdPayloadInput = z.input<typeof UpdateClientIdPayload>;
|
|
14
|
-
export type UpdateClientIdPayload = z.output<typeof UpdateClientIdPayload>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
const CreateClientIdPayload = z.object({
|
|
4
|
-
code: z.string().min(1).max(64).describe("Stable, immutable attribution key"),
|
|
5
|
-
label: z.string().min(1).max(128),
|
|
6
|
-
description: z.string().max(256).optional()
|
|
7
|
-
}).describe("Payload to create a client ID");
|
|
8
|
-
const UpdateClientIdPayload = z.object({
|
|
9
|
-
label: z.string().min(1).max(128).optional(),
|
|
10
|
-
description: z.string().max(256).optional()
|
|
11
|
-
}).describe("Payload to update a client ID label/description");
|
|
12
|
-
|
|
13
|
-
export { CreateClientIdPayload, UpdateClientIdPayload };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const ListClientIdsParams: z.ZodObject<{
|
|
3
|
-
scope: z.ZodDefault<z.ZodEnum<{
|
|
4
|
-
active: "active";
|
|
5
|
-
inactive: "inactive";
|
|
6
|
-
all: "all";
|
|
7
|
-
}>>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export type ListClientIdsParamsInput = z.input<typeof ListClientIdsParams>;
|
|
10
|
-
export type ListClientIdsParams = z.output<typeof ListClientIdsParams>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const ListClientIdsResponse: z.ZodArray<z.ZodObject<{
|
|
3
|
-
id: z.ZodUUID;
|
|
4
|
-
code: z.ZodString;
|
|
5
|
-
label: z.ZodString;
|
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7
|
-
isActive: z.ZodBoolean;
|
|
8
|
-
createdAt: z.ZodString;
|
|
9
|
-
updatedAt: z.ZodString;
|
|
10
|
-
}, z.core.$strip>>;
|
|
11
|
-
export type ListClientIdsResponse = z.output<typeof ListClientIdsResponse>;
|