@getlatedev/node 0.2.589 → 0.2.591
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -7770,6 +7770,10 @@ type WebhookPayloadComment = {
|
|
|
7770
7770
|
username?: string;
|
|
7771
7771
|
name?: string;
|
|
7772
7772
|
picture?: (string) | null;
|
|
7773
|
+
/**
|
|
7774
|
+
* True when this comment was authored by the connected account itself (Meta re-delivers the account's own replies as comments events). Populated on the Instagram and Facebook realtime webhooks only; absent means not evaluated, never "not the account".
|
|
7775
|
+
*/
|
|
7776
|
+
isOwnAccount?: boolean;
|
|
7773
7777
|
/**
|
|
7774
7778
|
* Instagram only, best-effort. Present ONLY for commenters who have
|
|
7775
7779
|
* messaged the account before: Meta gates the follow relationship behind
|
|
@@ -17587,6 +17591,10 @@ type CreateInboxConversationData = {
|
|
|
17587
17591
|
* WhatsApp only (Meta Direct Send). Combined with message and without templateName, starts the conversation with a business-initiated UTILITY message and no pre-approved template; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Cannot be combined with templateName (templates are already categorized at creation). Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
17588
17592
|
*/
|
|
17589
17593
|
category?: 'utility';
|
|
17594
|
+
/**
|
|
17595
|
+
* WhatsApp only. Set false to send the Direct Send (category: 'utility') text message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Does not apply to template sends. Accepted on the JSON body only, not on multipart requests.
|
|
17596
|
+
*/
|
|
17597
|
+
linkPreview?: boolean;
|
|
17590
17598
|
/**
|
|
17591
17599
|
* WhatsApp only. Template language code (e.g. en_US).
|
|
17592
17600
|
*/
|
|
@@ -18083,6 +18091,10 @@ type SendInboxMessageData = {
|
|
|
18083
18091
|
* WhatsApp only (Meta Direct Send). Sends this message as a business-initiated UTILITY message without an approved template, for example outside the 24-hour customer service window; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Supported only for text messages (link preview ok) and interactive messages (reply buttons, CTA URL buttons, voice-call button, header of text/image/video/document). Cannot be combined with template, attachments, location, or contacts. Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
18084
18092
|
*/
|
|
18085
18093
|
category?: 'utility';
|
|
18094
|
+
/**
|
|
18095
|
+
* WhatsApp only. Set false to send the message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Ignored on other platforms. Accepted on the JSON body only, not on multipart requests.
|
|
18096
|
+
*/
|
|
18097
|
+
linkPreview?: boolean;
|
|
18086
18098
|
/**
|
|
18087
18099
|
* Type of attachment. Defaults to file if not specified.
|
|
18088
18100
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -7770,6 +7770,10 @@ type WebhookPayloadComment = {
|
|
|
7770
7770
|
username?: string;
|
|
7771
7771
|
name?: string;
|
|
7772
7772
|
picture?: (string) | null;
|
|
7773
|
+
/**
|
|
7774
|
+
* True when this comment was authored by the connected account itself (Meta re-delivers the account's own replies as comments events). Populated on the Instagram and Facebook realtime webhooks only; absent means not evaluated, never "not the account".
|
|
7775
|
+
*/
|
|
7776
|
+
isOwnAccount?: boolean;
|
|
7773
7777
|
/**
|
|
7774
7778
|
* Instagram only, best-effort. Present ONLY for commenters who have
|
|
7775
7779
|
* messaged the account before: Meta gates the follow relationship behind
|
|
@@ -17587,6 +17591,10 @@ type CreateInboxConversationData = {
|
|
|
17587
17591
|
* WhatsApp only (Meta Direct Send). Combined with message and without templateName, starts the conversation with a business-initiated UTILITY message and no pre-approved template; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Cannot be combined with templateName (templates are already categorized at creation). Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
17588
17592
|
*/
|
|
17589
17593
|
category?: 'utility';
|
|
17594
|
+
/**
|
|
17595
|
+
* WhatsApp only. Set false to send the Direct Send (category: 'utility') text message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Does not apply to template sends. Accepted on the JSON body only, not on multipart requests.
|
|
17596
|
+
*/
|
|
17597
|
+
linkPreview?: boolean;
|
|
17590
17598
|
/**
|
|
17591
17599
|
* WhatsApp only. Template language code (e.g. en_US).
|
|
17592
17600
|
*/
|
|
@@ -18083,6 +18091,10 @@ type SendInboxMessageData = {
|
|
|
18083
18091
|
* WhatsApp only (Meta Direct Send). Sends this message as a business-initiated UTILITY message without an approved template, for example outside the 24-hour customer service window; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Supported only for text messages (link preview ok) and interactive messages (reply buttons, CTA URL buttons, voice-call button, header of text/image/video/document). Cannot be combined with template, attachments, location, or contacts. Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
18084
18092
|
*/
|
|
18085
18093
|
category?: 'utility';
|
|
18094
|
+
/**
|
|
18095
|
+
* WhatsApp only. Set false to send the message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Ignored on other platforms. Accepted on the JSON body only, not on multipart requests.
|
|
18096
|
+
*/
|
|
18097
|
+
linkPreview?: boolean;
|
|
18086
18098
|
/**
|
|
18087
18099
|
* Type of attachment. Defaults to file if not specified.
|
|
18088
18100
|
*/
|
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.591",
|
|
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.591",
|
|
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
|
@@ -6731,6 +6731,10 @@ export type WebhookPayloadComment = {
|
|
|
6731
6731
|
username?: string;
|
|
6732
6732
|
name?: string;
|
|
6733
6733
|
picture?: (string) | null;
|
|
6734
|
+
/**
|
|
6735
|
+
* True when this comment was authored by the connected account itself (Meta re-delivers the account's own replies as comments events). Populated on the Instagram and Facebook realtime webhooks only; absent means not evaluated, never "not the account".
|
|
6736
|
+
*/
|
|
6737
|
+
isOwnAccount?: boolean;
|
|
6734
6738
|
/**
|
|
6735
6739
|
* Instagram only, best-effort. Present ONLY for commenters who have
|
|
6736
6740
|
* messaged the account before: Meta gates the follow relationship behind
|
|
@@ -17216,6 +17220,10 @@ export type CreateInboxConversationData = {
|
|
|
17216
17220
|
* WhatsApp only (Meta Direct Send). Combined with message and without templateName, starts the conversation with a business-initiated UTILITY message and no pre-approved template; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Cannot be combined with templateName (templates are already categorized at creation). Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
17217
17221
|
*/
|
|
17218
17222
|
category?: 'utility';
|
|
17223
|
+
/**
|
|
17224
|
+
* WhatsApp only. Set false to send the Direct Send (category: 'utility') text message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Does not apply to template sends. Accepted on the JSON body only, not on multipart requests.
|
|
17225
|
+
*/
|
|
17226
|
+
linkPreview?: boolean;
|
|
17219
17227
|
/**
|
|
17220
17228
|
* WhatsApp only. Template language code (e.g. en_US).
|
|
17221
17229
|
*/
|
|
@@ -17727,6 +17735,10 @@ export type SendInboxMessageData = {
|
|
|
17727
17735
|
* WhatsApp only (Meta Direct Send). Sends this message as a business-initiated UTILITY message without an approved template, for example outside the 24-hour customer service window; Meta matches or auto-creates a template asynchronously. The WhatsApp Business Account must be eligible for Direct Send, otherwise the send fails with an error telling you to use an approved message template instead. Supported only for text messages (link preview ok) and interactive messages (reply buttons, CTA URL buttons, voice-call button, header of text/image/video/document). Cannot be combined with template, attachments, location, or contacts. Utility messages only; marketing content is not allowed under this category. Accepted on the JSON body only, not on multipart requests.
|
|
17728
17736
|
*/
|
|
17729
17737
|
category?: 'utility';
|
|
17738
|
+
/**
|
|
17739
|
+
* WhatsApp only. Set false to send the message without a link-preview thumbnail for the first URL in the text. Defaults to true, which is how every WhatsApp text has been sent to date. Ignored on other platforms. Accepted on the JSON body only, not on multipart requests.
|
|
17740
|
+
*/
|
|
17741
|
+
linkPreview?: boolean;
|
|
17730
17742
|
/**
|
|
17731
17743
|
* Type of attachment. Defaults to file if not specified.
|
|
17732
17744
|
*/
|