@getlatedev/node 0.2.1389 → 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 +13 -3
- package/dist/index.d.ts +13 -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 +13 -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
|
/**
|
|
@@ -34222,6 +34222,10 @@ type UpdateSlackSettingsData = {
|
|
|
34222
34222
|
* Author avatar image URL. Empty string clears it.
|
|
34223
34223
|
*/
|
|
34224
34224
|
defaultIconUrl?: string;
|
|
34225
|
+
/**
|
|
34226
|
+
* Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
|
|
34227
|
+
*/
|
|
34228
|
+
applyToWorkspace?: boolean;
|
|
34225
34229
|
};
|
|
34226
34230
|
path: {
|
|
34227
34231
|
accountId: string;
|
|
@@ -38794,7 +38798,7 @@ type ReplyToInboxPostData = {
|
|
|
38794
38798
|
body: {
|
|
38795
38799
|
accountId: string;
|
|
38796
38800
|
/**
|
|
38797
|
-
* 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.
|
|
38798
38802
|
*/
|
|
38799
38803
|
message: string;
|
|
38800
38804
|
/**
|
|
@@ -38849,7 +38853,13 @@ type ReplyToInboxPostResponse = ({
|
|
|
38849
38853
|
cid?: (string) | null;
|
|
38850
38854
|
};
|
|
38851
38855
|
});
|
|
38852
|
-
type ReplyToInboxPostError = (
|
|
38856
|
+
type ReplyToInboxPostError = ({
|
|
38857
|
+
error?: string;
|
|
38858
|
+
code?: string;
|
|
38859
|
+
details?: {
|
|
38860
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38861
|
+
};
|
|
38862
|
+
} | ErrorResponse | unknown);
|
|
38853
38863
|
type DeleteInboxCommentData = {
|
|
38854
38864
|
path: {
|
|
38855
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
|
/**
|
|
@@ -34222,6 +34222,10 @@ type UpdateSlackSettingsData = {
|
|
|
34222
34222
|
* Author avatar image URL. Empty string clears it.
|
|
34223
34223
|
*/
|
|
34224
34224
|
defaultIconUrl?: string;
|
|
34225
|
+
/**
|
|
34226
|
+
* Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
|
|
34227
|
+
*/
|
|
34228
|
+
applyToWorkspace?: boolean;
|
|
34225
34229
|
};
|
|
34226
34230
|
path: {
|
|
34227
34231
|
accountId: string;
|
|
@@ -38794,7 +38798,7 @@ type ReplyToInboxPostData = {
|
|
|
38794
38798
|
body: {
|
|
38795
38799
|
accountId: string;
|
|
38796
38800
|
/**
|
|
38797
|
-
* 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.
|
|
38798
38802
|
*/
|
|
38799
38803
|
message: string;
|
|
38800
38804
|
/**
|
|
@@ -38849,7 +38853,13 @@ type ReplyToInboxPostResponse = ({
|
|
|
38849
38853
|
cid?: (string) | null;
|
|
38850
38854
|
};
|
|
38851
38855
|
});
|
|
38852
|
-
type ReplyToInboxPostError = (
|
|
38856
|
+
type ReplyToInboxPostError = ({
|
|
38857
|
+
error?: string;
|
|
38858
|
+
code?: string;
|
|
38859
|
+
details?: {
|
|
38860
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38861
|
+
};
|
|
38862
|
+
} | ErrorResponse | unknown);
|
|
38853
38863
|
type DeleteInboxCommentData = {
|
|
38854
38864
|
path: {
|
|
38855
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
|
/**
|
|
@@ -33640,6 +33640,10 @@ export type UpdateSlackSettingsData = {
|
|
|
33640
33640
|
* Author avatar image URL. Empty string clears it.
|
|
33641
33641
|
*/
|
|
33642
33642
|
defaultIconUrl?: string;
|
|
33643
|
+
/**
|
|
33644
|
+
* Applies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
|
|
33645
|
+
*/
|
|
33646
|
+
applyToWorkspace?: boolean;
|
|
33643
33647
|
};
|
|
33644
33648
|
path: {
|
|
33645
33649
|
accountId: string;
|
|
@@ -38562,7 +38566,7 @@ export type ReplyToInboxPostData = {
|
|
|
38562
38566
|
body: {
|
|
38563
38567
|
accountId: string;
|
|
38564
38568
|
/**
|
|
38565
|
-
* 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.
|
|
38566
38570
|
*/
|
|
38567
38571
|
message: string;
|
|
38568
38572
|
/**
|
|
@@ -38619,7 +38623,13 @@ export type ReplyToInboxPostResponse = ({
|
|
|
38619
38623
|
};
|
|
38620
38624
|
});
|
|
38621
38625
|
|
|
38622
|
-
export type ReplyToInboxPostError = (
|
|
38626
|
+
export type ReplyToInboxPostError = ({
|
|
38627
|
+
error?: string;
|
|
38628
|
+
code?: string;
|
|
38629
|
+
details?: {
|
|
38630
|
+
mentions?: Array<LinkedInMentionIssue>;
|
|
38631
|
+
};
|
|
38632
|
+
} | ErrorResponse | unknown);
|
|
38623
38633
|
|
|
38624
38634
|
export type DeleteInboxCommentData = {
|
|
38625
38635
|
path: {
|