New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lz-api-client

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lz-api-client - npm Package Compare versions

Comparing version 0.9.1 to 0.10.0

12

dist/services/CampaignService.d.ts

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

import type { Journey, CampaignStatus, CreateCampaignBody, SearchFieldsBody, UpdateCampaignBody } from 'lz-schema';
import type { CampaignStatus, CreateCampaignBody, SearchFieldsBody, UpdateCampaignBody } from 'lz-schema';
import type { Client } from '../Client';

@@ -35,2 +35,3 @@ export declare class CampaignService {

} | null;
journeyIds: string[];
workspaceId: string;

@@ -70,2 +71,3 @@ to?: number | undefined;

} | null;
journeyIds: string[];
workspaceId: string;

@@ -99,10 +101,2 @@ to?: number | undefined;

}): Promise<unknown>;
/**
* Get all journeys of a specific campaign
* @throws { ClientError }
* @throws { ServerError }
*/
getJourneys({ campaignId }: {
campaignId: string;
}): Promise<Journey[]>;
}

@@ -61,12 +61,4 @@ "use strict";

}
/**
* Get all journeys of a specific campaign
* @throws { ClientError }
* @throws { ServerError }
*/
getJourneys({ campaignId }) {
return this.client.get(`/campaigns/${campaignId}/journeys`, {});
}
}
exports.CampaignService = CampaignService;
//# sourceMappingURL=CampaignService.js.map

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

import type { Layer, SearchFieldsBody } from 'lz-schema';
import type { SearchFieldsBody } from 'lz-schema';
import type { Client } from '../Client';

@@ -13,3 +13,25 @@ export declare class LayerService {

id: string;
}): Promise<Layer>;
}): Promise<{
id: string;
name: string;
createdAt: number;
updatedAt: number;
workspaceId: string;
srcUrl: string;
horizontalSize: number;
verticalSize: number;
sizeUnit: import("lz-schema").LayerSizeUnit;
borderRadius: number;
borderRadiusUnit: import("lz-schema").LayerSizeUnit;
overlay: boolean;
overlayTransparency: number;
overlayColor: string;
hideCloseBtn: boolean;
placement: import("lz-schema").Placement;
animationIn: import("lz-schema").LayerAnimation;
animationOut: import("lz-schema").LayerAnimation;
createdById: string;
updatedById: string;
bgColor?: string | undefined;
}>;
/**

@@ -21,3 +43,25 @@ * Search layers by name.

*/
search(params: SearchFieldsBody): Promise<Layer[]>;
search(params: SearchFieldsBody): Promise<{
id: string;
name: string;
createdAt: number;
updatedAt: number;
workspaceId: string;
srcUrl: string;
horizontalSize: number;
verticalSize: number;
sizeUnit: import("lz-schema").LayerSizeUnit;
borderRadius: number;
borderRadiusUnit: import("lz-schema").LayerSizeUnit;
overlay: boolean;
overlayTransparency: number;
overlayColor: string;
hideCloseBtn: boolean;
placement: import("lz-schema").Placement;
animationIn: import("lz-schema").LayerAnimation;
animationOut: import("lz-schema").LayerAnimation;
createdById: string;
updatedById: string;
bgColor?: string | undefined;
}[]>;
}
{
"name": "lz-api-client",
"version": "0.9.1",
"version": "0.10.0",
"description": "client sdk for layerZ api",

@@ -34,4 +34,4 @@ "main": "dist/index.js",

"dependencies": {
"lz-schema": "^0.10.6"
"lz-schema": "^0.11.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc