@getlatedev/node 0.2.1302 → 0.2.1303
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 +4 -6
- package/dist/index.d.ts +4 -6
- 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 +3 -5
package/dist/index.d.mts
CHANGED
|
@@ -237,7 +237,7 @@ declare class Zernio {
|
|
|
237
237
|
listBusinessPartners: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListBusinessPartnersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListBusinessPartnersResponse, unknown, ThrowOnError>;
|
|
238
238
|
grantBusinessPartner: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GrantBusinessPartnerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GrantBusinessPartnerResponse, unknown, ThrowOnError>;
|
|
239
239
|
revokeBusinessPartner: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RevokeBusinessPartnerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RevokeBusinessPartnerResponse, unknown, ThrowOnError>;
|
|
240
|
-
getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInMentionsResponse,
|
|
240
|
+
getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInMentionsResponse, ErrorResponse, ThrowOnError>;
|
|
241
241
|
getHubSpotSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetHubSpotSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetHubSpotSettingsResponse, unknown, ThrowOnError>;
|
|
242
242
|
updateHubSpotSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateHubSpotSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateHubSpotSettingsResponse, unknown, ThrowOnError>;
|
|
243
243
|
getSlackSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSlackSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSlackSettingsResponse, unknown, ThrowOnError>;
|
|
@@ -28040,7 +28040,7 @@ type GetLinkedInMentionsData = {
|
|
|
28040
28040
|
};
|
|
28041
28041
|
query: {
|
|
28042
28042
|
/**
|
|
28043
|
-
*
|
|
28043
|
+
* Optional override for a person's mention text. When omitted, the real name is resolved from LinkedIn. Ignored for org mentions, which always use the organization's LinkedIn name.
|
|
28044
28044
|
*/
|
|
28045
28045
|
displayName?: string;
|
|
28046
28046
|
/**
|
|
@@ -28071,13 +28071,11 @@ type GetLinkedInMentionsResponse = ({
|
|
|
28071
28071
|
*/
|
|
28072
28072
|
vanityName?: string;
|
|
28073
28073
|
/**
|
|
28074
|
-
*
|
|
28074
|
+
* Only present for person mentions when displayName was not provided and the real name could not be resolved from LinkedIn
|
|
28075
28075
|
*/
|
|
28076
28076
|
warning?: string;
|
|
28077
28077
|
});
|
|
28078
|
-
type GetLinkedInMentionsError = (
|
|
28079
|
-
error?: string;
|
|
28080
|
-
} | ErrorResponse);
|
|
28078
|
+
type GetLinkedInMentionsError = (ErrorResponse);
|
|
28081
28079
|
type ListInstagramStoriesData = {
|
|
28082
28080
|
path: {
|
|
28083
28081
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -237,7 +237,7 @@ declare class Zernio {
|
|
|
237
237
|
listBusinessPartners: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListBusinessPartnersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListBusinessPartnersResponse, unknown, ThrowOnError>;
|
|
238
238
|
grantBusinessPartner: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GrantBusinessPartnerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GrantBusinessPartnerResponse, unknown, ThrowOnError>;
|
|
239
239
|
revokeBusinessPartner: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RevokeBusinessPartnerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RevokeBusinessPartnerResponse, unknown, ThrowOnError>;
|
|
240
|
-
getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInMentionsResponse,
|
|
240
|
+
getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInMentionsResponse, ErrorResponse, ThrowOnError>;
|
|
241
241
|
getHubSpotSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetHubSpotSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetHubSpotSettingsResponse, unknown, ThrowOnError>;
|
|
242
242
|
updateHubSpotSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateHubSpotSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateHubSpotSettingsResponse, unknown, ThrowOnError>;
|
|
243
243
|
getSlackSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSlackSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSlackSettingsResponse, unknown, ThrowOnError>;
|
|
@@ -28040,7 +28040,7 @@ type GetLinkedInMentionsData = {
|
|
|
28040
28040
|
};
|
|
28041
28041
|
query: {
|
|
28042
28042
|
/**
|
|
28043
|
-
*
|
|
28043
|
+
* Optional override for a person's mention text. When omitted, the real name is resolved from LinkedIn. Ignored for org mentions, which always use the organization's LinkedIn name.
|
|
28044
28044
|
*/
|
|
28045
28045
|
displayName?: string;
|
|
28046
28046
|
/**
|
|
@@ -28071,13 +28071,11 @@ type GetLinkedInMentionsResponse = ({
|
|
|
28071
28071
|
*/
|
|
28072
28072
|
vanityName?: string;
|
|
28073
28073
|
/**
|
|
28074
|
-
*
|
|
28074
|
+
* Only present for person mentions when displayName was not provided and the real name could not be resolved from LinkedIn
|
|
28075
28075
|
*/
|
|
28076
28076
|
warning?: string;
|
|
28077
28077
|
});
|
|
28078
|
-
type GetLinkedInMentionsError = (
|
|
28079
|
-
error?: string;
|
|
28080
|
-
} | ErrorResponse);
|
|
28078
|
+
type GetLinkedInMentionsError = (ErrorResponse);
|
|
28081
28079
|
type ListInstagramStoriesData = {
|
|
28082
28080
|
path: {
|
|
28083
28081
|
/**
|
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.1303",
|
|
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.1303",
|
|
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
|
@@ -3055,9 +3055,9 @@ export const updateLinkedInOrganization = <ThrowOnError extends boolean = false>
|
|
|
3055
3055
|
* Important: The mentions array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text.
|
|
3056
3056
|
*
|
|
3057
3057
|
* Requirements:
|
|
3058
|
-
* -
|
|
3058
|
+
* - Resolving a profile URL to a person mention requires the LinkedIn account to be admin of at least one organization: both endpoints that resolve a profile URL to a member URN take an organization you administer. A resolved person mention publishes from any account. Organization mentions (e.g. @Microsoft) have no such requirement.
|
|
3059
3059
|
* - The two are not scoped alike. peopleTypeahead?q=organizationFollowers only returns that organization's followers; vanityUrl?q=vanityUrlAsOrganization does not, and its resolvable set is opaque. A 404 here does not mean the person is unknown to you or unknown to LinkedIn: a live public profile can 404 with no reason given.
|
|
3060
|
-
* -
|
|
3060
|
+
* - displayName is optional: the endpoint looks up the person's real name itself. LinkedIn renders a person mention as a link when the mention text is the person's first name, last name or full name (case-sensitive).
|
|
3061
3061
|
* - Person mentions DO work when published from personal profiles (the URN only needs to be valid). The limitation is only in the resolution step (URL to URN), not in publishing.
|
|
3062
3062
|
*
|
|
3063
3063
|
*/
|
|
@@ -27241,7 +27241,7 @@ export type GetLinkedInMentionsData = {
|
|
|
27241
27241
|
};
|
|
27242
27242
|
query: {
|
|
27243
27243
|
/**
|
|
27244
|
-
*
|
|
27244
|
+
* Optional override for a person's mention text. When omitted, the real name is resolved from LinkedIn. Ignored for org mentions, which always use the organization's LinkedIn name.
|
|
27245
27245
|
*/
|
|
27246
27246
|
displayName?: string;
|
|
27247
27247
|
/**
|
|
@@ -27273,14 +27273,12 @@ export type GetLinkedInMentionsResponse = ({
|
|
|
27273
27273
|
*/
|
|
27274
27274
|
vanityName?: string;
|
|
27275
27275
|
/**
|
|
27276
|
-
*
|
|
27276
|
+
* Only present for person mentions when displayName was not provided and the real name could not be resolved from LinkedIn
|
|
27277
27277
|
*/
|
|
27278
27278
|
warning?: string;
|
|
27279
27279
|
});
|
|
27280
27280
|
|
|
27281
|
-
export type GetLinkedInMentionsError = (
|
|
27282
|
-
error?: string;
|
|
27283
|
-
} | ErrorResponse);
|
|
27281
|
+
export type GetLinkedInMentionsError = (ErrorResponse);
|
|
27284
27282
|
|
|
27285
27283
|
export type ListInstagramStoriesData = {
|
|
27286
27284
|
path: {
|