planvortex 0.21.0 → 0.23.0
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/README.md +43 -36
- package/dist/{chunk-A77VAAQH.js → chunk-L2DNKFA2.js} +7 -3
- package/dist/chunk-L2DNKFA2.js.map +1 -0
- package/dist/{index-BsE8URFA.d.cts → index-61v6zYKJ.d.cts} +164 -27
- package/dist/{index-BsE8URFA.d.ts → index-61v6zYKJ.d.ts} +164 -27
- package/dist/index.cjs +46 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -14
- package/dist/index.d.ts +59 -14
- package/dist/index.js +43 -7
- package/dist/index.js.map +1 -1
- package/dist/webhooks/index.cjs +5 -1
- package/dist/webhooks/index.cjs.map +1 -1
- package/dist/webhooks/index.d.cts +1 -1
- package/dist/webhooks/index.d.ts +1 -1
- package/dist/webhooks/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-A77VAAQH.js.map +0 -1
|
@@ -755,7 +755,9 @@ interface paths {
|
|
|
755
755
|
};
|
|
756
756
|
/**
|
|
757
757
|
* Get an organization by identifier
|
|
758
|
-
* @description Get one organization by its identifier
|
|
758
|
+
* @description Get one organization by its identifier, with what it is using of its plan (`actual_use`) and what it has been assigned (`actual_asigned`).
|
|
759
|
+
*
|
|
760
|
+
* **Anyone with a role in the organization can read it**, whatever that role's permissions are, and so can anyone with a client role, an app of the client and a temporal token of this organization. It used to require `organization:read`, and that left a role allowed to connect accounts, create AI plans or publish without knowing how much of the plan was left. `organization:read` now means seeing the plan consumption: `GET /organizations/{id_organization}/use`, `GET /organizations/{id_organization}/limits` and the `plan_use` block of the dashboard.
|
|
759
761
|
*/
|
|
760
762
|
get: operations["getOrganization"];
|
|
761
763
|
/**
|
|
@@ -991,7 +993,7 @@ interface paths {
|
|
|
991
993
|
* Re-enable a disconnected account
|
|
992
994
|
* @description Brings back an account that was removed, without going through the authorization again — as long as its stored token still works.
|
|
993
995
|
*
|
|
994
|
-
* It takes a **slot of the plan**, so it fails with error 706 when the organization is already at its account limit. It also turns the network's webhooks back on, on any plan but the free one. On the free plan a `whatsapp` account that is not active cannot be enabled (error 516), because
|
|
996
|
+
* It takes a **slot of the plan**, so it fails with error 706 when the organization is already at its account limit. It also turns the network's webhooks back on, on any plan but the free one. On the free plan a `whatsapp` or `google_business` account that is not active cannot be enabled (error 516), because everything those networks do needs a paid plan (chat and templates on WhatsApp, reviews on Google Business). One that is already active can still be reconnected.
|
|
995
997
|
*
|
|
996
998
|
* **On `telegram` you normally never call this.** That network's accounts are born active — there is no authorization return in which to choose them, so PlanVortex takes the slot when the bot is added to the channel. The one case left is a channel that arrived while the plan was full: it stays off until a slot frees up, and this is what turns it on.
|
|
997
999
|
*
|
|
@@ -1081,7 +1083,9 @@ interface paths {
|
|
|
1081
1083
|
* Messages exchanged with one contact
|
|
1082
1084
|
* @description The thread with one contact, newest first.
|
|
1083
1085
|
*
|
|
1084
|
-
* **Reading the first page marks the thread as read** (`offset=0` only), which is what makes `unread_messages` go down.
|
|
1086
|
+
* **Reading the first page marks the thread as read in PlanVortex** (`offset=0` only), which is what makes `unread_messages` go down. **It does not tell the network**, so the contact still sees their messages as unread (grey ticks on WhatsApp, no "Seen" on Messenger or Instagram). That is on purpose: an assistant or an automation that reads the inbox should not tell your customers that somebody saw their message. When a person has seen it, call `POST .../messages/{id_contact}/read`.
|
|
1087
|
+
*
|
|
1088
|
+
* If PlanVortex has nothing stored for that contact it imports the thread from the network first.
|
|
1085
1089
|
*/
|
|
1086
1090
|
get: operations["getMessages"];
|
|
1087
1091
|
put?: never;
|
|
@@ -1089,6 +1093,8 @@ interface paths {
|
|
|
1089
1093
|
* Send a message to a contact
|
|
1090
1094
|
* @description Writes to the contact through the account's network.
|
|
1091
1095
|
*
|
|
1096
|
+
* **Replying also marks the contact's messages as read on the network**, just before sending, so they see the blue ticks (WhatsApp) or "Seen" (Messenger, Instagram) and then your reply. If marking fails, the message is sent anyway.
|
|
1097
|
+
*
|
|
1092
1098
|
* What is valid depends on `message_type` and on the network:
|
|
1093
1099
|
*
|
|
1094
1100
|
* • `simple_message` needs `text`, and it is validated against `characters` in `GET /social_limits`.
|
|
@@ -1105,6 +1111,34 @@ interface paths {
|
|
|
1105
1111
|
patch?: never;
|
|
1106
1112
|
trace?: never;
|
|
1107
1113
|
};
|
|
1114
|
+
"/organizations/{id_organization}/accounts/{id_account}/messages/{id_contact}/read": {
|
|
1115
|
+
parameters: {
|
|
1116
|
+
query?: never;
|
|
1117
|
+
header?: never;
|
|
1118
|
+
path?: never;
|
|
1119
|
+
cookie?: never;
|
|
1120
|
+
};
|
|
1121
|
+
get?: never;
|
|
1122
|
+
put?: never;
|
|
1123
|
+
/**
|
|
1124
|
+
* Mark a conversation as read, on the network too
|
|
1125
|
+
* @description Marks the thread with this contact as read in PlanVortex, as reading its first page does, **and tells the network, so the contact sees it**: blue ticks on WhatsApp, "Seen" on Messenger and Instagram, and the conversation marked read in the Bluesky app.
|
|
1126
|
+
*
|
|
1127
|
+
* Call it when a person has actually seen the conversation. Reading messages with `GET` never does this, and replying with `POST .../messages/{id_contact}` does it on its own.
|
|
1128
|
+
*
|
|
1129
|
+
* • It marks the contact's **latest** message; the network marks everything before it.
|
|
1130
|
+
* • Calling it again is free: once the network has the latest message as read, no request goes to the network until the contact writes again.
|
|
1131
|
+
* • `network_read` says whether the network has the conversation as read when the call ends. It is `false` when the network has no read receipts, when the network refused the request (calling again retries it), or on WhatsApp when the latest message is more than 30 days old, which WhatsApp does not let anyone mark. The read state in PlanVortex is updated either way.
|
|
1132
|
+
*
|
|
1133
|
+
* Requires `messages:read` (`client_organization_messages:read` for apps), the same as reading the conversation, and a paid plan like the rest of messaging. On a network without conversations it answers error 1502.
|
|
1134
|
+
*/
|
|
1135
|
+
post: operations["markConversationRead"];
|
|
1136
|
+
delete?: never;
|
|
1137
|
+
options?: never;
|
|
1138
|
+
head?: never;
|
|
1139
|
+
patch?: never;
|
|
1140
|
+
trace?: never;
|
|
1141
|
+
};
|
|
1108
1142
|
"/organizations/{id_organization}/accounts/{id_account}/messages/{id_message}/files/{index}": {
|
|
1109
1143
|
parameters: {
|
|
1110
1144
|
query?: never;
|
|
@@ -1404,7 +1438,7 @@ interface paths {
|
|
|
1404
1438
|
* The inbox: first-level comments across the whole organization
|
|
1405
1439
|
* @description Served from PlanVortex's database, so it costs nothing and calls no social network. It is a **snapshot**: `collected_date` says when each row was last read. Open a thread to see what the network says right now.
|
|
1406
1440
|
*
|
|
1407
|
-
* Ordered by `creation_date` descending — the date on the network, not the date we collected it — so rows from
|
|
1441
|
+
* Ordered by `creation_date` descending — the date on the network, not the date we collected it — so rows from every network interleave correctly.
|
|
1408
1442
|
*
|
|
1409
1443
|
* **On `telegram` the inbox starts the day the channel was connected.** The Bot API has no way to read the past: a bot only learns what happens while it is inside, so nothing written before the connection exists here and never will. Say so in your UI — an inbox that opens empty on a busy channel reads like a failure.
|
|
1410
1444
|
*
|
|
@@ -1434,9 +1468,9 @@ interface paths {
|
|
|
1434
1468
|
* @description Two different kinds of change, accepted together because a panel changes them from the same place:
|
|
1435
1469
|
*
|
|
1436
1470
|
* - `read` is **yours**. It touches no social network, costs nothing and can always be set.
|
|
1437
|
-
* - `hidden` **touches the network**, and not every network allows it — LinkedIn and Google Business have no hide endpoint at all and return error `946`. Check `GET /social_comment_actions` before offering the control.
|
|
1471
|
+
* - `hidden` **touches the network**, and not every network allows it — LinkedIn and Google Business have no hide endpoint at all and return error `946`. Check `GET /social_comment_actions` before offering the control. Hiding is moderating what **others** write: your own comments cannot be hidden on any network (error `2603`), only deleted. On TikTok, showing a comment that TikTok's moderation or its author's privacy settings keep hidden does not work, and the answer is error `2809`.
|
|
1438
1472
|
*
|
|
1439
|
-
*
|
|
1473
|
+
* Setting `read` requires the `comments:read` permission (`client_organization_comments:read` for apps): marking a comment read is part of reading it, as opening a conversation is in the chat. Setting `hidden` also requires `comments:create` (`client_organization_comments:create`), the same as replying, and without it the whole request is refused with `520` and nothing changes, `read` included. Both need a paid plan.
|
|
1440
1474
|
*/
|
|
1441
1475
|
put: operations["updateComment"];
|
|
1442
1476
|
post?: never;
|
|
@@ -1444,7 +1478,7 @@ interface paths {
|
|
|
1444
1478
|
* Delete the comment on the social network
|
|
1445
1479
|
* @description Deletes it **on the network** and marks the row `deleted: true` here. The row is kept on purpose rather than removed: if it were removed, the next read of the thread — or the webhook, which repeats — would create it again.
|
|
1446
1480
|
*
|
|
1447
|
-
* Which comments you may delete depends on the network and on whose comment it is, and the two cases use different permissions of the network's own: `delete_own` for yours, `delete_others` for somebody else's. Instagram and
|
|
1481
|
+
* Which comments you may delete depends on the network and on whose comment it is, and the two cases use different permissions of the network's own: `delete_own` for yours, `delete_others` for somebody else's. Instagram, X and TikTok refuse the second; **on Google Business the only thing that can be deleted is your own reply**, never a review. Reading `GET /social_comment_actions` first is the difference between a button that works and one that always errors.
|
|
1448
1482
|
*
|
|
1449
1483
|
* On X this costs credits.
|
|
1450
1484
|
*
|
|
@@ -1565,7 +1599,7 @@ interface paths {
|
|
|
1565
1599
|
*
|
|
1566
1600
|
* **A network that cannot produce a link simply does not appear.** That is a legitimate answer, not a failure: it is what happens with `discord` in an organization that has not saved its own bot credentials yet (see `PUT /organizations/{id_organization}/social_credentials/{social_network}`).
|
|
1567
1601
|
*
|
|
1568
|
-
* **On the free plan `whatsapp`
|
|
1602
|
+
* **On the free plan `whatsapp` and `google_business` do not appear either**, unless the organization already has an active account of that network, which has to stay reconnectable. WhatsApp only has chat and templates and Google Business only has reviews, and all of that needs a paid plan, so enabling a new account answers error 516. Asking for it by name gets you an empty list, not an error.
|
|
1569
1603
|
*
|
|
1570
1604
|
* **An app cannot call this.** Connecting a social account is an OAuth flow with a person in front of it, so this endpoint only accepts a user token or a temporal connect token; with app credentials it answers error 519. The way an integration does it is to issue a temporal connect token with `GET /organizations/{id_organization}/temporal_connect_token` and hand it to its end user.
|
|
1571
1605
|
*
|
|
@@ -2414,7 +2448,7 @@ interface paths {
|
|
|
2414
2448
|
*
|
|
2415
2449
|
* **It connects once.** As soon as an `account-connect` succeeds, the token stops being able to connect anything else and answers error 543; the `enable` calls that finish that same connection keep working until it expires. Issue a new one per connection — they are free and immediate.
|
|
2416
2450
|
*
|
|
2417
|
-
* **If you pass `social_network`, the token is bound to that network** and will not connect any other (error 544). Leave it out to let the person pick. On the free plan, asking for `whatsapp` answers error 516 unless the organization already has an active
|
|
2451
|
+
* **If you pass `social_network`, the token is bound to that network** and will not connect any other (error 544). Leave it out to let the person pick. On the free plan, asking for `whatsapp` or `google_business` answers error 516 unless the organization already has an active account of that network to reconnect: everything those networks do needs a paid plan.
|
|
2418
2452
|
*
|
|
2419
2453
|
* **Or show the account picker yourself** with `account_selection=integrator`. By default PlanVortex shows the screen where the person picks which accounts to enable, and only then sends them to your `redirect_uri`. In this mode that screen is yours:
|
|
2420
2454
|
*
|
|
@@ -2666,7 +2700,7 @@ interface paths {
|
|
|
2666
2700
|
*
|
|
2667
2701
|
* `comments` is the coarse gate — whether the network has comments at all. Which *actions* it allows on one is a finer question and lives in `GET /social_comment_actions`, because the shape here is `{[capability]: boolean}` and nesting an object inside would break it.
|
|
2668
2702
|
*
|
|
2669
|
-
* Today
|
|
2703
|
+
* Today `comments: true` is the answer of Facebook, Instagram, Threads, LinkedIn, TikTok, X, YouTube, Google Business, Bluesky, Discord and Telegram. WhatsApp, Slack and Pinterest answer `false`, for reasons of theirs and not ours — on Pinterest the API *counts* a pin's comments and offers no way to read them, so the figure shows up in the publication's statistics and there is still no inbox.
|
|
2670
2704
|
*
|
|
2671
2705
|
* **Three of the keys are about publishing, not about reading.** `destinations` says the network publishes into places inside the account and every publication has to name one — a Pinterest board, read with `GET /organizations/{id_organization}/accounts/{id_account}/destinations`. `link` says a publication carries a destination link of its own, separate from its text. Both are `false` everywhere but `pinterest` today. `reply_control` says a publication can choose who can reply to it, and is `true` only on `threads`. The three are the reason to ask this matrix instead of keeping a list of your own: a composer with its own copy of which network has which field is exactly what drifted with the character limits.
|
|
2672
2706
|
*
|
|
@@ -2674,7 +2708,7 @@ interface paths {
|
|
|
2674
2708
|
*
|
|
2675
2709
|
* **`statistics` says whether PlanVortex reads any metric of that network.** It is `true` on every network but `whatsapp`, which does not publish and has no metrics to read. Use it to decide which accounts to offer on a statistics screen (or filter the account list with `capability=statistics`) instead of finding out from an empty series.
|
|
2676
2710
|
*
|
|
2677
|
-
* A `true` here is about the **network**, not about one account of it: a Telegram channel with no linked discussion group answers 965 on its comments even though the network has them.
|
|
2711
|
+
* A `true` here is about the **network**, not about one account of it: a Telegram channel with no linked discussion group answers 965 on its comments even though the network has them, and a TikTok account answers 2600 until comments are turned on for it in the dashboard.
|
|
2678
2712
|
*
|
|
2679
2713
|
* Only needs authentication.
|
|
2680
2714
|
*/
|
|
@@ -2712,7 +2746,8 @@ interface paths {
|
|
|
2712
2746
|
* | `discord` | yes | **no** — Discord has no hide, only delete | yes | yes |
|
|
2713
2747
|
* | `telegram` | yes | **no** — Telegram has no hide either | yes | yes — with the bot as an admin of the discussion group, otherwise error 969 |
|
|
2714
2748
|
* | `threads` | yes | yes | yes | **no** — deleting somebody else's reply is not a permission you lack, it is a call that does not exist in the API |
|
|
2715
|
-
* | `tiktok
|
|
2749
|
+
* | `tiktok` | yes | yes | yes | **no** — TikTok only lets you hide someone else's |
|
|
2750
|
+
* | `whatsapp`, `slack`, `pinterest` | no | no | no | no |
|
|
2716
2751
|
*
|
|
2717
2752
|
* Only needs authentication.
|
|
2718
2753
|
*/
|
|
@@ -2798,7 +2833,7 @@ interface webhooks {
|
|
|
2798
2833
|
*
|
|
2799
2834
|
* `field: "comments"` is the one for this section, and the comment itself travels in **`commentObj`** — a property of its own, never in `messageObj`. That is deliberate: a comment is not a message, it has no contact and it hangs off a publication. A consumer that only understands messages sees `commentObj` as absent and ignores the change, which is exactly what should happen.
|
|
2800
2835
|
*
|
|
2801
|
-
* **Which networks arrive this way:** Facebook and Instagram, because Meta pushes them. YouTube, LinkedIn and Google Business have no comment webhook, so those are polled by a background job and appear in the inbox within a few hours rather than instantly. X is polled too, and only when the organization turns it on, because reading replies there is billed per unit.
|
|
2836
|
+
* **Which networks arrive this way:** Facebook and Instagram, because Meta pushes them, and TikTok, which pushes them within a few minutes. YouTube, LinkedIn and Google Business have no comment webhook, so those are polled by a background job and appear in the inbox within a few hours rather than instantly. X is polled too, and only when the organization turns it on, because reading replies there is billed per unit.
|
|
2802
2837
|
*
|
|
2803
2838
|
* **Meta repeats deliveries.** The same comment can arrive more than once; the backend is idempotent about it and so should you be — deduplicate on `commentObj.external_id`.
|
|
2804
2839
|
*
|
|
@@ -2844,6 +2879,8 @@ interface components {
|
|
|
2844
2879
|
*
|
|
2845
2880
|
* On `linkedin` one authorization brings two kinds of account: the **personal profile** of whoever authorizes and each **page** they manage. Both publish and both have statistics, but only pages have a comment inbox: LinkedIn does not let any app read the comments on a member's posts, so on a profile every comment endpoint returns error `2600`. `extra_data.is_personal_profile` tells them apart.
|
|
2846
2881
|
*
|
|
2882
|
+
* On `tiktok` comments need a second authorization of the same account (TikTok API for Business, personal and Business accounts alike), turned on from the PlanVortex dashboard. Until then the account publishes and has statistics, and every comment endpoint returns error `2600`. `extra_data.tiktok_business` says whether comments are on.
|
|
2883
|
+
*
|
|
2847
2884
|
* `error_code` other than `0` means the connection is broken — an expired token, a permission taken away — and the account has to be connected again. On `telegram` nothing expires, because there is no account token: what breaks the connection is the bot being removed from the channel or losing its permission to post there (error 968). On `slack` the bot token does not expire either: what breaks it is the app being removed from the channel (error 980) or the channel being archived or deleted (error 985).
|
|
2848
2885
|
*/
|
|
2849
2886
|
Account: {
|
|
@@ -2856,6 +2893,23 @@ interface components {
|
|
|
2856
2893
|
extra_data?: {
|
|
2857
2894
|
/** @description `linkedin` only. `true` on the personal profile of whoever authorized, `false` on a page. A profile publishes and has statistics but no comment inbox (error `2600`). Pages connected before personal profiles existed do not carry it, so treat absent as a page. */
|
|
2858
2895
|
is_personal_profile?: boolean;
|
|
2896
|
+
/** @description `tiktok` only, and only once somebody has turned comments on for this account in the PlanVortex dashboard. Absent means comments were never turned on: the account publishes, and every comment endpoint answers `2600`. It cannot be turned on through the API, because TikTok sends that authorization back to the dashboard and nowhere else. */
|
|
2897
|
+
tiktok_business?: {
|
|
2898
|
+
/** @description `true` when the comment inbox works for this account. Read it together with `error_code`. */
|
|
2899
|
+
comments?: boolean;
|
|
2900
|
+
/**
|
|
2901
|
+
* Format: date-time
|
|
2902
|
+
* @description When comments were turned on.
|
|
2903
|
+
*/
|
|
2904
|
+
connected_at?: string;
|
|
2905
|
+
display_name?: string;
|
|
2906
|
+
/** @description Absent or `0` when it works. `2804` when TikTok no longer accepts the authorization behind comments: they have to be turned on again in the dashboard. It never touches the account's own `error_code`, so publishing keeps working. */
|
|
2907
|
+
error_code?: number;
|
|
2908
|
+
/** @description TikTok direct messages. Always `false` today. */
|
|
2909
|
+
messages?: boolean;
|
|
2910
|
+
/** @description The TikTok @username that authorized, already checked against this account's. Comments are only turned on for the same account that publishes. */
|
|
2911
|
+
username?: string;
|
|
2912
|
+
};
|
|
2859
2913
|
} & {
|
|
2860
2914
|
[key: string]: unknown;
|
|
2861
2915
|
};
|
|
@@ -3684,7 +3738,7 @@ interface components {
|
|
|
3684
3738
|
ClientsClient: {
|
|
3685
3739
|
/** @example 66d04a6a427f4c43b9d97f54 */
|
|
3686
3740
|
_id: string;
|
|
3687
|
-
/** @description What is already handed out to
|
|
3741
|
+
/** @description What is already handed out to organizations with a plan of their own (root organizations, or organizations under a folder), which is not available to the shared pool any more. **Only present with `getUse=true`.** */
|
|
3688
3742
|
actual_asigned?: components["schemas"]["PlanData"];
|
|
3689
3743
|
actual_plan: components["schemas"]["ClientsPlan"];
|
|
3690
3744
|
/** @description Current consumption across every organization of the client. **Only present with `getUse=true`.** `twitter_credits` and `ai_credits` are what has been spent this calendar month. */
|
|
@@ -3696,6 +3750,8 @@ interface components {
|
|
|
3696
3750
|
/** Format: date-time */
|
|
3697
3751
|
creation_date: string;
|
|
3698
3752
|
name: string;
|
|
3753
|
+
/** @description What the client's shared pool is using: the root organizations without a plan of their own and the folders below them, which is the `actual_use` each of them shows. **Only present with `getUse=true`.** Together with `actual_asigned` and the plan it splits the plan in three: used by the shared pool, free in the shared pool, and handed out to organizations with a plan of their own. `apps` is not here: apps belong to the client, not to an organization. */
|
|
3754
|
+
pool_use?: components["schemas"]["PlanUseData"];
|
|
3699
3755
|
/** @description Whether this client has already used its trial. */
|
|
3700
3756
|
trial_tested?: boolean;
|
|
3701
3757
|
};
|
|
@@ -3850,6 +3906,7 @@ interface components {
|
|
|
3850
3906
|
*
|
|
3851
3907
|
* • A Google Business reply has no id of its own — it is a *field* of the review — so PlanVortex fabricates a stable one, `{reviewId}/reply`.
|
|
3852
3908
|
* • A Telegram comment lives in a **different chat** from the post it answers (the channel's linked discussion group), so it needs two ids at once and travels as `{thread}/{message}`: replying wants the first, deleting wants the second.
|
|
3909
|
+
* • A TikTok comment travels as `{video_id}/{comment_id}`, because TikTok asks for the video to hide a comment or to reply to it.
|
|
3853
3910
|
*/
|
|
3854
3911
|
external_id: string;
|
|
3855
3912
|
/**
|
|
@@ -3858,7 +3915,11 @@ interface components {
|
|
|
3858
3915
|
* Facebook, Threads, LinkedIn, X, Bluesky, Discord and Telegram give a comment's files, and on Google Business they are the photos and videos of a review. Instagram and YouTube do not expose them in their APIs, so there the list is always empty. A comment that is only a photo has an empty `text` and one file here.
|
|
3859
3916
|
*/
|
|
3860
3917
|
files_urls?: components["schemas"]["SocialFileUrl"][];
|
|
3861
|
-
/**
|
|
3918
|
+
/**
|
|
3919
|
+
* @description Hidden on the network. A hidden comment is never swept as deleted: on YouTube, hiding one makes the API stop returning it forever, and without that exception hiding would be indistinguishable from deleting.
|
|
3920
|
+
*
|
|
3921
|
+
* On TikTok every new comment is hidden for a few minutes while TikTok reviews it. That state is not reported here: during a comment's first ten minutes this keeps the value it already had.
|
|
3922
|
+
*/
|
|
3862
3923
|
hidden: boolean;
|
|
3863
3924
|
/**
|
|
3864
3925
|
* @description The connected account it arrived on.
|
|
@@ -3912,15 +3973,16 @@ interface components {
|
|
|
3912
3973
|
external_id: string;
|
|
3913
3974
|
/** @description Whether the connected account wrote it. This is what separates "delete mine" from "delete theirs", and what keeps your own replies out of the inbox. */
|
|
3914
3975
|
is_own: boolean;
|
|
3915
|
-
/** @description Display name. Always present for a review, including anonymous ones, which get a placeholder rather than an empty string. */
|
|
3976
|
+
/** @description Display name. Always present for a review, including anonymous ones, which get a placeholder rather than an empty string. On LinkedIn it is read from LinkedIn on every request and is not stored by PlanVortex: it is absent when LinkedIn does not return the member's profile, and LinkedIn only lets you cache it for 24 hours (see the LinkedIn section above). */
|
|
3916
3977
|
name?: string;
|
|
3978
|
+
/** @description Link to the author's picture, when the network gives one. On LinkedIn it is read on every request like `name`, it is a signed link that expires after a few weeks, and LinkedIn's servers refuse most downloads that do not come from a browser: show it in an `<img>`, do not copy it. */
|
|
3917
3979
|
profile_pic?: string;
|
|
3918
3980
|
};
|
|
3919
3981
|
/**
|
|
3920
3982
|
* @description A network that has comments. Treat it as an open list: a new one is added before your integration hears about it.
|
|
3921
3983
|
* @enum {string}
|
|
3922
3984
|
*/
|
|
3923
|
-
CommentsCommentNetworkName: "facebook" | "instagram" | "twitter" | "linkedin" | "youtube" | "google_business" | "bluesky" | "discord" | "telegram" | "threads";
|
|
3985
|
+
CommentsCommentNetworkName: "facebook" | "instagram" | "twitter" | "linkedin" | "youtube" | "tiktok" | "google_business" | "bluesky" | "discord" | "telegram" | "threads";
|
|
3924
3986
|
/** @description A live read: asked of the network and reconciled with what was stored. */
|
|
3925
3987
|
CommentsCommentThread: {
|
|
3926
3988
|
comments: components["schemas"]["CommentsComment"][];
|
|
@@ -4332,7 +4394,7 @@ interface components {
|
|
|
4332
4394
|
* The catalogue grows with the product, so treat an unknown `code` as a generic failure instead of rejecting it.
|
|
4333
4395
|
*/
|
|
4334
4396
|
Error: {
|
|
4335
|
-
/** @description PlanVortex error code. Ranges: 500-554 auth, tokens, client apps and connect sessions · 601-612 user · 700-716 social accounts · 800-810 files · 900-996 publications · 1000-1003 general · 1100-1111 organizations · 1200-1207 roles · 1300-1309 client plan · 1400-1408 organization plan · 1500-1517 messaging · 1600-1601 contacts · 1900-1906 payments · 2000-2099 products · 2100-2199 AI plans · 2200-2299 integrations · 2500-2599 publication fields, the ones that no longer fit in 900-996 (visibility, made for kids, TikTok's interactions and commercial content) · 2600-2699 comments, the ones that no longer fit in 945-948. */
|
|
4397
|
+
/** @description PlanVortex error code. Ranges: 500-554 auth, tokens, client apps and connect sessions · 601-612 user · 700-716 social accounts · 800-810 files · 900-996 publications · 1000-1003 general · 1100-1111 organizations · 1200-1207 roles · 1300-1309 client plan · 1400-1408 organization plan · 1500-1517 messaging · 1600-1601 contacts · 1900-1906 payments · 2000-2099 products · 2100-2199 AI plans · 2200-2299 integrations · 2500-2599 publication fields, the ones that no longer fit in 900-996 (visibility, made for kids, TikTok's interactions and commercial content) · 2600-2699 comments, the ones that no longer fit in 945-948 · 2700-2799 Discord · 2800-2899 TikTok comments, the ones that go through TikTok API for Business. */
|
|
4336
4398
|
code: number;
|
|
4337
4399
|
/** @description Extra context attached to the error, when there is any. */
|
|
4338
4400
|
data?: {
|
|
@@ -4571,6 +4633,17 @@ interface components {
|
|
|
4571
4633
|
* @description When the contact **deleted** this message for everyone (WhatsApp allows it for two days). The message stays in the thread with no `text` and no files.
|
|
4572
4634
|
*/
|
|
4573
4635
|
deleted_date?: string;
|
|
4636
|
+
/**
|
|
4637
|
+
* @description Only on messages **we** sent (`contact_id`): how far the message got, like the ticks in WhatsApp. `sent` means the network accepted it, `delivered` that it reached the contact's device, `read` that the contact saw it, and `failed` that the network rejected it (`message_errors` says why).
|
|
4638
|
+
*
|
|
4639
|
+
* It only moves forward, and each network reports what it can. WhatsApp and Messenger report all three steps, Instagram reports `sent` and `read` (it does not report delivery), and Bluesky only `sent`. A read receipt also covers the earlier messages to that contact, the same as opening the chat.
|
|
4640
|
+
*
|
|
4641
|
+
* Absent when PlanVortex does not know: messages from the contact, messages sent before 15 November 2026 and messages imported from the network's history.
|
|
4642
|
+
*
|
|
4643
|
+
* No webhook event is sent for `delivered`: read the field on the message. A `read` arrives as `messaging_seen`.
|
|
4644
|
+
* @enum {string}
|
|
4645
|
+
*/
|
|
4646
|
+
delivery_status?: "sent" | "delivered" | "read" | "failed";
|
|
4574
4647
|
/**
|
|
4575
4648
|
* Format: date-time
|
|
4576
4649
|
* @description When the contact **edited** this message on the network (WhatsApp allows it for 15 minutes). `text` is already the edited text; the original is not kept.
|
|
@@ -4611,6 +4684,7 @@ interface components {
|
|
|
4611
4684
|
*/
|
|
4612
4685
|
emoji: string;
|
|
4613
4686
|
}[];
|
|
4687
|
+
/** @description On a message from the contact, whether someone has read it in PlanVortex. On one of ours it is **not** a read receipt (messages sent from the WhatsApp Business app, or imported from the network, are stored as read): use `delivery_status`. */
|
|
4614
4688
|
read: boolean;
|
|
4615
4689
|
/** @description Absent on the messages that carry no text of their own, such as a `messaging_seen` acknowledgement. */
|
|
4616
4690
|
text?: string;
|
|
@@ -4653,6 +4727,18 @@ interface components {
|
|
|
4653
4727
|
/** @description Unread messages **from the contact**. Ours never count. */
|
|
4654
4728
|
unread_messages: number;
|
|
4655
4729
|
};
|
|
4730
|
+
/**
|
|
4731
|
+
* @example {
|
|
4732
|
+
* "success": true,
|
|
4733
|
+
* "network_read": true
|
|
4734
|
+
* }
|
|
4735
|
+
*/
|
|
4736
|
+
MessagesConversationRead: {
|
|
4737
|
+
/** @description Whether the contact now sees the conversation as read on the network. `false` when the network has no read receipts, refused the request (call again to retry), or the latest WhatsApp message is older than 30 days. */
|
|
4738
|
+
network_read: boolean;
|
|
4739
|
+
/** @constant */
|
|
4740
|
+
success: true;
|
|
4741
|
+
};
|
|
4656
4742
|
/** @description Two different answers, not one with optional fields: **without** `group_by` you get `{total}`, **with** it you get `{stats, group}`. Never both. */
|
|
4657
4743
|
MessagesConversationTotals: {
|
|
4658
4744
|
/** @description Conversations in the range. A conversation is one contact on one day, so the same person writing on Monday and on Tuesday counts twice. */
|
|
@@ -4728,7 +4814,7 @@ interface components {
|
|
|
4728
4814
|
actual_asigned?: components["schemas"]["PlanData"];
|
|
4729
4815
|
/** @description The slice of the client's plan assigned to this organization. **Absent when nothing was assigned**, and then the organization shares whatever its nearest parent with a plan has — or, failing that, the client's unassigned remainder. Ask `GET /organizations/{id_organization}/limits` for the effective numbers instead of reading this. */
|
|
4730
4816
|
actual_plan?: components["schemas"]["PlanData"];
|
|
4731
|
-
/** @description
|
|
4817
|
+
/** @description What the plan this organization draws from is using, which is the figure the server checks before letting one more account or integration in: the owner of that plan (this organization if it has a plan of its own, otherwise its nearest parent with one, otherwise the client's shared pool) plus the folders without a plan below it. Organizations sharing a pool therefore show the same `actual_use`; what each one uses on its own is `own_use`. **Only present with `getUse=true`.** `twitter_credits` and `ai_credits` are what has been spent in the current calendar month; the rest is what exists right now. */
|
|
4732
4818
|
actual_use?: components["schemas"]["PlanUseData"];
|
|
4733
4819
|
ai_context?: components["schemas"]["AiContext"];
|
|
4734
4820
|
/** Format: date-time */
|
|
@@ -4736,6 +4822,8 @@ interface components {
|
|
|
4736
4822
|
/** @description The client this organization belongs to. */
|
|
4737
4823
|
id_client: string;
|
|
4738
4824
|
name: string;
|
|
4825
|
+
/** @description What THIS organization uses on its own, without the folders it shares a plan with. **Only present with `getUse=true`.** `actual_use` is the consumption of the whole pool this organization draws from (the same figure the server checks before letting one more account in), so every organization without a plan of its own shows the same `actual_use`; `own_use` is what hangs from this one. Adding up the `own_use` of the organizations that share a pool gives that pool's `actual_use`. On an organization with a plan of its own and no folders below it, both are the same. */
|
|
4826
|
+
own_use?: components["schemas"]["PlanUseData"];
|
|
4739
4827
|
/** @description The organization this one hangs from. Absent on a root organization. */
|
|
4740
4828
|
parent_organization?: string;
|
|
4741
4829
|
/** @description The organization's own application credentials, by network. A network that is absent is not configured, and then it does not even appear as connectable. */
|
|
@@ -5597,8 +5685,8 @@ interface components {
|
|
|
5597
5685
|
* | `700` | The account is not connected — no valid token, or nothing to ask the network about. |
|
|
5598
5686
|
* | `936` | The publication was never sent, so it has no thread to read. |
|
|
5599
5687
|
* | `940` | The client's monthly X credits are exhausted. Only X. |
|
|
5600
|
-
* | `945` | This network has no comments (
|
|
5601
|
-
* | `946` | The network has comments but does not allow **this action**: hiding on LinkedIn or Google Business, deleting someone else's on Instagram or
|
|
5688
|
+
* | `945` | This network has no comments (WhatsApp, Slack, Pinterest). Carries `social_network` in `data`. |
|
|
5689
|
+
* | `946` | The network has comments but does not allow **this action**: hiding on LinkedIn or Google Business, deleting someone else's on Instagram, X or TikTok, deleting a review. Carries `social_network` and `action` in `data`. See `GET /social_comment_actions`. |
|
|
5602
5690
|
* | `947` | The comment no longer exists on the network. What is stored is a photograph; the network always wins. Carries `external_id` in `data`. |
|
|
5603
5691
|
* | `948` | The reply is empty or longer than the network allows. Carries the limit in `data.max`; the same number is published in `comment_characters` of `GET /social_limits`. |
|
|
5604
5692
|
* | `951` | The Google Business listing is not verified, so it cannot reply to its reviews. It is the state of the customer's profile, not of your token. |
|
|
@@ -5608,7 +5696,12 @@ interface components {
|
|
|
5608
5696
|
* | `970` | Telegram is rate limiting the bot and the wait was longer than PlanVortex is willing to hold the request for. Carries `retry_after_seconds` in `data`: retry after it. |
|
|
5609
5697
|
* | `1101` | Invalid organization. |
|
|
5610
5698
|
* | `1501` | The comment's account could not be resolved. |
|
|
5611
|
-
* | `2600` | The network has comments but **this account** has none: a LinkedIn personal profile
|
|
5699
|
+
* | `2600` | The network has comments but **this account** has none: a LinkedIn personal profile (LinkedIn does not let any app read a member's comments, so only pages have an inbox), or a TikTok account whose comments have not been turned on in the dashboard. Carries `social_network` and `id_account` in `data`. |
|
|
5700
|
+
* | `2601` | The network refused the action on the comment: a permission the app lacks, a comment that does not accept replies, an account that lost its access. |
|
|
5701
|
+
* | `2603` | Hiding or showing one of **your own** comments. No network allows it: delete it instead. |
|
|
5702
|
+
* | `2804` | TikTok: the authorization behind this account's comments expired or was revoked. Comments have to be turned on again in the dashboard; publishing is not affected. |
|
|
5703
|
+
* | `2805` | TikTok is rate limiting PlanVortex's app. Temporary: retry shortly. |
|
|
5704
|
+
* | `2809` | TikTok keeps this comment hidden (its moderation, or the privacy settings of whoever wrote it), so showing it had no effect. |
|
|
5612
5705
|
*/
|
|
5613
5706
|
CommentsCommentError: {
|
|
5614
5707
|
headers: {
|
|
@@ -7974,7 +8067,7 @@ interface operations {
|
|
|
7974
8067
|
/**
|
|
7975
8068
|
* @description Only accounts whose network can do this. It is the same matrix `GET /social_capabilities` publishes, applied server-side: the way to ask for 'the accounts I can publish with' without keeping your own table of which network does what.
|
|
7976
8069
|
*
|
|
7977
|
-
* `comments` also looks at each account, not only at its network: a LinkedIn **personal profile** is left out, because only LinkedIn pages have a comment inbox. `total` counts the same way.
|
|
8070
|
+
* `comments` also looks at each account, not only at its network: a LinkedIn **personal profile** is left out, because only LinkedIn pages have a comment inbox, and so is a TikTok account whose comments have not been turned on (or stopped working, `extra_data.tiktok_business.error_code`). `total` counts the same way.
|
|
7978
8071
|
*
|
|
7979
8072
|
* `statistics` leaves out the networks PlanVortex reads no metric from (today `whatsapp`): the accounts worth offering on a statistics screen.
|
|
7980
8073
|
*/
|
|
@@ -8488,7 +8581,7 @@ interface operations {
|
|
|
8488
8581
|
* | --- | --- |
|
|
8489
8582
|
* | `700` | The account has no usable token: it has to be connected again |
|
|
8490
8583
|
* | `706` | The organization has no account slots left in its plan |
|
|
8491
|
-
* | `516` | The plan is free and this network needs a paid plan (today, `whatsapp`) |
|
|
8584
|
+
* | `516` | The plan is free and this network needs a paid plan (today, `whatsapp` and `google_business`) |
|
|
8492
8585
|
* | `519` | This endpoint does not accept app credentials |
|
|
8493
8586
|
* | `544` | This temporal connect token was issued for a different social network |
|
|
8494
8587
|
*/
|
|
@@ -8725,6 +8818,34 @@ interface operations {
|
|
|
8725
8818
|
400: components["responses"]["MessagesError"];
|
|
8726
8819
|
};
|
|
8727
8820
|
};
|
|
8821
|
+
markConversationRead: {
|
|
8822
|
+
parameters: {
|
|
8823
|
+
query?: never;
|
|
8824
|
+
header?: never;
|
|
8825
|
+
path: {
|
|
8826
|
+
/** @description Connected account identifier */
|
|
8827
|
+
id_account: components["parameters"]["MessagesidAccount"];
|
|
8828
|
+
/** @description Contact identifier */
|
|
8829
|
+
id_contact: components["parameters"]["MessagesidContact"];
|
|
8830
|
+
/** @description Organization identifier */
|
|
8831
|
+
id_organization: components["parameters"]["MessagesidOrganization"];
|
|
8832
|
+
};
|
|
8833
|
+
cookie?: never;
|
|
8834
|
+
};
|
|
8835
|
+
requestBody?: never;
|
|
8836
|
+
responses: {
|
|
8837
|
+
/** @description Marked as read in PlanVortex, and `network_read` says whether the network has it too */
|
|
8838
|
+
200: {
|
|
8839
|
+
headers: {
|
|
8840
|
+
[name: string]: unknown;
|
|
8841
|
+
};
|
|
8842
|
+
content: {
|
|
8843
|
+
"application/json": components["schemas"]["MessagesConversationRead"];
|
|
8844
|
+
};
|
|
8845
|
+
};
|
|
8846
|
+
400: components["responses"]["MessagesError"];
|
|
8847
|
+
};
|
|
8848
|
+
};
|
|
8728
8849
|
getMessageFile: {
|
|
8729
8850
|
parameters: {
|
|
8730
8851
|
query?: {
|
|
@@ -9850,7 +9971,7 @@ interface operations {
|
|
|
9850
9971
|
* | `553` | Some account is not part of this session. `data.accounts` lists them |
|
|
9851
9972
|
* | `706` | The new accounts do not fit in the plan. `data` carries `limit`, `used` and `requested`, and none was enabled |
|
|
9852
9973
|
* | `1101` | Invalid organization |
|
|
9853
|
-
* | `516` | The plan is free and one of the accounts belongs to a network that needs a paid plan (today, `whatsapp`) |
|
|
9974
|
+
* | `516` | The plan is free and one of the accounts belongs to a network that needs a paid plan (today, `whatsapp` and `google_business`) |
|
|
9854
9975
|
*/
|
|
9855
9976
|
400: {
|
|
9856
9977
|
headers: {
|
|
@@ -11974,7 +12095,7 @@ interface operations {
|
|
|
11974
12095
|
* | Code | Meaning |
|
|
11975
12096
|
* | --- | --- |
|
|
11976
12097
|
* | `514` | This endpoint needs app credentials: neither a user token nor a temporal connect token can issue one |
|
|
11977
|
-
* | `516` | The plan is free, `social_network` needs a paid plan (today, `whatsapp`) and the organization has no active account of it to reconnect |
|
|
12098
|
+
* | `516` | The plan is free, `social_network` needs a paid plan (today, `whatsapp` and `google_business`) and the organization has no active account of it to reconnect |
|
|
11978
12099
|
* | `532` | `redirect_uri` is not one of the app's registered `redirect_urls` |
|
|
11979
12100
|
* | `549` | `account_selection` is not `planvortex` or `integrator`, or it is `integrator` without `redirect_uri` or `social_network`. `data` says which |
|
|
11980
12101
|
* | `550` | `account_selection=integrator` on a network with no return to the browser (`telegram`) |
|
|
@@ -13108,6 +13229,13 @@ type ClientWithOrganizations = Operations["getClientsWithOrganizations"]["respon
|
|
|
13108
13229
|
* paginas tienen bandeja de comentarios: LinkedIn no deja a ninguna app leer los comentarios de un
|
|
13109
13230
|
* perfil, y ahi todo `comments.*` devuelve el error 2600. Se distinguen por
|
|
13110
13231
|
* `extra_data.is_personal_profile`; ausente es pagina (las conectadas antes de que hubiera perfiles).
|
|
13232
|
+
*
|
|
13233
|
+
* En TikTok los comentarios piden una segunda autorizacion de la misma cuenta (TikTok API for
|
|
13234
|
+
* Business, vale una cuenta personal o una Business), que se activa desde el panel de PlanVortex.
|
|
13235
|
+
* Hasta entonces la
|
|
13236
|
+
* cuenta publica y tiene estadisticas, y todo `comments.*` devuelve el 2600.
|
|
13237
|
+
* `extra_data.tiktok_business` dice si estan activos (`comments`) y lleva `error_code` 2804
|
|
13238
|
+
* cuando hay que volver a activarlos, sin tocar el `error_code` de la cuenta.
|
|
13111
13239
|
*/
|
|
13112
13240
|
type Account = Override<Schemas["Account"], {
|
|
13113
13241
|
social_network: SocialNetwork;
|
|
@@ -13447,6 +13575,15 @@ type Conversation = Override<Schemas["MessagesConversation"], {
|
|
|
13447
13575
|
* 2026—, no una fecha. Con `group_by: "day"` dos anos del mismo rango caen en el mismo valor.
|
|
13448
13576
|
*/
|
|
13449
13577
|
type ConversationTotals = Schemas["MessagesConversationTotals"];
|
|
13578
|
+
/**
|
|
13579
|
+
* Lo que devuelve marcar una conversacion como leida EN LA RED (`messages.markConversationRead`).
|
|
13580
|
+
*
|
|
13581
|
+
* `network_read` dice si, al terminar, la red la tiene por leida: el contacto ve los ticks azules
|
|
13582
|
+
* (WhatsApp) o el «Visto» (Messenger, Instagram). Es `false` si la red no tiene acuse de lectura,
|
|
13583
|
+
* si fallo (llamar otra vez lo reintenta) o, en WhatsApp, si el ultimo mensaje tiene mas de 30
|
|
13584
|
+
* dias. En PlanVortex queda leida de todas formas.
|
|
13585
|
+
*/
|
|
13586
|
+
type ConversationRead = Schemas["MessagesConversationRead"];
|
|
13450
13587
|
/**
|
|
13451
13588
|
* Lo que se manda para escribir un mensaje.
|
|
13452
13589
|
*
|
|
@@ -14383,4 +14520,4 @@ interface PlanVortexWebhooksOptions {
|
|
|
14383
14520
|
*/
|
|
14384
14521
|
declare function planvortexWebhooks(options: PlanVortexWebhooksOptions): (request: WebhookRequestLike, response: WebhookResponseLike, next: (error?: unknown) => void) => void;
|
|
14385
14522
|
|
|
14386
|
-
export { type
|
|
14523
|
+
export { type ConversationRead as $, type Account as A, type Comment as B, type ConnectLink as C, type Destination as D, type EnableResult as E, type CommentThread as F, type CommentReplyResult as G, type ContactExtraData as H, type Contact as I, type ContactCreate as J, type ContactUpdate as K, type IntegrationProviderName as L, type MetricName as M, type IntegrationProvider as N, type Integration as O, type Paginated as P, type IntegrationConnectRequest as Q, type IntegrationUpdate as R, type SocialNetwork as S, type TopPublicationsResult as T, type IntegrationPickerConfig as U, type IntegrationCatalogPage as V, type MessageTemplate as W, type Conversation as X, type ConversationTotals as Y, type Message as Z, type MessageInput as _, type ConnectResult as a, type MessageOptions as a$, type Client as a0, type Organization as a1, type AiSettings as a2, type ClientWithOrganizations as a3, type AccountSelection as a4, type PlanData as a5, type PlanUseData as a6, type ConnectToken as a7, type AiContext as a8, type SocialCredentialsInput as a9, type AiPlanSourceInput as aA, type AiPlanSourceProduct as aB, type AiPlanState as aC, type ApiErrorBody as aD, type AspectRatios as aE, AuthError as aF, type ClientPlan as aG, type CommentAuthor as aH, type CommentChange as aI, type ConnectSessionAccount as aJ, type ContactChannel as aK, ContactError as aL, type DashboardAiPlanRef as aM, type DashboardPublicationRef as aN, type DashboardRange as aO, type EngagementBase as aP, FileError as aQ, type FileFormat as aR, type FileProperties as aS, type FileType as aT, type IntegrationCatalogProduct as aU, type IntegrationConfig as aV, IntegrationError as aW, type IntegrationErrorChange as aX, type IntegrationFormField as aY, type MessageChange as aZ, type MessageEchoChange as a_, type Product as aa, type ProductInput as ab, type ProductCatalog as ac, type ProductCatalogInput as ad, type PublicationInput as ae, type PublicationState as af, type PublicationStats as ag, type PublicationStatsHistory as ah, type Upload as ai, AccountError as aj, type AccountMetricRow as ak, type AccountStateChange as al, type AccountWebhookChangeBase as am, type AccountWithError as an, type AiImageOrigin as ao, type AiPlanCostEstimate as ap, type AiPlanDestination as aq, AiPlanError as ar, type AiPlanNotice as as, type AiPlanOptions as at, type AiPlanOptionsInput as au, type AiPlanResult as av, type AiPlanResultsGroup as aw, type AiPlanResultsTemplateGroup as ax, type AiPlanSource as ay, type AiPlanSourceImageInput as az, type ConnectSession as b, WEBHOOK_EVENTS as b$, type MessageType as b0, MessagingError as b1, type MetricRow as b2, NO_ERROR_CODE as b3, type components as b4, type operations as b5, type paths as b6, type webhooks as b7, type OpenEnum as b8, OrganizationError as b9, TOKEN_ERROR_CODES as bA, type TopPublication as bB, type UnknownWebhookChange as bC, UserError as bD, type WebhookAlgorithm as bE, type WebhookChange as bF, type WebhookEvent as bG, type WithAccount as bH, type WithPublication as bI, type WooCommerceConnectRequest as bJ, account as bK, accountId as bL, errorFamilyForCode as bM, isPlanVortexError as bN, isTokenError as bO, messageContact as bP, messageContactId as bQ, messageDirection as bR, messageFileIds as bS, messageFiles as bT, publication as bU, publicationId as bV, type AiPlanChange as bW, type HandleWebhookRequestOptions as bX, type PlanVortexWebhooksOptions as bY, type RawWebhookBody as bZ, type VerifyWebhookSignatureOptions as b_, PLANVORTEX_ERROR_RANGES as ba, PlanLimitError as bb, PlanVortexAuthenticationError as bc, PlanVortexConfigError as bd, PlanVortexConnectionError as be, PlanVortexError as bf, type PlanVortexErrorOptions as bg, type PlanVortexErrorRange as bh, type PlannerTemplateField as bi, type PlannerTemplateFieldType as bj, ProductError as bk, type PublicationAiGenerated as bl, type PublicationDestination as bm, PublicationError as bn, type PublicationErrorDetail as bo, type PublicationMetrics as bp, type PublicationPending as bq, type PublicationStatsPoint as br, type PublicationType as bs, type PublicationsSummary as bt, type RssConfig as bu, type SocialAuthorizationMethod as bv, type SocialCredentials as bw, type SocialIdentifier as bx, type SocialIdentifierInput as by, type SocialLimitsMap as bz, type AccountMetrics as c, WEBHOOK_SIGNATURE_HEADERS as c0, WebhookBodyError as c1, type WebhookHeaders as c2, type WebhookRequestLike as c3, type WebhookResponseLike as c4, WebhookSignatureError as c5, handleWebhookRequest as c6, isAccountStateChange as c7, isAiPlanChange as c8, isCommentChange as c9, isIntegrationErrorChange as ca, isMessageChange as cb, isMessageEchoChange as cc, parseWebhookPayload as cd, planvortexWebhooks as ce, verifyWebhookSignature as cf, type PublishSettings as d, type PersistentMenu as e, type Dashboard as f, type DashboardMetricsResult as g, type PublicationsSummaryResult as h, type PublicationsStatsResult as i, type PlanUse as j, type Publication as k, type AiPlanResultsSort as l, type PlannerTemplateName as m, type AiPlanCreateRequest as n, type AiPlanCreateResult as o, type AiPlan as p, type AiPlanResults as q, type ClientApp as r, type ClientAppInput as s, type SocialCapabilities as t, type CommentActions as u, type SocialLimits as v, type PublicationLimits as w, type AspectRatiosByNetwork as x, type PlannerTemplate as y, type CommentNetwork as z };
|