@usenadia/node 0.4.0 → 0.5.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 +19 -46
- package/dist/index.d.mts +1238 -239
- package/dist/index.d.ts +1238 -239
- package/dist/index.js +105 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +94 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -332,6 +332,18 @@ type ApiErrorDto = {
|
|
|
332
332
|
* Human-readable reason.
|
|
333
333
|
*/
|
|
334
334
|
msg: string;
|
|
335
|
+
/**
|
|
336
|
+
* Machine-readable reason, when there is one: role_refused when the caller's role does not allow the call.
|
|
337
|
+
*/
|
|
338
|
+
code?: string;
|
|
339
|
+
/**
|
|
340
|
+
* With role_refused: the action of the team's roles the call needs (posts.write, channels, alerts…).
|
|
341
|
+
*/
|
|
342
|
+
action?: string;
|
|
343
|
+
/**
|
|
344
|
+
* With role_refused: the caller's role (OWNER, ADMIN, PUBLISHER, CREATOR, CLIENT).
|
|
345
|
+
*/
|
|
346
|
+
role?: string;
|
|
335
347
|
};
|
|
336
348
|
type MediaResponseDto = {
|
|
337
349
|
/**
|
|
@@ -409,7 +421,7 @@ type UploadSessionDto = {
|
|
|
409
421
|
*/
|
|
410
422
|
uploadId: string;
|
|
411
423
|
/**
|
|
412
|
-
* Where the bytes go:
|
|
424
|
+
* Where the bytes go: each part to `<uploadUrl>/<n>`. No `Authorization` header: the URL is the credential.
|
|
413
425
|
*/
|
|
414
426
|
uploadUrl: string;
|
|
415
427
|
/**
|
|
@@ -423,7 +435,7 @@ type UploadSessionDto = {
|
|
|
423
435
|
[key: string]: string;
|
|
424
436
|
};
|
|
425
437
|
/**
|
|
426
|
-
* 24 hours after the call
|
|
438
|
+
* 24 hours after the call: the URL and the parts sent with it are kept until then.
|
|
427
439
|
*/
|
|
428
440
|
expiresAt: string;
|
|
429
441
|
/**
|
|
@@ -435,13 +447,13 @@ type UploadSessionDto = {
|
|
|
435
447
|
*/
|
|
436
448
|
curl: string;
|
|
437
449
|
/**
|
|
438
|
-
*
|
|
450
|
+
* The size of a part in bytes (20 MB; the last one is smaller).
|
|
439
451
|
*/
|
|
440
|
-
partSize
|
|
452
|
+
partSize: number;
|
|
441
453
|
/**
|
|
442
|
-
*
|
|
454
|
+
* How many parts: part `n` goes to `<uploadUrl>/<n>`, `n` from 1 to `parts`.
|
|
443
455
|
*/
|
|
444
|
-
parts
|
|
456
|
+
parts: number;
|
|
445
457
|
};
|
|
446
458
|
type ConfirmedUploadDto = {
|
|
447
459
|
/**
|
|
@@ -574,9 +586,9 @@ type PostDto = {
|
|
|
574
586
|
*/
|
|
575
587
|
content: string;
|
|
576
588
|
/**
|
|
577
|
-
* Scheduled publication time (UTC).
|
|
589
|
+
* Scheduled publication time (UTC). Null for a draft that has no date yet (never in `GET /posts`, listed by `GET /posts/drafts`).
|
|
578
590
|
*/
|
|
579
|
-
publishDate: string;
|
|
591
|
+
publishDate: string | null;
|
|
580
592
|
state: 'QUEUE' | 'PUBLISHED' | 'ERROR' | 'DRAFT' | 'SENT_UNCONFIRMED';
|
|
581
593
|
/**
|
|
582
594
|
* URL of the published post, once published.
|
|
@@ -591,9 +603,9 @@ type PostDto = {
|
|
|
591
603
|
*/
|
|
592
604
|
intervalInDays?: number | null;
|
|
593
605
|
/**
|
|
594
|
-
* Where the post came from.
|
|
606
|
+
* Where the post came from: `WEB` (the app), `API`, `CLI`, `MCP`, `AUTOPOST`, `UNKNOWN` (an old post), or `IMPORT`: a publication made outside UseNadia (in the platform's own app, or before the channel was connected), brought into the calendar at its real time. An import is a published post like the others: it is read, deleted (on its platform too, where UseNadia can) and changed the same way.
|
|
595
607
|
*/
|
|
596
|
-
creationMethod?: 'API' | '
|
|
608
|
+
creationMethod?: 'UNKNOWN' | 'WEB' | 'MCP' | 'API' | 'AUTOPOST' | 'CLI' | 'IMPORT';
|
|
597
609
|
tags?: Array<PostTagDto>;
|
|
598
610
|
integration?: PostIntegrationSummaryDto;
|
|
599
611
|
/**
|
|
@@ -608,6 +620,48 @@ type PostDto = {
|
|
|
608
620
|
* The publication the post is in: the posts of one content on several channels share it (unlike `group`, which is one post and its thread on one channel). Null for a post saved before publications and not caught up yet.
|
|
609
621
|
*/
|
|
610
622
|
publication?: string | null;
|
|
623
|
+
/**
|
|
624
|
+
* The post's approval, when it was sent for one (a Content Creator's post waits for a member who can approve). Left out for a post never sent for an approval.
|
|
625
|
+
*/
|
|
626
|
+
approval?: PostApprovalDto;
|
|
627
|
+
/**
|
|
628
|
+
* Id of the member who wrote the post: in the app (or with its agent), or through an OAuth connection he authorized. Null when no member did: written with the organization's API key or a workspace key, by an automation, imported from the platform, or saved before authors were kept. Returned by the list of posts and by `getPost`.
|
|
629
|
+
*/
|
|
630
|
+
createdBy?: string | null;
|
|
631
|
+
};
|
|
632
|
+
type PostApprovalDto = {
|
|
633
|
+
/**
|
|
634
|
+
* PENDING: the post waits (a draft, it does not go out); APPROVED: it went to the queue at its date; REJECTED: refused, a draft again, with `note`.
|
|
635
|
+
*/
|
|
636
|
+
state: 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
637
|
+
/**
|
|
638
|
+
* The note left with a refusal; null else.
|
|
639
|
+
*/
|
|
640
|
+
note: string | null;
|
|
641
|
+
/**
|
|
642
|
+
* Who sent it for the approval (name, or e-mail without a name).
|
|
643
|
+
*/
|
|
644
|
+
author: string;
|
|
645
|
+
/**
|
|
646
|
+
* When it was sent for the approval.
|
|
647
|
+
*/
|
|
648
|
+
requestedAt: string | null;
|
|
649
|
+
/**
|
|
650
|
+
* When it was approved or refused; null while it waits.
|
|
651
|
+
*/
|
|
652
|
+
answeredAt: string | null;
|
|
653
|
+
/**
|
|
654
|
+
* Who approved or refused it (empty while it waits).
|
|
655
|
+
*/
|
|
656
|
+
answeredBy: string;
|
|
657
|
+
/**
|
|
658
|
+
* Who it waits for, or who answered last: `team`, a member who can approve; `client`, one of the workspace's client reviewers (its workspace asks for the client's sign-off, `clientApproval`). A post the team approved that waits for the client is PENDING with `client`.
|
|
659
|
+
*/
|
|
660
|
+
stage: 'team' | 'client';
|
|
661
|
+
/**
|
|
662
|
+
* The client reviewer who approved or refused it (empty otherwise).
|
|
663
|
+
*/
|
|
664
|
+
reviewer: string;
|
|
611
665
|
};
|
|
612
666
|
type PostListDto = {
|
|
613
667
|
posts: Array<PostDto>;
|
|
@@ -622,21 +676,72 @@ type PostMediaDto = {
|
|
|
622
676
|
*/
|
|
623
677
|
path: string;
|
|
624
678
|
/**
|
|
625
|
-
* The cover of a video, as UseNadia serves it:
|
|
679
|
+
* The cover of a video, as UseNadia serves it: the image it is published with on the channels that read one. Null without one, and always null for an image.
|
|
626
680
|
*/
|
|
627
681
|
thumbnail: string | null;
|
|
682
|
+
/**
|
|
683
|
+
* The moment of a video used as its cover, in milliseconds. Null without one, and always null for an image.
|
|
684
|
+
*/
|
|
685
|
+
thumbnailTimestamp: number | null;
|
|
628
686
|
};
|
|
629
687
|
type PostDetailDto = PostDto & {
|
|
630
688
|
/**
|
|
631
689
|
* The media of the post, in order, each with its cover.
|
|
632
690
|
*/
|
|
633
691
|
media: Array<PostMediaDto>;
|
|
692
|
+
/**
|
|
693
|
+
* The settings of the post as they are stored: the platform's own (as `createPost` takes them) and the comment → DM automation (`automationFlowId`, `automationKeywords`, `automationVariables`). `{}` when it has none.
|
|
694
|
+
*/
|
|
695
|
+
settings: {
|
|
696
|
+
[key: string]: unknown;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* The comments under the post (the next posts of a thread on X, Threads, Bluesky), in order; `[]` when none. Replace them with `setPostThread`.
|
|
700
|
+
*/
|
|
701
|
+
thread: Array<PostThreadCommentDto>;
|
|
702
|
+
};
|
|
703
|
+
type PostThreadCommentDto = {
|
|
704
|
+
/**
|
|
705
|
+
* The id of the comment (a post of the thread).
|
|
706
|
+
*/
|
|
707
|
+
id: string;
|
|
708
|
+
/**
|
|
709
|
+
* Its text, as stored (HTML).
|
|
710
|
+
*/
|
|
711
|
+
content: string;
|
|
712
|
+
/**
|
|
713
|
+
* Its media, in order.
|
|
714
|
+
*/
|
|
715
|
+
media: Array<PostMediaDto>;
|
|
634
716
|
};
|
|
717
|
+
/**
|
|
718
|
+
* Give `thumbnail`, `thumbnailTimestamp`, or both.
|
|
719
|
+
*/
|
|
635
720
|
type SetPostCoverDto = {
|
|
636
721
|
/**
|
|
637
|
-
* The new cover of the post's video: the URL of a JPEG
|
|
722
|
+
* The new cover of the post's video: the URL of a picture (JPEG, PNG, WebP, AVIF, HEIC or the first frame of a GIF; ideally 1080x1920, 20 MB at most, between 1:4 and 4:1, 100 pixels at least on each side), kept by UseNadia as a JPEG of 2 MB and 1920 pixels at most, which every channel takes. Given without `thumbnailTimestamp`, it takes the moment off (the image wins). `null` takes the cover off: the channel then uses `thumbnailTimestamp`, or the first frame. Left out, the image does not move.
|
|
638
723
|
*/
|
|
639
|
-
thumbnail
|
|
724
|
+
thumbnail?: string | null;
|
|
725
|
+
/**
|
|
726
|
+
* The new moment of the video used as its cover, in milliseconds from its start; `null` takes it off. It is the only cover TikTok takes through the classic connection (Direct Post); Instagram, TikTok (Business API) and Pinterest read it when the video has no `thumbnail`. Other channels ignore it. Left out, the moment does not move, unless a new `thumbnail` is given (the image wins: the moment is taken off).
|
|
727
|
+
*/
|
|
728
|
+
thumbnailTimestamp?: number | null;
|
|
729
|
+
};
|
|
730
|
+
type SetPostThreadCommentDto = {
|
|
731
|
+
/**
|
|
732
|
+
* The text of the comment, as the `content` of a post in `createPost`; may be empty when it has an image.
|
|
733
|
+
*/
|
|
734
|
+
content: string;
|
|
735
|
+
/**
|
|
736
|
+
* Its images (id and path of a media, as in `createPost`); left out or `[]` for none. Instagram and LinkedIn take none.
|
|
737
|
+
*/
|
|
738
|
+
image?: Array<MediaDto>;
|
|
739
|
+
};
|
|
740
|
+
type SetPostThreadDto = {
|
|
741
|
+
/**
|
|
742
|
+
* The whole thread, in order: it replaces the comments the post has. `[]` takes them all off.
|
|
743
|
+
*/
|
|
744
|
+
thread: Array<SetPostThreadCommentDto>;
|
|
640
745
|
};
|
|
641
746
|
type Tags = {
|
|
642
747
|
value: string;
|
|
@@ -650,9 +755,13 @@ type MediaDto = {
|
|
|
650
755
|
path: string;
|
|
651
756
|
alt?: string;
|
|
652
757
|
/**
|
|
653
|
-
* The cover of a video: the URL of a JPEG
|
|
758
|
+
* The cover of a video: the URL of a picture (JPEG, PNG, WebP, AVIF, HEIC or the first frame of a GIF; ideally 1080x1920, 20 MB at most, between 1:4 and 4:1, 100 pixels at least on each side), kept by UseNadia as a JPEG of 2 MB and 1920 pixels at most, which every channel takes, shown instead of a frame of the video. Read as the cover by Instagram, TikTok (Business API), LinkedIn (profile and page), Telegram, Pinterest, Mastodon and Facebook (Page video, not reels or stories); TikTok through the classic connection reads only `thumbnailTimestamp`; YouTube uses the `thumbnail` setting of its post; Threads, Bluesky, X, Discord and Google Business Profile take no cover. Any public URL, a signed one included: UseNadia keeps its own copy when the post is scheduled and stores that URL. A cover that cannot be downloaded or read as a picture, or out of those bounds, refuses the post of its channel with a 400 naming it.
|
|
654
759
|
*/
|
|
655
760
|
thumbnail?: string;
|
|
761
|
+
/**
|
|
762
|
+
* The moment of the video used as its cover, in milliseconds from its start. It is the only cover TikTok takes through the classic connection (Direct Post); Instagram, TikTok (Business API) and Pinterest read it when the video has no `thumbnail`. Other channels ignore it. Given with `thumbnail`, the two are one cover: the frame and its moment.
|
|
763
|
+
*/
|
|
764
|
+
thumbnailTimestamp?: number | null;
|
|
656
765
|
};
|
|
657
766
|
type PostContent = {
|
|
658
767
|
content: string;
|
|
@@ -665,6 +774,9 @@ type Post = {
|
|
|
665
774
|
integration: Integration;
|
|
666
775
|
value: Array<PostContent>;
|
|
667
776
|
group?: string;
|
|
777
|
+
/**
|
|
778
|
+
* The channel's settings: `__type` is the provider identifier, the other fields are listed for each channel by GET /public/v1/integrations/{id}/settings. On an Instagram post or story (or a Facebook Page post or reel), a comment → DM automation is set up before publication with `automationFlowId` (a template id from GET /public/v1/automation-flows), `automationKeywords` (the trigger words) and `automationVariables` (one value per `{variable}` of the template): Nadia poses it by itself the moment the post goes live. A post already scheduled gets it with PUT /public/v1/posts/{id}/automation.
|
|
779
|
+
*/
|
|
668
780
|
settings: {
|
|
669
781
|
[key: string]: unknown;
|
|
670
782
|
};
|
|
@@ -678,7 +790,10 @@ type PublicCreatePostDto = {
|
|
|
678
790
|
order?: string;
|
|
679
791
|
shortLink: boolean;
|
|
680
792
|
inter?: number;
|
|
681
|
-
|
|
793
|
+
/**
|
|
794
|
+
* When the post goes out (ISO 8601). Required, except for a `draft`: a draft sent without `date`, or with a `date` already past, has no date (`publishDate` null); a `date` to come places it. It is in no calendar (`GET /posts` leaves it out) and is listed by `GET /posts/drafts` until it is placed: send the post again with its ids, `type: schedule` (or `now`) and a `date`. `PUT /posts/{id}/status` to `schedule` refuses a draft that has no date.
|
|
795
|
+
*/
|
|
796
|
+
date?: string;
|
|
682
797
|
tags: Array<Tags>;
|
|
683
798
|
posts: Array<Post>;
|
|
684
799
|
/**
|
|
@@ -704,6 +819,10 @@ type CreatePostResultItemDto = {
|
|
|
704
819
|
*/
|
|
705
820
|
publication: string;
|
|
706
821
|
mediaTagged?: MediaTaggedDto;
|
|
822
|
+
/**
|
|
823
|
+
* The post waits for an approval: its author's role cannot publish (a Content Creator, through its connector). Approve it with POST /public/v1/posts/{id}/approve
|
|
824
|
+
*/
|
|
825
|
+
approval?: 'PENDING';
|
|
707
826
|
};
|
|
708
827
|
type DeletedIdDto = {
|
|
709
828
|
/**
|
|
@@ -790,6 +909,10 @@ type WorkspaceDto = {
|
|
|
790
909
|
* What the workspace is about — brand, audience, tone — as written in the app (up to 2000 characters). Read it before writing for this workspace.
|
|
791
910
|
*/
|
|
792
911
|
about: string | null;
|
|
912
|
+
/**
|
|
913
|
+
* Client sign-off: when `true`, a post approved by the team waits for one of the workspace's client reviewers before it goes out (its `approval.stage` is `client`).
|
|
914
|
+
*/
|
|
915
|
+
clientApproval: boolean;
|
|
793
916
|
/**
|
|
794
917
|
* Set when the workspace has no time zone (null otherwise): a time without offset given for its channels is then read in UTC by the MCP tools. Ask the user for their time zone and set it with `updateWorkspace`.
|
|
795
918
|
*/
|
|
@@ -797,11 +920,11 @@ type WorkspaceDto = {
|
|
|
797
920
|
};
|
|
798
921
|
type SubscriptionDto = {
|
|
799
922
|
/**
|
|
800
|
-
* The plan; FREE: no active subscription.
|
|
923
|
+
* The plan; FREE: no active subscription; GRATUIT: the Free plan every sign-up gets (2 channels, for life).
|
|
801
924
|
*/
|
|
802
|
-
tier: 'FREE' | 'SOLO' | 'EQUIPE' | 'AGENCE' | 'STARTER_ULTIME' | 'ULTIME' | 'VCORP';
|
|
925
|
+
tier: 'FREE' | 'GRATUIT' | 'SOLO' | 'EQUIPE' | 'AGENCE' | 'STARTER_ULTIME' | 'ULTIME' | 'OPERATEUR_FREE' | 'VCORP';
|
|
803
926
|
/**
|
|
804
|
-
* The plan's name as the app shows it in English (Free, Solo, Team, Agency, Starter ultime, Upgrade Ultime, Vcorp).
|
|
927
|
+
* The plan's name as the app shows it in English (Free, Solo, Team, Agency, Starter ultime, Upgrade Ultime, Vcorp; Free for both FREE and GRATUIT).
|
|
805
928
|
*/
|
|
806
929
|
name: string;
|
|
807
930
|
/**
|
|
@@ -841,7 +964,7 @@ type SubscriptionDto = {
|
|
|
841
964
|
*/
|
|
842
965
|
channels: {
|
|
843
966
|
/**
|
|
844
|
-
* Channels connected.
|
|
967
|
+
* Channels connected (a connection left before its Page, channel or listing was chosen is not one).
|
|
845
968
|
*/
|
|
846
969
|
connected: number;
|
|
847
970
|
/**
|
|
@@ -915,7 +1038,7 @@ type SubscriptionDto = {
|
|
|
915
1038
|
*/
|
|
916
1039
|
manageUrl: string | null;
|
|
917
1040
|
/**
|
|
918
|
-
* What will be charged and what was, read from Stripe
|
|
1041
|
+
* What will be charged and what was, read from Stripe: the next invoice, the last payment, Stripe's state. Cached a few minutes.
|
|
919
1042
|
*/
|
|
920
1043
|
billing: {
|
|
921
1044
|
/**
|
|
@@ -1030,6 +1153,44 @@ type SubscriptionDto = {
|
|
|
1030
1153
|
nextRetryAt: string | null;
|
|
1031
1154
|
} | null;
|
|
1032
1155
|
};
|
|
1156
|
+
/**
|
|
1157
|
+
* The organization's X credits (plan 101): bought at the price X charges, Stripe's fees included, they pay for the posts with a link past the month's inclusion of each X account ($0.20 each). Shared by all the organization's X accounts; they never expire.
|
|
1158
|
+
*/
|
|
1159
|
+
xCredits: {
|
|
1160
|
+
/**
|
|
1161
|
+
* The balance in micro-dollars of X credit (1 $ = 1,000,000). Can be under zero after a refund of credits already spent.
|
|
1162
|
+
*/
|
|
1163
|
+
balanceMicros: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* The balance in dollars of X credit (0.4 = $0.40).
|
|
1166
|
+
*/
|
|
1167
|
+
balance: number;
|
|
1168
|
+
/**
|
|
1169
|
+
* What a post with a link past the inclusion costs, in dollars (0.2).
|
|
1170
|
+
*/
|
|
1171
|
+
linkPostCost: number;
|
|
1172
|
+
/**
|
|
1173
|
+
* Posts with a link the balance pays for.
|
|
1174
|
+
*/
|
|
1175
|
+
linkPostsCovered: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* Posts with a link included per month and per X account, before the credits are spent.
|
|
1178
|
+
*/
|
|
1179
|
+
includedLinkPostsPerMonth: number;
|
|
1180
|
+
/**
|
|
1181
|
+
* The packs to buy, each a Stripe payment link for this organization.
|
|
1182
|
+
*/
|
|
1183
|
+
packs: Array<{
|
|
1184
|
+
/**
|
|
1185
|
+
* The X credit the pack gives, in dollars.
|
|
1186
|
+
*/
|
|
1187
|
+
credit: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* The Stripe payment link, for this organization.
|
|
1190
|
+
*/
|
|
1191
|
+
url: string;
|
|
1192
|
+
}>;
|
|
1193
|
+
};
|
|
1033
1194
|
};
|
|
1034
1195
|
type GroupDto = {
|
|
1035
1196
|
/**
|
|
@@ -1176,6 +1337,10 @@ type ChangePostStatusDto = {
|
|
|
1176
1337
|
type PostStatusDto = {
|
|
1177
1338
|
id: string;
|
|
1178
1339
|
state: 'QUEUE' | 'PUBLISHED' | 'ERROR' | 'DRAFT';
|
|
1340
|
+
/**
|
|
1341
|
+
* status = schedule by a role that cannot publish (a Content Creator, through its connector): the post waits for an approval instead
|
|
1342
|
+
*/
|
|
1343
|
+
approval?: 'PENDING';
|
|
1179
1344
|
};
|
|
1180
1345
|
type UpdateReleaseIdDto = {
|
|
1181
1346
|
/**
|
|
@@ -1201,17 +1366,23 @@ type AnalyticsMetricDto = {
|
|
|
1201
1366
|
data: Array<AnalyticsPointDto>;
|
|
1202
1367
|
percentageChange?: number;
|
|
1203
1368
|
};
|
|
1369
|
+
/**
|
|
1370
|
+
* One collection pass of the account. A number the platform does not give for that channel is null.
|
|
1371
|
+
*/
|
|
1204
1372
|
type AccountHistoryItemDto = {
|
|
1205
|
-
integrationId: string;
|
|
1206
1373
|
/**
|
|
1207
1374
|
* Collection timestamp.
|
|
1208
1375
|
*/
|
|
1209
|
-
|
|
1376
|
+
takenAt: string;
|
|
1377
|
+
followers: number | null;
|
|
1378
|
+
following: number | null;
|
|
1379
|
+
totalLikes: number | null;
|
|
1210
1380
|
/**
|
|
1211
|
-
*
|
|
1381
|
+
* Number of videos on the account.
|
|
1212
1382
|
*/
|
|
1213
|
-
|
|
1214
|
-
|
|
1383
|
+
videos: number | null;
|
|
1384
|
+
views: number | null;
|
|
1385
|
+
reach: number | null;
|
|
1215
1386
|
};
|
|
1216
1387
|
type HistoryPageDto = {
|
|
1217
1388
|
items: Array<AccountHistoryItemDto>;
|
|
@@ -1230,20 +1401,50 @@ type HistoryPageDto = {
|
|
|
1230
1401
|
*/
|
|
1231
1402
|
to: string;
|
|
1232
1403
|
};
|
|
1404
|
+
/**
|
|
1405
|
+
* One reading of one video. A number the platform does not give is null.
|
|
1406
|
+
*/
|
|
1407
|
+
type VideoHistoryItemDto = {
|
|
1408
|
+
/**
|
|
1409
|
+
* Provider video id.
|
|
1410
|
+
*/
|
|
1411
|
+
videoId: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Collection timestamp.
|
|
1414
|
+
*/
|
|
1415
|
+
takenAt: string;
|
|
1416
|
+
publishedAt: string | null;
|
|
1417
|
+
views: number | null;
|
|
1418
|
+
likes: number | null;
|
|
1419
|
+
comments: number | null;
|
|
1420
|
+
shares: number | null;
|
|
1421
|
+
saves: number | null;
|
|
1422
|
+
reach: number | null;
|
|
1423
|
+
avgWatchTime: number | null;
|
|
1424
|
+
totalInteractions: number | null;
|
|
1425
|
+
};
|
|
1233
1426
|
type VideoIdentityDto = {
|
|
1234
1427
|
/**
|
|
1235
1428
|
* Provider video id — the key used in `items`.
|
|
1236
1429
|
*/
|
|
1237
1430
|
videoId: string;
|
|
1238
|
-
title
|
|
1239
|
-
|
|
1431
|
+
title: string | null;
|
|
1432
|
+
description: string | null;
|
|
1433
|
+
coverUrl: string | null;
|
|
1434
|
+
shareUrl: string | null;
|
|
1240
1435
|
/**
|
|
1241
1436
|
* Duration in seconds.
|
|
1242
1437
|
*/
|
|
1243
|
-
duration
|
|
1438
|
+
duration: number | null;
|
|
1439
|
+
publishedAt: string | null;
|
|
1440
|
+
skipRate: number | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* When the collector last read this video's identity.
|
|
1443
|
+
*/
|
|
1444
|
+
refreshedAt: string;
|
|
1244
1445
|
};
|
|
1245
1446
|
type VideoHistoryPageDto = {
|
|
1246
|
-
items: Array<
|
|
1447
|
+
items: Array<VideoHistoryItemDto>;
|
|
1247
1448
|
/**
|
|
1248
1449
|
* Total rows in the window, before limit/offset.
|
|
1249
1450
|
*/
|
|
@@ -1487,7 +1688,7 @@ type InboxThreadDto = {
|
|
|
1487
1688
|
type AutomationFlowIssueDto = {
|
|
1488
1689
|
level: 'error' | 'warning';
|
|
1489
1690
|
/**
|
|
1490
|
-
* A code
|
|
1691
|
+
* A validation code (`empty_text`, `button_title_too_long`, `window_closed`…).
|
|
1491
1692
|
*/
|
|
1492
1693
|
code: string;
|
|
1493
1694
|
/**
|
|
@@ -1520,7 +1721,7 @@ type AutomationFlowResponseDto = {
|
|
|
1520
1721
|
*/
|
|
1521
1722
|
status: 'DRAFT' | 'ACTIVE' | 'PAUSED' | 'ARCHIVED';
|
|
1522
1723
|
/**
|
|
1523
|
-
* The tree
|
|
1724
|
+
* The tree of the automation: nodes, edges, variables. A node's type is trigger, message, wait_reply, delay, condition, switch, action or goto; an edge goes from a node's output (port) to the next node. A switch ({"type": "switch", "cases": [{"id", "tag"}]}, 10 tags at most) has one output per tag, case:<id> in the list's order, then else: the run leaves by the first tag the person carries. A template carries no trigger word and no variable value — those belong to a pose.
|
|
1524
1725
|
*/
|
|
1525
1726
|
definition: {
|
|
1526
1727
|
[key: string]: unknown;
|
|
@@ -1621,6 +1822,9 @@ type EmailSentDto = {
|
|
|
1621
1822
|
type AutomationFlowDto = {
|
|
1622
1823
|
name: string;
|
|
1623
1824
|
integrationId?: string | null;
|
|
1825
|
+
/**
|
|
1826
|
+
* The tree of steps, in the shape AutomationFlowResponseDto.definition describes (switch included).
|
|
1827
|
+
*/
|
|
1624
1828
|
definition: {
|
|
1625
1829
|
[key: string]: unknown;
|
|
1626
1830
|
};
|
|
@@ -1628,6 +1832,9 @@ type AutomationFlowDto = {
|
|
|
1628
1832
|
type UpdateAutomationFlowDto = {
|
|
1629
1833
|
name?: string;
|
|
1630
1834
|
integrationId?: string | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* The tree of steps, in the shape AutomationFlowResponseDto.definition describes (switch included).
|
|
1837
|
+
*/
|
|
1631
1838
|
definition?: {
|
|
1632
1839
|
[key: string]: unknown;
|
|
1633
1840
|
};
|
|
@@ -1697,7 +1904,7 @@ type AutomationFlowPoseResponseDto = {
|
|
|
1697
1904
|
*/
|
|
1698
1905
|
postId?: string | null;
|
|
1699
1906
|
/**
|
|
1700
|
-
* The
|
|
1907
|
+
* The publication watched: an Instagram post or story id, a Facebook Page post id, or a TikTok video id.
|
|
1701
1908
|
*/
|
|
1702
1909
|
mediaId: string;
|
|
1703
1910
|
source: 'post_comment' | 'story_reply';
|
|
@@ -2020,7 +2227,10 @@ type ContentPostDto = {
|
|
|
2020
2227
|
id: string;
|
|
2021
2228
|
integrationId: string;
|
|
2022
2229
|
state: 'QUEUE' | 'PUBLISHED' | 'ERROR' | 'DRAFT' | 'SENT_UNCONFIRMED';
|
|
2023
|
-
|
|
2230
|
+
/**
|
|
2231
|
+
* Null for a draft that has no date yet.
|
|
2232
|
+
*/
|
|
2233
|
+
publishDate: string | null;
|
|
2024
2234
|
releaseURL?: string | null;
|
|
2025
2235
|
};
|
|
2026
2236
|
type ContentListItemDto = {
|
|
@@ -2601,7 +2811,10 @@ type PostAutomationResponseDto = {
|
|
|
2601
2811
|
* story: answered by story replies; post: by comments
|
|
2602
2812
|
*/
|
|
2603
2813
|
kind: 'post' | 'story';
|
|
2604
|
-
|
|
2814
|
+
/**
|
|
2815
|
+
* Null for a draft that has no date yet.
|
|
2816
|
+
*/
|
|
2817
|
+
publishDate: string | null;
|
|
2605
2818
|
/**
|
|
2606
2819
|
* The template posed at publication, null when none
|
|
2607
2820
|
*/
|
|
@@ -2837,6 +3050,10 @@ type UpdateWorkspaceDto = {
|
|
|
2837
3050
|
* Channels to move into this workspace: each leaves its former workspace. An id that is not one of your channels is ignored.
|
|
2838
3051
|
*/
|
|
2839
3052
|
integrationIds?: Array<string>;
|
|
3053
|
+
/**
|
|
3054
|
+
* Client sign-off: `true`, a post approved by the team then waits for one of the workspace's client reviewers (who approve from their own link, without an account) before it goes out. Turned off, what waited for the client waits for the team again.
|
|
3055
|
+
*/
|
|
3056
|
+
clientApproval?: boolean;
|
|
2840
3057
|
};
|
|
2841
3058
|
type WorkspaceDeletedDto = {
|
|
2842
3059
|
/**
|
|
@@ -2917,28 +3134,173 @@ type ContentWorkspacesDto = {
|
|
|
2917
3134
|
*/
|
|
2918
3135
|
workspaces: Array<string>;
|
|
2919
3136
|
};
|
|
3137
|
+
type ApiKeyWorkspaceDto = {
|
|
3138
|
+
/**
|
|
3139
|
+
* Workspace id.
|
|
3140
|
+
*/
|
|
3141
|
+
id: string;
|
|
3142
|
+
/**
|
|
3143
|
+
* Workspace name.
|
|
3144
|
+
*/
|
|
3145
|
+
name: string;
|
|
3146
|
+
};
|
|
2920
3147
|
/**
|
|
2921
|
-
*
|
|
3148
|
+
* A key limited to some workspaces, as listed: never its value.
|
|
2922
3149
|
*/
|
|
2923
|
-
type
|
|
3150
|
+
type ApiKeyDto = {
|
|
3151
|
+
/**
|
|
3152
|
+
* Id of the key — what the other routes take in their path. It never changes, a rotation included.
|
|
3153
|
+
*/
|
|
3154
|
+
id: string;
|
|
2924
3155
|
/**
|
|
2925
|
-
*
|
|
3156
|
+
* Who or what uses the key.
|
|
2926
3157
|
*/
|
|
2927
|
-
|
|
3158
|
+
name: string;
|
|
2928
3159
|
/**
|
|
2929
|
-
*
|
|
3160
|
+
* The first characters of the key (`nws_` and four more), to recognise it. The full value is never returned again.
|
|
2930
3161
|
*/
|
|
2931
|
-
|
|
2932
|
-
|
|
3162
|
+
start: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* The workspaces the key reaches, at least one.
|
|
3165
|
+
*/
|
|
3166
|
+
workspaces: Array<ApiKeyWorkspaceDto>;
|
|
3167
|
+
createdAt: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* When the key was last used (written at most once an hour), or null. A rotation sets it back to null.
|
|
3170
|
+
*/
|
|
3171
|
+
lastUsedAt: string | null;
|
|
3172
|
+
};
|
|
3173
|
+
/**
|
|
3174
|
+
* A key limited to some workspaces, just created or rotated: its value, once.
|
|
3175
|
+
*/
|
|
3176
|
+
type ApiKeyCreatedDto = {
|
|
3177
|
+
/**
|
|
3178
|
+
* Id of the key — what the other routes take in their path. It never changes, a rotation included.
|
|
3179
|
+
*/
|
|
3180
|
+
id: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* Who or what uses the key.
|
|
3183
|
+
*/
|
|
3184
|
+
name: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* The first characters of the key (`nws_` and four more), to recognise it. The full value is never returned again.
|
|
3187
|
+
*/
|
|
3188
|
+
start: string;
|
|
3189
|
+
/**
|
|
3190
|
+
* The workspaces the key reaches, at least one.
|
|
3191
|
+
*/
|
|
3192
|
+
workspaces: Array<ApiKeyWorkspaceDto>;
|
|
3193
|
+
createdAt: string;
|
|
3194
|
+
/**
|
|
3195
|
+
* When the key was last used (written at most once an hour), or null. A rotation sets it back to null.
|
|
3196
|
+
*/
|
|
3197
|
+
lastUsedAt: string | null;
|
|
3198
|
+
/**
|
|
3199
|
+
* The key itself (`nws_…`), to send in the `Authorization` header. **Returned only here** — store it now: no other call gives it back.
|
|
3200
|
+
*/
|
|
3201
|
+
key: string;
|
|
3202
|
+
};
|
|
3203
|
+
type CreateApiKeyDto = {
|
|
3204
|
+
/**
|
|
3205
|
+
* Who or what uses the key (a person you serve, a tool).
|
|
3206
|
+
*/
|
|
3207
|
+
name: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* Ids of the workspaces the key reaches, one or more, each of your organization.
|
|
3210
|
+
*/
|
|
3211
|
+
workspaceIds: Array<string>;
|
|
3212
|
+
};
|
|
3213
|
+
/**
|
|
3214
|
+
* Only the fields sent change; at least one of them.
|
|
3215
|
+
*/
|
|
3216
|
+
type UpdateApiKeyDto = {
|
|
3217
|
+
/**
|
|
3218
|
+
* Who or what uses the key.
|
|
3219
|
+
*/
|
|
3220
|
+
name?: string;
|
|
3221
|
+
/**
|
|
3222
|
+
* The new set of workspaces the key reaches, one or more, each of your organization: it replaces the former one.
|
|
3223
|
+
*/
|
|
3224
|
+
workspaceIds?: Array<string>;
|
|
3225
|
+
};
|
|
3226
|
+
/**
|
|
3227
|
+
* Why a request on the API keys was refused.
|
|
3228
|
+
*/
|
|
3229
|
+
type ApiKeyErrorDto = {
|
|
3230
|
+
statusCode: number;
|
|
3231
|
+
message: string | Array<string>;
|
|
3232
|
+
error?: string;
|
|
3233
|
+
};
|
|
3234
|
+
type PostAnswerResultDto = {
|
|
3235
|
+
id: string;
|
|
3236
|
+
/**
|
|
3237
|
+
* QUEUE once approved (it goes out at its date), DRAFT once refused
|
|
3238
|
+
*/
|
|
3239
|
+
state: 'QUEUE' | 'DRAFT';
|
|
3240
|
+
approval: 'APPROVED' | 'REJECTED';
|
|
3241
|
+
/**
|
|
3242
|
+
* Null for a draft that has no date yet.
|
|
3243
|
+
*/
|
|
3244
|
+
publishDate: string | null;
|
|
3245
|
+
};
|
|
3246
|
+
type ApprovePostDto = {
|
|
3247
|
+
/**
|
|
3248
|
+
* A new date (ISO 8601), required when the post's date is past
|
|
3249
|
+
*/
|
|
3250
|
+
date?: string;
|
|
3251
|
+
};
|
|
3252
|
+
type RefusePostDto = {
|
|
3253
|
+
/**
|
|
3254
|
+
* Why, read by the post's author
|
|
3255
|
+
*/
|
|
3256
|
+
note?: string;
|
|
3257
|
+
};
|
|
3258
|
+
type AwaitingPostDto = {
|
|
3259
|
+
id: string;
|
|
3260
|
+
group: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Null for a draft that has no date yet.
|
|
3263
|
+
*/
|
|
3264
|
+
publishDate: string | null;
|
|
3265
|
+
content: string;
|
|
3266
|
+
/**
|
|
3267
|
+
* The name (or e-mail) of who sent it for approval
|
|
3268
|
+
*/
|
|
3269
|
+
author: string;
|
|
3270
|
+
requestedAt: string | null;
|
|
3271
|
+
/**
|
|
3272
|
+
* Who it waits for: `team`, a member who can approve; `client`, one of the workspace's client reviewers (from their own link). A post that waits for the client is not approved by the team: only refused, or approved by a member with the Client role.
|
|
3273
|
+
*/
|
|
3274
|
+
stage: 'team' | 'client';
|
|
3275
|
+
integration: {
|
|
3276
|
+
id: string;
|
|
3277
|
+
name: string;
|
|
3278
|
+
picture: string | null;
|
|
3279
|
+
providerIdentifier: string;
|
|
3280
|
+
workspaceId: string | null;
|
|
2933
3281
|
};
|
|
3282
|
+
};
|
|
3283
|
+
type AwaitingPostsDto = {
|
|
3284
|
+
posts: Array<AwaitingPostDto>;
|
|
3285
|
+
};
|
|
3286
|
+
type CommentPublicationDto = {
|
|
3287
|
+
/**
|
|
3288
|
+
* The comment, plain text. The platform's own limit applies (TikTok: 150 characters).
|
|
3289
|
+
*/
|
|
3290
|
+
message: string;
|
|
3291
|
+
};
|
|
3292
|
+
/**
|
|
3293
|
+
* The comment as the platform gave it.
|
|
3294
|
+
*/
|
|
3295
|
+
type CommentPublicationResultDto = {
|
|
2934
3296
|
/**
|
|
2935
|
-
*
|
|
3297
|
+
* The id of the new comment, given by the platform.
|
|
2936
3298
|
*/
|
|
2937
|
-
|
|
3299
|
+
id: string;
|
|
2938
3300
|
/**
|
|
2939
|
-
*
|
|
3301
|
+
* Its address, when the platform gives one (empty otherwise).
|
|
2940
3302
|
*/
|
|
2941
|
-
|
|
3303
|
+
url: string;
|
|
2942
3304
|
};
|
|
2943
3305
|
type UploadFileData = {
|
|
2944
3306
|
body: {
|
|
@@ -2957,6 +3319,10 @@ type UploadFileErrors = {
|
|
|
2957
3319
|
* Missing or invalid API key (`Authorization` header).
|
|
2958
3320
|
*/
|
|
2959
3321
|
401: ApiErrorDto;
|
|
3322
|
+
/**
|
|
3323
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3324
|
+
*/
|
|
3325
|
+
403: ApiErrorDto;
|
|
2960
3326
|
/**
|
|
2961
3327
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
2962
3328
|
*/
|
|
@@ -2990,6 +3356,10 @@ type UploadFromUrlErrors = {
|
|
|
2990
3356
|
* Missing or invalid API key (`Authorization` header).
|
|
2991
3357
|
*/
|
|
2992
3358
|
401: ApiErrorDto;
|
|
3359
|
+
/**
|
|
3360
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3361
|
+
*/
|
|
3362
|
+
403: ApiErrorDto;
|
|
2993
3363
|
/**
|
|
2994
3364
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
2995
3365
|
*/
|
|
@@ -3021,6 +3391,10 @@ type GetUploadFromUrlErrors = {
|
|
|
3021
3391
|
* Missing or invalid API key (`Authorization` header).
|
|
3022
3392
|
*/
|
|
3023
3393
|
401: ApiErrorDto;
|
|
3394
|
+
/**
|
|
3395
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3396
|
+
*/
|
|
3397
|
+
403: ApiErrorDto;
|
|
3024
3398
|
/**
|
|
3025
3399
|
* `IMPORT_NOT_FOUND`: no import with this id in your organization (or older than a day).
|
|
3026
3400
|
*/
|
|
@@ -3050,7 +3424,11 @@ type CreateUploadErrors = {
|
|
|
3050
3424
|
*/
|
|
3051
3425
|
401: ApiErrorDto;
|
|
3052
3426
|
/**
|
|
3053
|
-
* `
|
|
3427
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3428
|
+
*/
|
|
3429
|
+
403: ApiErrorDto;
|
|
3430
|
+
/**
|
|
3431
|
+
* `FILE_TOO_LARGE`: over the server's size limit (500 MB).
|
|
3054
3432
|
*/
|
|
3055
3433
|
413: UploadErrorDto;
|
|
3056
3434
|
/**
|
|
@@ -3058,13 +3436,9 @@ type CreateUploadErrors = {
|
|
|
3058
3436
|
*/
|
|
3059
3437
|
415: UploadErrorDto;
|
|
3060
3438
|
/**
|
|
3061
|
-
* `TOO_MANY_PENDING_UPLOADS` or `PENDING_UPLOADS_TOO_LARGE` (50 uploads waiting, 10 GB declared, per organisation
|
|
3439
|
+
* `TOO_MANY_PENDING_UPLOADS` or `PENDING_UPLOADS_TOO_LARGE` (50 uploads waiting, 10 GB declared, per organisation), or the hourly budget of uploads.
|
|
3062
3440
|
*/
|
|
3063
3441
|
429: UploadErrorDto;
|
|
3064
|
-
/**
|
|
3065
|
-
* `SERVER_STORAGE_FULL` (a server that takes a single PUT only): retry later.
|
|
3066
|
-
*/
|
|
3067
|
-
507: UploadErrorDto;
|
|
3068
3442
|
};
|
|
3069
3443
|
type CreateUploadError = CreateUploadErrors[keyof CreateUploadErrors];
|
|
3070
3444
|
type CreateUploadResponses = {
|
|
@@ -3092,11 +3466,15 @@ type ConfirmUploadErrors = {
|
|
|
3092
3466
|
*/
|
|
3093
3467
|
401: ApiErrorDto;
|
|
3094
3468
|
/**
|
|
3095
|
-
* `
|
|
3469
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3470
|
+
*/
|
|
3471
|
+
403: ApiErrorDto;
|
|
3472
|
+
/**
|
|
3473
|
+
* `UPLOAD_NOT_FOUND` (unknown `uploadId`, another organisation's, or expired).
|
|
3096
3474
|
*/
|
|
3097
3475
|
404: UploadErrorDto;
|
|
3098
3476
|
/**
|
|
3099
|
-
* `UPLOAD_INCOMPLETE` (parts missing: `missingParts`),
|
|
3477
|
+
* `UPLOAD_INCOMPLETE` (parts missing: `missingParts`), or `CONFIRM_IN_PROGRESS` (call again in a few seconds).
|
|
3100
3478
|
*/
|
|
3101
3479
|
409: UploadErrorDto;
|
|
3102
3480
|
/**
|
|
@@ -3141,6 +3519,10 @@ type SetMediaWorkspacesErrors = {
|
|
|
3141
3519
|
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
3142
3520
|
*/
|
|
3143
3521
|
401: ApiErrorDto;
|
|
3522
|
+
/**
|
|
3523
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3524
|
+
*/
|
|
3525
|
+
403: ApiErrorDto;
|
|
3144
3526
|
/**
|
|
3145
3527
|
* No media of your organisation has this id.
|
|
3146
3528
|
*/
|
|
@@ -3168,6 +3550,10 @@ type FindSlotErrors = {
|
|
|
3168
3550
|
* Missing or invalid API key (`Authorization` header).
|
|
3169
3551
|
*/
|
|
3170
3552
|
401: ApiErrorDto;
|
|
3553
|
+
/**
|
|
3554
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3555
|
+
*/
|
|
3556
|
+
403: ApiErrorDto;
|
|
3171
3557
|
/**
|
|
3172
3558
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3173
3559
|
*/
|
|
@@ -3195,6 +3581,10 @@ type GetPostingTimesErrors = {
|
|
|
3195
3581
|
* Missing or invalid API key (`Authorization` header).
|
|
3196
3582
|
*/
|
|
3197
3583
|
401: ApiErrorDto;
|
|
3584
|
+
/**
|
|
3585
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3586
|
+
*/
|
|
3587
|
+
403: ApiErrorDto;
|
|
3198
3588
|
404: ApiErrorDto;
|
|
3199
3589
|
};
|
|
3200
3590
|
type GetPostingTimesError = GetPostingTimesErrors[keyof GetPostingTimesErrors];
|
|
@@ -3219,6 +3609,10 @@ type SetPostingTimesErrors = {
|
|
|
3219
3609
|
* Missing or invalid API key (`Authorization` header).
|
|
3220
3610
|
*/
|
|
3221
3611
|
401: ApiErrorDto;
|
|
3612
|
+
/**
|
|
3613
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3614
|
+
*/
|
|
3615
|
+
403: ApiErrorDto;
|
|
3222
3616
|
404: ApiErrorDto;
|
|
3223
3617
|
};
|
|
3224
3618
|
type SetPostingTimesError = SetPostingTimesErrors[keyof SetPostingTimesErrors];
|
|
@@ -3261,6 +3655,10 @@ type ListPostsErrors = {
|
|
|
3261
3655
|
* Missing or invalid API key (`Authorization` header).
|
|
3262
3656
|
*/
|
|
3263
3657
|
401: ApiErrorDto;
|
|
3658
|
+
/**
|
|
3659
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3660
|
+
*/
|
|
3661
|
+
403: ApiErrorDto;
|
|
3264
3662
|
/**
|
|
3265
3663
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3266
3664
|
*/
|
|
@@ -3286,6 +3684,10 @@ type CreatePostErrors = {
|
|
|
3286
3684
|
* Missing or invalid API key (`Authorization` header).
|
|
3287
3685
|
*/
|
|
3288
3686
|
401: ApiErrorDto;
|
|
3687
|
+
/**
|
|
3688
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3689
|
+
*/
|
|
3690
|
+
403: ApiErrorDto;
|
|
3289
3691
|
/**
|
|
3290
3692
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3291
3693
|
*/
|
|
@@ -3303,13 +3705,9 @@ type DeletePostData = {
|
|
|
3303
3705
|
};
|
|
3304
3706
|
query?: {
|
|
3305
3707
|
/**
|
|
3306
|
-
* `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn,
|
|
3708
|
+
* `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn, X, Google Business Profile, Bluesky, Discord, Telegram; not a story). Anything else, or absent: UseNadia's copy only, the post stays online. A refusal by a platform deletes nothing, in UseNadia either (400, `msg` says why).
|
|
3307
3709
|
*/
|
|
3308
3710
|
deleteOnPlatform?: 'true' | 'false';
|
|
3309
|
-
/**
|
|
3310
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
3311
|
-
*/
|
|
3312
|
-
confirmationToken?: string;
|
|
3313
3711
|
};
|
|
3314
3712
|
url: '/public/v1/posts/{id}';
|
|
3315
3713
|
};
|
|
@@ -3323,13 +3721,13 @@ type DeletePostErrors = {
|
|
|
3323
3721
|
*/
|
|
3324
3722
|
401: ApiErrorDto;
|
|
3325
3723
|
/**
|
|
3326
|
-
*
|
|
3724
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3327
3725
|
*/
|
|
3328
|
-
|
|
3726
|
+
403: ApiErrorDto;
|
|
3329
3727
|
/**
|
|
3330
|
-
*
|
|
3728
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
3331
3729
|
*/
|
|
3332
|
-
|
|
3730
|
+
404: ApiErrorDto;
|
|
3333
3731
|
};
|
|
3334
3732
|
type DeletePostError = DeletePostErrors[keyof DeletePostErrors];
|
|
3335
3733
|
type DeletePostResponses = {
|
|
@@ -3352,6 +3750,10 @@ type GetPostErrors = {
|
|
|
3352
3750
|
* Missing or invalid API key (`Authorization` header).
|
|
3353
3751
|
*/
|
|
3354
3752
|
401: ApiErrorDto;
|
|
3753
|
+
/**
|
|
3754
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3755
|
+
*/
|
|
3756
|
+
403: ApiErrorDto;
|
|
3355
3757
|
/**
|
|
3356
3758
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3357
3759
|
*/
|
|
@@ -3369,13 +3771,9 @@ type DeletePostGroupData = {
|
|
|
3369
3771
|
};
|
|
3370
3772
|
query?: {
|
|
3371
3773
|
/**
|
|
3372
|
-
* `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn,
|
|
3774
|
+
* `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn, X, Google Business Profile, Bluesky, Discord, Telegram; not a story). Anything else, or absent: UseNadia's copy only, the post stays online. A refusal by a platform deletes nothing, in UseNadia either (400, `msg` says why).
|
|
3373
3775
|
*/
|
|
3374
3776
|
deleteOnPlatform?: 'true' | 'false';
|
|
3375
|
-
/**
|
|
3376
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
3377
|
-
*/
|
|
3378
|
-
confirmationToken?: string;
|
|
3379
3777
|
};
|
|
3380
3778
|
url: '/public/v1/posts/group/{group}';
|
|
3381
3779
|
};
|
|
@@ -3389,13 +3787,13 @@ type DeletePostGroupErrors = {
|
|
|
3389
3787
|
*/
|
|
3390
3788
|
401: ApiErrorDto;
|
|
3391
3789
|
/**
|
|
3392
|
-
*
|
|
3790
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3393
3791
|
*/
|
|
3394
|
-
|
|
3792
|
+
403: ApiErrorDto;
|
|
3395
3793
|
/**
|
|
3396
|
-
*
|
|
3794
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
3397
3795
|
*/
|
|
3398
|
-
|
|
3796
|
+
404: ApiErrorDto;
|
|
3399
3797
|
};
|
|
3400
3798
|
type DeletePostGroupError = DeletePostGroupErrors[keyof DeletePostGroupErrors];
|
|
3401
3799
|
type DeletePostGroupResponses = {
|
|
@@ -3445,6 +3843,10 @@ type ListWorkspacesErrors = {
|
|
|
3445
3843
|
* Missing or invalid API key (`Authorization` header).
|
|
3446
3844
|
*/
|
|
3447
3845
|
401: ApiErrorDto;
|
|
3846
|
+
/**
|
|
3847
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3848
|
+
*/
|
|
3849
|
+
403: ApiErrorDto;
|
|
3448
3850
|
/**
|
|
3449
3851
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3450
3852
|
*/
|
|
@@ -3474,6 +3876,10 @@ type CreateWorkspaceErrors = {
|
|
|
3474
3876
|
* Your plan's number of workspaces is reached (`used`, `quota`).
|
|
3475
3877
|
*/
|
|
3476
3878
|
402: WorkspaceErrorDto;
|
|
3879
|
+
/**
|
|
3880
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3881
|
+
*/
|
|
3882
|
+
403: ApiErrorDto;
|
|
3477
3883
|
/**
|
|
3478
3884
|
* A workspace already has this name.
|
|
3479
3885
|
*/
|
|
@@ -3520,6 +3926,10 @@ type ListGroupsErrors = {
|
|
|
3520
3926
|
* Missing or invalid API key (`Authorization` header).
|
|
3521
3927
|
*/
|
|
3522
3928
|
401: ApiErrorDto;
|
|
3929
|
+
/**
|
|
3930
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3931
|
+
*/
|
|
3932
|
+
403: ApiErrorDto;
|
|
3523
3933
|
/**
|
|
3524
3934
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3525
3935
|
*/
|
|
@@ -3556,6 +3966,10 @@ type ListChannelsErrors = {
|
|
|
3556
3966
|
* Missing or invalid API key (`Authorization` header).
|
|
3557
3967
|
*/
|
|
3558
3968
|
401: ApiErrorDto;
|
|
3969
|
+
/**
|
|
3970
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3971
|
+
*/
|
|
3972
|
+
403: ApiErrorDto;
|
|
3559
3973
|
/**
|
|
3560
3974
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3561
3975
|
*/
|
|
@@ -3572,13 +3986,30 @@ type StartChannelConnectionData = {
|
|
|
3572
3986
|
integration: string;
|
|
3573
3987
|
};
|
|
3574
3988
|
query?: {
|
|
3989
|
+
/**
|
|
3990
|
+
* Reconnects an existing channel: its account id on the platform. A key limited to some workspaces names a live channel of one of its workspaces (404 otherwise). A reconnection never moves its channel: `workspace` is then ignored.
|
|
3991
|
+
*/
|
|
3575
3992
|
refresh?: string;
|
|
3993
|
+
/**
|
|
3994
|
+
* The workspace the new channel goes into (an id from `listWorkspaces`), for a partner that keeps one workspace per person it serves. It must be a workspace of the organization (404 otherwise). Without it: the organization's first workspace, or, with a key limited to some workspaces, its only workspace (400 when it has several). An account that is already a channel of the organization moves into it.
|
|
3995
|
+
*/
|
|
3996
|
+
workspace?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* Deprecated alias of `workspace`.
|
|
3999
|
+
*
|
|
4000
|
+
* @deprecated
|
|
4001
|
+
*/
|
|
4002
|
+
group?: string;
|
|
4003
|
+
/**
|
|
4004
|
+
* Where the person is sent back once the connection is over, success or failure, from UseNadia's return page (no UseNadia account needed). An absolute `https` URL (`http` only for `localhost`), without credentials, of at most 2048 characters (400 otherwise). Added to its query: `added=<provider>` and one `integration=<id>` per channel added, or `error=<code>` (`cancelled`, `not_in_plan`, `account_in_use`, `waitlist`, `refused`, `failed`, `page_failed`, `channel_limit`). Not checked against a list of domains: the URL is given only to the holder of the key.
|
|
4005
|
+
*/
|
|
4006
|
+
redirectUrl?: string;
|
|
3576
4007
|
};
|
|
3577
4008
|
url: '/public/v1/social/{integration}';
|
|
3578
4009
|
};
|
|
3579
4010
|
type StartChannelConnectionErrors = {
|
|
3580
4011
|
/**
|
|
3581
|
-
* The request was rejected — `msg` says why
|
|
4012
|
+
* The request was rejected — `msg` says why: unknown identifier (`Integration not allowed`), a `redirectUrl` that is not an https URL, or a key limited to several workspaces without `workspace`.
|
|
3582
4013
|
*/
|
|
3583
4014
|
400: ApiErrorDto;
|
|
3584
4015
|
/**
|
|
@@ -3590,7 +4021,11 @@ type StartChannelConnectionErrors = {
|
|
|
3590
4021
|
*/
|
|
3591
4022
|
402: ApiErrorDto;
|
|
3592
4023
|
/**
|
|
3593
|
-
*
|
|
4024
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4025
|
+
*/
|
|
4026
|
+
403: ApiErrorDto;
|
|
4027
|
+
/**
|
|
4028
|
+
* The `workspace` is not one of your organisation's (or of your key's workspaces), or `refresh` names no channel your key reaches — `msg` says which.
|
|
3594
4029
|
*/
|
|
3595
4030
|
404: ApiErrorDto;
|
|
3596
4031
|
};
|
|
@@ -3643,6 +4078,10 @@ type DeleteChannelErrors = {
|
|
|
3643
4078
|
* Missing or invalid API key (`Authorization` header).
|
|
3644
4079
|
*/
|
|
3645
4080
|
401: ApiErrorDto;
|
|
4081
|
+
/**
|
|
4082
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4083
|
+
*/
|
|
4084
|
+
403: ApiErrorDto;
|
|
3646
4085
|
/**
|
|
3647
4086
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3648
4087
|
*/
|
|
@@ -3670,6 +4109,10 @@ type GetChannelSettingsErrors = {
|
|
|
3670
4109
|
* Missing or invalid API key (`Authorization` header).
|
|
3671
4110
|
*/
|
|
3672
4111
|
401: ApiErrorDto;
|
|
4112
|
+
/**
|
|
4113
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4114
|
+
*/
|
|
4115
|
+
403: ApiErrorDto;
|
|
3673
4116
|
/**
|
|
3674
4117
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3675
4118
|
*/
|
|
@@ -3697,6 +4140,10 @@ type ListMissingMediaErrors = {
|
|
|
3697
4140
|
* Missing or invalid API key (`Authorization` header).
|
|
3698
4141
|
*/
|
|
3699
4142
|
401: ApiErrorDto;
|
|
4143
|
+
/**
|
|
4144
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4145
|
+
*/
|
|
4146
|
+
403: ApiErrorDto;
|
|
3700
4147
|
/**
|
|
3701
4148
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3702
4149
|
*/
|
|
@@ -3712,12 +4159,7 @@ type ChangePostStatusData = {
|
|
|
3712
4159
|
path: {
|
|
3713
4160
|
id: string;
|
|
3714
4161
|
};
|
|
3715
|
-
query?:
|
|
3716
|
-
/**
|
|
3717
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
3718
|
-
*/
|
|
3719
|
-
confirmationToken?: string;
|
|
3720
|
-
};
|
|
4162
|
+
query?: never;
|
|
3721
4163
|
url: '/public/v1/posts/{id}/status';
|
|
3722
4164
|
};
|
|
3723
4165
|
type ChangePostStatusErrors = {
|
|
@@ -3730,19 +4172,163 @@ type ChangePostStatusErrors = {
|
|
|
3730
4172
|
*/
|
|
3731
4173
|
401: ApiErrorDto;
|
|
3732
4174
|
/**
|
|
3733
|
-
*
|
|
4175
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
3734
4176
|
*/
|
|
3735
|
-
|
|
4177
|
+
403: ApiErrorDto;
|
|
3736
4178
|
/**
|
|
3737
|
-
*
|
|
4179
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
3738
4180
|
*/
|
|
3739
|
-
|
|
4181
|
+
404: ApiErrorDto;
|
|
3740
4182
|
};
|
|
3741
4183
|
type ChangePostStatusError = ChangePostStatusErrors[keyof ChangePostStatusErrors];
|
|
3742
4184
|
type ChangePostStatusResponses = {
|
|
3743
4185
|
200: PostStatusDto;
|
|
3744
4186
|
};
|
|
3745
4187
|
type ChangePostStatusResponse = ChangePostStatusResponses[keyof ChangePostStatusResponses];
|
|
4188
|
+
type ListPostsAwaitingApprovalData = {
|
|
4189
|
+
body?: never;
|
|
4190
|
+
path?: never;
|
|
4191
|
+
query?: {
|
|
4192
|
+
/**
|
|
4193
|
+
* Only the posts of this workspace's channels
|
|
4194
|
+
*/
|
|
4195
|
+
workspace?: string;
|
|
4196
|
+
};
|
|
4197
|
+
url: '/public/v1/posts/approvals';
|
|
4198
|
+
};
|
|
4199
|
+
type ListPostsAwaitingApprovalErrors = {
|
|
4200
|
+
/**
|
|
4201
|
+
* The request was rejected — `msg` says why.
|
|
4202
|
+
*/
|
|
4203
|
+
400: ApiErrorDto;
|
|
4204
|
+
/**
|
|
4205
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4206
|
+
*/
|
|
4207
|
+
401: ApiErrorDto;
|
|
4208
|
+
/**
|
|
4209
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4210
|
+
*/
|
|
4211
|
+
403: ApiErrorDto;
|
|
4212
|
+
};
|
|
4213
|
+
type ListPostsAwaitingApprovalError = ListPostsAwaitingApprovalErrors[keyof ListPostsAwaitingApprovalErrors];
|
|
4214
|
+
type ListPostsAwaitingApprovalResponses = {
|
|
4215
|
+
/**
|
|
4216
|
+
* The posts that wait for an approval, soonest first (200 at most).
|
|
4217
|
+
*/
|
|
4218
|
+
200: AwaitingPostsDto;
|
|
4219
|
+
};
|
|
4220
|
+
type ListPostsAwaitingApprovalResponse = ListPostsAwaitingApprovalResponses[keyof ListPostsAwaitingApprovalResponses];
|
|
4221
|
+
type ListUndatedDraftsData = {
|
|
4222
|
+
body?: never;
|
|
4223
|
+
path?: never;
|
|
4224
|
+
query?: {
|
|
4225
|
+
/**
|
|
4226
|
+
* Deprecated alias of `workspace` (public API).
|
|
4227
|
+
*
|
|
4228
|
+
* @deprecated
|
|
4229
|
+
*/
|
|
4230
|
+
customer?: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Deprecated alias of `workspace`.
|
|
4233
|
+
*
|
|
4234
|
+
* @deprecated
|
|
4235
|
+
*/
|
|
4236
|
+
group?: string;
|
|
4237
|
+
/**
|
|
4238
|
+
* Only the drafts of the channels of this workspace (an id from `listWorkspaces`).
|
|
4239
|
+
*/
|
|
4240
|
+
workspace?: string;
|
|
4241
|
+
/**
|
|
4242
|
+
* Only the drafts of this channel.
|
|
4243
|
+
*/
|
|
4244
|
+
integration?: string;
|
|
4245
|
+
};
|
|
4246
|
+
url: '/public/v1/posts/drafts';
|
|
4247
|
+
};
|
|
4248
|
+
type ListUndatedDraftsErrors = {
|
|
4249
|
+
/**
|
|
4250
|
+
* The request was rejected — `msg` says why.
|
|
4251
|
+
*/
|
|
4252
|
+
400: ApiErrorDto;
|
|
4253
|
+
/**
|
|
4254
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4255
|
+
*/
|
|
4256
|
+
401: ApiErrorDto;
|
|
4257
|
+
/**
|
|
4258
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4259
|
+
*/
|
|
4260
|
+
403: ApiErrorDto;
|
|
4261
|
+
};
|
|
4262
|
+
type ListUndatedDraftsError = ListUndatedDraftsErrors[keyof ListUndatedDraftsErrors];
|
|
4263
|
+
type ListUndatedDraftsResponses = {
|
|
4264
|
+
/**
|
|
4265
|
+
* The drafts without a date, oldest written first (500 at most), in the shape of `GET /posts` (`publishDate` null).
|
|
4266
|
+
*/
|
|
4267
|
+
200: PostListDto;
|
|
4268
|
+
};
|
|
4269
|
+
type ListUndatedDraftsResponse = ListUndatedDraftsResponses[keyof ListUndatedDraftsResponses];
|
|
4270
|
+
type ApprovePostData = {
|
|
4271
|
+
body?: ApprovePostDto;
|
|
4272
|
+
path: {
|
|
4273
|
+
id: string;
|
|
4274
|
+
};
|
|
4275
|
+
query?: never;
|
|
4276
|
+
url: '/public/v1/posts/{id}/approve';
|
|
4277
|
+
};
|
|
4278
|
+
type ApprovePostErrors = {
|
|
4279
|
+
/**
|
|
4280
|
+
* The post does not wait for an approval (answered already, or never sent for one), or its date is past — `message` says why.
|
|
4281
|
+
*/
|
|
4282
|
+
400: ApiErrorDto;
|
|
4283
|
+
/**
|
|
4284
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4285
|
+
*/
|
|
4286
|
+
401: ApiErrorDto;
|
|
4287
|
+
/**
|
|
4288
|
+
* The caller's role cannot approve posts (a Content Creator). Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4289
|
+
*/
|
|
4290
|
+
403: ApiErrorDto;
|
|
4291
|
+
/**
|
|
4292
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4293
|
+
*/
|
|
4294
|
+
404: ApiErrorDto;
|
|
4295
|
+
};
|
|
4296
|
+
type ApprovePostError = ApprovePostErrors[keyof ApprovePostErrors];
|
|
4297
|
+
type ApprovePostResponses = {
|
|
4298
|
+
200: PostAnswerResultDto;
|
|
4299
|
+
};
|
|
4300
|
+
type ApprovePostResponse = ApprovePostResponses[keyof ApprovePostResponses];
|
|
4301
|
+
type RefusePostData = {
|
|
4302
|
+
body?: RefusePostDto;
|
|
4303
|
+
path: {
|
|
4304
|
+
id: string;
|
|
4305
|
+
};
|
|
4306
|
+
query?: never;
|
|
4307
|
+
url: '/public/v1/posts/{id}/refuse';
|
|
4308
|
+
};
|
|
4309
|
+
type RefusePostErrors = {
|
|
4310
|
+
/**
|
|
4311
|
+
* The post does not wait for an approval (answered already, or never sent for one), or its date is past — `message` says why.
|
|
4312
|
+
*/
|
|
4313
|
+
400: ApiErrorDto;
|
|
4314
|
+
/**
|
|
4315
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4316
|
+
*/
|
|
4317
|
+
401: ApiErrorDto;
|
|
4318
|
+
/**
|
|
4319
|
+
* The caller's role cannot approve posts (a Content Creator). Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4320
|
+
*/
|
|
4321
|
+
403: ApiErrorDto;
|
|
4322
|
+
/**
|
|
4323
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4324
|
+
*/
|
|
4325
|
+
404: ApiErrorDto;
|
|
4326
|
+
};
|
|
4327
|
+
type RefusePostError = RefusePostErrors[keyof RefusePostErrors];
|
|
4328
|
+
type RefusePostResponses = {
|
|
4329
|
+
200: PostAnswerResultDto;
|
|
4330
|
+
};
|
|
4331
|
+
type RefusePostResponse = RefusePostResponses[keyof RefusePostResponses];
|
|
3746
4332
|
type RemovePostAutomationData = {
|
|
3747
4333
|
body?: never;
|
|
3748
4334
|
path: {
|
|
@@ -3753,13 +4339,17 @@ type RemovePostAutomationData = {
|
|
|
3753
4339
|
};
|
|
3754
4340
|
type RemovePostAutomationErrors = {
|
|
3755
4341
|
/**
|
|
3756
|
-
* The request was rejected — `message` says why (the post is already published, is not an Instagram
|
|
4342
|
+
* The request was rejected — `message` says why (the post is already published, is not an Instagram, Facebook Page, TikTok (`tiktok-business`) or Threads post, or the pose has a hole).
|
|
3757
4343
|
*/
|
|
3758
4344
|
400: ApiErrorDto;
|
|
3759
4345
|
/**
|
|
3760
4346
|
* Missing or invalid API key (`Authorization` header).
|
|
3761
4347
|
*/
|
|
3762
4348
|
401: ApiErrorDto;
|
|
4349
|
+
/**
|
|
4350
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4351
|
+
*/
|
|
4352
|
+
403: ApiErrorDto;
|
|
3763
4353
|
/**
|
|
3764
4354
|
* The post or the template does not belong to your organisation.
|
|
3765
4355
|
*/
|
|
@@ -3780,13 +4370,17 @@ type GetPostAutomationData = {
|
|
|
3780
4370
|
};
|
|
3781
4371
|
type GetPostAutomationErrors = {
|
|
3782
4372
|
/**
|
|
3783
|
-
* The request was rejected — `message` says why (the post is already published, is not an Instagram
|
|
4373
|
+
* The request was rejected — `message` says why (the post is already published, is not an Instagram, Facebook Page, TikTok (`tiktok-business`) or Threads post, or the pose has a hole).
|
|
3784
4374
|
*/
|
|
3785
4375
|
400: ApiErrorDto;
|
|
3786
4376
|
/**
|
|
3787
4377
|
* Missing or invalid API key (`Authorization` header).
|
|
3788
4378
|
*/
|
|
3789
4379
|
401: ApiErrorDto;
|
|
4380
|
+
/**
|
|
4381
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4382
|
+
*/
|
|
4383
|
+
403: ApiErrorDto;
|
|
3790
4384
|
/**
|
|
3791
4385
|
* The post or the template does not belong to your organisation.
|
|
3792
4386
|
*/
|
|
@@ -3807,13 +4401,17 @@ type SetPostAutomationData = {
|
|
|
3807
4401
|
};
|
|
3808
4402
|
type SetPostAutomationErrors = {
|
|
3809
4403
|
/**
|
|
3810
|
-
* The request was rejected — `message` says why (the post is already published, is not an Instagram
|
|
4404
|
+
* The request was rejected — `message` says why (the post is already published, is not an Instagram, Facebook Page, TikTok (`tiktok-business`) or Threads post, or the pose has a hole).
|
|
3811
4405
|
*/
|
|
3812
4406
|
400: ApiErrorDto;
|
|
3813
4407
|
/**
|
|
3814
4408
|
* Missing or invalid API key (`Authorization` header).
|
|
3815
4409
|
*/
|
|
3816
4410
|
401: ApiErrorDto;
|
|
4411
|
+
/**
|
|
4412
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4413
|
+
*/
|
|
4414
|
+
403: ApiErrorDto;
|
|
3817
4415
|
/**
|
|
3818
4416
|
* The post or the template does not belong to your organisation.
|
|
3819
4417
|
*/
|
|
@@ -3841,6 +4439,10 @@ type SetPostReleaseIdErrors = {
|
|
|
3841
4439
|
* Missing or invalid API key (`Authorization` header).
|
|
3842
4440
|
*/
|
|
3843
4441
|
401: ApiErrorDto;
|
|
4442
|
+
/**
|
|
4443
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4444
|
+
*/
|
|
4445
|
+
403: ApiErrorDto;
|
|
3844
4446
|
/**
|
|
3845
4447
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3846
4448
|
*/
|
|
@@ -3868,6 +4470,10 @@ type SetPostCoverErrors = {
|
|
|
3868
4470
|
* Missing or invalid API key (`Authorization` header).
|
|
3869
4471
|
*/
|
|
3870
4472
|
401: ApiErrorDto;
|
|
4473
|
+
/**
|
|
4474
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4475
|
+
*/
|
|
4476
|
+
403: ApiErrorDto;
|
|
3871
4477
|
/**
|
|
3872
4478
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3873
4479
|
*/
|
|
@@ -3878,6 +4484,37 @@ type SetPostCoverResponses = {
|
|
|
3878
4484
|
200: PostDetailDto;
|
|
3879
4485
|
};
|
|
3880
4486
|
type SetPostCoverResponse = SetPostCoverResponses[keyof SetPostCoverResponses];
|
|
4487
|
+
type SetPostThreadData = {
|
|
4488
|
+
body: SetPostThreadDto;
|
|
4489
|
+
path: {
|
|
4490
|
+
id: string;
|
|
4491
|
+
};
|
|
4492
|
+
query?: never;
|
|
4493
|
+
url: '/public/v1/posts/{id}/thread';
|
|
4494
|
+
};
|
|
4495
|
+
type SetPostThreadErrors = {
|
|
4496
|
+
/**
|
|
4497
|
+
* The request was rejected — `msg` says why.
|
|
4498
|
+
*/
|
|
4499
|
+
400: ApiErrorDto;
|
|
4500
|
+
/**
|
|
4501
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4502
|
+
*/
|
|
4503
|
+
401: ApiErrorDto;
|
|
4504
|
+
/**
|
|
4505
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4506
|
+
*/
|
|
4507
|
+
403: ApiErrorDto;
|
|
4508
|
+
/**
|
|
4509
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4510
|
+
*/
|
|
4511
|
+
404: ApiErrorDto;
|
|
4512
|
+
};
|
|
4513
|
+
type SetPostThreadError = SetPostThreadErrors[keyof SetPostThreadErrors];
|
|
4514
|
+
type SetPostThreadResponses = {
|
|
4515
|
+
200: PostDetailDto;
|
|
4516
|
+
};
|
|
4517
|
+
type SetPostThreadResponse = SetPostThreadResponses[keyof SetPostThreadResponses];
|
|
3881
4518
|
type SetPostPublicationData = {
|
|
3882
4519
|
body: SetPostPublicationDto;
|
|
3883
4520
|
path: {
|
|
@@ -3895,6 +4532,10 @@ type SetPostPublicationErrors = {
|
|
|
3895
4532
|
* Missing or invalid API key (`Authorization` header).
|
|
3896
4533
|
*/
|
|
3897
4534
|
401: ApiErrorDto;
|
|
4535
|
+
/**
|
|
4536
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4537
|
+
*/
|
|
4538
|
+
403: ApiErrorDto;
|
|
3898
4539
|
/**
|
|
3899
4540
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3900
4541
|
*/
|
|
@@ -3924,6 +4565,10 @@ type GetChannelAnalyticsErrors = {
|
|
|
3924
4565
|
* Missing or invalid API key (`Authorization` header).
|
|
3925
4566
|
*/
|
|
3926
4567
|
401: ApiErrorDto;
|
|
4568
|
+
/**
|
|
4569
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4570
|
+
*/
|
|
4571
|
+
403: ApiErrorDto;
|
|
3927
4572
|
/**
|
|
3928
4573
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3929
4574
|
*/
|
|
@@ -3954,6 +4599,10 @@ type ListVideoPerformanceErrors = {
|
|
|
3954
4599
|
* Missing or invalid API key (`Authorization` header).
|
|
3955
4600
|
*/
|
|
3956
4601
|
401: ApiErrorDto;
|
|
4602
|
+
/**
|
|
4603
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4604
|
+
*/
|
|
4605
|
+
403: ApiErrorDto;
|
|
3957
4606
|
/**
|
|
3958
4607
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3959
4608
|
*/
|
|
@@ -3992,6 +4641,10 @@ type GetAccountHistoryErrors = {
|
|
|
3992
4641
|
* Missing or invalid API key (`Authorization` header).
|
|
3993
4642
|
*/
|
|
3994
4643
|
401: ApiErrorDto;
|
|
4644
|
+
/**
|
|
4645
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4646
|
+
*/
|
|
4647
|
+
403: ApiErrorDto;
|
|
3995
4648
|
/**
|
|
3996
4649
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
3997
4650
|
*/
|
|
@@ -4025,6 +4678,10 @@ type GetVideoHistoryErrors = {
|
|
|
4025
4678
|
* Missing or invalid API key (`Authorization` header).
|
|
4026
4679
|
*/
|
|
4027
4680
|
401: ApiErrorDto;
|
|
4681
|
+
/**
|
|
4682
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4683
|
+
*/
|
|
4684
|
+
403: ApiErrorDto;
|
|
4028
4685
|
/**
|
|
4029
4686
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4030
4687
|
*/
|
|
@@ -4059,6 +4716,10 @@ type GetViewsPerDayErrors = {
|
|
|
4059
4716
|
* Missing or invalid API key (`Authorization` header).
|
|
4060
4717
|
*/
|
|
4061
4718
|
401: ApiErrorDto;
|
|
4719
|
+
/**
|
|
4720
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4721
|
+
*/
|
|
4722
|
+
403: ApiErrorDto;
|
|
4062
4723
|
/**
|
|
4063
4724
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4064
4725
|
*/
|
|
@@ -4088,6 +4749,10 @@ type GetPostAnalyticsErrors = {
|
|
|
4088
4749
|
* Missing or invalid API key (`Authorization` header).
|
|
4089
4750
|
*/
|
|
4090
4751
|
401: ApiErrorDto;
|
|
4752
|
+
/**
|
|
4753
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4754
|
+
*/
|
|
4755
|
+
403: ApiErrorDto;
|
|
4091
4756
|
/**
|
|
4092
4757
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4093
4758
|
*/
|
|
@@ -4120,6 +4785,10 @@ type RunChannelToolErrors = {
|
|
|
4120
4785
|
* Missing or invalid API key (`Authorization` header).
|
|
4121
4786
|
*/
|
|
4122
4787
|
401: ApiErrorDto;
|
|
4788
|
+
/**
|
|
4789
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4790
|
+
*/
|
|
4791
|
+
403: ApiErrorDto;
|
|
4123
4792
|
/**
|
|
4124
4793
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4125
4794
|
*/
|
|
@@ -4147,6 +4816,10 @@ type ListChannelMediaErrors = {
|
|
|
4147
4816
|
* Missing or invalid API key (`Authorization` header).
|
|
4148
4817
|
*/
|
|
4149
4818
|
401: ApiErrorDto;
|
|
4819
|
+
/**
|
|
4820
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4821
|
+
*/
|
|
4822
|
+
403: ApiErrorDto;
|
|
4150
4823
|
/**
|
|
4151
4824
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4152
4825
|
*/
|
|
@@ -4174,6 +4847,10 @@ type ListChannelStoriesErrors = {
|
|
|
4174
4847
|
* Missing or invalid API key (`Authorization` header).
|
|
4175
4848
|
*/
|
|
4176
4849
|
401: ApiErrorDto;
|
|
4850
|
+
/**
|
|
4851
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4852
|
+
*/
|
|
4853
|
+
403: ApiErrorDto;
|
|
4177
4854
|
/**
|
|
4178
4855
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4179
4856
|
*/
|
|
@@ -4202,6 +4879,10 @@ type ListMediaCommentsErrors = {
|
|
|
4202
4879
|
* Missing or invalid API key (`Authorization` header).
|
|
4203
4880
|
*/
|
|
4204
4881
|
401: ApiErrorDto;
|
|
4882
|
+
/**
|
|
4883
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4884
|
+
*/
|
|
4885
|
+
403: ApiErrorDto;
|
|
4205
4886
|
/**
|
|
4206
4887
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4207
4888
|
*/
|
|
@@ -4212,17 +4893,44 @@ type ListMediaCommentsResponses = {
|
|
|
4212
4893
|
200: Array<InstagramCommentDto>;
|
|
4213
4894
|
};
|
|
4214
4895
|
type ListMediaCommentsResponse = ListMediaCommentsResponses[keyof ListMediaCommentsResponses];
|
|
4896
|
+
type CommentPublicationData = {
|
|
4897
|
+
body: CommentPublicationDto;
|
|
4898
|
+
path: {
|
|
4899
|
+
integrationId: string;
|
|
4900
|
+
mediaId: string;
|
|
4901
|
+
};
|
|
4902
|
+
query?: never;
|
|
4903
|
+
url: '/public/v1/inbox/comments/{integrationId}/{mediaId}';
|
|
4904
|
+
};
|
|
4905
|
+
type CommentPublicationErrors = {
|
|
4906
|
+
/**
|
|
4907
|
+
* The request was rejected — `msg` says why.
|
|
4908
|
+
*/
|
|
4909
|
+
400: ApiErrorDto;
|
|
4910
|
+
/**
|
|
4911
|
+
* Missing or invalid API key (`Authorization` header).
|
|
4912
|
+
*/
|
|
4913
|
+
401: ApiErrorDto;
|
|
4914
|
+
/**
|
|
4915
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4916
|
+
*/
|
|
4917
|
+
403: ApiErrorDto;
|
|
4918
|
+
/**
|
|
4919
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4920
|
+
*/
|
|
4921
|
+
404: ApiErrorDto;
|
|
4922
|
+
};
|
|
4923
|
+
type CommentPublicationError = CommentPublicationErrors[keyof CommentPublicationErrors];
|
|
4924
|
+
type CommentPublicationResponses = {
|
|
4925
|
+
201: CommentPublicationResultDto;
|
|
4926
|
+
};
|
|
4927
|
+
type CommentPublicationResponse = CommentPublicationResponses[keyof CommentPublicationResponses];
|
|
4215
4928
|
type ReplyToCommentData = {
|
|
4216
4929
|
body: ReplyToCommentDto;
|
|
4217
4930
|
path: {
|
|
4218
4931
|
commentId: string;
|
|
4219
4932
|
};
|
|
4220
|
-
query?:
|
|
4221
|
-
/**
|
|
4222
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4223
|
-
*/
|
|
4224
|
-
confirmationToken?: string;
|
|
4225
|
-
};
|
|
4933
|
+
query?: never;
|
|
4226
4934
|
url: '/public/v1/inbox/comments/{commentId}/reply';
|
|
4227
4935
|
};
|
|
4228
4936
|
type ReplyToCommentErrors = {
|
|
@@ -4235,13 +4943,13 @@ type ReplyToCommentErrors = {
|
|
|
4235
4943
|
*/
|
|
4236
4944
|
401: ApiErrorDto;
|
|
4237
4945
|
/**
|
|
4238
|
-
*
|
|
4946
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4239
4947
|
*/
|
|
4240
|
-
|
|
4948
|
+
403: ApiErrorDto;
|
|
4241
4949
|
/**
|
|
4242
|
-
*
|
|
4950
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4243
4951
|
*/
|
|
4244
|
-
|
|
4952
|
+
404: ApiErrorDto;
|
|
4245
4953
|
};
|
|
4246
4954
|
type ReplyToCommentError = ReplyToCommentErrors[keyof ReplyToCommentErrors];
|
|
4247
4955
|
type ReplyToCommentResponses = {
|
|
@@ -4254,12 +4962,7 @@ type HideCommentData = {
|
|
|
4254
4962
|
integrationId: string;
|
|
4255
4963
|
commentId: string;
|
|
4256
4964
|
};
|
|
4257
|
-
query?:
|
|
4258
|
-
/**
|
|
4259
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4260
|
-
*/
|
|
4261
|
-
confirmationToken?: string;
|
|
4262
|
-
};
|
|
4965
|
+
query?: never;
|
|
4263
4966
|
url: '/public/v1/inbox/comments/{integrationId}/{commentId}/hide';
|
|
4264
4967
|
};
|
|
4265
4968
|
type HideCommentErrors = {
|
|
@@ -4272,13 +4975,13 @@ type HideCommentErrors = {
|
|
|
4272
4975
|
*/
|
|
4273
4976
|
401: ApiErrorDto;
|
|
4274
4977
|
/**
|
|
4275
|
-
*
|
|
4978
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4276
4979
|
*/
|
|
4277
|
-
|
|
4980
|
+
403: ApiErrorDto;
|
|
4278
4981
|
/**
|
|
4279
|
-
*
|
|
4982
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4280
4983
|
*/
|
|
4281
|
-
|
|
4984
|
+
404: ApiErrorDto;
|
|
4282
4985
|
};
|
|
4283
4986
|
type HideCommentError = HideCommentErrors[keyof HideCommentErrors];
|
|
4284
4987
|
type HideCommentResponses = {
|
|
@@ -4291,12 +4994,7 @@ type DeleteCommentData = {
|
|
|
4291
4994
|
integrationId: string;
|
|
4292
4995
|
commentId: string;
|
|
4293
4996
|
};
|
|
4294
|
-
query?:
|
|
4295
|
-
/**
|
|
4296
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4297
|
-
*/
|
|
4298
|
-
confirmationToken?: string;
|
|
4299
|
-
};
|
|
4997
|
+
query?: never;
|
|
4300
4998
|
url: '/public/v1/inbox/comments/{integrationId}/{commentId}';
|
|
4301
4999
|
};
|
|
4302
5000
|
type DeleteCommentErrors = {
|
|
@@ -4309,13 +5007,13 @@ type DeleteCommentErrors = {
|
|
|
4309
5007
|
*/
|
|
4310
5008
|
401: ApiErrorDto;
|
|
4311
5009
|
/**
|
|
4312
|
-
*
|
|
5010
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4313
5011
|
*/
|
|
4314
|
-
|
|
5012
|
+
403: ApiErrorDto;
|
|
4315
5013
|
/**
|
|
4316
|
-
*
|
|
5014
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4317
5015
|
*/
|
|
4318
|
-
|
|
5016
|
+
404: ApiErrorDto;
|
|
4319
5017
|
};
|
|
4320
5018
|
type DeleteCommentError = DeleteCommentErrors[keyof DeleteCommentErrors];
|
|
4321
5019
|
type DeleteCommentResponses = {
|
|
@@ -4352,6 +5050,10 @@ type ListConversationsErrors = {
|
|
|
4352
5050
|
* Missing or invalid API key (`Authorization` header).
|
|
4353
5051
|
*/
|
|
4354
5052
|
401: ApiErrorDto;
|
|
5053
|
+
/**
|
|
5054
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5055
|
+
*/
|
|
5056
|
+
403: ApiErrorDto;
|
|
4355
5057
|
/**
|
|
4356
5058
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4357
5059
|
*/
|
|
@@ -4367,12 +5069,7 @@ type SendDirectMessageData = {
|
|
|
4367
5069
|
path: {
|
|
4368
5070
|
integrationId: string;
|
|
4369
5071
|
};
|
|
4370
|
-
query?:
|
|
4371
|
-
/**
|
|
4372
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4373
|
-
*/
|
|
4374
|
-
confirmationToken?: string;
|
|
4375
|
-
};
|
|
5072
|
+
query?: never;
|
|
4376
5073
|
url: '/public/v1/inbox/{integrationId}/send';
|
|
4377
5074
|
};
|
|
4378
5075
|
type SendDirectMessageErrors = {
|
|
@@ -4385,13 +5082,13 @@ type SendDirectMessageErrors = {
|
|
|
4385
5082
|
*/
|
|
4386
5083
|
401: ApiErrorDto;
|
|
4387
5084
|
/**
|
|
4388
|
-
*
|
|
5085
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4389
5086
|
*/
|
|
4390
|
-
|
|
5087
|
+
403: ApiErrorDto;
|
|
4391
5088
|
/**
|
|
4392
|
-
*
|
|
5089
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
4393
5090
|
*/
|
|
4394
|
-
|
|
5091
|
+
404: ApiErrorDto;
|
|
4395
5092
|
};
|
|
4396
5093
|
type SendDirectMessageError = SendDirectMessageErrors[keyof SendDirectMessageErrors];
|
|
4397
5094
|
type SendDirectMessageResponses = {
|
|
@@ -4415,6 +5112,10 @@ type PollInboxErrors = {
|
|
|
4415
5112
|
* Missing or invalid API key (`Authorization` header).
|
|
4416
5113
|
*/
|
|
4417
5114
|
401: ApiErrorDto;
|
|
5115
|
+
/**
|
|
5116
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5117
|
+
*/
|
|
5118
|
+
403: ApiErrorDto;
|
|
4418
5119
|
/**
|
|
4419
5120
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4420
5121
|
*/
|
|
@@ -4442,6 +5143,10 @@ type SubscribeInboxWebhookErrors = {
|
|
|
4442
5143
|
* Missing or invalid API key (`Authorization` header).
|
|
4443
5144
|
*/
|
|
4444
5145
|
401: ApiErrorDto;
|
|
5146
|
+
/**
|
|
5147
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5148
|
+
*/
|
|
5149
|
+
403: ApiErrorDto;
|
|
4445
5150
|
/**
|
|
4446
5151
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4447
5152
|
*/
|
|
@@ -4479,6 +5184,10 @@ type GetConversationErrors = {
|
|
|
4479
5184
|
* Missing or invalid API key (`Authorization` header).
|
|
4480
5185
|
*/
|
|
4481
5186
|
401: ApiErrorDto;
|
|
5187
|
+
/**
|
|
5188
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5189
|
+
*/
|
|
5190
|
+
403: ApiErrorDto;
|
|
4482
5191
|
/**
|
|
4483
5192
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
4484
5193
|
*/
|
|
@@ -4504,6 +5213,10 @@ type ListAutomationFlowsErrors = {
|
|
|
4504
5213
|
* Missing or invalid API key (`Authorization` header).
|
|
4505
5214
|
*/
|
|
4506
5215
|
401: ApiErrorDto;
|
|
5216
|
+
/**
|
|
5217
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5218
|
+
*/
|
|
5219
|
+
403: ApiErrorDto;
|
|
4507
5220
|
/**
|
|
4508
5221
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4509
5222
|
*/
|
|
@@ -4529,6 +5242,10 @@ type CreateAutomationFlowErrors = {
|
|
|
4529
5242
|
* Missing or invalid API key (`Authorization` header).
|
|
4530
5243
|
*/
|
|
4531
5244
|
401: ApiErrorDto;
|
|
5245
|
+
/**
|
|
5246
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5247
|
+
*/
|
|
5248
|
+
403: ApiErrorDto;
|
|
4532
5249
|
/**
|
|
4533
5250
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4534
5251
|
*/
|
|
@@ -4554,6 +5271,10 @@ type PreviewAutomationEmailErrors = {
|
|
|
4554
5271
|
* Missing or invalid API key (`Authorization` header).
|
|
4555
5272
|
*/
|
|
4556
5273
|
401: ApiErrorDto;
|
|
5274
|
+
/**
|
|
5275
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5276
|
+
*/
|
|
5277
|
+
403: ApiErrorDto;
|
|
4557
5278
|
/**
|
|
4558
5279
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4559
5280
|
*/
|
|
@@ -4579,6 +5300,10 @@ type SendAutomationTestEmailErrors = {
|
|
|
4579
5300
|
* Missing or invalid API key (`Authorization` header).
|
|
4580
5301
|
*/
|
|
4581
5302
|
401: ApiErrorDto;
|
|
5303
|
+
/**
|
|
5304
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5305
|
+
*/
|
|
5306
|
+
403: ApiErrorDto;
|
|
4582
5307
|
/**
|
|
4583
5308
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4584
5309
|
*/
|
|
@@ -4594,12 +5319,7 @@ type DeleteAutomationFlowData = {
|
|
|
4594
5319
|
path: {
|
|
4595
5320
|
id: string;
|
|
4596
5321
|
};
|
|
4597
|
-
query?:
|
|
4598
|
-
/**
|
|
4599
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4600
|
-
*/
|
|
4601
|
-
confirmationToken?: string;
|
|
4602
|
-
};
|
|
5322
|
+
query?: never;
|
|
4603
5323
|
url: '/public/v1/automation-flows/{id}';
|
|
4604
5324
|
};
|
|
4605
5325
|
type DeleteAutomationFlowErrors = {
|
|
@@ -4612,13 +5332,13 @@ type DeleteAutomationFlowErrors = {
|
|
|
4612
5332
|
*/
|
|
4613
5333
|
401: ApiErrorDto;
|
|
4614
5334
|
/**
|
|
4615
|
-
*
|
|
5335
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4616
5336
|
*/
|
|
4617
|
-
|
|
5337
|
+
403: ApiErrorDto;
|
|
4618
5338
|
/**
|
|
4619
|
-
*
|
|
5339
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4620
5340
|
*/
|
|
4621
|
-
|
|
5341
|
+
404: ApiErrorDto;
|
|
4622
5342
|
};
|
|
4623
5343
|
type DeleteAutomationFlowError = DeleteAutomationFlowErrors[keyof DeleteAutomationFlowErrors];
|
|
4624
5344
|
type DeleteAutomationFlowResponses = {
|
|
@@ -4642,6 +5362,10 @@ type GetAutomationFlowErrors = {
|
|
|
4642
5362
|
* Missing or invalid API key (`Authorization` header).
|
|
4643
5363
|
*/
|
|
4644
5364
|
401: ApiErrorDto;
|
|
5365
|
+
/**
|
|
5366
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5367
|
+
*/
|
|
5368
|
+
403: ApiErrorDto;
|
|
4645
5369
|
/**
|
|
4646
5370
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4647
5371
|
*/
|
|
@@ -4669,6 +5393,10 @@ type UpdateAutomationFlowErrors = {
|
|
|
4669
5393
|
* Missing or invalid API key (`Authorization` header).
|
|
4670
5394
|
*/
|
|
4671
5395
|
401: ApiErrorDto;
|
|
5396
|
+
/**
|
|
5397
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5398
|
+
*/
|
|
5399
|
+
403: ApiErrorDto;
|
|
4672
5400
|
/**
|
|
4673
5401
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4674
5402
|
*/
|
|
@@ -4696,6 +5424,10 @@ type SetAutomationFlowStatusErrors = {
|
|
|
4696
5424
|
* Missing or invalid API key (`Authorization` header).
|
|
4697
5425
|
*/
|
|
4698
5426
|
401: ApiErrorDto;
|
|
5427
|
+
/**
|
|
5428
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5429
|
+
*/
|
|
5430
|
+
403: ApiErrorDto;
|
|
4699
5431
|
/**
|
|
4700
5432
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4701
5433
|
*/
|
|
@@ -4723,6 +5455,10 @@ type ListAutomationFlowPosesErrors = {
|
|
|
4723
5455
|
* Missing or invalid API key (`Authorization` header).
|
|
4724
5456
|
*/
|
|
4725
5457
|
401: ApiErrorDto;
|
|
5458
|
+
/**
|
|
5459
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5460
|
+
*/
|
|
5461
|
+
403: ApiErrorDto;
|
|
4726
5462
|
/**
|
|
4727
5463
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4728
5464
|
*/
|
|
@@ -4738,12 +5474,7 @@ type PoseAutomationFlowData = {
|
|
|
4738
5474
|
path: {
|
|
4739
5475
|
id: string;
|
|
4740
5476
|
};
|
|
4741
|
-
query?:
|
|
4742
|
-
/**
|
|
4743
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4744
|
-
*/
|
|
4745
|
-
confirmationToken?: string;
|
|
4746
|
-
};
|
|
5477
|
+
query?: never;
|
|
4747
5478
|
url: '/public/v1/automation-flows/{id}/poses';
|
|
4748
5479
|
};
|
|
4749
5480
|
type PoseAutomationFlowErrors = {
|
|
@@ -4756,13 +5487,13 @@ type PoseAutomationFlowErrors = {
|
|
|
4756
5487
|
*/
|
|
4757
5488
|
401: ApiErrorDto;
|
|
4758
5489
|
/**
|
|
4759
|
-
*
|
|
5490
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4760
5491
|
*/
|
|
4761
|
-
|
|
5492
|
+
403: ApiErrorDto;
|
|
4762
5493
|
/**
|
|
4763
|
-
*
|
|
5494
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4764
5495
|
*/
|
|
4765
|
-
|
|
5496
|
+
404: ApiErrorDto;
|
|
4766
5497
|
};
|
|
4767
5498
|
type PoseAutomationFlowError = PoseAutomationFlowErrors[keyof PoseAutomationFlowErrors];
|
|
4768
5499
|
type PoseAutomationFlowResponses = {
|
|
@@ -4797,6 +5528,10 @@ type ListChannelAutomationPosesErrors = {
|
|
|
4797
5528
|
* Missing or invalid API key (`Authorization` header).
|
|
4798
5529
|
*/
|
|
4799
5530
|
401: ApiErrorDto;
|
|
5531
|
+
/**
|
|
5532
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5533
|
+
*/
|
|
5534
|
+
403: ApiErrorDto;
|
|
4800
5535
|
/**
|
|
4801
5536
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4802
5537
|
*/
|
|
@@ -4812,12 +5547,7 @@ type DeleteAutomationPoseData = {
|
|
|
4812
5547
|
path: {
|
|
4813
5548
|
id: string;
|
|
4814
5549
|
};
|
|
4815
|
-
query?:
|
|
4816
|
-
/**
|
|
4817
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4818
|
-
*/
|
|
4819
|
-
confirmationToken?: string;
|
|
4820
|
-
};
|
|
5550
|
+
query?: never;
|
|
4821
5551
|
url: '/public/v1/automation-flow-poses/{id}';
|
|
4822
5552
|
};
|
|
4823
5553
|
type DeleteAutomationPoseErrors = {
|
|
@@ -4830,13 +5560,13 @@ type DeleteAutomationPoseErrors = {
|
|
|
4830
5560
|
*/
|
|
4831
5561
|
401: ApiErrorDto;
|
|
4832
5562
|
/**
|
|
4833
|
-
*
|
|
5563
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4834
5564
|
*/
|
|
4835
|
-
|
|
5565
|
+
403: ApiErrorDto;
|
|
4836
5566
|
/**
|
|
4837
|
-
*
|
|
5567
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4838
5568
|
*/
|
|
4839
|
-
|
|
5569
|
+
404: ApiErrorDto;
|
|
4840
5570
|
};
|
|
4841
5571
|
type DeleteAutomationPoseError = DeleteAutomationPoseErrors[keyof DeleteAutomationPoseErrors];
|
|
4842
5572
|
type DeleteAutomationPoseResponses = {
|
|
@@ -4860,6 +5590,10 @@ type GetAutomationPoseErrors = {
|
|
|
4860
5590
|
* Missing or invalid API key (`Authorization` header).
|
|
4861
5591
|
*/
|
|
4862
5592
|
401: ApiErrorDto;
|
|
5593
|
+
/**
|
|
5594
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5595
|
+
*/
|
|
5596
|
+
403: ApiErrorDto;
|
|
4863
5597
|
/**
|
|
4864
5598
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4865
5599
|
*/
|
|
@@ -4875,12 +5609,7 @@ type UpdateAutomationPoseData = {
|
|
|
4875
5609
|
path: {
|
|
4876
5610
|
id: string;
|
|
4877
5611
|
};
|
|
4878
|
-
query?:
|
|
4879
|
-
/**
|
|
4880
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4881
|
-
*/
|
|
4882
|
-
confirmationToken?: string;
|
|
4883
|
-
};
|
|
5612
|
+
query?: never;
|
|
4884
5613
|
url: '/public/v1/automation-flow-poses/{id}';
|
|
4885
5614
|
};
|
|
4886
5615
|
type UpdateAutomationPoseErrors = {
|
|
@@ -4893,13 +5622,13 @@ type UpdateAutomationPoseErrors = {
|
|
|
4893
5622
|
*/
|
|
4894
5623
|
401: ApiErrorDto;
|
|
4895
5624
|
/**
|
|
4896
|
-
*
|
|
5625
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4897
5626
|
*/
|
|
4898
|
-
|
|
5627
|
+
403: ApiErrorDto;
|
|
4899
5628
|
/**
|
|
4900
|
-
*
|
|
5629
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4901
5630
|
*/
|
|
4902
|
-
|
|
5631
|
+
404: ApiErrorDto;
|
|
4903
5632
|
};
|
|
4904
5633
|
type UpdateAutomationPoseError = UpdateAutomationPoseErrors[keyof UpdateAutomationPoseErrors];
|
|
4905
5634
|
type UpdateAutomationPoseResponses = {
|
|
@@ -4925,6 +5654,10 @@ type ListAutomationPoseRunsErrors = {
|
|
|
4925
5654
|
* Missing or invalid API key (`Authorization` header).
|
|
4926
5655
|
*/
|
|
4927
5656
|
401: ApiErrorDto;
|
|
5657
|
+
/**
|
|
5658
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5659
|
+
*/
|
|
5660
|
+
403: ApiErrorDto;
|
|
4928
5661
|
/**
|
|
4929
5662
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4930
5663
|
*/
|
|
@@ -4952,6 +5685,10 @@ type PollAutomationPoseErrors = {
|
|
|
4952
5685
|
* Missing or invalid API key (`Authorization` header).
|
|
4953
5686
|
*/
|
|
4954
5687
|
401: ApiErrorDto;
|
|
5688
|
+
/**
|
|
5689
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5690
|
+
*/
|
|
5691
|
+
403: ApiErrorDto;
|
|
4955
5692
|
/**
|
|
4956
5693
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4957
5694
|
*/
|
|
@@ -4967,12 +5704,7 @@ type ReplayAutomationPoseData = {
|
|
|
4967
5704
|
path: {
|
|
4968
5705
|
id: string;
|
|
4969
5706
|
};
|
|
4970
|
-
query?:
|
|
4971
|
-
/**
|
|
4972
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
4973
|
-
*/
|
|
4974
|
-
confirmationToken?: string;
|
|
4975
|
-
};
|
|
5707
|
+
query?: never;
|
|
4976
5708
|
url: '/public/v1/automation-flow-poses/{id}/replay';
|
|
4977
5709
|
};
|
|
4978
5710
|
type ReplayAutomationPoseErrors = {
|
|
@@ -4985,13 +5717,13 @@ type ReplayAutomationPoseErrors = {
|
|
|
4985
5717
|
*/
|
|
4986
5718
|
401: ApiErrorDto;
|
|
4987
5719
|
/**
|
|
4988
|
-
*
|
|
5720
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
4989
5721
|
*/
|
|
4990
|
-
|
|
5722
|
+
403: ApiErrorDto;
|
|
4991
5723
|
/**
|
|
4992
|
-
*
|
|
5724
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
4993
5725
|
*/
|
|
4994
|
-
|
|
5726
|
+
404: ApiErrorDto;
|
|
4995
5727
|
};
|
|
4996
5728
|
type ReplayAutomationPoseError = ReplayAutomationPoseErrors[keyof ReplayAutomationPoseErrors];
|
|
4997
5729
|
type ReplayAutomationPoseResponses = {
|
|
@@ -5015,6 +5747,10 @@ type PreviewAutomationPoseCatchUpErrors = {
|
|
|
5015
5747
|
* Missing or invalid API key (`Authorization` header).
|
|
5016
5748
|
*/
|
|
5017
5749
|
401: ApiErrorDto;
|
|
5750
|
+
/**
|
|
5751
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5752
|
+
*/
|
|
5753
|
+
403: ApiErrorDto;
|
|
5018
5754
|
/**
|
|
5019
5755
|
* The template, pose or channel named in the path does not belong to your organisation.
|
|
5020
5756
|
*/
|
|
@@ -5030,12 +5766,7 @@ type CatchUpAutomationPoseData = {
|
|
|
5030
5766
|
path: {
|
|
5031
5767
|
id: string;
|
|
5032
5768
|
};
|
|
5033
|
-
query?:
|
|
5034
|
-
/**
|
|
5035
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
5036
|
-
*/
|
|
5037
|
-
confirmationToken?: string;
|
|
5038
|
-
};
|
|
5769
|
+
query?: never;
|
|
5039
5770
|
url: '/public/v1/automation-flow-poses/{id}/catch-up';
|
|
5040
5771
|
};
|
|
5041
5772
|
type CatchUpAutomationPoseErrors = {
|
|
@@ -5048,13 +5779,13 @@ type CatchUpAutomationPoseErrors = {
|
|
|
5048
5779
|
*/
|
|
5049
5780
|
401: ApiErrorDto;
|
|
5050
5781
|
/**
|
|
5051
|
-
*
|
|
5782
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5052
5783
|
*/
|
|
5053
|
-
|
|
5784
|
+
403: ApiErrorDto;
|
|
5054
5785
|
/**
|
|
5055
|
-
*
|
|
5786
|
+
* The template, pose or channel named in the path does not belong to your organisation.
|
|
5056
5787
|
*/
|
|
5057
|
-
|
|
5788
|
+
404: ApiErrorDto;
|
|
5058
5789
|
};
|
|
5059
5790
|
type CatchUpAutomationPoseError = CatchUpAutomationPoseErrors[keyof CatchUpAutomationPoseErrors];
|
|
5060
5791
|
type CatchUpAutomationPoseResponses = {
|
|
@@ -5076,6 +5807,10 @@ type ListWebhookEventsErrors = {
|
|
|
5076
5807
|
* Missing or invalid API key (`Authorization` header).
|
|
5077
5808
|
*/
|
|
5078
5809
|
401: ApiErrorDto;
|
|
5810
|
+
/**
|
|
5811
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5812
|
+
*/
|
|
5813
|
+
403: ApiErrorDto;
|
|
5079
5814
|
/**
|
|
5080
5815
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
5081
5816
|
*/
|
|
@@ -5101,6 +5836,10 @@ type ListWebhooksErrors = {
|
|
|
5101
5836
|
* Missing or invalid API key (`Authorization` header).
|
|
5102
5837
|
*/
|
|
5103
5838
|
401: ApiErrorDto;
|
|
5839
|
+
/**
|
|
5840
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5841
|
+
*/
|
|
5842
|
+
403: ApiErrorDto;
|
|
5104
5843
|
/**
|
|
5105
5844
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
5106
5845
|
*/
|
|
@@ -5114,12 +5853,7 @@ type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
|
|
|
5114
5853
|
type CreateWebhookData = {
|
|
5115
5854
|
body: CreatePublicWebhookDto;
|
|
5116
5855
|
path?: never;
|
|
5117
|
-
query?:
|
|
5118
|
-
/**
|
|
5119
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
5120
|
-
*/
|
|
5121
|
-
confirmationToken?: string;
|
|
5122
|
-
};
|
|
5856
|
+
query?: never;
|
|
5123
5857
|
url: '/public/v1/webhooks';
|
|
5124
5858
|
};
|
|
5125
5859
|
type CreateWebhookErrors = {
|
|
@@ -5132,13 +5866,13 @@ type CreateWebhookErrors = {
|
|
|
5132
5866
|
*/
|
|
5133
5867
|
401: ApiErrorDto;
|
|
5134
5868
|
/**
|
|
5135
|
-
*
|
|
5869
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5136
5870
|
*/
|
|
5137
|
-
|
|
5871
|
+
403: ApiErrorDto;
|
|
5138
5872
|
/**
|
|
5139
|
-
*
|
|
5873
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
5140
5874
|
*/
|
|
5141
|
-
|
|
5875
|
+
404: ApiErrorDto;
|
|
5142
5876
|
};
|
|
5143
5877
|
type CreateWebhookError = CreateWebhookErrors[keyof CreateWebhookErrors];
|
|
5144
5878
|
type CreateWebhookResponses = {
|
|
@@ -5150,12 +5884,7 @@ type DeleteWebhookData = {
|
|
|
5150
5884
|
path: {
|
|
5151
5885
|
id: string;
|
|
5152
5886
|
};
|
|
5153
|
-
query?:
|
|
5154
|
-
/**
|
|
5155
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
5156
|
-
*/
|
|
5157
|
-
confirmationToken?: string;
|
|
5158
|
-
};
|
|
5887
|
+
query?: never;
|
|
5159
5888
|
url: '/public/v1/webhooks/{id}';
|
|
5160
5889
|
};
|
|
5161
5890
|
type DeleteWebhookErrors = {
|
|
@@ -5168,13 +5897,13 @@ type DeleteWebhookErrors = {
|
|
|
5168
5897
|
*/
|
|
5169
5898
|
401: ApiErrorDto;
|
|
5170
5899
|
/**
|
|
5171
|
-
*
|
|
5900
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5172
5901
|
*/
|
|
5173
|
-
|
|
5902
|
+
403: ApiErrorDto;
|
|
5174
5903
|
/**
|
|
5175
|
-
*
|
|
5904
|
+
* The channel, post or record named in the path does not belong to your organisation.
|
|
5176
5905
|
*/
|
|
5177
|
-
|
|
5906
|
+
404: ApiErrorDto;
|
|
5178
5907
|
};
|
|
5179
5908
|
type DeleteWebhookError = DeleteWebhookErrors[keyof DeleteWebhookErrors];
|
|
5180
5909
|
type DeleteWebhookResponses = {
|
|
@@ -5198,6 +5927,10 @@ type GetWebhookErrors = {
|
|
|
5198
5927
|
* Missing or invalid API key (`Authorization` header).
|
|
5199
5928
|
*/
|
|
5200
5929
|
401: ApiErrorDto;
|
|
5930
|
+
/**
|
|
5931
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5932
|
+
*/
|
|
5933
|
+
403: ApiErrorDto;
|
|
5201
5934
|
/**
|
|
5202
5935
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
5203
5936
|
*/
|
|
@@ -5225,6 +5958,10 @@ type TestWebhookErrors = {
|
|
|
5225
5958
|
* Missing or invalid API key (`Authorization` header).
|
|
5226
5959
|
*/
|
|
5227
5960
|
401: ApiErrorDto;
|
|
5961
|
+
/**
|
|
5962
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5963
|
+
*/
|
|
5964
|
+
403: ApiErrorDto;
|
|
5228
5965
|
/**
|
|
5229
5966
|
* The channel, post or record named in the path does not belong to your organisation.
|
|
5230
5967
|
*/
|
|
@@ -5271,6 +6008,10 @@ type ListContentsErrors = {
|
|
|
5271
6008
|
* Missing or invalid API key (`Authorization` header).
|
|
5272
6009
|
*/
|
|
5273
6010
|
401: ApiErrorDto;
|
|
6011
|
+
/**
|
|
6012
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6013
|
+
*/
|
|
6014
|
+
403: ApiErrorDto;
|
|
5274
6015
|
/**
|
|
5275
6016
|
* The card named in the path does not belong to your organisation.
|
|
5276
6017
|
*/
|
|
@@ -5296,6 +6037,10 @@ type CreateContentErrors = {
|
|
|
5296
6037
|
* Missing or invalid API key (`Authorization` header).
|
|
5297
6038
|
*/
|
|
5298
6039
|
401: ApiErrorDto;
|
|
6040
|
+
/**
|
|
6041
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6042
|
+
*/
|
|
6043
|
+
403: ApiErrorDto;
|
|
5299
6044
|
/**
|
|
5300
6045
|
* The card named in the path does not belong to your organisation.
|
|
5301
6046
|
*/
|
|
@@ -5325,6 +6070,10 @@ type GetContentsPerformanceErrors = {
|
|
|
5325
6070
|
* Missing or invalid API key (`Authorization` header).
|
|
5326
6071
|
*/
|
|
5327
6072
|
401: ApiErrorDto;
|
|
6073
|
+
/**
|
|
6074
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6075
|
+
*/
|
|
6076
|
+
403: ApiErrorDto;
|
|
5328
6077
|
/**
|
|
5329
6078
|
* The card named in the path does not belong to your organisation.
|
|
5330
6079
|
*/
|
|
@@ -5342,12 +6091,7 @@ type DeleteContentData = {
|
|
|
5342
6091
|
path: {
|
|
5343
6092
|
id: string;
|
|
5344
6093
|
};
|
|
5345
|
-
query?:
|
|
5346
|
-
/**
|
|
5347
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
5348
|
-
*/
|
|
5349
|
-
confirmationToken?: string;
|
|
5350
|
-
};
|
|
6094
|
+
query?: never;
|
|
5351
6095
|
url: '/public/v1/contents/{id}';
|
|
5352
6096
|
};
|
|
5353
6097
|
type DeleteContentErrors = {
|
|
@@ -5360,13 +6104,13 @@ type DeleteContentErrors = {
|
|
|
5360
6104
|
*/
|
|
5361
6105
|
401: ApiErrorDto;
|
|
5362
6106
|
/**
|
|
5363
|
-
*
|
|
6107
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5364
6108
|
*/
|
|
5365
|
-
|
|
6109
|
+
403: ApiErrorDto;
|
|
5366
6110
|
/**
|
|
5367
|
-
*
|
|
6111
|
+
* The card named in the path does not belong to your organisation.
|
|
5368
6112
|
*/
|
|
5369
|
-
|
|
6113
|
+
404: ApiErrorDto;
|
|
5370
6114
|
};
|
|
5371
6115
|
type DeleteContentError = DeleteContentErrors[keyof DeleteContentErrors];
|
|
5372
6116
|
type DeleteContentResponses = {
|
|
@@ -5390,6 +6134,10 @@ type GetContentErrors = {
|
|
|
5390
6134
|
* Missing or invalid API key (`Authorization` header).
|
|
5391
6135
|
*/
|
|
5392
6136
|
401: ApiErrorDto;
|
|
6137
|
+
/**
|
|
6138
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6139
|
+
*/
|
|
6140
|
+
403: ApiErrorDto;
|
|
5393
6141
|
/**
|
|
5394
6142
|
* The card named in the path does not belong to your organisation.
|
|
5395
6143
|
*/
|
|
@@ -5417,6 +6165,10 @@ type UpdateContentErrors = {
|
|
|
5417
6165
|
* Missing or invalid API key (`Authorization` header).
|
|
5418
6166
|
*/
|
|
5419
6167
|
401: ApiErrorDto;
|
|
6168
|
+
/**
|
|
6169
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6170
|
+
*/
|
|
6171
|
+
403: ApiErrorDto;
|
|
5420
6172
|
/**
|
|
5421
6173
|
* The card named in the path does not belong to your organisation.
|
|
5422
6174
|
*/
|
|
@@ -5442,6 +6194,10 @@ type UpsertContentErrors = {
|
|
|
5442
6194
|
* Missing or invalid API key (`Authorization` header).
|
|
5443
6195
|
*/
|
|
5444
6196
|
401: ApiErrorDto;
|
|
6197
|
+
/**
|
|
6198
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6199
|
+
*/
|
|
6200
|
+
403: ApiErrorDto;
|
|
5445
6201
|
/**
|
|
5446
6202
|
* The card named in the path does not belong to your organisation.
|
|
5447
6203
|
*/
|
|
@@ -5471,6 +6227,10 @@ type CreateContentFromLinkErrors = {
|
|
|
5471
6227
|
* Missing or invalid API key (`Authorization` header).
|
|
5472
6228
|
*/
|
|
5473
6229
|
401: ApiErrorDto;
|
|
6230
|
+
/**
|
|
6231
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6232
|
+
*/
|
|
6233
|
+
403: ApiErrorDto;
|
|
5474
6234
|
/**
|
|
5475
6235
|
* A key limited to some workspaces sent a video that is already a card of your organisation outside its workspaces (a card is never copied).
|
|
5476
6236
|
*/
|
|
@@ -5513,6 +6273,10 @@ type MoveContentErrors = {
|
|
|
5513
6273
|
* Missing or invalid API key (`Authorization` header).
|
|
5514
6274
|
*/
|
|
5515
6275
|
401: ApiErrorDto;
|
|
6276
|
+
/**
|
|
6277
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6278
|
+
*/
|
|
6279
|
+
403: ApiErrorDto;
|
|
5516
6280
|
/**
|
|
5517
6281
|
* The card named in the path does not belong to your organisation.
|
|
5518
6282
|
*/
|
|
@@ -5540,6 +6304,10 @@ type LinkContentPostErrors = {
|
|
|
5540
6304
|
* Missing or invalid API key (`Authorization` header).
|
|
5541
6305
|
*/
|
|
5542
6306
|
401: ApiErrorDto;
|
|
6307
|
+
/**
|
|
6308
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6309
|
+
*/
|
|
6310
|
+
403: ApiErrorDto;
|
|
5543
6311
|
/**
|
|
5544
6312
|
* The card named in the path does not belong to your organisation.
|
|
5545
6313
|
*/
|
|
@@ -5567,6 +6335,10 @@ type SetContentWorkspacesErrors = {
|
|
|
5567
6335
|
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
5568
6336
|
*/
|
|
5569
6337
|
401: ApiErrorDto;
|
|
6338
|
+
/**
|
|
6339
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6340
|
+
*/
|
|
6341
|
+
403: ApiErrorDto;
|
|
5570
6342
|
/**
|
|
5571
6343
|
* No card of your organisation has this id.
|
|
5572
6344
|
*/
|
|
@@ -5614,6 +6386,10 @@ type SearchHooksErrors = {
|
|
|
5614
6386
|
* Missing or invalid API key (`Authorization` header).
|
|
5615
6387
|
*/
|
|
5616
6388
|
401: ApiErrorDto;
|
|
6389
|
+
/**
|
|
6390
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6391
|
+
*/
|
|
6392
|
+
403: ApiErrorDto;
|
|
5617
6393
|
/**
|
|
5618
6394
|
* The daily hooks quota of the organization is reached: `msg` gives the quota, the offer, the renewal at 00:00 UTC and the offer above. `Retry-After` = seconds until then.
|
|
5619
6395
|
*/
|
|
@@ -5657,6 +6433,10 @@ type GetHookFormsErrors = {
|
|
|
5657
6433
|
* Missing or invalid API key (`Authorization` header).
|
|
5658
6434
|
*/
|
|
5659
6435
|
401: ApiErrorDto;
|
|
6436
|
+
/**
|
|
6437
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6438
|
+
*/
|
|
6439
|
+
403: ApiErrorDto;
|
|
5660
6440
|
/**
|
|
5661
6441
|
* The daily hooks quota of the organization is reached: `msg` gives the quota, the offer, the renewal at 00:00 UTC and the offer above. `Retry-After` = seconds until then.
|
|
5662
6442
|
*/
|
|
@@ -5684,6 +6464,10 @@ type ListHookFamiliesErrors = {
|
|
|
5684
6464
|
* Missing or invalid API key (`Authorization` header).
|
|
5685
6465
|
*/
|
|
5686
6466
|
401: ApiErrorDto;
|
|
6467
|
+
/**
|
|
6468
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6469
|
+
*/
|
|
6470
|
+
403: ApiErrorDto;
|
|
5687
6471
|
};
|
|
5688
6472
|
type ListHookFamiliesError = ListHookFamiliesErrors[keyof ListHookFamiliesErrors];
|
|
5689
6473
|
type ListHookFamiliesResponses = {
|
|
@@ -5723,6 +6507,10 @@ type ListMusicErrors = {
|
|
|
5723
6507
|
* Missing or invalid API key (`Authorization` header).
|
|
5724
6508
|
*/
|
|
5725
6509
|
401: ApiErrorDto;
|
|
6510
|
+
/**
|
|
6511
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6512
|
+
*/
|
|
6513
|
+
403: ApiErrorDto;
|
|
5726
6514
|
};
|
|
5727
6515
|
type ListMusicError = ListMusicErrors[keyof ListMusicErrors];
|
|
5728
6516
|
type ListMusicResponses = {
|
|
@@ -5744,6 +6532,10 @@ type ListMusicPillarsErrors = {
|
|
|
5744
6532
|
* Missing or invalid API key (`Authorization` header).
|
|
5745
6533
|
*/
|
|
5746
6534
|
401: ApiErrorDto;
|
|
6535
|
+
/**
|
|
6536
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6537
|
+
*/
|
|
6538
|
+
403: ApiErrorDto;
|
|
5747
6539
|
};
|
|
5748
6540
|
type ListMusicPillarsError = ListMusicPillarsErrors[keyof ListMusicPillarsErrors];
|
|
5749
6541
|
type ListMusicPillarsResponses = {
|
|
@@ -5767,6 +6559,10 @@ type GetMusicTrackErrors = {
|
|
|
5767
6559
|
* Missing or invalid API key (`Authorization` header).
|
|
5768
6560
|
*/
|
|
5769
6561
|
401: ApiErrorDto;
|
|
6562
|
+
/**
|
|
6563
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6564
|
+
*/
|
|
6565
|
+
403: ApiErrorDto;
|
|
5770
6566
|
404: ApiErrorDto;
|
|
5771
6567
|
};
|
|
5772
6568
|
type GetMusicTrackError = GetMusicTrackErrors[keyof GetMusicTrackErrors];
|
|
@@ -5790,7 +6586,7 @@ type ImportMusicErrors = {
|
|
|
5790
6586
|
*/
|
|
5791
6587
|
401: ApiErrorDto;
|
|
5792
6588
|
/**
|
|
5793
|
-
* The catalogue is global: only a super admin writes it.
|
|
6589
|
+
* The catalogue is global: only a super admin writes it. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5794
6590
|
*/
|
|
5795
6591
|
403: ApiErrorDto;
|
|
5796
6592
|
};
|
|
@@ -5818,6 +6614,9 @@ type UploadMusicFileErrors = {
|
|
|
5818
6614
|
* Missing or invalid API key (`Authorization` header).
|
|
5819
6615
|
*/
|
|
5820
6616
|
401: ApiErrorDto;
|
|
6617
|
+
/**
|
|
6618
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6619
|
+
*/
|
|
5821
6620
|
403: ApiErrorDto;
|
|
5822
6621
|
/**
|
|
5823
6622
|
* Import the track before its file.
|
|
@@ -5834,12 +6633,7 @@ type DeleteWorkspaceData = {
|
|
|
5834
6633
|
path: {
|
|
5835
6634
|
id: string;
|
|
5836
6635
|
};
|
|
5837
|
-
query?:
|
|
5838
|
-
/**
|
|
5839
|
-
* The token of a `428` answer, once the user said yes: the same request (same method, path, query and body) sent again with it runs. Single use, 15 minutes. Needed only when this action waits for a yes in Settings › Developers (the same columns as the MCP).
|
|
5840
|
-
*/
|
|
5841
|
-
confirmationToken?: string;
|
|
5842
|
-
};
|
|
6636
|
+
query?: never;
|
|
5843
6637
|
url: '/public/v1/workspaces/{id}';
|
|
5844
6638
|
};
|
|
5845
6639
|
type DeleteWorkspaceErrors = {
|
|
@@ -5852,13 +6646,13 @@ type DeleteWorkspaceErrors = {
|
|
|
5852
6646
|
*/
|
|
5853
6647
|
401: ApiErrorDto;
|
|
5854
6648
|
/**
|
|
5855
|
-
*
|
|
6649
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
5856
6650
|
*/
|
|
5857
|
-
|
|
6651
|
+
403: ApiErrorDto;
|
|
5858
6652
|
/**
|
|
5859
|
-
*
|
|
6653
|
+
* No workspace of your organisation has this id.
|
|
5860
6654
|
*/
|
|
5861
|
-
|
|
6655
|
+
404: WorkspaceErrorDto;
|
|
5862
6656
|
};
|
|
5863
6657
|
type DeleteWorkspaceError = DeleteWorkspaceErrors[keyof DeleteWorkspaceErrors];
|
|
5864
6658
|
type DeleteWorkspaceResponses = {
|
|
@@ -5882,6 +6676,10 @@ type UpdateWorkspaceErrors = {
|
|
|
5882
6676
|
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
5883
6677
|
*/
|
|
5884
6678
|
401: ApiErrorDto;
|
|
6679
|
+
/**
|
|
6680
|
+
* Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6681
|
+
*/
|
|
6682
|
+
403: ApiErrorDto;
|
|
5885
6683
|
/**
|
|
5886
6684
|
* No workspace of your organisation has this id.
|
|
5887
6685
|
*/
|
|
@@ -5896,6 +6694,149 @@ type UpdateWorkspaceResponses = {
|
|
|
5896
6694
|
200: WorkspaceDto;
|
|
5897
6695
|
};
|
|
5898
6696
|
type UpdateWorkspaceResponse = UpdateWorkspaceResponses[keyof UpdateWorkspaceResponses];
|
|
6697
|
+
type ListApiKeysData = {
|
|
6698
|
+
body?: never;
|
|
6699
|
+
path?: never;
|
|
6700
|
+
query?: never;
|
|
6701
|
+
url: '/public/v1/api-keys';
|
|
6702
|
+
};
|
|
6703
|
+
type ListApiKeysErrors = {
|
|
6704
|
+
/**
|
|
6705
|
+
* The request was rejected: the body is not JSON, or a field is invalid (`message` says which).
|
|
6706
|
+
*/
|
|
6707
|
+
400: ApiKeyErrorDto;
|
|
6708
|
+
/**
|
|
6709
|
+
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
6710
|
+
*/
|
|
6711
|
+
401: ApiErrorDto;
|
|
6712
|
+
/**
|
|
6713
|
+
* A key limited to some workspaces (`nws_…`) or an OAuth token (`pos_…`): only the organization's API key manages API keys. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6714
|
+
*/
|
|
6715
|
+
403: ApiErrorDto;
|
|
6716
|
+
};
|
|
6717
|
+
type ListApiKeysError = ListApiKeysErrors[keyof ListApiKeysErrors];
|
|
6718
|
+
type ListApiKeysResponses = {
|
|
6719
|
+
200: Array<ApiKeyDto>;
|
|
6720
|
+
};
|
|
6721
|
+
type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
|
|
6722
|
+
type CreateApiKeyData = {
|
|
6723
|
+
body: CreateApiKeyDto;
|
|
6724
|
+
path?: never;
|
|
6725
|
+
query?: never;
|
|
6726
|
+
url: '/public/v1/api-keys';
|
|
6727
|
+
};
|
|
6728
|
+
type CreateApiKeyErrors = {
|
|
6729
|
+
/**
|
|
6730
|
+
* The body is invalid: `name` (1 to 100 characters) or `workspaceIds` (one or more workspaces of your organization); `message` says which.
|
|
6731
|
+
*/
|
|
6732
|
+
400: ApiKeyErrorDto;
|
|
6733
|
+
/**
|
|
6734
|
+
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
6735
|
+
*/
|
|
6736
|
+
401: ApiErrorDto;
|
|
6737
|
+
/**
|
|
6738
|
+
* A key limited to some workspaces (`nws_…`) or an OAuth token (`pos_…`): only the organization's API key manages API keys. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6739
|
+
*/
|
|
6740
|
+
403: ApiErrorDto;
|
|
6741
|
+
};
|
|
6742
|
+
type CreateApiKeyError = CreateApiKeyErrors[keyof CreateApiKeyErrors];
|
|
6743
|
+
type CreateApiKeyResponses = {
|
|
6744
|
+
201: ApiKeyCreatedDto;
|
|
6745
|
+
};
|
|
6746
|
+
type CreateApiKeyResponse = CreateApiKeyResponses[keyof CreateApiKeyResponses];
|
|
6747
|
+
type RevokeApiKeyData = {
|
|
6748
|
+
body?: never;
|
|
6749
|
+
path: {
|
|
6750
|
+
id: string;
|
|
6751
|
+
};
|
|
6752
|
+
query?: never;
|
|
6753
|
+
url: '/public/v1/api-keys/{id}';
|
|
6754
|
+
};
|
|
6755
|
+
type RevokeApiKeyErrors = {
|
|
6756
|
+
/**
|
|
6757
|
+
* The request was rejected: the body is not JSON, or a field is invalid (`message` says which).
|
|
6758
|
+
*/
|
|
6759
|
+
400: ApiKeyErrorDto;
|
|
6760
|
+
/**
|
|
6761
|
+
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
6762
|
+
*/
|
|
6763
|
+
401: ApiErrorDto;
|
|
6764
|
+
/**
|
|
6765
|
+
* A key limited to some workspaces (`nws_…`) or an OAuth token (`pos_…`): only the organization's API key manages API keys. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6766
|
+
*/
|
|
6767
|
+
403: ApiErrorDto;
|
|
6768
|
+
/**
|
|
6769
|
+
* No live key of your organization has this id (`API key not found`): unknown, revoked, or another organization's.
|
|
6770
|
+
*/
|
|
6771
|
+
404: ApiKeyErrorDto;
|
|
6772
|
+
};
|
|
6773
|
+
type RevokeApiKeyError = RevokeApiKeyErrors[keyof RevokeApiKeyErrors];
|
|
6774
|
+
type RevokeApiKeyResponses = {
|
|
6775
|
+
200: SuccessDto;
|
|
6776
|
+
};
|
|
6777
|
+
type RevokeApiKeyResponse = RevokeApiKeyResponses[keyof RevokeApiKeyResponses];
|
|
6778
|
+
type UpdateApiKeyData = {
|
|
6779
|
+
body: UpdateApiKeyDto;
|
|
6780
|
+
path: {
|
|
6781
|
+
id: string;
|
|
6782
|
+
};
|
|
6783
|
+
query?: never;
|
|
6784
|
+
url: '/public/v1/api-keys/{id}';
|
|
6785
|
+
};
|
|
6786
|
+
type UpdateApiKeyErrors = {
|
|
6787
|
+
/**
|
|
6788
|
+
* Nothing to change, or a field is invalid: `name` (1 to 100 characters), `workspaceIds` (one or more workspaces of your organization); `message` says which.
|
|
6789
|
+
*/
|
|
6790
|
+
400: ApiKeyErrorDto;
|
|
6791
|
+
/**
|
|
6792
|
+
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
6793
|
+
*/
|
|
6794
|
+
401: ApiErrorDto;
|
|
6795
|
+
/**
|
|
6796
|
+
* A key limited to some workspaces (`nws_…`) or an OAuth token (`pos_…`): only the organization's API key manages API keys. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6797
|
+
*/
|
|
6798
|
+
403: ApiErrorDto;
|
|
6799
|
+
/**
|
|
6800
|
+
* No live key of your organization has this id (`API key not found`): unknown, revoked, or another organization's.
|
|
6801
|
+
*/
|
|
6802
|
+
404: ApiKeyErrorDto;
|
|
6803
|
+
};
|
|
6804
|
+
type UpdateApiKeyError = UpdateApiKeyErrors[keyof UpdateApiKeyErrors];
|
|
6805
|
+
type UpdateApiKeyResponses = {
|
|
6806
|
+
200: ApiKeyDto;
|
|
6807
|
+
};
|
|
6808
|
+
type UpdateApiKeyResponse = UpdateApiKeyResponses[keyof UpdateApiKeyResponses];
|
|
6809
|
+
type RotateApiKeyData = {
|
|
6810
|
+
body?: never;
|
|
6811
|
+
path: {
|
|
6812
|
+
id: string;
|
|
6813
|
+
};
|
|
6814
|
+
query?: never;
|
|
6815
|
+
url: '/public/v1/api-keys/{id}/rotate';
|
|
6816
|
+
};
|
|
6817
|
+
type RotateApiKeyErrors = {
|
|
6818
|
+
/**
|
|
6819
|
+
* The request was rejected: the body is not JSON, or a field is invalid (`message` says which).
|
|
6820
|
+
*/
|
|
6821
|
+
400: ApiKeyErrorDto;
|
|
6822
|
+
/**
|
|
6823
|
+
* Missing or invalid API key (`Authorization` header), or no running subscription.
|
|
6824
|
+
*/
|
|
6825
|
+
401: ApiErrorDto;
|
|
6826
|
+
/**
|
|
6827
|
+
* A key limited to some workspaces (`nws_…`) or an OAuth token (`pos_…`): only the organization's API key manages API keys. Or: Your role does not allow this (`code` role_refused): a connector (`pos_…` token) acts with the role of the member who authorized it; `msg` names the role and what it may not do, `action` and `role` say which.
|
|
6828
|
+
*/
|
|
6829
|
+
403: ApiErrorDto;
|
|
6830
|
+
/**
|
|
6831
|
+
* No live key of your organization has this id (`API key not found`): unknown, revoked, or another organization's.
|
|
6832
|
+
*/
|
|
6833
|
+
404: ApiKeyErrorDto;
|
|
6834
|
+
};
|
|
6835
|
+
type RotateApiKeyError = RotateApiKeyErrors[keyof RotateApiKeyErrors];
|
|
6836
|
+
type RotateApiKeyResponses = {
|
|
6837
|
+
201: ApiKeyCreatedDto;
|
|
6838
|
+
};
|
|
6839
|
+
type RotateApiKeyResponse = RotateApiKeyResponses[keyof RotateApiKeyResponses];
|
|
5899
6840
|
|
|
5900
6841
|
declare const client: Client;
|
|
5901
6842
|
|
|
@@ -5933,7 +6874,7 @@ declare const getUploadFromUrl: <ThrowOnError extends boolean = false>(options:
|
|
|
5933
6874
|
/**
|
|
5934
6875
|
* Open an upload of a file from your disk
|
|
5935
6876
|
*
|
|
5936
|
-
* Open an upload of a file from your disk, then send its bytes where the answer says and confirm it (`POST /public/v1/uploads/{uploadId}/confirm`). The bytes never go through the API:
|
|
6877
|
+
* Open an upload of a file from your disk, then send its bytes where the answer says and confirm it (`POST /public/v1/uploads/{uploadId}/confirm`). The bytes never go through the API: they go in parts of 20 MB straight to the storage (`partSize` and `parts` in the answer: each part a `PUT` of its raw bytes to `<uploadUrl>/<n>`, `n` from 1 to `parts`, with its exact `Content-Length`; a part cut by the network is sent again, a part sent twice changes nothing; the upload lives 24 hours). `curl` is a shell command that does the sending (macOS or Linux). The same as the MCP tool `createUploadUrl`. Accepted types: MP4, JPEG, PNG, WebP, GIF; 500 MB at most by default.
|
|
5937
6878
|
*/
|
|
5938
6879
|
declare const createUpload: <ThrowOnError extends boolean = false>(options: Options<CreateUploadData, ThrowOnError>) => RequestResult<CreateUploadResponses, CreateUploadErrors, ThrowOnError>;
|
|
5939
6880
|
/**
|
|
@@ -5971,19 +6912,19 @@ declare const createPost: <ThrowOnError extends boolean = false>(options: Option
|
|
|
5971
6912
|
/**
|
|
5972
6913
|
* Delete a post and everything scheduled with it
|
|
5973
6914
|
*
|
|
5974
|
-
* Deleting is three different things. A post not published yet (scheduled, draft, failed) is cancelled: it never goes out. A post already published only leaves UseNadia by default: it stays online on the platform. With `deleteOnPlatform=true`, a published post is also deleted at its platform, for good, where UseNadia can (`deletableOnPlatform`; Threads, YouTube, Instagram and TikTok cannot today). `posts` says which happened, per post of the group.
|
|
6915
|
+
* Deleting is three different things. A post not published yet (scheduled, draft, failed) is cancelled: it never goes out. A post already published only leaves UseNadia by default: it stays online on the platform. With `deleteOnPlatform=true`, a published post is also deleted at its platform, for good, where UseNadia can (`deletableOnPlatform`; Threads, YouTube, Instagram and TikTok cannot today). `posts` says which happened, per post of the group.
|
|
5975
6916
|
*/
|
|
5976
6917
|
declare const deletePost: <ThrowOnError extends boolean = false>(options: Options<DeletePostData, ThrowOnError>) => RequestResult<DeletePostResponses, DeletePostErrors, ThrowOnError>;
|
|
5977
6918
|
/**
|
|
5978
|
-
* Read one post, with its media
|
|
6919
|
+
* Read one post, with its media, its settings and its thread
|
|
5979
6920
|
*
|
|
5980
|
-
* The post as `listPosts` gives it, plus `media`: each media of the post, in order, with the cover of a video (`thumbnail`, the URL UseNadia serves it from; null without one). Change the cover with `setPostCover`.
|
|
6921
|
+
* The post as `listPosts` gives it, plus `media`: each media of the post, in order, with the cover of a video (`thumbnail`, the URL UseNadia serves it from, and `thumbnailTimestamp`, the moment of the video used as its cover, in milliseconds; each null without one); `settings`: the settings of the post as they are stored (the platform's own, and a comment → DM automation: `automationFlowId`, `automationKeywords`, `automationVariables`), what an `update` of `createPost` must carry again; and `thread`: the comments under the post, in order. Change the cover with `setPostCover`, the thread with `setPostThread`.
|
|
5981
6922
|
*/
|
|
5982
6923
|
declare const getPost: <ThrowOnError extends boolean = false>(options: Options<GetPostData, ThrowOnError>) => RequestResult<GetPostResponses, GetPostErrors, ThrowOnError>;
|
|
5983
6924
|
/**
|
|
5984
6925
|
* Delete a publication group
|
|
5985
6926
|
*
|
|
5986
|
-
* Deleting is three different things. A post not published yet (scheduled, draft, failed) is cancelled: it never goes out. A post already published only leaves UseNadia by default: it stays online on the platform. With `deleteOnPlatform=true`, a published post is also deleted at its platform, for good, where UseNadia can (`deletableOnPlatform`; Threads, YouTube, Instagram and TikTok cannot today). `posts` says which happened, per post of the group.
|
|
6927
|
+
* Deleting is three different things. A post not published yet (scheduled, draft, failed) is cancelled: it never goes out. A post already published only leaves UseNadia by default: it stays online on the platform. With `deleteOnPlatform=true`, a published post is also deleted at its platform, for good, where UseNadia can (`deletableOnPlatform`; Threads, YouTube, Instagram and TikTok cannot today). `posts` says which happened, per post of the group.
|
|
5987
6928
|
*/
|
|
5988
6929
|
declare const deletePostGroup: <ThrowOnError extends boolean = false>(options: Options<DeletePostGroupData, ThrowOnError>) => RequestResult<DeletePostGroupResponses, DeletePostGroupErrors, ThrowOnError>;
|
|
5989
6930
|
/**
|
|
@@ -6020,6 +6961,8 @@ declare const listChannels: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
6020
6961
|
* Start connecting a channel — returns the URL to open
|
|
6021
6962
|
*
|
|
6022
6963
|
* Returns the URL that opens the platform's consent screen for this channel. A channel your plan does not include answers `402` with `This channel is not included in your plan`, as in the app (today: X on the Starter ultime).
|
|
6964
|
+
*
|
|
6965
|
+
* A partner connecting the channels of the people it serves (one workspace each) names the workspace with `workspace` and the address the person comes back to with `redirectUrl`: both are kept with the URL's state for its hour, the channel lands in that workspace and the person is sent back there, success or failure.
|
|
6023
6966
|
*/
|
|
6024
6967
|
declare const startChannelConnection: <ThrowOnError extends boolean = false>(options: Options<StartChannelConnectionData, ThrowOnError>) => RequestResult<StartChannelConnectionResponses, StartChannelConnectionErrors, ThrowOnError>;
|
|
6025
6968
|
/**
|
|
@@ -6044,6 +6987,30 @@ declare const listMissingMedia: <ThrowOnError extends boolean = false>(options:
|
|
|
6044
6987
|
* Change a post's status
|
|
6045
6988
|
*/
|
|
6046
6989
|
declare const changePostStatus: <ThrowOnError extends boolean = false>(options: Options<ChangePostStatusData, ThrowOnError>) => RequestResult<ChangePostStatusResponses, ChangePostStatusErrors, ThrowOnError>;
|
|
6990
|
+
/**
|
|
6991
|
+
* List the posts waiting for approval
|
|
6992
|
+
*
|
|
6993
|
+
* The posts of a Content Creator wait for an approval before they go out. An Owner, an Admin, a Publisher or a Client approves or refuses them.
|
|
6994
|
+
*/
|
|
6995
|
+
declare const listPostsAwaitingApproval: <ThrowOnError extends boolean = false>(options?: Options<ListPostsAwaitingApprovalData, ThrowOnError>) => RequestResult<ListPostsAwaitingApprovalResponses, ListPostsAwaitingApprovalErrors, ThrowOnError>;
|
|
6996
|
+
/**
|
|
6997
|
+
* List the drafts that have no date
|
|
6998
|
+
*
|
|
6999
|
+
* A draft created without `date` (or with a `date` already past) has no date: it is in no calendar until it is placed. This lists them; place one by sending it again (`POST /posts` with its ids, `type: schedule` or `now`, and a `date`).
|
|
7000
|
+
*/
|
|
7001
|
+
declare const listUndatedDrafts: <ThrowOnError extends boolean = false>(options?: Options<ListUndatedDraftsData, ThrowOnError>) => RequestResult<ListUndatedDraftsResponses, ListUndatedDraftsErrors, ThrowOnError>;
|
|
7002
|
+
/**
|
|
7003
|
+
* Approve a post
|
|
7004
|
+
*
|
|
7005
|
+
* The post enters the queue and goes out at its date (or at `date`). A post whose date is past is refused (400, `code` `date_passed`) until a new `date` is given.
|
|
7006
|
+
*/
|
|
7007
|
+
declare const approvePost: <ThrowOnError extends boolean = false>(options: Options<ApprovePostData, ThrowOnError>) => RequestResult<ApprovePostResponses, ApprovePostErrors, ThrowOnError>;
|
|
7008
|
+
/**
|
|
7009
|
+
* Refuse a post
|
|
7010
|
+
*
|
|
7011
|
+
* The post goes back to its author as a draft, with the note.
|
|
7012
|
+
*/
|
|
7013
|
+
declare const refusePost: <ThrowOnError extends boolean = false>(options: Options<RefusePostData, ThrowOnError>) => RequestResult<RefusePostResponses, RefusePostErrors, ThrowOnError>;
|
|
6047
7014
|
/**
|
|
6048
7015
|
* Take the automation off a post not yet published
|
|
6049
7016
|
*/
|
|
@@ -6055,7 +7022,7 @@ declare const getPostAutomation: <ThrowOnError extends boolean = false>(options:
|
|
|
6055
7022
|
/**
|
|
6056
7023
|
* Put an automation on a scheduled post
|
|
6057
7024
|
*
|
|
6058
|
-
* Put an automation template on an Instagram post or story,
|
|
7025
|
+
* Put an automation template on an Instagram post or story, a Facebook Page post or reel (no story), or a TikTok (`tiktok-business`) or Threads post, that is scheduled but not published yet, or replace the one it carries. On TikTok and Threads, which have no DM, the template runs as its public reply alone: a comment (a reply on Threads) with one of the words gets the template's TikTok or Threads reply under it, every DM step is skipped; a template whose public reply is off is refused there. It is checked as at scheduling, and at publication it is posed exactly as if `settings.automationFlowId`, `automationKeywords` and `automationVariables` had been passed to POST /public/v1/posts. Once the post is live, pose the template on the publication instead (POST /public/v1/automation-flows/{id}/poses).
|
|
6059
7026
|
*/
|
|
6060
7027
|
declare const setPostAutomation: <ThrowOnError extends boolean = false>(options: Options<SetPostAutomationData, ThrowOnError>) => RequestResult<SetPostAutomationResponses, SetPostAutomationErrors, ThrowOnError>;
|
|
6061
7028
|
/**
|
|
@@ -6065,9 +7032,15 @@ declare const setPostReleaseId: <ThrowOnError extends boolean = false>(options:
|
|
|
6065
7032
|
/**
|
|
6066
7033
|
* Put, replace or take off the cover of a post's video, before it is published
|
|
6067
7034
|
*
|
|
6068
|
-
* The cover goes on the post's video (its first `.mp4`):
|
|
7035
|
+
* The cover goes on the post's video (its first `.mp4`): an image (`thumbnail`), a moment of the video (`thumbnailTimestamp`), or both; a field left out does not move, except that the image wins: a `thumbnail` given without `thumbnailTimestamp` takes the moment off (TikTok through the classic connection then takes the first frame), and the two given together are one cover, a frame and its moment. Read as the cover by Instagram, TikTok (Business API), LinkedIn (profile and page), Telegram, Pinterest, Mastodon and Facebook (Page video, not reels or stories); TikTok through the classic connection reads only `thumbnailTimestamp`; YouTube uses the `thumbnail` setting of its post; Threads, Bluesky, X, Discord and Google Business Profile take no cover. It can change at any time until the post leaves for the platform (a draft, a scheduled post, or one that failed). Nothing else of the post moves: text, date, media and `link` stay. The image is a picture (JPEG, PNG, WebP, AVIF, HEIC or the first frame of a GIF; ideally 1080x1920, 20 MB at most, between 1:4 and 4:1, 100 pixels at least on each side), kept by UseNadia as a JPEG of 2 MB and 1920 pixels at most, which every channel takes, as at scheduling (any public URL, a signed one included). Refused with a `400` that says why: a YouTube post (YouTube does not use a cover: the thumbnail of a video is the `thumbnail` setting of its post), a post already published or sent to the platform (a platform does not change the cover of a published video), a post without a video, a cover that cannot be downloaded or read as a picture, or out of those bounds, a moment that is no number of milliseconds.
|
|
6069
7036
|
*/
|
|
6070
7037
|
declare const setPostCover: <ThrowOnError extends boolean = false>(options: Options<SetPostCoverData, ThrowOnError>) => RequestResult<SetPostCoverResponses, SetPostCoverErrors, ThrowOnError>;
|
|
7038
|
+
/**
|
|
7039
|
+
* Replace the comments under a post (its thread), before it is published
|
|
7040
|
+
*
|
|
7041
|
+
* The thread of a post is what goes out with it, in order: on Instagram, Facebook and LinkedIn (profile and page) the comments under the post (the first comment, then the next ones), on X, Threads, Bluesky, Mastodon, Discord and Telegram the next posts of the thread. `thread` is the whole thread as it must be: the comments it gives replace those the post has, in order (a comment kept at its place keeps its id), the ones past the end are added, those past the new end deleted; `[]` takes them all off. Nothing else of the post moves: its id, text, media, `settings` (a comment → DM automation among them), date, `link`, publication and approval stay, and it goes out at its date with the new thread. Each comment is `{"content": "…", "image": [{"id": "…", "path": "…"}]}`, as an item of `value` in `createPost` (HTML content, sanitized the same way): a text, an image, or both; Instagram and LinkedIn comments are text only (an image is refused), Facebook publishes the first image of a comment. A comment is as long as a post of its platform at most (`maxLength` of the platform's rules: Threads 500, X 280 or 4,000 with Premium, Instagram 2,200, LinkedIn 3,000, Bluesky 300…). It can change until the post leaves for the platform (a draft, a scheduled post, or one that failed before going out): a published post, one sent to the platform, a comment's id (pass the post's), or a channel that publishes no comment (YouTube, Pinterest, Google Business Profile, TikTok through its classic connection) are refused with a 400 whose `msg` says why. On TikTok through its Business API the thread is one comment, text only, 150 characters at most, posted by the account and pinned once TikTok has published the post. A member whose posts wait for an approval (Content Creator) changes the thread of a draft only (403 `role_refused`). Read the thread with `getPost` (`thread`).
|
|
7042
|
+
*/
|
|
7043
|
+
declare const setPostThread: <ThrowOnError extends boolean = false>(options: Options<SetPostThreadData, ThrowOnError>) => RequestResult<SetPostThreadResponses, SetPostThreadErrors, ThrowOnError>;
|
|
6071
7044
|
/**
|
|
6072
7045
|
* Group a post with the same content on other channels, or separate it
|
|
6073
7046
|
*
|
|
@@ -6116,6 +7089,12 @@ declare const listChannelStories: <ThrowOnError extends boolean = false>(options
|
|
|
6116
7089
|
* Comments under a post
|
|
6117
7090
|
*/
|
|
6118
7091
|
declare const listMediaComments: <ThrowOnError extends boolean = false>(options: Options<ListMediaCommentsData, ThrowOnError>) => RequestResult<ListMediaCommentsResponses, ListMediaCommentsErrors, ThrowOnError>;
|
|
7092
|
+
/**
|
|
7093
|
+
* Comment under a post
|
|
7094
|
+
*
|
|
7095
|
+
* A new comment under a publication already live on the channel, written by the account. `mediaId` is the publication's id at the platform: the `releaseId` of a post read with `GET /public/v1/posts`, or the `id` of `GET /public/v1/inbox/media/{integrationId}`. Instagram, Facebook Page, LinkedIn, Threads, X, Bluesky, TikTok (`tiktok-business`), Discord, Telegram and Mastodon; on X, Threads, Bluesky, Mastodon, Discord and Telegram the comment is a reply to the post. Refused with a 400 saying why on a TikTok channel connected the classic way (reconnect it as TikTok Business), YouTube (not yet), Pinterest and Google Business Profile (no comments). Public at once. To schedule a first comment with a post not out yet, write the post's thread (`PUT /public/v1/posts/{id}/thread`).
|
|
7096
|
+
*/
|
|
7097
|
+
declare const commentPublication: <ThrowOnError extends boolean = false>(options: Options<CommentPublicationData, ThrowOnError>) => RequestResult<CommentPublicationResponses, CommentPublicationErrors, ThrowOnError>;
|
|
6119
7098
|
/**
|
|
6120
7099
|
* Reply publicly to a comment
|
|
6121
7100
|
*/
|
|
@@ -6362,6 +7341,26 @@ declare const deleteWorkspace: <ThrowOnError extends boolean = false>(options: O
|
|
|
6362
7341
|
* Edit a workspace, or move channels into it
|
|
6363
7342
|
*/
|
|
6364
7343
|
declare const updateWorkspace: <ThrowOnError extends boolean = false>(options: Options<UpdateWorkspaceData, ThrowOnError>) => RequestResult<UpdateWorkspaceResponses, UpdateWorkspaceErrors, ThrowOnError>;
|
|
7344
|
+
/**
|
|
7345
|
+
* List the keys limited to some workspaces (nws_…), newest first — never their value, only its start
|
|
7346
|
+
*/
|
|
7347
|
+
declare const listApiKeys: <ThrowOnError extends boolean = false>(options?: Options<ListApiKeysData, ThrowOnError>) => RequestResult<ListApiKeysResponses, ListApiKeysErrors, ThrowOnError>;
|
|
7348
|
+
/**
|
|
7349
|
+
* Create a key limited to some workspaces — its value is returned in this answer only
|
|
7350
|
+
*/
|
|
7351
|
+
declare const createApiKey: <ThrowOnError extends boolean = false>(options: Options<CreateApiKeyData, ThrowOnError>) => RequestResult<CreateApiKeyResponses, CreateApiKeyErrors, ThrowOnError>;
|
|
7352
|
+
/**
|
|
7353
|
+
* Revoke a key limited to some workspaces — from now on it answers as an unknown key
|
|
7354
|
+
*/
|
|
7355
|
+
declare const revokeApiKey: <ThrowOnError extends boolean = false>(options: Options<RevokeApiKeyData, ThrowOnError>) => RequestResult<RevokeApiKeyResponses, RevokeApiKeyErrors, ThrowOnError>;
|
|
7356
|
+
/**
|
|
7357
|
+
* Rename a key limited to some workspaces, or change its workspaces — its value does not change
|
|
7358
|
+
*/
|
|
7359
|
+
declare const updateApiKey: <ThrowOnError extends boolean = false>(options: Options<UpdateApiKeyData, ThrowOnError>) => RequestResult<UpdateApiKeyResponses, UpdateApiKeyErrors, ThrowOnError>;
|
|
7360
|
+
/**
|
|
7361
|
+
* Give a key limited to some workspaces a new value — returned in this answer only; the old value stops working at once
|
|
7362
|
+
*/
|
|
7363
|
+
declare const rotateApiKey: <ThrowOnError extends boolean = false>(options: Options<RotateApiKeyData, ThrowOnError>) => RequestResult<RotateApiKeyResponses, RotateApiKeyErrors, ThrowOnError>;
|
|
6365
7364
|
|
|
6366
7365
|
/** Body of {@link Nadia.post}: the spec's own shape (`group`, `value[].id`
|
|
6367
7366
|
* and `value[].delay` are optional there since 2026-10-21). */
|
|
@@ -6387,7 +7386,7 @@ type ConfirmationPreview = {
|
|
|
6387
7386
|
[key: string]: unknown;
|
|
6388
7387
|
};
|
|
6389
7388
|
/**
|
|
6390
|
-
* Thrown on a `428`: the action waits for a yes (Settings ›
|
|
7389
|
+
* Thrown on a `428`: the action waits for a yes (Settings › API & MCP, the
|
|
6391
7390
|
* same columns as the MCP) and **nothing was done**. Show {@link preview} to
|
|
6392
7391
|
* the user; once they said yes, {@link confirm} sends the same request again
|
|
6393
7392
|
* with {@link confirmationToken} (single use, 15 minutes).
|
|
@@ -6428,7 +7427,7 @@ interface NadiaOptions {
|
|
|
6428
7427
|
timeoutMs?: number;
|
|
6429
7428
|
};
|
|
6430
7429
|
/**
|
|
6431
|
-
* An action that waits for a yes answers `428` (Settings ›
|
|
7430
|
+
* An action that waits for a yes answers `428` (Settings › API & MCP):
|
|
6432
7431
|
* by default the SDK throws {@link NadiaConfirmationRequired}. `true`
|
|
6433
7432
|
* sends the same request again with its token at once, so the action runs.
|
|
6434
7433
|
* Only for a program that already has the user's yes. Default `false`.
|
|
@@ -6494,8 +7493,8 @@ declare class Nadia {
|
|
|
6494
7493
|
* time, a part cut by the network sent again, and the parts the confirm
|
|
6495
7494
|
* says are missing sent again before confirming once more. A server that
|
|
6496
7495
|
* does not take parts answers a single PUT, which is done instead; a
|
|
6497
|
-
* server without that route (older
|
|
6498
|
-
*
|
|
7496
|
+
* server without that route (an older release) and any other type
|
|
7497
|
+
* (HEIC… which the server converts to JPEG) go through
|
|
6499
7498
|
* `POST /public/v1/upload`, the whole file in one request, as before. A
|
|
6500
7499
|
* MOV or an M4V is refused there (`415`): convert it to MP4 first.
|
|
6501
7500
|
*
|
|
@@ -6661,4 +7660,4 @@ declare function parseWebhook<T = unknown>(options: {
|
|
|
6661
7660
|
now?: number;
|
|
6662
7661
|
}): WebhookDelivery<T>;
|
|
6663
7662
|
|
|
6664
|
-
export { type AccountHistoryItemDto, type AnalyticsMetricDto, type AnalyticsPointDto, type ApiErrorDto, type AutomationFlowCatchUpCommentDto, type AutomationFlowCatchUpPreviewDto, type AutomationFlowCatchUpResultDto, type AutomationFlowCountsDto, type AutomationFlowDto, type AutomationFlowIssueDto, type AutomationFlowPollResultDto, type AutomationFlowPoseResponseDto, type AutomationFlowReplayResultDto, type AutomationFlowResponseDto, type AutomationFlowRunResponseDto, type AutomationFlowStatusDto, type AutomationPoseCountsDto, type AutomationPoseFlowDto, type AutomationPoseMediaDto, type AutomationPoseWaitingAtDto, type CatchUpAutomationPoseData, type CatchUpAutomationPoseError, type CatchUpAutomationPoseErrors, type CatchUpAutomationPoseResponse, type CatchUpAutomationPoseResponses, type ChangePostStatusData, type ChangePostStatusDto, type ChangePostStatusError, type ChangePostStatusErrors, type ChangePostStatusResponse, type ChangePostStatusResponses, type CheckConnectionData, type CheckConnectionError, type CheckConnectionErrors, type CheckConnectionResponse, type CheckConnectionResponses, type ClientOptions, type CommentReplyResultDto, type ConfirmUploadData, type ConfirmUploadError, type ConfirmUploadErrors, type ConfirmUploadResponse, type ConfirmUploadResponses, type ConfirmationPreview, type ConfirmationRequiredDto, type ConfirmedUploadDto, type ContentChannelPerformanceDto, type ContentDto, type ContentFromLinkDto, type ContentListItemDto, type ContentPerformanceDto, type ContentPostDto, type ContentSourceDto, type ContentSourceTranscriptDto, type ContentSourceTranscriptSegmentDto, type ContentStage, type ContentUpsertDto, type ContentWorkspacesDto, type CreateAutomationFlowData, type CreateAutomationFlowError, type CreateAutomationFlowErrors, type CreateAutomationFlowResponse, type CreateAutomationFlowResponses, type CreateContentData, type CreateContentDto, type CreateContentError, type CreateContentErrors, type CreateContentFromLinkData, type CreateContentFromLinkDto, type CreateContentFromLinkError, type CreateContentFromLinkErrors, type CreateContentFromLinkResponse, type CreateContentFromLinkResponses, type CreateContentResponse, type CreateContentResponses, type CreatePostBody, type CreatePostData, type CreatePostError, type CreatePostErrors, type CreatePostResponse, type CreatePostResponses, type CreatePostResultItemDto, type CreatePublicWebhookDto, type CreateUploadData, type CreateUploadDto, type CreateUploadError, type CreateUploadErrors, type CreateUploadResponse, type CreateUploadResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkspaceData, type CreateWorkspaceDto, type CreateWorkspaceError, type CreateWorkspaceErrors, type CreateWorkspaceResponse, type CreateWorkspaceResponses, DEFAULT_BASE_URL, type DeleteAutomationFlowData, type DeleteAutomationFlowError, type DeleteAutomationFlowErrors, type DeleteAutomationFlowResponse, type DeleteAutomationFlowResponses, type DeleteAutomationPoseData, type DeleteAutomationPoseError, type DeleteAutomationPoseErrors, type DeleteAutomationPoseResponse, type DeleteAutomationPoseResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteCommentData, type DeleteCommentError, type DeleteCommentErrors, type DeleteCommentResponse, type DeleteCommentResponses, type DeleteContentData, type DeleteContentError, type DeleteContentErrors, type DeleteContentResponse, type DeleteContentResponses, type DeletePostData, type DeletePostError, type DeletePostErrors, type DeletePostGroupData, type DeletePostGroupError, type DeletePostGroupErrors, type DeletePostGroupResponse, type DeletePostGroupResponses, type DeletePostResponse, type DeletePostResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponse, type DeleteWorkspaceResponses, type DeletedIdDto, type DeletedPostDto, type DirectMessageResultDto, type EmailPreviewDto, type EmailPreviewDtoResponse, type EmailSentDto, type EmailTestDto, type FindSlotData, type FindSlotDto, type FindSlotError, type FindSlotErrors, type FindSlotResponse, type FindSlotResponses, type GetAccountHistoryData, type GetAccountHistoryError, type GetAccountHistoryErrors, type GetAccountHistoryResponse, type GetAccountHistoryResponses, type GetAutomationFlowData, type GetAutomationFlowError, type GetAutomationFlowErrors, type GetAutomationFlowResponse, type GetAutomationFlowResponses, type GetAutomationPoseData, type GetAutomationPoseError, type GetAutomationPoseErrors, type GetAutomationPoseResponse, type GetAutomationPoseResponses, type GetChannelAnalyticsData, type GetChannelAnalyticsError, type GetChannelAnalyticsErrors, type GetChannelAnalyticsResponse, type GetChannelAnalyticsResponses, type GetChannelSettingsData, type GetChannelSettingsError, type GetChannelSettingsErrors, type GetChannelSettingsResponse, type GetChannelSettingsResponses, type GetContentData, type GetContentError, type GetContentErrors, type GetContentResponse, type GetContentResponses, type GetContentsPerformanceData, type GetContentsPerformanceError, type GetContentsPerformanceErrors, type GetContentsPerformanceResponse, type GetContentsPerformanceResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetHookFormsData, type GetHookFormsError, type GetHookFormsErrors, type GetHookFormsResponse, type GetHookFormsResponses, type GetMusicTrackData, type GetMusicTrackError, type GetMusicTrackErrors, type GetMusicTrackResponse, type GetMusicTrackResponses, type GetPostAnalyticsData, type GetPostAnalyticsError, type GetPostAnalyticsErrors, type GetPostAnalyticsResponse, type GetPostAnalyticsResponses, type GetPostAutomationData, type GetPostAutomationError, type GetPostAutomationErrors, type GetPostAutomationResponse, type GetPostAutomationResponses, type GetPostData, type GetPostError, type GetPostErrors, type GetPostResponse, type GetPostResponses, type GetPostingTimesData, type GetPostingTimesError, type GetPostingTimesErrors, type GetPostingTimesResponse, type GetPostingTimesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type GetUploadFromUrlData, type GetUploadFromUrlError, type GetUploadFromUrlErrors, type GetUploadFromUrlResponse, type GetUploadFromUrlResponses, type GetVideoHistoryData, type GetVideoHistoryError, type GetVideoHistoryErrors, type GetVideoHistoryResponse, type GetVideoHistoryResponses, type GetViewsPerDayData, type GetViewsPerDayError, type GetViewsPerDayErrors, type GetViewsPerDayResponse, type GetViewsPerDayResponses, type GetWebhookData, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GroupDto, type HideCommentData, type HideCommentDto, type HideCommentError, type HideCommentErrors, type HideCommentResponse, type HideCommentResponses, type HistoryPageDto, type HookDto, type HookFamilyDto, type HookFormDto, type HooksSearchResultDto, type ImportMusicData, type ImportMusicError, type ImportMusicErrors, type ImportMusicResponse, type ImportMusicResponses, type InboxConversationDto, type InboxPollResultDto, type InboxTagDto, type InboxThreadDto, type InstagramCommentAuthorDto, type InstagramCommentDto, type InstagramMediaDto, type Integration, type IntegrationListItemDto, type IntegrationSettingsDto, type IntegrationSettingsOutputDto, type IntegrationToolDto, type IntegrationToolParamDto, type IntegrationTriggerDto, type IntegrationTriggerResultDto, type IntegrationValidateTimeDto, type IsConnectedDto, type LinkContentPostData, type LinkContentPostDto, type LinkContentPostError, type LinkContentPostErrors, type LinkContentPostResponse, type LinkContentPostResponses, type ListAutomationFlowPosesData, type ListAutomationFlowPosesError, type ListAutomationFlowPosesErrors, type ListAutomationFlowPosesResponse, type ListAutomationFlowPosesResponses, type ListAutomationFlowsData, type ListAutomationFlowsError, type ListAutomationFlowsErrors, type ListAutomationFlowsResponse, type ListAutomationFlowsResponses, type ListAutomationPoseRunsData, type ListAutomationPoseRunsError, type ListAutomationPoseRunsErrors, type ListAutomationPoseRunsResponse, type ListAutomationPoseRunsResponses, type ListChannelAutomationPosesData, type ListChannelAutomationPosesError, type ListChannelAutomationPosesErrors, type ListChannelAutomationPosesResponse, type ListChannelAutomationPosesResponses, type ListChannelMediaData, type ListChannelMediaError, type ListChannelMediaErrors, type ListChannelMediaResponse, type ListChannelMediaResponses, type ListChannelStoriesData, type ListChannelStoriesError, type ListChannelStoriesErrors, type ListChannelStoriesResponse, type ListChannelStoriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListContentsData, type ListContentsError, type ListContentsErrors, type ListContentsResponse, type ListContentsResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListHookFamiliesData, type ListHookFamiliesError, type ListHookFamiliesErrors, type ListHookFamiliesResponse, type ListHookFamiliesResponses, type ListMediaCommentsData, type ListMediaCommentsError, type ListMediaCommentsErrors, type ListMediaCommentsResponse, type ListMediaCommentsResponses, type ListMissingMediaData, type ListMissingMediaError, type ListMissingMediaErrors, type ListMissingMediaResponse, type ListMissingMediaResponses, type ListMusicData, type ListMusicError, type ListMusicErrors, type ListMusicPillarsData, type ListMusicPillarsError, type ListMusicPillarsErrors, type ListMusicPillarsResponse, type ListMusicPillarsResponses, type ListMusicResponse, type ListMusicResponses, type ListNotificationsData, type ListNotificationsError, type ListNotificationsErrors, type ListNotificationsResponse, type ListNotificationsResponses, type ListPostsData, type ListPostsError, type ListPostsErrors, type ListPostsResponse, type ListPostsResponses, type ListVideoPerformanceData, type ListVideoPerformanceError, type ListVideoPerformanceErrors, type ListVideoPerformanceResponse, type ListVideoPerformanceResponses, type ListWebhookEventsData, type ListWebhookEventsError, type ListWebhookEventsErrors, type ListWebhookEventsResponse, type ListWebhookEventsResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkspacesData, type ListWorkspacesError, type ListWorkspacesErrors, type ListWorkspacesResponse, type ListWorkspacesResponses, type MediaDto, type MediaResponseDto, type MediaTaggedDto, type MediaWorkspacesDto, type MissingContentItemDto, type MoveContentData, type MoveContentDto, type MoveContentError, type MoveContentErrors, type MoveContentResponse, type MoveContentResponses, type MusicImportDto, type MusicImportItemDto, type MusicImportResultDto, type MusicListResultDto, type MusicPillarDto, type MusicTrackDto, Nadia, NadiaConfirmationRequired, NadiaError, type NadiaOptions, NadiaWebhookError, type NotificationDto, type NotificationsPageDto, type OkDto, type Options, type PollAutomationPoseData, type PollAutomationPoseError, type PollAutomationPoseErrors, type PollAutomationPoseResponse, type PollAutomationPoseResponses, type PollInboxData, type PollInboxError, type PollInboxErrors, type PollInboxResponse, type PollInboxResponses, type PoseAutomationFlowData, type PoseAutomationFlowDto, type PoseAutomationFlowError, type PoseAutomationFlowErrors, type PoseAutomationFlowResponse, type PoseAutomationFlowResponses, type Post, type PostAutomationDto, type PostAutomationResponseDto, type PostContent, type PostDetailDto, type PostDto, type PostIntegrationSummaryDto, type PostLinkClicksDto, type PostLinkClicksSourceDto, type PostListDto, type PostMediaDto, type PostPublicationDto, type PostStatusDto, type PostTagDto, type PostingTimeItemDto, type PostingTimesDto, type PostingTimesResultDto, type PreviewAutomationEmailData, type PreviewAutomationEmailError, type PreviewAutomationEmailErrors, type PreviewAutomationEmailResponse, type PreviewAutomationEmailResponses, type PreviewAutomationPoseCatchUpData, type PreviewAutomationPoseCatchUpError, type PreviewAutomationPoseCatchUpErrors, type PreviewAutomationPoseCatchUpResponse, type PreviewAutomationPoseCatchUpResponses, type PublicCreatePostDto, type RemovePostAutomationData, type RemovePostAutomationError, type RemovePostAutomationErrors, type RemovePostAutomationResponse, type RemovePostAutomationResponses, type ReplayAutomationPoseData, type ReplayAutomationPoseError, type ReplayAutomationPoseErrors, type ReplayAutomationPoseResponse, type ReplayAutomationPoseResponses, type ReplayPoseDto, type ReplyToCommentData, type ReplyToCommentDto, type ReplyToCommentError, type ReplyToCommentErrors, type ReplyToCommentResponse, type ReplyToCommentResponses, type RunChannelToolData, type RunChannelToolError, type RunChannelToolErrors, type RunChannelToolResponse, type RunChannelToolResponses, type SearchHooksData, type SearchHooksError, type SearchHooksErrors, type SearchHooksResponse, type SearchHooksResponses, type SendAutomationTestEmailData, type SendAutomationTestEmailError, type SendAutomationTestEmailErrors, type SendAutomationTestEmailResponse, type SendAutomationTestEmailResponses, type SendDirectMessageData, type SendDirectMessageError, type SendDirectMessageErrors, type SendDirectMessageResponse, type SendDirectMessageResponses, type SendMessageDto, type SetAutomationFlowStatusData, type SetAutomationFlowStatusError, type SetAutomationFlowStatusErrors, type SetAutomationFlowStatusResponse, type SetAutomationFlowStatusResponses, type SetContentWorkspacesData, type SetContentWorkspacesDto, type SetContentWorkspacesError, type SetContentWorkspacesErrors, type SetContentWorkspacesResponse, type SetContentWorkspacesResponses, type SetMediaWorkspacesData, type SetMediaWorkspacesDto, type SetMediaWorkspacesError, type SetMediaWorkspacesErrors, type SetMediaWorkspacesResponse, type SetMediaWorkspacesResponses, type SetPostAutomationData, type SetPostAutomationError, type SetPostAutomationErrors, type SetPostAutomationResponse, type SetPostAutomationResponses, type SetPostCoverData, type SetPostCoverDto, type SetPostCoverError, type SetPostCoverErrors, type SetPostCoverResponse, type SetPostCoverResponses, type SetPostPublicationData, type SetPostPublicationDto, type SetPostPublicationError, type SetPostPublicationErrors, type SetPostPublicationResponse, type SetPostPublicationResponses, type SetPostReleaseIdData, type SetPostReleaseIdError, type SetPostReleaseIdErrors, type SetPostReleaseIdResponse, type SetPostReleaseIdResponses, type SetPostingTimesData, type SetPostingTimesError, type SetPostingTimesErrors, type SetPostingTimesResponse, type SetPostingTimesResponses, type SocialAuthUrlDto, type StartChannelConnectionData, type StartChannelConnectionError, type StartChannelConnectionErrors, type StartChannelConnectionResponse, type StartChannelConnectionResponses, type SubscribeInboxWebhookData, type SubscribeInboxWebhookError, type SubscribeInboxWebhookErrors, type SubscribeInboxWebhookResponse, type SubscribeInboxWebhookResponses, type SubscriptionDto, type SuccessDto, type Tags, type TestWebhookData, type TestWebhookDto, type TestWebhookError, type TestWebhookErrors, type TestWebhookResponse, type TestWebhookResponses, type UpdateAutomationFlowData, type UpdateAutomationFlowDto, type UpdateAutomationFlowError, type UpdateAutomationFlowErrors, type UpdateAutomationFlowPoseDto, type UpdateAutomationFlowResponse, type UpdateAutomationFlowResponses, type UpdateAutomationPoseData, type UpdateAutomationPoseError, type UpdateAutomationPoseErrors, type UpdateAutomationPoseResponse, type UpdateAutomationPoseResponses, type UpdateContentData, type UpdateContentDto, type UpdateContentError, type UpdateContentErrors, type UpdateContentResponse, type UpdateContentResponses, type UpdateReleaseIdDto, type UpdateWorkspaceData, type UpdateWorkspaceDto, type UpdateWorkspaceError, type UpdateWorkspaceErrors, type UpdateWorkspaceResponse, type UpdateWorkspaceResponses, type UploadDto, type UploadErrorDto, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFromUrlData, type UploadFromUrlError, type UploadFromUrlErrors, type UploadFromUrlResponse, type UploadFromUrlResponses, type UploadMusicFileData, type UploadMusicFileError, type UploadMusicFileErrors, type UploadMusicFileResponse, type UploadMusicFileResponses, type UploadSessionDto, type UploadedMedia, type UpsertContentData, type UpsertContentDto, type UpsertContentError, type UpsertContentErrors, type UpsertContentResponse, type UpsertContentResponses, type UrlImportDto, type UrlImportErrorDto, type VerifyWebhookOptions, type VideoHistoryPageDto, type VideoIdentityDto, type ViewsPerDayDto, type ViewsPerDayItemDto, type WebhookCreatedDto, type WebhookDelivery, type WebhookDto, type WebhookEventDto, type WebhookEventListDto, type WebhookTestResultDto, type WebhooksIntegrationDto, type WorkspaceDeletedDto, type WorkspaceDto, type WorkspaceErrorDto, type WorkspaceRefDto, catchUpAutomationPose, changePostStatus, checkConnection, confirmUpload, createAutomationFlow, createContent, createContentFromLink, createPost, createUpload, createWebhook, createWorkspace, Nadia as default, deleteAutomationFlow, deleteAutomationPose, deleteChannel, deleteComment, deleteContent, deletePost, deletePostGroup, deleteWebhook, deleteWorkspace, findSlot, getAccountHistory, getAutomationFlow, getAutomationPose, getChannelAnalytics, getChannelSettings, getContent, getContentsPerformance, getConversation, getHookForms, getMusicTrack, getPost, getPostAnalytics, getPostAutomation, getPostingTimes, getSubscription, getUploadFromUrl, getVideoHistory, getViewsPerDay, getWebhook, hideComment, importMusic, linkContentPost, listAutomationFlowPoses, listAutomationFlows, listAutomationPoseRuns, listChannelAutomationPoses, listChannelMedia, listChannelStories, listChannels, listContents, listConversations, listGroups, listHookFamilies, listMediaComments, listMissingMedia, listMusic, listMusicPillars, listNotifications, listPosts, listVideoPerformance, listWebhookEvents, listWebhooks, listWorkspaces, moveContent, parseWebhook, pollAutomationPose, pollInbox, poseAutomationFlow, previewAutomationEmail, previewAutomationPoseCatchUp, removePostAutomation, replayAutomationPose, replyToComment, runChannelTool, searchHooks, sendAutomationTestEmail, sendDirectMessage, setAutomationFlowStatus, setContentWorkspaces, setMediaWorkspaces, setPostAutomation, setPostCover, setPostPublication, setPostReleaseId, setPostingTimes, startChannelConnection, subscribeInboxWebhook, testWebhook, updateAutomationFlow, updateAutomationPose, updateContent, updateWorkspace, uploadContentType, uploadFile, uploadFromUrl, uploadMusicFile, upsertContent, verifyWebhookSignature };
|
|
7663
|
+
export { type AccountHistoryItemDto, type AnalyticsMetricDto, type AnalyticsPointDto, type ApiErrorDto, type ApiKeyCreatedDto, type ApiKeyDto, type ApiKeyErrorDto, type ApiKeyWorkspaceDto, type ApprovePostData, type ApprovePostDto, type ApprovePostError, type ApprovePostErrors, type ApprovePostResponse, type ApprovePostResponses, type AutomationFlowCatchUpCommentDto, type AutomationFlowCatchUpPreviewDto, type AutomationFlowCatchUpResultDto, type AutomationFlowCountsDto, type AutomationFlowDto, type AutomationFlowIssueDto, type AutomationFlowPollResultDto, type AutomationFlowPoseResponseDto, type AutomationFlowReplayResultDto, type AutomationFlowResponseDto, type AutomationFlowRunResponseDto, type AutomationFlowStatusDto, type AutomationPoseCountsDto, type AutomationPoseFlowDto, type AutomationPoseMediaDto, type AutomationPoseWaitingAtDto, type AwaitingPostDto, type AwaitingPostsDto, type CatchUpAutomationPoseData, type CatchUpAutomationPoseError, type CatchUpAutomationPoseErrors, type CatchUpAutomationPoseResponse, type CatchUpAutomationPoseResponses, type ChangePostStatusData, type ChangePostStatusDto, type ChangePostStatusError, type ChangePostStatusErrors, type ChangePostStatusResponse, type ChangePostStatusResponses, type CheckConnectionData, type CheckConnectionError, type CheckConnectionErrors, type CheckConnectionResponse, type CheckConnectionResponses, type ClientOptions, type CommentPublicationData, type CommentPublicationDto, type CommentPublicationError, type CommentPublicationErrors, type CommentPublicationResponse, type CommentPublicationResponses, type CommentPublicationResultDto, type CommentReplyResultDto, type ConfirmUploadData, type ConfirmUploadError, type ConfirmUploadErrors, type ConfirmUploadResponse, type ConfirmUploadResponses, type ConfirmationPreview, type ConfirmedUploadDto, type ContentChannelPerformanceDto, type ContentDto, type ContentFromLinkDto, type ContentListItemDto, type ContentPerformanceDto, type ContentPostDto, type ContentSourceDto, type ContentSourceTranscriptDto, type ContentSourceTranscriptSegmentDto, type ContentStage, type ContentUpsertDto, type ContentWorkspacesDto, type CreateApiKeyData, type CreateApiKeyDto, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateAutomationFlowData, type CreateAutomationFlowError, type CreateAutomationFlowErrors, type CreateAutomationFlowResponse, type CreateAutomationFlowResponses, type CreateContentData, type CreateContentDto, type CreateContentError, type CreateContentErrors, type CreateContentFromLinkData, type CreateContentFromLinkDto, type CreateContentFromLinkError, type CreateContentFromLinkErrors, type CreateContentFromLinkResponse, type CreateContentFromLinkResponses, type CreateContentResponse, type CreateContentResponses, type CreatePostBody, type CreatePostData, type CreatePostError, type CreatePostErrors, type CreatePostResponse, type CreatePostResponses, type CreatePostResultItemDto, type CreatePublicWebhookDto, type CreateUploadData, type CreateUploadDto, type CreateUploadError, type CreateUploadErrors, type CreateUploadResponse, type CreateUploadResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkspaceData, type CreateWorkspaceDto, type CreateWorkspaceError, type CreateWorkspaceErrors, type CreateWorkspaceResponse, type CreateWorkspaceResponses, DEFAULT_BASE_URL, type DeleteAutomationFlowData, type DeleteAutomationFlowError, type DeleteAutomationFlowErrors, type DeleteAutomationFlowResponse, type DeleteAutomationFlowResponses, type DeleteAutomationPoseData, type DeleteAutomationPoseError, type DeleteAutomationPoseErrors, type DeleteAutomationPoseResponse, type DeleteAutomationPoseResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteCommentData, type DeleteCommentError, type DeleteCommentErrors, type DeleteCommentResponse, type DeleteCommentResponses, type DeleteContentData, type DeleteContentError, type DeleteContentErrors, type DeleteContentResponse, type DeleteContentResponses, type DeletePostData, type DeletePostError, type DeletePostErrors, type DeletePostGroupData, type DeletePostGroupError, type DeletePostGroupErrors, type DeletePostGroupResponse, type DeletePostGroupResponses, type DeletePostResponse, type DeletePostResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponse, type DeleteWorkspaceResponses, type DeletedIdDto, type DeletedPostDto, type DirectMessageResultDto, type EmailPreviewDto, type EmailPreviewDtoResponse, type EmailSentDto, type EmailTestDto, type FindSlotData, type FindSlotDto, type FindSlotError, type FindSlotErrors, type FindSlotResponse, type FindSlotResponses, type GetAccountHistoryData, type GetAccountHistoryError, type GetAccountHistoryErrors, type GetAccountHistoryResponse, type GetAccountHistoryResponses, type GetAutomationFlowData, type GetAutomationFlowError, type GetAutomationFlowErrors, type GetAutomationFlowResponse, type GetAutomationFlowResponses, type GetAutomationPoseData, type GetAutomationPoseError, type GetAutomationPoseErrors, type GetAutomationPoseResponse, type GetAutomationPoseResponses, type GetChannelAnalyticsData, type GetChannelAnalyticsError, type GetChannelAnalyticsErrors, type GetChannelAnalyticsResponse, type GetChannelAnalyticsResponses, type GetChannelSettingsData, type GetChannelSettingsError, type GetChannelSettingsErrors, type GetChannelSettingsResponse, type GetChannelSettingsResponses, type GetContentData, type GetContentError, type GetContentErrors, type GetContentResponse, type GetContentResponses, type GetContentsPerformanceData, type GetContentsPerformanceError, type GetContentsPerformanceErrors, type GetContentsPerformanceResponse, type GetContentsPerformanceResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetHookFormsData, type GetHookFormsError, type GetHookFormsErrors, type GetHookFormsResponse, type GetHookFormsResponses, type GetMusicTrackData, type GetMusicTrackError, type GetMusicTrackErrors, type GetMusicTrackResponse, type GetMusicTrackResponses, type GetPostAnalyticsData, type GetPostAnalyticsError, type GetPostAnalyticsErrors, type GetPostAnalyticsResponse, type GetPostAnalyticsResponses, type GetPostAutomationData, type GetPostAutomationError, type GetPostAutomationErrors, type GetPostAutomationResponse, type GetPostAutomationResponses, type GetPostData, type GetPostError, type GetPostErrors, type GetPostResponse, type GetPostResponses, type GetPostingTimesData, type GetPostingTimesError, type GetPostingTimesErrors, type GetPostingTimesResponse, type GetPostingTimesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type GetUploadFromUrlData, type GetUploadFromUrlError, type GetUploadFromUrlErrors, type GetUploadFromUrlResponse, type GetUploadFromUrlResponses, type GetVideoHistoryData, type GetVideoHistoryError, type GetVideoHistoryErrors, type GetVideoHistoryResponse, type GetVideoHistoryResponses, type GetViewsPerDayData, type GetViewsPerDayError, type GetViewsPerDayErrors, type GetViewsPerDayResponse, type GetViewsPerDayResponses, type GetWebhookData, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GroupDto, type HideCommentData, type HideCommentDto, type HideCommentError, type HideCommentErrors, type HideCommentResponse, type HideCommentResponses, type HistoryPageDto, type HookDto, type HookFamilyDto, type HookFormDto, type HooksSearchResultDto, type ImportMusicData, type ImportMusicError, type ImportMusicErrors, type ImportMusicResponse, type ImportMusicResponses, type InboxConversationDto, type InboxPollResultDto, type InboxTagDto, type InboxThreadDto, type InstagramCommentAuthorDto, type InstagramCommentDto, type InstagramMediaDto, type Integration, type IntegrationListItemDto, type IntegrationSettingsDto, type IntegrationSettingsOutputDto, type IntegrationToolDto, type IntegrationToolParamDto, type IntegrationTriggerDto, type IntegrationTriggerResultDto, type IntegrationValidateTimeDto, type IsConnectedDto, type LinkContentPostData, type LinkContentPostDto, type LinkContentPostError, type LinkContentPostErrors, type LinkContentPostResponse, type LinkContentPostResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAutomationFlowPosesData, type ListAutomationFlowPosesError, type ListAutomationFlowPosesErrors, type ListAutomationFlowPosesResponse, type ListAutomationFlowPosesResponses, type ListAutomationFlowsData, type ListAutomationFlowsError, type ListAutomationFlowsErrors, type ListAutomationFlowsResponse, type ListAutomationFlowsResponses, type ListAutomationPoseRunsData, type ListAutomationPoseRunsError, type ListAutomationPoseRunsErrors, type ListAutomationPoseRunsResponse, type ListAutomationPoseRunsResponses, type ListChannelAutomationPosesData, type ListChannelAutomationPosesError, type ListChannelAutomationPosesErrors, type ListChannelAutomationPosesResponse, type ListChannelAutomationPosesResponses, type ListChannelMediaData, type ListChannelMediaError, type ListChannelMediaErrors, type ListChannelMediaResponse, type ListChannelMediaResponses, type ListChannelStoriesData, type ListChannelStoriesError, type ListChannelStoriesErrors, type ListChannelStoriesResponse, type ListChannelStoriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListContentsData, type ListContentsError, type ListContentsErrors, type ListContentsResponse, type ListContentsResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListHookFamiliesData, type ListHookFamiliesError, type ListHookFamiliesErrors, type ListHookFamiliesResponse, type ListHookFamiliesResponses, type ListMediaCommentsData, type ListMediaCommentsError, type ListMediaCommentsErrors, type ListMediaCommentsResponse, type ListMediaCommentsResponses, type ListMissingMediaData, type ListMissingMediaError, type ListMissingMediaErrors, type ListMissingMediaResponse, type ListMissingMediaResponses, type ListMusicData, type ListMusicError, type ListMusicErrors, type ListMusicPillarsData, type ListMusicPillarsError, type ListMusicPillarsErrors, type ListMusicPillarsResponse, type ListMusicPillarsResponses, type ListMusicResponse, type ListMusicResponses, type ListNotificationsData, type ListNotificationsError, type ListNotificationsErrors, type ListNotificationsResponse, type ListNotificationsResponses, type ListPostsAwaitingApprovalData, type ListPostsAwaitingApprovalError, type ListPostsAwaitingApprovalErrors, type ListPostsAwaitingApprovalResponse, type ListPostsAwaitingApprovalResponses, type ListPostsData, type ListPostsError, type ListPostsErrors, type ListPostsResponse, type ListPostsResponses, type ListUndatedDraftsData, type ListUndatedDraftsError, type ListUndatedDraftsErrors, type ListUndatedDraftsResponse, type ListUndatedDraftsResponses, type ListVideoPerformanceData, type ListVideoPerformanceError, type ListVideoPerformanceErrors, type ListVideoPerformanceResponse, type ListVideoPerformanceResponses, type ListWebhookEventsData, type ListWebhookEventsError, type ListWebhookEventsErrors, type ListWebhookEventsResponse, type ListWebhookEventsResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkspacesData, type ListWorkspacesError, type ListWorkspacesErrors, type ListWorkspacesResponse, type ListWorkspacesResponses, type MediaDto, type MediaResponseDto, type MediaTaggedDto, type MediaWorkspacesDto, type MissingContentItemDto, type MoveContentData, type MoveContentDto, type MoveContentError, type MoveContentErrors, type MoveContentResponse, type MoveContentResponses, type MusicImportDto, type MusicImportItemDto, type MusicImportResultDto, type MusicListResultDto, type MusicPillarDto, type MusicTrackDto, Nadia, NadiaConfirmationRequired, NadiaError, type NadiaOptions, NadiaWebhookError, type NotificationDto, type NotificationsPageDto, type OkDto, type Options, type PollAutomationPoseData, type PollAutomationPoseError, type PollAutomationPoseErrors, type PollAutomationPoseResponse, type PollAutomationPoseResponses, type PollInboxData, type PollInboxError, type PollInboxErrors, type PollInboxResponse, type PollInboxResponses, type PoseAutomationFlowData, type PoseAutomationFlowDto, type PoseAutomationFlowError, type PoseAutomationFlowErrors, type PoseAutomationFlowResponse, type PoseAutomationFlowResponses, type Post, type PostAnswerResultDto, type PostApprovalDto, type PostAutomationDto, type PostAutomationResponseDto, type PostContent, type PostDetailDto, type PostDto, type PostIntegrationSummaryDto, type PostLinkClicksDto, type PostLinkClicksSourceDto, type PostListDto, type PostMediaDto, type PostPublicationDto, type PostStatusDto, type PostTagDto, type PostThreadCommentDto, type PostingTimeItemDto, type PostingTimesDto, type PostingTimesResultDto, type PreviewAutomationEmailData, type PreviewAutomationEmailError, type PreviewAutomationEmailErrors, type PreviewAutomationEmailResponse, type PreviewAutomationEmailResponses, type PreviewAutomationPoseCatchUpData, type PreviewAutomationPoseCatchUpError, type PreviewAutomationPoseCatchUpErrors, type PreviewAutomationPoseCatchUpResponse, type PreviewAutomationPoseCatchUpResponses, type PublicCreatePostDto, type RefusePostData, type RefusePostDto, type RefusePostError, type RefusePostErrors, type RefusePostResponse, type RefusePostResponses, type RemovePostAutomationData, type RemovePostAutomationError, type RemovePostAutomationErrors, type RemovePostAutomationResponse, type RemovePostAutomationResponses, type ReplayAutomationPoseData, type ReplayAutomationPoseError, type ReplayAutomationPoseErrors, type ReplayAutomationPoseResponse, type ReplayAutomationPoseResponses, type ReplayPoseDto, type ReplyToCommentData, type ReplyToCommentDto, type ReplyToCommentError, type ReplyToCommentErrors, type ReplyToCommentResponse, type ReplyToCommentResponses, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RunChannelToolData, type RunChannelToolError, type RunChannelToolErrors, type RunChannelToolResponse, type RunChannelToolResponses, type SearchHooksData, type SearchHooksError, type SearchHooksErrors, type SearchHooksResponse, type SearchHooksResponses, type SendAutomationTestEmailData, type SendAutomationTestEmailError, type SendAutomationTestEmailErrors, type SendAutomationTestEmailResponse, type SendAutomationTestEmailResponses, type SendDirectMessageData, type SendDirectMessageError, type SendDirectMessageErrors, type SendDirectMessageResponse, type SendDirectMessageResponses, type SendMessageDto, type SetAutomationFlowStatusData, type SetAutomationFlowStatusError, type SetAutomationFlowStatusErrors, type SetAutomationFlowStatusResponse, type SetAutomationFlowStatusResponses, type SetContentWorkspacesData, type SetContentWorkspacesDto, type SetContentWorkspacesError, type SetContentWorkspacesErrors, type SetContentWorkspacesResponse, type SetContentWorkspacesResponses, type SetMediaWorkspacesData, type SetMediaWorkspacesDto, type SetMediaWorkspacesError, type SetMediaWorkspacesErrors, type SetMediaWorkspacesResponse, type SetMediaWorkspacesResponses, type SetPostAutomationData, type SetPostAutomationError, type SetPostAutomationErrors, type SetPostAutomationResponse, type SetPostAutomationResponses, type SetPostCoverData, type SetPostCoverDto, type SetPostCoverError, type SetPostCoverErrors, type SetPostCoverResponse, type SetPostCoverResponses, type SetPostPublicationData, type SetPostPublicationDto, type SetPostPublicationError, type SetPostPublicationErrors, type SetPostPublicationResponse, type SetPostPublicationResponses, type SetPostReleaseIdData, type SetPostReleaseIdError, type SetPostReleaseIdErrors, type SetPostReleaseIdResponse, type SetPostReleaseIdResponses, type SetPostThreadCommentDto, type SetPostThreadData, type SetPostThreadDto, type SetPostThreadError, type SetPostThreadErrors, type SetPostThreadResponse, type SetPostThreadResponses, type SetPostingTimesData, type SetPostingTimesError, type SetPostingTimesErrors, type SetPostingTimesResponse, type SetPostingTimesResponses, type SocialAuthUrlDto, type StartChannelConnectionData, type StartChannelConnectionError, type StartChannelConnectionErrors, type StartChannelConnectionResponse, type StartChannelConnectionResponses, type SubscribeInboxWebhookData, type SubscribeInboxWebhookError, type SubscribeInboxWebhookErrors, type SubscribeInboxWebhookResponse, type SubscribeInboxWebhookResponses, type SubscriptionDto, type SuccessDto, type Tags, type TestWebhookData, type TestWebhookDto, type TestWebhookError, type TestWebhookErrors, type TestWebhookResponse, type TestWebhookResponses, type UpdateApiKeyData, type UpdateApiKeyDto, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateAutomationFlowData, type UpdateAutomationFlowDto, type UpdateAutomationFlowError, type UpdateAutomationFlowErrors, type UpdateAutomationFlowPoseDto, type UpdateAutomationFlowResponse, type UpdateAutomationFlowResponses, type UpdateAutomationPoseData, type UpdateAutomationPoseError, type UpdateAutomationPoseErrors, type UpdateAutomationPoseResponse, type UpdateAutomationPoseResponses, type UpdateContentData, type UpdateContentDto, type UpdateContentError, type UpdateContentErrors, type UpdateContentResponse, type UpdateContentResponses, type UpdateReleaseIdDto, type UpdateWorkspaceData, type UpdateWorkspaceDto, type UpdateWorkspaceError, type UpdateWorkspaceErrors, type UpdateWorkspaceResponse, type UpdateWorkspaceResponses, type UploadDto, type UploadErrorDto, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFromUrlData, type UploadFromUrlError, type UploadFromUrlErrors, type UploadFromUrlResponse, type UploadFromUrlResponses, type UploadMusicFileData, type UploadMusicFileError, type UploadMusicFileErrors, type UploadMusicFileResponse, type UploadMusicFileResponses, type UploadSessionDto, type UploadedMedia, type UpsertContentData, type UpsertContentDto, type UpsertContentError, type UpsertContentErrors, type UpsertContentResponse, type UpsertContentResponses, type UrlImportDto, type UrlImportErrorDto, type VerifyWebhookOptions, type VideoHistoryItemDto, type VideoHistoryPageDto, type VideoIdentityDto, type ViewsPerDayDto, type ViewsPerDayItemDto, type WebhookCreatedDto, type WebhookDelivery, type WebhookDto, type WebhookEventDto, type WebhookEventListDto, type WebhookTestResultDto, type WebhooksIntegrationDto, type WorkspaceDeletedDto, type WorkspaceDto, type WorkspaceErrorDto, type WorkspaceRefDto, approvePost, catchUpAutomationPose, changePostStatus, checkConnection, commentPublication, confirmUpload, createApiKey, createAutomationFlow, createContent, createContentFromLink, createPost, createUpload, createWebhook, createWorkspace, Nadia as default, deleteAutomationFlow, deleteAutomationPose, deleteChannel, deleteComment, deleteContent, deletePost, deletePostGroup, deleteWebhook, deleteWorkspace, findSlot, getAccountHistory, getAutomationFlow, getAutomationPose, getChannelAnalytics, getChannelSettings, getContent, getContentsPerformance, getConversation, getHookForms, getMusicTrack, getPost, getPostAnalytics, getPostAutomation, getPostingTimes, getSubscription, getUploadFromUrl, getVideoHistory, getViewsPerDay, getWebhook, hideComment, importMusic, linkContentPost, listApiKeys, listAutomationFlowPoses, listAutomationFlows, listAutomationPoseRuns, listChannelAutomationPoses, listChannelMedia, listChannelStories, listChannels, listContents, listConversations, listGroups, listHookFamilies, listMediaComments, listMissingMedia, listMusic, listMusicPillars, listNotifications, listPosts, listPostsAwaitingApproval, listUndatedDrafts, listVideoPerformance, listWebhookEvents, listWebhooks, listWorkspaces, moveContent, parseWebhook, pollAutomationPose, pollInbox, poseAutomationFlow, previewAutomationEmail, previewAutomationPoseCatchUp, refusePost, removePostAutomation, replayAutomationPose, replyToComment, revokeApiKey, rotateApiKey, runChannelTool, searchHooks, sendAutomationTestEmail, sendDirectMessage, setAutomationFlowStatus, setContentWorkspaces, setMediaWorkspaces, setPostAutomation, setPostCover, setPostPublication, setPostReleaseId, setPostThread, setPostingTimes, startChannelConnection, subscribeInboxWebhook, testWebhook, updateApiKey, updateAutomationFlow, updateAutomationPose, updateContent, updateWorkspace, uploadContentType, uploadFile, uploadFromUrl, uploadMusicFile, upsertContent, verifyWebhookSignature };
|