@getlatedev/node 0.2.1475 → 0.2.1477
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 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -15239,7 +15239,7 @@ type Post = {
|
|
|
15239
15239
|
*/
|
|
15240
15240
|
hashtags?: Array<(string)>;
|
|
15241
15241
|
/**
|
|
15242
|
-
* Stored for reference only.
|
|
15242
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
15243
15243
|
*/
|
|
15244
15244
|
mentions?: Array<(string)>;
|
|
15245
15245
|
visibility?: 'public' | 'private' | 'unlisted';
|
|
@@ -20755,7 +20755,7 @@ type WebhookPayloadCommerceProduct = {
|
|
|
20755
20755
|
type event34 = 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted';
|
|
20756
20756
|
type type22 = 'product';
|
|
20757
20757
|
/**
|
|
20758
|
-
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. Read the contact with `GET /v1/contacts/{id}`.
|
|
20758
|
+
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. contact.updated also fires after a WhatsApp coexistence address-book change (WhatsApp never fires contact.deleted). Read the contact with `GET /v1/contacts/{id}`.
|
|
20759
20759
|
*/
|
|
20760
20760
|
type WebhookPayloadContact = {
|
|
20761
20761
|
id: string;
|
|
@@ -27929,7 +27929,7 @@ type CreatePostData = {
|
|
|
27929
27929
|
*/
|
|
27930
27930
|
title?: string;
|
|
27931
27931
|
/**
|
|
27932
|
-
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
27932
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
27933
27933
|
*/
|
|
27934
27934
|
content?: string;
|
|
27935
27935
|
/**
|
|
@@ -28015,7 +28015,7 @@ type CreatePostData = {
|
|
|
28015
28015
|
*/
|
|
28016
28016
|
hashtags?: Array<(string)>;
|
|
28017
28017
|
/**
|
|
28018
|
-
* Stored for reference only.
|
|
28018
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
28019
28019
|
*/
|
|
28020
28020
|
mentions?: Array<(string)>;
|
|
28021
28021
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -15239,7 +15239,7 @@ type Post = {
|
|
|
15239
15239
|
*/
|
|
15240
15240
|
hashtags?: Array<(string)>;
|
|
15241
15241
|
/**
|
|
15242
|
-
* Stored for reference only.
|
|
15242
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
15243
15243
|
*/
|
|
15244
15244
|
mentions?: Array<(string)>;
|
|
15245
15245
|
visibility?: 'public' | 'private' | 'unlisted';
|
|
@@ -20755,7 +20755,7 @@ type WebhookPayloadCommerceProduct = {
|
|
|
20755
20755
|
type event34 = 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted';
|
|
20756
20756
|
type type22 = 'product';
|
|
20757
20757
|
/**
|
|
20758
|
-
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. Read the contact with `GET /v1/contacts/{id}`.
|
|
20758
|
+
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. contact.updated also fires after a WhatsApp coexistence address-book change (WhatsApp never fires contact.deleted). Read the contact with `GET /v1/contacts/{id}`.
|
|
20759
20759
|
*/
|
|
20760
20760
|
type WebhookPayloadContact = {
|
|
20761
20761
|
id: string;
|
|
@@ -27929,7 +27929,7 @@ type CreatePostData = {
|
|
|
27929
27929
|
*/
|
|
27930
27930
|
title?: string;
|
|
27931
27931
|
/**
|
|
27932
|
-
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
27932
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
27933
27933
|
*/
|
|
27934
27934
|
content?: string;
|
|
27935
27935
|
/**
|
|
@@ -28015,7 +28015,7 @@ type CreatePostData = {
|
|
|
28015
28015
|
*/
|
|
28016
28016
|
hashtags?: Array<(string)>;
|
|
28017
28017
|
/**
|
|
28018
|
-
* Stored for reference only.
|
|
28018
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
28019
28019
|
*/
|
|
28020
28020
|
mentions?: Array<(string)>;
|
|
28021
28021
|
/**
|
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.1477",
|
|
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.1477",
|
|
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
|
@@ -1709,6 +1709,8 @@ export const listPosts = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
1709
1709
|
* Create post
|
|
1710
1710
|
* Create a post, and optionally publish it in the same request. A post published immediately (`publishNow: true`) comes back with `platformPostUrl` in the response.
|
|
1711
1711
|
*
|
|
1712
|
+
* ## Optional content
|
|
1713
|
+
*
|
|
1712
1714
|
* `content` is optional in four cases:
|
|
1713
1715
|
*
|
|
1714
1716
|
* - media is attached
|
|
@@ -13532,7 +13532,7 @@ export type Post = {
|
|
|
13532
13532
|
*/
|
|
13533
13533
|
hashtags?: Array<(string)>;
|
|
13534
13534
|
/**
|
|
13535
|
-
* Stored for reference only.
|
|
13535
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
13536
13536
|
*/
|
|
13537
13537
|
mentions?: Array<(string)>;
|
|
13538
13538
|
visibility?: 'public' | 'private' | 'unlisted';
|
|
@@ -19302,7 +19302,7 @@ export type event34 = 'commerce.product.created' | 'commerce.product.updated' |
|
|
|
19302
19302
|
export type type22 = 'product';
|
|
19303
19303
|
|
|
19304
19304
|
/**
|
|
19305
|
-
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. Read the contact with `GET /v1/contacts/{id}`.
|
|
19305
|
+
* Webhook payload for contact.updated and contact.deleted, fired after a provider contacts sync (Google Contacts, Outlook) changed a contact. contact.updated also fires after a WhatsApp coexistence address-book change (WhatsApp never fires contact.deleted). Read the contact with `GET /v1/contacts/{id}`.
|
|
19306
19306
|
*/
|
|
19307
19307
|
export type WebhookPayloadContact = {
|
|
19308
19308
|
id: string;
|
|
@@ -26883,7 +26883,7 @@ export type CreatePostData = {
|
|
|
26883
26883
|
*/
|
|
26884
26884
|
title?: string;
|
|
26885
26885
|
/**
|
|
26886
|
-
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
26886
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
26887
26887
|
*/
|
|
26888
26888
|
content?: string;
|
|
26889
26889
|
/**
|
|
@@ -26969,7 +26969,7 @@ export type CreatePostData = {
|
|
|
26969
26969
|
*/
|
|
26970
26970
|
hashtags?: Array<(string)>;
|
|
26971
26971
|
/**
|
|
26972
|
-
* Stored for reference only.
|
|
26972
|
+
* Stored for reference only. Publishing does not create mentions from this field.
|
|
26973
26973
|
*/
|
|
26974
26974
|
mentions?: Array<(string)>;
|
|
26975
26975
|
/**
|