@usenadia/node 0.3.0 → 0.4.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/dist/index.d.ts CHANGED
@@ -711,6 +711,42 @@ type DeletedIdDto = {
711
711
  */
712
712
  id: string;
713
713
  };
714
+ type DeletedPostDto = {
715
+ /**
716
+ * Id of the deleted post, or the group for a group.
717
+ */
718
+ id: string;
719
+ /**
720
+ * What the deletion did to each post of the group (one per channel).
721
+ */
722
+ posts: Array<{
723
+ postId: string;
724
+ /**
725
+ * The channel's name.
726
+ */
727
+ channel?: string;
728
+ /**
729
+ * The platform, e.g. LinkedIn.
730
+ */
731
+ platform: string;
732
+ /**
733
+ * The post's state before the deletion.
734
+ */
735
+ state: string;
736
+ /**
737
+ * `cancelled`: not published yet, it never goes out. `removedFromNadiaOnly`: already out, only its copy in UseNadia is removed, the post stays online on the platform. `deletedOnPlatform`: already out, deleted at its platform for good (asked with `deleteOnPlatform=true`) and removed from UseNadia.
738
+ */
739
+ outcome: 'cancelled' | 'removedFromNadiaOnly' | 'deletedOnPlatform';
740
+ /**
741
+ * The post is out and stays online on the platform.
742
+ */
743
+ stillOnline: boolean;
744
+ /**
745
+ * The post is live on a platform where UseNadia can delete it too (with `deleteOnPlatform=true`).
746
+ */
747
+ deletableOnPlatform: boolean;
748
+ }>;
749
+ };
714
750
  type IsConnectedDto = {
715
751
  /**
716
752
  * Always true — the route exists to validate an API key.
@@ -2881,6 +2917,29 @@ type ContentWorkspacesDto = {
2881
2917
  */
2882
2918
  workspaces: Array<string>;
2883
2919
  };
