@getlatedev/node 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6032,6 +6032,11 @@ type GetInboxPostCommentsData = {
6032
6032
  path: {
6033
6033
  /**
6034
6034
  * The post identifier. Accepts a Late post ID (MongoDB ObjectId) which is automatically resolved to the platform-specific post ID, or a platform-specific post ID directly (e.g. tweet ID, Facebook Graph ID, YouTube video ID).
6035
+ *
6036
+ * **LinkedIn:** For your own posts, the full URN stored in Late (e.g., `urn:li:share:7429218977714745345`) is used automatically.
6037
+ * For third-party posts, pass either the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the LinkedIn URL (automatically wrapped as `urn:li:activity:`).
6038
+ * Note: LinkedIn post URLs use activity IDs (`linkedin.com/feed/update/urn:li:activity:XXXX`).
6039
+ *
6035
6040
  */
6036
6041
  postId: string;
6037
6042
  };
@@ -6166,6 +6171,9 @@ type ReplyToInboxPostData = {
6166
6171
  path: {
6167
6172
  /**
6168
6173
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6174
+ *
6175
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6176
+ *
6169
6177
  */
6170
6178
  postId: string;
6171
6179
  };
@@ -6188,6 +6196,9 @@ type DeleteInboxCommentData = {
6188
6196
  path: {
6189
6197
  /**
6190
6198
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6199
+ *
6200
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6201
+ *
6191
6202
  */
6192
6203
  postId: string;
6193
6204
  };
package/dist/index.d.ts CHANGED
@@ -6032,6 +6032,11 @@ type GetInboxPostCommentsData = {
6032
6032
  path: {
6033
6033
  /**
6034
6034
  * The post identifier. Accepts a Late post ID (MongoDB ObjectId) which is automatically resolved to the platform-specific post ID, or a platform-specific post ID directly (e.g. tweet ID, Facebook Graph ID, YouTube video ID).
6035
+ *
6036
+ * **LinkedIn:** For your own posts, the full URN stored in Late (e.g., `urn:li:share:7429218977714745345`) is used automatically.
6037
+ * For third-party posts, pass either the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the LinkedIn URL (automatically wrapped as `urn:li:activity:`).
6038
+ * Note: LinkedIn post URLs use activity IDs (`linkedin.com/feed/update/urn:li:activity:XXXX`).
6039
+ *
6035
6040
  */
6036
6041
  postId: string;
6037
6042
  };
@@ -6166,6 +6171,9 @@ type ReplyToInboxPostData = {
6166
6171
  path: {
6167
6172
  /**
6168
6173
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6174
+ *
6175
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6176
+ *
6169
6177
  */
6170
6178
  postId: string;
6171
6179
  };
@@ -6188,6 +6196,9 @@ type DeleteInboxCommentData = {
6188
6196
  path: {
6189
6197
  /**
6190
6198
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6199
+ *
6200
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6201
+ *
6191
6202
  */
6192
6203
  postId: string;
6193
6204
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6112,6 +6112,11 @@ export type GetInboxPostCommentsData = {
6112
6112
  path: {
6113
6113
  /**
6114
6114
  * The post identifier. Accepts a Late post ID (MongoDB ObjectId) which is automatically resolved to the platform-specific post ID, or a platform-specific post ID directly (e.g. tweet ID, Facebook Graph ID, YouTube video ID).
6115
+ *
6116
+ * **LinkedIn:** For your own posts, the full URN stored in Late (e.g., `urn:li:share:7429218977714745345`) is used automatically.
6117
+ * For third-party posts, pass either the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the LinkedIn URL (automatically wrapped as `urn:li:activity:`).
6118
+ * Note: LinkedIn post URLs use activity IDs (`linkedin.com/feed/update/urn:li:activity:XXXX`).
6119
+ *
6115
6120
  */
6116
6121
  postId: string;
6117
6122
  };
@@ -6249,6 +6254,9 @@ export type ReplyToInboxPostData = {
6249
6254
  path: {
6250
6255
  /**
6251
6256
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6257
+ *
6258
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6259
+ *
6252
6260
  */
6253
6261
  postId: string;
6254
6262
  };
@@ -6274,6 +6282,9 @@ export type DeleteInboxCommentData = {
6274
6282
  path: {
6275
6283
  /**
6276
6284
  * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6285
+ *
6286
+ * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6287
+ *
6277
6288
  */
6278
6289
  postId: string;
6279
6290
  };