lz-api-client
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -1,2 +0,2 @@ | ||
import type { CreateJourneyBody, InsertedId, Journey, SearchFieldsBody } from 'lz-schema'; | ||
import type { CreateJourneyBody, InsertedId, SearchFieldsBody } from 'lz-schema'; | ||
import type { Client } from '../Client'; | ||
@@ -13,3 +13,25 @@ export declare class JourneyService { | ||
id: string; | ||
}): Promise<Journey>; | ||
}): Promise<{ | ||
id: string; | ||
name: string; | ||
createdAt: number; | ||
updatedAt: number; | ||
createdBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
updatedBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
workspaceId: string; | ||
nodes: import("lz-schema").Node[]; | ||
edges: import("lz-schema").NodeEdge[]; | ||
createdById: string; | ||
updatedById: string; | ||
}>; | ||
/** | ||
@@ -20,3 +42,25 @@ * Get all journeys filtered by query | ||
*/ | ||
search(params: SearchFieldsBody): Promise<Journey[]>; | ||
search(params: SearchFieldsBody): Promise<{ | ||
id: string; | ||
name: string; | ||
createdAt: number; | ||
updatedAt: number; | ||
createdBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
updatedBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
workspaceId: string; | ||
nodes: import("lz-schema").Node[]; | ||
edges: import("lz-schema").NodeEdge[]; | ||
createdById: string; | ||
updatedById: string; | ||
}[]>; | ||
/** | ||
@@ -23,0 +67,0 @@ * Create a new journey |
@@ -19,2 +19,4 @@ import type { SearchFieldsBody } from 'lz-schema'; | ||
workspaceId: string; | ||
createdById: string; | ||
updatedById: string; | ||
srcUrl: string; | ||
@@ -33,4 +35,2 @@ horizontalSize: number; | ||
animationOut: import("lz-schema").LayerAnimation; | ||
createdById: string; | ||
updatedById: string; | ||
bgColor?: string | undefined; | ||
@@ -50,2 +50,4 @@ }>; | ||
workspaceId: string; | ||
createdById: string; | ||
updatedById: string; | ||
srcUrl: string; | ||
@@ -64,6 +66,4 @@ horizontalSize: number; | ||
animationOut: import("lz-schema").LayerAnimation; | ||
createdById: string; | ||
updatedById: string; | ||
bgColor?: string | undefined; | ||
}[]>; | ||
} |
{ | ||
"name": "lz-api-client", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "client sdk for layerZ api", | ||
@@ -34,4 +34,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"lz-schema": "^0.11.0" | ||
"lz-schema": "^0.11.1" | ||
} | ||
} |
71147
1326
Updatedlz-schema@^0.11.1