planvortex 0.11.0 → 0.12.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 +4 -4
- package/dist/{chunk-RK2OR6IV.js → chunk-73WEEBP3.js} +13 -8
- package/dist/chunk-73WEEBP3.js.map +1 -0
- package/dist/{index-B1pa7Ct0.d.cts → index-1xUDBgl6.d.cts} +467 -27
- package/dist/{index-B1pa7Ct0.d.ts → index-1xUDBgl6.d.ts} +467 -27
- package/dist/index.cjs +84 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -5
- package/dist/index.d.ts +66 -5
- package/dist/index.js +75 -4
- package/dist/index.js.map +1 -1
- package/dist/webhooks/index.cjs +11 -6
- 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 +5 -1
- package/dist/chunk-RK2OR6IV.js.map +0 -1
|
@@ -367,7 +367,7 @@ interface paths {
|
|
|
367
367
|
put?: never;
|
|
368
368
|
/**
|
|
369
369
|
* Create an AI publication plan
|
|
370
|
-
* @description Create a weekly AI publication plan. The plan is queued in state 'pending' and generated asynchronously by the generate-ai-plans job; poll GET by id while state is pending or generating. Validations at creation: the client plan allows AI (it contracts AI credits; Free does not), the accounts belong to the organization, there are enough AI credits for the deterministic base cost (orchestration + target texts), and there is room in the organization's monthly publication limit. Returns the created plan together with the deterministic cost estimate. Requires the ai_plans:create permission. Since the plan can be generated from a SOURCE (`template` + `source`), part of that validation is the source itself: the article is downloaded, the catalogue is read live and the product pictures are copied — all of it inside this request, so what does not work fails with the user in front of it. A plan whose source did not fit in the week is still created, and says so in ai_plan.warnings (2117).
|
|
370
|
+
* @description Create a weekly AI publication plan. The plan is queued in state 'pending' and generated asynchronously by the generate-ai-plans job; poll GET by id while state is pending or generating. Validations at creation: the client plan allows AI (it contracts AI credits; Free does not), the accounts belong to the organization, there are enough AI credits for the deterministic base cost (orchestration + target texts), and there is room in the organization's monthly publication limit. Returns the created plan together with the deterministic cost estimate. Requires the ai_plans:create permission. Since the plan can be generated from a SOURCE (`template` + `source`), part of that validation is the source itself: the article is downloaded, the catalogue is read live and the product pictures are copied — all of it inside this request, so what does not work fails with the user in front of it. A plan whose source did not fit in the week is still created, and says so in ai_plan.warnings (2117). With a Pinterest account in the plan, two more checks run at creation: every Pinterest account needs its board in `destinations` (2118), and a configuration that would leave pins without an image is refused (2119).
|
|
371
371
|
*/
|
|
372
372
|
post: operations["addAiPlan"];
|
|
373
373
|
delete?: never;
|
|
@@ -797,7 +797,7 @@ interface paths {
|
|
|
797
797
|
*
|
|
798
798
|
* **Telegram does not come through here, and cannot be made to.** That network has no callback: the account is created by PlanVortex when the bot is added to a channel, and what authorizes it is a single-use voucher minted at that moment and spent in the same breath — it never leaves the server, so calling this endpoint for `telegram` answers error 700. It is deliberate: the bot is shared, so without it anyone could hang any channel where that bot is an admin off their own organization by passing a chat id by hand. What an integration listens for instead is the `new_account` webhook notification.
|
|
799
799
|
*
|
|
800
|
-
* **And a Telegram account arrives already active.** In
|
|
800
|
+
* **And a Telegram account arrives already active.** In every other network this endpoint hands you accounts that are still off, and you pick which ones spend a plan slot with `POST .../accounts/{id_account}/enable`. Here there is nothing to call: one channel arrives — the one the person picked in Telegram — and PlanVortex takes the slot for it right then. If the plan has no free slot the account is still created, off, and the person is told so in the bot chat; `GET /organizations/{id_organization}/accounts` will not list it, because that listing only returns active accounts, but naming it in the `accounts` filter does return it.
|
|
801
801
|
*/
|
|
802
802
|
get: operations["connectAccount"];
|
|
803
803
|
put?: never;
|
|
@@ -928,6 +928,56 @@ interface paths {
|
|
|
928
928
|
patch?: never;
|
|
929
929
|
trace?: never;
|
|
930
930
|
};
|
|
931
|
+
"/organizations/{id_organization}/accounts/{id_account}/destinations": {
|
|
932
|
+
parameters: {
|
|
933
|
+
query?: never;
|
|
934
|
+
header?: never;
|
|
935
|
+
path?: never;
|
|
936
|
+
cookie?: never;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* List where this account can publish
|
|
940
|
+
* @description The places inside the account a publication can go to: on Pinterest, the boards.
|
|
941
|
+
*
|
|
942
|
+
* **Most networks have none, and that is not a failure of yours.** Connecting the account already says where a publication comes out — the wall, the channel, the profile — so only the networks that answer `destinations: true` in `GET /social_capabilities` have anything to list. Anywhere else this answers error 992.
|
|
943
|
+
*
|
|
944
|
+
* **Where they exist, the destination is required.** What comes back here is what you send in `destination.id` when creating the publication, and one created without it is created in state `withErrors` with `publication_errors[].code = 987`, which the background job will not attempt.
|
|
945
|
+
*
|
|
946
|
+
* The **sections** of a board are not in this listing: ask for one destination to get them.
|
|
947
|
+
*/
|
|
948
|
+
get: operations["getAccountDestinations"];
|
|
949
|
+
put?: never;
|
|
950
|
+
post?: never;
|
|
951
|
+
delete?: never;
|
|
952
|
+
options?: never;
|
|
953
|
+
head?: never;
|
|
954
|
+
patch?: never;
|
|
955
|
+
trace?: never;
|
|
956
|
+
};
|
|
957
|
+
"/organizations/{id_organization}/accounts/{id_account}/destinations/{id_destination}": {
|
|
958
|
+
parameters: {
|
|
959
|
+
query?: never;
|
|
960
|
+
header?: never;
|
|
961
|
+
path?: never;
|
|
962
|
+
cookie?: never;
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* Read one destination and its sections
|
|
966
|
+
* @description One destination with its detail: on Pinterest, the sections of the board, which is what goes in `destination.section_id`.
|
|
967
|
+
*
|
|
968
|
+
* They are deliberately not in the listing — reading the sections of every board would cost one call to the network per board.
|
|
969
|
+
*
|
|
970
|
+
* **It is checked against this account's own destinations, not asked of the network blind.** A destination that is not in this account answers error 993, whether it never existed, was just deleted, or belongs to somebody else; without that check the endpoint would read any public board's sections with your token.
|
|
971
|
+
*/
|
|
972
|
+
get: operations["getAccountDestination"];
|
|
973
|
+
put?: never;
|
|
974
|
+
post?: never;
|
|
975
|
+
delete?: never;
|
|
976
|
+
options?: never;
|
|
977
|
+
head?: never;
|
|
978
|
+
patch?: never;
|
|
979
|
+
trace?: never;
|
|
980
|
+
};
|
|
931
981
|
"/organizations/{id_organization}/accounts/{id_account}/enable": {
|
|
932
982
|
parameters: {
|
|
933
983
|
query?: never;
|
|
@@ -1408,7 +1458,7 @@ interface paths {
|
|
|
1408
1458
|
*
|
|
1409
1459
|
* **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.
|
|
1410
1460
|
*
|
|
1411
|
-
* **Read `authorization`, not `link`.**
|
|
1461
|
+
* **Read `authorization`, not `link`.** Almost every network is `redirect` and you send the person to `link`. Two are not, and neither of them fails visibly if you treat it as one:
|
|
1412
1462
|
*
|
|
1413
1463
|
* • **WhatsApp is not a URL at all.** Its sign-up is Meta's Embedded Signup, a popup you raise with the Facebook JavaScript SDK, so its `link` is an empty string and everything you need to open that popup travels in `authorization`. A client that loops over the list and redirects to `link` sends its user to its own page.
|
|
1414
1464
|
* • **Telegram has a link and still is not a redirect.** It opens a chat with the PlanVortex bot, and nobody comes back from it: the account is born minutes later, from the bot being added to a channel, and it is announced over the WebSocket. Open it in another tab and keep listening; redirect to it and there is nobody left to tell.
|
|
@@ -2398,7 +2448,9 @@ interface paths {
|
|
|
2398
2448
|
*
|
|
2399
2449
|
* `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.
|
|
2400
2450
|
*
|
|
2401
|
-
* Today ten networks answer `comments: true`: Facebook, Instagram, Threads, LinkedIn, X, YouTube, Google Business, Bluesky, Discord and Telegram. TikTok and
|
|
2451
|
+
* Today ten networks answer `comments: true`: Facebook, Instagram, Threads, LinkedIn, X, YouTube, Google Business, Bluesky, Discord and Telegram. TikTok, 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.
|
|
2452
|
+
*
|
|
2453
|
+
* **Two 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, and both 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.
|
|
2402
2454
|
*
|
|
2403
2455
|
* 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.
|
|
2404
2456
|
*
|
|
@@ -2631,7 +2683,7 @@ interface components {
|
|
|
2631
2683
|
/**
|
|
2632
2684
|
* @description **How** an account of this network is authorized, which is not always "send the user to this URL".
|
|
2633
2685
|
*
|
|
2634
|
-
*
|
|
2686
|
+
* Almost every network is `redirect`: open `link` and the network sends the person back to PlanVortex with a code. Two are not:
|
|
2635
2687
|
*
|
|
2636
2688
|
* • **WhatsApp.** Its sign-up is Meta's *Embedded Signup*: a popup raised by the Facebook JavaScript SDK from your own page, which returns — over `postMessage` — session data (`waba_id`, `phone_number_id`) that no query string carries. Its `link` is therefore an empty string.
|
|
2637
2689
|
* • **Telegram.** There is no OAuth here: no consent screen, no `code`, no account token. `link` opens a private chat with the PlanVortex bot, the person then adds that bot to their channel, and **the account is created from that event**, not from any request of yours. Which means the connection cannot be finished by calling `GET /organizations/{id_organization}/account-connect/telegram` — see that endpoint.
|
|
@@ -2813,6 +2865,8 @@ interface components {
|
|
|
2813
2865
|
creation_date: string;
|
|
2814
2866
|
/** @description AI credits actually consumed by the generation. */
|
|
2815
2867
|
credits_spent: number;
|
|
2868
|
+
/** @description The destination of each account of the plan that needs one (today, the board of every Pinterest account). Empty on a plan without such accounts, and on every plan created before destinations existed. */
|
|
2869
|
+
destinations?: components["schemas"]["AiPlansAiPlanDestination"][];
|
|
2816
2870
|
/** @description Last generation error. Present only in state `failed`. */
|
|
2817
2871
|
error?: components["schemas"]["AiPlansAiPlanNotice"];
|
|
2818
2872
|
/** Format: date-time */
|
|
@@ -2848,7 +2902,11 @@ interface components {
|
|
|
2848
2902
|
/**
|
|
2849
2903
|
* @description Non-blocking notices about the LAST attempt (they are cleared when a new one starts). The plan is generated and perfectly usable; your UI just has to say what happened.
|
|
2850
2904
|
*
|
|
2851
|
-
* Today there
|
|
2905
|
+
* Today there are two.
|
|
2906
|
+
*
|
|
2907
|
+
* **2117 — some source items did not fit in the plan week.** A plan is weekly and the source does not extend it, so 12 photos with 6 slots left publish 6 and the rest are dropped. `data` carries `{ source_items, capacity }`. Better said BEFORE creating the plan (the slots are the publish days x the accounts) than after charging for it.
|
|
2908
|
+
*
|
|
2909
|
+
* **922 — a publication of a network that cannot publish without an image was left without one.** On Pinterest a pin is an image or a video, never text. The plan cannot be created with a configuration that would cause this (2119), but an image generation that fails halfway through the plan cannot be foreseen. `data` carries `{ step, social_network, id_account, id_publication }`: that draft will not publish until it has an image — regenerate it or attach one.
|
|
2852
2910
|
*/
|
|
2853
2911
|
warnings?: components["schemas"]["AiPlansAiPlanNotice"][];
|
|
2854
2912
|
};
|
|
@@ -2866,6 +2924,14 @@ interface components {
|
|
|
2866
2924
|
AiPlansAiPlanCreateRequest: {
|
|
2867
2925
|
/** @description Account ids (belonging to the organization) to generate the plan for. */
|
|
2868
2926
|
accounts: string[];
|
|
2927
|
+
/**
|
|
2928
|
+
* @description Where each account publishes, for the networks that answer `destinations: true` in `GET /social_capabilities` — today `pinterest` alone, where it is the board of every pin of that account.
|
|
2929
|
+
*
|
|
2930
|
+
* **On Pinterest it is required, one entry per Pinterest account of the plan.** A plan without it — or with a board id that is not a string of digits — is rejected with **2118**, listing EVERY account that fails in `data.accounts[]` with the same `reason` as the publication's 987 (`missing`, `invalid_id`, `invalid_section_id`), so your UI can mark them all at once. Without this check the plan would be created, charged, and leave a week of drafts in `withErrors` with the 987.
|
|
2931
|
+
*
|
|
2932
|
+
* Entries for accounts on networks without destinations are dropped, not rejected. The board is **not** checked against Pinterest at creation — that would make creating a plan depend on Pinterest answering; a board that does not exist fails when the pin is published. Read the account's boards with `GET /organizations/{id_organization}/accounts/{id_account}/destinations`.
|
|
2933
|
+
*/
|
|
2934
|
+
destinations?: components["schemas"]["AiPlansAiPlanDestination"][];
|
|
2869
2935
|
options?: components["schemas"]["AiPlansAiPlanOptionsInput"];
|
|
2870
2936
|
/** @description Theme prompt written by the user. */
|
|
2871
2937
|
prompt: string;
|
|
@@ -2887,6 +2953,18 @@ interface components {
|
|
|
2887
2953
|
/** @description Shortcut to estimate.estimated_cost. */
|
|
2888
2954
|
estimated_cost: number;
|
|
2889
2955
|
};
|
|
2956
|
+
/**
|
|
2957
|
+
* @description The destination of ONE account of the plan: the Pinterest board where **all** of that account's publications of the plan go.
|
|
2958
|
+
*
|
|
2959
|
+
* One per ACCOUNT, not one per plan, because a plan can carry three Pinterest profiles and each one has its own boards. And it travels with the account, not with the content: in a `shared` plan the same content replicated to three profiles lands on three boards with nothing else to touch.
|
|
2960
|
+
*
|
|
2961
|
+
* There is no default destination stored on the account: it lives in the plan alone.
|
|
2962
|
+
*/
|
|
2963
|
+
AiPlansAiPlanDestination: {
|
|
2964
|
+
destination: components["schemas"]["PublicationDestination"];
|
|
2965
|
+
/** @description An account of the plan — one of `accounts`. An entry for an account that is not in the plan is a 2106 (almost always an id swapped by mistake). */
|
|
2966
|
+
id_account: string;
|
|
2967
|
+
};
|
|
2890
2968
|
AiPlansAiPlanList: {
|
|
2891
2969
|
ai_plans: components["schemas"]["AiPlansAiPlan"][];
|
|
2892
2970
|
total: number;
|
|
@@ -2916,6 +2994,8 @@ interface components {
|
|
|
2916
2994
|
* @default es
|
|
2917
2995
|
*/
|
|
2918
2996
|
language: string;
|
|
2997
|
+
/** @description The destination link given to the plan's publications on the networks with `link: true` (today `pinterest`). Absent when none was sent or the plan has no such network. */
|
|
2998
|
+
link?: string;
|
|
2919
2999
|
/** @description Optional cap on the number of images; the credit budget may reduce it further. */
|
|
2920
3000
|
max_images?: number;
|
|
2921
3001
|
/**
|
|
@@ -2962,6 +3042,12 @@ interface components {
|
|
|
2962
3042
|
gallery_uploads?: string[];
|
|
2963
3043
|
/** @description Language of the generated texts. Optional; defaults to `"es"`. */
|
|
2964
3044
|
language?: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* @description **The destination link** of the plan's publications — the pin's `link`, the same for every publication of the plan. Optional: a pin without a link is legitimate, it just takes nobody anywhere.
|
|
3047
|
+
*
|
|
3048
|
+
* It only reaches the publications of the networks that answer `link: true` in `GET /social_capabilities` (today `pinterest`); with none of them in the plan it is dropped. With one, it is validated **at creation**: a URL Pinterest would reject is a **994** now (`data.reason` `invalid_url` or `too_long`), not a week of pins failing at publish time.
|
|
3049
|
+
*/
|
|
3050
|
+
link?: string;
|
|
2965
3051
|
/** @description Optional cap on the number of images; the credit budget may reduce it further. */
|
|
2966
3052
|
max_images?: number;
|
|
2967
3053
|
/** @description Days of the week the plan publishes on, in ISO 8601 numbering (1 = Monday ... 7 = Sunday). Defaults to the whole week. There is still at most ONE publication per day and account, so this is what bounds the size and the cost of the plan: the number of generated posts is (selected days x accounts). Must be a non-empty array of unique integers between 1 and 7, or the request is rejected with 2106. The 7-day window starts at week_start, so each ISO day appears exactly once: with a week_start in mid-week, day 1 (Monday) is the FOLLOWING Monday. If the selected days leave no future slot at all, the request is rejected with 2108. Optional; defaults to `[1,2,3,4,5,6,7]`. */
|
|
@@ -3230,6 +3316,8 @@ interface components {
|
|
|
3230
3316
|
* @description Maximum size of one file, in megabytes.
|
|
3231
3317
|
*
|
|
3232
3318
|
* **On `slack` this one is a ceiling, not a promise.** 1.024 MB is what the network allows; the real limit is the lesser of that and the storage the client's own workspace plan still has, which no API exposes. A file inside this number can still come back as error 986. It is the only key in this map with that property.
|
|
3319
|
+
*
|
|
3320
|
+
* **On `pinterest` this number is the IMAGE one** (~20 MB); a video is allowed two orders of magnitude more. It is the one entry in this map that does not apply to every file of its network, so a size warning shown against it would be wrong on every video. Over whichever ceiling applies, the publication is created in state `withErrors` with `publication_errors[].code = 996` and `data.max_mb`.
|
|
3233
3321
|
*/
|
|
3234
3322
|
max_file_size_mb: components["schemas"]["CatalogSocialLimitsMap"];
|
|
3235
3323
|
/** @description Second text limit, in UTF-8 bytes. `0` means the network does not measure text in bytes; only Bluesky does, at 3.000. */
|
|
@@ -3240,6 +3328,8 @@ interface components {
|
|
|
3240
3328
|
* @description How many images one publication accepts. `0` means images are not a publication on that network.
|
|
3241
3329
|
*
|
|
3242
3330
|
* **On `discord`, `threads` and `slack` it counts images and videos together**, because there the carousel is one message carrying several attachments and not several publications: what is validated is the total number of files. Over it, the publication is created in state `withErrors` — on `slack` with `publication_errors[].code = 982`.
|
|
3331
|
+
*
|
|
3332
|
+
* **On `pinterest` it is a ceiling with a floor under it.** Several images are a carousel of 2 to 5: one image is not a small carousel (it is a plain image pin, which is a different call) and six is not a trimmed one. Outside that range the publication is created in state `withErrors` with `publication_errors[].code = 990`.
|
|
3243
3333
|
*/
|
|
3244
3334
|
total_images: components["schemas"]["CatalogSocialLimitsMap"];
|
|
3245
3335
|
/** @description Maximum video duration. A network that limits weight instead of duration is not here but in `max_file_size_mb`. */
|
|
@@ -3500,6 +3590,10 @@ interface components {
|
|
|
3500
3590
|
/** @description The coarse gates of one network */
|
|
3501
3591
|
CommentsSocialCapabilities: {
|
|
3502
3592
|
comments: boolean;
|
|
3593
|
+
/** @description The network publishes into **places inside the account**, and every publication has to name one: a Pinterest board. When this is `true`, read `GET /organizations/{id_organization}/accounts/{id_account}/destinations` and send one back in `destination` — a publication created without it lands in state `withErrors` with `publication_errors[].code = 987`. Today only `pinterest`. */
|
|
3594
|
+
destinations: boolean;
|
|
3595
|
+
/** @description The publication carries a **destination link of its own** (`link`), separate from its text: where a pin takes whoever clicks it. On a network that answers `false` the field is deleted on save, so do not offer it. Today only `pinterest`. */
|
|
3596
|
+
link: boolean;
|
|
3503
3597
|
messages: boolean;
|
|
3504
3598
|
persistent_menu: boolean;
|
|
3505
3599
|
products: boolean;
|
|
@@ -3850,7 +3944,7 @@ interface components {
|
|
|
3850
3944
|
* The catalogue grows with the product, so treat an unknown `code` as a generic failure instead of rejecting it.
|
|
3851
3945
|
*/
|
|
3852
3946
|
Error: {
|
|
3853
|
-
/** @description PlanVortex error code. Ranges: 500-
|
|
3947
|
+
/** @description PlanVortex error code. Ranges: 500-548 auth, tokens and client apps · 601-612 user · 700-716 social accounts · 800-810 files · 900-996 publications · 1000-1003 general · 1100-1111 organizations · 1200-1207 roles · 1300-1308 client plan · 1400-1408 organization plan · 1500-1512 messaging · 1600-1601 contacts · 1900-1906 payments · 2000-2099 products · 2100-2199 AI plans · 2200-2299 integrations. */
|
|
3854
3948
|
code: number;
|
|
3855
3949
|
/** @description Extra context attached to the error, when there is any. */
|
|
3856
3950
|
data?: {
|
|
@@ -4308,6 +4402,8 @@ interface components {
|
|
|
4308
4402
|
_id: string;
|
|
4309
4403
|
/** Format: date-time */
|
|
4310
4404
|
creation_date: string;
|
|
4405
|
+
/** @description Where inside the account this publication goes. Only present on the networks that answer `destinations: true` in `GET /social_capabilities`. */
|
|
4406
|
+
destination?: components["schemas"]["PublicationDestination"];
|
|
4311
4407
|
/**
|
|
4312
4408
|
* @description What this publication's engagement rate is divided by.
|
|
4313
4409
|
* @enum {string}
|
|
@@ -4334,6 +4430,14 @@ interface components {
|
|
|
4334
4430
|
/** @description The integration this publication came from — an RSS feed, for instance. Set when it is created and never changed afterwards. */
|
|
4335
4431
|
id_integration?: string;
|
|
4336
4432
|
id_organization: string;
|
|
4433
|
+
/**
|
|
4434
|
+
* @description **The destination link**: where the publication takes whoever clicks it. Not to be confused with `url`, which is the link to the publication *on the network* and only exists once it is published.
|
|
4435
|
+
*
|
|
4436
|
+
* Only the networks that answer `link: true` in `GET /social_capabilities` carry it — today `pinterest` alone, where a pin has a `link` field of its own and sending traffic somewhere is the whole point of publishing there. Putting the URL inside `text` instead leaves it visible and unclickable.
|
|
4437
|
+
*
|
|
4438
|
+
* **On every other network the field is deleted on save**, like `destination`.
|
|
4439
|
+
*/
|
|
4440
|
+
link?: string;
|
|
4337
4441
|
/** @description Last known measurement, in the common vocabulary. Absent until it is measured. */
|
|
4338
4442
|
metrics?: components["schemas"]["NormalizedMetrics"];
|
|
4339
4443
|
/** @description Internal name. Never shown on the social network. */
|
|
@@ -4374,14 +4478,71 @@ interface components {
|
|
|
4374
4478
|
/** @description Link to the publication on the network, when there is one. A **private** Telegram channel has no public URL, so it comes back empty even though the post went out. */
|
|
4375
4479
|
url?: string;
|
|
4376
4480
|
};
|
|
4481
|
+
/**
|
|
4482
|
+
* @description **Where inside the account** a publication goes, on the networks where choosing the account is not yet choosing the destination. Today that is `pinterest` alone, where it is the board the pin is saved to.
|
|
4483
|
+
*
|
|
4484
|
+
* Ask `destinations` in `GET /social_capabilities` instead of keeping a list of your own, and read the account's boards with `GET /organizations/{id_organization}/accounts/{id_account}/destinations`.
|
|
4485
|
+
*
|
|
4486
|
+
* **On Pinterest it is required.** A publication created without it is created in state `withErrors` with `publication_errors[].code = 987` and the background job will not attempt it — the same treatment as a YouTube video with no title, and for the same reason: a scheduled publication that dies at 3 a.m. over a board that was missing from the start is a failure that could have been told to the person while they were still there.
|
|
4487
|
+
*
|
|
4488
|
+
* **On every other network the field is deleted, not rejected.** A `destination` on a Facebook publication would be a field that does nothing, and giving it back in the response would be worse than dropping it.
|
|
4489
|
+
*
|
|
4490
|
+
* `name` and `section_name` are labels for display ("Recipes > Desserts"). The server never checks them and nothing is decided by them: what publishes is `id`.
|
|
4491
|
+
*/
|
|
4492
|
+
PublicationDestination: {
|
|
4493
|
+
/** @description The board id. **Always a string**, never a number: Pinterest's ids are long integers, so a client that sends one as a JSON number has already lost digits to rounding before the request arrives. That is refused — `publication_errors[].code = 987` with `data.reason = "invalid_id"` — rather than published to some other board. Sending the board's *name* instead of its id fails the same way, which is the likeliest first mistake of an integration. */
|
|
4494
|
+
id?: string;
|
|
4495
|
+
/** @description The board's label, for display. Decides nothing. */
|
|
4496
|
+
name?: string;
|
|
4497
|
+
/** @description Pinterest only: the section of the board, optional. Absent or empty means the board itself. Same rule as `id` — anything that is not a string of digits is `data.reason = "invalid_section_id"`. A board's sections arrive in the detail of one destination, not in the list of them. */
|
|
4498
|
+
section_id?: string;
|
|
4499
|
+
/** @description The section's label, for display. Decides nothing. */
|
|
4500
|
+
section_name?: string;
|
|
4501
|
+
};
|
|
4502
|
+
/** @description A place inside the account a publication can be sent to: on Pinterest, a board. */
|
|
4503
|
+
PublicationsDestination: {
|
|
4504
|
+
/** @description The destination's own description, when the network has one. */
|
|
4505
|
+
description?: string;
|
|
4506
|
+
/** @description What goes in `destination.id` when creating a publication. **Always a string**, even though Pinterest's are long integers — parse it as text or you will lose digits. */
|
|
4507
|
+
id: string;
|
|
4508
|
+
/** @description A cover image for the picker, when the network has one. */
|
|
4509
|
+
image?: string;
|
|
4510
|
+
/** @description The name to show in a picker. */
|
|
4511
|
+
name: string;
|
|
4512
|
+
/** @description Pinterest: `PUBLIC`, `PROTECTED` or `SECRET`. Worth showing: a pin on a secret board is seen by nobody else, and afterwards there is nothing in the statistics that explains why it has no impressions. */
|
|
4513
|
+
privacy?: string;
|
|
4514
|
+
/** @description Pinterest: the board's sections, which is what goes in `destination.section_id`. **Only in the detail of one destination** — listing them for every board would cost one call to the network per board. */
|
|
4515
|
+
sections?: {
|
|
4516
|
+
id: string;
|
|
4517
|
+
name: string;
|
|
4518
|
+
}[];
|
|
4519
|
+
};
|
|
4377
4520
|
/** @description Body accepted when creating or updating a publication. Only these properties are read; anything else in the payload is ignored. */
|
|
4378
4521
|
PublicationsPublicationInput: {
|
|
4522
|
+
/**
|
|
4523
|
+
* @description Where inside the account the publication goes. **Required on the networks that answer `destinations: true` in `GET /social_capabilities`** — today `pinterest`, where it is the board — and **deleted** on every other one.
|
|
4524
|
+
*
|
|
4525
|
+
* Read the account's destinations with `GET /organizations/{id_organization}/accounts/{id_account}/destinations` and send back the `id` you got from there. Missing or malformed, the publication is still created, in state `withErrors` with `publication_errors[].code = 987` and a `data.reason` of `missing`, `invalid_id` or `invalid_section_id`. It is **not** checked against the network at creation: that would cost a call to Pinterest on every publication and make creating one depend on Pinterest answering.
|
|
4526
|
+
*
|
|
4527
|
+
* On an update, omitting it keeps the destination that was there.
|
|
4528
|
+
*/
|
|
4529
|
+
destination?: components["schemas"]["PublicationDestination"];
|
|
4379
4530
|
/**
|
|
4380
4531
|
* @description Identifiers of uploads previously created through the uploads endpoints, attached to this publication.
|
|
4381
4532
|
*
|
|
4382
4533
|
* **On Slack the files travel inside the message**, not as publications of their own: up to 10 attachments counting images and videos together (`publication_errors[].code = 982` over it), each one under the `max_file_size_mb.slack` ceiling (code 983), and anything the upload itself refuses comes back as code 986.
|
|
4534
|
+
*
|
|
4535
|
+
* **On Pinterest a pin is an image or a video, never text alone** (code 922 with neither), and it is of one kind only: two to five images make a carousel — outside that range, code 990 — images and videos are not mixed and there is no more than one video (code 916). The weight ceilings are two orders of magnitude apart, so `max_file_size_mb.pinterest` is the **image** one (~20 MB) while a video is allowed far more; over either, code 996 with `data.max_mb`.
|
|
4383
4536
|
*/
|
|
4384
4537
|
files?: string[];
|
|
4538
|
+
/**
|
|
4539
|
+
* @description **The destination link**: where the publication takes whoever clicks it. Only on the networks that answer `link: true` in `GET /social_capabilities` — today `pinterest`, where it is the whole point of a pin — and **deleted** on every other one. It is not `url`, which is the link to the publication on the network once published.
|
|
4540
|
+
*
|
|
4541
|
+
* It is optional (a pin with no link is legitimate), but if it is sent it must be a real `http(s)://` URL of at most 2.048 characters: a bare domain such as `mysite.com/recipe` is created in state `withErrors` with `publication_errors[].code = 994` and `data.reason` of `invalid_url` or `too_long`. It is checked when the publication is **created**, not when it is published, so a scheduled pin does not die at 3 a.m. over a link that was already wrong.
|
|
4542
|
+
*
|
|
4543
|
+
* On an update: omit it to keep what was there, send `null` or `""` to remove it.
|
|
4544
|
+
*/
|
|
4545
|
+
link?: string;
|
|
4385
4546
|
/** @description Internal name for the publication. Useful for grouping; never shown on the social network. */
|
|
4386
4547
|
name?: string;
|
|
4387
4548
|
/**
|
|
@@ -4400,7 +4561,7 @@ interface components {
|
|
|
4400
4561
|
* Not every connectable network publishes — a local business listing receives reviews, not posts — so this list is shorter than the one in `GET /social_networks`. Ask `GET /allowed_social_publications` rather than hardcoding it, because it grows.
|
|
4401
4562
|
* @enum {string}
|
|
4402
4563
|
*/
|
|
4403
|
-
social_network?: "facebook" | "instagram" | "twitter" | "linkedin" | "tiktok" | "whatsapp" | "youtube" | "bluesky" | "discord" | "telegram" | "threads" | "slack";
|
|
4564
|
+
social_network?: "facebook" | "instagram" | "twitter" | "linkedin" | "tiktok" | "whatsapp" | "youtube" | "bluesky" | "discord" | "telegram" | "threads" | "slack" | "pinterest";
|
|
4404
4565
|
/**
|
|
4405
4566
|
* @description Send `draft` to store the publication without publishing it. If omitted, the state is resolved automatically: `ready` when everything validates, `withErrors` otherwise. Forcing `sended` marks it as published without actually sending it.
|
|
4406
4567
|
* @enum {string}
|
|
@@ -4412,9 +4573,15 @@ interface components {
|
|
|
4412
4573
|
* **On Telegram the limit depends on what else the publication carries**: 4.096 characters while it is text only, and **1.024** the moment it has an image or a video, because then the text is the caption of a photo, a video or an album and no longer a message. Over the limit it is created in state `withErrors` with `publication_errors[].code = 967`, whose `data` carries `characters`, `max_characters` and `has_media`. Both numbers are published, as `characters.telegram` and `characters.telegram_media` in `GET /social_limits`.
|
|
4413
4574
|
*
|
|
4414
4575
|
* **On Slack the limit is 4.000 characters** and it is counted over the text you send, not over what travels: `&`, `<` and `>` are escaped before publishing, so a text made of ampersands grows on the wire and is still measured here. Over the limit the publication is created in state `withErrors` with `publication_errors[].code = 981`. And because the escaped text is what is measured on the wire, a text that passed at 4.000 characters and is full of `&` is **trimmed** before going out — Slack does not reject a long `text`, it truncates it or splits it into several messages, and one publication showing up as two posts is worse. The text goes out **plain**: Slack speaks *mrkdwn* and not Markdown, and PlanVortex sends no `blocks`, so `**bold**` is published literally.
|
|
4576
|
+
*
|
|
4577
|
+
* **On Pinterest `text` is the pin's description**, at most 800 characters — the title is the separate `title` field, which is the first thing anyone arriving from Facebook gets wrong. Over it, `publication_errors[].code = 995` with `data.field = "description"`.
|
|
4415
4578
|
*/
|
|
4416
4579
|
text?: string;
|
|
4417
|
-
/**
|
|
4580
|
+
/**
|
|
4581
|
+
* @description Title for the publication. Only some networks use it: optional on LinkedIn, and **required on YouTube**, where it is the video title and must be 100 characters or fewer — a publication without it, or with a longer one, is created in state `withErrors` with `publication_errors[].code = 944`.
|
|
4582
|
+
*
|
|
4583
|
+
* **On Pinterest it is the pin's title**, optional and at most 100 characters; over it the publication is created in state `withErrors` with `publication_errors[].code = 995` and `data.field = "title"`.
|
|
4584
|
+
*/
|
|
4418
4585
|
title?: string;
|
|
4419
4586
|
};
|
|
4420
4587
|
PublicationsPublicationList: {
|
|
@@ -4519,6 +4686,8 @@ interface components {
|
|
|
4519
4686
|
* On `telegram` there are two as well, and **neither of them is asked for**: the Bot API has no method that returns a message's metrics, so `reactions` arrives on its own through the bot and `comments` is counted in PlanVortex's own inbox. There are no impressions, no reach, no views and no forwards to be had anywhere in it, so engagement is computed over followers.
|
|
4520
4687
|
*
|
|
4521
4688
|
* On `slack` there is exactly **one**, `reactions`, and the other absences are the informative part: the Web API publishes no impressions, no reach, no views and no clicks for a message, so those keys are missing rather than zero. There is no `comments` either — Slack threads are not read at all (`comments` is `false` in `GET /social_capabilities`). Engagement is computed over the channel's members.
|
|
4689
|
+
*
|
|
4690
|
+
* On `pinterest` there are seven, and three of them exist nowhere else: `saves` — the gesture the whole network is built on —, `outbound_clicks` (clicks that left the pin towards its `link`, which is the one normalised as the common `clicks`) and `pin_clicks` (clicks that opened the pin inside Pinterest, with no common equivalent). `impressions` is real here, so the engagement rate is computed over it and not over followers. `video_views` only exists on a video pin. And `comments` is the odd one: Pinterest **counts** them and offers no way to read them, so the number is reported while `comments` is `false` in `GET /social_capabilities` — this network has no comment inbox, and it is not a gap waiting to be filled.
|
|
4522
4691
|
*/
|
|
4523
4692
|
PublicationStats: {
|
|
4524
4693
|
angers?: number;
|
|
@@ -4534,7 +4703,11 @@ interface components {
|
|
|
4534
4703
|
likes?: number;
|
|
4535
4704
|
loves?: number;
|
|
4536
4705
|
negative_feedback?: number;
|
|
4706
|
+
/** @description Pinterest. Clicks that left the pin towards its `link`. This is the one normalised as the common `clicks`. */
|
|
4707
|
+
outbound_clicks?: number;
|
|
4537
4708
|
page_likes?: number;
|
|
4709
|
+
/** @description Pinterest. Clicks that opened the pin inside Pinterest without leaving it. No common equivalent, so it lives only here. */
|
|
4710
|
+
pin_clicks?: number;
|
|
4538
4711
|
/** @description X (Twitter). Video playbacks that reached 0% — i.e. started. Comes from X's non-public metrics: omitted when unavailable. */
|
|
4539
4712
|
playback_0_count?: number;
|
|
4540
4713
|
/** @description X (Twitter). Video playbacks that reached 25%. Comes from X's non-public metrics: omitted when unavailable. */
|
|
@@ -4549,7 +4722,7 @@ interface components {
|
|
|
4549
4722
|
profile_visits?: number;
|
|
4550
4723
|
quotes?: number;
|
|
4551
4724
|
reach?: number;
|
|
4552
|
-
/** @description Telegram and
|
|
4725
|
+
/** @description Telegram, Slack and Pinterest. Every reaction on the post, all emoji together, normalised as `likes`. On `telegram` and `slack` it is the **complete state and not an increment**: it goes down when somebody takes theirs back. On `slack` it is the only metric the network gives. */
|
|
4553
4726
|
reactions?: number;
|
|
4554
4727
|
/** @description Telegram. The same total broken down by emoji. Reactions with a custom emoji are grouped under a single key: their identifier means nothing outside the server that created it. */
|
|
4555
4728
|
reactions_by_emoji?: {
|
|
@@ -4558,6 +4731,8 @@ interface components {
|
|
|
4558
4731
|
replys?: number;
|
|
4559
4732
|
retwets?: number;
|
|
4560
4733
|
saved?: number;
|
|
4734
|
+
/** @description Pinterest. Times the pin was saved to a board — the gesture the network is built on. Normalised as `saves` and counted towards engagement. Not the same key as `saved`, which is Instagram's. */
|
|
4735
|
+
saves?: number;
|
|
4561
4736
|
share?: number;
|
|
4562
4737
|
shareMentions?: number;
|
|
4563
4738
|
shares?: number;
|
|
@@ -4603,7 +4778,7 @@ interface components {
|
|
|
4603
4778
|
* **This list grows.** Treat it as an open enumeration: a client that rejects an unknown value breaks the day a network is added, which happens several times a year. Not every network does everything — ask `GET /social_capabilities`.
|
|
4604
4779
|
* @enum {string}
|
|
4605
4780
|
*/
|
|
4606
|
-
SocialNetwork: "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "telegram" | "threads" | "slack";
|
|
4781
|
+
SocialNetwork: "facebook" | "instagram" | "linkedin" | "tiktok" | "twitter" | "whatsapp" | "youtube" | "google_business" | "bluesky" | "discord" | "telegram" | "threads" | "slack" | "pinterest";
|
|
4607
4782
|
/** @description Statistics collection settings. Only `auto_refresh_twitter` is read; any other key is ignored. */
|
|
4608
4783
|
StatsSettings: {
|
|
4609
4784
|
/**
|
|
@@ -5764,6 +5939,9 @@ interface operations {
|
|
|
5764
5939
|
* | `2114` | The source URL points to a non-public address (`from_text`): loopback, private, link-local or CGNAT. Checked before every redirect and again when the socket opens. |
|
|
5765
5940
|
* | `2115` | The selected account has no usable product catalogue (`from_catalog`): its network has no products, or the catalogue could not be read — expired token, deleted catalogue, missing permission — or came back empty. |
|
|
5766
5941
|
* | `2116` | The source has no usable items: no images, no products, or no text at all (neither `url` nor `text`, or a pasted text under 200 characters). |
|
|
5942
|
+
* | `994` | Invalid `options.link` with a network that uses it (`pinterest`) in the plan. `data.reason` is `invalid_url` or `too_long`. |
|
|
5943
|
+
* | `2118` | A Pinterest account of the plan has no valid board in `destinations`. `data.accounts[]` lists every one that fails, as `{ _id, social_network, reason }`, with `reason` `missing`, `invalid_id` or `invalid_section_id`. |
|
|
5944
|
+
* | `2119` | The plan would leave pins without an image: a pin is never text-only. Only checked with Pinterest in the plan and a template that GENERATES images (`from_images` and `from_catalog` bring their own photo). `data.reason` is `images_disabled` (`allow_images: false`), `max_images` (a cap below what is needed) or `credits` (not enough credits for that many images); `data` also carries `{ required, images_target, social_networks }`. The images needed are one per day and per account of a network that requires one — Instagram included, because both networks draw on the same image budget. |
|
|
5767
5945
|
* | `521` | Invalid client. The identifier is invalid or doesn't exist |
|
|
5768
5946
|
*/
|
|
5769
5947
|
400: {
|
|
@@ -7352,6 +7530,177 @@ interface operations {
|
|
|
7352
7530
|
400: components["responses"]["MessagesError"];
|
|
7353
7531
|
};
|
|
7354
7532
|
};
|
|
7533
|
+
getAccountDestinations: {
|
|
7534
|
+
parameters: {
|
|
7535
|
+
query?: {
|
|
7536
|
+
/** @description `true` skips the short cache and asks the network again. For a board that was created a moment ago — not on every call: all of PlanVortex's Pinterest traffic leaves through one application, and the cache is what keeps a picker that opens on every compose from spending it. */
|
|
7537
|
+
refresh?: "true" | "false";
|
|
7538
|
+
};
|
|
7539
|
+
header?: never;
|
|
7540
|
+
path: {
|
|
7541
|
+
/** @description Connected account identifier */
|
|
7542
|
+
id_account: string;
|
|
7543
|
+
/** @description Organization identifier */
|
|
7544
|
+
id_organization: string;
|
|
7545
|
+
};
|
|
7546
|
+
cookie?: never;
|
|
7547
|
+
};
|
|
7548
|
+
requestBody?: never;
|
|
7549
|
+
responses: {
|
|
7550
|
+
/** @description The account's destinations */
|
|
7551
|
+
200: {
|
|
7552
|
+
headers: {
|
|
7553
|
+
[name: string]: unknown;
|
|
7554
|
+
};
|
|
7555
|
+
content: {
|
|
7556
|
+
/**
|
|
7557
|
+
* @example {
|
|
7558
|
+
* "destinations": [
|
|
7559
|
+
* {
|
|
7560
|
+
* "id": "1093847562910384756",
|
|
7561
|
+
* "name": "Recipes",
|
|
7562
|
+
* "privacy": "PUBLIC",
|
|
7563
|
+
* "image": "https://i.pinimg.com/…/board.jpg"
|
|
7564
|
+
* },
|
|
7565
|
+
* {
|
|
7566
|
+
* "id": "1093847562910384799",
|
|
7567
|
+
* "name": "Drafts",
|
|
7568
|
+
* "privacy": "SECRET"
|
|
7569
|
+
* }
|
|
7570
|
+
* ]
|
|
7571
|
+
* }
|
|
7572
|
+
*/
|
|
7573
|
+
"application/json": {
|
|
7574
|
+
destinations: components["schemas"]["PublicationsDestination"][];
|
|
7575
|
+
};
|
|
7576
|
+
};
|
|
7577
|
+
};
|
|
7578
|
+
/**
|
|
7579
|
+
* @description The request failed. The body carries the PlanVortex error code in `code`:
|
|
7580
|
+
*
|
|
7581
|
+
* | Code | Meaning |
|
|
7582
|
+
* | --- | --- |
|
|
7583
|
+
* | `992` | This network has no destinations: the account itself is where publications go. `data` carries `social_network` |
|
|
7584
|
+
* | `701` | Account not found in this organization |
|
|
7585
|
+
* | `700` | Account not connected, missing authorization tokens |
|
|
7586
|
+
* | `1101` | Invalid organization |
|
|
7587
|
+
*/
|
|
7588
|
+
400: {
|
|
7589
|
+
headers: {
|
|
7590
|
+
[name: string]: unknown;
|
|
7591
|
+
};
|
|
7592
|
+
content: {
|
|
7593
|
+
"application/json": components["schemas"]["Error"];
|
|
7594
|
+
};
|
|
7595
|
+
};
|
|
7596
|
+
/** @description Pinterest is rate limiting, and the request was correct: wait and repeat it. `code` is 991 and `data.retry_after_seconds` says how long. The ceiling is the **application's**, shared by every PlanVortex client on the network, so this is not a sign that the account is broken. */
|
|
7597
|
+
429: {
|
|
7598
|
+
headers: {
|
|
7599
|
+
/** @description Seconds to wait before trying again. */
|
|
7600
|
+
"Retry-After"?: number;
|
|
7601
|
+
[name: string]: unknown;
|
|
7602
|
+
};
|
|
7603
|
+
content: {
|
|
7604
|
+
"application/json": components["schemas"]["Error"];
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
7607
|
+
/** @description Unhandled error by the server */
|
|
7608
|
+
500: {
|
|
7609
|
+
headers: {
|
|
7610
|
+
[name: string]: unknown;
|
|
7611
|
+
};
|
|
7612
|
+
content?: never;
|
|
7613
|
+
};
|
|
7614
|
+
};
|
|
7615
|
+
};
|
|
7616
|
+
getAccountDestination: {
|
|
7617
|
+
parameters: {
|
|
7618
|
+
query?: {
|
|
7619
|
+
/** @description `true` skips the short cache and asks the network again. For a board that was created a moment ago — not on every call: all of PlanVortex's Pinterest traffic leaves through one application, and the cache is what keeps a picker that opens on every compose from spending it. */
|
|
7620
|
+
refresh?: "true" | "false";
|
|
7621
|
+
};
|
|
7622
|
+
header?: never;
|
|
7623
|
+
path: {
|
|
7624
|
+
/** @description Connected account identifier */
|
|
7625
|
+
id_account: string;
|
|
7626
|
+
/** @description The destination's id **on the network** — the `id` of an entry in the listing, not a PlanVortex identifier. */
|
|
7627
|
+
id_destination: string;
|
|
7628
|
+
/** @description Organization identifier */
|
|
7629
|
+
id_organization: string;
|
|
7630
|
+
};
|
|
7631
|
+
cookie?: never;
|
|
7632
|
+
};
|
|
7633
|
+
requestBody?: never;
|
|
7634
|
+
responses: {
|
|
7635
|
+
/** @description The destination */
|
|
7636
|
+
200: {
|
|
7637
|
+
headers: {
|
|
7638
|
+
[name: string]: unknown;
|
|
7639
|
+
};
|
|
7640
|
+
content: {
|
|
7641
|
+
/**
|
|
7642
|
+
* @example {
|
|
7643
|
+
* "destination": {
|
|
7644
|
+
* "id": "1093847562910384756",
|
|
7645
|
+
* "name": "Recipes",
|
|
7646
|
+
* "privacy": "PUBLIC",
|
|
7647
|
+
* "sections": [
|
|
7648
|
+
* {
|
|
7649
|
+
* "id": "5039281746501928374",
|
|
7650
|
+
* "name": "Desserts"
|
|
7651
|
+
* },
|
|
7652
|
+
* {
|
|
7653
|
+
* "id": "5039281746501928375",
|
|
7654
|
+
* "name": "Breakfast"
|
|
7655
|
+
* }
|
|
7656
|
+
* ]
|
|
7657
|
+
* }
|
|
7658
|
+
* }
|
|
7659
|
+
*/
|
|
7660
|
+
"application/json": {
|
|
7661
|
+
destination: components["schemas"]["PublicationsDestination"];
|
|
7662
|
+
};
|
|
7663
|
+
};
|
|
7664
|
+
};
|
|
7665
|
+
/**
|
|
7666
|
+
* @description The request failed. The body carries the PlanVortex error code in `code`:
|
|
7667
|
+
*
|
|
7668
|
+
* | Code | Meaning |
|
|
7669
|
+
* | --- | --- |
|
|
7670
|
+
* | `993` | That destination is not in this account. `data` carries `social_network` and `destination_id` |
|
|
7671
|
+
* | `992` | This network has no destinations: the account itself is where publications go |
|
|
7672
|
+
* | `701` | Account not found in this organization |
|
|
7673
|
+
* | `700` | Account not connected, missing authorization tokens |
|
|
7674
|
+
* | `1101` | Invalid organization |
|
|
7675
|
+
*/
|
|
7676
|
+
400: {
|
|
7677
|
+
headers: {
|
|
7678
|
+
[name: string]: unknown;
|
|
7679
|
+
};
|
|
7680
|
+
content: {
|
|
7681
|
+
"application/json": components["schemas"]["Error"];
|
|
7682
|
+
};
|
|
7683
|
+
};
|
|
7684
|
+
/** @description Pinterest is rate limiting, and the request was correct: wait and repeat it. `code` is 991 and `data.retry_after_seconds` says how long. The ceiling is the **application's**, shared by every PlanVortex client on the network, so this is not a sign that the account is broken. */
|
|
7685
|
+
429: {
|
|
7686
|
+
headers: {
|
|
7687
|
+
/** @description Seconds to wait before trying again. */
|
|
7688
|
+
"Retry-After"?: number;
|
|
7689
|
+
[name: string]: unknown;
|
|
7690
|
+
};
|
|
7691
|
+
content: {
|
|
7692
|
+
"application/json": components["schemas"]["Error"];
|
|
7693
|
+
};
|
|
7694
|
+
};
|
|
7695
|
+
/** @description Unhandled error by the server */
|
|
7696
|
+
500: {
|
|
7697
|
+
headers: {
|
|
7698
|
+
[name: string]: unknown;
|
|
7699
|
+
};
|
|
7700
|
+
content?: never;
|
|
7701
|
+
};
|
|
7702
|
+
};
|
|
7703
|
+
};
|
|
7355
7704
|
enableAccount: {
|
|
7356
7705
|
parameters: {
|
|
7357
7706
|
query?: never;
|
|
@@ -11074,7 +11423,9 @@ interface operations {
|
|
|
11074
11423
|
* "products": false,
|
|
11075
11424
|
* "webhooks": true,
|
|
11076
11425
|
* "persistent_menu": false,
|
|
11077
|
-
* "comments": true
|
|
11426
|
+
* "comments": true,
|
|
11427
|
+
* "destinations": false,
|
|
11428
|
+
* "link": false
|
|
11078
11429
|
* },
|
|
11079
11430
|
* "google_business": {
|
|
11080
11431
|
* "publications": false,
|
|
@@ -11082,7 +11433,19 @@ interface operations {
|
|
|
11082
11433
|
* "products": false,
|
|
11083
11434
|
* "webhooks": false,
|
|
11084
11435
|
* "persistent_menu": false,
|
|
11085
|
-
* "comments": true
|
|
11436
|
+
* "comments": true,
|
|
11437
|
+
* "destinations": false,
|
|
11438
|
+
* "link": false
|
|
11439
|
+
* },
|
|
11440
|
+
* "pinterest": {
|
|
11441
|
+
* "publications": true,
|
|
11442
|
+
* "messages": false,
|
|
11443
|
+
* "products": false,
|
|
11444
|
+
* "webhooks": false,
|
|
11445
|
+
* "persistent_menu": false,
|
|
11446
|
+
* "comments": false,
|
|
11447
|
+
* "destinations": true,
|
|
11448
|
+
* "link": true
|
|
11086
11449
|
* }
|
|
11087
11450
|
* }
|
|
11088
11451
|
*/
|
|
@@ -11207,7 +11570,8 @@ interface operations {
|
|
|
11207
11570
|
* "discord",
|
|
11208
11571
|
* "telegram",
|
|
11209
11572
|
* "threads",
|
|
11210
|
-
* "slack"
|
|
11573
|
+
* "slack",
|
|
11574
|
+
* "pinterest"
|
|
11211
11575
|
* ]
|
|
11212
11576
|
*/
|
|
11213
11577
|
"application/json": components["schemas"]["SocialNetwork"][];
|
|
@@ -11289,7 +11653,7 @@ interface operations {
|
|
|
11289
11653
|
* de una organizacion. Aqui se llama `PublicationInput`. Los que describen LO MISMO en varias
|
|
11290
11654
|
* secciones viven en `common.json` y conservan su nombre —`Publication`, `Account`, `Upload`,
|
|
11291
11655
|
* `Message`, `Contact`, `NormalizedMetrics`—: es lo que evita dos tipos para un solo objeto.
|
|
11292
|
-
* 2. **Abre las enumeraciones que crecen** (§ trampa 8 del roadmap). `ALLOWED_RRSS` va por
|
|
11656
|
+
* 2. **Abre las enumeraciones que crecen** (§ trampa 8 del roadmap). `ALLOWED_RRSS` va por catorce
|
|
11293
11657
|
* redes y sube varias veces al ano. Si `social_network` fuera una union cerrada, el dia que
|
|
11294
11658
|
* entre la siguiente **dejaria de compilar el codigo de todos los integradores** hasta que
|
|
11295
11659
|
* actualizasen el paquete, y lo unico que habria pasado es que la API devuelve un valor mas.
|
|
@@ -11351,7 +11715,13 @@ interface Paginated<T> {
|
|
|
11351
11715
|
* `GET /social_capabilities`.
|
|
11352
11716
|
*/
|
|
11353
11717
|
type SocialNetwork = OpenEnum<Schemas["SocialNetwork"]>;
|
|
11354
|
-
/**
|
|
11718
|
+
/**
|
|
11719
|
+
* Una red que tiene comentarios. Tambien crece.
|
|
11720
|
+
*
|
|
11721
|
+
* **No es `SocialNetwork` menos las que no publican**: son dos listas independientes. `pinterest`
|
|
11722
|
+
* publica y NO esta aqui —la API de Pinterest no deja leer los comentarios de un pin, aunque el
|
|
11723
|
+
* numero si llega en sus metricas—, igual que `google_business` esta aqui y no publica.
|
|
11724
|
+
*/
|
|
11355
11725
|
type CommentNetwork = OpenEnum<Schemas["CommentsCommentNetworkName"]>;
|
|
11356
11726
|
/**
|
|
11357
11727
|
* El estado de una publicacion.
|
|
@@ -11536,6 +11906,25 @@ type AccountMetrics = Schemas["AccountsMetricModel"];
|
|
|
11536
11906
|
type AccountMetricRow = AccountMetrics["stats"][number];
|
|
11537
11907
|
/** El menu fijo del chat, en el formato de Meta. Solo lo tienen las redes con mensajeria. */
|
|
11538
11908
|
type PersistentMenu = Schemas["AccountsPersistentMenu"];
|
|
11909
|
+
/**
|
|
11910
|
+
* Un sitio DENTRO de la cuenta al que se puede mandar una publicacion: en Pinterest, un tablero.
|
|
11911
|
+
*
|
|
11912
|
+
* Lo que devuelven `accounts.destinations()` y `accounts.destination()`, que es lo que se ENSENA en
|
|
11913
|
+
* un selector. Lo que se MANDA al crear la publicacion es {@link PublicationDestination}, con
|
|
11914
|
+
* `id` como identificador —siempre una cadena— y `name` solo como etiqueta.
|
|
11915
|
+
*
|
|
11916
|
+
* `privacy` merece ensenarse: un pin en un tablero `SECRET` no lo ve nadie mas, y luego no hay nada
|
|
11917
|
+
* en las estadisticas que explique por que no tiene impresiones. Y `sections` solo viene en el
|
|
11918
|
+
* detalle de uno, nunca en la lista.
|
|
11919
|
+
*/
|
|
11920
|
+
type Destination = Schemas["PublicationsDestination"];
|
|
11921
|
+
/**
|
|
11922
|
+
* El `destination` de una publicacion: en que tablero sale. Ver {@link PublicationInput}.
|
|
11923
|
+
*
|
|
11924
|
+
* Solo decide `id` (y `section_id`, si va a una seccion del tablero). `name` y `section_name` son
|
|
11925
|
+
* etiquetas para pintar "Recetas > Postres": el servidor no las comprueba.
|
|
11926
|
+
*/
|
|
11927
|
+
type PublicationDestination = Schemas["PublicationDestination"];
|
|
11539
11928
|
/**
|
|
11540
11929
|
* El token temporal con el que UNA PERSONA conecta una cuenta social, y la URL a la que mandarla.
|
|
11541
11930
|
*
|
|
@@ -11564,7 +11953,7 @@ type ConnectToken = Operations["createTemporalConnectToken"]["responses"][200]["
|
|
|
11564
11953
|
*/
|
|
11565
11954
|
type ConnectLink = Schemas["AccountsSocialLinksList"]["links"][number];
|
|
11566
11955
|
/**
|
|
11567
|
-
* Con que se autoriza una red: `redirect` (
|
|
11956
|
+
* Con que se autoriza una red: `redirect` (doce de las catorce), `meta_embedded_signup` (WhatsApp) o
|
|
11568
11957
|
* `telegram_bot` (Telegram). Se saca de {@link ConnectLink} y esta aqui para poder nombrarlo en un
|
|
11569
11958
|
* `switch`.
|
|
11570
11959
|
*
|
|
@@ -11629,6 +12018,9 @@ type FileProperties = Schemas["FileProperties"];
|
|
|
11629
12018
|
* Si `state` es `withErrors`, el motivo esta en `publication_errors` —que es un ARRAY— y su `code`
|
|
11630
12019
|
* es un codigo del catalogo de PlanVortex, nunca un status HTTP.
|
|
11631
12020
|
*
|
|
12021
|
+
* En Pinterest `destination` dice en que tablero salio el pin, y `link` a donde lleva: no se
|
|
12022
|
+
* confunda con `url`, que es el enlace a la publicacion EN la red y solo existe ya publicada.
|
|
12023
|
+
*
|
|
11632
12024
|
* Y OJO EN TELEGRAM: un album es UNA publicacion que son VARIOS mensajes. `external_identifier` es
|
|
11633
12025
|
* el primero y el resto viajan en `extra_data.telegram_message_ids`, que es el unico sitio donde
|
|
11634
12026
|
* hoy escribe nadie ese campo. En un canal privado ademas no hay `url`, porque no hay `@nombre` que
|
|
@@ -11655,6 +12047,25 @@ type PublicationErrorDetail = Publication["publication_errors"][number];
|
|
|
11655
12047
|
*
|
|
11656
12048
|
* `publish_date` admite un `Date` ademas de la cadena ISO: la libreria lo convierte. Sin eso, el
|
|
11657
12049
|
* primer olvido es siempre el `.toISOString()`.
|
|
12050
|
+
*
|
|
12051
|
+
* **Dos campos que solo aplican a unas redes**, y ninguna de las dos listas se copia: se pregunta
|
|
12052
|
+
* `destinations` y `link` en `catalog.socialCapabilities()`. Hoy las dos son solo `pinterest`.
|
|
12053
|
+
*
|
|
12054
|
+
* - **`destination`: en Pinterest es OBLIGATORIO.** Elegir la cuenta no elige donde sale el pin:
|
|
12055
|
+
* sale en un TABLERO, y se lee con `accounts.destinations()`. Sin el, la publicacion se crea
|
|
12056
|
+
* igual pero en `withErrors` con el 987 y nadie la intenta. `destination.id` es SIEMPRE una
|
|
12057
|
+
* cadena —los ids de Pinterest son enteros largos y un `number` ya ha perdido digitos antes de
|
|
12058
|
+
* salir—, y mandar el NOMBRE del tablero en vez de su id falla igual.
|
|
12059
|
+
* - **`link`: el enlace de destino va aqui, no dentro de `text`.** Es a donde lleva el pin a quien
|
|
12060
|
+
* lo pulsa; metido en el texto se ve y no se puede pulsar. Un enlace que no es `http(s)` es un
|
|
12061
|
+
* 994 al crear.
|
|
12062
|
+
*
|
|
12063
|
+
* En las demas redes los dos se BORRAN al guardar, no se rechazan.
|
|
12064
|
+
*
|
|
12065
|
+
* Y lo demas de Pinterest que el tipo no dice: **no hay publicaciones de solo texto** (922), un
|
|
12066
|
+
* carrusel es de 2 a 5 imagenes sin mezclar con video (990), y `title` y `text` son dos campos con
|
|
12067
|
+
* dos limites —100 y 800— que ademas no se cuentan en la misma unidad (995): el titulo en puntos de
|
|
12068
|
+
* codigo, la descripcion en unidades UTF-16. Los dos numeros vienen de `catalog.socialLimits()`.
|
|
11658
12069
|
*/
|
|
11659
12070
|
type PublicationInput = Override<Schemas["PublicationsPublicationInput"], {
|
|
11660
12071
|
social_network: SocialNetwork;
|
|
@@ -11905,8 +12316,29 @@ type AiPlanOptionsInput = Schemas["AiPlansAiPlanOptionsInput"];
|
|
|
11905
12316
|
* `template` y `source` son OPCIONALES: sin ellos el plan es `standard`, que es exactamente lo que
|
|
11906
12317
|
* hacia cualquier plan antes de que existieran las plantillas. Mandar una opcion que la plantilla
|
|
11907
12318
|
* elegida no admite —un `shared` en `from_images`— es un 2106, no un silencio.
|
|
12319
|
+
*
|
|
12320
|
+
* **Con una cuenta de Pinterest en el plan hay dos comprobaciones mas, las dos al crear:**
|
|
12321
|
+
*
|
|
12322
|
+
* - **`destinations` es obligatorio para cada cuenta de Pinterest**: el tablero donde salen TODOS
|
|
12323
|
+
* sus pins del plan, uno por cuenta ({@link AiPlanDestination}). Sin el —o con un id que no es
|
|
12324
|
+
* una cadena de digitos— el plan se rechaza con el **2118**, que trae en `data.accounts` TODAS
|
|
12325
|
+
* las cuentas que fallan. Sin esa comprobacion el plan se crearia, se cobraria y dejaria una
|
|
12326
|
+
* semana de borradores con el 987.
|
|
12327
|
+
* - **Un plan que dejaria pins sin imagen se rechaza con el 2119**: un pin nunca es solo texto.
|
|
12328
|
+
* Solo con una plantilla que GENERA imagenes, y `data.reason` dice por que: `images_disabled`,
|
|
12329
|
+
* `max_images` o `credits`. Las imagenes necesarias son una por dia y cuenta de una red que la
|
|
12330
|
+
* exige, Instagram incluida, porque las dos redes tiran del mismo presupuesto.
|
|
12331
|
+
*
|
|
12332
|
+
* Y `options.link` es el enlace de destino de todos los pins del plan: se valida al crear (994) y
|
|
12333
|
+
* se tira si el plan no tiene ninguna red con `link`.
|
|
11908
12334
|
*/
|
|
11909
12335
|
type AiPlanCreateRequest = Schemas["AiPlansAiPlanCreateRequest"];
|
|
12336
|
+
/**
|
|
12337
|
+
* El tablero de UNA cuenta de Pinterest del plan: donde salen todos sus pins. Va por cuenta y no
|
|
12338
|
+
* por plan porque cada perfil tiene sus tableros, y en un plan `shared` el mismo contenido sale en
|
|
12339
|
+
* el tablero de cada perfil sin tocar nada mas. No hay tablero por defecto guardado en la cuenta.
|
|
12340
|
+
*/
|
|
12341
|
+
type AiPlanDestination = Schemas["AiPlansAiPlanDestination"];
|
|
11910
12342
|
/**
|
|
11911
12343
|
* La fuente del plan, tal y como se MANDA. **Una forma por plantilla**: manda solo los campos de la
|
|
11912
12344
|
* que elegiste —lo que no lee se ignora, y lo que necesita y no recibe es un 2112—.
|
|
@@ -11947,10 +12379,15 @@ type AiPlanSourceProduct = Schemas["AiPlansAiPlanSourceProduct"];
|
|
|
11947
12379
|
* Algo que el plan tiene que decir de si mismo, con la forma de un error de la API. Lo comparten
|
|
11948
12380
|
* `error` (solo en estado `failed`) y `warnings` (en un plan que se genero bien).
|
|
11949
12381
|
*
|
|
11950
|
-
* Hoy hay
|
|
11951
|
-
*
|
|
11952
|
-
*
|
|
11953
|
-
*
|
|
12382
|
+
* Hoy hay dos avisos:
|
|
12383
|
+
*
|
|
12384
|
+
* - **2117 — parte de la fuente no cabia en la semana del plan**. Un plan es SEMANAL y la fuente
|
|
12385
|
+
* no lo alarga, asi que 12 fotos con 6 huecos libres publican 6 y las demas se quedan fuera;
|
|
12386
|
+
* `data` trae `{source_items, capacity}`. Se dice mejor ANTES de crear el plan —los huecos son
|
|
12387
|
+
* los dias de publicacion por las cuentas— que despues de haberlo cobrado.
|
|
12388
|
+
* - **922 — una publicacion de una red que no publica sin imagen se quedo sin ella**: un pin cuya
|
|
12389
|
+
* imagen fallo a mitad de la generacion. El 2119 impide la configuracion que lo provoca, pero no
|
|
12390
|
+
* un fallo del proveedor. `data.id_publication` dice cual: no saldra hasta que tenga imagen.
|
|
11954
12391
|
*/
|
|
11955
12392
|
type AiPlanNotice = Schemas["AiPlansAiPlanNotice"];
|
|
11956
12393
|
/**
|
|
@@ -12198,21 +12635,24 @@ declare class PlanVortexError extends Error {
|
|
|
12198
12635
|
readonly retryAfter: number | undefined;
|
|
12199
12636
|
constructor(code: number, message: string, options?: PlanVortexErrorOptions);
|
|
12200
12637
|
}
|
|
12201
|
-
/** 500-
|
|
12638
|
+
/** 500-548 — tokens, apps de cliente, permisos. Incluye el 501 y el 522, los de token caducado. */
|
|
12202
12639
|
declare class AuthError extends PlanVortexError {
|
|
12203
12640
|
}
|
|
12204
12641
|
/** 601-612 — el usuario final. */
|
|
12205
12642
|
declare class UserError extends PlanVortexError {
|
|
12206
12643
|
}
|
|
12207
|
-
/** 700-
|
|
12644
|
+
/** 700-716 — cuentas sociales: desconectada, sin permisos en la red, sin refrescar. */
|
|
12208
12645
|
declare class AccountError extends PlanVortexError {
|
|
12209
12646
|
}
|
|
12210
12647
|
/** 800-810 — ficheros: formato no admitido, demasiado grande, conversión fallida. */
|
|
12211
12648
|
declare class FileError extends PlanVortexError {
|
|
12212
12649
|
}
|
|
12213
|
-
/** 900-
|
|
12214
|
-
* dos frenos de ritmo —978 (demasiado rápido en esta cuenta) y 979 (tope diario de esa red)
|
|
12215
|
-
*
|
|
12650
|
+
/** 900-996 — publicaciones, incluidos los límites por red (caracteres, imágenes, duración), los
|
|
12651
|
+
* dos frenos de ritmo —978 (demasiado rápido en esta cuenta) y 979 (tope diario de esa red)—, los
|
|
12652
|
+
* de Slack (980-986), que empiezan por el más común: 980, la app no está en el canal, y los de
|
|
12653
|
+
* Pinterest (987-996), que empiezan igual: 987, la publicación no dice en qué tablero va. Y uno
|
|
12654
|
+
* de ellos no es un fallo: el 991 es Pinterest frenando a la aplicación, sale 429 con
|
|
12655
|
+
* `Retry-After` y la respuesta es esperar. */
|
|
12216
12656
|
declare class PublicationError extends PlanVortexError {
|
|
12217
12657
|
}
|
|
12218
12658
|
/** 1100-1111 — organizaciones, y el token temporal atado a una sola de ellas (1101). */
|
|
@@ -12542,4 +12982,4 @@ interface PlanVortexWebhooksOptions {
|
|
|
12542
12982
|
*/
|
|
12543
12983
|
declare function planvortexWebhooks(options: PlanVortexWebhooksOptions): (request: WebhookRequestLike, response: WebhookResponseLike, next: (error?: unknown) => void) => void;
|
|
12544
12984
|
|
|
12545
|
-
export { type
|
|
12985
|
+
export { type ClientWithOrganizations as $, type Account as A, type CommentReplyResult as B, type ConnectLink as C, type Destination as D, type EnableResult as E, type ContactExtraData as F, type Contact as G, type ContactCreate as H, type ContactUpdate as I, type IntegrationProviderName as J, type IntegrationProvider as K, type Integration as L, type MetricName as M, type IntegrationConnectRequest as N, type IntegrationUpdate as O, type Paginated as P, type IntegrationPickerConfig as Q, type MessageTemplate as R, type SocialNetwork as S, type TopPublicationsResult as T, type Conversation as U, type ConversationTotals as V, type Message as W, type MessageInput as X, type Client as Y, type Organization as Z, type AiSettings as _, type ConnectResult as a, PLANVORTEX_ERROR_RANGES as a$, type PlanData as a0, type PlanUseData as a1, type ConnectToken as a2, type AiContext as a3, type SocialCredentialsInput as a4, type Product as a5, type ProductInput as a6, type ProductCatalog as a7, type ProductCatalogInput as a8, type PublicationInput as a9, type ClientPlan as aA, type CommentAuthor as aB, type CommentChange as aC, type ContactChannel as aD, ContactError as aE, type DashboardAiPlanRef as aF, type DashboardPublicationRef as aG, type DashboardRange as aH, type EngagementBase as aI, FileError as aJ, type FileFormat as aK, type FileProperties as aL, type FileType as aM, IntegrationError as aN, type IntegrationErrorChange as aO, type MessageChange as aP, type MessageOptions as aQ, type MessageType as aR, MessagingError as aS, type MetricRow as aT, NO_ERROR_CODE as aU, type components as aV, type operations as aW, type paths as aX, type webhooks as aY, type OpenEnum as aZ, OrganizationError as a_, type PublicationState as aa, type PublicationStats as ab, type PublicationStatsHistory as ac, type Upload as ad, AccountError as ae, type AccountMetricRow as af, type AccountStateChange as ag, type AccountWebhookChangeBase as ah, type AccountWithError as ai, type AiPlanCostEstimate as aj, type AiPlanDestination as ak, AiPlanError as al, type AiPlanNotice as am, type AiPlanOptions as an, type AiPlanOptionsInput as ao, type AiPlanResult as ap, type AiPlanResultsGroup as aq, type AiPlanResultsTemplateGroup as ar, type AiPlanSource as as, type AiPlanSourceImageInput as at, type AiPlanSourceInput as au, type AiPlanSourceProduct as av, type AiPlanState as aw, type ApiErrorBody as ax, type AspectRatios as ay, AuthError as az, type AccountMetrics as b, PlanLimitError as b0, PlanVortexAuthenticationError as b1, PlanVortexConfigError as b2, PlanVortexConnectionError as b3, PlanVortexError as b4, type PlanVortexErrorOptions as b5, type PlanVortexErrorRange as b6, type PlannerTemplateField as b7, type PlannerTemplateFieldType as b8, ProductError as b9, isTokenError as bA, messageContact as bB, messageContactId as bC, messageDirection as bD, messageFileIds as bE, messageFiles as bF, publication as bG, publicationId as bH, type HandleWebhookRequestOptions as bI, type PlanVortexWebhooksOptions as bJ, type RawWebhookBody as bK, type VerifyWebhookSignatureOptions as bL, WEBHOOK_EVENTS as bM, WEBHOOK_SIGNATURE_HEADERS as bN, WebhookBodyError as bO, type WebhookHeaders as bP, type WebhookRequestLike as bQ, type WebhookResponseLike as bR, WebhookSignatureError as bS, handleWebhookRequest as bT, isAccountStateChange as bU, isCommentChange as bV, isIntegrationErrorChange as bW, isMessageChange as bX, parseWebhookPayload as bY, planvortexWebhooks as bZ, verifyWebhookSignature as b_, type PublicationDestination as ba, PublicationError as bb, type PublicationErrorDetail as bc, type PublicationMetrics as bd, type PublicationStatsPoint as be, type PublicationType as bf, type PublicationsSummary as bg, type RssConfig as bh, type SocialAuthorizationMethod as bi, type SocialCredentials as bj, type SocialIdentifier as bk, type SocialIdentifierInput as bl, type SocialLimitsMap as bm, TOKEN_ERROR_CODES as bn, type TopPublication as bo, type UnknownWebhookChange as bp, UserError as bq, type WebhookAlgorithm as br, type WebhookChange as bs, type WebhookEvent as bt, type WithAccount as bu, type WithPublication as bv, account as bw, accountId as bx, errorFamilyForCode as by, isPlanVortexError as bz, type PersistentMenu as c, type Dashboard as d, type DashboardMetricsResult as e, type PublicationsSummaryResult as f, type PublicationsStatsResult as g, type PlanUse as h, type Publication as i, type AiPlanResultsSort as j, type PlannerTemplateName as k, type AiPlanCreateRequest as l, type AiPlanCreateResult as m, type AiPlan as n, type AiPlanResults as o, type ClientApp as p, type ClientAppInput as q, type SocialCapabilities as r, type CommentActions as s, type SocialLimits as t, type PublicationLimits as u, type AspectRatiosByNetwork as v, type PlannerTemplate as w, type CommentNetwork as x, type Comment as y, type CommentThread as z };
|