lz-api-client
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -1,2 +0,2 @@ | ||
import type { CreateRenderBody, InsertedId, SearchFieldsQuery, UpdateRenderBody } from 'lz-schema'; | ||
import type { CreateRenderBody, InsertedId, SearchFieldsQuery } from 'lz-schema'; | ||
import type { Client } from '../Client'; | ||
@@ -17,3 +17,2 @@ export declare class RenderService { | ||
createdAt: number; | ||
updatedAt: number; | ||
layerId: string; | ||
@@ -33,3 +32,2 @@ }[]>; | ||
createdAt: number; | ||
updatedAt: number; | ||
layerId: string; | ||
@@ -44,10 +42,2 @@ }>; | ||
/** | ||
* Update render details by id | ||
* @throws { ClientError } | ||
* @throws { ServerError } | ||
*/ | ||
update({ id, ...body }: UpdateRenderBody & { | ||
id: string; | ||
}): Promise<null>; | ||
/** | ||
* Delete render by id | ||
@@ -54,0 +44,0 @@ * @throws { ClientError } |
"use strict"; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -45,11 +34,2 @@ exports.RenderService = void 0; | ||
/** | ||
* Update render details by id | ||
* @throws { ClientError } | ||
* @throws { ServerError } | ||
*/ | ||
update(_a) { | ||
var { id } = _a, body = __rest(_a, ["id"]); | ||
return this.client.post(`/renders/${id}`, body); | ||
} | ||
/** | ||
* Delete render by id | ||
@@ -56,0 +36,0 @@ * @throws { ClientError } |
{ | ||
"name": "lz-api-client", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"description": "client sdk for layerZ api", | ||
@@ -34,4 +34,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"lz-schema": "^0.13.8" | ||
"lz-schema": "^0.14.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
82610
1605
18
+ Addedlz-schema@0.14.0(transitive)
- Removedlz-schema@0.13.8(transitive)
Updatedlz-schema@^0.14.0