@getlatedev/node
Advanced tools
+8
-1
@@ -510,2 +510,8 @@ "use strict"; | ||
| }; | ||
| var updatePostMetadata = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/posts/{postId}/update-metadata" | ||
| }); | ||
| }; | ||
| var listUsers = (options) => { | ||
@@ -1820,3 +1826,4 @@ return (options?.client ?? client).get({ | ||
| retryPost, | ||
| unpublishPost | ||
| unpublishPost, | ||
| updatePostMetadata | ||
| }; | ||
@@ -1823,0 +1830,0 @@ /** |
+8
-1
@@ -479,2 +479,8 @@ var __defProp = Object.defineProperty; | ||
| }; | ||
| var updatePostMetadata = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/posts/{postId}/update-metadata" | ||
| }); | ||
| }; | ||
| var listUsers = (options) => { | ||
@@ -1789,3 +1795,4 @@ return (options?.client ?? client).get({ | ||
| retryPost, | ||
| unpublishPost | ||
| unpublishPost, | ||
| updatePostMetadata | ||
| }; | ||
@@ -1792,0 +1799,0 @@ /** |
+1
-1
| { | ||
| "name": "@getlatedev/node", | ||
| "version": "0.2.19", | ||
| "version": "0.2.20", | ||
| "description": "The official Node.js library for the Zernio API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+1
-0
@@ -177,2 +177,3 @@ <p align="center"> | ||
| | `posts.updatePost()` | Update post | | ||
| | `posts.updatePostMetadata()` | Update post metadata | | ||
| | `posts.deletePost()` | Delete post | | ||
@@ -179,0 +180,0 @@ | `posts.retryPost()` | Retry failed post | |
+2
-0
@@ -214,2 +214,3 @@ import { | ||
| updatePost, | ||
| updatePostMetadata, | ||
| updateProfile, | ||
@@ -380,2 +381,3 @@ updateQueueSlot, | ||
| unpublishPost: unpublishPost, | ||
| updatePostMetadata: updatePostMetadata, | ||
| }; | ||
@@ -382,0 +384,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1220785
0.39%27515
0.4%545
0.18%