2920
+ /**
2921
+ * The answer of an action that waits for a yes (Settings › Developers, the same columns as the MCP): nothing was done yet.
2922
+ */
2923
+ type ConfirmationRequiredDto = {
2924
+ /**
2925
+ * Always true.
2926
+ */
2927
+ needsConfirmation: boolean;
2928
+ /**
2929
+ * What the action will do: `action` (its kind, e.g. `post.delete`), `request`, and for a post deletion `group`, `effect` (per post) and `warning` (a deletion on a platform).
2930
+ */
2931
+ preview: {
2932
+ [key: string]: unknown;
2933
+ };
2934
+ /**
2935
+ * Send the same request again with `?confirmationToken=` and this value. Single use, 15 minutes.
2936
+ */
2937
+ confirmationToken?: string;
2938
+ /**
2939
+ * What to do, in words.
2940
+ */
2941
+ errors: string;
2942
+ };
2884
2943
  type UploadFileData = {
2885
2944
  body: {
2886
2945
  file: Blob | File;
@@ -3242,7 +3301,16 @@ type DeletePostData = {
3242
3301
  path: {
3243
3302
  id: string;
3244
3303
  };
3245
- query?: never;
3304
+ query?: {
3305
+ /**
3306
+ * `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn, LinkedIn Page, X, Facebook Page, Pinterest, Google Business Profile, Mastodon, 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
+ */
3308
+ 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
+ };
3246
3314
  url: '/public/v1/posts/{id}';
3247
3315
  };
3248
3316
  type DeletePostErrors = {
@@ -3258,10 +3326,17 @@ type DeletePostErrors = {
3258
3326
  * The channel, post or record named in the path does not belong to your organisation.
3259
3327
  */
3260
3328
  404: ApiErrorDto;
3329
+ /**
3330
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
3331
+ */
3332
+ 428: ConfirmationRequiredDto;
3261
3333
  };
3262
3334
  type DeletePostError = DeletePostErrors[keyof DeletePostErrors];
3263
3335
  type DeletePostResponses = {
3264
- 200: DeletedIdDto;
3336
+ /**
3337
+ * Deleted. `posts` says, per post, whether it was cancelled, deleted at its platform too, or only removed from UseNadia (still online on the platform).
3338
+ */
3339
+ 200: DeletedPostDto;
3265
3340
  };
3266
3341
  type DeletePostResponse = DeletePostResponses[keyof DeletePostResponses];
3267
3342
  type GetPostData = {
@@ -3292,7 +3367,16 @@ type DeletePostGroupData = {
3292
3367
  path: {
3293
3368
  group: string;
3294
3369
  };
3295
- query?: never;
3370
+ query?: {
3371
+ /**
3372
+ * `true` also deletes each published post of the group at its platform, for good, where UseNadia can (LinkedIn, LinkedIn Page, X, Facebook Page, Pinterest, Google Business Profile, Mastodon, 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
+ */
3374
+ 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
+ };
3296
3380
  url: '/public/v1/posts/group/{group}';
3297
3381
  };
3298
3382
  type DeletePostGroupErrors = {
@@ -3308,10 +3392,17 @@ type DeletePostGroupErrors = {
3308
3392
  * The channel, post or record named in the path does not belong to your organisation.
3309
3393
  */
3310
3394
  404: ApiErrorDto;
3395
+ /**
3396
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
3397
+ */
3398
+ 428: ConfirmationRequiredDto;
3311
3399
  };
3312
3400
  type DeletePostGroupError = DeletePostGroupErrors[keyof DeletePostGroupErrors];
3313
3401
  type DeletePostGroupResponses = {
3314
- 200: DeletedIdDto;
3402
+ /**
3403
+ * Deleted. `posts` says, per post, whether it was cancelled, deleted at its platform too, or only removed from UseNadia (still online on the platform).
3404
+ */
3405
+ 200: DeletedPostDto;
3315
3406
  };
3316
3407
  type DeletePostGroupResponse = DeletePostGroupResponses[keyof DeletePostGroupResponses];
3317
3408
  type CheckConnectionData = {
@@ -3621,7 +3712,12 @@ type ChangePostStatusData = {
3621
3712
  path: {
3622
3713
  id: string;
3623
3714
  };
3624
- query?: never;
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
+ };
3625
3721
  url: '/public/v1/posts/{id}/status';
3626
3722
  };
3627
3723
  type ChangePostStatusErrors = {
@@ -3637,6 +3733,10 @@ type ChangePostStatusErrors = {
3637
3733
  * The channel, post or record named in the path does not belong to your organisation.
3638
3734
  */
3639
3735
  404: ApiErrorDto;
3736
+ /**
3737
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
3738
+ */
3739
+ 428: ConfirmationRequiredDto;
3640
3740
  };
3641
3741
  type ChangePostStatusError = ChangePostStatusErrors[keyof ChangePostStatusErrors];
3642
3742
  type ChangePostStatusResponses = {
@@ -4117,7 +4217,12 @@ type ReplyToCommentData = {
4117
4217
  path: {
4118
4218
  commentId: string;
4119
4219
  };
4120
- query?: never;
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
+ };
4121
4226
  url: '/public/v1/inbox/comments/{commentId}/reply';
4122
4227
  };
4123
4228
  type ReplyToCommentErrors = {
@@ -4133,6 +4238,10 @@ type ReplyToCommentErrors = {
4133
4238
  * The channel, post or record named in the path does not belong to your organisation.
4134
4239
  */
4135
4240
  404: ApiErrorDto;
4241
+ /**
4242
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4243
+ */
4244
+ 428: ConfirmationRequiredDto;
4136
4245
  };
4137
4246
  type ReplyToCommentError = ReplyToCommentErrors[keyof ReplyToCommentErrors];
4138
4247
  type ReplyToCommentResponses = {
@@ -4145,7 +4254,12 @@ type HideCommentData = {
4145
4254
  integrationId: string;
4146
4255
  commentId: string;
4147
4256
  };
4148
- query?: never;
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
+ };
4149
4263
  url: '/public/v1/inbox/comments/{integrationId}/{commentId}/hide';
4150
4264
  };
4151
4265
  type HideCommentErrors = {
@@ -4161,6 +4275,10 @@ type HideCommentErrors = {
4161
4275
  * The channel, post or record named in the path does not belong to your organisation.
4162
4276
  */
4163
4277
  404: ApiErrorDto;
4278
+ /**
4279
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4280
+ */
4281
+ 428: ConfirmationRequiredDto;
4164
4282
  };
4165
4283
  type HideCommentError = HideCommentErrors[keyof HideCommentErrors];
4166
4284
  type HideCommentResponses = {
@@ -4173,7 +4291,12 @@ type DeleteCommentData = {
4173
4291
  integrationId: string;
4174
4292
  commentId: string;
4175
4293
  };
4176
- query?: never;
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
+ };
4177
4300
  url: '/public/v1/inbox/comments/{integrationId}/{commentId}';
4178
4301
  };
4179
4302
  type DeleteCommentErrors = {
@@ -4189,6 +4312,10 @@ type DeleteCommentErrors = {
4189
4312
  * The channel, post or record named in the path does not belong to your organisation.
4190
4313
  */
4191
4314
  404: ApiErrorDto;
4315
+ /**
4316
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4317
+ */
4318
+ 428: ConfirmationRequiredDto;
4192
4319
  };
4193
4320
  type DeleteCommentError = DeleteCommentErrors[keyof DeleteCommentErrors];
4194
4321
  type DeleteCommentResponses = {
@@ -4240,7 +4367,12 @@ type SendDirectMessageData = {
4240
4367
  path: {
4241
4368
  integrationId: string;
4242
4369
  };
4243
- query?: never;
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
+ };
4244
4376
  url: '/public/v1/inbox/{integrationId}/send';
4245
4377
  };
4246
4378
  type SendDirectMessageErrors = {
@@ -4256,6 +4388,10 @@ type SendDirectMessageErrors = {
4256
4388
  * The channel, post or record named in the path does not belong to your organisation.
4257
4389
  */
4258
4390
  404: ApiErrorDto;
4391
+ /**
4392
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4393
+ */
4394
+ 428: ConfirmationRequiredDto;
4259
4395
  };
4260
4396
  type SendDirectMessageError = SendDirectMessageErrors[keyof SendDirectMessageErrors];
4261
4397
  type SendDirectMessageResponses = {
@@ -4458,7 +4594,12 @@ type DeleteAutomationFlowData = {
4458
4594
  path: {
4459
4595
  id: string;
4460
4596
  };
4461
- query?: never;
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
+ };
4462
4603
  url: '/public/v1/automation-flows/{id}';
4463
4604
  };
4464
4605
  type DeleteAutomationFlowErrors = {
@@ -4474,6 +4615,10 @@ type DeleteAutomationFlowErrors = {
4474
4615
  * The template, pose or channel named in the path does not belong to your organisation.
4475
4616
  */
4476
4617
  404: ApiErrorDto;
4618
+ /**
4619
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4620
+ */
4621
+ 428: ConfirmationRequiredDto;
4477
4622
  };
4478
4623
  type DeleteAutomationFlowError = DeleteAutomationFlowErrors[keyof DeleteAutomationFlowErrors];
4479
4624
  type DeleteAutomationFlowResponses = {
@@ -4593,7 +4738,12 @@ type PoseAutomationFlowData = {
4593
4738
  path: {
4594
4739
  id: string;
4595
4740
  };
4596
- query?: never;
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
+ };
4597
4747
  url: '/public/v1/automation-flows/{id}/poses';
4598
4748
  };
4599
4749
  type PoseAutomationFlowErrors = {
@@ -4609,6 +4759,10 @@ type PoseAutomationFlowErrors = {
4609
4759
  * The template, pose or channel named in the path does not belong to your organisation.
4610
4760
  */
4611
4761
  404: ApiErrorDto;
4762
+ /**
4763
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4764
+ */
4765
+ 428: ConfirmationRequiredDto;
4612
4766
  };
4613
4767
  type PoseAutomationFlowError = PoseAutomationFlowErrors[keyof PoseAutomationFlowErrors];
4614
4768
  type PoseAutomationFlowResponses = {
@@ -4658,7 +4812,12 @@ type DeleteAutomationPoseData = {
4658
4812
  path: {
4659
4813
  id: string;
4660
4814
  };
4661
- query?: never;
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
+ };
4662
4821
  url: '/public/v1/automation-flow-poses/{id}';
4663
4822
  };
4664
4823
  type DeleteAutomationPoseErrors = {
@@ -4674,6 +4833,10 @@ type DeleteAutomationPoseErrors = {
4674
4833
  * The template, pose or channel named in the path does not belong to your organisation.
4675
4834
  */
4676
4835
  404: ApiErrorDto;
4836
+ /**
4837
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4838
+ */
4839
+ 428: ConfirmationRequiredDto;
4677
4840
  };
4678
4841
  type DeleteAutomationPoseError = DeleteAutomationPoseErrors[keyof DeleteAutomationPoseErrors];
4679
4842
  type DeleteAutomationPoseResponses = {
@@ -4712,7 +4875,12 @@ type UpdateAutomationPoseData = {
4712
4875
  path: {
4713
4876
  id: string;
4714
4877
  };
4715
- query?: never;
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
+ };
4716
4884
  url: '/public/v1/automation-flow-poses/{id}';
4717
4885
  };
4718
4886
  type UpdateAutomationPoseErrors = {
@@ -4728,6 +4896,10 @@ type UpdateAutomationPoseErrors = {
4728
4896
  * The template, pose or channel named in the path does not belong to your organisation.
4729
4897
  */
4730
4898
  404: ApiErrorDto;
4899
+ /**
4900
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4901
+ */
4902
+ 428: ConfirmationRequiredDto;
4731
4903
  };
4732
4904
  type UpdateAutomationPoseError = UpdateAutomationPoseErrors[keyof UpdateAutomationPoseErrors];
4733
4905
  type UpdateAutomationPoseResponses = {
@@ -4795,7 +4967,12 @@ type ReplayAutomationPoseData = {
4795
4967
  path: {
4796
4968
  id: string;
4797
4969
  };
4798
- query?: never;
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
+ };
4799
4976
  url: '/public/v1/automation-flow-poses/{id}/replay';
4800
4977
  };
4801
4978
  type ReplayAutomationPoseErrors = {
@@ -4811,6 +4988,10 @@ type ReplayAutomationPoseErrors = {
4811
4988
  * The template, pose or channel named in the path does not belong to your organisation.
4812
4989
  */
4813
4990
  404: ApiErrorDto;
4991
+ /**
4992
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
4993
+ */
4994
+ 428: ConfirmationRequiredDto;
4814
4995
  };
4815
4996
  type ReplayAutomationPoseError = ReplayAutomationPoseErrors[keyof ReplayAutomationPoseErrors];
4816
4997
  type ReplayAutomationPoseResponses = {
@@ -4849,7 +5030,12 @@ type CatchUpAutomationPoseData = {
4849
5030
  path: {
4850
5031
  id: string;
4851
5032
  };
4852
- query?: never;
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
+ };
4853
5039
  url: '/public/v1/automation-flow-poses/{id}/catch-up';
4854
5040
  };
4855
5041
  type CatchUpAutomationPoseErrors = {
@@ -4865,6 +5051,10 @@ type CatchUpAutomationPoseErrors = {
4865
5051
  * The template, pose or channel named in the path does not belong to your organisation.
4866
5052
  */
4867
5053
  404: ApiErrorDto;
5054
+ /**
5055
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
5056
+ */
5057
+ 428: ConfirmationRequiredDto;
4868
5058
  };
4869
5059
  type CatchUpAutomationPoseError = CatchUpAutomationPoseErrors[keyof CatchUpAutomationPoseErrors];
4870
5060
  type CatchUpAutomationPoseResponses = {
@@ -4924,7 +5114,12 @@ type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
4924
5114
  type CreateWebhookData = {
4925
5115
  body: CreatePublicWebhookDto;
4926
5116
  path?: never;
4927
- query?: 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
+ };
4928
5123
  url: '/public/v1/webhooks';
4929
5124
  };
4930
5125
  type CreateWebhookErrors = {
@@ -4940,6 +5135,10 @@ type CreateWebhookErrors = {
4940
5135
  * The channel, post or record named in the path does not belong to your organisation.
4941
5136
  */
4942
5137
  404: ApiErrorDto;
5138
+ /**
5139
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
5140
+ */
5141
+ 428: ConfirmationRequiredDto;
4943
5142
  };
4944
5143
  type CreateWebhookError = CreateWebhookErrors[keyof CreateWebhookErrors];
4945
5144
  type CreateWebhookResponses = {
@@ -4951,7 +5150,12 @@ type DeleteWebhookData = {
4951
5150
  path: {
4952
5151
  id: string;
4953
5152
  };
4954
- query?: never;
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
+ };
4955
5159
  url: '/public/v1/webhooks/{id}';
4956
5160
  };
4957
5161
  type DeleteWebhookErrors = {
@@ -4967,6 +5171,10 @@ type DeleteWebhookErrors = {
4967
5171
  * The channel, post or record named in the path does not belong to your organisation.
4968
5172
  */
4969
5173
  404: ApiErrorDto;
5174
+ /**
5175
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
5176
+ */
5177
+ 428: ConfirmationRequiredDto;
4970
5178
  };
4971
5179
  type DeleteWebhookError = DeleteWebhookErrors[keyof DeleteWebhookErrors];
4972
5180
  type DeleteWebhookResponses = {
@@ -5134,7 +5342,12 @@ type DeleteContentData = {
5134
5342
  path: {
5135
5343
  id: string;
5136
5344
  };
5137
- query?: never;
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
+ };
5138
5351
  url: '/public/v1/contents/{id}';
5139
5352
  };
5140
5353
  type DeleteContentErrors = {
@@ -5150,6 +5363,10 @@ type DeleteContentErrors = {
5150
5363
  * The card named in the path does not belong to your organisation.
5151
5364
  */
5152
5365
  404: ApiErrorDto;
5366
+ /**
5367
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
5368
+ */
5369
+ 428: ConfirmationRequiredDto;
5153
5370
  };
5154
5371
  type DeleteContentError = DeleteContentErrors[keyof DeleteContentErrors];
5155
5372
  type DeleteContentResponses = {
@@ -5617,7 +5834,12 @@ type DeleteWorkspaceData = {
5617
5834
  path: {
5618
5835
  id: string;
5619
5836
  };
5620
- query?: never;
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
+ };
5621
5843
  url: '/public/v1/workspaces/{id}';
5622
5844
  };
5623
5845
  type DeleteWorkspaceErrors = {
@@ -5633,6 +5855,10 @@ type DeleteWorkspaceErrors = {
5633
5855
  * No workspace of your organisation has this id.
5634
5856
  */
5635
5857
  404: WorkspaceErrorDto;
5858
+ /**
5859
+ * Nothing was done: in Settings › Developers this action waits for a yes (the same columns as the MCP). Show `preview` to the user, get an explicit yes, then send the same request again with `?confirmationToken=`.
5860
+ */
5861
+ 428: ConfirmationRequiredDto;
5636
5862
  };
5637
5863
  type DeleteWorkspaceError = DeleteWorkspaceErrors[keyof DeleteWorkspaceErrors];
5638
5864
  type DeleteWorkspaceResponses = {
@@ -5743,7 +5969,9 @@ declare const listPosts: <ThrowOnError extends boolean = false>(options: Options
5743
5969
  */
5744
5970
  declare const createPost: <ThrowOnError extends boolean = false>(options: Options<CreatePostData, ThrowOnError>) => RequestResult<CreatePostResponses, CreatePostErrors, ThrowOnError>;
5745
5971
  /**
5746
- * Delete a post and everything published with it
5972
+ * Delete a post and everything scheduled with it
5973
+ *
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. When deleting a post (or deleting it on its platform) waits for a yes in Settings › Developers — the default — the first call answers `428` with the preview and a `confirmationToken`, and deletes nothing.
5747
5975
  */
5748
5976
  declare const deletePost: <ThrowOnError extends boolean = false>(options: Options<DeletePostData, ThrowOnError>) => RequestResult<DeletePostResponses, DeletePostErrors, ThrowOnError>;
5749
5977
  /**
@@ -5754,6 +5982,8 @@ declare const deletePost: <ThrowOnError extends boolean = false>(options: Option
5754
5982
  declare const getPost: <ThrowOnError extends boolean = false>(options: Options<GetPostData, ThrowOnError>) => RequestResult<GetPostResponses, GetPostErrors, ThrowOnError>;
5755
5983
  /**
5756
5984
  * Delete a publication group
5985
+ *
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. When deleting a post (or deleting it on its platform) waits for a yes in Settings › Developers — the default — the first call answers `428` with the preview and a `confirmationToken`, and deletes nothing.
5757
5987
  */
5758
5988
  declare const deletePostGroup: <ThrowOnError extends boolean = false>(options: Options<DeletePostGroupData, ThrowOnError>) => RequestResult<DeletePostGroupResponses, DeletePostGroupErrors, ThrowOnError>;
5759
5989
  /**
@@ -6150,6 +6380,37 @@ declare class NadiaError extends Error {
6150
6380
  */
6151
6381
  get isTransient(): boolean;
6152
6382
  }
6383
+ /** What a `428` says the action will do: `action` (e.g. `post.delete`), `request`, and more per action. */
6384
+ type ConfirmationPreview = {
6385
+ action?: string;
6386
+ request?: string;
6387
+ [key: string]: unknown;
6388
+ };
6389
+ /**
6390
+ * Thrown on a `428`: the action waits for a yes (Settings › Developers, the
6391
+ * same columns as the MCP) and **nothing was done**. Show {@link preview} to
6392
+ * the user; once they said yes, {@link confirm} sends the same request again
6393
+ * with {@link confirmationToken} (single use, 15 minutes).
6394
+ *
6395
+ * try {
6396
+ * await nadia.deletePost(id);
6397
+ * } catch (err) {
6398
+ * if (!(err instanceof NadiaConfirmationRequired)) throw err;
6399
+ * console.log(err.preview);
6400
+ * if (await askUser('Delete?')) await err.confirm();
6401
+ * }
6402
+ *
6403
+ * `new Nadia(key, { autoConfirm: true })` skips the question: every `428` is
6404
+ * confirmed at once — only for a program that already has the user's yes.
6405
+ */
6406
+ declare class NadiaConfirmationRequired extends NadiaError {
6407
+ readonly preview: ConfirmationPreview;
6408
+ readonly confirmationToken: string;
6409
+ private readonly replay;
6410
+ constructor(body: unknown, replay: (token: string) => Promise<unknown>);
6411
+ /** Sends the same request again with the token: the action runs. Resolves to its answer. */
6412
+ confirm<T = unknown>(): Promise<T>;
6413
+ }
6153
6414
  interface NadiaOptions {
6154
6415
  /** Defaults to `https://app.usenadia.com/api`. */
6155
6416
  baseUrl?: string;
@@ -6166,6 +6427,13 @@ interface NadiaOptions {
6166
6427
  intervalMs?: number;
6167
6428
  timeoutMs?: number;
6168
6429
  };
6430
+ /**
6431
+ * An action that waits for a yes answers `428` (Settings › Developers):
6432
+ * by default the SDK throws {@link NadiaConfirmationRequired}. `true`
6433
+ * sends the same request again with its token at once, so the action runs.
6434
+ * Only for a program that already has the user's yes. Default `false`.
6435
+ */
6436
+ autoConfirm?: boolean;
6169
6437
  }
6170
6438
  /** Shape every generated operation resolves to. */
6171
6439
  type GeneratedResult<T> = {
@@ -6203,6 +6471,7 @@ declare class Nadia {
6203
6471
  /** For the bytes of an upload, which go to the upload host, not the API. */
6204
6472
  private readonly fetchImpl;
6205
6473
  private readonly importPoll;
6474
+ private readonly autoConfirm;
6206
6475
  constructor(apiKey: string, options?: string | NadiaOptions);
6207
6476
  /**
6208
6477
  * Runs a generated operation, turns a non-2xx into a `NadiaError`, and
@@ -6210,6 +6479,8 @@ declare class Nadia {
6210
6479
  * the whole point of the facade.
6211
6480
  */
6212
6481
  private call;
6482
+ /** A fetch that sends each request with `?confirmationToken=<token>`. */
6483
+ private withToken;
6213
6484
  /** Schedule, publish or draft a post on one or more channels. */
6214
6485
  post(body: CreatePostBody): Promise<CreatePostResultItemDto[]>;
6215
6486
  /** List posts in a date range. */
@@ -6263,8 +6534,14 @@ declare class Nadia {
6263
6534
  private put;
6264
6535
  /** List your connected channels. */
6265
6536
  integrations(): Promise<IntegrationListItemDto[]>;
6266
- /** Delete a post and everything published with it. */
6267
- deletePost(id: string): Promise<DeletedIdDto>;
6537
+ /**
6538
+ * Delete a post and everything published with it. Waits for a yes by
6539
+ * default: throws {@link NadiaConfirmationRequired} unless `autoConfirm`,
6540
+ * or unless the token of that 428 is passed here.
6541
+ */
6542
+ deletePost(id: string, options?: {
6543
+ confirmationToken?: string;
6544
+ }): Promise<DeletedPostDto>;
6268
6545
  /** Check that the API key is valid. Throws `NadiaError` with status 401 if not. */
6269
6546
  isConnected(): Promise<boolean>;
6270
6547
  /** Next free slot in a channel's schedule. */
@@ -6300,8 +6577,10 @@ declare class Nadia {
6300
6577
  * the first of them goes live.
6301
6578
  */
6302
6579
  linkContentPost(id: string, postGroup: string): Promise<OkDto>;
6303
- /** Delete a card. */
6304
- deleteContent(id: string): Promise<ContentDto>;
6580
+ /** Delete a card. Waits for a yes by default, like {@link Nadia.deletePost}. */
6581
+ deleteContent(id: string, options?: {
6582
+ confirmationToken?: string;
6583
+ }): Promise<ContentDto>;
6305
6584
  /** The numbers of the published cards, keyed by card id. */
6306
6585
  contentsPerformance(): Promise<{
6307
6586
  [key: string]: ContentPerformanceDto;
@@ -6382,4 +6661,4 @@ declare function parseWebhook<T = unknown>(options: {
6382
6661
  now?: number;
6383
6662
  }): WebhookDelivery<T>;
6384
6663
 
6385
- 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 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 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, 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 };
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 };