lz-api-client
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -1,2 +0,2 @@ | ||
import { CreateJourneyParams, InsertedId, Journey } from 'lz-schema'; | ||
import { CreateJourneyBody, InsertedId, Journey } from 'lz-schema'; | ||
import { Client } from '../Client'; | ||
@@ -19,3 +19,3 @@ export declare class JourneyService { | ||
*/ | ||
create(journey: CreateJourneyParams): Promise<InsertedId>; | ||
create(journey: CreateJourneyBody): Promise<InsertedId>; | ||
/** | ||
@@ -28,3 +28,3 @@ * Update a journey by id | ||
id: string; | ||
} & CreateJourneyParams): Promise<{}>; | ||
} & CreateJourneyBody): Promise<{}>; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { CreateUserEventParams, CreateUserParams, CreateUserResponse, User, UserCampaign, UserEventsCountQuery, UserMetric } from 'lz-schema'; | ||
import { CreateUserEventArgs, CreateUserBody, CreateUserResponse, User, UserCampaign, UserEventsCountQuery, UserMetric } from 'lz-schema'; | ||
import { Client } from '../Client'; | ||
@@ -20,3 +20,3 @@ export declare class UserService { | ||
*/ | ||
create({ workspaceId, trafficSource, variables }: CreateUserParams): Promise<CreateUserResponse>; | ||
create({ workspaceId, trafficSource, variables }: CreateUserBody): Promise<CreateUserResponse>; | ||
/** | ||
@@ -50,3 +50,3 @@ * Get the active campaign for the user. | ||
*/ | ||
trackEvent(event: CreateUserEventParams): Promise<unknown>; | ||
trackEvent(event: CreateUserEventArgs): Promise<unknown>; | ||
/** | ||
@@ -53,0 +53,0 @@ * Set the user's metrics. |
{ | ||
"name": "lz-api-client", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "client sdk for layerZ api", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40449