🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@ifgengineering/api-contracts

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifgengineering/api-contracts - npm Package Compare versions

Comparing version
0.2.1
to
0.3.0
dist/investables/investables.contract.d.ts

Sorry, the diff of this file is too big to display

+1
{"version":3,"file":"investables.contract.d.ts","sourceRoot":"","sources":["../../src/investables/investables.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE/B,CAAC"}
import { initContract } from "@ts-rest/core";
import { z } from "zod";
import { InvestableSchema, InvestableSearchQuerySchema, CreateInvestableDtoSchema, UpdateInvestableDtoSchema, CreateSharePriceDtoSchema, SharePriceSchema, } from "./investables.schemas.js";
const c = initContract();
export const investablesContract = c.router({
getAll: {
method: "GET",
path: "/admin/investables/v2",
query: InvestableSearchQuerySchema,
responses: {
200: z.object({
data: z.array(InvestableSchema),
totalCount: z.number(),
totalPages: z.number(),
currentPage: z.number(),
pageSize: z.number(),
}),
},
summary: "Get all investables",
},
getById: {
method: "GET",
path: "/admin/investables/v2/:id",
pathParams: z.object({ id: z.string() }),
responses: {
200: InvestableSchema,
},
summary: "Get investable by ID",
},
create: {
method: "POST",
path: "/admin/investables/v2",
body: CreateInvestableDtoSchema,
responses: {
201: InvestableSchema,
},
summary: "Create a new investable",
},
update: {
method: "PUT",
path: "/admin/investables/v2",
body: UpdateInvestableDtoSchema,
responses: {
200: InvestableSchema,
},
summary: "Update an investable",
},
addSharePrice: {
method: "POST",
path: "/admin/investables/v2/:investableId/share-prices",
pathParams: z.object({ investableId: z.string() }),
body: CreateSharePriceDtoSchema,
responses: {
201: SharePriceSchema,
},
summary: "Add a share price to an investable",
},
deleteSharePrice: {
method: "DELETE",
path: "/admin/investables/v2/:investableId/share-prices/:sharePriceId",
pathParams: z.object({
investableId: z.string(),
sharePriceId: z.string(),
}),
body: c.noBody(),
responses: {
200: z.object({}),
},
summary: "Delete a share price from an investable",
},
}, {
pathPrefix: "",
});
//# sourceMappingURL=investables.contract.js.map
{"version":3,"file":"investables.contract.js","sourceRoot":"","sources":["../../src/investables/investables.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CACzC;IACE,MAAM,EAAE;QACN,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,2BAA2B;QAClC,SAAS,EAAE;YACT,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC;gBACZ,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;gBAC/B,U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YACxB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;SACzB,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,SAAS,EAAE;YACT,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;SAClB;QACD,OAAO,EAAE,yCAAyC;KACnD;CACF,EACD;IACE,UAAU,EAAE,EAAE;CACf,CACF,CAAC"}
import { z } from "zod";
export declare const InvestableSortOptionSchema: z.ZodEnum<["created_at:asc", "created_at:desc"]>;
export declare const CurrencySchema: z.ZodEnum<["GBP", "USD"]>;
export declare const InvestableTypeSchema: z.ZodEnum<["INCOME", "SHARE"]>;
export declare const DistributionFrequencySchema: z.ZodEnum<["QUARTERLY", "SEMI_ANNUAL", "ANNUAL"]>;
export declare const SharePriceSchema: z.ZodObject<{
id: z.ZodString;
effectiveDate: z.ZodString;
price: z.ZodNumber;
isNominal: z.ZodNullable<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}, {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}>;
export declare const DealStatusSchema: z.ZodEnum<["OFFLINE", "PRELAUNCH", "LIVE_MEMBERS", "LIVE_ALL", "CLOSED", "LIVE_PRIVATE"]>;
export declare const DealAccessLevelSchema: z.ZodEnum<["PUBLIC", "PRIVATE", "MEMBERS"]>;
export declare const InvestableDealSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodNullable<z.ZodString>;
summary: z.ZodNullable<z.ZodString>;
status: z.ZodNullable<z.ZodEnum<["OFFLINE", "PRELAUNCH", "LIVE_MEMBERS", "LIVE_ALL", "CLOSED", "LIVE_PRIVATE"]>>;
access: z.ZodEnum<["PUBLIC", "PRIVATE", "MEMBERS"]>;
created_at: z.ZodString;
updated_at: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}, {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}>;
export declare const UploadSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
key: z.ZodString;
url: z.ZodString;
isPublic: z.ZodBoolean;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deletedAt: z.ZodNullable<z.ZodString>;
created_at: z.ZodOptional<z.ZodString>;
updated_at: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}>;
export declare const InvestablesMetadataSchema: z.ZodObject<{
assetClass: z.ZodOptional<z.ZodString>;
distributionFrequency: z.ZodOptional<z.ZodEnum<["QUARTERLY", "SEMI_ANNUAL", "ANNUAL"]>>;
useSimpleInterest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
disableFees: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}>;
export declare const InvestableSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
displayImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
key: z.ZodString;
url: z.ZodString;
isPublic: z.ZodBoolean;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deletedAt: z.ZodNullable<z.ZodString>;
created_at: z.ZodOptional<z.ZodString>;
updated_at: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}>>>;
backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
key: z.ZodString;
url: z.ZodString;
isPublic: z.ZodBoolean;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deletedAt: z.ZodNullable<z.ZodString>;
created_at: z.ZodOptional<z.ZodString>;
updated_at: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}, {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
}>>>;
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
linkedIn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
companiesHouseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deals: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodNullable<z.ZodString>;
summary: z.ZodNullable<z.ZodString>;
status: z.ZodNullable<z.ZodEnum<["OFFLINE", "PRELAUNCH", "LIVE_MEMBERS", "LIVE_ALL", "CLOSED", "LIVE_PRIVATE"]>>;
access: z.ZodEnum<["PUBLIC", "PRIVATE", "MEMBERS"]>;
created_at: z.ZodString;
updated_at: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}, {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}>, "many">;
created_at: z.ZodOptional<z.ZodString>;
updated_at: z.ZodOptional<z.ZodString>;
sharePrices: z.ZodArray<z.ZodObject<{
id: z.ZodString;
effectiveDate: z.ZodString;
price: z.ZodNumber;
isNominal: z.ZodNullable<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}, {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}>, "many">;
metadata: z.ZodNullable<z.ZodObject<{
assetClass: z.ZodOptional<z.ZodString>;
distributionFrequency: z.ZodOptional<z.ZodEnum<["QUARTERLY", "SEMI_ANNUAL", "ANNUAL"]>>;
useSimpleInterest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
disableFees: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}>>;
assetZakatablePct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
currency: z.ZodEnum<["GBP", "USD"]>;
type: z.ZodEnum<["INCOME", "SHARE"]>;
showUpcomingEarnings: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
type: "INCOME" | "SHARE";
metadata: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | null;
deals: {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}[];
sharePrices: {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}[];
currency: "GBP" | "USD";
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
displayImage?: {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
} | null | undefined;
backgroundImage?: {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
} | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
assetZakatablePct?: number | null | undefined;
showUpcomingEarnings?: boolean | null | undefined;
}, {
id: string;
name: string;
type: "INCOME" | "SHARE";
metadata: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | null;
deals: {
id: string;
name: string;
status: "OFFLINE" | "PRELAUNCH" | "LIVE_MEMBERS" | "LIVE_ALL" | "CLOSED" | "LIVE_PRIVATE" | null;
summary: string | null;
description: string | null;
access: "PUBLIC" | "PRIVATE" | "MEMBERS";
created_at: string;
updated_at: string;
}[];
sharePrices: {
id: string;
effectiveDate: string;
price: number;
isNominal: boolean | null;
}[];
currency: "GBP" | "USD";
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
displayImage?: {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
} | null | undefined;
backgroundImage?: {
id: string;
name: string;
url: string;
key: string;
isPublic: boolean;
deletedAt: string | null;
description?: string | null | undefined;
created_at?: string | undefined;
updated_at?: string | undefined;
} | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
assetZakatablePct?: number | null | undefined;
showUpcomingEarnings?: boolean | null | undefined;
}>;
export declare const InvestableSearchQuerySchema: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
sortBy: z.ZodOptional<z.ZodEnum<["created_at:asc", "created_at:desc"]>>;
pageSize: z.ZodOptional<z.ZodNumber>;
page: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
page?: number | undefined;
pageSize?: number | undefined;
sortBy?: "created_at:asc" | "created_at:desc" | undefined;
}, {
name?: string | undefined;
page?: number | undefined;
pageSize?: number | undefined;
sortBy?: "created_at:asc" | "created_at:desc" | undefined;
}>;
export declare const CreateInvestableDtoSchema: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
displayImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
linkedIn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
companiesHouseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deals: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
metadata: z.ZodOptional<z.ZodObject<{
assetClass: z.ZodOptional<z.ZodString>;
distributionFrequency: z.ZodOptional<z.ZodEnum<["QUARTERLY", "SEMI_ANNUAL", "ANNUAL"]>>;
useSimpleInterest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
disableFees: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}>>;
assetZakatablePct: z.ZodOptional<z.ZodNumber>;
currency: z.ZodEnum<["GBP", "USD"]>;
type: z.ZodEnum<["INCOME", "SHARE"]>;
showUpcomingEarnings: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
type: "INCOME" | "SHARE";
currency: "GBP" | "USD";
metadata?: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | undefined;
description?: string | null | undefined;
displayImage?: string | null | undefined;
backgroundImage?: string | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
deals?: string[] | null | undefined;
assetZakatablePct?: number | undefined;
showUpcomingEarnings?: boolean | undefined;
}, {
name: string;
type: "INCOME" | "SHARE";
currency: "GBP" | "USD";
metadata?: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | undefined;
description?: string | null | undefined;
displayImage?: string | null | undefined;
backgroundImage?: string | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
deals?: string[] | null | undefined;
assetZakatablePct?: number | undefined;
showUpcomingEarnings?: boolean | undefined;
}>;
export declare const UpdateInvestableDtoSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
displayImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
linkedIn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
companiesHouseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deals: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
metadata: z.ZodOptional<z.ZodObject<{
assetClass: z.ZodOptional<z.ZodString>;
distributionFrequency: z.ZodOptional<z.ZodEnum<["QUARTERLY", "SEMI_ANNUAL", "ANNUAL"]>>;
useSimpleInterest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
disableFees: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}, {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
}>>;
assetZakatablePct: z.ZodOptional<z.ZodNumber>;
currency: z.ZodOptional<z.ZodEnum<["GBP", "USD"]>>;
showUpcomingEarnings: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
id: string;
name?: string | null | undefined;
metadata?: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | undefined;
description?: string | null | undefined;
displayImage?: string | null | undefined;
backgroundImage?: string | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
deals?: string[] | null | undefined;
assetZakatablePct?: number | undefined;
currency?: "GBP" | "USD" | undefined;
showUpcomingEarnings?: boolean | undefined;
}, {
id: string;
name?: string | null | undefined;
metadata?: {
assetClass?: string | undefined;
distributionFrequency?: "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | undefined;
useSimpleInterest?: boolean | null | undefined;
disableFees?: boolean | null | undefined;
} | undefined;
description?: string | null | undefined;
displayImage?: string | null | undefined;
backgroundImage?: string | null | undefined;
videoUrl?: string | null | undefined;
website?: string | null | undefined;
twitter?: string | null | undefined;
linkedIn?: string | null | undefined;
companiesHouseUrl?: string | null | undefined;
deals?: string[] | null | undefined;
assetZakatablePct?: number | undefined;
currency?: "GBP" | "USD" | undefined;
showUpcomingEarnings?: boolean | undefined;
}>;
export declare const CreateSharePriceDtoSchema: z.ZodObject<{
effectiveDate: z.ZodString;
price: z.ZodNumber;
isNominal: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
effectiveDate: string;
price: number;
isNominal?: boolean | undefined;
}, {
effectiveDate: string;
price: number;
isNominal?: boolean | undefined;
}>;
export type DealStatus = z.infer<typeof DealStatusSchema>;
export type DealAccessLevel = z.infer<typeof DealAccessLevelSchema>;
export type InvestableDeal = z.infer<typeof InvestableDealSchema>;
export type Investable = z.infer<typeof InvestableSchema>;
export type InvestableSearchQuery = z.infer<typeof InvestableSearchQuerySchema>;
export type CreateInvestableDto = z.infer<typeof CreateInvestableDtoSchema>;
export type UpdateInvestableDto = z.infer<typeof UpdateInvestableDtoSchema>;
export type CreateSharePriceDto = z.infer<typeof CreateSharePriceDtoSchema>;
export type SharePrice = z.infer<typeof SharePriceSchema>;
export type InvestableType = z.infer<typeof InvestableTypeSchema>;
export type Currency = z.infer<typeof CurrencySchema>;
//# sourceMappingURL=investables.schemas.d.ts.map
{"version":3,"file":"investables.schemas.d.ts","sourceRoot":"","sources":["../../src/investables/investables.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B,kDAGrC,CAAC;AAEH,eAAO,MAAM,cAAc,2BAAyB,CAAC;AAErD,eAAO,MAAM,oBAAoB,gCAA8B,CAAC;AAEhE,eAAO,MAAM,2BAA2B,mDAItC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,2FAO3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,6CAA2C,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUvB,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
import { z } from "zod";
export const InvestableSortOptionSchema = z.enum([
"created_at:asc",
"created_at:desc",
]);
export const CurrencySchema = z.enum(["GBP", "USD"]);
export const InvestableTypeSchema = z.enum(["INCOME", "SHARE"]);
export const DistributionFrequencySchema = z.enum([
"QUARTERLY",
"SEMI_ANNUAL",
"ANNUAL",
]);
export const SharePriceSchema = z.object({
id: z.string(),
effectiveDate: z.string(),
price: z.number(),
isNominal: z.boolean().nullable(),
});
export const DealStatusSchema = z.enum([
"OFFLINE",
"PRELAUNCH",
"LIVE_MEMBERS",
"LIVE_ALL",
"CLOSED",
"LIVE_PRIVATE",
]);
export const DealAccessLevelSchema = z.enum(["PUBLIC", "PRIVATE", "MEMBERS"]);
export const InvestableDealSchema = z.object({
id: z.string(),
name: z.string(),
description: z.string().nullable(),
summary: z.string().nullable(),
status: DealStatusSchema.nullable(),
access: DealAccessLevelSchema,
created_at: z.string(),
updated_at: z.string(),
});
export const UploadSchema = z.object({
id: z.string(),
name: z.string(),
key: z.string(),
url: z.string(),
isPublic: z.boolean(),
description: z.string().nullable().optional(),
deletedAt: z.string().nullable(),
created_at: z.string().optional(),
updated_at: z.string().optional(),
});
export const InvestablesMetadataSchema = z.object({
assetClass: z.string().optional(),
distributionFrequency: DistributionFrequencySchema.optional(),
useSimpleInterest: z.boolean().nullable().optional(),
disableFees: z.boolean().nullable().optional(),
});
export const InvestableSchema = z.object({
id: z.string(),
name: z.string(),
description: z.string().nullable().optional(),
displayImage: UploadSchema.nullable().optional(),
backgroundImage: UploadSchema.nullable().optional(),
videoUrl: z.string().nullable().optional(),
website: z.string().nullable().optional(),
twitter: z.string().nullable().optional(),
linkedIn: z.string().nullable().optional(),
companiesHouseUrl: z.string().nullable().optional(),
deals: z.array(InvestableDealSchema),
created_at: z.string().optional(),
updated_at: z.string().optional(),
sharePrices: z.array(SharePriceSchema),
metadata: InvestablesMetadataSchema.nullable(),
assetZakatablePct: z.number().nullable().optional(),
currency: CurrencySchema,
type: InvestableTypeSchema,
showUpcomingEarnings: z.boolean().nullable().optional(),
});
export const InvestableSearchQuerySchema = z.object({
name: z.string().optional(),
sortBy: InvestableSortOptionSchema.optional(),
pageSize: z.coerce.number().optional(),
page: z.coerce.number().optional(),
});
export const CreateInvestableDtoSchema = z.object({
name: z.string().min(1),
description: z.string().nullable().optional(),
displayImage: z.string().nullable().optional(),
backgroundImage: z.string().nullable().optional(),
videoUrl: z.string().nullable().optional(),
website: z.string().nullable().optional(),
twitter: z.string().nullable().optional(),
linkedIn: z.string().nullable().optional(),
companiesHouseUrl: z.string().nullable().optional(),
deals: z.array(z.string()).nullable().optional(),
metadata: InvestablesMetadataSchema.optional(),
assetZakatablePct: z.number().optional(),
currency: CurrencySchema,
type: InvestableTypeSchema,
showUpcomingEarnings: z.boolean().optional(),
});
export const UpdateInvestableDtoSchema = z.object({
id: z.string(),
name: z.string().nullable().optional(),
description: z.string().nullable().optional(),
displayImage: z.string().nullable().optional(),
backgroundImage: z.string().nullable().optional(),
videoUrl: z.string().nullable().optional(),
website: z.string().nullable().optional(),
twitter: z.string().nullable().optional(),
linkedIn: z.string().nullable().optional(),
companiesHouseUrl: z.string().nullable().optional(),
deals: z.array(z.string()).nullable().optional(),
metadata: InvestablesMetadataSchema.optional(),
assetZakatablePct: z.number().optional(),
currency: CurrencySchema.optional(),
showUpcomingEarnings: z.boolean().optional(),
});
export const CreateSharePriceDtoSchema = z.object({
effectiveDate: z.string(),
price: z.number().min(0),
isNominal: z.boolean().optional(),
});
//# sourceMappingURL=investables.schemas.js.map
{"version":3,"file":"investables.schemas.js","sourceRoot":"","sources":["../../src/investables/investables.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC;IAC/C,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAErD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAEhE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,WAAW;IACX,aAAa;IACb,QAAQ;CACT,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,SAAS;IACT,WAAW;IACX,cAAc;IACd,UAAU;IACV,QAAQ;IACR,cAAc;CACf,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAA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EAAE,CAAC,QAAQ,EAAE;IAChD,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE;IAC9C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnC,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
+2
-0
export { externalKycContract } from "./external-kyc/external-kyc.contract.js";
export * from "./external-kyc/external-kyc.schemas.js";
export { investablesContract } from "./investables/investables.contract.js";
export * from "./investables/investables.schemas.js";
//# sourceMappingURL=index.d.ts.map
+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,cAAc,wCAAwC,CAAC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,cAAc,sCAAsC,CAAC"}
export { externalKycContract } from "./external-kyc/external-kyc.contract.js";
export * from "./external-kyc/external-kyc.schemas.js";
export { investablesContract } from "./investables/investables.contract.js";
export * from "./investables/investables.schemas.js";
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,cAAc,wCAAwC,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,cAAc,sCAAsC,CAAC"}
{
"name": "@ifgengineering/api-contracts",
"version": "0.2.1",
"version": "0.3.0",
"description": "Shared ts-rest API contracts between invest-api and frontend clients",

@@ -5,0 +5,0 @@ "type": "module",