@getlatedev/node 0.2.1390 → 0.2.1391
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +9 -3
package/dist/index.d.mts
CHANGED
|
@@ -13142,7 +13142,7 @@ type LinkedInPlatformData = {
|
|
|
13142
13142
|
*/
|
|
13143
13143
|
organizationUrn?: string;
|
|
13144
13144
|
/**
|
|
13145
|
-
* Optional first comment to add after the post is created. Mention
|
|
13145
|
+
* Optional first comment to add after the post is created. Mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
13146
13146
|
*/
|
|
13147
13147
|
firstComment?: string;
|
|
13148
13148
|
/**
|
|
@@ -38798,7 +38798,7 @@ type ReplyToInboxPostData = {
|
|
|
38798
38798
|
body: {
|
|
38799
38799
|
accountId: string;
|
|
38800
38800
|
/**
|
|
38801
|
-
* Reply text. On LinkedIn, mention with @[
|
|
38801
|
+
* Reply text. On LinkedIn, mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
38802
38802
|
*/
|
|
38803
38803
|
message: string;
|
|
38804
38804
|
/**
|
|
@@ -38853,7 +38853,13 @@ type ReplyToInboxPostResponse = ({
|
|
|
38853
38853
|
cid?: (string) | null;
|
|
38854
38854
|
};
|
|
38855
38855
|
});
|
|
38856
|
-
type ReplyToInboxPostError = (
|
|
38856
|
+
type ReplyToInboxPostError = ({
|
|
38857
|
+
error?: string;
|
|
38858
|
+
code?: string;
|
|
38859
|
+
details?: {
|
|
38860
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38861
|
+
};
|
|
38862
|
+
} | ErrorResponse | unknown);
|
|
38857
38863
|
type DeleteInboxCommentData = {
|
|
38858
38864
|
path: {
|
|
38859
38865
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -13142,7 +13142,7 @@ type LinkedInPlatformData = {
|
|
|
13142
13142
|
*/
|
|
13143
13143
|
organizationUrn?: string;
|
|
13144
13144
|
/**
|
|
13145
|
-
* Optional first comment to add after the post is created. Mention
|
|
13145
|
+
* Optional first comment to add after the post is created. Mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
13146
13146
|
*/
|
|
13147
13147
|
firstComment?: string;
|
|
13148
13148
|
/**
|
|
@@ -38798,7 +38798,7 @@ type ReplyToInboxPostData = {
|
|
|
38798
38798
|
body: {
|
|
38799
38799
|
accountId: string;
|
|
38800
38800
|
/**
|
|
38801
|
-
* Reply text. On LinkedIn, mention with @[
|
|
38801
|
+
* Reply text. On LinkedIn, mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
38802
38802
|
*/
|
|
38803
38803
|
message: string;
|
|
38804
38804
|
/**
|
|
@@ -38853,7 +38853,13 @@ type ReplyToInboxPostResponse = ({
|
|
|
38853
38853
|
cid?: (string) | null;
|
|
38854
38854
|
};
|
|
38855
38855
|
});
|
|
38856
|
-
type ReplyToInboxPostError = (
|
|
38856
|
+
type ReplyToInboxPostError = ({
|
|
38857
|
+
error?: string;
|
|
38858
|
+
code?: string;
|
|
38859
|
+
details?: {
|
|
38860
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38861
|
+
};
|
|
38862
|
+
} | ErrorResponse | unknown);
|
|
38857
38863
|
type DeleteInboxCommentData = {
|
|
38858
38864
|
path: {
|
|
38859
38865
|
/**
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1391",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1391",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1574,14 +1574,14 @@ export const listPosts = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
1574
1574
|
*
|
|
1575
1575
|
* ## LinkedIn @mentions
|
|
1576
1576
|
*
|
|
1577
|
-
* Mention a person or company by putting its LinkedIn URL inside `@[...]`, in `content
|
|
1577
|
+
* Mention a person or company by putting its LinkedIn URL inside `@[...]`, in `content`, a LinkedIn entry's `customContent` or its `platformSpecificData.firstComment`. The post is published with LinkedIn's real name and link, with no lookup call first.
|
|
1578
1578
|
*
|
|
1579
1579
|
* - Person: `@[https://www.linkedin.com/in/jane-doe]`
|
|
1580
1580
|
* - Company: `@[https://www.linkedin.com/company/acme]`
|
|
1581
1581
|
* - Your own text: `@[Jane](https://www.linkedin.com/in/jane-doe)`. For a person it must be the first, last or full name, for a company the exact company name, both case-sensitive. Other text is replaced with LinkedIn's name and returns a `linkedin_mention_name_replaced` warning.
|
|
1582
1582
|
* - `@[Text](urn:li:person:ID)`, as returned by `GET /v1/accounts/{accountId}/linkedin-mentions`: published exactly as written, with no lookup, so its text must already be LinkedIn's name.
|
|
1583
1583
|
*
|
|
1584
|
-
* A post can resolve at most 10 profile or company URL mentions across its shared content and
|
|
1584
|
+
* A post can resolve at most 10 profile or company URL mentions across its shared content, LinkedIn entries and first comments. Resolving a person's profile URL needs one of your LinkedIn accounts to administer a Page; publishing does not.
|
|
1585
1585
|
*
|
|
1586
1586
|
* ### When a mention can't be resolved
|
|
1587
1587
|
*
|
|
@@ -11367,7 +11367,7 @@ export type LinkedInPlatformData = {
|
|
|
11367
11367
|
*/
|
|
11368
11368
|
organizationUrn?: string;
|
|
11369
11369
|
/**
|
|
11370
|
-
* Optional first comment to add after the post is created. Mention
|
|
11370
|
+
* Optional first comment to add after the post is created. Mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
11371
11371
|
*/
|
|
11372
11372
|
firstComment?: string;
|
|
11373
11373
|
/**
|
|
@@ -38566,7 +38566,7 @@ export type ReplyToInboxPostData = {
|
|
|
38566
38566
|
body: {
|
|
38567
38567
|
accountId: string;
|
|
38568
38568
|
/**
|
|
38569
|
-
* Reply text. On LinkedIn, mention with @[
|
|
38569
|
+
* Reply text. On LinkedIn, mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.
|
|
38570
38570
|
*/
|
|
38571
38571
|
message: string;
|
|
38572
38572
|
/**
|
|
@@ -38623,7 +38623,13 @@ export type ReplyToInboxPostResponse = ({
|
|
|
38623
38623
|
};
|
|
38624
38624
|
});
|
|
38625
38625
|
|
|
38626
|
-
export type ReplyToInboxPostError = (
|
|
38626
|
+
export type ReplyToInboxPostError = ({
|
|
38627
|
+
error?: string;
|
|
38628
|
+
code?: string;
|
|
38629
|
+
details?: {
|
|
38630
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38631
|
+
};
|
|
38632
|
+
} | ErrorResponse | unknown);
|
|
38627
38633
|
|
|
38628
38634
|
export type DeleteInboxCommentData = {
|
|
38629
38635
|
path: {
|