@zernio/node 0.2.191 → 0.2.193
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 +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +34 -0
package/dist/index.d.mts
CHANGED
|
@@ -3681,6 +3681,10 @@ type TwitterPlatformData = {
|
|
|
3681
3681
|
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
3682
3682
|
*/
|
|
3683
3683
|
replyToTweetId?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* ID (or full status URL) of an existing tweet to quote-repost. The published tweet becomes a quote tweet of the target. Mutually exclusive with media and poll. X only permits quoting your own posts or posts you are mentioned in / part of the conversation thread of; quoting an arbitrary other account's post is rejected by X. Billed at the standard create rate ($0.015), unlike pasting a tweet URL into the text which is billed at the URL rate ($0.20). For threads, applies to the first tweet only.
|
|
3686
|
+
*/
|
|
3687
|
+
quoteTweetId?: string;
|
|
3684
3688
|
/**
|
|
3685
3689
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
|
3686
3690
|
*/
|
|
@@ -4257,9 +4261,19 @@ type WebhookPayloadCallEnded = {
|
|
|
4257
4261
|
recordingUrl?: string;
|
|
4258
4262
|
recordingExpiresAt?: string;
|
|
4259
4263
|
billing?: {
|
|
4264
|
+
/**
|
|
4265
|
+
* Meta per-minute charge. Billed by Meta DIRECTLY to your WhatsApp Business Account payment method (your separate Meta invoice). Zernio does NOT charge this. Display only.
|
|
4266
|
+
*/
|
|
4260
4267
|
metaCostUSD?: number;
|
|
4261
4268
|
telnyxCostUSD?: number;
|
|
4262
4269
|
recordingCostUSD?: number;
|
|
4270
|
+
/**
|
|
4271
|
+
* The amount Zernio bills you = Telnyx leg + recording. Excludes Meta (billed by Meta directly).
|
|
4272
|
+
*/
|
|
4273
|
+
billableCostUSD?: number;
|
|
4274
|
+
/**
|
|
4275
|
+
* Full economic cost incl. the Meta portion you pay directly (Meta + Telnyx + recording). Display only, not the Zernio-billed amount.
|
|
4276
|
+
*/
|
|
4263
4277
|
totalCostUSD?: number;
|
|
4264
4278
|
};
|
|
4265
4279
|
};
|
|
@@ -12996,9 +13010,19 @@ type ListWhatsAppCallsResponse = ({
|
|
|
12996
13010
|
endReason?: 'hangup' | 'no_answer' | 'rejected' | 'error';
|
|
12997
13011
|
recordingUrl?: string;
|
|
12998
13012
|
billing?: {
|
|
13013
|
+
/**
|
|
13014
|
+
* Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13015
|
+
*/
|
|
12999
13016
|
metaCostUSD?: number;
|
|
13000
13017
|
telnyxCostUSD?: number;
|
|
13001
13018
|
recordingCostUSD?: number;
|
|
13019
|
+
/**
|
|
13020
|
+
* Amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13021
|
+
*/
|
|
13022
|
+
billableCostUSD?: number;
|
|
13023
|
+
/**
|
|
13024
|
+
* Full cost incl. the Meta portion you pay directly. Display only.
|
|
13025
|
+
*/
|
|
13002
13026
|
totalCostUSD?: number;
|
|
13003
13027
|
currency?: string;
|
|
13004
13028
|
};
|
|
@@ -13036,9 +13060,19 @@ type GetWhatsAppCallEstimateResponse = ({
|
|
|
13036
13060
|
perMinuteUsd?: number;
|
|
13037
13061
|
breakdown?: {
|
|
13038
13062
|
metaMinutes?: number;
|
|
13063
|
+
/**
|
|
13064
|
+
* Estimated Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13065
|
+
*/
|
|
13039
13066
|
metaCostUSD?: number;
|
|
13040
13067
|
telnyxCostUSD?: number;
|
|
13041
13068
|
recordingCostUSD?: number;
|
|
13069
|
+
/**
|
|
13070
|
+
* Estimated amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13071
|
+
*/
|
|
13072
|
+
billableCostUSD?: number;
|
|
13073
|
+
/**
|
|
13074
|
+
* Estimated full cost incl. the Meta portion you pay directly. Display only.
|
|
13075
|
+
*/
|
|
13042
13076
|
totalCostUSD?: number;
|
|
13043
13077
|
};
|
|
13044
13078
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -3681,6 +3681,10 @@ type TwitterPlatformData = {
|
|
|
3681
3681
|
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
3682
3682
|
*/
|
|
3683
3683
|
replyToTweetId?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* ID (or full status URL) of an existing tweet to quote-repost. The published tweet becomes a quote tweet of the target. Mutually exclusive with media and poll. X only permits quoting your own posts or posts you are mentioned in / part of the conversation thread of; quoting an arbitrary other account's post is rejected by X. Billed at the standard create rate ($0.015), unlike pasting a tweet URL into the text which is billed at the URL rate ($0.20). For threads, applies to the first tweet only.
|
|
3686
|
+
*/
|
|
3687
|
+
quoteTweetId?: string;
|
|
3684
3688
|
/**
|
|
3685
3689
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
|
3686
3690
|
*/
|
|
@@ -4257,9 +4261,19 @@ type WebhookPayloadCallEnded = {
|
|
|
4257
4261
|
recordingUrl?: string;
|
|
4258
4262
|
recordingExpiresAt?: string;
|
|
4259
4263
|
billing?: {
|
|
4264
|
+
/**
|
|
4265
|
+
* Meta per-minute charge. Billed by Meta DIRECTLY to your WhatsApp Business Account payment method (your separate Meta invoice). Zernio does NOT charge this. Display only.
|
|
4266
|
+
*/
|
|
4260
4267
|
metaCostUSD?: number;
|
|
4261
4268
|
telnyxCostUSD?: number;
|
|
4262
4269
|
recordingCostUSD?: number;
|
|
4270
|
+
/**
|
|
4271
|
+
* The amount Zernio bills you = Telnyx leg + recording. Excludes Meta (billed by Meta directly).
|
|
4272
|
+
*/
|
|
4273
|
+
billableCostUSD?: number;
|
|
4274
|
+
/**
|
|
4275
|
+
* Full economic cost incl. the Meta portion you pay directly (Meta + Telnyx + recording). Display only, not the Zernio-billed amount.
|
|
4276
|
+
*/
|
|
4263
4277
|
totalCostUSD?: number;
|
|
4264
4278
|
};
|
|
4265
4279
|
};
|
|
@@ -12996,9 +13010,19 @@ type ListWhatsAppCallsResponse = ({
|
|
|
12996
13010
|
endReason?: 'hangup' | 'no_answer' | 'rejected' | 'error';
|
|
12997
13011
|
recordingUrl?: string;
|
|
12998
13012
|
billing?: {
|
|
13013
|
+
/**
|
|
13014
|
+
* Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13015
|
+
*/
|
|
12999
13016
|
metaCostUSD?: number;
|
|
13000
13017
|
telnyxCostUSD?: number;
|
|
13001
13018
|
recordingCostUSD?: number;
|
|
13019
|
+
/**
|
|
13020
|
+
* Amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13021
|
+
*/
|
|
13022
|
+
billableCostUSD?: number;
|
|
13023
|
+
/**
|
|
13024
|
+
* Full cost incl. the Meta portion you pay directly. Display only.
|
|
13025
|
+
*/
|
|
13002
13026
|
totalCostUSD?: number;
|
|
13003
13027
|
currency?: string;
|
|
13004
13028
|
};
|
|
@@ -13036,9 +13060,19 @@ type GetWhatsAppCallEstimateResponse = ({
|
|
|
13036
13060
|
perMinuteUsd?: number;
|
|
13037
13061
|
breakdown?: {
|
|
13038
13062
|
metaMinutes?: number;
|
|
13063
|
+
/**
|
|
13064
|
+
* Estimated Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13065
|
+
*/
|
|
13039
13066
|
metaCostUSD?: number;
|
|
13040
13067
|
telnyxCostUSD?: number;
|
|
13041
13068
|
recordingCostUSD?: number;
|
|
13069
|
+
/**
|
|
13070
|
+
* Estimated amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13071
|
+
*/
|
|
13072
|
+
billableCostUSD?: number;
|
|
13073
|
+
/**
|
|
13074
|
+
* Estimated full cost incl. the Meta portion you pay directly. Display only.
|
|
13075
|
+
*/
|
|
13042
13076
|
totalCostUSD?: number;
|
|
13043
13077
|
};
|
|
13044
13078
|
});
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.193",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.193",
|
|
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
|
@@ -3108,6 +3108,10 @@ export type TwitterPlatformData = {
|
|
|
3108
3108
|
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
3109
3109
|
*/
|
|
3110
3110
|
replyToTweetId?: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* ID (or full status URL) of an existing tweet to quote-repost. The published tweet becomes a quote tweet of the target. Mutually exclusive with media and poll. X only permits quoting your own posts or posts you are mentioned in / part of the conversation thread of; quoting an arbitrary other account's post is rejected by X. Billed at the standard create rate ($0.015), unlike pasting a tweet URL into the text which is billed at the URL rate ($0.20). For threads, applies to the first tweet only.
|
|
3113
|
+
*/
|
|
3114
|
+
quoteTweetId?: string;
|
|
3111
3115
|
/**
|
|
3112
3116
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
|
3113
3117
|
*/
|
|
@@ -3710,9 +3714,19 @@ export type WebhookPayloadCallEnded = {
|
|
|
3710
3714
|
recordingUrl?: string;
|
|
3711
3715
|
recordingExpiresAt?: string;
|
|
3712
3716
|
billing?: {
|
|
3717
|
+
/**
|
|
3718
|
+
* Meta per-minute charge. Billed by Meta DIRECTLY to your WhatsApp Business Account payment method (your separate Meta invoice). Zernio does NOT charge this. Display only.
|
|
3719
|
+
*/
|
|
3713
3720
|
metaCostUSD?: number;
|
|
3714
3721
|
telnyxCostUSD?: number;
|
|
3715
3722
|
recordingCostUSD?: number;
|
|
3723
|
+
/**
|
|
3724
|
+
* The amount Zernio bills you = Telnyx leg + recording. Excludes Meta (billed by Meta directly).
|
|
3725
|
+
*/
|
|
3726
|
+
billableCostUSD?: number;
|
|
3727
|
+
/**
|
|
3728
|
+
* Full economic cost incl. the Meta portion you pay directly (Meta + Telnyx + recording). Display only, not the Zernio-billed amount.
|
|
3729
|
+
*/
|
|
3716
3730
|
totalCostUSD?: number;
|
|
3717
3731
|
};
|
|
3718
3732
|
};
|
|
@@ -13080,9 +13094,19 @@ export type ListWhatsAppCallsResponse = ({
|
|
|
13080
13094
|
endReason?: 'hangup' | 'no_answer' | 'rejected' | 'error';
|
|
13081
13095
|
recordingUrl?: string;
|
|
13082
13096
|
billing?: {
|
|
13097
|
+
/**
|
|
13098
|
+
* Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13099
|
+
*/
|
|
13083
13100
|
metaCostUSD?: number;
|
|
13084
13101
|
telnyxCostUSD?: number;
|
|
13085
13102
|
recordingCostUSD?: number;
|
|
13103
|
+
/**
|
|
13104
|
+
* Amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13105
|
+
*/
|
|
13106
|
+
billableCostUSD?: number;
|
|
13107
|
+
/**
|
|
13108
|
+
* Full cost incl. the Meta portion you pay directly. Display only.
|
|
13109
|
+
*/
|
|
13086
13110
|
totalCostUSD?: number;
|
|
13087
13111
|
currency?: string;
|
|
13088
13112
|
};
|
|
@@ -13126,9 +13150,19 @@ export type GetWhatsAppCallEstimateResponse = ({
|
|
|
13126
13150
|
perMinuteUsd?: number;
|
|
13127
13151
|
breakdown?: {
|
|
13128
13152
|
metaMinutes?: number;
|
|
13153
|
+
/**
|
|
13154
|
+
* Estimated Meta per-minute charge, billed by Meta directly to your WABA. Display only; not billed by Zernio.
|
|
13155
|
+
*/
|
|
13129
13156
|
metaCostUSD?: number;
|
|
13130
13157
|
telnyxCostUSD?: number;
|
|
13131
13158
|
recordingCostUSD?: number;
|
|
13159
|
+
/**
|
|
13160
|
+
* Estimated amount Zernio bills you = Telnyx leg + recording (excludes Meta).
|
|
13161
|
+
*/
|
|
13162
|
+
billableCostUSD?: number;
|
|
13163
|
+
/**
|
|
13164
|
+
* Estimated full cost incl. the Meta portion you pay directly. Display only.
|
|
13165
|
+
*/
|
|
13132
13166
|
totalCostUSD?: number;
|
|
13133
13167
|
};
|
|
13134
13168
|
});
|