@smartlyqofficial/node 0.1.4 → 0.1.5

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
@@ -4113,6 +4113,54 @@ type GetMeBalanceResponses = {
4113
4113
  200: BalanceResponse;
4114
4114
  };
4115
4115
  type GetMeBalanceResponse = GetMeBalanceResponses[keyof GetMeBalanceResponses];
4116
+ type DisconnectSocialAccountData = {
4117
+ body?: never;
4118
+ path: {
4119
+ /**
4120
+ * Connected account id
4121
+ */
4122
+ account_id: number;
4123
+ };
4124
+ query?: never;
4125
+ url: '/social/accounts/{account_id}';
4126
+ };
4127
+ type DisconnectSocialAccountErrors = {
4128
+ /**
4129
+ * Missing or invalid API key
4130
+ */
4131
+ 401: ErrorResponse;
4132
+ /**
4133
+ * Forbidden (scope or access)
4134
+ */
4135
+ 403: ErrorResponse;
4136
+ /**
4137
+ * Resource not found
4138
+ */
4139
+ 404: ErrorResponse;
4140
+ /**
4141
+ * Validation error
4142
+ */
4143
+ 422: ErrorResponse;
4144
+ /**
4145
+ * Internal server error
4146
+ */
4147
+ 500: ErrorResponse;
4148
+ };
4149
+ type DisconnectSocialAccountError = DisconnectSocialAccountErrors[keyof DisconnectSocialAccountErrors];
4150
+ type DisconnectSocialAccountResponses = {
4151
+ /**
4152
+ * Success
4153
+ */
4154
+ 200: {
4155
+ success?: true;
4156
+ /**
4157
+ * No payload on success.
4158
+ */
4159
+ data?: null;
4160
+ meta?: RequestMeta;
4161
+ };
4162
+ };
4163
+ type DisconnectSocialAccountResponse = DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses];
4116
4164
  type UpdateSocialAccountData = {
4117
4165
  body: {
4118
4166
  account_name: string;
@@ -5709,6 +5757,38 @@ type CreateContactResponses = {
5709
5757
  */
5710
5758
  201: unknown;
5711
5759
  };
5760
+ type DeleteContactData = {
5761
+ body?: never;
5762
+ path: {
5763
+ id: number;
5764
+ };
5765
+ query?: never;
5766
+ url: '/contacts/{id}';
5767
+ };
5768
+ type DeleteContactErrors = {
5769
+ /**
5770
+ * Missing or invalid API key
5771
+ */
5772
+ 401: ErrorResponse;
5773
+ /**
5774
+ * Resource not found
5775
+ */
5776
+ 404: ErrorResponse;
5777
+ };
5778
+ type DeleteContactError = DeleteContactErrors[keyof DeleteContactErrors];
5779
+ type DeleteContactResponses = {
5780
+ /**
5781
+ * Deleted
5782
+ */
5783
+ 200: {
5784
+ success?: true;
5785
+ data?: {
5786
+ [key: string]: unknown;
5787
+ };
5788
+ meta?: RequestMeta;
5789
+ };
5790
+ };
5791
+ type DeleteContactResponse = DeleteContactResponses[keyof DeleteContactResponses];
5712
5792
  type GetContactData = {
5713
5793
  body?: never;
5714
5794
  path: {
@@ -8346,192 +8426,1748 @@ type AnalyticsPostTimelineResponses = {
8346
8426
  };
8347
8427
  };
8348
8428
  type AnalyticsPostTimelineResponse = AnalyticsPostTimelineResponses[keyof AnalyticsPostTimelineResponses];
8349
-
8350
- /** Account endpoints. */
8351
- declare class AccountResource {
8352
- private readonly _client;
8353
- constructor(_client: CoreClient);
8354
- /** Get current user profile `GET /me` */
8355
- getMe(options?: RequestOptions): Promise<GetMeResponses[keyof GetMeResponses]>;
8356
- /** Get usage summary `GET /me/usage` */
8357
- getMeUsage(query?: GetMeUsageData['query'], options?: RequestOptions): Promise<GetMeUsageResponses[keyof GetMeUsageResponses]>;
8358
- /** Get wallet balance `GET /me/balance` */
8359
- getMeBalance(options?: RequestOptions): Promise<GetMeBalanceResponses[keyof GetMeBalanceResponses]>;
8360
- }
8361
- /** AI Captain endpoints. */
8362
- declare class CaptainResource {
8363
- private readonly _client;
8364
- constructor(_client: CoreClient);
8365
- /** Send AI Captain message `POST /captain/messages` */
8366
- sendMessage(body: SendCaptainMessageData['body'], options?: RequestOptions): Promise<SendCaptainMessageResponses[keyof SendCaptainMessageResponses]>;
8367
- /** List AI Captain conversations `GET /captain/conversations` */
8368
- listConversations(query?: ListCaptainConversationsData['query'], options?: RequestOptions): Promise<ListCaptainConversationsResponses[keyof ListCaptainConversationsResponses]>;
8369
- /** Get AI Captain conversation `GET /captain/conversations/{conversation_id}` */
8370
- getConversation(conversationId: string, options?: RequestOptions): Promise<GetCaptainConversationResponses[keyof GetCaptainConversationResponses]>;
8371
- }
8372
- /** Analytics endpoints. */
8373
- declare class AnalyticsResource {
8374
- private readonly _client;
8375
- constructor(_client: CoreClient);
8376
- /** Get analytics overview `GET /analytics/overview` */
8377
- getOverview(query?: GetAnalyticsOverviewData['query'], options?: RequestOptions): Promise<GetAnalyticsOverviewResponses[keyof GetAnalyticsOverviewResponses]>;
8378
- /** Get post analytics `GET /analytics/posts` */
8379
- getPosts(query?: GetAnalyticsPostsData['query'], options?: RequestOptions): Promise<GetAnalyticsPostsResponses[keyof GetAnalyticsPostsResponses]>;
8380
- /** Get account analytics `GET /analytics/accounts/{account_id}` */
8381
- getAccount(accountId: string, query?: GetAnalyticsAccountData['query'], options?: RequestOptions): Promise<GetAnalyticsAccountResponses[keyof GetAnalyticsAccountResponses]>;
8382
- /** Daily metrics `GET /analytics/daily-metrics` */
8383
- dailyMetrics(query?: AnalyticsDailyMetricsData['query'], options?: RequestOptions): Promise<AnalyticsDailyMetricsResponses[keyof AnalyticsDailyMetricsResponses]>;
8384
- /** Best time to post `GET /analytics/best-time` */
8385
- bestTime(query?: AnalyticsBestTimeData['query'], options?: RequestOptions): Promise<AnalyticsBestTimeResponses[keyof AnalyticsBestTimeResponses]>;
8386
- /** Content decay `GET /analytics/content-decay` */
8387
- contentDecay(query?: AnalyticsContentDecayData['query'], options?: RequestOptions): Promise<AnalyticsContentDecayResponses[keyof AnalyticsContentDecayResponses]>;
8388
- /** Posting frequency vs engagement `GET /analytics/posting-frequency` */
8389
- postingFrequency(query?: AnalyticsPostingFrequencyData['query'], options?: RequestOptions): Promise<AnalyticsPostingFrequencyResponses[keyof AnalyticsPostingFrequencyResponses]>;
8390
- /** Post metric timeline `GET /analytics/posts/{post_id}/timeline` */
8391
- postTimeline(postId: string, options?: RequestOptions): Promise<AnalyticsPostTimelineResponses[keyof AnalyticsPostTimelineResponses]>;
8392
- }
8393
- /** Articles endpoints. */
8394
- declare class ArticlesResource {
8395
- private readonly _client;
8396
- constructor(_client: CoreClient);
8397
- /** Generate article `POST /articles/generate` */
8398
- generate(body: GenerateArticleData['body'], options?: RequestOptions): Promise<GenerateArticleResponses[keyof GenerateArticleResponses]>;
8399
- /** List articles `GET /articles` */
8400
- list(query?: ListArticlesData['query'], options?: RequestOptions): Promise<ListArticlesResponses[keyof ListArticlesResponses]>;
8401
- /** Get article `GET /articles/{article_id}` */
8402
- get(articleId: string, options?: RequestOptions): Promise<GetArticleResponses[keyof GetArticleResponses]>;
8403
- /** Delete article `DELETE /articles/{article_id}` */
8404
- delete(articleId: string, options?: RequestOptions): Promise<DeleteArticleResponses[keyof DeleteArticleResponses]>;
8405
- }
8406
- /** Audio endpoints. */
8407
- declare class AudioResource {
8408
- private readonly _client;
8409
- constructor(_client: CoreClient);
8410
- /** Text to speech `POST /audio/text-to-speech` */
8411
- textToSpeech(body: TextToSpeechData['body'], options?: RequestOptions): Promise<TextToSpeechResponses[keyof TextToSpeechResponses]>;
8412
- /** Speech to text `POST /audio/speech-to-text` */
8413
- speechToText(body: SpeechToTextData['body'], options?: RequestOptions): Promise<SpeechToTextResponses[keyof SpeechToTextResponses]>;
8414
- /** Get audio `GET /audio/{audio_id}` */
8415
- get(audioId: string, options?: RequestOptions): Promise<GetAudioResponses[keyof GetAudioResponses]>;
8416
- }
8417
- /** Chatbot endpoints. */
8418
- declare class ChatbotsResource {
8419
- private readonly _client;
8420
- constructor(_client: CoreClient);
8421
- /** List chatbots `GET /chatbots` */
8422
- list(query?: ListChatbotsData['query'], options?: RequestOptions): Promise<ListChatbotsResponses[keyof ListChatbotsResponses]>;
8423
- /** Create chatbot `POST /chatbots` */
8424
- create(body: CreateChatbotData['body'], options?: RequestOptions): Promise<CreateChatbotResponses[keyof CreateChatbotResponses]>;
8425
- /** Get chatbot `GET /chatbots/{id}` */
8426
- get(id: string, options?: RequestOptions): Promise<GetChatbotResponses[keyof GetChatbotResponses]>;
8427
- /** Update chatbot `PATCH /chatbots/{id}` */
8428
- update(id: string, body: UpdateChatbotData['body'], options?: RequestOptions): Promise<UpdateChatbotResponses[keyof UpdateChatbotResponses]>;
8429
- /** Delete chatbot `DELETE /chatbots/{id}` */
8430
- delete(id: string, options?: RequestOptions): Promise<DeleteChatbotResponses[keyof DeleteChatbotResponses]>;
8431
- /** Start chatbot training `POST /chatbots/{id}/train` */
8432
- train(id: string, options?: RequestOptions): Promise<TrainChatbotResponses[keyof TrainChatbotResponses]>;
8433
- /** Get chatbot training status `GET /chatbots/{id}/train-status` */
8434
- getTrainStatus(id: string, options?: RequestOptions): Promise<GetChatbotTrainStatusResponses[keyof GetChatbotTrainStatusResponses]>;
8435
- /** Send chatbot message `POST /chatbots/{id}/messages` */
8436
- sendMessage(id: string, body: SendChatbotMessageData['body'], options?: RequestOptions): Promise<SendChatbotMessageResponses[keyof SendChatbotMessageResponses]>;
8437
- /** List chatbot conversations `GET /chatbots/{id}/conversations` */
8438
- listConversations(id: string, query?: ListChatbotConversationsData['query'], options?: RequestOptions): Promise<ListChatbotConversationsResponses[keyof ListChatbotConversationsResponses]>;
8439
- /** Get conversation messages `GET /chatbots/{id}/conversations/{conv_id}/messages` */
8440
- getConversationMessages(id: string, convId: string, options?: RequestOptions): Promise<GetChatbotConversationMessagesResponses[keyof GetChatbotConversationMessagesResponses]>;
8441
- }
8442
- /** Comments endpoints. */
8443
- declare class CommentsResource {
8444
- private readonly _client;
8445
- constructor(_client: CoreClient);
8446
- /** List comments `GET /social/comments` */
8447
- list(query?: ListCommentsData['query'], options?: RequestOptions): Promise<ListCommentsResponses[keyof ListCommentsResponses]>;
8448
- /** Reply to a comment `POST /social/comments/{comment_id}/reply` */
8449
- replyTo(commentId: string, body: ReplyToCommentData['body'], options?: RequestOptions): Promise<ReplyToCommentResponses[keyof ReplyToCommentResponses]>;
8450
- /** Hide or unhide a comment `POST /social/comments/{comment_id}/hide` */
8451
- hide(commentId: string, options?: RequestOptions): Promise<HideCommentResponses[keyof HideCommentResponses]>;
8452
- /** Delete a comment `DELETE /social/comments/{comment_id}` */
8453
- delete(commentId: string, options?: RequestOptions): Promise<DeleteCommentResponses[keyof DeleteCommentResponses]>;
8454
- }
8455
- /** Content endpoints. */
8456
- declare class ContentResource {
8457
- private readonly _client;
8458
- constructor(_client: CoreClient);
8459
- /** Rewrite content `POST /content/rewrite` */
8460
- rewrite(body: RewriteContentData['body'], options?: RequestOptions): Promise<RewriteContentResponses[keyof RewriteContentResponses]>;
8461
- /** Generate a social caption `POST /content/caption` */
8462
- generateCaption(body?: GenerateCaptionData['body'], options?: RequestOptions): Promise<GenerateCaptionResponses[keyof GenerateCaptionResponses]>;
8463
- }
8464
- /** CRM Contacts endpoints. */
8465
- declare class ContactsResource {
8466
- private readonly _client;
8467
- constructor(_client: CoreClient);
8468
- /** List contacts `GET /contacts` */
8469
- list(query?: ListContactsData['query'], options?: RequestOptions): Promise<ListContactsResponses[keyof ListContactsResponses]>;
8470
- /** Create or upsert a contact `POST /contacts` */
8471
- create(body: CreateContactData['body'], options?: RequestOptions): Promise<CreateContactResponses[keyof CreateContactResponses]>;
8472
- /** Get a contact `GET /contacts/{id}` */
8473
- get(id: string, options?: RequestOptions): Promise<GetContactResponses[keyof GetContactResponses]>;
8474
- /** Update a contact `PATCH /contacts/{id}` */
8475
- update(id: string, body: UpdateContactData['body'], options?: RequestOptions): Promise<UpdateContactResponses[keyof UpdateContactResponses]>;
8476
- /** Add tags to a contact `POST /contacts/{id}/tags` */
8477
- addTags(id: string, body: AddContactTagsData['body'], options?: RequestOptions): Promise<AddContactTagsResponses[keyof AddContactTagsResponses]>;
8478
- /** Remove tags from a contact `DELETE /contacts/{id}/tags` */
8479
- removeTags(id: string, body: RemoveContactTagsData['body'], options?: RequestOptions): Promise<RemoveContactTagsResponses[keyof RemoveContactTagsResponses]>;
8480
- /** List contact notes `GET /contacts/{id}/notes` */
8481
- listNotes(id: string, options?: RequestOptions): Promise<ListContactNotesResponses[keyof ListContactNotesResponses]>;
8482
- /** Add a note to a contact `POST /contacts/{id}/notes` */
8483
- addNote(id: string, body: AddContactNoteData['body'], options?: RequestOptions): Promise<AddContactNoteResponses[keyof AddContactNoteResponses]>;
8484
- /** Enroll a contact in an automation `POST /contacts/{id}/enroll` */
8485
- enroll(id: string, body: EnrollContactData['body'], options?: RequestOptions): Promise<EnrollContactResponses[keyof EnrollContactResponses]>;
8486
- /** Log a message on a contact's timeline `POST /contacts/{id}/messages` */
8487
- addMessage(id: string, body: AddContactMessageData['body'], options?: RequestOptions): Promise<AddContactMessageResponses[keyof AddContactMessageResponses]>;
8488
- }
8489
- /** CRM Custom Fields endpoints. */
8490
- declare class CustomFieldsResource {
8491
- private readonly _client;
8492
- constructor(_client: CoreClient);
8493
- /** List custom fields `GET /custom-fields` */
8494
- list(options?: RequestOptions): Promise<ListCustomFieldsResponses[keyof ListCustomFieldsResponses]>;
8495
- /** Create a custom field `POST /custom-fields` */
8496
- create(body: CreateCustomFieldData['body'], options?: RequestOptions): Promise<CreateCustomFieldResponses[keyof CreateCustomFieldResponses]>;
8497
- /** Delete a custom field `DELETE /custom-fields/{id}` */
8498
- delete(id: string, options?: RequestOptions): Promise<DeleteCustomFieldResponses[keyof DeleteCustomFieldResponses]>;
8499
- }
8500
- /** CRM Opportunities endpoints. */
8501
- declare class OpportunitiesResource {
8502
- private readonly _client;
8503
- constructor(_client: CoreClient);
8504
- /** List pipelines `GET /pipelines` */
8505
- listPipelines(options?: RequestOptions): Promise<ListPipelinesResponses[keyof ListPipelinesResponses]>;
8506
- /** Create a pipeline `POST /pipelines` */
8507
- createPipeline(body: CreatePipelineData['body'], options?: RequestOptions): Promise<CreatePipelineResponses[keyof CreatePipelineResponses]>;
8508
- /** List opportunities `GET /opportunities` */
8509
- list(query?: ListOpportunitiesData['query'], options?: RequestOptions): Promise<ListOpportunitiesResponses[keyof ListOpportunitiesResponses]>;
8510
- /** Create an opportunity `POST /opportunities` */
8511
- create(body: CreateOpportunityData['body'], options?: RequestOptions): Promise<CreateOpportunityResponses[keyof CreateOpportunityResponses]>;
8512
- /** Get an opportunity `GET /opportunities/{id}` */
8513
- get(id: string, options?: RequestOptions): Promise<GetOpportunityResponses[keyof GetOpportunityResponses]>;
8514
- /** Update an opportunity `PATCH /opportunities/{id}` */
8515
- update(id: string, body: UpdateOpportunityData['body'], options?: RequestOptions): Promise<UpdateOpportunityResponses[keyof UpdateOpportunityResponses]>;
8516
- /** Delete an opportunity `DELETE /opportunities/{id}` */
8517
- delete(id: string, options?: RequestOptions): Promise<DeleteOpportunityResponses[keyof DeleteOpportunityResponses]>;
8518
- /** Update opportunity status `POST /opportunities/{id}/status` */
8519
- updateStatus(id: string, body: UpdateOpportunityStatusData['body'], options?: RequestOptions): Promise<UpdateOpportunityStatusResponses[keyof UpdateOpportunityStatusResponses]>;
8520
- }
8521
- /** Direct Messages endpoints. */
8522
- declare class MessagesResource {
8523
- private readonly _client;
8524
- constructor(_client: CoreClient);
8525
- /** List DM conversations `GET /social/conversations` */
8526
- listConversations(query?: ListConversationsData['query'], options?: RequestOptions): Promise<ListConversationsResponses[keyof ListConversationsResponses]>;
8527
- /** List messages in a conversation `GET /social/conversations/{conversation_id}/messages` */
8528
- list(conversationId: string, query?: ListMessagesData['query'], options?: RequestOptions): Promise<ListMessagesResponses[keyof ListMessagesResponses]>;
8529
- /** Send a direct message `POST /social/conversations/{conversation_id}/messages` */
8530
- send(conversationId: string, body: SendDirectMessageData['body'], options?: RequestOptions): Promise<SendDirectMessageResponses[keyof SendDirectMessageResponses]>;
8531
- /** Mark a conversation read `POST /social/conversations/{conversation_id}/read` */
8532
- markConversationRead(conversationId: string, options?: RequestOptions): Promise<MarkConversationReadResponses[keyof MarkConversationReadResponses]>;
8533
- }
8534
- /** Images endpoints. */
8429
+ type InboxVolumeData = {
8430
+ body?: never;
8431
+ path?: never;
8432
+ query?: {
8433
+ /**
8434
+ * Window in days.
8435
+ */
8436
+ days?: number;
8437
+ };
8438
+ url: '/analytics/inbox/volume';
8439
+ };
8440
+ type InboxVolumeErrors = {
8441
+ /**
8442
+ * Missing or invalid API key
8443
+ */
8444
+ 401: ErrorResponse;
8445
+ };
8446
+ type InboxVolumeError = InboxVolumeErrors[keyof InboxVolumeErrors];
8447
+ type InboxVolumeResponses = {
8448
+ /**
8449
+ * Volume
8450
+ */
8451
+ 200: {
8452
+ success?: true;
8453
+ data?: {
8454
+ days?: number;
8455
+ daily?: Array<{
8456
+ date?: string;
8457
+ incoming?: number;
8458
+ outgoing?: number;
8459
+ new_conversations?: number;
8460
+ }>;
8461
+ };
8462
+ meta?: RequestMeta;
8463
+ };
8464
+ };
8465
+ type InboxVolumeResponse = InboxVolumeResponses[keyof InboxVolumeResponses];
8466
+ type InboxHeatmapData = {
8467
+ body?: never;
8468
+ path?: never;
8469
+ query?: {
8470
+ /**
8471
+ * Window in days.
8472
+ */
8473
+ days?: number;
8474
+ timezone?: string;
8475
+ };
8476
+ url: '/analytics/inbox/heatmap';
8477
+ };
8478
+ type InboxHeatmapErrors = {
8479
+ /**
8480
+ * Missing or invalid API key
8481
+ */
8482
+ 401: ErrorResponse;
8483
+ /**
8484
+ * Validation error
8485
+ */
8486
+ 422: ErrorResponse;
8487
+ };
8488
+ type InboxHeatmapError = InboxHeatmapErrors[keyof InboxHeatmapErrors];
8489
+ type InboxHeatmapResponses = {
8490
+ /**
8491
+ * Heatmap
8492
+ */
8493
+ 200: {
8494
+ success?: true;
8495
+ data?: {
8496
+ days?: number;
8497
+ timezone?: string;
8498
+ sample?: number;
8499
+ /**
8500
+ * weekday -> array of 24 hourly counts
8501
+ */
8502
+ heatmap?: {
8503
+ [key: string]: unknown;
8504
+ };
8505
+ };
8506
+ meta?: RequestMeta;
8507
+ };
8508
+ };
8509
+ type InboxHeatmapResponse = InboxHeatmapResponses[keyof InboxHeatmapResponses];
8510
+ type InboxSourceBreakdownData = {
8511
+ body?: never;
8512
+ path?: never;
8513
+ query?: {
8514
+ /**
8515
+ * Window in days.
8516
+ */
8517
+ days?: number;
8518
+ };
8519
+ url: '/analytics/inbox/source-breakdown';
8520
+ };
8521
+ type InboxSourceBreakdownErrors = {
8522
+ /**
8523
+ * Missing or invalid API key
8524
+ */
8525
+ 401: ErrorResponse;
8526
+ };
8527
+ type InboxSourceBreakdownError = InboxSourceBreakdownErrors[keyof InboxSourceBreakdownErrors];
8528
+ type InboxSourceBreakdownResponses = {
8529
+ /**
8530
+ * Breakdown
8531
+ */
8532
+ 200: {
8533
+ success?: true;
8534
+ data?: {
8535
+ days?: number;
8536
+ platforms?: Array<{
8537
+ platform?: string;
8538
+ conversations?: number;
8539
+ incoming?: number;
8540
+ outgoing?: number;
8541
+ }>;
8542
+ };
8543
+ meta?: RequestMeta;
8544
+ };
8545
+ };
8546
+ type InboxSourceBreakdownResponse = InboxSourceBreakdownResponses[keyof InboxSourceBreakdownResponses];
8547
+ type InboxResponseTimeData = {
8548
+ body?: never;
8549
+ path?: never;
8550
+ query?: {
8551
+ /**
8552
+ * Window in days.
8553
+ */
8554
+ days?: number;
8555
+ };
8556
+ url: '/analytics/inbox/response-time';
8557
+ };
8558
+ type InboxResponseTimeErrors = {
8559
+ /**
8560
+ * Missing or invalid API key
8561
+ */
8562
+ 401: ErrorResponse;
8563
+ };
8564
+ type InboxResponseTimeError = InboxResponseTimeErrors[keyof InboxResponseTimeErrors];
8565
+ type InboxResponseTimeResponses = {
8566
+ /**
8567
+ * Response times
8568
+ */
8569
+ 200: {
8570
+ success?: true;
8571
+ data?: {
8572
+ days?: number;
8573
+ answered?: number;
8574
+ avg_response_seconds?: number;
8575
+ median_response_seconds?: number;
8576
+ histogram?: {
8577
+ under_15m?: number;
8578
+ '15m_1h'?: number;
8579
+ '1h_4h'?: number;
8580
+ '4h_24h'?: number;
8581
+ over_24h?: number;
8582
+ };
8583
+ };
8584
+ meta?: RequestMeta;
8585
+ };
8586
+ };
8587
+ type InboxResponseTimeResponse = InboxResponseTimeResponses[keyof InboxResponseTimeResponses];
8588
+ type InboxTopAccountsData = {
8589
+ body?: never;
8590
+ path?: never;
8591
+ query?: {
8592
+ /**
8593
+ * Window in days.
8594
+ */
8595
+ days?: number;
8596
+ limit?: number;
8597
+ };
8598
+ url: '/analytics/inbox/top-accounts';
8599
+ };
8600
+ type InboxTopAccountsErrors = {
8601
+ /**
8602
+ * Missing or invalid API key
8603
+ */
8604
+ 401: ErrorResponse;
8605
+ };
8606
+ type InboxTopAccountsError = InboxTopAccountsErrors[keyof InboxTopAccountsErrors];
8607
+ type InboxTopAccountsResponses = {
8608
+ /**
8609
+ * Top accounts
8610
+ */
8611
+ 200: {
8612
+ success?: true;
8613
+ data?: {
8614
+ days?: number;
8615
+ accounts?: Array<{
8616
+ account_id?: number;
8617
+ platform?: string;
8618
+ account_name?: string;
8619
+ conversations?: number;
8620
+ incoming?: number;
8621
+ }>;
8622
+ };
8623
+ meta?: RequestMeta;
8624
+ };
8625
+ };
8626
+ type InboxTopAccountsResponse = InboxTopAccountsResponses[keyof InboxTopAccountsResponses];
8627
+ type ListReviewsData = {
8628
+ body?: never;
8629
+ path?: never;
8630
+ query?: {
8631
+ /**
8632
+ * Limit to one connected Google Business account.
8633
+ */
8634
+ account_id?: number;
8635
+ rating?: number;
8636
+ status?: 'pending' | 'replied';
8637
+ page?: number;
8638
+ per_page?: number;
8639
+ };
8640
+ url: '/reviews';
8641
+ };
8642
+ type ListReviewsErrors = {
8643
+ /**
8644
+ * Missing or invalid API key
8645
+ */
8646
+ 401: ErrorResponse;
8647
+ /**
8648
+ * Resource not found
8649
+ */
8650
+ 404: ErrorResponse;
8651
+ };
8652
+ type ListReviewsError = ListReviewsErrors[keyof ListReviewsErrors];
8653
+ type ListReviewsResponses = {
8654
+ /**
8655
+ * Reviews
8656
+ */
8657
+ 200: {
8658
+ success?: true;
8659
+ data?: Array<{
8660
+ id?: number;
8661
+ account_id?: number;
8662
+ author_name?: string;
8663
+ author_photo?: string;
8664
+ rating?: number;
8665
+ comment?: string;
8666
+ created_at?: string;
8667
+ reply_comment?: string;
8668
+ reply_at?: string;
8669
+ reply_source?: string;
8670
+ status?: 'pending' | 'replied';
8671
+ }>;
8672
+ pagination?: PaginationMeta;
8673
+ meta?: RequestMeta;
8674
+ };
8675
+ };
8676
+ type ListReviewsResponse = ListReviewsResponses[keyof ListReviewsResponses];
8677
+ type ReplyToReviewData = {
8678
+ body: {
8679
+ comment: string;
8680
+ };
8681
+ path: {
8682
+ review_id: number;
8683
+ };
8684
+ query?: never;
8685
+ url: '/reviews/{review_id}/reply';
8686
+ };
8687
+ type ReplyToReviewErrors = {
8688
+ /**
8689
+ * Missing or invalid API key
8690
+ */
8691
+ 401: ErrorResponse;
8692
+ /**
8693
+ * Resource not found
8694
+ */
8695
+ 404: ErrorResponse;
8696
+ /**
8697
+ * Validation error
8698
+ */
8699
+ 422: ErrorResponse;
8700
+ /**
8701
+ * Google rejected the reply
8702
+ */
8703
+ 502: {
8704
+ success?: false;
8705
+ error?: {
8706
+ code?: 'PLATFORM_ERROR';
8707
+ message?: string;
8708
+ };
8709
+ meta?: RequestMeta;
8710
+ };
8711
+ };
8712
+ type ReplyToReviewError = ReplyToReviewErrors[keyof ReplyToReviewErrors];
8713
+ type ReplyToReviewResponses = {
8714
+ /**
8715
+ * Replied
8716
+ */
8717
+ 200: {
8718
+ success?: true;
8719
+ data?: {
8720
+ replied?: boolean;
8721
+ review_id?: number;
8722
+ };
8723
+ meta?: RequestMeta;
8724
+ };
8725
+ };
8726
+ type ReplyToReviewResponse = ReplyToReviewResponses[keyof ReplyToReviewResponses];
8727
+ type SyncReviewsData = {
8728
+ body?: {
8729
+ /**
8730
+ * Optional: sync only this connected account.
8731
+ */
8732
+ account_id?: number;
8733
+ };
8734
+ path?: never;
8735
+ query?: never;
8736
+ url: '/reviews/sync';
8737
+ };
8738
+ type SyncReviewsErrors = {
8739
+ /**
8740
+ * Missing or invalid API key
8741
+ */
8742
+ 401: ErrorResponse;
8743
+ /**
8744
+ * Resource not found
8745
+ */
8746
+ 404: ErrorResponse;
8747
+ };
8748
+ type SyncReviewsError = SyncReviewsErrors[keyof SyncReviewsErrors];
8749
+ type SyncReviewsResponses = {
8750
+ /**
8751
+ * Synced
8752
+ */
8753
+ 200: {
8754
+ success?: true;
8755
+ data?: {
8756
+ /**
8757
+ * Reviews inserted or updated.
8758
+ */
8759
+ synced?: number;
8760
+ };
8761
+ meta?: RequestMeta;
8762
+ };
8763
+ };
8764
+ type SyncReviewsResponse = SyncReviewsResponses[keyof SyncReviewsResponses];
8765
+ type GetConversationData = {
8766
+ body?: never;
8767
+ path: {
8768
+ conversation_id: number;
8769
+ };
8770
+ query?: never;
8771
+ url: '/social/conversations/{conversation_id}';
8772
+ };
8773
+ type GetConversationErrors = {
8774
+ /**
8775
+ * Missing or invalid API key
8776
+ */
8777
+ 401: ErrorResponse;
8778
+ /**
8779
+ * Resource not found
8780
+ */
8781
+ 404: ErrorResponse;
8782
+ };
8783
+ type GetConversationError = GetConversationErrors[keyof GetConversationErrors];
8784
+ type GetConversationResponses = {
8785
+ /**
8786
+ * Conversation
8787
+ */
8788
+ 200: {
8789
+ success?: true;
8790
+ data?: {
8791
+ id?: number;
8792
+ platform?: string;
8793
+ account_id?: number;
8794
+ participant_name?: string;
8795
+ status?: 'open' | 'archived';
8796
+ unread_count?: number;
8797
+ snippet?: string;
8798
+ incoming?: number;
8799
+ outgoing?: number;
8800
+ created_at?: string;
8801
+ last_message_at?: string;
8802
+ };
8803
+ meta?: RequestMeta;
8804
+ };
8805
+ };
8806
+ type GetConversationResponse = GetConversationResponses[keyof GetConversationResponses];
8807
+ type UpdateConversationData = {
8808
+ body: {
8809
+ status: 'open' | 'archived';
8810
+ };
8811
+ path: {
8812
+ conversation_id: number;
8813
+ };
8814
+ query?: never;
8815
+ url: '/social/conversations/{conversation_id}';
8816
+ };
8817
+ type UpdateConversationErrors = {
8818
+ /**
8819
+ * Missing or invalid API key
8820
+ */
8821
+ 401: ErrorResponse;
8822
+ /**
8823
+ * Resource not found
8824
+ */
8825
+ 404: ErrorResponse;
8826
+ /**
8827
+ * Validation error
8828
+ */
8829
+ 422: ErrorResponse;
8830
+ };
8831
+ type UpdateConversationError = UpdateConversationErrors[keyof UpdateConversationErrors];
8832
+ type UpdateConversationResponses = {
8833
+ /**
8834
+ * Updated
8835
+ */
8836
+ 200: {
8837
+ success?: true;
8838
+ data?: {
8839
+ id?: number;
8840
+ status?: string;
8841
+ };
8842
+ meta?: RequestMeta;
8843
+ };
8844
+ };
8845
+ type UpdateConversationResponse = UpdateConversationResponses[keyof UpdateConversationResponses];
8846
+ type SearchConversationsData = {
8847
+ body?: never;
8848
+ path?: never;
8849
+ query: {
8850
+ q: string;
8851
+ page?: number;
8852
+ per_page?: number;
8853
+ };
8854
+ url: '/social/conversations/search';
8855
+ };
8856
+ type SearchConversationsErrors = {
8857
+ /**
8858
+ * Missing or invalid API key
8859
+ */
8860
+ 401: ErrorResponse;
8861
+ /**
8862
+ * Validation error
8863
+ */
8864
+ 422: ErrorResponse;
8865
+ };
8866
+ type SearchConversationsError = SearchConversationsErrors[keyof SearchConversationsErrors];
8867
+ type SearchConversationsResponses = {
8868
+ /**
8869
+ * Matches
8870
+ */
8871
+ 200: {
8872
+ success?: true;
8873
+ data?: Array<{
8874
+ id?: number;
8875
+ platform?: string;
8876
+ account_id?: number;
8877
+ participant_name?: string;
8878
+ status?: string;
8879
+ snippet?: string;
8880
+ matched_message?: string;
8881
+ last_message_at?: string;
8882
+ }>;
8883
+ pagination?: PaginationMeta;
8884
+ meta?: RequestMeta;
8885
+ };
8886
+ };
8887
+ type SearchConversationsResponse = SearchConversationsResponses[keyof SearchConversationsResponses];
8888
+ type InboxConversationsData = {
8889
+ body?: never;
8890
+ path?: never;
8891
+ query?: {
8892
+ days?: number;
8893
+ page?: number;
8894
+ per_page?: number;
8895
+ };
8896
+ url: '/analytics/inbox/conversations';
8897
+ };
8898
+ type InboxConversationsErrors = {
8899
+ /**
8900
+ * Missing or invalid API key
8901
+ */
8902
+ 401: ErrorResponse;
8903
+ };
8904
+ type InboxConversationsError = InboxConversationsErrors[keyof InboxConversationsErrors];
8905
+ type InboxConversationsResponses = {
8906
+ /**
8907
+ * Stats
8908
+ */
8909
+ 200: {
8910
+ success?: true;
8911
+ data?: {
8912
+ days?: number;
8913
+ page?: number;
8914
+ per_page?: number;
8915
+ conversations?: Array<{
8916
+ id?: number;
8917
+ platform?: string;
8918
+ account_id?: number;
8919
+ participant_name?: string;
8920
+ status?: string;
8921
+ incoming?: number;
8922
+ outgoing?: number;
8923
+ created_at?: string;
8924
+ last_message_at?: string;
8925
+ }>;
8926
+ };
8927
+ meta?: RequestMeta;
8928
+ };
8929
+ };
8930
+ type InboxConversationsResponse = InboxConversationsResponses[keyof InboxConversationsResponses];
8931
+ type InboxConversationDetailData = {
8932
+ body?: never;
8933
+ path: {
8934
+ conversation_id: number;
8935
+ };
8936
+ query?: never;
8937
+ url: '/analytics/inbox/conversations/{conversation_id}';
8938
+ };
8939
+ type InboxConversationDetailErrors = {
8940
+ /**
8941
+ * Missing or invalid API key
8942
+ */
8943
+ 401: ErrorResponse;
8944
+ /**
8945
+ * Resource not found
8946
+ */
8947
+ 404: ErrorResponse;
8948
+ };
8949
+ type InboxConversationDetailError = InboxConversationDetailErrors[keyof InboxConversationDetailErrors];
8950
+ type InboxConversationDetailResponses = {
8951
+ /**
8952
+ * Conversation analytics
8953
+ */
8954
+ 200: {
8955
+ success?: true;
8956
+ data?: {
8957
+ id?: number;
8958
+ platform?: string;
8959
+ account_id?: number;
8960
+ participant_name?: string;
8961
+ status?: string;
8962
+ incoming?: number;
8963
+ outgoing?: number;
8964
+ answered?: number;
8965
+ avg_response_seconds?: number;
8966
+ median_response_seconds?: number;
8967
+ created_at?: string;
8968
+ last_message_at?: string;
8969
+ };
8970
+ meta?: RequestMeta;
8971
+ };
8972
+ };
8973
+ type InboxConversationDetailResponse = InboxConversationDetailResponses[keyof InboxConversationDetailResponses];
8974
+ type ListAutomationsData = {
8975
+ body?: never;
8976
+ path?: never;
8977
+ query?: {
8978
+ status?: 'draft' | 'active' | 'paused' | 'archived';
8979
+ };
8980
+ url: '/automations';
8981
+ };
8982
+ type ListAutomationsErrors = {
8983
+ /**
8984
+ * Missing or invalid API key
8985
+ */
8986
+ 401: ErrorResponse;
8987
+ };
8988
+ type ListAutomationsError = ListAutomationsErrors[keyof ListAutomationsErrors];
8989
+ type ListAutomationsResponses = {
8990
+ /**
8991
+ * Automations
8992
+ */
8993
+ 200: {
8994
+ success?: true;
8995
+ data?: Array<{
8996
+ id?: number;
8997
+ name?: string;
8998
+ description?: string;
8999
+ trigger_type?: string;
9000
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9001
+ last_run_at?: string;
9002
+ run_count?: number;
9003
+ error_count?: number;
9004
+ created?: string;
9005
+ updated?: string;
9006
+ }>;
9007
+ meta?: RequestMeta;
9008
+ };
9009
+ };
9010
+ type ListAutomationsResponse = ListAutomationsResponses[keyof ListAutomationsResponses];
9011
+ type GetAutomationData = {
9012
+ body?: never;
9013
+ path: {
9014
+ automation_id: number;
9015
+ };
9016
+ query?: never;
9017
+ url: '/automations/{automation_id}';
9018
+ };
9019
+ type GetAutomationErrors = {
9020
+ /**
9021
+ * Missing or invalid API key
9022
+ */
9023
+ 401: ErrorResponse;
9024
+ /**
9025
+ * Resource not found
9026
+ */
9027
+ 404: ErrorResponse;
9028
+ };
9029
+ type GetAutomationError = GetAutomationErrors[keyof GetAutomationErrors];
9030
+ type GetAutomationResponses = {
9031
+ /**
9032
+ * Automation
9033
+ */
9034
+ 200: {
9035
+ success?: true;
9036
+ data?: {
9037
+ id?: number;
9038
+ name?: string;
9039
+ description?: string;
9040
+ trigger_type?: string;
9041
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9042
+ last_run_at?: string;
9043
+ run_count?: number;
9044
+ error_count?: number;
9045
+ created?: string;
9046
+ updated?: string;
9047
+ };
9048
+ meta?: RequestMeta;
9049
+ };
9050
+ };
9051
+ type GetAutomationResponse = GetAutomationResponses[keyof GetAutomationResponses];
9052
+ type ActivateAutomationData = {
9053
+ body?: never;
9054
+ path: {
9055
+ automation_id: number;
9056
+ };
9057
+ query?: never;
9058
+ url: '/automations/{automation_id}/activate';
9059
+ };
9060
+ type ActivateAutomationErrors = {
9061
+ /**
9062
+ * Missing or invalid API key
9063
+ */
9064
+ 401: ErrorResponse;
9065
+ /**
9066
+ * Resource not found
9067
+ */
9068
+ 404: ErrorResponse;
9069
+ /**
9070
+ * Validation error
9071
+ */
9072
+ 422: ErrorResponse;
9073
+ };
9074
+ type ActivateAutomationError = ActivateAutomationErrors[keyof ActivateAutomationErrors];
9075
+ type ActivateAutomationResponses = {
9076
+ /**
9077
+ * Activated
9078
+ */
9079
+ 200: {
9080
+ success?: true;
9081
+ data?: {
9082
+ id?: number;
9083
+ name?: string;
9084
+ description?: string;
9085
+ trigger_type?: string;
9086
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9087
+ last_run_at?: string;
9088
+ run_count?: number;
9089
+ error_count?: number;
9090
+ created?: string;
9091
+ updated?: string;
9092
+ };
9093
+ meta?: RequestMeta;
9094
+ };
9095
+ };
9096
+ type ActivateAutomationResponse = ActivateAutomationResponses[keyof ActivateAutomationResponses];
9097
+ type DeactivateAutomationData = {
9098
+ body?: never;
9099
+ path: {
9100
+ automation_id: number;
9101
+ };
9102
+ query?: never;
9103
+ url: '/automations/{automation_id}/deactivate';
9104
+ };
9105
+ type DeactivateAutomationErrors = {
9106
+ /**
9107
+ * Missing or invalid API key
9108
+ */
9109
+ 401: ErrorResponse;
9110
+ /**
9111
+ * Resource not found
9112
+ */
9113
+ 404: ErrorResponse;
9114
+ };
9115
+ type DeactivateAutomationError = DeactivateAutomationErrors[keyof DeactivateAutomationErrors];
9116
+ type DeactivateAutomationResponses = {
9117
+ /**
9118
+ * Paused
9119
+ */
9120
+ 200: {
9121
+ success?: true;
9122
+ data?: {
9123
+ id?: number;
9124
+ name?: string;
9125
+ description?: string;
9126
+ trigger_type?: string;
9127
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9128
+ last_run_at?: string;
9129
+ run_count?: number;
9130
+ error_count?: number;
9131
+ created?: string;
9132
+ updated?: string;
9133
+ };
9134
+ meta?: RequestMeta;
9135
+ };
9136
+ };
9137
+ type DeactivateAutomationResponse = DeactivateAutomationResponses[keyof DeactivateAutomationResponses];
9138
+ type TriggerAutomationData = {
9139
+ body?: {
9140
+ /**
9141
+ * Arbitrary JSON passed to the run.
9142
+ */
9143
+ payload?: {
9144
+ [key: string]: unknown;
9145
+ };
9146
+ };
9147
+ path: {
9148
+ automation_id: number;
9149
+ };
9150
+ query?: never;
9151
+ url: '/automations/{automation_id}/trigger';
9152
+ };
9153
+ type TriggerAutomationErrors = {
9154
+ /**
9155
+ * Missing or invalid API key
9156
+ */
9157
+ 401: ErrorResponse;
9158
+ /**
9159
+ * Resource not found
9160
+ */
9161
+ 404: ErrorResponse;
9162
+ /**
9163
+ * Conflict (e.g. duplicate idempotency or already-finished job)
9164
+ */
9165
+ 409: ErrorResponse;
9166
+ };
9167
+ type TriggerAutomationError = TriggerAutomationErrors[keyof TriggerAutomationErrors];
9168
+ type TriggerAutomationResponses = {
9169
+ /**
9170
+ * Run queued
9171
+ */
9172
+ 202: {
9173
+ success?: true;
9174
+ data?: {
9175
+ queued?: boolean;
9176
+ automation_id?: number;
9177
+ run_id?: number;
9178
+ };
9179
+ meta?: RequestMeta;
9180
+ };
9181
+ };
9182
+ type TriggerAutomationResponse = TriggerAutomationResponses[keyof TriggerAutomationResponses];
9183
+ type ListAutomationRunsData = {
9184
+ body?: never;
9185
+ path: {
9186
+ automation_id: number;
9187
+ };
9188
+ query?: {
9189
+ limit?: number;
9190
+ };
9191
+ url: '/automations/{automation_id}/runs';
9192
+ };
9193
+ type ListAutomationRunsErrors = {
9194
+ /**
9195
+ * Missing or invalid API key
9196
+ */
9197
+ 401: ErrorResponse;
9198
+ /**
9199
+ * Resource not found
9200
+ */
9201
+ 404: ErrorResponse;
9202
+ };
9203
+ type ListAutomationRunsError = ListAutomationRunsErrors[keyof ListAutomationRunsErrors];
9204
+ type ListAutomationRunsResponses = {
9205
+ /**
9206
+ * Runs
9207
+ */
9208
+ 200: {
9209
+ success?: true;
9210
+ data?: Array<{
9211
+ id?: number;
9212
+ automation_id?: number;
9213
+ trigger_kind?: string;
9214
+ status?: string;
9215
+ attempts?: number;
9216
+ queued_at?: string;
9217
+ started_at?: string;
9218
+ finished_at?: string;
9219
+ error?: string;
9220
+ }>;
9221
+ meta?: RequestMeta;
9222
+ };
9223
+ };
9224
+ type ListAutomationRunsResponse = ListAutomationRunsResponses[keyof ListAutomationRunsResponses];
9225
+ type GetAutomationRunData = {
9226
+ body?: never;
9227
+ path: {
9228
+ automation_id: number;
9229
+ run_id: number;
9230
+ };
9231
+ query?: never;
9232
+ url: '/automations/{automation_id}/runs/{run_id}';
9233
+ };
9234
+ type GetAutomationRunErrors = {
9235
+ /**
9236
+ * Missing or invalid API key
9237
+ */
9238
+ 401: ErrorResponse;
9239
+ /**
9240
+ * Resource not found
9241
+ */
9242
+ 404: ErrorResponse;
9243
+ };
9244
+ type GetAutomationRunError = GetAutomationRunErrors[keyof GetAutomationRunErrors];
9245
+ type GetAutomationRunResponses = {
9246
+ /**
9247
+ * Run
9248
+ */
9249
+ 200: {
9250
+ success?: true;
9251
+ data?: {
9252
+ id?: number;
9253
+ automation_id?: number;
9254
+ trigger_kind?: string;
9255
+ status?: string;
9256
+ attempts?: number;
9257
+ queued_at?: string;
9258
+ started_at?: string;
9259
+ finished_at?: string;
9260
+ error?: string;
9261
+ };
9262
+ meta?: RequestMeta;
9263
+ };
9264
+ };
9265
+ type GetAutomationRunResponse = GetAutomationRunResponses[keyof GetAutomationRunResponses];
9266
+ type BulkImportContactsData = {
9267
+ body: {
9268
+ contacts: Array<{
9269
+ [key: string]: unknown;
9270
+ }>;
9271
+ };
9272
+ path?: never;
9273
+ query?: never;
9274
+ url: '/contacts/bulk';
9275
+ };
9276
+ type BulkImportContactsErrors = {
9277
+ /**
9278
+ * Missing or invalid API key
9279
+ */
9280
+ 401: ErrorResponse;
9281
+ /**
9282
+ * Validation error
9283
+ */
9284
+ 422: ErrorResponse;
9285
+ };
9286
+ type BulkImportContactsError = BulkImportContactsErrors[keyof BulkImportContactsErrors];
9287
+ type BulkImportContactsResponses = {
9288
+ /**
9289
+ * Import results
9290
+ */
9291
+ 201: {
9292
+ success?: true;
9293
+ data?: {
9294
+ created?: number;
9295
+ updated?: number;
9296
+ failed?: number;
9297
+ results?: Array<{
9298
+ row?: number;
9299
+ id?: number;
9300
+ created?: boolean;
9301
+ matched_by?: string;
9302
+ error?: string;
9303
+ }>;
9304
+ };
9305
+ meta?: RequestMeta;
9306
+ };
9307
+ };
9308
+ type BulkImportContactsResponse = BulkImportContactsResponses[keyof BulkImportContactsResponses];
9309
+ type PinterestBoardsData = {
9310
+ body?: never;
9311
+ path: {
9312
+ /**
9313
+ * Connected account id.
9314
+ */
9315
+ account_id: number;
9316
+ };
9317
+ query?: never;
9318
+ url: '/social/accounts/{account_id}/pinterest/boards';
9319
+ };
9320
+ type PinterestBoardsErrors = {
9321
+ /**
9322
+ * Missing or invalid API key
9323
+ */
9324
+ 401: ErrorResponse;
9325
+ /**
9326
+ * Resource not found
9327
+ */
9328
+ 404: ErrorResponse;
9329
+ /**
9330
+ * Validation error
9331
+ */
9332
+ 422: ErrorResponse;
9333
+ /**
9334
+ * Platform rejected the request
9335
+ */
9336
+ 502: {
9337
+ success?: false;
9338
+ error?: {
9339
+ code?: 'PLATFORM_ERROR';
9340
+ message?: string;
9341
+ };
9342
+ meta?: RequestMeta;
9343
+ };
9344
+ };
9345
+ type PinterestBoardsError = PinterestBoardsErrors[keyof PinterestBoardsErrors];
9346
+ type PinterestBoardsResponses = {
9347
+ /**
9348
+ * Pinterest boards
9349
+ */
9350
+ 200: {
9351
+ success?: true;
9352
+ data?: {
9353
+ boards?: Array<{
9354
+ [key: string]: unknown;
9355
+ }>;
9356
+ sandbox?: boolean;
9357
+ };
9358
+ meta?: RequestMeta;
9359
+ };
9360
+ };
9361
+ type PinterestBoardsResponse = PinterestBoardsResponses[keyof PinterestBoardsResponses];
9362
+ type YoutubePlaylistsData = {
9363
+ body?: never;
9364
+ path: {
9365
+ /**
9366
+ * Connected account id.
9367
+ */
9368
+ account_id: number;
9369
+ };
9370
+ query?: never;
9371
+ url: '/social/accounts/{account_id}/youtube/playlists';
9372
+ };
9373
+ type YoutubePlaylistsErrors = {
9374
+ /**
9375
+ * Missing or invalid API key
9376
+ */
9377
+ 401: ErrorResponse;
9378
+ /**
9379
+ * Resource not found
9380
+ */
9381
+ 404: ErrorResponse;
9382
+ /**
9383
+ * Validation error
9384
+ */
9385
+ 422: ErrorResponse;
9386
+ /**
9387
+ * Platform rejected the request
9388
+ */
9389
+ 502: {
9390
+ success?: false;
9391
+ error?: {
9392
+ code?: 'PLATFORM_ERROR';
9393
+ message?: string;
9394
+ };
9395
+ meta?: RequestMeta;
9396
+ };
9397
+ };
9398
+ type YoutubePlaylistsError = YoutubePlaylistsErrors[keyof YoutubePlaylistsErrors];
9399
+ type YoutubePlaylistsResponses = {
9400
+ /**
9401
+ * YouTube playlists
9402
+ */
9403
+ 200: {
9404
+ success?: true;
9405
+ data?: {
9406
+ playlists?: Array<{
9407
+ id?: string;
9408
+ title?: string;
9409
+ description?: string;
9410
+ privacy?: string;
9411
+ item_count?: number;
9412
+ }>;
9413
+ };
9414
+ meta?: RequestMeta;
9415
+ };
9416
+ };
9417
+ type YoutubePlaylistsResponse = YoutubePlaylistsResponses[keyof YoutubePlaylistsResponses];
9418
+ type InstagramPublishingLimitData = {
9419
+ body?: never;
9420
+ path: {
9421
+ /**
9422
+ * Connected account id.
9423
+ */
9424
+ account_id: number;
9425
+ };
9426
+ query?: never;
9427
+ url: '/social/accounts/{account_id}/instagram/publishing-limit';
9428
+ };
9429
+ type InstagramPublishingLimitErrors = {
9430
+ /**
9431
+ * Missing or invalid API key
9432
+ */
9433
+ 401: ErrorResponse;
9434
+ /**
9435
+ * Resource not found
9436
+ */
9437
+ 404: ErrorResponse;
9438
+ /**
9439
+ * Validation error
9440
+ */
9441
+ 422: ErrorResponse;
9442
+ /**
9443
+ * Platform rejected the request
9444
+ */
9445
+ 502: {
9446
+ success?: false;
9447
+ error?: {
9448
+ code?: 'PLATFORM_ERROR';
9449
+ message?: string;
9450
+ };
9451
+ meta?: RequestMeta;
9452
+ };
9453
+ };
9454
+ type InstagramPublishingLimitError = InstagramPublishingLimitErrors[keyof InstagramPublishingLimitErrors];
9455
+ type InstagramPublishingLimitResponses = {
9456
+ /**
9457
+ * Instagram publishing limit
9458
+ */
9459
+ 200: {
9460
+ success?: true;
9461
+ data?: {
9462
+ account_id?: number;
9463
+ quota_total?: number;
9464
+ quota_remaining?: number;
9465
+ can_publish?: boolean;
9466
+ };
9467
+ meta?: RequestMeta;
9468
+ };
9469
+ };
9470
+ type InstagramPublishingLimitResponse = InstagramPublishingLimitResponses[keyof InstagramPublishingLimitResponses];
9471
+ type GmbPerformanceData = {
9472
+ body?: never;
9473
+ path: {
9474
+ /**
9475
+ * Connected account id.
9476
+ */
9477
+ account_id: number;
9478
+ };
9479
+ query?: {
9480
+ days?: number;
9481
+ };
9482
+ url: '/social/accounts/{account_id}/gmb/performance';
9483
+ };
9484
+ type GmbPerformanceErrors = {
9485
+ /**
9486
+ * Missing or invalid API key
9487
+ */
9488
+ 401: ErrorResponse;
9489
+ /**
9490
+ * Resource not found
9491
+ */
9492
+ 404: ErrorResponse;
9493
+ /**
9494
+ * Validation error
9495
+ */
9496
+ 422: ErrorResponse;
9497
+ /**
9498
+ * Platform rejected the request
9499
+ */
9500
+ 502: {
9501
+ success?: false;
9502
+ error?: {
9503
+ code?: 'PLATFORM_ERROR';
9504
+ message?: string;
9505
+ };
9506
+ meta?: RequestMeta;
9507
+ };
9508
+ };
9509
+ type GmbPerformanceError = GmbPerformanceErrors[keyof GmbPerformanceErrors];
9510
+ type GmbPerformanceResponses = {
9511
+ /**
9512
+ * Google Business performance
9513
+ */
9514
+ 200: {
9515
+ success?: true;
9516
+ /**
9517
+ * account_id, days + the performance report (impressions, sources, daily series, deltas).
9518
+ */
9519
+ data?: {
9520
+ [key: string]: unknown;
9521
+ };
9522
+ meta?: RequestMeta;
9523
+ };
9524
+ };
9525
+ type GmbPerformanceResponse = GmbPerformanceResponses[keyof GmbPerformanceResponses];
9526
+ type GmbSearchKeywordsData = {
9527
+ body?: never;
9528
+ path: {
9529
+ /**
9530
+ * Connected account id.
9531
+ */
9532
+ account_id: number;
9533
+ };
9534
+ query?: {
9535
+ limit?: number;
9536
+ };
9537
+ url: '/social/accounts/{account_id}/gmb/search-keywords';
9538
+ };
9539
+ type GmbSearchKeywordsErrors = {
9540
+ /**
9541
+ * Missing or invalid API key
9542
+ */
9543
+ 401: ErrorResponse;
9544
+ /**
9545
+ * Resource not found
9546
+ */
9547
+ 404: ErrorResponse;
9548
+ /**
9549
+ * Validation error
9550
+ */
9551
+ 422: ErrorResponse;
9552
+ /**
9553
+ * Platform rejected the request
9554
+ */
9555
+ 502: {
9556
+ success?: false;
9557
+ error?: {
9558
+ code?: 'PLATFORM_ERROR';
9559
+ message?: string;
9560
+ };
9561
+ meta?: RequestMeta;
9562
+ };
9563
+ };
9564
+ type GmbSearchKeywordsError = GmbSearchKeywordsErrors[keyof GmbSearchKeywordsErrors];
9565
+ type GmbSearchKeywordsResponses = {
9566
+ /**
9567
+ * Google Business search keywords
9568
+ */
9569
+ 200: {
9570
+ success?: true;
9571
+ data?: {
9572
+ account_id?: number;
9573
+ keywords?: Array<{
9574
+ [key: string]: unknown;
9575
+ }>;
9576
+ };
9577
+ meta?: RequestMeta;
9578
+ };
9579
+ };
9580
+ type GmbSearchKeywordsResponse = GmbSearchKeywordsResponses[keyof GmbSearchKeywordsResponses];
9581
+ type RedditSearchData = {
9582
+ body?: never;
9583
+ path: {
9584
+ /**
9585
+ * Connected account id.
9586
+ */
9587
+ account_id: number;
9588
+ };
9589
+ query: {
9590
+ q: string;
9591
+ subreddit?: string;
9592
+ sort?: 'relevance' | 'hot' | 'top' | 'new' | 'comments';
9593
+ limit?: number;
9594
+ };
9595
+ url: '/social/accounts/{account_id}/reddit/search';
9596
+ };
9597
+ type RedditSearchErrors = {
9598
+ /**
9599
+ * Missing or invalid API key
9600
+ */
9601
+ 401: ErrorResponse;
9602
+ /**
9603
+ * Resource not found
9604
+ */
9605
+ 404: ErrorResponse;
9606
+ /**
9607
+ * Validation error
9608
+ */
9609
+ 422: ErrorResponse;
9610
+ /**
9611
+ * Platform rejected the request
9612
+ */
9613
+ 502: {
9614
+ success?: false;
9615
+ error?: {
9616
+ code?: 'PLATFORM_ERROR';
9617
+ message?: string;
9618
+ };
9619
+ meta?: RequestMeta;
9620
+ };
9621
+ };
9622
+ type RedditSearchError = RedditSearchErrors[keyof RedditSearchErrors];
9623
+ type RedditSearchResponses = {
9624
+ /**
9625
+ * Reddit search
9626
+ */
9627
+ 200: {
9628
+ success?: true;
9629
+ data?: {
9630
+ results?: Array<{
9631
+ id?: string;
9632
+ title?: string;
9633
+ subreddit?: string;
9634
+ author?: string;
9635
+ score?: number;
9636
+ num_comments?: number;
9637
+ created_utc?: number;
9638
+ over_18?: boolean;
9639
+ url?: string;
9640
+ }>;
9641
+ };
9642
+ meta?: RequestMeta;
9643
+ };
9644
+ };
9645
+ type RedditSearchResponse = RedditSearchResponses[keyof RedditSearchResponses];
9646
+ type RedditFeedData = {
9647
+ body?: never;
9648
+ path: {
9649
+ /**
9650
+ * Connected account id.
9651
+ */
9652
+ account_id: number;
9653
+ };
9654
+ query?: {
9655
+ subreddit?: string;
9656
+ sort?: 'hot' | 'new' | 'top' | 'rising';
9657
+ limit?: number;
9658
+ };
9659
+ url: '/social/accounts/{account_id}/reddit/feed';
9660
+ };
9661
+ type RedditFeedErrors = {
9662
+ /**
9663
+ * Missing or invalid API key
9664
+ */
9665
+ 401: ErrorResponse;
9666
+ /**
9667
+ * Resource not found
9668
+ */
9669
+ 404: ErrorResponse;
9670
+ /**
9671
+ * Validation error
9672
+ */
9673
+ 422: ErrorResponse;
9674
+ /**
9675
+ * Platform rejected the request
9676
+ */
9677
+ 502: {
9678
+ success?: false;
9679
+ error?: {
9680
+ code?: 'PLATFORM_ERROR';
9681
+ message?: string;
9682
+ };
9683
+ meta?: RequestMeta;
9684
+ };
9685
+ };
9686
+ type RedditFeedError = RedditFeedErrors[keyof RedditFeedErrors];
9687
+ type RedditFeedResponses = {
9688
+ /**
9689
+ * Reddit feed
9690
+ */
9691
+ 200: {
9692
+ success?: true;
9693
+ data?: {
9694
+ posts?: Array<{
9695
+ id?: string;
9696
+ title?: string;
9697
+ subreddit?: string;
9698
+ author?: string;
9699
+ score?: number;
9700
+ num_comments?: number;
9701
+ created_utc?: number;
9702
+ over_18?: boolean;
9703
+ url?: string;
9704
+ }>;
9705
+ };
9706
+ meta?: RequestMeta;
9707
+ };
9708
+ };
9709
+ type RedditFeedResponse = RedditFeedResponses[keyof RedditFeedResponses];
9710
+ type RedditSubredditsData = {
9711
+ body?: never;
9712
+ path: {
9713
+ /**
9714
+ * Connected account id.
9715
+ */
9716
+ account_id: number;
9717
+ };
9718
+ query?: never;
9719
+ url: '/social/accounts/{account_id}/reddit/subreddits';
9720
+ };
9721
+ type RedditSubredditsErrors = {
9722
+ /**
9723
+ * Missing or invalid API key
9724
+ */
9725
+ 401: ErrorResponse;
9726
+ /**
9727
+ * Resource not found
9728
+ */
9729
+ 404: ErrorResponse;
9730
+ /**
9731
+ * Validation error
9732
+ */
9733
+ 422: ErrorResponse;
9734
+ /**
9735
+ * Platform rejected the request
9736
+ */
9737
+ 502: {
9738
+ success?: false;
9739
+ error?: {
9740
+ code?: 'PLATFORM_ERROR';
9741
+ message?: string;
9742
+ };
9743
+ meta?: RequestMeta;
9744
+ };
9745
+ };
9746
+ type RedditSubredditsError = RedditSubredditsErrors[keyof RedditSubredditsErrors];
9747
+ type RedditSubredditsResponses = {
9748
+ /**
9749
+ * Subscribed subreddits
9750
+ */
9751
+ 200: {
9752
+ success?: true;
9753
+ data?: {
9754
+ subreddits?: Array<{
9755
+ name?: string;
9756
+ title?: string;
9757
+ subscribers?: number;
9758
+ over_18?: boolean;
9759
+ url?: string;
9760
+ }>;
9761
+ };
9762
+ meta?: RequestMeta;
9763
+ };
9764
+ };
9765
+ type RedditSubredditsResponse = RedditSubredditsResponses[keyof RedditSubredditsResponses];
9766
+ type RedditSubredditRulesData = {
9767
+ body?: never;
9768
+ path: {
9769
+ /**
9770
+ * Connected account id.
9771
+ */
9772
+ account_id: number;
9773
+ subreddit: string;
9774
+ };
9775
+ query?: never;
9776
+ url: '/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules';
9777
+ };
9778
+ type RedditSubredditRulesErrors = {
9779
+ /**
9780
+ * Missing or invalid API key
9781
+ */
9782
+ 401: ErrorResponse;
9783
+ /**
9784
+ * Resource not found
9785
+ */
9786
+ 404: ErrorResponse;
9787
+ /**
9788
+ * Validation error
9789
+ */
9790
+ 422: ErrorResponse;
9791
+ /**
9792
+ * Platform rejected the request
9793
+ */
9794
+ 502: {
9795
+ success?: false;
9796
+ error?: {
9797
+ code?: 'PLATFORM_ERROR';
9798
+ message?: string;
9799
+ };
9800
+ meta?: RequestMeta;
9801
+ };
9802
+ };
9803
+ type RedditSubredditRulesError = RedditSubredditRulesErrors[keyof RedditSubredditRulesErrors];
9804
+ type RedditSubredditRulesResponses = {
9805
+ /**
9806
+ * Rules
9807
+ */
9808
+ 200: {
9809
+ success?: true;
9810
+ data?: {
9811
+ subreddit?: string;
9812
+ rules?: Array<{
9813
+ short_name?: string;
9814
+ description?: string;
9815
+ kind?: string;
9816
+ }>;
9817
+ };
9818
+ meta?: RequestMeta;
9819
+ };
9820
+ };
9821
+ type RedditSubredditRulesResponse = RedditSubredditRulesResponses[keyof RedditSubredditRulesResponses];
9822
+ type InstagramStoriesData = {
9823
+ body?: never;
9824
+ path: {
9825
+ /**
9826
+ * Connected account id.
9827
+ */
9828
+ account_id: number;
9829
+ };
9830
+ query?: never;
9831
+ url: '/social/accounts/{account_id}/instagram/stories';
9832
+ };
9833
+ type InstagramStoriesErrors = {
9834
+ /**
9835
+ * Missing or invalid API key
9836
+ */
9837
+ 401: ErrorResponse;
9838
+ /**
9839
+ * Resource not found
9840
+ */
9841
+ 404: ErrorResponse;
9842
+ /**
9843
+ * Validation error
9844
+ */
9845
+ 422: ErrorResponse;
9846
+ /**
9847
+ * Platform rejected the request
9848
+ */
9849
+ 502: {
9850
+ success?: false;
9851
+ error?: {
9852
+ code?: 'PLATFORM_ERROR';
9853
+ message?: string;
9854
+ };
9855
+ meta?: RequestMeta;
9856
+ };
9857
+ };
9858
+ type InstagramStoriesError = InstagramStoriesErrors[keyof InstagramStoriesErrors];
9859
+ type InstagramStoriesResponses = {
9860
+ /**
9861
+ * Instagram stories
9862
+ */
9863
+ 200: {
9864
+ success?: true;
9865
+ data?: {
9866
+ stories?: Array<{
9867
+ [key: string]: unknown;
9868
+ }>;
9869
+ };
9870
+ meta?: RequestMeta;
9871
+ };
9872
+ };
9873
+ type InstagramStoriesResponse = InstagramStoriesResponses[keyof InstagramStoriesResponses];
9874
+ type FacebookPostReactionsData = {
9875
+ body?: never;
9876
+ path: {
9877
+ /**
9878
+ * Connected account id.
9879
+ */
9880
+ account_id: number;
9881
+ };
9882
+ query?: {
9883
+ /**
9884
+ * SmartlyQ post id.
9885
+ */
9886
+ post_id?: number;
9887
+ /**
9888
+ * Raw Facebook post id.
9889
+ */
9890
+ remote_post_id?: string;
9891
+ };
9892
+ url: '/social/accounts/{account_id}/facebook/post-reactions';
9893
+ };
9894
+ type FacebookPostReactionsErrors = {
9895
+ /**
9896
+ * Missing or invalid API key
9897
+ */
9898
+ 401: ErrorResponse;
9899
+ /**
9900
+ * Resource not found
9901
+ */
9902
+ 404: ErrorResponse;
9903
+ /**
9904
+ * Validation error
9905
+ */
9906
+ 422: ErrorResponse;
9907
+ /**
9908
+ * Platform rejected the request
9909
+ */
9910
+ 502: {
9911
+ success?: false;
9912
+ error?: {
9913
+ code?: 'PLATFORM_ERROR';
9914
+ message?: string;
9915
+ };
9916
+ meta?: RequestMeta;
9917
+ };
9918
+ };
9919
+ type FacebookPostReactionsError = FacebookPostReactionsErrors[keyof FacebookPostReactionsErrors];
9920
+ type FacebookPostReactionsResponses = {
9921
+ /**
9922
+ * Facebook post reactions
9923
+ */
9924
+ 200: {
9925
+ success?: true;
9926
+ data?: {
9927
+ remote_post_id?: string;
9928
+ total?: number;
9929
+ reactions?: {
9930
+ like?: number;
9931
+ love?: number;
9932
+ wow?: number;
9933
+ haha?: number;
9934
+ sad?: number;
9935
+ angry?: number;
9936
+ care?: number;
9937
+ };
9938
+ };
9939
+ meta?: RequestMeta;
9940
+ };
9941
+ };
9942
+ type FacebookPostReactionsResponse = FacebookPostReactionsResponses[keyof FacebookPostReactionsResponses];
9943
+
9944
+ /** Account endpoints. */
9945
+ declare class AccountResource {
9946
+ private readonly _client;
9947
+ constructor(_client: CoreClient);
9948
+ /** Get current user profile `GET /me` */
9949
+ getMe(options?: RequestOptions): Promise<GetMeResponses[keyof GetMeResponses]>;
9950
+ /** Get usage summary `GET /me/usage` */
9951
+ getMeUsage(query?: GetMeUsageData['query'], options?: RequestOptions): Promise<GetMeUsageResponses[keyof GetMeUsageResponses]>;
9952
+ /** Get wallet balance `GET /me/balance` */
9953
+ getMeBalance(options?: RequestOptions): Promise<GetMeBalanceResponses[keyof GetMeBalanceResponses]>;
9954
+ }
9955
+ /** AI Captain endpoints. */
9956
+ declare class CaptainResource {
9957
+ private readonly _client;
9958
+ constructor(_client: CoreClient);
9959
+ /** Send AI Captain message `POST /captain/messages` */
9960
+ sendMessage(body: SendCaptainMessageData['body'], options?: RequestOptions): Promise<SendCaptainMessageResponses[keyof SendCaptainMessageResponses]>;
9961
+ /** List AI Captain conversations `GET /captain/conversations` */
9962
+ listConversations(query?: ListCaptainConversationsData['query'], options?: RequestOptions): Promise<ListCaptainConversationsResponses[keyof ListCaptainConversationsResponses]>;
9963
+ /** Get AI Captain conversation `GET /captain/conversations/{conversation_id}` */
9964
+ getConversation(conversationId: string, options?: RequestOptions): Promise<GetCaptainConversationResponses[keyof GetCaptainConversationResponses]>;
9965
+ }
9966
+ /** Analytics endpoints. */
9967
+ declare class AnalyticsResource {
9968
+ private readonly _client;
9969
+ constructor(_client: CoreClient);
9970
+ /** Get analytics overview `GET /analytics/overview` */
9971
+ getOverview(query?: GetAnalyticsOverviewData['query'], options?: RequestOptions): Promise<GetAnalyticsOverviewResponses[keyof GetAnalyticsOverviewResponses]>;
9972
+ /** Get post analytics `GET /analytics/posts` */
9973
+ getPosts(query?: GetAnalyticsPostsData['query'], options?: RequestOptions): Promise<GetAnalyticsPostsResponses[keyof GetAnalyticsPostsResponses]>;
9974
+ /** Get account analytics `GET /analytics/accounts/{account_id}` */
9975
+ getAccount(accountId: string, query?: GetAnalyticsAccountData['query'], options?: RequestOptions): Promise<GetAnalyticsAccountResponses[keyof GetAnalyticsAccountResponses]>;
9976
+ /** Daily metrics `GET /analytics/daily-metrics` */
9977
+ dailyMetrics(query?: AnalyticsDailyMetricsData['query'], options?: RequestOptions): Promise<AnalyticsDailyMetricsResponses[keyof AnalyticsDailyMetricsResponses]>;
9978
+ /** Best time to post `GET /analytics/best-time` */
9979
+ bestTime(query?: AnalyticsBestTimeData['query'], options?: RequestOptions): Promise<AnalyticsBestTimeResponses[keyof AnalyticsBestTimeResponses]>;
9980
+ /** Content decay `GET /analytics/content-decay` */
9981
+ contentDecay(query?: AnalyticsContentDecayData['query'], options?: RequestOptions): Promise<AnalyticsContentDecayResponses[keyof AnalyticsContentDecayResponses]>;
9982
+ /** Posting frequency vs engagement `GET /analytics/posting-frequency` */
9983
+ postingFrequency(query?: AnalyticsPostingFrequencyData['query'], options?: RequestOptions): Promise<AnalyticsPostingFrequencyResponses[keyof AnalyticsPostingFrequencyResponses]>;
9984
+ /** Post metric timeline `GET /analytics/posts/{post_id}/timeline` */
9985
+ postTimeline(postId: string, options?: RequestOptions): Promise<AnalyticsPostTimelineResponses[keyof AnalyticsPostTimelineResponses]>;
9986
+ /** Inbox volume `GET /analytics/inbox/volume` */
9987
+ inboxVolume(query?: InboxVolumeData['query'], options?: RequestOptions): Promise<InboxVolumeResponses[keyof InboxVolumeResponses]>;
9988
+ /** Inbox heatmap `GET /analytics/inbox/heatmap` */
9989
+ inboxHeatmap(query?: InboxHeatmapData['query'], options?: RequestOptions): Promise<InboxHeatmapResponses[keyof InboxHeatmapResponses]>;
9990
+ /** Inbox source breakdown `GET /analytics/inbox/source-breakdown` */
9991
+ inboxSourceBreakdown(query?: InboxSourceBreakdownData['query'], options?: RequestOptions): Promise<InboxSourceBreakdownResponses[keyof InboxSourceBreakdownResponses]>;
9992
+ /** Inbox response time `GET /analytics/inbox/response-time` */
9993
+ inboxResponseTime(query?: InboxResponseTimeData['query'], options?: RequestOptions): Promise<InboxResponseTimeResponses[keyof InboxResponseTimeResponses]>;
9994
+ /** Inbox top accounts `GET /analytics/inbox/top-accounts` */
9995
+ inboxTopAccounts(query?: InboxTopAccountsData['query'], options?: RequestOptions): Promise<InboxTopAccountsResponses[keyof InboxTopAccountsResponses]>;
9996
+ /** Inbox conversation stats `GET /analytics/inbox/conversations` */
9997
+ inboxConversations(query?: InboxConversationsData['query'], options?: RequestOptions): Promise<InboxConversationsResponses[keyof InboxConversationsResponses]>;
9998
+ /** Conversation analytics `GET /analytics/inbox/conversations/{conversation_id}` */
9999
+ inboxConversationDetail(conversationId: string, options?: RequestOptions): Promise<InboxConversationDetailResponses[keyof InboxConversationDetailResponses]>;
10000
+ }
10001
+ /** Articles endpoints. */
10002
+ declare class ArticlesResource {
10003
+ private readonly _client;
10004
+ constructor(_client: CoreClient);
10005
+ /** Generate article `POST /articles/generate` */
10006
+ generate(body: GenerateArticleData['body'], options?: RequestOptions): Promise<GenerateArticleResponses[keyof GenerateArticleResponses]>;
10007
+ /** List articles `GET /articles` */
10008
+ list(query?: ListArticlesData['query'], options?: RequestOptions): Promise<ListArticlesResponses[keyof ListArticlesResponses]>;
10009
+ /** Get article `GET /articles/{article_id}` */
10010
+ get(articleId: string, options?: RequestOptions): Promise<GetArticleResponses[keyof GetArticleResponses]>;
10011
+ /** Delete article `DELETE /articles/{article_id}` */
10012
+ delete(articleId: string, options?: RequestOptions): Promise<DeleteArticleResponses[keyof DeleteArticleResponses]>;
10013
+ }
10014
+ /** Audio endpoints. */
10015
+ declare class AudioResource {
10016
+ private readonly _client;
10017
+ constructor(_client: CoreClient);
10018
+ /** Text to speech `POST /audio/text-to-speech` */
10019
+ textToSpeech(body: TextToSpeechData['body'], options?: RequestOptions): Promise<TextToSpeechResponses[keyof TextToSpeechResponses]>;
10020
+ /** Speech to text `POST /audio/speech-to-text` */
10021
+ speechToText(body: SpeechToTextData['body'], options?: RequestOptions): Promise<SpeechToTextResponses[keyof SpeechToTextResponses]>;
10022
+ /** Get audio `GET /audio/{audio_id}` */
10023
+ get(audioId: string, options?: RequestOptions): Promise<GetAudioResponses[keyof GetAudioResponses]>;
10024
+ }
10025
+ /** Automations endpoints. */
10026
+ declare class AutomationsResource {
10027
+ private readonly _client;
10028
+ constructor(_client: CoreClient);
10029
+ /** List automations `GET /automations` */
10030
+ list(query?: ListAutomationsData['query'], options?: RequestOptions): Promise<ListAutomationsResponses[keyof ListAutomationsResponses]>;
10031
+ /** Get automation `GET /automations/{automation_id}` */
10032
+ get(automationId: string, options?: RequestOptions): Promise<GetAutomationResponses[keyof GetAutomationResponses]>;
10033
+ /** Activate automation `POST /automations/{automation_id}/activate` */
10034
+ activate(automationId: string, options?: RequestOptions): Promise<ActivateAutomationResponses[keyof ActivateAutomationResponses]>;
10035
+ /** Pause automation `POST /automations/{automation_id}/deactivate` */
10036
+ deactivate(automationId: string, options?: RequestOptions): Promise<DeactivateAutomationResponses[keyof DeactivateAutomationResponses]>;
10037
+ /** Trigger automation `POST /automations/{automation_id}/trigger` */
10038
+ trigger(automationId: string, body?: TriggerAutomationData['body'], options?: RequestOptions): Promise<TriggerAutomationResponses[keyof TriggerAutomationResponses]>;
10039
+ /** List runs `GET /automations/{automation_id}/runs` */
10040
+ listRuns(automationId: string, query?: ListAutomationRunsData['query'], options?: RequestOptions): Promise<ListAutomationRunsResponses[keyof ListAutomationRunsResponses]>;
10041
+ /** Get run `GET /automations/{automation_id}/runs/{run_id}` */
10042
+ getRun(automationId: string, runId: string, options?: RequestOptions): Promise<GetAutomationRunResponses[keyof GetAutomationRunResponses]>;
10043
+ }
10044
+ /** Chatbot endpoints. */
10045
+ declare class ChatbotsResource {
10046
+ private readonly _client;
10047
+ constructor(_client: CoreClient);
10048
+ /** List chatbots `GET /chatbots` */
10049
+ list(query?: ListChatbotsData['query'], options?: RequestOptions): Promise<ListChatbotsResponses[keyof ListChatbotsResponses]>;
10050
+ /** Create chatbot `POST /chatbots` */
10051
+ create(body: CreateChatbotData['body'], options?: RequestOptions): Promise<CreateChatbotResponses[keyof CreateChatbotResponses]>;
10052
+ /** Get chatbot `GET /chatbots/{id}` */
10053
+ get(id: string, options?: RequestOptions): Promise<GetChatbotResponses[keyof GetChatbotResponses]>;
10054
+ /** Update chatbot `PATCH /chatbots/{id}` */
10055
+ update(id: string, body: UpdateChatbotData['body'], options?: RequestOptions): Promise<UpdateChatbotResponses[keyof UpdateChatbotResponses]>;
10056
+ /** Delete chatbot `DELETE /chatbots/{id}` */
10057
+ delete(id: string, options?: RequestOptions): Promise<DeleteChatbotResponses[keyof DeleteChatbotResponses]>;
10058
+ /** Start chatbot training `POST /chatbots/{id}/train` */
10059
+ train(id: string, options?: RequestOptions): Promise<TrainChatbotResponses[keyof TrainChatbotResponses]>;
10060
+ /** Get chatbot training status `GET /chatbots/{id}/train-status` */
10061
+ getTrainStatus(id: string, options?: RequestOptions): Promise<GetChatbotTrainStatusResponses[keyof GetChatbotTrainStatusResponses]>;
10062
+ /** Send chatbot message `POST /chatbots/{id}/messages` */
10063
+ sendMessage(id: string, body: SendChatbotMessageData['body'], options?: RequestOptions): Promise<SendChatbotMessageResponses[keyof SendChatbotMessageResponses]>;
10064
+ /** List chatbot conversations `GET /chatbots/{id}/conversations` */
10065
+ listConversations(id: string, query?: ListChatbotConversationsData['query'], options?: RequestOptions): Promise<ListChatbotConversationsResponses[keyof ListChatbotConversationsResponses]>;
10066
+ /** Get conversation messages `GET /chatbots/{id}/conversations/{conv_id}/messages` */
10067
+ getConversationMessages(id: string, convId: string, options?: RequestOptions): Promise<GetChatbotConversationMessagesResponses[keyof GetChatbotConversationMessagesResponses]>;
10068
+ }
10069
+ /** Comments endpoints. */
10070
+ declare class CommentsResource {
10071
+ private readonly _client;
10072
+ constructor(_client: CoreClient);
10073
+ /** List comments `GET /social/comments` */
10074
+ list(query?: ListCommentsData['query'], options?: RequestOptions): Promise<ListCommentsResponses[keyof ListCommentsResponses]>;
10075
+ /** Reply to a comment `POST /social/comments/{comment_id}/reply` */
10076
+ replyTo(commentId: string, body: ReplyToCommentData['body'], options?: RequestOptions): Promise<ReplyToCommentResponses[keyof ReplyToCommentResponses]>;
10077
+ /** Hide or unhide a comment `POST /social/comments/{comment_id}/hide` */
10078
+ hide(commentId: string, options?: RequestOptions): Promise<HideCommentResponses[keyof HideCommentResponses]>;
10079
+ /** Delete a comment `DELETE /social/comments/{comment_id}` */
10080
+ delete(commentId: string, options?: RequestOptions): Promise<DeleteCommentResponses[keyof DeleteCommentResponses]>;
10081
+ }
10082
+ /** Content endpoints. */
10083
+ declare class ContentResource {
10084
+ private readonly _client;
10085
+ constructor(_client: CoreClient);
10086
+ /** Rewrite content `POST /content/rewrite` */
10087
+ rewrite(body: RewriteContentData['body'], options?: RequestOptions): Promise<RewriteContentResponses[keyof RewriteContentResponses]>;
10088
+ /** Generate a social caption `POST /content/caption` */
10089
+ generateCaption(body?: GenerateCaptionData['body'], options?: RequestOptions): Promise<GenerateCaptionResponses[keyof GenerateCaptionResponses]>;
10090
+ }
10091
+ /** CRM endpoints. */
10092
+ declare class CrmResource {
10093
+ private readonly _client;
10094
+ constructor(_client: CoreClient);
10095
+ /** Delete contact `DELETE /contacts/{id}` */
10096
+ deleteContact(id: string, options?: RequestOptions): Promise<DeleteContactResponses[keyof DeleteContactResponses]>;
10097
+ /** Bulk import contacts `POST /contacts/bulk` */
10098
+ bulkImportContacts(body: BulkImportContactsData['body'], options?: RequestOptions): Promise<BulkImportContactsResponses[keyof BulkImportContactsResponses]>;
10099
+ }
10100
+ /** CRM Contacts endpoints. */
10101
+ declare class ContactsResource {
10102
+ private readonly _client;
10103
+ constructor(_client: CoreClient);
10104
+ /** List contacts `GET /contacts` */
10105
+ list(query?: ListContactsData['query'], options?: RequestOptions): Promise<ListContactsResponses[keyof ListContactsResponses]>;
10106
+ /** Create or upsert a contact `POST /contacts` */
10107
+ create(body: CreateContactData['body'], options?: RequestOptions): Promise<CreateContactResponses[keyof CreateContactResponses]>;
10108
+ /** Get a contact `GET /contacts/{id}` */
10109
+ get(id: string, options?: RequestOptions): Promise<GetContactResponses[keyof GetContactResponses]>;
10110
+ /** Update a contact `PATCH /contacts/{id}` */
10111
+ update(id: string, body: UpdateContactData['body'], options?: RequestOptions): Promise<UpdateContactResponses[keyof UpdateContactResponses]>;
10112
+ /** Add tags to a contact `POST /contacts/{id}/tags` */
10113
+ addTags(id: string, body: AddContactTagsData['body'], options?: RequestOptions): Promise<AddContactTagsResponses[keyof AddContactTagsResponses]>;
10114
+ /** Remove tags from a contact `DELETE /contacts/{id}/tags` */
10115
+ removeTags(id: string, body: RemoveContactTagsData['body'], options?: RequestOptions): Promise<RemoveContactTagsResponses[keyof RemoveContactTagsResponses]>;
10116
+ /** List contact notes `GET /contacts/{id}/notes` */
10117
+ listNotes(id: string, options?: RequestOptions): Promise<ListContactNotesResponses[keyof ListContactNotesResponses]>;
10118
+ /** Add a note to a contact `POST /contacts/{id}/notes` */
10119
+ addNote(id: string, body: AddContactNoteData['body'], options?: RequestOptions): Promise<AddContactNoteResponses[keyof AddContactNoteResponses]>;
10120
+ /** Enroll a contact in an automation `POST /contacts/{id}/enroll` */
10121
+ enroll(id: string, body: EnrollContactData['body'], options?: RequestOptions): Promise<EnrollContactResponses[keyof EnrollContactResponses]>;
10122
+ /** Log a message on a contact's timeline `POST /contacts/{id}/messages` */
10123
+ addMessage(id: string, body: AddContactMessageData['body'], options?: RequestOptions): Promise<AddContactMessageResponses[keyof AddContactMessageResponses]>;
10124
+ }
10125
+ /** CRM Custom Fields endpoints. */
10126
+ declare class CustomFieldsResource {
10127
+ private readonly _client;
10128
+ constructor(_client: CoreClient);
10129
+ /** List custom fields `GET /custom-fields` */
10130
+ list(options?: RequestOptions): Promise<ListCustomFieldsResponses[keyof ListCustomFieldsResponses]>;
10131
+ /** Create a custom field `POST /custom-fields` */
10132
+ create(body: CreateCustomFieldData['body'], options?: RequestOptions): Promise<CreateCustomFieldResponses[keyof CreateCustomFieldResponses]>;
10133
+ /** Delete a custom field `DELETE /custom-fields/{id}` */
10134
+ delete(id: string, options?: RequestOptions): Promise<DeleteCustomFieldResponses[keyof DeleteCustomFieldResponses]>;
10135
+ }
10136
+ /** CRM Opportunities endpoints. */
10137
+ declare class OpportunitiesResource {
10138
+ private readonly _client;
10139
+ constructor(_client: CoreClient);
10140
+ /** List pipelines `GET /pipelines` */
10141
+ listPipelines(options?: RequestOptions): Promise<ListPipelinesResponses[keyof ListPipelinesResponses]>;
10142
+ /** Create a pipeline `POST /pipelines` */
10143
+ createPipeline(body: CreatePipelineData['body'], options?: RequestOptions): Promise<CreatePipelineResponses[keyof CreatePipelineResponses]>;
10144
+ /** List opportunities `GET /opportunities` */
10145
+ list(query?: ListOpportunitiesData['query'], options?: RequestOptions): Promise<ListOpportunitiesResponses[keyof ListOpportunitiesResponses]>;
10146
+ /** Create an opportunity `POST /opportunities` */
10147
+ create(body: CreateOpportunityData['body'], options?: RequestOptions): Promise<CreateOpportunityResponses[keyof CreateOpportunityResponses]>;
10148
+ /** Get an opportunity `GET /opportunities/{id}` */
10149
+ get(id: string, options?: RequestOptions): Promise<GetOpportunityResponses[keyof GetOpportunityResponses]>;
10150
+ /** Update an opportunity `PATCH /opportunities/{id}` */
10151
+ update(id: string, body: UpdateOpportunityData['body'], options?: RequestOptions): Promise<UpdateOpportunityResponses[keyof UpdateOpportunityResponses]>;
10152
+ /** Delete an opportunity `DELETE /opportunities/{id}` */
10153
+ delete(id: string, options?: RequestOptions): Promise<DeleteOpportunityResponses[keyof DeleteOpportunityResponses]>;
10154
+ /** Update opportunity status `POST /opportunities/{id}/status` */
10155
+ updateStatus(id: string, body: UpdateOpportunityStatusData['body'], options?: RequestOptions): Promise<UpdateOpportunityStatusResponses[keyof UpdateOpportunityStatusResponses]>;
10156
+ }
10157
+ /** Direct Messages endpoints. */
10158
+ declare class MessagesResource {
10159
+ private readonly _client;
10160
+ constructor(_client: CoreClient);
10161
+ /** List DM conversations `GET /social/conversations` */
10162
+ listConversations(query?: ListConversationsData['query'], options?: RequestOptions): Promise<ListConversationsResponses[keyof ListConversationsResponses]>;
10163
+ /** List messages in a conversation `GET /social/conversations/{conversation_id}/messages` */
10164
+ list(conversationId: string, query?: ListMessagesData['query'], options?: RequestOptions): Promise<ListMessagesResponses[keyof ListMessagesResponses]>;
10165
+ /** Send a direct message `POST /social/conversations/{conversation_id}/messages` */
10166
+ send(conversationId: string, body: SendDirectMessageData['body'], options?: RequestOptions): Promise<SendDirectMessageResponses[keyof SendDirectMessageResponses]>;
10167
+ /** Mark a conversation read `POST /social/conversations/{conversation_id}/read` */
10168
+ markConversationRead(conversationId: string, options?: RequestOptions): Promise<MarkConversationReadResponses[keyof MarkConversationReadResponses]>;
10169
+ }
10170
+ /** Images endpoints. */
8535
10171
  declare class ImagesResource {
8536
10172
  private readonly _client;
8537
10173
  constructor(_client: CoreClient);
@@ -8606,6 +10242,17 @@ declare class ProfilesResource {
8606
10242
  /** Account billing summary `GET /me/account-billing` */
8607
10243
  getAccountBilling(options?: RequestOptions): Promise<GetAccountBillingResponses[keyof GetAccountBillingResponses]>;
8608
10244
  }
10245
+ /** Reviews endpoints. */
10246
+ declare class ReviewsResource {
10247
+ private readonly _client;
10248
+ constructor(_client: CoreClient);
10249
+ /** List reviews `GET /reviews` */
10250
+ list(query?: ListReviewsData['query'], options?: RequestOptions): Promise<ListReviewsResponses[keyof ListReviewsResponses]>;
10251
+ /** Reply to review `POST /reviews/{review_id}/reply` */
10252
+ replyTo(reviewId: string, body: ReplyToReviewData['body'], options?: RequestOptions): Promise<ReplyToReviewResponses[keyof ReplyToReviewResponses]>;
10253
+ /** Sync reviews `POST /reviews/sync` */
10254
+ sync(body?: SyncReviewsData['body'], options?: RequestOptions): Promise<SyncReviewsResponses[keyof SyncReviewsResponses]>;
10255
+ }
8609
10256
  /** SEO endpoints. */
8610
10257
  declare class SeoResource {
8611
10258
  private readonly _client;
@@ -8676,6 +10323,8 @@ declare class SocialResource {
8676
10323
  deletePost(postId: string, options?: RequestOptions): Promise<DeleteSocialPostResponses[keyof DeleteSocialPostResponses]>;
8677
10324
  /** Rename account `PATCH /social/accounts/{account_id}` */
8678
10325
  updateAccount(accountId: string, body: UpdateSocialAccountData['body'], options?: RequestOptions): Promise<UpdateSocialAccountResponses[keyof UpdateSocialAccountResponses]>;
10326
+ /** Disconnect a social account `DELETE /social/accounts/{account_id}` */
10327
+ disconnectAccount(accountId: string, options?: RequestOptions): Promise<DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses]>;
8679
10328
  /** Account health `GET /social/accounts/{account_id}/health` */
8680
10329
  getAccountHealth(accountId: string, options?: RequestOptions): Promise<GetAccountHealthResponses[keyof GetAccountHealthResponses]>;
8681
10330
  /** Account reconnect URL `GET /social/accounts/{account_id}/reconnect-url` */
@@ -8734,6 +10383,34 @@ declare class SocialResource {
8734
10383
  updateAccountGroup(groupId: string, body: UpdateAccountGroupData['body'], options?: RequestOptions): Promise<UpdateAccountGroupResponses[keyof UpdateAccountGroupResponses]>;
8735
10384
  /** Delete account group `DELETE /social/account-groups/{group_id}` */
8736
10385
  deleteAccountGroup(groupId: string, options?: RequestOptions): Promise<DeleteAccountGroupResponses[keyof DeleteAccountGroupResponses]>;
10386
+ /** Get conversation `GET /social/conversations/{conversation_id}` */
10387
+ getConversation(conversationId: string, options?: RequestOptions): Promise<GetConversationResponses[keyof GetConversationResponses]>;
10388
+ /** Archive / reopen conversation `PATCH /social/conversations/{conversation_id}` */
10389
+ updateConversation(conversationId: string, body: UpdateConversationData['body'], options?: RequestOptions): Promise<UpdateConversationResponses[keyof UpdateConversationResponses]>;
10390
+ /** Search conversations `GET /social/conversations/search` */
10391
+ searchConversations(query?: SearchConversationsData['query'], options?: RequestOptions): Promise<SearchConversationsResponses[keyof SearchConversationsResponses]>;
10392
+ /** Pinterest boards `GET /social/accounts/{account_id}/pinterest/boards` */
10393
+ pinterestBoards(accountId: string, options?: RequestOptions): Promise<PinterestBoardsResponses[keyof PinterestBoardsResponses]>;
10394
+ /** YouTube playlists `GET /social/accounts/{account_id}/youtube/playlists` */
10395
+ youtubePlaylists(accountId: string, options?: RequestOptions): Promise<YoutubePlaylistsResponses[keyof YoutubePlaylistsResponses]>;
10396
+ /** Instagram publishing limit `GET /social/accounts/{account_id}/instagram/publishing-limit` */
10397
+ instagramPublishingLimit(accountId: string, options?: RequestOptions): Promise<InstagramPublishingLimitResponses[keyof InstagramPublishingLimitResponses]>;
10398
+ /** Google Business performance `GET /social/accounts/{account_id}/gmb/performance` */
10399
+ gmbPerformance(accountId: string, query?: GmbPerformanceData['query'], options?: RequestOptions): Promise<GmbPerformanceResponses[keyof GmbPerformanceResponses]>;
10400
+ /** Google Business search keywords `GET /social/accounts/{account_id}/gmb/search-keywords` */
10401
+ gmbSearchKeywords(accountId: string, query?: GmbSearchKeywordsData['query'], options?: RequestOptions): Promise<GmbSearchKeywordsResponses[keyof GmbSearchKeywordsResponses]>;
10402
+ /** Reddit search `GET /social/accounts/{account_id}/reddit/search` */
10403
+ redditSearch(accountId: string, query?: RedditSearchData['query'], options?: RequestOptions): Promise<RedditSearchResponses[keyof RedditSearchResponses]>;
10404
+ /** Reddit feed `GET /social/accounts/{account_id}/reddit/feed` */
10405
+ redditFeed(accountId: string, query?: RedditFeedData['query'], options?: RequestOptions): Promise<RedditFeedResponses[keyof RedditFeedResponses]>;
10406
+ /** Subscribed subreddits `GET /social/accounts/{account_id}/reddit/subreddits` */
10407
+ redditSubreddits(accountId: string, options?: RequestOptions): Promise<RedditSubredditsResponses[keyof RedditSubredditsResponses]>;
10408
+ /** Subreddit rules `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` */
10409
+ redditSubredditRules(accountId: string, subreddit: string, options?: RequestOptions): Promise<RedditSubredditRulesResponses[keyof RedditSubredditRulesResponses]>;
10410
+ /** Instagram stories `GET /social/accounts/{account_id}/instagram/stories` */
10411
+ instagramStories(accountId: string, options?: RequestOptions): Promise<InstagramStoriesResponses[keyof InstagramStoriesResponses]>;
10412
+ /** Facebook post reactions `GET /social/accounts/{account_id}/facebook/post-reactions` */
10413
+ facebookPostReactions(accountId: string, query?: FacebookPostReactionsData['query'], options?: RequestOptions): Promise<FacebookPostReactionsResponses[keyof FacebookPostReactionsResponses]>;
8737
10414
  }
8738
10415
  /** URLs endpoints. */
8739
10416
  declare class UrlsResource {
@@ -8825,9 +10502,11 @@ declare function createResources(client: CoreClient): {
8825
10502
  analytics: AnalyticsResource;
8826
10503
  articles: ArticlesResource;
8827
10504
  audio: AudioResource;
10505
+ automations: AutomationsResource;
8828
10506
  chatbots: ChatbotsResource;
8829
10507
  comments: CommentsResource;
8830
10508
  content: ContentResource;
10509
+ crm: CrmResource;
8831
10510
  contacts: ContactsResource;
8832
10511
  customFields: CustomFieldsResource;
8833
10512
  opportunities: OpportunitiesResource;
@@ -8837,6 +10516,7 @@ declare function createResources(client: CoreClient): {
8837
10516
  media: MediaResource;
8838
10517
  presentations: PresentationsResource;
8839
10518
  profiles: ProfilesResource;
10519
+ reviews: ReviewsResource;
8840
10520
  seo: SeoResource;
8841
10521
  shorts: ShortsResource;
8842
10522
  social: SocialResource;
@@ -8859,34 +10539,12 @@ declare function createResources(client: CoreClient): {
8859
10539
  */
8860
10540
 
8861
10541
  type Resources = ReturnType<typeof createResources>;
10542
+ interface SmartlyQ extends Resources {
10543
+ }
8862
10544
  declare class SmartlyQ {
8863
- readonly account: Resources['account'];
8864
- readonly analytics: Resources['analytics'];
8865
- readonly articles: Resources['articles'];
8866
- readonly audio: Resources['audio'];
8867
- readonly captain: Resources['captain'];
8868
- readonly chatbots: Resources['chatbots'];
8869
- readonly comments: Resources['comments'];
8870
- readonly contacts: Resources['contacts'];
8871
- readonly content: Resources['content'];
8872
- readonly customFields: Resources['customFields'];
8873
- readonly images: Resources['images'];
8874
- readonly jobs: Resources['jobs'];
8875
- readonly media: Resources['media'];
8876
- readonly messages: Resources['messages'];
8877
- readonly opportunities: Resources['opportunities'];
8878
- readonly presentations: Resources['presentations'];
8879
- readonly profiles: Resources['profiles'];
8880
- readonly seo: Resources['seo'];
8881
- readonly shorts: Resources['shorts'];
8882
- readonly social: Resources['social'];
8883
- readonly urls: Resources['urls'];
8884
- readonly videos: Resources['videos'];
8885
- readonly webhooks: Resources['webhooks'];
8886
- readonly workspaces: Resources['workspaces'];
8887
10545
  /** The underlying HTTP client, for advanced use (custom requests). */
8888
10546
  readonly core: CoreClient;
8889
10547
  constructor(options?: ClientOptions | string);
8890
10548
  }
8891
10549
 
8892
- export { type AccountFollowerStatsData, type AccountFollowerStatsError, type AccountFollowerStatsErrors, type AccountFollowerStatsResponse, type AccountFollowerStatsResponses, type AccountIdParam, AccountResource, type AddContactMessageData, type AddContactMessageError, type AddContactMessageErrors, type AddContactMessageResponses, type AddContactNoteData, type AddContactNoteError, type AddContactNoteErrors, type AddContactNoteResponses, type AddContactTagsData, type AddContactTagsError, type AddContactTagsErrors, type AddContactTagsResponses, type AnalyticsBestTimeData, type AnalyticsBestTimeError, type AnalyticsBestTimeErrors, type AnalyticsBestTimeResponse, type AnalyticsBestTimeResponses, type AnalyticsContentDecayData, type AnalyticsContentDecayError, type AnalyticsContentDecayErrors, type AnalyticsContentDecayResponse, type AnalyticsContentDecayResponses, type AnalyticsDailyMetricsData, type AnalyticsDailyMetricsError, type AnalyticsDailyMetricsErrors, type AnalyticsDailyMetricsResponse, type AnalyticsDailyMetricsResponses, type AnalyticsPostTimelineData, type AnalyticsPostTimelineError, type AnalyticsPostTimelineErrors, type AnalyticsPostTimelineResponse, type AnalyticsPostTimelineResponses, type AnalyticsPostingFrequencyData, type AnalyticsPostingFrequencyError, type AnalyticsPostingFrequencyErrors, type AnalyticsPostingFrequencyResponse, type AnalyticsPostingFrequencyResponses, AnalyticsResource, type Article, type ArticleGenerateRequest, type ArticleIdParam, type ArticleListResponse, type ArticleSingleResponse, ArticlesResource, type AudioFile, type AudioIdParam, AudioResource, type AudioSingleResponse, type BalanceResponse, type BulkAccountHealthData, type BulkAccountHealthError, type BulkAccountHealthErrors, type BulkAccountHealthResponse, type BulkAccountHealthResponses, type BulkSchedulePostsData, type BulkSchedulePostsError, type BulkSchedulePostsErrors, type BulkSchedulePostsResponse, type BulkSchedulePostsResponses, type BulkWorkspaceActionData, type BulkWorkspaceActionError, type BulkWorkspaceActionErrors, type BulkWorkspaceActionResponses, type CancelJobData, type CancelJobError, type CancelJobErrors, type CancelJobResponse, type CancelJobResponses, type CaptainMessage, type CaptainMessageRequest, type CaptainMessageResponse, CaptainResource, type ChatbotIdParam, ChatbotsResource, type ClientOptions, CommentsResource, type ConnectSocialAccountData, type ConnectSocialAccountError, type ConnectSocialAccountErrors, type ConnectSocialAccountResponse, type ConnectSocialAccountResponses, type ConnectSocialAccountStatusData, type ConnectSocialAccountStatusError, type ConnectSocialAccountStatusErrors, type ConnectSocialAccountStatusResponse, type ConnectSocialAccountStatusResponses, ContactsResource, ContentResource, type ContentRewriteRequest, type ContentRewriteResponse, type ConvIdParam, type Conversation, type ConversationIdParam, type ConversationListResponse, type ConversationSingleResponse, CoreClient, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupErrors, type CreateAccountGroupResponse, type CreateAccountGroupResponses, type CreateChatbotData, type CreateChatbotError, type CreateChatbotErrors, type CreateChatbotResponse, type CreateChatbotResponses, type CreateContactData, type CreateContactError, type CreateContactErrors, type CreateContactResponses, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldErrors, type CreateCustomFieldResponses, type CreateOpportunityData, type CreateOpportunityError, type CreateOpportunityErrors, type CreateOpportunityResponses, type CreatePipelineData, type CreatePipelineError, type CreatePipelineErrors, type CreatePipelineResponses, type CreateProfileConnectLinkData, type CreateProfileConnectLinkError, type CreateProfileConnectLinkErrors, type CreateProfileConnectLinkResponse, type CreateProfileConnectLinkResponses, type CreateProfileConnectUrlData, type CreateProfileConnectUrlError, type CreateProfileConnectUrlErrors, type CreateProfileConnectUrlResponse, type CreateProfileConnectUrlResponses, type CreateProfileData, type CreateProfileError, type CreateProfileErrors, type CreateProfileResponse, type CreateProfileResponses, type CreateQueueData, type CreateQueueError, type CreateQueueErrors, type CreateQueueResponse, type CreateQueueResponses, type CreateSocialPostData, type CreateSocialPostError, type CreateSocialPostErrors, type CreateSocialPostResponse, type CreateSocialPostResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkspaceData, type CreateWorkspaceError, type CreateWorkspaceErrors, type CreateWorkspaceResponses, CustomFieldsResource, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupErrors, type DeleteAccountGroupResponse, type DeleteAccountGroupResponses, type DeleteArticleData, type DeleteArticleError, type DeleteArticleErrors, type DeleteArticleResponse, type DeleteArticleResponses, type DeleteChatbotData, type DeleteChatbotError, type DeleteChatbotErrors, type DeleteChatbotResponse, type DeleteChatbotResponses, type DeleteCommentData, type DeleteCommentError, type DeleteCommentErrors, type DeleteCommentResponse, type DeleteCommentResponses, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldErrors, type DeleteCustomFieldResponses, type DeleteImageData, type DeleteImageError, type DeleteImageErrors, type DeleteImageResponse, type DeleteImageResponses, type DeleteMediaData, type DeleteMediaError, type DeleteMediaErrors, type DeleteMediaResponse, type DeleteMediaResponses, type DeleteOpportunityData, type DeleteOpportunityError, type DeleteOpportunityErrors, type DeleteOpportunityResponses, type DeletePresentationData, type DeletePresentationError, type DeletePresentationErrors, type DeletePresentationResponse, type DeletePresentationResponses, type DeleteProfileData, type DeleteProfileError, type DeleteProfileErrors, type DeleteProfileResponses, type DeleteQueueData, type DeleteQueueError, type DeleteQueueErrors, type DeleteQueueResponse, type DeleteQueueResponses, type DeleteSocialPostData, type DeleteSocialPostError, type DeleteSocialPostErrors, type DeleteSocialPostResponse, type DeleteSocialPostResponses, type DeleteUrlData, type DeleteUrlError, type DeleteUrlErrors, type DeleteUrlResponse, type DeleteUrlResponses, type DeleteVideoData, type DeleteVideoError, type DeleteVideoErrors, type DeleteVideoResponse, type DeleteVideoResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponses, type DisableWorkspaceSaasData, type DisableWorkspaceSaasErrors, type DisableWorkspaceSaasResponses, type EnrollContactData, type EnrollContactError, type EnrollContactErrors, type EnrollContactResponses, type ErrorResponse, type GenerateArticleData, type GenerateArticleError, type GenerateArticleErrors, type GenerateArticleResponse, type GenerateArticleResponses, type GenerateCaptionData, type GenerateCaptionError, type GenerateCaptionErrors, type GenerateCaptionResponses, type GenerateImageData, type GenerateImageError, type GenerateImageErrors, type GenerateImageResponse, type GenerateImageResponses, type GeneratePresentationData, type GeneratePresentationError, type GeneratePresentationErrors, type GeneratePresentationResponse, type GeneratePresentationResponses, type GenerateShortsData, type GenerateShortsError, type GenerateShortsErrors, type GenerateShortsResponses, type GenerateVideoData, type GenerateVideoError, type GenerateVideoErrors, type GenerateVideoHookData, type GenerateVideoHookError, type GenerateVideoHookErrors, type GenerateVideoHookResponses, type GenerateVideoResponse, type GenerateVideoResponses, type GenerateViralThumbnailData, type GenerateViralThumbnailError, type GenerateViralThumbnailErrors, type GenerateViralThumbnailResponses, type GetAccountBillingData, type GetAccountBillingResponse, type GetAccountBillingResponses, type GetAccountGroupData, type GetAccountGroupError, type GetAccountGroupErrors, type GetAccountGroupResponse, type GetAccountGroupResponses, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthErrors, type GetAccountHealthResponse, type GetAccountHealthResponses, type GetAccountReconnectUrlData, type GetAccountReconnectUrlError, type GetAccountReconnectUrlErrors, type GetAccountReconnectUrlResponse, type GetAccountReconnectUrlResponses, type GetAnalyticsAccountData, type GetAnalyticsAccountError, type GetAnalyticsAccountErrors, type GetAnalyticsAccountResponse, type GetAnalyticsAccountResponses, type GetAnalyticsOverviewData, type GetAnalyticsOverviewError, type GetAnalyticsOverviewErrors, type GetAnalyticsOverviewResponse, type GetAnalyticsOverviewResponses, type GetAnalyticsPostsData, type GetAnalyticsPostsError, type GetAnalyticsPostsErrors, type GetAnalyticsPostsResponse, type GetAnalyticsPostsResponses, type GetArticleData, type GetArticleError, type GetArticleErrors, type GetArticleResponse, type GetArticleResponses, type GetAudioData, type GetAudioError, type GetAudioErrors, type GetAudioResponse, type GetAudioResponses, type GetCaptainConversationData, type GetCaptainConversationError, type GetCaptainConversationErrors, type GetCaptainConversationResponse, type GetCaptainConversationResponses, type GetChatbotConversationMessagesData, type GetChatbotConversationMessagesError, type GetChatbotConversationMessagesErrors, type GetChatbotConversationMessagesResponse, type GetChatbotConversationMessagesResponses, type GetChatbotData, type GetChatbotError, type GetChatbotErrors, type GetChatbotResponse, type GetChatbotResponses, type GetChatbotTrainStatusData, type GetChatbotTrainStatusError, type GetChatbotTrainStatusErrors, type GetChatbotTrainStatusResponse, type GetChatbotTrainStatusResponses, type GetContactData, type GetContactError, type GetContactErrors, type GetContactResponses, type GetImageData, type GetImageError, type GetImageErrors, type GetImageResponse, type GetImageResponses, type GetJobData, type GetJobError, type GetJobErrors, type GetJobResponse, type GetJobResponses, type GetMeBalanceData, type GetMeBalanceError, type GetMeBalanceErrors, type GetMeBalanceResponse, type GetMeBalanceResponses, type GetMeData, type GetMeError, type GetMeErrors, type GetMeResponse, type GetMeResponses, type GetMeUsageData, type GetMeUsageError, type GetMeUsageErrors, type GetMeUsageResponse, type GetMeUsageResponses, type GetMediaData, type GetMediaError, type GetMediaErrors, type GetMediaResponse, type GetMediaResponses, type GetMediaUploadUrlData, type GetMediaUploadUrlError, type GetMediaUploadUrlErrors, type GetMediaUploadUrlResponse, type GetMediaUploadUrlResponses, type GetOpportunityData, type GetOpportunityError, type GetOpportunityErrors, type GetOpportunityResponses, type GetPresentationData, type GetPresentationError, type GetPresentationErrors, type GetPresentationResponse, type GetPresentationResponses, type GetProfileData, type GetProfileError, type GetProfileErrors, type GetProfileResponse, type GetProfileResponses, type GetQueueData, type GetQueueError, type GetQueueErrors, type GetQueueNextSlotData, type GetQueueNextSlotError, type GetQueueNextSlotErrors, type GetQueueNextSlotResponse, type GetQueueNextSlotResponses, type GetQueueResponse, type GetQueueResponses, type GetSaasPlanData, type GetSaasPlanErrors, type GetSaasPlanResponses, type GetShortsData, type GetShortsError, type GetShortsErrors, type GetShortsResponses, type GetSocialPostData, type GetSocialPostError, type GetSocialPostErrors, type GetSocialPostResponse, type GetSocialPostResponses, type GetUrlData, type GetUrlError, type GetUrlErrors, type GetUrlResponse, type GetUrlResponses, type GetUrlStatsData, type GetUrlStatsError, type GetUrlStatsErrors, type GetUrlStatsResponse, type GetUrlStatsResponses, type GetVideoData, type GetVideoError, type GetVideoErrors, type GetVideoResponse, type GetVideoResponses, type GetWorkspaceData, type GetWorkspaceErrors, type GetWorkspaceResponses, type GetWorkspaceSubscriptionData, type GetWorkspaceSubscriptionErrors, type GetWorkspaceSubscriptionResponses, type GetWorkspaceWalletData, type GetWorkspaceWalletErrors, type GetWorkspaceWalletResponses, type HideCommentData, type HideCommentError, type HideCommentErrors, type HideCommentResponse, type HideCommentResponses, type Image, type ImageGenerateRequest, type ImageIdParam, type ImageListResponse, type ImageSingleResponse, ImagesResource, type Job, type JobCreatedResponse, type JobIdParam, type JobListResponse, type JobSingleResponse, JobsResource, type ListAccountGroupsData, type ListAccountGroupsError, type ListAccountGroupsErrors, type ListAccountGroupsResponse, type ListAccountGroupsResponses, type ListArticlesData, type ListArticlesError, type ListArticlesErrors, type ListArticlesResponse, type ListArticlesResponses, type ListCaptainConversationsData, type ListCaptainConversationsError, type ListCaptainConversationsErrors, type ListCaptainConversationsResponse, type ListCaptainConversationsResponses, type ListChatbotConversationsData, type ListChatbotConversationsError, type ListChatbotConversationsErrors, type ListChatbotConversationsResponse, type ListChatbotConversationsResponses, type ListChatbotsData, type ListChatbotsError, type ListChatbotsErrors, type ListChatbotsResponse, type ListChatbotsResponses, type ListCommentsData, type ListCommentsError, type ListCommentsErrors, type ListCommentsResponse, type ListCommentsResponses, type ListContactNotesData, type ListContactNotesResponses, type ListContactsData, type ListContactsError, type ListContactsErrors, type ListContactsResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListCustomFieldsData, type ListCustomFieldsResponses, type ListImagesData, type ListImagesError, type ListImagesErrors, type ListImagesResponse, type ListImagesResponses, type ListJobsData, type ListJobsError, type ListJobsErrors, type ListJobsResponse, type ListJobsResponses, type ListMediaData, type ListMediaError, type ListMediaErrors, type ListMediaResponse, type ListMediaResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpportunitiesData, type ListOpportunitiesResponses, type ListPipelinesData, type ListPipelinesResponses, type ListPresentationsData, type ListPresentationsError, type ListPresentationsErrors, type ListPresentationsResponse, type ListPresentationsResponses, type ListProfileAccountsData, type ListProfileAccountsError, type ListProfileAccountsErrors, type ListProfileAccountsResponse, type ListProfileAccountsResponses, type ListProfilesData, type ListProfilesResponse, type ListProfilesResponses, type ListQueuesData, type ListQueuesError, type ListQueuesErrors, type ListQueuesResponse, type ListQueuesResponses, type ListSaasPlansData, type ListSaasPlansErrors, type ListSaasPlansResponses, type ListShortsData, type ListShortsError, type ListShortsErrors, type ListShortsResponses, type ListSocialAccountsData, type ListSocialAccountsError, type ListSocialAccountsErrors, type ListSocialAccountsResponse, type ListSocialAccountsResponses, type ListSocialPostsData, type ListSocialPostsError, type ListSocialPostsErrors, type ListSocialPostsResponse, type ListSocialPostsResponses, type ListUrlsData, type ListUrlsError, type ListUrlsErrors, type ListUrlsResponse, type ListUrlsResponses, type ListVideoModelsData, type ListVideoModelsError, type ListVideoModelsErrors, type ListVideoModelsResponse, type ListVideoModelsResponses, type ListVideosData, type ListVideosError, type ListVideosErrors, type ListVideosResponse, type ListVideosResponses, type ListWebhookLogsData, type ListWebhookLogsError, type ListWebhookLogsErrors, type ListWebhookLogsResponse, type ListWebhookLogsResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkspacesData, type ListWorkspacesErrors, type ListWorkspacesResponses, type MarkConversationReadData, type MarkConversationReadError, type MarkConversationReadErrors, type MarkConversationReadResponse, type MarkConversationReadResponses, type MediaIdParam, type MediaItem, type MediaListResponse, MediaResource, type MediaSingleResponse, type MediaUploadUrlRequest, type MediaUploadUrlResponse, MessagesResource, type MoveSocialAccountData, type MoveSocialAccountError, type MoveSocialAccountErrors, type MoveSocialAccountResponse, type MoveSocialAccountResponses, OpportunitiesResource, type PageParam, type PaginatedList, type PaginationMeta, type PauseProfileData, type PauseProfileError, type PauseProfileErrors, type PauseProfileResponses, type PauseSocialAccountData, type PauseSocialAccountError, type PauseSocialAccountErrors, type PauseSocialAccountResponse, type PauseSocialAccountResponses, type PauseWorkspaceData, type PauseWorkspaceErrors, type PauseWorkspaceResponses, type PerPageParam, type PostIdParam, type PresentationDetail, type PresentationListResponse, type PresentationSummary, PresentationsResource, type PreviewQueueSlotsData, type PreviewQueueSlotsError, type PreviewQueueSlotsErrors, type PreviewQueueSlotsResponse, type PreviewQueueSlotsResponses, type Profile, type ProfileHeader, type ProfileIdParam, ProfilesResource, type RemoveContactTagsData, type RemoveContactTagsError, type RemoveContactTagsErrors, type RemoveContactTagsResponses, type ReplyToCommentData, type ReplyToCommentError, type ReplyToCommentErrors, type ReplyToCommentResponse, type ReplyToCommentResponses, type RequestMeta, type RequestOptions, type ResumeProfileData, type ResumeProfileError, type ResumeProfileErrors, type ResumeProfileResponses, type ResumeSocialAccountData, type ResumeSocialAccountError, type ResumeSocialAccountErrors, type ResumeSocialAccountResponse, type ResumeSocialAccountResponses, type ResumeWorkspaceData, type ResumeWorkspaceErrors, type ResumeWorkspaceResponses, type RetrySocialPostData, type RetrySocialPostError, type RetrySocialPostErrors, type RetrySocialPostResponse, type RetrySocialPostResponses, type RewriteContentData, type RewriteContentError, type RewriteContentErrors, type RewriteContentResponse, type RewriteContentResponses, type ScheduleSocialPostData, type ScheduleSocialPostError, type ScheduleSocialPostErrors, type ScheduleSocialPostResponse, type ScheduleSocialPostResponses, type SendCaptainMessageData, type SendCaptainMessageError, type SendCaptainMessageErrors, type SendCaptainMessageResponse, type SendCaptainMessageResponses, type SendChatbotMessageData, type SendChatbotMessageError, type SendChatbotMessageErrors, type SendChatbotMessageResponse, type SendChatbotMessageResponses, type SendDirectMessageData, type SendDirectMessageError, type SendDirectMessageErrors, type SendDirectMessageResponse, type SendDirectMessageResponses, type SeoAiAuditData, type SeoAiAuditError, type SeoAiAuditErrors, type SeoAiAuditResponse, type SeoAiAuditResponses, type SeoAuditData, type SeoAuditError, type SeoAuditErrors, type SeoAuditResponse, type SeoAuditResponses, type SeoBacklinkAnchorsData, type SeoBacklinkAnchorsError, type SeoBacklinkAnchorsErrors, type SeoBacklinkAnchorsResponse, type SeoBacklinkAnchorsResponses, type SeoBacklinkProspectsData, type SeoBacklinkProspectsError, type SeoBacklinkProspectsErrors, type SeoBacklinkProspectsResponse, type SeoBacklinkProspectsResponses, type SeoBacklinksSummaryData, type SeoBacklinksSummaryError, type SeoBacklinksSummaryErrors, type SeoBacklinksSummaryResponse, type SeoBacklinksSummaryResponses, type SeoBrandLookupData, type SeoBrandLookupError, type SeoBrandLookupErrors, type SeoBrandLookupResponse, type SeoBrandLookupResponses, type SeoCompetitorsData, type SeoCompetitorsError, type SeoCompetitorsErrors, type SeoCompetitorsResponse, type SeoCompetitorsResponses, type SeoDomainOverviewData, type SeoDomainOverviewError, type SeoDomainOverviewErrors, type SeoDomainOverviewResponse, type SeoDomainOverviewResponses, type SeoKeywordDifficultyData, type SeoKeywordDifficultyError, type SeoKeywordDifficultyErrors, type SeoKeywordDifficultyResponse, type SeoKeywordDifficultyResponses, type SeoKeywordResearchData, type SeoKeywordResearchError, type SeoKeywordResearchErrors, type SeoKeywordResearchResponse, type SeoKeywordResearchResponses, type SeoPromptExplorerData, type SeoPromptExplorerError, type SeoPromptExplorerErrors, type SeoPromptExplorerResponse, type SeoPromptExplorerResponses, type SeoRankHistoryData, type SeoRankHistoryError, type SeoRankHistoryErrors, type SeoRankHistoryResponse, type SeoRankHistoryResponses, type SeoRankedKeywordsData, type SeoRankedKeywordsError, type SeoRankedKeywordsErrors, type SeoRankedKeywordsResponse, type SeoRankedKeywordsResponses, type SeoReferringDomainsData, type SeoReferringDomainsError, type SeoReferringDomainsErrors, type SeoReferringDomainsResponse, type SeoReferringDomainsResponses, SeoResource, type SeoSerpData, type SeoSerpError, type SeoSerpErrors, type SeoSerpResponse, type SeoSerpResponses, type SeoSiteAuditData, type SeoSiteAuditError, type SeoSiteAuditErrors, type SeoSiteAuditResponse, type SeoSiteAuditResponses, type SeoSpamScoreData, type SeoSpamScoreError, type SeoSpamScoreErrors, type SeoSpamScoreResponse, type SeoSpamScoreResponses, type ShortUrl, type ShortenUrlData, type ShortenUrlError, type ShortenUrlErrors, type ShortenUrlResponse, type ShortenUrlResponses, ShortsResource, SmartlyQ, SmartlyQConnectionError, SmartlyQError, type SocialAccount, type SocialAccountListResponse, type SocialPost, type SocialPostCreateRequest, type SocialPostListResponse, type SocialPostResponse, type SocialPostScheduleRequest, type SocialPostSingleResponse, type SocialPostUpdateRequest, SocialResource, type SpeechToTextData, type SpeechToTextError, type SpeechToTextErrors, type SpeechToTextRequest, type SpeechToTextResponse, type SpeechToTextResponses, type StopPostRecycleData, type StopPostRecycleError, type StopPostRecycleErrors, type StopPostRecycleResponse, type StopPostRecycleResponses, type SuccessEnvelope, type SuggestBrollData, type SuggestBrollError, type SuggestBrollErrors, type SuggestBrollResponses, type SuggestEmphasisData, type SuggestEmphasisError, type SuggestEmphasisErrors, type SuggestEmphasisResponses, type TestWebhookData, type TestWebhookError, type TestWebhookErrors, type TestWebhookResponse, type TestWebhookResponses, type TextToSpeechData, type TextToSpeechError, type TextToSpeechErrors, type TextToSpeechRequest, type TextToSpeechResponse, type TextToSpeechResponses, type TiktokCreatorInfoData, type TiktokCreatorInfoError, type TiktokCreatorInfoErrors, type TiktokCreatorInfoResponse, type TiktokCreatorInfoResponses, type TrainChatbotData, type TrainChatbotError, type TrainChatbotErrors, type TrainChatbotResponse, type TrainChatbotResponses, type UnpublishPostData, type UnpublishPostError, type UnpublishPostErrors, type UnpublishPostResponse, type UnpublishPostResponses, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupErrors, type UpdateAccountGroupResponse, type UpdateAccountGroupResponses, type UpdateChatbotData, type UpdateChatbotError, type UpdateChatbotErrors, type UpdateChatbotResponse, type UpdateChatbotResponses, type UpdateContactData, type UpdateContactError, type UpdateContactErrors, type UpdateContactResponses, type UpdateOpportunityData, type UpdateOpportunityError, type UpdateOpportunityErrors, type UpdateOpportunityResponses, type UpdateOpportunityStatusData, type UpdateOpportunityStatusError, type UpdateOpportunityStatusErrors, type UpdateOpportunityStatusResponses, type UpdateQueueData, type UpdateQueueError, type UpdateQueueErrors, type UpdateQueueResponse, type UpdateQueueResponses, type UpdateSocialAccountData, type UpdateSocialAccountError, type UpdateSocialAccountErrors, type UpdateSocialAccountResponse, type UpdateSocialAccountResponses, type UpdateSocialPostData, type UpdateSocialPostError, type UpdateSocialPostErrors, type UpdateSocialPostResponse, type UpdateSocialPostResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UrlIdParam, type UrlListResponse, type UrlShortenRequest, type UrlSingleResponse, type UrlStatsResponse, UrlsResource, type UsageMeta, type UsageSummaryResponse, type UserProfileResponse, type ValidateBulkBatchData, type ValidateBulkBatchError, type ValidateBulkBatchErrors, type ValidateBulkBatchResponse, type ValidateBulkBatchResponses, type ValidateMediaData, type ValidateMediaError, type ValidateMediaErrors, type ValidateMediaResponse, type ValidateMediaResponses, type ValidatePostData, type ValidatePostError, type ValidatePostErrors, type ValidatePostResponse, type ValidatePostResponses, type Video, type VideoGenerateRequest, type VideoIdParam, type VideoJobCreatedResponse, type VideoListResponse, type VideoModel, type VideoModelParams, type VideoModelsResponse, type VideoSingleResponse, VideosResource, WebhooksResource, WorkspacesResource, createResources, SmartlyQ as default };
10550
+ export { type AccountFollowerStatsData, type AccountFollowerStatsError, type AccountFollowerStatsErrors, type AccountFollowerStatsResponse, type AccountFollowerStatsResponses, type AccountIdParam, AccountResource, type ActivateAutomationData, type ActivateAutomationError, type ActivateAutomationErrors, type ActivateAutomationResponse, type ActivateAutomationResponses, type AddContactMessageData, type AddContactMessageError, type AddContactMessageErrors, type AddContactMessageResponses, type AddContactNoteData, type AddContactNoteError, type AddContactNoteErrors, type AddContactNoteResponses, type AddContactTagsData, type AddContactTagsError, type AddContactTagsErrors, type AddContactTagsResponses, type AnalyticsBestTimeData, type AnalyticsBestTimeError, type AnalyticsBestTimeErrors, type AnalyticsBestTimeResponse, type AnalyticsBestTimeResponses, type AnalyticsContentDecayData, type AnalyticsContentDecayError, type AnalyticsContentDecayErrors, type AnalyticsContentDecayResponse, type AnalyticsContentDecayResponses, type AnalyticsDailyMetricsData, type AnalyticsDailyMetricsError, type AnalyticsDailyMetricsErrors, type AnalyticsDailyMetricsResponse, type AnalyticsDailyMetricsResponses, type AnalyticsPostTimelineData, type AnalyticsPostTimelineError, type AnalyticsPostTimelineErrors, type AnalyticsPostTimelineResponse, type AnalyticsPostTimelineResponses, type AnalyticsPostingFrequencyData, type AnalyticsPostingFrequencyError, type AnalyticsPostingFrequencyErrors, type AnalyticsPostingFrequencyResponse, type AnalyticsPostingFrequencyResponses, AnalyticsResource, type Article, type ArticleGenerateRequest, type ArticleIdParam, type ArticleListResponse, type ArticleSingleResponse, ArticlesResource, type AudioFile, type AudioIdParam, AudioResource, type AudioSingleResponse, AutomationsResource, type BalanceResponse, type BulkAccountHealthData, type BulkAccountHealthError, type BulkAccountHealthErrors, type BulkAccountHealthResponse, type BulkAccountHealthResponses, type BulkImportContactsData, type BulkImportContactsError, type BulkImportContactsErrors, type BulkImportContactsResponse, type BulkImportContactsResponses, type BulkSchedulePostsData, type BulkSchedulePostsError, type BulkSchedulePostsErrors, type BulkSchedulePostsResponse, type BulkSchedulePostsResponses, type BulkWorkspaceActionData, type BulkWorkspaceActionError, type BulkWorkspaceActionErrors, type BulkWorkspaceActionResponses, type CancelJobData, type CancelJobError, type CancelJobErrors, type CancelJobResponse, type CancelJobResponses, type CaptainMessage, type CaptainMessageRequest, type CaptainMessageResponse, CaptainResource, type ChatbotIdParam, ChatbotsResource, type ClientOptions, CommentsResource, type ConnectSocialAccountData, type ConnectSocialAccountError, type ConnectSocialAccountErrors, type ConnectSocialAccountResponse, type ConnectSocialAccountResponses, type ConnectSocialAccountStatusData, type ConnectSocialAccountStatusError, type ConnectSocialAccountStatusErrors, type ConnectSocialAccountStatusResponse, type ConnectSocialAccountStatusResponses, ContactsResource, ContentResource, type ContentRewriteRequest, type ContentRewriteResponse, type ConvIdParam, type Conversation, type ConversationIdParam, type ConversationListResponse, type ConversationSingleResponse, CoreClient, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupErrors, type CreateAccountGroupResponse, type CreateAccountGroupResponses, type CreateChatbotData, type CreateChatbotError, type CreateChatbotErrors, type CreateChatbotResponse, type CreateChatbotResponses, type CreateContactData, type CreateContactError, type CreateContactErrors, type CreateContactResponses, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldErrors, type CreateCustomFieldResponses, type CreateOpportunityData, type CreateOpportunityError, type CreateOpportunityErrors, type CreateOpportunityResponses, type CreatePipelineData, type CreatePipelineError, type CreatePipelineErrors, type CreatePipelineResponses, type CreateProfileConnectLinkData, type CreateProfileConnectLinkError, type CreateProfileConnectLinkErrors, type CreateProfileConnectLinkResponse, type CreateProfileConnectLinkResponses, type CreateProfileConnectUrlData, type CreateProfileConnectUrlError, type CreateProfileConnectUrlErrors, type CreateProfileConnectUrlResponse, type CreateProfileConnectUrlResponses, type CreateProfileData, type CreateProfileError, type CreateProfileErrors, type CreateProfileResponse, type CreateProfileResponses, type CreateQueueData, type CreateQueueError, type CreateQueueErrors, type CreateQueueResponse, type CreateQueueResponses, type CreateSocialPostData, type CreateSocialPostError, type CreateSocialPostErrors, type CreateSocialPostResponse, type CreateSocialPostResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkspaceData, type CreateWorkspaceError, type CreateWorkspaceErrors, type CreateWorkspaceResponses, CrmResource, CustomFieldsResource, type DeactivateAutomationData, type DeactivateAutomationError, type DeactivateAutomationErrors, type DeactivateAutomationResponse, type DeactivateAutomationResponses, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupErrors, type DeleteAccountGroupResponse, type DeleteAccountGroupResponses, type DeleteArticleData, type DeleteArticleError, type DeleteArticleErrors, type DeleteArticleResponse, type DeleteArticleResponses, type DeleteChatbotData, type DeleteChatbotError, type DeleteChatbotErrors, type DeleteChatbotResponse, type DeleteChatbotResponses, type DeleteCommentData, type DeleteCommentError, type DeleteCommentErrors, type DeleteCommentResponse, type DeleteCommentResponses, type DeleteContactData, type DeleteContactError, type DeleteContactErrors, type DeleteContactResponse, type DeleteContactResponses, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldErrors, type DeleteCustomFieldResponses, type DeleteImageData, type DeleteImageError, type DeleteImageErrors, type DeleteImageResponse, type DeleteImageResponses, type DeleteMediaData, type DeleteMediaError, type DeleteMediaErrors, type DeleteMediaResponse, type DeleteMediaResponses, type DeleteOpportunityData, type DeleteOpportunityError, type DeleteOpportunityErrors, type DeleteOpportunityResponses, type DeletePresentationData, type DeletePresentationError, type DeletePresentationErrors, type DeletePresentationResponse, type DeletePresentationResponses, type DeleteProfileData, type DeleteProfileError, type DeleteProfileErrors, type DeleteProfileResponses, type DeleteQueueData, type DeleteQueueError, type DeleteQueueErrors, type DeleteQueueResponse, type DeleteQueueResponses, type DeleteSocialPostData, type DeleteSocialPostError, type DeleteSocialPostErrors, type DeleteSocialPostResponse, type DeleteSocialPostResponses, type DeleteUrlData, type DeleteUrlError, type DeleteUrlErrors, type DeleteUrlResponse, type DeleteUrlResponses, type DeleteVideoData, type DeleteVideoError, type DeleteVideoErrors, type DeleteVideoResponse, type DeleteVideoResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponses, type DisableWorkspaceSaasData, type DisableWorkspaceSaasErrors, type DisableWorkspaceSaasResponses, type DisconnectSocialAccountData, type DisconnectSocialAccountError, type DisconnectSocialAccountErrors, type DisconnectSocialAccountResponse, type DisconnectSocialAccountResponses, type EnrollContactData, type EnrollContactError, type EnrollContactErrors, type EnrollContactResponses, type ErrorResponse, type FacebookPostReactionsData, type FacebookPostReactionsError, type FacebookPostReactionsErrors, type FacebookPostReactionsResponse, type FacebookPostReactionsResponses, type GenerateArticleData, type GenerateArticleError, type GenerateArticleErrors, type GenerateArticleResponse, type GenerateArticleResponses, type GenerateCaptionData, type GenerateCaptionError, type GenerateCaptionErrors, type GenerateCaptionResponses, type GenerateImageData, type GenerateImageError, type GenerateImageErrors, type GenerateImageResponse, type GenerateImageResponses, type GeneratePresentationData, type GeneratePresentationError, type GeneratePresentationErrors, type GeneratePresentationResponse, type GeneratePresentationResponses, type GenerateShortsData, type GenerateShortsError, type GenerateShortsErrors, type GenerateShortsResponses, type GenerateVideoData, type GenerateVideoError, type GenerateVideoErrors, type GenerateVideoHookData, type GenerateVideoHookError, type GenerateVideoHookErrors, type GenerateVideoHookResponses, type GenerateVideoResponse, type GenerateVideoResponses, type GenerateViralThumbnailData, type GenerateViralThumbnailError, type GenerateViralThumbnailErrors, type GenerateViralThumbnailResponses, type GetAccountBillingData, type GetAccountBillingResponse, type GetAccountBillingResponses, type GetAccountGroupData, type GetAccountGroupError, type GetAccountGroupErrors, type GetAccountGroupResponse, type GetAccountGroupResponses, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthErrors, type GetAccountHealthResponse, type GetAccountHealthResponses, type GetAccountReconnectUrlData, type GetAccountReconnectUrlError, type GetAccountReconnectUrlErrors, type GetAccountReconnectUrlResponse, type GetAccountReconnectUrlResponses, type GetAnalyticsAccountData, type GetAnalyticsAccountError, type GetAnalyticsAccountErrors, type GetAnalyticsAccountResponse, type GetAnalyticsAccountResponses, type GetAnalyticsOverviewData, type GetAnalyticsOverviewError, type GetAnalyticsOverviewErrors, type GetAnalyticsOverviewResponse, type GetAnalyticsOverviewResponses, type GetAnalyticsPostsData, type GetAnalyticsPostsError, type GetAnalyticsPostsErrors, type GetAnalyticsPostsResponse, type GetAnalyticsPostsResponses, type GetArticleData, type GetArticleError, type GetArticleErrors, type GetArticleResponse, type GetArticleResponses, type GetAudioData, type GetAudioError, type GetAudioErrors, type GetAudioResponse, type GetAudioResponses, type GetAutomationData, type GetAutomationError, type GetAutomationErrors, type GetAutomationResponse, type GetAutomationResponses, type GetAutomationRunData, type GetAutomationRunError, type GetAutomationRunErrors, type GetAutomationRunResponse, type GetAutomationRunResponses, type GetCaptainConversationData, type GetCaptainConversationError, type GetCaptainConversationErrors, type GetCaptainConversationResponse, type GetCaptainConversationResponses, type GetChatbotConversationMessagesData, type GetChatbotConversationMessagesError, type GetChatbotConversationMessagesErrors, type GetChatbotConversationMessagesResponse, type GetChatbotConversationMessagesResponses, type GetChatbotData, type GetChatbotError, type GetChatbotErrors, type GetChatbotResponse, type GetChatbotResponses, type GetChatbotTrainStatusData, type GetChatbotTrainStatusError, type GetChatbotTrainStatusErrors, type GetChatbotTrainStatusResponse, type GetChatbotTrainStatusResponses, type GetContactData, type GetContactError, type GetContactErrors, type GetContactResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetImageData, type GetImageError, type GetImageErrors, type GetImageResponse, type GetImageResponses, type GetJobData, type GetJobError, type GetJobErrors, type GetJobResponse, type GetJobResponses, type GetMeBalanceData, type GetMeBalanceError, type GetMeBalanceErrors, type GetMeBalanceResponse, type GetMeBalanceResponses, type GetMeData, type GetMeError, type GetMeErrors, type GetMeResponse, type GetMeResponses, type GetMeUsageData, type GetMeUsageError, type GetMeUsageErrors, type GetMeUsageResponse, type GetMeUsageResponses, type GetMediaData, type GetMediaError, type GetMediaErrors, type GetMediaResponse, type GetMediaResponses, type GetMediaUploadUrlData, type GetMediaUploadUrlError, type GetMediaUploadUrlErrors, type GetMediaUploadUrlResponse, type GetMediaUploadUrlResponses, type GetOpportunityData, type GetOpportunityError, type GetOpportunityErrors, type GetOpportunityResponses, type GetPresentationData, type GetPresentationError, type GetPresentationErrors, type GetPresentationResponse, type GetPresentationResponses, type GetProfileData, type GetProfileError, type GetProfileErrors, type GetProfileResponse, type GetProfileResponses, type GetQueueData, type GetQueueError, type GetQueueErrors, type GetQueueNextSlotData, type GetQueueNextSlotError, type GetQueueNextSlotErrors, type GetQueueNextSlotResponse, type GetQueueNextSlotResponses, type GetQueueResponse, type GetQueueResponses, type GetSaasPlanData, type GetSaasPlanErrors, type GetSaasPlanResponses, type GetShortsData, type GetShortsError, type GetShortsErrors, type GetShortsResponses, type GetSocialPostData, type GetSocialPostError, type GetSocialPostErrors, type GetSocialPostResponse, type GetSocialPostResponses, type GetUrlData, type GetUrlError, type GetUrlErrors, type GetUrlResponse, type GetUrlResponses, type GetUrlStatsData, type GetUrlStatsError, type GetUrlStatsErrors, type GetUrlStatsResponse, type GetUrlStatsResponses, type GetVideoData, type GetVideoError, type GetVideoErrors, type GetVideoResponse, type GetVideoResponses, type GetWorkspaceData, type GetWorkspaceErrors, type GetWorkspaceResponses, type GetWorkspaceSubscriptionData, type GetWorkspaceSubscriptionErrors, type GetWorkspaceSubscriptionResponses, type GetWorkspaceWalletData, type GetWorkspaceWalletErrors, type GetWorkspaceWalletResponses, type GmbPerformanceData, type GmbPerformanceError, type GmbPerformanceErrors, type GmbPerformanceResponse, type GmbPerformanceResponses, type GmbSearchKeywordsData, type GmbSearchKeywordsError, type GmbSearchKeywordsErrors, type GmbSearchKeywordsResponse, type GmbSearchKeywordsResponses, type HideCommentData, type HideCommentError, type HideCommentErrors, type HideCommentResponse, type HideCommentResponses, type Image, type ImageGenerateRequest, type ImageIdParam, type ImageListResponse, type ImageSingleResponse, ImagesResource, type InboxConversationDetailData, type InboxConversationDetailError, type InboxConversationDetailErrors, type InboxConversationDetailResponse, type InboxConversationDetailResponses, type InboxConversationsData, type InboxConversationsError, type InboxConversationsErrors, type InboxConversationsResponse, type InboxConversationsResponses, type InboxHeatmapData, type InboxHeatmapError, type InboxHeatmapErrors, type InboxHeatmapResponse, type InboxHeatmapResponses, type InboxResponseTimeData, type InboxResponseTimeError, type InboxResponseTimeErrors, type InboxResponseTimeResponse, type InboxResponseTimeResponses, type InboxSourceBreakdownData, type InboxSourceBreakdownError, type InboxSourceBreakdownErrors, type InboxSourceBreakdownResponse, type InboxSourceBreakdownResponses, type InboxTopAccountsData, type InboxTopAccountsError, type InboxTopAccountsErrors, type InboxTopAccountsResponse, type InboxTopAccountsResponses, type InboxVolumeData, type InboxVolumeError, type InboxVolumeErrors, type InboxVolumeResponse, type InboxVolumeResponses, type InstagramPublishingLimitData, type InstagramPublishingLimitError, type InstagramPublishingLimitErrors, type InstagramPublishingLimitResponse, type InstagramPublishingLimitResponses, type InstagramStoriesData, type InstagramStoriesError, type InstagramStoriesErrors, type InstagramStoriesResponse, type InstagramStoriesResponses, type Job, type JobCreatedResponse, type JobIdParam, type JobListResponse, type JobSingleResponse, JobsResource, type ListAccountGroupsData, type ListAccountGroupsError, type ListAccountGroupsErrors, type ListAccountGroupsResponse, type ListAccountGroupsResponses, type ListArticlesData, type ListArticlesError, type ListArticlesErrors, type ListArticlesResponse, type ListArticlesResponses, type ListAutomationRunsData, type ListAutomationRunsError, type ListAutomationRunsErrors, type ListAutomationRunsResponse, type ListAutomationRunsResponses, type ListAutomationsData, type ListAutomationsError, type ListAutomationsErrors, type ListAutomationsResponse, type ListAutomationsResponses, type ListCaptainConversationsData, type ListCaptainConversationsError, type ListCaptainConversationsErrors, type ListCaptainConversationsResponse, type ListCaptainConversationsResponses, type ListChatbotConversationsData, type ListChatbotConversationsError, type ListChatbotConversationsErrors, type ListChatbotConversationsResponse, type ListChatbotConversationsResponses, type ListChatbotsData, type ListChatbotsError, type ListChatbotsErrors, type ListChatbotsResponse, type ListChatbotsResponses, type ListCommentsData, type ListCommentsError, type ListCommentsErrors, type ListCommentsResponse, type ListCommentsResponses, type ListContactNotesData, type ListContactNotesResponses, type ListContactsData, type ListContactsError, type ListContactsErrors, type ListContactsResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListCustomFieldsData, type ListCustomFieldsResponses, type ListImagesData, type ListImagesError, type ListImagesErrors, type ListImagesResponse, type ListImagesResponses, type ListJobsData, type ListJobsError, type ListJobsErrors, type ListJobsResponse, type ListJobsResponses, type ListMediaData, type ListMediaError, type ListMediaErrors, type ListMediaResponse, type ListMediaResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpportunitiesData, type ListOpportunitiesResponses, type ListPipelinesData, type ListPipelinesResponses, type ListPresentationsData, type ListPresentationsError, type ListPresentationsErrors, type ListPresentationsResponse, type ListPresentationsResponses, type ListProfileAccountsData, type ListProfileAccountsError, type ListProfileAccountsErrors, type ListProfileAccountsResponse, type ListProfileAccountsResponses, type ListProfilesData, type ListProfilesResponse, type ListProfilesResponses, type ListQueuesData, type ListQueuesError, type ListQueuesErrors, type ListQueuesResponse, type ListQueuesResponses, type ListReviewsData, type ListReviewsError, type ListReviewsErrors, type ListReviewsResponse, type ListReviewsResponses, type ListSaasPlansData, type ListSaasPlansErrors, type ListSaasPlansResponses, type ListShortsData, type ListShortsError, type ListShortsErrors, type ListShortsResponses, type ListSocialAccountsData, type ListSocialAccountsError, type ListSocialAccountsErrors, type ListSocialAccountsResponse, type ListSocialAccountsResponses, type ListSocialPostsData, type ListSocialPostsError, type ListSocialPostsErrors, type ListSocialPostsResponse, type ListSocialPostsResponses, type ListUrlsData, type ListUrlsError, type ListUrlsErrors, type ListUrlsResponse, type ListUrlsResponses, type ListVideoModelsData, type ListVideoModelsError, type ListVideoModelsErrors, type ListVideoModelsResponse, type ListVideoModelsResponses, type ListVideosData, type ListVideosError, type ListVideosErrors, type ListVideosResponse, type ListVideosResponses, type ListWebhookLogsData, type ListWebhookLogsError, type ListWebhookLogsErrors, type ListWebhookLogsResponse, type ListWebhookLogsResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkspacesData, type ListWorkspacesErrors, type ListWorkspacesResponses, type MarkConversationReadData, type MarkConversationReadError, type MarkConversationReadErrors, type MarkConversationReadResponse, type MarkConversationReadResponses, type MediaIdParam, type MediaItem, type MediaListResponse, MediaResource, type MediaSingleResponse, type MediaUploadUrlRequest, type MediaUploadUrlResponse, MessagesResource, type MoveSocialAccountData, type MoveSocialAccountError, type MoveSocialAccountErrors, type MoveSocialAccountResponse, type MoveSocialAccountResponses, OpportunitiesResource, type PageParam, type PaginatedList, type PaginationMeta, type PauseProfileData, type PauseProfileError, type PauseProfileErrors, type PauseProfileResponses, type PauseSocialAccountData, type PauseSocialAccountError, type PauseSocialAccountErrors, type PauseSocialAccountResponse, type PauseSocialAccountResponses, type PauseWorkspaceData, type PauseWorkspaceErrors, type PauseWorkspaceResponses, type PerPageParam, type PinterestBoardsData, type PinterestBoardsError, type PinterestBoardsErrors, type PinterestBoardsResponse, type PinterestBoardsResponses, type PostIdParam, type PresentationDetail, type PresentationListResponse, type PresentationSummary, PresentationsResource, type PreviewQueueSlotsData, type PreviewQueueSlotsError, type PreviewQueueSlotsErrors, type PreviewQueueSlotsResponse, type PreviewQueueSlotsResponses, type Profile, type ProfileHeader, type ProfileIdParam, ProfilesResource, type RedditFeedData, type RedditFeedError, type RedditFeedErrors, type RedditFeedResponse, type RedditFeedResponses, type RedditSearchData, type RedditSearchError, type RedditSearchErrors, type RedditSearchResponse, type RedditSearchResponses, type RedditSubredditRulesData, type RedditSubredditRulesError, type RedditSubredditRulesErrors, type RedditSubredditRulesResponse, type RedditSubredditRulesResponses, type RedditSubredditsData, type RedditSubredditsError, type RedditSubredditsErrors, type RedditSubredditsResponse, type RedditSubredditsResponses, type RemoveContactTagsData, type RemoveContactTagsError, type RemoveContactTagsErrors, type RemoveContactTagsResponses, type ReplyToCommentData, type ReplyToCommentError, type ReplyToCommentErrors, type ReplyToCommentResponse, type ReplyToCommentResponses, type ReplyToReviewData, type ReplyToReviewError, type ReplyToReviewErrors, type ReplyToReviewResponse, type ReplyToReviewResponses, type RequestMeta, type RequestOptions, type ResumeProfileData, type ResumeProfileError, type ResumeProfileErrors, type ResumeProfileResponses, type ResumeSocialAccountData, type ResumeSocialAccountError, type ResumeSocialAccountErrors, type ResumeSocialAccountResponse, type ResumeSocialAccountResponses, type ResumeWorkspaceData, type ResumeWorkspaceErrors, type ResumeWorkspaceResponses, type RetrySocialPostData, type RetrySocialPostError, type RetrySocialPostErrors, type RetrySocialPostResponse, type RetrySocialPostResponses, ReviewsResource, type RewriteContentData, type RewriteContentError, type RewriteContentErrors, type RewriteContentResponse, type RewriteContentResponses, type ScheduleSocialPostData, type ScheduleSocialPostError, type ScheduleSocialPostErrors, type ScheduleSocialPostResponse, type ScheduleSocialPostResponses, type SearchConversationsData, type SearchConversationsError, type SearchConversationsErrors, type SearchConversationsResponse, type SearchConversationsResponses, type SendCaptainMessageData, type SendCaptainMessageError, type SendCaptainMessageErrors, type SendCaptainMessageResponse, type SendCaptainMessageResponses, type SendChatbotMessageData, type SendChatbotMessageError, type SendChatbotMessageErrors, type SendChatbotMessageResponse, type SendChatbotMessageResponses, type SendDirectMessageData, type SendDirectMessageError, type SendDirectMessageErrors, type SendDirectMessageResponse, type SendDirectMessageResponses, type SeoAiAuditData, type SeoAiAuditError, type SeoAiAuditErrors, type SeoAiAuditResponse, type SeoAiAuditResponses, type SeoAuditData, type SeoAuditError, type SeoAuditErrors, type SeoAuditResponse, type SeoAuditResponses, type SeoBacklinkAnchorsData, type SeoBacklinkAnchorsError, type SeoBacklinkAnchorsErrors, type SeoBacklinkAnchorsResponse, type SeoBacklinkAnchorsResponses, type SeoBacklinkProspectsData, type SeoBacklinkProspectsError, type SeoBacklinkProspectsErrors, type SeoBacklinkProspectsResponse, type SeoBacklinkProspectsResponses, type SeoBacklinksSummaryData, type SeoBacklinksSummaryError, type SeoBacklinksSummaryErrors, type SeoBacklinksSummaryResponse, type SeoBacklinksSummaryResponses, type SeoBrandLookupData, type SeoBrandLookupError, type SeoBrandLookupErrors, type SeoBrandLookupResponse, type SeoBrandLookupResponses, type SeoCompetitorsData, type SeoCompetitorsError, type SeoCompetitorsErrors, type SeoCompetitorsResponse, type SeoCompetitorsResponses, type SeoDomainOverviewData, type SeoDomainOverviewError, type SeoDomainOverviewErrors, type SeoDomainOverviewResponse, type SeoDomainOverviewResponses, type SeoKeywordDifficultyData, type SeoKeywordDifficultyError, type SeoKeywordDifficultyErrors, type SeoKeywordDifficultyResponse, type SeoKeywordDifficultyResponses, type SeoKeywordResearchData, type SeoKeywordResearchError, type SeoKeywordResearchErrors, type SeoKeywordResearchResponse, type SeoKeywordResearchResponses, type SeoPromptExplorerData, type SeoPromptExplorerError, type SeoPromptExplorerErrors, type SeoPromptExplorerResponse, type SeoPromptExplorerResponses, type SeoRankHistoryData, type SeoRankHistoryError, type SeoRankHistoryErrors, type SeoRankHistoryResponse, type SeoRankHistoryResponses, type SeoRankedKeywordsData, type SeoRankedKeywordsError, type SeoRankedKeywordsErrors, type SeoRankedKeywordsResponse, type SeoRankedKeywordsResponses, type SeoReferringDomainsData, type SeoReferringDomainsError, type SeoReferringDomainsErrors, type SeoReferringDomainsResponse, type SeoReferringDomainsResponses, SeoResource, type SeoSerpData, type SeoSerpError, type SeoSerpErrors, type SeoSerpResponse, type SeoSerpResponses, type SeoSiteAuditData, type SeoSiteAuditError, type SeoSiteAuditErrors, type SeoSiteAuditResponse, type SeoSiteAuditResponses, type SeoSpamScoreData, type SeoSpamScoreError, type SeoSpamScoreErrors, type SeoSpamScoreResponse, type SeoSpamScoreResponses, type ShortUrl, type ShortenUrlData, type ShortenUrlError, type ShortenUrlErrors, type ShortenUrlResponse, type ShortenUrlResponses, ShortsResource, SmartlyQ, SmartlyQConnectionError, SmartlyQError, type SocialAccount, type SocialAccountListResponse, type SocialPost, type SocialPostCreateRequest, type SocialPostListResponse, type SocialPostResponse, type SocialPostScheduleRequest, type SocialPostSingleResponse, type SocialPostUpdateRequest, SocialResource, type SpeechToTextData, type SpeechToTextError, type SpeechToTextErrors, type SpeechToTextRequest, type SpeechToTextResponse, type SpeechToTextResponses, type StopPostRecycleData, type StopPostRecycleError, type StopPostRecycleErrors, type StopPostRecycleResponse, type StopPostRecycleResponses, type SuccessEnvelope, type SuggestBrollData, type SuggestBrollError, type SuggestBrollErrors, type SuggestBrollResponses, type SuggestEmphasisData, type SuggestEmphasisError, type SuggestEmphasisErrors, type SuggestEmphasisResponses, type SyncReviewsData, type SyncReviewsError, type SyncReviewsErrors, type SyncReviewsResponse, type SyncReviewsResponses, type TestWebhookData, type TestWebhookError, type TestWebhookErrors, type TestWebhookResponse, type TestWebhookResponses, type TextToSpeechData, type TextToSpeechError, type TextToSpeechErrors, type TextToSpeechRequest, type TextToSpeechResponse, type TextToSpeechResponses, type TiktokCreatorInfoData, type TiktokCreatorInfoError, type TiktokCreatorInfoErrors, type TiktokCreatorInfoResponse, type TiktokCreatorInfoResponses, type TrainChatbotData, type TrainChatbotError, type TrainChatbotErrors, type TrainChatbotResponse, type TrainChatbotResponses, type TriggerAutomationData, type TriggerAutomationError, type TriggerAutomationErrors, type TriggerAutomationResponse, type TriggerAutomationResponses, type UnpublishPostData, type UnpublishPostError, type UnpublishPostErrors, type UnpublishPostResponse, type UnpublishPostResponses, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupErrors, type UpdateAccountGroupResponse, type UpdateAccountGroupResponses, type UpdateChatbotData, type UpdateChatbotError, type UpdateChatbotErrors, type UpdateChatbotResponse, type UpdateChatbotResponses, type UpdateContactData, type UpdateContactError, type UpdateContactErrors, type UpdateContactResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateOpportunityData, type UpdateOpportunityError, type UpdateOpportunityErrors, type UpdateOpportunityResponses, type UpdateOpportunityStatusData, type UpdateOpportunityStatusError, type UpdateOpportunityStatusErrors, type UpdateOpportunityStatusResponses, type UpdateQueueData, type UpdateQueueError, type UpdateQueueErrors, type UpdateQueueResponse, type UpdateQueueResponses, type UpdateSocialAccountData, type UpdateSocialAccountError, type UpdateSocialAccountErrors, type UpdateSocialAccountResponse, type UpdateSocialAccountResponses, type UpdateSocialPostData, type UpdateSocialPostError, type UpdateSocialPostErrors, type UpdateSocialPostResponse, type UpdateSocialPostResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UrlIdParam, type UrlListResponse, type UrlShortenRequest, type UrlSingleResponse, type UrlStatsResponse, UrlsResource, type UsageMeta, type UsageSummaryResponse, type UserProfileResponse, type ValidateBulkBatchData, type ValidateBulkBatchError, type ValidateBulkBatchErrors, type ValidateBulkBatchResponse, type ValidateBulkBatchResponses, type ValidateMediaData, type ValidateMediaError, type ValidateMediaErrors, type ValidateMediaResponse, type ValidateMediaResponses, type ValidatePostData, type ValidatePostError, type ValidatePostErrors, type ValidatePostResponse, type ValidatePostResponses, type Video, type VideoGenerateRequest, type VideoIdParam, type VideoJobCreatedResponse, type VideoListResponse, type VideoModel, type VideoModelParams, type VideoModelsResponse, type VideoSingleResponse, VideosResource, WebhooksResource, WorkspacesResource, type YoutubePlaylistsData, type YoutubePlaylistsError, type YoutubePlaylistsErrors, type YoutubePlaylistsResponse, type YoutubePlaylistsResponses, createResources, SmartlyQ as default };